@font-face{font-family:Leve;src:local('Inter'),local('Aptos'),local('Segoe UI')}*{box-sizing:border-box}body{margin:0;background:#f6f7f4;color:#22352d;font:14px Leve,Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit}h1,h2,h3,p{margin:0}button,a,input,select{ -webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid #80b9a5;outline-offset:3px}input:focus,select:focus{outline:2px solid #84b6a2;outline-offset:1px}svg.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;display:inline-block;vertical-align:middle}.hidden{display:none!important}.sidebar{width:246px;position:fixed;inset:0 auto 0 0;border-right:1px solid #e2e8e1;background:#fff;display:flex;flex-direction:column;padding:32px 20px 20px}.brand{text-decoration:none;display:flex;gap:12px;align-items:center;padding:0 7px;font-size:25px;letter-spacing:-1px;font-weight:750;color:#174a36}.brand>div:last-child>span{display:block;font-size:9px;letter-spacing:2.2px;font-weight:600;margin-top:3px;color:#75897c}.mark{height:42px;width:42px;flex-shrink:0;border-radius:13px;background:#195840;color:white;font-size:39px;font-weight:700;line-height:43px;padding-left:12px;position:relative}.mark>span{font-size:20px;position:absolute;right:7px;top:-6px;font-weight:400;color:#c9ed9c}.workspace{margin:35px 0 27px;border:1px solid #e2e8df;border-radius:10px;padding:13px 10px;display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600}.workspace-icon{font-size:22px;color:#63806d}.workspace small{display:block;font-size:10px;font-weight:400;color:#8a958e;margin-top:4px}.green-dot{background:#79ac68;height:6px;width:6px;border-radius:50%;margin-left:auto}.nav-label{font-size:9px;font-weight:650;letter-spacing:1.5px;color:#9aa49c;padding-left:14px;margin-bottom:12px}nav{display:flex;flex-direction:column;gap:8px}.nav{border:0;background:none;display:flex;align-items:center;gap:11px;width:100%;padding:14px 13px;border-radius:9px;text-align:left;color:#738178;font-size:12px;font-weight:550}.nav:hover{background:#f5f7f3}.nav.active{background:#eaf2e9;color:#225b3f;font-weight:650}.nav-count{margin-left:auto;background:#d7e8d4;border-radius:4px;font-size:9px;padding:3px 5px;white-space:nowrap}.sidebar-note{margin-top:auto;margin-bottom:28px;border-radius:12px;background:#f4f6ec;padding:20px 16px;line-height:1.6}.note-symbol{color:#6f8646;background:#e7ecd7;border-radius:8px;width:31px;height:31px;display:grid;place-items:center;margin-bottom:12px}.sidebar-note strong{font-size:13px;font-weight:600;display:block}.sidebar-note p{font-size:11px;color:#839078;margin-top:7px}.sidebar-note>span{border-top:1px solid #e1e7d3;display:block;font-size:10px;margin-top:15px;padding-top:12px;color:#6a7b58}.sidebar-note b{display:block;font-size:20px;color:#42672d;font-weight:600}.sidebar-bottom{border-top:1px solid #e8ece5;padding:18px 12px 0;display:flex;align-items:center;gap:10px;font-size:11px;color:#69806f}.sidebar-bottom small{display:block;font-size:10px;color:#9aa79d;margin-top:4px}.main-shell{margin-left:246px}.topbar{height:77px;border-bottom:1px solid #e2e7df;display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fcfdfa}.breadcrumb{font-size:11px;color:#8d988f;display:flex;gap:13px;align-items:center}.breadcrumb strong{color:#5a6c5e;font-weight:500}.topbar-right{display:flex;gap:20px;align-items:center}.private-badge{font-size:10px;color:#82907e;display:flex;align-items:center;gap:6px}.private-badge svg{width:12px}.avatar{width:32px;height:32px;border-radius:50%;border:1px solid #d9e4d7;background:#e9efe5;font-size:10px;color:#52734a;font-weight:700}main{padding:34px 42px 18px;max-width:1580px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.eyebrow{font-size:9px;color:#859578;font-weight:650;letter-spacing:1.8px;margin-bottom:10px}h1{font-size:32px;letter-spacing:-1.2px;font-weight:600;color:#223d2d}.page-heading p{font-size:12px;color:#8b978c;margin-top:10px;line-height:1.6}.button{display:inline-flex;gap:8px;align-items:center;justify-content:center;border-radius:8px;padding:12px 17px;font-size:11px;font-weight:600;border:1px solid #1d5941;transition:background .15s}.button.primary{background:#205a41;color:#fff}.button.primary:hover{background:#17472f}.button.secondary{background:#fff;border-color:#d9e1d5;color:#506748}.button.secondary:hover{background:#edf4e9}.button.small{padding:8px 11px;font-size:10px}.button svg{width:15px;height:15px}.text-button{border:0;background:none;color:#778971;font-size:10px;display:inline-flex;gap:5px;align-items:center;padding:4px}.text-button svg{height:13px;width:13px}.context-bar{border:1px solid #e0e6db;border-radius:8px;background:#fcfdf9;padding:12px 15px;display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;font-size:10px;color:#94a18c;gap:10px}.context-bar>div{display:flex;align-items:center;gap:9px}.context-bar strong{color:#657c57;font-weight:600}.live-dot{height:6px;width:6px;background:#7fa15e;border-radius:50%}.context-actions{gap:18px!important}.section-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;gap:12px}.section-row h2{font-size:16px;letter-spacing:-.3px;font-weight:600}.period-select{font-size:11px;border:1px solid #dce2d6;border-radius:7px;padding:8px 12px;background:white;color:#66795e}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:24px}.card{padding:18px 19px;background:white;border:1px solid #e1e6dc;border-radius:10px;min-height:138px}.card.featured{background:#20563e;color:white;border-color:#20563e}.card-label{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#8b9984;gap:10px}.card-label svg{width:15px;height:15px;color:#90a47c}.featured .card-label{color:#c4d8bc}.featured .card-label svg{color:#c3dcb4}.card-number{font-size:26px;font-weight:550;letter-spacing:-.9px;margin-top:19px;white-space:nowrap}.card-number small{font-size:17px}.card-caption{font-size:9px;color:#9aa691;line-height:1.6;margin-top:8px}.featured .card-caption{color:#b3cfab}.card-tag{font-size:9px;border-radius:4px;padding:3px 6px;background:#f1f5e9;color:#8a9f61;font-weight:500;margin-left:8px}.card-tag.warn{background:#fbf3df;color:#b39747}.grid-two{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr);gap:20px;margin-bottom:24px}.panel{background:#fff;border:1px solid #e2e7dd;border-radius:10px;overflow:hidden}.panel-heading{padding:22px 23px 10px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.panel-heading h2{font-size:14px;letter-spacing:-.3px;font-weight:600}.panel-heading p{font-size:10px;color:#93a08b;margin-top:7px;line-height:1.7}.pill{display:inline-flex;gap:5px;align-items:center;border:1px solid #e4e9db;background:#f6f8ef;border-radius:5px;padding:5px 7px;white-space:nowrap;color:#82976b;font-size:8px;font-weight:600}.panel-body{padding:10px 23px 20px}.chart{width:100%;height:230px;display:block}.chart text{fill:#a2ad9b;font-size:10px}.chart .y-label{font-size:8px}.legend{display:flex;gap:18px;align-items:center;margin:5px 0 6px;font-size:9px;color:#91a184}.legend>span{display:flex;align-items:center;gap:5px}.legend i{width:7px;height:7px;border-radius:50%;display:inline-block}.legend .base{background:#438461}.legend .reserve{background:#d7c890}.legend .adjusted{background:#a5b798}.chart-note{font-size:9px;color:#a0ad94;border-top:1px solid #eef0e9;padding-top:12px;line-height:1.7}.cash-list{margin-top:10px}.cash-line{display:flex;justify-content:space-between;align-items:center;font-size:10px;margin:17px 0;gap:10px}.cash-line span{color:#8d9b84;display:flex;align-items:center;gap:7px}.cash-line b{font-weight:550;white-space:nowrap}.category-square{height:7px;width:7px;border-radius:2px;display:inline-block;background:#a8bb89}.cash-line.total{padding-top:15px;border-top:1px solid #e5eadf;font-size:12px}.cash-line.total b{color:#3e7451}.info-note{padding:11px 12px;background:#f7f8f1;border-radius:7px;display:flex;gap:8px;color:#97a482;font-size:9px;line-height:1.8}.info-note svg{width:13px;flex-shrink:0;margin-top:3px}.alert{padding:13px 17px;border-radius:8px;border:1px solid #e8e2cc;background:#fcfaf0;color:#9d8c58;font-size:10px;line-height:1.7;display:flex;align-items:flex-start;gap:10px;margin:18px 0}.alert svg{flex-shrink:0;width:15px;margin-top:3px}.alert strong{color:#8e7b47;font-weight:600}.alert.green{background:#eff5e9;color:#6b8958;border-color:#dce8d1}.alert.green strong{color:#456d38}.alert.red{background:#fbefea;color:#a87762;border-color:#eadacf}.alert.red strong{color:#925540}.table-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 23px 17px}.table-header h2{font-size:14px;font-weight:600}.table-header p{font-size:10px;color:#99a58f;margin-top:7px;line-height:1.6}.table-controls{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.segmented{display:flex;align-items:center;gap:2px;padding:3px;border:1px solid #e3e8dc;border-radius:6px;background:#fafbf7}.segmented button{font-size:9px;color:#9aa78e;border:0;background:none;padding:7px 10px;border-radius:4px}.segmented button.selected{background:#e7efe0;color:#577247;font-weight:600}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:8px;letter-spacing:.9px;color:#94a188;font-weight:500;padding:13px 18px;background:#fafbf7;border-top:1px solid #edf0e7;border-bottom:1px solid #e9ede3}td{padding:16px 18px;font-size:11px;border-bottom:1px solid #eff1e9;color:#6f7f61}tr:last-child td{border-bottom:0}td strong{color:#416234;font-weight:600}.right{text-align:right}.month-cell{color:#415c35;font-weight:500}.month-cell small{display:block;font-size:8px;color:#a1ad94;margin-top:4px;font-weight:400}.table-footnote{padding:13px 23px;background:#fcfdf9;font-size:9px;color:#99a68b;border-top:1px solid #e9ede1;line-height:1.8}.next-action{margin-top:23px;padding:21px 23px;border:1px solid #dbe5d0;border-radius:10px;background:#edf3e6;display:flex;align-items:center;justify-content:space-between;gap:15px}.next-action h3{font-size:13px;font-weight:600;color:#50733c}.next-action p{font-size:10px;margin-top:6px;color:#8ea077;line-height:1.6}.next-action svg{width:15px}footer{display:flex;justify-content:space-between;gap:15px;font-size:8px;color:#a1ad95;margin-top:34px;padding-top:15px;border-top:1px solid #e0e7d7}.progress-wrap{display:flex;gap:20px;align-items:center}.progressbar{height:6px;background:#edf1e7;border-radius:5px;overflow:hidden}.progressbar i{display:block;background:#568354;height:100%}.filter-bar{display:flex;gap:10px;padding:0 23px 18px;align-items:center;flex-wrap:wrap}.search{position:relative;flex:1;min-width:190px}.search input{width:100%;padding:10px 12px 10px 35px}.search svg{position:absolute;left:11px;top:10px;color:#a1af97;width:15px}input:not([type=range],[type=checkbox]),select{border:1px solid #dce3d4;border-radius:7px;background:#fff;color:#576d48;padding:10px 12px;font-size:11px;min-width:0}label{display:block;font-size:10px;color:#829474;margin-bottom:7px}label input, label select{display:block;margin-top:7px;width:100%}.search input{padding-left:35px!important}.curve{display:inline-grid;place-items:center;border-radius:5px;width:25px;height:24px;font-size:10px;font-weight:650}.curve.A{background:#e9f0df;color:#607d42}.curve.B{background:#f6f0dc;color:#a89452}.curve.C{background:#f1f2ec;color:#9b9f86}.product-name{max-width:330px;white-space:normal;font-size:10px;line-height:1.5;color:#637752}.product-name small{display:block;font-size:8px;color:#a3ae96;margin-top:3px}.status{display:inline-block;border-radius:5px;padding:5px 7px;font-size:8px;color:#969f89;background:#f0f2eb}.status.ruptura{color:#b17a60;background:#faf0e8}.status.repor{color:#9c9059;background:#f9f4e2}.status.adequado{color:#69894f;background:#edf4e6}.pagination{display:flex;justify-content:space-between;padding:15px 23px;color:#99a88d;font-size:10px;align-items:center}.pagination>div{display:flex;gap:6px}.empty-state{text-align:center;padding:35px;color:#99a88d;line-height:1.7}.stat-inline{display:flex;justify-content:space-between;gap:20px;padding:20px 23px}.stat-inline>div{flex:1}.stat-inline b{display:block;font-size:24px;font-weight:550;letter-spacing:-.6px;color:#56753e}.stat-inline span{font-size:10px;color:#95a386;line-height:1.8}.stat-inline .progressbar{margin-top:10px}.sim-grid{display:grid;grid-template-columns:minmax(290px,1fr) minmax(0,1.6fr);gap:22px}.form-group{margin-bottom:15px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.help{font-size:9px;color:#9aaa8e;line-height:1.7;margin:7px 0 0}.divider{height:1px;background:#e9eee1;margin:20px 0}.range-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;font-size:10px;color:#92a082}.range-row b{font-size:12px;color:#688747}input[type=range]{accent-color:#568046;width:100%}.range-labels{display:flex;justify-content:space-between;font-size:8px;color:#a9b49d;margin-top:2px}.full{width:100%}.sim-summary{padding:18px 22px;border-bottom:1px solid #e7ecdd;display:flex;gap:30px}.sim-summary>div{flex:1}.sim-summary span{font-size:9px;color:#a1ac94}.sim-summary b{display:block;font-size:23px;color:#4a7138;font-weight:550;margin-top:8px}.sim-result{margin-top:20px}.mini-table td{font-size:10px;padding:12px 18px}.mini-table th{font-size:8px}.results-status{display:flex;gap:10px;align-items:center;font-size:12px;font-weight:600;color:#4d7538}.results-status svg{width:18px;height:18px}.results-copy{font-size:10px;color:#98a886;line-height:1.8;margin-top:8px}.scenario-list{margin-top:23px}.saved-row{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-top:1px solid #e7ecdd;font-size:10px;color:#7e9566;gap:10px}.saved-row small{display:block;color:#a0ae8f;font-size:9px;margin-top:4px}.saved-actions{display:flex;gap:8px}dialog{border:1px solid #dbe4d1;border-radius:14px;box-shadow:0 25px 100px #193f3133;padding:0;width:min(580px,92vw);max-height:90vh;color:#2b4430;background:#fcfdf9}dialog::backdrop{background:#20372866;backdrop-filter:blur(3px)}dialog.drawer{width:min(760px,96vw)}.drawer-head{padding:25px 27px 20px;border-bottom:1px solid #e5eadc;display:flex;justify-content:space-between;align-items:flex-start}.drawer-head h2{font-size:22px;font-weight:550;letter-spacing:-.7px}.icon-button{border:1px solid #e1e8d7;background:white;border-radius:7px;height:28px;width:28px;color:#89a072;font-size:20px}.drawer-body{padding:23px 27px 27px}.source-card{padding:15px;border:1px solid #e1e7d8;border-radius:8px;background:white;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0}.source-card strong{font-size:11px;font-weight:500}.source-card p{font-size:9px;color:#97a58a;margin-top:6px;line-height:1.6}.upload-box{background:#f4f7ed;border:1px dashed #c5d4b2;border-radius:9px;text-align:center;padding:26px 18px;margin:18px 0}.upload-box svg{width:25px;color:#839d64}.upload-box h3{font-size:13px;margin:11px 0 7px;font-weight:550}.upload-box p{font-size:10px;color:#98a78a;line-height:1.7}.mapping{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:15px 0}.mapping select{width:100%}.mapping label{font-size:10px}.mapping-info{padding:12px 0;font-size:10px;color:#829772;line-height:1.7}.compact td{padding:10px;font-size:9px}.compact th{padding:10px}.checkbox-line{display:flex;align-items:flex-start;gap:9px;font-size:10px;color:#91a081;line-height:1.7;margin:17px 0}.checkbox-line input{margin:3px 0}.inline-link{border:0;background:none;text-decoration:underline;text-underline-offset:3px;color:#718c55;font-size:10px;padding:0}.manual-table input{width:105px}.manual-table td{padding:9px}.manual-table th{padding:9px}.manual-table input[type=month]{width:126px}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:#254d35;color:#eef5e7;border-radius:9px;padding:13px 20px;font-size:11px;box-shadow:0 8px 25px #2a482933;z-index:10;max-width:85vw}.negative{color:#b77e64!important}.button-row{display:flex;gap:10px;justify-content:flex-end;margin-top:22px;flex-wrap:wrap}.supplier-detail{padding:12px;background:#f4f7ed;border-radius:7px;font-size:9px;color:#95a682;line-height:1.8;margin-bottom:15px}.title-note{font-size:10px;color:#97a788;line-height:1.7}.no-margin{margin:0}.switcher{display:flex;gap:7px;margin-bottom:17px;flex-wrap:wrap}.simulator-empty{padding:35px;text-align:center;color:#91a082}.simulator-empty h3{font-size:16px;font-weight:550;color:#657f50;margin-bottom:10px}.simulator-empty p{font-size:11px;line-height:1.8}.simulator-empty>svg{height:42px;width:42px;margin:10px 0 20px}.danger-text{color:#a57c66}.subtle{color:#a0ad94}.import-options{display:flex;gap:10px;align-items:center;margin:12px 0;flex-wrap:wrap}.import-options select{flex:1}.form-error{font-size:11px;color:#a86d55;background:#faf0e9;border-radius:6px;padding:10px;margin-top:10px}.model-links{display:flex;gap:13px;flex-wrap:wrap;margin:12px 0}.unsaved-dot{height:5px;width:5px;background:#caad63;border-radius:50%;display:inline-block;margin-right:4px}.origin-note{font-size:9px;color:#97a48b;line-height:1.8;margin-bottom:14px}.export-summary{font-size:10px;color:#94a882;line-height:1.7;margin-top:14px}
.product-supplier-cell{min-width:180px;max-width:240px}.product-supplier-cell>small{display:block;white-space:normal;font-size:9px;line-height:1.6;color:#687e96;margin-top:7px}.product-supplier-button{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:550;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:7px;padding:7px 9px}.product-supplier-button:hover{background:#dbeafe}.product-supplier-button svg{height:14px;width:14px}
.supplier-product-title{display:flex;align-items:flex-start;gap:10px;margin-bottom:12px}.supplier-product-title strong{display:block;font-size:12px;line-height:1.6;color:#304963}.supplier-product-title small{display:block;font-size:9px;color:#62768d;margin-top:4px}.supplier-product-title .curve{flex-shrink:0}.supplier-selection-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:21px;margin-bottom:10px}.supplier-selection-heading strong{font-size:11px;color:#6d28d9}.supplier-chips{display:flex;gap:6px;flex-wrap:wrap;max-height:150px;overflow:auto;margin-bottom:19px;padding:2px}.supplier-chip{display:inline-flex;align-items:center;gap:7px;padding:5px 7px 5px 10px;border:1px solid #ddd6fe;background:#f5f3ff;color:#5b21b6;border-radius:7px;font-size:10px;max-width:100%;overflow-wrap:anywhere}.supplier-chip button{height:21px;width:21px;flex-shrink:0;border:0;border-radius:4px;background:#ede9fe;color:#6d28d9;font-size:17px;line-height:1}.supplier-chip button:hover{background:#ddd6fe}.supplier-picker-search{margin-bottom:12px}.supplier-picker-options{border:1px solid #dce5f1;border-radius:9px;max-height:300px;overflow:auto;background:white}.supplier-picker-option{display:flex;gap:10px;align-items:center;cursor:pointer;padding:12px 13px;margin:0;border-bottom:1px solid #edf1f7}.supplier-picker-option:last-child{border-bottom:0}.supplier-picker-option:hover{background:#f8fafc}.supplier-picker-option.selected{background:#eff6ff}.supplier-picker-option>input[type=checkbox]{accent-color:#2563eb;width:16px;height:16px;flex-shrink:0;margin:0}.supplier-picker-option>span:first-of-type{flex:1;min-width:0}.supplier-picker-option strong{display:block;font-size:11px;color:#304963;font-weight:550;overflow-wrap:anywhere}.supplier-picker-option small{display:block;font-size:9px;color:#687e96;line-height:1.5;margin-top:5px}.supplier-confirmed-badge{padding:4px 6px;border-radius:5px;background:#d1fae5;color:#065f46;font-size:8px;white-space:nowrap}.supplier-confirmation-note{display:flex;align-items:flex-start;gap:6px;font-size:9px;color:#047857;line-height:1.8;margin-top:14px}.supplier-confirmation-note svg{height:14px;width:14px;flex-shrink:0;margin-top:2px}.item-suppliers-summary{border:1px solid #ddd6fe;background:#f5f3ff;border-radius:8px;padding:12px;margin:10px 0 15px}.item-suppliers-summary>strong{font-size:10px;color:#6d28d9}.item-suppliers-summary>p{font-size:10px;color:#675486;line-height:1.7;margin:7px 0}.item-suppliers-summary .text-button{color:#6d28d9}@media(max-width:700px){.supplier-picker-option{padding:11px 10px;gap:8px}.supplier-confirmed-badge{font-size:7px;padding:4px}.supplier-picker-options{max-height:260px}.supplier-chips{max-height:110px}.product-supplier-cell{min-width:160px}}
/* Paleta por finalidade: caixa verde, prazos azuis, compromissos âmbar, cenários violeta. */
:root{--emerald:#047857;--blue:#1d4ed8;--amber:#92400e;--violet:#6d28d9;--ink:#24364a;--muted:#617187}
body{background:radial-gradient(ellipse at 100% 0%,#ede9fe77,transparent 42%),radial-gradient(ellipse at 20% 45%,#dbeafe66,transparent 45%),#f7f9fc;color:var(--ink)}
button:focus-visible,a:focus-visible{outline-color:#3b82f6}input:focus,select:focus{outline-color:#60a5fa}
.sidebar{background:linear-gradient(180deg,#fff,#f0fdf9);border-color:#dcebe7}.brand{color:#065f46}.mark{background:linear-gradient(145deg,#059669,#0f766e);box-shadow:0 5px 15px #04785726}.mark>span{color:#fde047}.brand>div:last-child>span{color:#58766b}
.workspace{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}.workspace-icon{color:#059669}.workspace small{color:#397460}.green-dot,.live-dot{background:#10b981;box-shadow:0 0 0 3px #10b98116}.nav-label{color:#68798b}
.nav{color:#5d6e81}.nav:hover{background:#f1f5f9}.nav[data-page="caixa"]>span:first-child{color:#059669}.nav[data-page="abc"]>span:first-child{color:#2563eb}.nav[data-page="simulador"]>span:first-child{color:#7c3aed}
.nav[data-page="caixa"].active{background:#d1fae5;color:#065f46}.nav[data-page="abc"].active{background:#dbeafe;color:#1e40af}.nav[data-page="simulador"].active{background:#ede9fe;color:#5b21b6}.nav-count{background:#bfdbfe;color:#1e40af}
.sidebar-note{background:linear-gradient(135deg,#047857,#0e7490);color:#fff;box-shadow:0 8px 20px #04785717}.note-symbol{background:#ffffff24;color:#fef08a}.sidebar-note p{color:#e0f2fe}.sidebar-note>span{border-color:#ffffff30;color:#e0f2fe}.sidebar-note b{color:#fef08a}.sidebar-bottom{color:#326553;border-color:#cce7da}.sidebar-bottom small{color:#617b6f}
.topbar{position:relative;background:#ffffffd9;border-color:#e0e7f0}.topbar::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#10b981 0% 28%,#3b82f6 28% 54%,#f59e0b 54% 76%,#8b5cf6 76%)}.breadcrumb{color:#65768a}.breadcrumb strong{color:#374b62}.private-badge{color:#047857}.avatar{background:#ede9fe;color:#6d28d9;border-color:#ddd6fe}
.eyebrow{color:#047857}h1{color:#183c35}.page-heading p{color:var(--muted)}.button.primary{background:linear-gradient(120deg,#047857,#0f766e);border-color:#047857;box-shadow:0 3px 8px #04785718}.button.primary:hover{background:linear-gradient(120deg,#065f46,#115e59)}.button.secondary{color:#1d4ed8;border-color:#bfdbfe;background:#f8fbff}.button.secondary:hover{background:#eff6ff}.text-button,.inline-link{color:#2563eb}
.context-bar{background:linear-gradient(100deg,#ecfdf5,#eff6ff);border-color:#bfdfd6;color:#527083}.context-bar strong{color:#047857}.context-actions .text-button{color:#1d4ed8}.period-select{background:#eff6ff;border-color:#bfdbfe;color:#1e40af}
.card{position:relative;border-color:#dfe7f0;border-top-width:3px;box-shadow:0 4px 14px #203b5a05}.card.featured{background:linear-gradient(125deg,#047857,#0f766e);border-color:#047857;color:white;box-shadow:0 6px 18px #04785720}.featured .card-label,.featured .card-label svg{color:#e2fff1}.featured .card-caption{color:#dcfce7}
.cards>.card:nth-child(2){background:linear-gradient(135deg,#eff6ff,#e0f2fe);border-color:#bfdbfe;border-top-color:#3b82f6;color:#1e40af}.cards>.card:nth-child(2) .card-label,.cards>.card:nth-child(2) .card-label svg,.cards>.card:nth-child(2) .card-caption{color:#2457a2}
.cards>.card:nth-child(3){background:linear-gradient(135deg,#fffbeb,#fff0d6);border-color:#fde68a;border-top-color:#f59e0b;color:#92400e}.cards>.card:nth-child(3) .card-label,.cards>.card:nth-child(3) .card-label svg,.cards>.card:nth-child(3) .card-caption{color:#8a4d0b}
.cards>.card:nth-child(4){background:linear-gradient(135deg,#f5f3ff,#ede9fe);border-color:#ddd6fe;border-top-color:#8b5cf6;color:#5b21b6}.cards>.card:nth-child(4) .card-label,.cards>.card:nth-child(4) .card-label svg,.cards>.card:nth-child(4) .card-caption{color:#6945a1}.card-tag.warn{background:#fef3c7;color:#854d0e;border:1px solid #fde68a}
.panel{border-color:#e0e7f0;box-shadow:0 3px 12px #203b5a04}.panel-heading,.table-header{background:linear-gradient(100deg,#ffffff,#f7faff)}.panel-heading h2,.table-header h2{color:#304963}.panel-heading p,.table-header p{color:#667a91}.pill{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.chart text{fill:#64748b}.legend{color:#56687e}.legend .base{background:#059669}.legend .reserve{background:#d97706}.legend .adjusted{background:#7c3aed}.chart-note{color:#62768d;border-color:#e2e8f0}
.cash-line span{color:#60748b}.cash-line b{color:#304963}.category-square{background:#10b981}.cash-line.total{border-color:#dbe7ef}.cash-line.total b{color:#047857}.info-note{background:#eff6ff;color:#28578a;border:1px solid #dbeafe}
.alert{background:#fffbeb;border-color:#fde68a;color:#8a5814}.alert strong{color:#78350f}.alert.green{background:#ecfdf5;color:#047857;border-color:#a7f3d0}.alert.green strong{color:#065f46}.alert.red,.form-error{background:#fff1f2;color:#be123c;border-color:#fecdd3}.alert.red strong{color:#9f1239}
th{background:#eff6ff;color:#5275a2;border-color:#dbeafe}td{color:#52647b;border-color:#edf1f7}td strong{color:#047857}.month-cell{color:#244d7b}.month-cell small{color:#687f99}.table-footnote{background:#f8fafc;color:#62758c;border-color:#e2e8f0}.segmented{background:#f1f5f9;border-color:#e2e8f0}.segmented button{color:#62738a}.segmented button.selected{background:#dbeafe;color:#1e40af}
.next-action{background:linear-gradient(110deg,#ecfdf5,#eff6ff);border-color:#b9e4d6}.next-action h3{color:#065f46}.next-action p{color:#406d75}.progressbar{background:#e0e7ff}.progressbar i{background:linear-gradient(90deg,#10b981,#3b82f6)}
.curve.A{background:#d1fae5;color:#065f46;border:1px solid #a7f3d0}.curve.B{background:#dbeafe;color:#1e40af;border:1px solid #bfdbfe}.curve.C{background:#ffedd5;color:#9a3412;border:1px solid #fed7aa}.status{background:#f1f5f9;color:#52647b}.status.ruptura{background:#ffe4e6;color:#be123c}.status.repor{background:#fef3c7;color:#92400e}.status.adequado{background:#d1fae5;color:#065f46}.product-name{color:#405b73}.product-name small,.pagination,.empty-state{color:#687e96}.stat-inline b{color:#047857}.stat-inline>div:nth-child(2) b{color:#2563eb}.stat-inline>div:nth-child(3) b{color:#7c3aed}.stat-inline span{color:#62768d}
input:not([type=range],[type=checkbox]),select{border-color:#cddcec;color:#334d68}label{color:#56708c}.help,.title-note,.origin-note,.export-summary,.checkbox-line,.mapping-info{color:#61758d}.subtle{color:#7287a0}.negative{color:#be123c!important}.danger-text{color:#be123c}
#page-simulador .button.primary{background:linear-gradient(120deg,#6d28d9,#7c3aed);border-color:#6d28d9;box-shadow:0 3px 8px #6d28d91a}#page-simulador .button.primary:hover{background:#5b21b6}#page-simulador .pill{background:#ede9fe;border-color:#ddd6fe;color:#6d28d9}#page-simulador .range-row b{color:#6d28d9}#sim-sales{accent-color:#7c3aed}#sim-expenses{accent-color:#f59e0b}.range-row,.range-labels{color:#687c93}.sim-summary{background:linear-gradient(110deg,#ecfdf5,#f5f3ff);border-color:#e0e7f0}.sim-summary span{color:#60758e}.sim-summary b{color:#047857}.sim-summary>div:nth-child(3) b{color:#6d28d9}.saved-row{color:#654896;border-color:#ede9fe}.saved-row small{color:#776a90}.supplier-detail{background:#f5f3ff;color:#624794}.simulator-empty{background:linear-gradient(145deg,#ffffff,#f5f3ff);color:#6d5790}.simulator-empty h3,.simulator-empty>svg{color:#6d28d9}
dialog{background:#fbfdff;border-color:#d5e1ef;color:#304963}dialog::backdrop{background:#192e4966}.drawer-head{background:linear-gradient(110deg,#ecfdf5,#eff6ff);border-color:#dbe7f1}.icon-button{background:#eff6ff;color:#2563eb;border-color:#bfdbfe}.source-card{border-color:#dbe7f1;border-left:3px solid #3b82f6}.source-card p{color:#62768d}.source-card:nth-of-type(2n){border-left-color:#8b5cf6}.source-card:nth-of-type(3n){border-left-color:#10b981}.upload-box{background:linear-gradient(135deg,#eff6ff,#f5f3ff);border-color:#a5b4fc}.upload-box svg{color:#6d28d9}.upload-box p{color:#66758e}.divider{background:#e2e8f0}.toast{background:linear-gradient(110deg,#065f46,#0e7490);color:white}footer{color:#6c8097;border-color:#dbe5ef}
@media(min-width:1500px){h1{font-size:36px}.card-number{font-size:31px}.card{min-height:151px}}@media(max-width:1200px){.sidebar{width:218px;padding-left:14px;padding-right:14px}.main-shell{margin-left:218px}main{padding:28px 25px 18px}.topbar{padding:0 25px}.cards{gap:10px}.card{padding:16px 14px}.card-number{font-size:22px}.grid-two{grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr)}.context-bar #context-summary{max-width:270px;line-height:1.5}}@media(max-width:960px){.sidebar{width:190px;padding:25px 10px 15px}.brand{font-size:21px;gap:9px}.mark{width:36px;height:36px;line-height:36px;font-size:31px}.main-shell{margin-left:190px}.workspace{font-size:10px;padding:10px 6px}.workspace small{font-size:8px}.nav{font-size:10px;padding:12px 9px;gap:8px}.nav-count{display:none}.cards{grid-template-columns:repeat(2,1fr)}.card-number{font-size:27px}.grid-two,.sim-grid{grid-template-columns:1fr}.sidebar-note{font-size:11px;padding:14px 11px}.context-bar{flex-wrap:wrap}h1{font-size:27px}.table-header{flex-wrap:wrap}.sim-summary{gap:16px}}
@media(max-width:700px){.sidebar{position:static;width:100%;height:auto;padding:17px 18px 0;border-right:0;border-bottom:1px solid #e1e6d9}.brand{font-size:21px}.brand>div:last-child>span{font-size:8px}.mark{height:32px;width:32px;font-size:30px;line-height:32px;padding-left:10px}.mark>span{right:4px;top:-4px;font-size:15px}.workspace,.nav-label,.sidebar-note,.sidebar-bottom{display:none}nav{flex-direction:row;justify-content:space-between;gap:3px;margin-top:18px}.nav{border-radius:7px 7px 0 0;justify-content:center;flex-direction:column;gap:6px;flex:1;padding:11px 4px;font-size:9px}.nav svg{width:17px}.main-shell{margin-left:0}.topbar{height:47px;padding:0 18px}.breadcrumb{font-size:9px;gap:8px}.topbar-right{gap:10px}.avatar{height:25px;width:25px;font-size:8px}.private-badge{font-size:8px}.private-badge svg{width:10px}main{padding:25px 18px 18px}.page-heading{gap:10px;align-items:flex-start;flex-wrap:wrap;margin-bottom:20px}.page-heading .button{padding:9px 11px;font-size:10px}.eyebrow{font-size:8px;margin-bottom:8px;letter-spacing:1.2px}h1{font-size:27px}.page-heading p{font-size:11px;margin-top:9px}.context-bar{padding:11px 12px;margin-bottom:20px;gap:10px}.context-bar>div{flex-wrap:wrap;font-size:9px;gap:7px}.context-bar #context-summary{max-width:none;flex-basis:100%;margin-left:13px;font-size:8px}.context-actions{margin-left:13px}.section-row h2{font-size:14px}.card{padding:16px 13px;min-height:132px}.card-label{font-size:9px}.card-number{font-size:23px;margin-top:18px}.card-caption{font-size:8px}.card-tag{font-size:7px;margin-left:5px}.cards{gap:10px;margin-bottom:18px}.grid-two{gap:18px;margin-bottom:18px}.panel-heading{padding:18px 17px 8px}.panel-body{padding:10px 17px 18px}.chart{height:210px}.table-header{padding:19px 17px 15px}.table-header h2{font-size:13px}.table-header p{font-size:9px}.table-controls .segmented button{padding:6px 7px;font-size:8px}.table-footnote{padding:12px 17px}.next-action{padding:18px 17px;align-items:flex-start;flex-wrap:wrap;margin-top:18px}.next-action h3{font-size:12px}.next-action p{font-size:9px}.next-action .button{width:100%}footer{font-size:7px;line-height:1.6;flex-direction:column;gap:5px;margin-top:25px}.filter-bar{padding:0 17px 15px}.search{flex-basis:100%}.stat-inline{padding:17px;gap:13px}.stat-inline b{font-size:21px}.stat-inline span{font-size:8px}.alert{font-size:9px;padding:11px 13px}.sim-grid{gap:18px}.sim-summary{padding:18px 17px;gap:10px}.sim-summary b{font-size:19px}.sim-summary span{font-size:8px}.drawer-head{padding:22px 20px 18px}.drawer-body{padding:20px}.drawer-head h2{font-size:21px}.mapping{grid-template-columns:1fr}.form-grid{gap:10px}.table-controls input{width:85px}.product-name{max-width:240px}.pagination{padding:14px 17px;font-size:9px}.saved-row{align-items:flex-start;flex-wrap:wrap}}

/* Grupos da Curva ABC e ciclo financeiro da operação. */
.group-report-panel{margin:19px 0 22px}.group-report-table th,.group-report-table td{padding:11px 12px}.group-report-table tr:hover td{background:#f8fbff}.group-report-selected td{background:#eff6ff}.group-report-table .group-badge{display:inline-flex;border-radius:7px;padding:6px 9px;white-space:nowrap;font-weight:650;background:#dbeafe;color:#1e40af}.group-report-table tr:nth-child(3n+2) .group-badge{background:#d1fae5;color:#065f46}.group-report-table tr:nth-child(3n+3) .group-badge{background:#ede9fe;color:#6d28d9}.group-report-table .group-badge.group-review{background:#fef3c7;color:#92400e}.group-report-table .text-button{white-space:nowrap}.group-cell{min-width:170px}.group-cell select{font-size:10px;max-width:205px;width:100%;padding:8px 26px 8px 9px;border-color:#a5b4fc;color:#4338ca;background:#f8faff}.group-cell small{display:block;font-size:9px;margin-top:6px;color:#687e96}.reorder-cost{display:block;font-size:9px;color:#687e96;margin-top:4px}
.cycle-panel{margin:0 0 23px;border-color:#c4b5fd;background:linear-gradient(105deg,#fff,#faf8ff)}.cycle-panel .panel-heading{background:linear-gradient(105deg,#f5f3ff,#eff6ff);padding-bottom:18px}.cycle-panel .pill{background:#ede9fe;border-color:#c4b5fd;color:#6d28d9}.cycle-form{padding:16px 23px 19px}.cycle-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;align-items:stretch}.cycle-fields label{margin:0;min-width:0;color:#405875;font-weight:600}.cycle-fields label input{display:block;width:100%;margin-top:8px;font-size:14px;font-weight:650;color:#304963}.cycle-fields label small{display:block;margin-top:8px;font-size:9px;line-height:1.5;font-weight:400;color:#61758d}.cycle-output{display:flex;flex-direction:column;justify-content:center;gap:6px;min-width:0;padding:13px 14px;border-radius:10px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}.cycle-output.cycle-good{background:#ecfdf5;border-color:#a7f3d0;color:#047857}.cycle-output span{font-size:9px;font-weight:650;letter-spacing:.2px}.cycle-output strong{font-size:24px;line-height:1.25}.cycle-output small{font-size:9px;line-height:1.5}.cycle-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:15px}.cycle-actions p{font-size:10px;color:#62758c;line-height:1.5;max-width:620px}.cycle-actions .button{flex-shrink:0}
@media(max-width:1100px){.cycle-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.cycle-panel .panel-heading{flex-wrap:wrap}.cycle-form{padding:16px}.cycle-fields{grid-template-columns:1fr}.cycle-actions{align-items:stretch;flex-direction:column;gap:12px}.group-report-table{min-width:860px}.group-cell{min-width:150px}}
/* Controle de desossa e giro do açougue */
#page-acougue{font-size:1rem}.butcher-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.butcher-cards>div{border:1px solid #dbe5f0;background:linear-gradient(130deg,#fff,#eef7fb);border-radius:12px;padding:18px;display:flex;flex-direction:column;gap:9px}.butcher-cards>div:nth-child(2){background:linear-gradient(130deg,#fff,#fff1e8)}.butcher-cards>div:nth-child(4){background:linear-gradient(130deg,#fff,#effcf4)}.butcher-cards span{font-size:14px;color:#4c6076}.butcher-cards strong{font-size:25px;color:#153c59}.butcher-cards small{font-size:13px;color:#62768a;line-height:1.4}.butcher-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;align-items:start}.butcher-form{padding-bottom:18px}.butcher-form .table-header h2,.butcher-report .table-header h2{font-size:17px}.butcher-form .table-header p,.butcher-report .table-header p{font-size:14px}.butcher-form form{padding:0 18px}.butcher-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.butcher-form label{font-size:14px;color:#34516b}.butcher-form label input,.butcher-form label select{font-size:16px;margin-top:6px}.butcher-form .button{margin-top:12px;font-size:14px}.butcher-hint{font-size:13px;line-height:1.5;color:#5f748b;margin:8px 0}.butcher-error{color:#a32839;font-size:14px;margin-top:9px}.butcher-report{margin-top:20px}.butcher-report th{font-size:12px}.butcher-report td{font-size:14px;line-height:1.5}.butcher-report .text-button{font-size:14px;color:#a32839}@media(max-width:1200px){.butcher-grid{grid-template-columns:1fr 1fr}.butcher-cards{grid-template-columns:1fr 1fr}}@media(max-width:700px){.butcher-grid,.butcher-cards{grid-template-columns:1fr}.butcher-fields{grid-template-columns:1fr 1fr}#nav-acougue{min-width:0}}
.butcher-count-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.butcher-form textarea{width:100%;border:1px solid #cddcec;border-radius:7px;padding:10px;font:16px Leve,Arial,sans-serif}.butcher-upload{border-top:1px solid #dbe5f0;margin:20px 18px 0;padding-top:14px}.butcher-upload p{font-size:13px;line-height:1.5;color:#60768c}.butcher-upload input{max-width:100%;font-size:14px}.butcher-reconcile{padding:8px 20px 18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.butcher-reconcile>div{border-radius:8px;padding:13px;background:#f2f7fa;color:#526981;font-size:14px}.butcher-reconcile strong{display:block;margin-top:8px;font-size:20px;color:#173f59}.butcher-reconcile .attention{background:#fff0df}.butcher-reconcile .attention strong{color:#9a4316}.butcher-note{padding:0 20px 18px}@media(max-width:700px){.butcher-reconcile{grid-template-columns:1fr 1fr}.butcher-count-fields{grid-template-columns:1fr 1fr}}
/* Livro financeiro */
.financial-toolbar,.financial-actions,.financial-tabs,.financial-filters,.financial-card-head,.row-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.financial-toolbar{justify-content:space-between;margin-bottom:18px}.financial-tabs{background:#e9f2f1;border-radius:11px;padding:4px}.financial-tab{border:0;background:transparent;border-radius:8px;padding:10px 13px;color:#315765;cursor:pointer;font:inherit}.financial-tab.active{background:#fff;color:#123f32;box-shadow:0 1px 5px #122e241f;font-weight:700}.financial-actions .button{white-space:nowrap}.financial-filters{margin:10px 0 17px;align-items:end}.financial-filters label,.financial-form-grid label,.financial-dialog form>label{display:flex;flex-direction:column;gap:5px;font-size:14px;font-weight:600;color:#23404b}.financial-filters input,.financial-filters select,.financial-dialog input,.financial-dialog select{border:1px solid #c6d9df;border-radius:8px;padding:9px 10px;background:#fff;color:#142f3d;font:inherit;min-height:42px}.financial-filters #f-query{min-width:210px}.financial-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:16px;margin:15px 0}.financial-three{grid-template-columns:repeat(3,1fr)}.financial-card{background:#fff;border:1px solid #cde0e5;border-radius:14px;padding:19px;margin:14px 0;min-width:0}.financial-card h3{font-size:18px;margin:0 0 17px;color:#153444}.financial-card-head{justify-content:space-between}.financial-card-head h3{margin:0}.financial-card-head span{color:#526c78}.financial-scroll{overflow:auto;max-width:100%}.financial-table{border-collapse:collapse;width:100%;font-size:14px}.financial-table th,.financial-table td{padding:12px;border-bottom:1px solid #dce9ed;text-align:right;white-space:nowrap}.financial-table th:first-child,.financial-table td:nth-child(3){text-align:left}.financial-table thead{background:#edf6f8;color:#153444}.financial-table tbody tr:hover{background:#f4fbfc}.financial-report th:first-child{min-width:300px}.report-group{background:#e8f2fa;font-weight:700}.report-total{background:#e9f5f2;font-weight:700}.value-link,.row-actions button{border:0;background:none;color:#075872;cursor:pointer;text-decoration:underline;font:inherit;padding:2px}.row-actions{flex-wrap:nowrap;gap:8px}.row-actions button{white-space:nowrap;font-size:13px}.account-line{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dce9ed;padding:15px 0;gap:10px}.account-line small,.financial-muted{color:#667d88}.financial-hint{font-size:14px;color:#516b77;line-height:1.5}.finance-status{border-radius:6px;padding:4px 8px;font-size:12px;font-weight:700;background:#e7f1f6}.finance-status.realizado{background:#d9f8e7;color:#086649}.finance-status.atrasado{background:#ffe3df;color:#9e2828}.financial-graph{display:flex;align-items:end;gap:4px;overflow:auto;min-height:155px;border-bottom:1px solid #d4e3e8}.graph-day{flex:1;min-width:17px;text-align:center}.graph-bars{height:112px;display:flex;align-items:end;justify-content:center;gap:2px}.graph-bars span{width:42%;max-width:15px;display:block;border-radius:3px 3px 0 0}.graph-day small{font-size:11px;color:#557}.financial-dialog{width:min(620px,95vw);max-height:90vh;border:1px solid #cce1e6;border-radius:16px;padding:0}.financial-dialog .drawer-body{max-height:75vh;overflow:auto;padding:22px}.financial-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.financial-wide{grid-column:1/-1}.financial-dialog label:has(input[type=checkbox]){flex-direction:row;align-items:center}.financial-dialog .button-row{margin-top:20px}@media(max-width:900px){.financial-grid,.financial-three{grid-template-columns:1fr}.financial-tabs{overflow:auto;max-width:100%}.financial-tab{white-space:nowrap}.financial-form-grid{grid-template-columns:1fr}}
/* Formulário financeiro com troca de tipo na parte superior */
.financial-dialog{width:min(490px,96vw);border-radius:13px;overflow:hidden}.financial-dialog .drawer-head{border-bottom:1px solid #e2edf4;padding:17px 21px}.financial-dialog .drawer-body{padding:0;max-height:calc(90vh - 75px)}.financial-entry-form{padding:0 18px 16px}.entry-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:sticky;top:0;background:#fff;z-index:2;margin:0 -18px 17px;padding:10px 14px 0;border-bottom:1px solid #d9e9ef}.entry-tab{background:transparent;border:0;border-bottom:3px solid transparent;padding:12px 2px;color:#133b54;font:inherit;font-size:13px;cursor:pointer;white-space:nowrap}.entry-tab.selected{font-weight:700;color:#087b5e;border-bottom-color:#087b5e}.entry-tab.selected.out{color:#bc3333;border-bottom-color:#bc3333}.entry-tab.selected.transfer{color:#3b6ee2;border-bottom-color:#3b6ee2}.entry-tab.selected.ghost{color:#182f4a;border-bottom-color:#182f4a}.financial-entry-form .entry-main-label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600;margin:16px 0}.financial-entry-form select,.financial-entry-form input{width:100%}.financial-entry-form .entry-amount-card{padding:15px;border:1px solid #c4e1ec;border-radius:14px;box-shadow:0 2px 3px #172e4910;margin:13px 0}.entry-checkbox{display:flex;align-items:center;flex-direction:row!important;gap:8px;margin-top:14px;font-weight:500}.entry-checkbox input{width:auto!important;min-height:0}.entry-mode{display:flex;border:1px solid #c5e1eb;border-radius:10px;overflow:hidden;background:#effaff;margin:15px 0}.entry-mode button{width:33.33%;background:transparent;border:0;border-right:1px solid #c5e1eb;padding:11px 4px;color:#15384e;cursor:pointer}.entry-mode button:last-child{border-right:0}.entry-mode button.selected{background:#d8f4fa;font-weight:700}.entry-repeat{margin:10px 0}.entry-ghost-categories{border-top:1px solid #edf2f6;margin-top:14px}.entry-ghost-categories h3{text-transform:uppercase;font-size:13px;margin:15px 0}.entry-footer{display:flex;justify-content:flex-end;gap:8px;background:#fff;border-top:1px solid #d8e9ed;margin:20px -18px -16px;padding:13px 18px;position:sticky;bottom:0}.entry-footer .primary{min-width:155px}.financial-entry-form [hidden],.financial-entry-form .ghost-hidden{display:none!important}.finance-status.fantasma{color:#314d79;background:#e8eefd}@media(max-width:520px){.entry-tab{font-size:12px}.financial-entry-form .financial-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.financial-entry-form .entry-amount-card input{min-width:0}}
.entry-multi-toggle{display:flex!important;flex-direction:row!important;align-items:center;justify-content:space-between;border:1px solid #deecf3;border-radius:12px;padding:11px 13px;margin:0 0 18px;color:#15384e;font-size:14px;font-weight:600;cursor:pointer}.entry-multi-toggle input{appearance:none;width:37px!important;height:22px;min-height:22px!important;border:0;border-radius:22px;background:#c5e6f0;position:relative;cursor:pointer;transition:background .2s}.entry-multi-toggle input:before{content:'';position:absolute;width:16px;height:16px;top:3px;left:3px;background:white;border-radius:50%;box-shadow:0 1px 3px #3346;transition:transform .2s}.entry-multi-toggle input:checked{background:#087b5e}.entry-multi-toggle input:checked:before{transform:translateX(15px)}.entry-multi-toggle input:focus-visible{outline:2px solid #126793;outline-offset:3px}.entry-batch{border:1px solid #c7dfe6;border-radius:11px;padding:13px;margin:20px 0 4px;background:#f6fbfd}.entry-batch>strong{color:#13394f}.entry-draft{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 0;border-top:1px solid #dce9ed;font-size:13px}.entry-draft button{border:0;background:transparent;color:#b32929;font-size:20px;cursor:pointer}
.entry-pin-row{display:flex;align-items:center;gap:5px;min-width:0}.financial-entry-form .entry-pin-row input,.financial-entry-form .entry-pin-row select{flex:1;min-width:0;width:auto}.entry-pin{flex:0 0 35px;width:35px;min-height:38px;border:1px solid #d8ebf1;border-radius:8px;background:#f0faff;color:#2a769b;font-size:16px;cursor:pointer}.entry-pin.selected{background:#c8f0fa;border-color:#7bcbe1}.entry-pin:not(.selected){filter:grayscale(1);opacity:.65}.financial-entry-form .entry-pin[hidden]{display:none}
.entry-account-button{flex:1;min-width:0;min-height:42px;border:1px solid #acd2e5;border-radius:8px;background:white;text-align:left;padding:9px 11px;color:#15384e;font:inherit;cursor:pointer;display:flex;justify-content:space-between;align-items:center}.entry-account-button:hover,.entry-account-button:focus-visible{border-color:#337b9d;outline:2px solid #d7eef7}.entry-account-button span{color:#167caa;background:#e8f8fd;padding:2px 6px;border-radius:5px}.financial-dialog.account-picker-open{width:min(940px,98vw)}.financial-dialog.account-picker-open>.drawer-head,.financial-dialog.account-picker-open>.drawer-body{width:50%}.financial-dialog.account-picker-open>.drawer-body{height:calc(90vh - 75px)}.account-picker{position:absolute;inset:0 0 0 auto;width:50%;background:white;border-left:1px solid #cee3ed;overflow-y:auto;z-index:5;box-shadow:-4px 0 12px #1c385015}.account-picker-head{display:flex;justify-content:space-between;align-items:center;padding:17px 18px;background:#eef9ff;color:#173c50;border-bottom:1px solid #d7e9ef}.account-picker-head button{background:transparent;border:0;font-size:24px;cursor:pointer}.account-picker-search{padding:12px;border-bottom:1px solid #deecf1}.account-picker-search input{width:100%;border:1px solid #b5dbe8;border-radius:9px;background:#f0fbff;padding:11px;font:inherit}.account-picker-item{display:flex;align-items:center;gap:10px;width:100%;padding:14px;border:0;border-bottom:1px solid #ebf2f6;background:white;text-align:left;color:#163b4c;cursor:pointer;font:inherit}.account-picker-item:hover,.account-picker-item:focus-visible{background:#edfaff}.account-picker-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:7px;background:#087957;color:white;font-weight:bold}.account-picker-name{flex:1;font-weight:600}.account-picker-item strong{color:#076944;font-size:13px;white-space:nowrap}.account-picker-new{display:block;width:calc(100% - 24px);margin:14px 12px;border:1px dashed #acd4e7;border-radius:8px;background:#effaff;padding:12px;text-align:left;color:#153d54;font:inherit;cursor:pointer}.account-picker #account-picker-create{padding:0 14px 14px}.account-picker #account-picker-create[hidden]{display:none}.account-picker #account-picker-create form{display:grid;gap:10px}.account-picker #account-picker-create h3{font-size:16px;margin:5px 0}.account-picker #account-picker-create label{display:grid;gap:5px;font-size:13px}.account-picker #account-picker-create input{width:100%;border:1px solid #bdd9e7;border-radius:7px;padding:9px;font:inherit}@media(max-width:700px){.financial-dialog.account-picker-open>.drawer-head,.financial-dialog.account-picker-open>.drawer-body{width:100%}.account-picker{width:100%;border-left:0}}
.entry-account-combo{display:flex;align-items:center;flex:1;min-width:0;border:1px solid #acd2e5;border-radius:8px;background:white;overflow:hidden}.entry-account-combo:focus-within{border-color:#337b9d;outline:2px solid #d7eef7}.financial-entry-form .entry-account-combo input[type=search]{flex:1;min-width:0;width:100%;border:0;outline:0;box-shadow:none;background:transparent}.entry-account-combo button{flex:0 0 36px;min-height:34px;margin-right:3px;border:0;border-radius:6px;background:#e8f8fd;color:#167caa;cursor:pointer;font:inherit}.entry-account-combo button:hover{background:#d0f2fc}
.entry-account-row{position:relative}.entry-account-options{position:absolute;top:calc(100% + 6px);left:0;width:calc(100% - 42px);max-height:245px;overflow:auto;background:#f9fdff;border:1px solid #c6e3ee;border-radius:9px;box-shadow:0 8px 18px #19374d24;z-index:8}.entry-account-options[hidden]{display:none}.entry-account-options button{display:flex;align-items:center;gap:10px;width:100%;padding:9px 12px;border:0;background:transparent;text-align:left;color:#15384e;font:inherit;font-size:14px;cursor:pointer}.entry-account-options button:hover,.entry-account-options button:focus-visible,.entry-account-options button:first-child{background:#65d1ed;color:#0b3246}.entry-account-options .account-picker-icon{width:23px;height:23px;font-size:12px}.entry-no-accounts{display:block;padding:12px;color:#607987;font-size:14px}.entry-account-row:has(.entry-pin[hidden]) .entry-account-options{width:100%}
.entry-category-row{position:relative}.entry-category-row .entry-account-options{width:calc(100% - 42px)}.entry-category-row:has(.entry-pin[hidden]) .entry-account-options{width:100%}.entry-category-row .entry-account-options button{display:block;line-height:1.35}.entry-category-row .entry-account-options button strong{display:inline-block;min-width:38px;font-size:12px;color:#175e85}.financial-dialog.category-picker-open{width:min(940px,98vw)}.financial-dialog.category-picker-open>.drawer-head,.financial-dialog.category-picker-open>.drawer-body{width:50%}.financial-dialog.category-picker-open>.drawer-body{height:calc(90vh - 75px)}@media(max-width:700px){.financial-dialog.category-picker-open>.drawer-head,.financial-dialog.category-picker-open>.drawer-body{width:100%}}
.category-levels{display:flex;gap:7px;padding:10px 12px;border-bottom:1px solid #deedf5}.category-levels button{flex:1;border:1px solid #cbe3ef;border-radius:20px;background:#effaff;color:#22465d;padding:7px 3px;cursor:pointer;font:inherit;font-size:12px}.category-levels button.selected{background:#d4ebf5;border-color:#98cbe0;font-weight:700}.category-tree{padding:5px 7px 16px}.category-tree-row{display:flex;align-items:center;gap:8px;width:100%;min-height:41px;text-align:left;background:transparent;border:0;border-radius:7px;padding:6px 9px;color:#173a51;cursor:pointer;font:inherit;font-size:14px}.category-tree-row:hover:not(:disabled),.category-tree-row:focus-visible:not(:disabled){background:#e6f5fb}.category-tree-row.group{font-weight:650}.category-tree-row.depth-2{padding-left:25px}.category-tree-row.depth-3{padding-left:48px;font-weight:400}.category-tree-row small{font-size:11px;white-space:nowrap;color:#35647c}.category-tree-row span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-tree-row .category-tree-arrow{width:14px;flex:0 0 14px;color:#3179a1}.category-tree-row:disabled{opacity:.5;cursor:not-allowed}

/* Menu principal e seletores do Livro Diário */
.sidebar{transition:width .18s ease}.main-shell{transition:margin-left .18s ease}.sidebar-brand-row{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:24px}.sidebar-brand-row .brand{font-size:15px;letter-spacing:0;line-height:1.2;min-width:0}.sidebar-brand-row .brand .sidebar-text{max-width:135px}.sidebar-brand-row #sidebar-toggle{border:0;background:#edf5f1;border-radius:7px;color:#174a36;padding:8px;cursor:pointer}.quick-entry{display:flex;gap:6px;margin-bottom:18px}.quick-entry-button{background:#12664c;color:white;border:0;border-radius:8px;flex:1;padding:10px 6px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px}.quick-entry-button:hover{background:#0e513c}.sidebar .nav{white-space:nowrap}.sidebar .nav svg{flex-shrink:0}.sidebar-collapsed .sidebar{width:70px;padding:20px 9px}.sidebar-collapsed .main-shell{margin-left:70px}.sidebar-collapsed .sidebar-text,.sidebar-collapsed .sidebar-note,.sidebar-collapsed .sidebar-bottom,.sidebar-collapsed .quick-entry-button[data-new-entry="out"]{display:none}.sidebar-collapsed .sidebar-brand-row{flex-direction:column}.sidebar-collapsed .sidebar-brand-row .brand{padding:0}.sidebar-collapsed .nav{justify-content:center;padding:14px 8px}.sidebar-collapsed .quick-entry{justify-content:center}.sidebar-collapsed .quick-entry-button{width:46px;flex:0 0 46px}.financial-dialog.method-picker-open,.financial-dialog.supplier-picker-open{width:min(940px,98vw)}.financial-dialog.method-picker-open>.drawer-head,.financial-dialog.method-picker-open>.drawer-body,.financial-dialog.supplier-picker-open>.drawer-head,.financial-dialog.supplier-picker-open>.drawer-body{width:50%}.financial-dialog.method-picker-open>.drawer-body,.financial-dialog.supplier-picker-open>.drawer-body{height:calc(90vh - 75px)}.entry-method-row,.entry-supplier-row{position:relative;display:flex;gap:6px;align-items:center}.entry-method-row>.entry-account-combo,.entry-supplier-row>.entry-account-combo{flex:1;min-width:0}.entry-method-row>.entry-account-options,.entry-supplier-row>.entry-account-options{position:absolute;z-index:7;top:100%;left:0;right:0}.entry-supplier-row>[data-clear],.money-clear-row>[data-clear],.entry-pin-row>[data-clear]{border:0;background:#edf8fc;color:#245068;border-radius:6px;padding:8px;cursor:pointer}.money-clear-row{display:flex;gap:4px}.money-clear-row input{min-width:0;flex:1}.entry-actual-fields{margin-top:10px}.entry-actual-fields label{font-size:13px}.entry-pin-row input{min-width:0}
@media(max-width:800px){.sidebar-collapsed .sidebar{width:60px}.sidebar-collapsed .main-shell{margin-left:60px}}

.quick-entry .quick-entry-button{width:100%;font-weight:700;justify-content:flex-start;padding-left:18px}.sidebar-collapsed .quick-entry .quick-entry-button{justify-content:center;padding-left:6px}.finance-dashboard{align-items:start}.finance-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.finance-card-top h3{margin:0}.finance-card-top label,.finance-custom-dates label{font-size:12px;display:flex;align-items:center;gap:7px;color:#486170}.finance-card-top select,.finance-card-top input,.finance-custom-dates input{border:1px solid #c6d9df;border-radius:7px;padding:8px;background:#fff;color:#142f3d;max-width:160px}.finance-custom-dates{display:flex;gap:10px;margin-bottom:12px;flex-wrap:wrap}.finance-balance-controls{display:flex;align-items:center;gap:4px}.finance-balance-controls button{background:#f1f8fa;border:1px solid #c6d9df;border-radius:8px;min-height:34px;cursor:pointer}.finance-balance-controls input{width:140px}.entry-actual-fields[hidden]{display:none!important}@media(max-width:850px){.finance-card-top{flex-wrap:wrap}.finance-dashboard{grid-template-columns:1fr}.finance-balance-controls input{width:130px}}
/* Painel financeiro: composição personalizável sem alterar lançamentos */
.finance-dashboard-header{display:flex;justify-content:flex-end;align-items:center;margin:0 0 14px}.finance-layout-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.finance-layout-actions button{border:1px solid #c8dce6;border-radius:8px;background:#fff;color:#163c50;padding:9px 12px;cursor:pointer}.finance-layout-actions button:disabled{opacity:.45;cursor:default}.finance-layout-actions .button.primary{background:#086c4e;color:#fff}.finance-dashboard-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-flow:row;gap:18px;align-items:stretch}.finance-dashboard-grid>.finance-panel-card{grid-column:span var(--card-width);height:var(--card-height);min-width:0;min-height:350px;display:flex;flex-direction:column;position:relative;padding:22px 24px;overflow:hidden}.finance-panel-card[data-card-id="payments"]{min-height:390px}.finance-panel-card[data-card-id="balances"]{min-height:380px}.finance-panel-card[data-card-id="forecast"]{min-height:350px}.finance-card-content{height:100%;min-height:0;display:flex;flex-direction:column;overflow:auto}.finance-card-top{flex:0 0 auto}.finance-card-top h3{font-size:19px}.finance-payment-filter{display:flex;justify-content:center;margin:8px 0 14px}.finance-payment-filter select{min-width:130px;border:1px solid #c6d9df;border-radius:8px;background:#fff;color:#142f3d;padding:8px}.finance-payment-table th,.finance-payment-table td{padding:11px 7px;white-space:nowrap}.finance-payment-table{font-size:13px}.finance-today-summary{margin-top:auto;padding-top:21px;display:grid;gap:13px}.finance-today-summary>div{display:flex;justify-content:space-between;gap:14px;align-items:center}.finance-today-summary strong{white-space:nowrap;font-size:16px}.finance-summary-note{margin:18px 0 0}.finance-account-list{flex:1;min-height:0;overflow:auto}.finance-account-list .account-line{padding:15px 3px;border-bottom:1px solid #d8eaf1}.finance-account-total{display:flex;justify-content:space-between;align-items:center;border:1px solid #d9e8ef;box-shadow:0 1px 5px #1d435014;border-radius:11px;padding:17px;margin-top:14px;font-weight:700}.finance-forecast-period{color:#527282}.finance-forecast-chart{flex:1;min-height:180px;margin-top:12px}.finance-forecast-chart svg{display:block;width:100%;height:100%;min-height:180px}.finance-forecast-legend{display:flex;justify-content:center;gap:15px;flex-wrap:wrap;font-size:12px;color:#234153}.finance-forecast-legend span{display:inline-flex;align-items:center;gap:5px}.finance-forecast-legend i{display:inline-block;width:11px;height:11px;background:#078363}.finance-forecast-legend .legend-out{background:#bf2025}.finance-forecast-legend .legend-balance{border-radius:50%;background:#123e5e}.finance-dashboard-grid.is-customizing>.finance-panel-card{padding-top:0;border:2px solid #55ccef}.finance-drag-handle{margin:0 -24px 15px;padding:7px 14px;background:#1f4968;color:white;cursor:grab;user-select:none;font-size:12px;font-weight:700}.finance-drag-handle:active{cursor:grabbing}.finance-resize-handle{position:absolute;bottom:0;right:0;background:#e8faff;border:1px solid #52c9ed;border-radius:5px 0 0 0;color:#124161;font-size:19px;cursor:nwse-resize;width:28px;height:28px;touch-action:none}.finance-dashboard-grid.is-customizing .finance-card-content{padding-bottom:20px}@media(max-width:1100px){.finance-dashboard-grid>.finance-panel-card[data-card-id="payments"]{grid-column:span 7}.finance-dashboard-grid>.finance-panel-card[data-card-id="balances"]{grid-column:span 5}}@media(max-width:850px){.finance-dashboard-grid>.finance-panel-card{grid-column:1 / -1!important;height:auto;min-height:var(--card-height)}.finance-dashboard-grid.is-customizing>.finance-panel-card{min-height:390px}.finance-payment-table{font-size:12px}}
/* Tabela de pagamentos em fundo uniforme e leitura ampliada */
.finance-payment-table{table-layout:fixed;font-size:15px;color:#17364a}.finance-payment-table thead,.finance-payment-table tbody tr,.finance-payment-table tbody tr:hover,.finance-payment-table th,.finance-payment-table td{background:#fff!important}.finance-payment-table th,.finance-payment-table td{padding:13px 6px;border-bottom:1px solid #d6e6ec;text-align:center!important;vertical-align:middle}.finance-payment-table th:first-child{width:22%;text-align:center!important}.finance-payment-table th:nth-child(2){width:26%}.finance-payment-table th:nth-child(3){width:26%}.finance-payment-table th:nth-child(4){width:26%}.finance-payment-table thead th{font-size:15px;font-weight:700;color:#153444}.finance-payment-table thead small{display:block;font-size:12px;font-weight:400;margin-top:2px}.finance-payment-table tbody th{font-size:15px;font-weight:700;color:#17364a}.finance-payment-table tbody tr:last-child th,.finance-payment-table tbody tr:last-child td{font-weight:700}.finance-payment-table .value-link{font-size:15px;font-weight:600;display:inline-block;color:#194b61}.finance-period-heading select{width:100%;max-width:160px;min-width:90px;border:1px solid #c6d9df;border-radius:8px;background:#fff;color:#17364a;padding:9px;font:inherit;text-align:center;cursor:pointer}.finance-overdue-heading,.finance-payment-table thead th:nth-child(3),.finance-payment-table tbody td:nth-child(3){text-align:center!important}.finance-custom-dates{margin:6px 0 10px}.finance-today-summary{font-size:15px}.finance-summary-note{font-size:13px}.finance-annual-scroll{overflow-x:auto;max-width:100%}.finance-annual-table{min-width:2900px}.finance-annual-table th:first-child{position:sticky;left:0;z-index:2;background:#fff;min-width:270px}.finance-annual-table thead th{white-space:nowrap}.finance-annual-table td,.finance-annual-table th{font-size:12px;min-width:100px}.finance-annual-table .annual-end{background:#e5f4f2}.finance-report-controls button{border:1px solid #c6d9df;border-radius:7px;padding:10px;cursor:pointer;background:#fff}.entry-infinite-choice{grid-column:1 / -1;display:flex!important;flex-direction:row!important;align-items:center;gap:7px}.entry-edit-scope{border:1px solid #c9dfe9;border-radius:9px;padding:12px;margin-top:12px;display:flex;flex-wrap:wrap;gap:12px}.entry-edit-scope legend{font-weight:700}.entry-edit-scope label{display:inline-flex;align-items:center;gap:5px}.entry-edit-scope small{width:100%;color:#576d78}@media(max-width:750px){.finance-payment-table{font-size:13px}.finance-payment-table tbody th,.finance-payment-table .value-link,.finance-payment-table thead th{font-size:13px}.finance-payment-table th,.finance-payment-table td{padding:10px 3px}.finance-period-heading select{font-size:13px}}

.financial-report .report-section{background:#dcebed;color:#123f32;font-weight:700}.financial-report .report-section th{padding:13px 12px;text-align:left}.financial-report .report-category th{font-weight:500;padding-left:25px}.financial-report .report-group th{font-weight:700}.financial-report .report-total th{font-weight:700}
.supplier-packs{display:grid;gap:10px;max-height:290px;overflow:auto;margin-bottom:12px}.supplier-pack-row{border:1px solid #dce5f1;border-radius:9px;padding:12px;background:#fff}.supplier-pack-name{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.supplier-pack-name strong{font-size:14px;color:#304963}.supplier-pack-name button{border:0;background:#edf1f7;border-radius:5px;min-width:30px;min-height:30px;cursor:pointer;font-size:20px}.supplier-pack-row label{font-size:14px;display:block}.supplier-pack-row input{width:100%;margin-top:5px}.supplier-pack-row small{display:block;font-size:13px;line-height:1.4;margin-top:8px;color:#52657a}

.product-name .product-origin-edit{display:block;margin-top:5px;text-align:left;font-size:12px}.butcher-linked-table td{vertical-align:top}

.finance-panel .page-heading{justify-content:flex-end;margin-bottom:12px}.finance-panel .page-heading>div:first-child{display:none}

.finance-panel .page-heading,.finance-panel .context-bar{display:none}.finance-panel .financial-toolbar.no-panel-title{justify-content:flex-end}.finance-panel-title{display:flex;align-items:center;gap:14px;min-width:0}.finance-panel-title-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#e2eaf2;color:#123653;flex:none}.finance-panel-title-icon svg{width:24px;height:24px}.finance-panel-title h1{font-size:30px;color:#123653;line-height:1.15}.finance-panel-title p{margin-top:8px;font-size:14px;color:#24445b}.finance-panel .financial-toolbar{gap:16px}@media(max-width:650px){.finance-panel .financial-toolbar.with-panel-title{align-items:flex-start}.finance-panel-title h1{font-size:25px}}
.finance-panel .financial-toolbar.with-panel-title{align-items:center;gap:12px}.finance-panel .with-panel-title .financial-actions{display:flex;flex-wrap:nowrap;gap:8px;margin-left:auto}.finance-panel .with-panel-title .financial-actions>.button,.finance-panel .finance-customize-button{height:34px;padding:6px 11px;border-radius:9px;font-size:12px;font-weight:650;box-shadow:0 2px 7px #132c3a12;white-space:nowrap}.finance-panel .with-panel-title .financial-actions>.button.secondary{background:#fff;border:1px solid #c9dce9;color:#123e5e}.finance-panel .with-panel-title .finance-customize-button{background:#08745a;color:#fff;border:1px solid #08745a}.finance-panel .with-panel-title .financial-actions button:hover{filter:brightness(.96);transform:translateY(-1px)}.finance-panel .with-panel-title .financial-actions button:focus-visible{outline:3px solid #6bc1db;outline-offset:2px}.finance-panel .with-panel-title .finance-layout-actions{gap:6px;flex-wrap:nowrap}.finance-drill-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 17px;margin:0 0 14px;border:1px solid #c9dfe8;border-radius:12px;background:#f5fcff;color:#123e5e}.finance-drill-summary strong{font-size:15px}.finance-drill-summary small{display:block;margin-top:4px;color:#526b79}.finance-drill-summary>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.finance-drill-summary .button{font-size:12px;padding:7px 10px}@media(max-width:950px){.finance-panel .financial-toolbar.with-panel-title{flex-wrap:wrap}.finance-panel .with-panel-title .financial-actions{margin-left:0;flex-wrap:wrap}}
/* Keep primary actions visible while the sidebar destinations scroll. */
.sidebar-brand-row,.quick-entry{flex-shrink:0}
.sidebar nav{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;align-content:start;padding-bottom:10px}
.sidebar-customize{border:0;background:none;display:flex;align-items:center;gap:11px;width:100%;padding:14px 13px;border-radius:9px;text-align:left;color:#245b46;font-size:12px;font-weight:650;white-space:nowrap;flex-shrink:0}
.sidebar-customize:hover{background:#eaf2e9}
.sidebar-customize svg{flex-shrink:0}
.sidebar-collapsed .sidebar-customize{justify-content:center;padding:14px 8px}
.sidebar-collapsed .sidebar-customize .sidebar-text{display:none}
@media(max-width:700px){.sidebar nav{flex:initial;min-height:0;overflow-x:auto;overflow-y:hidden}.sidebar-customize{width:auto;flex:0 0 auto;flex-direction:column;justify-content:center;gap:6px;padding:11px 7px;font-size:9px}.sidebar-collapsed .sidebar-customize{padding:11px 7px}}
@media(max-height:700px) and (min-width:701px){.sidebar-note{display:none}.sidebar-bottom{margin-top:auto}}
.sidebar-layout-controls{flex-shrink:0;border-top:1px solid #dcebe7;padding-top:9px}
.sidebar-layout-controls .sidebar-customize{width:100%}
.sidebar-layout-controls [hidden]{display:none!important}
.sidebar-layout-editing .sidebar-note,.sidebar-layout-editing .sidebar-bottom{display:none}
.sidebar-layout-editing .sidebar nav .nav{cursor:grab;border:1px dashed transparent}
.sidebar-layout-editing .sidebar nav .nav:active{cursor:grabbing}
.sidebar-layout-editing .sidebar nav .sidebar-selected{border-color:#047857;background:#d1fae5;color:#065f46}
.sidebar-layout-caption{font-size:12px;line-height:1.35;color:#49675e;margin:6px 0 10px}
.sidebar-layout-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.sidebar-layout-buttons button{border:1px solid #b8d9cf;border-radius:7px;background:#fff;color:#174a36;padding:8px 4px;font-size:12px}
.sidebar-layout-buttons .sidebar-layout-done{background:#12664c;color:white;grid-column:span 2}
.sidebar-layout-controls [role=status]:not(:empty){display:block;color:#b42318;margin-top:6px;font-size:12px}
.sidebar-collapsed .sidebar-layout-caption,.sidebar-collapsed .sidebar-layout-buttons button:not(.sidebar-layout-done){font-size:0}
.sidebar-collapsed .sidebar-layout-buttons button:nth-child(1)::after{content:'↑';font-size:15px}
.sidebar-collapsed .sidebar-layout-buttons button:nth-child(2)::after{content:'↓';font-size:15px}
.sidebar-collapsed .sidebar-layout-buttons button:nth-child(3)::after{content:'↶';font-size:15px}
.sidebar-collapsed .sidebar-layout-buttons button:nth-child(4)::after{content:'↷';font-size:15px}
.sidebar-collapsed .sidebar-layout-buttons button:nth-child(5)::after{content:'↺';font-size:15px}
@media(max-width:700px){.sidebar-layout-controls{margin:8px 0}.sidebar-layout-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar-layout-buttons .sidebar-layout-done{grid-column:span 3}}
/* Dark, continuous sidebar across every page. */
.sidebar{background:#10324f;border-color:#10324f;color:#eaf5fc}
.sidebar-brand-row{justify-content:flex-start}
.sidebar-brand-row #sidebar-toggle{display:flex;align-items:center;gap:11px;width:100%;padding:0;border:0;background:transparent;color:#f3f9ff;text-align:left;font-weight:750}
.sidebar-brand-row #sidebar-toggle:hover{background:#1b4668}
.sidebar-brand-row .brand .sidebar-text{max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidebar .mark{display:block;background:#20769c;box-shadow:none}
.sidebar .mark>span{color:#a5e7ff}
.sidebar .nav{color:#d9eaf5;font-size:13px}
.sidebar .nav:hover,.sidebar .sidebar-customize:hover{background:#1c486a;color:#fff}
.sidebar .nav.active{background:#205477;color:#fff}
.sidebar .nav[data-page].active{background:#205477;color:#fff}
.sidebar .nav[data-page] svg,.sidebar .sidebar-customize svg{color:#b5e4fb}
.sidebar .quick-entry-button{background:#09263e;color:#e8f8ff}
.sidebar .quick-entry-button:hover{background:#205477}
.sidebar .sidebar-layout-controls,.sidebar .sidebar-bottom{border-color:#37607b}
.sidebar .sidebar-customize,.sidebar .sidebar-bottom{color:#d9eaf5}
.sidebar .sidebar-bottom small{color:#afc9d8}
.sidebar .sidebar-note{background:#194662;color:#edf8ff;box-shadow:none}
.sidebar .sidebar-note p,.sidebar .sidebar-note>span,.sidebar .sidebar-note b{color:#d8edf8}
.sidebar .sidebar-layout-caption{color:#cfdfed}
.sidebar .sidebar-layout-buttons button{background:#1b4668;border-color:#4b718a;color:#fff}
.sidebar .sidebar-layout-buttons .sidebar-layout-done{background:#0f766e}
.sidebar-layout-editing .sidebar nav .sidebar-selected{background:#205477;color:#fff;border-color:#72d7ff}
.sidebar-collapsed .sidebar-brand-row{flex-direction:row;justify-content:center}
.sidebar-collapsed .sidebar-brand-row #sidebar-toggle{justify-content:center;width:100%;padding:0}
.sidebar-collapsed .sidebar-brand-row .mark{margin:0}
@media(max-width:700px){.sidebar{border-bottom-color:#37607b}.sidebar-collapsed .sidebar{background:#10324f}}
.financial-entry-form .entry-amount-card .entry-realized-toggle{margin:15px 0 0;border-color:#c4e1ec;box-shadow:none}
.financial-entry-form .entry-infinite-choice{grid-column:1/-1;margin:0;border-color:#c4e1ec}
.financial-entry-form .entry-checkbox.entry-multi-toggle input[type=checkbox],.financial-entry-form .entry-infinite-choice.entry-multi-toggle input[type=checkbox]{width:37px!important;min-width:37px;min-height:22px!important;height:22px}
.sidebar .mark{position:relative;overflow:hidden;padding:0;line-height:42px;text-align:center}
.sidebar .brand-fallback{display:block;position:static;font-size:32px;font-weight:750;line-height:42px}
.sidebar .brand-fallback>span{font-size:16px;color:#a5e7ff;position:absolute;top:-7px;right:6px}
.sidebar .brand-fallback[hidden],.sidebar #brand-logo[hidden],.sidebar #brand-tagline[hidden]{display:none!important}
.sidebar #brand-logo{display:block;position:absolute;max-width:none}
.sidebar #brand-logo:not(.reference){inset:0;width:100%;height:100%;object-fit:contain}
.sidebar #brand-logo.reference{width:155px;height:auto;left:-15px;top:50%;transform:translateY(-50%);mix-blend-mode:screen}
.sidebar .brand-copy{display:flex;flex-direction:column;gap:3px;min-width:0;line-height:1.2}
.sidebar .brand-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.sidebar .brand-copy small{font-size:10px;font-weight:450;color:#b9d1df;white-space:normal}
.sidebar-collapsed .brand-copy{display:none}
.sidebar #branding-open{width:100%}
.sidebar-collapsed #branding-open{justify-content:center;padding:14px 8px}
.sidebar-collapsed #branding-open .sidebar-text{display:none}
.sidebar [data-icon="abcBoxes"] svg text{stroke:none;fill:currentColor;font-size:6px;font-weight:800;font-family:Arial,sans-serif}
#identity-dialog{width:min(520px,94vw);border:1px solid #cfe2e9;border-radius:14px;padding:0}
#identity-dialog .drawer-body{padding:20px;max-height:75vh;overflow:auto}
#identity-form{display:grid;gap:13px}
#identity-form label:not(.checkbox-line){display:grid;gap:6px;font-weight:600}
#identity-form input:not([type=checkbox]),#identity-form select{width:100%;padding:10px;border:1px solid #bed6e2;border-radius:8px}
#identity-form #identity-custom-wrap[hidden]{display:none}
.identity-preview{height:90px;position:relative;display:flex;align-items:center;justify-content:center;background:#10324f;border-radius:9px;overflow:hidden;color:white;font-size:13px}
.identity-preview img{max-width:100%;max-height:100%;object-fit:contain}
.identity-preview img.reference{position:absolute;height:350px;width:auto;max-width:none;max-height:none;top:50%;left:50%;transform:translate(-50%,-50%);mix-blend-mode:screen}
.identity-preview [hidden]{display:none!important}
.finance-simulator-heading{margin:10px 0 20px;color:#10324f}
.finance-simulator-heading h1{font-size:27px;margin:0 0 6px}
.finance-simulator-heading p{font-size:14px;color:#557087}

.sidebar .brand-copy[hidden]{display:none!important}
body:not(.sidebar-collapsed) .sidebar.brand-logo-only .mark{width:100%;height:64px;flex:1;background:transparent}
body:not(.sidebar-collapsed) .sidebar.brand-logo-only #brand-logo.reference{width:100%;left:0;top:50%;transform:translateY(-50%)}
body:not(.sidebar-collapsed) .sidebar.brand-logo-only #brand-logo:not(.reference){width:100%;height:100%;object-fit:contain}
.sidebar-collapsed .sidebar.brand-logo-only .mark{width:42px;height:42px;flex:0 0 42px}
.sidebar-collapsed .sidebar.brand-logo-only #brand-logo.reference{width:155px;left:-15px;top:50%;transform:translateY(-50%)}
#identity-form .identity-switch{margin:0;font-weight:600}
.forecast-account-filter{display:flex;align-items:center;gap:8px;align-self:flex-end;margin:-24px 0 5px;font-size:12px;color:#476576}.forecast-account-filter select{padding:7px 10px}.forecast-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:8px 0}.forecast-metrics>div{border:1px solid #d6e7ed;border-radius:9px;padding:9px 11px;background:#f9fcfd}.forecast-metrics span{display:block;color:#607b88;font-size:10px}.forecast-metrics strong{display:block;color:#123e5e;font-size:14px;margin-top:4px}.forecast-metrics .danger{border-color:#f2b8ba;background:#fff5f5}.finance-forecast-chart{position:relative}.forecast-bar-in{fill:#078363}.forecast-bar-out{fill:#bf2025}.forecast-bar-in.forecast-today,.forecast-bar-out.forecast-today{stroke:#f4b942;stroke-width:3}.forecast-negative{fill:#fff1f1!important;stroke:#bf2025!important}.forecast-hover-zones{position:absolute;inset:0 2.4% 0 5%;display:grid;grid-template-columns:repeat(var(--forecast-days),1fr);z-index:3}.forecast-hover-zones>button{position:relative;border:0;background:transparent;padding:0;cursor:pointer}.forecast-hover-zones>button:hover{background:#0c6e9210;border-left:1px solid #62a9c0;border-right:1px solid #62a9c0}.forecast-tooltip{display:none;position:absolute;z-index:10;left:50%;top:46%;transform:translate(-50%,-50%);width:205px;padding:12px;border:1px solid #bdd8e2;border-radius:9px;background:#fff;box-shadow:0 12px 30px #123e5e2b;text-align:left;color:#173c50;pointer-events:none}.forecast-hover-zones>button:hover .forecast-tooltip,.forecast-hover-zones>button:focus-visible .forecast-tooltip{display:grid;gap:7px}.forecast-tooltip>span{display:flex;justify-content:space-between;gap:12px}.forecast-tooltip small{border-top:1px solid #e1edf1;padding-top:7px;color:#66818d}.forecast-alert{margin:8px 0 0;padding:9px 12px;border-radius:8px;background:#fff0f0;color:#a5161b;font-weight:650;font-size:12px}@media(max-width:720px){.forecast-account-filter{align-self:stretch;margin:6px 0}.forecast-account-filter select{flex:1}.forecast-metrics{grid-template-columns:1fr}.forecast-tooltip{width:175px}}
.ledger-th-label{display:flex;align-items:center;gap:5px;position:relative}.ledger-th-label>button{border:0;background:transparent;color:#78909b;padding:2px;font-size:13px}.ledger-th-label>button.active{color:#0a5175;background:#dff2f8;border-radius:50%}.financial-ledger th{position:relative}.ledger-column-filter{display:none;position:absolute;z-index:25;left:8px;top:42px;width:310px;padding:14px;background:#fff;border:1px solid #bfdbe5;border-radius:10px;box-shadow:0 16px 38px #123e5e35;text-align:left;white-space:normal}.ledger-column-filter.open{display:grid;gap:9px}.ledger-column-filter>strong{font-size:13px;color:#153444}.ledger-column-filter input:not([type=checkbox]),.ledger-column-filter select{width:100%;font-size:13px}.ledger-column-filter label{display:flex;align-items:center;gap:8px;margin:0;padding:4px 0;color:#294f63;font-size:12px}.ledger-column-filter label input{margin:0}.ledger-column-filter>div:last-child,.column-sort{display:flex;gap:8px;justify-content:flex-end}.ledger-column-filter button{border:1px solid #bfd6df;background:#eef8fb;color:#153f58;border-radius:7px;padding:8px 11px}.ledger-column-filter .filter-ok{background:#123f5a;color:#fff}.ledger-expanded-title{display:flex;align-items:center;gap:13px;margin-bottom:14px;color:#0d3048;font-size:20px}.ledger-expanded-title button{border:0;background:transparent;font-size:22px;color:#123f5a}.ledger-expanded .sidebar{width:64px;padding-left:8px;padding-right:8px}.ledger-expanded .sidebar .brand-copy,.ledger-expanded .sidebar .sidebar-text,.ledger-expanded .sidebar .nav-label,.ledger-expanded .sidebar-note,.ledger-expanded .sidebar-bottom small,.ledger-expanded .workspace>div,.ledger-expanded .workspace .green-dot{display:none!important}.ledger-expanded .sidebar .nav{justify-content:center}.ledger-expanded .main-shell{margin-left:64px}.ledger-expanded .topbar{display:none}.ledger-expanded main{max-width:none;padding:20px 24px 8px}.ledger-expanded .ledger-card{height:calc(100vh - 70px);display:flex;flex-direction:column}.ledger-expanded .ledger-card .financial-scroll{flex:1;overflow:auto}.ledger-expanded .ledger-selection-bar{left:50%}.button.danger{background:#c91f24;border-color:#c91f24;color:#fff}.delete-flow{padding:0 22px}.delete-steps{position:absolute;right:58px;top:27px;display:flex;align-items:center}.delete-steps span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#eef7fa;color:#123f5a;font-weight:800}.delete-steps span.active{background:#c51f24;color:#fff}.delete-steps i{width:22px;height:1px;background:#c5dce4}.delete-review-list{display:grid;gap:8px;max-height:330px;overflow:auto;margin:18px 0}.delete-review-list label{display:grid;grid-template-columns:20px 1fr auto;align-items:center;gap:10px;border:1px solid #ef4a4f;border-left:4px solid #c51f24;border-radius:8px;padding:11px 13px;margin:0;color:#153444}.delete-review-list input{accent-color:#c51f24}.delete-review-list span strong,.delete-review-list span small,.delete-review-list>b small{display:block}.delete-review-list span small{margin-top:4px}.delete-review-list>b{text-align:right;color:#c51f24}.delete-review-list>b small{font-size:8px;color:#153444;margin-top:3px}.delete-warning{text-align:center;border:1px solid #c4dce5;border-radius:10px;padding:18px;margin:10px 0 22px;line-height:1.45}.delete-warning p{max-width:440px;margin:6px auto 14px}.delete-warning>b,.delete-warning>strong{display:block}.delete-impact-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #c4dce5;border-radius:8px;padding:11px;margin:7px 0}.delete-impact-row>span{display:flex;align-items:center;gap:9px}.delete-impact-row em{font-style:normal;border-radius:6px;padding:6px;background:#b8f0d9}.delete-no-impact{border:1px dashed #c4dce5;border-radius:9px;padding:25px;text-align:center;margin:20px 0}.positive{color:#087b59!important}.delete-flow .entry-footer{margin:20px -22px 0;padding:14px 22px 0;border-top:1px solid #dce8ec}@media(max-width:720px){.ledger-column-filter{position:fixed;left:12px;right:12px;top:18%;width:auto}.ledger-expanded .main-shell{margin-left:0}.ledger-expanded .sidebar{display:none}.delete-impact-row{align-items:flex-start;flex-direction:column}}
.financial-ledger .ledger-select-cell{width:46px;min-width:46px;text-align:center;padding:10px 8px}.financial-ledger .ledger-select-cell input{width:17px;height:17px;accent-color:#123f64;cursor:pointer}.financial-ledger tbody tr.ledger-row-selected,.financial-ledger tbody tr.ledger-row-selected:hover{background:#64cee9}.ledger-selection-bar{position:fixed;bottom:26px;left:calc(50% + 80px);transform:translateX(-50%);z-index:60;display:flex;align-items:center;justify-content:center;gap:10px;max-width:calc(100vw - 24px);padding:10px 14px;border-radius:28px;background:#203045;color:#fff;box-shadow:0 12px 35px #152c4350;white-space:nowrap;overflow-x:auto}.ledger-selection-bar strong{font-size:14px;padding:0 12px 0 2px;border-right:1px solid #647181}.ledger-selection-bar button{border:0;background:transparent;color:inherit;font:inherit;font-size:13px;cursor:pointer;padding:7px 9px;border-radius:7px;white-space:nowrap}.ledger-selection-bar button:hover,.ledger-selection-bar button:focus-visible{background:#43566c}.ledger-selection-bar .ledger-selection-delete{color:#ff8b85}.sidebar-collapsed .ledger-selection-bar{left:50%}@media(max-width:700px){.ledger-selection-bar{left:50%;bottom:12px;justify-content:flex-start}}
/* Livro Diário: atalhos de conta, edição contextual e tabela operacional */
.ledger-account-shortcuts{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 13px}.ledger-account-chip{margin:0;display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #d9e3dc;border-radius:9px;background:#fff;color:#587066;font-size:11px;cursor:pointer}.ledger-account-chip input{position:absolute;opacity:0;pointer-events:none}.ledger-account-chip.selected{border-color:#17694f;background:#e8f3ee;color:#174f3e;box-shadow:0 0 0 1px #17694f inset}.ledger-account-mark{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#123f5a;color:#fff;font-size:8px;font-weight:800;letter-spacing:-.2px}.ledger-account-mark.cash{background:#17694f;font-size:13px}.ledger-head{align-items:center}.ledger-head>div:first-child span{display:block;margin-top:5px;color:#8a9a91;font-size:10px}.ledger-tools{display:flex;align-items:center;gap:8px}.ledger-tools details{position:relative}.ledger-tools summary{list-style:none;border:1px solid #d9e1d5;border-radius:8px;padding:8px 11px;background:#fff;color:#506748;font-size:10px;cursor:pointer}.ledger-columns{position:absolute;right:0;top:38px;z-index:8;width:190px;padding:10px;background:#fff;border:1px solid #dbe4dd;border-radius:10px;box-shadow:0 12px 32px #1b3f3022}.ledger-columns label{display:flex;align-items:center;gap:8px;padding:7px;margin:0;font-size:10px}.financial-ledger tbody tr[data-ledger-row]{cursor:pointer}.financial-ledger tbody tr[data-ledger-row]:hover{background:#f4f8f5}.financial-ledger .ledger-hover-action button{opacity:0;border:0;background:none;color:#17694f;font-size:10px;font-weight:650}.financial-ledger tr:hover .ledger-hover-action button,.financial-ledger tr:focus .ledger-hover-action button{opacity:1}.financial-ledger tfoot th{font-size:10px;color:#405b4f;background:#f2f7f4}.account-inactive{opacity:.62}.account-inactive .ledger-account-mark{filter:grayscale(1)}dialog.ledger-side-dialog{position:fixed;margin:0 0 0 auto;inset:0 0 0 auto;height:100vh;max-height:100vh;width:min(570px,96vw);border-radius:16px 0 0 16px;animation:ledger-slide .18s ease-out}@keyframes ledger-slide{from{transform:translateX(35px);opacity:.7}to{transform:none;opacity:1}}@media(max-width:720px){.ledger-tools{align-items:flex-end;flex-direction:column}.ledger-account-chip{flex:1 1 145px}.financial-ledger .ledger-hover-action button{opacity:1}dialog.ledger-side-dialog{width:100vw;border-radius:0}}
.finance-status.hoje{background:#fff1bd;color:#755100}.finance-status.previsto{background:#e7f1f6;color:#244e68}.ledger-page-title{display:flex;align-items:center;gap:10px;margin:2px 0 16px}.ledger-page-title>span{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#dcebe6;color:#123f32;font-size:21px}.ledger-page-title h2{margin:0;color:#153444;font-size:24px}.ledger-page-title button{border:1px solid #9db9af;border-radius:50%;background:#fff;color:#17694f;font-weight:800;cursor:help;width:23px;height:23px}.ledger-quick-filters,.ledger-active-filters,.account-view-filter{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0}.ledger-quick-filters button,.ledger-active-filters button,.account-view-filter button{border:1px solid #cadbd5;border-radius:999px;background:#fff;color:#294f43;padding:8px 12px;cursor:pointer;font:inherit;font-size:13px}.ledger-quick-filters button.active,.account-view-filter button.active{background:#123f5a;color:#fff;border-color:#123f5a}.ledger-active-filters{padding:10px 12px;border:1px solid #d9e6e1;border-radius:10px;background:#f7faf8}.ledger-active-filters strong{font-size:13px}.ledger-active-filters button{padding:5px 9px;background:#e6efec}.ledger-active-filters .clear-all{margin-left:auto;background:transparent;border:0;text-decoration:underline}.ledger-advanced{margin:10px 0 15px}.ledger-advanced>summary{cursor:pointer;color:#17694f;font-weight:700}.ledger-totals{display:flex;justify-content:flex-end;gap:24px;margin:10px 0;color:#526c78}.ledger-totals strong{color:#153444;margin-left:5px}.financial-ledger th button[data-ledger-sort]{border:0;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer}.ledger-columns p{margin:2px 5px 7px;color:#60756b;font-size:11px}.ledger-columns label[draggable=true]{cursor:grab;border-radius:6px}.ledger-columns label[draggable=true]:hover{background:#edf5f1}.ledger-columns>button{border:0;background:transparent;color:#17694f;text-decoration:underline;cursor:pointer;padding:8px}.ledger-account-mark.institution-itau{background:#ec7000}.ledger-account-mark.institution-bradesco{background:#cc092f}.ledger-account-mark.institution-mercado-pago{background:#009ee3}.ledger-account-mark.institution-inter{background:#ff7a00}.ledger-account-mark.institution-nubank{background:#820ad1}.ledger-account-mark.institution-santander{background:#ec0000}.ledger-account-mark.institution-caixa{background:#0065a8}.ledger-account-mark.institution-bb{background:#ffdf00;color:#17365d}.ledger-account-mark.institution-cash{background:#17694f}.account-view-filter{margin:16px 0}
.ledger-compact-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:10px 0 14px;padding:8px 12px;background:#f4fbfd;border:1px solid #d4e7ee;border-radius:11px}.ledger-compact-bar>label{display:flex;align-items:center;gap:8px;color:#234c5f;font-size:13px;font-weight:600}.ledger-compact-bar input{width:min(340px,50vw);padding:8px 10px;border:1px solid #bdd6e2;border-radius:8px;background:#fff;font:inherit}.ledger-compact-bar details{position:relative}.ledger-compact-bar summary{cursor:pointer;padding:8px 10px;border:1px solid #c4dbe3;border-radius:8px;background:#fff;font-size:12px;color:#123f5a}.ledger-compact-bar .ledger-active-filters{margin:0;flex:1 1 100%}.ledger-compact-bar .ledger-columns{width:235px;max-height:65vh;overflow:auto}.cost-center-entry{display:flex;gap:8px}.cost-center-entry select{flex:1;min-width:0}.cost-center-entry button{border:1px solid #c4dbe3;border-radius:8px;background:#eff9fb;color:#123f5a;cursor:pointer;padding:8px 10px}.financial-ledger{width:max-content;min-width:100%}.financial-ledger [data-ledger-column="planned"]{min-width:142px}.financial-ledger [data-ledger-column="history"]{min-width:225px}.financial-ledger .ledger-pinned-select,.financial-ledger [data-ledger-column="planned"],.financial-ledger [data-ledger-column="history"]{position:sticky;background:#fff;z-index:2}.financial-ledger .ledger-pinned-select{left:0}.financial-ledger [data-ledger-column="planned"]{left:46px}.financial-ledger [data-ledger-column="history"]{left:188px;border-right:2px solid #d7e5ec;box-shadow:5px 0 8px -7px #28485f}.financial-ledger thead .ledger-pinned-select,.financial-ledger thead [data-ledger-column="planned"],.financial-ledger thead [data-ledger-column="history"]{background:#edf6f8;z-index:4}.financial-ledger .ledger-row-selected .ledger-pinned-select,.financial-ledger .ledger-row-selected [data-ledger-column="planned"],.financial-ledger .ledger-row-selected [data-ledger-column="history"]{background:#64cee9}.financial-ledger th[data-ledger-column="planned"] .ledger-column-filter,.financial-ledger th[data-ledger-column="history"] .ledger-column-filter{z-index:15}.ledger-expanded .ledger-card{height:calc(100vh - 135px)}@media(max-width:700px){.ledger-compact-bar input{width:180px}.financial-ledger [data-ledger-column="history"]{min-width:175px}}
.financial-ledger .ledger-pinned-select{width:46px;max-width:46px;box-sizing:border-box}.financial-ledger [data-ledger-column="planned"]{width:142px;max-width:142px;box-sizing:border-box}.financial-ledger [data-ledger-column="history"]{width:225px;max-width:225px;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis}.ledger-compact-bar .ledger-columns label:has(input:disabled){opacity:.7;cursor:default}
.safety-block{max-width:650px;margin:12vh auto;padding:28px;border:2px solid #c53b39;border-radius:14px;background:#fff;color:#173848;box-shadow:0 15px 45px #142a3a24}.safety-block h2{margin:0 0 12px}.safety-block p{line-height:1.5}.safety-block button{border:0;border-radius:8px;padding:12px 18px;background:#123f5a;color:#fff;font:inherit;cursor:pointer}.safety-block small{display:block;margin-top:14px;color:#7d2c2a}.backup-history-list{display:grid;gap:10px;margin-top:15px;max-height:45vh;overflow:auto}.backup-history-list .source-card{margin:0}.restore-confirm-label{display:grid;gap:8px;font-weight:700;margin:20px 0}.restore-confirm-label input{max-width:260px;border:1px solid #abc9d3;border-radius:8px;padding:10px;font:inherit}
.bulk-realize-form{padding:18px 22px 0}.bulk-realize-form fieldset{border:0;padding:0;margin:0}.bulk-realize-form fieldset>label{display:flex;align-items:flex-start;gap:11px;margin:0 0 20px;color:#173c50;cursor:pointer}.bulk-realize-form input[type=radio]{width:18px;height:18px;min-height:0;margin-top:2px;accent-color:#123f5a}.bulk-realize-form label span{display:grid;gap:5px}.bulk-realize-form label strong{font-size:16px}.bulk-realize-form label small{font-size:13px;font-weight:400;line-height:1.45;color:#416071}.bulk-realize-form input[type=date]{width:240px;margin:-8px 0 8px 29px}.bulk-realize-form .entry-footer{margin-left:-22px;margin-right:-22px;padding-left:22px;padding-right:22px}.bulk-realize-form .entry-footer .primary{background:#2563eb}.bulk-realize-form .entry-footer .secondary{min-width:135px}

/* Módulos escondidos (modules.js) */
.nav[hidden]{display:none!important}

/* Tela de login (inicio.js) */
body.aguardando-login>*:not(#login-gate):not(script){visibility:hidden}
#login-gate{position:fixed;inset:0;display:grid;place-items:center;padding:16px;background:linear-gradient(160deg,#0f2d46,#13835f);z-index:9999}
#login-gate .login-card{width:min(380px,100%);background:#fff;color:#12263a;border-radius:16px;padding:28px 24px;display:grid;gap:8px;box-shadow:0 20px 50px rgba(0,0,0,.25)}
#login-gate .login-marca{display:flex;gap:10px;align-items:center;margin-bottom:8px}
#login-gate .login-logo{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#13835f;color:#fff;font-weight:800}
#login-gate .login-marca small{display:block;color:#5b6b7a;font-size:12px}
#login-gate h1{font-size:22px;margin:4px 0 8px}
#login-gate label{font-size:13px;font-weight:600}
#login-gate input{font-size:16px;padding:12px;border:1px solid #c9d3dc;border-radius:10px}
#login-gate input:focus{outline:2px solid #13835f;outline-offset:1px}
#login-gate button{margin-top:6px;font-size:16px;font-weight:700;padding:13px;border:0;border-radius:10px;background:#13835f;color:#fff;cursor:pointer}
#login-gate button:disabled{opacity:.6;cursor:wait}
#login-gate .login-erro{min-height:1.2em;margin:0;color:#b42318;font-size:14px}
#login-gate .login-ajuda{margin:4px 0 0;color:#5b6b7a;font-size:12px;text-align:center}
/* Nuvem: situação do salvamento e botão Sair */
#login-gate .aviso-acoes{display:flex;gap:8px;flex-wrap:wrap}
#login-gate .aviso-acoes button{flex:1;margin-top:8px;padding:12px;border:0;border-radius:10px;background:#13835f;color:#fff;font-weight:700;font-size:15px;cursor:pointer}
#login-gate .aviso-acoes button+button{background:#e8eef3;color:#12263a}
#nuvem-status{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#5b6b7a;white-space:nowrap}
#nuvem-status::before{content:"";width:8px;height:8px;border-radius:50%;background:#9aa7b3}
#nuvem-status[data-estado="ok"]::before{background:#13835f}
#nuvem-status[data-estado="enviando"]::before{background:#e0a100}
#nuvem-status[data-estado="erro"]{color:#b3261e;font-weight:600}
#nuvem-status[data-estado="erro"]::before{background:#b3261e}
#nuvem-barra{position:fixed;right:12px;bottom:12px;z-index:50;display:flex;align-items:center;gap:10px;padding:6px 8px 6px 12px;background:#fff;border:1px solid #d7e3dc;border-radius:999px;box-shadow:0 4px 14px rgba(15,45,70,.12)}
#nuvem-barra #sair{font-size:12px;font-weight:600;color:#12263a;background:#eef3f6;border:0;border-radius:999px;padding:5px 12px;cursor:pointer}
@media print{#nuvem-barra{display:none}}
[hidden].entry-main-label{display:none!important}
/* Cadastros: cartões */
#cadastro-cartoes .cartao-prazo{display:block;margin-top:4px;color:#047857;font-weight:600}
#cadastro-cartoes .cartao-dica{background:#ecfdf5;border:1px solid #bfdfd6;border-radius:8px;padding:10px 12px;margin:10px 0;color:#12263a;line-height:1.5}
#cadastro-cartoes .account-line .inline-link+.inline-link{margin-left:12px}
/* Botões Editar/Desativar das listas de cadastro: separados e fáceis de tocar */
.account-line .inline-link{padding:6px 4px;min-height:28px}
.account-line .inline-link+.inline-link{margin-left:14px}
/* Seletor de dia do mês (componentes.js) */
.seletor-dia{position:relative;display:flex;gap:6px;align-items:stretch}
.seletor-dia input{flex:1;min-width:0}
.seletor-dia-botao{flex:0 0 auto;width:44px;display:grid;place-items:center;border:1px solid #c9d3dc;border-radius:10px;background:#fff;color:#0f2d46;cursor:pointer}
.seletor-dia-botao:hover,.seletor-dia-botao[aria-expanded="true"]{background:#ecfdf5;border-color:#13835f;color:#13835f}
.seletor-dia-painel{position:fixed;top:0;left:0;z-index:20;background:#fff;border:1px solid #d7e3dc;border-radius:12px;box-shadow:0 10px 30px rgba(15,45,70,.18);padding:10px;width:max-content;max-width:min(300px,86vw)}
.seletor-dia-grade{display:grid;grid-template-columns:repeat(7,36px);gap:4px}
.seletor-dia-grade button{height:34px;border:0;border-radius:8px;background:#f2f6f8;color:#12263a;font-weight:600;cursor:pointer}
.seletor-dia-grade button:hover,.seletor-dia-grade button:focus-visible{background:#dcefe8;outline:2px solid #13835f}
.seletor-dia-grade button.ativo{background:#13835f;color:#fff}
.seletor-dia-painel small{display:block;margin-top:8px;color:#5b6b7a;font-size:11px}
.seletor-dia>input,.seletor-dia>.seletor-dia-botao{margin-top:0;margin-bottom:0}
#account-form .check-line{display:flex;align-items:center;gap:8px;font-weight:600}#account-form .check-line input{width:18px;height:18px;margin:0}
