/* voc.cologne registration – follows voccologne.hfmt-koeln.de: black on white, Source Sans, pill buttons */

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-wght.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  /* Contrast (WCAG AAA): text ≥ 7:1, controls ≥ 3:1 */
  --ink: #000;
  --muted: #4d4d4d;   /* 8.4:1 on white, 7.7:1 on --soft */
  --control: #767676; /* borders of inputs, cards, radios: 4.5:1 */
  --line: #d9d9d9;    /* decorative dividers only */
  --soft: #f2f2f2;
  --bad: #a3120a;     /* 7.9:1 */
  --focus: 3px solid #000;
  --font: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --bar-h: 72px;
  /* Program types in the form (AAA with white text) */
  --workshop: #a3006b;      /* magenta, 7.6:1 on white */
  --workshop-soft: #fbeaf4;
  --coaching: #0046ad;      /* blue, 8.5:1 on white */
  --coaching-soft: #e9f0fb;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding: 64px 0 calc(var(--bar-h) + 16px); } /* focus never hidden under sticky header/bar */
body { margin: 0; background: #fff; color: var(--ink); font: 17px/1.45 var(--font); }
a { color: inherit; text-underline-offset: 3px; }
b, strong { font-weight: 700; }
.wrap { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 16px; }
[hidden] { display: none !important; }
:focus-visible { outline: var(--focus); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; } /* step titles receive focus programmatically */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* spam trap, see readRegistration() */
::placeholder { color: var(--muted); opacity: 1; }

/* Header */

.top { border-bottom: 1px solid var(--line); }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.top__logo img { display: block; width: 104px; height: auto; }
.top__link { font-size: 15px; font-weight: 600; text-decoration: none; }
.top__link:hover { text-decoration: underline; }

/* Intro: like the page titles on the festival site */

.intro { padding: 32px 0 20px; }
.intro__title {
  display: flex; align-items: center; gap: 0.28em;
  margin: 0; font-size: clamp(40px, 11vw, 72px); line-height: 1; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.01em;
}
.intro__title::before { content: ""; flex: none; width: 0.62em; height: 0.62em; border-radius: 50%; background: var(--ink); }
.intro__meta { margin: 12px 0 0; font-size: 20px; font-weight: 300; }
.intro__text { margin: 0 0 24px; }

.prose > :first-child { margin-top: 0; }
.prose .panel-title { font-size: 26px; font-weight: 300; margin: 0 0 8px; }
.legal { max-width: 40em; padding-bottom: 40px; }
.legal h2 { margin: 32px 0 8px; font-size: 24px; font-weight: 600; }
.legal h3 { margin: 24px 0 6px; font-size: 19px; font-weight: 700; }
.legal p, .legal li { margin: 0 0 12px; }

.alert { border-left: 4px solid var(--bad); padding: 4px 0 4px 14px; margin: 0 0 24px; }
.alert p { margin: 4px 0; }
.alert a { color: var(--bad); font-weight: 600; }
/* Note for the team in the test phase: set apart, but quiet (not red like errors) */
.testnote { margin: 0 0 24px; padding: 10px 14px; border: 1px dashed var(--control); border-radius: 10px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.testnote__label { display: inline-block; margin: 0 6px 2px 0; padding: 1px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: 1px; }
.error { color: var(--bad); font-size: 15px; font-weight: 600; margin: 6px 0 0; }

/* Steps */

.progress { display: none; }
.step { padding: 8px 0 32px; }
.step + .step { border-top: 1px solid var(--line); padding-top: 32px; }
.step__title { margin: 0 0 6px; font-size: 32px; line-height: 1.15; font-weight: 300; }
.step__lead { margin: 0 0 20px; color: var(--muted); }

/* 1 Ticket */

.tickets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; margin-top: 16px; }
.ticket {
  position: relative; display: grid; gap: 2px;
  padding: 18px 16px 16px;
  border: 2px solid var(--control); border-radius: 14px;
  cursor: pointer; user-select: none;
}
.ticket input { position: absolute; opacity: 0; pointer-events: none; }
.ticket__name { font-size: 24px; font-weight: 700; line-height: 1.1; }
.ticket__days { color: var(--muted); }
.ticket__price { margin-top: 10px; font-size: 18px; font-weight: 600; }
.ticket::after {
  content: ""; position: absolute; top: 14px; right: 14px;
  width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--control);
}
.ticket:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.ticket:has(input:checked) .ticket__days { color: #cfcfcf; }
.ticket:has(input:checked)::after {
  border-color: #fff; background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.ticket:has(input:focus-visible) { outline: var(--focus); outline-offset: 3px; }
.ticket.is-full { cursor: not-allowed; color: var(--muted); }
.ticket__summary { margin-top: 6px; font-size: 15px; color: var(--muted); }
.ticket:has(input:checked) .ticket__summary { color: #cfcfcf; }
.ticket .tag { justify-self: start; margin-top: 6px; }
.hint { margin: 12px 0 0; color: var(--muted); }

/* 2 Program */

.program + .program { margin-top: 36px; }
.program__day {
  position: sticky; top: 0; z-index: 2;
  margin: 0 -16px; padding: 10px 16px;
  background: rgb(255 255 255 / 95%); backdrop-filter: blur(6px);
  font-size: 22px; font-weight: 700;
}
.program__off { margin: 6px 0 0; color: var(--muted); }
.program.is-off .slot, .program.is-off .program__text { display: none; }
.program:not(.is-off) .program__off { display: none; }
.program__text { margin: 4px 0 0; color: var(--muted); }

/* A slot is a fieldset: its legend (the time) cannot be a grid item, so it floats left of the options */
.slot {
  --time: 52px; --gap: 12px;
  margin: 0; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); min-width: 0;
}
.slot::after { content: ""; display: block; clear: both; }
.slot:last-child { border-bottom: 0; }
.slot__time { float: left; width: var(--time); padding: 12px 0 0; font-weight: 700; font-size: 17px; line-height: 1.1; }
.slot__end { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.slot .error { margin: 0 0 6px calc(var(--time) + var(--gap)); }
.slot__options { margin-left: calc(var(--time) + var(--gap)); display: grid; gap: 6px; min-width: 0; }

.option {
  position: relative; display: grid; grid-template-columns: 1fr auto; column-gap: 8px;
  padding: 10px 12px 10px 42px;
  border: 2px solid var(--soft); border-radius: 12px;
  background: var(--soft);
  cursor: pointer; user-select: none;
}
.option input {
  appearance: none; position: absolute; left: 12px; top: 13px; margin: 0;
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--control); background: #fff;
}
.option input:checked { border: 6px solid #fff; background: var(--ink); box-shadow: 0 0 0 1.5px #fff; }
.option input:focus-visible { outline: none; }
.option:has(input:focus-visible) { outline: var(--focus); outline-offset: 3px; }
.option__title { font-weight: 700; line-height: 1.25; }
.option__meta { grid-column: 1; font-size: 15px; color: var(--muted); }
.option .tag { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.option:hover { border-color: var(--control); }
.option:has(input:checked) { background: var(--ink); color: #fff; }
.option:has(input:checked) .option__meta { color: #cfcfcf; }
.option.is-full { cursor: not-allowed; background: #fff; border: 2px dashed var(--control); }
.option-wrap { display: grid; gap: 4px; min-width: 0; }
.option__summary { grid-column: 1; font-size: 15px; margin-top: 2px; }
.option--info { cursor: default; background: #fff; border: 2px dashed var(--control); padding-left: 12px; }
.option__details { padding: 0 12px; font-size: 15px; }
.option__details summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.option__details p { margin: 0 0 8px; color: var(--muted); }
.notice { padding: 8px 0 40px; }
.option--none { background: #fff; border-color: var(--line); min-height: 44px; padding-top: 9px; padding-bottom: 9px; }
.option--none input { top: 11px; }
.option--none .option__title { font-weight: 400; color: var(--muted); }
.option--none:has(input:checked) { background: #fff; color: inherit; border-color: var(--control); }
.option--none:has(input:checked) input { border-color: #fff; background: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.slot.has-error .option:has(input:checked) { outline: 2px solid var(--bad); outline-offset: 2px; }

.tag { font-size: 14px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #fff; color: var(--ink); border: 1px solid var(--control); white-space: nowrap; }
.tag--full { color: var(--bad); }

/* 3 Personal data */

.fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 10px; margin-top: 16px; }
.field { grid-column: 1 / -1; min-width: 0; }
.field--prename, .field--title { grid-column: span 3; }
.field--street, .field--city { grid-column: span 4; }
.field--street_nr, .field--postcode { grid-column: span 2; }
.field label { display: block; font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  display: block; width: 100%;
  padding: 12px 14px;
  font: inherit; font-size: 17px; color: var(--ink);
  background: #fff; border: 2px solid var(--control); border-radius: 12px;
  transition: border-color .15s;
}
.field textarea { resize: vertical; min-height: 56px; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--ink); }
.field.has-error input, .field.has-error textarea { border-color: var(--bad); }

/* 4 Review */

.review { margin: 16px 0 8px; }
.table { width: 100%; border-collapse: collapse; margin: 0 0 12px; font-size: 16px; }
.table caption { text-align: left; font-size: 20px; font-weight: 700; padding: 0 0 8px; }
.table__ticket { display: block; margin: 12px 0 4px; padding: 12px 16px; border-radius: 10px; background: var(--soft); font-size: 16px; font-weight: 400; line-height: 1.45; color: var(--muted); }
.table__ticket strong { display: block; color: var(--ink); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.table th, .table td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.table thead th { font-size: 14px; font-weight: 700; color: var(--muted); border-bottom: 2px solid var(--ink); }
.table td:last-child { padding-right: 0; color: var(--muted); }
.table td strong { color: var(--ink); }
.table tbody th { width: 4.5em; font-weight: 600; white-space: nowrap; }
.table .table__group { width: auto; padding: 32px 0 6px; font-size: 18px; font-weight: 700; border-bottom: 0; }
.table tbody:first-of-type .table__group { padding-top: 16px; }
.table--data tbody th { width: 34%; color: var(--muted); font-weight: 600; }
.table--data td { color: var(--ink) !important; overflow-wrap: anywhere; }
.review .btn--secondary { margin: 0 0 28px; }

.total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; margin: 0 0 8px; font-size: 19px; }
.total strong { font-size: 30px; font-weight: 700; }

.consent { margin: 0 0 20px; }
.consent label { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.4; color: var(--muted); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--ink); }
.consent a { color: var(--ink); }
.consent.has-error label { color: var(--bad); }

/* Buttons: black pills like on the festival site */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 28px;
  font: inherit; font-size: 16px; font-weight: 600;
  color: #fff; background: var(--ink);
  border: 0; border-radius: 999px; cursor: pointer;
  transition: opacity .15s, transform .1s;
}
.btn:hover { opacity: 0.85; }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn[disabled] { opacity: 0.5; cursor: default; }
/* "Verbindlich anmelden" before the consent is ticked: looks inactive, stays focusable and explains on tap */
.btn[aria-disabled="true"] { background: var(--control); border-color: var(--control); color: #fff; }
.btn--back { width: 50px; padding: 0; background: #fff; color: var(--ink); border: 2px solid var(--ink); font-size: 20px; }
.btn--secondary { min-height: 44px; padding: 0 20px; background: #fff; color: var(--ink); border: 2px solid var(--ink); font-size: 15px; }
.btn--submit { width: 100%; min-height: 56px; font-size: 18px; }

/* Sticky bar */

.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  background: rgb(255 255 255 / 96%); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.bar__inner { display: flex; align-items: center; gap: 12px; min-height: var(--bar-h); }
.bar__sum { flex: 1; min-width: 0; display: grid; line-height: 1.2; }
.bar__sum strong { font-size: 20px; }
.bar__sum span { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Wizard mode (JavaScript): one step at a time */

.is-wizard .progress { display: flex; gap: 6px; margin: 0 0 24px; padding: 0; list-style: none; }
.is-wizard .progress li { flex: 1; display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.is-wizard .progress li::before { content: ""; height: 4px; border-radius: 2px; background: var(--line); }
.is-wizard .progress li.is-done::before, .is-wizard .progress li[aria-current]::before { background: var(--ink); }
.is-wizard .progress li[aria-current] { color: var(--ink); }
.is-wizard .step { border-top: 0; padding-top: 0; animation: step-in .2s ease-out; }
.is-wizard .program.is-off { display: none; }
.is-wizard .program:not(.is-off) ~ .program:not(.is-off) { margin-top: 36px; }
.is-wizard .btn--submit { display: none; }
.is-wizard main.wrap, .is-wizard .foot { padding-bottom: calc(var(--bar-h) + 24px + env(safe-area-inset-bottom)); }
.is-wizard .bar.is-first [data-back] { visibility: hidden; }
.is-wizard .bar.is-last .bar__sum { display: none; }
.is-wizard .bar.is-last [data-next] { flex: 1; }

@keyframes step-in { from { translate: 0 6px; } }

/* Confirmation */

.done__title { margin: 0 0 12px; font-size: 32px; font-weight: 300; line-height: 1.15; overflow-wrap: anywhere; }
.done__meta { margin: 32px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
.done__body h2 { font-size: 20px !important; font-weight: 700; }
.copy {
  margin-left: 6px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); font: inherit; font-size: 13px; font-weight: 400; vertical-align: 1px; cursor: pointer;
}
.copy:hover { border-color: var(--ink); }
.copy:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
/* On a phone the GiroCode can hardly be scanned (same device): smaller, the copy buttons come first */
@media (max-width: 639px) {
  .done__body .girocode img { width: 88px; height: 88px; }
}

/* "Mein Festival" (participant.php): made for phones */

.festival { padding-bottom: 40px; }
.festival h2 { margin: 0 0 10px; font-size: 24px; font-weight: 700; line-height: 1.2; }
.festival__who { margin: 0 0 4px; overflow-wrap: anywhere; }
.festival__note { margin: 8px 0 0; color: var(--muted); }
.festival__status { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; background: var(--soft); font-size: 15px; }
.festival__logout { margin: 40px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.linkbutton { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.welcome { margin: 0 0 24px; padding: 16px 18px; border-radius: 12px; background: var(--soft); }
.welcome h2 { font-size: 20px; margin: 0 0 6px; }
.welcome p { margin: 0; }

.eticket { margin: 20px 0 8px; padding: 20px; border: 2px solid var(--ink); border-radius: 12px; text-align: center; }
.eticket__qr { display: block; width: min(100%, 260px); height: auto; margin: 4px auto 8px; image-rendering: pixelated; }
.eticket__hint { margin: 0 0 12px; font-size: 15px; color: var(--muted); }
.eticket__ticket { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }

.news { margin-top: 36px; }
.news__item { padding: 14px 16px; border-left: 4px solid var(--ink); background: var(--soft); border-radius: 0 10px 10px 0; }
.news__item + .news__item { margin-top: 10px; }
.news__item h3 { margin: 0 0 4px; font-size: 18px; }
.news__item p { margin: 0; overflow-wrap: anywhere; }
.news__meta { font-size: 14px; color: var(--muted); margin-bottom: 2px !important; }

.myprogram { margin-top: 36px; }
.myprogram__ticket { margin: 0 0 8px; }
.myprogram__day { margin: 24px 0 4px; font-size: 18px; font-weight: 700; }
.myprogram__list { list-style: none; margin: 0; padding: 0; }
.pitem { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pitem__time { flex: none; width: 4em; font-weight: 700; }
.pitem__time small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
.pitem__body { min-width: 0; overflow-wrap: anywhere; }
.pitem__body strong { display: block; }
.pitem__meta { display: block; color: var(--muted); }
.pitem__news { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }

.login { padding-top: 8px; }
.login__form { display: grid; gap: 16px; max-width: 420px; }
.login__form .btn { justify-self: start; }

/* Footer */

.foot { border-top: 1px solid var(--line); padding: 20px 0 32px; font-size: 14px; color: var(--muted); }

/* Larger screens */

@media (min-width: 640px) {
  .wrap { padding: 0 24px; }
  .intro { padding: 56px 0 28px; }
  .program__day { margin: 0 -24px; padding: 10px 24px; }
  .slot { --time: 72px; --gap: 16px; }
  .slot__options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .option--none { grid-column: 1 / -1; }
  .fields { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .field--prename, .field--title { grid-column: span 6; }
  .field--street { grid-column: span 9; }
  .field--street_nr { grid-column: span 3; }
  .field--postcode { grid-column: span 3; }
  .field--city { grid-column: span 9; }
  .btn--submit { width: auto; padding: 0 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* "Als App auf den Startbildschirm" on Mein Festival (scripts/participant.js) */
.install { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 24px; padding: 18px; border: 2px solid var(--ink); border-radius: 12px; }
.install__icon { flex: none; width: 60px; height: 60px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.install__body { min-width: 0; }
.festival .install h2 { font-size: 20px; margin: 0 0 6px; }
.install p { margin: 0 0 12px; }
.install__steps { margin: 0 0 12px; padding-left: 1.3em; }
.install__steps li { margin-bottom: 6px; }
.install__share { vertical-align: -4px; }
.install__hint { font-size: 15px; color: var(--muted); }

/* Tabs of Mein Festival: an app bar at the bottom (scripts/participant.js) */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; justify-content: center; gap: 4px;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--control); }
.tabs [role="tab"] { position: relative; flex: 1; max-width: 160px; display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-height: 52px; padding: 6px 4px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.tabs [aria-selected="true"] { background: var(--ink); color: #fff; }
.tabs__badge { position: absolute; top: 2px; right: calc(50% - 34px); padding: 0 6px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 11px; line-height: 16px; }
body.has-tabs { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.panel-tab { margin-top: 20px; }
.panel-tab.news, .panel-tab.myprogram { margin-top: 20px; }

/* App view of Mein Festival (tabs active): compact head, and the e-ticket fits the screen without scrolling.
   The QR code takes the height that is left: screen minus head, ticket texts and tab bar (about 420px). */
@media (max-width: 639px) {
  body.has-tabs .top__inner { min-height: 52px; }
  body.has-tabs .top__logo img { width: 80px; }
  body.has-tabs .intro { padding: 14px 0 6px; }
  body.has-tabs .intro__title { font-size: 30px; }
  body.has-tabs .intro__meta { margin-top: 2px; font-size: 16px; }
  body.has-tabs .festival__who { font-size: 15px; }
  body.has-tabs .panel-tab { margin-top: 12px; }
}
body.has-tabs .eticket { margin: 0; padding: 12px 16px 14px; }
body.has-tabs .eticket h2 { margin-bottom: 4px; font-size: 20px; }
body.has-tabs .eticket__qr { width: clamp(150px, calc(100svh - 420px - env(safe-area-inset-bottom)), 260px); margin: 0 auto 4px; }
body.has-tabs .eticket__hint { margin-bottom: 8px; font-size: 14px; }
body.has-tabs .eticket__ticket { padding-top: 8px; font-size: 15px; line-height: 1.35; }

/* Pull down to reload in the home screen app (scripts/participant.js); in the page only while pulling */
.pull { position: fixed; top: calc(env(safe-area-inset-top) + 8px); left: 50%; z-index: 20; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -56px); opacity: 0; pointer-events: none; transition: transform 0.25s, opacity 0.25s; }
.pull--dragging { transition: none; }
.pull svg { fill: none; stroke-width: 2.6; stroke-linecap: round; transform: rotate(-90deg); }
.pull__track { stroke: var(--line); }
.pull__ring { stroke: currentColor; stroke-dasharray: 50.27; stroke-dashoffset: 50.27; }
.pull--loading .pull__ring { stroke-dashoffset: 37.7; transition: stroke-dashoffset 0.2s; }
.pull--loading svg { animation: pull-spin 0.7s linear infinite; }
@keyframes pull-spin { from { transform: rotate(-90deg); } to { transform: rotate(270deg); } }
.pull__haptic { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }

/* Workshops magenta, coachings blue (Julia, 11/2026): tinted box with a colored edge; chosen = filled */
.option--workshop { border-color: var(--workshop); background: var(--workshop-soft); }
.option--coaching { border-color: var(--coaching); background: var(--coaching-soft); }
.option--workshop:hover { border-color: var(--workshop); }
.option--coaching:hover { border-color: var(--coaching); }
.option--workshop:has(input:checked) { background: var(--workshop); border-color: var(--workshop); }
.option--coaching:has(input:checked) { background: var(--coaching); border-color: var(--coaching); }
.option--workshop:has(input:checked) .option__meta, .option--coaching:has(input:checked) .option__meta { color: #fff; }
.option--workshop:has(input:checked) input, .option--coaching:has(input:checked) input { background: #000; }
.option--workshop.is-full, .option--coaching.is-full { background: #fff; border-style: dashed; }
.option--info.option--workshop, .option--info.option--coaching { border-style: dashed; }
.step__lead .type--workshop { color: var(--workshop); }
.step__lead .type--coaching { color: var(--coaching); }

/* Home screen app: content stays below the status bar; a white strip there instead of the system fade */
@supports (padding-top: env(safe-area-inset-top)) {
  body { padding-top: env(safe-area-inset-top); }
  body::before { content: ""; position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: env(safe-area-inset-top); background: #fff; }
}
