/* Compact project cards. Keep body text readable and checkbox touch targets intact. */
#new .box.np-root{padding:24px}
#new .np-head{gap:12px;align-items:center}
#new .np-head small{font-size:10px;letter-spacing:.13em}
#new .np-root h1{font-size:30px;margin:5px 0 0}
#new .np-card-heading{padding:13px 0}
#new .np-card-heading h2{font-size:24px;line-height:1.35;margin:12px 0;overflow-wrap:anywhere}
#new .np-actions,#new .np-tabs{gap:8px;margin:12px 0}
#new .np-root .pri,#new .np-root .sec{padding:9px 13px;border-radius:10px;font-size:14px;line-height:1.4}
#new .np-root input:not([type=checkbox]):not([type=radio]):not([type=file]),#new .np-root select{min-height:37px;padding:8px 10px;border-radius:8px;font-size:15px;line-height:1.35}
#new .np-root input[type=file]{padding:8px 10px;font-size:14px}
#new .np-root textarea{min-height:72px;padding:9px 10px;border-radius:8px;font-size:15px;line-height:1.45}
#new .np-root input[type=checkbox],#new .np-root input[type=radio]{width:21px;height:21px;min-height:0;padding:0;margin:0;flex:0 0 21px;accent-color:#b97726}
#new .np-label{gap:5px;margin:8px 0;font-size:13px}
#new .np-grid{gap:0 14px}
#new .np-date-pair{gap:14px}
#new .np-field{padding:14px;margin:12px 0;border-radius:12px}
#new .np-field h3{font-size:16px;line-height:1.4;margin:0 0 10px}
#new .np-field>.np-hint{display:none;visibility:visible}
#new .np-field:focus-within>.np-hint{display:block;margin:8px 0 0}
#new .np-section{margin-top:16px}
#new .np-section>summary{padding:11px 0;font-size:18px}
#new .np-note,#new .np-readiness{padding:10px 13px;line-height:1.5;margin:12px 0}
#new .np-savebar{padding:12px 0;margin-top:16px;gap:8px}
#new .np-tabs{padding-bottom:12px}
#new .np-tabs button[aria-current=page]{background:#f3e7d7;border-color:#b97726;color:#37312c}
#new .np-party>h3{color:#70675c;font-size:13px;font-weight:500;margin-bottom:7px}
#new [data-party-details]>summary,#new [data-pkd-selector]>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;min-height:42px;color:#302c28;font-size:16px;font-weight:650;overflow-wrap:anywhere}
#new [data-party-details]>summary::-webkit-details-marker,#new [data-pkd-selector]>summary::-webkit-details-marker{display:none}
#new .np-party-chevron{flex:0 0 auto;font-size:24px;line-height:1;color:#9a6221;transition:transform .15s}
#new details[open]>summary>.np-party-chevron{transform:rotate(180deg)}
#new [data-party-body]{border-top:1px solid #e2dbd2;margin-top:8px;padding-top:8px}
#new [data-party-body]>[data-ri-extra]{margin-top:8px}
#new [data-party-body] .np-hint{display:none}
#new .np-sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;white-space:nowrap;border:0}
#new .np-pkd-toolbar{display:flex;align-items:center;gap:16px;margin-top:6px}
#new .np-pkd-toolbar>.np-label{flex:1}
#new .np-pkd-toolbar>.np-check{white-space:nowrap}
#new .np-pkd-actions{display:flex;gap:8px;flex-wrap:wrap;margin:7px 0}
#new .np-pkd-results{max-height:470px;overflow:auto;overscroll-behavior:contain;border-top:1px solid #e2dbd2;margin-top:12px;padding-right:6px}
#new .np-pkd-group{border:0;border-bottom:1px solid #e7e0d7;margin:0;padding:12px 0}
#new .np-pkd-group legend{font-size:13px;color:#806a52;font-weight:700;padding:10px 0 0}
#new .np-pkd-choice{display:flex;align-items:center;gap:10px;min-height:44px;line-height:1.4;font-size:14px;padding:6px 3px;cursor:pointer;border-radius:7px}
#new .np-pkd-choice:hover{background:#f8f2e9}
#new .np-pkd-choice:has(input:checked){background:#f6ead9}
#new .np-pkd-code{min-width:58px;flex:0 0 58px;color:#875d28;font-size:12px;font-weight:700;overflow-wrap:anywhere}
#new .np-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 10px}
#new .np-section-heading h2,#new .np-document-workspace>h2{font-size:22px;margin:0 0 7px}
#new .np-pkd-selected-row{display:flex;gap:14px;align-items:flex-start;padding:15px 0;border-bottom:1px solid #e4ddd3;font-size:15px;line-height:1.45}
#new .np-pkd-selected-row>.np-tag{flex:0 0 70px;text-align:center;overflow-wrap:anywhere}
#new .np-pkd-selected-row p{margin:5px 0 0}
#new .np-empty{border:1px dashed #d9cdbd;border-radius:14px;background:#fcfaf7;text-align:center;padding:40px 24px;margin:20px 0;color:#776b5c}
#new .np-empty h3{font-size:18px;color:#51483e;margin:12px 0}
#new .np-empty p{font-size:14px;line-height:1.6;margin:0}
#new .np-empty-document{font-size:38px;color:#b97726}
#new .np-document-workspace{padding:18px 0}
#new .rest-inline .ri-proposal{padding:14px;margin:12px 0}
#new .rest-inline .ri-label{margin:8px 0;gap:5px}
#new .rest-inline textarea{min-height:72px}
#new .rest-inline [data-restoration-savebar]{gap:8px;margin:10px 0}
@media(max-width:720px){
  #new .box.np-root{padding:14px}
  #new .np-root h1{font-size:25px}
  #new .np-card-heading h2{font-size:21px}
  #new .np-field{padding:12px;margin:11px 0}
  #new .np-label{margin:7px 0}
  #new .np-root input:not([type=checkbox]):not([type=radio]):not([type=file]),#new .np-root select{min-height:40px;font-size:16px;padding:8px 10px}
  #new .np-root textarea{font-size:16px;min-height:72px}
  #new .np-root .pri,#new .np-root .sec{min-height:40px}
  #new .np-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:7px}
  #new .np-tabs .sec{font-size:13px;padding:8px 7px;width:100%;overflow-wrap:anywhere}
  #new .np-head .np-actions{display:flex;flex-wrap:wrap;width:100%;gap:7px}
  #new .np-head .np-actions button{font-size:13px;padding:9px 11px}
  #new .np-pkd-toolbar{display:block}
  #new .np-pkd-toolbar>.np-check{margin:10px 0}
  #new .np-pkd-results{max-height:420px}
  #new .np-pkd-choice{align-items:flex-start;padding:8px 2px}
  #new .np-pkd-code{flex-basis:49px;min-width:49px}
  #new .np-section-heading{align-items:flex-start;flex-wrap:wrap}
  #new .np-pkd-selected-row>.np-tag{flex-basis:58px}
  #new .np-savebar button{font-size:12px;padding:8px}
  #new .np-empty{padding:30px 16px}
}
@media(prefers-reduced-motion:reduce){#new .np-party-chevron{transition:none}}
