.v1118 {
  --n18-line:var(--color-line);
  --n18-soft:var(--color-surface);
  --n18-ink:var(--color-ink);
  --n18-muted:var(--color-muted);
  --n18-accent:var(--color-teal);
  color:var(--n18-ink);
  letter-spacing:0;
  accent-color:var(--n18-accent);
  caret-color:var(--n18-accent);
}
.v1118 ::selection { background:var(--color-selection); color:var(--color-ink); }
.v1118 :focus-visible { outline:2px solid var(--color-focus); outline-offset:3px; }
.v1118 button,.v1118 input,.v1118 select,.v1118 textarea { letter-spacing:0; }
.v1118 select { padding-right:36px; background-position:right 13px center; }
.v1118 .wb-layout { grid-template-columns:190px minmax(0,1fr); }
.v1118.wb-home-page .wb-layout { display:block; }
.v1118.wb-home-page .wb-main { width:100%; }
.v1118 .wb-header { height:64px; padding:0 24px; }
.v1118 .wb-sidebar { top:64px; padding:24px 12px; background:var(--color-rail-blue); }
.v1118 .wb-main { padding:20px 24px 32px; min-width:0; }
.v1118 .wb-breadcrumb { margin-bottom:18px; }
.v1118 .wb-page-head { margin-bottom:22px; }
.v1118 .wb-page-head h1 { font-size:24px; line-height:1.35; }
.v1118 .wb-page-head p { margin-top:6px; }
.v1118 .wb-view { max-width:1800px; }
.n18-assessment-modes { display:grid; gap:4px; margin:16px 0; padding-top:14px; border-top:1px solid var(--n18-line); }
.n18-assessment-modes h2 { margin:0 8px 4px; color:var(--n18-muted); font-size:12px; font-weight:600; }
.n18-assessment-modes button { display:flex; align-items:center; gap:10px; min-height:40px; padding:8px; border:1px solid transparent; border-radius:4px; background:transparent; color:var(--n18-ink); text-align:left; font-size:13px; cursor:pointer; }
.n18-assessment-modes button:hover { background:#e2ebe5; }
.n18-assessment-modes button[aria-pressed=true] { border-color:#b9d6c6; background:#dcebe2; color:#205c42; }
.n18-assessment-modes button svg,.n18-workbench-empty svg { width:16px; height:16px; fill:none; stroke:currentColor; }
.n18-workbench-empty { display:grid; place-content:center; justify-items:center; gap:10px; min-height:min(56vh,540px); border-top:1px solid var(--n18-line); color:var(--n18-muted); }
.n18-workbench-empty svg { width:30px; height:30px; stroke-width:1.4; }
.n18-workbench-empty p { margin:0; font-size:14px; }
.v1118 #homeView { min-height:0; }
.v1118.wb-home-page #homeView .wb-page-head { min-height:0; margin-bottom:16px; }
.v1118 #homeView .wb-home-footer { margin-top:0; padding-top:16px; }
.n18-tool-showcase { display:grid; grid-template-columns:minmax(48px,.12fr) minmax(0,1fr) minmax(48px,.12fr); gap:16px; overflow:hidden; padding:0 0 8px; }
.n18-tool-current { display:flex; flex-direction:column; align-items:center; min-width:0; padding:20px 24px 16px; background:#e7f0eb; overflow:hidden; border-radius:8px; }
.n18-tool-intro { text-align:center; padding-bottom:16px; }
.n18-tool-intro h2 { margin:0 0 10px; font-size:28px; }
.n18-tool-intro p { color:var(--n18-muted); font-size:14px; margin:0 0 18px; }
.n18-tool-current > picture { display:block; width:100%; }
.n18-tool-current img { display:block; width:100%; max-width:1200px; height:auto; max-height:64vh; object-fit:contain; border-radius:6px; }
.n18-tool-intro .button svg { width:16px; height:16px; fill:none; stroke:currentColor; }
.n18-tool-reserved { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:12px; color:var(--n18-muted); background:#edf0ef; border-radius:8px; margin:24px 0; min-width:0; text-align:center; padding-inline:8px; }
.n18-tool-reserved svg { height:34px; width:34px; stroke:#6d8174; fill:none; }
.n18-tool-reserved strong { font-size:14px; font-weight:500; }
.n18-tool-reserved span { font-size:12px; }
.n18-tool-dots { grid-column:1/-1; display:flex; justify-content:center; gap:10px; }
.n18-tool-dots > * { border:0; border-radius:50%; width:8px; height:8px; background:#c3cdc7; padding:0; }
.n18-tool-dots > a { background:#277858; outline-offset:5px; }
.n18-tool-dots > button { cursor:default; }
.v1118 .wb-eyebrow { display:none; }
.v1118 .result-page-head { align-items:center; gap:18px; margin-bottom:18px; }
.v1118 .result-actions .button { padding:8px 11px; }
.v1118 .result-actions svg { width:15px; height:15px; }
.v1118 #requestStatus:empty { display:none; }
.v1118 #resultArea > .result-toolbar,.v1118 #resultArea > .result-meta { display:none; }
.n18-result-layout { display:grid; grid-template-columns:minmax(0,1fr) 270px; gap:20px; align-items:start; }
.n18-comparison { min-width:0; background:#fff; border:1px solid var(--n18-line); border-radius:8px; }
.n18-module-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 18px; border-bottom:1px solid var(--n18-line); }
.n18-module-head > div:first-child { min-width:0; }
.n18-module-head h2 { font-size:16px; line-height:1.5; margin:0 0 2px; }
.n18-module-head #n18Scope { font-size:12px; color:var(--n18-muted); }
.n18-module-actions { display:flex; gap:6px; flex-wrap:wrap; align-items:center; justify-content:flex-end; }
.n18-module-actions .button { font-size:12px; padding:6px 9px; min-height:34px; }
.n18-module-actions svg { width:15px; height:15px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.6; }
.n18-module-actions details { position:relative; }
.n18-module-actions summary { display:flex; align-items:center; gap:5px; padding:7px 8px; font-size:12px; cursor:pointer; min-height:34px; list-style:none; border-radius:5px; }
.n18-module-actions summary::-webkit-details-marker { display:none; }
.n18-module-actions summary:hover,.n18-module-actions details[open] summary { background:var(--n18-soft); }
.n18-object-popover { position:absolute; right:0; top:calc(100% + 8px); width:310px; max-width:calc(100vw - 48px); z-index:25; background:#fff; padding:16px; border:1px solid var(--n18-line); border-radius:8px; box-shadow:0 12px 32px #24332c20; }
.n18-object-popover > strong { display:block; margin-bottom:12px; font-size:14px; }
#n18ObjectOptions { max-height:300px; overflow:auto; }
#n18ObjectOptions label { display:flex; align-items:flex-start; gap:9px; padding:9px 0; font-size:13px; line-height:1.6; overflow-wrap:anywhere; cursor:pointer; }
#n18ObjectOptions input { flex-shrink:0; margin-top:4px; }
.n18-object-actions { display:flex; justify-content:flex-end; gap:8px; margin:12px 0; }
.n18-object-popover small { display:block; color:var(--n18-muted); font-size:12px; }
.n18-reanalyze { display:block; background:transparent; border:0; color:var(--n18-accent); font-size:12px; padding:8px 0 12px; cursor:pointer; }
#n18FilterError { color:#852d29; margin:6px 0; }
.n18-dimension { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; padding:10px 18px; border-bottom:1px solid var(--n18-line); }
.n18-dimension .segmented-control { padding:2px; min-height:0; }
.n18-dimension .segment { font-size:12px; padding:6px 10px; }
.n18-dimension > span { color:var(--n18-muted); font-size:12px; display:flex; align-items:center; gap:8px; }
.n18-scale-swatch { display:inline-block; width:56px; height:7px; background:linear-gradient(to right,#e0f1e7 0 20%,#cde8da 20% 40%,#f5e4bb 40% 60%,#edc984 60% 80%,#e89a91 80%); border-radius:2px; }
.n18-pair { display:grid; grid-template-columns:1fr 1fr; min-height:430px; }
.n18-design { padding:12px 16px; min-width:0; display:flex; flex-direction:column; }
.n18-secondary { border-left:1px solid var(--n18-line); background:#fafbfa; }
.n18-design-head { display:flex; justify-content:space-between; gap:8px; align-items:center; min-height:48px; }
.n18-main-picker,.n18-record-title { min-width:0; flex:1; }
.n18-main-picker > span,.n18-record-title > span { display:block; font-size:12px; color:var(--n18-muted); margin-bottom:4px; }
.n18-main-picker select { width:100%; min-width:0; font-weight:650; font-size:14px; height:34px; padding-left:0; border:0; background-color:transparent; text-overflow:ellipsis; }
.n18-record-title h3 { margin:0; font-size:14px; font-weight:650; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.n18-record-tools { display:flex; gap:4px; align-items:center; flex-shrink:0; }
.n18-icon-button { width:32px; height:32px; display:inline-grid; place-items:center; padding:0; background:transparent; color:var(--n18-muted); border:1px solid transparent; border-radius:5px; cursor:pointer; flex-shrink:0; }
.n18-icon-button svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.6; }
.n18-icon-button:hover:not(:disabled) { background:#e9efeb; color:#1e6247; }
.n18-icon-button:disabled { opacity:.35; cursor:default; }
.n18-change { border:0; background:transparent; color:#1e6247; padding:6px 2px; display:inline-flex; align-items:center; gap:4px; cursor:pointer; font-size:12px; white-space:nowrap; }
.n18-change svg { width:13px; height:13px; stroke:currentColor; fill:none; }
.n18-step-title { min-height:56px; padding:8px 0; }
.n18-step-title > span { display:block; color:var(--n18-muted); font-size:12px; }
.n18-step-title p { margin:3px 0 0; font-size:12px; line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.n18-evidence-layout { display:grid; grid-template-columns:minmax(0,1fr) 109px; gap:14px; align-items:start; flex:1; padding:9px 0 4px; }
.n18-screen { min-width:0; height:clamp(250px,calc(100vh - 650px),320px); display:flex; align-items:flex-start; justify-content:center; }
.n18-image-button { border:0; background:transparent; padding:0; display:flex; height:100%; max-width:100%; justify-content:center; cursor:zoom-in; }
.n18-image-button img { display:block; height:100%; width:100%; max-width:100%; object-fit:contain; object-position:top center; }
.n18-metrics { min-width:0; display:flex; flex-direction:column; gap:12px; }
.n18-metric { padding:0 0 12px; border-bottom:1px solid var(--n18-line); background:transparent !important; }
.n18-metric > span:first-child { display:block; font-size:12px; color:var(--n18-muted); margin-bottom:7px; }
.n18-metric .burden-stars { display:flex; gap:3px; }
.n18-metric .burden-stars svg { width:16px; height:16px; }
.n18-metric small { display:block; font-size:12px; margin-top:5px; color:var(--n18-ink); }
.n18-metric.severity-minimal .is-filled { color:#39795b; }
.n18-metric.severity-low .is-filled { color:#287856; }
.n18-metric.severity-mid .is-filled { color:#93661a; }
.n18-metric.severity-high .is-filled { color:#a65b10; }
.n18-metric.severity-critical .is-filled { color:#af4038; }
.n18-inspect-link { display:flex; align-items:center; justify-content:space-between; gap:4px; border:0; padding:0; background:transparent; color:#1e6247; font-size:12px; cursor:pointer; }
.n18-inspect-link svg { width:14px; height:14px; stroke:currentColor; fill:none; }
.n18-raw { font-size:12px; color:var(--n18-muted); }
.n18-raw summary { cursor:pointer; }
.n18-raw p { font-size:12px; margin:8px 0; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.n18-no-match { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; color:var(--n18-muted); width:100%; height:100%; min-height:200px; text-align:center; padding:16px; background:#f0f3f1; }
.n18-no-match svg { width:28px; height:28px; fill:none; stroke:#6b7f72; stroke-width:1.5; }
.n18-no-match strong { font-size:13px; font-weight:500; }
.n18-no-match span,.n18-metric-empty { font-size:12px; line-height:1.7; color:var(--n18-muted); }
.n18-candidate-head { min-height:48px; display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:12px; }
.n18-candidate-head h3 { margin:0 0 4px; font-size:14px; }
.n18-candidate-head span { font-size:12px; color:var(--n18-muted); }
.n18-candidates { display:grid; grid-template-columns:1fr 1fr; align-content:start; gap:12px; height:calc(clamp(250px,100vh - 650px,320px) + 66px); overflow:auto; padding:0 2px 4px 0; scrollbar-width:thin; }
.n18-candidate { min-width:0; display:flex; flex-direction:column; gap:10px; text-align:left; padding:12px; border:1px solid var(--n18-line); background:#fff; border-radius:6px; cursor:pointer; position:relative; transition:border-color 150ms,background-color 150ms; }
.n18-candidate:hover,.n18-candidate.is-current { border-color:#6b9f83; background:#f6faf7; }
.n18-thumbnail { height:150px; width:100%; display:flex; align-items:center; justify-content:center; overflow:hidden; background:#f4f6f4; }
.n18-thumbnail img { height:100%; width:100%; object-fit:contain; }
.n18-thumbnail > span { font-size:12px; color:var(--n18-muted); }
.n18-candidate-copy { min-width:0; width:100%; }
.n18-candidate-copy strong { display:block; font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-bottom:4px; }
.n18-candidate-copy > span { color:var(--n18-muted); font-size:12px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:36px; line-height:1.5; }
.n18-candidate > svg { display:none; }
.n18-candidate-score { display:flex; flex-wrap:wrap; gap:4px; align-items:center; background:transparent !important; padding-top:6px; }
.n18-candidate-score .burden-stars { gap:1px; }
.n18-candidate-score .burden-stars svg { width:12px; height:12px; }
.n18-candidate-score small { color:var(--n18-muted); font-size:12px; }
.n18-stage-footer { padding:12px 18px 14px; border-top:1px solid var(--n18-line); background:#fafbf9; }
.n18-stage-nav { display:flex; gap:10px; align-items:center; margin-bottom:8px; }
.n18-stage-nav strong { font-size:12px; white-space:nowrap; }
.n18-stage-nav strong span { color:var(--n18-muted); font-weight:400; }
.n18-stage-nav p { flex:1; margin:0; font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:var(--n18-muted); }
.n18-timeline { overflow:auto; scrollbar-width:thin; }
.n18-timeline-content { min-width:max(100%,calc(48px + var(--stages)*30px)); }
.n18-stage-labels,.n18-heat-row { display:grid; grid-template-columns:46px repeat(var(--stages),minmax(25px,1fr)); align-items:center; gap:4px; margin-bottom:4px; }
.n18-stage-labels > span,.n18-heat-row > strong { font-size:12px; font-weight:500; color:var(--n18-muted); }
.n18-stage-labels button { background:transparent; border:0; padding:4px 0; font-size:12px; color:var(--n18-muted); cursor:pointer; height:27px; }
.n18-stage-labels button.is-active { color:#1e6247; font-weight:700; text-decoration:underline; text-underline-offset:4px; }
.n18-heat { border:1px solid transparent; height:23px; padding:0; font-size:11px; border-radius:3px; cursor:pointer; color:#334b3b; font-variant-numeric:tabular-nums; }
.n18-heat.is-active { border:2px solid #277858; }
.n18-heat.is-unmatched { background:#f1f3f2; border:1px dashed #bdc8c0; color:#5b695f; }
.v1118 .n18-result-layout > #inspector { display:block; position:sticky; top:84px; width:100%; min-width:0; max-height:calc(100vh - 240px); overflow:auto; margin:0; background:#fff; border:1px solid var(--n18-line); border-radius:8px; padding:14px; }
.v1118 #inspector .detail-tabs { margin-bottom:14px; }
.v1118 #inspector .detail-tabs button { font-size:13px; padding:9px 8px; }
.v1118 #inspector .issue-card { padding:12px 0; border:0; border-bottom:1px solid var(--n18-line); border-radius:0; background:transparent; margin:0; }
.v1118 #inspector .issue-card h3 { font-size:14px; line-height:1.5; }
.v1118 #inspector .issue-summary { font-size:12px; }
.v1118 #inspector .evidence-image img { max-height:260px; object-fit:contain; }
.v1118 .n18-comparison > #matrix,.v1118 .n18-comparison > #flow { border:0; padding:16px; margin:0; border-radius:0; box-shadow:none; }
.v1118 .n18-comparison .comparison-layout,.v1118 .n18-comparison .flow-comparison-layout { display:block; }
.v1118 .n18-comparison #matrix > .section-heading,.v1118 .n18-comparison .result-matrix-footer { display:none; }
.v1118 .n18-comparison .matrix-wrap { max-height:550px; border:1px solid var(--n18-line); }
.v1118 #resultArea .n18-comparison #matrix,.v1118 #resultArea .n18-comparison #flow { display:block; padding:14px; }
.v1118 #resultArea .n18-comparison #matrix > .section-heading,.v1118 #resultArea .n18-comparison #matrix > .result-matrix-footer { display:none; }
.v1118 #resultArea #matrix .matrix-wrap { height:calc(100vh - 415px); min-height:240px; max-height:600px; overflow:auto; }
.v1118 .n18-comparison .matrix-grid { min-width:max-content; }
.v1118 .n18-comparison .matrix-row { grid-template-columns:145px repeat(var(--app-count),175px); }
.v1118 .n18-comparison .matrix-header { min-height:80px; }
.v1118 .n18-comparison .matrix-cell { padding:10px; min-width:0; }
.v1118 .n18-comparison .heat-cell { min-height:104px; }
.v1118 .n18-comparison .matrix-app-copy strong { max-width:125px; }
.n18-alignment { background:#edf4ef; padding:10px; margin:7px 0; border-radius:5px; font-size:12px; }
.n18-alignment label { display:block; color:#315541; }
.n18-alignment select { display:block; width:100%; font-size:12px; margin:6px 0 8px; padding:7px 32px 7px 9px; height:34px; }
.n18-alignment > div { display:flex; flex-wrap:wrap; gap:6px; }
.n18-alignment .button { font-size:12px; min-height:30px; padding:5px 8px; }
.n18-alignment p { font-size:12px; color:#852d29; margin:8px 0 0; }
.n18-project-controls { flex:none; border-block:1px solid var(--n18-line); margin-bottom:16px; }
.n18-project-toolbar,.n18-project-tools { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.n18-project-toolbar { justify-content:space-between; padding:10px 0; }
.n18-project-toolbar .button { min-height:40px; padding:6px 12px; }
.n18-project-summary { padding:6px 0 10px; }
.n18-project-summary p { display:inline; margin:0; font-size:12px; }
#n18ProjectRequirement:not([hidden]) { margin-left:10px; }
#n18ProjectCounts { font-weight:600; }
.n18-project-previews { display:flex; gap:8px 16px; flex-wrap:wrap; list-style:none; padding:0; margin:9px 0 0; }
.n18-project-previews li { display:flex; gap:6px; align-items:center; min-width:0; flex:0 1 140px; font-size:12px; }
.n18-project-previews li .n18-project-thumb { width:20px; height:32px; }
.n18-project-previews li > span:last-child { min-width:0; }
.n18-project-previews strong,.n18-project-previews small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.n18-project-previews small,.n18-preview-overflow { font-size:12px; color:var(--n18-muted); }
.n18-project-previews .n18-preview-overflow { flex-basis:auto; }
.n18-materials-dialog[open] { display:flex; flex-direction:column; width:min(1024px,calc(100% - 32px)); max-width:none; max-height:calc(100dvh - 48px); padding:0; border:1px solid var(--n18-line); border-radius:8px; background:#fff; color:var(--n18-ink); box-shadow:0 18px 60px rgb(25 46 33 / 20%); }
.n18-materials-head { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:10px 20px; border-bottom:1px solid var(--n18-line); }
.n18-materials-head h2 { margin:0; font-size:16px; font-weight:600; }
.n18-materials-body { min-height:0; overflow:auto; overscroll-behavior:contain; padding:16px 20px 20px; }
.n18-materials-dialog #prepareView > .wb-page-head { display:none; }
.v1118 .wb-prepare-layout { display:flex; flex-direction:column; gap:20px; }
.v1118 .wb-prepare-layout > section { width:100%; }
.v1118 #sourceLibrary { border:0; padding:0; background:transparent; }
.v1118 #sourceLibrary > .wb-source-heading { display:none; }
.n18-materials-dialog #recordChoices { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; height:auto; max-height:none; min-height:0; padding:0; overflow:visible; }
.n18-materials-dialog .wb-folder-column-list { max-height:clamp(140px,calc(100dvh - 370px - var(--recommendation-height,0px)),380px); }
.v1118 .wb-selection-tray { position:static; background:transparent; border:0; border-top:1px solid var(--n18-line); border-radius:0; padding:18px 0 0; box-shadow:none; }
.v1118 .wb-selected-records { display:block; max-height:280px; overflow:auto; padding:0; }
.n18-project-record { display:flex; justify-content:space-between; gap:14px; padding:11px 0; border-bottom:1px solid var(--n18-line); align-items:center; }
.n18-project-record label { display:flex; gap:10px; align-items:center; min-width:0; cursor:pointer; }
.n18-project-record label > span { min-width:0; }
.n18-project-thumb { display:grid; place-items:center; width:32px; height:48px; background:var(--n18-soft); flex-shrink:0; overflow:hidden; border-radius:3px; }
.n18-project-thumb img { width:100%; height:100%; object-fit:contain; }
.n18-project-thumb svg { width:17px; height:17px; stroke:var(--n18-muted); fill:none; }
.n18-project-record strong { display:block; font-size:13px; overflow-wrap:anywhere; }
.n18-project-record small { display:block; font-size:12px; color:var(--n18-muted); margin-top:2px; }
.n18-project-record .n18-record-tools { flex-shrink:0; }
.n18-project-record .n18-record-tools button { font-size:12px; }
.n18-project-empty { padding:16px 0; font-size:13px; color:var(--n18-muted); }
.n18-add-selection { display:flex; gap:10px; justify-content:flex-end; align-items:center; padding-top:14px; }
.n18-add-selection span { font-size:12px; color:var(--n18-muted); margin-right:auto; }
.v1118 .wb-project-input { max-width:550px; margin-top:20px; }
.v1118 .wb-tray-footer { margin-top:14px; }
.v1118 #n18UploadHost #setupView > .wb-page-head { display:none; }
.v1118 #n18UploadHost .wb-setup-form { max-width:none; }
.v1118 #n18UploadHost .wb-upload-workspace { grid-template-columns:minmax(0,1.2fr) minmax(240px,1fr); }
.v1118 #n18UploadHost .wb-design-section { border:0; background:transparent; padding:0; box-shadow:none; }
.v1118 #screenshotDropzone { min-height:150px; flex-flow:column nowrap; align-items:center; justify-content:center; gap:6px; padding:16px; text-align:center; }
.v1118 #screenshotDropzone.is-compact { min-height:88px; }
.v1118 #screenshotDropzone > span { max-width:100%; text-align:center; }
.n18-upload-label { display:inline-flex; align-items:center; justify-content:center; gap:8px; }
.v1118 #screenshotDropzone > .n18-upload-label { color:var(--color-ink); }
.n18-upload-label svg { width:18px; height:18px; flex:none; fill:none; stroke:var(--color-teal); stroke-width:1.7; }
.v1118 #screenshotList { --file-control-size:24px; --file-preview-height:156px; --file-column-min:116px; grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--file-column-min)),1fr)); align-items:start; gap:12px 8px; padding:4px; }
.v1118 #screenshotList:empty { padding:0; margin:0; }
.v1118 .wb-screenshot-item { position:relative; display:flex; align-items:center; justify-content:center; gap:4px; min-height:var(--file-preview-height); }
.v1118 .wb-screenshot-open { width:fit-content; max-width:calc(100% - 2 * var(--file-control-size) - 8px); min-width:0; cursor:zoom-in; border-radius:8px; }
.v1118 .wb-screenshot-item img { width:auto; height:auto; max-width:100%; max-height:var(--file-preview-height); background:transparent; border-radius:inherit; outline:1px solid var(--n18-line); }
.v1118 .wb-screenshot-number { top:5px; left:5px; min-width:20px; height:20px; padding:0 3px; pointer-events:none; }
.v1118 .wb-screenshot-item > .n18-icon-button { width:var(--file-control-size); height:var(--file-control-size); }
.v1118 .wb-screenshot-item > .n18-icon-button:disabled { background:transparent; border-color:transparent; opacity:.45; }
.v1118 .wb-screenshot-item [data-remove-file] { position:absolute; top:0; right:0; }
@media (pointer:coarse), (max-width:699px) {
  .v1118 #screenshotList { --file-control-size:44px; --file-column-min:148px; }
}
.v1118 #n18UploadHost .wb-design-actions { margin-top:16px; }
.v1118 #n18UploadHost #setupBack { display:none; }
.n18-project-controls [hidden],.n18-comparison [hidden],.n18-materials-dialog [hidden] { display:none !important; }
.v1118 .wb-record-browser { min-width:0; }
.v1118 .wb-folder-column-list { max-height:300px; }
.v1118 .wb-record-columns { min-height:280px; }
.v1118 .wb-source-panel .wb-record-row { padding:10px; }
.v1118 .wb-prepare-layout .wb-project-input input { font-size:14px; }
.v1118 .wb-prepare-layout .wb-tray-footer { flex-wrap:wrap; }
.v1118 [aria-invalid=true] { border-color:#ae4039 !important; }
.v1118 .wb-status.is-error { color:#852d29; }
.v1118 .n18-comparison .severity-minimal,.n18-heat.severity-minimal { background:#f0f6f2; }
.v1118 .n18-comparison .severity-low,.n18-heat.severity-low { background:#e0f1e7; }
.v1118 .n18-comparison .severity-mid,.n18-heat.severity-mid { background:#f8f0dc; }
.v1118 .n18-comparison .severity-high,.n18-heat.severity-high { background:#f8e4c1; }
.v1118 .n18-comparison .severity-critical,.n18-heat.severity-critical { background:#f5d8d4; }
.v1118 .n18-comparison .severity-missing,.n18-heat.severity-missing { background:#edf0f2; }
.v1118 .n18-module-head { min-height:63px; padding:10px 16px; }
.v1118 .n18-module-head .button { min-height:32px; height:32px; line-height:18px; padding:6px 9px; }
.v1118 .n18-dimension { min-height:48px; padding:7px 16px; }
.v1118 .n18-dimension .segment { min-height:30px; height:30px; line-height:18px; padding:5px 10px; }
.v1118 .n18-design-head { height:56px; min-height:56px; }
.v1118 .n18-main-picker { display:block; position:relative; }
.v1118 .n18-main-picker > svg { width:14px; height:14px; position:absolute; right:10px; bottom:8px; pointer-events:none; stroke:currentColor; fill:none; }
.v1118 .n18-main-picker select { min-height:30px; height:30px; margin:0; line-height:20px; padding-top:3px; padding-bottom:3px; border:0; background-color:transparent; background-image:none; appearance:none; }
.v1118 .n18-step-title { height:65px; min-height:65px; }
.v1118 .n18-record-title h3 { line-height:30px; }
.v1118 .n18-metrics { gap:8px; }
.v1118 .n18-metric { padding-bottom:9px; line-height:18px; }
.v1118 .n18-metric > span:first-child { line-height:18px; margin-bottom:5px; }
.v1118 .n18-metric .burden-stars { line-height:16px; height:16px; }
.v1118 .n18-metric small { line-height:18px; margin-top:4px; }
.v1118 .n18-stage-footer { padding:8px 16px 10px; }
.v1118 .n18-stage-nav { margin-bottom:3px; }
.v1118 .n18-stage-nav button { width:28px; height:28px; }
.v1118 .n18-stage-labels button { height:23px; padding:1px 0; line-height:20px; }
.v1118 #prepareView .wb-record-browser { background:#fff; border:1px solid var(--n18-line); }
.v1118 #prepareView #recordChoices { height:300px; min-height:220px; max-height:360px; padding:0; }
.v1118 #prepareView .wb-folder-column-list { max-height:none; }
.v1118 #prepareView .wb-selection-tray { position:static; border:0; border-top:1px solid var(--n18-line); border-radius:0; padding:18px 0 0; }
.v1118 #prepareView .wb-record-browser .wb-list-toolbar { padding:12px; }
.v1118 #prepareView #recordChoices .wb-record-row { display:grid; grid-template-columns:1fr auto; gap:8px; padding:10px; }
.v1118 #prepareView #recordChoices .wb-record-row > label { grid-column:1/-1; display:flex; align-items:flex-start; gap:8px; }
.v1118 #prepareView #recordChoices .wb-record-row > label > small { margin-left:auto; flex-shrink:0; font-size:12px; color:var(--n18-muted); }
.v1118 #prepareView #recordChoices .wb-record-row > .button { grid-column:2; grid-row:2; padding:4px 8px; min-height:28px; }
.v1118 #prepareView .wb-tray-footer { display:flex; justify-content:space-between; align-items:center; }
.v1118 #prepareView .wb-tray-actions { display:flex; gap:8px; }
.v1118 .selected-score.score-critical .burden-stars .is-filled { color:#af4038; }
.v1118 .selected-score.score-high .burden-stars .is-filled { color:#a65b10; }
.v1118 .selected-score.score-mid .burden-stars .is-filled { color:#93661a; }
.v1118 .selected-score.score-low .burden-stars .is-filled,.v1118 .selected-score.score-minimal .burden-stars .is-filled { color:#287856; }
.v1118 :is(.severity-critical,.score-critical) .burden-stars .is-filled { color:#af4038; }
.v1118 :is(.severity-high,.score-high) .burden-stars .is-filled { color:#a65b10; }
.v1118 :is(.severity-mid,.score-mid) .burden-stars .is-filled { color:#93661a; }
.v1118 :is(.severity-low,.severity-minimal,.score-low,.score-minimal) .burden-stars .is-filled { color:#287856; }
@media (min-width:1600px) {
  .n18-result-layout { grid-template-columns:minmax(0,1fr) 290px; }
  .n18-screen { height:clamp(300px,calc(100vh - 650px),405px); }
  .n18-candidates { height:calc(clamp(300px,100vh - 650px,405px) + 66px); }
  .n18-thumbnail { height:175px; }
  .n18-evidence-layout { grid-template-columns:minmax(0,1fr) 125px; gap:20px; }
}
@media (max-width:1250px) {
  .v1118 .wb-layout { grid-template-columns:170px minmax(0,1fr); }
  .v1118 .wb-main { padding:18px; }
  .n18-result-layout { grid-template-columns:minmax(0,1fr) 240px; gap:14px; }
  .n18-design { padding:12px; }
  .n18-evidence-layout { grid-template-columns:minmax(0,1fr) 96px; gap:10px; }
  .n18-metric .burden-stars svg { width:14px; height:14px; }
  .n18-module-head { flex-wrap:wrap; }
  .n18-module-actions { justify-content:flex-start; }
  .n18-thumbnail { height:125px; }
  .n18-record-tools { gap:0; }
}
@media (max-width:1050px) {
  .n18-result-layout { grid-template-columns:minmax(0,1fr); }
  .v1118 .n18-result-layout > #inspector { position:static; max-height:520px; }
  .v1118 #inspector #stepPanel { display:block; }
  .v1118 #inspector #stepPanel[hidden] { display:none; }
  .n18-screen { height:320px; }
}
@media (max-width:700px) {
  .n18-tool-showcase { grid-template-columns:25px minmax(0,1fr) 25px; gap:10px; }
  .n18-tool-current { padding:20px 10px 12px; }
  .n18-tool-intro h2 { font-size:24px; }
  .n18-tool-reserved { min-width:0; }
  .n18-tool-reserved > * { visibility:hidden; }
  .v1118 .wb-layout { display:block; }
  .v1118 .wb-header { padding:0 14px; height:58px; gap:14px; }
  .v1118 .wb-main { padding:14px 12px 28px; }
  .v1118 .wb-sidebar { position:static; height:auto; padding:8px 12px; width:auto; border-bottom:1px solid var(--n18-line); }
  .v1118 .wb-sidebar-title,.v1118 .wb-side-bottom,.v1118 .wb-workflow { display:none !important; }
  .v1118 .wb-side-nav { display:flex; gap:4px; overflow:auto; margin:0; }
  .v1118 .wb-side-nav a { padding:9px; font-size:12px; flex-shrink:0; }
  .v1118 .wb-side-nav a svg { width:15px; height:15px; }
  .v1118 .wb-side-nav a span { display:none; }
  .n18-assessment-modes { grid-template-columns:repeat(2,minmax(0,1fr)); padding-top:8px; margin:4px 0 0; }
  .n18-assessment-modes h2 { grid-column:1 / -1; margin:0 0 2px; }
  .n18-assessment-modes button { justify-content:center; }
  .n18-materials-dialog[open] { width:calc(100% - 16px); max-height:calc(100dvh - 24px); }
  .n18-materials-head { padding:8px 12px; }
  .n18-materials-body { padding:12px 12px 14px; }
  .n18-project-toolbar { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .n18-project-tools { display:contents; }
  .n18-project-toolbar .button { padding:6px 8px; }
  #n18ProjectRequirement:not([hidden]) { display:block; margin:3px 0 0; }
  .n18-project-previews li { flex-basis:calc(50% - 8px); }
  .n18-materials-dialog #recordChoices { grid-template-columns:minmax(0,1fr); }
  .n18-materials-dialog .wb-folder-column-list { max-height:160px; }
  .v1118 .wb-page-head h1 { font-size:21px; }
  .v1118 .result-page-head { align-items:flex-start; flex-direction:column; }
  .v1118 .result-actions { width:100%; }
  .v1118 .result-actions .wb-inline-actions { flex-wrap:wrap; }
  .n18-module-head { padding:12px; gap:10px; }
  .n18-module-actions { gap:4px; width:100%; }
  .n18-module-actions .button,.n18-module-actions summary { min-height:40px; }
  .n18-dimension { padding:10px 12px; gap:8px; }
  .n18-dimension .segment { padding:7px 8px; }
  .n18-dimension > span { font-size:12px; }
  .n18-design { padding:10px; }
  .n18-evidence-layout { grid-template-columns:minmax(0,1fr); gap:12px; }
  .n18-screen { height:260px; }
  .n18-metrics { display:grid; grid-template-columns:1fr; gap:8px; }
  .n18-metric { padding:6px 0; }
  .n18-metric > span:first-child { margin-bottom:4px; }
  .n18-metric small { margin-top:2px; }
  .n18-step-title { min-height:82px; }
  .n18-design-head { flex-wrap:wrap; min-height:84px; align-content:start; gap:5px; }
  .v1118 .n18-design-head { height:94px; min-height:94px; }
  .v1118 .n18-step-title { height:82px; min-height:82px; }
  .v1118 #prepareView .wb-tray-footer { align-items:stretch; flex-direction:column; gap:12px; }
  .v1118 #prepareView .wb-tray-actions { flex-direction:column; }
  .n18-record-tools { margin-left:auto; }
  .n18-main-picker,.n18-record-title { flex-basis:100%; }
  .n18-candidate-head { min-height:84px; align-content:start; align-items:flex-start; flex-wrap:wrap; }
  .n18-candidates { grid-template-columns:1fr; height:735px; gap:10px; }
  .n18-thumbnail { height:160px; }
  .n18-candidate { padding:8px; }
  .n18-candidate-copy > span { -webkit-line-clamp:2; }
  .n18-stage-footer { padding:10px; }
  .n18-stage-nav { gap:4px; }
  .n18-stage-nav p { display:none; }
  .n18-stage-nav strong { flex:1; }
  .n18-object-popover { left:0; right:auto; width:280px; }
  .v1118 #n18UploadHost .wb-upload-workspace { display:block; }
  .v1118 #n18UploadHost .wb-upload-information { margin-top:20px; }
  .n18-project-record { gap:8px; align-items:flex-start; }
  .n18-project-record .n18-record-tools { flex-direction:column; gap:4px; }
  .n18-add-selection { flex-wrap:wrap; }
  .n18-add-selection > span { width:100%; }
  .v1118 .wb-folder-columns { overflow-x:auto; }
  .n18-icon-button { min-height:36px; }
}

/* Evaluation desk: independent scroll regions inside the desktop viewport. */
.v1118 {
  --desk-head:52px;
  --desk-rail:164px;
  --desk-base:#f1f3f5;
  --desk-blue:#185da8;
  --desk-blue-hover:#124b88;
  --desk-focus:#53a2f7;
  --desk-selected:#e8f2fc;
  --desk-amber:#ffb83d;
  --desk-amber-soft:#fff3db;
  --desk-amber-ink:#754702;
  --desk-title:600 20px/28px var(--font-family);
  --desk-body:400 14px/20px var(--font-family);
  --desk-label:600 14px/20px var(--font-family);
  --desk-note:400 12px/18px var(--font-family);
  --n18-line:#dce1e6;
  --n18-soft:#f6f7f9;
  --n18-ink:#393939;
  --n18-muted:#58616a;
  --n18-accent:var(--desk-blue);
  --color-canvas:var(--desk-base);
  --color-surface:var(--n18-soft);
  --color-control:#fff;
  --color-ink:var(--n18-ink);
  --color-secondary:var(--n18-muted);
  --color-muted:var(--n18-muted);
  --color-line:var(--n18-line);
  --color-control-border:#a7b3bf;
  --color-teal:var(--desk-blue);
  --color-teal-hover:var(--desk-blue-hover);
  --color-teal-soft:var(--desk-selected);
  --color-hover:#eef4f9;
  --color-focus:var(--desk-focus);
  --color-selection:#d8ebfe;
  --type-title:var(--desk-title);
  --type-heading:var(--desk-label);
  --type-body:var(--desk-body);
  --type-note:var(--desk-note);
}
.v1118.wb-home-page { --color-home-canvas:var(--desk-base); }
.v1118.wb-home-page .wb-header { background:#fff; border-bottom:1px solid var(--n18-line); }
.v1118.wb-home-page :focus-visible { outline-color:var(--desk-focus); }
.v1118.wb-home-page ::selection { background:var(--color-selection); color:#173d65; }
.v1118.wb-home-page .n18-tool-current { background:var(--desk-selected); }
.v1118.wb-home-page .n18-tool-reserved { background:#e9edf1; }
.v1118.wb-home-page .n18-tool-reserved svg { stroke:var(--n18-muted); }
.v1118.wb-home-page .n18-tool-reserved > span { display:flex; align-items:center; gap:6px; }
.v1118.wb-home-page .n18-tool-reserved > span::before {
  content:""; width:6px; height:6px; border-radius:50%; background:var(--desk-amber);
}
.v1118.wb-home-page .n18-tool-dots > button { background:#b6c1cc; }
.v1118.wb-home-page .n18-tool-dots > a { background:var(--desk-blue); }
.v1118.wb-home-page .n18-tool-intro .button { border-radius:6px; }
.v1118.wb-home-page .n18-tool-current > img { object-position:center; }
.v1118 .wb-header { background:#fff; border-bottom:1px solid var(--n18-line); }
.v1118 .wb-sidebar { background:#f7f8fa; }
.v1118 .wb-brand { gap:8px; padding-inline:16px; }
.v1118 .wb-brand svg { width:20px; height:20px; flex-basis:20px; }
.v1118 .wb-side-nav { gap:4px; }
.v1118 .wb-sidebar-title { display:flex; justify-content:flex-start; gap:8px; padding:0 8px; margin:0 0 16px; }
.v1118 .wb-tool-emblem { width:28px; height:28px; border-radius:6px; background:var(--desk-selected); }
.v1118 .wb-tool-emblem svg { width:16px; height:16px; color:var(--desk-blue); }
.v1118 :is(.wb-side-nav a,.wb-side-bottom a,.n18-assessment-modes button) {
  min-height:36px; padding:6px 8px; gap:8px; border-radius:6px; font:var(--desk-body) !important;
}
.v1118 :is(.wb-side-nav a.is-active,.n18-assessment-modes button[aria-pressed=true]) {
  border-color:transparent; color:var(--desk-blue); background:var(--desk-selected);
}
.v1118 .wb-side-bottom a.is-active { color:var(--desk-blue); background:var(--desk-selected); }
.v1118 .n18-assessment-modes button:hover { background:var(--color-hover); }
.v1118 :is(.button,input:not([type=checkbox],[type=radio]),select,textarea) { border-radius:6px; }
.v1118 .button { min-height:36px; font:var(--desk-body) !important; }
.v1118 .button-primary { min-height:40px; }
.v1118 :is(.wb-list-toolbar input,.wb-list-toolbar select,.wb-projects-pagination select) { font:var(--desk-body) !important; }
.v1118 .wb-project-folder { color:var(--desk-blue); background:var(--desk-selected); }
.v1118 .wb-badge:not(.ready,.pending) { color:var(--color-draft-ink); background:var(--color-draft-fill); }
.v1118 .wb-badge.pending { color:var(--desk-amber-ink); background:var(--desk-amber-soft); }
.v1118 .inspector-head { background:var(--n18-soft); }
.v1118 .n18-no-match { background:var(--n18-soft); }
.v1118 .n18-no-match svg { stroke:var(--n18-muted); }
.v1118 .wb-page-head h1 { font:var(--desk-title) !important; }
.v1118 :is(.wb-record-dialog,.wb-screenshot-dialog,#imageDialog) { border-radius:8px; }
.v1118 :is(.wb-record-dialog,.wb-screenshot-dialog,#imageDialog,.n18-materials-dialog)::backdrop {
  background:var(--color-scrim);
}
.v1118 :is(.wb-library-domain>button.is-active,.wb-archive-task.is-selected) {
  color:var(--desk-blue); background:var(--desk-selected);
}
.v1118 .n18-materials-dialog .button { border-radius:6px; }
.n18-management-tabs {
  display:flex; flex:none; gap:16px; padding:0 20px; border-bottom:1px solid var(--n18-line); background:#fff;
}
.n18-management-tabs button {
  padding:8px 0; min-height:40px; border:0; border-bottom:2px solid transparent;
  background:transparent; color:var(--n18-muted); font:var(--desk-body) !important; cursor:pointer;
}
.n18-management-tabs [aria-selected=true] { border-bottom-color:var(--desk-blue); color:var(--desk-blue); }
.v1118 #n18HistoryHost #projectsView { width:100%; max-width:none; margin:0; }
.v1118 #n18HistoryHost .wb-page-head { min-height:36px; margin-bottom:12px; }
.v1118 #n18HistoryHost .wb-page-head h1 { display:none; }
.v1118 #n18HistoryHost .wb-page-head p { display:none; }
.v1118 #n18HistoryHost .wb-projects-toolbar { flex-wrap:wrap; }
.v1118 #n18HistoryHost .wb-projects-toolbar .wb-search { flex:1 1 220px; }
.v1118 #n18HistoryHost .wb-project-row { min-height:72px; }
.v1118 #n18HistoryHost .wb-projects-title { gap:0; }
.v1118 #n18Materials[data-management-tab=current] { width:min(900px,calc(100% - 32px)); }
.v1118 #n18Materials #prepareView .wb-selection-tray {
  border:0; padding:0; margin:0;
}
.v1118 #n18Materials #selectedRecords { max-height:none; overflow:visible; }
.v1118 #n18Materials .wb-project-input input { max-width:none; }
.v1118 #n18Materials .wb-tray-actions .button { width:auto; min-width:104px; }
@media (max-width:699px) {
  .n18-management-tabs { padding-inline:12px; }
  .v1118 #n18Materials[data-management-tab=current] { width:calc(100% - 16px); }
  .v1118 #n18HistoryHost .wb-projects-toolbar .wb-search { flex-basis:100%; }
}
.wb-evaluation-desk :focus-visible { outline-color:var(--desk-focus); }
.wb-evaluation-desk ::selection { background:var(--color-selection); color:#173d65; }
.v1118.wb-evaluation-desk .wb-header {
  background:#fff; border-bottom:1px solid var(--n18-line); gap:20px;
}
.wb-evaluation-desk .wb-brand { width:auto; flex-basis:auto; padding-inline:16px; }
.wb-evaluation-desk .wb-brand svg { width:20px; height:20px; flex-basis:20px; }
.v1118.wb-evaluation-desk .wb-sidebar { background:#f7f8fa; }
.wb-evaluation-desk .wb-sidebar-title {
  display:flex; justify-content:flex-start; padding:0 8px; margin:0 0 16px; gap:8px;
}
.wb-evaluation-desk .wb-tool-emblem { width:28px; height:28px; border-radius:6px; background:var(--desk-selected); }
.wb-evaluation-desk .wb-tool-emblem svg { width:16px; height:16px; color:var(--desk-blue); }
.wb-evaluation-desk .wb-side-nav { gap:4px; }
.wb-evaluation-desk :is(.wb-side-nav a,.wb-side-bottom a,.n18-assessment-modes button) {
  min-height:36px; padding:6px 8px; gap:8px; border-radius:6px; font:var(--desk-body) !important;
}
.wb-evaluation-desk :is(.wb-side-nav a,.wb-side-bottom a,.n18-assessment-modes button) svg { width:16px; height:16px; flex:none; }
.wb-evaluation-desk :is(.wb-side-nav a.is-active,.n18-assessment-modes button[aria-pressed=true]) {
  border-color:transparent; background:var(--desk-selected); color:var(--desk-blue);
}
.wb-evaluation-desk .n18-assessment-modes button:hover { background:var(--color-hover); }
.wb-evaluation-desk .n18-assessment-modes h2 { font:var(--desk-note) !important; }
.wb-evaluation-desk :is(#resultView,.n18-materials-dialog,.wb-record-dialog) .button {
  border-radius:6px; gap:6px;
}
.wb-evaluation-desk :is(#resultView,.n18-materials-dialog) .button svg { width:16px; height:16px; flex:none; }
.wb-evaluation-desk :is(#resultView,.n18-materials-dialog) .button:not(:is(:disabled,.button-primary)) {
  border-color:var(--n18-line); color:var(--n18-ink);
}
.wb-evaluation-desk :is(#resultView,.n18-materials-dialog) .button:not(:is(:disabled,.button-primary)):hover {
  border-color:#b6c8dc; background:var(--color-hover); color:var(--desk-blue);
}
.wb-evaluation-desk :is(.n18-project-toolbar,.n18-materials-dialog) .button {
  min-height:36px; padding:6px 10px; font:var(--desk-body) !important;
}
.wb-evaluation-desk :is(#startAnalysis,.n18-materials-body .button-primary) {
  min-height:40px; padding-inline:12px; font:var(--desk-label) !important;
}
.wb-evaluation-desk :is(.n18-module-actions .button,.n18-module-actions summary,.result-actions .button,.n18-materials-head .button) {
  min-height:32px; height:32px; padding:6px 8px; font:var(--desk-note) !important;
}
.wb-evaluation-desk .n18-materials-head .button { width:32px; }
.wb-evaluation-desk .n18-materials-head { background:var(--n18-soft); }
.wb-evaluation-desk .n18-materials-dialog[open] { box-shadow:0 16px 48px rgb(30 43 57 / 16%); }
.wb-evaluation-desk .n18-project-controls { margin-bottom:12px; }
.wb-evaluation-desk #resultView .result-actions .wb-inline-actions { display:flex; }
.wb-evaluation-desk #resultView .result-actions .button { width:auto; min-width:102px; flex:none; }
.wb-evaluation-desk #resultSaveFeedback { font:var(--desk-note) !important; }
.wb-evaluation-desk .n18-project-toolbar { padding:8px 0; }
.wb-evaluation-desk .n18-project-summary { padding:4px 0 8px; }
.wb-evaluation-desk #n18ProjectCounts { font:600 12px/18px var(--font-family) !important; }
.wb-evaluation-desk #n18ProjectRequirement:not([hidden]) {
  display:inline-block; margin:0 0 0 8px; padding:2px 6px; border-radius:4px;
  box-shadow:inset 2px 0 var(--desk-amber); background:var(--desk-amber-soft);
  color:var(--desk-amber-ink); font:var(--desk-note) !important;
}
.wb-evaluation-desk .n18-project-previews { margin:4px 0 0; gap:4px 12px; }
.wb-evaluation-desk .n18-project-previews li { gap:6px; flex-basis:132px; }
.wb-evaluation-desk .n18-project-previews li .n18-project-thumb { width:21px; height:30px; }
.wb-evaluation-desk :is(.n18-project-previews strong,.n18-project-previews small,.n18-preview-overflow) {
  font:var(--desk-note) !important;
}
.wb-evaluation-desk .n18-project-previews strong { font-weight:600 !important; }
.wb-evaluation-desk .n18-awaiting-result,.wb-evaluation-desk .n18-workbench-empty {
  display:grid; place-content:center; justify-items:center; gap:12px; min-height:280px;
  border:1px solid var(--n18-line); border-radius:8px; background:#fff; color:var(--n18-muted);
}
.wb-evaluation-desk .n18-awaiting-result p,.wb-evaluation-desk .n18-workbench-empty p { margin:0; }
.wb-evaluation-desk :is(.n18-awaiting-result,.n18-workbench-empty) svg {
  width:28px; height:28px; fill:none; stroke:var(--desk-blue); stroke-width:1.5;
}
.wb-evaluation-desk.wb-result-page .n18-awaiting-result { display:none; }
.wb-evaluation-desk .n18-module-head { min-height:52px; padding:6px 12px; }
.wb-evaluation-desk .n18-module-head h2 { font:var(--desk-label) !important; margin:0; }
.wb-evaluation-desk #n18Scope { display:block; font:var(--desk-note) !important; }
.wb-evaluation-desk .n18-dimension { min-height:44px; padding:4px 12px; }
.wb-evaluation-desk .n18-dimension .segmented-control { border-radius:6px; background:#eef1f4; }
.wb-evaluation-desk .n18-dimension .segment { font:var(--desk-note) !important; }
.wb-evaluation-desk .n18-dimension .segment.is-selected { background:#fff; color:var(--desk-blue); }
.wb-evaluation-desk :is(.n18-dimension > span,.n18-step-title > span,.n18-step-title p,.n18-record-title > span,.n18-main-picker > span,.n18-candidate-copy > span,.n18-stage-nav p,.n18-stage-nav strong,.n18-stage-nav strong span,.n18-stage-labels > span,.n18-stage-labels button,.n18-heat-row > strong,.n18-heat,.n18-metric > span:first-child,.n18-metric small,.n18-raw,.n18-raw summary,.n18-raw p,.n18-inspect-link,.n18-change) {
  font:var(--desk-note) !important;
}
.wb-evaluation-desk .n18-record-title h3,.wb-evaluation-desk .n18-main-picker select {
  font:var(--desk-label) !important;
}
.wb-evaluation-desk .n18-secondary { background:#fafbfc; }
.wb-evaluation-desk .n18-image-button img { border-radius:6px; }
.wb-evaluation-desk .n18-design .n18-metrics .n18-metric { background:transparent; }
.wb-evaluation-desk .n18-metric .burden-stars { color:#7b838b; }
.wb-evaluation-desk :is(.n18-change,.n18-inspect-link,.n18-reanalyze) { color:var(--desk-blue); }
.wb-evaluation-desk .n18-icon-button { border-radius:6px; }
.wb-evaluation-desk .n18-icon-button:hover:not(:disabled) { background:var(--desk-selected); color:var(--desk-blue); }
.wb-evaluation-desk .n18-alignment { background:var(--desk-selected); }
.wb-evaluation-desk .n18-alignment label { color:#1b4b7b; }
.wb-evaluation-desk .n18-candidate:hover,.wb-evaluation-desk .n18-candidate.is-current {
  border-color:var(--desk-focus); background:#f4f8fe;
}
.wb-evaluation-desk .n18-stage-footer { background:#f3f5f7; padding:4px 12px 6px; border-radius:0 0 8px 8px; }
.wb-evaluation-desk .n18-stage-nav button { width:32px; height:32px; }
.wb-evaluation-desk .n18-stage-labels button.is-active {
  background:var(--desk-selected); border-radius:4px; color:var(--desk-blue); font-weight:600 !important;
}
.wb-evaluation-desk .n18-heat.is-active { border-color:var(--desk-blue); }
.v1118.wb-evaluation-desk #resultArea .n18-result-layout > #inspector {
  border:1px solid var(--n18-line); padding:0 12px 12px; background:#fafbfc;
}
.wb-evaluation-desk #inspector .detail-tabs {
  position:sticky; top:0; z-index:2; background:#fafbfc; margin:0 0 8px; padding-top:4px;
}
.wb-evaluation-desk #inspector .detail-tabs button {
  min-height:36px; padding-inline:4px; font:var(--desk-note) !important; background:#f0f2f5;
}
.wb-evaluation-desk #inspector .detail-tabs button span { font:var(--desk-note) !important; white-space:nowrap; }
.wb-evaluation-desk #inspector .detail-tabs [aria-selected=true] {
  color:var(--desk-blue); background:var(--desk-selected); border-bottom-color:var(--desk-blue);
}

@media (min-width:1140px) and (min-height:700px) {
  .v1118 .wb-header { height:var(--desk-head); padding:0 16px 0 0; gap:20px; }
  .v1118 :is(.wb-brand,.wb-tools) { height:var(--desk-head); }
  .v1118 .wb-brand { width:var(--desk-rail); flex-basis:var(--desk-rail); }
  .v1118 .wb-layout { grid-template-columns:var(--desk-rail) minmax(0,1fr); min-height:calc(100dvh - var(--desk-head)); }
  .v1118 .wb-sidebar { top:var(--desk-head); height:calc(100dvh - var(--desk-head)); padding:16px 10px; }
  .v1118 .wb-main { padding:12px 16px; }
  .v1118.wb-evaluation-desk { display:flex; flex-direction:column; height:100dvh; }
  .v1118.wb-evaluation-desk .wb-header {
    flex:none; height:var(--desk-head); padding:0 16px 0 0;
  }
  .wb-evaluation-desk :is(.wb-brand,.wb-tools) { height:100%; }
  .wb-evaluation-desk .wb-brand { width:var(--desk-rail); flex-basis:var(--desk-rail); }
  .v1118.wb-evaluation-desk .wb-layout {
    flex:1; min-height:0; grid-template-columns:var(--desk-rail) minmax(0,1fr);
  }
  .v1118.wb-evaluation-desk .wb-sidebar {
    position:static; min-height:0; height:auto; overflow:auto; padding:16px 10px;
  }
  .v1118.wb-evaluation-desk .wb-main {
    display:flex; flex-direction:column; min-height:0; overflow:auto; padding:12px 16px;
  }
  .v1118.wb-evaluation-desk :is(#newView,#resultView) {
    display:flex; flex:1 1 0; flex-direction:column; width:100%; height:auto; min-height:0; max-width:none;
  }
  .wb-evaluation-desk #workspaceStatus:not([hidden]) {
    flex:none; padding:4px 8px; margin:0 0 8px; font:var(--desk-note) !important;
  }
  .v1118.wb-evaluation-desk #resultView .result-page-head {
    gap:12px; align-items:center; min-height:36px; margin:0 0 4px; flex:none;
  }
  .wb-evaluation-desk .result-title-row { min-width:0; flex-wrap:wrap; }
  .wb-evaluation-desk .result-title-row #resultTitle { font:var(--desk-title) !important; overflow-wrap:anywhere; }
  .wb-evaluation-desk .result-page-head .result-actions { display:flex; align-items:center; gap:8px; }
  .wb-evaluation-desk .result-actions #resultSaveFeedback { margin:0; order:-1; }
  .wb-evaluation-desk #n18ProjectSummary {
    display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:4px 12px;
  }
  .wb-evaluation-desk #n18ProjectRequirement:not([hidden]) { grid-row:2; grid-column:1/-1; justify-self:start; margin:0; }
  .wb-evaluation-desk .n18-project-previews { flex-wrap:nowrap; margin:0; min-width:0; }
  .wb-evaluation-desk .n18-preview-overflow { white-space:nowrap; }
  .wb-evaluation-desk :is(.n18-workbench-empty,.n18-awaiting-result) { flex:1; min-height:0; }
  .v1118.wb-evaluation-desk #resultArea { display:flex; flex:1; min-height:0; }
  .wb-evaluation-desk .n18-result-layout {
    flex:1; min-height:0; align-items:stretch; gap:12px;
    grid-template-columns:minmax(0,1fr) clamp(248px,19vw,280px);
    grid-template-rows:minmax(0,1fr);
  }
  .wb-evaluation-desk .n18-comparison { display:flex; flex-direction:column; min-height:0; }
  .wb-evaluation-desk .n18-comparison > :not(.n18-pair,#matrix,#flow) { flex:none; }
  .wb-evaluation-desk .n18-module-head { flex-wrap:nowrap; }
  .wb-evaluation-desk .n18-pair { flex:1; min-height:0; grid-template-rows:minmax(0,1fr); }
  .wb-evaluation-desk .n18-design { padding:8px 12px; min-height:0; overflow:auto; }
  .v1118.wb-evaluation-desk :is(.n18-design-head,.n18-candidate-head) { flex:none; height:44px; min-height:44px; margin-bottom:0; }
  .v1118.wb-evaluation-desk .n18-step-title { flex:none; height:54px; min-height:54px; padding:0; }
  .wb-evaluation-desk .n18-evidence-layout {
    flex:1 0 158px; width:min(100%,350px); min-height:0; align-self:center;
    grid-template-columns:minmax(0,1fr) minmax(100px,138px);
    grid-template-rows:minmax(0,1fr); gap:16px; padding:0; align-items:stretch;
  }
  .wb-evaluation-desk .n18-screen { height:100%; min-height:0; align-items:stretch; }
  .wb-evaluation-desk .n18-image-button { align-items:center; }
  .wb-evaluation-desk .n18-image-button img {
    width:auto; height:auto; max-width:100%; max-height:100%; align-self:flex-start;
  }
  .v1118.wb-evaluation-desk .n18-metrics { gap:4px; min-height:0; overflow:auto; }
  .v1118.wb-evaluation-desk .n18-metric {
    display:grid; grid-template-columns:1fr auto; gap:0 4px; padding:0 0 4px;
  }
  .v1118.wb-evaluation-desk .n18-metric .burden-stars { grid-row:2; grid-column:1/-1; }
  .v1118.wb-evaluation-desk .n18-metric > small { grid-row:1; grid-column:2; }
  .v1118.wb-evaluation-desk .n18-metric > span:first-child,.v1118.wb-evaluation-desk .n18-metric small { margin:0; }
  .wb-evaluation-desk .n18-metric .burden-stars svg { width:14px; height:14px; }
  .wb-evaluation-desk .n18-no-match { min-height:0; }
  .wb-evaluation-desk .n18-candidates { height:auto; min-height:0; flex:1; margin-top:8px; gap:8px; }
  .wb-evaluation-desk .n18-candidate { padding:8px; gap:6px; }
  .wb-evaluation-desk .n18-thumbnail { height:clamp(76px,calc(30dvh - 150px),146px); background:var(--n18-soft); border-radius:4px; }
  .v1118.wb-evaluation-desk #resultArea .n18-comparison :is(#matrix,#flow) { display:flex; flex:1; min-height:0; padding:8px 12px; }
  .v1118.wb-evaluation-desk #resultArea .n18-comparison :is(.comparison-layout,.flow-comparison-layout) {
    display:flex; flex-direction:column; flex:1; min-height:0;
  }
  .v1118.wb-evaluation-desk #resultArea #matrix .matrix-wrap { flex:1; min-height:0; height:auto; max-height:none; }
  .v1118.wb-evaluation-desk #resultArea .n18-result-layout > #inspector {
    position:static; min-height:0; max-height:none; overflow:auto; scrollbar-gutter:stable;
  }
}
@media (max-width:699px) {
  .wb-evaluation-desk .wb-brand { padding-inline:0; }
  .wb-evaluation-desk .n18-project-previews li { flex-basis:calc(50% - 8px); }
  .wb-evaluation-desk #n18ProjectRequirement:not([hidden]) { display:block; margin:4px 0; }
  .wb-evaluation-desk .n18-awaiting-result { min-height:200px; }
}
@media (prefers-reduced-motion:reduce) {
  .v1118 * { scroll-behavior:auto !important; animation:none !important; transition:none !important; }
}

/* Continuous workbench: materials above, evidence as the primary window. */
.v1118 {
  --window-shadow:0 3px 14px rgb(30 43 57 / 6%);
  --modal-shadow:0 24px 72px rgb(30 43 57 / 22%);
  --workbench-ease:cubic-bezier(.16,1,.3,1);
}
.wb-evaluation-desk .n18-project-controls {
  flex:none; margin:8px 0 16px; border:0; border-bottom:1px solid var(--n18-line); padding:0 0 8px;
}
.n18-materials-heading,.n18-materials-heading > div { display:flex; gap:8px; align-items:center; min-width:0; }
.n18-materials-heading { justify-content:space-between; min-height:32px; }
.n18-materials-heading svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.6; flex:none; }
.wb-evaluation-desk .n18-materials-heading h2 { margin:0; white-space:nowrap; font:var(--desk-label) !important; }
.wb-evaluation-desk #n18ProjectCounts { color:var(--n18-muted); font:var(--desk-note) !important; }
.wb-evaluation-desk .n18-project-toolbar { padding:4px 0; }
.wb-evaluation-desk #n18ProjectSummary { display:block; padding:0; }
.n18-materials-preview { display:grid; grid-template-rows:1fr; opacity:1; transition:grid-template-rows 240ms var(--workbench-ease),opacity 180ms ease-out; }
.n18-materials-preview > div { min-height:0; overflow:hidden; }
.is-materials-collapsed .n18-materials-preview { grid-template-rows:0fr; opacity:0; }
.wb-evaluation-desk #n18ProjectRequirement:not([hidden]) { margin:4px 0; }
.wb-evaluation-desk .n18-project-previews { display:flex; gap:16px; margin:8px 0; flex-wrap:nowrap; overflow:auto; }
.wb-evaluation-desk .n18-project-previews li {
  flex:1 0 138px; gap:10px; padding:4px 0; border:0; background:transparent; align-items:center;
}
.wb-evaluation-desk .n18-project-previews li .n18-project-thumb { width:32px; height:52px; background:transparent; border-radius:4px; }
.wb-evaluation-desk .n18-project-previews li.is-spare { opacity:.7; }
.wb-evaluation-desk .n18-project-previews .n18-preview-overflow { flex:0 0 auto; }
.wb-evaluation-desk .n18-project-empty { margin:8px 0; padding:4px 0; }
.wb-evaluation-desk :is(.n18-comparison,#inspector) { border:0; box-shadow:var(--window-shadow); }
.wb-evaluation-desk .n18-module-head { min-height:56px; padding:8px 16px; border:0; }
.wb-evaluation-desk .n18-module-actions { flex-wrap:nowrap; }
.wb-evaluation-desk .n18-module-actions .button { white-space:nowrap; }
.wb-evaluation-desk #n18Scope { margin-top:2px; }
.wb-evaluation-desk .n18-dimension { border:0; padding:0 16px 8px; min-height:38px; gap:8px; }
.wb-evaluation-desk .n18-dimension .segment { padding-inline:8px; }
.wb-evaluation-desk .n18-dimension > span { font:var(--desk-note) !important; }
.wb-evaluation-desk .n18-scale-swatch { width:40px; flex:none; }
.n18-difference-bar {
  display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 16px;
  padding:10px 12px; background:var(--color-teal-soft); border-radius:6px; color:var(--n18-ink);
}
.n18-difference-bar > div { min-width:0; }
.wb-evaluation-desk .n18-difference-bar strong {
  display:block; font:var(--desk-label) !important; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.wb-evaluation-desk .n18-difference-bar p { margin:2px 0 0; font:var(--desk-note) !important; color:var(--n18-muted); }
.n18-difference-bar button { flex:none; min-height:32px; }
.wb-evaluation-desk .n18-pair { min-height:0; gap:0; }
.wb-evaluation-desk .n18-design { padding:12px 16px; gap:0; overflow:auto; }
.wb-evaluation-desk .n18-secondary { background:transparent; border-left:1px solid var(--n18-line); }
.wb-evaluation-desk .n18-design-head { min-height:44px; height:44px; }
.v1118.wb-evaluation-desk .n18-step-title { display:flex; align-items:center; gap:8px; min-height:28px; height:28px; }
.wb-evaluation-desk .n18-step-title > span { white-space:nowrap; }
.wb-evaluation-desk .n18-step-title p { -webkit-line-clamp:1; margin:0; min-width:0; }
.wb-evaluation-desk .n18-evidence-layout {
  display:grid; width:100%; min-height:0; flex:1 0 220px; grid-template-columns:minmax(0,1fr);
  grid-template-rows:minmax(140px,1fr) auto; gap:12px; padding:8px 0 0; align-items:stretch;
}
.wb-evaluation-desk .n18-screen { min-height:140px; height:100%; align-items:stretch; }
.wb-evaluation-desk .n18-image-button { width:100%; height:100%; align-items:center; }
.wb-evaluation-desk .n18-image-button img {
  height:auto; width:auto; max-height:100%; max-width:100%; align-self:center; border-radius:8px; object-position:center;
}
.v1118.wb-evaluation-desk .n18-metrics { display:block; min-height:0; overflow:visible; }
.n18-score-overview { display:flex; gap:12px; justify-content:space-between; align-items:center; }
.v1118.wb-evaluation-desk .n18-metric {
  display:grid; grid-template-columns:auto auto; gap:2px 8px; border:0; padding:0; align-items:center;
}
.v1118.wb-evaluation-desk .n18-metric > span:first-child { grid-row:1; grid-column:1; margin:0; }
.v1118.wb-evaluation-desk .n18-metric .burden-stars { grid-row:2; grid-column:1/-1; }
.v1118.wb-evaluation-desk .n18-metric > small {
  grid-row:1; grid-column:2; padding:1px 6px; border-radius:4px; margin:0; background:var(--n18-soft);
}
.wb-evaluation-desk .n18-score-overview .n18-inspect-link { min-height:32px; white-space:nowrap; }
.wb-evaluation-desk .n18-metric.severity-minimal > small { background:#f0f6f2; color:#286247; }
.wb-evaluation-desk .n18-metric.severity-low > small { background:#e0f1e7; color:#286247; }
.wb-evaluation-desk .n18-metric.severity-mid > small { background:#f8f0dc; color:#754702; }
.wb-evaluation-desk .n18-metric.severity-high > small { background:#f8e4c1; color:#754702; }
.wb-evaluation-desk .n18-metric.severity-critical > small { background:#f5d8d4; color:#91352e; }
.n18-score-details { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:12px; padding-top:12px; border-top:1px solid var(--n18-line); }
.n18-score-details .n18-raw { grid-column:1/-1; }
.n18-score-details .n18-raw > span { display:block; margin-bottom:4px; }
.n18-score-details .n18-raw dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:0; }
.n18-score-details .n18-raw dt { font-weight:400; }
.n18-score-details .n18-raw dd { margin:2px 0 0; color:var(--n18-ink); font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.wb-evaluation-desk .n18-candidates { gap:12px; }
.wb-evaluation-desk .n18-candidate { padding:10px; border-radius:8px; }
.wb-evaluation-desk .n18-thumbnail { background:transparent; }
.wb-evaluation-desk .n18-thumbnail img { border-radius:6px; }
.wb-evaluation-desk .n18-no-match { background:transparent; }
.wb-evaluation-desk .n18-stage-footer { background:#f8f9fb; padding:8px 16px; }
.wb-evaluation-desk .n18-stage-nav { margin-bottom:4px; }
.wb-evaluation-desk [data-view=screenshots] .n18-dimension { display:none; }
.n18-heat-metric { display:flex; align-items:center; gap:6px; font-size:12px; white-space:nowrap; color:var(--n18-muted); }
.wb-evaluation-desk .n18-heat-metric select { width:106px; height:28px; min-height:28px; font:var(--desk-note) !important; padding:3px 30px 3px 8px; background-color:#fff; }
.wb-evaluation-desk .n18-stage-labels button { height:22px; }
.wb-evaluation-desk .n18-heat { height:20px; }
.wb-evaluation-desk .n18-heat-row,.wb-evaluation-desk .n18-stage-labels { margin-bottom:2px; }
.n18-inspector-heading { display:flex; align-items:center; justify-content:space-between; min-height:44px; gap:8px; }
.wb-evaluation-desk .n18-inspector-heading strong { font:var(--desk-label) !important; }
.v1118.wb-evaluation-desk #resultArea .n18-result-layout > #inspector {
  background:#fff; border:0; padding:0 16px 16px;
}
.v1118.wb-evaluation-desk #inspector .detail-tabs { top:44px; background:#fff; padding-block:4px 8px; margin:0 0 8px; }
.wb-evaluation-desk .n18-inspector-heading { position:sticky; top:0; z-index:3; background:#fff; }
.wb-evaluation-desk #inspector .detail-tabs button { background:transparent; }
.wb-evaluation-desk #inspector .detail-tabs [aria-selected=true] { background:var(--color-teal-soft); }
.v1118.wb-evaluation-desk #inspector .issue-card { padding:16px 0; }
.wb-evaluation-desk #inspector .issue-card h3 { margin:8px 0; font:var(--desk-label) !important; }
.wb-evaluation-desk #inspector .issue-summary { margin:8px 0; line-height:1.6; }
.wb-evaluation-desk #inspector .issue-location { margin:0; line-height:1.5; }
.wb-evaluation-desk #inspector .issue-evidence { margin:8px 0 0; padding-top:8px; }
.issue-evidence > summary { cursor:pointer; color:var(--n18-muted); font-size:12px; line-height:20px; }
.n18-inspector-rail {
  display:flex; flex-direction:column; align-items:center; gap:16px; padding:12px 0; width:40px; min-height:180px;
  border:0; border-radius:8px; background:#fff; color:var(--n18-muted); cursor:pointer; box-shadow:var(--window-shadow);
}
.n18-inspector-rail svg { width:16px; height:16px; stroke:currentColor; fill:none; }
.n18-inspector-rail span { writing-mode:vertical-rl; font-size:12px; }
.n18-inspector-rail strong { font-size:12px; color:var(--n18-accent); }
.n18-inspector-rail:hover { color:var(--n18-accent); background:var(--color-teal-soft); }
.v1118 .n18-result-layout > [hidden] { display:none !important; }
.wb-evaluation-desk .n18-result-layout.is-inspector-collapsed { grid-template-columns:minmax(0,1fr) 40px; }
.v1118 :is(.n18-materials-dialog,.wb-record-dialog,.wb-screenshot-dialog,#imageDialog) {
  border:0; border-radius:8px; box-shadow:var(--modal-shadow);
}
.v1118 :is(.n18-materials-dialog,.wb-record-dialog,.wb-screenshot-dialog,#imageDialog)::backdrop { background:rgb(40 51 72 / 42%); }
.v1118 .n18-materials-head { min-height:64px; padding:16px 24px; background:#fff; border-bottom:1px solid var(--n18-line); }
.v1118 .n18-materials-body { padding:20px 24px 24px; }
.v1118 .n18-management-tabs { padding-inline:24px; background:#fff; }
.v1118 .n18-materials-dialog :is(.wb-record-row,.wb-folder-nav):hover { background:var(--color-hover); }
.v1118 .n18-materials-dialog .n18-add-selection { padding-top:16px; }
.v1118 #n18MaterialsTitle:focus { outline:none; }
@media (min-width:1140px) and (min-height:700px) {
  .wb-evaluation-desk .is-materials-collapsed.n18-project-controls {
    display:grid; grid-template-columns:minmax(0,1fr) auto; gap:0 16px; align-items:center; margin-top:4px;
  }
  .wb-evaluation-desk .is-materials-collapsed .n18-materials-heading { gap:12px; }
  .wb-evaluation-desk .is-materials-collapsed .n18-materials-heading > div { flex-wrap:wrap; gap:2px 8px; }
  .wb-evaluation-desk .is-materials-collapsed .n18-materials-heading > button { flex:none; }
  .wb-evaluation-desk .is-materials-collapsed #n18ProjectSummary { grid-column:1/-1; }
  .wb-evaluation-desk .is-materials-collapsed #n18ProjectRequirement:not([hidden]) { margin-block:2px; }
  .wb-evaluation-desk .n18-result-layout { grid-template-columns:minmax(0,1fr) clamp(272px,21vw,304px); gap:16px; }
  .wb-evaluation-desk .n18-design { padding:8px 16px 12px; }
  .wb-evaluation-desk .n18-evidence-layout { flex:1 1 0; grid-template-rows:minmax(100px,1fr) auto; }
  .wb-evaluation-desk .n18-screen { min-height:100px; }
  .wb-evaluation-desk [data-scores-expanded=true] .n18-evidence-layout { flex:1 0 260px; }
  .wb-evaluation-desk .n18-result-layout.is-inspector-collapsed { grid-template-columns:minmax(0,1fr) 40px; }
}
@media (min-width:1140px) and (min-height:700px) and (max-height:850px) {
  .wb-evaluation-desk .n18-module-head { min-height:46px; padding-block:4px; }
  .wb-evaluation-desk .n18-difference-bar { min-height:40px; padding-block:8px; }
  .n18-difference-bar > div { display:flex; gap:12px; align-items:center; flex:1; }
  .wb-evaluation-desk .n18-difference-bar strong { flex:0 1 160px; }
  .wb-evaluation-desk .n18-difference-bar p { flex:1; margin:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .v1118.wb-evaluation-desk .n18-design-head { min-height:32px; height:32px; }
  .wb-evaluation-desk :is(.n18-main-picker,.n18-record-title) { display:flex; gap:8px; align-items:center; }
  .wb-evaluation-desk :is(.n18-main-picker > span,.n18-record-title > span) { white-space:nowrap; margin:0; }
  .v1118.wb-evaluation-desk .n18-main-picker select { height:28px; min-height:28px; }
  .wb-evaluation-desk .n18-record-title h3 { min-width:0; }
  .v1118.wb-evaluation-desk .n18-step-title { min-height:20px; height:20px; }
  .v1118.wb-evaluation-desk .n18-score-overview .n18-metric { grid-template-columns:auto auto auto; }
  .v1118.wb-evaluation-desk .n18-score-overview .burden-stars { grid-row:1; grid-column:2; }
  .v1118.wb-evaluation-desk .n18-score-overview .n18-metric > small { grid-row:1; grid-column:3; }
  .wb-evaluation-desk .n18-stage-footer { padding-block:6px; }
  .wb-evaluation-desk .n18-stage-nav button { width:28px; height:28px; }
  .wb-evaluation-desk .n18-evidence-layout { grid-template-rows:minmax(220px,1fr) auto; }
  .wb-evaluation-desk [data-scores-expanded=true] .n18-evidence-layout { flex:1 0 400px; }
  .v1118.wb-evaluation-desk #inspector .evidence-image img { max-height:180px; }
}
@media (max-width:1139px), (max-height:699px) {
  .wb-evaluation-desk .n18-result-layout { grid-template-columns:minmax(0,1fr) 260px; gap:16px; }
  .wb-evaluation-desk .n18-screen { height:320px; }
  .wb-evaluation-desk .n18-evidence-layout { flex:none; grid-template-rows:320px auto; }
  .wb-evaluation-desk .n18-module-head { flex-wrap:wrap; }
  .wb-evaluation-desk .n18-design-head { min-height:60px; height:auto; }
}
@media (max-width:979px) {
  .wb-evaluation-desk .n18-result-layout { grid-template-columns:minmax(0,1fr); }
  .wb-evaluation-desk .n18-result-layout.is-inspector-collapsed { grid-template-columns:minmax(0,1fr); }
  .n18-inspector-rail { flex-direction:row; width:100%; min-height:40px; justify-content:center; }
  .n18-inspector-rail span { writing-mode:horizontal-tb; }
}
@media (max-width:699px) {
  .n18-materials-heading > div { flex-wrap:wrap; gap:4px 8px; }
  .n18-materials-heading #n18ProjectCounts { flex-basis:100%; }
  .n18-materials-heading > button { flex:none; }
  .wb-evaluation-desk .n18-project-toolbar { gap:8px; margin-top:4px; }
  .wb-evaluation-desk .n18-stage-nav { flex-wrap:wrap; gap:6px; }
  .wb-evaluation-desk .n18-stage-nav p { flex-basis:calc(100% - 150px); }
  .n18-heat-metric { margin-left:auto; }
  .wb-evaluation-desk .n18-project-previews { gap:12px; }
  .wb-evaluation-desk .n18-module-actions { flex-wrap:wrap; }
  .wb-evaluation-desk .n18-module-head,.wb-evaluation-desk .n18-design { padding-inline:12px; }
  .wb-evaluation-desk .n18-dimension { padding-inline:12px; }
  .n18-difference-bar { margin:0 12px; padding:10px; align-items:flex-start; }
  .wb-evaluation-desk .n18-difference-bar strong { white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
  .wb-evaluation-desk .n18-score-overview { flex-direction:column; gap:4px; align-items:flex-start; }
  .n18-score-details { grid-template-columns:1fr; }
  .wb-evaluation-desk .n18-screen { height:240px; }
  .wb-evaluation-desk .n18-evidence-layout { grid-template-rows:240px auto; gap:8px; }
  .v1118 .n18-materials-head { min-height:56px; padding:12px 16px; }
  .v1118 .n18-materials-body { padding:16px; }
  .v1118 .n18-management-tabs { padding-inline:16px; }
}
@media (prefers-reduced-motion:reduce) {
  .v1118 .n18-materials-preview { transition:none; }
}

/* Material readiness and analysis share one stable action group. */
.wb-evaluation-desk .n18-project-controls,
.wb-evaluation-desk .is-materials-collapsed.n18-project-controls {
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 16px; align-items:center;
}
.wb-evaluation-desk .n18-materials-heading { display:contents; }
.wb-evaluation-desk .n18-materials-title { grid-column:1; grid-row:1; }
.wb-evaluation-desk .n18-materials-heading > .n18-material-controls {
  display:grid; grid-column:2; grid-row:1 / 3; gap:4px; justify-items:end; align-content:center;
}
.n18-material-actions { display:flex; align-items:center; gap:8px; }
.wb-evaluation-desk .n18-material-actions .button {
  min-height:36px; height:36px; padding:6px 12px; font:var(--desk-label) !important; white-space:nowrap;
}
.wb-evaluation-desk .n18-material-actions #startAnalysis { min-width:160px; min-height:36px; height:36px; }
.wb-evaluation-desk #n18ProjectCounts { font-weight:400 !important; }
.wb-evaluation-desk #n18ProjectRequirement:not([hidden]),
.wb-evaluation-desk .is-materials-collapsed #n18ProjectRequirement:not([hidden]) {
  grid-column:auto; grid-row:auto; justify-self:end; max-width:420px; margin:0;
  color:var(--color-secondary); font:var(--desk-note) !important; text-align:right; white-space:normal;
}
.wb-evaluation-desk .n18-project-toolbar { grid-column:1; grid-row:2; justify-content:flex-start; gap:8px 16px; }
.wb-evaluation-desk .n18-main-design-field {
  display:flex; align-items:center; gap:8px; min-width:0; margin:0;
}
.wb-evaluation-desk .n18-main-design-field > span { white-space:nowrap; font:var(--desk-note) !important; }
.wb-evaluation-desk #n18MainDesign {
  width:220px; max-width:100%; min-width:0; min-height:36px; height:36px; padding:6px 32px 6px 10px;
  font:var(--desk-note) !important; text-overflow:ellipsis;
}
.wb-evaluation-desk #n18ProjectSummary { grid-column:1/-1; grid-row:3; }
.n18-add-explanation { display:grid; gap:4px; min-width:0; margin-right:auto; }
.n18-add-explanation small { color:var(--n18-muted); font-size:12px; line-height:18px; }
.v1118 #n18UploadHost .wb-design-actions { background:#fff; }
.v1118 #n18UploadHost .wb-form-footer { background:transparent; }
.v1118 #n18UploadHost #saveSetupDraft:not(:disabled) {
  background:#fff; color:var(--desk-blue); border-color:var(--color-accent-border);
}
.v1118 #n18UploadHost #saveSetupDraft:not(:disabled):hover { background:var(--desk-selected); }
.v1118 #n18UploadHost .button-primary[disabled][aria-busy=true] {
  background:var(--desk-selected); border-color:var(--color-accent-border); color:var(--desk-blue);
}
.wb-evaluation-desk:not(.wb-result-page) #n18ProjectSummary { min-width:0; }
.wb-evaluation-desk:not(.wb-result-page) .n18-project-previews {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:16px; margin-top:16px;
  padding:16px; background:#fff; border-radius:8px;
}
.wb-evaluation-desk:not(.wb-result-page) .n18-project-previews li { flex-direction:column; gap:12px; align-items:flex-start; }
.wb-evaluation-desk:not(.wb-result-page) .n18-project-previews li .n18-project-thumb {
  width:100%; height:180px; justify-content:center; background:transparent;
}
.wb-evaluation-desk:not(.wb-result-page) .n18-project-previews .n18-project-thumb img {
  width:auto; height:auto; max-width:100%; max-height:180px; border-radius:8px;
}
.wb-evaluation-desk:not(.wb-result-page) .n18-project-previews li > span:last-child { width:100%; }
@media (min-width:1140px) and (min-height:700px) {
  .wb-evaluation-desk:not(.wb-result-page) #n18ProjectSummary { max-height:calc(100dvh - 290px); overflow:auto; }
}
@media (max-width:1139px) {
  .wb-evaluation-desk .n18-project-controls,
  .wb-evaluation-desk .is-materials-collapsed.n18-project-controls { grid-template-columns:minmax(0,1fr); }
  .wb-evaluation-desk .n18-materials-heading > .n18-material-controls { grid-column:1; grid-row:3; justify-items:start; }
  .wb-evaluation-desk #n18ProjectSummary { grid-row:4; }
  .wb-evaluation-desk #n18ProjectRequirement:not([hidden]) { text-align:left; justify-self:start; }
}
@media (max-width:699px) {
  .wb-evaluation-desk .n18-project-toolbar { display:flex; }
  .wb-evaluation-desk .n18-project-tools { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; }
  .wb-evaluation-desk .n18-project-tools .button { white-space:nowrap; }
  .wb-evaluation-desk .n18-main-design-field { width:100%; }
  .wb-evaluation-desk #n18MainDesign { width:100%; flex:1; }
  .wb-evaluation-desk .n18-materials-heading #n18ProjectCounts { flex-basis:auto; }
  .n18-add-selection { flex-wrap:wrap; }
  .n18-add-explanation { width:100%; }
  .wb-evaluation-desk:not(.wb-result-page) .n18-project-previews { grid-template-columns:repeat(2,minmax(0,1fr)); padding:12px; gap:12px; }
}
