:root{--ink:#17231f;--muted:#6b7771;--line:#dfe4e0;--paper:#fff;--bg:#f3f4f1;--green:#174f42;--mint:#e2f1e9;--yellow:#fff0cf}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 Inter,Segoe UI,Arial,sans-serif}.hidden{display:none!important}.top{height:66px;background:#17231f;color:#fff;padding:0 max(24px,calc((100vw - 1440px)/2));display:flex;align-items:center;justify-content:space-between}.top a{color:#fff;text-decoration:none}.brand{font-size:18px;font-weight:900;letter-spacing:.08em}.top nav{display:flex;gap:22px}.top nav a{color:#cddad4}main{max-width:1440px;margin:auto;padding:38px 24px 70px}.hero{display:flex;justify-content:space-between;gap:30px;align-items:end}.hero h1{font-size:46px;line-height:1;margin:8px 0 12px}.hero p{max-width:820px;color:var(--muted);font-size:16px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.13em;color:#2d7c63;font-weight:900}.hero-card{min-width:300px;border-radius:17px;background:var(--green);color:#fff!important;text-decoration:none;padding:22px}.hero-card span,.hero-card strong{display:block}.hero-card span{color:#bed7cd;font-size:11px}.hero-card strong{font-size:18px;margin-top:6px}.tabs{display:flex;gap:6px;margin:30px 0 15px;border-bottom:1px solid var(--line)}button,input,select{font:inherit;border:1px solid var(--line);border-radius:9px;padding:10px 12px;background:white;color:var(--ink)}button{cursor:pointer;background:var(--green);border-color:var(--green);color:#fff;font-weight:800}.tabs button{border:0;border-radius:9px 9px 0 0;background:transparent;color:var(--muted)}.tabs button.active{background:var(--green);color:#fff}.workspace{display:grid;grid-template-columns:390px 1fr;min-height:760px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--paper)}.controls{padding:20px;border-right:1px solid var(--line);overflow:auto;max-height:calc(100vh - 120px)}.step{display:grid;grid-template-columns:28px 1fr;gap:10px;padding:16px 0;border-bottom:1px solid var(--line)}.step>span{width:24px;height:24px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-size:11px;font-weight:900}.step h3{margin:2px 0 12px}.step label{display:grid;gap:5px;margin:8px 0;font-size:11px;color:var(--muted);font-weight:800}.step select,.step input{width:100%}.dates{display:grid;grid-template-columns:1fr 1fr;gap:6px}.choice-list,.check-grid,.visuals{display:flex;flex-wrap:wrap;gap:6px}.choice,.check,.visual{display:block;border:1px solid var(--line);background:#f7f8f6;color:var(--ink);border-radius:8px;padding:8px 9px;font-size:11px;cursor:pointer}.choice.active,.check.active,.visual.active{background:var(--green);color:#fff;border-color:var(--green)}.choice:disabled,.check:disabled,.visual:disabled{cursor:not-allowed;opacity:.46;border-style:dashed}.choice small,.check small,.visual small{display:block;margin-top:2px;font-size:8px;font-weight:400}.canvas{background:#fafbf9;min-width:0}.canvas-bar{height:70px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 20px}.canvas-bar>div{display:flex;align-items:center;gap:8px}.secondary{background:#e8eeea;color:var(--green);border-color:#d5dfda}.badge{padding:5px 8px;border-radius:999px;font-size:10px;font-weight:900}.badge.demo{background:var(--yellow);color:#855d19}.badge.live{background:var(--mint);color:#246249}.missing{margin:16px 20px 0;padding:11px 13px;border-radius:10px;background:var(--yellow);color:#745419}.missing.ready{background:var(--mint);color:#245f47}.report{padding:20px}.report-head{display:flex;justify-content:space-between;gap:20px;align-items:start}.report-head h2{font-size:28px;margin:0}.report-head p{color:var(--muted)}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.kpi{border:1px solid var(--line);background:#fff;border-radius:12px;padding:14px}.kpi span,.kpi small{display:block;color:var(--muted);font-size:10px}.kpi strong{display:block;font-size:24px;margin:5px 0}.chart{height:320px;background:white;border:1px solid var(--line);border-radius:14px;padding:25px;display:flex;align-items:end;gap:12px}.chart i{flex:1;background:linear-gradient(#3b8d70,#174f42);border-radius:6px 6px 0 0;position:relative;min-height:15px}.chart i span{position:absolute;bottom:-22px;left:0;right:0;text-align:center;color:var(--muted);font-style:normal;font-size:10px}.line-chart{align-items:center}.line-chart svg{width:100%;height:230px}.line-chart polyline{fill:none;stroke:#1e6a52;stroke-width:2}.report table{width:100%;border-collapse:collapse;background:white;margin-top:14px}.report th,.report td{padding:10px;text-align:left;border-bottom:1px solid #edf0ee}.report th{font-size:10px;color:var(--muted)}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:16px}.section-head h2{font-size:28px;margin:4px 0}.section-head p{color:var(--muted)}.solution-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.solution{background:white;border:1px solid var(--line);border-radius:15px;padding:17px}.solution header{display:flex;justify-content:space-between}.solution h3{font-size:18px;margin:10px 0 6px}.solution p{color:var(--muted);min-height:62px}.tags{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}.tags span{font-size:10px;background:#edf2ef;padding:5px 7px;border-radius:6px}.mini{height:110px;display:flex;align-items:end;gap:5px;background:#f5f7f4;padding:12px;border-radius:9px;margin-bottom:12px}.mini i{flex:1;background:#2a795f}.solution-readiness{min-height:110px;display:grid;place-content:center;margin-bottom:12px;padding:14px;border-radius:9px;background:var(--mint);color:#245f47;font-size:11px;text-align:center}.saved-list{display:grid;gap:8px}.saved-row{display:flex;justify-content:space-between;gap:18px;background:white;border:1px solid var(--line);padding:16px;border-radius:12px}.saved-row span{display:block;color:var(--muted)}footer{padding:20px max(24px,calc((100vw - 1440px)/2));background:#17231f;color:#d6e1dc;display:flex;justify-content:space-between}@media(max-width:980px){.workspace{grid-template-columns:1fr}.controls{max-height:none;border-right:0;border-bottom:1px solid var(--line)}.solution-grid{grid-template-columns:1fr 1fr}.kpis{grid-template-columns:1fr 1fr}}@media(max-width:650px){.top nav{display:none}.hero{display:block}.hero-card{display:block;margin-top:18px}.workspace{border-radius:0}.canvas-bar{height:auto;padding:12px;align-items:start;flex-direction:column}.solution-grid{grid-template-columns:1fr}.section-head{align-items:start;flex-direction:column}.section-head input{width:100%}.kpis{grid-template-columns:1fr}.chart{height:240px}footer{display:block}}

/* Keep the original tabs accessible on narrow screens without page overflow. */
.tabs{flex-wrap:wrap;max-width:100%}.saved-row>div{min-width:0;overflow-wrap:anywhere}

/* Report surfaces must follow the same palette as the surrounding SOTA shell. */
html[data-sota-visual="true"] body.report-studio {
  --report-paper:var(--sota-color-bg-surface-solid);
  --report-muted:var(--sota-color-bg-muted);
}
html[data-sota-visual="true"] body.report-studio main {padding-top:24px;padding-bottom:150px}
html[data-sota-visual="true"] body.report-studio .hero {padding:24px 28px;gap:24px}
html[data-sota-visual="true"] body.report-studio .hero h1 {font-size:clamp(28px,3vw,42px);margin:12px 0;line-height:1.15}
html[data-sota-visual="true"] body.report-studio .hero p {max-width:850px;margin:0;font-size:14px}
.report-source-links {display:grid;gap:10px;min-width:160px}
html[data-sota-visual="true"] body.report-studio .report-source-links a {color:var(--sota-color-action-link);font-size:14px;text-decoration:underline;text-underline-offset:4px}
html[data-sota-visual="true"] body.report-studio :is(.workspace,.canvas,.canvas-bar,.report,.empty-report,.metric-contracts,.metric-contracts article,.comparison-readiness,.svg-chart,.stacked-chart,.funnel-chart,.chart,.table-scroll,.report table,.trace-list div,.drill-panel,.solution,.saved-row) {
  background:var(--report-paper);color:var(--sota-color-text-primary);border-color:var(--sota-color-border-subtle);
}
html[data-sota-visual="true"] body.report-studio .workspace {grid-template-columns:320px minmax(0,1fr)}
html[data-sota-visual="true"] body.report-studio .controls {max-height:none;overflow:visible;box-shadow:none}
html[data-sota-visual="true"] body.report-studio .canvas-bar {height:auto;min-height:80px;gap:16px;flex-wrap:wrap;padding:16px 20px}
html[data-sota-visual="true"] body.report-studio .canvas-bar>div {min-width:0;flex-wrap:wrap}
html[data-sota-visual="true"] body.report-studio .canvas-bar>div:first-child {flex:1 1 240px}
html[data-sota-visual="true"] body.report-studio #status-text {font-size:12px;overflow-wrap:anywhere;color:var(--sota-color-text-secondary)}
html[data-sota-visual="true"] body.report-studio :is(.empty-report,.chart-note,.funnel-legend,.tags span,.mini,.report-table tbody tr:nth-child(even)) {background:var(--report-muted);color:var(--sota-color-text-secondary)}
html[data-sota-visual="true"] body.report-studio :is(.empty-report strong,.report-head h2,.kpi strong,.metric-contracts code) {color:var(--sota-color-text-primary)}
html[data-sota-visual="true"] body.report-studio :is(.metric-contracts summary,.visual-badge) {color:var(--sota-color-action-link)}
html[data-sota-visual="true"] body.report-studio .visual-badge {background:var(--report-muted)}
html[data-sota-visual="true"] body.report-studio :is(.missing,.report-warnings,.badge.demo) {background:var(--sota-color-state-warning-bg);color:var(--sota-color-state-warning-text)}
html[data-sota-visual="true"] body.report-studio :is(.missing.ready,.badge.live,.solution-readiness) {background:var(--sota-color-state-success-bg);color:var(--sota-color-state-success-text)}
html[data-sota-visual="true"] body.report-studio .missing.error {background:var(--sota-color-state-danger-bg);color:var(--sota-color-state-danger-text)}
html[data-sota-visual="true"] body.report-studio :is(#builder,#solutions,#saved,.tabs) button {background:var(--sota-color-surface-interactive)!important;color:var(--sota-color-text-primary)!important;border-color:var(--sota-color-border-subtle)!important}
html[data-sota-visual="true"] body.report-studio :is(#run,#builder .active,.tabs button.active) {background:var(--sota-color-action-primary)!important;color:var(--sota-color-on-action-primary)!important}
html[data-sota-visual="true"] body.report-studio :is(#builder,#solutions,#saved) button:disabled {opacity:1;background:var(--report-muted)!important;color:var(--sota-color-text-disabled)!important}
html[data-sota-visual="true"] body.report-studio :is(.report-table th,.report-table tfoot,.heatmap-table th) {background:var(--report-muted);color:var(--sota-color-text-primary)}
html[data-sota-visual="true"] body.report-studio .svg-chart :is(.grid text,.x-label) {fill:var(--sota-color-text-secondary)}
html[data-sota-visual="true"] body.report-studio .svg-chart .grid line {stroke:var(--sota-color-border-subtle)}
html[data-sota-visual="true"] body.report-studio .svg-chart .series circle {fill:var(--report-paper)}
html[data-sota-visual="true"] body.report-studio .tabs {margin-top:18px}
@media(max-width:980px){html[data-sota-visual="true"] body.report-studio .workspace{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){html[data-sota-visual="true"] body.report-studio .hero{padding:20px}.report-source-links{margin-top:16px;display:flex;flex-wrap:wrap}.canvas-bar>div{width:100%}html[data-sota-visual="true"] body.report-studio .workspace{border-radius:14px}.empty-report span{max-width:100%}}
html[data-sota-visual="true"] body.report-studio .step>div {min-width:0}
html[data-sota-visual="true"] body.report-studio .dates {grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-sota-visual="true"] body.report-studio .step :is(input,select) {min-width:0;max-width:100%}
html[data-sota-visual="true"] body.report-studio .sota-runtime-status {background:var(--sota-color-bg-surface-solid);color:var(--sota-color-text-primary);border-color:var(--sota-color-border-subtle)}
html[data-sota-visual="true"] body.report-studio .sota-runtime-status :is(p,summary) {color:var(--sota-color-text-secondary)}
html[data-sota-visual="true"] body.report-studio .sota-runtime-status a {color:var(--sota-color-action-link)}
