/* Health Records (2026-10-13, Story 5627) -- the Health Records board, the Chart (record
   page), and the Visit and Issue pages. The record pages otherwise wear the shared
   entity-detail styles. */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #F2F2F4; color: #222; font-family: "Segoe UI", system-ui, sans-serif; }

/* ---- the board ---- */
.hr-board.page-shell { display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; }
.hr-board #lwIconBand, .hr-board .ct-header, .hr-filters { flex: 0 0 auto; }
.ct-header { background: #3C3C3C; color: #fff; padding: 10px 16px; display: flex; align-items: center; gap: 12px; }
.ct-header h1 { margin: 0; font-size: 14pt; font-weight: 600; flex: 1; }
.ct-header button { color: #fff; background: #0D9488; border: none; border-radius: 4px; padding: 7px 14px; font: inherit; font-size: 13px; cursor: pointer; }
.ct-header button:hover { background: #0F766E; }
.hr-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 16px; background: #fff; border-bottom: 1px solid #E2E2E6; }
.hr-search { flex: 1; min-width: 160px; padding: 7px 10px; font: inherit; font-size: 13px; border: 1px solid #D3D3D9; border-radius: 6px; background: #fff; }
.hr-body { flex: 1; overflow: auto; padding: 14px 16px 28px; }
.hr-status-line { font-size: 12px; color: #777; margin-bottom: 10px; min-height: 14px; }
.hr-list { display: flex; flex-direction: column; gap: 10px; }
.hr-card { display: block; text-decoration: none; color: inherit; background: #fff; border: 1px solid #E2E2E6; border-left: 4px solid #0D9488; border-radius: 10px; padding: 12px 14px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.hr-card:hover { background: #FAFAFC; }
.hr-card.is-inactive { border-left-color: #9AA0A6; }
.hr-title { font-size: 15px; font-weight: 600; color: #1B1B1F; }
.hr-sub { font-size: 13px; color: #555; margin-top: 2px; }
.hr-meta { font-size: 12px; color: #666; margin-top: 6px; display: flex; flex-wrap: wrap; gap: 12px; }
.hr-chip, .ht-chip { border: 1px solid #D3D3D9; background: #F7F7F9; color: #444; border-radius: 999px; padding: 5px 13px; font: inherit; font-size: 13px; cursor: pointer; }
.hr-chip.is-on, .ht-chip.is-on { background: #0D9488; border-color: #0D9488; color: #fff; }

/* ---- the Chart: banner ---- */
.hr-banner { background: linear-gradient(135deg, #F0FDFA, #F7F9FC); border: 1px solid #CDEDE8; border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; }
.hr-banner-name { font-size: 18px; font-weight: 700; color: #134E4A; }
.hr-banner-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: #334; margin-top: 4px; }
.hr-banner-facts b { color: #555; font-weight: 600; }
.hr-allergy-strip { margin-top: 10px; background: #FDECEC; border: 1px solid #F4B4B4; border-radius: 8px; padding: 8px 10px; color: #8B1A1A; font-size: 13px; }
.hr-allergy-strip b { color: #7A0000; }
.hr-allergy-strip.is-none { background: #F2F4F7; border-color: #E2E6EC; color: #555; }
.hr-know { margin-top: 8px; background: #FFF8E5; border: 1px solid #F1D38A; border-radius: 8px; padding: 8px 10px; font-size: 13px; color: #5A4300; white-space: pre-wrap; }
.hr-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }

.hr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.hr-box { background: #fff; border: 1px solid #E3E6EC; border-radius: 10px; padding: 10px 12px; min-width: 0; }
.hr-box h3 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: #0F766E; display: flex; align-items: center; gap: 8px; }
.hr-box h3 a { margin-left: auto; font-size: 11px; text-transform: none; letter-spacing: 0; color: #0A66C2; text-decoration: none; cursor: pointer; }
.hr-line { padding: 6px 0; border-bottom: 1px solid #F0F0F3; font-size: 13px; }
.hr-line:last-child { border-bottom: none; }
.hr-line .d { color: #666; font-size: 12px; }
.hr-line a { color: #0A3D7A; text-decoration: none; font-weight: 600; }
.hr-line a:hover { text-decoration: underline; }
.hr-muted { color: #888; font-size: 13px; }

/* ---- the Chart's sections as Cards or Tabs, each with View / Edit / + Add (2026-10-16) ---- */
.hr-segs { display: inline-flex; flex: 0 0 auto; border: 1px solid #0F766E; border-radius: 8px; overflow: hidden; }
.hr-seg { background: #fff; color: #0F766E; border: none; padding: 4px 12px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.hr-seg + .hr-seg { border-left: 1px solid #0F766E; }
.hr-seg.active { background: #0F766E; color: #fff; }
.hr-subtabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid #E2E8E6; margin-bottom: 12px; }
.hr-subtab { background: none; border: none; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 8px 12px; font: inherit; font-size: 13px; font-weight: 600; color: #475569; cursor: pointer; }
.hr-subtab.active { color: #0F766E; border-bottom-color: #0F766E; }
.hr-box-acts { margin-left: auto; display: inline-flex; gap: 6px; flex: 0 0 auto; }
.hr-box-act { font-size: 12px; padding: 3px 10px; }
.hr-edit-row { display: none; float: right; margin: 0 0 4px 8px; font-size: 12px; padding: 2px 10px; }
.hr-box.hr-editing .hr-edit-row { display: inline-block; }
.hr-box.hr-editing { border-color: #0F766E; }
.hr-box-add { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hr-box-add .ed-btn { font-size: 12px; }

/* ---- folding bands (Story 5628): remembered, with the Fold All double caret ---- */
.hr-fold-head { display: flex; align-items: center; gap: 8px; }
.hr-fold-btn { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; background: none; border: none; padding: 2px 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.hr-fold-chev { flex: 0 0 auto; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid #0F766E; transition: transform .15s; }
.hr-fold.collapsed .hr-fold-chev { transform: rotate(-90deg); }
.hr-fold.collapsed > .hr-fold-body { display: none; }
.hr-fold-count { font-size: 11px; font-weight: 600; color: #0F5F57; background: #E6F4F1; border-radius: 999px; padding: 0 7px; }
.hr-foldall { font-size: 15px; line-height: 1; padding: 4px 10px; }
.hr-foldall[hidden] { display: none; }
.hr-box.hr-fold .hr-fold-head { margin: 0 0 8px; }
.hr-box.hr-fold.collapsed .hr-fold-head { margin-bottom: 0; }
.hr-box .hr-fold-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #0F766E; }
.hr-box .hr-fold-head a { margin-left: auto; font-size: 11px; color: #0A66C2; text-decoration: none; cursor: pointer; white-space: nowrap; }
.hr-group { margin-bottom: 10px; }
.hr-group > .hr-fold-head { padding: 6px 2px; border-bottom: 1px solid #E2E8E6; margin-bottom: 8px; }
.hr-group .hr-fold-title { font-size: 13px; font-weight: 700; color: #134E4A; }
.hr-group.collapsed > .hr-fold-head { margin-bottom: 0; }
.hr-seg { display: inline-flex; border: 1px solid #D3D3D9; border-radius: 6px; overflow: hidden; }
.hr-seg button { background: #fff; border: none; padding: 5px 11px; font: inherit; font-size: 12px; color: #444; cursor: pointer; }
.hr-seg button + button { border-left: 1px solid #D3D3D9; }
.hr-seg button.is-on { background: #0D9488; color: #fff; }
.hr-seg-label { font-size: 12px; color: #666; }
.hr-section.hr-fold { margin-top: 14px; }
.hr-section > .hr-fold-head .hr-fold-title { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: #0F766E; font-weight: 700; }
.hr-section > .hr-fold-head { margin-bottom: 6px; }

/* ---- rows on the tabs ---- */
.hr-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid #EEE; margin-bottom: 10px; }
.hr-toolbar .hr-count { font-size: 12px; color: #666; margin-left: auto; }

/* Roll Up Tools ("Roller Blind", Story 5628): a tab's summary line rolls its tools away */
.hr-rollbar { display: flex; align-items: center; gap: 8px; width: 100%; background: none; border: none;
              border-bottom: 1px solid #E2E8F0; padding: 4px 0 6px; margin: 0 0 8px; cursor: pointer; text-align: left;
              font: 12px "Segoe UI", system-ui, sans-serif; color: #555; }
.hr-rollbar .ef-caret { color: #0F766E; }
.hr-rollbar:hover .ef-caret { color: #0A66C2; }
.hr-rollbar .hr-roll-sum { flex: 1 1 auto; min-width: 0; }
.ed-pane.ef-tools-collapsed .hr-tools { display: none; }
.hr-banner .hr-actions { margin: 10px 0 0; }
.hr-row { border: 1px solid #E7E7EC; border-left: 4px solid #0D9488; border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; background: #fff; }
.hr-row.is-past { border-left-color: #94A3B8; }
.hr-row.is-upcoming { border-left-color: #2563EB; background: #F8FBFF; }
.hr-row.is-flagged { border-left-color: #DC2626; }
.hr-row.is-quiet .hr-row-title { color: #4B5563; font-weight: 500; }
.hr-row.is-resolved { border-left-color: #16A34A; }
.hr-row-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.hr-row-date { font-size: 12px; color: #555; min-width: 84px; }
.hr-row-title { font-size: 14px; font-weight: 600; color: #1B1B1F; flex: 1; min-width: 160px; }
.hr-row-title a { color: inherit; text-decoration: none; }
.hr-row-title a:hover { text-decoration: underline; }
.hr-row-meta { font-size: 12px; color: #666; margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.hr-row-text { font-size: 13px; color: #333; margin-top: 6px; white-space: pre-wrap; }
.hr-row-btns { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; margin-top: 6px; }
.hr-row-btns .ed-btn { padding: 4px 10px; font-size: 11px; }
.hr-badge { font-size: 11px; font-weight: 600; border-radius: 999px; padding: 1px 8px; background: #E6F4F1; color: #0F5F57; white-space: nowrap; }
.hr-badge.st-scheduled { background: #E5EEFF; color: #1E40AF; }
.hr-badge.st-canceled, .hr-badge.st-missed { background: #F2F2F4; color: #555; }
.hr-badge.st-active { background: #FFF1E0; color: #8A4B00; }
.hr-badge.st-monitoring { background: #EEF2FF; color: #3730A3; }
.hr-badge.st-resolved { background: #E7F7EC; color: #166534; }
.hr-badge.sev-severe, .hr-badge.sev-lifethreatening { background: #FDE2E2; color: #9B1C1C; }
.hr-tick { color: #16A34A; font-weight: 700; }
.hr-issue-chip { display: inline-block; font-size: 11px; font-weight: 600; color: #0F5F57; background: #E6F4F1; border-radius: 999px; padding: 1px 8px; margin: 2px 4px 0 0; text-decoration: none; }
a.hr-issue-chip:hover { background: #CCEBE5; }
.hr-section-title { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: #0F766E; margin: 16px 0 8px; }
.hr-fills { margin-top: 6px; border-top: 1px dashed #DDD; padding-top: 6px; font-size: 12px; color: #444; }
.hr-fills div { padding: 2px 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hr-tel { color: #0A66C2; text-decoration: none; }

/* readings */
table.hr-values { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 13px; }
table.hr-values th { text-align: left; font-size: 11px; color: #666; font-weight: 600; padding: 3px 6px; border-bottom: 1px solid #E5E5EA; }
table.hr-values td { padding: 4px 6px; border-bottom: 1px solid #F2F2F4; }
.hr-flag-L, .hr-flag-H, .hr-flag-A { color: #B91C1C; font-weight: 700; }
.hr-trend { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.hr-trend-card { background: #fff; border: 1px solid #E3E6EC; border-radius: 8px; padding: 8px 10px; width: 260px; max-width: 100%; }
.hr-trend-card .t { font-size: 13px; font-weight: 600; color: #134E4A; }
.hr-trend-card .s { font-size: 11px; color: #666; }
.hr-trend-card svg { display: block; width: 100%; height: 70px; margin-top: 4px; }

/* the result form (readings are rows, so it is drawn in the tab, not a dialog) */
.hr-result-form { border: 1px solid #CDEDE8; background: #F8FFFD; border-radius: 8px; padding: 12px; margin-bottom: 12px; }
.hr-result-form .field { margin-bottom: 8px; }
.hr-result-form label { display: block; font-size: 12px; color: #555; margin-bottom: 3px; }
.hr-result-form input[type="text"], .hr-result-form input[type="date"], .hr-result-form textarea, .hr-result-form select {
    display: block; width: 100%; box-sizing: border-box; padding: 7px 9px; font: inherit; font-size: 13px; border: 1px solid #D3D3D9; border-radius: 6px; background: #fff; }
.hr-result-form .field .voice-mic-wrap { display: block; }
.hr-reading { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto; gap: 6px; align-items: end; margin-bottom: 6px; }
.hr-reading > * { min-width: 0; }
.hr-reading input { width: 100%; box-sizing: border-box; padding: 6px 7px; font: inherit; font-size: 13px; border: 1px solid #D3D3D9; border-radius: 6px; }
.hr-reading .voice-mic-wrap { display: block; min-width: 0; }
.hr-reading-head { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto; gap: 6px; font-size: 11px; color: #666; }
.hr-result-form .err { color: #C00000; font-size: 13px; margin: 6px 0; }
.hr-result-form .err:empty { display: none; }
.hr-result-form .actions { display: flex; gap: 8px; margin-top: 8px; }

/* ---- cards that fold to their head line (Story 5628) ---- */
.hr-row-chev { flex: 0 0 auto; align-self: center; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent;
               border-top: 6px solid #0F766E; cursor: pointer; transition: transform .15s; padding: 0; margin: 0 2px; }
.hr-row-chev:focus-visible { outline: 2px solid #0D9488; outline-offset: 3px; }
.hr-row.collapsed .hr-row-chev, .ht-item.collapsed .hr-row-chev { transform: rotate(-90deg); }
.hr-row [data-fold-head], .ht-item [data-fold-head] { cursor: pointer; }
.hr-row.collapsed > :not(.hr-row-head) { display: none; }
.hr-row.collapsed { padding-top: 7px; padding-bottom: 7px; }
.ht-item.collapsed .ht-body { display: none; }

/* the Chart banner folds to the name; the allergy strip stays in sight */
.hr-banner.hr-fold .hr-fold-title { font-size: 18px; font-weight: 700; color: #134E4A; }
.hr-banner.hr-fold.collapsed { padding-bottom: 8px; }
.hr-banner .hr-allergy-strip { margin-top: 8px; }

/* the allergies in the page header, in sight on every tab */
.page-shell[data-testid="health-record"] .ed-header { flex-wrap: wrap; row-gap: 4px; }
.hr-head-allergy { flex: 0 1 auto; max-width: 100%; font-size: 12px; font-weight: 600; color: #fff; background: #B91C1C;
                   border-radius: 999px; padding: 2px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hr-head-allergy.is-none { background: #5A5A5A; color: #E5E5E5; font-weight: 500; }
.hr-head-allergy[hidden] { display: none; }

/* the issue filter on a tab's toolbar */
.hr-filter { font-size: 12px; color: #555; display: inline-flex; align-items: center; gap: 6px; }
.hr-filter select { min-width: 150px; }
.hr-filter-note { font-size: 12px; color: #8A4B00; background: #FFF7E6; border-radius: 6px; padding: 4px 8px; margin-bottom: 8px; }

/* ---- the Health Timeline ---- */
.ht-toolwrap { margin-bottom: 4px; }
.ht-tools { padding-bottom: 8px; border-bottom: 1px solid #EEE; margin-bottom: 4px; }
.ht-tools > .hr-fold-head .hr-fold-title { font-size: 12px; font-weight: 700; color: #0F766E; }
.ht-tools .ht-sum { font-weight: 500; color: #555; }
.ht-tools > .hr-fold-body { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.ht-status-row { display: flex; align-items: center; gap: 8px; }
.ht-status-row .ht-status { flex: 1; }
.ht-band > .hr-fold-head { padding: 4px 2px; border-bottom: 1px solid #E2E8E6; margin: 12px 0 6px; }
.ht-band .hr-fold-title { font-size: 12px; font-weight: 700; color: #0F766E; text-transform: uppercase; letter-spacing: .5px; }
.ht-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ht-chip { padding: 4px 11px; font-size: 12px; }
.ht-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ht-field { font-size: 12px; color: #555; display: flex; align-items: center; gap: 6px; }
.ht-field input { padding: 5px 7px; font: inherit; font-size: 12px; border: 1px solid #D3D3D9; border-radius: 6px; }
.ht-status { font-size: 12px; color: #666; margin: 4px 0 8px; }
.ht-month { font-size: 12px; font-weight: 700; color: #0F766E; text-transform: uppercase; letter-spacing: .5px; margin: 14px 0 6px; }
.ht-item { display: flex; gap: 12px; padding: 8px 10px; border-left: 3px solid #CBD5E1; background: #fff; border-radius: 0 6px 6px 0; margin-bottom: 6px; }
.ht-item.kind-visit { border-left-color: #0D9488; }
.ht-item.kind-appointment, .ht-item.kind-followup { border-left-color: #2563EB; }
.ht-item.kind-medstart, .ht-item.kind-medstop, .ht-item.kind-fill, .ht-item.kind-refill { border-left-color: #7C3AED; }
.ht-item.kind-result { border-left-color: #DB2777; }
.ht-item.kind-shot, .ht-item.kind-shotdue { border-left-color: #0891B2; }
.ht-item.kind-issuestart, .ht-item.kind-issueend, .ht-item.kind-allergy { border-left-color: #D97706; }
.ht-item.kind-note, .ht-item.kind-call, .ht-item.kind-email { border-left-color: #64748B; }
/* Story 5656: files and what an issue cost, in its story. */
.ht-item.kind-file { border-left-color: #475569; }
.ht-item.kind-eob { border-left-color: #B45309; }
.ht-item.is-due { background: #F8FBFF; }
.ht-when { flex: 0 0 84px; font-size: 12px; color: #555; }
.ht-when span { display: block; color: #777; }
.ht-what { flex: 1; min-width: 0; }
.ht-head { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.ht-kind { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: #475569; background: #F1F5F9; border-radius: 4px; padding: 1px 6px; }
.ht-title { font-size: 14px; font-weight: 600; color: #1B1B1F; text-decoration: none; word-break: break-word; }
a.ht-title:hover { text-decoration: underline; }
.ht-due { font-size: 10px; font-weight: 700; color: #1E40AF; background: #E5EEFF; border-radius: 4px; padding: 1px 6px; }
.ht-place { font-size: 12px; color: #555; margin-top: 2px; }
.ht-detail { font-size: 13px; color: #333; margin-top: 3px; white-space: pre-wrap; word-break: break-word; }
.ht-more { margin: 10px auto 0; display: block; }
/* Story 5635: the order and the print checkboxes, on the count line */
.ht-order, .ht-pickbtn { font-size: 12px; padding: 4px 10px; white-space: nowrap; }
.ht-pickbtn { font-size: 15px; line-height: 1; }
.ht-pickbtn.is-on { background: #0D9488; border-color: #0D9488; color: #fff; }
.ht-pick { display: none; width: 16px; height: 16px; margin: 0 2px 0 0; accent-color: #0D9488; align-self: center; cursor: pointer; }
.ht-picking .ht-pick { display: inline-block; }
.ht-noprint { display: none; font-size: 10px; font-weight: 700; color: #92400E; background: #FEF3C7; border-radius: 4px; padding: 1px 6px; }
.ht-item.is-noprint .ht-noprint { display: inline-block; }
.ht-picking .ht-item.is-noprint { opacity: .6; }

/* the offscreen print host */
.hr-print-host { position: absolute; left: -10000px; top: 0; width: 900px; }

@media (max-width: 560px) {
    .hr-reading, .hr-reading-head { grid-template-columns: 1fr 1fr; }
    .hr-reading-head { display: none; }
    .ht-when { flex-basis: 70px; }
}

/* ---- Story 5641: the insurance card button, symptoms, remedies, daily factors ---- */
.hr-head-ins { flex: 0 0 auto; font-size: 12px; font-weight: 600; color: #4A3728; background: #F7F0DF; border: 1px solid #C9B488;
               border-radius: 999px; padding: 2px 10px; cursor: pointer; }
.hr-head-ins[hidden] { display: none; }
.ht-sev { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 1px 8px; margin-left: auto; background: #E5E7EB; color: #374151; }
.ht-sev.sev-low  { background: #DCFCE7; color: #166534; }
.ht-sev.sev-mid  { background: #FEF3C7; color: #92400E; }
.ht-sev.sev-high { background: #FEE2E2; color: #991B1B; }
.ht-helped { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 1px 8px; margin-left: auto; }
.ht-helped.h-yes  { background: #DCFCE7; color: #166534; }
.ht-helped.h-some { background: #FEF3C7; color: #92400E; }
.ht-helped.h-no   { background: #F3F4F6; color: #4B5563; }
.ht-factor { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ht-factor .hr-row-btns { margin-left: auto; }
.ht-near { font-size: 11px; font-weight: 600; color: #991B1B; background: #FEE2E2; border-radius: 999px; padding: 1px 8px; margin-left: 6px; }
.ht-around td { vertical-align: top; }
.hr-issue-eobs { margin: 6px 0 2px; padding: 6px 10px; border-left: 3px solid #0E7C66; background: #F4FBF8; border-radius: 4px; }
.hr-issue-eobs-head { font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #0E7C66; margin-bottom: 2px; }
.hr-issue-eob { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; font-size: 13px; padding: 2px 0; }

/* A kind of thing inside a month on the Health Timeline / an issue's Story (Visits, Symptoms ...):
   a quieter band under the month's, indented a little. */
.ht-band .ht-kindband { margin: 4px 0 8px 10px; }
.ht-band .ht-kindband > .hr-fold-head { padding: 3px 2px; margin: 0 0 6px; border-bottom: 1px dashed #E2E8E6; }
.ht-band .ht-kindband .hr-fold-title { font-size: 13px; font-weight: 700; color: #134E4A; text-transform: none; letter-spacing: 0; }
.hii-page .ht-band .ht-kindband .hr-fold-title { color: var(--hii-teal-dark); }
:root[data-pt-theme] .ht-band .ht-kindband .hr-fold-title { color: var(--pt-accent-dark); }
@media (max-width: 520px) { .ht-band .ht-kindband { margin-left: 4px; } }

/* The way back over a health page's title (health-visit.html; Tony, 2026-10-28): the shared
   "Hansel - Breadcrumb Trail" (picasso-crumbs.css) in a column with the title. */
.ed-header .hr-titles { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.ed-header .hr-titles h1 { flex: 0 0 auto; }
.ed-header .hr-path { font-size: 12.5px; --pcr-ink: #B6D4FF; --pcr-ink-hover: #fff; }
