:root{color-scheme:dark;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#e9eefb;background:#080b19;font-size:14px}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 70% 0,#18234277,transparent 60%)}button,input,textarea{font:inherit}button{cursor:pointer;transition:.2s}button:disabled{opacity:.45;cursor:wait}a{color:inherit;text-decoration:none}.hidden{display:none!important}.nebula{position:fixed;pointer-events:none;width:500px;height:500px;filter:blur(100px);border-radius:50%;z-index:-1;opacity:.18}.nebula-a{background:#7547ed;top:12%;left:-170px}.nebula-b{background:#0eb0c1;right:-180px;bottom:-200px}.stars{position:fixed;inset:0;pointer-events:none;z-index:-1;background-image:radial-gradient(1px 1px at 9% 13%,#fff 90%,transparent),radial-gradient(1px 1px at 33% 56%,#a7b6ff 90%,transparent),radial-gradient(2px 2px at 76% 27%,#bdd3ff 90%,transparent),radial-gradient(1px 1px at 52% 80%,#fff 90%,transparent);background-size:370px 360px;opacity:.45}header{max-width:1440px;margin:auto;display:flex;align-items:center;gap:25px;padding:28px 42px;border-bottom:1px solid #ffffff0e}.brand{display:flex;gap:12px;font-size:27px;font-weight:700;color:#93dedd}.brand small{display:block;font-size:9px;letter-spacing:3px;color:#98a4c1;margin-top:2px}.header-note{color:#8593b5;font-size:12px;margin-left:auto}main{max-width:1360px;margin:auto;padding:45px 36px}.eyebrow{letter-spacing:2.6px;color:#75d9d3;font-size:10px;font-weight:600}h1,h2,p{margin:0}h1{font-size:36px;letter-spacing:-1px;font-weight:650;line-height:1.35}h2{font-size:20px;font-weight:600;margin:12px 0 20px}.muted{color:#8f9bb7;line-height:1.85}.small{font-size:12px}.glass{border:1px solid #b7c6ff19;background:linear-gradient(135deg,#172039a8,#0e1326df);box-shadow:0 14px 45px #0002;border-radius:20px;backdrop-filter:blur(15px)}.login-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:100px;align-items:center;max-width:1060px;margin:55px auto 70px}.intro h1{font-size:49px;margin:22px 0;color:#f5f5ff}.intro p{color:#9aabcc;line-height:2;font-size:15px}.login-card{padding:38px;max-width:430px;width:100%}.login-card h2{font-size:26px;margin:15px 0 6px}.login-card>p{margin-bottom:26px}.login-card>small{display:block;text-align:center;margin-top:22px;font-size:11px}label{display:block;color:#bbc6dc;font-size:12px;margin:22px 0 16px}input:not([type=checkbox]),textarea{width:100%;padding:13px 14px;margin-top:10px;color:#eef3ff;background:#080e2099;border:1px solid #8396c32e;border-radius:10px;outline:none}input:focus,textarea:focus{border-color:#76d9d3;box-shadow:0 0 0 3px #66d4cd15}input::placeholder,textarea::placeholder{color:#586582}textarea{resize:vertical}.primary,.ghost,.danger{padding:11px 18px;border-radius:10px;font-weight:600;border:1px solid transparent}.primary{background:linear-gradient(110deg,#7de4d3,#95bbff);color:#0d2033;box-shadow:0 4px 22px #71d5ce12}.primary:hover{filter:brightness(1.1);transform:translateY(-1px)}.ghost{background:#ffffff04;border-color:#aab8e128;color:#b6c5e5}.ghost:hover{background:#ffffff0c}.danger{background:#ec798b0d;border-color:#ec798b30;color:#f5a5b3}.login-card .primary{width:100%;margin-top:13px;display:flex;justify-content:space-between}.error{color:#ff9aac;font-size:12px;margin-top:14px!important}.orbit{width:200px;height:140px;position:relative;margin-top:32px}.orbit i{display:block;width:190px;height:80px;border:1px solid #acc8ff33;border-radius:50%;transform:rotate(-25deg);position:absolute;top:20px}.orbit span{color:#a4cbff;font-size:70px;position:absolute;left:60px;text-shadow:0 0 40px #9a8cff}.orbit b{position:absolute;top:52px;right:0;color:#85e1d7}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.heading h1{margin:10px 0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:30px 0 40px}.stats>div{padding:22px 25px}.stats span{color:#94a1bd;font-size:12px}.stats strong{display:block;font-size:31px;margin-top:13px;font-weight:550}.stats .shared{font-size:18px;margin-top:20px;color:#a5dcd8}.stats i{font-style:normal;float:right;color:#8ca7f2}.toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.toolbar h2{margin:0}.toolbar small{font-size:11px;color:#6e7e9e;font-weight:400;margin-left:12px}.robots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.bot{padding:26px}.bot-title{display:flex;align-items:center;gap:12px}.avatar{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:linear-gradient(135deg,#849afe22,#65d9cf15);border:1px solid #8aabe92c;font-size:23px;color:#a5d4ee}.bot-title h3{margin:0 0 6px;font-size:17px;font-weight:550}.bot-title small{color:#7c8dac}.badge{margin-left:auto;border:1px solid #f7bb6b35;color:#e6bc7b;background:#d9900d0d;font-size:11px;padding:6px 10px;border-radius:20px;white-space:nowrap}.badge.good{color:#87dcc8;border-color:#73dec530;background:#73dec50a}.bot-state{margin:20px 0;color:#899bb9;font-size:12px}.actions{display:flex;gap:10px;flex-wrap:wrap}.actions button{font-size:12px}.qr{margin-top:22px;background:#080e2080;border-radius:12px;padding:20px;text-align:center}.qr img{display:block;width:210px;max-width:100%;margin:0 auto 12px;border-radius:12px;background:white}.qr p{color:#abb8cf;font-size:12px;line-height:1.7}.bot details{border-top:1px solid #ffffff0d;margin-top:22px;padding-top:16px}.bot summary{cursor:pointer;color:#8196bd;font-size:12px}.check{display:flex;align-items:center;gap:9px;line-height:1.7}.check input{accent-color:#8ad9d4}.bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:30px}.panel{padding:28px}.events{max-height:380px;overflow:auto}.event{padding:16px 0;border-bottom:1px solid #ffffff0d;color:#bec9dd;font-size:12px;line-height:1.8;white-space:pre-wrap}.event small{color:#7082a3}.empty{color:#7082a3;padding:45px 0;text-align:center}dialog{color:inherit;background:#10172b;border:1px solid #7c92c244;border-radius:20px;width:min(480px,92vw);padding:30px}dialog::backdrop{background:#030610a6;backdrop-filter:blur(6px)}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#192941;border:1px solid #96c6eb44;color:#d1f5ed;border-radius:12px;padding:15px 23px;max-width:90vw;box-shadow:0 12px 50px #0005;z-index:5}footer{text-align:center;letter-spacing:3px;color:#475474;font-size:9px;padding:30px}@media(max-width:850px){header{padding:22px}.header-note{display:none}main{padding:28px 20px}.login-layout{grid-template-columns:1fr;gap:30px;margin:15px auto;max-width:440px}.intro h1{font-size:34px}.intro p,.orbit{display:none}.login-card{padding:28px}.robots,.bottom-grid{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr;gap:10px}.stats>div{padding:18px}.heading h1{font-size:28px}.heading .primary{padding:11px;font-size:12px}.toolbar small{display:none}}

.heading>.primary{white-space:nowrap;flex-shrink:0}


/* Airier control layout: independent card heights and clear action groups. */
main{max-width:1480px;padding:48px 48px 64px}
.heading{gap:32px;margin-bottom:12px}.heading h1{font-size:30px}.heading p{max-width:640px}
.stats{gap:20px;margin:28px 0 42px}.stats>div{padding:22px 28px}.stats strong{font-size:28px}
.robots{grid-template-columns:1fr;gap:28px;align-items:start}
.bot{padding:30px 34px;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:32px;align-items:start}
.bot-title{min-width:0;gap:16px}.bot-title>div:not(.avatar){min-width:0}.bot-title h3{overflow-wrap:anywhere;line-height:1.5}.avatar{flex-shrink:0}
.badge{flex-shrink:0}.bot-state{grid-column:1;margin:18px 0 0;line-height:1.8;overflow-wrap:anywhere}
.bot>.actions{grid-column:2;grid-row:1 / span 2;align-self:center;gap:12px;justify-content:flex-end}
.actions button{min-height:44px;padding:12px 18px;white-space:nowrap}
.bot>details,.bot>.qr{grid-column:1 / -1;width:100%}.bot details{margin-top:26px;padding-top:22px}
.bot summary{padding:4px 0;font-size:13px}.bot details form{max-width:660px;padding-top:8px}
.bot details label{margin:20px 0}.bot details .check{margin:20px 0 24px}.bot details .muted{margin-top:16px}
.bot .qr{max-width:440px;justify-self:start;padding:26px}
.bottom-grid{gap:28px;margin-top:40px;align-items:start;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.panel{padding:32px}.panel>h2{margin-bottom:26px}.panel .small{max-width:560px;margin:12px 0 22px}
.events{max-height:420px}.login-layout{gap:80px;margin:40px auto 70px;max-width:1100px;grid-template-columns:1.1fr 1fr}
.intro h1{font-size:42px;line-height:1.5}.login-card{padding:40px;max-width:460px}.login-card label{margin:26px 0 20px}
@media(max-width:1150px){.bot{grid-template-columns:1fr}.bot>.actions{grid-column:1;grid-row:auto;margin-top:24px;justify-content:flex-start}.bot-state{grid-column:1}.bottom-grid{grid-template-columns:1fr}.login-layout{gap:40px}.intro h1{font-size:36px}}
@media(max-width:850px){main{padding:28px 20px 48px}.heading{align-items:flex-start;gap:20px}.heading h1{font-size:26px}.heading p{font-size:12px}.stats{gap:12px;margin:24px 0 32px}.stats>div{padding:20px}.stats .shared{font-size:15px}.robots{gap:22px}.bot{padding:24px 22px}.bot-title{flex-wrap:wrap;gap:12px}.bot-title .badge{margin-left:0}.bot-title h3{font-size:16px}.bot>.actions{gap:12px}.bot>.actions button:first-child{width:100%}.bot>.actions button{flex:1}.panel{padding:26px 22px}.bottom-grid{margin-top:28px}.login-layout{grid-template-columns:1fr;gap:28px;margin:10px auto 40px;max-width:440px}.intro h1{font-size:30px;line-height:1.5}.login-card{padding:28px}.toolbar{gap:16px}.toolbar h2{font-size:18px}}

/* Improve contrast and legibility over the starfield. */
:root{font-size:15px}.muted,.bot-state{color:#b8c7e0}.small{font-size:13px}.bot-title small,.stats span{color:#b9c8e2}.toolbar small{color:#a7bad8;font-size:12px}
.bot summary{color:#d4e5ff;font-size:14px;font-weight:600;padding:12px 14px;background:#1d2b48;border:1px solid #526a91;border-radius:9px;width:fit-content}
.primary,.ghost,.danger{font-size:14px;font-weight:650;min-height:44px}.ghost{color:#e5eeff;background:#202e49;border-color:#61789e}.danger{color:#ffd5de;background:#422535;border-color:#a35c77}.danger:hover{background:#583047}.primary{color:#082337;background:linear-gradient(110deg,#91f0df,#b1d0ff)}
.badge{font-size:12px;font-weight:600;color:#ffe0a6;background:#453721;border-color:#967542}.badge.good{color:#b7ffeb;background:#183d38;border-color:#4b9b86}
.bot>.actions{max-width:550px;flex-wrap:wrap}.actions button{font-size:14px}.bot details .muted{color:#b8c7e0}.events small{color:#b3c4df}input::placeholder,textarea::placeholder{color:#a0aec7}label{color:#d5e0f2;font-size:14px}
@media(max-width:850px){.bot>.actions{display:grid;grid-template-columns:1fr 1fr}.bot>.actions button:first-child{grid-column:1 / -1}.bot>.actions button{width:100%;font-size:13px}.bot-title{align-items:flex-start}.badge{margin-top:8px}}
