:root {
  --paper: #f2f1e9;
  --paper-deep: #e9e8df;
  --card: #fbfaf5;
  --ink: #20231d;
  --muted: #777a70;
  --line: #deded3;
  --blue: #3a54e8;
  --blue-deep: #263bd0;
  --lime: #ddff69;
  --orange: #e4754e;
  --green: #2f7861;
  --mono: 'DM Mono', 'Courier New', monospace;
  --sans: 'DM Sans', 'Segoe UI', sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.topbar { height: 78px; display: flex; align-items: center; padding: 0 38px; border-bottom: 1px solid var(--line); background: rgba(242,241,233,.96); position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 235px; }
.brand-mark { width: 33px; height: 33px; position: relative; display: inline-flex; align-items: center; justify-content: center; }
.brand-mark i { width: 9px; height: 9px; background: var(--blue); border-radius: 50%; display: block; position: absolute; }
.brand-mark i:nth-child(1) { transform: translate(-7px,-6px); background: var(--orange); }
.brand-mark i:nth-child(2) { transform: translate(7px,-6px); }
.brand-mark i:nth-child(3) { transform: translate(0,7px); background: var(--ink); }
.brand-word { font-size: 15px; font-weight: 700; letter-spacing: .13em; line-height: 1; }
.brand-period { color: var(--blue); }
.brand-word small { display: block; font-family: var(--mono); font-size: 8px; letter-spacing: .08em; color: var(--muted); font-weight: 400; margin-top: 6px; text-transform: uppercase; }
.main-nav { align-self: stretch; display: flex; align-items: stretch; gap: 8px; margin: 0 auto; }
.nav-button { border: 0; background: none; border-bottom: 2px solid transparent; padding: 3px 20px 0; font-size: 13px; font-weight: 600; color: #77786f; cursor: pointer; }
.nav-button span { font: 10px var(--mono); margin-left: 9px; color: #a0a095; }
.nav-button.active { border-bottom-color: var(--blue); color: var(--ink); }
.top-status { min-width: 235px; display: flex; justify-content: flex-end; align-items: center; gap: 8px; color: var(--muted); font: 9px var(--mono); letter-spacing: .11em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #79a87b; box-shadow: 0 0 0 3px #79a87b24; }
.status-dot.sync-local, .server-panel[data-state="local"] .server-panel-dot { background: #c28a4f; box-shadow: 0 0 0 3px #c28a4f24; }
.status-dot.sync-error, .status-dot.sync-key, .server-panel[data-state="error"] .server-panel-dot, .server-panel[data-state="key"] .server-panel-dot { background: #c65e51; box-shadow: 0 0 0 3px #c65e5124; }
.status-dot.sync-saving, .server-panel[data-state="saving"] .server-panel-dot { background: var(--blue); box-shadow: 0 0 0 3px #3a54e824; }
.status-dot.sync-ready, .server-panel[data-state="ready"] .server-panel-dot, .server-panel[data-state="saved"] .server-panel-dot { background: #79a87b; box-shadow: 0 0 0 3px #79a87b24; }

.app-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); min-height: calc(100vh - 78px); }
.roster { background: #e9e8df; border-right: 1px solid var(--line); padding: 35px 22px 24px; display: flex; flex-direction: column; }
.roster-head { display: flex; justify-content: space-between; align-items: flex-end; }
.eyebrow { font: 9px var(--mono); letter-spacing: .11em; text-transform: uppercase; color: var(--muted); margin: 0; }
.roster-head h2 { font-size: 20px; letter-spacing: -.04em; margin: 9px 0 0; display: flex; align-items: center; gap: 9px; }
.count-badge { border-radius: 20px; background: var(--lime); min-width: 24px; height: 20px; padding: 3px 6px; text-align: center; font: 10px var(--mono); letter-spacing: 0; }
.roster-clock { font: 10px var(--mono); color: #8c8f83; padding-bottom: 3px; }
.roster-intro { color: #71736b; font-size: 11px; line-height: 1.55; margin: 15px 0 22px; max-width: 205px; }
.roster-list { display: flex; flex-direction: column; gap: 5px; }
.roster-item { border: 1px solid transparent; border-radius: 8px; padding: 10px 9px; display: grid; grid-template-columns: 30px 1fr auto; gap: 9px; align-items: center; cursor: pointer; text-align: left; background: transparent; transition: background .16s ease, border .16s ease, transform .16s ease; }
.roster-item:hover { background: #f3f2eb; transform: translateX(2px); }
.roster-item.selected { background: var(--card); border-color: #dbdacf; box-shadow: 0 3px 12px #292c2210; }
.roster-avatar { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #d7d9f5; color: #3948bc; font: 10px var(--mono); }
.roster-item:nth-child(3n) .roster-avatar { background: #f3d9c8; color: #9c5434; }
.roster-item:nth-child(3n + 2) .roster-avatar { background: #d8e6d1; color: #47754c; }
.roster-person { min-width: 0; }
.roster-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; }
.roster-time { display: block; font: 9px var(--mono); color: #83867c; margin-top: 4px; }
.roster-status { align-self: start; color: #9b9d93; font: 8px var(--mono); padding-top: 3px; }
.roster-status.current { color: var(--blue); }
.roster-status.complete { color: var(--green); }
.add-person-button { margin-top: 14px; padding: 10px 9px; text-align: left; background: none; border: 1px dashed #c3c4b8; border-radius: 7px; color: #60635a; font-size: 11px; cursor: pointer; }
.add-person-button span { font-size: 14px; margin-right: 5px; }
.add-person-button:hover { border-color: var(--blue); color: var(--blue); background: #f4f4ef; }
.roster-footer { border-top: 1px solid #d5d5ca; display: flex; gap: 10px; align-items: flex-start; margin-top: auto; padding-top: 20px; color: #71736b; font-size: 10px; line-height: 1.55; }
.roster-footer p { margin: 0; }
.roster-footer strong { color: var(--ink); font-weight: 600; }
.roster-footer-mark { font: 18px var(--serif); color: var(--orange); line-height: 1; }

.main-area { min-width: 0; padding: 29px clamp(24px, 4vw, 62px) 25px; }
.view { max-width: 1260px; margin: 0 auto; }
.view[hidden] { display: none; }
.page-kicker { display: flex; align-items: center; gap: 12px; color: #85877d; font: 8px var(--mono); letter-spacing: .12em; }
.kicker-line { display: block; width: 42px; height: 1px; background: #c9cabe; }
.session-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 25px 0 26px; }
.session-heading .eyebrow, .planning-heading .eyebrow { margin-bottom: 11px; }
h1 { margin: 0; font-size: clamp(42px,5.1vw,67px); line-height: .96; letter-spacing: -.065em; font-weight: 600; }
h1 em { font-family: var(--serif); font-weight: 600; letter-spacing: -.06em; }
.heading-copy { margin: 12px 0 0; color: #73756c; font-size: 12px; }
.presenter-box { border: 1px solid #d8d8cd; border-radius: 9px; min-width: 223px; padding: 14px 16px; display: flex; gap: 13px; align-items: center; background: #f6f5ee; }
.presenter-spark { width: 32px; height: 32px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-size: 17px; color: #354012; }
.presenter-select { appearance: none; border: 0; padding: 4px 17px 4px 0; background: transparent; font-size: 16px; font-weight: 700; color: var(--ink); cursor: pointer; max-width: 160px; background-image: linear-gradient(45deg, transparent 50%, #555 50%),linear-gradient(135deg,#555 50%,transparent 50%); background-position: calc(100% - 5px) 9px,calc(100% - 1px) 9px; background-size: 4px 4px,4px 4px; background-repeat: no-repeat; }
.presenter-time { font: 9px var(--mono); color: #82847b; margin: 3px 0 0; }
.principle-strip { display: flex; align-items: center; gap: 27px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #63665c; font-size: 10px; }
.principle-strip span { display: flex; align-items: center; gap: 7px; }
.principle-strip b { font: 8px var(--mono); color: var(--blue); }
.timing-notice { margin-top: 16px; padding: 10px 13px; display: flex; gap: 10px; align-items: center; border: 1px solid #e8c99e; border-radius: 7px; background: #fff3dc; font-size: 10px; line-height: 1.5; color: #695439; }
.timing-notice:empty { display: none; }
.timing-notice.on-track { border-color: #cbdcca; background: #eff5e9; color: #44634a; }
.notice-mark { font: 13px var(--mono); font-weight: 500; }

.workbench { display: grid; grid-template-columns: minmax(0,1fr) 294px; gap: 15px; margin-top: 17px; align-items: stretch; }
.phase-card { background: var(--card); border: 1px solid #e5e4d9; border-radius: 10px; padding: 21px 23px 17px; min-width: 0; box-shadow: 0 7px 22px #292c2207; }
.phase-meta { display: flex; align-items: center; gap: 13px; }
.phase-number-wrap { font: 15px var(--mono); letter-spacing: -.07em; }
.phase-number-wrap span:first-child { color: var(--blue); }
.phase-of { color: #a0a196; font-size: 11px; margin-left: 2px; }
.phase-tag, .phase-length { font: 8px var(--mono); letter-spacing: .08em; }
.phase-tag { color: #6a6e62; background: #efefe7; padding: 5px 7px; border-radius: 3px; }
.phase-length { margin-left: auto; color: var(--ink); }
.phase-progress { height: 3px; background: #ebeae1; margin: 14px 0 19px; border-radius: 5px; overflow: hidden; }
.phase-progress span { height: 100%; display: block; background: var(--blue); width: 11.11%; transition: width .25s ease; }
.phase-label { font: 8px var(--mono); letter-spacing: .1em; color: #93958b; margin: 0 0 7px; }
.phase-card h2 { font-size: clamp(22px,2.4vw,30px); letter-spacing: -.045em; line-height: 1.1; margin: 0; font-weight: 600; }
.phase-lede { font-size: 11px; line-height: 1.6; color: #64675e; margin: 9px 0 15px; max-width: 610px; }
.prompt-box { background: #f0f0e8; border-left: 3px solid var(--lime); display: flex; align-items: flex-start; gap: 10px; padding: 10px 13px 10px 10px; margin: 0 0 14px; }
.prompt-glyph { color: var(--blue); font: 32px var(--serif); line-height: .8; }
.prompt-box .eyebrow { font-size: 7px; color: #81847b; margin-bottom: 5px; }
.prompt-text { margin: 0; font-family: var(--serif); font-size: 14px; line-height: 1.3; color: #34372d; }
.role-guides { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-guide { display: flex; gap: 8px; padding: 10px 10px 9px; border: 1px solid #e8e7dd; border-radius: 6px; min-width: 0; }
.guide-icon { width: 18px; height: 18px; flex: 0 0 18px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: #e8eafe; font-size: 11px; }
.audience-guide .guide-icon { color: #9d5a39; background: #fae7dc; }
.guide-title { font-size: 9px; font-weight: 700; margin: 1px 0 4px; }
.role-guide p:last-child { font-size: 9px; line-height: 1.45; color: #72746b; margin: 0; }
.question-field { margin-top: 13px; }
.question-field[hidden] { display: none; }
.question-field label { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 5px; color: #75776e; font: 7px var(--mono); letter-spacing: .09em; }
.question-field label span:last-child { letter-spacing: 0; text-transform: none; font-family: var(--sans); }
.question-field textarea { width: 100%; min-height: 48px; resize: vertical; border: 1px solid #dadacf; border-radius: 5px; background: #fffefa; padding: 8px 10px; font-size: 10px; line-height: 1.4; color: var(--ink); }
.phase-footnote { display: flex; gap: 8px; align-items: flex-start; border-top: 1px solid #ebeae1; margin-top: 14px; padding-top: 10px; color: #8a8c83; font-size: 9px; line-height: 1.45; }
.phase-footnote span { color: var(--orange); }
.phase-footnote p { margin: 0; }

.timer-card { position: relative; border-radius: 10px; overflow: hidden; background: var(--blue); color: #fff; padding: 19px 19px 15px; display: flex; flex-direction: column; min-height: 360px; }
.timer-card.timer-finished { background: var(--blue-deep); }
.timer-card::after { content: ''; pointer-events: none; width: 180px; height: 180px; border: 1px solid #ffffff20; border-radius: 50%; position: absolute; top: -112px; right: -52px; box-shadow: 0 0 0 19px #ffffff08,0 0 0 39px #ffffff08; }
.timer-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; position: relative; z-index: 1; }
.timer-head-actions { display: flex; align-items: center; gap: 9px; }
.timer-head .eyebrow { color: #c6ccff; font-size: 8px; }
.timer-live { color: var(--lime); font: 8px var(--mono); letter-spacing: .12em; }
.fullscreen-button { display: flex; align-items: center; gap: 4px; background: #ffffff10; border: 1px solid #ffffff3b; border-radius: 4px; padding: 5px 7px; color: #fff; font-size: 10px; cursor: pointer; }
.fullscreen-button span { font: 8px var(--sans); }
.fullscreen-button:hover { background: #ffffff20; border-color: #ffffff80; }
.timer-ring { width: 188px; height: 188px; position: relative; align-self: center; margin: 12px 0 2px; }
.timer-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.timer-ring circle { fill: none; stroke-width: 2; }
.ring-track { stroke: #ffffff2e; }
.ring-progress { stroke: var(--lime); stroke-linecap: round; stroke-dasharray: 590.62; stroke-dashoffset: 0; transition: stroke-dashoffset .2s linear; }
.timer-readout { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.timer-readout time { font: 42px var(--mono); letter-spacing: -.1em; color: #fff; }
.timer-readout span { font: 7px var(--mono); letter-spacing: .13em; color: #c6ccff; margin-top: 5px; }
.timer-phase-name { font-family: var(--serif); font-size: 14px; text-align: center; margin: 0 0 14px; min-height: 18px; }
.timer-actions { margin-top: auto; }
.button { border: 0; border-radius: 5px; cursor: pointer; transition: transform .12s ease, background .12s ease, box-shadow .12s ease; }
.button:active { transform: translateY(1px); }
.button-primary { height: 38px; width: 100%; background: var(--lime); color: #242a1a; font-size: 11px; font-weight: 700; }
.button-primary:hover { background: #e8ff9c; box-shadow: 0 3px 12px #1b24622a; }
.button-primary span { font-size: 9px; margin-right: 4px; }
.timer-secondary { display: flex; justify-content: space-between; align-items: center; padding-top: 4px; }
.button-quiet, .button-next { height: 29px; background: transparent; color: #d0d4ff; padding: 0 5px; font-size: 9px; }
.button-quiet:hover, .button-next:hover { color: #fff; }
.button-next { color: #fff; font-weight: 600; }
.button-next span { color: var(--lime); margin-left: 4px; }
.button-next:disabled, .button-quiet:disabled { opacity: .4; cursor: default; }
.auto-next { display: flex; align-items: center; gap: 7px; margin: 12px 0 10px; color: #d1d5ff; font-size: 8px; cursor: pointer; }
.timer-options { margin-top: 8px; }
.timer-options .auto-next { margin: 0 0 8px; }
.timer-options .sound-option { margin-bottom: 10px; }
.auto-next input { position: absolute; opacity: 0; }
.toggle-ui { height: 13px; width: 22px; background: #ffffff3d; border-radius: 10px; position: relative; transition: background .15s ease; }
.toggle-ui::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #fff; position: absolute; top: 2px; left: 2px; transition: transform .15s ease; }
.auto-next input:checked + .toggle-ui { background: #8da238; }
.auto-next input:checked + .toggle-ui::after { transform: translateX(9px); }
.auto-next input:focus-visible + .toggle-ui { outline: 2px solid var(--lime); outline-offset: 3px; }
.projection { border-top: 1px solid #ffffff35; padding-top: 9px; display: flex; justify-content: space-between; align-items: center; }
.projection span { color: #c1c6f7; font: 7px var(--mono); letter-spacing: .1em; }
.projection strong { font: 14px var(--mono); color: var(--lime); }

.phase-navigation { display: grid; grid-template-columns: repeat(9,minmax(0,1fr)); gap: 6px; margin-top: 13px; }
.phase-nav-item { border: 1px solid #deded2; background: #eeede5; border-radius: 6px; text-align: left; min-width: 0; padding: 7px 7px 8px; cursor: pointer; transition: all .14s ease; }
.phase-nav-item:hover { background: #f9f8f2; border-color: #bfc2da; }
.phase-nav-item[aria-current="step"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.phase-nav-item .nav-step-num { display: flex; justify-content: space-between; color: #92958b; font: 8px var(--mono); }
.phase-nav-item[aria-current="step"] .nav-step-num { color: var(--lime); }
.phase-nav-item .nav-step-title { display: block; font-size: 8px; line-height: 1.2; margin-top: 5px; min-height: 20px; overflow-wrap: anywhere; }
.phase-nav-item .nav-step-time { display: block; font: 7px var(--mono); color: #97998f; margin-top: 5px; }
.phase-nav-item[aria-current="step"] .nav-step-time { color: #c5c8bb; }
.facilitator-panel { margin-top: 13px; border: 1px solid #deded2; border-radius: 7px; background: #eeede5; }
.facilitator-panel summary { list-style: none; display: flex; align-items: center; gap: 11px; padding: 11px 14px; cursor: pointer; }
.facilitator-panel summary::-webkit-details-marker { display: none; }
.facilitator-symbol { width: 24px; height: 24px; border: 1px solid #c9cabc; border-radius: 50%; display: grid; place-items: center; color: var(--blue); font-size: 17px; }
.facilitator-panel summary b { display: block; font-size: 10px; }
.facilitator-panel summary small { display: block; font-size: 9px; color: #7e8077; margin-top: 2px; }
.summary-arrow { margin-left: auto; font-size: 15px; color: #818379; transition: transform .2s; }
.facilitator-panel[open] .summary-arrow { transform: rotate(45deg); }
.facilitator-content { border-top: 1px solid #dcdcd1; padding: 10px 17px 12px 49px; font-size: 9px; line-height: 1.5; color: #73766c; }
.facilitator-content p { margin: 0 0 6px; max-width: 800px; }
.facilitator-content ul { display: flex; flex-wrap: wrap; gap: 7px 25px; margin: 0; padding-left: 13px; }
.facilitator-content li { max-width: 245px; }
.source-footer { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 10px; color: #92948a; font-size: 9px; }
.source-footer a { color: #585b53; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.source-footer a:hover { color: var(--blue); }

.planning-view { padding-bottom: 20px; }
.planning-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; padding: 26px 0 27px; }
.planning-total { min-width: 190px; background: var(--lime); border-radius: 8px; padding: 13px 16px 12px; }
.planning-total > span { display: block; font: 8px var(--mono); letter-spacing: .09em; }
.planning-total strong { display: block; font: 30px var(--mono); letter-spacing: -.09em; margin-top: 3px; }
.planning-total strong small { font: 11px var(--sans); letter-spacing: 0; }
.planning-total p { font-size: 9px; margin: 1px 0 0; color: #555d3c; }
.planning-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(290px,.85fr); gap: 15px; align-items: start; }
.editor-panel { min-width: 0; background: var(--card); border: 1px solid #e2e1d6; border-radius: 9px; padding: 19px 19px 17px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-heading h2 { font-size: 19px; letter-spacing: -.045em; margin: 6px 0 0; }
.panel-heading .eyebrow { font-size: 8px; }
.edit-stamp { border: 1px solid #d9dacf; border-radius: 3px; padding: 5px 6px; color: #85877d; font: 7px var(--mono); letter-spacing: .08em; }
.panel-copy { margin: 8px 0 14px; color: #777970; font-size: 9px; line-height: 1.5; }
.server-panel { display: grid; grid-template-columns: minmax(0,1fr) minmax(175px,.8fr); gap: 14px; align-items: center; border: 1px solid #e4e3d8; background: #f7f6f0; border-radius: 6px; padding: 10px 11px; margin: 0 0 14px; }
.server-panel[data-state="error"], .server-panel[data-state="key"] { border-color: #e6c9bf; background: #fcf3ef; }
.server-panel-status { display: flex; align-items: flex-start; gap: 9px; min-width: 0; }
.server-panel-dot { flex: 0 0 7px; width: 7px; height: 7px; margin-top: 4px; border-radius: 50%; background: #8c9283; box-shadow: 0 0 0 3px #8c928324; }
.server-panel-status strong { display: block; font-size: 9px; }
.server-panel-status p { color: #777970; font-size: 8px; line-height: 1.4; margin: 3px 0 0; }
.server-key-form label { display: block; color: #7a7c72; font: 7px var(--mono); letter-spacing: .06em; margin: 0 0 4px 2px; }
.server-key-controls { display: flex; gap: 5px; }
.server-key-controls input { flex: 1; min-width: 0; width: 60px; padding: 7px 8px; background: #fffefa; border: 1px solid #dcdcd1; border-radius: 4px; font-size: 9px; }
.server-key-controls .button { flex: 0 0 auto; padding: 7px 9px; font-size: 8px; }
.server-panel[data-state="local"] .server-key-form { opacity: .6; }
.server-panel[data-state="local"] .server-key-form input, .server-panel[data-state="local"] .server-key-form button { pointer-events: none; }
.schedule-columns { display: grid; grid-template-columns: minmax(110px,1fr) 73px 73px 24px; gap: 7px; padding: 0 5px 6px; color: #999b92; font: 7px var(--mono); letter-spacing: .08em; }
.schedule-editor-list { display: flex; flex-direction: column; gap: 5px; }
.schedule-row { display: grid; grid-template-columns: minmax(110px,1fr) 73px 73px 24px; gap: 7px; align-items: center; background: #f3f2eb; border: 1px solid #ebeae0; padding: 5px 5px 5px 8px; border-radius: 5px; }
.schedule-row.break-row { background: #f5f0e6; border-color: #eee3cf; }
.schedule-name-wrap { min-width: 0; display: flex; align-items: center; gap: 6px; }
.schedule-type-mark { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: 0 0 6px; }
.break-row .schedule-type-mark { background: var(--orange); }
.schedule-name, .schedule-time { min-width: 0; width: 100%; border: 1px solid transparent; background: transparent; border-radius: 3px; color: var(--ink); }
.schedule-name { padding: 6px 3px; font-size: 10px; font-weight: 600; text-overflow: ellipsis; }
.schedule-time { text-align: center; padding: 5px 1px; font: 9px var(--mono); }
.schedule-name:focus, .schedule-time:focus { background: #fff; border-color: #b9bfe9; }
.remove-row { width: 23px; height: 23px; border: 0; background: transparent; color: #aa9285; border-radius: 50%; font-size: 15px; cursor: pointer; }
.remove-row:hover { background: #f5dfd6; color: #a24835; }
.remove-row[hidden] { display: none; }
.editor-add-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.button-outline { border: 1px solid #d9dacf; padding: 8px 10px; background: transparent; color: #53564e; font-size: 9px; }
.button-outline:hover { background: #f0f1e8; border-color: #adb2da; color: var(--blue); }
.button-outline span { margin-right: 4px; }
.text-action { background: none; border: 0; padding: 6px; color: #6e7168; font-size: 9px; cursor: pointer; }
.text-action:hover { color: var(--blue); }
.schedule-insight { border-top: 1px solid #e7e6dc; margin-top: 15px; padding-top: 11px; display: flex; align-items: flex-start; gap: 9px; color: #72614a; font-size: 9px; line-height: 1.5; }
.schedule-insight:empty { display: none; }
.insight-icon { color: #bc8554; font: 13px var(--mono); }
.duration-list { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.duration-row { display: grid; grid-template-columns: 23px 1fr 61px; gap: 8px; align-items: center; padding: 6px 7px; border-bottom: 1px solid #eeede5; }
.duration-row:last-child { border-bottom: 0; }
.duration-index { color: #95978d; font: 8px var(--mono); }
.duration-name { font-size: 9px; line-height: 1.35; }
.duration-input-wrap { display: flex; gap: 4px; justify-content: flex-end; align-items: center; color: #91938a; font: 8px var(--mono); }
.duration-input { width: 39px; border: 1px solid #dcdcd1; border-radius: 4px; background: #f6f5ee; padding: 5px 2px; text-align: center; font: 9px var(--mono); }
.duration-input:focus { background: #fff; border-color: var(--blue); }
.duration-input:disabled { opacity: .5; }
.duration-footer { border-top: 1px solid #deddD2; padding: 11px 7px 0; margin-top: 7px; display: flex; justify-content: space-between; align-items: center; color: #777970; font-size: 9px; }
.duration-footer strong { color: var(--ink); font: 13px var(--mono); }
.reset-button { margin: 12px 0 0 7px; padding: 3px 0; border: 0; background: none; color: #888a80; text-decoration: underline; text-decoration-color: #cacbc1; text-underline-offset: 3px; font-size: 8px; cursor: pointer; }
.reset-button:hover { color: var(--blue); }
.method-note { display: flex; gap: 11px; align-items: center; border: 1px solid #dcdcd1; border-radius: 7px; background: #eeede5; padding: 10px 14px; margin-top: 15px; color: #74766d; font-size: 9px; line-height: 1.5; }
.method-note span { color: var(--orange); font-size: 16px; }
.method-note p { margin: 0; }
.method-note strong { color: var(--ink); }

.toast { position: fixed; z-index: 50; bottom: 22px; left: 50%; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; padding: 10px 14px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 10px; box-shadow: 0 8px 25px #20231d25; transition: .2s ease; }
.toast.show { transform: translate(-50%,0); opacity: 1; }

@media (min-width: 1500px) {
  .main-area { padding-left: 70px; padding-right: 70px; }
  .workbench { grid-template-columns: minmax(0,1fr) 320px; gap: 18px; }
  .phase-card { padding: 25px 29px 20px; }
  .timer-card { padding: 22px 22px 17px; }
  .timer-ring { width: 205px; height: 205px; }
}
@media (max-width: 1120px) {
  .app-layout { grid-template-columns: 242px minmax(0,1fr); }
  .roster { padding-left: 16px; padding-right: 16px; }
  .main-area { padding-left: 24px; padding-right: 24px; }
  .workbench { grid-template-columns: minmax(0,1fr) 265px; gap: 10px; }
  .phase-card { padding: 18px 17px 15px; }
  .timer-card { padding: 17px 15px 13px; }
  .timer-ring { width: 165px; height: 165px; }
  .phase-nav-item { padding-left: 5px; padding-right: 5px; }
}
@media (max-width: 860px) {
  .topbar { padding: 0 20px; }
  .brand, .top-status { min-width: auto; }
  .main-nav { margin-right: 0; }
  .app-layout { grid-template-columns: 1fr; }
  .roster { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 20px 13px; }
  .roster-head { align-items: center; }
  .roster-head h2 { font-size: 17px; }
  .roster-intro, .roster-footer, .add-person-button { display: none; }
  .roster-list { flex-direction: row; overflow-x: auto; gap: 6px; padding: 10px 1px 3px; scrollbar-width: thin; }
  .roster-item { min-width: 130px; grid-template-columns: 27px 1fr auto; padding: 7px; }
  .roster-avatar { width: 27px; height: 27px; }
  .main-area { padding: 24px 24px 30px; }
  .workbench { grid-template-columns: minmax(0,1fr) 260px; }
  .planning-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar { height: 64px; padding: 0 14px; }
  .brand { gap: 7px; }
  .brand-mark { transform: scale(.85); transform-origin: left center; width: 28px; }
  .brand-word { font-size: 13px; }
  .brand-word small { display: none; }
  .main-nav { gap: 0; }
  .nav-button { padding: 3px 8px 0; font-size: 10px; }
  .nav-button span, .top-status { display: none; }
  .roster { padding: 12px 14px 10px; }
  .roster-clock { display: none; }
  .main-area { padding: 19px 14px 23px; }
  .page-kicker { font-size: 7px; gap: 7px; }
  .kicker-line { width: 22px; }
  .session-heading, .planning-heading { padding: 22px 0 18px; align-items: flex-start; flex-direction: column; gap: 16px; }
  h1 { font-size: 49px; }
  .heading-copy { max-width: 270px; font-size: 11px; }
  .presenter-box { width: 100%; min-width: 0; padding: 10px 12px; }
  .principle-strip { gap: 8px 14px; flex-wrap: wrap; font-size: 8px; }
  .timing-notice { font-size: 9px; }
  .workbench { grid-template-columns: 1fr; }
  .phase-card { padding: 17px 15px 14px; }
  .phase-card h2 { font-size: 25px; }
  .phase-lede { font-size: 10px; }
  .role-guides { grid-template-columns: 1fr; gap: 6px; }
  .role-guide { padding: 8px; }
  .timer-card { min-height: 0; padding: 15px 16px 13px; }
  .timer-ring { width: 175px; height: 175px; margin: 5px 0 2px; }
  .timer-phase-name { margin-bottom: 11px; }
  .timer-actions { width: 100%; }
  .phase-navigation { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
  .phase-nav-item { padding: 8px; }
  .phase-nav-item .nav-step-title { font-size: 9px; }
  .facilitator-content { padding-left: 18px; }
  .facilitator-content ul { display: block; }
  .planning-heading { flex-direction: row; align-items: flex-end; }
  .planning-heading h1 { font-size: 44px; }
  .planning-total { min-width: 130px; padding: 10px 12px; }
  .planning-total strong { font-size: 26px; }
  .editor-panel { padding: 15px 12px; }
  .server-panel { grid-template-columns: 1fr; gap: 9px; }
  .schedule-columns, .schedule-row { grid-template-columns: minmax(88px,1fr) 65px 65px 22px; gap: 4px; }
  .schedule-name { font-size: 9px; }
  .schedule-time { font-size: 8px; }
  .duration-row { padding-left: 3px; padding-right: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Immersive presentation mode: the active step, its guidance and the timer stay in view. */
html.fullscreen-on, html.fullscreen-on body { min-height: 100%; background: var(--paper); }
html.fullscreen-on .topbar,
html.fullscreen-on .roster,
html.fullscreen-on .page-kicker,
html.fullscreen-on .session-heading > div:first-child,
html.fullscreen-on .principle-strip,
html.fullscreen-on .timing-notice,
html.fullscreen-on .facilitator-panel,
html.fullscreen-on .source-footer { display: none !important; }
html.fullscreen-on .app-layout { display: block; min-height: 100vh; }
html.fullscreen-on .main-area { min-height: 100vh; padding: 18px clamp(18px, 5vw, 72px); display: flex; align-items: center; }
html.fullscreen-on .session-view { width: 100%; max-width: 1420px; margin: auto; }
html.fullscreen-on .session-heading { display: flex; justify-content: flex-end; padding: 0 0 12px; margin: 0; }
html.fullscreen-on .presenter-box { min-width: 0; padding: 8px 11px; }
html.fullscreen-on .workbench { grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); gap: clamp(14px, 2vw, 26px); margin-top: 0; align-items: center; }
html.fullscreen-on .phase-card { padding: clamp(24px, 3.2vw, 48px); }
html.fullscreen-on .phase-card h2 { font-size: clamp(34px, 4vw, 58px); }
html.fullscreen-on .phase-lede { font-size: clamp(12px, 1.15vw, 16px); max-width: 760px; }
html.fullscreen-on .prompt-box { padding: 15px 17px; margin-bottom: 17px; }
html.fullscreen-on .prompt-text { font-size: clamp(18px, 1.7vw, 24px); }
html.fullscreen-on .role-guide { padding: 13px 12px; }
html.fullscreen-on .guide-title { font-size: 11px; }
html.fullscreen-on .role-guide p:last-child { font-size: 11px; }
html.fullscreen-on .phase-footnote { font-size: 10px; }
html.fullscreen-on .timer-card { min-height: 420px; padding: 22px 22px 17px; }
html.fullscreen-on .timer-ring { width: clamp(190px, 18vw, 255px); height: clamp(190px, 18vw, 255px); }
html.fullscreen-on .timer-readout time { font-size: 50px; }
html.fullscreen-on .timer-phase-name { font-size: 17px; }
html.fullscreen-on .button-primary { height: 44px; font-size: 12px; }
html.fullscreen-on .phase-navigation { margin-top: 17px; }
html.fullscreen-on .phase-nav-item { padding: 10px; }
html.fullscreen-on .phase-nav-item .nav-step-title { font-size: 9px; }
html.fullscreen-on .phase-nav-item .nav-step-time { font-size: 8px; }

@media (max-width: 860px) {
  html.fullscreen-on .workbench { grid-template-columns: minmax(0, 1fr); }
  html.fullscreen-on .timer-card { min-height: 0; }
  html.fullscreen-on .timer-ring { width: 180px; height: 180px; }
  html.fullscreen-on .phase-navigation { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  html.fullscreen-on .main-area { padding: 10px; }
  html.fullscreen-on .session-heading { padding-bottom: 8px; }
  html.fullscreen-on .workbench { gap: 9px; }
  html.fullscreen-on .phase-card { padding: 17px 14px; }
  html.fullscreen-on .phase-card h2 { font-size: 29px; }
  html.fullscreen-on .phase-navigation { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  html.fullscreen-on .phase-nav-item { padding: 7px; }
  html.fullscreen-on .timer-card { padding: 14px; }
  html.fullscreen-on .timer-ring { width: 150px; height: 150px; }
  html.fullscreen-on .timer-readout time { font-size: 38px; }
}
