:root{--white:#fffef4;--page-bg:#f3f2d4;--text-strong:#1c2412;--text-muted:#6a7256;--border:#d2d9ae;--lemon:#f3ec4a;--lemon-soft:#f3ec4a57;--olive:#35421f;--olive-deep:#1e2812;--olive-soft:#e4ebd3;--green:#35421f;--green-soft:#eef6a8;color:var(--text-strong);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5}*{box-sizing:border-box}body{background:var(--page-bg);min-width:320px;margin:0}button,input{font:inherit}button{transition:background-color .18s,color .18s,transform .18s}button:hover{transform:translateY(-1px)}.app-shell{grid-template-rows:auto 1fr;min-height:100svh;display:grid;overflow-x:clip}.topbar{background:var(--white);border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:5;grid-template-columns:1fr auto;justify-content:space-between;align-items:center;gap:20px;min-height:72px;padding:16px clamp(20px,5vw,72px);display:grid;position:sticky;top:0}.topbar-logo{color:var(--text-strong);letter-spacing:-.08em;overflow-wrap:anywhere;justify-self:start;font-size:1.25rem;font-weight:900;text-decoration:none}.topbar-meta{color:var(--text-muted);flex-wrap:wrap;justify-content:flex-end;justify-self:end;align-items:center;gap:12px;min-width:0;display:flex}.topbar-meta span{color:var(--text-strong);text-overflow:ellipsis;white-space:nowrap;text-transform:uppercase;font-size:.95rem;font-weight:800;overflow:hidden}.auth-page{background:var(--page-bg);place-items:center;width:100%;max-width:1180px;min-height:calc(100svh - 72px);margin:0 auto;display:grid}.auth-shell{width:100%;min-height:inherit;grid-template-columns:minmax(240px,.9fr) minmax(320px,460px);display:grid}.auth-brand{place-items:center;padding:clamp(28px,6vw,64px);display:grid}.auth-brand span{aspect-ratio:1;background:linear-gradient(135deg, var(--olive), var(--olive-deep));width:min(340px,64vw);color:var(--lemon);letter-spacing:-.04em;overflow-wrap:anywhere;text-align:center;border-radius:36px;place-items:center;padding:0 24px;font-size:clamp(1.15rem,3.2vw,2.15rem);font-weight:800;line-height:.95;display:grid}.auth-panel{background:var(--white);place-items:center;padding:clamp(28px,5vw,56px);display:grid}.auth-card{gap:18px;width:100%;max-width:420px;display:grid}.eyebrow{color:var(--olive);letter-spacing:.14em;text-transform:uppercase;margin:0;font-size:.78rem;font-weight:800}.auth-card h1,.home-header h1{color:var(--text-strong);letter-spacing:-.08em;margin:0;font-size:clamp(2.4rem,7vw,4.5rem);line-height:.95}.auth-copy{color:var(--text-muted);max-width:32ch;margin:0 0 14px}.auth-card label{color:var(--text-strong);gap:8px;font-size:.92rem;font-weight:700;display:grid}.auth-card input{border:1px solid var(--border);color:var(--text-strong);font:inherit;border-radius:18px;padding:15px 16px;transition:border-color .18s,box-shadow .18s}.auth-card input:focus{border-color:var(--lemon);box-shadow:0 0 0 4px var(--lemon-soft);outline:none}.primary-button,.secondary-button{cursor:pointer;font:inherit;border:0;border-radius:999px;font-weight:800}.primary-button{background:var(--lemon);color:var(--olive);margin-top:8px;padding:16px 22px}.primary-button:hover{background:var(--olive);color:var(--lemon)}.primary-button:disabled{cursor:not-allowed;opacity:.65;transform:none}.form-error{background:var(--olive-soft);color:var(--olive);border-radius:14px;margin:0;padding:12px 14px;font-size:.92rem;font-weight:700}.switch-copy{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0 0;display:flex}.switch-copy button{color:var(--olive);cursor:pointer;font:inherit;background:0 0;border:0;padding:0;font-weight:800}.home-page{background:radial-gradient(circle at 80% 10%, #f3ec4a47, transparent 32%), linear-gradient(180deg, var(--white), var(--page-bg));gap:28px;min-height:calc(100svh - 72px);padding-bottom:48px;display:grid}.home-header{justify-content:space-between;align-items:end;gap:24px;padding:36px clamp(24px,6vw,72px) 0;display:flex}.secondary-button{background:var(--olive-soft);color:var(--olive);padding:12px 18px}.secondary-button:hover{background:var(--olive);color:var(--lemon)}.empty-home{color:var(--text-muted);padding:0 clamp(24px,6vw,72px)}.empty-home p{margin:0}.monitor-copy{color:var(--text-muted);margin:12px 0 0}.monitor-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:0 clamp(24px,6vw,72px);display:grid}.summary-card,.host-card{background:var(--white);border:1px solid var(--border);border-radius:22px;box-shadow:0 12px 28px #35421f14}.summary-card{gap:6px;padding:18px 20px;display:grid}.summary-card span,.usage-bar-detail,.host-meta,.host-seen,.host-gpu,.host-network span{color:var(--text-muted);font-size:.82rem;font-weight:700}.summary-card strong,.host-network strong{color:var(--text-strong);letter-spacing:-.04em;font-size:1.35rem;font-weight:800}.monitor-error{margin:0 clamp(24px,6vw,72px)}.host-grid{grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:18px;padding:0 clamp(24px,6vw,72px);display:grid}.host-card{gap:14px;padding:20px;display:grid}.host-card.is-offline{opacity:.78}.host-card-head{justify-content:space-between;align-items:start;gap:12px;display:flex}.host-name{color:var(--text-strong);letter-spacing:-.04em;overflow-wrap:anywhere;margin:0;font-size:1.2rem;font-weight:800}.host-meta,.host-seen,.host-gpu,.usage-bar-detail{margin:0}.status-pill{letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;border-radius:999px;padding:6px 10px;font-size:.74rem;font-weight:800}.status-pill.is-online{background:var(--green-soft);color:var(--green)}.status-pill.is-offline{background:var(--olive-soft);color:var(--olive)}.host-network{grid-template-columns:1fr 1fr;gap:12px;display:grid}.host-network div{background:var(--page-bg);border-radius:16px;gap:4px;padding:12px 14px;display:grid}.host-sparklines{gap:8px;display:grid}.host-sparklines>div{gap:4px;display:grid}.host-sparklines span{color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;font-size:.72rem;font-weight:800}.sparkline{color:var(--lemon);width:100%;height:44px;display:block}.sparkline path{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:3px}.sparkline.is-sent{color:var(--olive)}.sparkline.is-empty{color:var(--text-muted);height:auto;font-size:.82rem;font-weight:700}.usage-bar{gap:6px;display:grid}.usage-bar-meta{justify-content:space-between;font-size:.88rem;font-weight:700;display:flex}.usage-bar-track{background:var(--olive-soft);border-radius:999px;height:8px;overflow:hidden}.usage-bar-fill{background:var(--lemon);border-radius:inherit;min-width:0;height:100%;display:block}.usage-bar-fill.is-ok{background:var(--green)}.usage-bar-fill.is-warn{background:var(--lemon)}.usage-bar-fill.is-critical{background:var(--olive-deep)}@media (width<=900px){.auth-page{place-items:start center;padding:20px 16px 40px}.auth-shell{border:1px solid var(--border);background:var(--white);border-radius:28px;grid-template-columns:1fr;width:min(100%,420px);min-height:auto;overflow:hidden;box-shadow:0 18px 40px #35421f1f}.auth-brand{padding:0}.auth-brand span{aspect-ratio:auto;border-radius:0;width:100%;min-height:120px;font-size:clamp(1.15rem,5.5vw,1.7rem)}.auth-panel{background:0 0;padding:0}.auth-card{box-shadow:none;border:0;border-radius:0;padding:24px 22px 28px}.topbar{gap:12px}.topbar-meta{flex-direction:column;align-items:flex-end;gap:8px;display:flex}.home-header{align-items:start;padding-top:28px;display:grid}.monitor-summary{grid-template-columns:1fr 1fr}}@media (width<=640px){.topbar{min-height:64px;padding:14px 16px}.topbar-meta{gap:8px}.topbar-meta span{max-width:42vw}.secondary-button{padding:10px 14px}.auth-page,.home-page{min-height:calc(100svh - 64px)}.home-page{gap:20px;padding-bottom:32px}.home-header,.empty-home,.monitor-summary,.host-grid,.monitor-error{padding-left:16px;padding-right:16px}.home-header{padding-top:24px}.auth-card h1,.home-header h1{font-size:clamp(2.1rem,12vw,3.2rem)}.monitor-summary{grid-template-columns:1fr}}
