/*
==============================================================================
MODULE NAME:         Emylly Consulting style.css
PROGRAM/SYSTEM NAME: Universal Nexus Ecosystem - Emylly Consulting v1.16.11
VERSION:             1.16.11
DATE CREATED:        2026-10-06
AUTHOR:              Kevin Yochum
PURPOSE:             All public and portal styling (CSP-safe, no inline styles, self-hosted fonts)
CANONICAL FILE PATH: /opt/nexus/emylly-consulting/v1_16_11/static/style.css
CHANGES:             v1.16.11 - Fewer themes on the home page, phone fixes (menu, business name, Report a problem button) (Emylly 2026-11-30); author Kevin Yochum | v1.16.10 - Crayon box name smaller so it fits inside the oval (KC 19:19 ET); author Kevin Yochum | v1.16.8 - Same colours as 1.16.7 v1.4.0: Emylly's pastel classroom CR-18 to CR-30, no pink; added to whichever 1.16.7 is live; author Kevin Yochum | v1.16.7 - Green buttons and crayon box use the footer's light pastel green (Emylly, 2026-11-29); the chalkboard stays sage (KC 16:52 ET); Emylly's pastel classroom colours CR-18 to CR-30 (17:34 ET); author Kevin Yochum | v1.16.5 - Emylly's change requests CR-14, CR-15, CR-17 (2026-11-29); author Kevin Yochum | v1.16.4 - New colours (cream, deep green, sage, gold) and the new logo mark (plan EMC-S018); author Kevin Yochum | v1.16.3 - Translations page styles; author Kevin Yochum | v1.16.0 - Language picker with flags on every public page; English-prevails note (plan EMC-S017); author Kevin Yochum | v1.15.4 - Package tabs and hidden cards (appended block v1.15.4 SVCTABS); author Kevin Yochum | v1.15.3 - Packages page and extra-question styles (appended block v1.15.3 PACKAGES); author Kevin Yochum | v1.15.2 - Practice copy banner and Test drive checklist styles (appended block v1.15.2 TESTDRIVE); author Kevin Yochum | v1.15.1 - Licensing Help page styles (appended block v1.15.1 LICENSING); author Kevin Yochum | v1.15.0 - Portal menu drawers, counts and Find a page (appended block v1.15.0 MENU); author Kevin Yochum | v1.14.0 - OEC Approved badge; author Kevin Yochum | v1.13.0 - Sign Up badge above the playground (top of the page on phones) and CPR page styles; author Kevin Yochum | v1.12.0 - Form check styles, request form tick boxes; author Kevin Yochum | v1.11.1 - The brand mark is Emylly's logo icon instead of three coloured squares; author Kevin Yochum | v1.11.0 - Shelves sit inside their subject area on the Topics page (.topicsub); author Kevin Yochum | v1.10.0 - Make a change: highlighter, banner, dialog, pins, change request pages; author Kevin Yochum | v1.9.0 - Report a problem button and step list styles; author Kevin Yochum | v1.8.2 - Style for the portal version line; author Kevin Yochum | v1.8.1 - Crayon colour classes, 7th and 8th crayon, smaller letters for long names; photo and About button grouped on the fridge door; editor swatch; author Kevin Yochum | v1.8.0 - Version bump: paid guides release (no logic change); author Kevin Yochum | v1.6.6 - View-only note and hidden change controls; View / Manage access table; change log list; author Kevin Yochum | v1.6.5 - Access editor styles | v1.6.4 - Preview bar, Coming soon page, Launch cards, post-it notes, taped fridge photo, photo gallery, wider playground scene | v1.6.3 - Role label and role explainer styles | v1.6.2 - Styles for the pinned Save bar and photo preview | v1.6.1 - Version bump: new consultant profile photo (no logic change) | v1.6.0 - "Serious about small people" classroom redesign: handwriting-paper titles, worksheet hero with self-drawing crayon scene, construction paper, crayon box, fridge magnets, index cards, permission slips, chalkboard, gold star, coloring-book outlines; Schoolbell hand font; condensed Bricolage | v1.5.0 - Visual redesign: painted-block brand system, birch shelf hero, navy/sun palette, self-hosted Bricolage Grotesque + Figtree, tactile offset-shadow buttons and cards, fixed grid card offset bug | v1.4.0 - Certificate courses: enrollment, payment, PDF, printed copies, receipts (schema 5) | v1.3.0 - Certificate training program, quizzes, verification, fault alerts (schema 4) | v1.2.1 - Windows local-test launcher, portable date formatting | v1.2.0 - Mission, vision and story on Home/About (schema 3) | v1.1.0 - Added consultant profile photo, YouTube link, testimonials, FAQ, consulting steps (schema 2) | v1.0.0 - Initial creation
==============================================================================
*/

/* ================================================================
   FONTS  (served from /static/fonts, CSP 'self')
   ================================================================ */
@font-face { font-family:"Bricolage"; src:url("fonts/bricolage-grotesque-wdth-wght.woff2") format("woff2-variations"), url("fonts/bricolage-grotesque-wdth-wght.woff2") format("woff2"); font-weight:200 800; font-stretch:75% 100%; font-style:normal; font-display:swap; }
@font-face { font-family:"Figtree"; src:url("fonts/figtree-wght.woff2") format("woff2-variations"), url("fonts/figtree-wght.woff2") format("woff2"); font-weight:300 900; font-style:normal; font-display:swap; }
@font-face { font-family:"Figtree"; src:url("fonts/figtree-wght-italic.woff2") format("woff2-variations"), url("fonts/figtree-wght-italic.woff2") format("woff2"); font-weight:300 900; font-style:italic; font-display:swap; }
@font-face { font-family:"Schoolbell"; src:url("fonts/schoolbell.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }

/* ================================================================
   TOKENS — a box of school supplies
   ================================================================ */
:root {
  --ink:#23232e; --ink-2:#3d3f50; --muted:#5d6176; --line:#dfe2ec; --ground:#f5f6fb; --card:#fff; --paper:var(--ground);
  --red:#e5383b; --red-d:#b3242a; --blue:#2459d6; --blue-d:#183f9e; --yellow:#ffc531; --yellow-d:#d69a00; --yellow-l:#fff3c4;
  --green:#1f9e68; --green-d:#157a4f; --orange:#ff7a2f; --purple:#7b4fd6; --pink:#f25c9a;
  --wl-blue:#9cc0f2; --wl-red:#f08b85;
  --board:#24402f; --board-d:#1b3124; --wood:#b4834f; --wood-d:#8a5f33; --tape:rgba(246,234,190,.88);
  /* admin keeps a calmer navy */
  --navy:#1d3466; --navy-d:#132449; --navy-dd:#0d1a36; --tint:#e8edf7;
  /* legacy names used by older templates */
  --spruce:var(--blue); --spruce-d:var(--blue-d); --sky:var(--tint); --marigold:var(--yellow); --marigold-d:var(--yellow-d); --berry:var(--red); --sun:var(--yellow); --sun-d:var(--yellow-d); --sun-l:var(--yellow-l);
  --ok:#17794a; --ok-bg:#dff3e8; --warn:#8f5b00; --warn-bg:#fdf0d2; --bad:#a32a43; --bad-bg:#fbe3e8; --info:#1f4f9a; --info-bg:#e1ebfb;
  --r-block:6px; --radius:14px; --r-btn:12px;
  --outline:2.5px solid var(--ink);
  --pop:5px 5px 0 var(--ink);
  --shadow:0 1px 0 var(--line);
  --display:"Bricolage","Avenir Next Condensed","Arial Narrow","Segoe UI",system-ui,sans-serif;
  --body:"Figtree","Segoe UI",system-ui,-apple-system,Roboto,Helvetica,Arial,sans-serif;
  --hand:"Schoolbell","Segoe Print","Comic Sans MS","Chalkboard SE",cursive;
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;
  /* primary-school handwriting paper: blue top line, dashed blue midline, red baseline */
  --lines-hero:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 100' preserveAspectRatio='none'%3E%3Crect y='14.35' width='16' height='1.3' fill='%239cc0f2'/%3E%3Crect y='28.85' width='8' height='1.1' fill='%239cc0f2'/%3E%3Crect y='82.40' width='16' height='1.6' fill='%23f08b85'/%3E%3C/svg%3E");
  --lines-title:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 100' preserveAspectRatio='none'%3E%3Crect y='17.30' width='16' height='2.6' fill='%239cc0f2'/%3E%3Crect y='29.90' width='8' height='2.2' fill='%239cc0f2'/%3E%3Crect y='78.90' width='16' height='3.2' fill='%23f08b85'/%3E%3C/svg%3E");
  --scribble:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9c30-6 60-5 92-3s70 2 102-4M8 12c40-5 90-6 150-2' fill='none' stroke='%23ffc531' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
  --scribble-red:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9c30-6 60-5 92-3s70 2 102-4' fill='none' stroke='%23e5383b' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
  --torn:polygon(0.0% 1.2%, 3.6% 1.5%, 7.1% 2.4%, 10.7% 1.2%, 14.3% 1.3%, 17.9% 1.5%, 21.4% 0.5%, 25.0% 1.3%, 28.6% 1.6%, 32.1% 2.1%, 35.7% 0.2%, 39.3% 0.8%, 42.9% 0.2%, 46.4% 2.1%, 50.0% 1.8%, 53.6% 0.1%, 57.1% 2.6%, 60.7% 2.5%, 64.3% 1.7%, 67.9% 1.6%, 71.4% 0.4%, 75.0% 0.0%, 78.6% 1.4%, 82.1% 0.2%, 85.7% 0.5%, 89.3% 0.6%, 92.9% 0.1%, 96.4% 1.2%, 100.0% 1.1%, 99.0% 12.5%, 99.4% 25.0%, 99.2% 37.5%, 99.4% 50.0%, 99.2% 62.5%, 99.5% 75.0%, 99.7% 87.5%, 100.0% 97.2%, 96.4% 97.2%, 92.9% 97.6%, 89.3% 98.0%, 85.7% 99.1%, 82.1% 99.4%, 78.6% 99.2%, 75.0% 99.8%, 71.4% 97.9%, 67.9% 98.9%, 64.3% 97.6%, 60.7% 98.9%, 57.1% 97.3%, 53.6% 97.6%, 50.0% 100.0%, 46.4% 99.4%, 42.9% 97.5%, 39.3% 98.7%, 35.7% 97.3%, 32.1% 98.9%, 28.6% 99.8%, 25.0% 98.2%, 21.4% 97.8%, 17.9% 99.2%, 14.3% 99.8%, 10.7% 99.1%, 7.1% 97.3%, 3.6% 97.9%, 0.0% 99.7%, 0.3% 87.5%, 0.1% 75.0%, 0.1% 62.5%, 1.0% 50.0%, 0.2% 37.5%, 0.7% 25.0%, 0.5% 12.5%);
}

/* ================================================================
   BASE
   ================================================================ */
*, *::before, *::after { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; scroll-behavior:smooth; overflow-x:clip; }
body { margin:0; font-family:var(--body); color:var(--ink); background:var(--ground); line-height:1.6; font-size:17px; overflow-x:clip; }
a { color:var(--blue-d); text-decoration-thickness:1.5px; text-underline-offset:3px; } a:hover { color:var(--ink); text-decoration-color:var(--red); }
h1, h2, h3 { line-height:1.1; margin:0 0 .6rem; font-family:var(--display); font-weight:800; letter-spacing:-.01em; }
.h1 { font-size:clamp(2.4rem,5.4vw,3.6rem); font-stretch:78%; line-height:1.1; letter-spacing:-.005em; padding:0 .1em; background-image:var(--lines-title); background-size:22px 1.1em; background-repeat:repeat; margin-bottom:1rem; }
.h2 { font-size:clamp(1.7rem,3.4vw,2.4rem); font-stretch:82%; margin-top:2rem; }
.h3 { font-size:1.24rem; letter-spacing:-.005em; }
p { margin:0 0 1rem; } ul, ol { margin:0 0 1rem; }
strong, b { font-weight:700; }
::selection { background:var(--yellow); color:var(--ink); }
.skip { position:absolute; left:-999px; } .skip:focus { left:1rem; top:1rem; background:#fff; padding:.5rem 1rem; z-index:99; border-radius:var(--r-btn); border:var(--outline); }
.hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.defs { position:absolute; width:0; height:0; overflow:hidden; }
:focus-visible { outline:3px solid var(--blue); outline-offset:3px; }
.wrap { width:100%; max-width:1180px; margin:0 auto; padding:0 1.25rem; } .narrow { max-width:720px; }
.section { padding-top:3.4rem; padding-bottom:3.4rem; }
.muted { color:var(--muted); } .small { font-size:.88rem; } .right { float:right; } .opt { font-weight:400; font-style:normal; color:var(--muted); }
.row { display:flex; flex-wrap:wrap; gap:.8rem; align-items:center; } .between { display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap; }
.between .h2 { margin-top:0; } .section > .between { margin-bottom:1.2rem; }
.stack { display:flex; flex-direction:column; gap:.8rem; } .inline { display:inline; margin:0; }
.grid { display:grid; gap:1.3rem; margin-bottom:1.25rem; align-items:stretch; } .grid-2 { grid-template-columns:repeat(2,minmax(0,1fr)); } .grid-3 { grid-template-columns:repeat(3,minmax(0,1fr)); } .grid-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.split { display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:start; }
.lead { font-size:1.17rem; line-height:1.55; color:var(--ink-2); max-width:40rem; }
.plain { text-decoration:none; font-weight:800; color:var(--ink); background:var(--scribble) no-repeat 0 100% / 100% .5em; padding-bottom:.15em; } .plain:hover { color:var(--blue-d); }
.back { display:inline-block; margin-bottom:1rem; text-decoration:none; font-weight:800; color:var(--muted); } .back:hover { color:var(--ink); }
.empty-note { color:var(--muted); font-weight:700; padding:1.2rem 1.3rem; border:2.5px dashed #c4c8d6; border-radius:var(--radius); background:rgba(255,255,255,.7); grid-column:1 / -1; margin:0; font-family:var(--hand); font-size:1.2rem; }
.subnav { margin:-.3rem 0 1rem; color:var(--muted); } .subnav a.on { font-weight:700; color:var(--ink); }
.plainlist { padding-left:1.1rem; }
.section > .h1 + .lead { margin-bottom:2rem; }
.scribble { display:inline-block; background:var(--scribble) no-repeat 0 100% / 100% .42em; padding-bottom:.18em; }
.hand-note { font-family:var(--hand); }

/* ================================================================
   BUTTONS — cut-out stickers with an ink outline
   ================================================================ */
.btn { --b-bg:#fff; --b-fg:var(--ink); display:inline-flex; align-items:center; justify-content:center; gap:.4rem; padding:.72rem 1.2rem; border:var(--outline); border-radius:var(--r-btn); font:inherit; font-family:var(--display); font-weight:800; font-stretch:90%; letter-spacing:0; text-decoration:none; cursor:pointer; line-height:1.15; text-align:center; background:var(--b-bg); color:var(--b-fg); box-shadow:3px 3px 0 var(--ink); transition:transform .1s, box-shadow .1s, background .15s; }
.btn:hover { color:var(--b-fg); background:var(--b-hover, var(--b-bg)); text-decoration:none; transform:translate(-2px,-2px) rotate(-.6deg); box-shadow:5px 5px 0 var(--ink); }
.btn:active { transform:translate(2px,2px); box-shadow:1px 1px 0 var(--ink); }
.btn-sm { padding:.42rem .78rem; font-size:.88rem; border-radius:9px; border-width:2px; box-shadow:2px 2px 0 var(--ink); } .btn-sm:hover { box-shadow:3px 3px 0 var(--ink); }
.btn-lg { padding:1rem 1.6rem; font-size:1.12rem; } .btn-block { display:flex; width:100%; }
.btn-primary { --b-bg:var(--blue); --b-fg:#fff; --b-hover:#2e66ea; }
.btn-accent { --b-bg:var(--yellow); --b-fg:var(--ink); --b-hover:#ffd25c; }
.btn-dark { --b-bg:var(--ink); --b-fg:#fff; --b-hover:#34364a; }
.btn-ghost { --b-bg:#fff; --b-hover:var(--yellow-l); }
.btn-danger { --b-bg:#fff; --b-fg:var(--bad); --b-hover:var(--bad-bg); }
.btn[disabled] { opacity:.6; cursor:wait; transform:none; }

/* ================================================================
   BADGES, SURFACES, FORMS
   ================================================================ */
.badge { display:inline-block; padding:.14rem .6rem; border-radius:var(--r-block); font-size:.78rem; font-weight:800; white-space:nowrap; }
.b-ok { background:var(--ok-bg); color:var(--ok); } .b-wait { background:var(--warn-bg); color:var(--warn); } .b-bad { background:var(--bad-bg); color:var(--bad); }
.b-info { background:var(--info-bg); color:var(--info); } .b-muted { background:#eceef3; color:var(--muted); } .b-lock { background:#ece6f6; color:#4f3590; }
.card { background:var(--card); border:var(--outline); border-radius:var(--radius); padding:1.45rem; }
.stack > .card, .card + .card, .card + form.card, form.card + .card, form.card + form.card { margin-top:0; }
.section > .card + .card, .section > form.card + .card, .section > .card + form.card, .section > form.card + form.card, .main > .card + .card, .main > form.card + .card, .main > .card + form.card, .main > form.card + form.card, .narrow > .card + .card { margin-top:1.2rem; }
.grid > .card, .grid > form.card { margin-top:0; }
.card + .grid, form.card + .grid, .card + .rgrid { margin-top:1.2rem; } .complete { margin-bottom:1rem; }
.form { display:flex; flex-direction:column; gap:1rem; }
.fld { display:flex; flex-direction:column; gap:.32rem; } .fld > span { font-size:.87rem; font-weight:800; color:var(--ink-2); }
input:not([type=checkbox]):not([type=file]):not([type=radio]), textarea, select { width:100%; padding:.72rem .88rem; border:2px solid #c9cddb; border-radius:var(--r-btn); background:#fff; font:inherit; color:var(--ink); transition:border-color .15s, box-shadow .15s; }
input:not([type=checkbox]):not([type=file]):not([type=radio]):hover, textarea:hover, select:hover { border-color:#a3a8bb; }
input[type=file] { width:100%; padding:.5rem 0; font:inherit; }
input[type=checkbox], input[type=radio] { accent-color:var(--blue); }
input:focus, textarea:focus, select:focus { outline:none; border-color:var(--ink); box-shadow:3px 3px 0 var(--yellow); }
textarea { resize:vertical; } fieldset { border:2px solid var(--line); border-radius:var(--radius); padding:1rem; margin:0; } legend { font-weight:800; padding:0 .4rem; }
.two { display:grid; grid-template-columns:1fr 1fr; gap:1rem; } .three { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; align-items:end; }
.check { display:flex; gap:.6rem; align-items:flex-start; font-weight:700; } .check input { width:1.15rem; height:1.15rem; margin-top:.25rem; flex:none; } .check.big { font-size:1.05rem; }
.hint { color:var(--muted); font-size:.88rem; margin:0; }
.errors { background:var(--bad-bg); border:2px solid var(--bad); color:#6d1d33; border-radius:var(--r-btn); padding:.8rem 1.1rem .8rem 2rem; margin:0 0 1rem; font-weight:700; }
.flash { margin:1rem 0 0; padding:.85rem 1.1rem; font-weight:700; background:#fff; border:var(--outline); border-left:10px solid var(--green); border-radius:var(--r-btn); }
.flash-err { border-left-color:var(--red); }
.notice { background:var(--warn-bg); border:2px solid #f0d9a0; border-radius:var(--r-btn); padding:.75rem 1rem; }
.pwwrap { display:flex; gap:.5rem; } .pwtoggle { border:2px solid #c9cddb; background:#fff; border-radius:var(--r-btn); padding:0 .9rem; font:inherit; font-weight:800; cursor:pointer; } .pwtoggle:hover { background:var(--yellow-l); }
.filters { display:flex; flex-wrap:wrap; gap:.6rem; margin-bottom:1rem; padding:.8rem; background:#fff; border:var(--outline); border-radius:var(--radius); } .filters input[type=search] { flex:2 1 220px; width:auto; } .filters select { flex:1 1 120px; width:auto; } .filters .btn { flex:none; }
.filters-inline { align-items:flex-end; } .inlineform { display:flex; flex-wrap:wrap; gap:.6rem; align-items:center; } .inlineform input:not([type=checkbox]), .inlineform select { width:auto; flex:1 1 180px; }
.searchbar { display:flex; gap:.6rem; margin:1rem 0; } .sn { max-width:90px; }

/* ================================================================
   BRAND MARK — three alphabet blocks
   ================================================================ */
/* v1.11.1: the brand mark is Emylly's own logo icon, in the header and the footer */
.mark { width:42px; height:32px; flex:none; display:inline-block; background:url("brand-mark.png") center/contain no-repeat; }

/* ================================================================
   PUBLIC CHROME
   ================================================================ */
.site-header { background:#fff; border-bottom:var(--outline); position:sticky; top:0; z-index:40; }
.bar { display:flex; align-items:center; gap:1.3rem; min-height:70px; flex-wrap:wrap; padding-top:.35rem; padding-bottom:.35rem; }
.brand { display:flex; align-items:center; gap:.7rem; font-family:var(--display); font-weight:800; font-stretch:85%; font-size:1.3rem; letter-spacing:-.01em; text-decoration:none; color:var(--ink); }
.brand:hover { color:var(--ink); text-decoration:none; } .brand:hover .mark { transform:scale(1.06); transition:transform .2s; }
.nav { display:flex; gap:.2rem; flex:1; overflow-x:auto; white-space:nowrap; scrollbar-width:none; } .nav::-webkit-scrollbar { display:none; }
.nav a { text-decoration:none; font-weight:800; font-size:.98rem; color:var(--ink-2); padding:.42rem .7rem .55rem; border-radius:8px; }
.nav a:hover { color:var(--ink); background:var(--ground); }
.nav a.on { color:var(--ink); background:var(--scribble) no-repeat .5rem calc(100% - .1rem) / calc(100% - 1rem) .45em; }
.who { display:flex; gap:.8rem; align-items:center; } .who .plain { background:none; padding:0; }

.site-footer { background:var(--green-d); color:#d7efe3; margin-top:5rem; padding:0 0 2rem; position:relative; }
.foot-grass { display:block; width:100%; height:60px; margin-top:-46px; margin-bottom:1.4rem; }
.foot { display:flex; justify-content:space-between; gap:2rem; flex-wrap:wrap; align-items:flex-start; }
.foot strong { font-family:var(--display); font-stretch:85%; font-size:1.35rem; color:#fff; } .site-footer .muted { color:#a9d6c0; }
.foot-brand { display:flex; gap:.8rem; align-items:flex-start; } .foot-brand .mark { margin-top:.25rem; }
.foot-links { display:flex; gap:.4rem 1.3rem; flex-wrap:wrap; align-items:flex-start; max-width:560px; } .foot-links a { text-decoration:none; color:#fff; font-weight:700; } .foot-links a:hover { color:var(--yellow); }
.foot-base { margin-top:1.6rem; padding-top:1rem; border-top:1px dashed rgba(255,255,255,.25); font-size:.85rem; color:#9fcfb7; }

/* crayon strokes */
.crayon-g { filter:url(#crayon); }
.c-ink { stroke:var(--ink); } .c-red { stroke:var(--red); } .c-blue { stroke:var(--blue); } .c-yellow { stroke:var(--yellow); } .c-green { stroke:#36c27f; } .c-pink { stroke:var(--pink); } .c-sun { stroke:var(--yellow); } .c-sun2 { stroke:var(--orange); }
.site-footer .c-green { stroke:#53d38f; }

/* kind colours (library types and crayons) */
/* v1.8.1: crayon colours picked in the portal */
.cc-green { --kc:var(--green); } .cc-blue { --kc:var(--blue); } .cc-yellow { --kc:var(--yellow); --kc-fg:var(--ink); } .cc-red { --kc:var(--red); } .cc-pink { --kc:var(--pink); } .cc-purple { --kc:var(--purple); } .cc-orange { --kc:var(--orange); --kc-fg:var(--ink); }
.k-curriculum { --kc:var(--green); } .k-guide { --kc:var(--blue); } .k-video { --kc:var(--yellow); --kc-fg:var(--ink); } .k-training { --kc:var(--red); } .k-template { --kc:var(--pink); } .k-course { --kc:var(--purple); }

/* ================================================================
   HOME 1 — THE WORKSHEET
   ================================================================ */
.worksheet { position:relative; background:#fff; border-bottom:var(--outline); overflow:hidden; }
.worksheet::before { content:""; position:absolute; top:0; bottom:0; left:max(1.4rem, calc(50% - 610px)); width:2px; background:var(--wl-red); }
.worksheet::after { content:""; position:absolute; top:0; bottom:0; left:max(.2rem, calc(50% - 650px)); width:22px; background:radial-gradient(circle at 50% 50%, var(--ground) 0 9px, rgba(0,0,0,.08) 9.5px 10.5px, transparent 11px) 0 15% / 22px 22px no-repeat, radial-gradient(circle at 50% 50%, var(--ground) 0 9px, rgba(0,0,0,.08) 9.5px 10.5px, transparent 11px) 0 50% / 22px 22px no-repeat, radial-gradient(circle at 50% 50%, var(--ground) 0 9px, rgba(0,0,0,.08) 9.5px 10.5px, transparent 11px) 0 85% / 22px 22px no-repeat; }
.ws-grid { position:relative; display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr); gap:2rem; padding-top:2rem; padding-bottom:3rem; padding-left:3rem; }
.ws-head { display:flex; flex-wrap:wrap; gap:.6rem 2.2rem; align-items:flex-end; margin-bottom:1.8rem; font-family:var(--hand); font-size:1.35rem; color:var(--muted); }
.ws-field { display:flex; align-items:flex-end; gap:.5rem; }
.ws-field input { font-family:var(--hand) !important; font-size:1.55rem !important; color:var(--blue) !important; border:0 !important; border-bottom:2px solid var(--ink) !important; border-radius:0 !important; padding:0 .2rem .05rem !important; width:15rem !important; background:transparent !important; box-shadow:none !important; line-height:1.2; }
.ws-field input::placeholder { color:#b8bccb; }
.ws-field input:focus { border-bottom-color:var(--blue) !important; }
.ws-date b { font-weight:400; color:var(--ink-2); border-bottom:2px solid var(--ink); padding:0 .2rem .05rem; font-size:1.35rem; }
.display { font-size:clamp(3.3rem,10.4vw,8.8rem); font-weight:800; font-stretch:75%; letter-spacing:-.005em; line-height:1; margin:0 0 1.4rem; color:var(--ink); background-image:var(--lines-hero); background-size:20px 1em; background-repeat:repeat; text-wrap:balance; }
.display span { display:inline; }
.ws-what { font-family:var(--display); font-stretch:85%; font-weight:800; font-size:clamp(1.3rem,2.3vw,1.75rem); line-height:1.2; color:var(--red-d); margin:0 0 .8rem; max-width:34rem; }
.worksheet .lead { margin-bottom:1.6rem; max-width:37rem; }
.ws-art { position:relative; min-height:430px; }
.scene { position:absolute; right:-1rem; bottom:-1.2rem; width:min(130%, 680px); height:auto; overflow:visible; }
.dr { stroke-dasharray:1; stroke-dashoffset:1; animation:draw .7s ease-out forwards; }
.d1 { animation-delay:.25s; } .d2 { animation-delay:.6s; } .d3 { animation-delay:.9s; } .d4 { animation-delay:1.25s; } .d5 { animation-delay:1.55s; } .d6 { animation-delay:1.8s; } .d7 { animation-delay:2s; } .d8 { animation-delay:2.25s; } .d9 { animation-delay:2.55s; } .d10 { animation-delay:2.8s; } .d11 { animation-delay:3.1s; } .d12 { animation-delay:3.35s; } .d13 { animation-delay:3.6s; }
@keyframes draw { to { stroke-dashoffset:0; } }
.polaroid { position:absolute; top:.4rem; left:8%; width:210px; padding:10px 10px 44px; background:#fff; border:1.5px solid #e2e2e8; box-shadow:0 14px 30px rgba(35,35,46,.18), 0 2px 4px rgba(35,35,46,.12); transform:rotate(4deg); text-decoration:none; color:var(--ink); z-index:2; transition:transform .25s; }
.polaroid::before, .polaroid::after { content:""; position:absolute; top:-14px; width:78px; height:28px; background:var(--tape); box-shadow:0 1px 2px rgba(0,0,0,.08); }
.polaroid::before { left:-18px; transform:rotate(-28deg); } .polaroid::after { right:-18px; transform:rotate(24deg); }
.polaroid img { display:block; width:100%; height:auto; aspect-ratio:1/1.08; object-fit:cover; object-position:50% 25%; background:var(--tint); }
.polaroid-cap { position:absolute; left:0; right:0; bottom:8px; text-align:center; font-family:var(--hand); font-size:1.35rem; color:var(--ink-2); }
.polaroid:hover { transform:rotate(-1.5deg) scale(1.03); color:var(--ink); text-decoration:none; }
.hi-note { position:absolute; top:3.2rem; right:-.5rem; margin:0; display:flex; flex-direction:column; align-items:flex-start; z-index:3; color:var(--red); font-family:var(--hand); font-size:1.6rem; line-height:1; transform:rotate(-6deg); }
.hi-note .note-arrow { width:62px; height:46px; order:2; margin-left:-1rem; transform:scaleX(-1) rotate(10deg); }
.hi-note span { order:1; }

/* ================================================================
   HOME 2 — MASKING TAPE: who it is for
   ================================================================ */
.tape-strip { position:relative; z-index:3; margin-top:-1.4rem; padding:0 1rem; display:flex; justify-content:center; }
.tape { margin:0; display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:.2rem 1.4rem; padding:.75rem 2.2rem; background:var(--tape); transform:rotate(-1.2deg); box-shadow:0 2px 6px rgba(0,0,0,.08); font-family:var(--hand); font-size:1.3rem; color:var(--ink-2); max-width:1100px; clip-path:polygon(0 8%, 2% 0, 4% 10%, 6% 2%, 94% 4%, 96% 0, 98% 9%, 100% 3%, 100% 94%, 98% 100%, 96% 90%, 94% 98%, 6% 96%, 4% 100%, 2% 91%, 0 98%); }
.tape > span { color:var(--muted); }
.tape b { font-weight:400; color:var(--ink); position:relative; }
.tape b + b::before { content:""; position:absolute; left:-.95rem; top:50%; width:.45rem; height:.45rem; border-radius:50%; background:var(--red); translate:0 -50%; }
.tape b:nth-of-type(3n+2) + b::before { background:var(--blue); } .tape b:nth-of-type(3n) + b::before { background:var(--green); }

/* ================================================================
   HOME 3 — CONSTRUCTION PAPER (mission / vision, also on About)
   ================================================================ */
.mv { display:grid; grid-template-columns:1fr 1fr; gap:2.4rem; padding:1rem .5rem; }
.mv-card { position:relative; padding:2.6rem 2.4rem 2.4rem; color:#fff; isolation:isolate; transform:rotate(-1.4deg); }
.mv-card::before { content:""; position:absolute; inset:0; z-index:-1; background:var(--red); clip-path:var(--torn); box-shadow:none; }
.mv-card::after { content:""; position:absolute; top:-16px; left:50%; width:120px; height:30px; margin-left:-60px; background:var(--tape); transform:rotate(-3deg); box-shadow:0 1px 3px rgba(0,0,0,.1); }
.mv-card + .mv-card { transform:rotate(1.2deg); margin-top:1.6rem; }
.mv-card + .mv-card::before { background:var(--blue); }
.mv-card + .mv-card::after { transform:rotate(4deg); }
.mv-label { font-family:var(--hand); font-weight:400; font-size:1.45rem; color:#fff; opacity:.92; margin:0 0 .5rem; letter-spacing:0; }
.mv-lead { font-family:var(--display); font-stretch:82%; font-size:clamp(1.55rem,2.8vw,2.15rem); line-height:1.08; font-weight:800; margin:0 0 1rem; text-wrap:pretty; }
.mv-body { margin:0; color:rgba(255,255,255,.92); max-width:34rem; font-size:1.02rem; }
.paper-cuts { padding-top:4rem; }

/* ================================================================
   HOME 4 — THE CRAYON BOX
   ================================================================ */
.box-sec { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:2.5rem; align-items:end; }
.box-intro .h2 { margin-top:0; }
.crayon-box { position:relative; height:470px; max-width:640px; width:100%; justify-self:center; }
.crayon-box::before { content:""; position:absolute; left:4%; right:4%; bottom:150px; height:150px; background:var(--blue-d); border-radius:14px 14px 0 0; border:var(--outline); border-bottom:0; }
.crayons { position:absolute; left:8%; right:8%; bottom:30px; height:440px; display:flex; justify-content:center; align-items:flex-end; gap:12px; z-index:1; overflow:hidden; padding-top:20px; }
.crayon { --sink:58px; position:relative; flex:1 1 0; max-width:82px; height:380px; display:block; text-decoration:none; color:var(--kc-fg, #fff); transform:translateY(var(--sink)); transition:transform .28s cubic-bezier(.3,1.5,.5,1); }
.crayon::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(255,255,255,.28) 0 14%, transparent 14% 70%, rgba(0,0,0,.18) 70% 100%), var(--kc, var(--blue)); clip-path:polygon(38% 0, 62% 0, 84% 11%, 84% 14%, 100% 14%, 100% 100%, 0 100%, 0 14%, 16% 14%, 16% 11%); }
.crayon:nth-child(2) { --sink:34px; } .crayon:nth-child(3) { --sink:72px; } .crayon:nth-child(4) { --sink:44px; } .crayon:nth-child(5) { --sink:66px; } .crayon:nth-child(6) { --sink:50px; } .crayon:nth-child(7) { --sink:38px; } .crayon:nth-child(8) { --sink:62px; }
.cr-long .cr-label b { font-size:1rem; }
.crayons[data-count="7"], .crayons[data-count="8"] { gap:8px; }
.crayon:hover, .crayon:focus-visible { transform:translateY(-6px) rotate(-2deg); color:var(--kc-fg, #fff); text-decoration:none; }
.crayon:focus-visible { outline-offset:6px; }
.cr-label { position:absolute; left:0; right:0; top:17%; bottom:50%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.2rem; background:rgba(0,0,0,.14); border-top:4px double rgba(0,0,0,.35); border-bottom:4px double rgba(0,0,0,.35); writing-mode:vertical-rl; transform:rotate(180deg); }
.cr-label b { font-family:var(--display); font-stretch:80%; font-weight:800; font-size:1.25rem; letter-spacing:.01em; white-space:nowrap; }
.cr-label small { display:none; }
.box-front { position:absolute; left:0; right:0; bottom:0; height:170px; z-index:2; background:var(--yellow); border:var(--outline); border-radius:6px 6px 18px 18px; box-shadow:var(--pop); display:flex; flex-direction:column; align-items:center; justify-content:center; padding:2.4rem 1rem 1rem; text-align:center; clip-path:polygon(0 0, 8% 9%, 16% 0, 24% 9%, 32% 0, 40% 9%, 48% 0, 56% 9%, 64% 0, 72% 9%, 80% 0, 88% 9%, 96% 0, 100% 5%, 100% 100%, 0 100%); }
.box-name { font-family:var(--display); font-stretch:78%; font-weight:800; font-size:clamp(1.6rem,3.6vw,2.4rem); line-height:1; color:var(--ink); }
.box-count { font-family:var(--hand); font-size:1.3rem; color:var(--ink-2); margin-top:.4rem; }

/* ================================================================
   HOME 5 — THE FRIDGE
   ================================================================ */
.fridge-sec { padding:3.6rem 0; }
.fridge { display:grid; grid-template-columns:minmax(0,470px) 1fr; gap:3.4rem; align-items:center; }
.fridge-door { position:relative; min-height:630px; border-radius:30px; background:linear-gradient(105deg, #fbfcfd 0 40%, #eef1f5 60%, #f8f9fb 100%); border:var(--outline); box-shadow:10px 12px 0 var(--ink); overflow:hidden; touch-action:none; }
.fridge-door::after { content:""; position:absolute; right:22px; top:90px; width:14px; height:190px; border-radius:8px; background:linear-gradient(90deg, #c9ced8, #f4f6f9 50%, #b9bfcb); border:2px solid var(--ink); }
.magnets { position:absolute; top:34px; left:26px; right:52px; display:flex; flex-wrap:nowrap; gap:2px; z-index:3; }
.magnet { --mx:0px; --my:0px; --tilt:0deg; display:inline-grid; place-items:center; min-width:52px; height:74px; padding:0 .1rem; font-family:var(--display); font-stretch:100%; font-weight:800; font-size:4.6rem; line-height:1; color:var(--mc, var(--red)); text-shadow:0 2px 0 rgba(255,255,255,.35), 0 5px 0 var(--md, rgba(0,0,0,.25)), 0 9px 10px rgba(0,0,0,.18); transform:translate(var(--mx), var(--my)) rotate(var(--tilt)); cursor:grab; user-select:none; -webkit-user-select:none; touch-action:none; transition:filter .15s; }
.magnet.is-held { cursor:grabbing; filter:drop-shadow(0 10px 8px rgba(0,0,0,.25)); z-index:5; }
.m0 { --mc:var(--red); --md:var(--red-d); } .m1 { --mc:var(--blue); --md:var(--blue-d); } .m2 { --mc:var(--yellow); --md:var(--yellow-d); } .m3 { --mc:var(--green); --md:var(--green-d); } .m4 { --mc:var(--orange); --md:#c4521a; } .m5 { --mc:var(--purple); --md:#5631a3; }
.fridge-hint { position:absolute; top:128px; left:34px; margin:0; font-family:var(--hand); font-size:1.15rem; color:var(--muted); transition:opacity .4s; z-index:2; }
.was-moved + .fridge-hint { opacity:0; }
/* v1.8.1: photo and the About button travel together on the fridge door */
.fridge-me { position:absolute; left:50px; bottom:30px; width:250px; z-index:2; display:flex; flex-direction:column; align-items:center; gap:1.2rem; }
.fridge-about { position:relative; z-index:3; }
.fridge-photo { position:relative; width:100%; margin:0; padding:10px 10px 12px; background:#fff; transform:rotate(-3.5deg); box-shadow:0 12px 24px rgba(0,0,0,.16); }
.fridge-photo img { display:block; width:100%; height:auto; aspect-ratio:300/340; object-fit:cover; object-position:50% 22%; }
/* v1.6.4: the fridge photo is a taped-on polaroid (same as the old hero photo), not pinned */
.fridge-photo { padding:10px 10px 44px; border:1.5px solid #e2e2e8; }
.fridge-photo::before, .fridge-photo::after { content:""; position:absolute; top:-14px; width:78px; height:28px; background:var(--tape); box-shadow:0 1px 2px rgba(0,0,0,.08); z-index:1; }
.fridge-photo::before { left:-18px; transform:rotate(-28deg); } .fridge-photo::after { right:-18px; transform:rotate(24deg); }
.fridge-photo .polaroid-cap { position:absolute; left:0; right:0; bottom:8px; text-align:center; font-family:var(--hand); font-size:1.3rem; color:var(--ink-2); }
/* post-it announcements */
.postits { list-style:none; margin:0; padding:0; position:absolute; right:48px; top:150px; width:178px; display:flex; flex-direction:column; gap:.9rem; z-index:2; }
.postit { --pc:#fff3a3; --pe:#f2dc5c; position:relative; padding:.85rem .85rem 1rem; background:linear-gradient(180deg, var(--pe) 0 14px, var(--pc) 14px); color:#2b2a22; box-shadow:0 10px 14px -8px rgba(0,0,0,.35), 0 1px 2px rgba(0,0,0,.12); font-family:var(--hand); font-size:1.12rem; line-height:1.2; transform:rotate(2.2deg); clip-path:polygon(0 0, 100% 0, 100% 100%, 12% 100%, 0 92%); }
.postit:nth-child(2) { transform:rotate(-2.6deg); margin-left:-10px; } .postit:nth-child(3) { transform:rotate(1.4deg); margin-left:6px; }
.postit b { display:block; font-family:var(--display); font-stretch:85%; font-weight:800; font-size:1.02rem; line-height:1.15; margin:.25rem 0 .3rem; }
.postit p { margin:0; white-space:pre-line; overflow-wrap:anywhere; }
.postit a { display:inline-block; margin-top:.4rem; font-family:var(--body, inherit); font-size:.86rem; font-weight:800; color:#2b2a22; }
.pi-pink { --pc:#ffd1e3; --pe:#f7a8c8; } .pi-blue { --pc:#cfe8ff; --pe:#9fcdf7; } .pi-green { --pc:#d4f5c9; --pe:#a9e398; }
.fridge-door.has-notes .fridge-me { width:196px; left:26px; }
.fridge-door.has-notes { min-height:630px; }
/* gallery */
.albums { display:grid; grid-template-columns:repeat(auto-fill, minmax(250px, 1fr)); gap:2.2rem 1.6rem; margin-top:1.6rem; }
.album-card { position:relative; display:block; background:#fff; padding:10px 10px 0; border:1.5px solid #e2e2e8; box-shadow:0 12px 24px rgba(35,35,46,.14); color:var(--ink); text-decoration:none; transform:rotate(-1.4deg); transition:transform .2s; }
.album-card:nth-child(even) { transform:rotate(1.6deg); }
.album-card::before { content:""; position:absolute; top:-13px; left:50%; width:96px; height:26px; margin-left:-48px; background:var(--tape); transform:rotate(-3deg); z-index:1; }
.album-card:hover, .album-card:focus-visible { transform:rotate(0) scale(1.02); color:var(--ink); text-decoration:none; }
.album-photo { display:grid; place-items:center; aspect-ratio:4/3; background:var(--tint, #eef1f7); overflow:hidden; }
.album-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.album-lock { font-family:var(--hand); font-size:1.3rem; color:var(--muted); }
.album-cap { display:block; padding:.6rem .2rem .8rem; } .album-cap b { display:block; font-family:var(--hand); font-weight:400; font-size:1.45rem; line-height:1.1; } .album-cap small { color:var(--muted); }
.photo-grid { list-style:none; margin:1.6rem 0 0; padding:0; display:grid; grid-template-columns:repeat(auto-fill, minmax(190px, 1fr)); gap:1.1rem; }
.snap a { display:block; background:#fff; padding:7px 7px 0; border:1.5px solid #e2e2e8; box-shadow:0 6px 14px rgba(35,35,46,.12); color:var(--ink); text-decoration:none; transition:transform .2s; }
.snap a:hover, .snap a:focus-visible { transform:translateY(-3px) rotate(-1deg); text-decoration:none; color:var(--ink); }
.snap img { display:block; width:100%; height:auto; aspect-ratio:1/1; object-fit:cover; }
.snap-cap { display:flex; flex-direction:column; padding:.45rem .15rem .55rem; font-size:.86rem; line-height:1.25; } .snap-cap .m-label { font-weight:800; } .snap-cap .m-date { color:var(--muted); }
.snap a:not(:has(.snap-cap)) { padding-bottom:7px; }
.is-hidden-item { outline:3px dotted #c99a00; outline-offset:4px; }
.photo-big { margin:1rem 0 0; display:grid; grid-template-columns:minmax(0,1fr) minmax(220px, 300px); gap:1.6rem; align-items:start; }
.photo-big img { display:block; width:100%; height:auto; max-height:78vh; object-fit:contain; background:#fff; padding:10px; border:1.5px solid #e2e2e8; box-shadow:0 14px 30px rgba(35,35,46,.16); }
.photo-big:not(:has(figcaption)) { grid-template-columns:minmax(0,1fr); }
.photo-label { margin:0 0 .4rem; } .photo-caption { margin:0 0 1rem; white-space:pre-line; }
.photo-facts { margin:0; display:grid; gap:.55rem; } .photo-facts div { border-top:1.5px dashed var(--line); padding-top:.45rem; }
.photo-facts dt { font-size:.8rem; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); } .photo-facts dd { margin:0; }
.photo-nav { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-top:1.4rem; }
/* portal gallery */
.pg-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(250px, 1fr)); gap:1rem; }
.pg-item { border:var(--outline); border-radius:var(--radius); background:var(--card); padding:.7rem; display:flex; flex-direction:column; gap:.45rem; }
.pg-item img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:6px; display:block; background:var(--ground); }
.pg-item .fld { margin:0; } .pg-item.is-off img { opacity:.45; }
.perm-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); gap:.55rem 1.2rem; margin:.6rem 0 1rem; }
.perm span { display:flex; flex-direction:column; } .perm .perm-title { display:block; } .perm .perm-title .opt { font-size:.78rem; } .perm small { color:var(--muted); font-size:.82rem; font-weight:400; line-height:1.3; } .perm.is-locked { opacity:.55; }
.access-card summary { cursor:pointer; } .access-card + .access-card { margin-top:.8rem; } .perm-list { columns:2; margin:.4rem 0 0; }
.stack-checks { display:flex; flex-direction:column; gap:.35rem; justify-content:center; }
.meta-picks { display:flex; flex-wrap:wrap; gap:.3rem 1.2rem; }
.scene-note { font-family:var(--hand); font-size:34px; fill:var(--red); stroke:none; opacity:0; animation:fadein .5s ease-out 3.6s forwards; }
@keyframes fadein { to { opacity:1; } }

.fridge-copy .h2 { margin-top:0; font-size:clamp(2.1rem,4.2vw,3.2rem); }
.role { color:var(--red-d); font-weight:800; margin:-.1rem 0 1.2rem; font-size:1.08rem; }
.meet-quote { font-family:var(--hand); font-size:clamp(1.5rem,2.6vw,2rem); line-height:1.25; color:var(--blue-d); margin:0 0 1.6rem; max-width:32rem; }
.meet-quote p { margin:0 0 .8rem; }

/* About page portrait (shared .about / .portrait classes) */
.meet, .about { display:grid; grid-template-columns:minmax(0,360px) 1fr; gap:3.5rem; align-items:start; }
.portrait { width:100%; max-width:360px; height:auto; aspect-ratio:300/402; object-fit:cover; background:var(--tint); padding:12px 12px 48px; background-color:#fff; box-shadow:0 14px 30px rgba(35,35,46,.18); transform:rotate(-2.5deg); border:1.5px solid #e2e2e8; }
.small-portrait { width:90px; padding:5px; transform:none; aspect-ratio:auto; } .photofld { display:flex; gap:1rem; align-items:flex-start; }

/* ================================================================
   HOME 6 — INDEX CARDS (testimonials, everywhere)
   ================================================================ */
.quotes { margin-top:2rem; display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:2rem 1.6rem; }
.quote { margin:0; position:relative; padding:2.2rem 1.6rem 1.4rem; background:#fff; background-image:linear-gradient(var(--wl-red), var(--wl-red)), repeating-linear-gradient(180deg, transparent 0 calc(2.2rem - 1px), #cfe0f7 calc(2.2rem - 1px) 2.2rem); background-size:100% 2px, 100% 100%; background-position:0 2.2rem, 0 .05rem; background-repeat:no-repeat, repeat; box-shadow:0 10px 22px rgba(35,35,46,.12), 0 1px 2px rgba(35,35,46,.12); transform:rotate(-1.2deg); display:flex; flex-direction:column; justify-content:space-between; gap:1rem; }
.quote:nth-child(2n) { transform:rotate(1.4deg); }
.quote::before { content:""; position:absolute; top:-14px; left:50%; width:96px; height:28px; margin-left:-48px; background:var(--tape); transform:rotate(-4deg); }
.quote blockquote { margin:.6rem 0 0; font-family:var(--hand); font-size:1.42rem; line-height:2.2rem; color:var(--blue-d); }
.quote figcaption { font-size:.93rem; line-height:1.45; }

/* ================================================================
   HOME 7 — PERMISSION SLIPS (workshops) + calendar date block
   ================================================================ */
.slips { display:grid; grid-template-columns:repeat(auto-fill,minmax(290px,1fr)); gap:1.6rem; }
.slip, .event-card { display:flex; flex-direction:column; gap:.4rem; text-decoration:none; color:var(--ink); }
.slip { position:relative; padding:1.3rem 1.4rem 0; background:#fff; border:var(--outline); border-radius:4px; transition:transform .2s, box-shadow .2s; }
.slip:nth-child(2n) { transform:rotate(.8deg); } .slip:nth-child(2n+1) { transform:rotate(-.6deg); }
.slip:hover { transform:rotate(0) translate(-3px,-3px); box-shadow:var(--pop); color:var(--ink); text-decoration:none; }
.slip strong, .event-card strong { font-family:var(--display); font-stretch:85%; font-size:1.3rem; line-height:1.15; }
.slip-kind { font-family:var(--hand); font-size:1.2rem; color:var(--red); align-self:flex-end; margin:-.4rem 0 -.6rem; transform:rotate(3deg); }
.slip-cut { position:relative; display:flex; align-items:center; justify-content:flex-end; margin:1rem -1.4rem 0; padding:.85rem 1.4rem; border-top:2.5px dashed #9aa0b4; font-family:var(--display); font-weight:800; font-stretch:90%; color:var(--blue-d); }
.slip-cut .scissors { position:absolute; left:1rem; top:-13px; width:32px; height:24px; color:var(--ink); background:#fff; padding:0 3px; }
.slip:hover .slip-cut { background:var(--yellow-l); }
.event-card { transition:transform .15s, box-shadow .15s; } .event-card:hover { color:var(--ink); box-shadow:var(--pop); transform:translate(-3px,-3px); text-decoration:none; }
.date-chip { align-self:flex-start; display:flex; flex-direction:column; align-items:center; min-width:66px; margin-bottom:.4rem; border-radius:6px; overflow:hidden; border:var(--outline); font-weight:800; background:#fff; color:var(--ink); }
.date-chip i { font-style:normal; display:block; width:100%; text-align:center; background:var(--red); color:#fff; font-size:.78rem; padding:.14rem .5rem; border-bottom:2px solid var(--ink); }
.date-chip b { font-family:var(--display); font-stretch:85%; font-size:1.8rem; line-height:1; padding:.25rem .5rem .35rem; }
.seats { font-weight:800; } .seats-full { color:var(--bad); }

/* ================================================================
   HOME 8 — THE CHALKBOARD (consulting)
   ================================================================ */
.chalk-sec { padding:3rem 0 3.6rem; }
.chalkboard { position:relative; display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:2.5rem; padding:3rem 3rem 4.4rem; border:16px solid var(--wood); border-radius:10px; outline:2.5px solid var(--ink); box-shadow:inset 0 0 0 2px var(--wood-d), inset 0 0 70px rgba(0,0,0,.45), 10px 12px 0 var(--ink); background:radial-gradient(40rem 14rem at 20% 30%, rgba(255,255,255,.06), transparent 70%), radial-gradient(30rem 12rem at 80% 70%, rgba(255,255,255,.05), transparent 70%), var(--board); color:#e6efe8; }
.chalk-title { font-family:var(--hand); font-weight:400; font-size:clamp(2.2rem,4.4vw,3.4rem); line-height:1.05; color:#fff; margin:0 0 1rem; filter:url(#chalk); letter-spacing:.01em; }
.chalk-copy p { color:#d5e2d8; max-width:32rem; font-size:1.08rem; }
.chalk-copy b[data-program] { font-family:var(--hand); font-weight:400; font-size:1.35em; color:var(--yellow); }
.chalk-menu { list-style:none; margin:0; padding:0; align-self:center; display:flex; flex-direction:column; gap:1.1rem; }
.chalk-menu li { display:flex; align-items:baseline; gap:.6rem; font-family:var(--hand); font-size:1.6rem; color:#fff; line-height:1.1; }
.cm-name small { display:block; font-family:var(--body); font-size:.9rem; color:#a9c2b0; margin-top:.2rem; }
.cm-dots { flex:1; border-bottom:3px dotted rgba(255,255,255,.4); transform:translateY(-.3rem); min-width:1.5rem; }
.cm-price { color:var(--yellow); font-size:1.9rem; filter:url(#chalk); }
.ledge { position:absolute; left:-16px; right:-16px; bottom:-16px; height:30px; background:var(--wood); border-top:3px solid var(--wood-d); }
.chalk-stick { position:absolute; left:16%; top:-10px; width:64px; height:12px; border-radius:6px; background:linear-gradient(#fff, #e5e5e5); transform:rotate(-3deg); }
.chalk-stick::after { content:""; position:absolute; left:84px; top:2px; width:36px; height:10px; border-radius:5px; background:var(--yellow-l); transform:rotate(8deg); }
.eraser { position:absolute; right:14%; top:-20px; width:96px; height:26px; border-radius:4px; background:linear-gradient(180deg, #b0835a 0 45%, #3f4352 45%); border:2px solid var(--ink); }

/* ================================================================
   PLANS + GOLD STAR
   ================================================================ */
.price { font-family:var(--display); font-stretch:80%; font-size:2.8rem; font-weight:800; margin:.2rem 0 .6rem; line-height:1.05; } .price small { font-family:var(--body); font-size:.95rem; color:var(--muted); font-weight:500; letter-spacing:0; }
.plan { position:relative; display:flex; flex-direction:column; } .plan .ticks { flex:1; } .plan > .btn { margin-top:auto; }
.plan-top { box-shadow:8px 8px 0 var(--yellow), 8px 8px 0 2.5px var(--ink); }
.sticker { position:absolute; top:-30px; right:-22px; width:88px; height:88px; transform:rotate(14deg); filter:drop-shadow(0 4px 3px rgba(0,0,0,.2)); transition:transform .3s cubic-bezier(.3,1.6,.5,1); }
.plan-top:hover .sticker { transform:rotate(-8deg) scale(1.12); }
.ticks { list-style:none; padding:0; } .ticks li { padding-left:1.8rem; position:relative; margin-bottom:.5rem; }
.ticks li::before { content:""; position:absolute; left:0; top:.28rem; width:1.1rem; height:1.1rem; border-radius:3px; border:2px solid var(--ink); background:#fff; }
.ticks li::after { content:""; position:absolute; left:.2rem; top:.18rem; width:.95rem; height:.5rem; border-left:3.5px solid var(--red); border-bottom:3.5px solid var(--red); transform:rotate(-48deg); border-radius:1px; }

/* ================================================================
   RAISE YOUR HAND (faq)
   ================================================================ */
.raise-head { display:flex; align-items:flex-end; gap:.6rem; margin-bottom:1.2rem; }
.raise-head .h2 { margin:0; }
.hand { width:52px; height:66px; flex:none; transform-origin:50% 100%; }
.raise:hover .hand, .raise-head:hover .hand { animation:wave .9s ease-in-out 2; }
@keyframes wave { 0%,100% { transform:rotate(0); } 25% { transform:rotate(-14deg); } 75% { transform:rotate(12deg); } }
.faq { background:#fff; border:var(--outline); border-radius:var(--radius); padding:0 1.2rem; margin-bottom:.8rem; transition:box-shadow .15s; }
.faq summary { cursor:pointer; font-family:var(--display); font-stretch:88%; font-weight:800; font-size:1.15rem; padding:1rem 2.4rem 1rem 0; list-style:none; position:relative; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; position:absolute; right:0; top:50%; translate:0 -50%; width:1.8rem; height:1.8rem; border-radius:50%; border:2px solid var(--ink); background:var(--yellow); display:grid; place-items:center; font:800 1.25rem/1 var(--display); transition:rotate .2s, background .2s; }
.faq[open] { box-shadow:var(--pop); } .faq[open] summary::after { rotate:45deg; background:var(--red); color:#fff; }
.faq .prose { padding-bottom:.8rem; }

/* ================================================================
   LIBRARY CARDS, RESOURCES, PATHS (interior pages)
   ================================================================ */
.rgrid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:1.3rem; }
.rcard { display:flex; background:#fff; border:var(--outline); border-radius:var(--radius); text-decoration:none; color:var(--ink); overflow:hidden; transition:transform .15s, box-shadow .15s; }
.rcard:hover { color:var(--ink); box-shadow:5px 5px 0 var(--kc, var(--blue)), 5px 5px 0 2.5px var(--ink); transform:translate(-3px,-3px) rotate(-.4deg); text-decoration:none; }
.rcard .spine { flex:none; width:20px; background:var(--kc, var(--blue)); border-right:2.5px solid var(--ink); background-image:linear-gradient(180deg, transparent 0 22%, rgba(0,0,0,.18) 22% 24%, transparent 24% 76%, rgba(0,0,0,.18) 76% 78%, transparent 78%); }
.rbody { display:flex; flex-direction:column; gap:.3rem; padding:1.05rem 1.2rem 1.15rem; }
.rkind { font-size:.84rem; font-weight:800; color:var(--ink-2); } .rcard .rkind { color:var(--muted); }
.rtitle { font-family:var(--display); font-stretch:86%; font-size:1.28rem; line-height:1.15; } .rsum { color:var(--muted); font-size:.95rem; }
.rmeta { display:flex; flex-wrap:wrap; gap:.3rem .8rem; font-size:.8rem; color:var(--muted); margin-top:.35rem; } .lock-mark { color:#4f3590; font-weight:800; } .free-mark, .done-mark { color:var(--ok); font-weight:800; } .draft-mark { color:var(--warn); font-weight:800; }
.resource { padding-top:2.4rem; padding-bottom:2rem; max-width:860px; } .rhead { border-left:12px solid var(--kc, var(--blue)); padding-left:1.2rem; margin-bottom:1.8rem; } .rhead .rkind { margin:0 0 .35rem; font-size:.92rem; }
.video { position:relative; aspect-ratio:16/9; margin-bottom:1.25rem; border-radius:var(--radius); overflow:hidden; background:#000; border:var(--outline); } .video iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.player { width:100%; max-height:70vh; border-radius:var(--radius); background:#000; margin-bottom:1.25rem; } .pic { max-width:100%; border-radius:var(--radius); margin-bottom:1rem; }
.prose { max-width:42rem; } .prose h3 { margin-top:1.4rem; } .prose p { margin-bottom:.95rem; }
.guide { list-style:none; padding:0; counter-reset:step; } .guide li { counter-increment:step; position:relative; padding:0 0 1.5rem 3.5rem; border-left:3px dashed #c4c8d6; margin-left:1.25rem; } .guide li:last-child { border-left-color:transparent; }
.guide li::before { content:counter(step); position:absolute; left:-1.35rem; top:-.2rem; width:2.5rem; height:2.5rem; border-radius:50%; background:var(--kc, var(--blue)); color:var(--kc-fg, #fff); border:2.5px solid var(--ink); display:grid; place-items:center; font-family:var(--display); font-weight:800; font-size:1.1rem; }
.filecard { display:flex; justify-content:space-between; gap:1rem; align-items:center; flex-wrap:wrap; margin-bottom:1rem; } .filecard strong { display:block; } .complete { background:var(--yellow-l); } .locked { border-left:12px solid var(--purple); }
.pathcard { display:flex; flex-direction:column; gap:.45rem; text-decoration:none; color:var(--ink); transition:transform .15s, box-shadow .15s; } .pathcard strong { font-family:var(--display); font-stretch:85%; font-size:1.4rem; line-height:1.15; }
.pathcard:hover { color:var(--ink); box-shadow:var(--pop); transform:translate(-3px,-3px); text-decoration:none; }
.pathcard .price { font-size:1.7rem; margin:.3rem 0 0; }
.pathlist { list-style:none; padding:0; counter-reset:p; } .pathlist li { counter-increment:p; margin-bottom:.7rem; } .pathlist a { display:flex; flex-direction:column; padding:.95rem 1rem .95rem 3.5rem; background:#fff; border:var(--outline); border-radius:var(--radius); text-decoration:none; color:var(--ink); position:relative; } .pathlist a:hover { box-shadow:var(--pop); } .pathlist a::before { content:counter(p); position:absolute; left:.9rem; top:.85rem; width:1.9rem; height:1.9rem; border-radius:50%; border:2px solid var(--ink); background:#fff; display:grid; place-items:center; font-family:var(--display); font-weight:800; font-size:.95rem; } .pathlist .is-done a::before { content:"\2713"; background:var(--green); color:#fff; }
progress.meter { -webkit-appearance:none; appearance:none; width:100%; height:12px; border:2px solid var(--ink); border-radius:8px; background:#fff; display:block; overflow:hidden; } progress.meter::-webkit-progress-bar { background:#fff; } progress.meter::-webkit-progress-value { background:var(--yellow); } progress.meter::-moz-progress-bar { background:var(--yellow); }
.facts { margin:0 0 1.2rem; display:flex; flex-direction:column; gap:.55rem; } .facts > div { display:flex; justify-content:space-between; gap:1rem; border-bottom:2px dashed var(--line); padding-bottom:.55rem; } .facts dt { color:var(--muted); font-weight:800; font-size:.88rem; } .facts dd { margin:0; font-weight:700; text-align:right; }
.slots { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:1rem; } .slot { display:flex; flex-direction:column; padding:1rem 1.15rem; background:#fff; border:var(--outline); border-top:10px solid var(--yellow); border-radius:var(--radius); text-decoration:none; color:var(--ink); transition:transform .15s, box-shadow .15s; } .slot strong { font-family:var(--display); font-stretch:88%; font-size:1.15rem; } .slot:hover { color:var(--ink); box-shadow:var(--pop); transform:translate(-3px,-3px); text-decoration:none; }
.how { padding-left:1.2rem; } .how li { margin-bottom:.4rem; } .joinbox { background:var(--yellow-l); border-radius:var(--r-btn); padding:.8rem 1rem; margin-top:.8rem; } .disclaimer { background:var(--ground); border:2px solid var(--line); border-radius:var(--r-btn); padding:.8rem 1rem; max-height:11rem; overflow:auto; font-size:.93rem; }
.forumcat, .threadrow { display:flex; justify-content:space-between; gap:1rem; align-items:center; text-decoration:none; color:var(--ink); } .forumcat strong, .threadrow strong { font-family:var(--display); font-stretch:88%; font-size:1.15rem; } .forumcat:hover, .threadrow:hover { color:var(--ink); box-shadow:var(--pop); text-decoration:none; } .pin { color:var(--red); font-size:.82rem; font-weight:800; }
.post { background:#fff; border:var(--outline); border-radius:var(--radius); padding:1.1rem 1.3rem; } .post-admin { border-left:12px solid var(--blue); } .post header { margin-bottom:.5rem; } .is-hidden { opacity:.55; }
.record .table { margin-top:1rem; } .errors li { margin-left:0; }
.table { width:100%; border-collapse:separate; border-spacing:0; background:#fff; border:2px solid var(--ink); border-radius:var(--radius); overflow:hidden; } .table th, .table td { padding:.68rem .85rem; text-align:left; border-bottom:1px solid var(--line); vertical-align:top; } .table tr:last-child td { border-bottom:0; } .table th { font-size:.8rem; color:var(--muted); background:var(--ground); } .table .num { text-align:right; white-space:nowrap; } .table.mini td, .table.mini th { padding:.4rem .6rem; }
.tablewrap { overflow-x:auto; margin-bottom:1.2rem; } .actions { white-space:nowrap; display:flex; gap:.3rem; flex-wrap:wrap; } .logrow { margin:0 0 .3rem; font-size:.88rem; color:var(--muted); }

/* consulting page steps: a real sequence, so numbered */
.steps3 { list-style:none; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:1.2rem; margin:0 0 2.2rem; counter-reset:s; }
.steps3 li { counter-increment:s; background:#fff; border:var(--outline); border-radius:var(--radius); padding:1.3rem 1.2rem 1.3rem 4.2rem; position:relative; display:flex; flex-direction:column; gap:.2rem; }
.steps3 li b { font-family:var(--display); font-stretch:86%; font-size:1.18rem; }
.steps3 li::before { content:counter(s); position:absolute; left:1.1rem; top:1.1rem; width:2.3rem; height:2.3rem; border-radius:50%; background:var(--red); color:#fff; border:2.5px solid var(--ink); display:grid; place-items:center; font-family:var(--display); font-weight:800; font-size:1.15rem; }
.steps3 li:nth-child(2)::before { background:var(--yellow); color:var(--ink); } .steps3 li:nth-child(3)::before { background:var(--blue); }
.steps3 span { color:var(--muted); font-size:.94rem; }

/* ================================================================
   REVEAL (only when JS + motion allowed): paper pieces get pinned on
   ================================================================ */
.can-reveal .mv-card:not(.is-in), .can-reveal .quote:not(.is-in), .can-reveal .slip:not(.is-in) { opacity:0; transform:translateY(-24px) rotate(-6deg) scale(.96); }
.can-reveal .crayon-box:not(.is-in) .crayon { transform:translateY(300px); }
.can-reveal .chalkboard:not(.is-in) .chalk-title, .can-reveal .chalkboard:not(.is-in) .chalk-menu { opacity:0; }
.mv-card, .quote, .slip { transition:opacity .5s ease, transform .55s cubic-bezier(.25,1.4,.5,1), box-shadow .2s; }
.chalk-title, .chalk-menu { transition:opacity 1.2s ease .2s; }
.crayon-box.is-in .crayon:nth-child(1) { transition-delay:.05s; } .crayon-box.is-in .crayon:nth-child(2) { transition-delay:.12s; } .crayon-box.is-in .crayon:nth-child(3) { transition-delay:.19s; } .crayon-box.is-in .crayon:nth-child(4) { transition-delay:.26s; } .crayon-box.is-in .crayon:nth-child(5) { transition-delay:.33s; } .crayon-box.is-in .crayon:nth-child(6) { transition-delay:.4s; } .crayon-box.is-in .crayon:nth-child(7) { transition-delay:.47s; } .crayon-box.is-in .crayon:nth-child(8) { transition-delay:.54s; }
.crayon-box.is-in .crayon:hover { transition-delay:0s; }

/* ================================================================
   ADMIN PORTAL — calm working tool, same type and colours
   ================================================================ */
.shell { display:grid; grid-template-columns:248px 1fr; min-height:100vh; background:linear-gradient(90deg, var(--navy-dd) 0 248px, transparent 248px); }
.side { background:var(--navy-dd); color:#d6ddee; padding:1.2rem 1rem; display:flex; flex-direction:column; gap:1.2rem; position:sticky; top:0; height:100vh; overflow-y:auto; }
.side-brand { display:flex; gap:.7rem; align-items:center; text-decoration:none; color:#fff; font-family:var(--display); font-weight:800; font-stretch:88%; } .side-brand:hover { color:#fff; text-decoration:none; } .side-brand small { display:block; font-family:var(--body); font-weight:400; font-size:.78rem; color:#97a5c6; }
.side-nav { display:flex; flex-direction:column; gap:.15rem; } .side-nav a { color:#cdd6ea; text-decoration:none; padding:.5rem .75rem; border-radius:8px; font-weight:700; font-size:.95rem; } .side-nav a:hover { background:rgba(255,255,255,.08); color:#fff; } .side-nav a.on { background:var(--yellow); color:var(--ink); }
.side-foot { margin-top:auto; display:flex; flex-direction:column; gap:.5rem; font-size:.86rem; } .side-foot a, .side-foot button { color:#cdd6ea; background:none; border:0; padding:0; font:inherit; text-align:left; cursor:pointer; text-decoration:underline; } .side-whoami { color:#fff; font-weight:700; }
.main { padding:1.6rem 2.2rem 3rem; min-width:0; max-width:1120px; }
.main .h1 { background:none; padding:0; font-size:clamp(1.8rem,3.4vw,2.5rem); }
.shell .card, .main .table { border:1px solid var(--line); }
.shell .btn { box-shadow:2px 2px 0 var(--ink); } .shell .btn:hover { transform:translate(-1px,-1px); box-shadow:3px 3px 0 var(--ink); }
/* v1.6.2: pinned "Save changes" bar on long portal forms */
.savebar { position:sticky; bottom:0; z-index:20; display:flex; align-items:center; justify-content:flex-end; gap:1rem; flex-wrap:wrap; margin:.6rem -1.45rem -1.45rem; padding:.8rem 1.45rem; padding-bottom:calc(.8rem + env(safe-area-inset-bottom, 0px)); background:rgba(255,255,255,.96); border-top:1px solid var(--line); border-radius:0 0 var(--radius) var(--radius); box-shadow:0 -6px 16px rgba(35,35,46,.06); }
.savebar-state { margin-right:auto; font-weight:700; color:var(--muted); font-size:.92rem; }
.savebar.is-dirty { background:var(--yellow-l); border-top-color:#f0d78a; }
.savebar.is-dirty .savebar-state { color:var(--warn); }
.savebar.is-dirty .savebar-state::before { content:""; display:inline-block; width:.6rem; height:.6rem; border-radius:50%; background:var(--yellow-d); margin-right:.45rem; vertical-align:.05rem; }
.photo-pick { margin:0; display:flex; flex-direction:column; gap:.3rem; align-items:flex-start; max-width:120px; }
.photo-pick .hint { font-size:.78rem; line-height:1.3; }
.photo-pick .is-pending { color:var(--warn); font-weight:700; }
.kpis { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:1rem; margin-bottom:1.2rem; } .kpi { background:#fff; border:1px solid var(--line); border-top:6px solid var(--blue); border-radius:var(--radius); padding:1rem 1.15rem; display:flex; flex-direction:column; } .kpi:nth-child(4n+2) { border-top-color:var(--yellow); } .kpi:nth-child(4n+3) { border-top-color:var(--red); } .kpi:nth-child(4n+4) { border-top-color:var(--green); } .kpi b { font-family:var(--display); font-stretch:85%; font-size:2.1rem; font-weight:800; line-height:1.1; } .kpi span { font-weight:700; } .kpi small { color:var(--muted); }
.todo { list-style:none; padding:0; } .todo li { padding:.5rem 0; border-bottom:1px solid var(--line); } .todo a { text-decoration:none; font-weight:700; } .paylite { display:flex; justify-content:space-between; gap:1rem; margin:.6rem 0 0; }
.steprow { display:grid; grid-template-columns:70px 1fr 1.6fr; gap:.7rem; padding:.7rem 0; border-bottom:1px dashed var(--line); } .steps-editor, .filebox { background:#fafbfd; }
.danger-zone { border-color:#efc4d0; margin-top:1.5rem; } .logincard { max-width:440px; margin:8vh auto; padding:0 1.25rem; } .loginpage { background:var(--navy); } .loginpage .h1 { color:#fff; background:none; } .loginpage .logincard > .muted { color:#fff; }
.status-line { font-weight:700; } .ok-line { color:var(--ok); } .off-line { color:var(--warn); }
.check-row { display:flex; gap:.7rem; padding:.7rem 1rem; background:#fff; border:1px solid var(--line); border-radius:var(--r-btn); } .dot { width:.8rem; height:.8rem; border-radius:3px; margin-top:.45rem; flex:none; background:var(--ok); } .check-row.warn .dot { background:var(--yellow); } .check-row.fail .dot { background:var(--bad); }
.log { width:100%; background:var(--navy-dd); color:#dbe4f7; padding:1rem; border-radius:var(--r-btn); overflow:auto; font-size:.8rem; white-space:pre-wrap; } .barline { display:grid; grid-template-columns:110px 1fr 40px; gap:.7rem; align-items:center; margin:.4rem 0; } .barline b { text-align:right; }
code { background:var(--tint); padding:.1rem .35rem; border-radius:5px; font-size:.9em; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
/* ---- v1.6.4 launch switches: preview bar, coming-soon page, hidden markers, switch cards ---- */
.preview-bar { background:#ffe58a; border-bottom:2px solid #d9b640; color:#3a2d00; font-size:.92rem; }
.preview-bar.is-public { background:#dfe7f7; border-bottom-color:#9fb3da; color:#1c2b4a; }
.preview-in { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.4rem 1rem; padding-top:.45rem; padding-bottom:.45rem; }
.preview-in .row { gap:.4rem; }
.nav a.is-hidden-sec { outline:2px dotted #c99a00; outline-offset:-3px; }
.soon { text-align:center; }
.soon .row { justify-content:center; }
.soon-tag { display:inline-block; font-weight:800; letter-spacing:.06em; text-transform:uppercase; font-size:.85rem; background:#ffe58a; border:2px solid var(--ink); border-radius:999px; padding:.2rem .9rem; transform:rotate(-2deg); }
.crayon.is-soon { filter:grayscale(.75); opacity:.6; cursor:default; }
.crayon.is-soon:hover { transform:translateY(var(--sink)); }
.launch-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:1rem; }
.launch-card { display:flex; flex-direction:column; gap:.5rem; }
.launch-card .between { align-items:flex-start; }
.launch-card .counts { font-size:.9rem; color:var(--muted); }
.launch-card form { margin-top:auto; }
.launch-card.is-live { border-color:var(--ok); }
.launch-note { margin-bottom:1rem; }
.cell-actions { display:flex; flex-wrap:wrap; gap:.35rem; align-items:center; }
@media (max-width:1020px) {
  .box-sec { grid-template-columns:1fr; }
  .ws-grid { grid-template-columns:minmax(0,1fr) minmax(0,.62fr); }
  .grid-4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:860px) {
  body { font-size:16px; }
  .split, .grid-2, .grid-3, .grid-4, .two, .three { grid-template-columns:minmax(0,1fr); }
  .ws-grid { grid-template-columns:minmax(0,1fr); padding-left:2.4rem; padding-top:1.4rem; gap:0; }
  .ws-art { min-height:330px; margin:1.6rem 0 1.2rem; }
  .scene { width:min(340px, 100%); right:0; bottom:-.5rem; }
  .polaroid { width:150px; left:2%; padding:7px 7px 34px; } .polaroid-cap { font-size:1.1rem; }
  .hi-note { top:1.4rem; right:auto; left:178px; font-size:1.35rem; }
  .ws-field input { width:11rem !important; }
  .section { padding-top:2.4rem; padding-bottom:2.4rem; }
  .mv { grid-template-columns:1fr; gap:2.6rem; } .mv-card + .mv-card { margin-top:0; }
  .fridge { grid-template-columns:minmax(0,1fr); gap:2.4rem; } .fridge-door { min-height:570px; max-width:470px; width:100%; margin:0 auto; }
  .magnet { font-size:3.4rem; min-width:40px; height:58px; } .fridge-me { width:200px; left:34px; } .fridge-hint { top:108px; }
  .chalkboard { grid-template-columns:1fr; padding:2rem 1.5rem 3.6rem; border-width:12px; gap:1.6rem; }
  .shell { grid-template-columns:1fr; background:none; } .side { position:static; height:auto; flex-direction:column; padding:.8rem; } .side-nav { flex-direction:row; overflow-x:auto; padding-bottom:.3rem; } .side-nav a { white-space:nowrap; } .side-foot { flex-direction:row; flex-wrap:wrap; gap:1rem; }
  .main { padding:1rem; } .steprow { grid-template-columns:1fr; } .sn { max-width:none; } .nav { order:3; flex:1 0 100%; margin:0 -.5rem; padding-bottom:.3rem; }
  .brand { flex:1 1 0; min-width:0; }
  .meet, .about, .steps3 { grid-template-columns:1fr; gap:2rem; } .portrait { max-width:260px; }
}
@media (max-width:860px) {
  .photo-big { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:560px) {
  .fridge-door.has-notes { min-height:0; padding:150px 18px 30px; display:flex; flex-direction:column; gap:1.6rem; }
  .fridge-door.has-notes .postits { position:relative; right:auto; top:auto; width:auto; max-width:250px; padding-right:34px; }
  .fridge-door.has-notes .fridge-me { position:relative; left:auto; bottom:auto; align-self:center; }
  .photo-grid { grid-template-columns:repeat(2, minmax(0,1fr)); gap:.7rem; }

  .crayon-box { height:400px; } .crayon-box::before { bottom:120px; height:130px; } .crayons { left:5%; right:5%; height:370px; gap:7px; bottom:24px; } .crayon { height:320px; --sink:44px; } .crayon:nth-child(2) { --sink:26px; } .crayon:nth-child(3) { --sink:58px; } .crayon:nth-child(4) { --sink:34px; } .crayon:nth-child(5) { --sink:52px; } .crayon:nth-child(6) { --sink:40px; } .crayon:nth-child(7) { --sink:30px; } .crayon:nth-child(8) { --sink:48px; }
  .cr-long .cr-label b { font-size:.85rem; } .crayons[data-count="7"], .crayons[data-count="8"] { gap:4px; }
  .cr-label b { font-size:1rem; } .box-front { height:140px; }
  .tape { font-size:1.12rem; padding:.7rem 1.4rem; gap:.1rem 1.2rem; }
  .quote blockquote { font-size:1.3rem; }
  .chalk-menu li { font-size:1.35rem; flex-wrap:wrap; } .cm-price { font-size:1.6rem; }
  .bar { gap:.5rem .8rem; }
  .brand { font-size:1.08rem; gap:.5rem; } .brand > span:last-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .brand .mark { transform:scale(.85); }
  .who { gap:.55rem; flex:none; }
  .ws-head { font-size:1.15rem; gap:.4rem 1rem; }
  .display { font-size:clamp(3rem,17vw,4.6rem); }
  .sticker { right:-4px; top:-26px; width:70px; height:70px; }
  .ws-art { margin-right:0; }
  .worksheet::after { display:none; } .worksheet::before { left:1rem; } .ws-grid { padding-left:1.9rem; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { transition:none !important; animation:none !important; }
  .dr { stroke-dashoffset:0; } .scene-note { opacity:1; }
}
@media print {
  .site-header, .site-footer, .noprint, .flash { display:none !important; } body { background:#fff; } .table { border:0; }
  .can-reveal .mv-card, .can-reveal .quote, .can-reveal .slip { opacity:1 !important; transform:none !important; }
  .dr { stroke-dashoffset:0; animation:none; } .scene-note { opacity:1; animation:none; }
}

/* ================================================================
   CERTIFICATES
   Deliberately kept on the original certificate palette so the on-screen
   certificate matches the PDF (certpdf.py) and every certificate already issued.
   ================================================================ */
.certpage { background:#e6ece9; } .cert-toolbar { max-width:1000px; margin:1rem auto; padding:0 1rem; } .cert-stage { padding:0 1rem 2rem; }
.status-banner { padding:.7rem 1rem; border-radius:10px; font-weight:700; margin:0 0 .8rem; } .sb-ok { background:var(--ok-bg); color:var(--ok); } .sb-warn { background:var(--warn-bg); color:var(--warn); } .sb-bad { background:var(--bad-bg); color:var(--bad); } .sb-info { background:var(--info-bg); color:var(--info); }
.cert { --c-a:#1d6b5f; --c-ad:#14544a; --c-b:#f2a93b; container-type:inline-size; position:relative; width:100%; max-width:1000px; aspect-ratio:11/8.5; margin:0 auto; background:#fff; color:#1c2b36; font-family:var(--serif); box-shadow:0 10px 40px rgba(28,43,54,.18); overflow:hidden; }
.cert .c-frame { position:absolute; inset:0; } .cert .c-inner { height:100%; display:flex; flex-direction:column; align-items:center; text-align:center; }
.c-brand { display:flex; align-items:center; gap:1cqw; font:700 1.8cqw system-ui,sans-serif; letter-spacing:.04em; } .c-brand .mark { width:2.6cqw; height:2.6cqw; border-radius:.7cqw; background:linear-gradient(135deg,var(--c-a) 0 50%,var(--c-b) 50% 100%); } .c-brand .mark::before, .c-brand .mark::after { display:none; }
.c-kicker { font-size:4.6cqw; font-weight:700; color:var(--c-ad); line-height:1.1; margin-top:1.4cqw; font-family:var(--serif); letter-spacing:0; } .c-line { font-size:1.7cqw; font-style:italic; color:#5f6f7a; margin-top:1.5cqw; }
.c-name { font-size:5.6cqw; font-style:italic; line-height:1.15; margin-top:.8cqw; padding:0 3cqw .5cqw; border-bottom:.15cqw solid #c9d6d3; max-width:90%; overflow-wrap:anywhere; }
.c-course { font-size:3cqw; font-weight:700; line-height:1.2; margin-top:.8cqw; max-width:85%; } .c-meta { font:600 1.5cqw system-ui,sans-serif; color:#5f6f7a; margin-top:1cqw; }
.c-statement { font:600 1.4cqw system-ui,sans-serif; color:var(--c-ad); margin-top:1cqw; max-width:80%; }
.c-foot { display:grid; grid-template-columns:1fr 12cqw 1fr; gap:3cqw; align-items:end; width:100%; margin-top:auto; padding:0 4cqw; }
.c-col { display:flex; flex-direction:column; align-items:center; } .c-sigscript { font:italic 3.4cqw "Snell Roundhand","Segoe Script","Brush Script MT","Lucida Handwriting",cursive; min-height:4.4cqw; } .c-datev { font-size:2cqw; font-weight:700; min-height:4.4cqw; display:flex; align-items:flex-end; }
.c-rule { width:100%; border-top:.15cqw solid #1c2b36; margin:.4cqw 0; } .c-small { font:1.25cqw system-ui,sans-serif; color:#5f6f7a; } .c-seal { width:12cqw; height:12cqw; }
.c-verify { font:1.25cqw system-ui,sans-serif; color:#5f6f7a; margin-top:1.4cqw; } .c-disclaimer { font:.95cqw/1.35 system-ui,sans-serif; color:#8a98a1; max-width:80%; margin:.6cqw 0 0; }
.cert-classic .c-frame { inset:2.2cqw; border:.55cqw solid var(--c-a); padding:.6cqw; } .cert-classic .c-inner { border:.15cqw solid var(--c-b); padding:2.2cqw 3cqw 2cqw; }
.cert-classic .c-frame::before, .cert-classic .c-frame::after { content:""; position:absolute; width:5cqw; height:5cqw; border:.45cqw solid var(--c-b); } .cert-classic .c-frame::before { top:-.5cqw; left:-.5cqw; border-right:0; border-bottom:0; } .cert-classic .c-frame::after { bottom:-.5cqw; right:-.5cqw; border-left:0; border-top:0; }
.cert-modern { border-left:3.2cqw solid var(--c-a); } .cert-modern .c-frame { inset:0; } .cert-modern .c-inner { align-items:flex-start; text-align:left; padding:3cqw 5cqw 2.2cqw; } .cert-modern { font-family:system-ui,-apple-system,"Segoe UI",sans-serif; }
.cert-modern .c-kicker { font-size:4cqw; letter-spacing:-.01em; font-family:system-ui,-apple-system,"Segoe UI",sans-serif; } .cert-modern .c-kicker::after { content:""; display:block; width:9cqw; height:.7cqw; background:var(--c-b); margin-top:1cqw; } .cert-modern .c-name { border-bottom:0; padding:0; font-style:normal; font-weight:700; font-size:5.4cqw; color:var(--c-ad); max-width:100%; }
.cert-modern .c-line { font-style:normal; } .cert-modern .c-course { max-width:100%; } .cert-modern .c-foot { padding:0; } .cert-modern .c-col { align-items:flex-start; } .cert-modern .c-statement, .cert-modern .c-disclaimer { max-width:100%; }
.cert[data-void]::after { content:attr(data-void); position:absolute; inset:0; display:grid; place-items:center; font:700 13cqw system-ui,sans-serif; color:rgba(169,57,91,.2); transform:rotate(-20deg); pointer-events:none; }
.certpanel { border-left:10px solid var(--yellow); margin-bottom:1.2rem; } .quiz-pass { border-left:10px solid var(--ok); } .quiz-fail { border-left:10px solid var(--yellow); } .qcard { margin:0; } .qcard legend { font-size:.88rem; color:var(--muted); } .q-wrong { border-color:#efc4d0; background:#fff8fa; } .q-flag { color:var(--bad); font-weight:700; margin:0 0 .4rem; }
.certpage .btn { box-shadow:2px 2px 0 var(--ink); }
@media print { @page { size:11in 8.5in; margin:0; } .certpage { background:#fff; } .cert-stage { padding:0; } .cert { width:11in; max-width:none; height:8.5in; aspect-ratio:auto; box-shadow:none; margin:0; -webkit-print-color-adjust:exact; print-color-adjust:exact; } }

.labels { display:grid; grid-template-columns:repeat(2, 1fr); gap:.5in .3in; padding:.5in; } .label { border:1px dashed #b9c8c4; padding:.25in; font-size:14pt; line-height:1.35; min-height:1.6in; } .labelpage { background:#fff; }
@media print { .label { border:0; break-inside:avoid; } }
/* v1.6.3: role label under the username in the portal, role explainer on Accounts */
.side-ver { color:#9fb0cf; font-size:.74rem; letter-spacing:.02em; }   /* v1.8.2: version line in the portal sidebar */
.side-tier { display:inline-block; margin-left:.3rem; padding:.05rem .45rem; border-radius:5px; background:rgba(255,255,255,.12); color:#e3e9f6; font-weight:700; font-size:.72rem; }
.tiers-explain p { margin:0 0 .5rem; } .tiers-explain p:last-child { margin:0; }
/* v1.6.6 view-only pages and the View / Manage access table */
.main [hidden] { display:none !important; }
.enter-saves { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }   /* v1.8.1 */
/* v1.9.0: Report a problem button on every page (bottom left, clear of the portal save bar and phone thumbs) */
.report-fab { position:fixed; left:14px; bottom:14px; z-index:60; display:inline-flex; align-items:center; gap:.45rem; padding:.5rem .85rem .5rem .55rem; background:#fff; color:var(--ink); border:2px solid var(--ink); border-radius:999px; box-shadow:3px 3px 0 var(--ink); font-weight:800; font-size:.86rem; text-decoration:none; }
.report-fab span { display:inline-grid; place-items:center; width:1.35rem; height:1.35rem; border-radius:50%; background:var(--red); color:#fff; font-size:.85rem; }
.report-fab:hover, .report-fab:focus-visible { background:var(--yellow-l); color:var(--ink); text-decoration:none; }
.trail-box { margin:.4rem 0 1rem; } .trail-box summary { cursor:pointer; font-weight:700; } .trail-list { margin:.5rem 0 0; padding-left:1.4rem; font-size:.9rem; color:var(--ink-2); }
@media (max-width:560px) { .report-fab { left:10px; bottom:10px; padding:.42rem .7rem .42rem .45rem; font-size:.8rem; } }
.cr-swatch { display:inline-block; vertical-align:-6px; width:12px; height:30px; margin-right:.35rem; border-radius:3px 3px 2px 2px; background:var(--kc, var(--blue)); border:2px solid var(--ink); }   /* v1.8.1 crayon editor */
.viewonly-note { display:flex; gap:.6rem; align-items:flex-start; background:var(--tint); border:2px dashed var(--navy); border-radius:var(--radius); padding:.7rem 1rem; margin:0 0 1.1rem; font-weight:600; }
.viewonly-note b { font-family:var(--display); }
.main[data-viewonly] form[method=post i] button[type=submit], .main[data-viewonly] a[href$="/new"], .main[data-viewonly] a[href*="/new?"],
.main[data-viewonly] a[href$="/edit"] { display:none !important; }
.main[data-viewonly] form.is-readonly :disabled { background:var(--ground); color:var(--ink-2); cursor:default; }
.access-table { width:100%; border-collapse:collapse; margin:.6rem 0 1rem; table-layout:fixed; }
.access-table th { text-align:left; font-size:.8rem; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); padding:.4rem .5rem; border-bottom:2px solid var(--ink); }
.access-table th.tick, .access-table td.tick { width:6.5rem; text-align:center; }
.access-table td { padding:.55rem .5rem; border-bottom:1.5px dashed var(--line); vertical-align:top; }
.access-table td small { display:block; color:var(--muted); font-size:.82rem; line-height:1.3; }
.access-table td.tick input { width:1.3rem; height:1.3rem; cursor:pointer; }
.access-table td.tick input:disabled { cursor:not-allowed; opacity:.45; }
.access-table .std { font-size:.72rem; font-weight:700; color:var(--navy); display:block; }
.access-table .lock { font-size:.8rem; color:var(--muted); }
.access-table tr.is-locked td:first-child { opacity:.6; }
@media (max-width:640px) { .access-table th.tick, .access-table td.tick { width:4.2rem; } }
.change-log { list-style:none; padding:0; margin:.4rem 0 0; } .change-log li { padding:.5rem 0; border-bottom:1.5px dashed var(--line); }
.change-log li small { display:block; color:var(--muted); }

/* v1.10.0 Make a change: highlighter, dialog, pins (portal accounts with the "Make a change" tick only) */
.mac-fab { position:fixed; right:14px; bottom:14px; z-index:60; display:inline-flex; align-items:center; gap:.4rem; padding:.5rem .9rem; background:var(--yellow); color:var(--ink); border:2px solid var(--ink); border-radius:999px; box-shadow:3px 3px 0 var(--ink); font:inherit; font-weight:800; font-size:.86rem; cursor:pointer; }
.mac-fab[aria-pressed=true] { background:var(--ink); color:#fff; }
.mac-overlay { position:fixed; inset:0; z-index:9000; cursor:crosshair; background:rgba(255,214,0,.04); touch-action:auto; }
.mac-overlay[hidden], .mac-dialog[hidden], .mac-banner[hidden] { display:none !important; }
.mac-layer { position:absolute; left:0; top:0; width:0; height:0; z-index:8990; pointer-events:none; }
.mac-box { position:absolute; box-sizing:border-box; pointer-events:none; border-radius:4px; }
.mac-hover { outline:2px dashed #b88a00; background:rgba(255,214,0,.12); }
.mac-source.mac-ink { background:rgba(255,214,0,.42); outline:3px solid #e0a800; mix-blend-mode:multiply; }
.mac-target.mac-ink { background:rgba(60,140,255,.25); outline:3px solid #2563eb; }
.mac-live.mac-source { background:rgba(255,214,0,.45); }
.mac-live.mac-target { background:rgba(60,140,255,.3); }
.mac-show { animation:macpulse 1.2s ease-in-out 3; }
@keyframes macpulse { 50% { outline-offset:6px; } }
.mac-tag { position:absolute; left:-3px; top:-1.55rem; white-space:nowrap; background:var(--ink); color:#fff; font-size:.74rem; font-weight:800; padding:.12rem .45rem; border-radius:6px; mix-blend-mode:normal; }
.mac-pin { position:absolute; pointer-events:auto; white-space:nowrap; z-index:9001; background:#fff; color:var(--ink); border:2px solid var(--ink); border-radius:999px; font-size:.74rem; font-weight:800; padding:.05rem .5rem; text-decoration:none; box-shadow:2px 2px 0 var(--ink); }
.mac-banner { position:fixed; left:50%; top:10px; transform:translateX(-50%); z-index:9005; width:min(760px, calc(100% - 20px)); display:flex; flex-wrap:wrap; align-items:center; gap:.5rem .8rem; background:#fff; border:2.5px solid var(--ink); border-radius:12px; box-shadow:4px 4px 0 var(--ink); padding:.6rem .8rem; font-size:.92rem; line-height:1.35; }
.mac-banner b { flex:1 1 260px; }
.mac-banner { pointer-events:none; } .mac-banner a, .mac-banner button { pointer-events:auto; }   /* clicks on its words reach the spot under it */
.mac-banner.is-low { top:auto; bottom:70px; }
.mac-dialog { position:fixed; right:16px; bottom:16px; z-index:9006; width:min(420px, calc(100% - 20px)); max-height:calc(100vh - 32px); overflow:auto; background:#fff; border:2.5px solid var(--ink); border-radius:14px; box-shadow:5px 5px 0 var(--ink); padding:1rem 1.1rem; display:flex; flex-direction:column; gap:.7rem; font-size:.95rem; }
.mac-title { font-family:var(--display); font-size:1.25rem; margin:0; }
.mac-where { margin:0; color:var(--ink-2); } .mac-sub { margin:0; font-weight:800; }
.mac-tabs { display:flex; gap:.3rem; border-bottom:2px solid var(--line); }
.mac-tab { flex:1; font:inherit; font-weight:800; font-size:.88rem; padding:.45rem .4rem; background:none; border:0; border-bottom:3px solid transparent; margin-bottom:-2px; cursor:pointer; color:var(--muted); }
.mac-tab[aria-selected=true] { color:var(--ink); border-bottom-color:var(--red); }
.mac-move { display:flex; flex-direction:column; gap:.45rem; align-items:flex-start; background:var(--ground); border-radius:10px; padding:.6rem .7rem; }
.mac-move[hidden] { display:none; }
.mac-err { margin:0; color:var(--red); font-weight:700; } .mac-err:empty { display:none; }
.mac-actions { display:flex; justify-content:space-between; gap:.6rem; }
html.mac-on .report-fab { display:none; }
html.mac-on .mac-fab { z-index:9004; }
.cr-mark { background:var(--ground); border-left:4px solid #e0a800; padding:.6rem .8rem; border-radius:8px; margin:.4rem 0; }
.cr-mark.is-target { border-left-color:#2563eb; }
.cr-files { display:flex; flex-wrap:wrap; gap:.8rem; list-style:none; padding:0; margin:.5rem 0; }
.cr-files li { width:150px; font-size:.82rem; word-break:break-word; }
.cr-files img { display:block; width:150px; height:110px; object-fit:cover; border:2px solid var(--line); border-radius:8px; }
.cr-note { border-top:1px solid var(--line); padding:.6rem 0; } .cr-note p { margin:.2rem 0; white-space:pre-wrap; }
@media (max-width:560px) {
  .mac-fab { right:10px; bottom:10px; padding:.42rem .7rem; font-size:.8rem; }
  .mac-dialog { right:10px; left:10px; bottom:10px; width:auto; max-height:70vh; }
}
@media print { .mac-fab, .mac-overlay, .mac-layer, .mac-banner, .mac-dialog { display:none !important; } }

/* v1.11.0: shelves sit inside their subject area on the Topics page */
.topicsub{margin-left:1.25rem;padding-left:.75rem;border-left:2px solid var(--line,#d8d8d8)}

/* 2026-11-27 CR-12 / CR-13: Coming soon crayons sit at a slight angle */
.crayon.is-soon, .crayon.is-soon:hover { transform:translateY(var(--sink)) rotate(-6deg); }
.crayon.is-soon::after { content:"Coming soon"; position:absolute; top:4%; left:50%; transform:translateX(-50%); z-index:2; white-space:nowrap; font-size:.6rem; font-weight:800; letter-spacing:.02em; color:#1b1b1b; background:#ffe58a; border:2px solid var(--ink); border-radius:999px; padding:.05rem .4rem; }
@media (max-width:640px) { .crayon.is-soon::after { font-size:.5rem; padding:0 .25rem; border-width:1px; } }

/* v1.12.0 FORMCHECK: on-screen form help and the Please check your details screen */
.fc-msg{display:block;min-height:0;margin-top:.25rem;font-size:.85rem;font-weight:600;color:var(--bad)}
.fc-msg:empty{display:none}
input.fc-bad{border-color:var(--bad);box-shadow:0 0 0 2px var(--bad-bg)}
.fc-use,.linkish{background:none;border:0;padding:0;margin-left:.25rem;color:var(--blue);font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}
.fc-review{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:1rem;background:rgba(20,20,30,.55)}
.fc-card{max-width:30rem;width:100%;max-height:90vh;overflow:auto}
.fc-list{display:grid;grid-template-columns:auto 1fr;gap:.35rem 1rem;margin:1rem 0}
.fc-list dt{font-weight:700;color:var(--muted)}
.fc-list dd{margin:0;word-break:break-word}
/* v1.12.0 REQUEST: request form tick boxes and privacy note */
.need-boxes{border:0;padding:0;margin:0 0 1rem;display:grid;gap:.5rem}
.need-boxes legend{margin-bottom:.5rem}
.check.need{padding:.55rem .75rem;border:2px solid var(--line);border-radius:var(--r-btn);background:var(--card)}
.check.need:has(input:checked){border-color:var(--blue);background:var(--info-bg)}
.note-box{padding:.75rem 1rem;border-left:4px solid var(--yellow-d);background:var(--yellow-l);border-radius:var(--r-block)}
/* v1.13.0 CPR: Sign Up badge above the playground, CPR pages */
.signup-badge{display:flex;align-items:center;gap:.75rem;width:max-content;max-width:100%;margin:0 auto 1rem;padding:.7rem 1.4rem .7rem .9rem;
  background:var(--red);color:#fff;border:var(--outline);border-radius:999px;box-shadow:var(--pop);text-decoration:none;transform:rotate(-2deg)}
.signup-badge:hover,.signup-badge:focus-visible{background:var(--red-d);color:#fff;transform:rotate(0) scale(1.03)}
.signup-badge .sb-icon{width:2.6rem;height:2.6rem;flex:none}
.signup-badge b{display:block;font-family:var(--display);font-size:1.7rem;line-height:1;letter-spacing:.01em}
.signup-badge small{display:block;font-size:.85rem;font-weight:700}
@media (max-width:640px){.signup-badge b{font-size:1.4rem}.signup-badge .sb-icon{width:2.1rem;height:2.1rem}}
.cpr-langs{display:flex;gap:.5rem;justify-content:flex-end;font-weight:700}
.cpr-langs a{padding:.15rem .55rem;border:2px solid var(--line);border-radius:999px;text-decoration:none}
.cpr-langs a.on{border-color:var(--ink);background:var(--yellow-l)}
.cpr-class{display:grid;gap:.35rem}
.cpr-class dl{display:grid;grid-template-columns:auto 1fr;gap:.25rem .9rem;margin:.25rem 0 .5rem}
.cpr-class dt{font-weight:700;color:var(--muted)}
.cpr-class dd{margin:0}
.cpr-seats{font-weight:800}
.cpr-seats.is-full{color:var(--bad)}
.cpr-pay{padding:1rem;border:2px dashed var(--ink);border-radius:var(--radius);background:var(--yellow-l)}
.cpr-pay .zelle{font-size:1.2rem;font-weight:800;word-break:break-all}
.proof-thumb{max-width:9rem;max-height:9rem;border:1px solid var(--line);border-radius:6px}
.signup-badge.sb-phone{display:none}
@media (max-width:860px){.signup-badge.sb-phone{display:flex;margin:0 0 1rem}.signup-badge.sb-desk{display:none}}
/* v1.14.0 CPR: OEC Approved badge (KC 2026-11-27) */
.oec-badge{display:inline-block;padding:.2rem .65rem;border:2px solid var(--green-d);border-radius:999px;background:var(--ok-bg);color:var(--green-d);font-weight:800;font-size:.9rem}

/* v1.15.0 MENU: portal menu grouped by job (drawers, counts, Find a page) */
.side-nav [hidden] { display:none !important; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.side-nav .nav-find { display:block; margin:0 0 .5rem; }
.side .side-nav .nav-find input[type=search] { width:100%; box-sizing:border-box; padding:.45rem .7rem; border-radius:8px; border:1px solid rgba(255,255,255,.22); background:rgba(255,255,255,.08); color:#fff; font:inherit; font-size:.9rem; }
.side .side-nav .nav-find input[type=search]::placeholder { color:#9fb0cf; }
.side .side-nav .nav-find input[type=search]:focus { border-color:var(--yellow); box-shadow:none; }
.side-nav .nav-none { color:#cdd6ea; font-size:.85rem; margin:.2rem .75rem; }
.side-nav .nav-today { margin-bottom:.35rem; }
.nav-group { border-top:1px solid rgba(255,255,255,.1); padding:.15rem 0; }
.nav-group > summary { list-style:none; cursor:pointer; padding:.5rem .75rem; color:#97a5c6; font-size:.76rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; border-radius:8px; display:flex; align-items:center; gap:.4rem; }
.nav-group > summary::-webkit-details-marker { display:none; }
.nav-group > summary::after { content:"+"; margin-left:.2rem; font-size:1rem; line-height:1; color:#97a5c6; }
.nav-group[open] > summary::after { content:"\2212"; }
.nav-group > summary:hover { color:#fff; background:rgba(255,255,255,.06); }
.nav-group > summary:focus-visible, .side-nav a:focus-visible { outline:2px solid var(--yellow); outline-offset:1px; }
.nav-group > a { display:flex; align-items:center; gap:.4rem; padding-left:1.1rem; font-size:.92rem; }
.side-nav a .nav-count, .nav-group > summary .nav-count { margin-left:auto; min-width:1.4rem; padding:0 .4rem; border-radius:999px; background:var(--yellow); color:var(--ink); font-size:.74rem; font-weight:800; text-align:center; letter-spacing:0; }
.nav-glabel { flex:1; } .nav-group > summary .nav-count { margin-left:0; }
.side-nav .nav-today { display:flex; align-items:center; gap:.4rem; }
.side-nav a.on .nav-count { background:var(--ink); color:var(--yellow); }
@media (max-width: 860px) {
  .side-nav { flex-direction:column !important; overflow-x:visible !important; }
  .side-nav a { white-space:normal !important; }
  .nav-group > a { padding-top:.6rem; padding-bottom:.6rem; }
}

/* v1.15.1 LICENSING: Emylly's Licensing Help page and the four-column portal row */
.four { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; align-items:end; }
.lic-intro { max-width:46rem; font-size:1.05rem; }
.lic-cards { margin-top:1rem; align-items:stretch; }
.lic-card { display:flex; flex-direction:column; gap:.4rem; }
.lic-num { display:inline-flex; align-items:center; justify-content:center; width:2rem; height:2rem; border-radius:50%; background:var(--yellow); color:var(--ink); font-weight:800; margin:0; }
.lic-for { font-weight:600; }
.lic-sub { margin:.4rem 0 0; font-weight:800; font-size:.9rem; }
.lic-list { margin:0; padding-left:1.2rem; } .lic-list li { margin:.2rem 0; }
.lic-not { color:var(--muted, #555); }
.lic-go { margin-top:auto; padding-top:.6rem; }
.lic-how { list-style:none; counter-reset:lic; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; padding:0; }
.lic-how li { counter-increment:lic; background:#fff; border:2px solid var(--ink); border-radius:14px; padding:1rem; display:flex; flex-direction:column; gap:.3rem; }
.lic-how li::before { content:counter(lic); font-weight:800; font-size:1.3rem; }
.lic-terms { margin:2rem 0; padding:1.2rem 1.4rem; border:2px dashed var(--ink); border-radius:14px; background:#fffaf0; max-width:50rem; }
.lic-terms p { font-size:.95rem; }
.lic-close { text-align:center; margin-top:1.5rem; } .lic-close .lead { margin-left:auto; margin-right:auto; }
@media (max-width: 860px) {
  .four, .lic-how { grid-template-columns:minmax(0,1fr); }
}

/* v1.15.2 TESTDRIVE: practice copy banner and the Test drive checklist */
.practice-banner { position:sticky; top:0; z-index:2000; background:#b3261e; color:#fff; text-align:center; padding:.45rem 1rem; font-size:.95rem; }
.practice-banner span { opacity:.85; margin-left:.4rem; }
.h4 { font-size:1.02rem; font-weight:800; margin:0; }
.td-steps { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:.8rem; }
.td-step { border:2px solid var(--line); border-radius:12px; padding:.8rem 1rem; background:#fff; }
.td-step.td-works { border-color:#1e8e3e; } .td-step.td-broken { border-color:#b3261e; } .td-step.td-change { border-color:#c98a00; }
.td-badge-works { background:#e6f4ea; color:#1e6b34; } .td-badge-broken { background:#fce8e6; color:#8c1d18; } .td-badge-change { background:#fff4d6; color:#6b4a00; }
.td-mark { display:flex; flex-direction:column; gap:.4rem; margin-top:.4rem; }
.td-btn-broken { border-color:#b3261e; } .td-btn-change { border-color:#c98a00; }
.td-summary { width:100%; font-family:var(--mono, monospace); font-size:.9rem; }

/* v1.15.3 PACKAGES: Packages from your AI (upload, problems, drafts, preview) */
.pk-refused { border:2px solid #b3261e; background:#fdf2f1; }
.pk-problems li { margin:.35rem 0; } .pk-tell { display:block; color:#8c1d18; font-weight:600; }
.pk-warn { list-style:none; padding:.6rem .8rem; margin:.4rem 0; background:#fff4d6; border:1px solid #e0b84a; border-radius:10px; color:#5a3e00; }
.pk-warn li::before { content:"! "; font-weight:800; }
.pk-preview { display:grid; grid-template-columns:minmax(0,22rem) minmax(0,1fr); gap:1rem; align-items:start; }
.pk-page { display:block; border:2px dashed var(--line); border-radius:12px; padding:1rem; }
.pk-qs ol { padding-left:1.2rem; }
.q-extra select, .q-extra input, .q-extra textarea { width:100%; }
@media (max-width: 860px) { .pk-preview { grid-template-columns:minmax(0,1fr); } }

/* v1.15.4 SVCTABS: one page per crayon's packages, hidden cards first */
.svc-tabs { display:flex; flex-wrap:wrap; gap:.5rem; margin:.4rem 0 1rem; }
.svc-tab { display:inline-flex; align-items:center; gap:.4rem; padding:.5rem .9rem; border:2px solid var(--ink); border-radius:999px; background:#fff; color:var(--ink); font-weight:800; text-decoration:none; }
.svc-tab.on { background:var(--yellow); }
.svc-tab-n { font-weight:600; opacity:.7; }
.svc-hidden { border-color:#e0b84a; background:#fffaf0; }

/* v1.16.0 LANGS: the language picker with flags at the top of every public page; the English-prevails note */
.langbar { display:flex; justify-content:flex-end; padding-top:.35rem; padding-bottom:0; }
.langs { display:flex; flex-wrap:wrap; gap:.35rem; justify-content:flex-end; }
.langs .lang { display:inline-flex; align-items:center; gap:.35rem; padding:.15rem .55rem; border:2px solid var(--line); border-radius:999px; background:#fff; color:var(--ink); font-size:.85rem; font-weight:700; text-decoration:none; line-height:1.4; }
.langs .lang img { display:block; width:22px; height:15px; border-radius:2px; box-shadow:0 0 0 1px rgba(0,0,0,.18); }
.langs .lang:hover, .langs .lang:focus-visible { border-color:var(--ink); }
.langs .lang.on { border-color:var(--ink); background:var(--yellow-l); }
@media (max-width:420px) { .langs .lang span { font-size:.78rem; } .langs .lang { padding:.12rem .45rem; } }
.lic-prevails { margin-top:.75rem; font-size:.9rem; }
.lic-prevails a { font-weight:700; }
/* Spanish and Portuguese menu words are longer: a little less space around each so the whole menu fits */
html:not([lang="en"]) .nav a { padding-left:.45rem; padding-right:.45rem; font-size:.93rem; }

/* v1.16.3 TRANSLATIONS: the portal page for Emylly's own words in each language */
.tx-piece { border-top:1px dashed var(--line); padding-top:.6rem; margin-top:.6rem; }
.tx-piece:first-of-type { border-top:0; margin-top:0; padding-top:0; }
.tx-en { margin:.2rem 0 .6rem; padding:.5rem .75rem; background:var(--paper, #faf7f0); border-left:4px solid var(--line); white-space:pre-wrap; font-size:.95rem; }


/* v1.16.4 BRAND: Emylly's new colours and logo (plan EMC-S018, approved 2026-11-29). Only colours and the logo change;
   words, layout and menus stay the same. Cream background, deep green, sage green, gold lines. Every text colour here
   scores 4.5 or more against cream (the web readability check); the light gold #B2894C is for lines only, never words. */
:root {
  --ink:#2E2824; --ink-2:#463D36; --muted:#645A50; --line:#E6D9BF; --ground:#F8F2E4; --card:#FFFBF3;
  --blue:#234334; --blue-d:#1A3326;            /* main colour: deep green (links, main buttons) */
  --red:#A0520A; --red-d:#7E4108;              /* second colour: the logo's burnt orange (ticks, numbers, notes) */
  --yellow:#E9D3A3; --yellow-d:#B2894C; --yellow-l:#F3E7CB;   /* light gold behind dark words */
  --green:#4A6147; --green-d:#234334;          /* sage green */
  --board:#234334; --board-d:#1A3326; --wood:#B2894C; --wood-d:#8A6420;
  --wl-blue:#B9C7B5; --wl-red:#D9B98A;
  --lines-hero:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 100' preserveAspectRatio='none'%3E%3Crect y='14.35' width='16' height='1.3' fill='%23b9c7b5'/%3E%3Crect y='28.85' width='8' height='1.1' fill='%23b9c7b5'/%3E%3Crect y='82.40' width='16' height='1.6' fill='%23d9b98a'/%3E%3C/svg%3E");
  --lines-title:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 100' preserveAspectRatio='none'%3E%3Crect y='17.30' width='16' height='2.6' fill='%23b9c7b5'/%3E%3Crect y='29.90' width='8' height='2.2' fill='%23b9c7b5'/%3E%3Crect y='78.90' width='16' height='3.2' fill='%23d9b98a'/%3E%3C/svg%3E");
  --scribble:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9c30-6 60-5 92-3s70 2 102-4M8 12c40-5 90-6 150-2' fill='none' stroke='%23b2894c' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
  --scribble-red:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9c30-6 60-5 92-3s70 2 102-4' fill='none' stroke='%23a0520a' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.btn-primary { --b-hover:#2F5744; }
a:hover { text-decoration-color:var(--yellow-d); }
.mark { width:48px; height:34px; background-image:url("brand-mark.png"); }
.foot-brand .mark { width:64px; height:45px; }
/* white surfaces become warm cream so the page reads as one paper */
.site-header { background:var(--card); border-bottom:3px solid var(--yellow-d); }
.worksheet { background:var(--card); }
.flash, .filters, .faq, .rcard, .slip, .post, .table, .steps3 li, .kpi, .check-row, .lic-how li, .td-step, .quote, .pwtoggle { background-color:var(--card); }
.site-footer { background:var(--blue); color:#F8F2E4; border-top:4px solid var(--yellow-d); }
.foot strong { color:#FFFFFF; } .site-footer .muted { color:#E6D9BF; } .site-footer .c-green { stroke:#B9C7B5; }
.site-footer a { color:#F8F2E4; }

/* v1.16.4 FONTS: the fonts from Emylly's preview, served from this site (no outside font service).
   Playfair Display for headings, Nunito Sans for reading, Great Vibes for the "by Emylly" signature. */
@font-face { font-family:"Playfair Display"; src:url("fonts/playfair-display-latin-600-normal.woff2") format("woff2"); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:"Playfair Display"; src:url("fonts/playfair-display-latin-700-normal.woff2") format("woff2"); font-weight:700 900; font-style:normal; font-display:swap; }
@font-face { font-family:"Nunito Sans"; src:url("fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); font-weight:300 500; font-style:normal; font-display:swap; }
@font-face { font-family:"Nunito Sans"; src:url("fonts/nunito-sans-latin-400-italic.woff2") format("woff2"); font-weight:300 500; font-style:italic; font-display:swap; }
@font-face { font-family:"Nunito Sans"; src:url("fonts/nunito-sans-latin-600-normal.woff2") format("woff2"); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:"Nunito Sans"; src:url("fonts/nunito-sans-latin-700-normal.woff2") format("woff2"); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:"Nunito Sans"; src:url("fonts/nunito-sans-latin-800-normal.woff2") format("woff2"); font-weight:800 900; font-style:normal; font-display:swap; }
@font-face { font-family:"Great Vibes"; src:url("fonts/great-vibes-latin-400-normal.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
:root {
  --display:"Playfair Display",Georgia,"Times New Roman",serif;
  --body:"Nunito Sans","Segoe UI",system-ui,-apple-system,Roboto,Helvetica,Arial,sans-serif;
  --script:"Great Vibes","Segoe Script","Brush Script MT",cursive;
}
h1, h2, h3, .h1, .h2 { font-weight:700; font-stretch:normal; letter-spacing:0; color:var(--blue); }
.brand { font-family:var(--display); font-weight:700; color:var(--blue); }
.brand-by { font-family:var(--script); font-weight:400; font-size:1.35em; color:var(--wood-d); margin-left:.3em; line-height:1; }
.foot .brand-by { color:#E6D9BF; }
/* the menu never cuts off its last item: it wraps onto a second line when the screen is too narrow */
.site-header .nav { flex-wrap:wrap; row-gap:.1rem; overflow:visible; white-space:normal; } .site-header .nav a { white-space:nowrap; }
/* portal links that look like plain text get the link underline back */
.shell main a:not(.btn):not(.side-brand):not([class*="tab"]) { text-decoration:underline; text-decoration-color:var(--yellow-d); text-underline-offset:3px; }
.worksheet .display { font-size:clamp(2.6rem,6vw,5rem); line-height:1.08; }
@media (max-width:760px) { .site-header .nav { flex-wrap:nowrap; overflow-x:auto; white-space:nowrap; } }
/* v1.16.4 WAITING: the box at the top of a portal page that says exactly what its menu number counts */
.waiting-box { background:#FFF4DB; border:2px solid var(--yellow-d); border-radius:var(--radius); padding:.9rem 1.2rem; margin:0 0 1.2rem; }
.waiting-box h2 { margin:0 0 .4rem; color:var(--ink); } .waiting-box ul { margin:0 0 .3rem; padding-left:1.2rem; } .waiting-box p { margin:0; }

/* v1.16.5 CRAYONS: the crayons, fridge magnets, library colours and the drawing on the home page keep bright
   crayon colours (Emylly's change request CR-17: brighter, not all green). Only the page around them is cream and green. */
:root { --cr-red:#E5383B; --cr-red-d:#B3242A; --cr-blue:#2459D6; --cr-blue-d:#183F9E; --cr-yellow:#FFC531; --cr-yellow-d:#D69A00;
        --cr-green:#1F9E68; --cr-green-d:#157A4F; --cr-orange:#FF7A2F; --cr-pink:#F25C9A; --cr-purple:#7B4FD6; }
.cc-green { --kc:var(--cr-green); } .cc-blue { --kc:var(--cr-blue); } .cc-yellow { --kc:var(--cr-yellow); --kc-fg:var(--ink); } .cc-red { --kc:var(--cr-red); }
.cc-pink { --kc:var(--cr-pink); } .cc-purple { --kc:var(--cr-purple); } .cc-orange { --kc:var(--cr-orange); --kc-fg:var(--ink); }
.k-curriculum { --kc:var(--cr-green); } .k-guide { --kc:var(--cr-blue); } .k-video { --kc:var(--cr-yellow); --kc-fg:var(--ink); } .k-training { --kc:var(--cr-red); }
.m0 { --mc:var(--cr-red); --md:var(--cr-red-d); } .m1 { --mc:var(--cr-blue); --md:var(--cr-blue-d); } .m2 { --mc:var(--cr-yellow); --md:var(--cr-yellow-d); } .m3 { --mc:var(--cr-green); --md:var(--cr-green-d); }
.c-red { stroke:var(--cr-red); } .c-blue { stroke:var(--cr-blue); } .c-yellow, .c-sun { stroke:var(--cr-yellow); }
.tape b + b::before { background:var(--cr-red); } .tape b:nth-of-type(3n+2) + b::before { background:var(--cr-blue); } .tape b:nth-of-type(3n) + b::before { background:var(--cr-green); }
/* the consulting choices on the home chalkboard are links to their card on the consulting page */
.cm-link { color:inherit; text-decoration:none; } .cm-link:hover .cm-name, .cm-link:focus-visible .cm-name { text-decoration:underline; text-decoration-color:var(--cr-yellow); }
.svc-card[id^="pkg-"] { scroll-margin-top:8rem; }

/* v1.16.5 PASTEL: Emylly asked for the lighter, pastel sage green from her flyer instead of the dark greens
   (KC 2026-11-29 13:16 ET). Sage #566448 is the flyer's banner green; white words on it and sage words on cream
   both pass the readability check (6.3 and 5.7). The footer becomes pastel sage with dark words. */
:root {
  --blue:#566448; --blue-d:#47573A; --green:#61704F; --green-d:#566448;
  --sage-pastel:#DCE5D2; --sage-pastel-d:#C9D6BC;
  --board:#566448; --board-d:#47573A;
}
.btn-primary { --b-hover:#47573A; }
.site-footer { background:var(--sage-pastel); color:var(--ink); border-top:4px solid var(--yellow-d); }
.site-footer .foot strong, .foot strong { color:var(--ink); } .site-footer .muted { color:#4A4A3E; }
.site-footer a, .foot-links a { color:var(--ink); } .foot-links a:hover { color:var(--blue-d); }
.foot-base { color:#4A4A3E; border-top-color:rgba(46,40,36,.2); }
.foot .brand-by { color:var(--wood-d); }
.site-footer .c-green { stroke:var(--cr-green); }
.cm-name small { color:#EEF3E8; }

/* v1.16.7 PASTEL FILLS: Emylly asked that the green buttons use the light pastel green of the footer, not the darker
   sage (KC 2026-11-29 16:39 ET). Buttons and the crayon box become pastel #DCE5D2 with dark words (readability 11.2).
   The chalkboard stays sage with white chalk, as in 1.16.5 (KC 16:52 ET). Green words (headings, links) stay dark
   sage: pastel words on cream could not be read (1.2). */
:root { --sage-pastel:#DCE5D2; --sage-pastel-d:#C9D6BC; }
.btn-primary { --b-bg:var(--sage-pastel); --b-fg:var(--ink); --b-hover:var(--sage-pastel-d); }
.crayon-box::before { background:var(--sage-pastel-d); }
/* The CPR Sign Up button at the top of the home page goes back to red (Emylly via KC 2026-11-29 17:25 ET): the red of
   her CPR flyer, white words (readability 6.5); darker red when pointed at (8.9). It was red before 1.16.4 turned all
   reds into the logo's burnt orange. */
.signup-badge { background:#B4233C; color:#fff; }
.signup-badge:hover, .signup-badge:focus-visible { background:#8E1B2F; color:#fff; }

/* v1.16.7 PASTEL CLASSROOM: Emylly's requests CR-18 to CR-30 (2026-11-29, received by KC 17:34 ET): lighter, happy
   pastel colours, nothing earthy, no dark green fills, flowers. No pink anywhere (KC 17:44 ET). Every word keeps a
   readability score of 4.5 or more. The chalkboard stays as it is (KC 16:52 ET). */
:root {
  --ground:#FFFCF7; --card:#FFFFFF; --line:#ECE5EE; --muted:#5E5A6E;
  --p-blue:#CFE3F7; --p-green:#DCE5D2; --p-yellow:#FFE27A; --p-yellow-soft:#FFF1B8; --p-yellow-l:#FFF6D6; --p-purple:#E3D5F5;
  --red:#C0392B; --red-d:#962D22;                                   /* red instead of burnt orange */
  --yellow:#FFE27A; --yellow-l:#FFF6D6; --yellow-d:#F0C43C;          /* sunny pastel yellow instead of beige gold */
  --tape:rgba(255,236,160,.85);
  /* crayons and fridge letters: pastel, with dark words on them (CR-18, CR-19) */
  --cr-red:#EF6F6C; --cr-red-d:#C94A47; --cr-blue:#A9D3F5; --cr-blue-d:#6FA9D8; --cr-yellow:#FFE27A; --cr-yellow-d:#E9BE2E;
  --cr-green:#B8E0B0; --cr-green-d:#7DBB72; --cr-orange:#FFC89A; --cr-pink:#A8E0DA; --cr-purple:#CDB8EE;
}
.site-header { border-bottom-color:var(--p-blue); }
.site-footer { border-top-color:var(--p-yellow); }
.worksheet .ws-what { color:#2E5A9A; }                              /* the line under the big heading: blue, not brown */

/* Get help from Emylly: pastel green like the other buttons (CR-26, CR-30) */
.btn-accent { --b-bg:var(--p-green); --b-fg:var(--ink); --b-hover:#C9D6BC; }
/* the chalkboard keeps its 1.16.5 colours exactly (KC 16:52 ET): its button and yellow chalk words stay as they were */
.chalkboard .btn-accent { --b-bg:#E9D3A3; --b-hover:#ffd25c; }
.chalkboard .chalk-copy b[data-program], .chalkboard .cm-price { color:#E9D3A3; }

/* CPR Sign Up: red with white words (CR-22, CR-25). Red, not pastel red: pastel red looks pink (KC 17:44 ET). */
.signup-badge { background:#B4233C; color:#fff; }
.signup-badge:hover, .signup-badge:focus-visible { background:#8E1B2F; color:#fff; }

/* Our mission pastel yellow (CR-28 asked pink; KC 17:44 ET: no pink; yellow is from her list in CR-21),
   Our vision pastel blue (CR-27, CR-21): dark words */
.mv-card { color:var(--ink); }
.mv-card::before { background:var(--p-yellow-soft); }
.mv-card + .mv-card::before { background:var(--p-blue); }
.mv-label { color:var(--ink-2); opacity:1; }
.mv-lead { color:var(--ink); }
.mv-body { color:#3A3A44; }

/* The crayon section on white (CR-29), the box like a real crayon box: a sunny yellow box, the crayons standing in
   it, a white oval label on the front. Not Crayola's look: their green-and-yellow zigzag and name belong to them. */
.box-sec { background:#fff; border-radius:24px; padding:2.2rem 2rem 2.4rem; box-shadow:0 0 0 100vmax #fff; clip-path:inset(0 -100vmax); }
.crayon-box::before { background:var(--cr-yellow-d); }
.box-front { background:linear-gradient(180deg, var(--p-yellow) 0 74%, var(--p-blue) 74% 100%); }
.box-front .box-name, .box-front .box-count { position:relative; z-index:1; }
.box-front::before { content:""; position:absolute; left:50%; top:52%; width:min(86%, 460px); height:62%; translate:-50% -50%;
  background:#fff; border:2.5px solid var(--ink); border-radius:50%; }
.crayon { --kc-fg:var(--ink); color:var(--ink); }
.crayon:hover, .crayon:focus-visible { color:var(--ink); }
.cr-label { background:rgba(255,255,255,.35); border-top-color:rgba(46,40,36,.3); border-bottom-color:rgba(46,40,36,.3); }

/* Fridge letters: pastel, no shadow, a thin darker edge so they still show on the white door (CR-18) */
.magnet { text-shadow:none; -webkit-text-stroke:2px var(--md, rgba(0,0,0,.25)); paint-order:stroke fill; }
.m4 { --mc:var(--cr-orange); --md:#E89B5E; } .m5 { --mc:var(--cr-purple); --md:#9E85CF; }
.magnet.is-held { filter:none; }

/* The drawing at the top: bright yellow sun and door, a colourful house again, flowers (CR-20) */
.scene .c-red { stroke:#E5383B; } .scene .c-blue { stroke:#2E7BD6; } .scene .c-green { stroke:#3DB86F; } .scene .c-pink { stroke:#E5383B; }
.scene .c-yellow, .scene .c-sun { stroke:#F2B705; } .scene .c-sun2 { stroke:#FFB000; }
.scene .d1.c-sun { fill:#FFD43B; }
.scene .d3.c-blue { fill:#CFE3F7; } .scene .d5.c-yellow { fill:#FFD43B; } .scene .d5.c-blue { fill:#FFFFFF; }
.scene .d1.c-sun, .scene .d3.c-blue, .scene .d5.c-yellow, .scene .d5.c-blue { fill-opacity:0; animation:draw .7s ease-out forwards, fillin .6s ease-out 3.3s forwards; }
@keyframes fillin { to { fill-opacity:1; } }
.scene-flowers { opacity:0; animation:fadein .6s ease-out 3.6s forwards; }
@media (prefers-reduced-motion:reduce) {
  .scene .d1.c-sun, .scene .d3.c-blue, .scene .d5.c-yellow, .scene .d5.c-blue { fill-opacity:1; animation:none; }
  .scene-flowers { opacity:1; animation:none; }
}
/* the hand-drawn underline under headings and the active menu item: pastel blue, not gold */
:root {
  --scribble:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9c30-6 60-5 92-3s70 2 102-4M8 12c40-5 90-6 150-2' fill='none' stroke='%238EC1EC' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
  --scribble-red:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9c30-6 60-5 92-3s70 2 102-4' fill='none' stroke='%238EC1EC' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}
/* v1.16.8 NO PINK: the colours above are the final 1.16.7 v1.4.0 set (Emylly CR-18 to CR-30, KC 17:44 ET: no pink).
   This line marks that they are installed. */
/* v1.16.10 BOX LABEL: the business name fits inside the white oval on the crayon box (KC 2026-11-29 19:19 ET):
   smaller words, two balanced lines at most, kept inside the middle of the oval on every screen size. */
.box-front .box-name { font-size:clamp(1.05rem,2.1vw,1.5rem); line-height:1.12; max-width:min(62%, 330px); text-wrap:balance; }
.box-front .box-count { font-size:1.05rem; margin-top:.25rem; max-width:min(62%, 330px); }
.box-front::before { height:68%; }
@media (max-width:640px) { .box-front .box-name { font-size:1rem; } .box-front .box-count { font-size:.92rem; } }
/* v1.16.11 SIMPLER: Emylly 2026-11-30 19:26 ET chose three changes: the phone problems, the prices (data, not style)
   and fewer themes. Kept: the top drawing, the crayon box, her photo with the fridge letters.
   Emylly 2026-11-30 19:28 ET: "change the chalk board to match with the page" (this replaces KC's 2026-11-29 16:52 ET
   keep-it rule; she owns the site). */

/* fewer themes: no notebook paper at the top (no red margin line, holes, ruled lines or Name/Date blanks) */
.worksheet::before, .worksheet::after { display:none; }
.worksheet .ws-head { display:none; }
.worksheet .display { background-image:none; }
.ws-grid, .ws-grid.wrap { padding-left:1.25rem; }  /* the normal page margin, no notebook margin */
/* the "Designed for" strip: a flat pastel band, not tilted tape */
.tape { transform:none; background:var(--p-yellow-l); border-radius:14px; box-shadow:none; }
/* mission and vision: clean rounded cards, no torn edges, no tape, not tilted */
.mv-card, .mv-card + .mv-card { transform:none; margin-top:0; }
.mv-card::before { clip-path:none; border-radius:22px; }
.mv-card::after { display:none; }
/* quotes: plain white cards, no notebook lines, no tape, not tilted */
.quote, .quote:nth-child(2n) { transform:none; background-image:none; border:1.5px solid var(--line); border-radius:16px; }
.quote::before { display:none; }
.quote blockquote { font-family:var(--body); font-size:1.1rem; line-height:1.55; color:var(--ink); }
/* workshops: plain cards, no "Permission slip" label, no scissors cut line, not tilted */
.slip, .slip:nth-child(2n), .slip:nth-child(2n+1) { transform:none; border-radius:16px; }
.slip-kind { display:none; }
.slip-cut { border-top:1.5px solid var(--line); }
.slip-cut .scissors { display:none; }
.can-reveal .mv-card:not(.is-in), .can-reveal .quote:not(.is-in), .can-reveal .slip:not(.is-in) { transform:translateY(-14px); }

/* the chalkboard becomes a soft green card, the same green as the footer: no wood frame, chalk or eraser */
.chalkboard { border:0; outline:0; border-radius:22px; box-shadow:none; background:var(--p-green); color:var(--ink); padding:3rem; }
.chalkboard .chalk-title { color:var(--ink); filter:none; }
.chalkboard .chalk-copy p { color:var(--ink-2); }
.chalkboard .chalk-menu li, .chalkboard .cm-link { color:var(--ink); }
.chalkboard .cm-name small { color:var(--muted); }
.chalkboard .cm-dots { border-bottom-color:rgba(46,40,36,.35); }
.chalkboard .cm-price, .chalkboard .chalk-copy b[data-program] { color:#3E6B3A; filter:none; }
.chalkboard .btn-accent { --b-bg:#FFFFFF; --b-fg:var(--ink); --b-hover:var(--p-yellow-l); }
.chalkboard .ledge { display:none; }

/* phone problems */
@media (max-width:760px) {
  /* the menu wraps onto two short lines instead of running off the side */
  .site-header .nav { flex-wrap:wrap; justify-content:center; overflow:visible; white-space:normal; gap:0 .1rem; }
  .site-header .nav a { padding:.35rem .5rem .45rem; font-size:.92rem; }
  /* the business name shows in full, on two lines if needed */
  .brand > span:last-child { overflow:visible; text-overflow:clip; white-space:normal; line-height:1.1; }
  .brand { font-size:1rem; }
  /* Report a problem: a small round button in the corner, so it never covers a button on the page */
  .report-fab { font-size:0; gap:0; padding:0; width:42px; height:42px; justify-content:center; border-radius:50%; left:auto; right:12px; bottom:12px; }
  .report-fab span { font-size:.95rem; width:1.6rem; height:1.6rem; }
  .site-footer { padding-bottom:4.5rem; }
  .chalkboard { padding:2rem 1.5rem; }
  .ws-grid, .ws-grid.wrap { padding-left:1.25rem; }
}
