/* Hergen — sistema de diseño (Apple-like, moderno, responsive). Sin build: se sirve tal cual.
   Mobile-first: lo base es móvil; @media (min-width) añade escritorio. */

:root {
  --bg: #f5f5f7; --surface: #fff; --surface-2: #fafafc;
  --line: #e3e3e8; --line-strong: #d2d2d7;
  --ink: #1d1d1f; --ink-2: #424245; --mute: #6e6e73;
  --blue: #0071e3; --blue-h: #0077ed; --blue-soft: #e8f1fd; --blue-ink: #0a58b8;
  --green: #1a7f37; --green-soft: #e8f7ec;
  --red: #d92d20; --red-soft: #ffecea; --red-ink: #b42318;
  --amber: #b25e00; --amber-soft: #fff4e0;
  --r-sm: 10px; --r: 14px; --r-lg: 20px; --pill: 980px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 1px 1px rgba(0,0,0,.03);
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 6px 20px -6px rgba(0,0,0,.09);
  --shadow-lg: 0 10px 40px -10px rgba(0,0,0,.22);
  --sf: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --side-w: 256px; --tab-h: 64px; --top-h: 56px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sf); background: var(--bg); color: var(--ink); letter-spacing: -.011em;
  min-height: 100vh; line-height: 1.45; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { letter-spacing: -.024em; margin: 0 0 .5rem; line-height: 1.15; }
h1 { font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.1rem); font-weight: 700; }
h2 { font-size: 1.2rem; font-weight: 650; margin-top: 1.5rem; }
h3 { font-size: 1rem; font-weight: 650; }
p { margin: 0 0 .75rem; }
.card > :is(h1,h2,h3):first-child { margin-top: 0; }
.wrap.wide > h1 { margin-bottom: 1rem; }
a { color: var(--blue-ink); text-underline-offset: 2px; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid rgba(0,113,227,.45); outline-offset: 2px; border-radius: 6px; }
.mute { color: var(--mute); font-size: .88rem; }
.n { text-align: right; font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }

/* ───────── Contenedores ───────── */
.wrap { max-width: 440px; margin: 0 auto; padding: clamp(2rem, 9vh, 5rem) 1rem; }
.wrap.wide { max-width: 1120px; padding: 0; }
.card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 1.1rem; border: 1px solid rgba(0,0,0,.035); }
@media (min-width: 720px) { .card { padding: 1.5rem; } }
.card + .card { margin-top: 1rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.grid > .card + .card { margin-top: 0; }

/* ───────── Botones ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; border: 0;
  background: var(--blue); color: #fff; padding: .6rem 1.25rem; border-radius: var(--pill); font: 500 .95rem var(--sf);
  cursor: pointer; text-decoration: none; transition: background .15s, transform .08s, box-shadow .15s; -webkit-tap-highlight-color: transparent; }
.btn:hover { background: var(--blue-h); }
.btn:active { transform: scale(.98); }
.btn.full { width: 100%; margin-top: 1.25rem; }
.btn.sm { min-height: 36px; padding: .35rem .95rem; font-size: .85rem; }
.btn.ghost { background: transparent; color: var(--blue-ink); padding-inline: .8rem; }
.btn.ghost:hover { background: var(--blue-soft); }
.btn.light { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn.light:hover { background: var(--surface-2); }
.btn.danger { background: var(--surface); color: var(--red-ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn.danger:hover { background: var(--red-soft); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
@media (max-width: 899px) { .btn.sm { min-height: 44px; } }
@media (min-width: 900px) and (pointer: fine) { .btn { min-height: 40px; } .btn.sm { min-height: 32px; } }

/* ───────── Formularios ───────── */
label { display: block; font-size: .82rem; font-weight: 550; margin: 1rem 0 .35rem; color: var(--ink-2); }
.inp { width: 100%; min-height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: .6rem .8rem;
  font: 400 1rem var(--sf); background: var(--surface); color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; }
.inp:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,113,227,.16); }
select.inp { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center; padding-right: 2.3rem; }
textarea.inp { min-height: 96px; resize: vertical; }
input[type=checkbox], input[type=radio] { accent-color: var(--blue); width: 1.1rem; height: 1.1rem; }
@media (min-width: 900px) and (pointer: fine) { .inp { min-height: 40px; font-size: .95rem; } }
.err { color: var(--red-ink); font-size: .82rem; margin-top: .3rem; }
.bar { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin: 1rem 0; }
.bar > .inp { width: auto; flex: 1 1 160px; min-width: 0; }
.inp { max-width: 100%; }
.bar > form { display: contents; }

/* ───────── Mensajes e insignias ───────── */
.flash { display: flex; gap: .6rem; align-items: flex-start; background: var(--green-soft); color: var(--green); border-radius: var(--r);
  padding: .8rem 1rem; margin-bottom: 1rem; font-size: .92rem; }
.flash.bad { background: var(--red-soft); color: var(--red-ink); }
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .65rem; border-radius: var(--pill); font-size: .75rem; font-weight: 600;
  white-space: nowrap; background: #f0f0f3; color: var(--mute); }
.badge.green { background: var(--green-soft); color: var(--green); }
.badge.red { background: var(--red-soft); color: var(--red-ink); }
.badge.amber { background: var(--amber-soft); color: var(--amber); }
.badge.blue { background: var(--blue-soft); color: var(--blue-ink); }
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; display: inline-block; }

/* ───────── Filas y tablas ───────── */
.row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .4rem 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row > * { min-width: 0; }
.row > :last-child:not(:first-child) { margin-left: auto; text-align: right; }
.row-actions { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; justify-content: flex-end; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-inline: -1.1rem; padding-inline: 1.1rem; }
table.t { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.t th { text-align: left; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); font-weight: 600;
  padding: .6rem .55rem; border-bottom: 1px solid var(--line-strong); line-height: 1.25; vertical-align: bottom; }
table.t td { padding: .75rem .55rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tbody tr:hover { background: var(--surface-2); }
table.t th.n, table.t td.n { text-align: right; white-space: nowrap; }
table.t td:first-child, table.t th:first-child { padding-left: .75rem; }
table.t td:first-child { min-width: 8rem; }
/* Una tarjeta con tabla se desplaza dentro de sí misma: nunca recorta columnas ni rompe la página. */
.card:has(table.t) { overflow-x: auto; -webkit-overflow-scrolling: touch;
  /* sombras laterales que indican que hay más contenido al desplazar */
  background: linear-gradient(to right, #fff 30%, rgba(255,255,255,0)) left center / 40px 100% no-repeat local,
              linear-gradient(to left, #fff 30%, rgba(255,255,255,0)) right center / 40px 100% no-repeat local,
              radial-gradient(farthest-side at 0 50%, rgba(0,0,0,.13), rgba(0,0,0,0)) left center / 12px 100% no-repeat scroll,
              radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.13), rgba(0,0,0,0)) right center / 12px 100% no-repeat scroll, var(--surface); }


/* En móvil cada fila de tabla es una tarjeta apilada (etiqueta · valor). Se desactiva con class="t keep". */
@media (max-width: 719px) {
  .card:has(table.t:not(.keep)) { overflow-x: visible; background: var(--surface); }
  table.t:not(.keep), table.t:not(.keep) tbody, table.t:not(.keep) tfoot, table.t:not(.keep) tr, table.t:not(.keep) td { display: block; width: 100%; }
  table.t:not(.keep) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.t:not(.keep) tr { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .card.flush table.t:not(.keep) tr { padding-inline: 1.1rem; } /* tarjetas sin relleno propio */
  table.t:not(.keep) tr:last-child { border-bottom: 0; }
  table.t:not(.keep) tbody tr:hover { background: none; }
  table.t:not(.keep) td { display: flex; align-items: baseline; justify-content: flex-end; flex-wrap: wrap; gap: .15rem 1rem; padding: .22rem 0; border: 0; text-align: right; min-width: 0 !important; }
  table.t:not(.keep) td[data-label] { justify-content: space-between; }
  table.t:not(.keep) td[data-label]::before { content: attr(data-label); color: var(--mute); font-size: .78rem; font-weight: 500; text-align: left; flex: none; }
  table.t:not(.keep) td:first-child { display: block; text-align: left; font-size: 1rem; padding-bottom: .4rem; }
  table.t:not(.keep) td:first-child::before { content: none; }
  table.t:not(.keep) td:empty { display: none; }
  table.t:not(.keep) td.n { white-space: normal; }
  table.t:not(.keep) td > .inp, table.t:not(.keep) td > select, table.t:not(.keep) td > input:not([type=checkbox]):not([type=radio]) { flex: 1 1 11rem; width: auto; min-width: 0; }
}

/* ───────── Componentes de panel ───────── */
.page-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1rem; margin: 0 0 1.25rem; }
.page-head h1 { margin: 0; }
.page-head .sub { color: var(--mute); font-size: .95rem; margin-top: .2rem; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; margin-bottom: 1.25rem; }
.kpi { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: .9rem 1rem; min-width: 0; border: 1px solid rgba(0,0,0,.035); display: flex; flex-direction: column; gap: .15rem; }
.kpi-label { color: var(--mute); font-size: .8rem; font-weight: 500; display: flex; align-items: center; gap: .4rem; }
.kpi-value { font-size: clamp(1.35rem, 1rem + 1.1vw, 1.75rem); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.kpi-sub { color: var(--mute); font-size: .8rem; }
.kpi.bad .kpi-value { color: var(--red-ink); }
.kpi.good .kpi-value { color: var(--green); }
.section-title { display: flex; align-items: center; gap: .55rem; font-weight: 650; font-size: 1rem; margin: 0 0 .25rem; }
.section-title .icon { color: var(--blue); }
.section-title.warn .icon { color: var(--amber); }
.section-title.bad .icon { color: var(--red); }
.section-title .link { margin-left: auto; font-weight: 500; font-size: .88rem; }
.empty { text-align: center; padding: 2rem 1rem; color: var(--mute); }
.empty .icon { width: 2rem; height: 2rem; color: var(--green); margin-bottom: .4rem; }

/* ───────── Shell de la aplicación ───────── */
.shell { min-height: 100vh; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.1rem; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(145deg, #2997ff, #0071e3); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: .95rem; box-shadow: 0 2px 6px rgba(0,113,227,.35); }
.account-pill { display: flex; align-items: center; gap: .6rem; min-width: 0; padding: .55rem .7rem; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); }
.account-pill .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-ink); display: grid; place-items: center; font-weight: 700; font-size: .8rem; flex: none; }
.account-pill .name { font-weight: 600; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-pill .kind { color: var(--mute); font-size: .72rem; }

.side { display: none; }
.topbar { position: sticky; top: 0; z-index: 30; height: var(--top-h); display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 0 1rem;
  background: rgba(245,245,247,.82); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.topbar .acc { color: var(--mute); font-size: .82rem; max-width: 45vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.main { padding: 1.1rem 1rem calc(var(--tab-h) + var(--safe-b) + 1.5rem); }

.tabbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--line); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; color: var(--mute); text-decoration: none; font: 500 .66rem var(--sf);
  background: none; border: 0; cursor: pointer; min-width: 0; padding: 0 .1rem; -webkit-tap-highlight-color: transparent; }
.tab .icon { width: 1.5rem; height: 1.5rem; }
.tab.on { color: var(--blue); }
.tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sheet-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .2s; }
.sheet { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; max-height: 82vh; overflow-y: auto; background: var(--surface); border-radius: 24px 24px 0 0;
  padding: .5rem 1rem calc(1rem + var(--safe-b)); transform: translateY(105%); visibility: hidden; transition: transform .28s cubic-bezier(.2,.8,.2,1), visibility 0s .28s; box-shadow: var(--shadow-lg); }
.sheet .grabber { width: 38px; height: 5px; border-radius: 3px; background: var(--line-strong); margin: .35rem auto .9rem; }
.sheet-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.sheet-nav a { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .85rem .25rem; border-radius: var(--r); background: var(--surface-2);
  color: var(--ink-2); text-decoration: none; font-size: .78rem; font-weight: 550; text-align: center; }
.sheet-nav a .icon { width: 1.6rem; height: 1.6rem; color: var(--blue); }
.sheet-nav a.on { background: var(--blue-soft); color: var(--blue-ink); }
.sheet-foot { display: flex; gap: .5rem; margin-top: .9rem; flex-wrap: wrap; }
.sheet-foot > * { flex: 1 1 140px; }
.sheet-foot form { display: contents; }
.sheet-foot .btn { width: 100%; }
body.sheet-open { overflow: hidden; }
body.sheet-open .sheet { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2,.8,.2,1), visibility 0s; }
body.sheet-open .sheet-backdrop { opacity: 1; pointer-events: auto; }

@media (min-width: 1024px) {
  .side { display: flex; flex-direction: column; gap: 1rem; position: fixed; inset: 0 auto 0 0; width: var(--side-w); padding: 1.25rem .85rem; background: rgba(255,255,255,.72);
    backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-right: 1px solid var(--line); overflow-y: auto; z-index: 20; }
  .side .brand { padding: .15rem .55rem; }
  .side-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
  .side-nav .group { font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--mute); font-weight: 650; padding: .75rem .75rem .25rem; }
  .side-nav a { display: flex; align-items: center; gap: .7rem; padding: .48rem .75rem; border-radius: var(--r-sm); color: var(--ink-2); text-decoration: none; font-size: .9rem; font-weight: 500; transition: background .12s; }
  .side-nav a .icon { color: var(--mute); transition: color .12s; }
  .side-nav a:hover { background: rgba(0,0,0,.045); }
  .side-nav a.on { background: var(--blue-soft); color: var(--blue-ink); font-weight: 600; }
  .side-nav a.on .icon { color: var(--blue); }
  .side-foot { display: flex; flex-direction: column; gap: .15rem; border-top: 1px solid var(--line); padding-top: .75rem; }
  .side-foot a, .side-foot button { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .5rem .75rem; border-radius: var(--r-sm); color: var(--mute); background: none; border: 0;
    font: 500 .88rem var(--sf); text-decoration: none; cursor: pointer; text-align: left; }
  .side-foot a:hover, .side-foot button:hover { background: rgba(0,0,0,.045); color: var(--ink); }
  .side-foot { margin-top: auto; }
  .topbar, .tabbar, .sheet, .sheet-backdrop { display: none; }
  .shell { padding-left: var(--side-w); }
  .main { padding: 2rem clamp(1.5rem, 3vw, 3rem) 3rem; max-width: calc(1120px + 2 * clamp(1.5rem, 3vw, 3rem)); margin: 0 auto; }
}

/* ───────── Acceso / páginas públicas ───────── */
.wrap:not(.wide) > h1 { text-align: center; margin-top: 1rem; }
.wrap:not(.wide) > .mute { text-align: center; margin-bottom: 1.25rem; }
.wrap:not(.wide)::before { content: 'H'; display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 1rem; border-radius: 14px;
  background: linear-gradient(145deg, #2997ff, #0071e3); color: #fff; font-weight: 800; font-size: 1.4rem; box-shadow: 0 6px 16px rgba(0,113,227,.35); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .side, .topbar, .tabbar, .sheet, .sheet-backdrop { display: none !important; } .shell { padding: 0; } .main { padding: 0; } body { background: #fff; } .card { box-shadow: none; } }

/* ───────── Campo de archivo ───────── */
input[type=file] { font: 400 .92rem var(--sf); color: var(--mute); max-width: 100%; min-height: 44px; display: inline-flex; align-items: center; }
input[type=file]::file-selector-button { font: 500 .88rem var(--sf); border: 0; border-radius: var(--pill); padding: .55rem 1.1rem; margin-right: .75rem;
  background: var(--blue-soft); color: var(--blue-ink); cursor: pointer; transition: background .15s; }
input[type=file]::file-selector-button:hover { background: #d6e7fb; }

.dz-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--blue-soft); color: var(--blue); margin-bottom: .4rem; }
.dz-icon .icon { width: 1.6rem; height: 1.6rem; }
input[type=search].inp { -webkit-appearance: none; appearance: none; }

/* ───────── Utilidades (sustituyen a los estilos en línea) ───────── */
.m0 { margin: 0; } .mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; } .mb05 { margin-bottom: .5rem; } .mb1 { margin-bottom: 1rem; } .mb125 { margin-bottom: 1.25rem; } .mb15 { margin-bottom: 1.5rem; }
.mt04 { margin-top: .4rem; } .mt06 { margin-top: .6rem; } .mt1 { margin-top: 1rem; } .mt125 { margin-top: 1.25rem; } .mt15 { margin-top: 1.5rem; } .mt18 { margin-top: 1.8rem; }
.tc { text-align: center; } .jsb { justify-content: space-between; } .jcc { justify-content: center; } .wauto { width: auto; } .inline { display: inline; }
.flush { padding: 0; overflow-x: auto; }
.big { font-size: 1.6rem; font-weight: 700; } .huge { font-size: 2rem; font-weight: 700; }
.tone-amber { background: var(--amber-soft); color: var(--amber); } .tone-red { background: var(--red-soft); color: var(--red-ink); }
.tone-blue { background: var(--blue-soft); color: var(--blue-ink); } .tone-green { background: var(--green-soft); color: var(--green); }
table.t td.empty-cell { padding: 1.5rem; text-align: center; }
@media (max-width: 719px) { table.t:not(.keep) td.empty-cell { display: block; text-align: center; } }

/* Páginas legales y consentimiento */
label.check { display: flex; gap: .5rem; align-items: flex-start; font-weight: 400; margin: 1rem 0 .5rem; }
label.check input { margin-top: .2rem; }
.legal { max-width: 760px; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.legal h2 { margin-top: 1.8rem; }
.legal p, .legal li { line-height: 1.55; }
.legal-links { margin: 1.5rem 0 2rem; }
.legal-links a { margin: 0 .4rem; }

/* Paginación */
.pager { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin: 1rem 0; }
.pager .disabled { opacity: .45; pointer-events: none; }

/* ── Utilidades generadas al externalizar los style="" (CSP sin 'unsafe-inline'). !important = misma fuerza que el estilo en línea. ── */
.u-0b71e74d { border:1px solid var(--line) !important;border-radius:12px !important;padding:.7rem !important;margin-top:.6rem !important; }
.u-20fcb454 { font-weight:700 !important;color:inherit !important;text-decoration:none !important; }
.u-2abf9626 { border:2px dashed var(--line) !important;border-radius:18px !important;padding:1.5rem !important;text-align:center !important;background:#fbfbfd !important; }
.u-3cc5743e { display:flex !important;gap:.5rem !important;align-items:center !important;margin-top:1rem !important; }
.u-55f30c99 { display:flex !important;gap:.5rem !important;align-items:center !important;font-weight:400 !important; }
.u-649196bc { max-width:480px !important;margin:2rem auto !important;text-align:center !important; }
.u-6516ce62 { display:inline-flex !important;gap:.4rem !important;align-items:center !important;font-weight:400 !important;margin:.2rem 1rem .2rem 0 !important; }
.u-84b22858 { font-size:1.6rem !important;font-weight:700 !important;color:#1a7f37 !important; }
.u-8c87284b { display:grid !important;grid-template-columns:minmax(0,1fr) !important;gap:1.25rem !important; }
.u-9967f362 { background:var(--amber-soft) !important;color:var(--amber) !important; }
.u-9aaad562 { gap:.75rem !important;flex-wrap:wrap !important;align-items:end !important; }
.u-background-f0e8ff-color-6b3fb5 { background:#f0e8ff !important;color:#6b3fb5 !important; }
.u-background-f5f5f7 { background:#f5f5f7 !important; }
.u-c8447aac { flex:1 !important;background:#f5f5f7 !important;border-radius:980px !important;height:10px !important; }
.u-color-b25e00 { color:#b25e00 !important; }
.u-color-var-mute { color:var(--mute) !important; }
.u-d5e38e74 { margin-bottom:1.25rem !important;padding:0 !important;overflow-x:auto !important; }
.u-display-flex-flex-wrap-wrap-gap-p5rem { display:flex !important;flex-wrap:wrap !important;gap:.5rem !important; }
.u-display-flex-gap-p5rem { display:flex !important;gap:.5rem !important; }
.u-flex-1-1-220px { flex:1 1 220px !important; }
.u-font-size-1p2rem-font-weight-700 { font-size:1.2rem !important;font-weight:700 !important; }
.u-font-size-1p4rem-font-weight-700 { font-size:1.4rem !important;font-weight:700 !important; }
.u-font-size-1p5rem-font-weight-700 { font-size:1.5rem !important;font-weight:700 !important; }
.u-font-size-p72rem { font-size:.72rem !important; }
.u-font-size-p74rem { font-size:.74rem !important; }
.u-font-size-p78rem { font-size:.78rem !important; }
.u-font-size-p8rem { font-size:.8rem !important; }
.u-font-weight-400-margin-0 { font-weight:400 !important;margin:0 !important; }
.u-justify-content-space-between-margin-0 { justify-content:space-between !important;margin:0 !important; }
.u-margin-p2rem-0-1rem-1p1rem-padding-0 { margin:.2rem 0 1rem 1.1rem !important;padding:0 !important; }
.u-margin-p3rem-0 { margin:.3rem 0 !important; }
.u-margin-p3rem-0-p8rem { margin:.3rem 0 .8rem !important; }
.u-margin-p4rem-0-0-1rem-padding-0 { margin:.4rem 0 0 1rem !important;padding:0 !important; }
.u-margin-p8rem-0-0-1p1rem-padding-0 { margin:.8rem 0 0 1.1rem !important;padding:0 !important; }
.u-margin-top-1p25rem { margin-top:1.25rem !important; }
.u-margin-top-1p2rem { margin-top:1.2rem !important; }
.u-margin-top-1p4rem { margin-top:1.4rem !important; }
.u-margin-top-p3rem { margin-top:.3rem !important; }
.u-margin-top-p5rem { margin-top:.5rem !important; }
.u-margin-top-p8rem { margin-top:.8rem !important; }
.u-max-width-100pc { max-width:100% !important; }
.u-max-width-120px { max-width:120px !important; }
.u-max-width-140px { max-width:140px !important; }
.u-max-width-160px { max-width:160px !important; }
.u-max-width-170px { max-width:170px !important; }
.u-max-width-230px { max-width:230px !important; }
.u-max-width-240px { max-width:240px !important; }
.u-max-width-260px { max-width:260px !important; }
.u-max-width-280px { max-width:280px !important; }
.u-max-width-420px { max-width:420px !important; }
.u-max-width-560px { max-width:560px !important; }
.u-max-width-560px-margin-0-auto { max-width:560px !important;margin:0 auto !important; }
.u-max-width-640px { max-width:640px !important; }
.u-max-width-720px-margin-top-1p25rem { max-width:720px !important;margin-top:1.25rem !important; }
.u-min-width-0 { min-width:0 !important; }
.u-min-width-12rem { min-width:12rem !important; }
.u-min-width-150px { min-width:150px !important; }
.u-min-width-170px { min-width:170px !important; }
.u-min-width-180px { min-width:180px !important; }
.u-min-width-200px { min-width:200px !important; }
.u-overflow-x-auto { overflow-x:auto !important; }
.u-padding-0-1rem-1rem { padding:0 1rem 1rem !important; }
.u-padding-1p2rem { padding:1.2rem !important; }
.u-padding-1rem { padding:1rem !important; }
.u-padding-top-0 { padding-top:0 !important; }
.u-position-absolute { position:absolute !important; }
.u-white-space-nowrap { white-space:nowrap !important; }
.u-width-100px { width:100px !important; }
.u-width-110px { width:110px !important; }
.u-width-3rem-text-align-right { width:3rem !important;text-align:right !important; }
.u-width-4p5rem { width:4.5rem !important; }
.u-width-4rem { width:4rem !important; }
.u-width-5p5rem { width:5.5rem !important; }
.u-width-5rem { width:5rem !important; }
.u-width-6rem { width:6rem !important; }
.u-width-70px { width:70px !important; }
.u-width-75px { width:75px !important; }
.u-width-90px { width:90px !important; }
.u-width-9rem { width:9rem !important; }

/* Casos que antes llevaban style="" calculado en la vista. */
.badge.tone-blue { background: #e8f0fe; color: #1a56c4; }
.badge.tone-amber { background: #fff4e0; color: #b25e00; }
.badge.tone-purple { background: #f0e8ff; color: #6b3fb5; }
.badge.tone-green { background: #e8f7ec; color: #1a7f37; }
.badge.tone-red { background: #ffecea; color: #c4271c; }
.ink-red { color: #c4271c; }
.ink-green { color: #1a7f37; }
.ink-amber { color: #b25e00; }
.big-num { font-size: 2rem; font-weight: 700; }
.u-bar-fill { height: 10px; border-radius: 980px; background: var(--blue); }
.u-bold6 { font-weight: 600; }
.allergen-chip { display: inline-flex; gap: .4rem; align-items: center; margin: 0; padding: .35rem .7rem; border-radius: 980px; border: 1px solid var(--line); font-weight: 400; background: #fff; }
.allergen-chip.is-confirmed { background: #e8f7ec; }
.allergen-chip.is-suggested { background: #fff4e0; }
.cap-off { color: var(--mute); text-decoration: line-through; }
