.simple-budget{max-width:1000px;margin:auto}.simple-budget .panel{margin-bottom:20px}.simple-budget .panel-heading{flex-wrap:wrap;gap:12px}.simple-summary{margin-bottom:20px}.simple-summary p{margin:6px 0}.simple-totals{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.simple-totals>div{padding:20px;background:white;border:1px solid #e0e6df;border-radius:12px;display:grid;gap:10px}.simple-totals strong{font-size:24px}.simple-explanation{margin-bottom:28px;line-height:1.6}.simple-filters{display:flex;gap:8px;margin:12px 0}.simple-bill{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0;border-bottom:1px solid #e6eae4}.simple-bill:last-child{border-bottom:0}.simple-bill p{margin:5px 0 0}.simple-bill-end{display:flex;gap:16px;align-items:center;flex-shrink:0}.simple-empty{padding-block:20px}#simple-dialog .field{display:flex;flex-direction:column;gap:8px;margin:18px 0}#simple-dialog .field input,#simple-dialog .field select{width:100%;min-height:44px;font-size:16px}#simple-dialog{width:calc(100% - 32px);max-width:520px;max-height:90dvh;overflow:auto}#simple-dialog form{min-width:0}.simple-budget .page-head .btn{max-width:100%}.simple-budget .panel>p{margin-block:16px}@media(max-width:600px){.simple-totals{gap:10px}.simple-totals>div{padding:14px}.simple-totals strong{font-size:20px}.simple-bill{align-items:flex-start;gap:10px}.simple-bill>div:first-child{min-width:0;overflow-wrap:anywhere}.simple-bill-end{flex-direction:column;align-items:flex-end;gap:8px}.simple-budget .panel{padding:18px}.simple-summary{padding:24px}.simple-budget .page-head{margin-bottom:24px}}
.entry-type-cards{border:0;padding:0;margin:20px 0;display:grid;gap:10px}.entry-type-cards legend{margin-bottom:12px;font-weight:500}.entry-type-card{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid #d4ded6;border-radius:10px;background:#fff;cursor:pointer}.entry-type-card:has(input:checked){background:#eaf3e8;border-color:#1d6148;box-shadow:inset 0 0 0 1px #1d6148}.entry-type-card:has(input:focus-visible){outline:3px solid #488965;outline-offset:3px}.entry-type-card:has(input:disabled){cursor:default}.entry-type-card input[type=radio]{flex:0 0 20px;width:20px;height:20px;min-height:20px;margin:2px 0;accent-color:#1d6148}.entry-type-card span{min-width:0}.entry-type-card small{display:block;margin-top:4px;line-height:1.4}.simple-bill-end .paid-outflow{color:#a52c2c}
.budget-charts{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.budget-chart{min-width:0}.budget-stack{height:28px;display:flex;background:#edf1e8;border-radius:8px;overflow:hidden;margin:24px 0}.budget-stack span{height:100%;flex-shrink:0}.chart-legend{display:grid;gap:14px;margin:0}.chart-legend>li{display:flex;justify-content:space-between;gap:14px;align-items:center}.chart-legend h6{display:flex;gap:9px;align-items:center}.chart-legend-value{margin:0;font-weight:600;white-space:nowrap}.chart-legend i{width:10px;height:10px;border-radius:3px;flex:0 0 10px}.bill-progress{display:flex;gap:24px;align-items:center;justify-content:space-between}.bill-progress .chart-legend{flex:1}.bill-ring{position:relative;width:140px;height:140px;flex:0 0 140px}.bill-ring svg{width:100%;height:100%;transform:rotate(-90deg)}.bill-ring circle{fill:none;stroke-width:10}.bill-ring .ring-track{stroke:#e4eade}.bill-ring .ring-value{stroke:#27664f}.bill-ring>strong{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:28px}.bill-ring small{font-size:13px;font-weight:400;margin-top:4px}.budget-chart .chart-warning{color:#a52c2c}@media(max-width:1150px){.budget-charts{grid-template-columns:1fr}}@media(max-width:420px){.bill-ring{width:116px;height:116px;flex-basis:116px}.bill-progress{gap:14px}.chart-legend{font-size:14px}}
.simple-totals{margin-bottom:24px}.budget-help{margin:4px 0 24px;color:#54675c}.budget-help summary{cursor:pointer;min-height:40px;display:list-item;padding:10px 0;font-size:14px}.budget-help p{line-height:1.7;max-width:720px;margin:10px 0}.budget-help summary:focus-visible{outline:2px solid #27664f;outline-offset:4px}
.simple-filters .filter-count{font-family:var(--font-body);font-size:var(--text-body);font-weight:var(--weight-body);line-height:20px}
.bill-utilities{margin-top:6px}.bill-utilities summary{cursor:pointer;font-size:14px;color:#27664f;min-height:32px;padding:6px 0}.bill-utilities>div{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0}.bill-utilities .btn{white-space:normal;height:auto;min-height:40px}.next-month{display:flex;gap:20px;align-items:center;justify-content:space-between}.next-month p{margin-top:8px;line-height:1.6}@media(max-width:600px){.next-month{display:block}.next-month .btn{margin-top:16px}.bill-utilities>div{flex-direction:column;align-items:flex-start}}
.simple-filters .btn[aria-pressed="true"] .filter-count{color:#fff}
.bill-row-actions{display:flex;align-items:center;gap:8px}.bill-menu{position:relative}.bill-menu-trigger{width:40px;padding:0;font-size:26px;line-height:1}.bill-menu-panel{position:absolute;right:0;top:calc(100% + 6px);z-index:40;min-width:210px;background:white;border:1px solid #d4ded6;border-radius:10px;box-shadow:0 8px 24px #173c2426;padding:6px}.bill-menu-panel[hidden]{display:none}.bill-menu-panel .btn{display:flex;width:100%;justify-content:flex-start;text-align:left;white-space:nowrap}.bill-menu-panel .btn:hover,.bill-menu-panel .btn:focus-visible{background:#eaf3e8}.simple-bill-end{gap:16px}@media(max-width:600px){.bill-row-actions{gap:4px}.bill-menu-panel{min-width:200px}.simple-bill-end{gap:8px}}
.upcoming-prompt{font-size:20px;line-height:1.4;margin:18px 0 10px}.upcoming-prompt+p{max-width:560px;line-height:1.7}
/* Compact bill cards: the page background supplies the 1px separation. */
.simple-budget .bill-card-section{padding:0;border:0;background:transparent;border-radius:0}.bill-list-header{background:#fff;border-radius:10px;padding:16px 20px;margin-bottom:1px}.bill-list-header .panel-heading{margin-bottom:12px}.bill-list-header .simple-filters{margin:0}.bill-card-list{display:grid;gap:1px;background:transparent}.bill-card-list>.simple-bill{background:#fff;border:0;border-radius:8px;padding:10px 20px;min-height:64px;gap:16px}.bill-card-list>.simple-bill p{margin-top:2px}.bill-card-list>.simple-empty{margin:0;background:#fff;border-radius:8px;padding:16px 20px}.bill-card-list:empty{display:none}.bill-card-list .simple-bill-end{gap:14px}@media(max-width:600px){.simple-budget .bill-card-section{padding:0}.bill-list-header{padding:14px 16px}.bill-card-list>.simple-bill{padding:10px 16px;gap:10px}.bill-card-list .simple-bill-end{gap:6px}.bill-card-list>.simple-empty{padding:14px 16px}}
.bill-list-header{border-radius:10px 10px 0 0}.bill-card-list>.simple-bill,.bill-card-list>.simple-empty{border-radius:0}.bill-card-list>:last-child{border-radius:0 0 10px 10px}
.upcoming-card-section .panel-heading{margin-bottom:0}.bill-card-list>.upcoming-setup{background:#fff;padding:16px 20px}.bill-card-list>.upcoming-setup:last-child{border-radius:0 0 10px 10px}.upcoming-setup .upcoming-prompt{margin-top:0}.upcoming-setup p{margin:10px 0 16px;line-height:1.7}@media(max-width:600px){.bill-card-list>.upcoming-setup{padding:14px 16px}}
.shell>header{background:transparent;border-bottom:0}
.simple-totals>div{border:0}
.bill-list-header .panel-heading:last-child{margin-bottom:0}
.row-identity{display:flex;align-items:center;gap:12px;min-width:0}.row-copy{min-width:0;overflow-wrap:anywhere}.row-avatar{position:relative;display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:50%;background:#eaf0e6;color:#365c45;font:500 13px/1 var(--font-body);overflow:hidden}.row-avatar .avatar-logo{position:absolute;inset:0;width:100%;height:100%;padding:8px;object-fit:contain;background:#fff}.row-avatar .avatar-logo[hidden]{display:none}@media(max-width:600px){.row-identity{gap:10px}.row-avatar{width:32px;height:32px;flex-basis:32px}.row-avatar .avatar-logo{padding:7px}.bill-card-list>.simple-bill>.row-identity{flex:1}}
.row-avatar .avatar-logo{background:#f0f3ed}

.simple-totals>div{grid-template-rows:auto auto 1fr;align-content:start;align-items:start}.simple-totals strong{align-self:start}
.entry-suggestions{display:flex;gap:6px;flex-wrap:wrap;margin:-4px 0 18px}.entry-suggestions .income-suggestion{font-size:13px;min-height:34px;padding:6px 10px}.toast-undo{margin-left:16px;background:transparent;color:#fff;border:1px solid #ffffff80;border-radius:6px;padding:4px 10px;cursor:pointer}#toast{z-index:100}
