/* MPA portal: the house palette (MANTRA_MANIFEST design-language.md §3) and the workflow window
   (workflow-interface.md): numbered steps where the round number is the button, pipes between choices,
   hairlines, thin grey lines between the parts, a table of labelled cells. */
:root{--cell-fs:30px;--bg:#0B0D10;--bg2:#141A21;--slate:#23303D;--line:#2a333d;--ink:#F2DDB4;--dim:#8b8f94;--amber:#F59E0B;--amber2:#FBBF24;--red:#EF4444;--green:#3fb950;
  --f:"Barlow",system-ui,sans-serif;--fc:"Barlow Condensed",system-ui,sans-serif;--mono:"IBM Plex Mono",ui-monospace,monospace}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--f);font-size:16px}
a{color:var(--amber2)}
.wrap{max-width:1100px;margin:0 auto;padding:0 16px}
.top{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);font-family:var(--fc);letter-spacing:.06em;text-transform:uppercase}
.top .name{font-weight:700;font-size:18px}
.top{flex-wrap:wrap;row-gap:4px}
.top .name{white-space:nowrap}
.top .stname{text-transform:none;letter-spacing:.02em}
.top .tsep{color:var(--slate);font-family:var(--fc);font-size:18px;margin:0 -2px}
.top .lablink.on{color:var(--amber2);text-decoration:underline;text-underline-offset:5px}
.top .stusel{background:transparent;border:0;color:var(--ink);font-family:var(--fc);font-weight:700;font-size:18px;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;padding:0 4px;max-width:260px}
.top .stusel option{color:#000;text-transform:none}
.top .stusel:hover{color:var(--amber)}
.top .lablink{color:#E8890C;text-decoration:none}
.top .lablink:hover{color:var(--amber2);text-decoration:underline}
.top .sp{flex:1}
.top .who{color:var(--dim);font-size:14px}
.top button.link{background:none;border:0;color:var(--dim);font:inherit;font-size:14px;cursor:pointer;padding:0}
.top button.link:hover{color:var(--amber2);text-decoration:underline}
.part{border-bottom:1px solid var(--line);padding:16px 0}
.step{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.num{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;border:1px solid var(--amber);color:var(--amber);font-family:var(--fc);font-weight:700;font-size:18px;flex:none;transition:transform .12s,background .12s}
button.go{display:inline-flex;align-items:center;gap:12px;background:none;border:0;color:var(--ink);font-family:var(--fc);font-weight:600;font-size:20px;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;padding:0}
button.go:hover .num{background:var(--amber);color:var(--bg);transform:scale(1.12)}
button.go:hover .w{text-decoration:underline}
button.go:disabled{cursor:default;color:var(--dim)}
button.go:disabled .num{border-color:var(--slate);color:var(--dim);background:none;transform:none}
button.go:disabled .w{text-decoration:none}
.label{font-family:var(--fc);font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--dim)}
.pipes{display:inline-flex;align-items:center;flex-wrap:wrap;font-family:var(--fc);font-size:18px;letter-spacing:.05em;text-transform:uppercase}
.pipes>span.bar{color:var(--slate);padding:0 10px}
.pipes button{background:none;border:0;color:var(--dim);font:inherit;cursor:pointer;padding:4px 0}
.pipes button:hover{color:var(--ink);text-decoration:underline}
.pipes button.on{color:var(--amber2)}
.pipes button:disabled{color:#4a525b;cursor:default;text-decoration:none}
.msg{font-size:15px;color:var(--dim);margin-top:8px;min-height:1.2em}
.msg.bad{color:var(--red)}
.msg.good{color:var(--green)}
table.cells{width:100%;border-collapse:collapse;table-layout:fixed}
table.cells td{padding:6px 10px 8px 0;vertical-align:top}
table.cells .v{font-family:var(--mono);font-size:17px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
table.cells .hl{height:1px;background:var(--slate);margin-top:6px;position:relative}
table.cells .hl i{position:absolute;left:0;top:0;height:1px;background:var(--amber);width:0}
input.f,select.f{background:var(--bg2);border:1px solid var(--line);color:var(--ink);font:inherit;padding:8px 10px;border-radius:4px;min-width:0}
input.f:focus,select.f:focus{outline:1px solid var(--amber);border-color:var(--amber)}
.list{width:100%;border-collapse:collapse}
.list th{text-align:left;font-family:var(--fc);font-weight:500;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--dim);padding:8px 8px 8px 0;border-bottom:1px solid var(--line)}
.list td{padding:10px 8px 10px 0;border-bottom:1px solid var(--line);vertical-align:middle}
.list input.f{width:100%}
.x{background:none;border:0;color:var(--dim);cursor:pointer;font-size:18px}
.x:hover{color:var(--red)}
@media (max-width:640px){button.go{font-size:18px}.pipes{font-size:16px}table.cells .v{font-size:15px}.list th:nth-child(3),.list td:nth-child(3){display:none}}
[hidden]{display:none!important}
/* lessons and the Exercise Lab (lessons.js) */
.li{border:1px solid var(--line);border-radius:10px;padding:14px 16px;margin-top:14px;background:var(--bg2)}
.li-head{display:flex;align-items:center;gap:10px;font-family:var(--fc);font-weight:700;font-size:18px;letter-spacing:.06em;text-transform:uppercase}
.numbox{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:38px;padding:0 6px;border:1px solid var(--ink);font-family:Barlow,sans-serif;font-size:20px;font-weight:500;color:var(--ink);background:transparent;text-align:center;letter-spacing:0}
input.numbox{width:58px}
input.numbox:focus{outline:2px solid var(--amber);outline-offset:-2px}
.li-head .li-nm{text-transform:none;letter-spacing:.02em}
.li-head .li-name{flex:1;max-width:340px}
.li-head .x{margin-left:auto}
.li-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px;font-family:var(--fc);font-size:16px}
.li-row .label{min-width:90px}
.li-row .li-base{width:80px}
.li-row .bar{color:var(--slate)}
.li-speed sup,.li-speed sub{font-size:11px}
.li-pat{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:14px}
.li-pat .play{width:44px;height:44px;border-radius:50%;border:1px solid var(--amber);background:none;color:var(--amber);font-size:18px;cursor:pointer}
.li-pat .play.on,.li-pat .play:hover{background:var(--amber);color:var(--bg)}
.rows{display:flex;flex-direction:column}
.rows .cells+.cells{margin-top:-1px}
/* request 138 (5.11.2026): beside each row: Play forever | Loops [n], and the counter while it plays */
.rowline{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.rows .rowline+.rowline{margin-top:-1px}
.li-loop{display:inline-flex;align-items:center;gap:10px;font-size:14px;color:var(--ink);white-space:nowrap}
.li-loop .loopn{width:54px;height:30px;font-size:15px;text-align:center}
.li-loop .rep{min-width:64px;font-family:var(--mono);font-size:15px;color:var(--amber)}
.rowline.now .li-loop{color:var(--amber)}
.cells{display:flex;flex-wrap:wrap}
.cell{width:52px;height:56px;border:1px solid var(--ink);margin:0 -1px -1px 0;display:flex;align-items:center;justify-content:center;font-family:Barlow,sans-serif;font-size:var(--cell-fs);color:var(--ink);user-select:none}
.cell.sel{outline:2px solid var(--amber);outline-offset:-3px}
/* plain decorations (request 131): the teacher's tiny circle at the top of a cell; full = the cell twice at double speed */
.cell{position:relative}
.cell .orn{position:absolute;top:4px;left:50%;width:8px;height:8px;margin-left:-4px;border:1px solid var(--amber);border-radius:50%;cursor:pointer;box-sizing:border-box}
.cell .orn::before{content:"";position:absolute;inset:-6px}
.cell .orn.on{background:var(--amber)}
.cell .orn:hover{transform:scale(1.25)}
.cell.dbl{font-size:24px;letter-spacing:.02em}
.cell.ghostcell{border-style:dashed;opacity:.7}
.keys{margin-top:8px;font-family:Barlow,sans-serif;font-size:12px;color:var(--dim)}
.keys b{color:var(--ink)}
.savemark{font-family:Barlow,sans-serif;font-size:12px;color:var(--dim);min-width:60px}
.savemark.ok{color:var(--green)}
.cell.lit{background:var(--amber);color:var(--bg);border-color:var(--amber)}
.li-add{margin-top:16px;display:flex;gap:12px;align-items:center}
.labhit{display:block;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid var(--line);color:var(--ink);font-family:var(--fc);font-size:16px;letter-spacing:.04em;padding:8px 0;cursor:pointer}
.labhit:hover{color:var(--amber)}
.labhit .label{margin-left:12px;text-transform:none}

/* the countdown to the next session (request 121) */
.cd{border:1px solid var(--line);background:var(--bg2);padding:14px 16px;margin:0 0 10px}
.cd .cdnum{font-family:var(--fc);font-weight:700;font-size:40px;letter-spacing:.03em;text-transform:uppercase;color:var(--amber2);line-height:1.1;margin:4px 0}
.cd.open .cdnum{color:var(--green);font-size:28px}
.cd .cdwhen{color:var(--ink);font-size:15px;margin-bottom:6px}
.cd .cdcal{font-family:var(--fc);font-weight:600;letter-spacing:.06em;text-transform:uppercase;font-size:15px}

/* request 146 (5.11.2026): Notes flips the cells over; the back holds the notes of the exercise */
.li-btns{display:flex;flex-direction:column;align-items:center;gap:8px}
.notebtn{border:1px solid var(--amber);background:none;color:var(--amber);border-radius:14px;padding:3px 10px;font-family:var(--fc);font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.notebtn.on,.notebtn:hover{background:var(--amber);color:var(--bg)}
/* request 272 (18.11.2026): NO 3D flip any more. The rotateY + backface-visibility flip worked in Chrome only: in Firefox the
   turned-away front (its positioned cells and numbers) still painted, mirrored, through the notes. Now both faces share one
   grid cell; Notes hides the cells (visibility, so the box keeps their height and the play button stays put) and shows the
   notes face with a short fade. Same in every browser. */
.flipbox{display:grid;min-width:min(420px,100%)}
.flipbox>.face{grid-area:1/1}
.flipbox>.back{border:1px solid var(--ink);padding:12px 14px;display:none}
.flipbox.flipped>.back{display:flex;animation:mpaFade .25s ease}
.flipbox.flipped>.front{visibility:hidden}
@keyframes mpaFade{from{opacity:0}to{opacity:1}}
.flipbox .notes-txt{white-space:pre-wrap;font-size:17px;line-height:1.45;color:var(--ink)}
.flipbox .li-notes{flex:1;min-height:110px;resize:vertical;font-size:16px;line-height:1.45;background:transparent;color:var(--ink);border:0;outline:0;font-family:inherit}

/* request 152 (6.11.2026): fold triangles, empty cells, the Lab tabs, Text Lessons */
.li-fold{background:none;border:0;color:var(--amber);font-size:13px;cursor:pointer;padding:2px 4px;width:22px}
.li-fold:hover{color:var(--amber2)}
.li.folded{padding-top:10px;padding-bottom:10px}
.li.folded>:not(.li-head){display:none}
.cell.empty{background:rgba(127,127,127,.06)}
.li-len .celln{width:52px;height:30px;font-size:15px;margin-left:10px}
.labtabs{font-size:22px;font-weight:700;letter-spacing:.06em;margin-bottom:12px}
.labtabs button.on{text-decoration:underline;text-underline-offset:5px}
.tl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin-top:14px;align-items:start}
.tl{border:1px solid var(--line);border-radius:10px;background:var(--bg2);padding:12px 14px;display:flex;flex-direction:column;gap:8px;min-width:0}
.tl-top{display:flex;gap:8px;align-items:center}
.tl-title{flex:1;min-width:0;background:transparent;border:0;outline:0;color:var(--ink);font-family:var(--fc);font-weight:700;font-size:19px;letter-spacing:.03em}
.tl-body{width:100%;box-sizing:border-box;min-height:90px;resize:none;overflow:hidden;background:transparent;border:0;outline:0;color:var(--ink);font-family:inherit;font-size:16px;line-height:1.45}
.tl-share{display:flex;flex-wrap:wrap;gap:6px;align-items:center;border-top:1px solid var(--line);padding-top:8px}
.tl-share .label{margin-right:4px}
.tlwho{display:inline-flex;align-items:center;gap:6px}
.tlles{background:var(--bg);color:var(--ink);border:1px solid var(--amber);border-radius:8px;font-family:var(--fc);font-size:14px;padding:2px 6px}
/* request 153: grey = not shared, lit orange = shared */
.tlpill{border:1px solid #4a525b;background:none;color:var(--dim);opacity:.75;border-radius:14px;padding:2px 10px;font-family:var(--fc);font-size:13px;font-weight:600;letter-spacing:.06em;cursor:pointer}
.tlpill.on{background:var(--amber2);border-color:var(--amber2);color:var(--bg);opacity:1}
.tlpill:hover{opacity:1}
.tln-body{white-space:pre-wrap;font-size:17px;line-height:1.45;color:var(--ink);margin-top:8px;overflow-wrap:anywhere}
/* request 156 (6.11.2026): a small number under every cell (1, 2, 3 … per row); the line before every accent (any stroke
   but the ghost note and the empty cell) twice as thick */
.cell .cn{position:absolute;top:100%;left:0;right:0;margin-top:3px;text-align:center;font-family:var(--mono);font-style:normal;font-size:10px;line-height:1;color:var(--dim);pointer-events:none}
.cell.acc{box-shadow:inset 3px 0 0 var(--ink)}
.cell.lit.acc{box-shadow:inset 3px 0 0 var(--bg)}
.rows .rowline{padding-bottom:16px}
.rows .rowline+.rowline{margin-top:0}
/* request 159 (6.11.2026): "the play button ... needs to be in the middle, aligned with the cells". One centre line: the play
   button, the cells (without the small numbers under them) and the + cell row. Notes hangs under ▶ without moving it. */
.li-pat{align-items:center;padding-bottom:16px}
.li-btns{position:relative;padding-bottom:16px}
.li-btns .notebtn{position:absolute;top:52px;left:50%;transform:translateX(-50%);white-space:nowrap}
.flipbox>.face.front{align-self:center}
.li-len{padding-bottom:16px}
/* request 159, spacing: the hidden back (notes) no longer makes the box taller; it takes the height of the cells, and grows
   only while it is turned to the front */
.flipbox{position:relative}
.flipbox>.back{overflow:auto}
.flipbox .li-notes{min-height:0}
.flipbox.flipped .li-notes{min-height:110px}
/* request 160 (6.11.2026): two rows of numbers: above each cell 1 … last cell (no reset), under it the spoons (reset on every
   accent), same size; the cells close to ▶; padding above and below equal so everything stays on one centre line */
.cell .cn.up{top:auto;bottom:100%;margin:0 0 3px}
.rows .rowline{padding:15px 0}
.li-pat{gap:8px;padding-bottom:0}
.li-btns,.li-len{padding-bottom:0}
.li-pat{margin-bottom:24px}

/* request 172 (6.11.2026): long rows (16 cells) no longer throw ▶ above the cells: ▶ and the cells are one nowrap group that
   shrinks; the hand in parentheses after the top number (fingering items) */
.li-main{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%}
.li-main .flipbox{min-width:0}
.cell .cn.up .hd{color:var(--amber);font-weight:400}
/* 228: in the spoons row the 1 is bold - it is where a spoon begins (Marko 12.11.2026) */
.cell .cn.one{font-weight:700;color:var(--ink)}
.fing-key{margin:-12px 0 12px}
.fing-key b{color:var(--amber)}
/* request 172: the loops box a little narrower so a 16-cell row and its Loops fit one line at 1280 px */
.rowline{gap:8px}
.li-loop{gap:8px}
.li-loop .rep{min-width:46px}
.li-pat{row-gap:16px}

/* request 173: a round switch before every + kind in the Lab; on = green, only the kinds switched on are listed */
.kindsw{display:inline-flex;align-items:center;gap:6px}
.kindsw .sw{width:30px;height:16px;border-radius:8px;border:1px solid var(--dim);background:none;padding:0;position:relative;cursor:pointer;flex:none}
.kindsw .sw i{position:absolute;top:2px;left:2px;width:10px;height:10px;border-radius:50%;background:var(--dim);transition:left .15s}
.kindsw.on .sw{border-color:var(--green);background:rgba(63,185,80,.18)}
.kindsw.on .sw i{left:16px;background:var(--green)}
.kindsw.on button[data-k]{color:var(--green)}

/* request 175: the 4-character code of a Lab item (EX01, EF03 ...) before its title and in the search hits */
.li-code{font-family:var(--mono);font-size:13px;letter-spacing:.06em;color:var(--green);border:1px solid var(--green);border-radius:4px;padding:2px 6px;margin-right:10px;white-space:nowrap}
.labhit .li-code{margin-right:4px;font-weight:400}

/* request 176: the T / P switch cell after the cells of every Traditional rhythm; the lit half is orange */
.tpsw{display:flex;flex-direction:column;width:52px;height:56px;border:1px solid var(--ink);margin-left:6px;flex:none}
.tpsw button{flex:1;border:0;background:none;color:var(--dim);font-family:Barlow,sans-serif;font-size:18px;line-height:1;cursor:pointer;padding:0}
.tpsw button+button{border-top:1px solid var(--ink)}
.tpsw button.on{background:var(--amber);color:var(--bg)}
.tpsw button:not(.on):hover{color:var(--ink)}

/* request 177: the triangle that folds every item in view */
.li-fold.foldall{font-size:16px;width:26px;margin-right:-8px}

/* request 181: three versions: T, P, orn (the ending bar with 16th notes) */
.tpsw button{font-size:15px}
.tpsw button[data-tp="O"]{font-size:12px;letter-spacing:.04em}

/* request 186: one square, four quadrants: T, P, orn T, orn P */
.tpsw{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;flex-direction:initial;width:64px;height:64px}
.tpsw button{border:0;border-right:0;font-size:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.tpsw button+button{border-top:0}
.tpsw button:nth-child(even){border-left:1px solid var(--ink)}
.tpsw button:nth-child(n+3){border-top:1px solid var(--ink)}
.tpsw button i{font-style:normal;font-size:9px;letter-spacing:.02em;margin-bottom:1px}
.tpsw button[data-tp="O"],.tpsw button[data-tp="OP"]{font-size:18px;letter-spacing:0}

/* request 212: the play button is always level with the FIRST row of the rhythm and sticky inside its item (one rule for every kind, student page and classroom use the same player) */
.li-main{align-items:flex-start}
.li-btns{position:relative;width:44px;flex:none;align-self:stretch;padding:0}
.li-btns .play{position:absolute;left:0;top:0}

/* request 213: phrasing rows labelled like the PDF ("1. 7+1 ="), fixed width so the strokes line up; "Reverse dynamics:" heading */
.rlab{flex:none;width:5.6em;text-align:right;font-size:17px;color:var(--amber);white-space:nowrap;font-variant-numeric:tabular-nums}
.rhead{font-size:18px;color:var(--ink);margin:22px 0 6px;letter-spacing:.04em}

/* request 215: the split of a phrasing row ("7+1 =") is as big as the stroke letters in the cells (same variable, family, weight, colour); the row number stays small */
.rlab{width:auto;min-width:7.4em;display:flex;align-items:baseline;justify-content:flex-end;gap:8px}
.rlab .rn{font-size:15px;color:var(--amber)}
.rlab .rs{font-family:Barlow,sans-serif;font-size:var(--cell-fs);font-weight:400;color:var(--ink);line-height:1}

/* request 216: the split is orange (--amber), no "=" and no row number */
.rlab .rs{color:var(--amber)}

/* request 217: teleprompter: the toggle sits under Notes, the row being played is lit */
.tpbtn{border:1px solid var(--amber);background:none;color:var(--amber);border-radius:14px;padding:3px 10px;font-family:var(--fc);font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.tpbtn.on,.tpbtn:hover{background:var(--amber);color:var(--bg)}

/* request 218: the toggles live once in the top bar; no frame on the playing row; the play button is positioned by lessons.js in front of the current row */
/* request 219: the two pills live in each item's header after the title box, the old outlined pill look; Prompter off = dashed and dim, never a filled block */
.itog{display:inline-flex;gap:8px;align-items:center;flex:none}
.itog .tpbtn{background:none;color:var(--amber)}
.itog .tpbtn.on:not(:hover){background:none;color:var(--amber)}
.itog .tpbtn:not(.on){border-style:dashed;opacity:.55}
.li-head .notebtn,.li-head .tpbtn{line-height:1.2}
.li-head .x{margin-left:auto}
/* request 219: on a phone the header wraps, so the title box keeps its width and the two pills are not cut */
.li-head{flex-wrap:wrap;row-gap:8px}
.li-head .li-name{flex:1 1 160px;min-width:160px}

/* request 220: the triangle is an SVG path whose CENTROID is the circle's centre (viewBox 100, centre 50,50; centroid x = 36.67 + 40/3 = 50), no font glyph */
.li-pat .play{padding:0;display:grid;place-items:center;line-height:0}
.li-pat .play .pi{width:100%;height:100%;display:block;fill:currentColor;pointer-events:none}

/* request 224: the lesson plan: numbered steps, minutes, a link to the exercise; same house palette */
.plan{margin-top:22px;border:1px solid var(--line);border-radius:8px;padding:16px;background:var(--bg2)}
.plan-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;font-family:var(--fc);font-weight:700;font-size:18px;letter-spacing:.06em;text-transform:uppercase}
.plan-tot{color:var(--amber)}
.plan-list{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}
.plan-step{display:flex;gap:12px;align-items:flex-start}
.plan-n{flex:none;width:32px;height:32px;border:1px solid var(--amber);border-radius:50%;display:grid;place-items:center;color:var(--amber);font-family:var(--fc);font-weight:700;font-size:16px;line-height:1}
.plan-b{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.plan-row{display:flex;justify-content:space-between;gap:12px;align-items:baseline;flex-wrap:wrap}
.plan-nm{font-size:18px;color:var(--ink);font-weight:600;overflow-wrap:anywhere}
.plan-min{color:var(--amber);font-family:var(--fc);font-weight:700;letter-spacing:.06em;white-space:nowrap}
.plan-tx{font-size:16px;line-height:1.45;color:var(--ink);overflow-wrap:anywhere}
.plan-go{align-self:flex-start;color:var(--amber);font-family:var(--fc);font-weight:600;font-size:13px;letter-spacing:.08em;text-transform:uppercase;border:1px solid var(--amber);border-radius:14px;padding:3px 10px;text-decoration:none}
.plan-go:hover{background:var(--amber);color:var(--bg)}

/* request 227 (Marko, 10.11.2026): a phrasing row is two bars: one bar (8 cells) per line, never both bars in one line */
.cells.phr{max-width:410px}

/* 229 (Marko 12.11.2026): "make exception for this exercise ... build it differently and independently from the
   rest of the site, so it looks like mobile phone exercise. Anything you change here is not affecting the whole
   site." Everything below is scoped to .phrx (a phrasing item only) and matches MPA Academy (Mantra) v26. */
.phrx .cell .cn.up{display:none}                     /* no number row above: the phone shows only the spoons */
.phrx .cells{margin-top:0;row-gap:26px}   /* the 20px spoons need their own room: without this the numbers
                                              under the first line of 8 land on top of the second line (12.11.2026) */
.phrx .cell .cn{font-size:20px;margin-top:5px}       /* the spoons at twice the size, as in the app */
.phrx .cell.lit .cn{color:var(--amber)}              /* the number lights with its cell */
/* 230 (Marko 12.11.2026): "don't underline names in reverse dynamic. Only in the title and the controller at the
   top you underline, but not at the page itself." The row titles stay plain; the item's own title carries it. */
.phrx .li-name .revmark{text-decoration:underline;text-underline-offset:4px}

/* request 257 (15.11.2026): lesson videos, the one player (vplayer.js). The picture is a 9:16 frame, object-fit contain: never cropped, controls never change its size. */
.vseries{margin:8px 0 22px}
.vpart{border:1px solid var(--line);border-radius:10px;margin:10px 0;background:var(--bg2)}
.vpart>summary{cursor:pointer;display:flex;gap:12px;align-items:baseline;padding:12px 14px;font-family:var(--fc);font-weight:700;font-size:20px;letter-spacing:.03em}
.vpart-d{margin-left:auto;color:var(--dim);font-family:var(--mono);font-size:14px}
.vpart-body{display:flex;gap:24px;padding:0 14px 16px;flex-wrap:wrap;align-items:flex-start}
.vpart-play{flex:0 0 auto;width:min(100%,380px)}
.vpart-info{flex:1 1 320px;min-width:0;line-height:1.5}
.vpart-info p{margin:.5em 0}
.vp{position:relative;aspect-ratio:9/16;width:100%;background:#000;border-radius:8px;overflow:hidden;outline:none;user-select:none}
.vp video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000}
.vp:fullscreen{border-radius:0;aspect-ratio:auto}
.vp-tap{position:absolute;inset:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.vp-big{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;opacity:0;transition:opacity .3s}
.vp:not(.playing) .vp-big,.vp.show .vp-big{opacity:1}
.vp-bigbtn{width:76px;height:76px;padding:0;border-radius:50%;background:rgba(11,13,16,.7);border:2px solid var(--amber);display:flex;align-items:center;justify-content:center;color:var(--amber);cursor:pointer;pointer-events:auto}
.vp.playing:not(.show) .vp-bigbtn{pointer-events:none}
.vp-bigbtn:hover{background:rgba(245,158,11,.25)}
.vp svg{width:100%;height:100%;fill:currentColor}
.vp-bigbtn svg{width:70%;height:70%}
.vp-ctl{position:absolute;left:0;right:0;bottom:0;padding:26px 10px 8px;background:linear-gradient(transparent,rgba(0,0,0,.82));opacity:0;pointer-events:none;transition:opacity .3s}
.vp.show .vp-ctl{opacity:1;pointer-events:auto}
.vp-seek{position:relative;height:22px}
.vp-bar{position:absolute;left:0;right:0;top:9px;height:4px;background:rgba(255,255,255,.25);border-radius:2px}
.vp-fill{position:absolute;left:0;top:0;bottom:0;width:0;background:var(--amber);border-radius:2px}
.vp-tick{position:absolute;top:-3px;width:2px;height:10px;background:var(--ink);opacity:.7}
.vp-range{position:absolute;inset:0;width:100%;margin:0;opacity:0;cursor:pointer;height:22px}
.vp-row{display:flex;align-items:center;gap:4px;color:var(--ink)}
.vp-sp{flex:1}
.vp-time{font-family:var(--mono);font-size:12px;color:var(--ink);margin-left:4px}
.vp-b{width:44px;height:44px;padding:9px;border:0;background:transparent;color:var(--ink);cursor:pointer;border-radius:50%;font-family:var(--fc);font-weight:700;font-size:16px}
.vp-b:hover,.vp-b:active{background:rgba(245,158,11,.25);color:var(--amber2)}
.vp-speed{width:auto;min-width:44px;border-radius:22px;padding:0 8px}
.vp-vw{position:relative}
.vp-drawer{position:absolute;bottom:50px;left:50%;transform:translateX(-50%);background:rgba(11,13,16,.92);border:1px solid var(--line);border-radius:10px;padding:10px;display:flex;flex-direction:column;align-items:center;gap:10px}
.vp-drawer[hidden]{display:none}
.vp-vol{writing-mode:vertical-lr;direction:rtl;height:110px;width:28px}
.vp-mt{background:transparent;border:1px solid var(--line);color:var(--ink);border-radius:16px;min-height:44px;padding:0 14px;cursor:pointer}
.vp-chs{display:flex;flex-direction:column;gap:2px;margin-top:10px}
.vp-ch{text-align:left;background:transparent;border:0;border-left:3px solid transparent;color:var(--ink);padding:10px 8px;min-height:44px;cursor:pointer;font-family:var(--f);font-size:15px}
.vp-ch b{font-family:var(--mono);color:var(--dim);font-weight:400;margin-right:6px}
.vp-ch:hover{background:rgba(245,158,11,.12)}
.vp-ch.on{border-left-color:var(--amber);color:var(--amber2)}
.vp-pts{list-style:none;padding:0;margin:8px 0}
.vp-pts li{margin:0 0 14px}
.vp-pt{display:flex;gap:10px;align-items:baseline;background:transparent;border:0;color:var(--amber2);cursor:pointer;padding:6px 0;min-height:36px;font-family:var(--fc);font-size:19px;letter-spacing:.04em;text-align:left}
.vp-pt-t{font-family:var(--mono);font-size:12px;color:var(--dim)}
.vp-exs{margin-top:4px;color:var(--dim);font-size:14px}
.vp-ex{display:inline-block;margin-right:8px;padding:3px 8px;border:1px solid var(--amber);border-radius:12px;text-decoration:none;font-family:var(--mono);font-size:13px}
.vtr{margin-top:16px}.vtr>summary{cursor:pointer;min-height:36px}
.vtr-l{margin:.3em 0;font-size:15px}
.vtr-t{background:transparent;border:0;color:var(--amber2);font-family:var(--mono);font-size:12px;cursor:pointer;padding:6px 4px;min-height:32px}
@media (max-width:760px){.vpart-play{width:100%}.vpart-body{gap:14px}}
.vp input{accent-color:var(--amber)}
/* request 259: exercise chips inline in the text; transcript never shown */
.vp-ex{display:inline-block;margin:0 2px;padding:1px 9px;white-space:nowrap}
/* request 260: the sequencer inline in the text: cells + one play button, nothing else (same player, lessons.js inlineEx) */
.vp-seq{display:block;margin:8px 0 10px}
.li.inl{border:0;background:none;padding:0;margin:0}
.li.inl .li-head,.li.inl .li-row,.li.inl .keys,.li.inl .cn,.li.inl .tpsw,.li.inl .itog,.li.inl .lp-w,.li.inl .loopn,.li.inl .li-len,.li.inl .hd{display:none!important}
.li.inl .li-pat{margin:0;padding:0}

/* request 269 (17.11.2026): one thin always-visible progress line, nothing else; the hit area is tall for thumbs */
.vp-line{position:absolute;left:0;right:0;bottom:0;height:28px;cursor:pointer;touch-action:none;z-index:3}
.vp-line .vp-bar{left:10px;right:10px;top:auto;bottom:12px;height:3px}
.vp-line:hover .vp-bar{height:5px;bottom:11px}
.vp-pt{display:block;padding:6px 0;color:var(--amber2);font-family:var(--fc);font-weight:700}
.vp-pt{cursor:default;min-height:0}
/* request 273: keyboard-active item (click it, then Space / arrows) */
.li.kb:not(.inl){outline:1px solid rgba(245,158,11,.45);outline-offset:2px}
.li.inl.kb{outline:1px solid rgba(245,158,11,.45);outline-offset:4px;border-radius:6px}
.kbhint{display:none;font-family:Barlow,sans-serif;font-size:12px;color:var(--dim);margin:6px 0 0}
.li.kb:not(.inl):not(.folded) .kbhint{display:block}
.rowline.kbsel{box-shadow:inset 3px 0 0 var(--amber)}
@media (max-width:480px){.kbhint{font-size:11px}}
