/*
 * The Podium single. Rides the Podium tokens (--o-*, maroon and gold) and
 * the icon-capsule rails. Prefix: po-. The stage is the page.
 */

.po-main { min-width: 0; align-self: start; }

/* ---------- Header ---------- */
.po-head { padding: 12px 0 4px; }
.po-crumb { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 12.5px; font-weight: 700; color: #8a7a74; margin: 0 0 8px; }
.po-crumb a { color: var(--o-primary-2); }
.po-crumb a:hover { text-decoration: underline; }
.po-head h1 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; margin: 4px 0 10px; }
.po-standfirst { font-size: 17px; line-height: 1.6; color: var(--o-body); margin: 0 0 12px; max-width: 720px; }
.po-pill-hi { background: #fff4e0; color: #7a4b00; border-color: #e6c58a !important; }

/* ---------- At a glance ---------- */
.po-glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 14px 0 16px; background: var(--o-line); border: 1px solid var(--o-line); border-radius: 16px; overflow: hidden; }
.po-glance > div { background: var(--o-surface); padding: 12px 14px; display: grid; gap: 2px; min-width: 0; }
.po-glance dt { font-size: 10.5px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; color: #8a7a74; }
.po-glance dd { margin: 0; font-size: 14px; font-weight: 700; color: var(--o-ink); line-height: 1.35; overflow-wrap: anywhere; }

/* ---------- The clock, docked in the left rail (desktop) ----------
   Lives OUTSIDE .o4-collapse, so hovering it never expands the rail. */
@media (min-width: 1201px) {
	.o4-rail--left .po-clockbar.is-docked:not([hidden]) { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 6px; position: sticky; top: 318px; margin: 14px auto 0; width: 92px; padding: 10px 6px 8px; background: #fff; border: 1px solid var(--o-line); border-radius: 16px; box-shadow: 0 8px 22px rgba(76, 18, 25, .08); text-align: center; z-index: 5; }
	/* the expanded rail panel always paints OVER the docked clock */
	.po-single .o4-rail--left .o4-collapse { z-index: 40; }
	.o4-rail--left .po-clockbar.is-docked:not([hidden]) { z-index: 1; }
	.o4-rail--left .po-clockbar.is-docked .po-clock-text b { display: none; }
	.o4-rail--left .po-clockbar.is-docked .po-clock-text span { font-size: 9.5px; letter-spacing: .6px; white-space: nowrap; }
	.o4-rail--left .po-clockbar.is-docked .po-clock-btns { flex-direction: column; gap: 4px; width: 100%; }
	.o4-rail--left .po-clockbar.is-docked .po-clock-btns .po-btn { justify-content: center; width: 100%; padding: 6px 4px; font-size: 11.5px; border-radius: 9px; box-shadow: none; }
	.o4-rail--left .po-clockbar.is-docked .po-verdict { display: none; }
	.po-stage .po-verdict-mirror:not(:empty) { margin: 0 0 12px; }
}

/* ---------- Jump bar ---------- */
.po-bar { position: sticky; top: 50px; z-index: 30; display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; background: color-mix(in srgb, var(--o-bg) 86%, #fff); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--o-line); border-radius: 14px; padding: 6px 8px; margin: 0 0 14px; box-shadow: 0 10px 28px rgba(76, 18, 25, .06); }
.po-bar::-webkit-scrollbar { display: none; }
.po-bar a { flex-shrink: 0; font-size: 12.5px; font-weight: 700; color: var(--o-body); border-radius: 10px; padding: 6px 10px; white-space: nowrap; transition: background .2s, color .2s; }
.po-bar a:hover { background: var(--o-surface); color: var(--o-primary); text-decoration: none; }
.po-bar a.is-here { background: var(--o-primary); color: #fff; }
.po-bar-ready { margin-left: auto; flex-shrink: 0; font-size: 12px; font-weight: 800; color: var(--o-primary); background: var(--o-surface); border: 1px solid var(--o-line); border-radius: 10px; padding: 5px 10px; white-space: nowrap; }
.po-bar-ready.is-all { background: #eafff4; color: #0f5132; border-color: #9ad7b4; }

/* ---------- The stage ---------- */
.po-stage { background: var(--o-surface); border: 1px solid var(--o-line); border-radius: 20px; padding: 18px 20px 20px; box-shadow: 0 18px 44px rgba(76, 18, 25, .08); position: relative; }
.po-stage:before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--o-primary), var(--o-accent)); border-radius: 20px 20px 0 0; }
.po-deck { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; padding: 8px 12px; background: var(--o-bg); border: 1px solid var(--o-line); border-radius: 14px; margin: 0 0 12px; }
.po-deck-group { display: inline-flex; align-items: center; gap: 3px; padding-right: 10px; border-right: 1px solid var(--o-line); }
.po-deck-group:last-of-type { border-right: 0; padding-right: 0; }
.po-deck-label { display: inline-flex; align-items: baseline; gap: 4px; font-size: 12.5px; font-weight: 800; color: var(--o-primary); margin-right: 2px; white-space: nowrap; }
.po-deck-label small { font-size: 9.5px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: #8a7a74; }
.po-deck-group button, .po-deck-group select { display: inline-flex; align-items: center; gap: 3px; border: 1px solid var(--o-line); background: var(--o-surface); color: var(--o-ink); font: inherit; font-size: 12.5px; font-weight: 800; border-radius: 9px; padding: 5px 8px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.po-deck-group select { max-width: 96px; padding: 5px 4px; }
.po-deck-group button i { font-style: normal; font-size: 9.5px; font-weight: 800; background: #fff4e0; color: #7a4b00; border-radius: 6px; padding: 0 4px; }
.po-deck-group button:hover { border-color: var(--o-accent); }
.po-deck-group button.is-on, .po-deck-group select.is-on { background: var(--o-primary); border-color: var(--o-primary); color: #fff; }
.po-deck-group button.is-on i { background: rgba(255, 255, 255, .9); }
.po-deck-group button.is-written:after { content: " ✎"; font-size: 10px; opacity: .8; }
.po-deck .po-langnote { flex-basis: 100%; font-size: 11.5px; color: #8a7a74; font-weight: 600; margin: 0; }

/* the clock beside the text */
.po-clockbar:not([hidden]) { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; position: sticky; top: 100px; z-index: 20; background: color-mix(in srgb, #fffdf8 92%, #fff); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--o-line); border-radius: 14px; padding: 10px 14px; margin: 0 0 12px; box-shadow: 0 10px 26px rgba(76, 18, 25, .08); }
.po-clock-ring { position: relative; width: 64px; height: 64px; }
.po-clock-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.po-clock-ring circle { fill: none; stroke: var(--o-line); stroke-width: 6; }
.po-clock-ring .po-ring-fill { stroke: #128a6c; stroke-linecap: round; stroke-dasharray: 157; stroke-dashoffset: calc(157 * (1 - var(--p, 0))); transition: stroke-dashoffset .25s linear, stroke .3s; }
.po-clock-ring.is-over .po-ring-fill { stroke: #d9822b; }
.po-clock-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--o-ink); }
.po-clock-text { display: grid; gap: 1px; min-width: 0; }
.po-clock-text b { font-size: 14px; color: var(--o-ink); }
.po-clock-text span { font-size: 11.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #8a7a74; }
.po-clock-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.po-clock-btns .po-btn { padding: 8px 13px; font-size: 13px; }
.po-clockbar .po-verdict { grid-column: 1 / -1; margin: 0; }

.po-paper { position: relative; background: #fffdf8; border: 1px solid var(--o-line); border-radius: 14px; padding: 16px 22px 18px; background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(201, 162, 75, .12) 31px 32px); }
.po-paper-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 8px; }
.po-meta { font-size: 12.5px; font-weight: 800; color: var(--o-primary); font-variant-numeric: tabular-nums; }
.po-source { font-size: 12px; font-weight: 700; border-radius: 10px; padding: 3px 9px; }
.po-source.is-written { background: #fff4e0; color: #7a4b00; border: 1px solid #e6c58a; }
.po-source.is-machine { background: #eef2fb; color: #2c4a80; border: 1px solid #c9d6f0; }
.po-type { margin-left: auto; display: flex; gap: 4px; }
.po-type button { border: 1px solid var(--o-line); background: #fff; border-radius: 8px; width: 34px; height: 30px; font: inherit; font-weight: 800; font-size: 12px; cursor: pointer; }
.po-text { font-family: var(--font-head, Georgia, serif); font-size: 17px; line-height: 1.9; color: var(--o-ink); min-height: 120px; transition: opacity .2s; }
.po-text p { margin: 0 0 1em; }
.po-text p:first-child::first-letter { font-size: 2.2em; font-weight: 700; color: var(--o-primary); float: left; line-height: .9; padding: 4px 8px 0 0; }
.po-text.is-indic { font-family: "Noto Serif Devanagari", "Noto Sans Devanagari", var(--font-head, Georgia, serif); line-height: 2; }
.po-text.is-indic p:first-child::first-letter { font-size: 1em; float: none; padding: 0; color: inherit; font-weight: inherit; }
.po-text[lang="ur-IN"] { direction: rtl; text-align: right; }
.po-stage.is-busy .po-text { opacity: .55; }
.po-wait { color: #8a7a74; font-style: italic; }
.po-custom:not([hidden]) { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: #7a4b00; background: #fff4e0; border: 1px dashed #e6c58a; border-radius: 10px; padding: 8px 12px; }
.po-custom button { border: 0; background: var(--o-primary); color: #fff; border-radius: 8px; padding: 5px 10px; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }

.po-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 0; }
.po-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; font: inherit; background: var(--o-grad); color: #fff; font-weight: 800; font-size: 13.5px; border-radius: 12px; padding: 9px 15px; box-shadow: 0 10px 24px rgba(76, 18, 25, .22); transition: transform .22s, box-shadow .22s; }
.po-btn:hover { transform: translateY(-2px); color: #fff; text-decoration: none; }
.po-btn:disabled { opacity: .6; transform: none; cursor: default; }
.po-btn--ghost { background: var(--o-surface); color: var(--o-primary); border: 1.5px solid var(--o-line); box-shadow: none; }
.po-btn--ghost:hover { color: var(--o-primary); border-color: var(--o-primary-2); }
.po-btn--ghost.is-on { background: var(--o-primary); color: #fff; border-color: var(--o-primary); }

.po-cues { margin-top: 14px; background: var(--o-bg); border: 1px solid var(--o-line); border-radius: 14px; padding: 14px 16px; }
.po-cues-head { display: grid; gap: 2px; margin: 0 0 10px; }
.po-cues-head b { color: var(--o-primary); }
.po-cues-head span { font-size: 12.5px; color: #8a7a74; }
.po-cues ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; counter-reset: cue; }
.po-cues li { counter-increment: cue; }
.po-cues li button { width: 100%; text-align: left; border: 1px solid var(--o-line); background: var(--o-surface); border-radius: 12px; padding: 10px 12px 10px 44px; font: inherit; cursor: pointer; position: relative; display: grid; gap: 6px; }
.po-cues li button:before { content: counter(cue); position: absolute; left: 12px; top: 10px; width: 22px; height: 22px; display: grid; place-items: center; background: var(--o-accent); color: #241703; font-weight: 900; font-size: 12px; border-radius: 50%; }
.po-cues li button b { color: var(--o-ink); font-size: 14.5px; line-height: 1.4; }
.po-cues li button span { display: none; font-size: 14px; line-height: 1.6; color: var(--o-body); }
.po-cues li.is-open button span { display: block; }

/* ---------- Sections ---------- */
.po-sec { background: var(--o-surface); border: 1px solid var(--o-line); border-radius: 18px; padding: 20px 22px; margin: 18px 0; }
.po-sec-head { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin: 0 0 6px; }
.po-sec-head h2 { margin: 0; font-size: 22px; border: 0; padding: 0; flex: 1; min-width: 0; }
.po-eyebrow { display: block; width: 100%; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--o-accent); }
.po-lead { margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; color: #6b5a55; }
.po-count { font-size: 12.5px; font-weight: 800; color: var(--o-primary); background: var(--o-bg); border: 1px solid var(--o-line); border-radius: 12px; padding: 4px 10px; }
.po-count.is-all { background: #eafff4; color: #0f5132; border-color: #9ad7b4; }

/* runs */
.po-runs-reset { font-size: 12px; padding: 6px 10px; }
.po-laps-empty { margin: 0; font-size: 13.5px; color: #8a7a74; }
.po-laps-empty[hidden] { display: none; }

/* rehearse */
.po-timer { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: center; }
.po-timer-ring { position: relative; width: 180px; height: 180px; }
.po-timer-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.po-timer-ring circle { fill: none; stroke: var(--o-line); stroke-width: 9; }
.po-timer-ring .po-ring-fill { stroke: #128a6c; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: calc(326.7 * (1 - var(--p, 0))); transition: stroke-dashoffset .25s linear, stroke .3s; }
.po-timer-ring.is-over .po-ring-fill { stroke: #d9822b; }
.po-timer-face { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 2px; }
.po-timer-face b { font-size: 34px; font-variant-numeric: tabular-nums; color: var(--o-ink); line-height: 1; }
.po-timer-face span { font-size: 11.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #8a7a74; }
.po-timer-side { display: grid; gap: 10px; min-width: 0; }
.po-timer-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.po-verdict { border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 700; line-height: 1.5; }
.po-verdict.is-ok { background: #eafff4; color: #0f5132; border: 1px solid #9ad7b4; }
.po-verdict.is-off { background: #fff4e0; color: #7a4b00; border: 1px solid #e6c58a; }
.po-laps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.po-laps li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 12.5px; color: #6b5a55; border-bottom: 1px dashed var(--o-line); padding: 4px 0; }
.po-laps li b { font-variant-numeric: tabular-nums; color: var(--o-ink); }
.po-laps li i { font-style: normal; font-weight: 800; color: #d9822b; }
.po-laps li.is-ok i { color: #128a6c; }

/* make it yours */
.po-ideas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.po-idea-col h3 { margin: 0 0 8px; font-size: 14px; letter-spacing: .5px; color: var(--o-primary); }
.po-idea { border: 1px solid var(--o-line); border-radius: 12px; padding: 12px 14px; margin: 0 0 8px; display: grid; gap: 8px; background: var(--o-bg); }
.po-idea p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--o-body); }
.po-idea button { justify-self: start; border: 1px solid var(--o-line); background: #fff; color: var(--o-primary); font: inherit; font-size: 12.5px; font-weight: 800; border-radius: 10px; padding: 6px 11px; cursor: pointer; transition: background .2s, color .2s; }
.po-idea button:hover { background: var(--o-primary); color: #fff; }
.po-idea button.is-on { background: var(--o-accent); border-color: var(--o-accent); color: #241703; }
.po-idea button.is-on:before { content: "✓ "; }

/* points */
.po-flash-toggle { font-size: 12.5px; padding: 7px 12px; }
.po-points { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.po-point { width: 100%; text-align: left; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; border: 1px solid var(--o-line); background: var(--o-bg); border-radius: 12px; padding: 12px 14px; font: inherit; cursor: default; position: relative; }
.po-point-n { width: 28px; height: 28px; display: grid; place-items: center; background: var(--o-primary); color: #fff; font-weight: 900; font-size: 13px; border-radius: 50%; }
.po-point-t { font-size: 15px; line-height: 1.55; color: var(--o-ink); }
.po-point-hint { display: none; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--o-accent); }
.po-points.is-hidden .po-point { cursor: pointer; }
.po-points.is-hidden .po-point:not(.is-shown) .po-point-t { filter: blur(7px); user-select: none; }
.po-points.is-hidden .po-point:not(.is-shown) .po-point-hint { display: block; }

/* vocabulary */
.po-vocab { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.po-word { border: 1px solid var(--o-line); border-radius: 12px; padding: 12px 14px; background: var(--o-bg); display: grid; gap: 3px; }
.po-word-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.po-word-head b { font-family: var(--font-head, Georgia, serif); font-size: 17px; color: var(--o-primary); }
.po-word-head button { border: 1px solid var(--o-line); background: #fff; border-radius: 8px; width: 32px; height: 28px; cursor: pointer; font-size: 13px; }
.po-word i { font-size: 12.5px; color: #8a7a74; }
.po-word p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--o-body); }

/* delivery */
.po-tips { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.po-tip { width: 100%; text-align: left; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; border: 1px solid var(--o-line); background: var(--o-surface); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 14.5px; line-height: 1.5; color: var(--o-ink); cursor: pointer; transition: border-color .2s, background .2s; }
.po-tip:hover { border-color: var(--o-accent); }
.po-tip-box { width: 22px; height: 22px; border: 2px solid var(--o-line); border-radius: 7px; margin-top: 1px; display: grid; place-items: center; }
.po-tip.is-done { background: #fff8ea; border-color: var(--o-accent); }
.po-tip.is-done .po-tip-box { background: var(--o-accent); border-color: var(--o-accent); }
.po-tip.is-done .po-tip-box:before { content: "✓"; color: #241703; font-weight: 900; font-size: 13px; }
.po-tip.is-done > span:last-child { opacity: .7; }

/* brief */
.po-entry { font-size: 16.5px; line-height: 1.75; }
.po-entry p { margin: 0 0 1em; }

/* siblings */
.po-more { margin-top: 30px; }
.po-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.po-card { display: flex; flex-direction: column; background: var(--o-surface); border: 1px solid var(--o-line); border-radius: 16px; overflow: hidden; color: var(--o-body); transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s; }
.po-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(76, 18, 25, .14); text-decoration: none; }
.po-card-media { display: block; aspect-ratio: 16 / 9; background: var(--o-grad); overflow: hidden; }
.po-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.po-card-fall { display: grid; place-items: center; height: 100%; font-size: 36px; }
.po-card-body { display: grid; gap: 3px; padding: 12px 14px 14px; }
.po-card-body em { font-style: normal; font-size: 10.5px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase; color: var(--o-accent); }
.po-card-body b { font-family: var(--font-head, Georgia, serif); font-size: 16px; line-height: 1.3; color: var(--o-ink); }

/* rail lead */
.po-rail-body { display: grid; }
.po-rail-body a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px 14px; border-bottom: 1px dashed var(--o-line); font-size: 13px; font-weight: 700; color: var(--o-ink); }
.po-rail-body a:last-child { border-bottom: 0; }
.po-rail-body a:hover { background: var(--o-bg); text-decoration: none; color: var(--o-primary); }
.po-rail-body a { grid-template-columns: 26px minmax(0, 1fr) 18px; }
.po-rail-body a i { justify-self: end; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--o-line); }
.po-rail-body a.is-done i { background: #128a6c; border-color: #128a6c; }
.po-rail-body a.is-done span { color: #0f5132; }
.po-rail-note { margin: 0; padding: 10px 14px; font-size: 12px; color: #8a7a74; line-height: 1.5; border-top: 1px dashed var(--o-line); }
.po-rail-body b { width: 24px; height: 24px; display: grid; place-items: center; background: var(--o-accent); color: #241703; border-radius: 50%; font-size: 12px; }

/* ---------- Teleprompter ---------- */
.po-prompter { position: fixed; inset: 0; z-index: 400; background: #0d0a0b; color: #f7f3ea; display: flex; flex-direction: column; }
.po-prompter[hidden] { display: none; }
body.po-p-open { overflow: hidden; }
.po-p-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 16px; background: #1a1416; }
.po-p-btn { background: #2a2224; color: #fff; border: 1px solid #4a3d40; border-radius: 8px; padding: 7px 12px; font: inherit; font-weight: 700; cursor: pointer; }
.po-p-speed { color: #bba; font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; }
.po-p-clock { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 800; color: var(--o-accent); }
.po-p-scroll { flex: 1; overflow-y: auto; padding: 8vh 8vw; }
.po-p-text { font-size: 40px; line-height: 1.8; max-width: 960px; margin: 0 auto; padding-bottom: 60vh; }
.po-p-text p { margin: 0 0 1em; }
.po-prompter.is-mirror .po-p-text { transform: scaleX(-1); }

/* ---------- Focus ---------- */
.po-single button:focus-visible, .po-single a:focus-visible, .po-single select:focus-visible, .po-single [tabindex]:focus-visible { outline: 3px solid var(--o-accent); outline-offset: 2px; }

/* ---------- Print ---------- */
@media print {
	.o4-rail, .o4-share, .po-actions, .po-deck, .po-clockbar, .po-bar, .po-type, .po-rehearse, .po-prompter, .po-grid, .po-more, .o4-quiz-cta, .op4-progress, .o4-drawer-btn, .po-flash-toggle, .po-idea button, .po-word-head button, .com-panel { display: none !important; }
	.o4-3col { display: block !important; }
	.po-stage, .po-sec { break-inside: avoid; border: 1px solid #ccc; box-shadow: none; }
	.po-paper { background: none; }
	.po-points.is-hidden .po-point .po-point-t { filter: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) { .po-vocab, .po-ideas { grid-template-columns: 1fr; } .po-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
	.po-deck-group { border-right: 0; padding-right: 0; flex-wrap: wrap; }
	.po-clockbar:not([hidden]) { grid-template-columns: 56px minmax(0, 1fr); top: 92px; }
	.po-clock-btns { grid-column: 1 / -1; }
	.po-bar { top: 46px; }
	.po-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.po-stage, .po-sec { padding: 16px; border-radius: 14px; }
	.po-paper { padding: 14px 16px; }
	.po-timer { grid-template-columns: 1fr; justify-items: center; }
	.po-timer-side { width: 100%; }
	.po-grid { grid-template-columns: 1fr; }
	.po-p-text { font-size: 30px; }
	.po-type { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.po-btn, .po-card, .po-ring-fill, .po-sizes button { transition: none; }
}

/* The School Day: where the piece belongs, and the phrases its hall expects. */
.po-where { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 12px 0 0; background: #fff; border: 1px solid #e9dcc9; border-left: 4px solid #c9a24b; border-radius: 10px; padding: 10px 14px; font-size: .88rem; }
.po-where-kind { font: 700 .68rem/1 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #6b1f2a; }
.po-where-ctry { font-weight: 700; color: #2b2723; }
.po-where-note { flex-basis: 100%; color: #5f5648; line-height: 1.5; }
.po-where-note b { color: #2b2723; }
.po-phrases { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.po-phrase { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid #e9dcc9; border-radius: 12px; padding: 14px 16px; }
.po-phrase em { font: 700 .66rem/1 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #c9a24b; font-style: normal; }
.po-phrase b { font-size: 1.15rem; line-height: 1.5; color: #2b2723; }
.po-phrase-roman { font-weight: 600; color: #6b1f2a; }
.po-phrase-say { font-size: .8rem; color: #6f675c; }
.po-phrase-means { font-size: .84rem; color: #3b342d; }
.po-phrase .po-say { align-self: flex-start; margin-top: 4px; }
