/* THE CLINIC DAY (2026-10-24, feat/emr-first; public/clinic-day/). On top of the exception queue's stylesheet (the app
   header, DM Sans, cards, .btn, .nn-badge, the user's own palette and display mode set by public/appTheme.js); only what
   the day adds is here, and every colour is a token. */
.cd-main-wrap { max-width: 1080px; }
.cd-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 14px; }
.cd-date { font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--text); }
.cd-hello { font-size: 13px; color: var(--text2); }
.cd-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 14px; align-items: start; }
.cd-grid.is-one { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.cd-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cd-card { padding: 16px 18px; }
.cd-card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.cd-sec { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text3); display: flex; align-items: center; gap: 8px; }
.cd-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent-tint); color: var(--accent);
  font-size: 11px; font-weight: 700; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.cd-lead { font-size: 13.5px; color: var(--text2); margin-bottom: 6px; }
.cd-lead b { color: var(--text); font-weight: 600; }
.cd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.cd-list { list-style: none; }
.cd-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.cd-row:last-child { border-bottom: 0; }
.cd-row.is-urgent { box-shadow: inset 3px 0 0 var(--warning); padding-left: 10px; }
.cd-time { flex: none; width: 74px; font-size: 13px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.cd-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cd-name { font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
a.cd-name:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cd-sub { font-size: 12.5px; color: var(--text2); overflow-wrap: anywhere; }
.cd-side { flex: none; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px; }
.cd-empty { font-size: 13px; color: var(--text2); padding: 6px 0 2px; }
.cd-foot { display: flex; justify-content: flex-end; margin-top: 10px; }
.cd-allempty { max-width: 640px; margin: 24px auto 0; }
@media (max-width: 760px) {
  .cd-grid { grid-template-columns: minmax(0, 1fr); }
  .cd-card { padding: 14px; }
  .cd-row { flex-wrap: wrap; gap: 4px 10px; }
  .cd-time { width: auto; }
  .cd-side { width: 100%; justify-content: flex-start; }
  .app-header .ex-page-title { display: none; }
}
