@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;line-height:1.6;color:#000;background:#f3f7ff;--c-accent: #2563eb;--c-accent-strong: #1d4ed8;--c-accent-soft: #dbeafe;--c-text: #000;--c-muted: #6b7280;--c-border: #111827;--c-border-light: #e5e7eb;--c-bg: #fff;--c-bg-soft: #f8fafc}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at top left,rgba(37,99,235,.08),transparent 28%),linear-gradient(180deg,#f8fbff,#fff 26%);color:var(--c-text);-webkit-font-smoothing:antialiased}#root{max-width:960px;margin:0 auto;padding:0 0 calc(6.8rem + env(safe-area-inset-bottom,0px))}.app-shell{display:flex;flex-direction:column}button,input,select{font:inherit}button{cursor:pointer;transition:opacity .12s,background .12s,transform .12s}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--c-accent);outline-offset:2px}.hero{border-bottom:1px solid var(--c-border);padding:1rem 1.2rem .9rem;background:#ffffffe0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.hero h1{margin:0 0 .25rem;font-size:1.15rem;font-weight:800;letter-spacing:-.02em}.hero-copy{margin:0;color:var(--c-muted);font-size:.86rem}.bottom-tabs{position:fixed;left:50%;bottom:.8rem;transform:translate(-50%);width:min(92vw,620px);display:grid;grid-template-columns:repeat(3,1fr);gap:.45rem;padding:.45rem;padding-bottom:calc(.45rem + env(safe-area-inset-bottom,0px));background:#fffffff0;border:1px solid rgba(15,23,42,.12);border-radius:22px;box-shadow:0 18px 40px #0f172a24;z-index:120;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.bottom-tabs button{border:none;border-radius:16px;background:transparent;color:var(--c-muted);padding:.62rem .4rem;font-weight:700;display:flex;flex-direction:column;align-items:center;gap:.2rem;min-height:56px;touch-action:manipulation}.bottom-tabs button svg{width:1.2rem;height:1.2rem}.bottom-tabs button.active{background:var(--c-accent);color:#fff}.bottom-tabs button:not(.active):hover{background:#eff6ff;color:var(--c-accent-strong)}.fab-bar{position:fixed;top:.55rem;right:.55rem;display:flex;gap:.35rem;z-index:100}.fab-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:none;background:#0f172a;color:#fff;font-size:1.1rem;font-weight:700;text-decoration:none;box-shadow:0 2px 8px #0000002e;touch-action:manipulation}.fab-btn:hover{transform:scale(1.08)}.global-error{margin:0;color:#991b1b;background:#fef2f2;border-bottom:1px solid #fecaca;padding:.5rem 1.2rem;font-size:.85rem;display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.global-error a{color:var(--c-accent);font-weight:700;text-decoration:underline}.error-retry{border:1px solid #fca5a5;border-radius:0;background:#fff;color:#991b1b;padding:.18rem .5rem;font-size:.8rem;font-weight:700}.editor-card,.transactions-card,.viz-card,.editor-placeholder,.simple-entry-card{background:#ffffffeb;border:1px solid var(--c-border);padding:1rem 1.2rem;min-width:0;max-width:100%}.simple-entry-head{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:.85rem}.simple-entry-head h2{margin:0;font-size:1rem;font-weight:700}.entry-mode-toggle{display:inline-flex;border:1px solid var(--c-border);overflow:hidden}.entry-mode-toggle button{border:0;background:transparent;color:var(--c-muted);padding:.38rem .85rem;font-weight:600;font-size:.88rem}.entry-mode-toggle button.active{background:var(--c-accent);color:#fff}.simple-entry-card{border-left:none;border-right:none}.entry-feedback{display:flex;flex-direction:column;gap:.22rem;margin-bottom:.85rem;padding:.75rem .9rem;border:1px solid var(--c-border-light);background:#f8fafc}.entry-feedback.success{background:#eff6ff;border-color:#bfdbfe}.entry-feedback.review{background:#fff7ed;border-color:#fdba74}.entry-feedback.auto-journal{background:#eff6ff;border-color:#93c5fd}.floating-notice{position:fixed;right:1rem;top:4.4rem;bottom:auto;width:min(280px,calc(100vw - 2rem));z-index:125;pointer-events:none}.auto-journal-toast{display:flex;flex-direction:column;gap:.12rem;padding:.52rem .62rem;border:1px solid var(--c-border);background:#fffffff0;box-shadow:0 10px 22px #0f172a1f;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:10px;animation:toast-float-in .22s ease-out}.completion-toast{display:flex;flex-direction:column;gap:.12rem;padding:.52rem .62rem;border:1px solid var(--c-border);background:#fffffff0;box-shadow:0 10px 22px #0f172a1f;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:10px;animation:toast-float-in .22s ease-out;margin-top:.45rem}.completion-toast strong{font-size:.74rem;color:var(--c-text)}.completion-toast span{font-size:.68rem;line-height:1.45;color:var(--c-muted)}.auto-journal-toast strong{font-size:.74rem;color:var(--c-text)}.auto-journal-toast span{font-size:.68rem;line-height:1.45;color:var(--c-muted)}@keyframes toast-float-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.entry-feedback strong{font-size:.9rem}.review-list{margin:0;padding-left:1rem;font-size:.82rem;color:#7c2d12}.review-actions{display:flex;flex-wrap:wrap;gap:.45rem}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a61;display:grid;place-items:center;padding:1rem;z-index:140;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-window{width:min(560px,100%);background:#fffffffa;border:1px solid rgba(15,23,42,.14);box-shadow:0 28px 60px #0f172a3d;border-radius:18px;overflow:hidden}.modal-window__head,.modal-window__actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.9rem 1rem;border-bottom:1px solid var(--c-border-light)}.modal-window__head h2{margin:0;font-size:1rem}.modal-window__body{padding:1rem}.modal-window__actions{border-top:1px solid var(--c-border-light);border-bottom:none;justify-content:flex-end;padding-bottom:calc(.9rem + env(safe-area-inset-bottom,0px))}.modal-window__head button,.modal-window__actions button{min-height:42px}.simple-form{display:flex;flex-direction:column;gap:.72rem;max-width:680px}.step-form{display:flex;flex-direction:column;gap:.65rem}.step-card{border:1px solid var(--c-border-light);background:var(--c-bg-soft);overflow:hidden;transition:border-color .18s ease,background .18s ease;cursor:pointer}.step-card.active{border-color:var(--c-border);background:var(--c-bg);cursor:default}.step-card.done{background:#fafcff}.step-card__head{width:100%;border:0;background:transparent;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.78rem .9rem;text-align:left}.step-card__head>div{display:flex;align-items:center;gap:.65rem}.step-card__head h3{margin:0;font-size:.92rem}.step-card__index{width:1.55rem;height:1.55rem;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--c-border);font-size:.78rem;font-weight:700;background:#fff}.step-card__status{font-size:.72rem;font-weight:700;color:var(--c-muted)}.step-card__desc{margin:0;padding:0 .9rem .72rem;font-size:.76rem;color:var(--c-muted)}.step-card__summary{margin:0;padding:0 .9rem .78rem;font-size:.8rem;color:var(--c-text)}.step-card__body{max-height:0;overflow:hidden;padding:0 .9rem;transition:max-height .28s ease,padding .28s ease}.step-card.active .step-card__body{max-height:1200px;padding:0 .9rem .9rem}.simple-form label{display:flex;flex-direction:column;gap:.22rem;font-size:.78rem;color:var(--c-muted);font-weight:600;text-transform:uppercase;letter-spacing:.04em}.simple-form input,.simple-form select{border:1px solid var(--c-border);border-radius:0;padding:.55rem .65rem;font-size:.95rem;color:var(--c-text);background:var(--c-bg);min-height:46px;transition:border-color .16s ease,box-shadow .16s ease}.simple-form input:focus,.simple-form select:focus{border-color:var(--c-accent);box-shadow:0 10px 22px #2563eb1f}.simple-form input::placeholder{color:#9ca3af}.simple-form-actions{display:flex;justify-content:flex-end;margin-top:.25rem}.simple-form-actions button{border:none;padding:.52rem 1.2rem;font-weight:700;background:var(--c-text);color:#fff}.editor-card__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:.7rem}.editor-card__head h2,.transactions-card h2,.viz-card h2,.editor-placeholder h2{margin:0;font-size:.95rem;font-weight:700}.ghost{border:1px solid var(--c-border);background:var(--c-bg);border-radius:0;padding:.3rem .65rem;color:var(--c-text);font-weight:600;font-size:.82rem}.ghost:hover{background:var(--c-bg-soft)}.transaction-form{display:flex;flex-direction:column;gap:.85rem}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.7rem}.form-grid label{display:flex;flex-direction:column;gap:.22rem;font-size:.78rem;color:var(--c-muted);font-weight:600}.form-grid input,.form-grid select,.bulk-actions input,.bulk-actions select,.viz-filter-row input,.viz-filter-row select{border:1px solid var(--c-border);border-radius:0;padding:.42rem .55rem;font-size:.95rem;background:var(--c-bg)}.inline-helper{margin-top:.25rem;width:fit-content;border:1px solid var(--c-border-light);padding:.2rem .5rem;background:var(--c-bg-soft);font-size:.82rem}.template-row,.suggest-row,.entry-hint{display:flex;align-items:center;flex-wrap:wrap;gap:.3rem}.suggest-row span,.template-row span,.entry-hint span{font-size:.75rem;color:var(--c-muted);font-weight:600}.suggest-row button,.entry-hint button{border:1px solid var(--c-border);border-radius:0;background:var(--c-bg);color:var(--c-text);padding:.18rem .55rem;font-size:.78rem;font-weight:600;min-height:34px}.entry-hint button{border-color:#bfdbfe;background:#eff6ff;color:var(--c-accent-strong)}.suggest-row button:hover,.entry-hint button:hover{background:var(--c-text);color:#fff}.template-row button{border:1px solid var(--c-border-light);border-radius:0;background:var(--c-bg-soft);color:var(--c-text);padding:.18rem .55rem;font-size:.78rem;min-height:34px}.posting-list{display:flex;flex-direction:column;gap:.5rem}.posting-list__header{display:flex;align-items:center;justify-content:space-between}.posting-list__header h3{margin:0;font-size:.9rem;font-weight:700}.posting-row{display:grid;grid-template-columns:minmax(220px,2fr) minmax(120px,1fr) minmax(100px,.8fr) minmax(90px,.7fr);gap:.4rem}.posting-row input,.posting-row select{border:1px solid var(--c-border);border-radius:0;padding:.42rem .5rem;background:var(--c-bg)}.posting-row button,.form-submit button,.bulk-actions__right button,.conflict-retry button,.transaction-actions button{border:1px solid var(--c-border);border-radius:0;padding:.32rem .65rem;font-weight:600;font-size:.82rem;background:var(--c-bg);color:var(--c-text)}.posting-row button{background:#fef2f2;color:#991b1b;border-color:#fca5a5}.posting-group{display:flex;flex-direction:column;gap:.45rem;border:1px solid var(--c-border-light);padding:.65rem;background:var(--c-bg-soft)}.posting-group h4{margin:0;font-size:.85rem;color:var(--c-muted);font-weight:600}.posting-group-actions,.posting-footer-actions{display:flex;flex-wrap:wrap;gap:.35rem}.posting-group-actions button,.posting-footer-actions button{border:1px solid var(--c-border-light);padding:.28rem .65rem;font-weight:600;background:var(--c-bg);color:var(--c-text)}.posting-empty{margin:0;color:var(--c-muted);font-size:.85rem}.form-submit{display:flex;justify-content:flex-end}.form-submit button{background:var(--c-text);color:#fff;border-color:var(--c-text)}.edit-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:0}.edit-layout>*,.visualize-layout>.viz-card{border-bottom:1px solid var(--c-border)}.transaction-list-head,.inline-filter{margin-bottom:.55rem}.edit-panel-group{margin-bottom:.85rem;border:1px solid var(--c-border-light);background:var(--c-bg-soft)}.collapsible-head{width:100%;border:0;background:transparent;padding:.8rem .9rem;display:flex;align-items:center;justify-content:space-between;text-align:left}.collapsible-head h2{margin:0}.collapsible-head span{font-size:.76rem;color:var(--c-muted)}.collapsible-head__right{display:flex;align-items:center;gap:.5rem;color:var(--c-muted)}.collapsible-body{padding:0 .9rem .8rem}.select-all-toggle{display:inline-flex;align-items:center;gap:.4rem;font-size:.82rem;color:var(--c-muted)}.transaction-list{display:flex;flex-direction:column}.transaction-item{display:grid;grid-template-columns:auto 1fr auto;gap:.65rem;align-items:center;border-bottom:1px solid var(--c-border-light);padding:.58rem 0}.transaction-item:hover{background:var(--c-bg-soft)}.transaction-item__main{min-width:0;display:flex;flex-direction:column;gap:.1rem}.transaction-item__top{display:flex;align-items:center;gap:.4rem}.transaction-item__title{font-weight:700;color:var(--c-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}.tx-type{display:inline-flex;align-items:center;padding:.08rem .4rem;font-size:.68rem;font-weight:600;background:var(--c-bg-soft);color:var(--c-muted);border:1px solid var(--c-border-light)}.transaction-item__meta{display:flex;flex-wrap:wrap;gap:.4rem;font-size:.75rem;color:var(--c-muted)}.transaction-item__right{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem}.bulk-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.45rem;margin-bottom:.5rem}.bulk-actions__left,.bulk-actions__right,.transaction-actions{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap}.bulk-actions__right button.danger{background:#fef2f2;color:#991b1b;border-color:#fca5a5}.readonly-badge{display:inline-flex;align-items:center;padding:.12rem .45rem;background:#fef3c7;color:#92400e;font-size:.7rem;font-weight:600;border:1px solid #fde68a}.editor-placeholder p{margin-top:.55rem;color:var(--c-muted)}.visualize-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;width:100%;min-width:0}.visualize-layout>*{min-width:0}.viz-filter,.viz-overview,.viz-card--wide{grid-column:1 / -1}.viz-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.viz-story{display:flex;flex-direction:column;gap:.55rem;background:linear-gradient(180deg,#f8fbfffa,#f1f6fdfa)}.viz-story__lead{margin:0;font-size:.98rem;line-height:1.7;color:#1e293b;font-weight:600}.viz-story__meta{display:flex;flex-wrap:wrap;gap:.5rem .85rem;color:var(--c-muted);font-size:.78rem}.viz-kpi{background:var(--c-bg);border-right:1px solid var(--c-border-light);padding:.55rem .6rem;display:flex;flex-direction:column;gap:.1rem}.viz-kpi:last-child{border-right:none}.viz-kpi span{font-size:.65rem;color:var(--c-muted);text-transform:uppercase;letter-spacing:.05em;font-weight:600}.viz-kpi strong{font-size:1rem;color:var(--c-text);font-weight:800;line-height:1.2}.viz-kpi em{font-style:normal;font-size:.74rem;font-weight:700}.viz-kpi .delta.up{color:#0f766e}.viz-kpi .delta.down{color:#b45309}.viz-filter-row{display:flex;flex-wrap:wrap;gap:.5rem;align-items:flex-end}.viz-filter-row label{display:flex;flex-direction:column;gap:.18rem;font-size:.68rem;color:var(--c-muted);font-weight:700;letter-spacing:.04em;text-transform:uppercase}.viz-card h2{margin-bottom:.6rem;font-size:.92rem;font-weight:700}.viz-card__head{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:.6rem;min-width:0}.viz-card__head h2{margin:0}.sankey-graph,.moneytree-graph{overflow:hidden}.sankey-graph svg,.moneytree-graph svg{width:100%;height:auto}.sankey-node{font-size:10px;font-weight:700;fill:#0f172a}.sankey-link-group:hover path{stroke-opacity:.42}.moneytree-label{font-size:11px;fill:var(--c-muted)}.budget-chart{display:flex;flex-direction:column;gap:.55rem}.budget-head{display:flex;align-items:center;justify-content:space-between;font-size:.85rem;margin-bottom:.15rem;gap:.5rem}.budget-track{position:relative;height:10px;background:var(--c-bg-soft);border:1px solid var(--c-border-light);overflow:hidden}.budget-fill{height:100%;background:var(--c-accent-strong);transition:width .5s ease}.heatmap-wrap{display:flex;flex-direction:column;gap:.5rem;align-items:center}.heatmap-month-row{display:grid;grid-template-columns:1.4rem 1fr;gap:.4rem;width:max-content;margin:0 auto}.heatmap-months{display:grid;grid-auto-flow:column;grid-auto-columns:13px;gap:3px}.heatmap-month{font-size:.68rem;color:var(--c-muted)}.heatmap-grid{display:grid;grid-template-columns:1.4rem 1fr;gap:.4rem;align-items:start;width:max-content;margin:0 auto}.heatmap-day-column,.heatmap-week{display:grid;grid-template-rows:repeat(7,14px);gap:3px}.heatmap-day{color:var(--c-muted);font-size:.7rem;font-weight:600}.heatmap-cells-grid{display:flex;gap:3px}.heatmap-cell{width:14px;height:14px;border:1px solid rgba(15,23,42,.06);border-radius:3px;padding:0;display:inline-block}.heatmap-cell:hover{transform:scale(1.45);z-index:1}.heatmap-cell.l0{background:#ebedf0}.heatmap-cell.l1{background:#9be9a8}.heatmap-cell.l2{background:#40c463}.heatmap-cell.l3{background:#30a14e}.heatmap-cell.l4{background:#216e39}.heatmap-legend{display:flex;align-items:center;gap:.4rem;color:var(--c-muted);font-size:.72rem}.heatmap-legend-scale{display:inline-flex;gap:2px}.budget-fill.over,.budget-forecast.over{background:#dc2626}.budget-forecast{position:absolute;top:-2px;width:2px;height:14px;background:var(--c-text)}.budget-meta{display:flex;flex-wrap:wrap;gap:.55rem;font-size:.72rem;color:var(--c-muted)}.food-kpi-card{background:#f8fbff!important}.food-kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--c-border-light)}.food-kpi-grid .viz-kpi{border-right:1px solid var(--c-border-light)}.food-kpi-grid .viz-kpi:last-child{border-right:none}.circle-breakdown{display:grid;grid-template-columns:minmax(180px,220px) minmax(0,1fr);gap:1rem;align-items:center;min-width:0;width:100%}.chart-frame{position:relative;border:1px solid #e5edf6;border-radius:24px;background:radial-gradient(circle at top,rgba(37,99,235,.12),transparent 52%),linear-gradient(180deg,#fbfdff,#f4f8fd);padding:.65rem;width:100%;max-width:100%;min-width:0;overflow:hidden}.circle-breakdown__chart{width:100%;max-width:220px;justify-self:center}.circle-breakdown__label{color:var(--c-muted);font-size:.72rem}.circle-breakdown__value{color:var(--c-text);font-size:1rem;font-weight:800}.circle-breakdown__center{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}.circle-breakdown__legend{display:flex;flex-direction:column;gap:.55rem}.circle-breakdown__item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.55rem;font-size:.84rem}.circle-breakdown__dot{width:10px;height:10px;border-radius:999px}.trend-bars,.trend-lines{display:flex;flex-direction:column;gap:.8rem;min-width:0}.trend-bars .chart-frame{background:linear-gradient(180deg,#f8f9fcfa,#f1f3f8fa);border-color:#e1e6ef;box-shadow:inset 0 1px #ffffffeb,0 10px 24px #94a3b814}.trend-bars__plot,.trend-lines__plot,.utility-chart__plot{min-height:320px}.trend-bars .recharts-default-legend,.trend-lines .recharts-default-legend{display:none}.trend-bars .recharts-cartesian-grid-horizontal line{stroke:#d8dee9}.trend-lines .recharts-cartesian-grid-horizontal line{stroke:#d8dee9}.trend-bars .recharts-cartesian-axis-tick-value,.trend-lines .recharts-cartesian-axis-tick-value,.utility-chart .recharts-cartesian-axis-tick-value{fill:#6b7280;font-size:12px;font-weight:600}.trend-bars .recharts-xAxis .recharts-cartesian-axis-tick-value,.trend-lines .recharts-xAxis .recharts-cartesian-axis-tick-value{fill:#5b6474}.trend-bars .recharts-yAxis .recharts-cartesian-axis-tick-value,.trend-lines .recharts-yAxis .recharts-cartesian-axis-tick-value{fill:#7b8798}.trend-bars__legend{display:flex;flex-wrap:wrap;gap:.6rem}.trend-bars__legend-item{display:inline-flex;align-items:center;gap:.35rem;font-size:.78rem;color:#5b6474;background:#f3f5f9;border:1px solid #dce3ec;border-radius:999px;padding:.32rem .6rem}.trend-bars__legend-item i{width:10px;height:10px;border-radius:999px;display:inline-block;box-shadow:0 0 0 2px #ffffffd9}.utility-chart .recharts-reference-line line{stroke:#0f172a;stroke-width:1.5}.utility-chart .recharts-bar-rectangle path,.trend-bars .recharts-bar-rectangle path{filter:drop-shadow(0 10px 18px rgba(37,99,235,.14))}.trend-bars .recharts-bar-rectangle path{stroke:#f8fafcf5;stroke-width:1.25;filter:drop-shadow(0 8px 14px rgba(100,116,139,.12))}.trend-lines .recharts-area-area{filter:drop-shadow(0 12px 20px rgba(76,114,176,.12))}.trend-lines .recharts-line-curve{filter:drop-shadow(0 4px 10px rgba(100,116,139,.08))}.trend-bars__legend-item--total{background:#e8eef8;border-color:#ccd9ea;color:#334155}.graph-caption{margin:0;color:var(--c-muted);font-size:.78rem}.chart-tooltip{border-radius:14px;border:1px solid #dbe4f0;background:#fffffffa;box-shadow:0 14px 32px #0f172a1f;padding:.65rem .75rem;min-width:170px}.chart-tooltip>strong{display:block;margin-bottom:.45rem;color:#1e293b;font-size:.82rem}.chart-tooltip__rows{display:flex;flex-direction:column;gap:.35rem}.chart-tooltip__row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;font-size:.8rem}.chart-tooltip__name{display:inline-flex;align-items:center;gap:.35rem;color:#475569}.chart-tooltip__name i{width:10px;height:10px;border-radius:999px;display:inline-block}.payee-ranking-chart__plot{min-height:320px}.payee-ranking-chart{min-width:0;width:100%}.payee-ranking-chart .recharts-cartesian-axis-tick-value{fill:#5b6474;font-size:12px;font-weight:600}.payee-ranking-chart .recharts-bar-rectangle path{filter:drop-shadow(0 8px 14px rgba(76,114,176,.12))}.advanced-insights__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.advanced-insights__panel{border:1px solid var(--c-border-light);background:#f8fbff;padding:.8rem .9rem;min-width:0}.advanced-insights__panel h3{margin:0 0 .55rem;font-size:.88rem;display:inline-flex;align-items:center;gap:.45rem}.advanced-insights__panel h3 svg{color:#5b7bb5}.correlation-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.65rem}.correlation-card{border:1px solid #dbe5f1;padding:.75rem .8rem;background:linear-gradient(180deg,#f9fbff,#f2f7ff)}.correlation-card.bull{border-color:#bfdbfe;background:linear-gradient(180deg,#f8fbff,#eef5ff)}.correlation-card.bear{border-color:#fecaca;background:linear-gradient(180deg,#fff9f9,#fff1f1)}.correlation-card.neutral{border-color:#e5e7eb;background:linear-gradient(180deg,#fcfcfd,#f7f8fa)}.correlation-card__head{display:flex;align-items:center;gap:.35rem;color:#334155;font-size:.8rem}.correlation-card__hero{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin:.6rem 0 .5rem}.correlation-card__hero strong{font-size:1.25rem;color:#0f172a}.correlation-card__badge{display:inline-flex;align-items:center;padding:.22rem .5rem;border-radius:999px;background:#2563eb1f;color:#1d4ed8;font-size:.74rem;font-weight:700}.correlation-card.bear .correlation-card__badge{background:#dc26261a;color:#b91c1c}.correlation-card.neutral .correlation-card__badge{background:#64748b1f;color:#475569}.correlation-card__meta{display:grid;grid-template-columns:auto 1fr;gap:.18rem .55rem;color:#64748b;font-size:.76rem}.insight-list{margin:0;padding-left:1rem;display:flex;flex-direction:column;gap:.45rem}.insight-list--plain{padding-left:1.05rem}.insight-list li{display:flex;flex-direction:column;gap:.12rem}.insight-list strong{color:#1e293b}.insight-list span{color:var(--c-muted);font-size:.78rem}.metric-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:.55rem}.metric-row{display:grid;grid-template-columns:1fr auto;gap:.2rem .6rem;border:1px solid #e2e8f0;background:#fff;padding:.6rem .7rem}.metric-row strong{color:#1e293b}.metric-row span{justify-self:end;font-weight:800;color:#0f172a}.metric-row em{grid-column:1 / -1;font-style:normal;font-size:.76rem;color:#64748b}.metric-row.good{border-color:#bbf7d0;background:linear-gradient(180deg,#f7fff9,#effcf3)}.metric-row.caution{border-color:#fde68a;background:linear-gradient(180deg,#fffdf5,#fff8e7)}.metric-row.alert{border-color:#fecaca;background:linear-gradient(180deg,#fff8f8,#fff1f1)}.repeat-row,.pareto-row{list-style:none}.advanced-insights__panel--advice{background:linear-gradient(180deg,#fbfdff,#f3f7fd)}.repeat-badge{display:inline-flex;width:fit-content;padding:.18rem .45rem;border-radius:999px;background:#e8eef8;color:#365282;font-size:.72rem;font-weight:700}.pareto-bar{height:8px;background:#edf2f7;border-radius:999px;overflow:hidden;margin:.15rem 0 .1rem}.pareto-bar i{display:block;height:100%;background:linear-gradient(90deg,#4c72b0,#7aa6e0);border-radius:999px}.viz-shortcut{background:var(--c-bg)!important;border:1px solid var(--c-accent)!important;color:var(--c-accent-strong)!important;font-weight:700}.viz-shortcut:hover{background:var(--c-accent)!important;color:#fff!important}.graph-empty{margin:0;color:var(--c-muted);font-size:.85rem}.conflict-retry{display:flex;justify-content:flex-start;padding:.4rem 1.2rem}.conflict-retry button{background:#fef3c7;color:#92400e;border-color:#fde68a}@media (max-width: 980px){.edit-layout,.visualize-layout{grid-template-columns:1fr}.posting-row{grid-template-columns:repeat(2,minmax(120px,1fr))}.simple-entry-head{flex-direction:column;align-items:flex-start}.viz-filter-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.advanced-insights__grid{grid-template-columns:1fr}}@media (max-width: 640px){#root{padding:0 0 6.6rem}.hero{padding:.75rem .85rem .85rem}.posting-row{grid-template-columns:1fr}.entry-mode-toggle{width:100%}.entry-mode-toggle button{flex:1}.transaction-item{grid-template-columns:auto 1fr;gap:.4rem;padding:.5rem 0}.transaction-item__right{grid-column:1 / -1;flex-direction:row;justify-content:space-between;align-items:center}.simple-form input,.simple-form select,.bulk-actions__left input,.bulk-actions__left select,.bulk-actions__right button,.viz-filter-row input,.viz-filter-row select{min-height:42px;width:100%}.simple-form-actions{justify-content:stretch}.simple-form-actions button{width:100%;min-height:44px}.bulk-actions{flex-direction:column;align-items:stretch}.bulk-actions__left,.bulk-actions__right{width:100%;display:grid;grid-template-columns:1fr}.suggest-row,.template-row,.entry-hint{overflow-x:auto;white-space:nowrap;padding-bottom:.1rem;-webkit-overflow-scrolling:touch}.viz-filter-row{grid-template-columns:1fr}.viz-overview{grid-template-columns:repeat(2,1fr)!important}.visualize-layout,.viz-card,.chart-frame,.trend-bars,.trend-lines,.payee-ranking-chart,.circle-breakdown{width:100%;max-width:100%;min-width:0;overflow:hidden}.viz-kpi{border-bottom:1px solid var(--c-border-light)}.heatmap-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.heatmap-month-row,.heatmap-grid{min-width:420px}.moneytree-label{display:none}.food-kpi-grid,.circle-breakdown{grid-template-columns:1fr}.trend-bars__plot,.trend-lines__plot,.utility-chart__plot,.payee-ranking-chart__plot{min-height:280px}.food-kpi-grid .viz-kpi{border-right:none;border-bottom:1px solid var(--c-border-light)}.editor-card,.transactions-card,.viz-card,.editor-placeholder,.simple-entry-card{padding:.7rem .85rem}.bottom-tabs{width:calc(100vw - 1rem);bottom:.45rem}.floating-notice{left:.75rem;right:.75rem;width:auto;top:4.9rem;bottom:auto}.viz-card__head{flex-direction:column;align-items:flex-start}}@media (max-width: 420px){.hero{padding:.65rem}.hero h1{font-size:.98rem}.hero-copy{font-size:.8rem}.transaction-actions{width:100%}.transaction-actions button{width:100%;min-height:36px}.viz-kpi strong{font-size:.88rem}}:root{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px}button{font-family:inherit;cursor:pointer}
