/* Five approved-review directions for 5BMath. The default is Vườn Khám Phá.
   Themes alter visual surfaces, not page layouts, mascot rendering or result states. */
:root {
  --green: #1f6248;
  --green-hover: #184f3b;
  --orange: #ffbe73;
  --cream: #fff9ed;
  --ink: #203a32;
  --muted: #46594d;
  --paper: #fffdf5;
  --garden: #edf3df;
  --leaf: #dcecc9;
  --mint: #e3f0e5;
  --peach: #ffe6c9;
  --line: #b4c9aa;
  --edge: #658a70;
  --radius-card: 24px;
  --radius-control: 15px;
  --shadow: 0 9px 24px #203a3212;
  --theme-body: radial-gradient(ellipse at 2% 5%, #e5efcf 0, transparent 36%), radial-gradient(ellipse at 100% 78%, #edf2da 0, transparent 36%), #fff9ed;
  --theme-surface: #fffdf5;
  --theme-surface-pattern: none;
  --theme-card-edge: #58816a;
  --theme-card-shadow: 0 0 0 1px #58816a, 0 4px 0 #dce7ca;
  --theme-hero: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 125'%3E%3Cg fill='%237da85c' opacity='.65'%3E%3Cpath d='M149 121C112 95 119 61 135 46c21 18 24 42 14 75Z'/%3E%3Cpath d='M150 121c-4-41 12-72 29-80 10 30-3 58-29 80Z'/%3E%3Cpath d='M129 125c-30-2-49-16-50-32 25-4 43 9 50 32Z'/%3E%3C/g%3E%3C/svg%3E") right bottom / 180px 125px no-repeat, radial-gradient(ellipse at 92% 108%, #bad692 0 14%, transparent 14.4%), radial-gradient(ellipse at 76% 115%, #d5e6b7 0 31%, transparent 31.4%), linear-gradient(115deg, #fff9ed 22%, #f4f5df 100%);
  --theme-hero-shadow: inset 0 7px 0 #1f6248, inset 0 -5px 0 #1f6248, 0 5px 0 #e5d7b7;
  --theme-button-shadow: 0 3px 0 #123c2b;
  --theme-button-image: linear-gradient(180deg, #ffffff0b, #00000005);
  --theme-nav: #deedc9;
  --theme-nav-shadow: inset 3px 0 #1f6248;
  --theme-note: #fff1d9;
  --theme-marker: #ffbe73c9;
  --theme-soft: #f0f4e5;
}

html[data-theme="morning-garden"] {
  --paper: #fffef9;
  --garden: #eef6e7;
  --leaf: #e1efd4;
  --mint: #e5f2e8;
  --peach: #ffedda;
  --line: #d2dfc8;
  --edge: #82a185;
  --radius-card: 24px;
  --radius-control: 13px;
  --shadow: 0 10px 28px #284f3610;
  --theme-body: radial-gradient(ellipse at 4% 0, #e8f2dd 0, transparent 35%), radial-gradient(ellipse at 98% 90%, #edf5e3 0, transparent 34%), #fff9ed;
  --theme-surface: #fffef9;
  --theme-card-edge: #d2dfc8;
  --theme-card-shadow: 0 3px 8px #38593d08;
  --theme-hero: radial-gradient(ellipse at 88% 104%, #cce5b4 0 17%, transparent 17.4%), radial-gradient(circle at 78% 45%, #ffe4a6b0 0 24%, transparent 24.4%), linear-gradient(120deg, #eef8e9, #e4f1dc);
  --theme-hero-shadow: 0 5px 22px #35543b0a;
  --theme-button-shadow: 0 2px 3px #1f62481a;
  --theme-button-image: linear-gradient(180deg, #ffffff08, transparent);
  --theme-nav: #e3efd8;
  --theme-nav-shadow: none;
  --theme-note: #eff5e6;
  --theme-marker: #ffce8bc9;
  --theme-soft: #f4f8ee;
}

html[data-theme="crayon-workshop"] {
  --paper: #fffaf0;
  --garden: #edf0d9;
  --leaf: #dfebc9;
  --mint: #e7edda;
  --peach: #ffe2c4;
  --line: #b7c29d;
  --edge: #628166;
  --radius-card: 22px;
  --radius-control: 14px;
  --shadow: 0 7px 17px #483d2810;
  --theme-body: radial-gradient(#a4875a0d .65px, transparent .8px) 0 0 / 5px 5px, #fff9ed;
  --theme-surface: #fffbf2;
  --theme-surface-pattern: radial-gradient(#9075520a .55px, transparent .75px);
  --theme-card-edge: #7f9874;
  --theme-card-shadow: 0 0 0 1px #7f98744d, 1px 3px 0 #d9ddc04d;
  --theme-hero: radial-gradient(#b883460f .65px, transparent .85px) 0 0 / 5px 5px, linear-gradient(105deg, #ffead3, #ffe1bb);
  --theme-hero-shadow: inset 0 0 0 1px #d7ae7c40;
  --theme-button-shadow: 1px 3px 0 #b2b998;
  --theme-button-image: radial-gradient(#fff9ed1a .7px, transparent .85px);
  --theme-nav: #e4ebce;
  --theme-nav-shadow: inset 3px 0 #567c4b;
  --theme-note: #fff0d4;
  --theme-marker: #ffce81df;
  --theme-soft: #f5f2e1;
}

html[data-theme="clay-sprout"] {
  --paper: #fffaf0;
  --garden: #eaf0d8;
  --leaf: #e1ebc4;
  --mint: #e1eed9;
  --peach: #ffe6c8;
  --line: #e1d7bd;
  --edge: #9aaa83;
  --radius-card: 27px;
  --radius-control: 19px;
  --shadow: 0 8px 18px #67502b12;
  --theme-body: radial-gradient(ellipse at 5% 9%, #edf0d9 0, transparent 31%), radial-gradient(ellipse at 97% 100%, #fae6c5 0, transparent 30%), #fff9ed;
  --theme-surface: #fffaf0;
  --theme-card-edge: #eadfc5;
  --theme-card-shadow: inset 0 2px 1px #ffffff, 0 3px 3px #9c7e4130, 0 7px 16px #80602e0b;
  --theme-hero: radial-gradient(ellipse at 88% 106%, #c3d8a4 0 22%, transparent 22.4%), radial-gradient(#597d3e0c .65px, transparent .85px) 0 0 / 5px 5px, linear-gradient(110deg, #e4efce, #d5e7c3);
  --theme-hero-shadow: inset 0 2px 3px #ffffffbd, 0 3px 3px #9d8e6330, 0 9px 18px #58401b09;
  --theme-button-shadow: inset 0 2px 2px #ffffff38, inset 0 -2px 2px #123c2b38, 0 3px 3px #153d2b30;
  --theme-button-image: linear-gradient(180deg, #ffffff14, #00000005);
  --theme-nav: linear-gradient(180deg, #e7f0d0, #d9e6bc);
  --theme-nav-shadow: inset 0 1px #ffffffb3, 0 2px 2px #71835b1a;
  --theme-note: #f5f1da;
  --theme-marker: #ffd18b;
  --theme-soft: #f5f1e1;
}

html[data-theme="garden-notebook"] {
  --paper: #fffdf4;
  --garden: #eef1de;
  --leaf: #deebd1;
  --mint: #e7efde;
  --peach: #ffebca;
  --line: #b8c7a7;
  --edge: #6f8f6d;
  --radius-card: 16px;
  --radius-control: 10px;
  --shadow: 0 6px 15px #203a320c;
  --theme-body: linear-gradient(#709c7124 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, #709c7124 1px, transparent 1px) 0 0 / 28px 28px, #fff9ed;
  --theme-surface: #fffdf4;
  --theme-card-edge: #94ae85;
  --theme-card-shadow: 3px 4px 0 #e7eddb;
  --theme-hero: linear-gradient(105deg, #fffdf4 30%, #f2f5e5);
  --theme-hero-shadow: 3px 4px 0 #e1e9d5;
  --theme-button-shadow: 0 2px 0 #c5d3b9;
  --theme-button-image: none;
  --theme-nav: #deebd2;
  --theme-nav-shadow: inset 3px 0 #1f6248;
  --theme-note: #fff2d8;
  --theme-marker: #ffc96cce;
  --theme-soft: #f3f4e7;
}

html body {
  background: var(--theme-body);
  color: var(--ink);
}
html body.learning-mode {
  --app-paper: var(--paper);
  --app-line: var(--line);
  --app-soft: var(--theme-soft);
  --app-radius: var(--radius-card);
  background: var(--theme-body);
}
html ::selection { background: #ffce91; color: #203a32; }
html :is(.site-header, .topbar, .staff-topbar, .sidebar, .staff-sidebar) {
  background-color: var(--paper);
  border-color: var(--line);
}
html body.learning-mode :is(.topbar, .sidebar) { background-color: var(--paper); }
html :is(.panel, .card, .stat, .activity),
html body.learning-mode :is(.card, .stat) {
  background-color: var(--theme-surface);
  background-image: var(--theme-surface-pattern);
  background-size: 5px 5px;
  border-color: var(--theme-card-edge);
  border-radius: var(--radius-card);
  box-shadow: var(--theme-card-shadow);
}
html :is(.card, .activity):hover,
html body.learning-mode :is(.shortcut, .topic):hover {
  border-color: var(--green);
  box-shadow: var(--theme-card-shadow), var(--shadow);
}
html :is(.hero, .page-head), html body.learning-mode .hero-app {
  background: var(--theme-hero);
  color: var(--ink);
  border: 1px solid var(--theme-card-edge);
  border-radius: var(--radius-card);
  box-shadow: var(--theme-hero-shadow);
}
html body.learning-mode .hero-copy :is(h1, h2) { color: var(--ink); line-height: 1.16; }
html body.learning-mode .hero-copy p { color: var(--muted); }
html body.learning-mode .hero-app .tag.light { color: var(--green); background: var(--peach); }
html body.learning-mode .hero-art::before { background: #ffd69457; }
html body.learning-mode .hero-art::after { border-color: #709b6040; }
html body.learning-mode .hero-art .mascot-art { filter: drop-shadow(0 8px 8px #30532b1f); }
html body.learning-mode .feature-row.sage { background-color: var(--mint); }
html body.learning-mode .feature-row.peach { background-color: var(--peach); }
html :is(.btn, .filter), html body.learning-mode .btn {
  border-radius: var(--radius-control);
}
html .btn.dark, html body.learning-mode .btn.dark,
html body.learning-mode .hero-app .btn.orange {
  background-color: var(--green);
  background-image: var(--theme-button-image);
  background-size: auto;
  border-color: var(--green);
  box-shadow: var(--theme-button-shadow);
  color: #fff;
}
html .btn.dark:hover, html body.learning-mode .btn.dark:hover,
html body.learning-mode .hero-app .btn.orange:hover { background-color: var(--green-hover); }
html .btn.outline, html body.learning-mode .btn.outline {
  background-color: var(--paper);
  border-color: var(--edge);
  color: var(--ink);
}
html .btn.orange { background-color: var(--orange); color: var(--ink); }
html .btn.outline:hover, html body.learning-mode .btn.outline:hover { background-color: var(--garden); }
html .btn:active:not(:disabled) { box-shadow: none; }
html .btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
html .btn:disabled { box-shadow: none; }
html body.learning-mode .navigation a[aria-current],
html .staff-sidebar nav [aria-current="page"] {
  background: var(--theme-nav);
  color: var(--green);
  box-shadow: var(--theme-nav-shadow);
}
html body.learning-mode .navigation a:hover { background-color: var(--leaf); }
html :is(.hero h1 em, mark, .content-highlight) {
  background: linear-gradient(transparent 27%, var(--theme-marker) 27% 94%, transparent 94%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-radius: 4px;
  color: var(--ink);
  padding-inline: .08em;
  text-decoration: none;
}
html body.learning-mode .learning-notice {
  background: var(--theme-note);
  border-inline-start: 3px solid var(--orange);
  border-radius: 0 11px 11px 0;
  padding: 10px 12px;
  color: var(--muted);
  line-height: 1.6;
}
html :is(.hint, .example) { border-color: var(--edge); }
html .hint { background-color: var(--theme-note); }

/* Different materials stay on decorative surfaces; lesson and answer text stays crisp. */
html[data-theme="garden-adventure"] :is(.activity-icon, .step-number),
html:not([data-theme]) :is(.activity-icon, .step-number),
html[data-theme="garden-adventure"] body.learning-mode .shortcut .tile,
html:not([data-theme]) body.learning-mode .shortcut .tile {
  border: 1px solid #68905c;
  box-shadow: 0 2px 0 #c9dcb7;
}
html[data-theme="garden-adventure"] :is(.section-head h2, .intro h1),
html:not([data-theme]) :is(.section-head h2, .intro h1) { text-wrap: balance; }
html[data-theme="crayon-workshop"] :is(.hero, .page-head),
html[data-theme="crayon-workshop"] body.learning-mode .hero-app { border-style: dashed; }
html[data-theme="crayon-workshop"] :is(.activity, .shortcut, .topic) { border-style: dashed; }
html[data-theme="crayon-workshop"] :is(.eyebrow, .pill),
html[data-theme="crayon-workshop"] body.learning-mode .hero-app .tag {
  border-radius: 5px 11px 4px 8px;
}
html[data-theme="crayon-workshop"] .hero h1 em {
  background: linear-gradient(transparent 74%, var(--theme-marker) 74% 95%, transparent 95%);
}
html[data-theme="crayon-workshop"] .btn.dark { background-size: 5px 5px; }
html[data-theme="clay-sprout"] :is(.activity-icon, .step-number),
html[data-theme="clay-sprout"] body.learning-mode :is(.shortcut .tile, .sidebar-pet) {
  box-shadow: inset 0 2px 2px #ffffffbf, 0 2px 2px #87784d26;
}
html[data-theme="clay-sprout"] .btn.outline { box-shadow: inset 0 1px #fff, 0 2px 2px #6c6e4020; }
html[data-theme="clay-sprout"] body.learning-mode .shortcut:nth-child(2) { background-color: #fff0d9; }
html[data-theme="clay-sprout"] body.learning-mode .shortcut:nth-child(3) { background-color: #ffead5; }
html[data-theme="garden-notebook"] :is(.eyebrow, .pill),
html[data-theme="garden-notebook"] body.learning-mode .hero-app .tag { border-radius: 5px; }
html[data-theme="garden-notebook"] :is(.activity-icon, .step-number),
html[data-theme="garden-notebook"] body.learning-mode .shortcut .tile { border-radius: 7px 14px 7px 7px; }
html[data-theme="garden-notebook"] .hero h1 em { background-color: #ffdb9c40; }

/* Account appearance picker. Each preview uses its own palette regardless of active theme. */
html body.learning-mode .theme-settings { margin-top: 21px; }
.theme-settings { min-width: 0; }
.theme-settings > p { max-width: 75ch; }
.theme-settings-heading { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px 18px; }
.theme-settings-heading > div { min-width: 0; }
.theme-settings-heading .eyebrow { display: block; margin-bottom: 5px; }
.theme-settings-heading p { margin-top: 7px; max-width: 68ch; }
.theme-fieldset { min-width: 0; padding: 0; margin: 19px 0 0; border: 0; }
.theme-fieldset > legend { margin-bottom: 0; padding: 0; font-size: 13px; font-weight: 750; }
.theme-fieldset .theme-options { margin-top: 10px; }
.theme-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 19px 0 0;
  border: 0;
  min-width: 0;
}
.theme-options > legend { margin-bottom: 10px; font-size: 13px; font-weight: 700; }
.theme-option {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 8px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.theme-option:hover { border-color: #82a27a; }
.theme-option:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 2px #1f624815; }
.theme-option:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 4px; }
.theme-option input[name="appearance-theme"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.theme-option-check {
  position: absolute;
  inset: 15px 15px auto auto;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 2px solid #72916b;
  border-radius: 50%;
  background: #fffdf4;
  color: transparent;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}
.theme-option-check::before { content: "✓"; }
.theme-option:has(input:checked) .theme-option-check { border-color: var(--green); background: var(--green); color: #fff; }
.theme-option-copy { display: block; padding: 11px 5px 5px; }
.theme-option-copy strong { display: block; font-size: 15px; line-height: 1.4; }
.theme-option-copy > span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.theme-option-copy > small { display: inline-block; margin-top: 6px; padding: 2px 6px; border-radius: 5px; background: var(--leaf); color: var(--green); font-size: 11px; line-height: 1.5; }
.theme-preview {
  --preview-bg: #fff9ed;
  --preview-panel: #fffcf1;
  --preview-hero: #e8f0d8;
  --preview-edge: #c3d4b4;
  --preview-radius: 8px;
  --preview-shadow: none;
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 11px;
  background: var(--preview-bg);
  border: 1px solid var(--preview-edge);
  border-radius: 11px;
  pointer-events: none;
}
.theme-preview-bar { display: flex; align-items: center; gap: 4px; width: 100%; height: 6px; }
.theme-preview-bar i { display: block; width: 8%; height: 4px; border-radius: 3px; background: #819871; }
.theme-preview-bar i:first-child { width: 34%; height: 6px; margin-inline-end: auto; background: #1f6248; }
.theme-preview-hero {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 57px;
  padding: 10px 12px;
  border: 1px solid var(--preview-edge);
  border-radius: var(--preview-radius);
  background: var(--preview-hero);
  box-shadow: var(--preview-shadow);
}
.theme-preview-heading { display: block; width: 100%; color: #264e38; font-size: 12px; line-height: 1.3; font-weight: 800; }
.theme-preview-actions { display: flex; align-items: center; gap: 7px; }
.theme-preview-actions :is(i, b) { display: block; width: 37px; height: 12px; border: 1px solid #1f6248; border-radius: 4px; background: #1f6248; }
.theme-preview-actions b { width: 30px; background: #ffbe73; }
.theme-preview-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.theme-preview-cards i {
  display: block;
  height: 27px;
  border: 1px solid var(--preview-edge);
  border-radius: var(--preview-radius);
  background: var(--preview-panel);
  box-shadow: var(--preview-shadow);
}
.theme-preview[data-preview-theme="morning-garden"] {
  --preview-bg: #f7faef;
  --preview-panel: #fffef9;
  --preview-hero: linear-gradient(120deg, #e7f5e4, #e4eed3);
  --preview-edge: #cadcbe;
  --preview-radius: 9px;
  --preview-shadow: 0 2px 4px #38593d0d;
}
.theme-preview[data-preview-theme="crayon-workshop"] {
  --preview-bg: radial-gradient(#a4875a1c .6px, transparent .8px) 0 0 / 4px 4px, #fff7e8;
  --preview-hero: #ffe4c6;
  --preview-edge: #6f8a64;
  --preview-radius: 6px 10px 7px 9px;
}
.theme-preview[data-preview-theme="crayon-workshop"] :is(.theme-preview-hero, .theme-preview-cards i) { border-style: dashed; }
.theme-preview[data-preview-theme="clay-sprout"] {
  --preview-bg: #fff1da;
  --preview-hero: linear-gradient(#e3edcd, #dbe8c5);
  --preview-edge: #ddcfac;
  --preview-radius: 13px;
  --preview-shadow: inset 0 1px #ffffffd9, 0 2px 2px #75643330;
}
.theme-preview[data-preview-theme="clay-sprout"] .theme-preview-actions :is(i, b) { box-shadow: inset 0 1px #ffffff55, 0 2px 1px #776d422b; border-radius: 8px; }
.theme-preview[data-preview-theme="garden-adventure"] {
  --preview-bg: #f3f4de;
  --preview-hero: linear-gradient(160deg, #fff8e7 68%, #dbe9b9 68%);
  --preview-edge: #1f6248;
  --preview-radius: 8px;
  --preview-shadow: 0 2px 0 #b9cda6;
}
.theme-preview[data-preview-theme="garden-adventure"] .theme-preview-hero { box-shadow: inset 0 4px #1f6248, var(--preview-shadow); }
.theme-preview[data-preview-theme="garden-notebook"] {
  --preview-bg: linear-gradient(#739b752e 1px, transparent 1px) 0 0 / 10px 10px, linear-gradient(90deg, #739b752e 1px, transparent 1px) 0 0 / 10px 10px, #fff9ed;
  --preview-hero: #fffef4;
  --preview-edge: #95ad86;
  --preview-radius: 4px;
  --preview-shadow: 2px 2px 0 #d9e5c8;
}
.theme-preview[data-preview-theme="garden-notebook"] .theme-preview-heading { background: linear-gradient(transparent 55%, #ffbe7380 55% 94%, transparent 94%); }
.theme-settings-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 18px; }
.theme-settings-actions .btn { min-height: 44px; margin-top: 0; }
.theme-settings-status { margin: 0; max-width: 72ch; font-size: 13px; line-height: 1.6; color: var(--muted); }
html body.learning-mode .theme-settings-status { margin-top: 12px; }
html body.learning-mode .theme-settings-status.is-error { color: #a52d3a; }

@media (max-width: 1100px) {
  .theme-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .theme-options { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .theme-option { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px; }
  .theme-preview { min-height: 106px; padding: 8px; gap: 6px; }
  .theme-preview-hero { min-height: 43px; padding: 8px; gap: 7px; }
  .theme-preview-heading { font-size: 10px; }
  .theme-preview-actions { gap: 4px; }
  .theme-preview-actions :is(i, b) { width: 26px; height: 10px; }
  .theme-preview-actions b { width: 23px; }
  .theme-preview-cards { gap: 4px; }
  .theme-preview-cards i { height: 19px; }
  .theme-option-copy { padding: 22px 0 4px; }
  .theme-option-copy strong { font-size: 14px; }
  .theme-option-copy > span { font-size: 12px; }
  .theme-option-check { inset: 11px 11px auto auto; width: 22px; height: 22px; font-size: 13px; }
  .theme-settings-actions { align-items: stretch; }
  .theme-settings-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-option { transition: none; }
}
@media (forced-colors: active) {
  .theme-option:has(input:checked) { border: 3px solid Highlight; }
  .theme-option-check { forced-color-adjust: none; border-color: ButtonText; background: Canvas; }
  .theme-option:has(input:checked) .theme-option-check { background: Highlight; color: HighlightText; border-color: Highlight; }
}

/* PA04 fidelity: the garden frame, illustrated shortcuts and warm callout are
   deliberate compositions, scoped away from lessons, exams and battle canvases. */
.garden-activity-art { display: none; }
.garden-dashboard > * + * { margin-top: 21px; }
.garden-welcome-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.garden-tip { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 15px; padding: 13px 17px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--theme-note); }
.garden-tip-label { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-weight: 800; }
.garden-tip-label svg { width: 24px; height: 24px; }
.garden-tip-copy { color: var(--ink); font-size: 14px; }
html[data-theme="garden-adventure"] {
  --garden-corner-leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 40'%3E%3Cg stroke='%230e5741' stroke-width='2.4' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M14 34C2 23 1 10 7 5c11 2 18 15 7 29Z' fill='%237fbd4c'/%3E%3Cpath d='M14 34C13 14 25 3 40 4c2 15-9 26-26 30Z' fill='%23b3d754'/%3E%3Cpath d='M14 35 8 15m6 20L32 12' fill='none'/%3E%3C/g%3E%3C/svg%3E");
  --theme-card-edge: #5e856a;
  --theme-card-shadow: 0 2px 0 #d8e5c4;
  --theme-nav: linear-gradient(100deg, #d2e6b6, #d9eac4);
  --theme-body: radial-gradient(ellipse at 0 0, #edf2d9 0, transparent 35%), radial-gradient(ellipse at 100% 100%, #eaf0d3 0, transparent 42%), #fff9ed;
}
html[data-theme="garden-adventure"] body.learning-mode .garden-dashboard {
  position: relative;
  isolation: isolate;
  padding-bottom: 28px;
}
html[data-theme="garden-adventure"] body.learning-mode .garden-dashboard::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 155px;
  background: url("theme-art/garden-border.svg") center bottom / 100% auto no-repeat;
  pointer-events: none;
}
html[data-theme="garden-adventure"] body.learning-mode .garden-dashboard > * + * { margin-top: 20px; }
html[data-theme="garden-adventure"] body.learning-mode .garden-welcome,
html[data-theme="garden-adventure"] .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 4px solid #0e5741;
  border-radius: 36px 39px 32px 34px;
  background: url("theme-art/garden-border.svg") center bottom / 100% auto no-repeat, #fff9ed;
  box-shadow: 0 5px 0 #0c513d, 0 11px 0 #eedbb6;
}
html[data-theme="garden-adventure"] body.learning-mode .garden-welcome::before,
html[data-theme="garden-adventure"] .hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  height: 28px;
  border-radius: 0 0 55% 13% / 0 0 40% 20%;
  background: #116547;
  pointer-events: none;
}
html[data-theme="garden-adventure"] body.learning-mode .garden-welcome::after,
html[data-theme="garden-adventure"] .hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 7px auto;
  height: 34px;
  background: var(--garden-corner-leaf) left top / 39px 34px no-repeat, var(--garden-corner-leaf) right top / 39px 34px no-repeat;
  pointer-events: none;
}
html[data-theme="garden-adventure"] .hero > * { position: relative; z-index: 1; }
html[data-theme="garden-adventure"] .hero { padding-top: 42px; }
html[data-theme="garden-adventure"] .hero h1 {
  font-weight: 800;
  letter-spacing: -.045em;
  text-wrap: balance;
  color: #073e31;
}
html[data-theme="garden-adventure"] .hero .pill {
  border: 1px solid #eca45d;
  background: linear-gradient(180deg, #ffcb87, #ffb864);
  color: #073e31;
  box-shadow: 0 2px 0 #ecc28d;
  font-weight: 800;
}
html[data-theme="garden-adventure"] body.learning-mode .garden-welcome {
  min-height: 326px;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, .92fr);
}
html[data-theme="garden-adventure"] body.learning-mode .garden-welcome .hero-copy {
  position: relative;
  z-index: 2;
  padding: 37px 0 35px clamp(22px, 3.2vw, 42px);
}
html[data-theme="garden-adventure"] body.learning-mode .garden-welcome-kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  max-width: 100%;
  padding: 0;
  color: #073e31;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
}
html[data-theme="garden-adventure"] body.learning-mode .garden-welcome-kicker .tag.light { padding: 7px 13px; border: 1px solid #eca35b; background: linear-gradient(180deg, #ffcb87, #ffb864); box-shadow: 0 2px 0 #edc18a; color: #073e31; }
html[data-theme="garden-adventure"] body.learning-mode .garden-welcome-kicker > span:not(.tag) { font-size: 11px; font-weight: 600; color: #46604b; }
html[data-theme="garden-adventure"] body.learning-mode .garden-welcome-heading {
  max-width: 12.8ch;
  margin-top: 14px;
  color: #073e31;
  font-size: clamp(35px, 4.4vw, 57px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.12;
  text-wrap: balance;
}
html[data-theme="garden-adventure"] body.learning-mode .garden-welcome-description {
  max-width: 43ch;
  margin-top: 13px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}
html[data-theme="garden-adventure"] body.learning-mode .garden-welcome .hero-art {
  align-self: stretch;
  z-index: 1;
  place-items: end center;
  padding: 21px 10px 0 0;
}
html[data-theme="garden-adventure"] body.learning-mode .garden-welcome .hero-art::before,
html[data-theme="garden-adventure"] body.learning-mode .garden-welcome .hero-art::after { content: none; }
html[data-theme="garden-adventure"] body.learning-mode .garden-welcome .hero-art .mascot-art {
  width: min(330px, 106%);
  max-width: none;
  margin-bottom: 0;
  filter: drop-shadow(0 7px 3px #214f2924);
}
html[data-theme="garden-adventure"] body.learning-mode .garden-welcome .orbit { top: 22%; right: 8%; color: #f7a446; }
html[data-theme="garden-adventure"] body.learning-mode .garden-welcome-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
html[data-theme="garden-adventure"] body.learning-mode .garden-welcome-actions .btn { margin-top: 0; }
html[data-theme="garden-adventure"] body.learning-mode .garden-welcome-actions .btn,
html[data-theme="garden-adventure"] .hero .btn {
  min-height: 48px;
  padding: 10px 21px;
  border: 2px solid #0d4e3d;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(180deg, #147455, #00533e);
  box-shadow: 0 4px 0 #073e30;
  font-size: 15px;
  font-weight: 800;
}
html[data-theme="garden-adventure"] body.learning-mode .garden-welcome-actions .btn.outline,
html[data-theme="garden-adventure"] .hero .btn.outline {
  background: linear-gradient(180deg, #ffcf91, #ffc477);
  box-shadow: 0 3px 0 #0d4e3d;
  color: #073e31;
}
html[data-theme="garden-adventure"] body.learning-mode .garden-welcome-actions .btn:hover,
html[data-theme="garden-adventure"] .hero .btn:hover { background: #0d6349; color: #fff; }
html[data-theme="garden-adventure"] body.learning-mode .garden-welcome-actions .btn.outline:hover,
html[data-theme="garden-adventure"] .hero .btn.outline:hover { background: #ffb963; color: #073e31; }
html[data-theme="garden-adventure"] body.learning-mode .garden-welcome-actions .btn:active,
html[data-theme="garden-adventure"] .hero .btn:active { box-shadow: none; }
html[data-theme="garden-adventure"] body.learning-mode .garden-dashboard .stats { gap: 12px; }
html[data-theme="garden-adventure"] body.learning-mode .garden-dashboard .stats .stat { min-height: 70px; padding: 12px 20px; border: 1px solid #b8cba6; border-radius: 16px; box-shadow: none; background: #fffdf3e6; }
html[data-theme="garden-adventure"] body.learning-mode .garden-activities-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 28px;
  color: #073e31;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
}
html[data-theme="garden-adventure"] body.learning-mode .garden-activities-heading::before,
html[data-theme="garden-adventure"] body.learning-mode .garden-activities-heading::after {
  content: "";
  flex: none;
  width: 21px;
  height: 32px;
  background: linear-gradient(55deg, transparent 43%, #ffb051 44% 60%, transparent 61%) 0 0 / 18px 15px no-repeat, linear-gradient(12deg, transparent 43%, #ffb051 44% 60%, transparent 61%) 0 17px / 17px 10px no-repeat;
}
html[data-theme="garden-adventure"] body.learning-mode .garden-activities-heading::after { transform: scaleX(-1); }
html[data-theme="garden-adventure"] body.learning-mode .garden-activities-heading h2 { color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; }
html[data-theme="garden-adventure"] body.learning-mode .garden-shortcuts { position: relative; isolation: isolate; margin-top: 44px; gap: 30px; }
html[data-theme="garden-adventure"] body.learning-mode .garden-shortcuts::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 15px 6% 18px;
  border: 4px dashed #70a644;
  border-inline: 0;
  border-radius: 50%;
  transform: rotate(-3deg);
  pointer-events: none;
}
html[data-theme="garden-adventure"] body.learning-mode .garden-shortcut {
  position: relative;
  min-height: 164px;
  padding: 43px 18px 19px;
  border: 3px solid #0c5741;
  border-radius: 24px;
  background: #fff9ed;
  box-shadow: 0 5px 0 #0e6148, 3px 8px 0 #c7dda9;
  text-align: center;
}
html[data-theme="garden-adventure"] body.learning-mode .garden-shortcut:hover { background: #fff5e1; box-shadow: 0 5px 0 #0e6148, 3px 8px 0 #b9d98f; }
html[data-theme="garden-adventure"] body.learning-mode .garden-shortcut::after {
  content: "";
  position: absolute;
  inset: -18px 11px auto auto;
  width: 38px;
  height: 32px;
  background: var(--garden-corner-leaf) center / contain no-repeat;
  pointer-events: none;
}
html[data-theme="garden-adventure"] body.learning-mode .garden-shortcut .garden-classic-icon { display: none; }
html[data-theme="garden-adventure"] body.learning-mode .garden-shortcut .garden-activity-art {
  position: absolute;
  inset: -35px auto auto 50%;
  display: block;
  width: 91px;
  height: 78px;
  transform: translateX(-50%);
}
html[data-theme="garden-adventure"] body.learning-mode .garden-shortcut .garden-activity-art :is(img, svg) { display: block; width: 100%; height: 100%; object-fit: contain; }
html[data-theme="garden-adventure"] body.learning-mode .garden-shortcut h3 { color: #073e31; font-size: 23px; font-weight: 800; line-height: 1.2; }
html[data-theme="garden-adventure"] body.learning-mode .garden-shortcut p { margin-top: 7px; padding-right: 0; color: #203a32; font-size: 14px; line-height: 1.5; }
html[data-theme="garden-adventure"] body.learning-mode .garden-shortcut .inline-arrow { right: 12px; bottom: 11px; color: #0d5b43; }
html[data-theme="garden-adventure"] body.learning-mode .garden-tip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px 17px;
  width: fit-content;
  max-width: 100%;
  margin: 32px auto 0;
  padding: 6px 15px 6px 6px;
  border: 2px solid #115a43;
  border-radius: 23px;
  background: #fffaf0;
  box-shadow: 0 3px 0 #d5e4b3;
  color: #203a32;
}
html[data-theme="garden-adventure"] body.learning-mode .garden-tip-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 18px 25px 25px 18px;
  background: linear-gradient(120deg, #1b7652, #0c5a40);
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}
html[data-theme="garden-adventure"] body.learning-mode .garden-tip-label svg { width: 24px; height: 24px; color: #afd56a; }
html[data-theme="garden-adventure"] body.learning-mode .garden-tip-copy { font-size: 15px; line-height: 1.7; }
html[data-theme="garden-adventure"] body.learning-mode .garden-tip mark { padding: 3px 7px; border-radius: 12px 6px 12px 7px; background: #ffc27d; color: #073e31; font-weight: 800; white-space: nowrap; }

@media (min-width: 641px) {
  html[data-theme="garden-adventure"] body.learning-mode .garden-welcome { background-position: center calc(100% + 46px); }
}
@media (max-width: 1100px) and (min-width: 641px) {
  html[data-theme="garden-adventure"] body.learning-mode .garden-welcome-heading { font-size: clamp(33px, 4vw, 45px); }
  html[data-theme="garden-adventure"] body.learning-mode .garden-welcome .hero-copy { padding-left: 24px; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-welcome-actions .btn { padding-inline: 14px; font-size: 14px; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-shortcuts { gap: 20px; }
}
@media (max-width: 640px) {
  html[data-theme="garden-adventure"] body.learning-mode .garden-dashboard { padding-bottom: 22px; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-dashboard::after { height: 115px; background-size: 100% auto; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-welcome {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    align-items: start;
    gap: 0 4px;
    min-height: 0;
    padding: 28px 12px 16px;
    border-width: 3px;
    border-radius: 24px;
    background-size: 100% auto;
  }
  html[data-theme="garden-adventure"] body.learning-mode .garden-welcome::before { height: 20px; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-welcome::after,
  html[data-theme="garden-adventure"] .hero::after { height: 25px; background-size: 29px 25px; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-welcome .hero-copy { display: contents; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-welcome-kicker { grid-column: 1; grid-row: 1; font-size: 10px; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-welcome-kicker .tag.light { padding: 5px 9px; font-size: 10px; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-welcome-kicker > span:not(.tag) { font-size: 10px; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-welcome-heading { grid-column: 1; grid-row: 2; margin-top: 12px; font-size: clamp(22px, 6.4vw, 28px); line-height: 1.15; max-width: none; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-welcome-description { grid-column: 1; grid-row: 3; font-size: 12px; margin-top: 9px; line-height: 1.5; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-welcome .hero-art { grid-column: 2; grid-row: 1 / 4; padding: 8px 0 0; align-self: stretch; place-items: center; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-welcome .hero-art .mascot-art { width: 116%; margin-inline: -8%; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-welcome-actions { grid-column: 1 / -1; grid-row: 4; position: relative; z-index: 2; width: 100%; gap: 8px; margin-top: 16px; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-welcome-actions .btn { width: 100%; min-height: 44px; padding: 8px 9px; border-radius: 13px; font-size: 12px; gap: 6px; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-dashboard .stats { gap: 7px; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-dashboard .stats .stat { min-height: 0; padding: 9px 6px; border-radius: 12px; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-activities-heading { margin-top: 23px; justify-content: flex-start; flex-wrap: nowrap; gap: 6px; font-size: clamp(20px, 5.7vw, 23px); text-align: left; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-activities-heading h2 { min-width: 0; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-activities-heading::before { width: 15px; height: 27px; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-activities-heading::after { content: none; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-shortcuts { margin-top: 15px; gap: 13px; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-shortcuts::before { content: none; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-shortcut { min-height: 85px; padding: 15px 31px 15px 80px; border-width: 2px; border-radius: 18px; text-align: left; box-shadow: 0 3px 0 #0d5d44, 2px 5px 0 #d7e7bf; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-shortcut .garden-activity-art { inset: 15px auto auto 12px; width: 58px; height: 55px; transform: none; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-shortcut::after { inset: -10px 18px auto auto; width: 26px; height: 22px; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-shortcut h3 { font-size: 19px; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-shortcut p { font-size: 12px; line-height: 1.5; margin-top: 4px; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-shortcut .inline-arrow { right: 9px; bottom: 30px; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-tip { justify-content: flex-start; flex-wrap: nowrap; gap: 9px; margin-top: 22px; padding: 4px 7px 4px 4px; border-radius: 18px; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-tip-label { gap: 5px; padding: 9px 9px; border-radius: 13px 21px 21px 13px; font-size: 12px; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-tip-label svg { width: 19px; height: 19px; }
  html[data-theme="garden-adventure"] body.learning-mode .garden-tip-copy { font-size: 12px; }
  html[data-theme="garden-adventure"] .hero { border-width: 3px; border-radius: 26px; padding-top: 36px; }
  html[data-theme="garden-adventure"] .hero .btn { min-height: 46px; border-radius: 15px; font-size: 14px; }
}

/* Four remaining approved directions: fidelity refinements, 12 Nov 2026. */
.clay-activity-icon { display: none; }
/* Detailed compositions for the approved 01 and 05 boards only. */
html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) {
  --theme-tip-bulb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 38'%3E%3Cg stroke='%23c98d16' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M9 24C-1 13 5 5 15 5s17 8 7 19l-2 5H11Z' fill='%23ffdc67'/%3E%3Cpath d='m12 17 3 5 4-6m-4 6v7M11 30h9m-8 4h7M15 0v2M2 7l3 2m21-2-3 2M0 17h3m24 0h3' fill='none'/%3E%3C/g%3E%3C/svg%3E");
}
html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-dashboard > * + * { margin-top: 20px; }
html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-welcome-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; }
html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-welcome-kicker > span:not(.tag) { color: #45624c; font-size: 11px; line-height: 1.5; }
html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-welcome-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 21px; }
html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-welcome-actions .btn { min-height: 46px; margin-top: 0; padding: 10px 20px; font-size: 14px; }
html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-stats { gap: 12px; }
html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-stats .stat { min-height: 70px; padding: 12px 17px; }
html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-shortcut .garden-classic-icon { display: none; }
html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-shortcut .garden-activity-art :is(svg, img) { display: block; width: 100%; height: 100%; object-fit: contain; }
html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-activities-heading { justify-content: flex-start; align-items: center; gap: 10px; }
html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-tip-label { white-space: nowrap; }
html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-tip-label > svg { display: none; }
html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-tip-label::before { content: ""; flex: none; width: 27px; height: 32px; background: var(--theme-tip-bulb) center / contain no-repeat; }
html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-tip mark { color: #203a32; font-weight: 800; white-space: nowrap; }

/* 01 — Vườn Sương Mai: luminous mint, one apricot sun and airy white cards. */
html[data-theme="morning-garden"] {
  --morning-leaves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 160'%3E%3Cpath d='M0 143C130 99 235 151 375 153s301-32 434-26 266-24 391-6v39H0Z' fill='%23d8e9c3'/%3E%3Cg fill='%23b7d79b' opacity='.75'%3E%3Cpath d='M33 156C8 133 4 111 18 97c23 9 29 31 15 59Zm8 0c-5-34 8-57 26-61 11 27 1 49-26 61Zm1100 3c-28-43-23-83-3-100 28 22 27 63 3 100Zm0-1c11-53 31-75 56-73 4 36-17 64-56 73Z'/%3E%3C/g%3E%3C/svg%3E");
  --theme-body: radial-gradient(ellipse at 0 10%, #edf4e2 0, transparent 35%), radial-gradient(ellipse at 100% 88%, #edf3e0 0, transparent 38%), #fffaf0;
  --theme-hero: var(--morning-leaves) center bottom / 100% auto no-repeat, linear-gradient(110deg, #eef8e9, #e7f3df);
  --theme-card-edge: #d3dfc9;
  --theme-card-shadow: 0 3px 6px #37563409;
}
html[data-theme="morning-garden"] body.learning-mode .garden-welcome,
html[data-theme="morning-garden"] .hero { border: 0; border-radius: 28px; background: var(--theme-hero); box-shadow: none; }
html[data-theme="morning-garden"] body.learning-mode .garden-welcome { min-height: 308px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
html[data-theme="morning-garden"] body.learning-mode .garden-welcome .hero-copy { padding: 28px 0 29px clamp(23px, 3vw, 38px); }
html[data-theme="morning-garden"] body.learning-mode .garden-welcome-kicker .tag.light { padding: 7px 14px; border-radius: 999px; background: #d7ebc9; color: #164f3d; font-size: 12px; font-weight: 800; }
html[data-theme="morning-garden"] body.learning-mode .garden-welcome-heading { margin-top: 13px; color: #153f31; font-size: clamp(35px, 4.2vw, 55px); line-height: 1.13; font-weight: 800; letter-spacing: -.035em; }
html[data-theme="morning-garden"] body.learning-mode .garden-welcome-description { max-width: 47ch; margin-top: 13px; color: #344f3e; font-size: 15px; line-height: 1.6; }
html[data-theme="morning-garden"] body.learning-mode .garden-welcome .hero-art { position: relative; isolation: isolate; place-items: end center; padding: 12px 12px 0; }
html[data-theme="morning-garden"] body.learning-mode .garden-welcome .hero-art::before { inset: auto 5% 7% auto; width: 84%; height: auto; aspect-ratio: 1; border: 0; border-radius: 50%; background: #ffe0a0c9; }
html[data-theme="morning-garden"] body.learning-mode .garden-welcome .hero-art::after { content: none; }
html[data-theme="morning-garden"] body.learning-mode .garden-welcome .hero-art .mascot-art { width: min(310px, 103%); max-width: none; margin-bottom: 0; filter: drop-shadow(0 7px 5px #3d622622); }
html[data-theme="morning-garden"] body.learning-mode .garden-welcome .orbit { right: 9%; top: 24%; color: #f7b362; }
html[data-theme="morning-garden"] body.learning-mode .garden-welcome-actions .btn { border-radius: 13px; box-shadow: none; }
html[data-theme="morning-garden"] body.learning-mode .garden-welcome-actions .btn.orange { background: linear-gradient(180deg, #207450, #175c43); border-color: #176044; color: #fff; }
html[data-theme="morning-garden"] body.learning-mode .garden-welcome-actions .btn.outline { background: #fffef4c7; border-color: #447b53; color: #174c37; }
html[data-theme="morning-garden"] body.learning-mode .garden-welcome-actions .btn.orange:hover { background: #164f3b; }
html[data-theme="morning-garden"] body.learning-mode .garden-welcome-actions .btn.outline:hover { background: #f1f8e9; }
html[data-theme="morning-garden"] body.learning-mode .garden-stats .stat { border-color: #dde7d3; border-radius: 18px; background: #fffef9dc; box-shadow: none; }
html[data-theme="morning-garden"] body.learning-mode .garden-activities-heading h2 { color: #153f31; font-size: clamp(23px, 2.6vw, 31px); line-height: 1.25; letter-spacing: -.035em; font-weight: 800; }
html[data-theme="morning-garden"] body.learning-mode .garden-shortcuts { gap: 16px; margin-top: 14px; }
html[data-theme="morning-garden"] body.learning-mode .garden-shortcut {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) 18px;
  grid-template-areas: "art title arrow" "art copy arrow";
  align-items: center;
  column-gap: 12px;
  row-gap: 3px;
  min-height: 109px;
  padding: 16px;
  border: 1px solid #d3dfc9;
  border-radius: 22px;
  background: #fffef9;
  box-shadow: 0 3px 6px #37563409;
}
html[data-theme="morning-garden"] body.learning-mode .garden-shortcut:hover { background: #fefff9; border-color: #8db18a; box-shadow: 0 5px 13px #335b3410; }
html[data-theme="morning-garden"] body.learning-mode .garden-shortcut .garden-activity-art { grid-area: art; display: grid; place-items: center; width: 55px; height: 60px; padding: 5px; border-radius: 14px; background: #e7f1d8; }
html[data-theme="morning-garden"] body.learning-mode .garden-shortcut:nth-child(2) .garden-activity-art { background: #fff0d7; }
html[data-theme="morning-garden"] body.learning-mode .garden-shortcut:nth-child(3) .garden-activity-art { background: #e8f1db; }
html[data-theme="morning-garden"] body.learning-mode .garden-shortcut h3 { grid-area: title; align-self: end; margin: 0; color: #173e31; font-size: 18px; line-height: 1.25; font-weight: 800; }
html[data-theme="morning-garden"] body.learning-mode .garden-shortcut p { grid-area: copy; align-self: start; padding: 0; margin: 0; color: #40503f; font-size: 12px; line-height: 1.5; }
html[data-theme="morning-garden"] body.learning-mode .garden-shortcut .inline-arrow { grid-area: arrow; position: static; display: flex; align-items: center; color: #21704c; }
html[data-theme="morning-garden"] body.learning-mode .garden-tip { flex-wrap: nowrap; gap: 17px; margin-top: 24px; padding: 11px 18px; border: 0; border-radius: 20px; background: linear-gradient(100deg, #edf6e2, #e9f2da); box-shadow: none; }
html[data-theme="morning-garden"] body.learning-mode .garden-tip-label { gap: 10px; padding-right: 18px; border-right: 1px solid #91ab7d; color: #1d6045; font-size: 16px; }
html[data-theme="morning-garden"] body.learning-mode .garden-tip-copy { color: #263d31; font-size: 15px; }
html[data-theme="morning-garden"] body.learning-mode .garden-tip mark { padding: 4px 9px; border-radius: 10px; background: #ffd495; }

/* 05 — Sổ Tay Vườn Toán: notebook margin, ink botanical lines, numbered cards. */
html[data-theme="garden-notebook"] {
  --notebook-botanical: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 78 180'%3E%3Cg fill='%23dfe8ca' stroke='%23527c4c' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M38 173C40 125 35 75 42 9' fill='none'/%3E%3Cpath d='M41 32C25 23 29 9 43 3c6 13 6 22-2 29Zm-1 26C22 53 13 42 15 30c15 2 25 12 25 28Zm0 8C54 57 64 47 66 35c-16 4-25 14-26 31ZM39 93C22 88 12 78 12 65c17 2 27 12 27 28Zm0 13c16-5 26-15 27-29-16 2-25 14-27 29ZM39 131C23 125 14 115 15 103c17 5 24 15 24 28Zm0 14c17-5 28-17 27-30-16 4-25 14-27 30Z'/%3E%3Cpath d='m41 29 1-18M39 54 20 36m21 26 21-22M38 89 18 72m22 30 21-19m-22 44-18-18m19 31 21-19' fill='none' stroke-width='.7'/%3E%3C/g%3E%3C/svg%3E");
  --theme-body: linear-gradient(#83a27426 1px, transparent 1px) 0 0 / 25px 25px, linear-gradient(90deg, #83a27426 1px, transparent 1px) 0 0 / 25px 25px, #fff9ed;
  --theme-card-edge: #9eb187;
  --theme-card-shadow: none;
}
html[data-theme="garden-notebook"] body.learning-mode .garden-dashboard { position: relative; isolation: isolate; padding: 23px 24px 26px; border: 1px solid #6e9366; border-radius: 16px; background: #fffdf5; box-shadow: 3px 5px 0 #e4ebd4, 0 8px 20px #34482810; }
html[data-theme="garden-notebook"] body.learning-mode .garden-dashboard > * { position: relative; z-index: 1; }
html[data-theme="garden-notebook"] body.learning-mode .garden-dashboard::before { content: ""; position: absolute; z-index: -1; top: -12px; bottom: -12px; left: -21px; width: 12px; border-right: 1px solid #cc927184; background: radial-gradient(circle at 4px 22px, #fff9ed 0 4px, #63865c 4px 5px, transparent 5.5px) 0 0 / 11px 64px repeat-y; pointer-events: none; }
html[data-theme="garden-notebook"] body.learning-mode .garden-dashboard::after { content: ""; position: absolute; z-index: 0; inset: 9px; background: var(--notebook-botanical) right 0 top 0 / 54px 118px no-repeat, var(--notebook-botanical) left 0 bottom 0 / 46px 99px no-repeat; opacity: .65; pointer-events: none; }
html[data-theme="garden-notebook"] body.learning-mode .garden-welcome { min-height: 312px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
html[data-theme="garden-notebook"] body.learning-mode .garden-welcome .hero-copy { position: relative; padding: 14px 0 16px 70px; }
html[data-theme="garden-notebook"] body.learning-mode .garden-welcome .hero-copy::before { content: ""; position: absolute; inset: 20px auto 12px 0; width: 47px; border: 1px solid #c1cfa5; border-radius: 4px; background: var(--notebook-botanical) center / 40px 180px no-repeat, #fcf9eb; pointer-events: none; }
html[data-theme="garden-notebook"] body.learning-mode .garden-welcome-kicker .tag.light { padding: 5px 12px; border-radius: 2px 7px 3px 5px; background: #d7e8ce; color: #19513b; font-size: 12px; font-weight: 800; }
html[data-theme="garden-notebook"] body.learning-mode .garden-welcome-heading { margin-top: 15px; color: #1b4534; font-size: clamp(32px, 3.8vw, 50px); font-weight: 800; line-height: 1.17; letter-spacing: -.035em; }
html[data-theme="garden-notebook"] body.learning-mode .garden-heading-emphasis { padding: 2px 5px 4px; margin-inline: -5px; border-radius: 7px 4px 6px 4px; background: linear-gradient(178deg, #ffdc91db, #ffc76fc9); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
html[data-theme="garden-notebook"] body.learning-mode .garden-welcome-description { max-width: 45ch; margin-top: 12px; color: #344c3c; font-size: 14px; line-height: 1.6; }
html[data-theme="garden-notebook"] body.learning-mode .garden-welcome .hero-art { position: relative; isolation: isolate; min-height: 300px; place-items: end center; padding: 25px 15px 15px; }
html[data-theme="garden-notebook"] body.learning-mode .garden-welcome .hero-art::before { inset: 23px 14px 13px; width: auto; height: auto; aspect-ratio: auto; border: 1px solid #bad0a4; border-radius: 4px; background: var(--notebook-botanical) left 4px bottom 1px / 55px 125px no-repeat, linear-gradient(120deg, #c5dcb9, #cfe2bf); box-shadow: 6px 7px 0 #fffdf5, 7px 8px 0 #9db487; transform: rotate(3deg); }
html[data-theme="garden-notebook"] body.learning-mode .garden-welcome .hero-art::after { z-index: 2; inset: 10px auto auto 33%; width: 96px; height: 22px; aspect-ratio: auto; border: 0; border-radius: 1px; background: repeating-linear-gradient(8deg, #ffd68cc9 0 3px, #ffdfa7c9 3px 5px); transform: rotate(-3deg); }
html[data-theme="garden-notebook"] body.learning-mode .garden-welcome .hero-art .mascot-art { width: min(290px, 103%); max-width: none; margin: 0; filter: drop-shadow(0 5px 4px #3b5f3620); }
html[data-theme="garden-notebook"] body.learning-mode .garden-welcome .orbit { right: 8%; top: 27%; color: #e9aa32; }
html[data-theme="garden-notebook"] body.learning-mode .garden-welcome-actions .btn { border-radius: 10px; box-shadow: 0 2px 0 #d1ddbd; }
html[data-theme="garden-notebook"] body.learning-mode .garden-welcome-actions .btn.orange { border-color: #1b6144; background: #1f6248; color: #fff; }
html[data-theme="garden-notebook"] body.learning-mode .garden-welcome-actions .btn.outline { border-color: #71946b; background: #fffdf4; color: #204b36; }
html[data-theme="garden-notebook"] body.learning-mode .garden-welcome-actions .btn.orange:hover { background: #174e39; }
html[data-theme="garden-notebook"] body.learning-mode .garden-welcome-actions .btn.outline:hover { background: #eef4e6; }
html[data-theme="garden-notebook"] body.learning-mode .garden-stats .stat { border-color: #cad7b7; border-radius: 10px; background: #fffdf3; box-shadow: none; }
html[data-theme="garden-notebook"] body.learning-mode .garden-activities-heading::before { content: ""; flex: none; width: 15px; height: 23px; background: linear-gradient(48deg, transparent 45%, #edb348 46% 60%, transparent 61%) top left / 14px 11px no-repeat, linear-gradient(6deg, transparent 43%, #edb348 44% 60%, transparent 61%) bottom left / 13px 9px no-repeat; }
html[data-theme="garden-notebook"] body.learning-mode .garden-activities-heading h2 { color: #204a36; font-size: clamp(22px, 2.5vw, 29px); line-height: 1.25; font-weight: 800; }
html[data-theme="garden-notebook"] body.learning-mode .garden-shortcuts { counter-reset: notebook-step; margin-top: 15px; gap: 16px; }
html[data-theme="garden-notebook"] body.learning-mode .garden-shortcut { counter-increment: notebook-step; display: grid; grid-template-columns: 61px minmax(0, 1fr); grid-template-areas: "art title" "art copy"; align-items: center; column-gap: 12px; row-gap: 5px; min-height: 140px; padding: 36px 16px 18px; border: 1px solid #9caf82; border-radius: 11px; background: #fffdf2; box-shadow: none; }
html[data-theme="garden-notebook"] body.learning-mode .garden-shortcut::before { content: counter(notebook-step, decimal-leading-zero); position: absolute; inset: 0 auto auto 0; padding: 4px 12px; border-right: 1px solid #8aa16b; border-bottom: 1px solid #8aa16b; border-radius: 10px 0 10px 0; background: linear-gradient(100deg, #d7eac5, #e7efcf); color: #235238; font-size: 14px; line-height: 1.25; font-weight: 800; }
html[data-theme="garden-notebook"] body.learning-mode .garden-shortcut:hover { border-color: #508153; background: #fffbea; }
html[data-theme="garden-notebook"] body.learning-mode .garden-shortcut .garden-activity-art { grid-area: art; display: block; width: 61px; height: 61px; }
html[data-theme="garden-notebook"] body.learning-mode .garden-shortcut h3 { grid-area: title; align-self: end; margin: 0; color: #204a36; font-size: 19px; line-height: 1.25; font-weight: 800; }
html[data-theme="garden-notebook"] body.learning-mode .garden-shortcut p { grid-area: copy; align-self: start; margin: 0; padding: 0; color: #3d5140; font-size: 12px; line-height: 1.5; }
html[data-theme="garden-notebook"] body.learning-mode .garden-shortcut .inline-arrow { right: 10px; bottom: 9px; color: #34704b; }
html[data-theme="garden-notebook"] body.learning-mode .garden-tip { position: relative; flex-wrap: nowrap; gap: 17px; margin-top: 26px; padding: 10px 69px 10px 12px; border: 1px solid #7c9b69; border-radius: 6px; background: linear-gradient(100deg, #fffcf2, #fff6dd); box-shadow: none; }
html[data-theme="garden-notebook"] body.learning-mode .garden-tip::after { content: ""; position: absolute; right: 12px; bottom: -6px; width: 38px; height: 65px; background: var(--notebook-botanical) center / contain no-repeat; transform: rotate(67deg); opacity: .7; pointer-events: none; }
html[data-theme="garden-notebook"] body.learning-mode .garden-tip-label { gap: 7px; padding: 0 14px 0 0; border-right: 1px solid #96aa7a; color: #34513a; font-size: 15px; font-style: italic; }
html[data-theme="garden-notebook"] body.learning-mode .garden-tip-label::before { width: 27px; height: 32px; }
html[data-theme="garden-notebook"] body.learning-mode .garden-tip-copy { color: #304635; font-size: 14px; }
html[data-theme="garden-notebook"] body.learning-mode .garden-tip mark { padding: 2px 5px; border-radius: 2px 5px 2px 4px; background: linear-gradient(177deg, #ffdfa3c9, #ffc46dc9); box-shadow: inset 0 -2px #efb252; font-style: italic; }
html[data-theme="garden-notebook"] .hero { border: 1px solid #9fb58b; border-radius: 11px; background: #fffdf4; box-shadow: 3px 4px 0 #e0e9d2; }
html[data-theme="garden-notebook"] .hero h1 em { background: linear-gradient(178deg, #ffda91db, #ffc76fc9); border-radius: 5px; }
html[data-theme="garden-notebook"] .hero .art { position: relative; padding: 16px; border: 1px solid #bad0a4; border-radius: 4px; background: var(--notebook-botanical) left 7px bottom 0 / 55px 125px no-repeat, #d2e3c4; box-shadow: 5px 6px 0 #fffdf4, 6px 7px 0 #a2b78e; transform: rotate(2deg); }
html[data-theme="garden-notebook"] .hero .art::before { content: ""; position: absolute; z-index: 2; inset: -11px auto auto 35%; width: 100px; height: 22px; background: #ffdc96ca; transform: rotate(-4deg); pointer-events: none; }

@media (max-width: 1100px) and (min-width: 641px) {
  html[data-theme="morning-garden"] body.learning-mode .garden-welcome-heading { font-size: clamp(33px, 4vw, 44px); }
  html[data-theme="garden-notebook"] body.learning-mode .garden-dashboard { padding: 19px; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-welcome .hero-copy { padding-left: 48px; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-welcome .hero-copy::before { width: 33px; background-size: 29px 150px; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-welcome-heading { font-size: clamp(30px, 3.8vw, 40px); }
  html[data-theme="garden-notebook"] body.learning-mode .garden-welcome .hero-art { min-height: 265px; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-shortcut { grid-template-columns: 44px minmax(0, 1fr); gap: 5px 8px; padding-inline: 11px; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-shortcut .garden-activity-art { width: 44px; height: 50px; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-shortcut h3 { font-size: 17px; }
}
@media (max-width: 640px) {
  html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-dashboard > * + * { margin-top: 15px; }
  html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-welcome {
    grid-template-columns: minmax(0, 1.27fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    align-items: start;
    gap: 0 5px;
    min-height: 0;
    padding: 17px 13px 16px;
  }
  html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-welcome .hero-copy { display: contents; }
  html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-welcome-kicker { grid-column: 1; grid-row: 1; gap: 5px; }
  html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-welcome-kicker .tag.light { padding: 5px 8px; font-size: 10px; }
  html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-welcome-kicker > span:not(.tag) { font-size: 9px; }
  html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-welcome-heading { grid-column: 1; grid-row: 2; margin-top: 11px; font-size: clamp(22px, 6.3vw, 28px); line-height: 1.16; }
  html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-welcome-description { grid-column: 1; grid-row: 3; margin-top: 10px; font-size: 12px; line-height: 1.5; }
  html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-welcome-actions { grid-column: 1 / -1; grid-row: 4; width: 100%; gap: 8px; margin-top: 16px; }
  html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-welcome-actions .btn { flex: 1 1 100%; width: 100%; min-height: 44px; padding: 8px 10px; font-size: 13px; }
  html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-welcome .hero-art { grid-column: 2; grid-row: 1 / 4; align-self: stretch; min-height: 0; padding: 8px 0 0; place-items: center; }
  html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-welcome .hero-art .mascot-art { width: 113%; margin-inline: -6%; }
  html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-stats { gap: 7px; }
  html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-stats .stat { min-height: 0; padding: 8px 5px; border-radius: 11px; }
  html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-activities-heading { flex-wrap: nowrap; gap: 7px; }
  html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-activities-heading h2 { min-width: 0; font-size: clamp(19px, 5.6vw, 22px); line-height: 1.25; }
  html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-shortcuts { margin-top: 12px; gap: 10px; }
  html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-tip { flex-wrap: nowrap; gap: 8px; padding: 9px 10px; margin-top: 18px; }
  html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-tip-label { gap: 5px; padding-right: 9px; font-size: 12px; }
  html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-tip-label::before { width: 21px; height: 26px; }
  html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) body.learning-mode .garden-tip-copy { font-size: 12px; line-height: 1.7; }
  html[data-theme="morning-garden"] body.learning-mode .garden-welcome { border-radius: 23px; }
  html[data-theme="morning-garden"] body.learning-mode .garden-welcome .hero-art::before { width: 110%; right: -7%; bottom: 7%; }
  html[data-theme="morning-garden"] body.learning-mode .garden-shortcut { grid-template-columns: 52px minmax(0, 1fr) 17px; min-height: 88px; column-gap: 11px; padding: 12px; border-radius: 19px; }
  html[data-theme="morning-garden"] body.learning-mode .garden-shortcut .garden-activity-art { width: 52px; height: 54px; }
  html[data-theme="morning-garden"] body.learning-mode .garden-shortcut h3 { font-size: 17px; }
  html[data-theme="morning-garden"] body.learning-mode .garden-shortcut p { font-size: 12px; }
  html[data-theme="morning-garden"] body.learning-mode .garden-tip { border-radius: 16px; }
  html[data-theme="morning-garden"] body.learning-mode .garden-tip mark { padding: 3px 6px; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-dashboard { padding: 12px; border-radius: 12px; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-dashboard::before { left: -13px; width: 8px; background-size: 8px 52px; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-dashboard::after { inset: 5px; background-size: 30px 70px, 28px 65px; opacity: .5; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-welcome { padding: 7px 0 4px; gap: 0 9px; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-welcome .hero-copy::before { content: none; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-welcome-heading { font-size: clamp(19px, 5.6vw, 24px); letter-spacing: -.03em; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-heading-emphasis { padding: 2px 3px; margin-inline: -3px; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-welcome .hero-art { padding: 10px 1px 2px; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-welcome .hero-art::before { inset: 10px 0 2px; border-radius: 2px; background-size: 23px 60px, auto; box-shadow: 3px 4px 0 #fffdf5, 4px 5px 0 #a4b68d; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-welcome .hero-art::after { top: 0; left: 24%; width: 62%; height: 15px; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-welcome .hero-art .mascot-art { width: 110%; margin-inline: -5%; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-shortcut { grid-template-columns: 46px minmax(0, 1fr); column-gap: 9px; min-height: 101px; padding: 26px 25px 11px 11px; border-radius: 9px; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-shortcut::before { padding: 3px 9px; border-radius: 8px 0 9px 0; font-size: 12px; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-shortcut .garden-activity-art { width: 46px; height: 48px; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-shortcut h3 { font-size: 17px; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-shortcut p { font-size: 12px; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-shortcut .inline-arrow { right: 7px; bottom: 35px; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-tip { border-radius: 5px; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-tip::after { content: none; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-tip-label { gap: 3px; padding-right: 6px; font-size: 11px; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-tip-label::before { width: 18px; height: 24px; }
  html[data-theme="garden-notebook"] body.learning-mode .garden-tip-copy { font-size: 11px; }
  html[data-theme="garden-notebook"] .hero .art { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html:is([data-theme="morning-garden"], [data-theme="garden-notebook"]) .garden-welcome-actions .btn { transition: none; }
}

/* PA02: cream drawing paper, crayon outlines, peach paper and taped cards. */
html[data-theme="crayon-workshop"] {
  --crayon-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.76' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 .42 0 0 0 0 .32 0 0 0 0 .19 0.22 0 0 0 0'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23g)' d='M0 0h160v160H0z'/%3E%3C/svg%3E");
  --theme-body: var(--crayon-grain) 0 0 / 160px 160px, #fff9ed;
  --theme-surface: #fffaf0;
  --theme-surface-pattern: var(--crayon-grain);
  --theme-card-edge: #477658;
  --theme-card-shadow: 1px 2px 0 #c1c9a56b;
  --theme-nav: linear-gradient(3deg, #d9e7bc, #e1eccb);
  --theme-nav-shadow: 1px 2px 0 #bccda0;
  --theme-button-image: var(--crayon-grain);
  --theme-button-shadow: 1px 3px 0 #b4bf99;
  --theme-hero: var(--crayon-grain) 0 0 / 160px 160px, #ffe3c1;
  --theme-marker: #ffd17d;
}
html[data-theme="crayon-workshop"] body.learning-mode #learning-app {
  margin: 12px;
  min-height: calc(100vh - 24px);
  border: 2px solid #2d654c;
  border-radius: 31px 35px 29px 33px / 35px 29px 33px 30px;
  box-shadow: inset 0 0 0 2px #fff9ed, 0 0 0 1px #5c8164;
  background: var(--crayon-grain) 0 0 / 160px 160px, #fffaf0;
}
html[data-theme="crayon-workshop"] body.learning-mode .sidebar {
  border-radius: 30px 0 0 30px;
  min-height: calc(100vh - 28px);
  background-image: var(--crayon-grain);
  background-size: 160px 160px;
}
html[data-theme="crayon-workshop"] body.learning-mode .topbar { border-radius: 0 30px 0 0; background-image: var(--crayon-grain); background-size: 160px 160px; }
html[data-theme="crayon-workshop"] body.learning-mode .navigation a[aria-current] { border-radius: 15px 10px 15px 8px; }
html[data-theme="crayon-workshop"] :is(.panel, .card, .stat, .activity),
html[data-theme="crayon-workshop"] body.learning-mode :is(.card, .stat) { background-size: 160px 160px; }
html[data-theme="crayon-workshop"] .btn.dark,
html[data-theme="crayon-workshop"] body.learning-mode .hero-app .btn.orange { background-size: 120px 120px; border: 2px solid #1f6248; border-radius: 12px 15px 12px 14px; }
html[data-theme="crayon-workshop"] .btn.outline { border: 2px solid #28624c; border-radius: 12px 15px 11px 13px; background-image: var(--crayon-grain); background-size: 160px 160px; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome {
  min-height: 294px;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  border: 3px dashed #f4c998;
  border-radius: 24px 29px 20px 27px / 27px 19px 30px 22px;
  box-shadow: none;
  overflow: hidden;
}
html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome .hero-copy { padding: 29px 0 31px 29px; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 11px; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome-kicker .tag.light { background: #ffcd94; color: #65401e; border-radius: 6px 10px 5px 9px; transform: rotate(-3deg); padding: 7px 13px; box-shadow: 3px 2px 0 #f4c38a88; font-weight: 800; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome-kicker > span:not(.tag) { color: #4c5942; font-size: 11px; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome-heading { position: relative; width: fit-content; max-width: 100%; font-size: clamp(33px, 3.8vw, 54px); color: #173f31; font-weight: 800; line-height: 1.17; letter-spacing: -.035em; margin-top: 14px; padding-bottom: 8px; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome-heading::after { content: none; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-heading-emphasis { display: inline-block; position: relative; padding-bottom: 7px; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-heading-emphasis::after { content: ""; position: absolute; width: 84%; height: 5px; left: 8%; bottom: 0; border-radius: 50%; background: #e98e27; transform: rotate(-2deg); box-shadow: 0 2px 0 #f8b45b88; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome-description { color: #203a32; font-size: 15px; line-height: 1.65; margin-top: 13px; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome-actions { margin-top: 18px; gap: 13px; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome-actions .btn { min-height: 47px; margin-top: 0; font-size: 15px; padding: 10px 19px; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome .hero-art { place-items: center; padding: 15px 9px 0 0; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome .hero-art::before,
html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome .hero-art::after { content: none; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome .hero-art .mascot-art { width: min(330px, 110%); margin-bottom: 0; filter: drop-shadow(4px 0 0 #fffef6) drop-shadow(-4px 0 0 #fffef6) drop-shadow(0 4px 0 #fffef6) drop-shadow(0 -4px 0 #fffef6) drop-shadow(2px 4px 1px #ac93522b); }
html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome .orbit { right: 7%; top: 24%; color: #e48320; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-stats .stat { border: 1px solid #839b71; border-radius: 15px 18px 12px 16px; padding: 12px 15px; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-activities-heading { margin-top: 25px; gap: 10px; justify-content: flex-start; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-activities-heading::before { content: ""; width: 20px; height: 28px; flex: none; background: linear-gradient(50deg, transparent 40%, #ed9026 42% 56%, transparent 58%) 2px 0 / 17px 15px no-repeat, linear-gradient(15deg, transparent 40%, #ed9026 42% 56%, transparent 58%) 0 16px / 16px 10px no-repeat; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-activities-heading h2 { font-size: clamp(23px, 2.6vw, 31px); font-weight: 800; color: #173f31; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcuts { margin-top: 18px; gap: 17px; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut { position: relative; display: grid; grid-template-columns: 69px minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; gap: 5px 11px; min-height: 133px; padding: 17px 24px 18px 13px; border: 2px solid #3b7153; border-radius: 24px 17px 22px 19px / 17px 23px 18px 24px; background: var(--crayon-grain) 0 0 / 160px 160px, #fffaf0; box-shadow: 1px 2px 0 #dde4ca; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut::before { content: ""; pointer-events: none; position: absolute; inset: 3px; border: 1px dotted #6c9365; border-radius: inherit; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut:first-child::after,
html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut:last-child::after { content: ""; position: absolute; top: -8px; left: -5px; width: 48px; height: 17px; border-inline: 1px dashed #f1b26d; background: #ffbf7fca; transform: rotate(-28deg); box-shadow: 0 1px 0 #e5a45a33; pointer-events: none; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut:last-child::after { left: auto; right: -6px; transform: rotate(25deg); }
html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut .garden-classic-icon { display: none; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut .garden-activity-art { display: block; grid-column: 1; grid-row: 1 / 3; align-self: center; width: 69px; height: 69px; filter: drop-shadow(1px 3px 0 #dfd6b43b); }
html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut .garden-activity-art > svg { display: block; width: 100%; height: 100%; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut h3 { grid-column: 2; font-size: 20px; color: #173f31; font-weight: 800; margin: 0; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut p { grid-column: 2; margin: 0; padding-right: 0; font-size: 12px; line-height: 1.5; color: #203a32; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut .inline-arrow { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #e5edcb; right: 9px; bottom: 11px; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut .inline-arrow svg { width: 18px; height: 18px; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-tip { position: relative; min-height: 65px; margin-top: 21px; padding: 13px 21px; gap: 12px 18px; border: 2px solid #4a7757; border-radius: 23px 18px 24px 17px; background: var(--crayon-grain) 0 0 / 160px 160px, #fffaf0; box-shadow: inset 0 0 0 3px #fff9ed, inset 0 0 0 4px #95ad7d5c; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-tip-label { padding: 4px 10px; background: #e0ebbe; border-radius: 8px 13px 6px 11px; font-weight: 800; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-tip-copy { font-size: 15px; }
html[data-theme="crayon-workshop"] body.learning-mode .garden-tip mark { color: #173f31; background: #ffd17d; padding: 3px 9px 4px; border-radius: 3px 10px 5px 8px; font-weight: 800; box-shadow: -3px 0 0 #ffdc96, 3px 1px 0 #ffdc96; }

/* PA03: matte felt and molded clay, with soft light on the upper edges. */
html[data-theme="clay-sprout"] {
  --clay-felt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 .28 0 0 0 0 .37 0 0 0 0 .16 0.14 0 0 0 0'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23f)' d='M0 0h140v140H0z'/%3E%3C/svg%3E");
  --theme-body: radial-gradient(ellipse at 0 100%, #dbe8bc 0, transparent 27%), radial-gradient(ellipse at 100% 100%, #ffe0b4 0, transparent 30%), #fff5e5;
  --theme-surface: #fff9ed;
  --theme-card-edge: #e9dabc;
  --theme-card-shadow: inset 0 2px 2px #fffef9, inset 0 -2px 3px #bca06b19, 0 3px 3px #b39b7040, 0 8px 17px #72522b0b;
  --theme-hero: var(--clay-felt) 0 0 / 140px 140px, linear-gradient(110deg, #e0edcb, #cfe4b8);
  --theme-hero-shadow: inset 0 3px 4px #fffff69e, inset 0 -3px 4px #688b3b16, 0 3px 3px #b6a47b33, 0 7px 16px #69522b0d;
  --theme-button-image: linear-gradient(180deg, #ffffff20, #ffffff00 43%, #092c1914);
  --theme-button-shadow: inset 0 2px 2px #ffffff57, inset 0 -3px 3px #083c2b66, 0 3px 3px #7b815a45;
  --theme-nav: linear-gradient(180deg, #e5efca, #dce8bd);
  --theme-nav-shadow: inset 0 2px 2px #fffffacc, 0 2px 2px #9da77b4d;
  --radius-card: 27px;
  --radius-control: 999px;
}
html[data-theme="clay-sprout"] body.learning-mode #learning-app { margin: 12px; min-height: calc(100vh - 24px); border: 7px solid #fffaf0; border-radius: 38px; background: #fff9ed; box-shadow: inset 0 0 0 2px #e8d7b8, 0 3px 3px #c9b48c66, 0 11px 25px #7c633524; }
html[data-theme="clay-sprout"] body.learning-mode .sidebar { min-height: calc(100vh - 38px); border-radius: 30px 0 0 30px; background: linear-gradient(110deg, #fffdf6, #fff7e9); border-color: #e9ddc3; }
html[data-theme="clay-sprout"] body.learning-mode .topbar { border-radius: 0 29px 0 0; background: linear-gradient(180deg, #fffdf6, #fff8ea); box-shadow: 0 3px 8px #ac8e5510; }
html[data-theme="clay-sprout"] body.learning-mode .navigation a { border-radius: 999px; }
html[data-theme="clay-sprout"] body.learning-mode .navigation a[aria-current] { box-shadow: inset 0 2px 2px #fffffacc, 0 2px 2px #9da77b4d; }
html[data-theme="clay-sprout"] .btn.dark,
html[data-theme="clay-sprout"] body.learning-mode .hero-app .btn.orange { border-radius: 999px; border-color: #1f6248; background-color: #1f6248; }
html[data-theme="clay-sprout"] .btn.outline { border-radius: 999px; border: 2px solid #31664a; background: linear-gradient(180deg, #fffdf4, #fff6e2); box-shadow: inset 0 2px 2px #fff, 0 3px 3px #ab9c6a40; }
html[data-theme="clay-sprout"] body.learning-mode .garden-welcome { min-height: 303px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); border: 1px solid #d2e2bc; border-radius: 31px; }
html[data-theme="clay-sprout"] body.learning-mode .garden-welcome .hero-copy { padding: 27px 0 31px 31px; }
html[data-theme="clay-sprout"] body.learning-mode .garden-welcome-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
html[data-theme="clay-sprout"] body.learning-mode .garden-welcome-kicker .tag.light { padding: 7px 15px; border-radius: 999px; background: linear-gradient(180deg, #ffdb8d, #ffc777); color: #173f31; font-weight: 800; box-shadow: inset 0 2px 2px #ffedb9, 0 3px 3px #a4a05e58; }
html[data-theme="clay-sprout"] body.learning-mode .garden-welcome-kicker > span:not(.tag) { color: #3f5840; font-size: 11px; }
html[data-theme="clay-sprout"] body.learning-mode .garden-welcome-heading { margin-top: 15px; color: #123f30; font-size: clamp(33px, 3.8vw, 54px); font-weight: 800; line-height: 1.16; letter-spacing: -.035em; text-shadow: 0 2px 1px #9bad7e33; }
html[data-theme="clay-sprout"] body.learning-mode .garden-welcome-description { margin-top: 15px; color: #203a32; font-size: 15px; line-height: 1.65; }
html[data-theme="clay-sprout"] body.learning-mode .garden-welcome-actions { margin-top: 19px; gap: 13px; }
html[data-theme="clay-sprout"] body.learning-mode .garden-welcome-actions .btn { min-height: 47px; margin-top: 0; padding: 10px 21px; font-size: 15px; }
html[data-theme="clay-sprout"] body.learning-mode .garden-welcome .hero-art { padding: 12px 6px 0 0; place-items: end center; }
html[data-theme="clay-sprout"] body.learning-mode .garden-welcome .hero-art::before { width: 112%; height: 33%; aspect-ratio: auto; inset: auto -6% 0; border-radius: 55% 48% 25% 26% / 75% 65% 30% 32%; background: radial-gradient(ellipse at 11% 92%, #a8c77b 0 16%, transparent 17%), radial-gradient(ellipse at 32% 112%, #c1d99c 0 29%, transparent 30%), radial-gradient(ellipse at 86% 90%, #9fbe73 0 19%, transparent 20%), radial-gradient(ellipse at 52% 105%, #bbd28d 0 51%, transparent 52%); box-shadow: none; }
html[data-theme="clay-sprout"] body.learning-mode .garden-welcome .hero-art::after { content: none; }
html[data-theme="clay-sprout"] body.learning-mode .garden-welcome .hero-art .mascot-art { width: min(330px, 108%); margin-bottom: 2px; filter: drop-shadow(1px 6px 3px #5a783a30); }
html[data-theme="clay-sprout"] body.learning-mode .garden-welcome .orbit { color: #f5a041; top: 29%; right: 9%; text-shadow: 0 1px 0 #ffe4af; }
html[data-theme="clay-sprout"] body.learning-mode .garden-stats .stat { padding: 12px 15px; border-radius: 19px; background: #fffaf0; }
html[data-theme="clay-sprout"] body.learning-mode .garden-stats .tile { border-radius: 12px; box-shadow: inset 0 2px 2px #fffff6, 0 2px 2px #a6986933; }
html[data-theme="clay-sprout"] body.learning-mode .garden-activities-heading { margin-top: 26px; justify-content: flex-start; gap: 11px; }
html[data-theme="clay-sprout"] body.learning-mode .garden-activities-heading h2 { font-size: clamp(23px, 2.6vw, 31px); font-weight: 800; color: #123f30; }
html[data-theme="clay-sprout"] body.learning-mode .garden-activities-heading::after { content: ""; width: 21px; height: 28px; flex: none; background: linear-gradient(125deg, transparent 40%, #f19a34 42% 56%, transparent 58%) 2px 0 / 17px 15px no-repeat, linear-gradient(-15deg, transparent 40%, #f19a34 42% 56%, transparent 58%) 0 16px / 16px 10px no-repeat; filter: drop-shadow(0 1px #ffdba5); }
html[data-theme="clay-sprout"] body.learning-mode .garden-shortcuts { margin-top: 17px; gap: 17px; }
html[data-theme="clay-sprout"] body.learning-mode .garden-shortcut { position: relative; min-height: 157px; padding: 74px 23px 18px; border: 1px solid #e7dfbd; border-radius: 28px; background: linear-gradient(145deg, #fafbe5, #e8efd2); box-shadow: inset 0 2px 3px #fffef8, inset 0 -2px 2px #b6b88c1f, 0 3px 3px #b29c6c40, 0 7px 13px #6a58220a; }
html[data-theme="clay-sprout"] body.learning-mode .garden-shortcut:nth-child(2) { background: linear-gradient(145deg, #fff6e2, #ffecd0); }
html[data-theme="clay-sprout"] body.learning-mode .garden-shortcut:nth-child(3) { background: linear-gradient(145deg, #fff1df, #ffe3c8); }
html[data-theme="clay-sprout"] body.learning-mode .garden-shortcut .garden-classic-icon { display: none; }
html[data-theme="clay-sprout"] body.learning-mode .garden-shortcut .garden-activity-art { position: absolute; left: 17px; top: 3px; display: block; width: 85px; height: 82px; filter: drop-shadow(1px 3px 1px #967f3936); }
html[data-theme="clay-sprout"] body.learning-mode .garden-shortcut .garden-activity-art > svg { width: 100%; height: 100%; display: block; }
html[data-theme="clay-sprout"] body.learning-mode .garden-shortcut .garden-activity-art:has(.clay-activity-icon) > svg { display: none; }
html[data-theme="clay-sprout"] body.learning-mode .garden-shortcut .clay-activity-icon { display: block; width: 100%; height: 100%; object-fit: contain; }
html[data-theme="clay-sprout"] body.learning-mode .garden-shortcut h3 { position: relative; color: #123f30; font-size: 21px; font-weight: 800; line-height: 1.2; margin-top: 0; }
html[data-theme="clay-sprout"] body.learning-mode .garden-shortcut p { color: #203a32; font-size: 12px; line-height: 1.55; padding-right: 13px; margin-top: 7px; }
html[data-theme="clay-sprout"] body.learning-mode .garden-shortcut .inline-arrow { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; right: 10px; bottom: 12px; background: #fffbea; box-shadow: inset 0 2px 2px #fff, 0 2px 2px #a59a6b66; }
html[data-theme="clay-sprout"] body.learning-mode .garden-shortcut .inline-arrow svg { width: 18px; height: 18px; }
html[data-theme="clay-sprout"] body.learning-mode .garden-tip { padding: 14px 20px; min-height: 68px; margin-top: 22px; border: 1px solid #e4dbb6; border-radius: 25px; background: linear-gradient(165deg, #fbfbe8, #edf0d2); box-shadow: inset 0 2px 3px #fffef9, 0 3px 3px #b8a77540; gap: 12px 17px; }
html[data-theme="clay-sprout"] body.learning-mode .garden-tip-label { padding: 7px 12px; border-radius: 999px; background: #dfebc2; color: #123f30; font-weight: 800; box-shadow: inset 0 1px #f7fbe8; }
html[data-theme="clay-sprout"] body.learning-mode .garden-tip-label svg { width: 27px; height: 27px; }
html[data-theme="clay-sprout"] body.learning-mode .garden-tip-copy { font-size: 15px; }
html[data-theme="clay-sprout"] body.learning-mode .garden-tip mark { display: inline-block; padding: 4px 11px; border-radius: 999px; background: linear-gradient(180deg, #ffd995, #ffc576); box-shadow: inset 0 1px 1px #ffebbc, 0 1px 1px #e8ac5a3b; color: #173f31; font-weight: 800; }

@media (min-width: 641px) and (max-width: 1150px) {
  html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut { grid-template-columns: 51px minmax(0, 1fr); gap: 6px 8px; padding-inline: 11px 22px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut .garden-activity-art { width: 51px; height: 57px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut h3 { font-size: 17px; }
  html[data-theme="clay-sprout"] body.learning-mode .garden-shortcut { padding-inline: 17px; }
  html[data-theme="clay-sprout"] body.learning-mode .garden-shortcut h3 { font-size: 19px; }
}
@media (max-width: 980px) {
  html[data-theme="crayon-workshop"] body.learning-mode .sidebar,
  html[data-theme="clay-sprout"] body.learning-mode .sidebar { min-height: 0; border-radius: 0; }
  html[data-theme="crayon-workshop"] body.learning-mode .topbar,
  html[data-theme="clay-sprout"] body.learning-mode .topbar { border-radius: 25px 25px 0 0; }
}
@media (max-width: 640px) {
  html[data-theme="crayon-workshop"] body.learning-mode #learning-app { margin: 6px; min-height: calc(100vh - 12px); border-radius: 27px; }
  html[data-theme="clay-sprout"] body.learning-mode #learning-app { margin: 5px; border-width: 5px; min-height: calc(100vh - 10px); border-radius: 31px; }
  html[data-theme="crayon-workshop"] body.learning-mode .content,
  html[data-theme="clay-sprout"] body.learning-mode .content { padding: 17px 12px 29px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome,
  html[data-theme="clay-sprout"] body.learning-mode .garden-welcome { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: auto auto auto auto; gap: 0 3px; padding: 14px 12px 15px; min-height: 0; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome .hero-copy,
  html[data-theme="clay-sprout"] body.learning-mode .garden-welcome .hero-copy { display: contents; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome-kicker,
  html[data-theme="clay-sprout"] body.learning-mode .garden-welcome-kicker { grid-column: 1 / -1; grid-row: 1; align-items: center; gap: 6px 8px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome-kicker .tag.light,
  html[data-theme="clay-sprout"] body.learning-mode .garden-welcome-kicker .tag.light { padding: 5px 9px; font-size: 10px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome-kicker > span:not(.tag),
  html[data-theme="clay-sprout"] body.learning-mode .garden-welcome-kicker > span:not(.tag) { font-size: 10px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome-heading,
  html[data-theme="clay-sprout"] body.learning-mode .garden-welcome-heading { grid-column: 1; grid-row: 2; max-width: none; width: 100%; margin-top: 16px; font-size: clamp(21px, 5.6vw, 29px); line-height: 1.19; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome-description,
  html[data-theme="clay-sprout"] body.learning-mode .garden-welcome-description { grid-column: 1; grid-row: 3; font-size: 12px; line-height: 1.55; margin-top: 10px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome .hero-art,
  html[data-theme="clay-sprout"] body.learning-mode .garden-welcome .hero-art { grid-column: 2; grid-row: 2 / 4; align-self: stretch; padding: 10px 0 0; min-height: 140px; place-items: center; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome .hero-art .mascot-art,
  html[data-theme="clay-sprout"] body.learning-mode .garden-welcome .hero-art .mascot-art { width: 122%; max-width: none; margin-inline: -11%; margin-bottom: 0; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome-actions,
  html[data-theme="clay-sprout"] body.learning-mode .garden-welcome-actions { grid-column: 1 / -1; grid-row: 4; width: 100%; margin-top: 17px; gap: 8px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html[data-theme="clay-sprout"] body.learning-mode .garden-welcome-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-welcome-actions .btn,
  html[data-theme="clay-sprout"] body.learning-mode .garden-welcome-actions .btn { min-width: 0; min-height: 44px; margin-top: 0; padding: 8px 7px; font-size: 12px; gap: 5px; }
  html[data-theme="clay-sprout"] body.learning-mode .garden-welcome .hero-art::before { height: 26%; bottom: -4px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-stats,
  html[data-theme="clay-sprout"] body.learning-mode .garden-stats { gap: 6px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-stats .stat,
  html[data-theme="clay-sprout"] body.learning-mode .garden-stats .stat { min-width: 0; padding: 9px 5px; border-radius: 13px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-activities-heading,
  html[data-theme="clay-sprout"] body.learning-mode .garden-activities-heading { margin-top: 23px; gap: 7px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-activities-heading h2,
  html[data-theme="clay-sprout"] body.learning-mode .garden-activities-heading h2 { min-width: 0; font-size: clamp(20px, 5.5vw, 24px); }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-activities-heading::before,
  html[data-theme="clay-sprout"] body.learning-mode .garden-activities-heading::after { width: 16px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcuts,
  html[data-theme="clay-sprout"] body.learning-mode .garden-shortcuts { margin-top: 15px; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut { min-height: 83px; grid-template-columns: 53px minmax(0, 1fr); gap: 4px 11px; padding: 12px 31px 12px 11px; border-width: 1px; border-radius: 18px 15px 19px 16px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut .garden-activity-art { width: 53px; height: 53px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut h3 { font-size: 18px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut p { font-size: 12px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut::before { inset: 2px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut:first-child::after,
  html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut:last-child::after { width: 31px; height: 12px; top: -5px; left: -3px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut:last-child::after { left: auto; right: -3px; }
  html[data-theme="clay-sprout"] body.learning-mode .garden-shortcut { min-height: 89px; padding: 14px 35px 14px 83px; border-radius: 21px; }
  html[data-theme="clay-sprout"] body.learning-mode .garden-shortcut .garden-activity-art { width: 66px; height: 66px; top: 10px; left: 9px; }
  html[data-theme="clay-sprout"] body.learning-mode .garden-shortcut h3 { font-size: 18px; }
  html[data-theme="clay-sprout"] body.learning-mode .garden-shortcut p { margin-top: 5px; padding-right: 0; font-size: 12px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-shortcut .inline-arrow,
  html[data-theme="clay-sprout"] body.learning-mode .garden-shortcut .inline-arrow { width: 25px; height: 25px; bottom: auto; top: 50%; transform: translateY(-50%); right: 7px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-tip,
  html[data-theme="clay-sprout"] body.learning-mode .garden-tip { min-height: 0; padding: 10px 11px; margin-top: 19px; gap: 8px 10px; border-radius: 18px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-tip-label,
  html[data-theme="clay-sprout"] body.learning-mode .garden-tip-label { padding: 4px 7px; gap: 5px; font-size: 12px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-tip-label svg,
  html[data-theme="clay-sprout"] body.learning-mode .garden-tip-label svg { width: 21px; height: 21px; }
  html[data-theme="crayon-workshop"] body.learning-mode .garden-tip-copy,
  html[data-theme="clay-sprout"] body.learning-mode .garden-tip-copy { font-size: 12px; line-height: 1.65; }
}

/* Only the clay theme renders the bitmap icon; preserve the other four SVG designs. */
html:not([data-theme="clay-sprout"]) body.learning-mode .garden-shortcut .garden-activity-art > img.clay-activity-icon { display: none !important; }
