/* ===== ImprimeQR · styles ===== */
:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --ink: #16161d;
  --ink-2: #4a4a55;
  --muted: #8a8a95;
  --line: #e4e2dc;
  --accent: #ff5a1f;
  --accent-ink: #ffffff;
  --accent-soft: #fff0e9;
  --ok: #1f8a4c;
  --warn: #b26a00;
  --bad: #c62828;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(22,22,29,.04), 0 8px 30px rgba(22,22,29,.06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --field: #ffffff;
  --header-bg: rgba(246,245,241,.9);
  --stripe-a: #f1efe9;
  --stripe-b: #ecebe4;
  --slot-line: #c9c5ba;
  --slot-ink: #9a968a;
  --view-a: #ffffff;
  --view-b: #ebe9e3;
  --chip-hover: #cfccc3;
  --bad-bg: #fdecec;
  --warn-bg: #fff4e0;
  --ok-bg: #e9f6ee;
  --scrim: rgba(22,22,29,.55);
  --soft: rgba(0,0,0,.06);
  --soft-2: rgba(0,0,0,.12);
  --noscript-bg: #fff3cd;
  --qr-white: #ffffff;
  --display: "Space Grotesk", var(--font);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #121216; --surface: #1b1b21; --ink: #f1f0ec; --ink-2: #c3c2bd; --muted: #8f8e99; --line: #2e2e36; --accent: #ff6a33; --accent-soft: #3a2117; --ok: #5fd08e; --warn: #f0b552; --bad: #ff7b7b; --field: #23232a; --header-bg: rgba(18,18,22,.88); --stripe-a: #202027; --stripe-b: #1c1c22; --slot-line: #4a4a55; --slot-ink: #8a8a95; --view-a: #2c2c33; --view-b: #18181d; --chip-hover: #46464f; --bad-bg: #3a1c1f; --warn-bg: #3a2c14; --ok-bg: #16301f; --scrim: rgba(0,0,0,.7); --soft: rgba(255,255,255,.08); --soft-2: rgba(255,255,255,.16); --noscript-bg: #3a2c14; color-scheme: dark; } }
:root[data-theme="dark"] { --bg: #121216; --surface: #1b1b21; --ink: #f1f0ec; --ink-2: #c3c2bd; --muted: #8f8e99; --line: #2e2e36; --accent: #ff6a33; --accent-soft: #3a2117; --ok: #5fd08e; --warn: #f0b552; --bad: #ff7b7b; --field: #23232a; --header-bg: rgba(18,18,22,.88); --stripe-a: #202027; --stripe-b: #1c1c22; --slot-line: #4a4a55; --slot-ink: #8a8a95; --view-a: #2c2c33; --view-b: #18181d; --chip-hover: #46464f; --bad-bg: #3a1c1f; --warn-bg: #3a2c14; --ok-bg: #16301f; --scrim: rgba(0,0,0,.7); --soft: rgba(255,255,255,.08); --soft-2: rgba(255,255,255,.16); --noscript-bg: #3a2c14; color-scheme: dark; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 50; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--header-bg); backdrop-filter: saturate(1.4) blur(8px); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--display); font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.logo b { color: var(--accent); }
.header-nav { display: flex; gap: 20px; font-size: .92rem; }
.header-nav a { text-decoration: none; color: var(--ink-2); }
.header-nav a:hover { color: var(--ink); }

/* hero */
.hero { padding-block: 22px 28px; }
.hero h1 { font-family: var(--display); font-size: clamp(1.55rem, 3.6vw, 2.5rem); letter-spacing: -.02em; max-width: 22ch; }
.sub { color: var(--ink-2); margin: 8px 0 18px; max-width: 70ch; font-size: clamp(.95rem, 1.6vw, 1.05rem); }

/* tool */
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; align-items: start; }
.noscript { grid-column: 1 / -1; background: var(--noscript-bg); padding: 14px; border-radius: 12px; margin: 0; }
.panel, .preview { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel { padding: 6px 18px; }
.preview { padding: 16px; position: sticky; top: 72px; }
.step { padding: 14px 0 16px; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step-h { font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.num { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: .8rem; display: grid; place-items: center; flex: none; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 7px 12px; font: 500 .88rem var(--font); cursor: pointer; transition: background .15s, border-color .15s; }
.chip:hover { border-color: var(--chip-hover); }
.chip.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; min-width: 0; }
.field:last-child { margin-bottom: 0; }
.field label, .field .label { font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.field output { color: var(--ink); font-weight: 700; }
.field input[type=text], .field select { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font: 500 1rem var(--font); color: var(--ink); background: var(--field); }
.field input[type=text]:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.field-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.field-row .field { margin-bottom: 0; }
.field-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-row.text-row { grid-template-columns: minmax(0, 1fr) 110px; }
.hint { margin: 0; font-size: .8rem; color: var(--muted); }
.color-field input[type=color] { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 4px; background: var(--field); cursor: pointer; }
input[type=range] { width: 100%; accent-color: var(--accent); height: 28px; }

.styles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.style-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--field); font: 600 .78rem var(--font); color: var(--ink-2); cursor: pointer; }
.style-btn.is-on { border-color: var(--ink); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sw { width: 30px; height: 30px; display: block; background-size: 10px 10px; }
.sw-clasico { background-image: linear-gradient(90deg, var(--ink) 50%, transparent 0), linear-gradient(var(--ink) 50%, transparent 0); background-blend-mode: multiply; background: conic-gradient(var(--ink) 25%, transparent 0 50%, var(--ink) 0 75%, transparent 0) 0 0/15px 15px; }
.sw-redondeado { background: radial-gradient(circle at 50% 50%, var(--ink) 58%, transparent 60%) 0 0/10px 10px; border-radius: 6px; }
.sw-puntos { background: radial-gradient(circle, var(--ink) 38%, transparent 42%) 0 0/10px 10px; }
.sw-elegante { background: radial-gradient(circle at 0 0, var(--ink) 70%, transparent 72%) 0 0/10px 10px; }

.center-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.emo { min-width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--field); font-size: 1.2rem; cursor: pointer; display: inline-grid; place-items: center; padding: 0 6px; color: var(--ink-2); }
.emo.is-on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }
.emo.upload { font: 600 .82rem var(--font); padding: 0 10px; }
.emo img { width: 26px; height: 26px; object-fit: contain; }

.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.fmt { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 10px 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--field); cursor: pointer; color: var(--ink-2); font-family: var(--font); }
.fmt svg { width: 44px; height: 36px; margin-bottom: 4px; }
.fmt b { font-size: .86rem; color: var(--ink); }
.fmt small { font-size: .72rem; color: var(--muted); }
.fmt.is-on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }

.fil { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fil button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); cursor: pointer; padding: 0; }
.fil button.is-on { outline: 2px solid var(--accent); outline-offset: 2px; }
.fil input[type=color] { width: 30px; height: 30px; border: 1px dashed var(--slot-line); border-radius: 50%; padding: 0; background: none; cursor: pointer; }
.fil input[type=color]::-webkit-color-swatch-wrapper { padding: 2px; }
.fil input[type=color]::-webkit-color-swatch { border: 0; border-radius: 50%; }
.adv { margin-top: 12px; font-size: .9rem; }
.adv summary { cursor: pointer; color: var(--ink-2); font-weight: 600; margin-bottom: 8px; }

/* preview */
.pv-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 12px; }
.pv-grid figure { margin: 0; min-width: 0; }
.pv-grid figcaption { font-size: .74rem; color: var(--muted); text-align: center; margin-top: 6px; }
.qr-box { aspect-ratio: 1; background: var(--qr-white); border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; overflow: hidden; padding: 6px; }
.qr-box canvas, .qr-box svg { width: 100% !important; height: auto !important; max-width: 100%; }
.viewer { aspect-ratio: 1.1; position: relative; border-radius: 12px; overflow: hidden; background: radial-gradient(ellipse at 50% 35%, var(--view-a) 0%, var(--view-b) 75%); border: 1px solid var(--line); cursor: grab; touch-action: none; }
.viewer:active { cursor: grabbing; }
.viewer canvas { display: block; width: 100% !important; height: 100% !important; }
.viewer-msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px; margin: 0; color: var(--muted); font-size: .88rem; }
.warns { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.warns li { font-size: .82rem; padding: 8px 10px; border-radius: 10px; line-height: 1.35; }
.warns .w-bad { background: var(--bad-bg); color: var(--bad); }
.warns .w-warn { background: var(--warn-bg); color: var(--warn); }
.warns .w-ok { background: var(--ok-bg); color: var(--ok); }
.stats { font-size: .78rem; color: var(--muted); margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.dl { margin-top: 14px; display: grid; gap: 8px; }
.dl-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.btn { font: 600 .95rem var(--font); border-radius: 12px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .1s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn-main { background: var(--accent); color: var(--accent-ink); border: 0; height: 54px; font-size: 1.05rem; box-shadow: 0 6px 18px rgba(255,90,31,.28); }
.btn-main:hover { filter: brightness(.95); }
.btn-ghost { background: var(--field); border: 1px solid var(--line); color: var(--ink); height: 42px; padding: 0 18px; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-link { background: none; border: 0; color: var(--ink-2); text-decoration: underline; font-size: .86rem; font-weight: 500; padding: 0 4px; height: 42px; margin-left: auto; }
.privacy { font-size: .8rem; color: var(--ink-2); margin: 12px 0 0; }

/* ads (placeholders) */
.ad-slot { border: 1.5px dashed var(--slot-line); border-radius: 12px; background: repeating-linear-gradient(45deg, var(--stripe-a), var(--stripe-a) 10px, var(--stripe-b) 10px, var(--stripe-b) 20px); display: grid; place-items: center; color: var(--slot-ink); font: 700 .8rem var(--font); letter-spacing: .2em; }
.ad-leaderboard { min-height: 90px; max-width: 728px; margin: 8px auto 0; }
.ad-incontent { min-height: 250px; max-width: 336px; margin: 0 auto; }
.ad-box { width: 300px; max-width: 100%; height: 250px; margin: 0 auto; }
.ad-mini { width: 100%; height: 100px; }

.ad-modal { border: 0; background: var(--surface); color: var(--ink); border-radius: 18px; padding: 22px 22px 18px; width: min(360px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(0,0,0,.25); text-align: center; }
.ad-modal::backdrop { background: rgba(22,22,29,.55); }
.ad-ok { margin: 0 0 12px; font-weight: 600; }
.ad-close { margin-top: 14px; width: 100%; }
.ad-x { position: absolute; top: 6px; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--soft); font-size: 1.25rem; line-height: 1; cursor: pointer; color: var(--ink); }
.ad-x:hover { background: var(--soft-2); }
.ad-toast { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); color: var(--ink); width: 300px; max-width: calc(100vw - 32px); background: var(--field); border: 1px solid var(--line); border-radius: 14px; padding: 30px 10px 10px; box-shadow: 0 12px 34px rgba(0,0,0,.16); z-index: 40; animation: toastIn .35s ease-out; }
.ad-toast .ad-x { top: 2px; right: 4px; width: 26px; height: 26px; font-size: 1rem; }
@keyframes toastIn { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* content sections */
section.how, section.ideas, section.guide, section.faq { padding-top: 56px; padding-bottom: 8px; }
section h2 { font-family: var(--display); font-size: clamp(1.35rem, 2.6vw, 1.9rem); letter-spacing: -.015em; margin-bottom: 22px; max-width: 30ch; }
.steps3 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps3 li, .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.ic { font-size: 1.7rem; display: block; margin-bottom: 10px; }
.steps3 h3, .card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.steps3 p, .card p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ideas + .wrap { padding-top: 48px; }
.guide-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; color: var(--ink-2); }
.guide h3 { font-size: 1.05rem; color: var(--ink); margin: 0 0 6px; }
.guide p, .guide ul { margin: 0 0 20px; }
.guide li { margin-bottom: 4px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
.faq summary { padding: 15px 18px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--accent); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--ink-2); }
.site-footer { margin-top: 64px; border-top: 1px solid var(--line); padding-block: 26px 90px; font-size: .88rem; color: var(--ink-2); }
.foot-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot-in p { margin: 0; }

/* legal pages */
.legal { max-width: 760px; padding-top: 32px; padding-bottom: 32px; }
.legal h1 { font-family: var(--display); font-size: 2rem; margin-bottom: 16px; }
.legal h2 { font-size: 1.2rem; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }

/* responsive */
@media (max-width: 960px) {
  /* mobile/tablet: link input → preview + downloads → design → 3D options */
  .tool { display: flex; flex-direction: column; gap: 12px; }
  .panel { display: contents; }
  .step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
  .step:last-child { border-bottom: 1px solid var(--line); }
  .step:nth-child(1) { order: 1; }
  .preview { position: static; order: 2; }
  .step:nth-child(2) { order: 3; }
  .step:nth-child(3) { order: 4; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .header-nav { display: none; }
  .hero { padding-top: 14px; }
  .sub { margin-bottom: 12px; }
  .panel { padding: 2px 14px; }
  .preview { padding: 12px; }
  .pv-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 8px; }
  .steps3, .cards, .guide-cols { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .field-row.two { grid-template-columns: 1fr 1fr; }
  .styles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fmt small { display: none; }
  .btn-link { margin-left: 0; }
  .ad-leaderboard { min-height: 100px; max-width: 320px; }
  .ad-toast { width: 260px; right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ad-toast { animation: none; }
}


/* affiliate material */
.lead { color: var(--ink-2); margin: -10px 0 18px; max-width: 70ch; }
section.gear { padding-top: 56px; padding-bottom: 8px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tab { border: 1px solid var(--line); background: var(--field); color: var(--ink-2); border-radius: 999px; padding: 8px 16px; font: 600 .9rem var(--font); cursor: pointer; }
.tab:hover { border-color: var(--chip-hover); }
.tab.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.gear-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.gear-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gear-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; transition: border-color .15s, transform .15s; }
.gear-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.gear-card b { font-size: .98rem; }
.gear-card small { color: var(--ink-2); font-size: .84rem; line-height: 1.4; }
.gear-card .kicker { color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gear-card .go { margin-top: auto; padding-top: 6px; color: var(--accent); font-weight: 600; font-size: .86rem; }
.sw-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--c); border: 1px solid var(--line); }
.badge { align-self: flex-start; font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.b-code { background: var(--ok-bg); color: var(--ok); }
.b-base { background: var(--warn-bg); color: var(--warn); }
.style-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.style-card h3 { font-size: 1.05rem; }
.style-card p { margin: 0; color: var(--ink-2); font-size: .88rem; }
.style-card .buys { font-size: .82rem; margin-top: auto; }
.style-card .buys a { color: var(--accent); font-weight: 600; }
.style-card .btn { width: 100%; }
.duo { display: flex; }
.duo i { width: 34px; height: 34px; border-radius: 50%; background: var(--c); border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line); }
.duo i + i { margin-left: -10px; }
.ad-tip { font-size: .82rem; color: var(--ink-2); margin: 12px 0 0; }
.ad-tip a { color: var(--accent); }
@media (max-width: 960px) {
  .gear-grid, .gear-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .gear-grid, .gear-grid.three { grid-template-columns: 1fr; }
}

/* printer guide (inside the "Impresoras" tab) */
.printer-guide { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 980px; }
.printer-guide > * { min-width: 0; }
.printer-guide h3 { font-family: var(--display); font-size: 1.25rem; margin: 0 0 10px; }
.printer-guide h4 { font-size: 1rem; margin: 0 0 6px; }
.printer-guide p { color: var(--ink-2); margin: 0 0 10px; max-width: 70ch; }
.printer-guide .meta { font-size: .8rem; color: var(--muted); margin: 0; }
.quick { background: var(--accent-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.quick ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--ink-2); }
.quick b { color: var(--ink); }
.quick a, .two-col a, .tips a { color: var(--accent); font-weight: 600; }
.criteria { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.criteria > div { border-top: 2px solid var(--accent); padding-top: 10px; }
.criteria p { font-size: .88rem; }
.tier { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 18px 0 10px !important; font-size: 1.05rem !important; }
.tier span { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.printers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.printer { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.p-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.p-head h5 { font-size: 1rem; margin: 0; }
.p-head .badge { flex: none; }
.printer .p-for { font-size: .9rem; margin: 0; color: var(--ink); }
.p-list { list-style: none; padding: 0; margin: 0 0 4px; display: grid; gap: 4px; font-size: .84rem; color: var(--ink-2); }
.p-list b { color: var(--ink); font-weight: 600; }
.p-buy { margin-top: auto; height: 44px; font-size: .95rem; text-decoration: none; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.cmp { border-collapse: collapse; width: 100%; min-width: 760px; font-size: .86rem; }
.cmp th, .cmp td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--bg); }
.cmp tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.cmp td { color: var(--ink-2); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.lvl { font-size: .74rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.l1 { background: var(--ok-bg); color: var(--ok); }
.l2 { background: var(--accent-soft); color: var(--accent); }
.l3 { background: var(--warn-bg); color: var(--warn); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.two-col > div { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.two-col p { font-size: .9rem; margin: 0; }
.tips { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); max-width: 75ch; }
.tips b { color: var(--ink); }
@media (max-width: 960px) {
  .criteria { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .printers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .criteria, .printers, .two-col { grid-template-columns: 1fr; }
}
