/* Шпаргалка: аркуш A4 (білий папір незалежно від теми сайту) */
.sh-wrap{max-width:760px;margin:0 auto}
.sh-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:4px 0 10px}
.sh-bar .btn{margin:0;flex:1 1 auto;min-width:0}
.sh-sign{display:flex;gap:6px;align-items:center;font-size:14px;color:var(--ink)}
.sh-note{font-size:14px;line-height:1.45;margin:6px 2px}
.sh-note a{color:var(--accent)}
.sh-view{overflow:hidden;margin:10px 0;display:flex;justify-content:center}
.sh-scale{width:204mm;flex:none}
.sh-page{width:190mm;min-height:110mm;box-sizing:content-box;background:#fff;color:#14101e;padding:6mm 7mm;border-radius:3mm;
  font:10pt/1.3 Inter,system-ui,sans-serif;box-shadow:0 6px 30px rgba(0,0,0,.35);-webkit-print-color-adjust:exact;print-color-adjust:exact}
.sh-page .emo{font-family:inherit}
.sh-hd{display:flex;justify-content:space-between;gap:4mm;align-items:flex-start;border-bottom:.6mm solid #c2186d;padding-bottom:2mm;margin-bottom:3mm}
.sh-hd h1{font:600 15pt/1.15 Inter,system-ui,sans-serif;color:#c2186d;margin:0 0 1mm}
.sh-hd p{margin:0;font-size:9pt;color:#4b4560}
.sh-who{font-size:9pt;color:#4b4560;white-space:nowrap;border:.3mm solid #e3dcee;border-radius:2mm;padding:1mm 2.5mm}
.sh-cols{column-count:2;column-gap:6mm}
.sh-topic{margin:0 0 3mm}
.sh-topic h3{display:table;margin:0 0 1mm;background:#14101e;color:#ffd23f;font:600 9.5pt Inter,system-ui,sans-serif;padding:.6mm 2.5mm;border-radius:1.5mm;break-after:avoid}
.sh-topic table{width:100%;border-collapse:collapse;table-layout:fixed}
.sh-topic th{font:600 7.5pt Inter,system-ui,sans-serif;color:#8a83a0;text-transform:uppercase;letter-spacing:.04em;text-align:left;padding:0 1.5mm 1mm;border-bottom:.3mm solid #e3dcee}
.sh-topic tr{break-inside:avoid}
.sh-topic thead,.sh-topic tbody tr:first-child{break-before:avoid;break-after:avoid}
.sh-topic h3+table{break-before:avoid}
.sh-topic td{vertical-align:top;padding:1mm 1.5mm;border-bottom:.25mm solid #e3dcee;overflow-wrap:break-word}
.sh-topic th:first-child{width:52%}
.sh-topic td.a{font-weight:600;font-size:11.5pt;line-height:1.2}
.sh-topic td .h{font-weight:400;font-size:8.5pt;color:#6f6886;line-height:1.25;margin-top:.4mm}
.sh-topic tr.hl td{background:#fff3d1}
.sh-page[data-fit="3"],.sh-page[data-fit="4"]{font-size:9pt;line-height:1.2}
.sh-page[data-fit="3"] td.a{font-size:10pt}
.sh-page[data-fit="3"] td,.sh-page[data-fit="4"] td{padding:.6mm 1mm}
.sh-page[data-fit="3"] th:first-child,.sh-page[data-fit="4"] th:first-child{width:62%}
.sh-page[data-fit="4"]{font-size:8.3pt;line-height:1.15}
.sh-page[data-fit="4"] td.a{font-size:9pt}
.sh-page[data-fit="4"] .sh-cols{column-gap:4mm}
.sh-extra{display:grid;grid-template-columns:1fr 1fr;gap:3mm;margin-top:2mm;break-inside:avoid}
.sh-extra .sh-box:only-child{grid-column:1/-1}
.sh-box{border:.5mm solid #c2186d;border-radius:2.5mm;padding:2mm 3mm;font-size:9pt}
.sh-box>b{color:#c2186d;font-size:10pt;display:block;margin-bottom:1mm}
.sh-conf div{display:flex;flex-wrap:wrap;gap:1.5mm 5mm}
.sh-conf span{font-weight:600;font-size:10.5pt}
.sh-eq{border-color:#7b5cd6}.sh-eq>b{color:#7b5cd6}
.sh-eq ol{margin:0 0 1.5mm 4mm;padding:0}.sh-eq li{margin:0 0 .4mm}
.sh-eqs div{font-size:10.5pt;margin:.6mm 0}.sh-eqs b{color:#c2186d}
.sh-ft{display:flex;justify-content:space-between;align-items:center;gap:4mm;margin-top:3mm;padding-top:2mm;border-top:.3mm solid #e3dcee;font-size:8.5pt;color:#4b4560}
.sh-link{font-weight:600;color:#14101e;word-break:break-all}
.sh-qr{width:17mm;height:17mm;image-rendering:pixelated;flex:none}
/* малеча: великі картки «картинка → відповідь» */
.sh-kid{display:grid;grid-template-columns:repeat(3,1fr);gap:3mm}
.sh-kc{border:.4mm solid #e3dcee;border-radius:3mm;padding:3mm;text-align:center;break-inside:avoid}
.sh-kc.hl{background:#fff3d1}
.sh-kc .kq{font-size:24pt;line-height:1.15;margin-bottom:1.5mm}
.sh-kc .ka{font:600 13pt Inter,system-ui,sans-serif}
@page{size:A4;margin:10mm}
@media print{
  html,body{background:#fff!important;margin:0!important;padding:0!important;min-height:0!important}
  body>*:not(#app){display:none!important}
  #app{margin:0!important;padding:0!important;max-width:none!important}
  #app>*:not(.sh-wrap){display:none!important}
  .sh-wrap>*:not(.sh-view){display:none!important}
  .sh-wrap,.sh-view{margin:0!important;max-width:none!important;display:block!important;overflow:visible!important}
  .sh-scale{zoom:1!important;width:auto}
  .sh-page{box-shadow:none;border-radius:0;padding:0;width:190mm;min-height:0}
}
.sh-qr.big{width:24mm;height:24mm}
.sh-page table,.sh-page th,.sh-page td{font-size:inherit}.sh-topic td.a{font-size:11.5pt}.sh-page[data-fit="3"] td.a{font-size:10pt}.sh-page[data-fit="4"] td.a{font-size:9pt}.sh-topic th{font-size:7.5pt}
.sh-cols.two{column-count:auto;display:grid;grid-template-columns:1fr 1fr;gap:0 6mm;align-items:start}
