:root { color-scheme: dark; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; color: #edf0e9; background: radial-gradient(ellipse at 50% 0%, #26393b 0%, #172225 44%, #101719 100%); }
.login-page { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(100%, 420px); padding: clamp(28px, 6vw, 42px); background: #202a2c; border: 1px solid #415052; border-radius: 20px; box-shadow: 0 30px 90px #0007; }
.brand { display: flex; align-items: center; gap: 11px; font-size:var(--font-body, 16px); font-weight: 600; letter-spacing: .04em; }
.brand-mark { display: block; flex: none; width: 34px; height: 34px; }
.brand-mark img { display: block; width: 100%; height: 100%; }
.eyebrow { margin: 38px 0 8px; color: #d8ad91; font-size:var(--font-body, 16px); letter-spacing: .2em; }
h1 { margin: 0; font-size:var(--font-title, 28px); line-height: 1.3; }
.intro { margin: 10px 0 30px; color: #afbbba; font-size:var(--font-body, 16px); }
form { display: grid; }
label { margin: 0 0 8px; font-size:var(--font-label, 14px); }
input { width: 100%; margin: 0 0 21px; padding: 12px 14px; border: 1px solid #566466; border-radius: 10px; outline: 0; color: #f0f3ee; background: #152022; font: inherit; font-size:var(--font-body, 16px); }
input:focus { border-color: #d7aa8e; box-shadow: 0 0 0 3px #d7aa8e33; }
.remember-option { display: flex; align-items: center; gap: 9px; width: fit-content; min-height: 32px; margin: -5px 0 0; cursor: pointer; }
.remember-option input { flex: none; width: 18px; height: 18px; margin: 0; padding: 0; accent-color: #ddb79d; }
.remember-help { margin: 4px 0 20px; color: #afbbba; font-size:var(--font-caption, 13px); line-height: 1.6; }
.error { margin: 0 0 18px; color: #ffc0af; font-size:var(--font-body, 16px); line-height: 1.6; }
button { width: 100%; padding: 13px 16px; border: 0; border-radius: 10px; color: #22292a; background: #ddb79d; font: inherit; font-size:var(--font-body, 16px); font-weight: 700; cursor: pointer; }
button:hover { background: #edc8ae; }
button:disabled { opacity: .6; cursor: wait; }
.device-status { margin: -10px 0 12px; color: #d8c4b4; font-size: var(--font-caption, 13px); line-height: 1.6; }
.device-actions { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: -3px 0 18px; }
.device-actions button { width: auto; min-height: 36px; padding: 4px 0; color: #ddb79d; background: transparent; font-size: var(--font-caption, 13px); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.device-actions button:hover { color: #f3d7c2; background: transparent; }
button:focus-visible { outline: 2px solid #edc8ae; outline-offset: 4px; }
input::placeholder { color: #d8c4b4; opacity: 1; }

/* This public page shares token values without requesting private site assets. */
:root{--font-body:16px;--font-label:14px;--font-caption:13px;--font-title:28px;font-size:var(--font-body)}
@media(max-width:480px){:root{--font-title:24px}.login-page{padding:16px}.login-card{padding:24px}.brand{flex-wrap:wrap}}
