/* Poznámky „Kde to nájdem v Exceli“ – obrazovka aj tlač (A4) */
body.notes { background: #e9e9e9; font-family: Inter, "Segoe UI", system-ui, Arial, sans-serif; font-size: 13px; color: #1a1a1a; line-height: 1.45; }
.toolbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 8px 16px; background: #217346; color: #fff; }
.toolbar a { color: #fff; text-decoration: none; }
.toolbar nav { flex: 1; display: flex; gap: 12px; flex-wrap: wrap; }
.toolbar nav a { opacity: .9; }
.toolbar nav a:hover { text-decoration: underline; }
.toolbar .xl-btn-primary { background: #fff; color: #217346; border-color: #fff; font-weight: 600; }

.page { background: #fff; width: 210mm; max-width: 100%; margin: 16px auto; padding: 14mm 16mm; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }

.band { background: #111; color: #fff; margin: -14mm -16mm 0; padding: 12mm 16mm 7mm; }
.band-kicker { color: #ffcc00; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.band h1 { margin: 4px 0 2px; font-size: 26px; }
.band-sub { color: #ddd; font-size: 12.5px; }
.stripe { height: 9px; margin: 0 -16mm 16px; background: repeating-linear-gradient(-45deg, #ffcc00 0 14px, #111 14px 28px); }

.intro { background: #f4f2ee; padding: 12px 14px; border-radius: 3px; margin-bottom: 14px; }
.intro p { margin: 0 0 6px; }
.intro p:last-child { margin: 0; }
.intro .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }

.sec { display: flex; align-items: center; gap: 10px; font-size: 17px; margin: 6px 0 12px; }
.sec .num { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; background: #ffcc00; color: #111; font-weight: 800; border-radius: 3px; font-size: 16px; }
.sec.big { font-size: 21px; border-bottom: 3px solid #111; padding-bottom: 8px; margin-bottom: 14px; }
.sec.big .num { width: 38px; height: 38px; font-size: 20px; }
.sec small { display: block; font-size: 11.5px; font-weight: 400; color: #666; margin-top: 1px; }

.nt { width: 100%; border-collapse: collapse; font-size: 12px; }
.nt th { background: #111; color: #fff; text-align: left; padding: 6px 8px; font-weight: 600; }
.nt td { padding: 6px 8px; border-bottom: 1px solid #e2e2e2; vertical-align: top; }
.nt tr { break-inside: avoid; }
.nt td:first-child { width: 34%; }
.nt .ds { color: #555; font-size: 11.5px; margin-top: 2px; }
.nt td:last-child { white-space: nowrap; }

.tasks { margin-top: 14px; padding: 10px 12px; border-left: 4px solid #217346; background: #eef6f0; font-size: 12px; display: flex; flex-wrap: wrap; gap: 4px 14px; }

.shortcuts { columns: 2; column-gap: 18px; }
.sc-block { margin-bottom: 12px; }
.sc-block h3 { break-after: avoid; }
.sc-block h3 { font-size: 13px; margin: 0 0 4px; padding: 4px 8px; background: #111; color: #ffcc00; }
.nt.sc td { padding: 4px 6px; }
.nt.sc td:first-child { width: auto; white-space: nowrap; }
.nt.sc td:last-child { white-space: normal; }

.schema .sx { font-size: 11px; }
.schema .sx-grid { font-size: 11px; }

@page { size: A4; margin: 12mm 0 14mm; }
@media print {
  body.notes { background: #fff; }
  .no-print { display: none !important; }
  .page { box-shadow: none; margin: 0 auto; width: auto; padding: 0 16mm; break-after: page; }
  .page:last-child { break-after: auto; }
  .band { margin: 0 -16mm; padding: 9mm 16mm 6mm; }
  .band, .stripe, .nt th, .sec .num, .sc-block h3, .intro, .tasks, .sx-title, .sx .b, .sx-legend li::before, kbd, code, .cesta { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  a { color: inherit; text-decoration: none; }
}
@media (max-width: 760px) {
  .page { padding: 16px; }
  .band { margin: -16px -16px 0; padding: 20px 16px 12px; }
  .stripe { margin: 0 -16px 14px; }
  .intro .cols, .shortcuts { grid-template-columns: 1fr; columns: 1; }
}
