@font-face{font-family:"Geist";font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/geist-sans-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Geist";font-weight:500;font-style:normal;font-display:swap;src:url(/fonts/geist-sans-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Geist";font-weight:600;font-style:normal;font-display:swap;src:url(/fonts/geist-sans-latin-600-normal.woff2) format("woff2")}
/* Layout idea: a navy band across the top carries the name, the headline and the three
   counts. Everything below sits on white cards over a pale blue-grey page. Navy is the
   only strong color; pay bars and buttons use it. */
:root{
  --navy:#0b1f3a; --navy-2:#14305a; --on-navy:#ffffff; --on-navy-muted:#b7c4d8; --navy-line:rgba(255,255,255,.16);
  --bg:#f5f7fa; --card:#ffffff; --ink:#0f1b2d; --muted:#5a6679; --line:#e1e6ee;
  --accent:#0b1f3a; --accent-ink:#ffffff; --track:#e6ebf2; --bar:#14305a;
  --ok:#17794c; --warn:#b42318; --soft:#f3f6fa;
  --body:"Geist",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --display:var(--body);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --navy:#0b1f3a; --navy-2:#14305a;
    --bg:#081221; --card:#0e1b30; --ink:#eef2f8; --muted:#97a5ba; --line:#1e2e49;
    --accent:#ffffff; --accent-ink:#0b1f3a; --track:#1a2a44; --bar:#8fb0e6;
    --ok:#4cc38a; --warn:#f97066; --soft:#12213a; color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --navy:#0b1f3a; --navy-2:#14305a;
  --bg:#081221; --card:#0e1b30; --ink:#eef2f8; --muted:#97a5ba; --line:#1e2e49;
  --accent:#ffffff; --accent-ink:#0b1f3a; --track:#1a2a44; --bar:#8fb0e6;
  --ok:#4cc38a; --warn:#f97066; --soft:#12213a; color-scheme:dark;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0}
body{background:var(--bg);color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.hero{background:linear-gradient(180deg,var(--navy) 0%,var(--navy-2) 100%);color:var(--on-navy)}
.hero-in{max-width:820px;margin:0 auto;padding:20px 20px 36px;display:flex;flex-direction:column;gap:28px}
.hero.slim .hero-in{padding-bottom:28px;gap:20px}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{display:inline-flex;align-items:center;gap:10px;color:var(--on-navy);text-decoration:none;font-weight:600;font-size:1.0625rem;letter-spacing:-.01em}
.brand svg{display:block;flex:none}
.place{font-size:.8125rem;color:var(--on-navy-muted);border:1px solid var(--navy-line);border-radius:999px;padding:4px 12px}
.hero header p.lede{color:var(--on-navy-muted)}
.hero .stats{background:rgba(255,255,255,.06);border-color:var(--navy-line)}
.hero .stat{border-left-color:var(--navy-line)}
.hero .stat span{color:var(--on-navy-muted)}
.hero a:focus-visible{outline-color:#ffffff}
.wrap{max-width:820px;margin:0 auto;padding:28px 20px 80px;display:flex;flex-direction:column;gap:22px}
h1,h2,h3{font-family:var(--display);font-weight:600;line-height:1.15;margin:0;text-wrap:balance}
h1{font-size:2.375rem;letter-spacing:-.03em;max-width:20ch}
.hero.slim h1{font-size:1.875rem}
h2{font-size:1.25rem;letter-spacing:-.015em}
p{margin:0}
a{color:inherit;text-underline-offset:3px}
.muted{color:var(--muted)}
.small{font-size:.875rem}
.num{font-variant-numeric:tabular-nums}
header{display:flex;flex-direction:column;gap:10px}
header .tag{font-size:.8125rem;font-weight:500;color:var(--muted)}
header .tag a{text-decoration:none}
header p.lede{max-width:60ch;color:var(--muted);font-size:1.0625rem}
.stats{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:14px;background:var(--card);overflow:hidden}
.stat{padding:16px 18px;border-left:1px solid var(--line)}
.stat:first-child{border-left:0}
.stat b{display:block;font-size:1.625rem;font-weight:600;letter-spacing:-.02em;line-height:1.1}
.stat span{font-size:.8125rem;color:var(--muted)}
.banner{background:var(--card);box-shadow:0 1px 2px rgba(11,31,58,.05);border:1px solid var(--line);border-radius:14px;padding:16px 18px;display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between}
.banner div{flex:1 1 260px}
.banner strong{font-weight:600}
.banner strong::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--muted);margin-right:9px;vertical-align:1px}
.banner.unlocked strong::before{background:var(--ok)}
button,.btn{font:inherit;font-size:.9375rem;font-weight:500;border-radius:10px;border:1px solid var(--accent);background:var(--accent);color:var(--accent-ink);padding:10px 16px;cursor:pointer;transition:opacity .15s}
button:hover{opacity:.86}
button.ghost{background:transparent;color:var(--ink);border-color:var(--line)}
button.ghost:hover{background:var(--soft);opacity:1}
button:disabled{opacity:.45;cursor:not-allowed}
button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.panel{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:20px;display:flex;flex-direction:column;gap:14px}
form .grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
label{display:flex;flex-direction:column;gap:6px;font-size:.8125rem;font-weight:500;color:var(--muted)}
input,select{font:inherit;font-size:.9375rem;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);width:100%}
input::placeholder{color:var(--muted);opacity:.7}
.checks{display:flex;flex-wrap:wrap;gap:18px}
.checks label{flex-direction:row;align-items:center;gap:8px;font-weight:400;font-size:.9375rem;color:var(--ink)}
.checks input{width:auto;accent-color:var(--ink)}
.msg{font-size:.875rem;font-weight:500}
.msg.err{color:var(--warn)} .msg.ok{color:var(--ok)}
.controls{display:flex;flex-wrap:wrap;gap:12px}
.controls > *{flex:1 1 170px}
.scale{display:flex;justify-content:space-between;font-size:.75rem;color:var(--muted);padding:0 2px 8px}
.list{display:flex;flex-direction:column;box-shadow:0 1px 2px rgba(11,31,58,.05);border:1px solid var(--line);border-radius:14px;background:var(--card);overflow:hidden}
details.co{border-top:1px solid var(--line)}
details.co:first-child{border-top:0}
details.co > summary{list-style:none;cursor:pointer;padding:16px 18px;display:grid;grid-template-columns:1fr auto;gap:10px 14px;align-items:baseline}
details.co > summary:hover{background:var(--soft)}
details.co > summary::-webkit-details-marker{display:none}
.co-name{font-weight:600;font-size:1rem;line-height:1.3;overflow-wrap:anywhere}
.co-pay{font-weight:600;font-size:1rem;white-space:nowrap;text-align:right;letter-spacing:-.01em}
.co-pay.none{font-weight:400;font-size:.8125rem;color:var(--muted);white-space:normal}
.chips{display:flex;flex-wrap:wrap;gap:6px 14px;grid-column:1/-1}
.chip{font-size:.8125rem;color:var(--muted)}
.chip.lock::before,.chip.open::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--muted);margin-right:6px;vertical-align:2px}
.chip.open::before{background:var(--ok)}
.bar{grid-column:1/-1;position:relative;height:6px;background:var(--track);border-radius:3px}
.bar i{position:absolute;top:0;bottom:0;border-radius:3px;background:var(--bar);min-width:6px}
.co-body{border-top:1px solid var(--line);padding:16px 18px 18px;display:flex;flex-direction:column;gap:12px;background:var(--soft)}
.co-body h3{font-size:.8125rem;font-weight:500;color:var(--muted)}
.tbl{overflow-x:auto}
table{border-collapse:collapse;width:100%;font-size:.875rem}
th,td{text-align:left;padding:8px 14px 8px 0;border-bottom:1px solid var(--line);vertical-align:top}
tbody tr:last-child td{border-bottom:0}
th{font-weight:500;color:var(--muted);white-space:nowrap;font-size:.8125rem}
td.num{white-space:nowrap}
.locked{border:1px solid var(--line);background:var(--card);border-radius:10px;padding:12px 14px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
.empty{padding:28px 20px;text-align:center;color:var(--muted)}
footer{font-size:.8125rem;color:var(--muted);max-width:68ch}
footer nav{display:flex;flex-wrap:wrap;gap:16px;margin-top:12px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.doc{max-width:66ch;display:flex;flex-direction:column;gap:14px}
.doc h2{margin-top:14px;font-size:1.0625rem}
.doc ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px}
@media (max-width:520px){
  .wrap{padding:28px 16px 64px}
  h1{font-size:1.75rem}
  .hero-in{padding:16px 16px 28px;gap:22px}
  form .grid{grid-template-columns:1fr}
  .stat{padding:12px 12px}
  .stat b{font-size:1.375rem}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.place select{appearance:none;background:transparent;border:0;color:inherit;font:inherit;padding:0 16px 0 0;cursor:pointer;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 6px) 55%,calc(100% - 2px) 55%;background-size:4px 4px;background-repeat:no-repeat}
.place select option{color:#0f1b2d}
.place:empty{display:none}
.preview-note{background:#fff7e6;border:1px solid #f0d9a8;color:#6b4e16;border-radius:10px;padding:10px 14px;font-size:.875rem;margin:0}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
a.btn{display:inline-block;text-decoration:none}
a.btn:hover{opacity:.86}
.crumbs{margin:0 0 6px;color:var(--on-navy-muted)}
.crumbs a,.hero a.place{color:var(--on-navy-muted);text-decoration:none}
.crumbs a:hover,.hero a.place:hover{color:var(--on-navy);text-decoration:underline}
.hero .chips .chip{color:var(--on-navy-muted)}
.others{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px}
.co-link{margin:10px 0 0}
