/* Gevilens · diseño del chat ("pro max"). Mismas clases y estructura; tema claro/oscuro/automático. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------ tokens */
:root {
  --bg: #fafafc;
  --bg-soft: #f3f3f8;
  --panel: #f2f2f7;
  --surface: #ffffff;
  --surface-2: #f9f9fc;
  --border: #e5e5ee;
  --border-strong: #d2d2df;
  --text: #0f1020;
  --text-2: #1d1e2e;
  --muted: #4a4b5e;
  --accent: #4f46e5;
  --accent-2: #2f6bf0;
  --accent-hover: #4338ca;
  --accent-soft: #eef0ff;
  --accent-ink: #ffffff;
  --star: #f5a524;
  --warn: #9a5b00;
  --warn-soft: #fdf1dc;
  --danger: #c0262d;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 16, 40, .06);
  --shadow: 0 1px 2px rgba(15, 16, 40, .04), 0 6px 20px -6px rgba(15, 16, 40, .10);
  --shadow-lg: 0 2px 6px rgba(15, 16, 40, .05), 0 24px 48px -16px rgba(15, 16, 40, .22);
  --ring: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0b12; --bg-soft: #14141f; --panel: #09090f; --surface: #12121b; --surface-2: #171723;
    --border: #24243a; --border-strong: #33334d; --text: #eeeef8; --text-2: #c4c5dc; --muted: #8b8ca6;
    --accent: #8b8cf8; --accent-2: #7aa2ff; --accent-hover: #a5a6ff; --accent-soft: #1c1b3a; --accent-ink: #0b0b1a;
    --warn: #f0b75c; --warn-soft: #30230f; --danger: #ff8a8f;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -8px rgba(0, 0, 0, .6);
    --shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, .7); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0b12; --bg-soft: #14141f; --panel: #09090f; --surface: #12121b; --surface-2: #171723;
  --border: #24243a; --border-strong: #33334d; --text: #eeeef8; --text-2: #c4c5dc; --muted: #8b8ca6;
  --accent: #8b8cf8; --accent-2: #7aa2ff; --accent-hover: #a5a6ff; --accent-soft: #1c1b3a; --accent-ink: #0b0b1a;
  --warn: #f0b75c; --warn-soft: #30230f; --danger: #ff8a8f;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4); --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -8px rgba(0, 0, 0, .6);
  --shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, .7); color-scheme: dark;
}

/* ------------------------------------------------------------------ base */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body {
  font: 15px/1.55 var(--font);
  font-feature-settings: "cv11", "ss01", "ss03";
  background: var(--bg); color: var(--text);
  display: flex; overflow: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
button { font: inherit; cursor: pointer; color: inherit; }
a { color: var(--accent); text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.muted { color: var(--muted); font-size: 14px; }
.logo-mark { color: var(--accent); flex-shrink: 0; filter: drop-shadow(0 4px 10px color-mix(in srgb, var(--accent) 30%, transparent)); }
::selection { background: var(--accent-soft); color: var(--text); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ------------------------------------------------------------------ menú lateral */
.sidebar {
  width: 276px; flex-shrink: 0; background: var(--panel); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; padding: 18px 14px 14px; gap: 6px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; padding: 4px 8px 14px; color: var(--text); text-decoration: none; }
.new-chat {
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); background: var(--surface);
  border-radius: 14px; padding: 12px 14px; text-align: left; font-weight: 650; box-shadow: var(--shadow-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .1s;
}
.new-chat span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--accent); color: var(--accent-ink); font-size: 14px; }
.new-chat:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.new-chat:active { transform: scale(.985); }
.tracked-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--text-2); font-weight: 550; transition: background .15s; }
.tracked-link:hover { background: var(--bg-soft); color: var(--text); }
.history-title { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; padding: 16px 12px 6px; font-weight: 650; }
.history { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; scrollbar-width: thin; }
.history li { padding: 8px 12px; border-radius: 10px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-2); font-size: 14px; transition: background .15s; }
.history li:hover { background: var(--bg-soft); color: var(--text); }
.history li.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); font-weight: 550; }
.market { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.market a { text-decoration: none; color: var(--muted); padding: 6px 10px; border-radius: 8px; }
.market a.on { color: var(--text); background: var(--bg-soft); font-weight: 600; }
.theme-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; margin: 6px 4px 4px; }
.theme-switch button { border: 0; background: transparent; padding: 6px 0; border-radius: 9px; font-size: 13px; color: var(--muted); transition: background .15s; }
.theme-switch button[aria-pressed="true"] { background: var(--surface); box-shadow: var(--shadow-sm); color: var(--text); }
.legal-links { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; padding: 10px 10px 0; }
.legal-links a { color: var(--muted); text-decoration: none; }
.legal-links a:hover { color: var(--text); text-decoration: underline; }

/* ------------------------------------------------------------------ zona principal */
.main { flex: 1; display: flex; flex-direction: column; min-width: 0; background: var(--bg); position: relative; }
.topbar { display: none; }
.chat { flex: 1; overflow-y: auto; padding: 28px 24px 12px; scroll-behavior: smooth; position: relative; }
.chat > * { max-width: 920px; margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------------ portada */
.welcome { padding: 5vh 0 24px; position: relative; }
.aurora {
  position: absolute; inset: -60px -40px auto; height: 520px; z-index: 0; pointer-events: none; filter: blur(60px); opacity: .55;
  background:
    radial-gradient(40% 50% at 20% 30%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%),
    radial-gradient(35% 45% at 80% 20%, color-mix(in srgb, var(--accent-2) 30%, transparent), transparent 70%),
    radial-gradient(30% 40% at 60% 80%, color-mix(in srgb, #06b6d4 16%, transparent), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate3d(-2%, 0, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.06); } }
.welcome > *:not(.aurora) { position: relative; z-index: 1; }
.hero { display: grid; grid-template-columns: 1.25fr .9fr; gap: 36px; align-items: center; margin-bottom: 30px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border));
  padding: 6px 12px; border-radius: 99px; margin: 0 0 18px; backdrop-filter: blur(6px);
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 80%, 100% { box-shadow: 0 0 0 8px transparent; } }
.welcome h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 18px; font-weight: 820; }
.welcome h1 .accent { background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--text-2); font-size: 18px; line-height: 1.55; margin: 0; max-width: 560px; }
.lead b { color: var(--text); font-weight: 650; }

/* tarjeta de ejemplo flotante */
.hero-demo { position: relative; min-height: 420px; }
.demo-q { position: absolute; top: 0; right: 10px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 550; padding: 9px 14px; border-radius: 16px 16px 4px 16px; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.demo-card {
  position: absolute; top: 52px; left: 8%; right: 4%; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 16px;
  box-shadow: var(--shadow-lg); transform: rotate(-2deg); animation: float 7s ease-in-out infinite reverse;
}
.demo-tag { position: absolute; top: -10px; right: 16px; font-size: 11px; font-weight: 750; background: var(--accent); color: var(--accent-ink); padding: 3px 10px; border-radius: 99px; }
.demo-img { height: 84px; display: grid; place-items: center; font-size: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--bg-soft), var(--surface-2)); margin-bottom: 10px; }
.demo-label { font-size: 10.5px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.demo-title { font-weight: 700; margin: 2px 0 4px; }
.demo-store { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.demo-stars { color: var(--star); letter-spacing: 1px; }
.demo-price { font-size: 30px; font-weight: 820; letter-spacing: -.03em; margin: 8px 0 2px; }
.demo-price { font-size: 16px; } .demo-price span { font-size: 32px; }
.demo-ok { font-size: 12px; font-weight: 650; color: var(--accent); }
.demo-save { margin-top: 10px; font-size: 12px; font-weight: 650; color: var(--accent); background: var(--accent-soft); padding: 6px 10px; border-radius: 9px; }
.demo-alert { position: absolute; bottom: 0; left: -2%; background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: 14px; box-shadow: var(--shadow); animation: float 8s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.examples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 26px; }
.example {
  display: flex; align-items: center; gap: 12px; text-align: left; padding: 13px 16px; border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 85%, transparent); backdrop-filter: blur(8px); border-radius: 16px; box-shadow: var(--shadow-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); color: var(--text-2); font-weight: 500;
}
.example:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--border)); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.ex-icon { font-size: 19px; width: 38px; height: 38px; display: grid; place-items: center; background: var(--bg-soft); border-radius: 12px; flex-shrink: 0; transition: transform .2s var(--ease); }
.example:hover .ex-icon { transform: scale(1.08) rotate(-4deg); }
.props { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.props li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.props li > span { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 15px; }
.props b { display: block; font-size: 14px; margin-bottom: 2px; }
.props small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.stores-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 16px 4px; margin-bottom: 8px; color: var(--muted); font-size: 13px; border-top: 1px dashed var(--border); border-bottom: 1px dashed var(--border); }
.stores-strip b { color: var(--text-2); font-weight: 650; font-size: 14px; letter-spacing: -.01em; opacity: .8; }
.seo-block { padding-top: 26px; margin-top: 10px; }
.seo-block h2 { font-size: 20px; margin: 0 0 14px; letter-spacing: -.02em; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px; color: var(--text-2); font-size: 14px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--text); color: var(--bg); font-weight: 750; font-size: 13px; margin-bottom: 10px; }
.steps b { color: var(--text); display: block; margin-bottom: 2px; }
details { border-bottom: 1px solid var(--border); padding: 14px 2px; }
details summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; transition: transform .2s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--text-2); margin: 8px 0 2px; }
.more-info { margin-top: 16px; font-size: 14px; font-weight: 600; }

/* ------------------------------------------------------------------ mensajes */
.msg { margin: 24px auto; animation: rise .35s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.msg.user { display: flex; justify-content: flex-end; }
.msg.user .bubble {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 80%, var(--accent-2)));
  color: var(--accent-ink); padding: 11px 16px; border-radius: 20px 20px 6px 20px; max-width: 78%;
  white-space: pre-wrap; box-shadow: var(--shadow); font-weight: 500;
}
.msg.user img { display: block; max-width: 210px; border-radius: 14px; margin-bottom: 8px; }
.msg.bot .text { white-space: pre-wrap; font-size: 16.5px; line-height: 1.6; color: var(--text); max-width: 780px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; padding: 5px 11px; border-radius: 99px; background: var(--bg-soft); color: var(--muted); margin-bottom: 12px; }
.badge.exact { color: var(--accent); background: var(--accent-soft); }
.badge.exact::before { content: "✓"; }
.badge.similar { color: var(--warn); background: var(--warn-soft); }
.error { color: var(--danger); }

/* cargando */
.loading .status { color: var(--muted); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-weight: 500; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: pulseDot 1s infinite alternate; }
@keyframes pulseDot { from { opacity: .3; transform: scale(.8); } to { opacity: 1; transform: scale(1.1); } }
.skeleton .card { box-shadow: none; animation: none; }
.sk { border-radius: 9px; background: linear-gradient(90deg, var(--bg-soft) 0%, var(--border) 45%, var(--bg-soft) 90%); background-size: 220% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.sk-img { height: 132px; border-radius: 14px; }
.sk-line { height: 12px; }
.sk-line.w40 { width: 40%; } .sk-line.w60 { width: 60%; } .sk-line.w90 { width: 90%; }
.sk-price { height: 30px; width: 46%; }
.sk-btn { height: 42px; margin-top: auto; border-radius: 13px; }

/* ------------------------------------------------------------------ tarjetas de resultados */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 16px; margin-top: 18px; }
.card {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; background: var(--surface);
  display: flex; flex-direction: column; gap: 8px; position: relative; box-shadow: var(--shadow);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s;
  animation: rise .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card.cheapest { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, var(--accent), var(--accent-2)) border-box; border: 1.5px solid transparent; }
.card .img { height: 150px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 14px; overflow: hidden; margin-bottom: 4px; border: 1px solid var(--border); }
.card .img img { max-width: 92%; max-height: 140px; object-fit: contain; transition: transform .35s var(--ease); }
.card:hover .img img { transform: scale(1.04); }
.card .label { font-size: 10.5px; font-weight: 750; color: var(--accent); text-transform: uppercase; letter-spacing: .09em; }
.card .tag { position: absolute; top: -11px; right: 14px; font-size: 11px; font-weight: 750; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink); padding: 4px 11px; border-radius: 99px; box-shadow: var(--shadow); letter-spacing: .02em; }
.card .title { font-weight: 680; line-height: 1.32; font-size: 15px; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .store { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 13px; font-weight: 550; }
.avatar { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; font-size: 11px; font-weight: 800; color: #fff; background: hsl(var(--h, 160) 55% 42%); flex-shrink: 0; }
.store-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stars { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.stars-bar { letter-spacing: 1.5px; font-size: 13px; background: linear-gradient(90deg, var(--star) calc(var(--r) / 5 * 100%), var(--border) 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars { flex-wrap: wrap; }
.few-rev { font-size: 11.5px; color: var(--muted); font-style: italic; }
.partner { align-self: flex-start; font-size: 11px; font-weight: 650; color: var(--accent); background: var(--accent-soft); border-radius: 99px; padding: 3px 10px; }
.price-box { display: flex; flex-direction: column; gap: 2px; padding: 6px 0 0; }
.card .price { display: flex; align-items: baseline; font-weight: 820; letter-spacing: -.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.p-int { font-size: 30px; }
.p-dec { font-size: 16px; font-weight: 750; letter-spacing: -.01em; margin-left: 1px; }
.card .hidden-price { font-size: 17px; font-weight: 700; color: var(--accent); letter-spacing: -.01em; }
.card .ship { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fresh { font-size: 12px; color: var(--muted); }
.fresh.ok { color: var(--accent); font-weight: 650; }
.saving { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 5px 10px; border-radius: 9px; }
.card .insight { font-size: 12px; padding: 6px 10px; border-radius: 10px; background: var(--bg-soft); color: var(--muted); }
.card .insight.good { color: var(--accent); background: var(--accent-soft); font-weight: 650; }
.card .insight.high { color: var(--warn); background: var(--warn-soft); }
.card .reason { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.more-toggle { align-self: flex-start; border: 0; background: none; color: var(--accent); font-size: 13px; font-weight: 650; padding: 2px 0; text-align: left; }
.more-list { list-style: none; margin: 0; padding: 0; font-size: 13px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.more-list li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--border); }
.more-list li:first-child { border-top: 0; }
.more-list a { color: var(--text); font-weight: 550; text-decoration: none; }
.more-list a:hover { text-decoration: underline; }
.more-list b { font-variant-numeric: tabular-nums; }
.card .actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: 10px; }
.btn {
  display: block; text-align: center; padding: 11px 12px; border-radius: 13px; text-decoration: none; border: 1px solid var(--border);
  background: var(--surface); font-size: 14px; font-weight: 650; color: var(--text); transition: background .2s, border-color .2s, transform .1s, box-shadow .2s;
}
.btn:hover { border-color: var(--border-strong); background: var(--bg-soft); }
.btn:active { transform: scale(.985); }
.btn.primary { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 75%, var(--accent-2))); color: var(--accent-ink); border-color: transparent; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn.primary:hover { filter: brightness(1.06); box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn-row.single { grid-template-columns: 1fr; }
.btn-row .btn { font-size: 13px; padding: 9px 4px; }
.card-links { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 12px; }
.details { color: var(--muted); text-decoration: none; }
.details:hover { color: var(--text); text-decoration: underline; }
.report { border: 0; background: none; color: var(--muted); font-size: 12px; padding: 0; }
.report:hover { color: var(--text); text-decoration: underline; }
.rev-panel { border-top: 1px solid var(--border); padding-top: 10px; font-size: 13px; animation: rise .3s var(--ease); }
.rev-panel p { margin: 4px 0; }
.reviews .verdict { font-weight: 750; }
.verdict.recommended { color: var(--accent); } .verdict.not_recommended { color: var(--danger); } .verdict.mixed { color: var(--warn); }
.pc-cols { display: grid; gap: 4px; }
.pc ul, .sources { margin: 2px 0 6px; padding-left: 16px; }
.pc.pros b { color: var(--accent); } .pc.cons b { color: var(--danger); }
.src-title { display: block; margin-top: 6px; }
.small { font-size: 11px; }
.follow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.follow button { border: 1px solid var(--border); background: var(--surface); padding: 8px 15px; border-radius: 99px; font-size: 13px; color: var(--text-2); font-weight: 550; box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s var(--ease); }
.follow button:hover { border-color: var(--accent); color: var(--text); transform: translateY(-1px); }
.more-stores { margin-top: 16px; border: 1.5px dashed color-mix(in srgb, var(--accent) 55%, var(--border)); color: var(--accent); background: transparent; padding: 11px 18px; border-radius: 14px; font-weight: 650; transition: background .2s; }
.more-stores:hover { background: var(--accent-soft); }

/* ------------------------------------------------------------------ buscador */
.composer { padding: 10px 24px 14px; background: linear-gradient(to top, var(--bg) 72%, transparent); position: relative; z-index: 2; }
.composer > * { max-width: 920px; margin-left: auto; margin-right: auto; }
.bar {
  display: flex; align-items: flex-end; gap: 6px; border: 1px solid var(--border-strong); border-radius: 22px;
  padding: 8px; background: var(--surface); box-shadow: var(--shadow-lg); transition: border-color .2s, box-shadow .2s;
}
.bar:focus-within { border-color: var(--accent); box-shadow: var(--ring), var(--shadow-lg); }
.photo { color: var(--muted); padding: 9px; cursor: pointer; border-radius: 13px; display: grid; place-items: center; transition: background .15s, color .15s; }
.photo:hover { background: var(--accent-soft); color: var(--accent); }
textarea { flex: 1; border: 0; outline: 0; resize: none; background: transparent; color: var(--text); font: inherit; font-size: 16px; padding: 10px 4px; max-height: 160px; }
textarea::placeholder { color: var(--muted); }
textarea:focus-visible { outline: none; }
#send { border: 0; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 75%, var(--accent-2))); color: var(--accent-ink); border-radius: 15px; width: 44px; height: 44px; display: grid; place-items: center; transition: transform .1s, filter .2s; box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--accent) 70%, transparent); }
#send:hover { filter: brightness(1.08); }
#send:active { transform: scale(.94); }
#send:disabled { opacity: .45; cursor: default; }
.preview { position: relative; display: inline-block; margin-bottom: 8px; animation: rise .25s var(--ease); }
.preview img { height: 78px; border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.preview button { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--text); color: var(--bg); line-height: 1; }
.hint { font-size: 11.5px; color: var(--muted); text-align: center; margin: 8px auto 0; }
kbd { font: 600 10.5px var(--font); padding: 1px 6px; border-radius: 5px; border: 1px solid var(--border-strong); border-bottom-width: 2px; background: var(--surface); color: var(--text-2); }
.disclaimer { font-size: 11px; color: var(--muted); text-align: center; margin: 4px auto 0; opacity: .85; }
.disclaimer a { color: var(--muted); }

/* ------------------------------------------------------------------ soltar foto */
.dropzone { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(6px); animation: rise .15s; }
.dropzone > div { display: grid; justify-items: center; gap: 6px; padding: 40px 56px; border: 2px dashed var(--accent); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-lg); }
.dropzone span { font-size: 44px; }
.dropzone b { font-size: 18px; }
.dropzone small { color: var(--muted); }

/* ------------------------------------------------------------------ diálogo y avisos */
dialog { border: 1px solid var(--border); border-radius: 22px; background: var(--surface); color: var(--text); padding: 24px; width: min(420px, 92vw); box-shadow: var(--shadow-lg); }
dialog[open] { animation: pop .2s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(6px); } to { opacity: 1; transform: none; } }
dialog::backdrop { background: rgba(8, 9, 8, .5); backdrop-filter: blur(3px); }
dialog h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: -.01em; }
dialog label { display: block; margin: 14px 0; font-size: 14px; font-weight: 550; }
dialog input { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--bg); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s; }
dialog input:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
dialog label.check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; font-weight: 400; }
dialog label.check input { width: auto; margin-top: 3px; }
dialog .row { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
dialog .row button { padding: 10px 18px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-weight: 650; }
dialog .row .primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.toast {
  position: fixed; left: 50%; bottom: 110px; z-index: 30; max-width: min(560px, 92vw); transform: translateX(-50%);
  background: var(--text); color: var(--bg); padding: 13px 18px; border-radius: 14px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg);
  animation: toastIn .3s var(--ease);
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-demo { display: none; }
}
@media (max-width: 900px) {
  .props, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; transform: translateX(-100%); transition: transform .25s var(--ease); width: 84vw; max-width: 310px; }
  .sidebar.open { transform: none; box-shadow: 0 0 80px rgba(0, 0, 0, .4); }
  .topbar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); }
  .menu { border: 0; background: none; font-size: 22px; padding: 4px 6px; }
  .brand-sm { display: flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: -.02em; color: var(--text); text-decoration: none; }
  .chat { padding: 18px 16px 8px; }
  .welcome { padding-top: 2vh; }
  .welcome h1 { font-size: 32px; }
  .lead { font-size: 16px; }
  .examples { grid-template-columns: 1fr; }
  .composer { padding: 8px 12px 12px; }
  .cards { grid-template-columns: 1fr; }
  .msg.user .bubble { max-width: 88%; }
  .disc-long, .hint { display: none; }
  .disclaimer { font-size: 10.5px; }
}

/* ---------- Cuota gratuita y cuenta ---------- */
.quota { margin: 6px 0 0; font-size: 12.5px; color: var(--text-2); text-align: center; }
.quota.none { color: var(--text); font-weight: 650; }
.quota-card { border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; background: var(--surface, var(--bg)); box-shadow: var(--shadow); max-width: 560px; }
.quota-card .text { margin: 0 0 6px; font-weight: 650; }
.quota-card .muted { margin: 0 0 12px; color: var(--text-2); }
.quota-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.quota-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 12px; font-weight: 650; text-decoration: none; }
.quota-actions .btn-primary { background: var(--accent); color: var(--accent-ink); }
.quota-actions .btn-primary:hover { background: var(--accent-hover); }
.quota-actions .btn-ghost { border: 1px solid var(--border-strong, var(--border)); color: var(--text); }
.msg .notice { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--text); font-size: 13.5px; }
.account-link span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--surface, var(--bg)); color: var(--text); padding: 8px 12px; border-radius: 8px; z-index: 50; }
/* Botón de voz: mientras graba, rojo y con pulso (sin depender del color: también cambia aria-pressed) */
.mic { border: 0; background: none; font: inherit; }
.mic.rec { background: #dc2626; color: #fff; animation: mic-pulse 1.2s ease-in-out infinite; }
.mic:disabled { opacity: .5; cursor: progress; }
@keyframes mic-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, .45); } 50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); } }
@media (prefers-reduced-motion: reduce) { .mic.rec { animation: none; } }

/* ---------- Resultados: precio, vendedor, confianza, filtros y comparación ---------- */
.p-cur { font-size: 16px; font-weight: 750; margin-right: 1px; align-self: flex-start; padding-top: 5px; }
.store .seller { color: var(--muted); font-size: 12.5px; margin-left: 4px; }
.stock { font-size: 12px; color: var(--text-2); }
.stock::before { content: "● "; color: #16a34a; }
.results-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.rf { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.rf select, .rf input[type=number] { font: inherit; font-size: 14px; font-weight: 500; color: var(--text); background: var(--bg); border: 1px solid var(--border-strong); border-radius: 10px; padding: 8px 10px; min-height: 40px; }
.rf input[type=number] { width: 110px; }
.rf-check { display: flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14px; font-weight: 550; color: var(--text); }
.rf-check input { width: 18px; height: 18px; accent-color: var(--accent); }
.rf-compare { min-height: 40px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--accent); background: var(--accent-soft); color: var(--text); font: inherit; font-weight: 650; }
.rf-count { margin-left: auto; font-size: 12.5px; color: var(--muted); align-self: center; }
.compare { margin-top: 12px; overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.compare table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.compare th, .compare td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
.compare thead th { font-size: 12px; color: var(--muted); font-weight: 650; }
.compare tbody th { font-weight: 650; }
.compare .num { text-align: right; }
.compare .strong { font-weight: 750; }
.compare .btn.small { display: inline-flex; padding: 6px 12px; border-radius: 9px; border: 1px solid var(--border-strong); color: var(--text); text-decoration: none; font-weight: 600; font-size: 13px; }
.no-results { margin-top: 14px; padding: 14px 16px; border: 1px dashed var(--border-strong); border-radius: 14px; background: var(--surface); max-width: 560px; }
.no-results ul { margin: 8px 0 0; padding-left: 20px; color: var(--text-2); }
@media (max-width: 640px) {
  .results-bar { gap: 10px; }
  .rf { flex: 1 1 140px; }
  .rf input[type=number] { width: 100%; }
  .rf-count { margin-left: 0; width: 100%; }
}

/* ---------- Portada más sobria: menos brillo y menos aire; la tarjeta de ejemplo se marca como tal ---------- */
.welcome { padding-top: 2.5vh; }
.aurora { opacity: .28; animation-duration: 30s; }
.hero { margin-bottom: 22px; }
.hero-demo { min-height: 410px; }
.demo-card, .demo-q, .demo-alert { box-shadow: var(--shadow); }
.demo-example { position: absolute; top: -10px; left: 16px; font-size: 10.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); background: var(--surface); border: 1px solid var(--border); padding: 2px 8px; border-radius: 99px; }
.card { box-shadow: var(--shadow-sm); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.bar { box-shadow: var(--shadow); }
.bar:focus-within { box-shadow: var(--ring), var(--shadow); }
#send { box-shadow: none; }
/* Barra lateral agrupada */
.side-nav { display: grid; gap: 2px; padding-bottom: 6px; border-bottom: 1px solid var(--border); margin-bottom: 2px; }
.market-label { margin: 0 4px; padding: 8px 10px; font-size: 13px; color: var(--text-2); background: var(--bg-soft); border-radius: 10px; }

/* ---------- Marca Gevilens: símbolo "G" con carrito y nombre en minúsculas como en el logo ---------- */
img.logo-mark { border-radius: 24%; filter: none; display: block; }
.wordmark { font-weight: 800; letter-spacing: -.02em; text-transform: lowercase; }
.wordmark .dotcom { color: var(--accent); font-weight: 750; }

/* ---------- Iconos del menú lateral: de línea, mismo trazo y color que el texto ---------- */
.new-chat .new-ic { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.side-ic { flex-shrink: 0; color: var(--muted); transition: color .15s; }
.tracked-link:hover .side-ic { color: var(--accent); }
.new-chat .new-ic .side-ic { color: #fff; stroke-width: 2.4; }
/* Tema claro: letra más negra en ejemplos, buscador y ayudas */
:root:not([data-theme="dark"]) .example { color: var(--text); font-weight: 550; }
:root[data-theme="light"] textarea::placeholder { color: #55566a; opacity: 1; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) textarea::placeholder { color: #55566a; opacity: 1; } }
:root[data-theme="light"] .hint, :root[data-theme="light"] .quota, :root[data-theme="light"] .disclaimer { color: #2e2f42; opacity: 1; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .hint, :root:not([data-theme="dark"]) .quota, :root:not([data-theme="dark"]) .disclaimer { color: #2e2f42; opacity: 1; } }

/* ---------- Menú lateral ordenado: todo alineado en la misma columna (12 px) y la misma línea de texto ---------- */
.sidebar { padding: 18px 14px 16px; gap: 4px; }
.sidebar > .brand { padding: 4px 12px 16px; }
.new-chat { gap: 12px; padding: 11px 12px; margin-bottom: 6px; }
.tracked-link { gap: 12px; padding: 10px 12px; }
.tracked-link .side-ic { margin: 0 3px; }
.side-nav { padding-bottom: 10px; margin-bottom: 4px; }
.history-title { padding: 14px 12px 6px; }
.history li { padding: 8px 12px; }
.market-label { margin: 8px 0 0; padding: 10px 12px; }
.theme-switch { margin: 8px 0 0; }
.theme-switch button { display: grid; place-items: center; padding: 7px 0; }
.legal-links { padding: 12px 12px 0; gap: 6px 14px; }
.legal-links { display: grid; grid-template-columns: 1fr 1fr; }

/* ---------- Guardar y compartir ---------- */
.btn-row.n3 { grid-template-columns: 1fr 1fr 1fr; }
.btn-row.n2 { grid-template-columns: 1fr 1fr; }
.btn-row.n1 { grid-template-columns: 1fr; }
.save-btn.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.rf-share { min-height: 40px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font: inherit; font-weight: 650; }
.rf-share:hover { border-color: var(--accent); }
.btn-row.n3 .btn { white-space: nowrap; font-size: 12.5px; padding: 9px 2px; }
/* Aviso de afiliación junto a las ofertas (visible también en el móvil) */
.aff-note { margin: 12px 0 0; font-size: 13px; color: var(--text-2); }
.aff-note a { font-weight: 600; }
/* Agente: qué ha consultado, qué no pudo confirmar y acciones propuestas */
.agent-info { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.agent-steps { margin: 0; width: 100%; font-size: 12.5px; color: var(--muted); }
.agent-note { margin: 0; width: 100%; font-size: 13px; color: var(--warn); }
.fresh.old { color: var(--warn); }
.badge.probable { color: var(--warn); background: var(--warn-soft); }
.badge.probable::before { content: "≈"; }

/* ---------- Resultados más visuales y fiables ---------- */
.results-head { margin: 16px 0 0; font-size: 17px; font-weight: 750; letter-spacing: -.01em; }
.card .tags { position: absolute; top: -10px; left: 14px; display: flex; gap: 6px; z-index: 1; }
.card .tags .tag { position: static; }
.card .tag.rated { background: #b45309; }
.card .img.no-img { display: grid; place-items: center; font-size: 34px; font-weight: 800; color: var(--muted);
  background: linear-gradient(135deg, var(--accent-soft), var(--bg-soft)); }
.breakdown { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 6px 0 2px; font-size: 13px; }
.breakdown dt { color: var(--muted); }
.breakdown dd { margin: 0; text-align: right; color: var(--text-2); font-variant-numeric: tabular-nums; }
.breakdown dt:nth-last-of-type(1), .breakdown dd:nth-last-of-type(1) { font-weight: 700; color: var(--text); border-top: 1px solid var(--border); padding-top: 2px; }
.tax-note { font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.fresh.warn { color: var(--warn); }
.fresh[title] { cursor: help; }
.spark { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.spark svg { color: var(--accent); flex-shrink: 0; }
.reason b { font-weight: 700; }
/* Categorías populares (lanzan búsquedas reales) */
.cats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -10px 0 24px; }
.cats-title { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.example.cat-chip, .cat-chip { display: inline-flex; width: auto; padding: 8px 14px; border-radius: 99px; font-size: 14px; font-weight: 600;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); box-shadow: none; cursor: pointer; }
.example.cat-chip:hover, .cat-chip:hover { border-color: var(--accent); transform: none; }
.photo-chip { border-color: var(--accent); background: var(--accent-soft); }
@media (max-width: 760px) { .cats { margin-top: -8px; } .cat-chip { font-size: 13px; padding: 7px 12px; } }
.card .img.no-img { aspect-ratio: auto; height: 64px; font-size: 26px; }
/* Todas las categorías (las extra se despliegan) y "Búscalo también en" las grandes tiendas de EE. UU. */
.cat-chip[hidden] { display: none; }
.cat-all { border-style: dashed; color: var(--accent); }
.big-stores { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); font-size: 14px; }
.big-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.big-links a { padding: 5px 11px; border-radius: 99px; border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 600; font-size: 13px; }
.big-links a:hover { border-color: var(--accent); color: var(--accent); }
.big-note { margin: 8px 0 0; font-size: 11.5px; color: var(--muted); }
.no-rev { font-size: 12.5px; color: var(--muted); margin: 2px 0; }
/* Confianza: retirada oficial, precio sospechoso, devoluciones, ficha de la tienda, mismo modelo */
.recall { margin: 0 0 8px; padding: 8px 10px; border-radius: 10px; font-size: 13px; line-height: 1.35; background: #fdecec; color: #8a1c1c; border: 1px solid #f3b4b4; }
.recall.possible { background: #fff6e5; color: #7a4b00; border-color: #f3d28b; }
.recall b { display: block; margin-bottom: 2px; }
.recall a { color: inherit; font-weight: 600; }
.suspicious { margin-top: 6px; padding: 6px 8px; border-radius: 8px; font-size: 12.5px; background: #fff6e5; color: #7a4b00; }
.returns { font-size: 12.5px; color: var(--text-2); margin-top: 4px; }
.returns.none { color: var(--warn); }
.store-trust { font-size: 12px; color: var(--muted); margin: 2px 0 4px; }
.same-model { font-size: 12.5px; font-weight: 600; color: var(--accent); margin-top: 8px; }
.more-list .sus { margin-left: 6px; font-size: 11.5px; color: var(--warn); }
.insight-alert { margin-left: 4px; padding: 2px 8px; border-radius: 99px; border: 1px solid currentColor; background: transparent; color: inherit; font: inherit; font-size: 12px; cursor: pointer; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .recall { background: #3a1616; color: #ffc9c9; border-color: #6b2a2a; }
  :root:not([data-theme="light"]) .recall.possible, :root:not([data-theme="light"]) .suspicious { background: #3a2c10; color: #ffe0a3; border-color: #6b5320; }
}
:root[data-theme="dark"] .recall { background: #3a1616; color: #ffc9c9; border-color: #6b2a2a; }
:root[data-theme="dark"] .recall.possible, :root[data-theme="dark"] .suspicious { background: #3a2c10; color: #ffe0a3; border-color: #6b5320; }
.feedback { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.feedback button, .watch-drop { padding: 5px 11px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.feedback button:hover, .watch-drop:hover { border-color: var(--accent); }
.watch-drop { margin-top: 6px; width: 100%; color: var(--accent); font-weight: 600; }
/* Lo que pediste, comprobado oferta por oferta */
.needs { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; margin: 8px 0 2px; font-size: 12px; }
.needs-title { color: var(--muted); margin-right: 2px; }
.need { padding: 2px 8px; border-radius: 99px; border: 1px solid var(--border); }
.need.yes { color: #0f7a3d; border-color: #b6e2c6; background: #effaf3; }
.need.no { color: #a61b1b; border-color: #f3b4b4; background: #fdecec; }
.need.unk { color: var(--muted); border-style: dashed; cursor: help; }
:root[data-theme="dark"] .need.yes { color: #9be3b4; background: #12301f; border-color: #24583a; }
:root[data-theme="dark"] .need.no { color: #ffc9c9; background: #3a1616; border-color: #6b2a2a; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .need.yes { color: #9be3b4; background: #12301f; border-color: #24583a; }
  :root:not([data-theme="light"]) .need.no { color: #ffc9c9; background: #3a1616; border-color: #6b2a2a; }
}
