:root {
  --ink: #172033;
  --muted: #5b6577;
  --paper: #fffaf0;
  --white: #ffffff;
  --line: rgba(23, 32, 51, .13);
  --blue: #2563eb;
  --teal: #0f9f8f;
  --green: #16a34a;
  --coral: #f9735b;
  --yellow: #f9c74f;
  --violet: #7c3aed;
  --red: #dc2626;
  --shadow: 0 22px 70px rgba(23, 32, 51, .12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(37, 99, 235, .12), transparent 30rem),
    radial-gradient(circle at 92% 4%, rgba(15, 159, 143, .14), transparent 28rem),
    var(--paper);
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.app-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 14px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 240, .92);
  backdrop-filter: blur(18px);
}
.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  overflow: hidden;
  background: white;
}
.brand-mark img { width: 46px; height: 46px; display: block; }
.app-brand strong, .app-brand small { display: block; }
.app-brand small { color: var(--muted); font-size: 12px; font-weight: 800; }
.app-nav { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; font-weight: 850; }
.app-nav a { text-decoration: none; color: #2b3448; }

.aac-dock {
  position: sticky;
  top: 76px;
  z-index: 20;
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px clamp(16px, 4vw, 42px);
  background: rgba(255, 250, 240, .82);
  backdrop-filter: blur(16px);
}
.aac-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 8px;
}
.aac-head strong, .aac-head span { display: block; }
.aac-head span { color: var(--muted); font-size: 13px; font-weight: 800; }
.small-btn {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  cursor: pointer;
  font-weight: 900;
}
.aac-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.aac-dock.large .aac-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.aac-btn {
  min-height: 172px;
  display: grid;
  grid-template-rows: auto minmax(98px, 1fr);
  gap: 8px;
  align-items: center;
  justify-items: center;
  padding: 14px 10px 12px;
  border: 3px solid var(--aac-color);
  border-radius: 18px;
  background: var(--aac-bg);
  color: var(--ink);
  cursor: pointer;
  font-weight: 950;
  box-shadow: 0 8px 20px rgba(23, 32, 51, .07);
}
.aac-btn strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  text-align: center;
  color: #090f1f;
}
.aac-btn small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.aac-dock.large .aac-btn { min-height: 210px; }
.aac-dock.large .aac-btn strong { font-size: 30px; }
.aac-symbol {
  position: relative;
  display: block;
  width: 74px;
  height: 72px;
}
.aac-symbol i { position: absolute; display: block; }
.aac-symbol .head {
  width: 30px;
  height: 30px;
  left: 22px;
  top: 4px;
  border-radius: 999px;
  background: #f5c7a2;
  border: 3px solid #111827;
}
.aac-symbol .body,
.aac-symbol .torso {
  width: 48px;
  height: 34px;
  left: 13px;
  top: 34px;
  border-radius: 18px 18px 10px 10px;
  background: var(--aac-color);
  border: 3px solid #111827;
}
.aac-symbol .point {
  width: 26px;
  height: 8px;
  top: 46px;
  background: #f5c7a2;
  border: 2px solid #111827;
  border-radius: 999px;
}
.aac-symbol .point.left { left: 4px; transform: rotate(28deg); }
.aac-symbol .point.right { right: 4px; transform: rotate(-28deg); }
.aac-symbol .hand,
.aac-symbol .palm,
.aac-symbol .done-hand {
  width: 24px;
  height: 46px;
  background: #ffd1ad;
  border: 3px solid #111827;
  border-radius: 16px 16px 10px 10px;
}
.aac-symbol .hand.one { left: 14px; top: 22px; transform: rotate(46deg); }
.aac-symbol .hand.two { right: 14px; top: 4px; transform: rotate(46deg); }
.aac-symbol .palm.left { left: 8px; top: 26px; transform: rotate(-16deg); }
.aac-symbol .palm.right { right: 8px; top: 26px; transform: rotate(16deg); }
.aac-symbol .block {
  width: 16px;
  height: 16px;
  background: #38bdf8;
  border: 3px solid #111827;
}
.aac-symbol .b1 { left: 16px; top: 8px; transform: rotate(-8deg); }
.aac-symbol .b2 { left: 30px; top: 26px; }
.aac-symbol .b3 { right: 14px; top: 12px; transform: rotate(8deg); }
.aac-symbol .bean {
  width: 58px;
  height: 42px;
  left: 8px;
  top: 22px;
  border-radius: 999px 999px 20px 20px;
  background: #60a5fa;
  border: 3px solid #111827;
}
.aac-symbol .sleep-head {
  width: 26px;
  height: 26px;
  left: 26px;
  top: 12px;
  border-radius: 999px;
  background: #ffd1ad;
  border: 3px solid #111827;
}
.aac-symbol .sleep-body {
  width: 34px;
  height: 26px;
  left: 22px;
  top: 36px;
  border-radius: 14px;
  background: #22c55e;
  border: 3px solid #111827;
}
.aac-symbol .octagon {
  width: 62px;
  height: 62px;
  left: 6px;
  top: 5px;
  background: #ef4444;
  clip-path: polygon(30% 0,70% 0,100% 30%,100% 70%,70% 100%,30% 100%,0 70%,0 30%);
  border: 0;
}
.aac-symbol-stop::after {
  content: "STOP";
  position: absolute;
  left: 10px;
  top: 27px;
  color: white;
  font-size: 15px;
  font-weight: 1000;
}
.aac-symbol .done-hand.left { left: 14px; top: 24px; transform: rotate(-10deg); }
.aac-symbol .done-hand.right { right: 14px; top: 24px; transform: rotate(10deg); }
.aac-symbol .done-line {
  width: 4px;
  height: 18px;
  top: 4px;
  background: #111827;
  border-radius: 999px;
}
.aac-symbol .l1 { left: 28px; transform: rotate(-18deg); }
.aac-symbol .l2 { right: 28px; transform: rotate(18deg); }
.aac-symbol .circle {
  width: 62px;
  height: 62px;
  left: 6px;
  top: 5px;
  border-radius: 999px;
  background: var(--aac-color);
  border: 3px solid #111827;
}
.aac-symbol .check {
  width: 40px;
  height: 22px;
  left: 18px;
  top: 24px;
  border-left: 8px solid white;
  border-bottom: 8px solid white;
  transform: rotate(-45deg);
}
.aac-symbol .x {
  width: 50px;
  height: 8px;
  left: 12px;
  top: 33px;
  background: white;
  border-radius: 999px;
}
.aac-symbol .x.one { transform: rotate(45deg); }
.aac-symbol .x.two { transform: rotate(-45deg); }
.aac-symbol .face {
  width: 62px;
  height: 62px;
  left: 6px;
  top: 5px;
  border-radius: 999px;
  background: #facc15;
  border: 3px solid #111827;
}
.aac-symbol .eye {
  width: 8px;
  height: 8px;
  top: 28px;
  border-radius: 999px;
  background: #111827;
}
.aac-symbol .eye.left { left: 26px; }
.aac-symbol .eye.right { right: 26px; }
.aac-symbol .mouth {
  width: 30px;
  height: 14px;
  left: 22px;
  top: 42px;
  border-bottom: 5px solid #111827;
  border-radius: 0 0 999px 999px;
}
.aac-symbol .pain {
  width: 18px;
  height: 18px;
  right: 8px;
  top: 30px;
  border-radius: 999px;
  background: #ef4444;
  border: 3px solid #111827;
}
.aac-symbol .door {
  width: 42px;
  height: 60px;
  left: 16px;
  top: 6px;
  border-radius: 8px;
  background: #bae6fd;
  border: 3px solid #111827;
}
.aac-symbol .person-dot {
  width: 10px;
  height: 10px;
  right: 24px;
  top: 34px;
  border-radius: 999px;
  background: #111827;
}
.aac-symbol .plate {
  width: 46px;
  height: 46px;
  left: 6px;
  top: 18px;
  border-radius: 999px;
  background: white;
  border: 4px solid #111827;
}
.aac-symbol .cup {
  width: 24px;
  height: 34px;
  right: 6px;
  top: 18px;
  border-radius: 4px 4px 12px 12px;
  background: #60a5fa;
  border: 3px solid #111827;
}
.aac-symbol {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 112px;
  height: 100px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--aac-color);
  box-shadow: none;
}
.aac-dock.large .aac-symbol {
  max-width: 138px;
  height: 132px;
}
.aac-symbol svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.platform-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px clamp(16px, 4vw, 42px) 80px;
}
#profile, #modules, #session, #progress, #coloring {
  scroll-margin-top: 210px;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .96;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}
h3 { margin-bottom: 10px; font-size: 24px; }
p, li { color: var(--muted); line-height: 1.6; font-size: 17px; }

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: center;
  min-height: 420px;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .64)),
    radial-gradient(circle at 82% 20%, rgba(249, 199, 79, .3), transparent 18rem);
  box-shadow: var(--shadow);
}
.hero-actions, .session-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.primary-action, .secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 950;
  cursor: pointer;
}
.primary-action { color: white; background: var(--blue); border-color: var(--blue); box-shadow: 0 12px 26px rgba(37, 99, 235, .24); }
.secondary-action { color: var(--ink); background: white; }
.form-action { width: 100%; margin-top: 18px; }
.summary-panel, .token-board {
  min-height: 250px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  border-radius: 26px;
  color: white;
  background: linear-gradient(145deg, #172033, #19376d);
  box-shadow: 0 24px 60px rgba(23, 32, 51, .2);
}
.summary-panel span, .token-board span {
  color: #bae6fd;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.summary-panel strong { font-size: 40px; line-height: 1; }
.summary-panel small { color: rgba(255, 255, 255, .78); font-weight: 800; }

.safety-note {
  display: flex;
  gap: 12px;
  margin: 22px 0;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(249, 199, 79, .42);
  background: rgba(249, 199, 79, .18);
  color: #6b4e00;
  line-height: 1.5;
}

.two-column, .practice-grid {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(320px, 1.1fr);
  gap: 22px;
  align-items: start;
  margin-top: 38px;
}
.panel-card, .session-card, .practice-shell {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 14px 44px rgba(23, 32, 51, .08);
}
.panel-card, .session-card { padding: clamp(20px, 4vw, 30px); }
.practice-shell {
  margin-top: 54px;
  padding: clamp(22px, 4vw, 34px);
}
label {
  display: block;
  margin: 14px 0 7px;
  color: #30394d;
  font-weight: 850;
}
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
}
textarea { min-height: 104px; resize: vertical; }
.fine-print { color: var(--muted); font-size: 14px; line-height: 1.5; }
.engine-steps { display: grid; gap: 12px; }
.engine-steps div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .75);
}
.engine-steps strong, .engine-steps span { display: block; }
.engine-steps span { color: var(--muted); margin-top: 4px; }

.modules-section { margin-top: 54px; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
}
.section-head span { color: var(--muted); font-weight: 800; max-width: 420px; text-align: right; }
.section-head.compact { margin-bottom: 22px; }
.module-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.module-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.module-filter {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}
.module-filter.active {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}
.module-card {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 12px 34px rgba(23, 32, 51, .07);
}
.module-card.active {
  color: white;
  background: linear-gradient(135deg, #172033, #1f5f8f);
}
.module-card.active p, .module-card.active span { color: rgba(255, 255, 255, .76); }
.module-card span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.module-card h3 { font-size: 20px; margin-bottom: 0; }
.module-card p { font-size: 14px; margin-bottom: 0; }
.module-card button { width: 100%; margin-top: auto; }

.token-board {
  min-height: 112px;
  min-width: 150px;
}
.token-board strong { font-size: 48px; line-height: .9; }
.trial-prompt {
  min-height: 180px;
  padding: 22px;
  border-radius: 22px;
  background: #eff6ff;
  border: 1px solid rgba(37, 99, 235, .16);
}
.trial-prompt span {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.trial-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.score-btn {
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-weight: 950;
}
.score-btn.independent { border-color: rgba(22, 163, 74, .35); background: rgba(22, 163, 74, .1); }
.score-btn.prompted { border-color: rgba(37, 99, 235, .35); background: rgba(37, 99, 235, .09); }
.score-btn.incorrect { border-color: rgba(249, 115, 91, .35); background: rgba(249, 115, 91, .1); }
.score-btn.no-response { border-color: rgba(91, 101, 119, .28); }
.metric-stack, .progress-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.metric-stack div, .progress-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}
.metric-stack strong, .progress-grid strong {
  display: block;
  font-size: 30px;
}
.metric-stack span, .progress-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}
.coach-box {
  margin-top: 16px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(15, 159, 143, .1);
  border: 1px solid rgba(15, 159, 143, .2);
}
.progress-list { display: grid; gap: 10px; margin-top: 16px; }
.progress-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.progress-item strong, .progress-item span { display: block; }
.progress-item span { color: var(--muted); font-size: 13px; margin-top: 3px; }
.reward-panel p { margin-bottom: 14px; }
.reward-wallet {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}
.reward-wallet strong { font-size: 42px; }
.reward-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.reward-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}
.reward-card.locked { opacity: .58; }
.reward-card strong { display: block; }
.reward-card span { color: var(--muted); font-size: 13px; font-weight: 850; }
.coloring-studio {
  margin-top: 54px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .72)),
    radial-gradient(circle at 88% 18%, rgba(249, 199, 79, .25), transparent 22rem);
  box-shadow: var(--shadow);
}
.coloring-shell {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 18px;
}
.coloring-browser, .coloring-workspace {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .86);
}
.coloring-browser > strong {
  display: block;
  margin: 2px 0 10px;
}
.coloring-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.coloring-chip {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}
.coloring-chip.active {
  color: white;
  background: var(--teal);
  border-color: var(--teal);
}
.design-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 520px;
  overflow: auto;
  padding-right: 4px;
}
.design-card {
  min-height: 112px;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 12px;
  border: 2px solid transparent;
  border-radius: 16px;
  background: #f8fafc;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.design-card span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: var(--design-accent);
  font-weight: 1000;
}
.design-card strong { line-height: 1.1; }
.design-card small { color: var(--muted); font-weight: 850; }
.design-card.active {
  border-color: var(--design-accent);
  background: white;
  box-shadow: 0 12px 28px rgba(23, 32, 51, .09);
}
.coloring-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
.coloring-toolbar strong, .coloring-toolbar span { display: block; }
.coloring-toolbar span { color: var(--muted); font-size: 14px; font-weight: 800; }
.coloring-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.color-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.palette-btn {
  width: 44px;
  height: 44px;
  border: 3px solid white;
  border-radius: 14px;
  background: var(--swatch);
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(23, 32, 51, .22), 0 8px 18px rgba(23, 32, 51, .08);
}
.palette-btn.active {
  box-shadow: 0 0 0 4px var(--ink), 0 12px 24px rgba(23, 32, 51, .16);
}
.coloring-page {
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(45deg, rgba(37, 99, 235, .06) 25%, transparent 25% 50%, rgba(37, 99, 235, .06) 50% 75%, transparent 75%),
    white;
  background-size: 28px 28px;
}
.coloring-svg {
  width: min(100%, 900px);
  height: auto;
  display: block;
}
.coloring-svg text {
  fill: var(--ink);
  font-size: 34px;
  font-weight: 1000;
  paint-order: stroke;
  stroke: white;
  stroke-width: 8px;
  stroke-linejoin: round;
}
.color-region {
  stroke: #111827;
  stroke-width: 7px;
  stroke-linejoin: round;
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
}
.color-region:hover {
  filter: drop-shadow(0 10px 14px rgba(37, 99, 235, .2));
}
.page-bg { stroke-width: 5px; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 60;
  max-width: min(92vw, 620px);
  padding: 14px 18px;
  border-radius: 999px;
  background: #172033;
  color: white;
  font-weight: 900;
  box-shadow: 0 18px 46px rgba(23, 32, 51, .28);
  transform: translateX(-50%) translateY(130%);
  transition: transform .25s ease;
}
.toast.show { transform: translateX(-50%) translateY(0); }

@media (max-width: 1100px) {
  .dashboard-hero, .two-column, .practice-grid { grid-template-columns: 1fr; }
  .coloring-shell { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aac-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .design-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: none; }
}
@media (max-width: 680px) {
  .app-header { align-items: flex-start; }
  .app-brand small { display: none; }
  .app-nav { font-size: 13px; gap: 10px; }
  .aac-dock {
    position: relative;
    top: auto;
    max-height: 310px;
    overflow: hidden;
  }
  .aac-grid, .aac-dock.large .aac-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }
  .aac-btn, .aac-dock.large .aac-btn {
    min-width: 176px;
    min-height: 178px;
    scroll-snap-align: start;
  }
  .aac-dock.large .aac-btn strong { font-size: 24px; }
  .aac-dock.large .aac-symbol {
    max-width: 112px;
    height: 100px;
  }
  .module-grid, .trial-buttons, .metric-stack, .progress-grid, .reward-grid, .design-grid { grid-template-columns: 1fr; }
  .coloring-toolbar { display: block; }
  .coloring-actions { justify-content: flex-start; margin-top: 12px; }
  .coloring-page { min-height: 360px; }
  .section-head { display: block; }
  .section-head span { display: block; text-align: left; }
  .safety-note { display: grid; }
  h1 { font-size: clamp(38px, 12vw, 54px); }
}

@media print {
  .app-header, .aac-dock, .dashboard-hero, .safety-note, #profile, #modules, #session, #progress, .coloring-browser, .coloring-toolbar, .color-palette, .toast { display: none !important; }
  body { background: white; }
  .platform-main, .coloring-studio, .coloring-workspace, .coloring-page { margin: 0; padding: 0; border: 0; box-shadow: none; background: white; }
  .coloring-shell { display: block; }
  .coloring-svg { width: 100%; }
}
