/* Stickers Lab · identidad: papel, tinta y magenta de registro (el color de la línea de corte) */
:root {
  --bg: #f1f2ef;
  --surface: #ffffff;
  --ink: #1b1e21;
  --muted: #62686e;
  --line: #d9dcd8;
  --accent: #c8007a;
  --accent-ink: #ffffff;
  --accent-soft: #fbe4f1;
  --cut: #ec008c;
  --ok: #1d7a46; --ok-soft: #e1f3e8;
  --warn: #9a5b00; --warn-soft: #fff1d6;
  --err: #b42318; --err-soft: #fde7e5;
  --shadow: 0 1px 2px rgba(20,24,28,.06), 0 6px 20px rgba(20,24,28,.08);
  --f-ui: "Archivo", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131517; --surface: #1c1f22; --ink: #eceeef; --muted: #9aa0a6; --line: #30353a;
    --accent: #ff5cb0; --accent-ink: #1b0b14; --accent-soft: #3a1a2c;
    --ok: #6fd39a; --ok-soft: #173a26; --warn: #ffbf5e; --warn-soft: #3a2c12; --err: #ff8a80; --err-soft: #3d1a17;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 20px rgba(0,0,0,.4);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.5 var(--f-ui); }
a { color: var(--accent); }
img { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 16px; }
.page { padding-block: 24px 48px; display: grid; gap: 20px; }
.foot { padding-block: 32px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); background: var(--surface); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: start; }
.foot-brand p { margin: 6px 0 0; color: var(--ink); font-weight: 600; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: var(--ink); text-decoration: none; }
.foot-links a:hover { color: var(--accent); }
.foot-note { grid-column: 1 / -1; margin: 0; font-size: 12px; }
@media (max-width: 640px) { .foot-in { grid-template-columns: minmax(0, 1fr); } }

/* Barra superior */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.brand { font-weight: 800; font-stretch: 75%; font-size: 26px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; line-height: 1; }
.brand b { color: var(--accent); font-weight: 800; margin-left: .14em; }
.brand .iso { width: 26px; height: 26px; color: var(--cut); flex: none; }
.reg { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--cut); border-radius: 50%; position: relative; }
.reg::before, .reg::after { content: ""; position: absolute; background: var(--cut); }
.reg::before { left: 50%; top: -30%; bottom: -30%; width: 2px; transform: translateX(-50%); }
.reg::after { top: 50%; left: -30%; right: -30%; height: 2px; transform: translateY(-50%); }
.nav { display: flex; align-items: center; gap: 4px 16px; flex-wrap: wrap; font-size: 14px; }
.nav-links { display: contents; }
@media (max-width: 760px) { .nav-links { display: none; } }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--accent); }
.inline { display: inline; margin: 0; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; }

/* Tipografía */
h1, h2, h3 { margin: 0; text-wrap: balance; line-height: 1.15; }
h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; font-stretch: 75%; letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 3vw, 31px); font-weight: 800; font-stretch: 78%; letter-spacing: -.005em; }
h3 { font-size: 16px; font-weight: 700; }
.lead { color: var(--muted); font-size: 17px; max-width: 60ch; margin: 0; }
.muted { color: var(--muted); }
.mono, .num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.eyebrow { font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; background: var(--accent); color: var(--accent-ink); text-decoration: none; cursor: pointer; transition: transform .15s, filter .15s; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn.lg { padding: 15px 28px; font-size: 17px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.sm { padding: 7px 12px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { border-color: var(--accent); }
.btn.block { width: 100%; }
:focus-visible { outline: 2px dashed var(--cut); outline-offset: 3px; }

/* Tarjetas y formularios */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; min-width: 0; }
.narrow { max-width: 440px; margin: 0 auto; width: 100%; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); width: 100%; }
.form .hint { font-size: 12px; font-weight: 400; color: var(--muted); }
.gbtn { gap: 10px; font-weight: 600; background: var(--surface); }
.divider { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; color: var(--muted); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.flash { margin: 0; padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.flash.success { background: var(--ok-soft); color: var(--ok); }
.flash.error { background: var(--err-soft); color: var(--err); }
.flash.info { background: var(--accent-soft); color: var(--ink); }

/* Portada */
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-block: 24px; }
@media (max-width: 820px) { .hero { grid-template-columns: minmax(0, 1fr); } }
.hero-copy { display: grid; gap: 18px; justify-items: start; }
.hero-art { aspect-ratio: 210 / 297; max-width: 360px; width: 100%; justify-self: center; background: #fff; box-shadow: var(--shadow); border-radius: 2px; position: relative; overflow: hidden; }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .steps3 { grid-template-columns: minmax(0, 1fr); } }
.steps3 .n { font-family: var(--f-mono); font-size: 12px; color: var(--accent); font-weight: 600; }
.pricegrid { width: 100%; border-collapse: collapse; font-size: 14px; }
.pricegrid th, .pricegrid td { padding: 9px 10px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pricegrid th:first-child, .pricegrid td:first-child { text-align: left; }
.pricegrid thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.scroll-x { overflow-x: auto; }

/* Portada nueva */
.h-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px 40px; align-items: center; padding-block: 16px 8px; }
@media (max-width: 880px) { .h-hero { grid-template-columns: minmax(0, 1fr); } }
.h-copy { display: grid; gap: 20px; justify-items: start; }
.h-copy h1 { font-size: clamp(36px, 5.6vw, 62px); line-height: 1.02; }
.h-copy h1 em { font-style: normal; color: var(--accent); }
.h-badge { display: grid; justify-items: start; gap: 2px; padding: 14px 26px 16px; border: 2.5px dashed var(--cut); border-radius: 24px; background: var(--surface); color: var(--ink); text-decoration: none; line-height: 1.05; transform: rotate(-2deg); box-shadow: 0 0 0 6px var(--accent-soft); }
.h-badge small { font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.h-badge-price { font-size: 44px; font-weight: 800; font-stretch: 75%; color: var(--accent); letter-spacing: -.01em; }
.h-badge-what { font-size: 17px; font-weight: 700; }
.h-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.h-trust li { display: flex; align-items: center; gap: 10px; }
.h-trust svg, .h-uso svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.h-art { position: relative; min-width: 0; }
.hero-art { display: block; width: 100%; max-width: 560px; height: auto; margin-inline: auto; aspect-ratio: auto; background: none; box-shadow: none; overflow: visible; }
@media (prefers-reduced-motion: no-preference) {
  .hero-art > g:nth-of-type(2) { animation: h-float 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  @keyframes h-float { 50% { translate: 0 -6px; } }
}

.h-sec { display: grid; gap: 20px; padding-block: 28px 8px; scroll-margin-top: 80px; }
.h-head { display: grid; gap: 8px; }
.h-usos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .h-usos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .h-usos { grid-template-columns: minmax(0, 1fr); } }
.h-uso { display: grid; gap: 6px; padding: 18px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.h-uso:hover { border: 1.5px dashed var(--cut); transform: rotate(-1deg); }
.h-uso svg { width: 30px; height: 30px; }
.h-uso b { font-size: 17px; }
.h-uso span { color: var(--muted); font-size: 14px; }

.h-steps { list-style: none; counter-reset: st; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .h-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .h-steps { grid-template-columns: minmax(0, 1fr); } }
.h-steps li { counter-increment: st; display: grid; gap: 6px; padding: 18px; background: var(--surface); border-radius: 16px; border: 1px solid var(--line); }
.h-steps li::before { content: counter(st); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-family: var(--f-mono); font-weight: 600; }
.h-steps li:nth-child(3) { border: 2px dashed var(--cut); }
.h-steps b { font-size: 17px; }
.h-steps span { color: var(--muted); font-size: 14px; }

.h-shapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .h-shapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .h-shapes { grid-template-columns: minmax(0, 1fr); } }
.h-shape { display: grid; gap: 8px; align-content: start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.h-shape p { margin: 0; color: var(--muted); font-size: 14px; }
.h-shape ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.h-shape li { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dashed var(--line); padding-bottom: 4px; }
.h-shape li .num { color: var(--muted); font-size: 13px; }
.h-shape-ico { width: 52px; height: 52px; background: var(--accent-soft); border: 2.5px solid var(--accent); outline: 2px dashed var(--cut); outline-offset: 4px; margin: 6px 0 6px 6px; }
.h-shape-ico.circle { border-radius: 50%; }
.h-shape-ico.square { border-radius: 6px; }
.h-shape-ico.rect { width: 70px; height: 44px; border-radius: 6px; margin-block: 10px; }
.h-shape-ico.diecut { border-radius: 46% 54% 38% 62% / 52% 40% 60% 48%; }

.h-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
@media (max-width: 760px) { .h-calc { grid-template-columns: minmax(0, 1fr); } }
.h-calc-ctrl { display: grid; gap: 10px; align-content: start; padding: 24px; }
.h-calc-ctrl select { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); width: 100%; margin-bottom: 8px; }
.h-packs { display: flex; flex-wrap: wrap; gap: 8px; }
.h-packs button { font: inherit; font-family: var(--f-mono); font-weight: 600; min-width: 58px; padding: 10px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.h-packs button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.h-calc-out { display: grid; gap: 6px; align-content: center; justify-items: start; padding: 28px; background: var(--accent-soft); }
.h-calc-units { font-size: 22px; font-weight: 700; }
.h-calc-units b { font-family: var(--f-ui); font-size: clamp(48px, 7vw, 72px); font-weight: 800; font-stretch: 75%; line-height: 1; color: var(--accent); }
.h-calc-price { font-size: 28px; font-weight: 600; }
.h-calc-out .btn { margin-top: 10px; }

.h-faq { display: grid; gap: 10px; max-width: 780px; }
.h-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.h-faq details[open] { border: 1.5px dashed var(--cut); }
.h-faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 16px; }
.h-faq p { margin: 0 0 16px; color: var(--muted); }

.h-cta { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 32px; border-radius: 24px; background: var(--ink); color: var(--surface); }
.h-cta h2 { color: inherit; max-width: 22ch; }
.h-cta p { margin: 8px 0 0; opacity: .8; }
@media (prefers-color-scheme: dark) { .h-cta { background: var(--surface); color: var(--ink); border: 1px solid var(--line); } }

/* Mantenedor */
.adm input[type="number"], .adm select { font: inherit; font-family: var(--f-mono); font-size: 14px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); width: 110px; }
.adm input:disabled { opacity: .45; }
.adm input[type="checkbox"] { accent-color: var(--accent); width: 18px; height: 18px; }
.adm .newrow td { background: var(--accent-soft); }

/* Carro */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 20px; align-items: start; }
@media (max-width: 900px) { .cart { grid-template-columns: minmax(0, 1fr); } }
.cart-items { display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.cart-item.bad { border: 1.5px dashed var(--err); }
.cart-prev { width: 84px; height: auto; aspect-ratio: 210 / 297; background: #fff; box-shadow: var(--shadow); border-radius: 2px; }
.cart-info { display: grid; gap: 2px; min-width: 0; font-size: 14px; }
.cart-units { font-size: 20px; font-weight: 800; font-stretch: 78%; }
.cart-file { overflow-wrap: anywhere; font-size: 12px; }
.cart-side { display: grid; justify-items: end; gap: 6px; }
.cart-price { font-size: 18px; font-weight: 600; }
.cart-checkout { position: sticky; top: 76px; }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg2 label { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 600; }
.seg2 label:has(input:checked) { border: 2px dashed var(--cut); }
.seg2 input { accent-color: var(--accent); }
.free { display: grid; gap: 6px; padding: 12px; border-radius: 12px; background: var(--accent-soft); font-size: 14px; }
.free-bar { height: 8px; border-radius: 99px; background: var(--surface); overflow: hidden; }
.free-bar span { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .3s; }
.cart-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; margin-left: 4px; }

/* Asistente */
.wizard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 20px; align-items: start; }
@media (max-width: 960px) { .wizard { grid-template-columns: minmax(0, 1fr); } }
.stepper { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; font-size: 13px; }
.stepper li { padding: 6px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.stepper li.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.stepper li.done { color: var(--ink); }
.panel { display: grid; gap: 16px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 10px; }
.tile { font: inherit; text-align: left; display: grid; gap: 6px; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; min-width: 0; }
.tile:hover { border-color: var(--accent); }
/* selección = la línea de corte: contorno discontinuo magenta */
.tile[aria-pressed="true"] { border: 2px dashed var(--cut); background: var(--surface); box-shadow: 0 0 0 4px var(--accent-soft); padding: 13.5px; }
.tile b { font-size: 15px; }
.tile small { color: var(--muted); font-size: 12px; }
.tile .shape-ico { width: 44px; height: 44px; border: 2px solid var(--ink); background: var(--bg); }
.tile .shape-ico.circle { border-radius: 50%; }
.tile .shape-ico.square { border-radius: 4px; }
.tile .shape-ico.rect { width: 60px; height: 38px; border-radius: 4px; }
/* Medidas: la figura a escala es el botón; la tarjeta bancaria punteada detrás da la referencia */
.sz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; }
.sz { position: relative; font: inherit; color: var(--ink); text-align: center; display: grid; justify-items: center; gap: 4px; padding: 14px 10px 12px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); cursor: pointer; min-width: 0; transition: transform .15s; }
.sz:hover { border-color: var(--accent); transform: translateY(-2px); }
.sz[aria-pressed="true"] { border: 2px dashed var(--cut); box-shadow: 0 0 0 4px var(--accent-soft); padding: 13.5px 9.5px 11.5px; }
.sz-stage { position: relative; width: 100%; display: grid; place-items: end center; margin-bottom: 6px; }
.sz-card { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); border: 1.5px dashed var(--muted); opacity: .45; border-radius: 5px; }
.sz-fig { position: relative; display: block; border: 2px solid var(--ink); background: var(--accent-soft); }
svg.sz-fig { border: 0; background: none; fill: var(--accent-soft); stroke: var(--ink); }
.sz:hover .sz-fig, .sz[aria-pressed="true"] .sz-fig { border-color: var(--accent); stroke: var(--accent); }
.sz b { font-size: 15px; }
.sz small { color: var(--muted); font-size: 12px; }
.sz-tag { position: absolute; top: 8px; right: 8px; font-style: normal; font-size: 11px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 99px; }
.scale-strip { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; padding: 14px; background: var(--surface); border: 1px dashed var(--line); border-radius: 12px; }
.scale-strip .ref { font-size: 11px; color: var(--muted); }
.drop { display: grid; gap: 4px; place-items: center; text-align: center; padding: 28px 16px; border: 2px dashed var(--line); border-radius: 12px; cursor: pointer; background: var(--surface); }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cropbox { position: relative; width: 100%; max-width: 380px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; touch-action: none; cursor: grab; background: repeating-conic-gradient(var(--line) 0 25%, transparent 0 50%) 0 0 / 16px 16px; justify-self: center; }
.cropbox canvas { width: 100%; height: 100%; display: block; }
.field { display: grid; grid-template-columns: 90px minmax(0, 1fr) 54px; align-items: center; gap: 10px; font-size: 14px; }
.field output { font-family: var(--f-mono); font-size: 12px; text-align: right; }
input[type="range"] { accent-color: var(--accent); width: 100%; }
.qty { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.qty .tile { gap: 2px; }
.qty .tile .price { font-family: var(--f-mono); font-weight: 600; }
.notice { padding: 10px 12px; border-radius: 8px; font-size: 13px; }
.notice.warn { background: var(--warn-soft); color: var(--warn); }
.notice.ok { background: var(--ok-soft); color: var(--ok); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { margin-top: 3px; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.navrow { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.summary { position: sticky; top: 76px; display: grid; gap: 14px; }
.sheet-canvas { width: 100%; aspect-ratio: 210 / 297; height: auto; background: #fff; box-shadow: var(--shadow); display: block; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 14px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.total { font-size: 28px; font-weight: 800; font-stretch: 80%; font-variant-numeric: tabular-nums; }

/* Tablas de pedidos */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.table td.r, .table th.r { text-align: right; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); white-space: nowrap; }
.pill.pendiente_pago { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.pill.pagado, .pill.en_produccion { background: var(--accent-soft); color: var(--ink); border-color: transparent; }
.pill.listo, .pill.enviado, .pill.entregado { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.pill.cancelado { background: var(--err-soft); color: var(--err); border-color: transparent; }
.cols2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .cols2 { grid-template-columns: minmax(0, 1fr); } }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.timeline li { display: flex; justify-content: space-between; gap: 10px; border-left: 3px solid var(--line); padding-left: 10px; }
.timeline li:first-child { border-color: var(--accent); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.empty { text-align: center; padding: 32px 16px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
