/* Scoped Expert workbench. Existing source images remain uncropped and unaltered. */
.expert-workbench,.expert-context{--expert-ink:#241b2c;--expert-muted:#675e70;--expert-line:#d5cbdc;--expert-accent:#703d7e;box-sizing:border-box;color:var(--expert-ink)}
.expert-workbench *,.expert-context *{box-sizing:border-box}
.expert-workbench button,.expert-context button{min-height:44px;font:inherit;font-size:13px;line-height:1.35;white-space:normal}
.expert-workbench button:focus-visible,.expert-workbench select:focus-visible,.expert-workbench input:focus-visible,.expert-context button:focus-visible,.expert-context select:focus-visible{outline:3px solid #865291;outline-offset:3px}
.expert-home-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:8px 0 24px}
.expert-home-heading h1{font-size:clamp(32px,3.7vw,52px);line-height:1.05;letter-spacing:-.05em;margin:12px 0}
.expert-home-heading p{font-size:16px;color:var(--expert-muted);max-width:640px;margin:0}
.expert-eyebrow{display:flex;gap:9px;align-items:center;font-size:11px;font-weight:800;letter-spacing:.12em}
.expert-eyebrow .ski-shape{width:12px;height:12px;flex:none}
.expert-home-heading>button{flex-shrink:0}
.expert-topic-picker{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.expert-topic-picker button{background:#fff;color:#5c4967;border:1px solid var(--expert-line);padding:11px 18px;border-radius:8px}
.expert-topic-picker button[aria-pressed=true]{color:#fff;background:#34263f;border-color:#34263f;box-shadow:inset 0 -3px 0 #d9e786}
.expert-bench-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.25fr);gap:22px;align-items:start}
.expert-source-pane{background:#221a29;color:#fff;border:1px solid #493653;border-radius:15px;overflow:hidden}
.expert-source-title{padding:22px 24px 0}
.expert-source-title>span{font-size:10px;letter-spacing:.15em;color:#d9e786;font-weight:800}
.expert-source-title h2{font-size:clamp(20px,2.2vw,28px);line-height:1.2;margin:10px 0 20px;letter-spacing:-.025em;color:#fff}
.expert-source{margin:0;min-width:0}
.expert-source-open,.expert-source-open:hover{display:block;width:100%;padding:0;border:0;border-radius:0;background:#100c14;color:inherit}
.expert-source img{display:block;width:100%;height:auto;max-height:610px;object-fit:contain;object-position:center}
.expert-source figcaption{font-size:12px;line-height:1.5;padding:16px 22px 0;color:#e1d8e6}
.expert-source-actions{padding:14px 22px 22px}
.expert-source-actions button,.expert-source-actions button:hover{background:#34263f;color:#f1ecf5;border:1px solid #796283;width:100%;text-align:left;padding:12px}
.expert-work-surface{background:white;border:1px solid var(--expert-line);border-radius:15px;min-width:0;overflow:hidden;box-shadow:0 10px 30px #21122908}
.expert-task-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--expert-line);background:#eee8f2;padding:6px 6px 0;gap:4px}
.expert-task-tabs button{border:0;border-radius:8px 8px 0 0;background:transparent;color:#65546f;padding:14px 10px;text-align:left;font-weight:700;box-shadow:inset 0 -3px transparent}
.expert-task-tabs button>span{display:block;font-size:11px;font-weight:500;margin-bottom:5px;color:inherit}
.expert-task-tabs button[aria-selected=true]{background:white;color:#34263f;box-shadow:inset 0 -3px #703d7e}
.expert-task-panel{padding:24px;min-width:0}
.expert-step-label{font-size:10px;font-weight:800;letter-spacing:.14em;color:var(--expert-accent)}
.expert-task-heading h2{font-size:25px;line-height:1.15;letter-spacing:-.03em;margin:8px 0 11px;color:var(--expert-ink)}
.expert-task-heading p{font-size:14px;line-height:1.6;margin:0 0 20px;color:var(--expert-muted)}
.expert-select-label{display:block;font-size:12px;font-weight:750;margin:18px 0 7px}
.expert-workbench select,.expert-context select{width:100%;min-width:0;min-height:44px;font:inherit;font-size:14px;color:#33273d;background:#fff;border:1px solid #ae9bb9;border-radius:7px;padding:10px 28px 10px 10px;text-overflow:ellipsis}
.expert-variable-head{display:grid;grid-template-columns:minmax(0,1fr) 135px;gap:16px;padding:20px 0 8px;font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:var(--expert-muted)}
.expert-variable-row{display:grid;grid-template-columns:minmax(0,1fr) 135px;align-items:center;gap:16px;padding:14px 0;border-top:1px solid #e8e0ed}
.expert-variable-row label{min-width:0}
.expert-variable-row b{display:block;font-size:14px;color:#34263f;margin-bottom:3px}
.expert-variable-row label span{display:block;font-size:12px;line-height:1.5;color:var(--expert-muted)}
.expert-variable-row select{font-size:12px}
.expert-review-output{background:#f1edf5;border-left:3px solid #8a6398;border-radius:0 9px 9px 0;padding:18px;margin-top:20px}
.expert-output-heading{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:baseline;justify-content:space-between;font-size:11px}
.expert-output-heading>span{font-size:9px;letter-spacing:.12em;font-weight:800;color:#66506f}
.expert-output-heading>b{font-size:11px;color:#493453}
.expert-review-output h3{font-size:16px;margin:12px 0 9px;color:#32243c}
.expert-review-output p{font-size:13px;line-height:1.6;color:#5b4c65;margin:8px 0 0}
.expert-review-output ol{padding-left:18px;margin:8px 0}
.expert-review-output li{padding-left:3px;margin:10px 0;color:#665470;font-size:12px;line-height:1.5}
.expert-review-output li b{display:block;color:#42314d;font-size:12px}
.expert-review-output li span{display:block}
.expert-output-links{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}
.expert-output-links button{color:#593166;background:#fff;border:1px solid #cebed8;text-align:left;padding:10px 12px;font-size:12px}
.expert-work-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px}
.expert-work-footer>span{font-size:11px;color:#756b7e;line-height:1.5;max-width:250px}
.expert-work-footer button{background:#fff;color:#6b5376;border:0;text-decoration:underline;padding:6px;font-size:11px;flex-shrink:0}
.expert-claim-layers{display:grid;gap:0;margin-top:20px;border:1px solid #d5cbdc;border-radius:9px;overflow:hidden}
.expert-claim-layers>div{padding:15px 17px;background:#fcfbfd}
.expert-claim-layers>div+div{border-top:1px solid #d5cbdc;background:#f4eff7}
.expert-claim-layers span,.expert-investigation-question>span{display:block;color:#71517f;font-size:10px;letter-spacing:.08em;text-transform:uppercase;font-weight:800}
.expert-claim-layers p{margin:8px 0 0;font-size:13px;line-height:1.65;color:#493e52}
.expert-evidence-checks{border:0;padding:0;min-width:0;margin:24px 0 0}
.expert-evidence-checks legend{font-size:13px;font-weight:750;padding:0;margin-bottom:10px;line-height:1.5}
.expert-evidence-checks label{display:flex;gap:12px;align-items:center;border-top:1px solid #e8e0ed;min-height:56px;padding:12px 0;font-size:13px;line-height:1.5;cursor:pointer}
.expert-evidence-checks input{width:20px;height:20px;min-width:20px;accent-color:#703d7e;margin:0}
.expert-investigation-question{padding:20px;margin-top:20px;border-radius:10px;background:#f1edf5}
.expert-investigation-question h3{font-size:20px;line-height:1.3;margin:9px 0 0;color:#392645}
.expert-boundary{font-size:12px;color:var(--expert-muted);line-height:1.6;margin-top:18px}
.expert-continue{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:22px 0 10px;padding:18px 0;border-top:1px solid var(--expert-line)}
.expert-continue>span{font-size:12px;font-weight:800;margin-right:8px}
.expert-continue button{background:#fff;color:#62436e;border:1px solid var(--expert-line);padding:10px 13px}
.expert-context{display:grid;grid-template-columns:140px minmax(0,1fr);gap:20px;padding:18px;background:#fff;border:1px solid #c7b7d2;border-left:4px solid #703d7e;border-radius:10px;margin-bottom:24px;min-width:0}
.expert-context .expert-source{align-self:start}
.expert-context .expert-source-open{border-radius:5px;overflow:hidden}
.expert-context .expert-source img{max-height:140px;object-fit:contain}
.expert-context .expert-source figcaption{padding:8px 0 0;color:#766b80;font-size:10px;line-height:1.4}
.expert-context-title{display:flex;align-items:center;justify-content:space-between;gap:18px}
.expert-context-title h2{font-size:21px;line-height:1.2;margin:7px 0 0;color:#33263e}
.expert-context-title button{font-size:12px;color:#fff;background:#483055;border:1px solid #483055;padding:9px 13px}
.expert-context-control{display:grid;grid-template-columns:minmax(0,1fr) 155px;gap:18px;align-items:center;margin-top:13px}
.expert-context-control label{font-size:13px;line-height:1.5;color:#64536f}
.expert-context-control select{font-size:12px}
.expert-context-result{font-size:13px;line-height:1.55;padding:11px 13px;background:#f3eff6;border-radius:6px;margin:12px 0 0;color:#4c3759}
.expert-context-reference button{font-size:11px;text-decoration:underline;background:none;border:0;color:#62416e;padding:8px 0;text-align:left}
@media(max-width:980px){.expert-bench-layout{grid-template-columns:minmax(0,.7fr) minmax(0,1fr);gap:15px}.expert-task-panel{padding:20px}.expert-variable-row,.expert-variable-head{grid-template-columns:minmax(0,1fr) 120px;gap:10px}.expert-source-title{padding:20px 18px 0}.expert-task-tabs button{font-size:12px}}
@media(max-width:720px){.expert-home-heading{align-items:start;gap:14px;flex-direction:column;margin-bottom:18px}.expert-home-heading h1{font-size:36px}.expert-home-heading p{font-size:14px}.expert-home-heading>button{min-height:44px}.expert-topic-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.expert-topic-picker button{padding:11px 8px;font-size:12px}.expert-bench-layout{grid-template-columns:1fr}.expert-source-title{padding:18px 18px 0}.expert-source-title h2{font-size:22px;margin-bottom:16px}.expert-source img{max-height:360px}.expert-source figcaption{padding:12px 18px 0}.expert-source-actions{padding:12px 18px 18px}.expert-task-panel{padding:20px 18px}.expert-task-heading h2{font-size:23px}.expert-task-tabs button{padding:13px 8px;font-size:12px}.expert-task-tabs button>span{font-size:10px}.expert-continue{gap:7px}.expert-continue>span{flex-basis:100%;margin:0 0 5px}.expert-continue button{font-size:12px}.expert-context{grid-template-columns:90px minmax(0,1fr);gap:13px;padding:14px}.expert-context-title{align-items:start;flex-direction:column;gap:10px}.expert-context-title h2{font-size:19px}.expert-context-control{grid-template-columns:1fr;gap:8px}.expert-context .expert-source img{max-height:110px}}
@media(max-width:430px){.expert-task-panel{padding:18px 14px}.expert-task-tabs{gap:2px;padding:4px 4px 0}.expert-task-tabs button{font-size:11px;padding:12px 6px}.expert-variable-row{grid-template-columns:minmax(0,1fr) 112px;gap:10px}.expert-variable-head{grid-template-columns:minmax(0,1fr) 112px;gap:10px;font-size:9px}.expert-variable-row b{font-size:13px}.expert-variable-row label span{font-size:11px}.expert-variable-row select{font-size:11px;padding-left:7px;padding-right:18px}.expert-review-output{padding:14px}.expert-work-footer{align-items:start;gap:8px}.expert-work-footer>span{font-size:10px}.expert-work-footer button{font-size:10px}.expert-context{grid-template-columns:70px minmax(0,1fr);gap:11px;padding:12px}.expert-context .expert-source figcaption{font-size:9px}.expert-context-result{font-size:12px}.expert-context .expert-step-label{font-size:9px}.expert-context-control label{font-size:12px}.expert-investigation-question{padding:16px}.expert-investigation-question h3{font-size:18px}}
@media(prefers-reduced-motion:reduce){.expert-workbench *,.expert-context *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
body[data-motion=off] .expert-workbench *,body[data-motion=off] .expert-context *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
