/* AUREL live demo page — same palette as the classroom (paper, ink, olive, brass) */
.live-page{background:#f2e9da;color:#243a2e;font:15px/1.6 'DM Sans',system-ui,sans-serif;margin:0;min-height:100vh;display:flex;flex-direction:column}
.live-top{display:flex;justify-content:space-between;align-items:center;padding:22px clamp(16px,4vw,48px);border-bottom:1px solid #dfd1bc}
.live-top .brand{color:#243a2e;text-decoration:none;font-size:22px;letter-spacing:3px;display:flex;align-items:center;gap:10px}.live-top .brand small{display:block;font-size:8px;letter-spacing:3px;color:#756e60}
.live-top nav{display:flex;gap:18px}.live-top nav a{color:#4d624a;text-decoration:none;font-size:13px}
.live-main{flex:1;width:min(1240px,100%);margin:0 auto;padding:clamp(20px,4vw,48px) clamp(16px,4vw,48px)}
.eyebrow{font-size:10px;letter-spacing:1.6px;color:#756e60;margin:0 0 10px}
.live-hero h1{font:normal clamp(36px,5vw,64px)/1.05 Georgia,serif;letter-spacing:-1.5px;margin:0 0 14px}.live-hero em{color:#9a7a46;font-style:italic}
.lede{max-width:640px;font-size:17px;color:#4d5a4a;margin:0 0 30px}
.live-stage{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}
.live-frame{position:relative;background:#1c2520;border-radius:20px;overflow:hidden;aspect-ratio:16/10;box-shadow:0 20px 60px #2f4a3a22}
.live-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}
.live-placeholder{position:absolute;inset:0;display:grid;grid-template-columns:minmax(200px,40%) 1fr;background:#fbf5e9}
.live-placeholder img{width:100%;height:100%;object-fit:cover;object-position:center 20%}
.live-start{padding:clamp(18px,3vw,40px);display:flex;flex-direction:column;justify-content:center;gap:10px}
.live-start label{font-size:12px;letter-spacing:1px;color:#756e60}
.live-start .row{display:flex;gap:8px;flex-wrap:wrap}.live-start input{flex:1 1 160px;min-width:0;padding:14px 16px;font-size:17px;border:1px solid #bdc9c0;border-radius:10px;background:#fff;color:#243a2e}
.primary{background:#4d624a;color:#fff;border:0;border-radius:10px;padding:14px 18px;font-weight:600;font-size:14px;cursor:pointer;text-decoration:none;display:inline-block}.primary:disabled{opacity:.6;cursor:wait}
.secondary{background:transparent;border:1px solid #bdc9c0;border-radius:10px;padding:12px 16px;color:#4d624a;cursor:pointer;width:100%}
.tiny{font-size:11px;color:#756e60;line-height:1.6;margin:4px 0 0}.error{color:#9a4a3a;font-size:13px;margin:6px 0 0}
.live-side{display:flex;flex-direction:column;gap:16px;background:#fbf5e9;border:1px solid #dfd1bc;border-radius:18px;padding:20px}
.live-status{display:flex;align-items:center;gap:10px;font-size:13px}.dot{width:9px;height:9px;border-radius:50%;background:#bdc9c0}.dot.connecting{background:#d7b776;animation:pulse 1s infinite alternate}.dot.live{background:#4d9a5a;animation:pulse 1.2s infinite alternate}@keyframes pulse{to{opacity:.4}}
.live-timer small{display:block;font-size:10px;letter-spacing:1.4px;color:#756e60}.live-timer strong{font:normal 44px/1 Georgia,serif;color:#243a2e}.live-timer.ending strong{color:#9a4a3a}
.live-tips ul{margin:0;padding-left:18px;color:#4d5a4a;font-size:13px;line-height:1.7}
.live-after{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:40px;padding-top:28px;border-top:1px solid #dfd1bc}.live-after h2{font:normal 28px Georgia,serif;margin:6px 0}
.live-foot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:18px clamp(16px,4vw,48px);font-size:10px;letter-spacing:1px;color:#756e60;border-top:1px solid #dfd1bc}
@media(max-width:900px){.live-stage{grid-template-columns:1fr}.live-frame{aspect-ratio:4/5}.live-placeholder{grid-template-columns:1fr;grid-template-rows:38% 1fr}.live-after{flex-direction:column;align-items:flex-start}}
@media(max-width:700px){.live-top nav a,.live-after a,.live-main a{display:inline-block;padding:6px 0;min-height:28px;box-sizing:border-box}.live-after .primary{padding:14px 18px}}

/* v2: Jacqueline + the same AUREL whiteboard side by side */
.live-stage{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:stretch}
.live-frame{aspect-ratio:auto;min-height:clamp(360px,52vh,620px)}
.live-room{position:absolute;inset:0}.live-room iframe{width:100%!important;height:100%!important;border:0}
.live-caption{position:absolute;left:14px;right:14px;bottom:14px;margin:0;padding:10px 14px;border-radius:12px;background:#10171399;backdrop-filter:blur(6px);color:#f4efe3;font-size:14px;line-height:1.45;z-index:2}
.live-board{display:flex;flex-direction:column;background:#efe6d6;border:1px solid #d9ccb8;border-radius:20px;padding:12px;box-shadow:0 15px 45px #51473110;min-height:clamp(360px,52vh,620px)}
.board-head{display:flex;justify-content:space-between;gap:10px;padding:6px 8px 10px;font-size:10px;letter-spacing:1.4px;color:#6b7a63}
.board-surface{flex:1;position:relative;background:#fffdf7;border:10px solid #e6dccb;border-radius:12px;box-shadow:inset 0 0 0 1px #d6cab6;padding:22px 24px;overflow:auto}
.board-title{margin:0 0 10px;font:500 22px/1.3 'DM Sans',system-ui,sans-serif;color:#245e97}
.board-lines{display:flex;flex-direction:column;gap:4px}
.board-line{display:block;max-width:100%}.board-line.text{font:28px/1.5 Georgia,serif;color:#24282d}
.board-line.fresh{animation:line-in .3s ease}@keyframes line-in{from{opacity:0;transform:translateY(4px)}}
.board-empty{position:absolute;inset:auto 24px 22px;margin:0;font-size:13px;color:#8b8577}
.board-foot{display:flex;justify-content:flex-end;gap:8px;padding:10px 4px 2px}.board-foot button{background:transparent;border:1px solid #c9bda6;border-radius:8px;padding:8px 12px;color:#4d624a;font-size:12px;cursor:pointer}
.live-board.writing .board-surface{box-shadow:inset 0 0 0 1px #d6cab6,0 0 0 3px #d7b77655}
.live-controls{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin-top:16px;padding:14px 18px;background:#fbf5e9;border:1px solid #dfd1bc;border-radius:16px}
.live-controls .live-timer{display:flex;align-items:baseline;gap:8px}.live-controls .live-timer strong{font-size:28px}
.live-controls .secondary{width:auto;margin-left:auto}
.live-say{display:flex;gap:8px;flex:1 1 320px}.live-say input{flex:1;min-width:0;padding:10px 12px;border:1px solid #bdc9c0;border-radius:10px;font-size:14px}.live-say button{border:0;border-radius:10px;background:#4d624a;color:#fff;padding:10px 14px;cursor:pointer}
.live-tips{margin-top:18px}.live-tips ul{display:flex;flex-wrap:wrap;gap:8px 18px;padding:0;list-style:none}.live-tips li{background:#fbf5e9;border:1px solid #e3d6c2;border-radius:30px;padding:6px 12px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media(max-width:900px){.live-stage{grid-template-columns:1fr}.live-frame{min-height:0;aspect-ratio:4/5}.live-board{min-height:300px}.live-controls .secondary{margin-left:0;width:100%}}
.live-main{box-sizing:border-box}.live-main *{box-sizing:border-box}
.live-page [hidden]{display:none!important}
.live-top nav a{display:inline-block;padding:7px 0;min-height:30px}

/* v4 board: numbered lines, marks, learner turn, graph, pen */
.board-head{align-items:center}.board-state{flex:1;text-align:center;color:#8b8577;letter-spacing:.4px}
.board-tools{display:flex;gap:4px}.board-tools button{background:transparent;border:1px solid #d6cab6;border-radius:7px;padding:5px 9px;font-size:11px;color:#4d624a;cursor:pointer}.board-tools button[aria-pressed="true"]{background:#245e97;color:#fff;border-color:#245e97}.board-tools button:disabled{opacity:.4}
.board-surface{min-height:260px}
.board-lines{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.bl{display:grid;grid-template-columns:22px auto auto 1fr;align-items:center;gap:8px;border-radius:8px;padding:0 6px;transition:background .3s}
.bl .n{font-size:10px;color:#b5ad9c;text-align:right;align-self:center}
.bl .ink{display:block;min-width:0}.bl .ink canvas{display:block;max-width:100%}.bl .ink.text{font:26px/1.5 Georgia,serif}
.bl.question .ink.text,.bl.question{font-style:italic}.bl.question{background:#f1f4ea;margin:6px 0}
.bl.question .n::after{content:''}.bl.question::before{content:none}
.bl.learner{background:#eef3fa}.bl.correction .ink.text{color:#b5443a}
.bl .mark{font:700 24px/1 system-ui;min-width:20px}.bl.correct .mark{color:#3f8a55}.bl.check .mark{color:#c08a2c}.bl.wrong .mark{color:#b5443a}
.bl .note{font:italic 14px/1.3 Georgia,serif;color:#7a6a52}
.bl.correct{background:#ecf6ee}.bl.wrong{background:#fbeeec}.bl.check{background:#fbf4e4}
.bl.point{background:#fff1c9;box-shadow:0 0 0 2px #e8c76d inset;animation:bl-point 1.2s ease-in-out 3}@keyframes bl-point{50%{box-shadow:0 0 0 4px #e8c76d88 inset}}
.board-graph{margin:12px 0 4px;padding:8px;border:1px solid #ece4d4;border-radius:10px;background:#fff}.board-graph canvas{display:block;width:100%}.board-graph figcaption{font:13px/1.4 Georgia,serif;color:#7a6a52;padding:4px 6px 0}
.pen-layer{position:absolute;left:0;top:0;pointer-events:none;z-index:3}.pen-layer.on{pointer-events:auto;cursor:crosshair;touch-action:none}
.live-board.speaking .board-surface{border-color:#e9dcc2}.live-board.writing .board-brand::after{content:' ✎';color:#245e97}
.board-ask{margin-top:10px;padding:12px;border-radius:12px;background:#fbf7ee;border:1px solid #e3d6c2;transition:box-shadow .3s,background .3s}
.board-ask label{display:block;font-size:11px;letter-spacing:1.2px;color:#6b7a63;margin-bottom:8px;text-transform:uppercase}
.ask-row{display:flex;gap:8px}.ask-row input{flex:1;min-width:0;padding:12px 14px;border:1px solid #bdc9c0;border-radius:10px;font-size:18px;color:#245e97;background:#fff}
.ask-row button{border:0;border-radius:10px;background:#245e97;color:#fff;padding:12px 16px;font-weight:600;cursor:pointer;white-space:nowrap}
.math-keys{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}.math-keys button{border:1px solid #e3d6c2;background:#fff;border-radius:6px;padding:4px 9px;font-size:13px;color:#4d624a;cursor:pointer;min-height:30px}
.live-board.your-turn .board-ask{background:#eef3fa;box-shadow:0 0 0 3px #245e9733}.live-board.your-turn .board-ask label{color:#245e97;font-weight:700}
.board-foot{justify-content:space-between;align-items:center}
@media(max-width:600px){.ask-row{flex-direction:column}.board-state{display:none}}

/* v5: the live board is a real whiteboard, matching the classroom (frame, paper, marker tray) */
.live-board{padding:14px 14px 12px;background:linear-gradient(#efe6d6,#e9dfcc)}
.wb-frame{padding:9px;border-radius:10px;background:linear-gradient(135deg,#d9ccb7,#efe5d3 40%,#cdbfa8);box-shadow:0 10px 30px #51473118,inset 0 1px 0 #fff8}
.wb-stage{position:relative;border-radius:4px;overflow:hidden;background:#fffdf7;box-shadow:inset 0 0 0 1px #d8cdbd}
.wb-stage canvas{display:block}.wb-stage .pen-layer{position:absolute;inset:0}
.wb-stage .board-empty{position:absolute;left:7%;right:7%;bottom:7%;margin:0;font:italic 15px/1.5 Georgia,serif;color:#a39b89;text-align:center}
.wb-tray{display:flex;justify-content:center;gap:10px;align-items:flex-end;height:14px;width:46%;margin:0 auto 10px;background:linear-gradient(#b4a48d,#e8ddcc,#ab9981);border-radius:0 0 4px 4px;box-shadow:0 3px 6px #51473122}
.wb-tray i{display:block;width:34px;height:7px;border-radius:3px;margin-bottom:5px;background:#293b30}.wb-tray i:nth-child(2){background:#a17043}.wb-tray i:nth-child(3){background:#245e97}
.live-board.writing .wb-frame{box-shadow:0 10px 30px #51473118,0 0 0 3px #d7b77655}
.live-board.your-turn .wb-tray i:nth-child(3){transform:translateY(-4px);box-shadow:0 0 0 3px #245e9744;transition:transform .3s}
@media(min-width:901px){.live-stage{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)}}

/* v7: FaceTime-style frame — Jacqueline fills the box, you in the corner, code entry floats over her */
.live-hero{margin-bottom:10px}.live-hero h1{font-size:clamp(30px,3.6vw,46px);margin-bottom:6px}.live-hero .lede{font-size:15px;margin-bottom:16px;max-width:760px}
@media(min-width:901px){.live-frame,.live-board{height:min(74vh,720px);min-height:480px}.live-board{display:flex;flex-direction:column}.live-board .wb-frame{flex:1;display:flex;align-items:center;min-height:0}.live-board .wb-stage{width:100%}}
.live-frame{position:relative;overflow:hidden;background:#111814;border-radius:22px}
.her-still,.her-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 22%}
.her-still{transition:filter .4s,transform 6s ease}.live-stage[data-state="idle"] .her-still{filter:brightness(.82) saturate(.9);transform:scale(1.03)}
.live-stage[data-state="connecting"] .her-still{filter:brightness(.6) blur(1px)}
.self-video{position:absolute;right:16px;bottom:86px;width:clamp(80px,22%,168px);aspect-ratio:3/4;object-fit:cover;border-radius:16px;border:2px solid #ffffffcc;box-shadow:0 8px 24px #0006;transform:scaleX(-1);z-index:3;background:#222}
.frame-top{position:absolute;left:16px;right:16px;top:14px;display:flex;justify-content:space-between;z-index:3}
.live-pill{display:inline-flex;align-items:center;gap:7px;background:#0008;color:#fff;font:700 11px/1 system-ui;letter-spacing:1.4px;padding:7px 11px;border-radius:30px;backdrop-filter:blur(8px)}.live-pill i{width:8px;height:8px;border-radius:50%;background:#ff4d4d;animation:pulse 1.2s infinite alternate}
.frame-clock{background:#0008;color:#fff;font:600 14px/1 system-ui;padding:7px 11px;border-radius:30px;backdrop-filter:blur(8px)}.frame-clock.ending{background:#b5443add}
.live-frame .live-caption{bottom:84px;right:calc(clamp(96px,18%,168px) + 30px);z-index:3}
.call-controls{position:absolute;left:0;right:0;bottom:18px;display:flex;justify-content:center;gap:14px;z-index:4}
.call-controls button{width:52px;height:52px;border-radius:50%;border:0;background:#ffffff2e;color:#fff;font-size:20px;backdrop-filter:blur(10px);cursor:pointer}
.call-controls button[aria-pressed="false"]{background:#ffffffd9;color:#222;text-decoration:line-through}
.call-controls .hang{width:auto;padding:0 22px;border-radius:26px;background:#e5483f;font:700 14px system-ui;letter-spacing:.5px}
.tap-audio{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:5;border:0;border-radius:30px;padding:14px 22px;background:#fff;color:#243a2e;font-weight:700;box-shadow:0 10px 30px #0006}
.start-overlay{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:center;padding:22px;background:linear-gradient(180deg,#0000 45%,#0009);z-index:6}
.start-overlay[hidden]{display:none!important}
.start-card{width:min(460px,100%);background:#fffdf7eb;backdrop-filter:blur(14px);border-radius:18px;padding:18px 18px 14px;box-shadow:0 16px 40px #0005;display:flex;flex-direction:column;gap:8px}
.start-card .eyebrow{margin:0;color:#6b7a63}.start-card h2{margin:0 0 4px;font:normal 26px/1.1 Georgia,serif;color:#243a2e}
.start-card .row{display:flex;gap:8px}.start-card input{flex:1;min-width:0;padding:13px 14px;font-size:16px;border:1px solid #bdc9c0;border-radius:11px;background:#fff}
.start-card .tiny{margin:2px 0 0}
#room{display:none!important}
@media(max-width:900px){.live-frame{aspect-ratio:3/4;min-height:0}.self-video{bottom:80px;width:28%}.live-frame .live-caption{right:16px;bottom:140px}}
/* v7.1: board canvas fits the panel in both directions; nothing overlaps the header */
@media(min-width:901px){.live-board .wb-frame{align-items:center;justify-content:center;overflow:hidden}.live-board .wb-stage{width:auto;flex:none}}
.live-board .board-head{position:relative;z-index:2}
.wb-stage{margin:0 auto}
/* v7.2: both panels fit the screen on laptops — controls never below the fold */
@media(min-width:901px){
  .live-top{padding-top:14px;padding-bottom:14px}
  .live-main{padding-top:18px}
  .live-hero{display:flex;align-items:baseline;gap:22px;flex-wrap:wrap;margin-bottom:12px}
  .live-hero .eyebrow{width:100%;margin-bottom:2px}
  .live-hero h1{margin:0;font-size:clamp(28px,3vw,40px)}
  .live-hero .lede{flex:1;min-width:320px;margin:0;font-size:14px}
  .live-frame,.live-board{height:clamp(440px,calc(100vh - 236px),760px);min-height:0}
}

/* v10: the whiteboard is the main event */
@media(min-width:901px){
  .live-stage{grid-template-columns:minmax(280px,.6fr) minmax(0,1.4fr);gap:18px;position:relative}
  .live-board{padding:10px 12px 10px}
  .board-head{padding:2px 4px 8px}
  .board-ask{margin-top:8px;padding:8px 10px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:6px 10px}
  .board-ask label{margin:0;font-size:10px;white-space:nowrap}
  .board-ask .ask-row{grid-column:2}.board-ask .keys-toggle{grid-column:1;grid-row:1/3;display:none}
  .board-ask .math-keys{grid-column:1/-1;margin-top:2px}
  .ask-row input{padding:9px 12px;font-size:16px}.ask-row button{padding:9px 14px}
  .live-board.your-turn .board-ask{padding:10px}
  /* Big board: her video floats in the corner like a FaceTime window, the board takes the whole stage */
  .live-stage.focus-board{grid-template-columns:1fr}
  .live-stage.focus-board .live-frame{position:absolute;right:22px;bottom:84px;width:clamp(180px,17vw,260px);height:auto;aspect-ratio:3/4;z-index:20;border-radius:18px;box-shadow:0 18px 50px #0006;border:3px solid #fffdf7}
  .live-stage.focus-board .live-frame .start-overlay{padding:10px}.live-stage.focus-board .start-card h2,.live-stage.focus-board .start-card .tiny{display:none}
  .live-stage.focus-board .start-card .row{flex-direction:column}
  .live-stage.focus-board .self-video{width:32%;bottom:58px;right:8px;border-radius:10px}
  .live-stage.focus-board .call-controls{bottom:8px;gap:6px}.live-stage.focus-board .call-controls button{width:38px;height:38px;font-size:15px}.live-stage.focus-board .call-controls .hang{padding:0 12px;font-size:12px}
  .live-stage.focus-board .live-caption,.live-stage.focus-board .frame-top{display:none}
  .live-stage.focus-board .live-board{height:clamp(480px,calc(100vh - 230px),900px)}
}
.keys-toggle{border:1px solid #e3d6c2;background:#fff;border-radius:8px;padding:6px 9px;font-size:12px;color:#4d624a;cursor:pointer;min-height:30px}
@media(max-width:900px){.board-ask .keys-toggle{margin-top:8px}}
#boardFocus{font-weight:600}
@media(max-width:900px){#boardFocus{display:none}}

/* v12: short one-line subtitles (off by default, CC button), first-name field */
.live-caption{font-size:13px;line-height:1.35;padding:6px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;left:50%;right:auto;transform:translateX(-50%);max-width:min(78%,520px);border-radius:999px;text-align:center}
.live-frame .live-caption{right:auto}
@media(max-width:900px){.live-frame .live-caption{right:auto;max-width:86%}}
.call-controls #ccBtn{font:700 13px/1 system-ui,sans-serif;letter-spacing:.04em}
.call-controls #ccBtn[aria-pressed="false"]{background:#ffffff2e;color:#fff;text-decoration:none;opacity:.75}
.call-controls #ccBtn[aria-pressed="true"]{background:#ffffffd9;color:#222}
.start-card .name-field{display:block;width:100%;box-sizing:border-box;margin:0 0 8px;padding:12px 14px;border:1px solid #d9cfbd;border-radius:10px;font:inherit;font-size:16px;background:#fff}

/* v13: partner brand strip (invite links) + explore slider on the board */
:root{--partner-accent:#2f4a3a}
.partner-brand{display:flex;align-items:baseline;gap:14px;padding:14px clamp(16px,4vw,48px);background:#fff;border-bottom:3px solid var(--partner-accent);font-family:Inter,'DM Sans',system-ui,sans-serif}
.partner-brand strong{font-size:22px;letter-spacing:-.5px;color:var(--partner-accent)}.partner-brand span{font-size:13px;color:#5b6b5e}.partner-brand em{margin-left:auto;font-style:normal;font-size:10px;letter-spacing:1.6px;color:#756e60;text-transform:uppercase}
html.invite .live-hero .eyebrow{color:var(--partner-accent)}html.invite .start-card .primary,html.invite .ask-row button{background:var(--partner-accent)}html.invite .start-card .row{display:flex}html.invite .start-card .row #startBtn{flex:1}
html.partner .live-after{display:none}
.board-explore{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px;padding:12px;border-radius:12px;background:#eef3fa;border:1px solid #c9d6e6;box-shadow:0 0 0 3px #245e9722}
.board-explore label{font:600 15px/1 'DM Sans',system-ui,sans-serif;color:#245e97;min-width:70px}.board-explore output{font-variant-numeric:tabular-nums}
.board-explore input[type=range]{flex:1;min-width:140px;accent-color:#245e97;height:28px}
.explore-chip{font-size:13px;color:#4d5a4a;background:#fff;border:1px solid #d7dfe8;border-radius:999px;padding:4px 10px;white-space:nowrap}
.board-explore button{border:0;border-radius:10px;background:#245e97;color:#fff;padding:10px 14px;font-weight:600;cursor:pointer;white-space:nowrap}
@media(max-width:600px){.board-explore label{min-width:0}.explore-chip{white-space:normal}}

/* v14: lesson picker (tabs → blocks → chapters) shown before the call */
.live-course{margin:-12px 0 16px;padding:10px 14px;border-radius:14px;background:#fbf7ee;border:1px solid #e3d6c2}
.course-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap}.course-head .eyebrow{margin:0}
.course-pick{margin:0;font-size:13px;color:#4d5a4a;font-weight:600}
.course-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 0}.course-panels [role=tabpanel]{margin-top:10px}
.course-tabs [role=tab]{border:1px solid #d9cdb8;background:#fff;border-radius:999px;padding:7px 13px;font-size:13px;color:#4d624a;cursor:pointer}
.course-tabs [role=tab][aria-selected=true]{background:var(--partner-accent,#2f4a3a);color:#fff;border-color:transparent}
.course-panels [role=tabpanel]{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
.course-block{background:#fff;border:1px solid #ece4d4;border-radius:12px;padding:10px 12px}
.course-block h3{margin:0 0 6px;font:600 13px/1.3 'DM Sans',system-ui,sans-serif;color:#657c61;letter-spacing:.3px}.course-block h3 small{font-weight:400;color:#9a9484;margin-left:6px}
.course-block .chapter{display:block;width:100%;text-align:left;border:1px solid transparent;background:transparent;border-radius:8px;padding:7px 8px;font:14px/1.3 'DM Sans',system-ui,sans-serif;color:#243a2e;cursor:pointer}
.course-block .chapter b{color:#9a7a46;font-weight:700;margin-right:4px}.course-block .chapter span{display:block;font-size:11px;color:#8a8878;margin-top:2px}
.course-block .chapter:hover{background:#f6f1e6}.course-block .chapter.on{background:#eef3fa;border-color:#245e97;box-shadow:0 0 0 2px #245e9722}
.course-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:8px}.course-row .course-tabs{margin:0}
.lesson-select{flex:1;min-width:240px;padding:8px 10px;border:1px solid #bdc9c0;border-radius:10px;font:14px 'DM Sans',system-ui,sans-serif;color:#243a2e;background:#fff}
.lesson-go{border:0;border-radius:10px;background:#245e97;color:#fff;padding:9px 14px;font-weight:600;cursor:pointer;white-space:nowrap}
.live-course.collapsed .course-head .course-pick{color:#245e97}
@media(max-width:600px){.course-panels [role=tabpanel]{grid-template-columns:1fr}.live-course{padding:12px}}
/* v19 — demo link: one quiet note above the stage (nothing of the provider's is shown) */
.live-loaded{margin:0 0 14px;padding:10px 16px;border-radius:12px;background:#f6f1e6;border:1px solid #2f4a3a14;color:#4b5a51;font-size:13.5px;line-height:1.45}
.live-loaded p{margin:0}.live-loaded span{color:#b07a4a;margin-right:6px}
/* big board: the board takes nearly the full width; Jacqueline sits in her own narrow column top-left (v24: moved from the right), in a landscape frame
   (so her feed isn't cropped to a thin portrait) — beside the board, never over a graph, the slider or "Tell her" */
@media(min-width:901px){
  .live-stage.focus-board{display:grid;grid-template-columns:clamp(250px,21vw,330px) minmax(0,1fr);gap:16px;align-items:start}
  .live-stage.focus-board .live-board{grid-column:2;grid-row:1}
  .live-stage.focus-board .live-frame{grid-column:1;grid-row:1;position:relative;right:auto;bottom:auto;width:100%;height:auto;min-height:0;aspect-ratio:4/3;z-index:2}
  .live-stage.focus-board .her-still,.live-stage.focus-board .her-video{object-position:center 28%}
}
/* v21 — look back through earlier pages */
.board-pages{display:inline-flex;align-items:center;gap:4px;margin-right:4px;padding:2px 4px;border:1px solid #2f4a3a22;border-radius:999px;background:#fffdf7}
.board-pages button{border:0;background:none;padding:2px 6px;font-size:12px;color:#2f4a3a;cursor:pointer}.board-pages button:disabled{opacity:.3;cursor:default}
.board-pages span{font-size:12px;color:#4b5a51;white-space:nowrap}
.live-board.looking-back .wb-frame{box-shadow:inset 0 0 0 3px #e0b54f66}

/* v22 answer cards: transparent tap targets laid exactly over the cards she draws */
.board-choices{position:absolute;inset:0;z-index:4;pointer-events:none}
.board-choice{position:absolute;pointer-events:auto;background:transparent;border:0;border-radius:14px;padding:0;cursor:pointer;transition:background .15s}
.board-choice:hover:not(:disabled){background:rgba(41,59,48,.05)}.board-choice:active:not(:disabled){background:rgba(36,94,151,.10)}
.board-choice:focus-visible{outline:3px solid #245e97;outline-offset:2px}.board-choice:disabled{cursor:default}
.pen-layer.on~.board-choices .board-choice{pointer-events:none}
.ask-row .ask-hint{background:#fff;color:#293b30;border:1.5px solid #8fa18a}.ask-row .ask-hint[hidden]{display:none}
html.invite .ask-row .ask-hint{background:#fff;color:#293b30}

/* phones: a 1fr column grows to its widest child (the board), pushing the page wider than the screen */
@media(max-width:900px){.live-stage{grid-template-columns:minmax(0,1fr)}.live-stage>*{min-width:0;max-width:100%}}
@media(max-width:900px){.board-head{flex-wrap:wrap}.board-tools{flex-wrap:wrap;justify-content:flex-end;min-width:0;max-width:100%}}

/* recorded lessons (7 Nov 2026): gold ring on the tab, ringed card that opens the recorded lesson */
.course-tabs button.has-recorded{box-shadow:0 0 0 2px #d7b776;border-radius:30px;position:relative}
.course-tabs button.has-recorded::after{content:'';position:absolute;top:-3px;right:-3px;width:9px;height:9px;border-radius:50%;background:#c08a2c;box-shadow:0 0 0 2px #fffdf7}
.recorded-card{display:inline-flex;gap:8px;align-items:center;padding:4px 12px 4px 4px;border:2px solid #d7b776;border-radius:30px;background:#fffdf7;color:#293b30;text-decoration:none;font:600 13px/1.2 system-ui;margin-left:8px}
.recorded-card:hover{border-color:#c08a2c}
.recorded-card .ring{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;border:2px solid #c08a2c;color:#c08a2c;font-size:10px}
