main.nv-main{max-width:1200px;margin:auto;padding:22px 18px}.nv-main h1{font-size:clamp(1.5rem,3vw,2rem)}.nv-intro{max-width:85ch;line-height:1.7}.nv-panel{padding:18px;border:1px solid var(--line,#d8dde5);border-radius:14px;margin:18px 0;background:var(--surface,#fff)}.nv-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.nv-field{display:flex;flex-direction:column;gap:6px;flex:1 1 230px;font-size:.9375rem;min-width:0}.nv-field:has(input[type=checkbox]){flex-direction:row;align-items:center;flex-basis:100%;justify-content:space-between;border-bottom:1px solid #8994a433;padding:8px 0}.nv-field input:not([type=checkbox]),.nv-field select,.nv-field textarea{width:100%;min-width:0;border:1px solid var(--line,#cbd5e1);border-radius:8px;padding:10px;background:var(--bg,#fff);color:var(--text,#1b2533);font:inherit}.nv-field input[type=checkbox]{width:20px;height:20px;flex:none}.nv-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0}.nv-main .btn,.nv-copy{cursor:pointer;border:1px solid var(--line,#cbd5e1);border-radius:7px;padding:8px 12px;background:var(--surface,#fff);color:var(--text,#1b2533);font:inherit}.nv-main button:disabled{opacity:.45;cursor:not-allowed}.nv-main .btn:hover:not(:disabled),.nv-copy:hover{border-color:#6679df}.nv-main pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:430px;overflow:auto;padding:12px;background:#8994a412;border-radius:7px;font-size:1rem}.nv-table-scroll{overflow-x:auto;max-width:100%;border:1px solid var(--line,#d8dde5);border-radius:9px;margin:12px 0}.nv-main table{width:100%;border-collapse:collapse;font-size:1rem;text-align:left}.nv-main th,.nv-main td{padding:10px;border-bottom:1px solid #8994a433;vertical-align:top;max-width:330px;overflow-wrap:anywhere}.nv-main th{font-weight:600;background:#8994a40d}.nv-main code{white-space:pre-wrap;overflow-wrap:anywhere;font-size:1rem}.nv-sort{background:none;border:0;color:inherit;font:inherit;cursor:pointer;text-align:left;white-space:nowrap}.nv-kv th{width:240px}.nv-kv td:last-child{width:75px}.nv-copy{font-size:.9375rem;padding:4px 8px}.nv-status{padding:12px;border-left:3px solid #5870df;background:#5870df0c;min-height:45px;line-height:1.5}.nv-status.error{border-color:#bd405a;color:#b32643}.nv-warning{padding:12px;border-left:3px solid #c98624;background:#c986240b;line-height:1.65}.nv-summary{font-size:.9375rem;color:var(--muted,#64748b)}.nv-source{font-size:.9375rem;line-height:1.6;margin-bottom:20px}.nv-source h2{font-size:1.25rem}.nv-source a{overflow-wrap:anywhere}.nv-main details{margin:12px 0}.nv-main summary{cursor:pointer}.nv-main .nv-table-scroll th{position:sticky;top:0}.nv-progress{width:100%;accent-color:#6679df}.nv-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}.nv-metric{padding:12px;border:1px solid var(--line,#d8dde5);border-radius:8px}.nv-metric strong{display:block;font-size:1rem;margin-top:5px}.nv-hidden{display:none!important}.nv-main :focus-visible{outline:3px solid #8896ef;outline-offset:3px}.nv-main p{overflow-wrap:anywhere}.nv-main .nv-notes{line-height:1.75;max-width:90ch}.nv-main .nv-candidate-status{font-weight:bold}.nv-main input,.nv-main select{box-sizing:border-box}@media(max-width:640px){main.nv-main{padding:14px 10px}.nv-panel{padding:12px}.nv-field{flex-basis:100%}.nv-main td,.nv-main th{padding:8px;font-size:1rem}.nv-kv th{width:34%}.nv-kv td:last-child{width:55px}.nv-copy{padding:3px}.nv-main .btn{font-size:1rem}.nv-table-scroll{max-width:calc(100vw - 48px)}}

/* Layout v4: one border-box document container, not width-limited help cards. */
main.nv-main{box-sizing:border-box;width:100%;max-width:1160px;min-width:0;padding:24px 24px 48px}
.nv-main *,.nv-main *::before,.nv-main *::after{box-sizing:border-box}
.nv-main>*,.nv-main .nv-panel,.nv-main .nv-dataset,.nv-main .nv-controls,.nv-main .nv-source{min-width:0;max-width:100%}
.nv-main>.nv-panel{width:100%;max-width:none;margin:18px 0;padding:22px;border-radius:14px;box-shadow:var(--sh-1)}
.nv-main h1{font-size:clamp(1.6rem,3vw,2rem);line-height:1.3;margin:12px 0}
.nv-main h2{font-size:1.25rem;line-height:1.5;margin:0 0 12px}
.nv-main h3{font-size:1.0625rem;line-height:1.5;margin:20px 0 10px}
.nv-intro{font-size:1rem;color:var(--muted);max-width:82ch;margin:0 0 22px}
.nv-main .nv-notes{max-width:none;line-height:1.75}
.nv-notes>p{font-size:1rem;max-width:85ch;margin:0 0 10px;color:var(--text-2)}
.nv-help{border-top:1px solid var(--line);padding-top:12px}
.nv-help>summary{font-size:1rem;font-weight:600;color:var(--link,var(--brand));padding:3px 0}
.nv-note-list{padding-left:22px;margin:14px 0 0;max-width:90ch}
.nv-note-list li{padding-left:3px;margin:12px 0;font-size:1rem;color:var(--text-2)}
.nv-note-list p{margin:0}
.nv-controls{gap:14px;align-items:flex-end}
.nv-field{flex:1 1 230px;gap:7px;line-height:1.5}
.nv-field:has(input[type=checkbox]){justify-content:flex-start;align-items:flex-start;gap:12px;border:0;background:var(--surface-2);padding:11px 13px;border-radius:9px;flex-basis:100%}
.nv-field:has(input[type=checkbox])>span{flex:1;min-width:0}
.nv-field input[type=checkbox]{margin-top:1px;order:-1;width:18px;height:18px}
.nv-field input:not([type=checkbox]),.nv-field select,.nv-field textarea{min-height:44px;border-radius:9px;background:var(--surface);font-size:1rem}
.nv-main .btn,.nv-copy{min-height:40px;border-radius:8px;font-size:.9375rem;line-height:1.5;padding:8px 13px}
.nv-main .btn:focus-visible,.nv-copy:focus-visible{outline:3px solid #829af0;outline-offset:3px}
.nv-actions{gap:9px;margin:14px 0;min-width:0}
.nv-controls>.nv-actions{flex-basis:100%;margin:2px 0}
.nv-controls>.btn{flex:0 1 auto;max-width:100%;white-space:normal}
.nv-status{font-size:1rem;min-height:44px;margin:16px 0;border-radius:7px}
.nv-warning{font-size:1rem;border-radius:7px}
.nv-kv{table-layout:fixed;width:100%}
.nv-kv th{width:31%;color:var(--muted);font-size:1rem}
.nv-kv td:last-child{width:76px}
.nv-kv code{font-size:1rem;line-height:1.7}
.nv-main .nv-copy{font-size:.9375rem;padding:5px 8px;min-height:32px}
.nv-table-scroll{width:100%;max-width:100%;max-height:38rem;overflow:auto;overscroll-behavior-x:contain;scrollbar-gutter:stable;border-radius:10px;margin:14px 0}
.nv-table-scroll table{min-width:640px;width:100%;font-size:1rem;line-height:1.65}
.nv-table-scroll th{position:sticky;top:0;z-index:1;background:var(--surface-2,#f3f5fa);box-shadow:0 1px var(--line)}
.nv-table-scroll td,.nv-table-scroll th{padding:12px 11px}
.nv-table-scroll tbody tr:hover{background:var(--brand-soft,#eef2ff)}
.nv-sort{min-height:32px;max-width:100%;white-space:normal;line-height:1.5}
.nv-dataset>.nv-controls{align-items:flex-end}
.nv-dataset>.nv-controls>.nv-field:first-child{flex:2 1 240px}
.nv-dataset>.nv-controls>.nv-field:nth-child(2){flex:0 1 140px}
.nv-summary{font-size:.9375rem;line-height:1.7;color:var(--muted);margin:12px 0}
.nv-source{padding:14px 16px;background:var(--surface-2);border-radius:10px;font-size:.9375rem;margin:0 0 20px}
.nv-source p{margin:7px 0;line-height:1.7}
.nv-source h2{font-size:1.25rem}
.nv-pager{justify-content:flex-end;gap:10px;font-size:.9375rem}
.nv-pager[hidden]{display:none}
.nv-empty{padding:24px!important;text-align:center;color:var(--muted)}
.nv-related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:10px;margin-top:14px}
.nv-related-link{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;min-height:50px;padding:12px 14px;border:1px solid var(--line);border-radius:9px;background:var(--surface);font-size:1rem;line-height:1.55;text-decoration:none;color:var(--text)}
.nv-related-link::after{content:'→';color:var(--brand);flex:none}
.nv-related-link:hover{border-color:var(--brand);background:var(--brand-soft);text-decoration:none}
.nv-main [id]{scroll-margin-top:90px}
@media(max-width:640px){main.nv-main{padding:18px 12px 32px}.nv-main>.nv-panel{padding:16px;margin:14px 0;border-radius:12px}.nv-field{flex-basis:100%}.nv-main h1{font-size:1.65rem}.nv-kv th{width:29%;font-size:1rem}.nv-kv td:last-child{width:57px}.nv-kv th,.nv-kv td{padding:11px 7px}.nv-kv code{font-size:1rem}.nv-main .nv-copy{padding:4px;min-height:32px;font-size:.9375rem}.nv-table-scroll{max-width:100%;max-height:65vh}.nv-dataset>.nv-controls>.nv-field:nth-child(2){flex:1 1 100%}.nv-dataset>.nv-controls>.btn{flex:1 1 140px}.nv-pager{justify-content:space-between}.nv-related-grid{grid-template-columns:1fr}.nv-related-link{min-height:48px}.nv-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.nv-metric{min-width:0;overflow-wrap:anywhere}}
.nv-support>summary{font-size:1rem;font-weight:600;cursor:pointer;color:var(--text);line-height:1.6}
.nv-support[open]>summary{padding-bottom:16px;border-bottom:1px solid var(--line);margin-bottom:16px}
.nv-session-detail{border-top:1px solid var(--line);padding:14px 0 3px}
.nv-session-detail>summary{font-size:1rem;font-weight:600;color:var(--muted)}
.nv-empty-state{padding:12px 0;color:var(--muted);font-size:1rem;line-height:1.8}
.nv-empty-state p{max-width:65ch;margin-bottom:0}
.nv-metrics{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));margin-bottom:18px}
.nv-metric{background:var(--surface-2);font-size:1rem;color:var(--muted);border:1px solid var(--line);padding:14px}
.nv-metric strong{font-size:1rem;color:var(--text);font-weight:600;line-height:1.6;overflow-wrap:anywhere}
.nv-main .btn.nv-primary{background:var(--brand,#3451e8);border-color:var(--brand,#3451e8);color:var(--on-brand,#fff);font-weight:600}
.nv-main .btn.nv-primary:hover:not(:disabled){filter:brightness(.96);border-color:var(--brand)}

/* Keep short bilingual column labels intact; wide tables scroll in their own region. */
.nv-main .nv-table-scroll th{white-space:nowrap;overflow-wrap:normal;word-break:normal}
.nv-main .nv-table-scroll .nv-sort{white-space:nowrap;overflow-wrap:normal;word-break:normal}

/* Readability v5: match Tool.GD body16 / label15 / button15, not console microtype. */
main.nv-main{font-size:1rem;line-height:1.65}
.nv-main .nv-table-scroll th{font-size:.9375rem;line-height:1.6}
.nv-main .nv-table-scroll td,.nv-main .nv-kv td,.nv-main .nv-kv code{font-size:1rem;line-height:1.7}
.nv-main .nv-kv th{font-size:1rem;line-height:1.65}
.nv-main .nv-sort{font-size:.9375rem;line-height:1.6}
.nv-main .btn,.nv-main .nv-copy{font-size:.9375rem;line-height:1.5;min-height:44px;padding:8px 12px}
.nv-main .nv-kv td:last-child{width:94px}
.nv-main .nv-related-link,.nv-main .nv-session-detail>summary,.nv-main .nv-help>summary{font-size:1rem;line-height:1.65}
.nv-main .nv-metric{font-size:.9375rem}
@media(max-width:640px){.nv-main .nv-kv th{width:30%;font-size:1rem}.nv-main .nv-kv td:last-child{width:78px}.nv-main .btn,.nv-main .nv-copy{font-size:.9375rem;min-height:44px}.nv-main .nv-field input,.nv-main .nv-field select,.nv-main .nv-field textarea{font-size:1rem}}
@media(max-width:640px){
 .nv-main .nv-kv,.nv-main .nv-kv tbody{display:block;width:100%}
 .nv-main .nv-kv tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px 10px;border-top:1px solid var(--line)}
 .nv-main .nv-kv th{grid-column:1;grid-row:1;width:auto;min-width:0;padding:0;border:0;font-size:1rem}
 .nv-main .nv-kv td:nth-child(2){grid-column:1/-1;grid-row:2;min-width:0;padding:0;border:0;font-size:1rem}
 .nv-main .nv-kv td:last-child{grid-column:2;grid-row:1;width:auto;padding:0;border:0}
}
