/* FamSignal Learn (0.11.x build, branch learn-tab). Loaded inside the Learn tab's shadow root only. Derived from the approved mock-up; this file is now the source of truth, so edit it directly. */
:host{display:block;--ink:#14302b;--ink2:#29463f;--green:#1f6b58;--green2:#2a8a70;--mint:#e3f3ec;--cream:#fbf7ee;--paper:#fff;--coral:#c2410c;--coral-t:#fff1ea;--amber:#c98a00;--amber-t:#fff5d6;--violet:#6d55c4;--violet-t:#f0ecfc;--blue:#2f8fe6;--blue-t:#e8f3fd;--pink:#ec6f8c;--pink-t:#fdecf1;--muted:#5f6e68;--line:#e8eeea;--gold1:#f6dd8f;--gold2:#d9a441}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.ln-body{background:var(--cream);color:var(--ink);font-size:17px;-webkit-user-select:none;user-select:none}
.ln-shell{max-width:760px;margin:0 auto;padding:0 16px 24px}
/* The app already provides a gutter. Give the Workshop scene the full content width while it is open. */
.ln-shell:has(> #wsroot){padding-inline:0}
button{font-family:inherit;color:inherit}
.bar{display:flex;align-items:center;justify-content:space-between;padding:10px 0 10px}
.brand{display:flex;align-items:center;gap:9px}
.mark{width:34px;height:34px;border-radius:11px;background:linear-gradient(145deg,var(--green2),var(--green));display:grid;place-items:center;box-shadow:0 4px 10px rgba(31,107,88,.25)}
.word{font-size:21px;font-weight:800;letter-spacing:-.02em}
.word b{font-weight:800;color:var(--coral)}
.chips{display:flex;gap:8px;align-items:center}
.chip{border:0;background:var(--paper);border:1.5px solid var(--line);border-radius:999px;padding:7px 12px;font-weight:800;font-size:15px;display:flex;gap:6px;align-items:center;cursor:pointer}
.chip.gold{background:linear-gradient(135deg,var(--gold1),#f2c75c);border-color:#ecd07a;color:#5b4300}
.hero{border-radius:26px;padding:20px;color:#fff;background:linear-gradient(135deg,var(--green) 0%,var(--green2) 60%,#3aa585 100%);position:relative;overflow:hidden;margin:6px 0 18px}
.hero:after{content:"";position:absolute;right:-40px;top:-40px;width:170px;height:170px;border-radius:50%;background:rgba(255,255,255,.1)}
.hero h1{margin:0 0 4px;font-size:27px;letter-spacing:-.02em}
.hero p{margin:0 0 14px;opacity:.92;font-size:15px}
.picks{display:flex;gap:8px;flex-wrap:wrap;position:relative;z-index:1}
.pick{border:0;border-radius:16px;background:rgba(255,255,255,.18);backdrop-filter:blur(2px);padding:10px 12px;display:flex;gap:8px;align-items:center;font-weight:800;color:#fff;cursor:pointer;font-size:15px}
.pick .e{font-size:24px}
.sec{display:flex;align-items:baseline;justify-content:space-between;margin:20px 2px 10px}
.sec h2{margin:0;font-size:20px;letter-spacing:-.01em}
.sec span{font-size:13px;color:var(--muted)}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(min-width:600px){.grid{grid-template-columns:repeat(3,1fr)}}
.card{border:0;text-align:left;border-radius:22px;padding:14px;cursor:pointer;display:flex;flex-direction:column;gap:6px;min-height:150px;position:relative;box-shadow:0 1px 0 rgba(20,48,43,.04),0 8px 18px -10px rgba(20,48,43,.25);transition:transform .12s}
.card:active{transform:scale(.97)}
.ic{width:54px;height:54px;border-radius:17px;background:#fff;display:grid;place-items:center;font-size:30px;box-shadow:0 3px 8px rgba(20,48,43,.1)}
.card h3{margin:4px 0 0;font-size:17px;line-height:1.15;letter-spacing:-.01em}
.card p{margin:0;font-size:13px;color:var(--ink2);opacity:.85;line-height:1.25}
.st{margin-top:auto;font-size:15px;letter-spacing:2px;color:var(--gold2)}
.st i{font-style:normal;color:#cfd8d3}
.t-a{background:var(--coral-t)}.t-b{background:var(--blue-t)}.t-c{background:var(--mint)}.t-d{background:var(--violet-t)}.t-e{background:var(--amber-t)}
.gh{display:flex;align-items:center;gap:12px;padding:8px 0 8px}
.x{border:0;background:var(--paper);border:1.5px solid var(--line);border-radius:14px;width:44px;height:44px;font-size:20px;font-weight:800;cursor:pointer}
.prog{flex:1;height:12px;background:var(--line);border-radius:99px;overflow:hidden}
.prog i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--coral),#ffa06e);border-radius:99px;transition:width .35s}
.ttl{font-size:14px;font-weight:800;color:var(--muted);min-width:56px;text-align:right}
.stage{padding-top:6px}
.q{text-align:center;font-size:22px;font-weight:800;margin:10px 0 12px;letter-spacing:-.01em;line-height:1.25}
.mute{border:0;background:var(--paper);border:1.5px solid var(--line);color:var(--ink2);border-radius:999px;height:40px;padding:0 14px;font-size:14px;font-weight:800;cursor:pointer;margin-left:6px;vertical-align:middle}
.mute.off{background:var(--coral-t);border-color:var(--coral);color:#b4431c}
.q button{vertical-align:middle;margin-left:6px}
.spk{border:0;background:var(--mint);color:var(--green);border-radius:50%;width:40px;height:40px;font-size:19px;cursor:pointer}
.pane{background:var(--paper);border-radius:26px;border:1.5px solid var(--line);padding:16px;margin-bottom:16px;box-shadow:0 10px 24px -16px rgba(20,48,43,.3)}
.bigpic{font-size:88px;text-align:center;line-height:1.1}
.rowpic{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;font-size:42px;align-items:center}
.opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(104px,1fr));gap:12px}
.opt{border:2.5px solid var(--line);background:var(--paper);border-radius:22px;min-height:96px;padding:10px;font-size:40px;font-weight:800;cursor:pointer;display:grid;place-items:center;gap:2px;animation:pop .35s both;box-shadow:0 6px 14px -10px rgba(20,48,43,.4)}
.opt small{font-size:15px;color:var(--muted);font-weight:800}
.opt.txt{font-size:24px}
.opt:active{transform:scale(.96)}
.opt.good{background:#e1f6e6;border-color:var(--green2)}
.opt.bad{background:#fdeaea;border-color:#e57373;animation:shake .3s}
@keyframes pop{from{transform:scale(.85);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes shake{25%{transform:translateX(-7px)}75%{transform:translateX(7px)}}
.animals{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.animal{position:relative;border:2px solid var(--line);background:#fff;border-radius:16px;font-size:34px;padding:6px 0;cursor:pointer}
.animal.on{background:#e1f6e6;border-color:var(--green2)}
.animal .n{position:absolute;top:-7px;right:-4px;background:var(--green2);color:#fff;font-size:13px;font-weight:800;border-radius:10px;padding:1px 7px}
.swatch{width:62px;height:62px;border-radius:50%;border:3px solid rgba(0,0,0,.08)}
.grp{display:flex;flex-wrap:wrap;gap:2px;justify-content:center;font-size:26px;line-height:1.1;max-width:150px}
.weekstrip{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}
.wd{padding:8px 10px;border-radius:12px;background:var(--line);font-weight:800;font-size:14px;color:var(--muted)}
.wd.me{background:var(--coral);color:#fff}
.shapes{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.shape{border:2px solid var(--line);background:#fff;border-radius:16px;padding:6px;cursor:pointer;aspect-ratio:1}
.shape.found{background:#e1f6e6;border-color:var(--green2)}
.shape.bad{animation:shake .3s}
.shape svg,.opt svg{width:100%;height:100%;display:block}
.opt .sv{width:72px;height:72px}
.pairs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.pairs.six{grid-template-columns:repeat(4,1fr)}
.pc{aspect-ratio:1;border:0;border-radius:18px;background:linear-gradient(145deg,var(--violet),#8e77dc);color:#fff;font-size:42px;cursor:pointer;box-shadow:0 6px 12px -8px rgba(109,85,196,.8)}
.pc.up{background:#fff;border:2px solid var(--line);box-shadow:none}
.pc.done{background:#e1f6e6;border:2px solid var(--green2);box-shadow:none}
.jig{display:grid;gap:3px;width:min(86vw,320px);height:min(86vw,320px);margin:0 auto;background:#d9d2c4;border-radius:14px;padding:3px}
.jp{border:3px solid transparent;border-radius:6px;cursor:pointer;background-repeat:no-repeat}
.jp.sel{border-color:var(--coral)}
.pads{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:340px;margin:0 auto}
.pad{border:0;border-radius:24px;aspect-ratio:1.3;opacity:.55;cursor:pointer;transition:opacity .1s,transform .1s}
.pad.lit{opacity:1;transform:scale(1.06);box-shadow:0 0 0 6px rgba(255,255,255,.7)}
.canvaswrap{position:relative;width:min(86vw,320px);height:min(86vw,320px);margin:0 auto;background:#fff;border-radius:26px;border:1.5px solid var(--line);overflow:hidden}
.canvaswrap canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}
.meter{height:10px;background:var(--line);border-radius:99px;margin:12px auto 0;max-width:320px;overflow:hidden}
.meter i{display:block;height:100%;width:0;background:var(--green2);transition:width .2s}
.btn{border:0;border-radius:16px;padding:14px 20px;font-size:17px;font-weight:800;background:var(--green);color:#fff;cursor:pointer;box-shadow:0 8px 16px -10px rgba(31,107,88,.8)}
.btn.ghost{background:#fff;color:var(--ink);border:2px solid var(--line);box-shadow:none}
.btn.coral{background:var(--coral);box-shadow:0 8px 16px -10px rgba(255,125,77,.9)}
.center{text-align:center}
.slots{display:flex;gap:8px;justify-content:center;margin:10px 0 18px;flex-wrap:wrap}
.slot{width:54px;height:62px;border-radius:14px;border:2.5px dashed #c8d4ce;display:grid;place-items:center;font-size:32px;font-weight:800;color:var(--green)}
.slot.f{border-style:solid;border-color:var(--green2);background:#e1f6e6}
.tile{width:60px;height:64px;border-radius:16px;border:0;background:linear-gradient(145deg,var(--coral),#ff9a72);color:#fff;font-size:32px;font-weight:800;cursor:pointer;box-shadow:0 6px 12px -8px rgba(255,125,77,.9)}
.tile.used{opacity:.25;pointer-events:none}
.tile.bad{animation:shake .3s}
input.name{font-size:24px;font-weight:800;text-align:center;border:2.5px solid var(--line);border-radius:18px;padding:12px 14px;width:100%;max-width:300px;font-family:inherit;color:var(--ink);text-transform:uppercase;-webkit-user-select:text;user-select:text}
.result{text-align:center;padding:26px 8px}
.result .big{font-size:52px;letter-spacing:6px}
.result .big i{font-style:normal;opacity:.2}
.result h2{font-size:28px;margin:8px 0 4px;letter-spacing:-.02em}
.result p{color:var(--muted);margin:0 0 20px}
.conf{position:fixed;top:-20px;width:10px;height:14px;border-radius:3px;z-index:20;animation:fall 1.8s linear forwards;pointer-events:none}
@keyframes fall{to{transform:translateY(110vh) rotate(540deg);opacity:.9}}
.set{background:#fff;border:1.5px solid var(--line);border-radius:22px;padding:16px;margin-bottom:12px}
.set h3{margin:0 0 10px;font-size:17px}
.set label{display:block;font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:3px;font-weight:800}
select{font-size:17px;padding:10px 12px;border-radius:12px;border:2px solid var(--line);background:#fff;font-family:inherit;color:var(--ink)}
.row{display:flex;gap:10px;flex-wrap:wrap;align-items:end}
.note{font-size:13px;color:var(--muted);line-height:1.45;margin:8px 0 0}
.log{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--line);font-size:15px}
.log:last-child{border:0}
.foot{font-size:12px;color:var(--muted);text-align:center;margin:26px 0 8px}
.ptabs{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-bottom:10px}
.ptab{border:2px solid var(--line);background:#fff;border-radius:999px;padding:8px 14px;font-weight:800;font-size:15px;cursor:pointer}
.ptab.on{background:var(--mint);border-color:var(--green2);color:var(--green)}
.thumbs{display:flex;gap:8px;justify-content:center;margin-bottom:10px}
.thumb{width:68px;height:68px;border:2px solid var(--line);background:#fff;border-radius:16px;padding:4px;cursor:pointer}
.thumb.on{border-color:var(--coral);background:var(--coral-t)}
.art{width:100%;height:auto;display:block;max-width:420px;margin:0 auto}
.art .r{fill:#fff;stroke:#14302b;stroke-width:3;stroke-linejoin:round;cursor:pointer}
.art.mini{pointer-events:none}
/* Colouring pad lock (Round 2): a finger on the picture never scrolls or zooms the page (the tap is read from pointer events in learn.js), the palette stops double-tap zoom, and nothing on the pad selects or opens a callout */
.art:not(.mini),.art:not(.mini) .r{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.pal,.sw,.bsz,.bs,.ptabs,.ptab{touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.art.mini .r{stroke-width:6;cursor:default}
.pal{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:12px}
.sw{width:44px;height:44px;border-radius:50%;border:3px solid rgba(0,0,0,.12);cursor:pointer}
.sw.on{outline:4px solid var(--coral);outline-offset:2px}
.thumbs{flex-wrap:wrap}
.thumb{width:60px;height:60px}
.art .d{fill:none;stroke:#14302b;stroke-width:3;stroke-linecap:round}
.art.mini .d{stroke-width:6}
.stk{cursor:grab;touch-action:none}
.stk.sel{filter:drop-shadow(0 0 3px #ff7d4d) drop-shadow(0 0 1px #ff7d4d)}
.stickrow{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;max-height:210px;overflow-y:auto;padding:4px}
.stkbtn{border:2px solid var(--line);background:#fff;border-radius:14px;padding:4px 8px;cursor:pointer;display:grid;place-items:center}
.stkbtn:active{transform:scale(.96)}
.btn.sm{padding:9px 13px;font-size:15px;border-radius:13px}
input.own{font-size:18px;max-width:200px;padding:9px 12px;text-transform:none}
.mute{margin-left:8px}
.art.brushing,.art.stkmode{touch-action:none}
.art.brushing .stk{pointer-events:none}
.art.brushing .r{cursor:crosshair}
.stk .selbox{display:none}
.stk.sel .selbox{display:block}
.stk.sel{filter:none}
.bsz{display:flex;gap:10px;justify-content:center;margin-top:10px}
.bs{width:52px;height:52px;border-radius:14px;border:2px solid var(--line);background:#fff;display:grid;place-items:center;cursor:pointer}
.bs.on{border-color:var(--coral);background:var(--coral-t)}
.bs i{display:block;border-radius:50%}
.card.locked{opacity:.5;filter:grayscale(1);cursor:default;box-shadow:none}
.soon{margin-top:auto;font-size:12px;font-weight:800;color:var(--muted);background:#fff;border-radius:999px;padding:3px 10px;align-self:flex-start}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.hardrow{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0 0 12px}
.aboutln{font-size:13px;color:var(--muted);line-height:1.45;margin:22px 0 8px}
/* review fixes (29 Oct 2026): touch targets of at least 44px, focus rings, and the jigsaw pieces are buttons now */
.spk{width:44px;height:44px}
.mute{height:44px}
.chip{min-height:44px}
.ptab{min-height:44px}
.jp{padding:0;margin:0;background-color:transparent}
[tabindex="-1"]:focus{outline:none}
button:focus-visible{outline:3px solid #ff7d4d;outline-offset:2px}
/* Amrit, 30 Oct 2026: tapping a part of the colouring picture drew a thick rectangle round it (the browser outlines the whole box of a focused shape). A part never gets a box now; a keyboard user sees the shape itself turn orange-edged. */
.art .r:focus{outline:none}
.art .r:focus-visible{stroke:#ff7d4d;stroke-width:7}
.soon.rev{background:var(--amber-t);color:#7a5200;margin-top:6px}
/* fit on every phone (29 Oct 2026, from Amrit's iPhone screenshot: the Shape hunt grid ran off the right edge). A grid column of 1fr may not shrink below
   what is inside it, and the pictures inside are as wide as their cell, so some browsers (Safari) let the cells grow. Columns are minmax(0,1fr), the cells
   may shrink, and the picture no longer takes part in the cell's size. */
.grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
@media(min-width:600px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.card{min-width:0}
.opts{grid-template-columns:repeat(auto-fit,minmax(min(100%,104px),1fr))}
.opt{min-width:0;overflow:hidden}
.opt.txt{font-size:clamp(15px,4.4vw,20px);padding:10px 4px;overflow-wrap:anywhere}
.grp{max-width:100%;font-size:clamp(20px,6vw,26px)}
.animals{grid-template-columns:repeat(5,minmax(0,1fr))}
.animal{min-width:0}
.shapes{grid-template-columns:repeat(4,minmax(0,1fr))}
.shape{min-width:0;position:relative;overflow:hidden}
.shape svg{position:absolute;top:6px;left:6px;width:calc(100% - 12px);height:calc(100% - 12px)}
.pairs{grid-template-columns:repeat(3,minmax(0,1fr))}
.pairs.six{grid-template-columns:repeat(4,minmax(0,1fr))}
.pc{min-width:0}

.oslots,.ocards{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:10px 0}
.oslot{width:68px;height:68px;border-radius:16px;border:3px dashed var(--line);display:flex;align-items:center;justify-content:center;font-size:34px;font-weight:800;color:var(--ink2);background:var(--paper)}
.oslot.f{border-style:solid;border-color:var(--green2);background:var(--mint)}
.ocard{min-width:0;width:88px;border:2px solid var(--line);border-radius:18px;background:var(--paper);padding:8px 4px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:2px;font-family:inherit}
.ocard span{font-size:38px;line-height:1.1}
.ocard small{font-size:13px;font-weight:700;color:var(--ink2);overflow-wrap:anywhere}
.ocard.used{opacity:.35}
.calm{display:flex;align-items:center;justify-content:center;min-height:260px;overflow:hidden}
.balloon{font-size:96px;line-height:1;transform:scale(.8)}
.drum{font-size:48px}

.agel{margin-top:6px;font-size:12px;font-weight:800;color:var(--green);background:var(--mint);border-radius:999px;padding:2px 9px;align-self:flex-start}
/* Round 4 (1 Nov 2026): hold buttons fill from the left while pressed; every control on the colouring screen is at least 44px; the action row is spaced 24px so a stray tap lands on empty space */
.holdb{position:relative;overflow:hidden;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.holdb::after{content:"";position:absolute;left:0;top:0;bottom:0;width:100%;background:var(--coral);opacity:.35;transform-origin:left center;transform:scaleX(var(--p,0));pointer-events:none}
.holdb.holding{border-color:var(--coral)}
.padscr .btn,.padscr .ptab,.padscr .bs,.padscr .thumb,.padscr .stkbtn,.padscr .sw{min-width:44px;min-height:44px}
.padscr .acts{display:flex;gap:24px;justify-content:center;margin-top:24px;flex-wrap:wrap}
/* Learn home and Workshop (0.11.29, Codex's layout approved by Amrit 10 Nov 2026) */
.homeh{margin:8px 2px 14px;font-size:30px;letter-spacing:-.02em;line-height:1.1}
.dests{display:grid;gap:12px;margin-bottom:14px}
.dest{border:0;text-align:left;border-radius:24px;padding:14px;cursor:pointer;display:flex;gap:12px;align-items:center;min-height:96px;position:relative;color:var(--ink);box-shadow:0 1px 0 rgba(20,48,43,.04),0 8px 18px -10px rgba(20,48,43,.25);transition:transform .12s}
.dest:active{transform:scale(.98)}
.dest .e{width:54px;height:54px;border-radius:17px;background:#fff;display:grid;place-items:center;font-size:30px;flex:none;box-shadow:0 3px 8px rgba(20,48,43,.1)}
.dest .dt{display:flex;flex-direction:column;gap:3px;min-width:0}
.dest b{font-size:20px;letter-spacing:-.01em}
.dest i{font-style:normal;font-size:14px;color:var(--ink2);line-height:1.25}
.dest.wide{flex-direction:column;align-items:stretch;background:var(--amber-t);padding:12px;gap:10px}
.dart{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.dart svg,.wsart svg{display:block;width:100%;height:auto;border-radius:10px}
.dpair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.dpair .dest{flex-direction:column;align-items:flex-start;justify-content:flex-start;min-height:150px}
.carry{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:56px;margin:0 0 12px;padding:10px 16px;border:2px solid var(--green2);border-radius:18px;background:var(--mint);cursor:pointer;color:var(--ink);text-align:left}
.carry .dt{display:flex;flex-direction:column}
.carry b{font-size:18px}
.carry i{font-style:normal;font-size:14px;color:var(--ink2)}
.carry small{font-size:12px;font-weight:800;color:var(--green)}
details.gu{margin:12px 0 4px}
details.gu summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:800;color:var(--green)}
.back{border:1.5px solid var(--line);background:var(--paper);border-radius:14px;min-height:44px;padding:0 16px;font-size:16px;font-weight:800;cursor:pointer;margin:0 0 6px}
.wshead h1{margin:4px 2px 2px;font-size:28px;letter-spacing:-.02em}
.wshead p{margin:0 2px 12px;color:var(--ink2)}
.wsgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.wscard{text-align:left;border:1.5px solid var(--line);border-radius:20px;padding:8px;background:var(--paper);cursor:pointer;display:flex;flex-direction:column;gap:8px;color:var(--ink);box-shadow:0 8px 18px -12px rgba(20,48,43,.3)}
.wscard:active{transform:scale(.98)}
.wst b{display:block;font-size:16px;line-height:1.2}
.wst i{display:block;font-style:normal;font-size:13px;color:var(--ink2);margin-top:3px;line-height:1.3}
.wst em{display:block;font-style:normal;font-size:12px;font-weight:800;color:var(--green);margin-top:5px}
.wsttl{margin:0;font-size:22px;letter-spacing:-.01em;flex:1;line-height:1.15}
.wsloading{padding:30px 10px;text-align:center;color:var(--muted)}
/* New design (Family Edition, html.ed), 10 Nov 2026 (Amrit: "I think Learn needs the same redesign too"): the grown-up's Learn screens use the
   edition's own tokens (they inherit into this shadow root); one header (the app's), the page's own edges, white cards with one line and one shadow,
   muted tints, a green main button. */
.ln-ed{background:var(--ed-paper,#faf8f2);color:var(--ed-ink,#193e34)}
.ln-ed .ln-shell{padding:0 0 24px}
.ln-ed .bar{justify-content:flex-end;padding:0 0 4px}
.ln-ed .bar .brand{display:none}
.ln-ed .chip,.ln-ed .chip.gold{background:var(--ed-surface,#fff);border:1px solid var(--ed-line,#c9d4cc);color:var(--ed-ink,#193e34);min-height:40px;font-size:15px}
.ln-ed .homeh,.ln-ed .wshead h1{font-size:var(--ed-type-title,2rem);font-weight:750;line-height:1.12;letter-spacing:-.055em;margin:0 0 16px;color:var(--ed-ink,#193e34)}
.ln-ed .wshead p{color:var(--ed-muted,#52675e);margin:0 0 16px}
.ln-ed .dests{gap:12px}
.ln-ed .dest,.ln-ed .dest.wide,.ln-ed .dpair .dest,.ln-ed .wscard,.ln-ed .card{background:var(--ed-surface,#fff);border:1px solid var(--ed-line,#c9d4cc);border-radius:var(--ed-radius,20px);box-shadow:var(--ed-shadow,none);color:var(--ed-ink,#193e34)}
.ln-ed .dest.wide{padding:12px}
.ln-ed .dest b{font-size:var(--ed-type-card,1.0625rem);font-weight:750;letter-spacing:-.01em}
.ln-ed .dest i,.ln-ed .card p{color:var(--ed-muted,#52675e)}
.ln-ed .dest .e{box-shadow:none;border-radius:14px}
.ln-ed .dest.t-c .e{background:var(--ed-tint-classes,#f0e3f4)}
.ln-ed .dest.t-a .e{background:var(--ed-tint-arts,#f6e7d6)}
.ln-ed .carry{background:var(--ed-mint,#e9f1e5);border:1px solid var(--ed-green,#205e49);border-radius:var(--ed-radius-sm,14px)}
.ln-ed .carry small{color:var(--ed-green,#205e49)}
.ln-ed .aboutln{color:var(--ed-muted,#52675e);font-size:14px;opacity:1}
.ln-ed .gu summary{color:var(--ed-green,#205e49)}
.ln-ed .back{background:var(--ed-surface,#fff);border:1px solid var(--ed-line,#c9d4cc);border-radius:var(--ed-radius-sm,14px);color:var(--ed-ink,#193e34)}
.ln-ed .sec h2{color:var(--ed-ink,#193e34)}
.ln-ed .hero{background:var(--ed-mint,#e9f1e5);color:var(--ed-ink,#193e34);border:1px solid var(--ed-line,#c9d4cc);border-radius:var(--ed-radius,20px);box-shadow:none}
.ln-ed .hero:after{display:none}
.ln-ed .hero h1{font-weight:750;letter-spacing:-.04em}
.ln-ed .hero p{color:var(--ed-muted,#52675e);opacity:1}
.ln-ed .hero .pick{background:var(--ed-surface,#fff);color:var(--ed-ink,#193e34);border:1px solid var(--ed-line,#c9d4cc);backdrop-filter:none}
/* 10 Nov 2026 (Amrit: the Workshop pictures 'look a bit squashed'; chose 2:1): each picture fills a 2:1 frame, trimmed a little at the sides, never stretched */
.dart svg,.wsart svg{aspect-ratio:2/1;height:auto}
/* 10 Nov 2026 (Amrit: 'the what shall we play screen is still too squashed'): the Workshop card shows its four pictures two by two, each twice the size */
.dart{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
/* Original plus (11 Nov 2026, Amrit's own account): the sound and star controls as compact horizontal pills; the rest of Learn keeps the original look. */
.ln-opx .chips{gap:6px;flex-wrap:wrap;justify-content:flex-end}
.ln-opx .chip{min-height:44px;min-width:44px;padding:0 12px;font-size:14px;gap:4px;justify-content:center}
.ln-opx .bar{padding:6px 0}

/* Little Adventures (11 Nov 2026): picked place, Shuffle all, the found tick */
.laplaces{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.laloc[aria-pressed="true"]{background:var(--green);border-color:var(--green);color:#fff}
.lashuf{border:0;border-radius:999px;background:var(--green);color:#fff;font-weight:800;font-size:15px;padding:8px 14px;min-height:44px;cursor:pointer;touch-action:manipulation}
.lacard{display:flex;align-items:center;gap:8px;min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:7px;box-shadow:0 8px 18px -15px #14302b70}
.lacard.got{background:var(--mint)}
.laic{width:64px;height:64px;display:grid;place-items:center;border-radius:15px;font-size:40px;line-height:1;flex-shrink:0}
.latx{display:block;font-weight:780;line-height:1.23;overflow-wrap:anywhere}
.lacard.got .latx{text-decoration:line-through;text-decoration-thickness:2px;color:var(--ink2)}
.latick{flex:0 0 auto;width:44px;height:44px;border-radius:12px;border:2.5px solid var(--green);background:#fff;color:#fff;font-size:24px;font-weight:900;display:grid;place-items:center;cursor:pointer;touch-action:manipulation}
.latick[aria-pressed="true"]{background:var(--green)}
.laswap{flex:0 0 auto;color:var(--green);min-width:48px;min-height:44px;padding:8px;background:transparent;border:0;font-weight:800;border-radius:12px;cursor:pointer;touch-action:manipulation}
.ladone{margin:12px 0 0;padding:12px;border-radius:12px;background:var(--mint);color:var(--green);font-weight:800;text-align:center}
.ladone[hidden]{display:none}

/* Liquid glass in Learn uses the original-plus palette and keeps the game tile tints. */
.ln-opx{--cream:transparent;--paper:rgba(255,255,255,.6);--ink:#2A2623;--ink2:#3d3631;--green:#164431;--green2:#1f5a41;--muted:#51473f;--coral:#8F5412;
  --glass:rgba(255,255,255,.55);--blur:blur(22px) saturate(150%);background:transparent}
.ln-opx .homeh{color:#164431}
.ln-opx .dest{border:1px solid #E3D5C8 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 10px 26px rgba(42,38,35,.08) !important;color:#2A2623}
.ln-opx .dest.wide{background:linear-gradient(150deg,rgba(219,150,61,.22),rgba(255,255,255,.55)) !important;border-color:rgba(219,150,61,.5) !important}
.ln-opx .dest.t-c{background:linear-gradient(150deg,rgba(22,68,49,.14),rgba(255,255,255,.55)) !important}
.ln-opx .dest.t-a{background:linear-gradient(150deg,rgba(122,31,49,.11),rgba(255,255,255,.55)) !important}
.ln-opx #lago{background:linear-gradient(150deg,rgba(219,150,61,.18),rgba(255,255,255,.55)) !important;border-color:rgba(219,150,61,.5) !important}
.ln-opx .dest.lc-dest,.ln-opx details.gu .dest{background:linear-gradient(150deg,rgba(255,255,255,.7),rgba(244,236,226,.5)) !important}
.ln-opx .dest .e{background:rgba(255,255,255,.8);border:1px solid rgba(219,150,61,.35);box-shadow:0 4px 10px rgba(42,38,35,.08)}
.ln-opx .dest b{color:#2A2623}
.ln-opx .dest i{color:#51473f}
.ln-opx .carry{background:linear-gradient(150deg,rgba(22,68,49,.12),rgba(255,255,255,.55));border:1px solid rgba(219,150,61,.55)}
.ln-opx .privln{color:#51473f}
.ln-opx details.gu summary{color:#164431}
/* The default Learn theme uses the same glass rules when the main app sets .gl. */
.ln-gl{--cream:transparent;--paper:rgba(255,255,255,.6);--ink:#2A2623;--ink2:#3d3631;--green:#164431;--green2:#1f5a41;--muted:#51473f;--coral:#8F5412;
  --glass:rgba(255,255,255,.55);--blur:blur(22px) saturate(150%);background:transparent}
.ln-gl .homeh{color:#164431}
.ln-gl .dest{border:1px solid #E3D5C8 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 10px 26px rgba(42,38,35,.08) !important;color:#2A2623}
.ln-gl .dest.wide{background:linear-gradient(150deg,rgba(219,150,61,.22),rgba(255,255,255,.55)) !important;border-color:rgba(219,150,61,.5) !important}
.ln-gl .dest.t-c{background:linear-gradient(150deg,rgba(22,68,49,.14),rgba(255,255,255,.55)) !important}
.ln-gl .dest.t-a{background:linear-gradient(150deg,rgba(122,31,49,.11),rgba(255,255,255,.55)) !important}
.ln-gl #lago{background:linear-gradient(150deg,rgba(219,150,61,.18),rgba(255,255,255,.55)) !important;border-color:rgba(219,150,61,.5) !important}
.ln-gl .dest.lc-dest,.ln-gl details.gu .dest{background:linear-gradient(150deg,rgba(255,255,255,.7),rgba(244,236,226,.5)) !important}
.ln-gl .dest .e{background:rgba(255,255,255,.8);border:1px solid rgba(219,150,61,.35);box-shadow:0 4px 10px rgba(42,38,35,.08)}
.ln-gl .dest b{color:#2A2623}
.ln-gl .dest i{color:#51473f}
.ln-gl .carry{background:linear-gradient(150deg,rgba(22,68,49,.12),rgba(255,255,255,.55));border:1px solid rgba(219,150,61,.55)}
.ln-gl .privln{color:#51473f}
.ln-gl details.gu summary{color:#164431}
