:root{color-scheme:dark;--bg:#0a1020;--sidebar:#0c1427;--panel:#111b30;--panel2:#17243b;--border:#24334c;--text:#eaf0fc;--muted:#98abc9;--faint:#677c9d;--accent:#5689ff;--accent2:#2f68ec;--good:#42cf95;--danger:#ed7186;--radius:15px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(28px,3vw,42px);letter-spacing:-.045em;margin-bottom:9px}h2{font-size:27px;letter-spacing:-.04em;margin-bottom:10px}h3{font-size:18px;letter-spacing:-.03em;margin-bottom:6px}p{line-height:1.6}.subtle{color:var(--muted);line-height:1.55}.small-text{font-size:12px;margin-bottom:0}.muted{color:var(--muted)}.eyebrow{color:#95b1f4;letter-spacing:.12em;font-weight:800;font-size:10px;margin-bottom:12px}.mark{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:850;letter-spacing:.04em}.mark span{color:#7798d8;font-weight:550;font-size:13px;margin-left:-7px}.logo-symbol{height:36px;width:36px;display:grid;place-items:center;background:linear-gradient(135deg,#6590ff,#2451c7);border-radius:10px;color:#fff;font-size:22px;box-shadow:0 0 35px #376efa35}.auth-view{display:grid;grid-template-columns:1.05fr 1fr;min-height:100vh}.auth-aside{padding:44px clamp(38px,5vw,90px);background:radial-gradient(circle at 27% 55%,#21458470,transparent 49%),linear-gradient(160deg,#142646,#0d1630 75%);border-right:1px solid #34507c55;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.auth-hero{max-width:610px}.auth-hero h1{font-size:clamp(34px,3.7vw,58px);line-height:1.11;font-weight:790}.auth-hero h1 em{font-style:normal;color:#91b4ff}.auth-hero p{font-size:16px;color:#aec0d8;max-width:390px;margin-top:25px}.auth-aside-bottom{display:flex;align-items:center;gap:10px;color:#bdcbe0;font-size:12px}.dot,.online-dot{width:7px;height:7px;display:inline-block;background:var(--good);border-radius:50%;box-shadow:0 0 10px #42cf9588}.auth-main{display:grid;place-items:center;padding:30px 25px}.auth-card{width:min(430px,100%)}.auth-card h2{font-size:31px}.auth-card .subtle{margin-bottom:30px}.auth-card .auth-footer{margin-top:36px;color:var(--faint);line-height:1.5;font-size:11px}.mobile-mark{display:none;margin-bottom:45px}.form-stack{display:flex;flex-direction:column;gap:17px}.form-stack>label,.panel label,.modal label,.auth-card label{display:flex;flex-direction:column;gap:8px;font-weight:650;font-size:12px;color:#cddaf2}input:not([type=checkbox]){width:100%;min-height:44px;border:1px solid #344761;background:#0d1628;padding:11px 13px;border-radius:10px;color:#ecf2ff;outline:none;transition:border .15s,box-shadow .15s}input:not([type=checkbox])::placeholder{color:#657d9f}input:not([type=checkbox]):focus{border-color:#608dff;box-shadow:0 0 0 3px #608dff22}input[type=checkbox]{width:17px;height:17px;accent-color:#608dff;cursor:pointer;flex-shrink:0;margin:2px 0 0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:11px;padding:11px 17px;min-height:41px;border:1px solid transparent;border-radius:10px;font-weight:720;white-space:nowrap;transition:background .15s,transform .15s}.btn:not(:disabled):hover{transform:translateY(-1px)}.btn.primary{background:#477af5;color:white;box-shadow:0 5px 16px #3459bd25}.btn.primary:hover{background:#5b8cff}.btn.secondary{background:#203455;border-color:#345077;color:#d6e5ff}.btn.secondary:hover{background:#294265}.btn.outline{background:transparent;border-color:#3b4d68;color:#d6e5ff}.btn.outline:hover{background:#202d47}.btn.danger{background:#4b2431;color:#ffbdcb;border-color:#833f55}.btn.small{padding:7px 12px;min-height:32px;font-size:12px}.btn.wide{width:100%;margin-top:7px}.back,.text-link{border:0;background:none;color:#96b7ff;font-weight:650;padding:0;display:inline-block;margin:0 0 22px}.back:hover,.text-link:hover{text-decoration:underline}.text-link{margin-top:20px}.inline-error{margin-top:18px;background:#6d263545;border:1px solid #b65065;color:#ffd1d9;padding:12px;border-radius:10px}.inline-input{display:flex;align-items:center;gap:8px;padding:11px;border-radius:9px;border:1px solid var(--border);background:#0c1527;flex-wrap:wrap}.inline-input code{flex:1;word-break:break-all;color:#bed1ff;font-size:13px}.recovery-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0;padding:14px;background:#0d172c;border:1px solid #34415f;border-radius:10px;font-family:monospace;font-size:11px}.recovery-list>span{white-space:nowrap}.app-shell{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--sidebar);border-right:1px solid var(--border);padding:29px 16px;display:flex;flex-direction:column;gap:28px;position:sticky;top:0;height:100vh}.sidebar-mark{padding:0 10px}.sidebar-label{padding-left:15px;color:#6581aa;font-size:10px;letter-spacing:.11em;font-weight:800}.sidebar nav{display:grid;gap:6px}.nav{width:100%;display:flex;align-items:center;gap:12px;border:0;text-align:left;color:#a7bbd8;padding:12px 16px;border-radius:10px;background:transparent;font-weight:650}.nav:hover{background:#1a2943}.nav.active{background:#223860;color:#e9f1ff}.nav-icon{font-size:20px;width:21px;text-align:center}.sidebar-bottom{margin-top:auto;padding:0 10px}.server-note{background:#152640;padding:15px;border:1px solid #263b5d;border-radius:12px;color:#d0dfef;font-size:12px}.server-note .online-dot{margin-right:7px}.server-note small{display:block;color:#839bbc;margin:7px 0 0 17px;font-size:11px}.version{color:#627ca1;margin-top:20px;font-size:10px}.workspace{min-width:0}.topbar{height:79px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(25px,4vw,70px);background:#0d1528}.breadcrumb{font-size:12px;color:#788eaf}.breadcrumb span{padding:0 12px;color:#556a86}.breadcrumb strong{color:#dbe6fa}.topbar-right{display:flex;align-items:center;gap:17px}.security-pill{background:#15362f;color:#79e2b1;border:1px solid #2a5647;border-radius:100px;padding:7px 12px;font-size:11px;font-weight:700}.identity{font-weight:700}.content{max-width:1450px;margin:auto;padding:47px clamp(25px,4vw,70px) 65px}.page-intro{display:flex;justify-content:space-between;gap:22px;align-items:center;margin-bottom:30px}.page-intro .subtle{margin-bottom:0}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:42px}.stat{background:var(--panel);border:1px solid var(--border);border-radius:14px;padding:21px 23px;display:flex;flex-direction:column;gap:11px}.stat>span{color:#9aafd0;font-size:12px}.stat strong{font-size:31px;letter-spacing:-.05em}.stat small{font-size:11px;color:#6d87ab}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:18px}.section-head h3{margin:0 0 4px}.rooms-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(275px,1fr));gap:18px}.room-card{text-align:left;display:flex;flex-direction:column;min-height:226px;background:linear-gradient(140deg,#14233d,#101b30);border:1px solid #2c4060;color:inherit;border-radius:15px;padding:22px;transition:border .16s,transform .16s;position:relative}.room-card:hover{border-color:#5c7cc0;transform:translateY(-2px)}.room-card-top{display:flex;align-items:flex-start;justify-content:space-between}.room-avatar{width:46px;height:46px;border:1px solid #42669c;background:linear-gradient(135deg,#295aa8,#132d5c);border-radius:12px;display:grid;place-items:center;color:#d5e4ff;font-size:22px}.pill{font-size:10px;font-weight:800;letter-spacing:.02em;padding:6px 9px;border-radius:8px;border:1px solid #37547f;background:#1a3356;color:#b7d0ff}.pill.private{background:#352b4c;border-color:#665184;color:#dac4ff}.pill.green{background:#1a4236;border-color:#2e7659;color:#9ae6c2}.pill.gray{background:#233045;border-color:#3c506e;color:#adbed8}.room-card h3{font-size:18px;margin:18px 0 5px;word-break:break-word}.room-code{color:#7e98bd;font-family:monospace;font-size:11px;word-break:break-all}.room-card-footer{display:flex;justify-content:space-between;align-items:center;gap:6px;border-top:1px solid #283853;margin-top:auto;padding-top:17px;color:#8ea4c4;font-size:11px}.room-card-footer strong{color:#b8cae7}.empty{text-align:center;border:1px dashed #3d5375;padding:70px 25px;border-radius:14px;background:var(--panel)}.empty-icon{font-size:40px;color:#5e85c2;margin-bottom:12px}.empty h3{margin:0 0 9px}.empty p{color:var(--muted);margin-bottom:23px}.more-btn{margin:18px auto;display:flex}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.panel{background:var(--panel);border:1px solid var(--border);border-radius:15px;padding:25px;min-width:0}.panel h3{margin-bottom:7px}.panel>.subtle{margin-bottom:24px}.check-row{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:12px!important;padding:12px 0;border-bottom:1px solid #263753}.check-row strong{font-size:12px;display:block;margin-bottom:4px;color:#dce7f7}.check-row small{font-size:11px;color:#819ac0;font-weight:400;line-height:1.5;display:block}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:7px}.members-title{margin:26px 0 10px;font-size:12px;font-weight:800;color:#a6bde3}.member,.user-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px 0;border-top:1px solid #283754}.member-name{font-size:12px;font-weight:750}.member-meta{color:#829cc0;font-size:10px;margin-top:5px}.member-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.member-actions button{border:1px solid #415575;background:#1e3150;color:#d0e0f6;padding:6px 8px;border-radius:8px;font-size:11px}.member-actions button:hover{background:#2a4267}.member-actions button.remove{color:#ffb0bf}.users-list{max-height:600px;overflow-y:auto}.info-banner{background:#152b47;border:1px solid #2a476a;padding:17px 20px;border-radius:12px;color:#b7cdeb;margin-bottom:23px;line-height:1.6}.info-banner strong{color:white}.form-inline{display:flex;gap:10px;flex-wrap:wrap}.form-inline input{flex:1;min-width:140px}.modal{background:#121d32;border:1px solid #405676;color:var(--text);border-radius:17px;padding:26px;box-shadow:0 30px 100px #0009;width:min(500px,calc(100vw - 28px));max-height:90vh;overflow:auto}.modal::backdrop{background:#030813c9;backdrop-filter:blur(5px)}.modal-head{display:flex;align-items:start;justify-content:space-between;margin-bottom:25px}.modal-head h2{margin:0}.modal-head .eyebrow{margin-bottom:7px}.close{background:transparent;color:#b3c7e2;border:0;font-size:25px}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:10px}.toast{position:fixed;bottom:24px;right:24px;z-index:50;background:#1d3b35;border:1px solid #3d9b74;color:#cbffe5;padding:14px 19px;max-width:min(400px,calc(100vw - 30px));border-radius:11px;box-shadow:0 15px 50px #0009}.toast.error{background:#4c2531;border-color:#b44d61;color:#ffe2e7}.auth-card [hidden],.app-shell [hidden],.modal [hidden],[hidden]{display:none!important}@media(max-width:1100px){.two-columns{grid-template-columns:1fr}.sidebar{width:210px}.app-shell{grid-template-columns:210px minmax(0,1fr)}}@media(max-width:820px){.auth-view{grid-template-columns:1fr}.auth-aside{display:none}.mobile-mark{display:flex}.app-shell{display:block}.sidebar{height:auto;width:auto;position:static;flex-direction:row;align-items:center;padding:14px 20px;gap:20px}.sidebar-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:8px}.sidebar-mark{font-size:16px}.sidebar-mark .logo-symbol{height:29px;width:29px;font-size:17px}.sidebar-mark span{font-size:10px}.nav{font-size:11px;padding:8px}.topbar{height:65px;padding:0 20px}.content{padding:28px 20px 55px}.page-intro{align-items:flex-start}.stats{margin-bottom:30px}}@media(max-width:550px){.sidebar{flex-wrap:wrap;justify-content:space-between;gap:8px}.security-pill{display:none}.identity{font-size:12px}.page-intro{flex-direction:column;gap:15px}.stats{gap:8px}.stat{padding:15px}.stat strong{font-size:24px}.stat>span{font-size:10px}.stat small{font-size:9px}.room-card{min-height:195px}.rooms-grid{grid-template-columns:1fr}.panel{padding:19px}.auth-main{padding:24px}.auth-footer{margin-top:24px}}

