
.brand img{height:30px;width:auto;display:block}html[data-theme="dark"] .brand img{filter:invert(1)}

  :root {
    --bg: #fbfbfd;
    --bg-elev: #ffffff;
    --bg-soft: #f4f5f7;
    --ink: #0a0a0f;
    --ink-2: #1d1d24;
    --muted: #6e6e76;
    --muted-2: #8a8a93;
    --line: rgba(10,10,15,0.08);
    --line-soft: rgba(10,10,15,0.05);
    --accent: #11B5B0;
    --accent-soft: #e0f7f6;
    --accent-ink: #0A8F8B;
    --danger: oklch(0.55 0.16 25);
    --success: oklch(0.55 0.13 155);
    --shadow-sm: 0 1px 2px rgba(15,17,23,0.04), 0 1px 1px rgba(15,17,23,0.03);
    --shadow-md: 0 1px 2px rgba(15,17,23,0.04), 0 8px 24px -8px rgba(15,17,23,0.08);
    --shadow-lg: 0 1px 2px rgba(15,17,23,0.04), 0 24px 60px -20px rgba(15,17,23,0.14);
    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 24px;
    --r-xl: 32px;
    --font-display: "SF Pro Text", "SF Pro TH", "SFProThai", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-thai: "SF Pro TH", "SF Pro Text", "SFProThai", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: "SF Pro Text", ui-monospace, monospace;
  }

  *, *::before, *::after { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
  }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

  .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }

  /* NAV */
  .nav {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    background: rgba(251,251,253,0.75);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-inner {
    height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
  .brand-mark {
    width: 30px; height: 30px; border-radius: 9px;
    background: linear-gradient(135deg, var(--ink) 0%, #2a2a35 100%);
    display: grid; place-items: center; color: white; font-weight: 700; font-size: 15px; letter-spacing: -0.04em;
  }
  .nav-back {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px; border-radius: 999px;
    background: var(--bg-soft); color: var(--ink-2);
    font-size: 14px; font-weight: 500;
    transition: background .2s;
  }
  .nav-back:hover { background: oklch(0.93 0.005 240); }

  /* PAGE HEAD */
  .pagehead {
    padding: 56px 0 28px;
    text-align: left;
    position: relative;
  }
  .pagehead-eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-ink);
    font-weight: 500;
    margin-bottom: 14px;
  }
  .pagehead h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 4.4vw, 52px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
  }
  .pagehead h1 .accent {
    background: linear-gradient(135deg, var(--accent-ink), var(--accent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .pagehead p {
    margin: 0; color: var(--muted); font-size: 16.5px; line-height: 1.6;
  }

  /* LAYOUT */
  .booking-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
    padding: 32px 0 100px;
  }
  .booking-wrap:not(.review-step){grid-template-columns:1fr}
  .booking-wrap:not(.review-step) .booking-aside{display:none}

  /* STEP FORM */
  .booking-stepper{background:var(--bg-elev);border:1px solid var(--line);border-radius:var(--r-md);padding:20px 24px;box-shadow:var(--shadow-sm)}
  .stepper-items{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
  .stepper-item{border:0;background:transparent;color:var(--muted);padding:0;display:flex;align-items:center;gap:9px;text-align:left;min-width:0;cursor:default}
  .stepper-item.can-visit{cursor:pointer}
  .stepper-dot{width:29px;height:29px;border-radius:50%;flex:0 0 auto;display:grid;place-items:center;border:1px solid var(--line);background:var(--bg-soft);font:600 12px var(--font-mono)}
  .stepper-label{font-size:12.5px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .stepper-item.active{color:var(--ink)}
  .stepper-item.active .stepper-dot{background:var(--ink);color:var(--bg-elev);border-color:var(--ink)}
  .stepper-item.done .stepper-dot{background:var(--accent-soft);color:var(--accent-ink);border-color:transparent}
  .stepper-track{height:4px;margin-top:17px;border-radius:99px;overflow:hidden;background:var(--bg-soft)}
  .stepper-progress{height:100%;width:20%;border-radius:inherit;background:var(--accent);transition:width .3s ease}
  .form-section.step-panel{display:none;min-height:380px;animation:stepIn .28s ease}
  .form-section.step-panel.active{display:block}
  .step-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:28px;padding-top:22px;border-top:1px solid var(--line-soft);flex-wrap:wrap}
  .step-actions .step-spacer{flex:1}.step-actions .btn{justify-content:center}
  .step-error{width:100%;color:var(--danger);font-size:13px;display:none}.step-error.show{display:block}
  .api-message{display:none;margin:20px 28px 0;padding:12px 15px;border:1px solid color-mix(in srgb,var(--danger) 30%,transparent);border-radius:11px;background:color-mix(in srgb,var(--danger) 8%,var(--bg-elev));color:var(--danger);font-size:13.5px}
  .api-message.show{display:block}
  @keyframes stepIn{from{opacity:0;transform:translateX(8px)}to{opacity:1;transform:none}}

  /* FORM */
  .form-card {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
  }
  .form-section {
    padding: 32px 36px;
    border-bottom: 1px solid var(--line-soft);
  }
  .form-section:last-of-type { border-bottom: 0; }
  .form-section-head {
    display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px;
  }
  .form-section-num {
    width: 32px; height: 32px; border-radius: 999px;
    background: var(--ink); color: white;
    display: grid; place-items: center;
    font-weight: 600; font-size: 13.5px;
    flex-shrink: 0;
  }
  .form-section h2 {
    margin: 4px 0 4px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
  }
  .form-section h2 small {
    display: block;
    font-size: 12.5px; font-weight: 400; color: var(--muted); margin-top: 2px;
    text-transform: uppercase; letter-spacing: 0.06em;
  }

  /* form grid */
  .field-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  }
  .field-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .field { display: flex; flex-direction: column; gap: 6px; }
  .field[hidden] { display: none; }
  .field.full { grid-column: 1 / -1; }
  .field label {
    font-size: 13px; font-weight: 500; color: var(--ink-2);
  }
  .field label .req { color: var(--danger); margin-left: 2px; }
  .field input[type="text"],
  .field input[type="email"],
  .field input[type="tel"],
  .field input[type="date"],
  .field input[type="time"],
  .field select,
  .field textarea {
    font: inherit;
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 14.5px;
    color: var(--ink);
    transition: all .15s ease;
    appearance: none;
    -webkit-appearance: none;
  }
  .field select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e76' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
    cursor: pointer;
  }
  .field textarea { resize: vertical; min-height: 100px; line-height: 1.55; }
  .field input:focus,
  .field select:focus,
  .field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
  }
  .field input::placeholder,
  .field textarea::placeholder { color: var(--muted-2); }
  .field-hint {
    font-size: 12px; color: var(--muted-2); margin-top: 2px;
  }
  /* appointment calendar */
  .schedule-picker{display:grid;grid-template-columns:minmax(280px,1fr) minmax(220px,.82fr);gap:22px;margin-top:20px}
  .booking-calendar,.available-times{border:1px solid var(--line);border-radius:16px;background:var(--bg-elev);padding:18px}
  .calendar-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}
  .calendar-toolbar strong{font-size:15px}.calendar-toolbar button{width:34px;height:34px;border:1px solid var(--line);border-radius:9px;background:var(--bg-elev);color:var(--ink);font-size:20px;line-height:1}
  .calendar-toolbar button:hover:not(:disabled){border-color:var(--accent);color:var(--accent-ink)}.calendar-toolbar button:disabled{opacity:.25;cursor:not-allowed}
  .calendar-week,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
  .calendar-week span{text-align:center;color:var(--muted-2);font:500 11px var(--font-mono);padding:4px 0 7px}
  .calendar-day{aspect-ratio:1;border:1px solid transparent;border-radius:9px;background:var(--bg-soft);color:var(--ink-2);font-size:13px;position:relative}
  .calendar-day:hover:not(:disabled){border-color:var(--accent)}.calendar-day.outside{opacity:.4}.calendar-day:disabled{opacity:.2;cursor:not-allowed}
  .calendar-day.selected{background:var(--ink);color:var(--bg-elev);font-weight:700}.calendar-day.today:after{content:"";position:absolute;width:4px;height:4px;border-radius:50%;background:var(--accent);bottom:4px;left:50%;transform:translateX(-50%)}
  .calendar-legend{display:flex;align-items:center;gap:7px;margin-top:13px;color:var(--muted);font-size:12px}.calendar-legend i{width:8px;height:8px;border-radius:50%;background:var(--accent)}
  .available-times h3{font-size:15px;margin:0}.available-times>p{font-size:12.5px;color:var(--muted);margin:5px 0 16px;min-height:20px}
  .time-slots{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.time-slot{padding:10px 8px;border:1px solid var(--line);border-radius:10px;background:var(--bg-soft);color:var(--ink-2);font:500 13px var(--font-mono)}
  .time-slot:hover{border-color:var(--accent)}.time-slot.selected{background:var(--ink);border-color:var(--ink);color:var(--bg-elev)}
  .time-empty{grid-column:1/-1;padding:28px 10px;text-align:center;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:13px}

  /* device segmented */
  .seg {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }
  .seg-item {
    padding: 18px 12px;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 14px;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    cursor: pointer;
    transition: all .18s ease;
    text-align: center;
  }
  .seg-item:hover { background: var(--bg-soft); }
  .seg-item.active {
    border-color: var(--ink);
    background: var(--ink);
    color: white;
    box-shadow: 0 4px 14px -4px rgba(0,0,0,0.25);
  }
  .seg-item svg { width: 22px; height: 22px; stroke-width: 1.5; }
  .seg-item span { font-size: 13.5px; font-weight: 500; }

  /* symptom chips */
  .chip-group {
    display: flex; flex-wrap: wrap; gap: 8px;
  }
  .chip {
    padding: 10px 14px;
    background: var(--bg-soft);
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    font-size: 13.5px;
    color: var(--ink-2);
    cursor: pointer;
    transition: all .15s ease;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .chip:hover { background: oklch(0.93 0.005 240); }
  .chip.active {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
  }
  .chip::before {
    content: "+";
    font-weight: 600; font-size: 14px;
    opacity: 0.5;
    transition: transform .15s;
  }
  .chip.active::before { content: "✓"; opacity: 1; }

  /* consent */
  .consent-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
  .consent-item {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 16px;
    background: var(--bg-soft);
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    cursor: pointer;
    transition: background .15s;
  }
  .consent-item:hover { background: oklch(0.93 0.005 240); }
  .consent-item input[type="checkbox"] {
    appearance: none; -webkit-appearance: none;
    width: 20px; height: 20px;
    border: 1.5px solid var(--line);
    background: white;
    border-radius: 6px;
    display: grid; place-items: center;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 1px;
    transition: all .15s;
  }
  .consent-item input[type="checkbox"]:checked {
    background: var(--ink);
    border-color: var(--ink);
  }
  .consent-item input[type="checkbox"]:checked::after {
    content: "";
    width: 10px; height: 6px;
    border-left: 2px solid white; border-bottom: 2px solid white;
    transform: rotate(-45deg) translate(1px, -1px);
  }
  .consent-item .ctext {
    font-size: 13.5px; color: var(--ink-2); line-height: 1.55;
  }
  .consent-item .ctext strong { color: var(--ink); font-weight: 600; }
  .consent-item .ctext a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }

  .submit-row {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 22px; border-radius: 999px;
    font-weight: 600; font-size: 15px;
    transition: all .2s ease;
    white-space: nowrap;
  }
  .btn-primary { background: var(--ink); color: white; }
  .btn-primary:hover:not(:disabled) { background: #2a2a35; transform: translateY(-1px); box-shadow: var(--shadow-md); }
  .btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
  .btn-ghost { color: var(--muted); }
  .btn-ghost:hover { color: var(--ink); }

  /* SIDE SUMMARY */
  .booking-aside {
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-radius: var(--r-lg);
  }
  .booking-aside::-webkit-scrollbar { display: none; }
  .summary {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
  }
  .summary-head {
    padding: 22px 24px;
    background: linear-gradient(180deg, var(--ink) 0%, #2a2a38 100%);
    color: white;
    position: relative;
    overflow: hidden;
  }
  .summary-head::after {
    content: ""; position: absolute;
    right: -60px; top: -60px; width: 200px; height: 200px;
    background: radial-gradient(circle, oklch(0.65 0.13 240 / 0.35) 0%, transparent 60%);
    pointer-events: none;
  }
  .summary-head .label {
    font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.1em;
    opacity: 0.6; margin-bottom: 6px;
  }
  .summary-head h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
  .summary-head p { margin: 4px 0 0; font-size: 13px; opacity: 0.65; line-height: 1.5; }

  .summary-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
  .summary-row {
    display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-soft);
  }
  .summary-row:last-child { border-bottom: 0; padding-bottom: 0; }
  .summary-row .lbl { font-size: 12.5px; color: var(--muted); flex-shrink: 0; }
  .summary-row .val { font-size: 13.5px; font-weight: 500; color: var(--ink); text-align: right; }
  .summary-row .val.empty { color: var(--muted-2); font-weight: 400; }

  .summary-foot {
    padding: 18px 24px;
    border-top: 1px solid var(--line-soft);
    background: var(--bg-soft);
    font-size: 12px; color: var(--muted); line-height: 1.6;
  }

  /* CONFIRMATION */
  .confirm {
    display: none;
    padding: 32px 0 100px;
  }
  .confirm.show { display: block; }
  .booking-wrap.hide { display: none; }

  .confirm-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: rise .5s cubic-bezier(.2,.7,.2,1);
  }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

  .confirm-hero {
    padding: 56px 48px 40px;
    text-align: center;
    background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg-elev) 100%);
    border-bottom: 1px solid var(--line-soft);
  }
  .confirm-check {
    width: 72px; height: 72px;
    margin: 0 auto 22px;
    border-radius: 999px;
    background: var(--ink);
    color: white;
    display: grid; place-items: center;
    box-shadow: 0 12px 30px -8px rgba(10,10,15,0.4);
    animation: pop .5s .2s cubic-bezier(.5, 1.6, .4, 1) backwards;
  }
  @keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
  .confirm-check svg { width: 36px; height: 36px; stroke-width: 2.5; }
  .confirm-hero h2 {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.3;
  }
  .confirm-hero p {
    margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6;
  }
  .confirm-ref {
    margin-top: 18px;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
  }
  .confirm-ref strong { font-weight: 600; }

  .confirm-body { padding: 36px 48px; }
  .confirm-body h3 {
    margin: 0 0 18px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 500;
  }
  .confirm-list { display: flex; flex-direction: column; gap: 0; }
  .confirm-row {
    display: grid; grid-template-columns: 140px 1fr;
    gap: 24px; padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
    align-items: baseline;
  }
  .confirm-row:last-child { border-bottom: 0; }
  .confirm-row .lbl { font-size: 13.5px; color: var(--muted); }
  .confirm-row .val { font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.55; }
  .confirm-row .val .badge {
    display: inline-block;
    margin-right: 6px; margin-bottom: 4px;
    padding: 3px 10px;
    background: var(--accent-soft); color: var(--accent-ink);
    border-radius: 999px; font-size: 12.5px; font-weight: 500;
  }

  .confirm-note {
    margin: 0 48px 36px;
    padding: 18px 22px;
    background: var(--bg-soft);
    border-radius: 14px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    border-left: 3px solid var(--accent);
  }
  .confirm-note strong { color: var(--ink-2); font-weight: 600; }
  .confirm-note a { color: var(--accent-ink); font-weight: 600; }

  .confirm-actions {
    padding: 24px 48px 36px;
    display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
    border-top: 1px solid var(--line-soft);
    background: var(--bg-soft);
  }
  .btn-soft { background: var(--bg-elev); color: var(--ink); border: 1px solid var(--line); }
  .btn-soft:hover { background: oklch(0.97 0.005 240); }

  /* FOOTER */
  footer {
    padding: 32px 0;
    border-top: 1px solid var(--line-soft);
    font-size: 13px; color: var(--muted);
  }
  .footer-inner {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  }

  /* RESPONSIVE */
  @media (max-width: 980px) {
    .booking-wrap { grid-template-columns: 1fr; gap: 28px; }
    .booking-aside { position: static; max-height: none; overflow-y: visible; }
    .seg { grid-template-columns: repeat(2, 1fr); }
    .field-grid, .field-grid.cols-3 { grid-template-columns: 1fr 1fr; }
    .form-section { padding: 26px 24px; }
    .confirm-hero, .confirm-body { padding-left: 28px; padding-right: 28px; }
    .confirm-note { margin-left: 28px; margin-right: 28px; }
    .confirm-actions { padding-left: 28px; padding-right: 28px; }
    .confirm-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  }
  @media (max-width: 560px) {
    .booking-stepper{padding:16px}.stepper-label{display:none}.stepper-items{gap:4px}.stepper-item{justify-content:center}
    .form-section.step-panel{min-height:0}.step-actions .btn{flex:1}
    .schedule-picker{grid-template-columns:1fr}.booking-calendar,.available-times{padding:14px}.calendar-day{font-size:12px}
    .container { padding: 0 18px; }
    .pagehead { padding: 36px 0 20px; }
    .field-grid, .field-grid.cols-3 { grid-template-columns: 1fr; }
    .nav-back span { display: none; }
  }

  /* ============ DARK MODE ============ */
  html[data-theme="dark"]{
    --bg:#0b0b0e; --bg-elev:#161619; --bg-soft:#1e1e22;
    --ink:#f4f4f7; --ink-2:#d6d6db; --muted:#9b9ba3; --muted-2:#74747c;
    --line:rgba(255,255,255,0.11); --line-soft:rgba(255,255,255,0.06);
    --accent-soft:oklch(0.32 0.07 240); --accent-ink:oklch(0.80 0.10 240);
  }
  html[data-theme="dark"] .nav{ background:rgba(11,11,14,0.72); }
  html[data-theme="dark"] .brand-mark{ background:linear-gradient(135deg,#f4f4f7,#c6c6ce); color:#0b0b0e; }
  /* solid controls: bg auto-lightens via --ink, flip text dark + fix hardcoded dark hovers */
  html[data-theme="dark"] .btn-primary{ color:#0b0b0e; }
  html[data-theme="dark"] .btn-primary:hover, html[data-theme="dark"] .btn-primary:hover:not(:disabled){ background:#ffffff; }
  html[data-theme="dark"] .chip.active{ color:#0b0b0e; }
  html[data-theme="dark"] .seg-item.active{ color:#0b0b0e; }
  html[data-theme="dark"] .form-section-num{ color:#0b0b0e; }
  html[data-theme="dark"] .meta-chip.years{ color:#0b0b0e; }
  html[data-theme="dark"] .checker-step label .num{ color:#0b0b0e; }
  html[data-theme="dark"] .faq-item.open .faq-q .icon{ color:#0b0b0e; }
  html[data-theme="dark"] .step-num{ color:#0b0b0e; }
  html[data-theme="dark"] .tl-marker.done{ color:#0b0b0e; }
  html[data-theme="dark"] .confirm-check{ color:#0b0b0e; }
  html[data-theme="dark"] .consent-item input[type="checkbox"]:checked{ background:var(--ink); border-color:var(--ink); }
  html[data-theme="dark"] .consent-item input[type="checkbox"]:checked::after{ border-color:#0b0b0e; }
  /* hover backgrounds that hardcode light oklch */
  html[data-theme="dark"] .nav-back:hover,
  html[data-theme="dark"] .btn-soft:hover,
  html[data-theme="dark"] .chip:hover,
  html[data-theme="dark"] .consent-item:hover,
  html[data-theme="dark"] .help-chip:hover,
  html[data-theme="dark"] .theme-toggle:hover{ background:rgba(255,255,255,0.08); }
  /* feature panels: pin dark so white text reads */
  html[data-theme="dark"] .summary-head,
  html[data-theme="dark"] .order-head,
  html[data-theme="dark"] .sla-card,
  html[data-theme="dark"] .bento-card.dark{ background:linear-gradient(135deg,#17171c 0%,#26262e 100%); }
  html[data-theme="dark"] .bento-card.dark{ border-color:rgba(255,255,255,0.1); }
  /* light gradient surfaces */
  html[data-theme="dark"] .hero::before{ background:radial-gradient(ellipse 900px 400px at 50% -10%,oklch(0.30 0.06 240) 0%,transparent 60%); }
  html[data-theme="dark"] .applecare-art{ background:radial-gradient(circle at 30% 25%,oklch(0.32 0.06 240) 0%,transparent 50%),radial-gradient(circle at 75% 80%,oklch(0.30 0.06 220) 0%,transparent 55%),linear-gradient(140deg,var(--bg-elev) 0%,oklch(0.20 0.01 240) 100%); }
  html[data-theme="dark"] .dev-visual{ background:radial-gradient(circle at 30% 25%,oklch(0.30 0.05 240) 0%,transparent 55%),linear-gradient(160deg,var(--bg-elev) 0%,oklch(0.20 0.01 240) 100%); }
  html[data-theme="dark"] .dev-visual::before{ background:repeating-linear-gradient(135deg,transparent 0px,transparent 24px,rgba(255,255,255,0.05) 24px,rgba(255,255,255,0.05) 25px); }
  html[data-theme="dark"] .dev-silhouette svg{ color:var(--ink); }
  /* theme toggle button */
  .theme-toggle{ width:40px; height:40px; border-radius:999px; background:var(--bg-soft); display:grid; place-items:center; color:var(--ink-2); transition:all .2s ease; flex-shrink:0; }
  .theme-toggle:hover{ background:oklch(0.93 0.005 240); }
  .theme-toggle svg{ width:18px; height:18px; }
  .theme-toggle .sun{ display:none; }
  html[data-theme="dark"] .theme-toggle .moon{ display:none; }
  html[data-theme="dark"] .theme-toggle .sun{ display:block; }


  .booking-review-summary { margin-bottom: 24px; }
