:root {
  color-scheme: light;
  --ink: #173e35;
  --soft: #52675e;
  --paper: #f7f7f0;
  --line: #cdd5c9;
  --lime: #d8ee86;
  --white: #fffefa;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
}
* { box-sizing: border-box }
body { margin: 0 }
button, input, textarea, select { font: inherit; color: inherit }
button, summary { cursor: pointer }
a { color: inherit }
:focus-visible { outline: 3px solid #887100; outline-offset: 3px }
[hidden] { display: none !important }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
.skip:focus { position: absolute; z-index: 5; padding: 12px; background: white }
.participant { min-height: 100vh; display: flex; flex-direction: column }
.participant main { flex: 1 }
.wrap, .mast-inner { max-width: 1100px; padding-inline: clamp(18px,4vw,48px); margin-inline: auto }
.mast { background: var(--paper); border-bottom: 1px solid var(--line) }
.mast-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px }
.brand { display: inline-flex; align-items: center; gap: 13px; font-weight: 650; text-decoration: none }
.brand strong { font-family: Arial,sans-serif; font-size: 35px; line-height: 1; letter-spacing: -.09em; padding-right: 3px }
.brand span { padding-left: 13px; border-left: 1px solid #aab9ad; font-size: 14px }
.event-date, .kicker, .tile small { font: 650 12px/1.45 var(--sans); letter-spacing: .075em; text-transform: uppercase }
.event-date { color: var(--soft); font-size: 11px }
.hero { background: var(--ink); color: #f9fae9; overflow: hidden }
.hero-inner,.room-inner { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; min-height: 220px; padding-block: 44px }
.room-inner { min-height: 210px; padding-block: 25px 32px }
.hero-copy { position: relative; z-index: 1; flex: 1; min-width: 0 }
.hero-copy h1 { font: 500 clamp(42px,5.8vw,76px)/.99 var(--serif); letter-spacing: -.052em; margin: 8px 0 0; overflow-wrap: anywhere }
.hero-copy > p:not(.kicker) { font-size: clamp(17px,2vw,22px); max-width: 690px; margin: 14px 0 0; color: #e0e7dc }
.kicker { color: var(--lime); margin: 0; display: flex; align-items: center; gap: 9px }
.kicker span:not(#tableNumber) { opacity: .65 }
.back { margin-bottom: 18px; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: #edf1e5; text-underline-offset: 4px }
.conversation { position: relative; flex: 0 0 clamp(70px,15vw,175px); height: 110px; color: var(--lime); opacity: .9; margin-inline: 20px 0 }
.conversation i { position: absolute; border: 2px solid currentColor; border-radius: 50%; width: 65%; height: 70%; left: 0; top: 5%; transform: rotate(-25deg) }
.conversation i:nth-child(2) { left: 30%; top: 24%; transform: rotate(34deg) }
.conversation i:nth-child(3) { left: 20%; top: 41%; width: 53%; height: 46%; transform: rotate(3deg); background: var(--lime); mix-blend-mode: screen }
.lobby-list { padding-block: 36px 20px }
.lobby-list h2,.posts h2 { font: 500 clamp(27px,3vw,38px)/1.12 var(--serif); letter-spacing: -.035em; margin: 0 }
.lobby-list > p { margin: 8px 0 20px; color: var(--soft) }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,270px),1fr)); gap: 12px }
.tile { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 126px; padding: 19px 40px 19px 20px; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 12px; transition: border-color .16s, transform .16s }
.tile:hover { border-color: var(--ink); transform: translateY(-2px) }
.tile small { display: flex; align-items: center; gap: 7px; color: var(--soft) }
.tile b { font-size: 20px; line-height: 1.2; overflow-wrap: anywhere }
.tile .swatch { width: 13px; height: 13px; border-radius: 50%; display: inline-block; background: var(--ink) }
.tile .arrow { position: absolute; right: 16px; top: 15px; font-size: 22px }
.desk { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); gap: clamp(24px,5vw,60px); align-items: start; padding-block: 28px 20px }
.input-area { min-width: 0 }
.participant details > summary { min-height: 44px; list-style: none; display: flex; align-items: center; gap: 4px; font-weight: 600 }
.participant details > summary::-webkit-details-marker { display: none }
.participant details > summary::after { content: '+'; margin-left: auto; font: 400 22px/1 var(--sans) }
.participant details[open] > summary::after { content: '−' }
.questions { border-block: 1px solid var(--line); padding-block: 1px; margin-bottom: 20px; font-size: 15px }
.questions ol { line-height: 1.55; padding-left: 26px }
.questions li + li { margin-top: 8px }
.composer { border: 1px solid var(--line); background: var(--white); border-radius: 15px; padding: clamp(16px,2.5vw,28px) }
.form-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px }
.form-header label { font: 500 31px/1.1 var(--serif); letter-spacing: -.045em }
.phase { color: #345742; background: #e8efdb; padding: 5px 9px; border-radius: 99px; font-size: 12px; font-weight: 650; white-space: nowrap }
.phase::before { content: ''; display: inline-block; vertical-align: .05em; margin-right: 5px; width: 6px; height: 6px; border-radius: 50%; background: currentColor }
.phase.closed { background: #efebe3; color: #64573f }
.composer fieldset { border: 0; margin: 0; padding: 0; min-width: 0 }
.text-box { border: 1px solid #899f92; border-radius: 8px; padding: 12px; background: #fff; position: relative }
.text-box:focus-within { outline: 2px solid var(--ink); outline-offset: 1px }
.text-box textarea { border: 0; background: transparent; outline: 0; padding: 0; width: 100%; resize: vertical; min-height: 80px; line-height: 1.45; display: block }
.text-box textarea::placeholder { color: #68796f; opacity: 1 }
#counter { display: block; text-align: right; font-size: 11px; color: var(--soft); font-variant-numeric: tabular-nums; margin-top: 3px }
.mic, .primary { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 48px; padding: 10px 15px; border-radius: 8px; font-weight: 650; line-height: 1.2 }
.mic { margin-top: 9px; background: #edf2df; border: 1px solid #c2cdb4 }
.mic[aria-pressed=true] { background: #f9e6d8; border-color: #b67d63 }
.mic-icon { position: relative; width: 14px; height: 12px; margin: 1px 2px 3px; border: 1.6px solid currentColor; border-top: 0; border-radius: 0 0 9px 9px }
.mic-icon::before { position: absolute; content: ''; width: 5px; height: 11px; left: 2.75px; top: -5px; border: 1.5px solid currentColor; border-radius: 5px }
.mic-icon::after { position: absolute; content: ''; width: 8px; height: 4px; left: 1.5px; bottom: -6px; background: linear-gradient(currentColor,currentColor) center/1.6px 4px no-repeat; border-bottom: 1.5px solid currentColor }
.soundwave { margin-left: auto; display: flex; align-items: center; gap: 2px; height: 20px; opacity: .7 }
.soundwave i { width: 2px; height: 4px; border-radius: 2px; background: currentColor }
.soundwave i:nth-child(2n) { height: 10px }
.soundwave i:nth-child(3n) { height: 16px }
.mic[aria-pressed=true] i { animation: pulse .7s ease-in-out alternate infinite }
.mic[aria-pressed=true] i:nth-child(2n) { animation-delay: -.4s }
@keyframes pulse { from { transform: scaleY(.5) } to { transform: scaleY(1.3) } }
.hint,.feedback,.empty { font-size: 14px; line-height: 1.45 }
.hint { margin: 6px 0 16px; color: var(--soft); font-size: 13px }
.perspective legend { font-weight: 650; margin-bottom: 6px; padding: 0; font-size: 14px }
.perspective div { display: flex; gap: 4px; background: #f0f2e9; padding: 3px; border-radius: 8px }
.perspective label { display: flex; flex: 1; align-items: center; justify-content: center; position: relative; min-height: 44px; font-weight: 600; font-size: 14px; border-radius: 6px; cursor: pointer }
.perspective label:has(:checked) { background: #fff; color: var(--ink); box-shadow: 0 1px 4px #193b352a }
.perspective label:has(:checked)::before { content: '✓'; margin-right: 5px; font-weight: 700 }
.perspective label:has(:focus-visible) { outline: 3px solid #887100 }
.perspective input { position: absolute; opacity: 0 }
.author { margin: 5px 0 8px; font-size: 14px }
.author small { color: var(--soft); font-weight: 400; font-size: 13px }
.author input { width: 100%; border: 1px solid #899f92; border-radius: 6px; padding: 10px 12px; min-height: 44px }
.primary { background: var(--ink); color: white; border: 1px solid var(--ink); justify-content: space-between }
.primary span { font-size: 21px; line-height: .85 }
button:disabled, fieldset:disabled button { opacity: .58; cursor: default }
.feedback { background: #edf2df; border-radius: 6px; padding: 10px 12px; margin: 12px 0 0 }
.feedback:empty { display: none }
.feedback.error { background: #f7e9df; color: #79462e }
.posts { padding: 10px 0 }
.posts h2 { font-size: 26px; padding-bottom: 12px; border-bottom: 1px solid var(--line) }
.post { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--white); border-left: 3px solid #a9bc91; padding: 14px 17px; margin: 10px 0; line-height: 1.5 }
.empty { color: var(--soft) }
.foot { width: 100%; color: var(--soft); padding-block: 16px 24px; font-size: 13px }
.foot details { border-top: 1px solid var(--line) }
.foot p { max-width: 72ch; line-height: 1.5; margin-block: 5px }
@media(max-width:720px) {
  .mast-inner { min-height: 54px }
  .brand { gap: 8px }
  .brand span { padding-left: 8px; font-size: 12px }
  .brand strong { font-size: 31px }
  .event-date { font-size: 10px }
  .desk { grid-template-columns: 1fr; gap: 18px; padding-block: 13px 5px }
  .room-inner { min-height: 0; padding-block: 5px 21px }
  .room-inner .back { margin-bottom: 1px; font-size: 13px }
  .room-inner h1 { font-size: clamp(34px,9vw,50px) }
  .hero-inner { min-height: 190px; padding-block: 32px }
  .conversation { flex-basis: 68px; height: 63px; margin-left: 10px }
  .room-inner .conversation { align-self: flex-start; position: absolute; right: 18px; top: 11px; width: 47px; height: 32px }
  .conversation i { border-width: 1.4px }
  .hero-inner .conversation { align-self: flex-end }
  .kicker { font-size: 10px }
  .questions { margin-bottom: 12px }
  .form-header label { font-size: 29px }
  .tile-grid { gap: 9px }
  .tile { min-height: 90px; padding-block: 14px; gap: 5px }
}
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important } }
