.filter-mini{display:flex;flex-direction:column;align-items:flex-end;line-height:1.05;margin-left:auto;margin-right:8px}.filter-mini b{font-size:10px;color:#1f4fa9}.filter-mini small{font-size:8px;color:#7a8499;margin-top:2px}.view-badge{display:inline-flex;align-items:center;height:23px;padding:0 9px;border:1px solid #dfe7fb;border-radius:999px;background:#f4f7ff;color:#245fcf;font-size:9px;font-weight:700;white-space:nowrap}.scope-pill,.source-pill,.state-pill{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:9px;font-weight:700;white-space:nowrap}.scope-personal{background:#eef4ff;color:#2564df}.scope-business{background:#ecf9f1;color:#149b55}.scope-unclassified{background:#f3f4f7;color:#687389}.source-pill{background:#f4f1ff;color:#7448c9}.state-realized{background:#eaf8ef;color:#139d53}.state-forecast{background:#fff4de;color:#c97b00}.forecast-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0 18px}.forecast-box{border:1px solid var(--line);border-radius:13px;background:#fff;padding:16px}.forecast-box span{display:block;font-size:10px;color:var(--muted)}.forecast-box strong{display:block;font-size:20px;margin-top:7px}.integration-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.integration-card{border:1px solid var(--line);border-radius:14px;padding:17px;background:#fff;min-height:170px;display:flex;flex-direction:column}.integration-card h3{font-size:14px;margin:0 0 7px}.integration-card p{font-size:11px;color:var(--muted);line-height:1.55;margin:0 0 12px}.integration-meta{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px}.integration-status{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:700;background:#f2f4f8;color:#5f6a80}.integration-status.ready{background:#eaf8ef;color:#139d53}.integration-status.waiting{background:#fff4de;color:#b87400}.toolbar-segment{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.toolbar-segment .secondary-btn.active{background:#edf3ff;border-color:#cbdcff;color:#1e61df}.schedule-note{font-size:10px;color:var(--muted);margin-top:4px}@media(max-width:1100px){.integration-list,.forecast-summary{grid-template-columns:1fr}.filter-mini{display:none}}

/* Relatórios — layout canônico aprovado V202. Mantido na raiz do tema, sem camada/hotfix paralelo. */
.main:has(.page-card [data-report-mode]) .action-blue{display:none!important}
.page-card:has([data-report-mode]){background:transparent;border:0;box-shadow:none;border-radius:0;margin-top:0;padding:28px 0 24px;min-height:calc(100vh - var(--topbar) - 1px)}
.page-card:has([data-report-mode]) .page-header{align-items:center;margin-bottom:14px}
.page-card:has([data-report-mode]) .page-header h1{font-size:30px;line-height:1.08;letter-spacing:-.7px;color:#0d1733}
.page-card:has([data-report-mode]) .page-header p{font-size:14px;line-height:1.4;color:#59709a;margin-top:5px}
.page-card:has([data-report-mode]) .page-actions .secondary-btn{height:46px;padding:0 18px;border:1px solid #d5deee;border-radius:12px;background:#fff;color:#123e82;font-size:13px;font-weight:750;display:inline-flex;align-items:center;gap:9px;box-shadow:0 1px 2px rgba(31,61,111,.02)}
.page-card:has([data-report-mode]) .page-actions .secondary-btn:before{content:"";width:19px;height:19px;display:block;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b58c9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 19h14'/%3E%3C/svg%3E") center/contain no-repeat}
.page-card:has([data-report-mode]) .finance-global-filter{display:none!important}
.page-card:has([data-report-mode])>.toolbar{display:block!important;margin:0 0 14px!important;align-items:initial!important;justify-content:initial!important}
.page-card:has([data-report-mode])>.toolbar>.muted{display:none!important}
.page-card:has([data-report-mode])>.toolbar>div>div:first-child{font-size:14px!important;line-height:20px;font-weight:760!important;color:#0e2144!important;margin:0 0 9px!important;display:flex;align-items:center;gap:8px}
.page-card:has([data-report-mode])>.toolbar>div>div:first-child:after{content:"i";width:18px;height:18px;border:1.7px solid #31558e;border-radius:50%;display:inline-grid;place-items:center;font-size:11px;font-weight:800;color:#31558e}
.page-card:has([data-report-mode]) [data-report-mode]{height:45px!important;min-width:215px;padding:0 26px!important;border-radius:11px!important;font-size:14px!important;font-weight:720!important;display:inline-flex;align-items:center;justify-content:center;gap:10px}
.page-card:has([data-report-mode]) [data-report-mode=\"cash\"]:before,.page-card:has([data-report-mode]) [data-report-mode=\"competence\"]:before{content:"";width:21px;height:21px;display:block;background-position:center;background-repeat:no-repeat;background-size:contain}
.page-card:has([data-report-mode]) [data-report-mode=\"cash\"]:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9'%3E%3Cellipse cx='12' cy='5' rx='7' ry='3'/%3E%3Cpath d='M5 5v5c0 1.7 3.1 3 7 3s7-1.3 7-3V5M5 10v5c0 1.7 3.1 3 7 3s7-1.3 7-3v-5M5 15v4c0 1.7 3.1 3 7 3s7-1.3 7-3v-4'/%3E%3C/svg%3E")}
.page-card:has([data-report-mode]) [data-report-mode=\"cash\"].secondary-btn:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a4b9d' stroke-width='1.9'%3E%3Cellipse cx='12' cy='5' rx='7' ry='3'/%3E%3Cpath d='M5 5v5c0 1.7 3.1 3 7 3s7-1.3 7-3V5M5 10v5c0 1.7 3.1 3 7 3s7-1.3 7-3v-5M5 15v4c0 1.7 3.1 3 7 3s7-1.3 7-3v-4'/%3E%3C/svg%3E")}
.page-card:has([data-report-mode]) [data-report-mode=\"competence\"]:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a4b9d' stroke-width='1.9'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M14 3v5h5'/%3E%3C/svg%3E")}
.page-card:has([data-report-mode]) [data-report-mode=\"competence\"].primary-btn:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M14 3v5h5'/%3E%3C/svg%3E")}
.page-card:has([data-report-mode]) [data-report-mode].primary-btn{background:linear-gradient(180deg,#3478f4,#2167ee);box-shadow:0 4px 10px rgba(36,104,239,.18)}
.page-card:has([data-report-mode]) [data-report-mode].secondary-btn{background:#fff;border:1px solid #d3ddeb;color:#0e2d63}
.page-card:has([data-report-mode])>.settings-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:4px}
.page-card:has([data-report-mode])>.settings-grid>.settings-panel{height:118px;padding:18px 18px;border:1px solid #dce4ef;border-radius:15px;background:#fff;box-shadow:0 1px 2px rgba(31,61,111,.015)}
.page-card:has([data-report-mode])>.settings-grid>.settings-panel>div{height:100%;align-items:center!important;gap:18px!important}
.page-card:has([data-report-mode])>.settings-grid>.settings-panel>div>span{width:58px!important;height:58px!important;border-radius:50%!important;font-size:0!important;background-repeat:no-repeat!important;background-position:center!important;background-size:27px!important}
.page-card:has([data-report-mode])>.settings-grid>.settings-panel:nth-child(1)>div>span{background-color:#eaf8ef!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312a45a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 20V5'/%3E%3Cpath d='m6 11 6-6 6 6'/%3E%3C/svg%3E")!important}
.page-card:has([data-report-mode])>.settings-grid>.settings-panel:nth-child(2)>div>span{background-color:#fff0f1!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ee2632' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 4v15'/%3E%3Cpath d='m6 13 6 6 6-6'/%3E%3C/svg%3E")!important}
.page-card:has([data-report-mode])>.settings-grid>.settings-panel:nth-child(3)>div>span{background-color:#eaf8ef!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312a45a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 20V10'/%3E%3Cpath d='M10 20V5'/%3E%3Cpath d='M15 20v-7'/%3E%3Cpath d='M20 20V3'/%3E%3C/svg%3E")!important}
.page-card:has([data-report-mode])>.settings-grid>.settings-panel:nth-child(4)>div>span{background-color:#eaf8ef!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312a45a' stroke-width='2' stroke-linecap='round'%3E%3Crect x='4' y='6' width='16' height='14' rx='2'/%3E%3Cpath d='M8 3v5M16 3v5M4 10h16'/%3E%3C/svg%3E")!important}
.page-card:has([data-report-mode])>.settings-grid>.settings-panel:nth-child(5)>div>span{background-color:#fff0f1!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ee2632' stroke-width='2' stroke-linecap='round'%3E%3Crect x='4' y='6' width='16' height='14' rx='2'/%3E%3Cpath d='M8 3v5M16 3v5M4 10h16'/%3E%3C/svg%3E")!important}
.page-card:has([data-report-mode])>.settings-grid>.settings-panel:nth-child(6)>div>span{background-color:#eaf8ef!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312a45a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 7v5h4'/%3E%3C/svg%3E")!important}
.page-card:has([data-report-mode])>.settings-grid>.settings-panel h3{font-size:15px;line-height:20px;margin:0 0 3px;color:#0b2249}
.page-card:has([data-report-mode])>.settings-grid>.settings-panel p{font-size:12px;line-height:16px;margin:0 0 10px;color:#67799a}
.page-card:has([data-report-mode])>.settings-grid>.settings-panel strong{font-size:24px!important;line-height:27px;letter-spacing:-.3px}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]{margin-top:14px!important;padding-top:12px!important;border-top:1px solid #dce4ef!important}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>h2{font-size:21px!important;line-height:26px;margin:0 0 4px!important;color:#0d1733}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>p{font-size:13px!important;line-height:18px;margin:0 0 12px!important;color:#5c7195!important}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(285px,1.55fr);gap:14px;position:relative}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel{background:#fff;border-color:#dce4ef;min-width:0}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(-n+3){height:118px;border-radius:0;padding:51px 20px 14px;position:relative}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(1){border-radius:14px 0 0 14px;border-right:0}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(2){border-left:1px solid #edf0f5;border-right:0}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(3){border-radius:0 14px 14px 0;border-left:1px solid #edf0f5}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(1):before{position:absolute;top:14px;left:18px;width:650px;max-width:calc(300% - 36px);font-size:13px;line-height:22px;font-weight:760;color:#0d285d;padding-left:29px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232468ef' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M9 13h6M9 17h6'/%3E%3C/svg%3E") left center/21px 21px no-repeat;z-index:2}
.page-card:has([data-report-mode=\"cash\"][aria-pressed=\"true\"])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(1):before{content:"Comparativo com o Cenize (Competência)"}
.page-card:has([data-report-mode=\"competence\"][aria-pressed=\"true\"])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(1):before{content:"Comparativo com Caixa"}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(-n+3) h3{font-size:0;margin:0 0 6px;color:#68789a}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(-n+3) h3:after{font-size:11.5px;font-weight:520;color:#6c7b98}
.page-card:has([data-report-mode=\"cash\"][aria-pressed=\"true\"])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(1) h3:after{content:"Receitas reconhecidas"}
.page-card:has([data-report-mode=\"cash\"][aria-pressed=\"true\"])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(2) h3:after{content:"Despesas reconhecidas"}
.page-card:has([data-report-mode=\"cash\"][aria-pressed=\"true\"])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(3) h3:after{content:"Resultado do período"}
.page-card:has([data-report-mode=\"competence\"][aria-pressed=\"true\"])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(1) h3:after{content:"Receitas realizadas"}
.page-card:has([data-report-mode=\"competence\"][aria-pressed=\"true\"])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(2) h3:after{content:"Despesas realizadas"}
.page-card:has([data-report-mode=\"competence\"][aria-pressed=\"true\"])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(3) h3:after{content:"Resultado realizado"}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(-n+3) p{display:none}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(-n+3) strong{font-size:22px!important;line-height:26px}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(4){grid-column:4!important;grid-row:1;height:118px;border-color:#c8dafd!important;background:#eff5ff!important;border-radius:14px;padding:18px 18px 14px 54px;position:relative}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(4):before{content:"i";position:absolute;left:18px;top:18px;width:25px;height:25px;border:2px solid #2468ef;border-radius:50%;display:grid;place-items:center;color:#2468ef;font-size:15px;font-weight:800}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(4) h3{font-size:14px;line-height:20px;color:#125bd8;margin-bottom:7px}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(4) p{font-size:12px;line-height:18px;color:#4a6494!important;margin:0}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(5){grid-column:1/4!important;grid-row:2;border-radius:14px;min-height:180px;padding:17px 20px 12px;overflow:hidden}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(5)>div:first-child h3{font-size:13.5px;margin-bottom:3px}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(5)>div:first-child p{font-size:11.5px;margin:0;color:#6b7c9b}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(5)>div:last-child{position:relative;padding-left:65px!important;gap:18px!important;background:repeating-linear-gradient(to bottom,transparent 0,transparent 32px,#eef1f6 33px,#eef1f6 34px);min-height:125px;margin-top:4px!important}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(5)>div:last-child:before{content:"R$ 15.000\A R$ 10.000\A R$ 5.000\A R$ 0";white-space:pre;position:absolute;left:0;top:2px;height:124px;display:flex;flex-direction:column;justify-content:space-between;color:#6680aa;font-size:10.5px;line-height:40px}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(5)>div:last-child>div>div:first-child{height:92px!important;border-bottom:1px solid #dfe5ef!important}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(6){grid-column:4!important;grid-row:2;border-radius:14px;min-height:180px;padding:20px 18px 16px 61px;position:relative;display:flex;flex-direction:column}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(6):before{content:"";position:absolute;left:19px;top:20px;width:28px;height:28px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a4b9d' stroke-width='1.9'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M9 13h6M9 17h6'/%3E%3C/svg%3E") center/contain no-repeat}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(6) h3{font-size:14px;margin:2px 0 7px;color:#0d285d}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(6) p{font-size:12px;line-height:18px;color:#687a99;margin:0 0 13px}
.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(6) button{margin-top:auto;height:40px;border-radius:10px;font-size:12px;color:#0f3d82}
@media(max-width:1180px){.page-card:has([data-report-mode]) [data-report-mode]{min-width:175px}.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(4),.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(5),.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(6){grid-column:1/-1!important;grid-row:auto}.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(-n+3){grid-column:auto}}
@media(max-width:980px){.page-card:has([data-report-mode]){padding-top:18px}.page-card:has([data-report-mode]) .page-header h1{font-size:26px}.page-card:has([data-report-mode]) [data-report-mode]{min-width:0;flex:1}.page-card:has([data-report-mode])>.toolbar>div>div:last-child{display:flex!important;width:100%}.page-card:has([data-report-mode])>.settings-grid{grid-template-columns:1fr}.page-card:has([data-report-mode])>.settings-grid>.settings-panel{height:auto;min-height:108px}.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid{grid-template-columns:1fr}.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(-n+3){border:1px solid #dce4ef;border-radius:14px;padding-top:18px;height:auto}.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(1):before{display:none}.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(4),.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(5),.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(6){grid-column:1!important;grid-row:auto}.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(5)>div:last-child{padding-left:0!important}.page-card:has([data-report-mode])>div[style*=\"border-top\"]>.settings-grid>.settings-panel:nth-child(5)>div:last-child:before{display:none}}
