body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--portal-bg);color:var(--portal-text)}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button:disabled{opacity:.5;cursor:not-allowed}button,input,select,textarea{outline-offset:2px}.cf-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.cf-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.cf-button{border:1px solid var(--portal-border);background:var(--portal-surface);color:var(--portal-text);padding:8px 13px;border-radius:6px;cursor:pointer;white-space:nowrap;font-weight:600;font-size:13px;min-height:36px}.cf-button:hover:not(:disabled){background:var(--portal-surface-soft)}.cf-button.primary{background:var(--portal-blue);border-color:var(--portal-blue);color:#fff}.cf-button.primary:hover:not(:disabled){background:var(--portal-blue-dark)}.cf-button.danger{color:var(--portal-danger)}.cf-icon-button{border:0;background:transparent;color:var(--portal-text);font-size:27px;cursor:pointer;min-width:36px;min-height:36px}.cf-toolbar{display:flex;align-items:end;gap:12px;margin-bottom:16px;flex-wrap:wrap}.cf-toolbar label,.cf-sheet-toolbar label,.cf-dialog label,.cf-month-controls label,.cf-note{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600}.cf-select-control{flex:1;min-width:220px}.cf-search{width:190px}.cf-toolbar input,.cf-toolbar select,.cf-sheet-toolbar input,.cf-month-controls select,.cf-note textarea,.cf-dialog input,.cf-dialog select,.cf-dialog textarea{background:var(--portal-input-bg,var(--portal-surface));color:var(--portal-text);border:1px solid var(--portal-border);border-radius:5px;padding:8px 10px;min-width:0;box-sizing:border-box;width:100%}.cf-pager{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--portal-muted)}.cf-pager button{padding:4px 10px;font-size:20px}.cf-sheet-toolbar{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin-bottom:10px}.cf-sheet-toolbar label{width:210px}.cf-sheet-toolbar .cf-actions{margin-left:auto}#dirtyStatus{font-size:12px;align-self:center;color:var(--portal-muted)}#dirtyStatus.is-dirty{font-weight:600;color:var(--portal-warning)}.cf-sheet-scroll{--sheet-cell:#fff;--sheet-head:#dedfe1;--sheet-title:#cfd1d3;--sheet-month:#f1f1f1;--sheet-entry:#fff4b5;--sheet-output:#f5f5f5;--sheet-grid:#969ca2;--sheet-text:#17202a;overflow:auto;max-width:100%;background:var(--sheet-cell);border:1px solid var(--sheet-grid);border-bottom:0}.cf-sheet{width:100%;min-width:960px;border-collapse:collapse;table-layout:fixed;font-family:Arial,Helvetica,sans-serif!important;font-size:15px;line-height:1.25;color:var(--sheet-text)}.cf-sheet col.row-index{width:40px}.cf-sheet col.month-column{width:22%}.cf-sheet col.value-column{width:15.6%}.cf-sheet th,.cf-sheet td{padding:0!important;border:1px solid var(--sheet-grid)!important;height:36px;box-sizing:border-box;background:var(--sheet-cell);font-family:Arial,Helvetica,sans-serif!important;font-size:15px!important;color:var(--sheet-text)!important;vertical-align:middle}.cf-sheet .cf-letters th{height:25px;font-size:12px!important;font-weight:400;background:var(--sheet-head)!important;text-align:center}.cf-sheet .cf-row-index{background:var(--sheet-head)!important;font-size:12px!important;text-align:center;font-weight:400;color:var(--sheet-text)!important;user-select:none}.cf-sheet .cf-title-row th{height:41px;background:var(--sheet-title)!important;text-align:center;font-weight:700;font-size:18px!important;letter-spacing:.15px}.cf-sheet .cf-field-head th{height:36px;background:var(--sheet-head)!important;text-align:center;font-weight:700;font-size:15px!important}.cf-sheet .cf-month{position:sticky;left:40px;z-index:1;background:var(--sheet-month)!important;text-align:left;font-weight:400}.cf-sheet .cf-row-index{position:sticky;left:0;z-index:2}.cf-sheet .cf-month-button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:100%;min-height:34px;border:0!important;border-radius:0!important;background:transparent!important;color:var(--sheet-text)!important;padding:0 10px!important;font-family:Arial,Helvetica,sans-serif!important;font-size:15px!important;font-weight:400;cursor:pointer;text-align:left;box-shadow:none!important}.cf-month-button:focus-visible{outline:2px solid #3568b0;outline-offset:-3px}.cf-row-status{width:7px;height:7px;border-radius:50%;background:#929aa4;flex:none}.cf-row-status.aprovado{background:#21844a}.cf-row-status.em_aprovacao{background:#c9821a}.cf-sheet .cf-cell.warm{background:var(--sheet-entry)!important}.cf-sheet .cf-cell-input{display:block;width:100%;height:35px;box-sizing:border-box;border:0!important;border-radius:0!important;background:transparent!important;color:var(--sheet-text)!important;margin:0!important;padding:0 10px!important;text-align:right;font-family:Arial,Helvetica,sans-serif!important;font-size:15px!important;font-weight:400;box-shadow:none!important;outline-offset:-2px;opacity:1!important;min-width:0}.cf-sheet .cf-cell-input:focus{outline:2px solid #376ec1!important;background:color-mix(in srgb,var(--sheet-entry) 40%,var(--sheet-cell))!important}.cf-sheet .cf-cell-input[aria-invalid=true]{outline:2px solid #c43e3e!important;outline-offset:-2px}.cf-sheet .cf-cell-input:disabled{cursor:default;background:transparent!important;color:var(--sheet-text)!important;-webkit-text-fill-color:var(--sheet-text)!important;opacity:1!important}.cf-sheet .cf-accumulated{background:var(--sheet-output)!important;text-align:right;padding:0 11px!important;font-variant-numeric:tabular-nums;font-weight:400}.cf-sheet tr.is-selected .cf-month-button{font-weight:700}.cf-sheet tr.is-selected .cf-row-index{background:#b9cce8!important;color:#102c56!important}.cf-sheet tr.is-locked td.cf-cell{background:var(--sheet-output)!important}.cf-sheet tr.is-dirty .cf-month-button{box-shadow:inset 3px 0 #cc9c21!important}.cf-sheet-bottom{display:flex;align-items:center;gap:18px;justify-content:space-between;border:1px solid var(--portal-border);background:var(--portal-surface-soft);padding:0 12px;font-size:11px;color:var(--portal-muted);min-height:34px}.cf-sheet-tab{display:block;border-bottom:3px solid var(--portal-blue);padding:8px 14px 6px;background:var(--portal-surface);color:var(--portal-text);font-weight:600;max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cf-month-panel{border:1px solid var(--portal-border);border-radius:6px;padding:14px 16px;margin-top:18px;background:var(--portal-surface)}.cf-month-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.cf-month-controls .cf-actions{margin-left:auto}.cf-month-controls label{width:165px}.cf-badge{display:inline-block;border:1px solid var(--portal-border);border-radius:16px;padding:7px 10px;font-size:12px;align-self:end;margin-bottom:2px;color:var(--portal-muted)}.cf-badge.aprovado{color:var(--portal-success);border-color:var(--portal-success)}.cf-badge.em_aprovacao{color:var(--portal-warning);border-color:var(--portal-warning)}.cf-note{margin-top:12px}.cf-note textarea{resize:vertical;font-weight:400;min-height:58px}.cf-message{font-size:13px;line-height:1.5;overflow-wrap:anywhere;color:var(--portal-muted);min-height:0}.cf-message:empty{display:none}.cf-message.error{color:var(--portal-danger)}.cf-help{font-size:12px;color:var(--portal-muted);line-height:1.6;margin:10px 0}.cf-dialog{background:var(--portal-surface);color:var(--portal-text);border:1px solid var(--portal-border);border-radius:10px;padding:24px;width:min(560px,calc(100vw - 32px));box-sizing:border-box;max-height:90vh;overflow:auto;box-shadow:0 20px 70px #0005}.cf-dialog::backdrop{background:#0007}.cf-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.cf-dialog-heading h2{margin:0;font-size:20px}.cf-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.cf-span{grid-column:1/-1}.cf-dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:20px}.cf-history{width:min(760px,calc(100vw - 32px))}.cf-event{padding:12px 0;border-bottom:1px solid var(--portal-border);font-size:13px;line-height:1.6}.cf-event p{margin:4px 0;overflow-wrap:anywhere}.cf-event summary{cursor:pointer;color:var(--portal-muted)}.cf-event dl{display:grid;grid-template-columns:1fr 1fr;gap:4px 16px}.cf-event dd{margin:0}
html[data-portal-theme=dark] .cf-sheet-scroll{--sheet-cell:#23262b;--sheet-head:#34383e;--sheet-title:#41464e;--sheet-month:#2c3036;--sheet-entry:#403a26;--sheet-output:#2b2f35;--sheet-grid:#666b72;--sheet-text:#f0f1f3}html[data-portal-theme=dark] #dirtyStatus.is-dirty{color:#e7c06f}html[data-portal-theme=dark] .cf-badge.em_aprovacao{color:#efc477;border-color:#a88744}
@media(max-width:800px){.cf-toolbar{gap:9px}.cf-select-control{flex-basis:100%}.cf-search{flex:1}.cf-sheet-toolbar .cf-actions{margin-left:0}.cf-sheet{min-width:880px}.cf-sheet .cf-month{left:36px}.cf-sheet col.row-index{width:36px}.cf-sheet col.month-column{width:190px}.cf-sheet .cf-month-button{font-size:14px!important;padding-left:8px!important}.cf-sheet-bottom>span:last-child{display:none}.cf-month-controls .cf-actions{margin-left:0;width:100%}}@media(max-width:500px){.cf-heading{display:block}.cf-heading .cf-actions{margin:12px 0 0}.cf-toolbar .cf-search{min-width:150px}.cf-sheet-toolbar{align-items:center}.cf-sheet-toolbar label{width:100%}.cf-sheet-toolbar .cf-actions{gap:6px}.cf-sheet-toolbar .cf-button{padding:7px 10px;font-size:12px}.cf-month-panel{padding:12px}.cf-form-grid{grid-template-columns:1fr}.cf-span{grid-column:auto}.cf-dialog{padding:18px}.cf-event dl{grid-template-columns:1fr}.cf-dialog-actions .cf-button{flex:1}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.cf-sheet .cf-title-row .cf-row-index{font-size:12px!important;font-weight:400}@media(max-width:500px){.cf-sheet col.month-column{width:150px}}

#openApprovals{min-height:44px}


.cf-entry-cell{display:flex;align-items:center;min-height:42px}.cf-entry-value{flex:1;min-width:0;text-align:right;border:0;background:transparent;color:inherit;padding:10px;cursor:pointer;font:inherit;font-variant-numeric:tabular-nums}.cf-entry-plus{width:36px;height:36px;flex:0 0 36px;border:1px solid var(--portal-border);border-radius:6px;margin-right:4px;background:var(--portal-surface);color:var(--portal-text);font-size:22px;cursor:pointer}.cf-entry-plus:focus-visible,.cf-entry-value:focus-visible{outline:2px solid var(--portal-blue);outline-offset:-2px}.cf-entry-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px}.cf-entry-sections h2,.cf-entry-sections h3{font-size:16px;margin:0 0 10px}.cf-entry-list{list-style:none;padding:0;margin:0}.cf-entry-list li{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px 16px;border-bottom:1px solid var(--portal-border);padding:12px 0}.cf-entry-list li>div:first-child{flex:1;min-width:100px;overflow-wrap:anywhere}.cf-entry-list strong{display:block;font-weight:500}.cf-entry-list li>div>span{display:block;font-size:12px;color:var(--portal-muted);margin-top:5px}.cf-entry-amount{font-variant-numeric:tabular-nums;white-space:nowrap}.cf-entry-actions{display:flex;gap:8px}.cf-entry-actions .cf-button{min-height:40px}.cf-entry-total{font-weight:600;text-align:right}.cf-entries-dialog{width:min(720px,calc(100vw - 32px));max-height:90vh;overflow:auto}.cf-entries-dialog form .cf-actions{margin-top:12px}#entryForm[hidden]{display:none}#entriesDialog .cf-dialog-actions{flex-wrap:wrap}#entriesDialog input[type=date]{min-width:0;color-scheme:light}html[data-portal-theme=dark] #entriesDialog input[type=date]{color-scheme:dark}.cfa-page .cf-entry-sections{grid-template-columns:1fr;margin-bottom:20px}.cfa-page .cf-entry-sections section{padding:16px;background:var(--portal-surface);border:1px solid var(--portal-border);border-radius:8px}@media(max-width:768px){.cf-entry-sections{grid-template-columns:1fr}.cf-entry-plus{width:44px;height:44px;flex-basis:44px}.cf-entry-actions{width:100%}.cf-entry-actions .cf-button{min-height:44px}}
