.team-status { display: grid; grid-template-columns: repeat(2, 1fr); padding: 0; list-style: none; border-top: 1px solid var(--line); margin-top: 10px; }
.team-status li { padding: 13px 15px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); min-width: 0; }
.team-status li:nth-child(even) { border-right: 0; }
.team-status strong, .team-status span { display: block; }
.team-status strong { font-size: .88rem; font-weight: 600; }
.team-status span { color: var(--muted); font-size: .8rem; margin-top: 3px; }
.team-status li[data-own=true] { background: #eee7dc; border-left: 3px solid var(--accent); padding-left: 12px; }
.team-status li[data-state=done] span { color: #256148; }
.team-status li[data-state=skipped] span { color: #805427; }
.role-reminder-notice { margin: 0 0 12px; padding: 9px 12px; background: #e7f2ea; border-left: 3px solid #256148; font-weight: 700; }
.entry-join { display: grid; align-items: start; justify-items: start; gap: 10px; margin: 0 0 18px; }
.entry-join p, .entry-join .field { margin: 0; }
.entry-join .field { width: min(100%, 520px); }
.entry-join textarea { resize: vertical; }
.entry-problem { border-left: 3px solid var(--accent); padding-left: 10px; }
.entry-demo { display: inline-flex; align-items: center; min-height: 44px; }
.team-invite-panel { padding: 14px; margin: 10px 0 16px; border-left: 3px solid #275846; background: #eef4ee; }
.team-invite-panel h3 { margin-bottom: 6px; }
.team-invite-panel p { margin-bottom: 9px; }
.team-invite-panel textarea { width: 100%; margin-top: 8px; }
.team-join-options { display: grid; gap: 10px; }
.team-join-options button { min-height: 44px; width: 100%; }
.team-join-choice { display: grid; justify-content: start; gap: 4px; text-align: left; }
.team-join-choice span { display: block; font-size: .84rem; font-weight: 400; }
.team-join-choice:disabled { opacity: .58; }
.team-join-options a { display: inline-flex; align-items: center; min-height: 44px; }
.booking-planning { padding: 8px 12px; border: 1px solid var(--line); }
.booking-planning[hidden] { display: none; }
.booking-planning summary { min-height: 44px; display: list-item; padding-block: 9px; font-weight: 600; }
.booking-planning label + label { margin-top: 10px; }
.booking-planning input { width: 100%; min-width: 0; }
.booking-editor { padding-block: 4px 8px; }
.booking-editor > button { margin-top: 12px; }
.booking-summary { border-left: 3px solid #275846; padding: 8px 12px; margin: 8px 0 12px; }
.booking-summary p { margin: 0 0 7px; }
.lobby-other-role { display: flex; width: fit-content; align-items: center; min-height: 44px; }
.knowledge-circle { margin: 8px 0; border: 1px solid var(--line); padding: 0 12px; background: #fffcf7; }
.knowledge-circle summary { min-height: 44px; padding-block: 10px; }
.knowledge-circle ul { padding: 0; margin: 0 0 10px; list-style: none; }
.knowledge-circle li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; border-top: 1px solid var(--line); padding: 8px 7px; font-size: .84rem; }
.knowledge-circle li[data-own=true] { background: #f0e9dd; border-left: 3px solid var(--accent); }
.knowledge-circle [data-progress=received] span { color: #256148; }
.knowledge-circle [data-progress=skipped] span { color: #805427; }
.lobby-panel { margin: 12px 0 28px; padding: 16px; border-left: 4px solid var(--accent); background: #f4efe6; }
.lobby-panel .join-progress { margin: 0 0 8px; }
.lobby-panel p { max-width: 58ch; }
.lobby-panel button { min-height: 44px; }
.invite-status[data-ready=true] { color: #256148; font-weight: 700; }
.stage-recap { border: 1px solid var(--line); border-left: 3px solid #275846; padding: 0 12px; margin: 10px 0 14px; background: #f8f5ed; }
.stage-recap summary span { margin-right: 9px; color: #51493f; font-size: .8rem; }
.stage-recap summary strong { font-size: .92rem; }
.stage-recap ul { margin: 0 0 11px; padding-left: 21px; }
.stage-recap li { font-size: .9rem; margin-block: 4px; overflow-wrap: anywhere; }
.speaking-notice { margin: 10px 0 14px; padding: 13px; border-left: 3px solid #275846; background: #eef4ee; }
.speaking-notice h2 { margin: 0; font-size: 1rem; }
.speaking-notice p { margin: 8px 0; }
.speaking-notice button { min-height: 44px; }
.continuity-advice { margin: 16px 0 0; padding: 13px; background: #fffdf8; border: 1px solid var(--line); }
.continuity-advice h3 { margin: 0 0 6px; font-size: 1rem; }
.continuity-advice p { margin: 5px 0; }
.continuity-advice .team-actions { margin-top: 10px; }
.continuity-advice button { min-height: 44px; }
.continuity-advice button[aria-pressed=true] { background: #245845; border-color: #245845; color: #fff; }
.opening-reason { padding: 0 12px 8px; border: 1px solid var(--line); background: #fffdf8; }
.opening-reason label { display: block; font-weight: 600; font-size: .86rem; }
.opening-reason select { min-height: 44px; width: min(100%,18rem); margin: 6px 0; }
.opening-reason-fact { margin: 0 0 6px; font-size: .88rem; }
.opening-reason-fact:empty { display: none; }
.personal { border-top: 3px solid var(--accent); background: #f0e9dd; padding: 22px; margin: 24px 0 30px; }
.personal-progress { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: 6px; margin: 0 0 16px; padding: 0; }
.personal-progress li { border-top: 3px solid #beb1a3; padding: 5px 2px 0; overflow-wrap: anywhere; }
.personal-progress [data-status=current] { border-color: var(--accent); }
.personal-progress [data-status=done] { border-color: #275846; }
.personal-progress [data-status=missing] { border-color: #985d31; }
.personal-progress span, .personal-progress strong { display: block; }
.personal-progress span { color: #5e5145; font-size: .72rem; line-height: 1.35; }
.personal-progress strong { font-size: .84rem; line-height: 1.3; }
.personal h2 { font-size: 1.55rem; }
.personal > p { max-width: 52ch; }
.personal > .primary { width: 100%; margin-top: 12px; }
.personal > details:not(.help-note) { font-size: .85rem; border-bottom: 1px solid #c7bbab; padding-top: 0; margin-bottom: 18px; }
.personal > details:not(.help-note) summary { color: #665a4d; }
.fact-list { padding-left: 20px; }
.fact-list li { margin-bottom: 14px; }
.facilitator-panel h2 { margin-bottom: 7px; }
.facilitator-shortcuts { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.facilitator-shortcuts > * { min-height: 44px; padding: 6px 10px; font-size: .83rem; }
.facilitator-clock { margin: 0 0 12px; }
.facilitator-clock p { margin: 0 0 5px; }
.facilitator-clock .secondary { min-height: 44px; }
.facilitator-clock [data-facilitator-elapsed] { font-variant-numeric: tabular-nums; }
.facilitator-clock .clock-target { color: var(--muted); font-size: .86rem; }
.facilitator-jump { min-height: 44px; }
.facilitator-panel > .facilitator-jump { margin-top: 12px; }
#team-invites-title, #team-invite-title, #team-progress-title { scroll-margin-top: 16px; }
.join-progress { font-weight: 700; color: #256148; }
#team-readiness-status { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.invite { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.invite strong { font-size: 1rem; }
.invite-status { display: block; color: var(--muted); font-size: .82rem; }
.invite-status[data-opened=true] { color: #256148; }
.invite-personal { border-bottom: 1px solid var(--line); }
.invite-personal > summary { display: list-item; }
.invite-personal > summary .invite-status { display: inline; margin-inline-start: 8px; }
.invite-personal > .invite { grid-template-columns: minmax(0, 1fr); padding-top: 0; border: 0; }
.invite-actions { display: flex; flex-wrap: wrap; gap: 7px 12px; align-items: center; }
.invite a { overflow-wrap: anywhere; font-size: .82rem; min-height: 44px; display: inline-flex; align-items: center; }
.invite button { margin: 0; font-size: .8rem; min-height: 44px; }
.invite-qr-dialog { width: min(25rem, calc(100% - 24px)); padding: 18px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--paper); }
.invite-qr-dialog::backdrop { background: rgb(22 20 18 / 65%); }
.invite-qr-dialog h2 { font-size: 1.3rem; margin: 0; }
.invite-qr-dialog p { margin: 8px 0; font-size: .92rem; }
.invite-qr-dialog canvas { display: block; width: min(100%, 20rem); height: auto; margin: 0 auto 12px; image-rendering: pixelated; }
.invite-qr-dialog button { width: 100%; min-height: 44px; }
.action-feedback { margin: 4px 0 8px; font-size: .85rem; }
.action-feedback:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; margin: 0; }
.invite .action-feedback { grid-column: 1 / -1; margin: 0; }
.invite-manual { grid-column: 1 / -1; font-size: .85rem; }
.invite-manual :is(input, textarea) { display: block; width: 100%; min-height: 44px; }
.invite-manual textarea { resize: vertical; }
.invite-help { grid-column: 1 / -1; font-size: .82rem; color: var(--muted); }
.invite-help summary { display: list-item; min-height: 44px; padding-block: 10px; box-sizing: border-box; }
.invite-help button { margin: 0 8px 8px 0; }
.invite-confirmation { border-left: 3px solid #bb2027; padding-left: 12px; margin-top: 12px; }
.invite-confirmation p { margin-bottom: 8px; color: #3b2723; }
.facilitator-progress { margin: 22px 0 28px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.facilitator-progress > .team-actions { margin-bottom: 16px; }
.facilitator-progress [data-section=role-reminders] { margin: 0 0 12px; }
.facilitator-progress [data-section=role-reminders] .team-actions { margin-top: 8px; }
.invite-validity { font-size: .85rem; color: var(--muted); }
.times-disclosure > p { font-size: .88rem; color: var(--muted); }
.times-round h4 { margin: 12px 0 8px; }
.role-times { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; margin: 5px 0 16px; font-size: .83rem; }
.role-times dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.team-actions { display: grid; gap: 10px; margin: 18px 0 0; }
.team-actions button { width: 100%; }
.clarification-notice { margin: 10px 0; padding: 11px 13px; background: #fff5e2; border-left: 3px solid #805427; color: #3b2723; font-size: .9rem; }
.clarification-notice p { margin: 4px 0 0; }
.clarification-control { margin-top: 16px; }
.clarification-control .secondary { min-height: 44px; }
.command-retry { margin: 12px 0; padding: 12px; background: #fff9ee; border-left: 3px solid var(--accent); }
.command-retry p { margin: 0 0 8px; font-size: .9rem; }
.command-retry .primary { width: 100%; }
.invite-help .command-retry button { margin: 0; }
.personal [data-advance] { margin-top: 0; }
.personal [data-advance] h2, .personal [data-advance] p { margin-bottom: 0; }
#team[aria-busy=true] button { cursor: wait; }
button:disabled { opacity: .58; cursor: wait; }
.team-result { padding: 23px; border-top: 4px solid var(--accent); background: #f0e9dd; margin: 22px 0; }
.team-result > p { border-bottom: 1px solid #d4c9b9; padding-bottom: 13px; font-size: 1rem; }
.team-result h3 { margin-top: 24px; }
.first-work dl { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr); gap: 6px 14px; margin: 0 0 20px; }
.first-work dt { font-weight: 600; }
.first-work dd { margin: 0; overflow-wrap: anywhere; }
.work-deadline { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.work-deadline summary { font-weight: 600; }
.work-deadline label { display: block; margin-top: 8px; }
.work-deadline input { width: min(100%, 18rem); min-height: 44px; }
.work-deadline p { margin: 8px 0 0; }
.closing-work-choice label { display: block; margin-bottom: 4px; font-weight: 600; }
.closing-work-choice select { width: 100%; min-width: 0; min-height: 44px; }
.first-work textarea { width: 100%; font: inherit; }
.pilot-note { margin: 16px 0 0; border: 1px solid var(--line); padding: 0 12px 12px; }
.pilot-note summary { font-weight: 700; }
.pilot-note p { font-size: .88rem; }
.pilot-note textarea { width: 100%; min-height: 150px; resize: vertical; font: inherit; font-size: .86rem; margin-bottom: 10px; }
.pilot-note button { min-height: 44px; }
.team-result details { border-top: 1px solid #d4c9b9; }
.team-result ol { font-size: .85rem; padding-left: 20px; }
.team-result li { margin-bottom: 10px; }
.team-result .journey-stage { margin-top: 8px; padding: 0 10px; border: 1px solid var(--line); background: #fffdf8; }
.journey > summary, .journey-stage > summary { min-height: 48px; padding-block: 10px; }
.journey-stage > summary { font-weight: 600; }
.journey-stage ol { margin-top: 4px; }
.payment-comparison { margin: 22px 0; padding: 16px; border: 1px solid var(--line); background: #fffcf7; }
#decision-comparison-title { scroll-margin-top: 16px; }
.payment-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.payment-choice { min-width: 0; border: 1px solid var(--line); border-top: 3px solid #53785a; padding: 12px; }
.payment-choice + .payment-choice { border-top-color: var(--accent); background: #f6f1e9; }
.payment-caption { color: var(--muted); font-size: .84rem; margin-bottom: 4px; }
.payment-choice h3 { font-size: 1rem; margin-bottom: 8px; }
.payment-choice p:last-child { margin-bottom: 0; }
.payment-question { font-weight: 650; }
.payment-comparison .secondary { min-height: 44px; }
.payment-comparison [aria-pressed=true] { background: #245845; border-color: #245845; color: #fff; }
@media (max-width: 500px) { .payment-choices { grid-template-columns: 1fr; } }
@media print { .payment-comparison, .facilitator-jump, .facilitator-clock, .invite-qr-dialog { display: none !important; } }
.debrief-panel { margin-top: 24px; padding: 16px; background: #f0e9dd; border-top: 3px solid var(--accent); }
.debrief-panel .team-actions { margin-bottom: 10px; }
#debrief-title { scroll-margin-top: 16px; }
.team-error { color: var(--accent); font-weight: 600; }
.team-progress { display: inline-block; font-family: var(--mono); color: var(--accent); font-size: .69rem; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 22px; }
#connection { color: var(--muted); font-size: .8rem; min-height: 1.55em; margin-bottom: 18px; }
#connection:empty { min-height: 0; margin: 0; }
#connection[data-interrupted] { color: #683f17; background: #fff5e2; border-left: 3px solid #805427; padding: 8px 10px; }
#team > h2 { font-size: 1.1rem; }
#team > h1 { max-width: 20ch; }
#team > .lead { font-size: 1.05rem; }
#team > button { width: 100%; margin: 8px 0; }
#team .stack { margin-top: 25px; }
@media (max-width: 500px) {
  .team-site-header { padding: 8px 14px; }
  .team-site-header > a { display: inline-flex; align-items: center; min-height: 44px; }
  .game { padding: 12px 12px 48px; }
  .game > .eyebrow { margin-bottom: 8px; padding-bottom: 6px; }
  #team.panel { padding: 14px; }
  #team > h1 { font-size: clamp(1.55rem, 7.5vw, 2rem); margin-bottom: 8px; }
  #team > .team-progress { margin-bottom: 10px; padding-bottom: 5px; }
  #team > .lead { font-size: .95rem; margin-bottom: 10px; }
  .team-status { grid-template-columns: 1fr; }
  .team-status li { border-right: 0; }
  .personal { padding: 12px; margin: 12px 0 16px; }
  .personal-progress { margin-bottom: 10px; }
  .personal h2 { font-size: 1.3rem; margin-bottom: 8px; }
  .personal > p { margin-bottom: 9px; }
  .personal > .primary { min-height: 48px; padding: 8px 12px; margin-top: 4px; }
  .invite { grid-template-columns: 1fr; }
  .invite button { width: 100%; }
  .first-work dl { grid-template-columns: 1fr; gap: 2px; }
  .first-work dd { margin-bottom: 8px; }
}
@media print { .team-actions, .invite, .invite-personal, #connection, #team > button, .action-feedback, .command-retry, .debrief-panel, .pilot-note { display: none !important; } .team-result { background: white; border: 0; padding: 0; } }

.exercise-notice { color: var(--muted); font-size: .8rem; border-left: 2px solid var(--accent); padding-left: 12px; margin-bottom: 14px; }
.entry-options { margin-top: 20px; }
.entry-options > summary { min-height: 44px; padding-block: 9px; }
.entry-options .field[hidden] { display: none; }
.host-history { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line); background: var(--paper); }
.host-history h2 { font-size: 1.05rem; margin: 0 0 8px; }
.host-history ul { margin: 0 0 8px; padding-left: 18px; }
.host-history li + li { margin-top: 4px; }
