/* /eu-e-invoicing-mandates only (linked from templates/einvoicing.html). */
.eu-prose { max-width: 780px; padding-top: 0; }
.eu-checked { background: var(--brand-soft); border: 1px solid #BFDBFE; border-radius: 10px; padding: 10px 14px; font-size: .95rem; color: var(--ink-2); }
.eu-toc { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 18px 0; background: var(--soft); }
.eu-toc-h { margin: 0 0 6px; font-weight: 700; }
.eu-toc ol { margin: 0; }
.eu-wrap { margin: 8px 0 18px; max-height: none; overflow-y: visible; }
table.eu-timeline { min-width: 0; }
.eu-timeline td, .eu-timeline th { padding: 8px 8px; }
table.eu-countries { min-width: 960px; font-size: .86rem; }
.eu-countries th[scope="row"] { position: sticky; left: 0; background: #fff; text-align: left; font-weight: 650; white-space: nowrap;
  padding: 8px 10px; border-bottom: 1px solid #F1F5F9; border-right: 1px solid var(--line); vertical-align: top; }
.eu-countries thead th:first-child { left: 0; z-index: 2; }
.eu-countries td { line-height: 1.4; }
.eu-src { font-size: .82rem; overflow-wrap: anywhere; min-width: 110px; }
.eu-src a { display: inline-block; margin-bottom: 2px; }
.eu-st { display: inline-block; border-radius: 99px; padding: 1px 8px; font-size: .8rem; font-weight: 650; white-space: nowrap; border: 1px solid var(--line); }
.eu-st-live { background: var(--leaf-soft); color: #1f5c38; border-color: #b9dcc7; }
.eu-st-partial { background: #F1F5F9; color: var(--ink-2); }
.eu-st-legislated { background: var(--brand-soft); color: var(--brand-ink); border-color: #BFDBFE; }
.eu-st-announced { background: var(--warn-soft); color: #5c3a00; border-color: var(--warn-line); }
.eu-st-none { background: #fff; color: var(--muted); }
.eu-dl { display: flex; flex-wrap: wrap; gap: 10px; }
.eu-fig { margin: 20px 0; }
.eu-chart { width: 100%; height: auto; max-width: 560px; display: block; }
.eu-chart text { font-family: var(--font); }
.eu-grid line { stroke: var(--line); stroke-width: 1; }
.eu-axis, .eu-axis text { fill: var(--muted); font-size: 14px; }
.eu-bars rect, .eu-bar { fill: var(--brand); }
.eu-bars rect.eu-planned { fill: #fff; stroke: var(--brand); stroke-width: 2; stroke-dasharray: 5 4; }
.eu-val, .eu-val text { fill: var(--ink); font-size: 15px; font-weight: 700; }
.eu-fig figcaption { font-size: .9rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 600px) {
  .eu-timeline thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .eu-timeline tr { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; padding: 10px 12px; border-bottom: 1px solid #F1F5F9; }
  .eu-timeline td { padding: 0; border: 0; }
  .eu-timeline td:nth-child(2) { font-weight: 650; }
  .eu-timeline td:nth-child(3) { grid-column: 1 / -1; margin-top: 4px; }
  .eu-timeline td:nth-child(4) { grid-column: 1 / -1; margin-top: 2px; font-size: .82rem; color: var(--muted); }
}
.eu-update { border: 1px solid var(--warn-line); background: var(--warn-soft); border-radius: 10px; padding: 12px 16px; margin: 14px 0 18px; color: #3d2a00; }
.eu-update-h { margin: 0 0 6px; }
.eu-update ul { margin: 0 0 8px; padding-left: 1.2em; }
.eu-update li { margin-bottom: .4em; }
.eu-update p:last-child { margin: 0; }
table.eu-sig { min-width: 640px; }
