*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { accent-color: #151614; }
    :root {
      --black: #151614;
      --white: #ffffff;
      --blue-dark: #151614;
      --blue-light: #ffffff;
      --gray: #f0efe7;
      --border: rgba(21,22,20,0.08);
      --muted: #8a8880;
      --green: #22a86e;
      --red: #a03030;
      --olive: #dae695;
      --text: #151614;
      --text-dim: #6b6a66;
      --text-muted: #c4c2ba;
      --bg: #ffffff;
      --bg-sub: #f5f4f0;
      --nav-bg: rgba(255,255,255,0.88);
    }
    [data-theme="dark"] {
      --gray: #1c1b19;
      --border: rgba(255,255,255,0.08);
      --muted: #8a8880;
      --text: #ffffff;
      --text-dim: #aaa7a0;
      --text-muted: #55524d;
      --bg: #151614;
      --bg-sub: #1e1d1b;
      --nav-bg: rgba(21,22,20,0.88);
    }
    html { overflow-x: hidden; }
    body { font-family: var(--font-base); background: var(--bg); color: var(--black); font-size: 15px; font-weight: 400; overflow-x: hidden; max-width: 100vw; transition: background 0.25s, color 0.25s; }
    body.landing-scroll-locked { height: 100vh; overflow: hidden; }
    [data-theme="dark"] body { color: var(--text); }

    /* ── NAV ── */
    .nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 500;
      display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
      padding: 14px 32px;
      margin: 0;
      background: var(--nav-bg);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      box-shadow: 0 1px 0 var(--border);
      transition: transform 0.35s ease;
      --nav-action-color: var(--text);
      --nav-avatar-bg: rgba(21,22,20,0.08);
      --nav-avatar-color: var(--text);
      --nav-avatar-border: rgba(21,22,20,0.14);
    }
    .nav.scrolled, .nav.nav-solid { background: var(--nav-bg); }
    [data-theme="dark"] .nav {
      --nav-avatar-bg: rgba(255,255,255,0.10);
      --nav-avatar-color: #ffffff;
      --nav-avatar-border: rgba(255,255,255,0.16);
    }
    .nav.hidden { transform: translateY(-100%); }
    .nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; justify-self: start; }
    .nav-logo-mark { height: 36px; width: auto; }
    .nav-wordmark { font-family: var(--font-base); font-size: 14px; font-weight: 600; letter-spacing: -0.2px; color: var(--text); display: block; line-height: 1.1; }
    .nav-portal-badge { display: none; }
    .nav-actions { display: flex; gap: 20px; align-items: center; justify-self: end; }
    .site-menu-wrapper { position: relative; justify-self: center; display: flex; align-items: center; gap: 16px; }
    .site-menu-btn { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer; user-select: none; padding: 6px 0; }
    .site-menu-btn:hover { color: var(--text-dim); }
    .site-menu-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
    .nav-pill-theme { width: 32px; height: 32px; background: transparent !important; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; opacity: 0.8; transition: opacity 0.15s; -webkit-tap-highlight-color: transparent; outline: none; -webkit-appearance: none; appearance: none; }
    .nav-pill-theme:hover, .nav-pill-theme:focus, .nav-pill-theme:focus-visible, .nav-pill-theme:active { opacity: 1; background: transparent !important; outline: none; box-shadow: none; }
    .nav-pill-theme svg { width: 14px; height: 14px; stroke: var(--text); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.25s; }
    .site-nav-dropdown { position: fixed; top: 64px; left: 0; right: 0; width: 100%; max-width: 100%; background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 0; border: none; box-shadow: none; opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; z-index: 490; transform: translateY(-8px); }
    .site-nav-dropdown.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
    .site-nav-dropdown .nav-mega { max-width: 900px; margin: 0 auto; padding: 40px 40px 48px; }
    .nav-mega { display: grid; grid-template-columns: 1.2fr 1px 1fr 1px 0.9fr; gap: 0; align-items: start; }
    .site-nav-dropdown .nav-mega--customer-menu { display: block; max-width: 220px; padding: 26px 24px 30px; }
    .nav-mega--customer-menu .nav-mega-col { padding: 0; }
    .nav-mega-col { padding: 0 40px; }
    .nav-mega-col:first-child { padding-left: 0; }
    .nav-mega-col:last-child { padding-right: 0; }
    .nav-mega-label { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: var(--text-dim); text-transform: uppercase; margin-bottom: 14px; display: block; }
    .nav-mega-link { display: block; padding: 6px 0; font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none; transition: color 0.1s; line-height: 1.3; }
    .nav-mega-link:hover { color: var(--text-dim); }
    .nav-mega-link.active { color: var(--text-muted); }
    .nav-mega-divider { background: var(--border); align-self: stretch; min-height: 100px; }
    .nav-menu-wrapper { position: relative; }
    .nav-pill { display: flex; align-items: center; background: rgba(21,22,20,0.06); border-radius: 10px; padding: 7px 8px 7px 18px; }
    .nav-pill-menu { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--text); padding-right: 14px; border-right: 1px solid var(--border); cursor: pointer; user-select: none; }
    .nav-pill-menu svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
    .nav-tab-label { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); margin-left: 12px; min-width: 76px; }
    .nav-dropdown { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) scale(0.96); min-width: 248px; background: #151614; border-radius: 10px; padding: 8px; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 20px 56px rgba(0,0,0,0.28), 0 2px 8px rgba(0,0,0,0.14); opacity: 0; pointer-events: none; transition: opacity 0.15s, transform 0.15s; z-index: 700; }
    .nav-dropdown.open { opacity: 1; pointer-events: auto; transform: translateX(-50%) scale(1); }
    .nav-dropdown-label { font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,0.3); letter-spacing: 0.07em; padding: 8px 12px 4px; }
    .nav-dropdown-link { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 12px; border: none; border-radius: 10px; background: transparent; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.75); text-decoration: none; cursor: pointer; font-family: inherit; transition: background 0.1s, color 0.1s; }
    .nav-dropdown-link:hover { background: rgba(255,255,255,0.07); color: #ffffff; }
    .nav-dropdown-link.active { color: #ffffff; background: rgba(255,255,255,0.06); }
    .nav-dropdown-link svg { width: 12px; height: 12px; stroke: rgba(255,255,255,0.25); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.1s, transform 0.1s; flex-shrink: 0; }
    .nav-dropdown-link:hover svg { stroke: rgba(255,255,255,0.6); transform: translateX(2px); }
    .nav-dropdown-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 4px 0; }
    .nav-email { font-size: 12px; color: rgba(255,255,255,0.65); }
    .nav-link-btn { background: none; border: none; color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; transition: color 0.15s; }
    .nav-link-btn:hover { color: var(--text-dim); }
    .nav-btn { display: inline-flex; align-items: center; justify-content: center; height: 36px; background: #151614; color: #ffffff; border: none; padding: 0 20px; border-radius: 10px; font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background 0.15s, color 0.15s; }
    .nav-btn:hover { background: #dae695; color: #151614; }
    .user-menu-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 18px; background: none; border: none; font-size: 13px; color: #151614; cursor: pointer; font-family: inherit; text-align: left; transition: background 0.12s; }
    .user-menu-btn:hover { background: #f0efe7; }
    .user-menu-btn-danger { color: #c03030; }
    .user-menu-btn-danger:hover { background: #fff0f0; }
    .nav-btn-outline { font-size: 12px; background: transparent; color: #151614; border: 1px solid rgba(21,22,20,0.2); border-radius: 10px; padding: 7px 14px; font-weight: 600; cursor: pointer; font-family: inherit; transition: border-color 0.15s, color 0.15s; }

    /* ── SCREENS ── */
    .screen { display: none; }
    .screen.active { display: block; }

    /* ── HERO ── */
    .hero { min-height: 100vh; background: var(--black); color: var(--white); padding: 140px 24px 80px; text-align: center; }
    .hero h1 { font-size: 54px; font-weight: 900; line-height: 1.05; letter-spacing: 0; margin-bottom: 20px; }
    .hero h1 em { color: var(--blue-light); font-style: normal; }
    .hero p { font-size: 17px; color: #bbb; max-width: 520px; margin: 0 auto 36px; line-height: 1.6; }
    .hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
    .btn-hero-primary { background: var(--blue-light); color: var(--black); border: none; padding: 14px 28px; font-size: 15px; font-weight: 800; cursor: pointer; font-family: inherit; transition: background 0.15s, color 0.15s; border-radius: 10px; }
    .btn-hero-primary:hover { background: var(--olive); color: var(--black); }
    .btn-hero-outline { background: none; border: 1.5px solid #555; color: #ccc; padding: 13px 24px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; transition: border-color 0.15s, color 0.15s; border-radius: 10px; }
    .btn-hero-outline:hover { border-color: var(--olive); color: #dae695; }

    /* ── DARK MODE — landing ── */
    [data-theme="dark"] .section,
    [data-theme="dark"] .cta-section,
    [data-theme="dark"] .footer { background: #151614; color: #ffffff; }
    [data-theme="dark"] .section-title,
    [data-theme="dark"] .benefit-title,
    [data-theme="dark"] .req-text strong { color: #ffffff; }
    [data-theme="dark"] .benefit-card,
    [data-theme="dark"] .req-item { background: rgba(255,255,255,0.055); border-color: rgba(255,255,255,0.08); }
    [data-theme="dark"] .benefit-grid,
    [data-theme="dark"] .req-grid { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.06); }
    [data-theme="dark"] .cta-heading { color: #ffffff; }
    [data-theme="dark"] .cta-divider { background: rgba(255,255,255,0.08); }
    [data-theme="dark"] .benefit-desc,
    [data-theme="dark"] .req-text,
    [data-theme="dark"] .footer-copy,
    [data-theme="dark"] .footer-links a { color: rgba(255,255,255,0.58); }

    /* ── SECTIONS ── */
    .section { padding: 96px 40px; border-top: 1px solid rgba(21,22,20,0.08); }
    .section-inner { max-width: 1100px; margin: 0 auto; }
    .eyebrow { font-family: var(--font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 16px; }
    .section-title { font-size: clamp(36px, 4.5vw, 56px); font-weight: 900; line-height: 1.05; letter-spacing: -1px; margin-bottom: 56px; }

    /* ── BENEFITS ── */
    .benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(21,22,20,0.08); border: 1px solid rgba(21,22,20,0.08); }
    .benefit-card { background: #ffffff; padding: 40px 32px; }
    .benefit-icon { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 20px; }
    .benefit-title { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
    .benefit-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }

    /* ── HOW IT WORKS ── */
    .dark-section { background: var(--black); border-color: transparent; }
    .dark-section .eyebrow { color: rgba(255,255,255,0.35); }
    .dark-section .section-title { color: #ffffff; }
    .step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
    .step-num { font-size: 56px; font-weight: 900; color: rgba(255,255,255,0.15); line-height: 1; margin-bottom: 16px; letter-spacing: -2px; }
    .step-title { font-size: 17px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
    .step-desc { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; }

    /* ── WHAT YOU GET ── */
    .req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(21,22,20,0.08); border: 1px solid rgba(21,22,20,0.08); }
    .req-item { display: flex; align-items: flex-start; gap: 14px; padding: 24px; background: #ffffff; }
    .req-dot { width: 22px; height: 22px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; color: white; font-size: 12px; font-weight: 700; }
    .req-text { font-size: 14px; line-height: 1.65; color: var(--muted); }
    .req-text strong { display: block; margin-bottom: 3px; color: var(--black); font-size: 15px; }

    /* ── CTA FOOTER ── */
    .cta-section { background: #ffffff; border-top: 1px solid rgba(21,22,20,0.08); padding: 96px 40px; text-align: center; }
    .cta-inner { max-width: 600px; margin: 0 auto; }
    .cta-logo { width: 100%; max-width: 100%; margin: 0 auto 72px; display: block; }
    .cta-divider { width: 100%; height: 1px; background: rgba(21,22,20,0.08); margin: 0 auto 32px; }
    .cta-heading { font-size: clamp(28px, 4vw, 48px); font-weight: 900; letter-spacing: -1px; margin-bottom: 32px; color: #151614; }

    /* ── FOOTER ── */
    .footer { border-top: 1px solid var(--border); padding: 48px 0; background: var(--bg); }
    .footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
    .footer-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
    .footer-wordmark { font-size: 13px; font-weight: 600; color: var(--text-dim); }
    .footer-links { display: flex; gap: 24px; }
    .footer-links a { font-size: 13px; color: var(--text-dim); text-decoration: none; transition: color 0.15s; }
    .footer-links a:hover { color: var(--text); }
    .footer-copy { font-size: 12px; color: var(--text-dim); }

    /* ── DASHBOARD ── */
    .dash-layout { display: block; min-height: 100vh; background: #ffffff; padding-top: 64px; }
    .dash-main { max-width: 680px; margin: 0 auto; padding: 40px 24px 100px; }
    .dash-page { display: none; }
    .dash-page.active { display: block; }
    .dash-page-title { font-size: 22px; font-weight: 900; margin-bottom: 6px; }
    .dash-page-sub { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
    .orders-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
    .orders-page-head .dash-page-sub { margin-bottom: 0; }
    .orders-start-btn,
    .orders-empty-btn {
      border: none;
      border-radius: 8px;
      background: var(--black);
      color: var(--white);
      cursor: pointer;
      font-family: inherit;
      font-size: 13px;
      font-weight: 850;
      min-height: 44px;
      padding: 0 20px;
      white-space: nowrap;
      transition: background 0.15s, color 0.15s;
    }
    .orders-start-btn:hover,
    .orders-empty-btn:hover { background: #dae695; color: #151614; }
    .orders-empty-btn { margin-top: 22px; }

    /* ── HOME — KIOSK ── */
    .k-greeting { margin-bottom: 40px; }
    .k-greeting-name { font-size: 13px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
    .k-greeting-title { font-size: clamp(28px, 5vw, 40px); font-weight: 900; letter-spacing: -0.5px; line-height: 1.1; color: #151614; }
    .k-section-label { font-size: 11px; font-weight: 800; color: #aaa; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 12px; }
    .k-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; }
    .k-action-btn {
      width: 100%; display: flex; align-items: center; justify-content: space-between;
      padding: 22px 24px; border: none; border-radius: 14px;
      background: rgba(21,22,20,0.05);
      backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
      color: #151614; font-family: inherit; font-size: 19px; font-weight: 800;
      cursor: pointer; text-align: left; transition: background 0.15s, transform 0.1s;
    }
    .k-action-btn:active { transform: scale(0.983); }
    .k-action-btn:hover { background: #dae695; }
    .k-action-btn:hover .k-action-btn-sub { color: rgba(21,22,20,0.55); }
    .k-action-btn:hover .k-action-btn-arrow { color: #151614; }
    .k-action-btn:hover .k-action-btn-icon { background: rgba(21,22,20,0.10); color: #151614; }
    .k-action-btn-icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(21,22,20,0.07); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.15s, color 0.15s; }
    .k-action-btn-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .k-action-btn-left { display: flex; align-items: center; gap: 16px; }
    .k-action-btn-label { font-size: 19px; font-weight: 800; }
    .k-action-btn-sub { font-size: 13px; font-weight: 500; color: #777; margin-top: 2px; transition: color 0.15s; }
    .k-action-btn-arrow { color: #bbb; flex-shrink: 0; transition: color 0.15s; }
    .k-action-btn-arrow svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
    .k-action-btn--new { background: #151614; color: #ffffff; }
    .k-action-btn--new .k-action-btn-sub { color: rgba(255,255,255,0.5); }
    .k-action-btn--new .k-action-btn-arrow { color: rgba(255,255,255,0.35); }
    .k-action-btn--new .k-action-btn-icon { background: rgba(255,255,255,0.10); color: #dae695; }
    .k-action-btn--new:hover { background: #dae695; color: #151614; }
    .k-action-btn--new:hover .k-action-btn-sub { color: rgba(21,22,20,0.55); }
    .k-action-btn--new:hover .k-action-btn-icon { background: rgba(21,22,20,0.10); color: #151614; }
    .k-action-btn--new:hover .k-action-btn-arrow { color: #151614; }
    .k-action-btn--normal { }
    [data-theme="dark"] .dash-layout,
    [data-theme="dark"] .dash-main { background: #151614; color: #ffffff; }
    [data-theme="dark"] .k-greeting-name,
    [data-theme="dark"] .k-greeting-title,
    [data-theme="dark"] .k-action-btn-label { color: #ffffff; }
    [data-theme="dark"] .k-action-btn { background: rgba(255,255,255,0.07); color: #ffffff; }
    [data-theme="dark"] .k-action-btn:hover { background: #dae695; color: #151614; }
    [data-theme="dark"] .k-action-btn-sub { color: #888; }
    .home-section { border-top: 1px solid var(--border); padding-top: 28px; margin-top: 28px; }
    .home-section--secondary { opacity: 0.9; }
    .home-section-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
    .home-section-head h2 { font-size: 19px; font-weight: 900; letter-spacing: 0; margin-bottom: 4px; }
    .home-section-head p { font-size: 13px; color: var(--muted); line-height: 1.5; }
    .home-section-head button {
      height: 38px; padding: 0 16px; font-size: 13px; font-weight: 700; border-radius: 8px;
      cursor: pointer; font-family: inherit; transition: background 0.15s, color 0.15s; white-space: nowrap;
      background: rgba(21,22,20,0.05); color: var(--black); border: none;
    }
    .home-section-head button:hover { background: #dae695; color: #151614; }
    .home-tailors,
    .tailor-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .tailor-list { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
    .customer-tailor-card,
    .home-activity-card {
      border: none;
      border-radius: 14px;
      background: rgba(21,22,20,0.05);
      padding: 18px;
    }
    .customer-tailor-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
    .customer-tailor-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gray); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; flex-shrink: 0; }
    .customer-tailor-name { font-size: 15px; font-weight: 900; margin-bottom: 3px; }
    .customer-tailor-meta { font-size: 12px; color: var(--muted); line-height: 1.45; }
    .customer-tailor-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
    .customer-tailor-tag { font-size: 11px; color: var(--black); background: var(--gray); border-radius: 10px; padding: 5px 9px; }
    .customer-tailor-actions { display: flex; gap: 8px; }
    .customer-tailor-actions button { flex: 1; min-height: 34px; border-radius: 8px; border: 1px solid var(--border); background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; font-family: inherit; transition: background 0.15s, color 0.15s, border-color 0.15s; }
    .customer-tailor-actions button:first-child { background: var(--black); color: var(--white); border-color: var(--black); }
    .customer-tailor-actions button:hover { background: var(--olive); color: var(--black); border-color: var(--olive); }
    .home-activity-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
    .home-activity-title { font-size: 15px; font-weight: 900; margin-bottom: 3px; }
    .home-activity-sub { font-size: 13px; color: var(--muted); line-height: 1.45; }
    .home-activity-empty { color: var(--muted); font-size: 14px; line-height: 1.65; padding: 18px 20px; background: rgba(21,22,20,0.04); border-radius: 12px; }
    .home-activity-cta { background: none; border: none; font-family: inherit; font-size: 14px; font-weight: 700; color: var(--black); cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 2px; }

    /* ── Active order rows ── */
    .ha-row { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: rgba(21,22,20,0.05); border: none; border-radius: 12px; margin-bottom: 8px; cursor: pointer; text-align: left; font-family: inherit; transition: background 0.15s, transform 0.1s; }
    .ha-row:last-child { margin-bottom: 0; }
    .ha-row:hover { background: #dae695; }
    .ha-row--ready { background: #f0fdf4; border: 1.5px solid #86efac; }
    .ha-row--ready:hover { background: #dcfce7; border-color: #22c55e; }
    .ha-left { flex: 1; min-width: 0; }
    .ha-garment { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .ha-tailor { font-size: 12px; color: var(--muted); margin-top: 2px; }
    .ha-next { background: #f0efe7; border-radius: 8px; color: #444; padding: 6px 10px; font-size: 11px; font-weight: 850; white-space: nowrap; }
    .ha-track { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
    .ha-dot { width: 8px; height: 8px; border: 1.5px solid rgba(21,22,20,0.15); border-radius: 999px; background: var(--white); flex-shrink: 0; }
    .ha-dot.done { background: var(--black); border-color: var(--black); }
    .ha-dot.active { background: var(--olive); border-color: var(--black); }
    .ha-line { width: 14px; height: 2px; background: rgba(21,22,20,0.1); flex-shrink: 0; }
    .ha-line.done { background: var(--black); }

    /* ── Saved tailors row ── */
    .home-fav-row { display: flex; flex-direction: column; gap: 8px; }
    .home-fav-card { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: rgba(21,22,20,0.05); border: none; border-radius: 12px; }
    .home-fav-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--black); color: #fff; font-size: 13px; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .home-fav-info { flex: 1; min-width: 0; }
    .home-fav-name { font-size: 14px; font-weight: 800; }
    .home-fav-shop { font-size: 12px; color: var(--muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .home-fav-req { background: var(--black); color: #fff; border: none; border-radius: 8px; font-size: 12px; font-weight: 700; font-family: inherit; padding: 8px 14px; cursor: pointer; white-space: nowrap; flex-shrink: 0; transition: background 0.15s; }
    .home-fav-req:hover { background: #dae695; color: #151614; }

    /* ── Fit profile card — Uber-style ring + chips ── */
    .home-section--fit { background: none; }
    .home-fit-card { background: var(--white); border: 1.5px solid var(--border);  padding: 20px 22px; }
    .home-fit-card--done { background: #f6fef9; border-color: #bbf7d0; }
    .fit-card-top { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
    .fit-card-ring { flex-shrink: 0; }
    .fit-ring-svg { display: block; }
    .fit-card-right { flex: 1; min-width: 0; }
    .fit-card-label { font-size: 13px; font-weight: 800; color: var(--black); margin-bottom: 4px; }
    .fit-card-label em { font-style: normal; color: var(--muted); font-weight: 600; }
    .fit-card-sub { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 12px; }
    .fit-card-cta { background: var(--black); color: #fff; border: none;  font-size: 12px; font-weight: 700; font-family: inherit; padding: 8px 16px; cursor: pointer; }
    .fit-card-cta:hover { background: #333; }
    .home-fit-card--done .fit-card-cta { background: #16a34a; }
    .home-fit-card--done .fit-card-cta:hover { background: #15803d; }
    .fit-chips { display: flex; flex-wrap: wrap; gap: 6px; }
    .fit-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px;  font-size: 11px; font-weight: 600; background: var(--gray); color: var(--muted); border: 1px solid transparent; white-space: nowrap; }
    .fit-chip--done { background: #f0fdf4; color: #166534; border-color: #bbf7d0; font-weight: 700; }
    .fit-chip-val { font-family: var(--font-mono); font-size: 10px; color: #15803d; margin-left: 2px; }

    /* ── FITS TAB ── */
    .fits-section { margin-bottom: 28px; }
    .fits-section-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); margin-bottom: 12px; }
    .fits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .fits-field label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 5px; }
    .fits-field input { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border);  font-size: 14px; font-family: inherit; outline: none; transition: border-color 0.15s; }
    .fits-field input:focus { border-color: var(--black); }
    .fits-field--full { grid-column: 1 / -1; }
    .pref-group { margin-bottom: 16px; }
    .pref-group label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 8px; }
    .pref-chips { display: flex; gap: 6px; flex-wrap: wrap; }
    .pref-chip { padding: 6px 14px; border-radius: 8px; border: 1.5px solid var(--border); font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.12s; }
    .pref-chip.selected { background: var(--black); color: var(--white); border-color: var(--black); }
    .fits-save-row { margin-top: 24px; display: flex; align-items: center; gap: 12px; }
    .btn-save { background: var(--black); color: var(--white); border: none; padding: 12px 24px;  font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background 0.15s; border-radius: 10px; }
    .btn-save:hover { background: var(--olive); color: var(--black); }
    .save-msg { font-size: 13px; color: #22a86e; display: none; }

    /* ── ORDERS TAB ── */
    .orders-hub { display: flex; flex-direction: column; gap: 18px; }
    /* ── 2-column product card grid ── */
    .orders-pc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .order-pc {
      background: rgba(21,22,20,0.05);
      border: none;
      border-radius: 14px;
      padding: 16px;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      gap: 5px;
      transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.1s;
      min-height: 140px;
    }
    .order-pc:hover { background: #dae695; transform: translateY(-1px); }
    .order-pc--ready { background: #f0fdf4; border-color: #86efac; }
    .order-pc--declined { background: #fff8f8; border-color: #fca5a5; }
    .order-pc--past {
      opacity: 1;
      background: var(--white);
      border: 1px solid rgba(21,22,20,0.1);
      border-radius: 12px;
      box-shadow: 0 10px 24px rgba(21,22,20,0.04);
    }
    .order-pc--past:hover {
      background: #fbfcf2;
      border-color: rgba(21,22,20,0.18);
      box-shadow: 0 14px 32px rgba(21,22,20,0.07);
    }
    .order-pc--past .order-pc-garment { font-size: 16px; }
    .order-pc--cancelled {
      opacity: 1;
      background: #fffafa;
      border-color: rgba(153,27,27,0.18);
    }
    .order-pc-header { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
    .order-pc-ref { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; font-weight: 800; letter-spacing: 0.3px; text-transform: uppercase; }
    .order-pc-garment { font-size: 15px; font-weight: 900; line-height: 1.2; }
    .order-pc-tailor { font-size: 11px; color: var(--muted); }
    .order-pc-msg { font-size: 11px; color: var(--muted); line-height: 1.4; }
    .order-pc-msg--ready { color: #15803d; font-weight: 700; }
    .order-pc-decline { font-size: 11px; color: #991b1b; font-style: italic; line-height: 1.4; }
    .order-pc-quote { display: flex; align-items: center; gap: 8px; font-size: 12px; }
    .order-pc-approve { background: var(--black); color: #fff; border: none; border-radius: 8px; font-size: 11px; font-weight: 700; font-family: inherit; padding: 4px 10px; cursor: pointer; }
    .order-pc-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border); }
    .order-pc-arrow { font-size: 13px; color: var(--muted); font-weight: 600; }
    .order-pc-cancel { background: none; border: none; font-size: 13px; color: var(--muted); cursor: pointer; padding: 2px; line-height: 1; }
    .order-pc-cancel:not(:disabled):hover {
      background: transparent !important;
      border-color: transparent !important;
      color: #991b1b !important;
    }
    /* Section headers */
    .orders-section-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 2px 0; }
    .orders-section-head h3 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); }
    .orders-section-sub { font-size: 12px; color: var(--muted); margin-top: 1px; }
    .orders-section-head--alert h3 { color: #b91c1c; }
    .orders-section-head--alert .orders-section-sub { color: #b91c1c; opacity: 0.75; }
    .orders-section-head--past { border-top: 1px solid var(--border); padding-top: 16px; }
    .orders-section-head button { border: 1px solid var(--border);  background: transparent; color: var(--black); cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 700; min-height: 32px; padding: 0 14px; white-space: nowrap; transition: background 0.15s, color 0.15s, border-color 0.15s; }
    .orders-section-head button:not(:disabled):hover { background: #dae695 !important; color: #151614; border-color: #dae695; }
    .orders-active-empty { border: 1.5px dashed var(--border);  padding: 18px 20px; color: var(--muted); font-size: 13px; line-height: 1.5; }
    /* Order cards */
    .order-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 12px; padding: 18px 20px; }
    .order-card--pickup { background: #f0fdf4; border-color: #86efac; }
    .order-card--done { opacity: 0.65; }
    .order-card--cancelled-past { opacity: 0.5; }
    .order-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
    .order-card-main { flex: 1; min-width: 0; }
    .order-garment { font-size: 17px; font-weight: 900; }
    .order-tailor-line { font-size: 12px; color: var(--muted); margin-top: 4px; display: flex; align-items: center; gap: 4px; }
    .order-status-badge { padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; letter-spacing: 0.3px; text-transform: uppercase; }
    .st-assigned { background: #f0efe7; color: #666; }
    .st-progress { background: #e0edff; color: #1e40af; }
    .st-ready    { background: #d4f4e4; color: #14532d; }
    .st-complete { background: #e8f5e9; color: #166534; }
    .st-declined { background: #fde8e8; color: #991b1b; }
    .order-timeline { display: flex; gap: 0; margin: 14px 0 6px; }
    .tl-step { flex: 1; position: relative; }
    .tl-step::before { content: ''; position: absolute; top: 7px; left: 50%; right: -50%; height: 2px; background: rgba(21,22,20,0.08); z-index: 0; }
    .tl-step:last-child::before { display: none; }
    .tl-dot-wrap { display: flex; justify-content: center; position: relative; z-index: 1; margin-bottom: 6px; }
    .tl-dot { width: 14px; height: 14px; border: 2px solid rgba(21,22,20,0.12); border-radius: 999px; background: var(--white); }
    .tl-dot.done   { background: var(--black); border-color: var(--black); }
    .tl-dot.active { background: var(--olive); border-color: var(--black); box-shadow: 0 0 0 3px rgba(218,230,149,0.35); }
    .tl-label { font-size: 10px; color: rgba(21,22,20,0.35); text-align: center; line-height: 1.3; letter-spacing: 0.2px; }
    .tl-label.done   { color: var(--black); font-weight: 700; }
    .tl-label.active { color: var(--black); font-weight: 700; }
    .orders-empty { text-align: center; padding: 74px 24px; color: var(--muted); font-size: 15px; line-height: 1.7; border: 1px solid var(--border);  background: #fbfbfa; }
    .order-dates { font-size: 11px; color: var(--muted); }
    .orders-list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .orders-list-grid .order-card { margin-bottom: 0; }
    .orders-list-empty { border: 1px dashed var(--border);  padding: 22px; color: var(--muted); font-size: 14px; grid-column: 1 / -1; text-align: center; }

    /* ── APPOINTMENTS TAB ── */
    .appt-card { background: var(--white); border: 1.5px solid var(--border);  padding: 18px 20px; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .appt-info-title { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
    .appt-info-sub { font-size: 13px; color: var(--muted); }
    .appt-status { font-size: 12px; font-weight: 700; padding: 4px 10px;  }
    .appt-pending   { background: #f5f5f3; color: #555; }
    .appt-confirmed { background: #d4f4e4; color: #166534; }
    .appt-cancelled { background: #fde8e8; color: #a03030; }
    .btn-book { background: var(--black); color: var(--white); border: none; padding: 11px 20px;  font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; margin-bottom: 20px; transition: background 0.15s, color 0.15s; border-radius: 10px; }
    .book-form { background: var(--gray);  padding: 24px; margin-bottom: 20px; }
    .book-form .field { margin-bottom: 14px; }
    .book-form .field label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: var(--muted); margin-bottom: 5px; }
    .book-form .field select,
    .book-form .field input,
    .book-form .field textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border);  font-size: 14px; font-family: inherit; outline: none; background: var(--white); transition: border-color 0.15s; }
    .book-form .field select:focus,
    .book-form .field input:focus,
    .book-form .field textarea:focus { border-color: var(--black); }
    .book-form-btns { display: flex; gap: 10px; margin-top: 6px; }
    .btn-cancel-book { background: none; border: 1.5px solid var(--border); color: var(--muted); padding: 10px 18px;  font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all 0.15s; border-radius: 10px; }

    /* ── ACCOUNT TAB ── */
    .account-section { padding: 16px 0; border-bottom: 1px solid var(--border); margin-bottom: 0; }
    .account-section:last-child { border-bottom: none; padding-bottom: 4px; }
    .account-section-title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); margin-bottom: 12px; }
    .account-field label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: var(--muted); margin-bottom: 4px; }
    .account-field input { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; font-family: inherit; outline: none; background: var(--white); transition: border-color 0.15s; margin-bottom: 10px; color: var(--black); }
    .account-field input:focus { border-color: var(--black); }
    .form-err { font-size: 12px; color: #a03030; margin-bottom: 10px; display: none; }

    /* ── AUTH MODAL ── */
    .modal-overlay {
      display: none; position: fixed; inset: 0;
      background: rgba(0,0,0,0.4); z-index: 9000;
      align-items: center; justify-content: center;
      padding: 20px;
    }
    .modal-overlay.open { display: flex; }
    .modal { background: var(--white); padding: 40px; width: 420px; max-width: 100%; max-height: 90vh; overflow-y: auto; position: relative; border-radius: 16px; }
    .modal-close { position: absolute; top: 18px; right: 20px; background: none; border: none; font-size: 22px; color: var(--muted); cursor: pointer; line-height: 1; }
    .modal-title { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
    .modal-sub { font-size: 13px; color: var(--muted); margin-bottom: 26px; line-height: 1.5; }
    .btn-google { background: var(--white); color: var(--black); border: 1.5px solid var(--border); padding: 12px 20px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; transition: border-color 0.15s; border-radius: 10px; }
    .btn-google:hover { border-color: var(--olive); }
    .or-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0; }
    .or-divider::before, .or-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
    .or-divider span { font-size: 12px; color: var(--muted); }
    .field { margin-bottom: 16px; }
    .field label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: var(--black); margin-bottom: 6px; }
    .field input, .field textarea, .field select {
      width: 100%; font-size: 13px; padding: 10px 13px;
      border: 1px solid var(--border);
      font-family: inherit; color: var(--black); outline: none; background: var(--white);
      transition: border-color 0.15s;
    }
    .field input:focus, .field textarea:focus, .field select:focus { border-color: var(--black); }
    .field textarea { resize: vertical; min-height: 90px; }
    .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .form-err { font-size: 12px; color: var(--red); margin-top: 10px; display: none; }
    .auth-err { font-size: 12px; color: var(--red); margin-top: 8px; display: none; }
    .btn-primary-modal { width: 100%; padding: 13px 20px; background: var(--black); color: var(--white); border: none; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background 0.15s, color 0.15s; border-radius: 10px; margin-top: 6px; }
    .btn-primary-modal:hover { background: var(--olive); color: var(--black); }
    .btn-primary { background: var(--black); color: var(--white); border: none; padding: 13px 20px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit; width: 100%; transition: background 0.15s; border-radius: 10px; }
    .btn-primary:hover { background: var(--olive); color: var(--black); }
    .btn-primary:disabled { opacity: 0.5; cursor: default; }
    .auth-switch { text-align: center; margin-top: 18px; font-size: 13px; color: var(--muted); }
    .auth-switch a { color: var(--black); font-weight: 700; cursor: pointer; }

    /* ── TABLET ── */
    @media (max-width: 900px) {
      .dash-main { padding: 32px 32px 80px; }
    }

    /* ── MOBILE ── */
    @media (max-width: 640px) {
      .nav { margin: 0 12px; padding: 7px 12px 7px 16px; top: calc(10px + env(safe-area-inset-top, 0px)); }
      .nav-portal-badge { display: none; }
      .nav-actions { gap: 4px; }
      .site-nav-dropdown { top: calc(72px + env(safe-area-inset-top, 0px)); }
      .site-nav-dropdown .nav-mega { padding: 28px 20px 32px; }
      .site-nav-dropdown .nav-mega--customer-menu { max-width: calc(100% - 48px); padding: 18px 20px 22px; }
      .nav-mega--customer-menu .nav-mega-col { margin-bottom: 0; }
      .nav-mega { grid-template-columns: 1fr; }
      .nav-mega-divider { display: none; }
      .nav-mega-col { padding: 0; margin-bottom: 24px; }
      .nav-mega-col:last-child { margin-bottom: 0; }
      .nav-tab-label { display: none; }
      .nav-link-btn { height: 40px; padding: 0 12px; font-size: 12px; }
      .nav-btn { height: 40px; padding: 0 14px; font-size: 12px; }
      .nav-dropdown { right: 0; left: auto; transform: translateY(-4px) scale(0.96); }
      .nav-dropdown.open { transform: translateY(0) scale(1); }
      .hero { padding: calc(80px + env(safe-area-inset-top, 0px)) 20px 48px; }
      .hero h1 { font-size: 34px; letter-spacing: 0; }
      .hero p { font-size: 15px; }
      .section { padding: 56px 20px; }
      .section-title { font-size: 28px; letter-spacing: 0; margin-bottom: 36px; }
      .benefit-grid { grid-template-columns: 1fr; }
      .benefit-card { padding: 28px 22px; }
      .step-grid { grid-template-columns: 1fr; gap: 32px; }
      .req-grid { grid-template-columns: 1fr; }
      .cta-section { padding: 56px 20px; }
      .cta-logo { max-width: 160px; margin-bottom: 40px; }
      .cta-heading { font-size: 28px; }
      .footer-inner { padding: 0 20px; flex-direction: column; align-items: center; text-align: center; }
      .dash-layout { min-height: 100vh; padding-top: calc(64px + env(safe-area-inset-top, 0px)); }
      .dash-main { padding: 24px 16px 80px; }
      .dash-page-title { font-size: 18px; }
      .orders-page-head { flex-direction: column; align-items: stretch; gap: 14px; }
      .orders-start-btn { width: 100%; }
      .orders-section-head { flex-direction: row; }
      .orders-list-grid { grid-template-columns: 1fr; }
      .orders-pc-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
      .order-pc { min-height: 120px; padding: 12px; }
      .order-timeline { overflow-x: auto; padding-bottom: 4px; }
      .tl-step { min-width: 68px; }
      .k-greeting-title { font-size: clamp(22px, 5vw, 34px); }
      .k-action-btn { padding: 20px 20px; }
      .k-action-btn-label { font-size: 18px; }
      .customer-profile-page .acc-page-header { align-items: flex-start; padding: 18px; }
      .customer-profile-page .acc-page-avatar { width: 56px; height: 56px; border-radius: 12px; }
      .customer-profile-page .acc-page-name { font-size: 22px; }
      .customer-profile-page .acc-photo-actions { align-items: stretch; flex-direction: column; gap: 6px; }
      .customer-profile-page .acc-subpane.active > .account-section,
      .customer-profile-page .acc-subpane.active > .fits-library { padding: 18px; }
      .account-saved-tailor { grid-template-columns: auto 1fr; }
      .account-saved-tailor button { grid-column: 1 / -1; width: 100%; }
      .home-section-head { align-items: flex-start; }
      .home-tailors, .tailor-list { grid-template-columns: 1fr; }
      .fits-grid { grid-template-columns: 1fr; }
      .order-card { padding: 14px 16px; }
      .appt-card { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 16px; }
    }

/* ══════════════════════════════════════════
   CUSTOMER — NEW UTILITY CLASSES
══════════════════════════════════════════ */

/* Account tab */
.acc-current-email { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.acc-email-val { color: var(--black); font-weight: 600; }
.account-danger-section { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-color: rgba(160,48,48,0.2); background: #fffafa; }
.account-danger-copy { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.account-delete-btn { border: 1px solid rgba(160,48,48,0.28); background: #fff; color: #a03030;  padding: 12px 18px; font-family: inherit; font-size: 13px; font-weight: 850; cursor: pointer; white-space: nowrap; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.account-delete-btn:hover { background: #dae695; color: #151614; border-color: #dae695; }
.acc-signout-row { padding-top: 12px; }
.acc-signout-btn { background: none; border: none; font-size: 13px; color: var(--muted); cursor: pointer; font-family: inherit; text-decoration: underline; }

/* ── Account page header ── */
.acc-page-header { display: flex; align-items: center; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid var(--border); margin-bottom: 0; }
.acc-page-avatar { width: 64px; height: 64px; flex-shrink: 0; cursor: pointer; }
.acc-avatar-wrap { flex-shrink: 0; }
.acc-page-identity { flex: 1; min-width: 0; }
.acc-page-name { font-size: 20px; font-weight: 900; margin-bottom: 2px; }
.acc-page-email { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.acc-photo-actions { display: flex; align-items: center; gap: 10px; }

/* ── Account sub-panes ── */
.acc-subpane { display: none; padding-top: 4px; }
.acc-subpane.active { display: block; }

/* ── Customer profile pages: matches tailor portal cards ── */
.customer-profile-page { max-width: 760px; margin: 0 auto; }
.customer-profile-page .acc-page-header {
  background: rgba(21,22,20,0.035);
  border: 1px solid rgba(21,22,20,0.06);
  border-radius: 12px;
  margin-bottom: 16px;
  padding: 22px;
}
.customer-profile-page .acc-page-avatar { border-radius: 14px; }
.customer-profile-page .acc-page-name { font-size: 25px; font-weight: 900; line-height: 1.03; margin-bottom: 5px; overflow-wrap: anywhere; }
.acc-disclosure-stack { display: flex; flex-direction: column; gap: 12px; }
.customer-profile-page .acc-profile-disclosure { background: rgba(21,22,20,0.035); border: 1px solid rgba(21,22,20,0.06); border-radius: 12px; overflow: hidden; }
.customer-profile-page .acc-profile-disclosure summary { align-items: center; background: rgba(255,255,255,0.58); color: var(--black); cursor: pointer; display: flex; font-size: 14px; font-weight: 900; gap: 16px; justify-content: space-between; list-style: none; min-height: 58px; padding: 16px 17px; }
.customer-profile-page .acc-profile-disclosure summary::-webkit-details-marker { display: none; }
.customer-profile-page .acc-profile-disclosure summary svg { fill: none; height: 17px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.3; transition: transform 0.15s; width: 17px; }
.customer-profile-page .acc-profile-disclosure[open] summary svg { transform: rotate(180deg); }
.customer-profile-page .acc-profile-disclosure[open] summary { border-bottom: 1px solid rgba(21,22,20,0.08); }
.customer-profile-page--fit .acc-page-header { display: none; }
.customer-profile-page--fit .acc-profile-disclosure:not(.acc-profile-disclosure--fit) { display: none; }
.customer-profile-page--fit .acc-disclosure-stack { gap: 0; }
.customer-profile-page--fit .acc-profile-disclosure--fit {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.customer-profile-page--fit .acc-profile-disclosure--fit summary { display: none; }
.customer-profile-page--fit .acc-signout-btn--full { display: none; }
.customer-profile-page .acc-subpane { display: block; padding: 6px 20px 20px; }
.customer-profile-page--fit .acc-subpane { padding: 0; }
.customer-profile-page .acc-subpane > .account-section,
.customer-profile-page .acc-subpane > .fits-library {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin-bottom: 0;
  padding: 14px 0;
}
.customer-profile-page .acc-subpane > .account-section { border-bottom: 1px solid var(--border); }
.customer-profile-page .acc-subpane > .account-section:last-child { border-bottom: 0; padding-bottom: 0; }
.customer-profile-page .account-section-title,
.customer-profile-page .fits-section-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.account-placeholder {
  border: 1px dashed rgba(21,22,20,0.14);
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  padding: 18px;
}
.account-saved-list { display: flex; flex-direction: column; gap: 8px; }
.account-saved-tailor {
  align-items: center;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(21,22,20,0.08);
  border-radius: 10px;
  display: grid;
  gap: 12px;
  grid-template-columns: auto 1fr auto;
  padding: 12px;
}
.account-saved-avatar { width: 42px; height: 42px; border-radius: 10px; }
.account-saved-name { color: var(--black); font-size: 14px; font-weight: 900; }
.account-saved-shop { color: var(--muted); font-size: 12px; margin-top: 2px; }
.account-saved-tailor button {
  background: #151614;
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 850;
  min-height: 34px;
  padding: 0 12px;
}
.account-saved-tailor button:hover { background: #dae695; color: #151614; }
.account-small-save { border-radius: 8px; font-size: 13px; margin-top: 4px; min-width: 92px; padding: 10px 18px; width: auto; }
.acc-signout-btn--full { background: rgba(21,22,20,0.06); border: 0; border-radius: 10px; color: #666; font-size: 15px; font-weight: 800; min-height: 52px; text-decoration: none; width: 100%; }
.acc-signout-btn--full:hover { background: rgba(21,22,20,0.10); color: #151614; }

@media (max-width: 640px) {
  .site-nav-dropdown .nav-mega--customer-menu { max-width: calc(100% - 48px); padding: 18px 20px 22px; }
  .nav-mega--customer-menu .nav-mega-col { margin-bottom: 0; padding: 0; }
  .customer-profile-page .acc-page-header { align-items: flex-start; padding: 18px; }
  .customer-profile-page .acc-page-avatar { width: 56px; height: 56px; border-radius: 12px; }
  .customer-profile-page .acc-page-name { font-size: 22px; }
  .customer-profile-page .acc-photo-actions { align-items: stretch; flex-direction: column; gap: 6px; }
  .customer-profile-page .acc-profile-disclosure summary { min-height: 52px; padding: 14px 15px; }
  .customer-profile-page .acc-subpane { padding: 18px; }
  .account-saved-tailor { grid-template-columns: auto 1fr; }
  .account-saved-tailor button { grid-column: 1 / -1; width: 100%; }
}

/* Book appointment form */
.field-optional { font-size: 12px; font-weight: 400; color: var(--muted); }

/* Nav (rendered by JS) */
.cust-nav-right { position: relative; display: flex; align-items: center; gap: 8px; }
.cust-bell-wrap { position: relative; }
.cust-bell-btn { background: none; border: none; cursor: pointer; color: var(--nav-action-color, #fff); padding: 6px 8px;  display: flex; align-items: center; position: relative; }
.cust-bell-badge { display: none; position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px; background: #e03030;  font-size: 12px; font-weight: 700; color: #fff; align-items: center; justify-content: center; padding: 0 3px; line-height: 1; }
.cust-bell-dropdown { display: none; position: absolute; top: calc(100% + 16px); right: -40px; width: 320px; background: #fff; border: 1px solid #e0e0de;  box-shadow: 0 8px 32px rgba(0,0,0,0.14); z-index: 500; overflow: hidden; }
.cust-bell-dropdown-hd { padding: 16px 16px 10px; border-bottom: 1px solid #f0f0ee; font-size: 13px; font-weight: 700; color: #151614; }
.cust-bell-list { max-height: 320px; overflow-y: auto; }
.cust-avatar { width: 36px; height: 36px;  background: var(--nav-avatar-bg, rgba(255,255,255,0.2)); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--nav-avatar-color, #fff); cursor: pointer; flex-shrink: 0; border: 2px solid var(--nav-avatar-border, rgba(255,255,255,0.5)); letter-spacing: 0.5px; user-select: none; overflow: hidden; }
.cust-avatar--photo { background: none; border-color: var(--nav-avatar-border, rgba(255,255,255,0.6)); }
.cust-nav-right { gap: 10px; }
.cust-bell-btn { border-radius: 999px; height: 28px; padding: 0; width: 28px; justify-content: center; opacity: 0.82; }
.cust-bell-btn:hover { opacity: 1; }
.cust-bell-btn svg { width: 15px; height: 15px; }
.cust-nav-avatar { width: 28px; height: 28px; border-radius: 999px; border-width: 1px; font-size: 11px; font-weight: 850; padding: 0; }

/* ── Profile photo upload (shared account + tailor profile) ── */
.acc-photo-row { display: flex; align-items: center; gap: 16px; margin-bottom: 4px; }
.acc-photo-preview { width: 72px; height: 72px;  background: var(--gray); display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; overflow: hidden; border: 2px solid var(--border); cursor: pointer; }
.acc-photo-preview:hover .acc-photo-overlay { opacity: 1; }
.acc-photo-img { width: 100%; height: 100%; object-fit: cover;  }
.acc-photo-initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 900; color: var(--black);  }
.acc-photo-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center;  opacity: 0; transition: opacity 0.15s; color: #fff; }
.acc-photo-info { flex: 1; }
.acc-photo-hint { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.acc-photo-btn { background: var(--black); color: #fff; border: none;  font-size: 12px; font-weight: 700; font-family: inherit; padding: 8px 14px; cursor: pointer; margin-right: 8px; border-radius: 10px; }
.acc-photo-btn:hover { background: #333; }
.acc-photo-remove { background: none; border: none; font-size: 12px; color: #991b1b; cursor: pointer; font-family: inherit; text-decoration: underline; text-underline-offset: 2px; padding: 0; }
.acc-photo-remove:hover { color: #7f1d1d; }

/* tailor avatars on customer-facing cards */
.customer-tailor-avatar.avatar--photo,
.zl-row-avatar.avatar--photo,
.home-fav-avatar.avatar--photo { background: none; border: none; }
.cust-user-menu { display: none; position: absolute; top: calc(100% + 16px); right: 0; background: #fff; border: 1px solid #e0e0de;  box-shadow: 0 8px 32px rgba(0,0,0,0.14); min-width: 230px; z-index: 500; overflow: hidden; }
.cust-user-menu-hd { padding: 16px 18px 16px; border-bottom: 1px solid #f0f0ee; }
.cust-menu-name { font-size: 14px; font-weight: 700; color: #151614; }
.cust-menu-email-sm { font-size: 12px; color: #aaa; margin-top: 3px; }
.cust-menu-email-lg { font-size: 13px; color: #151614; font-weight: 700; }
.cust-user-menu-items { padding: 6px 0; }
.cust-menu-divider { border-top: 1px solid #f0f0ee; margin: 6px 0; }

/* Notification items */
.notif-empty { padding: 20px; text-align: center; color: #aaa; font-size: 13px; }
.notif-item { padding: 12px 16px; border-bottom: 1px solid #f0f0ee; cursor: pointer; background: #fff; display: flex; gap: 10px; align-items: flex-start; }
.notif-item-unread { background: #f0efe7; }
.notif-dot { width: 7px; height: 7px;  flex-shrink: 0; margin-top: 5px; background: #151614; }
.notif-dot-read { background: transparent; }
.notif-msg { font-size: 13px; color: #151614; line-height: 1.4; }
.notif-time { font-size: 12px; color: #aaa; margin-top: 3px; }

/* Orders list */
.orders-empty-icon { margin-bottom: 16px; color: var(--muted); }
.orders-empty-title { font-size: 18px; font-weight: 800; color: #1e1d1d; margin-bottom: 10px; }
.orders-empty-desc { font-size: 14px; color: var(--muted); max-width: 320px; margin: 0 auto; line-height: 1.7; }
.order-status-msg { font-size: 13px; color: var(--muted); margin: 4px 0 2px; line-height: 1.4; }
.order-status-msg-ready { color: #166534; font-weight: 700; }
.order-status-msg-declined { display: none; }
.order-decline-reason { font-size: 12px; color: #7f1d1d; background: #fef2f2;  padding: 8px 12px; margin: 8px 0 4px; line-height: 1.5; }
.order-decline-reason-lbl { font-weight: 700; }
.order-card--declined { border-color: #fca5a5 !important; background: #fff8f8; }
.order-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); }
.order-footer-actions { display: flex; align-items: center; gap: 10px; }
.order-cancel-btn { background: none; border: none; font-size: 12px; color: var(--muted); cursor: pointer; font-family: inherit; padding: 0; text-decoration: underline; text-underline-offset: 2px; }
.order-cancel-btn:hover { color: #991b1b; }
.order-resubmit-btn { background: var(--black); color: #fff; border: none;  font-size: 13px; font-weight: 700; font-family: inherit; padding: 9px 18px; cursor: pointer; }
.order-resubmit-btn:hover { background: #333; }
.order-price-quote { display: flex; align-items: center; justify-content: space-between; background: #fffbeb; border: 1.5px solid #fcd34d; border-radius: 10px; padding: 10px 14px; margin: 8px 0 2px; font-size: 13px; }
.order-price-approve { background: var(--black); color: #fff; border: none; border-radius: 8px; font-size: 12px; font-weight: 700; font-family: inherit; padding: 6px 14px; cursor: pointer; margin-left: 12px; white-space: nowrap; }
.order-price-approve:hover { background: #333; }
.order-dates { font-size: 12px; color: var(--muted); }
.order-details-btn { background: none; border: none; font-size: 12px; font-weight: 700; color: var(--black); cursor: pointer; font-family: inherit; padding: 0; text-decoration: underline; text-underline-offset: 2px; }
.order-details-btn:hover { color: var(--muted); }

/* ── Order Detail Modal ── */
.order-detail-modal { width: 520px; max-width: 94vw; padding: 0; overflow: hidden; max-height: 92vh; display: flex; flex-direction: column; border-radius: 12px; }
#order-detail-body { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; }
.order-detail-modal .modal-close { z-index: 2; color: var(--muted); }
.order-detail-modal .modal-close:hover { color: var(--black); }
.od-modal-heading { flex-shrink: 0; padding: 22px 64px 16px 28px; border-bottom: 1px solid rgba(21,22,20,0.08); font-size: 17px; font-weight: 900; letter-spacing: -0.2px; }
.od-header { background: var(--white); color: var(--black); padding: 28px 28px 22px; flex-shrink: 0; border-bottom: 1px solid rgba(21,22,20,0.08); }
.od-header-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.od-garment-name { font-size: 22px; font-weight: 900; line-height: 1.15; }
.od-tailor-name { font-size: 13px; color: var(--muted); margin-top: 4px; }
.od-sent-date { font-size: 12px; color: var(--muted); margin-top: 6px; }
.od-body { overflow-y: auto; padding: 20px 28px 28px; flex: 1; }
.od-summary-card { background: #ffffff; border: 1px solid var(--border); border-radius: 12px; color: var(--black); margin-bottom: 18px; padding: 18px 20px; }
.od-summary-main { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.od-summary-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.od-summary-avatar { width: 44px; height: 44px; border-radius: 8px; background: rgba(21,22,20,0.07); color: #151614; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 12px; font-weight: 900; }
.od-summary-copy { min-width: 0; }
.od-summary-name { font-size: 19px; font-weight: 900; line-height: 1.15; overflow-wrap: anywhere; }
.od-summary-garment { font-size: 13px; color: var(--black); margin-top: 3px; }
.od-summary-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; color: rgba(21,22,20,0.82); font-size: 12px; }
.od-section { padding: 16px 0; border-bottom: 1px solid var(--border); }
.od-section:last-child { border-bottom: none; padding-bottom: 0; }
.od-section-lbl { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 10px; }
.od-track { display: flex; gap: 0; margin: 4px 0 0; }
.od-notes-text { font-size: 14px; color: var(--black); line-height: 1.65; white-space: pre-wrap; }
.od-fulfill-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 8px; font-size: 12px; font-weight: 700; background: rgba(21,22,20,0.06); color: var(--black); margin-bottom: 12px; }
.od-fulfill-badge.ship { background: #e8f0ff; color: #1a4fa0; }
.od-addr-block { display: flex; flex-direction: column; gap: 6px; background: var(--gray); border-radius: 10px; padding: 12px 14px; font-size: 13px; color: var(--black); line-height: 1.5; margin-bottom: 14px; }
.od-addr-row { display: flex; align-items: baseline; gap: 10px; }
.od-addr-lbl { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); flex-shrink: 0; min-width: 52px; }
.od-addr-warn { font-size: 12px; color: #a03030; }
.od-tracking-wrap { }
.od-tracking-lbl { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 8px; }
.od-tracking-row { display: flex; gap: 8px; }
.od-tracking-input { flex: 1; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 13px; font-family: var(--font-mono); outline: none; transition: border-color 0.15s; }
.od-tracking-input:focus { border-color: var(--black); }
.od-tracking-save { padding: 9px 16px; border-radius: 8px; border: none; background: var(--black); color: var(--white); font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; white-space: nowrap; transition: opacity 0.15s; }
.od-tracking-save:hover { opacity: 0.82; }

/* ── Reviews ── */
.od-review-section { background: transparent; padding: 16px 0; margin-top: 0; }
.spec-review-section { background: #fffbeb;  padding: 16px 18px; }
.od-review-prompt { font-size: 14px; font-weight: 600; color: var(--black); margin-bottom: 12px; }
.od-review-stars { display: flex; gap: 3px; margin-bottom: 8px; }
.od-review-comment { font-size: 13px; color: var(--muted); font-style: italic; margin-top: 6px; }
.od-star-picker { display: flex; gap: 4px; margin-bottom: 12px; }
.od-star { background: none; border: none; cursor: pointer; padding: 2px;  transition: transform 0.1s; }
.od-star:hover { transform: scale(1.2); }
.od-star:hover svg, .od-star:hover ~ .od-star svg { fill: none !important; }
.od-star-picker:hover .od-star svg { fill: #151614; }
.od-star:hover ~ .od-star svg { fill: none !important; }
.od-review-textarea { width: 100%; font-size: 13px; padding: 12px 13px; border: 1px solid rgba(21,22,20,0.10); border-radius: 8px; font-family: inherit; resize: none; outline: none; background: var(--white); color: var(--black); transition: border-color 0.15s, box-shadow 0.15s; margin-bottom: 12px; }
.od-review-textarea:focus { border-color: var(--black); }
.od-review-submit { background: var(--black); color: #fff; border: none; border-radius: 8px; font-size: 13px; font-weight: 700; font-family: inherit; padding: 10px 18px; cursor: pointer; }
.od-review-submit:hover { background: #333; }
.od-meas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.od-meas-cell { background: var(--gray); border-radius: 10px; padding: 10px; }
.od-meas-lbl { font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.od-meas-val { font-size: 15px; font-weight: 800; }
.od-garment-photo { width: 100%; max-height: 260px; object-fit: cover; border: 1px solid var(--border); border-radius: 10px; display: block; margin-top: 4px; }

/* Help modal */
.cust-help-overlay { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(18,20,17,0.55); z-index: 9000; align-items: center; justify-content: center; }
.cust-help-modal { background: #fff;  width: 480px; max-width: 92vw; max-height: 90vh; overflow-y: auto; box-shadow: 0 16px 56px rgba(0,0,0,0.2); }
.cust-help-header { padding: 24px 28px 20px; border-bottom: 1px solid #f0f0ee; display: flex; align-items: center; justify-content: space-between; }
.cust-help-title { font-size: 18px; font-weight: 700; color: #151614; }
.cust-help-sub { font-size: 13px; color: #888; margin-top: 2px; }
.cust-help-close { background: none; border: none; cursor: pointer; color: #888; line-height: 1; padding: 4px; flex-shrink: 0; display: flex; align-items: center; }
.cust-help-body { padding: 20px 28px; }
.cust-help-contact { background: #f5f5f3;  padding: 16px 18px; margin-bottom: 24px; display: flex; flex-direction: column; gap: 12px; }
.cust-help-contact-label { font-size: 12px; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 2px; }
.cust-help-contact-row { display: flex; align-items: center; gap: 10px; }
.cust-help-contact-text { font-size: 13px; color: #151614; font-weight: 500; }
.cust-help-contact-link { font-size: 13px; color: #151614; text-decoration: none; font-weight: 500; }
.cust-help-form-title { font-size: 14px; font-weight: 600; color: #151614; margin-bottom: 16px; }
.cust-help-field { margin-bottom: 12px; }
.cust-help-field-lg { margin-bottom: 20px; }
.cust-help-label { font-size: 12px; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: 0.5px; display: block; margin-bottom: 5px; }
.cust-help-from { font-size: 13px; color: #888; padding: 8px 12px; background: #f5f5f3;  border: 1px solid #e0e0de; }
.cust-help-input { width: 100%; font-size: 13px; padding: 8px 12px; border: 1px solid #e0e0de;  font-family: inherit; color: #151614; outline: none; box-sizing: border-box; }
.cust-help-textarea { width: 100%; font-size: 13px; padding: 8px 12px; border: 1px solid #e0e0de;  font-family: inherit; color: #151614; outline: none; resize: vertical; box-sizing: border-box; line-height: 1.5; }
.cust-help-btns { display: flex; gap: 10px; }
.cust-help-send { flex: 1; padding: 12px; background: #151614; color: #fff; border: none;  font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; transition: background 0.15s, color 0.15s; }
.cust-help-cancel { padding: 12px 16px; background: none; border: 1px solid #e0e0de;  font-size: 13px; color: #888; cursor: pointer; font-family: inherit; transition: all 0.15s; }

/* ── Alteration Request Modal ── */
.altreq-modal { border-radius: 12px; width: 520px; max-width: 94vw; padding-bottom: 24px; }
.altreq-modal .modal-title { font-size: 24px; letter-spacing: 0; }
.altreq-modal .field input,
.altreq-modal .field textarea {
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(21,22,20,0.10);
  border-radius: 8px;
  color: var(--black);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.altreq-modal .field input:focus,
.altreq-modal .field textarea:focus {
  background: #fff;
  border-color: rgba(21,22,20,0.34);
  box-shadow: 0 0 0 4px rgba(218,230,149,0.35);
}
.altreq-stepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0 0 20px; }
.altreq-step-chip {
  border: 1px solid var(--border);
  background: #fbfbfa;
  color: var(--muted);
  border-radius: 8px;
  min-height: 34px;
  padding: 0 10px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}
.altreq-step-chip.active,
.altreq-step-chip.done { background: #151614; border-color: #151614; color: #fff; }
.altreq-step-chip.done { background: #dae695; color: #151614; }
.altreq-step { display: none; }
.altreq-step.active { display: block; }
.altreq-step-title { font-size: 16px; font-weight: 900; letter-spacing: 0; margin-bottom: 14px; }
.altreq-nav { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.altreq-nav .btn-primary-modal { flex: 1; display: inline-flex; align-items: center; justify-content: center; }
.altreq-nav-btn {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: #151614;
  font-family: inherit;
  font-size: 14px;
  font-weight: 850;
  min-height: 42px;
  padding: 0 16px;
  cursor: pointer;
}
.altreq-nav-btn:hover { background: #f5f5f3; }
.altreq-submit-btn { display: none; }
.altreq-review { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fbfbfa; margin-top: 14px; }
.altreq-review-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.altreq-review-row span { font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.altreq-review-row strong { font-size: 13px; line-height: 1.4; text-align: right; }
.altreq-review-note { padding: 14px; font-size: 13px; line-height: 1.6; color: #42423e; background: #fff; white-space: pre-wrap; }
.altreq-fit-ref { margin-bottom: 20px; }
.altreq-fit-badge { display: inline-flex; align-items: center; gap: 7px; background: #f5fadf; border: 1.5px solid #b8d44a;  padding: 8px 14px; font-size: 13px; color: #3d5200; }
.altreq-fit-badge svg { stroke: #5a7800; flex-shrink: 0; }
.altreq-fit-badge strong { font-weight: 700; }
.altreq-tailor-picker { position: relative; }
.altreq-tailor-trigger { width: 100%; min-height: 48px; padding: 8px 12px 8px 16px; border: 1px solid rgba(21,22,20,0.10); border-radius: 8px; background: rgba(255,255,255,0.74); color: var(--black); font-size: 14px; font-weight: 850; font-family: inherit; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s; }
.altreq-tailor-trigger svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; transition: transform 0.15s; }
.altreq-tailor-picker.open .altreq-tailor-trigger { border-color: var(--black); box-shadow: 0 0 0 4px rgba(218,230,149,0.26); }
.altreq-tailor-picker.open .altreq-tailor-trigger svg { transform: rotate(180deg); }
.altreq-tailor-menu { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 30; display: none; padding: 8px; background: #151614; border-radius: 10px; box-shadow: 0 18px 42px rgba(0,0,0,0.22); border: 1px solid rgba(255,255,255,0.08); max-height: 260px; overflow-y: auto; }
.altreq-tailor-picker.open .altreq-tailor-menu { display: block; }
.altreq-tailor-option { width: 100%; border: none; border-radius: 8px; background: transparent; color: rgba(255,255,255,0.78); padding: 11px 12px; text-align: left; font-family: inherit; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.altreq-tailor-option:hover,
.altreq-tailor-option.active { background: var(--olive) !important; color: var(--black) !important; }
.altreq-tailor-name { font-size: 14px; font-weight: 850; }
.altreq-tailor-shop { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; opacity: 0.68; }
.altreq-tailor-empty { padding: 12px; color: rgba(255,255,255,0.55); font-size: 13px; line-height: 1.45; }
.altreq-modal .field textarea { width: 100%; padding: 12px 13px; font-family: inherit; resize: vertical; line-height: 1.5; }
.altreq-modal .field textarea:focus { border-color: var(--black); }

/* ── Custom Dialogs ── */
.at-toast{position:fixed;top:96px;left:50%;transform:translateX(-50%) translateY(-10px);z-index:9999;background:#151614;color:#ffffff;padding:12px 22px;font-size:13px;font-weight:500;box-shadow:0 4px 24px rgba(0,0,0,0.45);border:1px solid rgba(255,255,255,0.15);opacity:0;transition:opacity 0.2s,transform 0.2s;pointer-events:none;max-width:calc(100vw - 48px);text-align:center;}
.at-toast.show{opacity:1;transform:translateX(-50%) translateY(0);}
.at-toast.error{background:#3a1414;border-color:rgba(160,48,48,0.4);}
.at-dialog-ov{position:fixed;inset:0;background:rgba(0,0,0,0.55);z-index:9500;display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;transition:opacity 0.2s;pointer-events:none;}
.at-dialog-ov.open{opacity:1;pointer-events:all;}
.at-dialog{background:#151614;padding:32px 28px 24px;width:400px;max-width:100%;border:1px solid rgba(255,255,255,0.12);box-shadow:0 8px 48px rgba(0,0,0,0.5);transform:scale(0.96) translateY(10px);transition:transform 0.2s;}
.at-dialog-ov.open .at-dialog{transform:scale(1) translateY(0);}
.at-dialog-title{font-size:16px;font-weight:700;color:#ffffff;margin-bottom:8px;}
.at-dialog-msg{font-size:14px;color:rgba(255,255,255,0.65);line-height:1.55;margin-bottom:20px;}
.at-dialog-inp{width:100%;padding:11px 14px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.15);color:#ffffff;font-size:14px;font-family:inherit;outline:none;margin-bottom:20px;display:block;}
.at-dialog-inp:focus{border-color:rgba(255,255,255,0.4);}
.at-dialog-inp::placeholder{color:rgba(255,255,255,0.3);}
.at-dialog-btns{display:flex;gap:10px;justify-content:flex-end;}
.at-btn-cancel{background:none;border:1px solid rgba(255,255,255,0.2);color:rgba(255,255,255,0.7);padding:10px 20px;font-size:13px;font-weight:600;cursor:pointer;font-family:inherit;transition:background 0.15s;border-radius:6px;}
.at-btn-cancel:hover{background:rgba(255,255,255,0.08);}
.at-btn-confirm{background:#ffffff;color:#151614;border:none;padding:10px 20px;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit;transition:background 0.15s;border-radius:6px;}
.at-btn-confirm:hover{background:#dae695;color:#151614;}
.at-btn-confirm.danger{background:#a03030;color:#ffffff;}
.at-btn-confirm.danger:hover{background:#c03030;}

    .nav-btn-outline:hover { border-color: #dae695; color: #dae695; }
    .btn-book:hover { background: #dae695; color: #151614; }
    .btn-cancel-book:hover { border-color: #dae695; color: #151614; }
    .cust-help-send:hover { background: #dae695; color: #151614; }
    .cust-help-cancel:hover { background: #f0efe7; border-color: #dae695; color: #151614; }
    .cust-help-close:hover { color: #151614; }

/* ── Fit progress card ── */
.fit-tool { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.fit-modal-overlay { position: fixed; inset: 0; z-index: 8500; background: rgba(0,0,0,0.4); display: none; align-items: center; justify-content: center; padding: 20px; }
.fit-modal-overlay.open { display: flex; }
.fit-modal { width: 480px; max-width: 94vw; max-height: 88vh; overflow-y: auto; scrollbar-width: none; background: var(--white); border-radius: 16px; box-shadow: 0 8px 40px rgba(0,0,0,0.16); padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.fit-modal::-webkit-scrollbar { display: none; }
.fit-modal-head { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.fit-modal-head h2 { font-size: 17px; font-weight: 900; letter-spacing: 0; margin: 0; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fit-modal-head-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.fit-modal-close { border: 1px solid var(--border); background: var(--white); color: var(--black); padding: 7px 12px; font-size: 12px; font-weight: 850; cursor: pointer; font-family: inherit; border-radius: 8px; transition: background 0.15s; }
.fit-modal-close:hover { background: var(--gray); }
.fit-modal-save-changes { border: 1px solid var(--black); background: var(--black); color: var(--white); padding: 7px 12px; font-size: 12px; font-weight: 850; cursor: pointer; font-family: inherit; border-radius: 8px; transition: background 0.15s; }
.fit-modal-save-changes:hover { background: #333; }
.fit-modal-name-input { display: none; width: min(360px, 64vw); margin-top: 4px; border: 1.5px solid var(--black);  padding: 8px 10px; font-size: 22px; font-weight: 900; letter-spacing: 0; font-family: inherit; outline: none; color: var(--black); }
.fit-modal.renaming #fit-modal-title { display: none; }
.fit-modal.renaming .fit-modal-name-input { display: block; }
.fit-modal .saved-fit-card { border: none; padding: 0; margin: 0; }
.fit-modal:not(.editor-open) .fit-modal-cancel { display: none; }
.fit-modal.editor-open .fit-modal-edit { display: none; }
.fit-modal .fit-tool,
.fit-modal .fit-progress-card,
.fit-modal .fits-save-row,
.fit-modal #fits-meta { display: none; }
.fit-modal .fit-tool-diagram { display: none; }
.fit-modal .fit-tool-panel { border: none; padding: 0; background: transparent; }
.fit-form-name { display: flex; flex-direction: column; gap: 6px; }
.fit-form-name input { width: 100%; border: 1.5px solid var(--border); border-radius: 10px; padding: 11px 14px; font-size: 15px; font-weight: 700; font-family: inherit; outline: none; color: var(--black); background: var(--white); }
.fit-form-name input:focus { border-color: var(--black); }
.fit-form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fit-form-field { display: flex; flex-direction: column; gap: 5px; }
.fit-form-field label { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.fit-form-field label span { font-weight: 700; text-transform: none; letter-spacing: 0; color: rgba(21,22,20,0.35); font-size: 10px; }
.fit-form-input { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--white); transition: border-color 0.15s; }
.fit-form-input:focus-within { border-color: var(--black); }
.fit-form-input input { flex: 1; min-width: 0; border: none; outline: none; padding: 10px; font-size: 16px; font-weight: 850; font-family: inherit; color: var(--black); background: transparent; }
.fit-form-input span { padding: 0 8px; color: var(--muted); font-size: 11px; font-weight: 800; border-left: 1px solid var(--border); align-self: stretch; display: flex; align-items: center; flex-shrink: 0; }
.fit-modal.new-fit-mode .fit-tool { order: 2; }
.fit-modal.new-fit-mode .fit-progress-card { order: 3; }
.fit-modal.new-fit-mode .saved-fit-card { order: 4; margin-top: 22px; }
.fit-modal .fits-save-row { display: none; }
.fit-delete-row { display: flex; justify-content: center; padding: 4px 0 0; }
.fit-delete-btn { background: none; border: none; color: var(--muted); font-size: 12px; font-weight: 700; font-family: inherit; cursor: pointer; padding: 6px 10px;  transition: color 0.15s, background 0.15s; }
.fit-delete-btn:hover { color: #c0392b; background: rgba(192,57,43,0.06); }
.fit-tool-diagram,
.fit-tool-panel { border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.saved-fit-card { border-radius: 14px; background: var(--white); }
.fit-tool-diagram { min-height: 0; padding: 20px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fit-pants-wrap { position: relative; width: min(100%, 320px); aspect-ratio: 4 / 5.55; user-select: none; margin: 0 auto; }
.fit-pants-img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 20px 42px rgba(21,22,20,0.12)); }
.fit-mark { position: absolute; pointer-events: none; opacity: 0; transition: opacity 0.18s, transform 0.18s; z-index: 2; }
.fit-mark.active { opacity: 1; }
.fit-mark--band { left: var(--mark-x); top: var(--mark-y); width: var(--mark-w); height: 2px; background: #dae695; box-shadow: 0 0 0 1px rgba(21,22,20,0.2); transform: translateX(-50%); }
.fit-mark--band::before,
.fit-mark--band::after { content: ""; position: absolute; top: -5px; width: 2px; height: 12px; background: #dae695; box-shadow: 0 0 0 1px rgba(21,22,20,0.2); }
.fit-mark--band::before { left: 0; }
.fit-mark--band::after { right: 0; }
.fit-mark--length { left: var(--mark-x); top: var(--mark-y); width: 2px; height: var(--mark-h); background: #dae695; box-shadow: 0 0 0 1px rgba(21,22,20,0.2); transform: translateY(-50%); }
.fit-mark--length::before,
.fit-mark--length::after { content: ""; position: absolute; left: -5px; width: 12px; height: 2px; background: #dae695; box-shadow: 0 0 0 1px rgba(21,22,20,0.2); }
.fit-mark--length::before { top: 0; }
.fit-mark--length::after { bottom: 0; }
.fit-mark--angled { inset: 0; width: 100%; height: 100%; }
.fit-dot { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px;  border: 1px solid rgba(21,22,20,0.16); background: rgba(255,255,255,0.88); color: var(--black); font-size: 10px; font-weight: 900; letter-spacing: 0; cursor: pointer; z-index: 3; box-shadow: 0 6px 18px rgba(21,22,20,0.12); transition: background 0.15s, color 0.15s, transform 0.15s, border-color 0.15s; }
.fit-dot:hover,
.fit-dot.active { background: var(--black); color: var(--white); border-color: var(--black); transform: translate(-50%, -50%) scale(1.08); }
.fit-tool-panel { padding: 24px; display: flex; flex-direction: column; min-height: 0; }
.fit-name-field { margin-bottom: 4px; }
.fit-name-field input { width: 100%; border: 1.5px solid var(--border); border-radius: 10px; padding: 11px 14px; font-size: 14px; font-family: inherit; outline: none; color: var(--black); background: var(--white); }
.fit-name-field input:focus { border-color: var(--black); }
.fit-step-count { font-size: 11px; font-weight: 900; color: var(--muted); letter-spacing: 0.08em; margin-bottom: 6px; }
.fit-step { display: none; }
.fit-step.active { display: block; }
.fit-step-kicker { font-size: 11px; font-weight: 900; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.fit-step h2 { font-size: 28px; line-height: 1.1; letter-spacing: 0; margin-bottom: 6px; }
.fit-step p { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; }
.fit-step-input { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--white); }
.fit-step-input input { flex: 1; min-width: 0; border: none; outline: none; padding: 14px; font-size: 22px; font-weight: 850; letter-spacing: 0; font-family: inherit; }
.fit-step-input span { padding: 0 14px; color: var(--muted); font-size: 13px; font-weight: 800; border-left: 1px solid var(--border); align-self: stretch; display: flex; align-items: center; }
.fit-step-actions { display: flex; gap: 8px; margin-top: 12px; }
.fit-step-btn { flex: 1; min-height: 42px; border: 1px solid var(--border); border-radius: 10px; background: var(--white); color: var(--black); font-size: 13px; font-weight: 850; cursor: pointer; font-family: inherit; transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s; }
.fit-step-btn:disabled { opacity: 0.35; cursor: default; }
.fit-step-btn--primary { background: var(--black); color: var(--white); border-color: var(--black); }
.fit-step-btn:not(:disabled):hover { border-color: var(--black); }
.fit-step-btn--primary:not(:disabled):hover { background: var(--olive); color: var(--black); border-color: var(--olive); }
.fit-step-actions.is-last .fit-step-btn--primary { display: none; }
.fit-step-actions.is-last .fit-step-btn { flex: 0 0 min(220px, 100%); }
.fit-step-pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.fit-step-pill { min-height: 40px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); padding: 6px 8px; font-size: 11px; line-height: 1.2; font-weight: 850; color: var(--muted); cursor: pointer; font-family: inherit; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.fit-step-pill.active { background: var(--black); color: var(--white); border-color: var(--black); }
.fit-bottom-save { display: block; width: 100%; margin-top: 16px; min-height: 42px; border: none; border-radius: 10px; background: var(--black); color: var(--white); font-size: 13px; font-weight: 850; cursor: pointer; font-family: inherit; }
.saved-fit-card { padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.fit-photo-row { display: flex; align-items: center; gap: 14px; }
.fit-photo-thumb { width: 72px; height: 90px; flex-shrink: 0; border-radius: 10px; background: #f0efe7; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); }
.fit-photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fit-media-empty { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.fit-media-empty span { font-size: 10px; font-weight: 850; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; text-align: center; padding: 6px; }
.fit-media-empty small { display: none; }
.fit-media-source { position: absolute; left: 4px; bottom: 4px; max-width: calc(100% - 8px); padding: 3px 6px; border-radius: 4px; background: rgba(255,255,255,0.88); color: var(--black); font-size: 10px; font-weight: 800; }
.fit-photo-actions { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.fit-media-btn { min-height: 36px; display: flex; align-items: center; justify-content: center; background: var(--gray); color: var(--black); font-size: 12px; font-weight: 850; cursor: pointer; border-radius: 10px; border: none; transition: background 0.15s; }
.fit-media-btn:hover { background: #e0dfda; }
.fit-media-btn input { display: none; }
.fit-url-row { display: flex; gap: 6px; }
.fit-url-row input { flex: 1; min-width: 0; border: 1px solid var(--border); border-radius: 8px; background: var(--white); padding: 8px 10px; font-size: 12px; font-family: inherit; outline: none; color: var(--black); }
.fit-url-row input:focus { border-color: var(--black); }
.fit-url-row button { border: none; background: var(--black); color: var(--white); border-radius: 8px; padding: 0 12px; font-size: 12px; font-weight: 850; cursor: pointer; font-family: inherit; white-space: nowrap; }
.saved-fit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.saved-fit-item { min-height: 70px; padding: 12px 14px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.saved-fit-item:nth-child(3n) { border-right: none; }
.saved-fit-item:nth-last-child(-n+3) { border-bottom: none; }
.saved-fit-label { font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 9px; }
.saved-fit-value { font-size: 22px; font-weight: 900; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.saved-fit-value span { font-size: 12px; font-weight: 800; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.saved-fit-measure-input { width: 64px; max-width: 100%; border: 1px solid transparent; padding: 2px 4px; margin-left: -4px; background: transparent; color: var(--black); font-size: 22px; font-weight: 900; letter-spacing: 0; font-family: inherit; outline: none; pointer-events: none; -moz-appearance: textfield; }
.saved-fit-measure-input::-webkit-inner-spin-button,
.saved-fit-measure-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.fit-modal.editor-open .saved-fit-measure-input { pointer-events: auto; -moz-appearance: auto; }
.fit-modal.editor-open .saved-fit-measure-input::-webkit-inner-spin-button,
.fit-modal.editor-open .saved-fit-measure-input::-webkit-outer-spin-button { -webkit-appearance: auto; }
.fit-modal.editor-open .saved-fit-measure-input:focus { border-color: var(--black); background: var(--white); }
.saved-fit-item.is-empty .saved-fit-value { color: rgba(21,22,20,0.24); }
.fit-card-prefs { margin-top: 14px; border: 1px solid var(--border); border-radius: 12px; background: #fbfbf8; overflow: hidden; }
.fit-card-prefs summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); cursor: pointer; user-select: none; }
.fit-card-prefs summary::-webkit-details-marker { display: none; }
.fit-card-prefs summary::after { content: ''; display: block; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-top: -4px; transition: transform 0.2s; }
.fit-card-prefs[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.fit-card-prefs .pref-group { margin: 0 16px 12px; }
.fit-card-prefs .pref-group:first-of-type { margin-top: 4px; }
.fit-card-prefs .pref-group:last-child { margin-bottom: 16px; }
.fit-card-prefs .pref-chip { background: var(--white); }
.fit-card-prefs .pref-chip.selected { background: var(--black); color: var(--white); border-color: var(--black); }
.fits-library { margin-bottom: 18px; }
.fits-library-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.fit-library-card { min-height: 118px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); padding: 12px; text-align: left; cursor: pointer; font-family: inherit; color: var(--black); transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; overflow: hidden; }
.fit-library-card:hover { box-shadow: 0 6px 20px rgba(21,22,20,0.07); transform: translateY(-1px); background: var(--white) !important; color: var(--black) !important; }
#dpage-fits .fit-library-card:hover { background: var(--white) !important; }
#fits-library-list button:hover { background: var(--white) !important; }
.fit-library-card.active { border-color: var(--border); }
.fit-library-thumb { aspect-ratio: 4 / 5; border-radius: 10px; background: #f0efe7; margin-bottom: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.06em; }
.fit-library-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fit-library-name { font-size: 15px; font-weight: 900; margin-bottom: 8px; }
.fit-library-meta { font-size: 12px; color: var(--muted); line-height: 1.45; }
.fit-library-count { margin-top: 16px; font-size: 11px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.fit-library-empty { color: var(--muted); font-size: 13px; line-height: 1.55; padding: 16px; border: 1px solid var(--border);  }

.fit-progress-card { background: var(--gray); border: 1.5px solid var(--border); border-radius: 12px; padding: 16px 18px; transition: border-color 0.3s, background 0.3s; }
.fpc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.fpc-info { flex: 1; min-width: 0; }
.fpc-title { font-size: 15px; font-weight: 800; margin-bottom: 4px; color: var(--black); transition: color 0.3s; }
.fpc-sub { font-size: 13px; color: var(--muted); line-height: 1.5; }
.fpc-count { font-size: 22px; font-weight: 900; color: var(--black); letter-spacing: 0; flex-shrink: 0; font-variant-numeric: tabular-nums; transition: color 0.3s; }
.fpc-track { height: 5px; background: rgba(21,22,20,0.08); border-radius: 99px; overflow: hidden; }
.fpc-fill { height: 100%; width: 0%; background: #dae695; border-radius: 99px; transition: width 0.5s ease; }
.fit-progress-card.is-complete { border-color: #b8d44a; background: #f5fadf; }
.fit-progress-card.is-complete .fpc-count { color: #5a7800; }
.fit-progress-card.is-complete .fpc-fill { background: #b8d44a; }

/* ── Onboarding card ── */
.onboard-card { background: var(--gray); border: 1.5px solid var(--border);  padding: 20px 22px; margin-bottom: 24px; }
.onboard-header { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); margin-bottom: 16px; }
.onboard-step { display: flex; gap: 16px; align-items: flex-start; padding: 4px 0 12px; }
.onboard-divider { height: 1px; background: var(--border); margin: 4px 0 16px; }
.onboard-num { width: 28px; height: 28px;  background: #151614; color: #dae695; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; font-family: var(--font-mono); flex-shrink: 0; margin-top: 1px; }
.onboard-num--dim { background: rgba(21,22,20,0.12); color: var(--muted); }
.onboard-body { flex: 1; }
.onboard-step-title { font-size: 14px; font-weight: 800; margin-bottom: 5px; color: var(--black); }
.onboard-step-desc { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 12px; }
.onboard-step:last-child .onboard-step-desc { margin-bottom: 0; }
.onboard-step-btn { display: inline-flex; align-items: center; gap: 6px; background: #151614; color: #dae695; border: none; padding: 9px 16px;  font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background 0.15s; }
.onboard-step-btn:hover { background: #2d2d2b; }

/* ── Ready-for-pickup order card ── */
.order-card--pickup { border: 2px solid #86efac !important; background: #f0fdf4 !important; box-shadow: 0 0 0 5px rgba(134,239,172,0.12), 0 2px 16px rgba(22,101,52,0.08); }
.order-card--pickup .order-garment { color: #14532d; }

/* ── Fit guide panel ── */
.fit-guide-card { border: 1px solid var(--border);  overflow: hidden; margin-bottom: 24px; }
.fit-guide-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--bg-sub); cursor: pointer; user-select: none; }
.fit-guide-header-left { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text); }
.fit-guide-header-left svg { stroke: var(--text-dim); flex-shrink: 0; }
.fit-guide-toggle { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); }
.fit-guide-body { padding: 16px; background: var(--bg); }
.fit-guide-img { width: 100%; max-height: 240px; object-fit: cover;  margin-bottom: 14px; display: block; }
.fit-guide-text { font-size: 13px; line-height: 1.7; color: var(--text-dim); white-space: pre-wrap; }

/* ── Tailors tab toolbar ── */
.tailors-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.tailors-toolbar-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.tailors-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.tailors-panel-count { font-size: 12px; color: var(--muted); white-space: nowrap; }
.tailors-map-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  border: none;
  background: rgba(21,22,20,0.07);
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.tailors-map-toggle:hover { background: #dae695; color: #151614; }
.tailors-map-toggle.active { background: #151614; color: #fff; }
.tailors-map-toggle svg { stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── Collapsible map ── */
.tailors-map-wrap {
  display: none;
  position: relative;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #f0efe7;
}
.tailors-map-wrap.open { display: block; }
#tailors-map { width: 100%; height: 100%; }
#home-map { width: 100%; height: 100%; }

.home-map-locate {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(21,22,20,0.12);
  transition: background 0.15s;
}
.home-map-locate:hover { background: var(--bg-sub); }
.home-map-locate.locating { opacity: 0.55; pointer-events: none; }

/* ── Tailors list ── */
.tailors-list-wrap { display: flex; flex-direction: column; gap: 8px; margin-bottom: 40px; }

/* ── Tailor filter controls ── */
.tailor-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.tailor-filter-pill:hover { border-color: rgba(21,22,20,0.3); background: #f0efe7; }
.tailor-filter-pill.active { background: #151614; color: #fff; border-color: #151614; }
.tailor-filter-pill.active svg { stroke: #fff; }
.tailor-filter-pill svg { stroke: currentColor; fill: none; stroke-width: 2; }
.tailor-filter-select {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
  transition: border-color 0.15s;
  font-family: inherit;
}
.tailor-filter-select:hover { border-color: rgba(21,22,20,0.3); }
.tailor-filter-select:focus { border-color: rgba(21,22,20,0.4); }

/* ── Tailors tab detail card ── */
.tailors-detail-card {
  padding: 18px;
  border: none;
  border-radius: 14px;
  background: rgba(21,22,20,0.05);
}
.od-rating-badge { font-size: 12px; font-weight: 700; color: #f59e0b; margin-left: 8px; }
.tailors-detail-card:last-child { margin-bottom: 0; }
.tailors-detail-card.map-active { box-shadow: inset 0 0 0 2px var(--black) !important; }
.tailors-detail-bio {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 8px 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tailors-detail-num {
  width: 22px; height: 22px;
  border-radius: 10px;
  background: var(--gray);
  color: var(--muted);
  font-size: 11px; font-weight: 900;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.tailors-detail-rating {
  font-size: 12px; font-weight: 700;
  color: var(--black);
  background: var(--gray);
  border-radius: 10px;
  padding: 3px 9px;
  white-space: nowrap;
  flex-shrink: 0;
}
.tailor-match-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 10px;
  background: #151614;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Fit selector in alteration modal ── */
.altreq-fit-selector { margin-bottom: 20px; }
.altreq-fit-label {
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted); margin-bottom: 8px;
}
.altreq-fit-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.altreq-fit-pill {
  display: flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--border); 
  background: var(--white); padding: 7px 14px;
  font-size: 13px; font-family: inherit; cursor: pointer; color: var(--black);
}
.altreq-fit-pill:not(:disabled):hover {
  background: #fbfbf8 !important; color: var(--black) !important;
  border-color: rgba(21,22,20,0.3) !important;
}
.altreq-fit-pill.active {
  background: var(--black) !important; color: var(--white) !important;
  border-color: var(--black) !important;
}
.altreq-fit-pill.active:not(:disabled):hover {
  background: #252422 !important; color: var(--white) !important;
  border-color: #252422 !important;
}
.altreq-fit-pill-name { font-weight: 700; }
.altreq-fit-pill-count { font-size: 11px; opacity: 0.6; }
.altreq-fit-empty { font-size: 13px; color: var(--muted); padding: 8px 0 14px; }
.altreq-fit-empty button {
  background: none; border: none; color: var(--black);
  font-weight: 700; cursor: pointer; font-family: inherit;
  text-decoration: underline; padding: 0; font-size: 13px;
}
.altreq-fit-empty button:not(:disabled):hover {
  background: none !important; color: var(--muted) !important;
  border-color: transparent !important;
}

/* ── Alteration request photo upload ── */
.altreq-photo-zone {
  border: 1.5px dashed var(--border);
  border-radius: 10px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: var(--gray);
  transition: border-color 0.15s, background 0.15s;
}
.altreq-photo-zone:hover { border-color: var(--black); background: #f5f5f0; }
.altreq-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  pointer-events: none;
  padding: 20px;
}
.altreq-photo-img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}
.altreq-photo-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  border: none;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.altreq-photo-remove:not(:disabled):hover { background: rgba(0,0,0,0.75) !important; color: #fff !important; }

/* ── Alteration request fulfillment toggle ── */
.altreq-fulfillment-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}
.altreq-fulfill-opt {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1.5px solid rgba(21,22,20,0.15);
  border-radius: 8px;
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.altreq-fulfill-opt:not(:disabled):hover {
  border-color: var(--black);
  color: var(--black);
  background: var(--white) !important;
}
.altreq-fulfill-opt.active {
  background: var(--black) !important;
  color: var(--white) !important;
  border-color: var(--black);
}
.altreq-fulfill-opt.active:not(:disabled):hover {
  background: var(--black) !important;
  color: var(--white) !important;
}
.altreq-ship-preview {
  font-size: 12px;
  color: var(--muted);
  background: var(--gray);
  border-radius: 8px;
  
  padding: 8px 12px;
  margin-top: 6px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.altreq-addr-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.altreq-addr-lbl {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--black);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 58px;
}
.altreq-addr-warn {
  color: #a03030;
  font-size: 12px;
}

/* ── Tailor favorite heart button ── */
.tailor-fav-btn {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: none; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--muted); flex-shrink: 0;
  font-family: inherit;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.tailor-fav-btn.active { color: #e03030; border-color: rgba(224,48,48,0.28); background: rgba(224,48,48,0.06); }
.tailor-fav-btn.active svg { fill: currentColor; }
.tailor-fav-btn:not(:disabled):hover {
  background: rgba(224,48,48,0.08) !important;
  color: #e03030 !important;
  border-color: rgba(224,48,48,0.3) !important;
}
.tailor-fav-btn.active:not(:disabled):hover {
  background: rgba(224,48,48,0.14) !important;
  color: #e03030 !important;
  border-color: rgba(224,48,48,0.4) !important;
}

/* ── Tailors favorites section ── */
.tailors-favorites-section { border-top: 1px solid var(--border); padding-top: 28px; margin-top: 32px; }
.tailors-favorites-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.tailors-favorites-head h2 { font-size: 19px; font-weight: 900; letter-spacing: 0; margin-bottom: 4px; }
.tailors-favorites-head p { font-size: 13px; color: var(--muted); }
.tailors-favorites-list { display: flex; flex-direction: column; gap: 8px; }
/* Tailor map pins */
.tailor-map-pin {
  width: 30px;
  height: 30px;
  background: #151614;
  color: #fff;
  
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(21,22,20,0.35);
  border: 2px solid #fff;
  cursor: pointer;
  transition: transform 0.15s;
}
.tailor-map-pin:hover { transform: scale(1.18); }
.tailor-map-pin.pin-active { transform: scale(1.25); box-shadow: 0 3px 12px rgba(21,22,20,0.5); }
/* User location pin */
.tailor-map-user-pin {
  width: 20px;
  height: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tailor-map-user-pin::after {
  content: '';
  width: 13px;
  height: 13px;
  background: #2563eb;
  
  border: 2.5px solid #fff;
  box-shadow: 0 1px 6px rgba(37,99,235,0.45);
  position: absolute;
  z-index: 1;
}
.tailor-map-user-pulse {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(37,99,235,0.22);
  
  animation: user-pulse 2.2s ease-out infinite;
}
@keyframes user-pulse {
  0%   { transform: scale(0.7); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}
/* Map popup */
.tailor-map-popup { font-family: inherit; }
.tailor-map-popup .tmp-name { font-size: 13px; font-weight: 900; color: #151614; margin-bottom: 2px; }
.tailor-map-popup .tmp-shop,
.tailor-map-popup .tmp-dist { font-size: 11px; color: #6b6a66; line-height: 1.4; }
.leaflet-popup-content-wrapper {  box-shadow: 0 4px 20px rgba(21,22,20,0.13) !important; }
.leaflet-popup-content { margin: 10px 14px !important; }
.leaflet-popup-tip-container { display: none !important; }
/* Highlighted card when pin clicked */
.customer-tailor-card.map-active { border-color: var(--black) !important; box-shadow: inset 0 0 0 1px var(--black) !important; }
@media (max-width: 680px) {
  .home-map-wrap { height: 280px;  }
  .home-map-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ── Button hover system ── */
button:not(:disabled):hover,
.pref-chip:hover {
  background: var(--olive) !important;
  color: var(--black) !important;
  border-color: var(--olive) !important;
}

button:not(:disabled):hover svg {
  stroke: currentColor !important;
}

@media (max-width: 920px) {
  .fit-modal-overlay { padding: 14px; }
  .fit-modal { padding: 18px; }
  .fit-tool { grid-template-columns: 1fr; }
  .fit-media-card { max-width: 420px; }
  .fit-tool-diagram,
  .fit-tool-panel { min-height: auto; }
  .fit-tool-diagram { padding: 18px; }
  .fit-pants-wrap { max-width: 460px; }
  .saved-fit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .saved-fit-item:nth-child(3n) { border-right: 1px solid var(--border); }
  .saved-fit-item:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .saved-fit-item:nth-child(2n) { border-right: none; }
  .saved-fit-item:nth-last-child(-n+1) { border-bottom: none; }
}

@media (max-width: 680px) {
  .fit-modal-overlay { padding: 0; align-items: stretch; z-index: 9000; }
  .fit-modal { min-height: 100dvh;  padding: 16px 16px calc(96px + env(safe-area-inset-bottom, 0px)); }
  .fit-modal-head { align-items: center; }
  .fit-tool { gap: 14px; margin-top: 22px; }
  .fit-tool-panel { padding: 18px; }
  .fit-step h2 { font-size: 36px; letter-spacing: 0; }
  .fit-step-input input { font-size: 21px; padding: 14px 12px; }
  .fit-step-actions { flex-direction: column; }
  .saved-fit-grid { grid-template-columns: 1fr; }
  .fit-media-card { max-width: none; }
  .fit-media-actions { grid-template-columns: 1fr; }
  .saved-fit-item,
  .saved-fit-item:nth-child(2n),
  .saved-fit-item:nth-child(3n) { border-right: none; }
  .saved-fit-item:nth-last-child(-n+1) { border-bottom: none; }
}

/* ════════════════════════════════════════════
   MOBILE APP EXPERIENCE
   ════════════════════════════════════════════ */

/* ── Mobile bottom tab bar ── */
.mobile-tab-bar { display: none; }
.mob-sheet-handle-bar { display: none; }
.mob-sheet-cta-row { display: none; }
.mob-active-bar { display: none; }

@media (max-width: 680px) {

  /* ── Floating black liquid-glass tab bar ── */
  .mobile-tab-bar.tab-bar--visible {
    display: flex;
    align-items: stretch;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.07);
    box-shadow: 0 -1px 0 rgba(0,0,0,0.04), 0 -4px 20px rgba(0,0,0,0.06);
  }
  .mob-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 4px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(21,22,20,0.3);
    font-family: inherit;
    min-height: 48px;
    
    -webkit-tap-highlight-color: transparent;
    transition: color 0.15s, background 0.15s;
  }
  .mob-tab span {
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.1px;
  }
  .mob-tab.active {
    color: var(--black) !important;
  }
  .mob-tab.active span {
    font-weight: 800;
  }
  .mob-tab.active svg {
    stroke: var(--black);
  }
  .mob-tab.active::before { display: none; }
  .mob-tab { position: relative; }
  /* suppress global olive hover on tab bar */
  .mob-tab:not(:disabled):hover {
    background: rgba(0,0,0,0.04) !important;
    color: rgba(21,22,20,0.55) !important;
    border-color: transparent !important;
  }
  .mob-tab.active:not(:disabled):hover {
    background: rgba(0,0,0,0.04) !important;
    color: var(--black) !important;
  }

  /* ── Content area: safe-area top for notch, clears floating tab bar at bottom ── */
  /* overflow must stay visible so position:fixed children anchor to viewport */
  .dash-main {
    padding: calc(20px + env(safe-area-inset-top, 0px)) 16px calc(40px + env(safe-area-inset-bottom, 0px));
    overflow: visible;
  }
  /* Non-home pages: normal scrollable layout */
  #dpage-tailors, #dpage-orders, #dpage-account, #dpage-appointments {
    min-height: 100%;
  }

  /* ── Notification + user dropdowns bounded on mobile ── */
  .cust-bell-dropdown { right: -12px; width: calc(100vw - 28px); max-width: 360px; }
  .cust-user-menu { right: -12px; }

  /* ── Home: normal scroll, kiosk cards ── */
  #dpage-home { position: static !important; overflow: visible !important; padding: 0 !important; }
  .home-section { display: block !important; }
  .mob-active-bar { display: block; }

  /* ── Active order bar (above tab bar) ── */
  .mob-active-bar {
    position: fixed;
    left: 12px; right: 12px;
    bottom: calc(66px + env(safe-area-inset-bottom, 0px));
    z-index: 850;
    pointer-events: none;
  }
  .mob-active-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--black);
    color: #fff;
    border: none;
    
    padding: 12px 16px;
    font-family: inherit;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    text-align: left;
  }
  .mob-active-btn--ready { background: #15803d; }
  .mob-active-dot {
    width: 8px; height: 8px;
    
    background: #dae695;
    flex-shrink: 0;
    animation: mob-pulse 1.8s ease-in-out infinite;
  }
  .mob-active-dot--ready { background: #86efac; }
  @keyframes mob-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
  }
  .mob-active-text { flex: 1; min-width: 0; }
  .mob-active-garment { display: block; font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mob-active-status  { display: block; font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 1px; }
  .mob-active-btn--ready .mob-active-status { color: rgba(255,255,255,0.75); }

  /* ── Order detail: bottom sheet on mobile ── */
  #order-detail-modal.open { align-items: flex-end; padding: 0; }
  #order-detail-modal .order-detail-modal {
    width: 100%;
    max-width: 100%;
    border-radius: 14px 14px 0 0;
    max-height: 92dvh;
    animation: sheet-up 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  }
  @keyframes sheet-up {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
  }

  /* ── Alteration modal: already slides up, just refine ── */
  .altreq-modal { width: 100%; max-width: 100%; border-radius: 14px 14px 0 0; max-height: 92dvh; overflow-y: auto; align-self: flex-end; }
  .altreq-stepper { grid-template-columns: 1fr; }
  .altreq-nav { position: sticky; bottom: 0; background: #fff; padding-top: 12px; margin-bottom: -4px; }

  /* ── Touch-friendly targets ── */
  .home-section-head button { min-height: 44px; }
  .btn-book { min-height: 44px; }
  .zl-row { padding: 12px 8px; }

  /* ── Home map locate: fixed above the sheet ── */
  #home-map-locate {
    position: fixed !important;
    bottom: calc(52vh + 14px) !important;
    left: 16px !important;
    transform: none !important;
    z-index: 1001;
    transition: bottom 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  }
  /* ── Tailors map locate: normal absolute inside its map ── */
  #tailors-map-locate {
    position: absolute !important;
    bottom: 14px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 999;
  }
}

/* ── Leaflet attribution: keep OSM/CARTO credit but make it unobtrusive ── */
.leaflet-control-attribution {
  font-size: 9px !important;
  opacity: 0.45;
  background: transparent !important;
  box-shadow: none !important;
  padding: 2px 4px !important;
}
.leaflet-control-attribution a { color: inherit !important; }
