/* Whitepaper – dlhý text na čítanie */
.wp-draft { background: #FFF4D6; color: #6B4E00; text-align: center; padding: 10px 16px; font-size: var(--step--1); font-weight: 600; }
mark.ph { background: #FFE8A3; color: inherit; padding: 0 .2em; border-radius: 3px; }
.wp { max-width: 1160px; margin: 0 auto; padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 40px) 80px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; flex: 1; width: 100%; }
.wp-toc { position: sticky; top: 92px; align-self: start; font-size: var(--step--1); }
.wp-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1.5px solid var(--line); }
.wp-toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1.5px; border-left: 1.5px solid transparent; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.wp-toc a:hover { color: var(--ink); }
.wp-toc a.on { color: var(--cobalt-ink); border-left-color: var(--cobalt); font-weight: 700; }
.wp-body { max-width: 70ch; font-size: 1.0625rem; line-height: 1.65; }
.wp-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.03em; max-width: 18ch; }
.wp-lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); margin-top: 18px; }
.wp-meta { margin: 28px 0 0; border-top: 1.5px solid var(--ink); }
.wp-meta > div, .wp-table > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.wp-meta dt, .wp-table dt { color: var(--ink-2); font-size: var(--step--1); font-weight: 600; padding-top: 2px; }
.wp-meta dd, .wp-table dd { margin: 0; }
.wp-meta code { font-size: .85em; word-break: break-all; }
.wp-table { margin: 16px 0 0; border-top: 1px solid var(--line); }
.wp-body section { padding-top: 56px; scroll-margin-top: 76px; }
.wp-body h2 { font-size: var(--step-2); letter-spacing: -.02em; margin-bottom: 14px; }
.wp-body h3 { font-size: var(--step-0); font-weight: 700; margin: 26px 0 6px; }
.wp-body p + p { margin-top: 12px; }
.wp-body ul { padding-left: 1.2em; margin: 10px 0; }
.wp-body li { margin: 6px 0; }
.wp-body li::marker { color: var(--cobalt); }
.wp-warn { background: var(--sheet); border-left: 4px solid var(--ink); padding: 14px 18px; border-radius: 0 12px 12px 0; margin-bottom: 18px; font-size: var(--step--1); line-height: 1.55; }
.wp-statements { padding-left: 1.4em; }
.wp-statements li { padding-left: 4px; }
.wp-proposal { display: inline-block; background: var(--cobalt-wash); color: var(--cobalt-ink); font-weight: 600; font-size: var(--step--1); padding: 6px 12px; border-radius: 8px; }
.wp-flow, .wp-road { list-style: none; counter-reset: f; padding: 0; margin: 18px 0; display: grid; gap: 0; }
.wp-flow li, .wp-road li { counter-increment: f; position: relative; padding: 0 0 20px 52px; margin: 0; }
.wp-flow li::before, .wp-road li::before { content: counter(f); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--cobalt); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: var(--step--1); }
.wp-flow li:not(:last-child)::after, .wp-road li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; background: var(--line); }
.wp-road li::before { background: var(--ink); }
.wp-road b { display: block; }
.wp-road span { color: var(--ink-2); }
.alloc { display: flex; height: 28px; border-radius: 8px; overflow: hidden; margin: 26px 0 10px; }
.alloc span { display: block; height: 100%; }
.wp-alloc { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.wp-alloc th { text-align: left; color: var(--ink-2); font-weight: 600; padding: 8px 8px 8px 0; border-bottom: 1.5px solid var(--ink); }
.wp-alloc td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.wp-alloc td:nth-child(2) { font-weight: 700; white-space: nowrap; font-size: var(--step-0); }
.wp-alloc i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; }
.a1 { background: #2E46F5; flex: 0 0 35%; } .a2 { background: #6E80FF; flex: 0 0 15%; } .a3 { background: #161B3D; flex: 0 0 15%; }
.a4 { background: #4A5070; flex: 0 0 12%; } .a5 { background: #9AA3D9; flex: 0 0 10%; } .a6 { background: #B9BFE6; flex: 0 0 8%; } .a7 { background: #D9DCE5; flex: 0 0 5%; }
.wp-end { margin-top: 64px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: var(--step--1); }
@media (max-width: 900px) {
  .wp { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .wp-toc { display: none; }
}
@media (max-width: 600px) {
  .wp-meta > div, .wp-table > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media print {
  .top, .wp-toc, .wp-draft, .skip { display: none !important; }
  body { background: #fff; }
  .wp { display: block; padding: 0; }
  .wp-body { max-width: none; font-size: 11pt; }
  .wp-body section { padding-top: 24px; break-inside: avoid-page; }
  mark.ph { background: none; border-bottom: 1px dashed #999; }
  a { color: inherit; }
  .alloc span, .wp-alloc i, .wp-flow li::before, .wp-road li::before { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
