.report-metrics { grid-template-columns: repeat(3,1fr); margin-bottom: 18px; }
.report-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 18px; margin-bottom: 18px; }
.chart-panel { min-height: 360px; }
.chart-wrap { padding: 24px 20px 18px; }
.chart-area { position: relative; height: 220px; padding: 10px 0 28px 42px; }
.chart-grid { position: absolute; inset: 10px 0 28px 42px; display: grid; grid-template-rows: repeat(4,1fr); }
.chart-grid span { border-top: 1px dashed #dce5e3; }
.chart-y { position: absolute; inset: 3px auto 25px 0; display: flex; flex-direction: column; justify-content: space-between; color: var(--ink-soft); font: 10px "IBM Plex Mono", monospace; }
.line-chart { position: absolute; inset: 10px 0 28px 42px; width: calc(100% - 42px); height: calc(100% - 38px); overflow: visible; }
.line-chart polyline { fill: none; stroke: var(--cyan-dark); stroke-width: 3; vector-effect: non-scaling-stroke; }
.line-chart circle { fill: white; stroke: var(--cyan-dark); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart-x { position: absolute; right: 0; bottom: 0; left: 42px; display: flex; justify-content: space-between; color: var(--ink-soft); font: 10px "IBM Plex Mono", monospace; }
.chart-legend { display: flex; gap: 8px; align-items: center; margin-top: 8px; color: var(--ink-soft); font-size: 11px; }
.chart-legend::before { width: 20px; height: 3px; background: var(--cyan-dark); content: ""; }
.distribution-list { display: grid; gap: 18px; }
.distribution-row { display: grid; gap: 7px; }
.distribution-head { display: flex; justify-content: space-between; font-size: 12px; }
.distribution-track { height: 8px; overflow: hidden; border-radius: 2px; background: #e9efed; }
.distribution-fill { height: 100%; background: var(--cyan); }
.distribution-row:nth-child(2) .distribution-fill { background: #547d89; }
.distribution-row:nth-child(3) .distribution-fill { background: var(--coral); }
.distribution-row:nth-child(4) .distribution-fill { background: var(--amber); }
.category-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; padding: 1px; background: var(--line); }
.category { padding: 17px; background: white; }
.category strong, .category span { display: block; }
.category strong { font: 600 22px "IBM Plex Mono", monospace; }
.category span { margin-top: 4px; color: var(--ink-soft); font-size: 11px; }
.dose-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; align-items: start; }
.reminder-control { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; padding: 14px; border: 1px solid var(--line); background: #f8faf9; }
.reminder-control p { margin: 2px 0 0; color: var(--ink-soft); font-size: 11px; }
.toggle { position: relative; width: 46px; height: 25px; flex: 0 0 auto; border: 0; border-radius: 13px; background: #aebcbd; }
.toggle::after { position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: white; content: ""; transition: transform .2s ease; }
.toggle.on { background: var(--cyan-dark); }
.toggle.on::after { transform: translateX(21px); }
.dose-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dose-form .field:first-child, .dose-form .button { grid-column: 1 / -1; }
.dose-list { display: grid; }
.dose-entry { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.dose-entry:last-child { border-bottom: 0; }
.dose-check { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--green-wash); color: var(--green); }
.dose-check svg { width: 16px; }
.dose-entry strong, .dose-entry small { display: block; }
.dose-entry small { color: var(--ink-soft); }
.score-shift { color: var(--green); font: 11px "IBM Plex Mono", monospace; }
@media (max-width: 980px) { .report-grid, .dose-grid { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .report-metrics, .category-strip { grid-template-columns: 1fr 1fr; } .dose-form { grid-template-columns: 1fr; } .dose-form .field:first-child, .dose-form .button { grid-column: auto; } }
