/* Swarna main page styles (moved out of index.html on 2026-11-19). */
    :root {
      --primary: #0f172a;
      --primary-light: #1e293b;
      --gold: #d97706;
      --gold-light: #f59e0b;
      --gold-bg: #fef3c7;
      --gold-border: #fde68a;
      --green: #059669;
      --green-bg: #f0fdf4;
      --green-border: #bbf7d0;
      --rose: #e11d48;
      --rose-bg: #ffe4e6;
      --bg: #f8fafc;
      --surface: #ffffff;
      --text: #0f172a;
      --text-muted: #64748b;
      --border: #e2e8f0;
      --radius: 20px;
      --radius-sm: 12px;
      --shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.12), 0 4px 10px -2px rgba(0, 0, 0, 0.05);
      --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.06);
      --safe-top: env(safe-area-inset-top, 0px);
      --safe-bottom: env(safe-area-inset-bottom, 0px);
      --safe-left: env(safe-area-inset-left, 0px);
      --safe-right: env(safe-area-inset-right, 0px);
      --app-height: 100dvh;
      /* One type scale. Nothing a person reads sits below --fs-xs. */
      --fs-xs: 12px;   /* labels, pills, badges */
      --fs-sm: 13px;   /* secondary text, addresses, captions */
      --fs-md: 14px;   /* body */
      --fs-lg: 16px;   /* card and section titles */
      --fs-xl: 20px;   /* screen titles */
      /* Two radii, two shadows. */
      --r-chip: 12px;
      --r-card: 20px;
      --elev-1: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
      --elev-2: 0 12px 28px -6px rgba(15, 23, 42, 0.18), 0 4px 10px -2px rgba(15, 23, 42, 0.06);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
    
    /* Global iOS Safari 16px Font Guard: Prevents unwanted 125% auto-zoom on input focus */
    input, select, textarea, button {
      font-family: inherit;
    }
    input[type="text"],
    input[type="number"],
    input[type="tel"],
    input[type="email"],
    input[type="search"],
    select, textarea {
      font-size: 16px !important;
    }

    html, body {
      width: 100%;
      height: 100%;
      height: var(--app-height, 100dvh);
      overflow: hidden;
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      background: var(--bg);
      color: var(--text);
    }

    /* Fullscreen Map Canvas */
    #map {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
    }

    /* Minimalist Top Header (Single Clean Tier) */
    .top-floating-header {
      position: absolute;
      top: calc(10px + env(safe-area-inset-top, 0px));
      left: 12px;
      right: 12px;
      max-width: 520px;
      margin: 0 auto;
      z-index: 2500;
      display: flex;
      flex-direction: column;
      gap: 8px;
      pointer-events: none;
    }

    /* Apple Maps / Airbnb Style Unified Search Capsule */
    .top-search-capsule {
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(226, 232, 240, 0.9);
      border-radius: 36px;
      padding: 6px 8px 6px 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: var(--shadow);
      pointer-events: auto;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .top-search-capsule:hover, .top-search-capsule:active {
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
    }

    .search-brand-group {
      display: flex;
      align-items: center;
      gap: 10px;
      flex: 1;
      overflow: hidden;
    }

    .brand-gem {
      font-size: 16px;
      color: var(--gold);
      flex-shrink: 0;
    }

    .search-labels-group {
      display: flex;
      flex-direction: column;
      overflow: hidden;
      line-height: 1.25;
    }

    .search-main-title {
      font-size: 13px;
      font-weight: 800;
      color: var(--primary);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .search-sub-location {
      font-size: var(--fs-sm);
      font-weight: 600;
      color: var(--text-muted);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    /* Capsule Right Actions (Filter & Search Icon) */
    .capsule-actions {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
    }

    .capsule-btn {
      width: 40px;
      height: 40px;
      min-width: 40px;
      min-height: 40px;
      border-radius: 50%;
      border: 1px solid var(--border);
      background: #f8fafc;
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      cursor: pointer;
      transition: all 0.15s;
      position: relative;
    }
    .capsule-btn:active { background: #e2e8f0; }

    .capsule-btn-primary {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }

    /* Integrated Category Dropdown in Single Top Bar */
    .capsule-category-dropdown {
      position: relative;
      display: inline-flex;
    }

    .capsule-cat-trigger {
      background: #f1f5f9;
      border: 1px solid rgba(203, 213, 225, 0.85);
      border-radius: var(--r-card);
      padding: 5px 10px;
      font-size: var(--fs-sm);
      font-weight: 700;
      color: #1e293b;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.15s ease;
      box-shadow: var(--elev-1);
    }
    .capsule-cat-trigger:hover, .capsule-cat-trigger:active {
      background: #e2e8f0;
      transform: scale(0.98);
    }
    .capsule-cat-trigger .dropdown-chevron {
      font-size: 9px;
      color: #64748b;
      transition: transform 0.2s ease;
    }
    .capsule-category-dropdown.open .dropdown-chevron {
      transform: rotate(180deg);
    }

    .capsule-category-menu {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      min-width: 200px;
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border: 1px solid rgba(226, 232, 240, 0.95);
      border-radius: 16px;
      box-shadow: var(--elev-2);
      padding: 6px;
      display: none;
      flex-direction: column;
      gap: 3px;
      z-index: 2600;
      animation: fadeInSlideDown 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .capsule-category-dropdown.open .capsule-category-menu {
      display: flex;
    }

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

    .cat-dropdown-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 8px 10px;
      border-radius: var(--r-chip);
      border: none;
      background: transparent;
      font-size: var(--fs-sm);
      font-weight: 600;
      color: #334155;
      cursor: pointer;
      text-align: left;
      transition: all 0.12s ease;
    }
    .cat-dropdown-item:hover {
      background: #f1f5f9;
      color: #0f172a;
    }
    .cat-dropdown-item.active {
      background: linear-gradient(135deg, #fef3c7, #fef9c3);
      color: #92400e;
      font-weight: 800;
    }
    .cat-item-left {
      display: flex;
      align-items: center;
      gap: 7px;
    }
    .cat-item-icon {
      font-size: 14px;
    }
    .cat-item-check {
      font-size: 11px;
      color: #059669;
      font-weight: 800;
      opacity: 0;
    }
    .cat-dropdown-item.active .cat-item-check {
      opacity: 1;
    }

    /* Minimalist Floating Tool Stack (Right Edge of Map Canvas) */
    .floating-tools-stack {
      position: absolute;
      right: 14px;
      top: calc(76px + env(safe-area-inset-top, 0px));
      z-index: 1000;
      display: flex;
      flex-direction: column;
      gap: 10px;
      pointer-events: auto;
    }

    .tool-fab {
      width: 42px;
      height: 42px;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(226, 232, 240, 0.9);
      border-radius: 50%;
      box-shadow: var(--shadow);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      cursor: pointer;
      color: var(--primary);
      position: relative;
      transition: transform 0.15s ease, background 0.15s;
    }
    .tool-fab:active { transform: scale(0.92); background: #f1f5f9; }

    .tool-badge-counter {
      position: absolute;
      top: -2px;
      right: -2px;
      background: var(--rose);
      color: white;
      font-size: 9px;
      font-weight: 800;
      padding: 2px 5px;
      border-radius: var(--r-chip);
      border: 2px solid white;
    }

    .gold-rate-fab {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: linear-gradient(135deg, #fef3c7, #fde68a);
      border: 1.5px solid var(--gold);
      color: #92400e;
      font-size: 19px;
      font-weight: 800;
      box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
    }

    .pwa-install-fab {
      background: linear-gradient(135deg, #059669, #047857);
      color: white;
      border: 1.5px solid #059669;
      box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
    }

    .pin-active-beacon {
      z-index: 10000 !important;
    }
    .pin-active-beacon > div {
      transform: rotate(-45deg) scale(1.4) !important;
      box-shadow: 0 0 0 8px rgba(217, 119, 6, 0.45), 0 8px 20px rgba(0, 0, 0, 0.4) !important;
      border-color: #fef08a !important;
      background: #b45309 !important;
      transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .btn-card-select {
      background: #f1f5f9;
      border: 1px solid var(--border);
      color: #475569;
      font-size: var(--fs-xs);
      font-weight: 800;
      padding: 3px 8px;
      border-radius: var(--r-chip);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 3px;
      transition: all 0.15s;
    }
    .btn-card-select.selected {
      background: #dbeafe;
      border-color: #3b82f6;
      color: #1d4ed8;
      font-weight: 800;
    }
    .luxury-card.card-batch-selected {
      border-color: #3b82f6;
      box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.35);
    }

    .batch-floating-bar {
      position: absolute;
      bottom: calc(180px + env(safe-area-inset-bottom, 0px));
      left: 14px;
      right: 14px;
      max-width: 380px;
      margin: 0 auto;
      z-index: 1100;
      background: rgba(15, 23, 42, 0.95);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      color: white;
      padding: 7px 12px;
      border-radius: var(--r-chip);
      box-shadow: var(--elev-2);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      animation: slideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .batch-send-btn {
      background: var(--green);
      color: white;
      border: none;
      padding: 6px 12px;
      border-radius: var(--r-chip);
      font-size: var(--fs-xs);
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);
      white-space: nowrap;
      transition: background 0.15s ease;
    }
    .batch-send-btn:active { background: #047857; }
    .batch-item-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 12px;
      border-radius: var(--r-chip);
      background: #f8fafc;
      border: 1px solid var(--border);
    }
    .batch-item-row.active-item {
      background: #eff6ff;
      border-color: #93c5fd;
    }
    .batch-item-row.sent-item {
      background: #f0fdf4;
      border-color: #bbf7d0;
    }

    .btn-search-area-float {
      position: absolute;
      top: calc(75px + env(safe-area-inset-top, 0px));
      left: 50%;
      transform: translateX(-50%);
      z-index: 1100;
      pointer-events: auto;
      background: rgba(15, 23, 42, 0.92);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      color: white;
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: var(--r-card);
      padding: 7px 16px;
      font-size: var(--fs-xs);
      font-weight: 800;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
      transition: all 0.2s ease;
    }
    .btn-search-area-float:active {
      transform: translateX(-50%) scale(0.95);
    }

    .card-rate-pill {
      background: #fffbeb;
      border: 1px solid #fde68a;
      color: #92400e;
      padding: 5px 9px;
      border-radius: var(--r-chip);
      font-size: var(--fs-xs);
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
      transition: background 0.15s;
    }
    .card-rate-pill:active {
      background: #fef3c7;
    }

    /* Floating Showcase Carousel (Bottom of Viewport) */
    .bottom-sheet {
      position: absolute;
      bottom: calc(58px + env(safe-area-inset-bottom, 0px));
      left: 12px;
      right: 12px;
      max-width: 500px;
      margin: 0 auto;
      z-index: 1000;
      pointer-events: none;
    }

    .sheet-inner {
      pointer-events: auto;
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    /* Status bar above cards hidden to eliminate clutter - counts & controls live cleanly in top capsule & FAB stack */
    .sheet-status-bar {
      display: none !important;
    }

    .status-pill-group {
      display: flex;
      align-items: center;
      gap: 5px;
      white-space: nowrap;
    }

    .status-count-capsule {
      background: rgba(255, 255, 255, 0.88);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      color: #334155;
      border: 1px solid rgba(226, 232, 240, 0.9);
      font-size: var(--fs-xs);
      font-weight: 700;
      padding: 3.5px 9px;
      border-radius: var(--r-card);
      display: inline-flex;
      align-items: center;
      gap: 4px;
      white-space: nowrap;
      cursor: pointer;
      box-shadow: var(--elev-1);
      transition: all 0.15s ease;
    }
    .status-count-capsule:active { transform: scale(0.96); }
    .status-count-highlight {
      color: #b45309;
      font-weight: 800;
    }

    .status-vip-micro {
      background: rgba(254, 243, 199, 0.85);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      color: #92400e;
      border: 1px solid #fde68a;
      font-size: var(--fs-xs);
      font-weight: 700;
      padding: 3.5px 8px;
      border-radius: var(--r-card);
      display: inline-flex;
      align-items: center;
      gap: 3px;
      cursor: pointer;
      white-space: nowrap;
      box-shadow: 0 1px 3px rgba(217, 119, 6, 0.1);
      transition: all 0.15s ease;
    }
    .status-vip-micro:active { transform: scale(0.96); }

    .status-actions-group {
      display: flex;
      align-items: center;
      gap: 5px;
      flex-shrink: 0;
      white-space: nowrap;
    }

    .status-batch-btn {
      background: rgba(241, 245, 249, 0.88);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      color: #1e293b;
      border: 1px solid rgba(203, 213, 225, 0.85);
      font-size: var(--fs-xs);
      font-weight: 700;
      padding: 3.5px 8px;
      border-radius: var(--r-card);
      display: inline-flex;
      align-items: center;
      gap: 3px;
      cursor: pointer;
      white-space: nowrap;
      box-shadow: var(--elev-1);
      transition: all 0.15s ease;
    }
    .status-batch-btn:active { transform: scale(0.96); background: #eff6ff; }
    .status-batch-btn.active {
      background: #ecfdf5;
      border-color: #a7f3d0;
      color: #059669;
    }

    .status-filter-btn {
      background: rgba(255, 255, 255, 0.88);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(226, 232, 240, 0.9);
      color: #475569;
      font-size: var(--fs-xs);
      width: 24px;
      height: 24px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: var(--elev-1);
      padding: 0;
      transition: all 0.15s ease;
    }
    .status-filter-btn:active { transform: scale(0.92); background: #f1f5f9; }

    .status-count {
      white-space: nowrap;
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .cards-deck {
      display: flex;
      gap: 10px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
      padding: 4px 12px 10px 12px;
    }
    .cards-deck::-webkit-scrollbar { display: none; }

    /* Ultra-Compact Luxury Showroom Card (+10% Width & Height Breathing Room) */
    .luxury-card {
      scroll-snap-align: center;
      flex: 0 0 345px;
      max-width: 88vw;
      min-width: 0;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--r-card);
      padding: 10px 12px;
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
      gap: 7px;
      cursor: pointer;
      position: relative;
      transition: transform 0.2s ease, border-color 0.2s ease;
      box-sizing: border-box;
    }
    .luxury-card.active-card {
      border-color: var(--gold);
      box-shadow: 0 6px 20px -2px rgba(217, 119, 6, 0.22);
    }

    .card-compact-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 6px;
      line-height: 1;
      min-width: 0;
    }

    .card-tag-cluster {
      display: flex;
      align-items: center;
      gap: 5px;
      overflow: hidden;
      white-space: nowrap;
      min-width: 0;
    }

    .spotlight-tag {
      font-size: var(--fs-xs);
      font-weight: 800;
      color: var(--gold);
      text-transform: uppercase;
      letter-spacing: 0.3px;
      white-space: nowrap;
    }

    .card-dist-pill {
      background: #f1f5f9;
      border: 1px solid #e2e8f0;
      color: #334155;
      font-size: var(--fs-xs);
      font-weight: 800;
      padding: 1.5px 6px;
      border-radius: var(--r-chip);
      white-space: nowrap;
    }

    .vip-active-tag {
      font-size: var(--fs-xs);
      font-weight: 800;
      color: #059669;
      background: #ecfdf5;
      border: 1px solid #a7f3d0;
      padding: 1.5px 5px;
      border-radius: var(--r-chip);
      display: inline-flex;
      align-items: center;
      gap: 2px;
      white-space: nowrap;
    }

    .partner-badge-pill {
      font-size: var(--fs-xs);
      font-weight: 800;
      color: #1e40af;
      background: #eff6ff;
      border: 1px solid #bfdbfe;
      padding: 1.5px 5px;
      border-radius: var(--r-chip);
      white-space: nowrap;
    }

    .card-micro-cluster {
      display: flex;
      align-items: center;
      gap: 4px;
      flex-shrink: 0;
    }

    .btn-claim-pill {
      background: #f8fafc;
      border: 1px solid #cbd5e1;
      color: #1e293b;
      font-size: var(--fs-xs);
      font-weight: 800;
      padding: 0 10px;
      height: 38px;
      min-height: 38px;
      min-width: 44px;
      border-radius: var(--r-chip);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 3px;
      white-space: nowrap;
      transition: all 0.15s ease;
      line-height: 1;
      box-sizing: border-box;
      position: relative;
    }
    .btn-claim-pill:hover, .btn-claim-pill:active {
      background: #f0fdf4;
      border-color: #bbf7d0;
      color: #15803d;
    }

    .btn-card-select {
      width: 38px;
      height: 38px;
      min-width: 38px;
      min-height: 38px;
      border-radius: 50%;
      border: 1.5px solid #cbd5e1;
      background: #f8fafc;
      color: #94a3b8;
      font-size: 15px;
      font-weight: 800;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
      padding: 0;
      transition: all 0.15s ease;
      box-sizing: border-box;
      position: relative;
    }
    .btn-card-select:hover {
      border-color: #059669;
      color: #059669;
      background: #ecfdf5;
    }
    .btn-card-select.selected {
      background: #059669;
      border-color: #059669;
      color: white;
      box-shadow: 0 1px 4px rgba(5, 150, 105, 0.35);
    }

    .btn-fav-toggle {
      background: none;
      border: none;
      font-size: 14px;
      cursor: pointer;
      line-height: 1;
      padding: 1px;
    }

    .card-title-addr-group {
      display: flex;
      flex-direction: column;
      gap: 2px;
      margin-top: 0;
    }

    .shop-title {
      font-size: 13.5px;
      font-weight: 800;
      color: var(--primary);
      line-height: 1.25;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .shop-addr {
      font-size: var(--fs-sm);
      color: var(--text-muted);
      line-height: 1.25;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* Organized Dual-Pill Value Row (BIS Trust Seal & Live Gold Rates) */
    .card-value-row {
      display: flex;
      gap: 7px;
      align-items: stretch;
    }

    .val-pill {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      font-size: var(--fs-xs);
      padding: 5px 8px;
      border-radius: var(--r-chip);
      cursor: pointer;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      transition: background 0.15s ease, border-color 0.15s ease;
      box-sizing: border-box;
    }
    .val-pill-trust {
      background: #f0fdf4;
      border: 1px solid #bbf7d0;
      color: #166534;
    }
    .val-pill-trust:active { background: #dcfce7; }
    .val-pill-trust strong { color: #15803d; font-weight: 800; }

    .val-pill-rate {
      background: #fffbeb;
      border: 1px solid #fde68a;
      color: #92400e;
    }
    .val-pill-rate:active { background: #fef3c7; }
    .val-pill-rate strong { color: #78350f; font-weight: 800; }

    .val-sub {
      font-size: var(--fs-xs);
      opacity: 0.85;
      font-weight: 600;
    }

    /* Fallback unified strip class for backward compatibility */
    .card-trust-rate-strip {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 4px;
    }
    .strip-left {
      display: flex;
      align-items: center;
      gap: 4px;
      color: #15803d;
      font-weight: 700;
      overflow: hidden;
      white-space: nowrap;
    }
    .cml-seal { color: #166534; font-weight: 800; }
    .trust-pct { color: #15803d; }
    .meta-dot { color: #94a3b8; font-weight: 800; }

    .strip-right {
      display: flex;
      align-items: center;
      gap: 3px;
      color: #92400e;
      font-weight: 700;
      flex-shrink: 0;
      white-space: nowrap;
    }
    .rate-val { font-weight: 800; color: #78350f; }
    .making-val { color: #b45309; font-weight: 800; }

    /* Streamlined Icon-Driven Action Row */
    .action-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 4px;
    }

    .btn-action-primary {
      flex: 1;
      height: 48px;
      min-height: 48px;
      background: var(--green);
      color: white;
      border: none;
      padding: 0 14px;
      border-radius: var(--r-chip);
      font-size: var(--fs-md);
      font-weight: 700;
      text-decoration: none;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      box-shadow: 0 1px 4px rgba(5, 150, 105, 0.25);
      cursor: pointer;
      white-space: nowrap;
      transition: background 0.15s ease;
      box-sizing: border-box;
    }
    .btn-action-primary:active { background: #047857; }
    .btn-action-primary.btn-batch-mode {
      background: linear-gradient(135deg, #059669, #047857);
      box-shadow: 0 2px 8px rgba(5, 150, 105, 0.4);
      font-weight: 800;
    }

    .action-icon-group {
      display: flex;
      align-items: center;
      gap: 5px;
      flex-shrink: 0;
    }

    .action-icon-btn {
      width: 44px;
      height: 44px;
      min-width: 44px;
      min-height: 44px;
      border-radius: var(--r-chip);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.15s ease;
      padding: 0;
      box-sizing: border-box;
      line-height: 1;
      position: relative;
    }

    .btn-action-secondary.action-icon-btn {
      background: #f1f5f9;
      border: 1px solid #cbd5e1;
      color: var(--primary);
    }
    .btn-action-secondary.action-icon-btn:active { background: #e2e8f0; }

    .btn-ig-pill.action-icon-btn {
      background: #fdf2f8;
      border: 1px solid #fbcfe8;
      color: #db2777;
    }
    .btn-ig-pill.action-icon-btn:active { background: #fce7f3; }

    .btn-detail-pill.action-icon-btn {
      background: #f8fafc;
      border: 1px solid #cbd5e1;
      color: var(--primary);
    }
    .btn-detail-pill.action-icon-btn:active { background: #e2e8f0; }

    /* Non-icon fallbacks */
    .btn-action-secondary:not(.action-icon-btn) {
      flex: 1;
      background: #f1f5f9;
      color: var(--primary);
      border: 1px solid var(--border);
      padding: 7px 8px;
      border-radius: var(--r-chip);
      font-size: var(--fs-sm);
      font-weight: 700;
      text-decoration: none;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 3px;
      cursor: pointer;
      white-space: nowrap;
    }
    .btn-ig-pill:not(.action-icon-btn) {
      background: #fdf2f8;
      border: 1px solid #fbcfe8;
      color: #db2777;
      padding: 7px 8px;
      border-radius: var(--r-chip);
      font-size: var(--fs-sm);
      font-weight: 700;
      text-decoration: none;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 3px;
      white-space: nowrap;
    }
    .btn-detail-pill:not(.action-icon-btn) {
      background: #f8fafc;
      border: 1px solid var(--border);
      color: var(--primary);
      padding: 7px 9px;
      border-radius: var(--r-chip);
      font-size: var(--fs-sm);
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    /* Fallback classes for backward compatibility */
    .card-meta-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 4px;
    }
    .card-top-right {
      display: flex;
      align-items: center;
      gap: 4px;
      flex-shrink: 0;
    }
    .card-title-row {
      margin-top: -1px;
    }
    .card-trust-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .card-rate-pill {
      cursor: pointer;
    }
    .trust-strip {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: var(--green-bg);
      border: 1px solid var(--green-border);
      padding: 5px 9px;
      border-radius: var(--r-chip);
      font-size: var(--fs-sm);
    }
    .making-rate-tag {
      color: #b45309;
      font-weight: 800;
    }

    /* Modal Sheets Base (Animated Bottom Drawers) */
    .sheet-modal {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(15, 23, 42, 0.65);
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      z-index: 3000;
      display: none;
      align-items: flex-end;
      justify-content: center;
    }
    .sheet-modal.active { display: flex; }

    .sheet-content {
      background: white;
      width: 100%;
      max-width: 520px;
      border-radius: 24px 24px 0 0;
      padding: 12px 20px calc(24px + var(--safe-bottom));
      box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
      display: flex;
      flex-direction: column;
      gap: 14px;
      max-height: min(88vh, calc(var(--app-height, 100dvh) - 24px));
      overflow-y: auto;
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
      animation: slideUp 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    }

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

    .sheet-drag-handle {
      width: 38px;
      height: 4px;
      background: #cbd5e1;
      border-radius: 2px;
      margin: 0 auto 4px auto;
      flex-shrink: 0;
    }

    .sheet-header-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .sheet-title {
      font-size: 17px;
      font-weight: 800;
      color: var(--primary);
    }

    .sheet-close-btn {
      background: #f1f5f9;
      border: none;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      font-size: 16px;
      color: #64748b;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* Filter Drawer Segmented Controls */
    .filter-section-lbl {
      font-size: var(--fs-xs);
      font-weight: 800;
      color: #64748b;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 6px;
    }

    .segmented-control {
      display: flex;
      gap: 4px;
      background: #f1f5f9;
      padding: 4px;
      border-radius: var(--r-chip);
    }

    .seg-btn {
      flex: 1;
      border: none;
      background: transparent;
      padding: 8px 6px;
      border-radius: var(--r-chip);
      font-size: 12px;
      font-weight: 700;
      color: #64748b;
      cursor: pointer;
      transition: all 0.15s;
    }
    .seg-btn.active {
      background: white;
      color: var(--primary);
      box-shadow: var(--shadow-sm);
    }

    /* Search & Hubs Modal */
    .search-input-box {
      display: flex;
      align-items: center;
      gap: 10px;
      background: #f1f5f9;
      border: 2px solid #e2e8f0;
      border-radius: var(--r-chip);
      padding: 10px 14px;
    }
    .search-input-box:focus-within {
      border-color: var(--gold);
      background: white;
    }
    .search-input-fld {
      flex: 1;
      border: none;
      background: transparent;
      font-size: 16px;
      font-weight: 600;
      outline: none;
      color: var(--primary);
    }

    .search-results-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
      max-height: 280px;
      overflow-y: auto;
    }
    /* With suggestions on screen, the markets and tip step aside and the list takes the room:
       a place and a name can each have several rows ("krishna": 2 places, all-named, 6 shops). */
    #search-modal.has-suggestions .search-idle { display: none; }
    #search-modal.has-suggestions .search-results-list { max-height: min(62vh, 560px); }

    .search-hit-item {
      background: #f8fafc;
      border: 1px solid var(--border);
      border-radius: var(--r-chip);
      padding: 10px 12px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: all 0.15s;
    }
    .search-hit-item:hover {
      background: var(--gold-bg);
      border-color: var(--gold-border);
    }

    .preset-chips {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
    }
    .preset-chip {
      background: #f1f5f9;
      border: 1px solid #e2e8f0;
      padding: 6px 11px;
      border-radius: var(--r-card);
      font-size: 12px;
      font-weight: 700;
      color: #334155;
      cursor: pointer;
    }
    .preset-chip:hover {
      background: var(--gold-bg);
      border-color: var(--gold-border);
      color: #92400e;
    }

    .btn-gps-hero {
      background: linear-gradient(135deg, var(--gold), #b45309);
      color: white;
      border: none;
      padding: 13px;
      border-radius: var(--r-chip);
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
    }

    .custom-radius-slider-box {
      background: #f8fafc;
      border: 1px solid var(--border);
      border-radius: var(--r-chip);
      padding: 12px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    /* Calculator Modal Box */
    .calc-purity-row {
      display: flex;
      gap: 6px;
      background: #f1f5f9;
      padding: 4px;
      border-radius: var(--r-chip);
    }
    .calc-p-btn {
      flex: 1;
      border: none;
      background: transparent;
      padding: 8px 4px;
      border-radius: var(--r-chip);
      font-size: var(--fs-xs);
      font-weight: 800;
      color: #64748b;
      cursor: pointer;
    }
    .calc-p-btn.active {
      background: white;
      color: var(--primary);
      box-shadow: var(--shadow-sm);
    }

    .calc-fld {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .calc-lbl {
      font-size: var(--fs-sm);
      font-weight: 800;
      color: #64748b;
      text-transform: uppercase;
      display: flex;
      justify-content: space-between;
    }
    .calc-input {
      padding: 10px 12px;
      border: 1px solid var(--border);
      border-radius: var(--r-chip);
      font-size: 16px;
      font-weight: 700;
      color: var(--primary);
      outline: none;
    }
    .calc-input:focus { border-color: var(--gold); }

    .calc-weight-chips {
      display: flex;
      gap: 4px;
      overflow-x: auto;
      scrollbar-width: none;
      margin-top: 4px;
    }
    .calc-w-chip {
      background: #f1f5f9;
      border: 1px solid #e2e8f0;
      padding: 4px 8px;
      border-radius: var(--r-chip);
      font-size: var(--fs-xs);
      font-weight: 700;
      color: #475569;
      white-space: nowrap;
      cursor: pointer;
    }

    .calc-breakdown-card {
      background: #f8fafc;
      border: 1px solid var(--border);
      border-radius: var(--r-chip);
      padding: 12px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      font-size: 12px;
    }
    .calc-bd-row {
      display: flex;
      justify-content: space-between;
      color: #64748b;
    }

    .calc-total-box {
      background: var(--gold-bg);
      border: 1px solid var(--gold-border);
      padding: 14px;
      border-radius: var(--r-chip);
      text-align: center;
    }
    .calc-total-txt {
      font-size: 24px;
      font-weight: 800;
      color: #92400e;
    }

    /* Showroom Deep-Dive Modal */
    .detail-spec-tags {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
    }
    .spec-tag {
      background: #f1f5f9;
      border: 1px solid #e2e8f0;
      padding: 4px 9px;
      border-radius: var(--r-chip);
      font-size: var(--fs-xs);
      font-weight: 700;
      color: #334155;
    }

    .wa-intents-header {
      font-size: var(--fs-xs);
      font-weight: 800;
      color: #64748b;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-top: 2px;
    }

    .wa-intents-grid-2x2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .wa-intent-card {
      background: #f0fdf4;
      border: 1.5px solid #bbf7d0;
      border-radius: var(--r-chip);
      padding: 10px 10px;
      text-decoration: none;
      display: flex;
      align-items: flex-start;
      gap: 8px;
      transition: all 0.15s ease;
    }
    .wa-intent-card:active {
      transform: scale(0.97);
      background: #dcfce7;
      border-color: #86efac;
    }
    .wa-intent-icon {
      font-size: 18px;
      line-height: 1;
      flex-shrink: 0;
      margin-top: 1px;
    }
    .wa-intent-info {
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }
    .wa-intent-title {
      font-size: 12px;
      font-weight: 800;
      color: #15803d;
      line-height: 1.25;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .wa-intent-sub {
      font-size: var(--fs-sm);
      color: #166534;
      line-height: 1.2;
      margin-top: 2px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .modal-owner-claim-strip {
      text-align: center;
      font-size: var(--fs-xs);
      font-weight: 700;
      color: #15803d;
      background: #f0fdf4;
      border: 1px dashed #86efac;
      border-radius: var(--r-chip);
      padding: 9px 12px;
      cursor: pointer;
      margin-top: 6px;
      transition: background 0.15s;
    }
    .modal-owner-claim-strip:active { background: #dcfce7; }

    .partner-accredited-banner {
      background: linear-gradient(135deg, #eff6ff, #dbeafe);
      border: 1.5px solid #93c5fd;
      border-radius: var(--r-chip);
      padding: 10px 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }
    .partner-acc-left {
      display: flex;
      flex-direction: column;
    }
    .partner-acc-title {
      font-size: var(--fs-xs);
      font-weight: 800;
      color: #1e40af;
    }
    .partner-acc-sub {
      font-size: var(--fs-sm);
      color: #1d4ed8;
      margin-top: 1px;
    }
    .partner-acc-chip {
      font-size: var(--fs-xs);
      font-weight: 800;
      background: #2563eb;
      color: white;
      padding: 3px 8px;
      border-radius: var(--r-chip);
      white-space: nowrap;
    }

    .vip-promo-compact {
      background: #eff6ff;
      border: 1.5px solid #bfdbfe;
      border-radius: var(--r-chip);
      padding: 8px 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
      font-size: var(--fs-xs);
      font-weight: 700;
      color: #1e40af;
    }
    .vip-promo-btn {
      color: #1d4ed8;
      font-weight: 800;
      white-space: nowrap;
    }

    .vip-member-banner {
      background: linear-gradient(135deg, #fef3c7, #fefce8);
      border: 1.5px solid #fde68a;
      border-radius: var(--r-chip);
      padding: 10px 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
    }
    .vip-member-title {
      font-size: var(--fs-xs);
      font-weight: 800;
      color: #92400e;
    }
    .vip-member-sub {
      font-size: var(--fs-sm);
      color: #78350f;
      margin-top: 1px;
    }
    .vip-view-chip {
      background: #92400e;
      color: white;
      padding: 4px 8px;
      border-radius: var(--r-chip);
      font-size: var(--fs-xs);
      font-weight: 800;
      white-space: nowrap;
    }

    /* Legacy compatibility */
    .wa-intents-grid {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .wa-intent-btn {
      background: var(--green-bg);
      border: 1px solid var(--green-border);
      color: #15803d;
      padding: 10px 12px;
      border-radius: var(--r-chip);
      font-size: 12px;
      font-weight: 700;
      text-align: left;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
    }

    /* Shortlist Modal */
    .shortlist-items-box {
      display: flex;
      flex-direction: column;
      gap: 10px;
      max-height: 320px;
      overflow-y: auto;
    }
    .shortlist-row {
      background: #f8fafc;
      border: 1px solid var(--border);
      border-radius: var(--r-chip);
      padding: 12px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    /* Toast Notification */
    .toast-popup {
      position: fixed;
      bottom: 80px;
      left: 50%;
      transform: translateX(-50%);
      background: #0f172a;
      color: white;
      padding: 8px 16px;
      border-radius: var(--r-card);
      font-size: 12px;
      font-weight: 700;
      box-shadow: var(--shadow);
      z-index: 5000;
      display: none;
    }

    .pin-active-glow {
      animation: pinPulse 1.4s infinite;
    }
    @keyframes pinPulse {
      0% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7); }
      70% { box-shadow: 0 0 0 14px rgba(217, 119, 6, 0); }
      100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
    }

    /* VIP Concierge Pass & Progressive Onboarding Styles */
    .capsule-btn-vip {
      background: linear-gradient(135deg, #fef3c7, #fde68a) !important;
      border-color: #f59e0b !important;
      color: #92400e !important;
      font-size: 15px !important;
      box-shadow: 0 2px 8px rgba(217, 119, 6, 0.2);
    }

    .vip-concierge-fab {
      background: linear-gradient(135deg, #1e293b, #0f172a) !important;
      color: #fbbf24 !important;
      border: 1.5px solid #d97706 !important;
      box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35) !important;
      font-size: 18px !important;
      position: relative;
    }
    .vip-fab-badge {
      position: absolute;
      bottom: -3px;
      right: -3px;
      background: #d97706;
      color: white;
      font-size: 8px;
      font-weight: 800;
      padding: 1px 4px;
      border-radius: var(--r-chip);
      border: 1.5px solid white;
    }

    /* Onboarding Stepper */
    .onboard-stepper-wrap {
      margin: 4px 0 10px 0;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .onboard-stepper-bar {
      width: 100%;
      height: 4px;
      background: #e2e8f0;
      border-radius: 2px;
      overflow: hidden;
    }
    .onboard-stepper-fill {
      height: 100%;
      background: linear-gradient(90deg, #d97706, #f59e0b);
      transition: width 0.25s ease;
    }
    .onboard-stepper-steps {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 4px;
    }
    .stepper-dot {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: #f1f5f9;
      border: 1.5px solid #cbd5e1;
      color: #64748b;
      font-size: 13px;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s ease;
      position: relative;
    }
    .stepper-dot.active {
      background: var(--gold);
      border-color: var(--gold);
      color: white;
      box-shadow: 0 2px 8px rgba(217, 119, 6, 0.4);
      transform: scale(1.08);
    }
    .stepper-dot.completed {
      background: #059669;
      border-color: #059669;
      color: white;
    }
    .onboard-step-lbl {
      font-size: var(--fs-xs);
      font-weight: 800;
      color: #64748b;
      text-align: center;
    }

    .onboard-section-title {
      font-size: 14px;
      font-weight: 800;
      color: var(--primary);
      margin-bottom: 2px;
    }
    .onboard-section-sub {
      font-size: var(--fs-sm);
      color: #64748b;
      line-height: 1.4;
      margin-bottom: 12px;
    }

    .onboard-cards-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }
    .onboard-choice-card {
      background: #ffffff;
      border: 1.5px solid #e2e8f0;
      border-radius: var(--r-card);
      padding: 10px 12px;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      gap: 3px;
      transition: all 0.18s ease;
    }
    .onboard-choice-card:hover, .onboard-choice-card:active {
      border-color: #cbd5e1;
      background: #f8fafc;
    }
    .onboard-choice-card.active {
      border-color: #d97706;
      background: #fefce8;
      box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15);
    }
    .choice-icon { font-size: 20px; }
    .choice-title { font-size: 12px; font-weight: 800; color: var(--primary); }
    .choice-sub { font-size: var(--fs-sm); color: #64748b; line-height: 1.3; }

    .onboard-radio-stack {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .onboard-radio-card {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 14px;
      border: 1.5px solid #e2e8f0;
      border-radius: var(--r-chip);
      cursor: pointer;
      transition: all 0.15s ease;
      background: white;
    }
    .onboard-radio-card input { display: none; }
    .onboard-radio-card.active {
      border-color: #d97706;
      background: #fefce8;
      box-shadow: 0 2px 8px rgba(217, 119, 6, 0.12);
    }
    .radio-card-title { font-size: 12px; font-weight: 800; color: var(--primary); }
    .radio-card-sub { font-size: var(--fs-sm); color: #64748b; margin-top: 1px; }
    .radio-custom-dot {
      width: 16px;
      height: 16px;
      border-radius: 50%;
      border: 2px solid #cbd5e1;
      flex-shrink: 0;
    }
    .onboard-radio-card.active .radio-custom-dot {
      border-color: #d97706;
      background: #d97706;
      box-shadow: inset 0 0 0 3px white;
    }

    .onboard-chips-wrap {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
    .style-choice-chip {
      padding: 6px 12px;
      border-radius: var(--r-card);
      font-size: var(--fs-xs);
      font-weight: 700;
      border: 1.5px solid #cbd5e1;
      color: #475569;
      background: white;
      cursor: pointer;
      transition: all 0.15s;
    }
    .style-choice-chip.active {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
      box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
    }

    .onboard-perks-box {
      background: linear-gradient(135deg, #fef3c7, #fefce8);
      border: 1.5px solid #fde68a;
      border-radius: var(--r-card);
      padding: 12px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .onboard-perk-item {
      font-size: var(--fs-sm);
      color: #78350f;
      display: flex;
      align-items: flex-start;
      gap: 6px;
      line-height: 1.35;
    }

    .onboard-input-label {
      font-size: var(--fs-sm);
      font-weight: 700;
      color: #475569;
      margin-bottom: 4px;
      display: block;
    }
    .onboard-input {
      width: 100%;
      border: 1.5px solid #cbd5e1;
      border-radius: var(--r-chip);
      padding: 10px 12px;
      font-size: 16px;
      font-family: inherit;
      outline: none;
      transition: border-color 0.15s;
    }
    .onboard-input:focus {
      border-color: var(--gold);
      box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
    }
    .onboard-country-code {
      background: #f1f5f9;
      border: 1.5px solid #cbd5e1;
      border-radius: var(--r-chip);
      padding: 10px 12px;
      font-size: 16px;
      font-weight: 700;
      color: #475569;
      display: flex;
      align-items: center;
    }

    .onboard-footer-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
    }
    .btn-onboard-next, .btn-onboard-primary {
      background: linear-gradient(135deg, #d97706, #b45309);
      color: white;
      border: none;
      padding: 12px 18px;
      border-radius: var(--r-chip);
      font-size: 13px;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
      transition: all 0.15s;
    }
    .btn-onboard-next:active, .btn-onboard-primary:active {
      transform: scale(0.97);
    }
    .btn-onboard-back {
      background: #f1f5f9;
      border: 1px solid var(--border);
      color: #475569;
      padding: 12px 16px;
      border-radius: var(--r-chip);
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
    }

    /* Luxury VIP Pass Card Styles */
    .luxury-vip-card {
      background: linear-gradient(135deg, #090d16 0%, #172554 45%, #0f172a 100%);
      border: 1.5px solid #f59e0b;
      border-radius: var(--r-card);
      padding: 16px;
      box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4), inset 0 0 30px rgba(245, 158, 11, 0.1);
      display: flex;
      flex-direction: column;
      gap: 12px;
      color: white;
      position: relative;
      overflow: hidden;
    }
    .vip-card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .vip-seal {
      font-size: var(--fs-xs);
      font-weight: 800;
      color: #fbbf24;
      letter-spacing: 1px;
      display: flex;
      align-items: center;
      gap: 5px;
    }
    .vip-status-badge {
      font-size: var(--fs-xs);
      font-weight: 800;
      background: rgba(5, 150, 105, 0.25);
      border: 1px solid #10b981;
      color: #34d399;
      padding: 3px 8px;
      border-radius: var(--r-chip);
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .vip-status-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #34d399;
      box-shadow: 0 0 6px #34d399;
    }
    .vip-pass-id-row {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(245, 158, 11, 0.3);
      border-radius: var(--r-chip);
      padding: 8px 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .vip-pass-label {
      font-size: var(--fs-xs);
      font-weight: 800;
      color: #94a3b8;
      letter-spacing: 1px;
    }
    .vip-pass-id {
      font-family: monospace;
      font-size: 15px;
      font-weight: 800;
      color: #fde68a;
      letter-spacing: 1.5px;
    }
    .vip-card-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }
    .vip-field-label {
      font-size: var(--fs-xs);
      font-weight: 800;
      color: #94a3b8;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .vip-field-val {
      font-size: 12px;
      font-weight: 700;
      color: #f8fafc;
      margin-top: 1px;
    }
    .vip-perk-strip {
      font-size: var(--fs-xs);
      color: #cbd5e1;
      line-height: 1.35;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding-top: 8px;
    }

    .concierge-desk-card {
      background: #f8fafc;
      border: 1.5px solid var(--border);
      border-radius: var(--r-card);
      padding: 12px 14px;
    }

    .itinerary-card {
      background: white;
      border: 1.5px solid #e2e8f0;
      border-radius: var(--r-card);
      padding: 12px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      transition: border-color 0.15s;
    }
    .itinerary-card:hover { border-color: var(--gold); }
    .itinerary-rank-pill {
      font-size: var(--fs-xs);
      font-weight: 800;
      color: var(--gold);
      background: var(--gold-bg);
      padding: 2px 7px;
      border-radius: var(--r-chip);
      display: inline-block;
    }

    /* 1-Selection-At-A-Time Choice Cards */
    .onboard-single-card {
      background: #ffffff;
      border: 1.5px solid #e2e8f0;
      border-radius: var(--r-card);
      padding: 12px 14px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .onboard-single-card:hover, .onboard-single-card:active {
      border-color: #cbd5e1;
      background: #f8fafc;
      transform: translateY(-1px);
    }
    .onboard-single-card.active {
      border-color: #d97706;
      background: #fefce8;
      box-shadow: 0 4px 14px rgba(217, 119, 6, 0.16);
    }
    .onboard-single-content {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .onboard-single-icon {
      font-size: 24px;
      flex-shrink: 0;
    }
    .onboard-single-title {
      font-size: 13px;
      font-weight: 800;
      color: var(--primary);
    }
    .onboard-single-sub {
      font-size: var(--fs-sm);
      color: #64748b;
      margin-top: 1px;
    }
    .onboard-check-indicator {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      border: 1.5px solid #cbd5e1;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      color: transparent;
      flex-shrink: 0;
      transition: all 0.2s ease;
    }
    .onboard-single-card.active .onboard-check-indicator {
      background: #d97706;
      border-color: #d97706;
      color: white;
    }

    /* Showroom Owner Claim & Partner Styles */
    .claim-listing-btn {
      font-size: var(--fs-xs);
      font-weight: 800;
      color: #2563eb;
      background: #eff6ff;
      border: 1px solid #bfdbfe;
      padding: 2px 6px;
      border-radius: var(--r-chip);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 3px;
      transition: all 0.15s;
    }
    .claim-listing-btn:hover {
      background: #dbeafe;
    }
    .owner-claim-banner {
      background: linear-gradient(135deg, #eff6ff, #dbeafe);
      border: 1.5px solid #93c5fd;
      border-radius: var(--r-card);
      padding: 12px 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      cursor: pointer;
    }
    .btn-claim-pill {
      background: #1d4ed8;
      color: white;
      border: none;
      padding: 7px 12px;
      border-radius: var(--r-chip);
      font-size: var(--fs-xs);
      font-weight: 800;
      cursor: pointer;
      flex-shrink: 0;
      white-space: nowrap;
    }
    .partner-badge-pill {
      background: linear-gradient(135deg, #fef3c7, #fde68a);
      border: 1px solid #f59e0b;
      color: #92400e;
      font-size: var(--fs-xs);
      font-weight: 800;
      padding: 2px 7px;
      border-radius: var(--r-chip);
      display: inline-flex;
      align-items: center;
      gap: 3px;
    }

    /* Minimalist Legal Attribution */
    .legal-footer {
      position: absolute;
      bottom: 4px;
      left: 12px;
      right: 12px;
      text-align: center;
      font-size: 11px; /* attribution and disclaimer only: exempt from the 12px floor */
      line-height: 1.35;
      color: rgba(15, 23, 42, 0.6);
      z-index: 900;
      pointer-events: auto;
    }
    .legal-footer a { color: var(--gold); text-decoration: none; font-weight: 700; }

    /* ==================================================================== */
    /* COMPREHENSIVE MULTI-DEVICE RESPONSIVENESS & BREAKPOINT RULES         */
    /* ==================================================================== */

    /* Scroll Containment & Bounce Protection for iOS Safari & Android */
    .sheet-content, .cards-deck, .search-results-list, .shortlist-items-box, #batch-queue-list {
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
    }

    /* 1. Mobile Landscape & Extremely Short Viewports (height <= 520px) */
    @media (max-height: 520px) {
      .top-floating-header {
        top: calc(4px + var(--safe-top));
        max-width: 440px;
        gap: 4px;
      }
      .top-search-capsule {
        padding: 3px 6px 3px 10px;
        border-radius: var(--r-card);
      }
      .brand-gem { font-size: 13px; }
      .search-main-title { font-size: var(--fs-sm); }
      .search-sub-location { font-size: var(--fs-sm); }
      .capsule-btn { width: 38px; height: 38px; min-width: 38px; font-size: 14px; }
      .capsule-cat-trigger { padding: 3px 7px; font-size: var(--fs-sm); }

      .floating-tools-stack {
        top: calc(4px + var(--safe-top));
        right: calc(8px + var(--safe-right));
        flex-direction: row;
        gap: 6px;
      }
      .tool-fab {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        font-size: 14px;
      }
      /* Hide secondary tools in landscape to keep top row compact & clean */
      #btn-open-guide, #btn-install-pwa {
        display: none !important;
      }

      .bottom-sheet {
        bottom: calc(4px + var(--safe-bottom));
        max-width: 460px;
      }
      .cards-deck {
        padding: 2px 6px 4px 6px;
        gap: 8px;
      }
      .luxury-card {
        flex: 0 0 310px;
        max-width: 85vw;
        padding: 6px 10px;
        gap: 4px;
        border-radius: var(--r-chip);
      }
      .card-compact-header {
        gap: 4px;
      }
      .shop-title { font-size: 12px; }
      .shop-addr { font-size: var(--fs-sm); }
      .val-pill {
        padding: 3px 6px;
        font-size: var(--fs-xs);
      }
      .action-row {
        gap: 4px;
        margin-top: 0;
      }
      .btn-action-primary {
        height: 44px;
        min-height: 44px;
        font-size: var(--fs-xs);
      }
      .action-icon-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 14px;
      }
      .sheet-content {
        max-height: calc(100dvh - 12px);
        padding: 10px 14px calc(14px + var(--safe-bottom));
      }
    }

    /* 2. Ultra-Compact Portrait Screens (width <= 360px or height <= 620px) */
    @media (max-width: 360px) and (orientation: portrait), (max-height: 620px) and (orientation: portrait) {
      .top-floating-header {
        top: calc(4px + var(--safe-top));
        left: 8px;
        right: 8px;
        gap: 4px;
      }
      .top-search-capsule {
        padding: 4px 6px 4px 10px;
      }
      .search-brand-group {
        gap: 6px;
      }
      .brand-gem { font-size: 14px; }
      .search-main-title { font-size: 12px; }
      .search-sub-location { font-size: var(--fs-sm); }
      .capsule-cat-trigger { padding: 3px 6px; font-size: var(--fs-sm); }
      .capsule-cat-label { max-width: 48px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

      .floating-tools-stack {
        top: calc(52px + var(--safe-top));
        right: calc(6px + var(--safe-right));
        gap: 4px;
      }
      .tool-fab {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        font-size: 14px;
      }

      .bottom-sheet {
        bottom: calc(6px + var(--safe-bottom));
        left: 6px;
        right: 6px;
      }
      .cards-deck {
        padding: 2px 4px 6px 4px;
        gap: 6px;
      }
      .luxury-card {
        flex: 0 0 285px;
        max-width: 90vw;
        padding: 8px 10px;
        gap: 5px;
      }
      .val-pill {
        padding: 4px 6px;
        font-size: var(--fs-xs);
      }
      .btn-action-primary {
        height: 44px;
        min-height: 44px;
        font-size: var(--fs-xs);
        padding: 0 8px;
      }
      .action-icon-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
      }
    }

    /* 3. Tablets, Foldables & Large Screens (min-width: 768px) */
    @media (min-width: 768px) {
      .top-floating-header {
        left: calc(20px + var(--safe-left));
        right: auto;
        width: 420px;
        max-width: 420px;
        margin: 0;
      }
      .bottom-sheet {
        left: calc(20px + var(--safe-left));
        right: auto;
        width: 420px;
        max-width: 420px;
        bottom: calc(20px + var(--safe-bottom));
        margin: 0;
      }
      .luxury-card {
        flex: 0 0 390px;
      }
      .floating-tools-stack {
        right: calc(20px + var(--safe-right));
        top: calc(20px + var(--safe-top));
      }
      .sheet-modal {
        align-items: center;
        justify-content: center;
        padding: 20px;
      }
      .sheet-content {
        border-radius: 24px;
        max-width: 540px;
        max-height: 85vh;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
      }
      .legal-footer {
        left: calc(20px + var(--safe-left));
        right: auto;
        text-align: left;
      }
    }

    .find-note {
      /* The deck snaps (mandatory): without its own snap point a note can never be scrolled
         into view, and the deck springs back to the nearest shop card. */
      scroll-snap-align: center;
      flex: 0 0 auto;
      align-self: stretch;
      width: 260px;
      max-width: 80vw;
      background: #fffbeb;
      border: 1px solid #fde68a;
      color: #78350f;
      border-radius: var(--r-card);
      padding: 14px;
      font-size: 12px;
      line-height: 1.45;
    }
    .find-note strong { display: block; font-size: 13px; margin-bottom: 4px; color: #451a03; }
    .find-note button {
      margin: 8px 6px 0 0;
      background: #ffffff;
      border: 1px solid #fcd34d;
      color: #78350f;
      border-radius: var(--r-chip);
      padding: 6px 10px;
      font-weight: 700;
      font-size: var(--fs-sm);
      cursor: pointer;
    }
    .card-where { font-size: var(--fs-sm); font-weight: 700; color: #b45309; }
    .card-where.unplaced { color: #64748b; font-weight: 600; }
    .spec-chip {
      display: inline-block;
      font-size: var(--fs-xs);
      font-weight: 700;
      padding: 3px 8px;
      border-radius: var(--r-chip);
      background: #f1f5f9;
      color: #334155;
      margin: 0 4px 4px 0;
    }
    .spec-chip.other { background: #fef3c7; color: #92400e; }
    /* The find bar made the header ~42px taller. Elements placed at fixed offsets under the
       header move down by the same amount (margin adds to whichever media query's top wins). */
    .btn-search-area-float { margin-top: 46px; }
    @media (min-height: 521px) {
      .floating-tools-stack { top: calc(124px + env(safe-area-inset-top, 0px)); margin-top: 0; }
    }

    /* ---- Top bar: one search bar + one chip row ---------------------------------------- */
    .top-floating-header { gap: 8px; }
    .tb {
      pointer-events: auto;
      display: flex;
      align-items: center;
      gap: 6px;
      height: 54px;
      padding: 0 5px 0 16px;
      background: #ffffff;
      border-radius: 27px;
      box-shadow: var(--elev-2);
    }
    .tb-main {
      flex: 1;
      min-width: 0;
      height: 100%;
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 0;
      border: 0;
      background: none;
      color: #0f172a;
      text-align: left;
      cursor: pointer;
      font: inherit;
      -webkit-tap-highlight-color: transparent;
    }
    .tb-ico { width: 20px; height: 20px; flex: none; fill: none; stroke: #64748b; stroke-width: 2.2; stroke-linecap: round; }
    .tb-text { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
    .tb-title {
      font: 700 15px/1.15 'Plus Jakarta Sans', system-ui, sans-serif;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .tb-sub {
      font: 500 12px/1.15 'Plus Jakarta Sans', system-ui, sans-serif;
      color: #64748b;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .tb-locate {
      flex: none;
      width: 44px; height: 44px;
      border-radius: 22px;
      border: 0;
      background: #f1f5f9;
      display: grid; place-items: center;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
    }
    .tb-locate svg { width: 22px; height: 22px; fill: none; stroke: #334155; stroke-width: 2; stroke-linecap: round; }
    .tb-locate.active { background: #2563eb; }
    .tb-locate.active svg { stroke: #ffffff; }
    .tb-locate.active svg .dot { fill: #ffffff; }
    .tb-chips {
      pointer-events: auto;
      display: flex;
      gap: 8px;
      overflow-x: auto;
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
      padding: 1px 2px 3px;
    }
    .tb-chips::-webkit-scrollbar { display: none; }
    .tb-chip {
      flex: none;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      height: 38px;
      max-width: 62vw;
      padding: 0 12px 0 15px;
      border-radius: 19px;
      border: 1px solid rgba(15, 23, 42, 0.10);
      background: #ffffff;
      color: #0f172a;
      font: 600 13px/1 'Plus Jakarta Sans', system-ui, sans-serif;
      box-shadow: var(--elev-1);
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
    }
    .tb-chip[hidden] { display: none; }
    .tb-chip-lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .tb-chip svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
    .tb-chip.active { background: #0f172a; color: #ffffff; border-color: #0f172a; }
    .tb-clear { padding: 0 15px; color: #b45309; }
    .tb-main:focus-visible, .tb-locate:focus-visible, .tb-chip:focus-visible, .pick-item:focus-visible {
      outline: 2px solid var(--gold); outline-offset: 2px;
    }
    .pick-hint { font-size: 12px; color: #64748b; margin: -4px 0 4px; line-height: 1.4; }
    .pick-hint[hidden], #pick-search-box[hidden] { display: none; }
    .pick-list { display: flex; flex-direction: column; overflow-y: auto; max-height: min(58vh, 520px); margin-top: 4px; }
    .pick-item {
      display: flex; justify-content: space-between; align-items: center; gap: 12px;
      min-height: 50px; padding: 0 4px;
      border: 0; border-bottom: 1px solid #f1f5f9; background: none;
      font: 500 15px/1.25 'Plus Jakarta Sans', system-ui, sans-serif;
      color: #0f172a; text-align: left; cursor: pointer;
    }
    .pick-item.selected { font-weight: 700; color: #b45309; }
    .pick-n { flex: none; font-size: 13px; font-weight: 500; color: #64748b; }
    .pick-empty { padding: 16px 4px; color: #64748b; font-size: 13px; }

    /* Right-hand tools: two buttons, real <button>s */
    button.tool-fab { padding: 0; font: inherit; color: inherit; cursor: pointer; }
    .tool-more svg { width: 20px; height: 20px; fill: #334155; }
    .more-list { display: flex; flex-direction: column; }
    .more-item {
      display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 8px 4px; width: 100%;
      border: 0; border-bottom: 1px solid #f1f5f9; background: none; text-align: left; cursor: pointer;
      font: 500 15px/1.3 'Plus Jakarta Sans', system-ui, sans-serif; color: #0f172a;
    }
    .more-item[hidden] { display: none; }
    .tool-fab[hidden] { display: none; }
    .more-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: var(--r-chip); background: #f1f5f9; font-size: 18px; }
    .more-sub { font-size: 12px; color: #64748b; font-weight: 500; }
    .more-item .vip-fab-badge { position: static; margin-left: auto; }
    .more-item .vip-fab-badge[hidden] { display: none; }

    /* What people confirmed, on cards and the shop page */
    .spec-chip.ok { background: #d1fae5; color: #047857; }
    .card-photo { float: right; width: 56px; height: 56px; object-fit: cover; border-radius: var(--r-chip); margin: 0 0 4px 10px; background: #f1f5f9; }
    .shop-photos { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 4px 0; }
    .shop-photos img { flex: none; width: 72%; max-width: 320px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-chip); scroll-snap-align: start; background: #f1f5f9; }
    .shop-about { font-size: 13px; line-height: 1.5; color: #334155; margin: 4px 0; }
    .shop-open { font-size: 12px; font-weight: 700; color: #b45309; }
    .shop-open.open { color: #047857; }
    .shop-hours summary { font-size: 12px; font-weight: 700; color: #334155; cursor: pointer; padding: 6px 0; }
    .shop-hours table { font-size: 12px; border-collapse: collapse; }
    .shop-hours th { text-align: left; padding: 2px 12px 2px 0; color: #64748b; font-weight: 600; }
    .shop-checked { font-size: 12px; font-weight: 700; color: #047857; }
    .shop-checked.owner { color: #475569; font-weight: 600; }
    .osm-credit { font-size: var(--fs-xs); color: #64748b; }
  

/* Card action icons: one stroke set, no emoji (2026-11-21). */
.action-icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.action-icon-group { display: flex; gap: 8px; }

/* ---- 2026-11-21 polish ---- */
/* Calculator: two fields share a row without the second running off the edge. */
.calc-fld { min-width: 0; }
.calc-input { width: 100%; min-width: 0; box-sizing: border-box; }
.calc-w-chip { padding: 8px 12px; white-space: nowrap; flex: 0 0 auto; }

/* Sliders: brand track and a thumb a finger can hit, instead of the browser's dark default. */
input[type="range"] { -webkit-appearance: none; appearance: none; height: 32px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--gold) var(--pct, 0%), var(--border) var(--pct, 0%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--gold) var(--pct, 0%), var(--border) var(--pct, 0%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--gold); border: 3px solid #fff; box-shadow: var(--elev-1); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--gold); border: 3px solid #fff; box-shadow: var(--elev-1); }

/* Wizard: the next step is always reachable, never below the fold. */
.onboard-footer-row { position: sticky; bottom: calc(-1 * var(--safe-bottom)); background: linear-gradient(to top, #fff 75%, rgba(255,255,255,0)); padding: 14px 0 6px; z-index: 2; }
.btn-onboard-next, .btn-onboard-primary, .btn-onboard-back { min-height: 48px; font-size: var(--fs-md); padding: 0 22px; }

    /* 21 Nov: with the 12px floor, the WhatsApp question boxes outgrew a phone (the right column
       ran off screen): columns may shrink, and titles wrap instead of forcing one line. */
    .wa-intents-grid-2x2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .wa-intent-card { min-width: 0; }
    .wa-intent-title, .wa-intent-sub { white-space: normal; overflow-wrap: anywhere; }
    /* The disclaimer and map credits sit on the map: a light backing keeps them readable. */
    .legal-footer { background: rgba(255, 255, 255, 0.86); border-radius: 8px; padding: 2px 6px; }

/* Cards in the deck stretch to the tallest one: keep the buttons on the bottom edge, put the slack above them. */
.luxury-card .action-row { margin-top: auto; padding-top: 4px; }

/* ---- Shop-posted rate and offer ---- */
.spec-chip.rate { background: var(--gold-bg); color: #92400e; border: 1px solid var(--gold-border); font-weight: 800; }
.spec-chip.offer { background: #fff1f2; color: #be123c; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.rate-block { background: var(--gold-bg); border: 1px solid var(--gold-border); border-radius: var(--r-chip); padding: 12px; }
.rate-block-title { font-size: var(--fs-xs); font-weight: 800; color: #92400e; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 8px; }
.rate-block-row { display: flex; gap: 8px; }
.rate-cell { flex: 1; background: #fff; border-radius: 10px; padding: 8px 10px; text-align: center; }
.rate-cell-k { font-size: var(--fs-xs); font-weight: 700; color: #64748b; }
.rate-cell-v { font-size: var(--fs-lg); font-weight: 800; color: var(--primary); }
.rate-cell-v span { font-size: var(--fs-xs); font-weight: 600; color: #64748b; }
.rate-block-note { font-size: var(--fs-xs); color: #78350f; margin-top: 8px; line-height: 1.4; }
.rate-offer { font-size: var(--fs-sm); color: #9f1239; margin-top: 8px; line-height: 1.4; }
.rate-offer span { color: #64748b; font-size: var(--fs-xs); }
.calc-rate-source { font-weight: 600; color: #b45309; text-transform: none; letter-spacing: 0; }

/* ---- For jewellers sheet ---- */
.jw-lead { font-size: var(--fs-md); line-height: 1.5; color: #334155; }
.jw-list { display: flex; flex-direction: column; gap: 12px; }
.jw-item { display: flex; gap: 12px; align-items: flex-start; }
.jw-item strong { display: block; font-size: var(--fs-md); color: var(--primary); }
.jw-item span:not(.jw-tick) { display: block; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.45; margin-top: 2px; }
.jw-tick { flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); display: flex; align-items: center; justify-content: center; font-size: var(--fs-xs); font-weight: 800; margin-top: 1px; }
.jw-steps-title { font-size: var(--fs-xs); font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: .04em; }
.jw-steps { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-sm); color: #334155; line-height: 1.45; }
.jw-cta { width: 100%; flex: none; }
.jw-open { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: var(--r-chip); border: 1px solid var(--border); text-decoration: none; font-weight: 700; font-size: var(--fs-md); color: var(--primary); background: #f1f5f9; }
.jw-open[hidden] { display: none; }
.jw-foot { font-size: var(--fs-xs); color: var(--text-muted); text-align: center; }
.jw-foot a { color: var(--gold); font-weight: 700; }

/* ---- Tamil: Plus Jakarta Sans has no Tamil glyphs, so name the Tamil face and give it room ---- */
html[lang="ta"] body, html[lang="ta"] button, html[lang="ta"] input { font-family: 'Plus Jakarta Sans', 'Noto Sans Tamil', 'Latha', sans-serif; }
html[lang="ta"] body { line-height: 1.55; }
html[lang="ta"] .shop-title, html[lang="ta"] .sheet-title { line-height: 1.4; }
html[lang="ta"] .btn-action-primary, html[lang="ta"] .spec-chip { line-height: 1.4; }

/* ---- Tamil and long labels ---- */
/* Filter chips shrink and cut a long label with an ellipsis instead of running off the screen. */
.tb-chip { min-width: 0; flex: 0 1 auto; }
.tb-chip-lbl { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* The estimator's WhatsApp button may take two lines. */
#btn-calc-wa-inquire { white-space: normal; height: auto; min-height: 48px; padding-top: 10px; padding-bottom: 10px; line-height: 1.35; }
/* Tamil words are long: the four WhatsApp questions go one per row so no word breaks mid-way. */
html[lang="ta"] .wa-intents-grid-2x2 { grid-template-columns: minmax(0, 1fr); }
