*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Wordmark face — used only for the app name, not body copy. */
@font-face {
  font-family: 'Instrument Serif';
  src: url('/font/InstrumentSerif-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Backgrounds — warm cream palette */
  --bg: #faf9f5;
  --surface: #ffffff;
  --surface-alt: #f4f4ec;
  --surface-hover: #f0eee6;
  --surface-deep: #e7e5db;

  /* Text — warm near-blacks */
  --text: #131312;
  --text-secondary: #3c3c39;
  --text-muted: #72716b;
  --text-faint: #9b9991;

  /* Accent — emerald green */
  --accent: #2f9e6b;
  --accent-dark: #227e56;
  --accent-muted: rgba(47, 158, 107, 0.10);
  --accent-text: #ffffff;

  /* Status */
  --success: #2f7613;
  --success-bg: #e7f1d9;
  --warning: #865a07;
  --warning-bg: #f8eedd;
  --error: #b43232;
  --error-bg: #f8ebeb;

  /* Borders — warm dark at low opacity */
  --border: rgba(31, 30, 29, 0.08);
  --border-strong: rgba(31, 30, 29, 0.15);
  --border-heavy: rgba(31, 30, 29, 0.22);

  /* Shadows — barely there */
  --shadow: 0 1px 3px rgba(0,0,0,0.03);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.05);

  /* Radii */
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;

  /* Layout */
  --nav-height: 64px;
  --header-height: 52px;

  /* Product line colors */
  --product-ice: #c6603f;
  --product-re: #2c83db;
  --product-s: #2f7613;
  --product-u: #5545a1;
  --product-bus: #865a07;
  --product-tram: #b43232;
  --product-ferry: #1a66b2;
  --product-walk: #9b9991;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: none;
}

#app {
  display: flex;
  flex-direction: column;
  height: 100%;
  height: 100dvh;
}

/* ── Header ───────────────────────────────── */
.app-header {
  background: var(--bg);
  padding: 0 20px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.app-header h1 {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
  color: var(--text);
  letter-spacing: 0.2px;
}

.header-date {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-gear {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-xs);
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.15s;
}
.header-gear:active {
  background: var(--surface-alt);
  color: var(--accent-dark);
}

/* ── Content ──────────────────────────────── */
.app-content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: env(safe-area-inset-bottom);
}

#view-dashboard { padding: 16px; padding-bottom: 24px; }

/* ── Settings bottom sheet ───────────────── */
.settings-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: visibility 0.3s;
}
.settings-overlay.hidden {
  visibility: hidden;
  pointer-events: none;
}
.settings-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s;
}
.settings-overlay:not(.hidden) .settings-backdrop {
  opacity: 1;
}
.settings-sheet {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius) var(--radius) 0 0;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  padding-bottom: env(safe-area-inset-bottom);
}
.settings-overlay:not(.hidden) .settings-sheet {
  transform: translateY(0);
}
.settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.settings-title {
  font-size: 17px;
  font-weight: 700;
}
.settings-done {
  background: none;
  border: none;
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  -webkit-tap-highlight-color: transparent;
}
.settings-content {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 16px 24px;
}

/* ── Week navigation ─────────────────────── */
.week-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.week-btn {
  background: none;
  border: none;
  font-size: 22px;
  font-weight: 600;
  color: var(--accent-dark);
  cursor: pointer;
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s;
}
.week-btn:active {
  background: var(--surface-alt);
}
.week-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── Day selector bar ─────────────────────── */
.day-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 0;
}
.day-bar::-webkit-scrollbar { display: none; }

.day-pill {
  flex: 1;
  min-width: 0;
  padding: 9px 0;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--border-strong);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: var(--surface);
  color: var(--text-muted);
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
  text-align: center;
}

.day-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}

.day-pill.today:not(.active) {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.day-pill.disabled:not(.active) {
  opacity: 0.35;
  border-color: var(--border);
}

/* ── Section headers ──────────────────────── */
.section {
  margin-bottom: 24px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 0 2px;
}

.section-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  font-weight: 700;
}

.section-icon.outbound { background: var(--accent-muted); color: var(--accent-dark); }
.section-icon.return { background: rgba(85, 69, 161, 0.08); color: #5545a1; }

.section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.section-route {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.section-meta {
  margin-left: auto;
  text-align: right;
}

.section-time {
  font-size: 12px;
  color: var(--text-faint);
  font-weight: 500;
}

/* ── Journey cards ────────────────────────── */
.journey-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.journey-card:active {
  background: var(--surface-alt);
}

.journey-card.expanded {
  border-color: var(--border-heavy);
  box-shadow: var(--shadow-md);
}

.journey-summary {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.journey-times-row {
  position: relative;
  display: flex;
  align-items: center;
}

.journey-time {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.journey-time-delayed {
  text-decoration: line-through;
  color: var(--text-faint);
  font-size: 14px;
  font-weight: 500;
}

.journey-time-actual {
  color: var(--error);
}

.journey-arrow {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0 12px;
}

.journey-arrow-line {
  flex: 1;
  height: 1px;
  background: var(--border-heavy);
  min-width: 10px;
}

.journey-arrow-tip {
  color: var(--text-faint);
  font-size: 8px;
  line-height: 1;
  margin-left: -1px;
}

.journey-duration {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--text-faint);
  background: var(--surface);
  padding: 0 8px;
  font-weight: 600;
}

.journey-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.journey-lines {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  flex: 1;
}

.line-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.journey-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.journey-transfers {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.delay-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.delay-badge.on-time {
  background: var(--success-bg);
  color: var(--success);
}

.delay-badge.delayed {
  background: var(--warning-bg);
  color: var(--warning);
}

.delay-badge.severe {
  background: var(--error-bg);
  color: var(--error);
}

/* ── Journey details (expanded) ───────────── */
.journey-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.journey-card.expanded .journey-details {
  max-height: 800px;
}

.journey-details-inner {
  padding: 2px 16px 16px;
  border-top: 1px solid var(--border);
}

.leg {
  display: flex;
  gap: 14px;
  padding: 12px 0 0;
}

.leg-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 14px;
  flex-shrink: 0;
}

.leg-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid;
  background: var(--surface);
  flex-shrink: 0;
  z-index: 1;
}

.leg-line {
  flex: 1;
  width: 3px;
  min-height: 24px;
  border-radius: 2px;
}

.leg-dot-end {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  z-index: 1;
}

.leg-content {
  flex: 1;
  min-width: 0;
  padding-bottom: 12px;
}

.leg-station {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.leg-time {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.leg-time-delayed {
  text-decoration: line-through;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 500;
}

.leg-time-actual {
  color: var(--error);
  font-weight: 700;
}

.leg-platform {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 1px;
}

.leg-transport {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.leg-direction {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.leg-walk {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Setup prompt ─────────────────────────── */
.setup-prompt {
  text-align: center;
  padding: 72px 28px;
}

.setup-icon {
  font-size: 44px;
  margin-bottom: 20px;
  opacity: 0.7;
}

.setup-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  color: var(--text);
}

.setup-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

.setup-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-xs);
  border: none;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s ease, opacity 0.1s ease;
  -webkit-tap-highlight-color: transparent;
}

.setup-btn:active {
  transform: scale(0.98);
  opacity: 0.9;
}

/* ── No commute message ───────────────────── */
.no-commute {
  text-align: center;
  padding: 56px 28px;
  color: var(--text-secondary);
}

.no-commute-icon {
  font-size: 40px;
  margin-bottom: 14px;
  opacity: 0.5;
}

.no-commute h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.no-commute p {
  font-size: 13px;
  line-height: 1.6;
}

/* ── Loading ──────────────────────────────── */
.skeleton-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 20px 16px;
  margin-bottom: 10px;
}

.skeleton-line {
  height: 14px;
  background: linear-gradient(90deg, var(--surface-alt) 25%, var(--surface-hover) 50%, var(--surface-alt) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
  margin-bottom: 12px;
}

.skeleton-line:last-child { margin-bottom: 0; }
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w40 { width: 40%; }
.skeleton-line.w80 { width: 80%; }
.skeleton-line.tall { height: 24px; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Last updated / refresh ───────────────── */
.last-updated {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--text-faint);
}

.refresh-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.refresh-btn:active { transform: scale(0.92); background: var(--surface-alt); }
.refresh-btn.spinning svg { animation: spin 0.8s linear infinite; }

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* ── Error state ──────────────────────────── */
.error-card {
  background: var(--error-bg);
  border: 1px solid rgba(180, 50, 50, 0.15);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
  margin-bottom: 10px;
}

.error-card p {
  font-size: 13px;
  color: var(--error);
  margin-bottom: 12px;
}

.error-retry {
  padding: 8px 22px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--error);
  background: transparent;
  color: var(--error);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.error-retry:active { background: var(--error-bg); }

/* ── Schedule view ────────────────────────── */
.schedule-section {
  margin-bottom: 24px;
}

.schedule-section-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-faint);
  margin-bottom: 10px;
  padding: 0 4px;
}

.station-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.station-row {
  display: flex;
  align-items: center;
  padding: 16px;
  gap: 14px;
  cursor: pointer;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.station-row:active { background: var(--surface-alt); }
.station-row + .station-row { border-top: 1px solid var(--border); }

.station-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.station-icon.home { background: var(--accent-muted); }
.station-icon.work { background: rgba(85, 69, 161, 0.08); }

.station-label {
  font-size: 11px;
  color: var(--text-faint);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.station-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-top: 2px;
}

.station-name.placeholder {
  color: var(--text-faint);
  font-weight: 400;
}

.station-chevron {
  margin-left: auto;
  color: var(--text-faint);
  font-size: 18px;
}

/* ── Day schedule cards ───────────────────── */
.day-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: opacity 0.2s;
}

.day-card.disabled { opacity: 0.45; }

.day-card-header {
  display: flex;
  align-items: center;
  padding: 16px;
  gap: 12px;
}

.day-card-name {
  font-size: 15px;
  font-weight: 700;
  flex: 1;
  color: var(--text);
}

.toggle {
  position: relative;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--surface-deep);
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.25s;
}

.toggle input:checked + .toggle-track {
  background: var(--accent);
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: transform 0.25s;
  pointer-events: none;
}

.toggle input:checked ~ .toggle-thumb {
  transform: translateX(20px);
}

.day-card-times {
  display: flex;
  gap: 12px;
  padding: 0 16px 16px;
}

.time-field {
  flex: 1;
}

.time-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.time-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  background: var(--surface-alt);
  -webkit-appearance: none;
  appearance: none;
  font-variant-numeric: tabular-nums;
  color-scheme: light;
}

.time-input:focus {
  outline: none;
  border-color: var(--accent);
}

/* ── Mode toggle ──────────────────────────── */
.mode-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.mode-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  gap: 12px;
}

.mode-row + .mode-row {
  border-top: 1px solid var(--border);
}

.mode-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.mode-toggle {
  display: flex;
  background: var(--surface-alt);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.mode-btn {
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-faint);
  cursor: pointer;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.mode-btn.active {
  background: var(--accent);
  color: var(--accent-text);
}

/* ── Search overlay ───────────────────────── */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19, 19, 18, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.search-overlay.hidden {
  display: none;
}

.search-modal {
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  border-top: 1px solid var(--border-strong);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.search-header {
  display: flex;
  align-items: center;
  padding: 16px;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.search-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  color: var(--text-faint);
  pointer-events: none;
}

.search-header input {
  width: 100%;
  padding: 11px 14px 11px 36px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  font-size: 16px;
  background: var(--surface-alt);
  color: var(--text);
  outline: none;
}

.search-header input:focus {
  border-color: var(--accent);
}

.search-cancel {
  background: none;
  border: none;
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  padding: 8px;
}

.search-results {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  padding-bottom: env(safe-area-inset-bottom);
}

.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.12s;
  -webkit-tap-highlight-color: transparent;
}

.search-result:active { background: var(--surface-alt); }
.search-result + .search-result { border-top: 1px solid var(--border); }

.search-result-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.search-result-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.search-result-type {
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 2px;
}

.search-result-products {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

.search-result-product {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--surface-alt);
  color: var(--text-muted);
  font-weight: 600;
}

.search-empty {
  text-align: center;
  padding: 44px 20px;
  color: var(--text-faint);
  font-size: 14px;
}

.search-loading {
  text-align: center;
  padding: 24px;
  color: var(--text-faint);
  font-size: 14px;
}

/* ─── Via stops & product filter ──────────────────── */
.station-icon.via {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: var(--accent-muted);
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 700;
}

.via-add { opacity: 0.7; }
.via-add:hover { opacity: 1; }

.via-remove {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-faint);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
  transition: color 0.15s, background 0.15s;
}
.via-remove:hover {
  color: var(--error);
  background: var(--error-bg);
}

.product-filter {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}
.product-filter-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.product-chip {
  padding: 5px 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
  text-decoration: line-through;
  opacity: 0.6;
}
.product-chip.active {
  background: var(--accent-muted);
  border-color: var(--accent);
  color: var(--accent-dark);
  text-decoration: none;
  opacity: 1;
}

/* ─── Timetable settings ─────────────────────────── */
.timetable-url-row {
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.timetable-url-row:last-of-type { border-bottom: none; }

.timetable-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 120px;
}

.timetable-input {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
}
.timetable-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-muted);
}
.timetable-input.short { max-width: 80px; flex: 0; font-size: 16px; text-align: center; }

.timetable-hint {
  font-size: 12px;
  color: var(--text-faint);
}

.timetable-actions {
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.timetable-refresh-btn {
  padding: 8px 18px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.timetable-refresh-btn:hover { background: var(--accent-dark); }
.timetable-refresh-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.timetable-error {
  font-size: 12px;
  color: var(--error);
  flex: 1;
}
.timetable-status {
  font-size: 12px;
  color: var(--success);
  flex: 1;
}

.day-card-off {
  font-size: 12px;
  color: var(--text-faint);
}
.day-card-count {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}
.time-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

/* ─── Timetable events on dashboard ──────────────── */
.timetable-events {
  margin: 0 16px 12px;
  padding: 14px 16px;
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--border);
}
.timetable-events-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.timetable-events-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.timetable-event {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.timetable-event-time {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  min-width: 95px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.timetable-event-info { flex: 1; min-width: 0; }
.timetable-event-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}
.timetable-event-meta {
  display: flex;
  gap: 8px;
  margin-top: 2px;
  flex-wrap: wrap;
}
.timetable-event-code,
.timetable-event-room {
  font-size: 11px;
  color: var(--text-faint);
}
.timetable-event-room::before {
  content: '\1F4CD';
  margin-right: 2px;
  font-size: 10px;
}

/* ════════════════════════════════════════════════════════
   Tabs · Navigator · Liquid Glass
   ════════════════════════════════════════════════════════ */

/* View switching */
#view-dashboard.hidden,
#view-fahrplan.hidden,
#view-navigator.hidden { display: none; }
#view-navigator { padding: 16px; padding-bottom: 24px; }

/* ── Fahrplan (week overview) ─────────────────────────── */
#view-fahrplan { padding: 12px 16px 24px; }
.fahrplan-status {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  padding: 32px 0;
}
.fahrplan-days { display: flex; flex-direction: column; gap: 10px; }
.fahrplan-day {
  background: var(--surface, #fff);
  border: 1px solid rgba(31, 30, 29, 0.08);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 1px 3px rgba(31, 30, 29, 0.05);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.fahrplan-day:active { transform: scale(0.99); }
.fahrplan-day.empty { opacity: 0.55; cursor: default; }
.fahrplan-day.today { border-color: var(--accent, #c8632e); }
.fahrplan-day-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.fahrplan-day.empty .fahrplan-day-head { margin-bottom: 0; }
.fahrplan-day-name { font-weight: 700; font-size: 15px; }
.fahrplan-day-meta,
.fahrplan-day-off {
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.fahrplan-events { display: flex; flex-direction: column; gap: 6px; }
.fahrplan-event { display: flex; gap: 10px; }
.fahrplan-event-time {
  flex: 0 0 auto;
  min-width: 88px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark, #9c4a1f);
  font-variant-numeric: tabular-nums;
}
.fahrplan-event-info { flex: 1; min-width: 0; }
.fahrplan-event-name {
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fahrplan-event-room { font-size: 12px; color: var(--text-muted); }

/* Content scrolls *under* the floating glass tab bar — give it clearance. */
.app-content {
  padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + 28px);
}

/* ── Liquid Glass bottom tab bar ─────────────────────── */
.glass-svg { position: absolute; pointer-events: none; }

.tab-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(env(safe-area-inset-bottom) + 12px);
  z-index: 60;
  display: flex;
  gap: 4px;
  padding: 6px;
  border-radius: 26px;
  /* Frosted-glass base — what Safari/Firefox keep. */
  background: rgba(250, 249, 245, 0.52);
  -webkit-backdrop-filter: blur(26px) saturate(190%) brightness(1.04);
  backdrop-filter: blur(26px) saturate(190%) brightness(1.04);
  border: 1px solid rgba(255, 255, 255, 0.6);
  /* Brighter refractive rim: crisp top light, inner edge line, soft underlight. */
  box-shadow:
    0 12px 34px rgba(31, 30, 29, 0.18),
    0 3px 10px rgba(31, 30, 29, 0.10),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.32),
    inset 0 -2px 4px rgba(255, 255, 255, 0.30);
}
/* specular sheen — slowly drifting highlight for a touch of living light */
.tab-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.12) 30%, rgba(255, 255, 255, 0) 52%);
  background-size: 200% 200%;
  animation: glass-sheen 8s ease-in-out infinite alternate;
}
@keyframes glass-sheen {
  0%   { background-position: 0% 0%; }
  100% { background-position: 42% 34%; }
}

/* ── Chromium-only: actual SVG refraction lensing over the backdrop ── */
.glass-lens .tab-bar {
  background: rgba(250, 249, 245, 0.38); /* clearer so the refraction reads */
  -webkit-backdrop-filter: blur(3px) saturate(195%) brightness(1.06);
  backdrop-filter: url(#glass-displace) blur(3px) saturate(195%) brightness(1.06);
}

.tab-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 80px;
  padding: 8px 14px 7px;
  border: none;
  background: transparent;
  border-radius: 20px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  /* springy settle on release for the "liquid" press-morph */
  transition: color 0.25s, background 0.25s, box-shadow 0.25s,
    transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tab-item svg { transition: transform 0.25s; }
.tab-item:active {
  transform: scale(0.9);
  transition-duration: 0.1s;
}
.tab-item.active {
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 2px 8px rgba(31, 30, 29, 0.10),
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 -1px 2px rgba(255, 255, 255, 0.5);
}
.tab-item.active svg { transform: translateY(-1px); }

@media (prefers-reduced-motion: reduce) {
  .tab-bar::before { animation: none; }
  .tab-item { transition: color 0.25s, background 0.25s; }
}

/* ── Navigator route card ────────────────────────────── */
.nav-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 14px;
  margin-bottom: 16px;
}
.nav-points {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.nav-rail {
  width: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 0;
  flex-shrink: 0;
}
.nav-rail-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.nav-rail-dot.start { background: var(--accent); }
.nav-rail-dot.end { background: var(--text); }
.nav-rail-line {
  flex: 1;
  width: 2px;
  margin: 3px 0;
  background: repeating-linear-gradient(var(--border-strong) 0 3px, transparent 3px 7px);
}
.nav-fields { flex: 1; min-width: 0; }
.nav-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  width: 100%;
  padding: 8px 4px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-field-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-faint);
}
.nav-field-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.nav-field-value.placeholder { color: var(--text-faint); font-weight: 500; }
.nav-divider { height: 1px; background: var(--border); margin: 0 4px; }
.nav-swap {
  align-self: center;
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s, background 0.15s;
}
.nav-swap:active { transform: scale(0.9) rotate(180deg); background: var(--surface-hover); }
.nav-swap:disabled { opacity: 0.4; cursor: default; }

.nav-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.nav-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface-alt);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s, transform 0.12s;
}
.nav-chip:active { transform: scale(0.95); background: var(--surface-hover); }
.nav-chip:disabled { opacity: 0.55; cursor: default; }
.nav-chip-ico { font-size: 14px; line-height: 1; }

.nav-time {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.nav-time-modes { flex-shrink: 0; }
.nav-when-input {
  flex: 1;
  min-width: 150px;
  padding: 8px 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.nav-now-btn {
  flex-shrink: 0;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface-alt);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s, color 0.15s;
}
.nav-now-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}
.nav-hint {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  padding: 28px 20px;
}

/* ── Onboarding (first-run setup) ─────────────
   Full-screen overlay below the search overlay (z-100) so station search
   still layers on top while picking Zuhause / Hochschule. */
.onboarding {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  animation: obFade 0.3s ease;
}
.onboarding.hidden { display: none; }
@keyframes obFade { from { opacity: 0; } to { opacity: 1; } }

.ob-inner {
  flex: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: calc(env(safe-area-inset-top) + 26px) 26px calc(env(safe-area-inset-bottom) + 22px);
}

.ob-progress, .ob-progress-spacer {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  height: 8px;
  margin-bottom: 12px;
}
.ob-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-heavy);
  transition: all 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.ob-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }
.ob-dot.done { background: var(--accent); }

.ob-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.ob-welcome, .ob-finish { margin: auto 0; }

.ob-footer {
  display: flex;
  gap: 12px;
  padding-top: 20px;
  flex-shrink: 0;
}
.ob-btn {
  flex: 1;
  padding: 15px 16px;
  border-radius: 14px;
  border: none;
  font-size: 16px;
  font-weight: 650;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.1s ease, opacity 0.15s ease;
}
.ob-btn.primary { background: var(--accent); color: var(--accent-text); }
.ob-btn.ghost { flex: 0 0 auto; padding: 15px 22px; background: var(--surface-alt); color: var(--text-secondary); }
.ob-btn:active { transform: scale(0.98); }
.ob-btn:disabled { opacity: 0.4; pointer-events: none; }

/* welcome */
.ob-welcome { text-align: center; display: flex; flex-direction: column; align-items: center; }
.ob-logo {
  width: 100px;
  height: 100px;
  border-radius: 23px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.18), 0 4px 10px rgba(0,0,0,0.10);
}
.ob-wordmark {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: 54px;
  line-height: 1;
  letter-spacing: 0.3px;
  color: var(--text);
  margin-top: 26px;
}
.ob-tagline {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 12px;
}
.ob-features {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  width: 100%;
  max-width: 340px;
}
.ob-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}
.ob-feat-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface-alt);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: none;
}

/* step layout */
.ob-title { font-size: 27px; font-weight: 750; letter-spacing: -0.5px; color: var(--text); }
.ob-sub { font-size: 15px; color: var(--text-muted); line-height: 1.5; margin-top: 10px; margin-bottom: 26px; }
.ob-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.ob-field-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 24px 0 10px;
}
.ob-field-label:first-child { margin-top: 0; }
.ob-select { display: flex; flex-direction: column; gap: 10px; }
.ob-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 15px 16px;
  border-radius: 13px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.ob-option:active { transform: scale(0.995); }
.ob-option.active { border-color: var(--accent); background: var(--accent-muted); }
.ob-option.disabled { opacity: 0.6; cursor: default; font-weight: 500; color: var(--text-muted); }
.ob-option-check { color: var(--accent); font-weight: 800; opacity: 0; transition: opacity 0.15s ease; }
.ob-option.active .ob-option-check { opacity: 1; }
.ob-option-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-faint);
  background: var(--surface-alt);
  padding: 3px 9px;
  border-radius: 7px;
}

/* onboarding · searchable course picker + semester stepper */
.ob-search {
  width: 100%;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 16px;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.15s ease;
}
.ob-search:focus { outline: none; border-color: var(--accent); }
.ob-search::placeholder { color: var(--text-faint); }
.ob-course-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.ob-course-name { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.ob-course-abbr { font-size: 12px; font-weight: 700; color: var(--text-faint); flex: none; }
.ob-course-empty { font-size: 14px; color: var(--text-muted); padding: 10px 4px; }
.ob-hint { font-size: 13px; color: var(--text-muted); line-height: 1.45; margin-top: 10px; }
.ob-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 13px;
  padding: 5px;
}
.ob-step-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 9px;
  background: var(--surface-alt);
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.12s ease, transform 0.1s ease;
}
.ob-step-btn:active { transform: scale(0.94); background: var(--surface-hover); }
.ob-stepper-val {
  min-width: 56px;
  text-align: center;
  font-size: 20px;
  font-weight: 750;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

/* onboarding · full-screen picker (Hochschule / Studiengang) */
.ob-picker {
  position: fixed;
  inset: 0;
  z-index: 95;              /* above onboarding (90), below station search (100) */
  background: var(--bg);
  display: flex;
  flex-direction: column;
  animation: obFade 0.22s ease;
}
.ob-picker.hidden { display: none; }
.ob-picker-inner {
  flex: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: calc(env(safe-area-inset-top) + 18px) 22px calc(env(safe-area-inset-bottom) + 16px);
}
.ob-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ob-picker-title { font-size: 19px; font-weight: 750; letter-spacing: -0.3px; color: var(--text); }
.ob-picker-cancel {
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-dark);
  cursor: pointer;
  padding: 6px 2px;
  -webkit-tap-highlight-color: transparent;
}
.ob-picker-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  padding-bottom: 8px;
}

/* settings · restart onboarding */
.ob-restart-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.12s ease, transform 0.1s ease;
}
.ob-restart-btn:active { transform: scale(0.99); background: var(--surface-alt); }

/* finish */
.ob-finish { text-align: center; display: flex; flex-direction: column; align-items: center; }
.ob-check {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  box-shadow: 0 12px 28px rgba(47, 158, 107, 0.35);
}
.ob-finish .ob-title { margin-top: 18px; }
.ob-summary {
  margin-top: 28px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
}
.ob-summary-row { display: flex; align-items: center; gap: 14px; padding: 15px 16px; }
.ob-summary-row + .ob-summary-row { border-top: 1px solid var(--border); }
.ob-summary-ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--surface-alt);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex: none;
}
.ob-summary-label { font-size: 12px; color: var(--text-muted); }
.ob-summary-value { font-size: 15px; font-weight: 600; color: var(--text); margin-top: 1px; }

/* onboarding · dummy-notice info toggle (Stundenplan step) */
.ob-title-row { display: flex; align-items: center; gap: 8px; }
.ob-info-btn {
  background: none;
  border: none;
  padding: 2px;
  line-height: 0;
  color: var(--text-faint);
  cursor: pointer;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.15s ease;
}
.ob-info-btn svg { width: 20px; height: 20px; display: block; }
.ob-info-btn:active,
.ob-info-btn.active { color: var(--accent); }
.ob-info-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--accent-muted);
  border: 1px solid rgba(47, 158, 107, 0.20);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  animation: obFade 0.2s ease;
}
.ob-info-note b { color: var(--text); font-weight: 650; }
