/* Isolated UI experiment: all rules stay on the preview page. */
body.preview{background:#131413;color:#eeeae3;--muted:#a5a59c;--ink:#eeeae3;--blue:#f3a65c;--border:#353832;font-family:-apple-system,BlinkMacSystemFont,'Noto Sans SC',sans-serif;background-image:none!important}
.preview header{height:76px;min-height:76px;background:transparent;border-bottom:1px solid #30332e;padding:0 max(24px,calc((100vw - 1180px)/2));box-shadow:none;backdrop-filter:none}.preview .brand{color:#eeeae3}.preview-header-actions{display:flex;align-items:center;gap:18px}.preview-header-actions span{color:#a5a59c;font-size:13px}.preview main{max-width:1228px;margin:auto;padding:22px 24px 40px}.preview-banner{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:#a5a59c;margin-bottom:24px}.preview a{color:#d6c7b4}.preview button{color:#eeeae3;background:#252822;border:1px solid #41463b;border-radius:12px;min-height:44px;font-size:14px;padding:10px 16px;box-shadow:none}.preview button:hover{background:#33392e;border-color:#8c9a7e}.preview button:focus-visible{outline:2px solid #f3a65c;outline-offset:3px}.preview .textbtn{color:#edb779;background:none;border:0;padding:5px 0}.preview-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:48px;align-items:start}.overview{min-width:0}.preview-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.preview-intro p{font-size:14px;color:#b9b8ac}.preview-intro>span{font-size:12px;letter-spacing:2px;color:#797f72}.balance-card{padding:26px 28px;background:#20251d;border:1px solid #414938;border-radius:22px}.balance-label{font-size:14px;color:#b8c1ac}.preview #cash{display:block;font-size:clamp(38px,4.4vw,58px);letter-spacing:-2px;line-height:1.2;color:#f5ede0;margin:10px 0;font-weight:600}.balance-card>p{font-size:13px;color:#aab49e}.balance-secondary{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #404938;margin-top:24px;padding-top:16px;gap:18px}.preview .balance-secondary button{border:0;background:transparent;border-radius:0;padding:0;display:grid;gap:7px;text-align:left;grid-template-columns:1fr auto}.balance-secondary button span{font-size:13px;color:#aab49e;grid-column:1/-1}.balance-secondary b{font-size:20px;font-weight:500;letter-spacing:-.4px}.balance-secondary i{font-size:12px;align-self:center;font-style:normal;color:#b7c69e}.choice-card,.recent-card{margin-top:28px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.preview .section-heading h2{margin:0;font-size:16px;font-weight:500}.section-heading>span{font-size:12px;color:#92988c}.primary-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.primary-choices #recordSlot button{width:100%;background:#f2a85f;color:#201c15;border-color:#f2a85f;font-weight:600}.choice-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.choice-chips button{padding:9px 12px;background:transparent;font-size:13px}.choice-chips button span{margin-left:8px;color:#b1b59f}.preview .ledger-card{background:transparent;border:0;border-bottom:1px solid #34362f;border-radius:0;box-shadow:none;padding:14px 0}.preview .ledger-card-title{font-size:15px;font-weight:500}.preview .ledger-card-meta{font-size:12px;color:#a5a59c}.preview .ledger-amount{font-size:16px;font-weight:500}.preview .ledger-amount.positive{color:#afd098}.preview .pill{background:#292e25;color:#a5b398}.preview-safety{font-size:12px;color:#8f9587;margin-top:22px;line-height:1.8}.workspace-slot{position:sticky;top:24px;min-width:0}.workspace-empty{border:1px dashed #42473a;border-radius:22px;padding:48px 32px;min-height:365px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.empty-mark{font-size:42px;color:#f2a85f;margin-bottom:30px}.preview .workspace-empty h2{font-size:23px;font-weight:500;margin-bottom:12px}.workspace-empty p{font-size:14px;color:#a5a59c;line-height:1.9;max-width:290px}.workspace-empty button{margin-top:28px}.preview #workspaceDialog{position:static;inset:auto;margin:0;width:100%;max-width:none;max-height:calc(100dvh - 80px);padding:0;background:#1b1e19;color:#eeeae3;border:1px solid #444b3c;border-radius:20px;box-shadow:none;overflow:hidden}.workspace-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 22px;border-bottom:1px solid #373d30}.workspace-bar span{font-size:12px;color:#a5b398}.preview .workspace-bar h2{font-size:20px;margin:6px 0 0}.preview .workspace-bar button{font-size:13px;padding:8px 12px}.preview #workspaceContents{overflow-y:auto;max-height:calc(100dvh - 185px);padding:22px;overscroll-behavior:contain}.preview .preview-tool{background:none!important;border:none!important;box-shadow:none!important;border-radius:0!important;margin:0!important;padding:0!important;min-width:0;width:100%;color:#eeeae3}.preview .preview-tool h2{font-size:17px}.preview .preview-tool .panel-title{flex-wrap:wrap;gap:10px}.preview .preview-tool .panel-title h2{display:none}.preview .preview-tool .actions{flex-wrap:wrap;max-width:100%}.preview input,.preview select{background:#272c23;color:#f4eee4;border:1px solid #515a47;min-height:44px;font-size:16px;box-shadow:none}.preview .muted,.preview .footnote,.preview .stat small,.preview .category-ref,.preview .ref-source{color:#aeb4a3}.preview .event{background:transparent;border-bottom:1px solid #39412f;padding:14px 0;gap:12px}.preview .datebox{background:#2a3223;color:#c5cfb7}.preview .event strong{color:#eeeae3}.preview .event small{color:#aeb4a3}.preview .event-optional,.preview .event-fillable{border:0;border-bottom:1px dashed #4d5840}.preview .notice,.preview .income-schedule{background:#343025;color:#e5c69a;border:0}.preview .notice.good{background:#283523;color:#c2d8ab}.preview .forecast-strip{background:#252c20;border:0;gap:10px}.preview .forecast-strip strong{color:#eeeae3}.preview .forecast-strip span{color:#aeb4a3}.preview .repayment-result,.preview .job-summary div,.preview .chart-detail,.preview .stat-fold-body,.preview .repayment-settings{background:#252c20;border-color:#424a37;color:#eeeae3}.preview .job-summary b,.preview .sim-result b{color:#eeeae3}.preview .repayment-result>strong,.preview .sim-result>strong{color:#f2b378}.preview .repayment-result p,.preview .chart-detail-line{color:#bcc4af}.preview .job-summary-3{grid-template-columns:1fr}.preview .category-top{flex-wrap:wrap}.preview .track{background:#333a2b}.preview .track i{background:#92a773}.preview .seg-btn.is-on{background:#52633d;color:white}.preview #workspaceContents details{color:#b6bda9}.preview th,.preview td{background:transparent;color:#b6bda9;border-color:#39412f}.preview .week-table{font-size:13px}.preview .week-table td{padding:8px 3px}.preview .tool-debt-total{display:flex;align-items:center;justify-content:space-between;color:#b6bda9;margin-bottom:22px;font-size:14px}.preview .tool-debt-total #debt{font-size:25px;color:#eeeae3}.preview .repayment-result-actions{flex-wrap:wrap}.preview #modal{background:#20251d;color:#eeeae3;border:1px solid #546146;border-radius:20px;max-height:90dvh;box-shadow:0 24px 80px #0008}.preview dialog::backdrop{background:#0009;backdrop-filter:blur(4px)}.preview #toast{background:#d9e6c6;color:#233119}.preview #previewSettingsActions{gap:12px}.preview .primary{background:#f2a85f;color:#241f17}.preview .sim-result,.preview .sim-jobs{border-color:#424a37}.preview .sim-job-line{flex-wrap:wrap}.preview .selected-week{background:#323e28}.preview #ledgerResultCount{font-size:13px}.preview .ledger-filters{grid-template-columns:1fr 1fr}.preview .ledger-filters label:first-child{grid-column:1/-1}
@media(max-width:1000px) and (min-width:761px){.preview-layout{gap:24px}.preview main{padding-inline:20px}.preview .balance-secondary b{font-size:18px}.preview .forecast-strip{grid-template-columns:1fr}.preview .choice-chips{flex-direction:column}.choice-chips button{text-align:left}}
@media(max-width:760px){.preview header{padding:0 18px;height:64px;min-height:64px}.preview-header-actions span{display:none}.preview main{padding:16px 18px 30px}.preview-banner{margin-bottom:18px;font-size:12px}.preview-layout{display:block}.preview-intro{margin-bottom:16px}.preview-intro>span{display:none}.balance-card{padding:22px;border-radius:20px}.preview #cash{font-size:46px}.balance-secondary{margin-top:20px;gap:14px}.choice-card,.recent-card{margin-top:24px}.choice-chips{gap:8px}.choice-chips button{font-size:13px;padding:8px 10px}.workspace-slot{position:static}.workspace-empty{display:none!important}.preview #workspaceDialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:100%;max-height:88dvh;border-radius:24px 24px 0 0;border-bottom:0;box-shadow:0 -12px 60px #0007}.workspace-bar{padding:16px 20px}.preview #workspaceContents{padding:20px 20px max(26px,env(safe-area-inset-bottom));max-height:calc(88dvh - 85px)}.preview #modal{width:calc(100% - 24px);max-width:500px;padding:20px}.preview .forecast-strip{grid-template-columns:1fr}.preview .ledger-card-meta{gap:4px 8px}.preview .ledger-card-side{max-width:42%}.preview .balance-secondary button span{font-size:12px}}
@media(prefers-reduced-motion:reduce){.preview *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.preview{--glass:#1b1e19;--glass-border:#444b3c;--glass-shadow:none}.preview header{background:#131413!important;border:0!important;border-bottom:1px solid #30332e!important;border-radius:0;margin:0 auto;max-width:none}.preview #workspaceDialog,.preview #modal{background:#1b1e19!important;backdrop-filter:none;-webkit-backdrop-filter:none}.preview .preview-tool{background:transparent!important}.preview .stat-fold-body{background:transparent!important}.preview .sim-result{background:#252c20;color:#eeeae3}.preview .sync-panel>summary{display:none}
.preview .sim-job-line{background:#2a3223;border-color:#424a37;color:#b6bda9}.preview .sim-job-line b{color:#eeeae3}.preview .eyebrow{color:#b7c69e}.preview #pending{font-size:22px}.preview .repayment-layout{grid-template-columns:1fr}
.debt-encouragement{border-top:1px solid #404938;margin-top:16px;padding-top:12px}.preview .debt-encouragement button{background:none;border:0;padding:0;min-height:32px;color:#e6bd8b;font-size:13px;text-align:left}.debt-encouragement details{font-size:11px;color:#aab49e;margin-top:4px}.debt-encouragement p{margin-top:6px}.insight-period{display:flex;gap:8px;margin-bottom:20px}.preview .insight-period [aria-pressed=true]{background:#52633d;border-color:#80936a}.insight-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px}.insight-totals>div{background:#272e22;padding:12px 8px;border-radius:12px;min-width:0}.insight-totals span{display:block;color:#aeb4a3;font-size:12px}.insight-totals b{display:block;font-size:clamp(13px,1.5vw,18px);margin-top:8px;overflow-wrap:anywhere}.insight-bars{display:flex;gap:4px;overflow-x:auto;padding:10px 0;margin:10px 0 16px}.preview .insight-day{flex:1 0 38px;padding:6px 3px;background:transparent;border-color:transparent;min-width:38px}.preview .insight-day[aria-pressed=true]{background:#30392a;border-color:#91a975}.bar-track{height:115px;display:flex;align-items:flex-end;justify-content:center;gap:2px;border-bottom:1px solid #536049}.bar-track i{display:block;width:8px;border-radius:3px 3px 0 0}.bar-income{background:#afd098}.bar-expense{background:#f2a85f}.bar-repay{background:#bba4e4}.insight-day small{display:block;font-size:10px;margin-top:8px;color:#b6bda9}.insight-detail{border:1px solid #424a37;border-radius:12px;padding:14px;font-size:13px}.insight-detail>p{color:#b6bda9;font-size:12px;margin-top:8px}.insight-detail-row{display:flex;justify-content:space-between;gap:12px;padding-top:12px}.insight-detail-row b{white-space:nowrap}.insight-category{margin:16px 0}.insight-category>div:first-child{display:flex;justify-content:space-between;font-size:13px;gap:10px}.category-track{height:7px;background:#30382a;border-radius:8px;margin-top:8px;overflow:hidden}.category-track i{display:block;height:100%;background:#f2a85f;border-radius:8px}.preview [data-preview-panel=insights] h3{font-size:15px;margin-top:24px}
.preview .preview-intro{display:block;margin-bottom:12px}.preview .preview-intro p{font-size:12px;color:#b7c69e;letter-spacing:.06em;margin-bottom:8px}.preview .preview-intro h1{font-size:clamp(20px,2.2vw,28px);line-height:1.5;margin:0;font-weight:600}.demo-data-note{font-size:12px;line-height:1.8;color:#c4b69b;background:#29271e;border:1px solid #494431;border-radius:10px;padding:10px 12px;margin-bottom:18px}.preview .balance-secondary #debtEncouragement{grid-column:1/-1;font-size:11px;font-weight:400;color:#c7b495;line-height:1.5;letter-spacing:0}.preview #debtEffortBasis{margin-bottom:18px;font-size:12px}
.preview .balance-secondary button{align-self:start}
.preview #connectionBadge{font-size:12px;text-align:right;max-width:65%;line-height:1.6}.preview .sync-panel>summary{display:block;margin:18px 0}.preview .sync-actions{flex-wrap:wrap}.preview .auth-box{width:100%}.preview .sync-panel input{width:100%}.preview #toast{z-index:1000}.preview .chart-hint{color:#aeb4a3}

body.preview[data-theme="light"]{background:#f6f5ef!important;color:#263024;--ink:#263024;--muted:#64705d;--blue:#88521f;--glass:#fffef9;--glass-border:#d6dccd;--border:#d6dccd;--glass-shadow:none;color-scheme:light}
.preview[data-theme="light"] header{background:#f6f5ef!important;border-bottom-color:#d6dccd!important}.preview[data-theme="light"] .brand,.preview[data-theme="light"] .preview-tool,.preview[data-theme="light"] .event strong,.preview[data-theme="light"] .tool-debt-total #debt{color:#263024}.preview[data-theme="light"] a,.preview[data-theme="light"] .textbtn{color:#815026}.preview[data-theme="light"] .preview-banner,.preview[data-theme="light"] .preview-header-actions span,.preview[data-theme="light"] .preview-intro p,.preview[data-theme="light"] .preview-intro>span,.preview[data-theme="light"] .section-heading>span,.preview[data-theme="light"] .preview-safety,.preview[data-theme="light"] .muted,.preview[data-theme="light"] .footnote,.preview[data-theme="light"] .chart-hint,.preview[data-theme="light"] .stat small,.preview[data-theme="light"] .event small,.preview[data-theme="light"] .category-ref,.preview[data-theme="light"] .ref-source,.preview[data-theme="light"] .ledger-card-meta{color:#64705d}
.preview[data-theme="light"] .balance-card{background:#e7eddf;border-color:#ccd6c1}.preview[data-theme="light"] #cash{color:#263024}.preview[data-theme="light"] .balance-label,.preview[data-theme="light"] .balance-card>p,.preview[data-theme="light"] .balance-secondary button span,.preview[data-theme="light"] .balance-secondary i{color:#58694e}.preview[data-theme="light"] .balance-secondary{border-color:#c6d0bc}.preview[data-theme="light"] .balance-secondary button{background:transparent;color:#263024}.preview[data-theme="light"] .balance-secondary #debtEncouragement{color:#815026}
.preview[data-theme="light"] button{background:#fffef9;color:#34422c;border-color:#ccd6c1}.preview[data-theme="light"] button:hover{background:#e5ecdd;border-color:#95a887}.preview[data-theme="light"] .primary,.preview[data-theme="light"] .primary-choices #recordSlot button{background:#b96629;color:white;border-color:#b96629}.preview[data-theme="light"] .choice-chips button{background:transparent}.preview[data-theme="light"] .choice-chips button span{color:#64705d}.preview[data-theme="light"] input,.preview[data-theme="light"] select{background:#fffef9;color:#263024;border-color:#aebca2;color-scheme:light}.preview[data-theme="light"] .textbtn{background:transparent;border:0;color:#815026}
.preview[data-theme="light"] .workspace-empty{border-color:#bcc9b1}.preview[data-theme="light"] .workspace-empty p,.preview[data-theme="light"] .workspace-bar span{color:#64705d}.preview[data-theme="light"] #workspaceDialog,.preview[data-theme="light"] #modal{background:#fffef9!important;color:#263024;border-color:#ccd6c1!important}.preview[data-theme="light"] .workspace-bar{border-color:#d6dccd}.preview[data-theme="light"] .preview-tool,.preview[data-theme="light"] .stat-fold-body{background:transparent!important;color:#263024}.preview[data-theme="light"] #workspaceContents details,.preview[data-theme="light"] th,.preview[data-theme="light"] td{color:#58694e;border-color:#d6dccd}.preview[data-theme="light"] .event,.preview[data-theme="light"] .ledger-card{border-color:#d6dccd}.preview[data-theme="light"] .event-optional,.preview[data-theme="light"] .event-fillable{border-color:#bcc9b1}.preview[data-theme="light"] .datebox,.preview[data-theme="light"] .pill{background:#e7eddf;color:#4c643e;border-color:#ccd6c1}
.preview[data-theme="light"] .notice,.preview[data-theme="light"] .income-schedule{background:#f6ebd9;color:#765326}.preview[data-theme="light"] .notice.good{background:#e5eddf;color:#426131}.preview[data-theme="light"] .forecast-strip,.preview[data-theme="light"] .repayment-result,.preview[data-theme="light"] .job-summary div,.preview[data-theme="light"] .chart-detail,.preview[data-theme="light"] .repayment-settings,.preview[data-theme="light"] .sim-result,.preview[data-theme="light"] .sim-job-line{background:#edf1e6;color:#263024;border-color:#ccd6c1}.preview[data-theme="light"] .job-summary b,.preview[data-theme="light"] .sim-result b,.preview[data-theme="light"] .sim-job-line b{color:#263024}.preview[data-theme="light"] .forecast-strip span,.preview[data-theme="light"] .repayment-result p,.preview[data-theme="light"] .chart-detail-line,.preview[data-theme="light"] .sim-job-line,.preview[data-theme="light"] .tool-debt-total{color:#58694e}.preview[data-theme="light"] .repayment-result>strong,.preview[data-theme="light"] .sim-result>strong{color:#995321}.preview[data-theme="light"] .track,.preview[data-theme="light"] .category-track{background:#dce4d3}.preview[data-theme="light"] .track i{background:#648647}.preview[data-theme="light"] .seg-btn.is-on,.preview[data-theme="light"] .insight-period [aria-pressed=true]{background:#536d3f;color:white}.preview[data-theme="light"] .ledger-amount.positive{color:#426b30}.preview[data-theme="light"] .eyebrow{color:#58694e}.preview[data-theme="light"] #toast{background:#34482c;color:white}
.preview[data-theme="light"] .insight-totals>div{background:#edf1e6}.preview[data-theme="light"] .insight-totals span,.preview[data-theme="light"] .insight-day small,.preview[data-theme="light"] .insight-detail>p{color:#58694e}.preview[data-theme="light"] .insight-day{background:transparent;border-color:transparent}.preview[data-theme="light"] .insight-day[aria-pressed=true]{background:#e5eddd;border-color:#6b8754}.preview[data-theme="light"] .bar-track{border-color:#a5b398}.preview[data-theme="light"] .bar-income{background:#648647}.preview[data-theme="light"] .bar-expense,.preview[data-theme="light"] .category-track i{background:#b96629}.preview[data-theme="light"] .bar-repay{background:#8565a2}.preview[data-theme="light"] .insight-detail{border-color:#ccd6c1}.preview[data-theme="light"] .selected-week{background:#e5eddd}

body.preview[data-theme="dark"]{color-scheme:dark}
.bill-controls{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin-bottom:16px}.bill-controls label{flex:1;min-width:150px;margin:0!important}.preview #billCaption{margin-bottom:22px}.preview [data-spend-period][aria-pressed=true]{background:#536d3f;color:white}
.pending-batches{margin-top:14px}.batch-month{padding:12px 0;border-bottom:1px solid var(--border)}.batch-month summary{line-height:1.8}.preview #decisionContent>.footnote{margin:16px 0}.preview #decisionContent .insight-totals{margin-top:18px}.decision-facts{margin-top:12px}.preview .decision-facts .chart-detail-line{align-items:start;font-size:13px}.decision-facts b{white-space:nowrap}.preview .job-stat .stat-top{flex-wrap:wrap;gap:14px}.preview .job-stat .stat-actions{flex-wrap:wrap}.preview #jobBatchNote{margin-top:12px}

.safety-card h2{font-size:1.05rem;margin:0 0 14px}.safety-card .insight-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.safety-card .insight-totals b{font-size:1.3rem}.safety-card p{font-size:.82rem;line-height:1.6}.safety-card details{margin:12px 0}.safety-card summary{cursor:pointer}.safety-card .sync-actions{flex-wrap:wrap}#debtCoverage{margin-top:22px}

.preview .balance-secondary #pendingCount{grid-column:2;grid-row:1;justify-self:end;font-size:11px;font-weight:400;color:inherit;white-space:nowrap}.preview .balance-secondary button[data-tool="jobs"]>span{grid-column:1;grid-row:1}

/* Compact monthly statement: proportional bars with exact amounts, no duplicate summary tiles. */
.preview .monthly-overview .bill-controls{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:end;margin-bottom:18px}
.preview .monthly-overview .bill-controls label{min-width:0;font-size:12px}
.preview .monthly-overview .bill-controls button{padding:9px 10px;font-size:12px;min-height:38px}
.preview .monthly-overview .bill-controls input{min-width:0;width:100%;padding:8px;font-size:15px}
.preview .monthly-overview [data-month-now],.preview .monthly-overview [data-month-all]{border:0;background:transparent;justify-self:start;padding:0 8px;min-height:30px}
.preview .bill-chart{border-radius:18px;padding:20px;background:rgba(134,156,106,.10)}
.preview .bill-net{display:flex;flex-direction:column;gap:5px;margin-bottom:24px}
.preview .bill-net>span{font-size:13px;opacity:.8}.preview .bill-net strong{font-size:30px;line-height:1.3;font-variant-numeric:tabular-nums}.preview .bill-net small{font-size:11px;opacity:.7}
.preview .bill-bar-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:12px;align-items:center;margin-top:15px;font-size:12px}
.preview .bill-bar-row b{font-size:13px;font-variant-numeric:tabular-nums;min-width:74px;text-align:right}
.preview .bill-bar-track{height:12px;background:rgba(140,150,130,.12);border-radius:6px;overflow:hidden}.preview .bill-bar-track i{display:block;height:100%;border-radius:6px}
.preview .bill-bar-income{background:#719658}.preview .bill-bar-expense{background:#c47a3b}.preview .bill-bar-repay{background:#9373b3}
.preview #billCaption{font-size:11px;line-height:1.6;margin:12px 0 20px}
.preview #workspaceContents .bill-filter-fold{padding:0;border:0;border-radius:0;background:transparent;margin:0 0 12px}
.preview .bill-filter-fold summary{font-size:13px;cursor:pointer;padding:10px 0}.preview .bill-filter-fold .ledger-filters{margin-top:10px}
.preview #ledgerResultCount{font-size:12px;margin:12px 0 2px;opacity:.7}
.preview #ledger .ledger-card{padding:15px 0}.preview #ledger .ledger-card-title{font-size:14px}.preview #ledger .ledger-card-meta{font-size:11px;line-height:1.5}.preview #ledger .ledger-amount{font-size:15px}.preview #ledger .ledger-undo{font-size:11px;padding:5px 9px;min-height:30px}
@media(max-width:420px){.preview .bill-chart{padding:16px}.preview .bill-bar-row{gap:8px}.preview .monthly-overview .bill-controls button{padding:8px 6px}}

#accountsSummary small{display:block;font-size:12px;margin-top:4px}#accountsSummary details{margin-top:12px;font-size:13px}#modal input[type="checkbox"]{width:20px;min-height:20px;height:20px;display:inline-block;vertical-align:middle;margin-right:8px}

/* Phase 2 management views (structured to become dock tabs in Phase 3) */
.manage-view h3{font-size:16px;margin:18px 0 8px}
.manage-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
.manage-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.manage-list ul{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:8px}
.manage-list .project{border:1px solid rgba(0,0,0,.08);border-radius:14px;padding:12px}
.manage-list .is-off{opacity:.6}
.project-head,.manage-list .period{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;flex-wrap:wrap}
.manage-list .period{background:rgba(0,0,0,.03);border-radius:10px;padding:10px}
.manage-list b{font-size:15px;font-weight:600}
.manage-list small{display:block;font-size:13px;color:#666;margin-top:2px}
.row-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.row-actions button,.manage-head button,.job-detail-btn{min-height:44px;padding:0 14px;border-radius:12px;font-size:15px}
.job-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}
.job-totals div{background:rgba(0,0,0,.03);border-radius:10px;padding:10px;display:grid;gap:2px;font-size:14px}
.job-totals .is-key{background:rgba(36,91,223,.08)}
.month-end{text-align:right;font-size:13px;color:#666}
.daily-text{width:100%;margin-top:10px;font:14px/1.5 ui-monospace,Menlo,monospace}
.ops-dialog{max-width:520px;width:calc(100% - 24px);border:0;border-radius:18px;padding:18px}
.ops-dialog label{display:grid;gap:4px;margin:10px 0;font-size:15px}
.ops-dialog label.check{display:flex;align-items:center;gap:8px}
.ops-dialog input,.ops-dialog select{min-height:44px;font-size:16px}
.form-error{color:#c62828;min-height:1em}
