/* Participant app styles. Values come from the inline styles in docs/design/Motorreis Marokko App.dc.html.
   Colours only via var(--color-*) from organic.css. */

html, body { height: 100%; }
body { background: var(--color-bg); overscroll-behavior: none; }
a { color: var(--color-accent-700); }
a:hover { color: var(--color-accent-800); }
button { font: inherit; color: inherit; }

/* — shell — */
.shell {
  height: 100dvh; max-width: 480px; margin: 0 auto;
  display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top);
  background: var(--color-bg);
}
.screen { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 8px 20px 28px; -webkit-overflow-scrolling: touch; }
.screen-message { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 40px; }

.tabbar {
  flex: none; display: flex; justify-content: space-around;
  padding: 8px 8px max(26px, env(safe-area-inset-bottom));
  background: var(--color-neutral-100); border-top: 1px solid var(--color-divider);
}
.tab {
  flex: 1; min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 11px; font-weight: 600; text-decoration: none; color: var(--color-neutral-700);
}
.tab:hover { color: var(--color-neutral-700); }
.tab-pill { width: 52px; height: 30px; border-radius: 999px; display: grid; place-items: center; background: transparent; }
.tab.active, .tab.active:hover { color: var(--color-accent-800); }
.tab.active .tab-pill { background: var(--color-accent-200); }

/* — layout helpers — */
.page { display: flex; flex-direction: column; }
.page h1, .page h2, .page h3, .page h4, .page h5, .page p { margin: 0; }
.page-sub { margin-bottom: 14px !important; }
.stack { display: flex; flex-direction: column; min-width: 0; }
.grow { flex: 1; }
.align-start { align-self: flex-start; }
.split { display: flex; justify-content: space-between; }
.gap-4 { gap: 4px; } .gap-6 { gap: 6px; } .gap-8 { gap: 8px; } .gap-10 { gap: 10px; } .gap-14 { gap: 14px; }
.gap-16 { gap: 16px; } .gap-18 { gap: 18px; } .gap-20 { gap: 20px; } .gap-22 { gap: 22px; }
.fs-10 { font-size: 10px; } .fs-12 { font-size: 12px; } .fs-13 { font-size: 13px; } .fs-14 { font-size: 14px; } .fs-15 { font-size: 15px; }
.section { display: flex; flex-direction: column; gap: 10px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn { min-height: 44px; }
.btn-row { display: flex; gap: 8px; }
.btn-row > .btn { flex: 1; white-space: nowrap; }
.btn-pad { padding: 12px; }
.icon { display: block; flex: none; }

/* — circles and tones — */
.circle { border-radius: 50%; display: grid; place-items: center; flex: none; }
.circle-38 { width: 38px; height: 38px; }
.circle-40 { width: 40px; height: 40px; }
.circle-44 { width: 44px; height: 44px; }
.circle-48 { width: 48px; height: 48px; }
.tone-flight, .tone-ferry { background: var(--color-accent-2-200); color: var(--color-accent-2-800); }
.tone-transport, .tone-bike { background: var(--color-accent-200); color: var(--color-accent-800); }
.tone-ride { background: var(--color-accent); color: var(--color-bg); }
.tone-restday { background: var(--color-accent-2-300); color: var(--color-accent-2-900); }
.tone-hotel { background: var(--color-bg); color: var(--color-neutral-800); }
.tone-urgent { background: var(--color-accent-200); color: var(--color-accent-800); }
.tone-calm { background: var(--color-bg); color: var(--color-accent-700); }
.tone-hotel-icon { background: var(--color-bg); color: var(--color-accent-700); }
.tone-a { background: var(--color-accent-2-200); color: var(--color-accent-2-900); }
.tone-b { background: var(--color-accent-200); color: var(--color-accent-900); }

/* — rows and cards — */
.row-btn {
  display: flex; width: 100%; border: none; text-align: left; cursor: pointer;
  background: var(--color-surface);
}
.row-btn:hover { background: var(--color-neutral-300); }
.todo-row { align-items: center; gap: 14px; padding: 14px 16px; border-radius: 24px; }
.todo-title { font-weight: 600; font-size: 15px; }
.action-row { display: flex; background: var(--color-surface); }
.action-check { min-height: 44px; }
.file-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: -6px 0 -10px; font-size: 13px; font-weight: 600; color: var(--color-accent); text-decoration: none; }
.chev { color: var(--color-neutral-600); }

.outline-card { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 24px; border: 1.5px solid var(--color-divider); }
.news-meta { display: flex; justify-content: space-between; font-size: 12px; }
.news-text { font-size: 14px; text-wrap: pretty; }

.list-group { display: flex; flex-direction: column; border-radius: 22px; background: var(--color-surface); overflow: hidden; }
.list-group > * + * { border-top: 1px solid var(--color-divider); }

/* — Vandaag — */
.topline { display: flex; justify-content: space-between; align-items: center; }
.brand { font-family: var(--font-heading); font-size: 18px; }
.hero { position: relative; padding: 26px 22px 22px; border-radius: 32px; background: var(--color-accent); color: var(--color-bg); overflow: hidden; }
.hero-trip { padding-top: 24px; }
.hero-blob { position: absolute; border-radius: 50%; }
.hero-blob-1 { right: -50px; top: -50px; width: 180px; height: 180px; background: var(--color-accent-400); opacity: .55; }
.hero-blob-2 { right: 30px; bottom: -70px; width: 120px; height: 120px; background: var(--color-accent-600); }
.hero-blob-trip { right: -60px; top: -60px; width: 190px; height: 190px; background: var(--color-accent-400); opacity: .5; }
.hero-body { position: relative; display: flex; flex-direction: column; }
.kicker { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.kicker-row { display: flex; gap: 8px; align-items: center; }
.piste-pill { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--color-accent-800); }
.hero-count { font-family: var(--font-heading); font-size: 64px; line-height: 1; }
.hero-count-sm { font-size: 44px; line-height: 1.05; }
.hero-sub { font-size: 15px; margin-top: 8px; }
.hero-title { font-family: var(--font-heading); font-size: 36px; line-height: 1.05; }
.hero-stats { display: flex; gap: 8px; }
.hero-stats > span { flex: 1; padding: 10px 12px; border-radius: 18px; background: var(--color-accent-700); display: flex; flex-direction: column; }
.hero-stats b { font-size: 18px; }
.hero-stats span span { font-size: 12px; }
.hero-btn, .hero-btn:hover { background: var(--color-bg); color: var(--color-accent-800); padding: 10px 18px; }

.moment {
  display: flex; flex-direction: column; gap: 10px; padding: 16px; border: none; border-radius: 24px;
  background: var(--color-accent-2-200); color: var(--color-accent-2-900); text-align: left; cursor: pointer;
}
.moment:hover { background: var(--color-accent-2-300); }
.moment-when { font-family: var(--font-heading); font-size: 17px; line-height: 1.15; }

.progress-segments { display: flex; gap: 4px; }
.progress-segments > span { flex: 1; height: 10px; border-radius: 999px; background: var(--color-neutral-300); }
.progress-segments > .done { background: var(--color-accent-2); }
.progress-segments > .now { background: var(--color-accent); }
.progress-labels { display: flex; justify-content: space-between; font-size: 12px; }

.tonight { padding: 18px; gap: 12px; }
.tonight-head { display: flex; gap: 14px; align-items: center; }

/* — Planning — */
.plan-day { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.plan-day-head { display: flex; align-items: center; gap: 8px; }
.plan-day-label { font-family: var(--font-heading); font-size: 18px; }
.event-row { gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 22px; }
.event-row-text { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.event-row-title { font-weight: 600; font-size: 15px; line-height: 1.3; }
.event-row-time { font-size: 13px; color: var(--color-neutral-700); }
.event-row-tbc { font-size: 11px; color: var(--color-accent-700); margin-top: 2px; }

/* — Sheet — */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-end; justify-content: center;
  background: color-mix(in srgb, var(--color-neutral-900) 45%, transparent);
}
.sheet {
  width: 100%; max-width: 480px; padding: 12px 22px max(34px, env(safe-area-inset-bottom));
  border-radius: 36px 36px 0 0; background: var(--color-bg);
  display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-lg);
  animation: sheet-in 200ms ease-out;
}
@keyframes sheet-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
.sheet-grip { align-self: center; width: 44px; height: 5px; border-radius: 999px; background: var(--color-neutral-400); }
.sheet-head { display: flex; gap: 14px; align-items: center; }
.sheet-title { font-family: var(--font-heading); font-size: 22px; line-height: 1.15; }
.sheet-facts { display: flex; flex-direction: column; border-radius: 22px; background: var(--color-surface); }
.sheet-facts > div { display: flex; flex-direction: column; padding: 12px 16px; }
.sheet-facts > div + div { border-top: 1px solid var(--color-divider); }
.sheet-facts b { font-size: 15px; }
.sheet-note { margin: 0; font-size: 14px; text-wrap: pretty; }
.sheet-tag { align-self: flex-start; }

/* — Route — */
.day-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 6px; scrollbar-width: none; }
.day-chip {
  flex: none; width: 52px; height: 52px; border-radius: 50%; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1;
  background: var(--color-surface); color: var(--color-text);
}
.day-chip:hover { color: var(--color-text); }
.day-chip b { font-size: 16px; }
.day-chip.rest { background: var(--color-accent-2-200); }
.day-chip.selected, .day-chip.selected:hover { background: var(--color-accent); color: var(--color-bg); }
.route-kicker { color: var(--color-accent-700); }
.map-placeholder {
  position: relative; height: 200px; border-radius: 28px; overflow: hidden; display: flex; align-items: flex-end; padding: 14px;
  background: repeating-linear-gradient(135deg, var(--color-accent-2-200) 0 14px, var(--color-accent-2-100) 14px 28px);
}
.map-placeholder span {
  font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--color-bg);
  padding: 6px 12px; border-radius: 999px; color: var(--color-accent-2-800);
}
.stat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat-tiles > div { padding: 12px; border-radius: 20px; background: var(--color-surface); display: flex; flex-direction: column; }
.stat-tiles b { font-size: 20px; font-family: var(--font-heading); font-weight: 400; }
.stat-tiles span { font-size: 12px; }
.surface-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--color-accent-300); }
.surface-bar > div { height: 100%; background: var(--color-neutral-700); }
.elevation { width: 100%; height: 64px; display: block; }
.elevation-fill { fill: var(--color-accent-200); }
.elevation-line { fill: none; stroke: var(--color-accent); stroke-width: 2.5; stroke-linejoin: round; }
.stop { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.km-badge { width: 34px; height: 34px; background: var(--color-accent-2-200); color: var(--color-accent-2-800); font-size: 11px; font-weight: 700; }
.note-panel { padding: 16px 18px; border-radius: 24px; background: var(--color-accent-2-200); color: var(--color-accent-2-900); font-size: 14px; text-wrap: pretty; }
.hotel-card { flex-direction: row; align-items: center; gap: 12px; padding: 14px 16px; }
.hotel-icon { color: var(--color-accent-700); }

/* — Paklijst — */
.banner { padding: 14px 16px; border-radius: 22px; background: var(--color-accent-2-200); color: var(--color-accent-2-900); font-size: 13px; text-wrap: pretty; }
.segmented { display: flex; padding: 4px; border-radius: 999px; background: var(--color-surface); }
.segmented button {
  flex: 1; min-height: 44px; padding: 10px; border: none; border-radius: 999px; cursor: pointer;
  font-weight: 600; font-size: 14px; background: transparent; color: var(--color-neutral-700);
}
.segmented button.active { background: var(--color-bg); color: var(--color-text); }
.pack-pct { font-family: var(--font-heading); font-size: 28px; }
.meter { height: 12px; border-radius: 999px; background: var(--color-neutral-300); overflow: hidden; }
.meter > div { height: 100%; border-radius: 999px; background: var(--color-accent-2); }
.check-row {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: none; background: transparent;
  text-align: left; cursor: pointer; min-height: 48px;
}
.check-row:hover { background: var(--color-neutral-300); }
.checkbox {
  width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; margin-top: 1px;
  border: 2px solid var(--color-neutral-500); color: var(--color-bg);
}
.check-row.checked .checkbox { background: var(--color-accent-2); border-color: var(--color-accent-2); }
.check-title { font-size: 15px; }
.check-row.checked .check-title { opacity: .55; }
.nope-row { display: flex; gap: 12px; padding: 14px 16px; border-radius: 22px; background: var(--color-accent-100); }
.nope-icon { color: var(--color-accent-700); margin-top: 2px; }
.nope-title { font-size: 15px; color: var(--color-accent-900); }
.nope-reason { font-size: 13px; color: var(--color-accent-800); }

/* — Info — */
.doc-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.doc-title { font-size: 14px; font-weight: 600; }
.doc-toggle {
  flex: none; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: none; cursor: pointer;
  font-size: 13px; font-weight: 600; background: var(--color-accent-200); color: var(--color-accent-800);
}
.doc-toggle.on { background: var(--color-accent-2); color: var(--color-bg); }
.sos { display: flex; flex-direction: column; padding: 14px 16px; border-radius: 22px; background: var(--color-surface); color: var(--color-text); text-decoration: none; }
.sos:hover { color: var(--color-text); }
.sos.first { background: var(--color-accent-200); }
.sos-nr { font-family: var(--font-heading); font-size: 26px; line-height: 1.1; }
.contact-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 16px; color: inherit; text-decoration: none; min-height: 44px; }
.contact-row:hover { color: inherit; }
.contact-icon { color: var(--color-accent-700); }
.crew-row { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; flex: none; }
.tip { gap: 2px; }
.tip-text { font-size: 13px; color: var(--color-neutral-800); text-wrap: pretty; }

/* — Blazor error UI — */
#blazor-error-ui {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  padding: 12px 20px; background: var(--color-accent-200); color: var(--color-accent-900); box-shadow: var(--shadow-md);
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 16px; top: 10px; }
.loading { display: grid; place-items: center; height: 100dvh; font-family: var(--font-heading); font-size: 28px; color: var(--color-accent); }

/* — Inloggen — */
.gap-12 { gap: 12px; }
.login {
  position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 24px max(48px, env(safe-area-inset-bottom)); overflow: hidden; background: var(--color-bg);
}
.login-blob { position: absolute; border-radius: 50%; }
.login-blob-1 { left: -80px; top: -40px; width: 320px; height: 320px; background: var(--color-accent); }
.login-blob-2 { right: -60px; top: 180px; width: 200px; height: 200px; background: var(--color-accent-2-300); }
.login-blob-3 { left: 150px; top: 120px; width: 90px; height: 90px; background: var(--color-accent-300); }
.login-body { position: relative; display: flex; flex-direction: column; gap: 20px; }
.login-title { margin: 0; font-size: 46px; }
.login-input { min-height: 48px; font-size: 15px; width: 100%; }
.login-btn { padding: 14px; font-size: 15px; }
.login-note { text-align: center; }
.login-message { padding: 16px 18px; border-radius: 24px; background: var(--color-accent-2-200); color: var(--color-accent-2-900); font-size: 14px; }
.login-message-error { background: var(--color-accent-200); color: var(--color-accent-900); }
.btn-row-start { display: flex; gap: 8px; flex-wrap: wrap; }

/* — Kaart (Leaflet) — */
.route-map { height: 200px; border-radius: 28px; overflow: hidden; background: var(--color-accent-2-100); z-index: 0; isolation: isolate; }
.route-map .leaflet-control-attribution { font-size: 10px; border-top-left-radius: 8px; }

/* — pushmeldingen — */
.push-card { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 22px; background: var(--color-surface); }
.push-error { color: var(--color-accent-800); }
.push-prompt { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; border-radius: 24px; border: 1.5px solid var(--color-divider); }
.push-prompt-head { display: flex; gap: 14px; align-items: center; }

/* — welkom — */
.welcome { max-height: 92vh; overflow-y: auto; }
.welcome-dots { display: flex; gap: 6px; align-self: center; padding-top: 4px; }
.welcome-dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--color-neutral-300); }
.welcome-dots span.on { width: 22px; background: var(--color-accent); }
.welcome-list { display: flex; flex-direction: column; border-radius: 22px; background: var(--color-surface); }
.welcome-list > div { display: flex; gap: 12px; align-items: center; padding: 10px 14px; }
.welcome-list > div + div { border-top: 1px solid var(--color-divider); }
.release-head { font-size: 13px; font-weight: 600; color: color-mix(in srgb, var(--color-text) 55%, transparent); margin-bottom: -4px; }
.welcome-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; text-wrap: pretty; }
.inline-icon { display: inline-flex; vertical-align: -3px; color: var(--color-accent-700); }
.circle-36 { width: 36px; height: 36px; }

/* — StageJourney: Vandaag — */
body:has(.today-page) { background: var(--color-bg); }
.shell:has(.today-page) { max-width: 500px; }
.screen:has(.today-page) { padding: 12px 20px 32px; }
.today-page { gap: 22px; }
.today-brandbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--color-divider); }
.today-profile { width: 44px; height: 44px; display: grid; place-items: center; flex: none; background: var(--color-accent-2-200); border: 1px solid var(--color-divider); border-radius: 50%; color: var(--color-sj-green); font-weight: 700; text-decoration: none; }
.today-profile:hover { background: var(--color-sj-sand); color: var(--color-sj-green-dark); }
.today-heading { display: flex; flex-direction: column; gap: 7px; }
.today-heading h1 { font-size: 34px; color: var(--color-sj-green-dark); }
.today-heading p { color: var(--color-neutral-700); font-size: 14px; }
.today-hero { position: relative; overflow: hidden; isolation: isolate; padding: 22px; border-radius: 22px; background: var(--color-sj-green); color: var(--color-sj-cream); }
.today-hero .journey-contours { width: 100%; right: -26%; opacity: .13; }
.today-hero-content { position: relative; display: flex; flex-direction: column; gap: 12px; }
.today-phase { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; padding: 5px 9px; border: 1px solid color-mix(in srgb, var(--color-sj-cream) 22%, transparent); background: color-mix(in srgb, var(--color-sj-cream) 8%, transparent); border-radius: 6px; font-size: 11px; font-weight: 600; }
.today-count { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; line-height: 1; }
.today-count-prefix { font-size: 14px; }
.today-count strong { font: 400 64px/1 var(--font-heading); letter-spacing: -3px; }
.today-count > span:last-child { font-size: 23px; }
.today-hero p { font-size: 14px; line-height: 1.5; color: var(--color-sj-cream); }
.today-hero-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; margin-top: 2px; border-top: 1px solid color-mix(in srgb, var(--color-sj-cream) 22%, transparent); padding-top: 10px; color: var(--color-sj-cream); text-decoration: none; font-weight: 600; font-size: 13px; }
.today-hero-link:hover { color: var(--color-sj-peach); }
.today-page .section { gap: 12px; }
.today-page .section-head { align-items: center; gap: 8px; flex-wrap: wrap; }
.today-page .section h2 { font: 700 19px/1.3 var(--font-body); color: var(--color-sj-ink); letter-spacing: -.3px; }
.today-count-tag { padding: 3px 9px; border-radius: 5px; background: var(--color-sj-peach); color: var(--color-accent-800); font-size: 12px; font-weight: 600; }
.today-section-sub { margin-top: -6px !important; font-size: 13px; color: var(--color-neutral-700); }
.today-action-list { border: 1px solid var(--color-divider); border-radius: 16px; overflow: hidden; background: var(--color-neutral-100); }
.today-action-list > * + * { border-top: 1px solid var(--color-divider); }
.today-action-list .todo-row { padding: 16px 14px; gap: 10px; border-radius: 0; background: transparent; }
.today-action-list .row-btn:hover { background: var(--color-sj-sand); }
.today-action-list .circle { width: 34px; height: 36px; border-radius: 10px; align-self: flex-start; }
.today-action-list .todo-title { font-size: 14px; line-height: 1.4; }
.today-action-list .grow { gap: 3px; overflow-wrap: anywhere; }
.today-action-list .text-muted { font-size: 12px; line-height: 1.5; }
.today-action-list .action-check { min-height: 44px; padding: 8px 11px; background: var(--color-bg); color: var(--color-sj-green); border: 1px solid var(--color-divider); border-radius: 8px; font-size: 12px; }
.today-action-list .action-check:hover { background: var(--color-accent-2-200); border-color: var(--color-sj-green); }
.today-action-list .file-link { color: var(--color-accent-700); flex-wrap: wrap; }
.today-complete { display: flex; align-items: center; gap: 12px; padding: 18px; border: 1px solid var(--color-divider); border-radius: 16px; }
.today-complete p { font-size: 13px; color: var(--color-neutral-700); }
.today-text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 3px; color: var(--color-sj-green); font-size: 12px; font-weight: 600; text-decoration: none; }
.today-text-link:hover { text-decoration: underline; color: var(--color-sj-green-dark); }
.today-page .moment { padding: 16px; gap: 15px; border-radius: 14px; border: 1px solid var(--color-divider); background: var(--color-accent-2-100); color: var(--color-sj-green); }
.today-page .moment:hover { background: var(--color-accent-2-200); }
.today-page .moment-when { font: 700 15px/1.4 var(--font-body); }
.today-page .outline-card { background: var(--color-neutral-100); border-width: 1px; border-radius: 14px; padding: 18px; gap: 8px; }
.today-page .news-meta { gap: 12px; font-size: 11px; color: var(--color-neutral-700); }
.today-page .news-meta > span:last-child { flex: none; }
.today-page .news-text { line-height: 1.65; }
.news-pinned { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--color-accent-700); font-weight: 600; }
.today-page .push-prompt { border-width: 1px; border-radius: 14px; background: var(--color-accent-2-100); }
.today-page .btn { font-family: var(--font-body); font-weight: 600; border-radius: 9px; }
.today-page .btn-primary { background: var(--color-sj-action); color: var(--color-sj-cream); }
.today-page .btn-primary:hover { background: var(--color-accent-700); }
.today-page .btn-ghost { color: var(--color-sj-green); }
.today-page .text-muted { color: var(--color-neutral-700); }
.today-footer { display: flex; justify-content: center; align-items: center; gap: 7px; font-size: 11px; color: var(--color-neutral-700); padding-top: 8px; }
.shell:has(.today-page) .tabbar { background: var(--color-neutral-100); padding-bottom: max(16px, env(safe-area-inset-bottom)); }
.shell:has(.today-page) .tab-pill { border-radius: 10px; }
.shell:has(.today-page) .tab.active { color: var(--color-sj-green); }
.shell:has(.today-page) .tab.active .tab-pill { background: var(--color-accent-2-200); }
.today-hero-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; }
.today-stage-label { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.today-stage-label .piste-pill { background: var(--color-sj-green-dark); }
.today-page .today-route-title { font: 400 32px/1.16 var(--font-heading); color: var(--color-sj-cream); overflow-wrap: anywhere; }
.today-ride-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid color-mix(in srgb, var(--color-sj-cream) 22%, transparent); padding-block: 14px; }
.today-ride-stats > div { display: flex; flex-direction: column; gap: 3px; padding-inline: 10px; }
.today-ride-stats > div:first-child { padding-left: 0; }
.today-ride-stats > div + div { border-left: 1px solid color-mix(in srgb, var(--color-sj-cream) 22%, transparent); }
.today-ride-stats b { font-size: 20px; }
.today-ride-stats span { font-size: 10px; }
.today-page .today-route-btn { background: var(--color-sj-cream); color: var(--color-sj-green-dark); padding: 13px; }
.today-route-btn > svg:last-child { margin-left: auto; }
.today-page .today-route-btn:hover { background: var(--color-sj-peach); }
.today-page .progress-segments > span { height: 6px; }
.today-page .progress-labels { gap: 8px; flex-wrap: wrap; }
.today-page .tonight { background: var(--color-neutral-100); border: 1px solid var(--color-divider); border-radius: 16px; gap: 18px; }
.today-page .tonight .card-title { font: 700 16px/1.4 var(--font-body); }
.today-page .tone-hotel-icon { border-radius: 12px; background: var(--color-accent-2-100); color: var(--color-sj-green); }
.today-page .today-tomorrow { display: flex; flex-direction: row; align-items: center; gap: 12px; }
@media (max-width: 360px) {
  .screen:has(.today-page) { padding-inline: 14px; }
  .today-hero { padding: 20px; }
  .today-action-list .todo-row { padding-inline: 10px; gap: 8px; }
  .today-action-list .circle { width: 30px; }
  .today-ride-stats > div { padding-inline: 7px; }
}

/* StageJourney across the whole participant app. */
body {background:var(--color-sj-cream);}
.shell {max-width:500px;}
.screen {padding:16px 20px 30px;}
.app-topbar {display:flex;justify-content:space-between;align-items:center;padding:0 0 8px;}
.app-topbar .sj-brand {font-size:20px;}
.app-switch {display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:var(--color-sj-green);background:var(--color-accent-2-100);}
.app-heading {display:flex;flex-direction:column;gap:10px;padding:12px 0 8px;}
.app-heading h1 {font-size:33px;line-height:1.15;letter-spacing:-.035em;color:var(--color-sj-green-dark);}
.app-heading p {font-size:13px;color:var(--color-neutral-700);line-height:1.6;max-width:350px;}
.app-heading .sj-eyebrow {font-size:9px;}
.stagejourney .btn {border-radius:8px;min-height:44px;font-weight:600;}
.stagejourney .input {min-height:48px;border-radius:8px;background:var(--color-sj-paper);}
.stagejourney .card,.stagejourney .list-group,.stagejourney .outline-card {border:1px solid var(--color-divider);border-radius:13px;background:var(--color-sj-paper);}
.stagejourney .doc-toggle {min-height:44px;border-radius:7px;flex-shrink:0;}
.stagejourney .doc-row {gap:10px;padding:14px 12px;}
.stagejourney .doc-row .grow {min-width:0;overflow-wrap:anywhere;}
.stagejourney .tabbar {background:var(--color-sj-paper);border-top:1px solid var(--color-divider);}
.stagejourney .tab.active {color:var(--color-sj-green);}
.stagejourney .tab.active .tab-pill {background:var(--color-accent-2-200);color:var(--color-sj-green);}
.stagejourney .tab-pill {border-radius:8px;}
.stagejourney .plan-day {padding:0 0 14px;}
.stagejourney .plan-day-head {padding:10px 0;border-bottom:1px solid var(--color-divider);margin-bottom:7px;}
.stagejourney .plan-day-label {font-size:15px;color:var(--color-sj-green);}
.stagejourney .event-row {border-radius:10px;min-height:66px;}
.stagejourney .event-row:hover {background:var(--color-accent-2-100);}
.stagejourney .event-icon {border-radius:11px;}
.stagejourney .banner {background:var(--color-accent-2-100);border:1px solid var(--color-divider);border-radius:11px;color:var(--color-sj-green);line-height:1.6;}
.packing-note {display:flex;align-items:flex-start;gap:12px;}
.packing-note .icon {flex:none;margin-top:2px;}
.stagejourney .segmented {border-radius:10px;background:var(--color-sj-sand);padding:4px;}
.stagejourney .segmented button {border-radius:7px;min-height:44px;}
.stagejourney .segmented .active {background:var(--color-sj-green);color:var(--color-sj-cream);}
.stagejourney .check-row {padding:15px 14px;min-height:54px;}
.stagejourney .check-row.checked {background:var(--color-accent-2-100);}
.stagejourney .checkbox {border-radius:5px;}
.stagejourney .pack-pct {color:var(--color-sj-green);font-size:34px;}
.stagejourney .meter {height:7px;background:var(--color-sj-sand);}
.stagejourney .meter>div {background:var(--color-sj-green);}
.stagejourney .day-chip {border-radius:9px;min-width:43px;min-height:54px;background:var(--color-sj-paper);border:1px solid var(--color-divider);}
.stagejourney .day-chip.selected {background:var(--color-sj-green);color:var(--color-sj-cream);}
.stagejourney .map-placeholder,.stagejourney .route-map {border-radius:13px;}
.stagejourney .stat-tiles>div {border-radius:12px;background:var(--color-sj-paper);border:1px solid var(--color-divider);padding:16px 8px;}
.stagejourney .stat-tiles b {color:var(--color-sj-green);font-size:27px;}
.stagejourney .hotel-card {padding:18px;}
.stagejourney .sos {border:1px solid var(--color-divider);background:var(--color-sj-paper);color:var(--color-sj-green);border-radius:12px;}
.stagejourney .sos.first {background:var(--color-sj-peach);color:var(--color-accent-800);}
.stagejourney .tip {padding:18px;gap:7px;}
.stagejourney .crew-row {padding:8px 0;}
.stagejourney .section>h4,.stagejourney .section-head>h4 {font-size:21px;color:var(--color-sj-green);}
.app-empty {display:flex;flex-direction:column;align-items:center;gap:14px;padding:34px 22px;background:var(--color-sj-paper);border:1px dashed var(--color-divider);border-radius:13px;text-align:center;color:var(--color-sj-green);font-size:14px;line-height:1.6;}
.app-empty h3 {font-size:24px;}
.app-empty p {color:var(--color-neutral-700);}
.preview-notice {background:var(--color-sj-peach);color:var(--color-accent-800);padding:10px 14px;border-radius:8px;font-size:12px;margin-bottom:18px;}
.journey-picker {padding:28px 22px;min-height:100dvh;gap:24px;}
.journey-picker .app-heading {margin:16px 0;}
.journey-choice {display:flex;align-items:center;gap:14px;border:1px solid var(--color-divider);border-radius:13px;background:var(--color-sj-paper);padding:18px;text-decoration:none;color:var(--color-sj-green);min-height:112px;}
.journey-choice>.stack {flex:1;gap:8px;}
.journey-choice b {font-size:18px;}
.journey-choice-icon {width:52px;height:62px;flex:none;display:grid;place-items:center;border-radius:12px;background:var(--color-sj-peach);}
.journey-choice-icon.alpine {background:var(--color-accent-2-200);}
.journey-choice-icon.nordic {background:var(--color-sj-green);color:var(--color-sj-cream);}
.app-footer {padding-top:24px;margin-top:auto;text-align:center;font-size:11px;color:var(--color-neutral-700);}
.stagejourney .login {min-height:100dvh;display:flex;flex-direction:column;justify-content:flex-start;background:var(--color-sj-cream);padding:0;}
.login-landscape {position:relative;isolation:isolate;overflow:hidden;min-height:245px;display:flex;flex-direction:column;justify-content:space-between;gap:60px;padding:34px 28px;background:var(--color-sj-green);color:var(--color-sj-cream);border-radius:0 0 60px 0;}
.login-landscape .sj-brand {color:var(--color-sj-cream);position:relative;}
.login-landscape>span {position:relative;font:400 28px/1.2 var(--font-heading);max-width:230px;}
.stagejourney .login-body {position:static;gap:28px;padding:36px 26px;}
.stagejourney .login-title {font-size:34px;line-height:1.15;color:var(--color-sj-green);}
.stagejourney .login-message {border-radius:12px;}
@media(max-width:360px){.screen{padding-inline:15px;}.app-heading h1{font-size:30px;}.doc-row .circle{display:none;}}
