/* Near-to-wide scope, with the machine controls anchored at the trailing end. */
.systems-zone.system-scopes-ready .system-scroll-region{gap:0!important;overflow:hidden!important}
.system-local-scopes{display:flex;flex-direction:column;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.system-local-scopes .system-scope{padding-block:8px}
.system-scope[data-system-scope="desktop"]:has(.system-scope-empty) .system-scope-heading{margin-bottom:0}
.system-desktop-requests:has(.system-scope-empty){display:none}
.system-scope-body>#dynamicWidgetStack{order:0!important}
.system-scope-body>.system-focus-controls{order:1!important}
.system-scope-body>.system-agenda-stack{order:2!important}
.system-scopes-ready :is(.system-rail-desktop,#systemScopeDesktop){order:0!important}
.system-scopes-ready :is(.system-rail-project,#systemScopeProject){order:1!important}
.system-scopes-ready :is(.system-rail-middle,#systemScopeWorkspace){order:2!important}
.system-scopes-ready #systemScopeSystem{order:3!important}
.systems-zone #systemRailWideAlerts[hidden]{display:none!important}
.system-scope{min-width:0;flex:none;padding:11px 0;border-bottom:1px solid var(--sd-glass-groove);--system-scope-accent:var(--role-systems)}
.system-scope[hidden],.system-rail-project[hidden]{display:none!important}
.systems-zone #layoutModeToggle[hidden]{display:none!important}
.system-scope-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 0 8px;padding:0 3px;color:var(--muted)}
.system-scope-heading>span{font-size:9px;font-weight:650;letter-spacing:1px;text-transform:uppercase;white-space:nowrap}
.system-scope-heading>b{font-size:11px;font-weight:550;color:var(--system-scope-accent);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.system-scope-body{min-width:0;display:flex;flex-direction:column;gap:10px}
.system-scope .system-widget{padding:5px 3px!important;border:0!important;box-shadow:none!important;background:transparent!important}
.system-scope .widget-heading{margin-bottom:7px}.system-scope .widget-heading h2{font-size:11px!important}
.system-scope .widget-heading>span{font-size:10px}
.system-scope .dynamic-widget-stack,.system-scope .static-widget-stack{gap:6px;flex:none;max-height:none!important;overflow:visible!important;margin:0!important}
.system-scope .notification{padding-block:8px!important}.system-scope .notification b{font-size:12px!important}.system-scope .notification small{font-size:11px!important}
.system-scope .next-event{margin:0;min-height:45px}.system-scope .next-event b{font-size:12px;white-space:normal}.system-scope .next-event small{font-size:10px!important;white-space:normal}
.system-scope-empty{margin:0;padding:0 3px;font-size:11px;color:var(--muted)}
.system-desktop-request{width:100%;display:flex;align-items:center;gap:9px;padding:7px 3px;border:0;background:transparent;color:var(--text);text-align:left;cursor:pointer}
.system-desktop-request>.app-art{width:22px;height:22px;flex:none}.system-desktop-request>svg:last-child{width:13px;height:13px;color:var(--muted)}
.system-desktop-request>span{flex:1;min-width:0}.system-desktop-request b{display:block;font-size:11px;font-weight:550}.system-desktop-request small{display:block;color:var(--muted);font-size:10px;margin-top:3px}
.system-focus-controls{display:flex;flex-direction:column;gap:6px}.system-focus-controls:has(>#launchTimer[hidden]):has(>#timerWidget[hidden]){display:none}
.system-focus-controls #launchTimer{justify-content:flex-start;gap:8px;width:100%;padding:7px 9px;font-size:11px}.system-focus-controls #launchTimer[hidden]{display:none!important}
.system-focus-controls .timer-face strong{font-size:25px}.system-focus-controls .timer-actions button{font-size:11px;padding:5px 9px}
.system-scope[data-system-scope="system"]{--system-scope-accent:#8aa4b8;margin-top:auto;padding-top:8px;border-top:1px solid var(--sd-glass-groove);border-bottom:0;max-height:48%;overflow-y:auto;scrollbar-width:thin}
.system-scope[data-system-scope="system"]>.system-scope-heading{align-items:center;margin-bottom:4px;gap:7px}
.system-scope[data-system-scope="system"]>.system-scope-body{gap:5px}
.system-scope-heading>b:empty{display:none}
.system-scope[data-system-scope="system"] .workspace-notifications-widget{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:0 3px;border:0}
.system-scope[data-system-scope="system"] .workspace-notifications-widget[hidden]{display:none!important}
.system-scope[data-system-scope="system"] .workspace-notifications-widget header{margin:0}
.system-scope[data-system-scope="system"] .workspace-notifications-widget h3{font-size:9px;max-width:70px}
.system-scope[data-system-scope="system"] .workspace-notifications-widget header small{display:none}
.system-scope .time-block{padding:0 3px!important;margin:2px 0!important;min-height:40px;gap:12px;display:flex;align-items:center}
.system-scope .time-block>.live-time{font-size:25px!important}.system-scope .time-block b{font-size:11px}.system-scope .time-block small{font-size:10px}
.system-scope-heading>.time-block{margin-left:auto!important;min-height:30px;gap:6px;padding:0!important}
.system-scope-heading>.time-block>.live-time{font-size:20px!important}.system-scope-heading>.time-block b{font-size:9px}.system-scope-heading>.time-block small{font-size:8px}
.system-scope>.quick-settings{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:10px 0 0!important;padding:0!important;flex:none}
.system-scope>.quick-settings .quick-toggle{min-width:0;min-height:38px;padding:5px!important;gap:4px;font-size:9px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.system-scope>.quick-settings .quick-toggle svg{width:16px;height:16px}
.system-device-details>summary{font-size:10px;color:var(--muted);cursor:pointer;padding:2px 3px}.system-device-details[open]>summary{margin-bottom:7px}
.system-scope .system-month{margin-top:9px}.system-scope .system-month summary{font-size:10px}
.systems-zone:not([data-area-state="rail"]) :is(.system-rail-desktop,.system-rail-project,.system-rail-global,.system-rail-middle){display:none!important}
.systems-zone[data-area-state="rail"] :is(.system-scope:not([data-system-scope="system"]),.system-scope-heading,.system-scope[data-system-scope="system"]>.system-scope-body){display:none!important}
.systems-zone[data-area-state="rail"] .system-scope[data-system-scope="system"]{display:flex;flex-direction:column;gap:7px;border:0;padding:7px 0 0;flex:none;min-height:0}
.systems-zone[data-area-state="rail"] .system-local-scopes{display:contents}
.systems-zone[data-area-state="rail"] .system-scope[data-system-scope="system"]{max-height:none;overflow:visible}
.systems-zone.system-scopes-ready[data-area-state="rail"] .system-scroll-region{overflow:auto!important}
.systems-zone[data-area-state="rail"] .system-scroll-region{gap:7px!important}
.systems-zone[data-area-state="rail"] :is(.system-rail-desktop,.system-rail-project,.system-rail-middle,.system-rail-global){display:flex;flex-direction:column;align-items:center;gap:4px;flex:none;padding:0;margin:0}
.systems-zone[data-area-state="rail"] .system-rail-middle{border-top:1px solid var(--sd-glass-groove);padding-top:7px}
.systems-zone[data-area-state="rail"] .system-rail-project{border-top:1px solid var(--sd-glass-groove);padding-top:7px}
.systems-zone[data-area-state="rail"] .system-scope>.quick-settings{display:flex!important;flex-direction:column;align-items:center;gap:3px;margin-top:0!important}
.systems-zone[data-area-state="rail"] .system-scope>.quick-settings .quick-toggle{min-height:27px;width:30px;padding:4px!important}
.systems-zone[data-area-state="rail"] .system-scope>.quick-settings .quick-toggle span:not(.theme-dot){display:none}
.systems-zone[data-area-state="rail"] .rail-action small{max-width:44px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px}
.systems-zone[data-area-state="rail"] .rail-action{min-height:34px}
.systems-zone .has-system-request{color:var(--amber)!important;box-shadow:inset 0 -2px var(--amber)!important}
.systems-zone[data-area-state="rail"]:is([data-dock-edge="top"],[data-dock-edge="bottom"]) :is(.system-scope[data-system-scope="system"],.system-rail-desktop,.system-rail-project,.system-rail-middle,.system-rail-global,.system-scope>.quick-settings){flex-direction:row!important;margin-top:0!important;padding-block:0}
.systems-zone[data-area-state="rail"]:is([data-dock-edge="top"],[data-dock-edge="bottom"]) .system-scope[data-system-scope="system"]{margin-left:auto;border-left:1px solid var(--sd-glass-groove);padding-left:8px}
