:root{--bg:#f3f5f8;--surface:#fff;--surface-alt:#f8fafc;--text:#1b2632;--muted:#5d6978;--border:#dbe2ea;--primary:#1d5c7a;--primary-strong:#164a63;--primary-soft:#e3eff5;--on-primary:#fff;--done:#23744a;--done-soft:#e2f3e9;--todo:#9a5b00;--todo-soft:#fdf0d8;--danger:#b3261e;--danger-soft:#fbe9e7;--radius:12px;--shadow:0 1px 2px #1423320f, 0 2px 8px #1423320d;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#10161d;--surface:#19212b;--surface-alt:#1f2935;--text:#e6ecf2;--muted:#9aa7b6;--border:#2c3846;--primary:#6fb6d6;--primary-strong:#8cc7e2;--primary-soft:#1d3442;--on-primary:#0d1820;--done:#6fcf97;--done-soft:#183526;--todo:#f0b455;--todo-soft:#3a2c12;--danger:#f28b82;--danger-soft:#40201d;--shadow:none}}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--text);margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.5}a{color:var(--primary)}h1,h2,h3,p{margin:0}.Muted{color:var(--muted);font-size:.9rem}.Splash{text-align:center;padding:48px 16px}.Prose{white-space:pre-wrap;overflow-wrap:anywhere}.Back{font-size:.9rem;text-decoration:none;display:inline-block}.Stack{flex-direction:column;gap:12px;display:flex}.Layout{min-height:100vh}.Layout__Header{z-index:10;background:var(--primary);color:var(--on-primary);position:sticky;top:0}.Layout__Bar,.Layout__Nav,.Layout__Main{max-width:960px;margin:0 auto;padding-left:16px;padding-right:16px}.Layout__Bar{padding-top:12px;padding-bottom:4px}.Layout__Brand{color:inherit;font-size:1.15rem;font-weight:700;text-decoration:none}.Layout__Subtitle{opacity:.85;margin-left:8px;font-size:.8rem;font-weight:400}.Layout__Nav{scrollbar-width:none;gap:4px;display:flex;overflow-x:auto}.Layout__Link{color:inherit;opacity:.8;border-bottom:3px solid #0000;flex:none;padding:10px 12px;font-size:.95rem;text-decoration:none}.Layout__Link--active{opacity:1;border-bottom-color:currentColor;font-weight:600}.Layout__Main{padding-top:20px;padding-bottom:56px}.Section{flex-direction:column;gap:12px;margin-bottom:28px;display:flex}.Section__Title{font-size:1.45rem;line-height:1.25}.Section__Heading{flex-wrap:wrap;align-items:baseline;gap:4px 12px;font-size:1.1rem;display:flex}.Section__Count{color:var(--muted);font-size:.85rem;font-weight:400}.Card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);flex-direction:column;gap:10px;padding:16px;display:flex}.Card--link{color:inherit;text-decoration:none}.Card--link:hover{border-color:var(--primary)}.Card--row{flex-direction:row;justify-content:space-between;align-items:center}.Card__Head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.Card__Title{overflow-wrap:anywhere;font-size:1.05rem}.Badge{white-space:nowrap;border-radius:999px;flex:none;padding:3px 10px;font-size:.8rem;font-weight:600}.Badge--muted{background:var(--surface-alt);color:var(--muted)}.Badge--done{background:var(--done-soft);color:var(--done)}.Badge--todo{background:var(--todo-soft);color:var(--todo)}.Chips{flex-wrap:wrap;gap:8px;display:flex}.Chip{border:1px solid var(--border);background:var(--surface);border-radius:999px;align-items:center;gap:6px;padding:6px 12px;font-size:.9rem;display:inline-flex}.Chip--action{border-style:dashed;text-decoration:none}.Chip--tab{color:var(--text);cursor:pointer;font:inherit;font-size:.9rem}.Chip--active{border-color:var(--primary);background:var(--primary);color:var(--on-primary);font-weight:600}.Chip--taken{cursor:not-allowed;opacity:.45}.Chip--check{cursor:pointer;justify-content:center;min-width:44px;min-height:36px}.Chip--check input{opacity:0;pointer-events:none;position:absolute}.Chip--check:has(input:focus-visible){outline:2px solid var(--primary);outline-offset:2px}.Chip__Remove{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0 2px;font-size:1.1rem;line-height:1}.Form{gap:14px}.Form--grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));align-items:end;display:grid}form.Form:not(.Card){flex-direction:column;display:flex}.Field{flex-direction:column;gap:4px;display:flex}.Field__Label{font-size:.9rem;font-weight:600}.Field__Hint{color:var(--muted);font-size:.82rem}.Field__Input{border:1px solid var(--border);background:var(--surface);width:100%;min-height:44px;color:var(--text);font:inherit;border-radius:8px;padding:9px 12px}.Field__Input:focus-visible{border-color:var(--primary);outline:2px solid var(--primary-soft)}.Field__Input--code{letter-spacing:.08em;text-transform:uppercase;font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:1.15rem}.Field__Input--compact{min-height:36px;padding:4px 8px}.Fieldset{border:0;flex-direction:column;gap:8px;min-width:0;margin:0;padding:0;display:flex}.Fieldset:disabled{opacity:.6}.Check,.Choice{cursor:pointer;align-items:flex-start;gap:10px;font-size:.95rem;display:flex}.Check input,.Choice input{width:20px;height:20px;accent-color:var(--primary);flex:none;margin:2px 0 0}.Choice{border:1px solid var(--border);background:var(--surface-alt);border-radius:8px;padding:12px;font-size:1rem}.Choice:has(input:checked){border-color:var(--primary);background:var(--primary-soft)}.Inline{flex-wrap:wrap;gap:8px;display:flex}.Inline .Field__Input{flex:180px;width:auto}.Actions,.Toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.Toolbar>.Field__Input{flex:200px;width:auto}.Button{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text);cursor:pointer;font:inherit;border-radius:8px;justify-content:center;align-items:center;padding:9px 16px;font-weight:600;text-decoration:none;display:inline-flex}.Button:disabled{cursor:not-allowed;opacity:.55}.Button--primary{border-color:var(--primary);background:var(--primary);color:var(--on-primary)}.Button--primary:hover:not(:disabled){background:var(--primary-strong)}.Button--block{width:100%}.Button--small{min-height:36px;padding:4px 12px}.Button--link{min-height:36px;color:var(--primary);background:0 0;border-color:#0000;padding:4px 8px;font-weight:500}.Button--danger{color:var(--danger)}.Notice{border-radius:8px;padding:10px 14px;font-size:.95rem}.Notice--info{background:var(--primary-soft)}.Notice--success{background:var(--done-soft);color:var(--done)}.Notice--warning{background:var(--todo-soft);color:var(--todo)}.Notice--error{background:var(--danger-soft);color:var(--danger)}.Rules,.Links{flex-direction:column;gap:4px;margin:0;padding-left:20px;font-size:.92rem;display:flex}.Rules{color:var(--muted)}.Files{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.Files__Item{border:1px solid var(--border);background:var(--surface);border-radius:8px;flex-wrap:wrap;align-items:baseline;gap:4px 10px;padding:8px 12px;display:flex}.Files__Link{overflow-wrap:anywhere;flex:200px;font-weight:600}.Details summary{cursor:pointer;color:var(--primary);font-weight:600}.ResultBars{flex-direction:column;gap:14px;display:flex}.ResultBars__Head{justify-content:space-between;gap:12px;display:flex}.ResultBars__Label{overflow-wrap:anywhere}.ResultBars__Value{font-variant-numeric:tabular-nums;flex:none;font-weight:700}.ResultBars__Track{background:var(--border);border-radius:999px;height:12px;margin:4px 0;overflow:hidden}.ResultBars__Fill{background:var(--muted);border-radius:999px;height:100%}.ResultBars__Row--leading .ResultBars__Fill{background:var(--primary)}.ResultBars__Row--leading .ResultBars__Label{font-weight:700}.ResultBars__Detail,.ResultBars__Summary{color:var(--muted);font-size:.85rem}.Turnout{flex-direction:column;gap:4px;display:flex}.Turnout__Track{background:var(--border);border-radius:999px;height:8px;overflow:hidden}.Turnout__Fill{background:var(--done);border-radius:999px;height:100%}.Turnout__Text{color:var(--muted);font-size:.85rem}.Welcome{flex-direction:column;align-items:center;gap:16px;min-height:100vh;padding:32px 16px;display:flex}.Welcome__Card{border:1px solid var(--border);background:var(--surface);width:100%;max-width:440px;box-shadow:var(--shadow);border-radius:16px;flex-direction:column;gap:16px;padding:24px;display:flex}.Welcome__Title{color:var(--primary);font-size:1.7rem}.Welcome__Lead{color:var(--muted)}.Welcome__Footer{max-width:440px;color:var(--muted);text-align:center;font-size:.85rem}.UnitGrid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px;display:grid}.UnitCard{border:1px solid var(--border);border-left:4px solid var(--done);background:var(--surface);border-radius:8px;flex-direction:column;gap:4px;padding:12px;display:flex}.UnitCard--empty{border-left-color:var(--border);background:var(--surface-alt)}.UnitCard__Head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.UnitCard__Name{font-weight:700}.UnitCard__Contact{border-top:1px dashed var(--border);flex-direction:column;padding-top:4px;font-size:.92rem;display:flex}.Stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;display:grid}.Stat{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);flex-direction:column;padding:14px;display:flex}.Stat__Value{color:var(--primary);font-size:1.6rem;font-weight:700;line-height:1.2}.Stat__Label{font-size:.9rem;font-weight:600}.Stat__Hint{color:var(--muted);font-size:.78rem}.TableWrap{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);overflow-x:auto}.Table{border-collapse:collapse;width:100%;font-size:.92rem}.Table th,.Table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:top;padding:9px 12px}.Table th{background:var(--surface-alt);color:var(--muted);white-space:nowrap;font-size:.8rem;font-weight:600}.Table tr:last-child td{border-bottom:0}.Table__Actions{text-align:right;white-space:nowrap}.Segmented{border:1px solid var(--border);border-radius:8px;display:inline-flex;overflow:hidden}.Segmented--full{display:flex}.Segmented--full .Segmented__Item{flex:1}.Segmented__Item{border:0;border-right:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text);cursor:pointer;font:inherit;padding:8px 14px}.Segmented__Item:last-child{border-right:0}.Segmented__Item--active{background:var(--primary);color:var(--on-primary);font-weight:600}.Mono{letter-spacing:.06em;font-family:ui-monospace,Cascadia Mono,Consolas,monospace}.UnitPicker{flex-direction:column;gap:10px;display:flex}.UnitPicker__Group{flex-direction:column;gap:4px;display:flex}.Poster{flex-direction:column;gap:12px;display:flex}.Poster__Sheet{border:1px solid var(--border);border-radius:var(--radius);color:#111;background:#fff;flex-wrap:wrap;justify-content:center;align-items:center;gap:20px;padding:24px;display:flex}.Poster__Text{flex-direction:column;flex:260px;gap:10px;font-size:1rem;display:flex}.Poster__Title{font-size:1.35rem;line-height:1.25}.Poster__Small{color:#555;font-size:.85rem}.Poster__Qr{flex:none;width:200px;height:200px}@media print{body{background:#fff}body *{visibility:hidden}.Poster__Sheet,.Poster__Sheet *{visibility:visible}.Poster__Sheet{border:0;width:100%;font-size:1.3rem;position:absolute;top:0;left:0}.Poster__Title{font-size:2rem}.Poster__Qr{width:320px;height:320px}.Layout__Header{position:static}}
