:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #19332f; background: #f4f6f3; font-synthesis: none; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 0; border-radius: 10px; padding: 12px 18px; font-weight: 600; transition: background .15s; }
button:disabled { opacity: .55; cursor: wait; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #74ad92; outline-offset: 3px; }
.site-header { display: flex; justify-content: space-between; align-items: center; min-height: 88px; padding: 20px max(24px, calc((100vw - 1120px)/2)); border-bottom: 1px solid #dfe6df; background: #fafbf8; gap: 16px; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-size: 26px; font-weight: 750; letter-spacing: -.6px; }
.brand span { margin-left: 12px; padding-left: 18px; border-left: 1px solid #d5ded5; font-size: 13px; color: #6c7d75; font-weight: 400; letter-spacing: 1px; }
.header-actions { display: flex; gap: 10px; }
main { max-width: 1120px; margin: auto; padding: 42px 24px 72px; min-height: calc(100vh - 170px); }
h1 { margin: 0 0 15px; font-size: clamp(30px,4.5vw,48px); letter-spacing: -1.5px; font-weight: 650; line-height: 1.25; }
h2 { margin: 0 0 12px; font-size: 21px; font-weight: 600; }
p { line-height: 1.75; }
.eyebrow { margin: 0 0 20px; color: #668375; font-size: 11px; letter-spacing: 2.5px; font-weight: 700; }
.muted, .field-help { color: #6b7b73; }
.auth-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 68px; align-items: center; padding: 30px 0; }
.intro { position: relative; padding: 30px 0; }
.intro h1 { font-size: clamp(36px,4.8vw,58px); line-height: 1.35; }
.intro > p:not(.eyebrow) { margin-top: 28px; color: #738477; }
.intro-mark { color: #b8cbb6; font-size: 160px; line-height: 1; margin-top: 35px; }
.panel { background: #fff; border: 1px solid #e0e7df; border-radius: 20px; padding: 30px; }
.auth-panel { box-shadow: 0 14px 40px #16362b07; }
.tabs { display: flex; margin-bottom: 32px; padding: 4px; background: #f0f4ef; border-radius: 12px; }
.tabs button { flex: 1; background: none; color: #687b6e; }
.tabs button.active { background: #fff; color: #214b3a; box-shadow: 0 2px 7px #16362b0d; }
label { display: block; font-size: 13px; font-weight: 600; margin: 22px 0 9px; }
input { width: 100%; min-height: 48px; border: 1px solid #ccd7cd; background: #fcfdfb; border-radius: 9px; padding: 12px 14px; color: #173c2e; }
.field-help { font-size: 11px; margin: 8px 0 0; }
.primary { background: #254d3b; color: #fff; }
.primary:hover { background: #163a2a; }
.quiet { background: #e9eee6; color: #31523d; }
.quiet:hover { background: #dde6d8; }
#auth-submit { margin-top: 28px; width: 100%; }
.notice { margin: 0 0 26px; padding: 14px 18px; border: 1px solid #dbd3ac; background: #faf6e8; border-radius: 12px; font-size: 14px; overflow-wrap: anywhere; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 16px 0 36px; }
.page-heading .eyebrow { margin-bottom: 12px; }
.page-heading h1 { font-size: 34px; }
.page-heading p:last-child { margin-bottom: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 20px; }
.section-heading h2 { margin: 0; font-size: 16px; }
.count { display: inline-block; margin-left: 8px; font-size: 12px; padding: 2px 8px; border-radius: 6px; background: #e2e9dd; }
.device-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(265px,1fr)); gap: 18px; }
.device-card { display: block; transition: border-color .15s; }
a.device-card:hover { border-color: #7c9e7d; }
.device-symbol { background: #eff4eb; padding: 12px; display: inline-block; border-radius: 12px; font-size: 23px; margin-bottom: 25px; }
.device-card h2 { font-size: 18px; overflow-wrap: anywhere; }
.device-card p { font-size: 13px; margin: 8px 0 0; }
.device-card .action { display: block; margin-top: 22px; color: #537554; font-size: 13px; }
.empty { text-align: center; padding: 55px 24px; }
.empty-symbol { font-size: 68px; color: #809b76; margin-bottom: 15px; }
.empty .primary { margin-top: 15px; }
.back { font-size: 13px; color: #5d7964; display: inline-block; margin-bottom: 16px; }
.status-value { font-size: 32px; font-weight: 650; margin: 20px 0; }
.status-meta { font-size: 12px; color: #6c7a70; overflow-wrap: anywhere; }
.status-meta p { margin: 6px 0; }
.status-meta summary { cursor: pointer; margin-top: 14px; }
.hint { border-left: 3px solid #9cb58e; padding: 10px 16px; background: #eaf0e5; font-size: 13px; margin-bottom: 24px; }
.onboarding-panel { max-width: 720px; }
.steps { padding-left: 24px; margin: 0 0 25px; }
.steps li { padding: 0 0 18px 10px; }
.steps li::marker { color: #729766; font-weight: 700; }
.steps p { color: #6b7b73; font-size: 14px; margin: 8px 0 0; }
.copy-row { display: flex; gap: 10px; }
#ticket { font-family: ui-monospace, monospace; font-size: 22px; letter-spacing: 2px; }
footer { max-width: 1120px; margin: auto; border-top: 1px solid #dfe6df; padding: 22px 24px; color: #7c897d; font-size: 12px; display: flex; justify-content: space-between; gap: 20px; }
@media(max-width:720px) { .site-header { min-height: 72px; padding: 16px 20px; } .brand span { display: none; } main { padding: 26px 18px 48px; } .auth-layout { grid-template-columns: 1fr; gap: 10px; padding: 0; } .intro { padding: 8px 5px 15px; } .intro h1 { font-size: 33px; } .intro .eyebrow { margin-bottom: 12px; } .intro > p:not(.eyebrow), .intro-mark { display: none; } .panel { padding: 24px; } .page-heading { align-items: flex-start; flex-wrap: wrap; margin-bottom: 28px; } .page-heading h1 { font-size: 28px; } .device-grid { grid-template-columns: 1fr; } .brand { font-size: 23px; } .header-actions button { font-size: 12px; padding: 10px 12px; } footer { flex-direction: column; gap: 8px; } }
