:root { --navy:#052379; --ink:#1A1A2E; --muted:#6B7387; --line:#E7EAF2; --bg:#F5F7FB; --ok:#1E8E5A; --err:#C62828; }
* { box-sizing:border-box; }
body { margin:0; font-family:Montserrat, system-ui, -apple-system, Segoe UI, Arial, sans-serif; color:var(--ink); background:var(--bg); font-size:15px; }
a { color:var(--navy); text-decoration:none; font-weight:600; }
h1 { font-size:26px; margin:6px 0 4px; font-weight:800; color:var(--navy); }
h3 { font-size:16px; margin:0 0 12px; color:var(--navy); }
h4 { margin:18px 0 8px; font-size:14px; }
hr { border:0; border-top:1px solid var(--line); margin:18px 0; }
.muted { color:var(--muted); } .small { font-size:13px; } .center { text-align:center; } .right { text-align:right; }
.wrap { max-width:1120px; margin:0 auto; padding:24px 18px 60px; }
.top { display:flex; align-items:center; justify-content:space-between; padding:14px 22px; background:#fff; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:5; flex-wrap:wrap; gap:10px; }
.top nav { display:flex; gap:20px; flex-wrap:wrap; }
.brand { font-weight:800; font-size:18px; color:var(--navy); display:inline-flex; align-items:center; gap:8px; }
.brand b { font-weight:600; color:var(--muted); }
.brand .u { width:30px; height:30px; border-radius:9px; background:var(--navy); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-weight:800; }
.brand.big { font-size:24px; justify-content:center; display:flex; margin:30px 0 18px; }
.card { background:#fff; border:1px solid var(--line); border-radius:20px; padding:22px; margin-bottom:18px; }
.auth { max-width:420px; margin:0 auto; }
.head { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:14px; }
.back { display:inline-block; margin-bottom:8px; font-size:14px; }
.row { display:flex; align-items:center; } .gap { gap:10px; } .row.center { justify-content:center; }
.grid2 { display:grid; grid-template-columns:repeat(auto-fit, minmax(320px, 1fr)); gap:18px; align-items:start; }
label { display:block; font-size:13px; font-weight:600; color:var(--muted); margin:14px 0 6px; }
input, select, textarea { width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:12px; font:inherit; background:#FAFBFE; color:var(--ink); }
input:focus, select:focus, textarea:focus { outline:2px solid rgba(5,35,121,.25); border-color:var(--navy); background:#fff; }
.phone { display:flex; } .phone span { padding:12px 12px; background:#EEF1F8; border:1px solid var(--line); border-right:0; border-radius:12px 0 0 12px; font-weight:600; }
.phone input { border-radius:0 12px 12px 0; }
.otp { font-size:26px; letter-spacing:10px; text-align:center; font-weight:700; }
.btn { display:inline-block; margin-top:16px; padding:13px 22px; border:0; border-radius:999px; background:var(--navy); color:#fff; font:inherit; font-weight:700; cursor:pointer; text-align:center; }
.card .btn:not(.small):not(.ghost) { width:100%; }
.btn.ghost { background:#fff; color:var(--navy); border:1.5px solid var(--navy); margin-top:0; }
.btn.small { padding:8px 14px; margin:0; font-size:13px; width:auto !important; }
.link { background:none; border:0; color:var(--navy); font:inherit; font-weight:600; cursor:pointer; padding:10px 0; display:block; margin:8px auto 0; }
.flash { padding:12px 14px; border-radius:12px; margin-bottom:14px; font-weight:600; }
.flash.ok { background:#E7F6EE; color:var(--ok); } .flash.err { background:#FDECEC; color:var(--err); }
.stats { display:grid; grid-template-columns:repeat(auto-fit, minmax(180px, 1fr)); gap:14px; margin-bottom:18px; }
.stats div { background:#fff; border:1px solid var(--line); border-radius:18px; padding:18px; }
.stats b { display:block; font-size:26px; color:var(--navy); } .stats span { color:var(--muted); font-size:13px; font-weight:600; }
.tabs { display:flex; gap:6px; margin:4px 0 18px; border-bottom:1px solid var(--line); overflow-x:auto; }
.tabs a { padding:10px 16px; color:var(--muted); border-bottom:3px solid transparent; white-space:nowrap; }
.tabs a.on { color:var(--navy); border-bottom-color:var(--navy); }
table { width:100%; border-collapse:collapse; } th { text-align:left; font-size:12px; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); padding:10px; border-bottom:1px solid var(--line); }
td { padding:12px 10px; border-bottom:1px solid var(--line); vertical-align:top; } tr:last-child td { border-bottom:0; }
.card.table { padding:6px 10px; overflow-x:auto; }
.pill { display:inline-block; padding:5px 12px; border-radius:999px; font-size:12px; font-weight:700; border:0; cursor:pointer; }
.pill.on { background:#E7F6EE; color:var(--ok); } .pill.off { background:#EEF0F5; color:var(--muted); }
.qrbox { display:flex; justify-content:center; padding:16px; } .qrbox img, .qrbox canvas { border-radius:8px; }
.pin { font-size:44px; font-weight:800; letter-spacing:8px; color:var(--navy); margin:20px 0; }
.aud { margin-top:14px; padding:12px 14px; background:#EEF2FB; border-radius:12px; color:var(--navy); }
.steps { padding-left:18px; line-height:1.7; color:var(--muted); }
.reader { width:100%; max-width:380px; margin:0 auto; border-radius:16px; overflow:hidden; }
.who { background:#F3F6FD; border-radius:14px; padding:14px; } .who .big { font-size:20px; font-weight:800; color:var(--navy); }
.offer { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:10px 0; border-bottom:1px solid var(--line); }
.result { font-size:18px; font-weight:700; padding:22px; border-radius:16px; text-align:center; }
.result.ok { background:#E7F6EE; color:var(--ok); } .result.err { background:#FDECEC; color:var(--err); }
details summary { cursor:pointer; color:var(--navy); margin-top:10px; }
@media (max-width:600px) { .wrap { padding:16px 12px 50px; } h1 { font-size:22px; } .pin { font-size:34px; } }
