/* ==========================================================================
   Presenting and training tools. Loaded only on those pages.
   ========================================================================== */
.g-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tr-empty { color: var(--muted); font-size: 0.95rem; margin: 6px 2px; }
@keyframes tr-in { from { transform: translateY(8px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.btn.armed { background: var(--red); color: #fff; border-color: var(--red); }

/* ---------- Sticky notes (board kit) ---------- */
.bk-note {
  position: relative; background: var(--np, #fff3b0); color: #1d1a10; border-radius: 4px 4px 14px 4px; padding: 12px 30px 12px 14px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 6px 14px -8px rgba(0, 0, 0, 0.35); border-top: 5px solid var(--ne, #e8c547);
  font-weight: 650; font-size: 1rem; line-height: 1.3; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; animation: tr-in 0.25s var(--ease);
}
.bk-note p { margin: 0; overflow-wrap: anywhere; }
.bk-note:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.bk-x, .bk-tick {
  position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: transparent; color: rgba(0, 0, 0, 0.4);
  font-size: 0.8rem; cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity 0.15s, background 0.15s;
}
.bk-note:hover .bk-x, .bk-note:focus-within .bk-x, .pw-card:hover .bk-x { opacity: 1; }
.bk-x:hover { background: rgba(0, 0, 0, 0.1); color: #000; }
.bk-tick { top: auto; bottom: 6px; opacity: 1; background: rgba(255, 255, 255, 0.7); color: #1f8a55; font-weight: 800; font-size: 0.95rem; width: 28px; height: 28px; }
.bk-tick:hover { background: #2fa66a; color: #fff; }
.bk-name { display: block; margin-top: 6px; font-size: 0.78rem; font-weight: 700; color: rgba(0, 0, 0, 0.55); }
.bk-note.answered { opacity: 0.75; }
.bk-note.answered p { text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, 0.35); }
.bk-dragging { opacity: 0.3; }
.bk-ghost { position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; cursor: grabbing; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.45); animation: none; }
body.bk-drag-on, body.bk-drag-on * { cursor: grabbing !important; }
@media (hover: none) { .bk-x { opacity: 0.8; } }

/* ---------- Columns and add bars ---------- */
.tr-add { display: flex; gap: 8px; width: 100%; flex-wrap: wrap; }
.tr-add[hidden] { display: none; }
.tr-add input { flex: 1; min-width: 180px; font-size: 1.05rem; padding: 12px 14px; }
.tr-add .tr-add-name { flex: 0 1 180px; min-width: 120px; }
.tr-add .btn { height: auto; min-height: 46px; }
.tr-cols { display: grid; gap: 14px; width: 100%; align-items: start; }
.tr-cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tr-cols.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tr-cols.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tr-cols.themes { grid-template-columns: repeat(var(--n, 3), minmax(180px, 1fr)); overflow-x: auto; }
@media (max-width: 760px) { .tr-cols.two, .tr-cols.three, .tr-cols.four { grid-template-columns: 1fr; } }
.tr-col { background: var(--surface-2); border-radius: 16px; padding: 12px; min-height: 220px; border: 2px dashed transparent; transition: border-color 0.15s, background 0.15s; display: flex; flex-direction: column; gap: 10px; }
.tr-col.bk-over, .bk-over { border-color: var(--accent) !important; background: var(--accent-soft) !important; }
.tr-col h3, .tr-col h2.tr-h { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.05rem; }
.tr-col h3 svg, .tr-col h2.tr-h svg { width: 20px; height: 20px; color: var(--muted); }
.tr-col h3 .num, .tr-col h2.tr-h .num { margin-left: auto; font-size: 0.85rem; color: var(--muted); font-weight: 700; }
.tr-col h3 input { flex: 1; min-width: 0; font: inherit; font-weight: 750; padding: 4px 8px; border-radius: 8px; border: 1px solid transparent; background: transparent; }
.tr-col h3 input:hover, .tr-col h3 input:focus { border-color: var(--border-strong); background: var(--surface); }
.tr-col h3 .bk-x { position: static; opacity: 0.6; color: var(--muted); }
.tr-col.done { background: color-mix(in srgb, var(--green) 7%, var(--surface-2)); }
.tr-col.loose { background: color-mix(in srgb, var(--text) 4%, var(--surface)); border-color: var(--border); }
.tr-notes { display: grid; gap: 10px; align-content: start; flex: 1; }
.tr-notes.wrap { display: flex; flex-wrap: wrap; gap: 12px; }
.tr-notes.wrap .bk-note { width: 200px; }
.tr-mine { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 2px; font-size: 0.9rem; }
.tr-mine li { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
body.presenting .stage-body.stage-top { padding-top: 64px; }
body.presenting .bk-note { font-size: clamp(1rem, 2.2vh, 1.6rem); }
body.presenting .tr-col h3, body.presenting .tr-col h2.tr-h { font-size: clamp(1.05rem, 2.4vh, 1.8rem); }
body.presenting .tr-add input { font-size: clamp(1rem, 2.2vh, 1.5rem); }
.bs-prompt { font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
body.presenting .bs-prompt { font-size: clamp(1.8rem, 5vh, 3.6rem); }

/* ---------- Agenda timer ---------- */
.ag-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; text-align: left; }
@media (max-width: 760px) { .ag-body { grid-template-columns: 1fr; } }
.ag-now { display: grid; gap: 6px; }
.ag-item { font-size: clamp(1.6rem, 3.6vw, 2.6rem); margin: 0; letter-spacing: -0.035em; line-height: 1.1; text-wrap: balance; }
.ag-who { margin: 0; color: var(--text-2); font-weight: 600; }
.ag-who[hidden] { display: none; }
.ag-clock { font-size: clamp(4rem, 11vw, 7.5rem); font-weight: 750; letter-spacing: -0.05em; line-height: 1; margin-top: 8px; }
.ag-clock.warn { color: color-mix(in srgb, var(--amber) 80%, var(--text)); }
.ag-clock.over { color: var(--red); }
.ag-bar { height: 12px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.ag-bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width 0.25s linear; }
.ag-bar.over i { background: var(--red); }
.ag-finish { margin: 4px 0 0; color: var(--text-2); font-weight: 650; }
.ag-finish.late { color: var(--red); }
.ag-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ag-list li { display: grid; grid-template-columns: 3.4em minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; cursor: pointer; color: var(--text-2); font-weight: 600; }
.ag-list li:hover { background: var(--surface-2); }
.ag-list li.now { background: var(--accent-soft); color: var(--text); box-shadow: inset 4px 0 0 var(--accent); }
.ag-list li.done { color: var(--muted); }
.ag-list li.done .ag-txt { text-decoration: line-through; }
.ag-list small { color: var(--muted); font-weight: 600; margin-left: 6px; }
.ag-at, .ag-mins { color: var(--muted); font-size: 0.88em; }
.ag-row { display: grid; grid-template-columns: minmax(0, 1fr) 58px 72px 30px; gap: 4px; margin-bottom: 6px; }
.ag-row input { padding: 7px 8px; font-size: 0.88rem; min-width: 0; }
body.presenting .ag-body { padding: 70px 4vw 20px; }
body.presenting .ag-item { font-size: clamp(2rem, 6vh, 4.4rem); }
body.presenting .ag-clock { font-size: clamp(5rem, 20vh, 15rem); }
body.presenting .ag-list li { font-size: clamp(1rem, 2.4vh, 1.8rem); }
body.presenting .ag-finish, body.presenting .ag-who { font-size: clamp(1rem, 2.4vh, 1.8rem); }
body.presenting .ag-bar { height: 1.6vh; }

/* ---------- Sprint timer ---------- */
.sp-body { gap: 14px; position: relative; }
.sp-task { margin: 0; font-size: clamp(1.3rem, 2.8vw, 2rem); font-weight: 750; letter-spacing: -0.03em; text-wrap: balance; }
.sp-task:empty { display: none; }
.sp-ring { position: relative; width: min(420px, 70vw); aspect-ratio: 1; display: grid; place-items: center; }
.sp-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sp-ring circle { fill: none; stroke-width: 10; }
.sp-ring .trk { stroke: var(--surface-3); }
.sp-ring .arc { stroke: var(--accent); stroke-linecap: round; transition: stroke 0.3s; }
.sp-ring.show .arc { stroke: var(--green); }
.sp-ring.warn .arc { stroke: var(--red); }
.sp-ring .half { fill: var(--amber); stroke: var(--surface); stroke-width: 3; }
.sp-center { position: relative; display: grid; justify-items: center; gap: 4px; }
.sp-center b { font-size: clamp(3.4rem, 9vw, 6rem); font-weight: 750; letter-spacing: -0.05em; line-height: 1; }
.sp-ring.warn .sp-center b { color: var(--red); }
.sp-sub { color: var(--muted); font-weight: 600; }
.sp-banner {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); z-index: 3; padding: 22px 34px; border-radius: 22px; background: var(--amber); color: #1b1300;
  font-size: clamp(1.5rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; box-shadow: 0 20px 50px -14px rgba(0, 0, 0, 0.45); animation: tr-in 0.35s var(--ease); cursor: pointer; text-align: center; max-width: 90%;
}
.sp-banner[hidden] { display: none; }
body.presenting .sp-ring { width: min(66vh, 80vw); }
body.presenting .sp-center b { font-size: clamp(4rem, 15vh, 12rem); }
body.presenting .sp-task { font-size: clamp(1.6rem, 4.4vh, 3.4rem); }
body.presenting .sp-center .g-label, body.presenting .sp-sub { font-size: clamp(0.9rem, 2.2vh, 1.6rem); }

/* ---------- Discussion carousel ---------- */
.dc-body { justify-content: flex-start; gap: 16px; }
.dc-head { display: flex; align-items: baseline; gap: 18px; justify-content: center; }
.dc-clock { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 750; letter-spacing: -0.04em; }
.dc-clock.warn { color: color-mix(in srgb, var(--amber) 80%, var(--text)); }
.dc-clock.over { color: var(--red); animation: tr-in 0.3s; }
.dc-grid { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 14px; width: 100%; }
@media (max-width: 760px) { .dc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .dc-grid { grid-template-columns: 1fr; } }
.dc-card { display: grid; gap: 8px; align-content: start; text-align: left; padding: 16px; border-radius: 16px; background: var(--np); color: #1d1a10; border-top: 6px solid var(--ne); box-shadow: 0 8px 20px -14px rgba(0, 0, 0, 0.4); animation: tr-in 0.3s var(--ease); }
.dc-who { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(0, 0, 0, 0.6); }
.dc-card p { margin: 0; font-weight: 700; font-size: clamp(1rem, 1.8vw, 1.3rem); line-height: 1.3; }
.dc-here { font-size: 0.85rem; font-weight: 650; color: rgba(0, 0, 0, 0.55); }
body.presenting .dc-body { padding: 64px 3vw 20px; }
body.presenting .dc-clock { font-size: clamp(3rem, 9vh, 7rem); }
body.presenting .dc-card p { font-size: clamp(1.1rem, 2.8vh, 2.2rem); }
body.presenting .dc-who, body.presenting .dc-here { font-size: clamp(0.85rem, 1.9vh, 1.4rem); }

/* ---------- Scenario cards ---------- */
.sc-body { padding: 24px; }
.sc-card { width: min(100%, 780px); text-align: left; padding: 28px 32px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); border-top: 8px solid var(--dc); box-shadow: var(--shadow); display: grid; gap: 12px; }
.sc-card.in { animation: tr-in 0.3s var(--ease); }
.sc-deck { justify-self: start; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: #fff; background: var(--dc); padding: 4px 12px; border-radius: 99px; }
.sc-card h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.03em; }
.sc-text { margin: 0; font-size: clamp(1.1rem, 2.2vw, 1.5rem); line-height: 1.45; color: var(--text); font-weight: 550; }
.sc-qs { margin: 4px 0 0; padding: 14px 18px 14px 38px; border-radius: 14px; background: color-mix(in srgb, var(--dc) 8%, var(--surface)); display: grid; gap: 6px; font-size: clamp(1rem, 1.9vw, 1.25rem); font-weight: 600; color: var(--text-2); animation: tr-in 0.25s var(--ease); }
.sc-qs[hidden], .sc-note[hidden] { display: none; }
.sc-note { margin: 0; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, #8e4ec6 10%, var(--surface)); color: var(--text-2); font-size: 0.92rem; font-weight: 600; border-left: 4px solid #8e4ec6; }
.sc-decks { display: grid; gap: 4px; }
.tr-deck i { width: 12px; height: 12px; border-radius: 50%; background: var(--dc); flex: none; }
.tr-deck small { color: var(--muted); margin-left: auto; }
body.presenting .sc-card { width: min(92vw, 1300px); padding: 4vh 4vw; }
body.presenting .sc-card h2 { font-size: clamp(2rem, 5vh, 3.8rem); }
body.presenting .sc-text { font-size: clamp(1.3rem, 3.4vh, 2.6rem); }
body.presenting .sc-qs { font-size: clamp(1.1rem, 2.8vh, 2.1rem); }
body.presenting .sc-note { font-size: clamp(0.95rem, 2vh, 1.4rem); }

/* ---------- Silent brainstorm ---------- */
.bs-board { width: 100%; }
.bs-down { width: 120px; height: 90px; display: grid; place-items: center; background: repeating-linear-gradient(45deg, var(--surface-3), var(--surface-3) 8px, var(--surface-2) 8px, var(--surface-2) 16px); border-top-color: var(--border-strong); color: var(--muted); font-size: 1.8rem; cursor: default; padding: 0; }
.bs-board:has(.bs-down) { display: flex; flex-wrap: wrap; gap: 10px; }
.bs-hidden-note { width: 100%; }
body.presenting .tr-notes.wrap .bk-note { width: clamp(200px, 16vw, 320px); }

/* ---------- Dot voting ---------- */
.dv-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dv-voter { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--text-2); }
.dv-list { display: grid; gap: 10px; }
.dv-opt { display: flex; align-items: stretch; gap: 8px; }
.dv-opt.top .dv-main { border-color: var(--amber); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 40%, transparent); }
.dv-rank { width: 2em; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; color: var(--muted); }
.dv-main { position: relative; flex: 1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; text-align: left; font: inherit; padding: 14px 16px; border-radius: 14px; background: var(--np); color: #1d1a10; border: 2px solid transparent; cursor: pointer; overflow: hidden; }
.dv-main:hover:not([disabled]) { border-color: var(--accent); }
.dv-main[disabled] { cursor: default; }
.dv-text { position: relative; z-index: 1; font-weight: 700; font-size: clamp(1rem, 1.9vw, 1.3rem); flex: 1 1 200px; }
.dv-dots { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.dv-dot { display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: var(--d); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2); animation: tr-in 0.2s var(--ease); }
.dv-bar { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(0, 0, 0, 0.07); transition: width 0.5s var(--ease); }
.dv-n { width: 2.2em; display: grid; place-items: center; font-size: 1.4rem; }
.dv-minus, .dv-x { width: 40px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-size: 1.2rem; cursor: pointer; }
.dv-x { font-size: 0.85rem; color: var(--muted); }
.dv-minus[disabled] { opacity: 0.35; cursor: default; }
body.presenting .dv-text { font-size: clamp(1.1rem, 2.8vh, 2.1rem); }
body.presenting .dv-dot { width: clamp(18px, 2.6vh, 30px); height: clamp(18px, 2.6vh, 30px); }
body.presenting .dv-voter { font-size: clamp(1rem, 2.4vh, 1.8rem); }

/* ---------- Prioritisation grid ---------- */
.pg-wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; width: 100%; align-items: stretch; }
@media (max-width: 760px) { .pg-wrap { grid-template-columns: 1fr; } }
.pg-tray { background: var(--surface-2); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 10px; border: 2px dashed transparent; max-height: 560px; overflow: auto; }
.pg-gridwrap { display: grid; grid-template-columns: 26px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 26px; gap: 4px; }
.pg-axis { font-size: 0.8rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); display: grid; place-items: center; }
.pg-axis.y { writing-mode: vertical-rl; transform: rotate(180deg); }
.pg-axis.x { grid-column: 2; }
.pg-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; min-height: 500px; border-radius: 16px; overflow: hidden; border: 2px dashed transparent; }
.pg-q { position: relative; padding: 12px 14px; background: color-mix(in srgb, var(--qc) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--qc) 25%, var(--border)); display: grid; align-content: start; gap: 2px; }
.pg-q b { color: color-mix(in srgb, var(--qc) 80%, var(--text)); font-size: 1.05rem; }
.pg-q small { color: var(--muted); font-weight: 600; }
.pg-q .num { position: absolute; right: 12px; bottom: 8px; font-size: 2rem; font-weight: 800; color: color-mix(in srgb, var(--qc) 30%, transparent); }
.pg-note { position: absolute; width: max-content; max-width: 170px; transform: translateX(-50%); font-size: 0.9rem; padding: 8px 26px 8px 10px; z-index: 2; animation: none; }
body.presenting .pg-grid { min-height: calc(100vh - 230px); }
body.presenting .pg-note { max-width: 240px; font-size: clamp(0.9rem, 2vh, 1.4rem); }
body.presenting .pg-q b { font-size: clamp(1rem, 2.4vh, 1.8rem); }

/* ---------- Retrospective ---------- */
.rb-col { border-top: 6px solid var(--cc); }
.rb-sym { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--cc); color: #fff; font-size: 0.95rem; flex: none; }
.rb-add { display: flex; gap: 6px; }
.rb-add input { flex: 1; min-width: 0; padding: 8px 10px; font-size: 0.95rem; }
body.presenting .rb-add input { font-size: clamp(0.95rem, 2vh, 1.4rem); }

/* ---------- Pledge wall ---------- */
.pw-form { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; width: 100%; }
@media (max-width: 760px) { .pw-form { grid-template-columns: 1fr 1fr; } .pw-form input:first-child { grid-column: 1 / -1; } }
.pw-form input { font-size: 1.02rem; padding: 12px 14px; min-width: 0; }
.pw-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; width: 100%; }
.pw-card { position: relative; margin: 0; padding: 18px 18px 14px; border-radius: 6px 6px 18px 6px; background: var(--np); color: #1d1a10; border-top: 6px solid var(--ne); transform: rotate(var(--r)); box-shadow: 0 10px 22px -14px rgba(0, 0, 0, 0.5); display: grid; gap: 10px; animation: tr-in 0.3s var(--ease); }
.pw-card blockquote { margin: 0; font-size: 1.15rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.pw-card blockquote::before { content: '\201C'; font-size: 2.4rem; line-height: 0; vertical-align: -0.45em; margin-right: 2px; color: var(--ne); }
.pw-card figcaption { display: flex; justify-content: space-between; gap: 8px; font-size: 0.85rem; color: rgba(0, 0, 0, 0.6); }
.pw-card .bk-x { opacity: 0; }
body.presenting .pw-wall { grid-template-columns: repeat(auto-fill, minmax(clamp(220px, 20vw, 380px), 1fr)); }
body.presenting .pw-card blockquote { font-size: clamp(1.1rem, 2.6vh, 2rem); }
body.presenting .pw-card figcaption { font-size: clamp(0.85rem, 1.8vh, 1.3rem); }

/* Dark mode: notes keep their paper colours; columns get a little contrast */
:root[data-theme='dark'] .bk-note, :root[data-theme='dark'] .dc-card, :root[data-theme='dark'] .pw-card, :root[data-theme='dark'] .dv-main { filter: saturate(0.85) brightness(0.96); }

/* ==========================================================================
   Professional skin (body.skin-pro): a calmer, premium look for adult
   audiences. Ink and brass, serif headings, hairlines and paper cards.
   ========================================================================== */
@font-face { font-family: 'Source Serif 4'; font-weight: 500; font-display: swap; src: url('/assets/fonts/source-serif-4-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-weight: 600; font-display: swap; src: url('/assets/fonts/source-serif-4-latin-600-normal.woff2') format('woff2'); }
body.skin-pro {
  --serif: 'Source Serif 4', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --ink: #0f1a2b; --ink-2: #1b2a40; --brass: #b08d57; --brass-soft: #efe6d6; --paper: #fbfaf7;
  --accent: #1f3b63; --accent-hover: #162d4d; --accent-soft: #e7ecf3; --accent-text: #1f3b63; --on-accent: #fff;
  --radius-lg: 12px; --radius: 9px;
  background: #f6f5f1;
}
:root[data-theme='dark'] body.skin-pro {
  --ink: #0b121e; --ink-2: #131d2d; --brass: #cfae78; --brass-soft: #2b2619; --paper: #f4f1ea;
  --accent: #d9c08f; --accent-hover: #e6d1a8; --accent-soft: #262218; --accent-text: #e2c995; --on-accent: #14110a;
  background: #0d131c;
}
/* Header band on tool pages and the landing page */
.skin-pro.page-tool .tool-head::before, .skin-pro .pt-hero::before {
  background: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 100% 32px, radial-gradient(900px 400px at 85% -10%, rgba(176, 141, 87, 0.22), transparent 70%), linear-gradient(180deg, var(--ink-2), var(--ink));
}
.skin-pro.page-tool .tool-head::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 100vw; transform: translateX(-50%); height: 2px; background: linear-gradient(90deg, transparent, var(--brass) 30%, var(--brass) 70%, transparent); opacity: 0.55; z-index: -1; }
.skin-pro .tool-head h1, .skin-pro .pt-hero h1 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; }
.skin-pro.page-tool .tool-head .lede { color: #c7cfdb; }
.skin-pro.page-tool .crumbs, .skin-pro.page-tool .crumbs a { color: #a7b1c2; }
.skin-pro .tool-head-icon { background: transparent; color: var(--brass); border: 1.5px solid color-mix(in srgb, var(--brass) 70%, transparent); box-shadow: none; border-radius: 12px; }
:root[data-theme='dark'] .skin-pro .tool-head-icon { color: var(--brass); }
/* Stage and panel: hairlines, no bright top bars */
.skin-pro.page-tool .stage, .skin-pro.page-tool .panel { border-top: 1px solid var(--border); box-shadow: 0 1px 2px rgba(15, 26, 43, 0.06), 0 18px 40px -28px rgba(15, 26, 43, 0.45); }
.skin-pro.page-tool .stage { border-top: 3px solid var(--brass); }
.skin-pro .panel h2, .skin-pro .panel .panel-title { font-family: var(--serif); font-weight: 600; letter-spacing: 0; }
.skin-pro .btn { border-radius: 8px; }
.skin-pro .btn-primary { --btn-bg: var(--ink); --btn-fg: #fff; }
.skin-pro .btn-primary:hover { background: var(--ink-2); }
:root[data-theme='dark'] .skin-pro .btn-primary { --btn-bg: var(--brass); --btn-fg: #14110a; }
:root[data-theme='dark'] .skin-pro .btn-primary:hover { background: #dcc193; }
.skin-pro .segmented button[aria-pressed='true'] { box-shadow: inset 0 -2px 0 var(--brass); }
/* Big text uses the serif */
.skin-pro :is(.ag-item, .bs-prompt, .sc-card h2, .sp-task, .dv-top h2, .pw-prompt, [data-prompt-show]) { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }
.skin-pro .tr-col h3, .skin-pro .tr-col h2.tr-h, .skin-pro .pg-q b { font-family: var(--serif); font-weight: 600; letter-spacing: 0; }
.skin-pro .g-label, .skin-pro .dc-who { letter-spacing: 0.14em; }
/* Notes become paper cards with a coloured edge */
.skin-pro .bk-note { background: var(--paper); color: #1a2333; border-top: 0; border-left: 4px solid var(--ne); border-radius: 4px; box-shadow: 0 1px 0 rgba(15, 26, 43, 0.06), 0 6px 16px -10px rgba(15, 26, 43, 0.4); font-weight: 550; }
.skin-pro .bk-name { color: #5b6577; }
.skin-pro .tr-col { background: color-mix(in srgb, var(--text) 3.5%, var(--surface)); border-radius: 10px; }
.skin-pro .tr-col.done { background: color-mix(in srgb, #2f7a55 6%, var(--surface)); }
.skin-pro .rb-col { border-top: 3px solid var(--cc); }
.skin-pro .rb-sym { background: transparent; color: var(--cc); border: 1.5px solid var(--cc); }
.skin-pro .dc-card, .skin-pro .pw-card { background: var(--paper); color: #1a2333; border-top: 0; border-left: 4px solid var(--ne); border-radius: 6px; }
.skin-pro .pw-card { transform: none; }
.skin-pro .pw-card blockquote { font-family: var(--serif); font-weight: 600; }
.skin-pro .pw-card blockquote::before { color: var(--brass); }
.skin-pro .dc-card p { font-family: var(--serif); font-weight: 600; }
.skin-pro .dc-who, .skin-pro .dc-here, .skin-pro .pw-card figcaption { color: #5b6577; }
.skin-pro .dv-main { background: var(--paper); color: #1a2333; border: 1px solid var(--border); border-left: 4px solid var(--ne, var(--brass)); border-radius: 8px; }
.skin-pro .dv-opt.top .dv-main { border-color: var(--brass); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brass) 45%, transparent); }
.skin-pro .dv-bar { background: color-mix(in srgb, var(--brass) 14%, transparent); }
.skin-pro .sc-card { border-radius: 10px; border-top-width: 4px; }
.skin-pro .sc-card h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.skin-pro .sc-text { font-weight: 450; }
.skin-pro .sc-deck { border-radius: 4px; letter-spacing: 0.12em; }
.skin-pro .pg-q { background: color-mix(in srgb, var(--qc) 5%, var(--surface)); border-color: color-mix(in srgb, var(--qc) 18%, var(--border)); }
.skin-pro .pg-q .num { font-family: var(--serif); }
.skin-pro .ag-list li.now { box-shadow: inset 3px 0 0 var(--brass); background: color-mix(in srgb, var(--brass) 10%, var(--surface)); }
.skin-pro .ag-bar i { background: var(--ink); }
:root[data-theme='dark'] .skin-pro .ag-bar i { background: var(--brass); }
.skin-pro .sp-ring .arc { stroke: var(--ink); }
:root[data-theme='dark'] .skin-pro .sp-ring .arc { stroke: var(--brass); }
.skin-pro .sp-ring .half { fill: var(--brass); }
.skin-pro .sp-ring .trk { stroke: color-mix(in srgb, var(--text) 8%, var(--surface)); }
.skin-pro .sp-banner { background: var(--ink); color: #fff; border: 1px solid var(--brass); font-family: var(--serif); font-weight: 600; }
.skin-pro .ag-clock, .skin-pro .sp-center b, .skin-pro .dc-clock { font-weight: 650; letter-spacing: -0.04em; }
body.presenting.skin-pro { background: #f6f5f1; }
:root[data-theme='dark'] body.presenting.skin-pro { background: #0d131c; }
/* Landing page */
.skin-pro .pt-hero { position: relative; isolation: isolate; background: none; border: 0; color: #fff; padding: 34px 0 40px; }
.skin-pro .pt-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; }
.skin-pro .pt-hero .crumbs, .skin-pro .pt-hero .crumbs a { color: #a7b1c2; }
.skin-pro .pt-eyebrow { color: var(--brass); letter-spacing: 0.04em; }
:root[data-theme='dark'] .skin-pro .pt-eyebrow { color: var(--brass); }
.skin-pro .pt-lede { color: #c7cfdb; }
.skin-pro .pt-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.8vw, 3.4rem); }
.skin-pro .pt-flows h2 { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; }
.skin-pro .pt-flow { border-radius: 10px; border-top: 3px solid var(--brass); }
.skin-pro .pt-flow h3 { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }
.skin-pro .pt-flow li::before { background: transparent; border: 1.5px solid var(--brass); color: var(--brass); }
.skin-pro .tile { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--c); border-radius: 10px; }
.skin-pro .tile-icon { background: color-mix(in srgb, var(--c) 10%, var(--surface)); color: var(--c); border-radius: 10px; }
.skin-pro .tile-name { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }

/* ---------- Presenting and training landing page ---------- */
.pt-hero { background: linear-gradient(135deg, color-mix(in srgb, #0f766e 14%, var(--bg)), var(--bg) 70%); padding: 28px 0 30px; margin-bottom: 26px; border-bottom: 1px solid var(--border); }
.pt-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #0f766e; font-size: 0.92rem; margin-top: 14px; }
:root[data-theme='dark'] .pt-eyebrow { color: #5eead4; }
.pt-eyebrow svg { width: 20px; height: 20px; }
.pt-hero h1 { margin: 6px 0 8px; font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -0.04em; }
.pt-lede { max-width: 640px; margin: 0; color: var(--text-2); font-size: 1.1rem; }
.pt-page { padding-bottom: 30px; }
.pt-flows { margin-top: 40px; }
.pt-flows h2 { margin: 0 0 4px; font-size: 1.35rem; }
.pt-sub { margin: 0 0 16px; color: var(--muted); }
.pt-flow-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.pt-flow { padding: 18px 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); border-top: 5px solid var(--c); box-shadow: var(--shadow-sm); }
.pt-flow h3 { margin: 0 0 10px; font-size: 1.08rem; }
.pt-flow ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 8px; }
.pt-flow li { counter-increment: s; display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; }
.pt-flow li::before { content: counter(s); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 15%, var(--surface)); color: var(--c); font-weight: 800; font-size: 0.85rem; }
.pt-flow a { font-weight: 700; color: var(--text); text-decoration: none; }
.pt-flow a:hover { text-decoration: underline; color: var(--accent-text); }
.pt-flow li span { color: var(--muted); font-size: 0.88rem; }
.pt-note { margin: 26px 0 0; color: var(--muted); }
.skin-pro :is(.below, .faq, .pt-page) h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.005em; }
