/* app.css — lo propio de la app de letrados (encima de base.css) */
html, body { height: auto; min-height: 100%; }
body { display: block; overflow-x: hidden; }
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button.btn { border: 2px solid #1B3A6B; } button.btn.sec { border: 2px solid #1B3A6B; }
button.btn:disabled { opacity: .45; cursor: default; }
button.enl { background: none; border: 0; padding: 0; color: #1B3A6B; font-weight: 700; text-decoration: underline; font-size: 9pt; }
.barra { height: auto; min-height: 30px; position: sticky; top: 0; z-index: 20; }
.barra b { padding: 4px 10px; }
.barra button.enl { margin-left: 12px; font-size: 10pt; }
.cab-movil { position: sticky; top: 0; z-index: 20; }
.cab-movil button { background: none; border: 0; color: #fff; font-weight: 700; text-decoration: underline; padding: 0; }
.franja { flex-wrap: wrap; }
.franja .otra { margin-left: auto; }
/* portada */
.port { max-width: 1040px; margin: 0 auto; padding: 30px 20px 36px; }
.port h1 { font: 700 26pt "Caladea web", serif; margin: 0 0 8px; text-align: left; line-height: 1.1; }
.port .lema { font-size: 13pt; color: #3F4147; margin: 0 0 22px; }
.heroB { display: flex; gap: 28px; align-items: center; } .heroB .iz { flex: 0 0 400px; min-width: 0; } .heroB .de { flex: 1; min-width: 0; }
.ent { display: flex; flex-direction: column; gap: 10px; }
button.ac { width: 100%; text-align: left; background: #fff; border: 2px solid #1B3A6B; padding: 18px 20px; display: flex; gap: 16px; align-items: center; color: #1B3A6B; min-width: 0; }
button.ac.pral { background: #1B3A6B; color: #fff; }
button.ac svg { flex: none; } .ac .tx { flex: 1; min-width: 0; display: block; } .ac b { display: block; font-size: 14pt; } .ac .tx span { display: block; opacity: .85; }
button.ac.espera { opacity: .55; cursor: default; } button.ac.sobre { background: #EDF1F8; }
button.ac:not(.espera):hover { box-shadow: 0 3px 12px rgba(27,58,107,.28); }
.estado { color: #55585F; margin-top: 10px; min-height: 1.3em; }
.bajo { display: flex; gap: 8px 18px; margin-top: 8px; flex-wrap: wrap; } .bajo button.enl { font-size: 10.5pt; } .bajo button:disabled { opacity: .45; cursor: default; }
#error, #fError { color: #B23B2E; font-weight: 700; margin-top: 8px; } #error:empty, #fError:empty { display: none; }
.cap { border: 1px solid #C9CED8; box-shadow: 0 8px 26px rgba(20,30,60,.18); background: #fff; } .cap img { display: block; width: 100%; height: auto; }
.priv2 { display: flex; gap: 10px; align-items: center; background: #EAF3EE; border: 1px solid #CFE3D8; border-left: 4px solid #1F6B4A; padding: 10px 14px; color: #33443B; margin-top: 18px; } .priv2 b { color: #1F6B4A; } .priv2 svg { flex: none; color: #1F6B4A; }
.port > .rot { font-size: 9pt; font-weight: 700; letter-spacing: .06em; color: #1B3A6B; margin: 30px 0 10px; }
.pieP { color: #6E6E73; font-size: 9pt; margin-top: 26px; text-align: center; }
/* fotos */
.g-cab { font-size: 8pt; font-weight: 700; color: #6E6E73; letter-spacing: .03em; }
#fotos h2, .tut h2 { margin: 2px 0 2px; font-size: 15pt; } .sub2 { color: #6E6E73; margin: 0 0 10px; }
.cabf { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } .cabf button.enl { font-size: 10pt; padding-top: 6px; white-space: nowrap; }
.rej { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
button.mini { background: #fff; border: 2px solid #D8DCE4; padding: 6px 6px 4px; position: relative; text-align: center; min-width: 0; }
.mini img { display: block; width: 100%; height: auto; aspect-ratio: 210 / 297; object-fit: cover; background: #F0F1F4; }
.mini .num { position: absolute; left: 4px; top: 4px; background: #1B3A6B; color: #fff; font-weight: 700; font-size: 8.5pt; min-width: 20px; padding: 1px 4px; }
.mini .est { font-size: 8.5pt; font-weight: 700; color: #1F6B4A; margin-top: 3px; } .mini.mal { border-color: #C0392B; } .mini.mal .est { color: #C0392B; }
.mini.ley { border-style: dashed; border-color: #1B3A6B; } .mini.ley .est { color: #1B3A6B; } .mini.ley img { opacity: .45; }
button.mini.mas { border-style: dashed; border-color: #1B3A6B; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 150px; } .masi { font-size: 30pt; color: #1B3A6B; line-height: 1; } .mini.mas svg { margin-bottom: 6px; } .mini.mas .est { color: #1B3A6B; }
.barraf { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap; } .barraf .btn { padding: 9px 18px; }
.aviso-f { background: #FBEDEB; border: 1px solid #E7C2BC; border-left: 4px solid #C0392B; padding: 10px 14px; margin-bottom: 12px; color: #5A2A22; } .aviso-f b { color: #C0392B; } .aviso-f .btn { margin-top: 8px; }
.tut { padding: 14px 18px 4px; }
.cons { display: flex; align-items: center; gap: 14px; padding: 9px 0; border-top: 1px solid #EEEEF2; }
.cons-t { flex: 1; } .cons-t b { display: block; font-size: 11pt; } .cons-t span { color: #6E6E73; } .cons-d { display: flex; gap: 8px; }
#dialogo .pie2 { align-items: center; } #dialogo .pie2 label { color: #3F4147; }
#dialogo .wc .err { color: #B23B2E; font-weight: 700; margin-top: 8px; }
#app > .banda { margin: 12px 16px 0; }
/* vistazo */
.vz { background: #fff; border: 1px solid #D8DCE4; margin: 12px 16px 0; }
.vzt { display: flex; padding: 7px 16px; align-items: baseline; gap: 14px; }
.vzt b { font-size: 8.5pt; letter-spacing: .04em; color: #1B3A6B; white-space: nowrap; }
.vzt i { font-style: normal; color: #55585F; flex: 1; min-width: 0; }
.vzt button { margin-left: auto; white-space: nowrap; }
.vzc { display: flex; gap: 18px; padding: 10px 16px 6px; align-items: flex-start; border-top: 1px solid #EEEEF2; }
.vzc .cifras { flex: 0 0 250px; flex-wrap: wrap; gap: 6px; margin: 0; }
.vzc .cifra { flex: 1 1 44%; padding: 6px 8px; } .vzc .cifra b { font-size: 14pt; } .vzc .cifra span { font-size: 8.5pt; line-height: 1.2; display: block; }
.lt { flex: 1; min-width: 0; } .lt svg { display: block; width: 100%; height: auto; }
/* cuerpo */
.cuerpo { align-items: flex-start; }
.col-izq, .col-der, .panel { overflow: visible; }
.pest button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 9px 18px; font-weight: 700; color: #6E6E73; }
.pest button.sel { color: #1B3A6B; border-bottom-color: #1B3A6B; }
.pest button.solo-movil { display: none; }
.ficha .t { flex-wrap: wrap; }
.ficha .org { color: #8E8E93; font-size: 8.5pt; }
/* alta de delito y pena */
.vacio { border: 2px dashed #C9D5EA; background: #fff; padding: 18px; text-align: center; color: #55585F; }
.apag { opacity: .45; }
.alta { background: #fff; border: 2px solid #1B3A6B; padding: 12px 14px; margin-bottom: 6px; }
.alta .tt2 { font-size: 8.5pt; font-weight: 700; color: #1B3A6B; letter-spacing: .04em; margin-bottom: 8px; }
.alta .lin { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin-top: 8px; }
.alta label { display: block; font-size: 8.5pt; font-weight: 700; color: #1B3A6B; margin-bottom: 3px; }
.alta input, .alta select { border: 1px solid #9AA0AA; background: #fff; padding: 6px 8px; min-height: 34px; }
.alta input.n { width: 64px; }
.sel-delito { position: relative; margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.sel-delito > button.caja { flex: 1; min-width: 0; text-align: left; background: #fff; border: 1px solid #9AA0AA; padding: 7px 9px; display: flex; justify-content: space-between; gap: 8px; min-height: 34px; }
.sel-delito > button.caja.falta { color: #8E8E93; }
.sel-delito.abierto > button.caja { outline: 2px solid #1B3A6B; }
.desp { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid #6E6E73; box-shadow: 0 8px 22px rgba(0,0,0,.25); z-index: 15; max-height: 320px; overflow-y: auto; }
.desp .fil { padding: 6px 8px; border-bottom: 1px solid #E4E4E8; position: sticky; top: 0; background: #fff; }
.desp .fil input { width: 100%; }
.desp .gp { font-size: 8pt; font-weight: 700; color: #6E6E73; letter-spacing: .04em; background: #F4F5F8; padding: 4px 10px; text-transform: uppercase; }
.desp button.it { display: block; width: 100%; text-align: left; background: #fff; border: 0; padding: 7px 16px; }
.desp button.it:hover, .desp button.it:focus { background: #EDF1F8; outline: none; }
.desp .nada { padding: 10px 16px; color: #6E6E73; }
.alta .bts { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; flex-wrap: wrap; }
.alta .err { color: #B23B2E; font-weight: 700; margin-top: 8px; }
.dpf button.enl { white-space: nowrap; }
/* fichas de resultado */
.mod2.am { color: #8A5A12; } .mod2.gr { color: #55585F; }
.fila-m { display: flex; align-items: center; gap: 10px; margin: 6px 0; flex-wrap: wrap; }
.fila-m .rot { flex: 1 1 100%; font-weight: 700; margin-top: 6px; } .fila-m .rot small { display: inline; font-weight: 400; color: #6E6E73; margin-left: 8px; }
.lect { border: 1px dashed #C98A1B; background: #FDF9F1; margin-top: 12px; }
.lect .ltt { font-size: 8pt; font-weight: 700; letter-spacing: .04em; color: #8A5A12; padding: 8px 14px 2px; }
.lect .l { padding: 8px 14px; border-top: 1px solid #EFE3CC; } .lect .ltt + .l { border-top: 0; }
.lect .l.nota { color: #6E6E73; font-size: 9pt; } .lect .l .si { color: #3F4147; margin-bottom: 5px; }
.avisos { margin-top: 10px; color: #8A5A12; font-size: 9pt; } .avisos div { margin-top: 3px; }
.ojo + .ojo { margin-top: 6px; }
.banda { background: #FAF2E4; border-left: 4px solid #C98A1B; padding: 8px 12px; color: #5C4310; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.banda span { flex: 1; min-width: 200px; }
/* ficha del asunto: plegable, cada delito con sus penas */
.herr { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: #55585F; font-size: 9.5pt; padding: 0 2px 2px; } .herr button.enl { font-size: 10pt; white-space: nowrap; }
.col-izq .herr span { display: none; } .col-izq .herr { justify-content: flex-end; }
.lista-as { display: flex; flex-direction: column; gap: 10px; }
.ficha.fa { background: #fff; border: 1px solid #1B3A6B; padding: 0; display: block; }
/* lo principal es el asunto: franja oscura, con la marca de color de su estado; el delito, más suave */
.fa button.cab { box-shadow: inset 6px 0 0 #AEB3BD; } .fa.rojo button.cab { box-shadow: inset 6px 0 0 #D9675A; } .fa.verde button.cab { box-shadow: inset 6px 0 0 #5DB48A; } .fa.ambar button.cab { box-shadow: inset 6px 0 0 #E0A93B; }
button.cab { display: flex; align-items: center; gap: 8px; padding: 10px 12px 10px 16px; width: 100%; background: #1B3A6B; color: #fff; border: 0; text-align: left; }
.cab .n { font: 700 15pt "Caladea web", serif; flex: 1; color: #fff; } .cab .fle { color: #fff; font-size: 12pt; font-weight: 700; width: 18px; text-align: center; flex: none; }
.fa .chip { font-size: 8.5pt; font-weight: 700; padding: 3px 9px; white-space: nowrap; background: #EEF0F4; color: #55585F; }
.fa .chip.rojo { background: #FBEDEB; color: #B23B2E; } .fa .chip.verde { background: #EAF3EE; color: #1F6B4A; } .fa .chip.azul { background: #E7ECF6; color: #1B3A6B; } .fa .chip.ambar { background: #FAF2E4; color: #8A5A12; }
.fa .firme { padding: 9px 12px 10px 42px; color: #55585F; }
.fa .rs { padding: 9px 12px 11px 42px; color: #3F4147; line-height: 1.35; } .fa .rs b { color: #1D1D1F; } .fa .rs i { font-style: normal; color: #6E6E73; display: block; }
.grupo { margin: 0 10px 8px; border: 1px solid #D8DCE4; }
button.dl { background: #EEF2F9; color: #1D1D1F; border-bottom: 1px solid #D8DFEC !important; padding: 8px 10px; display: flex; gap: 9px; align-items: flex-start; width: 100%; border: 0; text-align: left; }
button.dl.sin { background: #F0F1F4; }
.dl .num { flex: none; width: 22px; height: 22px; background: #1B3A6B; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 10pt; margin-top: 1px; }
.dl .tx { flex: 1; min-width: 0; font-weight: 700; line-height: 1.25; } .dl .tx small { display: block; font-weight: 400; color: #55585F; font-size: 9pt; margin-top: 2px; }
.dl .fle { font-weight: 700; font-size: 11pt; flex: none; color: #1B3A6B; }
.pn { display: flex; align-items: center; gap: 9px; padding: 8px 10px 8px 12px; border-top: 1px solid #E4E9F2; }
.pn .fl { flex: none; color: #8FA3C8; font-weight: 700; font-size: 13pt; line-height: 1; }
.pn .t { flex: 1; min-width: 0; line-height: 1.25; } .pn .t small { display: block; color: #1B3A6B; font-size: 9pt; font-weight: 400; }
.pn .d { font-weight: 700; font-size: 11.5pt; white-space: nowrap; } .pn .chip { min-width: 74px; text-align: center; padding: 3px 5px; }
.pn.pri .t { font-weight: 700; }
.rotp { font-size: 7.5pt; font-weight: 700; letter-spacing: .06em; color: #6E7FA3; padding: 6px 12px 4px; }
button.enl.pq2 { display: block; padding: 4px 12px 12px; font-size: 9.5pt; } .pqa { padding: 0 12px 12px; color: #55585F; font-size: 9.5pt; margin-top: -6px; }
/* cómo decide la app */
.crit .intro h2 { font: 700 16pt "Caladea web", serif; margin: 0 0 4px; } .crit .intro p { margin: 0; color: #55585F; }
.crit .ley { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0 12px; }
.tg { font-size: 8pt; font-weight: 700; padding: 2px 8px; white-space: nowrap; }
.tg.l { background: #E7ECF6; color: #1B3A6B; } .tg.s { background: #EAF3EE; color: #1F6B4A; } .tg.p { background: #EFE9F6; color: #5B3A8A; } .tg.a { background: #EEF0F4; color: #55585F; } .tg.x { background: #FAF2E4; color: #8A5A12; }
.q { background: #fff; border: 1px solid #D8DCE4; margin-bottom: 10px; }
button.qc { display: flex; gap: 10px; align-items: flex-start; padding: 12px; width: 100%; background: none; border: 0; text-align: left; }
.qc .fle { color: #1B3A6B; font-weight: 700; font-size: 12pt; width: 16px; flex: none; }
.qc .tx { flex: 1; min-width: 0; } .qc b { display: block; font: 700 13pt "Caladea web", serif; line-height: 1.2; } .qc small { display: block; color: #55585F; font-size: 10pt; margin-top: 3px; line-height: 1.3; }
.resp { background: #F6F8FC; border-top: 1px solid #E4E9F2; border-bottom: 1px solid #E4E9F2; padding: 10px 14px; line-height: 1.3; } .resp > div:first-child { font-weight: 700; color: #1B3A6B; }
.rotq { font-size: 7.5pt; font-weight: 700; letter-spacing: .06em; color: #6E7FA3; padding: 10px 14px 0; }
.q .r { padding: 10px 14px; border-top: 1px solid #EEEEF2; line-height: 1.3; } .rotq + .r { border-top: 0; }
.de { display: flex; gap: 6px; align-items: baseline; margin-top: 5px; color: #55585F; font-size: 9.5pt; flex-wrap: wrap; } .de a { color: #1B3A6B; font-weight: 700; }
.crit, .q, .qb { min-width: 0; max-width: 100%; } .sinc .lc div { min-width: 0; overflow-wrap: anywhere; }
.sinc { margin: 10px 12px 12px; border: 1px dashed #C98A1B; background: #FDF9F1; }
.sinc .tt { font-size: 7.5pt; font-weight: 700; letter-spacing: .06em; color: #8A5A12; padding: 8px 12px 2px; } .sinc .pr { padding: 4px 12px 8px; font-weight: 700; line-height: 1.3; }
.sinc .lc { display: flex; border-top: 1px solid #EFE3CC; } .sinc .lc div { flex: 1; padding: 8px 12px; font-size: 9.5pt; line-height: 1.3; color: #3F4147; } .sinc .lc div + div { border-left: 1px solid #EFE3CC; }
.sinc .lc b { display: block; color: #8A5A12; font-size: 8pt; letter-spacing: .04em; margin-bottom: 2px; } .sinc .nt { border-top: 1px solid #EFE3CC; padding: 7px 12px; font-size: 9pt; color: #6E6E73; }
/* diálogo */
#velo { position: fixed; inset: 0; background: rgba(15,15,20,.5); z-index: 50; display: flex; align-items: flex-start; justify-content: center; padding: 30px 12px; overflow-y: auto; }
#dialogo { background: #fff; border: 1px solid #6E6E73; box-shadow: 0 10px 34px rgba(0,0,0,.3); width: min(760px, 100%); }
#dialogo .wt { border-bottom: 1px solid #D8DCE4; padding: 9px 16px; font-weight: 700; display: flex; justify-content: space-between; }
#dialogo .wt button { background: none; border: 0; font-weight: 700; }
#dialogo .wc { padding: 10px 16px; }
#dialogo .gt { font-size: 8.5pt; font-weight: 700; color: #1B3A6B; letter-spacing: .04em; margin: 10px 0 4px; }
#dialogo .fl { display: flex; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid #EEEEF2; flex-wrap: wrap; }
#dialogo .fl span { flex: 1 1 260px; min-width: 0; } #dialogo .fl select { flex: 0 1 300px; min-width: 0; max-width: 100%; border: 1px solid #9AA0AA; padding: 5px; background: #fff; }
#dialogo .pie2 { display: flex; gap: 8px; padding: 10px 16px; border-top: 1px solid #D8DCE4; flex-wrap: wrap; }
.pie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid #D8DCE4; padding: 5px 8px; padding-bottom: max(5px, env(safe-area-inset-bottom)); }
body { padding-bottom: 40px; }
.barra .lema-b { color: #55585F; padding: 4px 0; }
@media (max-width: 760px) {
  .barra { display: none; } .cab-movil { display: flex; }
  .vz { margin: 0; border-left: 0; border-right: 0; } .vzt { flex-wrap: wrap; padding: 7px 12px; } .vzt i { flex: 1 1 100%; order: 3; font-size: 9pt; }
  .vzc { flex-direction: column; gap: 6px; padding: 8px 10px; } .vzc .cifras { flex: none; flex-wrap: nowrap; width: 100%; } .vzc .cifra { flex: 1; padding: 4px 5px; } .vzc .cifra b { font-size: 12pt; } .vzc .cifra span { font-size: 7.5pt; }
  .lt { width: 100%; }
  .cuerpo { display: block; } .col-izq { display: none; padding: 10px 12px; gap: 8px; } .col-izq.ver { display: flex; } .col-der.sin { }
  .pest { position: sticky; top: 44px; z-index: 10; border-left: 0; border-right: 0; border-bottom: 1px solid #D8DCE4; }
  .pest button { flex: 1; padding: 10px 4px; font-size: 10pt; } .pest button.solo-movil { display: block; }
  .panel { border: 0; padding: 12px; }
  .alta .campo { flex: 1 1 44%; } .alta input.n { width: 100%; } .alta .campo.f, .alta .campo.c { flex: 1 1 100%; } .alta .campo.f input, .alta .campo.c select { width: 100%; }
  .desp { max-height: 46vh; }
  .port { padding: 18px 14px 28px; } .port h1 { font-size: 21pt; } .port .lema { font-size: 11.5pt; margin-bottom: 16px; }
  .heroB .de { display: none; }
  .heroB { flex-direction: column; align-items: stretch; gap: 18px; } .heroB .iz { flex: none; } button.ac { padding: 16px; } .ac b { font-size: 13pt; }
  .rej { grid-template-columns: repeat(3, 1fr); gap: 8px; } button.mini.mas { min-height: 0; } .barraf { flex-direction: column-reverse; } .barraf .btn { width: 100%; }
  .cons { flex-direction: column; align-items: flex-start; gap: 8px; } .cons-d svg { width: 104px; height: 86px; } #app > .banda { margin: 0; }
  .ff { margin: 0; border-right: 0; border-top: 0; }
  #velo { padding: 0; } #dialogo { min-height: 100%; border: 0; }
}

.pie.beta::after { content: " · modo de pruebas"; color: #8A5A12; font-weight: 700; }
.pie { -webkit-user-select: none; user-select: none; }

.mini .sinimg { width: 100%; aspect-ratio: 210 / 297; background: #E4E6EA; }

/* portada: el PDF, lo recomendado */
button.ac { position: relative; }
.ac .rec { position: absolute; right: 10px; top: -11px; background: #1F6B4A; color: #fff; font-size: 8pt; font-weight: 700; font-style: normal; letter-spacing: .04em; padding: 2px 9px; }
.ej { color: #6E6E73; font-size: 9.5pt; margin-top: 14px; } .ej button.enl { color: #55585F; font-weight: 400; font-size: 9.5pt; } .ej button:disabled { opacity: .5; cursor: default; }
/* fotos de la hoja, desde la pantalla de la hoja */
.ff { background: #fff; border: 1px solid #D8DCE4; border-left: 5px solid #1B3A6B; margin: 12px 16px 0; } .ff.cambiado { border-left-color: #C98A1B; }
button.ffc { display: flex; align-items: center; gap: 8px; padding: 10px 12px; width: 100%; background: none; border: 0; text-align: left; }
.ffc .fle { color: #1B3A6B; font-weight: 700; width: 16px; flex: none; } .ffc .tx { flex: 1; min-width: 0; } .ffc b { display: block; font-size: 11.5pt; } .ffc small { color: #55585F; display: block; font-size: 9.5pt; }
.ff.cambiado .ffc small { color: #8A5A12; font-weight: 700; } .ffc .enl { color: #1B3A6B; font-weight: 700; text-decoration: underline; white-space: nowrap; }
#ffCuerpo { padding: 2px 12px 12px; } #ffCuerpo .barraf { margin-top: 12px; }
img.foto-grande { max-width: 100%; max-height: 70vh; border: 1px solid #D8DCE4; } .est-grande { font-weight: 700; color: #1F6B4A; margin-top: 6px; } .est-grande.mal { color: #C0392B; }
/* condiciones de la suspensión */
.cond { margin-top: 14px; border-top: 1px solid #EEEEF2; padding-top: 12px; }
.cond .rt { font-size: 7.5pt; font-weight: 700; letter-spacing: .06em; color: #1B3A6B; margin-bottom: 6px; } .cond p { margin: 0 0 10px; line-height: 1.35; }
.cmt { border: 2px solid #1B3A6B; padding: 12px 12px 14px; max-width: 520px; } .cmt .h { font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.seg { display: flex; border: 1px solid #1B3A6B; margin-bottom: 14px; } .seg button { flex: 1; text-align: center; padding: 8px 4px; font-weight: 700; color: #1B3A6B; background: #fff; border: 0; } .seg button.sel { background: #1B3A6B; color: #fff; }
.cmt .res { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; } .cmt .res b { font: 700 22pt "Caladea web", serif; line-height: 1; } .cmt .res span { font-weight: 700; font-size: 12pt; }
.cmt .cuenta { color: #55585F; font-size: 9.5pt; margin-bottom: 14px; }
.cmt input[type=range] { width: 100%; margin: 0; height: 30px; accent-color: #1B3A6B; }
.marcas { display: flex; justify-content: space-between; margin: 0 -8px 12px; } .marcas button { background: none; border: 0; padding: 2px 8px; color: #3F4147; text-align: center; min-width: 44px; }
.marcas button b { display: block; font-size: 10pt; } .marcas button small { display: block; font-size: 8pt; color: #6E6E73; } .marcas button.sel b { color: #1B3A6B; text-decoration: underline; }
.cuota { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; } .cuota label { font-size: 8.5pt; font-weight: 700; color: #1B3A6B; display: flex; flex-direction: column; gap: 3px; }
.cuota input { border: 1px solid #9AA0AA; padding: 6px 8px; width: 110px; min-height: 34px; background: #fff; } .cuota .tot { font-weight: 700; font-size: 12pt; padding-bottom: 6px; }
.cmt .mas2 { color: #55585F; font-size: 9.5pt; line-height: 1.35; }

/* idioma: interruptor con las dos banderas */
.sw { display: inline-flex; align-items: center; margin-left: 12px; position: relative; background: #D5DAE3; border-radius: 999px; padding: 3px; box-shadow: inset 0 1px 3px rgba(0,0,0,.25); flex: none; cursor: pointer; }
.barra .sw { margin-right: 8px; } .barra .pastilla { margin-left: auto; }
.cab-movil .sw { background: rgba(0,0,0,.35); margin-left: 8px; }
.sw button { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 44px; height: 28px; border-radius: 999px; background: none; border: 0; padding: 0; }
.sw svg { display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.sw button[aria-pressed="false"] svg { opacity: .45; filter: saturate(.5); }
.sw i { position: absolute; top: 3px; left: 3px; width: 44px; height: 28px; border-radius: 999px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); transition: left .15s; }
.sw.ca i { left: 47px; }
@media (prefers-reduced-motion: reduce) { .sw i { transition: none; } }
