/* ═══ BOLETÍN PROFESIONAL DEL PORTAL DE FAMILIAS ═══════════════════════════
   Colores SÓLIDOS de la paleta del portal (familia-theme.css): azul marino
   --pr, verde azulado --pa. Estados sobrios: verde aprobado, ámbar en riesgo,
   rojo bajo el mínimo, gris «sin calificar» (nunca un cero).
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  --b-ok: #1d6f5d;  --b-ok-bg: #e8f4f1;  --b-ok-bo: #b9dbd2;
  --b-wa: #8f5a17;  --b-wa-bg: #fbf1e2;  --b-wa-bo: #ecd3ad;
  --b-da: #9b3535;  --b-da-bg: #faeaea;  --b-da-bo: #ecc4c4;
  --b-na: #6b7c86;  --b-na-bg: #eef2f4;  --b-na-bo: #d7e0e5;
  --b-cu: #1f6078;  --b-cu-bg: #e7f0f4;  --b-cu-bo: #c3d7e0;
}
#tabNotas .wrap { max-width: 980px; }
.bol { display: flex; flex-direction: column; gap: 14px; }

.t-ok { color: var(--b-ok); } .t-wa { color: var(--b-wa); } .t-da { color: var(--b-da); }
.t-na { color: var(--b-na); } .t-cu { color: var(--b-cu); }

/* ── Membrete ── */
.bol-membrete { background: #fff; border: 1px solid var(--bo); border-radius: 18px; box-shadow: var(--sh); overflow: hidden; }
.bol-m-cab { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--pr); color: #fff; }
.bol-m-sello { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--pr); font-size: 22px; font-weight: 900; }
.bol-m-tit { flex: 1; min-width: 0; }
.bol-m-inst { font-size: 13px; font-weight: 700; color: #cfe1e8; letter-spacing: .2px; }
.bol-m-doc { margin-top: 2px; font-size: 21px; font-weight: 900; line-height: 1.15; letter-spacing: -.4px; color: #fff; }
.bol-m-anio { flex: 0 0 auto; text-align: right; }
.bol-m-anio small { display: block; font-size: 11px; font-weight: 700; color: #cfe1e8; text-transform: uppercase; letter-spacing: .6px; }
.bol-m-anio b { font-size: 17px; font-weight: 800; }
.bol-m-datos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.bol-m-datos > div { padding: 11px 18px; border-left: 1px solid #edf1f3; min-width: 0; }
.bol-m-datos > div:first-child { border-left: 0; }
.bol-m-datos dt { font-size: 11px; font-weight: 800; color: var(--mu); text-transform: uppercase; letter-spacing: .5px; }
.bol-m-datos dd { margin: 3px 0 0; font-size: 15px; font-weight: 700; color: var(--tx); overflow-wrap: anywhere; }

/* ── Promedio general destacado ── */
.bol-general { width: 100%; display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 18px; border: 2px solid var(--b-ok-bo); background: var(--b-ok-bg); text-align: left; cursor: pointer; font: inherit; color: var(--tx); box-shadow: var(--sh); }
.bol-general:hover { filter: brightness(.985); }
.bol-general:focus-visible, .bol-fila:focus-visible, .bol-pg:focus-visible, .bol-btn:focus-visible, .bold-tb:focus-visible, .acord-i summary:focus-visible { outline: 3px solid var(--pa); outline-offset: 2px; }
.bol-general.g-wa { background: var(--b-wa-bg); border-color: var(--b-wa-bo); }
.bol-general.g-da { background: var(--b-da-bg); border-color: var(--b-da-bo); }
.bol-general.g-na { background: var(--b-na-bg); border-color: var(--b-na-bo); }
.bol-g-num { flex: 0 0 auto; min-width: 118px; padding: 10px 12px; border-radius: 14px; background: #fff; text-align: center; font-size: 42px; font-weight: 900; line-height: 1; letter-spacing: -1.5px; color: var(--b-ok); }
.g-wa .bol-g-num { color: var(--b-wa); } .g-da .bol-g-num { color: var(--b-da); } .g-na .bol-g-num { color: var(--b-na); }
.bol-g-cuerpo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bol-g-lbl { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--mu); }
.bol-g-est { font-size: 18px; font-weight: 800; color: var(--b-ok); }
.g-wa .bol-g-est { color: var(--b-wa); } .g-da .bol-g-est { color: var(--b-da); } .g-na .bol-g-est { color: var(--b-na); }
.bol-g-tri { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.bol-g-tri span { padding: 3px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--bo); font-size: 13px; color: var(--mu); font-weight: 700; }
.bol-g-tri span.on { border-color: var(--pr); color: var(--pr); }
.bol-g-tri b { color: var(--tx); }
.bol-g-cump { font-size: 14px; color: var(--tx); font-weight: 600; }
.bol-g-ver { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 12px; background: var(--pr); color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap; }
.bol-g-ver svg, .bol-btn svg, .bol-ir svg, .acord-c svg, .bold-todas svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.bol-faltan { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--b-wa-bg); border: 1px solid var(--b-wa-bo); color: #5e3d10; font-size: 14.5px; line-height: 1.45; }
.bol-faltan svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--b-wa); stroke-width: 2; stroke-linecap: round; }

/* ── Tabla de asignaturas ── */
.bol-card { background: #fff; border: 1px solid var(--bo); border-radius: 18px; box-shadow: var(--sh); overflow: hidden; }
.bol-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 14px 18px 10px; }
.bol-card-head h3 { font-size: 17px; font-weight: 800; color: var(--tx); }
.bol-card-head span { font-size: 13px; color: var(--mu); font-weight: 600; }
.bol-tabla-wrap { width: 100%; }
.bol-tabla { width: 100%; border-collapse: collapse; table-layout: auto; }
.bol-tabla thead th { padding: 9px 10px; background: #f3f6f8; border-top: 1px solid #e6ecef; border-bottom: 1px solid #e6ecef; font-size: 12px; font-weight: 800; color: var(--mu); text-transform: uppercase; letter-spacing: .5px; text-align: left; }
.bol-tabla td, .bol-tabla tbody th, .bol-tabla tfoot th { padding: 11px 10px; border-bottom: 1px solid #edf1f3; vertical-align: middle; text-align: left; }
.bol-tabla .bol-mat { padding-left: 18px; }
.bol-tabla .bol-n { width: 64px; text-align: center; font-variant-numeric: tabular-nums; font-size: 16px; font-weight: 800; }
.bol-tabla thead .bol-n { text-align: center; }
.bol-tabla td.bol-actual { background: #f6f9fb; }
.bol-tabla thead th.bol-actual { color: var(--pr); background: #e9f0f4; }
.bol-tabla .bol-prom { width: 76px; font-size: 18px; font-weight: 900; }
.bol-tabla .bol-est { width: 150px; }
.bol-tabla .bol-ir { width: 34px; padding-right: 12px; color: #9fb0b9; }
.bol-fila { cursor: pointer; }
.bol-fila:hover td, .bol-fila:hover th { background: #f4f8f9; }
.bol-mat-n { display: block; font-size: 16px; font-weight: 800; color: var(--tx); }
.bol-mat-d { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--mu); }
.bol-mat-chip { display: none; margin-top: 5px; }
.bol-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; border: 1px solid; white-space: nowrap; }
.bol-chip.t-ok { background: var(--b-ok-bg); border-color: var(--b-ok-bo); }
.bol-chip.t-wa { background: var(--b-wa-bg); border-color: var(--b-wa-bo); }
.bol-chip.t-da { background: var(--b-da-bg); border-color: var(--b-da-bo); }
.bol-chip.t-na { background: var(--b-na-bg); border-color: var(--b-na-bo); }
.bol-chip.t-cu { background: var(--b-cu-bg); border-color: var(--b-cu-bo); }
.bol-pg { cursor: pointer; }
.bol-pg th, .bol-pg td { background: var(--pr) !important; color: #fff; border-bottom: 0 !important; font-weight: 900; }
.bol-pg th { font-size: 15px; text-transform: uppercase; letter-spacing: .4px; }
.bol-pg .bol-ir { color: #cfe1e8; }
.bol-pg .bol-chip { background: #fff; }

.bol-acciones { display: flex; flex-wrap: wrap; gap: 10px; }
.bol-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--bo); background: #fff; color: var(--pr); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.bol-btn-pri { background: var(--pr); border-color: var(--pr); color: #fff; }
.bol-btn-pri:hover { background: #0d3147; }
.bol-leyenda { font-size: 13px; line-height: 1.5; color: var(--mu); }
.bol-leyenda b { color: var(--tx); }

/* ── Detalle (hoja que se abre encima) ── */
html.bol-sin-scroll, html.bol-sin-scroll body { overflow: hidden; }
.bold-ov { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(7, 30, 43, .62); }
.bold-ov.on { display: flex; }
.bold-panel { width: min(860px, 100%); max-height: 100%; display: flex; flex-direction: column; background: var(--bg); border-radius: 22px; overflow: hidden; box-shadow: var(--sh-lg); }
.bold-head { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--pr); color: #fff; }
.bold-x, .bold-imp { flex: 0 0 auto; min-width: 44px; min-height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: #1d4d6a; color: #fff; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 14px; padding: 0 10px; }
.bold-x svg, .bold-imp svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bold-tit { flex: 1; min-width: 0; }
.bold-tit small { display: block; font-size: 11.5px; font-weight: 800; color: #cfe1e8; text-transform: uppercase; letter-spacing: .6px; }
.bold-tit h2 { font-size: 20px; font-weight: 900; line-height: 1.2; color: #fff; overflow-wrap: anywhere; }
.bold-tit span { display: block; margin-top: 2px; font-size: 13px; color: #dbe8ee; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bold-tri { flex: 0 0 auto; display: flex; gap: 6px; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--bo); overflow-x: auto; }
.bold-tb { flex: 1 0 auto; min-height: 44px; padding: 4px 12px; border-radius: 12px; border: 1px solid var(--bo); background: #f3f6f8; color: var(--tx); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; }
.bold-tb small { font-size: 11px; font-weight: 600; color: var(--mu); }
.bold-tb.on { background: var(--pr); border-color: var(--pr); color: #fff; }
.bold-tb.on small { color: #cfe1e8; }
.bold-body { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; -webkit-overflow-scrolling: touch; }
.bold-body > *, .acord-b > * { flex-shrink: 0; }
.bold-todas { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 12px 0 6px; border-radius: 10px; border: 1px solid var(--bo); background: #fff; color: var(--pr); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }

.det-nota { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 2px solid var(--b-na-bo); }
.det-nota.t-ok { border-color: var(--b-ok-bo); background: var(--b-ok-bg); }
.det-nota.t-wa { border-color: var(--b-wa-bo); background: var(--b-wa-bg); }
.det-nota.t-da { border-color: var(--b-da-bo); background: var(--b-da-bg); }
.det-nota.t-cu { border-color: var(--b-cu-bo); background: var(--b-cu-bg); }
.det-nota-v { flex: 0 0 auto; min-width: 92px; padding: 8px 10px; border-radius: 12px; background: #fff; text-align: center; font-size: 32px; font-weight: 900; letter-spacing: -1px; line-height: 1; }
.det-nota-t { min-width: 0; color: var(--tx); }
.det-nota-t b { display: block; font-size: 16px; }
.det-nota-t small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: #3c4f5a; font-weight: 500; }

.res { display: flex; flex-wrap: wrap; gap: 8px; }
.res-i { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 14px; border: 1px solid; background: #fff; }
.res-i svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.res-ok { color: var(--b-ok); border-color: var(--b-ok-bo); background: var(--b-ok-bg); }
.res-sp { color: var(--b-da); border-color: var(--b-da-bo); background: var(--b-da-bg); }
.res-at { color: var(--b-wa); border-color: var(--b-wa-bo); background: var(--b-wa-bg); }
.res-pe { color: var(--b-na); border-color: var(--b-na-bo); background: var(--b-na-bg); }

.det-aviso { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--b-wa-bo); border-left: 5px solid var(--b-wa); font-size: 14.5px; }
.det-aviso > b { display: block; margin-bottom: 4px; color: var(--b-wa); }
.det-aviso ul { margin: 0 0 0 18px; padding: 0; line-height: 1.5; }

.comp { background: #fff; border: 1px solid var(--bo); border-radius: 16px; padding: 6px 14px; }
.comp-tit { padding: 8px 0 6px; font-size: 12px; font-weight: 800; color: var(--mu); text-transform: uppercase; letter-spacing: .5px; }
.comp-f { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #edf1f3; }
.comp-l { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; color: var(--tx); }
.comp-l small { display: block; font-size: 12.5px; font-weight: 500; color: var(--mu); }
.comp-p { flex: 0 0 auto; min-width: 46px; text-align: right; font-size: 13px; font-weight: 800; color: var(--mu); }
.comp-v { flex: 0 0 auto; min-width: 64px; text-align: right; font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; }
.comp-v i { font-style: normal; font-size: 13px; font-weight: 700; }
.comp-total { border-top: 2px solid var(--bo); }
.comp-total .comp-l { font-weight: 900; }

.det-sub { margin-top: 4px; font-size: 12.5px; font-weight: 800; color: var(--mu); text-transform: uppercase; letter-spacing: .5px; }
.det-vacio { padding: 14px; border-radius: 14px; background: #fff; border: 1px dashed var(--bo); color: var(--mu); font-size: 14.5px; text-align: center; }

.blq { background: #fff; border: 1px solid var(--bo); border-radius: 16px; overflow: hidden; }
.blq-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; background: #f3f6f8; border-bottom: 1px solid #e6ecef; }
.blq-h h4 { font-size: 15px; font-weight: 800; color: var(--tx); min-width: 0; }
.blq-p { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: var(--mu); }
.blq-p b { font-size: 16px; font-weight: 900; margin-left: 2px; }
.acts { list-style: none; margin: 0; padding: 0; }
.act { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid #edf1f3; }
.act:first-child { border-top: 0; }
.act-ico { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.act-ico svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.act-ok .act-ico { background: var(--b-ok-bg); color: var(--b-ok); }
.act-sin_presentar .act-ico { background: var(--b-da-bg); color: var(--b-da); }
.act-atrasada .act-ico { background: var(--b-wa-bg); color: var(--b-wa); }
.act-pendiente .act-ico { background: var(--b-na-bg); color: var(--b-na); }
.act-cuerpo { flex: 1; min-width: 0; }
.act-n { display: block; font-size: 15px; font-weight: 700; color: var(--tx); overflow-wrap: anywhere; }
.act-s { display: block; margin-top: 1px; font-size: 13px; color: var(--mu); }
.act-sin_presentar .act-s { color: var(--b-da); font-weight: 700; }
.act-atrasada .act-s { color: var(--b-wa); font-weight: 700; }
.act-v { flex: 0 0 auto; min-width: 50px; text-align: right; font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--tx); }
.act-sin_presentar .act-v { color: var(--b-da); }
.act-pendiente .act-v { color: var(--b-na); }

.acord { display: flex; flex-direction: column; gap: 8px; }
.acord-i { background: #fff; border: 1px solid var(--bo); border-radius: 16px; overflow: hidden; }
.acord-i summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; cursor: pointer; }
.acord-i summary::-webkit-details-marker { display: none; }
.acord-n { flex: 1; min-width: 0; }
.acord-n b { display: block; font-size: 16px; color: var(--tx); }
.acord-n small { display: block; margin-top: 2px; font-size: 13px; color: var(--mu); }
.acord-v { flex: 0 0 auto; font-size: 19px; font-weight: 900; font-variant-numeric: tabular-nums; }
.acord-c { flex: 0 0 auto; color: #9fb0b9; transition: transform .2s; }
.acord-i[open] .acord-c { transform: rotate(90deg); }
.acord-i[open] summary { border-bottom: 1px solid #edf1f3; background: #f8fafb; }
.acord-b { padding: 12px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }

/* ── Celular ── */
@media (max-width: 760px) {
  .bol { gap: 12px; }
  .bol-m-cab { padding: 14px; gap: 11px; }
  .bol-m-sello { width: 40px; height: 40px; font-size: 19px; border-radius: 10px; }
  .bol-m-doc { font-size: 18px; }
  .bol-m-anio b { font-size: 14px; }
  .bol-m-anio small { font-size: 10px; }
  .bol-m-datos { grid-template-columns: 1fr 1fr; }
  .bol-m-datos > div { padding: 9px 14px; border-left: 0; border-top: 1px solid #edf1f3; }
  .bol-m-datos > div:nth-child(even) { border-left: 1px solid #edf1f3; }
  .bol-m-datos dd { font-size: 14px; }
  .bol-general { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .bol-g-num { min-width: 96px; font-size: 36px; }
  .bol-g-est { font-size: 16px; }
  .bol-g-ver { width: 100%; justify-content: center; min-height: 44px; }
  .bol-card-head { padding: 12px 14px 8px; }
  .bol-tabla .bol-est { display: none; }
  .bol-mat-chip { display: block; }
  .bol-tabla .bol-mat { padding-left: 12px; }
  .bol-tabla thead th { padding: 8px 4px; font-size: 11px; }
  .bol-tabla td, .bol-tabla tbody th, .bol-tabla tfoot th { padding: 10px 4px; }
  .bol-tabla .bol-n { width: 44px; font-size: 14.5px; }
  .bol-tabla .bol-prom { width: 52px; font-size: 16px; }
  .bol-tabla .bol-ir { width: 22px; padding-right: 6px; }
  .bol-mat-n { font-size: 15px; }
  .bol-mat-d { font-size: 12px; }
  .bol-chip { font-size: 11.5px; padding: 2px 8px; }
  .bol-pg th { font-size: 13px; }
  .bol-acciones .bol-btn { flex: 1 1 100%; }
  .bold-ov { padding: 0; }
  .bold-panel { width: 100%; height: 100%; max-height: none; border-radius: 0; }
  .bold-head { padding: 10px 12px; padding-top: max(10px, env(safe-area-inset-top)); }
  .bold-imp span { display: none; }
  .bold-tit h2 { font-size: 18px; }
  .bold-tri { padding: 8px 12px; }
  .bold-body { padding: 12px 12px calc(20px + env(safe-area-inset-bottom)); }
  .det-nota { padding: 12px; gap: 12px; }
  .det-nota-v { min-width: 78px; font-size: 27px; }
  .act { padding: 10px 12px; gap: 10px; }
  .acord-b { padding: 10px 8px; }
}
@media (max-width: 360px) {
  .bol-tabla .bol-n { width: 38px; font-size: 13.5px; }
  .bol-m-datos { grid-template-columns: 1fr; }
  .bol-m-datos > div:nth-child(even) { border-left: 0; }
}

/* ═══ HOJA DE IMPRESIÓN (A4) ═══════════════════════════════════════════════
   Se imprime con body.print-area: solo queda visible #printArea. */
@page bolA4 { size: A4 portrait; margin: 12mm 13mm; }
.bp { page: bolA4; font-family: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif; color: #111; font-size: 10.5pt; }
@media print {
  body.bol-imprimiendo { background: #fff !important; }
  .bold-ov { display: none !important; }
  .bp * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .bp-cab { text-align: center; border-bottom: 2.5pt solid #123b55; padding-bottom: 6pt; margin-bottom: 8pt; }
  .bp-inst { font-size: 15pt; font-weight: 800; color: #123b55; }
  .bp-doc { margin-top: 2pt; font-size: 12pt; font-weight: 800; letter-spacing: 1pt; text-transform: uppercase; }
  .bp-anio { margin-top: 1pt; font-size: 9.5pt; color: #444; }
  .bp-datos { width: 100%; border-collapse: collapse; margin-bottom: 9pt; font-size: 9.5pt; }
  .bp-datos th, .bp-datos td { border: .6pt solid #9aa9b2; padding: 3.5pt 6pt; text-align: left; }
  .bp-datos th { width: 17%; background: #eef3f5; font-weight: 700; color: #123b55; white-space: nowrap; }
  .bp-tabla { width: 100%; border-collapse: collapse; font-size: 9.5pt; margin-bottom: 6pt; }
  .bp-tabla th, .bp-tabla td { border: .6pt solid #9aa9b2; padding: 3.5pt 5pt; text-align: left; vertical-align: middle; }
  .bp-tabla thead th { background: #123b55; color: #fff; font-weight: 700; font-size: 8.5pt; text-transform: uppercase; }
  .bp-tabla tbody tr:nth-child(even) td { background: #f5f8f9; }
  .bp-tabla small { color: #555; font-size: 8pt; }
  .bp-tabla .c { text-align: center; white-space: nowrap; }
  .bp-tabla .f { font-weight: 800; }
  .bp-tabla tfoot td { background: #e3ecf0; font-weight: 800; color: #123b55; }
  .bp-e { font-weight: 700; font-size: 8.5pt; }
  .bp-e.e-ok { color: #1d6f5d; } .bp-e.e-wa { color: #8f5a17; } .bp-e.e-da { color: #9b3535; }
  .bp-e.e-na { color: #666; } .bp-e.e-cu { color: #1f6078; }
  .bp-faltan, .bp-nota, .bp-res { font-size: 9pt; margin: 3pt 0; }
  .bp-res { font-size: 10pt; margin-bottom: 6pt; }
  .bp-firmas { display: flex; gap: 40pt; margin: 36pt 20pt 6pt; break-inside: avoid; }
  .bp-firmas div { flex: 1; text-align: center; font-size: 9pt; color: #333; }
  .bp-firmas span { display: block; border-top: .8pt solid #111; margin-bottom: 3pt; }
  .bp-ley { font-size: 8.5pt; color: #444; margin-top: 8pt; }
  .bp-pie { margin-top: 6pt; padding-top: 4pt; border-top: .6pt solid #c5d0d6; font-size: 8pt; color: #666; text-align: center; }
  .bp-mat { break-inside: avoid; margin-bottom: 9pt; }
  .bp-mat h3 { font-size: 11pt; color: #123b55; margin-bottom: 3pt; }
  .bp-mat h3 span { font-size: 8.5pt; font-weight: 500; color: #444; }
  .bp-comp { width: 100%; border-collapse: collapse; margin-bottom: 4pt; font-size: 8.5pt; }
  .bp-comp td { border: .6pt solid #9aa9b2; padding: 3pt 5pt; text-align: center; color: #333; }
  .bp-comp td b { display: block; font-size: 10.5pt; color: #111; }
  .bp-comp td.f { background: #e3ecf0; }
  .bp-acts { table-layout: fixed; }
  .bp-acts th:nth-child(2) { width: 15%; } .bp-acts th:nth-child(3) { width: 27%; } .bp-acts th:nth-child(4) { width: 12%; }
  .bp-acts tr.bp-blq td { background: #e9eff2 !important; font-weight: 800; color: #123b55; }
}
