/* Secondary workspaces: shared minimalist surfaces, without changing routing or forms. */
:root{--sm-bg:#f7f9fc;--sm-panel:#fff;--sm-ink:#26354b;--sm-muted:#748299;--sm-line:#e7edf4;--sm-blue:#3068ed;--sm-selected:#edf3ff;--sm-shadow:0 16px 48px #172b4d26}
html[data-theme="dark"]{--sm-bg:#141c27;--sm-panel:#1c2735;--sm-ink:#e4ebf5;--sm-muted:#a6b4c7;--sm-line:#2e3c4f;--sm-blue:#94b6ff;--sm-selected:#243853;--sm-shadow:0 16px 48px #0005}
html:root body :is(.ds-root,.ags,.ac-drawer,.cc-root,.core-shell,.sms-page){color:var(--sm-ink);font-family:Inter,sans-serif}
html:root body :is(.ds-card,.ags-card,.ags-objects,.core-card,.sms-config-card,.sms-output-card,.cc-hero,.cc-list-shell,.ag-client-card,.ac-scope-card){background:var(--sm-panel)!important;color:var(--sm-ink)!important;border:1px solid var(--sm-line)!important;border-radius:14px!important;box-shadow:none!important}
html:root body :is(.ds-dialog,.cc-dialog,.ac-drawer){background:var(--sm-panel)!important;color:var(--sm-ink)!important;border:1px solid var(--sm-line)!important;border-radius:18px!important;box-shadow:var(--sm-shadow)!important}
html:root body :is(.ds-card-head,.ds-modal-head,.ds-modal-footer,.ac-head,.cc-hero-copy){background:var(--sm-panel)!important;color:var(--sm-ink)!important;border-color:var(--sm-line)!important}
html:root body :is(.ds-card-head,.ds-modal-head){padding:18px 20px;gap:12px}
html:root body :is(.ds-card-head h2,.ds-modal-head h3){font-size:17px;font-weight:600;letter-spacing:-.2px}
html:root body :is(.ds-modal-footer,.ags-toolbar,.sms-actions,.cc-filters){gap:10px;flex-wrap:wrap}
html:root body :is(.ds-field input,.ds-field>button,.ags .ags-field input,.ags .ags-field select,.core-field input,.core-field select,.sms-field input,.sms-field select,.cc-field input,.cc-field select){background:var(--sm-panel)!important;color:var(--sm-ink)!important;border:1px solid var(--sm-line)!important;border-radius:10px!important;box-shadow:none!important}
html:root body :is(.ds-field label,.ds-field.has-value label,.ds-field input:focus+label){background:var(--sm-panel)!important;color:var(--sm-muted)!important}
html:root body .ds-field:focus-within>label{color:var(--sm-blue)!important}
html:root body :is(.ds-field input,.ds-field>button,.ags .ags-field input,.ags .ags-field select,.core-field input,.core-field select,.sms-field input,.sms-field select,.cc-field input,.cc-field select):focus-visible{outline:2px solid var(--sm-blue)!important;outline-offset:2px}
html:root body .ds-field.invalid :is(input,button){border-color:#d44b4b!important}
html:root body :is(.ds-add-menu,.ds-options){border:1px solid var(--sm-line)!important;border-radius:12px!important;background:var(--sm-panel)!important;box-shadow:0 8px 24px #172b4d20!important}
html:root body :is(.ds-options button,.ds-object,.ags .ags-object,.ds-sensor-name){background:transparent!important;color:var(--sm-ink)!important;border-radius:8px!important}
html:root body :is(.ds-object,.ags .ags-object,.ds-sensor-row,.ds-options button):hover{background:var(--sm-bg)!important}
html:root body :is(.ds-object.selected,.ags .ags-object.active,.ds-options button[aria-selected="true"]){background:var(--sm-selected)!important;color:var(--sm-blue)!important}
html:root body .ds-tabs{border-color:var(--sm-line)!important}
html:root body .ds-tabs button{background:var(--sm-panel)!important;color:var(--sm-muted)!important}
html:root body .ds-tabs button[aria-selected="true"]{color:var(--sm-blue)!important;border-bottom-color:var(--sm-blue)!important}
html:root body :is(.ds-text-btn,.core-refresh,.core-tab,.sms-btn,.cc-secondary,.ags-btn){border-radius:10px!important;box-shadow:none!important;text-transform:none!important;font-weight:550!important}
html:root body .ds-text-btn{color:var(--sm-muted);min-height:40px}
html:root body .ds-text-btn.primary{color:var(--sm-blue)}
html:root body :is(.ds-add,.core-submit,.sms-btn-primary,.cc-primary){background:#3068ed!important;color:#fff!important;box-shadow:none!important;border-radius:10px!important}
html:root body :is(.core-refresh,.core-tab,.cc-secondary,.sms-btn-secondary,.sms-btn-copy){background:var(--sm-panel)!important;color:var(--sm-ink)!important;border:1px solid var(--sm-line)!important}
html:root body :is(.core-tab[aria-selected="true"],.core-tab.active){background:var(--sm-selected)!important;color:var(--sm-blue)!important;border-color:var(--sm-blue)!important}
html:root body :is(.cc-toolbar,.sms-target-badge,.sms-guidance,.core-auto-summary,.ac-assurance){background:var(--sm-bg)!important;color:var(--sm-muted)!important;border:1px solid var(--sm-line)!important;border-radius:12px!important;box-shadow:none!important}
html:root body :is(.cc-hero,.cc-hero-copy,.ac-head){background-image:none!important}
html:root body .ac-head{padding:24px;border-bottom:1px solid var(--sm-line)}
html:root body .ac-title{font-size:22px;font-weight:650;color:var(--sm-ink)!important}
html:root body :is(.ac-eyebrow,.ac-person-name,.ac-identity,.ac-source){color:var(--sm-ink)!important}
html:root body .ac-eyebrow{color:var(--sm-muted)!important;letter-spacing:.04em;font-weight:550}
html:root body :is(.ac-close,.cc-dialog-close,.sms-close){background:var(--sm-bg)!important;color:var(--sm-ink)!important;border:1px solid var(--sm-line)!important;border-radius:50%!important;box-shadow:none!important}
html:root body :is(.ac-avatar,.ac-role-chip,.ac-cap-icon,.sms-head-icon,.cc-dialog-icon,.cc-metric-icon){background:var(--sm-selected)!important;color:var(--sm-blue)!important;border-color:var(--sm-line)!important;box-shadow:none!important}
html:root body :is(.ac-metric,.cc-metric,.ag-client-stats article){background:var(--sm-panel)!important;border-color:var(--sm-line)!important;box-shadow:none!important;border-radius:12px!important}
html:root body :is(.ac-head,.cc-hero)::before,html:root body :is(.ac-head,.cc-hero)::after{display:none!important}
html:root body :is(.ds-row-tools){opacity:1}
html:root body :is(.ds-icon-btn,.ac-close,.cc-dialog-close,.sms-close):focus-visible{outline:2px solid var(--sm-blue);outline-offset:2px}
@media(max-width:700px){
 html:root body :is(.ds-modal-head,.ds-modal-footer,.ac-head,.cc-hero-copy){padding:16px}
 html:root body :is(.core-card,.sms-config-card,.sms-output-card){padding:16px}
 html:root body :is(.cc-toolbar,.sms-actions,.ags-toolbar){flex-wrap:wrap;gap:10px}
 html:root body :is(.core-two,.ds-pair,.ds-virtual-grid,.cc-field-grid){grid-template-columns:minmax(0,1fr)}
 html:root body :is(.ds-dialog,.cc-dialog){max-width:calc(100vw - 24px)!important}
}
@media(prefers-reduced-motion:reduce){html:root body :is(.ac-drawer,.cc-dialog,.ds-dialog){animation:none!important;transition:none!important}}
html:root body .core-tab.on{background:var(--sm-selected)!important;color:var(--sm-blue)!important;border-color:var(--sm-blue)!important}
html:root body .ags#agalidSensorStudio .ags-btn{border-radius:10px!important;text-transform:none!important}
html:root body .ac-identity{background:var(--sm-panel)!important;border-color:var(--sm-line)!important}
html:root body :is(.ds-text-btn,.ds-add,.core-submit,.core-refresh,.sms-btn,.cc-primary,.cc-secondary,.ags-btn):disabled{opacity:.45!important;cursor:not-allowed!important;box-shadow:none!important}
html:root body .ds-text-btn.primary:disabled{color:var(--sm-muted)!important}
html:root body :is(.ds-root,.ds-dialog,.ags,.ac-drawer,.cc-root,.cc-dialog,.core-shell,.sms-page) :is(button,input,select,textarea){font-family:Inter,sans-serif!important;box-sizing:border-box}
html:root body .ags#agalidSensorStudio .ags-field :is(input,select){background:var(--sm-panel)!important;color:var(--sm-ink)!important;border:1px solid var(--sm-line)!important;border-radius:10px!important}
html:root body .ds-card>.ds-card-head{border-radius:14px 14px 0 0}
