.medication-rounds { color:#182842; font-size:14px; line-height:1.5; max-width:1300px; margin:0 auto; display:grid; gap:22px; }
.medication-rounds-header { display:grid; gap:20px; }
.medication-rounds-header h1 { font-size:30px; font-weight:700; line-height:1.2; letter-spacing:-.5px; margin:4px 0 8px; }
.medication-rounds-header p, .medication-rounds-datebar p, .medication-rounds-section-heading p { color:#526178; }
.medication-rounds-header .medication-rounds-eyebrow { font-weight:650; color:#182842; font-size:16px; }
.medication-rounds-nav { display:flex; flex-wrap:wrap; gap:6px; border-bottom:1px solid #dce3ed; padding:0 0 10px; }
.medication-chart > .medication-rounds-nav { padding:12px 24px; }
.medication-rounds-nav a { padding:10px 16px; border-radius:7px; font-weight:600; font-size:14px; color:#496078; }
.medication-rounds-nav a[aria-current=page] { color:#164db0; background:#e9f0ff; }
.medication-rounds-nav a:hover { background:#eef2f7; }
.medication-rounds-datebar { display:flex; flex-wrap:wrap; gap:18px; justify-content:space-between; align-items:center; }
.medication-rounds-datebar h2, .medication-rounds-section-heading h2 { font-weight:650; font-size:20px; }
.medication-rounds-datebar p { font-size:12px; margin-top:4px; }
.medication-rounds-date-controls { display:grid; gap:12px; }
.medication-rounds-date-controls nav { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.medication-rounds-date-controls a, .medication-round-link { color:#245ab4; font-weight:600; text-decoration:none; }
.medication-rounds-date-controls a:hover, .medication-round-link:hover { text-decoration:underline; }
.medication-rounds-date-form { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.medication-rounds-date-form label { font-size:12px; font-weight:600; }
.medication-rounds-date-form input[type=date] { border:1px solid #bcc9d9; border-radius:7px; background:white; padding:9px 10px; max-width:100%; min-width:0; color:#182842; }
.medication-rounds-date-form input[type=submit] { background:#255bb7; color:white; font-weight:600; border:1px solid #255bb7; border-radius:7px; padding:10px 14px; cursor:pointer; }
.medication-rounds .medication-round { border:1px solid #dce3ed; border-radius:12px; background:white; overflow:hidden; min-width:0; }
.medication-round-heading { padding:20px 24px; display:flex; justify-content:space-between; flex-wrap:wrap; align-items:center; gap:12px; border-bottom:1px solid #e6ebf2; }
.medication-round-heading h2 { font-size:23px; font-weight:700; }
.medication-round-heading p { color:#5a687d; margin-top:3px; font-size:13px; }
.medication-round-doses { list-style:none; padding:0 24px; margin:0; background:#fbfcfe; border-top:1px solid #e6ebf2; }
.medication-round-dose { padding:9px 0; display:flex; justify-content:space-between; align-items:center; gap:16px; border-bottom:1px solid #e9edf3; }
.medication-round-dose:last-child { border:0; }
.medication-round-dose strong { font-weight:650; }
.medication-round-dose div > span { display:block; font-size:11px; color:#5a687d; margin-top:3px; }
.medication-round-status { background:#eef3f8; padding:5px 10px; border-radius:6px; color:#304c6b; font-size:12px; font-weight:600; flex-shrink:0; max-width:45%; }
.medication-round-status-warning { background:#fff3dd; color:#81520b; }
.medication-round-stages { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.medication-round-stage { padding:20px 24px; min-width:0; }
.medication-round-stage + .medication-round-stage { border-left:1px solid #e6ebf2; }
.medication-round-stage h3 { display:flex; gap:9px; align-items:center; font-size:15px; font-weight:700; margin-bottom:16px; }
.medication-round-step { display:inline-flex; justify-content:center; align-items:center; width:23px; height:23px; border-radius:50%; background:#eaf0fb; color:#285bb3; font-size:12px; }
.medication-round-group { padding:14px 16px; border:1px solid #e1e7ef; border-radius:8px; margin-top:12px; overflow-wrap:anywhere; }
.medication-round-group-type { color:#53657c; font-size:11px; font-weight:600; margin-bottom:6px; }
.medication-round-actor strong { font-weight:650; }
.medication-round-group-meta { color:#5a687d; font-size:12px; margin-top:2px; }
.medication-round-group-medications { margin-top:8px; font-size:12px; color:#485d75; }
.medication-round-outcome { color:#245738; font-weight:650; margin-top:8px; }
.medication-round-reason { font-size:13px; margin-top:8px; }
.medication-round-photo-link { display:flex; gap:12px; align-items:center; margin-top:14px; color:#245ab4; font-size:12px; font-weight:600; }
.medication-round-photo { width:112px; height:82px; object-fit:cover; border-radius:6px; border:1px solid #dce3ed; background:#f2f5f9; }
.medication-round-empty-stage { color:#64748b; padding:8px 0; }
.medication-round-notice { padding:12px 24px; background:#fff8e9; color:#78540f; font-size:12px; border-top:1px solid #f1e5c8; }
.medication-rounds-empty { background:white; border:1px solid #dce3ed; border-radius:12px; padding:36px 28px; }
.medication-rounds-empty h2 { font-size:20px; font-weight:650; }
.medication-rounds-empty p { color:#5a687d; margin:10px 0 20px; }
.medication-round-record-events { display:grid; gap:14px; }
.medication-rounds :where(a, input, button, summary, textarea):focus-visible, .medication-rounds-nav a:focus-visible { outline:2px solid #2769cd; outline-offset:3px; }
@media (max-width:700px) {
  .medication-rounds { gap:18px; }
  .medication-rounds-header h1 { font-size:26px; }
  .medication-rounds-date-controls { width:100%; }
  .medication-rounds-date-form label { flex-basis:100%; }
  .medication-rounds-date-form input[type=date] { flex:1; }
  .medication-round-stages { grid-template-columns:minmax(0,1fr); }
  .medication-round-stage + .medication-round-stage { border-left:0; border-top:1px solid #e6ebf2; }
  .medication-round-heading, .medication-round-stage { padding:16px; }
  .medication-round-doses { padding:0 16px; }
  .medication-round-dose { align-items:flex-start; }
  .medication-round-status { max-width:42%; }
  .medication-rounds-nav a { padding:9px 12px; }
  .medication-round-notice { padding:12px 16px; }
}
