/* Shared three-area workspace. Dense controls, compact outcomes, download-only details. */
:root{--lab-accent:#1d4ed8;--lab-border:#d8e0ea;--lab-surface:#f3f6fa}
body{background:var(--lab-surface);font-size:16px}
.topbar{position:sticky;top:0;z-index:20;box-shadow:0 1px 0 var(--lab-border)}
.topbar nav{display:flex;gap:8px}.nav-button{font-size:15px}
.lab-subnav{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0;padding:8px;background:#fff;border:1px solid var(--lab-border);border-radius:12px}
.lab-subnav a{padding:10px 18px;text-decoration:none;color:#334155;font-size:15px;border-radius:8px}
.lab-subnav a[aria-current=page]{background:#1e3a8a;color:#fff}
.settings-block{margin:18px 0}.settings-block>h3{font-size:16px;margin:0 0 14px}
.connection>h3,.settings-section>h3{font-size:16px;margin:0 0 14px;color:#344c6c}.connection>h3 .field-hint{margin-left:12px;font-weight:400}
.page-heading{margin:20px 0}.page-heading h1{font-size:26px}.eyebrow{display:none}
.panel{border-radius:12px;box-shadow:none}.helper,.field-hint{font-size:14px}
.scenario-workspace .operation-sidebar{display:none}.scenario-workspace .lab-layout{grid-template-columns:minmax(0,1fr)}
.scenario-workspace .workbench{min-width:0}.workspace-navigation{display:none}
.clear-workspace .operation-sidebar{display:none}.clear-workspace .lab-layout{grid-template-columns:minmax(0,1fr)}
.clear-workspace .workbench{min-width:0}
#module-view.lab-layout .signloc-layout{display:block}
#module-view.lab-layout .signloc-layout>aside{display:none}
#current-result-slot{margin-top:22px}#result-panel{max-width:none}
#matcher-view .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;margin:16px 0}
#matcher-view fieldset{border:0;padding:0;margin:22px 0}
#matcher-view legend{font-weight:650;padding:0}
#matcher-view .run-actions,#matcher-api-view .run-actions{position:static;flex-wrap:wrap}
#mt-downloads{justify-content:flex-start}
#mt-endpoint{max-width:100%}
#matcher-view .matcher-batch-settings{padding:16px 20px;border:1px solid var(--lab-border);border-radius:10px;background:var(--lab-surface)}
#matcher-view .matcher-batch-settings fieldset{margin:0 0 12px}
#matcher-view .matcher-levels{display:flex;gap:24px;flex-wrap:wrap;margin-top:12px}
#matcher-view .matcher-trial-table td,#matcher-view .matcher-trial-table th{white-space:nowrap}
#matcher-view .matcher-trial-table tr[aria-current=true]{background:#eff6ff}
#mt-trial-results,#mt-resources,#mt-rank1{margin:24px 0}
#matcher-view [hidden]{display:none!important}
@media(max-width:760px){#matcher-view .form-grid{grid-template-columns:1fr}}
#data-mode-shell:has(fieldset[hidden]){display:none}
#purpose-summary,#operation-description,#scenario-note,#request-note,#purpose-description,#fixture-note,#description,#server-on-notice,#ps-prerequisite,#ps-config,#mode-description{display:none}
#request-json,#report-json,.raw-report,.request-preview{display:none!important}
.scenario-plan ol,.flow-strip{display:flex;list-style:none;padding:0;gap:8px;flex-wrap:wrap;counter-reset:flow}
.flow-strip li{counter-increment:flow;flex:1 1 130px;padding:12px;background:#eff6ff;border:1px solid #dbeafe;border-radius:8px;font-size:14px}
.flow-strip li:before{content:counter(flow,decimal-leading-zero);display:block;color:#1d4ed8;font-weight:700;margin-bottom:6px}
.compact-results table{width:100%;font-size:14px}.compact-results td,.compact-results th{padding:10px 14px;vertical-align:middle}
.compact-results th{background:#f1f5f9}.compact-results{margin-top:16px}
.platform-columns{align-items:start}#ps-stages td:last-child{white-space:nowrap}
#ps-warnings{display:none}.report-upload{display:none}
@media(max-width:760px){.topbar{position:static;flex-wrap:wrap}.topbar nav{width:100%;overflow:auto}.nav-button{white-space:nowrap}.lab-subnav a{flex:1;text-align:center;padding:10px}.fields-grid,.connection-grid,.platform-columns{grid-template-columns:1fr!important}.lab-layout{display:block}.page-heading h1{font-size:23px}}

#matcher-view .matcher-settings-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0 8px}
#matcher-view #mt-settings-status[data-state=error]{color:#b91c1c}

#matcher-view .matcher-dataset-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#matcher-view .matcher-trial-table{min-width:1480px}

#mt-final-summary{margin:24px 0;padding-bottom:20px;border-bottom:1px solid var(--lab-border)}
.matcher-final-summary-table{min-width:1350px}
.matcher-final-summary-table th,.matcher-final-summary-table td{white-space:nowrap}

#matcher-api-fields{border:0;margin:0;padding:0}
.matcher-api-results{margin-top:24px}
#matcher-api-progress{width:100%;height:10px;margin-top:16px;accent-color:var(--lab-accent)}
.matcher-api-log-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:24px}
.matcher-api-log-heading .check{margin:0}
