/* =========================================================
   Jabruta · estilos 0.3
   Mobile-first. RTL con propiedades lógicas (inline/block).
   ========================================================= */

:root {
  --papel: #F2F0EA;
  --hoja: #FFFFFF;
  --hoja-2: #F8F6F1;
  --tinta: #151815;
  --tinta-2: #4A5049;
  --tinta-3: #6A7068;
  --hilo: #E4E0D6;
  --hilo-2: #D2CCBE;
  --verde: #1F3A2E;
  --verde-2: #2D5242;
  --verde-vivo: #3F7A5E;
  --verde-suave: #E4ECE6;
  --laton: #7A5B1D;
  --laton-claro: #C9A24F;
  --laton-suave: #F3EAD3;
  --rojo: #9A3226;
  --sobre-verde: #F2EEE3;

  --f-heb: "Frank Ruhl Libre", "David Libre", serif;
  --f-ui: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-ui-heb: "Heebo", "Instrument Sans", system-ui, sans-serif;
  --f-serif: "Newsreader", Georgia, serif;

  --tam: 23px;
  --interlinea: 1.9;
  --r: 22px;
  --r-l: 28px;
  --sombra: 0 1px 2px rgba(21, 24, 21, .04), 0 10px 30px -14px rgba(21, 24, 21, .16);
  --sombra-alta: 0 30px 70px -24px rgba(21, 24, 21, .38);
  --alto-nav: 64px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --curva: var(--ease-out);
  --resorte: var(--ease-out);
}
[data-tema="oscuro"] {
  --papel: #0E110F; --hoja: #171B18; --hoja-2: #1C211D; --tinta: #EEE9DE; --tinta-2: #B4BAB1; --tinta-3: #8F968D;
  --hilo: #262C27; --hilo-2: #333A34; --verde: #1C3328; --verde-2: #9DC3A9; --verde-vivo: #8FC2A3; --verde-suave: #1B2820;
  --laton: #DDBE73; --laton-claro: #DDBE73; --laton-suave: #2A2416; --rojo: #EC9A8B; --sobre-verde: #EEE9DE;
  --sombra: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 30px -14px rgba(0, 0, 0, .7);
}
[data-tema="pergamino"] {
  --papel: #EADFC6; --hoja: #F6EEDB; --hoja-2: #F0E6CF; --tinta: #2E2416; --tinta-2: #5B4B33; --tinta-3: #6E5D43;
  --hilo: #D8C7A2; --hilo-2: #CAB58C; --verde: #3B2A12; --verde-2: #5E4523; --verde-vivo: #7A5A2A; --verde-suave: #E4D3AE;
  --laton: #6E4F14; --laton-suave: #E8D6A8;
}
[data-letra="david"] { --f-heb: "David Libre", "Frank Ruhl Libre", serif; }
[data-letra="noto"] { --f-heb: "Noto Serif Hebrew", "Frank Ruhl Libre", serif; }
[lang="he"] { --f-ui: var(--f-ui-heb); }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
html, body { margin: 0; }
body {
  background: var(--papel); color: var(--tinta);
  font-family: var(--f-ui); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--verde-vivo); outline-offset: 3px; border-radius: 10px; }
.oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--tinta); color: var(--papel); padding: 10px 14px; border-radius: 10px; }
.saltar:focus { top: 12px; }
.heb { font-family: var(--f-heb); }

/* ---------- Marco ---------- */
.marco { position: relative; }
.columna { min-width: 0; }
.contenido { max-width: 860px; margin: 0 auto; outline: none; padding: 6px 16px calc(var(--alto-nav) + 48px + env(safe-area-inset-bottom)); }
.vista > * { animation: aparecer 320ms var(--ease-out) both; }
.vista > *:nth-child(2) { animation-delay: 40ms; } .vista > *:nth-child(3) { animation-delay: 75ms; }
.vista > *:nth-child(4) { animation-delay: 105ms; } .vista > *:nth-child(5) { animation-delay: 130ms; }
.vista > *:nth-child(n+6) { animation-delay: 150ms; }
/* Grupos (tarjetas, listas): cada uno entra una vez por pantalla */
.vista .obras > *, .vista .carrusel > *, .vista .bento > *, .vista .lista > li { animation: aparecer 300ms var(--ease-out) both; }
.vista .obras > :nth-child(2), .vista .carrusel > :nth-child(2), .vista .bento > :nth-child(2), .vista .lista > li:nth-child(2) { animation-delay: 50ms; }
.vista .obras > :nth-child(3), .vista .carrusel > :nth-child(3), .vista .bento > :nth-child(3), .vista .lista > li:nth-child(3) { animation-delay: 90ms; }
.vista .obras > :nth-child(4), .vista .carrusel > :nth-child(4), .vista .bento > :nth-child(4), .vista .lista > li:nth-child(4) { animation-delay: 120ms; }
.vista .obras > :nth-child(5), .vista .carrusel > :nth-child(5), .vista .bento > :nth-child(5), .vista .lista > li:nth-child(5) { animation-delay: 145ms; }
.vista .obras > :nth-child(n+6), .vista .carrusel > :nth-child(n+6), .vista .bento > :nth-child(n+6), .vista .lista > li:nth-child(n+6) { animation-delay: 165ms; }
.vista > .capas-flotante, .vista.sin-anim > *, .vista.sin-anim .obras > *, .vista.sin-anim .carrusel > *, .vista.sin-anim .bento > *, .vista.sin-anim .lista > li, .vista.sin-anim .capa, .vista.sin-anim .frase-tr, .vista.sin-anim .lomo { animation: none; }
@keyframes aparecer { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
::view-transition-old(root) { animation: .18s ease-out both salir-vt; }
::view-transition-new(root) { animation: none; }
@keyframes salir-vt { to { opacity: 0; } }

/* ---------- Barra superior ---------- */
.barra {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 4px;
  padding: calc(8px + env(safe-area-inset-top)) 8px 8px; transition: background .3s, box-shadow .3s, transform .35s var(--curva);
}
.barra.solida {
  background: color-mix(in srgb, var(--papel) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--hilo) 80%, transparent);
}
body.inmersivo.ocultar .barra { transform: translateY(-110%); }
.barra-titulo { flex: 1; min-width: 0; padding-inline: 6px; }
.barra-titulo b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barra-titulo small { display: block; font-size: 12.5px; color: var(--tinta-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marca { flex: 1; display: flex; align-items: center; gap: 10px; padding-inline: 8px; }
.logo { display: block; height: 34px; width: auto; }
.logo-oscuro { display: none; }
[data-tema="oscuro"] .logo-claro { display: none; }
[data-tema="oscuro"] .logo-oscuro { display: block; }
.nav-marca .logo { height: 38px; }
.pie .logo { height: 84px; margin: 0 auto 10px; opacity: .9; }
.marca-sello { width: 34px; height: 34px; border-radius: 11px; background: var(--verde); color: var(--laton-claro); display: grid; place-items: center; font-family: "Frank Ruhl Libre", serif; font-weight: 700; font-size: 20px; line-height: 1; padding-block-start: 2px; }
.marca-txt { display: flex; flex-direction: column; line-height: 1.05; }
.marca-txt b { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.marca-txt small { font-family: "Frank Ruhl Libre", serif; font-size: 13px; color: var(--tinta-3); }
.btn-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px; color: var(--tinta); transition: background .2s, transform .2s var(--curva); }
.btn-ic:hover { background: color-mix(in srgb, var(--tinta) 6%, transparent); }
.btn-ic:active { transform: scale(.97); }
.btn-ic svg { width: 22px; height: 22px; }
.espejo { display: inline-block; }
[dir="rtl"] .espejo { transform: scaleX(-1); }
.progreso-lectura { position: absolute; inset-inline: 0; bottom: -1px; height: 2px; }
.progreso-lectura i { display: block; height: 100%; width: 0; background: var(--laton-claro); border-radius: 2px; transition: width .15s linear; }

/* ---------- Navegación (píldora flotante) ---------- */
.nav {
  position: fixed; z-index: 30; inset-inline: 0; bottom: calc(12px + env(safe-area-inset-bottom));
  width: max-content; margin-inline: auto; height: var(--alto-nav); padding: 7px;
  display: flex; gap: 4px; align-items: center;
  background: color-mix(in srgb, var(--tinta) 92%, transparent); color: var(--papel);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-radius: 999px; box-shadow: var(--sombra-alta);
  transition: transform .4s var(--curva), opacity .3s;
}
[data-tema="oscuro"] .nav { background: color-mix(in srgb, #262C27 92%, transparent); color: var(--tinta); }
body.inmersivo .nav { transform: translateY(140%); opacity: 0; pointer-events: none; }
.nav a {
  height: 50px; min-width: 50px; padding-inline: 14px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px;
  color: color-mix(in srgb, currentColor 62%, transparent); transition: background .35s var(--curva), color .25s, padding .35s var(--curva), transform .2s;
}
.nav a svg { width: 22px; height: 22px; flex: none; }
.nav a span { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 600; opacity: 0; transition: max-width .4s var(--curva), opacity .25s; }
.nav a[aria-current="page"] { background: var(--laton-claro); color: #1B1A12; padding-inline: 16px 18px; }
.nav a[aria-current="page"] span { max-width: 120px; opacity: 1; }
.nav a:active { transform: scale(.97); }
.nav .nav-marca { display: none; }

@media (min-width: 1024px) {
  .marco { display: grid; grid-template-columns: 240px 1fr; }
  .nav {
    position: sticky; top: 0; inset: auto; width: auto; height: 100vh; margin: 0; padding: 26px 14px; border-radius: 0;
    flex-direction: column; align-items: stretch; gap: 4px; background: transparent; color: var(--tinta);
    box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-inline-end: 1px solid var(--hilo);
  }
  [data-tema="oscuro"] .nav { background: transparent; }
  body.inmersivo .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav .nav-marca { display: flex; padding: 0 10px 28px; }
  .nav a { justify-content: flex-start; height: 46px; padding-inline: 14px; border-radius: 14px; color: var(--tinta-2); }
  .nav a span { max-width: none; opacity: 1; font-weight: 500; font-size: 15px; }
  .nav a:hover { background: color-mix(in srgb, var(--tinta) 5%, transparent); }
  .nav a[aria-current="page"] { background: var(--verde); color: var(--sobre-verde); padding-inline: 14px; }
  .barra .marca { visibility: hidden; }
  .contenido { padding: 6px 36px 64px; max-width: 1100px; }
}

/* ---------- Encabezados de sección ---------- */
.sec { margin-block: 30px 0; }
.sec-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-end: 14px; }
.sec-cab h2 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.sec-cab a { font-size: 14px; font-weight: 600; color: var(--verde-vivo); display: inline-flex; align-items: center; gap: 2px; }
.sec-cab a svg { width: 16px; height: 16px; }

/* ---------- Inicio: héroe ---------- */
.inicio-grid { display: grid; gap: 12px; }
@media (min-width: 900px) { .inicio-grid { grid-template-columns: 1.25fr 1fr; align-items: stretch; } }
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--verde); color: var(--sobre-verde); border-radius: var(--r-l);
  padding: 20px 20px 20px; min-height: 290px; display: flex; flex-direction: column;
}
.hero-daf { position: absolute; inset-block: -10px; inset-inline-end: -30px; width: 62%; z-index: -1;
  display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 10px; transform: rotate(-8deg); }
.hero-daf span { background: repeating-linear-gradient(to bottom, rgba(242, 238, 227, .10) 0 2px, transparent 2px 10px); border-radius: 2px; }
.hero-daf span:nth-child(2) { background: repeating-linear-gradient(to bottom, rgba(201, 162, 79, .38) 0 2.5px, transparent 2.5px 12px); margin-block: 40px 60px; animation: respirar 9s ease-in-out infinite; }
.hero-daf span:nth-child(1) { margin-block-start: 70px; } .hero-daf span:nth-child(3) { margin-block-end: 50px; }
@keyframes respirar { 50% { opacity: .5; } }
.hero-fecha { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 7px 13px 7px 11px; border-radius: 999px; background: rgba(242, 238, 227, .1); border: 1px solid rgba(242, 238, 227, .14); font-size: 13px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-fecha .heb { color: var(--laton-claro); font-size: 16px; line-height: 1; }
[data-tema="oscuro"] .hero-fecha .heb { color: #DDBE73; }
.hero-fecha i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
.hero h1 { margin: auto 0 18px; padding-block-start: 30px; font-size: clamp(40px, 11vw, 60px); font-weight: 600; letter-spacing: -.045em; line-height: .95; }
.hero h1 span { display: block; font-family: "Frank Ruhl Libre", serif; font-weight: 500; font-size: .48em; letter-spacing: 0; color: var(--laton-claro); margin-block-end: 10px; }
.hero-buscar {
  display: flex; align-items: center; gap: 12px; height: 54px; padding-inline: 18px; border-radius: 18px; text-align: start;
  background: #F2EEE3; color: #3C433C; transition: transform .25s var(--curva); box-shadow: 0 10px 30px -10px rgba(0,0,0,.45);
}
.hero-buscar:active { transform: scale(.98); }
.hero-buscar svg { width: 20px; height: 20px; flex: none; color: #1F3A2E; }
.hero-buscar span { flex: 1; font-size: 15.5px; }
.hero-buscar kbd { display: none; font: 600 12px var(--f-ui); border: 1px solid #C9C3B3; border-radius: 7px; padding: 2px 7px; color: #6A7068; }
@media (hover: hover) and (min-width: 700px) { .hero-buscar kbd { display: inline-block; } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-content: start; }
.b-ancho { grid-column: 1 / -1; }
.tile { background: var(--hoja); border-radius: var(--r); padding: 16px; box-shadow: var(--sombra); position: relative; overflow: hidden; }
.atajo { display: flex; flex-direction: column; gap: 14px; min-height: 112px; justify-content: space-between; transition: transform .25s var(--curva); }
.atajo:active { transform: scale(.97); }
.atajo-ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--verde-suave); color: var(--verde-vivo); }
.atajo-ic svg { width: 19px; height: 19px; }
.atajo b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.atajo small { font-size: 12.5px; color: var(--tinta-3); font-weight: 500; }

.continuar { display: flex; align-items: center; gap: 14px; }
.anillo { width: 54px; height: 54px; position: relative; flex: none; color: var(--verde-vivo); }
.anillo svg { width: 54px; height: 54px; transform: rotate(-90deg); }
.anillo span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; color: var(--tinta); }
.continuar-txt { flex: 1; min-width: 0; }
.continuar-txt small { display: block; font-size: 12px; font-weight: 700; color: var(--verde-vivo); letter-spacing: .06em; text-transform: uppercase; }
[lang="he"] .continuar-txt small { letter-spacing: 0; }
.continuar-txt b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.continuar-txt span { font-size: 13.5px; color: var(--tinta-3); }
.flecha-red { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--verde); color: var(--sobre-verde); transition: transform 200ms var(--ease-out); }
[data-tema="oscuro"] .flecha-red { background: var(--verde-vivo); color: #0E110F; }
@media (hover: hover) and (pointer: fine) {
  .continuar:hover .flecha-red { transform: translateX(3px); }
  [dir="rtl"] .continuar:hover .flecha-red { transform: translateX(-3px); }
}
.flecha-red svg { width: 20px; height: 20px; }
.tile-vacio { display: flex; align-items: center; gap: 14px; }
.tile-vacio .atajo-ic { width: 46px; height: 46px; border-radius: 15px; flex: none; }
.tile-vacio > span:nth-child(2) { flex: 1; }
.tile-vacio b { display: block; font-weight: 600; font-size: 16px; }
.tile-vacio small { font-size: 13.5px; color: var(--tinta-3); }

/* Semana */
.semana-cab { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-block-end: 12px; }
.semana-cab b { font-weight: 600; font-size: 15px; }
.semana-cab span { font-size: 12.5px; color: var(--tinta-3); font-weight: 500; text-align: end; }
.dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.dia { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 0 9px; border-radius: 16px; background: var(--hoja-2); position: relative; font: inherit; color: inherit; border: 0; cursor: pointer; transition: transform .2s var(--curva), background .2s; }
.dia:active { transform: scale(.94); }
.dia small { font-size: 10.5px; color: var(--tinta-3); font-weight: 600; letter-spacing: .04em; }
.dia b { font-family: "Frank Ruhl Libre", serif; font-weight: 500; font-size: 17px; line-height: 1.2; }
.dia-jitas { display: flex; gap: 3px; margin-block-start: 3px; }
.dia-jitas i { width: 5px; height: 5px; border-radius: 50%; background: color-mix(in srgb, currentColor 18%, transparent); }
.dia-jitas i.si { background: var(--verde-vivo); }
.dia.estudiado { background: var(--verde-suave); }
.dia.jitas { background: var(--verde-vivo); color: #fff; }
.dia.jitas small { color: rgba(255,255,255,.75); }
.dia.jitas .dia-jitas i.si { background: #fff; }
.dia.futuro { opacity: .55; }
.dia.hoy { background: var(--tinta); color: var(--papel); box-shadow: 0 6px 16px -8px var(--tinta); }
.dia.hoy small { color: color-mix(in srgb, var(--papel) 70%, transparent); }
.dia.hoy .dia-jitas i.si { background: var(--laton-claro); }
.dia.shabat b { color: var(--laton); }
.dia.hoy.shabat b, .dia.jitas.shabat b { color: inherit; }
.dias-ayuda { margin: 10px 0 0; font-size: 12px; color: var(--tinta-3); text-align: center; }
.racha { font-style: normal; color: var(--verde-vivo); font-weight: 600; }
.semana-cab a { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; color: var(--tinta-3); font-weight: 500; }
.semana-cab a svg { width: 14px; height: 14px; }
.jitas-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.jitas-it { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 16px; background: var(--hoja-2); min-height: 96px; transition: transform .2s var(--curva), background .2s; }
.jitas-it:active { transform: scale(.96); }
.jitas-it.rambam { grid-column: span 3; flex-direction: row; align-items: center; gap: 10px; min-height: 0; padding-block: 10px; }
.jitas-it.rambam .jitas-ref { margin-inline-start: auto; }
.jitas-he { font-family: var(--f-heb); font-size: 22px; font-weight: 700; line-height: 1.1; }
.jitas-it.rambam .jitas-he { font-size: 17px; }
.jitas-nom { font-size: 12.5px; font-weight: 600; color: var(--tinta-2); }
.jitas-ref { font-size: 11.5px; color: var(--tinta-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-block-start: auto; }
.jitas-check { position: absolute; top: 10px; inset-inline-end: 10px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--tinta) 8%, transparent); color: transparent; }
.jitas-check svg { width: 11px; height: 11px; }
.jitas-it.rambam .jitas-check { position: static; flex: none; }
.jitas-it.hecho { background: var(--verde-suave); }
.jitas-it.hecho .jitas-check { background: var(--verde-vivo); color: #fff; }
.dia-lista { list-style: none; margin: 0; padding: 0; }
.dia-fila { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-block-end: 1px solid var(--hilo); color: var(--tinta-3); }
.dia-fila.si { color: var(--tinta); font-weight: 500; }
.dia-marca { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--hilo); flex: none; }
.dia-fila.si .dia-marca { background: var(--verde-vivo); border-color: var(--verde-vivo); color: #fff; }
.dia-marca svg { width: 12px; height: 12px; }

/* Estantería */
.estante { position: relative; background: var(--hoja); border-radius: var(--r); box-shadow: var(--sombra); padding-block-end: 18px; overflow: hidden; }
.estante-fila { display: flex; align-items: flex-end; gap: 6px; overflow-x: auto; padding: 26px 18px 0; scroll-snap-type: x proximity; scroll-padding-inline: 18px; scrollbar-width: none; }
.estante-fila::-webkit-scrollbar { display: none; }
.estante::after { content: ""; display: block; height: 10px; margin-inline: 12px; border-radius: 4px; background: var(--hilo-2); box-shadow: 0 8px 14px -8px rgba(0,0,0,.35); }
.lomo {
  --c: #2F4A3B; flex: none; scroll-snap-align: start; width: 60px; border-radius: 5px 5px 2px 2px;
  background: linear-gradient(90deg, rgba(0,0,0,.2), transparent 16%, rgba(255,255,255,.1) 48%, transparent 80%, rgba(0,0,0,.25)), var(--c);
  color: #EFE4C6; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 12px 0; transition: transform 300ms var(--ease-out); position: relative;
}
.lomo::before, .lomo::after { content: ""; position: absolute; inset-inline: 8px; height: 3px; border-block: 1px solid rgba(232, 205, 140, .5); }
.lomo::before { top: 36px; } .lomo::after { bottom: 36px; }
.lomo:focus-visible { transform: translateY(-10px); }
.lomo:active { transform: translateY(-6px); transition-duration: 120ms; }
@media (hover: hover) and (pointer: fine) { .lomo:hover { transform: translateY(-10px) rotate(-1.5deg); } }
.estante.entra .lomo { animation: lomo-sube 520ms var(--ease-out) both; }
.estante.entra .lomo:nth-child(2) { animation-delay: 45ms; } .estante.entra .lomo:nth-child(3) { animation-delay: 80ms; }
.estante.entra .lomo:nth-child(4) { animation-delay: 110ms; } .estante.entra .lomo:nth-child(5) { animation-delay: 135ms; }
.estante.entra .lomo:nth-child(n+6) { animation-delay: 155ms; }
@keyframes lomo-sube { from { opacity: 0; transform: translateY(28px); } }
.lomo-titulo { writing-mode: vertical-rl; font-family: "Frank Ruhl Libre", serif; font-weight: 700; font-size: 21px; letter-spacing: .05em; margin-block: 30px; }
.lomo-n { font-size: 11px; font-weight: 700; opacity: .8; }
.lomo-sello { width: 18px; height: 18px; border: 1px solid rgba(232,205,140,.55); border-radius: 50%; display: grid; place-items: center; font-family: "Frank Ruhl Libre", serif; font-size: 10px; }

/* Carrusel */
.carrusel { display: flex; gap: 14px; overflow-x: auto; margin-inline: -16px; padding: 4px 16px 18px; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
.carrusel::-webkit-scrollbar { display: none; }
.carrusel .obra { width: 150px; flex: none; scroll-snap-align: start; }

/* Tarjetas de obra (como libros) */
.obras { display: grid; grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); gap: 22px 14px; }
.obra { --c: #2F4A3B; display: flex; flex-direction: column; gap: 10px; transition: transform .3s var(--curva); }
.obra:active { transform: scale(.97); }
.obra-tapa {
  aspect-ratio: 3 / 4; border-radius: 6px 16px 16px 6px; background-color: var(--c); color: #EFE4C6; display: grid; place-items: center; position: relative; overflow: hidden;
  box-shadow: 0 2px 0 rgba(0,0,0,.08), 0 18px 30px -16px rgba(0,0,0,.55); transition: transform .4s var(--curva), box-shadow .4s;
  background-image: linear-gradient(90deg, rgba(0,0,0,.28) 0 7px, rgba(255,255,255,.08) 7px 9px, transparent 9px), radial-gradient(130% 90% at 80% 0%, rgba(255,255,255,.14), transparent 60%);
}
[dir="rtl"] .obra-tapa { border-radius: 16px 6px 6px 16px; background-image: linear-gradient(270deg, rgba(0,0,0,.28) 0 7px, rgba(255,255,255,.08) 7px 9px, transparent 9px), radial-gradient(130% 90% at 20% 0%, rgba(255,255,255,.14), transparent 60%); }
@media (hover: hover) and (pointer: fine) { .obra:hover .obra-tapa { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 2px 0 rgba(0,0,0,.08), 0 28px 40px -18px rgba(0,0,0,.6); } }
.obra-tapa b { font-family: "Frank Ruhl Libre", serif; font-weight: 700; font-size: 26px; text-align: center; padding-inline: 18px; line-height: 1.15; }
.obra-tapa::after { content: ""; position: absolute; inset: 12px 12px 12px 18px; border: 1px solid rgba(232,205,140,.35); border-radius: 4px; pointer-events: none; }
[dir="rtl"] .obra-tapa::after { inset: 12px 18px 12px 12px; }
.obra-tapa .sello { position: absolute; bottom: 20px; inset-inline: 0; margin-inline: auto; width: max-content; }
.obra-cuerpo { padding-inline: 2px; display: flex; flex-direction: column; gap: 1px; }
.obra-cuerpo b { font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.obra-cuerpo small { color: var(--tinta-3); font-size: 13px; }
.sello { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; background: var(--laton-claro); color: #1B1A12; }
[lang="he"] .sello { letter-spacing: 0; }

/* Chips y segmentados */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 2px; margin-inline: -16px; padding-inline: 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 40px; padding-inline: 16px; border-radius: 99px; background: var(--hoja); box-shadow: inset 0 0 0 1px var(--hilo);
  font-size: 14px; font-weight: 600; color: var(--tinta-2); display: inline-flex; align-items: center; gap: 8px; transition: all .25s var(--curva);
}
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--tinta); color: var(--papel); box-shadow: none; }
.chip svg { width: 16px; height: 16px; }
.chip .punto { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--verde-vivo)); }
.seg { display: inline-flex; padding: 4px; gap: 2px; background: color-mix(in srgb, var(--tinta) 7%, transparent); border-radius: 14px; }
.seg button { min-width: 44px; height: 36px; padding-inline: 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--tinta-2); transition: all .25s var(--curva); }
.seg button[aria-pressed="true"] { background: var(--hoja); color: var(--tinta); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 4px 10px -4px rgba(0,0,0,.18); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding-inline: 20px; border-radius: 16px; font-weight: 600; font-size: 15px; background: var(--hoja); box-shadow: inset 0 0 0 1px var(--hilo-2); transition: all .25s var(--curva); }
.btn:active { transform: scale(.97); }
.btn.pri { background: var(--verde); color: var(--sobre-verde); box-shadow: 0 10px 24px -12px rgba(31, 58, 46, .7); }
[data-tema="oscuro"] .btn.pri { background: var(--verde-vivo); color: #0E110F; }
.btn.pri:hover { filter: brightness(1.12); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }

/* Listas */
.lista { list-style: none; margin: 0; padding: 6px; background: var(--hoja); border-radius: var(--r); box-shadow: var(--sombra); }
.lista > li + li { border-block-start: 1px solid var(--hilo); }
.fila { display: flex; align-items: center; gap: 14px; padding: 12px; min-height: 64px; width: 100%; text-align: start; border-radius: 16px; transition: background .2s; }
a.fila:hover, button.fila:hover { background: var(--hoja-2); }
a.fila:active, button.fila:active { background: var(--hilo); }
.fila-ic { width: 42px; height: 42px; border-radius: 13px; flex: none; display: grid; place-items: center; background: var(--verde-suave); color: var(--verde-vivo); }
.fila-ic svg { width: 19px; height: 19px; }
.fila-ic.heb { font-size: 19px; font-weight: 700; padding-block-start: 2px; }
.fila-txt { flex: 1; min-width: 0; }
.fila-txt b { display: block; font-weight: 600; font-size: 15px; }
.fila-txt small { display: block; color: var(--tinta-3); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fila-txt .heb-linea { font-family: var(--f-heb); font-size: 16px; color: var(--tinta-2); direction: rtl; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fila > .espejo svg, .fila > svg { width: 18px; height: 18px; color: var(--tinta-3); flex: none; }
.barrita { height: 4px; border-radius: 4px; background: var(--hilo); margin-block-start: 8px; overflow: hidden; }
.barrita i { display: block; height: 100%; background: var(--verde-vivo); border-radius: 4px; }

/* Vacío */
.vacio { text-align: center; padding: 44px 20px; color: var(--tinta-2); }
.vacio-ic { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 22px; display: grid; place-items: center; background: var(--hoja); box-shadow: var(--sombra); color: var(--verde-vivo); transform: rotate(-6deg); }
.vacio-ic svg { width: 28px; height: 28px; }
.vacio b { display: block; color: var(--tinta); font-weight: 600; font-size: 19px; letter-spacing: -.01em; margin-block-end: 6px; }
.vacio p { margin: 0 auto; max-width: 34ch; font-size: 15px; }

/* Premium */
.premium { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r); background: #17130A; color: #F1E6C9; position: relative; overflow: hidden; isolation: isolate; }
.premium::before { content: ""; position: absolute; z-index: -1; inset-block: -40%; inset-inline-end: -10%; width: 60%; background: repeating-linear-gradient(115deg, rgba(201,162,79,.16) 0 1px, transparent 1px 12px); }
.premium-ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(145deg, #E2C277, #A9832F); color: #1B1A12; flex: none; }
.premium-ic svg { width: 21px; height: 21px; }
.premium b { display: block; font-size: 17px; font-weight: 600; color: #E2C277; letter-spacing: -.01em; }
.premium small { color: rgba(241, 230, 201, .72); font-size: 13.5px; }
.premium > .espejo { margin-inline-start: auto; color: #E2C277; }
.premium > .espejo svg { width: 20px; height: 20px; }
.premium-lista { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.premium-lista li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--hoja); border-radius: 18px; box-shadow: var(--sombra); }
.premium-lista li svg { width: 12px; height: 12px; color: var(--laton-claro); flex: none; margin-block-start: 6px; }

/* ---------- Obra ---------- */
.obra-cab { display: grid; grid-template-columns: 126px 1fr; gap: 20px; align-items: end; padding-block: 10px 0; }
.obra-cab .obra-tapa b { font-size: 21px; }
.obra-cab h1 { margin: 8px 0 0; font-size: 30px; font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.obra-cab .heb-titulo { font-family: "Frank Ruhl Libre", serif; font-size: 20px; color: var(--tinta-2); margin-block-start: 4px; }
.metas { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 20px; }
.meta { font-size: 13px; padding: 7px 12px; border-radius: 99px; background: var(--hoja); box-shadow: inset 0 0 0 1px var(--hilo); color: var(--tinta-3); }
.meta b { color: var(--tinta); font-weight: 600; }

/* ---------- Lector ---------- */
body.inmersivo .contenido { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
.capas-flotante {
  position: fixed; z-index: 30; inset-inline: 0; bottom: calc(14px + env(safe-area-inset-bottom)); margin-inline: auto; width: max-content; max-width: calc(100% - 20px);
  display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px;
  background: color-mix(in srgb, var(--tinta) 92%, transparent); color: var(--papel);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--sombra-alta);
  transition: transform .4s var(--curva), opacity .3s; overflow-x: auto; scrollbar-width: none;
}
.capas-flotante::-webkit-scrollbar { display: none; }
[data-tema="oscuro"] .capas-flotante { background: color-mix(in srgb, #262C27 94%, transparent); color: var(--tinta); }
body.inmersivo.ocultar .capas-flotante { transform: translateY(150%); opacity: 0; }
@media (min-width: 1024px) { .capas-flotante { inset-inline-start: 240px; } }
.capa-btn { flex: none; height: 44px; padding-inline: 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: color-mix(in srgb, currentColor 65%, transparent); transition: all .3s var(--curva); }
.capa-btn .ind { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; transition: all .3s var(--resorte); }
.capa-btn[aria-pressed="true"] { color: #1B1A12; background: var(--laton-claro); }
.capa-btn[aria-pressed="true"] .ind { background: #1B1A12; border-color: #1B1A12; transform: scale(1.15); }
.capa-btn:active { transform: scale(.97); }
.capas-flotante .sep { width: 1px; height: 24px; background: currentColor; opacity: .2; flex: none; margin-inline: 4px; }
.lc-btn { flex: none; height: 44px; min-width: 48px; padding-inline: 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .14); transition: transform .2s; }
.lc-btn:active { transform: scale(.97); }
@media (max-width: 400px) { .capa-btn { padding-inline: 11px; font-size: 13.5px; gap: 6px; } }

.lector-cab { text-align: center; padding-block: 22px 6px; }
.lector-cab .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--verde-vivo); }
[lang="he"] .lector-cab .eyebrow { letter-spacing: 0; }
.lector-cab .heb-grande { font-family: "Frank Ruhl Libre", serif; font-size: clamp(36px, 10vw, 48px); font-weight: 500; line-height: 1.1; margin-block-start: 6px; }
.lector-cab small { display: block; margin-block-start: 6px; color: var(--tinta-3); font-size: 14px; }
.ornamento { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--laton-claro); margin-block: 16px 0; }
.ornamento::before, .ornamento::after { content: ""; height: 1px; width: 60px; background: linear-gradient(90deg, transparent, var(--laton-claro)); }
.ornamento::after { transform: scaleX(-1); }
.ornamento svg { width: 10px; height: 10px; }
.aviso-ejemplo { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--laton); background: var(--laton-suave); border-radius: 99px; padding: 7px 14px; margin-block: 16px 0; }
.aviso-ejemplo svg { width: 15px; height: 15px; flex: none; }

.lector { margin-block-start: 14px; }
.seif {
  position: relative; padding: 22px 18px 24px; margin-block-end: 12px; border-radius: var(--r);
  background: var(--hoja); box-shadow: var(--sombra); cursor: pointer; transition: transform .3s var(--curva), box-shadow .3s;
}
.seif:active { transform: scale(.97); }
.seif.activo { box-shadow: 0 0 0 2px var(--laton-claro), var(--sombra-alta); }
.seif.destello { animation: destello 2.2s ease-out; }
@keyframes destello { 0%, 40% { box-shadow: 0 0 0 3px var(--laton-claro), var(--sombra); } 100% { box-shadow: var(--sombra); } }
.seif-cab { display: flex; align-items: center; gap: 8px; margin-block-end: 10px; min-height: 36px; }
.seif-cab .seif-num { margin-left: auto; }
.voz-btn { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--hoja-2); color: var(--verde-vivo); box-shadow: inset 0 0 0 1px var(--hilo); transition: all .25s var(--curva); flex: none; }
.voz-btn svg { width: 19px; height: 19px; }
.voz-btn:active { transform: scale(.97); }
.voz-btn[aria-pressed="true"] { background: var(--laton-claro); color: #1B1A12; box-shadow: none; animation: latido 1.4s ease-in-out infinite; }
@keyframes latido { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--laton-claro) 25%, transparent); } }
.seif.leyendo { box-shadow: 0 0 0 2px var(--verde-vivo), var(--sombra-alta); }
.voz-todo { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding-inline: 16px 18px; margin-block-start: 16px; border-radius: 99px; background: var(--verde); color: var(--sobre-verde); font-size: 14px; font-weight: 600; transition: transform .2s var(--curva); }
[data-tema="oscuro"] .voz-todo { background: var(--verde-vivo); color: #0E110F; }
.voz-todo:active { transform: scale(.97); }
.voz-todo svg { width: 15px; height: 15px; }
.seif-num {
  flex: none;
  font-family: "Frank Ruhl Libre", serif; font-weight: 700; font-size: 15px; color: var(--sobre-verde);
  width: 32px; height: 32px; border-radius: 11px; background: var(--verde); display: grid; place-items: center; padding-block-start: 1px;
}
[data-tema="oscuro"] .seif-num { background: var(--laton-claro); color: #1B1A12; }
.seif-marcas { display: flex; gap: 6px; color: var(--laton-claro); }
.seif-marcas svg { width: 16px; height: 16px; }
.original { font-family: var(--f-heb); font-size: var(--tam); line-height: var(--interlinea); direction: rtl; text-align: right; margin: 0; }
@media (min-width: 700px) { .lector .original { text-align: justify; text-align-last: right; } }
.marcado { background: color-mix(in srgb, var(--laton-claro) 40%, transparent); color: inherit; border-radius: 4px; padding-inline: 1px; }
.capa { clear: both; margin-block-start: 18px; font-size: calc(var(--tam) * .7); line-height: 1.65; animation: aparecer 220ms var(--ease-out) both; }
.capa-etq { display: flex; align-items: center; gap: 6px; font-family: var(--f-ui); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-3); margin-block-end: 6px; }
.capa-etq::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: currentColor; }
[lang="he"] .capa-etq, .capa[dir="rtl"] .capa-etq { letter-spacing: 0; }
.capa.traduccion { font-family: var(--f-serif); color: var(--tinta); padding-block-start: 16px; border-block-start: 1px dashed var(--hilo-2); }
.capa.explicacion { background: var(--verde-suave); border-radius: 16px; padding: 14px 16px; font-family: var(--f-ui); font-size: calc(var(--tam) * .65); }
.capa.explicacion .capa-etq { color: var(--verde-vivo); }
.capa[dir="rtl"] { font-family: var(--f-heb); text-align: right; }
.capa.explicacion[dir="rtl"] { font-size: calc(var(--tam) * .76); }
.capa em { color: var(--tinta-3); }
.nota-pegada { clear: both; margin-block-start: 14px; padding: 12px 14px; border-radius: 14px; background: var(--laton-suave); font-size: 14.5px; white-space: pre-wrap; }
.nota-pegada small { display: block; font-size: 11px; font-weight: 700; color: var(--laton); letter-spacing: .08em; text-transform: uppercase; margin-block-end: 4px; }

@media (min-width: 1100px) {
  .lector.doble .seif { display: grid; grid-template-columns: 1fr 1.15fr; column-gap: 40px; align-items: start; padding: 28px; }
  .lector.doble .seif > .seif-cab { grid-column: 1 / -1; }
  .lector.doble .seif > .original-caja { grid-column: 2; grid-row: 2 / span 3; }
  .lector.doble .seif > .capa, .lector.doble .seif > .nota-pegada { grid-column: 1; margin-block: 0 14px; }
  .lector.doble .capa.traduccion { border: 0; padding: 0; }
  [dir="rtl"] .lector.doble .seif { grid-template-columns: 1.15fr 1fr; }
  [dir="rtl"] .lector.doble .seif > .original-caja { grid-column: 1; }
  [dir="rtl"] .lector.doble .seif > .capa, [dir="rtl"] .lector.doble .seif > .nota-pegada { grid-column: 2; }
  .contenido.ancho { max-width: 1200px; }
}

.lector-pie { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-block: 24px 0; }
.lector-pie a { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: 18px; background: var(--hoja); box-shadow: var(--sombra); transition: transform .25s var(--curva); }
.lector-pie a:active { transform: scale(.97); }
.lector-pie a:last-child { text-align: end; }
.lector-pie a small { font-size: 12px; color: var(--tinta-3); font-weight: 500; }
.lector-pie a b { font-weight: 600; }
.lector-pie a[aria-disabled="true"] { opacity: .45; pointer-events: none; box-shadow: inset 0 0 0 1px var(--hilo); background: transparent; }
.fin { text-align: center; color: var(--tinta-3); font-size: 13px; margin-block-start: 26px; }

/* Frase por frase */
.lector-acciones { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-block-start: 16px; }
.lector-acciones .voz-todo { margin: 0; }
.lector-acciones .seg button { font-size: 13px; height: 34px; }
.lector.frases .frase-he { margin-block-start: 14px; line-height: 1.7; }
.lector.frases .seif-cab + .frase-he { margin-block-start: 0; }
.frase-tr { margin: 4px 0 0; padding-inline-start: 12px; border-inline-start: 2px solid var(--laton-claro); font-family: var(--f-serif); font-size: calc(var(--tam) * .7); line-height: 1.55; color: var(--tinta-2); animation: aparecer 220ms var(--ease-out) both; }
.frase-tr[dir="rtl"] { font-family: var(--f-heb); }
.lector.frases .capa.explicacion { margin-block: 16px 4px; }
/* Palabra que se está leyendo */
.w { border-radius: 5px; transition: background .15s, color .15s; }
.w.dicha { background: var(--laton-claro); color: #1B1A12; box-shadow: 0 0 0 2px var(--laton-claro); }
.bloque-activo { position: relative; }

/* Reproductor */
body.con-audio .capas-flotante { transform: translateY(150%); opacity: 0; pointer-events: none; }
.reproductor {
  position: fixed; z-index: 35; inset-inline: 10px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 520px; margin-inline: auto;
  display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 26px;
  background: color-mix(in srgb, var(--tinta) 94%, transparent); color: var(--papel);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--sombra-alta);
  transform: translateY(0); opacity: 1; transition: transform 400ms var(--ease-drawer), opacity 250ms var(--ease-out);
}
.reproductor.fuera { transform: translateY(calc(100% + 24px)); opacity: 0; }
[data-tema="oscuro"] .reproductor { background: color-mix(in srgb, #262C27 95%, transparent); color: var(--tinta); }
@media (min-width: 1024px) { .reproductor { inset-inline-start: 250px; } }
.repro-info { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.repro-info small { display: block; font-size: 11px; opacity: .7; font-weight: 600; letter-spacing: .04em; }
.atrib { display: block; font-style: normal; font-size: 10px; opacity: .55; letter-spacing: .04em; }
.repro-info b { font-family: "Frank Ruhl Libre", serif; font-size: 18px; line-height: 1; }
.ondas { display: flex; align-items: flex-end; gap: 3px; height: 20px; }
.ondas i { width: 3px; border-radius: 3px; background: var(--laton-claro); animation: onda 1s ease-in-out infinite; }
.ondas i:nth-child(1) { height: 40%; } .ondas i:nth-child(2) { height: 90%; animation-delay: .2s; } .ondas i:nth-child(3) { height: 60%; animation-delay: .4s; } .ondas i:nth-child(4) { height: 80%; animation-delay: .1s; }
.ondas.quietas i { animation: none; height: 30%; }
@keyframes onda { 50% { transform: scaleY(.35); } }
.repro-botones { display: flex; align-items: center; gap: 2px; }
.r-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: inherit; opacity: .9; transition: transform .2s, background .2s; }
.r-btn:active { transform: scale(.97); }
.r-btn svg { width: 19px; height: 19px; }
.r-play { width: 46px; height: 46px; background: var(--laton-claro); color: #1B1A12; opacity: 1; }
.r-play svg { width: 20px; height: 20px; }
.r-vel { height: 34px; min-width: 46px; padding-inline: 8px; border-radius: 99px; background: rgba(255,255,255,.14); font-size: 13px; font-weight: 700; color: inherit; }
@media (max-width: 380px) { .repro-info small { display: none; } .r-btn { width: 36px; } }
.ajuste.voz-ajuste { flex-direction: column; align-items: stretch; gap: 8px; }
.ajuste.check { justify-content: flex-start; }
.voz-fila { display: flex; gap: 8px; }
.voz-fila select { flex: 1; min-width: 0; }
.voz-fila .btn { height: 46px; padding-inline: 14px; }
.nota-voz { font-size: 13px; color: var(--tinta-3); margin: 6px 0 0; line-height: 1.5; }

/* ---------- Búsqueda ---------- */
.campo-busqueda { display: flex; align-items: center; gap: 10px; height: 60px; padding-inline: 18px 8px; background: var(--hoja); border-radius: 20px; box-shadow: var(--sombra); transition: box-shadow .25s; }
.campo-busqueda:focus-within { box-shadow: var(--sombra), inset 0 0 0 2px var(--verde-vivo); }
.campo-busqueda > svg { width: 22px; height: 22px; color: var(--tinta-3); flex: none; }
.campo-busqueda input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none; font-size: 17px; }
.campo-busqueda input::-webkit-search-cancel-button { display: none; }
.resultados { display: grid; gap: 10px; }
.resultado { display: block; padding: 16px 18px; background: var(--hoja); border-radius: 20px; box-shadow: var(--sombra); transition: transform .25s var(--curva); }
.resultado:active { transform: scale(.97); }
.resultado-ref { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--tinta-3); margin-block-end: 8px; }
.resultado-ref b { color: var(--verde-vivo); font-weight: 600; }
.resultado .original { font-size: 19px; line-height: 1.75; }
.resultado p { margin: 6px 0 0; font-size: 14.5px; color: var(--tinta-2); }
.contador { font-size: 13.5px; color: var(--tinta-3); font-weight: 500; margin-block: 20px 10px; }

/* ---------- Mi estudio ---------- */
.perfil { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--r-l); background: var(--verde); color: var(--sobre-verde); position: relative; overflow: hidden; isolation: isolate; }
.perfil::after { content: ""; position: absolute; z-index: -1; inset-block: 0; inset-inline-end: -20px; width: 45%; background: repeating-linear-gradient(to bottom, rgba(242,238,227,.08) 0 2px, transparent 2px 10px); transform: skewX(-12deg); }
.avatar { width: 54px; height: 54px; border-radius: 18px; flex: none; display: grid; place-items: center; background: var(--laton-claro); color: #1B1A12; font-family: "Frank Ruhl Libre", serif; font-size: 26px; font-weight: 700; }
.perfil b { font-size: 17px; }
.perfil p { margin: 2px 0 0; font-size: 13.5px; opacity: .8; }
.numeros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-block-start: 12px; }
.numero { padding: 16px; border-radius: 20px; background: var(--hoja); box-shadow: var(--sombra); }
.numero b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.numero small { font-size: 12.5px; color: var(--tinta-3); font-weight: 500; }
.pestanas { display: flex; gap: 4px; padding: 4px; margin-block: 24px 14px; border-radius: 16px; background: color-mix(in srgb, var(--tinta) 6%, transparent); overflow-x: auto; scrollbar-width: none; }
.pestanas::-webkit-scrollbar { display: none; }
.pestanas button { flex: 1 0 auto; height: 40px; padding-inline: 12px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--tinta-3); transition: all .25s var(--curva); }
.pestanas button[aria-selected="true"] { background: var(--hoja); color: var(--tinta); box-shadow: 0 2px 8px -3px rgba(0,0,0,.2); }
.pestanas button span { font-size: 12px; margin-inline-start: 5px; opacity: .7; }

/* ---------- Hoja inferior ---------- */
.hoja-fondo { position: fixed; inset: 0; z-index: 40; background: rgba(10, 12, 10, .42); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); transition: opacity 300ms var(--ease-out); }
.hoja-fondo.oculta { opacity: 0; }
@keyframes fundido { from { opacity: 0; } }
.hoja {
  position: fixed; z-index: 50; inset-inline: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); max-width: 560px; margin-inline: auto;
  background: var(--hoja); border-radius: 30px; padding: 10px 20px 22px;
  box-shadow: var(--sombra-alta); max-height: 86vh; overflow-y: auto;
  transform: translateY(0); transition: transform 450ms var(--ease-drawer); will-change: transform;
}
@keyframes subir { from { transform: translateY(105%); } }
.hoja.fuera { transform: translateY(calc(100% + 24px)); }
.hoja.arrastrando { transition: none; }
.asa { touch-action: none; cursor: grab; position: relative; }
.asa::before { content: ""; position: absolute; inset: -16px -60px; } /* zona de agarre de 44px+ */
@media (min-width: 700px) {
  .hoja { bottom: 50%; transform: translateY(50%); transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out); }
  .hoja.fuera { transform: translateY(50%) scale(.96); opacity: 0; }
}
.hoja-cerrar { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; background: var(--hoja-2); border-radius: 50%; }
.hoja > h2 { padding-inline-end: 52px; }
.asa { width: 38px; height: 5px; border-radius: 5px; background: var(--hilo-2); margin: 0 auto 16px; }
@media (min-width: 700px) { .asa { display: none; } }
.hoja h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 4px 0 6px; }
.hoja > p { margin: 0 0 16px; color: var(--tinta-2); font-size: 14.5px; }
.cita { font-family: var(--f-heb); font-size: 17px; line-height: 1.7; direction: rtl; text-align: right; color: var(--tinta-2); padding: 14px 16px; border-radius: 16px; background: var(--hoja-2); box-shadow: inset 0 0 0 1px var(--hilo); margin-block-end: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.acciones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.accion { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: 18px; font-size: 13px; font-weight: 600; color: var(--tinta-2); text-align: center; background: var(--hoja-2); transition: all .2s var(--curva); }
.accion:active { transform: scale(.97); }
.accion span { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--hoja); color: var(--tinta); box-shadow: var(--sombra); }
.accion svg { width: 21px; height: 21px; }
.accion.on span { background: var(--laton-claro); color: #1B1A12; }
.accion.peligro span { color: var(--rojo); }
.ajuste { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 14px; border-block-end: 1px solid var(--hilo); flex-wrap: wrap; }
.ajuste:last-child { border: 0; }
.ajuste > span { font-weight: 600; font-size: 15px; }
.rango { display: flex; align-items: center; gap: 12px; width: 100%; }
.rango input { flex: 1; accent-color: var(--verde-vivo); }
.rango .a1 { font-family: var(--f-heb); font-size: 15px; }
.rango .a2 { font-family: var(--f-heb); font-size: 26px; }
.muestra { font-family: var(--f-heb); direction: rtl; text-align: center; font-size: var(--tam); line-height: 1.5; padding: 14px; border-radius: 16px; background: var(--hoja-2); width: 100%; }
textarea, .entrada { width: 100%; border: 0; box-shadow: inset 0 0 0 1.5px var(--hilo-2); border-radius: 16px; background: var(--hoja-2); padding: 13px 15px; font-size: 16px; outline: none; transition: box-shadow .2s; }
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
textarea:focus, .entrada:focus { box-shadow: inset 0 0 0 2px var(--verde-vivo); }
.hoja-botones { display: flex; gap: 10px; margin-block-start: 16px; }
.hoja-botones .btn { flex: 1; }

.form-login { display: grid; gap: 12px; margin-block-start: 10px; }
.campo { display: grid; gap: 6px; }
.campo span { font-size: 13px; font-weight: 600; color: var(--tinta-2); }
.error-login { margin: 0; min-height: 1em; font-size: 14px; color: var(--rojo); font-weight: 500; }
.error-login:empty { display: none; }
.login-links { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-block-start: 12px; }
.login-links button { font-size: 14px; font-weight: 600; color: var(--verde-vivo); padding: 10px; }
.perfil p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.perfil p.perfil-sub { white-space: normal; }
.perfil .btn { flex: none; }
.perfil b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Panel de administración ---------- */
.panel-form { display: grid; gap: 14px; }
.panel-sub { font-size: 17px; font-weight: 600; margin: 8px 0 0; }
.tri { display: grid; gap: 8px; }
@media (min-width: 700px) { .tri { grid-template-columns: repeat(3, 1fr); } }
.tri-item { display: grid; gap: 4px; }
.tri-item small { font-size: 11px; font-weight: 700; color: var(--tinta-3); letter-spacing: .06em; }
.fila-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.fila-form > .campo { flex: 1 1 140px; }
select.entrada { appearance: none; -webkit-appearance: none; padding-inline-end: 34px; background-image: linear-gradient(45deg, transparent 50%, var(--tinta-3) 50%), linear-gradient(135deg, var(--tinta-3) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
[dir="rtl"] select.entrada { background-position: 18px 50%, 13px 50%; }
input[type="color"] { width: 56px; height: 46px; border: 0; padding: 0; background: none; border-radius: 12px; cursor: pointer; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.check input { width: 20px; height: 20px; accent-color: var(--verde-vivo); }
.dato { margin: 0; font-size: 14px; color: var(--tinta-3); }
.dato b { color: var(--tinta); }
.cat-id { display: flex; align-items: center; gap: 8px; font-size: 16px; flex: 1 1 140px; padding-block-end: 12px; }
.punto-color { width: 14px; height: 14px; border-radius: 50%; }
.estado { flex: none; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.estado-borrador { background: color-mix(in srgb, var(--tinta) 8%, transparent); color: var(--tinta-2); }
.estado-revision { background: var(--laton-suave); color: var(--laton); }
.estado-publicado { background: var(--verde-suave); color: var(--verde-vivo); }
.seg-ed { padding: 12px 14px; }
.seg-ed summary { display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none; min-height: 40px; }
.seg-ed summary::-webkit-details-marker { display: none; }
.seg-ed summary .seif-num { float: none; margin: 0; flex: none; }
.seg-resumen { flex: 1; min-width: 0; font-family: var(--f-heb); font-size: 17px; direction: rtl; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--tinta-2); }
.mover { display: flex; gap: 4px; margin-inline-start: auto; }
.mover .btn-ic { font-size: 18px; font-weight: 700; background: var(--hoja-2); }
.guardar-fijo { position: sticky; bottom: calc(var(--alto-nav) + 22px + env(safe-area-inset-bottom)); margin-block-start: 18px; z-index: 5; }
.guardar-fijo .btn { width: 100%; box-shadow: var(--sombra-alta); }
@media (min-width: 1024px) { .guardar-fijo { bottom: 20px; } }
.frases-ed { padding-block-start: 10px; border-block-start: 1px dashed var(--hilo-2); }
.frase-row { display: grid; gap: 8px; padding: 12px; border-radius: 16px; background: var(--hoja-2); box-shadow: inset 0 0 0 1px var(--hilo); }
.frase-cab { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.frase-row summary { font-size: 13px; font-weight: 600; color: var(--verde-vivo); cursor: pointer; }
code { font-size: 13px; background: var(--hoja-2); padding: 1px 5px; border-radius: 6px; }

/* ---------- Aviso ---------- */
.aviso {
  position: fixed; z-index: 60; inset-inline: 0; margin-inline: auto; width: max-content; max-width: calc(100% - 32px);
  top: calc(14px + env(safe-area-inset-top));
  background: var(--tinta); color: var(--papel); padding: 12px 18px 12px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  display: flex; align-items: center; gap: 10px; box-shadow: var(--sombra-alta);
  opacity: 0; transform: translateY(-120%); pointer-events: none; transition: opacity 400ms ease, transform 400ms ease;
}
.aviso.ver { opacity: 1; transform: none; }
.aviso svg { width: 18px; height: 18px; color: var(--laton-claro); }

.pie { text-align: center; color: var(--tinta-3); font-size: 12.5px; margin-block: 44px 0; }
.pie .heb { font-size: 16px; color: var(--tinta-2); }

@media (prefers-reduced-motion: reduce) {
  @keyframes aparecer { from { opacity: 0; } }
  @keyframes lomo-sube { from { opacity: 0; } }
  .hero-daf span, .voz-btn[aria-pressed="true"], .ondas i { animation: none !important; }
  .hoja, .reproductor, .aviso, .nav, .capas-flotante { transition-property: opacity !important; }
  .hoja.fuera, .reproductor.fuera, .aviso { transform: none; }
  .btn:active, .chip:active, .btn-ic:active, .fila:active, .obra:active, .seif:active { transform: none; }
  .lomo { transition: none; }
}

/* Respuesta al toque (Emil: 0,97 · 160 ms · ease-out fuerte) */
.btn, .chip, .btn-ic, .r-btn, .capa-btn, .voz-btn, .accion, .lc-btn, .voz-todo, .atajo, .obra, .lector-pie a, .resultado, .fila, .pestanas button, .seg button {
  transition-property: transform, background-color, color, box-shadow, opacity, border-color;
  transition-duration: 160ms; transition-timing-function: var(--ease-out);
}
.fila:active, .pestanas button:active, .seg button:active { transform: scale(.98); }
.seif:active { transform: scale(.995); }

/* ---------- Estudio diario (Jitas y Rambam) ---------- */
.diario-fecha { display: flex; align-items: center; gap: 12px; margin-block-end: 16px; }
.diario-fecha > div { flex: 1; text-align: center; }
.diario-fecha b { display: block; font-family: var(--f-heb); font-size: 20px; }
.diario-fecha small { color: var(--tinta-3); font-size: 13px; }
.diario-fecha .btn-ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--hoja); box-shadow: var(--sombra); }
.diario-fecha .btn-ic svg { width: 18px; height: 18px; }
[dir="rtl"] .diario-fecha .btn-ic svg { transform: scaleX(-1); }
.fila-ic.hecho { background: var(--verde-vivo); color: #fff; }
.diario-progreso, .diario-cargando, .diario-nota { color: var(--tinta-3); font-size: 13px; text-align: center; margin-block: 12px; }
.diario-chips { flex-wrap: wrap; }
.diario-cap { font-family: var(--f-heb); font-size: 20px; text-align: center; margin-block: 24px 10px; color: var(--laton-claro, var(--tinta-2)); }
.diario-u { margin-block-end: 12px; }
.diario-num { font-size: .7em; color: var(--tinta-3); margin-inline-end: 4px; }
.rashi { margin-block-start: 10px; padding: 10px 12px; border-radius: 12px; background: var(--verde-suave); font-family: var(--f-heb); font-size: calc(var(--tam, 18px) * .85); line-height: 1.6; }
.rashi p { margin: 4px 0; }
.atajo-ic.heb { font-family: var(--f-heb); font-size: 15px; font-weight: 700; }

/* Estudio diario · pantalla principal */
.d-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--verde); color: var(--sobre-verde); border-radius: var(--r-l); padding: 14px 14px 20px; margin-block-end: 16px; }
.d-hero-daf { position: absolute; inset: 0 -20% 0 45%; z-index: -1; background: repeating-linear-gradient(to bottom, rgba(201,162,79,.22) 0 2px, transparent 2px 11px); -webkit-mask: linear-gradient(to left, #000, transparent); mask: linear-gradient(to left, #000, transparent); }
.d-hero-top { display: flex; align-items: center; gap: 8px; }
.d-nav { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(242,238,227,.1); border: 1px solid rgba(242,238,227,.14); flex: none; transition: transform .2s var(--curva); }
.d-nav:active { transform: scale(.92); }
.d-nav svg { width: 18px; height: 18px; }
.d-hero-fecha { flex: 1; text-align: center; }
.d-hero-fecha b { display: block; font-family: var(--f-heb); font-size: 22px; font-weight: 500; color: var(--laton-claro); line-height: 1.2; }
.d-hero-fecha small { font-size: 12.5px; opacity: .75; }
.d-hero-main { display: flex; align-items: center; gap: 18px; padding: 22px 8px 0; min-height: 96px; }
.d-hero-main > div:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.d-parasha { font-family: var(--f-heb); font-size: 26px; font-weight: 600; line-height: 1.1; }
.d-estado { font-size: 14px; opacity: .85; }
.d-racha { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(201,162,79,.22); color: var(--laton-claro); }
.d-anillo { position: relative; width: 76px; height: 76px; flex: none; color: var(--laton-claro); }
.d-anillo svg { width: 100%; height: 100%; }
.d-anillo circle:last-child { transition: stroke-dashoffset .6s var(--ease-out); }
.d-anillo span { position: absolute; inset: 0; display: grid; place-content: center; grid-auto-flow: column; align-items: baseline; color: var(--sobre-verde); }
.d-anillo b { font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.d-anillo small { font-size: 13px; opacity: .6; }
.d-cards { display: flex; flex-direction: column; gap: 10px; }
.d-card { display: flex; align-items: stretch; background: var(--hoja); border-radius: var(--r); box-shadow: var(--sombra); overflow: hidden; animation: aparecer 300ms var(--ease-out) both; animation-delay: calc(var(--i) * 50ms); transition: background .25s; }
.d-card-link { flex: 1; display: flex; align-items: center; gap: 14px; padding: 14px; min-width: 0; }
.d-card-he { width: 64px; height: 64px; flex: none; border-radius: 18px; display: grid; place-items: center; background: var(--verde-suave); color: var(--verde-vivo); font-family: var(--f-heb); font-size: 19px; font-weight: 700; transition: background .25s, color .25s; }
.d-card-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.d-card-txt b { font-size: 16px; font-weight: 600; }
.d-card-ref { font-family: var(--f-heb); font-size: 16px; color: var(--tinta-2); text-align: start; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-card-txt small { font-size: 12.5px; color: var(--tinta-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-check { width: 64px; flex: none; display: grid; place-items: center; border: 0; background: none; border-inline-start: 1px solid var(--hilo); color: transparent; cursor: pointer; }
.d-check svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--hilo-2); transition: all .25s var(--curva); }
.d-check:active svg { transform: scale(.85); }
.d-check[aria-pressed="true"] { color: #fff; }
.d-check[aria-pressed="true"] svg { background: var(--verde-vivo); box-shadow: none; }
.d-card.hecho { background: color-mix(in srgb, var(--verde-suave) 70%, var(--hoja)); }
.d-card.hecho .d-card-he { background: var(--verde-vivo); color: #fff; }
.d-personalizar { display: flex; align-items: center; gap: 12px; width: 100%; margin-block-start: 16px; padding: 14px 16px; border-radius: var(--r); background: var(--hoja); box-shadow: var(--sombra); border: 0; font: inherit; color: inherit; font-weight: 500; text-align: start; cursor: pointer; }
.d-personalizar > span { flex: 1; }
.d-personalizar svg { width: 18px; height: 18px; color: var(--tinta-3); }
.d-hoja-sub { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--tinta-3); margin: 18px 0 4px; font-weight: 600; }
.d-fila { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-block-end: 1px solid var(--hilo); cursor: pointer; }
.d-fila > span { flex: 1; }
.d-fila b { display: block; font-weight: 500; }
.d-fila small { color: var(--tinta-3); font-size: 12.5px; }
.d-fila.dis { opacity: .5; cursor: default; }
.d-switch { appearance: none; -webkit-appearance: none; width: 46px; height: 28px; border-radius: 999px; background: var(--hilo-2); position: relative; flex: none; cursor: pointer; transition: background .2s; margin: 0; }
.d-switch::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s var(--curva); }
.d-switch:checked { background: var(--verde-vivo); }
.d-switch:checked::after { transform: translateX(18px); }
[dir="rtl"] .d-switch:checked::after { transform: translateX(-18px); }
html:not([lang="he"]) .d-card-ref { text-align: left; }

/* Tefilá del momento */
.tefila { display: flex; align-items: center; gap: 6px; padding: 10px; background: var(--hoja); }
.tef-flecha { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--hoja-2); border: 0; color: var(--tinta-2); cursor: pointer; transition: transform .2s var(--curva); }
.tef-flecha:active { transform: scale(.9); }
.tef-flecha svg { width: 18px; height: 18px; }
.tef-centro { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding-block: 6px; text-align: center; }
.tef-centro.cambia > * { animation: aparecer 260ms var(--ease-out) both; }
.tef-etq { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--verde-vivo); }
.tef-he { font-family: var(--f-heb); font-size: 34px; font-weight: 700; line-height: 1.1; color: var(--verde); }
[data-tema="oscuro"] .tef-he { color: var(--laton-claro); }
.tef-sub { font-size: 13px; color: var(--tinta-3); }
.tef-puntos { display: flex; gap: 5px; margin-block-start: 6px; }
.tef-puntos i { width: 6px; height: 6px; border-radius: 3px; background: var(--hilo-2); transition: width .25s var(--curva), background .25s; }
.tef-puntos i.si { width: 18px; background: var(--verde-vivo); }

.jitas-fin { display: flex; justify-content: center; margin-block: 28px 0; }
.jitas-fin .btn { min-width: 220px; }
