.leccion *{-webkit-print-color-adjust:exact;print-color-adjust:exact;box-sizing:border-box}
.leccion{color:#222;line-height:1.5}
.leccion .cover{padding-top:20px;text-align:center}
.leccion .name{font-size:15pt;margin-top:20px;font-weight:600}
.leccion .tocpage{break-before:page}
.leccion .plain{color:#306998;margin:0 0 8px;font-size:24pt}
.leccion .toc{display:flex;align-items:center;gap:12px;border-bottom:1px dashed #ccc;padding:1.5px 0;font-weight:600;font-size:9.6pt;line-height:1.12}
.leccion .toc b{margin-left:auto;color:#306998}
.leccion .toc small{color:#888;font-size:7.2pt}
.leccion .dot{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11pt}
.leccion .band{display:flex;gap:16px;align-items:center;background:var(--k);color:#fff;border-radius:16px;padding:13px 20px}
.leccion .ico{font-size:34pt}
.leccion .band h1{margin:0;font-size:21pt;line-height:1.15}
.leccion .cn{text-transform:uppercase;font-size:9pt;font-weight:700;letter-spacing:1px}
.leccion .intro{font-size:11.5pt}
.leccion h2{color:var(--k);font-size:13.5pt;border-bottom:3px solid var(--k);padding-bottom:2px;margin:14px 0 8px;break-after:avoid}
.leccion table{border-collapse:collapse;width:100%;margin:6px 0 10px;font-size:10.8pt}
.leccion th{background:var(--k);color:#fff;text-align:left}
.leccion td,.leccion th{border:1px solid #ccd;padding:4px 8px}
.leccion tr{break-inside:avoid}
.leccion tr:nth-child(odd) td{background:#f6f7fb}
.leccion code{font-family:Menlo,monospace;font-size:9pt;background:#eef1f6;border-radius:4px;padding:0 4px}
.leccion .py{margin:6px 0 11px;break-inside:avoid}
.leccion .keep{break-inside:avoid}
.leccion .np{break-before:page}
.leccion .np .py{break-inside:auto}
.leccion .np .code{break-inside:avoid}
.leccion .code{background:#1e2430;color:#f1f3f8;border-radius:9px;padding:7px 8px;font-family:Menlo,monospace;font-size:10pt;line-height:1.45}
.leccion .ln{display:flex}
.leccion .ln i{font-style:normal;color:#6b768c;width:22px;flex:none;text-align:right;margin-right:10px}
.leccion .ln span{white-space:pre-wrap}
.leccion .ln span span{white-space:pre-wrap}
.leccion .k{color:#ff9d57;font-weight:700}
.leccion .s{color:#a8e57f}
.leccion .n{color:#7fd4ff}
.leccion .c{color:#9aa5bd;font-style:italic}
.leccion .f{color:#d7a8ff}
.leccion .out{background:#f2f6ff;border:1.5px solid #b9cbee;border-radius:9px;margin-top:4px;padding:5px 12px;font-family:Menlo,monospace;font-size:10pt;white-space:pre-wrap;line-height:1.4}
.leccion .out b{background:#ffe680;border-radius:3px;padding:0 3px}
.leccion .ot,.leccion .ot2{font-family:"Avenir Next",Arial;font-size:7.5pt;font-weight:700;color:#4a66a0}
.leccion .ot2{margin-top:4px}
.leccion .tur{display:block;margin:2px auto;width:100%;border:1.5px solid #cde;border-radius:9px}
.leccion .grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:8px 0}
.leccion .ex{border:1.5px solid #dde;border-radius:10px;padding:7px 9px;break-inside:avoid;background:#fcfcff;min-width:0}
.leccion .et{font-weight:700;color:var(--k)}
.leccion .ed{font-size:10pt;color:#555}
.leccion .ex .py{margin:4px 0 0}
.leccion .ex .code,.leccion .ex .out{font-size:8.8pt}
.leccion .ex .ln i{width:12px;margin-right:6px}
.leccion .box{border-radius:12px;padding:7px 14px;margin:10px 0;break-inside:avoid;border:2px dashed}
.leccion .box p,.leccion .box ol,.leccion .box ul{margin:4px 0}
.leccion .bt{font-weight:800}
.leccion .tip{background:#FFF8DC;border-color:#E0A800}
.leccion .reto{background:#F1EAFF;border-color:#9966FF}
.leccion .prueba{background:#E6F5FB;border-color:#5CB1D6}
.leccion .papas{background:#FFF0F3;border-color:#FF6680}
.leccion .ojo{background:#FFECEC;border-color:#E55555}
.leccion .steps{list-style:none;counter-reset:s;padding:0}
.leccion .steps li{counter-increment:s;position:relative;padding:3px 0 3px 34px;break-inside:avoid}
.leccion .steps li::before{content:counter(s);position:absolute;left:0;top:2px;width:22px;height:22px;border-radius:50%;background:var(--k);color:#fff;font-weight:800;text-align:center;line-height:22px;font-size:10pt}
.leccion .meta{display:flex;gap:10px;flex-wrap:wrap}
.leccion .meta span{background:#eef;border-radius:20px;padding:3px 12px;font-weight:700;font-size:9.5pt}
.leccion .check{list-style:none;padding:0}
.leccion .note{font-size:9pt;color:#555}
.leccion .dip{break-before:page}
.leccion .gl table{font-size:9.8pt;line-height:1.3}
.leccion .gl td,.leccion .gl th{padding:0 8px}
.leccion{font-size:16px;overflow-wrap:break-word}.leccion .band{flex-wrap:wrap}.leccion .chap>.band{display:none}
.leccion table{display:block;overflow-x:auto}.leccion .script,.leccion .stack,.leccion .prog,.leccion .code,.leccion .out{max-width:100%;overflow-x:auto}
.leccion svg{max-width:100%;height:auto}.leccion .two{flex-wrap:wrap}.leccion .grid{grid-template-columns:repeat(auto-fit,minmax(290px,1fr))}
@media(max-width:600px){.leccion .pzs{grid-template-columns:1fr 1fr}.leccion .two>.stack{max-width:100%}}