.sli-ra-method-workbench{margin:24px 0 15px;padding:22px;background:#fff;border:1px solid #c9d7e2;border-radius:15px;box-shadow:0 8px 27px rgba(14,52,83,.04)}
.ra-wb-header{display:flex;justify-content:space-between;align-items:start;gap:15px}
.ra-wb-header h2{margin:3px 0 5px;font-size:21px;line-height:1.25;color:#163b5b}
.ra-wb-header p{margin:0;color:#5a7187;font-size:13px;max-width:660px}
.ra-wb-kicker{font-size:10px;font-weight:800;letter-spacing:1.6px;color:#b28b45}
.ra-wb-marker{flex:none;background:#f8f3e9;color:#84612c;border-radius:8px;padding:8px;font-size:11px;font-weight:800}
.ra-wb-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:20px}
.ra-wb-grid label{display:flex;flex-direction:column;gap:5px;color:#385c79;font-size:12px;font-weight:700}
.ra-wb-grid select,.ra-wb-grid input[type=file]{width:100%;min-height:40px;padding:8px;border:1px solid #c7d5e0;background:#fafdff;border-radius:9px;color:#23405b;font-size:12px}
.ra-wb-detail,.ra-wb-footnote{font-size:12px;color:#708398;margin:13px 0}
.ra-wb-detail{background:#f1f6fa;padding:10px 12px;border-left:3px solid #b18e52;border-radius:6px}
.ra-wb-buttons{display:flex;gap:9px;flex-wrap:wrap;margin:13px 0}
.ra-wb-buttons button{border:1px solid #c2d2dc;padding:10px 14px;border-radius:9px;cursor:pointer;background:#f4f7fa;color:#1b4c74;font-weight:750;font-size:12px}
.ra-wb-buttons button:first-child{background:#174e83;color:#fff;border-color:#174e83}
.ra-wb-output{padding:14px;border:1px solid #d9e3eb;border-radius:9px;background:#fbfcfe;font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:270px;overflow:auto}
.ra-wb-output[data-state=error]{color:#923b39;border-color:#eacccc}
.ra-wb-consent{display:flex;gap:9px;align-items:flex-start;font-size:12px;line-height:1.55;color:#36556c;margin-top:14px}
.ra-wb-consent input{margin-top:3px;flex:none}
@media(max-width:650px){.sli-ra-method-workbench{padding:15px}.ra-wb-grid{grid-template-columns:1fr}.ra-wb-marker{font-size:9px}}

.ra-wb-output strong{display:block;font:700 14px/1.45 system-ui,sans-serif;color:#1b4f77;margin-bottom:8px}
.ra-wb-output p{white-space:normal;font:13px/1.65 system-ui,sans-serif;color:#38566e;margin:7px 0 12px}
.ra-wb-output table{width:100%;border-collapse:collapse;display:block;overflow-x:auto;font-size:11px}
.ra-wb-output th,.ra-wb-output td{text-align:right;border-bottom:1px solid #dde7ed;padding:7px 9px;white-space:nowrap}
.ra-wb-output th:first-child,.ra-wb-output td:first-child{text-align:left}
.ra-wb-output small{display:block;white-space:normal;color:#71869a;font:11px/1.55 system-ui,sans-serif;margin:10px 0 2px}


/* Research AI navy shell surrounds a deliberately LIGHT workbench. Never inherit
   global white-on-navy table typography into this white output panel. */
body.sli-research-brand #raAnalyticalWorkbench,
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-output{color:#1d3d57}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-output{
 color:#1e3c55!important;background:#f8fafc;border-color:#bfceda;
 min-height:110px;max-height:none;overflow:visible;white-space:normal
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-output[data-state=error]{
 color:#8c302a!important;background:#fff4f1;border-color:#dcaaa3
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-output table{
 display:table;width:100%;border-collapse:collapse;background:#fff;
 font:12px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;
 margin:12px 0;min-width:660px
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-output .ra-wb-table-scroller{
 width:100%;overflow-x:auto;max-width:100%;border:1px solid #d7e1e8;border-radius:8px
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-output th,
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-output td{
 padding:10px 12px;border-bottom:1px solid #d9e4ec;
 background:#fff;color:#173a55!important;
 font-size:12px;line-height:1.4;text-align:right
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-output th{
 background:#e6eef5!important;color:#16344d!important;font-weight:800
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-output tr:nth-child(odd) td{
 background:#f2f6f9!important
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-output tr:hover td{
 background:#e9f1f8!important
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-output td:first-child,
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-output th:first-child{
 text-align:left;min-width:180px
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-output small{color:#4f6478!important}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-output p{color:#284b66!important}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-output strong{color:#17466a!important}
/* [hidden] must win against the authored display:grid rule. */
#raAnalyticalWorkbench .ra-wb-variables[hidden]{display:none!important}
#raAnalyticalWorkbench .ra-wb-analysis{
 padding:14px 16px;border-left:3px solid #ae8950;background:#eef4f8;
 border-radius:8px;margin:14px 0;white-space:normal
}
#raAnalyticalWorkbench .ra-wb-analysis strong{display:block;margin-bottom:5px}
#raAnalyticalWorkbench .ra-wb-analysis p{margin:7px 0;color:#284b66}
#raAnalyticalWorkbench .ra-wb-next{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin:13px 0}
#raAnalyticalWorkbench .ra-wb-next button{
 border:1px solid #1c5786;color:#fff;background:#1c5786;
 border-radius:8px;font:700 12px system-ui,sans-serif;cursor:pointer;
 padding:9px 13px
}
#raAnalyticalWorkbench .ra-wb-next button:hover{background:#103f66}
#raAnalyticalWorkbench .ra-wb-step{
 display:block;font:700 12px/1.6 system-ui,sans-serif;color:#436783;
 margin:0 0 9px
}


/* Regression diagnostics & FE configuration; preserve contrast inside navy page. */
#raAnalyticalWorkbench .ra-wb-advanced{border:1px solid #d5e2e9;background:#f7fafc;border-radius:10px;margin:14px 0;padding:16px;display:grid;gap:12px}
#raAnalyticalWorkbench .ra-wb-advanced[hidden],
#raAnalyticalWorkbench #raExtraGroup[hidden],
#raAnalyticalWorkbench #raPanelGroup[hidden]{display:none!important}
#raAnalyticalWorkbench .ra-wb-advanced label{display:block;color:#24506c;font-weight:700;font-size:12px;margin-bottom:6px}
#raAnalyticalWorkbench .ra-wb-advanced select{width:100%;max-width:100%;display:block;border:1px solid #b9ceda;background:#fff;color:#163952;border-radius:8px;padding:9px;font-size:12px}
#raAnalyticalWorkbench .ra-wb-advanced small{display:block;color:#587288;font-size:11px;margin-top:8px;line-height:1.55}
#raAnalyticalWorkbench .ra-wb-panel-check{display:flex;align-items:center;gap:8px;margin-top:13px}
#raAnalyticalWorkbench .ra-wb-panel-check input{margin:0}
#raAnalyticalWorkbench #raPanelGroup{display:grid;grid-template-columns:1fr 1fr;gap:9px 14px;align-items:end}
#raAnalyticalWorkbench #raPanelGroup>.ra-wb-panel-check,#raAnalyticalWorkbench #raPanelGroup>small{grid-column:1/-1}
#raAnalyticalWorkbench .ra-wb-subhead{font:750 16px/1.4 system-ui,sans-serif;color:#1c4b6e!important;margin:23px 0 11px}
#raAnalyticalWorkbench .ra-wb-plot{background:white;border:1px solid #cedce6;border-radius:10px;padding:12px;max-width:100%;overflow:auto}
#raAnalyticalWorkbench .ra-wb-plot svg{display:block;width:100%;min-width:530px;height:auto;max-height:520px}
#raAnalyticalWorkbench .ra-wb-next small{font:12px/1.5 system-ui,sans-serif;color:#49647c}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-advanced{color:#25485f}
@media(max-width:650px){
 #raAnalyticalWorkbench #raPanelGroup{grid-template-columns:1fr}
 #raAnalyticalWorkbench .ra-wb-plot svg{min-width:475px}
}


/* Explicit econometric specification: avoid silently reversing dependent and explanatory variables. */
#raAnalyticalWorkbench .ra-wb-specification{padding:10px 13px;margin:12px 0;color:#173c57!important;background:#e9f3f9;border-left:3px solid #21679e;font-weight:740;font-size:13px;line-height:1.7;overflow-wrap:anywhere;border-radius:6px}
#raAnalyticalWorkbench .ra-wb-orientation-warning{padding:12px 14px;margin:12px 0;background:#fff3e8;color:#813e22!important;border:1px solid #e4ad7a;border-left:4px solid #bd7835;border-radius:7px;font-weight:690;font-size:12px;line-height:1.65}


/* Direct correction for reversed dependent/explanatory variables. */
#raAnalyticalWorkbench .ra-wb-orientation-warning p{color:#813e22!important;margin:0 0 9px}
#raAnalyticalWorkbench .ra-wb-correct-orientation{
 appearance:none;background:#a65e25;color:#fff;border:1px solid #854b1c;
 border-radius:8px;padding:9px 13px;margin:5px 0 0;
 font:700 12px/1.3 system-ui,-apple-system,sans-serif;cursor:pointer
}
#raAnalyticalWorkbench .ra-wb-correct-orientation:hover{background:#864616}
#raAnalyticalWorkbench .ra-wb-correct-orientation:focus-visible{outline:3px solid #246698;outline-offset:3px}
#raAnalyticalWorkbench .ra-wb-orientation-warning small{display:block;color:#813e22!important;margin-top:8px}
#raAnalyticalWorkbench .ra-wb-synthetic-warning{
 margin:10px 0 13px;padding:10px 12px;border:1px solid #dfc4a0;
 color:#754e20!important;background:#fff5e6;
 border-left:3px solid #bd934f;border-radius:6px;font:700 12px/1.6 system-ui,sans-serif
}


/* Econometric stability section · reproducible leave-one-out diagnostics. */
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-stability{
 margin:20px 0 12px;padding:16px 18px;
 background:#f5f9fc;border:1px solid #c3d7e6;
 border-radius:12px;color:#1b3d57
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-stability h3{
 margin:2px 0 10px;color:#154b71;font:800 17px/1.4 system-ui,sans-serif
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-stability h4{
 margin:18px 0 8px;color:#214e6e;font:750 13px/1.4 system-ui,sans-serif
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-stability p{
 color:#365b75!important;font:12px/1.65 system-ui,sans-serif;margin:8px 0
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-stability .ra-wb-stability-meta{
 font-size:11px;color:#54718a!important
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-stability-flag{
 color:#953c31!important;font-weight:800
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-stability .ra-wb-stability-summary{
 margin-top:15px;padding:12px;background:#edf4fa;border-left:3px solid #bf9955;border-radius:6px
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-stability .ra-wb-table-scroller{
 max-width:100%;overflow-x:auto
}


/* Transparent interpretation of magnitude/uncertainty and small-cluster inference. */
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-coefficient-interpretation{
 border-top:1px solid #d0dee9;padding-top:9px;margin-top:11px;
 color:#214861!important;font-size:12px;line-height:1.7
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-small-sample{
 padding:11px 13px;margin:11px 0;background:#fff6e9;
 border-left:3px solid #b68a49;border-radius:6px;color:#684e2a!important;
 font-size:12px;line-height:1.65
}

/* Panel specification controls and practical X2 comparison. */
#raAnalyticalWorkbench .ra-wb-active-predictors{
 padding:9px 12px;color:#1f4d6c!important;background:#e5f1f8;border-radius:7px;
 font:700 12px/1.55 system-ui,sans-serif;overflow-wrap:anywhere
}
#raAnalyticalWorkbench .ra-wb-model-extension{
 background:#f1f7fb;border:1px solid #bfd8e9;border-left:4px solid #347fa9;
 padding:13px 16px;margin:14px 0;border-radius:8px
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-model-extension p{
 color:#264b65!important;font:13px/1.6 system-ui,sans-serif;margin:0 0 10px
}
#raAnalyticalWorkbench .ra-wb-add-predictor{
 border:1px solid #1d5883;background:#1b5682;color:#fff;border-radius:8px;
 padding:9px 13px;cursor:pointer;font:700 12px/1.35 system-ui,sans-serif
}
#raAnalyticalWorkbench .ra-wb-add-predictor:hover{background:#103f62}
#raAnalyticalWorkbench .ra-wb-add-predictor:focus-visible{outline:3px solid #ae8b4b;outline-offset:2px}

/* Evidence-first official BPS panel, never confuse SLI-derived estimates with BPS output. */
#raAnalyticalWorkbench .ra-wb-official-source{
 padding:15px 17px;margin:0 0 23px;background:#f4f8fb;
 border:1px solid #c2d8e5;border-left:4px solid #b89b5b;
 border-radius:12px;color:#244c6b
}
#raAnalyticalWorkbench .ra-wb-official-source strong{
 color:#154b70;font:800 15px/1.4 system-ui,sans-serif
}
#raAnalyticalWorkbench .ra-wb-official-source p{
 color:#496c83!important;font:13px/1.6 system-ui,sans-serif;margin:7px 0
}
#raAnalyticalWorkbench .ra-wb-official-actions{
 display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:13px 0
}
#raAnalyticalWorkbench .ra-wb-official-actions button{
 appearance:none;border:1px solid #205883;background:#195581;color:#fff;
 border-radius:8px;padding:11px 15px;font:750 13px system-ui,sans-serif;cursor:pointer
}
#raAnalyticalWorkbench .ra-wb-official-actions button:disabled{cursor:wait;opacity:.6}
#raAnalyticalWorkbench .ra-wb-official-actions a,
#raAnalyticalWorkbench .ra-wb-bps-provenance a{font:700 12px/1.5 system-ui,sans-serif;color:#256a9d;text-decoration:underline}
#raAnalyticalWorkbench .ra-wb-official-source small{
 color:#627f95!important;font:11px/1.6 system-ui,sans-serif
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-bps-provenance{
 padding:12px 15px;margin:12px 0 15px;border:1px solid #d4dfc6;
 border-left:4px solid #71906d;border-radius:8px;background:#f4faf1
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-bps-provenance strong{
 font:800 12px/1.5 system-ui,sans-serif;color:#2e6143!important
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-bps-provenance p{
 color:#325945!important;font:12px/1.7 system-ui,sans-serif
}


/* Clear data-origin status next to the file input (native chooser stays empty for BPS source). */
#raAnalyticalWorkbench .ra-wb-dataset-status{
 display:block;margin:11px 0 13px;padding:11px 15px;border-radius:9px;
 font:700 12px/1.65 system-ui,sans-serif;color:#395a70;
 background:#f0f5f9;border:1px solid #d4e1ea
}
#raAnalyticalWorkbench .ra-wb-dataset-status[data-source="bps"]{
 color:#285641;background:#eff8f1;border-color:#adcbb7;
 border-left:4px solid #578b67
}
#raAnalyticalWorkbench .ra-wb-dataset-status[data-source="upload"]{
 color:#21496a;background:#eef6fc;border-color:#b9d5ea;
 border-left:4px solid #357da9
}
#raAnalyticalWorkbench .ra-wb-dataset-status[data-source="model"]{
 color:#665126;background:#fdf8ed;border-color:#dfd0b1
}


/* Independent source-audit results: provenance, coverage and indicator readiness. */
#raAnalyticalWorkbench .ra-wb-quality{margin:14px 0 23px;padding:16px 18px;border:1px solid #cbdde9;border-radius:11px;background:#f6fafc}
#raAnalyticalWorkbench .ra-wb-quality[hidden]{display:none!important}
#raAnalyticalWorkbench .ra-wb-quality h3{color:#144b70;font:800 17px/1.4 system-ui,sans-serif;margin:0 0 8px}
#raAnalyticalWorkbench .ra-wb-quality p{font:12px/1.65 system-ui,sans-serif;color:#335972!important;margin:9px 0}
#raAnalyticalWorkbench .ra-wb-quality .ra-wb-quality-caution{background:#fdf8ee;color:#77552d!important;border-left:3px solid #b9934a;padding:10px 12px;border-radius:7px}
#raAnalyticalWorkbench .ra-wb-quality .ra-wb-quality-error{background:#fff0ec;color:#8a342b!important;border-left:3px solid #be655b;padding:10px}
#raAnalyticalWorkbench .ra-wb-quality-controls{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:12px 0}
#raAnalyticalWorkbench .ra-wb-quality-controls button{background:#164d78;color:#fff;border:1px solid #164d78;border-radius:8px;padding:10px 14px;cursor:pointer;font:700 12px/1.5 system-ui,sans-serif}
#raAnalyticalWorkbench .ra-wb-quality-controls small{color:#5b7082;font:11px/1.6 system-ui,sans-serif}
#raAnalyticalWorkbench .ra-wb-quality-details{border-top:1px solid #d2e0e9;padding-top:10px;margin-top:13px}
#raAnalyticalWorkbench .ra-wb-quality-details summary{cursor:pointer;color:#205780;font:750 12px/1.6 system-ui,sans-serif}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-quality-details th,body.sli-research-brand #raAnalyticalWorkbench .ra-wb-quality-details td{font-size:11px!important;white-space:normal;min-width:105px}


/* Full-panel stress testing and provenance-sourced investment risk warnings. */
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-robustness-warning{
 padding:13px 15px;margin:12px 0;background:#fff4e8;
 border:1px solid #ddac85;border-left:4px solid #ac662e;
 border-radius:8px;color:#713e1c!important;
 font:750 12px/1.7 system-ui,sans-serif
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-stability-evidence{
 padding:11px 14px;margin:13px 0 8px;background:#edf4fb;
 border:1px solid #cedee9;border-radius:8px;color:#264e6f!important;
 font:650 12px/1.7 system-ui,sans-serif
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-stability>a{
 color:#195c87;font:700 12px/1.5 system-ui,sans-serif;text-decoration:underline;
 display:inline-block;margin-bottom:12px
}


/* BPS current-period vs lagged model distinction: research comparability warning. */
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-spec-warning{
 margin:12px 0;padding:14px 16px;background:#fff3e6;border:1px solid #ddb487;
 border-left:4px solid #b06e2f;border-radius:8px;color:#76471f
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-spec-warning p{
 color:#76471f!important;font:650 12px/1.65 system-ui,sans-serif;margin:0 0 10px
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-restore-lag{
 appearance:none;background:#16547e;color:#fff;border:1px solid #104c76;border-radius:8px;
 padding:10px 14px;cursor:pointer;font:700 12px/1.4 system-ui,sans-serif
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-restore-lag:hover{background:#093d5d}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-restore-lag:focus-visible{
 outline:3px solid #ae8b4a;outline-offset:3px
}


/* Reproducibility: individual omitted-year and omitted-province refits. */
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-refit-details{
 border:1px solid #ccdae7;border-radius:9px;padding:11px 13px;
 margin:13px 0;background:#f8fbfe
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-refit-details summary{
 font:750 13px/1.5 system-ui,sans-serif;color:#1d5278;cursor:pointer;
 padding:4px 0
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-refit-details p{
 color:#496b83!important;font:12px/1.65 system-ui,sans-serif;margin:9px 0
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-refit-details td,
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-refit-details th{
 font:12px/1.6 system-ui,sans-serif;white-space:nowrap
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-refit-sign-flip td{
 background:#fff6ea;color:#783f26!important
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-short-panel-warning{
 padding:12px 15px;margin:15px 0;background:#fff3e7;
 color:#7c3e25!important;border-left:4px solid #b16a33;
 border-radius:7px;font:700 12px/1.7 system-ui,sans-serif
}


/* SLI Structural Economy Lab: traceable descriptive industrial evidence, never model-ready by implication. */
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-structural-economy{
 background:#f7fafc;border:1px solid #bfd4e1;border-left:4px solid #b79a59;
 border-radius:12px;margin:16px 0 23px;padding:16px 18px;color:#234864
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-structural-economy[hidden]{display:none!important}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-structural-economy h3{
 color:#184e70;font:800 18px/1.35 system-ui,sans-serif;margin:0 0 10px
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-structural-economy h4{
 color:#205776;font:750 14px/1.4 system-ui,sans-serif;margin:17px 0 8px
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-structural-economy p,
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-structural-economy li{
 font:12px/1.75 system-ui,sans-serif;color:#345b75!important
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-structural-economy .ra-wb-structural-gate{
 background:#fff5e8;color:#825221!important;border-left:3px solid #bd8a45;
 padding:10px 13px;border-radius:7px;font-weight:700;margin:9px 0 15px
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-structural-metrics{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-structural-metric{
 display:flex;flex-direction:column;gap:5px;background:#fff;
 border:1px solid #d7e3eb;border-radius:9px;padding:12px;min-width:0
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-structural-metric span{
 color:#507189;font:650 11px/1.4 system-ui,sans-serif
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-structural-metric strong{
 color:#144b71;font:800 22px/1.25 system-ui,sans-serif
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-structural-metric small{
 color:#658096;font:11px/1.5 system-ui,sans-serif
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-structural-synthesis{
 margin:15px 0;padding:10px 13px;border:1px solid #cfdfe8;
 background:#eaf3f8;border-radius:8px
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-structural-source-links{margin:12px 0}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-structural-economy a{
 color:#15658f;font:700 12px/1.6 system-ui,sans-serif;text-decoration:underline
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-structural-details{
 border-top:1px solid #d2e0e7;padding:10px 0;margin:10px 0
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-structural-details summary{
 font:750 12px/1.6 system-ui,sans-serif;color:#265c80;cursor:pointer
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-structural-details ul{
 padding-left:20px;margin:10px 0
}
body.sli-research-brand #raAnalyticalWorkbench .ra-wb-structural-economy>small{
 color:#6b7f90;font:11px/1.65 system-ui,sans-serif
}
@media(max-width:700px){
 body.sli-research-brand #raAnalyticalWorkbench .ra-wb-structural-metrics{
  grid-template-columns:1fr
 }
}


/* Advanced lab remains available and fully wired, but doesn't interrupt chat-first Research AI.
   Native details provide keyboard accessibility and a compact collapsed default. */
body.sli-research-brand #raAdvancedLab{
 max-width:1100px;margin:25px auto 32px;padding:0;
 border:1px solid #466178;border-radius:12px;background:#122c43;color:#e9f0f7;
 box-shadow:none;scroll-margin-top:22px;overflow:clip
}
body.sli-research-brand #raAdvancedLab>summary{
 list-style:none;cursor:pointer;display:flex;align-items:center;
 min-height:56px;padding:15px 22px;color:#e6d0a0;
 font:750 14px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif
}
body.sli-research-brand #raAdvancedLab>summary::-webkit-details-marker{display:none}
body.sli-research-brand #raAdvancedLab>summary:before{content:"▸";margin-right:12px;color:#d7b678}
body.sli-research-brand #raAdvancedLab[open]>summary:before{content:"▾"}
body.sli-research-brand #raAdvancedLab>summary:hover,
body.sli-research-brand #raAdvancedLab>summary:focus-visible{background:#1a3a53;color:#ffe5ac;outline-offset:-3px}
body.sli-research-brand #raAdvancedLab #raAnalyticalWorkbench{
 margin:0 14px 14px;box-shadow:none;max-width:calc(100% - 28px)
}
body.sli-research-brand #raAdvancedLab:not([open]) #raAnalyticalWorkbench{display:none}
#raAnalyticalWorkbench .ra-wb-bps-disclosure{padding:0!important;margin:15px 0 20px!important}
#raAnalyticalWorkbench .ra-wb-bps-disclosure>summary{
 display:list-item;cursor:pointer;padding:12px 17px;color:#204e6d;
 font:750 13px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif
}
#raAnalyticalWorkbench .ra-wb-bps-disclosure>summary:hover,
#raAnalyticalWorkbench .ra-wb-bps-disclosure>summary:focus-visible{background:#e6f0f8}
#raAnalyticalWorkbench .ra-wb-bps-disclosure>div,
#raAnalyticalWorkbench .ra-wb-bps-disclosure>small{display:block;margin:0 16px 13px}
#raAnalyticalWorkbench .ra-wb-bps-disclosure .ra-wb-official-actions{display:flex}
@media(max-width:650px){
 body.sli-research-brand #raAdvancedLab{margin:20px 12px 26px}
 body.sli-research-brand #raAdvancedLab>summary{padding:13px 15px;font-size:13px}
 body.sli-research-brand #raAdvancedLab #raAnalyticalWorkbench{margin:0 8px 8px;max-width:calc(100% - 16px)}
}
