:root {
  color-scheme: light;
  --canvas: #f5f3ee;
  --surface: #ffffff;
  --ink: #10231f;
  --muted: #53635f;
  --teal: #006b5e;
  --teal-dark: #005248;
  --teal-tint: #dcefea;
  --warning-bg: #fff3d6;
  --warning: #5c3b00;
  --failure: #9b2c2c;
  --failure-bg: #fbe8e5;
  --border: #d3d8d4;
  /* Interactive boundaries need 3:1; --border is for decorative edges only. */
  --border-strong: #75817d;
  --focus: #1d4ed8;
  --radius: 14px;
  --shadow: 0 16px 45px rgb(16 35 31 / 0.07);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
}

[hidden] {
  display: none !important;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 24px;
  max-width: 760px;
  font-size: clamp(3rem, 6.2vw, 6.1rem);
  font-weight: 650;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.7vw, 3.7rem);
  font-weight: 620;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  font-weight: 620;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 8px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.73rem;
  font-weight: 780;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mono {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.87em;
  letter-spacing: -0.02em;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(1440px, calc(100% - 56px));
  min-height: 92px;
  margin-inline: auto;
  border-bottom: 1px solid rgb(16 35 31 / 0.15);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 780;
  line-height: 1.05;
  letter-spacing: 0.105em;
  text-decoration: none;
}

.wordmark-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  flex: 0 0 auto;
  background: var(--ink);
  color: var(--teal-tint);
  border-radius: 50%;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.live-status,
.webmcp-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  color: var(--muted);
  font-size: 0.78rem;
}

.webmcp-status {
  padding: 6px 11px;
  background: rgb(255 255 255 / 0.68);
  border: 1px solid var(--border);
  border-radius: 99px;
}

.webmcp-status.ready {
  background: var(--teal-tint);
  border-color: rgb(0 107 94 / 0.25);
  color: var(--teal-dark);
}

.webmcp-label {
  font-weight: 760;
}

.live-dot,
.pulse-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: #2a8a62;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgb(42 138 98 / 0.14);
}

.live-status.stale {
  color: var(--failure);
}

.live-status.stale .live-dot {
  background: var(--failure);
  box-shadow: 0 0 0 4px rgb(155 44 44 / 0.12);
}

/* The venue this page asked for no longer exists on the server. Kept in the
   document flow at every width: losing the venue must never look like a live
   one, and the header's live indicator is hidden on narrow screens. */
.venue-notice {
  margin-top: 22px;
  padding: 14px 18px;
  border: 1px solid var(--failure);
  border-left-width: 4px;
  border-radius: 10px;
  background: rgb(155 44 44 / 0.07);
  color: var(--failure);
  font-size: 0.92rem;
  line-height: 1.5;
}

.venue-notice[hidden] {
  display: none;
}

.text-link {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 680;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(310px, 0.75fr);
  align-items: end;
  gap: 72px;
  padding-block: clamp(64px, 7vw, 108px) 66px;
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.17rem, 1.8vw, 1.45rem);
}

.event-ticket {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  min-height: 280px;
  padding: 30px;
  overflow: hidden;
  background: var(--ink);
  color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.event-ticket::before,
.event-ticket::after {
  content: "";
  position: absolute;
  left: -12px;
  width: 24px;
  height: 24px;
  background: var(--canvas);
  border-radius: 50%;
}

.event-ticket::before {
  top: 72px;
}

.event-ticket::after {
  bottom: 72px;
}

.event-ticket h2 {
  max-width: 260px;
  margin: 26px 0 30px;
  color: white;
  font-size: 2rem;
  letter-spacing: -0.025em;
}

.event-ticket p {
  margin-bottom: 4px;
  color: #c8d3d0;
  font-size: 0.9rem;
}

.ticket-date {
  align-self: flex-end;
  text-align: center;
}

.ticket-date strong,
.ticket-date span {
  display: block;
}

.ticket-date strong {
  font-size: 3.7rem;
  font-weight: 560;
  line-height: 0.9;
}

.ticket-date span {
  margin-top: 8px;
  color: #8ccdc3;
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.16em;
}

.protocol-strip {
  background: #e7ebe8;
  border-bottom: 1px solid var(--border);
}

.protocol-grid {
  display: grid;
  grid-template-columns: auto minmax(145px, 0.85fr) minmax(170px, 1fr) minmax(170px, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 58px;
  color: var(--muted);
  font-size: 0.73rem;
}

.protocol-label {
  color: var(--teal-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.protocol-grid code {
  color: var(--ink);
  font: 0.7rem "SFMono-Regular", Consolas, monospace;
}

.protocol-grid strong {
  color: var(--ink);
  font-size: 0.73rem;
}

.booking-section,
.route-section,
.audit-section {
  padding-block: 112px;
}

.audit-section {
  padding-block: 72px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 48px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 540px;
  color: var(--muted);
  font-size: 1.05rem;
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.92fr) minmax(0, 1.35fr);
  gap: 22px;
}

.requirements-card,
.assurance-card {
  padding: clamp(24px, 3vw, 38px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.requirements-card fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.protocol-field {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.protocol-field small {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.requirements-intro {
  margin: 0 0 20px;
  padding-bottom: 16px;
  color: var(--muted);
  border-bottom: 1px solid #e7e9e7;
  font-size: 0.8rem;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-block: 16px;
  border-bottom: 1px solid #e7e9e7;
  cursor: pointer;
}

.check-row:first-of-type {
  padding-top: 0;
}

.check-row input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--teal);
}

.check-row span {
  display: grid;
  gap: 3px;
}

.check-row strong {
  font-size: 0.98rem;
  font-weight: 650;
}

.check-row small {
  color: var(--muted);
  font-size: 0.8rem;
}

.number-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.number-grid > label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.input-unit {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 52px;
  background: #fafaf8;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
}

/* The ring is drawn on the wrapper. On the input itself, outline-offset put it
   outside a box with overflow:hidden, which clipped the focus indicator to
   nothing on the only two text fields in the form. :focus-within rather than
   :has(:focus-visible) because a ring shown on a mouse click costs nothing,
   and a missing ring for a keyboard user is a failure. */
.input-unit:focus-within {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.input-unit input:focus-visible {
  outline: none;
}

.input-unit input {
  min-width: 0;
  height: 50px;
  padding: 0 12px;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-weight: 700;
}

.input-unit span {
  padding-right: 13px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
}

.privacy-note {
  display: flex;
  gap: 12px;
  margin-block: 26px;
  padding: 16px;
  background: var(--teal-tint);
  border-radius: 9px;
  color: var(--teal-dark);
}

.privacy-note p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.48;
}

.privacy-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 0.6rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.88rem;
  font-weight: 720;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.button-primary {
  background: var(--teal);
  color: white;
}

.button-primary:hover:not(:disabled) {
  background: var(--teal-dark);
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}

.button-warning {
  background: #efb83f;
  color: #2d2107;
}

.button-wide {
  width: 100%;
}

.text-button,
.copy-button {
  min-height: 44px;
  padding: 8px 0;
  background: transparent;
  color: inherit;
  border: 0;
  font-weight: 680;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
}

.assurance-card {
  min-height: 590px;
  background: var(--ink);
  color: white;
}

.assurance-card .eyebrow {
  color: #84c9bf;
}

.plan-feedback {
  display: grid;
  align-content: center;
  min-height: 100%;
  padding: clamp(22px, 3vw, 34px);
  border: 2px solid #ff8a7f;
  border-left-width: 8px;
  border-radius: 12px;
  background: #3b171b;
  color: #fff7f5;
}

.plan-feedback[hidden] {
  display: none;
}

.plan-feedback .eyebrow {
  margin-bottom: 12px;
  color: #ffb7ae;
}

.plan-feedback h3 {
  max-width: 18ch;
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.02;
}

.plan-feedback h3:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 6px;
}

.plan-feedback > p:not(.eyebrow) {
  max-width: 54ch;
  color: #ffe5e1;
  line-height: 1.55;
}

.plan-feedback-proof {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgb(255 183 174 / 45%);
}

.assurance-empty {
  display: grid;
  min-height: 510px;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.empty-mark {
  position: relative;
  width: 190px;
  height: 72px;
  margin-bottom: 40px;
}

.empty-mark::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 26px;
  right: 26px;
  height: 1px;
  background: #4b605b;
}

.empty-mark span {
  position: absolute;
  top: 20px;
  z-index: 1;
  width: 30px;
  height: 30px;
  background: var(--ink);
  border: 1px solid #6b827c;
  border-radius: 50%;
}

.empty-mark span:nth-child(1) { left: 12px; }
.empty-mark span:nth-child(2) { left: 80px; border-color: #84c9bf; box-shadow: 0 0 0 8px rgb(132 201 191 / 0.08); }
.empty-mark span:nth-child(3) { right: 12px; }

.assurance-empty h3 {
  max-width: 470px;
  color: white;
}

.assurance-empty > p:not(.eyebrow) {
  max-width: 510px;
  color: #aebcb9;
}

.empty-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin: 52px 0 0;
  padding-top: 24px;
  border-top: 1px solid #344943;
}

.empty-metrics div {
  padding-inline: 14px;
  border-right: 1px solid #344943;
}

.empty-metrics div:last-child {
  border-right: 0;
}

.empty-metrics dt {
  margin-bottom: 5px;
  color: #8fa09c;
  font-size: 0.7rem;
}

.empty-metrics dd {
  margin: 0;
  color: white;
  font-size: 0.82rem;
  font-weight: 680;
}

.assurance-plan {
  min-height: 510px;
}

.plan-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid #344943;
}

.plan-heading-row h3 {
  color: white;
}

.plan-state {
  padding: 7px 11px;
  background: rgb(132 201 191 / 0.14);
  color: #a2ddd4;
  border: 1px solid rgb(132 201 191 / 0.26);
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 740;
  white-space: nowrap;
}

.plan-state.stale {
  background: rgb(248 192 78 / 0.14);
  color: #ffd77f;
  border-color: rgb(248 192 78 / 0.32);
}

.resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-block: 28px;
  overflow: hidden;
  background: #344943;
  border: 1px solid #344943;
  border-radius: 9px;
}

.resource-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 10px;
  min-height: 92px;
  padding: 17px;
  background: #172f29;
}

.resource-number {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  background: var(--teal-tint);
  color: var(--teal-dark);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 780;
}

.resource-item strong,
.resource-item small {
  display: block;
}

.resource-item strong {
  color: white;
  font-size: 0.84rem;
}

.resource-item small {
  margin-top: 3px;
  color: #91a29e;
  font-size: 0.7rem;
}

.verification-line {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #a2ddd4;
  font-size: 0.82rem;
  font-weight: 650;
}

.verification-line span:first-child {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  background: rgb(132 201 191 / 0.13);
  border-radius: 50%;
}

.plan-explanation {
  margin: 22px 0 0;
  color: #91a29e;
  font-size: 0.8rem;
}

.route-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 70px;
  border-top: 1px solid var(--border);
}

.route-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.route-steps {
  margin: 34px 0;
  padding: 0;
  list-style: none;
  counter-reset: route-step;
}

.route-steps li {
  position: relative;
  min-height: 50px;
  padding: 4px 0 18px 48px;
  counter-increment: route-step;
  font-size: 0.9rem;
  font-weight: 650;
}

.route-steps li::before {
  content: counter(route-step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  background: var(--teal-tint);
  color: var(--teal-dark);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 780;
}

.route-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30px;
  bottom: -1px;
  left: 14px;
  width: 1px;
  background: #b9cbc6;
}

.route-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.route-stats span {
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 0.73rem;
  font-weight: 650;
}

.map-frame {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.venue-map {
  display: block;
  width: 100%;
  height: auto;
  background: #faf9f6;
  border-radius: 8px;
}

.map-room {
  fill: #f3f5f3;
  stroke: #aab5b1;
  stroke-width: 1.5;
}

.map-seat {
  fill: var(--teal-tint);
  stroke: var(--teal);
  stroke-width: 1.5;
}

.map-lift {
  fill: white;
  stroke: #60726d;
  stroke-width: 2;
}

.map-lift.out {
  fill: var(--failure-bg);
  stroke: var(--failure);
}

.map-entry {
  fill: white;
  stroke: #60726d;
  stroke-width: 1.5;
}

.map-label {
  fill: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.map-small {
  fill: var(--muted);
  font-size: 9px;
  font-weight: 650;
}

.route-line {
  fill: none;
  stroke: var(--teal);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}

.route-line.active {
  opacity: 1;
}

.route-line.unavailable {
  opacity: 0.85;
  stroke: var(--failure);
  stroke-width: 5;
  stroke-dasharray: 10 10;
}

.map-hidden {
  display: none;
}

.outage-cross circle {
  fill: #fff;
  stroke: var(--failure);
  stroke-width: 3;
}

.outage-cross path {
  fill: none;
  stroke: var(--failure);
  stroke-width: 5;
  stroke-linecap: round;
}

.outage-cross text {
  fill: var(--failure);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 17px 6px 1px;
  color: var(--muted);
  font-size: 0.72rem;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-line {
  display: inline-block;
  width: 30px;
  border-top: 4px solid var(--teal);
  border-radius: 2px;
}

.legend-line.unavailable {
  border-top-color: var(--failure);
  border-top-style: dashed;
}

.legend-box {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: white;
  border: 1px solid #60726d;
  border-radius: 3px;
}

.incident {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  margin-bottom: 28px;
  padding: 26px;
  background: var(--warning-bg);
  border: 1px solid #e5c77c;
  border-radius: var(--radius);
  color: var(--warning);
}

.incident .eyebrow {
  color: #7b5200;
}

.incident h2 {
  margin-bottom: 9px;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
}

.incident p {
  margin-bottom: 0;
  font-size: 0.88rem;
}

.incident details {
  margin-top: 10px;
  font-size: 0.76rem;
}

.incident summary {
  min-height: 30px;
  cursor: pointer;
}

.incident-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 780;
}

.incident-actions {
  display: grid;
  gap: 12px;
  min-width: 230px;
  text-align: right;
}

.incident-actions strong {
  font-size: 0.8rem;
}

.decision-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 112px;
  padding: 34px;
  background: var(--teal-tint);
  border: 1px solid rgb(0 107 94 / 0.25);
  border-radius: var(--radius);
}

.decision-section h2 {
  margin-bottom: 7px;
  font-size: 2rem;
}

.decision-section p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.decision-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.receipt-section {
  padding-block: 96px;
  background: var(--ink);
  color: white;
}

.receipt-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 80px;
  align-items: center;
}

.receipt-section .eyebrow {
  color: #84c9bf;
}

.receipt-section h2 {
  color: white;
}

.receipt-intro > p:not(.eyebrow) {
  max-width: 490px;
  color: #aebcb9;
}

.receipt-number {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 15px;
  border: 1px solid #536b65;
  border-radius: 6px;
  color: #a2ddd4;
  font: 0.9rem "SFMono-Regular", Consolas, monospace;
}

.receipt-card {
  padding: 28px;
  background: white;
  color: var(--ink);
  border-radius: var(--radius);
}

.receipt-card dl {
  margin: 0;
}

.receipt-card dl div {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 18px;
  padding-block: 13px;
  border-bottom: 1px solid #e7e9e7;
}

.receipt-card dt {
  color: var(--muted);
  font-size: 0.76rem;
}

.receipt-card dd {
  margin: 0;
  text-align: right;
  font-size: 0.82rem;
  font-weight: 670;
}

.atomic-proof {
  display: flex;
  gap: 13px;
  margin-top: 24px;
  padding: 15px;
  background: var(--teal-tint);
  color: var(--teal-dark);
  border-radius: 8px;
}

.atomic-proof > span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  flex: 0 0 auto;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
}

.atomic-proof p {
  margin: 0;
  font-size: 0.75rem;
}

.section-heading.compact {
  margin-bottom: 30px;
}

.section-heading.compact h2 {
  font-size: 2.4rem;
}

.audit-list,
.operator-log {
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  list-style: none;
}

.audit-item {
  display: grid;
  grid-template-columns: 104px 34px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 17px 22px;
  border-bottom: 1px solid #e7e9e7;
}

.audit-item:last-child {
  border-bottom: 0;
}

.audit-time {
  color: var(--muted);
  font: 0.72rem "SFMono-Regular", Consolas, monospace;
}

.audit-marker {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  background: var(--teal-tint);
  color: var(--teal-dark);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 780;
}

.audit-marker.rejected {
  background: var(--failure-bg);
  color: var(--failure);
}

.audit-content strong,
.audit-content small {
  display: block;
}

.actor-badge {
  display: inline-block;
  width: fit-content;
  margin-bottom: 4px;
  padding: 2px 6px;
  background: #ecefec;
  color: var(--muted);
  border-radius: 3px;
  font-size: 0.58rem;
  font-weight: 780;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.actor-badge.webmcp {
  background: var(--teal-tint);
  color: var(--teal-dark);
}

.audit-content strong {
  font-size: 0.83rem;
}

.audit-content small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
}

.audit-version {
  color: var(--muted);
  font: 0.7rem "SFMono-Regular", Consolas, monospace;
}

.audit-empty {
  padding: 28px;
  color: var(--muted);
  text-align: center;
  font-size: 0.86rem;
}

.audit-list .audit-empty {
  padding: 18px;
}

.agent-callout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  margin-bottom: 112px;
  padding: 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.agent-callout.quick-start {
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 34px;
  margin-bottom: 34px;
  padding: 24px 28px;
}

.quick-start h2 {
  margin-bottom: 8px;
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
}

.quick-start-copy > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.quick-start .prompt-card {
  padding: 18px 20px;
}

.quick-start .prompt-card-heading {
  margin-bottom: 8px;
}

.quick-start .prompt-card > p {
  margin-bottom: 0;
  font-size: 0.93rem;
  line-height: 1.5;
}

.tool-disclosure {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.75rem;
}

.tool-disclosure summary {
  width: fit-content;
  min-height: 44px;
  padding-block: 10px;
  cursor: pointer;
  font-weight: 700;
}

.tool-disclosure .tool-list {
  margin-top: 4px;
  padding-top: 0;
  border-top: 0;
}

.agent-callout h2 {
  font-size: 2.35rem;
}

.agent-callout > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.92rem;
}

.prompt-card {
  padding: 24px;
  background: #eef1ee;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.prompt-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.copy-button {
  min-width: 44px;
  min-height: 44px;
  padding: 6px 8px;
  font-size: 0.72rem;
  text-transform: none;
  letter-spacing: 0;
}

.prompt-card > p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.03rem;
  line-height: 1.6;
}

.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.tool-chip {
  padding: 5px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--muted);
  font: 0.67rem "SFMono-Regular", Consolas, monospace;
}

.site-footer {
  padding-block: 34px;
  background: var(--ink);
  color: white;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-grid p {
  margin: 0;
  color: #aebcb9;
  font-size: 0.75rem;
}

.footer-grid strong {
  color: white;
}

.footer-evidence {
  margin-top: 16px;
  color: #aebcb9;
  border-top: 1px solid rgb(255 255 255 / 0.22);
  font-size: 0.75rem;
}

.footer-evidence summary {
  width: fit-content;
  min-height: 44px;
  padding-block: 12px;
  color: white;
  cursor: pointer;
  font-weight: 700;
}

.footer-evidence-body {
  display: grid;
  max-width: 38rem;
  gap: 8px;
  padding-bottom: 4px;
}

.footer-evidence-body p {
  margin: 0;
}

.footer-evidence-scores {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  color: white;
  font-variant-numeric: tabular-nums;
}

.footer-evidence-scores th,
.footer-evidence-scores td {
  padding: 2px 10px 2px 0;
  text-align: right;
}

.footer-evidence-scores th:first-child,
.footer-evidence-scores tbody th {
  text-align: left;
}

.footer-evidence-scores thead th {
  color: #aebcb9;
  font-size: 0.6875rem;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.77rem;
}

.footer-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-reset,
.footer-share {
  color: white;
}

.action-feedback {
  width: 100%;
  margin: 0 0 22px;
  padding: 14px 17px;
  background: #173b34;
  color: white;
  border: 1px solid #4f8278;
  border-left: 6px solid #84c9bf;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.action-feedback[hidden] {
  display: none;
}

.operator-action-feedback {
  margin: 18px 0 0;
  background: #fffaf0;
  color: #3f2b08;
  border-color: #c9a65d;
  border-left-color: #765000;
}

/* Venue operator */

.operator-body {
  min-height: 100vh;
  background: #0d1d19;
  color: white;
}

.operator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding-inline: max(28px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid #2c403a;
}

.operator-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.operator-brand .wordmark-mark {
  display: grid;
  place-items: center;
  background: #dcefea;
  color: var(--teal-dark);
}

.operator-brand strong,
.operator-brand span {
  display: block;
}

.operator-brand strong {
  font-size: 0.76rem;
  letter-spacing: 0.11em;
}

.operator-brand div > span {
  color: #8fa09c;
  font-size: 0.7rem;
}

.operator-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #b8c9c5;
  font-size: 0.8rem;
  text-underline-offset: 4px;
}

.operator-main {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 46px 84px;
}

.operator-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 34px;
}

.operator-title h1 {
  margin-bottom: 12px;
  color: white;
  font-size: clamp(2.7rem, 5vw, 4.35rem);
}

.operator-title > div:first-child {
  flex: 1 1 auto;
  padding-top: 8px;
}

.operator-title > div:first-child > p:not(.eyebrow) {
  max-width: 690px;
  margin-bottom: 0;
  color: #9aaba7;
}

.operator-body .eyebrow {
  color: #84c9bf;
}

.revision-tile {
  min-width: 150px;
  padding: 18px;
  background: #162b25;
  border: 1px solid #344943;
  border-radius: 9px;
  text-align: right;
}

.operator-overview {
  width: min(430px, 42vw);
  flex: 0 0 auto;
  padding: 18px 20px;
  background: #162b25;
  border: 1px solid #344943;
  border-radius: 10px;
}

.operator-overview .revision-tile {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 0 14px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #344943;
  border-radius: 0;
  text-align: left;
}

.operator-overview .revision-tile strong {
  margin: 0;
  font-size: 1.45rem;
}

.operator-overview-proof {
  padding-top: 14px;
}

.operator-overview-proof .eyebrow {
  margin-bottom: 4px;
  font-size: 0.62rem;
}

.operator-overview-proof h2 {
  margin-bottom: 13px;
  color: white;
  font-size: 1.25rem;
}

.operator-overview-proof dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.operator-overview-proof dl > div {
  min-width: 0;
}

.operator-overview-proof dt {
  color: #aebfbb;
  font-size: 0.64rem;
}

.operator-overview-proof dd {
  margin: 3px 0 0;
  color: white;
  font: 0.96rem "SFMono-Regular", Consolas, monospace;
  overflow-wrap: anywhere;
}

.operator-overview .proof-explanation {
  margin: 13px 0 0;
  color: #b8c9c5;
  font-size: 0.68rem;
}

.revision-tile span,
.revision-tile strong {
  display: block;
}

.revision-tile span {
  color: #8fa09c;
  font-size: 0.7rem;
}

.revision-tile strong {
  margin-top: 6px;
  color: #a2ddd4;
  font: 2rem "SFMono-Regular", Consolas, monospace;
}

.operator-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
}

.booking-impact {
  display: grid;
  gap: 10px;
  margin: -8px 0 28px;
  padding: 22px 24px;
  background: #4b1b20;
  border: 2px solid #ff8a7f;
  border-left-width: 8px;
  border-radius: 10px;
  color: #fff2ef;
}

.booking-impact[hidden] {
  display: none;
}

.booking-impact .eyebrow {
  margin: 0;
  color: #ffb7ae;
}

.booking-impact h2 {
  margin: 0;
  color: white;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
}

.booking-impact h2:focus-visible {
  outline: 3px solid white;
  outline-offset: 5px;
}

.booking-impact p {
  max-width: 92ch;
  margin: 0;
  line-height: 1.5;
}

.booking-impact-proof {
  padding-top: 10px;
  border-top: 1px solid rgb(255 183 174 / 40%);
  color: #ffdcd6;
  font-size: 0.82rem;
  font-weight: 650;
}

.visitor-booking-impact {
  margin: 0 auto 34px;
}

.operator-grid h2,
.operator-proof h2,
.operator-audit h2 {
  color: white;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.facility-list {
  display: grid;
  gap: 12px;
}

.facility-picker {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.facility-picker-help {
  margin: 8px 0 14px;
  color: #b8c9c5;
  font-size: 0.82rem;
}

.facility-option {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.facility-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.facility-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: #162b25;
  border: 1px solid #344943;
  border-radius: 10px;
  transition: border-color 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
  cursor: pointer;
}

.facility-option:hover .facility-card {
  border-color: #67857e;
}

.facility-option:hover .facility-card.out {
  border-color: #ff8a7f;
}

.facility-radio:checked + .facility-card {
  background: #1a332c;
  border: 2px solid #a2ddd4;
  box-shadow: 0 0 0 1px rgb(162 221 212 / 18%);
}

.facility-radio:focus-visible + .facility-card {
  outline: 3px solid white;
  outline-offset: 4px;
}

.facility-card.out {
  background: #2c1c1d;
  border-color: #7b3d3a;
}

.facility-radio:checked + .facility-card.out {
  background: #4b1b20;
  border: 2px solid #ff8a7f;
  box-shadow: 0 0 0 2px rgb(255 138 127 / 24%);
}

.facility-card.out .facility-symbol {
  background: #5a2326;
  color: #ffb7ae;
}

.facility-copy {
  min-width: 0;
}

.facility-symbol {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: #243b35;
  border-radius: 7px;
  color: #a2ddd4;
  font-size: 0.78rem;
  font-weight: 800;
}

.facility-card strong,
.facility-card small {
  display: block;
}

.facility-card strong {
  font-size: 0.92rem;
}

.facility-card small {
  margin-top: 3px;
  color: #8fa09c;
  font-size: 0.73rem;
}

.facility-state {
  padding: 7px 10px;
  color: #a2ddd4;
  border: 1px solid #45675f;
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 760;
}

.facility-state.out {
  color: #ffaaa0;
  border-color: #7b3d3a;
}

.facility-badges {
  display: flex;
  max-width: 190px;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.facility-selected,
.facility-select-hint,
.facility-fault {
  padding: 7px 10px;
  border: 1px solid #61837a;
  border-radius: 99px;
  color: #d4fff8;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.facility-selected {
  display: none;
}

.facility-select-hint {
  color: #b6c9c4;
  border-color: #526c65;
}

.facility-radio:checked + .facility-card .facility-selected {
  display: inline-flex;
}

.facility-radio:checked + .facility-card .facility-select-hint {
  display: none;
}

.facility-radio:checked + .facility-card.out .facility-selected {
  color: #ffe7e3;
  border-color: #ff8a7f;
}

.facility-fault {
  color: #ffe1a2;
  border-color: #a76c00;
}

.facility-fault[hidden] {
  display: none;
}

.race-card {
  padding: 28px;
  background: #f4e8c6;
  color: #31230a;
  border-radius: 10px;
}

.race-card .eyebrow {
  color: #765000;
}

.race-card h2 {
  color: #31230a;
  font-size: 2rem;
}

.race-card > p:not(.eyebrow) {
  font-size: 0.87rem;
}

.race-card hr {
  margin-block: 25px;
  border: 0;
  border-top: 1px solid #d3bd82;
}

.manual-control-heading {
  margin: 0 0 10px;
  color: #5c3b00;
  font-size: 0.78rem !important;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.manual-impact-note {
  margin: 0 0 12px;
  padding: 12px 13px;
  background: #fff7f3;
  border: 2px solid #9b3029;
  border-radius: 7px;
  color: #671d18;
  font-size: 0.79rem !important;
  font-weight: 680;
  line-height: 1.45;
}

.manual-impact-note[hidden] {
  display: none;
}

.race-card .button.booking-risk {
  background: #7d2721;
  border-color: #7d2721;
  color: white;
}

.manual-impact-confirmation {
  display: grid;
  gap: 10px;
  margin: 12px 0;
  padding: 16px;
  background: #4b1b20;
  border: 2px solid #ff8a7f;
  border-radius: 8px;
  color: #fff2ef;
}

.manual-impact-confirmation[hidden] {
  display: none;
}

.manual-impact-confirmation .eyebrow,
.manual-impact-confirmation h3,
.manual-impact-confirmation p {
  margin: 0;
}

.manual-impact-confirmation .eyebrow {
  color: #ffb7ae;
}

.manual-impact-confirmation h3 {
  color: white;
  font-size: 1.1rem;
}

.manual-impact-confirmation h3:focus-visible {
  outline: 3px solid white;
  outline-offset: 4px;
}

.manual-impact-confirmation > p:not(.eyebrow) {
  color: #fff2ef;
  font-size: 0.82rem;
  line-height: 1.5;
}

.manual-impact-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.race-card .button-danger {
  background: #ffb7ae;
  border-color: #ffb7ae;
  color: #3c0e0b;
}

.armed-state {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
  font-size: 0.76rem;
  font-weight: 720;
}

.armed-state .pulse-dot {
  background: #a76c00;
  box-shadow: 0 0 0 4px rgb(167 108 0 / 0.18);
}

.operator-proof {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  gap: 40px;
  margin-top: 24px;
  padding: 28px;
  background: #162b25;
  border: 1px solid #344943;
  border-radius: 10px;
}

.operator-proof h2 {
  margin: 0;
}

.operator-proof dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

.operator-proof dl div {
  padding-inline: 22px;
  border-left: 1px solid #344943;
}

.operator-proof dt {
  color: #8fa09c;
  font-size: 0.7rem;
}

.operator-proof dd {
  margin: 7px 0 0;
  color: white;
  font: 1.28rem "SFMono-Regular", Consolas, monospace;
}

.proof-explanation {
  grid-column: 2;
  margin: 16px 0 0;
  color: #8fa09c;
  font-size: 0.72rem;
}

.receipt-section *:focus-visible,
.site-footer *:focus-visible,
.operator-body *:focus-visible {
  outline-color: #fbbf24;
}

.operator-audit {
  margin-top: 48px;
}

.operator-audit-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.operator-audit-heading h2 {
  margin-bottom: 0;
}

.operator-reset {
  color: #b8c9c5;
  font-size: 0.76rem;
}

.operator-log {
  overflow: hidden;
  background: #101f1b;
  border-color: #344943;
}

.operator-log .audit-item {
  border-bottom-color: #2a3e38;
}

.operator-log .audit-content strong {
  color: white;
}

.operator-log .audit-content small,
.operator-log .audit-time,
.operator-log .audit-version {
  color: #8fa09c;
}

.operator-log .audit-empty {
  min-height: 64px;
  padding: 20px;
  color: #b8c9c5;
}

@media (max-width: 980px) {
  .site-header {
    width: min(100% - 36px, 1180px);
  }

  .live-status,
  .text-link {
    display: none;
  }

  /* Losing the venue is the one thing this indicator says that a narrow
     screen still has to hear: it is the only signal that what the page is
     showing is no longer coming from the server. */
  .live-status.stale {
    display: inline-flex;
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .event-ticket {
    max-width: 520px;
  }

  .booking-grid,
  .route-section,
  .receipt-grid,
  .agent-callout,
  .agent-callout.quick-start,
  .operator-grid,
  .operator-proof {
    grid-template-columns: minmax(0, 1fr);
  }

  .protocol-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 9px 16px;
    padding-block: 12px;
  }

  .protocol-label {
    grid-column: 1 / -1;
  }

  .proof-explanation {
    grid-column: 1;
  }

  .incident {
    grid-template-columns: auto 1fr;
  }

  .incident-actions {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }

  .decision-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .decision-actions {
    justify-content: flex-start;
  }

  .operator-proof dl div:first-child {
    border-left: 0;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .shell,
  .operator-main {
    width: min(100% - 28px, 1180px);
  }

  .site-header,
  .operator-header {
    min-height: 76px;
  }

  .site-header {
    width: calc(100% - 28px);
    gap: 18px;
  }

  .wordmark-mark {
    width: 44px;
    height: 44px;
  }

  .webmcp-status {
    max-width: none;
    white-space: nowrap;
  }

  .hero {
    gap: 26px;
    padding-block: 44px 36px;
  }

  h1 {
    margin-bottom: 16px;
    font-size: clamp(2.55rem, 12vw, 3.65rem);
  }

  .hero-lede {
    font-size: 1.05rem;
  }

  .event-ticket {
    min-height: 218px;
    padding: 22px;
  }

  .event-ticket h2 {
    margin: 18px 0;
    font-size: 1.65rem;
  }

  .protocol-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .protocol-label {
    grid-column: 1;
  }

  .booking-section,
  .route-section,
  .audit-section {
    padding-block: 56px;
  }

  .audit-section {
    padding-block: 48px;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 34px;
  }

  .number-grid,
  .resource-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .empty-metrics {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 24px;
    padding-top: 14px;
  }

  .empty-metrics div {
    padding: 6px;
    border-right: 1px solid #344943;
    border-bottom: 0;
  }

  .empty-metrics div:last-child {
    border-right: 0;
  }

  .assurance-card,
  .assurance-empty,
  .assurance-plan {
    min-height: auto;
  }

  .assurance-empty {
    padding-block: 24px;
  }

  .empty-mark {
    width: 150px;
    margin-bottom: 20px;
  }

  .plan-heading-row,
  .footer-grid,
  .operator-title,
  .operator-audit-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .route-section {
    gap: 38px;
  }

  .map-frame {
    padding: 8px;
  }

  .map-legend {
    gap: 12px;
    padding: 13px 8px;
  }

  .incident {
    grid-template-columns: 1fr;
  }

  .incident-actions {
    grid-column: 1;
  }

  .decision-section {
    margin-bottom: 76px;
    padding: 24px;
  }

  .decision-actions,
  .decision-actions .button {
    width: 100%;
  }

  .receipt-grid,
  .agent-callout {
    gap: 36px;
  }

  .receipt-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .receipt-card dd {
    text-align: left;
  }

  .audit-item {
    grid-template-columns: 75px 26px 1fr;
    gap: 9px;
    padding: 14px;
  }

  .audit-version {
    display: none;
  }

  .agent-callout {
    margin-bottom: 76px;
    padding: 24px;
  }

  .agent-callout.quick-start {
    gap: 18px;
    margin-bottom: 24px;
    padding: 20px;
  }

  .quick-start .prompt-card {
    padding: 16px;
  }

  .footer-grid,
  .footer-actions {
    align-items: flex-start;
  }

  .footer-actions {
    flex-direction: column;
    gap: 4px;
  }

  .operator-header {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
  }

  .operator-brand .wordmark-mark {
    line-height: 1;
    text-align: center;
  }

  .operator-header-actions {
    width: 100%;
    justify-content: space-between;
    gap: 8px 14px;
  }

  .operator-header .webmcp-status {
    max-width: none;
  }

  .operator-back {
    font-size: 0.7rem;
  }

  .operator-main {
    padding-block: 36px 60px;
  }

  .operator-title {
    align-items: flex-start;
  }

  .revision-tile {
    text-align: left;
  }

  .operator-overview {
    width: 100%;
  }

  .operator-overview-proof dl {
    gap: 8px;
  }

  .race-card {
    padding: 22px;
  }

  .race-card h2 {
    font-size: 1.65rem;
  }

  .facility-card {
    grid-template-columns: 42px 1fr;
  }

  .facility-badges {
    grid-column: 2;
    justify-self: start;
    justify-content: flex-start;
  }

  .booking-impact {
    padding: 19px 18px;
  }

  .operator-proof dl {
    grid-template-columns: 1fr;
  }

  .operator-proof dl div {
    padding: 14px 0;
    border-left: 0;
    border-bottom: 1px solid #344943;
  }

  .operator-audit {
    margin-top: 36px;
  }
}

@media (max-width: 420px) {
  .site-header {
    align-items: flex-start;
    gap: 12px;
  }

  .site-header .header-actions {
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
  }

  .site-header .webmcp-status,
  .operator-header .webmcp-status {
    min-width: 0;
    max-width: 100%;
    line-height: 1.25;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .site-header .wordmark-copy {
    display: none;
  }

  .hero h1,
  .hero h2,
  .requirements-card,
  .requirements-card *,
  .assurance-card,
  .assurance-card *,
  .audit-section,
  .audit-section *,
  .operator-header *,
  .operator-main,
  .operator-main * {
    min-width: 0;
  }

  .requirements-card,
  .requirements-card fieldset,
  .assurance-card,
  .assurance-empty,
  .assurance-empty > *,
  .check-row,
  .check-row span {
    min-inline-size: 0;
    max-inline-size: 100%;
  }

  .section-heading,
  .section-heading > * {
    min-inline-size: 0;
    max-inline-size: 100%;
  }

  .assurance-empty {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero h1,
  .hero h2,
  .requirements-card strong,
  .requirements-card small,
  .assurance-empty h3,
  .assurance-empty p,
  .assurance-empty dt,
  .assurance-empty dd,
  .section-heading h2,
  .section-heading p,
  .operator-brand,
  .operator-brand strong,
  .operator-brand span,
  .operator-main h1,
  .operator-main h2,
  .operator-main p,
  .operator-main dt,
  .operator-main dd,
  .prompt-card > p,
  .tool-chip,
  .mono,
  .button {
    overflow-wrap: anywhere;
  }

  .tool-chip {
    max-width: 100%;
  }

  .event-ticket {
    flex-direction: column;
  }

  .ticket-date {
    display: flex;
    align-self: flex-start;
    align-items: baseline;
    gap: 8px;
    text-align: left;
  }

  .ticket-date strong,
  .ticket-date span {
    display: inline;
  }

  .operator-brand,
  .operator-header-actions {
    width: 100%;
  }

  .operator-header-actions {
    align-items: flex-start;
  }

  .facility-card {
    grid-template-columns: 1fr;
  }

  .facility-badges {
    grid-column: 1;
    max-width: 100%;
  }

  .footer-evidence-scores th,
  .footer-evidence-scores td {
    padding-right: 4px;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Demo controls: the deliberate-failure strip and the shared-venue link. */
.demo-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding: 24px 26px;
  background: var(--warning-bg);
  border: 1px solid #e8d5a4;
  border-radius: var(--radius);
}

.demo-controls-copy h2 {
  margin: 6px 0 8px;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.demo-controls-copy p {
  margin: 0;
  color: var(--warning);
  font-size: 0.95rem;
}

.demo-controls-actions {
  display: grid;
  gap: 10px;
}

.demo-hint {
  margin: 0;
  color: var(--warning);
  font-size: 0.82rem;
}

.button-quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}

.button-quiet:hover:not(:disabled) {
  background: rgb(255 255 255 / 0.55);
}

.operator-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .demo-controls {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 680px) {
  .demo-controls {
    padding: 20px;
  }
}

/* aria-disabled keeps a control focusable while it is temporarily unusable, so
   a state set by a background poll cannot take focus away from the visitor. */
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.62;
}

.button[aria-disabled="true"]:hover {
  transform: none;
}

/* The operations page carries the same standing venue-loss notice as the
   booking page: an operator acting on a venue the server has forgotten is the
   failure this whole project is about. */
.operator-body .venue-notice {
  margin: 0 0 22px;
  padding: 14px 18px;
  background: var(--failure-bg);
  color: #6b1f1f;
  border: 1px solid #e8b4ad;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
}

.operator-header .live-status {
  color: #cfe4de;
}

.operator-header .webmcp-status,
.operator-header .webmcp-status.ready {
  background: #dcefea;
  border-color: #78978f;
  color: #183b33;
}
