/* Inicio uses the approved green identity; no advertising or remote assets. */
.home-dashboard { --hd-gap: 18px; display: grid; gap: 24px; min-width: 0; }
.home-dashboard *, .home-dashboard *::before, .home-dashboard *::after { box-sizing: border-box; }
.home-dashboard .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.home-dashboard svg { width: 19px; height: 19px; flex-shrink: 0; }
.hd-welcome { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 2px 0 0; }
.hd-overline { color: var(--brand); font-size: 10px; font-weight: 700; letter-spacing: .11em; line-height: 1.6; }
.hd-welcome h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 650; line-height: 1.15; letter-spacing: -.045em; margin: 8px 0 10px; }
.hd-welcome p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.7; }
.hd-today { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; white-space: nowrap; }
:root[data-theme] body .home-dashboard .card { padding: 22px; min-width: 0; border-radius: 21px; }
:root[data-theme] body .home-dashboard .hd-toolbar { padding: 12px 16px; }
.hd-toolbar-main { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hd-toolbar .period-row { margin-right: auto; }
.hd-toolbar .button { display: inline-flex; align-items: center; gap: 6px; }
.home-dashboard select, .home-dashboard input { min-height: 44px; max-width: 100%; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 11px; padding: 10px 12px; font-size: 12px; }
.hd-account-filter { min-width: 0; }
.hd-account-filter select { width: 210px; }
.hd-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 12px; align-items: end; }
.hd-filters label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; }
.hd-filters p { grid-column: 1 / -1; font-size: 12px; color: var(--muted); margin: 0; line-height: 1.6; }
.hd-selection-summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: -8px; }
.hd-selection-summary p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; margin: 0; line-height: 1.6; }
.hd-selection-summary b { color: var(--text); font-weight: 600; }
.hd-selection-summary > div { display: flex; gap: 8px; flex-shrink: 0; }
.hd-metrics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
:root[data-theme] body .home-dashboard .hd-metric { display: flex; flex-direction: column; min-height: 192px; padding: 18px 16px; }
.hd-metric-label { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 11px; color: var(--muted); font-weight: 650; line-height: 1.5; }
.hd-info { color: var(--muted); font-size: 12px; cursor: help; }
.hd-metric-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 20px; width: 20px; height: 20px; border-radius: 5px; }
.home-dashboard .hd-metric-icon svg { width: 17px; height: 17px; }
.hd-metric-icon:hover, .hd-metric-icon:focus-visible { color: var(--brand); }
.hd-number { font-size: clamp(22px, 2vw, 30px); font-weight: 650; letter-spacing: -.045em; font-variant-numeric: tabular-nums; margin: 15px 0 6px; line-height: 1.2; overflow-wrap: anywhere; }
.hd-metric-visual { margin-top: auto; min-height: 44px; display: flex; flex-direction: column; justify-content: center; }
.hd-metric p { font-size: 10px; line-height: 1.6; color: var(--muted); margin: 8px 0 0; min-height: 32px; }
.hd-gauge { position: relative; margin: 12px auto 0; width: min(100%, 140px); }
.home-dashboard .hd-gauge svg { width: 100%; height: auto; display: block; }
.hd-gauge-track, .hd-gauge-fill { fill: none; stroke-width: 9; }
.hd-gauge-track { stroke: var(--line); }
.hd-gauge-fill { stroke: var(--brand); }
.hd-gauge strong { position: absolute; inset: auto 0 4px; text-align: center; font-size: clamp(19px, 1.9vw, 27px); font-weight: 650; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.home-dashboard .hd-spark { display: block; width: 100%; height: auto; overflow: visible; }
.hd-spark.compact { height: 45px; }
.hd-line { fill: none; stroke: var(--brand); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.hd-area { fill: var(--brand); opacity: .1; }
.hd-dot { fill: var(--brand); }
.hd-gridline { stroke: var(--line); stroke-width: 1; }
.hd-spark text { font: 10px var(--font-sans); fill: var(--muted); }
.hd-meter { width: 100%; height: 7px; border-radius: 8px; background: var(--surface-soft); overflow: hidden; }
.hd-meter i { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.hd-scale { display: flex; justify-content: space-between; font-size: 9px; color: var(--muted); margin-top: 8px; }
.hd-split-meter { display: flex; gap: 3px; height: 7px; border-radius: 8px; overflow: hidden; background: var(--surface-soft); }
.hd-split-meter i { background: var(--positive); min-width: 0; }
.hd-split-meter i + i { background: var(--negative); }
.hd-dd-line { border-bottom: 1px dashed var(--muted); opacity: .65; }
.hd-main-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: var(--hd-gap); align-items: stretch; }
.hd-right-stack { display: flex; flex-direction: column; gap: var(--hd-gap); min-width: 0; }
.hd-right-stack > .hd-equity { flex: 1; }
.hd-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.hd-card-heading > div { min-width: 0; }
.hd-card-heading h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; line-height: 1.6; font-weight: 700; letter-spacing: -.01em; }
.hd-card-heading h3 svg { color: var(--brand); width: 17px; height: 17px; }
.hd-card-heading p { font-size: 11px; line-height: 1.7; margin: 6px 0 0; color: var(--muted); }
.hd-link { display: inline-flex; align-items: center; justify-content: flex-start; gap: 6px; border: 0; color: var(--muted); background: none; font-weight: 600; padding: 0; min-height: 44px; font-size: 11px; line-height: 1.6; cursor: pointer; text-align: left; }
.hd-link:hover { color: var(--brand); }
.hd-card-heading > .hd-link { margin-top: -11px; flex-shrink: 0; }
.hd-month-control { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -4px 0 16px; }
.hd-month-control > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.hd-month-control strong { text-transform: capitalize; font-size: 14px; font-weight: 650; }
:root[data-theme] body .home-dashboard .hd-month-control .button { padding: 5px 12px; min-width: 44px; }
.hd-chip { display: inline-block; background: var(--surface-soft); border-radius: 20px; padding: 4px 8px; font-size: 10px; font-variant-numeric: tabular-nums; }
.hd-calendar-scroll { overflow: auto; scrollbar-width: thin; border-radius: 10px; }
.hd-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)) minmax(64px, .95fr); gap: 6px; }
.hd-weekday { background: var(--surface-soft); color: var(--muted); border-radius: 7px; padding: 10px 2px; text-align: center; font-size: 9px; font-weight: 650; }
.hd-cal-day, .hd-cal-blank, .hd-week-total { min-height: 90px; border-radius: 11px; }
.hd-cal-day { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 9px 6px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-family: inherit; text-align: left; min-width: 0; cursor: pointer; }
.hd-cal-day > span { font-size: 11px; font-weight: 650; }
.hd-cal-day > b { max-width: 100%; font-size: 10px; font-weight: 650; overflow-wrap: anywhere; line-height: 1.4; font-variant-numeric: tabular-nums; }
.hd-cal-day > small { font-size: 9px; color: var(--muted); line-height: 1.4; }
.hd-cal-day.win { background: color-mix(in srgb, var(--brand-soft) 65%, var(--surface)); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.hd-cal-day.win b { color: var(--positive); }
.hd-cal-day.loss { background: var(--danger-soft); border-color: color-mix(in srgb, var(--negative) 35%, var(--line)); }
.hd-cal-day.loss b { color: var(--negative); }
.hd-cal-day.today { box-shadow: inset 0 0 0 1px var(--brand); border-color: var(--brand); }
.hd-cal-day.future > span { color: var(--muted); }
.hd-cal-day:hover { border-color: var(--brand); background: var(--surface-soft); }
.hd-cal-blank { opacity: .4; background: var(--surface-soft); }
.hd-week-total { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 9px 7px; border: 1px solid var(--line); background: var(--surface-soft); min-width: 0; }
.hd-week-total small, .hd-week-total span { font-size: 9px; color: var(--muted); }
.hd-week-total b { font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.hd-card-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-top: 12px; font-size: 11px; color: var(--muted); line-height: 1.6; }
.hd-card-footer small { display: block; font-size: 10px; }
.hd-sample-number { display: flex; gap: 7px; align-items: baseline; font-size: 44px; font-weight: 650; letter-spacing: -.05em; line-height: 1.3; margin-bottom: 12px; }
.hd-sample-number small { font-size: 12px; color: var(--muted); letter-spacing: 0; }
.hd-consistency p { font-size: 12px; line-height: 1.7; margin: 15px 0 8px; }
.hd-consistency > small { color: var(--muted); font-size: 10px; line-height: 1.7; display: block; }
.hd-equity .hd-card-heading { margin-bottom: 8px; }
.hd-equity-total { display: block; font-size: 26px; letter-spacing: -.04em; font-weight: 650; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.hd-chart-dates { display: flex; justify-content: space-between; padding: 0 20px; font-size: 10px; color: var(--muted); }
.hd-drawdown { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; }
.hd-drawdown > span { font-size: 10px; text-transform: uppercase; color: var(--muted); font-weight: 650; letter-spacing: .06em; }
.hd-drawdown p { font-size: 11px; line-height: 1.7; margin: 9px 0 0; padding: 12px; border: 1px dashed var(--line); border-radius: 10px; }
.hd-chart-empty { min-height: 90px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: 12px; line-height: 1.6; padding: 20px; }
.hd-metric .hd-chart-empty { min-height: 40px; padding: 0; font-size: 10px; }
.hd-guide progress, .hd-goal progress { display: block; width: 100%; height: 6px; appearance: none; border: 0; background: var(--surface-soft); border-radius: 10px; overflow: hidden; accent-color: var(--brand); }
.home-dashboard progress::-webkit-progress-bar { background: var(--surface-soft); border-radius: 10px; }
.home-dashboard progress::-webkit-progress-value { background: var(--brand); border-radius: 10px; }
.home-dashboard progress::-moz-progress-bar { background: var(--brand); border-radius: 10px; }
.hd-guide ol { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.hd-guide li { display: flex; align-items: center; gap: 12px; padding: 8px 0; min-width: 0; }
.hd-step-number { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-soft); border: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.hd-guide .done .hd-step-number { background: var(--brand-soft); color: var(--brand); border-color: transparent; }
.hd-guide li > div { flex: 1; min-width: 0; }
.hd-guide li b { display: block; font-size: 12px; font-weight: 600; line-height: 1.6; }
.hd-guide li small { display: block; color: var(--muted); font-size: 10px; line-height: 1.6; margin-top: 4px; }
.hd-guide li .hd-link { flex-shrink: 0; }
.hd-show-guide { margin-top: -12px; }
.hd-secondary-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.2fr); gap: var(--hd-gap); }
.hd-finance-stack { display: flex; flex-direction: column; gap: var(--hd-gap); min-width: 0; }
.hd-muted { color: var(--muted); font-size: 11px; line-height: 1.8; }
.hd-rule-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 28px; }
.hd-rule-summary > div { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); min-width: 0; }
.hd-rule-summary small { color: var(--muted); font-size: 9px; line-height: 1.5; }
.hd-rule-summary b, .hd-rule-summary strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.6; margin-top: 5px; }
.hd-rule-summary strong { font-size: 23px; }
.hd-heatmap { display: grid; grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; margin: 16px 0; }
.hd-heat-cell { display: block; border-radius: 3px; aspect-ratio: 1; background: var(--surface-soft); border: 1px solid var(--line); }
.hd-heat-cell.clean, .hd-heat-legend .clean { background: var(--brand); }
.hd-heat-cell.broken, .hd-heat-legend .broken { background: var(--negative); }
.hd-heat-cell.partial, .hd-heat-legend .partial { background: var(--gold); }
.hd-heat-legend { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 9px; }
.hd-heat-legend span { display: inline-flex; align-items: center; gap: 4px; }
.hd-heat-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; }
.hd-goal-editor { margin-top: 20px; }
.hd-goal-editor summary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 15px; border-radius: 12px; border: 1px solid var(--brand); background: var(--brand-soft); color: var(--brand-strong); font-size: 12px; font-weight: 600; cursor: pointer; }
.hd-goal-editor form { display: grid; gap: 12px; margin-top: 16px; }
.hd-goal-editor p { margin: 0; font-size: 11px; line-height: 1.7; color: var(--muted); }
.hd-goal-editor label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; }
.hd-goal-status { font-size: 11px; color: var(--negative); line-height: 1.7; }
.hd-goal { margin-top: 20px; }
.hd-goal > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-bottom: 9px; font-size: 11px; line-height: 1.6; }
.hd-goal span { color: var(--muted); font-variant-numeric: tabular-nums; }
.hd-finance .hd-overline { font-size: 9px; letter-spacing: .04em; color: var(--muted); }
.hd-finance-net { display: block; font-size: 32px; line-height: 1.3; font-weight: 650; letter-spacing: -.045em; margin-top: 8px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.hd-finance-bars { display: grid; gap: 12px; margin: 20px 0 22px; }
.hd-finance-bars > div { display: grid; grid-template-columns: 50px minmax(15px, 1fr) auto; align-items: center; gap: 10px; font-size: 10px; }
.hd-finance-bars > div > span { color: var(--muted); }
.hd-finance-bars b { font-weight: 600; font-variant-numeric: tabular-nums; }
.hd-finance-bars .expense i { background: var(--gold); }
.hd-finance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); padding-top: 18px; gap: 10px; margin-bottom: 14px; }
.hd-finance-grid > div { display: grid; align-content: start; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; }
.hd-finance-grid span { color: var(--muted); font-size: 8px; font-weight: 650; letter-spacing: .04em; line-height: 1.6; }
.hd-finance-grid strong { font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.3; overflow-wrap: anywhere; }
.hd-finance-grid small { font-size: 9px; color: var(--muted); line-height: 1.6; }
.hd-bottom-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--hd-gap); }
.hd-daily-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hd-daily-stats span { display: block; color: var(--muted); font-size: 10px; }
.hd-daily-stats b { display: block; font-size: 13px; font-weight: 650; margin-top: 7px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.hd-daily-chart { position: relative; display: flex; justify-content: space-around; gap: 10px; height: 235px; overflow-x: auto; margin-top: 24px; padding: 20px 8px 0; background: repeating-linear-gradient(to bottom, transparent 0, transparent 48px, var(--line) 49px, transparent 50px); }
.hd-bar-zero { display: none; }
.hd-daily-column { display: flex; flex-direction: column; align-items: center; background: transparent; border: 0; color: var(--text); min-width: 50px; max-width: 110px; flex: 1; padding: 0; cursor: pointer; position: relative; }
.hd-daily-value { font-size: 10px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hd-bar-space { display: block; flex: 1; width: 100%; position: relative; margin-top: 8px; }
.hd-bar-space::after { content: ""; position: absolute; top:auto; bottom:var(--hd-zero,0%); left: -5px; right: -5px; border-top: 1px solid var(--muted); opacity: .5; }
.hd-bar-space i { display: block; position: absolute; width: min(28px, 65%); left: 50%; transform: translateX(-50%); background: var(--brand); border-radius: 4px 4px 0 0; bottom:var(--hd-zero,0%); }
.hd-bar-space i.loss { bottom:auto; top:calc(100% - var(--hd-zero,0%)); background: var(--negative); border-radius: 0 0 4px 4px; }
.hd-daily-column small { color: var(--muted); font-size: 9px; padding: 10px 0 0; }
.hd-activity-list { display: grid; }
.hd-activity-row { display: flex; align-items: center; width: 100%; gap: 10px; padding: 14px 0; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--text); text-align: left; cursor: pointer; }
.hd-activity-row:hover { background: var(--surface-soft); }
.hd-result-tag { font-size: 9px; font-weight: 700; border-radius: 6px; padding: 6px 7px; background: var(--surface-soft); flex-shrink: 0; }
.hd-activity-row > span:nth-child(2) { flex: 1; min-width: 0; }
.hd-activity-row b { font-size: 12px; font-weight: 650; }
.hd-activity-row small { display: block; font-size: 10px; color: var(--muted); line-height: 1.7; margin-top: 4px; }
.hd-activity-row strong { font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; }
.hd-activity-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 24px; }
.hd-insights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
:root[data-theme] body .home-dashboard .hd-insight { display: flex; align-items: flex-start; gap: 12px; padding: 18px; }
.hd-insight-icon { display: flex; padding: 9px; background: var(--brand-soft); color: var(--brand); border-radius: 11px; flex-shrink: 0; }
.hd-insight > div { min-width: 0; }
.hd-insight div > span { display: block; color: var(--muted); font-size: 9px; font-weight: 600; line-height: 1.7; }
.hd-insight b { display: block; font-size: 13px; font-weight: 650; line-height: 1.6; margin: 4px 0; overflow-wrap: anywhere; }
.hd-insight p { color: var(--muted); font-size: 10px; line-height: 1.7; margin: 0; }
.hd-private-note { display: flex; align-items: center; gap: 12px; color: var(--muted); padding: 8px 0; }
.hd-private-note > svg { color: var(--brand); }
.hd-private-note p { font-size: 11px; line-height: 1.7; flex: 1; margin: 0; }
.hd-private-note b { font-weight: 600; }
@media (min-width: 1600px) { .hd-cal-day, .hd-cal-blank, .hd-week-total { min-height: 108px; } }
@media (max-width: 1250px) {
  .hd-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  :root[data-theme] body .home-dashboard .hd-metric { min-height: 180px; }
  .hd-number { font-size: 29px; }
  .hd-gauge strong { font-size: 26px; }
  .hd-main-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .hd-calendar-grid { min-width: 480px; }
  .hd-secondary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-finance, .hd-finance-stack { grid-column: 1 / -1; }
  .hd-finance-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hd-today { display: none; }
  .hd-insights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1050px) {
  .hd-main-grid { grid-template-columns: 1fr; }
  .hd-right-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-guide ol { grid-template-columns: 1fr; }
  .hd-bottom-grid { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .home-dashboard { gap: 20px; --hd-gap: 16px; }
  .hd-welcome h2 { font-size: 28px; }
  .hd-welcome p { font-size: 12px; }
  :root[data-theme] body .home-dashboard .card { padding: 18px; border-radius: 18px; }
  .hd-toolbar-main { gap: 10px; }
  .home-dashboard .hd-toolbar .period-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; overflow: visible; }
  :root[data-theme] body .home-dashboard .period-row button { padding: 8px 10px; min-width: 44px; }
  .hd-account-filter { flex: 1; }
  .hd-account-filter select { width: 100%; }
  .hd-filters { grid-template-columns: 1fr; }
  .hd-selection-summary { align-items: flex-start; flex-direction: column; }
  .hd-selection-summary > div { width: 100%; }
  .hd-selection-summary > div > button { flex: 1; }
  .hd-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  :root[data-theme] body .home-dashboard .hd-metric { min-height: 188px; padding: 16px 12px; }
  .hd-metric-label { font-size: 10px; }
  .hd-number { font-size: 24px; }
  .hd-gauge strong { font-size: 23px; }
  .hd-right-stack, .hd-secondary-grid, .hd-insights { grid-template-columns: 1fr; }
  .hd-finance { grid-column: auto; }
  .hd-finance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-guide li { flex-wrap: wrap; gap: 8px; }
  .hd-guide li > div { flex-basis: calc(100% - 40px); }
  .hd-guide li .hd-link { margin-left: 36px; }
  .hd-card-heading { flex-wrap: wrap; }
  .hd-card-heading > .hd-link { margin-top: 0; min-height: 44px; }
  .hd-calendar-grid { min-width: 520px; }
  .hd-cal-day, .hd-cal-blank, .hd-week-total { min-height: 86px; }
  .hd-month-control { align-items: flex-start; flex-direction: column; }
  .hd-month-control > div:last-child { width: 100%; }
  .hd-month-control > div:last-child > button { flex: 1; }
  .hd-daily-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .hd-private-note { flex-wrap: wrap; align-items: flex-start; }
  .hd-private-note .hd-link { margin-left: 31px; }
}
@media (prefers-reduced-motion: reduce) { .home-dashboard * { scroll-behavior: auto; transition: none !important; animation: none !important; } }
