/* ===== Печать: цветной настенный календарь, А4 книжный, 2 листа (группа «ПЕЧАТЬ»: 01-docs/pages/calendar/50-print.md) =====
   Листы строит year.js в #psheets из тех же данных. На экране скрыты. */
.psheets{display:none}
@media print{
 @page{size:A4 portrait;margin:0}
 html,body,body.sky{background:#fff!important;margin:0;padding:0}
 body>*:not(.psheets){display:none!important}
 .psheets{display:block!important;font-family:Manrope,Arial,sans-serif;color:#1b2a3d}
 .psheets *{-webkit-print-color-adjust:exact;print-color-adjust:exact;box-sizing:border-box}
 .ps{width:210mm;height:296mm;padding:10mm;overflow:hidden;break-after:page;display:flex;flex-direction:column}
 .ps:last-child{break-after:auto}
 /* шапка */
 .phd{position:relative;height:36mm;border-radius:3mm;overflow:hidden;flex:none}
 .phd img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 38%}
 .phd:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(16,34,60,.72) 0%,rgba(16,34,60,.35) 45%,rgba(16,34,60,0) 70%)}
 .phd .t{position:absolute;z-index:1;left:7mm;top:5mm;color:#fff}
 .phd .t small{display:block;font-size:16pt;font-weight:700;line-height:1.1}
 .phd .t b{display:block;font-size:36pt;font-weight:800;line-height:1}
 .phd .pl{display:flex;gap:2mm;margin-top:2mm}
 .phd .pl span{height:6mm;display:flex;align-items:center;padding:0 3mm;border-radius:3mm;background:#fff;border:.3mm solid #d6a23c;font-size:10pt;font-weight:700;color:#183454}
 .phd .pl span:first-child{color:#c43a4d}
 .ps.lite .phd{height:24mm;border-radius:0;border-bottom:.6mm solid #d6a23c}
 .ps.lite .phd img,.ps.lite .phd:after{display:none}
 .ps.lite .phd .t{color:#183454;top:1mm;left:0}
 /* сетка месяцев 4×3 */
 .pgrid{display:grid;grid-template-columns:repeat(4,1fr);column-gap:4mm;row-gap:3mm;margin-top:4mm;flex:none}
 .pm{height:57.5mm;border:.3mm solid #d7e3ee;border-radius:2.5mm;padding:1.5mm;background:#fff;display:flex;flex-direction:column}
 .pm h4{height:6.5mm;display:flex;align-items:center;font-size:11pt;font-weight:800;color:#183454;border-bottom:.4mm solid #d6a23c;margin:0 0 .6mm}
 .pm table{width:100%;border-collapse:collapse;table-layout:fixed}
 .pm th{height:4mm;font-size:7pt;font-weight:700;color:#5f6f84;padding:0}
 .pm th:last-child{color:#b3263a}
 .pm td{height:6.2mm;padding:0;text-align:center;position:relative}
 .pm td i{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:5mm;height:5mm;border-radius:50%;font-style:normal;font-size:10pt;font-weight:600;color:#1b2a3d}
 .pm td:last-child i{color:#b3263a;font-weight:800}
 .pm td.f{background:#e3f0fa;box-shadow:inset 0 -.8mm 0 #4d9fd6}
 .pm td.fr{background:repeating-linear-gradient(135deg,rgba(214,162,60,.28) 0 .7mm,transparent .7mm 1.5mm);border-bottom:.5mm dashed #d6a23c}
 .pm td.d12 i,.pm td.dp i{background:#c43a4d;color:#fff!important;font-weight:800;font-size:9.5pt;border:.35mm solid #c43a4d}
 .pm td.dp i{box-shadow:0 0 0 .4mm #fff,0 0 0 .9mm #d6a23c}
 .pm td.db i{border:.5mm solid #d6a23c}
 .pm td.dm:after{content:"";position:absolute;left:50%;bottom:.5mm;width:1.4mm;height:1.4mm;margin-left:-.7mm;border-radius:50%;background:#7d6aa8;border:.2mm solid #7d6aa8}
 .pm .cap{margin-top:auto;height:7mm;font-size:7.5pt;line-height:1.25;color:#3e4e62;overflow:hidden}
 /* низ листа 1 */
 .pbot{display:grid;grid-template-columns:92mm 1fr;gap:4mm;margin-top:auto;padding-top:3mm;height:auto;min-height:49mm}
 .plg h5{font-size:9pt;font-weight:800;color:#183454;margin:0 0 1mm}
 .plg ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1.15fr 1fr;column-gap:2mm}
 .plg li{min-height:4.6mm;display:flex;align-items:center;gap:1.6mm;font-size:8pt;line-height:1.1}
 .plg .ic{flex:none;width:4mm;height:4mm;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:6.5pt;font-weight:800}
 .ic.r{background:#c43a4d;border:.3mm solid #c43a4d}.ic.p{background:#c43a4d;box-shadow:0 0 0 .3mm #fff,0 0 0 .7mm #d6a23c}.ic.g{border:.5mm solid #d6a23c}
 .ic.m{width:1.6mm!important;height:1.6mm!important;background:#7d6aa8;border:.2mm solid #7d6aa8;margin:0 1.2mm}
 .ic.f{border-radius:.6mm!important;background:#e3f0fa;box-shadow:inset 0 -.8mm 0 #4d9fd6;border:.2mm solid #4d9fd6}
 .ic.w{border-radius:.6mm!important;background:repeating-linear-gradient(135deg,rgba(214,162,60,.45) 0 .7mm,transparent .7mm 1.5mm);border:.2mm dashed #d6a23c}
 .ic.s{color:#b3263a;border-radius:0!important;width:auto!important;font-size:9pt}
 .plg p{font-size:8pt;margin:1.2mm 0 0;color:#1b2a3d}
 .plg .foot{font-size:7pt;color:#3e4e62;line-height:1.35;margin-top:1.5mm}
 .pqr{display:flex;gap:3mm;padding:3.5mm;border-radius:3mm;background:#eef5fb;border:.4mm solid #cfe0ef;align-items:center}
 .pqr img{flex:none;width:40mm;height:40mm;background:#fff}
 .pqr b{display:block;font-size:12pt;font-weight:800;color:#183454;line-height:1.15}
 .pqr p{font-size:8.5pt;line-height:1.28;margin:1.2mm 0}
 .pqr small{font-size:8pt;font-weight:700;color:#183454}
 /* лист 2 */
 .ph2{display:flex;justify-content:space-between;align-items:flex-end;height:16mm;border-bottom:.6mm solid #d6a23c;flex:none}
 .ph2 b{font-size:18pt;font-weight:800;color:#183454}
 .ph2 span{font-size:12pt;font-weight:800;color:#c43a4d;padding-bottom:1mm}
 .pcols{display:grid;grid-template-columns:1fr 1fr;column-gap:8mm;margin-top:4mm}
 .pcols h6{display:flex;align-items:center;gap:2mm;font-size:11.5pt;font-weight:800;color:#183454;margin:2.6mm 0 .8mm}
 .pcols h6 .ic{flex:none;width:3.6mm;height:3.6mm;border-radius:50%}
 .pr{display:grid;grid-template-columns:27mm 1fr auto;gap:2mm;align-items:center;min-height:5.6mm;border-bottom:.2mm solid #d7e3ee;font-size:10pt;line-height:1.15;padding:.4mm 0}
 .pr b{font-weight:700}.pr em{font-style:normal;font-size:8pt;color:#5f6f84}
 .pr.pas{color:#c43a4d;font-weight:800}
 .pnote{font-size:9pt;color:#3e4e62;margin:1mm 0 0}
 .pbot2{display:flex;justify-content:space-between;align-items:flex-end;margin-top:auto}
 .pbot2 .foot{font-size:7pt;color:#3e4e62;line-height:1.35;max-width:140mm}
 .pbot2 .q{display:flex;align-items:center;gap:2mm;font-size:9pt;font-weight:800;color:#183454}
 .pbot2 img{width:22mm;height:22mm}
}
