:root{color:#202734;-webkit-text-size-adjust:100%;font-variant-numeric:tabular-nums;background:#f3f5f8;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,input:focus-visible{outline-offset:3px;outline:3px solid #2473d5}.hide,[hidden]{display:none!important}.shell{max-width:970px;padding:16px 16px calc(36px + env(safe-area-inset-bottom));margin:0 auto}.hero{color:#fff;background:#b5122a;border-radius:20px;padding:21px 24px 16px;box-shadow:0 7px 24px #68102226}.hero-top{justify-content:space-between;align-items:center;gap:14px;display:flex}.hero h1{letter-spacing:-.03em;margin:7px 0 4px;font-size:clamp(24px,4vw,34px)}.hero small{letter-spacing:.09em;font-size:12px;font-weight:750}.app-badge{text-align:center;color:#b5122a;letter-spacing:-.04em;background:#fff;border-radius:12px;min-width:70px;padding:12px;font-size:25px;font-weight:900}.stripe{background:#fff;border-radius:999px;height:5px;margin-top:16px}.main{background:#fff;border:1px solid #e1e4eb;border-radius:18px;margin-top:15px;padding:18px}.row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.stack{gap:14px;display:grid}.muted{color:#626d7b}.small{font-size:13px}.h2{letter-spacing:-.02em;color:#b5122a;margin:0 0 12px;font-size:21px}.h3{margin:0 0 12px;font-size:17px;font-weight:800}.subhead{color:#596575;text-transform:uppercase;letter-spacing:.04em;margin-bottom:8px;font-size:13px;font-weight:750}.note{color:#334861;background:#f0f4f9;border:1px solid #dce5f0;border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.45}.warning{color:#62460f;background:#fff5e2;border-color:#e6c880}.danger-note{color:#842233;background:#fff0f0;border-color:#eec5ca}label{margin:0 0 5px;font-size:13px;font-weight:700;display:block}.form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}input[type=date],input[type=text]{color:#1d2a39;background:#fff;border:1px solid #cfd6e1;border-radius:11px;width:100%;min-height:49px;padding:9px 12px;font-size:16px}button.action{color:#fff;background:#b5122a;border:0;border-radius:11px;min-height:52px;padding:14px 16px;font-weight:750}.action.blue{background:#174878}.action.light{color:#174878;background:#eef3fa}.action.secondary{color:#303b48;background:#f1f2f5}.action.outline{color:#334458;background:#fff;border:1px solid #cbd3de}.action.text{color:#3e536c;background:0 0}.action.danger{background:#97142a}.action.wide{width:100%}.action:active,.tap:active,.donate:active,.picker:active{transform:scale(.99)}.pick-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.picker{text-align:left;color:#fff;background:#b5122a;border:0;border-radius:17px;flex-direction:column;justify-content:space-between;align-items:flex-start;min-height:118px;padding:19px;display:flex}.picker.blue{background:#174878}.picker strong{font-size:20px}.picker span{opacity:.95;font-size:14px}.game-row{border-bottom:1px solid #e4e8ed;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;display:flex}.game-row:last-child{border:0}.game-row button{flex-shrink:0}.stats{grid-template-columns:1fr 1fr;gap:12px;display:grid}.stat{background:#f6f7f9;border-radius:13px;min-width:0;padding:15px}.stat.blue{background:#edf3fb}.stat small{color:#586578;margin-bottom:6px;font-size:13px;display:block}.stat strong{color:#b5122a;font-size:clamp(25px,4vw,34px)}.stat.blue strong{color:#174878}.cats{grid-template-columns:1fr 1fr;gap:14px;display:grid}.category{flex-direction:column;gap:7px;min-width:0;display:flex}.tap{text-align:left;border:0;border-radius:17px;flex-direction:column;justify-content:space-between;align-items:stretch;min-height:148px;padding:17px;display:flex}.tap .cat-head{justify-content:space-between;align-items:center;gap:3px;font-size:17px;font-weight:800;display:flex}.tap .number{font-size:clamp(32px,6vw,45px);font-weight:850;line-height:1}.tap .cat-foot{font-size:14px;font-weight:700}.tap.paid{color:#fff;background:#b5122a}.tap.pass{color:#174878;background:#dce9fa}.tap.parents{color:#98182b;background:#f9eeee}.tap.free{color:#72510a;background:#fcecb4}.correction{color:#465469;background:#fff;border:1px solid #cbd3de;border-radius:9px;min-height:38px;font-size:13px;font-weight:650}.donations{grid-template-columns:repeat(4,1fr);gap:9px;display:grid}.donate{color:#174878;background:#eef3fa;border:1px solid #dae3ef;border-radius:11px;min-height:66px;font-size:17px;font-weight:800}.total{color:#174878;font-size:24px;font-weight:850}.keypad{background:#f3f5f8;border-radius:16px;padding:14px}.key-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0;display:grid}.key{color:#26323f;background:#fff;border:1px solid #d4d9e1;border-radius:11px;min-height:60px;font-size:23px;font-weight:700}.key-preview{color:#174878;font-size:29px;font-weight:800}hr{border:0;border-top:1px solid #e1e5eb;margin:20px 0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:390px;font-size:15px}th,td{text-align:right;border-bottom:1px solid #e6e9ef;padding:10px 6px}th:first-child,td:first-child{text-align:left}th{color:#506072;font-size:13px}tr:last-child td{border-bottom:0}tr.emphasis td{background:#f8f2f3;font-weight:850}tr.emphasis td:last-child{color:#b5122a}.toolbar{flex-wrap:wrap;gap:9px;display:flex}.toolbar .action{flex:auto}.tag{color:#42526a;background:#f0f2f5;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:750}.footer{color:#667486;padding:14px 4px;font-size:12px;line-height:1.5}.toast{z-index:5;bottom:calc(20px + env(safe-area-inset-bottom));color:#fff;text-align:center;background:#233448;border-radius:12px;max-width:90%;padding:12px 17px;line-height:1.4;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 7px 32px #0004}.modal-shade{z-index:6;background:#172231aa;justify-content:center;align-items:center;padding:18px;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:16px;width:100%;max-width:440px;padding:22px;box-shadow:0 16px 50px #0003}.modal h2{margin:0 0 12px}.modal p{line-height:1.5}.modal .toolbar{margin-top:19px}.modal .toolbar button{flex:1}@media (width<=520px){.shell{padding:9px 9px 28px}.main{padding:12px}.hero{padding:16px}.pick-grid{grid-template-columns:1fr}.picker{min-height:96px}.cats{gap:10px}.tap{min-height:138px;padding:13px}.tap .cat-head{font-size:15px}.donations{gap:6px}.donate{font-size:15px}.stat{padding:12px}.form-grid{grid-template-columns:1fr}.toolbar{gap:7px}.toolbar .action{padding:10px 12px;font-size:13px}}@media print{body{background:#fff}.hero,.noprint,.footer,.toast{display:none!important}.shell{max-width:none;padding:0}.main{border:0;margin:0;padding:0}.printonly{display:block!important}}.connection-state{color:#3b536b;max-width:970px;margin:10px auto 0;padding:0 17px;font-size:13px}.connection-state.offline{color:#994324;font-weight:700}
