.report-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-bottom: 18px; }
.chart-panel { min-height: 360px; }
.chart-wrap { padding: 24px 20px 18px; }
.bar-chart { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; height: 232px; padding: 10px 8px 0; }
.bar-col { display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 0; }
.bar-value { color: var(--ink); font: 600 14px "IBM Plex Mono", monospace; }
.bar-fill { width: 100%; max-width: 72px; min-height: 3px; margin-top: auto; border-radius: 6px 6px 0 0; transition: height 0.25s ease; }
.bar-green { background: var(--green); }
.bar-gray { background: var(--ink-soft); }
.bar-red { background: var(--coral); }
.bar-label { 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: ""; }
#reportsStatus { margin-top: 18px; }
#reportsStatus[hidden] { display: none; }
#reportsStatus p { margin: 0 0 12px; }
.adherence-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.reminder-panel { margin-top: 18px; }
#saveReminder, #saveVisit { margin-top: 10px; }
.time-row { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.time-row input { max-width: 160px; }
.reminder-row { display: flex; min-width: 0; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); }
.reminder-row > div { min-width: 0; }
.reminder-row strong, .reminder-row small { overflow-wrap: anywhere; }
.reminder-row small { display: block; color: var(--ink-soft); }
.specialty-panel { margin-bottom: 18px; }
.specialty-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 20px; align-items: start; }
.specialty-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.specialty-row { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 36px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.specialty-row:last-child { border-bottom: 0; }
.specialty-swatch { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.specialty-swatch[data-tone="coral"] { background: var(--coral); }
.specialty-swatch[data-tone="amber"] { background: var(--amber); }
.specialty-swatch[data-tone="navy"] { background: var(--navy); }
.specialty-swatch[data-tone="cyan"] { background: var(--cyan); }
.specialty-swatch[data-tone="green"] { background: var(--green); }
.specialty-swatch[data-tone="cyan-dark"] { background: var(--cyan-dark); }
.specialty-swatch[data-tone="navy-light"] { background: var(--navy-light); }
.specialty-swatch[data-tone="ink"] { background: var(--ink); }
.specialty-name { font-weight: 600; }
.specialty-percent { color: var(--ink); font: 600 14px "IBM Plex Mono", monospace; }
.specialty-empty { color: var(--ink-soft); padding: 12px 0; }
.specialty-status { min-height: 0; padding: 0 0 12px; }
.specialty-status[hidden] { display: none; }
@media (max-width: 980px) { .report-grid, .specialty-layout { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  body[data-page="reports"] .panel-header { align-items: flex-start; flex-direction: column; }
  body[data-page="reports"] .panel-header .badge { align-self: flex-start; }
  .adherence-figures { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reminder-row { align-items: flex-start; flex-direction: column; }
  .reminder-row .button { align-self: flex-start; }
}
@media (max-width: 420px) {
  .chart-wrap { padding-right: 14px; padding-left: 14px; }
  .bar-chart { gap: 10px; padding: 10px 0 0; }
  .bar-value { font-size: 12px; }
  .adherence-figures { grid-template-columns: 1fr; }
}
