/* ============================================================
     boho · iOS-native luxury aesthetic
     v0.2 · neutral, refined, restrained
     ============================================================ */

  :root {
    /* Surfaces */
    --bg:           #F7F5F0;
    --bg-grouped:   #EFECE5;
    --bg-elev:      #FFFFFF;
    --bg-pressed:   #EAE6DE;

    /* Text */
    --label:        #1C1C1E;
    --label-2:      rgba(60, 60, 67, 0.60);
    --label-3:      rgba(60, 60, 67, 0.35);
    --label-4:      rgba(60, 60, 67, 0.18);

    /* Lines */
    --sep:          rgba(60, 60, 67, 0.10);
    --sep-strong:   rgba(60, 60, 67, 0.18);

    /* Brand accents (used sparingly) */
    --verde:        #3F422F;
    --verde-tint:   rgba(63, 66, 47, 0.10);
    --laranja:      #C57A2A;
    --cremy:        #E6DBC5;

    /* Splash */
    --splash-bg:    #1B1E15;
    --splash-fg:    #F0EBE0;

    /* Typography */
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", Roboto, sans-serif;
    --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
    --font-serif: "Cormorant", "Cormorant Garamond", Georgia, serif;

    /* Motion */
    --ease: cubic-bezier(0.2, 0.8, 0.25, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    /* Safe areas */
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bot: env(safe-area-inset-bottom, 0px);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  *:focus { outline: none; }
  *::-webkit-scrollbar { display: none; }

  html, body {
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
    overscroll-behavior: none;
  }

  body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--label);
    font-size: 15px;
    line-height: 1.42;
    letter-spacing: -0.005em;
    font-feature-settings: "ss01", "ss02", "cv11";
  }

  button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  input { font: inherit; }

  /* App shell */
  #app {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg);
  }

  .screen {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    animation: screen-in 0.32s var(--ease-out);
    padding-top: var(--safe-top);
  }

  @keyframes screen-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ─────────────────────────────────────────────────
     PRESSABLE — universal press feedback
     ───────────────────────────────────────────────── */
  .pressable {
    transition: transform 0.18s var(--ease), opacity 0.15s ease;
    will-change: transform;
  }
  .pressable:active {
    transform: scale(0.97);
    opacity: 0.94;
  }

  /* ─────────────────────────────────────────────────
     ICONS
     ───────────────────────────────────────────────── */
  .icon {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
  }
  .icon-sm { width: 16px; height: 16px; }
  .icon-lg { width: 28px; height: 28px; }

  /* ─────────────────────────────────────────────────
     NAVIGATION BAR (top of each screen)
     ───────────────────────────────────────────────── */
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 4px;
    min-height: 44px;
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(247, 245, 240, 0.94);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
  }
  @media (prefers-color-scheme: dark) {
    .navbar { background: rgba(27, 30, 21, 0.88); }
  }
  .navbar .nav-btn {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 -10px;
    border-radius: 18px;
    color: var(--verde);
  }
  .navbar .nav-btn:active { background: var(--verde-tint); }
  .navbar .nav-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--label);
    letter-spacing: -0.01em;
  }
  .navbar .nav-right {
    min-width: 36px;
    display: flex;
    justify-content: flex-end;
    color: var(--verde);
  }

  /* Large title pattern (iOS) */
  .large-title {
    padding: 8px 20px 20px;
  }
  .large-title h1 {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.028em;
    color: var(--label);
  }
  .large-title p {
    margin-top: 6px;
    color: var(--label-2);
    font-size: 15px;
    line-height: 1.4;
  }

  /* Page padding helper */
  .page { padding: 0 20px; }
  .page-with-fab { padding-bottom: 110px; }

  /* Scribble class kept for compatibility — but invisible (no longer "designed") */
  .scribble { position: relative; display: inline; }

  /* ─────────────────────────────────────────────────
     BUTTONS
     ───────────────────────────────────────────────── */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: transform 0.18s var(--ease), background 0.2s, opacity 0.15s;
    will-change: transform;
    -webkit-user-select: none;
    user-select: none;
  }
  .btn:active { transform: scale(0.97); }
  .btn:disabled { opacity: 0.35; pointer-events: none; }

  .btn-primary {
    background: var(--verde);
    color: var(--cremy);
  }
  .btn-primary:active { background: #2F311F; }

  .btn-ghost {
    background: transparent;
    color: var(--verde);
  }
  .btn-ghost:active { background: var(--verde-tint); }

  .btn-tinted {
    background: var(--verde-tint);
    color: var(--verde);
  }

  .btn-cremy {
    background: var(--cremy);
    color: var(--verde);
  }

  .btn-block { width: 100%; }

  .btn-lg {
    padding: 16px 22px;
    font-size: 17px;
    border-radius: 16px;
  }

  /* ─────────────────────────────────────────────────
     SPLASH
     ───────────────────────────────────────────────── */
  .splash {
    background: var(--splash-bg);
    color: var(--splash-fg);
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: var(--safe-top);
  }
  .splash .body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
    animation: splash-in 1.2s var(--ease-out);
  }
  @keyframes splash-in {
    from { opacity: 0; transform: scale(0.97); }
    to   { opacity: 1; transform: scale(1); }
  }
  .splash .place {
    font-size: 11px;
    letter-spacing: 0.32em;
    color: rgba(240, 235, 224, 0.45);
    font-weight: 500;
    margin-bottom: 24px;
  }
  .splash .mark {
    font-family: var(--font-serif);
    font-size: 88px;
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 0.95;
    color: var(--splash-fg);
  }
  .splash .tag {
    margin-top: 36px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.42;
    text-align: center;
    color: rgba(240, 235, 224, 0.72);
    letter-spacing: -0.01em;
    max-width: 280px;
  }
  .splash .ctas {
    padding: 0 20px calc(28px + var(--safe-bot));
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .splash .ctas .btn-primary {
    background: var(--cremy);
    color: var(--splash-bg);
  }
  .splash .ctas .btn-primary:active {
    background: #D8CCB0;
  }
  .splash .ctas .btn-ghost {
    color: var(--splash-fg);
  }
  .splash .ctas .btn-ghost:active {
    background: rgba(240, 235, 224, 0.08);
  }

  /* ─────────────────────────────────────────────────
     HOME
     ───────────────────────────────────────────────── */
  .home { padding-bottom: 12px; }

  .home-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px 0;
    min-height: 44px;
  }
  .home-top .brand {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--label);
    letter-spacing: -0.04em;
  }
  .home-top .bell {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    color: var(--label);
    position: relative;
    border-radius: 18px;
  }
  .home-top .bell:active { background: var(--bg-pressed); }
  .home-top .bell .dot {
    position: absolute;
    top: 8px; right: 8px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--laranja);
    border: 2px solid var(--bg);
  }

  .home .greet {
    padding: 20px 20px 0;
  }
  .home .greet .small {
    font-size: 17px;
    color: var(--label-2);
    font-weight: 400;
    letter-spacing: -0.01em;
  }
  .home .greet h1 {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.028em;
    margin-top: 2px;
    color: var(--label);
  }
  .home .greet .sub {
    margin-top: 8px;
    font-size: 15px;
    color: var(--label-2);
    letter-spacing: -0.005em;
  }

  /* Next booking card */
  .next-card {
    margin: 24px 20px 0;
    background: var(--verde);
    color: var(--cremy);
    border-radius: 18px;
    padding: 18px 20px;
    position: relative;
    overflow: hidden;
  }
  .next-card .lab {
    font-size: 11px;
    letter-spacing: 0.18em;
    color: rgba(230, 219, 197, 0.55);
    font-weight: 600;
    text-transform: uppercase;
  }
  .next-card .ttl {
    margin-top: 8px;
    font-size: 21px;
    font-weight: 600;
    color: var(--cremy);
    line-height: 1.22;
    letter-spacing: -0.018em;
  }
  .next-card .ttl em {
    font-style: normal;
    color: rgba(230, 219, 197, 0.7);
    font-weight: 500;
  }
  .next-card .meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    font-size: 14px;
    color: rgba(230, 219, 197, 0.85);
  }

  .next-card.empty {
    background: var(--bg-elev);
    color: var(--label);
    border: 1px solid var(--sep);
  }
  .next-card.empty .lab { color: var(--label-3); }
  .next-card.empty .ttl { color: var(--label); }
  .next-card.empty .meta { color: var(--label-2); }

  /* Primary CTA */
  .cta-row {
    margin: 12px 20px 0;
    background: var(--bg-elev);
    border-radius: 16px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--sep);
  }
  .cta-row .info .l1 {
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--label-3);
    font-weight: 600;
    text-transform: uppercase;
  }
  .cta-row .info .l2 {
    font-size: 17px;
    font-weight: 600;
    color: var(--label);
    margin-top: 3px;
    letter-spacing: -0.012em;
  }
  .cta-row .plus {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--verde);
    color: var(--cremy);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Section header */
  .section-h {
    padding: 28px 20px 12px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
  }
  .section-h h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--label);
    letter-spacing: -0.018em;
  }
  .section-h .more {
    font-size: 14px;
    color: var(--verde);
    font-weight: 500;
  }

  /* Inspiration row */
  .insp-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 20px 4px;
    scroll-snap-type: x mandatory;
  }
  .insp-row .swatch {
    flex-shrink: 0;
    width: 130px;
    scroll-snap-align: start;
  }
  .insp-row .img {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 14px;
    box-shadow: inset 0 -28px 50px rgba(0,0,0,0.22), inset 0 24px 40px rgba(255,255,255,0.08);
  }
  .insp-row .lbl {
    margin-top: 10px;
    font-size: 13px;
    color: var(--label);
    font-weight: 500;
    letter-spacing: -0.005em;
  }

  /* ─────────────────────────────────────────────────
     SERVICES
     ───────────────────────────────────────────────── */
  .svc { padding-bottom: 110px; }

  .search {
    margin: 12px 20px 16px;
    background: var(--bg-grouped);
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .search .icon { color: var(--label-2); width: 16px; height: 16px; }
  .search input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--label);
    font-size: 16px;
  }
  .search input::placeholder { color: var(--label-2); }

  /* Segmented control style chips */
  .cats {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 4px 20px 4px;
    margin-bottom: 8px;
  }
  .cats .pill {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--label);
    background: transparent;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.18s, color 0.18s;
  }
  .cats .pill.active {
    background: var(--verde);
    color: var(--cremy);
  }
  .cats .pill:not(.active):active {
    background: var(--verde-tint);
  }

  /* Grouped list (iOS Settings style) */
  .list-group {
    margin: 12px 16px;
    background: var(--bg-elev);
    border-radius: 14px;
    overflow: hidden;
  }
  .list-group .item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 0.5px solid var(--sep);
    transition: background 0.15s;
  }
  .list-group .item:last-child { border-bottom: none; }
  .list-group .item:active { background: var(--bg-pressed); }
  .list-group .item .ic-wrap {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: var(--bg-grouped);
    color: var(--verde);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .list-group .item.sel .ic-wrap {
    background: var(--verde);
    color: var(--cremy);
  }
  .list-group .item .body {
    flex: 1;
    min-width: 0;
  }
  .list-group .item .name {
    font-size: 16px;
    font-weight: 500;
    color: var(--label);
    letter-spacing: -0.012em;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .list-group .item .meta {
    font-size: 13px;
    color: var(--label-2);
    margin-top: 2px;
    letter-spacing: -0.005em;
  }
  .list-group .item .badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--laranja);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
  }
  .list-group .item .check {
    width: 24px; height: 24px;
    border-radius: 50%;
    border: 1.5px solid var(--label-4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s var(--ease);
    flex-shrink: 0;
  }
  .list-group .item.sel .check {
    background: var(--verde);
    border-color: var(--verde);
    color: white;
    transform: scale(1.05);
  }

  /* Empty state */
  .empty {
    padding: 80px 24px;
    text-align: center;
  }
  .empty .ic-wrap {
    width: 64px; height: 64px;
    border-radius: 32px;
    background: var(--bg-grouped);
    color: var(--label-3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
  }
  .empty .ic-wrap .icon { width: 28px; height: 28px; }
  .empty h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--label);
    letter-spacing: -0.018em;
  }
  .empty p {
    font-size: 15px;
    color: var(--label-2);
    margin-top: 6px;
    line-height: 1.4;
  }
  .empty .btn { margin-top: 20px; }

  /* Floating footer (bottom CTA) */
  .footer-cta {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 12px 20px calc(16px + var(--safe-bot));
    background: linear-gradient(to top, var(--bg) 70%, transparent);
    z-index: 5;
  }
  .footer-cta .btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    font-size: 17px;
  }
  .footer-cta .btn .count {
    min-width: 24px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(230, 219, 197, 0.22);
    color: var(--cremy);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
  }
  .footer-cta .btn .total {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.78;
  }

  /* ─────────────────────────────────────────────────
     STYLISTS
     ───────────────────────────────────────────────── */
  .stl { padding-bottom: 110px; }

  .stl .featured {
    margin: 12px 16px 12px;
    background: var(--verde);
    color: var(--cremy);
    border-radius: 18px;
    padding: 22px 20px;
    position: relative;
  }
  .stl .featured .badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(230, 219, 197, 0.16);
    color: var(--cremy);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    padding: 4px 10px;
    border-radius: 999px;
  }
  .stl .featured .row {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .stl .featured .avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cremy);
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    box-shadow: inset -4px -6px 12px rgba(0,0,0,0.2), inset 3px 4px 8px rgba(255,255,255,0.12);
    flex-shrink: 0;
  }
  .stl .featured .name {
    font-size: 22px;
    font-weight: 600;
    color: var(--cremy);
    letter-spacing: -0.018em;
    line-height: 1.2;
  }
  .stl .featured .role {
    font-size: 14px;
    color: rgba(230, 219, 197, 0.72);
    margin-top: 3px;
  }
  .stl .featured .quote {
    margin-top: 16px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 18px;
    line-height: 1.42;
    color: rgba(230, 219, 197, 0.88);
    font-weight: 400;
  }
  .stl .featured .rate {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(230, 219, 197, 0.7);
  }
  .stl .featured .rate .star {
    color: #FFD580;
  }

  .stl .none-card {
    margin: 12px 16px 0;
    background: var(--bg-elev);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--sep);
  }
  .stl .none-card.sel {
    border-color: var(--verde);
    background: var(--verde-tint);
  }
  .stl .none-card .ic-wrap {
    width: 40px; height: 40px;
    border-radius: 20px;
    background: var(--bg-grouped);
    color: var(--verde);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .stl .none-card .body { flex: 1; }
  .stl .none-card .t {
    font-size: 16px;
    font-weight: 500;
    color: var(--label);
    letter-spacing: -0.012em;
  }
  .stl .none-card .s {
    font-size: 13px;
    color: var(--label-2);
    margin-top: 2px;
  }
  .stl .none-card .check {
    width: 24px; height: 24px;
    border-radius: 50%;
    border: 1.5px solid var(--label-4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s var(--ease);
  }
  .stl .none-card.sel .check {
    background: var(--verde);
    border-color: var(--verde);
  }

  .stl .list-stylist {
    margin: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .stl .list-stylist .item {
    background: var(--bg-elev);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid transparent;
    transition: background 0.15s, border-color 0.18s, transform 0.18s var(--ease);
  }
  .stl .list-stylist .item:active {
    background: var(--bg-pressed);
    transform: scale(0.99);
  }
  .stl .list-stylist .item .avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cremy);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    box-shadow: inset -3px -5px 10px rgba(0,0,0,0.18), inset 2px 3px 6px rgba(255,255,255,0.12);
    flex-shrink: 0;
  }
  .stl .list-stylist .item .info { flex: 1; min-width: 0; }
  .stl .list-stylist .item .n {
    font-size: 16px;
    font-weight: 500;
    color: var(--label);
    letter-spacing: -0.012em;
  }
  .stl .list-stylist .item .r {
    font-size: 13px;
    color: var(--label-2);
    margin-top: 2px;
  }
  .stl .list-stylist .item .right {
    text-align: right;
  }
  .stl .list-stylist .item .star-row {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
    font-weight: 500;
    color: var(--label);
  }
  .stl .list-stylist .item .star-row .icon {
    width: 13px; height: 13px;
    fill: #C8951F;
    color: #C8951F;
  }
  .stl .list-stylist .item .when {
    font-size: 11px;
    margin-top: 2px;
    color: var(--label-2);
    letter-spacing: 0.04em;
  }

  /* ─────────────────────────────────────────────────
     DATE & TIME
     ───────────────────────────────────────────────── */
  .dt { padding-bottom: 110px; }

  .month-nav {
    margin: 16px 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .month-nav .month {
    font-size: 22px;
    font-weight: 600;
    color: var(--label);
    letter-spacing: -0.018em;
  }
  .month-nav .month em {
    font-style: normal;
    color: var(--label-2);
    font-weight: 500;
  }
  .month-nav .nav-arrows {
    display: flex;
    gap: 4px;
  }
  .month-nav .nav-arrows button {
    width: 32px; height: 32px;
    border-radius: 16px;
    color: var(--verde);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .month-nav .nav-arrows button:active { background: var(--verde-tint); }

  .week-grid {
    margin: 14px 16px 0;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
  }
  .week-grid .day {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    border-radius: 12px;
    transition: background 0.18s, color 0.18s;
  }
  .week-grid .day:active {
    background: var(--bg-pressed);
  }
  .week-grid .day.sel {
    background: var(--verde);
  }
  .week-grid .day.closed { opacity: 0.28; pointer-events: none; }
  .week-grid .day .wd {
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--label-2);
    font-weight: 600;
    text-transform: uppercase;
  }
  .week-grid .day.sel .wd { color: rgba(230, 219, 197, 0.7); }
  .week-grid .day .num {
    font-size: 18px;
    font-weight: 600;
    margin-top: 4px;
    color: var(--label);
    letter-spacing: -0.01em;
  }
  .week-grid .day.sel .num { color: var(--cremy); }

  .slot-header {
    padding: 28px 20px 12px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
  }
  .slot-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--label);
    letter-spacing: -0.018em;
  }
  .slot-header .count {
    font-size: 13px;
    color: var(--label-2);
  }

  .slots {
    margin: 0 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .slots .slot {
    padding: 12px 0;
    border-radius: 10px;
    text-align: center;
    background: var(--bg-elev);
    border: 1px solid var(--sep);
    font-size: 14px;
    font-weight: 500;
    color: var(--label);
    transition: all 0.18s var(--ease);
  }
  .slots .slot:active {
    background: var(--bg-pressed);
    transform: scale(0.96);
  }
  .slots .slot.sel {
    background: var(--verde);
    border-color: var(--verde);
    color: var(--cremy);
    transform: scale(1.02);
  }
  .slots .slot.taken {
    color: var(--label-3);
    text-decoration: line-through;
    background: transparent;
    border-color: transparent;
    pointer-events: none;
  }

  .closed-msg {
    margin-top: 40px;
    text-align: center;
    color: var(--label-2);
    font-size: 15px;
    padding: 0 24px;
  }

  /* ─────────────────────────────────────────────────
     CONFIRM
     ───────────────────────────────────────────────── */
  .cf { padding-bottom: 110px; }

  .summary-card {
    margin: 16px 16px 0;
    background: var(--bg-elev);
    border-radius: 14px;
    overflow: hidden;
  }
  .summary-section {
    padding: 14px 16px;
    border-bottom: 0.5px solid var(--sep);
  }
  .summary-section:last-child { border-bottom: none; }
  .summary-section .lab {
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--label-3);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .summary-section .svc-ln {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
  }
  .summary-section .svc-ln:first-of-type { padding-top: 0; }
  .summary-section .svc-ln:last-of-type { padding-bottom: 0; }
  .summary-section .svc-ln .n {
    font-size: 16px;
    font-weight: 500;
    color: var(--label);
    letter-spacing: -0.012em;
  }
  .summary-section .svc-ln .p {
    font-size: 14px;
    color: var(--label-2);
    font-weight: 500;
  }
  .summary-section .dur {
    margin-top: 10px;
    font-size: 13px;
    color: var(--label-2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .summary-section .dur .icon {
    width: 14px;
    height: 14px;
  }
  .summary-section .meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 15px;
  }
  .summary-section .meta-row .k {
    color: var(--label-2);
  }
  .summary-section .meta-row .v {
    color: var(--label);
    font-weight: 500;
  }
  .summary-section.total-section {
    background: var(--bg-grouped);
  }
  .summary-section.total-section .total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }
  .summary-section.total-section .k {
    font-size: 15px;
    color: var(--label-2);
  }
  .summary-section.total-section .v {
    font-size: 28px;
    font-weight: 700;
    color: var(--label);
    letter-spacing: -0.025em;
  }
  .summary-section.total-section .v small {
    font-size: 14px;
    color: var(--label-2);
    font-weight: 500;
    margin-left: 2px;
  }

  /* iOS-style segmented control for payment */
  .pay-section {
    margin: 28px 20px 0;
  }
  .pay-section .lab {
    font-size: 13px;
    color: var(--label-2);
    margin-bottom: 8px;
    padding-left: 4px;
    letter-spacing: -0.01em;
  }
  .pay-segment {
    background: var(--bg-grouped);
    border-radius: 10px;
    padding: 3px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
  }
  .pay-segment .opt {
    padding: 10px 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--label);
    border-radius: 8px;
    transition: all 0.22s var(--ease);
    letter-spacing: -0.005em;
  }
  .pay-segment .opt.sel {
    background: var(--bg-elev);
    color: var(--label);
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06), 0 0 0 0.5px rgba(0,0,0,0.04);
  }
  .pay-segment .opt:not(.sel):active {
    opacity: 0.6;
  }

  /* Success */
  .cf-success {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    background: var(--splash-bg);
    color: var(--splash-fg);
    animation: success-in 0.5s var(--ease-out);
  }
  @keyframes success-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  .cf-success .check-wrap {
    width: 84px; height: 84px;
    border-radius: 50%;
    background: rgba(230, 219, 197, 0.12);
    color: var(--cremy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    animation: check-pop 0.6s var(--ease-out) 0.1s both;
  }
  @keyframes check-pop {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }
  .cf-success .check-wrap .icon {
    width: 40px; height: 40px;
    stroke-width: 2.4;
  }
  .cf-success h1 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: var(--splash-fg);
    line-height: 1.15;
    letter-spacing: -0.022em;
  }
  .cf-success .det {
    font-size: 16px;
    margin-top: 12px;
    color: rgba(240, 235, 224, 0.7);
    line-height: 1.45;
    max-width: 280px;
    font-weight: 400;
  }
  .cf-success .btns {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 320px;
  }
  .cf-success .btn-primary { background: var(--cremy); color: var(--splash-bg); }
  .cf-success .btn-ghost { color: var(--splash-fg); }
  .cf-success .btn-ghost:active { background: rgba(240, 235, 224, 0.08); }

  /* ─────────────────────────────────────────────────
     BOOKINGS
     ───────────────────────────────────────────────── */
  .bk { padding-bottom: 12px; }

  .bk-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px 0;
  }
  .bk-top .add {
    width: 36px; height: 36px;
    border-radius: 18px;
    color: var(--verde);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .bk-top .add:active { background: var(--verde-tint); }

  /* Segmented control for tabs */
  .seg {
    margin: 12px 16px 0;
    background: var(--bg-grouped);
    border-radius: 10px;
    padding: 3px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .seg .tb {
    padding: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--label);
    border-radius: 8px;
    transition: all 0.22s var(--ease);
    letter-spacing: -0.005em;
  }
  .seg .tb.active {
    background: var(--bg-elev);
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06), 0 0 0 0.5px rgba(0,0,0,0.04);
  }
  .seg .tb .cnt {
    color: var(--label-2);
    margin-left: 4px;
    font-weight: 500;
  }
  .seg .tb.active .cnt { color: var(--verde); font-weight: 600; }

  .bookings-list {
    margin: 16px 16px 0;
    background: var(--bg-elev);
    border-radius: 14px;
    overflow: hidden;
  }
  .bookings-list .item {
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 0.5px solid var(--sep);
    transition: background 0.15s;
  }
  .bookings-list .item:last-child { border-bottom: none; }
  .bookings-list .item:active { background: var(--bg-pressed); }
  .bookings-list .item .date-box {
    background: var(--verde);
    color: var(--cremy);
    border-radius: 10px;
    padding: 8px 10px;
    text-align: center;
    min-width: 52px;
    align-self: flex-start;
  }
  .bookings-list .item .date-box .d {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.018em;
  }
  .bookings-list .item .date-box .m {
    font-size: 10px;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: rgba(230, 219, 197, 0.7);
    margin-top: 4px;
  }
  .bookings-list .item .body { flex: 1; min-width: 0; }
  .bookings-list .item .body .svc {
    font-size: 16px;
    font-weight: 500;
    color: var(--label);
    letter-spacing: -0.012em;
    line-height: 1.25;
  }
  .bookings-list .item .body .pro {
    font-size: 13px;
    color: var(--label-2);
    margin-top: 3px;
  }
  .bookings-list .item .body .chips {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
  }
  .bookings-list .item .body .chip {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.02em;
  }
  .bookings-list .item .body .chip.time {
    background: var(--bg-grouped);
    color: var(--label-2);
  }
  .bookings-list .item .body .chip.status {
    background: rgba(63, 66, 47, 0.12);
    color: var(--verde);
  }

  /* ─────────────────────────────────────────────────
     PROFILE
     ───────────────────────────────────────────────── */
  .pr { padding-bottom: 12px; }

  .pr-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px 0;
  }
  .pr-top .more {
    width: 36px; height: 36px;
    border-radius: 18px;
    color: var(--verde);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .pr-top .more:active { background: var(--verde-tint); }

  .pr-ident {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 16px;
    padding: 0 20px;
  }
  .pr-ident .av {
    width: 88px; height: 88px;
    border-radius: 50%;
    background: linear-gradient(160deg, var(--verde), #5C5A48);
    color: var(--cremy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 600;
    box-shadow: 0 8px 20px -6px rgba(63,66,47,0.3);
  }
  .pr-ident .n {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--label);
    margin-top: 14px;
    letter-spacing: -0.022em;
  }
  .pr-ident .since {
    font-size: 13px;
    color: var(--label-2);
    margin-top: 4px;
  }

  .pr-stats {
    margin: 24px 16px 0;
    background: var(--bg-elev);
    border-radius: 14px;
    padding: 14px 0;
    display: flex;
  }
  .pr-stats .s {
    flex: 1;
    text-align: center;
    border-right: 0.5px solid var(--sep);
  }
  .pr-stats .s:last-child { border-right: none; }
  .pr-stats .s .n {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--label);
    letter-spacing: -0.022em;
  }
  .pr-stats .s .l {
    font-size: 11px;
    color: var(--label-2);
    margin-top: 2px;
    font-weight: 500;
    letter-spacing: -0.005em;
  }

  /* Settings-style menu */
  .settings-group {
    margin: 20px 16px 0;
    background: var(--bg-elev);
    border-radius: 14px;
    overflow: hidden;
  }
  .settings-group .item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 0.5px solid var(--sep);
    transition: background 0.15s;
  }
  .settings-group .item:last-child { border-bottom: none; }
  .settings-group .item:active { background: var(--bg-pressed); }
  .settings-group .item .ic-wrap {
    width: 28px; height: 28px;
    border-radius: 7px;
    background: var(--verde-tint);
    color: var(--verde);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .settings-group .item .ic-wrap .icon { width: 16px; height: 16px; }
  .settings-group .item .body {
    flex: 1;
    min-width: 0;
  }
  .settings-group .item .label {
    font-size: 16px;
    font-weight: 400;
    color: var(--label);
    letter-spacing: -0.012em;
  }
  .settings-group .item .value {
    font-size: 15px;
    color: var(--label-2);
    margin-right: 4px;
  }
  .settings-group .item .chev {
    color: var(--label-3);
  }
  .settings-group .item .chev .icon { width: 14px; height: 14px; stroke-width: 2.5; }

  .settings-group-label {
    font-size: 13px;
    color: var(--label-2);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
    padding: 28px 20px 8px;
  }

  .pr-logout {
    margin: 20px 16px 0;
    background: var(--bg-elev);
    border-radius: 14px;
    padding: 14px;
    text-align: center;
    color: #C82A2A;
    font-size: 16px;
    font-weight: 400;
    transition: background 0.15s;
  }
  .pr-logout:active { background: var(--bg-pressed); }

  /* ─────────────────────────────────────────────────
     TAB BAR
     ───────────────────────────────────────────────── */
  .tabbar {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    padding: 6px 0 calc(2px + var(--safe-bot));
    background: rgba(247, 245, 240, 0.94);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-top: 0.5px solid var(--sep-strong);
  }
  .tabbar .tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 12px;
    color: var(--label-2);
    font-size: 10px;
    font-weight: 500;
    min-width: 60px;
    transition: color 0.18s;
  }
  .tabbar .tab.active {
    color: var(--verde);
  }
  .tabbar .tab .icon {
    width: 26px;
    height: 26px;
    stroke-width: 1.7;
  }
  .tabbar .tab.active .icon {
    stroke-width: 2.1;
  }
  .tabbar .tab:active {
    opacity: 0.6;
  }

  /* ─────────────────────────────────────────────────
     MODAL / SHEET
     ───────────────────────────────────────────────── */
  .modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    z-index: 100;
    animation: modal-bg 0.25s var(--ease-out);
  }
  @keyframes modal-bg {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  .modal .panel {
    background: var(--bg);
    border-radius: 24px 24px 0 0;
    padding: 28px 24px calc(28px + var(--safe-bot));
    width: 100%;
    max-width: 480px;
    animation: sheet-up 0.42s var(--ease-out);
  }
  @keyframes sheet-up {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
  .modal .panel .handle {
    width: 36px;
    height: 5px;
    background: var(--label-4);
    border-radius: 3px;
    margin: -16px auto 18px;
  }
  .modal .panel h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--label);
    letter-spacing: -0.022em;
    line-height: 1.2;
  }
  .modal .panel .sub {
    font-size: 15px;
    color: var(--label-2);
    margin-top: 6px;
    line-height: 1.42;
  }
  .modal .panel input {
    margin-top: 22px;
    width: 100%;
    background: var(--bg-elev);
    border: 1px solid var(--sep);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 17px;
    color: var(--label);
    outline: none;
    transition: border-color 0.18s;
  }
  .modal .panel input:focus { border-color: var(--verde); }
  .modal .panel .btn {
    margin-top: 14px;
    width: 100%;
  }

  /* Toast */
  .toast {
    position: fixed;
    bottom: calc(100px + var(--safe-bot));
    left: 50%;
    transform: translateX(-50%);
    background: rgba(28, 28, 30, 0.92);
    color: white;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 500;
    z-index: 200;
    animation: toast-in 0.32s var(--ease-out);
    pointer-events: none;
    box-shadow: 0 12px 30px -8px rgba(0,0,0,0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  @keyframes toast-in {
    from { opacity: 0; transform: translate(-50%, 12px); }
    to { opacity: 1; transform: translate(-50%, 0); }
  }

  /* Desktop frame */
  @media (min-width: 540px) {
    body { background: #14160F; padding: 24px 0; }
    #app {
      height: calc(100vh - 48px);
      max-height: 920px;
      border-radius: 38px;
      overflow: hidden;
      box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
    }
  }

  /* Dark mode (subtle support) */
  @media (prefers-color-scheme: dark) {
    :root {
      --bg:           #14160F;
      --bg-grouped:   #1B1E15;
      --bg-elev:      #1F2218;
      --bg-pressed:   #262A1F;
      --label:        #F0EBE0;
      --label-2:      rgba(240, 235, 224, 0.55);
      --label-3:      rgba(240, 235, 224, 0.32);
      --label-4:      rgba(240, 235, 224, 0.16);
      --sep:          rgba(240, 235, 224, 0.10);
      --sep-strong:   rgba(240, 235, 224, 0.18);
    }
  }
/* ============================================================
   PAGE WRAPPER (replaces ad-hoc per-screen wrappers)
   ============================================================ */
.page {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.page-content {
  padding: 8px 20px calc(28px + var(--safe-bot));
  display: flex;
  flex-direction: column;
}
.section-label {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--label-2);
  padding: 22px 4px 8px;
}
.section-label.danger { color: #9C2A2A; padding-top: 28px; }
@media (prefers-color-scheme: dark) {
  .section-label.danger { color: #E07474; }
}

/* ============================================================
   PROFILE — HERO CARD
   ============================================================ */
.profile-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 18px;
  margin-top: 8px;
  background: var(--bg-elev);
  border-radius: 18px;
  border: 0.5px solid var(--sep);
}
.avatar-ring {
  width: 76px; height: 76px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--verde), var(--cremy));
  flex-shrink: 0;
  position: relative;
}
.avatar-ring.lg { width: 120px; height: 120px; }
.avatar-circle {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--bg-grouped);
  color: var(--verde);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0.01em;
}
.avatar-circle.lg { font-size: 44px; }
.avatar-camera {
  position: absolute;
  right: -2px; bottom: -2px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--splash-fg);
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--bg);
}
.avatar-camera .icon { width: 16px; height: 16px; }
.profile-info {
  flex: 1;
  min-width: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.profile-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--label);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.profile-email {
  font-size: 13px;
  color: var(--label-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.member-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--verde-tint);
  color: var(--verde);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  width: fit-content;
}
.member-pill .icon { width: 12px; height: 12px; }

/* ============================================================
   POINTS / LOYALTY CARD
   ============================================================ */
.points-card {
  display: flex; align-items: center;
  gap: 14px;
  padding: 18px 16px;
  margin-top: 16px;
  background: linear-gradient(135deg, var(--verde-tint), rgba(63, 66, 47, 0.03));
  border: 0.5px solid rgba(63, 66, 47, 0.18);
  border-radius: 18px;
  text-align: left;
  color: inherit;
  width: 100%;
  font: inherit;
}
.points-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--cremy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.points-icon .icon { width: 22px; height: 22px; }
.points-body { flex: 1; min-width: 0; }
.points-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 4px;
}
.points-value {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--label);
  line-height: 1;
}
.points-value span {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  color: var(--label-2);
  margin-left: 2px;
}
.points-chev {
  color: var(--label-3);
}

/* ============================================================
   SETTINGS LIST (rounded grouped card)
   ============================================================ */
.settings-card {
  background: var(--bg-elev);
  border-radius: 16px;
  border: 0.5px solid var(--sep);
  overflow: hidden;
}
.settings-row {
  display: flex; align-items: center;
  gap: 14px;
  padding: 14px 16px;
  width: 100%;
  text-align: left;
  color: inherit; font: inherit;
  background: transparent;
  cursor: pointer;
}
.settings-row:active { background: var(--bg-pressed); }
.settings-row .row-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--verde);
  flex-shrink: 0;
}
.settings-row .row-icon .icon { width: 20px; height: 20px; }
.settings-row .row-label {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--label);
  letter-spacing: -0.005em;
}
.settings-row .row-value {
  font-size: 14px;
  color: var(--label-2);
  margin-right: 4px;
}
.settings-row > .icon:last-child {
  color: var(--label-3);
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.row-sep {
  height: 0.5px;
  background: var(--sep);
  margin-left: 62px;
}

/* ============================================================
   LOGOUT + DANGER + VERSION
   ============================================================ */
.logout-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  margin: 28px 0 12px;
  padding: 14px;
  background: rgba(156, 42, 42, 0.06);
  border: 0.5px solid rgba(156, 42, 42, 0.22);
  border-radius: 14px;
  color: #9C2A2A;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: 100%;
  cursor: pointer;
}
.logout-btn:active { background: rgba(156, 42, 42, 0.12); }
.logout-btn .icon { width: 18px; height: 18px; }
@media (prefers-color-scheme: dark) {
  .logout-btn {
    background: rgba(224, 116, 116, 0.08);
    border-color: rgba(224, 116, 116, 0.3);
    color: #E07474;
  }
}
.app-version {
  text-align: center;
  font-size: 12px;
  color: var(--label-3);
  letter-spacing: 0.08em;
  margin-top: 8px;
  padding-bottom: 8px;
}

.danger-card {
  display: flex; align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(156, 42, 42, 0.05);
  border: 0.5px solid rgba(156, 42, 42, 0.22);
  border-radius: 14px;
  width: 100%;
  text-align: left;
  color: inherit; font: inherit;
  cursor: pointer;
}
.danger-card:active { background: rgba(156, 42, 42, 0.10); }
.row-icon.danger { color: #9C2A2A; }
.danger-body { flex: 1; }
.danger-title {
  font-size: 15px; font-weight: 600;
  color: #9C2A2A;
  margin-bottom: 2px;
}
.danger-sub {
  font-size: 12px;
  color: rgba(156, 42, 42, 0.7);
}
.danger-card > .icon:last-child {
  color: rgba(156, 42, 42, 0.5);
  width: 18px; height: 18px;
}
@media (prefers-color-scheme: dark) {
  .danger-card { background: rgba(224,116,116,0.08); border-color: rgba(224,116,116,0.3); }
  .row-icon.danger, .danger-title { color: #E07474; }
  .danger-sub { color: rgba(224,116,116,0.6); }
}

/* ============================================================
   EDIT PROFILE — avatar wrap + form card
   ============================================================ */
.edit-avatar-wrap {
  display: flex; flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 0 18px;
}
.edit-avatar-hint {
  font-size: 13px;
  color: var(--label-2);
  margin-top: 4px;
}
.form-card {
  background: var(--bg-elev);
  border-radius: 16px;
  border: 0.5px solid var(--sep);
  overflow: hidden;
}
.form-row {
  display: flex; flex-direction: column;
  gap: 6px;
  padding: 12px 16px;
}
.form-label-row {
  display: flex; align-items: center; justify-content: space-between;
}
.form-label-row .icon {
  width: 14px; height: 14px;
  color: var(--label-3);
}
.form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--verde);
}
.form-input {
  font: inherit;
  font-size: 16px;
  color: var(--label);
  background: transparent;
  border: none;
  outline: none;
  padding: 4px 0;
  width: 100%;
}
.form-input::placeholder { color: var(--label-3); }
.form-input[type="date"] {
  color-scheme: light dark;
  -webkit-text-fill-color: var(--label);
}

/* ============================================================
   HISTORICO — top counters + tabs
   ============================================================ */
.history-counters {
  display: flex;
  gap: 8px;
}
.counter {
  display: inline-flex; align-items: center;
  gap: 5px;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.counter .icon { width: 13px; height: 13px; }
.counter.pending {
  background: rgba(197, 122, 42, 0.10);
  color: var(--laranja);
}
.counter.done {
  background: var(--verde-tint);
  color: var(--verde);
}
.hist-tabs {
  display: flex;
  border-bottom: 0.5px solid var(--sep);
  background: rgba(247, 245, 240, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 44px;
  z-index: 15;
}
@media (prefers-color-scheme: dark) {
  .hist-tabs { background: rgba(27, 30, 21, 0.88); }
}
.hist-tab {
  flex: 1;
  padding: 14px 8px;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--label-2);
  position: relative;
  cursor: pointer;
}
.hist-tab .hist-tab-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.hist-tab .hist-tab-count {
  font-size: 12px;
  color: var(--label-3);
}
.hist-tab.active {
  color: var(--label);
}
.hist-tab.active::after {
  content: '';
  position: absolute;
  bottom: -0.5px; left: 30%; right: 30%;
  height: 2px;
  background: var(--verde);
  border-radius: 2px;
}

/* ============================================================
   EMPTY STATE BIG (Gentleman's style)
   ============================================================ */
.empty-big {
  display: flex; flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 24px 40px;
}
.empty-big .empty-icon {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--bg-grouped);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--label-3);
}
.empty-big .empty-icon .icon { width: 44px; height: 44px; stroke-width: 1.5; }
.empty-big .empty-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--label);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.empty-big .empty-sub {
  font-size: 15px;
  color: var(--label-2);
  margin-bottom: 28px;
  max-width: 280px;
  line-height: 1.5;
}

/* Light CTA pill style (matches Gentleman's "AGENDAR AGORA") */
.btn-cta-light {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--bg-elev);
  color: var(--label);
  border: 0.5px solid var(--sep-strong);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 6px 18px -8px rgba(0,0,0,0.15);
}
.btn-cta-light:active { transform: scale(0.97); }
.btn-cta-light .icon { width: 18px; height: 18px; }

/* Override outer .page padding — we now use .page-content for spacing */
.page { padding: 0; }

/* ============================================================
   SERVICE DETAIL
   ============================================================ */
.sd-hero {
  height: 200px;
  margin: -1px -0px 0;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px 20px;
}
.sd-hero-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.25);
  padding: 5px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.sd-head {
  padding-top: 18px;
  padding-bottom: 12px;
}
.sd-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--label);
  margin-bottom: 8px;
  line-height: 1.08;
}
.sd-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--label-2);
  font-size: 14px;
}
.sd-meta-item { display: inline-flex; align-items: center; gap: 5px; }
.sd-meta-item .icon { width: 15px; height: 15px; }
.sd-meta-dot { color: var(--label-3); }
.sd-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--verde);
  margin-left: auto;
}
.sd-price em { font-size: 13px; font-weight: 500; color: var(--label-2); margin-left: 2px; font-style: normal; }
.sd-desc {
  margin: 4px 0 8px;
  color: var(--label-2);
  font-size: 15px;
  line-height: 1.55;
}
.sd-ideal {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--label);
  padding: 12px 16px;
  background: var(--cremy);
  border-radius: 14px;
  line-height: 1.4;
}
@media (prefers-color-scheme: dark) {
  .sd-ideal { background: rgba(230, 219, 197, 0.15); }
}
.sd-cta-bar {
  position: sticky;
  bottom: 0;
  padding: 12px 20px calc(12px + var(--safe-bot));
  background: rgba(247, 245, 240, 0.96);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-top: 0.5px solid var(--sep);
  z-index: 10;
}
@media (prefers-color-scheme: dark) {
  .sd-cta-bar { background: rgba(27, 30, 21, 0.94); }
}

/* ============================================================
   BOOKING DETAIL
   ============================================================ */
.bd-hero {
  background: var(--verde);
  color: var(--cremy);
  border-radius: 22px;
  padding: 24px 20px 20px;
  margin: 12px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.bd-date-big {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.bd-day {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 600;
  line-height: 0.9;
}
.bd-monthyr {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(230, 219, 197, 0.7);
  font-weight: 500;
}
.bd-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: rgba(230, 219, 197, 0.85);
}
.bd-time .icon { width: 16px; height: 16px; }
.bd-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
}
.bd-status.confirmed { background: var(--cremy); color: var(--verde); }
.bd-status.cancelled { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); }
.bd-status.past { background: rgba(255,255,255,0.16); color: var(--cremy); }

/* Chev on history list rows */
.bk .item .row-chev,
.bookings-list .item .row-chev {
  color: var(--label-3);
  align-self: center;
  margin-left: 4px;
  flex-shrink: 0;
}
.bk .item .row-chev .icon,
.bookings-list .item .row-chev .icon {
  width: 18px; height: 18px;
}

/* Service item "check" remains clickable target — bigger hit area */
.list-group .item .check {
  padding: 8px;
  margin: -8px;
  border-radius: 999px;
}
.list-group .item .check:active { background: var(--bg-pressed); }

/* ============================================================
   BELL BADGE
   ============================================================ */
.home-top .bell {
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 0.5px solid var(--sep);
  color: var(--label);
  cursor: pointer;
}
.home-top .bell:active { background: var(--bg-pressed); }
.home-top .bell .icon { width: 20px; height: 20px; }
.home-top .bell .dot {
  position: absolute;
  top: -3px; right: -3px;
  background: var(--laranja);
  color: #fff;
  border: 2px solid var(--bg);
  border-radius: 999px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
.home-top .bell .dot.has-count { font-variant-numeric: tabular-nums; }

/* ============================================================
   NOTIFICATIONS LIST
   ============================================================ */
.notif-summary {
  font-size: 12px;
  color: var(--label-2);
  padding: 6px 4px 12px;
  letter-spacing: 0.01em;
}
.notif-list {
  display: flex; flex-direction: column;
  gap: 8px;
}
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--bg-elev);
  border: 0.5px solid var(--sep);
  border-radius: 14px;
  width: 100%;
  text-align: left;
  color: inherit; font: inherit;
  position: relative;
  cursor: pointer;
}
.notif-item:active { background: var(--bg-pressed); }
.notif-item.unread {
  background: var(--verde-tint);
  border-color: rgba(63, 66, 47, 0.2);
}
.notif-item .notif-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-grouped);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.notif-item .notif-icon .icon { width: 18px; height: 18px; }
.notif-item .notif-body { flex: 1; min-width: 0; }
.notif-item .notif-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--label);
  margin-bottom: 3px;
  letter-spacing: -0.005em;
}
.notif-item .notif-text {
  font-size: 13px;
  color: var(--label-2);
  line-height: 1.4;
  margin-bottom: 6px;
}
.notif-item .notif-time {
  font-size: 11px;
  color: var(--label-3);
  font-family: var(--font);
}
.notif-item .notif-dot {
  position: absolute;
  top: 14px; right: 14px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--laranja);
}
