:root {
  --bg: #f5f5f2; --card: #fff; --ink: #1d1d1b; --muted: #6b6b66; --line: #e3e2dc;
  --accent: #e8590c; --accent-ink: #fff; --ok: #2f9e44; --warn: #f08c00; --bad: #e03131;
  --radius: 12px;
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--ink); }
main { max-width: 1040px; margin: 0 auto; padding: 16px; }
a { color: var(--accent); }
h1 { font-size: 1.6rem; margin: .4em 0; } h2 { font-size: 1.2rem; margin: 1.2em 0 .5em; } h3 { margin: 0; }
.card h2:first-child { margin-top: 0; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 2; }
.brand { font-weight: 700; color: var(--ink); text-decoration: none; }
nav { display: flex; gap: 14px; align-items: center; } nav a { color: var(--ink); text-decoration: none; }
footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 32px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; display: block; color: inherit; text-decoration: none; }
a.card:hover { border-color: var(--accent); }
.narrow { max-width: 460px; margin: 24px auto; }
.grid2, .grid3 { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid2 { grid-template-columns: 1fr 1fr; } .grid3 { grid-template-columns: repeat(3, 1fr); } }
.row { display: flex; gap: 10px; align-items: center; } .row.wrap { flex-wrap: wrap; } .between { justify-content: space-between; flex-wrap: wrap; }
.row > label { flex: 1; }
label { display: block; font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
input, select { display: block; width: 100%; margin-top: 4px; padding: 10px; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; }
input[type=color] { height: 44px; padding: 4px; }
.row input, .row select { margin-top: 0; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 8px; padding: 11px 18px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn.small { padding: 7px 12px; font-size: .9rem; } .btn.wide { width: 100%; margin-top: 8px; }
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn:disabled { opacity: .7; cursor: default; }
.link { background: none; border: 0; color: var(--accent); font: inherit; cursor: pointer; padding: 0; }
.danger { color: var(--bad); } .inline { display: inline; } .hidden { display: none; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .big { font-size: 1.4rem; font-weight: 700; margin: .3em 0; }
.error { color: var(--bad); }
.notice { background: #fff4e6; border: 1px solid #ffd8a8; border-radius: var(--radius); padding: 12px 14px; margin-bottom: 14px; }
.notice.ok { background: #ebfbee; border-color: #b2f2bb; } .notice.warn form { margin-top: 8px; flex-wrap: wrap; }
.hero { text-align: center; padding: 32px 0 16px; } .hero h1 { font-size: 2rem; max-width: 720px; margin: 0 auto .4em; }
.lead { font-size: 1.15rem; max-width: 640px; margin: 0 auto 20px; }
.steps { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 24px 0; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.plan .price { font-size: 1.4rem; font-weight: 700; margin: .2em 0; } .plan.current { border-color: var(--accent); }
.plan ul { padding-left: 18px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: inline-block; }
.swatch.big { width: 54px; height: 54px; }
.bar { height: 10px; background: #eceae4; border-radius: 6px; overflow: hidden; margin: 10px 0 4px; }
.bar span { display: block; height: 100%; background: var(--ok); border-radius: 6px; }
.bar.mid span { background: var(--warn); } .bar.low span { background: var(--bad); }
.dot::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; background: var(--muted); }
.dot.on::before { background: var(--ok); } .dot.off::before { background: var(--bad); }
.slots { list-style: none; padding: 0; margin: 10px 0; } .slots li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); }
.slots em { white-space: nowrap; font-style: normal; font-size: .75rem; background: #e7f5ff; color: #1971c2; padding: 1px 6px; border-radius: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: #f1f0eb; border-radius: 20px; padding: 2px 10px; text-decoration: none; color: var(--ink); font-size: .9rem; }
.chip i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.assign { margin-bottom: 12px; } .assign form { display: inline; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; } td, th { padding: 8px 4px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.num { text-align: right; white-space: nowrap; }
code { background: #f1f0eb; padding: 2px 6px; border-radius: 4px; font-size: .9em; word-break: break-all; }
details { margin-top: 10px; } summary { cursor: pointer; color: var(--accent); }
main.wide { max-width: 1200px; }
.grid5 { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid5 { grid-template-columns: repeat(5, 1fr); } }
.plan .price .y { display: none; } body.yearly .plan .price .m { display: none; } body.yearly .plan .price .y { display: inline; }
.plan .price small { font-size: .9rem; font-weight: 400; color: var(--muted); }
.toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 14px; background: var(--card); }
.toggle button { border: 0; background: none; padding: 8px 14px; font: inherit; cursor: pointer; color: var(--muted); }
.toggle button.on { background: var(--accent); color: #fff; }
.center { text-align: center; }
.chip.free { background: #ebfbee; color: var(--ok); }
.dotc { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 6px; border: 1px solid rgba(0,0,0,.15); vertical-align: middle; }
.tag input { font-size: .85rem; }
.radio { display: flex; align-items: center; gap: 8px; color: var(--ink); margin: 6px 0; }
.radio input { width: auto; display: inline; margin: 0; }
.steps-list li { margin-bottom: 10px; }
.code { font-family: ui-monospace, monospace; letter-spacing: 2px; font-size: 1.1rem; }
[hidden] { display: none !important; }
.parse-result { margin: 6px 0 10px; }
@media (max-width: 640px) {
  .top { flex-wrap: wrap; gap: 6px; padding: 8px 12px; }
  .top nav { width: 100%; overflow-x: auto; gap: 14px; font-size: .92rem; white-space: nowrap; padding-bottom: 2px; }
  .top nav .btn.small { padding: 5px 10px; }
}
/* ---------- NextSpool beta ---------- */
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand img { border-radius: 6px; }
.beta { font-size: .65rem; font-weight: 700; text-transform: uppercase; background: #fff4e6; color: var(--accent); border-radius: 6px; padding: 2px 6px; letter-spacing: .5px; }
.demo-bar { background: #1d1d1b; color: #fff; text-align: center; padding: 8px 12px; font-size: .92rem; }
.demo-bar .btn { margin-left: 8px; }
.install-bar { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff4e6; border-bottom: 1px solid #ffd8a8; padding: 8px 12px; font-size: .9rem; }
.fab { position: fixed; right: 14px; bottom: 14px; background: var(--ink); color: #fff; text-decoration: none; border-radius: 22px; padding: 9px 14px; font-size: .9rem; box-shadow: 0 4px 14px rgba(0,0,0,.18); z-index: 5; }
.pill { display: inline-block; background: #ebfbee; color: var(--ok); border-radius: 20px; padding: 4px 12px; font-weight: 600; font-size: .9rem; }
.center-row { justify-content: center; }
.steps3 { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 28px 0; }
@media (min-width: 700px) { .steps3 { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.step .num { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; }
.step h3 { margin: 10px 0 4px; font-size: 1.3rem; }
.card.soft { background: #fffaf5; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.checklist li:first-child { border-top: 0; }
.checklist li > div { flex: 1; }
.checklist p { margin: 2px 0 0; }
.checklist .tick { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; flex: none; }
.checklist li.done .tick { background: var(--ok); border-color: var(--ok); }
.checklist li.done b { text-decoration: line-through; color: var(--muted); }
textarea { display: block; width: 100%; margin-top: 4px; padding: 10px; font: inherit; border: 1px solid var(--line); border-radius: 8px; }
.stars { display: flex; flex-direction: row-reverse; justify-content: center; gap: 4px; margin: 10px 0; }
.stars input { display: none; }
.stars label { font-size: 2.2rem; color: #ddd; cursor: pointer; margin: 0; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: #f59f00; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 640px) {
  .checklist li { flex-wrap: wrap; }
  .checklist li > div { flex: 1 1 calc(100% - 40px); }
  .checklist li .btn { margin-left: 38px; }
  main { padding-bottom: 80px; }
  .fab { padding: 8px 12px; font-size: .85rem; }
}
.chip.live { background: #e7f5ff; color: #1971c2; font-size: .75rem; }
.live-note { color: #1971c2; font-size: .9rem; display: flex; align-items: center; gap: 8px; margin: 0 0 6px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #1971c2; animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: .25; } 100% { opacity: 1; } }
/* Historial en lista: se adapta al móvil aunque el archivo tenga un nombre larguísimo */
.history { list-style: none; padding: 0; margin: 0; }
.history li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.history .h-main, .history .h-meta { grid-column: 1; min-width: 0; }
.history .h-job { overflow-wrap: anywhere; font-weight: 600; }
.history .h-job + .chip { margin-left: 6px; }
.history .h-g { grid-column: 2; grid-row: 1 / span 2; text-align: right; white-space: nowrap; font-weight: 600; }
.history .h-g .muted { display: block; font-weight: 400; }
.card { min-width: 0; overflow-wrap: anywhere; }
/* ---------- Rediseño sencillo (móvil primero) ---------- */
.tabs a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); padding: 6px 4px; }
.tabs a svg { width: 18px; height: 18px; flex: none; }
.tabs a.on { color: var(--accent); font-weight: 600; }
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 22px; }
.sec-head h1, .sec-head h2 { margin: 0; }
.sub { margin: 2px 0 12px; }
h2.sec { margin: 4px 0 10px; }
.spool-list { display: grid; gap: 10px; grid-template-columns: 1fr; margin-bottom: 8px; }
.spool-list > .card, .grid2 > .card, .grid5 > .card { margin: 0; }
@media (min-width: 700px) { .spool-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .spool-list { grid-template-columns: repeat(3, 1fr); } }
.spool-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; }
.spool-row .sr-main { min-width: 0; display: flex; flex-direction: column; }
.spool-row .sr-main .bar { margin: 8px 0 0; height: 8px; }
.spool-row .sr-g { text-align: right; display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.spool-row .sr-g b { font-size: 1.2rem; }
.spool-row .in { color: var(--ink); font-weight: 500; }
.card.now { border-color: #a5d8ff; background: #f5faff; }
.card.now .live-note { margin: 0; }
.now-job { font-weight: 600; margin: 6px 0 0; overflow-wrap: anywhere; }
.bar.progress span { background: #1971c2; }
.card.now .row.between { gap: 8px; }
.pr-spool { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
details.opts { margin-top: 10px; } details.opts summary { font-size: .85rem; color: var(--muted); }
.printer h3 { font-size: 1.1rem; }
.spool-hero h1 { margin: 0; }
.spool-hero .remaining { margin: 16px 0 0; }
.spool-hero .remaining b { font-size: 2.3rem; line-height: 1; margin-right: 4px; }
.spool-hero .live-note { margin-top: 6px; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.choice form { display: contents; }
.choice button { border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 10px; padding: 12px 16px; font: inherit; font-weight: 600; cursor: pointer; min-width: 104px; flex: 1 1 auto; }
.choice button.on { border-color: var(--accent); background: #fff4e6; color: var(--accent); cursor: default; opacity: 1; }
.choice button:not(.on):hover { border-color: var(--accent); }
details.more > summary { font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; color: var(--ink); }
details.more > summary::after { content: '▾'; color: var(--muted); }
details.more[open] > summary::after { content: '▴'; }
details.more > summary::-webkit-details-marker { display: none; }
details.more h3 { margin: 20px 0 6px; font-size: 1rem; }
.file-btn { position: relative; display: flex; align-items: center; gap: 6px; border: 1.5px dashed #cfcdc4; border-radius: 10px; padding: 12px 14px; color: var(--ink); font-weight: 600; cursor: pointer; margin: 4px 0 0; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; margin: 0; }
.danger-btn { color: var(--bad) !important; border-color: var(--bad) !important; }
.mini-steps { padding-left: 20px; margin: 4px 0 14px; } .mini-steps li { margin: 2px 0; }
.big-steps { padding-left: 22px; margin: 16px 0; } .big-steps > li { margin-bottom: 18px; } .big-steps .row { margin-top: 8px; }
.account { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.account p { margin: 2px 0 0; }
.plan { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "action action"; gap: 8px 10px; align-items: center; }
.plan .plan-name { grid-area: name; display: flex; flex-direction: column; } .plan .plan-name h3 { font-size: 1.05rem; }
.plan .price { grid-area: price; margin: 0; font-size: 1.2rem; text-align: right; }
.plan .plan-action { grid-area: action; } .plan .plan-action:empty { display: none; }
.plan .plan-action .btn { width: 100%; text-align: center; }
@media (min-width: 1100px) { .plan { grid-template-columns: 1fr; grid-template-areas: "name" "price" "action"; } .plan .price { text-align: left; } }
/* En pantalla ancha, las 5 tarjetas comparten filas: nombre, precio, botón y ventajas quedan a la misma altura */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1100px) {
    .grid5 > .plan { grid-row: span 4; grid-template-rows: subgrid; grid-template-areas: none; row-gap: 12px; align-items: start; }
    .grid5 > .plan > * { grid-column: 1; }
    .grid5 > .plan .plan-name { grid-row: 1; }
    .grid5 > .plan .price { grid-row: 2; align-self: end; }
    .grid5 > .plan .plan-action { grid-row: 3; }
    .grid5 > .plan .extras { grid-row: 4; }
  }
  @media (min-width: 700px) and (max-width: 1099px) {
    .grid5 > .plan { grid-row: span 3; grid-template-rows: subgrid; grid-template-areas: none; row-gap: 10px; align-items: start; }
    .grid5 > .plan .plan-name { grid-row: 1; grid-column: 1; }
    .grid5 > .plan .price { grid-row: 1; grid-column: 2; }
    .grid5 > .plan .plan-action { grid-row: 2; grid-column: 1 / -1; }
    .grid5 > .plan .extras { grid-row: 3; grid-column: 1 / -1; }
  }
  .grid5 > .plan .plan-action { display: flex; flex-direction: column; gap: 6px; }
  .grid5 > .plan .plan-action:empty { display: none; }
}
/* «Próximamente» ocupa lo mismo que un botón, para que la fila quede igual */
.chip.soon { background: var(--bg); color: var(--muted); border: 1px dashed var(--line); font-size: .72rem; padding: 1px 8px; vertical-align: middle; }
.plan .plan-action .chip { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 38px; padding: 0 10px; border-radius: 10px; font-size: .88rem; box-sizing: border-box; }
.plan .plan-action .btn { min-height: 38px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
@media (max-width: 640px) {
  body.app .top { flex-wrap: nowrap; }
  body.app .top nav.tabs { position: fixed; left: 0; right: 0; bottom: 0; width: auto; z-index: 10; background: var(--card); border-top: 1px solid var(--line);
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; padding: 4px 0 calc(4px + env(safe-area-inset-bottom)); overflow: visible; box-shadow: 0 -2px 10px rgba(0,0,0,.04); }
  body.app .tabs a { flex-direction: column; gap: 2px; font-size: .72rem; padding: 4px 0; justify-content: center; }
  body.app .tabs a svg { width: 23px; height: 23px; }
  body.app main { padding-bottom: 100px; }
  body.app footer { padding-bottom: 96px; }
  .fab { width: 44px; height: 44px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 1.1rem; }
  .fab span { display: none; }
  body.app .fab { bottom: calc(74px + env(safe-area-inset-bottom)); right: 12px; }
  h1 { font-size: 1.45rem; }
}
.live-note .pulse { flex: none; }
@media (max-width: 640px) {
  .hero { padding: 18px 0 6px; } .hero h1 { font-size: 1.7rem; }
  .steps3 { gap: 10px; margin: 18px 0; }
  .step { text-align: left; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: start; padding: 14px; }
  .step .num { grid-row: 1 / span 2; }
  .step h3 { margin: 4px 0 0; font-size: 1.15rem; } .step p { margin: 0; }
}
main.medium { max-width: 760px; }
.spool-row .sr-g b.empty { color: var(--bad); } .spool-row .sr-g b.low { color: var(--warn); }
.chip.warn { background: #fff4e6; color: #d9480f; font-size: .8rem; vertical-align: middle; }
.next-tag { border-color: #ffd8a8; }
.next-tag .nfc-write { margin-top: 10px; }
.next-info { margin: 12px 0 0; }
.card.list { padding: 4px 16px; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.list-row:first-child { border-top: 0; }
.list-row span:nth-child(2) { flex: 1; font-weight: 600; }
.swatch.small { width: 22px; height: 22px; }
.email-tag { margin: 34px 0 0; padding-top: 16px; border-top: 1px dashed var(--line); text-align: center; }
.email-tag .link { margin-left: 4px; }
.plan.popular { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.chip.pop { background: var(--accent); color: #fff; font-size: .72rem; padding: 1px 8px; vertical-align: middle; }
/* QR, etiquetas imprimibles, ¿Me llega?, gasto del mes y funciones bloqueadas */
.tag-qr { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.tag-qr > div { flex: 1 1 200px; min-width: 0; }
.qr { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px; flex: none; }
.labels { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-top: 16px; }
.label { display: flex; gap: 10px; align-items: center; border: 1.5px dashed #bdbab0; border-radius: 10px; padding: 10px; background: #fff; break-inside: avoid; }
.label img { width: 96px; height: 96px; flex: none; }
.label-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.label-text b { font-size: 1rem; line-height: 1.2; } .label-text span { font-size: .85rem; color: var(--muted); } .label-text small { font-size: .7rem; color: var(--muted); margin-top: 4px; }
@media print {
  .top, footer, .fab, .demo-bar, .install-bar, .no-print, nav.tabs { display: none !important; }
  body, main { background: #fff; padding: 0; margin: 0; max-width: none; }
  .labels { grid-template-columns: repeat(3, 1fr); gap: 4mm; }
  .label { border-color: #999; } .label img { width: 28mm; height: 28mm; }
}
.fit-result { margin-top: 10px; }
.fit-verdict { border-radius: 10px; padding: 12px 14px; }
.fit-verdict.ok { background: #ebfbee; border: 1px solid #b2f2bb; }
.fit-verdict.warn { background: #fff4e6; border: 1px solid #ffd8a8; }
.fit-verdict.bad { background: #fff5f5; border: 1px solid #ffc9c9; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stats .card { margin: 0; text-align: center; padding: 14px 8px; }
.stat b { display: block; font-size: 1.35rem; line-height: 1.2; }
.card.locked { background: #fafaf7; border-style: dashed; }
.card.locked .btn { margin-top: 4px; }
.plan .extras { grid-column: 1 / -1; list-style: none; padding: 0; margin: 0; font-size: .85rem; color: var(--ink); }
.plan .extras li::before { content: '✓ '; color: var(--ok); font-weight: 700; }
@media (min-width: 1100px) { .plan .extras { grid-column: auto; } }
@media (max-width: 640px) { .wide-mobile { display: block; text-align: center; } }

/* Páginas legales, casilla de condiciones y zona de borrar cuenta */
.legal h2 { margin-top: 1.4em; font-size: 1.05rem; }
.legal p, .legal li { line-height: 1.6; }
.legal mark { background: #fff3bf; padding: 0 .2em; border-radius: 3px; }
.terms { display: flex; gap: .6em; align-items: flex-start; font-size: .92rem; margin: .4em 0 1em; text-align: left; }
.terms input { width: auto; margin-top: .25em; flex: none; }
.danger-zone { border-color: #f1c0c0; }
.danger-zone summary { color: #c92a2a; }

/* Instalar como app */
.link-card { display: flex; flex-direction: column; gap: .2em; text-decoration: none; color: inherit; border-left: 4px solid var(--accent, #e8590c); }
.install-dev summary { cursor: pointer; list-style: none; }
.install-dev summary::-webkit-details-marker { display: none; }
.install-dev summary h2 { display: inline; margin: 0; font-size: 1.1rem; }
.install-dev summary::after { content: '▾'; float: right; color: #999; }
.install-dev[open] summary::after { content: '▴'; }
.install-dev[open] summary { margin-bottom: .6em; }
.install-bar .btn.ghost { background: transparent; }
.setup-os ol { padding-left: 1.3em; }
.setup-os li { margin: .35em 0; }
.setup-os code, .steps-list code { overflow-wrap: anywhere; }

/* ¿Necesito un ordenador? */
.pc-note h2 { margin-top: 0; text-align: center; }
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pc-grid > div { background: var(--bg); border-radius: 10px; padding: 12px 14px; }
.pc-grid p { margin: .3em 0 0; }
@media (max-width: 640px) { .pc-grid { grid-template-columns: 1fr; } }
.chip.ok { background: #ebfbee; color: #2b8a3e; }
.chip.muted-chip { background: var(--bg); color: var(--muted); border: 1px dashed var(--line); }

/* Conectar: instalación en 3 pasos, en lenguaje sencillo */
.btn.big { font-size: 1.1rem; padding: 14px 20px; }
.btn.wide { display: block; width: 100%; text-align: center; box-sizing: border-box; }
.install-card { border-color: var(--accent); }
.smartscreen { margin: 14px 0 4px; }
.ss-mock { background: #0b5cad; color: #fff; border-radius: 8px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; font-size: .9rem; max-width: 420px; }
.ss-mock b { font-size: 1.05rem; }
.ss-mock span { opacity: .9; }
.ss-mock .ss-link { text-decoration: underline; font-weight: 600; opacity: 1; }
.simple-steps { list-style: none; padding: 0; margin: 16px 0 6px; }
.simple-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.simple-steps li:first-child { border-top: 0; }
.step-ico { font-size: 1.5rem; line-height: 1; flex: none; width: 30px; text-align: center; }
.need-list { list-style: none; padding: 0; margin: 0 0 8px; }
.need-list li { padding: 6px 0; }
.btn.big { white-space: normal; }
.mobile-only { display: none; margin: 8px 0 0; }
@media (max-width: 700px) and (pointer: coarse) { .mobile-only { display: block; } }

/* Etiquetas: lista de todas las libres */
.free-tags { margin: 10px 0; }
.tag-qr.compact { padding: 10px 0; border-top: 1px solid var(--line); align-items: center; }
.tag-qr.compact:first-child { border-top: 0; }
.tag-num { flex: none; width: 22px; height: 22px; border-radius: 11px; background: var(--accent); color: #fff; font-size: .8rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.tag-qr .nfc-write { margin-top: 6px; }
.tag-owner { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin-bottom: 6px; color: var(--ink); text-decoration: none; }
.tag-owner.free { color: var(--muted); font-weight: 500; font-size: .9rem; }
