:root {
  --brand: #234591;
  --brand-600: #1c3a7a;
  --azure: #009ee0;
  --azure-ink: #0075a8;
  --azure-tint: #e6f6fd;
  --red: #e2001a;
  --bg: #f4f6f8;
  --panel: #ffffff;
  --ink: #252c3d;
  --ink-strong: #141f30;
  --muted: #5c6472;
  --line: #e7ecf0;
  --line-strong: #d4dbe1;
  --ok: #1f9d55;
  --danger: #c0392b;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 32, 48, .06), 0 6px 20px rgba(16, 32, 48, .06);
  --font: "Source Sans Pro", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --maxw: 760px;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }
.hidden { display: none !important; }

.app { min-height: 100vh; display: flex; flex-direction: column; }
.hdr { background: #fff; }
.hdr-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 15px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brandmark { display: inline-flex; }
.brandmark img { display: block; height: 30px; }
.spacer { flex: 1; }
.hdr-right { display: flex; align-items: center; gap: 14px; }
.hdr-meta { text-align: right; line-height: 1.3; }
.hdr-meta .label {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.ver { color: var(--muted); font-size: 11px; opacity: .75; }
.lang {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
}
.lang-btn {
  appearance: none;
  border: 0;
  padding: 5px 11px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  line-height: 1;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn[aria-pressed="true"] { color: #fff; background: var(--brand); }
.accent-rule { height: 3px; background: var(--red); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 22px 30px;
  flex: 1;
}
.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.state {
  max-width: 520px;
  margin: 48px auto;
  padding: 42px 32px;
  text-align: center;
}
.state h2 { margin: 14px 0 6px; color: var(--ink-strong); font-size: 24px; line-height: 1.2; }
.state p { margin: 0; color: var(--muted); }
.spinner {
  width: 34px;
  height: 34px;
  margin: 0 auto;
  border: 3px solid #dfe7ea;
  border-top-color: var(--azure);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.state-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--azure);
  font-size: 20px;
  font-weight: 700;
}
.error-icon { background: var(--danger); }
.landing-steps {
  max-width: 380px;
  margin: 20px auto 0;
  padding-left: 20px;
  color: var(--muted);
  text-align: left;
  font-size: 14px;
  line-height: 1.55;
}
.landing-steps li + li { margin-top: 6px; }
.landing-note { margin-top: 18px !important; font-size: 13px; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero {
  padding: 24px 26px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.eyebrow {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--azure-ink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  content: "";
}
.hero h2 {
  margin: 2px 0 3px;
  color: var(--ink-strong);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -.3px;
  line-height: 1.15;
}
.summary { max-width: 580px; margin: 10px 0 0; white-space: pre-line; }
.status {
  padding: 9px 15px;
  border: 1px solid #cdebd9;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #16794a;
  background: #e9f6ef;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.grid .card { padding: 22px 26px; }
.grid .facts, .grid .bookings { grid-column: 1 / -1; }
h3 { margin: 0 0 18px; color: var(--ink-strong); font-size: 16px; }
dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 22px; margin: 0; }
dl div { min-width: 0; }
dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}
dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  color: var(--ink-strong);
  font-size: 15px;
}
.line-list { display: grid; gap: 8px; }
.line {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.line:last-child { border-bottom: 0; }
.line .description { min-width: 0; overflow-wrap: anywhere; }
.line .quantity { flex: 0 0 auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.empty { margin: 0; color: var(--muted); font-style: italic; }
.booking-list { display: grid; gap: 8px; }
.booking {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.booking:last-child { border-bottom: 0; }
.booking-time { color: var(--ink-strong); font-weight: 600; font-variant-numeric: tabular-nums; }
.booking-status {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}
.notice {
  margin-top: 18px;
  padding: 20px 24px;
  border-left: 4px solid var(--azure);
}
.notice strong { color: var(--ink-strong); }
.notice p { margin: 3px 0 0; color: var(--muted); }

.foot { margin-top: 8px; border-top: 1px solid var(--line); background: #fff; }
.foot-in { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 22px 22px 34px; }
.foot-logo { display: block; height: 26px; margin-bottom: 12px; opacity: .95; }
.foot p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.foot .legal { margin-bottom: 6px; max-width: 62ch; }

@media (max-width: 660px) {
  .hdr-in { gap: 10px; padding: 12px 16px; }
  .brandmark img { height: 26px; }
  .hdr-right { gap: 9px; }
  .hdr-meta .label { display: none; }
  .lang-btn { padding: 5px 9px; }
  .wrap { padding: 20px 14px 24px; }
  .state { margin: 24px auto; padding: 34px 22px; }
  .hero { display: block; padding: 22px; }
  .status { margin-top: 16px; }
  .grid { grid-template-columns: 1fr; gap: 14px; margin-top: 14px; }
  .grid .facts, .grid .bookings { grid-column: auto; }
  .grid .card { padding: 20px 22px; }
  .booking { align-items: flex-start; flex-direction: column; gap: 5px; }
  dl { grid-template-columns: 1fr; gap: 14px; }
  .notice { margin-top: 14px; }
  .foot-in { padding: 20px 16px 28px; }
}

@media print {
  .hdr-right, .accent-rule, .foot { display: none; }
  body { background: #fff; }
  .wrap { max-width: none; padding: 0; }
  .card { box-shadow: none; break-inside: avoid; }
}
