/* Calm, list-first theme. Screen-only: existing printed reports stay unchanged. */
:root {
  --bg: #fbfbfc; --surface: #fff; --surface-soft: #f6f6f7;
  --ink: #242428; --muted: #85858d; --line: #ededf0;
  --primary: #303036; --primary-dark: #111115; --primary-soft: #f0f0f3;
  --green: #58a899; --green-soft: #f0f8f5; --orange: #c98b57; --orange-soft: #fbf4ec;
  --red: #ce697d; --shadow: none;
  --ui-font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body { background: var(--bg); font-family: var(--ui-font); -webkit-font-smoothing: antialiased; }
body :is(h1,h2,h3,h4,strong,b,button,input,select,textarea,label,span,p,time,small,a) { font-family: var(--ui-font) !important; }
body :is(h1,h2,h3,h4) { font-weight: 600; letter-spacing: -.025em; }
button:focus-visible, a:focus-visible { outline: 2px solid #658baf; outline-offset: 3px; }
button:hover { transform: none; }
.sidebar { width: 205px; padding: 28px 18px; background: #fafafa; border-right: 1px solid var(--line); box-shadow: none; }
.brand-mark { color: var(--ink); background: #efeff2; box-shadow: none; }
.brand-name { font-size: 19px; font-weight: 600; letter-spacing: -.6px; }
.side-nav { gap: 5px; margin-top: 45px; }
.side-nav .nav-item { padding: 0 11px; min-height: 44px; font-size: 13px; font-weight: 500; color: #929298; }
.side-nav .nav-item.is-active { background: transparent; color: #17171b; }
.side-nav .nav-item:hover { background: #f0f0f2; }
.profile-copy strong { font-size: 13px; font-weight: 500; }
.profile-copy span { font-size: 11px; }
.profile-dot, .mobile-account-button { color: #fff; background: #37373c; box-shadow: none; }
.main-content { width: calc(100% - 205px); max-width: 1390px; margin-left: 205px; padding: 30px clamp(26px,4vw,60px) 65px; }
.topbar { min-height: 36px; gap: 14px; margin-bottom: 24px; }
.topbar h1 { font-size: 25px; line-height: 1.3; font-weight: 500; letter-spacing: -.75px; }
.topbar .eyebrow { font-size: 12px; text-transform: none; letter-spacing: 0; font-weight: 400; }
body:not([data-active-view="today"]) .topbar > div:first-child { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body:not([data-active-view="today"]) .top-actions { width: 100%; }
.top-actions .mobile-account-button { display: grid; width: 32px; height: 32px; min-height: 32px; place-items: center; font-size: 12px; flex-shrink: 0; }
body:not([data-active-view="today"]) .mobile-account-button { margin-right: auto; }
.top-actions { gap: 15px; }
.icon-button, .dialog-close { width: 34px; height: 34px; border: 0; background: transparent; box-shadow: none; }
.icon-button:hover { box-shadow: none; background: #f2f2f4; transform: none; }
.top-new-button { font-size: 0; min-width: 32px; width: 32px; height: 32px; min-height: 32px; padding: 0; border: 1.5px solid #47474b; border-radius: 50% !important; background: transparent; color: var(--ink); }
.top-new-button > span { display: grid; place-items: center; width: 100%; height: 100%; margin: 0; font-size: 22px; font-weight: 400; line-height: 1; }
.primary-button, .ghost-button, .danger-button { min-height: 40px; font-size: 13px; font-weight: 500; box-shadow: none; }
.primary-button { background: #303036; color: #fff; }
.primary-button:hover { background: #111115; box-shadow: none; transform: none; }
.ghost-button { border: 1px solid #e5e5e9; background: #fff; color: var(--ink); }
.primary-button > span { font-weight: 400; }
.primary-button.top-new-button { display: block; overflow: hidden; font-size: 0; background: transparent; color: var(--ink); }
.view > :is(.medications-head,.notes-head,.instagram-head,.finance-head,.report-head) { margin: 0 0 24px; gap: 15px; align-items: center; }
.view > :is(.medications-head,.notes-head,.instagram-head,.finance-head,.report-head) h2 { font-size: 25px; font-weight: 500; letter-spacing: -.6px; margin: 0; line-height: 1.3; }
.view > :is(.medications-head,.notes-head,.instagram-head,.finance-head,.report-head) p,
.view > :is(.medications-head,.notes-head,.instagram-head,.finance-head,.report-head) .soft-label,
.section-heading .soft-label, .finance-library-head .soft-label, .finance-library-head p,
.instagram-library-head .soft-label, .calendar-mode-bar > div:first-child,
.calendar-head .soft-label, .week-panel-head .soft-label, .instagram-calendar-head .soft-label,
.finance-report-heading .soft-label, .finance-report-heading p,
.instagram-agenda-note, .notes-empty p, .notes-empty-icon,
.notes-overview small, .instagram-stat-grid small, .med-stat small { display: none; }
.section-heading { margin-bottom: 18px; gap: 14px; }
.section-heading h2, .section-heading h3, .finance-library-head h3, .instagram-library-head h3 { margin: 0; font-size: 17px; font-weight: 500; letter-spacing: -.2px; }
.soft-label { font-size: 11px; font-weight: 500; letter-spacing: .05em; }
.date-pager { gap: 6px; }
.date-pager button { min-width: 32px; height: 32px; border: 0; background: transparent; font-size: 21px; color: #9c9ca2; }
.date-pager .date-chip { min-height: 32px; padding: 0 10px; font-size: 12px; color: #424248; background: #f3f3f5; white-space: nowrap; }
.date-pager button:hover { color: var(--ink); background: #f4f4f6; }
:is(.calendar-card,.selected-day-card,.day-progress-card,.med-panel,.medications-library,.notes-library,.instagram-card,.chart-card,.finance-card-panel) { border: 0; background: transparent; box-shadow: none; }
:is(.med-panel,.medications-library,.notes-library,.instagram-card,.chart-card,.finance-card-panel) { padding: 22px 0; border-top: 1px solid var(--line); border-radius: 0 !important; }
:is(.metric-card,.med-stat,.notes-overview article,.instagram-stat-grid article)::after,
.next-card::before,.next-card::after,.next-dose-card::after { display: none; }
:is(.medication-card,.note-card,.instagram-content-card,.finance-credit-card,.finance-recurring-card):hover { transform: none; box-shadow: none; }
:is(.finance-tabs,.instagram-tabs,.report-tabs,.notes-filter,.med-filter,.instagram-filters,.calendar-mode-toggle) { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 0 10px; background: transparent; box-shadow: none; border-bottom: 1px solid var(--line); border-radius: 0 !important; }
:is(.finance-tabs,.instagram-tabs,.report-tabs,.notes-filter,.med-filter,.instagram-filters,.calendar-mode-toggle) button { flex: 0 1 auto; min-height: 34px; padding: 0 13px; font-size: 12px; font-weight: 400; background: transparent; color: #8c8c93; white-space: nowrap; }
:is(.finance-tabs,.instagram-tabs,.report-tabs,.notes-filter,.med-filter,.instagram-filters,.calendar-mode-toggle) button.is-active { color: #222228; background: #f0f0f2; box-shadow: none; font-weight: 600; }
:is(.finance-tabs,.instagram-tabs,.report-tabs) { margin-bottom: 24px; }
:is(.notes-filter,.med-filter,.instagram-filters) { border: 0; padding-bottom: 0; }
:is(.finance-text-button,.instagram-text-button) { min-height: 32px; font-size: 12px; font-weight: 400; border: 0; padding: 0 8px; background: transparent; color: var(--muted); }

/* Month grid and day list, drawn from the supplied agenda reference. */
.calendar-mode-bar { justify-content: flex-end; margin-bottom: 14px; padding: 0; border: 0; background: transparent; }
.calendar-mode-toggle { border: 0; padding: 0; }
.calendar-layout { grid-template-columns: minmax(0,1.15fr) minmax(260px,1fr); gap: 48px; align-items: start; }
.calendar-card { padding: 12px 0 24px; }
.calendar-head { margin-bottom: 28px; gap: 14px; }
.calendar-head h2 { margin: 0; font-size: 25px; font-weight: 500; letter-spacing: -.4px; }
.weekdays { font-size: 12px; color: #616169; font-weight: 400; text-transform: none; margin-bottom: 12px; }
.calendar-grid { gap: 0; }
.calendar-day { display: flex; min-height: 56px; flex-direction: column; align-items: center; justify-content: center; padding: 4px 0; border: 0; border-radius: 0 !important; color: #333339; }
.calendar-day.is-outside { color: #bcbcc2; }
.calendar-day.is-selected, .calendar-day:hover { background: transparent; }
.day-number, .calendar-day.is-today .day-number { display: grid; place-items: center; width: 34px; height: 34px; margin: 0; border: 1px solid transparent; border-radius: 12px !important; font-size: 13px; font-weight: 400; color: inherit; background: transparent; }
.calendar-day.has-events .day-number { border-color: color-mix(in srgb, var(--day-accent) 48%, white); }
.calendar-day.is-today .day-number { font-weight: 700; background: #f0f0f2; color: #222228; }
.calendar-day.is-selected .day-number { border-color: #7f7f88; box-shadow: 0 0 0 2px #f2f2f5; }
.calendar-day:hover .day-number { background: #f4f4f6; }
.day-dots { min-height: 5px; gap: 3px; margin-top: 3px; }
.day-dots i { width: 4px; height: 4px; border-radius: 50% !important; }
.day-more { position: absolute; bottom: 0; right: 4px; font-size: 10px; }
.selected-day-card { padding: 18px 0 20px 26px; border-left: 1px solid var(--line); border-radius: 0 !important; }
.selected-date { gap: 8px; align-items: baseline; padding: 0 40px 18px 0; }
.selected-date strong { color: #333339; font-size: 19px; font-weight: 500; letter-spacing: -.3px; }
.selected-date span { font-size: 12px; color: #82828b; text-transform: capitalize; }
.selected-date span br { display: block; }
.small-add-button { top: 17px; right: 0; width: 27px; height: 27px; border: 1px solid #b7b7bd; background: transparent; color: #51515a; font-size: 20px; font-weight: 400; border-radius: 50% !important; }
.selected-day-list { gap: 0; margin-top: 8px; }
.selected-event { position: relative; display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 5px 17px; padding: 18px 0; border: 0; border-bottom: 1px solid #f1f1f3; border-radius: 0 !important; background: transparent; }
.selected-event::before { content: ""; position: absolute; left: 53px; top: 23px; width: 6px; height: 6px; border-radius: 50%; background: var(--event-color); }
.selected-event time { grid-column: 1; grid-row: 1 / 3; font-size: 13px; font-weight: 400; color: #9999a0; }
.selected-event strong { grid-column: 2; margin: 0; font-size: 14px; font-weight: 500; line-height: 1.5; }
.selected-event-meta { grid-column: 2; flex-wrap: wrap; }
.selected-event-meta > span { margin: 0; font-size: 12px; font-weight: 400; }
.selected-event .priority-badge { font-size: 10px; }
.mini-empty { min-height: 140px; display: grid; place-items: center; padding: 24px 10px; font-size: 13px; color: #96969d; }
.week-panel { padding: 18px 0; border: 0; background: transparent; box-shadow: none; }
.week-panel-head h2 { font-size: 23px; font-weight: 500; }
.week-panel-head p { font-size: 12px; color: var(--muted); }
.week-grid { background: transparent; border-color: var(--line); }
.week-day { background: transparent; }
.week-day > header { background: transparent; }
.week-day > header strong { font-weight: 500; color: #35353c; }
.week-event { border: 0; border-left: 2px solid #c5c5cf; background: #f7f7f9; box-shadow: none; }
.week-event strong { font-size: 13px; font-weight: 500; line-height: 1.4; }
.week-event-time,.week-event-meta { font-size: 11px; }
.week-day-add { color: #80808a; font-size: 12px; background: transparent; }

/* Today: compact highlights followed by a light timeline. */
.today-layout { grid-template-columns: minmax(0,1.6fr) minmax(215px,1fr); gap: 18px; }
.next-card { min-height: 170px; padding: 22px; background: #f4f4f6; color: var(--ink); box-shadow: none; border: 1px solid #efeff2; }
.next-card .soft-label { color: #8b8b93; font-size: 11px; }
.live-pill { display: none; }
.next-card-content { min-height: 75px; padding: 0; margin: 15px 0; gap: 20px; grid-template-columns: 105px minmax(0,1fr); }
.next-card-content:has(.next-empty-copy) { grid-template-columns: 1fr; min-height: 36px; }
.next-copy { padding-left: 0; border: 0; }
.next-time { letter-spacing: -.8px; }
.next-time { font-size: 29px; font-weight: 500; color: #39393f; }
.next-countdown { color: #8b8b93; font-size: 12px; }
.next-copy h2 { color: var(--ink); font-size: 19px; font-weight: 500; }
.next-copy p { color: var(--muted); font-size: 12px; }
.next-copy .category-tag { color: #7f7f88; background: transparent; padding: 0; }
.next-card-footer { border-color: #e7e7ec; padding-top: 12px; }
.reminder-preview { color: #83838d; font-size: 11px; }
.next-card-footer .text-button { color: #51515a; font-size: 12px; font-weight: 400; }
.day-progress-card { display: grid; grid-template-columns: 1fr auto; align-items: center; align-content: center; padding: 20px; border: 1px solid var(--line); background: #fff; }
.day-progress-card .section-heading { grid-column: 1 / -1; }
.day-progress-card .section-heading h3 { font-size: 14px; }
.progress-ring-wrap { display: contents; }
.progress-ring { position: relative; width: 80px; height: 80px; flex-shrink: 0; margin: 0; }
.progress-ring::before { position: absolute; inset: 7px; width: auto; height: auto; }
.progress-ring > div { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 3px; }
.progress-ring strong { font-size: 22px; font-weight: 500; }
.progress-ring span { font-size: 11px; }
#progress-message { display: none; }
.progress-legend { flex-direction: column; gap: 8px; margin: 0; font-size: 11px; }
#progress-percent { font-size: 15px; color: #424248; font-weight: 500; }
.schedule-section { margin-top: 30px; }
.priority-toolbar { margin: 0 0 14px; gap: 4px; padding: 0; background: transparent; }
.priority-toolbar > span { display: none; }
.priority-toolbar button { background: transparent; font-size: 12px; font-weight: 400; color: var(--muted); }
.priority-toolbar button.is-active { background: #f1f1f4; color: var(--ink); box-shadow: none; }
.timeline::before { display: none; }
.timeline-item { grid-template-columns: 48px 8px minmax(0,1fr) 28px; gap: 16px; margin-bottom: 0; padding: 17px 0; border-bottom: 1px solid var(--line); }
.timeline-time { padding-top: 5px; font-size: 13px; font-weight: 400; color: #92929b; }
.timeline-dot { width: 6px; height: 6px; margin-top: 10px; border: 0; border-radius: 50% !important; box-shadow: none; background: var(--event-color); }
.timeline-card { min-height: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.timeline-card:hover { transform: none; background: transparent; box-shadow: none; }
.timeline-card .event-color-bar { display: none; }
.timeline-copy h3 { font-size: 14px; line-height: 1.5; font-weight: 500; }
.timeline-copy p { font-size: 12px; color: #96969e; }
.priority-badge { min-height: 18px; padding: 2px 5px; font-size: 10px; font-weight: 500; }
.priority-badge.priority-normal, .priority-badge.priority-low { display: none; }
.complete-button { width: 23px; height: 23px; margin-top: 4px; border-color: #dedee4; }
.empty-state { min-height: 150px; margin: 0; border: 0; border-top: 1px solid var(--line); background: transparent; }
.empty-state strong { font-size: 14px; font-weight: 400; color: #93939c; }
.empty-state span { font-size: 12px; }
.focus-panel { border: 0; border-left: 2px solid #d68b98; background: #fdf9fa; box-shadow: none; padding: 16px; }
.focus-panel h2 { font-size: 17px; }
.focus-panel .soft-label { display: none; }
.focus-event { background: transparent; box-shadow: none; }

/* Summaries become one quiet row, without decoration or oversized cards. */
.notes-overview,.medication-stat-grid,.instagram-stat-grid,.finance-stat-grid,.metrics-grid { gap: 0; margin-bottom: 22px; background: transparent; }
.notes-overview article,.med-stat,.instagram-stat-grid article,.finance-stat,.metric-card,.report-metrics-four .metric-card { min-height: 0; padding: 12px 18px; border: 0; border-right: 1px solid var(--line); border-radius: 0 !important; background: transparent; box-shadow: none; }
:is(.notes-overview,.medication-stat-grid,.instagram-stat-grid,.finance-stat-grid,.metrics-grid) > :last-child { border-right: 0; }
.notes-overview span,.med-stat > span,.instagram-stat-grid span,.finance-stat span,.metric-card span { font-size: 12px; font-weight: 400; color: #85858e; text-transform: none; letter-spacing: 0; }
.notes-overview strong,.med-stat strong,.instagram-stat-grid strong,.finance-stat strong,.metric-card strong,.report-metrics-four .metric-card strong { display: block; color: #333339; font-size: 24px; line-height: 1.2; font-weight: 500; letter-spacing: -.6px; margin: 8px 0 2px; overflow-wrap: anywhere; }
.finance-stat small,.metric-card small { font-size: 11px; line-height: 1.4; }
.finance-stat.income strong { color: #478e78; }
.finance-stat.expense strong,.finance-stat.debt strong { color: #9c6572; }
.finance-stat.pending strong { color: #a88554; }

/* Medication schedule keeps all dosing and confirmation controls. */
.medication-overview { grid-template-columns: minmax(0,1fr) minmax(310px,1fr); gap: 24px; align-items: center; }
.next-dose-card { min-height: 138px; padding: 20px; background: #f4f5f6; color: var(--ink); box-shadow: none; border: 1px solid #eeeef1; }
.next-dose-top .soft-label { color: #898992; }
.med-live-pill,.medicine-bottle { display: none; }
.next-dose-content { grid-template-columns: minmax(0,1fr) auto; gap: 12px; margin-top: 14px; }
.next-dose-content strong { font-size: 20px; color: var(--ink); font-weight: 500; letter-spacing: -.4px; }
.next-dose-content p,.next-dose-copy > span { color: #81818a; font-size: 12px; letter-spacing: 0; text-transform: none; }
.next-dose-content time { font-size: 26px; font-weight: 400; color: #3e3e47; letter-spacing: -.6px; grid-column: auto; }
.medication-day-grid { grid-template-columns: minmax(0,1.6fr) minmax(230px,.8fr); gap: 26px; }
.dose-card { border: 0; border-bottom: 1px solid var(--line); border-radius: 0 !important; background: transparent; padding: 15px 0; gap: 12px; }
.dose-card.is-late { background: transparent; border-color: #ebdcd7; }
.dose-card.is-taken { background: transparent; }
.dose-card > time { color: #92929b; font-size: 13px; font-weight: 400; }
.dose-main { flex-wrap: wrap; gap: 8px; }
.dose-main h3 { font-size: 14px; font-weight: 500; }
.dose-main p { font-size: 12px; }
.dose-status { font-size: 10px; font-weight: 500; text-transform: none; letter-spacing: 0; padding: 4px 6px; white-space: normal; }
.dose-action { font-size: 12px; min-height: 34px; font-weight: 500; }
.adherence-panel h3 { font-size: 16px; font-weight: 500; }
.adherence-panel > .soft-label { display: none; }
.adherence-legend span { font-size: 12px; }
.medication-card-grid { margin-top: 14px; }
.medication-card { padding: 18px; border-color: #ededf0; background: #fff; box-shadow: none; }
.medication-card.needs-refill { background: #fff; border-color: #e9ded4; }
.medication-card-copy h3 { font-size: 16px; font-weight: 500; }
.medication-card-copy p,.stock-block strong,.stock-block span { font-size: 12px; }
.stock-block small,.medication-status { font-size: 11px; }
.medication-card-actions button { font-size: 12px; font-weight: 500; }
.med-empty { font-size: 13px; }
.med-empty strong { font-size: 14px; font-weight: 400; }

/* Notes and content: quiet surfaces, colored markers only. */
.notes-library { min-height: 230px; }
.notes-search input { height: 38px; font-size: 13px; border: 0; background: #f4f4f6; }
.notes-toolbar { gap: 12px; }
.notes-empty { min-height: 200px; padding: 25px 0; }
.notes-empty strong { color: #8b8b93; font-size: 14px; font-weight: 400; margin-bottom: 15px; }
.notes-empty button { font-size: 12px; font-weight: 500; background: #f0f0f3; color: #53535c; }
.note-card { background: #fff; border: 1px solid var(--line); box-shadow: none; }
.note-card h3 { font-size: 16px; font-weight: 500; }
.note-card-body p { font-size: 13px; line-height: 1.6; }
.note-card.is-pinned { background: #fff; }
.note-card { border-top: 2px solid var(--note-color); }
.note-card-footer > small { font-size: 11px; }
.note-share-button { font-size: 11px; font-weight: 500; min-height: 32px; }
.note-share-button i { font-size: 11px; }
.note-agenda-chip { font-size: 11px; }
.instagram-upcoming-item,.instagram-public-item { padding: 15px 0; border-bottom: 1px solid var(--line); background: transparent; }
.instagram-upcoming-item strong,.instagram-public-item strong { font-size: 14px; font-weight: 500; }
.instagram-upcoming-item small,.instagram-public-item small { font-size: 12px; }
.instagram-status { font-size: 11px; font-weight: 500; }
.instagram-format-icon { background: #f2f2f5; color: #7c7c88; font-size: 11px; }
.instagram-format-row { font-size: 12px; }
.instagram-empty { padding: 40px 14px; font-size: 13px; background: transparent; color: #92929b; }
.instagram-content-cover { min-height: 50px; background: #f6f6f8; color: #90909b; font-size: 12px; font-weight: 400; }
.instagram-content-card { box-shadow: none; }
.instagram-content-body { padding: 18px; }
.instagram-content-body h3 { font-size: 16px; font-weight: 500; }
.instagram-content-body p { font-size: 13px; }
.instagram-content-meta { font-size: 12px; }
.instagram-content-actions button,.instagram-public-item button { font-size: 12px; font-weight: 400; }
.instagram-calendar-head h3 { font-size: 24px; font-weight: 500; }
.instagram-calendar-grid,.instagram-calendar-weekdays { gap: 3px; }
.instagram-calendar-day { min-height: 80px; padding: 7px; border: 0; background: transparent; }
.instagram-calendar-day.is-today { box-shadow: inset 0 0 0 1px #d5d5de; }
.instagram-calendar-day > span { font-size: 12px; }
.instagram-calendar-post { font-size: 11px; font-weight: 500; }
.instagram-share-form > p { font-size: 13px; line-height: 1.5; }
.instagram-setting b { font-size: 13px; font-weight: 500; }
.instagram-setting small { font-size: 11px; line-height: 1.5; }
.instagram-share-link input { font-size: 13px; }
.instagram-editor-screen { background: #fdfdfd; }
.instagram-editor-screen .dialog-head h2 { font-size: 25px; font-weight: 500; }

/* Finance retains paid/pending labels, payment history and month controls. */
.finance-head h2 { align-items: baseline; }
.finance-title-month { padding: 0; background: transparent; font-size: 14px; font-weight: 400; color: #9b9ba4; }
.finance-balance-card { min-height: 125px; padding: 22px; border: 1px solid #eeeef2; background: #f5f5f7; color: var(--ink); box-shadow: none; }
.finance-balance-card span,.finance-balance-card small { color: #81818b; font-size: 12px; }
.finance-balance-card strong { font-size: 32px; color: #303038; font-weight: 500; }
.finance-balance-card strong.is-negative { color: #b15e73; }
.finance-balance-side { border: 0; border-left: 1px solid #dfdfe6; background: transparent; padding: 4px 0 4px 22px; border-radius: 0 !important; }
.finance-balance-side strong { font-size: 23px; }
.finance-panel[data-finance-panel="transactions"],.finance-panel[data-finance-panel="recurring"],.finance-panel[data-finance-panel="cards"] { padding: 12px 0; background: transparent; border: 0; box-shadow: none; }
.finance-alert-item { padding: 12px 0; background: transparent; border-bottom: 1px solid var(--line); }
.finance-alert-item strong,.finance-alert-item > b { font-size: 13px; font-weight: 500; }
.finance-alert-item small { font-size: 11px; }
.finance-alert-date { font-size: 11px; font-weight: 500; }
.finance-category-row > div { font-size: 12px; }
.finance-auto-summary { min-height: 75px; background: transparent; padding: 14px 0; }
.finance-auto-summary .soft-label { font-size: 11px; }
.finance-auto-summary h3 { font-size: 15px; }
.finance-summary-icon { width: 34px; height: 34px; font-size: 16px; color: #888891; background: #f0f0f3; box-shadow: none; }
.finance-auto-summary p { font-size: 12px; line-height: 1.5; }
.finance-transaction-list { gap: 0; }
.finance-transaction-item { padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; }
.finance-transaction-copy strong { font-size: 14px; font-weight: 500; }
.finance-transaction-copy small { font-size: 11px; flex-wrap: wrap; }
.finance-transaction-value { font-size: 14px; font-weight: 500; }
.finance-status,.finance-paid-pill { font-size: 11px; font-weight: 500; white-space: nowrap; }
.finance-recurring-card { padding: 18px; }
.finance-recurring-top > span,.finance-recurring-top button { font-size: 12px; font-weight: 400; }
.finance-recurring-card > strong { font-size: 15px; font-weight: 500; }
.finance-recurring-card > b { font-size: 23px; font-weight: 500; }
.finance-recurring-card > div:not(.finance-recurring-top),.finance-recurring-card > small { font-size: 12px; line-height: 1.5; }
.finance-credit-card { min-height: 190px; border: 1px solid var(--line); border-top: 3px solid var(--card-color); background: #fafafa; color: var(--ink); box-shadow: none; }
.finance-card-top,.finance-card-footer,.finance-card-debt span,.finance-credit-card > small { color: #86868f; font-size: 12px; }
.finance-card-top button { color: var(--muted); }
.finance-credit-card > strong { font-size: 18px; font-weight: 500; }
.finance-card-debt b { font-size: 15px; font-weight: 500; }
.finance-card-progress { background: #ededf2; }
.finance-card-progress i { background: var(--card-color); }
.finance-invoice-item { padding: 15px 0; border: 0; border-bottom: 1px solid var(--line); }
.finance-invoice-item strong,.finance-invoice-values b { font-size: 14px; font-weight: 500; }
.finance-invoice-item small { font-size: 11px; line-height: 1.5; }
.finance-payment-history-title,.finance-payment-history-row b,.finance-payment-history-row small,.finance-payment-history-row button { font-size: 12px; }
.finance-empty,.finance-empty.large { min-height: 155px; background: transparent; }
.finance-empty span,.finance-empty small { display: none; }
.finance-empty strong { font-size: 14px; color: #92929b; font-weight: 400; }
.report-month-picker input { border: 0; background: #f4f4f6; font-size: 13px; }
.report-tabs { position: static; }
.chart-card { min-height: 240px; }
.category-row span,.category-row strong,.weekday-bar span,.weekday-bar strong { font-size: 12px; font-weight: 400; }
.insight-copy { font-size: 12px; color: var(--muted); }
.report-status-row,.report-medication-row,.finance-report-card-row,.finance-report-transaction-row { box-shadow: none; }
.finance-report-heading { background: transparent; padding: 0 0 18px; border: 0; }
.finance-report-heading h3 { font-size: 19px; font-weight: 500; }
.finance-report-balance { background: var(--line); color: var(--ink); }
.finance-report-balance > div,.finance-report-balance > div:last-child { background: #f6f6f8; }
.finance-report-balance.is-negative > div:first-child { background: #fbf1f3; color: #a65d6f; }
.finance-report-balance span,.finance-report-balance small { color: #85858f; font-size: 12px; }
.finance-report-balance strong { font-size: 25px; font-weight: 500; }
.report-status-row span,.report-medication-row strong,.finance-report-card-row strong,.finance-report-card-row b { font-size: 13px; font-weight: 500; }
.report-medication-row small,.report-medication-stock b,.finance-report-card-row small,.finance-report-status { font-size: 11px; }
.priority-report-item { padding: 10px; background: transparent; border: 1px solid var(--line); }
.priority-report-item span { font-size: 11px; }

/* Forms stay explicit; only decorative labels are reduced. */
.event-dialog { box-shadow: 0 20px 80px #24242b18; border: 1px solid #e9e9ef; }
.event-dialog::backdrop { background: rgb(35 35 45 / 22%); backdrop-filter: blur(4px); }
.dialog-head h2 { font-size: 24px; font-weight: 500; letter-spacing: -.6px; }
.dialog-head .soft-label { display: none; }
.field > span,.field > label { font-size: 13px; font-weight: 500; }
.field input,.field select,.field textarea { font-size: 15px; background: #fafafa; border-color: #e8e8ed; }
.field small { font-size: 11px; }
.event-form,.instagram-form { color: var(--ink); }
.dialog-actions { gap: 10px; }
.note-editor-shell,.note-pin-toggle > span,.note-sync-toggle,.med-interval-plan { background: #fafafa; }
.note-pin-toggle b,.note-sync-toggle strong { font-size: 12px; }
.note-pin-toggle small,.note-sync-toggle small { font-size: 11px; }
.note-content-field > small { font-size: 11px; }
.med-schedule-mode b,.med-weekday-options span,.add-time-button { font-size: 12px; }
.med-schedule-mode small,.med-schedule-fieldset > p,.med-interval-preview span,.med-interval-preview small { font-size: 11px; }
.med-interval-preview strong { font-size: 13px; color: #575761; }
.med-privacy-toggle strong { font-size: 13px; }
.med-privacy-toggle small { font-size: 11px; }
.auth-body,.account-body { background: #fafafa; }
.auth-layout { display: block; min-height: 100vh; }
.auth-intro { display: none; }
.auth-panel { min-height: 100vh; padding: 30px 20px; }
.auth-card { max-width: 390px; padding: 30px 0; }
.auth-card-heading .eyebrow,.auth-card-heading > p:last-child,.auth-orbit { display: none; }
.auth-card-heading h2,.account-card h2 { font-size: 25px; font-weight: 500; letter-spacing: -.6px; }
.auth-lock { background: #f0f0f4; color: #85858e; box-shadow: none; }
.auth-footnote { font-size: 12px; }
.account-layout { max-width: 1000px; padding: 26px 30px; }
.account-copy h1 { font-size: 28px; font-weight: 500; letter-spacing: -.7px; }
.account-copy > .eyebrow,.account-copy > p:not(.eyebrow) { display: none; }
.account-card { padding: 24px; border: 1px solid var(--line); background: #fff; box-shadow: none; }
.account-card > .eyebrow { display: none; }
.account-card > p { font-size: 13px; }
.account-back { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; height: 30px; font-size: 12px; }
.toast { box-shadow: 0 8px 30px #25253212; }
@media (max-width:1120px) {
  .sidebar { width: 76px; padding: 25px 14px; }
  .sidebar .brand-name,.sidebar .nav-item > span:last-child,.sidebar .profile-copy { display: none; }
  .sidebar .nav-item { justify-content: center; padding: 0; }
  .sidebar .brand,.sidebar-foot { justify-content: center; }
  .main-content { width: calc(100% - 76px); margin-left: 76px; padding: 28px; }
  .calendar-layout { grid-template-columns: minmax(0,1.1fr) minmax(240px,1fr); gap: 28px; }
  .calendar-head { flex-wrap: wrap; gap: 10px; }
  .medication-overview { grid-template-columns: 1fr; }
  .medication-stat-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .medication-day-grid { grid-template-columns: minmax(0,1fr); }
  .adherence-panel { display: grid; grid-template-columns: 140px 1fr; gap: 12px 24px; text-align: left; align-items: center; }
  .adherence-panel h3 { grid-column: 1 / -1; margin: 0; }
  .adherence-ring { margin: 10px 0; }
}
@media (max-width:740px) {
  .sidebar { display: none; }
  .main-content { width: 100%; margin: 0; padding: 24px 22px calc(76px + env(safe-area-inset-bottom)); }
  .topbar { margin-bottom: 23px; align-items: center; }
  .topbar h1 { font-size: 23px; }
  .topbar .eyebrow { font-size: 11px; }
  .top-actions .mobile-account-button { width: 30px; height: 30px; min-height: 30px; }
  .primary-button.top-new-button { display: none; }
  .mobile-nav { position: fixed; left: 0; right: 0; bottom: 0; width: 100%; height: calc(48px + env(safe-area-inset-bottom)); min-height: 48px; padding: 4px 14px calc(4px + env(safe-area-inset-bottom)); grid-template-columns: repeat(5,minmax(0,1fr)); align-items: center; background: rgb(255 255 255 / 95%); border: 0; border-top: 1px solid #eeeef1; border-radius: 0 !important; box-shadow: none; backdrop-filter: blur(14px); }
  .mobile-nav .nav-item { width: 38px; height: 38px; min-height: 38px; display: grid; place-items: center; align-self: center; justify-self: center; color: #a5a5ad; padding: 0; background: transparent; }
  .mobile-nav .nav-item.is-active { color: #26262c; background: transparent; box-shadow: none; }
  .mobile-nav .mobile-add { display: grid; place-items: center; width: 30px; height: 30px; min-height: 30px; margin: 0; align-self: center; justify-self: center; padding: 0; border: 1.5px solid #36363e; border-radius: 50% !important; background: transparent; color: #36363e; box-shadow: none; font-size: 22px; font-weight: 400; line-height: 1; transform: none; }
  .mobile-more-menu { bottom: calc(60px + env(safe-area-inset-bottom)); right: 12px; border: 1px solid var(--line); background: #fff; box-shadow: 0 8px 30px #29293612; }
  .mobile-more-menu b { font-size: 13px; font-weight: 500; }
  .view > :is(.medications-head,.notes-head,.instagram-head,.finance-head,.report-head) h2 { font-size: 23px; }
  .view > :is(.notes-head,.instagram-head) .primary-button { min-width: 30px; width: 30px; height: 30px; min-height: 30px; padding: 0; border: 1px solid #a4a4ad; border-radius: 50% !important; background: transparent; color: #33333b; font-size: 0; }
  .view > :is(.notes-head,.instagram-head) .primary-button > span { display: grid; place-items: center; width: 100%; height: 100%; font-size: 21px; line-height: 1; }
  .calendar-mode-bar { flex-direction: row; justify-content: flex-end; margin: 0 0 16px; }
  .calendar-mode-toggle { width: auto; }
  .calendar-mode-toggle button { flex: 0 1 auto; }
  .calendar-layout { grid-template-columns: 1fr; gap: 8px; }
  .calendar-card { padding: 0 0 18px; }
  .calendar-head { flex-wrap: nowrap; margin-bottom: 24px; gap: 10px; }
  .calendar-head h2 { font-size: 23px; }
  #calendar-current { font-size: 0; min-width: 25px; padding: 0; background: transparent; }
  #calendar-current::after { content: "↻"; font-size: 20px; color: #73737f; }
  .calendar-head .date-pager { width: auto; gap: 3px; }
  .calendar-day { min-height: 47px; }
  .selected-day-card { padding: 26px 0 10px; border-left: 0; border-top: 1px solid var(--line); }
  .selected-date { padding-bottom: 16px; }
  .small-add-button { top: 26px; }
  .today-layout { grid-template-columns: 1fr; gap: 12px; }
  .next-card { min-height: 0; padding: 20px; }
  .next-card-content { flex-direction: row; gap: 16px; }
  .next-time { font-size: 25px; }
  .next-copy h2 { font-size: 17px; }
  .next-copy p { display: none; }
  .next-card-footer .reminder-preview { display: none; }
  .next-card-footer { justify-content: flex-end; padding-top: 8px; }
  .day-progress-card { display: flex; gap: 16px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0 !important; }
  .day-progress-card .section-heading { flex: 1; margin: 0; }
  .progress-ring { width: 44px; height: 44px; }
  .progress-ring::before { inset: 4px; }
  .progress-ring > div strong { font-size: 14px; }
  .progress-ring > div span { font-size: 10px; }
  .progress-legend { display: none; }
  .schedule-section { margin-top: 22px; }
  .timeline-item { grid-template-columns: 40px 6px minmax(0,1fr) 24px; gap: 11px; }
  .timeline-copy h3 { font-size: 14px; white-space: normal; }
  .timeline-copy p { font-size: 11px; }
  .timeline-title-row { flex-wrap: wrap; gap: 5px; }
  .priority-toolbar { margin-left: 0; }
  .notes-overview,.instagram-stat-grid,.medication-stat-grid { grid-template-columns: repeat(3,minmax(0,1fr)); overflow: visible; }
  .instagram-stat-grid article:last-child { grid-column: auto; }
  .notes-overview article,.med-stat,.instagram-stat-grid article { padding: 8px 12px; }
  .notes-overview article:first-child,.med-stat:first-child,.instagram-stat-grid article:first-child { padding-left: 0; }
  .notes-overview strong,.med-stat strong,.instagram-stat-grid strong { font-size: 22px; }
  .notes-overview span,.med-stat > span,.instagram-stat-grid span { font-size: 11px; }
  .notes-toolbar { align-items: stretch; flex-direction: column; }
  .notes-search { width: 100%; }
  .notes-filter button { flex: 1; }
  .medication-overview { gap: 18px; }
  .next-dose-content { grid-template-columns: minmax(0,1fr) auto; }
  .next-dose-content time { grid-column: auto; }
  .next-dose-content strong { font-size: 18px; }
  .medications-library-head { align-items: stretch; }
  .adherence-panel { grid-template-columns: 130px minmax(0,1fr); }
  .medication-card-grid { grid-template-columns: 1fr; }
  .dose-card .dose-status { white-space: normal; text-align: right; font-size: 10px; }
  .dose-card .dose-main h3 { font-size: 14px; }
  .dose-card .dose-main p { font-size: 12px; }
  .dose-actions { flex-wrap: wrap; }
  .view > .finance-head,.view > .report-head { align-items: stretch; gap: 12px; }
  .finance-head-actions,.finance-head-actions .date-pager { width: 100%; }
  .finance-head-actions .date-pager { display: flex; }
  .finance-head-actions .date-chip { flex: 1; }
  .finance-title-month { font-size: 13px; }
  .finance-tabs,.instagram-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px; }
  .finance-tabs button,.instagram-tabs button { font-size: 12px; min-height: 32px; padding: 0 9px; }
  .finance-balance-card { grid-template-columns: 1fr; min-height: 0; gap: 16px; padding: 20px; }
  .finance-balance-side { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; padding: 14px 0 0; min-width: 0; border-left: 0; border-top: 1px solid #e7e7ed; }
  .finance-balance-side small { flex-basis: 100%; font-size: 11px; }
  .finance-balance-side strong { font-size: 20px; margin: 0; }
  .finance-stat-grid,.metrics-grid,.report-metrics-four { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 0; margin-top: 18px; }
  .finance-stat,.metric-card,.report-metrics-four .metric-card { padding: 0 12px; min-height: 0; }
  .finance-stat:nth-child(odd),.metric-card:nth-child(odd) { padding-left: 0; }
  .finance-stat:nth-child(even),.metric-card:nth-child(even) { border-right: 0; }
  .finance-stat strong,.metric-card strong,.report-metrics-four .metric-card strong { font-size: 22px; }
  .finance-transaction-item { grid-template-columns: 27px minmax(0,1fr) auto 25px; gap: 8px; }
  .finance-transaction-icon { width: 25px; height: 30px; font-size: 16px; }
  .finance-transaction-value { font-size: 12px; }
  .finance-transaction-item .finance-status { display: inline-block; grid-column: 2; grid-row: 2; justify-self: start; line-height: 22px; min-height: 22px; }
  .finance-transaction-item .finance-row-action { grid-column: 4; grid-row: 1; }
  .finance-inline-actions { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .finance-panel[data-finance-panel="transactions"],.finance-panel[data-finance-panel="recurring"],.finance-panel[data-finance-panel="cards"] { padding: 12px 0; }
  .finance-library-head { gap: 10px; flex-wrap: wrap; }
  .finance-library-head .primary-button,.finance-library-head .ghost-button { padding: 0 10px; white-space: nowrap; font-size: 12px; }
  .finance-report-print { min-height: 38px; }
  .report-date-pager { width: 100%; }
  .report-head { align-items: stretch; }
  .report-month-picker { min-width: 0; }
  .report-grid,.finance-overview-grid { grid-template-columns: 1fr; }
  .instagram-calendar-grid,.instagram-calendar-weekdays { min-width: 0; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 2px; }
  .instagram-calendar-day { min-height: 70px; padding: 4px 2px; }
  .instagram-calendar-post { padding: 3px; font-size: 10px; white-space: normal; overflow-wrap: anywhere; }
  .instagram-panel[data-instagram-panel="calendar"] { padding: 14px 0; overflow-x: visible; border: 0; }
  .instagram-calendar-head { flex-wrap: wrap; }
  .instagram-calendar-head h3 { font-size: 22px; }
  .instagram-overview-grid,.instagram-portal-grid { grid-template-columns: 1fr; }
  .event-form { padding: 22px 18px; }
  .dialog-head h2 { font-size: 22px; }
  .field input,.field select,.field textarea { font-size: 16px; }
  .account-layout { padding: 22px; }
  .account-grid { gap: 25px; }
  .account-card { padding: 20px; }
}
@media (max-width:370px) {
  .main-content { padding-left: 17px; padding-right: 17px; }
  .calendar-head h2 { font-size: 21px; }
  .date-pager button { min-width: 28px; }
  .adherence-panel { grid-template-columns: 100px minmax(0,1fr); gap: 15px; }
  .adherence-ring { transform: scale(.78); transform-origin: left center; margin-right: -25px; }
  .finance-tabs button,.instagram-tabs button { padding: 0 7px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .view,.timeline-item,.dose-card,.finance-panel,.instagram-panel,.report-panel { animation: none; }
}

/* One consistent, fine-line icon set. Accessible labels remain in the HTML. */
.side-nav a.nav-item { display: flex; align-items: center; text-decoration: none; }
.mobile-more-menu a small { margin-left: 5px; font-size: 10px; font-weight: 400; color: var(--muted); }
.nav-icon.icon-assistant { --nav-symbol: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%2011a9%209%200%200%201-9%209%2010%2010%200%200%201-4-1l-6%202%202-6a9%209%200%201%201%2017-4Z%22%2F%3E%3Cpath%20d%3D%22M8%2011h8m-8%204h5%22%2F%3E%3C%2Fsvg%3E"); }
.nav-icon.icon-today { --nav-symbol: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%226%22%20height%3D%226%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%2215%22%20y%3D%223%22%20width%3D%226%22%20height%3D%226%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2215%22%20width%3D%226%22%20height%3D%226%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%2215%22%20y%3D%2215%22%20width%3D%226%22%20height%3D%226%22%20rx%3D%221%22%2F%3E%3C%2Fsvg%3E"); }
.nav-icon.icon-calendar { --nav-symbol: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M7%202v6m10-6v6M3%2011h18%22%2F%3E%3C%2Fsvg%3E"); }
.nav-icon.icon-medication { --nav-symbol: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2019a5%205%200%200%201%200-7l7-7a5%205%200%200%201%207%207l-7%207a5%205%200%200%201-7%200zM8%209l7%207%22%2F%3E%3C%2Fsvg%3E"); }
.nav-icon.icon-notes { --nav-symbol: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%222%22%20width%3D%2214%22%20height%3D%2220%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M5%2017h14M9%207h6m-6%204h6%22%2F%3E%3C%2Fsvg%3E"); }
.nav-icon.icon-finance { --nav-symbol: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222%22%20y%3D%225%22%20width%3D%2220%22%20height%3D%2215%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M2%2010h20m-15%206h4%22%2F%3E%3C%2Fsvg%3E"); }
.nav-icon.icon-instagram { --nav-symbol: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2218%22%20height%3D%2218%22%20rx%3D%225%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M17.5%206.5h.01%22%2F%3E%3C%2Fsvg%3E"); }
.nav-icon.icon-chart { --nav-symbol: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%203v18h18M7%2016v-4m5%204V7m5%209V3%22%2F%3E%3C%2Fsvg%3E"); }
.nav-icon.icon-more { --nav-symbol: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%224%22%20cy%3D%2212%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%221.3%22%2F%3E%3Ccircle%20cx%3D%2220%22%20cy%3D%2212%22%20r%3D%221.3%22%2F%3E%3C%2Fsvg%3E"); }
.sidebar .nav-icon,.mobile-nav .nav-icon,.mobile-more-menu .nav-icon { width: 21px; height: 21px; flex-shrink: 0; margin: 0; border: 0; border-radius: 0 !important; background: currentColor; box-shadow: none; transform: none; mask: var(--nav-symbol) center / contain no-repeat; -webkit-mask: var(--nav-symbol) center / contain no-repeat; }
.sidebar .nav-icon::before,.sidebar .nav-icon::after,.mobile-nav .nav-icon::before,.mobile-nav .nav-icon::after,.mobile-more-menu .nav-icon::before,.mobile-more-menu .nav-icon::after { display: none; }

/* Shared planner portal uses the same neutral surfaces. */
.portal-shell { max-width: 900px; }
.portal-shell h1 { font-size: 28px; font-weight: 500; letter-spacing: -.6px; }
.portal-brand { font-size: 19px; font-weight: 500; margin-bottom: 30px; }
.portal-mark { color: #44444d; background: #f0f0f4; box-shadow: none; }
.portal-subtitle,.portal-shell > header .portal-eyebrow { display: none; }
.portal-card,.portal-access,.portal-error { border-color: var(--line); box-shadow: none; }
.portal-cover { min-height: 45px; color: #8b8b97; background: #f7f7f9; font-size: 12px; font-weight: 400; }
.portal-format { color: #777783; background: #f0f0f4; font-size: 11px; font-weight: 500; }
.portal-date { font-size: 12px; }
.portal-card h2 { font-size: 17px; font-weight: 500; }
.portal-copy { font-size: 14px; line-height: 1.6; }
.portal-button,.portal-password button { border-color: #37373e; background: #37373e; font-size: 12px; font-weight: 500; }
.portal-link { font-size: 12px; font-weight: 500; }
