@charset "UTF-8";:root{--font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--bg-page: #f8fafc;--bg-card: #ffffff;--bg-card-muted: #f1f5f9;--bg-subtle: #f8fafc;--bg-hover: #f1f5f9;--border-color: #e2e8f0;--border-color-subtle: #f1f5f9;--border-focus: #6366f1;--text-main: #0f172a;--text-muted: #64748b;--text-subtle: #94a3b8;--text-inverted: #ffffff;--brand-primary: #4f46e5;--brand-primary-hover: #4338ca;--brand-primary-light: #eef2ff;--brand-primary-border: #c7d2fe;--debit-rose: #f43f5e;--debit-rose-bg: #fff1f2;--debit-rose-border: #fecdd3;--debit-rose-text: #9f1239;--credit-emerald: #10b981;--credit-emerald-bg: #ecfdf5;--credit-emerald-border: #a7f3d0;--credit-emerald-text: #047857;--warning-amber: #f59e0b;--warning-amber-bg: #fffbeb;--warning-amber-border: #fde68a;--warning-amber-text: #b45309;--shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, .04);--shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, .06), 0 1px 2px -1px rgba(15, 23, 42, .06);--shadow-md: 0 4px 6px -1px rgba(15, 23, 42, .06), 0 2px 4px -2px rgba(15, 23, 42, .05);--shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, .07), 0 4px 6px -4px rgba(15, 23, 42, .04);--shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, .09), 0 8px 10px -6px rgba(15, 23, 42, .05);--radius-sm: 8px;--radius-md: 12px;--radius-lg: 16px;--radius-xl: 20px;--radius-full: 9999px}:root[data-theme=dark],[data-theme=dark]{--bg-page: #1a202c;--bg-card: #242c3d;--bg-card-muted: #1e2636;--bg-subtle: #283346;--bg-hover: #2d394e;--border-color: #374459;--border-color-subtle: #2b3648;--border-focus: #818cf8;--text-main: #e2e8f0;--text-muted: #94a3b8;--text-subtle: #6b7c93;--text-inverted: #0f172a;--brand-primary: #6366f1;--brand-primary-hover: #818cf8;--brand-primary-light: rgba(99, 102, 241, .16);--brand-primary-border: rgba(99, 102, 241, .3);--debit-rose: #f87171;--debit-rose-bg: rgba(248, 113, 113, .14);--debit-rose-border: rgba(248, 113, 113, .28);--debit-rose-text: #fca5a5;--credit-emerald: #34d399;--credit-emerald-bg: rgba(52, 211, 153, .14);--credit-emerald-border: rgba(52, 211, 153, .28);--credit-emerald-text: #6ee7b7;--warning-amber: #fbbf24;--warning-amber-bg: rgba(251, 191, 36, .14);--warning-amber-border: rgba(251, 191, 36, .28);--warning-amber-text: #fde68a;--shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, .2);--shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, .22), 0 1px 2px -1px rgba(0, 0, 0, .2);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .25), 0 2px 4px -2px rgba(0, 0, 0, .2);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .28), 0 4px 6px -4px rgba(0, 0, 0, .22);--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .32), 0 8px 10px -6px rgba(0, 0, 0, .25)}*,*:before,*:after{box-sizing:border-box}html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}body{margin:0;padding:0;font-family:var(--font-sans);background-color:var(--bg-page);color:var(--text-main);min-height:100vh}button,input,select,textarea{font-family:inherit}.tabular-nums{font-variant-numeric:tabular-nums}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border-radius:var(--radius-sm, 8px);border:1px solid var(--border-color, #e2e8f0);background:var(--bg-card, #ffffff);color:var(--text-muted, #64748b);cursor:pointer;transition:all .15s ease;flex-shrink:0;box-shadow:var(--shadow-xs)}.icon-button svg{width:16px;height:16px;stroke-width:2}.icon-button:hover{background:var(--bg-hover, #f8fafc);color:var(--brand-primary, #4f46e5);border-color:var(--border-hover, #cbd5e1)}.icon-button:active{transform:scale(.94)}.icon-button.spinning svg,.icon-button.is-spinning svg{animation:spin .75s cubic-bezier(.4,0,.2,1)}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:var(--radius-full)}::-webkit-scrollbar-thumb:hover{background:#94a3b8}.drag-overlay{position:fixed;inset:0;background:#0f172abf;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;display:flex;align-items:center;justify-content:center;pointer-events:none}.drag-box{background:#fff;border:3px dashed #820ad1;border-radius:20px;padding:48px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;box-shadow:0 25px 50px -12px #00000059}.drag-box .drag-icon{font-size:3rem}.drag-box strong{font-size:1.25rem;color:#0f172a}.drag-box small{font-size:.9rem;color:#64748b}.nubank-preview-modal{width:95vw;max-width:1120px;max-height:90vh;background:#fff;border-radius:16px;box-shadow:0 25px 50px -12px #00000059;display:flex;flex-direction:column;overflow:hidden}.nubank-preview-modal .modal-top{display:flex;justify-content:space-between;align-items:flex-start;padding:24px 28px 16px;border-bottom:1px solid #e2e8f0}.nubank-preview-modal .modal-top .eyebrow{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#820ad1;margin:0 0 4px}.nubank-preview-modal .modal-top h2{font-size:1.35rem;font-weight:800;color:#0f172a;margin:0}.nubank-preview-modal .modal-top .modal-subtitle{font-size:.85rem;color:#64748b;margin:4px 0 0}.nubank-preview-modal .modal-top .icon-button{font-size:1.25rem;cursor:pointer;background:#f1f5f9;border:none;border-radius:8px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;color:#64748b;transition:all .15s}.nubank-preview-modal .modal-top .icon-button:hover{background:#e2e8f0;color:#0f172a}.nubank-preview-modal .preview-config-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;padding:16px 28px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.nubank-preview-modal .preview-config-grid .modal-field{display:flex;flex-direction:column;gap:6px}.nubank-preview-modal .preview-config-grid .modal-field span{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:#475569}.nubank-preview-modal .preview-config-grid .modal-field select,.nubank-preview-modal .preview-config-grid .modal-field input{height:38px;padding:0 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;font-size:.9rem;color:#1e293b;outline:none;transition:border-color .15s}.nubank-preview-modal .preview-config-grid .modal-field select:focus,.nubank-preview-modal .preview-config-grid .modal-field input:focus{border-color:#820ad1}.nubank-preview-modal .preview-metrics-strip{display:flex;flex-wrap:wrap;gap:12px;padding:14px 28px;background:#fff;border-bottom:1px solid #f1f5f9}.nubank-preview-modal .preview-metrics-strip .metric-pill{flex:1;min-width:140px;padding:10px 16px;border-radius:10px;background:#f1f5f9;border:1px solid #e2e8f0;display:flex;flex-direction:column;gap:2px}.nubank-preview-modal .preview-metrics-strip .metric-pill span{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:#64748b}.nubank-preview-modal .preview-metrics-strip .metric-pill strong{font-size:1.15rem;font-weight:800;color:#0f172a}.nubank-preview-modal .preview-metrics-strip .metric-pill.pill-success{background:#f0fdf4;border-color:#bbf7d0}.nubank-preview-modal .preview-metrics-strip .metric-pill.pill-success strong{color:#15803d}.nubank-preview-modal .preview-metrics-strip .metric-pill.pill-danger{background:#fef2f2;border-color:#fecaca}.nubank-preview-modal .preview-metrics-strip .metric-pill.pill-danger strong{color:#b91c1c}.nubank-preview-modal .preview-metrics-strip .metric-pill.pill-danger.highlight{border-color:#f87171;background:#fee2e2}.nubank-preview-modal .preview-metrics-strip .metric-pill.pill-warning{background:#fffbeb;border-color:#fde68a}.nubank-preview-modal .preview-metrics-strip .metric-pill.pill-warning strong{color:#b45309}.nubank-preview-modal .preview-metrics-strip .metric-pill.pill-warning.highlight{border-color:#f59e0b;background:#fef3c7}.nubank-preview-modal .preview-metrics-strip .metric-pill.pill-highlight{background:#faf5ff;border-color:#e9d5ff}.nubank-preview-modal .preview-metrics-strip .metric-pill.pill-highlight strong{color:#820ad1}.nubank-preview-modal .preview-actions-bar{display:flex;justify-content:space-between;align-items:center;padding:12px 28px;background:#fff;border-bottom:1px solid #e2e8f0}.nubank-preview-modal .preview-actions-bar .left-actions{display:flex;align-items:center;gap:16px}.nubank-preview-modal .preview-actions-bar .left-actions .toggle-all-label{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:.85rem;font-weight:600;color:#334155}.nubank-preview-modal .preview-actions-bar .left-actions .secondary-button.small{padding:5px 12px;font-size:.78rem;font-weight:700;border-radius:6px;border:1px solid #cbd5e1;background:#fff;color:#b45309;cursor:pointer;transition:all .15s}.nubank-preview-modal .preview-actions-bar .left-actions .secondary-button.small:hover{background:#fffbeb;border-color:#f59e0b}.nubank-preview-modal .preview-actions-bar .right-stats{font-size:.85rem;color:#64748b}.nubank-preview-modal .preview-actions-bar .right-stats strong{color:#0f172a}.nubank-preview-modal .preview-table-container{flex:1;overflow-y:auto;max-height:48vh;padding:0 28px}.nubank-preview-modal .preview-table-container .preview-table{width:100%;border-collapse:collapse;font-size:.86rem}.nubank-preview-modal .preview-table-container .preview-table thead th{position:sticky;top:0;background:#f8fafc;padding:10px 8px;font-weight:700;color:#475569;text-align:left;border-bottom:2px solid #e2e8f0;z-index:2}.nubank-preview-modal .preview-table-container .preview-table tbody tr{border-bottom:1px solid #f1f5f9;transition:background .1s}.nubank-preview-modal .preview-table-container .preview-table tbody tr:hover{background:#f8fafc}.nubank-preview-modal .preview-table-container .preview-table tbody tr.row-selected{background:#faf5ff}.nubank-preview-modal .preview-table-container .preview-table tbody tr.row-duplicate{background:#fffdf5}.nubank-preview-modal .preview-table-container .preview-table tbody tr.row-invalid{background:#fff1f2;opacity:.75}.nubank-preview-modal .preview-table-container .preview-table td{padding:8px;vertical-align:middle}.nubank-preview-modal .preview-table-container .preview-table .col-select{width:36px;text-align:center}.nubank-preview-modal .preview-table-container .preview-table .col-date{width:120px}.nubank-preview-modal .preview-table-container .preview-table .col-desc{min-width:200px}.nubank-preview-modal .preview-table-container .preview-table .col-amount{width:110px;text-align:right}.nubank-preview-modal .preview-table-container .preview-table .col-type{width:90px;text-align:center}.nubank-preview-modal .preview-table-container .preview-table .col-cat{width:160px}.nubank-preview-modal .preview-table-container .preview-table .col-status{width:190px}.nubank-preview-modal .preview-table-container .preview-table .cell-input{width:100%;padding:4px 8px;border:1px solid #e2e8f0;border-radius:6px;font-size:.85rem;background:#fff;color:#1e293b}.nubank-preview-modal .preview-table-container .preview-table .cell-input:focus{border-color:#820ad1;outline:none}.nubank-preview-modal .preview-table-container .preview-table .cell-input.amount-cell{text-align:right;font-weight:700}.nubank-preview-modal .preview-table-container .preview-table .cell-select{width:100%;padding:4px 6px;border:1px solid #e2e8f0;border-radius:6px;font-size:.82rem;background:#fff;color:#1e293b}.nubank-preview-modal .preview-table-container .preview-table .cell-select:focus{border-color:#820ad1;outline:none}.nubank-preview-modal .preview-table-container .preview-table .type-tag{display:inline-block;padding:2px 8px;border-radius:12px;font-size:.72rem;font-weight:700;background:#fee2e2;color:#991b1b}.nubank-preview-modal .preview-table-container .preview-table .type-tag.tag-credit{background:#dcfce7;color:#166534}.nubank-preview-modal .preview-table-container .preview-table .status-badge{display:inline-flex;align-items:center;padding:3px 8px;border-radius:6px;font-size:.74rem;font-weight:700;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nubank-preview-modal .preview-table-container .preview-table .status-badge.status-ok{background:#dcfce7;color:#15803d}.nubank-preview-modal .preview-table-container .preview-table .status-badge.status-warn{background:#fef3c7;color:#b45309}.nubank-preview-modal .preview-table-container .preview-table .status-badge.status-error{background:#fee2e2;color:#b91c1c}.nubank-preview-modal .modal-footer{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:16px 28px;border-top:1px solid #e2e8f0;background:#f8fafc}[data-theme=dark]{color-scheme:dark}[data-theme=dark] ::-webkit-scrollbar-thumb{background:#374459}[data-theme=dark] ::-webkit-scrollbar-thumb:hover{background:#4a5b75}[data-theme=dark] .icon-button{background:var(--bg-card, #242c3d);border-color:var(--border-color, #374459);color:var(--text-muted, #94a3b8)}[data-theme=dark] .icon-button:hover{background:var(--bg-hover, #2d394e);color:var(--brand-primary, #6366f1);border-color:#4a5b75}[data-theme=dark] .drag-box{background:var(--bg-card, #242c3d);border-color:#a855f7}[data-theme=dark] .drag-box strong{color:var(--text-main, #e2e8f0)}[data-theme=dark] .drag-box small{color:var(--text-muted, #94a3b8)}[data-theme=dark] .nubank-preview-modal{background:var(--bg-card, #242c3d);border:1px solid var(--border-color, #374459)}[data-theme=dark] .nubank-preview-modal .modal-top{border-bottom-color:var(--border-color, #374459)}[data-theme=dark] .nubank-preview-modal .modal-top h2{color:var(--text-main, #e2e8f0)}[data-theme=dark] .nubank-preview-modal .modal-top .modal-subtitle{color:var(--text-muted, #94a3b8)}[data-theme=dark] .nubank-preview-modal .modal-top .icon-button{background:var(--bg-card-muted, #1e2636);color:var(--text-muted, #94a3b8)}[data-theme=dark] .nubank-preview-modal .modal-top .icon-button:hover{background:var(--bg-hover, #2d394e);color:var(--text-main, #e2e8f0)}[data-theme=dark] .nubank-preview-modal .preview-config-grid{background:var(--bg-card-muted, #1e2636);border-bottom-color:var(--border-color, #374459)}[data-theme=dark] .nubank-preview-modal .preview-config-grid .modal-field span{color:var(--text-muted, #94a3b8)}[data-theme=dark] .nubank-preview-modal .preview-config-grid .modal-field select,[data-theme=dark] .nubank-preview-modal .preview-config-grid .modal-field input{background:var(--bg-card, #242c3d);border-color:var(--border-color, #374459);color:var(--text-main, #e2e8f0)}[data-theme=dark] .nubank-preview-modal .preview-config-grid .modal-field select:focus,[data-theme=dark] .nubank-preview-modal .preview-config-grid .modal-field input:focus{border-color:#a855f7}[data-theme=dark] .nubank-preview-modal .preview-metrics-strip{background:var(--bg-card, #242c3d);border-bottom-color:var(--border-color, #374459)}[data-theme=dark] .nubank-preview-modal .preview-metrics-strip .metric-pill{background:var(--bg-subtle, #283346);border-color:var(--border-color, #374459)}[data-theme=dark] .nubank-preview-modal .preview-metrics-strip .metric-pill span{color:var(--text-muted, #94a3b8)}[data-theme=dark] .nubank-preview-modal .preview-metrics-strip .metric-pill strong{color:var(--text-main, #e2e8f0)}[data-theme=dark] .nubank-preview-modal .preview-metrics-strip .metric-pill.pill-success{background:#34d39924;border-color:#34d39947}[data-theme=dark] .nubank-preview-modal .preview-metrics-strip .metric-pill.pill-success strong{color:#34d399}[data-theme=dark] .nubank-preview-modal .preview-metrics-strip .metric-pill.pill-danger{background:#f8717124;border-color:#f8717147}[data-theme=dark] .nubank-preview-modal .preview-metrics-strip .metric-pill.pill-danger strong{color:#f87171}[data-theme=dark] .nubank-preview-modal .preview-metrics-strip .metric-pill.pill-warning{background:#fbbf2424;border-color:#fbbf2447}[data-theme=dark] .nubank-preview-modal .preview-metrics-strip .metric-pill.pill-warning strong{color:#fbbf24}[data-theme=dark] .nubank-preview-modal .preview-metrics-strip .metric-pill.pill-highlight{background:#a855f726;border-color:#a855f74d}[data-theme=dark] .nubank-preview-modal .preview-metrics-strip .metric-pill.pill-highlight strong{color:#c084fc}[data-theme=dark] .nubank-preview-modal .preview-actions-bar{background:var(--bg-card, #242c3d);border-bottom-color:var(--border-color, #374459)}[data-theme=dark] .nubank-preview-modal .preview-actions-bar .left-actions .toggle-all-label{color:var(--text-muted, #94a3b8)}[data-theme=dark] .nubank-preview-modal .preview-actions-bar .left-actions .secondary-button.small{background:var(--bg-card-muted, #1e2636);border-color:var(--border-color, #374459);color:#fbbf24}[data-theme=dark] .nubank-preview-modal .preview-actions-bar .left-actions .secondary-button.small:hover{background:var(--bg-hover, #2d394e)}[data-theme=dark] .nubank-preview-modal .preview-actions-bar .right-stats{color:var(--text-muted, #94a3b8)}[data-theme=dark] .nubank-preview-modal .preview-actions-bar .right-stats strong{color:var(--text-main, #e2e8f0)}[data-theme=dark] .nubank-preview-modal .preview-table-container .preview-table thead th{background:var(--bg-subtle, #283346);color:var(--text-muted, #94a3b8);border-bottom-color:var(--border-color, #374459)}[data-theme=dark] .nubank-preview-modal .preview-table-container .preview-table tbody tr{border-bottom-color:var(--border-color-subtle, #2b3648)}[data-theme=dark] .nubank-preview-modal .preview-table-container .preview-table tbody tr:hover{background:var(--bg-hover, #2d394e)}[data-theme=dark] .nubank-preview-modal .preview-table-container .preview-table tbody tr.row-selected{background:#a855f71f}[data-theme=dark] .nubank-preview-modal .preview-table-container .preview-table tbody tr.row-duplicate{background:#f59e0b1a}[data-theme=dark] .nubank-preview-modal .preview-table-container .preview-table tbody tr.row-invalid{background:#f43f5e1a}[data-theme=dark] .nubank-preview-modal .preview-table-container .preview-table .desc-text{color:var(--text-main, #e2e8f0)}[data-theme=dark] .nubank-preview-modal .preview-table-container .preview-table .desc-category{color:var(--text-subtle, #6b7c93)}[data-theme=dark] .nubank-preview-modal .preview-table-container .preview-table .col-amount strong{color:var(--text-main, #e2e8f0)}[data-theme=dark] .nubank-preview-modal .preview-table-container .preview-table .category-picker-cell select{background:var(--bg-card-muted, #1e2636);border-color:var(--border-color, #374459);color:var(--text-main, #e2e8f0)}[data-theme=dark] .nubank-preview-modal .modal-footer{background:var(--bg-card, #242c3d);border-top-color:var(--border-color, #374459)}[data-theme=dark] .nubank-preview-modal .modal-footer .secondary-button{background:var(--bg-card-muted, #1e2636);border-color:var(--border-color, #374459);color:var(--text-main, #e2e8f0)}[data-theme=dark] .nubank-preview-modal .modal-footer .secondary-button:hover{background:var(--bg-hover, #2d394e)}
