/* PatrolAxis Portal. Inter (SIL Open Font License, inter-license.txt), bundled: the portal loads nothing from elsewhere. */
@font-face{font-family:Inter;src:url(inter-400.ttf) format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:Inter;src:url(inter-600.ttf) format("truetype");font-weight:500 600;font-display:swap}
@font-face{font-family:Inter;src:url(inter-700.ttf) format("truetype");font-weight:700 800;font-display:swap}

:root{
  --bg:#0a0e14;--side:#0c1119;--surface:#121923;--raised:#18212d;--hover:#1e2835;--input:#0d131b;
  --line:rgba(148,163,184,.13);--line-strong:rgba(148,163,184,.24);
  --text:#eef2f7;--muted:#97a3b4;--faint:#687587;
  --accent:#3d8bff;--accent-hover:#5a9dff;--accent-ink:#fff;--accent-soft:rgba(61,139,255,.13);--accent-line:rgba(61,139,255,.38);
  --green:#3ddc84;--green-soft:rgba(61,220,132,.12);--amber:#ffb547;--amber-soft:rgba(255,181,71,.13);--red:#ff6b6b;--red-soft:rgba(255,107,107,.12);
  --shadow:0 1px 0 rgba(255,255,255,.035) inset,0 12px 32px -12px rgba(0,0,0,.55);
  --radius:14px;--radius-sm:10px;
  color-scheme:dark;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;font-feature-settings:"cv11","ss01";
  background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;
}
@media (prefers-color-scheme:light){:root{
  --bg:#f4f6fa;--side:#fff;--surface:#fff;--raised:#f7f9fc;--hover:#eef2f8;--input:#fff;
  --line:#e3e8f0;--line-strong:#cfd7e3;--text:#0f1726;--muted:#566275;--faint:#8792a3;
  --accent:#1f6feb;--accent-hover:#175cd3;--accent-soft:#e8f0fe;--accent-line:#a9c7fb;
  --green:#12804a;--green-soft:#e3f6ec;--amber:#a85d00;--amber-soft:#fff3e0;--red:#d0303a;--red-soft:#fdecec;
  --shadow:0 1px 2px rgba(16,24,40,.05),0 8px 24px -12px rgba(16,24,40,.12);color-scheme:light;
}}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);font-size:16px;line-height:1.55;min-height:100vh}
a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}
button,input,select,textarea{font:inherit;color:inherit}
svg.i{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.boot{padding:80px 24px;color:var(--muted);text-align:center}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
h1,h2,h3{margin:0;letter-spacing:-.02em;line-height:1.2}
h1{font-size:30px;font-weight:700}h2{font-size:20px;font-weight:650}h3{font-size:16px;font-weight:650}
p{margin:0}
.muted{color:var(--muted)}.faint{color:var(--faint)}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.92em}
.stack{display:flex;flex-direction:column;gap:16px}.stack.tight{gap:8px}.stack.loose{gap:24px}
.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.row.end{justify-content:flex-end}.row.between{justify-content:space-between}.spacer{flex:1}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;border-radius:11px;border:1px solid var(--line-strong);
  background:var(--surface);color:var(--text);font-weight:600;font-size:15px;cursor:pointer;transition:background .15s,border-color .15s,transform .1s;white-space:nowrap;text-decoration:none!important}
.btn:hover{background:var(--hover)}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.55;cursor:default}
.btn.primary{background:var(--accent);border-color:transparent;color:var(--accent-ink)}.btn.primary:hover{background:var(--accent-hover)}
.btn.danger{color:var(--red);border-color:color-mix(in srgb,var(--red) 40%,transparent)}.btn.danger:hover{background:var(--red-soft)}
.btn.danger.solid{background:var(--red);color:#fff;border-color:transparent}
.btn.good{color:var(--green);border-color:color-mix(in srgb,var(--green) 40%,transparent)}.btn.good:hover{background:var(--green-soft)}
.btn.ghost{background:transparent;border-color:transparent;color:var(--muted)}.btn.ghost:hover{background:var(--hover);color:var(--text)}
.btn.lg{min-height:54px;padding:14px 24px;font-size:16px;border-radius:13px}
.btn.sm{min-height:36px;padding:7px 12px;font-size:14px;border-radius:9px}
.btn.block{width:100%}
.btn .i{width:18px;height:18px}
.link{background:none;border:0;padding:0;color:var(--accent);cursor:pointer;font-weight:600}.link:hover{text-decoration:underline}

/* Forms */
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:14px;font-weight:600;color:var(--text)}
.field .help{font-size:13.5px;color:var(--muted)}
.field .opt{font-weight:500;color:var(--faint);margin-left:6px}
input,select,textarea{width:100%;background:var(--input);border:1px solid var(--line-strong);border-radius:11px;padding:12px 14px;outline:none;min-height:48px;font-size:16px;transition:border-color .15s,box-shadow .15s}
input:hover,select:hover,textarea:hover{border-color:color-mix(in srgb,var(--accent) 35%,var(--line-strong))}
input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}
input[aria-invalid=true]{border-color:var(--red)}
textarea{min-height:140px;resize:vertical;line-height:1.5}
input[type=checkbox]{width:20px;height:20px;min-height:0;accent-color:var(--accent)}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.form-error{color:var(--red);font-size:14.5px;font-weight:500;min-height:0}.form-error:empty{display:none}
.notice{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:12px;background:var(--accent-soft);border:1px solid var(--accent-line);font-size:15px}
.notice .i{color:var(--accent);margin-top:2px}
.notice.warn{background:var(--amber-soft);border-color:color-mix(in srgb,var(--amber) 40%,transparent)}.notice.warn .i{color:var(--amber)}
.notice.bad{background:var(--red-soft);border-color:color-mix(in srgb,var(--red) 40%,transparent)}.notice.bad .i{color:var(--red)}
.notice.good{background:var(--green-soft);border-color:color-mix(in srgb,var(--green) 40%,transparent)}.notice.good .i{color:var(--green)}

/* Sign-in screens */
.auth{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
.auth-art{position:relative;overflow:hidden;background:radial-gradient(120% 90% at 0% 0%,#14315f 0%,#0b1626 45%,#070b12 100%);color:#e9f0fb;padding:56px;display:flex;flex-direction:column;justify-content:space-between}
.auth-art::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:44px 44px;mask-image:radial-gradient(80% 70% at 30% 30%,#000,transparent)}
.auth-art>*{position:relative}
.auth-art .brand{color:#fff}.auth-art .brand span{color:#9fb3cf}
.auth-art h2{font-size:38px;line-height:1.1;font-weight:700;max-width:440px;letter-spacing:-.03em}
.auth-art h2 em{font-style:normal;color:#7fb2ff}
.auth-art ul{list-style:none;padding:0;margin:28px 0 0;display:flex;flex-direction:column;gap:14px;max-width:420px}
.auth-art li{display:flex;gap:12px;align-items:flex-start;color:#c7d3e6;font-size:15.5px}
.auth-art li .i{color:#7fb2ff;margin-top:2px}
.auth-art .foot{font-size:13px;color:#7f8ea6}
.auth-main{display:flex;align-items:center;justify-content:center;padding:48px 28px;background:var(--bg)}
.auth-card{width:100%;max-width:420px;display:flex;flex-direction:column;gap:22px}
.auth-card h1{font-size:28px}.auth-card .lede{color:var(--muted);font-size:16px;margin-top:8px}
.auth-card .small-brand{display:none}
.steps{display:flex;gap:8px;align-items:center;font-size:13.5px;color:var(--muted);font-weight:600}
.steps b{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--raised);border:1px solid var(--line-strong);font-size:12.5px;color:var(--muted)}
.steps .on b{background:var(--accent);border-color:transparent;color:#fff}.steps .on{color:var(--text)}
.steps .done b{background:var(--green-soft);border-color:transparent;color:var(--green)}
.steps .bar{flex:1;height:2px;background:var(--line-strong);border-radius:2px;min-width:16px}
.qr{background:#fff;border-radius:14px;padding:14px;width:210px;height:210px;margin:0 auto}.qr svg{width:100%;height:100%;display:block}
.secret{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:var(--raised);border:1px dashed var(--line-strong);border-radius:11px;padding:12px 14px;word-break:break-all;font-size:15px;text-align:center;letter-spacing:.04em}
.check-row{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border:1px solid var(--line-strong);border-radius:12px;background:var(--raised);cursor:pointer}
.check-row input{margin-top:2px;flex:none}.check-row span{display:flex;flex-direction:column;gap:2px}.check-row b{font-size:15px}.check-row small{color:var(--muted);font-size:13.5px}
.code-input{text-align:center;font-size:28px;letter-spacing:.4em;font-weight:600;font-variant-numeric:tabular-nums;min-height:62px}
.app-links{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.center{text-align:center}

/* App shell */
.shell{display:grid;grid-template-columns:272px minmax(0,1fr);min-height:100vh}
.side{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:6px;padding:22px 16px;background:var(--side);border-right:1px solid var(--line);overflow-y:auto}
.brand{display:flex;align-items:center;gap:11px;font-weight:700;font-size:17px;letter-spacing:-.01em;padding:4px 8px 18px}
.brand img{width:34px;height:34px;border-radius:9px}
.brand span{color:var(--muted);font-weight:500}
.org{margin:0 4px 14px;padding:12px 14px;border-radius:12px;background:var(--raised);border:1px solid var(--line)}
.org .name{font-weight:650;font-size:14.5px;line-height:1.3}.org .sub{font-size:12.5px;color:var(--muted);margin-top:2px}
.nav{display:flex;flex-direction:column;gap:3px}
.nav .label{font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);padding:14px 12px 6px}
.nav a{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:10px;color:var(--muted);font-weight:550;font-size:15px;text-decoration:none!important}
.nav a:hover{background:var(--hover);color:var(--text)}
.nav a.active{background:var(--accent-soft);color:var(--accent)}
.nav a.active .i{color:var(--accent)}
.nav .count{margin-left:auto;min-width:24px;height:22px;padding:0 7px;border-radius:11px;background:var(--amber);color:#1b1203;font-size:12px;font-weight:700;display:inline-grid;place-items:center}
.me{margin-top:auto;padding:14px 10px 4px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:10px}
.me .who{display:flex;gap:10px;align-items:center}.me .who b{display:block;font-size:14px;line-height:1.3}.me .who small{color:var(--muted);font-size:12.5px}
.me .row .btn{flex:1}
.topbar{display:none}
.main{min-width:0;padding:36px 44px 80px}
.page{max-width:1120px;margin:0 auto;display:flex;flex-direction:column;gap:24px}
.page.narrow{max-width:760px}
.page-head{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}
.page-head .titles{flex:1;min-width:240px;display:flex;flex-direction:column;gap:6px}
.page-head .eyebrow{font-size:13px;font-weight:650;color:var(--accent);letter-spacing:.02em}
.page-head p{color:var(--muted);font-size:16px;max-width:640px}
.back{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-weight:600;font-size:14.5px;background:none;border:0;padding:4px 0;cursor:pointer;align-self:flex-start}
.back:hover{color:var(--text)}

/* Surfaces */
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.card.pad{padding:24px}.card .card-head{display:flex;align-items:center;gap:12px;padding:20px 24px;border-bottom:1px solid var(--line)}
.card .card-head h2{font-size:17px}.card .card-body{padding:20px 24px}
.card.accent{border-color:var(--accent-line);background:linear-gradient(180deg,var(--accent-soft),transparent 70%),var(--surface)}
.card.danger-zone{border-color:color-mix(in srgb,var(--red) 35%,transparent)}
.grid-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.two-col{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:20px;align-items:start}

/* Seat meter and stats */
.seats{display:flex;flex-direction:column;gap:14px}
.seats .big{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.seats .big strong{font-size:44px;font-weight:700;letter-spacing:-.04em;line-height:1}
.seats .big span{color:var(--muted);font-size:17px;font-weight:550}
.meter{height:12px;border-radius:8px;background:var(--raised);border:1px solid var(--line);overflow:hidden;display:flex}
.meter i{display:block;height:100%}
.meter .in{background:var(--green)}.meter .wait{background:var(--amber)}
.meter.thin{height:7px;border-radius:5px}
.legend{display:flex;gap:18px;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.legend span{display:inline-flex;align-items:center;gap:7px}.legend i{width:10px;height:10px;border-radius:3px;display:inline-block}
.legend .in{background:var(--green)}.legend .wait{background:var(--amber)}.legend .open{background:var(--raised);border:1px solid var(--line-strong)}
.stat{padding:20px 22px;display:flex;flex-direction:column;gap:6px}
.stat .n{font-size:32px;font-weight:700;letter-spacing:-.03em;line-height:1.1}
.stat .l{color:var(--muted);font-size:14.5px;font-weight:550}
.stat .ic{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);margin-bottom:6px}
.stat.green .ic{background:var(--green-soft);color:var(--green)}.stat.amber .ic{background:var(--amber-soft);color:var(--amber)}.stat.red .ic{background:var(--red-soft);color:var(--red)}
a.stat,button.stat{text-align:left;cursor:pointer;color:inherit;text-decoration:none!important;font:inherit;transition:border-color .15s,transform .15s}
a.stat:hover,button.stat:hover{border-color:var(--accent-line);transform:translateY(-1px)}

/* Checklist */
.checklist{display:flex;flex-direction:column}
.check{display:flex;gap:16px;align-items:flex-start;padding:18px 24px;border-top:1px solid var(--line)}
.check:first-child{border-top:0}
.check .dot{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex:none;font-weight:700;background:var(--raised);border:1px solid var(--line-strong);color:var(--muted)}
.check.done .dot{background:var(--green-soft);border-color:transparent;color:var(--green)}
.check.now .dot{background:var(--accent);border-color:transparent;color:#fff}
.check{flex-wrap:wrap}.check .what{flex:1 1 220px;display:flex;flex-direction:column;gap:3px}.check .what b{font-size:16px}.check .what span{color:var(--muted);font-size:14.5px}

/* Pills and avatars */
.pill{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:13px;font-weight:600;background:var(--raised);color:var(--muted);border:1px solid var(--line);white-space:nowrap}
.pill::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.9}
.pill.plain::before{display:none}
.pill.green{background:var(--green-soft);color:var(--green);border-color:transparent}
.pill.amber{background:var(--amber-soft);color:var(--amber);border-color:transparent}
.pill.red{background:var(--red-soft);color:var(--red);border-color:transparent}
.pill.blue{background:var(--accent-soft);color:var(--accent);border-color:transparent}
.avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;flex:none;font-weight:700;font-size:15px;color:#fff;background:linear-gradient(135deg,#2f6fdf,#5b9bff)}
.avatar.lg{width:64px;height:64px;font-size:22px}
.avatar.c1{background:linear-gradient(135deg,#0f8a5f,#36c68c)}.avatar.c2{background:linear-gradient(135deg,#b4541a,#f0913e)}.avatar.c3{background:linear-gradient(135deg,#6b3fd1,#9d7af0)}
.avatar.c4{background:linear-gradient(135deg,#b0285b,#ec5f93)}.avatar.c5{background:linear-gradient(135deg,#127a8f,#33b9d0)}

/* Toolbar, chips, search */
.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.search{position:relative;flex:1 1 280px;min-width:240px;max-width:440px}
.search .i{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--faint)}
.search input{padding-left:44px}
.chips{display:flex;gap:6px;flex-wrap:wrap}
.chip{border:1px solid var(--line-strong);background:var(--surface);color:var(--muted);border-radius:999px;padding:8px 14px;font-size:14px;font-weight:600;cursor:pointer;min-height:38px}
.chip:hover{color:var(--text)}.chip.on{background:var(--text);border-color:var(--text);color:var(--bg)}
.chip b{font-weight:700;margin-left:4px;opacity:.75}

/* Officer list */
.people{display:flex;flex-direction:column}
.person{display:grid;grid-template-columns:auto minmax(0,1.5fr) minmax(0,1.1fr) minmax(0,1fr) auto;gap:16px;align-items:center;padding:14px 20px;border-top:1px solid var(--line);cursor:pointer;color:inherit;text-decoration:none!important;transition:background .12s}
.person:first-child{border-top:0}.person:hover{background:var(--hover)}
.person .who{display:flex;flex-direction:column;min-width:0}.person .who b{font-size:15.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.person .who small{color:var(--muted);font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.person .when{color:var(--muted);font-size:14px}
.person .go{color:var(--faint)}
.person.share-row{grid-template-columns:auto minmax(0,1fr) auto;cursor:default}.person.share-row:hover{background:none}
.person.share-row .who{color:inherit;text-decoration:none!important}.person.share-row a.who:hover b{color:var(--accent)}
.list-head{display:grid;grid-template-columns:auto minmax(0,1.5fr) minmax(0,1.1fr) minmax(0,1fr) auto;gap:16px;padding:12px 20px;font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--faint);border-bottom:1px solid var(--line)}
.list-head span:first-child{width:42px}

/* Tables (staff) */
.table-wrap{overflow-x:auto}
table{width:100%;border-collapse:collapse;font-size:14.5px}
th{text-align:left;font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--faint);padding:12px 16px;border-bottom:1px solid var(--line);white-space:nowrap}
td{padding:14px 16px;border-top:1px solid var(--line);vertical-align:top}
tr:first-child td{border-top:0}
tbody tr:hover td{background:color-mix(in srgb,var(--hover) 60%,transparent)}
td .sub{color:var(--muted);font-size:13px;margin-top:2px}
.note-text{white-space:pre-wrap;max-width:460px}

/* Sign-in code */
.signin-code{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.signin-code div{background:var(--raised);border:1px solid var(--line-strong);border-radius:12px;padding:14px 16px}
.signin-code small{display:block;font-size:12.5px;color:var(--muted);font-weight:600;margin-bottom:4px}
.signin-code b{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:20px;font-weight:600;letter-spacing:.01em;word-break:break-all}
.share{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}

/* Definition lists */
.dl{display:grid;grid-template-columns:minmax(140px,auto) 1fr;gap:12px 20px;margin:0}
.dl dt{color:var(--muted);font-size:14.5px;font-weight:550}.dl dd{margin:0;font-weight:550;min-width:0;overflow-wrap:anywhere}

/* Wizard */
.wizard-steps{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.wizard-steps .s{display:flex;align-items:center;gap:10px;color:var(--muted);font-weight:600;font-size:14.5px}
.wizard-steps .s b{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--raised);border:1px solid var(--line-strong);font-size:13.5px}
.wizard-steps .s.on{color:var(--text)}.wizard-steps .s.on b{background:var(--accent);color:#fff;border-color:transparent}
.wizard-steps .s.done b{background:var(--green-soft);color:var(--green);border-color:transparent}
.wizard-steps .line{width:42px;height:2px;background:var(--line-strong);border-radius:2px}
.username-preview{display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:12px;background:var(--raised);border:1px solid var(--line)}
.username-preview b{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:18px}
.review td input{min-height:40px;padding:8px 10px;font-size:15px;border-radius:9px;min-width:110px}
.review td input[aria-label=name]{min-width:190px}.review td input[aria-label=email]{min-width:230px}.review td input[aria-label=badge]{min-width:80px;width:90px}
.review td{vertical-align:middle;padding:10px 8px}.review th{padding:12px 8px}
.review tr.problem td{background:var(--red-soft)}
.review tr.skip td{opacity:.6}

/* Empty states */
.empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:48px 24px}
.empty .art{width:64px;height:64px;border-radius:18px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent)}
.empty .art .i{width:30px;height:30px}
.empty p{color:var(--muted);max-width:440px}

/* Tabs */
.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);overflow-x:auto}
.tabs a{padding:12px 16px;color:var(--muted);font-weight:600;font-size:15px;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;text-decoration:none!important}
.tabs a:hover{color:var(--text)}.tabs a.on{color:var(--text);border-bottom-color:var(--accent)}
.tabs .count{margin-left:6px;color:var(--amber)}

/* Help */
.how{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.how .card{padding:22px;display:flex;flex-direction:column;gap:10px}
.how .num{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);font-weight:700}
details.faq{border-top:1px solid var(--line);padding:16px 24px}
details.faq:first-of-type{border-top:0}
details.faq summary{cursor:pointer;font-weight:600;font-size:15.5px;list-style:none;display:flex;justify-content:space-between;gap:12px}
details.faq summary::after{content:"+";color:var(--muted);font-size:20px;line-height:1}
details.faq[open] summary::after{content:"−"}
details.faq p{color:var(--muted);margin-top:10px}

/* Modal and toast */
.modal-back{position:fixed;inset:0;background:rgba(5,8,13,.62);backdrop-filter:blur(4px);display:grid;place-items:center;padding:20px;z-index:50;animation:fade .15s ease}
.modal{width:100%;max-width:520px;max-height:calc(100vh - 40px);overflow:auto;background:var(--surface);border:1px solid var(--line-strong);border-radius:18px;padding:26px;display:flex;flex-direction:column;gap:16px;box-shadow:0 30px 80px -20px rgba(0,0,0,.6);animation:rise .18s ease}
.modal p.sub{color:var(--muted)}
.toasts{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;gap:8px;z-index:60;align-items:center;pointer-events:none}
.toast{display:flex;align-items:center;gap:10px;padding:12px 18px;border-radius:12px;background:var(--text);color:var(--bg);font-weight:600;font-size:15px;box-shadow:0 12px 32px rgba(0,0,0,.35);animation:rise .2s ease}
.toast .i{color:var(--green)}
@keyframes fade{from{opacity:0}}@keyframes rise{from{opacity:0;transform:translateY(8px)}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* The tour */
.tour{position:fixed;inset:0;z-index:70;pointer-events:none}
.tour-shade{position:fixed;background:rgba(5,8,13,.64);pointer-events:auto;display:none;transition:all .25s ease}
.tour-ring{position:fixed;border-radius:14px;pointer-events:auto;display:none;box-shadow:0 0 0 3px var(--accent),0 0 0 9px rgba(61,139,255,.28);transition:all .25s ease;animation:tourpulse 1.8s ease-in-out infinite}
.tour-ring.pass{pointer-events:none}
.tour-card{position:fixed;width:min(390px,calc(100vw - 32px));background:var(--surface);border:1px solid var(--line-strong);border-radius:18px;padding:20px 22px;
  box-shadow:0 28px 70px -16px rgba(0,0,0,.65);pointer-events:auto;display:flex;flex-direction:column;gap:12px;outline:none;transition:top .25s ease,left .25s ease;animation:rise .2s ease}
.tour-card .count{font-size:12px;font-weight:700;color:var(--accent);letter-spacing:.06em;text-transform:uppercase}
.tour-card h2{font-size:20px}.tour-card p{color:var(--muted);font-size:15.5px}
.tour-card .hint{display:flex;gap:8px;align-items:center;font-size:14px;color:var(--accent);font-weight:600}
.tour-dots{display:flex;gap:5px;flex-wrap:wrap}.tour-dots i{width:7px;height:7px;border-radius:4px;background:var(--line-strong);transition:width .2s}
.tour-dots i.past{background:color-mix(in srgb,var(--accent) 45%,var(--line-strong))}.tour-dots i.on{background:var(--accent);width:20px}
@keyframes tourpulse{50%{box-shadow:0 0 0 3px var(--accent),0 0 0 14px rgba(61,139,255,.1)}}

/* Phones and tablets */
@media (max-width:1100px){.two-col{grid-template-columns:1fr}.how{grid-template-columns:1fr}}
@media (max-width:900px){
  .auth{grid-template-columns:1fr}.auth-art{display:none}.auth-card .small-brand{display:flex;padding:0}
  .shell{grid-template-columns:1fr}
  .side{position:fixed;inset:0 auto 0 0;width:min(300px,86vw);z-index:40;transform:translateX(-102%);transition:transform .2s ease;box-shadow:20px 0 60px rgba(0,0,0,.4)}
  .shell.open .side{transform:none}
  .shell.open::after{content:"";position:fixed;inset:0;background:rgba(5,8,13,.5);z-index:30}
  .topbar{display:flex;align-items:center;gap:12px;position:sticky;top:0;z-index:20;padding:12px 16px;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
  .topbar .brand{padding:0;font-size:16px}.topbar .brand img{width:30px;height:30px}
  .main{padding:24px 16px 80px}
  h1{font-size:25px}
  .grid2,.grid3,.signin-code{grid-template-columns:1fr}
  .person,.list-head{grid-template-columns:auto minmax(0,1fr) auto}
  .person .hide-sm,.list-head .hide-sm{display:none}
  .person.share-row{grid-template-columns:auto minmax(0,1fr)}.person.share-row>.row{grid-column:1/-1}
  .dl{grid-template-columns:1fr;gap:4px}.dl dd{margin-bottom:10px}
  .card .card-head,.card .card-body,.card.pad{padding-left:18px;padding-right:18px}
  .check{padding:16px 18px}
}

/* Setup sheets: shown only when printing */
#print{display:none}
@media print{
  @page{margin:14mm}
  body{background:#fff!important;color:#000}
  .tour{display:none!important}
  body>*:not(#print){display:none!important}
  #print{display:block;color:#111;font-family:Inter,-apple-system,"Segoe UI",sans-serif}
  .sheet{page-break-after:always;break-after:page;display:flex;flex-direction:column;gap:18px}
  .sheet:last-child{page-break-after:auto;break-after:auto}
  .sheet .top{display:flex;align-items:center;gap:12px;border-bottom:2px solid #111;padding-bottom:12px}
  .sheet .top img{width:42px;height:42px;border-radius:10px}
  .sheet .top b{font-size:20px}.sheet .top span{color:#555;font-size:13px;display:block}
  .sheet h1{font-size:26px;margin:4px 0 0}.sheet .intro{font-size:15px;color:#333}
  .sheet .step{display:flex;gap:14px;align-items:flex-start;border:1px solid #ccc;border-radius:12px;padding:16px}
  .sheet .step .n{width:34px;height:34px;border-radius:50%;background:#111;color:#fff;display:grid;place-items:center;font-weight:700;flex:none}
  .sheet .step h2{font-size:17px;margin:0 0 4px}.sheet .step p{font-size:14px;color:#333;margin:0}
  .sheet .codes{display:flex;gap:28px;margin-top:12px}
  .sheet .codes figure{margin:0;text-align:center;font-size:12px;color:#333}
  .sheet .codes svg{width:110px;height:110px;display:block;margin-bottom:4px}
  .sheet .creds{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
  .sheet .creds div{border:2px solid #111;border-radius:10px;padding:10px 14px}
  .sheet .creds small{display:block;font-size:12px;color:#555;font-weight:600}
  .sheet .creds b{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:22px}
  .sheet .fine{font-size:12.5px;color:#444;border-top:1px solid #ccc;padding-top:10px}
}
