
:root { --bg:#F2F2F7; --fg:#111114; --muted:#5F5F65; --line:#E3E3E8; --card:#FFFFFF; --card2:#F2F2F7; --accent:#0B8457; --accent-fg:#FFFFFF; --danger:#D70015; --shadow:0 1px 2px rgba(0,0,0,.04), 0 6px 20px rgba(0,0,0,.05); color-scheme:light dark }
@media (prefers-color-scheme: dark) { :root:not(.light) { --bg:#000000; --fg:#FFFFFF; --muted:#A1A1A8; --line:#38383A; --card:#1C1C1E; --card2:#2C2C2E; --accent:#30D158; --accent-fg:#00230F; --danger:#FF453A; --shadow:none } }
:root.dark { --bg:#000000; --fg:#FFFFFF; --muted:#A1A1A8; --line:#38383A; --card:#1C1C1E; --card2:#2C2C2E; --accent:#30D158; --accent-fg:#00230F; --danger:#FF453A; --shadow:none }
* { box-sizing:border-box } html { -webkit-text-size-adjust:100% }
body { margin:0; background:var(--bg); color:var(--fg); font:17px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif; -webkit-font-smoothing:antialiased }
main { max-width:560px; margin:0 auto; padding:max(20px, env(safe-area-inset-top)) 16px 48px }
header h1 { font-size:34px; line-height:40px; font-weight:700; letter-spacing:-.01em; margin:8px 2px 16px } h2 { font-size:20px; line-height:26px; margin:0 0 8px }
section { background:var(--card); border:0; border-radius:22px; padding:16px; margin:0 0 14px; box-shadow:var(--shadow) }
.muted { color:var(--muted); font-size:15px } .links { margin-top:16px }
p.error { color:var(--danger); border:1px solid var(--danger); border-radius:14px; padding:10px 14px; margin:12px 0 0 }   /* the line of a browser's refusal on the page of the codes (design 21.11): the owner of the codes must not miss it */
a { color:var(--accent); text-decoration:none }
button { font:inherit; border-radius:14px; border:0; background:var(--card2); color:var(--fg); padding:0 18px; min-height:48px; cursor:pointer }
button.primary { width:100%; min-height:52px; background:var(--accent); color:var(--accent-fg); font-weight:600; margin-top:12px }
button.secondary { width:100%; margin-top:12px }
button.primary.danger { background:var(--danger); color:#fff } section.alert { box-shadow:inset 0 0 0 1.5px var(--danger) }
a.button.secondary-link { background:var(--card2); color:var(--fg); font-weight:500 }
a.button { display:flex; align-items:center; justify-content:center; min-height:52px; border-radius:14px; background:var(--accent); color:var(--accent-fg); font-weight:600; text-decoration:none; margin-top:12px } button.small { min-height:44px; padding:0 14px; font-size:15px; flex:none }
label { display:block; font-size:15px; color:var(--muted); margin-top:8px }
input { width:100%; font:inherit; font-size:20px; letter-spacing:.08em; padding:12px 14px; min-height:52px; border-radius:14px; border:0; background:var(--card2); color:var(--fg); margin-top:6px }
.list { list-style:none; padding:0; margin:0 } .list li { display:flex; gap:12px; justify-content:space-between; align-items:center; padding:12px 0; border-bottom:1px solid var(--line) }
.list li:last-child { border-bottom:0 } .list .muted { display:block }
.events { padding-left:18px; font-size:14px; margin:0 } .codes { font:600 19px/1.9 ui-monospace, Menlo, monospace; padding-left:34px; white-space:nowrap; margin:8px 0 }
#message { min-height:1.5em } #message.error { color:var(--danger) }
footer { color:var(--muted); font-size:13px; text-align:center; margin-top:24px }
.env { background:#B3261E; color:#fff; text-align:center; font-weight:600; padding:6px }
