:root{--font-small:12px;--font-label:13px;--font-body:14px;--font-code:13px;--font-section:16px;--font-title:20px;color-scheme:dark;--bg:#11151c;--surface:#171c25;--raised:#1e2530;--input:#121820;--line:#2b3441;--file-row-line:#242c37;--line-hover:#435165;--text:#dde4ed;--muted:#8796aa;--faint:#5c6b7e;--accent:#649cff;--accent-bg:#213653;--danger:#f09494;font-family:'Segoe UI','Microsoft YaHei',sans-serif;color:var(--text);background:var(--bg);font-size:var(--font-body);line-height:1.5}
*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden}button,input{font:inherit}button{appearance:none;color:inherit!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:5px!important;padding:0;cursor:pointer;min-width:0;font-size:var(--font-body)!important}button:disabled{opacity:.35;cursor:default}button:focus-visible{outline:1px solid var(--accent);outline-offset:-1px}input:focus,input:focus-visible{outline:none;box-shadow:none}input{background:var(--input);border:1px solid var(--line);border-radius:5px;color:var(--text);padding:8px 10px;min-width:0;width:100%;height:35px}input:focus{border-color:var(--accent)}.hidden{display:none!important}
.app,.app-shell{height:100vh;display:flex;flex-direction:column;min-height:0}.topbar{height:60px;min-height:60px;display:flex;align-items:center;padding:0 20px;gap:16px;border-bottom:1px solid var(--line);background:var(--surface)}.brand-area{width:232px;flex-shrink:0;display:flex;align-items:baseline;gap:12px}.brand{color:#f0f4fa;font-size:24px;font-weight:700;letter-spacing:-.8px}.brand-caption{font-size:var(--font-small);color:var(--muted)}.active-host{flex:1;font-size:var(--font-label);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.connection{color:var(--muted);font-size:var(--font-small);white-space:nowrap}.connection.online{color:#72caaa}.body{flex:1;display:flex;min-height:0;overflow:hidden}
.button{min-height:32px!important;padding:6px 12px!important;background:var(--raised)!important;border:1px solid var(--line)!important;white-space:nowrap;line-height:1.4!important;font-weight:500!important}.button:hover:not(:disabled){background:#273242!important;border-color:var(--line-hover)!important}.button.primary{background:#477ed3!important;color:#fff!important;border-color:#548be1!important}.button.primary:hover:not(:disabled){background:#538ce3!important}.button.quiet,.quiet-button{background:transparent!important;border-color:transparent!important;color:var(--muted)!important}.button.quiet:hover,.quiet-button:hover{background:var(--raised)!important;color:var(--text)!important}.compact{min-height:28px!important;font-size:var(--font-small)!important;padding:4px 8px!important}.icon-button,.host-more,.group-more{min-width:28px!important;height:28px!important;padding:4px 7px!important;color:var(--muted)!important;line-height:1!important}.icon-button:hover,.host-more:hover,.group-more:hover{background:#2a3443!important;color:var(--text)!important}.danger{color:var(--danger)!important}.button.danger{background:#43282d!important;border-color:#6a3a43!important}
.sidebar{width:260px;flex-shrink:0;display:flex;flex-direction:column;gap:16px;padding:20px 12px 12px;border-right:1px solid var(--line);background:#151a22;overflow-y:auto}.sidebar-heading{display:flex;justify-content:space-between;align-items:center;padding:0 4px;gap:8px}.sidebar-title{font-size:var(--font-section);font-weight:600}.sidebar>.field{padding:0 4px;flex:none}.sidebar .field-label{font-size:var(--font-small)}.group-list,.server-list{display:flex;flex-direction:column;gap:3px}.group-list{padding-bottom:12px;border-bottom:1px solid var(--line)}.group-row,.host-row{position:relative;display:flex;align-items:center;border-radius:6px;min-height:36px}.group-button{flex:1;text-align:left!important;padding:8px 10px!important;color:var(--muted)!important;min-height:32px!important;background:transparent!important}.group-button:hover,.group-row:hover,.host-row:hover{background:var(--raised)!important}.group-button.active{color:var(--text)!important;background:#202a37!important}.host-row{min-height:58px;padding-right:5px}.host-row.selected{background:var(--accent-bg)!important}.host-select{flex:1;text-align:left!important;padding:9px 10px!important;display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:54px!important;overflow:hidden}.host-name{font-size:var(--font-label);font-weight:550;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.host-address{font-size:var(--font-small);color:var(--muted);width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.host-more,.group-more{opacity:0;pointer-events:auto;flex-shrink:0;transition:opacity 100ms ease;font-size:20px!important}.host-row:hover .host-more,.host-row:focus-within .host-more,.host-row.menu-open .host-more,.group-row:hover .group-more,.group-row:focus-within .group-more,.group-row.menu-open .group-more{opacity:1;pointer-events:auto}.host-row.menu-open,.group-row.menu-open{z-index:61}.context-popover,.pane-menu{position:absolute;right:4px;top:calc(100% + 3px);min-width:156px;padding:5px;background:#242d3b;border:1px solid #3b485a;border-radius:7px;box-shadow:0 10px 30px #0007;z-index:60;display:flex;flex-direction:column;gap:2px}.menu-item{display:block;text-align:left!important;min-height:33px!important;padding:8px 10px!important;border-radius:4px!important;white-space:nowrap;width:100%}.menu-item:hover:not(:disabled){background:#35445a!important}.menu-dismiss{position:fixed;inset:0;z-index:30;font-size:0!important;color:transparent!important;border-radius:0!important}.sidebar-empty{padding:20px 10px;display:flex;flex-direction:column;gap:10px;color:var(--muted);font-size:var(--font-label);line-height:1.7}.sidebar-footer{margin-top:auto;border-top:1px solid var(--line);padding-top:12px;display:flex;flex-direction:column;align-items:stretch;gap:4px}.sidebar-footer .button{text-align:left!important}.sidebar-foot{padding:8px 10px 0;font-size:var(--font-small);color:var(--faint)}
.workspace{flex:1;min-width:0;min-height:0;padding:18px;display:flex;flex-direction:column;gap:14px;overflow:hidden}.notice{display:flex;align-items:center;gap:12px;background:#342c21;border:1px solid #655337;border-radius:6px;padding:7px 10px;flex-shrink:0}.notice-text{flex:1;color:#dbc6a0;font-size:var(--font-small);max-height:48px;overflow:auto;white-space:pre-wrap}.panes{flex:1;display:flex;gap:14px;min-height:220px;min-width:0}.file-pane{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;border:1px solid var(--line);background:var(--surface);border-radius:7px}.pane-heading{display:flex;align-items:center;gap:10px;padding:12px;min-height:54px;flex-shrink:0}.pane-title{font-size:var(--font-body);font-weight:600}.pane-summary{color:var(--muted);font-size:var(--font-small);flex:1}.pane-heading .button{font-size:var(--font-small)!important}.pathbar{display:flex;align-items:center;gap:5px;padding:0 10px 10px;flex-shrink:0}.path-input{flex:1;height:31px;font:var(--font-code) 'Cascadia Code',Consolas,monospace}.pathbar .button{font-size:var(--font-small)!important;padding:5px 7px!important;min-height:29px!important}.pane-tools{display:flex;align-items:center;padding:0 10px 8px;gap:8px;flex-shrink:0}.pane-tools .button{font-size:var(--font-small)!important;min-height:25px!important;padding:3px 7px!important;background:transparent!important;border-color:transparent!important;color:var(--muted)!important}.pane-tools .button:hover{background:var(--raised)!important}.filter-row{padding:0 10px 8px;display:flex;gap:6px;align-items:center;flex-shrink:0}.filter-input{flex:1;height:29px;font-size:var(--font-small)}.file-header{display:flex;align-items:center;gap:8px;background:#131922;padding:0 10px;border-block:1px solid var(--line);flex-shrink:0;height:32px}.file-header button{text-align:left!important;color:var(--muted)!important;font-size:var(--font-small)!important;height:30px!important;padding:0 4px!important}.column-name{flex:1}.column-size,.file-size{width:68px;text-align:right!important;flex-shrink:0}.column-modified,.file-modified{width:78px;text-align:right!important;flex-shrink:0}.file-list{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column}.file-row{min-height:35px;flex-shrink:0;display:flex;align-items:center;gap:8px;padding:0 10px;border-bottom:1px solid var(--file-row-line)}.file-row:hover{background:#1f2a39}.file-row.row-selected{background:var(--accent-bg)}.selection-toggle{width:24px!important;flex-shrink:0;white-space:nowrap!important;text-align:center!important;padding:6px 0!important;height:30px!important;color:var(--muted)!important}.file-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important;text-align:left!important;padding:7px 0!important;font-size:var(--font-label)!important;min-height:32px!important}.file-size,.file-modified{font-size:var(--font-small);color:var(--muted);overflow:hidden;white-space:nowrap}.pane-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;min-height:34px;border-top:1px solid var(--line);font-size:var(--font-small);color:var(--muted);flex-shrink:0}.pane-menu-anchor{position:relative}.pane-menu{top:auto;bottom:calc(100% + 4px);right:0}.file-empty{margin:auto;padding:32px 18px;color:var(--muted);text-align:center;font-size:var(--font-label);line-height:1.8}
.activity-dock{height:206px;min-height:44px;flex-shrink:0;border:1px solid var(--line);border-radius:7px;display:flex;flex-direction:column;background:var(--surface);overflow:hidden}.activity-dock.collapsed{height:44px}.dock-header{height:42px;min-height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;border-bottom:1px solid var(--line)}.dock-tabs{display:flex;gap:18px;height:100%;align-items:stretch}.dock-tab{border-radius:0!important;padding:0 2px!important;font-size:var(--font-label)!important;color:var(--muted)!important;border-bottom:2px solid transparent!important}.dock-tab.active{color:var(--text)!important;border-bottom-color:var(--accent)!important}.dock-content{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.queue-toolbar{padding:6px 10px;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);flex-shrink:0}.queue-toolbar .button,.queue-toolbar .small-button{min-height:25px!important;font-size:var(--font-small)!important;padding:3px 8px!important}.queue-filters{display:flex;gap:6px;margin-right:auto}.queue-filters button{color:var(--muted)!important;padding:4px 8px!important}.queue-filters .active{color:var(--text)!important;background:var(--raised)!important}.queue-list{flex:1;overflow-y:auto;min-height:0}.queue-row{display:flex;align-items:center;gap:10px;padding:6px 12px;border-bottom:1px solid var(--line)}.job-name{width:30%;font-size:var(--font-small);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.job-status{flex:1;font-size:var(--font-small);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.small-button{padding:4px 7px!important;color:var(--muted)!important}.queue-empty{padding:20px;text-align:center;font-size:var(--font-small);color:var(--muted)}.logs{flex:1;margin:0;min-height:0;overflow:auto;white-space:pre-wrap;font:var(--font-code)/1.7 'Cascadia Code',Consolas,'Microsoft YaHei',monospace;padding:10px 12px;color:#a8bacf}.statusbar{min-height:24px;height:24px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;color:var(--faint);font-size:var(--font-small);border-top:1px solid var(--line);flex-shrink:0}
.modal-backdrop{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:100;padding:24px}.modal-scrim{position:absolute;inset:0;width:100%;height:100%;background:#050912b8!important;font-size:0!important;color:transparent!important;border-radius:0!important;cursor:default}.modal-card{position:relative;width:620px;max-width:100%;max-height:calc(100vh - 48px);display:flex;flex-direction:column;border:1px solid #465368;border-radius:10px;background:#1b222d;box-shadow:0 24px 90px #0009;outline:none}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid var(--line);flex-shrink:0}.dialog-title{font-size:var(--font-section);font-weight:600}.modal-body{padding:22px;display:flex;flex-direction:column;gap:16px;overflow-y:auto;min-height:0}.modal-footer{display:flex;align-items:center;justify-content:flex-end;padding:14px 22px;gap:8px;border-top:1px solid var(--line);flex-shrink:0}.dialog-stack,.form-stack{display:flex;flex-direction:column;gap:18px}.form-row{display:flex;align-items:flex-start;gap:16px}.field{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1}.field-label{color:#aab8ca;font-size:var(--font-label)}.host-port>:last-child{flex:0 0 92px}.segmented{display:flex;gap:4px;padding:3px;background:var(--input);border:1px solid var(--line);border-radius:6px}.segment{flex:1;padding:7px 14px!important;color:var(--muted)!important;min-height:30px!important}.segment.active{background:#2c3d55!important;color:var(--text)!important}.choice-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:7px}.choice{padding:6px 12px!important;min-height:30px!important;border:1px solid var(--line)!important;color:var(--muted)!important}.choice.active{background:var(--accent-bg)!important;color:#c3d9ff!important;border-color:#4e77ad!important}.dialog-description,.hint,.subtle{font-size:var(--font-small);color:var(--muted);line-height:1.7}.fingerprint{font:var(--font-code)/1.7 Consolas,monospace;padding:12px;background:var(--input);border-radius:6px;word-break:break-all}.form-error{background:#38272c;color:#efb5ba;border:1px solid #644049;border-radius:5px;padding:9px 12px;margin:0 22px 16px;font-size:var(--font-label);white-space:pre-wrap}
@media(max-width:1100px){.sidebar{width:230px}.brand-area{width:202px}.brand-caption{display:none}.workspace{padding:12px;gap:10px}.panes{gap:10px}.column-modified,.file-modified{width:58px}.column-size,.file-size{width:54px}.queue-toolbar{flex-wrap:wrap}.pane-heading{flex-wrap:wrap}}@media(max-height:700px){.activity-dock{height:155px}.workspace{padding-block:10px;gap:10px}}
.section-label{font-size:var(--font-small);color:var(--muted);padding-inline:8px}.selection-spacer{width:24px;flex-shrink:0}.file-pane:has(>.file-empty)>.file-list{flex:0}.file-empty{flex:1;display:flex;align-items:center;justify-content:center;margin:0}.queue-content{flex:1;display:flex;flex-direction:column;min-height:0;overflow:hidden}
@supports(anchor-name:--active-context){.host-row.menu-open .host-more,.group-row.menu-open .group-more{anchor-name:--active-context}.context-popover{position:fixed;position-anchor:--active-context;top:anchor(bottom);right:anchor(right);bottom:auto;left:auto;position-try-fallbacks:flip-block;margin-top:4px}}
.sidebar{overflow:hidden}.sidebar-heading,.sidebar>.field,.sidebar-footer,.section-label{flex-shrink:0}.group-list{flex-shrink:0;max-height:28vh;overflow-y:auto}.server-list{flex:1;min-height:0;overflow-y:auto}.host-row{flex-shrink:0}.group-button{overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important}.dialog-description{white-space:pre-wrap;overflow-wrap:anywhere}
/* Sapid icon actions share one hit area, glyph grid, and hover/focus tooltip. */
.icon-button{position:relative;width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;flex-shrink:0;padding:0!important;display:inline-flex;align-items:center;justify-content:center;overflow:visible}
.action-glyph{display:block;width:16px;height:16px;min-width:16px;min-height:16px;flex-shrink:0;background:currentColor;mask-size:contain;mask-repeat:no-repeat;mask-position:center;pointer-events:none}
.icon-button.active{background:var(--accent-bg)!important;color:#bcd6ff!important}
.icon-button::after{content:attr(aria-label);position:absolute;right:0;bottom:calc(100% + 7px);padding:5px 8px;border:1px solid var(--line-hover);border-radius:4px;background:#263141;color:var(--text);font:var(--font-code)/1.4 'Segoe UI','Microsoft YaHei',sans-serif;white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden;z-index:180;transition:opacity 100ms ease,visibility 100ms ease}
.icon-button:hover:not(:disabled)::after,.icon-button:focus-visible::after{opacity:1;visibility:visible;transition-delay:350ms}.menu-open .host-more::after,.menu-open .group-more::after{display:none}
@supports(anchor-name:--action-tip){.icon-button:hover,.icon-button:focus-visible{anchor-name:--action-tip}.icon-button::after{position:fixed;position-anchor:--action-tip;bottom:anchor(top);right:anchor(right);margin-bottom:7px;position-try-fallbacks:flip-block}}
.with-icon{display:inline-flex;align-items:center;justify-content:center;gap:6px}.sidebar-footer .with-icon{justify-content:flex-start}
.module-nav{display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--line);min-height:38px;flex-shrink:0}.module-tab{height:38px!important;border-radius:0!important;border-bottom:2px solid transparent!important;padding:0 2px!important;color:var(--muted)!important;font-size:var(--font-body)!important}.module-tab.active{color:var(--text)!important;border-bottom-color:var(--accent)!important}.files-module{flex:1;display:flex;flex-direction:column;gap:14px;min-height:0}
.software-page{flex:1;display:flex;flex-direction:column;gap:14px;min-height:0}.software-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0}.software-heading>div{display:flex;flex-direction:column;gap:5px}.page-title{font-size:var(--font-title);font-weight:600}.software-empty{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;border:1px dashed var(--line);border-radius:7px;background:var(--surface);padding:32px;text-align:center}.software-connected{display:flex;flex:1;flex-direction:column;gap:12px;min-height:0}.software-environment{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:var(--surface);border:1px solid var(--line);border-radius:6px;font-size:var(--font-label);flex-shrink:0}.software-toolbar{display:flex;gap:8px;align-items:center;flex-shrink:0}.software-search{flex:1;max-width:380px}.software-status{font-size:var(--font-small);color:var(--muted);flex-shrink:0;min-height:16px}.software-error{font-size:var(--font-label);color:#efb5ba;background:#38272c;border:1px solid #644049;border-radius:5px;padding:8px 12px;white-space:pre-wrap;max-height:85px;overflow:auto;flex-shrink:0}.software-packages{flex:1;min-height:120px;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:7px;background:var(--surface);overflow:hidden}.software-table-header,.software-package-row{display:flex;align-items:center;gap:16px;padding:9px 14px;border-bottom:1px solid var(--line);min-height:38px;flex-shrink:0}.software-table-header{font-size:var(--font-small);color:var(--muted);background:#131922}.software-package-list{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column}.software-package-row{font-size:var(--font-label)}.software-package-row:hover{background:var(--raised)}.package-name{width:170px;flex-shrink:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:'Cascadia Code',Consolas,monospace;font-size:var(--font-small)}.package-version{width:130px;flex-shrink:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:var(--font-small)}.package-description{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:var(--font-small)}.package-action{width:84px;flex-shrink:0;text-align:center}.software-list-empty{display:flex;flex:1;align-items:center;justify-content:center;padding:24px;color:var(--muted);font-size:var(--font-label)}.software-packages:has(>.software-list-empty)>.software-package-list{flex:0}.software-task{height:200px;min-height:140px;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:7px;flex-shrink:0;background:#10151d;overflow:hidden}.software-task-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:38px;padding:9px 14px;border-bottom:1px solid var(--line);font-size:var(--font-label);font-weight:500}.software-output{flex:1;min-height:0;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:var(--font-code)/1.7 'Cascadia Code',Consolas,'Microsoft YaHei',monospace;padding:12px 14px;color:#b0c2d9}.package-preview,.package-command{white-space:pre-wrap;overflow-wrap:anywhere;font:var(--font-code)/1.7 'Cascadia Code',Consolas,'Microsoft YaHei',monospace;background:var(--input);padding:12px;border-radius:5px;border:1px solid var(--line);max-height:220px;overflow:auto}.package-command{max-height:120px;color:#b4cdf0}@media(max-width:1100px){.package-name{width:115px}.package-version{width:100px}.software-toolbar{flex-wrap:wrap}.software-search{min-width:150px}.software-environment{align-items:flex-start;flex-direction:column;gap:4px}.software-task{height:160px}.software-task-heading{flex-wrap:wrap}.software-heading{gap:8px}}@media(max-height:750px){.software-task{height:145px;min-height:110px}.software-page,.software-connected{gap:8px}.software-environment{padding:8px 12px}}
.observability-page{flex:1;min-height:0;display:flex;flex-direction:column;gap:16px;overflow:auto;padding-bottom:2px}.observability-content{display:flex;flex-direction:column;gap:14px;flex:1;min-height:0}.resources-page .observability-content{flex:0 0 auto}.observability-status{color:var(--muted);font-size:var(--font-small);min-height:16px;flex-shrink:0}.observability-warning{color:#c9b889;font-size:var(--font-small);white-space:pre-wrap;line-height:1.7;flex-shrink:0}.observability-warning:empty{display:none}.metric-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;flex-shrink:0}.metric-card{display:flex;flex-direction:column;gap:10px;border:1px solid var(--line);border-radius:7px;background:var(--surface);padding:16px;min-width:0}.metric-value{font-size:25px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.4px;line-height:1.4}.metric-card .subtle{overflow-wrap:anywhere}.resource-table{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:7px;background:var(--surface);overflow:hidden;flex-shrink:0}.resource-row{display:flex;align-items:center;gap:16px;padding:11px 14px;border-bottom:1px solid var(--line);font-size:var(--font-label);flex-shrink:0}.resource-row:last-child{border-bottom:0}.resource-name{flex:1;min-width:130px;overflow-wrap:anywhere}.resource-detail{flex:1;color:var(--muted);font-size:var(--font-small);overflow-wrap:anywhere;white-space:pre-wrap}.resource-value{min-width:100px;text-align:right;font:var(--font-code)/1.7 'Cascadia Code',Consolas,monospace;white-space:pre-wrap}.logs-sources{display:flex;flex-wrap:wrap;gap:6px;flex-shrink:0}.logs-sources .button{font-size:var(--font-small)!important}.logs-sources .active,.logs-query .active{color:#c3d9ff!important;background:var(--accent-bg)!important;border-color:#4e77ad!important}.logs-query{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;flex-shrink:0}.logs-query>.field{flex:0 1 auto}.logs-query>.logs-unit{flex:1 1 190px}.logs-options{display:flex;gap:4px;flex-wrap:wrap}.logs-options .button,.logs-options .choice{font-size:var(--font-small)!important;min-height:32px!important;padding:6px 9px!important}.logs-toolbar{display:flex;align-items:center;gap:12px;flex-shrink:0}.logs-filter{flex:1;max-width:420px}.system-log-output{display:block;flex:1;min-height:120px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;border:1px solid var(--line);border-radius:7px;padding:14px;background:#10151d;color:#b4c3d7;font:var(--font-code)/1.85 'Cascadia Code',Consolas,'Microsoft YaHei',monospace}.system-log-output:empty::before{content:'等待读取日志';color:var(--faint)}@media(max-width:1200px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-value{font-size:23px}.logs-query{gap:10px}.logs-query>.logs-unit{flex-basis:100%}}@media(max-width:1000px){.resource-row{flex-wrap:wrap;gap:6px 12px}.resource-name{flex-basis:100%}.resource-detail{min-width:150px}.module-nav{gap:16px}.logs-toolbar{flex-wrap:wrap}}@media(max-height:750px){.observability-page,.observability-content{gap:10px}.metric-card{padding:12px;gap:6px}}
/* Header aligns directly with the sidebar and workspace. */
.topbar{height:48px;min-height:48px;padding:0;gap:0}.brand-area{width:260px;height:48px;padding:0 16px;align-items:center;border-right:1px solid var(--line)}.brand{font-size:22px}.brand-caption{font-size:var(--font-small)}.topbar>.module-nav{flex:1;height:48px;min-height:48px;margin:0;padding:0 20px;gap:24px;border-bottom:0}.topbar .module-tab{height:48px!important}.workspace{padding-top:14px}.panes{gap:0!important}.pane-slot{display:flex;flex-basis:0;min-width:0;min-height:0;overflow:hidden}.pane-slot>.file-pane{flex:1;width:100%;min-width:0}.pane-splitter{width:10px;min-width:10px;flex:none;cursor:col-resize;touch-action:none;user-select:none;position:relative;align-self:stretch;border:0;outline:none}.pane-splitter::before{content:'';position:absolute;left:calc(50% - .5px);top:8px;bottom:8px;width:1px;background:var(--line);transition:background 120ms}.pane-splitter:hover::before,.pane-splitter.dragging::before,.pane-splitter:focus-visible::before{background:var(--accent)}.pane-splitter.dragging::before{width:2px}.conflict-file{display:flex;flex-direction:column;gap:6px;padding:12px;background:var(--input);border:1px solid var(--line);border-radius:5px}.conflict-path{font:var(--font-code)/1.7 'Cascadia Code',Consolas,'Microsoft YaHei',monospace;white-space:pre-wrap;overflow-wrap:anywhere}.file-pane{overflow:auto}.pathbar{flex-wrap:wrap}.path-input{min-width:80px}.pane-heading{flex-wrap:wrap}@media(max-width:1100px){.brand-area{width:230px}.topbar>.module-nav{padding:0 12px;gap:18px}}
/* Quiet, compact scrollbars throughout the desktop workspace. */
*::-webkit-scrollbar{width:6px;height:6px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background:#465163;border-radius:4px;min-height:28px}*::-webkit-scrollbar-thumb:hover{background:#65758c}*::-webkit-scrollbar-button{display:none;width:0;height:0}*::-webkit-scrollbar-corner{background:transparent}
.connection-controls { height: 48px; display: flex; align-items: center; gap: 12px; flex-shrink: 0; padding: 0 18px 0 10px; }
.connection-target {
max-width: clamp(72px, 18vw, 220px);
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font: var(--font-label)/1.3 Consolas, monospace;
color: var(--text);
}
.connection-target:empty { display: none; }
.connection-state{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:var(--font-small);color:var(--muted)}.connection-state::before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor;flex:none}.connection-state.online{color:#72caaa}.connection-state.connecting{color:#d4bd82}.connection-button{min-height:30px!important;font-size:var(--font-small)!important}.topbar>.module-nav{min-width:0}@media(max-width:1100px){.connection-controls{padding-right:12px;gap:8px}.topbar>.module-nav{gap:16px}}@media(max-width:850px){.connection-controls{gap:6px}.connection-button{padding-inline:8px!important}.topbar>.module-nav{gap:12px;padding-inline:10px}.module-tab{font-size:var(--font-label)!important}}
.file-picker-field{display:flex;align-items:center;gap:8px}.file-picker-field>input{flex:1;min-width:0}.browse-button{flex:none;white-space:nowrap}.settings-link{margin-top:8px}.settings-link.active{background:var(--accent-bg)!important;color:var(--text)!important}.settings-page{display:flex;flex:1;flex-direction:column;min-height:0;overflow:auto;gap:20px;padding:4px 0 20px}.settings-sections{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;flex-shrink:0}.settings-section{display:flex;flex-direction:column;gap:16px;min-width:0;padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:7px}.settings-section-title{font-size:var(--font-body);font-weight:600}.settings-field{display:flex;flex-direction:column;gap:8px}.settings-choices{flex-wrap:wrap}.settings-footer{display:flex;flex-direction:column;gap:5px;max-width:760px}.app{background:var(--bg);color:var(--text);color-scheme:dark}.theme-light{color-scheme:light;--bg:#f4f6f9;--surface:#fff;--raised:#edf1f6;--input:#fff;--line:#d6dde7;--line-hover:#a9b8cb;--text:#1e2b3b;--muted:#64758a;--faint:#8794a5;--accent:#356fc5;--accent-bg:#e2edfc;--danger:#b2424b}.theme-light .brand:not(:where(.desktop-dark *)){color:var(--text)}.theme-light .sidebar:not(:where(.desktop-dark *)){background:#edf1f7}.theme-light .button:hover:not(:disabled):not(:where(.desktop-dark *)){background:#e4ebf5!important}.theme-light .button.primary:not(:where(.desktop-dark *)){background:#4278c7!important;color:#fff!important}.theme-light .button.primary:hover:not(:disabled):not(:where(.desktop-dark *)){background:#3568b1!important}.theme-light .button.danger:not(:where(.desktop-dark *)){background:#fbe7e9!important;border-color:#e4aeb5!important;color:#a93643!important}.theme-light .icon-button:hover:not(:where(.desktop-dark *)),.theme-light .host-more:hover:not(:where(.desktop-dark *)),.theme-light .group-more:hover:not(:where(.desktop-dark *)){background:#dce6f5!important}.theme-light .group-button.active:not(:where(.desktop-dark *)){background:#dce6f5!important}.theme-light .context-popover:not(:where(.desktop-dark *)),.theme-light .pane-menu:not(:where(.desktop-dark *)){background:#fff;border-color:var(--line);box-shadow:0 8px 24px #31446626}.theme-light .menu-item:hover:not(:disabled):not(:where(.desktop-dark *)){background:#e6edf8!important}.theme-light .file-header:not(:where(.desktop-dark *)),.theme-light .software-table-header:not(:where(.desktop-dark *)){background:#edf2f8}.theme-light .file-row:hover:not(:where(.desktop-dark *)){background:#eaf1fa}.theme-light .modal-card:not(:where(.desktop-dark *)){background:#fff;border-color:#b4c1d1;box-shadow:0 24px 90px #27394f38}.theme-light .field-label:not(:where(.desktop-dark *)){color:#52657d}.theme-light .segment.active:not(:where(.desktop-dark *)){background:#dce7f6!important}.theme-light .choice.active:not(:where(.desktop-dark *)),.theme-light .logs-sources .active:not(:where(.desktop-dark *)),.theme-light .logs-query .active:not(:where(.desktop-dark *)){background:var(--accent-bg)!important;color:#245a9e!important;border-color:#80a5d8!important}.theme-light .icon-button.active:not(:where(.desktop-dark *)){color:#245a9e!important}.theme-light .logs:not(:where(.desktop-dark *)),.theme-light .software-output:not(:where(.desktop-dark *)),.theme-light .system-log-output:not(:where(.desktop-dark *)),.theme-light .package-command:not(:where(.desktop-dark *)){color:#304f72}.theme-light .software-task:not(:where(.desktop-dark *)),.theme-light .system-log-output:not(:where(.desktop-dark *)){background:#f8fafc}.theme-light .icon-button:not(:where(.desktop-dark *))::after{background:#e9eff7;color:var(--text)}.theme-light .form-error:not(:where(.desktop-dark *)),.theme-light .software-error:not(:where(.desktop-dark *)){background:#fff0f1;color:#a53d4a;border-color:#e1b5bc}.theme-light .notice:not(:where(.desktop-dark *)){background:#fff6e6;border-color:#e2c993}.theme-light .notice-text:not(:where(.desktop-dark *)),.theme-light .observability-warning:not(:where(.desktop-dark *)){color:#8f6a28}.theme-light .connection-state.online:not(:where(.desktop-dark *)){color:#248475}.theme-light .connection-state.connecting:not(:where(.desktop-dark *)){color:#a17c24}.theme-light *:not(:where(.desktop-dark *))::-webkit-scrollbar-thumb{background:#bbc5d2}.theme-light *:not(:where(.desktop-dark *))::-webkit-scrollbar-thumb:hover{background:#95a4b8}@media(max-width:1050px){.settings-sections{grid-template-columns:1fr}.settings-section{padding:16px}}
.file-list-container{flex:1;min-height:0;display:flex;flex-direction:column}.file-gesture-input{display:none!important}.file-expander{display:inline-flex!important;align-items:center;justify-content:center;width:18px!important;min-width:18px!important;flex:none;padding:0!important;height:28px!important;min-height:28px!important;border:0!important;background:transparent!important;color:var(--muted)!important;line-height:0!important}.file-expander-loading{cursor:progress}.file-expander-loading>.disclosure-icon{opacity:.55}.disclosure-icon{display:block!important;flex:none;width:16px!important;height:16px!important;line-height:0;pointer-events:none}.file-expander-empty{visibility:hidden}.file-row{gap:4px;user-select:none}.file-header{padding-left:32px}.file-name{margin-right:4px}.path-location{flex:1;min-width:0;display:flex;justify-content:center}.breadcrumbs{display:flex;align-items:center;gap:0;overflow-x:auto;overflow-y:hidden;min-width:0;height:31px;background:var(--input);border:1px solid var(--line);border-radius:5px;white-space:nowrap;scrollbar-width:none}.breadcrumbs::-webkit-scrollbar{display:none}.path-location .path-input{width:100%;min-width:0}.pathbar .icon-button{flex:none}.file-row:focus-within{outline:1px solid var(--line-hover);outline-offset:-1px}.breadcrumbs:focus-within{border-color:var(--accent)}
.path-copy.copied{color:var(--accent)!important}
.view-switch{display:flex;align-items:center;gap:2px;margin-left:auto;flex:none}.view-switch .active{background:var(--accent-bg)!important;color:var(--accent)!important}.file-entry-icon{flex:none!important;width:15px!important;height:15px!important;display:inline-block!important}.glyph-folder.file-entry-icon{color:#73b9e6}.file-name{display:flex!important;align-items:center;gap:7px!important;min-width:0}.file-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-information{flex:none;display:flex;flex-direction:column;gap:3px;padding:8px 12px;border-top:1px solid var(--line);font-size:var(--font-small);min-width:0}.file-information-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text)}.file-information-metadata,.file-information-path{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.file-information-metadata:empty,.file-information-path:empty{display:none}.file-list-empty{flex:0}.icons-view .file-header{display:none}.icons-view .file-list{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));align-content:start;gap:6px;padding:8px}.icons-view .file-row{height:112px;min-height:112px;flex-direction:column;gap:2px;padding:6px!important;border:1px solid transparent;border-radius:5px;justify-content:center;min-width:0}.icons-view .file-expander{display:none!important}.icons-view .file-name{flex:1;width:100%;padding:4px!important;flex-direction:column!important;justify-content:center;gap:7px!important;text-align:center!important;overflow:hidden;white-space:normal!important}.icons-view .file-entry-icon{width:34px!important;height:34px!important}.icons-view .file-label{max-width:100%;font-size:var(--font-small);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.icons-view .file-size{flex:none;width:auto;max-width:100%;text-align:center!important;font-size:var(--font-small)}.icons-view .file-modified{display:none}.theme-light .glyph-folder.file-entry-icon:not(:where(.desktop-dark *)){color:#418ab9}
.icons-view .file-header{display:none!important}
.file-row .file-name:focus,.file-row .file-name:focus-visible,.file-row .file-expander:focus,.file-row .file-expander:focus-visible{outline:none!important;box-shadow:none!important}
.file-row:focus-within{outline:none}
.transfer-concurrency-input{width:96px!important;flex:none!important}
.file-pane{position:relative}.file-drop-hint{display:none!important}.file-pane[data-file-drop-target]{outline:2px solid var(--accent);outline-offset:-2px}.file-pane[data-file-drop-target]>.file-drop-hint{display:block!important;position:absolute;left:12px;right:12px;top:50%;transform:translateY(-50%);padding:18px 12px;border:1px dashed var(--accent);border-radius:6px;background:var(--accent-bg);color:var(--accent);text-align:center;pointer-events:none;z-index:3}.file-pane[data-file-drag-source] .file-row.row-selected{opacity:.55}.file-row[draggable=true]{cursor:grab}.file-row[draggable=true]:active{cursor:grabbing}
.queue-job{flex:none;min-width:0}.transfer-details-toggle{display:inline-flex!important;align-items:center;justify-content:center;flex:none!important;width:18px!important;min-width:18px!important;min-height:24px!important;height:24px!important;padding:0!important;border:0!important;background:transparent!important;color:var(--muted)!important;line-height:0!important}.transfer-details{display:flex;flex-direction:column;gap:0;flex:none;min-width:0;padding:0 12px 5px 40px;border-bottom:1px solid var(--line);background:var(--bg)}.transfer-files-summary,.transfer-files-empty{padding:5px 0;font-size:var(--font-small);color:var(--muted);line-height:1.4}.transfer-files-summary:empty{display:none}.transfer-file-row{display:grid!important;grid-template-columns:minmax(80px,1fr) 96px 116px minmax(115px,155px) 42px;align-items:center;gap:12px;min-width:0;min-height:28px;padding:4px 0;border-top:1px solid var(--line);font-size:var(--font-small);line-height:1.4}.transfer-file-path{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.transfer-file-progress-content{min-width:0;max-width:120px}.transfer-file-status{min-width:0;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.transfer-file-bytes,.transfer-file-percent{min-width:0;text-align:right;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-dock:not(.collapsed):has(.transfer-details){height:min(45vh,420px)}@media(max-width:1050px){.transfer-details{padding-left:20px}.transfer-file-row{grid-template-columns:minmax(60px,1fr) 80px 100px 130px 40px;gap:8px}}@media(max-width:850px){.transfer-file-row{grid-template-columns:minmax(70px,1fr) 60px 92px 40px;gap:3px 8px;padding-block:4px}.transfer-file-path{grid-column:1/3;grid-row:1}.transfer-file-status{grid-column:3/5;grid-row:1;text-align:right}.transfer-file-progress-content{grid-column:1;grid-row:2}.transfer-file-bytes{grid-column:2/4;grid-row:2}.transfer-file-percent{grid-column:4;grid-row:2}}
.keyboard-navigation .file-row:focus-within{outline:1px solid var(--line-hover);outline-offset:-1px}
.terminal-module{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:7px;overflow:hidden}.terminal-toolbar{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid var(--line);flex:none}.terminal-heading{font-size:var(--font-body);font-weight:600}.terminal-status{flex:1;min-width:0;color:var(--muted);font-size:var(--font-small)}.terminal-input-bridge,.terminal-state,.terminal-packets{display:none!important}.terminal-surface{flex:1;min-height:160px;min-width:0;overflow:hidden;padding:10px}.terminal-owned-surface{width:100%;height:100%;min-width:0}.terminal-owned-surface .xterm{height:100%;padding:0}.terminal-owned-surface .xterm-viewport{overflow-y:auto!important}.terminal-error{padding:8px 12px;background:#342c21;color:#dbc6a0;font-size:var(--font-small);white-space:pre-wrap}.terminal-hint{font-size:var(--font-small);color:var(--muted);padding:6px 12px;border-top:1px solid var(--line);flex:none}
/* Application rail, contextual navigation, and server-scoped workspace. */
.theme-dark{--bg:#111923;--surface:#17212e;--raised:#202d3e;--input:#111b28;--line:#293647;--text:#e2eaf4;--muted:#92a3b9;--faint:#667b95;--accent:#78adf4;--accent-bg:#263e5d;--nav-bg:#141e2b;--rail-bg:#0c1521}
.theme-light{--bg:#f5f7fb;--surface:#fff;--raised:#edf2f9;--input:#fff;--line:#dfe5ef;--file-row-line:#edf1f6;--text:#233248;--muted:#687a92;--faint:#8796aa;--accent:#3d73ba;--accent-bg:#e7effd;--nav-bg:#f4f7fc;--rail-bg:#edf2f9}
.navigation-shell{display:flex;flex:1;min-height:0;min-width:0;width:100%;height:100vh;overflow:hidden}
.navigation-rail{display:flex;flex-direction:column;align-items:center;gap:10px;width:64px;min-width:64px;height:100%;padding:16px 8px 10px;background:var(--rail-bg);border-right:1px solid var(--line);z-index:3;flex:none}
.rail-primary{display:flex;flex-direction:column;align-items:center;gap:inherit;min-height:0}
@media(max-height:430px){
.navigation-rail{gap:4px;padding-block-start:8px}
}
@media(max-height:380px){
.rail-primary{align-self:stretch;margin-inline:-6px;overflow-y:auto;scrollbar-width:thin}
.rail-primary .rail-item{anchor-name:--rail-button;anchor-scope:--rail-button}
.rail-primary .rail-item:not(.rail-logo)[aria-label]:not([aria-label=""])::after{
position:fixed;position-anchor:--rail-button;left:68px;left:calc(anchor(right) + 13px);top:auto;top:anchor(center);
}
}
.rail-item{position:relative;display:flex!important;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;border-radius:11px!important;color:var(--muted)!important;flex:none;padding:0!important}
.rail-item:not(.rail-logo):hover{color:var(--text)!important;background:var(--raised)!important}.rail-item.active{color:var(--accent)!important;background:var(--accent-bg)!important}.rail-item.active::before{content:'';position:absolute;left:-8px;width:3px;height:23px;border-radius:0 4px 4px 0;background:var(--accent)}
.rail-item .action-glyph{width:21px;height:21px}.rail-logo{margin-bottom:3px;cursor:default}.brand-icon{display:block;width:31px;height:31px;flex:none;align-self:center;background-position:center;background-size:contain;background-repeat:no-repeat}
.rail-divider{height:1px;width:24px;background:var(--line);margin:0 0 2px;flex:none}.rail-bottom{display:flex;flex:none;flex-direction:column;gap:10px;margin-top:auto}.rail-item.settings-link{margin-top:0}
.rail-item:not(.rail-logo)[aria-label]:not([aria-label=""])::after{content:attr(aria-label);position:absolute;left:calc(100% + 13px);top:50%;transform:translateY(-50%);padding:7px 10px;background:var(--raised);border:1px solid var(--line);border-radius:5px;color:var(--text);font-size:var(--font-small);white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;z-index:220}
.rail-item:not(.rail-logo)[aria-label]:not([aria-label=""]):is(:hover,:focus-visible)::after{opacity:1;visibility:visible;transition-delay:250ms}.rail-unread{position:absolute;right:3px;top:2px;display:flex;align-items:center;justify-content:center;min-width:15px;height:15px;padding:0 3px;border-radius:8px;background:#d16b76;color:#fff;font-size:var(--font-small);border:2px solid var(--rail-bg);box-sizing:content-box}
.context-sidebar,.navigation-shell>.sidebar{display:flex;flex-direction:column;flex:none;width:252px;min-width:0;height:100%;border-right:1px solid var(--line);background:var(--nav-bg);padding:0;overflow:hidden}
.context-title{display:flex;align-items:center;height:64px;min-height:64px;padding:0 22px;font-size:var(--font-section);font-weight:600;letter-spacing:-.2px}.context-links{display:flex;flex-direction:column;padding:8px 12px;gap:5px}.context-link{display:flex!important;align-items:center;justify-content:flex-start;gap:10px;min-height:38px!important;width:100%;padding:9px 12px!important;text-align:left;background:transparent!important;border:0!important;color:var(--muted)!important;font-size:var(--font-label)!important;border-radius:6px!important}.context-link:hover{background:var(--raised)!important;color:var(--text)!important}.context-link.active{background:var(--accent-bg)!important;color:var(--accent)!important;font-weight:600}.context-link .action-glyph{width:17px;height:17px;flex:none}
.context-section-label{font-size:var(--font-small);color:var(--faint);letter-spacing:.5px;padding:27px 12px 7px}.context-hint{font-size:var(--font-small);line-height:1.85;padding:12px;color:var(--muted)}.context-footer{display:flex;flex-direction:column;gap:7px;margin-top:auto;padding:22px;border-top:1px solid var(--line)}.context-footer-title{font-size:var(--font-label);color:var(--text)}.session-indicator{font-size:var(--font-small);color:var(--muted);margin-top:12px;display:flex;align-items:center;gap:6px}.session-indicator::before,.server-card-status::before{content:'';width:5px;height:5px;display:inline-block;border-radius:50%;background:currentColor;flex:none}.session-indicator.online,.server-card-status.online{color:#39a48d}
.main-panel{display:flex;flex:1;flex-direction:column;min-width:0;min-height:0;overflow:hidden;background:var(--bg)}.page-header{display:flex;align-items:center;justify-content:space-between;height:64px;min-height:64px;padding:0 28px;border-bottom:1px solid var(--line);gap:20px;background:var(--bg);flex:none}.page-header-title{font-size:var(--font-body);font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-product{font-size:var(--font-small);color:var(--faint);letter-spacing:.3px}.page-header .connection-controls{padding:0;height:auto}.main-panel>.module-nav{padding:0 28px;gap:26px;min-height:46px;flex:none;background:var(--surface)}.main-panel>.module-nav .module-tab{height:46px!important;font-size:var(--font-label)!important;white-space:nowrap}
.workspace-content{display:flex;flex:1;flex-direction:column;padding:24px 28px;gap:16px;min-height:0;min-width:0;overflow:hidden}.page-scroll{display:flex;flex-direction:column;flex:1;min-height:0;overflow:auto;scrollbar-gutter:stable}.server-modules{display:flex;flex:1;flex-direction:column;min-height:0;min-width:0}.workspace-content .files-module{gap:14px}.workspace-content:has(>.server-modules),.workspace-content:has(>.terminal-module:not(.hidden)),.workspace-content:has(>.settings-page){padding:18px 20px}
.navigation-shell>.sidebar{padding:22px 16px 16px;gap:18px}.navigation-shell .sidebar-heading{gap:8px}.navigation-shell .sidebar-title{font-size:var(--font-section)}.navigation-shell .sidebar-heading .compact{font-size:var(--font-small)!important;padding:5px 7px!important}.navigation-shell .group-list{gap:4px}.navigation-shell .group-button{font-size:var(--font-label)}.navigation-shell .sidebar-foot{font-size:var(--font-small)}.navigation-shell .host-row{border-radius:7px}.navigation-shell .host-row.selected{background:var(--accent-bg)}.navigation-shell .sidebar-empty{padding-inline:4px}.navigation-shell .host-name{font-size:var(--font-label)}.navigation-shell .host-address{font-size:var(--font-small)}
.home-page{gap:24px;padding:18px 2px 32px;max-width:1200px;width:100%;align-self:center}.home-intro{display:flex;flex-direction:column;gap:16px;padding:12px 0 4px;flex:none}.eyebrow{font-size:var(--font-small);letter-spacing:1.4px;color:var(--accent);font-weight:600}.home-title{font-size:32px;line-height:1.3;font-weight:600;letter-spacing:-.8px;overflow-wrap:anywhere}.home-description{font-size:var(--font-body);line-height:1.9;color:var(--muted);max-width:640px}.home-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:5px}.home-actions .button{min-height:36px!important;padding:8px 14px!important}.home-secondary{color:var(--muted)!important;background:transparent!important}
.home-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;flex:none}.home-stat{display:flex;flex-direction:column;gap:9px;padding:21px 22px;background:var(--surface);border:1px solid var(--line);border-radius:9px;min-width:0}.home-stat-value{font-size:28px;line-height:1.2;font-weight:600;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.home-stat .subtle{font-size:var(--font-small)}.home-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;flex-wrap:wrap;flex:none}.section-title{font-size:var(--font-section);font-weight:600}.home-server-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;flex:none}.home-server-card{display:flex!important;align-items:center;gap:14px;min-height:94px;padding:20px!important;background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:9px!important;text-align:left;min-width:0;transition:border-color 120ms}.home-server-card:hover{border-color:var(--accent)!important;background:var(--surface)!important}.home-server-card>.action-glyph{width:24px;height:24px;color:var(--accent);flex:none}.home-server-copy{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1}.home-server-name,.home-server-copy .subtle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-server-name{font-size:var(--font-body);font-weight:600}.server-card-status{font-size:var(--font-small);color:var(--muted);display:flex;align-items:center;gap:6px;white-space:nowrap}
.navigation-empty{display:flex;flex:1;min-height:260px;align-items:center;justify-content:center;flex-direction:column;gap:18px;text-align:center;padding:48px 28px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.navigation-empty>.action-glyph{width:42px;height:42px;color:var(--accent);margin-bottom:5px}.empty-title{font-size:22px;font-weight:600;letter-spacing:-.4px}.empty-description{font-size:var(--font-label);line-height:1.9;color:var(--muted);max-width:360px}.empty-actions{display:flex;gap:8px;margin-top:8px}.server-landing>.navigation-empty{border:0;background:transparent}.server-landing{padding:20px 0}.server-overview{display:flex;flex-direction:column;gap:20px;max-width:800px;width:100%;margin:auto;padding:38px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.overview-server-icon{width:44px!important;height:44px!important;color:var(--accent)}.server-facts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:24px 0;border-block:1px solid var(--line);margin-top:8px}.server-fact{display:flex;flex-direction:column;gap:9px;min-width:0}.server-fact-value{font-size:var(--font-label);line-height:1.7;overflow-wrap:anywhere}.overview-footnote{margin-top:4px}
.workspace-content .settings-page{gap:24px;padding:12px 0 28px;max-width:none;min-width:0;align-self:stretch}.workspace-content .settings-sections{display:flex!important;flex-direction:column;gap:20px}.workspace-content .settings-section{padding:28px;gap:24px;border-radius:9px;min-height:180px}.workspace-content .settings-field{gap:12px}.workspace-content .settings-choices{gap:8px;margin-top:8px}.workspace-content .settings-choices .choice{min-width:100px}.settings-footer{margin-top:auto;padding-top:12px}.notifications-page{gap:16px;max-width:1000px;width:100%;align-self:center;padding:12px 0 24px}.notification-feed{display:flex;flex-direction:column;gap:0;background:var(--surface);border:1px solid var(--line);border-radius:9px;overflow:hidden;flex:none;margin-top:12px}.notification-entry{display:flex;align-items:flex-start;gap:16px;padding:22px;border-bottom:1px solid var(--line)}.notification-entry:last-child{border:0}.notification-entry>.action-glyph{color:var(--accent);width:18px;height:18px;margin-top:1px;flex:none}.notification-message{font-size:var(--font-label);line-height:1.8;overflow-wrap:anywhere;white-space:pre-wrap;min-width:0}
@media(max-width:1200px){.navigation-shell>.sidebar,.context-sidebar{width:230px}.home-server-grid{grid-template-columns:1fr}.main-panel>.module-nav{gap:20px;padding-inline:22px}.workspace-content{padding:20px 22px}.page-header{padding-inline:22px}.home-stats{gap:10px}.home-stat{padding:18px 16px}.server-overview{padding:28px}}
@media(max-width:950px){.navigation-rail{width:56px;min-width:56px;padding-inline:6px}.rail-item{width:42px;min-width:42px}.navigation-shell>.sidebar,.context-sidebar{width:208px}.context-title{padding-inline:18px}.navigation-shell>.sidebar{padding-inline:12px}.home-title{font-size:27px}.home-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.server-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.main-panel>.module-nav{gap:16px;padding-inline:16px;overflow-x:auto}.workspace-content,.workspace-content:has(>.server-modules),.workspace-content:has(>.terminal-module:not(.hidden)),.workspace-content:has(>.settings-page){padding:16px}.page-header{padding-inline:16px}.page-header-title{font-size:var(--font-body)}.server-overview{padding:24px}.home-section-heading>.subtle{font-size:var(--font-small)}}
.home-server-card{display:grid!important;grid-template-columns:26px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:7px 14px;align-content:center}.home-server-card>.action-glyph{grid-column:1;grid-row:1/3}.home-server-name{grid-column:2;grid-row:1}.home-server-address{grid-column:2;grid-row:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-server-card>.server-card-status{grid-column:3;grid-row:1/3}
.terminal-copy.copied{color:var(--accent)!important}
.terminal-surface .xterm-viewport{background:var(--surface)!important;overflow-x:hidden}
.terminal-owned-surface.has-scrollback .xterm-scrollable-element > .scrollbar.vertical {
opacity: 1;
pointer-events: auto;
z-index: 11;
background: var(--raised);
}
.terminal-owned-surface.has-scrollback .scrollbar.vertical > .slider {
border: 2px solid var(--raised);
border-radius: 7px;
background: var(--muted);
}
.terminal-owned-surface.has-scrollback .scrollbar.vertical > .slider:is(:hover, .active) {
background: var(--text);
}
/* Folder-style server files. Menus share their Rust actions for mouse and keyboard. */
.navigation-shell>.server-explorer{gap:18px;padding:18px 12px 12px}.server-explorer .sidebar-heading{position:relative;min-height:32px;padding:0 6px}.tree-actions{display:flex;align-items:center;gap:2px;margin-left:auto}.tree-actions .icon-button{width:26px!important;min-width:26px!important;height:28px!important}.tree-actions .action-glyph{width:15px;height:15px}.tree-root-row.menu-open{z-index:61}.tree-root-row.menu-open .tree-more{anchor-name:--active-context}.tree-root-row.menu-open .tree-more::after{display:none}.server-tree{gap:2px!important;flex:1;min-height:0;overflow:auto;padding:2px 0 12px}.tree-folder{display:flex;flex-direction:column;flex:none;min-width:0}.tree-folder-row{min-height:36px!important;flex:none}.server-explorer .group-button{display:flex!important;align-items:center;gap:8px;min-height:36px!important;padding:7px 6px!important;min-width:0;color:var(--text)!important;background:transparent!important}.tree-chevron{width:12px;flex:none;color:var(--muted);font:16px/1 'Segoe UI',sans-serif;text-align:center}.group-button>.action-glyph{width:17px;height:17px;flex:none;color:#79afd6}.theme-light .group-button>.action-glyph:not(:where(.desktop-dark *)){color:#4e87b9}.tree-folder-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--font-label);font-weight:500;text-align:left}.tree-count{font-size:var(--font-small);color:var(--faint);margin-left:auto;padding-left:6px}.tree-folder-row.selected{background:var(--raised)}.tree-children{display:flex;flex-direction:column;gap:2px;margin:2px 0 5px 18px;padding-left:10px;border-left:1px solid var(--line);min-width:0}.server-explorer .host-row{min-height:40px;padding:0 3px 0 9px;gap:8px;flex:none}.server-explorer .host-row>.action-glyph{width:15px;height:15px;flex:none;color:var(--muted)}.server-explorer .host-select{min-height:40px!important;padding:7px 0!important;gap:3px;min-width:0}.server-explorer .host-name{font-weight:500!important;font-size:var(--font-label)!important}.server-explorer .host-address{font-size:var(--font-small)!important}.tree-empty-group{padding:9px 12px;font-size:var(--font-small);color:var(--faint)}.tree-no-results,.tree-empty-state{padding:18px 12px;color:var(--muted);font-size:var(--font-small);line-height:1.9}.tree-footer{flex:none;padding:12px 6px 2px;border-top:1px solid var(--line);font-size:var(--font-small);color:var(--faint)}.server-explorer .context-popover{min-width:175px;max-height:calc(100vh - 16px);overflow-y:auto}.server-explorer .pointer-menu{position:fixed!important;position-anchor:auto!important;right:auto!important;bottom:auto!important;margin:0!important;z-index:100!important}.tree-folder-row .group-more{width:25px!important;min-width:25px!important}.group-row:focus-within{outline-offset:-1px}.server-explorer .context-popover .menu-item:focus-visible{outline:1px solid var(--accent);outline-offset:-2px;background:var(--raised)!important}
/* Shared SVG geometry aligns disclosure, folder and server glyphs without font baselines. */
.server-explorer .group-button{display:grid!important;grid-template-columns:18px 22px minmax(0,1fr) auto;column-gap:8px;align-items:center;min-height:40px!important}.tree-chevron.action-glyph{display:block!important;width:18px!important;height:18px!important;line-height:0;margin:0;transform:rotate(0deg);transition:transform 100ms ease;color:var(--muted)}.tree-folder-row.expanded .tree-chevron{transform:rotate(90deg)}.group-button>.action-glyph:not(.tree-chevron){width:22px!important;height:22px!important}.server-explorer .host-row>.action-glyph{width:20px!important;height:20px!important}.server-explorer .host-name{font-size:var(--font-body)!important}.server-explorer .host-address{font-size:var(--font-small)!important}.tree-folder-name{font-size:var(--font-body)}.server-explorer .group-context-menu{min-width:230px}.tree-folder-row{position:relative}.tree-folder-row.drop-before::before,.tree-folder-row.drop-after::after{content:'';position:absolute;left:2px;right:2px;height:2px;background:var(--accent);border-radius:1px;z-index:2;pointer-events:none}.tree-folder-row.drop-before::before{top:-2px}.tree-folder-row.drop-after::after{bottom:-2px}.tree-folder-row.dragging-group{opacity:.45}.group-button[draggable=true]{cursor:grab}.group-button[draggable=true]:active{cursor:grabbing}.delete-targets{display:block;max-height:180px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px 14px;background:var(--input);border:1px solid var(--line);border-radius:6px;font-size:var(--font-label);line-height:1.9}
.job-transfer{flex:1;min-width:0;gap:2px}.job-progress-heading{display:flex;align-items:center;min-width:0;line-height:1.4}.job-progress-column{display:flex;align-items:center;gap:8px;width:164px;min-width:164px;flex:none}.job-percent{width:40px;text-align:right;font-size:var(--font-small);color:var(--muted);font-variant-numeric:tabular-nums;flex:none}.job-progress{height:4px;min-height:4px;display:block;width:100%!important;background:var(--line)!important;border-radius:3px;overflow:hidden}.job-progress-column>.job-progress{flex:1;width:auto!important;min-width:0}.job-progress>div{height:100%;background:var(--accent)!important}.job-progress.failed>div{background:var(--danger)!important}.job-progress.cancelled>div{background:var(--muted)!important}.job-transfer-details{font-size:var(--font-small);color:var(--muted);line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.queue-row{padding-block:5px;align-items:center;gap:8px}.queue-row .job-name{width:20%;max-width:190px;min-width:70px;line-height:1.4}.job-transfer-details:empty{display:none}.queue-row>.icon-button{flex:none;width:24px!important;min-width:24px!important;height:26px!important;min-height:26px!important}@media(max-width:1050px){.job-progress-column{width:148px;min-width:148px}.queue-row .job-name{width:18%;max-width:130px}}@media(max-width:850px){.queue-row{display:grid!important;grid-template-columns:18px minmax(0,1fr) minmax(40px,148px) repeat(3,24px);gap:2px 7px}.queue-row>.transfer-details-toggle{grid-column:1;grid-row:1/3}.queue-row>.job-name{grid-column:2;grid-row:1;width:auto;min-width:0;max-width:none}.queue-row>.job-transfer{grid-column:2/-1;grid-row:2;display:flex!important;flex-direction:row!important;gap:8px;align-items:center}.queue-row .job-status{flex:none;max-width:40%;min-width:0}.queue-row .job-progress-heading{flex:none;max-width:40%}.queue-row .job-transfer-details{flex:1;min-width:0}.queue-row>.job-progress-column{grid-column:3;grid-row:1;width:auto;min-width:0}.queue-row>.job-pause{grid-column:4;grid-row:1}.queue-row>.job-cancel{grid-column:5;grid-row:1}.queue-row>.job-retry{grid-column:6;grid-row:1}}
.server-search{position:relative;display:block;flex:none;margin:0 4px}.server-search>input{display:block;width:100%;padding-right:36px}.server-search-icon{position:absolute;right:11px;top:50%;transform:translateY(-50%);width:18px!important;height:18px!important;color:var(--muted);pointer-events:none}
.operations-page{display:flex;flex:1;flex-direction:column;min-height:0;gap:14px;overflow:auto}.operations-modes,.operations-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex:none}.operation-services,.operation-snippets{display:flex;flex-direction:column;gap:12px;min-height:120px;max-height:55%;flex-shrink:0}.service-search{width:220px;margin:0 auto 0 0!important}.service-filter{width:100%!important}.service-list,.snippet-list{overflow:auto;min-height:0;background:var(--surface);border:1px solid var(--line);border-radius:7px}.service-row{display:grid!important;grid-template-columns:minmax(150px,1fr) minmax(110px,.6fr) minmax(140px,1.2fr);gap:12px;width:100%;padding:11px 14px!important;border-radius:0!important;border-bottom:1px solid var(--line)!important;text-align:left;min-height:40px!important}.service-row.selected{background:var(--accent-bg)!important}.service-name,.service-description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.service-state,.service-description{font-size:var(--font-small);color:var(--muted)}.snippet-row{display:flex;align-items:center;gap:8px;padding:14px;border-bottom:1px solid var(--line)}.snippet-copy{flex:1;min-width:0;gap:5px}.snippet-name{font-weight:600}.snippet-actions{display:flex;gap:4px;opacity:0;pointer-events:none}.snippet-row:hover .snippet-actions,.snippet-row:focus-within .snippet-actions{opacity:1;pointer-events:auto}.operations-result-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none}.operations-output{display:block;min-height:130px;max-height:320px;flex:1;overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:7px;padding:14px;white-space:pre-wrap;overflow-wrap:anywhere;font:var(--font-code)/1.7 'Cascadia Code',Consolas,monospace}.command-editor{height:160px!important;min-height:100px;font:var(--font-code)/1.7 'Cascadia Code',Consolas,monospace!important;resize:vertical}.operation-command-preview{display:block;max-height:240px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;background:var(--input);border:1px solid var(--line);border-radius:5px;font:var(--font-code)/1.7 'Cascadia Code',Consolas,monospace}.operation-history{display:flex;flex-direction:column;gap:6px;max-height:120px;overflow:auto;flex:none}.operations-toolbar>.subtle{flex:1;min-width:200px}@media(max-width:1100px){.service-row{grid-template-columns:minmax(130px,1fr) 120px}.service-description{display:none}.operation-services,.operation-snippets{max-height:55%}.main-panel>.module-nav{gap:16px;overflow-x:auto}}
.file-context-menu,.file-actions-menu{position:fixed!important;inset:auto;bottom:auto!important;right:auto!important;min-width:205px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow-y:auto;z-index:80}.file-menu-group{display:flex;flex-direction:column;gap:2px}.pane-menu .menu-item:focus-visible{background:var(--accent-bg)!important;outline:1px solid var(--line-hover);outline-offset:-1px}.menu-divider{height:1px;min-height:1px;margin:4px 3px;background:var(--line)}.file-properties{display:block;white-space:pre-wrap;overflow-wrap:anywhere;max-height:55vh;overflow:auto;font-size:var(--font-label);line-height:1.9}
.pane-menu .menu-item{min-height:30px!important;padding:6px 9px!important;font-size:var(--font-label)!important}
.file-delete-body{display:flex;flex-direction:column;gap:14px}.file-delete-body .file-properties{padding:10px 12px;border:1px solid var(--line);border-radius:5px;max-height:40vh}
.files-workspace{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.files-workspace>.panes{flex:1;min-height:0}.file-task-status{display:flex;align-items:center;gap:12px;padding:10px 14px;margin-bottom:10px;border:1px solid var(--line);border-radius:6px;background:var(--accent-bg)}.file-task-progress{display:block;flex:1;white-space:pre-wrap;overflow-wrap:anywhere;font-size:var(--font-label);line-height:1.6;max-height:80px;overflow:auto}.file-task-status .file-task-progress{max-height:44px}.file-type,.column-type{width:82px;flex:0 0 82px;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-permissions,.column-permissions{width:72px;flex:0 0 72px;text-align:right;font-variant-numeric:tabular-nums}.file-type,.file-permissions{font-size:var(--font-small);color:var(--muted)}.column-type,.column-permissions{font-size:var(--font-small);color:var(--muted);padding-right:4px}.icons-view .file-type,.icons-view .file-permissions{display:none!important}.column-settings{display:grid;grid-template-columns:1fr 1fr;gap:10px}.column-settings>div:first-child,.column-settings>div:nth-child(2){grid-column:1/-1}.column-option{padding:12px 14px!important;text-align:left!important;border:1px solid var(--line)!important;border-radius:6px!important;min-height:40px!important}.column-option.active{background:var(--accent-bg)!important;border-color:var(--line-hover)!important;color:var(--accent)!important}.properties-layout{display:flex;flex-direction:column;gap:18px}.property-identity{display:flex;align-items:center;gap:12px}.property-identity>div:nth-child(2){flex:1;min-width:0}.property-name{font-size:var(--font-section);font-weight:600;overflow-wrap:anywhere}.property-identity .action-glyph{width:28px;height:28px}.property-details{display:flex;flex-direction:column;gap:12px}.property-detail{display:flex;align-items:flex-start;gap:14px}.property-label{flex:0 0 112px;font-size:var(--font-label);color:var(--muted)}.property-value{min-width:0;flex:1;font-size:var(--font-label);white-space:pre-wrap;overflow-wrap:anywhere;max-height:130px;overflow:auto;line-height:1.6}.permissions-panel{display:flex;flex-direction:column;gap:12px;padding-top:18px;border-top:1px solid var(--line)}.permission-matrix{display:grid!important;grid-template-columns:minmax(100px,1fr) repeat(3,70px);align-items:center;gap:8px;text-align:center;font-size:var(--font-label)}.permission-matrix>div:nth-child(4n+1){text-align:left}.permission-bit{justify-self:center;width:36px;min-height:30px!important;padding:4px!important;border:1px solid var(--line)!important;border-radius:5px!important;font-size:var(--font-body)!important;color:var(--muted)!important}.permission-bit.active{background:var(--accent-bg)!important;border-color:var(--line-hover)!important;color:var(--accent)!important}.permission-mode-row{display:flex;align-items:center;gap:12px;font-size:var(--font-label)}.permission-mode{width:110px!important;flex:none!important;font-family:Consolas,monospace}.property-feedback{font-size:var(--font-label);white-space:pre-wrap;line-height:1.6;color:var(--muted)}
.property-identity .icon-button .action-glyph{width:14px;height:14px}.permission-matrix{text-align:left!important}.permission-matrix>span{justify-self:start}
.permission-check{justify-self:center;accent-color:var(--accent);cursor:pointer}.column-option{display:flex;align-items:center;gap:10px;accent-color:var(--accent)}
.column-settings{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}.column-settings>.subtle,.column-settings>.column-hint{grid-column:1/-1}.column-option{justify-content:flex-start!important;min-height:38px!important;padding:10px 12px!important}.column-option input[type=checkbox]{flex:0 0 16px!important;width:16px!important;height:16px!important;min-height:16px!important;padding:0!important;margin:0!important}.permission-check{display:flex!important;align-items:center;justify-content:center;min-height:30px;padding:4px!important}.permission-check input[type=checkbox]{flex:none!important;width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;margin:0!important}.permission-matrix .permission-column-label{justify-self:center!important}
.preferences-stack{display:flex;flex-direction:column;gap:12px}.preference-check{display:flex;align-items:center;gap:8px;min-height:30px}.preference-check input[type=checkbox]{flex:none!important;width:16px!important;height:16px!important;min-height:16px!important;margin:0!important;padding:0!important;accent-color:var(--accent)}.preference-preview{padding:10px 12px;border:1px solid var(--line);border-radius:5px;font-size:var(--font-label);background:var(--input)}.server-editor-tabs{display:flex;gap:12px;border-bottom:1px solid var(--line);flex:none}.editor-discard{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid var(--line);border-radius:5px}.update-version{font-size:var(--font-body);font-weight:600}.update-status{font-size:var(--font-label)}.update-download,.update-release{display:flex;flex-direction:column;gap:10px}.update-notes{font-size:var(--font-label);line-height:1.7;white-space:pre-wrap;max-height:180px;overflow:auto}.update-error:empty{display:none}.update-progress{height:5px;min-height:5px;background:var(--line);border-radius:4px;overflow:hidden}.update-progress>div{height:100%;background:var(--accent)}.update-install-overlay{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:var(--bg);font-size:var(--font-body)}
.update-banner{position:fixed;right:24px;bottom:24px;z-index:90;display:flex;align-items:center;gap:12px;max-width:calc(100vw - 48px);padding:12px 16px;border:1px solid var(--line);border-radius:7px;background:var(--surface);box-shadow:0 8px 28px #0003;font-size:var(--font-label)}.update-banner>span{flex:1;min-width:0}
.workspace-content .settings-section{min-height:0;gap:18px;padding:24px 28px}.about-product{display:flex;align-items:center;gap:14px}.about-identity{display:flex;flex-direction:column;gap:6px}.about-name{font-size:19px;font-weight:600}.log-error{white-space:pre-wrap;overflow-wrap:anywhere}.settings-footer{flex:none}.preference-preview{color:var(--muted)}@media(max-width:850px){.workspace-content .settings-section{padding:18px}.file-picker-field{flex-wrap:wrap}.file-picker-field>input{flex-basis:100%}}
.server-tree .host-select:focus,.server-tree .host-select:focus-visible,.server-tree .group-button:focus,.server-tree .group-button:focus-visible{outline:none!important;box-shadow:none!important}.keyboard-navigation .server-tree .host-row:has(>.host-select:focus),.keyboard-navigation .server-tree .tree-folder-row:has(>.group-button:focus){outline:1px solid var(--accent);outline-offset:-1px}
.script-page,.tasks-page{padding:20px;display:flex;flex-direction:column;gap:12px;overflow:auto;min-height:0}
.global-toolbar,.script-row-heading,.script-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.global-toolbar input{flex:1;min-width:160px}.script-row,.task-entry{border-bottom:1px solid var(--line);padding:14px 0;display:flex;flex-direction:column;gap:10px}.script-row-heading{justify-content:space-between}.script-code{white-space:pre-wrap;overflow-wrap:anywhere;font-family:Consolas,monospace;font-size:var(--font-label);max-height:240px;overflow:auto;user-select:text;padding:10px;background:var(--input)}.script-target-picker{display:flex;flex-direction:column;gap:7px;padding:10px 0;border-top:1px solid var(--line)}.target-choice,.task-heading{text-align:left;white-space:normal;padding:10px;background:transparent;color:inherit;border:1px solid var(--line);border-radius:6px}.target-choice.active{border:1px solid var(--accent)!important;background:var(--raised)!important}.task-target{display:flex;flex-direction:column;gap:6px;margin:12px 0;padding:12px;border:1px solid var(--line);border-radius:6px}.task-target .subtle{overflow-wrap:anywhere}.task-status{font-size:var(--font-label);color:var(--accent)}
.backup-page{padding:20px;display:flex;flex-direction:column;gap:12px;overflow:auto;min-height:0}.backup-snapshot{display:flex;flex-direction:column;gap:6px;padding:12px 0;border-top:1px solid var(--line)}.backup-excludes{min-height:74px!important}.backup-policy .subtle{overflow-wrap:anywhere}
.snapshot-file-list{display:flex;flex-direction:column;gap:8px;max-height:340px;overflow:auto;min-height:0}.snapshot-file-row{display:flex;flex-direction:column;gap:5px;padding:8px;border:1px solid var(--line);border-radius:5px}.snapshot-file-path,.snapshot-selected-paths,.snapshot-restore-selection,.snapshot-files-summary{overflow-wrap:anywhere;white-space:pre-wrap}.snapshot-files-browser .script-actions{flex-wrap:wrap}.snapshot-file-select.active{border-color:var(--accent)}
.task-target-selection{min-width:0}.target-group-filters,.target-selection-actions{flex-wrap:wrap}.task-target-list{display:flex;flex-direction:column;gap:10px;max-height:440px;overflow:auto;min-height:0;padding:2px}.task-target-list .script-target-picker{padding:10px;border:1px solid var(--line);border-radius:6px}.task-target-list .target-choice{white-space:normal;overflow-wrap:anywhere;text-align:left}.target-selection-summary,.target-group-name{overflow-wrap:anywhere}.target-selection-warning{border-left:3px solid var(--accent);padding-left:9px}
.backup-progress-track{height:5px;background:var(--line);overflow:hidden;border-radius:3px}.backup-progress-fill{height:5px;background:var(--accent);border-radius:3px}
.backup-confirmations{white-space:pre-wrap;line-height:1.8}
.diagnostic-settings{display:flex;flex-direction:column;gap:12px}
.diagnostics-page{padding:20px;display:flex;flex-direction:column;gap:12px;overflow:auto;min-height:0}.diagnostic-fields{display:flex;gap:12px;flex-wrap:wrap}.diagnostic-fields>.field{flex:1;min-width:160px}.diagnostic-run,.diagnostic-target{display:flex;flex-direction:column;gap:10px;padding:12px 0;border-top:1px solid var(--line)}.diagnostic-target{padding:12px;border:1px solid var(--line);border-radius:6px}.diagnostic-finding{display:flex;flex-direction:column;gap:6px;padding:10px;border-left:3px solid var(--muted);background:var(--input);font-size:var(--font-label)}.diagnostic-pass{border-left-color:#26835e}.diagnostic-warning{border-left-color:#ad7919}.diagnostic-critical{border-left-color:#c13e47}.diagnostic-detail{font:var(--font-code)/1.6 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:140px;overflow:auto;user-select:text}.diagnostic-summary{font-size:var(--font-label);overflow-wrap:anywhere}.diagnostic-target .subtle{overflow-wrap:anywhere}
.server-records-page{display:flex;flex-direction:column;gap:10px}.server-records-page>.context-hint{padding:0 2px;line-height:1.6}.server-records-page .global-toolbar{flex-wrap:wrap}.server-record-group{display:flex;flex-direction:column;gap:9px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.record-query-time{overflow-wrap:anywhere}.server-record-list{display:flex;flex-direction:column;gap:5px;max-height:540px;overflow:auto}.server-task-record{display:grid!important;grid-template-columns:minmax(0,1fr) 170px 70px 125px;align-items:center;gap:10px;padding:10px 8px;border-top:1px solid var(--line)}.record-copy{min-width:0;overflow-wrap:anywhere;display:flex;flex-direction:column;gap:4px}.record-name{font-weight:600}.record-result{min-width:0;overflow-wrap:anywhere}.record-status,.record-log-size{white-space:nowrap}.server-record-group>.subtle{overflow-wrap:anywhere}.record-id{font-size:var(--font-small)}.record-target-picker{display:flex;flex-direction:column;gap:8px}.record-target{width:100%;text-align:left!important;padding:10px!important;border:1px solid var(--line)!important}.record-target.active{border-color:var(--accent)!important;background:var(--accent-bg)!important}.record-saved-output{max-height:45vh;min-height:120px;overflow:auto;overflow-wrap:anywhere;white-space:pre-wrap}@media(max-width:1050px){.server-task-record{grid-template-columns:minmax(0,1fr) 125px}.record-copy{grid-column:1;grid-row:1}.record-result{grid-column:2;grid-row:1}.record-log-size{grid-column:1;grid-row:2}.record-log-action{grid-column:2;grid-row:2}}
.record-storage-page{display:flex;flex-direction:column;gap:12px}.storage-server-group{display:flex;flex-direction:column;gap:9px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.storage-server-group>.subtle{overflow-wrap:anywhere}.storage-record-list{display:flex;flex-direction:column;max-height:470px;overflow:auto}.storage-record{display:grid!important;grid-template-columns:minmax(0,1fr) 140px 110px;gap:12px;align-items:center;padding:12px 4px;border-top:1px solid var(--line)}.storage-record-copy{display:flex;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere}.storage-record-title{font-weight:600}.storage-record-id{font-size:var(--font-small)}.storage-reasons,.storage-reference-issues{white-space:pre-wrap;overflow-wrap:anywhere}.storage-reasons:empty,.storage-reference-issues:empty{display:none}.storage-record-select.active{border-color:var(--accent)!important;background:var(--accent-bg)!important}.storage-record-bytes{overflow-wrap:anywhere}.storage-preview{display:flex;flex-direction:column;gap:10px;padding:14px 0;border-top:1px solid var(--line)}.storage-preview-objects{max-height:360px!important}@media(max-width:1050px){.storage-record{grid-template-columns:minmax(0,1fr) 120px}.storage-record-copy{grid-column:1;grid-row:1}.storage-record-bytes{grid-column:1;grid-row:2}.storage-record-select{grid-column:2;grid-row:1 / span 2}}
.cleanup-reports-page{display:flex;flex-direction:column;gap:12px}.cleanup-report-group{display:flex;flex-direction:column;gap:9px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.cleanup-report-group>.subtle{overflow-wrap:anywhere}.cleanup-report-list{display:flex;flex-direction:column;max-height:480px;overflow:auto}.cleanup-report-row{display:grid!important;grid-template-columns:minmax(0,1fr) 170px;gap:12px;align-items:center;padding:12px 4px;border-top:1px solid var(--line)}.cleanup-report-copy{display:flex;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere}.cleanup-report-id{font-weight:600}.cleanup-detail{display:flex;flex-direction:column;gap:9px;padding-top:12px;border-top:1px solid var(--line)}.cleanup-detail-body{max-height:420px!important;overflow-wrap:anywhere;white-space:pre-wrap}.cleanup-report-target.active{border-color:var(--accent)!important;background:var(--accent-bg)!important}@media(max-width:1050px){.cleanup-report-row{grid-template-columns:minmax(0,1fr) 140px}}
.cleanup-detail-server,.residual-recovery-row>.subtle{overflow-wrap:anywhere}.residual-recovery-list{display:flex;flex-direction:column;gap:8px}.residual-recovery-row{display:flex;flex-direction:column;gap:6px;padding:10px;border:1px solid var(--line);border-radius:6px}.residual-recovery-row>.hint:empty{display:none}.residual-release-select.active{border-color:var(--accent)!important;background:var(--accent-bg)!important}
.installation-report:empty,.installation-scope:empty{display:none}.installation-report{max-height:420px!important;white-space:pre-wrap;overflow-wrap:anywhere}.installation-scope{white-space:pre-wrap;overflow-wrap:anywhere}
.drill-report:empty{display:none}.drill-report{max-height:520px!important;white-space:pre-wrap;overflow-wrap:anywhere}.drill-form,.drill-check-editor{display:flex;flex-direction:column;gap:10px}.drill-check-editor{padding:12px;border:1px solid var(--line);border-radius:6px}.drill-form .hint{overflow-wrap:anywhere}
.recovery-access-choices{display:flex;flex-direction:column;gap:10px;max-height:220px;overflow:auto}.recovery-access-server{display:flex;flex-direction:column;gap:4px;min-width:0}.recovery-access-server>.subtle,.snapshot-access-summary,.cross-server-recovery-scope{overflow-wrap:anywhere}.snapshot-access-choice{width:100%;text-align:left!important}.repository-access-picker{padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.script-bundle-list{display:flex;flex-direction:column;gap:10px;max-height:48vh;overflow:auto}.script-bundle-entry,.script-share-item{display:flex;flex-direction:column;gap:8px;padding:10px 0;border-top:1px solid var(--line);min-width:0}.script-bundle-choice,.script-share-choice{width:100%;text-align:left!important}.script-bundle-body{max-height:160px!important;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.script-bundle-import-review,.script-bundle-export-review{max-height:55vh!important;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.script-bundle-source,.script-bundle-dialog .hint{white-space:pre-wrap;overflow-wrap:anywhere}.script-bundle-source:empty,.script-bundle-entry>.subtle:empty{display:none}.script-share-editor{padding:8px}.script-share-editor .command-editor{min-height:140px}
.parameter-definition-editor,.parameter-presets {border-top:1px solid var(--line);padding-top:12px;min-width:0;}
.parameter-definition-list {max-height:360px;overflow:auto;gap:16px;min-width:0;}
.parameter-definition {border:1px solid var(--line);border-radius:8px;padding:12px;min-width:0;}
.parameter-definition .script-actions,.parameter-presets .script-actions,.parameter-value .script-actions {flex-wrap:wrap;}
.parameter-presets {padding-bottom:8px;}
.parameter-value-error {color:var(--danger);overflow-wrap:anywhere;}
.parameter-run-form,.parameter-value {min-width:0;}
/* Shared help: a single optional explanation beside a heading or control. */
.help-tip{display:inline-flex;align-items:center;flex:none;min-width:0;vertical-align:middle}
.help-trigger{position:relative;display:inline-flex!important;align-items:center;justify-content:center;width:26px!important;min-width:26px!important;height:26px!important;min-height:26px!important;padding:0!important;border-radius:50%!important;color:var(--muted)!important;font:600 var(--font-label)/1 'Segoe UI',sans-serif!important}
.help-trigger::before{content:'';position:absolute;inset:0;margin:auto;width:17px;height:17px;border:1px solid currentColor;border-radius:50%;pointer-events:none}
.help-trigger:hover,.help-trigger[aria-expanded=true]{background:var(--raised)!important;color:var(--accent)!important}
.help-copy{display:none!important;position:fixed;z-index:250;width:360px;max-width:calc(100vw - 24px);max-height:min(440px,calc(100vh - 32px));overflow:auto;padding:14px 16px;border:1px solid var(--line-hover);border-radius:8px;background:var(--surface);box-shadow:0 8px 28px #0003;color:var(--text);font:400 var(--font-label)/1.65 'Segoe UI','Microsoft YaHei',sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text;text-align:left}
.help-copy.help-visible{display:flex!important;flex-direction:column;gap:10px}
.help-title{font-size:var(--font-body);font-weight:600;color:var(--text)}
.help-heading{display:flex;align-items:center;gap:6px;min-width:0}
.context-title.help-heading{justify-content:space-between;gap:8px}
.context-title.help-heading>.help-tip{margin-left:auto}
.field-label{font-size:var(--font-label);line-height:1.5}
input,textarea,select{font:inherit}input{height:36px}textarea{line-height:1.6}
.button{min-height:34px!important}.compact{min-height:30px!important;font-size:var(--font-label)!important}
.context-link,.module-tab{font-size:var(--font-body)!important}
.page-header-title{font-size:var(--font-section)}
.file-row{min-height:38px}.file-name{font-size:var(--font-body)!important}.file-size,.file-modified{font-size:var(--font-small)}
.file-header{height:34px}.file-header button{height:32px!important}.column-modified,.file-modified{width:96px}.column-size,.file-size{width:76px}
.path-input,.breadcrumbs{height:34px}
.script-code:empty{display:none}.target-choice{line-height:1.5!important}
.task-batch-refresh{align-self:flex-start}.task-refresh-target-list{display:flex;flex-direction:column;gap:8px}.task-refresh-reason:empty,.task-query-progress:empty{display:none}
.global-toolbar{row-gap:10px}.script-page,.tasks-page,.backup-page,.diagnostics-page{gap:16px}
@media(max-width:1100px){.column-modified,.file-modified{width:82px}.column-size,.file-size{width:66px}}
.diagnostic-item-row{display:flex;align-items:flex-end;gap:8px}.diagnostic-item-row>.field{flex:1;min-width:0}.diagnostic-configuration-row{padding:10px 0;border-top:1px solid var(--line)}.diagnostic-item-context:empty{display:none}
.audit-storage-group{border-top:1px solid var(--line);padding:16px 0}.audit-storage-record{display:flex;flex-direction:column;gap:6px;padding:10px 0;border-bottom:1px solid var(--line)}.audit-storage-choice{align-self:flex-start;max-width:100%;overflow-wrap:anywhere}.audit-storage-summary,.audit-storage-protection,.audit-preview-summary{overflow-wrap:anywhere}.audit-storage-preview{padding:12px;border:1px solid var(--line);border-radius:6px}
.audit-storage-group{gap:10px}.audit-storage-list{gap:0}.audit-storage-record{display:grid;grid-template-columns:minmax(140px,1fr) minmax(180px,2fr);align-items:center;gap:6px 12px;padding:8px 0}.audit-storage-protection{grid-column:1/-1}.audit-storage-protection:empty{display:none}@media(max-width:760px){.audit-storage-record{grid-template-columns:1fr}}
.audit-storage-record>.audit-storage-choice{grid-column:1;grid-row:1}.audit-storage-record>.audit-storage-record-size{grid-column:2;grid-row:1}@media(max-width:760px){.audit-storage-record>.audit-storage-record-size{grid-column:1;grid-row:2}}
.audit-cleanup-details{padding:12px;border:1px solid var(--line);border-radius:6px}.audit-detail-files{max-height:420px;overflow:auto;overflow-wrap:anywhere}.audit-detail-issues:empty{display:none}.audit-detail-open{justify-self:start}
.export-download-files{max-height:180px;overflow:auto;overflow-wrap:anywhere}.export-download-source{overflow-wrap:anywhere}
.server-task-record{grid-template-columns:90px minmax(0,1fr) 150px 70px 125px}.task-stop-select.active{background:var(--accent-bg)!important;border-color:var(--accent)!important}.task-stop-peer{display:flex;flex-direction:column;gap:9px;padding:12px;border:1px solid var(--line);border-radius:6px;min-width:0}.task-stop-peer>.section-title{overflow-wrap:anywhere}.task-stop-inspection{margin:0;max-height:220px}.task-stop-report:empty,.task-stop-peer>.form-error:empty,.task-stop-submitted:empty{display:none}.task-stop-dialog .form-error{font-size:var(--font-label)}@media(max-width:1050px){.server-task-record{grid-template-columns:minmax(0,1fr) 125px}.server-task-record>.task-stop-select{grid-column:1/-1;grid-row:3;justify-self:start}}
.diagnostic-export-targets{display:flex;flex-direction:column;gap:7px;max-height:180px;overflow:auto}.diagnostic-export-target{text-align:left!important;overflow-wrap:anywhere;white-space:normal!important}.diagnostic-export-preview{margin:0;max-height:38vh;min-height:80px}.diagnostic-export-dialog{min-width:0}.diagnostic-export-details.active{background:var(--accent-bg)!important;color:var(--accent)!important}
.diagnostic-export-destination{overflow-wrap:anywhere;max-height:70px;overflow:auto}.diagnostic-export-destination:empty{display:none}
.diagnostic-log-units{display:flex;flex-direction:column;gap:6px;max-height:120px;overflow:auto}.diagnostic-log-unit{white-space:normal!important;text-align:left!important;overflow-wrap:anywhere}.diagnostic-log-dialog>.help-heading>.section-title,.diagnostic-log-origin,.diagnostic-log-window{overflow-wrap:anywhere}.diagnostic-log-output{display:block;min-height:90px;max-height:35vh;flex:none}.diagnostic-log-output:empty,.diagnostic-log-warnings:empty{display:none}.diagnostic-log-admin.active{background:var(--accent-bg)!important;color:var(--accent)!important}
.resource-trends{display:flex;flex-direction:column;gap:12px;min-width:0}
.resource-trend-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.resource-trend-toolbar>.help-heading{margin-right:auto}
.resource-trend-plots{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px;min-width:0}
.resource-trend-chart{position:relative;min-width:0;margin:0;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:7px}
.resource-trend-title{font-size:var(--font-body);font-weight:600}
.resource-trend-legend{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-height:25px;margin-top:5px;font-size:var(--font-label);font-variant-numeric:tabular-nums}
.resource-trend-legend-entry{display:flex;align-items:center;gap:5px;white-space:nowrap}
.resource-trend-swatch{width:20px;border-top:2px solid var(--accent)}
.resource-trend-legend-entry.transmit .resource-trend-swatch{border-color:var(--trend-secondary,#dda44c);border-top-style:dashed}
.resource-trend-chart svg{display:block;width:100%;height:196px;overflow:visible;border-radius:4px;outline-offset:-1px}
.resource-trend-chart svg:focus:not(:focus-visible){outline:none}
.resource-trend-chart svg:focus-visible{outline:1px solid var(--accent)}
.resource-trend-grid{stroke:var(--line);stroke-width:1;stroke-dasharray:3 4}
.resource-trend-axis,.resource-trend-empty{fill:var(--muted);font-size:var(--font-small);font-family:inherit}
.resource-trend-empty{font-size:var(--font-label)}
.resource-trend-line{fill:none;stroke:var(--accent);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.resource-trend-line.transmit{stroke:var(--trend-secondary,#dda44c);stroke-dasharray:5 3}
.resource-trend-marker{fill:var(--accent);stroke:var(--surface);stroke-width:1.5}
.resource-trend-marker.transmit{fill:var(--trend-secondary,#dda44c)}
.resource-trend-crosshair{stroke:var(--muted);stroke-width:1;stroke-dasharray:3 3}
.resource-trend-tooltip{position:absolute;top:57px;right:auto;max-width:calc(100% - 12px);padding:7px 9px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:4px;box-shadow:0 3px 10px #0002;pointer-events:none;z-index:2;font-size:var(--font-label);line-height:1.6;overflow-wrap:anywhere}
.theme-light{--trend-secondary:#99620c}
.deleted-files-result,.deleted-files-rows{gap:12px;min-width:0}
.deleted-file-row{padding:12px;border:1px solid var(--line);border-radius:6px;gap:8px;min-width:0}
.deleted-file-path,.deleted-file-holders{font-family:ui-monospace,Consolas,monospace;font-size:var(--font-label);white-space:pre-wrap;overflow-wrap:anywhere}
.deleted-file-sizes,.deleted-files-state{font-size:var(--font-label);overflow-wrap:anywhere}
.deleted-files-dialog>.choice{align-self:flex-start}
.server-environment{font-size:12px;color:var(--accent);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.server-label-filters{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:12px;min-width:0}
.server-label-filters>.field{min-width:0}
.server-label-summary{font-size:var(--font-label);min-width:0;overflow-wrap:anywhere}
.server-label-editor .field{min-width:0}
.diagnostic-tls-row{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid var(--line);border-radius:6px;min-width:0}
.diagnostic-tls-fields{display:grid!important;grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr);gap:12px;align-items:end;min-width:0}
.diagnostic-tls-fields>.field{min-width:0}
@media(max-width:1100px){.diagnostic-tls-fields{grid-template-columns:minmax(0,1fr) 90px}.diagnostic-tls-fields>.field:last-child{grid-column:1/-1}}
.configuration-backup-counts,.configuration-backup-source-counts,.configuration-backup-current-counts{white-space:pre-wrap;overflow-wrap:anywhere}
.configuration-backup-counts:empty,.configuration-backup-source-counts:empty,.configuration-backup-digest:empty{display:none}
.configuration-backup-digest{font-size:var(--font-small);overflow-wrap:anywhere}
.configuration-backup-json{max-height:300px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;flex:none}
.script-favorite{display:inline-flex!important;align-items:center;justify-content:center;flex:none;width:28px!important;padding:4px!important}.script-favorite.active{color:var(--accent)!important}.script-row-heading>.help-heading{min-width:0;flex-wrap:wrap}.script-row-heading .section-title{overflow-wrap:anywhere;min-width:0}
.diagnostic-resolution-fields{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;width:100%}.diagnostic-resolution-row{padding:10px;border:1px solid var(--line);border-radius:5px}@media(max-width:1000px){.diagnostic-resolution-fields{grid-template-columns:minmax(0,1fr)}}
.tcp-listeners-rows{display:flex;flex-direction:column;gap:10px}.tcp-listener-row{padding:10px;border:1px solid var(--line);border-radius:5px;display:flex;flex-direction:column;gap:6px}.tcp-listener-endpoint,.tcp-listener-holders{font:var(--font-code)/1.6 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.tcp-listeners-state,.tcp-listeners-error,.tcp-listeners-warning{overflow-wrap:anywhere}
.terminal-tabs{display:flex;align-items:center;gap:6px;flex:none;overflow-x:auto;min-width:0;padding:6px 10px;border-bottom:1px solid var(--line)}.terminal-tab-item{display:flex;align-items:center;flex:none;min-width:0;max-width:300px;border:1px solid var(--line);border-radius:5px;overflow:hidden}.terminal-tab{min-width:0!important;max-width:260px;min-height:27px!important;padding:4px 8px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important;text-align:left;font-size:var(--font-small)!important;color:var(--muted)!important}.terminal-tab.active{color:var(--accent)!important;background:var(--accent-bg)!important}.terminal-tab-close{width:24px!important;min-width:24px!important;height:27px!important;min-height:27px!important;border-radius:0!important;flex:none}
.terminal-tabs{overflow:hidden}.terminal-tab-list{display:flex;align-items:center;gap:6px;flex:1;min-width:0;overflow-x:auto}.terminal-tab-id{display:none!important}.terminal-new-tab{flex:none!important;margin-left:4px}
/* Terminal context menus share the file menu surface and shortcut columns. */
.terminal-menu-dismiss{position:fixed;inset:0;z-index:80;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:transparent!important;font-size:0!important;cursor:default}.terminal-context-menu{position:fixed!important;left:8px;top:8px;right:auto!important;bottom:auto!important;min-width:248px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow:auto;z-index:81!important;margin:0!important}.terminal-menu-group{display:flex;flex-direction:column;gap:2px}.terminal-context-menu .terminal-menu-action{display:flex!important;align-items:center;justify-content:space-between;gap:24px;min-height:30px!important;padding:6px 9px!important;font-size:var(--font-label)!important}.terminal-menu-label{flex:1;min-width:0;text-align:left;white-space:nowrap}.terminal-menu-shortcut{flex:none;color:var(--faint);font-size:var(--font-small);font-variant-numeric:tabular-nums;white-space:nowrap}.terminal-context-menu .terminal-menu-action:disabled .terminal-menu-shortcut{opacity:.55}.terminal-context-menu .terminal-menu-action:focus-visible{outline:1px solid var(--accent);outline-offset:-2px;background:var(--raised)!important}.terminal-context-menu .terminal-menu-danger{color:var(--danger)!important}.terminal-menu-hint{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:4px;padding:7px 9px 4px;border-top:1px solid var(--line);color:var(--muted);font-size:var(--font-small);white-space:nowrap}
/* Current server port inventory. */
.resource-ports{display:flex;flex-direction:column;gap:10px;flex:none;min-width:0}
.resource-ports-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px}.resource-ports-admin{flex:none}.resource-ports-refresh{margin-inline-start:auto}.resource-ports-status{font-variant-numeric:tabular-nums}.resource-ports-notice:empty,.resource-ports-warning:empty{display:none}
.resource-ports-table{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:5px;overflow:hidden}.resource-port-header,.resource-port-holder{display:flex;align-items:center;gap:12px;padding:6px 10px;min-width:0;flex:none}.resource-port-header{background:var(--raised);color:var(--muted);font-size:var(--font-small)}.resource-port-rows{display:flex;flex-direction:column;max-height:420px;overflow:auto;min-height:0}.resource-port-row{display:flex;flex-direction:column;border-top:1px solid var(--line);flex:none}.resource-port-row:first-child{border-top:0}.resource-port-holder{min-height:38px;font-size:var(--font-label)}.resource-port-endpoint{flex:0 0 195px;min-width:0;overflow-wrap:anywhere;font:var(--font-code)/1.45 Consolas,monospace}.resource-port-program{flex:0 0 150px;min-width:0;overflow-wrap:anywhere}.resource-port-details{flex:1;min-width:0;overflow-wrap:anywhere;white-space:pre-wrap;font-size:var(--font-small);color:var(--muted);line-height:1.5}.resource-port-action,.resource-port-kill{flex:0 0 90px}.resource-port-kill{min-height:26px!important;padding:3px 7px!important;font-size:var(--font-small)!important}.resource-port-unavailable{flex:1;color:var(--muted);font-size:var(--font-small)}.resource-port-holder-limit{padding:0 10px 6px}.resource-port-confirm-target{padding:10px;border:1px solid var(--line);border-radius:5px;white-space:pre-wrap;overflow-wrap:anywhere;font:var(--font-code)/1.7 Consolas,monospace}
@container monitor-processes (max-width: 660px){.resource-port-header{display:none!important}.resource-port-holder{flex-wrap:wrap;gap:5px 10px}.resource-port-endpoint{flex:1 1 190px}.resource-port-program{flex:1 1 140px}.resource-port-details{flex:1 1 calc(100% - 110px);order:2}.resource-port-kill{order:3}}
.resource-ports-filter-field{flex:1 1 180px;min-width:0;max-width:360px}.resource-ports-password-field{flex:1 1 180px;min-width:0;max-width:280px}.resource-ports-search,.resource-ports-password{width:100%;min-width:0}.resource-ports-admin{margin-bottom:5px}
/* Keep Sapid's native checks compact beside their labels. */
.resource-ports-admin,.resource-port-confirm-admin{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;min-height:28px!important;color:var(--text)!important;font-size:var(--font-label)!important;line-height:1.5!important}
.resource-ports-admin input[type=checkbox],.resource-port-confirm-admin input[type=checkbox]{flex:0 0 18px!important;width:18px!important;min-width:18px!important;max-width:18px!important;height:18px!important;min-height:18px!important;max-height:18px!important;padding:0!important;margin:0!important;accent-color:var(--accent)}
.resource-ports-admin>span,.resource-port-confirm-admin>span{color:inherit!important;min-width:0;overflow-wrap:anywhere}.resource-ports-admin:has(input:disabled),.resource-port-confirm-admin:has(input:disabled){opacity:.55}
/* Server workspaces: browser tabs, a quiet Home, and a desktop application shell. */
.workbench-tabs{display:flex;align-items:flex-end;gap:5px;flex:none;min-height:46px;padding:7px 20px 0;background:var(--nav-bg);border-bottom:1px solid var(--line);overflow-x:auto;overflow-y:hidden}
.workbench-tab{display:flex;align-items:center;flex:none;min-width:132px;max-width:240px;height:38px;border:1px solid transparent;border-bottom:0;border-radius:9px 9px 0 0;position:relative;color:var(--muted)}
.workbench-tab:hover{background:var(--raised)}.workbench-tab.active{background:var(--surface);border-color:var(--line);color:var(--text)}.workbench-tab.active::after{position:absolute;content:'';bottom:-1px;height:2px;left:0;right:0;background:var(--surface)}
.workbench-tab-select{display:flex!important;gap:9px;align-items:center;flex:1;min-width:0;min-height:37px!important;padding:8px 15px!important;font-size:13px!important;white-space:nowrap;color:inherit!important;text-align:left}.workbench-tab-select>.action-glyph{width:15px;height:15px;color:var(--muted)}.workbench-tab.active .workbench-tab-select>.action-glyph{color:var(--accent)}
.workbench-tab-close{width:24px!important;height:24px!important;min-width:24px!important;margin-right:7px;padding:5px!important}.workbench-tab-close:hover{background:var(--raised)!important}
.workspace-content:has(>.server-desktop:not(.hidden)){padding:0;gap:0}.workspace-content:has(>.files-module){padding:18px 20px;gap:14px}.workspace-content>.files-module{display:flex;flex:1;flex-direction:column;min-height:0;min-width:0}
.workspace-content:has(>.server-desktop:not(.hidden))>.notice{margin:12px 18px}.server-landing{justify-content:flex-start;align-items:center}.server-overview{width:100%;max-width:860px;margin-block:auto;flex-shrink:0;padding:36px!important;gap:22px!important}.server-overview .home-title{font-size:30px}.server-overview .home-description{font-size:14px}.server-overview .server-facts{margin:4px 0!important;padding:22px 0!important}.server-overview .home-actions{margin:0}.server-overview .overview-footnote{margin-top:0;font-size:12px}
.workspace-entries{display:grid!important;grid-template-columns:1fr 1fr;gap:14px;flex:none}.workspace-entry{display:grid!important;grid-template-columns:40px minmax(0,1fr) 16px;grid-template-rows:auto auto;align-items:center;column-gap:16px;row-gap:7px;min-height:108px!important;padding:20px!important;background:var(--surface)!important;border:1px solid var(--line)!important;border-radius:10px!important;text-align:left;transition:background 150ms,border-color 150ms,box-shadow 150ms;min-width:0}.workspace-entry:hover{background:var(--raised)!important;border-color:var(--accent)!important;box-shadow:0 4px 16px #1226430a!important}.entry-desktop{background:var(--accent-bg)!important;border-color:color-mix(in srgb,var(--accent) 30%,var(--line))!important}.entry-title{font-size:16px;font-weight:600;color:var(--text)}.entry-description{font-size:12px;line-height:1.7;color:var(--muted);white-space:normal}.workspace-entry>.action-glyph{width:16px;height:16px;flex:none;color:var(--accent)}.workspace-entry>.action-glyph:first-child{display:block;width:28px;height:28px;grid-column:1;grid-row:1 / 3;justify-self:center;align-self:center}.workspace-entry>.entry-title{grid-column:2;grid-row:1;align-self:end}.workspace-entry>.entry-description{grid-column:2;grid-row:2;align-self:start}.workspace-entry>.action-glyph:last-child{grid-column:3;grid-row:1 / 3}
.workspace-reconnect{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;gap:18px;text-align:center;padding:24px}.workspace-reconnect>.action-glyph{width:38px;height:38px;color:var(--accent)}
/* Server desktop */
.server-desktop {
--desktop-ink: #eef6ff;
--desktop-labeled-hover: #ffffff12;
--desktop-labeled-line: #ffffff22;
--desktop-dock-fill: #101c3166;
--desktop-dock-line: #aec5f034;
--desktop-tooltip: #22334c;
--desktop-tooltip-ink: #f1f7ff;
--desktop-indicator: #9bb8d4;
--desktop-active: #a2e7e3;
display: flex;
flex-direction: column;
flex: 1;
min-width: 0;
min-height: 0;
overflow: hidden;
background: #101b30;
}
.desktop-light {
--desktop-ink: #23425e;
--desktop-labeled-hover: #3f619516;
--desktop-labeled-line: #3d5b8c27;
--desktop-dock-fill: #f7fbff66;
--desktop-dock-line: #81a1bf53;
--desktop-tooltip: #20364d;
--desktop-tooltip-ink: #f4f9ff;
--desktop-indicator: #5f7b9b;
--desktop-active: #237b9c;
}
.desktop-menubar {
display: flex;
align-items: center;
gap: 14px;
height: 34px;
min-height: 34px;
flex: none;
padding: 0 16px;
background: #101b30;
color: #d3deef;
border-bottom: 1px solid #ffffff14;
}
.desktop-menubar-title { font-weight: 500; font-size: 12px; }
.desktop-secure { display: flex; align-items: center; gap: 7px; white-space: nowrap; color: #a9e0ce; font-size: 12px; }
.desktop-secure::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #77d6b4; }
.desktop-canvas {
container: desktop-dock-space / inline-size;
display: flex;
flex-direction: column;
position: relative;
flex: 1;
min-height: 0;
overflow: clip;
background: radial-gradient(ellipse at 94% 8%, #413e8d66, transparent 52%),
radial-gradient(ellipse at 85% 100%, #156573a8, transparent 60%),
linear-gradient(133deg, #1c3151, #111e36 52%, #142d46);
}
.desktop-modal-backdrop {
--desktop-modal-padding: clamp(8px, 1.5vw, 18px);
inset: var(--desktop-frame-inset, 100% 0 0);
padding: var(--desktop-modal-padding);
padding-left: calc(var(--desktop-modal-padding) + var(--desktop-dock-left, 0px));
padding-right: calc(var(--desktop-modal-padding) + var(--desktop-dock-right, 0px));
padding-bottom: calc(var(--desktop-modal-padding) + var(--desktop-dock-bottom, 0px));
overflow: hidden;
}
.desktop-modal-backdrop .modal-card {
max-height: 100%;
min-width: 0;
min-height: 0;
overflow: hidden;
background: var(--surface);
border-color: var(--line);
}
.desktop-modal-backdrop .modal-header { padding-block: 12px; }
.desktop-modal-backdrop .modal-footer { flex-wrap: wrap; padding-block: 10px; }
.desktop-modal-backdrop .modal-body { overscroll-behavior: contain; }
.desktop-canvas :is(.file-context-menu, .file-actions-menu, .terminal-context-menu) {
min-width: min(var(--desktop-menu-min, 205px), calc(var(--desktop-frame-width) - 16px));
max-width: calc(var(--desktop-frame-width) - 16px);
max-height: calc(var(--desktop-frame-height) - 16px);
}
.desktop-canvas .terminal-context-menu { --desktop-menu-min: 248px; }
:is(.file-context-menu, .file-actions-menu) > .file-menu-group { flex: none; }
:is(.file-context-menu, .file-actions-menu) > .file-menu-group + .file-menu-group {
border-block-start: 1px solid var(--line);
margin-block-start: 2px;
padding-block-start: 4px;
}
.file-open-branch { min-width: 0; }
.pane-menu :is(.file-open-trigger, .file-open-app) { display: flex; align-items: center; gap: 8px; }
.file-open-trigger .action-glyph { margin-inline-start: auto; }
.file-open-trigger[aria-expanded=true] { background: var(--raised) !important; }
.file-open-submenu {
position: fixed !important; inset: auto; z-index: 81;
min-width: min(182px, var(--file-submenu-max-width, 100vw));
max-width: var(--file-submenu-max-width, 100vw);
max-height: var(--file-submenu-max-height, 100vh);
overflow: auto;
}
.file-open-branch:not([data-submenu-open]) > .file-open-submenu { display: none !important; }
.file-open-submenu:not(:has(.file-open-app)) > .menu-divider { display: none; }
.file-open-submenu .menu-item { white-space: normal; }
:is(.desktop-canvas, .desktop-modal-backdrop) .help-copy {
max-width: calc(var(--desktop-frame-width) - 24px);
max-height: min(440px, calc(var(--desktop-frame-height) - 24px));
}
.desktop-wallpaper-art { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.desktop-wallpaper-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.wallpaper-terracotta {
background:
linear-gradient(145deg, transparent 63%, #67323a 63.1% 64%, #ac573f 64.1% 78%, #e09464 78.1%),
linear-gradient(26deg, #3c2536 21%, #743c47 21.1% 41%, transparent 41.1%),
linear-gradient(120deg, #512e40, #83434a 54%, #be6c50);
}
.wallpaper-aurora {
background: radial-gradient(ellipse at 21% 93%, #35bb9b8c, transparent 45%),
radial-gradient(ellipse at 60% 0%, #8b69cb75, transparent 60%),
linear-gradient(152deg, #101e46 17%, #192547 49%, #0c3b41 85%);
}
.wallpaper-fjord { background: #102736 center 60% / cover no-repeat; }
.desktop-wallpaper-art.wallpaper-aurora::after { opacity: .45; }
.desktop-wallpaper-art:is(.wallpaper-terracotta,.wallpaper-fjord)::before,
.desktop-wallpaper-art:is(.wallpaper-terracotta,.wallpaper-fjord)::after { display: none; }
.desktop-wallpaper-art::before {
content: '';
position: absolute;
width: 82%;
height: 142%;
right: -23%;
bottom: -66%;
transform: rotate(-29deg);
border-radius: 50%;
border: 1px solid #bfdcfa36;
box-shadow: 0 0 0 36px #b0cbef0d, 0 0 0 72px #b0cbef09, 0 0 0 108px #b0cbef06;
}
.desktop-wallpaper-art::after {
content: '';
position: absolute;
inset: 0;
background-image: radial-gradient(circle, #c0d8f421 1px, transparent 1px);
background-size: 24px 24px;
mask-image: radial-gradient(ellipse at 92% 0%, black, transparent 64%);
}
.desktop-wallpaper-copy {
position: absolute;
right: calc(clamp(20px, 5vw, 84px) + var(--desktop-dock-right, 0px));
top: 36%;
width: min(48%, 500px);
text-align: right;
pointer-events: none;
}
.desktop-wallpaper-name {
font-size: clamp(26px, 3.1vw, 47px);
line-height: 1.2;
font-weight: 500;
letter-spacing: -.028em;
color: var(--desktop-ink);
overflow-wrap: anywhere;
}
.desktop-wallpaper-address { color: var(--desktop-ink); opacity: .86; margin-top: 6px; font-size: 13px; overflow-wrap: anywhere; }
.desktop-canvas:has(.desktop-wallpaper-image, .wallpaper-terracotta, .wallpaper-aurora, .wallpaper-fjord) :is(.desktop-wallpaper-name, .desktop-wallpaper-address, .desktop-shortcut .desktop-app-label) {
color: #fff; text-shadow: 0 1px 3px #000, 0 1px 12px #000c;
}
.desktop-shortcuts {
--shortcut-icon-size: var(--desktop-icon-preview, var(--desktop-icon-ideal, 55px));
--shortcut-label-height: 44px;
--shortcut-button-padding: 3px;
--shortcut-cell-width: max(60px, calc(var(--shortcut-icon-size) + 24px));
--shortcut-cell-height: calc(var(--shortcut-icon-size) + var(--shortcut-label-height));
--shortcut-gap: clamp(4px, calc(var(--shortcut-icon-size) * .125), 8px);
display: grid !important;
grid-auto-flow: column;
grid-auto-columns: var(--shortcut-cell-width);
grid-template-rows: repeat(auto-fill, var(--shortcut-cell-height));
align-content: start;
gap: var(--shortcut-gap);
position: absolute;
left: var(--desktop-dock-left, 0px);
right: var(--desktop-dock-right, 0px);
top: 0;
bottom: var(--desktop-dock-bottom, 88px);
overflow-x: auto;
overflow-y: hidden;
scrollbar-width: none;
padding-block: calc((var(--shortcut-label-height) + var(--shortcut-gap)) / 2 - var(--shortcut-button-padding) - 1px);
padding-inline: calc(var(--shortcut-gap) / 2);
}
.desktop-icon-slot { position: relative; min-width: 0; min-height: 0; }
.desktop-shortcuts .desktop-icon-slot > .desktop-shortcut {
align-self: center;
flex: none;
width: calc(100% - 4px);
}
.desktop-icon-slot[data-desktop-dragging] { opacity: .55; }
.desktop-icon-slot[data-desktop-drop]::after { content: ''; position: absolute; inset: 6px auto 6px -3px; width: 2px; background: var(--desktop-active); border-radius: 3px; pointer-events: none; }
.desktop-icon-slot[data-desktop-drop=after]::after { left: auto; right: -3px; }
.desktop-shortcuts .desktop-icon-slot[data-desktop-drop]::after { inset: -3px 10px auto; height: 2px; width: auto; }
.desktop-shortcuts .desktop-icon-slot[data-desktop-drop=after]::after { top: auto; bottom: -3px; }
.desktop-shortcuts.icons-by-row {
grid-auto-flow: row; grid-template-columns: repeat(auto-fill, var(--shortcut-cell-width));
grid-auto-rows: var(--shortcut-cell-height); grid-template-rows: none; overflow-x: hidden; overflow-y: auto;
}
.desktop-shortcuts.icons-from-right { direction: rtl; }
.desktop-shortcuts.icons-from-right .desktop-shortcut { direction: ltr; }
.desktop-shortcuts.icons-by-row .desktop-icon-slot[data-desktop-drop]::after {
inset: 6px auto 6px -3px; width: 2px; height: auto;
}
.desktop-shortcuts.icons-by-row .desktop-icon-slot[data-desktop-drop=after]::after,
.desktop-shortcuts.icons-by-row.icons-from-right .desktop-icon-slot[data-desktop-drop=before]::after {
left: auto; right: -3px;
}
.desktop-shortcuts.icons-by-row.icons-from-right .desktop-icon-slot[data-desktop-drop=after]::after {
left: -3px; right: auto;
}
.desktop-shortcuts.icons-small { --desktop-icon-ideal: 40px; }
.desktop-shortcuts.icons-large { --desktop-icon-ideal: 64px; }
.desktop-canvas[data-files-item-target]::after {
content: ''; position: absolute; inset: 4px; border: 2px solid var(--accent);
border-radius: 8px; pointer-events: none; z-index: 41;
}
.desktop-alias-mark::after {
content: '↗'; position: absolute; bottom: 0; right: 0; border-radius: 4px;
padding: 1px 3px; background: var(--surface); color: var(--text);
font: 600 12px/1.1 system-ui, sans-serif;
}
.desktop-shortcut {
display: flex !important;
flex-direction: column;
align-items: center !important;
justify-content: flex-start !important;
gap: 3px !important;
min-width: 0 !important;
padding: var(--shortcut-button-padding, 3px) 4px !important;
border: 1px solid transparent !important;
border-radius: 12px !important;
color: var(--desktop-ink) !important;
}
.desktop-shortcut:hover, .desktop-shortcut:focus-visible {
background: var(--desktop-labeled-hover) !important;
border-color: var(--desktop-labeled-line) !important;
}
.desktop-app-icon {
display: grid !important;
place-items: center;
flex: none;
width: 55px;
height: 55px;
border-radius: 16px;
border: 1px solid #ffffff36;
background: linear-gradient(145deg, var(--tile-tint), var(--tile-shade));
color: #fff;
box-shadow: inset 0 1px #ffffff2b, 0 5px 12px #0a132e40;
}
[data-desktop-icon-style=filled] .desktop-app-icon { background: var(--tile-shade, #35465d); }
.desktop-app-icon::before {
content: '';
width: 30px;
height: 30px;
background: currentColor;
mask-size: contain;
mask-position: center;
mask-repeat: no-repeat;
}
.desktop-shortcut .desktop-app-icon {
width: var(--shortcut-icon-size); height: var(--shortcut-icon-size); border-radius: 29%;
}
.desktop-shortcut .desktop-app-icon::before { width: 56%; height: 56%; }
.desktop-shortcut .desktop-app-label {
display: -webkit-box;
flex: none;
line-height: 16px;
max-width: 100%;
max-block-size: 2lh;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
overflow-wrap: anywhere;
}
.app-terminal { --tile-tint: #384a63; --tile-shade: #18263c; }
.app-terminal .desktop-app-icon { color: #bdf6de; }
.app-monitor { --tile-tint: #228e89; --tile-shade: #126164; }
.app-center { --tile-tint: #8c72e4; --tile-shade: #5d43af; }
.app-settings { --tile-tint: #657b91; --tile-shade: #35465d; }
.app-home { --tile-tint: #49896b; --tile-shade: #245743; }
.app-files { --tile-tint: #c9a058; --tile-shade: #96713b; }
.app-trash { --tile-tint: #687b91; --tile-shade: #3d5169; }
.app-docker { --tile-tint: #2999e2; --tile-shade: #1764b3; }
.app-document { --tile-tint: #537b9d; --tile-shade: #304d73; }
.code-workbench, .code-workbench .browser-surface { flex: 1; min-width: 0; min-height: 0; }
.desktop-window-content:has(> .code-workbench) { padding: 0; }
.app-code { --tile-tint: #2788a7; --tile-shade: #1d5368; }
.desktop-app-label { font-size: 13px; line-height: 1.35; font-weight: 500; white-space: normal; text-align: center; }
.desktop-dock-zone { position: absolute; bottom: 0; align-self: center; max-width: calc(100% - 16px); z-index: 4; padding-bottom: 16px; }
.desktop-dock-zone.dock-side-zone {
top: 50%; bottom: auto; transform: translateY(-50%); max-height: calc(100% - 16px);
max-width: none; padding-bottom: 0;
}
.dock-left { left: 0; padding-left: 16px; }
.dock-right { right: 0; padding-right: 16px; }
.desktop-dock {
--dock-frame: var(--desktop-frame-width, 100vw);
--dock-gap-ratio: .10;
--dock-padding-ratio: .08;
--dock-item-padding-ratio: .12;
--dock-end-gutter: 5px;
--dock-gap: calc(var(--dock-icon) * var(--dock-gap-ratio));
--dock-padding: calc(var(--dock-icon) * var(--dock-padding-ratio) + var(--dock-end-gutter));
--dock-cross-padding: calc(var(--dock-icon) * var(--dock-padding-ratio) + 4px);
--dock-item-padding: calc(var(--dock-icon) * var(--dock-item-padding-ratio));
--dock-frame-inset: 16px;
--dock-preferred-icon: var(--dock-preview, var(--dock-ideal, 48px));
--dock-hide-x: 0;
--dock-hide-y: calc(100% + 4px);
/* Fit Show desktop and every visible launcher beside the divider and status area. */
--dock-fixed-space: calc(var(--dock-frame-inset) + 4px + 2 * var(--dock-end-gutter) + var(--dock-status-space, 0px));
--dock-icon-slots: calc(var(--dock-tiles, 1) * (1 + 2 * var(--dock-item-padding-ratio)) + (var(--dock-tiles, 1) + 1) * var(--dock-gap-ratio) + 2 * var(--dock-padding-ratio));
--dock-icon: clamp(12px, calc((var(--dock-frame) - var(--dock-fixed-space)) / var(--dock-icon-slots)), var(--dock-preferred-icon));
--dock-tile-size: calc(var(--dock-icon) + 2 * var(--dock-item-padding));
--dock-home-glyph: min(26px, calc(var(--dock-icon) * .78));
--dock-home-length: calc(var(--dock-home-glyph) + 2 * var(--dock-item-padding));
--dock-divider-span: calc(var(--dock-icon) * .8);
display: flex;
align-items: center;
align-self: center;
gap: var(--dock-gap);
max-width: 100%;
padding: var(--dock-cross-padding) var(--dock-padding);
border: 1px solid var(--desktop-dock-line);
border-radius: min(20px, calc(var(--dock-icon) * .34 + 2px));
background: var(--desktop-dock-fill);
backdrop-filter: blur(4px);
box-shadow: 0 10px 28px #08193044, inset 0 1px #ffffff12;
}
.desktop-dock.dock-small { --dock-ideal: 32px; }
.desktop-dock.dock-large { --dock-ideal: 56px; }
.desktop-dock.dock-show-status {
--dock-status-space: calc(94px + var(--dock-preferred-icon) * var(--dock-item-padding-ratio));
}
.dock-side-zone > .desktop-dock {
--dock-frame: var(--desktop-frame-height, 100vh);
--dock-hide-y: 0;
flex-direction: column !important;
padding: var(--dock-padding) var(--dock-cross-padding);
}
.dock-left > .desktop-dock { --dock-hide-x: calc(-100% - 4px); }
.dock-right > .desktop-dock { --dock-hide-x: calc(100% + 4px); }
.dock-side-zone > .dock-show-status { --dock-status-space: 36px; }
.desktop-dock-zone.dock-panel-zone { inset-inline: 0; max-width: none; padding-bottom: 0; }
.dock-panel-zone > .desktop-dock {
--dock-end-gutter: 0px;
--dock-frame-inset: 0px;
--dock-cross-padding: calc(var(--dock-icon) * .045);
--dock-status-space: 100px;
width: 100%; border-radius: 0; border-width: 1px 0 0;
background: color-mix(in srgb, var(--desktop-dock-fill) 77%, var(--surface));
box-shadow: 0 -6px 22px #08193026;
}
.dock-side-zone.dock-panel-zone {
top: 0; bottom: 0; align-self: stretch; max-height: none; transform: none; padding-inline: 0;
}
.dock-left.dock-panel-zone { right: auto; }
.dock-right.dock-panel-zone { left: auto; }
.dock-side-zone.dock-panel-zone > .desktop-dock {
--dock-status-space: 56px;
height: 100%; width: auto; border-width: 0;
}
.dock-left.dock-panel-zone > .desktop-dock { border-right-width: 1px; }
.dock-right.dock-panel-zone > .desktop-dock { border-left-width: 1px; }
.dock-panel-zone > .dock-centered {
display: grid !important;
grid-template-columns: minmax(max-content, 1fr) max-content minmax(max-content, 1fr);
}
.dock-side-zone.dock-panel-zone > .dock-centered {
grid-template-columns: auto;
grid-template-rows: minmax(max-content, 1fr) max-content minmax(max-content, 1fr);
justify-items: center;
}
.dock-centered .desktop-dock-leading { justify-self: start; }
.dock-centered .desktop-panel-clock { justify-self: end; margin-inline-start: 0; }
.dock-side-zone .dock-centered .desktop-dock-leading { justify-self: center; align-self: start; }
.dock-side-zone .dock-centered .desktop-panel-clock { justify-self: center; align-self: end; margin-block-start: 0; }
.dock-panel-zone .desktop-dock-app, .dock-panel-zone .desktop-dock-home { border-radius: 8px !important; }
.dock-panel-zone .desktop-dock:not(.dock-centered) .desktop-app-icon { border-radius: calc(var(--dock-icon) / 6); }
.desktop-panel-clock {
display: grid; flex: none; gap: 1px; margin-inline-start: auto; padding: 0 5px;
text-align: end; white-space: nowrap; color: var(--desktop-ink);
font-size: 12px; line-height: 1.2; font-variant-numeric: tabular-nums;
}
.desktop-panel-time { font-weight: 600; }
.desktop-panel-weekday, .desktop-panel-date { opacity: .76; }
.desktop-panel-weekday:empty, .desktop-panel-date:empty { display: none; }
.desktop-dock > .desktop-panel-clock { padding-inline: 0 var(--dock-item-padding); }
.desktop-dock-status {
display: flex; flex: none; align-items: center; gap: var(--dock-gap);
padding-inline-end: var(--dock-item-padding);
}
.desktop-dock-status .desktop-panel-clock {
margin: 0; padding: 0; font-size: clamp(10px, calc(var(--dock-icon) * .43), 12px);
}
.dock-side-zone .desktop-dock-status {
flex-direction: column !important; padding: 0 0 var(--dock-item-padding);
}
.dock-side-zone > .dock-show-status:has(.desktop-panel-weekday:not(:empty)) {
--dock-status-space: 46px;
}
.dock-side-zone .desktop-panel-clock {
position: relative; margin-inline-start: 0; padding: 0; text-align: center; font-size: 11px;
}
.dock-side-zone .desktop-dock > .desktop-panel-clock {
margin-block-start: auto; padding: 0 0 var(--dock-item-padding);
}
.desktop-clock-tooltip { display: none; }
.dock-side-zone .desktop-panel-clock:hover .desktop-clock-tooltip {
display: block; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px; white-space: nowrap;
background: var(--desktop-tooltip); color: var(--desktop-tooltip-ink); font-size: 12px;
}
.dock-left .desktop-clock-tooltip { left: calc(100% + 12px); }
.dock-right .desktop-clock-tooltip { right: calc(100% + 12px); }
@container desktop-dock-space (max-width: 435px) {
.desktop-dock-zone:not(.dock-side-zone) .dock-show-status { --dock-status-space: 84px; }
}
.desktop-dock.dock-auto-hide { transition: transform 200ms ease; }
.dock-panel-zone:not(.dock-side-zone):has(> .dock-auto-hide) { padding-bottom: 4px; }
.dock-left.dock-panel-zone:has(> .dock-auto-hide) { padding-left: 4px; }
.dock-right.dock-panel-zone:has(> .dock-auto-hide) { padding-right: 4px; }
.desktop-canvas:not(:has(.desktop-context-menu[data-dock-menu-side])) .desktop-dock-zone:not(:hover) > .dock-auto-hide:not(:has(:focus-visible)) {
transform: translate(var(--dock-hide-x), var(--dock-hide-y));
}
.desktop-dock-leading, .desktop-dock-apps { display: flex; align-items: center; gap: var(--dock-gap); min-width: 0; }
.dock-side-zone :is(.desktop-dock-leading, .desktop-dock-apps) { flex-direction: column !important; }
.dock-side-zone .desktop-dock-divider { width: var(--dock-divider-span); height: 1px; }
.dock-side-zone .desktop-icon-slot[data-desktop-drop]::after { inset: -3px 6px auto; height: 2px; width: auto; }
.dock-side-zone .desktop-icon-slot[data-desktop-drop=after]::after { top: auto; bottom: -3px; }
.desktop-dock-leading { flex: none; }
.desktop-dock-apps .desktop-icon-slot { flex: none; }
.desktop-dock-app, .desktop-dock-home {
display: flex !important;
align-items: center;
justify-content: center;
width: var(--dock-tile-size) !important;
height: var(--dock-tile-size) !important;
min-width: 0 !important;
padding: var(--dock-item-padding) !important;
flex: none;
position: relative;
border-radius: 12px !important;
color: var(--desktop-ink) !important;
}
.desktop-dock :is(.desktop-dock-app, .desktop-dock-home) {
background: transparent !important;
box-shadow: none !important;
}
.desktop-dock-app .desktop-app-icon { width: var(--dock-icon); height: var(--dock-icon); border-radius: 24%; }
.desktop-dock-app .desktop-app-icon::before { width: 62%; height: 62%; }
.desktop-dock-app .desktop-app-label {
display: none;
position: absolute;
bottom: calc(100% + 7px);
left: 50%;
transform: translateX(-50%);
border: 1px solid #a5bfda40;
background: var(--desktop-tooltip);
color: var(--desktop-tooltip-ink);
padding: 5px 9px;
border-radius: 7px;
white-space: nowrap;
font-size: 12px;
box-shadow: 0 3px 10px #0003;
pointer-events: none;
}
.desktop-dock-app:hover, .desktop-dock-app:focus-visible { z-index: 1; }
.desktop-dock-app:hover .desktop-app-label, .desktop-dock-app:focus-visible .desktop-app-label { display: block; }
.dock-side-zone .desktop-dock-app .desktop-app-label { top: 50%; bottom: auto; transform: translateY(-50%); }
.dock-left .desktop-dock-app .desktop-app-label { left: calc(100% + 7px); }
.dock-right .desktop-dock-app .desktop-app-label { left: auto; right: calc(100% + 7px); }
.desktop-dock-app.running::after {
--indicator-size: clamp(2px, calc(var(--dock-icon) * .052), 3px);
--indicator-length: var(--indicator-size);
--indicator-offset: calc((var(--dock-item-padding) - var(--dock-cross-padding) - 1px) / 2);
content: '';
position: absolute;
bottom: var(--indicator-offset);
transform: translateY(50%);
width: var(--indicator-length);
height: var(--indicator-size);
border-radius: 4px;
background: var(--desktop-indicator);
}
.desktop-dock-app.active::after { --indicator-length: calc(var(--dock-icon) * .27); background: var(--desktop-active); }
.dock-side-zone .desktop-dock-app.running::after {
top: 50%; bottom: auto; width: var(--indicator-size); height: var(--indicator-length);
}
.dock-left .desktop-dock-app.running::after { left: var(--indicator-offset); transform: translate(-50%, -50%); }
.dock-right .desktop-dock-app.running::after { right: var(--indicator-offset); transform: translate(50%, -50%); }
.desktop-dock-divider { width: 1px; height: var(--dock-divider-span); flex: none; background: var(--desktop-dock-line); }
.desktop-dock:not(:has(.desktop-dock-apps .desktop-icon-slot)) .desktop-dock-divider,
.desktop-dock:not(.dock-centered, :has(.desktop-dock-apps .desktop-icon-slot)) .desktop-dock-apps { display: none !important; }
.desktop-dock-home { width: var(--dock-home-length) !important; }
.dock-side-zone .desktop-dock-home { width: var(--dock-tile-size) !important; height: var(--dock-home-length) !important; }
.desktop-dock-home .action-glyph { width: var(--dock-home-glyph); height: var(--dock-home-glyph); }
.desktop-window-layer {
position: absolute;
inset: 0 var(--desktop-work-right, 0px) var(--desktop-work-bottom, 0px) var(--desktop-work-left, 0px);
z-index: 2; pointer-events: none; overflow: clip;
}
.desktop-window-layer .menu-dismiss { inset: var(--desktop-frame-inset, 0px); }
.desktop-window {
position: absolute;
inset: 19px 22px 96px;
display: flex;
flex-direction: column;
min-height: 0;
min-width: 0;
overflow: hidden;
pointer-events: auto;
border: 1px solid color-mix(in srgb, var(--line) 52%, #828fa8);
border-radius: 14px;
background: var(--bg);
color: var(--text);
box-shadow: 0 24px 68px #08152b66, 0 3px 10px #08152b20;
}
.desktop-window:not(.active) { box-shadow: 0 8px 30px #08152b42, 0 2px 7px #08152b20; }
.desktop-window:not(.active) .desktop-window-title { color: var(--muted); }
.desktop-window.maximized { inset: 0 0 88px; border-radius: 0; }
.desktop-window.app-code { container: code-window / inline-size; }
.app-code > .desktop-window-titlebar { position: relative; }
.code-title-tools { flex: 1; min-width: 0; display: flex; align-items: center; gap: 3px; }
.code-title-tools .icon-button { flex: none; width: 26px !important; min-width: 26px !important; height: 26px !important; padding: 5px !important; }
.code-panel .action-glyph { transform: rotate(-90deg); }
.code-secondary .action-glyph, .code-back .action-glyph { transform: rotate(180deg); }
.code-title-tools .code-quick-open {
position: absolute; left: 50%; transform: translateX(-50%);
width: min(480px, 48%, calc(100% - 456px)); min-width: 0 !important;
height: 26px !important; min-height: 26px !important; box-sizing: border-box;
display: flex; align-items: center; justify-content: center; gap: 8px;
background: var(--bg) !important; border: 1px solid var(--line) !important;
padding: 0 9px !important; border-radius: 6px;
}
@container code-window (max-width: 600px) {
.app-code .desktop-window-titlebar { gap: 3px; padding-inline: 5px; }
.code-title-tools .icon-button, .app-code .desktop-window-actions > .icon-button { width: 21px !important; min-width: 21px !important; }
.code-title-tools .code-quick-open { width: min(46%, calc(100% - 364px)); }
}
@container code-window (max-width: 480px) {
.app-code .desktop-window-title { display: none; }
.code-title-tools .code-layout { margin-left: 0; }
.code-title-tools .code-panel { margin-left: auto; }
.code-title-tools .code-quick-open { width: min(46%, calc(100% - 260px)); }
}
.code-title-tools .code-quick-open:hover { border-color: var(--muted) !important; }
.code-quick-open .action-glyph { width: 14px; height: 14px; flex: none; }
.code-quick-open span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.code-layout { margin-left: auto; }
/* Give the native menubar the space before Quick Open and let it collapse
surplus menus into its keyboard-accessible More menu. */
.app-code:has(.code-menu-slot) > .desktop-window-titlebar > .desktop-window-title { display: none; }
.code-menu-slot { height: 26px; flex: none; width: max(32px, calc(50cqw - min(240px, 24cqw, (100cqw - 456px) / 2) - 110px)); }
@container code-window (min-width: 820px) {
.code-title-tools:has(.code-menu-slot) .code-back { margin-left: auto; }
.code-title-tools:has(.code-menu-slot) .code-layout { margin-left: 0; }
.code-title-tools:has(.code-menu-slot) .code-quick-open { width: min(420px, 38%, calc(100% - 584px)); }
.code-menu-slot { width: calc(50cqw - min(210px, 19cqw, (100cqw - 584px) / 2) - 50px); }
}
@container code-window (max-width: 600px) {
.code-menu-slot { width: max(32px,calc(50cqw - min(23cqw, (100cqw - 364px) / 2) - 90px)); }
}
@container code-window (max-width: 480px) {
.code-menu-slot { width: 30px; }
.code-title-tools:has(.code-menu-slot) .code-quick-open { width: min(42%, calc(100% - 314px)); }
}
.code-workbench-error:empty { display: none; }
.desktop-menu-backdrop { position: absolute; inset: 0; z-index: 72; cursor: default; }
.desktop-context-menu { position: absolute !important; z-index: 73 !important; inset: auto; min-width: 190px; max-height: calc(100% - 8px); overflow-y: auto; }
.desktop-context-items { gap: 2px; }
.desktop-context-menu[data-dock-menu-side] {
--dock-menu-fill: color-mix(in srgb, var(--surface) 84%, var(--raised));
background: var(--dock-menu-fill) !important; border-color: var(--line-hover);
min-width: min(190px, var(--dock-menu-max-width)); max-width: var(--dock-menu-max-width);
max-height: none; overflow: visible; border-radius: 9px;
}
.desktop-context-menu[data-dock-menu-side] .desktop-context-items {
max-height: calc(var(--dock-menu-max-height) - 14px); overflow: auto;
}
.desktop-context-menu[data-dock-menu-side]::after {
content: ""; position: absolute; width: 10px; height: 10px;
background: var(--dock-menu-fill); border: solid var(--line-hover); border-width: 0 1px 1px 0;
pointer-events: none;
}
.desktop-context-menu[data-dock-menu-side=above]::after {
left: var(--dock-menu-arrow); bottom: -6px; transform: translateX(-50%) rotate(45deg);
}
.desktop-context-menu[data-dock-menu-side=below]::after {
left: var(--dock-menu-arrow); top: -6px; transform: translateX(-50%) rotate(225deg);
}
.desktop-context-menu[data-dock-menu-side=left]::after {
top: var(--dock-menu-arrow); right: -6px; transform: translateY(-50%) rotate(-45deg);
}
.desktop-context-menu[data-dock-menu-side=right]::after {
top: var(--dock-menu-arrow); left: -6px; transform: translateY(-50%) rotate(135deg);
}
.desktop-window-content:has(> .desktop-settings-page) { container: desktop-settings / inline-size; padding: 0; }
.desktop-settings-page { display: flex; flex: 1; min-width: 0; min-height: 0; overflow: hidden; }
.desktop-preferences {
container: desktop-preferences / inline-size;
display: flex; flex: 1; flex-direction: column; gap: 12px; min-width: 0; min-height: 0;
overflow: auto; padding: clamp(12px, 2.4cqw, 26px); scrollbar-gutter: stable;
}
.desktop-settings-pane, .desktop-settings-status, .desktop-preferences > .error {
width: 100%; max-width: 880px; min-width: 0; align-self: center;
}
.desktop-settings-pane { display: flex; flex-direction: column; gap: 12px; flex: none; }
.desktop-settings-page :is(.desktop-settings-card, .about-details) {
display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 14px;
background: var(--surface); border: 1px solid var(--line); border-radius: 9px;
overflow-wrap: anywhere;
}
.desktop-settings-pane .section-title { font-size: 15px; font-weight: 600; }
.about-links { display: flex; flex-wrap: wrap; gap: 8px; }
.about-links > button { max-width: 100%; white-space: normal; }
.desktop-setting-row {
display: grid !important; grid-template-columns: minmax(110px, 1fr) minmax(0, 2fr);
align-items: center; gap: 8px 16px; min-height: 42px; min-width: 0;
}
.desktop-settings-rows .desktop-setting-row {
padding-block: 8px; border-top: 1px solid var(--line);
}
.desktop-settings-page .desktop-settings-rows { gap: 4px; }
.desktop-setting-label { font-size: var(--font-label); }
.desktop-settings-pane .desktop-setting-controls {
justify-content: flex-end; align-items: center; max-width: 100%;
}
.icon-size-options { display: flex; flex-direction: column; gap: 8px; width: min(100%, 360px); }
.desktop-setting-link {
display: flex !important; justify-content: space-between; align-items: center; gap: 8px;
width: 100%; min-height: 42px; padding: 8px 0 !important; text-align: start; white-space: normal;
background: transparent !important; border: 0 !important; border-top: 1px solid var(--line) !important;
color: var(--text) !important;
}
.desktop-setting-link:hover:not(:disabled) { background: var(--raised) !important; }
.desktop-setting-link:disabled { color: var(--muted) !important; }
.desktop-setting-link > .action-glyph { flex: none; color: var(--muted); }
.desktop-modal-backdrop .shortcut-settings-dialog { width: 420px; max-height: min(100%, 620px); }
.shortcut-settings-dialog .modal-body { padding: 0; }
.dock-shortcut-dialog .modal-footer { display: none; }
.desktop-shortcut-option {
display: flex; align-items: center; gap: 10px; min-width: 0; padding-inline: 16px;
}
.desktop-shortcut-option + .desktop-shortcut-option { border-top: 1px solid var(--line); }
.desktop-shortcut-option:hover { background: var(--raised); }
.desktop-shortcut-option > .action-glyph { flex: none; color: var(--muted); }
.desktop-shortcut-option .preference-check {
flex: 1; min-height: 42px; min-width: 0; justify-content: space-between;
flex-direction: row-reverse; color: var(--text) !important;
}
.desktop-shortcut-option .preference-check:has(> input:disabled) { color: var(--muted) !important; }
.theme-preset-grid {
display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 125px), 1fr)); gap: 8px;
}
.theme-preview-choice { display: grid !important; position: relative; gap: 6px; padding: 4px; min-width: 0; border-radius: 9px; }
.theme-preview-choice:has(.theme-preset-select[aria-pressed=true]) {
box-shadow: inset 0 0 0 1px var(--accent);
}
.theme-preset-select { min-width: 0; overflow-wrap: anywhere; white-space: normal !important; }
.theme-preset-select::after { content: ''; position: absolute; inset: 0; border-radius: 9px; }
.theme-preset-select:focus-visible::after { outline: 2px solid var(--accent); }
.theme-thumbnail {
display: flex; width: 100%; aspect-ratio: 16 / 9; min-width: 0; border-radius: 7px; overflow: hidden;
background: var(--raised); position: relative;
}
.theme-wallpaper-swatch { display: block; flex: 1 1 0; min-width: 0; position: relative; }
.theme-wallpaper-swatch img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.theme-thumbnail-labels {
display: flex; position: absolute; inset: auto 0 0; justify-content: space-around; padding: 4px;
background: #101820b0; color: #fff; font-size: var(--font-small);
}
.theme-create-action { display: flex; justify-content: flex-end; }
.desktop-modal-backdrop .theme-create-dialog { width: 560px; container: theme-create / inline-size; }
.theme-create-dialog .modal-body { padding: clamp(12px, 4cqw, 22px); }
.theme-create-dialog .field-label { color: var(--text); }
.theme-create-dialog .error { color: var(--danger); }
.theme-create-options .desktop-setting-controls { justify-content: flex-end; }
.theme-create-dialog :is(.button.primary, .button[aria-pressed=true]) {
background: var(--accent-bg) !important; color: var(--accent) !important; border-color: var(--accent) !important;
}
.theme-create-dialog .button.primary:hover:not(:disabled) {
background: var(--accent) !important; color: var(--bg) !important;
}
.theme-accent-controls, .theme-accent-options, .theme-accent-value {
display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 0;
}
.theme-accent-controls { justify-content: space-between; gap: 10px; }
.theme-accent-options > .theme-accent-choice {
display: grid !important; place-items: center; padding: 4px !important; min-width: 32px;
}
.theme-color-swatch { width: 23px; height: 23px; border: 1px solid var(--line); border-radius: 5px; flex: none; }
.theme-color-value { width: min(7.5em, 100%); font-family: Consolas, monospace; }
.theme-wallpaper-toggle { align-self: flex-start; }
.theme-create-dialog .desktop-settings-card { display: grid; gap: 10px; min-width: 0; }
.theme-create-dialog .wallpaper-input-row { grid-template-columns: minmax(0, 1fr); }
@container theme-create (max-width: 330px) {
.theme-create-options .desktop-setting-row { grid-template-columns: minmax(0, 1fr); }
.theme-create-options .desktop-setting-controls { justify-content: flex-start; }
}
.desktop-settings-pane .section-heading { min-width: 0; gap: 6px; }
.desktop-settings-pane .choice-list { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
/* Sapid sets a light-theme foreground inline on checkbox labels. */
.desktop-settings-page .preference-check { color: var(--text) !important; }
.desktop-settings-page .preference-check:has(> input:disabled) { color: var(--muted) !important; }
.desktop-date-time .desktop-setting-row { grid-template-columns: minmax(0, 1fr) auto; }
.desktop-date-time .desktop-setting-row:first-child { border-top: 0; }
.desktop-date-time .desktop-setting-controls { min-width: 0; justify-content: flex-end; }
.desktop-time-zone-controls { width: min(100%, 18rem); gap: 5px; }
.desktop-time-zone-current {
display: flex !important; justify-content: space-between; gap: 8px; text-align: start; overflow-wrap: anywhere;
}
.desktop-time-zone-current .action-glyph, .time-zone-search .action-glyph { flex: none; }
.desktop-modal-backdrop .time-zone-dialog { width: 440px; max-height: min(100%, 560px); color: var(--text); }
.time-zone-dialog .modal-header {
display: grid !important; grid-template-columns: 28px minmax(0, 1fr) 28px;
gap: 6px; padding-inline: 12px; border: 0;
}
.time-zone-dialog .dialog-title { grid-column: 2; text-align: center; }
.time-zone-dialog .modal-header .icon-button { justify-self: center; }
.time-zone-dialog .modal-body { padding: 0; gap: 0; overflow: hidden; }
.time-zone-dialog .modal-footer { display: none; }
.time-zone-search {
flex: none; display: flex; align-items: center; gap: 7px; min-width: 0;
margin: 0 12px 8px; padding-inline: 10px; color: var(--muted);
background: var(--input); border: 1px solid var(--line); border-radius: 7px;
}
.time-zone-search:focus-within { border-color: var(--accent); }
.time-zone-search .time-zone-query {
flex: 1; min-width: 0; width: 100%; min-height: 34px; padding: 5px 0 !important;
border: 0 !important; background: transparent !important; color: var(--text) !important;
}
.time-zone-query::placeholder { color: var(--muted); opacity: 1; }
.time-zone-options { display: flex; flex-direction: column; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.time-zone-option {
display: grid !important; grid-template: 'place time' 'detail time' / minmax(0, 1fr) auto;
align-content: center; align-items: center; gap: 4px 8px;
flex: none; min-height: 62px; min-width: 0; width: 100%;
padding: 9px 12px !important; text-align: start; white-space: normal;
border: 0 !important; border-top: 1px solid var(--line) !important; border-radius: 0 !important;
background: var(--surface) !important; color: var(--text) !important;
}
.time-zone-option[hidden] { display: none !important; }
.time-zone-option:hover { background: var(--raised) !important; }
.time-zone-option[aria-pressed=true] { background: var(--accent-bg) !important; box-shadow: inset 3px 0 var(--accent) !important; }
.time-zone-place, .time-zone-detail { min-width: 0; overflow-wrap: anywhere; }
.time-zone-place { grid-area: place; }
.time-zone-country { margin-inline-start: 6px; font-weight: 600; }
.time-zone-detail { grid-area: detail; color: var(--muted); font-size: var(--font-small); }
.time-zone-offset:not(:empty) { margin-inline-start: 6px; }
.time-zone-offset:not(:empty)::before { content: '·'; margin-inline-end: 6px; }
.time-zone-local-time { grid-area: time; color: var(--muted); text-align: end; font-variant-numeric: tabular-nums; }
.time-zone-empty { padding: 22px 12px; text-align: center; color: var(--muted); }
.dock-clock-settings .desktop-setting-row { grid-template-columns: minmax(0, 1fr) auto; }
.dock-clock-settings .sapid-switch { min-width: 44px; min-height: 44px; justify-content: center; }
.dock-clock-settings .sapid-switch-track { background: var(--muted) !important; }
.dock-clock-settings .sapid-switch:has(input:checked) .sapid-switch-track { background: var(--accent) !important; }
.dock-clock-settings .sapid-switch-thumb { background: var(--surface) !important; }
.dock-clock-settings .sapid-switch-focus { border-color: var(--accent) !important; }
.update-panel .preference-check { color: var(--text) !important; }
.desktop-settings-page .desktop-time-preview {
margin: 0; padding: 0; color: var(--text); font-size: var(--font-body);
}
.desktop-settings-pane .button { max-width: 100%; white-space: normal; }
.desktop-settings-pane .button[aria-pressed=true] {
background: var(--accent-bg) !important; border-color: var(--accent) !important; color: var(--accent) !important;
}
.desktop-settings-pane .resource-interval-options > .button {
background: var(--surface) !important; border-color: var(--line) !important; color: var(--text) !important;
}
.desktop-settings-pane .resource-interval-options > .button[aria-pressed=false]:hover:not(:disabled) {
background: var(--raised) !important; border-color: var(--line-hover) !important;
}
.desktop-settings-pane .resource-interval-options > .button[aria-pressed=true] {
background: color-mix(in srgb, var(--surface), var(--accent) 16%) !important;
border-color: color-mix(in srgb, var(--line), var(--accent) 45%) !important;
font-weight: 600 !important;
}
.desktop-region :is(.section-title, .field-label) { color: var(--text); }
.desktop-region .choice {
background: var(--raised) !important; border-color: var(--line) !important; color: var(--text) !important;
}
.desktop-settings-pane.desktop-region .choice.active {
background: var(--accent-bg) !important; border-color: var(--accent) !important; color: var(--accent) !important;
}
.icon-size-control { display: flex; gap: 12px; align-items: center; width: 100%; }
.icon-size-slider {
--icon-size-thumb: 15px;
flex: 1; min-width: 0; height: 26px; margin: 0; padding: 0 !important; border: 0 !important;
appearance: none; cursor: pointer;
background: linear-gradient(to right, var(--accent) var(--icon-size-progress, 0%), var(--line-hover) 0)
center / calc(100% - var(--icon-size-thumb)) 4px no-repeat !important;
}
.icon-size-slider::-webkit-slider-runnable-track { height: var(--icon-size-thumb); background: transparent; }
.icon-size-slider::-webkit-slider-thumb {
appearance: none; width: var(--icon-size-thumb); height: var(--icon-size-thumb);
border: 0; border-radius: 50%; background: var(--accent);
}
.icon-size-slider:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.icon-size-slider:disabled { cursor: default; }
.icon-size-value { flex: none; min-width: 46px; text-align: end; font-variant-numeric: tabular-nums; color: var(--muted); }
.desktop-settings-tabs {
display: flex; flex: 0 0 clamp(166px, 24%, 194px); flex-direction: column; gap: 4px;
overflow: auto; padding: 10px; background: var(--surface); border-inline-end: 1px solid var(--line);
}
.desktop-settings-section {
display: flex !important; justify-content: flex-start; align-items: center; gap: 8px; flex: none;
min-height: 38px; min-width: 0; padding: 7px 8px !important; text-align: start; white-space: normal; overflow-wrap: anywhere;
}
.desktop-settings-section .action-glyph { flex: none; width: 16px; height: 16px; }
.desktop-settings-section:hover { background: var(--raised) !important; }
.desktop-settings-section[aria-pressed=true] { background: var(--accent-bg) !important; color: var(--accent) !important; }
.desktop-settings-pane .desktop-shortcut-group { gap: 0; }
.desktop-shortcut-group > :is(.section-title, .section-heading) { margin-bottom: 5px; }
.desktop-key-binding { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; padding-block: 7px; border-bottom: 1px solid var(--line); }
.desktop-key-binding:last-child { border-bottom: 0; padding-bottom: 0; }
.desktop-key-binding > span:first-child { flex: 1 1 11rem; min-width: 0; }
.desktop-key {
padding: 2px 6px; border: 1px solid var(--line); border-radius: 4px;
background: var(--surface); font: var(--font-small)/1.45 Consolas, monospace;
}
.desktop-key-controls { display: flex; align-items: center; gap: 5px; min-width: 0; }
.desktop-shortcut-record { font-family: Consolas, monospace !important; }
.desktop-shortcut-record[data-recording] { background: var(--accent-bg) !important; color: var(--accent) !important; }
.desktop-shortcut-record[data-recording] .desktop-key-combination,
.desktop-shortcut-record:not([data-recording]) .desktop-key-recording { display: none; }
.desktop-custom-keys .desktop-key-controls { display: grid; grid-template-columns: auto 26px 26px; }
.desktop-custom-keys .desktop-shortcut-disable { grid-column: 3; }
.desktop-shortcut-restore { align-self: center; margin-top: 4px; min-width: 140px; }
.desktop-shortcut-error:not(:empty) { position: sticky; top: 0; z-index: 1; padding: 8px; background: var(--surface); }
.desktop-settings-status:empty, .desktop-settings-page .error:empty { display: none; }
.wallpaper-choices { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 149px), 1fr)); gap: 8px; }
.wallpaper-choice { display: flex !important; min-width: 0; flex-direction: column; align-items: stretch; gap: 6px; padding: 5px 5px 7px !important; }
.wallpaper-swatch { height: auto; aspect-ratio: 16 / 9; border-radius: 5px; }
.wallpaper-input-row { display: grid !important; grid-template-columns: minmax(104px, 120px) minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.wallpaper-input-label { font-weight: 500; }
.wallpaper-input-actions { display: flex; gap: 6px; flex-wrap: wrap; }
@container desktop-settings (max-width: 620px) {
.desktop-settings-page { flex-direction: column !important; }
.desktop-settings-page > .desktop-settings-tabs {
display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr));
flex: none; align-content: start; max-block-size: 40%; padding: 7px;
border-inline-end: 0; border-bottom: 1px solid var(--line);
}
.desktop-settings-tabs .desktop-settings-section { min-height: 34px; gap: 5px; padding: 4px 5px !important; font-size: var(--font-label) !important; }
}
@container desktop-preferences (max-width: 405px) {
.desktop-setting-row { grid-template-columns: minmax(0, 1fr); }
.desktop-settings-pane .desktop-setting-controls { justify-content: flex-start; }
.desktop-date-time .desktop-setting-controls { justify-content: flex-end; }
.desktop-date-time .desktop-setting-row:has(.desktop-time-zone-controls) { grid-template-columns: minmax(0, 1fr); }
.theme-preset-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 105px), 1fr)); }
}
@container desktop-settings (max-width: 390px) {
.desktop-settings-page > .desktop-settings-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container desktop-preferences (max-width: 540px) {
.wallpaper-input-row { grid-template-columns: minmax(0, 1fr) auto; }
.wallpaper-input-label { grid-column: 1 / -1; }
}
@container desktop-preferences (max-width: 370px) {
.wallpaper-input-row { grid-template-columns: minmax(0, 1fr); }
.network-settings .network-interface { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
.desktop-window-titlebar {
display: flex;
align-items: center;
gap: 9px;
height: 37px;
min-height: 37px;
flex: none;
padding: 0 8px 0 14px;
background: var(--surface);
border-bottom: 1px solid var(--line);
}
.desktop-window-mark { display: flex; align-items: center; flex: none; color: var(--accent); }
.desktop-window-mark > .action-glyph { width: 18px; height: 18px; }
.desktop-window-title { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; user-select: none; }
.app-settings > .desktop-window-titlebar { position: relative; }
.desktop-settings-saving {
position: absolute; inset-inline: min(105px, 30%); top: 50%; transform: translateY(-50%);
overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center;
color: var(--muted); font-size: var(--font-small); pointer-events: none;
}
.desktop-settings-saving:empty { display: none; }
.desktop-window-actions { display: flex; align-items: center; flex: none; gap: 3px; margin-left: auto; }
.desktop-window-actions > .icon-button { height: 28px !important; width: 28px !important; min-width: 28px !important; padding: 6px !important; }
.desktop-window-actions .window-close:hover { background: #c95e6520 !important; color: var(--danger) !important; }
.desktop-window:not(.maximized) .window-maximize .glyph-window-restore,
.desktop-window.maximized .window-maximize .glyph-window-maximize { display: none; }
.desktop-window-content { display: flex; flex-direction: column; flex: 1; min-height: 0; min-width: 0; overflow: hidden; padding: 18px; }
.desktop-window-content .terminal-surface { min-height: 80px; }
.desktop-window-content > .software-page { overflow: auto; min-height: 0; }
.file-open-name { font-weight: 600; overflow-wrap: anywhere; }
.file-app-options { display: flex; flex-direction: column; gap: 8px; }
.file-app-options .file-app-option { justify-content: flex-start; min-height: 36px; }
.file-app-option[aria-pressed=true] { background: var(--accent-bg) !important; color: var(--accent) !important; border-color: var(--accent) !important; }
.file-association-settings { container: file-associations / inline-size; display: flex; flex-direction: column; width: 100%; min-width: 0; }
.file-association-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.file-association-filter-field { display: flex; flex-direction: column; gap: 5px; width: min(100%, 280px); }
.file-association-filter { width: 100%; }
.file-association-columns {
display: grid !important; grid-template-columns: minmax(70px, .65fr) minmax(95px, 1fr) minmax(85px, 1.25fr) 16px;
align-items: center; gap: 10px; min-width: 0; padding: 8px 10px !important; text-align: start;
}
.file-association-header { color: var(--muted); font-size: var(--font-small); font-weight: 600; border-bottom: 1px solid var(--line); }
.file-association-row {
width: 100%; min-height: 42px; border: 0 !important; border-bottom: 1px solid var(--line) !important;
border-radius: 0 !important; background: transparent !important; color: var(--text) !important;
white-space: normal !important; overflow-wrap: anywhere;
}
.file-association-row:hover { background: var(--raised) !important; }
.file-association-extension { font-family: var(--code-font, Consolas, monospace); font-weight: 600; }
.file-association-other-apps { color: var(--muted); min-width: 0; }
.file-association-default-badge {
width: fit-content; padding: 2px 7px; border-radius: 5px; font-size: var(--font-small);
background: var(--accent-bg); color: var(--accent);
}
.file-association-row > .action-glyph { color: var(--muted); }
.file-association-editor, .file-association-extra-apps, .file-associated-app-name {
display: flex; flex-direction: column; gap: 8px; min-width: 0;
}
.file-associated-app { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.file-associated-app-name { flex: 1 1 90px; gap: 2px; }
.file-associated-app > .action-glyph { color: var(--accent); }
.file-association-extra-apps { margin-top: 6px; }
.file-association-add-trigger { align-self: flex-start; }
.file-association-picker { gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.file-association-picker .file-app-options { max-height: min(220px, 35vh); overflow-y: auto; }
.file-association-picker .file-app-option { flex: none; }
.file-association-picker-actions { justify-content: flex-end; gap: 8px; }
@container file-associations (max-width: 365px) {
.file-association-columns { grid-template-columns: minmax(60px, .75fr) minmax(85px, 1fr) 16px; gap: 5px 8px; }
.file-association-header > :last-child { display: none; }
.file-association-other-apps { grid-column: 2; }
.file-association-other-apps:empty { display: none; }
.file-association-row > .action-glyph { grid-area: 1 / 3; }
}
.html-preview-notice { flex: none; padding: 6px 12px; }
@media(max-width:1100px){.server-overview{padding:26px!important}.workspace-entry{padding:15px!important;grid-template-columns:28px minmax(0,1fr);column-gap:12px}.workspace-entry>.action-glyph:first-child{width:25px;height:25px}.workspace-entry>.action-glyph:last-child{display:none}.entry-title{font-size:14px}}
@media(max-width:850px){.workspace-entries{grid-template-columns:1fr}.workspace-entry{min-height:80px!important}.server-overview{padding:22px!important;gap:16px!important}.server-overview .home-title{font-size:24px}.server-overview .server-facts{display:grid!important;grid-template-columns:1fr 1fr;gap:18px}.workbench-tabs{padding-inline:12px}.workbench-tab{min-width:100px}.workbench-tab-select{padding-inline:10px!important}}
@media(prefers-reduced-motion:reduce){.desktop-dock-app,.workspace-entry{transition:none}.desktop-dock-app:hover{transform:none}}
/* Desktop controls and the single-pane Files app. */
.server-overview{position:relative}
.server-overview .overview-edit{position:absolute;top:22px;right:22px;width:32px!important;height:32px!important;min-width:32px!important;padding:7px!important}
.workbench-tab .desktop-fullscreen-toggle{width:25px!important;height:25px!important;min-width:25px!important;margin-right:3px;padding:5px!important}
.navigation-shell.desktop-fullscreen>.navigation-rail,.navigation-shell.desktop-fullscreen>.sidebar,.navigation-shell.desktop-fullscreen>.main-panel>.page-header{display:none!important}
.navigation-shell.desktop-fullscreen>.main-panel>.workspace-content{padding:0;gap:0}
.desktop-menubar .desktop-fullscreen-exit{width:28px!important;height:28px!important;min-width:28px!important;padding:5px!important;color:#e4f4f8!important}
.desktop-menubar .desktop-fullscreen-exit:hover{background:#ffffff16!important}
.desktop-window-content:has(>.remote-files){padding:0}
.remote-files{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0}
.files-slot{display:flex;flex:1;min-height:0;min-width:0;width:100%}
.files-slot>.file-pane{width:100%;border:0;border-radius:0}
@media(max-width:850px){.server-overview .overview-edit{top:16px;right:16px}}
.desktop-light .desktop-canvas {
background: radial-gradient(ellipse at 91% 4%, #b4bcf29c, transparent 54%),
radial-gradient(ellipse at 85% 100%, #9adde1b0, transparent 58%),
linear-gradient(133deg, #f2f7ff, #dce8f8 54%, #c7e4ee);
}
.desktop-light .desktop-wallpaper-art::before {
border-color: #456c9a38;
box-shadow: 0 0 0 36px #456c9a13, 0 0 0 72px #456c9a0c, 0 0 0 108px #456c9a08;
}
.desktop-light .desktop-wallpaper-art::after { background-image: radial-gradient(circle, #335c8629 1px, transparent 1px); }
@media (max-width: 1050px) {
.desktop-window { inset: 13px 13px 89px; }
.desktop-wallpaper-copy { right: calc(24px + var(--desktop-dock-right, 0px)); }
}
@media (max-height: 780px) {
.desktop-wallpaper-copy { top: auto; bottom: calc(18px + var(--desktop-dock-bottom, 92px)); }
}
@media (max-width: 790px) {
.desktop-wallpaper-copy { display: none; }
}
.desktop-light .desktop-menubar{background:#e8f0f8;color:#18364c;border-bottom:1px solid #c8d9e8}
.desktop-light .desktop-menubar .desktop-fullscreen-exit,.desktop-light .desktop-menubar .connection-target{color:#315a78!important}
.desktop-light .desktop-menubar-title{color:#21465e}
.desktop-light .desktop-secure{color:#246859}
.network-settings-list { display: flex; flex-direction: column; min-width: 0; }
.network-interface {
display: grid !important; grid-template-columns: minmax(80px, 1fr) minmax(0, 3fr);
align-items: start; gap: 12px; padding: 8px 0;
}
.network-interface + .network-interface { border-top: 1px solid var(--line); }
.network-interface:last-child { padding-bottom: 0; }
.network-interface-name { font-weight: 600; overflow-wrap: anywhere; }
.network-settings-values { white-space: pre-wrap; overflow-wrap: anywhere; font: var(--font-code)/1.55 Consolas, monospace; }
.network-warning { white-space: normal; line-height: 1.6; }
.desktop-window-content:has(>.docker-page){padding:0}
.docker-page{display:flex;flex:1;flex-direction:row!important;min-height:0;min-width:0;overflow:hidden;container:docker / inline-size;font-size:14px}
.docker-tabs{display:flex;flex-direction:column;flex:0 0 134px;gap:3px;padding:14px 7px;background:var(--bg);border-right:1px solid var(--line)}
.docker-tabs .docker-nav-item{display:flex;justify-content:flex-start;gap:8px;width:100%;border:0!important;background:transparent!important;padding:8px!important;text-align:left}
.docker-tabs .docker-nav-item[aria-pressed=true]{color:var(--accent)!important;background:var(--accent-bg)!important;box-shadow:inset 3px 0 var(--accent)}
.docker-main{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;gap:10px;overflow:auto;padding:16px;background:var(--surface)}
.docker-section-title{font-size:21px;font-weight:650}
.docker-toolbar,.docker-container-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.docker-toolbar{flex:none}
.docker-search-field{align-items:center;gap:4px;order:-1}
.docker-search-field .action-glyph{width:15px;height:15px}
.docker-filter{min-width:70px;max-width:130px;font-size:13px}
.docker-inventory{min-height:0;min-width:0;overflow:auto}
.docker-columns{font-size:12px;font-weight:600;color:var(--muted);background:var(--bg);border-block:1px solid var(--line)}
.docker-container-head,.docker-page .docker-container-row{display:grid!important;grid-template-columns:minmax(70px,1fr) minmax(64px,.8fr) minmax(85px,1.2fr) minmax(70px,1fr);align-items:center;gap:8px;padding:9px 8px!important}
.docker-page .docker-container-row,.docker-page .docker-volume-row,.docker-page .docker-port-row{color:var(--text)!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;text-align:left;white-space:normal!important;flex:none}
.docker-page .docker-container-row:hover,.docker-page .docker-volume-row:hover,.docker-page .docker-port-row:hover{background:var(--accent-bg)!important}
.docker-volume-head,.docker-page .docker-volume-row{display:grid!important;grid-template-columns:1.1fr .8fr 1fr;align-items:center;gap:8px;padding:9px 8px!important}
.docker-page .docker-port-row{display:grid!important;grid-template-columns:1fr 2fr 1fr;align-items:center;gap:8px;padding:9px 8px!important}
.docker-container-list,.docker-volume-list{display:flex;flex-direction:column;gap:0}
.docker-back{align-self:flex-start}
.docker-no-matches{display:none;padding:14px 8px}
.docker-inventory:not(:has(.docker-container-row)) .docker-no-matches{display:block}
.docker-container-row .docker-resource-state::before{content:"";display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%;background:var(--muted)}
.docker-resource-state.running::before{background:#209360}
.docker-summary,.docker-status{font-size:12px}
.docker-status:empty,.docker-error:empty{display:none}
.docker-error{overflow:auto;max-height:100px;flex:none;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}
.docker-resource-name{font-size:14px;font-weight:600;overflow-wrap:anywhere}
.docker-resource-state,.docker-resource-image{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.docker-resource-ports{font-size:13px;overflow-wrap:anywhere;white-space:pre-wrap}
.docker-detail{display:flex;flex-direction:column;gap:12px;flex:1;min-width:0;min-height:0;overflow:auto;border:1px solid var(--line);border-radius:7px;background:var(--surface);padding:14px}
.docker-detail-name{font-size:17px;font-weight:600;overflow-wrap:anywhere}
.docker-container-id{font-size:12px;overflow-wrap:anywhere}
.docker-inspection,.docker-log-panel{display:flex;flex-direction:column;gap:12px;min-height:0}
.docker-configuration-summary{font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.docker-port-details,.docker-mount-details,.docker-volume-details{font-family:var(--mono,monospace);font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}
.docker-log-output{font-family:var(--mono,monospace);font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;max-height:420px;overflow:auto;background:var(--bg);padding:10px;border-radius:6px}
/* Terminal colors in captured output, chosen for contrast on --bg in each theme. */
:root,.theme-dark{--ansi-0:#6e7681;--ansi-1:#ff7b72;--ansi-2:#3fb950;--ansi-3:#d29922;--ansi-4:#58a6ff;--ansi-5:#bc8cff;--ansi-6:#39c5cf;--ansi-7:#b1bac4;--ansi-8:#8b949e;--ansi-9:#ffa198;--ansi-10:#56d364;--ansi-11:#e3b341;--ansi-12:#79c0ff;--ansi-13:#d2a8ff;--ansi-14:#56d4dd;--ansi-15:#f0f6fc}
.theme-light{--ansi-0:#24292f;--ansi-1:#cf222e;--ansi-2:#116329;--ansi-3:#7d4e00;--ansi-4:#0969da;--ansi-5:#8250df;--ansi-6:#1b7c83;--ansi-7:#6e7781;--ansi-8:#57606a;--ansi-9:#a40e26;--ansi-10:#1a7f37;--ansi-11:#633c01;--ansi-12:#0550ae;--ansi-13:#6639ba;--ansi-14:#0e6b74;--ansi-15:#8c959f}
.ansi-fg-0{color:var(--ansi-0)}.ansi-fg-1{color:var(--ansi-1)}.ansi-fg-2{color:var(--ansi-2)}.ansi-fg-3{color:var(--ansi-3)}.ansi-fg-4{color:var(--ansi-4)}.ansi-fg-5{color:var(--ansi-5)}.ansi-fg-6{color:var(--ansi-6)}.ansi-fg-7{color:var(--ansi-7)}.ansi-fg-8{color:var(--ansi-8)}.ansi-fg-9{color:var(--ansi-9)}.ansi-fg-10{color:var(--ansi-10)}.ansi-fg-11{color:var(--ansi-11)}.ansi-fg-12{color:var(--ansi-12)}.ansi-fg-13{color:var(--ansi-13)}.ansi-fg-14{color:var(--ansi-14)}.ansi-fg-15{color:var(--ansi-15)}
.ansi-bg-0{background:var(--ansi-0)}.ansi-bg-1{background:var(--ansi-1)}.ansi-bg-2{background:var(--ansi-2)}.ansi-bg-3{background:var(--ansi-3)}.ansi-bg-4{background:var(--ansi-4)}.ansi-bg-5{background:var(--ansi-5)}.ansi-bg-6{background:var(--ansi-6)}.ansi-bg-7{background:var(--ansi-7)}.ansi-bg-8{background:var(--ansi-8)}.ansi-bg-9{background:var(--ansi-9)}.ansi-bg-10{background:var(--ansi-10)}.ansi-bg-11{background:var(--ansi-11)}.ansi-bg-12{background:var(--ansi-12)}.ansi-bg-13{background:var(--ansi-13)}.ansi-bg-14{background:var(--ansi-14)}.ansi-bg-15{background:var(--ansi-15)}
.ansi-fg-inverse{color:var(--bg)}.ansi-bg-inverse{background:var(--text)}.ansi-bold{font-weight:600}.ansi-dim{opacity:.7}.ansi-italic{font-style:italic}.ansi-underline{text-decoration:underline}.ansi-strike{text-decoration:line-through}.ansi-conceal{color:transparent}.ansi-underline.ansi-strike{text-decoration:underline line-through}
.docker-log-time{color:var(--muted)}
.docker-log-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
.docker-volumes,.docker-ports{display:flex;flex:1;min-height:0;flex-direction:column;overflow:auto;gap:10px}
.docker-volume-details{padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:7px;flex:none}
.docker-volume-details:empty{display:none}
.docker-config-form,.docker-action-review{display:flex;flex-direction:column;gap:14px;min-width:0;overflow-wrap:anywhere}
@container docker (max-width:690px){
.docker-tabs{flex-basis:100px;padding:10px 3px}
.docker-tabs .docker-nav-item{gap:4px;padding:6px!important}
.docker-main{padding:10px}
}
@container docker (max-width:530px){
.docker-tabs{flex-basis:72px}
.docker-nav-item .action-glyph{display:none}
.docker-container-head,.docker-page .docker-container-row{grid-template-columns:1fr 1fr;gap:4px}
.docker-container-head>:nth-child(n+3),.docker-container-row>.docker-resource-ports,.docker-container-row>.docker-resource-image{display:none}
}
/* Desktop theme boundaries */
.server-desktop.theme-dark,.server-desktop.theme-light{color:var(--text)}
/* Compact desktop applications. */
.desktop-window-titlebar:has(.terminal-controls)>.desktop-window-title{display:none}
.desktop-window-titlebar:has(.terminal-controls){gap:6px;padding-left:10px;padding-right:6px;overflow:visible}
.terminal-controls{display:flex;align-items:center;gap:5px;flex:1;min-width:0;min-height:0;height:32px}
.terminal-controls .terminal-tabs{display:flex;align-items:center;flex:1;min-width:0;height:30px;min-height:0;padding:0;margin:0;border:0;background:transparent;gap:4px}
.terminal-controls .terminal-tab-list{flex:1;min-width:0;overflow:auto;scrollbar-width:none}
.terminal-controls .terminal-tab{height:26px;min-height:26px;padding:3px 8px!important;max-width:180px;overflow:hidden;text-overflow:ellipsis;font-size:13px;white-space:nowrap}
.terminal-controls .terminal-tab-close{width:20px!important;height:20px!important;min-width:20px!important;padding:3px!important}
.terminal-controls .terminal-status{font-size:12px;white-space:nowrap}.terminal-controls .terminal-status.running{display:none}
.terminal-controls .icon-button{width:25px!important;height:25px!important;min-width:25px!important;padding:4px!important}
.desktop-window-content:has(>.terminal-module:not(.hidden)){padding:0}.desktop-window-content>.terminal-module{border:0;border-radius:0}
.desktop-window-content:has(> .monitor-page) { padding: 0; }
.monitor-page { display: flex; flex: 1; min-width: 0; min-height: 0; overflow: hidden; }
.monitor-sidebar {
display: flex; flex: 0 0 clamp(206px, calc(194px + 2.5%), 216px); flex-direction: column;
gap: 4px; overflow: auto; padding: 8px; background: var(--surface); border-inline-end: 1px solid var(--line);
}
.monitor-section-link {
display: grid !important; grid-template-columns: 17px minmax(0, 1fr); align-content: center;
grid-template-rows: auto auto; align-items: center; column-gap: 8px; row-gap: 1px;
min-height: 49px; flex: none; min-width: 0; padding: 6px 7px !important; text-align: start;
}
.monitor-section-link .action-glyph { grid-area: 1 / 1 / 3 / 2; width: 17px; height: 17px; color: var(--accent); }
.monitor-section-link:hover { background: var(--raised) !important; }
.monitor-section-link[aria-pressed=true] { background: var(--accent-bg) !important; color: var(--accent) !important; }
.monitor-section-label { grid-area: 1 / 2; font-weight: 600; font-size: var(--font-label); overflow-wrap: anywhere; }
.monitor-section-summary { grid-area: 2 / 2; text-align: start; color: var(--muted); white-space: normal; overflow-wrap: anywhere; font-size: var(--font-small); font-variant-numeric: tabular-nums; }
.monitor-section-summary:empty, .monitor-card-detail:empty, .monitor-sample-error:empty { display: none; }
.monitor-content { display: flex; flex: 1; flex-direction: column; min-width: 0; min-height: 0; overflow: auto; gap: 14px; padding: 14px 16px; }
.monitor-content > * { flex-shrink: 0; }
.monitor-content > .services-page, .monitor-content > .system-logs-page { flex: 1 1 auto; }
.monitor-content.monitor-processes { container: monitor-processes / inline-size; }
.monitor-content:has(> .monitor-process-inventory) { overflow: hidden; gap: 10px; }
.monitor-process-inventory, .monitor-port-details { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.monitor-content > .monitor-process-inventory { flex: 1; min-height: 0; }
.monitor-process-toolbar, .monitor-process-actions { display: flex; flex: none; align-items: center; flex-wrap: wrap; gap: 8px; }
.monitor-process-actions { max-width: 100%; margin-inline-start: auto; }
.monitor-process-filter { flex: 1 1 138px; min-width: 0; max-width: 360px; }
.monitor-process-feedback { flex: none; }
.monitor-process-status:empty, .monitor-process-error:empty { display: none; }
.monitor-process-error { white-space: pre-wrap; overflow-wrap: anywhere; }
.monitor-process-table { display: flex; flex: 1; flex-direction: column; min-width: 0; min-height: 0; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.monitor-process-viewport { display: flex; flex: 1; flex-direction: column; min-height: 0; overflow: auto; overflow-anchor: none; overscroll-behavior: contain; scrollbar-gutter: stable; }
.monitor-process-spacer { flex: none; }
.monitor-process-viewport .monitor-process-row { box-sizing: border-box; overflow: hidden; }
.monitor-process-viewport .monitor-process-row > * { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.monitor-process-row {
--process-columns: minmax(0, .75fr) minmax(0, 2.6fr) minmax(0, .75fr) minmax(0, .7fr) minmax(0, 1fr);
display: grid !important; grid-template-columns: var(--process-columns) minmax(0, 1.7fr);
flex: none; align-items: center; gap: 8px; min-height: 34px; min-width: 0; padding: 6px 10px;
border-bottom: 1px solid var(--line); font-size: var(--font-label); font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
.monitor-process-row > :nth-child(4), .monitor-process-row > :nth-child(5) { text-align: end; }
.monitor-process-ports, .monitor-process-port-heading { padding-inline-start: 8px; }
.monitor-process-ports:empty::before { content: '—'; color: var(--muted); }
.monitor-process-header { overflow: hidden; scrollbar-gutter: stable; background: var(--raised); color: var(--muted); font-size: var(--font-small); }
@container monitor-processes (max-width: 510px) {
.monitor-process-row { grid-template-columns: var(--process-columns); gap: 3px 8px; }
.monitor-process-port-heading, .monitor-process-ports:empty { display: none; }
.monitor-process-ports { grid-column: 2 / -1; padding-inline-start: 0; color: var(--muted); font-size: var(--font-small); }
}
.monitor-services .service-row { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.15fr); }
.monitor-services .service-state { overflow-wrap: anywhere; }
.monitor-services .services-page > .software-error:empty { display: none; }
.monitor-heading { font-size: var(--font-title); }
.monitor-sample-status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.monitor-metric-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 142px), 1fr)); }
.monitor-overview .resource-trend-plots { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.disks-page { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.disks-status:empty, .disks-error:empty { display: none; }
.disks-toolbar,.services-filters,.software-sources,.install-sources,.compose-toolbar,.compose-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex:none}
.disk-filter{min-width:100px;flex:1}.disk-device-list,.disk-mount-list{display:flex;flex-direction:column;gap:6px}
.disk-device-row{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,84px),1fr));gap:8px;padding:10px;border:1px solid var(--line);border-radius:6px;font-size:13px;min-width:0;background:var(--surface)}
.disk-device-row>span{overflow-wrap:anywhere}.disk-name{font-weight:600;white-space:pre-wrap;overflow-wrap:anywhere}
.disk-mount-row{display:flex!important;flex-direction:column;align-items:flex-start;gap:7px;text-align:left;padding:12px!important;border:1px solid var(--line)!important;border-radius:7px!important;background:var(--surface)!important;color:var(--text)!important;white-space:normal!important;font-size:13px;opacity:1!important}
.services-page .operation-services{min-height:0}.services-page .operations-toolbar{flex-wrap:wrap;gap:6px}.services-page .services-filters{margin:10px 0}
.services-filters [aria-pressed=true],.software-sources [aria-pressed=true],.install-sources [aria-pressed=true],.compose-project-row[aria-pressed=true]{background:var(--accent-bg)!important;border-color:var(--accent)!important}
.services-page .operations-details{max-height:220px;overflow:auto}.services-page .software-error:empty{display:none}.services-page .service-state{min-width:170px;font-size:12px}
.command-input{min-height:140px;font:13px monospace}.package-source-page{display:flex;flex-direction:column;gap:12px;min-height:0;overflow:auto}
.software-sources{padding-bottom:10px;border-bottom:1px solid var(--line)}
.software-install-form,.compose-install-form,.native-install-fields{display:flex;flex-direction:column;gap:12px;min-width:0}
.compose-preview{font:13px/1.55 monospace;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--bg);padding:12px;border:1px solid var(--line);border-radius:6px;max-height:280px;overflow:auto}
.compose-projects{display:flex;flex-direction:column;flex:1;min-height:0;gap:12px;overflow:auto}.compose-project-list{display:flex;flex-direction:column;gap:6px}
.compose-project-row{text-align:left;white-space:normal!important;overflow-wrap:anywhere}.compose-project-path,.compose-install-path{font-size:12px;overflow-wrap:anywhere}
.docker-toolbar{gap:8px}.docker-toolbar .docker-filter{width:clamp(105px,23cqw,220px);max-width:100%}
@media(max-width:1100px){.disk-device-row>span:nth-child(n+4){font-size:12px}.services-page .service-row{flex-wrap:wrap}.services-page .service-state{min-width:0}}
/* Each theme scope owns inherited text as well as palette variables. */
.theme-dark,.theme-light{color:var(--text)}
.theme-dark{color-scheme:dark;--file-row-line:#242c37;--line-hover:#435165;--danger:#f09494}
.services-page .operation-services{flex:1;max-height:none;min-height:0}
.services-page .service-list{flex:1;min-height:140px}
/* App Center, scoped to the desktop app window. */
.app-center-content{container:app-center / inline-size;display:flex!important;flex:1;min-height:0;min-width:0;gap:14px;overflow:hidden}
.app-center-toolbar{display:flex!important;align-items:center;gap:10px;flex-wrap:wrap;flex-shrink:0}
.app-center-navigation{display:flex!important;gap:4px;padding:3px;border:1px solid var(--line);border-radius:9px;background:var(--bg)}
.app-center-nav-button{background:transparent!important;border-color:transparent!important;min-width:82px}
.app-center-nav-button[aria-pressed=true]{background:var(--accent-bg)!important;color:var(--accent)!important;border-color:var(--line)!important}
.app-center-search{flex:1!important;min-width:190px!important;min-height:38px!important}
.app-center-custom-install{font-size:13px!important}
.app-center-error:empty{display:none}
.app-center-error{white-space:pre-wrap;max-height:78px;overflow:auto;flex-shrink:0}
.app-center-discover,.app-center-installed,.app-center-detail{display:flex!important;flex:1;min-height:0;min-width:0;gap:16px;overflow:auto;padding:1px 3px 18px}
.app-center-catalog {
display: grid !important; grid-template-columns: clamp(148px, 20cqw, 184px) minmax(0, 1fr);
grid-template-rows: minmax(0, 1fr); gap: 16px; flex: 1; min-height: 0; min-width: 0;
}
.app-center-categories {
display: flex !important; flex-direction: column; gap: 3px; min-width: 0;
padding: 7px; border: 1px solid var(--line); border-radius: 10px;
background: var(--surface); overflow: auto;
}
.app-center-categories .button {
flex: none; justify-content: flex-start !important; text-align: left !important;
white-space: normal !important; overflow-wrap: anywhere; font-size: 13px !important;
padding: 7px 9px !important; background: transparent !important; border-color: transparent !important;
}
.app-center-categories .button:hover { background: var(--raised) !important; }
.app-center-categories .button[aria-pressed=true] {
color: var(--accent) !important; background: var(--accent-bg) !important;
border-color: var(--line-hover) !important;
}
@container app-center (max-width: 520px) {
.app-center-catalog { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 12px; }
.app-center-categories { flex-direction: row !important; overflow: auto hidden; }
.app-center-categories .button { white-space: nowrap !important; }
.app-center-detail-header, .app-center-context-filter { flex-wrap: wrap; }
}
.app-center-section-heading{display:flex!important;align-items:center;justify-content:space-between;flex-shrink:0}
.app-center-app-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,245px),1fr));gap:14px;flex-shrink:0;min-width:0}
.app-center-app-card{display:flex!important;min-width:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface);transition:border-color .12s,box-shadow .12s}
.app-center-app-card:hover{border-color:var(--line-hover);box-shadow:0 6px 18px #00000013}
.app-center-card-open{display:flex!important;flex-direction:column;align-items:stretch!important;text-align:left!important;white-space:normal!important;gap:14px!important;min-width:0;width:100%;padding:18px 18px 12px!important;background:transparent!important;border:0!important;border-radius:0!important;color:var(--text)!important}
.app-center-card-open:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
.app-center-card-identity{display:flex!important;align-items:center;gap:12px;min-width:0}
.app-center-card-identity>div{gap:3px;min-width:0}
.app-center-app-icon{display:flex!important;align-items:center;justify-content:center;flex:0 0 48px!important;width:48px;height:48px;border-radius:12px;font:600 23px/1 'Segoe UI',sans-serif!important;letter-spacing:-1px;color:#fff;box-shadow:inset 0 1px #ffffff25}
.app-center-color-green{background:#218447}.app-center-color-mint{background:#1d7f69}.app-center-color-red{background:#b6414d}.app-center-color-blue{background:#376f9f}.app-center-color-teal{background:#317a83}.app-center-color-orange{background:#b75f2f}.app-center-color-cyan{background:#238298}.app-center-color-purple{background:#7556ac}
.app-center-app-icon.small{flex-basis:38px!important;width:38px;height:38px;border-radius:10px;font-size:18px!important}
.app-center-card-name{font-size:16px!important;font-weight:600;line-height:1.35}
.app-center-card-category{font-size:12px!important;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.app-center-card-summary{font-size:13px!important;font-weight:400;line-height:1.6;min-height:42px;color:var(--muted)}
.app-center-card-footer{display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding:0 18px 16px;flex-shrink:0}
.app-center-installed-badge{font-size:12px;color:var(--muted)}
.app-center-install-button{color:var(--accent)!important;background:var(--accent-bg)!important;border-color:transparent!important;min-width:76px}
.app-center-detail-header>.app-center-install-button{align-self:center}
.app-center-empty{padding:48px 16px;color:var(--muted);text-align:center;font-size:14px}
.app-center-context-filter{display:flex!important;align-items:center;justify-content:space-between;gap:12px;background:var(--accent-bg);border-radius:8px;padding:8px 12px;flex-shrink:0}
.app-center-back{align-self:flex-start;background:transparent!important;border-color:transparent!important;color:var(--muted)!important}
.app-center-back .glyph-chevron-right{transform:rotate(180deg)}
.app-center-detail-header{display:flex!important;align-items:flex-start;gap:20px;padding:18px 0 24px;border-bottom:1px solid var(--line);flex-shrink:0}
.app-center-detail-header>.app-center-app-icon{flex-basis:80px!important;width:80px;height:80px;font-size:38px!important;border-radius:19px}
.app-center-detail-identity{flex:1;gap:5px;min-width:0}
.app-center-detail-name{font-size:28px;font-weight:600;line-height:1.2}
.app-center-detail-summary{font-size:15px;margin-top:8px}
.app-center-detail-section{gap:12px;padding:12px 0;flex-shrink:0}
.app-center-detail-uses{font-size:15px;line-height:1.8}
.app-center-website{font-size:14px;color:var(--accent);overflow-wrap:anywhere}
.app-center-inventory-toolbar{display:flex!important;align-items:center;gap:14px;flex-wrap:wrap;flex-shrink:0}
.app-center-inventory-toolbar>.section-title{flex:1}
.app-center-inventory-toolbar>.icon-button{display:none!important}
.app-center-inventory-list{display:flex!important;min-height:0;gap:8px}
.app-center-installed-row{display:flex!important;align-items:center;gap:14px;border:1px solid var(--line);border-radius:10px;padding:12px 14px;flex-shrink:0;min-width:0;flex-wrap:wrap;background:var(--surface)}
.app-center-installed-name{gap:3px;min-width:150px;flex:1;font-weight:500}
.app-center-installed-name>.subtle{font-size:12px;font-weight:400}
.app-center-source-badge{font-size:12px;padding:3px 8px;border:1px solid var(--line);border-radius:6px;white-space:nowrap}
.app-center-installed-version{font-size:12px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.app-center-installed-actions{display:flex!important;gap:6px;flex-shrink:0}
.app-center-installed-actions .button{font-size:12px!important}
.install-app-heading{display:flex!important;align-items:center;gap:14px;padding-bottom:15px;border-bottom:1px solid var(--line)}
.install-app-heading>div{gap:5px}
.install-app-name{font-size:21px;font-weight:600}
.install-method-heading{font-size:13px;font-weight:500;margin-top:6px}
.install-sources{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.install-source-card{display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:flex-start!important;gap:7px;white-space:normal!important;text-align:left;padding:14px!important;min-height:114px}
.install-source-card>.action-icon{width:20px;height:20px}
.install-source-card[aria-pressed=true]{border-color:var(--accent)!important;background:var(--accent-bg)!important}
.install-source-name{font-size:13px;font-weight:600}
.install-source-note{font-size:12px;font-weight:400;color:var(--muted);overflow-wrap:anywhere;line-height:1.5}
.install-package-name{padding:10px 12px;background:var(--input);border:1px solid var(--line);border-radius:7px;font:13px/1.5 monospace}
@media(max-width:1050px){.app-center-custom-install{font-size:0!important;gap:0!important}.app-center-custom-install>.action-icon{font-size:14px}.app-center-toolbar{gap:7px}}
@media(max-width:720px){.app-center-app-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,215px),1fr))}.app-center-detail-header{gap:12px}.app-center-installed-version{max-width:120px}}
.app-center-card-open{display:grid!important;grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:12px!important;row-gap:4px!important}
.app-center-card-open>.app-center-app-icon{grid-column:1;grid-row:1/3}.app-center-card-name{grid-column:2;grid-row:1;align-self:end}.app-center-card-category{grid-column:2;grid-row:2;align-self:start}.app-center-card-summary{grid-column:1/-1;grid-row:3;margin-top:9px}
/* One shared workspace header and one address row for desktop Files. */
.page-header.workspace-header {
height: 44px;
min-height: 44px;
padding: 0 12px;
gap: 9px;
justify-content: flex-start;
background: var(--nav-bg);
}
.workspace-header .page-header-title {
font-size: 13px;
flex: 0 1 auto;
max-width: min(24%, 210px);
padding-inline-end: 10px;
border-inline-end: 1px solid var(--line);
}
.workspace-header .workbench-tabs {
flex: 1 1 0%;
min-width: 0;
min-height: 0;
align-items: center;
border: 0;
padding: 2px 0;
background: transparent;
scrollbar-width: none;
}
.workspace-header .workbench-tab {
height: 34px;
min-width: 0;
border: 1px solid transparent;
border-radius: 7px;
}
.workspace-header .workbench-tab.active { border-color: var(--line); }
.workspace-header .workbench-tab.active::after { display: none; }
.workspace-header .workbench-tab-select { gap: 6px; min-height: 30px !important; padding: 4px 8px !important; }
.workspace-header .workbench-tab-close { margin-right: 3px; }
.workspace-header .connection-controls { gap: 7px; }
.workspace-header .connection-button { min-height: 29px !important; padding: 3px 8px !important; }
.desktop-menubar-title { margin-right: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desktop-menubar .connection-target { color: #c5ddeb; }
.desktop-menubar .desktop-secure { margin-left: 0; }
.desktop-app-tools {
display: flex;
align-items: center;
gap: 6px;
margin-left: auto;
flex: none;
}
.desktop-window-titlebar:has(.desktop-app-tools) .desktop-window-actions { margin-left: 0; }
.files-titlebar {
container: files-toolbar / inline-size;
position: relative;
gap: 5px;
height: 40px;
min-height: 40px;
padding-inline: 10px 6px;
}
.files-titlebar:has(.files-search-options) { z-index: 2; }
.files-titlebar > .desktop-window-title { flex: none; margin-inline-end: 4px; }
.files-window-tools { flex: 1; min-width: 0; gap: 3px; margin-left: 0; }
.files-window-tools:not(:has(.pathbar)) { flex: none; margin-left: auto; }
.files-window-tools .icon-button {
flex: none;
width: 28px !important;
min-width: 28px !important;
height: 28px !important;
min-height: 28px !important;
padding: 5px !important;
}
@container files-toolbar (max-width: 620px) {
.files-titlebar:has(.pathbar) > .desktop-window-title {
position: absolute;
width: 1px;
height: 1px;
clip-path: inset(50%);
pointer-events: none;
}
.files-window-tools :is(.path-copy, .path-refresh, .view-switch) { display: none !important; }
.files-window-tools .pathbar:has(.files-search-field) .files-history { display: none !important; }
}
@container files-toolbar (max-width: 420px) {
.files-titlebar:has(.pathbar) > .desktop-window-mark,
.files-search-field > .folder-search-icon { display: none !important; }
.files-window-tools .icon-button { width: 24px !important; min-width: 24px !important; }
}
.breadcrumb {
flex: none !important;
min-height: 32px !important;
padding: 0 8px !important;
border: 0 !important;
background: transparent !important;
color: var(--muted) !important;
font-size: var(--font-body) !important;
white-space: nowrap !important;
}
.breadcrumb.current { color: var(--text) !important; font-weight: 600; }
.breadcrumbs .glyph-chevron-right {
flex: none;
width: 18px;
height: 18px;
color: var(--muted);
}
.breadcrumb:enabled:is(:hover, :focus-visible) {
background: var(--accent-bg) !important;
color: var(--accent) !important;
cursor: pointer;
}
.breadcrumb:enabled:focus-visible { outline: 1px solid var(--accent); outline-offset: -2px; }
.files-window-tools .pathbar { position: relative; flex: 1; min-width: 0; gap: 3px; padding: 0; flex-wrap: nowrap; }
.files-window-tools .path-location { min-width: 46px; }
.files-history { display: flex; align-items: center; gap: 2px; flex: none; }
.files-history-back .glyph-chevron-right { transform: rotate(180deg); }
.folder-search-icon { position: relative; display: flex; width: 18px; height: 17px; flex: none; }
.folder-search-icon .glyph-folder { width: 15px; height: 15px; }
.folder-search-icon .glyph-search { position: absolute; inset: auto 0 0 auto; width: 11px; height: 11px; }
.files-search-toggle { position: relative; }
.files-search-toggle > .glyph-folder { width: 15px; height: 15px; }
.files-search-toggle > .glyph-search { position: absolute; right: 4px; bottom: 3px; width: 11px; height: 11px; }
.files-search-toggle[aria-pressed="true"],
.files-search-options-toggle[aria-pressed="true"],
.files-search-options-toggle.filtered { background: var(--accent-bg) !important; color: var(--accent) !important; }
.files-search-field {
display: flex; align-items: center; gap: 4px; min-width: 0; min-height: 34px; padding-inline: 7px 3px;
color: var(--muted); background: var(--input); border: 1px solid var(--line); border-radius: 5px;
}
.files-search-field:focus-within { border-color: var(--accent); }
.files-window-tools .pathbar:has(.files-search-field) :is(.files-favorite, .path-copy, .path-refresh, .view-switch) { display: none !important; }
.files-search-field .files-search-input {
flex: 1; min-width: 24px; width: 100%; min-height: 30px !important; height: 30px !important;
padding: 0 3px !important; border: 0 !important; box-shadow: none !important; background: transparent !important;
}
.files-search-options {
position: absolute; z-index: 61; inset: calc(100% - 3px) 8px auto auto;
display: flex; flex-direction: column; gap: 9px; width: min(344px, calc(100% - 16px));
max-height: min(380px, calc(var(--app-window-height, 400px) - 100px)); overflow: auto;
padding: 12px; border: 1px solid var(--line-hover); border-radius: 9px;
background: var(--surface); box-shadow: 0 10px 28px #0005;
}
.files-search-options-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.files-search-options .section-title { font-size: var(--font-label); }
.files-filter-choice[aria-pressed="true"] {
border-color: var(--accent) !important; background: var(--accent-bg) !important; color: var(--accent) !important;
}
.files-pane:has(.files-search-field) .file-expander { visibility: hidden; }
.files-path-actions { display: flex; align-items: center; flex: none; gap: 2px; }
.files-path-actions .view-switch { margin: 0 2px; }
.files-pane .file-header { height: 29px; }
.files-pane .file-header button { height: 27px !important; }
.files-pane .file-information { flex-direction: row !important; align-items: center; gap: 12px; padding: 5px 10px; }
.files-pane .file-information-title { min-width: 0; }
.files-pane .file-information-metadata { min-width: 0; margin-left: auto; }
.files-pane .file-information-path { display: none; }
@media (max-width: 1100px) { .workspace-header .page-header-title { display: none; } }
@media (max-width: 850px) {
.page-header.workspace-header { gap: 5px; padding-inline: 7px; }
.workspace-header .workbench-tabs { gap: 3px; }
.workspace-header .workbench-tab-select { padding-inline: 5px !important; font-size: 12px !important; }
.workspace-header .workbench-tab-select > .action-glyph { display: none; }
}
@media (max-width: 720px) {
.workspace-header .connection-state, .monitor-sampling-interval { display: none; }
}
/* Floating desktop windows and Files locations. */
.desktop-window[data-positioned] {
inset: var(--app-window-y) auto auto var(--app-window-x);
width: var(--app-window-width);
height: var(--app-window-height);
}
.desktop-window-titlebar { max-width: var(--desktop-work-width, 100%); user-select: none; touch-action: none; cursor: default; }
.desktop-window-titlebar button, .desktop-window-titlebar input { cursor: auto; }
/* Leave room to grab either end of a partially visible titlebar. */
.desktop-window[data-window-overhang] > .desktop-window-titlebar { padding-inline: 16px; }
.desktop-window[data-window-dragging] { user-select: none; }
.desktop-resize-handle { position: absolute; z-index: 1; touch-action: none; }
.desktop-window.maximized .desktop-resize-handle { display: none; }
.desktop-resize-handle.edge-n, .desktop-resize-handle.edge-s { left: 10px; right: 10px; height: 5px; cursor: ns-resize; }
.desktop-resize-handle.edge-e, .desktop-resize-handle.edge-w { top: 10px; bottom: 10px; width: 5px; cursor: ew-resize; }
.desktop-resize-handle.edge-ne, .desktop-resize-handle.edge-nw,
.desktop-resize-handle.edge-se, .desktop-resize-handle.edge-sw { width: 10px; height: 10px; }
.desktop-resize-handle.edge-ne, .desktop-resize-handle.edge-sw { cursor: nesw-resize; }
.desktop-resize-handle.edge-nw, .desktop-resize-handle.edge-se { cursor: nwse-resize; }
.desktop-resize-handle.edge-n, .desktop-resize-handle.edge-ne, .desktop-resize-handle.edge-nw { top: 0; }
.desktop-resize-handle.edge-s, .desktop-resize-handle.edge-se, .desktop-resize-handle.edge-sw { bottom: 0; }
.desktop-resize-handle.edge-e, .desktop-resize-handle.edge-ne, .desktop-resize-handle.edge-se { right: 0; }
.desktop-resize-handle.edge-w, .desktop-resize-handle.edge-nw, .desktop-resize-handle.edge-sw { left: 0; }
.files-body { display: flex; flex: 1; min-height: 0; min-width: 0; }
.files-sidebar {
display: flex;
flex: 0 0 clamp(106px, 17%, 178px);
min-width: 0;
min-height: 0;
gap: 3px;
padding: 9px 6px;
overflow: auto;
background: color-mix(in srgb, var(--surface) 86%, var(--accent-bg));
border-inline-end: 1px solid var(--line);
}
.files-sidebar-heading { padding: 8px 6px 3px; color: var(--muted); font-size: 12px; font-weight: 600; flex: none; }
.files-place {
display: flex !important;
align-items: center;
justify-content: flex-start !important;
min-width: 0 !important;
min-height: 29px !important;
gap: 6px !important;
padding: 4px 6px !important;
border-radius: 6px !important;
background: transparent !important;
border-color: transparent !important;
color: var(--text) !important;
text-align: left !important;
font-size: 13px !important;
font-weight: 500 !important;
flex-shrink: 0;
}
.files-place:hover { background: var(--raised) !important; }
.files-place[aria-pressed=true] { background: var(--accent-bg) !important; color: var(--accent) !important; }
.files-place .action-glyph { width: 15px; height: 15px; flex: none; color: var(--accent); }
.files-place span:not(.action-glyph):not(.folder-color-dot) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files-favorite-row { display: flex; align-items: center; min-width: 0; gap: 2px; flex-shrink: 0; }
.files-favorite-row .files-place { flex: 1; }
.files-favorite-row .files-favorite-remove { width: 22px !important; min-width: 22px !important; height: 24px !important; padding: 4px !important; }
.files-favorite-remove { opacity: .65; }
.files-favorite-remove:hover, .files-favorite-remove:focus-visible { opacity: 1; }
.files-favorite .glyph-star-filled, .files-favorite[aria-pressed=true] .glyph-star { display: none; }
.files-favorite[aria-pressed=true] .glyph-star-filled { display: inline-block; color: var(--accent); }
.files-sidebar-toggle[aria-pressed=true] { background: var(--raised) !important; }
.folder-color-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; background: var(--folder-tag); }
.file-name:not(.file-tagged) > .folder-color-dot { display: none; }
.file-name.file-tagged > .glyph-folder.file-entry-icon { color: var(--folder-tag); }
.files-favorites { position: relative; display: flex; flex-direction: column; gap: 2px; flex: none; min-height: 51px; padding-bottom: 6px; }
.files-favorite-row { position: relative; }
.files-favorite-row[data-favorite-drop]::after, .files-favorites[data-favorite-drop=append]::after {
content: ''; position: absolute; z-index: 1; left: 4px; right: 4px; height: 2px;
border-radius: 2px; background: var(--accent); pointer-events: none;
}
.files-favorite-row[data-favorite-drop=before]::after { top: -1px; }
.files-favorite-row[data-favorite-drop=after]::after { bottom: -1px; }
.files-favorites[data-favorite-drop=append]::after { bottom: 1px; }
.files-tag-link > .folder-color-dot { margin-inline: 3px 4px; }
.tag-all { --folder-tag: conic-gradient(#ee646b, #ed9251, #dba928, #46af72, #4299eb, #b276dd, #ee646b); }
.files-tags-view { display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 0; }
.files-tags-toolbar { display: flex; align-items: center; flex: none; gap: 8px; min-height: 39px; padding: 5px 10px; border-bottom: 1px solid var(--line); font-weight: 600; }
.files-tags-list { overflow: auto; min-height: 0; padding: 5px 10px; }
.files-tags-empty { padding: 14px 6px; }
.files-tag-result { display: flex; align-items: center; gap: 4px; min-width: 0; border-bottom: 1px solid var(--file-row-line); }
.files-tag-item { display: grid !important; grid-template-columns: 8px minmax(0, 1fr); column-gap: 10px; row-gap: 1px; flex: 1; min-width: 0; padding-block: 6px !important; }
.files-tag-item > .folder-color-dot { grid-row: span 2; }
.files-tag-item-path { grid-column: 2; font-size: var(--font-small); }
.tag-red { --folder-tag: #ee646b; }
.tag-orange { --folder-tag: #ed9251; }
.tag-yellow { --folder-tag: #dba928; }
.tag-green { --folder-tag: #46af72; }
.tag-blue { --folder-tag: #5b99ec; }
.tag-purple { --folder-tag: #a580eb; }
.tag-gray { --folder-tag: #8c97a5; }
.file-color-menu { display: flex; align-items: center; flex-wrap: wrap; gap: 1px; padding: 3px 2px; }
.file-color-menu .file-color-swatch {
display: grid !important; place-items: center; flex: none; width: 24px; height: 25px;
min-width: 24px; min-height: 0; padding: 0 !important; border: 1px solid transparent !important;
border-radius: 5px !important; color: var(--muted) !important; background: transparent !important;
}
.file-color-swatch .folder-color-dot { width: 13px; height: 13px; }
.file-color-menu .file-color-swatch:hover:not(:disabled),
.file-color-menu .file-color-swatch:focus-visible { background: var(--raised) !important; border-color: var(--line-hover) !important; }
.file-color-menu .file-color-swatch[aria-pressed=true] .folder-color-dot { outline: 1px solid var(--text); outline-offset: 2px; }
.file-color-clear .action-glyph { width: 12px; height: 12px; min-width: 0; min-height: 0; }
.desktop-context-menu .file-appearance-menu {
border-block: 1px solid var(--line); padding-block: 4px; margin-block: 2px;
}
.action-glyph.folder-custom-mark,
.desktop-file .desktop-app-icon.folder-custom-mark::before { mask-image: var(--folder-icon-mask); }
.file-folder-symbol { color: var(--accent); }
.desktop-file .desktop-tagged { position: relative; }
.desktop-file .desktop-tagged::after {
content: ''; position: absolute; inset: 4px 4px auto auto; width: 8px; height: 8px;
background: var(--folder-tag); border-radius: 50%; box-shadow: 0 0 0 1px var(--surface);
}
.folder-customize-preview { display: flex; gap: 12px; align-items: center; }
.folder-icon-preview {
display: grid !important; place-items: center; width: 46px; height: 46px; flex: none;
border: 1px solid var(--line); border-radius: 10px; background: var(--raised);
color: var(--folder-tag, var(--accent));
}
.folder-icon-preview .action-glyph { width: 25px; height: 25px; }
.folder-customize-name { gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.folder-icon-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.folder-icon-search { position: relative; flex: 1 1 155px; min-width: 0; }
.folder-icon-search input { width: 100%; min-width: 0; padding-inline-start: 34px !important; }
.folder-icon-search .action-glyph {
position: absolute; inset-inline-start: 10px; top: 50%; transform: translateY(-50%); color: var(--muted);
}
.folder-icon-styles {
display: flex; gap: 3px; padding: 3px; border: 1px solid var(--line);
border-radius: 7px; background: var(--input);
}
.folder-icon-styles .folder-icon-style {
min-height: 27px; padding: 3px 10px !important; border: 1px solid transparent !important;
background: transparent !important; color: var(--muted) !important;
}
.folder-icon-styles .folder-icon-style[aria-pressed=true] {
background: var(--accent-bg) !important; color: var(--text) !important;
}
.folder-icon-gallery {
display: flex; flex-direction: column; gap: 12px; block-size: min(315px, 39vh);
min-height: 104px; overflow-y: auto; scrollbar-gutter: stable; padding: 10px 2px 2px;
border-top: 1px solid var(--line);
}
.folder-icon-group { flex: none; gap: 5px; }
.folder-icon-group-label { color: var(--muted); font-size: var(--font-small); font-weight: 600; }
.folder-icon-options { display: grid !important; grid-template-columns: repeat(auto-fill, 40px); gap: 4px; }
.folder-icon-options .folder-icon-option {
display: grid !important; place-items: center; width: 40px; height: 36px;
min-width: 0; min-height: 0; padding: 0 !important; border: 1px solid transparent !important;
border-radius: 7px; background: transparent !important; color: var(--muted) !important;
}
.folder-icon-option .action-glyph { width: 22px; height: 22px; }
.folder-icon-options .folder-icon-option:hover:not(:disabled) {
background: var(--raised) !important; color: var(--text) !important;
}
.folder-icon-options .folder-icon-option:focus-visible,
.folder-icon-styles .folder-icon-style:focus-visible { outline: 1px solid var(--accent); outline-offset: -1px; }
.folder-icon-options .folder-icon-option[aria-pressed=true] {
background: var(--accent-bg) !important; border-color: var(--accent) !important; color: var(--accent) !important;
}
.folder-icon-empty { align-self: center; margin-block: auto; color: var(--muted); font-size: var(--font-label); }
/* Desktop window motion uses snapshots of the window, with the dock still live. */
.desktop-motion-state { display: none !important; }
html.desktop-motion { view-transition-name: none; }
::view-transition { pointer-events: none; }
.desktop-motion::view-transition { clip-path: inset(var(--desktop-frame-inset, 0px)); }
::view-transition-group(arcnix-desktop-window) {
animation-duration: 240ms;
animation-timing-function: cubic-bezier(.22,.82,.25,1);
}
::view-transition-image-pair(arcnix-desktop-window) { isolation: isolate; }
::view-transition-old(arcnix-desktop-window), ::view-transition-new(arcnix-desktop-window) { mix-blend-mode: normal; }
::view-transition-old(arcnix-desktop-window) { animation: desktop-window-fade-out 160ms ease-out both; }
::view-transition-new(arcnix-desktop-window) { animation: desktop-window-enter 240ms cubic-bezier(.18,.86,.24,1) both; }
.desktop-motion-switch::view-transition-new(arcnix-desktop-window) { animation-name: desktop-window-switch; animation-duration: 200ms; }
.desktop-motion-switch::view-transition-old(arcnix-desktop-window) { animation-name: desktop-window-slide-out; }
.desktop-motion-minimize::view-transition-old(arcnix-desktop-window) {
animation: desktop-window-minimize 230ms cubic-bezier(.3,.1,.42,1) both;
transform-origin: 50% 65%;
}
.desktop-motion-close::view-transition-old(arcnix-desktop-window) { animation-name: desktop-window-close; animation-duration: 180ms; }
.desktop-motion-resize::view-transition-new(arcnix-desktop-window) { animation-name: desktop-window-fade-in; }
.desktop-shortcut .desktop-app-icon { transition: transform 170ms cubic-bezier(.2,.75,.25,1); }
@media (hover: hover) {
.desktop-shortcut:hover .desktop-app-icon { transform: scale(1.04); }
}
@keyframes desktop-window-enter {
from { opacity: 0; transform: translate(var(--desktop-motion-x, 0px), var(--desktop-motion-y, 32px)) scale(.88); }
to { opacity: 1; transform: none; }
}
@keyframes desktop-window-switch { from { opacity: 0; transform: translateX(20px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes desktop-window-slide-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(-12px); } }
@keyframes desktop-window-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes desktop-window-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes desktop-window-minimize {
from { opacity: 1; transform: none; }
to { opacity: 0; transform: translate(var(--desktop-motion-x, 0px), var(--desktop-motion-y, 62px)) scale(.76); }
}
@keyframes desktop-window-close { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(12px) scale(.93); } }
@media (prefers-reduced-motion: reduce) {
::view-transition-group(arcnix-desktop-window), ::view-transition-old(arcnix-desktop-window), ::view-transition-new(arcnix-desktop-window) { animation: none !important; }
.desktop-shortcut .desktop-app-icon, .desktop-dock-app .desktop-app-icon { transition: none !important; }
.desktop-shortcut:hover .desktop-app-icon, .desktop-dock-app:hover .desktop-app-icon { transform: none; }
}
.desktop-transfers {
display: flex;
flex: none;
align-items: center;
gap: 4px;
}
.desktop-transfers .transfer-progress-button {
display: grid;
grid-template-columns: 14px 22px auto;
align-items: center;
gap: 4px;
height: 26px;
min-height: 26px;
padding: 2px 5px;
border-radius: 5px;
}
.desktop-transfers .action-glyph { width: 14px; height: 14px; flex: none; }
.transfer-summary-track, .transfer-summary-fill { grid-row: 1; grid-column: 2; height: 3px; border-radius: 3px; }
.transfer-summary-track { width: 22px; height: 3px; border-radius: 3px; overflow: hidden; background: var(--line); }
.transfer-summary-fill { justify-self: start; background: var(--accent); }
.transfer-summary-percent { min-width: 3ch; text-align: end; font-size: var(--font-small); font-variant-numeric: tabular-nums; }
.desktop-menubar .transfer-progress-button { color: inherit; }
.files-download-drop { display: none !important; }
html[data-files-downloading] .files-download-drop {
display: flex !important;
align-items: center;
gap: 4px;
height: 27px;
padding-inline: 6px;
border: 1px dashed var(--accent);
border-radius: 5px;
color: var(--text);
background: var(--raised);
font-size: var(--font-small);
white-space: nowrap;
}
.transfer-progress-modal {
width: min(760px, 100%);
}
.transfer-progress-modal .modal-body {
display: flex;
flex-direction: column;
min-height: 0;
padding: 0;
}
.transfer-progress-modal .queue-list { max-height: min(390px, 50dvh); }
@media (max-width: 950px) {
.desktop-transfers .transfer-progress-button { grid-template-columns: 14px 14px auto; }
.desktop-transfers .transfer-summary-track { width: 14px; }
}
@media (max-width: 720px) {
.desktop-transfers .transfer-progress-button { grid-template-columns: 14px 14px; }
.desktop-transfers .transfer-summary-percent { display: none; }
}
.app-browser { --tile-tint: #3e9ac5; --tile-shade: #155777; }
.app-browser .desktop-app-icon { color: #e7fbff; }
.app-browser > .desktop-window-titlebar > .desktop-window-title { display: none; }
.app-browser > .desktop-window-content { padding: 0; }
.browser-toolbar { display: flex; align-items: center; gap: 4px; min-width: 0; flex: 1; }
.browser-toolbar > .icon-button { width: 28px !important; height: 28px !important; min-width: 28px !important; flex: none; }
.browser-toolbar .browser-back .action-glyph { transform: rotate(180deg); }
.browser-toolbar .browser-address {
height: 28px;
min-width: 24px;
flex: 1;
margin-inline: 3px;
padding: 3px 8px !important;
font-size: var(--font-label);
}
.browser-star.saved .action-glyph { color: #d99b20; }
.browser-page { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.browser-tabs {
position: relative;
display: flex;
align-items: stretch;
flex: none;
gap: 3px;
min-height: 34px;
padding: 3px 6px 0;
background: var(--surface);
border-bottom: 1px solid var(--line);
}
.browser-tab-strip { display: flex; align-items: stretch; min-width: 0; overflow: auto hidden; scrollbar-width: none; }
.browser-tab { display: flex; align-items: center; max-width: 220px; min-width: 82px; flex: 0 1 180px; border: 1px solid transparent; border-radius: 6px 6px 0 0; }
.browser-tab.active { background: var(--panel); border-color: var(--line); border-bottom-color: transparent; }
.browser-tab-label { min-width: 0; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: start; font-size: var(--font-label); }
.browser-close-tab { flex: none; min-width: 25px !important; }
.browser-tab .browser-close-tab:not(:hover) { color: var(--muted); }
.browser-bookmark-panel { max-height: 170px; overflow: auto; flex: none; padding: 5px 8px; border-bottom: 1px solid var(--line); }
.browser-bookmark-row { display: flex; align-items: center; gap: 5px; }
.browser-bookmark-link { min-width: 0; flex: 1; text-align: start; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser-surface { flex: 1; min-height: 0; min-width: 0; position: relative; display: grid !important; place-items: center; overflow: hidden; }
.browser-start { display: flex; flex-direction: column; align-items: center; gap: 9px; color: var(--muted); }
.browser-start .action-glyph { width: 36px; height: 36px; color: var(--accent); }
.browser-error-panel { display: flex; flex-direction: column; align-items: center; gap: 10px; width: min(94%, 520px); max-height: 100%; overflow: auto; padding: 12px; text-align: center; }
.browser-error { white-space: pre-wrap; overflow-wrap: anywhere; }
.browser-error-panel .choice-list { justify-content: center; }
.browser-diagnostic:empty { display: none; }
.browser-resource-warning { flex: none; display: flex; flex-direction: column; padding: 4px 10px; border-bottom: 1px solid var(--line); background: var(--surface); }
.browser-resource-warning-row { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.browser-page:has(.browser-surface.loading) .browser-tabs::after { content: ''; position: absolute; inset: 0 auto auto 0; width: 32%; height: 2px; background: var(--accent); }
.app-player { --tile-tint: #795db8; --tile-shade: #4a376f; }
.app-player > .desktop-window-content { padding: 0; }
.remote-player { display: flex; flex: 1; flex-direction: column; min-height: 0; min-width: 0; overflow: clip; }
.remote-player-screen { flex: 1; min-height: 0; min-width: 0; overflow: clip; position: relative; background: #080a0d; }
.remote-player:has(.player-idle) .remote-player-screen { display: none !important; }
.player-idle { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #101116; color: #ebeaf7; }
.player-idle-stage {
display: flex; flex: 1; min-height: 0; align-items: center; justify-content: center; gap: 8px;
background: radial-gradient(ellipse at 50% 46%, #343044 0%, #1c1c29 40%, #101116 80%);
}
.player-open-disc {
display: grid !important; place-items: center; width: clamp(52px, 9vh, 84px); aspect-ratio: 1;
padding: 0 !important; margin-bottom: 6px; border-radius: 50% !important;
border: 1px solid #817393 !important; background: #454052 !important; color: #f2ebff !important;
box-shadow: 0 8px 28px #0b0b134d;
}
.player-open-disc:hover { background: #595066 !important; }
.player-open-disc .action-glyph { width: 42%; height: 42%; margin-left: 4%; }
.player-idle-title { font-size: 19px; font-weight: 600; line-height: 1.2; }
.player-clock { font-size: 12px; color: #bbb6ca; font-variant-numeric: tabular-nums; }
.player-idle-controls { flex: none; gap: 9px; padding: 12px 18px; background: #191a21; }
.player-empty-timeline { height: 3px; border-radius: 3px; background: #43444e; }
.player-idle-transport { align-items: center; gap: 12px; }
.player-idle-transport > .action-glyph { color: #878391; width: 16px; height: 16px; }
.player-browse { margin-left: auto; background: #35313f !important; color: #eee9fa !important; border: 1px solid #57515e !important; }
.desktop-modal-backdrop .file-picker-dialog {
container-type: inline-size;
width: min(632px, 100%); height: min(500px, 100%);
min-width: min(440px, 100%); min-height: min(320px, 100%);
resize: both;
}
.file-picker-dialog .modal-body { flex: 1; padding: 0; overflow: hidden; }
.file-picker-browser { display: flex; flex: 1; flex-direction: column; min-height: 0; min-width: 0; }
.file-picker-browser .pathbar { flex-wrap: nowrap; padding: 8px 12px; }
.file-picker-browser > .files-body { border-block-start: 1px solid var(--line); }
.file-picker-browser .files-sidebar { flex-basis: clamp(112px, 24%, 148px); }
.file-picker-list-pane { flex: 1; min-width: 0; min-height: 0; }
.file-picker-browser .file-header, .file-picker-browser .file-picker-row { padding-inline: 16px; }
.file-picker-browser .file-header { height: 29px; border-block-start: 0; font-size: var(--font-small); color: var(--muted); background: var(--raised); }
.file-picker-row > .file-name { color: var(--text); background: transparent; border: 0; }
.file-picker-row:hover { background: var(--raised) !important; }
.file-picker-row.row-selected { background: var(--accent-bg) !important; }
.file-picker-message { margin: auto; padding: 18px; color: var(--muted); font-size: var(--font-small); overflow-wrap: anywhere; }
.file-picker-message:empty { display: none; }
.file-picker-dialog .modal-footer { gap: 8px 14px; padding-inline: 14px; }
.file-picker-filter { position: relative; margin-inline-end: auto; min-width: 0; }
.file-picker-formats {
position: absolute; z-index: 1; inset: auto auto calc(100% + 6px) 0;
width: calc(100cqw - 28px); max-height: min(290px, 52vh); overflow: auto; gap: 8px;
padding: 8px; border: 1px solid var(--line-hover); border-radius: 6px;
background: var(--surface); box-shadow: 0 8px 20px #0004;
}
.file-picker-custom-format { display: flex; gap: 6px; }
.file-picker-custom-format > input { flex: 1; min-width: 0; }
.file-picker-actions { display: flex; gap: 8px; }
.remote-player-screen video { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none !important; object-fit: contain; }
.player-feedback {
position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); z-index: 1;
display: grid !important; place-items: center; width: 56px; height: 56px; border-radius: 50%;
background: #101010b8; color: #fff; pointer-events: none;
}
.remote-player-screen:not(:has(video)) .player-feedback,
.player-feedback:not([data-symbol="play"], [data-symbol="pause"]),
.player-feedback:not([data-symbol="play"]) .glyph-play,
.player-feedback:not([data-symbol="pause"]) .glyph-pause { display: none !important; }
.player-feedback .action-glyph { width: 28px; height: 28px; }
.mpv-control-bar { display: flex; flex: 1; gap: 12px; align-items: center; padding: 7px 12px; min-width: 0; }
.mpv-control-bar output { white-space: nowrap; font-variant-numeric: tabular-nums; }
.mpv-control-bar input { height: 25px; padding: 0; accent-color: var(--accent); }
.mpv-play { width: 32px; height: 30px; }
.mpv-seek { flex: 1; min-width: 0; }
.mpv-volume { max-width: 76px; }
.remote-player-status, .remote-player-error { padding: 12px 14px; overflow-wrap: anywhere; }
.remote-player-status:empty, .remote-player-error { display: none; }
.remote-player:has(.playback-failed) .remote-player-error { display: block; color: var(--danger); }
.file-row:has(.file-inline-name) .file-label { display: none; }
.details-view .file-row:has(.file-inline-name) .file-name { flex: none; margin: 0; }
.file-inline-name { flex: 1; min-width: 0; width: 100%; height: 28px; padding-inline: 4px; font: inherit; user-select: text; }
.icons-view .file-inline-name { flex: none; text-align: center; }
.trash-panel, .trash-items, .trash-details { display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 0; }
.trash-panel { padding: 12px; flex: 1; overflow: auto; }
.trash-items { overflow: auto; }
.trash-details { flex: 1; }
.trash-item, .trash-confirm, .trash-controls { display: flex; align-items: center; gap: 8px; }
.trash-item { padding: 8px 0; border-bottom: 1px solid var(--line); }
.trash-original, .trash-confirm { overflow-wrap: anywhere; white-space: pre-wrap; }
.trash-error { color: var(--danger); }
.trash-error:empty, .trash-status:empty { display: none; }
.app-files > .desktop-window-content { padding: 0; }
.files-window-content { container: files-toolbar / inline-size; display: flex; flex-direction: column; flex: 1; min-height: 0; }
.files-tabs {
display: flex; align-items: center; flex: 1 1 0; gap: 4px;
min-width: 0; height: 100%; padding-inline: 4px; overflow-x: auto;
scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.files-tab {
display: flex; align-items: center; flex: 0 0 auto; gap: 4px;
min-width: 64px; max-width: 184px; height: 30px; padding-inline: 8px 4px;
border: 1px solid transparent; border-radius: 8px; color: var(--muted);
}
.files-tab.selected {
background: var(--accent-bg); border-color: color-mix(in srgb, var(--accent) 25%, var(--line));
color: var(--text);
}
.files-tab:not(.selected):hover { background: var(--raised); color: var(--text); }
.files-tab-dragging { opacity: .55; }
.files-tab-drag-source {
display: flex; align-items: center; flex: 1; min-width: 0;
--gly-drag-preview-bg: var(--accent-bg);
--gly-drag-preview-text: var(--text);
--gly-drag-preview-line: var(--accent);
}
.files-trash .trash-item > [data-gly-context] { width: 100%; }
.files-trash [data-gly-layer="context-point"] {
min-width: 160px; background: var(--raised); border: 1px solid var(--line); color: var(--text);
}
.files-trash [data-gly-menu-item]:hover, .files-trash [data-gly-menu-item]:focus-visible {
background: var(--accent-bg) !important;
}
.files-tab .files-tab-select {
display: flex !important; align-items: center; flex: 1; min-width: 0; min-height: 24px;
color: inherit !important; text-align: start; user-select: none; cursor: grab;
}
.files-tab-select > * { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.files-tab .files-tab-close {
flex: none; width: 20px; min-width: 20px; height: 20px; min-height: 20px; padding: 4px !important;
}
.files-window-tools { flex: none; width: 100%; min-height: 38px; padding: 3px 8px; border-bottom: 1px solid var(--line); }
.files-window-tools:not(:has(.pathbar)) { margin-left: 0; }
.files-inactive-preview { display: flex; flex: 1; min-width: 0; flex-direction: column; overflow: auto; }
.files-inactive-path, .files-inactive-entry { padding: 6px 12px; gap: 8px; border-bottom: 1px solid var(--line); }
.files-inactive-path { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files-window-content [data-files-item-target] {
background: var(--accent-bg) !important; outline: 1px solid var(--accent); outline-offset: -1px;
}
.files-drag-ghost {
position: fixed; z-index: 10000; top: 0; left: 0; pointer-events: none;
display: flex; align-items: center; gap: 8px; max-width: 240px; min-height: 32px;
padding: 4px 9px; border: 1px solid #6481a9; border-radius: 6px;
color: #eef4ff; background: #24394f; white-space: nowrap; overflow: hidden;
}
.trash-location-tools { display: flex; align-items: center; gap: 8px; flex: 1; padding-inline-start: 4px; }
.trash-location-tools .icon-button { margin-inline-start: auto; }
.app-files .trash-panel { padding: 8px 12px; }
.app-files .files-trash { padding: 0; gap: 0; }
.files-trash :is(.trash-status, .trash-error, .trash-confirm) { padding: 8px 12px; }
.trash-empty {
display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: safe center;
gap: 16px; padding: 20px 12px; text-align: center;
}
.trash-empty .action-glyph {
width: clamp(64px, 13vh, 112px); height: clamp(64px, 13vh, 112px); color: var(--muted);
}
.trash-empty-title { color: var(--text); font-size: clamp(18px, 2.4vh, 23px); font-weight: 650; }
.files-trash .trash-items { gap: 0; }
.files-trash .trash-item { padding: 0; }
.trash-columns, .files-trash .trash-file-row {
display: grid !important; grid-template-columns: minmax(80px, 1fr) minmax(0, 1.5fr) minmax(96px, .7fr);
align-items: center; gap: 12px; width: 100%; min-height: 32px; padding: 4px 12px !important;
border-radius: 0 !important; text-align: start;
}
.trash-columns { color: var(--muted); border-bottom: 1px solid var(--line); font-size: var(--font-small); }
.files-trash .trash-file-row:hover { background: var(--raised) !important; }
.files-trash .trash-file-row:focus { background: var(--accent-bg) !important; }
.trash-file-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.trash-file-name .action-glyph { flex: none; }
.trash-file-name > :last-child, .trash-file-row .trash-original {
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* Keep text selection off controls, desktop chrome, and live monitor readouts. */
button,
[data-gly-menu-item],
.preference-check,
.page-header,
.navigation-rail,
.context-sidebar,
.modal-header,
.context-popover,
.pane-menu,
.desktop-menubar,
.desktop-wallpaper-image,
.desktop-wallpaper-copy,
.desktop-shortcuts,
.desktop-dock,
.theme-thumbnail,
.desktop-settings-tabs,
.desktop-setting-label,
.files-sidebar-heading,
.file-header,
.files-inactive-preview,
.trash-columns,
.trash-empty,
.player-idle,
.monitor-sidebar,
.monitor-content > .help-heading,
.monitor-sample-status,
.monitor-metric-grid,
.monitor-process-header,
.resource-trends {
user-select: none;
}
.connection-target,
.server-search input,
.desktop-window-titlebar input { user-select: text; }
.desktop-wallpaper-image,
:is(.desktop-dock, .desktop-shortcuts, .theme-thumbnail) img { -webkit-user-drag: none; }
.remote-editor-modal { width: 900px; }
.remote-editor { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.editor-path { font: var(--font-code)/1.5 Consolas, monospace; overflow-wrap: anywhere; }
.remote-editor-content { display: block; width: 100%; height: 48vh; min-height: 180px; padding: 12px; font: var(--font-code)/1.65 Consolas, monospace; resize: vertical; tab-size: 4; white-space: pre; overflow: auto; border: 1px solid var(--line); border-radius: 5px; background: var(--input); color: var(--text); }
.remote-editor-content:focus { border-color: var(--accent); outline: none; }
.editor-feedback { font-size: var(--font-label); white-space: pre-wrap; overflow-wrap: anywhere; color: var(--muted); }
.editor-discard { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 5px; }
.app-editor { --tile-tint: #467fbc; --tile-shade: #234866; }
.desktop-window.app-editor { container: editor-window / inline-size; }
.desktop-editor { display: flex; flex: 1; min-height: 0; flex-direction: column; gap: 10px; }
.editor-tab-strip { display: flex; align-items: center; flex: 1; gap: 4px; min-width: 0; }
.editor-tab-strip:not(:has(.editor-tab-item)) { flex: 0; }
.app-editor .desktop-window-title { flex: 0 1 auto; min-width: 0; }
.app-editor .desktop-window-actions { gap: 2px; }
.app-editor .desktop-window-actions > .icon-button { width: 25px !important; min-width: 25px !important; padding: 5px !important; }
@container editor-window (max-width: 360px) {
.app-editor .desktop-window-titlebar { gap: 4px; padding-inline: 6px; }
.app-editor .desktop-window-title { position: absolute; max-width: 0; }
.app-editor .desktop-window-actions { gap: 1px; }
.app-editor .desktop-window-actions > .icon-button { width: 23px !important; min-width: 23px !important; }
}
.window-tab-strip { overflow: auto hidden; scrollbar-width: none; }
.window-tabs-overflow { flex: none; }
.window-tabs-overflow:not([data-tabs-overflow]), .window-tabs-menu:not(:popover-open) { display: none !important; }
.window-tabs-menu {
position: fixed; inset: auto; margin: 0; box-sizing: border-box;
overflow: auto; overscroll-behavior: contain; padding: 4px;
border: 1px solid var(--line-hover); border-radius: 8px;
background: var(--surface); color: var(--text); box-shadow: 0 10px 28px #0005;
}
.window-tabs-menu button {
display: block; flex: none; width: 100%; min-height: 32px; padding: 7px 9px !important;
text-align: start; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.window-tabs-menu button:hover { background: var(--raised) !important; }
.window-tabs-menu button[aria-current=true] { background: var(--accent-bg) !important; color: var(--accent) !important; }
.editor-tab-item { display: flex; align-items: center; flex: none; max-width: 232px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.editor-tab-item.active { background: var(--accent-bg); border-color: var(--line-hover); color: var(--accent); }
.editor-tab { display: flex !important; align-items: center; min-width: 0; gap: 6px; height: 29px; padding: 3px 8px !important; font-size: var(--font-label) !important; }
.editor-tab-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.editor-tab.dirty::before { content: ''; flex: 0 0 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.editor-tab-close { height: 23px !important; min-width: 23px !important; width: 23px !important; flex: none; margin-right: 3px; padding: 4px !important; }
.editor-empty { display: flex; flex: 1; flex-direction: column; gap: 8px; align-items: center; justify-content: center; }
.editor-file-drop[data-files-item-target] { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 6px; }
.desktop-editor .remote-editor { display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; }
.desktop-editor .remote-editor-content { flex: 1; resize: none; min-height: 0; }
.editor-toolbar { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 10px; }
.editor-toolbar .editor-path { flex: 1; min-width: 0; }
.editor-modes { display: flex; flex: none; align-items: center; gap: 5px; }
.editor-modes [aria-pressed=true] { background: var(--accent-bg) !important; color: var(--accent) !important; }
.editor-preview-host { flex: 1; min-height: 0; overflow: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.remote-editor-modal .editor-preview-host { min-height: 230px; max-height: 52vh; }
.markdown-preview { width: 100%; max-width: 78ch; min-height: 100%; margin: 0 auto; padding: 16px 20px; user-select: text; overflow-wrap: anywhere; line-height: 1.65; }
.markdown-preview > :first-child { margin-top: 0; }
.markdown-preview > :last-child { margin-bottom: 0; }
.markdown-preview :is(h1, h2, h3, h4, h5, h6) { line-height: 1.25; margin: 1.1em 0 .55em; }
.markdown-preview :is(h1, h2) { border-bottom: 1px solid var(--line); padding-bottom: .3em; }
.markdown-preview :is(pre, blockquote) { border-radius: 5px; background: var(--input); padding: 9px 12px; }
.markdown-preview pre { overflow: auto; overflow-wrap: normal; }
.markdown-preview code { font: var(--font-code) 'Cascadia Code', Consolas, monospace; }
.markdown-preview :not(pre) > code { background: var(--input); border-radius: 3px; padding: 2px 4px; }
.markdown-preview blockquote { margin-inline: 0; border-inline-start: 3px solid var(--accent); color: var(--muted); }
.markdown-preview table { border-collapse: collapse; }
.markdown-preview :is(th, td) { border: 1px solid var(--line); padding: 4px 10px; }
.markdown-preview input[type=checkbox] { display: inline; width: auto; height: auto; margin: 0 5px 0 0; }