/* Writers-Publishing — una sola hoja. Paleta de la portada de Hacking Literary Innovation. */
:root {
  --orange: #DE590E;
  --orange-dark: #B8480A;
  --orange-soft: #F6D9C6;
  --ink: #1E1E1E;
  --grey: #E5E7E7;
  --grey-2: #D3D6D6;
  --muted: #5B6061;
  --white: #FFFFFF;
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --text: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1160px;
  --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--text); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--white); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: .005em; margin: 0 0 .5em; text-transform: none; }
h1 { font-size: clamp(2.8rem, 6.5vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.55rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 720px; margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--ink); color: var(--white); padding: .5rem 1rem; z-index: 100; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── botones y etiquetas ──────────────────────────────────────────────────────── */
.btn { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; padding: .8rem 1.5rem; border-radius: var(--radius); border: 2px solid var(--orange); background: var(--orange); color: var(--white); cursor: pointer; line-height: 1.1; }
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: var(--grey); border-color: var(--grey); color: var(--ink); }
.btn--off { background: var(--grey-2); border-color: var(--grey-2); color: var(--muted); cursor: default; }
.btn[disabled] { opacity: .6; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }
.eyebrow { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase;
  background: var(--ink); color: var(--white); padding: .3rem .7rem; border-radius: var(--radius); margin-bottom: 1.2rem; }
.eyebrow--orange { background: var(--orange); }
.meta { color: var(--muted); font-size: .95rem; margin-top: 1rem; }
.lede { font-size: 1.25rem; color: #333; }
.deck { font-size: 1.3rem; line-height: 1.5; }

/* ── cabecera ─────────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--grey-2); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: .02em; text-transform: uppercase; }
.logo-mark { display: grid; place-items: center; width: 34px; height: 34px; background: var(--orange); color: var(--white); border-radius: var(--radius); font-size: 1.3rem; }
.logo span.light { font-weight: 500; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover { color: var(--orange); }
.nav a.cta { background: var(--orange); color: var(--white); padding: .5rem .95rem; border-radius: var(--radius); }
.nav a.cta:hover { background: var(--orange-dark); }
.nav-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: var(--radius); font: 700 .95rem var(--text); padding: .35rem .7rem; cursor: pointer; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--grey-2); padding: .5rem 1.25rem 1rem; }
  .nav.open { display: flex; }
  .nav a { padding: .7rem 0; border-bottom: 1px solid var(--grey); }
  .nav a.cta { text-align: center; margin-top: .8rem; border: 0; }
}

/* ── secciones ────────────────────────────────────────────────────────────────── */
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.bg-grey { background: var(--grey); }
.bg-dark { background: var(--ink); color: var(--white); }
.bg-dark a:not(.btn) { color: var(--orange-soft); }
.bg-orange { background: var(--orange); color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ── hero ─────────────────────────────────────────────────────────────────────── */
.hero { background: var(--grey); padding: clamp(3rem, 7vw, 6rem) 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: var(--orange); text-transform: uppercase; }
.hero h1 .ink { color: var(--ink); }
.hero .sub { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.1; margin-bottom: 1.2rem; }
.hero-cover img { width: min(420px, 100%); margin-inline: auto; box-shadow: 0 30px 60px -25px rgba(0,0,0,.45); border-radius: 2px; }
.cover-fan { position: relative; height: 440px; }
.cover-fan img { position: absolute; width: 230px; top: 50%; left: 50%; border-radius: 2px; box-shadow: 0 25px 50px -20px rgba(0,0,0,.5); }
.cover-fan img:nth-child(1) { transform: translate(-105%, -46%) rotate(-7deg); }
.cover-fan img:nth-child(2) { transform: translate(5%, -46%) rotate(7deg); }
.cover-fan img:nth-child(3) { transform: translate(-50%, -52%); z-index: 2; width: 250px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero--book .hero-cover { order: -1; }
  .hero--book .hero-cover img { width: min(260px, 70%); }
  .cover-fan { height: 280px; overflow: hidden; }
  .cover-fan img { width: 130px; }
  .cover-fan img:nth-child(1) { transform: translate(-95%, -46%) rotate(-7deg); }
  .cover-fan img:nth-child(2) { transform: translate(-5%, -46%) rotate(7deg); }
  .cover-fan img:nth-child(3) { width: 150px; }
  .eyebrow { font-size: .82rem; letter-spacing: .08em; }
}

/* ── tarjetas ─────────────────────────────────────────────────────────────────── */
.card { background: var(--white); border: 1px solid var(--grey-2); border-radius: var(--radius); padding: 1.8rem; }
.bg-grey .card { border-color: transparent; }
.card-num { font-family: var(--display); font-weight: 800; font-size: 3.4rem; line-height: 1; color: var(--orange); margin-bottom: .4rem; }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.ticks { list-style: none; padding: 0; margin: 1rem 0 0; }
.ticks li { padding-left: 1.3rem; position: relative; margin-bottom: .35rem; font-size: .98rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: .55rem; height: .55rem; background: var(--orange); }

/* ── libros ───────────────────────────────────────────────────────────────────── */
.books { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2.2rem 1.6rem; }
.book { margin: 0; display: flex; flex-direction: column; }
.book a.cover-link { display: block; }
.book img, .book .cover-ph { aspect-ratio: 2 / 3; width: 100%; object-fit: cover; border-radius: 2px; box-shadow: 0 16px 30px -18px rgba(0,0,0,.5); background: var(--grey); }
.cover-ph { display: grid; place-items: center; text-align: center; padding: 1rem; font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; color: var(--orange); border: 2px solid var(--ink); }
.book figcaption { margin-top: .9rem; }
.book strong { display: block; font-family: var(--display); font-size: 1.3rem; line-height: 1.05; }
.book .book-sub { display: block; color: var(--muted); font-size: .92rem; line-height: 1.35; margin-top: .25rem; }
.book .book-links { margin-top: .6rem; display: flex; gap: .8rem; flex-wrap: wrap; font-weight: 600; font-size: .95rem; }
.book .vol { font-family: var(--display); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.series-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; background: var(--ink); color: var(--white); padding: 1.6rem 2rem; border-radius: var(--radius); margin-bottom: 3rem; }
.series-band h2 { margin: 0; font-size: 2rem; }
.series-band p { margin: 0; color: var(--grey-2); }

/* ── página de libro ──────────────────────────────────────────────────────────── */
.problem p { font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.5; }
.problem h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.figure-box { background: var(--white); border-radius: var(--radius); padding: 1.5rem; }
.figure-box figcaption { text-align: center; font-family: var(--display); font-weight: 700; font-size: 1.35rem; margin-top: .6rem; }
.legend { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; font-size: .95rem; margin-top: .4rem; }
.legend span::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: .4rem; vertical-align: -2px; border-radius: 2px; }
.legend .a::before { background: var(--ink); }
.legend .b::before { background: var(--orange); }
.novels { columns: 3 220px; column-gap: 2rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.novels li { break-inside: avoid; padding: .45rem 0; border-bottom: 1px solid var(--grey-2); font-style: italic; font-size: 1.1rem; }
.novels li.own { font-style: normal; color: var(--orange-dark); font-weight: 600; }
details.part { border-top: 2px solid var(--ink); }
details.part:last-of-type { border-bottom: 2px solid var(--ink); }
details.part summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; }
details.part summary::-webkit-details-marker { display: none; }
details.part summary::after { content: "+"; position: absolute; right: .2rem; top: .7rem; font-size: 2rem; color: var(--orange); }
details.part[open] summary::after { content: "−"; }
details.part summary small { display: block; font-family: var(--text); font-weight: 600; font-size: 1.05rem; text-transform: none; color: var(--orange-dark); margin-top: .1rem; }
details.part p { padding: 0 0 1.2rem; margin: 0; }
.footnote { color: var(--muted); font-size: .98rem; margin-top: 1.6rem; }
.for-not h3 { color: var(--orange); font-size: 1.2rem; letter-spacing: .1em; text-transform: uppercase; }
.author { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 3rem; align-items: center; }
.author img { border-radius: var(--radius); filter: grayscale(1); }
@media (max-width: 760px) { .author { grid-template-columns: 1fr; } .author img { max-width: 220px; } }
.buy { display: grid; gap: 1rem; max-width: 760px; }
.buy-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: var(--white); padding: 1.3rem 1.6rem; border-radius: var(--radius); }
.buy-row strong { font-family: var(--display); font-size: 1.5rem; display: block; line-height: 1; }
.buy-row span { color: var(--muted); }

/* ── formularios ──────────────────────────────────────────────────────────────── */
.form { display: grid; gap: .9rem; max-width: 520px; }
.form label { font-weight: 600; font-size: .95rem; }
.form input[type=text], .form input[type=email] { width: 100%; font: 400 1.05rem var(--text); padding: .8rem .9rem; border: 2px solid var(--grey-2); border-radius: var(--radius); background: var(--white); }
.form input:focus { outline: none; border-color: var(--orange); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; align-items: start; font-size: .95rem; line-height: 1.45; font-weight: 400 !important; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); }
.microcopy { font-size: .88rem; color: var(--muted); margin: 0; }
.form-msg { min-height: 1.4em; font-weight: 600; color: var(--orange-dark); margin: 0; }
.trap { position: absolute; left: -5000px; }
.landing { min-height: 100vh; background: var(--grey); }
.landing-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.landing .panel { background: var(--white); padding: 2rem; border-radius: var(--radius); border-top: 6px solid var(--orange); }
@media (max-width: 860px) { .landing-grid { grid-template-columns: 1fr; } }

/* ── radar ────────────────────────────────────────────────────────────────────── */
.radar { width: 100%; max-width: 560px; margin-inline: auto; font-family: var(--text); }
.rd-band { fill: var(--orange-soft); stroke: none; }
.rd-hole { fill: var(--white); stroke: var(--grey-2); stroke-width: 1; }
.rd-zero { fill: none; stroke: #9aa0a1; stroke-width: 1; stroke-dasharray: 3 3; }
.rd-rim { fill: none; stroke: var(--ink); stroke-width: 2; }
.rd-spoke { stroke: #b9bdbe; stroke-width: 1; }
.rd-n { font-family: var(--display); font-weight: 700; font-size: 14px; fill: var(--ink); }
.rd-lab { font-size: 12px; fill: var(--muted); }
.rd-scale { font-size: 11px; fill: var(--muted); }
.rd-poly { fill-opacity: .18; stroke-width: 2.5; stroke-linejoin: round; }
.rd-poly.a { fill: var(--ink); stroke: var(--ink); }
.rd-poly.b { fill: var(--orange); stroke: var(--orange); fill-opacity: .35; }
.rd-dot.a { fill: var(--ink); }
.rd-dot.b { fill: var(--orange); }

/* ── scorecard ────────────────────────────────────────────────────────────────── */
.sc { width: min(760px, 100% - 2.5rem); margin-inline: auto; }
.sc-step { background: var(--white); border: 0; border-radius: var(--radius); padding: 2rem; margin: 0; border-top: 6px solid var(--orange); min-width: 0; }
.sc-step legend { float: left; width: 100%; padding: 0; font-family: var(--display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-dark); font-size: 1rem; }
.sc-step legend + * { clear: both; }
@media (max-width: 600px) { .sc-step, .sc-result { padding: 1.4rem; } }
.sc-step h2 { margin: .2rem 0 .3rem; }
.sc-class { display: inline-block; font-size: .85rem; font-weight: 700; background: var(--grey); padding: .15rem .55rem; border-radius: var(--radius); margin-left: .4rem; vertical-align: middle; }
.sc-value { font-family: var(--display); font-weight: 800; font-size: 4rem; line-height: 1; color: var(--orange); }
.sc-band { font-weight: 600; color: var(--muted); }
.sc input[type=range] { width: 100%; accent-color: var(--orange); margin: 1rem 0 .3rem; }
.sc-ticks { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.sc-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.sc-tags label { border: 2px solid var(--grey-2); border-radius: var(--radius); padding: .35rem .7rem; cursor: pointer; font-weight: 600; font-size: .95rem; }
.sc-tags input { accent-color: var(--orange); }
.sc-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.sc-progress { height: 6px; background: var(--grey-2); border-radius: 3px; margin-bottom: 1.2rem; overflow: hidden; }
.sc-progress span { display: block; height: 100%; background: var(--orange); width: 0; transition: width .2s; }
.sc-result { background: var(--white); border-radius: var(--radius); padding: 2rem; }
.sc-counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; margin: 1.2rem 0; }
.sc-counts div { background: var(--grey); padding: 1rem; border-radius: var(--radius); }
.sc-counts strong { display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--orange); }
.sc-verdict { font-size: 1.15rem; border-left: 5px solid var(--orange); padding: .4rem 0 .4rem 1rem; }
.sc-share { display: flex; gap: .5rem; margin: 1rem 0; }
.sc-share input { flex: 1; min-width: 0; font: .9rem var(--text); padding: .6rem; border: 2px solid var(--grey-2); border-radius: var(--radius); }
.void { color: var(--orange-dark); font-weight: 700; }

/* ── scoring sheet (apéndice A) — todo acotado a .ss ─────────────────────────── */
.ss { --line: var(--grey-2); --line-2: #ebece7; --ink-2: #4a4f57; --ink-3: var(--muted);
  --R: #3b5b8c; --C: #4f7a4a; --P: var(--orange-dark); --warn: #b7791f; --warn-bg: #fbf3e3; --bad: #a83232; --bad-bg: #f9e9e7; --ok: #2f6b46; --ok-bg: #e7f2ea;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 16px; line-height: 1.5; }
.ss .muted { font-size: .85rem; color: var(--ink-3); }
.ss-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.ss button { font: 600 .9rem var(--text); border: 1px solid var(--line); background: var(--white); color: var(--ink); padding: .45rem .8rem; border-radius: var(--radius); cursor: pointer; }
.ss button.primary { background: var(--orange); border-color: var(--orange); color: var(--white); }
.ss input:focus-visible, .ss select:focus-visible, .ss textarea:focus-visible, .ss button:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; }
.ss-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .8rem 1rem; background: var(--white); border: 1px solid var(--line); padding: 1rem; margin-bottom: 1rem; border-radius: var(--radius); }
.ss-meta .full { grid-column: 1 / -1; }
.ss label.f { display: flex; flex-direction: column; gap: .25rem; font-size: .75rem; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.ss label.f input, .ss label.f select, .ss label.f textarea { font: 1rem var(--text); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: .25rem 0; letter-spacing: 0; text-transform: none; }
.ss .hint { font-size: .78rem; color: var(--ink-3); text-transform: none; letter-spacing: 0; font-weight: 400; }
.ss .inline { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: baseline; }
.ss .inline input { width: auto; min-width: 90px; }
.ss-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1rem; align-items: start; }
@media (max-width: 900px) { .ss-grid { grid-template-columns: 1fr; } }
.ss-sheet { background: var(--white); border: 1px solid var(--line); overflow-x: auto; border-radius: var(--radius); }
.ss table { border-collapse: collapse; width: 100%; min-width: 720px; }
.ss th { font: 600 .7rem var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); }
.ss td { padding: .35rem .5rem; border-bottom: 1px solid var(--line-2); vertical-align: middle; font-size: .95rem; }
.ss tr.class-R td.cls { color: var(--R); } .ss tr.class-C td.cls { color: var(--C); } .ss tr.class-P td.cls { color: var(--P); }
.ss td.cls { font: 600 .8rem var(--mono); border-left: 3px solid currentColor; }
.ss td.n { font: 600 .82rem var(--mono); color: var(--ink-3); width: 28px; }
.ss td.row { font-weight: 600; white-space: nowrap; }
.ss td.row small { display: block; font-weight: 400; color: var(--ink-3); font-size: .74rem; white-space: normal; }
.ss td.score input { width: 64px; font: 600 .95rem var(--mono); text-align: center; border: 1px solid var(--line); background: transparent; color: var(--ink); padding: .3rem .25rem; border-radius: 3px; }
.ss td.tag select, .ss td.tag input { font: .9rem var(--mono); border: 1px solid var(--line); background: transparent; color: var(--ink); padding: .3rem; border-radius: 3px; width: 100%; }
.ss td.just input { width: 100%; font: .9rem var(--text); border: 0; border-bottom: 1px solid var(--line-2); background: transparent; color: var(--ink); padding: .3rem 0; }
.ss tr.void td.score, .ss tr.void td.tag, .ss tr.void td.just { background: repeating-linear-gradient(45deg, #e9eae5 0 6px, #f5f5f1 6px 12px); }
.ss tr.void td.score input { visibility: hidden; }
.ss .void-mark { font: 600 .75rem var(--mono); color: var(--ink-2); letter-spacing: .12em; padding-left: .4rem; }
.ss .pill { display: inline-block; font: 600 .7rem var(--mono); padding: .1rem .45rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); margin-left: .4rem; vertical-align: middle; }
.ss .pill.break { border-color: var(--orange); color: var(--orange-dark); }
.ss-side { display: flex; flex-direction: column; gap: .9rem; }
.ss-card { background: var(--white); border: 1px solid var(--line); padding: .9rem 1rem; border-radius: var(--radius); }
.ss-card h2 { font-size: 1.35rem; margin-bottom: .5rem; }
.ss .count { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: .5rem 0 .4rem; }
.ss .count div { text-align: center; padding: .6rem .4rem; border: 1px solid var(--line-2); }
.ss .count b { display: block; font: 700 1.6rem/1 var(--mono); }
.ss .count span { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ss .count .R b { color: var(--R); } .ss .count .C b { color: var(--C); } .ss .count .P b { color: var(--P); }
.ss .verdicts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.ss .verdicts li { font-size: .85rem; padding: .5rem .6rem; border-left: 3px solid var(--line); background: var(--grey); }
.ss .verdicts li.ok { border-color: var(--ok); background: var(--ok-bg); }
.ss .verdicts li.warn { border-color: var(--warn); background: var(--warn-bg); }
.ss .verdicts li.bad { border-color: var(--bad); background: var(--bad-bg); }
.ss .saved-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem; font-size: .85rem; }
.ss-lines { background: var(--white); border: 1px solid var(--line); padding: 1rem; margin-top: 1rem; border-radius: var(--radius); }
.ss-lines h2 { font-size: 1.6rem; }
.ss-lines ol { margin: 0; padding-left: 1.4rem; display: flex; flex-direction: column; gap: .75rem; }
.ss-lines li { color: var(--ink-2); }
.ss-lines li b { color: var(--ink); font-weight: 600; }
.ss-lines textarea, .ss-lines input, .ss-lines select { font: .95rem var(--text); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: .25rem 0; margin-top: .25rem; }
.ss-lines textarea { width: 100%; resize: vertical; }
.ss .cmp { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .6rem; margin-top: .6rem; }
.ss .cmp > div { border: 1px solid var(--line-2); padding: .6rem; font-size: .85rem; }
.ss .cmp b { font-family: var(--mono); font-weight: 600; }
.ss .cmp-verdict { grid-column: 1 / -1; }
.ss .cmp-verdict.ok { border-color: var(--ok) !important; } .ss .cmp-verdict.warn { border-color: var(--warn) !important; }
.ss-toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--ink); color: var(--white); padding: .55rem .9rem; border-radius: var(--radius); font-size: .85rem; opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 60; }
.ss-toast.show { opacity: 1; }
@media print {
  .site-header, .site-footer, .ss-actions, .ss-saved, .ss-toast, .ss .noprint { display: none !important; }
  .ss-intro { padding: 0 !important; background: #fff !important; }
  .ss-grid { grid-template-columns: 1fr; }
  .ss table { min-width: 0; }
  section { padding: .5rem 0 !important; }
}

/* ── prosa (privacidad, submit) ───────────────────────────────────────────────── */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.9rem; margin-top: 2.2rem; }
.steps-list { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 1rem; }
.steps-list li { counter-increment: s; position: relative; padding: 1.2rem 1.4rem 1.2rem 4.4rem; background: var(--white); border-radius: var(--radius); }
.steps-list li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 1.2rem; top: .9rem; font-family: var(--display); font-weight: 800; font-size: 2.2rem; color: var(--orange); }
.steps-list strong { font-family: var(--display); font-size: 1.35rem; display: block; }
.retailers { display: flex; flex-wrap: wrap; gap: .6rem 2.2rem; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
pre.mail { white-space: pre-wrap; background: var(--white); padding: 1rem 1.2rem; border-radius: var(--radius); font-size: .92rem; border-left: 5px solid var(--orange); }

/* ── pie ──────────────────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--grey-2); padding: 3.5rem 0 2rem; font-size: .95rem; }
.site-footer a { color: var(--grey-2); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.site-footer h4 { color: var(--white); font-size: 1.1rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer .logo { color: var(--white); margin-bottom: .8rem; }
.footer-bottom { border-top: 1px solid #3a3a3a; margin-top: 2.5rem; padding-top: 1.2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.fine-print { margin-top: 1.4rem; font-size: .74rem; line-height: 1.5; color: #8c9192; }
.fine-print strong { color: #b3b7b8; font-weight: 600; }
.fine-print ul { list-style: none; padding: 0; margin: .3rem 0 0; }
.fine-print li { display: inline; margin: 0; }
.fine-print li + li::before { content: " · "; }
.mini-footer { padding: 1.5rem 0; text-align: center; font-size: .9rem; color: var(--muted); }
.mini-footer a { color: var(--muted); }
