/* ==========================================================================
   KHAEMENES PRESCHOOL · CRÈCHE HOME
   FRESH VISUAL SYSTEM · 2026-11-19
   One page. One CSS owner. No legacy cascade.
   ========================================================================== */

:root{
  --prek-cream:#fffbea;
  --prek-paper:#fffef8;
  --prek-charcoal:#243038;
  --prek-muted:#53616a;
  --prek-sun:#ffe45e;
  --prek-sky:#67cfff;
  --prek-aqua:#62e4f5;
  --prek-mint:#77e6b6;
  --prek-green:#a6e85c;
  --prek-pink:#ff88c8;
  --prek-watermelon:#ff7a8a;
  --prek-orange:#ffb347;
  --prek-lavender:#b89cff;
  --prek-shell:1080px;
  --prek-narrow:900px;
  --prek-accordion:960px;
  --prek-radius:7px;
  --prek-shadow:0 14px 32px rgba(36,48,56,.12);
  --prek-shadow-soft:0 8px 20px rgba(36,48,56,.09);
  --prek-line:3px solid rgba(255,255,255,.96);
  --creche-anchor-offset:150px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:var(--creche-anchor-offset)}
body{
  margin:0;
  min-width:0;
  background:var(--prek-cream);
  color:var(--prek-charcoal);
  font-family:Nunito,"Brandon Grotesque","Trebuchet MS",Arial,sans-serif;
  font-size:18px;
  line-height:1.55;
  overflow-x:hidden;
}
body *{min-width:0}
body :is(p,li,label,legend,summary,a,button,input,select,textarea,small,strong,span){
  font-size:max(18px,1rem);
}
h1,h2,h3,h4,h5,h6{
  color:var(--prek-charcoal);
  margin-top:0;
  font-family:Cinzel,Georgia,serif;
  font-weight:400;
}
h1{font-size:clamp(52px,6vw,72px);line-height:1}
h2{font-size:clamp(31px,4vw,48px);line-height:1.12}
h3{font-size:clamp(23px,2.5vw,31px);line-height:1.2}
h4{font-size:clamp(20px,2vw,26px)}
a{color:inherit}
button,input,select,textarea{font:inherit}
button,a,.btn,summary,input,select,textarea{border-radius:var(--prek-radius)}
button,a,.btn,summary{touch-action:manipulation}
[hidden]{display:none!important}

.shell{
  width:min(var(--prek-shell),calc(100% - 32px));
  margin-inline:auto;
}
.section,.weekly-garden,.feature-section{padding:11px 0}
.section-anchor-alias{position:relative;top:calc(-1 * var(--creche-anchor-offset))}
.heading,.weekly-garden-head{
  width:100%;
  margin:0 auto 24px;
  text-align:center;
}
.heading .kicker,.weekly-garden-head .kicker,.support-copy>.kicker{
  margin:0 0 8px;
  font-size:18px!important;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.heading>p:not(.kicker),.weekly-garden-note{
  max-width:780px;
  margin:10px auto 0;
  color:var(--prek-muted);
}
:is(a,button,input,select,textarea,summary):focus-visible{
  outline:3px solid var(--prek-charcoal);
  outline-offset:3px;
}

/* Canonical shared header/tickers/toolbars remain owned by shared assets. */
.skip{
  position:fixed;
  left:12px;
  top:12px;
  z-index:12000;
  transform:translateY(-160%);
  padding:10px 14px;
  background:var(--prek-charcoal);
  color:var(--prek-cream);
  text-decoration:none;
}
.skip:focus{transform:none}
.sky-decor{display:none}

.breadcrumbs{
  background:var(--prek-paper);
  border-bottom:3px solid var(--prek-sun);
}
.breadcrumbs .shell{
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
  color:var(--prek-muted);
}
.breadcrumbs a{text-decoration:none}
.breadcrumbs a:hover{text-decoration:underline}

/* Language control injected by the page script. */
[data-preschool-language-control]{
  padding:7px!important;
  background:var(--prek-sun)!important;
}
[data-preschool-language-control] select{
  min-height:44px!important;
  padding:7px 12px!important;
  border:2px solid #fff!important;
  background:var(--prek-paper)!important;
  color:var(--prek-charcoal)!important;
  font-size:18px!important;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position:relative;
  padding:55px 0 34px;
  background:var(--prek-green);
  border-bottom:3px solid #fff;
  overflow:hidden;
}
.hero-inner{
  position:relative;
  min-height:560px;
  display:grid;
  place-items:center;
}
.hero-copy{
  position:relative;
  z-index:4;
  width:min(620px,calc(100% - 220px));
  min-height:355px;
  padding:44px 48px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  background:rgba(255,254,248,.98);
  border-radius:50%;
  box-shadow:
    0 0 0 10px #fff,
    0 0 0 20px var(--prek-sun),
    0 0 0 30px var(--prek-pink),
    0 0 0 40px var(--prek-sky),
    0 22px 45px rgba(36,48,56,.18);
  animation:creche-breathe 7s ease-in-out infinite alternate;
}
.hero-copy h1{
  margin:0;
  font-size:77px!important;
  line-height:1!important;
  letter-spacing:.01em;
}
.hero-preschool{
  margin:12px 0 0;
  color:var(--prek-charcoal);
  font-family:Cinzel,Georgia,serif;
  font-size:44px!important;
  font-weight:400;
  line-height:1.1;
}
.reading-time-launch{
  min-height:54px;
  padding:9px 16px;
  border:var(--prek-line);
  background:var(--prek-sun);
  color:var(--prek-charcoal);
  box-shadow:var(--prek-shadow-soft);
  cursor:pointer;
  font-weight:444;
}
.reading-time-launch span{
  display:block;
  margin-top:2px;
  font-size:18px!important;
  color:var(--prek-muted);
}
.hero-playground{
  position:absolute;
  inset:50%;
  z-index:5;
  width:min(900px,94vw);
  height:570px;
  transform:translate(-50%,-50%);
  pointer-events:none;
}
.orbit-button{
  position:absolute;
  width:112px;
  height:112px;
  display:grid;
  place-items:center;
  border:5px solid #fff;
  border-radius:50%!important;
  color:var(--prek-charcoal);
  text-decoration:none;
  font-size:48px!important;
  line-height:1;
  box-shadow:var(--prek-shadow);
  pointer-events:auto;
  animation:orbit-float 3s ease-in-out infinite alternate;
}
.orbit-button:nth-of-type(1){left:3%;top:7%;background:var(--prek-sun)}
.orbit-button:nth-of-type(2){right:3%;top:8%;background:var(--prek-pink);animation-delay:-.5s}
.orbit-button:nth-of-type(3){left:0;top:42%;background:var(--prek-aqua);animation-delay:-1s}
.orbit-button:nth-of-type(4){right:0;top:42%;background:var(--prek-green);animation-delay:-1.5s}
.orbit-button:nth-of-type(5){left:13%;bottom:1%;background:var(--prek-orange);animation-delay:-2s}
.orbit-button:nth-of-type(6){right:13%;bottom:1%;background:var(--prek-lavender);animation-delay:-2.4s}
.orbit-button:hover,.orbit-button:focus-visible{animation:none;transform:translateY(-4px) scale(1.06)}

.hero-undertray{
  position:relative;
  z-index:6;
  width:min(var(--prek-accordion),calc(100% - 32px));
  margin:11px auto 0;
  padding:14px;
  background:rgba(255,254,248,.97);
  border:var(--prek-line);
  border-radius:var(--prek-radius);
  box-shadow:var(--prek-shadow);
  text-align:center;
}
.hero-orbit-labels{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
}
.hero-orbit-labels>:is(a,button){
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:9px 10px;
  border:2px solid #fff;
  color:var(--prek-charcoal);
  text-decoration:none;
  font-size:18px!important;
  font-weight:444;
  cursor:pointer;
  box-shadow:none;
}
.hero-orbit-labels>:nth-child(8n+1){background:var(--prek-sun)}
.hero-orbit-labels>:nth-child(8n+2){background:var(--prek-aqua)}
.hero-orbit-labels>:nth-child(8n+3){background:var(--prek-green)}
.hero-orbit-labels>:nth-child(8n+4){background:var(--prek-pink)}
.hero-orbit-labels>:nth-child(8n+5){background:var(--prek-orange)}
.hero-orbit-labels>:nth-child(8n+6){background:var(--prek-lavender)}
.hero-orbit-labels>:nth-child(8n+7){background:var(--prek-sky)}
.hero-orbit-labels>:nth-child(8n){background:var(--prek-mint)}
.hero-orbit-labels>:is(a,button):hover{transform:translateY(-2px);filter:saturate(1.06)}
.view-choice[aria-pressed="true"]{box-shadow:inset 0 0 0 3px var(--prek-charcoal)}
/* ==========================================================================
   MATCHED FEATURE ACCORDIONS
   ========================================================================== */
main > section.feature-section{
  padding:11px 0!important;
  background:var(--prek-cream)!important;
  border:0!important;
}
.feature-accordion{
  width:min(var(--prek-accordion),calc(100% - 32px));
  margin:0 auto;
  overflow:hidden;
  background:var(--prek-paper);
  border:3px solid #fff;
  border-radius:var(--prek-radius);
  box-shadow:var(--prek-shadow-soft);
}
.feature-accordion>summary{
  min-height:66px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:12px;
  padding:13px 18px;
  list-style:none;
  color:var(--prek-charcoal);
  cursor:pointer;
  font-size:20px!important;
  font-weight:444;
}
.feature-accordion>summary::-webkit-details-marker{display:none}
.feature-accordion>summary strong{font-size:20px!important}
.accordion-icon{font-size:30px!important;line-height:1}
.accordion-state{
  min-width:76px;
  text-align:right;
  color:var(--prek-muted);
  font-size:18px!important;
}
.accordion-state::after{content:"Open +"}
.feature-accordion[open] .accordion-state::after{content:"Close −"}
.feature-accordion[data-feature="reading"]>summary{background:var(--prek-sun)}
.feature-accordion[data-feature="weekly"]>summary{background:var(--prek-aqua)}
.feature-accordion[data-feature="home"]>summary{background:var(--prek-mint)}
.feature-accordion[data-feature="discovery"]>summary{background:var(--prek-sky)}
.feature-accordion[data-feature="explore"]>summary{background:var(--prek-pink)}
.feature-accordion[data-feature="garden"]>summary{background:var(--prek-lavender)}
.feature-accordion[data-feature="graduation"]>summary{background:var(--prek-green)}
.feature-accordion[data-feature="profile"]>summary{background:var(--prek-orange)}
.feature-accordion[data-feature="grownup"]>summary{background:var(--prek-sun)}
.feature-accordion[data-feature="support"]>summary{background:var(--prek-watermelon)}
.feature-accordion-panel{
  padding:18px;
  background:var(--prek-paper);
  border-top:3px solid #fff;
}
.feature-accordion-panel>.shell{
  width:100%;
  margin:0;
}
.feature-intro-card{
  width:100%;
  padding:22px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  align-items:center;
  background:var(--prek-cream);
  border:3px solid #fff;
  border-radius:var(--prek-radius);
  text-align:left;
}
.feature-intro-card h2{margin-bottom:8px}
.feature-intro-card p{margin:0;color:var(--prek-muted)}
.feature-primary-link,.feature-intro-card .reading-time-launch{
  min-height:50px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border:2px solid #fff;
  background:var(--prek-charcoal);
  color:var(--prek-cream);
  text-decoration:none;
  cursor:pointer;
  font-weight:444;
}

/* The accordion owns the page width; old full-bleed section fields are retired. */
#weeklyGarden,#myHome,#new,#today,#profiles,#grownups,#contribute{
  background:var(--prek-cream)!important;
  border:0!important;
}

/* ==========================================================================
   WEEKLY LEARNING GARDEN
   ========================================================================== */
.weekly-garden-card{
  width:min(var(--prek-narrow),100%);
  margin:auto;
  padding:24px;
  background:var(--prek-paper);
  border:var(--prek-line);
  border-radius:var(--prek-radius);
  box-shadow:var(--prek-shadow);
}
.weekly-garden-head{
  padding:20px 22px;
  background:var(--prek-sun);
  border:var(--prek-line);
  border-radius:var(--prek-radius);
}
.weekly-garden-head h2{margin-bottom:8px}
.weekly-garden-controls{
  margin-top:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.weekly-garden-controls button{
  width:48px;height:48px;
  border:2px solid #fff;
  background:var(--prek-charcoal);
  color:var(--prek-cream);
  cursor:pointer;
}
.weekly-garden-week{padding:8px 14px;background:var(--prek-paper);border:2px solid #fff}
.weekly-continue{
  margin:16px 0;
  padding:16px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:14px;
  align-items:center;
  background:var(--prek-mint);
  border:var(--prek-line);
  border-radius:var(--prek-radius);
}
.continue-icon{font-size:40px!important}
.weekly-continue h3,.weekly-continue p{margin:0}
.weekly-continue a{
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:9px 14px;
  background:var(--prek-charcoal);
  color:var(--prek-cream);
  text-decoration:none;
  font-weight:444;
}
.weekly-garden-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.weekly-adventure{
  min-height:150px;
  padding:16px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:7px;
  background:var(--prek-paper);
  border:3px solid #fff;
  border-radius:var(--prek-radius);
  text-align:center;
  box-shadow:var(--prek-shadow-soft);
}
.weekly-adventure:nth-child(8n+1){background:var(--prek-sun)}
.weekly-adventure:nth-child(8n+2){background:var(--prek-aqua)}
.weekly-adventure:nth-child(8n+3){background:var(--prek-green)}
.weekly-adventure:nth-child(8n+4){background:var(--prek-pink)}
.weekly-adventure:nth-child(8n+5){background:var(--prek-orange)}
.weekly-adventure:nth-child(8n+6){background:var(--prek-lavender)}
.weekly-adventure:nth-child(8n+7){background:var(--prek-sky)}
.weekly-adventure:nth-child(8n){background:var(--prek-mint)}
.weekly-adventure :is(strong,small,span){color:var(--prek-charcoal)}
.weekly-family{
  margin:16px 0 0;
  padding:12px 14px;
  background:var(--prek-cream);
  border-radius:var(--prek-radius);
  text-align:center;
}
.weekly-graduation{
  margin-top:16px;
  padding:16px;
  background:var(--prek-lavender);
  border:var(--prek-line);
  border-radius:var(--prek-radius);
  text-align:center;
}
.weekly-graduation a{display:inline-block;margin-top:8px;font-weight:444}

/* ==========================================================================
   MY CRÈCHE HOME
   ========================================================================== */
#myHome .compact-heading{
  width:min(var(--prek-narrow),100%);
  padding:22px 24px;
  background:var(--prek-aqua);
  border:var(--prek-line);
  border-radius:var(--prek-radius);
  box-shadow:var(--prek-shadow-soft);
}
.quick-picks{
  width:min(var(--prek-narrow),100%);
  margin:0 auto;
  overflow:hidden;
  background:var(--prek-paper);
  border:var(--prek-line);
  border-radius:var(--prek-radius);
  box-shadow:var(--prek-shadow);
}
.quick-picks>summary{
  padding:15px 18px;
  background:var(--prek-green);
  color:var(--prek-charcoal);
  cursor:pointer;
  font-weight:444;
  text-align:center;
}
.quick-picks-note{padding:0 18px;text-align:center;color:var(--prek-muted)}
.daily-school-grid{
  padding:16px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.daily-school-card{
  min-height:260px;
  padding:20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  border:3px solid #fff;
  border-radius:var(--prek-radius);
  box-shadow:var(--prek-shadow-soft);
}
.daily-school-card:nth-child(1){background:var(--prek-sun)}
.daily-school-card:nth-child(2){background:var(--prek-sky)}
.daily-school-card:nth-child(3){background:var(--prek-mint)}
.daily-school-card:nth-child(4){background:var(--prek-pink)}
.daily-school-icon{font-size:54px!important}
.daily-school-card p{color:var(--prek-muted)}
.daily-school-btn{
  margin-top:auto;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:9px 14px;
  background:var(--prek-charcoal);
  color:var(--prek-cream);
  text-decoration:none;
}
.quick-comfort{
  width:min(var(--prek-narrow),100%);
  margin:14px auto 0;
  padding:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
  background:var(--prek-paper);
  border:var(--prek-line);
  border-radius:var(--prek-radius);
}
.quick-comfort span,.quick-comfort button{
  min-height:46px;
  padding:8px 12px;
  border:2px solid #fff;
}
.quick-comfort span{background:var(--prek-mint)}
.quick-comfort button{background:var(--prek-charcoal);color:var(--prek-cream);cursor:pointer}

.discovery-callout{
  width:min(var(--prek-narrow),calc(100% - 32px));
  margin:18px auto;
  padding:14px 18px;
  text-align:center;
  background:var(--prek-aqua);
  border:var(--prek-line);
  border-radius:var(--prek-radius);
}
.discovery-link{font-weight:444}

/* ==========================================================================
   EXPLORE & PLAY
   ========================================================================== */
#new .explore-heading{
  width:min(var(--prek-narrow),100%);
  padding:22px 24px;
  background:var(--prek-green);
  border:var(--prek-line);
  border-radius:var(--prek-radius);
  box-shadow:var(--prek-shadow-soft);
}
.explore-actions,.garden-bottom-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin:18px 0;
}
.explore-actions button,.garden-action{
  min-height:50px;
  padding:10px 16px;
  border:2px solid #fff;
  background:var(--prek-charcoal);
  color:var(--prek-cream);
  cursor:pointer;
  text-decoration:none;
}
.category-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.category-card{
  min-height:180px;
  padding:18px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:3px solid #fff;
  border-radius:var(--prek-radius);
  background:var(--prek-paper)!important;
  color:var(--prek-charcoal)!important;
  cursor:pointer;
  box-shadow:var(--prek-shadow-soft);
}
.category-card:nth-child(8n+1){background:var(--prek-sun)!important}
.category-card:nth-child(8n+2){background:var(--prek-aqua)!important}
.category-card:nth-child(8n+3){background:var(--prek-green)!important}
.category-card:nth-child(8n+4){background:var(--prek-pink)!important}
.category-card:nth-child(8n+5){background:var(--prek-orange)!important}
.category-card:nth-child(8n+6){background:var(--prek-lavender)!important}
.category-card:nth-child(8n+7){background:var(--prek-sky)!important}
.category-card:nth-child(8n){background:var(--prek-mint)!important}
.category-card span{font-size:52px!important}
.category-card small{color:var(--prek-muted)}
.fresh-adventures{
  margin-top:18px;
  background:var(--prek-paper);
  border:var(--prek-line);
  border-radius:var(--prek-radius);
  overflow:hidden;
}
.fresh-adventures>summary{
  padding:15px 18px;
  background:var(--prek-aqua);
  cursor:pointer;
  font-weight:444;
}
.fresh-adventures>p{padding:0 18px;text-align:center;color:var(--prek-muted)}
.new-grid{
  padding:16px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.new-card{
  min-height:230px;
  padding:18px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  background:var(--prek-paper)!important;
  border:3px solid #fff;
  border-radius:var(--prek-radius);
}
.new-card:nth-child(3n+1){background:var(--prek-sun)!important}
.new-card:nth-child(3n+2){background:var(--prek-pink)!important}
.new-card:nth-child(3n){background:var(--prek-mint)!important}
.new-icon{font-size:52px!important}
.new-card p{color:var(--prek-muted)}
.new-open{margin-top:auto;font-weight:444}

/* ==========================================================================
   LEARNING GARDEN
   ========================================================================== */
#today .garden-heading{
  width:min(var(--prek-narrow),100%);
  padding:22px 24px;
  background:var(--prek-lavender);
  border:var(--prek-line);
  border-radius:var(--prek-radius);
  box-shadow:var(--prek-shadow-soft);
}
.garden-quick-row{
  display:grid;
  grid-template-columns:1.3fr .7fr;
  gap:12px;
  margin-bottom:16px;
}
.garden-today,.garden-stars{
  padding:18px;
  border:var(--prek-line);
  border-radius:var(--prek-radius);
  box-shadow:var(--prek-shadow-soft);
}
.garden-today{background:var(--prek-sun)}
.garden-stars{background:var(--prek-aqua)}
.garden-today a{
  display:inline-flex;
  min-height:48px;
  align-items:center;
  padding:9px 14px;
  background:var(--prek-charcoal);
  color:var(--prek-cream);
  text-decoration:none;
}
.star-meter{display:flex;flex-wrap:wrap;gap:4px;margin:10px 0}
.progress-track{height:12px;background:rgba(36,48,56,.15);border-radius:99px;overflow:hidden}
.progress-fill{height:100%;background:var(--prek-charcoal);border-radius:99px}
.garden-star-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.tool-btn{
  min-height:46px;
  padding:8px 12px;
  border:2px solid #fff;
  background:var(--prek-charcoal);
  color:var(--prek-cream);
  cursor:pointer;
}
.subject-garden{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.subject-tile{
  min-height:190px;
  padding:18px;
  border:3px solid #fff;
  border-radius:var(--prek-radius);
  background:var(--prek-paper)!important;
  color:var(--prek-charcoal)!important;
  text-align:center;
  cursor:pointer;
  box-shadow:var(--prek-shadow-soft);
}
.subject-tile:nth-child(8n+1){background:var(--prek-sun)!important}
.subject-tile:nth-child(8n+2){background:var(--prek-aqua)!important}
.subject-tile:nth-child(8n+3){background:var(--prek-green)!important}
.subject-tile:nth-child(8n+4){background:var(--prek-pink)!important}
.subject-tile:nth-child(8n+5){background:var(--prek-orange)!important}
.subject-tile:nth-child(8n+6){background:var(--prek-lavender)!important}
.subject-tile:nth-child(8n+7){background:var(--prek-sky)!important}
.subject-tile:nth-child(8n){background:var(--prek-mint)!important}
.subject-icon{display:block;font-size:54px!important;margin-bottom:8px}
.subject-tile strong{display:block;font-size:22px!important}
.subject-tile small{display:block;margin-top:6px;color:var(--prek-muted)}
.garden-trail,.garden-catalog{
  margin-top:18px;
  background:var(--prek-paper);
  border:var(--prek-line);
  border-radius:var(--prek-radius);
  overflow:hidden;
}
.garden-trail>summary{
  padding:15px 18px;
  background:var(--prek-green);
  cursor:pointer;
  font-weight:444;
}
.garden-trail>p{padding:0 18px;text-align:center;color:var(--prek-muted)}
.trail-grid{
  padding:16px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.trail-stop{
  min-height:145px;
  padding:14px;
  border:2px solid #fff;
  background:var(--prek-paper)!important;
  color:var(--prek-charcoal)!important;
  cursor:pointer;
}
.trail-stop:nth-child(6n+1){background:var(--prek-sun)!important}
.trail-stop:nth-child(6n+2){background:var(--prek-aqua)!important}
.trail-stop:nth-child(6n+3){background:var(--prek-green)!important}
.trail-stop:nth-child(6n+4){background:var(--prek-pink)!important}
.trail-stop:nth-child(6n+5){background:var(--prek-orange)!important}
.trail-stop:nth-child(6n){background:var(--prek-lavender)!important}
.trail-icon{display:block;font-size:38px!important}
.trail-meter{display:block;height:8px;margin-top:8px;background:rgba(36,48,56,.12);border-radius:99px;overflow:hidden}
.trail-meter i{display:block;height:100%;width:var(--trail-p,0);background:var(--prek-charcoal)}
.trail-celebration{padding:0 16px 16px;text-align:center}
.toolbar{
  padding:16px;
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:10px;
}
.field{
  width:100%;
  min-height:50px;
  padding:10px 12px;
  border:2px solid var(--prek-charcoal);
  background:#fff;
  color:var(--prek-charcoal);
}
.results{margin:0;padding:0 16px 10px;text-align:center;color:var(--prek-muted)}
.activity-grid{
  padding:16px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.activity{
  min-height:300px;
  padding:18px;
  display:flex;
  flex-direction:column;
  background:var(--prek-paper)!important;
  border:3px solid #fff;
  border-radius:var(--prek-radius);
  box-shadow:var(--prek-shadow-soft);
}
.activity:nth-child(8n+1){background:var(--prek-sun)!important}
.activity:nth-child(8n+2){background:var(--prek-aqua)!important}
.activity:nth-child(8n+3){background:var(--prek-green)!important}
.activity:nth-child(8n+4){background:var(--prek-pink)!important}
.activity:nth-child(8n+5){background:var(--prek-orange)!important}
.activity:nth-child(8n+6){background:var(--prek-lavender)!important}
.activity:nth-child(8n+7){background:var(--prek-sky)!important}
.activity:nth-child(8n){background:var(--prek-mint)!important}
.card-top{display:flex;align-items:center;justify-content:space-between}
.app-icon{font-size:48px!important}
.favorite{
  width:46px;height:46px;
  border:2px solid #fff;
  background:var(--prek-paper);
  color:var(--prek-charcoal);
  cursor:pointer;
}
.category-label,.stage-badge,.visited-badge{
  display:inline-block;
  width:max-content;
  max-width:100%;
  margin:7px 0;
  padding:5px 9px;
  background:rgba(255,255,255,.72);
  border-radius:99px;
  color:var(--prek-muted);
}
.visited-badge{display:none}
.activity.visited .visited-badge{display:inline-block}
.activity>p{color:var(--prek-muted)}
.card-actions{
  margin-top:auto;
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px;
}
.card-actions .open,.read-card{
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:9px 12px;
  border:2px solid #fff;
}
.card-actions .open{background:var(--prek-charcoal);color:var(--prek-cream);text-decoration:none}
.read-card{background:var(--prek-paper);color:var(--prek-charcoal);cursor:pointer}
.empty{display:none;padding:24px;text-align:center}

/* ==========================================================================
   PROFILES / FAMILY PATHWAY
   ========================================================================== */
#profiles>.shell>.heading{
  padding:22px 24px;
  background:var(--prek-orange);
  border:var(--prek-line);
  border-radius:var(--prek-radius);
}
#profiles>.shell>.actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 18px;
}
.btn,.family-action,.mentor-day-btn,.support-action{
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 14px;
  border:2px solid #fff;
  background:var(--prek-charcoal);
  color:var(--prek-cream);
  text-decoration:none;
  cursor:pointer;
}
.btn.secondary,.family-action.light,.mentor-day-btn:not(.primary){
  background:var(--prek-paper);
  color:var(--prek-charcoal);
  border-color:#fff;
}
.family-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.family-card{
  min-height:315px;
  padding:20px;
  display:flex;
  flex-direction:column;
  background:var(--prek-paper);
  border:3px solid #fff;
  border-radius:var(--prek-radius);
  box-shadow:var(--prek-shadow-soft);
}
.family-card:nth-child(6n+1){background:var(--prek-sun)}
.family-card:nth-child(6n+2){background:var(--prek-aqua)}
.family-card:nth-child(6n+3){background:var(--prek-green)}
.family-card:nth-child(6n+4){background:var(--prek-pink)}
.family-card:nth-child(6n+5){background:var(--prek-orange)}
.family-card:nth-child(6n){background:var(--prek-lavender)}
.family-icon,.parent-icon,.metric-icon{font-size:46px!important}
.family-card p{color:var(--prek-muted)}
.family-meta{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.family-meta span{padding:5px 8px;background:rgba(255,255,255,.68);border-radius:99px}
.family-actions{margin-top:auto;display:flex;flex-wrap:wrap;gap:7px}
.profile-summary{display:flex;align-items:center;gap:10px;margin:10px 0}
.profile-avatar{font-size:44px!important}
.profile-summary small{display:block;color:var(--prek-muted)}
.pinned-wrap{
  margin-top:18px;
  padding:18px;
  background:var(--prek-paper);
  border:var(--prek-line);
  border-radius:var(--prek-radius);
}
.pinned-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.pinned-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
.continuity-note,.family-idea,.parent-note{
  margin-top:14px;
  padding:14px;
  background:var(--prek-cream);
  border:2px solid #fff;
  border-radius:var(--prek-radius);
}

/* Parent dashboard */
.parent-dashboard,.weekly-snapshot,.enrolled-prek-tools,.mentor-day,.family-mentor-entry,.network-directory{
  margin-top:18px;
  padding:18px;
  background:var(--prek-paper);
  border:var(--prek-line);
  border-radius:var(--prek-radius);
  box-shadow:var(--prek-shadow-soft);
}
.dashboard-head,.mentor-day-head,.family-mentor-entry-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.dashboard-actions,.observation-actions,.weekly-actions,.enrolled-prek-actions,.mentor-day-actions,.family-mentor-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.dashboard-grid,.weekly-grid{
  margin-top:14px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.metric-card,.weekly-metric{
  padding:14px;
  background:var(--prek-cream);
  border:2px solid #fff;
  border-radius:var(--prek-radius);
  text-align:center;
}
.metric-card strong,.weekly-metric strong{display:block}
.weekly-head{
  padding:14px;
  background:var(--prek-charcoal);
  color:var(--prek-cream);
  border-radius:var(--prek-radius);
}
.weekly-head :is(h4,p){margin:0;color:var(--prek-cream)}
.observation-box{margin-top:12px;padding:14px;background:var(--prek-mint);border-radius:var(--prek-radius)}
.observation-actions button,.weekly-actions button,.weekly-actions a,.enrolled-prek-actions button{
  min-height:46px;
  padding:8px 12px;
  border:2px solid #fff;
  background:var(--prek-paper);
  color:var(--prek-charcoal);
  text-decoration:none;
  cursor:pointer;
}

/* ==========================================================================
   GROWN-UP CORNER
   ========================================================================== */
#grownups>.shell>.heading{
  padding:22px 24px;
  background:var(--prek-mint);
  border:var(--prek-line);
  border-radius:var(--prek-radius);
}
.grownup-mentor-hub{display:grid;gap:14px}
.family-mentor-entry-icon,.mentor-owl{font-size:48px!important}
.family-account-status,.enrolled-prek-status{margin-top:10px;color:var(--prek-muted)}
.child-mentor-buttons,.mentor-stations{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:12px;
}
.mentor-station{
  min-height:120px;
  padding:12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:var(--prek-aqua);
  border:2px solid #fff;
  text-align:center;
  text-decoration:none;
}
.mentor-station.done{background:var(--prek-green)}
.mentor-station i{font-style:normal;font-size:40px!important}
.mentor-day-controls{display:flex;flex-wrap:wrap;gap:8px}
.mentor-day-controls label{display:grid;gap:5px}
.mentor-day-controls select{min-height:46px;padding:8px 10px;border:2px solid var(--prek-charcoal);background:#fff}
.parent-tools,.site-grid{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.parent-card,.site-card{
  min-height:250px;
  padding:18px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  border:3px solid #fff;
  background:var(--prek-paper);
  color:var(--prek-charcoal);
  text-decoration:none;
  cursor:pointer;
  box-shadow:var(--prek-shadow-soft);
}
.parent-card:nth-child(7n+1),.site-card:nth-child(7n+1){background:var(--prek-sun)}
.parent-card:nth-child(7n+2),.site-card:nth-child(7n+2){background:var(--prek-aqua)}
.parent-card:nth-child(7n+3),.site-card:nth-child(7n+3){background:var(--prek-green)}
.parent-card:nth-child(7n+4),.site-card:nth-child(7n+4){background:var(--prek-pink)}
.parent-card:nth-child(7n+5),.site-card:nth-child(7n+5){background:var(--prek-orange)}
.parent-card:nth-child(7n+6),.site-card:nth-child(7n+6){background:var(--prek-lavender)}
.parent-card:nth-child(7n),.site-card:nth-child(7n){background:var(--prek-sky)}
.parent-card p,.site-card p{color:var(--prek-muted)}
.parent-card>span:last-child,.site-card small{margin-top:auto;font-weight:444}
.network-directory{overflow:hidden}
.network-directory>summary{
  margin:-18px -18px 0;
  padding:15px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:var(--prek-lavender);
  cursor:pointer;
}
.network-directory summary small{display:block;color:var(--prek-muted)}
.network-head{padding-top:14px;text-align:center}

/* ==========================================================================
   SUPPORT
   ========================================================================== */
.creche-support-card{
  width:min(var(--prek-narrow),100%);
  margin:auto;
  padding:24px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:20px;
  align-items:center;
  background:var(--prek-paper);
  border:var(--prek-line);
  border-radius:var(--prek-radius);
  box-shadow:var(--prek-shadow);
}
.support-heart{font-size:64px!important}
.support-copy p{color:var(--prek-muted)}
.support-promises{display:flex;flex-wrap:wrap;gap:7px}
.support-promises span{padding:6px 9px;background:var(--prek-mint);border-radius:99px}
.support-cta{display:grid;gap:8px;justify-items:center}
.support-cta small{color:var(--prek-muted);text-align:center}

/* ==========================================================================
   MENU / DIALOGS / APP WINDOWS
   ========================================================================== */
body.menu-open,body.category-directory-open{overflow:hidden}
.menu-overlay,.category-overlay,.profile-overlay,.subject-popover-backdrop,.app-modal{
  position:fixed;
  inset:0;
  z-index:10000;
  display:none;
  place-items:center;
  padding:18px;
  background:rgba(36,48,56,.68);
  backdrop-filter:blur(5px);
}
.menu-overlay.open,.category-overlay.open,.profile-overlay.open,.subject-popover-backdrop:not([hidden]),.app-modal:not([hidden]){
  display:grid;
}
.drawer,.category-dialog,.profile-dialog,.subject-popover,.app-window{
  width:min(980px,100%);
  max-height:calc(100svh - 36px);
  overflow:auto;
  background:var(--prek-paper);
  border:4px solid #fff;
  border-radius:var(--prek-radius);
  box-shadow:0 26px 70px rgba(0,0,0,.28);
}
.drawer{justify-self:end;width:min(480px,100%);height:100%;max-height:none;padding:18px}
.drawer-top,.category-dialog-head,.profile-head,.app-window-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.drawer-top,.category-dialog-head,.profile-head{padding:16px;background:var(--prek-sun)}
.drawer-search,.category-popup-search,.profile-field input,.profile-field select{
  width:100%;
  min-height:50px;
  padding:10px 12px;
  border:2px solid var(--prek-charcoal);
  background:#fff;
}
.close,.category-close,.profile-close,.subject-popover-close,.app-close,.app-maximize,.app-print{
  min-width:48px;
  min-height:48px;
  border:2px solid #fff;
  background:var(--prek-charcoal);
  color:var(--prek-cream);
  cursor:pointer;
}
.menu-group{margin-top:16px}
.menu-list{display:grid;gap:7px}
.menu-link,.menu-action,.menu-room-button{
  min-height:48px;
  display:flex;
  align-items:center;
  padding:9px 12px;
  border:2px solid #fff;
  background:var(--prek-aqua);
  color:var(--prek-charcoal);
  text-decoration:none;
}
.category-dialog-body,.profile-body{padding:18px}
.category-popup-tabs{display:flex;flex-wrap:wrap;gap:7px}
.category-popup-tabs button{
  min-height:46px;
  padding:8px 11px;
  border:2px solid #fff;
  background:var(--prek-mint);
  cursor:pointer;
}
.category-popup-tools{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;margin:12px 0}
.category-popup-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.category-popup-grid>*{padding:14px;background:var(--prek-cream);border:2px solid #fff;border-radius:var(--prek-radius)}
.profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.profile-field{display:grid;gap:6px}
.profile-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.profile-actions button{min-height:48px;padding:9px 14px;border:2px solid #fff;background:var(--prek-charcoal);color:var(--prek-cream);cursor:pointer}
.subject-popover{width:min(760px,100%);padding:24px;text-align:center;position:relative}
.subject-popover-close{position:absolute;right:12px;top:12px}
.subject-popover-icon{font-size:60px!important}
.subject-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.subject-tool{
  min-height:100px;
  padding:12px;
  display:flex;
  align-items:center;
  gap:10px;
  background:var(--prek-aqua)!important;
  color:var(--prek-charcoal)!important;
  border:2px solid #fff;
  text-decoration:none;
}
.subject-tool:nth-child(even){background:var(--prek-sun)!important}

.app-window{height:min(88vh,900px);display:grid;grid-template-rows:auto minmax(0,1fr)}
.app-window-bar{padding:10px 12px;background:var(--prek-charcoal);color:var(--prek-cream)}
.app-window-title{display:flex;align-items:center;gap:8px}
.app-window-title :is(strong,span){color:var(--prek-cream)}
.app-window-controls{display:flex;gap:6px}
.app-window-body{position:relative;min-height:0;background:#fff}
.app-window-frame{width:100%;height:100%;border:0;background:#fff}
.app-window-loading{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  background:var(--prek-paper);
  color:var(--prek-muted);
}
.app-window-loading.done{display:none}
.app-window.maximized{width:calc(100vw - 18px);height:calc(100vh - 18px);max-height:none}
.app-resize-note{padding:6px 10px;background:var(--prek-sun);text-align:center}

/* Toast */
.toast{
  position:fixed;
  left:50%;
  bottom:28px;
  z-index:12000;
  transform:translate(-50%,24px);
  opacity:0;
  padding:10px 16px;
  background:var(--prek-charcoal);
  color:var(--prek-cream);
  border-radius:var(--prek-radius);
  transition:.2s ease;
  pointer-events:none;
}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* Footer */
.footer{
  padding:28px 16px;
  background:var(--prek-charcoal);
  color:var(--prek-cream);
  text-align:center;
}
.footer .shell{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}
.footer :is(a,strong,span){color:var(--prek-cream)}
.footer>a{display:inline-block;margin-top:10px}

/* View modes */
body[data-view="child"] .grownup-mode-only{display:none!important}
body[data-view="grownup"] .child-mode-only{display:none!important}

/* Calm and reduced-motion settings */
body.calm main :is(.hero,#weeklyGarden,#myHome,#new,#today,#profiles,#grownups,#contribute){
  background:var(--prek-cream)!important;
}
body.calm .hero-copy{box-shadow:0 0 0 10px #fff,0 10px 30px rgba(36,48,56,.12)}
body.reduce-motion *,body.calm *{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media(max-width:900px){
  .hero{padding-top:52px}
  .hero-inner{min-height:590px}
  .hero-copy{width:min(560px,calc(100% - 180px));min-height:330px;padding:40px}
  .hero-copy h1{font-size:64px!important}
  .hero-preschool{font-size:36px!important}
  .hero-playground{width:96vw;height:610px}
  .orbit-button{width:96px;height:96px;font-size:42px!important}
  .hero-orbit-labels{grid-template-columns:repeat(4,minmax(0,1fr))}
  .feature-intro-card{grid-template-columns:1fr;text-align:center}
  .feature-primary-link,.feature-intro-card .reading-time-launch{width:100%}
  .weekly-garden-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .category-grid,.new-grid,.subject-garden,.activity-grid,.family-grid,.parent-tools,.site-grid,.category-popup-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .dashboard-grid,.weekly-grid,.trail-grid,.child-mentor-buttons,.mentor-stations{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .garden-quick-row{grid-template-columns:1fr}
  .creche-support-card{grid-template-columns:1fr;text-align:center}
  .support-heart{margin:auto}
  .support-promises{justify-content:center}
}

@media(max-width:640px){
  :root{--creche-anchor-offset:130px}
  body{font-size:18px}
  .shell{width:calc(100% - 24px)}
  .section,.weekly-garden,.feature-section{padding:11px 0}
  .hero{padding:42px 0 28px}
  .hero-inner{min-height:560px}
  .hero-copy{
    width:calc(100% - 110px);
    min-height:320px;
    padding:38px 22px;
    box-shadow:
      0 0 0 7px #fff,
      0 0 0 14px var(--prek-sun),
      0 0 0 21px var(--prek-pink),
      0 0 0 28px var(--prek-sky),
      0 18px 34px rgba(36,48,56,.15);
  }
  .hero-playground{height:570px}
  .orbit-button{width:84px;height:84px;font-size:36px!important}
  .orbit-button:nth-of-type(1){left:0}
  .orbit-button:nth-of-type(2){right:0}
  .orbit-button:nth-of-type(3){left:-2%}
  .orbit-button:nth-of-type(4){right:-2%}
  .orbit-button:nth-of-type(5){left:5%}
  .orbit-button:nth-of-type(6){right:5%}
  .hero-undertray{width:calc(100% - 24px);padding:14px}
  .hero-orbit-labels{grid-template-columns:repeat(2,minmax(0,1fr))}
  .feature-accordion{width:calc(100% - 24px)}
  .feature-accordion-panel{padding:12px}
  .feature-accordion>summary{grid-template-columns:auto 1fr;padding:12px 14px}
  .accordion-state{grid-column:2;text-align:left;min-width:0}
  .hero-copy h1{font-size:55px!important}
  .hero-preschool{font-size:30px!important}
  .weekly-continue{grid-template-columns:1fr;text-align:center}
  .weekly-garden-grid,.daily-school-grid,.category-grid,.new-grid,.subject-garden,.activity-grid,.family-grid,.parent-tools,.site-grid,
  .dashboard-grid,.weekly-grid,.trail-grid,.child-mentor-buttons,.mentor-stations,.category-popup-grid,.profile-fields,.subject-tool-grid{
    grid-template-columns:1fr;
  }
  .toolbar{grid-template-columns:1fr}
  .card-actions{grid-template-columns:1fr}
  .pinned-head,.dashboard-head,.mentor-day-head,.family-mentor-entry-head{align-items:stretch}
  .pinned-list{grid-template-columns:1fr}
  .category-popup-tools{grid-template-columns:1fr}
}

@media(max-width:420px){
  .hero-copy{width:calc(100% - 84px);padding-inline:18px}
  .hero-copy h1{font-size:50px!important}
  .hero-preschool{font-size:28px!important}
  .orbit-button{width:74px;height:74px;font-size:31px!important}
}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}
}

@media print{
  .hero-playground,.hero-undertray,.menu-overlay,.category-overlay,.profile-overlay,.app-modal,.footer,.breadcrumbs,[data-preschool-language-control]{display:none!important}
  .feature-accordion>summary{display:none!important}
  .feature-accordion-panel{display:block!important;border:0!important;padding:0!important}
  body,main,.section,.weekly-garden{background:#fff!important;color:#000!important}
  .hero{padding:20px 0;background:#fff!important}
  .hero-copy{box-shadow:none;border:2px solid #000}
}

@keyframes creche-breathe{
  to{transform:translateY(-3px);border-radius:48% 52% 50% 50% / 50% 47% 53% 50%}
}
@keyframes orbit-float{
  to{transform:translateY(-8px) rotate(3deg)}
}

/* Accordion-era section tuning */
.feature-accordion-panel :is(.weekly-garden-card,.quick-picks,.fresh-adventures,.garden-trail,.garden-catalog,.parent-dashboard,.weekly-snapshot,.enrolled-prek-tools,.mentor-day,.family-mentor-entry,.network-directory,.creche-support-card){
  max-width:100%;
}
.feature-accordion-panel :is(.heading,.weekly-garden-head){
  margin-bottom:18px;
}
.feature-accordion-panel .weekly-garden-card,
.feature-accordion-panel .quick-picks,
.feature-accordion-panel .fresh-adventures,
.feature-accordion-panel .garden-trail,
.feature-accordion-panel .garden-catalog,
.feature-accordion-panel .parent-dashboard,
.feature-accordion-panel .weekly-snapshot,
.feature-accordion-panel .enrolled-prek-tools,
.feature-accordion-panel .mentor-day,
.feature-accordion-panel .family-mentor-entry,
.feature-accordion-panel .network-directory,
.feature-accordion-panel .creche-support-card{
  box-shadow:none;
}

/* Charcoal page backdrop · 2026-11-23
   Only neutral WHITE/CREAM exterior and accordion surfaces change.
   All approved colorful cards, accordions, labels and buttons keep their fill.
   The coral pinned-apps interior is explicitly preserved. */
@media screen{
 html body{background:var(--prek-charcoal)!important}
 html body main > section.feature-section,
 html body main > section.section,
 html body main > section.weekly-garden,
 html body :is(#weeklyGarden,#myHome,#new,#today,#profiles,#grownups,#contribute){
  background:var(--prek-charcoal)!important;
 }
 html body .feature-accordion{
  background:var(--prek-charcoal)!important;
 }
 html body .feature-accordion>.feature-accordion-panel{
  background:var(--prek-charcoal)!important;
  color:var(--prek-cream)!important;
 }
 html body .weekly-garden-card{
  background:var(--prek-charcoal)!important;
  color:var(--prek-cream)!important;
 }
 html body #pinnedApps .feature-accordion[data-feature="pinned"]>.feature-accordion-panel,
 html body #pinnedApps .prek-pin-shell{
  background:#ffadad!important;color:#243038!important;
 }
 html body.calm main :is(#weeklyGarden,#myHome,#new,#today,#profiles,#grownups,#contribute){
  background:var(--prek-charcoal)!important;
 }
 html body .feature-accordion-panel>p,
 html body .weekly-garden-card>p{
  color:var(--prek-cream)!important;
 }
}


/* Preschool Week selector and activity links only; official VNV header uses its original styling. */
@media screen{
  html body #weeklyGarden .weekly-garden-week{
    background:var(--prek-charcoal)!important;
    color:var(--prek-cream)!important;
    -webkit-text-fill-color:var(--prek-cream)!important;
    border:2px solid var(--prek-sun)!important;
    border-radius:7px!important;
  }
  html body #weeklyGarden .weekly-adventure,
  html body #weeklyGarden .weekly-adventure:is(:hover,:focus,:active,:visited),
  html body #weeklyGarden .weekly-adventure :is(a,span,small,strong,em){
    text-decoration:none!important;
    text-decoration-line:none!important;
  }
}


/* My Crèche Home · four quick-pick cards only.
   Approved colors, equal PLAY actions, 5px card borders. */
#myHome .quick-picks .daily-school-grid>.daily-school-card{
  box-sizing:border-box!important;
  border:5px solid #fff!important;
  border-radius:7px!important;
}
#myHome .quick-picks .daily-school-card>.daily-school-btn{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:66px!important;
  margin-top:auto!important;
  padding:10px 14px!important;
  border:3px solid #fff!important;
  border-radius:7px!important;
  color:#000!important;
  -webkit-text-fill-color:#000!important;
  font:400 24px/1.3 "Comic Sans MS","Chalkboard SE",cursive!important;
  text-align:center!important;
  text-decoration:none!important;
  text-shadow:none!important;
}
#myHome .quick-picks .daily-school-card:nth-child(1)>.daily-school-btn{background:var(--prek-lavender)!important}
#myHome .quick-picks .daily-school-card:nth-child(2)>.daily-school-btn{background:var(--prek-orange)!important}
#myHome .quick-picks .daily-school-card:nth-child(3)>.daily-school-btn{background:var(--prek-pink)!important}
#myHome .quick-picks .daily-school-card:nth-child(4)>.daily-school-btn{background:var(--prek-sun)!important}
#myHome .quick-picks .daily-school-card>.daily-school-btn:is(:hover,:focus-visible){
  text-decoration:none!important;
  outline-offset:2px!important;
}

/* Learning Garden: the optional Today card is deliberately hidden; don't
   reserve its unused second column beside My Adventure Stars. */
html body #today .garden-quick-row{
  grid-template-columns:minmax(0,1fr)!important;
}
html body #today .garden-quick-row>.garden-today[hidden]{display:none!important}
html body #today .garden-quick-row>.garden-stars{
  grid-column:1/-1!important;
  width:100%!important;
  min-width:0!important;
}
/* The dark See Every Adventure card below the learning subjects is red. */
html body #today #gardenAllBtn{
  background:var(--prek-watermelon)!important;
  color:var(--prek-cream)!important;
  -webkit-text-fill-color:var(--prek-cream)!important;
  border:5px solid #fff!important;
  border-radius:7px!important;
  text-decoration:none!important;
}

/* PRESCHOOL TOOLS · 2026-11-23
   The optional Today tile is hidden; a single Adventure Stars card should
   occupy the entire available row, with no reserved black second column. */
html body #today .garden-quick-row{
 display:grid!important;
 grid-template-columns:minmax(0,1fr)!important;
 width:100%!important;
}
html body #today .garden-quick-row>.garden-today[hidden]{display:none!important}
html body #today .garden-quick-row>.garden-stars{
 grid-column:1/-1!important;
 width:100%!important;
 max-width:none!important;
 min-width:0!important;
 justify-self:stretch!important;
}
/* User-approved cream font rule, scoped to vivid Preschool Tools subject
   cards: third green, fourth pink/red, fifth orange, sixth purple. */
html body #today #subjectGarden>.subject-tile:nth-child(8n+3),
html body #today #subjectGarden>.subject-tile:nth-child(8n+4),
html body #today #subjectGarden>.subject-tile:nth-child(8n+5),
html body #today #subjectGarden>.subject-tile:nth-child(8n+6),
html body #today #subjectGarden>.subject-tile:nth-child(8n+3) :is(strong,small,span),
html body #today #subjectGarden>.subject-tile:nth-child(8n+4) :is(strong,small,span),
html body #today #subjectGarden>.subject-tile:nth-child(8n+5) :is(strong,small,span),
html body #today #subjectGarden>.subject-tile:nth-child(8n+6) :is(strong,small,span){
 color:var(--prek-cream)!important;
 -webkit-text-fill-color:var(--prek-cream)!important;
 text-shadow:none!important;
}
/* Keep approved red for the previously dark controls beneath subject cards. */
html body #today .garden-bottom-actions>#gardenAllBtn,
html body #today .garden-bottom-actions>.garden-action.graduate{
 background:var(--prek-watermelon)!important;
 color:var(--prek-cream)!important;
 -webkit-text-fill-color:var(--prek-cream)!important;
 border:5px solid #fff!important;
 border-radius:7px!important;
 text-decoration:none!important;
}

/* Purple Preschool Tools heading and accordion bar: light cream text. */
html body #today .feature-accordion[data-feature="garden"]>summary,
html body #today .feature-accordion[data-feature="garden"]>summary :is(strong,span),
html body #today .garden-heading,
html body #today .garden-heading :is(h2,p,.kicker){
 color:var(--prek-cream)!important;
 -webkit-text-fill-color:var(--prek-cream)!important;
 text-shadow:none!important;
}

/* PRESCHOOL TOOLS · Adventure directory / 2-column card architecture.
   Only catalog #activityGrid. Child-first, no faux buttons or vertical text. */
html body #today #activityGrid.activity-grid{
 display:grid!important;
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:16px!important;
 padding:16px!important;
 align-items:stretch!important;
}
html body #today #activityGrid>.activity{
 box-sizing:border-box!important;
 min-width:0!important;
 width:100%!important;
 min-height:340px!important;
 padding:18px!important;
 display:flex!important;
 flex-direction:column!important;
 align-items:center!important;
 gap:8px!important;
 text-align:center!important;
 border:5px solid #000!important;
 border-radius:7px!important;
 overflow-wrap:break-word!important;
 word-break:normal!important;
}
html body #today #activityGrid>.activity .card-top{
 display:flex!important;
 justify-content:center!important;
 width:100%!important;
 min-width:0!important;
}
html body #today #activityGrid>.activity .app-icon{
 display:block!important;
 font-size:66px!important;
 line-height:1.1!important;
}
html body #today #activityGrid>.activity :is(.category-label,h3,p,.stage-badge,.visited-badge){
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 margin:3px 0!important;
 text-align:center!important;
 line-height:1.4!important;
 overflow-wrap:break-word!important;
 word-break:normal!important;
 white-space:normal!important;
}
html body #today #activityGrid>.activity h3{
 font-size:28px!important;
 font-weight:333!important;
}
html body #today #activityGrid>.activity>p{
 font-size:24px!important;
 color:#243038!important;
}
html body #today #activityGrid>.activity :is(.category-label,.stage-badge,.visited-badge){
 display:block!important;
 width:auto!important;
 max-width:100%!important;
 padding:4px 0!important;
 background:transparent!important;
 border:0!important;
 border-radius:0!important;
 box-shadow:none!important;
 font-size:18px!important;
 color:#243038!important;
}
html body #today #activityGrid>.activity .visited-badge{display:none!important}
html body #today #activityGrid>.activity.visited .visited-badge{display:block!important}
html body #today #activityGrid>.activity .card-actions{
 display:grid!important;
 grid-template-columns:minmax(0,1fr) minmax(0,1fr) 56px!important;
 width:100%!important;
 gap:8px!important;
 margin-top:auto!important;
 padding-top:18px!important;
 align-items:stretch!important;
 justify-items:stretch!important;
}
html body #today #activityGrid>.activity .card-actions :is(.open,.read-card,.favorite){
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 box-sizing:border-box!important;
 position:static!important;
 width:100%!important;
 min-width:0!important;
 height:auto!important;
 min-height:64px!important;
 padding:10px 6px!important;
 margin:0!important;
 border:3px solid #fff!important;
 border-radius:7px!important;
 font:333 24px/1.15 "Comic Sans MS","Chalkboard SE",cursive!important;
 text-align:center!important;
 text-decoration:none!important;
 white-space:normal!important;
 overflow-wrap:normal!important;
 word-break:normal!important;
 cursor:pointer!important;
}
html body #today #activityGrid>.activity .card-actions .open{
 background:var(--prek-lavender)!important;
 color:var(--prek-cream)!important;
 -webkit-text-fill-color:var(--prek-cream)!important;
}
html body #today #activityGrid>.activity .card-actions .read-card{
 background:var(--prek-orange)!important;
 color:var(--prek-cream)!important;
 -webkit-text-fill-color:var(--prek-cream)!important;
}
html body #today #activityGrid>.activity .card-actions .favorite{
 background:var(--prek-watermelon)!important;
 color:var(--prek-cream)!important;
 -webkit-text-fill-color:var(--prek-cream)!important;
 font-size:33px!important;
}
html body #today #activityGrid>.activity:nth-child(8n+4),
html body #today #activityGrid>.activity:nth-child(8n+5),
html body #today #activityGrid>.activity:nth-child(8n+6),
html body #today #activityGrid>.activity:nth-child(8n+3){
 color:var(--prek-cream)!important;
 -webkit-text-fill-color:var(--prek-cream)!important;
}
html body #today #activityGrid>.activity:nth-child(8n+4)>:is(h3,p,.category-label),
html body #today #activityGrid>.activity:nth-child(8n+5)>:is(h3,p,.category-label),
html body #today #activityGrid>.activity:nth-child(8n+6)>:is(h3,p,.category-label),
html body #today #activityGrid>.activity:nth-child(8n+3)>:is(h3,p,.category-label){
 color:var(--prek-cream)!important;
 -webkit-text-fill-color:var(--prek-cream)!important;
}
@media(max-width:520px){
 html body #today #activityGrid.activity-grid{grid-template-columns:1fr!important}
}

/* GRADUATION GARDEN · joyful Preschool palette, with its one real
   navigation button anchored to the bottom of the full-width card. */
html body #graduationFeature .graduation-feature-card{
 display:flex!important;
 flex-direction:column!important;
 align-items:stretch!important;
 justify-content:space-between!important;
 gap:18px!important;
 width:100%!important;
 min-height:365px!important;
 padding:22px!important;
 background:var(--prek-sun)!important;
 border:5px solid #fff!important;
 border-radius:7px!important;
 text-align:center!important;
 box-sizing:border-box!important;
}
html body #graduationFeature .graduation-feature-card>div{
 flex:1 1 auto!important;
 display:flex!important;
 flex-direction:column!important;
 align-items:center!important;
 justify-content:center!important;
 min-width:0!important;
 gap:12px!important;
}
html body #graduationFeature .graduation-feature-icon{
 display:block!important;
 font-size:66px!important;
 line-height:1.1!important;
}
html body #graduationFeature .graduation-feature-card .kicker{
 background:var(--prek-coral)!important;
 color:var(--prek-charcoal)!important;
 -webkit-text-fill-color:var(--prek-charcoal)!important;
 padding:10px 16px!important;
 border:3px solid #fff!important;
 border-radius:7px!important;
 font:333 24px/1.3 "Comic Sans MS","Chalkboard SE",cursive!important;
 text-align:center!important;
}
html body #graduationFeature .graduation-feature-card h2{
 color:#000!important;
 -webkit-text-fill-color:#000!important;
 -webkit-text-stroke:.6px var(--prek-lavender)!important;
 text-shadow:none!important;
 font:333 44px/1.2 "Comic Sans MS","Chalkboard SE",cursive!important;
 margin:0!important;
 text-align:center!important;
}
html body #graduationFeature .graduation-feature-card>div>p:last-child{
 width:100%!important;
 max-width:760px!important;
 margin:0!important;
 padding:16px 18px!important;
 background:var(--prek-mint)!important;
 color:#000!important;
 -webkit-text-fill-color:#000!important;
 border:3px solid #fff!important;
 border-radius:7px!important;
 font:333 24px/1.45 "Comic Sans MS","Chalkboard SE",cursive!important;
 text-align:center!important;
}
html body #graduationFeature .graduation-feature-card>.feature-primary-link{
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 align-self:stretch!important;
 width:100%!important;
 min-height:75px!important;
 margin-top:auto!important;
 padding:14px 18px!important;
 background:var(--prek-lavender)!important;
 color:var(--prek-cream)!important;
 -webkit-text-fill-color:var(--prek-cream)!important;
 border:5px solid #fff!important;
 border-radius:7px!important;
 font:333 24px/1.35 "Comic Sans MS","Chalkboard SE",cursive!important;
 text-decoration:none!important;
 text-shadow:none!important;
 text-align:center!important;
 box-sizing:border-box!important;
}
html body #graduationFeature .graduation-feature-card>.feature-primary-link:focus-visible{
 outline:4px solid #243038!important;
 outline-offset:3px!important;
}


/* Recovery refinement: compact two-column family pathway; no directory placeholders.
   Single scoped owner; preserve existing palette and functional event IDs. */
html body #profiles .family-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
}
html body #profiles .family-grid>.family-card,
html body #profiles .family-grid>#pinnedGames{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  height:100%!important;
  padding:20px!important;
  border:3px solid #fff!important;
  border-radius:7px!important;
  text-align:center!important;
}
html body #profiles .family-card>.family-icon{align-self:center!important;}
html body #profiles .family-card h3,
html body #profiles #pinnedGames h3{
  margin:8px 0 14px!important;
  line-height:1.25!important;
}
html body #profiles .family-card p{
  margin:0 0 14px!important;
  line-height:1.5!important;
}
html body #profiles .family-card .family-meta{
  justify-content:center!important;
  margin:6px 0 16px!important;
}
html body #profiles .family-card .family-actions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:9px!important;
  margin-top:auto!important;
  padding-top:18px!important;
  align-items:stretch!important;
}
html body #profiles .family-card .family-actions>:only-child{grid-column:1/-1!important;}
html body #profiles .family-card:nth-child(3) .family-actions>a:last-child{grid-column:1/-1!important;}
html body #profiles .family-card .family-actions>:is(a,button),
html body #profiles #managePinnedGames{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  min-height:48px!important;
  margin:0!important;
  padding:10px 12px!important;
  background:var(--prek-charcoal)!important;
  color:var(--prek-cream)!important;
  -webkit-text-fill-color:var(--prek-cream)!important;
  border:2px solid var(--prek-cream)!important;
  border-radius:7px!important;
  font-size:16px!important;
  line-height:1.3!important;
  text-align:center!important;
  text-decoration:none!important;
  overflow-wrap:break-word!important;
}
html body #profiles .family-card .profile-summary{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:left!important;
  margin:10px 0 16px!important;
}
html body #profiles .profile-summary :is(strong,small){
  font-size:16px!important;
  line-height:1.4!important;
}
html body #profiles .actions[aria-label="Pre-K student profile entrances"]{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px!important;
  margin:0 auto 18px!important;
}
html body #profiles .actions[aria-label="Pre-K student profile entrances"]>.btn{
  max-width:100%!important;
  min-height:48px!important;
  padding:12px 18px!important;
  border-radius:7px!important;
  background:var(--prek-charcoal)!important;
  color:var(--prek-cream)!important;
  -webkit-text-fill-color:var(--prek-cream)!important;
  border:2px solid #fff!important;
  text-align:center!important;
}
html body #profiles .feature-accordion[data-feature="profile"]>summary{
  background:var(--prek-watermelon)!important;
  color:var(--prek-charcoal)!important;
}
html body #profiles .feature-accordion[data-feature="profile"]>summary :is(strong,span){
  color:var(--prek-charcoal)!important;
  -webkit-text-fill-color:var(--prek-charcoal)!important;
}
html body #profiles .heading{
  padding:20px!important;
  border:3px solid #fff!important;
  border-radius:7px!important;
  background:var(--prek-watermelon)!important;
}
html body #profiles .heading :is(h2,p){
  color:var(--prek-charcoal)!important;
  -webkit-text-fill-color:var(--prek-charcoal)!important;
}
html body #profiles .family-grid>.family-card:nth-child(3){
  background:var(--prek-green)!important;
  color:var(--prek-cream)!important;
}
html body #profiles .family-grid>.family-card:nth-child(3) :is(h3,p,span,strong,small){
  color:var(--prek-cream)!important;
  -webkit-text-fill-color:var(--prek-cream)!important;
}
html body #profiles .family-grid>#pinnedGames{
  margin:0!important;
  background:var(--prek-lavender)!important;
  color:var(--prek-charcoal)!important;
  gap:12px!important;
  justify-content:flex-start!important;
}
html body #profiles #pinnedGames .pinned-head{
  display:block!important;
  text-align:center!important;
  margin:0!important;
}
html body #profiles #pinnedGames .pinned-head p{
  font-size:18px!important;
  line-height:1.5!important;
  margin:0!important;
}
html body #profiles #pinnedGames .pinned-list{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0!important;
}
html body #profiles #pinnedGames .pinned-list:empty{display:none!important;}
html body #profiles #pinnedGames .continuity-note{
  margin-top:auto!important;
  padding:14px!important;
  text-align:left!important;
  background:var(--prek-cream)!important;
  color:var(--prek-charcoal)!important;
  border:2px solid #fff!important;
  border-radius:7px!important;
  font-size:16px!important;
  line-height:1.5!important;
}
html body #profiles #managePinnedGames{margin-top:4px!important;}
html body #graduationFeature .feature-accordion[data-feature="graduation"]>summary{
  background:var(--prek-green)!important;
  color:var(--prek-cream)!important;
}
html body #graduationFeature .feature-accordion[data-feature="graduation"]>summary :is(strong,span){
  color:var(--prek-cream)!important;
  -webkit-text-fill-color:var(--prek-cream)!important;
}
html body #graduationFeature .graduation-feature-card{
  min-height:390px!important;
  padding:28px!important;
  gap:20px!important;
}
html body #graduationFeature .graduation-feature-card>div{gap:16px!important;}
@media(max-width:640px){
  html body #profiles .family-grid{grid-template-columns:1fr!important;}
  html body #profiles .family-card .family-actions{grid-template-columns:1fr!important;}
  html body #profiles .family-card .family-actions>:is(a,button){grid-column:1/-1!important;}
  html body #profiles #pinnedGames .pinned-list{grid-template-columns:1fr!important;}
  html body #graduationFeature .graduation-feature-card{min-height:0!important;padding:18px!important;}
}


/* Preschool readable text and rainbow actions - 2026-11-23 */
/* Explicit user-approved palette: watermelon title remains pink, no black plate. */
html body #profiles .heading h2 {
 background:transparent!important;
 color:#fff!important;-webkit-text-fill-color:#fff!important;
 -webkit-text-stroke:1.3px #101010!important;
 paint-order:stroke fill!important;
 text-shadow:1px 1px 0 #101010,-1px -1px 0 #101010,1px -1px 0 #101010,-1px 1px 0 #101010!important;
}
/* Page content typography; canonical site header, tickers and toolbars remain untouched. */
html body main :is(p,li,small,label,legend,summary,a,button,input,select,textarea,strong,span),
html body footer :is(p,small,a,strong,span){
 font-size:24px!important;line-height:1.4!important;
}
html body main :is(h3,h4,h5,h6){font-size:max(24px,1.5rem)!important;}
html body main .family-icon{font-size:46px!important;}
html body main #graduationFeature .graduation-feature-icon{font-size:66px!important;}
html body main .accordion-icon{font-size:30px!important;}
html body #profiles :is(.profile-summary strong,.profile-summary small,.pinned-head p,.continuity-note,.family-meta span),
html body #profiles .family-card :is(p,small,strong,span),
html body #profiles #pinnedGames :is(p,strong,span){
 font-size:24px!important;line-height:1.4!important;
}
/* Preserve existing 2x2 grid and ensure comfortably sized, colorful working actions. */
html body #profiles .family-card .family-actions>:is(a,button),
html body #profiles #managePinnedGames,
html body #profiles .actions[aria-label="Pre-K student profile entrances"]>.btn {
 min-height:66px!important;min-width:0!important;
 padding:12px 14px!important;
 font-size:24px!important;line-height:1.3!important;font-weight:400!important;
 border:3px solid #fff!important;border-radius:7px!important;
 text-align:center!important;overflow-wrap:break-word!important;
 background:var(--prek-sun)!important;
 color:var(--prek-charcoal)!important;
 -webkit-text-fill-color:var(--prek-charcoal)!important;
}
html body #profiles .actions[aria-label="Pre-K student profile entrances"]>.btn.primary{background:var(--prek-lavender)!important;}
html body #profiles .actions[aria-label="Pre-K student profile entrances"]>.btn.secondary{background:var(--prek-sky)!important;}
html body #profiles .family-card:nth-child(1) .family-action{background:var(--prek-orange)!important;}
html body #profiles .family-card:nth-child(2) .family-actions>:nth-child(1){background:var(--prek-lavender)!important;}
html body #profiles .family-card:nth-child(2) .family-actions>:nth-child(2){background:var(--prek-mint)!important;}
html body #profiles .family-card:nth-child(3) .family-actions>:nth-child(1){background:var(--prek-sun)!important;}
html body #profiles .family-card:nth-child(3) .family-actions>:nth-child(2){background:var(--prek-sky)!important;}
html body #profiles .family-card:nth-child(3) .family-actions>:nth-child(3){background:var(--prek-orange)!important;}
html body #profiles .family-card:nth-child(3) .family-actions>:nth-child(4){background:var(--prek-lavender)!important;}
html body #profiles #managePinnedGames{background:var(--prek-mint)!important;}
@media(max-width:640px){
 html body #profiles .family-card .family-actions{grid-template-columns:1fr!important;}
}


/* Preschool profile and support card specific refinements, approved colors retained. */
html body #profiles .feature-accordion[data-feature="profile"]>summary,
html body #profiles .feature-accordion[data-feature="profile"]>summary :is(strong,span){
  color:var(--prek-cream)!important;
  -webkit-text-fill-color:var(--prek-cream)!important;
}
html body #profiles .heading :is(p,.kicker){
  color:var(--prek-cream)!important;
  -webkit-text-fill-color:var(--prek-cream)!important;
}
/* Preserve the separately approved white title with a black outline. */
html body #profiles .heading h2{
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  -webkit-text-stroke:1.3px #101010!important;
}
html body #profiles #pinnedGames :is(h3,p,span,strong),
html body #profiles #pinnedGames .pinned-head :is(h3,p),
html body #profiles #pinnedGames .pinned-list :is(p,span,strong){
  color:var(--prek-cream)!important;
  -webkit-text-fill-color:var(--prek-cream)!important;
}
html body #profiles #pinnedGames .continuity-note,
html body #profiles #pinnedGames .continuity-note :is(strong,span,p){
  color:var(--prek-charcoal)!important;
  -webkit-text-fill-color:var(--prek-charcoal)!important;
}
/* Four real family actions, exactly two equal columns by two rows. */
html body #profiles .family-grid>.family-card:nth-child(3) .family-actions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-rows:minmax(74px,auto)!important;
  gap:10px!important;
  margin-top:auto!important;
}
html body #profiles .family-grid>.family-card:nth-child(3) .family-actions>:is(a,button){
  grid-column:auto!important;
  width:100%!important;height:100%!important;min-width:0!important;
  min-height:74px!important;
  padding:10px 12px!important;
  font-size:24px!important;
  line-height:1.25!important;
  align-self:stretch!important;
}
/* Donation card: sky blue fill, full-width centered copy, bottom red call-to-action. */
html body #contribute .creche-support-card{
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:18px!important;
  min-height:460px!important;
  padding:24px!important;
  background:var(--prek-sky)!important;
  border:3px solid #fff!important;
  border-radius:7px!important;
  color:var(--prek-charcoal)!important;
  text-align:center!important;
}
html body #contribute .support-heart{align-self:center!important;}
html body #contribute .support-copy{
  width:100%!important;min-width:0!important;max-width:100%!important;
  text-align:center!important;
}
html body #contribute .support-copy :is(h2,p,strong,.kicker){
  color:var(--prek-charcoal)!important;
  -webkit-text-fill-color:var(--prek-charcoal)!important;
  max-width:100%!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
html body #contribute .support-promises{
  display:flex!important;flex-wrap:wrap!important;
  justify-content:center!important;gap:10px!important;
}
html body #contribute .support-cta{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  margin-top:auto!important;
}
html body #contribute #crecheSupportLaunch{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:72px!important;
  margin:0!important;
  padding:14px 20px!important;
  background:var(--prek-watermelon)!important;
  color:var(--prek-cream)!important;
  -webkit-text-fill-color:var(--prek-cream)!important;
  border:3px solid #fff!important;
  border-radius:7px!important;
  font-size:24px!important;
  text-align:center!important;
}
html body #contribute .support-cta small{
  color:var(--prek-charcoal)!important;
  -webkit-text-fill-color:var(--prek-charcoal)!important;
}
html body #contribute .feature-accordion[data-feature="support"]>summary :is(strong,span){
  color:var(--prek-cream)!important;
  -webkit-text-fill-color:var(--prek-cream)!important;
}
@media(max-width:640px){
  html body #profiles .family-grid>.family-card:nth-child(3) .family-actions{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  html body #contribute .creche-support-card{min-height:0!important;padding:18px!important;}
}


/* Preschool contrast correction: blue profile tab and vivid action lettering. */
/* Distinguish accordion tab from the separately styled watermelon title card. */
html body #profiles .feature-accordion[data-feature="profile"]>summary {
  background:#245a96!important;
  color:var(--prek-cream)!important;
}
html body #profiles .feature-accordion[data-feature="profile"]>summary :is(strong,span) {
  color:var(--prek-cream)!important;
  -webkit-text-fill-color:var(--prek-cream)!important;
}
/* Upper navigation: only the colored green Rooms, pink, orange and purple buttons. */
html body .hero-orbit-labels>:nth-child(8n+3),
html body .hero-orbit-labels>:nth-child(8n+4),
html body .hero-orbit-labels>:nth-child(8n+5),
html body .hero-orbit-labels>:nth-child(8n+6) {
  color:var(--prek-cream)!important;
  -webkit-text-fill-color:var(--prek-cream)!important;
}
/* Preserve button fills: set cream lettering on existing purple actions only. */
html body #profiles .actions[aria-label="Pre-K student profile entrances"]>.btn.primary,
html body #profiles .family-card:nth-child(2) .family-actions>:nth-child(1),
html body #profiles .family-card:nth-child(3) .family-actions>:nth-child(4) {
  color:var(--prek-cream)!important;
  -webkit-text-fill-color:var(--prek-cream)!important;
}
/* Watermelon support tab retains its pink background. */
html body #contribute .feature-accordion[data-feature="support"]>summary,
html body #contribute .feature-accordion[data-feature="support"]>summary :is(strong,span) {
  color:var(--prek-cream)!important;
  -webkit-text-fill-color:var(--prek-cream)!important;
}


/* Global white type on existing purple, watermelon and orange actions. */
/* Typography-only correction. No fills, borders, dimensions, or destinations changed.
   Apply to the actual interactive controls, including dynamically rendered grids. */
html body :is(
  .hero-orbit-labels>:nth-child(8n+4),
  .hero-orbit-labels>:nth-child(8n+5),
  .hero-orbit-labels>:nth-child(8n+6),
  .hero-playground>.orbit-button:nth-of-type(2),
  .hero-playground>.orbit-button:nth-of-type(5),
  .hero-playground>.orbit-button:nth-of-type(6),
  #myHome .quick-picks .daily-school-card:nth-child(1)>.daily-school-btn,
  #myHome .quick-picks .daily-school-card:nth-child(2)>.daily-school-btn,
  #myHome .quick-picks .daily-school-card:nth-child(3)>.daily-school-btn,
  #profiles .actions[aria-label="Pre-K student profile entrances"]>.btn.primary,
  #profiles .family-card:nth-child(1) .family-actions>.family-action,
  #profiles .family-card:nth-child(2) .family-actions>:nth-child(1),
  #profiles .family-card:nth-child(3) .family-actions>:nth-child(3),
  #profiles .family-card:nth-child(3) .family-actions>:nth-child(4),
  #today #gardenAllBtn,
  #today .garden-bottom-actions>.garden-action.graduate,
  #today #activityGrid>.activity .card-actions :is(.open,.read-card,.favorite),
  #contribute #crecheSupportLaunch,
  #weeklyGarden .weekly-adventure:nth-child(8n+4),
  #weeklyGarden .weekly-adventure:nth-child(8n+5),
  #weeklyGarden .weekly-adventure:nth-child(8n+6),
  .category-grid>.category-card:nth-child(8n+4),
  .category-grid>.category-card:nth-child(8n+5),
  .category-grid>.category-card:nth-child(8n+6),
  .subject-garden>.subject-tile:nth-child(8n+4),
  .subject-garden>.subject-tile:nth-child(8n+5),
  .subject-garden>.subject-tile:nth-child(8n+6),
  .trail-grid>.trail-stop:nth-child(6n+4),
  .trail-grid>.trail-stop:nth-child(6n+5),
  .trail-grid>.trail-stop:nth-child(6n+6)
){
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html body :is(
  #myHome .quick-picks .daily-school-card:nth-child(-n+3)>.daily-school-btn,
  .category-grid>.category-card:nth-child(8n+4),
  .category-grid>.category-card:nth-child(8n+5),
  .category-grid>.category-card:nth-child(8n+6),
  .subject-garden>.subject-tile:nth-child(8n+4),
  .subject-garden>.subject-tile:nth-child(8n+5),
  .subject-garden>.subject-tile:nth-child(8n+6),
  .trail-grid>.trail-stop:nth-child(6n+4),
  .trail-grid>.trail-stop:nth-child(6n+5),
  .trail-grid>.trail-stop:nth-child(6n+6),
  #weeklyGarden .weekly-adventure:nth-child(8n+4),
  #weeklyGarden .weekly-adventure:nth-child(8n+5),
  #weeklyGarden .weekly-adventure:nth-child(8n+6)
) :is(span,strong,small){
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
/* Accordion tabs with violet, pink and orange backgrounds also use white labels. */
html body .feature-accordion[data-feature="explore"]>summary,
html body .feature-accordion[data-feature="garden"]>summary,
html body .feature-accordion[data-feature="support"]>summary,
html body :is(
 .feature-accordion[data-feature="explore"]>summary,
 .feature-accordion[data-feature="garden"]>summary,
 .feature-accordion[data-feature="support"]>summary
) :is(strong,span){
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}


/* Preschool Reading Time and Explore & Play card refinements · 2026-11-23 */
/* Preserve the accordion’s yellow tab; recolor only its interior content card. */
html body #readingFeature .reading-feature-card{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  min-height:300px!important;
  gap:20px!important;
  padding:24px!important;
  background:var(--prek-sky)!important;
  border:3px solid #fff!important;
  border-radius:7px!important;
  text-align:center!important;
}
html body #readingFeature .reading-feature-card>div{
  flex:1 1 auto!important;
  width:100%!important;
  min-width:0!important;
}
html body #readingFeature .reading-feature-card :is(.kicker,h2,p){
  color:var(--prek-charcoal)!important;
  -webkit-text-fill-color:var(--prek-charcoal)!important;
  text-align:center!important;
}
html body #readingFeature .reading-feature-card .reading-time-launch{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:stretch!important;
  width:100%!important;
  min-height:66px!important;
  margin-top:auto!important;
  padding:12px 18px!important;
  background:var(--prek-watermelon)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border:3px solid #fff!important;
  border-radius:7px!important;
  font-size:24px!important;
  text-align:center!important;
}
/* Title lettering only: retain green Explore & Play hero background. */
html body #new #explorePlayTitle{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
/* Explicit two-line shelf metadata; never alter category card links or layout. */
html body #new #categoryGrid .category-card small{
  display:block!important;
  line-height:1.4!important;
  text-align:center!important;
}


/* Preschool Tools: clear cyan text, count rows, five distinctive actions. */
/* Text color on both light-blue surfaces, without modifying their backgrounds. */
html body #today .garden-stars :is(.kicker,#visitCount,#starMeter,.empty-stars),
html body #today #subjectGarden>.subject-tile:nth-child(2),
html body #today #subjectGarden>.subject-tile:nth-child(2) :is(strong,small,span){
 color:#101010!important;
 -webkit-text-fill-color:#101010!important;
}
/* Place the count and its noun together on a separate line in every subject. */
html body #today #subjectGarden .subject-tile small .subject-description{
 display:block!important;
}
html body #today #subjectGarden .subject-tile small .subject-count{
 display:block!important;
 white-space:nowrap!important;
 margin-top:6px!important;
 font-size:24px!important;
 line-height:1.3!important;
}
/* Five working buttons, five existing palette colors, none charcoal. */
html body #today #favoritesBtn{
 background:var(--prek-pink)!important;
 color:#fff!important;
 -webkit-text-fill-color:#fff!important;
}
html body #today #favoritesBtn #favoriteCount{
 color:#fff!important;
 -webkit-text-fill-color:#fff!important;
}
html body #today #calmBtn{
 background:var(--prek-lavender)!important;
 color:#fff!important;
 -webkit-text-fill-color:#fff!important;
}
html body #today #randomBtn{
 background:var(--prek-orange)!important;
 color:#fff!important;
 -webkit-text-fill-color:#fff!important;
}
html body #today #gardenAllBtn{
 background:var(--prek-watermelon)!important;
 color:#fff!important;
 -webkit-text-fill-color:#fff!important;
}
html body #today .garden-bottom-actions>.garden-action.graduate{
 background:var(--prek-sky)!important;
 color:var(--prek-charcoal)!important;
 -webkit-text-fill-color:var(--prek-charcoal)!important;
}
html body #today :is(#favoritesBtn,#calmBtn,#randomBtn,#gardenAllBtn,.garden-bottom-actions>.garden-action.graduate){
 border:3px solid #fff!important;
 border-radius:7px!important;
}
