/* Lily - the std look (genusfit.com/lily), founder 2026-11-24: the look of the saxberd video
   call (genusfit.com/saxberd). Every rule is scoped to html.ed-std, so the low-vision look
   (genusfit.com/lily-low-vision) is the base styles in index.html alone: one engine, one page,
   two looks. Change behaviour in index.html, change only the look here.
   Tokens follow saxberd: black or white page, grey surfaces, 2-px frames, round buttons,
   amber for "now". No colour carries a meaning (right = filled, wrong = crossed out), as in
   the base look. */

html.ed-std, html.ed-std[data-theme="dark"] {
  --bg: #000; --fg: #fff; --muted: #a8a8b0; --line: #3a3a40;
  --ok: #8fe39a; --okbg: #12301a; --bad: #ff8a80; --badbg: #3a1210;
  --btn: #fff; --btnfg: #000; --focus: #f9a825; --pending: #141416;
  --surface: #141416; --surface2: #202024; --dim: #a8a8b0;
  --gut: 58px; --side: 250px;
  color-scheme: dark;
}
html.ed-std[data-theme="light"] {
  --bg: #fff; --fg: #000; --muted: #55555d; --line: #d4d4da;
  --ok: #1b7a2c; --okbg: #dff3e3; --bad: #b3261e; --badbg: #fde3e1;
  --btn: #000; --btnfg: #fff; --focus: #d98a00; --pending: #f2f2f4;
  --surface: #f2f2f4; --surface2: #e6e6ea; --dim: #55555d;
  color-scheme: light;
}

/* type: the system font at reading size, not the big bold low-vision text */
html.ed-std body { font: 500 18px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; }

/* the normal mouse cursor (the big one is a low-vision aid) */
html.ed-std, html.ed-std body, html.ed-std * { cursor: auto !important; }
html.ed-std button, html.ed-std summary, html.ed-std select, html.ed-std a, html.ed-std label,
html.ed-std .note, html.ed-std .card, html.ed-std #sheet .sn, html.ed-std [data-midi] { cursor: pointer !important; }
html.ed-std button:disabled { cursor: default !important; }

/* buttons: round, 2-px frame, grey surface; the main one filled */
html.ed-std button, html.ed-std a.liveBtn {
  font: inherit; font-size: 17px; font-weight: 600; min-height: 50px; padding: 8px 20px;
  border: 2px solid var(--fg); border-radius: 999px; background: var(--surface2); color: var(--fg);
  transition: transform .08s, background .15s, opacity .15s;
}
html.ed-std button:active { transform: scale(.97); }
html.ed-std button.secondary { background: var(--surface2); color: var(--fg); }
html.ed-std button:focus-visible, html.ed-std select:focus-visible, html.ed-std a.liveBtn:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; }
html.ed-std select { font: inherit; font-size: 17px; min-height: 48px; padding: 8px 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--fg); }
html.ed-std select:focus { border-color: var(--fg); outline: none; }
html.ed-std kbd { border-width: 1px; border-radius: 6px; font-size: .65em; padding: 0 6px; }

/* the menu: a panel over the left edge */
html.ed-std #navBtn { width: 46px; min-width: 46px; height: 46px; min-height: 46px; left: 8px; top: 10px; font-size: 30px; padding: 0 0 4px; border-radius: 50%; background: var(--surface2); }
html.ed-std #nav { width: min(460px, 94vw); background: var(--bg); border-right: 1px solid var(--line); padding: 76px 20px 30px; font-size: 18px; box-shadow: 0 8px 30px rgba(0,0,0,.5); }
html.ed-std #scrim { background: rgba(0,0,0,.55); }
html.ed-std #nav .bar { gap: 12px; }
html.ed-std #nav button { min-height: 52px; font-size: 17px; }
html.ed-std #nav .group button { min-width: 52px; font-size: 20px; padding: 0; }
html.ed-std #nav .modes { gap: 8px; }
html.ed-std #nav .modes button { font-size: 16px; padding: 6px 10px; }
html.ed-std #nav .group span { font-size: 18px; font-weight: 600; }
html.ed-std #nav select { font-size: 16px; min-height: 48px; }
html.ed-std #nav .settings label { font-size: 15px; color: var(--dim); font-weight: 600; }
html.ed-std #nav .pick button { font-size: 16px; }
html.ed-std #styleLbl { font-size: 15px; color: var(--dim); font-weight: 600; }
html.ed-std .modes button { min-height: 48px; font-size: 16px; padding: 6px 14px; background: var(--surface2); color: var(--fg); }
html.ed-std .modes button[aria-pressed="true"], html.ed-std #nav .pick button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
html.ed-std .settings { gap: 8px 16px; border-top: 1px solid var(--line); padding-top: 18px; }
html.ed-std .xClose { width: 46px; height: 46px; min-width: 46px; min-height: 46px; font-size: 20px; border-width: 2px; padding: 0; background: var(--surface2); }
html.ed-std #nav .xClose { min-height: 46px; font-size: 20px; }
html.ed-std .codeRow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
html.ed-std #codeShow { font-weight: 800; letter-spacing: 2px; font-variant-numeric: tabular-nums; }

/* the header and the status */
html.ed-std #head, html.ed-std #info { font-size: 16px; font-weight: 600; }
html.ed-std #info .lvTag { font-size: 16px; color: var(--dim); }
html.ed-std #info .lvName { font-size: 24px; font-weight: 800; }
html.ed-std #introBtn { font-size: 15px; min-height: 36px; padding: 4px 14px; }
html.ed-std #fromBtn { font-size: 15px; min-height: 36px; padding: 4px 14px; border-color: var(--focus); }
html.ed-std .staff svg .barHit { cursor: pointer !important; }
html.ed-std #lvProg { font-size: 15px; font-weight: 600; color: var(--dim); }
html.ed-std #lvProg .bar { height: 8px; border: 0; background: var(--surface2); }
html.ed-std #lvProg .bar i { background: var(--fg); }
html.ed-std .actions #status, html.ed-std #status { font-size: 26px; font-weight: 700; }
html.ed-std #detail { font-size: 19px; }
html.ed-std #streak, html.ed-std #voiceNote { font-size: 17px !important; }
html.ed-std h1 { font-size: 28px; }

/* the right column: metronome on top, the task buttons, the tuner below */
html.ed-std #metro, html.ed-std #tuner { border: 0; border-radius: 24px; background: var(--surface); box-shadow: 0 8px 30px rgba(0,0,0,.35); height: 178px; }
html.ed-std[data-theme="light"] #metro, html.ed-std[data-theme="light"] #tuner { box-shadow: 0 8px 30px rgba(0,0,0,.10); }
html.ed-std #metro { padding: 10px 14px; gap: 8px; }
html.ed-std #mLabel { font-size: 15px; color: var(--dim); font-weight: 600; }
html.ed-std #metro .mrow button { min-height: 46px; min-width: 46px; font-size: 20px; padding: 0 10px; }
html.ed-std #mToggle { min-width: 80px !important; }
html.ed-std #mBpm { font-size: 38px; font-weight: 800; font-variant-numeric: tabular-nums; }
html.ed-std #mBpm small { font-size: 13px; color: var(--dim); font-weight: 600; }
html.ed-std .beats { gap: 8px; }
html.ed-std .beats span { height: 14px; border: 2px solid var(--fg); border-radius: 6px; }
html.ed-std .beats span.first { border-width: 2px; border-color: var(--focus); }
html.ed-std .beats span.first.on { background: var(--focus); }
html.ed-std #more { top: 12px; gap: 8px; --bh: clamp(40px, calc((100vh - 430px) / 5.4), 54px); }
html.ed-std #more button, html.ed-std #more a.liveBtn { font-size: clamp(15px, calc(var(--bh) * .36), 18px); min-height: var(--bh); padding: 2px 10px; }
html.ed-std #more #main, html.ed-std #more #stopBtn { background: var(--fg); color: var(--bg); font-size: clamp(20px, calc(var(--bh) * .5), 26px); min-height: calc(var(--bh) * 1.3); }
html.ed-std #more .two button { font-size: clamp(14px, calc(var(--bh) * .32), 16px); }
html.ed-std #more .shows button[aria-expanded="true"] { background: var(--fg); color: var(--bg); }
html.ed-std #tuner { padding: 8px 14px; }
html.ed-std #tuner .thead span { font-size: 15px; color: var(--dim); font-weight: 600; }
html.ed-std #tuner .thead button { min-height: 40px; min-width: 44px; font-size: 18px; padding: 0 10px; }
html.ed-std #tNote { font-size: 84px; font-weight: 800; }
html.ed-std #tNote sup { font-size: 60px; }
html.ed-std #tunerOn { font-size: 16px; min-height: 46px; }
html.ed-std #tLevel { height: 10px; border: 0; background: var(--surface2); }
html.ed-std #tShow { min-width: 52px; min-height: 52px; font-size: 26px; border-radius: 50%; }

/* the music: thinner frames, rounder boxes */
html.ed-std .note { border-width: 2px; border-radius: 14px; font-weight: 800; }
html.ed-std .rest { border-width: 2px; }
html.ed-std .note.now { outline: 4px solid var(--focus); }
html.ed-std .note.cue { border-width: 4px; }
html.ed-std .note.cue::after { height: 8px; }
html.ed-std .note.ping, html.ed-std .card.ping { outline: 4px solid var(--focus); }
html.ed-std .prow .ball { width: 26px; height: 26px; margin: calc(var(--boxH) / 2 - 13px) 0 0 16px; background: var(--focus); }
html.ed-std .card { border-width: 2px; border-radius: 14px; }
html.ed-std .card.bad { border-width: 2px; }
html.ed-std .card.cur { box-shadow: 0 0 0 3px var(--focus); }
html.ed-std #now:not([hidden]) { border-bottom: 1px solid var(--line); }
html.ed-std #count { color: var(--focus); font-weight: 800; }

/* modes: Notes, Breath, Band, Expression */
html.ed-std .panel { border: 0; border-radius: 24px; background: var(--surface); padding: 16px 20px; }
html.ed-std .row button { min-height: 46px; min-width: 46px; }
html.ed-std .big { font-size: 46px; font-weight: 800; }
html.ed-std #rdQ { border-width: 2px; border-radius: 24px; background: var(--surface); }
html.ed-std #rdAns button { border-width: 2px; border-radius: 18px; min-width: 96px; min-height: 96px; font-size: 48px; font-weight: 800; background: var(--surface2); }
html.ed-std #rdAns button.ok::before { width: 38px; height: 38px; font-size: 24px; top: -14px; right: -10px; }
html.ed-std #rdBeats span, html.ed-std #gBeats span { border-width: 2px; height: 22px; width: 44px; }
html.ed-std #rdBeats span.target, html.ed-std #gBeats span.target { border-width: 4px; }
html.ed-std #read .panel select, html.ed-std #read .panel label, html.ed-std #rdTip, html.ed-std #rdAnsLbl, html.ed-std #rdViewRow button, html.ed-std #rdSongName { font-size: 17px; }
html.ed-std #rdScore { font-size: 30px; }
html.ed-std #brBar, html.ed-std #brGraph, html.ed-std #exCv, html.ed-std #logCanvas { border-width: 1px; border-color: var(--line); border-radius: 14px; }
html.ed-std #brHelp summary, html.ed-std details.fold > summary { font-size: 18px; }
html.ed-std #exName { font-size: 24px; } html.ed-std #exNote { font-size: 30px; }
html.ed-std #jamSet label { font-size: 15px; color: var(--dim); }

/* popups: the cheat sheet, the level text, the AI teacher, the log, the result */
html.ed-std #hintBox, html.ed-std #lessonBox, html.ed-std #introBox { border: 0; border-radius: 24px; background: var(--surface); font-size: 18px; box-shadow: 0 8px 30px rgba(0,0,0,.5); }
html.ed-std #hintPanel, html.ed-std #lessonPanel, html.ed-std #introPanel { background: rgba(0,0,0,.6); }
html.ed-std #hintBox h2, html.ed-std #lessonBox h2, html.ed-std #introBox h2 { font-size: 28px; }
html.ed-std #hintBox h3, html.ed-std #lessonBox h3, html.ed-std #introBox h3 { font-size: 21px; }
html.ed-std #hintBox .hhelp, html.ed-std #introBox .sub { font-size: 17px; }
html.ed-std .hcard { border-width: 2px; min-width: 110px; background: var(--bg); }
html.ed-std .hcard .hl { font-size: 40px; } html.ed-std .hcard .hr { font-size: 22px; }
html.ed-std #lessonBox li button, html.ed-std .lbtns button { font-size: 16px; min-height: 46px; }
html.ed-std .ldot { font-size: 22px; }
html.ed-std #lessonBar { border: 0; border-radius: 18px; background: var(--surface); font-size: 18px; }
html.ed-std #lessonBar .ldots, html.ed-std #lessonBar .lbItem, html.ed-std #lessonBar .lbClean { font-size: 20px; }
html.ed-std #hintClose, html.ed-std #introClose { font-size: 18px; }
html.ed-std #logPanel { border: 0; border-radius: 0; }
html.ed-std #logPanel h2 { font-size: 26px; }
html.ed-std #logText { font-size: 15px; font-weight: 500; }
html.ed-std #resPop { border: 0; border-radius: 22px; background: var(--surface); box-shadow: 0 10px 40px rgba(0,0,0,.55); }
html.ed-std[data-theme="light"] #resPop { box-shadow: 0 10px 40px rgba(0,0,0,.18); }

@media (max-width: 900px), (max-height: 715px) {
  html.ed-std #more { --bh: 48px; }
}
@media (max-width: 900px) {
  html.ed-std .wrap { padding-top: 14px; }
}

/* the small key charts (circles) are drawn black on a white card; here they follow the page */
html.ed-std svg.saxk rect[fill="#fff"], html.ed-std .fline svg rect[fill="#fff"] { fill: transparent; }
html.ed-std svg.saxk [stroke="#000"], html.ed-std .fline svg [stroke="#000"] { stroke: var(--fg); }
html.ed-std svg.saxk [fill="#000"], html.ed-std .fline svg [fill="#000"] { fill: var(--fg); }
html.ed-std svg.saxk circle[fill="#fff"], html.ed-std .fline svg circle[fill="#fff"] { fill: var(--bg); }

/* ---- accent colour (founder 2026-11-24): the GenusFit accents, red by default ----------------
   Settings -> Look -> Accent colour (edition.js keeps it on the device as html[data-accent]).
   The accent marks what is "now" or "on": Start, the moving light, the count-in, the level
   progress, beat 1, switches that are on, the settings icons. Never a right/wrong meaning. */
html.ed-std { --accent: #d32f2f; --on-accent: #fff; }
html.ed-std[data-theme="dark"] { --accent: #e53935; }
html.ed-std[data-accent="blue"] { --accent: #1565c0; } html.ed-std[data-theme="dark"][data-accent="blue"] { --accent: #1e88e5; }
html.ed-std[data-accent="green"] { --accent: #2e7d32; } html.ed-std[data-theme="dark"][data-accent="green"] { --accent: #43a047; }
html.ed-std[data-accent="violet"] { --accent: #6a1b9a; } html.ed-std[data-theme="dark"][data-accent="violet"] { --accent: #9c3fc4; }
html.ed-std[data-accent="amber"] { --accent: #f57f17; --on-accent: #1a1a1a; } html.ed-std[data-theme="dark"][data-accent="amber"] { --accent: #fb8c00; }
html.ed-std[data-accent="navy"] { --accent: #0d47a1; } html.ed-std[data-theme="dark"][data-accent="navy"] { --accent: #2f6fd6; }
html.ed-std { --focus: var(--accent); }

html.ed-std #more #main, html.ed-std #more #stopBtn { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
html.ed-std #more .shows button[aria-expanded="true"], html.ed-std .modes button[aria-pressed="true"], html.ed-std #nav .pick button[aria-pressed="true"],
html.ed-std #rdViewRow button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
html.ed-std #lvProg .bar i { background: var(--accent); }
html.ed-std #count { color: var(--accent); }
html.ed-std .beats span.first { border-color: var(--accent); }
html.ed-std .beats span.first.on { background: var(--accent); }
html.ed-std .prow .ball { background: var(--accent); }
html.ed-std #tFill, html.ed-std #brFill { background: var(--accent); }
html.ed-std button:focus-visible, html.ed-std select:focus-visible, html.ed-std a.liveBtn:focus-visible { outline-color: var(--accent); }

/* metronome and tuner: a frame like the buttons (founder 2026-11-24) */
html.ed-std #metro, html.ed-std #tuner { border: 2px solid color-mix(in srgb, var(--fg) 45%, transparent); }

/* ---- the menu: Day/Night above the settings, the settings always open as cards ------------- */
html.ed-std #themeBtn { margin-top: 4px; }
html.ed-std .setTitle { font-size: 26px; font-weight: 800; margin: 28px 0 2px; }
html.ed-std .sgrp { margin: 18px 0 0; }
html.ed-std .sgrp h3 { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; color: var(--dim); margin: 0 0 8px 4px; }
html.ed-std .set { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 10px 12px; margin: 0 0 8px; }
html.ed-std .sic { width: 42px; height: 42px; border-radius: 12px; border: 0; font-size: 22px;
  background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); }
html.ed-std .sbody { gap: 6px; }
html.ed-std #nav .settings .sbody label { font-size: 15px; font-weight: 700; color: var(--fg); }
html.ed-std .sbody select { -webkit-appearance: none; appearance: none; padding-right: 40px; background-color: var(--bg); min-height: 44px; font-size: 16px;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
html.ed-std .codeRow button { min-height: 40px; font-size: 15px; padding: 4px 14px; }
html.ed-std #shareNote { font-size: 14px; color: var(--dim); }
html.ed-std #build { font-size: 13px; color: var(--dim); opacity: 1; }
html.ed-std .swatches { gap: 10px; }
html.ed-std .sw { width: 40px; height: 40px; min-height: 40px; min-width: 40px; padding: 0; border-radius: 50%; border: 2px solid transparent; background: transparent; }
html.ed-std .sw i { display: block; width: 28px; height: 28px; margin: auto; border-radius: 50%; }
html.ed-std .sw[aria-pressed="true"] { border-color: var(--fg); }
html.ed-std .sw[data-accent="red"] i { background: #e53935; } html.ed-std .sw[data-accent="blue"] i { background: #1e88e5; }
html.ed-std .sw[data-accent="green"] i { background: #43a047; } html.ed-std .sw[data-accent="violet"] i { background: #9c3fc4; }
html.ed-std .sw[data-accent="amber"] i { background: #fb8c00; } html.ed-std .sw[data-accent="navy"] i { background: #2f6fd6; }
html.ed-std .note .nl.solf { letter-spacing: -.03em; }

/* ---- round buttons with icons (founder 2026-11-27): Play / AI / Notes and Boxes / Sheet / Keys,
   three to a row; a filled accent circle = on. The same circles under the lesson videos. ---- */
html.ed-std .circRow { display: flex; gap: 6px; justify-content: space-between; align-items: flex-start; }
html.ed-std #more button.circ, html.ed-std #vPop button.circ { flex: 1 1 0; min-width: 0; width: auto; min-height: 0; padding: 0; border: 0; border-radius: 16px;
  background: transparent; color: var(--fg); display: flex; flex-direction: column; align-items: center; gap: 4px; white-space: normal; }
html.ed-std .circ .disc { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--fg); background: var(--surface2); display: grid; place-items: center; transition: background .15s; }
html.ed-std .circ .disc svg.mi { width: 30px; height: 30px; fill: currentColor; }
html.ed-std .circ .cap { font-size: 14px; font-weight: 600; line-height: 1.15; text-align: center; max-width: 100%; overflow-wrap: anywhere; }
html.ed-std .circ .cap:empty { display: none; }
html.ed-std #more .shows button.circ[aria-expanded="true"] { background: transparent; color: var(--fg); }
html.ed-std #more .shows button.circ[aria-expanded="true"]::before { content: none; }
html.ed-std .circ[aria-expanded="true"] .disc, html.ed-std .circ.active .disc { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
html.ed-std .circ.off .disc { background: #e5332a; border-color: #e5332a; color: #fff; }
html.ed-std .circ:focus-visible { outline: none; }
html.ed-std .circ:focus-visible .disc { outline: 3px solid var(--accent); outline-offset: 3px; }
html.ed-std .circ:active .disc { transform: scale(.95); }
html.ed-std button.circ:disabled { opacity: .35; }
html.ed-std svg.mi { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* ---- the video lesson: button, teacher, student, call buttons ---- */
html.ed-std #more #liveBtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; font-size: 18px; min-height: 54px; }
html.ed-std #more #liveBtn .ic { display: inline-flex; }
html.ed-std #more #liveBtn .ic svg.mi { width: 26px; height: 26px; }
html.ed-std #more #liveBtn.danger { background: #e5332a; border-color: #e5332a; color: #fff; }
html.ed-std #callBox { display: flex; flex-direction: column; gap: 8px; }
html.ed-std #callBox[hidden] { display: none; }
html.ed-std .vbox { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; position: relative; }
html.ed-std .vbox[hidden] { display: none; }
html.ed-std #vTeacher { --maxh: 36vh; }
html.ed-std #vSelf { --maxh: 13vh; }
html.ed-std .vt { position: relative; overflow: hidden; border-radius: 14px; background: #0e0e10; cursor: pointer;
  aspect-ratio: var(--ar, 1.7778); width: min(100%, calc(var(--maxh) * var(--ar, 1.7778))); }
html.ed-std .vbox[data-n="2"] .vt:not(.pip), html.ed-std .vbox[data-n="3"] .vt:not(.pip), html.ed-std .vbox[data-n="4"] .vt:not(.pip) { width: min(calc(50% - 3px), calc(var(--maxh) * var(--ar, 1.7778))); }
html.ed-std #vTeacher.hasScreen .vt.screen { width: 100%; }
html.ed-std .vt.pip { position: absolute; right: 6px; top: 6px; width: 34%; z-index: 2; border: 2px solid var(--bg); border-radius: 10px; }
html.ed-std .vt video { width: 100%; height: 100%; object-fit: cover; display: block; }
html.ed-std .vt.screen video { object-fit: contain; background: #000; }
html.ed-std .vt.mirror video { transform: scaleX(-1); }
html.ed-std .vt .vn { position: absolute; left: 6px; bottom: 6px; max-width: calc(100% - 12px); display: flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600; line-height: 1.3; color: #fff; background: rgba(0,0,0,.6); border-radius: 8px; padding: 1px 7px; }
html.ed-std .vt .vn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.ed-std .vt .vn svg.mi { width: 15px; height: 15px; }
html.ed-std .vt.pip .vn { display: none; }
html.ed-std .vt .vo { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 10px; color: #fff; font-size: 15px; font-weight: 600; pointer-events: none; }
html.ed-std .vt .vo:not(:empty) { background: rgba(0,0,0,.55); }
html.ed-std .vt.wait { width: 100%; aspect-ratio: 16 / 9; background: var(--surface); cursor: default; border: 2px dashed color-mix(in srgb, var(--fg) 35%, transparent); }
html.ed-std .vt.wait .vo { color: var(--fg); background: none; font-size: 16px; }
html.ed-std .vt.wait .vo small { color: var(--dim); font-size: 14px; }
html.ed-std .vt.wait .vo b { letter-spacing: 2px; font-variant-numeric: tabular-nums; }
html.ed-std #callBar[hidden] { display: none; }
html.ed-std #callBar .disc { width: 52px; height: 52px; }
html.ed-std #callBar .disc svg.mi { width: 26px; height: 26px; }
html.ed-std #callBar .cap { font-size: 13px; }
html.ed-std #callNote { font-size: 15px; font-weight: 600; text-align: center; }
html.ed-std #callNote:empty { display: none; }
html.ed-std #callNote button { width: 100%; min-height: 48px; font-size: 16px; }
html.ed-std #callSet { background: var(--surface); border: 2px solid var(--fg); border-radius: 18px; padding: 4px 12px 12px; }
/* the settings take the place of the videos while open */
html.ed-std #callSet { order: -1; }
html.ed-std #callBox.setOpen .vbox { display: none; }

html.ed-std #callSet[hidden] { display: none; }
html.ed-std #callSet label { display: block; font-size: 14px; font-weight: 700; margin: 10px 0 4px; }
html.ed-std #callSet select { width: 100%; min-height: 44px; font-size: 15px; }
html.ed-std #callSet button { width: 100%; margin-top: 12px; min-height: 46px; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* in a lesson the column is wider and scrolls; the tuner steps aside for the videos */
/* the variable sits on <html>: the page code measures the music's width from there (founder 2026-11-27:
   the notes must move left with the wider column, same gap as without a lesson) */
@media (min-width: 1200px) { html.ed-std.in-call, html.ed-std.in-call[data-theme] { --side: 300px; } }
@media (min-width: 901px) and (min-height: 716px) {
  html.ed-std body.in-call #more { bottom: 12px; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 8px; scrollbar-width: thin; }
}
@media (max-width: 900px), (max-height: 715px) {
  html.ed-std #more > .circRow { flex: 1 1 280px; }
  html.ed-std #more #liveBtn, html.ed-std #callBox { flex: 1 1 100%; }
  html.ed-std #callBox { max-width: 560px; margin: 0 auto; }
}

/* the big view of a video or a shared screen, over the page */
html.ed-std #vPop { position: fixed; inset: 0; z-index: 80; background: #000; display: flex; flex-direction: column; }
html.ed-std #vPop[hidden] { display: none; }
html.ed-std #vPop .vpStage { flex: 1; min-height: 0; overflow: hidden; display: grid; place-items: center; touch-action: none; }
html.ed-std #vPop .vpStage.zoomed { cursor: grab !important; }
html.ed-std #vPop video { width: 100%; height: 100%; object-fit: contain; transform-origin: center; transition: transform .12s; }
html.ed-std #vPop .vpName { position: absolute; left: 16px; top: 14px; color: #fff; font-size: 20px; font-weight: 700; background: rgba(0,0,0,.6); border-radius: 10px; padding: 4px 12px; }
html.ed-std #vPop .vpBar { display: flex; justify-content: center; gap: 18px; padding: 12px 16px max(14px, env(safe-area-inset-bottom)); background: #000; }
html.ed-std #vPop button.circ { flex: 0 0 auto; color: #fff; width: 96px; }
html.ed-std #vPop .circ .disc { width: 68px; height: 68px; border-color: #fff; background: #202024; color: #fff; }
html.ed-std #vPop .circ .disc svg.mi { width: 34px; height: 34px; }
html.ed-std #vPop .circ .cap { font-size: 16px; }

/* metronome: bar length, and in a lesson my own sound switch; the frame is the accent while shared */
html.ed-std #metro .mrow:first-child { gap: 6px; }
html.ed-std #mLabel { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.ed-std #metro .mrow #mBeats, html.ed-std #metro .mrow #mMute { min-height: 38px; min-width: 50px; padding: 0 8px; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
html.ed-std #metro .mrow #mMute.off { background: #e5332a; border-color: #e5332a; color: #fff; }
html.ed-std #metro .mrow #mMute[hidden] { display: none; }
html.ed-std #metro .mrow #mToggle { min-width: 70px !important; margin-left: 0; }
html.ed-std #metro.shared { border-color: var(--accent); }
html.ed-std #metro .mrow #mToggle { white-space: nowrap; padding: 0 12px; }
html.ed-std #metro.shared #mLabel { display: none; }
html.ed-std #metro.shared .mrow:first-child { justify-content: flex-end; }
html.ed-std #callSet .csHead { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; font-size: 18px; }
html.ed-std #callSet .csHead button { width: 44px; min-width: 44px; height: 44px; min-height: 44px; margin: 0; padding: 0; border-radius: 50%; }
html.ed-std #callSet .csHead svg.mi { width: 22px; height: 22px; }

/* 2026-11-28: the dock next to the task name - metronome, tuner, saxophone keys */
html.ed-std #dock > #metro { height: 180px; }
html.ed-std #saxBox { border: 2px solid color-mix(in srgb, var(--fg) 45%, transparent); border-radius: 24px; background: var(--surface); height: 180px; --saxbg: var(--surface); }
html.ed-std #saxBox.big { height: 252px; }
/* the tuner is back in the bottom right corner; in a lesson the scrolling column ends above it */
@media (min-width: 901px) and (min-height: 716px) {
  html.ed-std body.in-call:not(.tuner-off) #more { bottom: 202px; }
  html.ed-std body.in-call.tuner-off #more { bottom: 76px; }
}
