:root{--bg:#f3f6f8;--surface:#fff;--surface-soft:#f8fafc;--text:#102033;--muted:#66758a;--line:#dce4ec;--teal:#0d7f73;--teal-dark:#0b4f4a;--teal-soft:#e3faf7;--orange:#f2992e;--orange-soft:#fff4e5;--red:#d92d20;--green:#159947;--blue:#2563eb;--shadow:0 10px 28px #10203314;--nav-h:78px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif}*{box-sizing:border-box}html,body,#root{background:var(--bg);min-height:100%;color:var(--text);margin:0}body{-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.58;cursor:not-allowed}a{color:var(--teal);font-weight:800;text-decoration:none}.app-shell{min-height:100vh;padding-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom))}.desktop-sidebar{display:none}.topbar{z-index:20;background:linear-gradient(135deg, #102033, var(--teal-dark) 48%, var(--teal));color:#fff;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;min-height:58px;padding:9px 12px;display:grid;position:sticky;top:0;box-shadow:0 8px 22px #10203329}.brand-mark{letter-spacing:0;background:#ffffff24;border-radius:10px;place-items:center;width:38px;height:38px;font-weight:950;display:grid}.brand-copy b{font-size:15px;line-height:1.1;display:block}.brand-copy span{opacity:.82;margin-top:2px;font-size:11px;display:block}.top-action{color:#fff;background:#ffffff1f;border:1px solid #fff3;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:850}.page{width:100%;max-width:1060px;padding:12px 10px calc(var(--nav-h) + 28px + env(safe-area-inset-bottom));margin:0 auto}.card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:8px;margin:10px 0;padding:14px}.hero-card{background:linear-gradient(180deg, #0d7f7314, #fff0 54%), var(--surface)}.toolbar-card{position:relative;overflow:hidden}.toolbar-card:before{content:"";background:linear-gradient(90deg, var(--teal), var(--orange));height:4px;position:absolute;inset:0 0 auto}.head,.section-title{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}h1,h2,h3,p{margin-top:0}h1{font-size:28px;line-height:1.1}h2{letter-spacing:0;margin-bottom:6px;font-size:22px;line-height:1.15}h3{letter-spacing:0;margin-bottom:5px;font-size:17px;line-height:1.2}.eyebrow{color:var(--teal);text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px;font-size:11px;font-weight:950}.muted{color:var(--muted);margin-bottom:0;font-size:13px;line-height:1.4}.grid2{grid-template-columns:1fr;gap:10px;display:grid}.compact-grid{margin-top:14px}.kpis{grid-template-columns:1fr 1fr;margin-top:14px}.kpi-card{border:1px solid var(--line);background:linear-gradient(180deg, #fff, var(--surface-soft));border-radius:8px;min-height:92px;padding:12px}.kpi-card span{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:900;display:block}.kpi-card b{margin-top:10px;font-size:21px;line-height:1.1;display:block}.kpi-card.green b,.green{color:var(--green)}.kpi-card.red b,.red{color:var(--red)}.kpi-card.blue b,.blue{color:var(--blue)}.kpi-card.orange b{color:var(--orange)}.field{margin:10px 0;display:block}.field span{color:#34455c;margin-bottom:6px;font-size:12px;font-weight:850;display:block}input,select,textarea{border:1px solid var(--line);width:100%;min-height:48px;color:var(--text);background:#fff;border-radius:8px;outline:none;padding:12px 13px;transition:border-color .15s,box-shadow .15s,background .15s}input:focus,select:focus,textarea:focus{border-color:#0d7f739e;box-shadow:0 0 0 3px #0d7f731f}textarea{resize:vertical;min-height:132px;line-height:1.45}.btn{color:#172033;background:#e8eef5;border:0;border-radius:8px;min-height:44px;padding:12px 14px;font-weight:900}.btn.primary{background:linear-gradient(135deg, var(--teal-dark), var(--teal));color:#fff}.btn.ghost{background:var(--surface-soft)}.btn.danger{color:#9f1f17;background:#ffe6e3}.btn.small{min-height:34px;padding:7px 10px;font-size:12px}.btn.wide{width:100%;margin-top:10px}.action-save{min-height:50px;font-size:15px}.seg{border:1px solid var(--line);background:#e9eff5;border-radius:10px;grid-template-columns:1fr 1fr;gap:6px;margin:0 0 10px;padding:5px;display:grid}.seg button{color:var(--muted);background:0 0;border:0;border-radius:7px;padding:11px;font-weight:900}.seg button.active{color:var(--teal);background:#fff;box-shadow:0 6px 16px #10203317}.chips{scrollbar-width:none;gap:8px;padding:12px 0 2px;display:flex;overflow-x:auto}.chips::-webkit-scrollbar{display:none}.chips button{border:1px solid var(--line);color:#31435a;white-space:nowrap;background:#fff;border-radius:999px;padding:9px 12px;font-size:13px;font-weight:900}.chips .active{background:var(--teal-soft);color:var(--teal-dark);border-color:#0d7f7359}.bottom-nav{z-index:30;min-height:var(--nav-h);border-top:1px solid var(--line);padding:7px 7px calc(7px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;grid-template-columns:repeat(5,1fr);gap:3px;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -10px 28px #1020331f}.metric-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.metric{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;min-width:0;padding:11px}.metric span{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:900;display:block}.metric b{word-break:break-word;margin-top:7px;font-size:18px;line-height:1.15;display:block}.metric.credit b,.amount-credit{color:var(--green)}.metric.debit b,.amount-debit{color:var(--red)}.metric.orange b{color:var(--orange)}.statement-header{border:1px solid var(--line);background:linear-gradient(135deg, var(--teal-dark), var(--teal));color:#fff;border-radius:8px;gap:12px;margin-bottom:12px;padding:14px;display:grid}.statement-header .muted{color:#ffffffc7}.statement-header strong{font-size:24px;line-height:1.1;display:block}.view-seg{border:1px solid var(--line);background:#eef3f7;border-radius:999px;grid-auto-flow:column;gap:5px;padding:4px;display:inline-grid}.view-seg button{color:var(--muted);background:0 0;border:0;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:900}.view-seg button.active{color:var(--teal-dark);background:#fff;box-shadow:0 4px 12px #10203314}.table-wrap{border:1px solid var(--line);background:#fff;border-radius:8px;width:100%;overflow-x:auto}.data-table{border-collapse:collapse;width:100%;min-width:760px;font-size:13px}.data-table th,.data-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:10px}.data-table th{background:var(--surface-soft);color:#34455c;text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:950;position:sticky;top:0}.data-table tr:last-child td{border-bottom:0}.data-table .numeric{text-align:right;white-space:nowrap}.opening-row td,.data-table tfoot th{background:#f8fafc;font-weight:950}.mobile-card-grid{gap:10px;margin-top:12px;display:grid}.statement-card{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;padding:12px}.statement-card-head,.statement-card-foot{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.statement-card span,.statement-card small{color:var(--muted);font-size:12px;line-height:1.35;display:block}.statement-card-foot{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}.filter-panel{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;margin-top:10px;padding:10px}.filter-panel summary{cursor:pointer;color:#34455c;font-size:13px;font-weight:950}.group-block{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;margin-top:12px;overflow:hidden}.group-title{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.overflow-menu{align-self:flex-end;position:relative}.overflow-menu summary{border:1px solid var(--line);color:#34455c;cursor:pointer;background:#fff;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:900;list-style:none}.overflow-menu summary::-webkit-details-marker{display:none}.overflow-menu>div{z-index:10;border:1px solid var(--line);min-width:150px;box-shadow:var(--shadow);background:#fff;border-radius:8px;gap:7px;padding:8px;display:grid;position:absolute;top:calc(100% + 6px);right:0}.bottom-nav button{color:#6a7789;background:0 0;border:0;border-radius:8px;place-items:center;gap:3px;font-size:10px;font-weight:900;display:grid}.bottom-nav i{background:#eef3f7;border-radius:999px;place-items:center;width:23px;height:23px;font-size:11px;font-style:normal;display:grid}.bottom-nav .active{background:var(--teal-soft);color:var(--teal-dark)}.bottom-nav .active i{background:var(--teal);color:#fff}.list-row,.master-row,.transaction-card,.plan-card,.account-row,.account-mini{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:12px 0;display:flex}.list-row:last-child,.master-row:last-child,.transaction-card:last-child,.plan-card:last-child,.account-row:last-child,.account-mini:last-child{border-bottom:0}.list-row b,.master-row b,.plan-card b,.account-row b,.account-mini b{line-height:1.2;display:block}.list-row span,.master-row span,.plan-card p,.plan-card small,.account-row span,.account-mini span{color:var(--muted);margin:4px 0 0;font-size:12px;line-height:1.35;display:block}.account-mini{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;margin-top:10px;padding:11px}.contact-row{align-items:flex-start}.import-row{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;grid-template-columns:auto 1fr auto;align-items:flex-start;gap:10px;margin:8px 0;padding:10px;display:grid}.import-row.duplicate{opacity:.62;background:#eef2f7}.import-row input{width:18px;min-height:18px;margin-top:2px}.import-row b,.import-row small,.import-row em,.import-row i{display:block}.import-row small{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.35}.import-row em{color:#991b1b;margin-top:4px;font-size:12px;font-style:normal;line-height:1.35}.import-row i{color:#9a5a00;margin-top:4px;font-size:12px;font-style:normal;line-height:1.35}.csv-summary{border:1px solid var(--line);background:var(--surface-soft);color:var(--muted);border-radius:8px;grid-template-columns:auto 1fr auto 1fr auto 1fr;align-items:center;gap:8px;padding:10px;font-size:13px;display:grid}.import-tools{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}.right,.record-side{text-align:right;flex-direction:column;align-items:flex-end;gap:7px;display:flex}.row-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.record-main{min-width:0;color:inherit;text-align:left;background:0 0;border:0;grid-template-columns:auto 1fr;gap:10px;padding:0;display:grid}.record-main b{line-height:1.2;display:block}.record-main em,.record-main small{color:var(--muted);word-break:break-word;margin-top:4px;font-size:12px;font-style:normal;line-height:1.35;display:block}.record-side strong{white-space:nowrap}.type-dot{background:var(--teal);border-radius:999px;width:10px;height:10px;margin-top:4px}.type-dot.expense{background:var(--red)}.type-dot.income{background:var(--green)}.type-dot.investment{background:var(--blue)}.type-dot.paid{background:var(--orange)}.type-dot.plan{background:var(--teal)}.type-dot.crdr{background:#7c3aed}.plan-card{align-items:flex-start}.plan-card.overdue{background:linear-gradient(90deg,#fff7f5,#0000 52%)}.plan-card.paused{opacity:.86;background:linear-gradient(90deg,#f8fafc,#0000 58%)}.plan-top{align-items:center;gap:8px;display:flex}.plan-top span,.pill{color:#3730a3;background:#eef2ff;border-radius:999px;align-items:center;padding:6px 9px;font-size:11px;font-weight:900;display:inline-flex}.status-pill{border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:900}.status-pill.active{background:var(--teal-soft);color:var(--teal-dark);border-color:#0d7f7359}.status-pill.inactive{color:var(--muted);background:#eef2f7}.warning{background:var(--orange-soft);color:#9a4b00;border:1px solid #fed7aa;border-radius:8px;margin-top:12px;padding:11px;font-weight:850}.empty-state{background:var(--surface-soft);color:var(--muted);text-align:center;border:1px dashed #b8c5d3;border-radius:8px;padding:18px;line-height:1.45}.bar-row{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:11px 0;display:flex}.bar-row:last-child{border-bottom:0}.budget-row{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;margin-top:10px;padding:11px}.budget-row.safe{border-color:#15994740}.budget-row.warning{background:var(--orange-soft);border-color:#fed7aa}.budget-row.crossed{background:#fff1f0;border-color:#fecaca}.budget-row-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.budget-row-head b,.budget-row-head span{font-weight:950}.budget-row.warning .budget-row-head span{color:#9a4b00}.budget-row.crossed .budget-row-head span{color:var(--red)}.budget-meter{background:#e2e8f0;border-radius:999px;height:9px;margin:10px 0;overflow:hidden}.budget-meter i{border-radius:inherit;background:var(--green);max-width:100%;height:100%;display:block}.budget-row.warning .budget-meter i{background:var(--orange)}.budget-row.crossed .budget-meter i{background:var(--red)}.budget-row p{color:var(--muted);flex-wrap:wrap;gap:8px 12px;margin:0;font-size:12px;display:flex}.history-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 0;display:flex}.history-row:last-child{border-bottom:0}.history-row b,.history-row span{display:block}.history-row span{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.35}.chart{border:1px solid var(--line);background:linear-gradient(#fff,#f8fafc);border-radius:8px;width:100%;height:210px}.skeleton{gap:10px;margin-top:12px;display:grid}.skeleton span{background:linear-gradient(90deg,#e2e8f0,#f8fafc,#e2e8f0) 0 0/200% 100%;border-radius:8px;height:58px;animation:1.2s infinite shimmer;display:block}@keyframes shimmer{to{background-position:-200% 0}}.toast{left:12px;right:12px;bottom:calc(var(--nav-h) + 14px + env(safe-area-inset-bottom));z-index:50;color:#fff;text-align:center;opacity:0;pointer-events:none;background:#102033;border-radius:8px;padding:13px;transition:all .2s;position:fixed;transform:translateY(8px)}.toast.show{opacity:1;transform:none}.toast.error{background:#991b1b}.modal{z-index:60;background:#1020337a;align-items:flex-end;padding:10px;display:flex;position:fixed;inset:0}.modal-box{width:100%;max-height:86vh;box-shadow:var(--shadow);background:#fff;border-radius:8px;padding:16px;overflow:auto}.modal-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.detail{grid-template-columns:1fr;gap:10px;display:grid}.detail p{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;margin:0;padding:10px}.detail b,.detail span{word-break:break-word;display:block}.detail b{color:#34455c;font-size:12px}.auth-page{place-items:center;min-height:100vh;padding:18px;display:grid}.auth-page .card{width:100%;max-width:420px}.divider{text-align:center;color:var(--muted);padding:12px}.dashboard-command{max-width:1220px}.dashboard-hero{background:linear-gradient(135deg,#0d7f731f,#f2992e14),#fff;border:0}.dashboard-hero-head{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.dashboard-hero h1{margin-bottom:6px;font-size:clamp(28px,4vw,42px);line-height:1}.period-row{flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;display:flex}.period-row button{border:1px solid var(--line);color:#34455c;background:#fff;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:900}.period-row button.active{background:var(--teal-soft);color:var(--teal-dark);border-color:#0d7f7352}.period-row input{width:auto;min-height:38px;padding:8px 10px}.financial-hero-grid{grid-template-columns:1fr;gap:12px;margin-top:14px;display:grid}.balance-panel{background:linear-gradient(135deg, var(--teal-dark), var(--teal));color:#fff;border-radius:8px;padding:18px}.balance-panel span,.balance-panel small,.balance-panel em{display:block}.balance-panel span{text-transform:uppercase;letter-spacing:.08em;opacity:.82;font-size:12px;font-weight:950}.balance-panel strong{margin-top:10px;font-size:clamp(34px,8vw,54px);line-height:1;display:block}.balance-panel small{color:#ffffffc7;margin-top:10px;line-height:1.35}.balance-panel em{color:#fff;background:#f2992e2e;border-radius:8px;margin-top:12px;padding:9px;font-style:normal;font-weight:850}.money-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.money-stat{border:1px solid var(--line);background:#ffffffc7;border-radius:8px;padding:12px}.money-stat span{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:950;display:block}.money-stat b{word-break:break-word;margin-top:9px;font-size:18px;line-height:1.1;display:block}.money-stat.green b{color:var(--green)}.money-stat.red b{color:var(--red)}.money-stat.blue b{color:var(--blue)}.money-stat.orange b{color:var(--orange)}.insight-text{border-left:3px solid var(--orange);color:#44546a;margin:12px 0 0;padding:8px 0 8px 10px;font-size:13px;line-height:1.4}.attention-list,.compact-list,.activity-list{gap:8px;margin-top:10px;display:grid}.attention-item,.compact-list button,.activity-list button{border:1px solid var(--line);background:var(--surface-soft);width:100%;color:var(--text);text-align:left;border-radius:8px;grid-template-columns:1fr auto;align-items:center;gap:10px;padding:11px;display:grid}.attention-item b,.attention-item small,.compact-list b,.compact-list small,.activity-list b,.activity-list small,.activity-list em{display:block}.attention-item small,.compact-list small,.activity-list small,.activity-list em{color:var(--muted);margin-top:4px;font-size:12px;font-style:normal;line-height:1.35}.attention-item strong,.compact-list strong,.activity-list strong{white-space:nowrap}.attention-item.warning{background:var(--orange-soft);border-color:#fed7aa}.attention-item.danger{background:#fff1f0;border-color:#fecaca}.inline-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.health-summary-strip{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:12px;display:flex}.health-summary-strip b,.health-summary-strip span{display:block}.health-summary-strip span{color:var(--muted);margin-top:3px;font-size:12px}.health-summary-strip.critical{background:#fff1f0;border-color:#fecaca}.health-summary-strip.warning{background:var(--orange-soft);border-color:#fed7aa}.health-summary-strip.info{background:#eff6ff;border-color:#bfdbfe}.health-summary-strip.healthy{background:#f0fdf4;border-color:#bbf7d0}.compact-empty{background:var(--surface-soft);color:var(--muted);border:1px dashed #b8c5d3;border-radius:8px;margin:10px 0 0;padding:12px;font-size:13px;line-height:1.4}.account-card-grid{grid-template-columns:1fr;gap:10px;margin-top:12px;display:grid}.dashboard-account-card,.dashboard-card-card{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;padding:12px}.dashboard-account-card.negative,.dashboard-card-card.high,.dashboard-card-card.over_limit{background:#fff1f0;border-color:#fecaca}.dashboard-card-card.elevated{background:var(--orange-soft);border-color:#fed7aa}.dashboard-account-card b,.dashboard-account-card span,.dashboard-account-card strong,.dashboard-account-card p,.dashboard-card-card b,.dashboard-card-card span,.dashboard-card-card strong,.dashboard-card-card small{display:block}.dashboard-account-card span,.dashboard-card-card span,.dashboard-card-card small{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.35}.dashboard-account-card strong,.dashboard-card-card strong{margin-top:12px;font-size:22px;line-height:1.1}.dashboard-account-card p{color:var(--muted);margin:8px 0 0;font-size:12px}.account-movement{flex-wrap:wrap;gap:8px 12px;margin-top:11px;display:flex}.account-movement span{background:#fff;border-radius:999px;padding:6px 8px;font-weight:850}.category-insight{border-bottom:1px solid var(--line);justify-content:space-between;gap:10px;padding:10px 0;display:flex}.category-insight:last-child{border-bottom:0}.category-insight b,.category-insight span{display:block}.category-insight span{color:var(--muted);margin-top:4px;font-size:12px}.insight-layout{grid-template-columns:1fr;gap:12px;margin-top:10px;display:grid}.insight-stack{gap:8px;margin-top:10px;display:grid}.insight-stack .insight-text{margin-top:0}.activity-list button{grid-template-columns:auto 1fr auto}.settings-page{max-width:1120px;margin:0 auto}.settings-hero{background:linear-gradient(135deg,#0d7f731a,#f2992e14),#fff;border:0}.settings-card-grid{grid-template-columns:1fr;gap:12px;display:grid}.settings-card{border:1px solid var(--line);width:100%;color:var(--text);text-align:left;background:#fff;border-radius:8px;gap:8px;padding:16px;display:grid;box-shadow:0 12px 28px #1020330d}.settings-card:hover{border-color:#0d7f734d;transform:translateY(-1px)}.settings-card span{color:#34455c;text-transform:uppercase;letter-spacing:.06em;font-size:12px;font-weight:950}.settings-card b{font-size:24px;line-height:1.1;display:block}.settings-card small{color:var(--muted);font-size:13px;line-height:1.4}.settings-detail-shell{gap:12px;display:grid}.settings-detail-shell>.btn{justify-self:flex-start}.settings-manager-card{overflow:visible}.settings-summary-strip{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.settings-summary-strip span{border:1px solid var(--line);color:var(--muted);background:#ffffffc7;border-radius:999px;align-items:center;gap:6px;padding:8px 10px;font-size:12px;font-weight:850;display:inline-flex}.settings-summary-strip b{color:var(--text);font-size:14px}.settings-warning-list{gap:8px;margin-top:12px;display:grid}.settings-warning-list p{background:var(--orange-soft);color:#9a4b00;border:1px solid #fed7aa;border-radius:8px;margin:0;padding:10px;font-size:13px;font-weight:850}.settings-manager-toolbar{grid-template-columns:1fr;align-items:end;gap:10px;margin:12px 0;display:grid}.settings-form-panel{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;margin:12px 0;padding:12px}.notification-settings-card .toggle-row{border-bottom:1px solid #0f172a14;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.notification-settings-card .toggle-row:last-child{border-bottom:0}.notification-settings-card .toggle-row span{color:var(--muted);margin-top:2px;font-size:.84rem;display:block}.notification-settings-card input[type=checkbox]{width:22px;height:22px;accent-color:var(--teal);flex:none}.section-title.compact{align-items:flex-start;margin-bottom:8px}.section-title.compact h3{margin:0 0 4px;font-size:17px}.reports-insights-page{max-width:1220px;margin:0 auto}.reports-hero{background:linear-gradient(135deg,#0d7f731a,#f2992e14),#fff;border:0}.reports-hero-head,.report-detail-head{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.report-filter-bar{margin-top:14px}.filter-summary{color:var(--muted);margin:10px 0 0;font-size:13px}.active-filter-chips{flex-wrap:wrap;gap:7px;margin-top:10px;display:flex}.active-filter-chips span{background:var(--teal-soft);color:var(--teal-dark);border-radius:999px;padding:6px 9px;font-size:12px;font-weight:900}.reports-summary-card,.reports-insights-card,.report-detail-card{grid-column:1/-1}.reports-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.report-metric{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;padding:12px}.report-metric span{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-size:11px;font-weight:950;display:block}.report-metric b{word-break:break-word;margin-top:8px;font-size:20px;line-height:1.1;display:block}.report-metric.green b{color:var(--green)}.report-metric.red b{color:var(--red)}.report-metric.blue b{color:var(--blue)}.report-metric.orange b{color:var(--orange)}.report-insight-grid,.report-section-grid{grid-template-columns:1fr;gap:10px;display:grid}.report-insight{border:1px solid var(--line);border-left:3px solid var(--teal);background:var(--surface-soft);border-radius:8px;padding:11px}.report-insight.warn{border-left-color:var(--orange);background:var(--orange-soft)}.report-insight.danger{border-left-color:var(--red);background:#fff1f0}.report-insight.good{border-left-color:var(--green)}.report-insight b,.report-insight span{display:block}.report-insight span{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.35}.report-section-card{border:1px solid var(--line);color:var(--text);text-align:left;background:#fff;border-radius:8px;gap:8px;padding:15px;display:grid;box-shadow:0 12px 28px #1020330d}.report-section-card.warning{background:var(--orange-soft);border-color:#fed7aa}.report-section-card.empty{background:var(--surface-soft)}.report-section-card span{color:#34455c;text-transform:uppercase;letter-spacing:.05em;font-size:12px;font-weight:950}.report-section-card b{font-size:21px;line-height:1.1}.report-section-card small{color:var(--muted);line-height:1.35}.report-section-card em{color:var(--teal-dark);font-size:12px;font-style:normal;font-weight:950}.report-detail-head{justify-content:flex-start;margin-bottom:12px}.report-detail-stack{gap:14px;display:grid}.report-two-col{grid-template-columns:1fr;gap:14px;display:grid}.report-bar-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr);gap:8px;padding:11px 0;display:grid}.report-bar-row:last-child{border-bottom:0}.report-bar-row b,.report-bar-row span{display:block}.report-bar-row span{color:var(--muted);margin-top:4px;font-size:12px}.report-bar{background:#e2e8f0;border-radius:999px;height:8px;overflow:hidden}.report-bar i{border-radius:inherit;background:var(--teal);height:100%;display:block}.report-table-wrap{margin-top:8px}.report-table th{z-index:1;position:sticky;top:0}.export-dialog{gap:12px;display:grid}.export-section-list{gap:8px;max-height:280px;padding-right:2px;display:grid;overflow:auto}.health-page{max-width:1220px}.health-hero h1{margin-bottom:6px}.health-scope-grid,.health-group-grid{grid-template-columns:1fr;gap:12px;display:grid}.health-scope-grid>div{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;padding:12px}.health-scope-grid b,.health-scope-grid span{display:block}.health-scope-grid span{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.4}.health-filter-row{grid-template-columns:1fr;align-items:end;gap:12px;display:grid}.health-issue-list{gap:10px;display:grid}.health-issue-card{border:1px solid var(--line);border-left:4px solid var(--blue);background:#fff;border-radius:8px;grid-template-columns:1fr;gap:14px;padding:14px;display:grid}.health-issue-card.critical{border-left-color:var(--red);background:snow}.health-issue-card.warning{border-left-color:var(--orange);background:#fffdf8}.health-issue-card.info{border-left-color:var(--blue)}.health-issue-card h3{margin:8px 0 4px;font-size:16px}.health-issue-card p{color:var(--text);margin:0;line-height:1.45}.health-issue-card small{color:var(--muted);margin-top:8px;display:block}.health-issue-meta{align-content:start;justify-items:start;gap:8px;display:grid}.health-issue-meta b,.health-issue-meta strong{display:block}.health-severity{text-transform:uppercase;border-radius:999px;width:fit-content;padding:4px 8px;font-size:11px;font-weight:950;display:inline-flex}.health-severity.critical{color:#b91c1c;background:#fee2e2}.health-severity.warning{background:var(--orange-soft);color:#c2410c}.health-severity.info{color:#2563eb;background:#eff6ff}.health-mini-issue{border:1px solid var(--line);width:100%;color:var(--text);text-align:left;background:#fff;border-radius:8px;justify-content:space-between;gap:12px;margin-top:8px;padding:10px;display:flex}.health-mini-issue b,.health-mini-issue small{display:block}.health-mini-issue small{color:var(--muted);margin-top:4px;line-height:1.35}.health-mini-issue.critical{background:#fff1f0}.health-mini-issue.warning{background:var(--orange-soft)}.health-detail .table-wrap{max-height:300px}@media (width>=720px){:root{--nav-h:74px}.page{padding:18px 18px calc(var(--nav-h) + 34px)}.grid2{grid-template-columns:1fr 1fr}.topbar{padding:10px 18px}.bottom-nav{border:1px solid var(--line);border-bottom:0;border-radius:8px 8px 0 0;width:min(760px,100% - 24px);left:50%;right:auto;transform:translate(-50%)}.dashboard-page,.records-page,.reports-page,.setup-page,.upcoming-page{grid-template-columns:1fr 1fr;gap:0 14px;display:grid}.dashboard-page .hero-card,.dashboard-page .dashboard-hero,.dashboard-page .attention-card,.dashboard-page .commitment-card,.dashboard-page .recent-activity,.dashboard-page .insights-card,.dashboard-page .dashboard-charts,.records-page .toolbar-card,.reports-page .toolbar-card,.records-page .card:nth-of-type(3),.setup-page .toolbar-card,.upcoming-page .toolbar-card{grid-column:1/-1}.financial-hero-grid{grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);align-items:stretch}.account-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-layout,.detail{grid-template-columns:1fr 1fr}.settings-page{display:block}.settings-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-manager-toolbar{grid-template-columns:minmax(0,1fr) minmax(180px,.35fr)}.reports-metric-grid,.health-filter-row{grid-template-columns:repeat(4,minmax(0,1fr))}.health-scope-grid,.health-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.health-issue-card{grid-template-columns:1fr auto}.health-issue-meta{justify-items:end;min-width:150px}.health-issue-meta b,.health-issue-meta strong{text-align:right}.report-insight-grid,.report-section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-two-col{grid-template-columns:1fr 1fr}.report-bar-row{grid-template-columns:minmax(170px,.8fr) 1fr auto;align-items:center}}@media (width>=1024px){:root{--nav-h:0px}.app-shell{grid-template-rows:auto minmax(0,1fr);grid-template-columns:238px 1fr;padding-bottom:0;display:grid}.desktop-sidebar{z-index:25;border-right:1px solid var(--line);background:#fff;flex-direction:column;grid-row:1/span 2;gap:16px;height:100vh;padding:18px 14px;display:flex;position:sticky;top:0;box-shadow:8px 0 26px #1020330d}.settings-card-grid,.report-section-grid,.health-group-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.side-brand{color:var(--text);align-items:center;gap:10px;display:flex}.side-brand .brand-mark{background:linear-gradient(135deg, var(--teal-dark), var(--teal));color:#fff}.side-brand b,.side-brand span{display:block}.side-brand b{font-size:16px;line-height:1.1}.side-brand span{color:var(--muted);margin-top:2px;font-size:12px}.side-primary{background:linear-gradient(135deg, var(--teal-dark), var(--teal));color:#fff;border:0;border-radius:8px;min-height:46px;padding:12px;font-weight:950}.desktop-sidebar nav{gap:6px;display:grid}.desktop-sidebar nav button{color:#46576c;text-align:left;background:0 0;border:0;border-radius:8px;grid-template-columns:28px 1fr;align-items:center;gap:8px;padding:11px;font-weight:900;display:grid}.desktop-sidebar nav button i{background:#eef3f7;border-radius:8px;place-items:center;width:26px;height:26px;font-size:11px;font-style:normal;display:grid}.desktop-sidebar nav button.active{background:var(--teal-soft);color:var(--teal-dark)}.desktop-sidebar nav button.active i{background:var(--teal);color:#fff}.topbar{min-height:54px;color:var(--text);border-bottom:1px solid var(--line);box-shadow:none;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffeb;grid-column:2}.topbar .brand-mark{display:none}.topbar .brand-copy b{color:var(--text)}.topbar .brand-copy span{color:var(--muted);opacity:1}.top-action,.bell-btn{border-color:var(--line);background:var(--surface-soft);color:var(--text)}.bell-btn b{border-color:#fff}.bottom-nav{display:none}main{grid-area:2/2;min-width:0}.page{max-width:1220px;padding:18px 22px 32px}.dashboard-command{grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr);gap:0 16px}.dashboard-page .dashboard-hero,.dashboard-page .attention-card,.dashboard-page .commitment-card,.dashboard-page .recent-activity,.dashboard-page .insights-card,.dashboard-page .dashboard-charts{grid-column:1/-1}.account-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.statement-header{grid-template-columns:1fr auto;align-items:end}.toast{width:min(380px,100% - 44px);bottom:22px;left:auto;right:22px}.modal{justify-content:center;align-items:center;padding:22px}.modal-box{max-width:760px}}.top-actions{align-items:center;gap:7px;display:flex}.bell-btn{color:#fff;background:#ffffff1f;border:1px solid #fff3;border-radius:999px;place-items:center;width:38px;height:38px;font-weight:950;display:grid;position:relative}.bell-btn b{background:var(--orange);color:#2c1700;border:2px solid var(--teal-dark);border-radius:999px;place-items:center;min-width:18px;height:18px;font-size:10px;display:grid;position:absolute;top:-4px;right:-4px}.confirm-actions{justify-content:flex-end;gap:10px;margin-top:14px;display:flex}.confirm-details{gap:8px;margin-top:12px;display:grid}.confirm-details p{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;justify-content:space-between;gap:12px;margin:0;padding:9px 10px;display:flex}.confirm-details b{color:#34455c;font-size:12px}.confirm-details span{text-align:right;word-break:break-word}.calendar-box{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;margin:10px 0;padding:12px}.advanced-box{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;margin:10px 0;padding:11px}.advanced-box summary{cursor:pointer;color:#34455c;font-size:13px;font-weight:900}.advanced-box .grid2{margin-top:10px}.toggle-line{color:#34455c;align-items:center;gap:9px;font-size:13px;font-weight:850;display:flex}.toggle-line input{width:18px;min-height:18px}.timeline-row,.ledger-bubble,.notification-row{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;margin-top:10px;padding:11px}.timeline-row.paid,.ledger-bubble.cr{background:var(--teal-soft);border-color:#0d7f7340}.timeline-row.note{background:var(--orange-soft);border-color:#fed7aa}.ledger-bubble.dr{background:#fff1f0;border-color:#fecaca}.ledger-bubble b,.ledger-bubble span,.timeline-row b,.timeline-row span{display:block}.ledger-bubble span,.timeline-row span{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.35}.ledger-header{border-bottom:1px solid var(--line);margin-bottom:10px;padding-bottom:10px}.notification-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.notification-head strong{color:var(--text);margin-top:4px;display:block}.notification-head-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.notification-tabs{gap:8px;margin-bottom:6px;padding:2px 0 10px;display:flex;overflow-x:auto}.notification-tabs button{border:1px solid var(--line);color:#52627a;white-space:nowrap;background:#fff;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:900}.notification-tabs button.active{color:var(--teal);background:var(--teal-soft);border-color:#0d7f7359}.notification-list{gap:10px;max-height:min(62vh,620px);padding-right:2px;display:grid;overflow:auto}.notification-row{grid-template-columns:34px 1fr;align-items:flex-start;gap:12px;margin-top:0;display:grid;position:relative}.notification-row.read{opacity:.74}.notification-row.priority-critical{background:#fff1f0;border-color:#fecaca}.notification-row.priority-high{background:var(--orange-soft);border-color:#fed7aa}.notification-row.priority-normal{background:var(--teal-soft);border-color:#0d7f7338}.notification-marker{width:32px;height:32px;color:var(--teal);border:1px solid var(--line);background:#fff;border-radius:999px;place-items:center;font-size:12px;font-weight:950;display:grid}.notification-copy{min-width:0}.notification-title-line{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.notification-title-line b{overflow-wrap:anywhere;min-width:0}.notification-row b,.notification-row span,.notification-row small{display:block}.priority-pill,.unread-dot{text-transform:uppercase;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:950;line-height:1}.priority-pill.critical{color:#991b1b;background:#fee2e2}.priority-pill.high{color:#9a3412;background:#ffedd5}.priority-pill.normal{color:#0f766e;background:#ccfbf1}.priority-pill.low{color:#475569;background:#e2e8f0}.unread-dot{color:#1e3a8a;background:#dbeafe}.notification-actions{flex-wrap:wrap;grid-column:2;justify-content:flex-start;gap:8px;display:flex}.locked-note{align-self:center;color:#991b1b!important;font-weight:850!important}.notification-summary-card{background:linear-gradient(135deg, #fff, var(--teal-soft));border-color:#0d7f733d;justify-content:space-between;align-items:center;gap:14px;display:flex}.notification-summary-card h3{margin:3px 0 4px}.monthly-close-page{gap:14px;padding-bottom:96px;display:grid}.monthly-close-hero .field{min-width:190px;margin:0}.close-header-actions{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.close-status-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.close-status-strip>div{border:1px solid var(--line);background:#fff;border-radius:8px;padding:12px}.close-status-strip span,.close-status-strip b{display:block}.close-status-strip span{color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:950}.close-status{border:1px solid var(--line);width:fit-content;color:var(--text);white-space:nowrap;background:#f8fafc;border-radius:999px;align-items:center;padding:5px 9px;font-size:12px;font-weight:950;display:inline-flex}.close-status.ready-to-close,.close-status.matched,.close-status.open,.close-status.reviewed,.close-status.reopened{color:#15803d;background:#f0fdf4;border-color:#bbf7d0}.close-status.needs-attention,.close-status.mismatch,.close-status.closed{color:#b91c1c;background:#fff1f0;border-color:#fecaca}.close-status.in-progress,.close-status.not-reconciled{background:var(--orange-soft);color:#c2410c;border-color:#fed7aa}.close-checklist,.close-issues{gap:8px;display:grid}.close-check,.close-issue{border:1px solid var(--line);background:#fff;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.close-check{justify-content:flex-start}.close-check b,.close-check small,.close-issue b,.close-issue span,.close-issue small{display:block}.close-check small,.close-issue span,.close-issue small{color:var(--muted);margin-top:3px}.close-dot{border-radius:50%;flex:0 0 28px;place-items:center;width:28px;height:28px;font-style:normal;font-weight:950;display:grid}.close-dot.ok,.close-check.ok{background:#f0fdf4}.close-dot.ok{color:#15803d}.close-dot.warning,.close-check.warning,.close-issue.warning{background:var(--orange-soft)}.close-dot.warning{color:#c2410c}.close-dot.critical,.close-check.critical,.close-issue.critical{background:#fff1f0}.close-dot.critical{color:#b91c1c}.close-dot.info,.close-check.info,.close-issue.info{background:#eff6ff}.close-dot.info{color:#2563eb}.close-action-panel{border:1px solid var(--line);background:#fbfdff;border-radius:8px;grid-template-columns:1fr auto;align-items:center;gap:16px;padding:14px;display:grid}.close-table td b,.close-table td small{display:block}.close-table td small{color:var(--muted);margin-top:2px}@media (width<=760px){.close-status-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.close-header-actions{width:100%}.close-header-actions .field{flex:1;min-width:160px}}@media (width<=520px){.close-status-strip,.monthly-close-page .metric-strip{grid-template-columns:1fr}.close-issue,.close-check{align-items:flex-start}.close-action-panel{grid-template-columns:1fr}}.notification-row span{color:var(--muted);margin-top:4px;font-size:13px;line-height:1.35}.notification-row small{color:var(--teal);margin-top:5px;font-weight:800}
