/* ==========================================================================
   Cheza — NOC Autism Centre
   Playful but calm: soft pastels, rounded shapes, gentle motion.
   Motion is switched off by prefers-reduced-motion or the "Calm mode" button.
   ========================================================================== */

:root {
  --cream: #FFF8EE;
  --paper: #FFFFFF;
  --ink: #2E2A47;
  --ink-soft: #5F5A7A;
  --line: #EFE5D6;

  --primary: #5A4BD1;
  --primary-dark: #4234B0;
  --primary-soft: #ECE9FF;

  --sky: #6EC1F5;    --sky-soft: #E2F3FD;    --sky-dark: #2C8BC7;
  --sun: #FFC94A;    --sun-soft: #FFF3D1;    --sun-dark: #A86F00;
  --coral: #FF8A72;  --coral-soft: #FFE7E1;  --coral-dark: #C2432A;
  --mint: #5CCB9F;   --mint-soft: #DDF5EA;   --mint-dark: #1F8A60;
  --grape: #9B87F5;  --grape-soft: #EEEAFE;  --grape-dark: #5B45C9;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px -12px rgba(46, 42, 71, .18);
  --shadow-lg: 0 24px 50px -20px rgba(46, 42, 71, .28);

  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.cz {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip-link:focus { left: 8px; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.inline-form { display: inline; margin: 0; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Buttons ---------- */

.btn {
  --b: var(--primary); --b-dark: var(--primary-dark); --b-ink: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 1rem/1 var(--font-display);
  letter-spacing: .01em;
  padding: .95em 1.5em;
  border-radius: 999px;
  border: 0;
  background: var(--b);
  color: var(--b-ink);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--b-dark);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { color: var(--b-ink); transform: translateY(-2px); box-shadow: 0 6px 0 var(--b-dark); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--b-dark); }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn--sun   { --b: var(--sun);   --b-dark: #E0A51C; --b-ink: var(--ink); }
.btn--mint  { --b: var(--mint);  --b-dark: #3BA87D; --b-ink: #fff; }
.btn--coral { --b: var(--coral); --b-dark: #E5674E; --b-ink: #fff; }
.btn--ghost { --b: transparent; --b-dark: transparent; --b-ink: var(--ink); box-shadow: inset 0 0 0 2px var(--line); background: var(--paper); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--primary); color: var(--primary); }
.btn--sm { padding: .65em 1.1em; font-size: .92rem; }
.btn--lg { padding: 1.1em 1.9em; font-size: 1.1rem; }
.btn--block { width: 100%; }

/* ---------- Navigation ---------- */

.cz-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 238, .9); backdrop-filter: blur(10px); border-bottom: 2px solid var(--line); }
.cz-nav__inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.cz-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.cz-brand__logo { width: 48px; height: 48px; flex: none; }
.cz-brand__text { font: 700 1.55rem/1 var(--font-display); color: var(--primary); white-space: nowrap; }
.cz-brand__text small { display: block; font: 700 .7rem/1.4 var(--font-body); color: var(--ink-soft); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.cz-brand--light .cz-brand__text { color: #fff; }
.cz-brand--light .cz-brand__text small { color: rgba(255, 255, 255, .75); }
.cz-nav__menu { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.cz-nav__menu > a:not(.btn) { padding: .5em .8em; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; white-space: nowrap; transition: background .15s, color .15s; }
.cz-nav__menu > a:not(.btn):hover { background: var(--primary-soft); color: var(--primary); }
.cz-nav__menu > a.is-active { background: var(--primary); color: #fff; }
.cz-nav__menu .btn { white-space: nowrap; }
.cz-nav__menu .inline-form { margin-left: 4px; }
.cz-nav__sep { width: 2px; height: 26px; margin: 0 8px; border-radius: 2px; background: var(--line); }
.cz-nav__toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 2px solid var(--line); background: var(--paper); cursor: pointer; }
.burger, .burger::before, .burger::after { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--ink); margin: 0 auto; position: relative; transition: transform .2s; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; } .burger::after { top: 6px; }
/* Calm mode: a small round turtle button; its label shows on hover and in the phone menu. */
.calm-toggle { position: relative; flex: none; width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0; font: 700 .88rem var(--font-body); font-size: 1.15rem; border: 2px dashed var(--line); background: var(--paper); color: var(--ink-soft); border-radius: 50%; cursor: pointer; transition: border-color .15s, background .15s; }
.calm-toggle:hover { border-color: var(--mint); }
.calm-toggle[aria-pressed="true"] { border-style: solid; border-color: var(--mint); background: var(--mint-soft); color: var(--mint-dark); }
.calm-toggle__label { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); padding: 4px 10px; border-radius: 8px; background: var(--ink); color: #fff; font: 700 .78rem var(--font-body); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.calm-toggle:hover .calm-toggle__label, .calm-toggle:focus-visible .calm-toggle__label { opacity: 1; }

@media (max-width: 1220px) {
  .cz-nav__toggle { display: block; }
  .cz-nav__menu {
    display: none; position: absolute; left: 12px; right: 12px; top: 78px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-lg);
  }
  .cz-nav__menu.is-open { display: flex; }
  .cz-nav__menu .btn, .cz-nav__menu .inline-form .btn { width: 100%; }
  .cz-nav__menu .inline-form { display: block; margin: 0; }
  .cz-nav__sep { width: auto; height: 2px; margin: 6px 4px; }
  .calm-toggle { width: auto; height: auto; border-radius: 999px; padding: .55em 1em; display: flex; justify-content: center; gap: 8px; font-size: .95rem; }
  .calm-toggle__label { position: static; transform: none; opacity: 1; background: none; color: inherit; padding: 0; font-size: .95rem; }
}

/* ---------- Flash messages ---------- */

.flashes { margin-top: 18px; display: grid; gap: 10px; }
.flash { padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 700; border: 2px solid; }
.flash--success { background: var(--mint-soft); border-color: #B5E8D2; color: var(--mint-dark); }
.flash--error   { background: var(--coral-soft); border-color: #FFC9BD; color: var(--coral-dark); }
.flash--info    { background: var(--sky-soft); border-color: #BCE3FA; color: var(--sky-dark); }

/* ---------- Pills ---------- */

.pill { display: inline-flex; align-items: center; gap: .35em; padding: .25em .75em; border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .02em; background: var(--primary-soft); color: var(--primary-dark); white-space: nowrap; }
.pill--visual, .pill--social      { background: var(--sun-soft);   color: var(--sun-dark); }
.pill--noise                       { background: var(--coral-soft); color: var(--coral-dark); }
.pill--movement, .pill--receptive  { background: var(--sky-soft);   color: var(--sky-dark); }
.pill--touch, .pill--imitation     { background: var(--mint-soft);  color: var(--mint-dark); }
.pill--expressive                  { background: var(--grape-soft); color: var(--grape-dark); }
.pill--social { background: var(--coral-soft); color: var(--coral-dark); }

/* ---------- Cards ---------- */

.card { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; position: relative; }
.card--flat { box-shadow: none; }
.card h2, .card h3 { margin-top: 0; }

/* ---------- Doodles & animals ---------- */

/* The SVGs carry width/height attributes so they stay small if this file fails to load;
   height: auto lets rules that only set a width keep the viewBox proportions. */
.animal, .doodle { height: auto; }
.doodle { position: absolute; pointer-events: none; }
.animal .eye { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.animal-owl .eye { animation-delay: 1.3s; }
.animal-lion .eye { animation-delay: 2.1s; }

@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
@keyframes wiggle { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.7) rotate(20deg); opacity: .6; } }
@keyframes drift { from { transform: translateX(-10vw); } to { transform: translateX(110vw); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-ring { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

.float   { animation: float 5s ease-in-out infinite; }
.bob     { animation: bob 4s ease-in-out infinite; }
.wiggle  { animation: wiggle 2.8s ease-in-out infinite; }
.twinkle { animation: twinkle 3s ease-in-out infinite; }
.delay-1 { animation-delay: .6s; } .delay-2 { animation-delay: 1.2s; } .delay-3 { animation-delay: 1.8s; }
.reveal { animation: pop-in .6s ease both; }

.calm *, .calm *::before, .calm *::after { animation: none !important; transition: none !important; }
.calm .cloud-lane { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .cloud-lane { display: none; }
}

/* ---------- Sections ---------- */

.section { padding: 80px 0; position: relative; }
.section--tint { background: var(--paper); }
.section__head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .4em; font: 700 .85rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--primary); background: var(--primary-soft); padding: .35em .9em; border-radius: 999px; margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.squiggle-under { position: relative; white-space: nowrap; }
.squiggle-under::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.18em; height: .3em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q 14 2 26 8 T 50 8 T 74 8 T 98 8' stroke='%23FFC94A' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat; }

/* ---------- Cheza landing hero ---------- */

.hero { position: relative; padding: 70px 0 110px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 12% 20%, var(--sun-soft) 0 140px, transparent 141px),
  radial-gradient(circle at 92% 12%, var(--sky-soft) 0 180px, transparent 181px),
  radial-gradient(circle at 80% 92%, var(--mint-soft) 0 160px, transparent 161px);
  z-index: -1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero h1 .accent { color: var(--primary); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-soft); font-weight: 700; font-size: .95rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: .4em; }

.playground { position: relative; aspect-ratio: 1 / .92; }
.playground__blob { position: absolute; inset: 8% 4% 4% 6%; background: var(--primary-soft); border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
.playground__blob::after { content: ""; position: absolute; inset: 14%; border: 3px dashed #CFC8FF; border-radius: inherit; }
.playground .animal { position: absolute; filter: drop-shadow(0 12px 10px rgba(46, 42, 71, .12)); }
.playground .animal-giraffe  { width: 46%; left: 6%;  top: 4%; }
.playground .animal-elephant { width: 44%; right: 2%; top: 30%; }
.playground .animal-turtle   { width: 34%; left: 22%; bottom: 0; }
.playground .animal-owl      { width: 24%; right: 18%; top: -2%; }
.playground .doodle-star     { width: 44px; color: var(--sun); left: 52%; top: 8%; }
.playground .doodle-heart    { width: 34px; color: var(--coral); right: 4%; bottom: 18%; }
.playground .doodle-sparkle  { width: 30px; color: var(--grape); left: 2%; bottom: 30%; }
.playground .doodle-squiggle { width: 90px; color: var(--mint); right: 30%; bottom: 4%; }

.cloud-lane { position: absolute; left: 0; right: 0; height: 0; z-index: -1; pointer-events: none; }
.cloud-lane .doodle-cloud { position: absolute; color: #fff; width: 120px; animation: drift 60s linear infinite; filter: drop-shadow(0 6px 10px rgba(46, 42, 71, .06)); }
.cloud-lane .doodle-cloud:nth-child(2) { width: 80px; top: 60px; animation-duration: 85s; animation-delay: -40s; }
.cloud-lane .doodle-cloud:nth-child(3) { width: 100px; top: 140px; animation-duration: 75s; animation-delay: -20s; }

.wave-divider { display: block; width: 100%; height: 60px; color: var(--paper); margin-bottom: -2px; }

/* ---------- Steps (how it works) ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { text-align: center; padding: 30px 22px; }
.step__icon { width: 92px; height: 92px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 30px; font-size: 2.4rem; }
.step:nth-child(1) .step__icon { background: var(--sun-soft); }
.step:nth-child(2) .step__icon { background: var(--coral-soft); }
.step:nth-child(3) .step__icon { background: var(--sky-soft); }
.step:nth-child(4) .step__icon { background: var(--mint-soft); }
.step h3::before { counter-increment: step; content: counter(step) ". "; color: var(--primary); }

/* ---------- Sense & domain tiles ---------- */

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { border-radius: var(--radius); padding: 26px; border: 2px solid transparent; transition: transform .2s ease; }
.tile:hover { transform: translateY(-4px) rotate(-.5deg); }
.tile__emoji { font-size: 2.4rem; display: block; margin-bottom: 8px; }
.tile h3 { margin-bottom: .3em; }
.tile p { margin: 0; color: var(--ink-soft); }
.tile--visual   { background: var(--sun-soft);   border-color: #FFE6A3; }
.tile--noise    { background: var(--coral-soft); border-color: #FFCDBF; }
.tile--movement { background: var(--sky-soft);   border-color: #BFE3FA; }
.tile--touch    { background: var(--mint-soft);  border-color: #B7E9D3; }
.tile .animal { width: 70px; height: 70px; }

/* ---------- Plans ---------- */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; text-align: center; padding: 34px 28px 30px; overflow: hidden; }
.plan__animal { width: 96px; height: 96px; margin: -6px auto 6px; }
.plan__badge { position: absolute; top: 18px; right: -40px; transform: rotate(35deg); background: var(--sun); color: var(--ink); font: 700 .78rem var(--font-display); padding: 6px 48px; letter-spacing: .04em; }
.plan__name { font-size: 1.7rem; margin-bottom: .1em; }
.plan__tag { color: var(--ink-soft); font-weight: 600; min-height: 1.6em; }
.plan__price { margin: 14px 0 18px; font: 700 2.5rem/1 var(--font-display); }
.plan__price small { font: 700 1rem var(--font-body); color: var(--ink-soft); }
.plan__games { display: inline-block; margin: 0 auto 18px; padding: .4em 1em; border-radius: 999px; font-weight: 800; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; text-align: left; display: grid; gap: 10px; }
.plan li { display: flex; gap: .6em; align-items: flex-start; }
.plan li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; background: var(--mint-soft); color: var(--mint-dark); margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plan--bronze { border-color: #F3D9C3; } .plan--bronze .plan__games { background: #FBEBDD; color: #9A5B26; }
.plan--silver { border-color: #CFC8FF; transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.plan--silver .plan__games { background: var(--primary-soft); color: var(--primary-dark); }
.plan--gold { border-color: #FFE19A; } .plan--gold .plan__games { background: var(--sun-soft); color: var(--sun-dark); }
.plan.is-current { outline: 3px solid var(--mint); outline-offset: 4px; }

/* ---------- Auth pages ---------- */

.auth { padding: 50px 0 90px; }
.auth__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.auth__art { position: relative; text-align: center; }
.auth__art .animal { width: min(340px, 80%); }
.auth__art .doodle-star { width: 40px; color: var(--sun); top: 6%; left: 14%; }
.auth__art .doodle-heart { width: 32px; color: var(--coral); bottom: 14%; right: 14%; }
.auth__art .doodle-sparkle { width: 28px; color: var(--sky); top: 20%; right: 18%; }
.auth__card { max-width: 480px; width: 100%; justify-self: center; }
.auth__card h1 { font-size: 2rem; }
.auth__switch { text-align: center; margin: 18px 0 0; color: var(--ink-soft); }

/* ---------- Forms ---------- */

.field { margin-bottom: 18px; }
.field label, .label { display: block; font-weight: 800; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: 600 1.02rem var(--font-body); color: var(--ink);
  padding: 14px 16px; border-radius: var(--radius-sm); border: 2px solid var(--line); background: #FFFDF9;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.field--error input { border-color: var(--coral); }
.field__hint { font-size: .88rem; color: var(--ink-soft); margin-top: 6px; }
.field__error { font-size: .9rem; color: var(--coral-dark); font-weight: 700; margin-top: 6px; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix span { display: grid; place-items: center; padding: 0 14px; border: 2px solid var(--line); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--sun-soft); font-weight: 800; }
.input-prefix input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.form-error { background: var(--coral-soft); color: var(--coral-dark); border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 700; margin-bottom: 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--primary); }

/* ---------- Page header (inner pages) ---------- */

.page-head { padding: 46px 0 26px; position: relative; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: .2em; }
.page-head p { color: var(--ink-soft); font-size: 1.1rem; margin: 0; max-width: 680px; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head .doodle { z-index: 0; }
.page-head .doodle-star { width: 34px; color: var(--sun); right: 4%; top: 24px; }
.page-head .doodle-squiggle { width: 80px; color: var(--sky); right: 4%; top: 80px; opacity: .7; }
/* Header doodles only fit beside the text on wide screens; hide them elsewhere so they never cover words. */
@media (max-width: 1200px) { .page-head .doodle { display: none; } }

/* ---------- Dashboard ---------- */

.dash-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: linear-gradient(120deg, var(--primary) 0%, #7A6BF0 100%); color: #fff; border-radius: 30px; padding: 30px 34px; position: relative; overflow: hidden; border: 0; }
.dash-hero h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: .15em; }
.dash-hero p { margin: 0; opacity: .9; }
.dash-hero .animal { width: 110px; height: 110px; }
.dash-hero .doodle { color: rgba(255, 255, 255, .25); }
.dash-hero .doodle-star { width: 40px; right: 30%; top: 14px; }
.dash-hero .doodle-sparkle { width: 26px; right: 40%; bottom: 14px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0; }
.stat { display: flex; gap: 16px; align-items: center; }
.stat__icon { flex: none; width: 58px; height: 58px; display: grid; place-items: center; font-size: 1.7rem; border-radius: 18px; }
.stat__value { font: 700 1.7rem/1.1 var(--font-display); }
.stat__label { color: var(--ink-soft); font-weight: 700; font-size: .92rem; }

.meter { height: 14px; background: var(--line); border-radius: 999px; overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint), var(--sky)); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-2-1 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
/* Let wide tables scroll inside their column instead of stretching the page. */
.grid-2 > *, .grid-2-1 > *, .checkout > * { min-width: 0; }

.callout { display: flex; gap: 20px; align-items: center; background: var(--sun-soft); border: 2px dashed #FFDC85; border-radius: var(--radius); padding: 22px 26px; }
.callout .animal { flex: none; width: 82px; height: 82px; }
.callout h2, .callout h3 { margin: 0 0 .2em; }
.callout p { margin: 0; color: var(--ink-soft); }
.callout .btn { margin-left: auto; }
.callout--mint { background: var(--mint-soft); border-color: #A9E3C9; }
.callout--coral { background: var(--coral-soft); border-color: #FFC2B3; }

.section-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 36px 0 16px; flex-wrap: wrap; }
.section-title h2 { margin: 0; font-size: 1.6rem; }

/* ---------- Skill bars (results) ---------- */

.bars { display: grid; gap: 18px; }
.bar__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.bar__name { font: 600 1.1rem var(--font-display); display: flex; align-items: center; gap: 10px; }
.bar__name .animal { width: 38px; height: 38px; }
.bar__track { height: 18px; background: var(--line); border-radius: 999px; overflow: hidden; }
.bar__fill { height: 100%; border-radius: inherit; width: 0; transition: width 1s cubic-bezier(.2, .9, .3, 1.2); }
.bar__fill--social { background: var(--coral); }
.bar__fill--receptive { background: var(--sky); }
.bar__fill--imitation { background: var(--mint); }
.bar__fill--expressive { background: var(--grape); }
.band { font-size: .78rem; font-weight: 800; padding: .2em .7em; border-radius: 999px; }
.band--focus { background: var(--coral-soft); color: var(--coral-dark); }
.band--grow { background: var(--sun-soft); color: var(--sun-dark); }
.band--strong { background: var(--mint-soft); color: var(--mint-dark); }

.sense-rank { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.sense-rank__item { text-align: center; padding: 16px 10px; border-radius: var(--radius-sm); background: var(--cream); border: 2px solid var(--line); }
.sense-rank__item.is-top { border-color: var(--primary); background: var(--primary-soft); }
.sense-rank__emoji { font-size: 1.9rem; display: block; }
.sense-rank__label { font: 600 1rem var(--font-display); }
.sense-rank__score { font-size: .85rem; color: var(--ink-soft); font-weight: 700; }

/* ---------- Assessment (scoring sheet) ---------- */

.quiz { max-width: 860px; margin: 0 auto; padding-bottom: 80px; }
.quiz-progress { position: sticky; top: 74px; z-index: 5; background: var(--cream); padding: 14px 0; margin-bottom: 8px; }
.quiz-progress__steps { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.quiz-progress__step { font-size: .82rem; font-weight: 800; padding: .3em .85em; border-radius: 999px; background: var(--paper); border: 2px solid var(--line); color: var(--ink-soft); }
.quiz-progress__step.is-current { background: var(--primary); border-color: var(--primary); color: #fff; }
.quiz-progress__step.is-done { background: var(--mint-soft); border-color: #B5E8D2; color: var(--mint-dark); }
.quiz-step { animation: pop-in .4s ease both; }
.js .quiz-step:not(.is-current) { display: none; }
.quiz-step__head { display: flex; gap: 18px; align-items: center; margin: 18px 0 20px; }
.quiz-step__head .animal { width: 86px; height: 86px; flex: none; }
.quiz-step__head h2 { margin: 0; }
.quiz-step__head p { margin: 0; color: var(--ink-soft); }
.q { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 14px; transition: border-color .2s; }
.q.is-answered { border-color: #B5E8D2; }
.q.is-missing { border-color: var(--coral); background: #FFF8F6; }
.q legend { font-weight: 800; font-size: 1.05rem; padding: 0; margin-bottom: 12px; display: flex; gap: 10px; }
.q legend .num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: .85rem; }
.q fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.scale { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.scale label { position: relative; cursor: pointer; }
.scale input { position: absolute; opacity: 0; inset: 0; }
.scale label > span { display: flex; align-items: center; justify-content: center; gap: .4em; padding: 12px 10px; border-radius: var(--radius-sm); border: 2px solid var(--line); background: #FFFDF9; font-weight: 800; text-align: center; transition: all .15s; }
.scale label:hover > span { border-color: var(--primary); }
.scale input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 2px; }
.scale input:checked + span { transform: scale(1.03); }
.scale input[value="0"]:checked + span { background: var(--coral-soft); border-color: var(--coral); color: var(--coral-dark); }
.scale input[value="1"]:checked + span { background: var(--sun-soft); border-color: var(--sun); color: var(--sun-dark); }
.scale input[value="2"]:checked + span { background: var(--mint-soft); border-color: var(--mint); color: var(--mint-dark); }
.quiz-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 26px; }
.no-js-only { display: block; }
.js .no-js-only { display: none; }
.js-only { display: none; }
.js .js-only { display: flex; }

/* ---------- Games ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 22px; }
.chip { display: inline-flex; align-items: center; gap: .35em; padding: .5em 1em; border-radius: 999px; border: 2px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 800; font-size: .92rem; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters__label { font-weight: 800; color: var(--ink-soft); margin-right: 4px; }

.tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--paper); border: 2px solid var(--line); border-radius: 999px; margin-bottom: 24px; flex-wrap: wrap; }
.tabs a { padding: .55em 1.2em; border-radius: 999px; text-decoration: none; font-weight: 800; color: var(--ink-soft); white-space: nowrap; }
.tabs a.is-active { background: var(--primary); color: #fff; }
.tabs .count { font-size: .8em; opacity: .8; }

.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.game-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; transition: transform .2s ease, box-shadow .2s ease; animation: pop-in .5s ease both; }
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.game-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.game-card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; font-size: 1.6rem; flex: none; }
.game-card--visual .game-card__icon { background: var(--sun-soft); }
.game-card--noise .game-card__icon { background: var(--coral-soft); }
.game-card--movement .game-card__icon { background: var(--sky-soft); }
.game-card--touch .game-card__icon { background: var(--mint-soft); }
.game-card h3 { font-size: 1.15rem; margin: 0; }
.game-card__skill { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.game-card__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.game-card__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.game-card__status { font-size: .85rem; font-weight: 800; }
.game-card__status--active { color: var(--mint-dark); }
.game-card__status--expired { color: var(--ink-soft); }
.game-card.is-expired { opacity: .7; }
.game-card .need { font-size: .78rem; font-weight: 800; color: var(--coral-dark); }
.lock { font-size: .9rem; }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 30px; flex-wrap: wrap; }

.empty { text-align: center; padding: 50px 20px; }
.empty .animal { width: 140px; height: 140px; margin-bottom: 10px; }

/* ---------- Game sheet (view / print / download) ---------- */

.sheet-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 22px; }
.sheet-actions .note { color: var(--ink-soft); font-weight: 700; font-size: .95rem; margin-left: auto; }
.game-sheet { max-width: 860px; background: #fff; border: 2px solid var(--line); border-radius: 28px; padding: 40px 44px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.game-sheet__band { position: absolute; left: 0; right: 0; top: 0; height: 12px; background: repeating-linear-gradient(90deg, var(--coral) 0 40px, var(--sun) 40px 80px, var(--mint) 80px 120px, var(--sky) 120px 160px, var(--grape) 160px 200px); }
.game-sheet__head { display: flex; gap: 22px; align-items: center; margin-bottom: 26px; }
.game-sheet__head .animal { width: 100px; height: 100px; flex: none; }
.game-sheet__kicker { font-weight: 800; color: var(--ink-soft); font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.game-sheet h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 .3em; }
.game-sheet__goal { background: var(--primary-soft); border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 24px; }
.game-sheet__goal strong { color: var(--primary-dark); }
.game-sheet h2 { font-size: 1.25rem; display: flex; align-items: center; gap: .5em; margin-top: 26px; }
.game-sheet__task { font-size: 1.1rem; line-height: 1.75; }
.toy-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.toy-list li { display: flex; gap: .6em; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--sun-soft); font-weight: 700; }
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.tips li { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--mint-soft); font-weight: 600; font-size: .95rem; }
.tracker { width: 100%; border-collapse: separate; border-spacing: 6px; table-layout: fixed; }
.tracker th { font-size: .8rem; color: var(--ink-soft); font-weight: 800; }
.tracker td { height: 38px; border: 2px dashed var(--line); border-radius: 10px; }
.game-sheet__foot { margin-top: 30px; padding-top: 16px; border-top: 2px dashed var(--line); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--ink-soft); font-size: .85rem; font-weight: 700; }

.locked-sheet { text-align: center; max-width: 620px; margin: 30px auto 80px; }
.locked-sheet .animal { width: 150px; height: 150px; }

/* ---------- Checkout ---------- */

.checkout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: start; padding-bottom: 80px; }
.order-summary .animal { width: 90px; height: 90px; }
.order-line { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 2px dashed var(--line); font-weight: 700; }
.order-line:last-child { border-bottom: 0; font: 700 1.3rem var(--font-display); }
.mpesa-mark { display: inline-flex; align-items: center; gap: 8px; background: #E8F7EC; color: #15803D; font-weight: 800; padding: .3em .8em; border-radius: 999px; font-size: .9rem; }
.mpesa-mark::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #22A447; }
.test-banner { background: repeating-linear-gradient(45deg, var(--sun-soft) 0 14px, #FFF9E6 14px 28px); border: 2px solid #FFDC85; border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 700; margin-bottom: 18px; }

.pay-wait { text-align: center; padding: 20px 0; }
.phone { position: relative; width: 120px; height: 200px; margin: 10px auto 24px; border-radius: 26px; background: var(--ink); padding: 12px 9px; box-shadow: var(--shadow-lg); animation: wiggle 2.4s ease-in-out infinite; }
.phone__screen { height: 100%; border-radius: 18px; background: linear-gradient(160deg, #22A447, #15803D); display: grid; place-items: center; color: #fff; font: 700 .9rem var(--font-display); padding: 10px; }
.phone__ring { position: absolute; inset: -6px; border-radius: 32px; border: 3px solid var(--mint); animation: pulse-ring 1.6s ease-out infinite; }
.pay-result .animal { width: 130px; height: 130px; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; display: inline-block; }
[hidden] { display: none !important; }

/* ---------- Tables ---------- */

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 2px solid var(--line); }
/* Keep dates, phones and amounts on one line; on narrow screens the table scrolls inside .table-wrap instead. */
.table td { white-space: nowrap; }
.table td.cell-wrap { white-space: normal; min-width: 220px; }
.table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.status { font-weight: 800; font-size: .85rem; padding: .2em .7em; border-radius: 999px; }
.status--success { background: var(--mint-soft); color: var(--mint-dark); }
.status--pending { background: var(--sun-soft); color: var(--sun-dark); }
.status--failed { background: var(--coral-soft); color: var(--coral-dark); }

/* ---------- Testimonials (home page) ---------- */

.testimonials { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px; align-items: stretch; max-width: 1060px; margin: 0 auto; }
.testimonial { --t: var(--sun); --t-soft: var(--sun-soft); position: relative; margin: 0; padding: 30px 26px 22px; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.testimonial::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; border-radius: var(--radius) var(--radius) 0 0; background: var(--t); }
.testimonial--sun   { --t: var(--sun);   --t-soft: var(--sun-soft); }
.testimonial--mint  { --t: var(--mint);  --t-soft: var(--mint-soft); }
.testimonial--sky   { --t: var(--sky);   --t-soft: var(--sky-soft); }
.testimonial--grape { --t: var(--grape); --t-soft: var(--grape-soft); }
.testimonial--featured { padding: 36px 34px 28px; }
.testimonial__mark { position: absolute; top: 4px; right: 20px; font: 700 5rem/1 var(--font-display); color: var(--t); opacity: .5; }
.testimonial blockquote { margin: 0; }
.testimonial > blockquote:first-of-type p { padding-right: 40px; }
.testimonial blockquote p { margin: 0 0 14px; font-size: 1.05rem; line-height: 1.65; }
.testimonial--featured blockquote p { font-size: 1.2rem; }
.testimonial__after p { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--t-soft); font-size: .98rem !important; }
.testimonial__after span { font-weight: 800; }
.testimonial__wins { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.testimonial__wins li { padding: .3em .8em; border-radius: 999px; background: var(--t-soft); font-size: .84rem; font-weight: 800; }
.testimonial figcaption { color: var(--ink-soft); font-size: .95rem; }
.testimonial figcaption strong { color: var(--ink); }
.testimonial__glossary { margin: 12px 0 0; padding-top: 10px; border-top: 2px dashed var(--line); font-size: .82rem; color: var(--ink-soft); }
@media (max-width: 760px) {
  .testimonials { grid-template-columns: 1fr; }
  .testimonial--featured { padding: 30px 22px 22px; }
  .testimonial--featured blockquote p { font-size: 1.08rem; }
}

/* ---------- FAQ ---------- */

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; }
.faq summary { cursor: pointer; font: 600 1.08rem var(--font-display); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); }

/* ---------- CTA band ---------- */

.cta-band { background: var(--ink); color: #fff; border-radius: 34px; padding: 50px 40px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0; }
.cta-band .doodle { color: rgba(255, 255, 255, .12); }
.cta-band .doodle-swirl { width: 160px; right: -30px; top: -40px; }
.cta-band .doodle-star { width: 40px; left: 46%; bottom: 14px; color: var(--sun); opacity: .7; }

/* ---------- Footer ---------- */

.cz-footer { position: relative; background: var(--primary-dark); color: #fff; margin-top: 60px; }
.cz-footer__wave { position: absolute; top: -59px; left: 0; width: 100%; height: 60px; color: var(--primary-dark); }
.cz-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 50px 20px 30px; }
.cz-footer a:not(.cz-brand) { display: block; color: rgba(255, 255, 255, .85); text-decoration: none; padding: 3px 0; font-weight: 600; }
.cz-footer a:not(.cz-brand):hover { color: #fff; text-decoration: underline; }
.cz-footer__title { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--sun); margin-bottom: 12px; }
.muted-light { color: rgba(255, 255, 255, .78); margin-top: 14px; max-width: 380px; }
.cz-footer__legal { border-top: 1px solid rgba(255, 255, 255, .15); padding: 18px 20px 26px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .88rem; color: rgba(255, 255, 255, .7); }
.cz-footer__legal p { margin: 0; }

/* ---------- Print-now reminder ---------- */

.disclaimer { display: flex; gap: 14px; align-items: flex-start; background: var(--sky-soft); border: 2px solid #BCE3FA; border-radius: var(--radius-sm); padding: 16px 20px; color: var(--ink); }
.disclaimer__icon { font-size: 1.6rem; line-height: 1; }

/* ---------- Print-all pack ---------- */

.pack-list { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 32px; font-size: .95rem; }
.pack-list li { break-inside: avoid; margin-bottom: 4px; }
.pack-list__title { font-weight: 700; }
[data-sheets] > .game-sheet + .game-sheet { margin-top: 28px; }
/* While a PDF is being made (cheza.js), every sheet is drawn at one A4-like width. */
html.pdf-mode [data-sheets] > .game-sheet { width: 860px; max-width: none; }

/* ---------- Progress report ---------- */

.growth { position: relative; }
.growth-hero { display: flex; align-items: center; gap: 14px; padding: 14px 20px; margin-bottom: 18px; border-radius: var(--radius-sm); background: linear-gradient(100deg, var(--sun-soft), #FFFBEF 70%); border: 2px solid #FFE3A0; font-size: 1.05rem; }
.growth-hero__star { font-size: 1.8rem; line-height: 1; animation: twinkle 3s ease-in-out infinite; }
.growth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.growth-card { position: relative; overflow: hidden; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 20px 22px 18px; }
.growth-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%; background: var(--c-soft); opacity: .7; }
.growth-card__head { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.growth-card__animal { width: 62px; height: 62px; border-radius: 20px; background: var(--c-soft); display: grid; place-items: center; }
.growth-card__animal .animal { width: 50px; height: 50px; }
.growth-card__title h3 { font-size: 1.15rem; margin: 0 0 6px; }
.growth-card__now { text-align: right; display: grid; justify-items: end; gap: 2px; }
.growth-card__pct { font: 700 2.5rem/1 var(--font-display); color: var(--ink); letter-spacing: -.02em; }
.growth-card__pct small { font-size: 1.1rem; color: var(--ink-soft); margin-left: 1px; }

.track { position: relative; margin-top: 22px; }
.track__zones { display: flex; margin-bottom: 6px; font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); }
.track__zones span { text-align: center; opacity: .75; }
.track__rail { position: relative; height: 14px; border-radius: 999px;
  background: linear-gradient(90deg, #F6F0E7 0 40%, var(--paper) 40% calc(40% + 3px), #F0E8DB calc(40% + 3px) 75%, var(--paper) 75% calc(75% + 3px), #E9E0D1 calc(75% + 3px) 100%); }
.track__journey { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, var(--c-soft), var(--c)); transform-origin: left center; animation: grow-x 1s cubic-bezier(.2, .8, .3, 1) .15s both; }
.track__journey.is-down { background: linear-gradient(90deg, var(--c), var(--c-soft)); transform-origin: right center; }
.track__dot { position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; transform: translate(-50%, -50%); z-index: 1; outline: none; cursor: default; }
.track__dot--start { background: var(--paper); border: 3px solid var(--c); }
.track__dot--now { background: var(--c); border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--c), 0 6px 14px -4px var(--c); z-index: 2; }
.track__dot--now::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--c); opacity: 0; animation: pulse-ring 2.4s ease-out 1.2s infinite; }
.track__dot:focus-visible { box-shadow: 0 0 0 4px var(--primary-soft), 0 0 0 6px var(--primary); }
.track__labels { position: relative; height: 22px; margin-top: 10px; }
.track__label { position: absolute; top: 0; transform: translateX(-50%); font-size: .8rem; font-weight: 800; color: var(--ink-soft); white-space: nowrap; }
.track__label--now { color: var(--ink); }
.track__label.is-left { transform: translateX(-11px); }
.track__label.is-right { transform: translateX(calc(-100% + 11px)); }
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.spark { display: block; width: 100%; height: auto; margin-top: 8px; overflow: visible; }
.spark__base { stroke: var(--line); stroke-width: 2; }
.spark__area { fill: var(--c-soft); opacity: .8; }
.spark__line { fill: none; stroke: var(--c); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.spark__dot { fill: var(--c); stroke: var(--paper); stroke-width: 2; outline: none; }
.spark__dot:focus-visible { stroke: var(--primary); stroke-width: 3; }
.spark__label { fill: var(--ink-soft); font: 700 8px var(--font-body); }
.growth-card__foot { position: relative; margin: 10px 0 0; font-size: .9rem; color: var(--ink-soft); }
.chart-tip { position: absolute; z-index: 5; background: var(--ink); color: #fff; border-radius: 10px; padding: 6px 10px; font-size: .85rem; font-weight: 700; pointer-events: none; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); box-shadow: var(--shadow); }
.chart-tip::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: var(--ink); transform: translateX(-50%) rotate(45deg); }
.chart-table { margin-top: 12px; }
.chart-table summary { cursor: pointer; font-weight: 800; color: var(--primary); }
.change { font-weight: 800; white-space: nowrap; }
.change--up { color: var(--mint-dark); }
.change--down { color: var(--coral-dark); }
.change--same { color: var(--ink-soft); }
.change-list { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.change-list .muted { display: block; font-size: .9rem; }
.sense-rank__item.is-off { opacity: .6; border-style: dashed; }
.pill--off { background: var(--line); color: var(--ink-soft); text-decoration: line-through; }

/* ---------- Staff area ---------- */

.staff .cz-nav { background: rgba(255, 255, 255, .95); }
.staff-main { min-height: 60vh; padding-bottom: 40px; }
.staff-footer { padding: 30px 20px; font-size: .88rem; }
.stats--4 { grid-template-columns: repeat(4, 1fr); }
/* Four across is narrow: put the icon above the numbers so the labels get the full card width. */
.stats--4 .stat { flex-direction: column; align-items: flex-start; gap: 12px; }
.stats--4 .stat__icon { width: 48px; height: 48px; font-size: 1.4rem; border-radius: 14px; }
.stat--link { text-decoration: none; color: var(--ink); transition: border-color .15s; }
.stat--link:hover { border-color: var(--primary); color: var(--ink); }
.stat__sub { font-size: .85rem; font-weight: 600; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.list li { padding-bottom: 10px; border-bottom: 2px dashed var(--line); }
.list li:last-child { border-bottom: 0; padding-bottom: 0; }
.details { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 16px; margin: 0; }
.details dt { font-weight: 800; color: var(--ink-soft); font-size: .9rem; }
.details dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.status--neutral { background: var(--line); color: var(--ink-soft); }
.status--retired { background: var(--grape-soft); color: var(--grape-dark); }
h1 .status { font-family: var(--font-body); font-size: .9rem; vertical-align: middle; }
.search-input { min-width: 320px; font: inherit; font-weight: 700; }
.filters input.chip, .filters select.chip { font: inherit; font-weight: 700; padding: .5em 1em; }
.field select, .field textarea { font: 600 1.02rem var(--font-body); }
.table tr.is-inactive td { opacity: .6; }
.row-actions summary { cursor: pointer; font-weight: 800; color: var(--primary); white-space: nowrap; }
.row-actions form { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; min-width: 200px; }
.row-actions input { font: 600 .9rem var(--font-body); padding: 8px 10px; border-radius: 10px; border: 2px solid var(--line); }
.patient-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 20px; }
.patient-card { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.patient-card__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.patient-card__avatar { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font: 700 1.4rem var(--font-display); }
.patient-card__who { min-width: 0; }
.patient-card h2 { font-size: 1.35rem; margin: 0; overflow-wrap: anywhere; }
.patient-card h2 a { text-decoration: none; }
.patient-card__session { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--sky-soft); }
.patient-card__session span { font-size: 1.4rem; }
.patient-card__session small { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--sky-dark); }
.patient-card__session strong { display: block; line-height: 1.35; }
.patient-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 4px; }
.mini-bars { display: grid; gap: 7px; }
.mini-bar { display: grid; grid-template-columns: 84px minmax(0, 1fr) 40px; gap: 10px; align-items: center; font-size: .85rem; }
.mini-bar__label { font-weight: 700; color: var(--ink-soft); }
.mini-bar__pct { font-weight: 800; text-align: right; }
.mini-bar .bar__track { height: 10px; }
.mini-bar .bar__fill { display: block; }

/* ---------- Visit calendar ---------- */

.cal-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.cal { padding: 22px 22px 18px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cal__nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cal__nav h2 { margin: 0 4px; font-size: 1.5rem; }
.cal__arrow { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; border: 2px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font: 700 1.4rem/1 var(--font-display); }
.cal__arrow:hover { border-color: var(--primary); color: var(--primary); }
.cal__today { margin-left: 4px; }
.cal__views { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--cream); border: 2px solid var(--line); }
.cal__views a { padding: .4em 1em; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: .9rem; color: var(--ink-soft); }
.cal__views a.is-active { background: var(--primary); color: #fff; }
.cal__summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 12px 0 14px; color: var(--ink-soft); font-size: .92rem; }
.cal__summary strong { color: var(--ink); font: 700 1.05rem var(--font-display); }
.cal__legend { display: inline-flex; flex-wrap: wrap; gap: 4px 14px; margin-left: auto; font-size: .82rem; font-weight: 700; }
.cal__legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal__key { display: inline-block; width: 14px; height: 10px; border-radius: 3px; background: var(--sky-soft); border-left: 3px solid var(--sky-dark); }
.cal__key--extra { background: var(--sun-soft); border-left-color: var(--sun-dark); }
.cal__key--cancelled { background: var(--line); border-left-color: var(--ink-soft); }

/* Month */
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal__dow { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); text-align: center; padding: 2px 0 4px; }
.cal__day { display: flex; flex-direction: column; gap: 3px; min-height: 104px; padding: 6px; border-radius: 14px; border: 2px solid transparent; background: var(--cream); color: var(--ink); text-decoration: none; overflow: hidden; transition: border-color .15s, background .15s; }
.cal__day:hover { border-color: var(--primary-soft); color: var(--ink); }
.cal__day.has-visits { background: var(--paper); border-color: var(--line); }
.cal__day.is-weekend:not(.has-visits) { background: #F8F1E6; }
.cal__day.is-other { opacity: .4; }
.cal__day.is-past:not(.is-today) .cal__chip { opacity: .7; }
.cal__day.is-selected { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.cal__top { display: flex; align-items: center; justify-content: space-between; }
.cal__num { font: 700 .95rem var(--font-display); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.cal__day.is-today .cal__num { background: var(--primary); color: #fff; }
.cal__badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.cal__chip { display: block; font-size: .72rem; line-height: 1.25; padding: 3px 6px; border-radius: 7px; background: var(--sky-soft); color: var(--ink); border-left: 3px solid var(--sky-dark); }
.cal__chip b, .cal__chip span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal__chip b { font-weight: 800; font-size: .66rem; color: var(--sky-dark); }
.cal__chip span { font-weight: 700; }
.cal__chip.is-extra { background: var(--sun-soft); border-left-color: var(--sun-dark); }
.cal__chip.is-extra b { color: var(--sun-dark); }
.cal__chip.is-cancelled { background: var(--line); border-left-color: var(--ink-soft); color: var(--ink-soft); text-decoration: line-through; }
.cal__chip.is-cancelled b { color: var(--ink-soft); }
.cal__more { font-size: .7rem; font-weight: 800; color: var(--primary); padding-left: 4px; }
.cal__dots { display: none; gap: 3px; justify-content: center; align-items: center; margin-top: auto; }
.cal__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--sky-dark); }
.cal__dots em { font-style: normal; font-size: .65rem; font-weight: 800; color: var(--sky-dark); }

/* Week: a time grid with one column per day */
.week { --hour: 64px; display: grid; grid-template-columns: 52px repeat(var(--days, 7), minmax(0, 1fr)); grid-template-rows: auto calc(var(--hours) * var(--hour)); column-gap: 6px; }
.week__head { display: grid; justify-items: center; gap: 1px; padding: 6px 2px 10px; border-radius: 12px; text-decoration: none; color: var(--ink-soft); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.week__head b { font: 700 1.3rem/1.1 var(--font-display); color: var(--ink); letter-spacing: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; }
.week__head small { font-size: .68rem; text-transform: none; letter-spacing: 0; color: var(--primary); }
.week__head.is-today b { background: var(--primary); color: #fff; }
.week__head.is-selected { background: var(--primary-soft); }
.week__hours { position: relative; display: grid; grid-template-rows: repeat(var(--hours), 1fr); }
.week__hours span { font-size: .7rem; font-weight: 700; color: var(--ink-soft); transform: translateY(-.6em); }
.week__col { position: relative; container-type: inline-size; border-radius: 12px; background: repeating-linear-gradient(to bottom, var(--cream) 0 calc(var(--hour) - 1px), var(--line) calc(var(--hour) - 1px) var(--hour)); }
.week__col.is-weekend { background: repeating-linear-gradient(to bottom, #F8F1E6 0 calc(var(--hour) - 1px), var(--line) calc(var(--hour) - 1px) var(--hour)); }
.week__col.is-today { box-shadow: inset 0 0 0 2px var(--primary-soft); }
.week__visit { position: absolute; display: flex; flex-direction: column; gap: 1px; padding: 5px 7px; border-radius: 10px; background: var(--sky-soft); border-left: 4px solid var(--sky-dark); color: var(--ink); text-decoration: none; font-size: .74rem; line-height: 1.2; overflow: hidden; box-shadow: 0 4px 10px -6px rgba(46, 42, 71, .35); transition: transform .15s; }
.week__visit:hover { transform: translateY(-1px); z-index: 2; color: var(--ink); }
.week__visit b { font-size: .68rem; color: var(--sky-dark); white-space: nowrap; }
.week__visit span { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.week__visit small { color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.week__visit.is-short { flex-direction: row; gap: 5px; align-items: baseline; padding-top: 3px; }
.week__visit.is-extra { background: var(--sun-soft); border-left-color: var(--sun-dark); }
.week__visit.is-extra b { color: var(--sun-dark); }
.week__visit.is-cancelled { background: repeating-linear-gradient(135deg, var(--cream) 0 6px, var(--line) 6px 12px); border-left-color: var(--ink-soft); color: var(--ink-soft); }
.week__visit.is-cancelled span { text-decoration: line-through; }
.week__visit.is-cancelled b { color: var(--ink-soft); }
.week__now { position: absolute; left: -4px; right: 0; height: 2px; background: var(--coral-dark); z-index: 3; }
.week__now::before { content: ""; position: absolute; left: -2px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--coral-dark); }
.week__visit, .week__group { left: 3px; right: 3px; }
.week__group { position: absolute; z-index: 1; display: flex; flex-direction: column; gap: 2px; padding: 4px; border-radius: 10px; background: var(--paper); border: 2px solid var(--sky); box-shadow: 0 6px 14px -8px rgba(46, 42, 71, .4); }
.week__group:hover { z-index: 4; }
.week__group-head { font-size: .64rem; line-height: 1.3; font-weight: 800; letter-spacing: .03em; color: var(--sky-dark); padding: 0 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.week__row { display: flex; align-items: baseline; gap: 5px; padding: 2px 6px; border-radius: 7px; background: var(--sky-soft); border-left: 3px solid var(--sky-dark); color: var(--ink); text-decoration: none; font-size: .74rem; line-height: 1.2; min-width: 0; }
.week__row:hover { background: #CDEBFB; color: var(--ink); }
.week__row b { flex: none; font-size: .68rem; color: var(--sky-dark); }
.week__row span { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.week__row small { margin-left: auto; flex: none; max-width: 45%; color: var(--ink-soft); font-size: .66rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.week__row.is-extra { background: var(--sun-soft); border-left-color: var(--sun-dark); }
.week__row.is-extra b { color: var(--sun-dark); }
.week__row.is-cancelled { background: var(--line); border-left-color: var(--ink-soft); color: var(--ink-soft); }
.week__row.is-cancelled span { text-decoration: line-through; }
.week__row.is-cancelled b { color: var(--ink-soft); }
.cal-layout.is-week { grid-template-columns: 1fr; }
/* Narrow day columns: drop the therapist's name so the child's name always fits. */
@container (max-width: 175px) {
  .week__row small, .week__visit small, .week__wide { display: none; }
  .week__row span { flex: 1; }
}
.cal-layout.is-week .cal-day { position: static; }
.cal-layout.is-week .visit-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.week-list { display: none; list-style: none; margin: 0; padding: 0; }
.week-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 10px 4px; border-bottom: 2px dashed var(--line); }
.week-list li:last-child { border-bottom: 0; }
.week-list li.is-today .week-list__day b { color: var(--primary); }
.week-list__day { min-width: 74px; text-decoration: none; color: var(--ink); font-size: .92rem; }
.week-list__visit { padding: 3px 8px; border-radius: 8px; background: var(--sky-soft); border-left: 3px solid var(--sky-dark); font-size: .82rem; font-weight: 700; }
.week-list__visit.is-extra { background: var(--sun-soft); border-left-color: var(--sun-dark); }
.week-list__visit.is-cancelled { background: var(--line); border-left-color: var(--ink-soft); color: var(--ink-soft); text-decoration: line-through; }

/* The chosen day */
.cal-day { position: sticky; top: 92px; }
.cal-day h2 { font-size: 1.35rem; margin-bottom: 2px; }
.cal-day__kicker { margin: 0 0 2px; font-size: .8rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--primary); }
.cal-day__count { margin: 0 0 14px; font-weight: 700; font-size: .92rem; }
.visit-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.visit { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--sky-soft); border-left: 4px solid var(--sky-dark); }
.visit.is-extra { background: var(--sun-soft); border-left-color: var(--sun-dark); }
.visit.is-cancelled { background: var(--cream); border-left-color: var(--ink-soft); }
.visit.is-cancelled .visit__child { text-decoration: line-through; color: var(--ink-soft); }
.visit__time { font: 700 1.1rem/1.1 var(--font-display); }
.visit__time small { display: block; font: 700 .75rem var(--font-body); color: var(--ink-soft); margin-top: 3px; }
.visit__title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.visit__child { font: 600 1.1rem var(--font-display); text-decoration: none; }
.visit__meta { font-size: .88rem; color: var(--ink-soft); margin-top: 4px; overflow-wrap: anywhere; }
.visit__actions { margin-top: 8px; }
.visit__cancel { margin-top: 8px; }
.visit__cancel summary, .add-visit summary { cursor: pointer; font-weight: 800; color: var(--primary); font-size: .9rem; }
.visit__cancel form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.visit__cancel input[name=note] { flex: 1 1 160px; min-width: 0; font: 600 .9rem var(--font-body); padding: 8px 10px; border-radius: 10px; border: 2px solid var(--line); }
.add-visit { border-top: 2px dashed var(--line); padding-top: 14px; }
.add-visit form { margin-top: 12px; }
.add-visit .field { margin-bottom: 12px; }
.add-visit .field input, .add-visit .field select { padding: 10px 12px; font-size: .95rem; }

/* Parents' visits page */
.visits-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; }
.next-visit { background: linear-gradient(135deg, var(--primary) 0%, #7A6BF0 100%); color: #fff; border: 0; display: flex; flex-direction: column; gap: 14px; }
.next-visit .btn--ghost { align-self: flex-start; }
.next-visit .muted { color: rgba(255, 255, 255, .85); }
.next-visit__kicker { margin: 0; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.therapist-card .next-visit__kicker { color: var(--primary); opacity: 1; }
.next-visit__when { display: flex; gap: 18px; align-items: center; }
.next-visit__when h2 { margin: 0 0 4px; font-size: 1.45rem; color: #fff; }
.next-visit__date { flex: none; width: 76px; border-radius: 18px; overflow: hidden; background: #fff; color: var(--ink); text-align: center; box-shadow: var(--shadow); }
.next-visit__date span { display: block; background: var(--coral); color: #fff; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 4px 0; }
.next-visit__date b { display: block; font: 700 2rem/1.4 var(--font-display); }
.next-visit__time { margin: 0 0 6px; font-weight: 800; font-size: 1.05rem; }
.next-visit .pill { background: rgba(255, 255, 255, .9); }
.therapist-card { display: flex; gap: 16px; align-items: flex-start; }
.therapist-card h2 { margin: 2px 0 6px; font-size: 1.35rem; }
.therapist-card__schedule { margin: 14px 0 0; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--sky-soft); }
.therapist-card__schedule span { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--sky-dark); }
.upcoming { list-style: none; margin: 0; padding: 0; }
.upcoming li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 2px dashed var(--line); }
.upcoming li:last-child { border-bottom: 0; }
.upcoming li.is-cancelled .upcoming__what strong { text-decoration: line-through; color: var(--ink-soft); }
.upcoming__date { flex: none; width: 52px; text-align: center; border-radius: 12px; background: var(--primary-soft); color: var(--primary-dark); font-size: .72rem; font-weight: 800; text-transform: uppercase; padding: 4px 0; }
.upcoming__date b { display: block; font: 700 1.3rem/1.1 var(--font-display); }
.upcoming__what { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.upcoming__what .muted { font-size: .88rem; }
.upcoming-more summary { cursor: pointer; font-weight: 800; color: var(--primary); padding: 10px 0 2px; border-top: 2px dashed var(--line); }

.slot-picker { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.slot-picker legend { padding: 0; margin-bottom: 8px; }
.slot-picker label { font-weight: 800; }
.day-picker { display: flex; flex-wrap: wrap; gap: 6px; }
.day-picker label { position: relative; cursor: pointer; margin: 0; }
.day-picker input { position: absolute; opacity: 0; inset: 0; }
.day-picker span { display: inline-grid; place-items: center; min-width: 52px; padding: 8px 10px; border-radius: 12px; border: 2px solid var(--line); background: #FFFDF9; font-weight: 800; font-size: .9rem; }
.day-picker input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.day-picker input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 2px; }

.today-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 18px; margin-bottom: 22px; border-radius: var(--radius-sm); background: var(--paper); border: 2px solid var(--line); }
.today-strip strong { margin-right: 4px; }
.today-strip .chip { font-size: .88rem; }
.patient-card__next { font-size: .9rem; color: var(--ink-soft); margin: -6px 0 0; }
.patient-card__next strong { color: var(--ink); }

@media (max-width: 1100px) {
  .cal-layout { grid-template-columns: 1fr; }
  .cal-day { position: static; }
}
@media (max-width: 860px) {
  .visits-top { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .cal { padding: 14px 10px; }
  .cal__head { gap: 10px; }
  .cal__nav h2 { font-size: 1.2rem; }
  .cal__legend { margin-left: 0; }
  .cal__grid { gap: 3px; }
  .cal__day { min-height: 56px; padding: 4px 2px; align-items: center; border-radius: 10px; }
  .cal__top { justify-content: center; }
  .cal__badge, .cal__chip, .cal__more { display: none; }
  .cal__dots { display: flex; }
  .week { display: none; }
  .week-list { display: block; }
  .next-visit__when { align-items: flex-start; }
}

/* ---------- Therapy games: labels and explainer ---------- */

.therapy-tag { display: inline-flex; align-items: center; gap: .3em; padding: .25em .7em; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); font-weight: 800; font-size: .8rem; white-space: nowrap; }
.therapy-stamp { position: absolute; top: 24px; right: 24px; width: 76px; height: 76px; border-radius: 50%; border: 3px double var(--primary); color: var(--primary-dark); display: grid; place-items: center; text-align: center; font: 700 .64rem/1.15 var(--font-display); text-transform: uppercase; letter-spacing: .08em; transform: rotate(-12deg); background: rgba(255, 255, 255, .85); }
.game-sheet__head { padding-right: 84px; }
.therapy-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.therapy-steps__item { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; position: relative; }
.therapy-steps__item + .therapy-steps__item::before { content: "→"; position: absolute; left: -15px; top: 50%; transform: translateY(-50%); color: var(--primary); font-weight: 800; }
.therapy-steps__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; background: var(--primary-soft); }
.therapy-steps__item strong { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.therapy-steps__item p { margin: 2px 0 0; color: var(--ink-soft); font-size: .93rem; }
.play-reminder, .daily-play { display: flex; gap: 14px; align-items: flex-start; background: var(--coral-soft); border: 2px solid #FFC9BB; border-radius: var(--radius-sm); padding: 14px 18px; }
.play-reminder__icon, .daily-play__icon { font-size: 1.5rem; line-height: 1; }
.daily-play { margin-top: 20px; }
.daily-play p { margin: 0; }

/* ---------- Assessment note (results page) ---------- */

.assessment-note { display: flex; gap: 16px; align-items: flex-start; background: var(--primary-soft); border: 2px solid #D6D0FF; border-radius: var(--radius); padding: 18px 22px; margin-bottom: 28px; }
.assessment-note__icon { font-size: 2rem; line-height: 1; }
.assessment-note h2 { font-size: 1.25rem; margin-bottom: .3em; }

/* ---------- Social ABA protocol ---------- */

.aba-phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aba-phase { background: var(--paper); border: 2px solid var(--line); border-top: 6px solid #1F7F86; border-radius: var(--radius); padding: 18px 20px 20px; position: relative; }
.aba-phase__num { position: absolute; top: -20px; right: 18px; width: 40px; height: 40px; border-radius: 50%; background: #1F7F86; color: #fff; display: grid; place-items: center; font: 700 1.2rem var(--font-display); }
.aba-phase h3 { font-size: 1.12rem; margin: 6px 40px .4em 0; }
.aba-phase__detail { font-weight: 800; font-size: .92rem; color: #1F6A70; margin-bottom: .5em; }
.aba-phase__text { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.aba-intro h2 { font-size: 1.35rem; }
.aba-intro p { color: var(--ink-soft); }
.aba-oversight { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-top: 30px; background: #EAF5F6; border-color: #C5E2E4; }
.aba-oversight h2 { font-size: 1.35rem; }
.aba-oversight__lead { display: grid; gap: 2px; text-align: right; font-size: .92rem; color: var(--ink-soft); }
.aba-oversight__lead strong { color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.pft-public { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-top: 30px; border-color: var(--grape-soft); }
.pft-public .animal { width: 150px; height: 150px; }
.pft-public__prices { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.pft-public__prices li { background: var(--grape-soft); border-radius: var(--radius-sm); padding: 10px 14px; font-weight: 600; }
.pft-public__prices strong { color: var(--grape-dark); font-family: var(--font-display); font-size: 1.15rem; margin-right: 4px; }
.pft-public .btn + .btn { margin-left: 8px; }

/* ---------- Practical Family Training (family page) ---------- */

.pft-file { margin-bottom: 10px; border-color: var(--grape-soft); }
.pft-file__head { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.pft-file__no { font: 700 2rem/1.1 var(--font-display); letter-spacing: .04em; color: var(--grape-dark); margin: 0 0 8px; }
.pft-file__counts { display: grid; grid-template-columns: repeat(4, auto); gap: 6px 22px; margin: 0; }
.pft-file__counts div { text-align: center; }
.pft-file__counts dt { font-size: .78rem; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.pft-file__counts dd { margin: 0; font: 700 1.6rem var(--font-display); }
.pft-homework { display: flex; gap: 12px; background: var(--sun-soft); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 18px; }
.pft-homework > span { font-size: 1.5rem; line-height: 1; }
.pft-pref { margin-top: 18px; padding-top: 16px; border-top: 2px dashed var(--line); }
.pft-pref label { display: block; margin-bottom: 8px; }
.pft-pref__row { display: flex; gap: 10px; }
.pft-pref__row input { flex: 1; min-width: 0; font: 600 1rem var(--font-body); padding: .6em .9em; border: 2px solid var(--line); border-radius: 12px; }
.pft-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pft-steps li { display: flex; gap: 12px; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.pft-steps__num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--grape-soft); color: var(--grape-dark); display: grid; place-items: center; font: 700 1.05rem var(--font-display); }
.pft-steps p { margin: 4px 0 0; color: var(--ink-soft); font-size: .93rem; }
.pft-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 24px; justify-content: center; }
.status--booked { background: var(--grape-soft); color: var(--grape-dark); }
.pill--pft { background: var(--grape-soft); color: var(--grape-dark); }

/* ---------- Practical Family Training (staff board) ---------- */

.pft-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 18px; }
.pft-card { padding: 20px 22px; }
.pft-card.is-due { border-color: #FFDC85; }
.pft-card__head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 6px; }
.pft-card__child { font: 600 1.15rem var(--font-display); text-decoration: none; }
.pft-card__when { font-weight: 800; margin: 0 0 4px; }
.pft-card__meta { font-size: .92rem; color: var(--ink-soft); margin-bottom: 10px; }
.pft-card__pref { background: var(--sun-soft); border-radius: 10px; padding: 8px 12px; font-size: .92rem; }
.pft-form { margin-top: 10px; }
.pft-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0 10px; }
.pft-form__wide { grid-column: 1 / -1; }
.pft-form__row input[type=time] { min-width: 0; }
.pft-form .field { margin-bottom: 12px; }
.pft-form .field input, .pft-form .field select, .pft-form .field textarea { padding: .55em .7em; font-size: .95rem; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.choice-row label { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; }
.choice-row input { width: 18px; height: 18px; accent-color: var(--primary); }
.pft-tracker-note { background: var(--coral-soft); border-radius: 10px; padding: 10px 12px; font-size: .92rem; }
.pft-more { margin-top: 12px; }
.pft-more summary { cursor: pointer; font-weight: 800; color: var(--primary); }
.pft-more form { margin-top: 10px; }
.pft-recorded__row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.pft-recorded__badges { display: flex; gap: 6px; align-items: flex-start; flex-wrap: wrap; }

/* Free-slots picker in the PFT booking form */
.slots-picker { margin: 4px 0 14px; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); }
.slots-picker[aria-busy="true"] { opacity: .55; }
.slots__nav { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: .92rem; }
.slots__arrow { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 800; line-height: 1; }
.slots__arrow:hover { border-color: var(--primary); color: var(--primary); }
.slots__arrow.is-off { opacity: .35; }
.slots__hours { margin-left: auto; color: var(--ink-soft); font-size: .82rem; font-weight: 700; }
.slots__empty { margin: 6px 0 0; font-size: .92rem; }
.slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.slots__day { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 4px 10px; align-items: center; }
.slots__date { font-size: .85rem; white-space: nowrap; }
.slots__bar { position: relative; height: 10px; border-radius: 999px; background: var(--mint-soft); overflow: hidden; }
.slots__bar i { position: absolute; top: 0; bottom: 0; background: var(--coral); border-radius: 3px; }
.slots__free { grid-column: 2; display: flex; flex-wrap: wrap; gap: 5px; font-size: .85rem; }
.slot { min-height: 32px; padding: 4px 10px; border-radius: 999px; border: 2px solid var(--mint); background: var(--paper); color: var(--mint-dark); font: 800 .82rem var(--font-body); cursor: pointer; }
.slot:hover { background: var(--mint-soft); }
.slot.is-picked { background: var(--mint-dark); border-color: var(--mint-dark); color: #fff; }
.slots__legend { margin: 10px 0 0; font-size: .78rem; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.slots__legend i { display: inline-block; width: 18px; height: 8px; border-radius: 3px; background: var(--coral); }

/* PFT sessions on the calendars */
.cal__key--pft { background: var(--grape-soft); border-left-color: var(--grape-dark); }
.cal__chip.is-pft, .week__visit.is-pft, .week__row.is-pft, .week-list__visit.is-pft, .visit.is-pft { background: var(--grape-soft); border-left-color: var(--grape-dark); }
.cal__chip.is-pft b, .week__visit.is-pft b, .week__row.is-pft b { color: var(--grape-dark); }

/* ---------- Play tracker ---------- */

.hours-bar { display: block; width: 100%; max-width: 160px; height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 6px; }
.hours-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--sun); }
.hours-bar.is-met > span { background: var(--mint); }
.play-days { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 560px; overflow-y: auto; }
.play-days li { border-radius: 12px; padding: 4px 8px; }
.play-days li.is-selected { background: var(--primary-soft); }
.play-days a, .play-days__row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 52px; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; padding: 4px 0; }
.play-days .hours-bar { margin: 0; max-width: none; }
.play-days__hours { text-align: right; font-weight: 800; }
.play-days__games { display: block; font-size: .82rem; color: var(--ink-soft); padding-left: 102px; }
.game-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 6px; max-height: 320px; overflow-y: auto; padding: 4px; border: 2px solid var(--line); border-radius: var(--radius-sm); }
.game-pick { display: flex; gap: 8px; align-items: flex-start; padding: 6px 8px; border-radius: 10px; font-size: .92rem; font-weight: 600; cursor: pointer; }
.game-pick:hover { background: var(--cream); }
.game-pick input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); flex: none; }
.game-pick b { display: inline-block; min-width: 1.6em; color: var(--primary-dark); }
.cz-footer__text { display: block; color: rgba(255, 255, 255, .85); padding: 3px 0 6px; font-weight: 600; }

/* The printable month tracker at the end of the games pack. */
.tracker-sheet__head { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 14px; padding-right: 0; }
.tracker-sheet__head h1 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin: 0; }
.tracker-sheet .therapy-stamp { position: static; flex: none; }
.tracker-rules { background: var(--primary-soft); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 14px; font-size: .92rem; }
.tracker-rules p { margin: 0 0 4px; }
.tracker-rules p:last-child { margin: 0; }
.tracker--month { border-spacing: 0; border-collapse: collapse; }
.tracker--month th, .tracker--month td { border: 1.5px solid #D9CDBA; padding: 4px 6px; }
.tracker--month thead th { background: var(--cream); font-size: .78rem; line-height: 1.2; text-align: center; }
.tracker--month thead th small { display: block; font-weight: 600; color: var(--ink-soft); font-size: .68rem; }
.tracker--month td { height: 34px; border-radius: 0; border-style: solid; }
.tracker--month .tracker__day { width: 92px; text-align: left; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.tracker--month .tracker__who { width: 110px; }
.cover-sheet__more { margin-top: 10px; }

@media (max-width: 980px) {
  .therapy-steps, .pft-steps { grid-template-columns: 1fr; }
  .therapy-steps__item + .therapy-steps__item::before { content: "↓"; left: 50%; top: -15px; transform: translateX(-50%); }
  .aba-phases { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .pft-prices { grid-template-columns: minmax(0, 460px); }
  .aba-oversight, .pft-public { grid-template-columns: 1fr; }
  .aba-oversight__lead { text-align: left; }
  .pft-public .animal { display: none; }
}
@media (max-width: 640px) {
  .aba-phases { grid-template-columns: 1fr; }
  .pft-file__counts { grid-template-columns: repeat(2, auto); }
  .pft-pref__row { flex-direction: column; }
  .therapy-stamp { width: 58px; height: 58px; top: 16px; right: 14px; font-size: .52rem; }
  .game-sheet__head { padding-right: 0; padding-top: 30px; }
  .tracker-sheet__head { padding-top: 0; }
  .tracker--month th, .tracker--month td { padding: 2px 3px; }
  .tracker--month .tracker__day { width: 64px; font-size: .72rem; }
  .tracker--month .tracker__who { width: 60px; }
  .play-days a, .play-days__row { grid-template-columns: 78px minmax(0, 1fr) 44px; }
  .play-days__games { padding-left: 88px; }
  .assessment-note { flex-direction: column; }
}

/* ---------- Policy pages (privacy, terms, refunds) ---------- */
.legal__updated { font-size: .95rem !important; margin-top: 10px !important; font-weight: 700; }
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 50px; }
.legal__toc { position: sticky; top: 90px; padding: 20px 22px; }
.legal__toc h2 { font-size: 1rem; margin: 0 0 8px; }
.legal__toc h2 + ol, .legal__toc h2 + ul { margin: 0 0 18px; }
.legal__toc ol, .legal__toc ul { padding-left: 1.2em; font-size: .93rem; display: grid; gap: 5px; }
.legal__toc ul { margin-bottom: 0 !important; }
.legal__toc a { text-decoration: none; }
.legal__toc a:hover { text-decoration: underline; }
.legal__body { padding: 30px 34px; }
.legal__body section + section { border-top: 2px dashed var(--line); margin-top: 22px; padding-top: 4px; }
.legal__body section { scroll-margin-top: 90px; }
.legal__body h2 { font-size: 1.3rem; margin: 14px 0 10px; display: flex; align-items: center; gap: 10px; }
.legal__num { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: .95rem; }
.legal__body p, .legal__body li { color: var(--ink-soft); line-height: 1.65; }
.legal__body strong { color: var(--ink); }
.legal__body ul { padding-left: 1.25em; display: grid; gap: 6px; }
.legal__body code { background: var(--cream); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .9em; }
.cz-footer__policies { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.cz-footer__policies a { color: rgba(255, 255, 255, .85); }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero__grid, .auth__grid, .checkout, .grid-2, .grid-2-1 { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .playground { max-width: 520px; margin: 0 auto; width: 100%; }
  .steps, .tiles { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan--silver { transform: none; }
  .auth__art { display: none; }
  .cz-footer__inner { grid-template-columns: 1fr 1fr; }
  .cz-footer__inner > :first-child { grid-column: 1 / -1; }
  .stats { grid-template-columns: 1fr; }
  .stats--4 { grid-template-columns: repeat(2, 1fr); }
  .growth-grid { grid-template-columns: 1fr; }
  .tips { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
}
@media (max-width: 640px) {
  body.cz { font-size: 16px; }
  .legal__body { padding: 22px 18px; }
  .growth-grid { grid-template-columns: 1fr; }
  .growth-card { padding: 18px 16px 16px; }
  .growth-card__pct { font-size: 2.1rem; }
  .pack-list { columns: 1; }
  .details { grid-template-columns: 1fr; gap: 2px; }
  .details dd { margin-bottom: 8px; }
  .search-input { min-width: 0; flex: 1; }
  .stats--4 { grid-template-columns: 1fr; }
  .stats--4 .stat { flex-direction: row; align-items: center; }
  /* Upcoming visits: the Cancelled / Extra badge goes under the text instead of squeezing it. */
  .upcoming li { flex-wrap: wrap; row-gap: 6px; }
  .upcoming__what { flex-basis: calc(100% - 66px); }
  .upcoming li > .pill { margin-left: 66px; }
  .patient-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
  .steps, .tiles, .sense-rank { grid-template-columns: 1fr 1fr; }
  .scale { gap: 8px; }
  .scale label > span { flex-direction: column; gap: 2px; padding: 10px 4px; font-size: .88rem; }
  .field__row { grid-template-columns: 1fr; }
  .card { padding: 22px 18px; }
  .dash-hero { grid-template-columns: 1fr; text-align: center; padding: 26px 20px; }
  .dash-hero .animal { margin: 0 auto; }
  .callout { flex-direction: column; text-align: center; }
  .callout .btn { margin: 0; }
  .game-sheet { padding: 30px 20px; border-radius: 20px; }
  .game-sheet__head { flex-direction: column; text-align: center; }
  .cz-footer__inner { grid-template-columns: 1fr; }
  .quiz-progress { top: 72px; }
  .sheet-actions .note { margin-left: 0; }
  /* Tabs: equal columns that always fit on one line. */
  .tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; gap: 4px; padding: 4px; border-radius: 18px; }
  .tabs a { text-align: center; padding: .65em .15em; font-size: .8rem; letter-spacing: -.01em; border-radius: 14px; overflow: hidden; text-overflow: ellipsis; }
  .cta-band { padding: 36px 22px; }
}

/* ---------- Print: only the game sheets, one per sheet of A4 ---------- */

@media print {
  @page { size: A4; margin: 12mm; }
  body.cz { background: #fff; font-size: 11pt; line-height: 1.45; }
  .cz-nav, .cz-footer, .staff-footer, .sheet-actions, .flashes, .page-head, .no-print, .skip-link, .disclaimer, .play-reminder, .therapy-steps { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  .animal .eye { animation: none !important; }

  /* Policy pages print as plain documents. */
  .legal-page .page-head { display: block !important; padding: 0 0 10px; }
  .legal-page .legal { display: block; padding: 0; }
  .legal-page .legal__toc { display: none; }
  .legal-page .legal__body { box-shadow: none; border: 0; padding: 0; }
  .legal-page .legal__body section { break-inside: auto; }
  .legal-page .legal__body h2 { break-after: avoid; }
  .game-sheet, .game-sheet * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  /* Every sheet starts on a new page and is laid out to fit on it. */
  .game-sheet { box-shadow: none; border: 1.5px solid #ddd; border-radius: 16px; max-width: none; padding: 20px 24px 16px; overflow: visible; }
  [data-sheets] > .game-sheet { break-before: page; margin-top: 0 !important; }
  [data-sheets] > .game-sheet:first-child { break-before: auto; }
  .game-sheet__band { height: 8px; border-radius: 14px 14px 0 0; }
  .game-sheet__head { flex-direction: row; text-align: left; gap: 16px; margin-bottom: 12px; padding: 0 84px 0 0; }
  .game-sheet__head .animal { width: 64px; height: 64px; }
  .game-sheet h1 { font-size: 18pt; }
  .game-sheet h2 { font-size: 12.5pt; margin: 12px 0 6px; }
  .game-sheet__goal { padding: 8px 12px; margin-bottom: 8px; font-size: 10pt; }
  .game-sheet__task { font-size: 11.5pt; line-height: 1.5; margin-bottom: 0; }
  .toy-list { grid-template-columns: repeat(3, 1fr); gap: 5px; }
  .toy-list li { padding: 5px 8px; font-size: 9.5pt; }
  .tips { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .tips li { padding: 7px 9px; font-size: 9pt; }
  .daily-play { margin-top: 10px; padding: 8px 12px; font-size: 10pt; }
  .therapy-stamp { top: 18px; right: 18px; width: 64px; height: 64px; font-size: 7pt; }
  .game-sheet__foot { margin-top: 12px; padding-top: 8px; font-size: 8pt; }
  .game-card__meta .pill { font-size: 8.5pt; }

  /* Nothing is cut in half or left hanging at the bottom of a page. */
  .game-sheet__head, .game-sheet__goal, .game-sheet__block, .toy-list li, .tips, .daily-play, .game-sheet__foot,
  .tracker-rules, .pack-list li, .tracker tr { break-inside: avoid; }
  .game-sheet h2 { break-after: avoid; }
  .game-sheet__task { orphans: 3; widows: 3; }

  /* Contents pages and the month tracker. */
  .pack-list { columns: 2; font-size: 9.5pt; }
  .tracker-sheet__head { padding: 0; margin-bottom: 8px; }
  .tracker-sheet__head h1 { font-size: 15pt; }
  .tracker-rules { padding: 8px 12px; margin-bottom: 8px; font-size: 9pt; }
  .tracker--month thead th { font-size: 8pt; }
  .tracker--month .tracker__day { font-size: 8.5pt; width: 80px; }
  .tracker--month td { height: 11.5mm; }
}
