/* Recursos */
.rec-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rec-todo { grid-column: 1 / -1; }
.rec-1 { display: flex; flex-direction: column; gap: 12px; border: 2px solid transparent; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .15s; }
.rec-1:hover { border-color: var(--azul); }
.rec-1 .rec-head { margin: 0; align-items: flex-start; }
.rec-1 .rec-head h2 { font-size: 19px; }
.rec-1 .rec-head i { width: 46px; height: 46px; font-size: 16px; }
.rec-p { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; margin-top: auto; }
.rec-p small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
@media (max-width: 900px) { .rec-g { grid-template-columns: minmax(0, 1fr); } }
.rec { padding: 22px; border-radius: 22px; background: #fff; }
.rec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.rec-head i { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--indigo); color: #fff; font-size: 20px; }
.pagina .rec-head h2 { margin: 0; font-size: 24px; line-height: 1.15; }
.rec-head p { color: var(--muted); font-size: 14.5px; }
.rec-hojas { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.rec-h { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 6px 10px; padding: 14px; border: 2px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.rec-h:hover { border-color: var(--azul); background: var(--bg); }
.rec-h b { width: 38px; height: 38px; display: grid; place-items: center; grid-row: span 2; border-radius: 50%; background: var(--lav); color: var(--indigo); font-size: 16px; }
.rec-h span { grid-column: 2 / -1; font-weight: 600; }
.rec-bar { display: block; height: 7px; border-radius: 4px; background: var(--lav); overflow: hidden; }
.rec-bar s { display: block; height: 100%; border-radius: 4px; background: var(--cyan-f); }
.rec-h small { font-size: 12.5px; font-weight: 600; color: var(--muted); }

/* Barra de la bitácora */
.bit { padding-bottom: 40px; }
.bit-bar { position: sticky; top: 65px; z-index: 10; display: flex; align-items: center; gap: 10px; padding: 8px var(--gut); background: var(--bg); border-bottom: 1px solid var(--line); }
.bit-v { display: flex; align-items: center; gap: 6px; color: var(--indigo); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.bit-tabs { display: flex; gap: 4px; margin: 0 auto; }
.bit-tabs button { display: flex; align-items: center; gap: 7px; padding: 5px 13px 5px 5px; border: 0; border-radius: 20px; background: #fff; color: var(--indigo); font-weight: 600; font-size: 14px; cursor: pointer; }
.bit-tabs b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--lav); font-size: 13px; }
.bit-tabs .on { background: var(--indigo); color: #fff; }
.bit-tabs .on b { background: #fff; color: var(--indigo); }
.bit-solo { align-self: center; color: var(--indigo); font-size: 15px; }
.bit-est { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ok); white-space: nowrap; }
.bit-est.mal { color: var(--mal); }
.bit-imp { padding: 7px 14px; font-size: 14px; }
.bit-nav { display: flex; justify-content: space-between; width: min(820px, 100%); margin: 16px auto 0; padding: 0 16px; }
@media (max-width: 900px) { .bit-bar { top: 96px; flex-wrap: wrap; } .bit-tabs { order: 3; width: 100%; margin: 0; } .bit-tabs button { flex: 1; justify-content: center; padding: 5px; } .bit-tabs span { display: none; } .bit-est { margin-left: auto; } .bit-v span { display: none; } }

/* La hoja: papel tamaño carta con la misma estructura que la impresa */
.bit-hojas { padding: 18px 12px 0; }
.hoja { position: relative; display: none; flex-direction: column; gap: 12px; width: min(820px, 100%); min-height: 1060px; margin: 0 auto; padding: 32px 48px 0; overflow: hidden; border-radius: 4px; background: #fff; box-shadow: 0 10px 30px -14px rgba(27,31,92,.45); font-family: "Outfit", "Poppins", "Segoe UI", sans-serif; color: var(--ink); font-size: 14px; }
.hoja.on { display: flex; }
.hoja h1, .hoja h2, .hoja h3 { margin: 0; }
.hoja input, .hoja textarea, .hoja output { font-family: inherit; }
.c-indigo { --c: #323896; } .c-azul { --c: #4285CD; } .c-cian { --c: #2AA7E1; }
.h-cab { display: flex; align-items: center; justify-content: space-between; }
.h-logo { display: flex; flex-direction: column; align-items: flex-start; }
.h-logo-i { display: block; height: 58px; }
.h-cab.g .h-logo-i { height: 84px; }
.h-logo span { width: 192px; margin-top: 2px; text-align: center; color: var(--azul); font-size: 9.5px; font-weight: 600; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; }
.h-aa { width: 104px; height: auto; }
.h-cab.g .h-aa { width: 132px; }
.h-kick { margin-top: -4px; color: #2AA7E1; font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.h-tit { margin-top: -10px !important; color: #2A3C87; font-size: 38px; font-weight: 700; line-height: 1.15; }
.h-etapa { display: flex; align-items: center; gap: 14px; }
.h-etapa i { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--c); color: #fff; font-size: 24px; font-style: normal; font-weight: 700; }
.h-etapa small { color: #2AA7E1; display: block; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.h-etapa h1 { font-size: 34px; font-weight: 700; line-height: 1.05; }
.h-intro { font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.h-sec { font-size: 16px; font-weight: 700; color: var(--ink); margin-top: 2px !important; }
.h-dos-l { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.h-dos-l label, .h-est-d label { display: flex; align-items: baseline; gap: 8px; font-weight: 600; white-space: nowrap; }
.h-linea { flex: 1; min-width: 0; width: 100%; min-height: 26px; padding: 2px 4px; border: 0; border-bottom: 1.5px solid var(--azul); border-radius: 0; background: none; color: var(--ink); font-size: 14px; font-weight: 500; outline: 0; }
.h-linea:focus { border-bottom-color: var(--indigo); background: var(--wash); }
output.h-linea { display: block; font-weight: 700; }
.h-banda { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; padding: 11px 14px; border-radius: 12px; background: var(--lav); }
.h-marca-c { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; cursor: pointer; }
.h-marca-c input, .h-entrega input { appearance: none; width: 19px; height: 19px; flex: none; margin: 0; border: 2px solid var(--indigo); border-radius: 5px; background: #fff; cursor: pointer; display: grid; place-items: center; }
.h-marca-c input:checked, .h-entrega input:checked { background: var(--indigo); }
.h-marca-c input:checked::after, .h-entrega input:checked::after { content: "✓"; color: #fff; font-size: 13px; font-weight: 700; line-height: 1; }
.h-tabla { width: 100%; border: 2px solid var(--indigo); border-radius: 10px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.h-tabla thead th { padding: 8px 10px; background: var(--indigo); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.h-tabla thead th:first-child { width: 28%; }
.h-tabla thead th:nth-child(2) { width: 42%; }
.h-tabla tbody th { padding: 7px 10px; font-weight: 400; text-align: left; }
.h-tabla tbody th b { display: block; font-weight: 700; font-size: 13.5px; }
.h-tabla tbody th small { font-size: 10.5px; color: var(--muted); }
.h-tabla tbody tr + tr > * { border-top: 1px solid var(--line); }
.h-tabla td { padding: 0; border-left: 1px solid var(--line); }
.h-tabla td input { width: 100%; height: 50px; padding: 6px 10px; border: 0; background: none; color: var(--ink); font-size: 14px; font-weight: 500; outline: 0; }
.h-tabla td input:focus { background: var(--wash); }
.h-caja { display: flex; flex-direction: column; padding: 11px 14px 8px; border: 2px solid var(--c); border-radius: 12px; background: #fff; }
.h-caja h3 { padding-bottom: 5px; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.h-caja h3 em { font-style: normal; font-weight: 400; }
.h-gr { font-size: 16px; }
.h-sub { padding: 3px 0 5px; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.h-caja h3:has(+ .h-sub) { border-bottom: 0; padding-bottom: 0; }
/* Área de escritura: líneas como las del papel, y crece si escriben más */
.h-area { display: block; flex: 1; width: 100%; padding: 0 2px; border: 0; outline: 0; resize: none; overflow: hidden; field-sizing: content; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='26'%3E%3Crect y='25' width='8' height='1' fill='%23CBD0E4'/%3E%3C/svg%3E") local; color: var(--ink); font-size: 14px; font-weight: 500; line-height: 26px; }
.h-area:focus { background-color: var(--wash); }
.h-area.sin { background: none; }
.h-area.sin:focus { background: none; }
.h-lav { border-radius: 12px; background: var(--lav); }
.h-tres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.h-tres .h-lav { padding: 11px 12px 8px; }
.h-tres h3 { padding-bottom: 4px; font-size: 13.5px; font-weight: 700; }
.h-tres .h-area { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='26'%3E%3Crect y='25' width='8' height='1' fill='%23AEB4D0'/%3E%3C/svg%3E"); }
.h-par { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.h-c-t { font-size: 13.5px; }
.h-ideas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: -6px; }
.h-idea { position: relative; padding: 9px 30px 8px 11px; min-height: 80px; border: 2px solid transparent; }
.h-idea.elegida { border-color: var(--cyan-f); background: var(--wash); }
.h-est { position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: none; color: #A6ACC8; font-size: 18px; line-height: 1; cursor: pointer; }
.h-est:hover { color: var(--cyan-f); }
.h-est.on { color: #F2B21B; }
.h-dibujo { position: relative; padding: 0; border: 2px dashed var(--indigo); border-radius: 12px; overflow: hidden; background-color: #fff; background-image: radial-gradient(#BEC4DC 1.3px, transparent 1.6px); background-size: 15px 15px; background-position: 6px 8px; }
.h-dib-t { position: absolute; left: 12px; top: 9px; right: 12px; pointer-events: none; }
.h-dib-t h3 { font-size: 13.5px; font-weight: 700; }
.h-dibujo .h-sub { border: 0; padding: 1px 0; }
.h-dibujo canvas { display: block; width: 100%; height: auto; touch-action: none; cursor: crosshair; }
.h-dib-b { position: absolute; right: 7px; bottom: 7px; display: flex; gap: 5px; }
.h-dib-b button { padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--indigo); font-family: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.h-dib-b button:hover { background: var(--lav); }
.h-entrega { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 11px; background: var(--c); color: #fff; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.h-entrega input { border-color: #fff; background: transparent; }
.h-entrega input:checked { background: #fff; }
.h-entrega input:checked::after { color: var(--indigo); }
.h-plan { display: flex; flex-direction: column; gap: 3px; margin: 5px 0 2px; padding: 0; list-style: none; counter-reset: pl; }
.h-plan li { counter-increment: pl; display: flex; align-items: center; gap: 8px; }
.h-plan li::before { content: counter(pl); flex: none; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--indigo); color: #fff; font-size: 11.5px; font-weight: 700; }
.h-plan .h-linea { border-bottom: 1px solid #CBD0E4; }
.h-mat { padding: 11px 14px; }
.h-mat h3 { padding-bottom: 7px; font-size: 13.5px; font-weight: 700; }
.h-mat-g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 12px; font-size: 12.5px; }
.h-mm { display: flex; align-items: center; gap: 4px; min-width: 0; }
.h-mm .h-marca-c { white-space: nowrap; }
.h-mm .h-linea { min-height: 20px; padding: 0 2px; font-size: 12.5px; }
.h-par.alto { align-items: stretch; }
.h-est-d { gap: 7px; font-size: 13px; }
.h-est-d .h-linea { border-bottom: 1px solid #CBD0E4; }
.h-val { margin-top: auto; padding: 10px 11px; border-radius: 9px; background: var(--lav); }
.h-tiempos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.h-tiempos > * { display: flex; flex-direction: column; padding: 7px 11px; border: 0; border-radius: 9px; background: var(--c); color: #fff; font-family: inherit; font-size: 12.5px; text-align: left; }
.h-tiempos button { cursor: pointer; }
.h-tiempos b { font-weight: 700; }
.h-pie { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: auto -48px 0 0; padding-top: 10px; color: #55607a; font-size: 10px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.h-pie span { padding-bottom: 14px; }
.h-pie img { display: block; width: 150px; height: auto; }

.h-l { display: flex; align-items: baseline; gap: 8px; font-weight: 700; white-space: nowrap; }
.h-num { width: 28px; height: 28px; flex: none; display: inline-grid; place-items: center; border-radius: 50%; background: var(--c); color: #fff; font-size: 14px; font-style: normal; font-weight: 700; }

/* Láminas apaisadas */
.hoja.ap { width: min(1200px, 100%); min-height: 660px; padding: 22px 26px 0; gap: 10px; }
.l-cab { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 22px; }
.l-tit .h-kick { margin: 0; }
.l-tit .h-tit { margin: -4px 0 0 !important; font-size: 34px; white-space: nowrap; }
.l-datos { display: flex; flex-direction: column; gap: 3px; padding-left: 26px; }
.l-datos output { max-width: 90px; }
.l-grid { position: relative; flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.16fr); grid-template-rows: 1fr auto auto; gap: 12px 12px; }
.l-col { grid-row: 1; padding: 14px 16px 10px; border-radius: 16px; }
.l-col h2 { display: flex; align-items: center; gap: 9px; font-size: clamp(16px, 1.4vw, 21px); white-space: nowrap; font-weight: 700; color: var(--ink); }
.h-sub.sl { padding-top: 4px; border: 0; }
.l-bos { grid-column: 4; grid-row: 1 / span 2; border-radius: 16px; }
.l-bos h3 { display: flex; align-items: center; gap: 9px; font-size: clamp(16px, 1.4vw, 21px); }
.l-bos canvas { height: 100%; position: absolute; inset: 0; }
.l-tec { grid-column: 1 / span 3; grid-row: 2; border-radius: 14px; gap: 8px 18px; padding: 12px 16px; flex-wrap: nowrap; }
.l-tec b { font-size: 15px; line-height: 1.15; }
.l-graf { display: block; width: 100%; height: auto; }
.l-grid .l-graf { grid-column: 4; grid-row: 3; align-self: end; width: min(100%, 300px); justify-self: end; margin-top: -8px; }
.l-p-tit { display: flex; flex-direction: column; }
.l-p-tit .h-kick { margin: 0; }
.l-p-tit .h-tit { margin: -4px 0 0 !important; font-size: 34px; }
.h-dibujo.l-proc { flex: 1; border: 1.5px dashed #BEC4DC; border-radius: 14px; background-image: none; }
.lp-notas { position: absolute; inset: 0; pointer-events: none; }
.lp-nota { position: absolute; width: 18%; min-width: 130px; display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; pointer-events: auto; box-shadow: 0 6px 14px -7px rgba(27,31,92,.6); }
.lp-nota.n0 { background: var(--lav); } .lp-nota.n1 { background: var(--wash); } .lp-nota.n2 { background: #D5E4F6; }
.lp-agarra { display: flex; align-items: center; justify-content: space-between; height: 22px; padding: 0 3px 0 7px; background: rgba(50,56,150,.14); cursor: grab; touch-action: none; user-select: none; color: var(--indigo); font-size: 12px; }
.lp-agarra button { width: 18px; height: 18px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--indigo); font-size: 10px; cursor: pointer; }
.lp-agarra button:hover { background: #fff; }
.lp-nota textarea { width: 100%; min-height: 76px; padding: 6px 8px; border: 0; outline: 0; resize: none; field-sizing: content; background: none; color: var(--ink); font-family: inherit; font-size: 13.5px; line-height: 1.3; }
.lp-mas { background: var(--indigo) !important; color: #fff !important; border-color: var(--indigo) !important; }
.l-pie { display: flex; align-items: center; gap: 22px; }
.l-pie > .h-logo-i { height: 48px; }
.l-pie .h-l { font-size: 13.5px; }
.l-pie .h-l > :last-child { min-width: 60px; }
.l-n { flex: 1.6; } .l-t { flex: 1; }
.l-pie .h-aa { width: 92px; }
.l-pie .l-graf { width: 200px; flex: none; margin: 0 -26px 0 0; }

/* Checklist de materiales */
.m-tit { margin-top: -8px !important; font-size: 33px; }
.m-ins { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.m-ins > div { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--c); color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.m-ins .h-num { background: #fff; color: var(--indigo); }
.m-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.m-cols > div { display: flex; flex-direction: column; gap: 8px; }
.m-g { padding: 8px 12px 6px; gap: 2px; }
.m-g-t { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.m-g-t h3 { padding: 0; border: 0; font-size: 14px; }
.m-g-t small { font-size: 9.5px; font-weight: 700; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.m-f { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 8px; min-height: 24px; }
.m-f .h-marca-c { font-size: 12.5px; font-weight: 500; line-height: 1.15; }
.m-f .h-marca-c input { width: 16px; height: 16px; border-radius: 4px; }
.m-f .h-marca-c input:checked::after { font-size: 11px; }
.m-c { min-height: 22px; padding: 0; text-align: center; font-size: 13px; border-bottom: 1px solid #CBD0E4; }
.m-para { padding: 9px 14px 6px; }
.m-para h3 { font-size: 13.5px; font-weight: 700; }
.m-para .h-area { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='26'%3E%3Crect y='25' width='8' height='1' fill='%23AEB4D0'/%3E%3C/svg%3E"); }
.m-org { font-size: 12px; line-height: 1.35; }
.m-org .h-kick { margin: 0 0 1px; font-size: 10.5px; }

@media screen and (max-width: 900px) {
  .hoja.ap { min-height: 0; padding: 18px 16px 0; }
  .l-cab { grid-template-columns: auto 1fr; }
  .l-datos { grid-column: 1 / -1; padding: 0; }
  .l-cab .h-aa { display: none; }
  .l-tit .h-tit { font-size: 28px; }
  .l-grid { display: flex; flex-direction: column; }
  .l-bos { min-height: 340px; }
  .l-tec { flex-wrap: wrap; }
  .l-grid .l-graf { width: 200px; align-self: flex-end; margin-right: -16px; }
  .l-pie { flex-wrap: wrap; gap: 8px 14px; }
  .l-pie .l-n, .l-pie .l-t { flex: 1 1 100%; }
  .l-pie .h-aa { display: none; }
  .l-pie .l-graf { margin: 0 -16px 0 auto; width: 150px; }
  .h-dibujo.l-proc canvas { min-height: 380px; }
  .lp-nota { width: 42%; }
}

@media screen and (max-width: 720px) {
  .hoja { padding: 20px 16px 0; min-height: 0; font-size: 14px; }
  .h-tit { font-size: 30px; }
  .h-etapa h1 { font-size: 28px; }
  .h-logo-i { height: 46px; } .h-cab.g .h-logo-i { height: 58px; } .h-logo span { width: 132px; font-size: 8px; }
  .h-aa, .h-cab.g .h-aa { width: 96px; }
  .h-dos-l, .h-par, .h-tres { grid-template-columns: minmax(0, 1fr); }
  .h-ideas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-mat-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-mm { grid-column: 1 / -1; }
  .m-ins, .m-cols { grid-template-columns: minmax(0, 1fr); }
  .m-tit { font-size: 26px; }
  .h-tiempos { grid-template-columns: repeat(2, 1fr); }
  .h-pie { margin-right: -16px; }
  .h-dibujo canvas { min-height: 190px; } /* Un lienzo muy delgado no sirve para dibujar con el dedo */
  .h-tabla, .h-tabla tbody, .h-tabla tr, .h-tabla th, .h-tabla td { display: block; width: 100%; }
  .h-tabla thead { display: none; }
  .h-tabla td { display: grid; grid-template-columns: 108px 1fr; align-items: center; border-left: 0; }
  .h-tabla td::before { content: attr(data-col); padding-left: 10px; font-size: 11.5px; color: var(--muted); }
  .h-tabla td input { height: 38px; border-bottom: 1px solid var(--line); }
  .h-tabla tbody th { padding-bottom: 2px; }
}

/* Generales */
.pagina .rec-sec { margin: 22px 0 10px; font-size: 20px; }
.pagina h1 + .rec-sec { margin-top: 0; }
.rec-g.gen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-gen { border: 2px solid transparent; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .15s; }
.rec-gen:hover { border-color: var(--azul); }
.rec-gen .rec-head { margin: 0; }
.rec-gen .rec-head h2 { font-size: 19px; }
.rec-gen .rec-head i { width: 46px; height: 46px; font-size: 16px; background: var(--cyan-f); }
.g-tit { margin-top: 2px !important; }
.g-fecha { margin-top: -12px; color: var(--azul); font-size: 15px; font-weight: 600; }
.g-prog { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.g-prog li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 11px 14px; border-radius: 11px; background: var(--c, var(--lav)); }
.g-prog time { font-weight: 700; font-size: 14px; white-space: nowrap; }
.g-prog b { font-weight: 700; font-size: 14.5px; }
.g-prog p { margin-top: 2px; font-size: 12.5px; line-height: 1.35; }
.g-lav { --c: var(--lav); }
.g-borde { --c: #fff; border: 2px solid var(--indigo); }
.g-azul { --c: #4285CD; color: #fff; } .g-cian { --c: #2AA7E1; color: #fff; } .g-indigo { --c: #323896; color: #fff; }
.g-azul b, .g-cian b, .g-indigo b { color: #fff; }
.p-cab { align-items: center; gap: 12px; }
.p-cab .h-tit { margin: 0 !important; font-size: 32px; text-align: center; }
.p-mia { display: flex; align-items: center; gap: 9px; padding: 7px 12px; border-radius: 10px; background: var(--wash); font-size: 14.5px; }
.p-mia i { width: 30px; height: 24px; display: grid; place-items: center; border-radius: 5px; background: var(--indigo); color: #fff; font-style: normal; font-weight: 700; font-size: 13px; }
.p-mia b { font-weight: 700; }
.p-scroll { overflow-x: auto; }
.p-svg { display: block; width: 100%; height: auto; font-family: "Outfit", "Poppins", "Segoe UI", sans-serif; }
.p-halo { fill: rgba(50,56,150,.28); transform-box: fill-box; transform-origin: center; animation: p-pulso 1.6s ease-in-out infinite; }
@keyframes p-pulso { 50% { transform: scale(.7); opacity: .5; } }
.p-ley { display: flex; flex-wrap: wrap; gap: 7px 18px; margin: 0; padding: 0; list-style: none; font-size: 12.5px; font-weight: 500; }
.p-ley li { display: flex; align-items: center; gap: 7px; }
.p-ley i { width: 15px; height: 15px; flex: none; border-radius: 4px; }
@media screen and (max-width: 720px) {
  .rec-g.gen { grid-template-columns: minmax(0, 1fr); }
  .g-prog li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .p-cab { flex-wrap: wrap; }
  .p-cab .h-tit { order: 3; width: 100%; font-size: 28px; text-align: left; }
  .p-svg { min-width: 620px; }
}

@media print {
  @page { size: letter; margin: 0; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  html, body { background: #fff; }
  .barra, .no-print, .sala { display: none !important; }
  .bit-hojas { padding: 0; }
  .bit { padding: 0; }
  .hoja { display: flex !important; width: 100%; height: 100vh; min-height: 0; margin: 0; border-radius: 0; box-shadow: none; break-after: page; }
  .hoja:last-child { break-after: auto; }
  .p-halo { animation: none; }
  .h-area, .h-linea, .h-tabla td input { background-color: transparent !important; }
  .l-col h2 { font-size: 17px; }
  .l-bos h3 { font-size: 17px; }
  .hoja.ap { padding: 18px 24px 0; }
  .hoja.ap .h-area { min-height: 0 !important; }
  .h-dibujo.l-proc canvas { position: absolute; inset: 0; height: 100%; }
}
