/* Expert workstation refinements. Scientific image pixels and coordinates are unchanged. */
:root{font-size:14px;--left-width:248px;--right-width:380px;--shell-height:176px;--muted:#a3b2c4;--dim:#91a5ba}
button,input,select,textarea{font:inherit}button{min-height:34px;font-size:13px;padding:7px 11px}input,select,textarea{font-size:13px;min-height:36px}textarea{width:100%;background:#131a23;color:#e2e9f1;border:1px solid #526174;border-radius:5px;padding:9px}input[type=checkbox]{min-height:0;width:16px;height:16px;flex-shrink:0}input[type=color]{width:30px;height:30px;min-height:30px}input[type=range]{min-height:28px}label{font-size:13px;color:#b8c6d6}h2,h3{font-size:15px}.hint,.empty-copy{font-size:12px;color:#a3b2c4;line-height:1.6}.small-tag{font-size:10px;letter-spacing:.3px;color:#afc7d8}.count{font-size:12px}.compact{font-size:12px;min-height:32px}.icon-button{min-width:32px;min-height:32px}.skip-link{position:fixed;left:12px;top:-80px;background:#49cfbc;color:#102826;padding:12px;z-index:200}.skip-link:focus{top:8px}.skip-link:nth-child(2):focus{left:180px}
.topbar{height:68px;gap:18px;padding:0 18px}.top-actions button{font-size:13px}.workspace-name{font-size:12px}.brand small{color:#a3b7c9}.research-banner{height:28px;font-size:11px;background:#1d2527;color:#afc1ca}.research-banner a{font-size:11px;color:#bfd3d9}.research-banner>span:first-child{color:#c3d6dc}.workflow-strip{display:flex;height:80px;padding:10px 16px;gap:8px;background:#141c25;border-bottom:1px solid #344354;align-items:stretch}.workflow-strip>button{flex:1;min-width:0;text-align:left;white-space:normal;background:#1b2632;border-color:#344455;display:flex;flex-direction:column;gap:5px;justify-content:center}.workflow-strip>button span{font-size:13px;font-weight:600}.workflow-strip small{font-size:11px;color:#a5bacb;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.workflow-strip>button[data-complete=true]{border-color:#44786f}.workflow-strip>button[data-running=true]{background:#234740;border-color:#65cdbc}.layout-actions{display:flex;align-items:center;gap:5px}.layout-actions button{font-size:12px}.mobile-navigation{display:none}
.workstation{grid-template-columns:var(--left-width) 6px minmax(320px,1fr) 6px var(--right-width);height:calc(100dvh - var(--shell-height));min-height:0}.pane-resize{cursor:col-resize;background:#202d39;touch-action:none}.pane-resize:hover,.pane-resize:focus-visible{background:#49cfbc}.left-pane,.right-pane{overflow:hidden;min-height:0}.pane-title{padding:11px 14px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #344354;min-height:45px}.pane-title strong{font-size:14px}.drawer-close{display:none}.tools-tabs{display:flex;padding:7px;gap:4px;border-bottom:1px solid #344354}.tools-tabs button{flex:1;min-width:0;font-size:12px;padding:6px}.tools-tabs [aria-pressed=true]{background:#234740;border-color:#4f9d90;color:#bef4e8}.left-pane section{flex:1;overflow:auto;padding:15px 13px;min-height:0}.study-list{max-height:none}.study-row span{font-size:13px}.study-row small{font-size:11px;color:#adc0d0}.study-actions button{font-size:12px}.left-footer{padding:10px 13px;font-size:11px;flex-shrink:0;border-top:1px solid #344354}.left-footer small{display:none}.pipeline-section select{font-size:13px}.pipeline-section .muted{font-size:12px;color:#a3b2c4}.processing-controls{gap:7px}.processing-controls label{font-size:13px}.processing-controls input[type=number]{font-size:14px}.processing-actions{display:grid;gap:8px;margin-top:16px}.processing-actions button{white-space:normal;width:100%}#processing-parameters summary{font-size:13px;color:#bfd1df;min-height:32px;padding-top:6px}.processing-actions+ .job-progress{padding:12px;background:#1d3b36;border:1px solid #41685f;border-radius:5px}.job-progress{font-size:12px}.job-progress>div{display:grid;gap:5px}#job-percent{color:#b5d9d1}progress{height:7px}
.layer-actions{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0 16px}.layer-actions button{font-size:12px;flex:1;padding:5px}.check-label{display:flex;gap:9px;align-items:center;min-height:32px}.layer-group{border:1px solid #354657;border-radius:5px;margin:10px 0;background:#1b2530}.layer-group>summary{font-size:13px;font-weight:600;padding:12px;cursor:pointer}.layer{padding:10px;border-top:1px solid #354657;border-bottom:0}.layer-title{gap:7px;flex-wrap:wrap}.layer-title label{font-size:13px;min-height:32px;display:flex;align-items:center;min-width:70px}.layer-title .isolate{font-size:11px;min-height:28px;padding:4px 6px}.layer details>summary{font-size:12px;cursor:pointer;min-height:32px;padding-top:8px;color:#a9c1d2}.layer-controls{margin:0;gap:6px}.layer-controls label,.layer-controls output{font-size:12px}.layer-status{font-size:11px;color:#abc2cf;margin:6px 0}.layer .hint{font-size:12px}.layer-empty{padding:10px}
.image-header{height:68px;min-height:68px;padding:12px 18px}.image-header h1{font-size:19px;max-width:420px;margin-top:4px}.image-header p{font-size:12px}.image-header .eyebrow{font-size:10px}.image-header>.small-tag{font-size:10px;margin-top:6px}.input-identity{padding:8px 16px;background:#18242d;border-top:1px solid #304453;border-bottom:1px solid #304453;font-size:12px;line-height:1.5;color:#afc8d7;max-height:85px;overflow:auto}.input-identity strong{color:#e1eef6}.viewer-toolbar{min-height:46px;padding:5px 9px}.tool{min-width:32px;height:32px;font-size:18px}.base-tools{gap:4px}.base-tools select{font-size:12px;max-width:135px;min-height:32px}.zoom-tools #zoom-label{font-size:12px}.viewer-pane{min-height:0}.canvas-wrap{min-height:120px}.canvas-corner{color:#aec3d4;font-size:10px}.bottom-left{font-size:10px}.viewer-status{height:30px;font-size:11px;color:#a8bdce;flex-shrink:0}.viewer-status .mono{font-size:10px}.image-loading{position:absolute;left:12px;top:12px;z-index:2;padding:8px 12px;background:#182d39;color:#d8edf6;border:1px solid #638497;border-radius:5px;font-size:12px;pointer-events:none}.filmstrip-section{height:38px;min-height:38px;flex-shrink:0}.filmstrip-heading{padding:3px 10px;font-size:11px;height:37px}.filmstrip-heading>span:nth-child(2){font-size:11px;color:#b3c6d5}.filmstrip-heading #filmstrip-toggle{font-size:12px;min-height:30px;padding:3px 6px;background:none;border-color:transparent}.filmstrip{display:none}.filmstrip-section.expanded{height:124px}.filmstrip-section.expanded .filmstrip{display:flex;height:85px}.thumb{height:72px;width:86px}.thumb img{height:46px}.thumb small{font-size:10px;color:#c0d0df}.filmstrip>.muted{color:#adc2d2;font-size:12px}
.inspector-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:6px;gap:4px;min-height:0;flex-shrink:0;position:static}.inspector-tabs button{font-size:12px;padding:8px 2px;min-height:36px;max-width:none;color:#b6c7d8;border:1px solid transparent;border-radius:4px}.inspector-tabs button[aria-selected=true]{border:1px solid #4a8b80;background:#234740;color:#b9f3e8}.inspector-panel{padding:15px;overflow:auto;min-height:0;flex:1}.inspector-panel .small-tag{font-size:10px}.inspector-footer{padding:10px 15px;flex-shrink:0;font-size:11px}.inspector-footer p{font-size:11px;line-height:1.5;color:#a2b5c8;margin:4px 0 0}.metric-group{margin:10px 0;border:1px solid #354657;border-radius:5px}.metric-group>summary{padding:11px;font-size:14px;font-weight:600;cursor:pointer}.metric{padding:10px}.metric-heading{font-size:13px;flex-wrap:wrap}.metric strong{font-size:15px}.metric details,.metric small,.metric .unavailable{font-size:12px}.metric .canonical-key{font-size:11px;color:#9fb5c9}.metric details p{font-size:12px}.annotation-row .annotation-line{font-size:13px}.annotation-row small{font-size:12px}.calibration summary,.calibration summary span{font-size:13px}.inline-fields button,.danger{font-size:12px}.coordinate-editor{margin-top:18px;border-top:1px solid #354657;padding-top:12px}.coordinate-editor summary{min-height:32px;cursor:pointer}.model-title label{font-size:14px;min-height:32px;display:flex;align-items:center}.model-title{flex-wrap:wrap}.model-card p,.prediction-card p{font-size:12px;color:#a7bdd0}.model-card .badge{font-size:11px}.model-card details,.prediction-card details{font-size:12px}.prediction-actions{display:grid;gap:8px}.prediction-actions button{white-space:normal}#run-button{width:100%;margin:12px 0}.registry-details{margin-top:16px}.registry-details summary{cursor:pointer;min-height:32px}.comparison-scroll{overflow:auto;margin:14px 0}.comparison-table{width:100%;border-collapse:collapse;font-size:13px}.comparison-table th,.comparison-table td{padding:10px 8px;text-align:left;vertical-align:top;border-bottom:1px solid #435466}.comparison-table thead th{background:#23313e;font-size:12px}.comparison-table .score-row{font-family:var(--mono);white-space:nowrap}.prediction-card h3{font-size:15px}.prediction-card .score-row{margin:0}.history-card{padding:12px;border:1px solid #3a4c5e;border-radius:5px;margin:10px 0;background:#1b2733}.history-card h3{font-size:14px;margin-bottom:7px}.history-card p{font-size:12px;margin:6px 0;color:#b5c7d8;overflow-wrap:anywhere}.history-card button{margin:5px 5px 0 0;font-size:12px}.history-card[data-status=failed]{border-color:#ac7180}pre{font-size:11px;color:#c4d4e5}dialog{font-size:14px}dialog p{font-size:13px}.message{top:80px;font-size:14px;max-width:85vw}.model-failure{border-color:#ac7180}.empty-copy{font-size:13px}.input-identity small{font-size:11px}
body.tools-collapsed .workstation{grid-template-columns:0 0 minmax(320px,1fr) 6px var(--right-width)}body.tools-collapsed .left-pane,body.tools-collapsed #resize-left{display:none}body.results-collapsed .workstation{grid-template-columns:var(--left-width) 6px minmax(320px,1fr) 0 0}body.results-collapsed .right-pane,body.results-collapsed #resize-right{display:none}body.focus-image .workstation{grid-template-columns:0 0 minmax(320px,1fr) 0 0}body.focus-image .left-pane,body.focus-image .right-pane,body.focus-image .pane-resize{display:none}
@media(max-width:1100px){:root{--shell-height:230px}.topbar{height:68px}.workspace-name{display:none}.workflow-strip{height:84px;padding:8px;gap:5px}.workflow-strip>button{padding:7px}.workflow-strip small{font-size:11px}.layout-actions{display:none}.mobile-navigation{display:flex;height:50px;gap:6px;padding:7px 10px;background:#1d2934;border-bottom:1px solid #435366}.mobile-navigation button{flex:1;padding:6px;font-size:13px}.workstation,body.tools-collapsed .workstation,body.results-collapsed .workstation,body.focus-image .workstation{display:flex;height:calc(100dvh - var(--shell-height));min-height:0}.viewer-pane{width:100%;height:100%;max-height:none;min-height:0;order:0}.left-pane,.right-pane,body.tools-collapsed .left-pane,body.results-collapsed .right-pane{display:none;position:fixed;inset:0 auto 0 0;width:min(92vw,420px);height:100dvh;max-height:100dvh;z-index:110;border:1px solid #526579;flex-direction:column}.right-pane{inset:0 0 0 auto}.left-pane.drawer-open,.right-pane.drawer-open,body.tools-collapsed .left-pane.drawer-open,body.results-collapsed .right-pane.drawer-open{display:flex}.drawer-close{display:block}.pane-resize{display:none}.drawer-open .pane-title{min-height:58px}.left-pane section{display:block;grid-column:auto}.left-pane section[hidden]{display:none!important}.left-footer{display:flex}.right-pane .inspector-tabs{display:grid}.inspector-panel{min-height:0}.right-pane{grid-column:auto}.drawer-open .inspector-panel{overflow:auto}.drawer-open .inspector-footer{padding:10px 15px}#drawer-backdrop:not([hidden]){position:fixed;inset:0;background:#0009;z-index:100}.canvas-wrap{min-height:100px}.image-header{height:64px;min-height:64px}.viewer-toolbar{justify-content:flex-start}.base-tools{flex-basis:auto;margin-left:auto}.viewer-status{height:28px}.filmstrip-section{height:38px}.filmstrip-section.expanded{height:120px}.layer-controls{margin-left:0}.left-pane .layer-section{border-left:0}.message{top:80px}.workstation .left-pane{order:1}.right-pane{order:2}}
@media(max-width:640px){:root{--shell-height:270px}.topbar{height:108px;min-height:108px;padding:9px 12px;gap:7px}.brand{font-size:22px}.top-actions{margin:0;width:auto;gap:5px;margin-left:auto}.top-actions button{font-size:12px;padding:6px;min-height:34px}.brand small{font-size:8px}.research-banner{height:28px;padding:0 10px;font-size:11px}.research-banner a{font-size:11px}.research-banner>span:nth-child(2){display:none}.workflow-strip{height:84px}.workflow-strip>button span{font-size:11px}.workflow-strip>button small{font-size:10px}.mobile-navigation{height:50px}.image-header{height:62px;min-height:62px;padding:10px 12px}.image-header h1{font-size:16px;max-width:210px}.image-header p{font-size:11px}.image-header .small-tag{font-size:9px}.input-identity{padding:6px 10px;font-size:11px;max-height:72px}.viewer-toolbar{min-height:42px;gap:3px;padding:4px 6px}.tool{width:30px;min-width:30px;height:30px;padding:3px}.tool-group{gap:1px}.zoom-tools{margin-left:auto}.base-tools{flex-basis:100%;justify-content:space-between;margin:0;border-top:1px solid #405263;padding-top:4px}.base-tools select{width:125px}.viewer-status{font-size:10px;padding:0 8px}.viewer-status .mono{font-size:9px}.canvas-corner{font-size:9px}.bottom-left{font-size:8px}.filmstrip-heading{height:37px}.filmstrip-section{height:38px}.filmstrip-section.expanded .filmstrip{height:80px}.inspector-tabs button{font-size:12px;min-height:40px}.pane-title strong{font-size:16px}.drawer-close{min-height:40px}.message{top:115px;font-size:13px;width:90vw}.thumb{width:84px;height:68px}.thumb img{height:44px}.thumb small{font-size:10px}}
@media print{.workflow-strip,.mobile-navigation,#drawer-backdrop,.skip-link{display:none!important}}

body{overflow:hidden}.browser-preview .workstation{height:calc(100dvh - var(--shell-height) - 46px)}
