/* Final presentation layer; deliberately leaves legacy controls and data hooks intact. */
:root{--scrollbar-thumb:#8997aa;--scrollbar-thumb-hover:#64748b}
:root[data-theme="dark"]{--scrollbar-thumb:#566881;--scrollbar-thumb-hover:#8293ab}
:root,.desk-redesign *{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}
/* Chromium and Safari get rounded thumbs without native arrow buttons. */
@supports selector(::-webkit-scrollbar){
 :root,.desk-redesign *{scrollbar-width:auto;scrollbar-color:auto}
 ::-webkit-scrollbar{width:10px;height:10px}
 ::-webkit-scrollbar-track,::-webkit-scrollbar-corner{background:transparent}
 ::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border:2px solid transparent;border-radius:999px;background-clip:padding-box;min-height:32px;min-width:32px}
 ::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover)}
 ::-webkit-scrollbar-button{display:none;width:0;height:0}
}
@media(forced-colors:active){
 :root,.desk-redesign *{scrollbar-width:auto;scrollbar-color:auto}
 ::-webkit-scrollbar-thumb{background:CanvasText;border-color:Canvas}
 ::-webkit-scrollbar-thumb:hover{background-color:Highlight}
}
:root[data-theme="dark"]{--ink:#e6edf5;--muted:#a0afc2;--line:#29374a;--surface:#131d2c;--green:#58d5b1;--blue:#89b8ff;--red:#ff939d;--amber:#f2c777;--border:var(--line);--text-muted:var(--muted);--chart-bg:#111a27;background:#0b1220;color:var(--ink)}
.desk-redesign{font-size:14px;line-height:1.5}
.desk-redesign .workspace{grid-template-columns:218px minmax(0,1fr)}
.desk-redesign .sidebar{padding:26px 16px 20px;overflow-y:auto}
.desk-redesign .sidebar .nav-item{min-height:46px;width:100%;font-size:14px;border-radius:8px;gap:10px}
.desk-redesign .sidebar nav{width:100%}
.desk-redesign .sidebar .nav-item>span,.desk-redesign .sidebar .brand>span:last-child{display:inline}
.desk-redesign .sidebar .account-label{margin-top:28px}
.desk-redesign .sidebar-bottom{gap:10px;padding-top:22px}
.desk-redesign .sidebar-bottom .subtle{font-size:12px}
.desk-redesign .desk-utilities{margin-top:28px}
.nav-caption{font-size:10px;letter-spacing:1.3px;color:var(--muted);margin:0 12px 10px;font-weight:650}
.desk-redesign main{padding:26px 30px 0;max-width:1760px}
.desk-redesign .topbar{padding:14px 30px;gap:12px;flex-wrap:wrap}
.desk-redesign .top-actions{flex-wrap:wrap;gap:8px}
.desk-redesign .top-actions .account-selector{margin:0;font-size:12px}
.desk-redesign .top-actions .account-selector select{max-width:205px}
.desk-redesign h1{font-size:28px;letter-spacing:-.6px}
.desk-redesign h2{font-size:17px}
.desk-redesign h3{font-size:14px}
.desk-redesign .subtle,.desk-redesign .field-help{font-size:13px;line-height:1.65;color:var(--muted)}
.desk-redesign .page-intro{flex-wrap:wrap;margin-bottom:18px;gap:16px}
.desk-redesign .page-intro>div:first-child{margin-right:auto}
.desk-redesign .eyebrow{letter-spacing:1px;font-size:10px}
.desk-redesign .button,.desk-redesign .icon-button{min-height:40px;border-radius:7px;font-size:13px}
.desk-redesign .button.primary{background:#1c896f;border-color:#1c896f;color:#fff}
.desk-redesign .badge{font-size:11px;letter-spacing:.15px;padding:4px 9px;border-radius:5px}
.desk-redesign #desk-mode{font-weight:700;display:inline-flex!important}
.desk-redesign .health-strip{padding:12px 0;margin:0 0 18px;display:flex;gap:12px 20px;flex-wrap:wrap}
.desk-redesign .health-item{font-size:12px}
.desk-redesign .desk-snapshot{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 18px}
.desk-snapshot article{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:19px 20px;display:flex;flex-direction:column;gap:6px;min-width:0}
.desk-snapshot article:first-child{border-top:3px solid var(--green);padding-top:17px}
.desk-snapshot small{font-size:13px;color:var(--muted)}
.desk-snapshot strong{font-size:26px;font-weight:650;font-variant-numeric:tabular-nums;line-height:1.3;overflow-wrap:anywhere}
.desk-snapshot span{font-size:11px;color:var(--muted)}
.desk-redesign .desk-attention{border:1px solid var(--line);border-radius:10px;padding:15px 18px;margin-bottom:18px;background:var(--surface);display:flex;flex-direction:column}
.desk-attention .section-heading{order:-1;margin-bottom:6px}
.desk-attention .section-heading h2{font-size:14px}
.desk-attention.has-attention{border-left:3px solid var(--amber)}
.desk-attention #alerts-list.empty{font-size:12px;padding:5px 0;min-height:0}
.desk-attention-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.desk-attention #desk-attention-note ul{margin:8px 0;padding-left:18px}.desk-attention #desk-attention-note li{margin:5px 0}
.desk-redesign .position-filters{display:grid;grid-template-columns:minmax(190px,1fr) 180px auto;gap:14px;align-items:end}.position-filters label{display:grid;gap:6px;color:var(--muted);font-size:12px}.position-filters :is(input,select){width:100%;margin:0}.position-filters>.button{align-self:end}
.desk-redesign .desk-utilities .owner-backend-link{display:inline-flex;align-items:center;justify-content:flex-start;min-height:36px;width:100%;margin:4px 0 0;padding:7px 12px;text-decoration:none;font-size:12px}
.desk-redesign #broker-status-light{display:flex;align-items:center;gap:9px;width:auto;height:36px;border-radius:6px;padding:0 10px;font-size:11px;color:var(--muted);border:1px solid var(--line);white-space:nowrap}
.broker-status.is-open #broker-status-tip{visibility:visible!important;opacity:1!important}
.brokerage-empty{border:1px dashed var(--line);border-radius:10px;padding:22px;grid-column:1/-1}.brokerage-empty strong{font-size:14px}.brokerage-empty p{font-size:12px;line-height:1.8;color:var(--muted);max-width:580px;margin:8px 0 0}
.optional-capabilities{margin-top:24px}.optional-capabilities .capability-row{margin:0 18px}
.settings-save-help{font-size:12px;color:var(--muted);line-height:1.7;margin:10px 0}.settings-save-help[hidden]{display:none}
.desk-redesign .nav[data-unsaved="true"]>span::after{content:" •";color:var(--amber,#c39037)}
.setup-activity-body li{line-height:1.6;overflow-wrap:anywhere}.setup-activity-body li>.history-contract{display:block;margin-bottom:5px}.setup-activity-body li>small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.setup-activity-body li>.history-status{margin-left:8px}
.desk-attention .stack-item{padding:8px 0}
.desk-redesign .desk-details{border:1px solid var(--line);border-radius:9px;margin:0 0 16px;background:var(--surface);min-width:0}
.desk-details>summary{padding:12px 16px;font-size:13px;font-weight:600;cursor:pointer;color:var(--muted);min-height:44px}
.desk-details[open]>summary{border-bottom:1px solid var(--line);margin-bottom:12px;color:var(--ink)}
.desk-details>section,.desk-details>.portfolio-report,.desk-details>.form-grid,.desk-details>#strategy-monitor{padding:0 18px 18px;margin:0}
.desk-redesign .safety-tools{background:transparent}
.safety-tools .emergency-card{border:0;margin:0;padding:0}
.desk-redesign .desk-subnav,.desk-redesign .settings-categories{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 20px;padding:6px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.desk-subnav .nav-item{width:auto;margin:0;padding:9px 14px;min-height:40px}
.desk-subnav .button,.settings-categories .button{border:0;background:transparent;color:var(--muted)}
.desk-subnav .selected,.settings-categories .selected{background:color-mix(in srgb,var(--blue) 14%,transparent)!important;color:var(--blue)!important}
.desk-redesign .overview-grid{grid-template-columns:minmax(0,1fr) 320px;gap:18px}
.desk-redesign .market-section,.desk-redesign .strategy-section{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:20px;min-width:0}
.desk-redesign .market-section>.section-heading{align-items:flex-start;flex-wrap:wrap}
.desk-redesign .chart-wrap{height:300px}
.desk-redesign .chart-controls{justify-content:flex-start;gap:6px}
.desk-redesign #runs-list{margin-top:14px}
.desk-redesign #runs-list .stack-item{flex-wrap:wrap;gap:10px;padding:14px 0}
.desk-redesign #runs-list .inline-tools{display:flex;gap:6px;flex-wrap:wrap}
.desk-redesign .ghost{min-height:36px;padding:7px 10px;border-radius:6px}
.desk-redesign .strategy-section .desk-details{margin-top:12px}
.desk-redesign .strategy-section .risk-mini{margin-top:18px}
.desk-redesign .positions-preview,.desk-redesign .bottom-grid>section{padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--surface);margin-top:18px}
.desk-redesign .bottom-grid{gap:18px;margin-top:0}
.desk-redesign .research-details{margin-top:20px}
.desk-redesign .research-readiness{border:0}
.desk-redesign .settings-hero{margin-bottom:18px}
.desk-redesign .settings-group>.button{margin-bottom:14px}
.desk-redesign .risk-card{border-radius:10px;border-color:var(--line);background:var(--surface)}
.desk-redesign .risk-card summary{padding:16px 20px;min-height:52px}
.desk-redesign .risk-card-body{padding:20px}
.desk-redesign .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.desk-redesign label{font-size:13px;min-width:0}
.desk-redesign input,.desk-redesign select,.desk-redesign textarea{border-radius:6px;min-height:40px;font-size:14px;max-width:100%}
.desk-redesign input[type=checkbox]{min-height:0}
.desk-redesign .field-help{display:block;margin-top:6px;font-size:12px}
.desk-redesign .target-editor{border:1px solid var(--line);border-radius:10px;padding:18px;margin:18px 0}
.target-editor-heading{margin-bottom:16px}
.target-editor-row{display:grid;grid-template-columns:90px minmax(0,1fr) minmax(0,1fr);align-items:start;gap:20px;padding:16px 0;border-top:1px solid var(--line)}
.target-editor-row h3{padding-top:8px}
.desk-explainer{padding:12px 14px;background:color-mix(in srgb,var(--blue) 8%,transparent);border-radius:7px;font-size:13px;line-height:1.7;color:var(--muted);margin-top:14px}
.inactive-setting{opacity:.75}
.desk-redesign .sticky-save{position:sticky;bottom:12px;z-index:10;padding:14px 18px;border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:0 8px 28px #0003;margin:18px 0}
.desk-redesign .sticky-save>div{display:flex;flex-wrap:wrap;gap:8px}
.desk-redesign .current-risk-card{margin-top:20px}
.desk-redesign .desk-details>p,.desk-redesign .desk-details>button{margin:12px 18px}
.desk-redesign .card-note{background:var(--surface);color:var(--muted)}
.desk-redesign .position-plan{background:var(--surface);border-color:var(--line);padding:22px;border-radius:12px}
.desk-redesign .exit-plan-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.desk-redesign .exit-plan-grid small{font-size:12px;color:var(--muted)}
.desk-redesign .exit-plan-grid strong{font-size:19px;color:var(--ink);font-variant-numeric:tabular-nums}
.desk-redesign .exit-plan-grid span{font-size:12px;color:var(--muted)}
.contract-quality{padding:18px 0;margin:20px 0 14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.contract-quality h3{margin-bottom:15px}
.contract-quality .exit-plan-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.contract-quality .exit-plan-grid strong{font-size:14px;font-weight:550}
.desk-empty{text-align:center;padding:50px 24px;border:1px dashed var(--line);border-radius:12px;color:var(--muted)}
.desk-empty h3{color:var(--ink);margin-bottom:8px}
.desk-empty p{max-width:450px;margin:auto;font-size:13px}
.desk-redesign .table-wrap{overflow:auto;max-width:100%}
.desk-redesign th,.desk-redesign td{font-size:13px;padding:13px 14px}
.desk-redesign .contract-code{font-size:10px}
:root[data-theme="dark"] .desk-redesign :is(.sidebar,.topbar,.button,.icon-button,input,select,textarea){background-color:var(--surface);color:var(--ink);border-color:var(--line)}
:root[data-theme="dark"] .desk-redesign .button.primary{background:#197c65;color:#fff;border-color:#279c81}
:root[data-theme="dark"] .desk-redesign .nav-item{color:var(--muted)}
:root[data-theme="dark"] .desk-redesign .nav-item.active{background:#17382f;color:var(--green)}
:root[data-theme="dark"] .desk-redesign .nav-item:hover{background:#1e2c3f;color:var(--ink)}
:root[data-theme="dark"] .desk-redesign .badge.blue{background:#20344e;color:#a0c6ff}
:root[data-theme="dark"] .desk-redesign .badge.warn{background:#3a3020;color:#f2c777}
:root[data-theme="dark"] .desk-redesign .badge.good{background:#17382f;color:#76dbbb}
:root[data-theme="dark"] .desk-redesign .breadcrumb strong{color:var(--ink)}
@media(min-width:1600px){.desk-redesign .chart-wrap{height:360px}}
@media(max-width:1150px){.desk-redesign .workspace{grid-template-columns:185px minmax(0,1fr)}.desk-redesign main{padding:22px 20px 0}.desk-redesign .overview-grid{grid-template-columns:1fr}.desk-redesign .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.desk-redesign .desk-snapshot{grid-template-columns:repeat(2,minmax(0,1fr))}.desk-redesign .exit-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.desk-redesign .strategy-section{display:block}.desk-redesign .topbar{padding:12px 20px}}
@media(max-width:760px){.desk-redesign .workspace{display:block}.desk-redesign .sidebar{position:static;width:auto;height:auto;overflow:visible;padding:16px}.desk-redesign .sidebar .brand{display:flex}.desk-redesign .sidebar .account-label,.desk-redesign .sidebar .account-select,.desk-redesign .sidebar-bottom{display:none}.desk-redesign .sidebar>nav[aria-label="Primary navigation"]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:16px;gap:4px}.desk-redesign .sidebar .nav-item{display:flex;flex-direction:column;gap:5px;padding:10px 4px;font-size:12px;text-align:center;justify-content:center}.desk-redesign .nav-item>span{display:inline}.desk-redesign .nav-count{display:none!important}.desk-redesign .desk-utilities{display:flex;gap:16px;margin-top:10px}.desk-redesign .desk-utilities .nav-item{width:auto;flex-direction:row;font-size:12px;padding:6px;min-height:36px}.desk-redesign .nav-caption{display:none}.desk-redesign .sign-out{position:absolute;top:15px;right:16px;min-height:34px}.desk-redesign .topbar{padding:12px 16px}.desk-redesign .breadcrumb{display:none}.desk-redesign .top-actions{width:100%}.desk-redesign .top-actions .account-selector{width:100%;display:flex}.desk-redesign .top-actions .account-selector select{max-width:none;flex:1}.desk-redesign main{padding:20px 16px 0}.desk-redesign .page-states{flex-wrap:wrap}.desk-redesign .desk-snapshot{gap:10px}.desk-snapshot article{padding:14px}.desk-snapshot article:first-child{padding-top:12px}.desk-snapshot strong{font-size:22px}.desk-snapshot span{font-size:11px}.desk-redesign .market-section,.desk-redesign .strategy-section{padding:16px}.desk-redesign .chart-wrap{height:240px}.desk-redesign .bottom-grid{grid-template-columns:1fr}.desk-redesign .form-grid{grid-template-columns:1fr}.desk-redesign .risk-card-body{padding:16px}.target-editor-row{grid-template-columns:1fr;gap:12px}.target-editor-row h3{padding:0}.desk-redesign .sticky-save{bottom:8px;padding:12px;display:flex;flex-wrap:wrap;gap:10px}.desk-redesign .sticky-save>div{width:100%}.desk-redesign .sticky-save .button{flex:1}.desk-redesign .sticky-save #restore-defaults{flex-basis:100%}.desk-redesign .contract-quality .exit-plan-grid{grid-template-columns:1fr 1fr}.desk-redesign .position-plan{padding:16px}.desk-redesign .desk-subnav .nav-item{display:flex;flex-direction:row}.desk-redesign .settings-categories{gap:4px}.settings-categories .button{flex:1 1 42%;font-size:12px}.desk-redesign .health-strip{gap:10px}.desk-redesign .exit-plan-grid{gap:16px}.desk-redesign .exit-plan-grid strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){.desk-redesign *{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:760px){
 .desk-redesign .sidebar>nav[aria-label="Primary navigation"]{grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}.desk-redesign .sidebar .nav-item{font-size:11px}.desk-redesign .sidebar>nav[aria-label="Primary navigation"] .nav-item>span{white-space:normal}
 .desk-redesign .desk-utilities{flex-wrap:wrap;column-gap:10px;row-gap:3px}.desk-redesign .desk-utilities .owner-backend-link{width:auto;margin:0;padding:6px;font-size:11px;min-height:36px}
 .desk-redesign .position-filters{grid-template-columns:1fr 1fr}.position-filters>label:first-child{grid-column:1/-1}.desk-redesign .position-filters>.button{justify-self:end}
 .desk-redesign :is(#broker-status-tip,#system-health-tip){position:fixed;top:auto;bottom:16px;left:16px;right:16px;width:auto;max-width:none}.desk-redesign .top-actions{gap:8px}
 .desk-redesign .sidebar .nav-item{width:100%}
 .desk-redesign .sidebar nav{min-height:0}
 .desk-redesign .desk-utilities .nav-item{width:auto}
 .desk-redesign .sidebar>nav[aria-label="Primary navigation"]{margin-top:10px}
 .desk-redesign .desk-utilities{padding-top:0;border:0;margin-top:4px}
 .desk-redesign .health-strip{display:grid;grid-template-columns:1fr 1fr;gap:10px}
 .desk-redesign .health-item{min-width:0;align-items:flex-start;font-size:11px}
}

/* One status area, with secondary information available on demand. */
.desk-redesign .page-intro{margin-bottom:12px}
.desk-redesign .page-intro .eyebrow,.desk-redesign .page-states{display:none}
.desk-redesign .top-actions #resume:disabled,.desk-redesign .top-actions #halt:disabled{display:none}
.desk-redesign .top-actions #halt{display:inline-flex;align-items:center;gap:7px;width:auto;white-space:nowrap;padding:8px 12px}
.desk-redesign .desk-statusbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px;padding:10px 0 14px;margin-bottom:14px;border-bottom:1px solid var(--line)}
.desk-statusbar .system-state{font-size:12px;cursor:help}
.desk-redesign .desk-statusbar #broker-status-light{min-height:30px;height:auto;padding:4px 0;border:0;background:transparent;font-size:12px}
.desk-redesign .desk-statusbar .health-strip{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0;padding:0;border:0;flex:1;justify-content:flex-end}
.desk-redesign .desk-statusbar .health-item{font-size:12px}
.desk-redesign .desk-statusbar .health-item[hidden]{display:none}
.admin-view .desk-statusbar{display:none!important}
.desk-redesign .desk-attention{gap:0;padding:16px 20px}
.desk-attention #desk-attention-note{order:1}
.desk-attention .desk-attention-actions{order:2;margin:8px 0 0}
.desk-attention #alerts-list{order:3;margin-top:8px}
.desk-redesign .desk-attention .bot-status-card{border:0;border-radius:0;padding:0;margin:0;background:transparent;order:0}
.bot-status-summary{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 20px;justify-content:space-between}
.bot-status-summary>small{white-space:nowrap;color:var(--muted)}
.desk-redesign main,.desk-redesign .desk-attention,.desk-attention .bot-status-card{min-width:0}
.bot-status-summary>*{min-width:0;overflow-wrap:anywhere}
.desk-attention :is(li,p),.research-readiness :is(p,strong,span){overflow-wrap:anywhere}
.desk-attention .bot-status-card>p{margin:5px 0;color:var(--muted)}
.desk-attention .bot-status-card>ul{display:flex;flex-wrap:wrap;gap:4px 24px;margin:7px 0 0;padding-left:18px}
.desk-attention .bot-status-card>ul li{margin:0;max-width:650px}
.desk-redesign .strategy-section .setup-risk-details{margin:16px 0 0}
.desk-redesign .setup-risk-details .risk-mini{margin:0;padding:0 14px 14px;border:0}
.desk-redesign .market-context-details{margin:14px 0 0;background:transparent;border:0;border-top:1px solid var(--line);border-radius:0}
.market-context-details>summary{padding:12px 0 0;min-height:36px}
.market-context-details[open]>summary{padding-bottom:12px}
.desk-redesign .market-context-details #market-context{padding:0}
.desk-redesign .bottom-grid{grid-template-columns:1fr}
.desk-redesign .bottom-grid .empty-state{min-height:100px;padding:24px}
.desk-redesign .positions-preview.is-empty #open-positions{display:none}
.desk-redesign .positions-preview.is-empty .section-heading{margin-bottom:0}
.desk-redesign .bottom-grid>section.is-empty .empty-state{min-height:0;padding:8px 0;align-items:flex-start;text-align:left}
.desk-redesign .bottom-grid>section.is-empty .empty-state>svg{display:none}
.desk-redesign .account-details{margin-top:18px}
.desk-redesign .contract-quality>summary{cursor:pointer;font-weight:600;padding:0 0 12px;color:var(--muted)}
.desk-redesign .account-nickname{margin:10px 0;color:var(--muted);font-size:12px}
.account-nickname>summary,.connection-options>summary{cursor:pointer;min-height:32px;display:list-item;padding:6px 0}
.desk-redesign .account-nickname-row{margin:8px 0}
.connection-options{font-size:12px;color:var(--muted)}
.connection-options .form-actions{margin:8px 0}
.setup-identity-tools{border:1px solid var(--line);border-radius:8px;margin:14px 0;padding:10px 14px}
.setup-identity-tools>summary{cursor:pointer;font-size:12px;color:var(--muted)}
.strategy-page-filters{display:grid;grid-template-columns:minmax(180px,1fr) 180px;gap:12px;margin:0 0 20px}
.strategy-page-filters label{display:grid;gap:5px;color:var(--muted);font-size:12px}
.strategy-page-filters input,.strategy-page-filters select{margin:0;width:100%}
.instance-config-group{margin:14px 0;border:1px solid var(--line);border-radius:8px;min-width:0}
.instance-config-group>summary{cursor:pointer;padding:12px 14px;color:var(--ink);font-size:13px}
.instance-config-group .strategy-routing-grid{padding:14px}
.instance-config-group>p{padding:0 14px}
.desk-redesign .instance-config-group .instance-checkbox{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:8px;line-height:1.5;text-align:left}
.desk-redesign [data-instance-config]{padding:0 18px 18px}
.desk-redesign [data-instance-config]>fieldset{padding:0;border:0;min-width:0}
.setup-routing-tools .strategy-routing-form{margin-top:14px}
.desk-redesign .instance-config-group .instance-checkbox input{width:16px;height:16px;min-height:0;margin:3px 0 0}
.account-nickname>.button{margin-right:8px}
@media(max-width:760px){
 .desk-redesign .desk-statusbar{gap:8px 16px}
 .desk-redesign .top-actions .account-selector select{min-width:0}
 .desk-redesign .desk-statusbar .health-strip{flex-basis:100%;justify-content:flex-start}
 .desk-redesign .desk-statusbar .health-item{font-size:11px}
 .desk-redesign .desk-attention{padding:14px 16px}
 .desk-attention .bot-status-card>ul{display:block}
 .bot-status-summary>small{white-space:normal}
 .strategy-page-filters{grid-template-columns:1fr}
 .desk-redesign .top-actions #halt{padding:8px 12px;width:auto}
}
@media(max-width:359px){.desk-redesign .desk-snapshot{grid-template-columns:minmax(0,1fr)}}
@media(max-width:620px){
 .desk-redesign .saved-setup>summary{display:grid;grid-template-columns:12px minmax(0,1fr);gap:7px 10px}
 .desk-redesign .saved-setup>summary>.badge{grid-column:2;justify-self:start}
 .desk-redesign .saved-setup>summary:before{align-self:start}
}
