/* =========================================================
   CV ATS · RapidTools — estilos
   ========================================================= */
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #f6f5f1; --bg2: #eeece6; --panel: #ffffff; --ink: #15171b; --ink2: #3d424b; --muted: #6b7079;
  --line: #e4e1d9; --line2: #d3cfc5; --accent: #0b6e4f; --accent-ink: #ffffff; --accent-soft: #e6f1ec; --accent-text: #0a5c42;
  --warn: #a35a07; --warn-soft: #fbf0df; --bad: #b42318; --bad-soft: #fdecea; --ok: #0b6e4f; --ok-soft: #e6f1ec;
  --shadow: 0 1px 2px rgba(20, 20, 15, .05), 0 6px 24px rgba(20, 20, 15, .06); --shadow-lg: 0 14px 44px rgba(20, 20, 15, .16);
  --r: 14px; --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --coffee: #b85a1f; --coffee-ink: #fff; --coffee-soft: #fff3e6; --coffee-text: #8a3f12; --coffee-line: #f3d6bb;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1113; --bg2: #171a1d; --panel: #15181b; --ink: #eef0f2; --ink2: #c4c9cf; --muted: #8b929b; --line: #262b30; --line2: #353b42;
    --accent: #45b98d; --accent-ink: #062018; --accent-soft: #12271f; --accent-text: #6fd3ab;
    --warn: #f0b05a; --warn-soft: #2a1f10; --bad: #ff7b6e; --bad-soft: #2a1513; --ok: #6fd3ab; --ok-soft: #12271f;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 24px rgba(0,0,0,.25); --shadow-lg: 0 14px 44px rgba(0,0,0,.5);
    --coffee: #f0a05f; --coffee-ink: #1d1006; --coffee-soft: #2a1a0f; --coffee-text: #f6bb85; --coffee-line: #4a2e19; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1113; --bg2: #171a1d; --panel: #15181b; --ink: #eef0f2; --ink2: #c4c9cf; --muted: #8b929b; --line: #262b30; --line2: #353b42;
  --accent: #45b98d; --accent-ink: #062018; --accent-soft: #12271f; --accent-text: #6fd3ab;
  --warn: #f0b05a; --warn-soft: #2a1f10; --bad: #ff7b6e; --bad-soft: #2a1513; --ok: #6fd3ab; --ok-soft: #12271f;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 24px rgba(0,0,0,.25); --shadow-lg: 0 14px 44px rgba(0,0,0,.5);
  --coffee: #f0a05f; --coffee-ink: #1d1006; --coffee-soft: #2a1a0f; --coffee-text: #f6bb85; --coffee-line: #4a2e19; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
a { color: var(--accent-text); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--panel); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 28px; } }

/* ---------- barra superior ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.3) blur(10px); -webkit-backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; gap: 14px; height: 58px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 750; letter-spacing: -.02em; }
.brand svg { width: 28px; height: 28px; color: #2f5bea; }
.brand small { font-weight: 600; color: var(--muted); font-size: 14px; padding-left: 9px; border-left: 1px solid var(--line2); }
.topnav { margin-left: auto; display: flex; gap: 2px; }
.topnav a { color: var(--ink2); text-decoration: none; font-size: 14px; padding: 7px 10px; border-radius: 8px; white-space: nowrap; }
.topnav a:hover, .topnav a[aria-current="page"] { background: var(--bg2); color: var(--ink); }
.coffee-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px; border-radius: 99px; background: var(--coffee-soft); border: 1px solid var(--coffee-line); color: var(--coffee-text); font-weight: 650; font-size: 14px; text-decoration: none; white-space: nowrap; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; color: var(--ink2); }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; } :root[data-theme="dark"] .i-moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .i-sun { display: none; } :root:not([data-theme="light"]) .i-moon { display: block; } }
@media (max-width: 900px) { .topnav { display: none; } .coffee-btn { margin-left: auto; } }
@media (max-width: 640px) { .coffee-btn { width: 44px; height: 44px; padding: 0; justify-content: center; } .coffee-btn span { display: none; } .icon-btn { width: 44px; height: 44px; } .brand small { display: none; } }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 11px; border: 1px solid transparent; font-weight: 650; font-size: 15px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 86%, #000); }
.btn--ghost { background: var(--panel); border-color: var(--line2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--muted); }
.btn--soft { background: var(--accent-soft); color: var(--accent-text); }
.btn--big { min-height: 56px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.btn--coffee { background: var(--coffee); color: var(--coffee-ink); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent-text); font-weight: 600; cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- héroe ---------- */
.hero { padding-top: 36px; padding-bottom: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 650; color: var(--accent-text); letter-spacing: .02em; text-transform: uppercase; }
.hero h1 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; letter-spacing: -.035em; margin-top: 10px; max-width: 860px; text-wrap: balance; }
.hero p { margin: 12px 0 0; font-size: 18px; color: var(--ink2); max-width: 680px; }
@media (max-width: 640px) { .hero { padding-top: 22px; } .hero p { font-size: 16px; } }

/* ---------- selector de modo ---------- */
.modes { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--bg2); border-radius: 14px; margin: 18px 0 18px; }
.modes button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 11px; background: transparent; font-weight: 650; color: var(--ink2); cursor: pointer; }
.modes button[aria-selected="true"] { background: var(--ink); color: var(--panel); box-shadow: var(--shadow); }
@media (max-width: 640px) { .modes { display: grid; width: 100%; } .modes button { padding: 0 10px; font-size: 15px; } }

/* ---------- pasos del análisis ---------- */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.step { padding: 22px; min-width: 0; }
.step + .step { border-left: 1px solid var(--line); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step + .step { border-left: 0; border-top: 1px solid var(--line); } }
.step__h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.step__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--panel); font-weight: 750; font-size: 14px; flex: none; }
.step__h h2 { font-size: 17px; letter-spacing: -.01em; }
.step__h .tag { margin-left: auto; }
.src-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.src-tabs button { min-height: 36px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line2); background: var(--panel); font-size: 14px; font-weight: 600; color: var(--ink2); cursor: pointer; }
.src-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--panel); }
.drop { display: grid; place-items: center; text-align: center; gap: 6px; min-height: 196px; padding: 18px; border: 1.5px dashed var(--line2); border-radius: 14px; background: var(--bg); cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.drop .ico { width: 30px; height: 30px; color: var(--accent-text); }
.drop b { font-size: 16px; }
.drop small { color: var(--muted); }
.file-ok { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: var(--ok-soft); border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent); }
.file-ok .ico { color: var(--ok); }
.file-ok div { flex: 1; min-width: 0; }
.file-ok b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-ok small { color: var(--ink2); }
textarea, input:not([type=checkbox]):not([type=file]):not([type=color]), select {
  width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel); color: var(--ink); font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; line-height: 1.5; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.big-ta { min-height: 196px; }
.hint { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.alert { margin-top: 10px; padding: 11px 13px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); font-size: 14px; font-weight: 550; }
.go { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 18px 0 8px; }
.privacy { display: inline-flex; align-items: center; gap: 8px; color: var(--ink2); font-size: 14px; }
.privacy .ico { color: var(--ok); width: 18px; height: 18px; }
@media (max-width: 640px) { .go .btn--big { width: 100%; } }

/* ---------- resultados ---------- */
.results { margin-top: 28px; scroll-margin-top: 80px; }
.results:focus { outline: none; }
.res-head { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.score { padding: 30px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; background: linear-gradient(180deg, var(--accent-soft), transparent 80%); border-right: 1px solid var(--line); }
.score__ring { position: relative; width: 196px; height: 196px; }
.score__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score__ring circle { fill: none; stroke-width: 12; }
.score__ring .trk { stroke: color-mix(in srgb, var(--ink) 9%, transparent); }
.score__ring .val { stroke: var(--sc, var(--accent)); stroke-linecap: round; transition: stroke-dashoffset .9s cubic-bezier(.2,.8,.2,1); }
.score__num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.score__num b { font-size: 60px; font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.score__num span { font-size: 15px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.score__cap { margin-top: 16px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.score__label { margin-top: 4px; font-size: 21px; font-weight: 750; letter-spacing: -.02em; color: var(--sc, var(--ink)); }
.score__note { margin-top: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.cats { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; gap: 15px; }
.cats h2 { font-size: 15px; letter-spacing: .02em; color: var(--muted); text-transform: uppercase; font-weight: 700; margin-bottom: 2px; }
.cat { display: grid; grid-template-columns: 170px minmax(0, 1fr) 48px; gap: 4px 14px; align-items: center; }
.cat__l { font-weight: 650; font-size: 15px; }
.cat__bar { height: 10px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 8%, transparent); overflow: hidden; }
.cat__bar i { display: block; height: 100%; border-radius: inherit; background: var(--cc, var(--accent)); width: 0; transition: width .8s cubic-bezier(.2,.8,.2,1); }
.cat__v { font-weight: 750; text-align: right; font-variant-numeric: tabular-nums; }
.cat__d { grid-column: 2 / 4; font-size: 13px; color: var(--muted); margin-top: -2px; }
.cat.is-na .cat__l, .cat.is-na .cat__v { color: var(--muted); font-weight: 550; }
@media (max-width: 860px) { .res-head { grid-template-columns: 1fr; } .score { border-right: 0; border-bottom: 1px solid var(--line); } .cats { padding: 22px 18px; } .cat { grid-template-columns: 1fr 48px; } .cat__bar { grid-column: 1 / 3; grid-row: 2; } .cat__d { grid-column: 1 / 3; } }

.res-sec { margin-top: 30px; }
.res-sec > h2 { font-size: 22px; margin-bottom: 4px; }
.res-sec > p.lead { margin: 0 0 14px; color: var(--ink2); }
.kw { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; }
.kw > div { padding: 18px; min-width: 0; }
.kw > div + div { border-left: 1px solid var(--line); }
.kw h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.kw h3 .n { margin-left: auto; font-size: 13px; color: var(--muted); letter-spacing: 0; }
@media (max-width: 860px) { .kw { grid-template-columns: 1fr; } .kw > div + div { border-left: 0; border-top: 1px solid var(--line); } }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px; font-size: 14px; font-weight: 600; border: 1px solid transparent; }
.chip .ico { width: 15px; height: 15px; stroke-width: 2.4; }
.chip--ok { background: var(--ok-soft); color: var(--ok); }
.chip--miss { background: var(--warn-soft); color: var(--warn); }
.chip--neu { background: var(--bg2); color: var(--ink2); }
.chip small { font-weight: 500; opacity: .8; }
.empty { color: var(--muted); font-size: 14px; }

.req { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 15px; }
.req th, .req td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.req th { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); background: var(--bg); font-weight: 700; }
.req tr:last-child td { border-bottom: 0; }
.st { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; white-space: nowrap; }
.st .ico { width: 16px; height: 16px; stroke-width: 2.4; }
.st--ok { color: var(--ok); } .st--miss { color: var(--warn); }
.typ { font-size: 12.5px; font-weight: 650; padding: 2px 8px; border-radius: 99px; background: var(--bg2); color: var(--ink2); }
.typ--des { background: transparent; border: 1px dashed var(--line2); }
.where { color: var(--ink2); }
@media (max-width: 640px) {
  .req thead { display: none; }
  .req, .req tbody, .req tr, .req td { display: block; width: 100%; }
  .req tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .req td { border: 0; padding: 2px 0; }
  .req td:first-child { font-weight: 700; }
}
.recs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rec { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 4px 12px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.rec__i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.rec__i .ico { width: 17px; height: 17px; stroke-width: 2.3; }
.rec--warn .rec__i { background: var(--warn-soft); color: var(--warn); }
.rec--tip .rec__i { background: var(--bg2); color: var(--ink2); }
.rec--ok .rec__i { background: var(--ok-soft); color: var(--ok); }
.rec b { font-size: 16px; }
.rec p { grid-column: 2; margin: 0; color: var(--ink2); font-size: 15px; }
.res-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding: 20px; border-radius: 16px; background: var(--ink); color: var(--panel); align-items: center; }
.res-actions p { margin: 0 auto 0 0; font-weight: 600; }
.res-actions .btn--ghost { background: transparent; color: var(--panel); border-color: color-mix(in srgb, var(--panel) 35%, transparent); }
.res-actions .btn--primary { background: var(--panel); color: var(--ink); }
@media (max-width: 640px) { .res-actions .btn { width: 100%; } }

/* ---------- editor ---------- */
.ed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 22px; align-items: start; }
@media (max-width: 1080px) { .ed { grid-template-columns: 1fr; } }
.ed-form { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.card > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 15px 18px; cursor: pointer; font-weight: 700; font-size: 16px; }
.card > summary::-webkit-details-marker { display: none; }
.card > summary small { font-weight: 500; color: var(--muted); font-size: 13.5px; }
.card > summary .chev { margin-left: auto; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; transition: transform .2s; }
.card[open] > summary .chev { transform: rotate(180deg); }
.card__b { padding: 0 18px 18px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.span2 { grid-column: 1 / -1; }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.f { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.f > span { font-size: 13px; font-weight: 650; color: var(--ink2); }
.f em { font-style: normal; font-weight: 500; color: var(--muted); }
.chk { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; cursor: pointer; min-height: 44px; }
.chk input { width: 18px; height: 18px; accent-color: var(--accent); }
.item { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--bg); position: relative; }
.item + .item { margin-top: 10px; }
.item__bar { display: flex; align-items: center; gap: 4px; margin: -4px -4px 8px 0; }
.item__bar b { margin-right: auto; font-size: 13px; color: var(--muted); font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini { width: 36px; height: 36px; display: inline-grid; place-items: center; border: 0; background: transparent; border-radius: 8px; color: var(--muted); cursor: pointer; }
.mini:hover:not(:disabled) { background: var(--panel); color: var(--ink); }
.mini[data-a="del"]:hover { color: var(--bad); }
.mini:disabled { opacity: .3; cursor: default; }
.mini .ico { width: 17px; height: 17px; }
.add { width: 100%; margin-top: 10px; min-height: 44px; border-radius: 11px; border: 1.5px dashed var(--line2); background: transparent; color: var(--accent-text); font-weight: 650; cursor: pointer; }
.add:hover { border-color: var(--accent); background: var(--accent-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border: 1px solid var(--line2); border-radius: 10px; background: var(--panel); min-height: 48px; align-items: center; }
.tags:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 4px 4px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-text); font-size: 14px; font-weight: 600; }
.tag button { width: 28px; height: 28px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; color: inherit; font-size: 17px; line-height: 1; }
.tag button:hover { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.tag.is-match { background: var(--accent); color: var(--accent-ink); }
.tags input { flex: 1; min-width: 140px; border: 0 !important; box-shadow: none !important; min-height: 36px; padding: 4px 6px; background: transparent; }

.sugg { border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); background: color-mix(in srgb, var(--accent-soft) 60%, var(--panel)); border-radius: var(--r); padding: 18px; }
.sugg__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sugg__top h2 { font-size: 17px; }
.mscore { margin-left: auto; display: inline-flex; align-items: baseline; gap: 4px; font-weight: 800; font-size: 22px; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.mscore small { font-size: 13px; color: var(--muted); font-weight: 600; }
.mscore .delta { font-size: 13px; font-weight: 700; margin-left: 6px; }
.sugg h3 { font-size: 14px; margin: 16px 0 6px; }
.sugg p { margin: 0 0 8px; font-size: 14.5px; color: var(--ink2); }
.missk { display: flex; flex-wrap: wrap; gap: 6px; }
.missk button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 99px; border: 1px dashed var(--warn); background: var(--panel); color: var(--warn); font-weight: 650; font-size: 14px; cursor: pointer; }
.missk button:hover { background: var(--warn-soft); }
.ba { display: grid; gap: 8px; }
.ba > div { padding: 10px 12px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); font-size: 14.5px; }
.ba small { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.ba .is-new { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.notice { padding: 14px 16px; border-radius: var(--r); background: var(--warn-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent); font-size: 14.5px; }
.notice details { margin-top: 8px; }
.notice summary { cursor: pointer; font-weight: 650; color: var(--warn); }
.notice pre { white-space: pre-wrap; font: 13px/1.5 var(--font); background: var(--panel); border-radius: 8px; padding: 10px; max-height: 260px; overflow: auto; margin: 8px 0 0; color: var(--ink2); }

.ed-side { position: sticky; top: 74px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
@media (max-width: 1080px) { .ed-side { position: static; } }
.ed-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.ed-tools label { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 650; color: var(--muted); }
.ed-tools select { width: auto; min-height: 38px; padding: 4px 10px; font-size: 14px; }
.sw { display: inline-flex; gap: 6px; }
.sw button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; }
.sw button[aria-checked="true"] { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--c); }
.preview { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; max-height: calc(100vh - 250px); overflow: auto; }
@media (max-width: 1080px) { .preview { max-height: 70vh; } }
.dl { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; }
.dl .btn { padding: 0 10px; }
@media (max-width: 420px) { .dl { grid-template-columns: 1fr 1fr; } .dl .btn:first-child { grid-column: 1 / -1; } }

/* hoja del CV (vista previa, refleja el PDF) */
.cvp { --acc: #0b6e4f; background: #fff; color: #111827; width: 100%; aspect-ratio: 210 / 297; min-height: 0; box-shadow: 0 2px 10px rgba(0,0,0,.12); border-radius: 2px; padding: 8.5% 8.5% 6%; font: 400 1.9cqw/1.42 Helvetica, Arial, sans-serif; container-type: inline-size; overflow: hidden; position: relative; }
.cvp-wrap { container-type: inline-size; }
.cvp { font-size: 1.62cqw; height: auto; aspect-ratio: auto; min-height: calc(100cqw * 1.414); }
.cvp.is-clasico { font-family: "Times New Roman", Times, serif; }
.cvp.is-clasico .cvp__h { text-align: center; }
.cvp__name { font-size: 3.4em; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
.cvp__title { font-size: 1.5em; color: var(--acc); margin-top: .25em; }
.cvp__contact { color: #4b5563; font-size: .95em; margin-top: .45em; }
.cvp__sec { margin-top: 1.25em; }
.cvp__sec h4 { margin: 0 0 .45em; font-size: 1.12em; font-weight: 700; color: var(--acc); border-bottom: .12em solid var(--acc); padding-bottom: .15em; letter-spacing: 0; }
.cvp__it + .cvp__it { margin-top: .75em; }
.cvp__row { display: flex; gap: 1em; justify-content: space-between; align-items: baseline; }
.cvp__row b { font-size: 1.05em; }
.cvp__row span { color: #4b5563; font-size: .95em; white-space: nowrap; }
.cvp__sub { color: #4b5563; font-style: italic; font-size: .95em; }
.cvp p { margin: .2em 0 0; color: #374151; }
.cvp ul { margin: .25em 0 0; padding-left: 1.2em; color: #374151; }
.cvp li { margin: .1em 0; }
.cvp__empty { color: #9ca3af; text-align: center; padding-top: 30%; font-size: 1.3em; }

/* ---------- contenido ---------- */
.ad-slot { display: grid; place-items: center; border: 1.5px dashed var(--line2); border-radius: 12px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .16em; min-height: 100px; margin: 28px 0; background: repeating-linear-gradient(-45deg, transparent 0 10px, color-mix(in srgb, var(--line) 45%, transparent) 10px 20px); }
.ad-slot--sm { min-height: 90px; margin: 22px 0 0; }
.ad-slot--lg { min-height: 250px; }
.content { padding-top: 40px; }
.sec { padding: 34px 0; border-top: 1px solid var(--line); }
.sec h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 780; max-width: 760px; }
.sec .lead { color: var(--ink2); font-size: 17px; max-width: 720px; margin: 10px 0 22px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 48px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.prose { max-width: 760px; }
.prose p, .prose li { color: var(--ink2); font-size: 16.5px; line-height: 1.7; }
.prose h2 { margin-top: 34px; }
.prose h3 { font-size: 19px; margin: 26px 0 6px; }
.prose strong { color: var(--ink); }
.flow { list-style: none; padding: 0; margin: 0; counter-reset: f; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; }
.flow li { padding: 20px; counter-increment: f; }
.flow li + li { border-left: 1px solid var(--line); }
.flow li::before { content: counter(f, decimal-leading-zero); display: block; font-size: 13px; font-weight: 750; color: var(--accent-text); margin-bottom: 10px; letter-spacing: .06em; }
.flow b { display: block; font-size: 16px; margin-bottom: 4px; }
.flow span { color: var(--ink2); font-size: 14.5px; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr 1fr; } .flow li:nth-child(3) { border-left: 0; } .flow li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .flow { grid-template-columns: 1fr; } .flow li + li { border-left: 0; border-top: 1px solid var(--line); } }
.uses { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.use { display: flex; gap: 12px; align-items: flex-start; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.use .ico { width: 22px; height: 22px; color: var(--accent-text); margin-top: 2px; }
.use b { display: block; }
.use span { font-size: 14px; color: var(--ink2); }
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 16px 40px 16px 2px; font-weight: 650; font-size: 16.5px; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; color: var(--ink2); }
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.rel { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); text-decoration: none; color: var(--ink); }
.rel:hover { border-color: var(--accent); }
.rel .ico { width: 26px; height: 26px; color: var(--accent-text); }
.rel b { display: block; }
.rel span { font-size: 14px; color: var(--ink2); }
.rel--soon { border-style: dashed; color: var(--muted); }
.support { display: flex; align-items: center; gap: 16px 22px; padding: 22px; border-radius: 18px; background: var(--coffee-soft); border: 1px solid var(--coffee-line); flex-wrap: wrap; }
.support .ico { width: 30px; height: 30px; color: var(--coffee-text); }
.support div { flex: 1; min-width: 240px; }
.support p { margin: 4px 0 0; color: var(--ink2); }
.footer { margin-top: 40px; border-top: 1px solid var(--line); padding: 24px 0 36px; color: var(--muted); font-size: 14px; }
.footer__in { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.footer p { margin: 0; }
.footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.footer a { color: var(--ink2); }
.crumbs { font-size: 14px; color: var(--muted); padding-top: 24px; }
.crumbs a { color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 12px); opacity: 0; transition: transform .2s, opacity .2s; background: var(--ink); color: var(--panel); padding: 12px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 550; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); text-align: center; }
.toast.is-in { transform: translate(-50%, 0); opacity: 1; }
.loading { display: inline-flex; align-items: center; gap: 10px; color: var(--ink2); font-size: 14.5px; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line2); border-top-color: var(--accent); animation: sp .8s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
.noscript { padding: 16px; border-radius: 12px; background: var(--warn-soft); color: var(--warn); }
