/* Сторінка «Звітність» (/zvitnist): картки підсумків, таблиці, місяці в розкривних блоках. Кольори й відступи з site.css. */
.fin { max-width: 860px; margin: 0 auto; padding: 8px 0 48px; }
.fin h1 { margin: 12px 0 10px; }
.fin h2 { margin: 36px 0 12px; font-size: 1.35rem; color: var(--blue-dark); }
.fin h3 { margin: 22px 0 8px; font-size: 1.05rem; color: var(--blue-dark); }
.fin-lead { font-size: 1.08rem; line-height: 1.65; max-width: 70ch; }
.fin-empty { padding: 18px 20px; border: 1px dashed #8aa3b1; border-radius: 12px; background: #fff; }
.fin-updated, .fin-muted { color: #4a5d68; }

.fin-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; margin: 14px 0 8px; }
.fin-card { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: #fff; border: 1px solid #d5e0e6; border-top: 4px solid var(--green); border-radius: 12px; }
.fin-card:nth-child(2) { border-top-color: var(--purple); }
.fin-card:nth-child(3) { border-top-color: var(--cyan); }
.fin-card strong { font-size: 1.5rem; line-height: 1.2; color: var(--blue-dark); }
.fin-card-label { font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: #4a5d68; font-weight: 600; }
.fin-card-note { font-size: .85rem; color: #4a5d68; }

.fin .table-wrap { position: relative; overflow-x: auto; margin: 12px 0 8px; }
.fin-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #d5e0e6; border-radius: 10px; font-size: .96rem; }
.fin-table caption { text-align: left; font-weight: 600; padding: 0 0 8px; color: var(--blue-dark); }
.fin-table th, .fin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e3eaee; vertical-align: top; }
.fin-table thead th { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: #4a5d68; background: #f4f8fa; white-space: nowrap; }
.fin-table tbody th { font-weight: 600; }
.fin-table tr:last-child td, .fin-table tr:last-child th { border-bottom: 0; }
.fin-table td:nth-child(2) { white-space: nowrap; }

.fin-month { background: #fff; border: 1px solid #d5e0e6; border-radius: 12px; margin: 10px 0; padding: 0 16px; }
.fin-month summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--blue-dark); }
.fin-month[open] summary { border-bottom: 1px solid #e3eaee; margin-bottom: 4px; }
.fin-month summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.fin-month > :last-child { margin-bottom: 16px; }
.fin-note { padding: 10px 12px; background: #fff7e0; border-radius: 8px; margin: 12px 0 0; }

.fin-list { padding-left: 1.2em; line-height: 1.6; }
.fin-list li { margin: 0 0 8px; }
.fin-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media print {
    .fin-month { break-inside: avoid; }
    .fin-month:not([open]) > :not(summary) { display: block; }
}
.fin-year { font-size: 1.05rem; margin: 18px 0 6px; }
