.nph-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.nph-head h3{margin:0 0 8px}.nph-meta{line-height:1.6;color:var(--muted);font-size:12px}
.nph-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}
.nph-stat{border:1px solid var(--border);border-radius:8px;padding:14px;background:var(--bg)}
.nph-stat span{display:block;color:var(--muted);font-size:12px;margin-bottom:8px}
.nph-stat strong{font-size:22px;font-variant-numeric:tabular-nums}
.nph-controls{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin:16px 0}
.nph-controls label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted);margin:0}
.nph-controls input,.nph-controls select{max-width:190px;width:100%;margin:0}
.nph-scroll{overflow:auto;max-height:540px;border:1px solid var(--border);border-radius:6px}
.nph-scroll th{position:sticky;top:0;background:var(--panel);z-index:1}
.nph-scroll td{vertical-align:top;min-width:95px}.nph-scroll small{display:block;max-width:230px;margin-top:5px;color:var(--muted)}
.nph-number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.nph-warning{color:var(--warn);font-size:12px;line-height:1.6}
.nph-notice{padding:12px;border-left:3px solid var(--accent);background:var(--bg);font-size:13px;line-height:1.6;margin:12px 0}
.nph-quote{border-top:1px solid var(--border);margin-top:24px;padding-top:20px}
.nph-quote output{display:block;font-size:16px;line-height:1.6;margin-top:12px}
.nph-quote h4{margin:0 0 8px}.nph-quote input{max-width:130px}
.nph-sources{font-size:12px;line-height:1.7;margin-top:16px}
.nph-raw{max-height:320px;overflow:auto;white-space:pre-wrap;word-break:break-word;font-size:11px}
@media(max-width:700px){.nph-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nph-head{display:block}.nph-controls label{flex:1 1 125px}.nph-controls input,.nph-controls select{max-width:100%}.nph-head button{margin-top:12px}}
@media(max-width:700px){
 body:has(.page[data-page="nsn-vendor"].active) .shell{flex-direction:column}
 body:has(.page[data-page="nsn-vendor"].active) aside.sidebar{width:100%;height:auto;position:static;display:flex;flex-wrap:wrap;gap:6px;padding:12px}
 body:has(.page[data-page="nsn-vendor"].active) .sidebar .brand{width:100%;margin:0 0 6px;padding:0 0 10px}
 body:has(.page[data-page="nsn-vendor"].active) .sidebar .nav-group{display:contents}
 body:has(.page[data-page="nsn-vendor"].active) .sidebar .nav-group-title{display:none}
 body:has(.page[data-page="nsn-vendor"].active) .sidebar .nav-item{font-size:11px;padding:7px}
 body:has(.page[data-page="nsn-vendor"].active) main.content{padding:12px}
 .page[data-page="nsn-vendor"] .panel{padding:14px}
 #nsn-input{max-width:100%}.nph-sources{overflow-wrap:anywhere}.nph-stat strong{font-size:18px}
}
