body[data-workbench=true]{--accent:#165e65;--light:#e7eeee}
body[data-site=lenscheck]{--accent:#625732;--light:#eeeadd}
body[data-site=scancoverage]{--accent:#3b5d47;--light:#e6ede4}
[hidden]{display:none!important}
.evidence-hero{border:1px solid #c7d7ce;border-radius:22px;padding:25px;background:linear-gradient(135deg,#e3ede6,#f4efe1);min-height:325px;position:relative;overflow:hidden}
.evidence-hero>div:first-child{display:flex;justify-content:space-between;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#526b61}
.evidence-art-stage{padding:32px 4px 25px;display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start;min-height:200px}
.evidence-art-card{background:#fffefb;border:1px solid #b9cbbf;border-radius:11px;box-shadow:0 12px 32px #143f3610;padding:18px 14px;transform:rotate(-3deg)}
.evidence-art-card:nth-child(2){transform:rotate(3deg);margin-top:18px;background:#15383d;color:#f4f3e7;border-color:#15383d}
.evidence-art-card b{display:block;font-size:13px;margin-bottom:11px}
.evidence-art-card span{display:block;border-top:1px solid #b5c8bf80;font-size:11px;padding-top:6px;margin-top:5px;line-height:1.7}
.evidence-art-card .highlight{color:#f6d38b}
.evidence-art-note{font-size:11px;border-top:1px solid #b9cbbf;padding-top:14px;color:#456056}
.evidence-art-lens{width:70px;height:70px;border:10px solid #d0c39e;outline:1px solid #b3a980;border-radius:50%;background:radial-gradient(circle at 40% 35%,#82959c,#122c36 65%);margin:8px auto 18px}
body[data-workbench=true] .tool-layout{grid-template-columns:minmax(310px,.82fr) minmax(0,1.3fr);gap:23px}
body[data-workbench=true] .input-panel{position:sticky;top:100px;max-height:calc(100vh - 125px);overflow:auto;scrollbar-width:thin}
body[data-workbench=true] .result-panel{min-width:0}
body[data-workbench=true] .field input[type=file]{border:1px dashed #86a49b;padding:16px 11px;background:#f1f5ef;cursor:pointer;max-width:100%}
body[data-workbench=true] .field input[type=file]::file-selector-button{border:0;border-radius:5px;padding:8px 10px;background:#dce8dc;color:#183e33;font-weight:700;cursor:pointer;margin-right:9px}
.file-selection{font-size:11px;color:var(--accent);margin:7px 0 0}
body[data-workbench=true] .status-line{padding:12px 13px;background:#f0f4ed;border:1px solid var(--line);border-radius:7px}
form[aria-busy=true] .status-line{border-left:4px solid var(--accent)}
button:disabled{opacity:.6;cursor:wait}
.report-table-section{margin:24px 0}
.report-table-section h4{font-size:14px;margin:0 0 10px}
.report-table-scroll{overflow:auto;max-height:420px;border:1px solid var(--line);border-radius:8px;background:#fff}
.report-table-scroll table{width:100%;border-collapse:collapse;text-align:left;font-size:11px;line-height:1.5}
.report-table-scroll th,.report-table-scroll td{padding:11px 12px;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere;max-width:330px;min-width:85px}
.report-table-scroll th{position:sticky;top:0;background:#e8eee4;color:var(--ink);font-weight:750;z-index:1}
.report-table-scroll tbody tr:last-child td{border-bottom:0}
.report-table-scroll tbody tr:nth-child(2n){background:#f7f9f4}
.report-table-section>.help{font-size:11px;color:var(--muted);margin:8px 0}
.report-table-section>button{font-size:12px;padding:8px 12px}
.report-extras{margin:22px 0}
.lens-workbench{border:1px solid var(--line);border-radius:10px;padding:17px;background:#f6f6ee;max-width:100%}
.lens-workbench h3,.lens-workbench h4{line-height:1.3}
.lens-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}
.lens-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px}
.lens-card canvas,.lens-card img,.lens-preview{max-width:100%;height:auto;border-radius:4px}
.lens-controls{display:grid;gap:8px;margin:12px 0;font-size:12px}
.lens-controls label{display:block;font-weight:650}
.lens-controls input[type=range]{width:100%;accent-color:var(--accent)}
.lens-controls input[type=number],.lens-controls select{max-width:100%;padding:6px;border:1px solid #b9c7b9;border-radius:5px;background:white}
.lens-workbench p{font-size:12px;line-height:1.7}
.scan-evidence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.scan-evidence-grid figure{margin:0;border:1px solid var(--line);border-radius:8px;padding:10px;min-width:0;background:white}
.scan-evidence-grid img,.scan-evidence-grid canvas{max-width:100%;height:auto}
.scan-evidence-grid figcaption{font-size:11px;color:var(--muted);line-height:1.6}
@media(max-width:980px){body[data-workbench=true] .tool-layout{grid-template-columns:1fr}body[data-workbench=true] .input-panel{position:static;max-height:none;overflow:visible}.evidence-hero{min-height:290px}.evidence-art-stage{padding-top:23px}}
@media(max-width:540px){.lens-grid,.scan-evidence-grid{grid-template-columns:1fr}.evidence-hero{padding:20px}.report-table-scroll{max-height:340px}body[data-workbench=true] .panel{padding:20px}.evidence-art-card{padding:13px 10px}}
@media print{body[data-workbench=true] .input-panel{display:none}body[data-workbench=true] .tool-layout{display:block}.report-table-scroll{max-height:none;overflow:visible}.report-table-scroll th{position:static}.lens-controls,.report-table-section>button{display:none}.report-extras{break-inside:avoid}.evidence-hero{display:none}}

body[data-workbench="true"] fieldset[data-evidence-inputs]{border:0;padding:0;margin:0;min-width:0}
