@font-face {
  font-family: Space Grotesk;
  src: url('/type/space-grotesk.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: Barlow Condensed;
  src: url('/type/barlow-condensed.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: IBM Plex Mono;
  src: url('/type/plex-mono.woff2') format('woff2');
  font-display: swap;
}
:root {
  color: #211c22;
  background: #f7efd9;
  font: 400 1rem/1.55 Space Grotesk, system-ui, sans-serif;
  --paper: #f7efd9;
  --white: #fffaec;
  --ink: #211c22;
  --muted: #595044;
  --border: #aaa08c;
  --line: #786954;
  --red: #cc403e;
  --light-red: #ff8580;
  --display: Barlow Condensed, Impact, sans-serif;
  --mono: IBM Plex Mono, ui-monospace, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
h1,h2,p,dl,dd,ol { margin: 0; }
h1,h2 { font-family: var(--display); font-weight: 720; line-height: .98; }
a { color: inherit; text-underline-offset: .21em; }
a:hover { color: #8d2c33; }
button,input,textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .62; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #a03138; outline-offset: 3px; }
.wrap { width: min(100% - 94px, 1240px); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: 8px; left: 8px; padding: 8px 14px; color: var(--ink); background: var(--paper); transform: translateY(-150%); }
.skip:focus { transform: none; }
.mast { border-bottom: 1px solid var(--line); }
.top,.footer { display: flex; justify-content: space-between; align-items: center; gap: 9px 15px; }
.top { min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 710 1.78rem/1 var(--display); letter-spacing: .025em; text-transform: uppercase; text-decoration: none; }
.brand img { border: 1px solid var(--ink); }
.top nav { display: flex; align-items: center; gap: 10px clamp(12px,3vw,28px); }
.top nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: .86rem; text-decoration: none; font-weight: 580; }
.top nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--red); }
.intro { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(220px,.8fr); align-items: end; gap: 14px 39px; padding-block: clamp(24px,4vw,51px) 23px; }
.intro h1,.reading h1 { font-size: clamp(4rem,8.4vw,8.7rem); letter-spacing: -.033em; line-height: .88; }
.intro p,.reading header p { color: var(--muted); font-size: clamp(1rem,1.48vw,1.17rem); max-width: 41ch; }
#workspace { scroll-margin-top: 10px; }
#workspace:focus { outline: none; }
.meeting-question { padding: 12px 18px 15px; border: 1px solid var(--line); border-bottom: 0; background: var(--white); }
.meeting-question label { font-size: .83rem; font-weight: 670; }
.meeting-question > div { display: flex; align-items: center; gap: 10px; margin-top: 5px; }
.meeting-question input,.rec-fields input,.rec-fields textarea,#copy-text { min-height: 39px; padding: 7px 9px; background: #fffdf6; border: 1px solid var(--line); color: var(--ink); border-radius: 2px; min-width: 0; }
.meeting-question input { flex: 1; font-size: clamp(.96rem,2vw,1.2rem); font-weight: 590; }
.meeting-question input::placeholder,.rec-fields :is(input,textarea)::placeholder { color: #685e51; opacity: 1; font-weight: 430; }
.source { padding-top: 5px; font-size: .83rem; color: #8d2c33; }
.run-board { border: 1px solid var(--line); display: grid; grid-template-columns: minmax(240px,.78fr) minmax(0,2.3fr); }
.rounds { padding: clamp(14px,2vw,24px); background: #eeddb8; }
.rounds h2 { font-size: 2.03rem; margin-bottom: 10px; }
.rounds > div { display: grid; gap: 5px; }
.rounds button { display: grid; grid-template-columns: 2.2ch minmax(0,1fr) auto; gap: 7px; align-items: center; width: 100%; text-align: left; min-height: 43px; padding: 7px 8px; background: transparent; border: 1px solid var(--border); border-radius: 2px; color: var(--ink); }
.rounds button:hover { border-color: var(--ink); }
.rounds button[aria-pressed='true'] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.rounds strong { font-size: .86rem; line-height: 1.2; }
.round-index,.rounds small { font: .73rem/1.25 var(--mono); }
.round-index { color: #934039; }
.rounds button[aria-pressed='true'] .round-index { color: var(--light-red); }
.timer-panel { padding: clamp(14px,2.8vw,31px); background: var(--ink); color: #fff5df; }
.timer-panel :focus-visible,.room :focus-visible { outline-color: var(--light-red); }
.clock { display: flex; align-items: end; justify-content: space-between; gap: 13px; padding-bottom: 11px; border-bottom: 1px solid #78636a; }
#timer,.room-clock output { display: block; font: 400 clamp(3.65rem,7.75vw,8rem)/.85 var(--mono); letter-spacing: -.092em; font-variant-numeric: tabular-nums; }
#timer-state,.room-clock p { margin-top: 5px; color: #e3c5bd; font: .76rem/1.2 var(--mono); }
.timer-panel[data-clock='running'] #timer-state,.room-page[data-clock='running'] .room-clock p { color: #ffd688; }
.timer-panel[data-clock='finished'] #timer,.room-page[data-clock='finished'] .room-clock output { color: var(--light-red); }
.timer-buttons { display: flex; flex-wrap: wrap; justify-content: end; gap: 6px; }
.primary,.secondary,.quiet { display: inline-flex; justify-content: center; align-items: center; gap: 7px; padding: 8px 13px; min-height: 40px; border: 1px solid var(--ink); border-radius: 2px; color: var(--ink); background: transparent; font-size: .86rem; line-height: 1.2; font-weight: 665; text-decoration: none; }
.primary { background: var(--ink); color: var(--paper); }
.primary:hover:enabled,.primary[href]:hover { background: #423039; color: white; }
.secondary:hover:enabled { background: #eddfbd; color: var(--ink); }
.timer-panel .primary { background: var(--light-red); border-color: var(--light-red); color: #211b20; }
.timer-panel .primary:hover { background: #ffa4a0; color: #211b20; }
.quiet { color: #f9e6d9; border-color: #a38587; }
.quiet:hover:enabled { color: #fff6ec; border-color: var(--light-red); }
.instruction { padding-block: 13px 16px; }
.instruction h2 { font-size: clamp(2.2rem,4.05vw,4.6rem); letter-spacing: -.017em; }
.instruction p { margin-top: 5px; color: #f0dcd2; font-size: clamp(.95rem,1.5vw,1.13rem); max-width: 61ch; }
.timer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.timer-bottom a { color: #ffaaa1; font-size: .86rem; }
.record { background: var(--white); border: 1px solid var(--line); margin-top: 20px; padding: clamp(14px,2.7vw,30px); scroll-margin-top: 16px; }
.record-heading { display: flex; justify-content: space-between; align-items: end; gap: 7px 15px; margin-bottom: 11px; }
.record-heading h2 { font-size: clamp(2.5rem,4.85vw,5rem); letter-spacing: -.021em; }
.record-heading p { margin-top: 4px; color: var(--muted); font-size: .85rem; }
#save-status { color: var(--muted); font: .73rem/1.3 var(--mono); text-align: right; }
.outcome { border: 1px solid var(--border); padding: 9px 11px; margin: 0 0 10px; }
.outcome legend { padding: 0 4px; font-size: .83rem; font-weight: 630; }
.outcome > div { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.outcome label { display: flex; gap: 6px; align-items: center; font-size: .83rem; min-height: 25px; cursor: pointer; }
.outcome input { margin: 0; accent-color: #953735; }
.rec-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 11px; }
.rec-fields label { display: grid; gap: 3px; font-size: .84rem; font-weight: 660; min-width: 0; }
.rec-fields label > span:not([id]) { color: var(--muted); font-size: .75rem; font-weight: 420; }
.rec-fields label.full { grid-column: 1/-1; }
.rec-fields input,.rec-fields textarea,#copy-text { width: 100%; font-size: .91rem; font-weight: 420; }
.rec-fields textarea { resize: vertical; }
.handoff { display: flex; justify-content: space-between; align-items: center; gap: 8px 18px; margin-top: 11px; }
.handoff p,#message,#copy-fallback { color: var(--muted); font-size: .82rem; }
.handoff > div { display: flex; flex-shrink: 0; gap: 6px; }
#message,#copy-fallback { margin-top: 7px; }
#copy-fallback { display: grid; gap: 5px; }
.print-out { display: none; }
.clear { margin: 12px 0 0; font-size: .83rem; }
.clear summary { width: fit-content; cursor: pointer; }
.clear p { padding: 4px 0; color: var(--muted); }
.tip { margin-block: 13px 29px; color: var(--muted); font-size: .85rem; }
.fallback { padding: 17px; border: 1px solid var(--border); }
.footer { border-top: 1px solid var(--line); padding: 12px 0 20px; font-size: .81rem; color: var(--muted); }
.footer .brand { font-size: 1.18rem; color: var(--ink); }
.reading { padding-block: clamp(28px,5vw,62px) 49px; min-height: 60vh; }
.reading header { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.reading header p { margin-block: 12px; max-width: 56ch; }
.guide-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); gap: clamp(20px,4vw,49px); margin-top: 16px; }
.guide-grid h2 { font-size: clamp(2.1rem,3.2vw,3.2rem); }
.guide-grid p,.guide-grid ol { margin-top: 7px; }
.guide-grid ol { padding-left: 24px; }
.guide-grid li { margin-block: 7px; }
.guide-grid li p { margin-top: 1px; }
.guide-grid section + section { border-top: 1px solid var(--border); padding-top: 10px; margin-top: 16px; }
.guide-grid aside { align-self: start; border: 1px solid var(--line); background: var(--ink); color: var(--paper); padding: clamp(13px,2.6vw,26px); }
.guide-grid aside dd { color: #ead7cc; margin-top: 2px; font-size: .89rem; }
.guide-grid aside div { padding: 8px 0; border-bottom: 1px solid #78636a; }
.guide-grid aside dt { color: var(--light-red); font-size: .79rem; font-weight: 650; }
.guide-grid aside a { display: inline-block; color: #ffaaa1; margin-top: 11px; }
.guide-grid aside .worked-question { font-weight: 630; }
.room-page { background: var(--ink); color: var(--paper); min-height: 100vh; }
.room { width: min(100% - 54px, 1080px); margin: 0 auto; padding-block: clamp(16px,3vw,36px); }
.room header { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-bottom: 1px solid #98797d; padding-bottom: 13px; }
.room .brand { color: var(--paper); }
.room-question { padding-block: 12px; color: var(--light-red); font-size: clamp(1.2rem,3vw,2.55rem); font-weight: 615; overflow-wrap: anywhere; }
.room-clock { border-top: 1px solid #78636a; border-bottom: 1px solid #78636a; padding-block: clamp(13px,2vw,29px); margin-bottom: 16px; }
.room-clock output { font-size: clamp(4.6rem,17.3vw,13.5rem); }
.room-clock p { font-size: clamp(.79rem,2.4vw,1.24rem); }
.room h1 { font-size: clamp(3.15rem,7.5vw,6.5rem); }
.room-prompt { margin-top: 8px; color: #ead7cc; font-size: clamp(1.17rem,2.6vw,2.07rem); max-width: 52ch; }
.room-source { margin-top: 10px; color: var(--light-red); font-size: .86rem; }
@media (max-width: 980px) {
  .wrap { width: calc(100% - 52px); }
  .intro { grid-template-columns: 1.3fr 1fr; gap: 12px 27px; }
}
@media (max-width: 735px) {
  .wrap { width: calc(100% - 28px); }
  .intro { display: block; }
  .intro p { margin-top: 8px; }
  .run-board,.guide-grid { grid-template-columns: 1fr; }
  .rounds { border-bottom: 1px solid var(--line); }
  .rounds > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rounds button { grid-template-columns: 1.6ch 1fr; align-items: start; gap: 2px 5px; }
  .rounds small { grid-column: 2; }
  .clock { align-items: start; }
  .timer-buttons { max-width: 42%; }
  .timer-buttons .primary,.timer-buttons .quiet { min-height: 35px; padding-inline: 7px; }
  .handoff { align-items: start; flex-direction: column; }
  .room { width: calc(100% - 29px); }
}
@media (max-width: 405px) {
  .top { min-height: 58px; }
  .brand { font-size: 1.43rem; gap: 5px; }
  .brand img { width: 25px; height: 25px; }
  .top nav a { font-size: .75rem; }
  .intro h1 { font-size: clamp(3.65rem,14vw,4.8rem); }
  .meeting-question { padding: 10px; }
  .meeting-question > div { align-items: start; flex-direction: column; gap: 5px; }
  .meeting-question input { width: 100%; }
  .meeting-question button { min-height: 34px; }
  .clock { gap: 6px; }
  #timer { font-size: 3.75rem; }
  .timer-buttons { max-width: 45%; gap: 4px; }
  .timer-buttons button { font-size: .75rem; }
  .record-heading { display: block; }
  #save-status { text-align: left; margin-top: 7px; }
  .rec-fields { grid-template-columns: 1fr; }
}
@media print {
  body { background: white; color: black; }
  .mast,.intro,.meeting-question,.run-board,.record,.clear,.tip,.footer,.skip { display: none !important; }
  .print-out { display: block; }
  .print-out pre { white-space: pre-wrap; font: 12pt/1.5 system-ui; }
}
