@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;600&display=swap');

/* ── Shared structure (both themes) ─────────────────────────── */
.lookup-header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; min-height:44px; margin-bottom:20px; }
.lookup-header .product-name { margin:0; font-size:1.5rem; font-weight:800; letter-spacing:-.045em; line-height:1.2; }
.product-name a { color:inherit; text-decoration:none; display:inline-flex; align-items:center; gap:12px; }
.logo-mark { width:38px; height:38px; border-radius:11px; background:linear-gradient(135deg,#6366f1,#22d3ee); display:inline-flex; align-items:center; justify-content:center; font-size:19px; flex-shrink:0; }
.lookup-datasets { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:14px; }
.lookup-datasets .db-selector { min-width:0; max-width:100%; overflow-x:auto; }
.category-emoji { font-size:1rem; line-height:1; flex-shrink:0; }
.offer-details { display:flex; align-items:center; gap:14px; flex:1; min-width:0; }
.offer-price { display:flex; align-items:baseline; gap:5px; white-space:nowrap; }
.offer-price strong { font-size:1.3rem; }
.offer-price span { color:#94a3b8; font-size:.75rem; }
.paywall-banner.hidden, .cred-pills.hidden, .dist-pills.hidden { display:none; }
.terms-notice { color:#94a3b8; font-size:.8rem; line-height:1.6; }
.terms-notice a, .terms-link { color:#a5b4fc; text-decoration:underline; text-underline-offset:3px; }
.site-footer { position:relative; display:flex; justify-content:space-between; flex-wrap:wrap; gap:20px; max-width:1152px; margin:auto; padding:24px 16px; color:#94a3b8; font-size:.75rem; }
.site-footer a { color:#a5b4fc; text-decoration:none; }
.theme-choice { display:flex; align-items:flex-start; gap:10px; padding:16px; cursor:pointer; border:1px solid rgba(255,255,255,.1); border-radius:12px; background:rgba(255,255,255,.04); transition:all .15s; }
.theme-choice:hover { border-color:rgba(99,102,241,.4); }
.theme-choice:has(input:checked) { border-color:rgba(99,102,241,.6); background:rgba(99,102,241,.1); box-shadow:0 0 0 1px rgba(99,102,241,.4), 0 0 20px rgba(99,102,241,.15); }
.theme-choice input { accent-color:#6366f1; margin-top:3px; }
.theme-choice strong, .theme-choice small { display:block; }
.theme-choice small { color:#94a3b8; margin-top:5px; font-size:.75rem; line-height:1.5; }
.offer-lock { width:36px; height:36px; border-radius:9px; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:18px; background:rgba(245,158,11,.2); }
.landing-glyph { display:inline-block; font-size:3rem; margin-bottom:12px; opacity:.6; }
.landing-hints { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:18px; }
.landing-hint { padding:6px 13px; border-radius:9999px; font-size:.75rem; font-weight:600; color:#a5b4fc; background:rgba(99,102,241,.1); border:1px solid rgba(99,102,241,.3); cursor:pointer; }
#landing-state h2 { font-size:1.25rem; font-weight:700; color:#e2e8f0; margin-bottom:6px; }
.theme-classic .wordmark-text { background:linear-gradient(90deg,#e2e8f0,#94a3b8); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.search-submit { display:inline-flex; align-items:center; gap:8px; flex-shrink:0; padding:9px 18px; border-radius:10px; border:0; cursor:pointer; background:linear-gradient(135deg,#6366f1,#22d3ee); color:#060b14; font-weight:700; font-size:.82rem; transition:all .15s; }
.search-submit:hover { box-shadow:0 0 20px rgba(99,102,241,.5); transform:translateY(-1px); }

/* ══════════════════════════════════════════════════════════════
   MODERN — deep-space navy, aurora glows, neon accents.
   ══════════════════════════════════════════════════════════════ */
.theme-modern {
  color-scheme:dark;
  --bg:#04070f;
  --indigo:#6366f1;
  --violet:#8b5cf6;
  --cyan:#22d3ee;
  --fuchsia:#e879f9;
  --amber:#f59e0b;
  --emerald:#10b981;
  --rose:#f43f5e;
  --ink:#f1f5f9;
  --muted:#94a3b8;
  --quiet:#64748b;
  --glass:rgba(13,20,38,.72);
  --glass-line:rgba(255,255,255,.08);
  --grad:linear-gradient(135deg,#6366f1 0%,#a855f7 50%,#22d3ee 100%);
}
.theme-modern body {
  background:var(--bg);
  color:var(--ink);
  font-family:Inter,system-ui,-apple-system,sans-serif;
  -webkit-font-smoothing:antialiased;
  position:relative;
}
/* Ambient aurora behind everything */
.theme-modern body::before {
  content:''; position:fixed; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(ellipse 70% 45% at 15% 0%, rgba(99,102,241,.22) 0%, transparent 60%),
    radial-gradient(ellipse 55% 40% at 85% 10%, rgba(34,211,238,.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 35% at 60% 100%, rgba(217,70,239,.10) 0%, transparent 60%);
  display:block;
}
.theme-modern body::after {
  content:''; position:fixed; inset:0; z-index:0; pointer-events:none; opacity:.35;
  background-image:linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size:48px 48px;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 100%);
  -webkit-mask-image:radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 100%);
}
.theme-modern body > * { position:relative; z-index:1; }
.theme-modern :is(input,select,button,a):focus-visible { outline:2px solid var(--cyan); outline-offset:3px; border-radius:6px; }
.theme-modern :is(input[type="checkbox"],input[type="radio"]) { accent-color:var(--indigo); }
.theme-modern ::selection { background:rgba(99,102,241,.45); color:#fff; }
.theme-modern ::-webkit-scrollbar-thumb { background:linear-gradient(#6366f1,#22d3ee); border-radius:5px; }

/* ── Hero / header ─────────────────────────────────────────── */
.theme-modern .hero { background:transparent; border-bottom:0; overflow:visible; padding-top:22px; padding-bottom:28px; }
.theme-modern .hero::before { display:none; }
.theme-modern .lookup-header { margin-bottom:26px; }
.theme-modern .lookup-header .product-name { font-size:1.6rem; font-weight:800; letter-spacing:-.04em; }
.theme-modern .product-name a { color:#fff; }
.theme-modern .product-name .wordmark-text { background:linear-gradient(90deg,#fff 0%,#c7d2fe 50%,#67e8f9 100%); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.theme-modern .wordmark-domain { color:#67e8f9; font-weight:600; opacity:.9; }
.theme-modern .logo-mark { box-shadow:0 0 0 1px rgba(255,255,255,.12) inset, 0 6px 22px rgba(99,102,241,.55), 0 0 40px rgba(34,211,238,.25); }
.theme-modern .auth-btn { padding:9px 17px; border-radius:10px; font-size:.8rem; font-weight:650; }
.theme-modern .auth-btn.login { background:rgba(255,255,255,.05); border-color:rgba(255,255,255,.12); color:#cbd5e1; backdrop-filter:blur(8px); }
.theme-modern .auth-btn.login:hover { background:rgba(255,255,255,.1); border-color:rgba(99,102,241,.5); color:#fff; }
.theme-modern .auth-btn.signup { background:var(--grad); color:#fff; border-color:transparent; box-shadow:0 4px 18px rgba(99,102,241,.4); text-shadow:0 1px 2px rgba(0,0,0,.25); }
.theme-modern .auth-btn.signup:hover { box-shadow:0 6px 28px rgba(139,92,246,.6), 0 0 0 1px rgba(255,255,255,.2) inset; transform:translateY(-1px); color:#fff; }
.theme-modern .user-pill { background:rgba(99,102,241,.15); border-color:rgba(99,102,241,.4); color:#e0e7ff; box-shadow:0 0 16px rgba(99,102,241,.15); max-width:260px; overflow:hidden; white-space:nowrap; }
.theme-modern .user-pill .role-tag { background:linear-gradient(135deg,#22d3ee,#6366f1); color:#fff; }

/* ── Search console ────────────────────────────────────────── */
.theme-modern .search-console {
  position:relative; padding:26px; border-radius:22px;
  background:var(--glass);
  border:1px solid transparent;
  background-clip:padding-box;
  backdrop-filter:blur(18px);
  box-shadow:0 30px 80px rgba(0,0,0,.55), 0 1px 0 rgba(255,255,255,.06) inset;
}
.theme-modern .search-console::before {
  content:''; position:absolute; inset:-1px; z-index:-1; border-radius:inherit;
  background:linear-gradient(135deg, rgba(99,102,241,.7), rgba(168,85,247,.25) 35%, rgba(255,255,255,.06) 60%, rgba(34,211,238,.6));
}
.theme-modern .search-console::after {
  content:''; position:absolute; inset:0; z-index:-1; border-radius:inherit; background:#0a1020; opacity:.92;
}
.theme-modern .lookup-datasets { justify-content:space-between; gap:12px; margin-bottom:18px; }
.theme-modern .lookup-datasets > span { color:#818cf8; font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.14em; }
.theme-modern .db-selector { background:rgba(0,0,0,.35); border:1px solid rgba(255,255,255,.08); border-radius:12px; gap:4px; padding:4px; }
.theme-modern .db-pill { color:#64748b; font-size:.76rem; font-weight:600; padding:6px 14px; border-radius:9px; }
.theme-modern .db-pill:hover:not(.active):not(:disabled) { color:#cbd5e1; background:rgba(255,255,255,.06); }
.theme-modern .db-pill.active { background:linear-gradient(135deg,rgba(99,102,241,.4),rgba(139,92,246,.25)); border-color:rgba(129,140,248,.6); color:#c7d2fe; box-shadow:0 0 16px rgba(99,102,241,.35); }
.theme-modern .db-pill.active[data-db="pre2024"] { background:linear-gradient(135deg,rgba(245,158,11,.32),rgba(234,179,8,.18)); border-color:rgba(251,191,36,.55); color:#fde68a; box-shadow:0 0 16px rgba(245,158,11,.3); }
.theme-modern .db-pill.active[data-db="2026"] { background:linear-gradient(135deg,rgba(34,211,238,.32),rgba(99,102,241,.18)); border-color:rgba(103,232,249,.55); color:#a5f3fc; box-shadow:0 0 16px rgba(34,211,238,.3); }

.theme-modern .search-wrap {
  min-height:66px; margin-bottom:18px; padding:10px 10px 10px 18px; gap:12px; border-radius:16px;
  background:rgba(4,8,18,.8);
  border:1px solid rgba(99,102,241,.35);
  box-shadow:0 0 0 1px rgba(99,102,241,.08), 0 10px 30px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.04);
  transition:border-color .2s, box-shadow .2s;
}
.theme-modern .search-wrap:focus-within { border-color:rgba(129,140,248,.9); box-shadow:0 0 0 4px rgba(99,102,241,.18), 0 0 40px rgba(99,102,241,.35), 0 10px 30px rgba(0,0,0,.4); }
.theme-modern .search-wrap > svg { stroke:#818cf8; width:22px; height:22px; filter:drop-shadow(0 0 6px rgba(99,102,241,.7)); }
.theme-modern #search-input { min-width:0; flex:1; width:auto; color:#fff; font-size:1.1rem; font-weight:500; letter-spacing:-.01em; text-overflow:ellipsis; }
.theme-modern #search-input::placeholder { color:#4b5a75; font-weight:400; }
.theme-modern #clear-btn { background:rgba(255,255,255,.07)!important; border-color:rgba(255,255,255,.12)!important; color:#94a3b8!important; }
.theme-modern #clear-btn:hover { color:#fff!important; border-color:rgba(244,63,94,.5)!important; background:rgba(244,63,94,.15)!important; }
.theme-modern .search-submit { height:44px; padding:0 20px; border-radius:11px; font-size:.82rem; }

/* Category chips — each one owns a color */
.theme-modern .category-filters { gap:8px; margin-bottom:18px; }
.theme-modern .category-filters .pill { padding:8px 15px 8px 11px; gap:8px; font-size:.82rem; font-weight:600; border-radius:9999px; background:rgba(255,255,255,.035); border-color:rgba(255,255,255,.09); color:#94a3b8; transition:all .18s ease; }
.theme-modern .category-filters .pill .category-emoji { filter:saturate(1.15) drop-shadow(0 0 5px rgba(255,255,255,.15)); transition:transform .18s; }
.theme-modern .category-filters .pill:hover { transform:translateY(-1px); color:#f1f5f9; border-color:rgba(255,255,255,.2); background:rgba(255,255,255,.07); }
.theme-modern .category-filters .pill:hover .category-emoji { transform:scale(1.18); }
.theme-modern .pill.active { background:rgba(99,102,241,.22); border-color:rgba(129,140,248,.7); color:#c7d2fe; box-shadow:0 0 18px rgba(99,102,241,.35), inset 0 1px 0 rgba(255,255,255,.1); }
.theme-modern .pill[data-type="pharmacy"].active     { background:rgba(16,185,129,.2);  border-color:rgba(52,211,153,.7);  color:#6ee7b7; box-shadow:0 0 18px rgba(16,185,129,.35); }
.theme-modern .pill[data-type="hospital"].active     { background:rgba(59,130,246,.2);  border-color:rgba(96,165,250,.7);  color:#93c5fd; box-shadow:0 0 18px rgba(59,130,246,.35); }
.theme-modern .pill[data-type="practitioner"].active { background:rgba(139,92,246,.22); border-color:rgba(167,139,250,.7); color:#c4b5fd; box-shadow:0 0 18px rgba(139,92,246,.4); }
.theme-modern .pill[data-type="midlevel"].active     { background:rgba(168,85,247,.22); border-color:rgba(192,132,252,.7); color:#d8b4fe; box-shadow:0 0 18px rgba(168,85,247,.4); }
.theme-modern .pill[data-type="distributor"].active  { background:rgba(245,158,11,.2);  border-color:rgba(251,191,36,.7);  color:#fcd34d; box-shadow:0 0 18px rgba(245,158,11,.35); }
.theme-modern .pill[data-type="teaching"].active     { background:rgba(6,182,212,.2);   border-color:rgba(34,211,238,.7);  color:#67e8f9; box-shadow:0 0 18px rgba(6,182,212,.35); }
.theme-modern .pill[data-type="narcotic"].active     { background:rgba(239,68,68,.2);   border-color:rgba(248,113,113,.7); color:#fca5a5; box-shadow:0 0 18px rgba(239,68,68,.35); }

.theme-modern :is(.cred-pill,.dist-pill) { padding:5px 12px; background:rgba(255,255,255,.03); border-color:rgba(255,255,255,.08); color:#64748b; font-size:.75rem; font-weight:600; }
.theme-modern :is(.cred-pill,.dist-pill):hover { color:#e2e8f0; border-color:rgba(255,255,255,.2); }
.theme-modern .cred-pill.active { background:rgba(139,92,246,.25); border-color:rgba(167,139,250,.7); color:#ddd6fe; box-shadow:0 0 12px rgba(139,92,246,.35); }
.theme-modern .dist-pill.active { background:rgba(245,158,11,.22); border-color:rgba(251,191,36,.7); color:#fde68a; box-shadow:0 0 12px rgba(245,158,11,.3); }
.theme-modern :is(#cred-row,#dist-row) { margin:2px 0 18px; padding:10px 12px; border-radius:12px; background:rgba(0,0,0,.25); border:1px dashed rgba(255,255,255,.08); }
.theme-modern :is(#cred-row,#dist-row) > span { color:#818cf8; font-weight:700; text-transform:uppercase; letter-spacing:.1em; font-size:.65rem; }

.theme-modern .location-filters { padding-top:18px; border-top:1px solid rgba(255,255,255,.07); gap:10px; }
.theme-modern .filter-input { height:40px; background:rgba(4,8,18,.7); border:1px solid rgba(255,255,255,.1); border-radius:10px; color:#e2e8f0; font-size:.82rem; padding:0 12px; color-scheme:dark; transition:all .15s; }
.theme-modern .filter-input:hover { border-color:rgba(255,255,255,.2); }
.theme-modern .filter-input:focus { border-color:rgba(129,140,248,.8); box-shadow:0 0 0 3px rgba(99,102,241,.18); }
.theme-modern .filter-input::placeholder { color:#4b5a75; }
.theme-modern .filter-input option { background:#0f1929; color:#e2e8f0; }
.theme-modern .location-filters label { color:#94a3b8; font-size:.8rem; }
.theme-modern .reset-filters { color:#64748b; }
.theme-modern .reset-filters:hover { color:#fca5a5; border-color:rgba(244,63,94,.35)!important; background:rgba(244,63,94,.08); }

/* ── Stats readout ─────────────────────────────────────────── */
.theme-modern #stats-bar { background:transparent!important; border:0; padding:0 16px 6px; }
.theme-modern #stats-bar > div { gap:8px; }
.theme-modern .stat-chip { padding:6px 13px; border-radius:9999px; background:rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.08); color:#94a3b8; font-size:.74rem; font-weight:500; backdrop-filter:blur(6px); transition:all .15s; }
.theme-modern .stat-chip:hover { border-color:rgba(99,102,241,.45); background:rgba(99,102,241,.08); }
.theme-modern .stat-chip strong { font-family:'JetBrains Mono',ui-monospace,monospace; font-weight:600; font-size:.82rem; background:linear-gradient(90deg,#c7d2fe,#67e8f9); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.theme-modern .stat-chip:first-child { background:linear-gradient(135deg,rgba(99,102,241,.22),rgba(34,211,238,.12)); border-color:rgba(129,140,248,.5); color:#c7d2fe; box-shadow:0 0 14px rgba(99,102,241,.25); }
.theme-modern .stat-chip:first-child strong { background:linear-gradient(90deg,#fff,#a5f3fc); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; font-size:.9rem; }

/* ── Offer banner ──────────────────────────────────────────── */
.theme-modern .lookup-results { padding-top:22px; }
.theme-modern .paywall-banner {
  position:relative; overflow:hidden; margin:0 0 22px; padding:18px 22px; gap:20px; border-radius:18px;
  background:linear-gradient(120deg, rgba(245,158,11,.16) 0%, rgba(99,102,241,.14) 55%, rgba(34,211,238,.12) 100%);
  border:1px solid rgba(251,191,36,.35);
  box-shadow:0 14px 40px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter:blur(12px);
}
.theme-modern .paywall-banner::before { content:''; position:absolute; top:-60%; right:-10%; width:320px; height:320px; border-radius:50%; background:radial-gradient(circle, rgba(251,191,36,.25), transparent 65%); pointer-events:none; }
.theme-modern .paywall-banner.hidden { display:none; }
.theme-modern .offer-lock { width:46px; height:46px; border-radius:13px; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:22px; background:linear-gradient(135deg,rgba(245,158,11,.35),rgba(245,158,11,.12)); border:1px solid rgba(251,191,36,.5); box-shadow:0 0 22px rgba(245,158,11,.35); }
.theme-modern .paywall-banner .text { min-width:0; }
.theme-modern .paywall-banner .offer-copy h4 { color:#fde68a; font-size:.95rem; font-weight:700; margin:0 0 3px; }
.theme-modern .paywall-banner .offer-copy p { color:#cbd5e1; font-size:.8rem; line-height:1.5; }
.theme-modern .paywall-banner .offer-copy .terms-notice { color:#94a3b8; margin-top:5px; font-size:.72rem; }
.theme-modern .paywall-banner .terms-notice a { color:#fcd34d; }
.theme-modern .offer-price strong { font-size:1.9rem; font-weight:800; letter-spacing:-.05em; background:linear-gradient(135deg,#fde68a,#f59e0b); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.theme-modern .offer-price span { color:#a8a29e; font-size:.75rem; font-weight:500; }
.theme-modern .paywall-banner .auth-btn.signup { background:linear-gradient(135deg,#f59e0b,#f43f5e); color:#fff; padding:12px 18px; font-size:.8rem; border-radius:12px; box-shadow:0 6px 22px rgba(245,158,11,.4); }
.theme-modern .paywall-banner .auth-btn.signup:hover { box-shadow:0 8px 32px rgba(244,63,94,.5); }

/* ── Results ───────────────────────────────────────────────── */
.theme-modern #result-count { color:var(--muted); font-size:.82rem; }
.theme-modern #result-count::before { content:''; display:inline-block; width:6px; height:6px; border-radius:50%; margin-right:8px; background:var(--cyan); box-shadow:0 0 8px var(--cyan); vertical-align:middle; }
.theme-modern #results-grid { gap:14px; }
.theme-modern .result-card { background:linear-gradient(145deg, rgba(17,27,46,.85), rgba(8,14,27,.9)); border:1px solid rgba(255,255,255,.08); border-radius:16px; padding:18px 20px; backdrop-filter:blur(8px); box-shadow:0 4px 20px rgba(0,0,0,.3); }
.theme-modern .result-card::before { height:2px; background:linear-gradient(90deg, transparent, rgba(99,102,241,.7), rgba(34,211,238,.6), transparent); opacity:.75; }
.theme-modern .result-card:hover { transform:translateY(-3px); border-color:rgba(129,140,248,.5); box-shadow:0 16px 40px rgba(0,0,0,.5), 0 0 30px rgba(99,102,241,.18); }
.theme-modern .result-card:has(.badge-A)::before { background:linear-gradient(90deg,transparent,#10b981,transparent); }
.theme-modern .result-card:has(.badge-B)::before { background:linear-gradient(90deg,transparent,#3b82f6,transparent); }
.theme-modern .result-card:has(.badge-C)::before { background:linear-gradient(90deg,transparent,#8b5cf6,transparent); }
.theme-modern .result-card:has(.badge-M)::before { background:linear-gradient(90deg,transparent,#a855f7,transparent); }
.theme-modern .result-card:has(.badge-D)::before { background:linear-gradient(90deg,transparent,#06b6d4,transparent); }
.theme-modern .result-card:has(:is(.badge-G,.badge-R,.badge-F,.badge-H,.badge-J,.badge-K,.badge-L))::before { background:linear-gradient(90deg,transparent,#f59e0b,transparent); }
.theme-modern .result-card:has(:is(.badge-N,.badge-P,.badge-S))::before { background:linear-gradient(90deg,transparent,#ef4444,transparent); }
.theme-modern .result-card h3 { color:#f8fafc; font-size:.95rem; font-weight:650; }
.theme-modern .dea-number { font-family:'JetBrains Mono',ui-monospace,monospace; font-size:.8rem; color:#a5b4fc; letter-spacing:.06em; background:rgba(99,102,241,.1); border:1px solid rgba(99,102,241,.25); padding:2px 8px; border-radius:6px; }
.theme-modern .dea-number.censored { color:#475569; background:rgba(255,255,255,.03); border-color:rgba(255,255,255,.06); }
.theme-modern .status-active { box-shadow:0 0 8px #10b981, 0 0 2px #fff; }
.theme-modern .status-inactive { box-shadow:0 0 8px #ef4444; }
.theme-modern .censored-cta { color:#fcd34d; }
.theme-modern .censored-cta:hover { color:#fde68a; text-shadow:0 0 8px rgba(252,211,77,.5); }
.theme-modern .page-btn { border-radius:9px; min-width:34px; min-height:34px; background:rgba(255,255,255,.04); border-color:rgba(255,255,255,.1); }
.theme-modern .page-btn:hover:not(:disabled) { background:rgba(99,102,241,.25); border-color:rgba(129,140,248,.6); color:#e0e7ff; box-shadow:0 0 12px rgba(99,102,241,.3); }
.theme-modern .page-btn.active { background:var(--grad); border-color:transparent; color:#fff; box-shadow:0 4px 14px rgba(99,102,241,.45); }
.theme-modern :is(#pagination-top,#pagination-bottom) { display:flex; flex-wrap:wrap; max-width:100%; row-gap:6px; }
.theme-modern #pagination-top { justify-content:flex-end; }
.theme-modern #landing-state { padding:64px 20px 72px; }
.theme-modern .landing-glyph { display:inline-flex; align-items:center; justify-content:center; width:78px; height:78px; margin-bottom:20px; border-radius:24px; font-size:36px; background:linear-gradient(135deg,rgba(99,102,241,.25),rgba(34,211,238,.12)); border:1px solid rgba(129,140,248,.35); box-shadow:0 0 40px rgba(99,102,241,.3), inset 0 1px 0 rgba(255,255,255,.1); animation:float 4s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.theme-modern #landing-state h2 { font-size:1.35rem; font-weight:800; letter-spacing:-.03em; margin-bottom:8px; background:linear-gradient(90deg,#fff,#c7d2fe,#67e8f9); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.theme-modern #landing-state p { max-width:460px; margin:auto; color:#94a3b8; font-size:.85rem; line-height:1.7; }
.theme-modern .landing-hints { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:22px; }
.theme-modern .landing-hint { padding:6px 13px; border-radius:9999px; font-size:.75rem; font-weight:600; color:#a5b4fc; background:rgba(99,102,241,.1); border:1px solid rgba(99,102,241,.3); cursor:pointer; transition:all .15s; }
.theme-modern .landing-hint:hover { background:rgba(99,102,241,.25); color:#fff; box-shadow:0 0 14px rgba(99,102,241,.35); transform:translateY(-1px); }
.theme-modern #empty-state > div { filter:drop-shadow(0 0 20px rgba(99,102,241,.5)); opacity:.7!important; }
.theme-modern .skeleton { background-image:linear-gradient(90deg, rgba(99,102,241,.08) 25%, rgba(99,102,241,.18) 50%, rgba(99,102,241,.08) 75%); }
.theme-modern #db-switching { background:rgba(4,7,15,.75); }
.theme-modern .site-footer { max-width:min(1152px,calc(100% - 32px)); border-top:1px solid rgba(255,255,255,.06); color:#64748b; font-size:.75rem; padding:22px 0; }
.theme-modern .site-footer a { color:#a5b4fc; }
.theme-modern .site-footer a:hover { color:#67e8f9; }

/* ── Sub-pages: the original glass panels, dialed up ───────── */
.theme-modern :is(.panel,.stat-card,.modal) { border-color:rgba(99,102,241,.3); box-shadow:0 20px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05); }
.theme-modern .panel:hover { border-color:rgba(99,102,241,.45); }
.theme-modern :is(.ipt,.sel,.qty-input):focus { border-color:rgba(129,140,248,.8); box-shadow:0 0 0 3px rgba(99,102,241,.18); }
.theme-modern .cta-btn, .theme-modern .btn-primary { background:var(--grad); color:#fff; border:0; text-shadow:0 1px 2px rgba(0,0,0,.25); box-shadow:0 6px 22px rgba(99,102,241,.4); }
.theme-modern :is(.cta-btn,.btn-primary):hover:not(:disabled) { box-shadow:0 8px 32px rgba(139,92,246,.6); transform:translateY(-1px); }
.theme-modern .price-tag { background:linear-gradient(135deg,#fff,#c7d2fe,#67e8f9); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.theme-modern .check-icon { background:linear-gradient(135deg,rgba(16,185,129,.3),rgba(34,211,238,.2)); color:#6ee7b7; box-shadow:0 0 10px rgba(16,185,129,.3); }
.theme-modern .tab.active { background:rgba(99,102,241,.25); border-color:rgba(129,140,248,.6); color:#e0e7ff; box-shadow:0 0 14px rgba(99,102,241,.3); }
.theme-modern th { color:#a5b4fc; background:rgba(99,102,241,.08); }
.theme-modern tr:hover td { background:rgba(99,102,241,.06); }
.theme-modern .theme-settings-kicker { color:#818cf8!important; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width:700px) {
  .theme-classic .paywall-banner { flex-wrap:wrap; }
  .theme-classic .paywall-banner .offer-details { flex-basis:100%; }
  .theme-classic .paywall-banner .offer-price { flex:1; }
  .theme-modern .hero { padding-top:16px; padding-bottom:20px; }
  .theme-modern .lookup-header { margin-bottom:18px; flex-wrap:nowrap; gap:8px; }
  .theme-modern .lookup-header .product-name { font-size:1.25rem; white-space:nowrap; }
  .theme-modern .logo-mark { width:32px; height:32px; font-size:16px; border-radius:9px; }
  .theme-modern .auth-bar { gap:6px; flex-wrap:nowrap; }
  .theme-modern .lookup-header .auth-btn { flex-shrink:0; padding:8px 11px; gap:5px; font-size:.72rem; }
  .theme-modern .user-pill { max-width:150px; padding:7px 9px; font-size:.68rem; }
  .theme-modern .user-pill .role-tag { display:none; }
  .theme-modern .search-console { padding:16px; border-radius:18px; }
  .theme-modern .db-selector { width:100%; overflow:visible; }
  .theme-modern .db-pill { flex:1; min-width:0; white-space:normal; padding:7px 4px; font-size:.7rem; line-height:1.4; }
  .theme-modern .search-wrap { min-height:58px; gap:10px; padding:8px 8px 8px 13px; border-radius:13px; margin-bottom:14px; }
  .theme-modern #search-input { font-size:1rem; }
  .theme-modern .search-submit { width:40px; height:40px; padding:0; font-size:0; gap:0; justify-content:center; }
  .theme-modern .category-filters .pill { padding:7px 12px 7px 9px; font-size:.76rem; }
  .theme-modern .location-filters { gap:8px; }
  .theme-modern .location-filters :is(#state-sel,#zip-input,#city-input) { flex:1 1 40%; width:auto!important; min-width:0!important; }
  .theme-modern .paywall-banner { flex-wrap:wrap; padding:16px; border-radius:14px; gap:14px; }
  .theme-modern .offer-details { flex-basis:100%; }
  .theme-modern .offer-price { flex:1; }
  .theme-modern .offer-price strong { font-size:1.6rem; }
  .theme-modern .paywall-banner .auth-btn.signup { padding:10px 14px; font-size:.75rem; }
  .theme-modern #results-grid { grid-template-columns:1fr!important; }
  .theme-modern #landing-state { padding:40px 16px 48px; }
  .theme-modern .landing-glyph { width:64px; height:64px; font-size:30px; border-radius:20px; }
  .theme-modern .site-footer { margin:0 16px; padding:20px 0; gap:10px; }
}
@media (max-width:370px) {
  .theme-modern .lookup-header .product-name { font-size:1.1rem; }
  .theme-modern .lookup-header .auth-btn svg { display:none; }
  .theme-modern .search-console { padding:12px; }
  .theme-modern .user-pill { max-width:104px; }
}
@media (prefers-reduced-motion:reduce) {
  .theme-modern * { transition:none!important; }
  .theme-modern :is(.fade-in,.skeleton,.landing-glyph) { animation:none!important; }
}
