:root { --color-primary:#003371; --color-primary-content:#fff; color-scheme: light; font: 100%/1.75 system-ui,"PingFang SC","Microsoft YaHei",sans-serif; }
body { margin:0 auto; max-width:48rem; padding:2rem 1.5rem; background:var(--color-base-100); color:var(--color-base-content); }
header { display:flex; gap:1rem; justify-content:space-between; align-items:baseline; padding-bottom:1.5rem; border-bottom:1px solid var(--color-base-300); }
a { color:#003371; text-underline-offset:.18em; }
a:hover { color:#002654; }
a:focus-visible,button:focus-visible,input:focus-visible { outline:2px solid #003371; outline-offset:3px; }
.brand { color:inherit; font-size:1.4rem; font-weight:700; text-decoration:none; }
.brand span { font-weight:500; }
main { padding:2rem 0; }
h1 { font-size:clamp(1.9rem,6vw,2.6rem); font-weight:700; line-height:1.3; margin:0 0 1rem; letter-spacing:-.025em; }
h2 { font-size:1.25rem; font-weight:650; margin:0 0 .75rem; }
p { margin:.8rem 0; }
.lead { font-size:1.125rem; }
form { display:flex; flex-direction:column; align-items:flex-start; gap:.65rem; margin:1.5rem 0; }
label { font-weight:600; }
.input { width:100%; max-width:30rem; min-height:3rem; font-size:1rem; }
.btn { margin-top:.3rem; }
.muted,footer,.trial { color:#526158; font-size:.9rem; }
.device-id,.version { font-family:ui-monospace,monospace; overflow-wrap:anywhere; }
.connection-state { font-weight:650; }
.services { margin:1.7rem 0 2.5rem; border-top:1px solid var(--color-base-300); }
.service { display:flex; flex-direction:column; padding:1.2rem .2rem; border-bottom:1px solid var(--color-base-300); text-decoration:none; }
.service strong { font-size:1.15rem; }
.service span { color:#526158; }
.service:hover { background:var(--color-base-200); }
.unavailable { opacity:.7; }
.unavailable:hover { background:none; }
.updates { padding-top:.5rem; }
.update-log { white-space:pre-wrap; overflow-wrap:anywhere; max-height:18rem; overflow:auto; font-size:.85rem; background:var(--color-base-200); padding:1rem; border-radius:.5rem; }
.logout { margin-top:2rem; }
.alert { margin:1rem 0; }
footer { border-top:1px solid var(--color-base-300); padding-top:1rem; }
::selection { background:#dce7f5; color:#002654; }
input { caret-color:#003371; }
@media(max-width:480px) { body { padding:1.25rem; } header { align-items:flex-start; flex-direction:column; gap:.35rem; } }
