:root { color-scheme: dark; --bg: #0d1420; --surface: #141f2d; --surface-2: #192738; --line: #27384a; --text: #eff5fb; --muted: #91a2b4; --accent: #72e0c0; --danger: #ff9c9c; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--text); background: radial-gradient(ellipse at 80% -15%, #20364c 0, transparent 40%), var(--bg); font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
h1, h2, .brand { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
h1 { margin: 10px 0 8px; font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.1; letter-spacing: -.045em; }
h2 { margin: 6px 0 0; font-size: 1.2rem; letter-spacing: -.02em; }
p { line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.eyebrow { color: var(--accent); font-size: .68rem; font-weight: 700; letter-spacing: .15em; }
.topbar { height: 72px; padding: 0 max(24px, calc((100vw - 1120px) / 2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(145,162,180,.12); background: rgba(13,20,32,.72); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 1.2rem; font-weight: 800; letter-spacing: -.06em; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; color: #09221c; background: var(--accent); border-radius: 10px; font-size: .95rem; }
.header-right { display: flex; gap: 18px; align-items: center; }
.profile-pill { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 30px; color: #c6d2df; font-size: .82rem; }
.online-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 10px rgba(114,224,192,.55); }
.dashboard { width: min(100% - 40px, 900px); margin: 60px auto 40px; }
.welcome { margin-bottom: 34px; }
.welcome p { margin: 0; }
.panel { padding: 26px; margin: 0 0 18px; background: linear-gradient(145deg, rgba(25,39,56,.96), rgba(19,30,44,.96)); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 60px rgba(0,0,0,.13); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.entity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 18px; }
.entity-card { display: grid; gap: 7px; min-width: 0; padding: 14px; background: rgba(9,17,28,.36); border: 1px solid rgba(145,162,180,.13); border-radius: 12px; }
.entity-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.entity-state { color: var(--accent); font-size: 1.05rem; }
.entity-domain { color: var(--muted); font-size: .72rem; }
.footnote { margin: 20px 0 0; }
.coming-soon { border-style: dashed; background: rgba(20,31,45,.54); }
.coming-soon p { max-width: 650px; margin-bottom: 0; }
footer { padding: 20px 0 0; color: #708194; text-align: center; font-size: .78rem; }
button { font: inherit; cursor: pointer; }
.button-secondary, .button-quiet { padding: 9px 13px; color: var(--text); background: #223448; border: 1px solid #32485e; border-radius: 9px; }
.button-secondary:hover, .button-quiet:hover { background: #2b4259; }
.button-quiet { padding: 8px 2px; color: var(--muted); background: transparent; border-color: transparent; }
.login-page { display: grid; place-items: center; padding: 24px; }
.login-card { width: min(100%, 410px); padding: 34px; background: rgba(20,31,45,.95); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 90px rgba(0,0,0,.35); }
.login-card h1 { margin-top: 14px; }
.login-card > p { margin: 0 0 25px; }
.login-card form { display: grid; gap: 10px; }
.login-card label { margin-top: 4px; color: #cbd7e4; font-size: .86rem; }
.login-card input { width: 100%; padding: 13px 14px; color: var(--text); background: #0e1825; border: 1px solid #34495e; border-radius: 9px; font: inherit; outline: none; }
.login-card input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(114,224,192,.12); }
.login-card form button { margin-top: 8px; padding: 13px; color: #09221c; background: var(--accent); border: 0; border-radius: 9px; font-weight: 700; }
.login-card form button:disabled { opacity: .65; }
.login-card .small { margin: 22px 0 0; }
.error { color: var(--danger); font-size: .86rem; }
@media (max-width: 520px) { .topbar { padding: 0 18px; } .dashboard { width: min(100% - 28px, 900px); margin-top: 40px; } .panel { padding: 20px; } .profile-pill { display: none; } }
