:root {
  --accent: #1f4e79;
  --bg: #f4f5f7;
  --card: #ffffff;
  --ink: #1b1f24;
  --muted: #5b6470;
  --line: #dfe3e8;
  --ok: #1e7a46;
  --warn-bg: #fff6d6;
  --warn-ink: #6b5200;
  --radius: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.45; }

.concept-banner {
  background: var(--warn-bg); color: var(--warn-ink); font-size: 13px;
  padding: 8px 16px; text-align: center; border-bottom: 1px solid #f0e2a8;
}

.layout {
  display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 420px);
  gap: 28px; justify-content: center; padding: 28px 16px 48px;
}
@media (max-width: 980px) { .layout { grid-template-columns: minmax(0, 560px); } }

.booking, .behind {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.booking { padding: 22px; }
.behind { padding: 20px; align-self: start; position: sticky; top: 16px; }
@media (max-width: 980px) { .behind { position: static; } }

.firm-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.firm-name { font-weight: 700; font-size: 19px; color: var(--accent); }
.firm-sub { color: var(--muted); font-size: 13px; margin-top: 2px; }

.lang-toggle { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; flex-shrink: 0; }
.lang-toggle button {
  border: 0; background: transparent; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; color: var(--muted);
}
.lang-toggle button[aria-pressed="true"] { background: var(--accent); color: #fff; }

.steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; }
.steps li { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.steps li.done { background: var(--accent); }

h3 { margin: 0 0 4px; font-size: 17px; }
.hint { color: var(--muted); font-size: 13px; margin: 0 0 14px; }

.options { display: grid; gap: 10px; }
.option {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%;
  text-align: left; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font: inherit; cursor: pointer;
}
.option:hover { border-color: var(--accent); }
.option[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 20%, transparent); }
.option .t { font-weight: 600; }
.option .n { color: var(--muted); font-size: 13px; }
.option .p { font-weight: 700; color: var(--accent); white-space: nowrap; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px;
  font: inherit; font-size: 13px; cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.slot { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 9px 0; font: inherit; cursor: pointer; }
.slot:hover { border-color: var(--accent); }
.slot[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }

label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 4px; }
input[type=text], input[type=email], input[type=tel], select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff;
}
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; margin-top: 14px; }
.check input { margin-top: 3px; }
.notice { background: #f0f4f8; border-radius: 8px; padding: 10px 12px; font-size: 13px; color: var(--muted); margin-top: 12px; }
.files { font-size: 13px; color: var(--muted); margin-top: 6px; }

.summary { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; font-size: 14px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.summary div span:first-child { color: var(--muted); }
.demo-pay { border: 1px dashed #c9ced6; border-radius: 10px; padding: 12px; background: #fafbfc; }
.demo-pay .row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; }

.actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.btn { border: 0; border-radius: 10px; padding: 12px 18px; font: inherit; font-weight: 600; cursor: pointer; }
.btn.primary { background: var(--accent); color: #fff; flex: 1; }
.btn.primary:disabled { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--muted); }

.done-mark { width: 52px; height: 52px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 26px; margin-bottom: 10px; }

.disclaimer { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

.behind h2 { font-size: 15px; margin: 0 0 4px; }
.behind-sub { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.event { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; opacity: .45; transition: opacity .3s; }
.event.live { opacity: 1; border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.event .when { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.event .what { font-weight: 600; margin: 2px 0 6px; }
.bubble { background: #eef1f5; border-radius: 12px 12px 12px 4px; padding: 8px 10px; white-space: pre-wrap; }
.event.firm .bubble { background: color-mix(in srgb, var(--accent) 10%, #fff); }

.lang-toggle[hidden] { display: none; }

/* the native "No file chosen" label goes stale after re-render; the list below shows what is attached */
#f-files { color: transparent; }
