:root { color-scheme: light; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #19243b; background: #f5f7fb; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.topbar { min-height: 88px; border-bottom: 1px solid #e1e6ef; background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px max(24px, calc((100% - 1000px) / 2)); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; font-size: 21px; font-weight: 750; letter-spacing: .03em; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 44px; color: white; background: #1939d7; border-radius: 10px; font-size: 29px; }
.brand small { display: block; margin-top: 2px; color: #657188; font-size: 11px; font-weight: 500; letter-spacing: .06em; }
.status { display: inline-flex; align-items: center; gap: 8px; color: #647087; font-size: 13px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #98a2b3; flex: 0 0 auto; }
.status[data-state="connected"] { color: #14744b; }
.status[data-state="connected"] .dot { background: #189568; box-shadow: 0 0 0 4px #e5f6ef; }
.status[data-state="connecting"] .dot { background: #1939d7; }
main { max-width: 808px; margin: 0 auto; padding: 58px 24px 32px; }
.intro { margin-bottom: 32px; }
.eyebrow { color: #1939d7; font-size: 11px; font-weight: 750; letter-spacing: .13em; margin: 0 0 14px; }
h1 { margin: 0 0 15px; max-width: 620px; font-size: clamp(30px, 5vw, 42px); line-height: 1.15; font-weight: 700; letter-spacing: -.035em; }
.intro > p:last-child { max-width: 580px; color: #657188; line-height: 1.7; margin: 0; font-size: 15px; }
.card { background: #fff; border: 1px solid #e0e5ef; border-radius: 14px; padding: 26px 28px; margin: 0 0 18px; box-shadow: 0 3px 12px #19243b03; }
.section-title { display: flex; align-items: center; gap: 12px; }
.number { font: 12px ui-monospace, "SFMono-Regular", Consolas, monospace; color: #1939d7; background: #eef1ff; padding: 6px 7px; border-radius: 5px; }
h2 { font-size: 17px; font-weight: 650; margin: 0; letter-spacing: -.02em; }
.card > p { color: #657188; font-size: 13px; line-height: 1.6; margin: 14px 0 20px; }
.actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.button { font: inherit; font-size: 13px; font-weight: 600; border: 1px solid transparent; border-radius: 7px; padding: 12px 17px; cursor: pointer; transition: background .15s, border-color .15s; white-space: nowrap; }
.button.primary { background: #1939d7; color: white; display: inline-flex; align-items: center; gap: 26px; }
.button.primary:hover { background: #2334ae; }
.button.secondary, .button.copy { border-color: #dce2ed; background: white; color: #45526b; }
.button.secondary:hover, .button.copy:hover { background: #f0f3fc; border-color: #b6c1da; }
.button.compact { padding: 8px 12px; font-size: 12px; }
.button:disabled { opacity: .42; cursor: default; }
.button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #728aff; outline-offset: 3px; }
.browser-hint { color: #8791a4; font-size: 11px; }
.card > .device-name { margin-bottom: 0; color: #45526b; overflow-wrap: anywhere; }
.identity-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.identifier { border-top: 1px solid #edf0f5; padding: 22px 0 17px; }
.identifier-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.identifier-heading label { font-size: 12px; font-weight: 750; letter-spacing: .08em; }
.identifier-heading span { color: #8791a4; font-size: 11px; }
.identifier-value { display: flex; align-items: center; gap: 14px; }
.identifier-value input { width: 100%; min-width: 0; color: #19243b; font: 22px ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .03em; border: 0; background: transparent; padding: 5px 0; }
.identifier-value input::placeholder { font: 14px Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #a1a9b9; letter-spacing: normal; }
.button.copy { font-size: 11px; padding: 8px 12px; }
.field-detail { margin: 8px 0 0; font-size: 11px; min-height: 16px; color: #8791a4; line-height: 1.45; }
.identifier[data-state="success"] .field-detail { color: #14744b; }
.identifier[data-state="error"] .field-detail { color: #b93835; }
.result-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; border-top: 1px solid #edf0f5; }
#read-status { color: #657188; font-size: 12px; line-height: 1.6; margin: 0; }
.feedback { min-height: 20px; font-size: 12px; color: #45526b; margin: 0 0 14px; }
.notice.warning { padding: 12px 14px; border: 1px solid #ebd596; border-radius: 7px; background: #fffaed; color: #7f5c14; }
footer { display: flex; align-items: baseline; gap: 8px; color: #8791a4; font-size: 11px; line-height: 1.7; }
.footer-mark { color: #1939d7; }
@media (max-width: 560px) { .topbar { padding: 16px 20px; min-height: 76px; } .status { font-size: 11px; max-width: 150px; } main { padding: 36px 18px 24px; } .card { padding: 22px 18px; } .identifier-value { gap: 8px; } .identifier-value input { font-size: clamp(14px, 4vw, 20px); letter-spacing: 0; } .identifier-heading { gap: 8px; flex-wrap: wrap; } .browser-hint { width: 100%; } .result-footer { align-items: flex-start; } }
