/* Shared cockpit finish. Existing DOM hooks and API contracts remain intact. */
body[data-shell-scope="control"],body.pos-site-page{--polish-cyan:#55dbe8;--polish-violet:#ad91f7;--polish-green:#67dbb6;--polish-amber:#edc17b;--polish-pink:#ed93b6}
body[data-shell-scope="control"]{background:radial-gradient(ellipse at 75% 0%,#20234135,transparent 55%),var(--shell-bg,#070d17)}
.node-content{padding:24px 28px 65px}.node-wrap,.pos-site-page .node-content>.node-wrap{width:100%;max-width:none;margin:0}.pos-site-page .content>.content-inner{width:100%;max-width:none}
.node-hero,.cockpit-hero{isolation:isolate;position:relative;overflow:hidden;padding:26px 30px;border:1px solid var(--shell-line);border-radius:19px;background:radial-gradient(ellipse at 95% 0%,#7256d533,transparent 50%),linear-gradient(115deg,#1b3a4f55,var(--shell-panel));margin:0 0 20px}.node-hero:after,.cockpit-hero:after{content:'';position:absolute;z-index:-1;width:260px;height:260px;border:1px solid #779fce1c;border-radius:50%;right:-65px;top:-130px;box-shadow:0 0 0 35px #779fce04,0 0 0 70px #779fce04;pointer-events:none}.node-hero h1{font-size:clamp(25px,2.3vw,38px);line-height:1.12}.node-hero h1 br{display:initial}.node-hero h1 br:after{content:' '}.node-hero p{max-width:850px;font-size:13px}.node-hero .node-kicker{font-size:10px;margin-bottom:14px}.node-btn{font-size:12px;min-height:40px;border-radius:10px;transition:background .2s,border-color .2s,box-shadow .2s}.node-btn:hover{border-color:var(--polish-cyan);box-shadow:0 5px 18px #55dbe810}.node-btn.primary{background:linear-gradient(110deg,#66dedf,#78d8c1);border-color:#77e7e1;box-shadow:0 4px 18px #55dbe815;color:#082933}
.node-stats{gap:12px;margin-bottom:22px}.node-stat{--tile-accent:var(--polish-cyan);position:relative;overflow:hidden;isolation:isolate;padding:21px 22px 21px 79px;border-radius:16px;background:linear-gradient(115deg,color-mix(in srgb,var(--tile-accent) 7%,var(--shell-panel)),var(--shell-panel));box-shadow:0 8px 25px #0000000b}.node-stat:nth-child(2){--tile-accent:var(--polish-green)}.node-stat:nth-child(3){--tile-accent:var(--polish-violet)}.node-stat:before{content:'';position:absolute;inset:0 auto 0 0;width:3px;background:var(--tile-accent)}.node-stat>i{position:absolute;left:22px;top:26px;color:var(--tile-accent);background:color-mix(in srgb,var(--tile-accent) 10%,transparent);border:1px solid color-mix(in srgb,var(--tile-accent) 25%,transparent);width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:17px}.node-stat:after{content:'';position:absolute;z-index:-1;width:120px;height:120px;background:var(--tile-accent);opacity:.04;border-radius:50%;right:-25px;bottom:-50px}.node-stat>span{font-size:10px;text-transform:uppercase;letter-spacing:.11em}.node-stat>strong{font-size:30px;margin-top:7px;font-variant-numeric:tabular-nums}.node-stat>small{color:var(--shell-muted);font-size:11px;display:block;margin-top:5px}
.node-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:14px}.node-card{position:relative;background:linear-gradient(125deg,#15334933,var(--shell-panel));border-radius:17px;overflow:hidden;padding:23px;box-shadow:0 8px 25px #0001;transition:border-color .2s}.node-card:hover{border-color:#55dbe850}.node-card .node-symbol{width:47px;height:47px;background:linear-gradient(135deg,#55dbe81c,#ad91f70c);border:1px solid #55dbe82b;border-radius:14px}.node-card .node-symbol i{font-size:20px}.node-card h2{font-size:18px;letter-spacing:-.02em}.node-card-head p{font-size:11px}.node-card dl{margin-top:17px;padding:16px;border:1px solid var(--shell-line);background:#0000000e;border-radius:11px;gap:12px}.node-card dt i{margin-right:6px;color:var(--shell-cyan)}.node-badge{font-size:10px;max-width:100%;white-space:normal}.node-card details{border-top:1px solid var(--shell-line);padding-top:14px}.node-card summary{list-style:none;display:flex;align-items:center;gap:9px;font-size:12px}.node-card summary:after{content:'+';margin-left:auto;font-size:18px}.node-card details[open] summary:after{content:'−'}.node-empty{grid-column:1/-1}.node-panel{border-radius:16px;background:linear-gradient(125deg,#18324833,var(--shell-panel));padding:24px}.node-notice{margin-top:16px;font-size:12px}.node-toolbar{margin:8px 0 15px}.node-toolbar h2{font-size:15px}.node-account-links{gap:8px;padding-bottom:15px;margin-bottom:20px}.node-account-links a{padding:9px 13px;background:#54d7ff06}.node-account-links a:hover{background:#54d7ff16}
.dist-metrics{gap:12px;margin-bottom:18px}.dist-metric{padding:21px}.dist-chart-grid,.dist-ranking-grid{gap:14px}.dist-hero{padding:26px;margin-bottom:18px}.dist-filter{margin:18px 0}.dist-dashboard .node-panel{margin-bottom:16px}.dist-line{max-height:330px}.dist-chart-data{border-top:1px solid var(--shell-line);padding-top:12px}
.cockpit-hero{display:flex;align-items:center;justify-content:space-between;gap:20px}.cockpit-kicker{font-size:10px;letter-spacing:.19em;text-transform:uppercase;color:var(--shell-cyan);display:block;margin-bottom:10px}.cockpit-hero h1{font-size:clamp(24px,2.2vw,35px);letter-spacing:-.04em;margin:0 0 8px}.cockpit-hero p{font-size:12px;line-height:1.7;margin:0;color:var(--shell-muted)}.cockpit-hero-icon{font-size:44px;color:var(--shell-cyan);opacity:.45;flex-shrink:0}.cockpit-hero .actions{flex-wrap:wrap}.cockpit-hero .btn{font-size:11px;white-space:nowrap}.cockpit-hero .btn.green{color:var(--polish-green)}
#dashboard.content{padding:24px 26px 65px;max-width:none;width:100%}#dashboard>.grid{gap:12px}#dashboard .card{border-radius:16px;background:linear-gradient(140deg,#18334c66,var(--shell-panel));box-shadow:0 10px 28px #0001;min-width:0}#dashboard .metric{--metric-accent:var(--polish-cyan);position:relative;isolation:isolate;overflow:hidden;min-height:148px;padding:20px 17px}#dashboard .metric:nth-child(2){--metric-accent:var(--polish-violet)}#dashboard .metric:nth-child(3){--metric-accent:var(--polish-green)}#dashboard .metric:nth-child(4){--metric-accent:var(--polish-amber)}#dashboard .metric:nth-child(5){--metric-accent:var(--polish-pink)}#dashboard .metric:before{content:'';width:3px;position:absolute;inset:0 auto 0 0;background:var(--metric-accent)}#dashboard .metric:after{content:'';width:100px;height:100px;position:absolute;right:-35px;bottom:-40px;border-radius:50%;background:var(--metric-accent);opacity:.04;z-index:-1}#dashboard .metric>span{font-size:9px;letter-spacing:.12em;max-width:calc(100% - 24px)}#dashboard .metric>strong{font-size:clamp(20px,1.7vw,29px);font-variant-numeric:tabular-nums;letter-spacing:-.025em}#dashboard .metric .ghost{color:var(--metric-accent);opacity:.22;right:15px;top:20px;font-size:24px}#dashboard .metric small{font-size:10px}#dashboard .bar{height:5px}#dashboard .resource-wrap{grid-template-columns:1.25fr 1fr;gap:22px}#dashboard .panel-title{font-size:11px;letter-spacing:.045em;text-transform:uppercase;margin-bottom:18px}#dashboard .res-card,#dashboard .pos-card{padding:17px;border-radius:13px;background:#050c1677;min-width:0}#dashboard .ring{position:relative;isolation:isolate;min-width:64px;min-height:64px;background:conic-gradient(var(--polish-cyan) var(--used),#29415255 0);display:grid;place-items:center;line-height:1;font-size:12px;color:var(--shell-text);font-variant-numeric:tabular-nums}#dashboard .ring:before{content:'';position:absolute;inset:7px;border-radius:50%;background:#0b1927;z-index:-1}#dashboard .ring span{z-index:1}#dashboard .ring.empty{background:#29415255;color:var(--shell-muted)}#dashboard .legend{font-size:10px}#dashboard .pos-card strong{font-size:23px}#dashboard .pos-card small{font-size:10px;line-height:1.7}#dashboard .tables .card{min-height:165px}#dashboard .control-empty{display:grid;place-content:center;text-align:center;min-height:150px;grid-column:1/-1;color:var(--shell-muted);gap:10px;font-size:12px}#dashboard .control-empty i{font-size:30px;opacity:.4}#dashboard .control-empty p{margin:0;line-height:1.6}#dashboard .control-empty strong{color:var(--shell-text);font-size:15px}#dashboard details.card>summary{cursor:pointer;font-size:12px;color:var(--shell-muted)}#dashboard details.card pre{margin-top:18px}
.live-charts{display:grid;grid-template-columns:1fr 1fr;gap:20px}.live-chart-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.live-chart-head h3{margin:0;font-size:12px}.live-chart-head strong{color:var(--polish-cyan);font-size:18px;font-variant-numeric:tabular-nums}.live-chart svg{display:block;width:100%;height:150px;overflow:visible}.live-chart .chart-grid{stroke:var(--shell-line);stroke-dasharray:3 6}.live-chart text{font:10px system-ui;fill:var(--shell-muted)}.live-chart .chart-line{fill:none;stroke:var(--polish-cyan);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.live-chart.purple .chart-line{stroke:var(--polish-violet)}.live-chart.purple strong{color:var(--polish-violet)}.live-chart>p{font-size:10px;line-height:1.5;color:var(--shell-muted);margin:8px 0 0}.live-chart .chart-dot{fill:var(--polish-cyan);stroke:var(--shell-panel);stroke-width:2}.live-chart.purple .chart-dot{fill:var(--polish-violet)}
.users-page{padding:24px 26px 65px}.users-head{margin:0 0 20px;padding:24px 26px;border:1px solid var(--shell-line);border-radius:18px;background:radial-gradient(ellipse at 90% 0,#7755bb22,transparent 60%),linear-gradient(120deg,#17364e55,var(--shell-panel))}.users-head h1{font-size:26px;letter-spacing:-.03em}.users-head h1 i{color:var(--polish-cyan);margin-right:7px}.users-head p{font-size:12px;color:var(--shell-muted);margin:8px 0 0}.users-card{padding:20px;border-radius:16px}.users-card h2{font-size:17px;margin:5px 0 20px}.users-card summary{cursor:pointer;display:flex;align-items:center;gap:10px;list-style:none;padding:4px 0 14px;font-weight:650;font-size:15px}.users-card summary>i{color:var(--polish-cyan)}.users-card summary:after{content:'−';margin-left:auto;color:var(--shell-muted)}.users-card:not([open]) summary:after{content:'+'}.users-grid{grid-template-columns:minmax(260px,310px) minmax(0,1fr);gap:14px}.users-table{min-width:740px;font-size:12px}.users-table th{font-size:10px;letter-spacing:.05em;text-transform:uppercase;padding:12px}.users-table td{padding:15px 12px;vertical-align:middle}.users-table tbody tr:hover{background:#54d7ff04}.users-table td:nth-child(6){max-width:180px;overflow-wrap:anywhere}.users-table td:nth-child(7){min-width:145px}.users-table .btn{font-size:10px;padding:7px 9px;border-radius:8px;margin:2px}.users-form{gap:14px}.users-form input,.users-form select{color:var(--shell-text)}.users-notice{font-size:11px;padding:12px 16px}.user-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.user-overview>div{position:relative;padding:18px 20px;border:1px solid var(--shell-line);border-radius:13px;background:linear-gradient(120deg,#1c374850,var(--shell-panel));font-size:10px;text-transform:uppercase;color:var(--shell-muted);letter-spacing:.12em}.user-overview strong{display:block;font-size:27px;margin-top:7px;color:var(--shell-text);letter-spacing:-.04em}.user-overview i{float:right;color:var(--polish-cyan);font-size:21px;opacity:.6}.user-overview>div:nth-child(2) i{color:var(--polish-green)}.user-overview>div:nth-child(3) i{color:var(--polish-violet)}.registration-panel{margin-bottom:20px}.registration-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.registration-head h2{margin:0}.registration-head p{font-size:12px;color:var(--shell-muted);line-height:1.6}.registration-list{display:grid;gap:10px;margin-top:16px}.registration-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px 16px;border:1px solid var(--shell-line);border-radius:11px;background:#08101b55}.registration-row strong{font-size:13px}.registration-row small{display:block;font-size:11px;color:var(--shell-muted);margin-top:5px}.registration-row .users-btn{font-size:11px;padding:9px}.registration-row button:disabled{opacity:.4;cursor:not-allowed}.registration-actions{display:flex;gap:8px;flex-shrink:0}.registration-empty{font-size:12px;color:var(--shell-muted);padding:10px 0;display:flex;align-items:center;gap:10px}.registration-empty i{color:var(--polish-green)}
body.light #dashboard .card,body.light .users-card,body.light .node-card,body.light .node-panel,body.light .registration-row{background:linear-gradient(130deg,#fff,#eaf3fb);color:var(--shell-text)}body.light #dashboard .ring:before{background:#f4f9ff}body.light #dashboard .res-card,body.light #dashboard .pos-card{background:#f4f9ff}body.light .live-chart .chart-grid{stroke:#a0b5c944}
@media(min-width:2000px){.node-content,#dashboard.content,.users-page{padding-left:36px;padding-right:36px}}@media(max-width:1500px){#dashboard .resource-wrap{grid-template-columns:1fr}.node-hero h1 br{display:initial}}@media(max-width:1100px){.users-grid{grid-template-columns:1fr}.users-editor .users-form{grid-template-columns:1fr 1fr}.users-role-list{grid-column:1/-1}.cockpit-hero{align-items:flex-start;flex-direction:column}.node-card-head{flex-wrap:wrap}}@media(max-width:800px){.node-content,#dashboard.content,.users-page{padding:18px 14px 65px}.node-hero,.cockpit-hero{padding:22px}.node-stats{grid-template-columns:1fr}.node-stat{min-height:100px}.live-charts{grid-template-columns:1fr}.users-head{padding:22px}.users-head h1{font-size:22px}.user-overview{gap:8px}.user-overview>div{padding:14px;font-size:9px}.registration-row{align-items:flex-start;flex-direction:column}.registration-actions{width:100%;flex-wrap:wrap}#dashboard .resource-grid,#dashboard .pos-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.node-hero h1 br{display:initial}}@media(max-width:480px){.users-editor .users-form{grid-template-columns:1fr}.node-stats{gap:10px}.user-overview i{display:none}#dashboard .res-card{padding:12px}#dashboard .resource-grid{grid-template-columns:1fr}.node-card{padding:18px}.node-card dl{grid-template-columns:1fr}.cockpit-hero .actions{display:grid;grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.node-panel .users-form{display:grid;gap:16px}.node-panel .users-form label{display:grid;gap:8px;font-size:12px;color:var(--shell-muted)}.node-panel .users-form input{min-height:45px;padding:12px 14px;border:1px solid var(--shell-line);border-radius:10px;background:var(--shell-panel);color:var(--shell-text);font:inherit}.node-panel .users-form input:focus-visible{outline:2px solid var(--shell-cyan);outline-offset:2px}@media(max-width:800px){.users-head{align-items:flex-start;flex-direction:column;gap:16px}}

/* Keep both guest actions inside narrow headers. */
@media(max-width:720px){body[data-shell-scope="public"] .pos-shared-topbar-brand{width:auto;min-width:38px;flex:0 0 auto}body[data-shell-scope="public"] .pos-shared-topbar-brand .word{display:none!important}body[data-shell-scope="public"] .pos-shared-topbar-brand .core{width:38px;height:38px;flex:0 0 38px}body[data-shell-scope="public"] .pos-shared-topbar{gap:8px;padding:0 12px}body[data-shell-scope="public"] .pos-shared-login-link{font-size:11px;padding:9px 10px;gap:5px;white-space:nowrap}body[data-shell-scope="public"] .pos-shared-spacer{min-width:0}body[data-shell-scope="public"] .pos-shared-icon{flex:0 0 32px;width:32px}}

@media(max-width:800px){#dashboard .nodes-head{flex-wrap:wrap;align-items:flex-start}#dashboard .nodes-head h2{width:100%;margin:0 0 10px;font-size:21px}#dashboard .nodes-head .sort{margin-left:auto}#dashboard .nodes-head .summary .pill{padding:6px 12px}}

.users-form fieldset{margin:0;border:1px solid var(--shell-line);border-radius:11px;padding:14px;background:#05111b33}.users-form legend{font-size:11px;color:var(--shell-muted);padding:0 7px}.users-form fieldset small{font-size:11px;line-height:1.6;color:var(--shell-muted)}

/* Directory controls and richer surfaces. */
.users-grid{display:flex;flex-direction:column}.users-editor{width:100%;box-sizing:border-box}.users-editor .users-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.users-editor:not([open]) summary{padding-bottom:4px}.users-table-wrap{overflow:visible;min-width:0}.directory-scroll{overflow:auto;max-width:100%;border:1px solid var(--shell-line);border-radius:12px}.directory-toolbar{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:18px}.directory-toolbar label{display:grid;gap:7px;color:var(--shell-muted);font-size:11px}.directory-toolbar .directory-query{flex:1;min-width:220px}.directory-toolbar input,.directory-toolbar select{min-height:40px;border:1px solid var(--shell-line);border-radius:9px;padding:9px 12px;background:var(--shell-panel);color:var(--shell-text);font:inherit}.directory-toolbar :focus-visible{outline:2px solid var(--polish-cyan);outline-offset:2px}.directory-pagination{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:16px;font-size:12px;color:var(--shell-muted)}.directory-pagination nav{display:flex;align-items:center;gap:12px}.directory-pagination button:disabled{opacity:.35;cursor:default}.users-card{background:radial-gradient(ellipse at 100% 0%,#7654ce18,transparent 55%),linear-gradient(120deg,#10344855,var(--shell-panel));box-shadow:0 10px 30px #00000015}.user-overview>div{background:radial-gradient(circle at 95% 15%,#55dbe81c,transparent 65%),var(--shell-panel)}.user-overview>div:nth-child(2){background:radial-gradient(circle at 95% 15%,#67dbb61c,transparent 65%),var(--shell-panel)}.user-overview>div:nth-child(3){background:radial-gradient(circle at 95% 15%,#ad91f724,transparent 65%),var(--shell-panel)}
body[data-account-profile] .title{padding:24px;border:1px solid var(--shell-line);border-radius:18px;background:radial-gradient(ellipse at 90% 0%,#8970d52a,transparent 60%),linear-gradient(120deg,#19425955,var(--shell-panel));margin-bottom:20px}body[data-account-profile] .card{position:relative;overflow:hidden;background:radial-gradient(ellipse at 100% 0%,#48c9dc15,transparent 65%),linear-gradient(125deg,#102d4366,var(--shell-panel));box-shadow:0 14px 40px #0002}body[data-account-profile] .card:before{content:'';position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,var(--polish-cyan),var(--polish-violet),transparent)}.account-shortcuts{display:flex;flex-wrap:wrap;align-content:flex-start;gap:12px}.account-shortcuts>h2,.account-shortcuts>.eyebrow,.account-shortcuts>p{flex-basis:100%;margin:0 0 8px}.account-shortcuts>a.btn{display:flex;align-items:center;gap:13px;flex:1 1 230px;margin:0;min-height:76px;padding:18px;box-sizing:border-box;background:linear-gradient(120deg,#2c82941b,#7155ad15);border-radius:13px;transition:background .2s,border-color .2s}.account-shortcuts>a.btn:hover{background:#48c9dc20;border-color:var(--polish-cyan)}.account-shortcuts>a i{font-size:22px;color:var(--polish-cyan)}.profile-file{max-width:100%;font:inherit;font-size:12px;margin:10px 0}.profile-file::file-selector-button{border:1px solid var(--shell-line);border-radius:8px;background:#48c9dc18;color:var(--shell-text);padding:10px 13px;margin-right:10px;cursor:pointer}body[data-account-profile] .detail{grid-template-columns:145px minmax(0,1fr)}body[data-account-profile] .detail strong{overflow-wrap:anywhere}body[data-account-profile] .avatar-form{gap:22px}body[data-account-profile] .profile-photo{box-shadow:0 0 30px #48c9dc20}
.runtime-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.runtime-grid>.node-panel{margin:0;min-width:0}.runtime-grid .node-panel h2{display:flex;gap:10px;align-items:center;font-size:18px}.runtime-grid h2 i{color:var(--polish-cyan)}.runtime-grid .node-panel{background:radial-gradient(ellipse at 100% 0%,#7352bc18,transparent 65%),linear-gradient(125deg,#15394c55,var(--shell-panel))}.runtime-grid .node-checks li{gap:16px;align-items:flex-start;font-size:12px}.runtime-grid .node-checks li>span{overflow-wrap:anywhere}.runtime-grid .node-checks strong{padding:4px 8px;border-radius:7px;background:#55dbe80b;font-size:11px}.runtime-grid .node-card{margin-top:14px}.runtime-summary{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.runtime-summary span{display:flex;align-items:center;gap:9px;padding:12px 16px;border:1px solid var(--shell-line);border-radius:10px;background:#55dbe80b;font-size:12px}.runtime-summary i{color:var(--polish-cyan)}
@media(max-width:1100px){.runtime-grid{grid-template-columns:1fr}.users-editor .users-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.directory-pagination{align-items:flex-start;flex-direction:column}.directory-pagination nav{width:100%;justify-content:space-between}.directory-toolbar label{flex:1 1 130px}.users-editor .users-form{grid-template-columns:1fr}body[data-account-profile] .detail{grid-template-columns:1fr;gap:8px}.avatar-form{flex-wrap:wrap}.avatar-form>div{min-width:0;width:100%}.runtime-grid .node-panel{padding:18px}}

.download-guest-notice{display:flex;gap:14px;align-items:flex-start;margin-bottom:20px;padding:18px 22px;background:linear-gradient(110deg,#4dd9e514,#a58ae314);border-color:#4dd9e540}.download-guest-notice>i{font-size:23px;color:var(--polish-cyan)}.download-guest-notice p{margin:8px 0;font-size:12px;line-height:1.7}.download-guest-notice a{color:var(--polish-cyan)}@media(max-width:720px){.pos-guest-download span{display:none}.pos-guest-download{width:32px;min-width:32px;justify-content:center;padding:8px!important}}

.cluster-availability{padding:12px 15px;margin:0 0 20px;border:1px solid var(--shell-line);border-radius:10px;background:#56dfe50a;color:var(--shell-muted);font-size:12px;line-height:1.7}.telemetry-state{padding:11px 12px;background:#56dfe508;border:1px solid var(--shell-line);border-radius:10px;color:var(--polish-green);font-size:11px;line-height:1.6}.telemetry-state small{display:block;color:var(--shell-muted);margin-top:3px}.telemetry-state.stale{color:var(--polish-amber);background:#edc17b08}#dashboard .node.offline .bar i{opacity:.3}#dashboard .nodes-head{flex-wrap:wrap;gap:12px}#dashboard .node[hidden],.node-list [hidden],.machine-no-results[hidden]{display:none!important}.machine-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:18px 0}.machine-filters>label{display:grid;gap:7px;font-size:11px;color:var(--shell-muted)}.machine-filters .machine-search{display:flex;align-items:center;flex:1;min-width:230px;position:relative}.machine-search>i{position:absolute;left:14px;color:var(--shell-cyan)}.machine-filters input,.machine-filters select{height:43px;box-sizing:border-box;padding:10px 13px;border:1px solid var(--shell-line);border-radius:10px;background:var(--shell-panel);color:var(--shell-text);font:inherit}.machine-filters input{width:100%;padding-left:39px}.machine-filters :focus-visible{outline:2px solid var(--shell-cyan);outline-offset:2px}.machine-filters>span{font-size:11px;color:var(--shell-muted);padding-bottom:12px}.machine-legend{margin-bottom:18px;font-size:12px;line-height:1.7}.machine-progress{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:13px 0 3px;font-size:10px;color:var(--shell-muted)}.machine-progress>span{display:flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid var(--shell-line);border-radius:7px;background:#0000000b}.machine-progress>span.done{color:var(--polish-green);border-color:#67dbb62d;background:#67dbb608}.machine-progress>i{opacity:.35}.machine-freshness{font-size:11px;color:var(--shell-muted);padding:10px 12px;border-radius:8px;background:#55dbe807}.machine-stale .machine-freshness{color:var(--polish-amber);background:#edc17b0c}.machine-stale .node-badge{opacity:.55}.machine-no-results{text-align:center;padding:30px}.machine-no-results>i{font-size:24px;color:var(--shell-muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){.machine-filters>label{flex:1 1 130px}.machine-filters>span{width:100%;padding:0}.machine-progress{gap:5px}.machine-progress>span{padding:6px}.machine-progress>i{display:none}}

#dashboard .nodes{grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr));gap:14px}

.node-list.machine-sorted .node-card{animation:none}

:root{--state-online:#50e3a4;--state-offline:#ff6578;--state-paused:#ffb454}
#dashboard .node .status[data-state],.node-badge[data-state],#dashboard .table .status[data-state]{display:inline-flex;align-items:center;gap:7px;font-weight:700}
#dashboard .status[data-state=online],.node-badge[data-state=online],#dashboard .pill.ok,#dashboard #brain-state.ok{color:var(--state-online);border-color:var(--state-online)}
#dashboard .status[data-state=offline],.node-badge[data-state=offline],#dashboard .pill.bad,#dashboard #brain-state.bad{color:var(--state-offline);border-color:var(--state-offline)}
#dashboard .status[data-state=paused],.node-badge[data-state=paused]{color:var(--state-paused);border-color:var(--state-paused)}
#dashboard .status[data-state]:before,.node-badge[data-state=online]:before,.node-badge[data-state=offline]:before,.node-badge[data-state=paused]:before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor;flex:0 0 7px}
#dashboard .node.online .telemetry-state{color:var(--state-online)}#dashboard .node.offline:has(.status[data-state=offline]) .telemetry-state{color:var(--state-offline)}#dashboard .node:has(.status[data-state=paused]) .telemetry-state,.node-card[data-machine-state=paused] .machine-freshness{color:var(--state-paused)}.node-card[data-machine-state=offline] .machine-freshness{color:var(--state-offline)}.node-card[data-machine-state=online] .machine-freshness{color:var(--state-online)}

#dashboard .pill.paused{color:var(--state-paused);border-color:var(--state-paused)}
#dashboard #nodes-sub{color:var(--state-online)}
