/* Learn worlds: the world map (#learn) and subject worlds (#learn/<id>) in the Agenda play language.
   2px ink borders, hard ink shadows that press down, Gabarito display type, stickers and gentle motion.
   Children see these inside the child App Shell; Guest and local mode get the standalone .lw-frame. */
body[data-surface=learn-world]{background:#fff8e4}
.lw-frame{--shell-ink:#2a2560;min-height:100dvh;background:radial-gradient(circle at 10% 0,#fff1c7 0,transparent 34%),radial-gradient(circle at 100% 24%,#e3dcff 0,transparent 38%),#fff8e4;color:var(--shell-ink);font-family:NoesisChildFigtree,'Noto Sans SC','Microsoft YaHei',system-ui,sans-serif}
.lw-frame :is(h1,h2,h3,p){margin:0}.lw-frame :is(a,button):focus-visible{outline:3px solid #7b61ff;outline-offset:4px}
.lw-frame-top{position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:12px;padding:10px clamp(14px,3vw,28px);background:#fffdf8ee;border-bottom:2px solid var(--shell-ink);backdrop-filter:blur(6px)}
.lw-frame-home{display:inline-flex;align-items:center;gap:4px;min-height:40px;padding:6px 12px 6px 8px;border-radius:999px;color:#57537a;font-weight:800;text-decoration:none}.lw-frame-home:hover{background:#efecfa;color:var(--shell-ink)}
.lw-frame-brand{display:flex;align-items:center;gap:8px;font:900 21px NoesisChildGabarito,sans-serif;letter-spacing:-.02em;color:var(--shell-ink);text-decoration:none}
.lw-frame-mark{display:grid;place-items:center;width:32px;height:32px;border:2px solid var(--shell-ink);border-radius:10px;background:#ffcb52;box-shadow:0 2px 0 var(--shell-ink);font-size:16px}
.lw-frame-right{margin-left:auto;display:flex;align-items:center;gap:8px}
.lw-frame-main{max-width:1240px;margin:0 auto;padding:22px clamp(14px,3vw,32px) 64px;outline:none}
.lw-pill{padding:6px 12px;border:1.5px solid var(--shell-ink);border-radius:999px;background:white;font-size:13px;font-weight:800;white-space:nowrap}
.lw-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 18px;border:2px solid var(--shell-ink);border-radius:16px;background:var(--shell-ink);color:white;font:800 15px NoesisChildFigtree,sans-serif;box-shadow:0 4px 0 #120f3a;cursor:pointer;transition:transform .12s,box-shadow .12s}
.lw-button:active{transform:translateY(3px);box-shadow:0 1px 0 #120f3a}.lw-button.small{min-height:38px;padding:6px 14px;border-radius:999px;font-size:14px;box-shadow:0 3px 0 #120f3a}
.lw-kicker{display:inline-block;font-size:12px;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:#57537a}
.lw-sticker{display:inline-block;padding:4px 10px;border:2px solid var(--shell-ink);border-radius:999px;background:#ffcb52;font:900 12px NoesisChildGabarito,sans-serif;transform:rotate(-3deg);box-shadow:0 2px 0 var(--shell-ink);white-space:nowrap}
.lw-chips{display:flex;flex-wrap:wrap;gap:8px}
.lw-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border:2px solid var(--shell-ink);border-radius:999px;background:white;font-size:13px;font-weight:850}.lw-chip.is-done{background:#e3f6ec;color:#146b48}.lw-chip.is-hot{background:#ffe1da}

/* World map */
.lw-map{gap:22px}
.lw-title h1{font:900 clamp(34px,5vw,46px)/1 NoesisChildGabarito,'Noto Sans SC',sans-serif;letter-spacing:-.03em;margin-top:4px}
.lw-title p{font-size:16px;font-weight:600;color:#57537a;margin-top:8px}
/* The quest card and the Correction Book share a row and a height; "Also today" sits under the quest. */
.lw-top-row{display:grid;gap:12px 16px}.lw-top-row>*{min-width:0}.lw-top-row>.lw-mailbag{order:1}
:is(.learn-continue,.lw-quest-call){display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 16px 12px 12px;border:2px solid var(--shell-ink);border-radius:26px;background:var(--shell-ink);color:white;text-decoration:none;box-shadow:0 5px 0 var(--learn-deep);transition:transform .12s,box-shadow .12s}
.lw-quest-call{background:var(--learn-tint);color:var(--shell-ink);box-shadow:0 5px 0 var(--shell-ink)}
:is(.learn-continue,.lw-quest-call):active{transform:translateY(3px);box-shadow:0 2px 0 var(--shell-ink)}
.lw-ticket-art{width:86px;height:70px;display:grid;place-items:center;border:2px solid var(--shell-ink);border-radius:18px;background:#dff4f8}.lw-ticket-art svg{width:84px;height:68px}
.lw-ticket-copy{display:flex;flex-direction:column;gap:6px;min-width:0}.lw-ticket-copy>strong{font:900 24px/1.05 NoesisChildGabarito,'Noto Sans SC',sans-serif}
.lw-ticket-copy>span:last-child{font-size:14px;font-weight:700;opacity:.85}.learn-continue .lw-kicker{color:#c9c4f2}
.lw-segments{display:flex;gap:5px;max-width:220px}.lw-segments i{flex:1;height:10px;border:1.5px solid #8e88c9;border-radius:999px;background:#3e3a66}.lw-segments i.is-done{background:var(--learn-color);border-color:var(--learn-color)}
.lw-go{width:56px;height:56px;display:grid;place-items:center;border:2.5px solid currentColor;border-radius:50%;background:var(--learn-color);color:var(--shell-ink);font-size:22px}
.learn-also{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px;font-weight:800;color:#57537a}
.learn-also a{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;min-height:36px;box-sizing:border-box;border:2px solid var(--shell-ink);border-radius:999px;background:white;color:var(--shell-ink);text-decoration:none}
.learn-also i{width:10px;height:10px;border:1.5px solid var(--shell-ink);border-radius:50%;background:var(--learn-color)}
.lw-mailbag{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center;padding:14px 16px;border:2px solid var(--shell-ink);border-radius:26px;background:white;color:var(--shell-ink);text-decoration:none;box-shadow:0 5px 0 var(--shell-ink)}
.lw-mail-count{display:flex;flex-direction:column;align-items:center;min-width:64px;padding:8px 10px;border:2px solid var(--shell-ink);border-radius:16px;background:#ffe1da;font:900 34px/1 NoesisChildGabarito,sans-serif}.lw-mail-count small{font:800 11px NoesisChildFigtree,sans-serif;margin-top:2px}
.lw-mail-copy{display:flex;flex-direction:column;gap:6px;min-width:0}.lw-mail-copy strong{font-size:19px}.lw-mail-copy small{font-size:12.5px;color:#57537a;font-weight:700}
.lw-mail-chips{display:flex;flex-wrap:wrap;gap:6px;font-size:13px;font-weight:700}.lw-mail-chips span{padding:2px 9px;border:1.5px solid var(--shell-ink);border-radius:999px;background:var(--learn-tint)}
.lw-guest-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:16px;border:2px dashed var(--shell-ink);border-radius:24px;background:white}.lw-guest-card h2{font-size:21px}.lw-guest-card p{color:#3e3a66;font-weight:600}
.lw-sea-section{display:flex;flex-direction:column;gap:12px}.lw-sea-section h2{font-size:22px;font-weight:900}
.lw-sea{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px;border:2px solid var(--shell-ink);border-radius:28px;background:radial-gradient(circle at 20% 30%,#ffffff55 0 6px,transparent 7px) 0 0/90px 70px,radial-gradient(circle at 70% 70%,#ffffff44 0 4px,transparent 5px) 0 0/120px 90px,linear-gradient(#cdeef6,#a9e0ee);box-shadow:inset 0 -6px 0 #8fd2e3}
.lw-island{display:flex;flex-direction:column;align-items:stretch;min-width:0;color:var(--shell-ink);text-decoration:none;animation:lw-rise .3s ease both;animation-delay:calc(var(--i,0)*45ms)}
.lw-island-art{position:relative;display:block;aspect-ratio:120/96}.lw-island-art svg{width:100%;height:100%;display:block;transition:transform .2s ease}
.lw-island:hover .lw-island-art svg,.lw-island:focus-visible .lw-island-art svg{transform:translateY(-5px) rotate(-1deg)}
.lw-island-flag{position:absolute;left:6%;top:4%;width:24px}.lw-island-flag svg{width:24px;height:30px}
.lw-island-art .lw-sticker{position:absolute;right:2%;top:2%}
.lw-island-label{display:flex;flex-direction:column;gap:2px;margin-top:-6px;padding:9px 12px;border:2px solid var(--shell-ink);border-radius:16px;background:var(--learn-color);box-shadow:0 4px 0 var(--shell-ink);transition:transform .12s,box-shadow .12s}
.lw-island:active .lw-island-label{transform:translateY(3px);box-shadow:0 1px 0 var(--shell-ink)}
.lw-island-label strong{font:900 19px/1.1 NoesisChildGabarito,'Noto Sans SC',sans-serif}.lw-island-label small{font-size:12.5px;font-weight:800;opacity:.8}
.lw-island-status{font-size:13px;font-weight:800;margin-top:4px;padding-top:5px;border-top:1.5px dashed #2a256055}
.lw-bottom-row{display:flex;flex-direction:column;gap:16px}
.learn-week{display:flex;flex-direction:column;gap:14px;background:white;border:2px solid var(--shell-ink);border-radius:24px;box-shadow:0 4px 0 var(--shell-ink);padding:16px;text-decoration:none;color:var(--shell-ink)}
.learn-week-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.learn-week-heading>strong{font-size:20px;font-weight:900}
.learn-week-heading>span{display:flex;align-items:center;gap:6px;background:#fff1c7;border:1.5px solid var(--shell-ink);padding:4px 10px;border-radius:999px;font-size:13px;font-weight:900}
.learn-week-bars{min-height:114px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;align-items:end}.learn-week-bars>span{display:flex;flex-direction:column;align-items:center;justify-content:end;gap:5px;min-width:0}
.learn-week-bars small{font-size:11.5px;font-weight:800;color:#57537a}.learn-week-bars i{display:block;width:100%;max-width:34px;height:var(--bar-size);border:2px solid var(--shell-ink);border-radius:10px 10px 4px 4px;background:#b49cff}
.learn-week-bars i.is-zero{background:#efecfa;border-style:dashed}.learn-week-bars i.is-today{background:#ffcb52}.learn-week-bars small.is-today{color:var(--shell-ink)}
.learn-week-footer{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:13px;font-weight:800;color:#57537a}.learn-week-footer strong{margin-left:auto;color:var(--shell-ink)}

/* Subject world: compact, so a whole subject fits about one screen on a desktop and little scrolling on a phone. */
.lw-world{gap:14px}
/* The head reads like a Lab's: a plain title, and the world's picture as a faded watermark where a Lab keeps its search. */
/* Spacing matches Math Lab's head (.mlab-head and its search's margins): the quest bar starts at the same height. */
.lw-hero{position:relative;isolation:isolate;padding:10px 0 16px}
/* The quest bar: Math Lab's .mlab-quest (math-lab/lab.css), with the subject's tint. */
.lw-quest{display:grid;gap:8px;padding:10px 12px;border:2px solid var(--shell-ink);border-radius:18px;background:linear-gradient(135deg,var(--learn-tint),#fff);box-shadow:0 3px 0 var(--shell-ink)}
.lw-quest p{margin:0}
@media(min-width:900px){.lw-quest{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 16px}.lw-quest-links{justify-content:flex-end}}
.lw-quest .learn-hub-daily{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px}
.lw-quest .learn-hub-daily .daily-action-strip{flex:1 1 240px;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:8px 12px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.lw-quest .compact-action-card-copy{flex:1 1 auto;min-width:0}.lw-quest .compact-action-card-copy>h2{font-size:17px}
.lw-quest .learn-daily-badge{position:static;order:1}.lw-quest .learn-daily-badge:not(.is-done){display:none}
.lw-quest .compact-action-card-actions{flex-wrap:nowrap}
/* Every subject's Daily row is as tall as Math Lab's with its Standard/Stretch switch (44px buttons in a padded, bordered box),
   so the quest bar has one height on every page, with or without the switch. */
:is(.lw-quest,.mlab-quest) .learn-hub-daily{min-height:56px}
/* Daily done (parent, 14 Nov 2026): Done today replaces Start and the Standard/Stretch switch. On wide screens the Daily line,
   Done today and the pills share the first row, and a finished hidden question takes the whole second row, so nothing
   floats between rows. .learn-hub-daily steps aside (display:contents) so its parts and the pills line up in one flex row. */
:is(.lw-quest,.mlab-quest) .learn-hub-daily:has(>.learn-daily-badge.is-done) .compact-action-card-actions{display:none}
@media(min-width:900px){
 :is(.lw-quest,.mlab-quest):has(>.learn-hub-daily>.learn-daily-badge.is-done){display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
 :is(.lw-quest,.mlab-quest):has(>.learn-hub-daily>.learn-daily-badge.is-done)>.learn-hub-daily{display:contents}
 :is(.lw-quest,.mlab-quest):has(>.learn-hub-daily>.learn-daily-badge.is-done)>.learn-hub-daily>.daily-action-strip{flex:0 1 auto;order:0}
 :is(.lw-quest,.mlab-quest):has(>.learn-hub-daily>.learn-daily-badge.is-done)>.learn-hub-daily>.learn-daily-badge{order:1}
 :is(.lw-quest,.mlab-quest):has(>.learn-hub-daily>.learn-daily-badge.is-done)>:is(.mlab-quest-links,.lw-quest-links){order:2;margin-left:auto;min-width:0}
 :is(.lw-quest,.mlab-quest):has(>.learn-hub-daily>.learn-daily-badge.is-done)>.learn-hub-daily>.hx-slot{order:3;flex:1 0 100%}
}
/* From 1200px everything fits on one row (parent, 15 Nov 2026): Daily, Done today, the finished line with Liked Qns, then the pills. */
@media(min-width:1200px){
 :is(.lw-quest,.mlab-quest):has(>.learn-hub-daily>.learn-daily-badge.is-done)>.learn-hub-daily>.hx-slot{order:2;flex:0 1 auto;width:auto;min-width:0}
 :is(.lw-quest,.mlab-quest):has(>.learn-hub-daily>.learn-daily-badge.is-done)>:is(.mlab-quest-links,.lw-quest-links){order:3}
}
.lw-quest-links{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}.lw-quest-links::-webkit-scrollbar{display:none}
/* Daily controls match the pills (parent, 15 Nov 2026): Standard/Stretch and Start are 44px pills with the same 2px ink
   border, so every control in the bar has one shape and one height. Start stays filled as the main action. */
:is(.lw-quest,.mlab-quest) .learn-hub-daily .mode-control{align-items:center;flex-wrap:nowrap;min-height:44px;padding:3px;gap:2px;border:2px solid var(--shell-ink,#2a2560);border-radius:999px;background:#fff}
:is(.lw-quest,.mlab-quest) .learn-hub-daily .mode-control button{min-height:34px;padding:0 14px;border:0;border-radius:999px;color:var(--shell-ink,#2a2560);font-size:13px;font-weight:800;line-height:1}
:is(.lw-quest,.mlab-quest) .learn-hub-daily .mode-control button[aria-pressed=true]{background:var(--shell-ink,#2a2560);box-shadow:none;color:#fff}
:is(.lw-quest,.mlab-quest) .learn-hub-daily .button{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;box-shadow:none;font-size:14px;line-height:1}
/* Phones: the controls take their own row under the title, Standard/Stretch on the left and Start on the right. */
@media(max-width:599px){
 :is(.lw-quest,.mlab-quest) .learn-hub-daily .daily-action-strip.compact-action-card{flex-wrap:wrap}
 :is(.lw-quest,.mlab-quest) .learn-hub-daily .daily-action-strip .compact-action-card-actions{flex:1 0 100%;flex-wrap:nowrap;justify-content:space-between}
}
/* 900-1199px with Liked Qns on its own line: the pills line up with the controls row, not the middle of the block. */
@media(min-width:900px) and (max-width:1199px){
 :is(.lw-quest,.mlab-quest):has(>.learn-hub-daily>.hx-slot[data-hx-slot="liked"])>:is(.lw-quest-links,.mlab-quest-links){align-self:start}
}
/* Liked Qns before the Daily is done (parent, 15 Nov 2026): it sits after "3 questions · ~12 min" under the Daily title,
   not between Start and the pills. The strip and its copy step aside (display:contents) so the title, meta line, link and
   actions share one grid. Below 1200px there is no room beside Start, so the link keeps its own line under the strip. */
@media(min-width:1200px){
 :is(.lw-quest,.mlab-quest) .learn-hub-daily:has(>.hx-slot[data-hx-slot="liked"]){display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:2px 12px}
 :is(.lw-quest,.mlab-quest) .learn-hub-daily:has(>.hx-slot[data-hx-slot="liked"])>.daily-action-strip,:is(.lw-quest,.mlab-quest) .learn-hub-daily:has(>.hx-slot[data-hx-slot="liked"]) .compact-action-card-copy{display:contents}
 :is(.lw-quest,.mlab-quest) .learn-hub-daily:has(>.hx-slot[data-hx-slot="liked"]) .compact-action-card-copy>h2{grid-column:1/3;grid-row:1;margin:0}
 :is(.lw-quest,.mlab-quest) .learn-hub-daily:has(>.hx-slot[data-hx-slot="liked"]) .compact-action-card-copy>p{grid-column:1;grid-row:2;align-self:baseline}
 :is(.lw-quest,.mlab-quest) .learn-hub-daily:has(>.hx-slot[data-hx-slot="liked"])>.hx-slot[data-hx-slot="liked"]{grid-column:2;grid-row:2;justify-self:start;align-self:baseline}
 :is(.lw-quest,.mlab-quest) .learn-hub-daily:has(>.hx-slot[data-hx-slot="liked"]) .compact-action-card-actions{grid-column:3;grid-row:1/3;justify-self:start;margin-left:4px}
 :is(.lw-quest,.mlab-quest) .learn-hub-daily:has(>.hx-slot[data-hx-slot="liked"]) .hx-liked-open{min-height:0;padding:0;font-size:13px}
 :is(.lw-quest,.mlab-quest) .learn-hub-daily:has(>.hx-slot[data-hx-slot="liked"]) .hx-liked-open .hx-icon{width:16px;height:16px}
}
@media(max-width:1199px){:is(.lw-quest,.mlab-quest) .learn-hub-daily:has(>.hx-slot[data-hx-slot="liked"])>.hx-slot[data-hx-slot="liked"]{flex:1 0 100%;margin-top:0}}
/* One place for Start in every subject (parent, 15 Nov 2026): on wide screens Start follows the Daily title, with or without
   the hidden question's slot (Science has none); on phones it sits at the right end of its row, as Math's does beside
   Standard/Stretch. */
:is(.lw-quest,.mlab-quest) .learn-hub-daily .daily-action-strip{justify-content:flex-start}:is(.lw-quest,.mlab-quest) .learn-hub-daily .daily-action-strip .compact-action-card-copy{flex:0 1 auto}
@media(max-width:599px){:is(.lw-quest,.mlab-quest) .learn-hub-daily .daily-action-strip .compact-action-card-actions>.button.primary:first-child{margin-left:auto}}
/* Quest pills (parent, 14 Nov 2026): the name is the button, so no "Open ▶" or count tail (a lock still shows). On phones
   they sit in two even columns, all in view, instead of a sideways scroll. */
:is(.lw-quest,.mlab-quest) :is(.lw-quest-links,.mlab-quest-links) .lw-station:not(.is-locked) .lw-station-meta{display:none}
@media(max-width:899px){
 :is(.lw-quest,.mlab-quest)>:is(.lw-quest-links,.mlab-quest-links){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}
 :is(.lw-quest,.mlab-quest)>:is(.lw-quest-links,.mlab-quest-links)>*{width:100%;min-width:0;justify-content:center}
 :is(.lw-quest,.mlab-quest)>:is(.lw-quest-links,.mlab-quest-links)>:last-child:nth-child(odd){grid-column:1/-1}
}
/* The Science Lab draws the same quest bar inside its own page (science-visual-lab/views.js). */
:is(.lw-world,.svl) .lw-quest-links .lw-station{display:inline-flex;flex:none;align-items:center;gap:6px;width:auto;min-height:44px;padding:4px 11px;border:2px solid var(--shell-ink);border-radius:999px;background:#fff;box-shadow:none;color:var(--shell-ink);font-size:14px;white-space:nowrap}
:is(.lw-world,.svl) .lw-quest-links :is(.lw-station-icon,small){display:none}:is(.lw-world,.svl) .lw-quest-links .lw-station-copy{flex-direction:row;align-items:center;gap:6px;padding:0}:is(.lw-world,.svl) .lw-quest-links .lw-station-copy strong{font-size:13px;letter-spacing:-.01em}:is(.lw-world,.svl) .lw-quest-links .lw-station-meta{margin:0;padding:0}
.lw-hero-copy{position:relative;z-index:1}
/* Title and search share a row, sized like Math Lab's head (.mlab-head, .mlab-search). */
.lw-hero-title{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px}.lw-hero-title h1{white-space:nowrap}
.lw-search{flex:1 1 90px;max-width:300px;min-width:0;margin-left:auto}
.lw-search input{display:block;box-sizing:border-box;width:100%;margin:0;padding:12px 16px;border:2px solid var(--shell-ink);border-radius:14px;background:#fff;color:var(--shell-ink);font:600 16px NoesisChildFigtree,'Noto Sans SC',sans-serif}
.lw-search input:focus-visible{outline:3px solid #7b61ff;outline-offset:2px}
.lw-world-grid[hidden],.lw-search-results[hidden]{display:none}.lw-search-empty{color:#57537a;font-weight:600}
.lw-hero-scene{position:absolute;z-index:0;top:-14px;right:0;bottom:-14px;width:min(68%,560px);overflow:hidden;opacity:.5;pointer-events:none;-webkit-mask-image:linear-gradient(to right,transparent,#000 45%),linear-gradient(to bottom,transparent,#000 30%,#000 70%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent,#000 45%),linear-gradient(to bottom,transparent,#000 30%,#000 70%,transparent);mask-composite:intersect}
.lw-hero-art{display:block;width:100%;height:100%}
.lw-hero-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.lw-hero-copy h1{font:900 clamp(26px,4vw,34px)/1 NoesisChildGabarito,'Noto Sans SC',sans-serif;letter-spacing:-.03em}
.lw-world-name{font:900 15px NoesisChildGabarito,'Noto Sans SC',sans-serif;color:var(--learn-deep)}
.lw-tagline{display:none;font-weight:600;color:#3e3a66;font-size:14px}
.lw-hero .lw-chips{margin-top:4px}.lw-hero .lw-chip{padding:3px 10px;font-size:12px}
.lw-world-grid{display:flex;flex-direction:column;gap:14px}.lw-world-main{display:flex;flex-direction:column;gap:14px;min-width:0}.lw-world-side{display:flex;flex-direction:column;gap:12px;min-width:0}
.lw-stations{display:flex;flex-direction:column;gap:8px}.lw-stations h2{font-size:17px;font-weight:900}
/* The subject menu: a title on a Lab's top bar, a pill beside the back link on a subject page. */
.subject-switch{position:relative;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;font-family:NoesisChildGabarito,'Noto Sans SC',sans-serif;--switch-ink:var(--shell-ink,#2a2560)}
.subject-switch summary{display:flex;align-items:center;gap:8px;min-height:44px;color:var(--switch-ink);font-weight:900;white-space:nowrap;list-style:none;cursor:pointer}
.subject-switch summary::-webkit-details-marker{display:none}.subject-switch summary:focus-visible{outline:3px solid #7b61ff;outline-offset:2px;border-radius:12px}
.subject-switch-arrow{font-size:.8em;transition:transform .12s}.subject-switch[open] .subject-switch-arrow{transform:rotate(180deg)}
.subject-switch ul{position:absolute;left:0;top:calc(100% + 6px);z-index:50;min-width:190px;margin:0;padding:6px;list-style:none;border:2px solid var(--switch-ink);border-radius:16px;background:#fff;box-shadow:0 4px 0 var(--switch-ink)}
.subject-switch a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:6px 12px;border-radius:10px;color:var(--switch-ink);font-size:16px;font-weight:850;text-decoration:none}
.subject-switch a:hover{background:#f3f0ff;color:var(--switch-ink)}.subject-switch a[aria-current]{background:var(--learn-tint)}
.svl-top .subject-switch summary{font-size:21px;letter-spacing:-.02em}
/* A subject world's own top bar, drawn like a Lab's (.svl-top) so every subject page starts the same way. */
.lw-top{position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:14px;box-sizing:border-box;min-height:68px;padding:10px clamp(14px,3vw,28px);background:#fffdf8ee;border-bottom:2px solid var(--shell-ink,#2a2560);backdrop-filter:blur(6px);color:var(--shell-ink,#2a2560)}
.lw-top-back{display:flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;color:#57537a;font-weight:800;text-decoration:none}.lw-top-back:hover{background:#efecfa;color:var(--shell-ink,#2a2560)}
.lw-top-brand{display:flex;align-items:center;gap:8px;color:inherit;text-decoration:none;font:900 21px NoesisChildGabarito,'Noto Sans SC',sans-serif;letter-spacing:-.02em}
.lw-top-mark{display:grid;place-items:center;width:34px;height:34px;box-sizing:border-box;border:2px solid var(--shell-ink,#2a2560);border-radius:10px;background:var(--learn-color);box-shadow:0 2px 0 var(--shell-ink,#2a2560);font:900 16px NoesisChildGabarito,'Noto Sans SC',sans-serif}
.lw-top-right{margin-left:auto;display:flex;align-items:center;gap:10px}
.lw-top .subject-switch summary{font-size:21px;letter-spacing:-.02em}
/* A world's background is the Labs' recipe (math-lab/lab.css .mlab-app, science-visual-lab/lab.css .svl-app) in the subject's
   own colour, not the child's theme: a sun glow top left, a subject glow on the right, a pale subject base. */
:is(.child-world,.lw-world-frame){background:radial-gradient(circle at 10% 0,#fff1c7 0,transparent 32%),radial-gradient(circle at 100% 26%,color-mix(in srgb,var(--learn-color) 30%,white) 0,transparent 36%),color-mix(in srgb,var(--learn-tint) 50%,white)}
.child-world>.child-content{padding:22px clamp(14px,3vw,32px) max(64px,env(safe-area-inset-bottom,0px))}
@media(max-width:640px){.lw-top{gap:8px}.lw-top-back{padding:8px 6px}.lw-top-back span{display:none}.lw-top .subject-switch summary,.lw-top-brand{font-size:17px;gap:4px}.lw-top-mark{width:30px;height:30px;font-size:14px}}
.lw-back-row{display:flex;align-items:center;gap:10px}.lw-back-row .learn-back{margin:0}
.lw-back-row .subject-switch summary{padding:0 16px;border:2px solid var(--switch-ink);border-radius:999px;background:#fff;font-size:16px}
@media(max-width:640px){.svl-top .subject-switch summary{font-size:17px;gap:4px}}
.lw-station-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.lw-station{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:10px;width:100%;padding:9px 10px;min-height:64px;box-sizing:border-box;border:2px solid var(--shell-ink);border-radius:16px;background:white;color:var(--shell-ink);text-align:left;text-decoration:none;font:inherit;box-shadow:0 3px 0 var(--shell-ink);cursor:pointer;transition:transform .12s,box-shadow .12s}
.lw-station:hover .lw-station-icon{transform:rotate(-4deg) scale(1.05)}.lw-station:active{transform:translateY(2px);box-shadow:0 1px 0 var(--shell-ink)}
/* On a subject world the stations are the Math Lab board's picture cards (math-lab/lab.css .mlab-board), so subjects match. */
.lw-world .lw-station-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-auto-rows:1fr;gap:12px}
.lw-world .lw-station-grid>:nth-child(6n+1){--p:#ffb547}.lw-world .lw-station-grid>:nth-child(6n+2){--p:#b49cff}.lw-world .lw-station-grid>:nth-child(6n+3){--p:#2ec4b6}.lw-world .lw-station-grid>:nth-child(6n+4){--p:#ff8f8f}.lw-world .lw-station-grid>:nth-child(6n+5){--p:#7fb3ff}.lw-world .lw-station-grid>:nth-child(6n+6){--p:#ffd93d}
.lw-world .lw-station{display:flex;flex-direction:column;align-items:stretch;gap:0;min-height:0;padding:0;border-radius:18px;overflow:hidden}
.lw-world .lw-station-icon,.lw-world .lw-station:hover .lw-station-icon{width:auto;height:auto;aspect-ratio:16/9;border:0;border-bottom:6px solid var(--p,var(--shell-ink));border-radius:0;background:#fff;transform:none}
.lw-world .lw-station-icon svg{width:42%;height:auto}
.lw-world .lw-station-copy{flex:1;gap:3px;padding:9px 12px 10px}.lw-world .lw-station-copy strong{font-size:15px;line-height:1.3}
.lw-world .lw-station-copy small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:13px;white-space:normal}
.lw-world .lw-station-meta{margin-top:auto;padding-top:4px}
.lw-station:disabled,.lw-station.is-locked{background:#fbfaff;cursor:default}.lw-station:disabled{opacity:.7;transform:none;box-shadow:0 3px 0 var(--shell-ink)}
.lw-station-icon{width:40px;height:40px;display:grid;place-items:center;border:2px solid var(--shell-ink);border-radius:12px;background:var(--learn-tint);transition:transform .15s}.lw-station-icon svg{width:30px;height:30px}
.lw-station-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.lw-station-copy strong{font:850 15px/1.15 NoesisChildGabarito,'Noto Sans SC',sans-serif}
.lw-station-copy small{display:none;font-size:12.5px;line-height:1.3;color:#57537a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lw-station-meta{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;font-size:12px;font-weight:800;color:#57537a}.lw-station-meta b{color:var(--learn-deep);font-weight:900}
.lw-station.is-locked .lw-station-meta b,.lw-station:disabled .lw-station-meta b{color:#57537a}
.learn-hub-daily{position:relative}
.learn-daily-badge{position:absolute;right:14px;top:-11px;z-index:1;padding:2px 10px;border:1.5px solid var(--shell-ink);border-radius:999px;background:white;font-size:12px;font-weight:900}.learn-daily-badge.is-done{color:white;background:#1fa978}.learn-hub-daily .daily-action-strip{display:flex;flex-direction:column;align-items:stretch;gap:8px;border:2px solid var(--shell-ink);border-radius:18px;background:linear-gradient(135deg,var(--learn-tint),white);box-shadow:0 4px 0 var(--shell-ink);padding:12px 14px}
.learn-hub-daily .compact-action-card-copy>.eyebrow{display:none}
.learn-hub-daily .compact-action-card-copy>h2{font:900 18px NoesisChildGabarito,sans-serif;margin:0 0 2px}.learn-hub-daily .compact-action-card-copy>h2:before{content:'⚑ ';color:var(--learn-deep)}
.learn-hub-daily .compact-action-card-copy>p{font:600 13px NoesisChildFigtree,sans-serif;color:#3e3a66;margin:0}
.learn-hub-daily .compact-action-card-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:start;gap:8px}
.learn-hub-daily .button{border:2px solid var(--shell-ink);border-radius:14px;background:var(--shell-ink);color:white;min-height:42px;padding:8px 16px;font-weight:800;box-shadow:0 3px 0 #120f3a}
.learn-hub-daily .mode-control{border:2px solid var(--shell-ink);border-radius:14px;flex-wrap:wrap}.learn-hub-daily .mode-control button{min-height:34px;font-size:12px}.learn-hub-daily .mode-control button[aria-pressed=true]{background:var(--shell-ink);color:white}
.lw-exam{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:12px 14px;border:2px solid var(--shell-ink);border-radius:18px;background:white;box-shadow:0 3px 0 var(--shell-ink)}.lw-exam h2{font-size:18px}.lw-exam .learn-small-button{background:#fff1c7}
.learn-corrections-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border:2px solid var(--shell-ink);border-radius:16px;background:white;color:var(--shell-ink);text-decoration:none;box-shadow:0 3px 0 var(--shell-ink)}
.learn-corrections-row>strong{padding:4px 10px;border:2px solid var(--shell-ink);border-radius:12px;background:#ffe1da;font-size:16px}.learn-corrections-row small{display:block;font-size:12px;color:#57537a}.learn-corrections-row>svg{margin-left:auto}

/* Station page: compact numbered level rows (the existing exercise list). */
.lw-station-page{gap:12px}.lw-station-head{display:flex;align-items:center;gap:12px;padding:8px 12px 8px 8px;border:2px solid var(--shell-ink);border-radius:20px;background:var(--learn-tint);box-shadow:0 3px 0 var(--shell-ink)}
.lw-station-head h1{font:900 clamp(22px,3.4vw,28px)/1.05 NoesisChildGabarito,'Noto Sans SC',sans-serif}.lw-station-head .lw-station-icon{background:white;width:48px;height:48px}.lw-station-head .lw-station-icon svg{width:36px;height:36px}
.learn-legacy-frame{min-width:0}
.lw-station-page .exercise-list{display:grid;gap:8px;counter-reset:lw-stop;border:0;background:none;padding:0}
.lw-station-page .exercise-list>a{counter-increment:lw-stop;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 10px;min-height:52px;box-sizing:border-box;border:2px solid var(--shell-ink);border-radius:14px;background:white;color:var(--shell-ink);text-decoration:none;box-shadow:0 3px 0 var(--shell-ink);transition:transform .12s,box-shadow .12s}
.lw-station-page .exercise-list>a:active{transform:translateY(2px);box-shadow:0 1px 0 var(--shell-ink)}
.lw-station-page .exercise-mark{position:relative;width:30px;height:30px;display:grid;place-items:center;border:2px solid var(--shell-ink);border-radius:50%;background:var(--learn-tint);color:transparent;font-size:0}
.lw-station-page .exercise-mark:before{content:counter(lw-stop);color:var(--shell-ink);font:900 14px NoesisChildGabarito,sans-serif}
.lw-station-page .exercise-mark.is-done{background:#1fa978}.lw-station-page .exercise-mark.is-done:before{content:'✓';color:white}
.lw-station-page .exercise-list>a>span:nth-child(2){display:flex;flex-direction:column;gap:1px;min-width:0}.lw-station-page .exercise-list strong{font:850 15px/1.2 NoesisChildGabarito,'Noto Sans SC',sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lw-station-page .exercise-list small{color:#57537a;font-size:12px}
.lw-station-page .exercise-list>a>span:last-child{width:28px;height:28px;display:grid;place-items:center;border:2px solid var(--shell-ink);border-radius:50%;background:var(--learn-color);font-weight:900;font-size:13px}
/* English rounds: pick Mixed or one question type, a length, then start. Browse lists sit below in quiet folds. */
.lw-round{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 16px;padding:14px 16px;border:2px solid var(--shell-ink);border-radius:20px;background:white;box-shadow:0 3px 0 var(--shell-ink)}
.lw-round-types{display:flex;flex-wrap:wrap;gap:8px;flex:1 1 100%;margin:0;padding:0;border:0;min-width:0}.lw-round-types legend{padding:0 0 6px;font:850 13px NoesisChildFigtree,sans-serif;color:var(--shell-ink)}
.lw-round-types label{position:relative;cursor:pointer}.lw-round-types input{position:absolute;opacity:0;pointer-events:none}
.lw-round-types span{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:6px 14px;box-sizing:border-box;border:2px solid var(--shell-ink);border-radius:999px;background:white;font:800 14px NoesisChildFigtree,sans-serif;color:var(--shell-ink)}
.lw-round-types small{font-weight:700;opacity:.7}.lw-round-types input:checked+span{background:var(--learn-color);box-shadow:0 2px 0 var(--shell-ink)}.lw-round-types input:focus-visible+span{outline:3px solid var(--shell-ink);outline-offset:2px}
.lw-round-length{display:flex;flex-direction:column;gap:4px;font:850 13px NoesisChildFigtree,sans-serif;color:var(--shell-ink)}.lw-round-length select{min-height:42px;padding:6px 10px;border:2px solid var(--shell-ink);border-radius:12px;background:white;font:800 15px NoesisChildFigtree,sans-serif}
.lw-round-heading{margin:22px 0 10px;font:900 18px NoesisChildGabarito,sans-serif;color:var(--shell-ink)}
.lw-round-browse{border:1.5px solid #e4e0f3;border-radius:16px;background:white;padding:0 12px}.lw-round-browse+.lw-round-browse{margin-top:8px}.lw-round-browse summary{min-height:44px;display:flex;align-items:center;gap:8px;cursor:pointer;font:850 15px NoesisChildFigtree,sans-serif}.lw-round-browse[open]{padding-bottom:12px}

@media(min-width:700px){
 .lw-tagline{display:block}
 .lw-hero-scene{top:-22px;bottom:-10px;right:240px;width:380px;opacity:.6;-webkit-mask-image:linear-gradient(to right,transparent,#000 30%,#000 70%,transparent),linear-gradient(to bottom,transparent,#000 25%,#000 75%,transparent);mask-image:linear-gradient(to right,transparent,#000 30%,#000 70%,transparent),linear-gradient(to bottom,transparent,#000 25%,#000 75%,transparent)} .lw-station-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
 .lw-station-copy small{display:block}
 .learn-hub-daily .daily-action-strip{flex-direction:row;align-items:center;justify-content:space-between;gap:14px}
 .lw-station-page .exercise-list{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
}
@media(min-width:960px){
 .lw-world-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:18px;align-items:start}
 .lw-world-grid>.lw-world-main:only-child{grid-column:1/-1}
}

/* Motion: gentle and optional. */
.lw-spin{animation:lw-spin 9s linear infinite;transform-box:fill-box;transform-origin:center}
.lw-bubble{animation:lw-bubble 2.6s ease-in infinite}.lw-bubble.lw-delay{animation-delay:1.3s}
.lw-bob{animation:lw-bob 3.4s ease-in-out infinite}.lw-d1{animation-delay:.6s}.lw-d2{animation-delay:1.2s}.lw-d3{animation-delay:1.8s}
.lw-cloud{animation:lw-drift 14s ease-in-out infinite alternate}.lw-cloud.lw-delay{animation-duration:18s}
.lw-beam{animation:lw-beam 3s ease-in-out infinite;transform-origin:67px 21px}
@keyframes lw-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes lw-spin{to{transform:rotate(360deg)}}
@keyframes lw-bubble{0%{transform:translateY(6px);opacity:0}30%{opacity:1}100%{transform:translateY(-14px);opacity:0}}
@keyframes lw-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes lw-drift{from{transform:translateX(-8px)}to{transform:translateX(18px)}}
@keyframes lw-beam{0%,100%{opacity:.35}50%{opacity:.95}}
@media(prefers-reduced-motion:reduce){:is(.lw-map,.lw-world,.lw-frame) *{animation:none!important;transition:none!important}}

@media(min-width:700px){
 .lw-top-row{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);align-items:stretch}.lw-top-row>.learn-also{grid-column:1}.lw-top-row:not(.without-quest)>.lw-mailbag{grid-column:2;grid-row:1}.lw-top-row.without-quest,.lw-top-row.without-side{grid-template-columns:minmax(0,1fr)}
 .lw-sea{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:20px}
}
@media(min-width:960px){
 .lw-sea{grid-template-columns:repeat(4,minmax(0,1fr))}
 .lw-sea[data-count="1"]{grid-template-columns:minmax(0,320px)}.lw-sea[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}.lw-sea[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}.lw-sea[data-count="5"]{grid-template-columns:repeat(5,minmax(0,1fr))}
}

@media(max-width:499px){.lw-ticket-art{width:60px;height:52px;border-radius:14px}.lw-ticket-art svg{width:58px;height:48px}.lw-ticket-copy>strong{font-size:20px}.lw-go{width:46px;height:46px;font-size:18px}.lw-frame-right .lw-pill.is-local,.lw-pill-more{display:none}}

/* School activities docked on the Science Lab map (the Lab is the Science world). */
.lw-dock{--shell-ink:#2a2560;display:flex;flex-direction:column;gap:12px;margin-top:26px;color:var(--shell-ink)}
.lw-dock>h2{font:900 22px NoesisChildGabarito,'Noto Sans SC',sans-serif;margin:0}
.lw-parked{padding:12px 14px;border:2px dashed #b9b3da;border-radius:16px;background:white;font-weight:700;color:#57537a}
/* New-page sheet (EJ Lexicon, dictation lists): outer sections carry the 2px ink border and hard shadow; inner cards are quiet; no stickers or animation. */
.lw-sheet{--sheet-ink:var(--shell-ink,#2a2560);--sheet-line:#e4e0f3;--sheet-t2:#3e3a66;--sheet-t3:#57537a;display:flex;flex-direction:column;gap:16px;max-width:980px;color:var(--sheet-ink);font-family:NoesisChildFigtree,'Noto Sans SC','Microsoft YaHei',system-ui,sans-serif}
.lw-sheet :is(h1,h2,h3,p){margin:0}.lw-sheet *{animation:none!important}
.lw-sheet-head{display:flex;flex-direction:column;gap:6px}.lw-sheet-head h1{font:900 clamp(26px,4vw,34px)/1.1 NoesisChildGabarito,'Noto Sans SC',sans-serif;letter-spacing:-.02em}.lw-sheet-head p{color:var(--sheet-t2);font-weight:600;max-width:60ch}
.lw-sheet .panel{margin:0;padding:16px 18px;border:2px solid var(--sheet-ink);border-radius:20px;background:white;box-shadow:0 4px 0 var(--sheet-ink);display:flex;flex-direction:column;gap:12px}
.lw-sheet .section-title{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap;margin:0}.lw-sheet .section-title h2,.lw-sheet .panel>h2,.lw-sheet .ej-word-group>h2{font:900 19px/1.2 NoesisChildGabarito,'Noto Sans SC',sans-serif}
.lw-sheet .eyebrow{display:block;font:900 12px NoesisChildGabarito,'Noto Sans SC',sans-serif;letter-spacing:.1em;color:var(--learn-deep,var(--sheet-t3))}
.lw-sheet .muted{color:var(--sheet-t3);font-size:13.5px;font-weight:600}
.lw-sheet .count,.lw-sheet .tag.neutral{display:inline-flex;align-items:center;padding:2px 10px;border:1.5px solid var(--sheet-ink);border-radius:999px;background:var(--learn-tint,white);font-size:12.5px;font-weight:800;color:var(--sheet-ink)}
.lw-sheet .back-link,.lw-sheet .text-button{align-self:flex-start;color:var(--sheet-ink);font-weight:800;font-size:14px;text-decoration:underline;text-underline-offset:3px}
.lw-sheet .dictation-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px;align-items:start}
.lw-sheet .compact-module-grid{display:grid;grid-template-columns:1fr;gap:8px;margin:0}
.lw-sheet :is(.compact-module-card,.dictation-material-list li,.ej-word-board>div,.ej-all-list article,.ej-previous details,.lexicon-study>*){border:1.5px solid var(--sheet-line);border-radius:14px;background:white;box-shadow:none;transform:none}
.lw-sheet .compact-module-card{display:flex;flex-direction:column;gap:2px;padding:10px 12px;color:var(--sheet-ink);text-decoration:none}.lw-sheet .compact-module-card:hover{border-color:var(--sheet-ink)}.lw-sheet .compact-module-card strong{font:850 15.5px NoesisChildGabarito,'Noto Sans SC',sans-serif}.lw-sheet .compact-module-card span{font-size:12.5px;font-weight:700;color:var(--sheet-t3)}
.lw-sheet .ej-previous details{padding:10px 12px}.lw-sheet .ej-previous details+details{margin-top:8px}.lw-sheet .ej-previous summary{cursor:pointer}
.lw-sheet :is(.field,.compact-field){display:flex;flex-direction:column;gap:4px;font:850 13px NoesisChildFigtree,sans-serif;color:var(--sheet-ink)}
.lw-sheet :is(select,input[type=search],input[type=text]){min-height:42px;padding:6px 10px;border:2px solid var(--sheet-ink);border-radius:12px;background:white;color:var(--sheet-ink);font:700 15px NoesisChildFigtree,'Noto Sans SC',sans-serif}
.lw-sheet .two-col{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px}
.lw-sheet .row-actions{display:flex;flex-wrap:wrap;gap:8px}
.lw-sheet .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:8px 16px;border:2px solid var(--sheet-ink);border-radius:14px;background:white;color:var(--sheet-ink);font:800 15px NoesisChildFigtree,'Noto Sans SC',sans-serif;text-decoration:none;box-shadow:0 3px 0 var(--sheet-ink)}
.lw-sheet .button.primary{background:var(--sheet-ink);color:white;align-self:flex-start}
.lw-sheet .button:active{transform:translateY(2px);box-shadow:0 1px 0 var(--sheet-ink)}
.lw-sheet .subject-content-title{justify-content:flex-end}.lw-sheet .subject-content-title>div:first-child{display:none}.lw-sheet .quest-setup{max-width:none}
/* Shared Language list inside a Learn station (Writing drills / 写作小练习): no old panel; Basic / Advanced as chips. */
.lw-station-page .shared-language{margin:0;padding:0;border:0;background:none;box-shadow:none;display:flex;flex-direction:column;gap:10px}
.lw-station-page .shared-language .section-title{margin:0}.lw-station-page .shared-language .eyebrow{display:none}.lw-station-page .shared-language h2{margin:0;font:900 19px NoesisChildGabarito,'Noto Sans SC',sans-serif;color:var(--shell-ink)}.lw-station-page .shared-language .muted{margin:4px 0 0;color:#57537a;font-size:13.5px;font-weight:600}
.lw-station-page .shared-language .subject-tabs{display:flex;gap:8px;margin:0;padding:0;border:0;background:none}
.lw-station-page .shared-language .subject-tabs .button{min-height:38px;padding:6px 16px;border:2px solid var(--shell-ink);border-radius:999px;background:white;color:var(--shell-ink);font:800 14px NoesisChildFigtree,'Noto Sans SC',sans-serif;box-shadow:none}
.lw-station-page .shared-language .subject-tabs .button[aria-pressed=true]{background:var(--learn-color);box-shadow:0 2px 0 var(--shell-ink)}
/* Help sheets in the sheet frame: each sheet is an outer frame; its steps are quiet. helpSheet markup is shared with the Parent Library and unchanged. */
.lw-sheet-actions{display:flex;flex-wrap:wrap;gap:8px}
.lw-sheet .help-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:16px;margin:0}
.lw-sheet .help-sheet{margin:0;padding:16px 18px;border:2px solid var(--sheet-ink);border-top-width:2px;border-radius:20px;background:white;box-shadow:0 4px 0 var(--sheet-ink);display:flex;flex-direction:column;gap:10px}
.lw-sheet .help-sheet h2{font:900 21px/1.15 NoesisChildGabarito,'Noto Sans SC',sans-serif;color:var(--sheet-ink)}
.lw-sheet .help-steps{display:grid;gap:8px;margin:0}.lw-sheet .help-steps>div{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:start;padding:10px 12px;border:1.5px solid var(--sheet-line);border-radius:14px;background:white}
.lw-sheet .help-steps>div:before,.lw-sheet .help-steps>div:after{display:none}.lw-sheet .step-index{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:var(--learn-tint,#efecfa);font:900 14px NoesisChildGabarito,sans-serif;color:var(--sheet-ink)}
.lw-sheet .help-steps strong{font:850 15px NoesisChildGabarito,'Noto Sans SC',sans-serif}.lw-sheet .help-steps p{margin:2px 0 0;font-size:14px;color:var(--sheet-t2)}
.lw-sheet .highlight-note{padding:10px 14px;border-radius:14px;background:#fff1c7;font-size:14px;font-weight:600;color:var(--sheet-ink)}.lw-sheet .help-check{font-size:13.5px;font-weight:700;color:var(--sheet-t3)}
.lw-sheet .english-exam-practice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px}
.lw-sheet .english-exam-practice-intro{display:none}
.lw-sheet .compact-action-card{margin:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border:2px solid var(--sheet-ink);border-radius:20px;background:white;box-shadow:0 4px 0 var(--sheet-ink);transform:none}
.lw-sheet .compact-action-card:before,.lw-sheet .compact-action-card:after{display:none}.lw-sheet .compact-action-card h2{font:900 19px NoesisChildGabarito,'Noto Sans SC',sans-serif;color:var(--sheet-ink)}.lw-sheet .compact-action-card p{margin-top:2px;color:var(--sheet-t3);font-size:13.5px;font-weight:600}
.lw-sheet .compact-action-card-actions .button.primary{align-self:center}
/* Learn-world practice page (Languages Phase A): English and 华文 sessions and single exercises. A framed top bar with progress dots,
   one question card, and feedback in one of four states. Only presentation; ids, actions and forms are the legacy ones. */
.lw-practice{--p-ink:var(--shell-ink,#2a2560);--p-line:#e4e0f3;--p-t3:#57537a;max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:14px;color:var(--p-ink);font-family:NoesisChildFigtree,'Noto Sans SC','Microsoft YaHei',system-ui,sans-serif}
.lw-practice-top{display:flex;align-items:center;gap:10px;padding:10px 14px;border:2px solid var(--p-ink);border-radius:18px;background:white;box-shadow:0 3px 0 var(--p-ink);font:850 15px NoesisChildGabarito,'Noto Sans SC',sans-serif}
.lw-practice-title{min-width:0;margin:0;font:inherit;color:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lw-practice-mark{flex:none;display:grid;place-items:center;width:30px;height:30px;border:2px solid var(--p-ink);border-radius:9px;background:var(--learn-color);font:900 13px NoesisChildGabarito,'Noto Sans SC',sans-serif}
.lw-practice-dots{margin-left:auto;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}
.lw-practice-dots>*{width:14px;height:14px;padding:0;border:2px solid var(--p-ink);border-radius:50%;background:white;box-sizing:border-box}
.lw-practice-dots>button{cursor:pointer}.lw-practice-dots>button:focus-visible{outline:3px solid #6c52ef;outline-offset:2px}
.lw-practice-dots .is-done{background:#24855c}.lw-practice-dots .is-skip{background:#d8d4ec}.lw-practice-dots .is-on{background:#ffcb52;box-shadow:0 0 0 2px white,0 0 0 4px var(--p-ink)}
.lw-practice .exercise-layout{display:block}.lw-practice .exercise-aside{display:none}
.lw-practice .exercise-paper{margin:0;padding:18px 20px;border:2px solid var(--p-ink);border-radius:20px;background:white;box-shadow:0 4px 0 var(--p-ink);display:flex;flex-direction:column;gap:14px;max-width:none}
.lw-practice .question-box{margin:0;padding:0;border:0;background:none;box-shadow:none}
.lw-practice .question-box .eyebrow{display:block;font:900 12px NoesisChildGabarito,'Noto Sans SC',sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--learn-deep,var(--p-t3))}
.lw-practice .question-box h2{margin:6px 0 0;font:700 19px/1.5 NoesisChildFigtree,'Noto Sans SC',sans-serif;color:var(--p-ink)}
.lw-practice .question-box p,.lw-practice .question-box li{font-size:16px;line-height:1.6}
.lw-practice :is(#session-form,#exercise-form){display:flex;flex-direction:column;gap:12px;margin:0}
.lw-practice .choices{margin:0;padding:0;border:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:8px}
.lw-practice .choices legend{margin-bottom:6px;font:850 13px NoesisChildFigtree,sans-serif;color:var(--p-t3)}
.lw-practice .choice{position:relative;display:flex;align-items:center;gap:10px;margin:0;padding:10px 12px;border:2px solid var(--p-ink);border-radius:12px;background:white;box-shadow:0 2px 0 var(--p-ink);cursor:pointer;font:700 16px NoesisChildFigtree,'Noto Sans SC',sans-serif;color:var(--p-ink)}
.lw-practice .choice input{flex:none;width:18px;height:18px;margin:0;accent-color:#5b4bc4}
.lw-practice .choice:is(.selected,:has(input:checked)){background:#ece8ff;border-color:#5b4bc4}
.lw-practice .choice:has(input:focus-visible){outline:3px solid #6c52ef;outline-offset:2px}
.lw-practice .option-letter{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:var(--learn-tint,#efecfa);font:900 13px NoesisChildGabarito,sans-serif;color:var(--p-ink)}
.lw-practice .field{display:flex;flex-direction:column;gap:6px;font:850 13.5px NoesisChildFigtree,'Noto Sans SC',sans-serif;color:var(--p-ink)}
.lw-practice :is(.field input,.field textarea,.field select,select){border:2px solid var(--p-ink);border-radius:12px;padding:9px 11px;background:white;color:var(--p-ink);font:500 16px NoesisChildFigtree,'Noto Sans SC',sans-serif}
.lw-practice .button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:8px 16px;border:2px solid var(--p-ink);border-radius:14px;background:white;color:var(--p-ink);font:800 15px NoesisChildFigtree,'Noto Sans SC',sans-serif;box-shadow:0 3px 0 var(--p-ink);text-decoration:none;cursor:pointer}
.lw-practice .button.primary{background:#ffcb52;color:#2a2560}
.lw-practice .button:active{transform:translateY(2px);box-shadow:0 1px 0 var(--p-ink)}
.lw-practice form>.button.primary{align-self:flex-start}
.lw-practice :is(.row-actions,.exercise-actions){display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0}
.lw-practice .hint-box{padding:10px 12px;border:2px dashed #5b4bc4;border-radius:12px;background:#ece8ff}
.lw-practice .text-button{color:var(--p-ink);font-weight:800;text-decoration:underline;text-underline-offset:3px}
.lw-practice .muted{color:var(--p-t3);font-size:13.5px}
.lw-fb{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border:2px solid;border-radius:14px}
.lw-fb-badge{align-self:flex-start;padding:1px 9px;border:1.5px solid currentColor;border-radius:999px;background:white;font:850 11.5px NoesisChildGabarito,'Noto Sans SC',sans-serif;letter-spacing:.04em}
.lw-fb-head{margin:0;font:900 18px NoesisChildGabarito,'Noto Sans SC',sans-serif}
.lw-fb-checked{border-color:#24855c;background:#dcf3e7}.lw-fb-checked .lw-fb-badge,.lw-fb-checked .lw-fb-head{color:#1c6b49}
.lw-fb-checked.is-wrong{border-color:#c23d50;background:#fbe1e5}.lw-fb-checked.is-wrong .lw-fb-badge,.lw-fb-checked.is-wrong .lw-fb-head{color:#a8303f}
.lw-fb-hint{border-color:#5b4bc4;border-style:dashed;background:#ece8ff}.lw-fb-hint .lw-fb-badge{color:#5b4bc4}
.lw-fb-paper{border-color:#b98a12;background:#fff1c7}.lw-fb-paper .lw-fb-badge{color:#7d5c08}
.lw-fb-self{border-color:#5d5980;background:#efecfa}.lw-fb-self .lw-fb-badge{color:#4a466c}
.lw-fb .feedback{margin:0;padding:0;border:0;background:none;box-shadow:none}.lw-fb .feedback .rule{display:none}
.lw-fb-checked .feedback>h3:first-child{display:none}
.lw-why,.lw-rule-card{padding:8px 12px;border-radius:12px;background:white;border:1.5px solid var(--p-line)}
.lw-why{border-color:#f0b7c0}.lw-why strong{font:850 14px NoesisChildGabarito,'Noto Sans SC',sans-serif}.lw-why p,.lw-rule-card p{margin:2px 0 0}
.lw-rule-card span{font:900 12px NoesisChildGabarito,'Noto Sans SC',sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--p-t3)}
.lw-practice .paper-dictation{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.lw-practice .paper-dictation p{margin:0}
.lw-practice .dictation-session [data-action=session-next]{background:#ffcb52}
.lw-practice .paper-reveal ol{margin:0;padding-left:1.6em;display:grid;gap:6px;font:700 18px/1.6 NoesisChildFigtree,'Noto Sans SC',sans-serif}.lw-practice>.muted{margin:0}
.lw-practice.has-help{max-width:1180px;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,38%);column-gap:18px;align-items:start}.lw-practice.has-help>*{grid-column:1}
:is(.lw-practice .nx-help-step,.lw-sheet .help-sheet) .cp-pattern{margin-top:10px}:is(.lw-practice .nx-help-step,.lw-sheet .help-sheet) .cp-label{font-weight:800}:is(.lw-practice .nx-help-step,.lw-sheet .help-sheet) .cp-pattern li{font-size:15px;line-height:1.6}:is(.lw-practice .nx-help-step,.lw-sheet .help-sheet) .cp-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}:is(.lw-practice .nx-help-step,.lw-sheet .help-sheet) .cp-chip{padding:2px 10px;border:1.5px solid #2a2560;border-radius:999px;background:white;color:#2a2560;font-size:14px;font-weight:600;white-space:nowrap}
.lw-check-row{display:flex;flex-wrap:wrap;align-items:center;gap:14px}.lw-practice .row-actions:empty{display:none}
.lw-practice.has-help>.help-dialog{grid-column:2;grid-row:1/span 12;position:sticky;inset:var(--help-top) auto auto;margin:0;width:auto;max-width:none;height:auto;max-height:calc(100dvh - var(--help-top) - 12px);padding:0;border:2px solid var(--p-ink);border-radius:24px;background:white;color:var(--p-ink);box-shadow:0 4px 0 var(--p-ink)}
.lw-practice{--help-top:12px}body[data-surface=child-app] .lw-practice{--help-top:88px}
.lw-practice .help-shell{height:auto;max-height:calc(100dvh - var(--help-top) - 16px);padding:18px;gap:12px;overflow:auto}
.lw-practice .help-shell :is(header,footer){flex:none;padding:0;border:0;gap:10px}.lw-practice .help-shell header{align-items:center;justify-content:space-between}
.lw-practice .help-shell h2{margin:0;font:900 22px NoesisChildGabarito,'Noto Sans SC',sans-serif;color:var(--p-ink)}
.lw-practice .help-shell header>button{min-height:42px;padding:6px 12px;border:2px solid var(--p-ink);border-radius:12px;background:white;color:var(--p-ink);font:800 14px NoesisChildFigtree,'Noto Sans SC',sans-serif;cursor:pointer}
.lw-practice .help-body{flex:none;padding:0;overflow:visible;display:flex;flex-direction:column;gap:10px}
.lw-practice .nx-help-step{padding:12px 14px;border:2px solid var(--p-line);border-radius:16px;background:white}.lw-practice .nx-help-step.is-open{border-color:var(--p-ink);background:var(--learn-tint,#efecfa)}
.lw-practice .nx-help-step-head{display:flex;align-items:center;gap:10px}.lw-practice .nx-help-step.is-open>.nx-help-step-head{margin-bottom:8px}
.lw-practice .nx-help-step h3{flex:1;display:flex;align-items:center;gap:10px;margin:0;font:850 16px NoesisChildGabarito,'Noto Sans SC',sans-serif;color:var(--p-ink)}
.lw-practice .nx-help-step h3>span{flex:none;display:grid;place-items:center;width:28px;height:28px;border:2px solid var(--p-ink);border-radius:50%;background:var(--learn-color,white);font-size:13px}
.lw-practice .nx-help-step .button.primary{min-height:38px;padding:6px 12px;border-radius:12px;font-size:14px;box-shadow:none}
.lw-practice .nx-help-step :is(p,li,pre){font-size:16px;line-height:1.6;white-space:pre-wrap}.lw-practice .nx-help-step>p{margin:8px 0 0;color:var(--p-t3)}.lw-practice .nx-help-step.is-open>p{color:var(--p-ink)}
.lw-practice .help-shell footer{margin-top:auto;align-items:center}.lw-practice .help-shell footer>p{margin:0;font-size:13px;color:var(--p-t3)}.lw-practice .help-shell footer .button{min-height:38px;font-size:14px;box-shadow:none}
@media (max-width:560px){.lw-practice .exercise-paper{padding:14px}.lw-practice-top{flex-wrap:wrap}.lw-practice-dots{margin-left:0;width:100%;justify-content:flex-start}}
@media (max-width:900px){.lw-practice.has-help{display:flex;padding-bottom:46dvh}.lw-practice.has-help>.help-dialog{position:fixed;inset:auto 0 0;width:100%;max-height:45dvh;border-width:2px 0 0;border-radius:24px 24px 0 0;box-shadow:none;z-index:20}.lw-practice .help-shell{max-height:45dvh}}
.show-scene{display:flex;flex-direction:column;gap:10px}
.show-scene-given{margin:0;padding:10px 12px;border-left:4px solid var(--learn-color,#5ed3b2);border-radius:0 12px 12px 0;background:#fbfaff;font-size:16px;line-height:1.8;color:#3e3a66}
.show-stitched{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border-radius:12px;background:white;font-size:15.5px;line-height:1.8}.show-stitched p{margin:0}
.show-mine{padding:2px 6px;border-radius:8px;background:#fff1c7}
/* 写具体 insert-anywhere: fixed given lines, open boxes for the recommended parts, and a ＋ wherever the child wants to add more. */
.show-scene .show-slot{gap:4px}.show-scene .show-slot textarea{border-style:dashed;border-color:#8a85b8;background:#fbfaff;min-height:64px}
.show-slot-feeling textarea{border-color:var(--p-ink,#2a2560);background:white}
.show-insert{align-self:center;width:30px;height:30px;padding:0;border:2px dashed #8a85b8;border-radius:50%;background:white;color:var(--p-ink,#2a2560);font:900 16px NoesisChildGabarito,sans-serif;line-height:1;cursor:pointer}
.show-insert:hover,.show-insert:focus-visible{border-style:solid;background:var(--learn-tint,#ddf6ee)}
mark.show-mine{padding:1px 4px;border-radius:6px;background:#fff1c7;color:inherit}
.show-stitched p{margin:0;line-height:1.9}

/* Correction Book: subject and status tabs over cards. The shell frame comes from .lw-sheet. */
.cb-tabs{display:flex;flex-wrap:wrap;gap:6px}.cb-tab{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px;border:2px solid var(--shell-ink,#2a2560);border-radius:999px;background:#fff;color:var(--shell-ink,#2a2560);font:850 15px NoesisChildGabarito,'Noto Sans SC',sans-serif;cursor:pointer}
.cb-tab small{font-size:13px;opacity:.75}.cb-tab[aria-current=page],.cb-tab:has(input:checked){background:var(--shell-ink,#2a2560);color:#fff}.cb-tab input{position:absolute;opacity:0;pointer-events:none}.cb-tab:focus-visible,.cb-tab:has(input:focus-visible){outline:3px solid #7b61ff;outline-offset:2px}
.cb-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.cb-reason{display:inline-flex;align-items:center;gap:8px;color:#57537a;font-size:13.5px;font-weight:700}.cb-reason select{width:auto;max-width:190px;min-height:38px;margin:0;padding:4px 8px;border:1.5px solid #cfcbe3;border-radius:10px;background:#fff;font-size:14px}
.cb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,420px),1fr));gap:16px;align-items:start}
.mistake-row.cb-card{display:flex;flex-direction:column;gap:9px;margin:0;padding:16px 18px;border:2px solid var(--shell-ink,#2a2560);border-radius:20px;background:#fff;box-shadow:0 4px 0 var(--shell-ink,#2a2560)}.cb-card .row-top{display:flex;align-items:center;gap:8px;margin:0}.cb-card .row-top .status{margin-left:auto}.cb-card h3{margin:0;font:900 19px/1.2 NoesisChildGabarito,'Noto Sans SC',sans-serif}
.mistake-row.cb-card .cb-question{margin:0;color:var(--shell-ink,#2a2560);font-size:17px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.cb-note{align-self:flex-start;padding:2px 10px;border-radius:999px;background:#fff3dc;font-size:13px;font-weight:800}.cb-card details>summary{cursor:pointer;font-weight:800}.cb-card .row-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0}
.cb-try{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:12px;background:var(--shell-ink,#2a2560);color:#fff;font:850 15px NoesisChildGabarito,'Noto Sans SC',sans-serif}.cb-try:focus-visible{outline:3px solid #7b61ff;outline-offset:2px}
/* School Cloze (parent, 14 Nov 2026): the whole passage with one inline input per blank; marks show only after Check all. */
.cloze-desk{margin:0;padding:18px 20px;border:2px solid var(--p-ink);border-radius:20px;background:white;box-shadow:0 4px 0 var(--p-ink);display:flex;flex-direction:column;gap:12px}
.cloze-desk .cl-head h2{margin:4px 0;font:800 20px NoesisChildGabarito,sans-serif;color:var(--p-ink)}.cloze-desk .cl-head p{margin:0;color:var(--p-t3)}.cloze-desk .cl-head .eyebrow{font:900 12px NoesisChildGabarito,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--learn-deep,var(--p-t3))}
.cl-passage p{margin:0 0 12px;font:500 17px/2.25 NoesisChildFigtree,sans-serif;color:var(--p-ink);overflow-wrap:anywhere}
.cl-blank{display:inline-flex;align-items:baseline;gap:3px;white-space:nowrap;max-width:100%}.cl-num{font:800 12px NoesisChildGabarito,sans-serif;color:#5b4bc4}
.cl-input{min-width:5.5em;max-width:min(11em,60vw);padding:1px 6px;border:0;border-bottom:2px solid var(--p-ink);border-radius:6px 6px 0 0;background:#f4f2ff;font:700 16px NoesisChildFigtree,sans-serif;color:var(--p-ink);text-align:center}.cl-input:focus-visible{outline:3px solid #6c52ef;outline-offset:1px}.cl-input[readonly]{background:transparent}
.cl-badge{font:900 14px NoesisChildGabarito,sans-serif}.cl-key{padding:0 6px;border-radius:6px;background:#dcf3e7;color:#1c6b49;font:800 14px NoesisChildFigtree,sans-serif}
.cl-blank[data-cloze-state=correct] .cl-input,.cl-blank[data-cloze-state=fixed] .cl-input{border-color:#24855c;color:#1c6b49}.cl-blank[data-cloze-state=correct] .cl-badge,.cl-blank[data-cloze-state=fixed] .cl-badge{color:#24855c}
.cl-blank:is([data-cloze-state=wrong],[data-cloze-state=retry]) .cl-input{border-color:#c23d50}.cl-blank:is([data-cloze-state=wrong],[data-cloze-state=retry]) .cl-badge{color:#a8303f}.cl-blank[data-cloze-state=wrong] .cl-input{text-decoration:line-through;color:#a8303f}.cl-blank[data-cloze-state=retry] .cl-input{background:#fbe1e5}
.cl-blank[data-cloze-state=review] .cl-input{border-color:#b7791f}.cl-blank[data-cloze-state=review] .cl-badge{color:#9a6414}
.cl-status{margin:0;font:700 15px NoesisChildFigtree,sans-serif;color:var(--p-ink)}.cl-guide{margin:0;padding:10px 12px;border-radius:12px;background:#f4f2ff;color:var(--p-ink)}
.cl-selfcheck{padding:12px 14px;border:2px solid #b7791f;border-radius:16px;background:#fff7e6}.cl-selfcheck h3{margin:0 0 6px;font:800 17px NoesisChildGabarito,sans-serif}.cl-selfcheck ol{margin:0;padding:0;list-style:none;display:grid;gap:12px}.cl-self p{margin:0 0 6px}.cl-self .row-actions{display:flex;flex-wrap:wrap;gap:8px}
.cl-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.cl-actions .lw-button[disabled]{opacity:.5;cursor:not-allowed}
.cloze-single .cl-sentence{font:600 17px/1.7 NoesisChildFigtree,sans-serif}.cl-whole{margin-top:8px}.cl-whole p{font-size:15px;line-height:1.7}
@media (max-width:520px){.cloze-desk{padding:14px 12px;border-radius:16px}.cl-passage p{font-size:16px;line-height:2.2}.cl-input{min-width:4.5em}}
/* Workbook passages and self-check read-back (parent, 15 Nov 2026). */
.cl-blank[data-cloze-state=example]{gap:4px}.cl-example{padding:1px 8px;border-bottom:2px dashed #8a83b8;color:#4b437e;font:700 16px NoesisChildFigtree,sans-serif}.cl-eg{font:800 11px NoesisChildGabarito,sans-serif;color:#8a83b8;text-transform:uppercase}
.cl-readback{margin:4px 0 8px;padding:8px 10px;border-radius:10px;background:#fff;border:1px solid #e3cf9f;font:500 16px/1.7 NoesisChildFigtree,sans-serif}.cl-mine{padding:0 4px;border-radius:4px;background:#ffe2a8;color:var(--p-ink);font-weight:800}
.cl-hint{margin:0 0 6px;padding:6px 10px;border-left:3px solid #b7791f;background:#fff;color:#6b4a10}.cl-origin{margin:6px 0 0;font:600 13px NoesisChildFigtree,sans-serif;color:#6b4a10}
.cloze-group{margin-top:18px}.cloze-group:first-of-type{margin-top:0}.cloze-group-head{margin:0 0 10px}.cloze-group-head .eyebrow{font:900 12px NoesisChildGabarito,sans-serif;letter-spacing:.1em;color:var(--learn-deep,#5f5b78)}.cloze-group-head h3{margin:2px 0;font:800 18px NoesisChildGabarito,sans-serif;color:var(--p-ink,#1f1d3a)}.cloze-group-head p{margin:0;font-size:14px}
/* A Daily with no hidden-question slot (Science) takes the same wide-screen grid as the others: title over the meta line,
   Start right after them, so every subject's Daily row has one spacing. A finished Daily keeps its own row layout above. */
@media(min-width:1200px){
 :is(.lw-quest,.mlab-quest) .learn-hub-daily:not(:has(>.hx-slot)):not(:has(>.learn-daily-badge.is-done)){display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:2px 12px}
 :is(.lw-quest,.mlab-quest) .learn-hub-daily:not(:has(>.hx-slot)):not(:has(>.learn-daily-badge.is-done))>.daily-action-strip,:is(.lw-quest,.mlab-quest) .learn-hub-daily:not(:has(>.hx-slot)):not(:has(>.learn-daily-badge.is-done)) .compact-action-card-copy{display:contents}
 :is(.lw-quest,.mlab-quest) .learn-hub-daily:not(:has(>.hx-slot)):not(:has(>.learn-daily-badge.is-done)) .compact-action-card-copy>h2{grid-column:1/3;grid-row:1;margin:0}
 :is(.lw-quest,.mlab-quest) .learn-hub-daily:not(:has(>.hx-slot)):not(:has(>.learn-daily-badge.is-done)) .compact-action-card-copy>p{grid-column:1;grid-row:2;align-self:baseline}
 :is(.lw-quest,.mlab-quest) .learn-hub-daily:not(:has(>.hx-slot)):not(:has(>.learn-daily-badge.is-done)) .compact-action-card-actions{grid-column:3;grid-row:1/3;justify-self:start;margin-left:4px}
}
/* Clue Hunt (parent, 14 Nov 2026): one blank at a time with the hint ladder; Cloze Check fills all eight blanks first. */
.ch-routine{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0;padding:0;list-style:none;counter-reset:ch}.ch-routine li{counter-increment:ch;display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border:2px solid var(--p-ink,#2a2560);border-radius:999px;background:#fff;font:800 14px NoesisChildFigtree,sans-serif;color:var(--p-ink,#2a2560)}.ch-routine li::before{content:counter(ch);display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#4a7fd6;color:#fff;font-size:12px}
.ch-desk{--shell-ink:var(--p-ink,#2a2560);margin:0;padding:18px 20px;border:2px solid var(--p-ink);border-radius:20px;background:#fffdf8;box-shadow:0 4px 0 var(--p-ink);display:flex;flex-direction:column;gap:14px}
.ch-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:8px 12px;border:2px solid var(--p-ink);border-radius:14px;background:#fff}.ch-bar b{margin-right:auto;font:800 16px NoesisChildGabarito,sans-serif;color:var(--p-ink)}
.ch-dots{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}.ch-dots li{width:15px;height:15px;border:2px solid var(--p-ink);border-radius:50%;background:#fff}.ch-dots li.is-now{background:#ffcb52}.ch-dots li.is-own{background:#1fa978}.ch-dots li.is-helped{background:#7fb3ff}.ch-dots li.is-shown{background:#e2553f}.ch-dots li.is-self{background:#efe9ff}
.ch-card{display:flex;flex-direction:column;gap:12px;padding:16px 18px;border:2px solid var(--p-ink);border-radius:18px;background:#fff}.ch-kick{font:800 12px NoesisChildGabarito,sans-serif;letter-spacing:.07em;text-transform:uppercase;color:#4a7fd6}
.ch-text{margin:0;font:600 18px/1.8 NoesisChildFigtree,sans-serif;color:var(--p-ink);overflow-wrap:anywhere}
.ch-gap{display:inline-block;min-width:4.5em;padding:0 6px;border-bottom:2.5px solid var(--p-ink);line-height:1.3;text-align:center;font-weight:800;color:#4a7fd6}.ch-gap.is-now{background:#fff2d4;border-radius:6px 6px 0 0}.ch-gap.is-own,.ch-gap.is-helped{color:#1c7d58}.ch-gap.is-shown{color:#c23d50}.ch-gap.is-self{color:#7a55d6}
.ch-cue{padding:0 2px;border-radius:4px;background:#ffcb52;color:inherit;box-shadow:0 0 0 2px #ffcb52}
.ch-tok{display:inline;margin:0;padding:0 2px;border:0;border-radius:4px;background:transparent;font:inherit;color:inherit;cursor:pointer;text-decoration:underline dotted #9b97c0;text-underline-offset:4px}.ch-tok:hover{background:#e2eeff}.ch-tok:focus-visible{outline:3px solid #7b61ff;outline-offset:1px}
.ch-box{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border:2px solid var(--p-ink);border-radius:14px;color:var(--p-ink);font:500 16px/1.5 NoesisChildFigtree,sans-serif}.ch-box b{font-family:NoesisChildGabarito,sans-serif}.ch-box.is-read{background:#e2eeff}.ch-box.is-hint{background:#fff2d4}.ch-box.is-own,.ch-box.is-helped{background:#e1f5ec}.ch-box.is-shown{background:#ffe9e5}.ch-box.is-self{background:#efe9ff}
.ch-lvl{font:800 12px NoesisChildGabarito,sans-serif;text-transform:uppercase;letter-spacing:.06em;color:#5f5a88}
.ch-answer,.ch-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.ch-answer label{font:800 14px NoesisChildFigtree,sans-serif;color:var(--p-ink)}
.ch-input{width:12em;max-width:100%;padding:8px 12px;border:2px solid var(--p-ink);border-radius:12px;background:#fff;font:700 18px NoesisChildFigtree,sans-serif;color:var(--p-ink)}.ch-input:focus-visible{outline:3px solid #7b61ff;outline-offset:2px}
.ch-input.is-inline{width:auto;min-width:5em;padding:1px 6px;border-width:0 0 2px;border-radius:6px 6px 0 0;background:#f4f2ff;font-size:16px;text-align:center}.ch-input.is-read{background:#fff2d4}
.lw-button.is-ghost{background:#fff;color:var(--shell-ink,#2a2560)}
.ch-opts{display:flex;flex-wrap:wrap;gap:10px}.ch-opt{min-height:48px;min-width:110px;padding:8px 18px;border:2px solid var(--p-ink);border-radius:14px;background:#fff;box-shadow:0 3px 0 var(--p-ink);font:800 18px NoesisChildFigtree,sans-serif;color:var(--p-ink);cursor:pointer}.ch-opt:focus-visible{outline:3px solid #7b61ff;outline-offset:2px}.ch-opt.is-wrong{background:#ffe9e5;border-color:#c23d50}.ch-opt.is-on{background:#fff2d4;border-color:#b7791f}
.ch-opt.is-small{min-height:38px;min-width:0;padding:2px 12px;font-size:16px;box-shadow:0 2px 0 var(--p-ink)}.ch-opt.is-wide{width:100%;text-align:left;font-size:16px}.ch-pickline{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;vertical-align:middle}.ch-or{font:600 14px NoesisChildFigtree,sans-serif;color:#5f5a88}
.ch-form{display:grid;gap:12px;margin:0;padding:0;list-style:none}.ch-part{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border:2px solid var(--p-ink);border-radius:16px;background:#fff}.ch-part>div{display:grid;gap:10px;min-width:0}.ch-part h3{margin:0;font:800 17px NoesisChildGabarito,sans-serif;color:var(--p-ink)}
.ch-num{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--p-ink);color:#fff;font:900 13px NoesisChildGabarito,sans-serif}.ch-pnum{margin-right:2px;font:800 12px NoesisChildGabarito,sans-serif;color:#5b4bc4}
.ch-gist-q{margin:0;font:800 16px NoesisChildFigtree,sans-serif;color:var(--p-ink)}.ch-gist{display:grid;gap:8px}
.ch-guide{margin:0;padding:10px 12px;border-radius:12px;background:#f4f2ff;color:var(--p-ink)}.ch-status{margin:0;font:700 15px NoesisChildFigtree,sans-serif;color:var(--p-ink)}
.ch-single .ch-text{font-size:17px}
@media (max-width:520px){.ch-desk{padding:14px 12px;border-radius:16px}.ch-text{font-size:16.5px}.ch-card,.ch-part{padding:12px}.ch-part{gap:8px}.ch-opt{min-width:0}}
/* Clue Hunt progress in the Parent preview: dots per language point, one table per set or check. */
.ch-dot{display:inline-block;width:14px;height:14px;margin-right:4px;border:2px solid var(--p-ink,#2a2560);border-radius:50%;background:#fff;vertical-align:middle}.ch-dot.is-own{background:#1fa978}.ch-dot.is-helped{background:#7fb3ff}.ch-dot.is-shown{background:#e2553f}.ch-dot.is-self{background:#efe9ff}
.ch-progress{display:flex;flex-direction:column;gap:12px}.ch-progress h2,.ch-progress h3{margin:0}.ch-checks{margin:0;padding-left:20px;display:grid;gap:4px}
.ch-scroll{overflow-x:auto;max-width:100%}.ch-table{width:100%;min-width:520px;border-collapse:collapse;font-size:14.5px;background:#fff}.ch-table th,.ch-table td{padding:8px 10px;border-bottom:1px solid #e3e1f0;text-align:left;vertical-align:top}.ch-table thead th{background:#f4f2ff;font-weight:800}
.ch-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin:0;font-size:13.5px;color:#5f5a88}.ch-legend>span{display:inline-flex;align-items:center}.ch-run summary{cursor:pointer;font-weight:800;padding:6px 0}
/* Quick Help (parent, 15 Nov 2026): search box, match buttons and filters over a list of entries that open in place. */
.qh{display:flex;flex-direction:column;gap:14px}.qh-search{display:flex;flex-direction:column;gap:10px;padding:14px 16px;border:2px solid var(--p-ink,#2a2560);border-radius:18px;background:#fff}
.qh-field{display:grid;gap:6px;font:800 14px NoesisChildFigtree,sans-serif;color:var(--p-ink,#2a2560)}.qh-field input{width:100%;min-height:48px;padding:8px 14px;border:2px solid var(--p-ink,#2a2560);border-radius:14px;font:600 18px NoesisChildFigtree,'Noto Sans SC',sans-serif;color:var(--p-ink,#2a2560);background:#fff}.qh-field input:focus-visible{outline:3px solid #7b61ff;outline-offset:2px}
.qh-modes{display:flex;flex-wrap:wrap;gap:6px}.qh-mode{min-height:38px;padding:4px 14px;border:2px solid var(--p-ink,#2a2560);border-radius:999px;background:#fff;color:var(--p-ink,#2a2560);font:800 14px NoesisChildFigtree,sans-serif;cursor:pointer}.qh-mode[aria-pressed=true]{background:var(--p-ink,#2a2560);color:#fff}.qh-mode:focus-visible{outline:3px solid #7b61ff;outline-offset:2px}
.qh-filters{display:flex;flex-wrap:wrap;gap:8px 12px}.qh-select{display:inline-flex;align-items:center;gap:6px;font:700 13.5px NoesisChildFigtree,sans-serif;color:#57537a}.qh-select select{width:auto;max-width:190px;min-height:38px;margin:0;padding:4px 8px;border:1.5px solid #cfcbe3;border-radius:10px;background:#fff;font-size:14px}
.qh-hint{margin:0;font-size:13.5px}.qh-count{margin:0;font:700 15px NoesisChildFigtree,sans-serif;color:var(--p-ink,#2a2560)}.qh-empty{margin:0;padding:12px 14px;border-radius:12px;background:#f4f2ff}
.qh-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.qh-item details{border:2px solid var(--p-ink,#2a2560);border-radius:16px;background:#fff}.qh-item summary{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:10px 14px;cursor:pointer;list-style:none}.qh-item summary::-webkit-details-marker{display:none}.qh-item summary:focus-visible{outline:3px solid #7b61ff;outline-offset:2px;border-radius:14px}
.qh-form{font:800 18px NoesisChildGabarito,sans-serif;color:var(--p-ink,#2a2560)}.qh-gloss{flex:1 1 12em;min-width:0;color:#4b4770;font:600 15px 'Noto Sans SC',NoesisChildFigtree,sans-serif}.qh-gloss small{color:#8a86a8}
.qh-lv{display:inline-block;padding:1px 9px;border-radius:999px;font:800 12px NoesisChildFigtree,sans-serif;white-space:nowrap}.qh-lv.is-core{background:#dcf3e7;color:#1c6b49}.qh-lv.is-extension{background:#ece6ff;color:#5b3cc4}.qh-lv.is-pending{background:#eee;color:#666}
.qh-detail{padding:0 14px 12px;display:grid;gap:8px}.qh-meta{margin:0;font-size:13.5px;color:#5f5a88}.qh-senses{display:grid;gap:10px;margin:0;padding:0;list-style:none}.qh-sense{display:flex;gap:10px;align-items:flex-start}.qh-sense>div{min-width:0}
.qh-mean{margin:0;font-size:16px}.qh-pattern{padding:0 6px;border-radius:6px;background:#fff2d4;font-weight:700}.qh-eg{margin:2px 0 0;font-size:15.5px;font-style:italic;color:#3d3866}.qh-more{align-self:flex-start}
@media (max-width:520px){.qh-search{padding:12px}.qh-select{width:100%;justify-content:space-between}.qh-select select{max-width:60%}}
/* Quick Help inside a cloze, after the answer is checked (parent, 16 Nov 2026). */
.qh-panel{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border:2px solid #5b3cc4;border-radius:16px;background:#f7f4ff}.qh-panel h3{margin:0;font:800 16px NoesisChildGabarito,sans-serif;color:#5b3cc4}
.qh-panel .qh-item details{border-width:1.5px}.qh-label{font:800 13px NoesisChildGabarito,sans-serif;color:#5b4bc4}.qh-field.is-mini input{min-height:42px;font-size:16px}
/* Cheat Sheets (parent, 15 Nov 2026): one A4 page each; printing shows only the chosen sheet. */
.cs{display:flex;flex-direction:column;gap:18px}.cs-sheet{display:flex;flex-direction:column;gap:12px;padding:18px 20px;border:2px solid var(--p-ink,#2a2560);border-radius:18px;background:#fff;color:#1f1d3a}
.cs-head h2{margin:2px 0;font:900 22px NoesisChildGabarito,'Noto Sans SC',sans-serif}.cs-head h2 span{font-weight:700}.cs-head p{margin:0;display:flex;gap:8px;align-items:center;font-size:13.5px;color:#5f5a88}.cs-kicker{font:800 12px NoesisChildGabarito,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#5b3cc4}
.cs-rule{margin:0;padding:10px 12px;border-radius:12px;background:#f4f2ff;font:500 15.5px/1.6 'Noto Sans SC',NoesisChildFigtree,sans-serif}
.cs-scroll{overflow-x:auto;max-width:100%}.cs-table{width:100%;min-width:560px;border-collapse:collapse;font-size:14.5px}.cs-table th,.cs-table td{padding:7px 9px;border-bottom:1px solid #e3e1f0;text-align:left;vertical-align:top}.cs-table thead th{background:#f4f2ff;font-weight:800}.cs-table tbody th{font-weight:800;white-space:nowrap}.cs-table tbody th small{display:block;font-weight:500;color:#8a86a8;white-space:normal}.cs-table td:nth-child(3){font-style:italic}.cs-table td:nth-child(2){min-width:7.5em}
.cs-tip{margin:0;padding:10px 12px;border-left:4px solid #ffcb52;background:#fff7e0;font-size:15px}.cs-tip b{margin-right:8px}
.cs-flow{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.cs-box{display:grid;padding:8px 14px;border:2px solid var(--p-ink,#2a2560);border-radius:12px;font:800 16px NoesisChildFigtree,sans-serif}.cs-box small{font:700 12px 'Noto Sans SC',sans-serif;color:#5f5a88}.cs-arrows{display:grid;gap:2px;font:700 14px NoesisChildFigtree,sans-serif;color:#5b3cc4}
.cs-actions{display:flex;justify-content:flex-end}
#cs-print{display:none}
@media print{@page{size:A4;margin:12mm}body[data-print-sheet]>*:not(#cs-print){display:none!important}html:has(body[data-print-sheet]),body[data-print-sheet]{background:#fff!important;margin:0;padding:0}#cs-print{display:block}#cs-print .cs-sheet{border:0;padding:0;gap:8px;box-shadow:none}#cs-print .cs-actions{display:none}#cs-print .cs-table{min-width:0;font-size:11.5px}#cs-print .cs-table th,#cs-print .cs-table td{padding:4px 6px}#cs-print .cs-rule,#cs-print .cs-tip{font-size:12.5px;padding:6px 10px}}
