/* ═══════════════════════════════════════════════
   Item Assist — shared.css
   Import this in every page:
   <link rel="stylesheet" href="shared.css">
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ─── TOKENS ─── */
:root {
  --navy:      #0d1b2a;
  --navy-mid:  #1a2d42;
  --navy-light:#243954;
  --teal:      #00c9a7;
  --teal-dim:  #00a589;
  --amber:     #f5a623;
  --white:     #f0f4f8;
  --muted:     #b7c7d9;
  --card-bg:   rgba(255,255,255,0.04);
  --border:    rgba(0,201,167,0.18);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── BASE ─── */
body {
  font-family: 'Sora', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.5px; }

h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  position: relative;
  animation: fadeUp 0.6s 0.1s ease both;
}
h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--teal), #0099ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; margin-bottom: 10px; }
h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }

p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

a { color: var(--teal); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
@keyframes gridDrift {
  from { background-position: 0 0; }
  to   { background-position: 48px 48px; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ─── NAV ─── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: rgba(13,27,42,0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  gap: 16px;
  flex-wrap: nowrap;
}
.logo { display: flex; align-items: center; gap: 10px; }
.site-logo-image {
  display: block;
  width: auto;
  height: 46px;
  max-width: 200px;
  object-fit: contain;
}
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--teal), #0099ff);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.logo-text { font-size: 18px; font-weight: 700; letter-spacing: -0.3px; }
.logo-text span { color: var(--teal); }
.logo-sub {
  font-size: 10px; color: var(--muted);
  letter-spacing: 1.5px; text-transform: uppercase; margin-top: 1px;
}
nav ul { list-style: none; display: flex; gap: 4px; align-items: center; }
nav ul li a {
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all 0.2s;
  white-space: nowrap;
}
nav ul li a:hover { color: var(--white); background: var(--card-bg); }
nav ul li a.active {
  background: var(--teal);
  color: var(--navy);
  font-weight: 600;
}
.nav-active {
  color: var(--teal);
  border-bottom: 2px solid var(--teal);
}
.nav-cta {
  background: transparent !important;
  border: 1px solid rgba(0,201,167,0.4) !important;
  color: var(--teal) !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

/* ─── Hamburger button (hidden on desktop) ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.decode-again-btn.btn-teal {
  background: linear-gradient(135deg, #00c9ff, #2f7bff);
  color: #f7fbff;
  box-shadow: 0 12px 28px rgba(47,123,255,0.32);
}
.decode-again-btn.btn-teal:hover {
  color: #f7fbff;
  box-shadow: 0 16px 34px rgba(47,123,255,0.42);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  padding: 50px 48px 60px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,201,167,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,201,167,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
  animation: gridDrift 20s linear infinite;
  pointer-events: none;
}

/* Page hero (non-homepage) — simpler, shorter */
.page-hero {
  position: relative;
  padding: 48px 48px 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,201,167,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,201,167,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 100%);
  pointer-events: none;
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p  { max-width: 540px; margin-bottom: 0; }

/* ─── BADGE ─── */
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(0,201,167,0.1);
  border: 1px solid rgba(0,201,167,0.3);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--teal);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
  animation: fadeUp 0.6s ease both;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s infinite;
}

/* ─── HERO SUBTEXT ─── */
.hero-sub {
  font-size: 1rem;
  color: #d8e3ee;
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 36px;
  font-weight: 300;
  position: relative;
  animation: fadeUp 0.6s 0.2s ease both;
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: linear-gradient(135deg, var(--teal), #0099ff);
  color: var(--navy);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: all 0.2s;
  box-shadow: 0 4px 24px rgba(0,201,167,0.3);
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,201,167,0.4); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }

.btn-amber {
  background: linear-gradient(135deg, var(--amber), #ff8c00);
  color: var(--navy);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 24px rgba(245,166,35,0.25);
  display: inline-block;
}
.btn-amber:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(245,166,35,0.35); }

/* ─── TRUST BAR ─── */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 16px 48px;
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--muted);
}
.trust-item span:first-child { font-size: 16px; }
.trust-item strong { color: var(--white); }

/* ─── SECTION WRAPPER ─── */
.section { padding: 64px 48px; }
.section.alt { background: var(--navy-mid); }
.section.center { text-align: center; }

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.section-sub {
  color: #d8e3ee;
  font-size: 0.95rem;
  font-weight: 300;
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ─── CARDS GRID ─── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(0,201,167,0.4); background: rgba(255,255,255,0.07); }
.card:hover::before { opacity: 1; }
.card.teal::before   { background: linear-gradient(90deg, var(--teal), #0099ff); }
.card.amber::before  { background: linear-gradient(90deg, var(--amber), #ff6b35); }
.card.purple::before { background: linear-gradient(90deg, #a855f7, #6366f1); }

.card-icon { font-size: 28px; margin-bottom: 14px; }
.card-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--white); }
.card-badge {
  display: inline-block;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.card-badge.teal   { background: rgba(0,201,167,0.12); color: var(--teal); border: 1px solid rgba(0,201,167,0.25); }
.card-badge.amber  { background: rgba(245,166,35,0.12); color: var(--amber); border: 1px solid rgba(245,166,35,0.25); }
.card-badge.purple { background: rgba(168,85,247,0.12); color: #c084fc; border: 1px solid rgba(168,85,247,0.25); }
.card-desc { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ─── HOW IT WORKS STEPS ─── */
.how-it-works {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 32px;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 160px;
}
.step-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 10px;
  transition: transform 0.3s;
}
.step-icon-wrap:hover { transform: translateY(-4px) scale(1.05); }
.step-icon-wrap.blue   { background: linear-gradient(135deg, #1a3a5c, #0d5fa3); border: 1px solid rgba(0,153,255,0.3); }
.step-icon-wrap.green  { background: linear-gradient(135deg, #1a3a2a, #0d7a4f); border: 1px solid rgba(0,201,167,0.3); }
.step-icon-wrap.amber  { background: linear-gradient(135deg, #3a2a0d, #8a5a00); border: 1px solid rgba(245,166,35,0.3); }
.step-label { font-size: 12px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.step-desc  { font-size: 11px; color: var(--muted); line-height: 1.5; }
.step-arrow { font-size: 20px; color: var(--teal); opacity: 0.4; margin-top: 18px; flex-shrink: 0; }

/* ─── SEARCH / DECODER BOX ─── */
.search-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  max-width: 600px;
  position: relative;
}
.search-tabs {
  display: flex;
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.search-tabs::-webkit-scrollbar { display: none; }
.search-tab {
  flex: 1;
  min-width: 100px;
  padding: 11px 8px;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.search-tab:hover { color: var(--white); }
.search-tab.active       { color: var(--teal); border-bottom-color: var(--teal); background: rgba(0,201,167,0.05); }
.search-tab.smart-tab.active { color: var(--amber); border-bottom-color: var(--amber); background: rgba(245,166,35,0.05); }
.search-panel { padding: 22px 22px 18px; }

.search-select,
.search-input {
  width: 100%;
  background: #eef2f6;
  border: 1px solid #ccd6e0;
  border-radius: 10px;
  color: #1a2d42;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s;
}
.search-select { margin-bottom: 10px; appearance: none; cursor: pointer; }
.search-input:focus { border-color: var(--teal); }
.search-input::placeholder { color: #7a93ac; }
.search-hint { font-size: 11px; color: var(--muted); margin-top: 6px; }
.search-link { font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center; }
.search-link a { color: var(--teal); }

/* ─── COMPARISON TABLE ─── */
.comparison {
  max-width: 860px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
}
.comp-col { padding: 18px 24px; font-weight: 700; font-size: 14px; }
.comp-col:first-child { border-right: 1px solid var(--border); }
.comp-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; padding: 3px 10px; border-radius: 99px; margin-top: 4px;
}
.comp-pill.teal  { background: rgba(0,201,167,0.1); color: var(--teal); }
.comp-pill.amber { background: rgba(245,166,35,0.1); color: var(--amber); }
.comp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.comp-row:last-child { border-bottom: none; }
.comp-cell { padding: 13px 24px; font-size: 13px; color: var(--muted); }
.comp-cell:first-child { border-right: 1px solid rgba(255,255,255,0.04); }
.comp-cell .check { color: var(--teal); margin-right: 6px; }
.comp-cell .info  { color: var(--amber); margin-right: 6px; }

/* ─── AUDIENCE STRIP ─── */
.audience-strip {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px;
  text-align: center;
}
.audience-cards { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.aud-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px;
  width: 210px;
  text-align: left;
  transition: all 0.3s;
}
.aud-card:hover { border-color: var(--teal); transform: translateY(-3px); }
.aud-icon  { font-size: 26px; margin-bottom: 8px; }
.aud-title { font-size: 13px; font-weight: 700; margin-bottom: 4px; color: var(--white); }
.aud-desc  { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ─── RESULT BOX ─── */
.result-box {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  margin-top: 20px;
  text-align: left;
}
.result-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #e2e8f0; font-size: 14px; }
.result-row:last-child { border-bottom: none; }
.result-label { color: #334155; }
.result-value { color: #1d4ed8; font-weight: 700; font-family: 'JetBrains Mono', monospace; }
.result-value.amber { color: #3182ce; }

/* ─── INLINE FORM ELEMENTS ─── */
label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; letter-spacing: 0.3px; text-transform: uppercase; }
input[type="text"], select, textarea {
  width: 100%;
  background: #eef2f6;
  border: 1px solid #ccd6e0;
  border-radius: 10px;
  color: #1a2d42;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  padding: 11px 14px;
  outline: none;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
input[type="text"]:focus, select:focus, textarea:focus { border-color: var(--teal); }
textarea { resize: vertical; min-height: 120px; }

/* ─── CONTENT PROSE ─── */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { margin-top: 40px; margin-bottom: 12px; color: var(--white); }
.prose h3 { margin-top: 28px; margin-bottom: 8px; color: var(--white); font-size: 1rem; }
.prose p  { margin-bottom: 16px; }
.prose ul { padding-left: 20px; margin-bottom: 16px; }
.prose ul li { color: var(--muted); font-size: 0.95rem; margin-bottom: 6px; line-height: 1.6; }
.prose ul li::marker { color: var(--teal); }

/* ─── PILL / TAG ─── */
.pill {
  display: inline-block;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 0.5px;
}
.pill.teal   { background: rgba(0,201,167,0.1); color: var(--teal); border: 1px solid rgba(0,201,167,0.25); }
.pill.amber  { background: rgba(245,166,35,0.1); color: var(--amber); border: 1px solid rgba(245,166,35,0.25); }
.pill.muted  { background: rgba(255,255,255,0.05); color: var(--muted); border: 1px solid rgba(255,255,255,0.1); }

/* ─── DIVIDER ─── */
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* ─── FINAL CTA ─── */
.final-cta {
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,201,167,0.08), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.final-cta h2 { font-size: 2rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 10px; }
.final-cta p  { color: var(--muted); font-size: 15px; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─── */
footer {
  padding: 22px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--teal); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 12px 16px; }
  .hamburger {
    display: flex;
    position: relative;
    z-index: 10001;
  }
  .hamburger.active {
    position: fixed;
    top: 12px;
    right: 16px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 10px;
  }
  nav ul {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0f172a;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 84px 24px 28px;
    gap: 10px;
    z-index: 9999;
    box-shadow: none;
    overflow-y: auto;
    opacity: 1;
  }
  nav ul.open { display: flex; }
  body.nav-menu-open { overflow: hidden; }
  nav ul li { width: 100%; }
  nav ul li a {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
    color: #e2e8f0;
    background: rgba(255,255,255,0.04);
  }
  nav ul li a:hover { background: rgba(255,255,255,0.05); }
  .hero, .page-hero { padding: 36px 20px 48px; }
  .section { padding: 48px 20px; }
  .trust-bar { gap: 20px; padding: 16px 20px; }
  footer { padding: 20px; flex-direction: column; text-align: center; }
  .final-cta { padding: 60px 20px; }
  .audience-strip { padding: 36px 20px; }
  .aud-card { width: 100%; max-width: 340px; }
  .comparison-header, .comp-row { grid-template-columns: 1fr; }
  .comp-col:first-child, .comp-cell:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .search-tabs:has(.cat-tab) { display: none; }
}

/* --- Internal version timestamp badge --- */
.internal-version-badge {
  position: fixed;
  right: 10px;
  bottom: 8px;
  z-index: 9999;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.2px;
  color: rgba(122, 147, 172, 0.55);
  background: rgba(13, 27, 42, 0.25);
  border: 1px solid rgba(122, 147, 172, 0.2);
  border-radius: 999px;
  padding: 4px 7px;
  user-select: none;
  pointer-events: none;
}

/* =================================================================
   LKQ RENDERING FIX OVERRIDES (display only)
   ================================================================= */
.lkq-output {
  width: 100%;
  color: #1a202c;
}

.lkq-section-num,
.lkq-step-num {
  display: none !important;
}

.lkq-id-header,
.lkq-successor-header,
.lkq-replace-header,
.lkq-section-hd {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: #1a202c;
  border-radius: 10px 10px 0 0;
  margin-bottom: 0;
}

.lkq-section-title,
.lkq-step-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.results-card,
.results-body,
.results-card p,
.results-card li,
.results-card dd,
.results-card dt,
.results-card .lkq-id-value,
.results-card .lkq-id-specs,
.results-card .lkq-id-desc,
.results-card .sl-result-label,
.results-card .sl-result-value,
.results-card .sl-result-highlight,
#smart-lookup-results,
#smart-lookup-results p,
#smart-lookup-results li,
#smart-lookup-results .lkq-id-value,
#smart-lookup-results .lkq-id-specs,
#smart-lookup-results .lkq-id-desc,
#smart-lookup-results .sl-result-label,
#smart-lookup-results .sl-result-value,
#smart-lookup-results .sl-result-highlight {
  color: #1a202c;
}

.sl-progressive-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sl-progressive-card-slot {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sl-progressive-card-slot.is-loading,
.sl-progressive-card-slot.is-ready {
  opacity: 1;
  transform: translateY(0);
}

.sl-progressive-card-slot.is-hidden {
  display: none;
}

.sl-progressive-card {
  width: 100%;
}

.sl-progressive-skeleton {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.sl-progressive-skeleton-title,
.sl-progressive-skeleton-line {
  border-radius: 999px;
  background: linear-gradient(90deg, #e2e8f0 0%, #f8fafc 50%, #e2e8f0 100%);
  background-size: 200% 100%;
  animation: sl-skeleton-shimmer 1.15s linear infinite;
}

.sl-progressive-skeleton-title {
  height: 14px;
  width: 32%;
  margin-bottom: 0.9rem;
}

.sl-progressive-skeleton-line {
  height: 10px;
  margin-top: 0.7rem;
}

.sl-progressive-skeleton-line.w-100 { width: 100%; }
.sl-progressive-skeleton-line.w-90 { width: 90%; }
.sl-progressive-skeleton-line.w-85 { width: 85%; }
.sl-progressive-skeleton-line.w-80 { width: 80%; }
.sl-progressive-skeleton-line.w-70 { width: 70%; }
.sl-progressive-skeleton-line.w-65 { width: 65%; }
.sl-progressive-skeleton-line.w-60 { width: 60%; }

@keyframes sl-skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.lkq-id-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(15,23,42,0.07);
}

.lkq-id-rows { display: block; }

.lkq-id-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: start;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
}

.lkq-id-row:first-child { border-top: none; }

.lkq-id-label {
  font-weight: 700;
  color: #64748b;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lkq-id-value {
  color: #1f2937;
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.lkq-availability-available {
  color: #16a34a;
  font-weight: 700;
}

.lkq-availability-discontinued {
  color: #dc2626;
  font-weight: 700;
}

.lkq-availability-unknown {
  color: #64748b;
  font-weight: 700;
}

.lkq-id-desc-block {
  border-top: 1px solid #f1f5f9;
  padding: 0.75rem 1rem 1rem;
  background: #f8fafc;
}

.lkq-id-desc-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.lkq-id-desc-value {
  font-size: 0.9rem;
  color: #1f2937;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.lkq-successor-card {
  background: #f1f7ff;
  border: 1px solid #cfe3f8;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(15,23,42,0.06);
}

.lkq-successor-rowline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem 0.35rem;
  background: transparent;
  border: 0;
}

.lkq-successor-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lkq-successor-tag {
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lkq-successor-name {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  padding: 0 1rem 0.2rem;
}

.lkq-successor-model {
  font-size: 0.84rem;
  font-weight: 600;
  color: #3182ce;
  padding: 0 1rem 0.2rem;
}

.lkq-successor-desc {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.6;
  padding: 0.45rem 1rem 0.95rem;
  border-top: 1px solid rgba(226,232,240,0.9);
  margin-top: 0.35rem;
}

.lkq-table-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15,23,42,0.07);
}

.lkq-table-wrap { width: 100%; }

.lkq-comparison-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e2e8f0;
  table-layout: fixed;
}

.lkq-comparison-table thead tr { background: #ebf8ff; }

.lkq-comparison-table thead th {
  color: #1a202c !important;
  font-weight: 800;
  border: 1px solid #bfdbfe;
  padding: 10px;
}

.lkq-th-best { border-top: 3px solid #f59e0b !important; }

.lkq-comparison-table th,
.lkq-comparison-table td {
  border: 1px solid #e2e8f0 !important;
  padding: 10px !important;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.lkq-comparison-table td:first-child,
.lkq-th-label {
  width: 170px;
  font-weight: 700;
  color: #334155 !important;
  background: #f1f5f9 !important;
}

.lkq-comparison-table tbody tr:nth-child(even) td { background: #f8fafc; }
.lkq-comparison-table tbody tr:nth-child(odd) td { background: #ffffff; }

.lkq-rating-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.lkq-rating-badge.match { background: #22c55e; color: #ffffff; }
.lkq-rating-badge.above-lkq { background: #eab308; color: #3b2f05; }
.lkq-rating-badge.close-match { background: #facc15; color: #1f2937; }
.lkq-rating-badge.not-lkq { background: #ef4444; color: #ffffff; }
.lkq-rating-badge.lkq-rating-original { background: #e2e8f0; color: #334155; }

.lkq-buy-link { text-decoration: underline; font-weight: 700; }

.lkq-yourpick-editor {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

.lkq-yourpick-editor .lkq-compare-input {
  width: 100%;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: #1a202c;
  background: #ffffff;
}

.lkq-yourpick-editor .lkq-compare-btn {
  justify-self: start;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  background: #f59e0b;
  color: #1a202c;
}

.lkq-table-footnotes {
  border-top: 1px solid #e2e8f0;
  margin-top: 0;
  padding: 0.65rem 1rem 0.85rem;
}

.lkq-table-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  border-top: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  background: #f8fafc;
}

.lkq-table-legend-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #475569;
}

.lkq-table-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: #475569;
  white-space: nowrap;
}

.lkq-table-footnotes p {
  margin: 0.2rem 0;
  font-size: 0.78rem;
  color: #64748b;
  font-style: italic;
}

.lkq-spec-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

/* ================================================================
   SMART LOOKUP HORIZONTAL COMPARISON OVERRIDES
   ================================================================ */
.sl-summary-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sl-summary-card {
  padding: 12px 14px;
}

.sl-summary-card h4 {
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.sl-summary-row {
  font-size: 0.82rem;
  line-height: 1.45;
  margin-bottom: 6px;
}

.lkq-top-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
  align-items: stretch;
}

.lkq-top-grid .lkq-id-card,
.lkq-top-grid .lkq-successor-card {
  margin-bottom: 0;
  height: 100%;
}

.lkq-bottom-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.lkq-bottom-actions .decode-again-btn {
  min-width: 220px;
}

.lkq-table-section {
  padding-top: 12px;
}

.lkq-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 10px;
}

.lkq-comparison-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid #d7e0ea;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.lkq-comparison-table thead tr {
  background: #eef6ff;
}

.lkq-comparison-table thead th {
  padding: 10px 12px;
  border: 1px solid #d7e0ea;
  color: #0f172a !important;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

.lkq-th-label {
  width: 150px;
  background: #eaf0f6 !important;
}

.lkq-th-original {
  background: #f8fafc !important;
}

.lkq-th-best {
  background: #fff6df !important;
  border-top: 3px solid #f59e0b !important;
}

.lkq-th-yourpick {
  background: #edfdf7 !important;
  border-top: 3px solid #14b8a6 !important;
}

.lkq-comparison-table td {
  padding: 10px 12px !important;
  border: 1px solid #e2e8f0 !important;
  vertical-align: top;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #1f2937 !important;
  background: #ffffff;
  overflow-wrap: anywhere;
}

.lkq-td-label {
  width: 150px;
  background: #f1f5f9 !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b !important;
}

.lkq-td-original {
  background: #f9fbfd !important;
}

.lkq-td-best {
  background: #fffaf0 !important;
}

.lkq-td-yourpick {
  background: #f3fcf8 !important;
}

.lkq-comparison-table tbody tr:nth-child(even) .lkq-td,
.lkq-comparison-table tbody tr:nth-child(even) .lkq-td-original,
.lkq-comparison-table tbody tr:nth-child(even) .lkq-td-best,
.lkq-comparison-table tbody tr:nth-child(even) .lkq-td-yourpick {
  filter: brightness(0.995);
}

.lkq-td-name {
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.lkq-td-model {
  margin-top: 4px;
  font-size: 0.72rem;
  color: #64748b;
}

.lkq-rating-badge.lkq-rating-original {
  background: #e2e8f0;
  color: #334155;
}

.lkq-inline-details {
  display: block;
}

.lkq-inline-details summary {
  cursor: pointer;
  color: #334155;
  font-size: 0.77rem;
  line-height: 1.4;
  list-style: none;
}

.lkq-inline-details summary::-webkit-details-marker {
  display: none;
}

.lkq-inline-details summary::before {
  content: '▶';
  display: inline-block;
  margin-right: 6px;
  color: #64748b;
  font-size: 0.62rem;
}

.lkq-inline-details[open] summary::before {
  content: '▼';
}

.lkq-inline-details-body {
  margin-top: 6px;
  font-size: 0.77rem;
  color: #475569;
  line-height: 1.45;
}

.lkq-yourpick-editor {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
}

.lkq-yourpick-editor .lkq-compare-status {
  grid-column: 1 / -1;
}

.lkq-yourpick-editor .lkq-compare-input {
  font-size: 0.8rem;
  min-width: 0;
}

.lkq-yourpick-editor .lkq-compare-btn {
  align-self: stretch;
  white-space: nowrap;
  font-size: 0.78rem;
  padding: 0.5rem 0.8rem;
}

.lkq-yourpick-loaded {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #dbe5ef;
}

.lkq-table-legend,
.lkq-table-footnotes {
  margin-top: 10px;
}

@media (max-width: 760px) {
  .sl-summary-band,
  .lkq-top-grid {
    grid-template-columns: 1fr;
  }
}

.lkq-spec-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  flex: 0 0 9px;
}

.lkq-spec-dot-green { background: #16a34a; }
.lkq-spec-dot-orange { background: #f97316; }
.lkq-spec-dot-red { background: #dc2626; }
.lkq-spec-dot-gold { background: #eab308; }

.lkq-spec-value {
  overflow-wrap: anywhere;
}

.smart-lookup-assist {
  margin-top: 14px;
  animation: fadeUp 0.18s ease;
}

.smart-lookup-assist.hidden {
  display: none;
}

.smart-lookup-assist-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(0,201,167,0.18);
  border-radius: 14px;
  padding: 14px 16px;
}

.smart-lookup-assist-card-info {
  border-color: rgba(0, 153, 255, 0.28);
}

.smart-lookup-assist-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.smart-lookup-assist-note,
.smart-lookup-assist-single {
  font-size: 0.92rem;
  color: var(--white);
}

.smart-lookup-assist-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.smart-lookup-assist-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.smart-lookup-suggestion-pill {
  appearance: none;
  border: 1px solid rgba(0,201,167,0.26);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border-radius: 999px;
  padding: 9px 14px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.smart-lookup-suggestion-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(0,201,167,0.45);
  background: rgba(0,201,167,0.12);
}

.smart-lookup-suggestion-pill-secondary {
  border-color: rgba(122, 147, 172, 0.35);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
}

.smart-lookup-search-as-entered {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  margin-top: 12px;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.smart-lookup-search-as-entered:hover {
  color: var(--white);
}

.smart-general-card {
  display: grid;
  gap: 16px;
}

.smart-general-section {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(0,201,167,0.16);
  border-radius: 16px;
  padding: 16px 18px;
}

.smart-general-refine {
  border-color: rgba(245,166,35,0.28);
  background: rgba(245,166,35,0.08);
}

.smart-general-section-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.smart-general-subtitle,
.smart-general-overview-text,
.smart-general-meta,
.smart-general-overview-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.smart-general-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 10px;
}

.smart-general-refine-list,
.smart-general-lkq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.smart-age-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.smart-age-rows {
  display: grid;
  gap: 10px;
}

.smart-age-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.smart-age-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.smart-age-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.smart-age-value {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: right;
}

.smart-age-copy p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 10px;
}

.smart-age-copy p:last-child {
  margin-bottom: 0;
}

.smart-general-refine-pill,
.smart-general-primary,
.smart-general-secondary {
  appearance: none;
  border-radius: 999px;
  padding: 10px 15px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

@media (max-width: 820px) {
  .smart-age-grid {
    grid-template-columns: 1fr;
  }

  .smart-age-row {
    flex-direction: column;
    gap: 4px;
  }

  .smart-age-value {
    text-align: left;
  }
}

.smart-general-refine-pill,
.smart-general-primary {
  border: 1px solid rgba(0,201,167,0.3);
  background: rgba(0,201,167,0.12);
  color: var(--white);
}

.smart-general-secondary {
  border: 1px solid rgba(122, 147, 172, 0.35);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
}

.smart-general-refine-pill:hover,
.smart-general-primary:hover,
.smart-general-secondary:hover {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .sl-progressive-stack {
    gap: 10px;
  }

  .sl-progressive-card-slot {
    margin-bottom: 0;
  }

  .sl-progressive-skeleton,
  .sl-summary-card,
  .lkq-result-card,
  .lkq-id-card,
  .lkq-successor-card,
  .lkq-table-section,
  .sl-pricetier-card,
  .smart-general-section.smart-age-section {
    padding: 12px !important;
  }

  .lkq-id-card,
  .lkq-successor-card,
  .lkq-table-section,
  .sl-summary-card,
  .sl-pricetier-card {
    margin-bottom: 10px !important;
  }

  #smart-lookup-results,
  #smart-lookup-results p,
  #smart-lookup-results li,
  #smart-lookup-results .lkq-id-value,
  #smart-lookup-results .lkq-id-desc,
  #smart-lookup-results .lkq-id-specs,
  #smart-lookup-results .sl-result-label,
  #smart-lookup-results .sl-result-value,
  .lkq-comparison-table td,
  .lkq-id-value,
  .lkq-successor-desc,
  .smart-age-copy p,
  .smart-age-value {
    font-size: 13px !important;
    line-height: 1.45;
  }

  #smart-lookup-results h3,
  #smart-lookup-results h4,
  .sl-summary-card h4,
  .lkq-successor-name,
  .smart-general-section-title,
  .sl-pricetier-header h4 {
    font-size: 14px !important;
    line-height: 1.35;
  }

  .lkq-section-title,
  .lkq-step-title,
  .smart-age-label,
  .lkq-id-label,
  .lkq-successor-label {
    font-size: 11px !important;
  }

  .sl-summary-band,
  .lkq-top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
  }

  .smart-age-grid {
    gap: 10px !important;
  }

  .smart-age-row,
  .lkq-id-row,
  .lkq-successor-rowline {
    gap: 8px;
  }

  .lkq-id-row {
    grid-template-columns: 108px 1fr;
    padding: 8px 10px !important;
  }

  .lkq-successor-rowline,
  .lkq-successor-name,
  .lkq-successor-model,
  .lkq-successor-desc,
  .lkq-section-hd {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .lkq-successor-desc {
    padding-top: 8px !important;
    padding-bottom: 10px !important;
  }

  .lkq-bottom-actions {
    margin-top: 10px;
    padding-top: 10px;
  }

  .lkq-comparison-table td,
  .lkq-comparison-table th,
  .lkq-td,
  .lkq-td-original,
  .lkq-td-best,
  .lkq-td-yourpick,
  .lkq-td-name,
  .lkq-td-model {
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }

  .sl-pricetier-prices {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px !important;
    margin-bottom: 10px !important;
  }

  .sl-pricetier-price-box {
    padding: 8px 6px !important;
    min-width: 0;
  }

  .sl-pricetier-price-box div:first-child {
    font-size: 14px !important;
    line-height: 1.2;
  }

  .sl-pricetier-price-box div:last-child,
  .sl-pricetier-badge,
  .sl-pricetier-explanation {
    font-size: 11px !important;
    line-height: 1.3;
  }
}

.smart-general-lkq-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.smart-general-lkq-target {
  margin-top: 14px;
}

.smart-general-inline-loading,
.smart-general-inline-error {
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.9rem;
}

.smart-general-inline-loading {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,201,167,0.16);
  color: var(--white);
}

.smart-general-inline-error {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.25);
  color: #fecaca;
}

.smart-unrecognized-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(0,201,167,0.16);
  border-radius: 16px;
  padding: 18px;
}

.smart-unrecognized-title,
.smart-unrecognized-subtitle,
.smart-unrecognized-tips-title {
  color: var(--white);
  font-weight: 800;
}

.smart-unrecognized-subtitle,
.smart-unrecognized-tips-title {
  margin-top: 14px;
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.smart-unrecognized-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.smart-unrecognized-empty {
  margin-top: 10px;
  color: var(--muted);
}

.smart-unrecognized-pill,
.smart-unrecognized-submit {
  appearance: none;
  border-radius: 999px;
  padding: 10px 15px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.smart-unrecognized-pill {
  border: 1px solid rgba(0,201,167,0.3);
  background: rgba(0,201,167,0.12);
  color: var(--white);
}

.smart-unrecognized-tips {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.smart-unrecognized-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.smart-unrecognized-input {
  flex: 1 1 280px;
}

.smart-unrecognized-submit {
  border: 1px solid rgba(0,201,167,0.3);
  background: rgba(0,201,167,0.12);
  color: var(--white);
}


/* ??? LANDING PAGE CARD LAYOUT ??? */
body[data-page-kind="landing"] .section {
  padding: 0 24px 48px;
}

body[data-page-kind="landing"] .prose {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

body[data-page-kind="landing"] .landing-info-card {
  background: #f8fbff;
  border: 1px solid #dbe4ee;
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

body[data-page-kind="landing"] .landing-info-card h2,
body[data-page-kind="landing"] .landing-info-card h3 {
  color: #102033;
}

body[data-page-kind="landing"] .landing-info-card p,
body[data-page-kind="landing"] .landing-info-card li {
  color: #334155;
}

body[data-page-kind="landing"] .landing-info-card h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

body[data-page-kind="landing"] .landing-info-card h3 {
  font-size: 1rem;
  margin-top: 16px;
  margin-bottom: 8px;
}

body[data-page-kind="landing"] .landing-info-card p + p,
body[data-page-kind="landing"] .landing-info-card ul,
body[data-page-kind="landing"] .landing-info-card .cta-block,
body[data-page-kind="landing"] .landing-info-card h3 {
  margin-top: 12px;
}

body[data-page-kind="landing"] .landing-bullet-list {
  padding-left: 20px;
}

body[data-page-kind="landing"] .landing-bullet-list li + li {
  margin-top: 8px;
}

body[data-page-kind="landing"] .landing-cta-card,
body[data-page-kind="landing"] .landing-info-card .cta-block {
  background: #ffffff;
  border: 1px solid #dbe4ee;
  border-radius: 16px;
  padding: 18px;
}

body[data-page-kind="landing"] .landing-info-card .cta-btn {
  margin-right: 10px;
  margin-top: 10px;
  display: inline-block;
}

@media (max-width: 720px) {
  body[data-page-kind="landing"] .section {
    padding: 0 16px 36px;
  }

  body[data-page-kind="landing"] .landing-info-card {
    padding: 18px 16px;
  }

  body[data-page-kind="landing"] .landing-info-card .cta-btn {
    width: 100%;
    margin-right: 0;
  }
}


.serial-checklist-section {
  margin-top: 14px;
}

.serial-checklist-section strong {
  display: block;
  color: #102033;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.serial-checklist {
  margin: 0;
  padding-left: 20px;
}

.serial-checklist li {
  margin-top: 6px;
  color: #334155;
}


/* ??? LANDING PAGE TOOL BUTTONS ??? */
body[data-page-kind="landing"] .cta-block {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.03), rgba(59, 130, 246, 0.06));
}

body[data-page-kind="landing"] .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 24px rgba(2, 132, 199, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

body[data-page-kind="landing"] .cta-btn:hover {
  transform: translateY(-1px);
  opacity: 1;
}

body[data-page-kind="landing"] .cta-btn {
  background: linear-gradient(135deg, #00d4ff, #2563eb);
  color: #ffffff;
}

body[data-page-kind="landing"] .cta-btn.secondary {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(139, 92, 246, 0.2);
}

body[data-page-kind="landing"] .cta-btn.secondary:last-of-type {
  background: linear-gradient(135deg, #14b8a6, #22c55e);
  box-shadow: 0 12px 24px rgba(34, 197, 94, 0.2);
}


/* ??? TOOL CTA BUTTON ROWS ??? */
.tool-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.tool-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 14px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.22);
  transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
}

.tool-cta-btn:hover {
  transform: translateY(-1px);
  opacity: 1;
}

.tool-cta-btn.primary {
  background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.tool-cta-btn.secondary {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.tool-cta-btn.tertiary {
  background: linear-gradient(135deg, #14b8a6, #22c55e);
}

.page-hero + .section .tool-cta-row,
.prose .tool-cta-row,
.article-content .tool-cta-row,
.content-wrapper .tool-cta-row {
  margin-bottom: 4px;
}

@media (max-width: 720px) {
  .tool-cta-row {
    flex-direction: column;
  }

  .tool-cta-btn {
    width: 100%;
    min-width: 0;
  }
}


/* ??? BRAND PAGE EMBEDDED TOOL CARD BUTTONS ??? */
body.brand-tool-layout-active .brand-tool-section .power-bar {
  display: none;
}

body.brand-tool-layout-active .brand-tool-section .search-box {
  display: flex;
  flex-direction: column;
}

body.brand-tool-layout-active .brand-tool-section .search-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

body.brand-tool-layout-active .brand-tool-section .panel-action-slot {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  justify-content: center;
}

body.brand-tool-layout-active .brand-tool-section .panel-action-slot .power-btn {
  min-width: 260px;
  justify-content: center;
}

@media (max-width: 980px) {
  body.brand-tool-layout-active .brand-tool-section .panel-action-slot .power-btn {
    width: 100%;
    min-width: 0;
  }
}
