/* Extracted from inline brand-page <style> on 2026-05-21 — see deploy notes.
   Same rules for every brand; cached at CDN edge + browser. */
:root {
    --bg-color: #FCFBF8;
    --text-main: #1e293b; --text-muted: #64748b;
    --op-color: rgba(191, 219, 254, 0.3); --fin-color: rgba(167, 243, 208, 0.3); --com-color: rgba(253, 230, 138, 0.3); 
    --shadow: 0 12px 40px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.02); --glass-blur: blur(30px); 
    --noise-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
  }

  /* 🔒 DYNAMIC SMART CONTRAST THEME 🔒 */
  body.dark-theme {
      --text-main: #ffffff;
      --text-muted: #cbd5e1;
      --op-color: rgba(255, 255, 255, 0.15);
      --fin-color: rgba(255, 255, 255, 0.15);
      --com-color: rgba(255, 255, 255, 0.15);
  }
  body.dark-theme .bento-card { background-color: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1); }
  
  /* DARK MODE GLASSY MENUS */
  body.dark-theme .glass-rect-item { background: rgba(15,23,42,0.85) !important; border-color: rgba(255,255,255,0.15) !important; color: #fff !important; }
  body.dark-theme .glass-rect-item:hover, body.dark-theme .glass-rect-item.selected, body.dark-theme .glass-rect-item.highlighted { background: #10b981 !important; border-color: #10b981 !important; color: #fff !important; }
  body.dark-theme .dropdown-menu { background: rgba(15,23,42,0.85) !important; border-color: rgba(255,255,255,0.15) !important; }
  body.dark-theme .menu-item { color: #fff !important; }
  body.dark-theme .menu-item:hover { background: rgba(255,255,255,0.1) !important; }

  body.dark-theme .btn-back-float { color: #fff; background: transparent; border: none;}
  body.dark-theme .btn-back-float svg { stroke: #fff; }
  body.dark-theme .section-title { color: #fff !important; }
  body.dark-theme .sleek-apply-btn { color: #fff !important; }
  body.dark-theme .sleek-apply-btn::after { background: #fff !important; }
  body.dark-theme .sleek-apply-btn svg { stroke: #fff !important; }
  body.dark-theme .locations-wrapper {
      background: linear-gradient(135deg, rgba(71,85,105,0.18), rgba(100,116,139,0.10) 50%, rgba(56,189,248,0.06));
      border-color: rgba(71,85,105,0.30);
  }
  body.dark-theme .locations-wrapper::before { background: radial-gradient(circle, rgba(56,189,248,0.22), transparent 70%); }
  body.dark-theme .locations-wrapper::after { background: radial-gradient(circle, rgba(71,85,105,0.22), transparent 70%); }

  /* ─── BrandFit native CTA — sits between vault + locations ─── */
  .brandfit-cta {
      position: relative; padding: 28px 32px; border-radius: 18px;
      background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(59,130,246,0.04) 50%, rgba(139,92,246,0.05));
      border: 1px solid rgba(16,185,129,0.18);
      display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
      overflow: hidden;
  }
  body:not(.dark-theme) .brandfit-cta { background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(59,130,246,0.06) 50%, rgba(139,92,246,0.07)); border-color: rgba(16,185,129,0.28); }
  .brandfit-cta .bfc-glow { position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(16,185,129,0.30), transparent 70%); pointer-events: none; z-index: 0; }
  .brandfit-cta .bfc-icon { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 14px; background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.3); display: flex; align-items: center; justify-content: center; color: #10b981; flex-shrink: 0; box-shadow: 0 8px 24px rgba(16,185,129,0.18); }
  .brandfit-cta .bfc-body { position: relative; z-index: 1; min-width: 0; }
  .brandfit-cta .bfc-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #10b981; margin-bottom: 6px; font-weight: 600; }
  .brandfit-cta .bfc-title { font-family: 'Urbanist', sans-serif; font-size: 22px; font-weight: 700; line-height: 1.25; margin-bottom: 8px; }
  body.dark-theme .brandfit-cta .bfc-title { color: #f1f5f9; }
  body:not(.dark-theme) .brandfit-cta .bfc-title { color: #0f172a; }
  .brandfit-cta .bfc-title em { font-style: italic; color: #10b981; font-weight: 700; }
  .brandfit-cta .bfc-sub { font-size: 14px; line-height: 1.55; margin-bottom: 16px; }
  body.dark-theme .brandfit-cta .bfc-sub { color: #94a3b8; }
  body:not(.dark-theme) .brandfit-cta .bfc-sub { color: #475569; }
  .brandfit-cta .bfc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-family: 'Urbanist', sans-serif; font-weight: 700; font-size: 14px; text-decoration: none; color: #fff !important; background: linear-gradient(110deg, #10b981, #3b82f6 30%, #8b5cf6 60%, #ec4899 80%, #f59e0b); background-size: 200% 100%; animation: bfcPearl 8s ease-in-out infinite; box-shadow: 0 0 0 1px rgba(255,255,255,0.1) inset, 0 6px 18px rgba(16,185,129,0.25); transition: all 0.25s; }
  .brandfit-cta .bfc-btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,0.2) inset, 0 10px 26px rgba(16,185,129,0.4); }
  .brandfit-cta .bfc-btn svg { transition: transform 0.25s; }
  .brandfit-cta .bfc-btn:hover svg { transform: translateX(3px); }
  @keyframes bfcPearl { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
  @media (max-width: 700px) {
      .brandfit-cta { grid-template-columns: 1fr; padding: 22px 20px; gap: 14px; }
      .brandfit-cta .bfc-icon { width: 44px; height: 44px; }
      .brandfit-cta .bfc-title { font-size: 18px; }
      .brandfit-cta .bfc-sub { font-size: 13px; }
  }
  body.dark-theme .loc-city summary { background: rgba(255,255,255,0.1); }
  body.dark-theme .loc-store-item { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.1); color: #fff;}
  body.dark-theme .scale-container { background: rgba(0,0,0,0.3); }
  body.dark-theme .premium-title svg { background: rgba(0,0,0,0.3) !important; border-color: rgba(255,255,255,0.15) !important; color: #fff !important; }
  body.dark-theme .premium-title { color: #fff !important; }
  body.dark-theme .premium-card { background: transparent; border-color: transparent; }
  body.dark-theme .premium-blurred-body { color: #fff; }
  body.dark-theme .premium-blurred-body .margin-row, body.dark-theme .premium-blurred-body .review-text { color: rgba(255,255,255,0.7); }
  body.dark-theme .section-title { color: #fff !important; }
  body.dark-theme .dynamic-results-panel { background: rgba(15,23,42,0.95); border-color: rgba(255,255,255,0.1); }
  body.dark-theme .results-header { border-color: rgba(255,255,255,0.1); color: #fff; }
  body.dark-theme .v-tracker-label { background: rgba(15,23,42,0.85); border-color: rgba(255,255,255,0.15); color: #fff; }
  body.dark-theme #revenue-model-badge div { background: rgba(0,0,0,0.3) !important; border-color: rgba(255,255,255,0.15) !important; color: #fff !important; }
  body.dark-theme #revenue-model-badge div span { color: rgba(255,255,255,0.5) !important; }
  body.dark-theme .slider-val-display { background: rgba(15,23,42,0.85); border-color: rgba(255,255,255,0.15); color: #fff; }

  body { background-color: var(--bg-color); color: var(--text-main); font-family: 'Urbanist', sans-serif; font-weight: 300; margin: 0; padding: 72px 20px 60px 20px; display: flex; flex-direction: column; align-items: center; overflow-x: hidden; position: relative; transition: background-color 0.8s ease, box-shadow 0.3s;}
  body.editor-mode { box-shadow: inset 0 0 0 4px #10b981; }
  body.search-active-body { padding-top: 150px; } 
  
  #bg-watermark { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60vw; max-width: 500px; opacity: 0; z-index: 0; pointer-events: none; transition: opacity 0.8s ease; filter: blur(2px); }

  h1, h2, h3, .section-title, .label, .menu-item { font-family: 'Urbanist', sans-serif; font-weight: 500; letter-spacing: -0.5px;}
  .value, .scale-node, input, select, button { font-family: 'Inter', sans-serif; font-weight: 400; }
  .btn-view-profile { font-family: 'Urbanist', sans-serif; font-weight: 500; }

  .container { width: 100%; max-width: 1200px; display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1;}

  #toast-container { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 99999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
  .toast-notification { color: #fff; padding: 14px 28px; border-radius: 14px; font-family: 'Urbanist', sans-serif; font-size: 13px; font-weight: 500; letter-spacing: 0.2px; opacity: 0; transform: translateY(20px); transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .toast-success { background: rgba(15,23,42,0.92); border: 1px solid rgba(16,185,129,0.2); box-shadow: 0 12px 40px rgba(0,0,0,0.25), 0 0 0 1px rgba(16,185,129,0.1); }
  .toast-error { background: rgba(15,23,42,0.92); border: 1px solid rgba(239,68,68,0.2); box-shadow: 0 12px 40px rgba(0,0,0,0.25), 0 0 0 1px rgba(239,68,68,0.1); color: #fca5a5; }

  /* 1. SOLID BLACK HEADER */
  .top-black-bar { position: fixed; top: 0; left: 0; width: 100%; height: 64px; background: #0f172a; z-index: 20000; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; box-sizing: border-box; transition: height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); box-shadow: 0 4px 20px rgba(0,0,0,0.2);}
  .top-black-bar::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0; background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px); background-size: 20px 20px; mask-image: linear-gradient(90deg, transparent 0%, black 20%, black 80%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 20%, black 80%, transparent 100%); }
  @keyframes bgNamePearl { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
  /* Brand name in top bar — Option D (6-stop tour gradient + pink + amber,
     12s shimmer). Font-weight bumped from 100 Thin (invisible) to 500
     Medium. font-size and letter-spacing use clamp() so 30-char names like
     "Honda Motorcycle Scooter India" auto-shrink on narrow viewports
     instead of clipping. `background-image` (not `background` shorthand)
     so it doesn't reset `background-clip: text`. */
  .bg-brand-name {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Raleway', sans-serif;
    font-size: clamp(26px, 4.2vw, 56px);
    font-weight: 500;
    white-space: nowrap; pointer-events: none;
    text-transform: uppercase;
    letter-spacing: clamp(5px, 1.1vw, 16px);
    max-width: 100%; text-align: center;
    overflow: hidden; z-index: 0;
    background-image: linear-gradient(
      90deg,
      rgba(16,185,129,0.65),
      rgba(59,130,246,0.65),
      rgba(139,92,246,0.65),
      rgba(236,72,153,0.60),
      rgba(245,158,11,0.60),
      rgba(16,185,129,0.65)
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: bgNamePearl 12s ease-in-out infinite;
    /* No mask — JS auto-fit (fitBrandName) already keeps the text within
       82% of bar width, so the whole name renders at full opacity. Any
       mask fade (even 2%) partially transparents the first letter. */
  }
  .bg-brand-glow { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: 'Raleway', sans-serif; font-size: 56px; font-weight: 100; white-space: nowrap; pointer-events: none; text-transform: uppercase; letter-spacing: 20px; width: 100%; text-align: center; overflow: hidden; z-index: 0; color: rgba(16,185,129,0.03); text-shadow: 0 0 40px rgba(16,185,129,0.06), 0 0 80px rgba(16,185,129,0.03); mask-image: linear-gradient(90deg, transparent 5%, black 20%, black 80%, transparent 95%); -webkit-mask-image: linear-gradient(90deg, transparent 5%, black 20%, black 80%, transparent 95%); }
  
  /* ─── ANIMATED LOGO + TOP BAR COCKPIT moved to /brandpage-shell.css on 2026-05-21 (perf: 23.8KB off inline) ─── */
  /* ─── LIGHTBOX ─── */
  .lightbox { position: fixed; inset: 0; z-index: 90000; background: rgba(0,0,0,0.92); display: none; flex-direction: column; align-items: center; justify-content: center; }
  .lightbox.open { display: flex; }
  .lightbox-close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: rgba(255,255,255,0.7); font-size: 32px; cursor: pointer; z-index: 5; padding: 8px; line-height: 1; transition: color 0.15s; }
  .lightbox-close:hover { color: #fff; }
  .lightbox-main { flex: 1; display: flex; align-items: center; justify-content: center; width: 100%; position: relative; min-height: 0; padding: 50px 60px 0; }
  .lightbox-main img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; user-select: none; }
  .lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; color: rgba(255,255,255,0.5); font-size: 48px; cursor: pointer; padding: 20px 12px; z-index: 5; transition: color 0.15s; font-weight: 200; font-family: 'Inter', sans-serif; }
  .lightbox-arrow:hover { color: #fff; }
  .lightbox-arrow-left { left: 0; }
  .lightbox-arrow-right { right: 0; }
  .lightbox-thumbs { display: flex; gap: 6px; padding: 12px 20px 16px; overflow-x: auto; max-width: 100%; scrollbar-width: none; flex-shrink: 0; }
  .lightbox-thumbs::-webkit-scrollbar { display: none; }
  .lightbox-thumb { width: 56px; height: 40px; border-radius: 4px; overflow: hidden; cursor: pointer; opacity: 0.4; transition: opacity 0.15s; border: 2px solid transparent; flex-shrink: 0; }
  .lightbox-thumb.active { opacity: 1; border-color: #10b981; }
  .lightbox-thumb:hover { opacity: 0.8; }
  .lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .lightbox-counter { position: absolute; top: 18px; left: 20px; color: rgba(255,255,255,0.5); font-family: 'Urbanist', sans-serif; font-size: 12px; font-weight: 600; }

  /* 🔒 CINEMATIC BRAND PAGE ENTRANCE 🔒 */

  /* ─── HERO — hidden until ready ─── */
  /* 2026-05-21: reverted to full-hero opacity-0 per user — perf gain from
     unblocking the editorial-lead was small in practice (LCP element is
     outside .hero-section anyway), and the cinematic entrance is part of
     the brand-page feel. */
  .hero-section { opacity: 0; }
  .hero-section.hero-loaded { opacity: 1; transition: opacity 0.3s ease; }

  /* Mobile: simple sequential fade */
  .logo-box { opacity: 0; transform: scale(0.9); }
  .hero-loaded .logo-box { opacity: 1; transform: scale(1); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s; }
  .skewed-gallery-wrapper { opacity: 0; transform: translateX(30px); }
  .hero-loaded .skewed-gallery-wrapper { opacity: 1; transform: translateX(0); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s; }

  /* ─── KEYFRAMES ─── */

  /* Gallery items — sweep in like cards being dealt */
  @keyframes galleryItemIn {
      0% { opacity: 0; transform: skewX(-15deg) translateX(120px) scale(0.88); }
      65% { opacity: 1; transform: skewX(-15deg) translateX(-6px) scale(1.01); }
      100% { opacity: 1; transform: skewX(-15deg) translateX(0) scale(1); }
  }

  /* Logo badge — drops into corner with spring */
  @keyframes logoBadgeIn {
      0% { opacity: 0; transform: translate(-12px, 20px) scale(0.5); }
      50% { opacity: 1; transform: translate(3px, -4px) scale(1.08); }
      75% { transform: translate(-1px, 2px) scale(0.97); }
      100% { opacity: 1; transform: translate(0, 0) scale(1); }
  }

  /* Gallery tabs — stagger from left */
  @keyframes tabFadeIn {
      0% { opacity: 0; transform: translateX(-12px); }
      100% { opacity: 1; transform: translateX(0); }
  }

  /* Bento cards — rise and settle like tiles being placed */
  @keyframes bentoTileIn {
      0% { opacity: 0; transform: translateY(32px) scale(0.93); }
      60% { opacity: 1; transform: translateY(-3px) scale(1.01); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
  }

  /* Section title — gentle drift up */
  @keyframes titleDriftIn {
      0% { opacity: 0; transform: translateY(18px); }
      100% { opacity: 1; transform: translateY(0); }
  }

  /* ─── PATTERN A — invite-only ribbon (hero TOP-RIGHT corner).
       Width-based + text-align:center so the label sits dead-centre in
       the diagonal band. Click scrolls to the roadmap section so we don't
       need to clutter the ribbon with a second line. ─── */
  .pattern-a-ribbon {
      position: absolute;
      width: 180px;            /* fixed band width — diagonal length */
      top: 28px; right: -52px; /* corner placement */
      transform: rotate(45deg);
      text-align: center;
      background: linear-gradient(135deg, #c89236, #fbbf24);
      color: #44260a;
      font-family: 'Urbanist', sans-serif; font-size: 10px; font-weight: 800;
      letter-spacing: 0.1em; text-transform: uppercase;
      padding: 5px 0;
      box-shadow: 0 3px 8px rgba(0,0,0,0.3);
      z-index: 6;
      cursor: pointer;
      pointer-events: auto;
      white-space: nowrap;
      transition: filter 0.2s, transform 0.2s;
  }
  .pattern-a-ribbon:hover { filter: brightness(1.08); transform: rotate(45deg) translateY(-1px); }
  .pattern-a-ribbon .par-arrow { font-size: 11px; margin-left: 4px; display: inline-block; transform: translateY(0.5px); }
  @media (max-width: 767px) {
      .pattern-a-ribbon { width: 160px; top: 22px; right: -54px; font-size: 9px; padding: 4px 0; }
  }

  /* ─── PATTERN A — roadmap section (editorial checklist) ─── */
  .pa-roadmap {
      background: #fdf6e8;
      border: 1px solid rgba(26, 24, 20, 0.06);
      border-radius: 14px;
      padding: 26px 28px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
      margin: 20px 0 28px;
  }
  .pa-roadmap-eyebrow {
      font-family: 'Urbanist', sans-serif; font-size: 10px; font-weight: 800;
      letter-spacing: 0.1em; text-transform: uppercase; color: #c89236;
      margin-bottom: 6px;
  }
  .pa-roadmap-title {
      font-family: 'Source Serif 4', Georgia, serif; font-size: 22px; font-weight: 500;
      color: #1c1917; margin: 0 0 4px; letter-spacing: -0.005em;
  }
  .pa-roadmap-intro {
      font-family: 'Source Serif 4', Georgia, serif; font-size: 15px; font-style: italic; line-height: 1.5;
      color: #1c1917; margin: 16px 0; padding-left: 14px; border-left: 3px solid #c89236;
  }
  .pa-roadmap-item {
      display: flex; gap: 12px; padding: 10px 0; align-items: flex-start;
      font-family: 'DM Sans', 'Inter', sans-serif;
  }
  .pa-roadmap-check {
      flex-shrink: 0; width: 18px; height: 18px; border-radius: 4px;
      border: 1.5px solid #c89236; display: flex; align-items: center; justify-content: center;
      color: #c89236; font-weight: 800; font-size: 11px; margin-top: 1px;
  }
  .pa-roadmap-item.required .pa-roadmap-check { background: #c89236; color: #fff; }
  .pa-roadmap-item h4 { margin: 0 0 2px; font-size: 13px; font-weight: 700; color: #1c1917; }
  .pa-roadmap-item p  { margin: 0; font-size: 12px; color: #57534e; line-height: 1.5; }
  .pa-roadmap-footnote {
      font-family: 'DM Sans', 'Inter', sans-serif; font-size: 11px; color: #8a8580;
      margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(26,24,20,0.08);
  }
  .pa-roadmap-b1 {
      margin-top: 12px; padding: 10px 12px;
      background: rgba(16, 185, 129, 0.08); border-left: 3px solid #10b981; border-radius: 0 6px 6px 0;
      font-family: 'DM Sans', 'Inter', sans-serif; font-size: 12px; color: #1c1917;
  }
  .pa-roadmap-b1 strong { color: #047857; }
  .pa-roadmap-b1 a { color: #047857; font-weight: 600; }

  /* Surgical paywall: title + eyebrow STAY visible so the curiosity hook
     ("Getting an Oppo store") works; everything below blurs for non-Pro.
     Mirrors the bh-title / mi-sec-title pattern at line ~1474. */
  body:not(.pro-unlocked) .pa-roadmap-intro,
  body:not(.pro-unlocked) .pa-roadmap-item,
  body:not(.pro-unlocked) .pa-roadmap-b1,
  body:not(.pro-unlocked) .pa-roadmap-footnote {
      filter: blur(5px); opacity: 0.4;
      user-select: none; pointer-events: none;
      transition: filter 0.5s, opacity 0.5s;
  }
  body:not(.pro-unlocked) .pa-roadmap-eyebrow,
  body:not(.pro-unlocked) .pa-roadmap-title { filter: none !important; opacity: 1 !important; }
  body.pro-unlocked .pa-roadmap-intro,
  body.pro-unlocked .pa-roadmap-item,
  body.pro-unlocked .pa-roadmap-b1,
  body.pro-unlocked .pa-roadmap-footnote {
      filter: none; opacity: 1; user-select: auto; pointer-events: auto;
  }

  /* ─── DESKTOP LAYOUT + ENTRANCE ─── */
  @media (min-width: 768px) {
      .hero-section { display: flex; gap: 0; align-items: stretch; height: 500px; padding: 0; position: relative; }

      /* Logo badge — positioned in corner from the start */
      .logo-box {
          position: absolute;
          bottom: 24px; left: 24px;
          width: 140px; height: 140px; min-height: 140px;
          padding: 15px;
          background: rgba(255,255,255,0.85);
          backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
          border-radius: 20px;
          z-index: 30;
          box-shadow: 0 20px 40px rgba(0,0,0,0.15);
          border: 1px solid rgba(255,255,255,0.5);
          align-self: flex-end;
          opacity: 0; transform: translate(-12px, 20px) scale(0.5);
      }
      .logo-box img { max-height: 100px; }

      /* Gallery — full width, visible container, items hidden */
      .skewed-gallery-wrapper { width: 100%; flex-grow: 1; height: 500px !important; min-height: 500px !important; padding-bottom: 24px; opacity: 1; transform: none; }
      .image-row { height: 420px !important; min-height: 420px !important; gap: 20px; padding: 10px 24px; }

      /* Gallery items — hidden until entrance */
      .gallery-item { opacity: 0; transform: skewX(-15deg) translateX(120px) scale(0.88); }
      .hero-loaded .gallery-item {
          animation: galleryItemIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
          animation-delay: calc(var(--gi, 0) * 0.1s);
      }

      /* Gallery tabs — hidden until entrance */
      .gallery-nav .tab-btn { opacity: 0; }
      .hero-loaded .gallery-nav .tab-btn {
          animation: tabFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
          animation-delay: calc(0.6s + var(--ti, 0) * 0.08s);
      }

      /* Logo badge — springs in after first few gallery items land */
      .hero-loaded .logo-box {
          animation: logoBadgeIn 0.8s cubic-bezier(0.34, 1.4, 0.64, 1) 0.45s both;
      }
  }

  /* Section titles during entrance */
  .section-title.title-entrance { opacity: 0; }
  .section-title.title-entrance.title-in {
      animation: titleDriftIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  /* ─── CORE INVESTMENT HEADER ROW ─── */
  .core-header-row { display: flex; align-items: center; gap: 6px; margin: 4px 0 6px; width: 100%; flex-wrap: nowrap; }
  .core-actions { display: flex; gap: 6px; align-items: center; margin-left: auto; }
  .core-btn { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 8px; font-family: 'Urbanist', sans-serif; font-size: 11px; font-weight: 600; cursor: pointer; transition: all 0.2s; text-decoration: none; white-space: nowrap; }
  .core-btn-outline { color: #64748b; border: 1px solid rgba(0,0,0,0.08); background: rgba(255,255,255,0.8); }
  .core-btn-outline:hover { border-color: #10b981; color: #10b981; }
  .core-btn-fill { color: #fff; border: none; background: #0f172a; }
  .core-btn-fill:hover { background: #10b981; }
  .core-btn-fill span { font-size: 13px; }

  /* ─── REVEAL ANIMATIONS ─── */
  @keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes fadeScale { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
  @keyframes slideInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }

  .reveal-fade { opacity: 0; animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  .reveal-scale { opacity: 0; animation: fadeScale 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

  /* Format cards cascade */
  .format-card.scroll-reveal { opacity: 0; transform: translateY(16px); }
  .format-card.scroll-reveal.revealed { opacity: 1; transform: translateY(0); transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms); }

  /* Pro tool cards */
  .pro-tool-card { opacity: 0; transform: translateY(16px); }
  .pro-tool-card.revealed { opacity: 1; transform: translateY(0); transition: opacity 0.5s ease var(--reveal-delay, 0ms), transform 0.5s ease var(--reveal-delay, 0ms); }

  .section-title { font-size: 22px; margin: 0; padding-left: 4px; font-family: 'Urbanist', sans-serif; position: relative; z-index: 2;}

  /* =========================================
     FORMAT SELECTOR — Interactive Model Cards
  ========================================= */
  .format-selector { display: flex; gap: 10px; width: 100%; overflow-x: auto; padding: 4px 0; scrollbar-width: none; }
  .format-selector::-webkit-scrollbar { display: none; }
  .format-card {
      flex: 0 0 auto; min-width: 180px; max-width: 260px; padding: 16px 18px; border-radius: 16px;
      border: 2px solid var(--border, rgba(0,0,0,0.08)); background: var(--card, #fff);
      cursor: pointer; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); position: relative;
      font-family: 'Urbanist', sans-serif; overflow: hidden;
  }
  .format-card::before {
      content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
      background: transparent; transition: background 0.3s;
  }
  .format-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  .format-card.active {
      border-color: #10b981; background: rgba(16,185,129,0.04);
      box-shadow: 0 8px 24px rgba(16,185,129,0.12);
  }
  .format-card.active::before { background: #10b981; }
  .format-card .fc-name { font-size: 15px; font-weight: 600; color: var(--text-main); margin-bottom: 8px; line-height: 1.2; }
  .format-card .fc-meta { display: flex; gap: 12px; flex-wrap: wrap; }
  .format-card .fc-chip {
      font-size: 11px; font-weight: 500; color: var(--text-muted, #64748b);
      background: rgba(0,0,0,0.04); padding: 3px 8px; border-radius: 6px; white-space: nowrap;
  }
  .format-card.active .fc-chip { background: rgba(16,185,129,0.1); color: #059669; }
  .format-card .fc-badge {
      position: absolute; top: 10px; right: 10px; font-size: 9px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 0.5px; padding: 2px 8px; border-radius: 6px;
      background: rgba(16,185,129,0.1); color: #059669; display: none;
  }
  .format-card.active .fc-badge { display: none; }
  .format-card.default-format .fc-badge { display: inline-block; }

  /* Editor mode: star button to set default */
  .fc-set-default {
      display: none; position: absolute; top: 8px; right: 8px; width: 24px; height: 24px;
      border-radius: 50%; border: 1px solid rgba(0,0,0,0.1); background: #fff;
      cursor: pointer; font-size: 12px; align-items: center; justify-content: center;
      transition: all 0.2s; z-index: 5;
  }
  body.editor-mode .fc-set-default { display: flex; }
  .fc-set-default:hover { background: #fef3c7; border-color: #f59e0b; }
  .fc-set-default.is-default { background: #f59e0b; color: #fff; border-color: #f59e0b; }

  body.dark-theme .format-card { background: rgba(0,0,0,0.3); border-color: rgba(255,255,255,0.1); }
  body.dark-theme .format-card.active { border-color: #10b981; background: rgba(16,185,129,0.08); }
  body.dark-theme .format-card .fc-name { color: #fff; }
  body.dark-theme .format-card .fc-chip { background: rgba(255,255,255,0.1); color: #cbd5e1; }

  /* ─── POST-ENQUIRY ACTION CARDS ─── */
  .pq-card {
      display: flex; align-items: center; gap: 14px;
      padding: 16px 18px; border-radius: 16px;
      text-decoration: none; position: relative;
      transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
      overflow: hidden;
  }
  .pq-card::before {
      content: ''; position: absolute; inset: 0;
      border-radius: 16px; padding: 1.5px;
      background: linear-gradient(135deg, rgba(0,0,0,0.06), rgba(0,0,0,0.02));
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor; mask-composite: exclude;
      pointer-events: none;
  }
  .pq-active {
      background: linear-gradient(135deg, #0f172a, #1e293b);
      cursor: pointer;
  }
  .pq-active::before {
      background: linear-gradient(135deg, rgba(16,185,129,0.4), rgba(16,185,129,0.1));
  }
  .pq-active:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(16,185,129,0.2);
  }
  .pq-active .pq-title { color: #fff; }
  .pq-active .pq-sub { color: rgba(255,255,255,0.5); }
  .pq-active .pq-arrow { color: #10b981; }

  .pq-locked {
      background: #f8fafc;
      cursor: default;
      opacity: 0.65;
  }
  .pq-locked::before {
      background: linear-gradient(135deg, rgba(0,0,0,0.04), rgba(0,0,0,0.02));
  }
  .pq-locked .pq-title { color: #64748b; }
  .pq-locked .pq-sub { color: #94a3b8; }

  .pq-icon-wrap {
      width: 44px; height: 44px; border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
  }
  .pq-text { flex: 1; text-align: left; min-width: 0; }
  .pq-title {
      font-family: 'Urbanist', sans-serif;
      font-size: 14px; font-weight: 600; line-height: 1.3;
      margin-bottom: 2px;
  }
  .pq-sub {
      font-family: 'Inter', sans-serif;
      font-size: 11px; line-height: 1.4;
  }
  .pq-arrow { flex-shrink: 0; transition: transform 0.2s; }
  .pq-active:hover .pq-arrow { transform: translateX(3px); }
  .pq-badge {
      position: absolute; top: 10px; right: 12px;
      font-family: 'Urbanist', sans-serif;
      font-size: 9px; font-weight: 700; letter-spacing: 0.5px;
      color: #94a3b8; background: rgba(0,0,0,0.04);
      padding: 3px 8px; border-radius: 6px;
      text-transform: uppercase;
  }

  /* =========================================
     SCROLL REVEAL SYSTEM
  ========================================= */
  .scroll-reveal {
      opacity: 0;
      transform: translateY(28px) scale(0.96);
      transition:
          opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
          transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  }
  .scroll-reveal.revealed {
      opacity: 1;
      transform: translateY(0) scale(1);
  }
  .section-title.scroll-reveal {
      transform: translateY(16px) scale(1);
      transition:
          opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
          transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
  }
  
  /* 🔒 SLEEK APPLY BUTTON 🔒 */
  .sleek-apply-btn { background: transparent; color: var(--text-main); border: none; padding: 8px 0; font-family: 'Urbanist', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; outline: none; text-transform: uppercase; letter-spacing: 1px; position: relative; transition: color 0.3s; }
  .sleek-apply-btn::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--text-main); transform-origin: right; transform: scaleX(0); transition: transform 0.3s ease; }
  .sleek-apply-btn:hover::after { transform-origin: left; transform: scaleX(1); }
  @keyframes gentleFlash { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; color: #10b981; } }
  .sleek-apply-btn svg { animation: gentleFlash 2s infinite; stroke: var(--text-main); transition: stroke 0.3s ease;}

  .bento-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; width: 100%; grid-auto-flow: dense; }
  @media (min-width: 768px) { .bento-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
  .bento-card { border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; position: relative; backdrop-filter: var(--glass-blur); box-shadow: var(--shadow); border: none; background-image: var(--noise-texture); transition: all 0.3s ease; background-color: rgba(255,255,255,0.6); z-index: 1; contain: layout style;}
  /* ─── Total Commitment box (refined header + breakdown) ─── */
  #card-total-commitment { padding: 18px 20px !important; }
  /* Capex card — Option D (two-column hero). Total on the left in big tabular
     numerals; component breakdown rows on the right. Frosted-white panel by
     default; smoked-glass dark variant for body.dark-theme. */
  .commit-d-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 26px; }
  @media (max-width: 700px) { .commit-d-grid { grid-template-columns: 1fr; gap: 14px; } .commit-d-left { border-right: none !important; padding-right: 0 !important; padding-bottom: 14px; border-bottom: 1px solid rgba(15,23,42,0.08); } }
  .commit-d-left { border-right: 1px solid rgba(15,23,42,0.08); padding-right: 22px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
  .commit-d-eyebrow { font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace; font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: #64748b; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
  .commit-d-total { font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace; font-size: 36px; font-weight: 600; color: #0f172a; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
  .commit-d-fmt { font-family: 'Lora', Georgia, serif; font-style: italic; font-size: 13px; color: #94a3b8; line-height: 1.4; }
  .commit-d-fmt:empty { display: none; }
  .commit-d-right { display: flex; flex-direction: column; justify-content: center; }
  body.dark-theme .commit-d-eyebrow { color: #94a3b8; }
  body.dark-theme .commit-d-total { color: #f1f5f9; }
  body.dark-theme .commit-d-fmt { color: rgba(255,255,255,0.50); }
  body.dark-theme .commit-d-left { border-right-color: rgba(255,255,255,0.10); }
  @media (max-width: 700px) { body.dark-theme .commit-d-left { border-bottom-color: rgba(255,255,255,0.10); } }
  /* Compatibility: keep .commitment-breakdown layout as the right column rows */
  .commitment-breakdown { display: flex; flex-direction: column; gap: 0; }
  .commitment-line { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-bottom: 1px solid rgba(15,23,42,0.04); font-size: 13px; color: rgba(15,23,42,0.78); }
  .commitment-line:last-child { border-bottom: none; }
  .commitment-line .commitment-label { font-family: 'Inter', sans-serif; font-weight: 500; color: #475569; }
  .commitment-line .commitment-value { font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace; font-weight: 500; color: #1e293b; font-variant-numeric: tabular-nums; }
  .commitment-separator { height: 1px; background: rgba(15,23,42,0.08); margin: 4px 0 2px; }
  .commitment-total-line { padding-top: 6px; font-size: 14px; }
  .commitment-total-line .commitment-label, .commitment-total-line .commitment-value { color: #0f172a; font-weight: 700; }
  .commitment-ongoing { margin-top: 12px; padding-top: 10px; border-top: 1px dashed rgba(15,23,42,0.1); font-size: 12px; color: rgba(15,23,42,0.65); font-family: 'Inter', sans-serif; line-height: 1.55; }
  .commitment-ongoing strong { color: #0f172a; font-weight: 600; }
  .commitment-ongoing .ongoing-note { color: rgba(15,23,42,0.5); font-size: 11px; font-style: italic; display: block; margin-top: 4px; }
  body.dark-theme .commitment-line { color: rgba(241,245,249,0.78); border-bottom-color: rgba(255,255,255,0.06); }
  body.dark-theme .commitment-line .commitment-label { color: rgba(241,245,249,0.65); }
  body.dark-theme .commitment-line .commitment-value, body.dark-theme .commitment-total-line .commitment-label, body.dark-theme .commitment-total-line .commitment-value { color: #f1f5f9; }
  body.dark-theme .commitment-separator { background: rgba(255,255,255,0.1); }
  body.dark-theme .commitment-ongoing { color: rgba(241,245,249,0.6); border-top-color: rgba(255,255,255,0.08); }
  body.dark-theme .commitment-ongoing strong { color: #f1f5f9; }
  .bento-card .metric-explainer { max-height: 0; opacity: 0; overflow: hidden; font-family: 'Inter', sans-serif; font-size: 12px; color: #64748b; line-height: 1.6; transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease, padding 0.3s ease; margin: 0; padding: 0; }
  .bento-card.show-explainer { background-color: rgba(255,255,255,0.95); box-shadow: 0 8px 30px rgba(0,0,0,0.08); z-index: 10; grid-column: span 2; }
  .bento-card.show-explainer .metric-explainer { max-height: 300px; opacity: 1; margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(0,0,0,0.08); }

  /* Data confidence LED indicators — green (verified/reported) and orange (estimated) only */
  .led { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-left: 5px; vertical-align: middle; flex-shrink: 0; position: relative; cursor: help; }
  .led-verified { background: #10b981; box-shadow: 0 0 4px #10b98180; }
  .led-estimated { background: #f59e0b; box-shadow: 0 0 4px #f59e0b80; }
  .led[data-led-tip]::after { content: attr(data-led-tip); position: absolute; top: -24px; left: 50%; transform: translateX(-50%); background: rgba(15,23,42,0.92); color: #e2e8f0; font-size: 9px; padding: 3px 7px; border-radius: 5px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.15s; z-index: 100; font-family: 'Inter', sans-serif; font-weight: 400; }
  .led:hover::after { opacity: 1; }
  .bento-card:hover, .bento-card:active, .bento-card:focus-within { z-index: 9999; }
  
  .card-brand { background-color: var(--card-brand); } .card-op { background-color: var(--op-color); } .card-fin { background-color: var(--fin-color); } .card-com { background-color: var(--com-color); }
  .col-span-2 { grid-column: span 2; } .col-span-4 { grid-column: span 4; } .tall-card { padding: 18px 16px; }

  /* Bento metric boxes — typography unified with the capex card (Option D, 2026-05-06):
     labels in JetBrains Mono caps with letter-spacing, numeric values in
     JetBrains Mono tabular-nums. Text values (FOFO / Margin-Based / etc.) stay
     Inter so they don't read like timestamps. */
  .label { font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace; font-size: 10px; font-weight: 600; text-transform: uppercase; margin-bottom: 4px; color: var(--text-muted); letter-spacing: 1.8px; }
  .val { font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace; font-size: 28px; font-weight: 600; color: var(--text-main); display: block; word-break: normal; overflow-wrap: break-word; line-height: 1.1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
  .val.val-text { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 0; line-height: 1.4; }
  #card-margin .val, #card-credit .val, #card-territory .val { font-family: 'Inter', sans-serif; font-size: 15px; line-height: 1.4; font-weight: 500; letter-spacing: 0; font-variant-numeric: normal; }
  #card-fee .val, #card-royalty .val, #card-security .val, #card-expiry .val { font-size: 22px; font-weight: 600; }
  @media (max-width: 768px) { .val.val-text { font-size: 12px; line-height: 1.4; }
  #card-margin .val, #card-credit .val, #card-territory .val { font-size: 13px; }
  #card-fee .val, #card-royalty .val, #card-security .val, #card-expiry .val { font-size: 18px; } }
  
  .format-pill-container { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px;}
  .format-pill { padding: 8px 16px; border-radius: 30px; background: rgba(255,255,255,0.5); font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500; cursor: pointer; border: 1px solid rgba(0,0,0,0.05); transition: all 0.2s; color: var(--text-muted);}
  .format-pill.active { background: var(--text-main); color: var(--bg-color); box-shadow: 0 4px 12px rgba(0,0,0,0.1);}

  .scale-wrapper { display: flex; flex-direction: column; width: 100%; margin-top: 8px;}
  .scale-container { display: flex; position: relative; border-radius: 20px; overflow: hidden; border: 1px solid rgba(0,0,0,0.1); background: rgba(245,245,247,0.5); width: 100%; }
  .scale-meter { position: absolute; top: 0; left: 0; bottom: 0; background: var(--text-main, #0f172a); border-radius: 20px; z-index: 1; transition: width 0.6s cubic-bezier(0.22,1,0.36,1); }
  .scale-node { flex: 1; display: flex; align-items: center; justify-content: center; font-family: 'Urbanist', sans-serif; font-size: 11px; font-weight: 600; padding: 7px 0; color: var(--text-muted); position: relative; z-index: 2; transition: color 0.3s; border-radius: 0; background: none; width: auto; height: auto; box-shadow: none; }
  .scale-node.filled { color: #fff; }
  .scale-node.active { color: #fff; }
  .scale-labels { display: flex; justify-content: space-between; padding: 0 4px; font-family: 'Urbanist', sans-serif; font-size: 10px; color: var(--text-muted); margin-top: 8px; text-transform: uppercase;}

  /* ALL 8 PREMIUM VAULT TOOLS */
  /* ─── PREMIUM / INVESTOR PRO TOOLS ─── */
  .premium-master-container { position: relative; width: 100%; padding: 0; border-radius: 0; overflow: visible; margin-top: 10px; z-index: 1; background: transparent; }
  .premium-master-container:hover, .premium-master-container:active { z-index: 9999; }
  .premium-ribbon { display: none; }
  .premium-grid { display: flex; flex-direction: column; gap: 0; width: 100%; position: relative; }

  .premium-card { background: none; border-radius: 0; padding: 0; display: flex; flex-direction: column; position: relative; border: none; box-shadow: none; z-index: 1; }
  .premium-card:hover, .premium-card:active, .premium-card:focus-within { z-index: 9999; }
  .premium-title { display: none; }
  .premium-blurred-body { display: none; }

  /* ─── Premium data blur (per-card level) ─── */
  /* ─── PREMIUM LOCKED: V13 cream + frosted-glass overlay ─── */
  /* Legacy strip rules removed 2026-05-15: cream V13 styling now shows
     for BOTH locked and unlocked states. The .bh-frosted/.lv-frosted/
     .mi-frosted ::after backdrop-blur overlay (defined ~L1376) is what
     differentiates locked from unlocked. Free user sees the same V13
     cream cards as premium, with glass obscuring the placeholder values.
     Individual element blur kept for fields the frost may not fully
     mask (long text summaries, etc.) — see below. */

  /* Company Identity — blur the 6 data cards + address */
  body:not(.pro-unlocked) .premium-master-container .lv-item { filter: blur(5px); opacity: 0.4; user-select: none; pointer-events: none; }
  body:not(.pro-unlocked) .premium-master-container .lv-addr { filter: blur(5px); opacity: 0.4; user-select: none; pointer-events: none; }

  /* Financial Health — blur the metric cards + bar charts */
  body:not(.pro-unlocked) .premium-master-container .lv-fin-metric { filter: blur(5px); opacity: 0.4; user-select: none; pointer-events: none; }
  body:not(.pro-unlocked) .premium-master-container .lv-fin-bars { filter: blur(5px); opacity: 0.4; user-select: none; pointer-events: none; }
  body:not(.pro-unlocked) .premium-master-container .lv-bar-row { filter: blur(5px); opacity: 0.4; user-select: none; pointer-events: none; }

  /* Litigation — blur the badge, summary, tags */
  body:not(.pro-unlocked) .premium-master-container .lv-lit-header { filter: blur(5px); opacity: 0.4; user-select: none; pointer-events: none; }
  body:not(.pro-unlocked) .premium-master-container .lv-lit-summary { filter: blur(5px); opacity: 0.4; user-select: none; pointer-events: none; }
  body:not(.pro-unlocked) .premium-master-container .lv-lit-tags { filter: blur(5px); opacity: 0.4; user-select: none; pointer-events: none; }
  body:not(.pro-unlocked) .premium-master-container .lv-lit-pending { filter: blur(5px); opacity: 0.4; user-select: none; pointer-events: none; }
  body:not(.pro-unlocked) .premium-master-container .lv-lit-links { filter: blur(5px); opacity: 0.4; user-select: none; pointer-events: none; }

  /* Complaints — blur theme chips + summary */
  body:not(.pro-unlocked) .premium-master-container .lv-comp-themes { filter: blur(5px); opacity: 0.4; user-select: none; pointer-events: none; }

  /* Directors — blur each director card */
  body:not(.pro-unlocked) .premium-master-container .lv-director { filter: blur(5px); opacity: 0.4; user-select: none; pointer-events: none; }

  /* Source links + freshness + notes */
  body:not(.pro-unlocked) .premium-master-container .lv-source { filter: blur(5px); opacity: 0.4; user-select: none; pointer-events: none; }
  body:not(.pro-unlocked) .premium-master-container .lv-freshness { filter: blur(5px); opacity: 0.4; user-select: none; pointer-events: none; }
  body:not(.pro-unlocked) .premium-master-container .lv-private-note { filter: blur(5px); opacity: 0.4; user-select: none; pointer-events: none; }

  /* Titles and headers — always visible */
  body:not(.pro-unlocked) .premium-master-container .lv-sec-title,
  body:not(.pro-unlocked) .premium-master-container .lv-header { position: relative; z-index: 2; filter: none !important; opacity: 1 !important; }

  /* Margin Intel — frosted overlay on chart areas */
  body:not(.pro-unlocked) .premium-master-container .mi-rev-per-dealer { filter: blur(8px); opacity: 0.5; user-select: none; pointer-events: none; }
  body:not(.pro-unlocked) .premium-master-container .mi-header { margin-bottom: 16px; position: relative; z-index: 2; }
  body:not(.pro-unlocked) .premium-master-container .mi-section { position: relative; overflow: hidden; border-bottom: none; }
  body:not(.pro-unlocked) .premium-master-container .mi-section > *:not(.mi-sec-title):not(h4) { filter: blur(5px); opacity: 0.4; user-select: none; pointer-events: none; }
  body:not(.pro-unlocked) .premium-master-container .mi-sec-title,
  body:not(.pro-unlocked) .premium-master-container .mi-section h4 { position: relative; z-index: 2; filter: none !important; opacity: 1 !important; }
  /* === MI cards V13 — TARGETED (2026-05-13) ===
     ONLY .mi-econ-card and its contents (icon + val + label). Container
     (.mi-wrap), section heading (.mi-sec-title), header (.mi-title / .mi-sub)
     left untouched — they keep their original styling.
     Specificity chosen to beat TC.css (.mi-econ-* selectors there) without
     resorting to !important — `body .mi-econ-card` has 0,0,1,1 vs TC.css's
     0,0,1,0. No background overrides on parents, so the existing wrapper
     frame stays intact. */
  /* Grid: wider min so cards are squareish; bigger gap between cards.
     The `body.dark-theme` variant matches TC.css's specificity (1 class on
     body + 1 on the element) so it actually wins on Jaquar-style dark pages.
     `width:100%` makes the grid fill the available width inside .mi-econ-split
     so cards spread evenly/symmetrically across the section. */
  body .mi-econ-split,
  body.dark-theme .mi-econ-split {
      width: 100%;
  }
  body .mi-econ-metrics,
  body.dark-theme .mi-econ-metrics {
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 16px;
      width: 100%;
  }
  /* Card: cream-by-default (high contrast on dark section), gets a lift +
     gold glow on hover. Dark-default + white-text was tried 2026-05-13_1855
     and reverted — too low contrast even with brightened threshold colors,
     because the inline `color:#fbbf24` etc. on .mi-econ-val washed out. */
  body .mi-econ-card,
  body.dark-theme .mi-econ-card {
      position: relative;
      background: #fdf6e8;
      background-image: none;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      border: 1px solid rgba(26, 24, 20, 0.06);
      border-radius: 14px;
      padding: 22px 18px 18px;
      text-align: center;
      box-shadow: 0 2px 6px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
      cursor: help;
      transition: box-shadow 0.22s ease, transform 0.22s ease, background 0.22s ease;
      overflow: visible;
  }
  body .mi-econ-card::before,
  body.dark-theme .mi-econ-card::before { content: none; }
  body .mi-econ-card:hover,
  body.dark-theme .mi-econ-card:hover {
      background: #fffdf7;
      box-shadow: 0 16px 36px rgba(0,0,0,0.18), 0 4px 10px rgba(0,0,0,0.08);
      transform: translateY(-6px);
      border-color: rgba(200, 146, 54, 0.35);
  }
  body .mi-econ-card.mi-econ-open,
  body.dark-theme .mi-econ-card.mi-econ-open { background: #fbf3df; border-color: rgba(200, 146, 54, 0.35); }
  /* Icon: larger (28px) + centered above the number via flex. */
  body .mi-econ-icon,
  body.dark-theme .mi-econ-icon {
      color: #c89236;
      margin: 0 auto 12px;
      line-height: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 28px;
      height: 28px;
  }
  body .mi-econ-icon-svg,
  body.dark-theme .mi-econ-icon-svg { width: 28px; height: 28px; display: block; }
  /* Value: dark text on cream card — TC.css's `body.dark-theme .mi-econ-val
     { color:#fff }` would otherwise win. */
  body .mi-econ-val,
  body.dark-theme .mi-econ-val {
      font-family: 'Source Serif 4', Georgia, serif;
      font-size: 22px;
      font-weight: 500;
      color: #1c1917 !important;
      letter-spacing: -0.005em;
      line-height: 1.15;
      font-variation-settings: "opsz" 36;
      white-space: nowrap;
      text-align: center;
  }
  body .mi-econ-label,
  body.dark-theme .mi-econ-label {
      font-family: 'DM Sans', 'Inter', sans-serif;
      font-size: 11.5px;
      font-weight: 500;
      color: #6b6660 !important;
      text-transform: none;
      letter-spacing: 0.2px;
      margin-top: 8px;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
  }
  body .mi-econ-explain,
  body.dark-theme .mi-econ-explain { text-align: left; }
  /* Custom hover tooltip (replaces native title=""). Uses [data-tip] so the
     style can target only cards where margin-intel.js has set the attribute.
     Tooltip is fixed-width, dark, positioned below the card so the icon
     hierarchy stays clean. Pointer-events:none so hovering the tooltip itself
     doesn't trigger flicker. */
  body .mi-econ-card[data-tip]::after,
  body.dark-theme .mi-econ-card[data-tip]::after {
      content: attr(data-tip);
      position: absolute;
      left: 50%;
      top: calc(100% + 10px);
      transform: translate(-50%, 4px);
      width: 240px;
      padding: 10px 12px;
      background: #1c1917;
      color: #fafaf9;
      font-family: 'DM Sans', 'Inter', sans-serif;
      font-size: 12px;
      font-weight: 400;
      line-height: 1.45;
      letter-spacing: 0.1px;
      border-radius: 8px;
      box-shadow: 0 12px 28px rgba(0,0,0,0.28);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.18s ease, transform 0.18s ease;
      z-index: 30;
      white-space: normal;
      text-align: left;
  }
  body .mi-econ-card[data-tip]:hover::after,
  body.dark-theme .mi-econ-card[data-tip]:hover::after {
      opacity: 1;
      transform: translate(-50%, 0);
  }
  /* Let tooltips escape the mi-section box. */
  body .mi-section,
  body.dark-theme .mi-section { overflow: visible; }

  /* === Section heading redesign (less AI-templatey) ============================
     Originals: `.mi-sec-title` (territory-checker.css) and `.bc-intro-eyebrow`
     (generate-static.js) both used green Urbanist uppercase + vertical gradient
     bar — felt generic SaaS. Replaced with a Source Serif 4 editorial title and
     a single muted gold underline accent. Specificity beats both via body+class. */
  body .mi-sec-title,
  body.dark-theme .mi-sec-title,
  body .bc-intro-eyebrow,
  body.dark-theme .bc-intro-eyebrow {
      font-family: 'Source Serif 4', Georgia, serif !important;
      font-size: 22px !important;
      font-weight: 500 !important;
      text-transform: none !important;
      letter-spacing: -0.005em !important;
      color: #1c1917 !important;
      margin-bottom: 18px !important;
      display: block !important;
      padding-bottom: 8px !important;
      position: relative !important;
      gap: 0 !important;
      font-variation-settings: "opsz" 36 !important;
  }
  body.dark-theme .mi-sec-title,
  body.dark-theme .bc-intro-eyebrow { color: #f5efe1 !important; }
  body .mi-sec-title::before,
  body.dark-theme .mi-sec-title::before,
  body .bc-intro-eyebrow::before,
  body.dark-theme .bc-intro-eyebrow::before {
      content: '' !important;
      position: absolute !important;
      left: 0 !important;
      bottom: 0 !important;
      width: 36px !important;
      height: 2px !important;
      background: #c89236 !important;
      background-image: none !important;
      border-radius: 0 !important;
      flex-shrink: 0 !important;
      transform: none !important;
  }
  /* Sentence-case the four heading strings injected by JS/static gen. The
     source markup still uppercases via CSS in the original styles — by
     setting text-transform:none above, the literal strings appear as-is.
     The strings in JS/HTML are already title-cased, so this is fine. */
  body .mi-econ-arrow { color: #a8a29e; transform: rotate(90deg); font-size: 12px; }
  body .mi-econ-arrow:hover { color: #c89236; }
  body .mi-econ-open .mi-econ-arrow { color: #c89236; }
  body .mi-econ-explain {
      font-family: 'DM Sans', 'Inter', sans-serif;
      font-size: 11.5px;
      color: #57534e;
      line-height: 1.55;
      border-top: 1px dashed #ebe5d7;
  }
  /* Frosted-state card behavior — keep cream cards visible (NOT dimmed to 40%
     opacity by the generic .mi-section > * rule above). Only blur the value. */
  body:not(.pro-unlocked) .premium-master-container .mi-econ-card {
      filter: none !important;
      opacity: 1 !important;
      pointer-events: auto !important;
      user-select: auto !important;
  }
  body:not(.pro-unlocked) .premium-master-container .mi-econ-card .mi-econ-val {
      filter: blur(6px);
      opacity: 0.55;
      user-select: none;
      pointer-events: none;
  }

  /* Pro tool cards — transparent on dark backgrounds */
  body:not(.pro-unlocked) .premium-master-container .pro-tool-card { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.06); margin-bottom: 20px; }
  body.dark-theme body:not(.pro-unlocked) .premium-master-container .pro-tool-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.08); }
  body:not(.pro-unlocked) .premium-master-container .pro-tool-card .pro-tool-desc { filter: blur(3px); opacity: 0.5; }

  /* Territory Checker: show header + description, disable input */
  body:not(.pro-unlocked) .premium-master-container ~ * .tc-wrapper { position: relative; }
  body:not(.pro-unlocked) .premium-master-container ~ * .tc-header { position: relative; z-index: 2; }
  body:not(.pro-unlocked) .premium-master-container ~ * .tc-body,
  body:not(.pro-unlocked) .premium-master-container ~ * .tc-input-area,
  body:not(.pro-unlocked) .premium-master-container ~ * .tc-results { filter: blur(6px); opacity: 0.4; pointer-events: none; user-select: none; }
  body:not(.pro-unlocked) .premium-master-container ~ * .tc-map-container { opacity: 0.7; }

  /* Franchisee Connect: show title, blur the rest */
  body:not(.pro-unlocked) .premium-master-container ~ * .fc-wrap .fc-head { position: relative; z-index: 2; }
  body:not(.pro-unlocked) .premium-master-container ~ * .fc-wrap .fc-body,
  body:not(.pro-unlocked) .premium-master-container ~ * .fc-wrap .fc-chat { filter: blur(6px); opacity: 0.4; pointer-events: none; user-select: none; }

  /* ─── Upgrade CTA banner (shown inline when locked) ─── */
  .pro-cta-banner { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); padding: 16px 24px; border-radius: 14px; margin: 20px 0; border: 1px solid rgba(255,255,255,0.08); }
  .pro-cta-banner .pro-cta-text { flex: 1; }
  .pro-cta-banner .pro-cta-title { font-family: 'Urbanist', sans-serif; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 3px; }
  .pro-cta-banner .pro-cta-sub { font-size: 11px; color: #94a3b8; }
  .pro-cta-banner .pro-cta-price { font-family: 'Urbanist', sans-serif; font-size: 18px; font-weight: 700; background: linear-gradient(to right, #fbbf24, #f59e0b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  .pro-cta-banner .pro-cta-btn { background: #10b981; color: #fff; border: none; padding: 10px 22px; border-radius: 10px; font-family: 'Urbanist', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: opacity 0.2s; }
  .pro-cta-banner .pro-cta-btn:hover { opacity: 0.85; }
  .premium-master-container.unlocked .pro-cta-banner { display: none; }
  .premium-master-container.unlocked + .pro-tools-section .pro-cta-banner { display: none; }

  /* ─── Premium tool cards (Territory Checker, Franchisee Connect) ─── */
  .pro-tool-card { position: relative; background: rgba(255,255,255,0.7); backdrop-filter: blur(12px); border: 1px solid rgba(0,0,0,0.04); border-radius: 16px; padding: 20px; margin-bottom: 16px; }
  .pro-tool-header { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
  .pro-tool-icon { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.3)); border: 1px solid rgba(255,255,255,0.8); box-shadow: 0 4px 15px rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .pro-tool-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
  .pro-tool-title { font-family: 'Urbanist', sans-serif; font-size: 15px; font-weight: 700; color: var(--text-main); }
  .pro-tool-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-bottom: 12px; }
  .pro-tool-locked { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
  .pro-tool-locked svg { width: 14px; height: 14px; stroke: #f59e0b; fill: none; stroke-width: 2; }
  .premium-master-container.unlocked ~ * .pro-tool-locked { display: none; }

  /* ─── Brand Health & Locations blur (outside vault container) ─── */
  /* DISABLED 2026-05-15 — Track B serves placeholder data via CF Function,
     so the visible values are already fake. A blur on top would obscure
     the cream V13 cards. Replaced by the subtle .bh-frosted/.lv-frosted
     "Unlock Pro" CTA overlay at the bottom of each section (below). */
  /* body:not(.pro-unlocked) .bh-wrapper { filter: blur(7px); opacity: 0.5; user-select: none; pointer-events: none; } */
  /* body:not(.pro-unlocked) #loc-distribution,
  body:not(.pro-unlocked) #loc-detail-toggle,
  body:not(.pro-unlocked) #loc-detail-list,
  body:not(.pro-unlocked) #historical-growth-viz { filter: blur(6px); opacity: 0.5; user-select: none; pointer-events: none; } */

  /* ─── V13 design — applied to Brand Health + Legal Vault + Operating
     Locations. Matches the MI cream-card / gold-icon / Source-Serif look
     from ~line 940 above so the whole vault reads as one design system.
     Specificity `body .selector` beats TC.css's 0,0,1,0. Dark-theme
     variants paired so it works on Jaquar-style dark pages. ─── */

  /* ── BH: V13 cream styling REVERTED 2026-05-20 per user feedback.
        Original Brand Health design (transparent frame, sans-serif rating
        number) restored. V13 cream remains on Legal Vault + MI by choice.
        Re-enable selectively if you want the cream treatment back.
  body .bh-wrapper,
  body.dark-theme .bh-wrapper {
      background: #fdf6e8;
      border: 1px solid rgba(26, 24, 20, 0.06);
      border-radius: 14px;
      padding: 22px 22px 18px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
      margin-bottom: 24px;
  }
  body .bh-wrapper .bh-ring-num,
  body.dark-theme .bh-wrapper .bh-ring-num {
      font-family: 'Source Serif 4', Georgia, serif;
      font-weight: 500;
      color: #1c1917;
      font-size: 30px;
      letter-spacing: -0.005em;
      font-variation-settings: "opsz" 36;
  }
  body .bh-wrapper .bh-title,
  body.dark-theme .bh-wrapper .bh-title {
      font-family: 'DM Sans', 'Inter', sans-serif;
      font-weight: 600;
      color: #1c1917;
      font-size: 14px;
  }
  body .bh-wrapper .bh-title svg,
  body.dark-theme .bh-wrapper .bh-title svg { color: #c89236; stroke: #c89236; }
  body .bh-wrapper .bh-label,
  body.dark-theme .bh-wrapper .bh-label {
      font-family: 'DM Sans', 'Inter', sans-serif;
      font-weight: 600;
      font-size: 13px;
  }
  body .bh-wrapper .bh-meta,
  body.dark-theme .bh-wrapper .bh-meta {
      font-family: 'DM Sans', 'Inter', sans-serif;
      color: #6b6660;
      font-size: 11.5px;
  }
  body .bh-wrapper .bh-states-title,
  body.dark-theme .bh-wrapper .bh-states-title {
      font-family: 'DM Sans', 'Inter', sans-serif;
      color: #6b6660;
      font-weight: 600;
      letter-spacing: 0.5px;
  }
  body .bh-wrapper .bh-state-name,
  body.dark-theme .bh-wrapper .bh-state-name {
      font-family: 'DM Sans', 'Inter', sans-serif;
      color: #6b6660;
  }
  body .bh-wrapper .bh-state-rating,
  body.dark-theme .bh-wrapper .bh-state-rating {
      font-family: 'Source Serif 4', Georgia, serif;
      font-weight: 500;
      font-size: 14px;
  }
  body .bh-wrapper .bh-state-reviews,
  body.dark-theme .bh-wrapper .bh-state-reviews {
      font-family: 'DM Sans', 'Inter', sans-serif;
      color: #6b6660;
  }
  body .bh-wrapper .bh-state-bar-wrap,
  body.dark-theme .bh-wrapper .bh-state-bar-wrap { background: rgba(26, 24, 20, 0.06); }
  body .bh-wrapper .bh-source,
  body.dark-theme .bh-wrapper .bh-source {
      font-family: 'DM Sans', 'Inter', sans-serif;
      color: #8a8580;
      font-size: 10.5px;
      margin-top: 12px;
      text-align: right;
      letter-spacing: 0.2px;
  }
  END REVERT BLOCK ── */

  /* ── LV: transparent wrap (brand colour bleeds through), each section is
        its own cream card. Mirrors MI's "tiles inside transparent wrap"
        philosophy — the :not(.unlocked) .lv-wrap strip at line ~891 keeps
        the wrap clean, so we add cream to .lv-section instead. ── */
  body .lv-wrap .lv-section,
  body.dark-theme .lv-wrap .lv-section {
      background: #fdf6e8;
      border: 1px solid rgba(26, 24, 20, 0.06);
      border-radius: 14px;
      padding: 18px 20px;
      margin-bottom: 14px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  }
  body .lv-wrap .lv-section:last-of-type,
  body.dark-theme .lv-wrap .lv-section:last-of-type { margin-bottom: 0; }
  /* LV header sits on the page bg (wrap is transparent) — title stays light
     on dark theme so it's readable against dark sections. */
  body .lv-wrap .lv-title {
      font-family: 'Source Serif 4', Georgia, serif;
      font-weight: 500;
      color: #1c1917;
      font-size: 18px;
      letter-spacing: -0.005em;
  }
  body.dark-theme .lv-wrap .lv-title {
      font-family: 'Source Serif 4', Georgia, serif;
      font-weight: 500;
      color: #fafaf9;
      font-size: 18px;
      letter-spacing: -0.005em;
  }
  body .lv-wrap .lv-header > svg,
  body.dark-theme .lv-wrap .lv-header > svg { color: #c89236; stroke: #c89236; }
  body .lv-wrap .lv-sub { font-family: 'DM Sans', 'Inter', sans-serif; color: #6b6660; }
  body.dark-theme .lv-wrap .lv-sub { font-family: 'DM Sans', 'Inter', sans-serif; color: #a8a29e; }
  body .lv-wrap .lv-section,
  body.dark-theme .lv-wrap .lv-section { border-bottom-color: rgba(26, 24, 20, 0.08); }
  body .lv-wrap .lv-sec-title,
  body.dark-theme .lv-wrap .lv-sec-title {
      font-family: 'DM Sans', 'Inter', sans-serif;
      font-weight: 600;
      color: #6b6660;
      letter-spacing: 0.5px;
  }
  body .lv-wrap .lv-item,
  body.dark-theme .lv-wrap .lv-item {
      background: rgba(255, 251, 242, 0.85);
      border: 1px solid rgba(26, 24, 20, 0.05);
      border-radius: 10px;
      padding: 10px 12px;
  }
  body .lv-wrap .lv-label,
  body.dark-theme .lv-wrap .lv-label {
      font-family: 'DM Sans', 'Inter', sans-serif;
      color: #8a8580;
      font-size: 10.5px;
      letter-spacing: 0.2px;
  }
  body .lv-wrap .lv-val,
  body.dark-theme .lv-wrap .lv-val {
      /* Source Serif 4 (217KB) was dropped from the platform 2026-05 → was
         falling back to Georgia, which read as a stylistic outlier against
         the Urbanist/Inter system used by surrounding labels (lv-label,
         lv-sec-title). Switched to Urbanist 600 to match the rest of the
         Legal Vault card — same family used by lv-title, lv-fin-num,
         lv-sec-title. Fixed 2026-06-05. */
      font-family: 'Urbanist', 'Inter', sans-serif;
      font-weight: 600;
      color: #1c1917;
      font-size: 14px;
      letter-spacing: -0.005em;
  }
  body .lv-wrap .lv-mono,
  body.dark-theme .lv-wrap .lv-mono { font-family: 'JetBrains Mono', 'Menlo', monospace; }
  body .lv-wrap .lv-addr-text,
  body.dark-theme .lv-wrap .lv-addr-text { color: #6b6660; }

  /* LV financial metric tiles — full V13 tile treatment with gold icons */
  body .lv-wrap .lv-fin-metric,
  body.dark-theme .lv-wrap .lv-fin-metric {
      background: #fdf6e8;
      border: 1px solid rgba(26, 24, 20, 0.06);
      border-radius: 14px;
      padding: 18px 14px 14px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
      transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
  }
  body .lv-wrap .lv-fin-metric:hover,
  body.dark-theme .lv-wrap .lv-fin-metric:hover {
      box-shadow: 0 16px 36px rgba(0,0,0,0.18), 0 4px 10px rgba(0,0,0,0.08);
      transform: translateY(-4px);
      border-color: rgba(200, 146, 54, 0.35);
      background: #fffdf7;
  }
  body .lv-wrap .lv-fin-num,
  body.dark-theme .lv-wrap .lv-fin-num {
      /* Source Serif 4 fallback to Georgia → didn't match the rest of the
         Financial Health metric tiles. Switched to Urbanist 700 to match
         the other big-number displays (mi-econ-val, lv-title). */
      font-family: 'Urbanist', 'Inter', sans-serif;
      font-weight: 700;
      color: #1c1917;
      font-size: 22px;
      letter-spacing: -0.005em;
  }
  body .lv-wrap .lv-fin-label,
  body.dark-theme .lv-wrap .lv-fin-label {
      font-family: 'DM Sans', 'Inter', sans-serif;
      color: #6b6660;
      font-size: 11px;
      letter-spacing: 0.2px;
      margin-top: 6px;
  }

  /* LV financial bars — cream track + gold fill */
  body .lv-wrap .lv-bar-label,
  body.dark-theme .lv-wrap .lv-bar-label {
      font-family: 'DM Sans', 'Inter', sans-serif;
      color: #6b6660;
  }
  body .lv-wrap .lv-bar-track,
  body.dark-theme .lv-wrap .lv-bar-track { background: rgba(26, 24, 20, 0.06); }
  body .lv-wrap .lv-bar-val,
  body.dark-theme .lv-wrap .lv-bar-val {
      font-family: 'Source Serif 4', Georgia, serif;
      font-weight: 500;
      color: #1c1917;
  }

  /* LV litigation + complaints summary — cream callouts with gold accent */
  body .lv-wrap .lv-lit-summary,
  body.dark-theme .lv-wrap .lv-lit-summary {
      background: rgba(255, 251, 242, 0.85);
      border-left: 3px solid #c89236;
      border-radius: 0 10px 10px 0;
      color: #1c1917;
      font-family: 'DM Sans', 'Inter', sans-serif;
      font-size: 12.5px;
      line-height: 1.55;
  }
  body .lv-wrap .lv-lit-tag,
  body.dark-theme .lv-wrap .lv-lit-tag {
      background: rgba(200, 146, 54, 0.10);
      color: #8a6219;
      font-family: 'DM Sans', 'Inter', sans-serif;
      font-weight: 500;
  }

  /* LV directors — cream cards */
  body .lv-wrap .lv-director,
  body.dark-theme .lv-wrap .lv-director {
      background: rgba(255, 251, 242, 0.85);
      border: 1px solid rgba(26, 24, 20, 0.05);
      border-radius: 10px;
      padding: 12px 14px;
  }
  body .lv-wrap .lv-dir-name,
  body.dark-theme .lv-wrap .lv-dir-name {
      font-family: 'Source Serif 4', Georgia, serif;
      font-weight: 500;
      color: #1c1917;
      font-size: 14px;
  }
  body .lv-wrap .lv-link,
  body.dark-theme .lv-wrap .lv-link {
      color: #8a6219;
      font-family: 'DM Sans', 'Inter', sans-serif;
      font-weight: 500;
  }
  body .lv-wrap .lv-link:hover,
  body.dark-theme .lv-wrap .lv-link:hover { color: #c89236; }

  /* ── Operating Locations: cream container — REVERTED 2026-05-20 per user
        feedback. Frost paywall rules at lines ~1500 are untouched and still
        gate non-Pro users with the surgical blur pattern.
  body .locations-wrapper #loc-distribution,
  body.dark-theme .locations-wrapper #loc-distribution,
  body .locations-wrapper #historical-growth-viz,
  body.dark-theme .locations-wrapper #historical-growth-viz {
      background: #fdf6e8;
      border: 1px solid rgba(26, 24, 20, 0.06);
      border-radius: 14px;
      padding: 18px 22px;
      margin-bottom: 16px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  }
  END REVERT BLOCK ── */

  /* ── Surgical field-level frost — free-tier premium sections ──
     Reverted 2026-05-15 from a section-wide backdrop overlay back to the
     original SURGICAL pattern: blur only the actual DATA VALUES; leave
     section titles, headers, structure visible so users can see WHAT they're
     unlocking. Carefully calibrated in the original design pass — do not
     replace with a wholesale wrap-level blur.

     Field-level blurs for LV + MI live above at lines ~910-946. The block
     below adds the missing rules for BH + Operating Locations sub-sections
     using the same pattern: blur the data, keep the headers. */

  /* Brand Health — blur the numbers/ratings + the ring chart (visual reveals
     the score even without numbers); keep the title + "Rating by State" label */
  body:not(.pro-unlocked) .bh-ring-num,
  body:not(.pro-unlocked) .bh-ring-stars,
  body:not(.pro-unlocked) .bh-ring-svg,
  body:not(.pro-unlocked) .bh-ring-progress,
  body:not(.pro-unlocked) .bh-ring-wrap,
  body:not(.pro-unlocked) .bh-label,
  body:not(.pro-unlocked) .bh-meta,
  body:not(.pro-unlocked) .bh-state-row,
  body:not(.pro-unlocked) .bh-source,
  body:not(.pro-unlocked) .bh-more { filter: blur(5px); opacity: 0.4; user-select: none; pointer-events: none; }
  /* Keep the title + states-title visible so users see what they're locked out of */
  body:not(.pro-unlocked) .bh-title,
  body:not(.pro-unlocked) .bh-states-title { filter: none !important; opacity: 1 !important; }

  /* Disclosed revenue lines (bc-streams-*) — blur the actual revenue line
     NAMES + details. Keep the PRIMARY / SECONDARY / TERTIARY rank tags
     visible (those are structure, not data). And keep section titles. */
  body:not(.pro-unlocked) .bc-streams-name,
  body:not(.pro-unlocked) .bc-streams-detail { filter: blur(5px); opacity: 0.4; user-select: none; pointer-events: none; }
  body:not(.pro-unlocked) .bc-streams-title,
  body:not(.pro-unlocked) .bc-streams-sub,
  body:not(.pro-unlocked) .bc-streams-tag,
  body:not(.pro-unlocked) .bc-intro-eyebrow { filter: none !important; opacity: 1 !important; }

  /* Operating Locations — blur the bars/charts inside, keep the heading + container */
  body:not(.pro-unlocked) #loc-distribution > *,
  body:not(.pro-unlocked) #historical-growth-viz > *,
  body:not(.pro-unlocked) #loc-detail-toggle,
  body:not(.pro-unlocked) #loc-detail-list { filter: blur(5px); opacity: 0.4; user-select: none; pointer-events: none; }
  /* But the section heading and any title-bar elements stay legible */
  body:not(.pro-unlocked) .locations-wrapper .section-title,
  body:not(.pro-unlocked) #loc-distribution .loc-section-title,
  body:not(.pro-unlocked) #historical-growth-viz .hg-title { filter: none !important; opacity: 1 !important; }

  /* The .bh-frosted/.lv-frosted/.mi-frosted classes are still added by JS as
     state markers (used by analytics/auto-revert), but no longer carry any
     visual treatment — the field-level rules above do the work. */

  /* ─── Pro unlock nudge overlay on blurred sections ─── */
  .pro-nudge { position: relative; cursor: pointer; }
  .pro-nudge::after { content: '🔒 Unlock with Pro'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: rgba(15,23,42,0.85); color: #fff; font-family: 'Urbanist', sans-serif; font-size: 12px; font-weight: 600; padding: 8px 18px; border-radius: 10px; opacity: 0; transition: opacity 0.2s; pointer-events: none; white-space: nowrap; z-index: 5; }
  .pro-nudge:hover::after { opacity: 1; }
  body.pro-unlocked .pro-nudge::after { display: none; }
  body.pro-unlocked .pro-nudge { cursor: default; }
  body.pro-unlocked #locations-section { display: block !important; }
  body.pro-unlocked #premium-loc-preview { display: none !important; }
  body.pro-unlocked #territory-checker-mount,
  body.pro-unlocked #franchisee-connect-mount { display: block !important; position: relative; z-index: 5; pointer-events: auto !important; }
  body.pro-unlocked #territory-checker-mount *,
  body.pro-unlocked #franchisee-connect-mount * { pointer-events: auto; }
  body.pro-unlocked .tc-wrapper,
  body.pro-unlocked .fc-wrap { position: relative; z-index: 5; }
  body.pro-unlocked .tc-input,
  body.pro-unlocked .tc-search-btn,
  body.pro-unlocked .fc-input,
  body.pro-unlocked .fc-send-btn { pointer-events: auto !important; cursor: pointer; position: relative; z-index: 10; }
  /* Locate button keeps its absolute positioning — only z-index needs bumping */
  body.pro-unlocked .tc-locate-btn { pointer-events: auto !important; cursor: pointer; z-index: 10; }
  body.pro-unlocked .tc-input,
  body.pro-unlocked .fc-input { cursor: text; }

  /* ─── Unlocked state — clear all blurs ─── */
  .premium-master-container.unlocked .lv-item,
  .premium-master-container.unlocked .lv-addr,
  .premium-master-container.unlocked .lv-fin-metric,
  .premium-master-container.unlocked .lv-fin-bars,
  .premium-master-container.unlocked .lv-bar-row,
  .premium-master-container.unlocked .lv-lit-header,
  .premium-master-container.unlocked .lv-lit-summary,
  .premium-master-container.unlocked .lv-lit-tags,
  .premium-master-container.unlocked .lv-lit-pending,
  .premium-master-container.unlocked .lv-lit-links,
  .premium-master-container.unlocked .lv-comp-themes,
  .premium-master-container.unlocked .lv-director,
  .premium-master-container.unlocked .lv-source,
  .premium-master-container.unlocked .lv-freshness,
  .premium-master-container.unlocked .lv-private-note,
  .premium-master-container.unlocked .mi-section > *,
  .premium-master-container.unlocked .pro-tool-card .pro-tool-desc { filter: none !important; opacity: 1 !important; pointer-events: auto !important; user-select: auto !important; }
  body.pro-unlocked .bh-wrapper,
  body.pro-unlocked #loc-distribution,
  body.pro-unlocked #loc-detail-toggle,
  body.pro-unlocked #loc-detail-list,
  body.pro-unlocked #historical-growth-viz { filter: none !important; opacity: 1 !important; pointer-events: auto !important; user-select: auto !important; }

  .margin-row { display: flex; justify-content: space-between; font-size: 15px; border-bottom: 1px solid rgba(0,0,0,0.05); padding: 12px 0; color: var(--text-main); }
  .btn-download-sku { background: rgba(255,255,255,0.7); border: 1px solid rgba(0,0,0,0.1); padding: 10px; border-radius: 12px; width: 100%; font-family: 'Urbanist', sans-serif; font-size: 13px; font-weight: 500; cursor: pointer; margin-top: 12px; color: var(--text-main); }
  .review-text { font-size: 14px; font-style: italic; background: rgba(255,255,255,0.5); padding: 16px; border-radius: 12px; margin-top: 12px; border-left: 3px solid #d97706; color: var(--text-main); line-height: 1.5; }
  .territory-input-group { display: flex; gap: 8px; margin-top: 8px; }
  .territory-input { flex-grow: 1; padding: 12px; border-radius: 10px; border: 1px solid rgba(0,0,0,0.1); background: rgba(255,255,255,0.6); font-family: 'Inter', sans-serif; }
  .btn-check-terr { background: var(--text-main); color: var(--bg-color); border: none; padding: 0 16px; border-radius: 10px; font-family: 'Urbanist', sans-serif; font-size: 13px; font-weight: 500; cursor: pointer; }

  /* Vault overlay — floating frosted glass card over premium content */
  .vault-lock-overlay { position: absolute; inset: 0; z-index: 10000; pointer-events: none; }
  .vault-sticky-content { position: sticky; top: 20vh; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px; pointer-events: auto; z-index: 10001; will-change: transform; }
  .vault-glass-card { background: none; padding: 0; max-width: 400px; width: 100%; pointer-events: auto; position: relative; z-index: 10002; }
  .vault-door-container { display: flex; flex-direction: column; align-items: center; margin-bottom: 14px; }
  .red-security-light { width: 10px; height: 10px; background: #ef4444; border-radius: 50%; box-shadow: 0 0 12px #ef4444, 0 0 24px #ef4444; margin-bottom: 10px; border: 2px solid #7f1d1d; transition: all 0.5s; }
  .red-security-light.orange { background: #f59e0b; box-shadow: 0 0 12px #f59e0b, 0 0 24px #f59e0b; border-color: #b45309; }
  .red-security-light.green { background: #10b981; box-shadow: 0 0 12px #10b981, 0 0 24px #10b981; border-color: #047857; }
  .vault-icon { width: 48px; height: 48px; color: #1e293b; filter: drop-shadow(0 0 8px rgba(255,255,255,0.9)) drop-shadow(0 2px 6px rgba(0,0,0,0.3)); transition: all 0.3s; }
  @keyframes shakeLock { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-5deg); } 50% { transform: rotate(0deg); } 75% { transform: rotate(5deg); } }
  .vault-icon.shaking { animation: shakeLock 0.5s ease-in-out infinite; }
  .vault-icon.unlocked-state .lock-shackle { transform: translateY(-6px); }
  .vault-plans { display: flex; gap: 10px; margin-bottom: 14px; pointer-events: auto; position: relative; z-index: 10003; }
  .vault-plan { flex: 1; padding: 10px; border-radius: 12px; cursor: pointer; transition: all 0.2s; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .vault-plan-brand { border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .vault-plan-brand:hover { border-color: #fbbf24; background: rgba(255,255,255,0.95); }
  .vault-plan-brand .vault-plan-price { color: #b45309; }
  .vault-plan-brand .vault-plan-label { color: #64748b; }
  .vault-plan-pro { border: 2px solid #10b981; background: rgba(15,23,42,0.85); position: relative; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .vault-plan-pro:hover { background: rgba(15,23,42,0.92); }
  .vault-plan-pro .vault-best { position: absolute; top: -7px; right: 8px; background: #10b981; color: #fff; font-size: 8px; font-weight: 700; padding: 2px 7px; border-radius: 4px; font-family: 'Urbanist', sans-serif; letter-spacing: 0.5px; }
  .vault-plan-pro .vault-plan-label { color: #94a3b8; }
  .vault-plan-price { font-family: 'Urbanist', sans-serif; font-size: 20px; font-weight: 700; }
  .vault-plan-label { font-size: 9px; text-transform: uppercase; letter-spacing: 1px; margin-top: 3px; }
  .upi-payment-box { background: #fff; border: 2px solid rgba(16,185,129,0.2); border-radius: 30px; padding: 6px 6px 6px 16px; display: flex; align-items: center; gap: 10px; width: 100%; max-width: 340px; margin: 0 auto; box-shadow: 0 4px 16px rgba(0,0,0,0.08); pointer-events: auto; position: relative; z-index: 10005; }
  .upi-payment-box:focus-within { border-color: #10b981; box-shadow: 0 4px 16px rgba(16,185,129,0.15); }
  .upi-logo-img { height: 16px; width: auto; opacity: 0.85; object-fit: contain; pointer-events: none; }
  .upi-input { flex-grow: 1; border: none; outline: none; background: transparent; font-family: 'Inter', sans-serif; font-size: 16px; color: #1e293b; width: 100%; min-height: 44px; pointer-events: auto; position: relative; z-index: 10006; -webkit-appearance: none; appearance: none; touch-action: manipulation; }
  .upi-input::placeholder { color: #94a3b8; }
  .btn-unlock-action { background: #10b981; color: white; border: none; padding: 12px 22px; border-radius: 24px; font-family: 'Urbanist', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: all 0.2s; pointer-events: auto; position: relative; z-index: 10005; touch-action: manipulation; }
  .btn-unlock-action:active { transform: scale(0.97); }
  .btn-unlock-action:hover { opacity: 0.85; }
  .vault-tools-list { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 12px; }
  .vault-tools-list span { font-size: 10px; color: #94a3b8; background: rgba(255,255,255,0.06); padding: 3px 8px; border-radius: 6px; }

  /* Pro tool cards — interactive locked state */
  .pro-tool-card { position: relative; background: rgba(255,255,255,0.7); backdrop-filter: blur(12px); border: 1px solid rgba(0,0,0,0.04); border-radius: 16px; padding: 20px; margin-bottom: 16px; cursor: pointer; transition: all 0.2s; overflow: hidden; }
  .pro-tool-card:hover { border-color: rgba(16,185,129,0.3); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
  .pro-tool-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
  .pro-tool-icon { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.3)); border: 1px solid rgba(255,255,255,0.8); box-shadow: 0 4px 15px rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .pro-tool-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
  .pro-tool-title { font-family: 'Urbanist', sans-serif; font-size: 15px; font-weight: 700; color: var(--text-main); }
  .pro-tool-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-bottom: 12px; }
  .pro-tool-locked-input { display: flex; gap: 8px; align-items: center; opacity: 0.5; pointer-events: none; }
  .pro-tool-locked-input input { flex: 1; padding: 10px 14px; border: 1px solid rgba(0,0,0,0.1); border-radius: 10px; font-family: 'Inter', sans-serif; font-size: 13px; background: rgba(255,255,255,0.6); color: var(--text-muted); }
  .pro-tool-locked-input button { padding: 10px 16px; background: var(--text-main); color: var(--bg-color); border: none; border-radius: 10px; font-family: 'Urbanist', sans-serif; font-size: 12px; font-weight: 600; white-space: nowrap; }
  .pro-tool-locked { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; margin-top: 8px; }
  .pro-tool-locked svg { width: 14px; height: 14px; stroke: #f59e0b; fill: none; stroke-width: 2; }
  .premium-master-container.unlocked .pro-tool-card { pointer-events: auto; }
  .premium-master-container.unlocked .pro-tool-locked-input { opacity: 1; pointer-events: auto; }
  .premium-master-container.unlocked .pro-tool-locked { display: none; }

  body.dark-theme .upi-payment-box { background: rgba(30,41,59,0.95); border-color: rgba(16,185,129,0.25); }
  body.dark-theme .upi-input { color: #f1f5f9; }
  body.dark-theme .upi-input::placeholder { color: #64748b; }
  .premium-master-container.unlocked .vault-lock-overlay { display: none; }
  .premium-master-container.unlocked .premium-ribbon { display: none; }

  /* ─── INDUSTRY DEEP-DIVE BUTTON (dark pearlescent) ─── */
  .ind-dive-wrap { position: relative; display: block; width: 100%; border-radius: 18px; padding: 3px; margin: 24px 0 0; overflow: hidden; box-sizing: border-box; background: linear-gradient(var(--pearl-border-angle,135deg),rgba(236,72,153,0.5),rgba(139,92,246,0.6),rgba(59,130,246,0.5),rgba(16,185,129,0.6),rgba(245,158,11,0.5),rgba(236,72,153,0.5)); background-size: 300% 300%; animation: indPearlBorder 8s ease-in-out infinite; }
  @keyframes indPearlBorder { 0%{background-position:0% 50%}25%{background-position:100% 0%}50%{background-position:100% 100%}75%{background-position:0% 100%}100%{background-position:0% 50%} }
  .ind-dive-wrap:hover { box-shadow: 0 0 24px rgba(139,92,246,0.15), 0 0 48px rgba(16,185,129,0.08); }
  .ind-dive-btn { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-radius: 15px; text-decoration: none; background: rgba(15,23,42,0.97); color: #e2e8f0; position: relative; overflow: hidden; cursor: pointer; transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s; border: none; width: 100%; box-sizing: border-box; }
  .ind-dive-btn::before { content:''; position:absolute; inset:0; z-index:0; background:linear-gradient(var(--pearl-angle,135deg),rgba(236,72,153,0.05),rgba(139,92,246,0.06),rgba(59,130,246,0.04),rgba(16,185,129,0.06),rgba(245,158,11,0.04),rgba(236,72,153,0.05)); background-size:300% 300%; animation:indPearlBorder 8s ease-in-out infinite; opacity:0.6; transition:opacity 0.3s; }
  .ind-dive-btn::after { content:''; position:absolute; inset:0; z-index:0; background:radial-gradient(ellipse 80% 60% at 20% 40%, rgba(255,255,255,0.04), transparent 70%); pointer-events:none; }
  .ind-dive-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(139,92,246,0.1); }
  .ind-dive-btn:hover::before { opacity: 1; }
  .ind-dive-text { position: relative; z-index: 1; }
  .ind-dive-title { font-family:'Urbanist',sans-serif; font-size:14px; font-weight:700; color:#f1f5f9; margin-bottom:3px; }
  .ind-dive-sub { font-family:'Inter',sans-serif; font-size:10px; font-weight:600; color:#8b5cf6; letter-spacing:1.5px; text-transform:uppercase; opacity:0.7; }
  .ind-dive-btn:hover .ind-dive-sub { opacity: 1; }
  .ind-dive-btn svg { position:relative; z-index:1; flex-shrink:0; transition:transform 0.2s, color 0.2s; color:#8b5cf6; }
  .ind-dive-btn:hover svg { transform: translateX(5px); color: #10b981; }

  /* Pearlescent button light mode — actual shimmer, not dark block */
  body:not(.dark-theme) .ind-dive-wrap { background:linear-gradient(var(--pearl-border-angle,135deg),rgba(236,72,153,0.35),rgba(139,92,246,0.5),rgba(59,130,246,0.35),rgba(16,185,129,0.5),rgba(245,158,11,0.35),rgba(236,72,153,0.35)); background-size:300% 300%; animation:indPearlBorder 8s ease-in-out infinite; }
  body:not(.dark-theme) .ind-dive-btn { background:linear-gradient(135deg,#f8fafc,#f1f5f9,#ede9fe,#ecfdf5,#fef3c7,#f8fafc); background-size:400% 400%; animation:pearlSheen 6s ease-in-out infinite; color:#1e293b; }
  @keyframes pearlSheen { 0%{background-position:0% 50%}25%{background-position:100% 0%}50%{background-position:100% 100%}75%{background-position:0% 100%}100%{background-position:0% 50%} }
  body:not(.dark-theme) .ind-dive-btn::before { background:linear-gradient(var(--pearl-angle,135deg),rgba(236,72,153,0.06),rgba(139,92,246,0.08),rgba(59,130,246,0.06),rgba(16,185,129,0.08),rgba(245,158,11,0.06),rgba(236,72,153,0.06)); background-size:300% 300%; animation:indPearlBorder 8s ease-in-out infinite; opacity:1; }
  body:not(.dark-theme) .ind-dive-btn::after { background:radial-gradient(ellipse 80% 60% at 20% 40%, rgba(255,255,255,0.5), transparent 70%); }
  body:not(.dark-theme) .ind-dive-title { color:#1e293b; }
  body:not(.dark-theme) .ind-dive-sub { color:#7c3aed; opacity:0.8; }
  body:not(.dark-theme) .ind-dive-btn svg { color:#7c3aed; }
  body:not(.dark-theme) .ind-dive-btn:hover svg { color:#059669; }
  body:not(.dark-theme) .ind-dive-btn:hover { box-shadow:0 8px 30px rgba(139,92,246,0.15),0 0 0 1px rgba(139,92,246,0.1); }

  /* ─── GROUP STRIP (Also by this group) ─── */
  .grp-strip{margin-top:16px;padding:14px 16px;background:rgba(255,255,255,0.02);border:1px solid rgba(255,255,255,0.05);border-radius:12px}
  .grp-label{font-family:'Urbanist',sans-serif;font-size:10px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:0.5px;margin-bottom:10px;display:flex;align-items:center;gap:6px}
  .grp-label .grp-name{color:#10b981}
  .grp-scroll{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding-bottom:2px}
  .grp-scroll::-webkit-scrollbar{display:none}
  .grp-tile{flex:0 0 auto;display:flex;align-items:center;gap:8px;padding:6px 10px;background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.06);border-radius:8px;text-decoration:none;color:var(--text-main);transition:all 0.15s;cursor:pointer}
  .grp-tile:hover{border-color:rgba(16,185,129,0.2);background:rgba(16,185,129,0.04)}
  .grp-tile img{width:40px;height:40px;border-radius:8px;object-fit:contain;background:rgba(255,255,255,0.06);border:1px solid rgba(0,0,0,0.06)}
  .grp-tile-name{font-family:'Urbanist',sans-serif;font-size:12px;font-weight:600;white-space:nowrap}
  body.dark-theme .grp-strip{background:rgba(255,255,255,0.02);border-color:rgba(255,255,255,0.05)}
  body:not(.dark-theme) .grp-strip{background:rgba(0,0,0,0.02);border-color:rgba(0,0,0,0.06)}
  body:not(.dark-theme) .grp-tile{background:rgba(255,255,255,0.7);border-color:rgba(0,0,0,0.08)}
  body:not(.dark-theme) .grp-tile:hover{background:rgba(16,185,129,0.06);border-color:rgba(16,185,129,0.2)}
  body:not(.dark-theme) .grp-tile img{background:#fff;border-color:rgba(0,0,0,0.08)}

  /* TOOLTIP SYSTEM */
  .tooltip-trigger { position: relative; display: inline-flex; align-items: center; gap: 4px; cursor: help; width: fit-content; z-index: 15;}
  /* Info trigger: small downward chevron (▾) signalling "click to expand".
     Source HTML still contains the legacy "i" text inside the span — we
     suppress it with font-size:0 and render the chevron via ::before, so
     no template/HTML changes are needed across the bento grid. */
  .info-icon { display: inline-flex; align-items: center; justify-content: center; font-size: 0; line-height: 1; width: 16px; height: 16px; color: #94a3b8; margin-left: 4px; cursor: pointer; transition: color 0.2s, transform 0.2s; flex-shrink: 0; }
  .info-icon::before { content: '\25BE'; font-family: 'DM Sans', 'Inter', sans-serif; font-size: 12px; line-height: 1; color: inherit; }
  .info-icon:hover, .active-icon { color: #c89236 !important; background: transparent !important; transform: translateY(1px); }
  
  .tooltip-trigger::after {
      content: attr(data-tip); position: absolute; background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); color: #fff; padding: 12px 16px; border-radius: 12px; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 400; line-height: 1.5; width: 240px; text-transform: none; letter-spacing: 0; box-shadow: 0 15px 35px rgba(0,0,0,0.3); opacity: 0; pointer-events: none; transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
      z-index: 999999 !important; text-align: center; border: 1px solid rgba(255,255,255,0.1);
      bottom: 100%; left: 50%; transform: translateX(-50%) translateY(-5px);
  }
  .tooltip-trigger.tip-down::after { bottom: auto; top: 100%; left: 50%; transform: translateX(-50%) translateY(5px); }
  .tooltip-trigger.tip-down:hover::after, .tooltip-trigger.tip-down:active::after { opacity: 1; transform: translateX(-50%) translateY(8px); }
  .tooltip-trigger:not(.tip-down)::after { bottom: 100%; left: 50%; transform: translateX(-50%) translateY(-5px); }
  .tooltip-trigger:not(.tip-down):hover::after, .tooltip-trigger:not(.tip-down):active::after { opacity: 1; transform: translateX(-50%) translateY(-8px); }

  .inline-format-wrapper { position: relative; display: inline-block; margin-top: 4px; }
  .inline-format-select { appearance: none; background: transparent; border: none; font-family: 'Urbanist', sans-serif; font-style: italic; font-size: 13px; font-weight: 500; color: var(--text-muted); cursor: pointer; outline: none; padding-right: 14px; position: relative; transition: color 0.2s; }
  .inline-format-select:hover { color: var(--text-main); }
  .inline-format-wrapper::after { content: '▾'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 10px; color: var(--text-muted); pointer-events: none; }

  /* =========================================
     LEAD GEN FORM SECTION (ZEN TEXTURE)
  ========================================= */
  .form-container-outer { width: 100%; max-width: 800px; margin: 40px auto 60px auto; position: relative; z-index: 30; opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; will-change: transform, opacity; }
  .form-container-outer.slide-in { opacity: 1; transform: translateY(0); }
  
  .zen-form-wrapper { background-color: #F9F8F6; background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2H0v-2h20v-2H0V8h20V6H0V4h20V2H0V0h22v20h2V0h2v20h2V0h2v20h2V0h2v20h2V0h2v20h2v2H20v-1.5zM0 20h2v20H0V20zm4 0h2v20H4V20zm4 0h2v20H8V20zm4 0h2v20h-2V20zm4 0h2v20h-2V20zm4 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2zm0 4h20v2H20v-2z' fill='%23e6e4df' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E"); padding: 40px; border-radius: 24px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); position: relative; border: 1px solid rgba(0,0,0,0.05); }
  
  .scroll-hint h2 { font-size: 1.4rem; color: #1e293b; margin-bottom: 25px; font-weight: 800; text-align: center; text-transform: uppercase; letter-spacing: 0.5px; font-family: 'Urbanist', sans-serif;}
  .scroll-hint { text-decoration: none; display: block; }
  
  form .row { display: flex; gap: 20px; margin-bottom: 25px; }
  form .col { flex: 1; }
  .form-group { position: relative; margin-bottom: 25px; }
  form .row .form-group { margin-bottom: 0; }
  
  .static-label-group label { display: block; font-family: 'Inter', sans-serif; font-size: 0.85rem; color: #10b981; font-weight: 700; margin-bottom: 4px; pointer-events: auto; }
  .static-label-group input, .static-label-group select, .static-label-group textarea { width: 100%; padding: 8px 0 12px 0; font-size: 1rem; color: #1e293b; border: none; border-bottom: 2px solid rgba(0,0,0,0.1); background: transparent; transition: all 0.3s; box-sizing: border-box; outline: none; font-family: 'Inter', sans-serif; }
  .static-label-group textarea { resize: vertical; min-height: 40px; }
  .static-label-group select { cursor: pointer; }
  
  .input-line { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: #10b981; transition: width 0.4s ease; }
  .static-label-group input:focus ~ .input-line, .static-label-group select:focus ~ .input-line, .static-label-group textarea:focus ~ .input-line { width: 100%; }
  
  .radio-group { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 10px;}
  .radio-label { display: flex; align-items: center; cursor: pointer; font-size: 0.95rem; color: #64748b; padding: 8px 12px; border: 1px solid rgba(0,0,0,0.1); border-radius: 8px; transition: all 0.2s ease; background: rgba(255,255,255,0.7); font-family: 'Inter', sans-serif; white-space: nowrap; flex: 0 0 auto; margin:0; font-weight:500;}
  .radio-label:hover { border-color: #10b981; background-color: rgba(16,185,129,0.05); color: #1e293b;}
  .radio-label input[type="radio"] { margin-right: 8px; cursor: pointer; accent-color: #10b981; }
  
  .submit-btn { width: 100%; padding: 16px; background: #10b981; color: #fff; border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3); font-family: 'Urbanist', sans-serif; margin-top: 10px;}
  .submit-btn:hover { background: #059669; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4); }
  input:invalid.submitted, select:invalid.submitted { border-bottom-color: #ef4444; }

  /* =========================================
     LOCATIONS ACCORDION
  ========================================= */
  .locations-wrapper {
      position: relative; overflow: hidden;
      width: 100%; box-sizing: border-box;
      background: linear-gradient(135deg, rgba(71,85,105,0.06), rgba(100,116,139,0.04) 50%, rgba(186,230,253,0.06));
      border: 1px solid rgba(71,85,105,0.22);
      border-radius: 16px;
      padding: 24px 28px;
      margin-bottom: 20px;
      display: none;
  }
  .locations-wrapper::before {
      content: ''; position: absolute; top: -80px; left: -80px; width: 260px; height: 260px;
      border-radius: 50%; background: radial-gradient(circle, rgba(56,189,248,0.18), transparent 70%);
      pointer-events: none; z-index: 0;
  }
  .locations-wrapper::after {
      content: ''; position: absolute; bottom: -60px; right: -60px; width: 180px; height: 180px;
      border-radius: 50%; background: radial-gradient(circle, rgba(71,85,105,0.18), transparent 70%);
      pointer-events: none; z-index: 0;
  }
  .locations-wrapper > * { position: relative; z-index: 1; }
  .loc-state { border-bottom: 1px solid rgba(0,0,0,0.05); padding: 12px 0; }
  .loc-state:last-child { border-bottom: none; }
  .loc-state summary { font-family: 'Urbanist', sans-serif; font-size: 16px; font-weight: 600; color: var(--text-main); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; outline: none; transition: color 0.2s;}
  .loc-state summary::-webkit-details-marker { display: none; }
  .loc-state summary:after { content: '+'; font-size: 20px; color: #10b981; transition: transform 0.3s;}
  .loc-state[open] summary:after { transform: rotate(45deg); color: #ef4444;}
  .loc-city-list { padding: 12px 0 12px 16px; display: flex; flex-direction: column; gap: 12px;}
  .loc-city summary { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: var(--text-main); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 8px; background: rgba(0,0,0,0.02); border-radius: 8px;}
  .loc-city summary::-webkit-details-marker { display: none; }
  .loc-city summary:after { content: '▾'; font-size: 12px; color: var(--text-muted); transition: transform 0.3s;}
  .loc-city[open] summary:after { transform: rotate(180deg); }
  .loc-store-list { padding: 8px 12px; display: flex; flex-direction: column; gap: 8px; font-family: 'Inter', sans-serif; font-size: 13px; color: var(--text-muted); border-left: 2px solid #10b981; margin-left: 8px; margin-top: 8px;}
  .loc-store-item { background: #fff; padding: 10px; border-radius: 8px; border: 1px solid rgba(0,0,0,0.03); display: flex; justify-content: space-between; align-items: center; color: #1e293b;}
  .loc-store-item a { color: #10b981; text-decoration: none; font-weight: 500; display: flex; align-items: center; gap: 4px;}
  .loc-store-item a:hover { text-decoration: underline; }

  /* ─── ACCESS RECOVERY MODALS (Layer 2 post-payment + Layer 3 recovery) ── */
  .ftc-ppm { position: fixed; inset: 0; z-index: 99000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; display: flex; align-items: center; justify-content: center; padding: 20px; }
  .ftc-ppm.open { opacity: 1; pointer-events: auto; }
  .ftc-ppm-backdrop { position: absolute; inset: 0; background: rgba(10,15,20,0.65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .ftc-ppm-card { position: relative; width: 100%; max-width: 420px; background: linear-gradient(180deg, #0f172a, #0a0f14); border: 1px solid rgba(16,185,129,0.2); border-radius: 20px; padding: 32px 28px 24px; box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(16,185,129,0.08); font-family: 'Inter', sans-serif; color: #e6edf3; transform: translateY(12px) scale(0.98); transition: transform 0.35s cubic-bezier(0.22,1,0.36,1); }
  .ftc-ppm.open .ftc-ppm-card { transform: translateY(0) scale(1); }
  .ftc-ppm-check { display: flex; justify-content: center; margin-bottom: 14px; }
  .ftc-ppm-card h3 { font-family: 'Urbanist', sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -0.5px; text-align: center; margin: 0 0 10px; color: #fff; }
  .ftc-ppm-card p { font-size: 13px; color: #9aa5b4; line-height: 1.6; text-align: center; margin: 0 0 18px; }
  .ftc-ppm-card p strong { color: #e6edf3; font-weight: 600; }
  .ftc-ppm-email-pill { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #c4b5fd; background: rgba(167,139,250,0.08); border: 1px solid rgba(167,139,250,0.15); border-radius: 8px; padding: 6px 10px; text-align: center; margin-bottom: 16px; }
  .ftc-ppm-email-pill strong { color: #e6edf3; }
  .ftc-ppm-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px 16px; border-radius: 10px; font-family: 'Urbanist', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; margin-bottom: 8px; transition: all 0.15s; border: none; }
  .ftc-ppm-google { background: #fff; color: #1a1a1a; }
  .ftc-ppm-google:hover { background: #f4f4f4; transform: translateY(-1px); }
  .ftc-ppm-magic { background: rgba(16,185,129,0.12); color: #10b981; border: 1px solid rgba(16,185,129,0.3); }
  .ftc-ppm-magic:hover { background: rgba(16,185,129,0.2); }
  .ftc-ppm-skip { display: block; text-align: center; font-size: 12px; color: #64748b; margin-top: 10px; cursor: pointer; text-decoration: underline; }
  .ftc-ppm-skip:hover { color: #94a3b8; }
  .ftc-ppm-note { font-size: 10.5px; color: #4b5563; text-align: center; margin-top: 14px; line-height: 1.5; }
  .ftc-rec-input { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); color: #e6edf3; font-family: 'Inter', sans-serif; font-size: 13px; margin-bottom: 12px; outline: none; transition: border-color 0.2s; }
  .ftc-rec-input:focus { border-color: rgba(16,185,129,0.4); }

  /* ─── POLISH FIXES (from live-launch review) ──────────────────────── */

  /* Operating Locations title — it was clipping into the frame below.
     Breathing room above & below. */
  h2.section-title + .locations-wrapper { margin-top: 16px; }
  .section-title[style*="Operating Locations"],
  h2.section-title:has(svg + text),
  .container > h2.section-title { margin-top: 28px !important; margin-bottom: 14px !important; }

  /* Legal Vault ↔ Margin Intelligence — give them a clear gap so they
     don't look like one merged frame. .premium-card was gap-0 before. */
  .premium-master-container .premium-card + .premium-card { margin-top: 16px; }
  #legal-vault-mount, #margin-intel-mount { display: block; }

  /* Territory-checker Find button — was stretching tall because the flex
     parent had default align-items:stretch. Now centred + sized to match
     fc-find so the two Find buttons on the page look like a pair. */
  .tc-input-row { align-items: center; }
  .tc-search-btn { padding: 11px 20px; font-size: 12px; border-radius: 10px; min-height: 42px; }

  /* Data Disclaimer + Footer — both were narrower than the brand-colour
     backdrop, leaving a teal bleed on the sides. Now both stretch to the
     same 1200px content column the rest of the page uses. */
  body > div[style*="max-width:800px"]:has(> div > p > strong) { max-width: 1200px !important; width: calc(100% - 0px) !important; }
  body > footer.ftc-footer {
      width: 100vw;
      margin-left: calc(50% - 50vw);
      margin-right: calc(50% - 50vw);
      max-width: none;
  }

  /* MOBILE SEARCH & LAYOUT OVERFLOW FIXES */
  @media (max-width: 768px) {
      body { padding: 90px 10px 30px 10px; }
      
      .top-black-bar { height: 60px; flex-wrap: nowrap; overflow: visible; align-items: center; padding: 0 16px; width: 100vw;}
      .top-black-bar.search-active { height: 115px; flex-wrap: wrap; align-content: flex-start; padding-top: 10px;}
      .bg-brand-name, .bg-brand-glow { font-size: 20px; letter-spacing: 10px; }
      
      .central-discovery-core { position: absolute; top: 60px; left: 0; width: 100vw; padding: 0 16px; display: flex; align-items: center; justify-content: flex-start; flex-direction: row; margin: 0; box-sizing: border-box; overflow-x: auto; scrollbar-width: none; pointer-events: none;}
      .search-active .central-discovery-core { pointer-events: auto; }
      .search-text-wrapper.open { width: 100%; flex-grow: 1; margin-left: 12px; }
      
      .apple-drawer-slider, .apple-drawer-list { top: 115px !important; margin-top: 0; }
      .apple-drawer-slider { transform: translateX(-50%); }
      .apple-drawer-list { transform: translateX(-50%); max-width: 180px; width: max-content !important; padding: 0 !important;}
      
      .sub-drawer-list { position: absolute !important; display: none; max-width: 150px; width: max-content !important; margin-top: 0 !important;}
      .sub-drawer-list.open { display: flex; }
      .glass-rect-item { font-size: 11px; padding: 6px 10px; border-width: 1.5px; }

      .hero-section { grid-template-columns: 1fr; margin-top: 0px; padding: 0; gap: 8px; }
      .bento-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
      
      .col-span-2, .col-span-4, #card-stores, #card-industry, #card-inv, #card-security, #card-territory { grid-column: span 2; }
      #card-working { grid-column: span 1; }
      #card-model, #card-space, #card-fee, #card-royalty, #card-margin, #card-credit, #card-expiry { grid-column: span 1; }

      .bento-card { padding: 14px 16px; }
      .val { font-size: 18px; letter-spacing: -0.01em; }
      .label { font-size: 9px; letter-spacing: 1.4px; }

      .tooltip-trigger::after { width: 180px; white-space: normal; }
      .mobile-left .tooltip-trigger.tip-down::after, .col-span-2 .tooltip-trigger.tip-down::after { left: 0; transform: translateX(0) translateY(5px); text-align: left; }
      .mobile-left .tooltip-trigger.tip-down:hover::after, .mobile-left .tooltip-trigger.tip-down:active::after,
      .col-span-2 .tooltip-trigger.tip-down:hover::after, .col-span-2 .tooltip-trigger.tip-down:active::after { transform: translateX(0) translateY(8px); }
      
      .mobile-right .tooltip-trigger.tip-down::after { left: auto; right: 0; transform: translateX(0) translateY(5px); text-align: right; }
      .mobile-right .tooltip-trigger.tip-down:hover::after, .mobile-right .tooltip-trigger.tip-down:active::after { transform: translateX(0) translateY(8px); }
      
      .dynamic-results-panel { right: 10px; left: 10px; width: auto; top: 115px; border-radius: 16px; max-height: calc(100vh - 130px); overflow-y: auto;}
      .mini-logo-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }

      form .row { flex-direction: column; gap: 25px; margin-bottom: 25px; }
      .zen-form-wrapper { padding: 30px 20px; }
      .pro-tool-locked-input { flex-wrap: wrap; }
      .pro-tool-locked-input input { min-width: 0; width: 100%; }
      .pro-tool-locked-input button { flex-shrink: 0; }
  }

  /* ─── BRAND PAGE LOADER ─── */
  #brand-loader {
      position: fixed; inset: 0; z-index: 99999;
      background: #0a0f14;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      gap: 0;
      transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  }
  #brand-loader.fade-out { opacity: 0; pointer-events: none; }

  .loader-center { position: relative; width: 90px; height: 90px; display: flex; align-items: center; justify-content: center; }

  .loader-logo {
      font-family: 'Urbanist', sans-serif;
      font-size: 18px; font-weight: 700; color: #fff;
      letter-spacing: 0.3px; z-index: 2; user-select: none;
  }
  .loader-logo .fl-dot { color: #10b981; font-size: 1.15em; }

  /* Orbit ring — 3 dots rotating around the logo */
  .loader-ring {
      position: absolute; inset: 0;
      animation: loaderSpin 1.8s linear infinite;
  }
  .loader-ring .ld { position: absolute; width: 5px; height: 5px; border-radius: 50%; }
  .loader-ring .ld:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); background: #10b981; box-shadow: 0 0 8px rgba(16,185,129,0.6); }
  .loader-ring .ld:nth-child(2) { bottom: 13%; right: 5%; background: #34d399; opacity: 0.7; width: 4px; height: 4px; }
  .loader-ring .ld:nth-child(3) { bottom: 13%; left: 5%; background: #6ee7b7; opacity: 0.5; width: 3px; height: 3px; }

  @keyframes loaderSpin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
  }

  /* Progress bar */
  .loader-bar {
      width: 120px; height: 2px; margin-top: 28px;
      background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden;
  }
  .loader-fill {
      height: 100%; width: 0%; border-radius: 2px;
      background: linear-gradient(90deg, #10b981, #34d399);
      transition: width 0.3s ease;
  }


/* ──────────────────────────────────────────────────────────────────
   Restored from May 1 backup (/Users/Zenith/franticc-backup-2026-05-01/brandpage.html)
   on 2026-06-04. These are the BASE wrapper + children rules that the
   May extraction dropped — only nested .lv-section / dark-theme overrides
   were captured originally, leaving wrappers unstyled. Appending after
   existing rules so post-May additions (.pattern-a-ribbon, .mi-frosted,
   .pa-roadmap-*) cascade on top.
   ────────────────────────────────────────────────────────────────── */
.tc-wrapper { background: var(--card, #fff); border-radius: 16px; border: 1px solid rgba(0,0,0,0.06); padding: 20px; }
.tc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.tc-title { font-family: 'Urbanist', sans-serif; font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.tc-counter { font-size: 11px; color: #94a3b8; font-family: 'Inter', sans-serif; }
.tc-input-wrap { flex: 1; min-width: 0; position: relative; }
.tc-input { width: 100%; padding: 11px 14px; border: 1.5px solid rgba(0,0,0,0.08); border-radius: 12px; font-size: 13px; font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.2s; background: var(--bg, #FCFBF8); box-sizing: border-box; }
.tc-input:focus { border-color: #10b981; }
.tc-locate-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: #94a3b8; padding: 4px; transition: color 0.2s; }
.tc-locate-btn:hover { color: #10b981; }
.tc-search-btn:hover { background: #10b981; }
.tc-map-container { border-radius: 14px; overflow: hidden; border: 1px solid rgba(0,0,0,0.06); margin-bottom: 16px; }
.tc-map-tabs { display: flex; background: #1e293b; }
.tc-map-tab { flex: 1; padding: 8px; background: none; border: none; color: rgba(255,255,255,0.5); font-size: 11px; font-family: 'Urbanist', sans-serif; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.tc-map-tab.active { color: #fff; background: rgba(255,255,255,0.1); }
.tc-map { height: 360px; width: 100%; }
.tc-user-marker { position: relative; }
.tc-pulse { position: absolute; width: 20px; height: 20px; border-radius: 50%; background: rgba(59,130,246,0.3); animation: tc-pulse 2s ease-out infinite; }
.tc-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.3); position: absolute; top: 4px; left: 4px; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: #fff; }
.tc-outlet-marker .tc-dot { width: 24px; height: 24px; top: 0; left: 0; font-size: 11px; }
.bh-wrapper { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid rgba(0,0,0,0.04); }
.bh-top { display: flex; align-items: center; gap: 24px; margin-bottom: 20px; }
.bh-ring-wrap { width: 110px; height: 110px; flex-shrink: 0; position: relative; }
.bh-ring-svg { width: 100%; height: 100%; }
.bh-ring-progress { transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1); }
.bh-ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.bh-ring-num { font-family: 'Urbanist', sans-serif; font-size: 28px; font-weight: 700; color: var(--text-main); line-height: 1; }
.bh-ring-stars { font-size: 12px; letter-spacing: -1px; margin-top: 2px; }
.bh-star.filled { color: #f59e0b; }
.bh-star.half { color: #f59e0b; opacity: 0.5; }
.bh-star.empty { color: #e2e8f0; }
.bh-headline { flex: 1; }
.bh-title { font-family: 'Urbanist', sans-serif; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; color: var(--text-main); }
.bh-label { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.bh-meta { font-size: 12px; color: var(--text-muted, #64748b); }
.bh-states { margin-top: 4px; }
.bh-states-title { font-family: 'Urbanist', sans-serif; font-size: 12px; font-weight: 600; color: var(--text-muted, #64748b); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.bh-state-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; opacity: 0; animation: bh-fadeIn 0.4s ease forwards; }
.bh-state-name { font-size: 11px; color: var(--text-muted); min-width: 80px; text-align: right; font-family: 'Inter', sans-serif; }
.bh-state-bar-wrap { flex: 1; height: 14px; background: rgba(0,0,0,0.03); border-radius: 3px; overflow: hidden; }
.bh-state-bar { height: 100%; border-radius: 3px; transition: width 1s cubic-bezier(0.4, 0, 0.2, 1); }
.bh-state-rating { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700; min-width: 28px; }
.bh-state-reviews { font-size: 10px; color: var(--text-muted); min-width: 35px; }
.bh-more { font-size: 11px; color: var(--text-muted); margin-top: 4px; margin-left: 88px; }
.bh-source { font-size: 10px; color: var(--text-muted); margin-top: 12px; opacity: 0.6; }
body.dark-theme .bh-ring-num { color: #fff; }
body.dark-theme .bh-title { color: #fff; }
body.dark-theme .bh-state-bar-wrap { background: rgba(255,255,255,0.06); }
body.dark-theme .bh-star.empty { color: rgba(255,255,255,0.15); }
.lv-wrap {
      position: relative; overflow: hidden;
      background: linear-gradient(135deg, rgba(217,119,6,0.07), rgba(180,83,9,0.04) 50%, rgba(253,230,138,0.07));
      border-radius: 16px;
      border: 1px solid rgba(217,119,6,0.22);
      padding: 24px 26px;
      box-shadow: 0 4px 18px rgba(180,83,9,0.04);
  }
.lv-wrap::before {
      content: ''; position: absolute; top: -90px; right: -90px; width: 260px; height: 260px;
      border-radius: 50%; background: radial-gradient(circle, rgba(217,119,6,0.20), transparent 70%);
      pointer-events: none; z-index: 0;
  }
.lv-header { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; }
.lv-title { font-family: 'Urbanist', sans-serif; font-size: 16px; font-weight: 600; color: var(--text-main); }
.lv-sub { font-size: 12px; color: var(--text-muted); }
.lv-section { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(0,0,0,0.04); }
.lv-section:last-of-type { border-bottom: none; margin-bottom: 0; }
.lv-sec-title { font-family: 'Urbanist', sans-serif; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 10px; }
.lv-fy { font-size: 10px; font-weight: 400; color: var(--text-muted); margin-left: 6px; text-transform: none; letter-spacing: 0; }
.lv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.lv-item { padding: 8px 10px; background: rgba(0,0,0,0.02); border-radius: 8px; }
.lv-label { font-size: 10px; color: var(--text-muted); display: block; margin-bottom: 2px; font-family: 'Inter', sans-serif; }
.lv-val { font-size: 13px; font-weight: 500; color: var(--text-main); font-family: 'Inter', sans-serif; }
.lv-mono { font-family: monospace; font-size: 11px; word-break: break-all; }
.lv-addr { margin-top: 8px; }
.lv-addr-text { font-size: 12px; color: var(--text-muted); line-height: 1.4; margin-top: 4px; }
.lv-private-note { padding: 10px 12px; background: rgba(245,158,11,0.06); border-left: 2px solid #f59e0b; border-radius: 0 8px 8px 0; font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.lv-link { font-size: 11px; color: #3b82f6; text-decoration: none; font-family: 'Inter', sans-serif; font-weight: 500; display: inline-block; margin-top: 8px; margin-right: 16px; }
.lv-link:hover { text-decoration: underline; }
.lv-freshness { font-size: 9px; color: var(--text-muted); margin-top: 6px; opacity: 0.6; }
.lv-fin-metrics { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.lv-fin-metric { flex: 1; min-width: 90px; padding: 10px 12px; background: rgba(0,0,0,0.02); border-radius: 10px; text-align: center; }
.lv-fin-num { font-family: 'Urbanist', sans-serif; font-size: 18px; font-weight: 700; color: var(--text-main); }
.lv-fin-label { font-size: 10px; color: var(--text-muted); margin-top: 2px; font-family: 'Inter', sans-serif; }
.lv-fin-bars { display: flex; flex-direction: column; gap: 8px; }
.lv-bar-row { display: flex; align-items: center; gap: 8px; }
.lv-bar-label { font-size: 10px; color: var(--text-muted); width: 80px; flex-shrink: 0; font-family: 'Inter', sans-serif; }
.lv-bar-track { flex: 1; height: 8px; background: rgba(0,0,0,0.04); border-radius: 4px; overflow: hidden; }
.lv-bar-fill { height: 100%; width: 0; border-radius: 4px; transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.lv-bar-val { font-size: 11px; font-weight: 600; width: 50px; text-align: right; flex-shrink: 0; font-family: 'Urbanist', sans-serif; color: var(--text-main); }
.lv-lit-header { margin-bottom: 10px; }
.lv-lit-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 500; border: 1px solid; font-family: 'Inter', sans-serif; }
.lv-lit-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.lv-lit-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.lv-lit-tag { font-size: 10px; padding: 3px 8px; background: rgba(0,0,0,0.03); border-radius: 12px; color: var(--text-muted); font-family: 'Inter', sans-serif; }
.lv-lit-summary { font-size: 12px; line-height: 1.6; color: var(--text-main); font-family: 'Inter', sans-serif; padding: 10px 12px; background: rgba(0,0,0,0.015); border-radius: 10px; border-left: 3px solid rgba(0,0,0,0.06); }
.lv-lit-pending { text-align: center; padding: 20px 16px; }
.lv-lit-pending-icon { font-size: 24px; margin-bottom: 6px; }
.lv-lit-pending-text { font-family: 'Urbanist', sans-serif; font-size: 13px; font-weight: 600; color: var(--text-main); margin-bottom: 4px; }
.lv-lit-pending-sub { font-size: 11px; color: var(--text-muted); margin-bottom: 10px; }
.lv-lit-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.lv-search-mini { font-size: 11px; color: #3b82f6; text-decoration: none; padding: 4px 10px; border: 1px solid rgba(59,130,246,0.2); border-radius: 8px; transition: all 0.2s; }
.lv-search-mini:hover { background: rgba(59,130,246,0.06); }
.lv-comp-themes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.lv-comp-theme { font-size: 10px; padding: 3px 8px; background: rgba(239,68,68,0.05); border-radius: 12px; color: #b91c1c; font-family: 'Inter', sans-serif; text-transform: capitalize; }
.lv-directors { display: flex; flex-direction: column; gap: 8px; }
.lv-director { padding: 10px 12px; background: rgba(0,0,0,0.02); border-radius: 10px; }
.lv-dir-name { font-family: 'Urbanist', sans-serif; font-size: 13px; font-weight: 600; color: var(--text-main); }
.lv-dir-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.lv-dir-role { font-size: 11px; color: #10b981; font-weight: 500; }
.lv-dir-din { font-size: 10px; color: var(--text-muted); font-family: monospace; }
.lv-dir-tenure { font-size: 10px; color: var(--text-muted); }
.lv-dir-links { display: flex; gap: 12px; margin-top: 6px; }
.lv-dir-link { font-size: 10px; color: #3b82f6; text-decoration: none; font-family: 'Inter', sans-serif; }
.lv-dir-link:hover { text-decoration: underline; }
.lv-source { margin-top: 12px; }
body.dark-theme .lv-wrap {
      background: linear-gradient(135deg, rgba(217,119,6,0.10), rgba(180,83,9,0.07) 50%, rgba(253,230,138,0.05));
      border-color: rgba(217,119,6,0.25);
  }
body.dark-theme .lv-wrap::before {
      background: radial-gradient(circle, rgba(217,119,6,0.28), transparent 70%);
  }
body.dark-theme .lv-item, body.dark-theme .lv-fin-metric { background: rgba(255,255,255,0.04); }
body.dark-theme .lv-bar-track { background: rgba(255,255,255,0.06); }
body.dark-theme .lv-lit-summary { background: rgba(255,255,255,0.03); border-left-color: rgba(255,255,255,0.1); }
body.dark-theme .lv-lit-tag { background: rgba(255,255,255,0.06); }
body.dark-theme .lv-comp-theme { background: rgba(239,68,68,0.1); color: #fca5a5; }
body.dark-theme .lv-director { background: rgba(255,255,255,0.04); }
body.dark-theme .lv-dir-name, body.dark-theme .lv-title, body.dark-theme .lv-fin-num { color: #fff; }
.mi-wrap {
      position: relative; overflow: hidden;
      background: linear-gradient(180deg, rgba(254,251,242,0.45), rgba(254,251,242,0.18) 60%, rgba(30,58,95,0.05));
      border-radius: 8px;
      border: 1px solid rgba(30,58,95,0.22);
      padding: 28px 32px;
      box-shadow: 0 4px 18px rgba(30,58,95,0.04);
  }
.mi-wrap::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
      background: linear-gradient(90deg, #1e3a5f 0%, #1e3a5f 70%, #d4a957 70%, #d4a957 100%);
      pointer-events: none; z-index: 1;
  }
body.dark-theme .mi-wrap {
      background: linear-gradient(180deg, rgba(30,58,95,0.18), rgba(30,58,95,0.10) 60%, rgba(212,169,87,0.04));
      border-color: rgba(212,169,87,0.28);
      box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  }
.mi-header { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; }
.mi-title { font-family: 'Urbanist', sans-serif; font-size: 16px; font-weight: 600; color: var(--text-main); }
.mi-sub { font-size: 12px; color: var(--text-muted); }
.mi-section { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid rgba(16,185,129,0.06); }
.mi-section:last-of-type { border-bottom: none; margin-bottom: 0; }
.mi-sec-title { font-family: 'Urbanist', sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #10b981; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.mi-sec-title::before { content: ''; width: 3px; height: 14px; background: linear-gradient(180deg, #10b981, #3b82f6); border-radius: 2px; flex-shrink: 0; }
.mi-waterfall { display: flex; flex-direction: column; gap: 14px; }
.mi-stream { padding: 10px 12px; background: rgba(0,0,0,0.015); border-radius: 10px; }
.mi-stream-head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.mi-stream-icon { font-size: 14px; }
.mi-stream-name { font-family: 'Urbanist', sans-serif; font-size: 12px; font-weight: 600; color: var(--text-main); }
.mi-stream-rev { font-size: 10px; color: var(--text-muted); margin-left: auto; font-family: 'Inter', sans-serif; }
.mi-stream-bars { display: flex; flex-direction: column; gap: 4px; }
.mi-stream-bar-row { display: flex; align-items: center; gap: 6px; }
.mi-bar-label { font-size: 9px; color: var(--text-muted); width: 50px; flex-shrink: 0; font-family: 'Inter', sans-serif; }
.mi-bar-track { flex: 1; height: 7px; background: rgba(0,0,0,0.04); border-radius: 4px; overflow: hidden; }
.mi-bar-sm { height: 5px; }
.mi-bar-fill { height: 100%; width: 0; border-radius: 4px; transition: width 0.8s cubic-bezier(0.22,1,0.36,1); }
.mi-bar-val { font-size: 11px; font-weight: 600; width: 40px; text-align: right; flex-shrink: 0; font-family: 'Urbanist', sans-serif; color: var(--text-main); }
.mi-stream-note { font-size: 9px; color: var(--text-muted); margin-top: 4px; font-style: italic; }
.mi-econ-split { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.mi-gauge-wrap { text-align: center; flex-shrink: 0; width: 150px; }
.mi-gauge { width: 128px; height: 128px; }
.mi-gauge-num { font-family: 'Urbanist', sans-serif; font-size: 22px; font-weight: 700; fill: var(--text-main, #1a1a1a); }
.mi-gauge-label { font-family: 'Inter', sans-serif; font-size: 8px; fill: var(--text-muted, #888); }
.mi-gauge-title { font-family: 'Urbanist', sans-serif; font-size: 11px; font-weight: 600; color: var(--text-main); margin-top: 4px; }
.mi-gauge-desc { font-size: 9px; color: var(--text-muted); }
.mi-econ-metrics { flex: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.mi-econ-card { padding: 12px 14px; background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(59,130,246,0.04)); border: 1px solid rgba(16,185,129,0.1); border-radius: 12px; text-align: center; transition: all 0.2s; position: relative; overflow: hidden; }
.mi-econ-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #10b981, #3b82f6); opacity: 0.6; }
.mi-econ-card:hover { border-color: rgba(16,185,129,0.25); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(16,185,129,0.08); }
.mi-econ-card.mi-econ-open { background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(59,130,246,0.06)); border-color: rgba(16,185,129,0.2); }
.mi-econ-arrow { display: inline-block; cursor: pointer; font-size: 11px; font-weight: 700; color: rgba(0,0,0,0.25); transform: rotate(90deg); transition: color 0.2s, transform 0.2s; margin-left: 3px; }
.mi-econ-arrow:hover { color: #10b981; }
.mi-econ-open .mi-econ-arrow { transform: rotate(270deg); color: #10b981; }
.mi-econ-explain { font-size: 10px; color: var(--text-muted); line-height: 1.5; text-align: left; margin-top: 6px; padding-top: 6px; border-top: 1px dashed rgba(0,0,0,0.06); animation: fadeInDown 0.2s ease; }
.mi-econ-icon { font-size: 16px; margin-bottom: 2px; }
.mi-econ-val { font-family: 'Urbanist', sans-serif; font-size: 18px; font-weight: 700; color: #10b981; }
.mi-econ-label { font-size: 10px; color: var(--text-muted); font-family: 'Urbanist', sans-serif; font-weight: 500; margin-top: 2px; }
.mi-models { display: flex; flex-direction: column; gap: 12px; }
.mi-seg-group { margin-bottom: 4px; }
.mi-seg-label { font-size: 10px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 6px; font-family: 'Inter', sans-serif; padding-left: 2px; }
.mi-model-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; transition: all 0.2s; border: 1px solid transparent; background: rgba(0,0,0,0.015); }
.mi-model-row:hover { background: rgba(16,185,129,0.04); border-color: rgba(16,185,129,0.08); }
.mi-model-info { display: flex; flex-direction: column; min-width: 110px; flex-shrink: 0; }
.mi-model-name { font-family: 'Urbanist', sans-serif; font-size: 12px; font-weight: 600; color: var(--text-main); }
.mi-model-price { font-size: 10px; color: var(--text-muted); font-family: 'Inter', sans-serif; }
.mi-model-bars { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.mi-model-bar-wrap { display: flex; align-items: center; gap: 6px; }
.mi-model-pct { font-size: 11px; font-weight: 600; font-family: 'Urbanist', sans-serif; min-width: 60px; }
.mi-model-eff { font-size: 9px; font-weight: 500; }
.mi-model-vol { font-size: 9px; color: var(--text-muted); flex-shrink: 0; font-family: 'Inter', sans-serif; }
.mi-legend { display: flex; gap: 12px; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(0,0,0,0.04); }
.mi-leg-item { font-size: 9px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; font-family: 'Inter', sans-serif; }
.mi-leg-dot { width: 6px; height: 6px; border-radius: 50%; }
.mi-source { font-size: 9px; color: var(--text-muted); margin-top: 8px; opacity: 0.6; }
.mi-htl-scenarios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mi-htl-scenario { background: rgba(0,0,0,0.02); border-radius: 10px; padding: 14px; border-top: 3px solid; }
.mi-htl-sc-head { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.mi-htl-sc-icon { font-size: 18px; }
.mi-htl-sc-label { font-family: 'Urbanist', sans-serif; font-size: 13px; font-weight: 600; color: var(--text-main); }
.mi-htl-rooms-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-bottom: 8px; }
.mi-htl-room { height: 28px; border-radius: 4px; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.mi-htl-room-filled { opacity: 0.9; }
.mi-htl-room-empty { background: rgba(0,0,0,0.04); }
.mi-htl-room-icon { font-size: 12px; }
.mi-htl-sc-occ { text-align: center; font-size: 11px; color: var(--text-muted); font-family: 'Inter', sans-serif; margin-bottom: 8px; }
.mi-htl-sc-occ-num { font-family: 'Urbanist', sans-serif; font-size: 20px; font-weight: 700; }
.mi-htl-sc-financials { display: flex; flex-direction: column; gap: 3px; }
.mi-htl-sc-row { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-muted); font-family: 'Inter', sans-serif; padding: 2px 0; border-bottom: 1px solid rgba(0,0,0,0.03); }
.mi-htl-sc-profit { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; font-family: 'Urbanist', sans-serif; padding-top: 6px; margin-top: 2px; border-top: 1px solid rgba(0,0,0,0.06); }
.mi-htl-insight { font-size: 10px; color: var(--text-muted); margin-top: 10px; line-height: 1.5; font-family: 'Inter', sans-serif; font-style: italic; padding: 8px 10px; background: rgba(0,0,0,0.015); border-radius: 8px; }
.mi-htl-revenue-bar { display: flex; height: 42px; border-radius: 8px; overflow: hidden; gap: 2px; margin-bottom: 12px; }
.mi-htl-rev-seg { display: flex; align-items: center; justify-content: center; min-width: 0; transition: flex 0.5s; }
.mi-htl-rev-seg-label { font-size: 10px; font-weight: 600; color: #fff; font-family: 'Urbanist', sans-serif; white-space: nowrap; overflow: hidden; }
.mi-htl-revenue-legend { display: flex; flex-direction: column; gap: 4px; }
.mi-htl-rev-leg { display: flex; align-items: center; gap: 6px; font-size: 11px; font-family: 'Inter', sans-serif; }
.mi-htl-rev-leg-name { flex: 1; color: var(--text-main); font-weight: 500; }
.mi-htl-rev-leg-pct { font-weight: 700; font-family: 'Urbanist', sans-serif; color: var(--text-main); width: 32px; }
.mi-htl-rev-leg-margin { font-size: 9px; color: var(--text-muted); }
.mi-htl-fees { display: flex; flex-direction: column; gap: 14px; }
.mi-htl-fee-group { padding: 12px; background: rgba(0,0,0,0.02); border-radius: 10px; }
.mi-htl-fee-group-gop { background: rgba(16,185,129,0.04); }
.mi-htl-fee-group-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; color: var(--text-muted); margin-bottom: 8px; font-family: 'Inter', sans-serif; }
.mi-htl-fee-items { display: flex; flex-direction: column; gap: 6px; }
.mi-htl-fee-item { display: flex; align-items: center; gap: 8px; }
.mi-htl-fee-bar { height: 6px; border-radius: 3px; flex-shrink: 0; }
.mi-htl-fee-name { flex: 1; font-size: 11px; color: var(--text-main); font-family: 'Inter', sans-serif; }
.mi-htl-fee-pct { font-size: 12px; font-weight: 700; font-family: 'Urbanist', sans-serif; color: var(--text-main); }
.mi-htl-fee-total { font-size: 11px; color: var(--text-muted); margin-top: 6px; font-family: 'Inter', sans-serif; }
.mi-htl-fee-note { font-size: 9px; color: #10b981; margin-top: 4px; font-family: 'Inter', sans-serif; }
.mi-htl-season { display: flex; gap: 3px; align-items: flex-end; height: 120px; padding: 0 2px; }
.mi-htl-month { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; }
.mi-htl-month-bar-wrap { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.mi-htl-month-bar { width: 100%; border-radius: 4px 4px 0 0; display: flex; align-items: flex-start; justify-content: center; min-height: 8px; transition: height 0.5s; }
.mi-htl-month-occ { font-size: 7px; font-weight: 700; color: #fff; font-family: 'Urbanist', sans-serif; padding-top: 2px; }
.mi-htl-month-label { font-size: 8px; color: var(--text-muted); font-family: 'Inter', sans-serif; margin-top: 3px; }
.mi-htl-month-tag { font-size: 8px; }
.mi-htl-season-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; font-size: 9px; color: var(--text-muted); font-family: 'Inter', sans-serif; }
body.dark-theme .mi-htl-scenario { background: rgba(255,255,255,0.03); }
body.dark-theme .mi-htl-room-empty { background: rgba(255,255,255,0.06); }
body.dark-theme .mi-htl-sc-row { border-bottom-color: rgba(255,255,255,0.04); }
body.dark-theme .mi-htl-sc-profit { border-top-color: rgba(255,255,255,0.06); }
body.dark-theme .mi-htl-fee-group { background: rgba(255,255,255,0.03); }
body.dark-theme .mi-htl-fee-group-gop { background: rgba(16,185,129,0.08); }
body.dark-theme .mi-htl-insight { background: rgba(255,255,255,0.03); }
body.dark-theme .mi-htl-sc-label, body.dark-theme .mi-htl-fee-name, body.dark-theme .mi-htl-fee-pct, body.dark-theme .mi-htl-rev-leg-name { color: #fff; }
.mi-edu-curve { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mi-edu-year { background: rgba(0,0,0,0.02); border-radius: 10px; padding: 14px; text-align: center; }
.mi-edu-year-head { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 10px; }
.mi-edu-year-icon { font-size: 18px; }
.mi-edu-year-name { font-family: 'Urbanist', sans-serif; font-size: 13px; font-weight: 600; color: var(--text-main); }
.mi-edu-fill-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mi-edu-fill-bar .mi-bar-track { flex: 1; }
.mi-edu-fill-pct { font-size: 11px; font-weight: 600; font-family: 'Urbanist', sans-serif; min-width: 50px; }
.mi-edu-year-stats { display: flex; justify-content: space-around; gap: 4px; }
.mi-edu-stat { display: flex; flex-direction: column; }
.mi-edu-stat-num { font-family: 'Urbanist', sans-serif; font-size: 15px; font-weight: 700; color: var(--text-main); }
.mi-edu-stat-label { font-size: 8px; color: var(--text-muted); font-family: 'Inter', sans-serif; }
.mi-edu-insight { font-size: 10px; color: var(--text-muted); margin-top: 10px; line-height: 1.5; font-family: 'Inter', sans-serif; font-style: italic; padding: 8px 10px; background: rgba(0,0,0,0.015); border-radius: 8px; }
.mi-edu-seats { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; justify-content: center; }
.mi-edu-seat { width: 18px; height: 18px; border-radius: 3px; transition: all 0.3s; }
.mi-edu-seat-cost { background: #fca5a5; }
.mi-edu-seat-profit { background: #6ee7b7; }
.mi-edu-classroom-legend { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.mi-edu-cl-leg { font-size: 10px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; font-family: 'Inter', sans-serif; }
.mi-edu-seat-dot { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; display: inline-block; }
.mi-edu-breakeven-bar { padding: 10px 12px; background: rgba(0,0,0,0.02); border-radius: 8px; }
.mi-edu-be-label { font-size: 11px; color: var(--text-main); margin-bottom: 6px; font-family: 'Inter', sans-serif; }
.mi-edu-be-labels { display: flex; justify-content: space-between; font-size: 9px; margin-top: 4px; font-family: 'Inter', sans-serif; }
body.dark-theme .mi-edu-year { background: rgba(255,255,255,0.03); }
body.dark-theme .mi-edu-seat-cost { background: #991b1b; }
body.dark-theme .mi-edu-seat-profit { background: #065f46; }
body.dark-theme .mi-edu-breakeven-bar { background: rgba(255,255,255,0.03); }
body.dark-theme .mi-edu-insight { background: rgba(255,255,255,0.03); }
body.dark-theme .mi-edu-year-name, body.dark-theme .mi-edu-stat-num { color: #fff; }
.mi-fnb-plate { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.mi-fnb-ring-wrap { flex-shrink: 0; }
.mi-fnb-ring { width: 150px; height: 150px; }
.mi-fnb-ring-pct { font-family: 'Urbanist', sans-serif; font-size: 24px; font-weight: 700; fill: var(--text-main, #1a1a1a); }
.mi-fnb-ring-label { font-family: 'Inter', sans-serif; font-size: 9px; fill: var(--text-muted, #888); }
.mi-fnb-legend { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 200px; }
.mi-fnb-leg-item { display: flex; align-items: center; gap: 6px; font-size: 11px; font-family: 'Inter', sans-serif; padding: 3px 0; }
.mi-fnb-leg-dot { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.mi-fnb-leg-name { flex: 1; color: var(--text-main); font-weight: 500; }
.mi-fnb-leg-pct { font-weight: 600; font-family: 'Urbanist', sans-serif; width: 32px; text-align: right; color: var(--text-main); }
.mi-fnb-leg-amt { color: var(--text-muted); width: 40px; text-align: right; font-size: 10px; }
.mi-fnb-channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mi-fnb-channel { background: rgba(0,0,0,0.02); border-radius: 10px; padding: 14px; border-top: 3px solid; }
.mi-fnb-ch-head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.mi-fnb-ch-icon { font-size: 18px; }
.mi-fnb-ch-name { font-family: 'Urbanist', sans-serif; font-size: 13px; font-weight: 600; color: var(--text-main); }
.mi-fnb-ch-revenue { font-family: 'Urbanist', sans-serif; font-size: 22px; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.mi-fnb-ch-costs { display: flex; flex-direction: column; gap: 3px; margin-bottom: 8px; }
.mi-fnb-ch-cost { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-muted); font-family: 'Inter', sans-serif; padding: 2px 0; border-bottom: 1px solid rgba(0,0,0,0.03); }
.mi-fnb-ch-cost-hl { color: #ef4444; font-weight: 600; background: rgba(239,68,68,0.05); padding: 3px 6px; border-radius: 4px; border-bottom: none; }
.mi-fnb-ch-profit { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; font-family: 'Urbanist', sans-serif; padding-top: 6px; border-top: 1px solid rgba(0,0,0,0.06); }
.mi-fnb-ch-insight { font-size: 10px; color: var(--text-muted); margin-top: 10px; line-height: 1.5; font-family: 'Inter', sans-serif; font-style: italic; padding: 8px 10px; background: rgba(0,0,0,0.015); border-radius: 8px; }
.mi-fnb-menu { display: flex; flex-direction: column; gap: 8px; }
.mi-fnb-menu-item { padding: 8px 10px; background: rgba(0,0,0,0.015); border-radius: 8px; }
.mi-fnb-menu-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.mi-fnb-menu-name { font-family: 'Urbanist', sans-serif; font-size: 12px; font-weight: 600; color: var(--text-main); }
.mi-fnb-menu-stars { font-size: 10px; }
.mi-fnb-menu-bar-row { display: flex; align-items: center; gap: 6px; }
.mi-fnb-menu-pct { font-size: 12px; font-weight: 700; font-family: 'Urbanist', sans-serif; min-width: 35px; text-align: right; }
.mi-fnb-menu-share { font-size: 9px; color: var(--text-muted); font-family: 'Inter', sans-serif; }
body.dark-theme .mi-fnb-channel { background: rgba(255,255,255,0.03); }
body.dark-theme .mi-fnb-ch-cost { border-bottom-color: rgba(255,255,255,0.04); }
body.dark-theme .mi-fnb-ch-profit { border-top-color: rgba(255,255,255,0.06); }
body.dark-theme .mi-fnb-ch-insight { background: rgba(255,255,255,0.03); }
body.dark-theme .mi-fnb-menu-item { background: rgba(255,255,255,0.03); }
body.dark-theme .mi-fnb-ring-pct { fill: #fff; }
body.dark-theme .mi-fnb-ch-revenue, body.dark-theme .mi-fnb-ch-name, body.dark-theme .mi-fnb-menu-name { color: #fff; }
.mi-qc-order { background: rgba(0,0,0,0.02); border-radius: 12px; padding: 16px; }
.mi-qc-order-header { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.mi-qc-order-tag { font-size: 10px; color: var(--text-muted); font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 0.5px; }
.mi-qc-order-amount { font-family: 'Urbanist', sans-serif; font-size: 28px; font-weight: 700; color: var(--text-main); }
.mi-qc-flow { display: flex; height: 52px; border-radius: 8px; overflow: hidden; gap: 2px; }
.mi-qc-flow-seg { transition: width 0.8s cubic-bezier(0.22,1,0.36,1); overflow: hidden; min-width: 0; }
.mi-qc-seg-inner { height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 8px; }
.mi-qc-seg-label { font-size: 8px; font-family: 'Inter', sans-serif; opacity: 0.8; white-space: nowrap; }
.mi-qc-seg-val { font-size: 12px; font-weight: 700; font-family: 'Urbanist', sans-serif; white-space: nowrap; }
.mi-qc-seg-product { background: #475569; color: #e2e8f0; }
.mi-qc-seg-commission { background: #10b981; color: #fff; }
.mi-qc-seg-opex { background: #f59e0b; color: #fff; }
.mi-qc-seg-profit { background: #3b82f6; color: #fff; }
.mi-qc-flow-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; font-size: 9px; color: var(--text-muted); font-family: 'Inter', sans-serif; }
.mi-qc-profit-callout { margin-top: 14px; padding: 10px 14px; background: rgba(16,185,129,0.08); border-radius: 8px; display: flex; justify-content: space-between; align-items: center; }
.mi-qc-profit-label { font-size: 12px; color: var(--text-muted); font-family: 'Inter', sans-serif; }
.mi-qc-profit-amount { font-family: 'Urbanist', sans-serif; font-size: 22px; font-weight: 700; color: #10b981; }
.mi-qc-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.mi-qc-tier { background: rgba(0,0,0,0.02); border-radius: 10px; padding: 14px; border-top: 3px solid; }
.mi-qc-tier-head { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.mi-qc-tier-icon { font-size: 20px; }
.mi-qc-tier-name { font-family: 'Urbanist', sans-serif; font-size: 13px; font-weight: 600; color: var(--text-main); }
.mi-qc-tier-desc { font-size: 9px; color: var(--text-muted); }
.mi-qc-tier-stat { text-align: center; margin: 10px 0; }
.mi-qc-tier-orders { font-family: 'Urbanist', sans-serif; font-size: 32px; font-weight: 700; color: var(--text-main); }
.mi-qc-tier-unit { font-size: 10px; color: var(--text-muted); display: block; }
.mi-qc-tier-row { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); padding: 3px 0; font-family: 'Inter', sans-serif; border-bottom: 1px solid rgba(0,0,0,0.03); }
.mi-qc-tier-profit { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; padding-top: 6px; margin-top: 4px; font-family: 'Urbanist', sans-serif; }
.mi-qc-investment { background: rgba(0,0,0,0.02); border-radius: 12px; padding: 16px; }
.mi-qc-inv-bar { display: flex; gap: 3px; border-radius: 8px; overflow: hidden; margin-bottom: 12px; }
.mi-qc-inv-seg { padding: 12px; min-height: 70px; display: flex; flex-direction: column; justify-content: center; }
.mi-qc-inv-refundable { background: #10b981; color: #fff; }
.mi-qc-inv-capex { background: #ef4444; color: #fff; }
.mi-qc-inv-seg-label { font-size: 9px; opacity: 0.8; font-family: 'Inter', sans-serif; }
.mi-qc-inv-seg-val { font-family: 'Urbanist', sans-serif; font-size: 18px; font-weight: 700; }
.mi-qc-inv-seg-tag { font-size: 8px; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.7; margin-top: 2px; }
.mi-qc-inv-total, .mi-qc-inv-breakeven { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); padding: 4px 0; font-family: 'Inter', sans-serif; }
.mi-qc-inv-total-val { font-weight: 700; color: var(--text-main); font-family: 'Urbanist', sans-serif; }
.mi-qc-inv-be-val { font-weight: 700; color: #f59e0b; font-family: 'Urbanist', sans-serif; }
.mi-qc-risks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.mi-qc-risk-card { display: flex; gap: 10px; padding: 10px 12px; background: rgba(239,68,68,0.04); border-radius: 10px; border-left: 2px solid #ef4444; }
.mi-qc-risk-icon { font-size: 18px; flex-shrink: 0; }
body.dark-theme .mi-qc-order, body.dark-theme .mi-qc-tier, body.dark-theme .mi-qc-investment { background: rgba(255,255,255,0.03); }
body.dark-theme .mi-qc-tier-row { border-bottom-color: rgba(255,255,255,0.04); }
body.dark-theme .mi-qc-profit-callout { background: rgba(16,185,129,0.12); }
body.dark-theme .mi-qc-risk-card { background: rgba(239,68,68,0.08); }
body.dark-theme .mi-qc-order-amount, body.dark-theme .mi-qc-tier-name, body.dark-theme .mi-qc-tier-orders, body.dark-theme .mi-qc-inv-total-val { color: #fff; }
.mi-waterfall-apparel { display: flex; flex-direction: column; gap: 6px; }
.mi-wf-step { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.mi-wf-step-bar { flex: 1; }
.mi-wf-step-info { display: flex; align-items: baseline; gap: 6px; min-width: 120px; flex-shrink: 0; }
.mi-wf-step-pct { font-family: 'Urbanist', sans-serif; font-size: 16px; font-weight: 700; min-width: 42px; }
.mi-wf-step-label { font-size: 11px; font-weight: 600; color: var(--text-main); font-family: 'Urbanist', sans-serif; }
.mi-wf-step-desc { font-size: 9px; color: var(--text-muted); min-width: 160px; flex-shrink: 0; font-family: 'Inter', sans-serif; }
.mi-policies { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.mi-policy { padding: 8px 12px; border-left: 3px solid; border-radius: 0 8px 8px 0; background: rgba(0,0,0,0.015); flex: 1; min-width: 180px; }
.mi-policy-title { font-size: 10px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.3px; font-family: 'Inter', sans-serif; }
.mi-policy-desc { font-size: 11px; color: var(--text-main); margin-top: 2px; font-family: 'Inter', sans-serif; }
.mi-incentives { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.mi-incentive-card { display: flex; gap: 10px; padding: 10px 12px; background: rgba(0,0,0,0.02); border-radius: 10px; transition: all 0.2s; }
.mi-incentive-card:hover { background: rgba(16,185,129,0.04); transform: translateY(-1px); }
.mi-inc-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.mi-inc-body { flex: 1; }
.mi-inc-title { font-family: 'Urbanist', sans-serif; font-size: 12px; font-weight: 600; color: var(--text-main); }
.mi-inc-value { font-size: 11px; color: #10b981; font-weight: 600; margin-top: 2px; font-family: 'Inter', sans-serif; }
.mi-inc-desc { font-size: 10px; color: var(--text-muted); margin-top: 2px; line-height: 1.4; font-family: 'Inter', sans-serif; }
.mi-liq-big-lost { color: #94a3b8; font-size: 18px; text-decoration: line-through; text-decoration-color: rgba(239,68,68,0.4); }
.mi-liq-label { font-size: 9px; color: var(--text-muted); font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 0.3px; }
.mi-liq-gauge { text-align: center; }
.mi-liq-pct { font-family: 'Urbanist', sans-serif; font-size: 28px; font-weight: 700; display: block; }
.mi-liq-risk { font-size: 9px; color: var(--text-muted); font-family: 'Inter', sans-serif; }
.mi-liq-breakdown { display: flex; flex-direction: column; gap: 6px; }
.mi-liq-comp { padding: 6px 8px; background: rgba(0,0,0,0.015); border-radius: 6px; }
.mi-liq-comp-head { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.mi-liq-comp-icon { font-size: 12px; }
.mi-liq-comp-name { flex: 1; font-size: 11px; font-weight: 500; color: var(--text-main); font-family: 'Inter', sans-serif; }
.mi-liq-comp-amt { font-size: 10px; color: var(--text-muted); font-family: 'Urbanist', sans-serif; }
.mi-liq-comp-bar-row { display: flex; align-items: center; gap: 6px; }
.mi-liq-comp-bar-row .mi-bar-track { flex: 1; }
.mi-liq-comp-rec { font-size: 9px; font-weight: 600; font-family: 'Urbanist', sans-serif; white-space: nowrap; min-width: 70px; }
.mi-liq-note { font-size: 8px; color: var(--text-muted); margin-top: 10px; line-height: 1.4; font-family: 'Inter', sans-serif; opacity: 0.7; }
body.dark-theme .mi-liq-comp { background: rgba(255,255,255,0.03); }
body.dark-theme .mi-liq-meter-lost { background: repeating-linear-gradient(45deg, rgba(239,68,68,0.2), rgba(239,68,68,0.2) 4px, rgba(239,68,68,0.08) 4px, rgba(239,68,68,0.08) 8px); }
body.dark-theme .mi-wrap {
      background: linear-gradient(135deg, rgba(20,184,166,0.10), rgba(8,145,178,0.07) 50%, rgba(99,102,241,0.07));
      border-color: rgba(20,184,166,0.28);
      box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  }
body.dark-theme .mi-wrap::before { background: radial-gradient(circle, rgba(20,184,166,0.28), transparent 70%); }
body.dark-theme .mi-wrap::after { background: radial-gradient(circle, rgba(99,102,241,0.20), transparent 70%); }
body.dark-theme .mi-stream, body.dark-theme .mi-incentive-card { background: rgba(255,255,255,0.03); }
body.dark-theme .mi-incentive-card:hover { background: rgba(16,185,129,0.08); }
body.dark-theme .mi-bar-track { background: rgba(255,255,255,0.06); }
body.dark-theme .mi-econ-card { background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(59,130,246,0.05)); border-color: rgba(16,185,129,0.12); }
body.dark-theme .mi-econ-card:hover { border-color: rgba(16,185,129,0.25); box-shadow: 0 4px 20px rgba(16,185,129,0.1); }
body.dark-theme .mi-policy { background: rgba(255,255,255,0.03); }
body.dark-theme .mi-model-row { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.04); }
body.dark-theme .mi-model-row:hover { background: rgba(16,185,129,0.06); border-color: rgba(16,185,129,0.1); }
body.dark-theme .mi-title, body.dark-theme .mi-stream-name, body.dark-theme .mi-model-name, body.dark-theme .mi-econ-val, body.dark-theme .mi-inc-title, body.dark-theme .mi-wf-step-label, body.dark-theme .mi-policy-desc { color: #fff; }
body.dark-theme .mi-gauge-num { fill: #fff; }
.fc-wrap { background: var(--card, #fff); border-radius: 16px; border: 1px solid rgba(0,0,0,0.06); padding: 20px; }
.fc-head { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px; }
.fc-head-title { font-family: 'Urbanist', sans-serif; font-size: 16px; font-weight: 600; color: var(--text-main); }
.fc-head-sub { font-size: 12px; color: var(--text-muted, #64748b); }
.fc-search { display: flex; gap: 8px; margin-bottom: 16px; }
.fc-inp { flex: 1; padding: 10px 14px; border: 1.5px solid rgba(0,0,0,0.08); border-radius: 10px; font-size: 13px; font-family: 'Inter', sans-serif; outline: none; background: var(--bg, #FCFBF8); box-sizing: border-box; min-width: 0; }
.fc-inp:focus { border-color: #10b981; }
.fc-find { padding: 10px 20px; background: #1e293b; color: #fff; border: none; border-radius: 10px; font-size: 12px; font-weight: 600; font-family: 'Urbanist', sans-serif; cursor: pointer; white-space: nowrap; transition: background 0.2s; }
.fc-find:hover { background: #10b981; }
.fc-split { display: flex; gap: 16px; min-height: 240px; }
.fc-left { flex: 1; background: rgba(0,0,0,0.02); border-radius: 14px; padding: 20px; position: relative; overflow: hidden; }
.fc-card-enter { opacity: 0; transform: translateY(12px); }
.fc-card-visible { opacity: 1; transform: translateY(0); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.fc-card-exit { opacity: 0; transform: translateY(-12px); transition: all 0.25s ease-in; }
.fc-counter { font-size: 11px; color: var(--text-muted); margin-bottom: 10px; font-family: 'Inter', sans-serif; }
.fc-cname { font-family: 'Urbanist', sans-serif; font-size: 15px; font-weight: 600; color: var(--text-main); margin-bottom: 4px; }
.fc-status { font-size: 11px; font-weight: 600; margin-left: 6px; }
.fc-caddr { font-size: 11px; color: var(--text-muted); line-height: 1.4; margin-bottom: 10px; }
.fc-crating { font-size: 12px; color: #f59e0b; margin-bottom: 12px; }
.fc-call-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: #10b981; color: #fff; border-radius: 10px; text-decoration: none; font-family: 'Urbanist', sans-serif; font-size: 14px; font-weight: 600; transition: all 0.2s; }
.fc-call-btn:hover { background: #059669; transform: translateY(-1px); }
.fc-dir { display: inline-block; margin-left: 12px; font-size: 11px; color: #3b82f6; text-decoration: none; font-family: 'Inter', sans-serif; }
.fc-dir:hover { text-decoration: underline; }
.fc-right { flex: 1; background: rgba(0,0,0,0.02); border-radius: 14px; padding: 16px; }
.fc-guide-title { font-family: 'Urbanist', sans-serif; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; margin-bottom: 12px; color: var(--text-main); }
.fc-step { display: flex; gap: 10px; padding: 8px 6px; border-radius: 8px; transition: all 0.5s ease; margin-bottom: 2px; }
.fc-snum { width: 22px; height: 22px; border-radius: 50%; background: #1e293b; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; font-family: 'Inter', sans-serif; flex-shrink: 0; margin-top: 1px; transition: all 0.5s ease; }
.fc-stitle { font-family: 'Urbanist', sans-serif; font-size: 12px; font-weight: 600; color: var(--text-main); margin-bottom: 2px; }
.fc-shint { font-size: 11px; color: var(--text-muted); line-height: 1.4; font-family: 'Inter', sans-serif; }
.fc-step-glow { background: rgba(16,185,129,0.08); box-shadow: 0 0 12px rgba(16,185,129,0.15); }
.fc-step-glow .fc-snum { background: #10b981; box-shadow: 0 0 8px rgba(16,185,129,0.5); }
.fc-step-glow .fc-stitle { color: #059669; }
.fc-nav { margin-top: 12px; text-align: center; }
.fc-next { padding: 10px 24px; background: transparent; color: var(--text-main); border: 1.5px solid rgba(0,0,0,0.1); border-radius: 10px; font-size: 12px; font-weight: 600; font-family: 'Urbanist', sans-serif; cursor: pointer; transition: all 0.2s; }
.fc-next:hover { border-color: #10b981; color: #10b981; }
.fc-done { text-align: center; padding: 30px 10px; }
.fc-done-check { width: 36px; height: 36px; border-radius: 50%; background: #10b981; color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }
.fc-done-text { font-family: 'Urbanist', sans-serif; font-size: 14px; font-weight: 600; color: var(--text-main); }
.fc-done-sub { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.fc-load { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 24px; color: #64748b; font-size: 13px; }
.fc-spin { width: 18px; height: 18px; border: 2px solid #e2e8f0; border-top-color: #10b981; border-radius: 50%; animation: tc-spin 0.7s linear infinite; }
.fc-note { font-size: 10px; color: #94a3b8; margin-top: 12px; text-align: center; }
body.dark-theme .fc-wrap { background: rgba(0,0,0,0.3); border-color: rgba(255,255,255,0.08); }
body.dark-theme .fc-inp { background: rgba(0,0,0,0.2); border-color: rgba(255,255,255,0.1); color: #fff; }
body.dark-theme .fc-left, body.dark-theme .fc-right { background: rgba(255,255,255,0.03); }
body.dark-theme .fc-cname, body.dark-theme .fc-stitle, body.dark-theme .fc-head-title { color: #fff; }
body.dark-theme .fc-step-glow { background: rgba(16,185,129,0.1); box-shadow: 0 0 16px rgba(16,185,129,0.2); }
body.dark-theme .fc-next { border-color: rgba(255,255,255,0.15); color: #cbd5e1; }
body.dark-theme .fc-done-text { color: #fff; }
.tc-outlet-card { display: flex; gap: 12px; padding: 12px; border-radius: 10px; border: 1px solid rgba(0,0,0,0.04); margin-bottom: 8px; transition: all 0.2s; opacity: 0; animation: tc-fadeUp 0.4s ease forwards; }
.tc-outlet-card:hover { background: rgba(16,185,129,0.03); border-color: rgba(16,185,129,0.15); }
.tc-outlet-num { width: 28px; height: 28px; border-radius: 50%; background: #1e293b; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; font-family: 'Inter', sans-serif; flex-shrink: 0; }
.tc-outlet-info { flex: 1; min-width: 0; }
.tc-outlet-name { font-family: 'Urbanist', sans-serif; font-size: 14px; font-weight: 600; margin-bottom: 2px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tc-outlet-addr { font-size: 12px; color: #64748b; line-height: 1.4; margin-bottom: 6px; }
.tc-outlet-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 12px; }
.tc-outlet-dist { font-weight: 700; color: #1e293b; background: rgba(16,185,129,0.1); padding: 2px 8px; border-radius: 6px; }
.tc-outlet-rating { color: #f59e0b; }
.tc-outlet-link { color: #3b82f6; text-decoration: none; font-weight: 500; font-family: 'Inter', sans-serif; font-size: 11px; }
.tc-outlet-link:hover { text-decoration: underline; }
.tc-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 32px; color: #64748b; font-size: 13px; }
.tc-spinner { width: 20px; height: 20px; border: 2px solid #e2e8f0; border-top-color: #10b981; border-radius: 50%; animation: tc-spin 0.7s linear infinite; }
body.dark-theme .tc-wrapper { background: rgba(0,0,0,0.3); border-color: rgba(255,255,255,0.1); }
body.dark-theme .tc-input { background: rgba(0,0,0,0.2); border-color: rgba(255,255,255,0.1); color: #fff; }
body.dark-theme .tc-outlet-card { border-color: rgba(255,255,255,0.06); }
body.dark-theme .tc-outlet-card:hover { background: rgba(255,255,255,0.04); }
body.dark-theme .tc-outlet-name { color: #fff; }
body.dark-theme .tc-outlet-dist { background: rgba(16,185,129,0.2); color: #10b981; }
body:not(.pro-unlocked) .premium-master-container .lv-wrap,
  body:not(.pro-unlocked) .premium-master-container .mi-wrap { background: none !important; border: none !important; box-shadow: none !important; padding: 0; }
body:not(.pro-unlocked) .premium-master-container .lv-wrap::before,
  body:not(.pro-unlocked) .premium-master-container .mi-wrap::before,
  body:not(.pro-unlocked) .premium-master-container .mi-wrap::after { display: none !important; }
body:not(.pro-unlocked) .premium-master-container .lv-section { background: transparent; border: none; }
body:not(.pro-unlocked) .bh-wrapper { filter: blur(7px); opacity: 0.5; user-select: none; pointer-events: none; }
