/* Studio-only composition. Shared landing/docs styles remain in styles.css. */
.studio-body{background:#0d1014;color:#e9eee8}
.studio-nav{height:72px;padding:0 32px;background:#101419}
.studio-nav .icon-link{width:auto;border:0;border-radius:7px;min-height:44px;padding:8px;font-size:11px}
.studio-nav .judge-access-button{min-height:44px}
.workspace{max-width:1920px;padding:28px 32px 20px}
.workspace-head{margin:0 0 28px;align-items:center}
.workspace-head h1{font-size:42px;letter-spacing:-2px;margin-top:10px}
.workspace-head h1>span{font-family:inherit;font-style:normal;font-weight:750;color:var(--lime)}
.workspace-head .eyebrow{font-size:9px;letter-spacing:1.7px;color:#aab7ad}
.workflow-steps{gap:18px;margin:0}
.studio-shell{display:grid;grid-template-columns:218px minmax(0,1fr);gap:26px;align-items:start}
.engine-rail{position:sticky;top:20px;min-width:0}
.intelligence-deck{margin:0}
.deck-heading{margin:0 0 13px;letter-spacing:1.5px;font-size:9px}
.engine-rail .deck-grid{display:grid;grid-template-columns:1fr;gap:9px}
.deck-module{display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:10px;min-height:0;padding:17px 15px;border-radius:12px;background:#151b20;box-shadow:none;cursor:pointer;font-family:inherit;width:100%}
.deck-module:after{display:none}
.deck-module:before{width:2px;opacity:.3}
.deck-module[aria-pressed=true]{background:#222b23;border-color:var(--deck-accent)}
.deck-module[aria-pressed=true]:before{opacity:1}
.deck-module:hover,.deck-module:focus-visible{transform:none;box-shadow:none;background:#20282d}
.deck-module.has-result{background:#17241e}
.deck-module .deck-id{display:flex;justify-content:space-between;font-size:8px;letter-spacing:.6px;gap:6px}
.deck-module strong{font-size:21px;letter-spacing:-.6px;line-height:1.2}
.deck-module strong em{display:block;font-family:inherit;font-style:normal;font-weight:700;font-size:1em}
.module-purpose{font-size:11px;line-height:1.55;color:#aab6b4}
.deck-module .deck-bottom{display:block;font-size:10px;line-height:1.5;padding-top:10px;color:#b9c6be}
.rail-session{border-left:1px solid #4a544b;padding:2px 0 2px 14px;margin:25px 0}
.rail-session strong#deckPhase{display:block;color:var(--lime);border:0;border-radius:0;background:none;padding:7px 0;font-size:10px;line-height:1.5}
.rail-session p{color:#91a29c;font-size:11px;line-height:1.7;margin:0}
.public-tour{margin:0;background:transparent;border-color:#323c37}
.public-tour summary{font-size:10px;letter-spacing:0;padding:12px}
.public-tour-content{padding:0 12px 12px}
.public-tour-content ol{grid-template-columns:1fr}
.studio-content{min-width:0}
.section-label{display:flex;align-items:center;justify-content:space-between;color:#a8b6ad;font-size:9px;font-weight:750;letter-spacing:1.2px;margin:0 0 13px;gap:14px}
.section-label span:last-child{color:#798a83;font-size:8px;text-align:right}
.workspace-grid{grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr);gap:16px}
.glass-panel{border-radius:14px;box-shadow:none;background:#151b21;border-color:#333e42}
.preview-pane{position:static;align-self:stretch;padding:14px;max-width:none;margin:0}
.preview-pane .panel-heading{margin-bottom:13px;flex-wrap:wrap}
.panel-title{font-size:9px;letter-spacing:1.3px}
.mini-tab{min-height:44px;padding:9px 13px;font-size:11px}
.preview-actions{padding:2px}
.dropzone{height:clamp(360px,32vw,550px);min-height:360px;max-height:none;border-radius:9px;border-style:solid;border-color:#384b40;background:radial-gradient(ellipse at center,#2636274d,transparent 70%),repeating-linear-gradient(0deg,transparent,transparent 39px,#ffffff04 40px),repeating-linear-gradient(90deg,transparent,transparent 39px,#ffffff04 40px),#101719}
.canvas-art{width:88px;height:88px;border-radius:24px;margin-bottom:16px;transform:none}
.canvas-plus{font-size:58px}.canvas-orbit-dot{display:none}
.empty-title{font-size:21px;letter-spacing:-.7px}
.empty-specs{font-size:8px;gap:6px}.empty-specs i{padding:6px 9px}
.canvas-footer{margin-top:12px;min-height:36px}.file-chip{min-width:0}.file-chip span:last-child{max-width:25vw;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.right-pane{display:block;max-width:none;width:100%;min-width:0;margin:0}
.details-card{padding:20px;height:auto}
.details-card .panel-heading{margin-bottom:20px}
.details-card input,.details-card textarea{background:#10161a;border-color:#36433f;border-radius:8px;padding:12px;font-size:13px}
.details-card textarea{min-height:80px;resize:vertical;max-height:260px}
.details-card #facts{min-height:120px}
.details-card label{font-size:11px;margin:14px 0 8px}
.form-bottom{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-top:16px}
.form-bottom span{text-align:left;font-size:10px;line-height:1.5;max-width:none}
.form-bottom .btn{width:100%;justify-content:center;min-height:46px}
.context-note{display:flex;gap:10px;padding:12px 4px;color:#97a9a0;font-size:10px;line-height:1.6}.context-note p{margin:0}.context-note>span{color:var(--lime)}
.pipeline-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0 23px;border-bottom:1px solid #303d36}
.pipeline-bar p{font-size:12px;color:#bbc8c0;margin:6px 0 0;line-height:1.5}.pipeline-actions{display:flex;gap:9px;flex-shrink:0}
.pipeline-actions .btn{min-height:44px;padding:12px 16px;font-size:11px;border-radius:9px}
button:disabled{cursor:not-allowed;opacity:.42}
.proof-workspace{margin-top:24px;padding:0;border:1px solid #3a483f;border-radius:15px;overflow:hidden;background:#12191b;scroll-margin-top:20px}
.proof-heading{display:flex;align-items:center;margin:0;padding:22px 22px 18px;gap:18px}
.proof-heading .eyebrow{font-size:9px;letter-spacing:1.5px;color:var(--lime)}
.proof-heading h2{font-size:25px;letter-spacing:-.7px;margin:8px 0 0}
.proof-heading h2:focus{outline:none}
.proof-stage-label{font-size:10px;color:#aabbb1;display:flex;align-items:center;gap:8px;flex-shrink:0}
.proof-stage-label select,.xray-inspection select{min-height:44px;border:1px solid #4c5d50;background:#19251d;color:#e2efdb;border-radius:8px;padding:10px;font:inherit;max-width:100%}
.proof-modebar{display:flex;gap:5px;padding:0 22px;border-bottom:1px solid #33423a}
.proof-modebar button,.report-tabs button{font:inherit;font-size:11px;font-weight:700;color:#a9b7af;background:none;border:0;border-bottom:2px solid transparent;min-height:46px;padding:12px 16px;cursor:pointer}
.proof-modebar button[aria-pressed=true]{border-bottom-color:var(--lime);color:var(--lime);background:#c6fb8607}
.proof-layout{display:block}
.inspection-pane{padding:22px;min-width:0;background:none;border:0;border-radius:0}
.inspection-title{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:14px}
.inspection-title h3{font-size:16px;letter-spacing:-.3px;margin:0}.inspection-title .tiny-meta{margin:0}
.proof-pending{min-height:240px;gap:12px;border:1px dashed #3b5042;border-radius:10px;background:linear-gradient(110deg,#1a2c2140,transparent);align-items:flex-start;text-align:left;padding:28px}
.empty-index{font-size:9px;color:var(--lime);letter-spacing:1.5px;font-weight:700}
.proof-pending strong{font-size:25px;letter-spacing:-.8px}.proof-pending p{max-width:430px;font-size:12px}.proof-pending .text-button{font-size:11px}
.proof-boundary{display:flex;gap:14px;padding:12px 22px;border-top:1px solid #33423a;color:#9cb58c;font-size:8px;letter-spacing:1px;line-height:1.5}.proof-boundary span{color:#94a49b;letter-spacing:0;font-size:10px}
.xray-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.9fr);gap:22px}
.xray-source{border:1px solid #3e494a;border-radius:10px;overflow:hidden;align-self:start;background:#0e1419}
.source-heading{display:flex;justify-content:space-between;gap:10px;color:#b4a5d1;font-size:8px;padding:12px;border-bottom:1px solid #3c3a48;line-height:1.5}
#xrayImage{display:block;width:100%;height:310px;object-fit:contain;padding:12px}
#xrayCaption{font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;margin:0;border-top:1px solid #3c3a48;color:#d6c7f5}
.xray-inspection{min-width:0}.xray-inspection>label{display:block;font-size:10px;color:#aab7af;margin-bottom:8px}.xray-inspection select{width:100%;font-size:12px;text-overflow:ellipsis}
.xray-panel{border:0;border-radius:0;background:none;margin:16px 0 0;padding:0}.xray-panel .panel-title{font-size:8px}.xray-panel strong{font-size:22px;line-height:1.4;margin-top:12px}.xray-panel p{font-size:12px;line-height:1.7}.xray-panel small{display:block;line-height:1.6}.xray-panel .text-button{display:block;font-size:11px;margin:12px 0}
.xray-status{padding:7px 10px;border:1px solid #4a5d45;border-radius:6px;line-height:1.4}
.proof-node-list{display:flex;flex-wrap:wrap;overflow:visible;padding:0 0 16px;gap:6px}.proof-selector{max-width:240px;font-size:11px;min-height:44px}
.network-inspector{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:18px;align-items:start}
.constellation{min-height:250px;background:radial-gradient(ellipse,#273a2d45,transparent),#10191b;border-color:#3c5244;border-radius:10px}
.proof-edge{stroke:#739d7b;stroke-dasharray:none;stroke-width:1.7}
.proof-node rect{stroke-width:1.5;fill:#1a2826}.proof-node.selected rect{stroke-width:3;stroke:var(--lime)}
.node-kind{font-size:9px;letter-spacing:.6px}.node-label{font-size:12px}
.proof-node-detail{margin:0;padding:0 0 0 16px;border-left-color:#a4cb79;min-height:180px}.proof-node-detail>strong{display:block;line-height:1.5;font-size:15px;margin:10px 0}.proof-node-detail p{font-size:12px}.proof-node-detail small{display:block;line-height:1.6}.proof-node-detail .text-button{font-size:10px;margin-top:8px}
.constellation-panel .claim-proof-note{margin:16px 0 0}
.evolution-list{gap:8px;margin-top:18px}.dna-row summary{grid-template-columns:30px minmax(0,1fr) 170px;padding:17px;gap:12px}.dna-number{grid-row:auto}.dna-status{text-align:right;font-size:11px}.dna-label{font-size:13px}.dna-stages{padding:0 18px;gap:18px}.dna-stage{padding:16px}.dna-explanation{padding:0 18px;max-width:900px}
.result-label{margin:28px 0 13px}.audit-card{padding:22px}.report-empty{min-height:120px;padding:15px;gap:8px}.report-empty-graphic{display:none}
.score-row{display:grid;grid-template-columns:80px minmax(0,1fr);gap:18px;align-items:center;margin-bottom:18px}.score-ring{width:80px;height:80px}.score-ring strong{font-size:27px}.score-ring small{font-size:9px}.score-info h3{font-size:20px;margin:7px 0}.score-info p{font-size:12px;max-width:850px;line-height:1.6}
.breakdown{grid-template-columns:repeat(4,1fr);margin:0 0 18px;padding:0}.metric{padding:12px}.metric b{font-size:20px}
.report-tabs{display:flex;border-bottom:1px solid #3c4843;margin-bottom:16px;gap:10px}.report-tabs button[aria-pressed=true]{border-color:var(--lilac);color:#d1bdf9}
.claim-evidence-list{max-height:none;overflow:visible;grid-template-columns:repeat(2,minmax(0,1fr));padding:0}.claim-evidence-item{padding:16px}.claim-evidence-claim{font-size:14px}
.issues-list{max-height:none}.recommendation{margin:0}
.export-strip{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid #3b4841;padding-top:18px;margin-top:20px}.export-strip strong{font-size:12px}.export-strip p{font-size:11px;line-height:1.5;color:#9cac9f;margin:6px 0 0}.export-actions{display:flex;gap:8px;flex-shrink:0}.export-actions .btn{font-size:11px;padding:12px 16px;min-height:44px}
.studio-body :focus-visible{outline:2px solid var(--lime);outline-offset:3px}
.bottom-rail{margin-top:25px}.sticky-cta{display:none}
@media(min-width:1700px){.studio-shell{grid-template-columns:248px minmax(0,1fr);gap:32px}.deck-module{padding:22px 20px}.workspace-grid{grid-template-columns:minmax(0,1.7fr) minmax(340px,.8fr)}.dropzone{height:550px}.network-inspector{grid-template-columns:minmax(0,1fr) 300px}.deck-module strong{font-size:25px}}
@media(max-width:1279px){.workspace{padding:24px}.studio-shell{grid-template-columns:190px minmax(0,1fr);gap:18px}.workspace-grid{grid-template-columns:minmax(0,1.15fr) minmax(250px,.85fr)}.dropzone{height:400px;min-height:320px}.details-card{padding:16px}.workflow-steps{gap:10px}.stage{font-size:9px}.deck-module{padding:15px 12px}.deck-module strong{font-size:19px}.network-inspector{grid-template-columns:minmax(0,1fr) 210px}.xray-workspace{grid-template-columns:minmax(0,1fr) minmax(220px,1fr)}}
@media(max-width:1080px){.studio-shell{grid-template-columns:1fr;gap:20px}.engine-rail{position:static;display:grid;grid-template-columns:1fr}.engine-rail .deck-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.deck-module{padding:16px;gap:8px}.deck-module strong{font-size:22px}.module-purpose{display:none}.rail-session,.engine-rail .public-tour{display:none}.workspace-head{flex-direction:row;align-items:center}.workspace-grid{grid-template-columns:minmax(0,1.25fr) minmax(260px,1fr)}.nav-mid{display:none}.studio-nav{padding:0 24px}.dropzone{height:420px}.preview-pane{max-width:none}.network-inspector{grid-template-columns:minmax(0,1fr) 210px}}
@media(max-width:760px){.workspace{padding:20px 14px}.workspace-head{align-items:flex-start;flex-direction:column;gap:20px;margin-bottom:24px}.workspace-head h1{font-size:38px}.workflow-steps{width:100%;justify-content:space-between;gap:5px}.stage{font-size:8px}.stage b{width:22px;height:22px;margin-right:4px}.engine-rail .deck-grid{gap:6px}.deck-module{padding:12px 9px;gap:9px;border-radius:8px}.deck-module .deck-id{font-size:7px;letter-spacing:0;display:block}.deck-id span{display:none}.deck-module strong{font-size:16px}.deck-module .deck-bottom{font-size:8px;padding-top:8px;min-height:42px}.workspace-grid{grid-template-columns:minmax(0,1fr)}.preview-pane{padding:12px}.dropzone{height:380px;min-height:300px}.file-chip span:last-child{max-width:58vw}.details-card{padding:18px}.details-card input,.details-card textarea{font-size:16px}.details-card #facts{min-height:100px}.context-note{padding:8px 2px}.pipeline-bar{align-items:stretch;flex-direction:column;padding-bottom:20px;gap:12px}.pipeline-actions{display:grid;grid-template-columns:1fr 1fr}.pipeline-actions .btn{font-size:11px;padding:12px 8px}.proof-heading{padding:18px;align-items:flex-start;flex-direction:column;gap:15px}.proof-heading h2{font-size:25px}.proof-stage-label{width:100%;justify-content:space-between}.proof-modebar{padding:0 8px;gap:0;justify-content:space-between}.proof-modebar button{font-size:10px;padding:10px 8px;min-width:0;flex:1}.inspection-pane{padding:16px}.inspection-title{align-items:flex-start;flex-direction:column;gap:8px}.proof-pending{padding:20px;min-height:240px}.proof-pending strong{font-size:23px}.proof-boundary{padding:12px 16px;flex-direction:column;gap:5px}.xray-workspace{grid-template-columns:1fr;gap:18px}#xrayImage{height:240px}.xray-panel strong{font-size:20px}.xray-panel .panel-title{font-size:8px}.network-inspector{grid-template-columns:1fr;gap:18px}.constellation{min-height:0}.proof-node-detail{min-height:0}.proof-selector{max-width:100%;font-size:10px;white-space:normal;text-align:left}.proof-node-list{max-height:190px;overflow-y:auto}.dna-row summary{grid-template-columns:24px minmax(0,1fr);padding:14px;gap:8px}.dna-number{grid-row:span 2}.dna-status{text-align:left;font-size:10px}.dna-stages{grid-template-columns:1fr;padding:0 14px;gap:10px}.audit-card{padding:18px}.score-row{grid-template-columns:70px minmax(0,1fr);gap:12px}.score-ring{width:70px;height:70px}.score-info h3{font-size:17px}.breakdown{grid-template-columns:repeat(2,1fr);gap:8px}.claim-evidence-list{grid-template-columns:1fr}.report-tabs{gap:2px}.report-tabs button{padding:10px 12px;font-size:11px}.export-strip{align-items:stretch;flex-direction:column}.export-actions{display:grid;grid-template-columns:1fr 1fr}.export-actions .btn{padding:12px 7px;font-size:10px}.section-label{font-size:8px;letter-spacing:.7px}.section-label span:last-child{font-size:7px}.sticky-cta{display:block}.sticky-cta-inner .btn{width:auto}.studio-nav{padding:10px 14px}.studio-actions{gap:6px}.studio-nav .brand{font-size:21px}.empty-title{font-size:20px}.bottom-rail{line-height:1.6}.result-label span:last-child{max-width:45%}}
@media(max-width:360px){.workspace{padding:18px 10px}.deck-module strong{font-size:14px;letter-spacing:-.4px}.deck-module{padding:11px 7px}.deck-module .deck-id{font-size:6px}.deck-module .deck-bottom{font-size:8px}.workflow-steps{flex-wrap:nowrap}.stage{font-size:7px}.stage b{width:20px;height:20px}.studio-nav .brand{font-size:18px}.dropzone{height:330px}.preview-actions{width:100%;justify-content:space-between}.mini-tab{flex:1;font-size:10px}.empty-title{font-size:18px}.proof-modebar button{font-size:9px;padding:10px 6px}.proof-heading h2{font-size:23px}.inspection-pane{padding:12px}.source-heading{font-size:7px}}
@media(prefers-reduced-motion:reduce){.studio-body *{scroll-behavior:auto!important;transition:none!important}}

@media(max-width:760px){.deck-map strong em{font-size:clamp(11px,3.5vw,16px);letter-spacing:-.5px}.network-inspector{grid-template-columns:1fr}}
@media(min-width:761px) and (max-width:1080px){.network-inspector{grid-template-columns:1fr}.network-inspector .proof-node-detail{border-top:1px solid #3b4b40;border-left:0;padding:16px 0 0;min-height:0}}

/* Notifications must not intercept the mobile workflow action. */
.toast{pointer-events:none}
@media(max-width:760px){.toast{top:12px;bottom:auto;left:12px;right:12px;width:auto;max-width:none;font-size:11px}}
@media(max-width:760px){.studio-nav{height:auto;min-height:90px}.empty-canvas{max-width:100%;padding:12px}.empty-title{max-width:100%;overflow-wrap:anywhere}}
@media(max-width:360px){.studio-nav{grid-template-columns:1fr;gap:8px}.studio-actions{flex-wrap:nowrap;justify-content:space-between}.studio-actions .connection{flex-basis:auto;justify-content:flex-start;gap:7px;font-size:8px}.studio-actions .judge-access-button{font-size:9px;padding:6px 9px}.studio-nav .icon-link{font-size:10px}.empty-title{font-size:17px}}


/* ------------------------------------------------------------------
   ADPROOF PROOFROOM · Editorial Forensics, v1
   Distinct from the generic dark-card dashboard: warm paper, ink,
   large typographic hierarchy, inspectable dark visual workbench.
   No mock scores or model outputs. Only studio surfaces change.
   ------------------------------------------------------------------ */
.studio-body{
  --proof-ink:#202824;
  --proof-ink-soft:#2b3530;
  --proof-paper:#ecebe4;
  --proof-sheet:#fbfaf5;
  --proof-rule:#c9cbc0;
  --proof-muted:#617067;
  --proof-orange:#c76c47;
  --proof-lime:#d3f38c;
  --lime:#d3f38c;
  --orange:#e49b72;
  --lilac:#a493d2;
  color:var(--proof-ink);
  background:var(--proof-paper);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
}
.studio-nav{
  height:76px;
  padding:0 clamp(22px,3vw,62px);
  color:#f5f5eb;
  background:var(--proof-ink);
  border-bottom:1px solid #43514a;
  position:relative;
  z-index:3;
}
.studio-nav .brand{font-size:25px;letter-spacing:-1.6px;color:#f4f6e9}
.studio-nav .brand small{background:var(--proof-lime);color:#263127}
.studio-nav .brandmark{filter:saturate(.8)}
.studio-nav .nav-mid{font-size:10px;letter-spacing:2px;color:#b2c4b8}
.studio-nav .nav-mid strong{color:#fafbf3}
.studio-nav .nav-spark{color:var(--proof-lime)}
.studio-nav .connection{color:#cedacf}
.studio-nav .connection.ready .connection-dot{background:var(--proof-lime)}
.studio-nav .judge-access-button{
  border:1px solid var(--proof-lime);
  background:var(--proof-lime);
  color:var(--proof-ink);
  font-weight:850;
  border-radius:3px;
  padding:10px 16px;
  letter-spacing:.1px;
}
.studio-nav .icon-link{color:#e6ede3;border:1px solid #56645b;border-radius:3px;padding:9px 16px;font-weight:750}
.workspace{max-width:2048px;padding:40px clamp(20px,3vw,62px) 42px}
.workspace-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:30px;
  border-bottom:2px solid var(--proof-ink);
  padding:4px 0 33px;
  margin:0 0 30px;
}
.proofroom-overline{display:flex;align-items:center;gap:11px;color:var(--proof-muted);font-size:10px;font-weight:750;letter-spacing:1.55px}
.proofroom-serial{display:inline-flex;background:var(--proof-ink);color:var(--proof-lime);padding:7px 10px;white-space:nowrap}
.proofroom-rule{height:1px;width:34px;background:var(--proof-rule);flex-shrink:0}
.workspace-head h1{
  font-size:clamp(60px,6.1vw,112px);
  line-height:.93;
  letter-spacing:-.086em;
  font-weight:780;
  margin:24px 0 12px;
  color:var(--proof-ink);
}
.workspace-head h1>span{
  color:var(--proof-orange);
  font-family:Georgia,"Times New Roman",serif;
  font-style:italic;
  font-weight:400;
  letter-spacing:-.105em;
}
.workspace-head h1 sup{
  display:inline-block;
  vertical-align:top;
  margin:12px 0 0 17px;
  font-size:10px;
  font-family:inherit;
  color:var(--proof-muted);
  letter-spacing:1.1px;
  font-weight:800;
}
.proofroom-subtitle{font-size:13px;line-height:1.5;color:#536158;margin:0;letter-spacing:.15px}
.progress-cluster{display:grid;justify-items:end;gap:14px;padding-bottom:7px}
.progress-caption{color:var(--proof-muted);font-size:9px;font-weight:850;letter-spacing:1.5px}
.workflow-steps{gap:7px}
.workflow-steps .stage{display:flex;gap:7px;align-items:center;color:#6c786d;font-size:10px;letter-spacing:.3px}
.workflow-steps .stage b{width:32px;height:32px;margin:0;border:1px solid #a1aa9f;border-radius:50%;color:#57635a;font-size:10px;background:transparent}
.workflow-steps .stage.active{color:var(--proof-ink)}
.workflow-steps .stage.active b{color:var(--proof-ink);background:var(--proof-lime);border-color:var(--proof-ink)}
.workflow-steps .stage.complete b{background:var(--proof-ink);color:var(--proof-lime);border-color:var(--proof-ink)}
.workflow-steps .stage.complete{color:var(--proof-ink)}
.studio-shell{grid-template-columns:236px minmax(0,1fr);gap:28px}
.studio-content{min-width:0}
.engine-rail{
  position:sticky;
  top:20px;
  min-height:686px;
  padding:26px 16px 20px;
  border:1px solid var(--proof-ink);
  background:var(--proof-ink);
  color:#f0f4e9;
  border-radius:0;
}
.engine-rail .deck-heading{padding:0 9px 16px;margin:0;border-bottom:1px solid #4d5951;color:var(--proof-lime);font-size:10px;letter-spacing:1.6px}
.engine-rail .deck-grid{display:grid;grid-template-columns:1fr;gap:0}
.engine-rail .deck-module{
  display:flex;
  flex-direction:column;
  gap:9px;
  width:100%;
  min-height:154px;
  padding:20px 12px 17px;
  background:transparent;
  color:#edf0e7;
  border:0;
  border-bottom:1px solid #48544a;
  border-radius:0;
  box-shadow:none;
  position:relative;
}
.engine-rail .deck-module:before{width:3px;top:13px;bottom:13px;height:auto;inset:13px auto 13px 0;opacity:0}
.engine-rail .deck-module[aria-pressed=true]{
  background:linear-gradient(90deg,#344236,transparent 88%);
}
.engine-rail .deck-module[aria-pressed=true]:before{opacity:1}
.engine-rail .deck-module:hover,.engine-rail .deck-module:focus-visible{background:#303c34;transform:none;border-bottom-color:#708477}
.engine-rail .deck-module strong{font-size:27px;line-height:.98;letter-spacing:-1.2px;font-weight:770}
.engine-rail .deck-module strong em{font-family:Georgia,"Times New Roman",serif;font-size:1em;letter-spacing:-.7px;font-weight:400;font-style:italic}
.engine-rail .deck-id{font-size:9px;color:#b7c2b6;letter-spacing:1.2px;font-weight:800}
.engine-rail .deck-module .deck-bottom{font-size:10px;color:#d0d9c9;line-height:1.45;border:0;padding-top:4px}
.engine-rail .module-purpose{font-size:11px;line-height:1.4;color:#a5b2aa}
.engine-rail .rail-session{margin:24px 7px 17px;border-left:2px solid var(--proof-lime);padding-left:14px}
.engine-rail .rail-session .tiny-meta{color:#9aa9a0}
.engine-rail .rail-session strong#deckPhase{font-size:11px;color:var(--proof-lime)}
.engine-rail .rail-session p{color:#bac9b9;font-size:10px}
.engine-rail .public-tour{margin:12px 7px 0;border:1px solid #455349;border-radius:0;background:transparent}
.engine-rail .public-tour summary{color:var(--proof-lime)}
.engine-rail .public-tour-content{color:#e2e9dd}
.engine-rail .public-tour-content p,.engine-rail .public-tour-content li span{color:#b9c7b9}
.engine-rail .public-tour-content li{background:#28322a;border-color:#4a5b4b}
.section-label{color:var(--proof-ink);font-size:10px;font-weight:850;letter-spacing:1.5px;margin:0 0 12px}
.section-label span:last-child{color:var(--proof-muted);font-size:9px;letter-spacing:1.1px}
.workspace-grid{
  display:grid;
  grid-template-columns:minmax(0,1.48fr) minmax(310px,.77fr);
  gap:0;
  align-items:stretch;
  overflow:hidden;
  border:1px solid var(--proof-ink);
  background:var(--proof-sheet);
}
.preview-pane{
  background:var(--proof-ink-soft);
  border:0;
  border-radius:0;
  color:#f7f7eb;
  padding:20px;
  min-width:0;
  max-width:none;
  margin:0;
  display:flex;
  flex-direction:column;
}
.preview-pane .panel-heading{margin-bottom:15px;min-height:32px}
.preview-pane .panel-title{color:#dce7dd;font-size:10px}
.preview-pane .disc-orange{background:var(--proof-orange)}
.preview-actions{border:1px solid #58665b;border-radius:3px;background:transparent;padding:2px}
.preview-actions .mini-tab{border-radius:2px;font-size:11px;color:#b4c5b8}
.preview-actions .mini-tab.selected{background:var(--proof-lime);color:var(--proof-ink)}
.preview-actions .mini-tab:disabled{opacity:.38}
.dropzone{
  height:clamp(470px,43vw,690px);
  min-height:470px;
  max-height:none;
  border:1px solid #69786d;
  border-radius:0;
  background:
    linear-gradient(0deg,#29353025,#29353025),
    radial-gradient(ellipse at 50% 50%,#38463b 0%,transparent 63%),
    repeating-linear-gradient(0deg,transparent 0,transparent 33px,#d6f1cb0c 34px),
    repeating-linear-gradient(90deg,transparent 0,transparent 33px,#d6f1cb0c 34px),
    #1b2523;
}
.dropzone .corner{border-color:#c0e2b080}
.empty-canvas{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;width:100%;height:100%;padding:32px 24px 54px}
.canvas-field-note{position:absolute;bottom:8px;left:10px;right:10px;display:flex;justify-content:space-between;color:#90a496;font-size:9px;letter-spacing:1.4px;font-weight:800}
.canvas-art{height:110px;width:110px;border-radius:50%;margin-bottom:20px;border:1px solid #91ad9078;transform:none}
.canvas-art:before{border-radius:50%;border-color:#b3cfac55}
.canvas-art:after{border-radius:50%;border-color:#aace9560}
.canvas-art .canvas-plus{font-size:55px;color:var(--proof-lime);font-family:Georgia,serif;font-weight:400}
.empty-title{font-family:Georgia,"Times New Roman",serif;color:#f2f4e7;font-weight:400;font-size:clamp(24px,2.6vw,39px);letter-spacing:-.8px;line-height:1.12}
.empty-specs{color:#aebba9}
.empty-specs .max{color:var(--proof-lime)}
.preview-pane .btn-upload{
  min-height:52px;
  padding:13px 23px;
  border-radius:2px;
  background:var(--proof-lime);
  color:var(--proof-ink);
  font-size:13px;
  font-weight:800;
  margin-top:13px;
}
.preview-pane .empty-hint{font-size:11px;color:#a1b19d}
.preview-pane .canvas-footer{margin-top:auto;padding-top:18px}
.preview-pane .file-chip{color:#b9c9b8}
.preview-pane .mini-square{background:var(--proof-lime);color:var(--proof-ink)}
.preview-pane .text-button{color:var(--proof-lime)}


/* EDITORIAL PROOFROOM — evidence document + inspection surfaces */
.studio-body .right-pane{display:flex;flex-direction:column;gap:0;min-width:0;background:var(--proof-sheet);max-width:none;margin:0}
.studio-body .details-card{background:transparent;border:0;border-radius:0;box-shadow:none;padding:29px clamp(18px,2.1vw,32px) 18px}
.studio-body .details-card .panel-heading{padding-bottom:15px;border-bottom:1px solid var(--proof-rule);margin-bottom:9px}
.studio-body .details-card .panel-title{color:var(--proof-ink);font-size:10px;letter-spacing:1.5px}
.studio-body .details-card .tiny-meta{color:var(--proof-muted)}
.studio-body .disc-lime{background:#718b48}
.source-form-intro{font:400 clamp(24px,2vw,33px)/1.1 Georgia,"Times New Roman",serif;letter-spacing:-.8px;color:var(--proof-ink);margin:20px 0 23px;max-width:320px}
.studio-body .details-card label{font-size:11px;color:#36453d;font-weight:800;margin:13px 0 7px}
.studio-body .details-card input,.studio-body .details-card textarea{background:#f0efe8;border:1px solid #c6cac0;border-radius:0;color:var(--proof-ink);font-size:14px;line-height:1.5;padding:12px 13px;box-shadow:none;outline-offset:2px}
.studio-body .details-card input:focus,.studio-body .details-card textarea:focus{border-color:#475943;background:#fffef9;outline:2px solid #c5d1b0}
.studio-body .details-card input::placeholder,.studio-body .details-card textarea::placeholder{color:#7d8a80}
.studio-body .details-card #facts{min-height:132px}
.studio-body .details-card #caption{min-height:76px}
.studio-body .details-card .required{color:#b4593d}
.studio-body .details-card .optional{color:#76877a}
.studio-body .form-bottom{margin-top:15px;gap:13px}
.studio-body .form-bottom span{color:var(--proof-muted);font-size:10px}
.studio-body .form-bottom .btn{border:1px solid var(--proof-ink);border-radius:0;background:var(--proof-ink);color:var(--proof-lime);font-size:13px;min-height:52px}
.studio-body .form-bottom .btn:not(:disabled):hover{background:#39473b}
.studio-body .context-note{color:var(--proof-muted);border-top:1px solid var(--proof-rule);padding:16px 24px;font-size:10px}
.studio-body .context-note>span{color:#315f3b;font-weight:800}
.studio-body .pipeline-bar{margin:12px 0 0;padding:18px 23px;background:var(--proof-lime);color:var(--proof-ink);border:1px solid var(--proof-ink);border-radius:0;gap:18px}
.studio-body .pipeline-bar .tiny-meta{color:#435236;font-weight:850}
.studio-body .pipeline-bar p{color:#283b2d;font-size:12px;font-weight:600}
.studio-body .pipeline-actions .btn{min-height:46px;border:1px solid var(--proof-ink);border-radius:2px;background:var(--proof-ink);color:var(--proof-lime);font-size:11px;font-weight:800;padding:10px 15px}
.studio-body .pipeline-actions .btn-outline{background:transparent;color:var(--proof-ink)}
.studio-body .pipeline-actions button:disabled{opacity:.42}
.studio-body .proof-workspace{background:var(--proof-sheet);color:var(--proof-ink);border:1px solid var(--proof-ink);border-radius:0;margin-top:28px;padding:0;overflow:hidden}
.studio-body .proof-heading{padding:30px clamp(20px,2.8vw,42px) 21px;margin:0;gap:22px}
.studio-body .proof-heading .eyebrow{color:#975e3d;font-weight:850;font-size:10px}
.studio-body .proof-heading h2{color:var(--proof-ink);font:400 clamp(31px,3.3vw,51px)/1.08 Georgia,serif;letter-spacing:-1.7px;margin-top:9px}
.studio-body .proof-stage-label{color:var(--proof-muted);font-size:11px;font-weight:650}
.studio-body .proof-stage-label select,.studio-body .xray-inspection select{background:#f0efe7;color:var(--proof-ink);border:1px solid #a7b2a5;border-radius:2px;padding:10px;min-height:44px}
.studio-body .proof-modebar{background:#e8e8df;border-top:1px solid var(--proof-rule);border-bottom:1px solid var(--proof-rule);padding:0 clamp(12px,2vw,32px);gap:4px}
.studio-body .proof-modebar button{color:#4d6155;font-size:12px;font-weight:750;padding:16px clamp(9px,1.5vw,22px);min-height:53px;border-bottom-width:3px}
.studio-body .proof-modebar button[aria-pressed=true]{color:var(--proof-ink);background:var(--proof-sheet);border-bottom-color:var(--proof-ink)}
.studio-body .inspection-pane{background:var(--proof-sheet);padding:clamp(20px,2.8vw,44px);color:var(--proof-ink)}
.studio-body .proof-pending{min-height:320px;display:flex;align-items:flex-start;justify-content:center;position:relative;gap:15px;overflow:hidden;border:1px solid #c6cabd;border-radius:0;padding:46px clamp(22px,4vw,58px);background:linear-gradient(120deg,#eeeae0 0%,#f5f4eb 60%,#edf0df 100%);color:var(--proof-ink)}
.studio-body .proof-pending:after{position:absolute;right:-20px;bottom:-97px;font:400 clamp(150px,19vw,320px)/1 Georgia,serif;color:#bcc5b9;opacity:.3;pointer-events:none}
.studio-body #xrayEmpty:after{content:"01"}
.studio-body #constellationEmpty:after{content:"02"}
.studio-body #evolutionEmpty:after{content:"03"}
.studio-body .proof-pending>*{position:relative;z-index:1}
.studio-body .proof-pending .empty-index{color:#9d5c3a;font-size:10px;letter-spacing:2px;font-weight:850}
.studio-body .proof-pending strong{font:400 clamp(30px,3vw,48px)/1.07 Georgia,serif;color:var(--proof-ink);letter-spacing:-1.4px;max-width:510px}
.studio-body .proof-pending p{color:#58685c;font-size:13px;line-height:1.6;max-width:400px}
.studio-body .proof-pending .text-button{color:#365d35;font-size:12px;text-decoration:underline;text-underline-offset:4px;font-weight:800}
.studio-body .proof-boundary{background:#e9ebe1;color:#3d5c3c;border-top:1px solid var(--proof-rule);padding:14px 30px;letter-spacing:1px;font-size:9px}
.studio-body .proof-boundary span{color:#65766b;font-size:11px}
.studio-body .inspection-title h3{color:var(--proof-ink);font:400 30px Georgia,serif}
.studio-body .inspection-title .tiny-meta{color:var(--proof-muted)}
.studio-body .xray-source{background:#222d2b;border-radius:0;border:1px solid #394b42}
.studio-body .source-heading{color:#d5e5d5;border-bottom-color:#485b50;font-size:9px}
.studio-body #xrayCaption{color:#e7ecdc;border-top-color:#485b50}
.studio-body .xray-inspection>label{font-size:12px;color:var(--proof-ink);font-weight:850}
.studio-body .xray-panel{background:transparent}
.studio-body .xray-panel .panel-title{color:#8a5c40}
.studio-body .xray-panel strong{color:var(--proof-ink);font:400 29px/1.22 Georgia,serif}
.studio-body .xray-panel p{color:#495b51;font-size:13px}
.studio-body .xray-panel small{color:#647569}
.studio-body .xray-panel .text-button{color:#355d32;text-decoration:underline}
.studio-body .xray-status{color:#345134;border-color:#9aa995;background:#eff4e7}
.studio-body .proof-selector{border:1px solid #adb9a9;background:#efefe7;color:#2d4136;border-radius:2px;font-weight:750;padding:10px 15px}
.studio-body .proof-selector[aria-pressed=true]{background:var(--proof-ink);color:var(--proof-lime);border-color:var(--proof-ink)}
.studio-body .network-inspector{grid-template-columns:minmax(0,1fr) 260px;gap:23px}
.studio-body .constellation{background:radial-gradient(ellipse at center,#384b3d88,transparent 77%),#1c2825;border:1px solid #344b3b;border-radius:0}
.studio-body .proof-node rect{fill:#263b31;stroke:#a0cbb0}
.studio-body .proof-node.selected rect{stroke:var(--proof-lime)}
.studio-body .proof-node-detail{border-color:#76935a;color:var(--proof-ink)}
.studio-body .proof-node-detail>strong{font:400 19px Georgia,serif;color:var(--proof-ink)}
.studio-body .proof-node-detail p,.studio-body .proof-node-detail small{color:#536357}
.studio-body .proof-node-detail .text-button{color:#376438}
.studio-body .claim-proof-note{color:#637366}
.studio-body .dna-row{border-color:#bdc7b9;background:#f0f1e8;border-radius:0}
.studio-body .dna-row summary,.studio-body .dna-label{color:var(--proof-ink)}
.studio-body .dna-status{color:#596e58}
.studio-body .dna-stage{background:#fafaf5;border:1px solid #b9c3b8;color:var(--proof-ink);border-radius:0}
.studio-body .dna-stage p,.studio-body .dna-explanation{color:#536256}
.studio-body .dna-stage button{color:#3d6d3d}


/* Audit dossier: legible document surface, not another dark statistics box. */
.studio-body .result-label{margin:30px 0 12px}
.studio-body .audit-card{background:var(--proof-sheet);border:1px solid var(--proof-ink);border-radius:0;color:var(--proof-ink);padding:clamp(20px,2.4vw,36px)}
.studio-body .audit-card .panel-heading{padding-bottom:17px;margin-bottom:19px;border-bottom:1px solid var(--proof-rule)}
.studio-body .audit-card .panel-title{font-size:11px;color:var(--proof-ink)}
.studio-body .audit-card .tiny-meta{color:var(--proof-muted)}
.studio-body .audit-card .disc-lilac{background:#8a74aa}
.studio-body .report-empty{min-height:220px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;padding:18px 7px;gap:9px;color:#52645a}
.studio-body .report-empty strong{font:400 clamp(29px,3.1vw,45px)/1.1 Georgia,serif;letter-spacing:-1px;color:var(--proof-ink)}
.studio-body .report-empty p{color:#58675d;font-size:13px;line-height:1.5}
.studio-body .empty-docs-link{color:#436a39;font-weight:750;text-decoration:underline;text-underline-offset:4px}
.studio-body .score-row{grid-template-columns:112px minmax(0,1fr);gap:26px;padding:10px 0 18px}
.studio-body .score-ring{width:112px;height:112px;background:conic-gradient(#496c3e calc(var(--score)*1%),#dfe5d7 0)}
.studio-body .score-ring:after{background:var(--proof-sheet)}
.studio-body .score-ring strong{font-size:35px;color:var(--proof-ink)}
.studio-body .score-ring small{color:#647366}
.studio-body .score-caption{color:#536b46}
.studio-body .score-info h3{font:400 clamp(24px,2.7vw,34px)/1.15 Georgia,serif;color:var(--proof-ink);letter-spacing:-.6px}
.studio-body .score-info p{color:#53625a;font-size:13px}
.studio-body .score-explanation{margin-top:10px;max-width:850px}
.studio-body .score-explanation summary{display:list-item;cursor:pointer;color:#446449;text-decoration:underline;text-underline-offset:3px;font-size:12px;font-weight:700}
.studio-body .score-explanation-content{margin-top:8px;padding:12px;border-left:2px solid #b9c7b4;color:#53625a;font-size:12px;line-height:1.6;white-space:pre-line;overflow-wrap:anywhere}
.studio-body .breakdown{border-top:1px solid var(--proof-rule);gap:0;grid-template-columns:repeat(4,minmax(0,1fr));padding:12px 0}
.studio-body .metric{background:transparent;border-right:1px solid var(--proof-rule);padding:13px 15px;border-radius:0}
.studio-body .metric:last-child{border-right:0}
.studio-body .metric span{color:#596b61;font-size:9px}
.studio-body .metric b{color:var(--proof-ink);font-size:25px}
.studio-body .report-tabs{border-bottom:1px solid var(--proof-rule);gap:0;margin-top:6px}
.studio-body .report-tabs button{color:#607165;font-weight:750;font-size:12px;min-height:52px;padding:14px 21px}
.studio-body .report-tabs button[aria-pressed=true]{background:#eef0e5;border-bottom:3px solid var(--proof-ink);color:var(--proof-ink)}
.studio-body .issues-heading{border-top:1px solid var(--proof-rule);color:var(--proof-ink);font-size:10px}
.studio-body .issues-heading span:last-child{color:#768477}
.studio-body .claim-evidence-item{background:#f2f3e9;border:1px solid #ccd5c6;border-radius:0;padding:20px}
.studio-body .claim-evidence-top{color:#57685b}
.studio-body .claim-evidence-claim{font:400 19px/1.4 Georgia,serif;color:var(--proof-ink)}
.studio-body .claim-evidence-fact{background:#e5eddd;border-left-color:#708f55}
.studio-body .claim-evidence-fact q{color:#394c3b}
.studio-body .claim-evidence-kicker{color:#476447}
.studio-body .claim-evidence-detail{color:#536157}
.studio-body .claim-evidence-action{color:#476541}
.studio-body .issue{border:1px solid #c7d0c5;background:#f2f2e9;border-radius:0}
.studio-body .issue-top{color:var(--proof-ink)}
.studio-body .issue-title{font-size:14px}
.studio-body .issue-cat{color:#65786a}
.studio-body .issue-details p{color:#53635a}
.studio-body .issue-chevron{color:#496e46}
.studio-body .recommendation{background:#e9efe0;border:1px solid #b4c6a5;border-radius:0;padding:20px}
.studio-body .recommendation>div{color:#415b39}
.studio-body .recommendation p{color:#2e4033;font-size:14px}
.studio-body .copy-icon{background:#d5e3cc;color:#33522e}
.studio-body .export-strip{border-top:1px solid var(--proof-rule);margin-top:28px;padding-top:20px}
.studio-body .export-strip strong{color:var(--proof-ink);font:400 21px Georgia,serif}
.studio-body .export-strip p{color:#647268;font-size:12px}
.studio-body .export-actions .btn{border:1px solid var(--proof-ink);border-radius:2px;background:var(--proof-ink);color:#e3f2c6;font-weight:700}
.studio-body .bottom-rail{border-top:1px solid var(--proof-rule);color:#617265;font-size:10px;padding-top:22px;margin-top:24px}
.studio-body .bottom-rail span:first-child{color:#47613e}
.studio-body .text-button{min-height:40px}
.studio-body :focus-visible{outline:3px solid #739145;outline-offset:3px}
.studio-body .sticky-cta-inner{background:#202824;border:1px solid #6c856e;border-radius:2px;color:#f5f7e9}
.studio-body .sticky-cta-label{color:#e6f0db}
.studio-body .sticky-cta-inner .btn{border-radius:2px;background:var(--proof-lime);color:var(--proof-ink)}
/* Modal is intentionally dark so judges can recognize protected API access. */
.studio-body .judge-access-dialog{color:#f6faed;background:#1e2724;border-radius:4px}
.studio-body .judge-access-dialog input{border-radius:2px}
.studio-body .judge-access-actions button{border-radius:2px}

/* Responsive layout: editorial proportions without tiny desktop text on phones. */
@media(min-width:1700px){
  .studio-body .studio-shell{grid-template-columns:266px minmax(0,1fr);gap:34px}
  .studio-body .workspace-grid{grid-template-columns:minmax(0,1.62fr) minmax(340px,.75fr)}
  .studio-body .dropzone{height:650px}
  .studio-body .engine-rail .deck-module strong{font-size:30px}
}
@media(max-width:1390px){
  .studio-body .workspace-head{grid-template-columns:1fr;gap:22px}
  .studio-body .progress-cluster{justify-items:start;gap:10px}
  .studio-body .studio-shell{grid-template-columns:209px minmax(0,1fr);gap:20px}
  .studio-body .workspace-grid{grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr)}
  .studio-body .engine-rail .deck-module strong{font-size:24px}
  .studio-body .dropzone{height:460px;min-height:430px}
}
@media(max-width:1080px){
  .studio-body .studio-nav{height:auto;min-height:76px;gap:16px;padding-top:10px;padding-bottom:10px}
  .studio-body .studio-actions{flex:1 1 0;min-width:0;flex-wrap:wrap;justify-content:flex-end;gap:8px 12px}
  .studio-body .studio-shell{grid-template-columns:minmax(0,1fr);gap:21px}
  .studio-body .engine-rail{position:static;min-height:0;padding:13px;background:var(--proof-ink)}
  .studio-body .engine-rail .deck-heading{padding:3px 6px 12px}
  .studio-body .engine-rail .deck-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
  .studio-body .engine-rail .deck-module{min-height:116px;border:0;border-right:1px solid #4a594c;padding:13px 10px}
  .studio-body .engine-rail .deck-module:last-child{border-right:0}
  .studio-body .engine-rail .deck-module strong{font-size:21px}
  .studio-body .engine-rail .module-purpose{display:none}
  .studio-body .engine-rail .deck-module .deck-bottom{font-size:10px}
  .studio-body .engine-rail .rail-session,.studio-body .engine-rail .public-tour{display:none}
  .studio-body .workspace-grid{grid-template-columns:minmax(0,1.3fr) minmax(270px,1fr)}
  .studio-body .preview-pane{max-width:none}
  .studio-body .network-inspector{grid-template-columns:minmax(0,1fr) 230px}
}
@media(max-width:800px){
  .studio-body .workspace{padding:24px 16px 36px}
  .studio-body .workspace-head{padding-bottom:21px;margin-bottom:21px}
  .studio-body .workspace-head h1{font-size:clamp(51px,10.6vw,78px);margin-top:18px}
  .studio-body .workspace-head h1 sup{font-size:9px;margin-left:12px}
  .studio-body .workspace-grid{grid-template-columns:minmax(0,1fr)}
  .studio-body .preview-pane{padding:14px}
  .studio-body .dropzone{height:clamp(370px,95vw,570px);min-height:360px}
  .studio-body .right-pane{width:100%}
  .studio-body .details-card{padding:25px 22px}
  .studio-body .source-form-intro{font-size:29px}
  .studio-body .details-card input,.studio-body .details-card textarea{font-size:16px}
  .studio-body .proof-heading{padding:23px}
  .studio-body .proof-heading h2{font-size:37px}
  .studio-body .proof-pending{padding:34px 28px;min-height:270px}
  .studio-body .proof-pending strong{font-size:34px}
  .studio-body .network-inspector{grid-template-columns:minmax(0,1fr)}
  .studio-body .proof-node-detail{border-left:0;border-top:2px solid #b2c1a6;padding:20px 0 0}
  .studio-body .pipeline-bar{flex-direction:column;align-items:stretch}
  .studio-body .pipeline-actions{display:grid;grid-template-columns:1fr 1fr}
  .studio-body .pipeline-actions .btn{width:100%}
}
@media(max-width:540px){
  .studio-body .workspace{padding:18px 11px 32px}
  .studio-body .studio-nav{padding:10px 13px}
  .studio-body .proofroom-overline{font-size:8px;letter-spacing:.75px;gap:6px}
  .studio-body .proofroom-rule{width:14px}
  .studio-body .proofroom-serial{padding:6px 7px}
  .studio-body .workspace-head h1{font-size:clamp(44px,12.1vw,65px);letter-spacing:-.078em;margin-bottom:10px}
  .studio-body .workspace-head h1 sup{display:block;font-size:9px;margin:9px 0 0}
  .studio-body .proofroom-subtitle{font-size:11px}
  .studio-body .progress-cluster{padding:0}
  .studio-body .progress-caption{font-size:8px}
  .studio-body .workflow-steps{width:100%;justify-content:space-between;gap:3px}
  .studio-body .workflow-steps .stage{font-size:8px;gap:3px;letter-spacing:-.2px}
  .studio-body .workflow-steps .stage b{width:26px;height:26px;font-size:8px}
  .studio-body .engine-rail{padding:9px}
  .studio-body .engine-rail .deck-module{min-height:101px;padding:11px 7px;gap:7px}
  .studio-body .engine-rail .deck-id{font-size:7px;letter-spacing:0;line-height:1.2}
  .studio-body .engine-rail .deck-id span{display:none}
  .studio-body .engine-rail .deck-module strong{font-size:clamp(14px,3.9vw,19px);letter-spacing:-.65px}
  .studio-body .engine-rail .deck-module .deck-bottom{font-size:8px;min-height:0}
  .studio-body .preview-pane .panel-heading{gap:7px}
  .studio-body .preview-actions{max-width:100%}
  .studio-body .preview-actions .mini-tab{padding:8px 7px;font-size:10px}
  .studio-body .dropzone{height:360px;min-height:330px}
  .studio-body .empty-canvas{padding:20px 12px 34px}
  .studio-body .empty-title{font-size:clamp(22px,7vw,29px)}
  .studio-body .canvas-art{height:83px;width:83px;margin-bottom:7px}
  .studio-body .canvas-field-note{font-size:7px;letter-spacing:.7px}
  .studio-body .details-card{padding:20px 18px}
  .studio-body .source-form-intro{font-size:26px;margin-bottom:14px}
  .studio-body .pipeline-bar{padding:16px}
  .studio-body .pipeline-actions .btn{font-size:10px;padding:10px 7px}
  .studio-body .proof-heading{padding:20px 17px}
  .studio-body .proof-heading h2{font-size:33px}
  .studio-body .proof-modebar{padding:0 7px}
  .studio-body .proof-modebar button{padding:10px 5px;font-size:10px;flex:1;min-width:0}
  .studio-body .inspection-pane{padding:14px}
  .studio-body .proof-pending{min-height:230px;padding:24px 20px}
  .studio-body .proof-pending strong{font-size:30px}
  .studio-body .proof-pending p{font-size:12px}
  .studio-body .proof-pending:after{bottom:-48px;right:-10px;font-size:190px}
  .studio-body .audit-card{padding:17px}
  .studio-body .report-empty{min-height:166px}
  .studio-body .score-row{grid-template-columns:78px minmax(0,1fr);gap:13px}
  .studio-body .score-ring{width:78px;height:78px}
  .studio-body .score-ring strong{font-size:25px}
  .studio-body .score-info h3{font-size:22px}
  .studio-body .breakdown{grid-template-columns:repeat(2,minmax(0,1fr))}
  .studio-body .metric:nth-child(2){border-right:0}
  .studio-body .metric{padding:10px}
  .studio-body .report-tabs button{padding:11px 9px;font-size:11px}
  .studio-body .export-strip{flex-direction:column;align-items:stretch}
  .studio-body .export-actions{display:grid;grid-template-columns:1fr 1fr}
  .studio-body .export-actions .btn{font-size:10px;padding:12px 7px}
  .studio-body .bottom-rail{font-size:9px}
}
@media(max-width:360px){
  .studio-body .workspace-head h1{font-size:43px}
  .studio-body .proofroom-overline{font-size:7px}
  .studio-body .engine-rail .deck-module strong{font-size:13px}
  .studio-body .engine-rail .deck-module{padding:10px 5px}
  .studio-body .studio-nav .brand{font-size:19px}
  .studio-body .dropzone{height:328px}
}
@media(prefers-reduced-motion:reduce){
  .studio-body *, .studio-body *:before,.studio-body *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}


/* First-fold discipline: the creative surface must start in the first
   desktop viewport, including 1280px laptops, not below a tall masthead. */
@media(min-width:1100px){
 .studio-body .workspace{padding-top:18px}
 .studio-body .workspace-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:end;padding-bottom:14px;margin-bottom:14px}
 .studio-body .workspace-head h1{font-size:clamp(60px,4.3vw,80px);margin:12px 0 7px;line-height:.93}
 .studio-body .workspace-head h1 sup{margin-top:7px;font-size:9px}
 .studio-body .proofroom-overline{font-size:9px}
 .studio-body .proofroom-subtitle{font-size:12px}
 .studio-body .progress-cluster{justify-items:end;gap:9px;padding-bottom:5px}
 .studio-body .progress-caption{font-size:9px}
 .studio-body .section-label{margin-bottom:8px}
 .studio-body .preview-pane .panel-heading{margin-bottom:11px}
}
@media(max-width:540px){
 .studio-body .workspace-head{gap:12px;margin-bottom:14px;padding-bottom:14px}
 .studio-body .workspace-head h1{margin-top:12px}
 .studio-body .progress-cluster{gap:7px}
 .studio-body .engine-rail .deck-module{min-height:90px}
 .studio-body .engine-rail .deck-module .deck-bottom{font-size:8px}
}


/* ─── Truthful, data-free Proofroom wireframes ──────────────────────────
   These are labelled explanatory diagrams, not mock AI audit output.
   All result panels still mount only after the actual provider response.
   -------------------------------------------------------------------- */
.studio-body .proof-pending.proof-pending-rich{
  display:grid;
  grid-template-columns:minmax(0,.84fr) minmax(300px,1.16fr);
  align-items:center;
  gap:clamp(22px,3.5vw,56px);
  min-height:348px;
  padding:clamp(24px,3.2vw,49px);
  background:linear-gradient(135deg,#f3f2e9,#e9ece1);
  overflow:hidden;
}
.studio-body .proof-pending.proof-pending-rich:after{display:none}
.studio-body .proof-pending-rich .pending-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:14px;
  min-width:0;
}
.studio-body .proof-pending-rich .pending-copy>.empty-index{font-size:10px;letter-spacing:1.5px;color:#966246;font-weight:850}
.studio-body .proof-pending-rich .pending-copy>strong{
  font-size:clamp(28px,3vw,44px);
  max-width:400px;
  line-height:1.13;
  margin:0;
  letter-spacing:-1.2px;
}
.studio-body .proof-pending-rich .pending-copy>p{
  max-width:390px;
  margin:0;
  font-size:13px;
  line-height:1.65;
  color:#4e6254;
}
.studio-body .proof-pending-rich .pending-copy .text-button{
  margin-top:4px;
  min-height:42px;
  padding:6px 0;
  font-size:12px;
  font-weight:800;
}
.studio-body .pending-demo-disclaimer{
  display:block;
  font:800 9px/1.5 ui-sans-serif,system-ui,sans-serif;
  letter-spacing:1.2px;
  color:#647466;
  max-width:100%;
}
.studio-body .pending-visual,
.studio-body .report-wireframe{
  display:flex;
  flex-direction:column;
  background:#fbfcf7;
  border:1px solid #a4b2a4;
  box-shadow:9px 10px 0 #dce4d7;
  min-width:0;
  overflow:hidden;
  color:#36483c;
  border-radius:2px;
}
.studio-body .pending-visual{min-height:225px;max-width:560px;width:100%;justify-self:end}
.studio-body .wire-header,.studio-body .wire-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:11px 13px;
  color:#526858;
  font:800 9px/1.3 ui-sans-serif,system-ui,sans-serif;
  letter-spacing:.95px;
  text-align:left;
}
.studio-body .wire-header{background:#e7ede4;border-bottom:1px solid #b9c8b8}
.studio-body .wire-footer{background:#f0f3ed;border-top:1px solid #c7d2c5;margin-top:auto;font-size:8px}
.studio-body .wire-footer span:last-child{font-size:17px;color:#507848}
.studio-body .wire-xray-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(82px,.7fr);gap:13px;padding:20px;flex:1}
.studio-body .wire-sheet{position:relative;border:1px solid #97ae9a;background:repeating-linear-gradient(0deg,#f0f5ed 0,#f0f5ed 18px,#e1ebe0 19px);padding:13px;display:flex;flex-direction:column;gap:8px;min-height:137px}
.studio-body .wire-sheet .wire-thumb{height:48px;background:linear-gradient(135deg,#a7bcac 45%,#dce9da 45%);border:1px solid #a2b7a7;width:56%}
.studio-body .wire-sheet i,.studio-body .wire-pointers i,.studio-body .wire-version i{display:block;height:7px;border-radius:3px;background:#b9cbb9}
.studio-body .wire-sheet i:nth-of-type(1){width:90%}
.studio-body .wire-sheet i:nth-of-type(2){width:62%}
.studio-body .wire-sheet i:nth-of-type(3){width:76%}
.studio-body .wire-cross{position:absolute;top:38%;left:64%;border:1px solid #8b9c92;border-radius:50%;width:31px;height:31px;display:grid;place-items:center;background:#f1f7ea;color:#507451;font-size:19px}
.studio-body .wire-pointers{display:flex;flex-direction:column;gap:9px;justify-content:center}
.studio-body .wire-pointers span{font-size:9px;letter-spacing:1px;color:#49614d;font-weight:850}
.studio-body .wire-pointers i{width:100%;height:6px}
.studio-body .wire-pointers i:nth-of-type(2){width:68%}
.studio-body .wire-pointers i:nth-of-type(3){width:83%}
.studio-body .graph-wire svg{width:100%;min-height:178px;flex:1;padding:4px 10px;display:block;overflow:visible;background:radial-gradient(ellipse at center,#e6efe3,transparent 85%)}
.studio-body .wire-dna-body{display:grid;grid-template-columns:minmax(0,1fr) 43px minmax(0,1fr);align-items:center;gap:6px;padding:25px 18px;flex:1}
.studio-body .wire-version{display:flex;flex-direction:column;gap:12px;background:#f1f3ec;border:1px solid #b4c4b4;min-height:138px;padding:13px}
.studio-body .wire-version span{font:400 27px Georgia,serif;color:#9bad9b}
.studio-body .wire-version b{font-size:10px;letter-spacing:1px;color:#566b58}
.studio-body .wire-version i{width:88%}
.studio-body .wire-version i:last-child{width:60%}
.studio-body .wire-version-path{display:grid;place-items:center;color:#658368;font-size:28px}
.studio-body .report-empty.report-empty-rich{
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(300px,1.05fr);
  align-items:center;
  gap:clamp(26px,4vw,66px);
  min-height:309px;
  padding:30px clamp(12px,2.4vw,34px);
  text-align:left;
}
.studio-body .report-idle-copy{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}
.studio-body .report-idle-copy .empty-index{font-size:10px;font-weight:850;letter-spacing:1.5px;color:#9b6045}
.studio-body .report-idle-copy>strong{font:400 clamp(31px,3.8vw,55px)/1.08 Georgia,serif;letter-spacing:-1.6px;color:#202824;margin:0}
.studio-body .report-idle-copy>p{font-size:13px;line-height:1.6;color:#58695d;max-width:390px;margin:0}
.studio-body .report-empty-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:8px 0 2px}
.studio-body .report-explore,.studio-body .report-upload-link{font:800 12px ui-sans-serif,system-ui,sans-serif;min-height:44px;cursor:pointer;text-align:center}
.studio-body .report-explore{background:#202824;color:#e3f3c4;padding:11px 17px;border:1px solid #202824;border-radius:2px}
.studio-body .report-explore:hover,.studio-body .report-explore:focus-visible{background:#364939}
.studio-body .report-upload-link{border:0;border-bottom:1px solid #60785d;background:transparent;color:#476a40;padding:10px 4px}
.studio-body .report-wireframe{width:100%;min-height:239px;box-shadow:9px 10px 0 #e3e9dc}
.studio-body .report-wire-content{display:grid;grid-template-columns:86px minmax(0,1fr);gap:23px;align-items:center;padding:24px 19px 14px;flex:1}
.studio-body .report-wire-graphic{border:7px solid #d3ddd0;border-radius:50%;width:80px;height:80px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#f5f9f2;gap:0}
.studio-body .report-wire-graphic span:first-child{font:400 27px Georgia,serif;color:#809e7e;line-height:1}
.studio-body .report-wire-graphic span:last-child{font-size:8px;letter-spacing:.5px;color:#557458;font-weight:850}
.studio-body .report-wire-lines{display:flex;flex-direction:column;gap:11px}
.studio-body .report-wire-lines i{display:block;height:8px;background:#c6d5c6;border-radius:2px}
.studio-body .report-wire-lines i:nth-child(2){width:84%}
.studio-body .report-wire-lines i:nth-child(3){width:92%}
.studio-body .report-wire-lines i:nth-child(4){width:67%}
.studio-body .report-wire-steps{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:9px}
.studio-body .report-wire-steps span{background:#e7eee2;border-top:3px solid #9caf98;text-align:center;padding:8px 2px;font-size:8px;letter-spacing:.4px;color:#547052;font-weight:850}
@media(max-width:1150px){
  .studio-body .proof-pending.proof-pending-rich{grid-template-columns:1fr;gap:25px;padding:31px}
  .studio-body .pending-visual{max-width:100%;justify-self:stretch}
  .studio-body .report-empty.report-empty-rich{grid-template-columns:1fr;gap:25px;padding:26px}
  .studio-body .report-wireframe{max-width:640px}
}
@media(max-width:760px){
  .studio-body .proof-pending.proof-pending-rich{padding:24px 18px;min-height:0;gap:18px}
  .studio-body .proof-pending-rich .pending-copy{gap:10px}
  .studio-body .proof-pending-rich .pending-copy>strong{font-size:clamp(28px,7vw,37px)}
  .studio-body .pending-visual{min-height:191px}
  .studio-body .report-empty.report-empty-rich{padding:24px 10px;gap:24px}
  .studio-body .report-idle-copy>strong{font-size:clamp(32px,8vw,45px)}
  .studio-body .report-wire-content{padding:19px 13px 12px}
}
@media(max-width:390px){
  .studio-body .pending-visual .wire-header,.studio-body .pending-visual .wire-footer{font-size:7px;letter-spacing:.5px;padding:9px}
  .studio-body .report-wireframe .wire-header,.studio-body .report-wireframe .wire-footer{font-size:7px;letter-spacing:.5px;padding:9px}
  .studio-body .wire-xray-body{padding:14px;gap:10px}
  .studio-body .wire-dna-body{padding:16px 8px}
  .studio-body .wire-version{padding:9px;min-height:130px}
  .studio-body .wire-version b{font-size:8px;letter-spacing:.1px}
  .studio-body .report-wire-content{grid-template-columns:71px minmax(0,1fr);gap:12px}
  .studio-body .report-wire-graphic{height:68px;width:68px;border-width:6px}
  .studio-body .report-wire-steps span{font-size:7px}
  .studio-body .pending-demo-disclaimer{font-size:8px;letter-spacing:.7px}
}


/* Honest, persistent demo access and model response indicators.
   A configured server key is NOT proof of a live model response. */
.studio-body .access-status-strip{
  background:#26312a;
  color:#eaf0e6;
  border-bottom:1px solid #566a53;
  display:flex;
  align-items:center;
  gap:clamp(16px,2.4vw,38px);
  padding:9px clamp(16px,3vw,62px);
  min-height:49px;
  font-family:ui-sans-serif,system-ui,sans-serif;
}
.studio-body .access-status-item{display:flex;align-items:center;gap:10px;min-width:0}
.studio-body .access-status-name{
  white-space:nowrap;color:#a1b6a4;font-size:9px;
  font-weight:850;letter-spacing:1.1px;
}
.studio-body .access-status-item strong{
  font-size:11px;line-height:1.4;font-weight:750;color:#e0e8db;
}
.studio-body .access-status-item strong[data-state=verified]{color:#d0f7a0}
.studio-body .access-status-item strong[data-state=partial]{color:#d5e5a7}
.studio-body .access-status-item strong[data-state=invalid]{color:#ffbf9f}
.studio-body .access-status-item strong[data-state=checking]{color:#f4d5a7}
.studio-body .access-status-note{
  margin-left:auto;font-size:10px;line-height:1.4;color:#b0bfb1;
  text-align:right;
}
.studio-body .judge-access-error{
  background:#422b2a;border:1px solid #9c655b;color:#ffddd3;
  border-radius:3px;padding:11px 13px;margin:2px 0 0;
  font-size:12px;line-height:1.5;
}
.studio-body .judge-access-error[hidden]{display:none!important}
.studio-body .judge-access-button:disabled,.studio-body .judge-save:disabled{
  opacity:.56;cursor:wait;
}
@media(max-width:1000px){
  .studio-body .access-status-strip{flex-wrap:wrap;gap:5px 17px;min-height:0;padding:10px 16px}
  .studio-body .access-status-note{flex:1 0 100%;margin-left:0;text-align:left;font-size:9px}
}
@media(max-width:600px){
  .studio-body .access-status-strip{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:9px 12px}
  .studio-body .access-status-item{display:grid;gap:2px;align-content:start}
  .studio-body .access-status-name{font-size:8px;letter-spacing:.8px}
  .studio-body .access-status-item strong{font-size:10px;line-height:1.35;overflow-wrap:anywhere}
  .studio-body .access-status-note{grid-column:1/-1;font-size:9px}
}

/* Maintain the creative artboard in the first desktop fold after adding statuses. */
@media(min-width:1100px){
  .studio-body .workspace{padding-top:6px}
  .studio-body .workspace-head{padding-bottom:10px;margin-bottom:8px}
  .studio-body .section-label{margin-bottom:5px}
}


/* Claim DNA audit-trace provenance: a cross-source observation is not
   proof that image-editing moved, removed or introduced the actual claim. */
.studio-body #evolutionNote{
  display:block;
  padding:14px 17px;
  margin:14px 0;
  color:#344b39;
  border:1px solid #a4b39b;
  border-left:4px solid #78966c;
  background:#eaf0e5;
  font-size:12px;
  line-height:1.6;
}
.studio-body .dna-origin-shift{
  grid-column:2 / -1;
  color:#6d634b;
  font-size:10px;
  font-weight:850;
  letter-spacing:.65px;
  text-align:right;
  line-height:1.6;
}
.studio-body .status-cross_source_observed{border-color:#b0bb9d;background:#ecf0e4}
.studio-body .status-cross_source_observed .dna-status{color:#506d3f;font-weight:850}
.studio-body .status-not_redetected .dna-status{color:#875d46}
.studio-body .status-newly_detected .dna-status{color:#4f6f5a}
@media(max-width:760px){
 .studio-body .dna-origin-shift{grid-column:2;text-align:left;font-size:9px}
 .studio-body #evolutionNote{font-size:11px;padding:12px}
}


/* Actionable post-audit guidance; no fake success badges or decorative warnings. */
.studio-body .repair-journey{margin:0 0 16px;padding:17px 19px;background:#f1f3ed;border:1px solid #c9d2c5;color:#25392e}
.studio-body .repair-journey[hidden]{display:none!important}
.studio-body .repair-journey-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.studio-body .repair-journey-head strong{font-size:16px;font-weight:750}
.studio-body .repair-journey-head span{font-size:10px;letter-spacing:.4px;font-weight:800;color:#426348}
.studio-body .repair-journey[data-phase=blocked] .repair-journey-head span{color:#855b39}
.studio-body .repair-journey-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin:0}
.studio-body .repair-journey-steps>div{min-width:0;padding-bottom:7px;border-bottom:1px solid #d6ded2}
.studio-body .repair-journey-steps>div[hidden]{display:none}
.studio-body .repair-journey dt{font-size:10px;font-weight:800;color:#4c6656;margin-bottom:5px}
.studio-body .repair-journey dd{margin:0;color:#29372e;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.studio-body .repair-journey-guidance{font-size:12px;color:#6c513c;font-weight:650;margin:12px 0 0}
.studio-body .repair-journey-next{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:14px}
.studio-body .repair-journey-next p{font-size:12px;line-height:1.5;margin:0;flex:1}
.studio-body .repair-journey-next button{flex-shrink:0;max-width:240px}
.studio-body .repair-journey small{display:block;font-size:10px;color:#607166;margin-top:9px}
@media(max-width:760px){
 .studio-body .repair-journey{padding:13px 12px}
 .studio-body .repair-journey-steps{grid-template-columns:1fr;gap:9px}
 .studio-body .repair-journey-next{align-items:stretch;flex-direction:column}
 .studio-body .repair-journey-next button{width:100%;max-width:none}
}

/* Existing Audit Dossier: repair candidates are never silently approved. */
.studio-body .repair-guard-notice{
  margin:3px 0 17px;
  padding:16px 19px;
  border:1px solid #b8b9a5;
  border-left:5px solid #85714c;
  background:#f0ece0;
  color:#493f2d;
  font-size:13px;
  font-weight:650;
  line-height:1.65;
  overflow-wrap:anywhere;
}
.studio-body .repair-guard-notice[data-level=warning]{
  background:#eff1ec;
  border-color:#aab7ad;
  border-left-color:#607b6b;
  color:#293e32;
}
.studio-body .repair-guard-notice[hidden]{display:none!important}
@media(max-width:600px){
  .studio-body .repair-guard-notice{padding:13px 15px;font-size:12px;margin-bottom:14px}
}


/* Audit archive: local-only, read-only rehydration of verified saved evidence. */
.studio-body .archive-restore-notice{
  display:block;
  margin:12px 20px 14px;
  padding:14px 18px;
  color:#324735;
  background:#ebf0e5;
  border:1px solid #a8b89d;
  border-left:5px solid #758965;
  line-height:1.55;
  font-size:12px;
  font-weight:650;
  overflow-wrap:anywhere;
}
.studio-body .archive-restore-notice[hidden]{display:none!important}
.studio-body .export-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;min-width:0}
.studio-body .export-actions .btn{white-space:normal;max-width:100%;min-height:37px;line-height:1.25}
.studio-body #importReportInput[hidden]{display:none!important}
@media(max-width:760px){
  .studio-body .archive-restore-notice{margin:10px;padding:12px;font-size:11px}
  .studio-body .export-actions{justify-content:stretch}
  .studio-body .export-actions .btn{flex:1 1 140px}
}


/* In-place continuation of an imported audit — explicit, never automatic. */
.studio-body .archive-continue-actions{
 margin:0 20px 16px;padding:17px 20px;border:1px solid #a2b48f;background:#e4eddb;color:#243b2c;
}
.studio-body .archive-continue-actions[hidden],
.studio-body .archive-history-panel[hidden]{display:none!important}
.studio-body .archive-continue-actions>strong{font-family:ui-sans-serif,system-ui,sans-serif;font-size:13px;letter-spacing:.4px}
.studio-body .archive-continue-actions p{max-width:760px;font-size:12px;line-height:1.65;margin:8px 0 15px;color:#476049}
.studio-body .archive-continue-buttons{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.studio-body .archive-continue-buttons button{
 min-height:45px;padding:10px 16px;border:1px solid #6c885b;background:#274635;color:#f1f5e9;font-size:12px;font-weight:750;cursor:pointer;max-width:100%;
}
.studio-body .archive-continue-buttons button:disabled{opacity:.45;cursor:not-allowed}
.studio-body .archive-continue-buttons button:focus-visible{outline:3px solid #9fc462;outline-offset:3px}
.studio-body .archive-history-panel{margin:0 20px 15px;padding:12px 16px;border:1px solid #c5c8bb;background:#f5f5ee;color:#293931}
.studio-body .archive-history-panel summary{cursor:pointer;font-size:12px;font-weight:750;line-height:1.5}
.studio-body .archive-history-panel ol{margin:12px 0 0 20px;padding:0;font-size:12px;line-height:1.75}
.studio-body .archive-history-panel li{padding:3px 0;overflow-wrap:anywhere}
@media(max-width:760px){
 .studio-body .archive-continue-actions,.studio-body .archive-history-panel{margin:0 10px 12px;padding:13px}
 .studio-body .archive-continue-buttons{display:grid;grid-template-columns:minmax(0,1fr)}
 .studio-body .archive-continue-buttons button{width:100%;text-align:left;white-space:normal}
}


/* Language choice belongs to the real Studio chrome, not to claim evidence. */
.studio-body .studio-actions .language-picker{
 display:inline-flex;align-items:center;gap:8px;min-width:0;margin-right:3px;
 color:#d6e2d1;font-size:10px;font-weight:650;letter-spacing:.2px;white-space:nowrap;
}
.studio-body .studio-actions .language-picker>span{opacity:.85}
.studio-body .studio-actions .language-picker select{
 color:#edf4ea;background:#243329;border:1px solid #677d66;border-radius:5px;
 min-height:36px;min-width:114px;max-width:158px;padding:7px 22px 7px 9px;
 font:600 11px/1.2 system-ui,sans-serif;cursor:pointer;
}
.studio-body .studio-actions .language-picker select:focus-visible{
 outline:3px solid #bcdb87;outline-offset:2px;
}
.studio-body .studio-actions .language-picker option{color:#17271b;background:#f3f6e9}
@media(max-width:760px){
 .studio-body .studio-actions .language-picker{gap:4px;margin-right:0}
 .studio-body .studio-actions .language-picker>span{display:none}
 .studio-body .studio-actions .language-picker select{min-width:99px;max-width:125px;min-height:34px;font-size:10px;padding:6px 18px 6px 6px}
}
@media(max-width:380px){
 .studio-body .studio-actions .language-picker select{min-width:92px;max-width:108px;font-size:9px}
}


/* Historical evidence remains in its source language after changing UI locale. */
.studio-body .archive-language-note{
 display:block;margin:0 20px 15px;padding:11px 16px;
 border:1px solid #b9c5b0;border-left:4px solid #6e8667;
 background:#f0f4e9;color:#38513d;font-size:12px;line-height:1.65;
}
.studio-body .archive-language-note[hidden]{display:none!important}
@media(max-width:760px){
 .studio-body .archive-language-note{margin:0 10px 12px;padding:11px 12px;font-size:11px}
}


/* Mobile header must grow naturally when Language + private Judge Access wrap. */
@media(max-width:600px){
 .studio-body .studio-nav{
  display:flex;flex-direction:column;align-items:stretch;
  height:auto!important;min-height:0!important;
  padding:11px 13px 12px;gap:8px;
 }
 .studio-body .studio-nav .brand{align-self:flex-start;flex:0 0 auto}
 .studio-body .studio-actions{
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;width:100%;min-width:0;gap:6px 8px;
 }
 .studio-body .studio-actions .language-picker{flex:0 1 auto;order:0}
 .studio-body .studio-actions .connection{flex:1 1 100px;order:1;min-width:0}
 .studio-body .studio-actions .judge-access-button{flex:0 1 auto;order:2;min-width:0}
 .studio-body .studio-actions .icon-link{flex:0 0 auto;order:3}
}


/* Public, non-AI tutorial chain. Built with native details and in-page links:
   navigation never triggers a paid audit, repair or verification. */
.studio-body .tutorial-banner{
  margin:0 0 18px;
  border:1px solid #879888;
  background:#f6f7ef;
  color:var(--proof-ink,#202824);
  max-width:100%;
  min-width:0;
}
.studio-body .tutorial-banner>summary{
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  list-style:none;cursor:pointer;min-height:63px;padding:12px 20px;
}
.studio-body .tutorial-banner>summary::-webkit-details-marker{display:none}
.studio-body .tutorial-identity{display:flex;gap:16px;align-items:center;min-width:0;flex-wrap:wrap}
.studio-body .tutorial-kicker{
  font-size:9px;letter-spacing:1.2px;font-weight:850;color:#5a6e55;
}
.studio-body .tutorial-identity strong{font-size:16px;font-weight:800;letter-spacing:-.3px}
.studio-body .tutorial-toggle{
  flex:0 0 auto;color:#36553d;font-size:11px;font-weight:800;
  text-decoration:underline;text-underline-offset:3px;
}
.studio-body .tutorial-closed-label{display:none}
.studio-body .tutorial-banner:not([open]) .tutorial-closed-label{display:inline}
.studio-body .tutorial-banner:not([open]) .tutorial-open-label{display:none}
.studio-body .tutorial-body{padding:0 18px 14px;border-top:1px solid #d4dbce}
.studio-body .tutorial-chain{
  list-style:none;margin:13px 0 0;padding:0;display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;
}
.studio-body .tutorial-chain li{min-width:0;position:relative}
.studio-body .tutorial-chain li:not(:last-child)::after{
  content:'→';position:absolute;right:-12px;top:51%;transform:translateY(-50%);
  font-weight:900;font-size:15px;color:#5b7c58;z-index:1;
  pointer-events:none;
}
.studio-body .tutorial-step{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;
  grid-template-rows:auto 1fr;align-content:start;gap:7px 9px;
  min-width:0;min-height:126px;height:100%;padding:14px;
  background:#e9eee4;border:1px solid #bbc9b6;
  color:#24382b;text-decoration:none;transition:background .16s,border-color .16s;
}
.studio-body .tutorial-step:hover,.studio-body .tutorial-step:focus-visible{
  background:#e0ebd4;border-color:#52744b;
}
.studio-body .tutorial-step:focus-visible,.studio-body .tutorial-banner>summary:focus-visible{
  outline:3px solid #6d923d;outline-offset:2px;
}
.studio-body .tutorial-number{
  display:grid;place-items:center;grid-column:1;grid-row:1;
  background:#273e30;color:#e0f5b1;
  width:28px;height:28px;font-size:10px;font-weight:850;
}
.studio-body .tutorial-step strong{
  grid-column:2;grid-row:1;align-self:center;font-size:12px;line-height:1.3;
}
.studio-body .tutorial-copy{
  grid-column:1/4;grid-row:2;color:#526358;
  font-size:11px;line-height:1.5;overflow-wrap:anywhere;
}
.studio-body .tutorial-jump{
  grid-column:3;grid-row:1;align-self:center;
  font-size:14px;font-weight:900;
}
@media(max-width:1100px){
 .studio-body .tutorial-chain{grid-template-columns:repeat(2,minmax(0,1fr))}
 .studio-body .tutorial-chain li:nth-child(2)::after{display:none}
 .studio-body .tutorial-step{min-height:116px}
}
@media(max-width:760px){
 .studio-body .tutorial-banner{margin-bottom:13px}
 .studio-body .tutorial-banner>summary{min-height:56px;padding:11px 12px;gap:8px}
 .studio-body .tutorial-identity{gap:3px;flex-direction:column;align-items:flex-start}
 .studio-body .tutorial-kicker{font-size:8px}
 .studio-body .tutorial-identity strong{font-size:14px}
 .studio-body .tutorial-toggle{font-size:10px}
 .studio-body .tutorial-body{padding:0 0 12px}
 .studio-body .tutorial-chain{
   display:grid;grid-auto-flow:column;
   grid-auto-columns:minmax(208px,74%);
   grid-template-columns:none;gap:12px;margin:11px 0 0;padding:0 12px 7px;
   overflow-x:auto;overscroll-behavior-inline:contain;
   scroll-snap-type:x proximity;scroll-padding-left:12px;
 }
 .studio-body .tutorial-chain li{scroll-snap-align:start}
 .studio-body .tutorial-chain li:nth-child(2)::after{display:block}
 .studio-body .tutorial-step{min-height:146px;padding:12px}
}
@media(prefers-reduced-motion:reduce){
 .studio-body .tutorial-step{transition:none}
}

/* Consistency controls extend the existing Proofroom; no additional dashboard. */
.consistency-controls,.output-controls,.consistency-result{padding:22px;border:1px solid #cecbbf;background:#f4f2e9;color:#252823;margin:18px 0;min-width:0;overflow-wrap:anywhere}
.consistency-controls{display:grid;grid-template-columns:minmax(180px,1fr) minmax(260px,2fr);gap:22px}
.consistency-controls label,.output-controls label{font-size:13px;font-weight:600;display:grid;gap:7px;min-width:0}
.consistency-controls select,.consistency-controls input[type=number],.output-controls select,.output-controls input[type=number]{width:100%;min-width:0;padding:10px;border:1px solid #aaa99f;background:#fffef8;color:#242621;font:inherit;border-radius:3px}
.consistency-controls select:focus,.output-controls select:focus{outline:2px solid #596b22;outline-offset:2px}
.lock-fieldset{border:0;min-width:0;padding:0;margin:0}.lock-fieldset legend{font-weight:700;font-size:14px;margin-bottom:10px}
.lock-list{display:flex;flex-wrap:wrap;gap:8px}.consistency-controls .lock-toggle{display:flex;align-items:center;gap:6px;border:1px solid #b7b7a8;padding:8px 10px;border-radius:4px}.lock-toggle:has(input:checked){background:#e0e8bc;border-color:#829343}
.consistency-controls input[type=checkbox],.output-controls input[type=checkbox]{width:17px;height:17px;accent-color:#526b26;flex-shrink:0}
.control-note{font-size:12px;line-height:1.6;color:#555c4e;margin:10px 0}.region-settings{grid-column:1/-1}.region-settings summary,.consistency-result summary{cursor:pointer;font-size:13px;font-weight:600}.region-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-width:580px;margin:14px 0}
.consistency-controls .check-label,.output-controls .check-label{display:flex;align-items:center;gap:9px;margin:12px 0;line-height:1.5}.region-preview{position:relative;width:fit-content;max-width:100%;margin-top:8px;line-height:0}.region-preview img{max-width:100%;max-height:280px;display:block}.region-preview div{position:absolute;border:2px solid #db431d;background:#fae8aa44;pointer-events:none;box-sizing:border-box}
.output-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0}.output-fields[hidden]{display:none}#printFields{grid-template-columns:repeat(5,minmax(0,1fr))}.output-preview{max-width:100%;max-height:420px;object-fit:contain;margin-top:12px;background:repeating-conic-gradient(#ccc 0% 25%,#fff 0% 50%) 0/20px 20px}.output-controls h3,.consistency-result h3{font-size:18px;margin:0 0 12px}.lock-results{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px 20px;font-size:13px;max-width:700px}.lock-results dt{font-weight:600}.lock-results dd{margin:0}.consistency-result details p{font-size:12px;line-height:1.6;margin:10px 0}
@media(max-width:700px){.consistency-controls{grid-template-columns:minmax(0,1fr)}.output-fields,#printFields{grid-template-columns:repeat(2,minmax(0,1fr))}.consistency-controls,.output-controls,.consistency-result{padding:15px}.region-fields{gap:7px}.lock-list{gap:6px}.consistency-controls .lock-toggle{font-size:12px;padding:7px}.lock-results{gap:8px;font-size:12px}}
.output-controls .btn-outline{color:#263527;border-color:#7a836e;background:transparent}.output-controls .btn-outline:disabled{opacity:.5}

/* The format preview is a real pair of images, never a marketing mockup. */
.format-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;margin:12px 0}
.format-preview[hidden]{display:none}
.format-preview img{display:block;width:100%;max-height:360px;object-fit:contain;border:1px solid #b4b8ab;background:#ddd}
.output-controls #adaptOutput{margin:5px 0 0;min-height:44px;border:1px solid #7a836e;background:#e6ebd9;color:#263527}
.output-controls #adaptOutput:disabled{opacity:.5}
@media(max-width:520px){.format-preview{grid-template-columns:minmax(0,1fr)}}

/* Caption is never silently rewritten by Muse Image. Warn next to the exact input. */
.caption-safety-notice{padding:12px 14px;border-left:4px solid #aa743d;background:#fff4dc;color:#54391f;font-size:13px;line-height:1.5;margin:10px 0 16px}
.caption-safety-notice[hidden]{display:none}


/* Explicit visual styling + honest current-stage status. No faux progress %. */
.studio-body #applyVisualStyle{margin-top:9px;max-width:100%;white-space:normal;text-align:left;line-height:1.45}
.studio-body .live-repair-progress{
 padding:11px 15px;margin:10px 0;border:1px solid #9eaf98;
 background:#e5efe0;color:#243a2c;font-size:12px;font-weight:650;line-height:1.55;
}
.studio-body .live-repair-progress[hidden]{display:none!important}
@media(max-width:760px){
 .studio-body #applyVisualStyle{width:100%}
 .studio-body .live-repair-progress{padding:10px 12px;font-size:12px}
}
