/* Estilos de las páginas estáticas generadas por scraper/paginas.py (mismo look que la web) */
:root { color-scheme: dark; --bg: #0a0a0b; --fg: #ececee; --muted: #9b9ba2; --faint: #67676e; --line: #222226; --line-2: #34343a; --tile: #e4e4e7; --solid: #ececee; --solid-fg: #0a0a0b; --down: #4ade80; --up: #f87171; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 15px/1.5 "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif; font-variant-numeric: tabular-nums; }
a { color: var(--fg); }
.wrap { max-width: 1000px; margin: 0 auto; padding-inline: 20px; }
header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 18px; }
.mark { font-weight: 700; font-size: 17px; text-decoration: none; }
.mark span { color: var(--faint); }
header nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; }
header nav a { color: var(--muted); text-decoration: none; }
header nav a:hover { color: var(--fg); }
main { padding-block: 28px 16px; }
h1 { font-size: 26px; line-height: 1.2; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h2 { font-size: 17px; margin: 36px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumb a { color: var(--muted); }
.head { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: flex-start; }
.head > div { flex: 1 1 420px; min-width: 0; }
.thumb { width: 112px; height: 112px; object-fit: contain; background: var(--tile); border-radius: 8px; padding: 6px; mix-blend-mode: normal; }
.muted { color: var(--muted); }
.big { margin: 14px 0 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.big b { font-size: 34px; letter-spacing: -.02em; }
s { color: var(--muted); }
.down { color: var(--down); font-weight: 600; }
.up { color: var(--up); font-weight: 600; }
.note { color: var(--muted); font-size: 14px; }
.verdict { padding: 12px 14px; border: 1px solid currentColor; border-radius: 8px; font-weight: 400; max-width: 640px; }
.verdict b { font-weight: 700; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 6px; border: 1px solid var(--line-2); text-decoration: none; font-weight: 500; }
.btn.solid { background: var(--solid); color: var(--solid-fg); border-color: var(--solid); font-weight: 600; }
.chart { display: block; width: 100%; height: auto; }
.chart text { font: 13px "Public Sans", system-ui, sans-serif; fill: var(--muted); }
.chart .g { stroke: var(--line); }
.chart .l { fill: none; stroke: var(--fg); stroke-width: 2; stroke-linejoin: round; }
.chart circle.down { fill: var(--down); }
.chart circle.up { fill: var(--up); }
.chart text.down { fill: var(--down); }
.chart text.up { fill: var(--up); }
.chart text.b { font-weight: 600; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-weight: 500; color: var(--muted); padding: 8px 0; border-bottom: 1px solid var(--line-2); }
td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.r { text-align: right; }
.list { list-style: none; margin: 18px 0 0; padding: 0; }
.list li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.list li a { text-decoration: none; min-width: 0; }
.list li a:hover { text-decoration: underline; }
.list .r { white-space: nowrap; text-align: right; }
.list .r small { display: block; font-size: 12px; }
footer { margin-top: 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer .wrap { padding-block: 24px 40px; }
footer p { margin: 0; max-width: 560px; }
@media (max-width: 600px) { .wrap { padding-inline: 16px; } h1 { font-size: 22px; } .big b { font-size: 28px; } .thumb { width: 80px; height: 80px; } }
