.divided-list { list-style: none; margin: 0; padding: 0; }
.divided-list > li { display: grid; gap: .45rem; padding: 1rem 0; border-bottom: 1px solid var(--bh-line); overflow-wrap: anywhere; }
.divided-list > li:last-child { border-bottom: 0; }
.financial-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.financial-grid > * { min-width: 0; }
.routine-step { max-width: 52rem; }
.routine-progress { align-items: stretch; }
.routine-progress a { white-space: normal; }
.routine-step > .action-link { margin-top: 1rem; }
.reading-checkbox { display: flex; align-items: center; gap: .75rem; min-height: 44px; }
.reading-checkbox input[type=checkbox] { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; }
.reading-toggle { margin: 0; }
.reading-toggle button { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; }
.reading-privacy-toggle svg { flex: 0 0 auto; }
.reading-privacy-notice { margin-bottom: 1rem; }
.review-recovery-controls { padding: 1rem; border: 1px solid var(--bh-line); border-radius: .75rem; }
.recovery-note-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.preview-repairs input { max-width: 100%; }
.repair-summary .inline-form { margin: .4rem .5rem .4rem 0; }
.hidden-amount { font-variant-numeric: tabular-nums; letter-spacing: .12em; }
html[data-hide-amounts=true] main canvas,
html[data-hide-amounts=true] main svg[role=img],
html[data-hide-amounts=true] main [data-chart-explorer],
html[data-hide-amounts=true] main form[method=post i]:not(.reading-settings) { display: none !important; }
html[data-text-size=large] body { font-size: 1.125rem; }
html[data-text-size=large] .workspace-content :is(p,li,td,th,label,input,select,textarea,button,.reading-note,.muted,.text-action,.summary-label,.metric-label) { font-size: 1.125rem; line-height: 1.6; }
html[data-text-size=large] .workspace-content :is(input,select,textarea,button) { min-height: 44px; }
html[data-chart-palette=distinct] .history-series-0 { color: var(--bh-chart-0,#0072b2); }
html[data-chart-palette=distinct] .history-series-1 { color: var(--bh-chart-1,#d55e00); }
html[data-chart-palette=distinct] .history-series-2 { color: var(--bh-chart-2,#8864b5); }
html[data-chart-palette=distinct] .history-legend .history-key-0::before { border-top-color: var(--bh-chart-0,#0072b2); }
html[data-chart-palette=distinct] .history-legend .history-key-1::before { border-top-color: var(--bh-chart-1,#d55e00); }
html[data-chart-palette=distinct] .history-legend .history-key-2::before { border-top-color: var(--bh-chart-2,#8864b5); }
html[data-chart-palette=distinct] .progress-value-line { stroke: var(--bh-chart-0,#0072b2); }
html[data-chart-palette=distinct] .progress-cost-line { stroke: var(--bh-chart-1,#d55e00); stroke-dasharray: 8 5; }
html[data-chart-palette=distinct] .progress-value-point { fill: var(--bh-chart-0,#0072b2); }
html[data-chart-palette=distinct] .progress-cost-point { fill: var(--bh-chart-1,#d55e00); }
html[data-chart-palette=distinct] .progress-partial-point { stroke: var(--bh-chart-0,#0072b2); }
html[data-chart-palette=distinct] .progress-legend .legend-value { background: var(--bh-chart-0,#0072b2); }
html[data-chart-palette=distinct] .progress-legend .legend-cost { background: repeating-linear-gradient(to right,var(--bh-chart-1,#d55e00) 0 6px,transparent 6px 9px); }
html[data-chart-palette=distinct] .progress-legend .legend-partial { border-color: var(--bh-chart-0,#0072b2); }
@media (max-width:700px) { .financial-grid { grid-template-columns: minmax(0,1fr); } }
@media (max-width:480px) {
  .workspace-actions { gap: 6px; }
}

@media (max-width:360px) { .app-body:not(.guest-shell) .workspace-intro { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }
