:root { color-scheme: light; --canvas: #f5f8fc; --surface: #fff; --ink: #172743; --secondary: #65748a; --line: #dce5f0; --blue: #2468e5; --blue-deep: #1451c3; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 50% 0, #e9f1ff 0, transparent 55%), var(--canvas); color: var(--ink); font-family: "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
.access-shell { width: min(100%, 488px); margin: 0 auto; padding: clamp(36px, 10vh, 110px) 24px 32px; }
.access-brand { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 28px; }
.access-brand img { display: block; width: 116px; height: auto; }
.access-brand span { padding-left: 18px; border-left: 1px solid #c7d5e8; font-size: 15px; letter-spacing: .12em; }
.access-card { width: 100%; border: 1px solid var(--line); border-radius: 18px; padding: 32px; background: var(--surface); box-shadow: 0 18px 60px rgb(46 78 124 / 7%); }
.access-heading { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 22px; }
.access-eyebrow { font-family: "Avenir Next", sans-serif; font-size: 9px; font-weight: 650; letter-spacing: .08em; color: var(--blue-deep); }
.access-badge { flex-shrink: 0; color: var(--secondary); font-size: 11px; }
[data-state="pending"] .access-badge { color: #8b6500; }
[data-state="error"] .access-badge { color: #a32d24; }
h1 { margin: 0 0 10px; font-size: 27px; line-height: 1.45; letter-spacing: -.03em; font-weight: 600; text-wrap: balance; }
h2 { margin: 0 0 12px; font-size: 18px; }
.access-description { margin: 0; color: var(--secondary); font-size: 13px; line-height: 1.8; }
.access-identity { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; padding: 14px 16px; background: #f5f8ff; border-radius: 10px; }
.access-identity span { color: var(--secondary); font-size: 12px; }
.access-identity strong { min-width: 0; overflow-wrap: anywhere; font-size: 14px; }
.access-feedback { margin: 16px 0 0; padding: 10px 12px; border-radius: 8px; background: #f3f7ff; color: #425779; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.access-feedback:empty, .access-actions:not(:has(> :not([hidden]))) { display: none; }
.access-guide { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--secondary); font-size: 13px; line-height: 1.8; }
.access-guide p { margin: 0; }
.access-actions { display: grid; gap: 10px; margin-top: 22px; }
.access-button { display: inline-flex; justify-content: center; align-items: center; width: 100%; min-height: 46px; padding: 11px 16px; border: 1px solid transparent; border-radius: 9px; text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.5; cursor: pointer; transition: background .15s; }
.access-button.primary { background: var(--blue); color: white; }
.access-button.primary:hover { background: var(--blue-deep); }
.access-button.secondary { background: white; border-color: var(--line); color: var(--blue-deep); }
button:disabled, input:disabled, [aria-disabled="true"] { opacity: .55; cursor: wait; }
[aria-disabled="true"] { pointer-events: none; }
button:focus-visible, a:focus-visible { outline: 3px solid #8db5ff; outline-offset: 3px; }
.access-footer { margin: 24px 0 0; text-align: center; color: var(--secondary); font-size: 12px; line-height: 1.7; letter-spacing: .03em; }
.external-access { margin-top: 26px; }
.access-tabs { display: flex; border-bottom: 1px solid var(--line); gap: 22px; }
.access-tabs button { min-height: 40px; padding: 0 0 10px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--secondary); font-size: 13px; white-space: nowrap; cursor: pointer; }
.access-tabs button[aria-selected="true"] { border-bottom-color: var(--blue); color: var(--blue-deep); font-weight: 600; }
.external-access form, .access-change-form { display: grid; gap: 17px; margin-top: 23px; }
.external-access label, .access-change-form label { display: grid; gap: 8px; font-size: 13px; }
input { width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #cbd7e8; border-radius: 8px; color: var(--ink); background: white; font-size: 16px; }
input:focus { border-color: var(--blue); outline: 3px solid rgb(36 104 229 / 12%); }
.access-password { display: flex; position: relative; }
.access-password input { padding-right: 58px; }
.access-password button { position: absolute; right: 6px; top: 5px; min-width: 44px; min-height: 36px; padding: 4px; border: 0; border-radius: 5px; color: var(--secondary); background: white; font-size: 12px; cursor: pointer; }
.access-link { justify-self: end; margin-top: -6px; border: 0; padding: 4px 0; color: var(--blue-deep); background: transparent; font-size: 12px; cursor: pointer; }
.access-note { margin: 14px 0 0; color: var(--secondary); font-size: 12px; line-height: 1.8; }
.access-change-form .access-note { margin: -5px 0 0; }
.access-alternative { padding-top: 24px; }
.access-alternative p { margin: 0 0 20px; color: var(--secondary); font-size: 13px; line-height: 1.8; }
.access-alternative .access-note { margin: 15px 0 0; text-align: center; font-size: 12px; }
@media (max-width: 480px) { .access-shell { padding: 34px 16px 24px; } .access-card { padding: 26px 23px; border-radius: 15px; } .access-brand { margin-bottom: 23px; } h1 { font-size: 25px; } .access-tabs { gap: 20px; } }
@media (prefers-reduced-motion: reduce) { .access-button { transition: none; } }
