:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color-scheme:light;--bg:#f4f6f4;--surface:#fff;--surface2:#f7f8f7;--surface3:#ebf1ed;--text:#142822;--muted:#75847c;--border:#e0e8e2;--primary:#1d7365;--primary-ink:#fff;--positive:#198262;--sidebar:#102d2b;--sidebar-text:#d2e7dd;--shadow:0 6px 24px rgba(18,40,32,.06)}:root[data-theme=dark]{color-scheme:dark;--bg:#111c1d;--surface:#192828;--surface2:#20302f;--surface3:#2a3d39;--text:#e8f0eb;--muted:#a1b4aa;--border:#334943;--primary:#6bc4a9;--primary-ink:#0c2a23;--positive:#80d4a9;--sidebar:#0c2020;--sidebar-text:#d1e5db;--shadow:0 6px 26px rgba(0,0,0,.18)}@media(prefers-color-scheme:dark){:root[data-theme=auto]{color-scheme:dark;--bg:#111c1d;--surface:#192828;--surface2:#20302f;--surface3:#2a3d39;--text:#e8f0eb;--muted:#a1b4aa;--border:#334943;--primary:#6bc4a9;--primary-ink:#0c2a23;--positive:#80d4a9;--sidebar:#0c2020;--sidebar-text:#d1e5db;--shadow:0 6px 26px rgba(0,0,0,.18)}}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px;line-height:1.5}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--primary);outline-offset:2px}.app{display:flex;min-height:100vh}.sidebar{width:256px;background:var(--sidebar);color:var(--sidebar-text);display:flex;flex-direction:column;flex-shrink:0;padding:26px 15px;min-height:100vh;position:sticky;top:0;height:100vh}.brand{display:flex;gap:12px;align-items:center;padding:5px 10px 34px}.brand-icon{width:39px;height:39px;border-radius:12px;background:linear-gradient(130deg,#8be1bb,#45a497);color:#0c2b25;display:grid;place-items:center}.brand b{font-size:16px;letter-spacing:-.5px}.brand small{display:block;font-size:10px;letter-spacing:2px;color:#8eb8ab;font-weight:800}.menu-title{font-size:11px;letter-spacing:1.3px;color:#91aaa2;margin:0 10px 12px}.sidebar nav{display:grid;gap:5px}.nav-link{display:flex;align-items:center;gap:12px;text-align:left;background:transparent;color:inherit;border:0;padding:12px;border-radius:11px;font-weight:600}.nav-link:hover{background:#1d423d}.nav-link.active{color:#fff;background:#2a5851}.sidebar-user{display:flex;align-items:center;gap:9px;margin-top:auto;border-top:1px solid #ffffff25;padding-top:20px;overflow:hidden}.avatar{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#c5e4d6;color:#165346;flex-shrink:0;font-weight:800;font-size:11px}.sidebar-user strong,.sidebar-user small{max-width:180px;display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.sidebar-user small{font-size:11px;color:#91aaa2}.main{flex:1;min-width:0}.topbar{height:79px;border-bottom:1px solid var(--border);background:var(--surface);display:flex;justify-content:space-between;align-items:center;padding:0 36px;position:sticky;top:0;z-index:3}.breadcrumbs{color:var(--muted);font-size:12px}.top-actions{display:flex;gap:9px;align-items:center}.scope-switch{display:flex;gap:4px;border-radius:13px;padding:4px;background:var(--surface3)}.scope-switch button{border:0;background:transparent;color:var(--muted);border-radius:10px;padding:9px 20px;font-size:12px;font-weight:700}.scope-switch .active{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.icon-button{width:40px;height:40px;display:grid;place-items:center;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:11px}.icon-button:hover{background:var(--surface3)}.close-button{background:var(--surface3);color:var(--text);border-color:var(--border)}.workspace{max-width:1540px;margin:auto;padding:32px 36px 70px}.demo-notice,.explainer{background:var(--surface3);padding:12px 16px;border-radius:13px;font-size:12px;color:var(--text);display:flex;align-items:center;gap:10px;margin-bottom:20px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 25px}.page-heading h1{margin:0 0 8px;font-size:30px;letter-spacing:-1px}.page-heading p{margin:0;color:var(--muted)}.eyebrow{font-size:10px!important;letter-spacing:1.7px;font-weight:800;color:var(--primary)!important;margin:0 0 8px!important}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border);background:var(--surface);color:var(--text);padding:10px 16px;border-radius:11px;font-size:12px;font-weight:800}.btn:hover{background:var(--surface2)}.btn.primary{border-color:var(--primary);background:var(--primary);color:var(--primary-ink)}.btn.primary:hover{filter:brightness(1.07)}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.surface-card{background:var(--surface);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow);min-width:0;animation:appear .3s ease both;overflow:hidden}.surface-card .card-content{padding:18px 22px 23px}.kpi .card-content{padding:22px}.kpi-icon{display:grid;place-items:center;background:var(--surface3);color:var(--primary);width:37px;height:37px;border-radius:12px;margin-bottom:18px}.kpi .label{font-size:12px;font-weight:700;color:var(--muted);margin:0}.kpi strong{font-size:27px;letter-spacing:-.8px;display:block;margin:3px 0 6px}.kpi small{color:var(--muted);font-size:11px}.card-header{padding:19px 23px 5px}.card-header h3{margin:0;font-size:15px}.card-header small{color:var(--muted)}.widgets{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}.list-row{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--border);padding:13px 0}.list-row:last-child{border-bottom:0}.list-row strong,.list-row small{display:block}.list-row strong{font-size:12px}.list-row small{font-size:11px;color:var(--muted)}.list-row b{white-space:nowrap;font-size:13px}.positive{color:var(--positive)}.chart-fake{height:240px;position:relative;overflow:hidden}.chart-fake svg{position:absolute;inset:16px 0 18px;width:100%;height:190px;overflow:visible}.chart-grid{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;color:var(--muted);font-size:11px}.small-legend{position:absolute;bottom:0;right:0;font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px}.small-legend i{width:10px;height:10px;border-radius:50%;display:inline-block}.budget-row{padding:9px 0}.budget-row>div:first-child{display:flex;justify-content:space-between;font-size:12px;gap:10px}.budget-row span{color:var(--muted)}.progress{height:8px;background:var(--surface3);border-radius:999px;margin-top:9px;overflow:hidden}.progress span{display:block;height:100%;background:var(--primary);border-radius:999px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid label{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:12px;font-weight:700}.form-grid input,.form-grid select{padding:11px 12px;border-radius:11px;border:1px solid var(--border);background:var(--surface);color:var(--text);min-width:0}.form-actions{display:flex;justify-content:flex-end;margin:18px 0 0}.result{margin-top:23px;border-top:1px solid var(--border);padding-top:22px}.result-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.result-head h2{margin:0;font-size:20px}.result-head span{color:var(--muted)}.result-head>strong{font-size:20px}.installments-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:20px}.installment-row{display:flex;align-items:center;justify-content:space-between;padding:12px;border:1px solid var(--border);background:var(--surface2);border-radius:11px;gap:12px}.installment-row div{min-width:0}.installment-row span{color:var(--muted);font-size:11px;display:block}.installment-row strong{white-space:nowrap}.result-footer{display:flex;justify-content:space-between;padding:18px 0 0;margin-top:18px;border-top:1px solid var(--border)}.footnote,.subtle{font-size:12px;color:var(--muted)}.error{color:#df5c55;font-weight:700}.theme-options{display:flex;flex-wrap:wrap;gap:8px}.donut-layout{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.donut{width:190px;height:190px;border-radius:50%;position:relative;display:grid;place-items:center;flex-shrink:0}.donut-inner{width:105px;height:105px;background:var(--surface);border-radius:50%;display:grid;place-content:center;text-align:center;z-index:1;pointer-events:none}.donut-inner strong{font-size:17px}.donut-inner span{font-size:10px;color:var(--muted);max-width:90px}.donut-target{position:absolute;transform:translate(-50%,-50%);width:34px;height:34px;border-radius:50%;border:0;background:transparent;z-index:2}.donut-target:focus-visible{outline:3px solid var(--text)}.donut-legend{flex:1;min-width:170px}.legend-line{display:flex;gap:9px;align-items:center;background:none;border:0;color:var(--text);padding:8px;border-radius:8px;width:100%;text-align:left}.legend-line:hover,.legend-line.selected{background:var(--surface3)}.legend-line span:nth-child(2){flex:1}.swatch{width:11px;height:11px;border-radius:50%;flex:none}.modal-backdrop{position:fixed;inset:0;background:#081b1aca;display:grid;place-items:center;padding:15px;z-index:10;animation:appear .2s ease}.modal{width:min(580px,100%);max-height:90vh;overflow:auto;background:var(--surface);border-radius:20px;border:1px solid var(--border);box-shadow:0 24px 60px #0005}.modal-head{padding:20px 22px 12px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.modal-head h2{margin:0}.modal-head p{margin:5px 0 0;color:var(--muted);font-size:12px}.modal-body{padding:12px 22px}.modal-foot{padding:15px 22px 22px;display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}.drag-panel{display:flex;align-items:center;gap:14px;border:1px solid var(--border);border-radius:12px;padding:14px;margin-bottom:8px;cursor:grab;background:var(--surface2)}.drag-panel.dragging{opacity:.4}.drag-panel label{display:flex;gap:12px;align-items:center;cursor:pointer}.grip{font-size:20px;color:var(--muted)}.bottom-nav{display:none}@keyframes appear{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.access-screen{min-height:100vh;display:grid;place-items:center;padding:20px}.auth-card{border-radius:20px;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);padding:30px;max-width:420px;text-align:center}.auth-card .brand-icon{margin:auto}.auth-card p{color:var(--muted)}@media(max-width:1150px){.sidebar{display:none}.workspace{padding:24px 20px 120px}.bottom-nav{display:flex;position:fixed;bottom:10px;left:10px;right:10px;border-radius:17px;background:var(--surface);border:1px solid var(--border);justify-content:space-around;z-index:5;padding:8px;box-shadow:var(--shadow)}.bottom-nav button{display:grid;place-items:center;gap:4px;flex:1;border:0;border-radius:10px;background:transparent;color:var(--muted);padding:8px;font-size:10px}.bottom-nav button.active{background:var(--surface3);color:var(--text)}}@media(max-width:760px){.kpi-grid,.widgets,.form-grid,.installments-list{grid-template-columns:1fr}.topbar{padding:12px;gap:8px;height:auto}.workspace{padding:19px 15px 110px}.page-heading{flex-direction:column}.top-actions{gap:5px}.scope-switch button{padding:8px 12px}.page-heading h1{font-size:25px}.kpi strong{font-size:24px}}.import-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0 20px}.import-summary>div{border:1px solid var(--border);background:var(--surface);border-radius:15px;padding:17px;box-shadow:var(--shadow)}.import-summary span{display:block;color:var(--muted);font-size:12px;font-weight:600}.import-summary strong{display:block;margin-top:5px;font-size:22px;letter-spacing:-.6px}.import-filter{margin-bottom:15px}.import-filter label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;color:var(--muted)}.import-filter select{width:100%;max-width:380px;background:var(--surface);color:var(--text);padding:11px;border:1px solid var(--border);border-radius:11px}.import-list{border-top:1px solid var(--border)}.import-record{padding:13px 0;border-bottom:1px solid var(--border);font-size:12px}.import-record-head{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:11px}.import-record-head strong{color:var(--text)}.import-text{margin-top:4px;line-height:1.5;overflow-wrap:anywhere}.review-flags{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.review-flags span{background:var(--surface3);color:var(--text);font-size:10px;padding:4px 8px;border-radius:999px}@media(max-width:860px){.import-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.import-summary{grid-template-columns:1fr 1fr}.import-summary strong{font-size:17px}}.statement-preview{display:grid;gap:11px}.statement-file{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-weight:650;cursor:pointer}.statement-file input{max-width:100%;border:1px solid var(--border);background:var(--surface2);padding:10px;border-radius:12px}.statement-warning{padding:11px 13px;border:1px solid var(--border);border-left:3px solid #d2932f;border-radius:9px;background:var(--surface2);color:var(--text);font-size:12px}.statement-preview details{border:1px solid var(--border);border-radius:11px;padding:11px 13px;max-height:540px;overflow:auto}.statement-preview summary{cursor:pointer;font-weight:650}.statement-preview .import-list{margin-top:10px}.statement-file select{max-width:100%;border:1px solid var(--border);background:var(--surface2);color:var(--text);padding:10px 12px;border-radius:12px;min-width:min(320px,100%)}.sandbox-root{display:grid;gap:18px}.sandbox-panel{padding:20px;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow)}.sandbox-panel h2{font-size:17px;margin:0 0 7px}.sandbox-panel h3{font-size:14px;margin-top:21px}.sandbox-panel form{margin-top:14px}.sandbox-entry{padding:13px 0;border-bottom:1px solid var(--border)}.sandbox-entry-main{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.sandbox-entry-main strong{font-size:13px}.sandbox-entry-main p{margin:5px 0}.sandbox-amount{font-weight:700;text-align:right;white-space:nowrap}.sandbox-amount small{font-weight:500;color:var(--muted);display:block;font-size:10px}.sandbox-actions{display:flex;gap:7px;margin-top:8px;flex-wrap:wrap}.sandbox-actions .btn{font-size:11px;padding:7px 10px}.sandbox-history{padding:13px;background:var(--surface2);margin-top:12px;border-radius:12px}.sandbox-purchase{border:1px solid var(--border);border-radius:12px;padding:12px;margin:9px 0}.sandbox-purchase summary{cursor:pointer;font-weight:600}.sandbox-purchase .installment-row{padding:7px 0}@media(max-width:620px){.sandbox-entry-main{flex-direction:column}.sandbox-amount{text-align:left}}:root{--notice-error-bg:#fff0f1;--notice-error-border:#ce3349;--notice-error-text:#842131;--notice-success-bg:#dff5e8;--notice-success-border:#168456;--notice-success-text:#075737;--notice-warning-bg:#fff4d9;--notice-warning-border:#c58716;--notice-warning-text:#684506;--notice-info-bg:#e7f3ef;--notice-info-border:#278775;--notice-info-text:#195f53}:root[data-theme=dark]{--notice-error-bg:#4a202b;--notice-error-border:#ff798b;--notice-error-text:#ffb4bd;--notice-success-bg:#173e2f;--notice-success-border:#55c88b;--notice-success-text:#acf5c8;--notice-warning-bg:#45341b;--notice-warning-border:#e7b451;--notice-warning-text:#ffdf9a;--notice-info-bg:#153d37;--notice-info-border:#6bc4a9;--notice-info-text:#b5f2da}@media(prefers-color-scheme:dark){:root[data-theme=auto]{--notice-error-bg:#4a202b;--notice-error-border:#ff798b;--notice-error-text:#ffb4bd;--notice-success-bg:#173e2f;--notice-success-border:#55c88b;--notice-success-text:#acf5c8;--notice-warning-bg:#45341b;--notice-warning-border:#e7b451;--notice-warning-text:#ffdf9a;--notice-info-bg:#153d37;--notice-info-border:#6bc4a9;--notice-info-text:#b5f2da}}.status-notice{display:flex;align-items:flex-start;gap:11px;padding:13px 16px;border:1px solid var(--notice-info-border);border-left-width:5px;border-radius:12px;background:var(--notice-info-bg);color:var(--notice-info-text);font-size:13px;line-height:1.5;font-weight:600;margin:12px 0;overflow-wrap:anywhere}.status-notice--error{background:var(--notice-error-bg);border-color:var(--notice-error-border);color:var(--notice-error-text)}.status-notice--success{background:var(--notice-success-bg);border-color:var(--notice-success-border);color:var(--notice-success-text)}.status-notice--warning{background:var(--notice-warning-bg);border-color:var(--notice-warning-border);color:var(--notice-warning-text)}.status-notice__symbol{display:inline-grid;place-items:center;width:22px;height:22px;border:2px solid currentColor;border-radius:50%;font-weight:900;font-size:14px;flex:none;line-height:1;margin-top:1px}.status-notice__content{min-width:0;flex:1}.status-notice__content p{margin:0 0 7px}.status-notice__content p:last-child{margin-bottom:0}.status-notice__content button{margin-top:9px}.error{color:var(--notice-error-text);font-weight:750}.statement-warning{background:var(--notice-warning-bg);border:1px solid var(--notice-warning-border);border-left:4px solid var(--notice-warning-border);color:var(--notice-warning-text);font-size:12px}.line-review-panel{margin-top:18px;border-top:1px solid var(--border);padding-top:17px}.line-review-progress{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;border:1px solid var(--border);border-radius:12px;margin:12px 0 16px;background:var(--surface3);font-size:12px}.line-review-progress b{color:var(--text);font-size:14px}.line-review-progress span{color:var(--muted)}.line-review-list{display:grid;gap:10px;max-height:650px;overflow:auto;padding:2px 4px 12px 0}.line-review-row{border:1px solid var(--border);border-radius:12px;background:var(--surface2);padding:15px;min-width:0}.line-review-row--linked{border-color:var(--notice-success-border);background:var(--notice-success-bg)}.line-review-row-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.line-review-row-head b{display:block;font-size:12px;color:var(--text);overflow-wrap:anywhere}.line-review-row-head span{display:block;font-size:11px;color:var(--muted);margin-top:5px}.line-review-row-head>strong{white-space:nowrap;color:var(--text)}.line-review-choose{display:grid;gap:11px;margin-top:12px}.line-review-choose label{display:grid;gap:6px;font-size:12px;color:var(--text);font-weight:700}.line-review-choose select{min-width:0;max-width:100%;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:10px;padding:10px}.line-review-choose button{justify-self:start}.line-review-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}.line-review-linked{color:var(--notice-success-text);font-size:12px;font-weight:800}@media(max-width:580px){.line-review-progress{flex-direction:column;align-items:flex-start}.line-review-row-head{flex-direction:column}}.statement-file-status{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:8px 0}.statement-file-status p{margin:0}.historical-review-list{display:grid;gap:12px;margin-top:14px}.historical-review-record{border:1px solid var(--border);border-radius:13px;background:var(--surface);overflow:hidden}.historical-compare-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);min-width:0}.historical-bank-column,.historical-manual-column{padding:16px;min-width:0}.historical-bank-column{background:var(--surface2);border-right:1px solid var(--border)}.historical-manual-column{display:grid;align-content:start;gap:10px}.historical-column-label{display:block;color:var(--muted);font-size:11px;letter-spacing:.02em;font-weight:800;text-transform:uppercase;margin-bottom:10px}.historical-row-header{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.historical-row-header b{overflow-wrap:anywhere;font-size:13px}.historical-row-header strong{white-space:nowrap}.historical-closest{border-left:3px solid var(--notice-info-border);padding:9px 10px;margin-top:12px;background:var(--notice-info-bg);color:var(--notice-info-text);font-size:12px;border-radius:0 8px 8px 0}.historical-closest b{display:block;margin-bottom:4px}.historical-manual-column label{display:grid;gap:5px;font-size:12px;font-weight:700;color:var(--text)}.historical-manual-column input:not([type=checkbox]),.historical-manual-column select{width:100%;min-width:0;max-width:100%;padding:9px 11px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:9px}.historical-manual-column .historical-check{display:flex;gap:8px;align-items:center;font-weight:600}.historical-check input{accent-color:var(--accent);width:17px;height:17px}.historical-results .import-filter{margin-top:12px}@media(max-width:860px){.historical-compare-columns{grid-template-columns:1fr}.historical-bank-column{border-right:0;border-bottom:1px solid var(--border)}}.bank-preview{margin-top:20px;background:var(--surface2);padding:16px;border:1px solid var(--border);border-radius:14px}.bank-preview h3{margin-top:0}.bank-lines-table{display:grid;gap:9px;margin-top:14px}.bank-line{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:14px 16px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.bank-line-text{min-width:0;flex:1;overflow-wrap:anywhere}.bank-line-text>b{display:block;font-size:13px}.bank-line-text .subtle{margin:6px 0 10px}.bank-line>strong{white-space:nowrap;font-variant-numeric:tabular-nums}.bank-debit{color:var(--notice-error-text)}.bank-credit{color:var(--notice-success-text)}.bank-confirmed{color:var(--notice-success-text);font-size:12px;font-weight:700;margin:7px 0}.bank-link-editor{border:1px solid var(--border);background:var(--surface2);padding:15px;border-radius:12px;margin-top:12px;display:grid;gap:13px}.bank-link-editor h3{margin:0}.bank-link-editor label,.bank-payment-panel label{display:grid;gap:7px;font-weight:650;font-size:12px}.bank-link-editor select,.bank-payment-panel select{min-width:0;width:100%;padding:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:9px}.bank-payment-panel{display:grid;gap:12px;padding-top:10px;border-top:1px solid var(--border)}.bank-link-editor .btn{justify-self:start}.sandbox-panel>label,.sandbox-history>label{display:grid;gap:7px;margin:13px 0;font-size:12px;font-weight:700;min-width:0}.sandbox-panel>label>input,.sandbox-history>label>input,.sandbox-history>label>textarea{display:block;width:100%;min-width:0;padding:11px 13px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font:inherit;line-height:1.45}.sandbox-history>label>textarea{min-height:100px;resize:vertical}@media(max-width:720px){.bank-line{flex-direction:column;gap:9px}.bank-line>strong{font-size:15px}}.bank-history-confirm{display:flex;align-items:flex-start;gap:10px;margin:18px 0;padding:12px 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface);font-weight:400;line-height:1.5}.bank-history-confirm input{flex:none;margin-top:4px}.real-bank-review-note{display:grid;gap:8px;width:100%;min-width:0;margin-top:12px;font-size:12px;font-weight:700;color:var(--text)}.real-bank-review-note textarea{display:block;width:100%;min-width:0;min-height:132px;box-sizing:border-box;padding:12px 14px;font:inherit;font-size:14px;line-height:1.5;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:10px;resize:vertical}.real-bank-review-note textarea:focus-visible{outline:3px solid var(--primary);outline-offset:2px}.real-bank-review-note .subtle{overflow-wrap:anywhere;font-weight:400}.bank-suggestions{margin:20px 0 24px;padding:18px;border:1px solid var(--border);border-radius:14px;background:var(--surface2);min-width:0}.bank-suggestions h3{margin:0 0 8px}.bank-suggestions .form-actions{margin:14px 0;justify-content:flex-start}.bank-suggestion-list{display:grid;gap:9px;margin-top:14px;max-height:560px;overflow-y:auto;padding:2px 5px 2px 2px}.bank-suggestion-item{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:12px;width:100%;min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:11px;padding:12px 14px;cursor:pointer;line-height:1.5}.bank-suggestion-item:hover{border-color:var(--primary)}.bank-suggestion-item input[type=checkbox]{margin:4px 0 0;accent-color:var(--primary);width:17px;height:17px}.bank-suggestion-item__content{display:grid;gap:6px;min-width:0;overflow-wrap:anywhere}.bank-suggestion-item__header{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap}.bank-suggestion-item__header b{font-size:12px}.bank-suggestion-item__description{font-size:12px;font-weight:500}.bank-suggestion-item__detail{display:block;font-size:11px;color:var(--muted);font-weight:500}.bank-suggestion-item__confidence{font-size:11px;font-weight:750;color:var(--primary)}.bank-suggestions details>summary{cursor:pointer;font-weight:750;color:var(--text);padding:6px 0}@media(max-width:600px){.bank-suggestions{padding:12px}.bank-suggestion-item{padding:12px 10px}.bank-suggestion-item__header{display:grid;gap:3px}.bank-suggestions .form-actions{align-items:stretch}.bank-suggestions .form-actions .btn{flex:1 1 150px}}.bank-confirmed-preview{margin:20px 0;padding:18px;border:1px solid var(--border);border-radius:14px;background:var(--surface2)}.bank-confirmed-preview h3{margin:0 0 8px}.bank-confirmed-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0}.bank-confirmed-metrics>div{display:grid;gap:4px;padding:13px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.bank-confirmed-metrics strong{font-size:21px;color:var(--text)}.bank-confirmed-metrics span{font-size:12px;color:var(--muted)}.bank-confirmed-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:15px}.bank-confirmed-groups>div{display:grid;gap:4px;min-width:0;padding:11px 12px;background:var(--surface);border:1px solid var(--border);border-radius:10px}.bank-confirmed-groups b{font-size:13px}.bank-confirmed-groups span{font-size:12px;font-weight:650}.bank-confirmed-groups small,.bank-confirmed-list small{display:block;font-size:11px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}.bank-confirmed-preview details{margin-top:11px;border-top:1px solid var(--border);padding-top:9px}.bank-confirmed-preview summary{font-size:13px;font-weight:750;cursor:pointer;padding:5px 0}.bank-confirmed-list{display:grid;gap:8px;max-height:400px;overflow-y:auto;margin-top:10px}.bank-confirmed-list>div{display:grid;gap:4px;padding:11px 12px;background:var(--surface);border:1px solid var(--border);border-radius:9px;min-width:0;overflow-wrap:anywhere}.bank-confirmed-list b,.bank-confirmed-list span{font-size:12px}@media(max-width:650px){.bank-confirmed-preview{padding:12px}.bank-confirmed-groups,.bank-confirmed-metrics{grid-template-columns:1fr}}.bank-suggestion-item__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:5px}.bank-suggestion-item__actions .btn{font-size:11px;padding:7px 10px}.bank-suggestion-pagination{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px;margin-top:14px}.bank-suggestion-pagination .subtle{margin-right:auto}.bank-batch-editor{margin-top:17px;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--surface);display:grid;gap:12px}.bank-batch-editor h4,.bank-batch-editor .subtle{margin:0}.bank-batch-selection{display:grid;gap:7px;max-height:230px;overflow-y:auto;padding-right:4px}.bank-batch-selection>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 11px;border:1px solid var(--border);border-radius:9px;font-size:12px;min-width:0}.bank-batch-selection span{overflow-wrap:anywhere;min-width:0}.bank-batch-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bank-batch-fields label{display:grid;gap:6px;font-size:12px;font-weight:650;min-width:0}.bank-batch-fields select{width:100%;min-width:0;padding:10px;border-radius:9px;border:1px solid var(--border);color:var(--text);background:var(--surface)}.bank-batch-editor>.btn{justify-self:start}@media(max-width:650px){.bank-batch-fields{grid-template-columns:1fr}.bank-batch-selection>div{align-items:flex-start;flex-direction:column}.bank-suggestion-pagination .subtle{flex-basis:100%}}.bank-batch-selection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:440px;overflow-y:auto;padding:3px 5px 3px 2px;align-items:stretch}.bank-batch-selection>.bank-batch-selection-card{display:flex;flex-direction:column;align-items:stretch;gap:9px;min-width:0;padding:13px 14px;background:var(--surface2);border:1px solid var(--border);border-radius:11px;font-size:12px}.bank-batch-selection-card__head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-variant-numeric:tabular-nums}.bank-batch-selection-card__description{line-height:1.5;overflow-wrap:anywhere;font-weight:600}.bank-batch-selection-card__meta{line-height:1.45;color:var(--muted);overflow-wrap:anywhere}.bank-batch-selection-card__footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}.bank-batch-selection-card__footer small{color:var(--muted);font-size:11px}.bank-batch-editor{margin-bottom:16px}@media(max-width:750px){.bank-batch-selection{grid-template-columns:1fr}}.bank-filter-batch{margin:18px 0;padding:16px;border:1px solid var(--border);border-radius:14px;background:var(--surface2);display:grid;gap:13px}.bank-filter-batch__header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.bank-filter-batch__header h3{margin:0 0 6px;font-size:14px}.bank-filter-batch__header .subtle{margin:0;font-size:12px}.bank-filter-batch__header .form-actions{margin:0}.bank-filter-batch__review{display:grid;gap:13px;padding:14px;border:1px solid var(--border);background:var(--surface);border-radius:12px}.bank-filter-batch__review h4,.bank-filter-batch__review p{margin:0}.bank-filter-batch__review>.btn{justify-self:start}.bank-line-select{display:flex;gap:6px;align-items:center;font-size:12px;font-weight:700;white-space:nowrap}.bank-line-select input{accent-color:var(--primary);width:17px;height:17px;margin:0}@media(max-width:650px){.bank-filter-batch{padding:12px}.bank-filter-batch__review{padding:10px}}.bank-batch-edit-field{display:grid;gap:7px;min-width:0}.bank-batch-edit-toggle{display:flex!important;flex-direction:row;align-items:center;gap:8px;font-size:12px;font-weight:750}.bank-batch-edit-toggle input[type=checkbox]{width:17px;height:17px;margin:0;accent-color:var(--primary)}.bank-batch-edit-field select{width:100%;min-width:0;padding:10px;border-radius:9px;border:1px solid var(--border);background:var(--surface);color:var(--text)}.bank-batch-edit-field select:disabled{opacity:.62}.migration-archive{margin:22px 0 28px;border:1px solid var(--border);border-radius:14px;background:var(--surface);overflow:hidden}.migration-archive>summary{display:flex;flex-direction:column;gap:5px;position:relative;padding:18px 44px 18px 20px;cursor:pointer;list-style:none}.migration-archive>summary::-webkit-details-marker{display:none}.migration-archive>summary:after{content:"+";position:absolute;right:21px;top:17px;font-size:22px;color:var(--muted);font-weight:500}.migration-archive[open]>summary:after{content:"−"}.migration-archive>summary strong{font-size:14px;color:var(--text)}.migration-archive>summary span{font-size:12px;color:var(--muted);line-height:1.5}.migration-archive>summary:hover{background:var(--surface2)}.migration-archive>summary:focus-visible{outline:3px solid var(--primary);outline-offset:-3px}.migration-archive[open]>summary{border-bottom:1px solid var(--border)}.migration-archive__content{padding:14px;display:grid;gap:16px;min-width:0}.migration-archive__content>.surface-card{margin:0}@media(max-width:650px){.migration-archive__content{padding:8px}.migration-archive>summary{padding:15px 38px 15px 14px}}.unmatched-bank-actions{display:grid;gap:10px;min-width:0;margin-top:12px}.unmatched-bank-actions>.form-actions{justify-content:flex-end;margin:0}.unmatched-bank-editor{display:grid;gap:13px;padding:15px;border:1px solid var(--border);border-radius:12px;background:var(--surface2);min-width:0}.unmatched-bank-editor>strong{font-size:13px}.unmatched-bank-editor label{display:grid;gap:7px;color:var(--text);font-size:12px;font-weight:700;min-width:0}.unmatched-bank-editor input,.unmatched-bank-editor select,.unmatched-bank-editor textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--border);border-radius:9px;padding:10px 12px;color:var(--text);background:var(--surface);font:inherit;font-size:13px}.unmatched-bank-editor textarea{min-height:95px;resize:vertical}.unmatched-bank-editor .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.unmatched-bank-editor .form-actions{justify-content:flex-end;flex-wrap:wrap}@media(max-width:650px){.unmatched-bank-editor .form-grid{grid-template-columns:1fr}.unmatched-bank-actions>.form-actions{justify-content:flex-start}}.invoice-card-switch{display:flex;gap:9px;flex-wrap:wrap;padding:12px 20px 0}.invoice-card-switch__button{border:1px solid var(--border);background:var(--surface2);color:var(--muted);transition:background .12s,border-color .12s,color .12s}.invoice-card-switch__button--active,.invoice-card-switch__button[aria-pressed=true]{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:800}.invoice-card-switch__button:focus-visible{outline:3px solid var(--primary);outline-offset:3px}.invoice-card-switch__button:disabled{cursor:wait;opacity:.65}.invoice-card-switch__button--active:disabled{opacity:1}.invoice-active-caption{margin:0 0 14px}@media(max-width:550px){.invoice-card-switch{padding:12px 12px 0}.invoice-card-switch__button{flex:1 1 135px}}.live-finance-shell,.history-insights{display:grid;gap:18px}.history-bars{display:grid;gap:12px;margin:16px 0 26px}.history-bars__row{display:grid;grid-template-columns:72px minmax(80px,1fr) 115px;gap:12px;align-items:center;font-variant-numeric:tabular-nums}.history-bars__row>span{color:var(--muted);font-size:12px}.history-bars__row>strong{text-align:right;white-space:nowrap;font-size:12px}.history-bars__track{background:var(--surface3);height:11px;border-radius:999px;overflow:hidden}.history-bars__fill{height:100%;border-radius:999px;background:var(--primary);min-width:2px}.history-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}.history-category{display:flex;justify-content:space-between;gap:10px;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface2);align-items:center}.history-category>span{min-width:0;font-size:12px;overflow-wrap:anywhere}.history-category>strong{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.history-category small{font-weight:400;color:var(--muted);font-size:11px}.live-finance-shell .form-grid select,.live-finance-shell .form-grid input{max-width:100%}@media(max-width:750px){.history-category-grid{grid-template-columns:1fr}.history-bars__row{grid-template-columns:54px minmax(55px,1fr) 103px;gap:7px}.history-bars__row>strong{font-size:11px}}
