#demoBar,#demoPill{display:none!important}
body:has(#demoBar){padding-bottom:0!important}
.app #sideLic .lic-crown{color:var(--accent);filter:none}
@media(min-width:861px){.app:not(.nav-collapsed){grid-template-columns:var(--sidebar-width,246px) minmax(0,1fr)}}
.sidebar-resize{position:fixed;top:0;bottom:0;width:9px;transform:translateX(-50%);z-index:70;cursor:col-resize;touch-action:none;outline:none}
.sidebar-resize::after{content:"";position:absolute;left:4px;top:0;bottom:0;width:2px;background:transparent;transition:background .15s}
.sidebar-resize:focus-visible::after,.resizing-sidebar .sidebar-resize::after{background:var(--accent)}
.resizing-sidebar,.resizing-sidebar *{cursor:col-resize!important;user-select:none!important}
.resizing-sidebar .app{transition:none}
@media(max-width:860px){.sidebar-resize{display:none}}
#notif{width:min(420px,calc(100vw - 24px));max-height:min(620px,calc(100dvh - 92px));right:18px;border-radius:20px;overflow:hidden;background:var(--surface);box-shadow:0 18px 65px #0005}
#notif.show{display:flex;flex-direction:column}
.notice-head{display:flex;align-items:center;justify-content:space-between;padding:20px;border-bottom:1px solid var(--line)}
.notice-head strong{display:block;font-size:16px;color:var(--ink-hi)}
.notice-head small{display:block;margin-top:5px;color:var(--ink-3);font-size:12px}
.notice-head button{border:1px solid var(--line);border-radius:10px;background:var(--surface-2);color:var(--ink-hi);width:32px;height:32px;cursor:pointer;font-size:20px}
.notice-list{overflow:auto;padding:8px 12px;overscroll-behavior:contain}
.notice-label{font:10px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);padding:14px 8px 8px}
.notice-item{display:flex;gap:12px;text-align:left;width:100%;padding:14px 10px;margin:3px 0;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--ink-hi);font:inherit;cursor:pointer}
.notice-item:hover{background:var(--surface-2);border-color:var(--line)}
.notice-item:focus-visible,.notice-footer:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.notice-icon{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:9px;background:var(--surface-3);color:var(--accent)}
.notice-item.warning .notice-icon{color:var(--warn-c)}
.notice-item strong{display:block;font-size:13px;line-height:1.5}
.notice-item small{display:block;color:var(--ink-3);font-size:12px;line-height:1.6;margin-top:5px}
.notice-footer{padding:16px 20px;border:0;border-top:1px solid var(--line);background:var(--surface-2);color:var(--ink-hi);text-align:left;cursor:pointer;font:600 13px var(--sans)}

/* Composer: an open toolbar above the canvas, not a third sidebar. */
.journal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;border-bottom:1px solid var(--line);padding-bottom:12px}
#content .journal-toolbar>.vbar{margin:0;border:0;flex-wrap:wrap;min-width:0}
#content .journal-toolbar>.actbar{margin:0;padding:0;flex:none;background:none;border:0}
#content .journal-feed{display:block;background:var(--surface);border:1px solid var(--line);border-radius:17px;overflow:hidden}
#content .journal-feed .journal-entry{display:grid;grid-template-columns:30px minmax(0,1fr) 135px auto;align-items:center;gap:16px;padding:17px 20px;background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;margin:0;box-shadow:none}
#content .journal-entry:last-child{border-bottom:0}.journal-entry:hover{background:var(--surface-2)!important}
.journal-symbol{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--line);border-radius:9px;background:var(--surface-2);color:var(--ink-3)}.journal-symbol.success{color:var(--ok)}.journal-symbol.error{color:var(--err)}.journal-symbol.warning{color:var(--warn-text)}
#content .journal-entry .title{font-size:14px;line-height:1.5;letter-spacing:-.015em;color:var(--ink-hi);font-weight:600}
.journal-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:12px;line-height:1.7;color:var(--ink-3);margin-top:5px}.journal-id{font:10px var(--mono);color:var(--ink-4);border-left:1px solid var(--line-strong);padding-left:12px}
.journal-entry .title{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}.journal-entry .title .badge{background:none!important;padding:0;font-size:10px;font-weight:500;gap:5px;letter-spacing:0}
.journal-state{display:flex;align-items:center;justify-content:flex-end}.journal-state time{font:11px var(--mono);color:var(--ink-4);white-space:nowrap}
.journal-actions{display:flex;align-items:center;gap:8px}.journal-actions .btn{display:inline-flex;align-items:center;gap:12px;border-radius:9px;background:none;box-shadow:none;min-height:36px;font-size:11px;padding:9px 12px}.journal-actions .btn span{display:inline-flex;color:var(--accent)}.journal-actions .btn:hover{border-color:var(--accent)}.journal-actions .btn:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:800px){#content .journal-feed .journal-entry{grid-template-columns:30px minmax(0,1fr) auto;gap:10px 12px;padding:16px}.journal-state{grid-column:2;justify-content:flex-start}.journal-actions{grid-column:3;grid-row:1/3;flex-direction:column}}
#cgWrap .cg-wrap{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:18px;align-items:stretch}
#cgWrap .cg-pal{grid-column:1/-1;max-width:none;min-width:0}
#cgWrap .cg-pal>.card{display:flex;flex-wrap:wrap;gap:10px;align-items:center;background:none;border:0;box-shadow:none;border-radius:0;padding:4px 0 12px!important}
#cgWrap .cg-pal .cg-cap{width:100%;margin:0;color:var(--ink-hi);font:600 17px/1.5 var(--sans);text-transform:none;letter-spacing:-.02em}
#cgWrap .cg-pal .sub{width:100%;margin:0!important;padding:0!important;border:0!important;line-height:1.6;color:var(--ink-3)}
#cgWrap .cg-pal .sub:last-child{margin-top:3px!important;font-size:12px!important}
#cgWrap .cg-pit{width:auto;min-width:140px;min-height:44px;margin:0;padding:10px 13px;border-radius:12px;background:var(--surface);gap:10px}
#cgWrap .cg-pit:hover{border-color:var(--accent);background:var(--surface-2)}
#cgWrap .cg-pic{color:var(--accent)}
#cgWrap .cg-mid{min-width:0}
#cgWrap .cg-insp{min-width:0;max-width:none}
#cgWrap .cg-bar .cg-bg{flex-wrap:wrap;min-width:0}
/* Calm action hierarchy shared by VPN and inventory. */
#content:has(>#invBody)>.sec{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:10px 0 20px;padding:0;background:none;border:0}
#content:has(>#invBody)>.sec .btn{min-height:42px;padding:10px 16px;border-radius:12px;font-size:13px;gap:9px;background:var(--surface);box-shadow:none}
#content:has(>#invBody)>.sec .btn.primary{background:var(--btn-primary-fill);color:var(--on-brand);border-color:transparent}
#content:has(>#invBody)>.sec .btn:not(.primary):hover{border-color:var(--accent);background:var(--surface-2)}
#content:has(>#invBody)>.sec h2{font-size:18px;letter-spacing:-.02em}
#content:has(>#invBody)>.sec .note{font-size:11px;border-left:1px solid var(--line);padding-left:12px}
/* Server extensions: a single editorial catalog with compact module entries. */
#content .catalog-panel-heading{display:block;margin:34px 0 20px!important;padding:0;background:none;border:0}
#content .catalog-panel-heading h2{margin:0!important;font-size:24px!important;line-height:1.3;font-weight:650;letter-spacing:-.035em;color:var(--ink-hi)}
.catalog-panel-intro{margin:8px 0 18px;font-size:13px;line-height:1.6;color:var(--ink-3)}
.catalog-install-order{display:flex;flex-wrap:wrap;align-items:center;gap:10px 0;list-style:none;margin:0;padding:0}
.catalog-install-order li{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.5;color:var(--ink-2)}
.catalog-step-number{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border:1px solid var(--line-strong);border-radius:50%;font:10px var(--mono);color:var(--accent);flex:none}
.catalog-step-arrow{display:inline-flex;color:var(--ink-4);margin:0 15px 0 7px}
.catalog-panel-tip{margin:13px 0 0;font-size:12px;line-height:1.6;color:var(--ink-3)}
.catalog-panel-tip button{font:inherit;color:var(--ink-2);padding:0;border:0;background:none;cursor:pointer;text-decoration:underline;text-decoration-color:var(--line-strong);text-underline-offset:3px}
.catalog-panel-tip button:hover{color:var(--accent)}
.catalog-panel-tip button:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:2px}
#content .catalog-category-heading{margin-top:38px!important}
.catalog-category-topics{display:flex;flex-wrap:wrap;align-items:center;gap:10px 24px;list-style:none;padding:0;margin:0}
.catalog-category-topics li{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.6;color:var(--ink-2)}
.catalog-category-topics li::before{content:'';width:5px;height:5px;border-radius:50%;background:var(--accent);flex:none}
.catalog-category-heading .catalog-panel-tip{max-width:100ch;line-height:1.75;margin-top:13px}
@media(max-width:600px){.catalog-install-order{display:block}.catalog-install-order li{margin-top:8px}.catalog-step-arrow{display:none}#content .catalog-panel-heading h2{font-size:22px!important}}
#insSimple .module-section-title{display:block;font-size:23px;line-height:1.3;font-weight:650;letter-spacing:-.035em;margin:38px 0 22px}
.module-section-intro{display:block;margin-top:9px;font-size:13px;line-height:1.6;font-weight:400;letter-spacing:0;color:var(--ink-3)}
#content .module-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--surface)}
#content .module-catalog>.module-entry{position:relative;display:flex;flex-direction:column;padding:24px 28px 20px;min-width:0;border:0;border-radius:0;background:none;box-shadow:none;animation:none;transition:background .18s}
#content .module-entry:nth-child(odd){border-right:1px solid var(--line)}
#content .module-entry:nth-child(n+3){border-top:1px solid var(--line)}
#content .module-entry:hover{background:var(--surface-2)}
.module-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.module-kind{font:10px/1.5 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--accent)}
#content .module-top .badge{font:10px/1.4 var(--mono)!important;background:none;padding:0;color:var(--ink-4);margin:0!important;font-weight:400}
#content .module-top .badge.green{color:var(--ok)}
#content .module-top .badge.yellow{color:var(--warn)}
.module-heading{display:flex;align-items:center;gap:11px;margin-bottom:10px}
#content .module-heading .cio{width:22px;height:22px;margin:0;border:0;background:none;color:var(--ink-2);border-radius:0;flex:none}
#content .module-heading .cio svg{width:21px;height:21px}
#content .module-heading h3{margin:0;font-size:19px;line-height:1.35;font-weight:600;letter-spacing:-.03em;color:var(--ink-hi)}
#content .module-entry>p{flex:1;margin:0 0 20px;font-size:13px;line-height:1.7;color:var(--ink-3);max-width:58ch}
.module-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px;margin-top:auto;min-width:0}
#content .module-actions .btn{width:auto;margin:0!important;min-height:40px;border-radius:9px;padding:10px 13px;font-size:12px;line-height:1.4;box-shadow:none;white-space:normal}
#content .module-actions .btn.primary{background:var(--surface-3);color:var(--ink-hi);border:1px solid var(--line-strong);gap:16px}
#content .module-actions .btn.primary>svg{display:none}
.module-arrow{display:inline-flex;line-height:1;color:var(--accent);transform:rotate(-45deg)}
#content .danger-section{margin-top:26px;padding:22px 24px;background:color-mix(in srgb, var(--crit) 4.5%, transparent);border:1px solid color-mix(in srgb, var(--crit) 25%, transparent);border-radius:16px}
#content .danger-section .module-danger-heading{margin:0 0 18px!important;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#content .module-danger-heading .secico{background:none;border:0;color:var(--crit);width:17px;height:17px}
#content .module-danger-heading h2{font:600 11px var(--sans)!important;letter-spacing:.08em;text-transform:uppercase;margin:0!important;color:var(--crit)}
#content .module-danger-heading .note{flex-basis:100%;margin:0!important;font-size:12px;line-height:1.7;color:var(--ink-3)}
#content .module-danger-zone{border:0;border-radius:14px;padding:18px;background:none;gap:20px;overflow:hidden}
#content .danger-section .module-danger-zone>.module-entry{padding:0;background:none!important;border:0!important}
#content .module-danger-zone .module-top{display:none}
#content .module-danger-zone .module-heading{margin-bottom:9px;gap:9px}
#content .module-danger-zone .module-heading .cio{color:var(--crit);width:18px;height:18px}
#content .module-danger-zone .module-heading .cio svg{width:17px;height:17px}
#content .module-danger-zone .module-heading h3{font-size:14px;letter-spacing:-.01em}
#content .module-danger-zone .module-entry>p{font-size:12px;line-height:1.7;margin-bottom:18px}
#content .module-danger-zone .module-actions .btn{width:100%;justify-content:center;border:1px solid color-mix(in srgb, var(--crit) 30%, transparent);color:var(--crit);background:color-mix(in srgb, var(--crit) 7%, transparent);font-size:11px;min-height:37px;gap:10px}
#content .module-danger-zone .module-actions .btn:hover{background:color-mix(in srgb, var(--crit) 14%, transparent);color:var(--crit);border-color:color-mix(in srgb, var(--crit) 50%, transparent)}
#content .module-danger-zone .module-arrow{color:inherit}
#content .module-danger-heading .secico svg{color:var(--crit)}
html[data-theme=light] #content .module-danger-heading :is(h2,.secico svg),html[data-theme=light] #content .module-danger-zone :is(.cio,.module-actions .btn){color:var(--crit-text)}
#content .module-actions .btn.primary:hover{background:var(--btn-primary-fill-hover);border-color:transparent;color:var(--on-brand)}
#content .module-actions .btn.primary:hover .module-arrow{color:inherit}
#content .module-actions .btn:not(.primary):not(.danger){border:0;background:none;color:var(--ink-3);padding:7px 0;font-size:11px;margin-right:auto!important}
#content .module-actions .btn:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
/* Overview accent stays behind the content, never over text or controls. */
html[data-theme=dark] #content:has(.dash-heading){background:radial-gradient(ellipse 640px 340px at 80% 0%,color-mix(in srgb,var(--accent) 10%,transparent),transparent 75%),radial-gradient(ellipse 460px 330px at 0% 380px,color-mix(in srgb,var(--accent) 4.5%,transparent),transparent 75%),var(--bg)}
#content .dash-health-summary{display:flex;flex-direction:column;align-self:stretch;gap:0;padding:26px 28px!important;border-radius:18px!important;box-shadow:none;min-height:280px}
#content .dash-health-label{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font:10px var(--mono)!important;letter-spacing:.08em!important;color:var(--ink-3)!important;margin:0 0 24px!important}
.dash-health-label>svg{width:14px;height:14px;flex:none}
.dash-health-status{margin-left:auto;border:1px solid currentColor;border-radius:999px;padding:5px 9px;font:10px var(--sans);text-transform:none;letter-spacing:0}
#content .dash-health-summary>.dash-health-hero{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin:0 0 18px!important;font-size:inherit!important;font-weight:400;line-height:1.3;letter-spacing:0}
.dash-health-percent{font:600 clamp(48px,4.4vw,70px)/1 var(--sans);letter-spacing:-.065em;color:var(--ink-hi)}
.dash-health-percent>span{font-size:.48em;font-weight:400;margin-left:5px;color:var(--accent);letter-spacing:-.03em}
.dash-health-caption{display:flex;flex-direction:column;gap:6px}.dash-health-caption>b{font-size:15px;font-weight:600;color:var(--ink-hi)}.dash-health-caption>span{font-size:12px;line-height:1.6;color:var(--ink-3)}
#content .dash-health-summary>.sub{font-size:12px;line-height:1.7!important;margin-bottom:20px!important;max-width:560px}
#content .dash-health-summary .hchips{margin-top:auto;padding-top:18px;border-top:1px solid var(--line)}
#content .dash-health-summary .hchip{padding-top:4px;padding-bottom:4px}
#content .dash-health-summary .hchip>div:last-child{font-size:22px!important}
html[data-theme=dark] #content .dash-health-summary{background:linear-gradient(120deg,color-mix(in srgb,var(--accent) 4.5%,transparent),transparent 65%),var(--surface-1)!important;border-color:var(--border)!important}
@media(max-width:600px){#content .dash-health-summary{padding:20px!important}.dash-health-status{margin-left:0}#content .dash-health-summary>.dash-health-hero{gap:14px}}
/* Dashboard launchpad and fleet-style node table. */
#content .dash-launchpad{padding:20px!important;border-radius:16px!important;box-shadow:none}
#content .dash-launchpad-heading{font-size:15px;font-weight:600;margin:0 0 16px!important}
.dash-launchpad-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.dash-launch-tile{display:flex;flex-direction:column;position:relative;align-items:flex-start;text-align:left;gap:13px;padding:16px;border:1px solid var(--line);border-radius:10px;background:none;color:var(--ink-hi);font:inherit;cursor:pointer;transition:background .15s,border-color .15s;min-width:0}
.dash-launch-tile:hover{background:var(--surface-2);border-color:var(--line-hover)}
.dash-launch-tile:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.dash-launch-icon{display:inline-flex;color:var(--accent);line-height:0}
.dash-launch-copy{min-width:0}.dash-launch-copy>div:first-child{font-size:12px;font-weight:600;line-height:1.5}.dash-launch-copy>.dim{font-size:11px;line-height:1.5;margin-top:4px}
.dash-launch-arrow{position:absolute;top:16px;right:12px;line-height:0;color:var(--ink-4)}
.dash-launch-maintenance{grid-column:1/-1;flex-direction:row;align-items:center;padding:13px 16px;margin-top:4px;background:var(--surface-2)}
.dash-launch-maintenance .dash-launch-arrow{position:static;margin-left:auto}
#content #dashRemna .dash-node-table{border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow-x:auto}
#dashRemna .dash-node-table .tbl{width:100%;border:0;border-radius:0;background:none;box-shadow:none;border-collapse:separate;border-spacing:0}
#dashRemna .dash-node-table th{font-size:11px;font-weight:500;padding:15px 16px;border-bottom:1px solid var(--line);background:var(--bg);color:var(--ink-4)}
#dashRemna .dash-node-table td{padding:22px 16px;border-bottom:1px solid var(--line);vertical-align:middle;font-size:12px!important;background:none}
#dashRemna .dash-node-table tr:last-child td{border-bottom:0}
#dashRemna .dash-node-table tr:hover{background:var(--surface-2)}
#dashRemna .dash-node-table td:first-child{min-width:260px}
.dash-node-icon{display:inline-flex;vertical-align:middle;margin-right:16px;color:var(--ink-3)}
.dash-node-identity{display:inline-block;vertical-align:middle}.dash-node-identity b{display:block;font-size:13px}.dash-node-identity .mono{display:block;margin-top:6px;font-size:11px!important;color:var(--ink-4)}
#dashRemna .dash-node-table .badge{background:none;padding:0;font-size:11px;gap:6px}
html[data-theme=dark] #content:has(.dash-heading)>.stats{background:var(--surface-1);border-color:var(--border)}
html[data-theme=dark] #content .dash-health:not(.dash-health-summary){background:var(--canvas)!important;border-color:var(--border)!important}
html[data-theme=dark] #content .dash-health::after{display:none}
html[data-theme=dark] #dashRemna .dash-node-table thead{background:var(--canvas)}
html[data-theme=dark] #dashRemna .dash-node-table th{background:var(--canvas)}
html[data-theme=dark] #dashRemna .dash-node-table tbody tr:nth-child(even){background:var(--surface-2)}
html[data-theme=dark] #dashRemna .dash-node-table tbody tr:hover{background:var(--surface-3)}
@media(max-width:1100px){#content .dash-launchpad{display:block}}
@media(max-width:430px){.dash-launchpad-tiles{grid-template-columns:1fr}}
html[data-theme=dark] #ccOverlay .client-profile-modal{background:var(--surface-1);border-color:var(--border)}
html[data-theme=dark] #ccOverlay .client-profile-modal :is(.modal-foot,.keybox){background:var(--canvas)}
html[data-theme=dark] #ccOverlay .client-profile-modal .btn:not(.primary):not(.danger){background:var(--surface-2);border-color:var(--border-strong);box-shadow:none}
html[data-theme=dark] #ccOverlay .client-profile-modal .btn:not(.primary):not(.danger):hover{background:var(--surface-3);border-color:var(--gray-8)}
html[data-theme=dark] #content .fleet-table{background:var(--surface-1);border-color:var(--border);box-shadow:none}
html[data-theme=dark] #content .fleet-table table{background:none;box-shadow:none;border:0}
html[data-theme=dark] #content .fleet-table thead{background:var(--canvas)}
html[data-theme=dark] #content .fleet-table tbody tr{background:var(--surface-1)}
html[data-theme=dark] #content .fleet-table tbody tr:nth-child(even){background:var(--surface-2)}
html[data-theme=dark] #content .fleet-table tbody tr:hover{background:var(--surface-3)}
html[data-theme=dark] #content .fleet-table .fleet-action-list{background:var(--surface-2);border-color:var(--border-strong)}
html[data-theme=dark] #content .journal-feed{background:var(--surface-1);border-color:var(--border)}
html[data-theme=dark] #content .journal-symbol{background:var(--surface-2)}
html[data-theme=dark] #content:has(#insTarget){background:none}
html[data-theme=dark] #content .module-catalog{background:var(--surface-1);border-color:var(--border)}
html[data-theme=dark] #content .module-catalog>.module-entry{background:none}
html[data-theme=dark] #content .module-catalog>.module-entry:hover{background:var(--surface-2)}
html[data-theme=dark] #content .module-catalog:not(.module-danger-zone) .module-actions .btn.primary{background:var(--surface-3);border-color:var(--border-strong);color:var(--text-1)}
html[data-theme=dark] #content .module-catalog:not(.module-danger-zone) .module-actions .btn.primary:hover{background:var(--surface-3);border-color:var(--gray-8)}
html[data-theme=dark] #content .module-danger-zone{background:color-mix(in srgb, var(--crit) 2.5%, transparent);border-color:color-mix(in srgb, var(--crit) 24%, transparent)}
html[data-theme=dark] #content .module-danger-zone .module-entry:hover{background:color-mix(in srgb, var(--crit) 4%, transparent)}
/* Access centre: service credentials remain local and masked by default. */
#content .access-heading{margin:6px 0 10px;align-items:center}
#content .access-heading h2{font-size:21px;letter-spacing:-.025em}
#content .access-heading .btn{background:none;box-shadow:none;font-size:12px}
#content .access-security{padding:0 0 18px;border:0;border-radius:0;background:none;color:var(--ink-3);font-size:12px;gap:8px}
#content .access-security svg{color:var(--ok)}
#content .access-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
#content .access-card{border-radius:16px;background:var(--surface);box-shadow:none}
#content .access-card .acard-head{padding:20px 22px;gap:12px}
#content .access-card .acard-head b{font-size:15px;font-weight:600;white-space:normal}
#content .access-card .acard-head>div>span{font-size:11px;margin-top:5px;white-space:normal}
#content .access-card .acard-head>.access-kind{flex:none;display:block;font:10px var(--mono);color:var(--ink-3);padding:5px 8px;border:1px solid var(--line);border-radius:6px;margin:0}
#content .access-card .ci-hic{width:34px;height:34px;border-radius:9px;background:none;color:var(--ink-3)}
#content .access-card .acard-body{padding:8px 22px 18px;gap:0;flex:none}
#content .access-card .field{display:grid;grid-template-columns:100px minmax(0,1fr);gap:14px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line-faint)}
#content .access-card .field label{font-size:12px;font-weight:400;margin:0}
#content .access-card .copyrow{min-width:0;min-height:34px;padding:0;background:none;border:0;gap:8px}
#content .access-card .copyrow .lnk{font-size:12px;min-width:0}
#content .access-card .copyrow .l-ic{display:none}
#content .access-card .btn-row{width:30px;height:30px;border-radius:7px;flex:none;color:var(--ink-3)}
#content .access-card .btn-row:hover{background:var(--surface-2);color:var(--head)}
#content .access-card .acard-body>.dim{padding-top:14px;font-size:12px!important;line-height:1.65!important;color:var(--ink-3)}
#content .access-card .acard-foot{padding:0 22px 20px;gap:10px}
#content .access-card .acard-foot .btn{font-size:12px;min-height:36px;box-shadow:none;border-radius:8px;background:none;border-color:transparent;color:var(--ink-3)}
#content .access-card .acard-foot .btn:hover{background:var(--surface-2);color:var(--head)}
#content .access-card .acard-foot .access-open{border-color:var(--line-strong);color:var(--head);background:var(--surface-2)}
#content .access-identity{grid-column:1/-1;display:grid;grid-template-columns:minmax(230px,1fr) minmax(220px,1.4fr) auto;align-items:center}
#content .access-identity .acard-head{border:0}
#content .access-identity .access-kind{display:none!important}
#content .access-identity .acard-body{padding:16px 22px}
#content .access-identity .acard-body>.dim{padding:0}
#content .access-identity .acard-foot{padding:16px 22px 16px 0}
#content .access-extra{display:flex;flex-direction:column;gap:24px;margin-top:24px!important;align-items:stretch!important}
#content .access-extra>div{min-width:0!important;flex:none!important}
#content .access-memo{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0}
#content .access-memo>summary{cursor:pointer;font-size:13px;color:var(--ink-2);font-weight:500}
#content .access-memo .obox{border:0;background:none;padding:8px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 26px}
#content .access-extra .cat{grid-template-columns:repeat(2,minmax(0,1fr))}
#content .access-extra .ci{padding:20px;border-radius:12px;min-height:0}
#content .access-extra .ci p{font-size:12px;line-height:1.7}
#content .access-extra .ci .btn{width:auto;margin-top:14px;font-size:12px;background:none;box-shadow:none}
@media(max-width:800px){#content .access-identity{grid-template-columns:1fr}#content .access-identity .acard-head{padding-bottom:8px}#content .access-identity .acard-body{padding-top:0}#content .access-identity .acard-foot{padding:0 22px 18px}#content .access-grid,#content .access-memo .obox,#content .access-extra .cat{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){#content .access-card .field{grid-template-columns:1fr;gap:2px}#content .access-card .acard-head{flex-wrap:wrap}}
/* Lightweight action row: one primary action, quiet secondary controls. */
#content>.vpn-action-toolbar{gap:8px;min-height:36px;margin:4px 0 20px}
#content>.vpn-action-toolbar>.btn{position:relative;min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;font-size:12px;line-height:18px;border-radius:9px;box-shadow:none}
#content>.vpn-action-toolbar>.btn:not(.primary){border-color:transparent;background:none;color:var(--ink-3)}
#content>.vpn-action-toolbar>.btn:not(.primary):hover{background:var(--surface-2);color:var(--head)}
#content>.vpn-action-toolbar>.btn.primary{background:var(--btn-primary-fill);border-color:transparent;color:var(--on-brand)}
#content>.vpn-action-toolbar>.btn.primary:hover{background:var(--brand-hover)}
#content>.vpn-action-toolbar>.btn[onclick="linkStandalone()"]{margin-left:12px}
#content>.vpn-action-toolbar>.btn[onclick="linkStandalone()"]::before{content:"";position:absolute;left:-10px;top:8px;bottom:8px;width:1px;background:var(--line)}
#content>.vpn-action-toolbar>.grow+button{width:36px;padding:8px}
#content>.vpn-action-toolbar>.btn svg{width:14px;height:14px;flex:none}
#content>.vpn-action-toolbar>.btn:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
/* Keep the topology background neutral, without a decorative spotlight. */
#scWrap .sc-stage{background:var(--bg)}
/* MultiChecker and assistant share the operational neutral-dark palette. */
html[data-theme=dark] :is(#auBody,#aiScreen,#anBody,#cmdk){
  color-scheme:dark;
}
html[data-theme=dark] #aiScreen .chatbar{background:var(--canvas);border-color:var(--border)}
html[data-theme=dark] #aiScreen .cp2.mo{background:var(--surface-2);border-color:var(--border-strong);color:var(--text-2)}
html[data-theme=dark] #aiScreen .cp2.mo:hover{background:var(--surface-3);border-color:var(--gray-8);color:var(--text-1)}
html[data-theme=dark] #aiScreen .chat-empty .ce-i{background:color-mix(in srgb,var(--accent) 7%,transparent);border-color:color-mix(in srgb,var(--accent) 20%,transparent);color:var(--accent)}
html[data-theme=dark] #aiScreen .msg.a{background:var(--surface-2);border-color:var(--border)}
html[data-theme=dark] #aiScreen .msg.q{background:color-mix(in srgb,var(--accent) 8%,transparent);border-color:color-mix(in srgb,var(--accent) 18%,transparent)}
/* Analytics keeps semantic status colours on neutral, layered surfaces. */
html[data-theme=dark] #anBody .barrow .bs{background:var(--surface-3)}
html[data-theme=dark] #anBody .barrow .bs>i:not(.dim){background:var(--accent)}
html[data-theme=dark] #anBody .barrow .bs>i.dim{background:var(--gray-8)}
/* Header search and command palette use the same neutral surfaces. */
html[data-theme=dark] #cmdk .cmdk-box{background:var(--surface-1);border-color:var(--border-strong)}
html[data-theme=dark] #cmdk .cmdk-in{background:var(--surface-1)}
html[data-theme=dark] #cmdk .cmdk-f{background:var(--canvas)}
html[data-theme=dark] #cmdk .cmdk-x{background:var(--surface-3);border-color:var(--border-strong);color:var(--text-3)}
html[data-theme=dark] #cmdk .cmdk-it .ci{background:var(--surface-3);border-color:var(--border);color:var(--text-3)}
html[data-theme=dark] #cmdk .cmdk-it[aria-selected="true"]{background:color-mix(in srgb,var(--accent) 6.5%,transparent);border-color:color-mix(in srgb,var(--accent) 22%,transparent)}
html[data-theme=dark] #cmdk .cmdk-it[aria-selected="true"] .ci{background:color-mix(in srgb,var(--accent) 9%,transparent);border-color:color-mix(in srgb,var(--accent) 20%,transparent);color:var(--accent)}
/* Fill the available workspace instead of stopping at the old 1600px cap. */
.main>#content>*{max-width:none}
#content>.settings-workspace{max-width:none}
/* Server detail shares the neutral palette without changing fleet list styles. */
html[data-theme=dark] #content:has(#ndBody) .badge.blue{background:color-mix(in srgb,var(--accent) 10%,transparent);color:var(--accent)}
html[data-theme=dark] #ndBody>.card,html[data-theme=dark] #ndBody .card{background:var(--surface-1);border-color:var(--border)}
html[data-theme=dark] #ndBody>div:first-child>.card>div:first-child{color:var(--text-3)!important}
html[data-theme=dark] #ndBody>div:first-child>.card>div:first-child svg{color:var(--accent)}
html[data-theme=dark] #cgCanvas{background-color:var(--canvas)}
html[data-theme=dark] #scWrap .sc-insp .ih{background:var(--surface-2)}
html[data-theme=dark] #scWrap .sc-stage.bp .scn{background:var(--surface-1)}
html[data-theme=dark] #content #cgWrap .cg-pal>.card{background:none}
/* Autoselect table follows the spacious, aligned fleet table. */
#asBody .tblwrap:has(.balNode){border:1px solid var(--line);border-radius:16px;overflow:auto;flex:none;height:auto;min-height:0}
#asBody .tbl:has(.balNode){border:0;border-radius:0}
#asBody .tbl:has(.balNode) th{padding:15px 16px;font-size:11px;font-weight:500;white-space:nowrap;color:var(--ink-4)}
#asBody .tbl:has(.balNode) td{padding:22px 16px;font-size:13px;vertical-align:middle}
#asBody .tbl:has(.balNode) td:nth-child(2)>b{display:block;margin-bottom:5px;color:var(--ink-hi)}
#asBody .tbl:has(.balNode) td:nth-child(3) .badge{background:none;padding:0;font-size:11px}
#asBody .tbl:has(.balNode) .cell-m{gap:7px;font-size:12px}
#asBody .tbl:has(.balNode) .prog{background:var(--surface-3);height:4px}
#asBody .tbl:has(.balNode) .prog-f{background:var(--accent)}
#asBody .tbl:has(.balNode) .btn{min-height:36px;font-size:11px;border-radius:9px}
#asBody input[type=checkbox]{appearance:none;-webkit-appearance:none;display:inline-block;vertical-align:middle;flex:0 0 18px;width:18px;height:18px;min-width:18px;margin:0;border:1px solid var(--line-hover);border-radius:5px;background:var(--bg);cursor:pointer;transition:background .15s,border-color .15s;box-shadow:none}
#asBody input[type=checkbox]:checked{border-color:var(--accent);background-color:color-mix(in srgb,var(--accent) 12%,transparent);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m4 9 3 3 7-7' fill='none' stroke='%2379c6e8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-size:16px 16px;background-position:center;background-repeat:no-repeat}
#asBody input[type=checkbox]:not(:disabled):hover{border-color:var(--accent);background-color:color-mix(in srgb,var(--accent) 18%,transparent)}
#asBody input[type=checkbox]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
#asBody input[type=checkbox]:disabled{opacity:.4;cursor:not-allowed}
#asBody .fp:has(input[type=checkbox]){gap:10px}
#asBody .tbl:has(.balNode) :is(th,td):first-child{width:68px;text-align:center}
html[data-theme=light] #asBody input[type=checkbox]:checked{background-color:var(--accent);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m4 9 3 3 7-7' fill='none' stroke='%23102630' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
@media(forced-colors:active){#asBody input[type=checkbox]{appearance:auto;-webkit-appearance:auto;background:none;border:0;forced-color-adjust:auto}}
/* Page navigation follows the same quiet underline tabs as VPN. */
#content>.schema-nav{border-bottom:1px solid var(--line-faint);align-items:center}
#content .schema-nav>.vtabs,#content .settings-workspace>.setnav{display:flex;align-items:stretch;flex-direction:row;flex-wrap:nowrap;gap:4px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow-x:auto;scrollbar-width:none}
#content .schema-nav>.vtabs{min-width:0;max-width:100%}
#content .settings-workspace>.setnav{margin:6px 0 22px;border-bottom:1px solid var(--line-faint)}
#content .schema-nav>.vtabs::-webkit-scrollbar,#content .settings-workspace>.setnav::-webkit-scrollbar{display:none}
#content .schema-nav .vtab,#content .settings-workspace>.setnav button{position:relative;display:inline-flex;flex:none;align-items:center;justify-content:flex-start;gap:7px;min-height:0;padding:10px 12px 12px;border:0;border-radius:0;background:none;box-shadow:none;color:var(--ink-3);font-size:13px;font-weight:500;white-space:nowrap;cursor:pointer}
#content .schema-nav .vtab svg,#content .settings-workspace>.setnav button svg{display:none}
#content .schema-nav .vtab:hover,#content .settings-workspace>.setnav button:hover{background:none;color:var(--ink)}
#content .schema-nav .vtab.on,#content .settings-workspace>.setnav button.on{background:none;border:0;color:var(--head);font-weight:600}
#content .schema-nav .vtab.on::after,#content .settings-workspace>.setnav button.on::after{content:"";display:block;position:absolute;left:12px;right:12px;bottom:-1px;height:2px;border-radius:2px;background:var(--accent)}
@media(max-width:1050px){#cgWrap .cg-wrap{grid-template-columns:minmax(0,1fr)}#cgWrap .cg-insp{grid-column:1}}
@media(max-width:600px){#content:has(>#vpnBody)>.actbar .grow,#content:has(>#invBody)>.sec .grow{display:none}#cgWrap .cg-pit{flex:1 1 140px}#content .module-catalog{grid-template-columns:minmax(0,1fr)}#content .module-catalog>.module-entry{padding:22px;border-right:0}#content .module-entry:nth-child(n+2){border-top:1px solid var(--line)}#insSimple .module-section-title{font-size:21px}}
