/* Shared polish and the HomeHub overview. Keep the chat's established layout. */
:root{--focus:#b0b0b0;--success:#b6b6b6;--radius:12px;--line:#2b2b2b;--muted:#969696;--raised:#202020;--surface:#141414;--bg:#0c0c0c;--rail:#090909}
body{letter-spacing:-.15px}button{transition:background .15s,border-color .15s}button.primary{background:#282828;border-color:#484848;color:#eeeeee;font-weight:600}button.primary:hover{background:#363636}button:focus-visible,a:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.sidebar{border-right-color:#303030}.brand{letter-spacing:-.4px}.nav button.active{background:#353535;color:#e4e4e4}.nav button.active .ico{color:#cecece}.nav button{border-radius:8px}.topbar{border-color:#303030}.avatar{background:#383838;color:#dbdbdb}.server-chip .dot{box-shadow:0 0 0 3px #c1c1c112}
.page[data-view="home"],.page[data-view="server"]{max-width:1400px;padding:34px 36px 48px}.home-welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:4px 0 28px}.home-welcome h1{font-size:30px;letter-spacing:-1.2px;line-height:1.35;margin:0;font-weight:650}.home-welcome>button{min-height:42px;padding-inline:16px;flex-shrink:0}
.overview-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:32px}.overview-stat{min-width:0;justify-content:flex-start;gap:13px;padding:19px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);text-align:left;color:var(--muted)}.overview-stat:hover{border-color:#6b6b6b;background:#282828}.overview-stat>span:nth-child(2){flex:1;font-size:12px}.overview-stat strong{display:block;color:var(--text);font-size:26px;line-height:1.3;letter-spacing:-1px;margin-top:5px;font-weight:600}.overview-stat strong small{font-size:11px;font-weight:400;letter-spacing:0;margin-left:6px;color:var(--muted)}.overview-stat>.ico{width:14px;opacity:.5}.stat-icon{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;background:#343434;color:#d2d2d2;border-radius:11px}.overview-stat:nth-child(2) .stat-icon{background:#323232;color:#d1d1d1}.overview-stat:nth-child(3) .stat-icon{background:#333333;color:#c7c7c7}.overview-stat:nth-child(4) .stat-icon{background:#313131;color:#c3c3c3}
.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.section-heading h2{margin:6px 0 0;font-size:18px}.home-server{margin-bottom:28px}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.resource-card{border:1px solid var(--line);border-radius:12px;padding:20px 22px;background:var(--surface);min-width:0}.resource-card>.row{font-size:12px;font-weight:500;color:#bcbcbc}.resource-card>.row>.ico{width:16px;color:#939393}.resource-card>strong{display:block;font-size:33px;letter-spacing:-1.4px;margin:13px 0 15px;line-height:1;font-weight:550;font-variant-numeric:tabular-nums}.resource-card>strong small{font-size:15px;color:var(--muted);margin-left:5px;font-weight:400}.resource-card p{color:var(--muted);font-size:11px;margin:10px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.resource-meter{height:5px;border-radius:5px;background:#393939;overflow:hidden}.resource-meter>span{display:block;height:100%;background:#bdbdbd;border-radius:5px;transition:width .4s}.resource-card:nth-child(2) .resource-meter>span{background:#bebebe}.resource-card:nth-child(3) .resource-meter>span{background:#c2c2c2}.resource-high .resource-meter>span{background:#a9a9a9!important}.resource-high>strong{color:#bdbdbd}.server-updated{font-size:10px;color:#959595;text-align:right;margin:9px 0 0}
.dashboard-grid{gap:18px}.dashboard-grid>.card{padding:22px;border:1px solid var(--line);border-radius:12px;box-shadow:0 2px 8px #00000011}.card-title{margin-bottom:14px}.card-title h2{font-size:15px;letter-spacing:-.3px}.list-row{gap:11px;padding:11px 0;border-bottom-color:#323232}.list-row:last-child{border-bottom:0}.dashboard-item{flex-direction:column;align-items:flex-start;gap:3px;justify-content:center;text-align:left;padding:6px 4px}.dashboard-item strong{font-weight:500;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.dashboard-item span{font-size:11px;color:var(--muted)}.dashboard-grid .icon-tile{border-radius:10px;width:34px;height:34px;min-width:34px;background:#323232;color:#b6b6b6}.date-tile{min-width:38px;display:grid;justify-items:center;background:#323232;padding:5px 7px;border-radius:8px;line-height:1.25}.date-tile small{font-size:9px;color:var(--muted)}.date-tile strong{font-size:18px;font-weight:500}.dashboard-grid .empty{padding:28px 12px;min-height:160px;gap:10px}.dashboard-grid .empty>strong{font-size:13px;font-weight:400;color:var(--muted)}
.server-status{display:flex;align-items:center;gap:8px;color:#b8b8b8;font-size:12px;padding:12px 0 20px;min-height:46px}.server-status:before{content:'';width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#b6b6b6}.server-status.has-error{color:var(--danger)}.server-status.has-error:before{background:var(--danger)}.server-charts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.server-charts>.card,.server-details{border-radius:12px;padding:23px;border:1px solid var(--line)}.resource-chart{display:block;width:100%;height:145px;overflow:visible}.chart-grid{fill:none;stroke:#383838;stroke-width:.6;stroke-dasharray:3 4}.chart-line{fill:none;stroke:#c7c7c7;stroke-width:2;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}#memory-chart .chart-line{stroke:#bebebe}.chart-caption{display:flex;justify-content:space-between;font-size:10px;color:#989898;margin-top:12px;gap:10px}.chart-wait{height:145px;display:grid;place-items:center;color:var(--muted);font-size:12px}.server-details dl{display:grid;grid-template-columns:1fr 1fr;column-gap:44px;margin:0}.server-details dl>div{display:flex;justify-content:space-between;gap:14px;padding:16px 0;border-top:1px solid var(--line);font-size:12px;min-width:0}.server-details dt{color:var(--muted);flex-shrink:0}.server-details dd{margin:0;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.connection-banner{position:fixed;bottom:14px;left:50%;transform:translateX(-50%);z-index:90;display:flex;align-items:center;gap:20px;max-width:calc(100% - 28px);width:max-content;padding:9px 12px 9px 17px;border:1px solid #676767;background:#2b2b2b;color:#d5d5d5;border-radius:10px;box-shadow:0 8px 24px #00000044;font-size:12px}.connection-banner[hidden]{display:none}.connection-banner>span{min-width:0}.connection-banner>button{flex-shrink:0}.connection-empty{text-align:center;max-width:390px}.connection-empty>.ico{width:36px;height:36px;color:#c4c4c4;margin-bottom:14px}.connection-empty h1{font-size:21px}.message-actions{align-items:center}
@media(max-width:1100px){.page[data-view="home"],.page[data-view="server"]{padding:28px 24px}.overview-stat{gap:10px;padding:16px 12px}.overview-stat>.ico{display:none}.stat-icon{width:33px;height:33px}.server-details dl{column-gap:25px}}
@media(max-width:760px){.page[data-view="home"],.page[data-view="server"]{padding:24px 16px 32px}.home-welcome{align-items:flex-start;gap:12px;margin-bottom:22px}.home-welcome h1{font-size:24px;letter-spacing:-.8px}.home-welcome>button{margin-top:0;min-height:40px;padding-inline:10px;font-size:12px}.overview-stats{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:26px}.overview-stat{padding:14px 12px;gap:10px}.overview-stat strong{font-size:24px}.overview-stat>span:nth-child(2){font-size:11px}.resource-grid{gap:8px}.resource-card{padding:15px 11px;border-radius:10px}.resource-card>strong{font-size:26px;margin:16px 0}.resource-card>strong small{font-size:12px}.resource-card>.row{font-size:11px}.resource-card>.row>.ico{display:none}.resource-card p{font-size:9px}.server-updated{font-size:9px}.dashboard-grid{gap:14px}.dashboard-grid>.card{padding:18px}.server-charts{grid-template-columns:1fr;gap:14px;margin:18px 0}.server-charts>.card,.server-details{padding:18px}.server-details dl{grid-template-columns:1fr}.server-details dl>div{padding:14px 0}.server-status{font-size:11px;padding-top:0}.connection-banner{gap:8px;font-size:11px;padding:8px 10px}.resource-chart{height:130px}}
@media(prefers-reduced-motion:reduce){.resource-meter>span,button{transition:none}}

.chart-point{fill:#c7c7c7}#memory-chart .chart-point{fill:#bebebe}
