:root { color-scheme: light; --ink: #142e32; --muted: #52696b; --line: #dce3dc; --accent: #12665d; }
* { box-sizing: border-box; }
body { margin: 0; background: #edf1ec; color: var(--ink); font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: var(--accent); text-underline-offset: 4px; }
a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #ba6a23; outline-offset: 4px; }
.report-actions { width: min(1080px, calc(100% - 48px)); margin: 24px auto; font-size: .875rem; font-weight: 600; }
.report-actions a { text-decoration: none; }
.report-actions a:hover { text-decoration: underline; }
main { width: min(1080px, calc(100% - 48px)); margin: 0 auto 48px; padding: 48px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--accent); border-radius: 4px 4px 12px 12px; box-shadow: 0 12px 40px #142e3208; }
.report-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 0 0 38px; font-size: .85rem; font-weight: 750; }
.report-label span { color: var(--muted); font-size: .75rem; font-weight: 500; }
h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -.04em; margin: 0 0 16px; }
h2 { margin: 32px 0 16px; font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.3; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 32px 0 40px; }
.card { padding: 20px 16px; border: 1px solid var(--line); border-radius: 8px; background: #f6f8f4; }
.card > span { display: block; font-size: .8rem; }
.card strong { display: block; margin: 8px 0; font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 1.25; letter-spacing: -.035em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.ok { color: var(--accent); font-weight: 650; }.warn { color: #995218; font-weight: 650; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: #f0f4ee; color: var(--muted); font-size: .75rem; letter-spacing: .03em; }
th:first-child { width: 19%; }td:first-child { font-weight: 650; }tbody tr:last-child td { border-bottom: 0; }
.checks { display: grid; gap: 12px; margin-top: 32px; }
.check { display: grid; grid-template-columns: 135px minmax(0, 1fr) 70px; align-items: start; gap: 24px; border: 1px solid var(--line); border-radius: 8px; padding: 20px; font-size: .9rem; }
.status { justify-self: end; border-radius: 4px; padding: 3px 9px; background: #edf4e9; color: #265b39; font-size: .75rem; font-weight: 750; }.status.watch { background: #fbefdf; color: #895018; }
.chart { margin: 32px 0; padding: 24px; border: 1px solid var(--line); border-radius: 8px; }
.chart-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }.chart-heading h2 { margin: 0; }.chart-heading > span { font-size: .75rem; color: var(--muted); }
.bars { height: 220px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: end; gap: 20px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to top, transparent 0, transparent 54px, #edf1ec 54px, #edf1ec 55px); }
.bar { background: var(--accent); border-radius: 5px 5px 0 0; }.bar.forecast { background: #b8652f; }
.period-1 { height: 52%; }.period-2 { height: 58%; }.period-3 { height: 63%; }.period-4 { height: 72%; }.period-5 { height: 78%; }.period-6 { height: 82%; }
.chart-labels { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; text-align: center; margin: 8px 0 20px; font-size: .75rem; color: var(--muted); }.chart p { font-size: .8rem; margin-bottom: 0; }
.notes { display: grid; gap: 12px; }.note { padding: 16px 20px; border-left: 3px solid var(--accent); background: #f0f4ee; font-size: .9rem; }
.report-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; }
@media screen and (max-width: 760px) {
  main { padding: 28px 20px; width: calc(100% - 24px); margin-bottom: 24px; }.report-actions { width: calc(100% - 32px); margin: 18px auto; }
  .report-label { margin-bottom: 28px; }.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.card { padding: 16px 12px; }.card strong { font-size: 1.25rem; }
  .check { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 16px; }.check > span:not(.status) { grid-column: 1 / -1; grid-row: 2; }.check .status { grid-column: 2; grid-row: 1; }
  table { min-width: 580px; }.chart { padding: 16px; }.bars,.chart-labels { gap: 10px; }.bars { height: 180px; }
}
@page { size: A4; margin: 14mm; }
@media print {
  * { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  body { background: white; font-size: 10pt; }.report-actions { display: none; }main { width: 100%; padding: 0; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  h1 { font-size: 26pt; }h2 { break-after: avoid; }.report-label { margin-bottom: 24px; }.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 24px 0; }.card { padding: 12px; }.card strong { font-size: 14pt; }
  .card,.check,.chart,.note,tr { break-inside: avoid; }.table-scroll { overflow: visible; }table { font-size: 9pt; }th,td { padding: 10px; }
  .chart { margin: 24px 0; padding: 18px; }.bars { height: 180px; }.check { padding: 14px; gap: 16px; }.report-footer { margin-top: 24px; }
}
