@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/portal/fuentes/inter.3100e775e861.woff2') format('woff2'); }
:root { color-scheme: dark; --fondo: #050505; --texto: #f3f6f8; --secundario: #c0c9cd; --acento: #0bb8c4; --sobre: #031416; --panel: #121b1d; --borde: #576a6e; --error: #ffb4ab; --ferror: #3b1715; --header: #050505; font: 100%/1.6 Inter, system-ui, sans-serif; }
:root[data-tema="claro"] { color-scheme: light; --fondo: #eaf3f3; --texto: #12282b; --secundario: #38565b; --acento: #08757c; --sobre: #fff; --panel: #f9fdfd; --borde: #607f84; --error: #8f2119; --ferror: #ffe9e5; --header: #eaf3f3; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; scroll-padding-block: 6rem; }
body { margin: 0; background: var(--fondo); color: var(--texto); min-height: 100dvh; overflow-wrap: anywhere; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(ellipse at 95% 0, rgb(11 184 196 / 14%), transparent 55%); }
.cabecera { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: calc(.6rem + env(safe-area-inset-top, 0px)) max(1rem, env(safe-area-inset-right, 0px)) .6rem max(1rem, env(safe-area-inset-left, 0px)); background: var(--header); border-bottom: 1px solid var(--borde); }
.marca { display: flex; gap: .75rem; align-items: center; color: var(--texto); text-decoration: none; }
.marca img { object-fit: contain; }
.marca span { font-size: .85rem; }
.logo-claro { display: none; }
:root[data-tema="claro"] .logo-claro { display: block; }
:root[data-tema="claro"] .logo-oscuro { display: none; }
main { max-width: 68rem; margin: auto; padding: 1.5rem max(1rem, env(safe-area-inset-right, 0px)) calc(7rem + env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px)); }
main:focus { outline: none; }
h1 { font-size: clamp(1.65rem, 4vw, 2.4rem); line-height: 1.2; letter-spacing: -.03em; margin: .5rem 0 1rem; }
h2 { font-size: 1.15rem; line-height: 1.4; margin: .5rem 0; }
h3 { font-size: 1rem; }
p { margin: .6rem 0; }
.intro, .ayuda { color: var(--secundario); }
.ayuda { font-size: .9rem; }
.tarjeta { background: var(--panel); padding: 1.25rem; margin-block: 1rem; border: 1px solid var(--borde); border-radius: 22px; box-shadow: 0 12px 30px -22px #000; min-width: 0; }
@supports (backdrop-filter: blur(8px)) { .tarjeta { background: color-mix(in srgb, var(--panel) 95%, transparent); backdrop-filter: blur(8px); } }
.acceso { max-width: 32rem; }
.lista { display: grid; gap: 1rem; margin-top: 1rem; }
.lista .tarjeta { margin: 0; }
@media (min-width: 48rem) { .lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
button, .accion { font: inherit; font-weight: 600; min-height: 44px; padding: .65rem 1.1rem; border: 1px solid var(--borde); border-radius: 999px; background: var(--panel); color: var(--texto); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; margin: .25rem .4rem .25rem 0; text-align: center; text-decoration: none; }
button, a { touch-action: manipulation; }
button, .accion, .navegacion a { user-select: none; -webkit-user-select: none; }
button:active, .accion:active { transform: scale(.98); }
button:disabled { opacity: .65; cursor: wait; }
.primario { background: var(--acento); color: var(--sobre); border-color: var(--acento); }
.peligro { color: var(--error); }
a { color: var(--acento); text-underline-offset: .2em; }
.tarjeta > a:not(.accion), .agenda a { display: inline-flex; min-height: 44px; align-items: center; }
@media (hover: hover) and (pointer: fine) { button:hover:not(:disabled), .accion:hover { filter: brightness(1.12); } a:hover { text-decoration-thickness: 2px; } }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 4px; }
.campo { display: flex; flex-direction: column; gap: .4rem; margin-block: 1rem; min-width: 0; }
label, legend { font-weight: 600; }
input, textarea, select { font: inherit; font-size: 16px; width: 100%; min-width: 0; min-height: 48px; border-radius: 12px; border: 1px solid var(--borde); padding: .75rem; color: var(--texto); background: var(--fondo); scroll-margin-block: 2rem; }
textarea { resize: vertical; }
[aria-invalid='true'] { border: 2px solid var(--error); }
.campo .ayuda { margin: 0; }
fieldset { border: 1px solid var(--borde); border-radius: 16px; margin: 1.5rem 0; padding: 1rem; min-width: 0; }
.renglones { padding: 0; }
ol.renglones { padding-left: 1.5rem; }
.chip { display: inline-block; border: 1px solid var(--borde); border-radius: 999px; padding: .2rem .7rem; font-size: .9rem; }
.precio { font-size: 1.5rem; font-weight: 700; }
.error { border: 1px solid var(--error); border-radius: 12px; background: var(--ferror); color: var(--error); padding: 1rem; margin-block: 1rem; }
.estado, .vacio { padding: 1.5rem 0; }
.conexion { padding: .7rem 1rem; background: var(--ferror); color: var(--error); border-bottom: 1px solid var(--error); }
.navegacion { position: fixed; bottom: 0; inset-inline: 0; display: flex; justify-content: center; gap: .25rem; padding: .5rem max(.5rem, env(safe-area-inset-right, 0px)) calc(.5rem + env(safe-area-inset-bottom, 0px)) max(.5rem, env(safe-area-inset-left, 0px)); background: var(--header); border-top: 1px solid var(--borde); z-index: 5; }
.navegacion a { flex: 1 1 0; max-width: 12rem; display: flex; justify-content: center; align-items: center; min-height: 48px; font-size: .9rem; border-radius: 999px; color: var(--texto); text-decoration: none; padding: .45rem; }
.navegacion a[aria-current='page'] { background: var(--acento); color: var(--sobre); font-weight: 700; }
.agenda { list-style: none; padding: 0; }
.filtros { max-width: 24rem; }
.multilinea, dialog p { white-space: pre-wrap; }
dialog { background: var(--panel); color: var(--texto); border: 1px solid var(--borde); border-radius: 22px; padding: 1.5rem; width: min(32rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; }
dialog::backdrop { background: rgb(0 0 0 / 65%); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.saltar { position: fixed; top: .5rem; left: .5rem; transform: translateY(-200%); z-index: 20; padding: .75rem; background: var(--panel); }
.saltar:focus { transform: none; }
@media (prefers-reduced-motion: no-preference) { button, .accion { transition: transform 120ms ease-out, filter 120ms ease-out; } }
@media (forced-colors: active) { .tarjeta, .navegacion, input, textarea, select { border: 1px solid CanvasText; } .navegacion a[aria-current='page'] { outline: 2px solid Highlight; } }
/* Volta mantiene superficies planas; Crearte conserva exactamente sus estilos. */
:root[data-marca="volta"] { --fondo: #101319; --header: #101319; --acento: #c8f031; --sobre: #101319; --panel: #1b2028; --texto: #f4f6ed; --secundario: #b9c3b8; --borde: #677166; }
:root[data-marca="volta"] body::before { background: none; }
:root[data-marca="volta"][data-tema="claro"] { --fondo: #f4f6ed; --header: #f4f6ed; --texto: #101319; --secundario: #394536; --panel: #fff; --borde: #677166; --acento: #435500; --sobre: #fff; }
:root[data-marca="volta"][data-tema="claro"] .primario, :root[data-marca="volta"][data-tema="claro"] .navegacion a[aria-current="page"] { background: #c8f031; color: #101319; border-color: #c8f031; }
