/* Shared clinical chrome. Imaging canvases keep a stable dark surround. */
:root,:root[data-theme="dark"]{
  --canvas:#09131c;--bg:#111d2c;--panel:#192a3f;--panel-soft:#22364d;
  --line:#344b62;--text:#edf3f9;--muted:#b3c1d0;--accent:#69c4c0;--accent-dark:#183e48;
  --success:#8ed5ad;--yellow:#f2c46d;--danger:#f4a1aa;--warning-border:#94713c;--error-border:#ae6270;
  --shadow-soft:#0003;--shadow-strong:#0007;--focus-surface:#69c4c028;
  --hint-surface:#193548f2;--loading-surface:#111d2ccc;--backdrop:#071422aa;
  --clinical-primary:#326fa6;--clinical-primary-hover:#3c80ba;--clinical-primary-text:#fff;
  --clinical-danger-bg:#3a2530;--clinical-danger-hover:#4a2c38;
  --clinical-warning-bg:#3b3122;--clinical-warning-text:#f5d39b;
  --clinical-header:#162538;--clinical-hover:#22364d;
  --navy:var(--panel);--navy2:var(--panel-soft);--teal:var(--accent);--tealLight:var(--accent-dark);
  --ink:var(--text);--white:var(--panel);--amber:var(--yellow);--accent-soft:var(--accent-dark);--warning:var(--yellow);
  --shadow:0 3px 16px var(--shadow-soft);color-scheme:dark;
}
:root[data-theme="light"]{
  --bg:#f3f6f9;--panel:#fff;--panel-soft:#eaf0f6;--line:#c6d3df;
  --text:#192d43;--muted:#52677f;--accent:#00787c;--accent-dark:#e2f2f1;
  --success:#286746;--yellow:#855900;--danger:#ab283c;--warning-border:#ad8234;--error-border:#b85a6b;
  --shadow-soft:#18304b0c;--shadow-strong:#18304b22;--focus-surface:#00787c1a;
  --hint-surface:#f0f8fcf5;--loading-surface:#f3f6f9d9;--backdrop:#18304b55;
  --clinical-primary:#2266a2;--clinical-primary-hover:#19598f;--clinical-primary-text:#fff;
  --clinical-danger-bg:#fff3f4;--clinical-danger-hover:#ffe4e8;
  --clinical-warning-bg:#fff5df;--clinical-warning-text:#744b00;
  --clinical-header:#fff;--clinical-hover:#eaf0f6;color-scheme:light;
}
html,body{background:var(--bg);color:var(--text)}
body{font-family:Inter,"Segoe UI",system-ui,sans-serif}
button,input,select,textarea{border-radius:7px}
button{color:var(--text);background:var(--panel);border-color:var(--line)}
button:hover:not(:disabled){background:var(--clinical-hover);border-color:var(--muted)}
button.primary{background:var(--clinical-primary);border-color:var(--clinical-primary);color:var(--clinical-primary-text)}
button.primary:hover:not(:disabled){background:var(--clinical-primary-hover);border-color:var(--clinical-primary-hover)}
button.danger{background:var(--clinical-danger-bg);border-color:var(--error-border);color:var(--danger)}
button.danger:hover:not(:disabled){background:var(--clinical-danger-hover);border-color:var(--danger)}
input,select,textarea{color:var(--text);background:var(--bg);border-color:var(--line)}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}
a{color:var(--accent)}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
dialog{background:var(--panel);color:var(--text);border-color:var(--line);box-shadow:0 20px 70px var(--shadow-strong)}
dialog::backdrop{background:var(--backdrop)}
progress{accent-color:var(--accent)}
progress::-webkit-progress-bar{background:var(--panel-soft);border-radius:3px}
progress::-webkit-progress-value{background:var(--accent);border-radius:3px}
progress::-moz-progress-bar{background:var(--accent)}
kbd{color:var(--muted);background:var(--panel-soft);border-color:var(--line)}
.theme-control{display:inline-flex;align-items:center;gap:7px;margin:0;color:var(--muted);white-space:nowrap;font-size:12px}
.theme-control select{width:auto;min-width:88px;padding:5px 23px 5px 8px;margin:0;background:var(--panel);font-size:12px}
.auth-theme-control{display:flex;justify-content:flex-end;margin-bottom:22px}
.topbar{background:var(--clinical-header);box-shadow:0 1px 0 var(--line);padding-left:18px;padding-right:18px;gap:10px}
.topbar .wordmark{letter-spacing:-.3px;font-size:18px}
.topbar .wordmark small{letter-spacing:0;font-size:11px;margin-left:5px;margin-right:0}
.topbar .brand-icon{width:30px;height:32px;border-radius:7px;color:var(--bg);background:var(--accent)}
.workspace-modes>button{padding-left:11px;padding-right:11px;font-weight:500}
.workspace-modes>button.active{font-weight:650;color:var(--accent)}
.topbar .wa-new-project{display:none}
.topbar .wa-project-switcher,.topbar .workspace-switcher-button{color:var(--text);border-color:var(--line);background:var(--panel)}
.wa-page{padding:28px clamp(20px,3vw,52px);background:var(--bg)}
.wa-heading{margin-bottom:22px;gap:20px}
.wa-heading h1{font-size:29px;line-height:1.2;letter-spacing:-.5px}
.wa-heading p{margin-top:7px;font-size:13px}
.wa-heading .wa-actions{gap:8px}
.wa-heading .wa-actions>button{min-height:34px;font-size:12px}
.wa-heading .workspace-change-action{border-color:var(--accent);color:var(--accent)}
.wa-heading .wa-actions>.primary{background:var(--accent);border-color:var(--accent);color:var(--bg)}
.wa-stats{gap:14px;margin-bottom:25px}
.wa-stat{padding:18px 20px;border-radius:8px;background:var(--panel);border-color:var(--line)}
.wa-stat strong{font-size:25px;font-weight:600;font-variant-numeric:tabular-nums;margin-top:8px}
.wa-tabs{gap:12px;margin-bottom:18px}
.wa-tabs>button{padding:10px 14px;font-weight:550}
.wa-filterbar{margin-bottom:18px;gap:8px}
.wa-filterbar input{max-width:380px;min-height:36px;background:var(--panel)}
.wa-project-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr));gap:18px}
.wa-project-card{padding:20px;min-width:0;border-radius:9px;display:flex;flex-direction:column;box-shadow:0 2px 8px var(--shadow-soft)}
.wa-project-card.is-current{border-color:var(--clinical-primary)}
.wa-project-card .wa-project-title{font-size:21px;line-height:1.3;margin:18px 0 12px;white-space:normal}
.wa-project-card .wa-card-meta{font-size:12px;line-height:1.6;margin:6px 0}
.wa-project-card progress{width:100%;height:5px;margin-top:20px}
.wa-project-card>.wa-actions{padding-top:15px;margin-top:auto;gap:7px}
.wa-project-card>.wa-actions>button{padding:7px 9px;font-size:12px}
.wa-project-card>.wa-actions>.primary{flex-basis:100%;margin-bottom:3px;min-height:34px}
.wa-project-card>.wa-actions>button:not(.primary){background:transparent}
.wa-card-top{flex-wrap:wrap;gap:6px}
.wa-badge{font-size:10px;background:var(--bg);color:var(--muted);border-color:var(--line)}
.wa-current-badge{color:var(--accent);background:var(--accent-dark);border-color:transparent}
.wa-badge.warning{color:var(--yellow)}
.wa-project-count{font-size:12px;color:var(--muted);margin:18px 0 0}
.wa-location{display:flex;align-items:center;gap:10px;padding:0 0 20px;color:var(--muted);font-size:12px}
.wa-location strong{display:block;color:var(--text);font-size:13px;font-weight:600}
.wa-location-mark{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:8px;color:var(--clinical-primary);font-size:18px;font-weight:600}
.viewer-empty{background:var(--bg)}
.canvas-wrap,.viewer-column,#comparison-original,#clinical-export-preview,.clinical-export-preview-area{background:var(--canvas)}
.canvas-wrap .comparison-label{color:#edf3f9;background:#09131ccc}
.canvas-wrap .viewer-orientation-tools button{background:#192a3f;color:#edf3f9;border-color:#557089}
.canvas-wrap .facing-cycle>span{color:#b3c1d0}
.canvas-wrap .facing-cycle>span.active{color:#89dfd9;background:#183e48}
.canvas-wrap .viewer-orientation-tools button.direction-recorded{color:#89dfd9;border-color:#69c4c0}
.canvas-wrap .active-step-hint{background:#193548f2;color:#edf3f9;border-color:#557089}
#clear-annotations-button.annotation-reset{background:var(--clinical-warning-bg);color:var(--clinical-warning-text);border-color:var(--warning-border)}
#clear-annotations-button.annotation-reset:hover:not(:disabled){background:var(--clinical-warning-bg);border-color:var(--yellow)}
.profiles-studio-guide{background:var(--accent-dark);color:var(--text);border-color:var(--line)}
.profiles-row{color:var(--text)}.profiles-row-badge{color:var(--accent)}
.profiles-detail-actions button:not(.primary),.profiles-use-actions button{color:var(--text);background:var(--panel);border-color:var(--line)}
.clinical-export-settings>label:not(.check-label),.research-naming-dialog th{color:var(--muted)}
.clinical-export-settings select,.project-export-settings input,.project-export-settings select,.clinical-export-settings input:not([type="checkbox"]),.research-naming-dialog input{background:var(--bg);color:var(--text);border-color:var(--line)}
.clinical-export-choices,.clinical-export-preview-area,.clinical-export-footer,.project-export-settings,.research-naming-dialog th,.research-naming-dialog td{border-color:var(--line)}
.research-naming-preview code{color:var(--muted)}
.annotation-help-card{background:var(--panel);color:var(--text);border-color:var(--line)}
.annotation-help-card h2,.annotation-help-bindings dd{color:var(--text)}
.annotation-help-progress{color:var(--accent)}
.annotation-help-bindings{border-color:var(--line)}.annotation-help-bindings dt{color:var(--muted)}
.annotation-help-hidden-note{background:var(--panel-soft);color:var(--muted)}
/* Profile Studio shares the same preference even in a separate window. */
html[data-theme] .dtd-profile-studio .topbar,html[data-theme] .dtd-profile-studio .profilebar,html[data-theme] .dtd-profile-studio .panel,html[data-theme] .dtd-profile-studio .bottom-strip,html[data-theme] .dtd-profile-studio dialog{background:var(--panel);color:var(--text);border-color:var(--line)}
html[data-theme] .dtd-profile-studio button{color:var(--text);background:var(--panel);border-color:var(--line)}
html[data-theme] .dtd-profile-studio button:hover:not(:disabled){background:var(--panel-soft);border-color:var(--muted)}
html[data-theme] .dtd-profile-studio button.primary{background:var(--clinical-primary);color:#fff;border-color:var(--clinical-primary)}
html[data-theme] .dtd-profile-studio input,html[data-theme] .dtd-profile-studio select,html[data-theme] .dtd-profile-studio textarea{color:var(--text);background:var(--bg);border-color:var(--line)}
html[data-theme] .dtd-profile-studio .muted,html[data-theme] .dtd-profile-studio .eyebrow,html[data-theme] .dtd-profile-studio .brand span,html[data-theme] .dtd-profile-studio .empty-list,html[data-theme] .dtd-profile-studio .left-footer,html[data-theme] .dtd-profile-studio .canvas-hint,html[data-theme] .dtd-profile-studio .sequence-heading,html[data-theme] .dtd-profile-studio .element-text small,html[data-theme] .dtd-profile-studio .selection-summary,html[data-theme] .dtd-profile-studio .selection-empty,html[data-theme] .dtd-profile-studio .selection-group h3,html[data-theme] .dtd-profile-studio .shortcut-strip,html[data-theme] .dtd-profile-studio .calibration-form p,html[data-theme] .dtd-profile-studio dialog p,html[data-theme] .dtd-profile-studio .field>span{color:var(--muted)}
html[data-theme] .dtd-profile-studio .profile-title,html[data-theme] .dtd-profile-studio .overview-title h2,html[data-theme] .dtd-profile-studio .overview-title h3,html[data-theme] .dtd-profile-studio .helper-heading h3,html[data-theme] .dtd-profile-studio .left-footer strong,html[data-theme] .dtd-profile-studio .selection-heading h2{color:var(--text)}
html[data-theme] .dtd-profile-studio .badge,html[data-theme] .dtd-profile-studio .element-icon,html[data-theme] .dtd-profile-studio .definition-box,html[data-theme] .dtd-profile-studio .section-help-text{background:var(--panel-soft);color:var(--muted);border-color:var(--line)}
html[data-theme] .dtd-profile-studio .canvas-toolbar,html[data-theme] .dtd-profile-studio .draw-toolbar,html[data-theme] .dtd-profile-studio .view-controls,html[data-theme] .dtd-profile-studio .canvas-hint,html[data-theme] .dtd-profile-studio .sequence-list,html[data-theme] .dtd-profile-studio .bottom-strip details,html[data-theme] .dtd-profile-studio .frame-row,html[data-theme] .dtd-profile-studio .metric-card,html[data-theme] .dtd-profile-studio .catalog-card,html[data-theme] .dtd-profile-studio .menu-items,html[data-theme] .dtd-profile-studio .tool-mode{background:var(--panel);color:var(--text);border-color:var(--line)}
html[data-theme] .dtd-profile-studio .element-row{background:var(--bg);border-color:transparent;color:var(--text)}
html[data-theme] .dtd-profile-studio .element-row:hover{background:var(--panel-soft);border-color:var(--line)}
html[data-theme] .dtd-profile-studio .draw-toolbar button[aria-pressed=true],html[data-theme] .dtd-profile-studio .draw-toolbar .tool-mode button[aria-pressed=true]{background:var(--accent-dark);border-color:var(--accent);color:var(--accent);box-shadow:inset 0 -2px var(--accent)}
html[data-theme] .dtd-profile-studio .draw-toolbar .shape-tools button{color:var(--muted);background:transparent;border-color:transparent}
html[data-theme] .dtd-profile-studio .draw-toolbar .shape-tools button[aria-pressed=true]{background:var(--accent-dark);color:var(--accent);border-color:var(--accent)}
html[data-theme] .dtd-profile-studio .element-row.active,html[data-theme] .dtd-profile-studio .metric-card.active{background:var(--clinical-warning-bg);border-color:var(--warning-border);box-shadow:inset 3px 0 var(--yellow)}
html[data-theme] .dtd-profile-studio .element-row.active .element-text strong,html[data-theme] .dtd-profile-studio .metric-card.active .metric-header strong{color:var(--clinical-warning-text)}
html[data-theme] .dtd-profile-studio .metric-card .value,html[data-theme] .dtd-profile-studio #mode-status,html[data-theme] .dtd-profile-studio .selection-alternatives>summary,html[data-theme] .dtd-profile-studio .calculated-note{color:var(--accent)}
html[data-theme] .dtd-profile-studio .metric-card.unavailable .value,html[data-theme] .dtd-profile-studio .metric-card .reason{color:var(--muted)}
html[data-theme] .dtd-profile-studio .definition-box.warning,html[data-theme] .dtd-profile-studio .angle-choice,html[data-theme] .dtd-profile-studio #place-only[aria-pressed=true]{background:var(--clinical-warning-bg);color:var(--clinical-warning-text);border-color:var(--warning-border)}
html[data-theme] .dtd-profile-studio .selection-actions button,html[data-theme] .dtd-profile-studio .context-more summary,html[data-theme] .dtd-profile-studio .catalog-actions button{background:var(--accent-dark);color:var(--accent);border-color:var(--line)}
html[data-theme] .dtd-profile-studio .context-label,html[data-theme] .dtd-profile-studio .group-panel summary,html[data-theme] .dtd-profile-studio .advanced-inspector summary,html[data-theme] .dtd-profile-studio .bottom-strip summary,html[data-theme] .dtd-profile-studio .bottom-strip .issue{color:var(--muted)}
html[data-theme] .dtd-profile-studio .workflow-panel{background:var(--accent-dark);color:var(--text);border-color:var(--line)}
html[data-theme] .dtd-profile-studio .workflow-heading,html[data-theme] .dtd-profile-studio .test-cases{color:var(--text)}
html[data-theme] .dtd-profile-studio .offline-pill{background:var(--accent-dark);color:var(--accent)!important;border-color:var(--line)}
html[data-theme] .dtd-profile-studio .notice{background:var(--accent-dark);color:var(--text);border-color:var(--accent)}
html[data-theme] .dtd-profile-studio .notice.error,html[data-theme] .dtd-profile-studio .inspector-actions .danger{background:var(--clinical-danger-bg);color:var(--danger);border-color:var(--error-border)}
html[data-theme] .dtd-profile-studio .sequence-list button.done{background:var(--accent-dark);color:var(--success);border-color:var(--line)}
html[data-theme] .dtd-profile-studio .canvas-wrap{background:var(--canvas)}
html[data-theme] .dtd-profile-studio .canvas-empty,html[data-theme] .dtd-profile-studio .canvas-empty strong{color:#b3c1d0}
/* Legacy Studio disclosure surfaces and save states must follow the palette. */
html[data-theme] .dtd-profile-studio .studio-menu summary,html[data-theme] .dtd-profile-studio .context-more summary{background:var(--panel-soft);color:var(--text);border-color:var(--line)}
html[data-theme] .dtd-profile-studio .studio-menu summary:after{color:var(--muted)}
html[data-theme] .dtd-profile-studio .studio-menu summary:hover,html[data-theme] .dtd-profile-studio .context-more summary:hover{background:var(--accent-dark);color:var(--accent);border-color:var(--accent)}
html[data-theme] .dtd-profile-studio .group-panel{background:var(--panel-soft);border-color:var(--line)}
html[data-theme] .dtd-profile-studio .group-panel>summary,html[data-theme] .dtd-profile-studio .advanced-elements>summary,html[data-theme] .dtd-profile-studio .advanced-inspector>summary{color:var(--text)}
html[data-theme] .dtd-profile-studio .advanced-elements,html[data-theme] .dtd-profile-studio .advanced-inspector,html[data-theme] .dtd-profile-studio .helper-heading,html[data-theme] .dtd-profile-studio .left-footer,html[data-theme] .dtd-profile-studio .selection-panel{border-color:var(--line)}
html[data-theme] .dtd-profile-studio #storage-status.saved,html[data-theme] .dtd-profile-studio .save-dot{color:var(--success)}
html[data-theme] .dtd-profile-studio #storage-status.dirty,html[data-theme] .dtd-profile-studio .preview-value,html[data-theme] .dtd-profile-studio .metric-card .estimated,html[data-theme] .dtd-profile-studio .issue.warning{color:var(--yellow)}
html[data-theme] .dtd-profile-studio #storage-status.error,html[data-theme] .dtd-profile-studio .issue.error,html[data-theme] .dtd-profile-studio .remove-explanation{color:var(--danger)}
html[data-theme] .dtd-profile-studio .tabs button[aria-selected=true]{color:var(--accent);border-bottom-color:var(--accent)}
html[data-theme] .dtd-profile-studio kbd{background:var(--panel-soft);color:var(--muted);border-color:var(--line)}
@media(min-width:1700px){.wa-project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1500px){.topbar>.theme-control>span{display:none}.topbar>.theme-control select{min-width:78px;max-width:90px}.wa-page{padding:24px}}
/* Keep navigation and account actions together instead of wrapping one button. */
@media(min-width:851px) and (max-width:1500px){
  html[data-theme] #workspace>.topbar{display:grid;grid-template-columns:auto minmax(140px,210px) minmax(150px,225px) minmax(0,1fr) auto auto auto auto;grid-template-areas:"brand workspace project . theme account account account" "nav nav nav nav members options help logout";height:auto;min-height:90px;gap:6px 10px;padding:8px 18px;overflow:visible;align-items:center}
  #workspace>.topbar>.wordmark{grid-area:brand;width:auto;margin:0}
  #workspace>.topbar>#workspace-switcher-button{grid-area:workspace;min-width:0;max-width:none;width:100%}
  #workspace>.topbar>.top-select{grid-area:project;min-width:0;max-width:none;width:100%}
  #workspace>.topbar>.workspace-modes{grid-area:nav;justify-self:start;margin:0;min-height:34px}
  #workspace>.topbar>.theme-control{grid-area:theme;justify-self:end}
  #workspace>.topbar>#account-tools{grid-area:account;justify-self:end}
  #workspace>.topbar>#members-button{grid-area:members}
  #workspace>.topbar>#options-button{grid-area:options}
  #workspace>.topbar>#controls-help-button{grid-area:help}
  #workspace>.topbar>#logout-button{grid-area:logout}
  html[data-theme] #workspace>.topbar>#current-user,#workspace>.topbar>.top-spacer{display:none!important}
}
@media(max-width:850px){
  html[data-theme] #workspace>.topbar{height:auto;min-height:52px;flex-wrap:wrap;overflow-x:visible;gap:6px;padding:8px 10px}
  #workspace>.topbar>.workspace-modes{order:10;flex-basis:100%;max-width:100%;overflow-x:auto;margin:0;min-height:37px}
  #workspace>.topbar>.workspace-modes button{flex-shrink:0}
  #workspace>.topbar>.theme-control{margin-left:auto}
  #workspace>.topbar>#members-button,#workspace>.topbar>#options-button,#workspace>.topbar>#controls-help-button,#workspace>.topbar>#logout-button{order:11}
}
@media(min-width:851px) and (max-width:1050px){
  html[data-theme] #workspace>.topbar{grid-template-columns:auto minmax(120px,1fr) minmax(120px,1fr) auto auto auto auto;grid-template-areas:"brand workspace project theme account account account" "nav nav nav nav nav nav nav" ". . . members options help logout";min-height:120px}
}
@media(max-width:1050px){.topbar>.theme-control{flex-shrink:0}.topbar>.user-chip{display:none}.wa-heading{flex-wrap:wrap}.wa-project-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}}
@media(max-width:650px){.wa-page{padding:18px 14px}.wa-stats{gap:8px}.wa-stat{padding:12px}.wa-heading h1{font-size:25px}.wa-project-grid{grid-template-columns:1fr}.theme-control>span{display:none}.wa-heading .wa-actions{flex-wrap:wrap}.wa-heading .wa-actions>button{white-space:normal}.dtd-profile-studio .top-actions{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* 1.3.0: top tabs as in DTD Segmentor – page tabs, then the numbered reading steps (AI, Annotation,
   Planning); the active tab is raised and joins the page below. */
html[data-theme] #workspace>.topbar{padding-bottom:0}
html[data-theme] #workspace>.topbar>.workspace-modes{display:flex;align-items:flex-end;align-self:stretch;gap:2px;margin:0 0 0 10px;padding-top:6px;min-height:0;border:0;background:none}
@media(min-width:851px) and (max-width:1500px){html[data-theme] #workspace>.topbar>.workspace-modes{align-self:end;margin-left:0}}
html[data-theme] #workspace>.topbar .nav-pipeline{display:flex;align-items:flex-end;gap:2px;margin-left:14px;counter-reset:dtd-step}
html[data-theme] #workspace>.topbar .workspace-modes button{position:relative;display:inline-flex;align-items:center;gap:8px;height:40px;min-height:40px;margin:0 0 -1px;padding:0 14px;border:1px solid transparent;border-bottom:0;border-radius:9px 9px 0 0;background:transparent;color:var(--muted);font-size:13.5px;font-weight:500;box-shadow:none}
html[data-theme] #workspace>.topbar .workspace-modes button:hover:not(:disabled){background:var(--clinical-hover);border-color:var(--line);color:var(--text)}
html[data-theme] #workspace>.topbar .workspace-modes button.active{background:var(--bg);border-color:var(--line);color:var(--text);font-weight:650;box-shadow:inset 0 2px 0 var(--accent)}
html[data-theme] #workspace>.topbar .workspace-modes button.active::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--bg)}
html[data-theme] #workspace>.topbar .workspace-modes button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
html[data-theme] #workspace>.topbar .nav-pipeline>button::before{counter-increment:dtd-step;content:counter(dtd-step);display:inline-flex;align-items:center;justify-content:center;flex:none;width:18px;height:18px;border-radius:50%;border:1px solid var(--line);font-size:10px;font-weight:700;line-height:1;color:var(--muted)}
html[data-theme] #workspace>.topbar .nav-pipeline>button.active::before{background:var(--accent);border-color:var(--accent);color:var(--canvas)}
html[data-theme] #workspace>.topbar #profiles-button{margin-left:14px}
html[data-theme] #workspace>.topbar>:not(.workspace-modes){align-self:center}
@media(max-width:1350px){html[data-theme] #workspace>.topbar .workspace-modes button{font-size:12.5px;padding:0 10px;height:36px;min-height:36px}html[data-theme] #workspace>.topbar .nav-pipeline,html[data-theme] #workspace>.topbar #profiles-button{margin-left:8px}}
@media(max-width:850px){html[data-theme] #workspace>.topbar .nav-pipeline>button::before{display:none}}
