/* ─────────────────────────────────────────────────────────────────────────
   CuraCare Prototype — Shared Design System v2 · Clinical Light
   M3 tokens · 4dp grid · 16dp screen margins
   ───────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ── Variables ───────────────────────────────────────────────────────────── */
:root {
  /* ── Color — Clinical Light (M3 semantic roles) ──────────────────────── */
  --cc-primary:              #1A7A8A;
  --cc-on-primary:           #FFFFFF;
  --cc-primary-container:    #D4EEF2;
  --cc-on-primary-container: #0D5C6A;
  --cc-primary-strong:       #0D5C6A;   /* small text on tinted bgs — 7.1:1 on --cc-bg */

  --cc-canvas:               #F4F6F8;   /* app canvas — sits behind white cards */
  --cc-bg:                   #F8F9FA;   /* subtle fill — chips, inputs, onboarding controls */
  --cc-surface:              #FFFFFF;   /* cards, sheets, tab bar */
  --cc-on-surface:           #0A1F24;   /* deep navy text */
  --cc-on-surface-variant:   #6C757D;   /* neutral muted gray subtext */
  --cc-outline:              #E0E0E0;   /* neutral 1px separator border */
  --cc-outline-variant:      #ECECEC;   /* light divider */
  --cc-outline-strong:       #9AA0A6;   /* AA border for inputs / disabled */
  --cc-tint:                 #EEF1F4;   /* neutral chip / hover bg */

  /* Semantic status roles */
  --cc-success:              #1E7D46;   /* single functional green (AA on white) */
  --cc-on-success:           #FFFFFF;
  --cc-success-container:    #E7F6EC;
  --cc-avail:                #27AE60;   /* vibrant availability accent (dots) */
  --cc-warning:              #92400E;
  --cc-on-warning:           #FFFFFF;
  --cc-warning-container:    #FEF3C7;
  --cc-info:                 #1E40AF;
  --cc-on-info:              #FFFFFF;
  --cc-info-container:       #DBEAFE;
  --cc-error:                #B00020;
  --cc-on-error:             #FFFFFF;
  --cc-error-container:      #FDEAEA;

  /* Avatar tint pairs — replaces 5 repeated inline pairs across 8+ screens */
  --cc-avatar-green-bg:      #E8F5E9;
  --cc-avatar-green-fg:      #1B5E20;
  --cc-avatar-amber-bg:      #FDE8BA;
  --cc-avatar-amber-fg:      #7A4500;
  --cc-avatar-violet-bg:     #F3E8FF;
  --cc-avatar-violet-fg:     #4C1D95;
  --cc-avatar-blue-bg:       #E8EAF6;
  --cc-avatar-blue-fg:       #3949AB;
  --cc-avatar-red-bg:        #FCE4EC;
  --cc-avatar-red-fg:        #C62828;

  /* ── Spacing — 4dp base grid ─────────────────────────────────────────── */
  --sp-4:  4px;
  --sp-6:  6px;
  --sp-8:  8px;
  --sp-10: 10px;
  --sp-12: 12px;   /* between-scale; use sparingly */
  --sp-16: 16px;
  --sp-20: 20px;   /* between-scale */
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-40: 40px;   /* between-scale */
  --sp-48: 48px;
  --sp-64: 64px;
  /* Note: --space-* aliases removed (had 0 usages across 40 HTML files).
     The --sp-* scale is the canonical spacing tier. */

  /* ── Shape (M3 radius) ───────────────────────────────────────────────── */
  --r-xs:    4px;
  --r-badge: 6px;   /* structured badges/status pills */
  --r-sm:    8px;   /* buttons, chips, slots */
  --r-md:    12px;  /* primary CTAs, search, cards (min) */
  --r-lg:    16px;  /* cards (max), sheets */
  --r-xl:    28px;  /* reserved — hero/FAB only */
  --r-full:  9999px;

  /* ── Typography — M3 type scale ──────────────────────────────────────── */
  --t-hl-lg:   34px; --t-hl-lg-lh:   42px; --t-hl-lg-ls:   0px;
  --t-hl-md:   28px; --t-hl-md-lh:   36px; --t-hl-md-ls:   0px;
  --t-hl-sm:   24px; --t-hl-sm-lh:   30px; --t-hl-sm-ls:   0px;
  --t-ttl-lg:  22px; --t-ttl-lg-lh:  28px; --t-ttl-lg-ls:  0px;
  --t-ttl-md:  16px; --t-ttl-md-lh:  24px; --t-ttl-md-ls:  0.15px;
  --t-ttl-sm:  14px; --t-ttl-sm-lh:  20px; --t-ttl-sm-ls:  0.1px;
  --t-body-lg: 16px; --t-body-lg-lh: 24px; --t-body-lg-ls: 0.5px;
  --t-body-md: 14px; --t-body-md-lh: 20px; --t-body-md-ls: 0.25px;
  --t-body-sm: 12px; --t-body-sm-lh: 16px; --t-body-sm-ls: 0.4px;
  --t-lbl-lg:  14px; --t-lbl-lg-lh:  20px; --t-lbl-lg-ls:  0.1px;
  --t-lbl-md:  12px; --t-lbl-md-lh:  16px; --t-lbl-md-ls:  0.5px;
  --t-lbl-sm:  11px; --t-lbl-sm-lh:  16px; --t-lbl-sm-ls:  0.5px;

  /* White alpha (dark-surface use only) */
  --w:    #ffffff;
  --w-80: rgba(255,255,255,0.80);
  --w-70: rgba(255,255,255,0.70);
  --w-45: rgba(255,255,255,0.45);
  --w-20: rgba(255,255,255,0.20);
  --w-12: rgba(255,255,255,0.12);
  --w-08: rgba(255,255,255,0.08);

  /* Safe area */
  --safe-top:    env(safe-area-inset-top,    44px);
  --safe-bottom: env(safe-area-inset-bottom, 34px);
}

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

/* ── A11y baselines ──────────────────────────────────────────────────────── */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--cc-primary);
  outline-offset: 2px;
  border-radius: inherit;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html, body {
  height: 100%;
  font-family: 'Inter', sans-serif;
  background: #182428;   /* dark surround for phone shell on desktop */
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Phone shell ─────────────────────────────────────────────────────────── */
.phone-shell {
  position: relative;
  width: 390px;
  height: 844px;
  border-radius: 48px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.07),
    0 32px 80px rgba(0,0,0,0.55),
    0 8px 24px rgba(0,0,0,0.28);
  flex-shrink: 0;
}

@media (max-width: 430px) {
  html, body { background: var(--cc-bg); }
  .phone-shell { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
}

/* ── Screen ──────────────────────────────────────────────────────────────── */
.screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--cc-canvas);
  position: relative;
  overflow: hidden;
}

/* ── Status bar ──────────────────────────────────────────────────────────── */
.status-bar {
  width: 100%;
  height: 54px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 var(--sp-16) 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  color: var(--cc-on-surface);   /* dark text — all screens are light */
}

.status-time {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: var(--t-lbl-lg-ls);
}

.status-icons { display: flex; align-items: center; gap: 6px; }

/* ── Progress dots ───────────────────────────────────────────────────────── */
.progress-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.progress-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cc-outline);
  transition: width 0.25s ease, background 0.25s ease;
}

.progress-dot.active {
  width: 20px;
  border-radius: 3px;
  background: var(--cc-primary);
}

/* ── Screen body — scrollable content region ─────────────────────────────── */
/*
 *  flex: 1 fills the remaining height between status-bar and cta-zone.
 *  overflow-y: auto lets content scroll instead of being clipped or needing
 *  a padding-bottom hack to clear an absolutely-positioned button.
 *
 *  Screens with short centered content (splash, confirmations) should add
 *  justify-content: center as an inline style on the element.
 */
.screen-body {
  flex: 1;
  min-height: 0;         /* ← allows the element to shrink below its content
                              height so overflow-y: auto actually kicks in     */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--sp-16) var(--sp-24);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 1;
  /* Custom scrollbar — hide track, keep functionality */
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge */
}
.screen-body::-webkit-scrollbar { display: none; } /* Chrome/Safari */

/* ── CTA zone — sticky action bar ────────────────────────────────────────── */
/*
 *  Lives at the bottom of the flex column — NOT absolutely positioned.
 *  Content above scrolls freely; this bar never overlaps it.
 *  padding-bottom accounts for the home indicator + safe area.
 */
.cta-zone {
  flex-shrink: 0;
  width: 100%;
  padding: var(--sp-12) var(--sp-16) calc(var(--safe-bottom) + var(--sp-16));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
  /* Subtle top separator — makes the bar feel anchored */
  box-shadow: 0 -1px 0 var(--cc-outline-variant);
  position: relative;
  z-index: 2;
}

/* Secondary ghost link — now sits inside .cta-zone as a normal child */
.cta-secondary {
  text-align: center;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: var(--t-body-md);
  font-weight: 400;
  line-height: var(--t-body-md-lh);
  letter-spacing: var(--t-body-md-ls);
  color: var(--cc-on-surface-variant);
  cursor: pointer;
  padding: var(--sp-4) 0;
  text-decoration: none;
  display: block;
}

/* ── Primary button ──────────────────────────────────────────────────────── */
.btn-primary {
  width: 100%;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--cc-primary);
  color: var(--w);
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: var(--t-body-lg);
  font-weight: 600;
  line-height: var(--t-body-lg-lh);
  letter-spacing: var(--t-lbl-lg-ls);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  box-shadow: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary:hover  {
  background: #167080;
}
.btn-primary:active { opacity: 0.9; }

/* Disabled state — used before user completes required input */
.btn-primary.disabled,
.btn-primary[aria-disabled="true"] {
  background: var(--cc-outline-strong);   /* darker bg so the text passes AA */
  color: var(--cc-on-surface);             /* 4.6:1 on #9CC4CC */
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

/* ── Ghost / secondary text link ─────────────────────────────────────────── */
.btn-ghost {
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: var(--t-body-md);
  font-weight: 400;
  line-height: var(--t-body-md-lh);
  letter-spacing: var(--t-body-md-ls);
  color: var(--cc-on-surface-variant);
  cursor: pointer;
  padding: var(--sp-4) 0;
  text-decoration: none;
  display: block;
  text-align: center;
}
.btn-ghost strong { color: var(--cc-primary); font-weight: 600; }
.btn-ghost:hover strong { text-decoration: underline; text-underline-offset: 2px; }

/* ── Home indicator ──────────────────────────────────────────────────────── */
.home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 134px;
  height: 5px;
  border-radius: 3px;
  background: rgba(0,0,0,0.14);
  z-index: 3;
  pointer-events: none;
}

/* ── Back button ─────────────────────────────────────────────────────────── */
/*
 *  Screens that go  status-bar → back-btn → screen-body (no q-progress
 *  between them) need extra padding-top so the heading clears the absolute
 *  back arrow.  back-btn bottom = top(60) + height(36) = 96px from screen
 *  top.  status-bar is 54px, so we need padding-top ≥ 96 − 54 + 10 = 52px.
 *  Screens with q-progress in between are unaffected because the selector
 *  only matches a DIRECT adjacent sibling.
 */
.back-btn + .screen-body {
  padding-top: 52px !important;
}

.back-btn {
  position: absolute;
  top: 60px;
  left: var(--sp-16);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.05);
  border: 1px solid var(--cc-outline);
  color: var(--cc-on-surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.15s ease;
  text-decoration: none;
}
.back-btn:hover { background: rgba(0,0,0,0.09); }

/* ── Language switcher ────────────────────────────────────────────────────── */
.lang-switcher {
  position: absolute;
  top: 60px;
  right: var(--sp-16);
  z-index: 20;
}
.lang-switcher > summary { list-style: none; }
.lang-switcher > summary::-webkit-details-marker { display: none; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.50);
  border-radius: var(--r-full);
  color: var(--cc-on-surface);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px var(--cc-outline), 0 1px 4px rgba(0,0,0,0.05);
  transition: background 0.15s, box-shadow 0.15s;
  user-select: none;
  white-space: nowrap;
}
.lang-btn:hover,
.lang-switcher[open] .lang-btn {
  background: rgba(255,255,255,0.30);
  box-shadow: 0 0 0 1.5px var(--cc-primary), 0 2px 8px rgba(26,122,138,0.12);
}

.lang-chevron {
  flex-shrink: 0;
  opacity: 0.65;
  transition: transform 0.2s ease;
}
.lang-switcher[open] .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 130px;
  background: var(--cc-surface);
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.06);
  animation: langSlideIn 0.14s ease;
}

@keyframes langSlideIn {
  from { opacity: 0; transform: translateY(-4px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.lang-option {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 9px 12px;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--cc-on-surface-variant);
  cursor: pointer;
  text-align: left;
  letter-spacing: 0.2px;
  transition: background 0.1s, color 0.1s;
}
.lang-option + .lang-option { border-top: 1px solid var(--cc-outline-variant); }
.lang-option:hover { background: var(--cc-tint); color: var(--cc-on-surface); }
.lang-option.active { color: var(--cc-primary); font-weight: 600; }
.lang-check { margin-left: auto; font-size: 10px; opacity: 0; }
.lang-option.active .lang-check { opacity: 1; }

/* ── Questionnaire progress bar ──────────────────────────────────────────── */
.q-progress {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  width: 100%;
  /* left padding = back-btn left(16) + btn width(36) + gap(8) = 60px
     so "Frage X von 8" label starts clear of the back arrow             */
  padding: 0 var(--sp-16) 0 60px;
  flex-shrink: 0;
  margin-top: var(--sp-8);
}
.q-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--cc-on-surface-variant);
  font-weight: 500;
  letter-spacing: 0.3px;
}
.q-progress-track {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--cc-outline-variant);
  overflow: hidden;
}
.q-progress-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--cc-primary);
  transition: width 0.3s ease;
}

/* ── Insurance card selection ────────────────────────────────────────────── */
.insurance-options {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
  width: 100%;
}
.insurance-card {
  width: 100%;
  background: var(--cc-bg);
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-md);
  padding: var(--sp-20) var(--sp-16);
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  text-decoration: none;
}
.insurance-card:hover {
  background: var(--cc-tint);
}
.insurance-card.selected {
  background: var(--cc-tint);
  box-shadow: 0 0 0 3px rgba(26,122,138,0.14);
}
.ins-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--cc-primary-container);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.ins-info { flex: 1; }
.ins-title {
  font-size: var(--t-ttl-lg);
  font-weight: 600;
  color: var(--cc-on-surface);
  line-height: var(--t-ttl-lg-lh);
}
.ins-sub {
  font-size: 12px;
  color: var(--cc-on-surface-variant);
  margin-top: 2px;
  line-height: 16px;
}
.ins-radio {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--cc-outline);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}
.insurance-card.selected .ins-radio {
  border-color: var(--cc-primary);
  background: var(--cc-primary);
}
.insurance-card.selected .ins-radio::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: white;
}

/* ── Krankenkasse list ───────────────────────────────────────────────────── */
.kk-list {
  width: 100%;
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.kk-item {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-16);
  background: var(--cc-bg);
  cursor: pointer;
  transition: background 0.12s;
  border: none;
  width: 100%;
  text-align: left;
  text-decoration: none;
}
.kk-item + .kk-item { border-top: 1px solid var(--cc-outline-variant); }
.kk-item:hover { background: var(--cc-tint); }
.kk-item.selected { background: var(--cc-tint); }
.kk-logo {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--cc-primary-container);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--cc-on-primary-container);
  flex-shrink: 0;
}
.kk-name {
  flex: 1;
  font-size: var(--t-body-md);
  font-weight: 500;
  color: var(--cc-on-surface);
}
.kk-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--cc-outline);
  flex-shrink: 0;
}
.kk-item.selected .kk-check {
  background: var(--cc-primary);
  border-color: var(--cc-primary);
}

/* ── Success / confirmation ──────────────────────────────────────────────── */
.success-ring {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--cc-primary-container);
  border: 1px solid var(--cc-outline);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 16px rgba(26,122,138,0.06), 0 0 0 32px rgba(26,122,138,0.03);
}

/* ── Doctor list (full screen) ───────────────────────────────────────────── */
.doc-list { display: flex; flex-direction: column; gap: var(--sp-12); }

.doc-list-card {
  background: var(--cc-surface);
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-md);
  padding: var(--sp-16);
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
  box-shadow: none;
  text-decoration: none;
}

.dlc-row { display: flex; align-items: flex-start; gap: var(--sp-12); }

.dlc-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--cc-primary-container);
  color: var(--cc-on-primary-container);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}

.dlc-info { flex: 1; min-width: 0; }
.dlc-name { font-size: 15px; font-weight: 600; color: var(--cc-on-surface); line-height: 20px; }
.dlc-spec { font-size: 12px; color: var(--cc-on-surface-variant); margin-top: 2px; }
.dlc-practice { font-size: 12px; color: var(--cc-on-surface-variant); margin-top: 1px; }

.dlc-badges { display: flex; gap: var(--sp-6); flex-wrap: wrap; align-items: center; }
.dlc-badge {
  display: inline-flex; align-items: center;
  padding: 3px 7px;
  border-radius: var(--r-badge);
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.dlc-badge.avail { background: var(--cc-success-container); color: var(--cc-success); }
.dlc-badge.privat { background: #FDE8BA; color: #7A4500; }
.dlc-badge.slot { background: var(--cc-tint); color: var(--cc-on-surface-variant); }

.dlc-stars { font-size: 12px; color: var(--cc-on-surface-variant); }
.dlc-stars strong { color: var(--cc-on-surface); }

.dlc-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--sp-8) var(--sp-12); }
.dlc-footer > div:first-child { flex: 1 0 100%; white-space: nowrap; }   /* rating on its own line — never wraps "km" */
.dlc-reviews {
  font-size: 11px; color: var(--cc-primary);
  text-decoration: none; display: flex; align-items: center; gap: 3px;
}
.dlc-reviews:hover { text-decoration: underline; }
.dlc-btn {
  height: 34px; padding: 0 var(--sp-16);
  background: var(--cc-primary);
  color: white;
  border: none; border-radius: var(--r-sm);
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  display: flex; align-items: center;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.dlc-btn:hover { opacity: 0.88; }

/* ── Bottom sheet ────────────────────────────────────────────────────────── */
.bottom-sheet {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--cc-surface);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  border-top: 1px solid var(--cc-outline);
  padding: var(--sp-20) var(--sp-16) calc(var(--safe-bottom) + var(--sp-16));
  z-index: 10;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
}
.bs-handle {
  width: 36px; height: 4px;
  border-radius: 2px;
  background: var(--cc-outline);
  margin: 0 auto var(--sp-4);
}
.bs-close {
  position: absolute;
  top: var(--sp-16);
  right: var(--sp-16);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cc-tint);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--cc-on-surface-variant);
  font-size: 16px;
  transition: background 0.15s;
  text-decoration: none;
}
.bs-close:hover { background: var(--cc-outline); }

/* ── Symptom chips (multi-select) ────────────────────────────────────────── */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
}
.symptom-chip {
  padding: 7px var(--sp-12);
  border-radius: var(--r-sm);
  border: 1px solid var(--cc-outline);
  background: var(--cc-bg);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--cc-on-surface-variant);
  cursor: pointer;
  transition: all 0.12s;
}
.symptom-chip:hover { border-color: var(--cc-primary); color: var(--cc-on-surface); }
.symptom-chip.selected {
  background: var(--cc-tint);
  color: var(--cc-primary);
  font-weight: 600;
  box-shadow: inset 0 0 0 1.5px var(--cc-primary);
}

/* ── Option rows (single-select lists) ───────────────────────────────────── */
.option-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  width: 100%;
}
.option-row {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-16);
  background: var(--cc-bg);
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.12s;
  text-decoration: none;
  width: 100%;
  font-family: 'Inter', sans-serif;
}
.option-row:hover { background: var(--cc-tint); box-shadow: inset 0 0 0 1.5px var(--cc-primary); }
.option-row.selected { background: var(--cc-tint); box-shadow: inset 0 0 0 1.5px var(--cc-primary); }
.option-label {
  flex: 1;
  font-size: var(--t-body-md);
  font-weight: 500;
  color: var(--cc-on-surface);
  text-align: left;
}
.option-radio {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--cc-outline);
  flex-shrink: 0;
  transition: all 0.12s;
}
.option-row.selected .option-radio {
  border-color: var(--cc-primary);
  background: var(--cc-primary);
  box-shadow: inset 0 0 0 3px white;
}

/* ── Yes / No cards ──────────────────────────────────────────────────────── */
.yesno-cards {
  display: flex;
  gap: var(--sp-12);
  width: 100%;
}
.yesno-card {
  flex: 1;
  padding: var(--sp-20) var(--sp-16);
  background: var(--cc-bg);
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
  cursor: pointer;
  transition: all 0.12s;
  text-decoration: none;
}
.yesno-card:hover { background: var(--cc-tint); box-shadow: inset 0 0 0 1.5px var(--cc-primary); }
.yesno-card.selected { background: var(--cc-tint); box-shadow: inset 0 0 0 1.5px var(--cc-primary); }
.yesno-emoji { font-size: 28px; line-height: 1; }
.yesno-label {
  font-size: var(--t-lbl-lg);
  font-weight: 600;
  color: var(--cc-on-surface);
}

/* ── Severity scale ──────────────────────────────────────────────────────── */
.severity-scale {
  display: flex;
  gap: var(--sp-8);
  width: 100%;
}
.sev-btn {
  flex: 1;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  border: 1px solid var(--cc-outline);
  background: var(--cc-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.12s;
  font-family: 'Inter', sans-serif;
}
.sev-btn:hover { background: var(--cc-tint); }
.sev-btn.selected { background: var(--cc-tint); box-shadow: inset 0 0 0 2px var(--cc-primary); }
.sev-num { font-size: 18px; font-weight: 700; color: var(--cc-on-surface); }
.sev-emoji { font-size: 20px; line-height: 1; }
.sev-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.sev-label { font-size: 11px; color: var(--cc-on-surface-variant); letter-spacing: 0.2px; }

/* ── Body part selector ──────────────────────────────────────────────────── */
.body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  width: 100%;
}
.body-btn {
  padding: var(--sp-16) var(--sp-12);
  background: var(--cc-bg);
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  cursor: pointer;
  transition: all 0.12s;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
}
.body-btn:hover { background: var(--cc-tint); }
.body-btn.selected { background: var(--cc-tint); box-shadow: inset 0 0 0 1.5px var(--cc-primary); }
.body-icon { font-size: 20px; line-height: 1; flex-shrink: 0; }
.body-label { font-size: 13px; font-weight: 500; color: var(--cc-on-surface); }

/* ── Location bullets ────────────────────────────────────────────────────── */
.loc-bullets {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
  width: 100%;
}
.loc-bullet {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-12);
}
.loc-bullet-icon {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  background: var(--cc-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.loc-bullet-text {
  font-size: var(--t-body-md);
  color: var(--cc-on-surface-variant);
  line-height: var(--t-body-md-lh);
  letter-spacing: var(--t-body-md-ls);
  padding-top: 6px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   APP SCREENS (post-auth)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Bottom tab bar ──────────────────────────────────────────────────────── */
.tab-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--cc-surface);
  border-top: 1px solid var(--cc-outline);
  display: flex;
  align-items: flex-start;
  padding: var(--sp-8) 0 calc(var(--safe-bottom) + var(--sp-4));
  z-index: 10;
}

.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
  cursor: pointer;
  text-decoration: none;
  color: var(--cc-on-surface-variant);
  transition: color 0.15s ease;
}
.tab-item svg { width: 24px; height: 24px; }
.tab-item.active { color: var(--cc-primary); }
.tab-item:hover  { color: var(--cc-primary); }

.tab-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 12px;
}

/* ── App body (scrollable content above tab bar) ─────────────────────────── */
.app-body {
  flex: 1;
  min-height: 0;         /* ← same fix as .screen-body — flex child must be
                              allowed to shrink below content height so
                              overflow-y: auto actually activates             */
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: var(--sp-16) var(--sp-16) 88px;  /* 88px clears tab bar */
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-24);
}
.app-body::-webkit-scrollbar { display: none; }

/* ── Section header ──────────────────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.section-title {
  font-size: var(--t-ttl-lg);
  font-weight: 600;
  line-height: var(--t-ttl-lg-lh);
  color: var(--cc-on-surface);
}
.section-link {
  font-size: var(--t-body-md);
  color: var(--cc-primary);
  font-weight: 500;
  text-decoration: none;
}
.section-link:hover { text-decoration: underline; }

/* ── App header (greeting row) ───────────────────────────────────────────── */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) 0;
}
.greeting-eyebrow {
  font-size: var(--t-lbl-md);
  color: var(--cc-on-surface-variant);
  letter-spacing: var(--t-lbl-md-ls);
  margin-bottom: 2px;
}
.greeting-name {
  font-size: var(--t-ttl-lg);
  font-weight: 700;
  color: var(--cc-on-surface);
}
.header-actions { display: flex; align-items: center; gap: var(--sp-8); }

.icon-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cc-bg);
  border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--cc-on-surface-variant);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease;
}
.icon-btn:hover { background: var(--cc-tint); }

.user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cc-primary);
  color: var(--w);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
  cursor: pointer;
}

/* ── Appointment card (teal hero card) ───────────────────────────────────── */
.appt-card {
  background: var(--cc-primary);
  border-radius: var(--r-lg);
  padding: var(--sp-20);
  color: var(--w);
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
  box-shadow: none;
}
.appt-doctor-row {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
}
.appt-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  flex-shrink: 0;
}
.appt-name { font-size: 16px; font-weight: 700; line-height: 20px; }
.appt-spec { font-size: 13px; opacity: 0.75; margin-top: 2px; }
.appt-meta {
  display: flex; align-items: center; gap: var(--sp-12);
  font-size: 13px; opacity: 0.85;
}
.appt-divider { height: 1px; background: rgba(255,255,255,0.18); }
.appt-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.appt-btn-ghost {
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.70);
  background: none; border: none; cursor: pointer;
  text-decoration: none; padding: 0;
}
.appt-btn-ghost:hover { color: var(--w); }
.appt-btn-join {
  height: 36px; padding: 0 var(--sp-20);
  background: var(--w);
  color: var(--cc-primary);
  border: none; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  display: flex; align-items: center; gap: var(--sp-4);
  transition: opacity 0.15s ease;
}
.appt-btn-join:hover { opacity: 0.90; }

/* ── Quick action tiles ──────────────────────────────────────────────────── */
.quick-actions { display: flex; gap: var(--sp-8); }
.quick-action {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: var(--sp-8); padding: var(--sp-16) var(--sp-8);
  background: var(--cc-surface);
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-md);
  cursor: pointer; text-decoration: none;
  transition: background 0.15s ease;
}
.quick-action:hover { background: var(--cc-tint); }
.quick-action-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--cc-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.quick-action-label { font-size: 12px; font-weight: 500; color: var(--cc-on-surface); letter-spacing: 0.2px; }

/* ── Doctor card (horizontal scroll, compact) ────────────────────────────── */
.doctors-track {
  display: flex; gap: var(--sp-12);
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin: 0 calc(-1 * var(--sp-16));
  padding: var(--sp-4) var(--sp-16) var(--sp-8);
  scrollbar-width: none;
}
.doctors-track::-webkit-scrollbar { display: none; }

.dc-card {
  min-width: 148px; scroll-snap-align: start;
  background: var(--cc-surface);
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-md);
  padding: var(--sp-16) var(--sp-12);
  display: flex; flex-direction: column; gap: var(--sp-8);
  flex-shrink: 0;
}
.dc-card:last-child { margin-right: var(--sp-16); }
.dc-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cc-primary-container);
  color: var(--cc-on-primary-container);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.dc-name  { font-size: 13px; font-weight: 600; color: var(--cc-on-surface); line-height: 16px; }
.dc-spec  { font-size: 11px; color: var(--cc-on-surface-variant); }
.dc-stars { font-size: 11px; color: #A86B00; }
.dc-slot  {
  display: inline-flex; align-items: center;
  padding: 3px 7px; background: var(--cc-success-container);
  border-radius: var(--r-badge);
  font-size: 10px; font-weight: 600; color: var(--cc-success);
  text-transform: uppercase; letter-spacing: 0.05em;
}

/* ── Search screen ───────────────────────────────────────────────────────── */
.search-bar {
  height: 48px;
  background: var(--cc-bg);
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-md);
  display: flex; align-items: center;
  gap: var(--sp-12); padding: 0 var(--sp-16);
  color: var(--cc-on-surface-variant);
  font-family: 'Inter', sans-serif;
  font-size: var(--t-body-md);
  transition: border-color 0.15s ease;
}
.search-bar:focus-within { border-color: var(--cc-primary); }
.search-bar input {
  flex: 1; border: none; outline: none;
  font-family: 'Inter', sans-serif;
  font-size: var(--t-body-md); color: var(--cc-on-surface);
  background: transparent;
}
.search-bar input::placeholder { color: var(--cc-on-surface-variant); }

.filter-track {
  display: flex; gap: var(--sp-8);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 0 calc(-1 * var(--sp-16));
  padding: var(--sp-4) var(--sp-16);
  scrollbar-width: none;
}
.filter-track::-webkit-scrollbar { display: none; }

.filter-chip {
  display: inline-flex; align-items: center;
  height: 32px; padding: 0 var(--sp-16);
  background: var(--cc-bg);
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-sm);
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500;
  color: var(--cc-on-surface-variant);
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: all 0.15s ease;
}
.filter-chip:hover       { background: var(--cc-tint); color: var(--cc-on-surface); border-color: var(--cc-outline-strong); }
.filter-chip.active      { background: var(--cc-primary); color: var(--w); border-color: var(--cc-primary); }

.result-count {
  font-size: var(--t-lbl-md);
  color: var(--cc-on-surface-variant);
  letter-spacing: var(--t-lbl-md-ls);
  font-weight: 500;
}

.sdc-card {
  background: var(--cc-surface);
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-md);
  padding: var(--sp-16);
  display: flex; align-items: center; gap: var(--sp-16);
  box-shadow: none;
}
.sdc-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--cc-primary-container);
  color: var(--cc-on-primary-container);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; flex-shrink: 0;
}
.sdc-info { flex: 1; min-width: 0; }
.sdc-name { font-size: 14px; font-weight: 600; color: var(--cc-on-surface); line-height: 18px; }
.sdc-spec { font-size: 12px; color: var(--cc-on-surface-variant); margin-top: 1px; }
.sdc-meta { font-size: 11px; color: var(--cc-on-surface-variant); margin-top: 4px; line-height: 15px; }
.sdc-stars { color: #A86B00; }
.sdc-avail { color: var(--cc-success); font-weight: 600; }
.sdc-book {
  height: 34px; padding: 0 var(--sp-16);
  background: var(--cc-primary); color: var(--w);
  border: none; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600; cursor: pointer;
  text-decoration: none; display: flex; align-items: center;
  flex-shrink: 0; transition: opacity 0.15s ease;
}
.sdc-book:hover { opacity: 0.88; }

/* ── M3 Search Bar (Filled, no border) ───────────────────────────────────── */
.m3-search {
  width: 100%;
  height: 56px;
  background: var(--cc-bg);
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: 0 var(--sp-20);
  transition: background 0.15s;
}
.m3-search:focus-within { border-color: var(--cc-primary); }
.m3-search-icon { color: var(--cc-on-surface-variant); flex-shrink: 0; }
.m3-search input {
  flex: 1; border: none; outline: none;
  font-family: 'Inter', sans-serif;
  font-size: var(--t-body-md);
  color: var(--cc-on-surface);
  background: transparent;
  letter-spacing: var(--t-body-md-ls);
}
.m3-search input::placeholder { color: var(--cc-on-surface-variant); }
.m3-search-trail { color: var(--cc-on-surface-variant); cursor: pointer; flex-shrink: 0; }
.m3-search-trail:hover { color: var(--cc-on-surface); }

/* ── Extended FAB ────────────────────────────────────────────────────────── */
.fab-extended {
  position: absolute;
  bottom: calc(56px + var(--safe-bottom) + 12px);
  left: 50%;
  transform: translateX(-50%);
  height: 56px;
  padding: 0 var(--sp-24);
  background: var(--cc-primary);
  color: var(--w);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-12);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(26,122,138,0.40);
  text-decoration: none;
  z-index: 5;
  transition: box-shadow 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}
.fab-extended:hover {
  box-shadow: 0 6px 28px rgba(26,122,138,0.50);
}
.fab-extended svg { flex-shrink: 0; }

/* ── Inline calendar (M3-style) ──────────────────────────────────────────── */
.cc-cal {
  width: 100%;
  background: var(--cc-surface);
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-md);
  padding: var(--sp-16);
  box-shadow: none;
}
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
}
/* Month/year switch — label + caret on the left (M3 docked date picker) */
.cal-month-btn {
  display: inline-flex; align-items: center; gap: var(--sp-4);
  padding: 6px 8px;
  background: none; border: none; cursor: pointer;
  border-radius: var(--r-sm);
  font-family: 'Inter', sans-serif;
  transition: background 0.12s;
}
.cal-month-btn:hover { background: var(--cc-tint); }
.cal-month-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--cc-on-surface);
  letter-spacing: 0.1px;
}
.cal-month-btn svg { color: var(--cc-on-surface-variant); flex-shrink: 0; }
/* Prev / next — grouped borderless icon buttons on the right */
.cal-nav-group { display: flex; align-items: center; }
.cal-nav {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--cc-on-surface-variant);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.12s, color 0.12s;
  font-family: 'Inter', sans-serif;
}
.cal-nav:hover { background: var(--cc-tint); color: var(--cc-on-surface); }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-weekday {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--cc-on-surface-variant);
  padding-bottom: var(--sp-8);
  padding-top: 2px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--cc-on-surface);
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
  padding: 0;
}
.cal-day.empty { cursor: default; }
.cal-day.today { box-shadow: inset 0 0 0 1px var(--cc-primary); color: var(--cc-primary); font-weight: 600; }
.cal-day.avail:hover { background: var(--cc-tint); }
.cal-day.selected { background: var(--cc-primary) !important; color: var(--w) !important; box-shadow: none !important; font-weight: 600; }
.cal-day.unavail { color: var(--cc-outline-strong); cursor: not-allowed; }

/* ── Horizontal date strip (booking date selector) ───────────────────────── */
.date-strip {
  display: flex;
  gap: var(--sp-8);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 calc(-1 * var(--sp-16));
  padding: var(--sp-4) var(--sp-16) var(--sp-8);
}
.date-strip::-webkit-scrollbar { display: none; }
.date-chip {
  flex: 0 0 auto;
  width: 58px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: var(--sp-12) 0 var(--sp-8);
  background: var(--cc-surface);
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-md);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.12s, background 0.12s;
}
.date-chip:hover:not(.unavail):not(.selected) { border-color: var(--cc-outline-strong); }
.date-chip-dow {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--cc-on-surface-variant);
}
.date-chip-num { font-size: 18px; font-weight: 700; color: var(--cc-on-surface); line-height: 1; }
.date-chip-mon {
  font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--cc-on-surface-variant);
}
.date-chip-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cc-avail); margin-top: 1px; }
.date-chip.today:not(.selected) .date-chip-num { color: var(--cc-primary); }
.date-chip.selected {
  background: var(--cc-primary);
  border-color: var(--cc-primary);
}
.date-chip.selected .date-chip-dow,
.date-chip.selected .date-chip-num,
.date-chip.selected .date-chip-mon { color: var(--w); }
.date-chip.selected .date-chip-dot { background: var(--w); }
.date-chip.unavail { opacity: 0.45; cursor: not-allowed; }
.date-chip.unavail .date-chip-dot { display: none; }

/* ── Timeslot grid ───────────────────────────────────────────────────────── */
.slot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
  width: 100%;
}
.slot-btn {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--cc-outline);
  background: var(--cc-bg);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--cc-on-surface);
  cursor: pointer;
  transition: all 0.12s;
}
.slot-btn:hover:not(.unavail) { border-color: var(--cc-primary); color: var(--cc-primary); background: var(--cc-tint); }
.slot-btn.selected { background: var(--cc-primary); color: var(--w); border-color: var(--cc-primary); }
.slot-btn.unavail { color: var(--cc-outline-strong); background: var(--cc-tint); border-color: transparent; cursor: not-allowed; text-decoration: line-through; }

/* ── Diagnosis attachment options ────────────────────────────────────────── */
.diag-reveal {
  display: none;
  flex-direction: column;
  gap: var(--sp-12);
  width: 100%;
  animation: fadeSlideIn 0.22s ease;
}
.diag-reveal.visible { display: flex; }
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.diag-option {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-12);
  padding: var(--sp-16);
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-md);
  background: var(--cc-bg);
  cursor: pointer;
  transition: all 0.12s;
  text-align: left;
  font-family: 'Inter', sans-serif;
}
.diag-option:hover { background: var(--cc-tint); }
.diag-option.selected { background: var(--cc-tint); box-shadow: inset 0 0 0 1.5px var(--cc-primary); }
.diag-option-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: var(--cc-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.diag-option.selected .diag-option-icon { background: var(--cc-primary-container); }
.diag-option-info { flex: 1; }
.diag-option-title { font-size: 14px; font-weight: 600; color: var(--cc-on-surface); line-height: 18px; }
.diag-option-sub { font-size: 12px; color: var(--cc-on-surface-variant); margin-top: 2px; line-height: 16px; }
.diag-option-price { font-size: 13px; font-weight: 700; color: var(--cc-primary); margin-top: 4px; }

/* ── Doctor compact header (booking screen) ──────────────────────────────── */
.doc-compact {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-16);
  background: var(--cc-primary);
  border-radius: var(--r-lg);
  color: white;
}
.doc-compact-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.20);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.doc-compact-name { font-size: 15px; font-weight: 700; line-height: 19px; }
.doc-compact-sub { font-size: 12px; opacity: 0.75; margin-top: 2px; }
.doc-compact-badge {
  margin-left: auto; flex-shrink: 0;
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 4px 9px;
  border-radius: var(--r-badge);
  background: rgba(255,255,255,0.18);
  color: white;
}

/* ── Appointments & requests list cards ──────────────────────────────────── */
.appt-list-card {
  background: var(--cc-surface);
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: none;
}
.alc-header {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-16);
}
.alc-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cc-primary-container);
  color: var(--cc-on-primary-container);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.alc-info { flex: 1; min-width: 0; }
.alc-doctor { font-size: 14px; font-weight: 600; color: var(--cc-on-surface); line-height: 18px; }
.alc-spec   { font-size: 12px; color: var(--cc-on-surface-variant); margin-top: 1px; }
.alc-status {
  display: inline-flex; align-items: center;
  padding: 3px 8px;
  border-radius: var(--r-badge);
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  flex-shrink: 0;
}
.alc-status.confirmed { background: var(--cc-success-container); color: var(--cc-success); }
.alc-status.pending   { background: var(--cc-warning-container); color: var(--cc-warning); }
.alc-status.open      { background: var(--cc-info-container);    color: var(--cc-info); }
.alc-status.answered  { background: var(--cc-success-container); color: var(--cc-success); }
.alc-status.done      { background: var(--cc-tint); color: var(--cc-on-surface-variant); }
.alc-divider { height: 1px; background: var(--cc-outline-variant); }
.alc-body {
  padding: var(--sp-12) var(--sp-16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-12);
}
.alc-meta { font-size: 12px; color: var(--cc-on-surface-variant); line-height: 16px; }
.alc-meta strong { color: var(--cc-on-surface); display: block; font-size: 13px; margin-bottom: 2px; }
.alc-action {
  font-size: 12px; font-weight: 600;
  color: var(--cc-on-primary-container);
  text-decoration: none;
  flex-shrink: 0;
  padding: 7px 14px;
  background: var(--cc-primary-container);
  border: none;
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: all 0.12s;
}
.alc-action:hover { background: #C2E6EC; }
.alc-answer-block {
  padding: var(--sp-12) var(--sp-16);
  background: var(--cc-tint);
  border-top: 1px solid var(--cc-outline-variant);
}
.alc-answer-label { font-size: 11px; font-weight: 600; color: var(--cc-primary); margin-bottom: 4px; letter-spacing: 0.3px; }
.alc-answer-text { font-size: 13px; color: var(--cc-on-surface); line-height: 18px; }

/* ── Profile sections ────────────────────────────────────────────────────── */
.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-24) var(--sp-16) var(--sp-16);
}
.profile-avatar-lg {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--cc-primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(26,122,138,0.30);
}
.profile-name { font-size: 20px; font-weight: 700; color: var(--cc-on-surface); }
.profile-email { font-size: 13px; color: var(--cc-on-surface-variant); }
.profile-section {
  width: 100%;
  background: var(--cc-bg);
  border: none;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.profile-section-head {
  padding: var(--sp-12) var(--sp-16);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--cc-on-surface-variant);
  border-bottom: none;
}
.profile-row {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-12) var(--sp-16);
  border-bottom: 1px solid var(--cc-outline-variant);
}
.profile-row:last-child { border-bottom: none; }
.profile-row-icon {
  width: 28px; height: 28px;
  border-radius: var(--r-sm);
  background: var(--cc-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.profile-row-label { font-size: 12px; color: var(--cc-on-surface-variant); }
.profile-row-value { font-size: 14px; font-weight: 500; color: var(--cc-on-surface); }
.profile-row-action {
  margin-left: auto;
  font-size: 12px;
  color: var(--cc-primary);
  font-weight: 500;
  cursor: pointer;
  flex-shrink: 0;
}
.profile-kk-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
  padding: var(--sp-20) var(--sp-16);
  text-align: center;
}
.profile-kk-empty p { font-size: 13px; color: var(--cc-on-surface-variant); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: var(--sp-8);
  height: 40px; padding: 0 var(--sp-20);
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-sm);
  background: var(--cc-bg);
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--cc-on-surface);
  text-decoration: none; cursor: pointer;
  transition: all 0.12s;
}
.btn-ghost:hover { background: var(--cc-tint); border-color: var(--cc-outline-strong); }

/* ── Section label chip ──────────────────────────────────────────────────── */
.list-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--cc-on-surface-variant);
  padding: var(--sp-4) 0;
}

/* ── Photo upload slots ──────────────────────────────────────────────────── */
.photo-slots {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
  width: 100%;
}
.photo-slot {
  width: 100%;
  height: 96px;
  border-radius: var(--r-lg);
  border: 2px dashed var(--cc-outline);
  background: var(--cc-bg);
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  padding: 0 var(--sp-20);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
  overflow: hidden;
}
.photo-slot:hover { border-color: var(--cc-primary); background: var(--cc-tint); }
.photo-slot.uploaded {
  border-style: solid;
  border-color: var(--cc-primary);
  background: var(--cc-tint);
}
.photo-slot-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--cc-tint);
  border: 1px solid var(--cc-outline);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
  transition: background 0.15s;
}
.photo-slot.uploaded .photo-slot-icon {
  background: var(--cc-primary-container);
  border-color: var(--cc-primary);
}
.photo-slot-info { flex: 1; min-width: 0; }
.photo-slot-label {
  font-size: var(--t-lbl-lg);
  font-weight: 600;
  color: var(--cc-on-surface);
  line-height: 18px;
}
.photo-slot-hint {
  font-size: 11px;
  color: var(--cc-on-surface-variant);
  margin-top: 2px;
  letter-spacing: 0.2px;
}
.photo-slot-status {
  font-size: 12px;
  font-weight: 600;
  color: var(--cc-primary);
  flex-shrink: 0;
}
.photo-slot-status.empty { color: var(--cc-on-surface-variant); font-weight: 400; font-size: 11px; }

/* Tips quality card */
.tips-card {
  width: 100%;
  background: var(--cc-tint);
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-lg);
  padding: var(--sp-16) var(--sp-20);
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}
.tips-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--cc-on-surface);
  letter-spacing: 0.3px;
}
.tips-row {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  font-size: 12px;
  color: var(--cc-on-surface-variant);
  line-height: 16px;
}
.tips-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cc-primary);
  flex-shrink: 0;
}

/* ── Patient data form ───────────────────────────────────────────────────── */
.form-stack {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
  width: 100%;
}
.form-row-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--cc-on-surface);
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.form-optional {
  font-size: 10px;
  font-weight: 400;
  color: var(--cc-on-surface-variant);
}
.form-input {
  height: 46px;
  padding: 0 var(--sp-16);
  border: 1.5px solid var(--cc-outline);
  border-radius: var(--r-lg);
  font-family: 'Inter', sans-serif;
  font-size: var(--t-body-md);
  color: var(--cc-on-surface);
  background: var(--cc-surface);
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
  width: 100%;
}
.form-input:focus { border-color: var(--cc-primary); }
.form-input::placeholder { color: var(--cc-on-surface-variant); }

/* ── Overview / data summary sections ───────────────────────────────────── */
.overview-card {
  width: 100%;
  background: var(--cc-surface);
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: none;
}
.overview-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-12) var(--sp-16);
  border-bottom: 1px solid var(--cc-outline-variant);
  background: var(--cc-tint);
}
.overview-section-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--cc-on-surface);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.overview-edit-link {
  font-size: 11px;
  color: var(--cc-primary);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.overview-edit-link:hover { text-decoration: underline; }
.overview-body {
  padding: var(--sp-12) var(--sp-16);
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}
.overview-row {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
}
.overview-icon {
  width: 24px; height: 24px;
  border-radius: var(--r-xs);
  background: var(--cc-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.overview-text {
  font-size: 13px;
  color: var(--cc-on-surface);
  font-weight: 500;
}
.overview-sub {
  font-size: 11px;
  color: var(--cc-on-surface-variant);
  margin-top: 1px;
}
.overview-photos-row {
  display: flex;
  gap: var(--sp-8);
  padding: var(--sp-12) var(--sp-16);
}
.overview-photo-thumb {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--cc-tint);
  border: 1px solid var(--cc-outline);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

/* Price summary */
.price-summary {
  width: 100%;
  background: var(--cc-primary);
  border-radius: var(--r-lg);
  padding: var(--sp-20);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}
.price-label { font-size: 14px; font-weight: 500; opacity: 0.85; }
.price-amount { font-size: 26px; font-weight: 700; letter-spacing: -0.5px; }
.price-note { font-size: 11px; opacity: 0.65; margin-top: 2px; }

/* ── Checkout / payment options ─────────────────────────────────────────── */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
  width: 100%;
}
.payment-option {
  width: 100%;
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--cc-bg);
  cursor: pointer;
  transition: border-color 0.15s;
}
.payment-option.selected { border-color: var(--cc-primary); }
.payment-header {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-16) var(--sp-20);
}
.payment-radio {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--cc-outline);
  flex-shrink: 0;
  transition: all 0.12s;
}
.payment-option.selected .payment-radio {
  border-color: var(--cc-primary);
  background: var(--cc-primary);
  box-shadow: inset 0 0 0 3px white;
}
.payment-logo {
  height: 22px;
  display: flex; align-items: center; gap: var(--sp-8);
  flex: 1;
}
.payment-label {
  font-size: var(--t-lbl-lg);
  font-weight: 500;
  color: var(--cc-on-surface);
}
.card-form {
  display: none;
  flex-direction: column;
  gap: var(--sp-12);
  padding: 0 var(--sp-20) var(--sp-16);
}
.card-form.visible { display: flex; }
.card-row-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
}

/* SSL badge */
.ssl-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  padding: 6px var(--sp-12);
  background: var(--cc-tint);
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 500;
  color: var(--cc-on-surface-variant);
  letter-spacing: 0.2px;
}

/* ── Berichte / past consultations ──────────────────────────────────────── */
.bericht-card {
  background: var(--cc-surface);
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: none;
}
.bericht-header {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-16);
}
.bericht-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cc-primary-container);
  color: var(--cc-on-primary-container);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
}
.bericht-info { flex: 1; min-width: 0; }
.bericht-doctor { font-size: 14px; font-weight: 600; color: var(--cc-on-surface); line-height: 18px; }
.bericht-spec { font-size: 11px; color: var(--cc-on-surface-variant); margin-top: 1px; }
.bericht-date { font-size: 11px; color: var(--cc-on-surface-variant); }
.bericht-status {
  display: inline-flex; align-items: center;
  padding: 3px 8px;
  border-radius: var(--r-badge);
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  flex-shrink: 0;
}
.bericht-status.pending  { background: var(--cc-warning-container); color: var(--cc-warning); }
.bericht-status.answered { background: var(--cc-success-container); color: var(--cc-success); }
.bericht-divider { height: 1px; background: var(--cc-outline-variant); margin: 0 var(--sp-16); }
.bericht-body {
  padding: var(--sp-12) var(--sp-16);
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}
.bericht-complaint {
  font-size: 12px;
  color: var(--cc-on-surface-variant);
  line-height: 16px;
}
.bericht-answer {
  background: var(--cc-tint);
  border-radius: var(--r-md);
  padding: var(--sp-12);
  display: flex;
  gap: var(--sp-8);
}
.bericht-answer-icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.bericht-answer-text { font-size: 13px; color: var(--cc-on-surface); line-height: 18px; }
.bericht-answer-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--cc-primary);
  margin-bottom: 3px;
}
.bericht-footer {
  padding: var(--sp-12) var(--sp-16);
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}
.bericht-chip {
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: var(--cc-tint);
  border: 1px solid var(--cc-outline);
  font-size: 11px;
  font-weight: 500;
  color: var(--cc-on-surface-variant);
}

/* ── Outer language toggle — sits 40px right of the phone shell ──────────── */
.outer-lang-toggle {
  position: fixed;
  left: calc(50% + 235px);   /* phone half-width (195px) + 40px gap */
  top: calc(50% - 414px);    /* aligns with phone top edge (half-height 422px) + 8px inset */
  z-index: 210;              /* above .sidebar-chips so the open dropdown isn't bled through */
}
.outer-lang-toggle > summary { list-style: none; }
.outer-lang-toggle > summary::-webkit-details-marker { display: none; }
.outer-lang-toggle .lang-btn {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.82);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 2px 8px rgba(0,0,0,0.18);
}
.outer-lang-toggle .lang-btn:hover,
.outer-lang-toggle[open] .lang-btn {
  background: rgba(255,255,255,0.20);
  box-shadow: 0 0 0 1.5px rgba(255,255,255,0.30), 0 2px 12px rgba(0,0,0,0.20);
}
/* Country flags in dropdown options */
.outer-lang-toggle .lang-option[data-lang="DE"]::before { content: "🇩🇪"; margin-right: 6px; }
.outer-lang-toggle .lang-option[data-lang="EN"]::before { content: "🇬🇧"; margin-right: 6px; }
/* Dropdown opens rightward (left edge aligns with toggle) — away from phone */
.outer-lang-toggle .lang-dropdown { left: 0; right: auto; }
@media (max-width: 430px) {
  .outer-lang-toggle { display: none; }
}

/* ── Sidebar context chips (Design System + Figma file) ──────────────────── */
.sidebar-chips {
  position: fixed;
  left: calc(50% + 235px);
  top: calc(50% - 366px);   /* ~48 px below outer-lang-toggle top edge */
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sidebar-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--r-full);
  color: rgba(255,255,255,0.75);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, box-shadow 0.15s, color 0.15s;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 2px 8px rgba(0,0,0,0.18);
}
.sidebar-chip:hover {
  background: rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.95);
  box-shadow: 0 0 0 1.5px rgba(255,255,255,0.28), 0 2px 12px rgba(0,0,0,0.22);
}
.sidebar-chip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
@media (max-width: 430px) {
  .sidebar-chips { display: none; }
}

/* ── Android system navigation bar ──────────────────────────────────────── */
.android-nav-bar {
  flex-shrink: 0;
  width: 100%;
  height: 44px;
  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--cc-outline-variant);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 48px;
}
.android-nav-btn {
  background: none;
  border: none;
  cursor: default;
  padding: 10px;
  color: var(--cc-on-surface-variant);
  opacity: 0.55;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* On tab-bar pages, android nav bar is fixed at very bottom */
.screen.has-android-nav .android-nav-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 9;
}
.screen.has-android-nav .tab-bar {
  bottom: 44px;
}
.screen.has-android-nav .app-body {
  padding-bottom: 132px;
}

/* ── Home evaluation hero card ───────────────────────────────────────────── */
.eval-hero {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
  background: var(--cc-primary);
  border-radius: var(--r-lg);
  padding: var(--sp-24);
  box-shadow: none;
  text-decoration: none;
  color: white;
  transition: background 0.2s;
}
.eval-hero:hover {
  background: #167080;
}
.eval-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: var(--sp-4);
}
.eval-headline {
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.2px;
}
.eval-body {
  font-size: 13px;
  line-height: 19px;
  opacity: 0.78;
  margin-top: var(--sp-4);
}
.eval-icon-ring {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-bottom: var(--sp-4);
}
.eval-cta-btn {
  height: 46px;
  background: white;
  color: var(--cc-primary);
  border: none;
  border-radius: var(--r-md);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1px;
  display: flex; align-items: center; justify-content: center;
  gap: var(--sp-8);
  cursor: pointer;
  text-decoration: none;
  margin-top: var(--sp-4);
  transition: opacity 0.15s;
}
.eval-cta-btn:hover { opacity: 0.92; }

/* ── Compact appointment strip ───────────────────────────────────────────── */
.appt-strip {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  background: var(--cc-surface);
  border: 1px solid var(--cc-outline);
  border-radius: var(--r-md);
  padding: var(--sp-12) var(--sp-16);
}
.appt-strip-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cc-primary-container);
  color: var(--cc-on-primary-container);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.appt-strip-info { flex: 1; min-width: 0; }
.appt-strip-name { font-size: 13px; font-weight: 600; color: var(--cc-on-surface); }
.appt-strip-meta { font-size: 11px; color: var(--cc-on-surface-variant); margin-top: 1px; }
