

@font-face{font-family:"Fredoka";font-style:normal;font-weight:300 700;font-display:swap;src:url("/static/fredoka.woff2") format("woff2")}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;color:var(--ink);font:17px/1.55 var(--fun);
  background-color:var(--bg);
  /* confetti dots */
  background-image:
    radial-gradient(circle at 20px 30px,rgba(255,201,60,.35) 3px,transparent 4px),
    radial-gradient(circle at 90px 80px,rgba(36,102,184,.18) 3px,transparent 4px),
    radial-gradient(circle at 150px 20px,rgba(226,71,90,.18) 3px,transparent 4px),
    radial-gradient(circle at 60px 140px,rgba(47,158,98,.2) 3px,transparent 4px),
    radial-gradient(circle at 170px 120px,rgba(118,81,196,.18) 3px,transparent 4px);
  background-size:200px 170px}
a{color:var(--link,var(--sky));font-weight:500}
.wrap{max-width:780px;margin:0 auto;padding:28px 16px 64px}
.wide{max-width:1180px}
header.site{background:var(--sky);color:var(--brand-ink);position:relative}
header.site:after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:8px;background:var(--rainbow)}
header.site .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:14px;padding-bottom:14px;flex-wrap:wrap}
header.site a{color:var(--brand-ink);text-decoration:none}
.brand{display:inline-flex;align-items:center;gap:8px;font-weight:600;letter-spacing:.2px;font-size:1.25rem}
.brand svg{width:30px;height:30px;flex:0 0 auto}
.brand-text{display:flex;flex-direction:column;line-height:1.1;text-align:left}
.brand .company{font-size:1.35rem;font-weight:700}
.brand .site{font-size:.82rem;font-weight:500;opacity:.9;letter-spacing:.03em}
/* signed-in header: the logo on the left, centred against two rows on the right (other sites above the menu) */
header.site .menus{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex:1 1 0;min-width:0}
nav.sites{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:2px 4px;font-size:.85rem}
nav.sites .sites-label{font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;opacity:.92;margin-right:4px}
nav.sites a{padding:3px 10px;border-radius:999px;font-weight:500;opacity:.92}
nav.sites a:hover{background:rgba(255,255,255,.18);opacity:1}
nav.admin{display:flex;gap:2px;flex-wrap:wrap;justify-content:flex-end}
nav.admin a{padding:6px 11px;border-radius:999px;font-size:.95rem;font-weight:500;opacity:.92}
nav.admin a:hover,nav.admin a.on{background:rgba(255,255,255,.18);opacity:1}
nav.admin a.on{background:var(--sun);color:var(--ink)}
nav.admin form{display:inline;margin:0}
nav.admin button{background:none;border:2px solid rgba(255,255,255,.55);color:#fff;padding:4px 12px;border-radius:999px;font:inherit;font-size:.92rem;cursor:pointer}
main.wrap{padding-top:36px}
h1{font-size:2rem;line-height:1.2;margin:4px 0 18px;font-weight:600;color:var(--sky-dark)}
/* A page's title with its main button beside it ("Add a school"), wrapping under it on a phone. */
.page-head{display:flex;justify-content:space-between;align-items:center;gap:8px 16px;flex-wrap:wrap;margin:4px 0 18px}
.page-head h1{margin:0}
h2{font-size:1.3rem;margin:28px 0 10px;font-weight:600;color:var(--sky-dark)}
.card{background:var(--card);border:2px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:24px}
.card+.card{margin-top:22px}
.muted{color:var(--muted)}
.small{font-size:.9rem}
label{display:block;font-weight:600;font-size:1rem;margin:16px 0 6px}
label .opt{font-weight:400;color:var(--muted)}
main:focus{outline:none}
textarea{min-height:80px;resize:vertical}
input,select,textarea{max-width:100%;min-width:0}
.row{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
@media (max-width:600px){.row{grid-template-columns:1fr}}
.check{display:flex;gap:10px;align-items:center;font-weight:600;margin:20px 0 6px;background:var(--sun-soft);border:2px dashed var(--sun);
  border-radius:16px;padding:12px 14px;cursor:pointer}
.check input{margin:0;width:22px;height:22px;accent-color:var(--berry);flex:0 0 auto}
legend{font-weight:600;padding:3px 14px;border-radius:999px;background:var(--grape-soft);color:var(--grape)}
fieldset + fieldset legend{background:var(--grass-soft);color:var(--ok)}
.pick input{margin:3px 0 0;width:20px;height:20px;accent-color:var(--berry);flex:0 0 auto}
form:has(#method_smtp:checked) .by-resend,form:has(#method_resend:checked) .by-smtp{display:none}
.btn,button.btn{display:inline-block;background:var(--sky);color:#fff;border:0;border-radius:999px;padding:12px 24px;
  font:inherit;font-weight:600;font-size:1.05rem;cursor:pointer;text-decoration:none;box-shadow:0 4px 0 var(--sky-dark);
  transition:transform .08s ease, box-shadow .08s ease}
.btn:hover{filter:brightness(1.07)}
.btn:active{transform:translateY(3px);box-shadow:0 1px 0 var(--sky-dark)}
.btn.secondary{background:#fff;color:var(--sky);border:2px solid var(--sky);box-shadow:0 4px 0 var(--sky-soft)}
.btn.danger{background:var(--danger);box-shadow:0 4px 0 #8f1f2f}
.btn.small{padding:6px 14px;font-size:.92rem;box-shadow:0 3px 0 var(--sky-soft)}
.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:22px}
/* Cloudflare's "Verify you are human" check on the sign-in page: clear of the password box's focus ring, its room kept while it loads */
.cf-turnstile{margin-top:20px;min-height:65px}
.alert{border-radius:16px;padding:12px 16px;margin:0 0 16px;border:2px solid}
.alert.error{background:var(--danger-soft);border-color:#f6b3bc;color:#8a1a2a}
.alert.ok{background:var(--ok-soft);border-color:#a9dfc0;color:#145232}
.alert.warn{background:var(--warn-soft);border-color:#f5d57a;color:#6b4708}
table{width:100%;border-collapse:collapse;font-size:.93rem;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
th,td{text-align:left;padding:10px 10px;border-bottom:1px solid var(--line);vertical-align:top}
th{font-family:var(--fun);font-size:.82rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--sky-dark);background:var(--sky-soft)}
th:first-child{border-radius:12px 0 0 12px}
th:last-child{border-radius:0 12px 12px 0}
td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
/* Never break inside money, a code, an order number or a date (one rule for all three sites). */
.nowrap,td.num,th.num,.price,.money{white-space:nowrap}
.pill{display:inline-block;border-radius:999px;padding:2px 10px;font-family:var(--fun);font-size:.8rem;font-weight:600;background:#eee;color:#444}
.pill.redeemed{background:var(--grape-soft);color:var(--grape)}
.pill.pending{background:var(--sun-soft);color:#7a5200}
.pill.canceled,.pill.refunded{background:#f0f0f0;color:#666}
.pill.disputed{background:var(--danger-soft);color:var(--danger)}
.filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:0 12px;align-items:end}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin:20px 0}
/* Figure tiles: the number first, its short label under it, one edge colour (colour is kept for statuses). */
.stat{background:var(--card);border:2px solid var(--line);border-radius:18px;padding:14px 16px;border-top:6px solid var(--sky);display:flex;flex-direction:column;gap:2px}
.stat b{display:block;font-size:1.5rem;font-weight:600;order:-1;white-space:nowrap}
.code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.06em}
.hidden{display:none}
.center{text-align:center}
.qr{display:flex;justify-content:center;margin:12px 0}
.qr svg{width:200px;height:200px}
h2.flush{margin-top:0}
.subtabs{display:flex;gap:6px;flex-wrap:wrap;margin:-4px 0 18px;border-bottom:2px solid var(--line)}
.subtabs a{padding:8px 14px;margin-bottom:-2px;border-bottom:3px solid transparent;color:var(--muted);font-weight:600;text-decoration:none}
.subtabs a:hover{color:var(--ink)}
.subtabs a.on{color:var(--ink);border-bottom-color:var(--sky)}
.golive{list-style:none;margin:0;padding:0}
.spaced{margin-top:16px}
.big{font-size:1.2rem}
form.inline{display:inline}
.site.public .wrap{justify-content:center;text-align:center}
footer.site{color:var(--muted);font-size:.85rem;text-align:center;padding:24px 16px}
.nav-button{display:none}
.mobile-only{display:none}
.block{display:block}
.code{white-space:nowrap}
/* a long code that may break to fit a phone (a web address, a two-factor key): marked .wrap */
.code.wrap{white-space:normal;overflow-wrap:anywhere}
.pill{white-space:nowrap}
/* Status tags in sentence case everywhere ("Open", "Invite sent"), whatever case the word arrives in. */
.pill::first-letter{text-transform:uppercase}
.btn,button.btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.btn.small{min-height:36px}
/* The account menu and Help button, top right (the same on all three sites). */
.account-bar{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.help-link{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;border:2px solid rgba(255,255,255,.7);font-weight:700;font-family:var(--fun)}
details.account{position:relative}
details.account>summary{list-style:none;display:flex;align-items:center;gap:8px;cursor:pointer;padding:3px 10px 3px 3px;border-radius:999px;font-weight:500}
details.account>summary::-webkit-details-marker{display:none}
details.account>summary:hover,details.account[open]>summary{background:rgba(255,255,255,.18)}
details.account>summary:focus-visible{outline:3px solid #fff;outline-offset:2px}
.avatar{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--sun);color:var(--ink);font-weight:700;font-size:.85rem;font-family:var(--fun)}
.account-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:230px;max-width:calc(100vw - 32px);background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.18);padding:6px;z-index:60;display:grid}
header.site .account-menu a,.account-menu button{display:block;width:100%;text-align:left;padding:9px 12px;border-radius:9px;color:var(--ink);background:none;border:0;font:inherit;cursor:pointer}
header.site .account-menu a:hover,.account-menu button:hover{background:var(--brand-soft)}
.account-menu form{margin:0;border-top:1px solid var(--line);margin-top:4px;padding-top:4px}
.account-head{display:grid;gap:2px;padding:8px 12px 10px;border-bottom:1px solid var(--line);margin-bottom:4px}
.account-head span{font-size:.82rem;color:var(--muted);overflow-wrap:anywhere}
@media (max-width:760px){.account-name{display:none}details.account>summary{padding:3px}
  /* Phones: the ? and the account button each take a 44 px tap, however small they look. */
  .help-link{position:relative}
  .help-link::after{content:"";position:absolute;left:50%;top:50%;width:44px;height:44px;transform:translate(-50%,-50%);border-radius:50%}
  details.account>summary{min-width:44px;min-height:44px;justify-content:center}}
/* A phone at 320 px (or 400% zoom): the name, Menu and the account menu still fit on one line. */
@media (max-width:420px){header.site .brand{min-width:0;flex:1 1 auto}header.site .brand-text{min-width:0}header.site .brand .company{font-size:1.05rem;overflow-wrap:anywhere}header.site:not(.public) .brand .site{display:none}.help-link,.avatar{width:30px;height:30px}.account-bar{gap:6px}}
.contact-form textarea{min-height:9em}
.field-error{display:block;color:#8a1a2a;font-weight:600;font-size:.95rem;margin:4px 0 6px}
.field-error:before{content:"! ";content:"! " / ""}
.message .message-text{white-space:pre-wrap;overflow-wrap:anywhere}
.message.done{opacity:.75}
/* the warning before a page stops working (lib/timeout.ts) */
dialog.timeout{border:2px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:24px;max-width:440px;
  width:calc(100% - 32px);color:var(--ink);background:var(--card)}
dialog.timeout::backdrop{background:rgba(34,48,74,.45)}
dialog.timeout h2{margin-top:0}
@media print{dialog.timeout{display:none!important}}
/* Staff and PTA pages (signed in): calmer than the parents' pages. Same colours, but a plain background (the confetti
   stays for parents and the certificate), plain tick boxes, plain section headings, and quiet table headings. The staff
   sign-in, two-factor and set-password pages (main.staff) get the plain background too, but stay light like sign-in. */
body:has(main.admin),body:has(main.staff){background-image:none}
main.admin .check{background:none;border:0;padding:0;margin:16px 0 6px;font-weight:500;border-radius:0}
main.admin fieldset{border:0;border-top:1px solid var(--line);border-radius:0;padding:4px 0 0;margin:24px 0 0}
main.admin legend{background:none;color:var(--ink);padding:0 8px 0 0;border-radius:0;font-size:1.05rem}
main.admin th{font-size:.8rem;text-transform:none;letter-spacing:normal;color:var(--muted);background:#f5f2ea}
main.admin table.stack td::before{text-transform:none;letter-spacing:normal}
/* Dark mode (S1, November 1, 2026): staff and PTA pages follow the device's setting. Parents' pages, sign-in, printouts
   (print lists, pick lists, labels) and emails stay light. Only colours change, and every pair keeps WCAG AA contrast. */
@media screen and (prefers-color-scheme:dark){
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)){color-scheme:dark;
    --bg:#12151c; --card:#1b2029; --ink:#e7ebf2; --muted:#aab3c3; --line:#343d4c; --shadow:none;
    --link:#94bdff; --sky-soft:#22324d; --sun-soft:#3a3117; --grass-soft:#183a28; --berry-soft:#45202a; --grape-soft:#2f2648;
    --danger-soft:#45202a; --ok-soft:#183a28; --warn-soft:#3a3117; --brand-soft:#2a3446; --field-line:#8a94a6; --focus-field:#ffc93c;
    --sky-dark:#bcd5ff; --focus:#94bdff}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) h1,:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) h2,:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) h3{color:#cfe0ff}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) main.admin th{background:#232a36;color:var(--muted)}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) input[type=text],:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) input[type=email],:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) input[type=url],:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) input[type=search],:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) input[type=password],
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) input[type=number],:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) input[type=date],:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) input[type=datetime-local],:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) input[type=time],:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) input[type=tel],
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) select,:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) textarea{background:#11151b;color:var(--ink);border-color:var(--field-line)}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .btn.secondary{background:transparent;color:#cfe0ff;border-color:#6f9be0;box-shadow:none}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .btn.small{box-shadow:none}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .btn{box-shadow:none}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .alert.error{background:#45202a;border-color:#a3404f;color:#ffd0d6}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .alert.ok{background:#183a28;border-color:#3f8a5f;color:#c9f2d9}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .alert.warn{background:#3a3117;border-color:#9a7a26;color:#ffe9b0}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill{background:#2a313d;color:#d7dce5}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.paid,:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.open,:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.existing,:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.golive-ok{background:#183a28;color:#a8ecc4}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.pending,:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.ended,:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.not_sent,:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.golive-todo,:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.warn{background:#3a3117;color:#ffe08a}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.redeemed{background:#2f2648;color:#d6c7ff}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.disputed{background:#45202a;color:#ffc0c9}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.canceled,:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.refunded,:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.closed,:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.expired{background:#2a313d;color:#c3c9d4}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.upcoming,:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.ready,:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.invited{background:#22324d;color:#bcd5ff}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.test{background:#ffc93c;color:#22304a}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .subtabs a.on{border-bottom-color:#94bdff}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .stat{border-top-color:#4f86d9}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .account-menu{background:#1b2029;color:var(--ink);border-color:var(--line)}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) header.site .account-menu a,:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .account-menu button{color:var(--ink)}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .skip-link,:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .skip{background:#1b2029;color:#cfe0ff}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) code,:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .code{color:inherit}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) footer.site{color:var(--muted)}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) img{opacity:.95}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) nav.admin a.on,:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .avatar{color:#22304a}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .btn{color:#fff}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) input::placeholder,:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) textarea::placeholder{color:#9aa3b2}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .gl.ok .gl-state{background:#183a28;color:#a8ecc4}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .gl.todo .gl-state{background:#3a3117;color:#ffe08a;border-color:#9a7a26}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .codes div{background:var(--card)}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .paid-by{color:#d6c7ff}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .redeemed-note,:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .holiday-tag{color:#d6c7ff}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .field-error{color:#ffc0c9}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) [aria-invalid=true]{border-color:#ff8a9a!important}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.in_use,:root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.voided{background:#45202a;color:#ffc0c9}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.waiting{background:#2a313d;color:#c3c9d4}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .pill.invalid{background:#3a3117;color:#ffe08a}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .stock.low{background:#3a3117;color:#ffe08a}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .stock.out{background:#2a313d;color:#c3c9d4}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .price{color:#a8ecc4}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) .key-reveal{color:var(--ink)}
  :root:has(main.admin):not(:has(.plist-head,.pick-head,.labels)) a.ink-opt.on{color:#bcd5ff}
}
/* Help (the ? at the top right): the same layout on all three sites. */
.help-toc{columns:2;column-gap:28px;margin:0;padding-left:20px}
.help-toc li{break-inside:avoid;margin:2px 0}
.help h2{scroll-margin-top:16px}
.help ol li,.help ul li{margin:4px 0}
@media (max-width:640px){.help-toc{columns:1}}
.help h3{margin:16px 0 6px;font-size:1rem}
.help ol,.help ul{padding-left:1.3em}
/* The one main next step on a public page, the same pink on all three sites (Let's go, Start shopping, Add to cart,
   Checkout, Place order, Continue to secure payment, Send on Contact us …): white text on it is 4.6:1. Red (.btn.danger)
   is kept for cancel and delete; other buttons stay blue. Parents' pages are always light. */
.btn.fun{background:#d04153;box-shadow:0 5px 0 #a82a3b}

:root{
  /* crayon-box palette */
  --sky:#2466b8; --sky-dark:#1a4f91; --sky-soft:#e3efff;
  --sun:#ffc93c; --sun-dark:#e0a800; --sun-soft:#fff4d1;
  --grass:#2f9e62; --grass-soft:#e2f6ea;
  --berry:#e2475a; --berry-soft:#ffe6e9;
  --grape:#7651c4; --grape-soft:#efe8ff;
  --orange:#ff8a3d;

  --bg:#fffaf0; --card:#ffffff; --ink:#22304a; --muted:#5d6880; --line:#efe3c8;
  --brand:var(--sky); --brand-ink:#ffffff; --brand-soft:var(--sky-soft); --accent:var(--sun);
  --danger:#c62f43; --danger-soft:var(--berry-soft); --ok:#1f7a49; --ok-soft:var(--grass-soft); --warn-soft:var(--sun-soft);
  --radius:22px; --shadow:0 6px 0 #f3e5c6, 0 10px 24px rgba(120,90,30,.08);
  --rainbow:linear-gradient(90deg,#e2475a 0 16.6%,#ff8a3d 0 33.3%,#ffc93c 0 50%,#2f9e62 0 66.6%,#4FA3E3 0 83.3%,#7651c4 0);
  --fun:"Fredoka","Baloo 2","Comic Sans MS","Chalkboard SE",system-ui,sans-serif;
}
/* accessibility: where the keyboard is (a clear outline), a "Skip to content" link, text only for screen readers */
:focus-visible{outline:3px solid var(--sky-dark);outline-offset:2px}
header.site :focus-visible{outline-color:#fff}
.skip{position:absolute;left:12px;top:-80px;z-index:50;background:var(--sun);color:var(--ink);padding:10px 16px;border-radius:999px;
  font-weight:600;text-decoration:none}
.skip:focus{top:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
main{overflow-wrap:break-word}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
input[type=text],input[type=email],input[type=url],input[type=search],input[type=password],input[type=number],input[type=date],input[type=tel],select,textarea{
  width:100%;padding:11px 14px;border:2px solid #a08f6a;border-radius:14px;background:#fff;color:var(--ink);font:inherit;font-size:1rem}
input:focus,select:focus,textarea:focus{outline:3px solid var(--sky-dark);outline-offset:1px;border-color:var(--sun-dark)}
input[type=date]{-webkit-appearance:none;appearance:none;min-height:46px}
fieldset{border:2px dashed #e6d9bb;border-radius:20px;padding:6px 18px 18px;margin:22px 0 0;min-width:0}
.send-with{border:0;padding:0;margin:18px 0 0}
.send-with legend{background:none;padding:0;color:var(--ink)}
.pick{display:flex;gap:10px;align-items:flex-start;margin:10px 0 0;font-weight:600;cursor:pointer}
.btn:disabled{opacity:.45;cursor:not-allowed;filter:none}
.pill.paid{background:var(--grass-soft);color:var(--ok)}
.filters > .actions{grid-column:1/-1;margin-top:18px}
/* example text in empty fields: light and regular so it never looks filled in */
input::placeholder,textarea::placeholder{color:#767066;font-weight:400;opacity:1}
/* going-live checklist (Settings › Ready to go live?) */
.golive-link{margin:-6px 0 18px}
.back{margin:0 0 4px}
.golive-summary .golive-count{font-size:1.4rem;margin:0 0 8px;color:var(--sky-dark)}
.golive-summary progress{width:100%;max-width:560px;height:16px;accent-color:var(--ok)}
.golive-note{margin-top:22px}
.golive .gl{display:flex;gap:14px;align-items:flex-start;padding:12px 0;border-top:1px solid var(--line)}
.golive .gl:first-child{border-top:0;padding-top:4px}
.golive .gl p{margin:0}
.golive .gl>div{min-width:0;overflow-wrap:anywhere}
.gl-mark{flex:0 0 auto;width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700;line-height:1}
.gl.ok .gl-mark{background:var(--ok);color:#fff}
.gl.todo .gl-mark{background:var(--sun);color:var(--ink)}
.gl.info .gl-mark{background:var(--sky-soft);color:var(--sky-dark);border:2px solid var(--sky)}
.gl-state{display:inline-block;border-radius:999px;padding:1px 10px;margin-left:6px;font-size:.8rem;font-weight:600}
.gl.ok .gl-state{background:var(--ok-soft);color:var(--ok)}
.gl.todo .gl-state{background:var(--sun-soft);color:#6b4708;border:1px solid #c79a1e}
.gl.info .gl-state{background:var(--sky-soft);color:var(--sky-dark)}
/* admin pages: one standard width; single-column form fields stay a readable size */
main.admin .card :is(input[type=text],input[type=email],input[type=url],input[type=password],input[type=tel],select){max-width:560px}
/* Cash Register website */
.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:6px}
.page-head h1{margin-bottom:4px}
.sub{color:var(--muted);margin:0 0 18px}
.stat span{color:var(--muted);font-size:.9rem}
.pill.open{background:var(--grass-soft);color:var(--ok)}
.pill.upcoming{background:var(--sky-soft);color:var(--sky-dark)}
.pill.ended{background:var(--sun-soft);color:#7a5200}
.pill.closed,.pill.invoiced{background:#f0f0f0;color:#666}
.pill.invited{background:var(--sky-soft);color:var(--sky-dark)}
.pill.not_sent{background:var(--sun-soft);color:#7a5200}
.pill.existing{background:var(--grass-soft);color:var(--ok)}
.pill.in_use{background:var(--danger-soft);color:var(--danger)}
.pill.waiting{background:#f0f0f0;color:#666}
.pill.invalid{background:var(--sun-soft);color:#7a5200}
.pill.voided{background:var(--danger-soft);color:var(--danger)}
.pill.warn{background:var(--sun-soft);color:#7a5200}
.pill.test{background:var(--danger);color:#fff;letter-spacing:.06em;vertical-align:middle}
h1 .pill.test{font-size:.9rem}
.test-card{border-color:var(--danger);margin-bottom:22px}
.test-card p{margin-top:0}
form.test-mark{margin:0 0 18px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
form.sign-out-all{margin:0 0 12px}
ul.test-list{margin:8px 0 14px;padding-left:22px}
ul.test-list li{margin:4px 0}
.signin-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:2rem;font-weight:700;letter-spacing:.12em;color:var(--ink);margin:4px 0 6px}
.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:22px;align-items:start}
.grid2 > .card + .card{margin-top:0}
.codes{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:10px}
.codes div{border:2px solid var(--line);border-radius:14px;padding:8px 10px;background:#fff}
.codes b{display:block;font-size:1.25rem;line-height:1.1}
.codes span{display:block;color:var(--muted);font-size:.85rem}
.codes em{font-style:normal;font-weight:600}
.lines{color:var(--muted);font-size:.85rem}
.paid-by{color:var(--grape);font-weight:600;white-space:normal}
.paid-split{margin:-6px 0 16px}
.gift-split{padding-left:20px;margin-top:-10px}
.store-links code{overflow-wrap:anywhere;font-size:.9rem}
.link-box{width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.9rem}
.search{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin:0 0 16px}
.search input,.search select{width:auto;min-width:220px}
.search label{margin:0 0 6px}
.landing .card{text-align:left}
.actions.center{justify-content:center}
.empty{color:var(--muted);padding:6px 0}
form.practice{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 18px}
.practice-card{margin-bottom:22px;border-color:var(--sun)}
.practice-card ol{margin:6px 0 14px;padding-left:22px}
.labels{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.label{background:#fff;border:2px dashed var(--line);border-radius:12px;padding:12px 14px;break-inside:avoid}
.label b{display:block;font-size:1.05rem}
.label span{display:block;color:var(--muted);font-size:.88rem}
.label .bars{margin-top:8px;height:64px}
.label .bars svg{width:100%;height:100%;display:block}
.label .upc-note{margin-top:10px}
@media print{.labels{grid-template-columns:repeat(3,1fr)}.label{border-color:#bbb}}
/* a fair's Prices: the choice, and the Custom column (hidden by the stylesheet while another choice is picked, in
   browsers that can; elsewhere it's always shown, with a note) */
.tiers .choices{display:flex;flex-wrap:wrap;gap:4px 26px;margin:6px 0 2px}
.radio{display:inline-flex;gap:8px;align-items:center;margin:6px 0;cursor:pointer}
.radio input{width:22px;height:22px;margin:0;accent-color:var(--sky);flex:0 0 auto}
.price-table{margin-top:14px}
.money-box{display:inline-flex;align-items:center;gap:4px}
.money-box input[type=text]{width:7.5em;padding:7px 10px;text-align:right;font-variant-numeric:tabular-nums}
.price-form:has(#tier-custom:not(:checked)) .cust{display:none}
@supports selector(:has(*)){.cust-note{display:none}}
details.confirm summary{cursor:pointer;color:var(--danger);font-weight:600;font-size:.92rem}
details.confirm form{margin-top:8px;max-width:320px}
details.confirm p{margin:0 0 8px;color:var(--muted)}
details.confirm.all{margin:0 0 12px}
@media (max-width:600px){h1{font-size:1.6rem}.signin-code{font-size:1.6rem}}
footer.site a{color:inherit}
footer.site address{font-style:normal;margin:6px 0 8px}
.legal{max-width:760px;margin:0 auto}
.legal h2{margin-top:26px}
.legal ul,.legal ol{margin:0;padding-left:1.25em}
.legal li{margin:0 0 10px}
.legal li:last-child{margin-bottom:0}
.legal .card p:last-child{margin-bottom:0}
.legal .card > :first-child{margin-top:0}
/* ---------- mobile ---------- */
.nav-toggle{display:none}
.qr + p .code{white-space:normal}
td{overflow-wrap:anywhere}
@media (max-width:760px){
  header.site .wrap{position:relative;flex-wrap:nowrap}
  .nav-button{display:inline-flex;align-items:center;gap:8px;border:2px solid rgba(255,255,255,.55);border-radius:999px;
    padding:8px 12px;font-weight:600;font-size:.95rem;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent}
  .nav-toggle{display:block;position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
  .nav-toggle:focus-visible + .nav-button{outline:3px solid #fff;outline-offset:2px}
  .bars,.bars:before,.bars:after{display:block;width:16px;height:2px;background:#fff;border-radius:2px;position:relative}
  .bars:before,.bars:after{content:"";position:absolute;left:0}
  .bars:before{top:-5px} .bars:after{top:5px}
  header.site .menus{display:none;position:absolute;left:0;right:0;top:100%;z-index:20;background:var(--brand);
    flex-direction:column;align-items:stretch;gap:0;margin:0;padding:6px 16px 14px;box-shadow:0 10px 20px rgba(0,0,0,.18)}
  .nav-toggle:checked ~ .menus{display:flex}
  nav.admin{flex-direction:column;flex-wrap:nowrap;gap:0}
  nav.sites{flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:0;font-size:1rem;
    padding-bottom:8px;margin-bottom:4px;border-bottom:2px solid rgba(255,255,255,.35)}
  nav.sites .sites-label{margin:0;padding:10px 10px 4px}
  nav.sites a{padding:11px 10px;font-size:.95rem;border-radius:0;border-bottom:1px solid rgba(255,255,255,.12)}
  nav.sites a:last-child{border-bottom:0}
  nav.admin a{padding:13px 10px;font-size:1rem;border-bottom:1px solid rgba(255,255,255,.12);border-radius:0}
  nav.admin a.on{background:var(--sun);color:var(--ink);border-radius:12px}
  nav.admin form{margin-top:12px}
  nav.admin button{width:100%;padding:12px;font-size:1rem}

  .wrap{padding-top:18px}
  h1{font-size:1.6rem}
  .card{padding:16px}
  .actions .btn{flex:1 1 auto}

  .filters{grid-template-columns:1fr 1fr}
  .filters .full{grid-column:1/-1}
  .filters > div{min-width:0}

  /* tables become a stack of cards */
  .card.table-scroll{background:none;border:0;box-shadow:none;padding:0;overflow:visible}
  table.stack thead{display:none}
  table.stack,table.stack tbody{display:block;width:100%}
  table.stack tr{display:flex;flex-direction:column;background:var(--card);border:2px solid var(--line);border-radius:18px;
    box-shadow:var(--shadow);padding:12px 14px;margin-bottom:10px}
  table.stack td{display:block;border:0;padding:4px 0;text-align:right;overflow:hidden}
  table.stack td::before{content:attr(data-label);float:left;max-width:42%;margin-right:14px;text-align:left;color:var(--muted);
    font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em;line-height:1.9}
  td.code{white-space:nowrap}
  table.stack td:empty{display:none}
  table.stack td.num{text-align:right}
  table.stack td.cell-title{order:-1;display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:1rem;text-align:left;
    padding-bottom:8px;margin-bottom:4px;border-bottom:1px solid var(--line)}
  table.stack td.cell-title::before{display:none}
  table.stack td.cell-action{padding-top:10px}
  table.stack td.cell-action::before{display:none}
  table.stack td.cell-action .btn{width:100%}
  table.stack td.cell-action:empty{display:none}
  table.stack tr.just-done{border-color:var(--grass)}
  .mobile-only{display:inline}
  .desktop-only{display:none!important}

  .cert{padding:34px 14px 24px}
  .cert .amount{padding:2px 22px}
  .cert:before{inset:6px}
  .cert h1{font-size:2rem}
  .cert .amount{font-size:2.5rem}
  .cert dl{gap:4px 12px}
}
.help-link:hover,.help-link.on{background:rgba(255,255,255,.18)}
/* The price table stays a table on a phone (one short row per code, not a card each): smaller type and boxes. */
@media (max-width:760px){
  .price-table table.stack{display:table;width:100%}
  .price-table table.stack thead{display:table-header-group}
  .price-table table.stack tbody{display:table-row-group}
  .price-table table.stack tr{display:table-row;border:0;box-shadow:none;padding:0;margin:0;background:none;border-radius:0}
  .price-table table.stack td,.price-table table.stack th{display:table-cell;padding:6px 4px;border-bottom:1px solid var(--line);font-size:.9rem;text-align:right}
  .price-table table.stack td:first-child,.price-table table.stack th:first-child{text-align:left}
  .price-table table.stack td::before{display:none}
  .price-table table.stack td.cell-title{display:table-cell;font-size:.9rem;padding:6px 4px;margin:0;border-bottom:1px solid var(--line);white-space:nowrap}
  .price-table .money-box input[type=text]{width:4.6em;padding:6px;min-height:44px}
  .price-table .money-box{gap:2px}
}
