:root { --bg:#ffffff; --fg:#000; --muted:#333; --green:#0b7a2a; --red:#b3001b; --blue:#0b3d91; --gold:#ffd400; --line:#000; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin:0; background:var(--bg); color:var(--fg); font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 22px; }
header { background:#111; color:#fff; padding: 12px 16px; padding-top: calc(12px + env(safe-area-inset-top)); display:flex; align-items:baseline; gap:8px; }
header .brand { font-weight:900; letter-spacing:2px; font-size:22px; color:var(--gold); }
header .sub { font-size:18px; }
header #clock { margin-left:auto; font-weight:800; font-size:22px; }
main { padding: 16px; padding-bottom: calc(140px + env(safe-area-inset-bottom)); max-width: 640px; margin: 0 auto; }
h1 { font-size: 34px; margin: 6px 0 14px; line-height:1.15; }
h2 { font-size: 26px; margin: 10px 0; }
.big { font-size: 28px; font-weight: 700; }
.center { text-align:center; }
.muted { color: var(--muted); font-size: 20px; }
button { font: inherit; cursor: pointer; border: 4px solid var(--line); border-radius: 18px; background:#fff; color:#000; }
button:active { transform: scale(.98); }
button:disabled { opacity: .35; }
.btn { display:block; width:100%; min-height: 84px; font-size: 28px; font-weight: 800; padding: 14px 16px; margin: 0 0 14px; text-align:left; }
.btn.center { text-align:center; }
.btn-xl { min-height: 200px; font-size: 48px; font-weight: 900; text-align:center; letter-spacing: 1px; color:#fff; border-color:#000; }
.btn-l { min-height: 120px; font-size: 34px; font-weight: 900; text-align:center; color:#fff; }
.green { background: var(--green); } .red { background: var(--red); } .blue { background: var(--blue); }
.gold { background: var(--gold); color:#000; }
.btn.sel { background:#000; color:#fff; }
.btn .chk { float:right; font-size: 32px; }
.small-btn { font-size: 20px; font-weight:700; padding: 12px 16px; min-height: 56px; border-width:3px; }
.card { border: 4px solid #000; border-radius: 18px; padding: 16px; margin-bottom: 16px; }
.card.in { background:#e7f6ea; border-color: var(--green); }
.status-line { font-size: 26px; font-weight: 800; }
.sticky { position: fixed; left:0; right:0; bottom:0; background:#fff; border-top: 4px solid #000; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
.sticky .inner { max-width: 640px; margin: 0 auto; display:flex; gap: 12px; }
.sticky .btn { margin:0; text-align:center; }
.back { flex: 0 0 34%; background:#eee; }
.split-row { border:4px solid #000; border-radius: 18px; padding: 12px; margin-bottom: 14px; }
.split-row .name { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.stepper { display:flex; align-items:center; gap: 10px; }
.stepper button { width: 96px; height: 84px; font-size: 52px; font-weight: 900; flex: 0 0 auto; line-height: 1; }
.stepper .val { flex: 1; text-align:center; font-size: 36px; font-weight: 900; }
.left { font-size: 26px; font-weight: 900; padding: 12px; border-radius: 14px; text-align:center; margin-bottom: 14px; }
.left.ok { background:#e7f6ea; border: 4px solid var(--green); }
.left.no { background:#fff3c4; border: 4px solid #000; }
.done-mark { font-size: 110px; line-height: 1; text-align:center; color: var(--green); }
.loc-list { list-style:none; padding:0; margin: 0; }
.loc-list li { display:flex; justify-content:space-between; gap: 10px; font-size: 26px; font-weight: 700; padding: 12px 0; border-bottom: 3px solid #000; }
.loc-list li:last-child { border-bottom: 0; }
input.note { width:100%; font-size: 28px; padding: 16px; border: 4px solid #000; border-radius: 14px; margin-bottom: 14px; }
.chips { display:flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.chips button { font-size: 24px; font-weight: 800; padding: 16px 18px; min-height: 70px; }
.chips button.sel { background:#000; color:#fff; }
.err { background: var(--red); color:#fff; font-weight: 800; padding: 14px; border-radius: 14px; margin-bottom: 14px; font-size: 24px; }
.timepick { font-size: 44px; font-weight: 900; text-align:center; padding: 10px 0; }
