@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap";:root{color:#e9eef9;font-synthesis:none;background:#0b1020;font-family:DM Sans,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Space Grotesk,system-ui,sans-serif}h1{font-size:clamp(1.8rem,5vw,2.7rem);line-height:1.1}h2{font-size:1.45rem}h3{font-size:1.08rem}p{line-height:1.5}small,.muted{color:#95a4c0}.center{text-align:center;place-content:center;min-height:100vh;display:grid}.spinner{border:3px solid #334155;border-top-color:#38bdf8;border-radius:50%;width:35px;height:35px;margin:auto;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.auth-shell{background:radial-gradient(circle at 15% 10%,#154571 0,#0000 34%),radial-gradient(circle at 85% 90%,#5c1f58 0,#0000 34%),#0b1020;place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{background:#121b31e6;border:1px solid #344260;border-radius:24px;width:min(100%,450px);padding:32px;box-shadow:0 24px 80px #0007}.auth-card h1{margin-top:24px}.brand-mark{letter-spacing:-.08em;color:#fff;font-family:Space Grotesk,sans-serif;font-size:2.4rem;font-weight:700}.brand-mark span{color:#38bdf8;margin-left:4px}.brand-mark.small{font-size:1.55rem}.form{gap:16px;display:grid}.form label,.card label{color:#d8e1f2;gap:7px;font-size:.9rem;font-weight:600;display:grid}input,select{color:#fff;background:#101a30;border:1px solid #3c4b69;border-radius:11px;outline:none;width:100%;min-height:44px;padding:10px 13px}input:focus,select:focus{border-color:#38bdf8;box-shadow:0 0 0 3px #38bdf82b}button{color:#eaf2ff;background:#1b2942;border:1px solid #4a5d79;border-radius:11px;min-height:42px;padding:9px 15px;font-weight:700}button:hover:not(:disabled){background:#233959;border-color:#38bdf8}.primary{color:#071222;background:#38bdf8;border-color:#38bdf8}.primary:hover:not(:disabled){color:#071222;background:#7dd3fc}.text-button{color:#7dd3fc;background:0 0;border:0;padding:14px 0}.app-shell{min-height:100vh;padding-bottom:84px}.topbar{justify-content:space-between;align-items:center;gap:16px;max-width:1200px;margin:auto;padding:22px 24px;display:flex}.topbar small{letter-spacing:.15em;text-transform:uppercase;font-size:.7rem;display:block}.header-actions{align-items:center;gap:8px;display:flex}.header-actions select{width:auto;max-width:220px}.icon-button{background:0 0}.hero{background:linear-gradient(120deg,#15365d,#17213e 55%,#492253);border:1px solid #436385;border-radius:24px;max-width:1152px;margin:0 auto;padding:34px 32px 28px}.hero p{color:#b8d8f1}.hero h1{margin-bottom:24px}.stats{flex-wrap:wrap;gap:12px;display:flex}.stats span{color:#d9e8f7;background:#ffffff16;border-radius:13px;padding:11px 16px}.stats strong{color:#fff;margin-right:5px;font-size:1.25rem}.content{max-width:1200px;margin:auto;padding:24px}.section-head{justify-content:space-between;align-items:center;gap:12px;margin:4px 0 18px;display:flex}.section-head h2{margin:0}.pill{color:#88dbfb;background:#173c57;border-radius:999px;padding:7px 11px;font-size:.75rem;font-weight:700}.card{background:#141e33;border:1px solid #2f405b;border-radius:18px;margin:0 0 16px;padding:22px;box-shadow:0 7px 20px #0002}.card h3{margin-bottom:8px}.card p{color:#b4c0d5}.grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;display:grid}.card-title,.list-row,.row{justify-content:space-between;align-items:center;gap:10px;display:flex}.row{flex-wrap:wrap;justify-content:flex-start;margin:16px 0}.status{color:#f9a8d4;background:#573045;border-radius:999px;padding:5px 9px;font-size:.75rem}.status.online{color:#86efac;background:#164c48}.card select{margin-top:6px}.card label+label{margin-top:14px}.list-row{border-bottom:1px solid #2d3a52;padding:13px 0}.list-row:last-child{border:0}.list-row strong{display:block}.list-row small{margin-top:5px;display:block}.empty{color:#8293ad;font-style:italic}.check-row{align-items:center;padding:8px 0;gap:10px!important;display:flex!important}.check-row input{width:20px;min-height:20px}.inline{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));align-items:end}.alert{border-radius:12px;justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.alert button{background:0 0;border:0;min-height:0;padding:0;font-size:1.3rem}.alert.error{color:#ffe1e6;background:#592b39}.alert.success{color:#d5ffe8;background:#1b493f}.bottom-nav{z-index:5;padding:10px 18px calc(10px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0e1729ee;border-top:1px solid #34415a;justify-content:center;gap:8px;display:flex;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{color:#9dacbf;background:0 0;border:0;min-width:90px}.bottom-nav button.active{color:#7dd3fc;background:#223e5b}.chat-list{height:310px;margin:14px 0;overflow:auto}.message{border-bottom:1px solid #26364d;padding:10px 0}.message strong{color:#7dd3fc}.message p{color:#e9eef9;margin:5px 0}@media (width<=640px){.topbar{padding:14px 18px}.header-actions select{max-width:145px}.hero{margin:0 14px;padding:25px 20px}.content{padding:18px 14px}.bottom-nav{gap:0;padding-left:4px;padding-right:4px}.bottom-nav button{flex:1;min-width:0;padding:8px 3px;font-size:.72rem}.auth-card{padding:26px}.stats{gap:7px}.stats span{padding:9px 11px;font-size:.8rem}}.password-field{display:block;position:relative}.password-field input{padding-right:88px}.password-toggle{color:#7dd3fc;background:0 0;border:0;min-height:34px;padding:4px 9px;font-size:.82rem;position:absolute;top:5px;right:5px}
