:root{color-scheme:dark;--bg:#101821;--surface:#1a2631;--line:#3b4d5a;--text:#edf4f8;--muted:#a2b1bc;--mint:#72dfc5;--red:#ffaaa3}*{box-sizing:border-box}body{margin:0;min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(ellipse at 90% -20%,#263b47 0,transparent 42%),var(--bg);color:var(--text);font:15px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}.auth-card{width:min(100%,440px);padding:30px;background:linear-gradient(145deg,#1d2b37,#17222d);border:1px solid var(--line);border-radius:20px;box-shadow:0 20px 70px #0005}.settings-card{width:min(100%,510px)}.brand-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:linear-gradient(145deg,#9be9d6,#48bda5);color:#0b2721;font-size:25px}.eyebrow{margin:17px 0 0;color:var(--mint);font-size:11px;font-weight:750;letter-spacing:1.6px}.auth-card h1{margin:3px 0 7px;font-size:30px;letter-spacing:-.7px}.muted{color:var(--muted)}.auth-card>p{margin-top:8px}.auth-card form{display:grid;gap:14px;margin:22px 0 14px}.auth-card label{display:grid;gap:6px;color:#c5d2da;font-size:13px}.auth-card input{width:100%;min-height:45px;padding:10px 12px;border:1px solid #465966;border-radius:10px;background:#111a23;color:var(--text);font:inherit}.auth-card input:focus{outline:2px solid #72dfc577;border-color:var(--mint)}.auth-card button{min-height:45px;padding:10px 14px;border:1px solid var(--line);border-radius:10px;background:#263541;color:var(--text);font:inherit;font-weight:700;cursor:pointer}.auth-card button.primary{background:var(--mint);border-color:var(--mint);color:#0a2923}.auth-card button:disabled{opacity:.55}.auth-card .secondary{width:100%;margin-top:7px}.notice{padding:12px;border:1px solid #645333;border-radius:10px;background:#312b20;color:#f4d99f;font-size:13px}.notice code{overflow-wrap:anywhere}.message{min-height:1.5em;color:var(--red);font-size:13px}.message.ok{color:var(--mint)}.hidden{display:none!important}.back{display:inline-block;margin-bottom:20px;color:var(--mint);text-decoration:none}@media(max-width:480px){.auth-card{padding:23px 19px;border-radius:16px}}

/* Responsive, compact status on the object login screen. */
html,body{max-width:100%;overflow-x:hidden}.auth-card{min-width:0;max-width:100%;overflow-wrap:anywhere}.auth-card input,.auth-card button{min-width:0;max-width:100%}.server-status{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:18px 0 4px}.server-status>div{min-width:0;padding:9px 11px;border:1px solid #334652;border-radius:10px;background:#111a2380}.server-status small,.server-status strong{display:block;overflow-wrap:anywhere}.server-status small{color:var(--muted);font-size:11px}.server-status strong{color:var(--mint);font-size:14px}.server-status strong.offline{color:var(--red)}
.settings-card section{margin:22px 0 16px;padding-top:16px;border-top:1px solid var(--line)}.settings-card section h2{margin:0;font-size:20px}.settings-card .check-row{display:flex;align-items:center;gap:10px}.settings-card .check-row input{width:18px;min-height:18px;accent-color:var(--mint)}
.release-info{margin:14px 0;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#111a23}.release-info strong,.release-info>span{display:block}.release-info strong{font-size:13px;color:var(--mint)}.release-info>span,.release-info p{margin:3px 0 0;color:var(--muted);font-size:11px;overflow-wrap:anywhere}.release-info p b{color:var(--text)}

html[data-theme="light"]{color-scheme:light;--bg:#f1f5f7;--surface:#fff;--line:#cbd5db;--text:#17232b;--muted:#52636e;--mint:#087e68;--red:#b42318}
html[data-theme="light"] body{background:var(--bg);color:var(--text)}
html[data-theme="light"] .auth-card{background:linear-gradient(145deg,#fff,#f3f7f8);border-color:var(--line);box-shadow:0 16px 42px #17304412}
html[data-theme="light"] .auth-card label{color:#344650}
html[data-theme="light"] .auth-card input{background:#fff;color:#17232b;border-color:#aebdc5}
html[data-theme="light"] .auth-card button{background:#eaf0f3;color:#263740;border-color:#bfcbd2}
html[data-theme="light"] .auth-card button.primary{background:#087e68;border-color:#087e68;color:#fff}
html[data-theme="light"] .server-status>div,html[data-theme="light"] .release-info{background:#f3f6f8;border-color:var(--line)}
html[data-theme="light"] .server-status strong{color:#087e68}
html[data-theme="light"] .notice{background:#fff4d7;color:#654b18;border-color:#d4bd83}
html[data-theme="light"] .back{color:#087e68}
