/* Extensão do padrão visual compartilhado por Retiradas e Apontadores. */
.finance-menu-footer{display:block;padding:14px 16px}.finance-menu-footer>div{min-width:0}.finance-menu-footer strong,.finance-menu-footer span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.finance-menu-footer strong{color:var(--texto);font-size:12px}.finance-menu-footer span{margin-top:2px;font-size:11px}.finance-menu-footer .menu-logout-form{margin-top:7px}.finance-menu-footer .menu-logout{padding:5px 0;color:var(--vermelho);font-size:12px}.dev-panel{padding:12px 16px;border-top:1px solid var(--borda);background:#fafafa;font-size:11px}.dev-panel span{display:block;margin-bottom:6px;color:var(--texto-suave)}.dev-panel a{margin-right:10px;color:var(--vermelho);font-weight:600}
.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.page-heading.compact{align-items:center}.page-heading h1{margin:3px 0 0}.back{display:inline-block;margin-bottom:15px;color:var(--texto-suave);font-size:12px;text-decoration:none}.back:hover{color:var(--vermelho)}
.button.primary{background:var(--vermelho);color:var(--branco)}.button.primary:hover{background:var(--vermelho-escuro)}.button.secondary{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--borda);background:var(--branco);color:var(--texto);text-decoration:none}.button.approve{background:var(--verde);color:#fff}.button.reject{border:1px solid var(--vermelho);background:var(--vermelho);color:#fff}.button.reject:hover{border-color:var(--vermelho-escuro);background:var(--vermelho-escuro)}.button.full{width:100%}
.metrics{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:24px}.metrics article{min-width:170px;flex:1;padding:16px 20px;border:1px solid var(--borda);border-radius:10px;background:var(--branco)}.metrics span,.metrics strong{display:block}.metrics span{color:var(--texto-suave);font-size:12px}.metrics strong{margin-bottom:3px;color:#2563eb;font-size:28px;line-height:1.1}.panel{overflow:hidden;border:1px solid var(--borda);border-radius:10px;background:var(--branco)}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid var(--borda)}.panel-head span{color:var(--texto-suave);font-size:12px}.table-wrap{overflow:auto}.table-wrap td a{color:var(--texto);text-decoration:none}.table-wrap td a:hover strong{color:var(--vermelho)}.table-wrap small,.details small{display:block;margin-top:3px;color:var(--texto-suave);font-size:11px}.table-wrap th:last-child,.table-wrap td:last-child{width:auto;text-align:left;white-space:normal}.status.submitted{background:#ececec;color:#555}.status.approved{background:#e8f1fb;color:#24538a}.status.paid{background:#e4f4ea;color:#17653b}.status.rejected{background:var(--vermelho-claro);color:var(--vermelho)}.status.large{min-height:32px;padding:6px 12px;font-size:12px}.empty{padding:34px 20px;color:var(--texto-suave);text-align:center}.empty strong{color:var(--texto)}.empty p{margin-top:5px}
.due-legend{display:flex;justify-content:flex-end;gap:14px;margin:0 4px 8px;color:var(--texto-suave);font-size:10px}.due-legend span{display:inline-flex;align-items:center;gap:5px}.due-legend span::before,.due-date-indicator::before{width:7px;height:7px;flex:0 0 7px;border-radius:50%;content:""}.due-legend .on-time::before,.due-date-indicator.on-time::before{background:#238636}.due-legend .due-soon::before,.due-date-indicator.due-soon::before{background:#d19a00}.due-legend .overdue::before,.due-date-indicator.overdue::before{background:var(--vermelho)}.due-legend .no-due-date::before,.due-date-indicator.no-due-date::before{background:#98a2b3}.request-queue-table{min-width:1050px}.request-queue-table .sent-at{min-width:145px;color:#475467;font-size:12px;white-space:nowrap}.request-queue-table tbody tr.request-urgency-on-time td:first-child{box-shadow:inset 4px 0 #238636}.request-queue-table tbody tr.request-urgency-due-soon td:first-child{box-shadow:inset 4px 0 #d19a00}.request-queue-table tbody tr.request-urgency-overdue td:first-child{box-shadow:inset 4px 0 var(--vermelho)}.due-date-indicator{display:inline-flex!important;align-items:center;gap:6px;margin:0!important;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}.due-date-indicator.on-time{background:#e8f5ec;color:#176b31}.due-date-indicator.due-soon{background:#fff4cc;color:#8a6200}.due-date-indicator.overdue{background:var(--vermelho-claro);color:var(--vermelho)}.due-date-indicator.no-due-date{background:#f2f4f7;color:#667085}
.dashboard-heading{align-items:center}.dashboard-heading>div{min-width:0}.dashboard-feature-heading{flex-wrap:wrap;margin-bottom:12px;padding:17px 20px;border:1px solid var(--borda);border-top:3px solid var(--vermelho);border-radius:11px;background:var(--branco)}.dashboard-feature-heading .dashboard-heading-description{margin-top:4px;color:var(--texto-suave);font-size:12px}.finance-queue-insights{display:grid;order:3;width:calc(100% + 40px);grid-template-columns:repeat(2,minmax(0,1fr));margin:3px -20px -17px;padding:14px 20px 16px;border-top:1px solid var(--borda);border-radius:0 0 10px 10px;background:#fafafa}.finance-insight-panel{min-width:0;padding-right:22px}.finance-insight-panel+.finance-insight-panel{padding-right:0;padding-left:22px;border-left:1px solid var(--borda)}.finance-insight-panel header{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}.finance-insight-panel header span{display:block;margin-bottom:2px;color:var(--vermelho);font-size:9px;font-weight:700;letter-spacing:.08em}.finance-insight-panel h2{font-size:13px}.finance-insight-panel header small{color:var(--texto-suave);font-size:9px;white-space:nowrap}.finance-queue-bars{display:grid;gap:5px}.finance-queue-bar{display:grid;grid-template-columns:minmax(85px,130px) minmax(80px,1fr) 22px;align-items:center;gap:9px}.finance-queue-bar>span{overflow:hidden;color:var(--texto-suave);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.finance-queue-bar>strong{color:var(--texto);font-size:11px;text-align:right}.finance-queue-bar progress{width:100%;height:6px;overflow:hidden;border:0;border-radius:999px;background:#e5e5e5;color:var(--vermelho);appearance:none}.finance-queue-bar progress::-webkit-progress-bar{border-radius:999px;background:#e5e5e5}.finance-queue-bar progress::-webkit-progress-value{border-radius:999px;background:var(--vermelho)}.finance-queue-bar progress::-moz-progress-bar{border-radius:999px;background:var(--vermelho)}.finance-requester-bar>span{display:flex;align-items:center;gap:7px}.finance-requester-bar>span b{display:grid;width:16px;height:16px;flex:0 0 16px;place-items:center;border-radius:4px;background:#eee;color:#666;font-size:9px}.finance-requesters-panel progress::-webkit-progress-value{background:#475467}.finance-requesters-panel progress::-moz-progress-bar{background:#475467}.finance-queue-chart-empty{color:var(--texto-suave);font-size:11px}.request-summary{flex:0 0 auto;justify-content:flex-end;gap:10px;margin:0}.request-summary .card-num{display:grid;min-width:0;max-width:none;flex:0 0 190px;grid-template-columns:auto 1fr;align-items:center;gap:12px;padding:10px 14px;border-left:3px solid #2563eb}.dashboard-feature-heading .request-summary{display:grid;grid-template-columns:190px;gap:8px}.dashboard-feature-heading .request-summary .card-num{width:190px;min-height:50px;flex:none}.request-summary .card-num-approved{border-left-color:var(--verde)}.request-summary .card-num strong{margin:0;font-size:25px}.request-summary .card-num span{max-width:105px;line-height:1.25}.request-summary .card-num-approved strong{color:var(--verde)}.request-filter-bar{margin-bottom:12px}.request-filter-bar .history-term{min-width:300px}.request-filter-bar .button{white-space:nowrap}.employee-filter-error{margin:-3px 0 10px;color:var(--vermelho);font-size:12px;font-weight:600}
.history-simple-heading{margin-bottom:12px}.history-summary{display:flex;flex:0 0 auto;gap:8px;margin:0}.history-summary .card-num{width:145px;min-height:48px;flex:0 0 145px;padding:8px 12px}.history-summary .history-counter-approved{border-left-color:var(--verde)}.history-summary .history-counter-approved strong{color:var(--verde)}.history-summary .history-counter-rejected{border-left-color:var(--vermelho)}.history-summary .history-counter-rejected strong{color:var(--vermelho)}.history-summary .history-counter-total{border-left-color:#667085}.history-summary .history-counter-total strong{color:#344054}.history-filter-bar .status-filter{min-width:160px}.payment-history-filter{margin-bottom:12px}.payment-history-filter .history-term{min-width:300px}.payment-history-table td:first-child{min-width:155px;white-space:nowrap}.payment-history-table td:nth-child(2),.payment-history-table td:nth-child(3){min-width:210px}.payment-history-table .history-request-link{color:var(--texto);text-decoration:none}.payment-history-table .history-request-link:hover strong{color:var(--vermelho)}.payment-history-table .history-request-link strong,.payment-history-table .history-request-link span{display:block}.payment-history-table .history-request-link span{margin-top:3px;color:var(--texto-suave);font-size:11px;line-height:1.35}.global-last-update{position:fixed;z-index:5;right:22px;bottom:14px;margin:0;color:#8a8a8a;font-size:10px;letter-spacing:.01em;pointer-events:none}
.form-layout{display:grid;gap:14px}.form-card{overflow:hidden;border:1px solid var(--borda);border-radius:10px;background:#fff}.section-body{padding:24px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}.span-2{grid-column:1/-1}.field-grid label,.action-card label{display:block;color:var(--texto-suave);font-size:13px}.field-grid label>b,.action-card label>b{color:var(--vermelho)}.field-grid label>.field-note{margin-left:4px;font-size:11px;font-weight:400}.field-grid label>span{font-size:11px;font-weight:400}.field-grid input,.field-grid select,.field-grid textarea,.action-card textarea{width:100%;min-height:42px;margin-top:6px;padding:10px 12px;border:1px solid var(--borda);border-radius:8px;background:#fff;color:#222}.field-grid textarea,.action-card textarea{min-height:74px;resize:vertical}.field-grid input:focus,.field-grid select:focus,.field-grid textarea:focus,.action-card textarea:focus{outline:none;border-color:var(--vermelho);box-shadow:0 0 0 3px rgba(226,35,26,.1)}.upload-box{display:block;margin-top:6px;padding:16px;border:1px dashed #c9c9c9;border-radius:8px;background:#fafafa;cursor:pointer}.upload-box strong,.upload-box span{display:block}.upload-box strong{color:var(--texto);font-size:13px}.upload-box span{margin-top:2px;color:var(--texto-suave);font-size:11px}.upload-box .request-file-input{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.upload-actions{display:flex!important;align-items:center;gap:12px;margin-top:13px!important}.upload-box .upload-button{display:inline-flex;margin:0;color:#fff;font-size:12px;background:var(--vermelho)}.upload-box:hover .upload-button{background:var(--vermelho-escuro)}.upload-box .upload-summary{min-width:0;margin:0;overflow:hidden;color:var(--texto-suave);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.upload-box:focus-within{border-color:var(--vermelho);box-shadow:0 0 0 3px rgba(226,35,26,.1)}.form-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:2px}.alert.error{margin-bottom:16px;padding:13px 17px;border-radius:9px;background:var(--vermelho);color:#fff}.alert.error ul{margin:7px 0 0;padding-left:18px}.alert.error p{margin-top:5px}.alert.success{margin-bottom:16px;padding:13px 17px;border-radius:9px;background:#176b31;color:#fff}
.paid-banner{display:flex;align-items:center;gap:13px;margin-bottom:16px;padding:15px 18px;border-radius:10px;background:#176b31;color:#fff}.paid-banner>span{position:relative;display:block;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:rgba(255,255,255,.18)}.paid-check::before{position:absolute;top:50%;left:50%;width:7px;height:12px;border-right:2px solid #fff;border-bottom:2px solid #fff;content:"";transform:translate(-50%,-58%) rotate(45deg)}.paid-banner p{margin-top:2px;font-size:12px}.detail-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,.75fr);align-items:start;gap:14px}.detail-card,.side-stack>.panel,.timeline-card{padding:20px}.details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px}.details>div{padding:12px 0;border-bottom:1px solid var(--borda)}.details>div:nth-child(odd){padding-right:18px}.details .wide{grid-column:1/-1}.details dt{color:var(--texto-suave);font-size:11px;text-transform:uppercase;letter-spacing:.04em}.details dd{margin-top:4px;font-weight:600}.side-stack{display:grid;gap:14px}.files{margin-top:10px;list-style:none}.files li{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--borda)}.files li:last-child{border-bottom:0}.files li>div{min-width:0;flex:1}.files strong{display:block;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.files small{display:block;margin-top:2px;color:var(--texto-suave);font-size:10px}.files li>a{color:var(--vermelho);font-size:11px;font-weight:600}.file-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:7px;background:var(--vermelho-claro);color:var(--vermelho);font-size:9px;font-weight:700}.action-card form{margin-top:13px}.action-card p{margin-top:7px;color:var(--texto-suave);font-size:12px}.timeline-card{margin-top:14px}.timeline{margin-top:14px;list-style:none}.timeline li{display:grid;grid-template-columns:14px 1fr;gap:10px;padding-bottom:16px}.timeline li>span{width:8px;height:8px;margin-top:5px;border-radius:50%;background:var(--vermelho);box-shadow:0 0 0 3px var(--vermelho-claro)}.timeline p{margin-top:2px;color:var(--texto-suave);font-size:12px}.timeline small{display:block;margin-top:3px;color:var(--texto-suave);font-size:10px}
.login-body{display:flex;min-height:100vh;align-items:center;justify-content:center;padding:20px 16px;background:var(--fundo)}.login-shell{width:min(100%,360px)}.login-card{padding:36px 32px;text-align:center;border:1px solid var(--borda);border-top:4px solid var(--vermelho);border-radius:12px;background:#fff}.login-card>img{width:auto;height:64px;margin-bottom:20px}.login-card h1{margin:0 0 7px;font-size:18px}.login-description{margin-bottom:20px;color:var(--texto-suave);font-size:13px;line-height:1.45}.microsoft-login-button{display:flex;width:100%;min-height:45px;align-items:center;justify-content:center;gap:12px;padding:10px 18px;border:1px solid #5b5b5b;border-radius:8px;background:#353535;color:#fff;font-size:14px;font-weight:600;text-decoration:none}.microsoft-login-button:hover{background:#292929}.microsoft-mark{display:grid;width:17px;height:17px;grid-template-columns:1fr 1fr;gap:2px}.microsoft-mark span:nth-child(1){background:#f35325}.microsoft-mark span:nth-child(2){background:#81bc06}.microsoft-mark span:nth-child(3){background:#05a6f0}.microsoft-mark span:nth-child(4){background:#ffba08}
.login-card .alert-error{margin-bottom:14px;padding:11px 13px;border-radius:8px;background:var(--vermelho-claro);color:#8f1712;font-size:12px;text-align:left}
.request-modal{display:flex;max-width:820px;max-height:calc(100vh - 32px);flex-direction:column;overflow:hidden}.request-modal .modal-cabecalho{flex:0 0 auto;padding:11px 20px}.request-modal-form{min-height:0;max-height:none;overflow-y:auto;padding:14px 20px;overscroll-behavior:contain}.request-modal-form .field-grid{margin:0;gap:11px 14px}.request-modal-form .field-grid input,.request-modal-form .field-grid select{min-height:38px;margin-top:4px;padding:8px 11px}.request-modal-form .field-grid textarea{min-height:58px;margin-top:4px;padding:8px 11px}.request-modal-form .upload-box{margin-top:4px;padding:11px 14px}.request-modal-form .upload-actions{margin-top:9px!important}.request-modal-form .upload-button{min-height:36px;padding:8px 15px}.request-modal-form .modal-acoes{margin-top:12px;margin-bottom:-14px;padding:10px 20px}.request-modal-backdrop{backdrop-filter:blur(2px)}.modal-fechar{position:relative;flex:0 0 34px;padding:0;font-size:0;line-height:0}.modal-fechar::before,.modal-fechar::after{position:absolute;top:50%;left:50%;width:13px;height:1.5px;border-radius:2px;background:currentColor;content:"";transform-origin:center}.modal-fechar::before{transform:translate(-50%,-50%) rotate(45deg)}.modal-fechar::after{transform:translate(-50%,-50%) rotate(-45deg)}.botao-menu-lateral{line-height:0}.sidebar-chevron{margin-left:0;transform:translateX(1px) rotate(45deg)}.sidebar-is-collapsed .sidebar-hamburger{display:block;width:14px;height:2px;border-radius:2px;background:currentColor;box-shadow:0 -4px 0 currentColor,0 4px 0 currentColor}
.dashboard-feature-heading .finance-queue-insights{display:grid;min-width:440px;max-width:720px;flex:1;order:initial;width:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0;padding:0 20px;border:0;border-right:1px solid #ededed;border-left:1px solid #ededed;border-radius:0;background:transparent}.dashboard-feature-heading .finance-insight-panel{display:grid;min-width:0;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:12px;padding:0;border:0}.finance-donut svg{display:block;width:76px;height:76px;overflow:visible}.finance-donut circle{fill:none;transform:rotate(-90deg);transform-origin:50% 50%}.finance-donut-track{stroke:#ececec;stroke-width:5}.finance-donut-segment{stroke-width:5;stroke-linecap:butt}.finance-donut text{fill:var(--texto);font-size:8px;font-weight:700;text-anchor:middle}.finance-donut .finance-donut-caption{fill:var(--texto-suave);font-size:4px;font-weight:500}.finance-donut-info{min-width:0}.finance-donut-info h2{margin-bottom:6px;color:var(--texto);font-size:11px}.finance-donut-info ul,.finance-donut-info ol{display:grid;gap:3px;margin:0;padding:0;list-style:none}.finance-donut-info li{display:grid;min-width:0;grid-template-columns:7px minmax(0,1fr) 18px;align-items:center;gap:5px;color:var(--texto-suave);font-size:9px}.finance-donut-info li i{display:block;width:6px;height:6px;border-radius:2px}.finance-donut-info li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.finance-donut-info li strong{color:var(--texto);font-size:9px;text-align:right}.finance-donut-segment.chart-color-1,.finance-donut-info i.chart-color-1{stroke:#e2231a;background:#e2231a}.finance-donut-segment.chart-color-2,.finance-donut-info i.chart-color-2{stroke:#ef6a62;background:#ef6a62}.finance-donut-segment.chart-color-3,.finance-donut-info i.chart-color-3{stroke:#667085;background:#667085}.finance-donut-segment.chart-color-4,.finance-donut-info i.chart-color-4{stroke:#98a2b3;background:#98a2b3}.finance-donut-segment.chart-color-5,.finance-donut-info i.chart-color-5{stroke:#b54708;background:#b54708}
.dashboard-feature-heading .finance-queue-insights{min-width:560px;max-width:none;gap:clamp(24px,3vw,48px);padding:0 clamp(22px,2.5vw,38px)}.dashboard-feature-heading .finance-insight-panel{grid-template-columns:96px minmax(120px,1fr);gap:16px}.finance-donut svg{width:96px;height:96px}.finance-donut-track,.finance-donut-segment{stroke-width:5.5}.finance-donut text{font-size:8.5px}.finance-donut .finance-donut-caption{font-size:4.2px}.finance-donut-info h2{margin-bottom:8px;font-size:12px}.finance-donut-info ul,.finance-donut-info ol{gap:4px}.finance-donut-info li{grid-template-columns:8px minmax(0,1fr) 20px;gap:6px;font-size:10px}.finance-donut-info li i{width:7px;height:7px}.finance-donut-info li strong{font-size:10px}.finance-donut-segment.payment-color-1,.finance-donut-info i.payment-color-1{stroke:#e2231a;background:#e2231a}.finance-donut-segment.payment-color-2,.finance-donut-info i.payment-color-2{stroke:#2563eb;background:#2563eb}.finance-donut-segment.payment-color-3,.finance-donut-info i.payment-color-3{stroke:#169447;background:#169447}.finance-donut-segment.payment-color-4,.finance-donut-info i.payment-color-4{stroke:#d97706;background:#d97706}.finance-donut-segment.payment-color-5,.finance-donut-info i.payment-color-5{stroke:#667085;background:#667085}.finance-donut-segment.requester-color-1,.finance-donut-info i.requester-color-1{stroke:#2563eb;background:#2563eb}.finance-donut-segment.requester-color-2,.finance-donut-info i.requester-color-2{stroke:#0f9f91;background:#0f9f91}.finance-donut-segment.requester-color-3,.finance-donut-info i.requester-color-3{stroke:#7c3aed;background:#7c3aed}.finance-donut-segment.requester-color-4,.finance-donut-info i.requester-color-4{stroke:#ea580c;background:#ea580c}.finance-donut-segment.requester-color-5,.finance-donut-info i.requester-color-5{stroke:#475467;background:#475467}
.dashboard-feature-heading{flex-wrap:nowrap}.dashboard-feature-heading .finance-insight-panel{display:block}.dashboard-feature-heading .finance-insight-panel+.finance-insight-panel{position:relative;padding-left:clamp(18px,2vw,30px)}.dashboard-feature-heading .finance-insight-panel+.finance-insight-panel::before{position:absolute;top:18px;bottom:18px;left:0;width:1px;background:#e1e1e1;content:""}.finance-insight-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:3px}.finance-insight-panel>header h2{color:var(--texto);font-size:11px;line-height:1.25}.finance-insight-panel>header span{display:block;margin-top:2px;color:var(--texto-suave);font-size:9px}.finance-monthly-chart{display:block;width:100%;height:auto;aspect-ratio:420/94;overflow:visible}.finance-chart-axis{stroke:#d7d7d7;stroke-width:1}.finance-month-bar{fill:#98a2b3}.finance-month-bar.is-current{fill:var(--vermelho)}.finance-chart-value{fill:#475467;font-size:7px;font-weight:700;text-anchor:middle}.finance-chart-label{fill:#667085;font-size:8.5px;font-weight:500;text-anchor:middle}.finance-month-total{margin:0;color:#98a2b3;font-size:8.5px;line-height:1.2;white-space:nowrap}.finance-month-total strong{margin-left:4px;color:#667085;font-size:10px}.finance-requester-ranking{display:grid;gap:6px;margin:10px 0 0;padding:0;list-style:none}.finance-requester-ranking li{display:grid;min-width:0;grid-template-columns:17px minmax(72px,115px) minmax(0,1fr) 20px;align-items:center;gap:7px}.finance-requester-ranking li>b{display:grid;width:17px;height:17px;place-items:center;border-radius:4px;background:#e8edf5;color:#344054;font-size:9px}.finance-requester-ranking li:first-child>b{background:#dbeafe;color:#1d4ed8}.finance-requester-ranking li>span{overflow:hidden;color:var(--texto-suave);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.finance-requester-ranking li>strong{color:var(--texto);font-size:10px;text-align:right}.finance-requester-ranking progress{width:100%;min-width:0;max-width:100%;height:7px;overflow:hidden;border:0;border-radius:999px;background:#e4e7ec;color:#2563eb;appearance:none}.finance-requester-ranking progress::-webkit-progress-bar{border-radius:999px;background:#e4e7ec}.finance-requester-ranking progress::-webkit-progress-value{border-radius:999px;background:#2563eb}.finance-requester-ranking progress::-moz-progress-bar{border-radius:999px;background:#2563eb}
.finance-dashboard-heading{display:grid;grid-template-columns:minmax(285px,.55fr) minmax(0,2.45fr) 190px;align-items:center;justify-content:stretch;gap:18px}.finance-dashboard-heading .finance-queue-insights{width:100%;min-width:0;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);padding-right:18px;padding-left:18px}
@media(max-width:1200px){.finance-dashboard-heading{grid-template-columns:minmax(0,1fr) 190px}.finance-dashboard-heading>div:first-of-type{grid-row:1;grid-column:1}.finance-dashboard-heading .request-summary{grid-row:1;grid-column:2}.finance-dashboard-heading .finance-queue-insights{display:grid;grid-row:2;grid-column:1/-1;width:100%;max-width:none;min-width:0;margin-top:2px;padding:14px 0 0;border-top:1px solid #ededed;border-right:0;border-left:0}}
@media(max-height:760px) and (min-width:621px){.request-modal{max-height:calc(100vh - 16px)}.request-modal .modal-cabecalho{padding:7px 18px}.request-modal-form{padding:9px 18px}.request-modal-form .field-grid{gap:7px 12px}.request-modal-form .field-grid input,.request-modal-form .field-grid select{min-height:34px;padding:6px 10px}.request-modal-form .field-grid textarea{min-height:44px}.request-modal-form .upload-box{padding:8px 12px}.request-modal-form .upload-actions{margin-top:6px!important}.request-modal-form .upload-button{min-height:32px;padding:6px 13px}.request-modal-form .modal-acoes{margin-top:8px;margin-right:-18px;margin-bottom:-9px;margin-left:-18px;padding:7px 18px}.request-modal-form .modal-acoes .button{min-height:36px;padding:8px 15px}}
@media(max-height:900px) and (min-width:621px){.request-summary{gap:8px}.request-summary .card-num{padding:8px 12px}.request-summary .card-num strong{font-size:23px}.request-filter-bar,.payment-history-filter{margin-bottom:10px}.page-heading{margin-bottom:13px}.titulo-pagina{margin-bottom:14px}}
@media(max-width:1200px) and (min-width:621px){.request-summary .card-num{flex-basis:175px}.request-filter-bar .history-term,.payment-history-filter .history-term{min-width:220px}}
@media(max-width:980px) and (min-width:621px){.dashboard-heading{align-items:flex-start;flex-direction:column}.request-summary{width:100%;justify-content:flex-start}.request-summary .card-num{flex:0 1 210px}.dashboard-feature-heading .request-summary{grid-template-columns:repeat(2,minmax(0,210px))}.dashboard-feature-heading .request-summary .card-num{width:100%}}
@media(max-width:900px){.detail-layout{grid-template-columns:1fr}.request-filter-bar .history-term{min-width:180px}}
@media(max-width:620px){.page-heading{align-items:flex-start;flex-direction:column}.page-heading>.button{width:100%}.metrics{display:grid;grid-template-columns:1fr 1fr;width:100%}.metrics article{min-width:0}.request-summary{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.request-summary .card-num,.history-summary .card-num{width:100%;min-width:0;max-width:none;flex-basis:auto}.dashboard-feature-heading{padding:15px}.finance-queue-insights{width:calc(100% + 30px);grid-template-columns:1fr;margin:3px -15px -15px;padding:14px 15px}.finance-insight-panel{padding-right:0}.finance-insight-panel+.finance-insight-panel{margin-top:14px;padding-top:14px;padding-left:0;border-top:1px solid var(--borda);border-left:0}.finance-queue-bar{grid-template-columns:95px minmax(60px,1fr) 20px}.dashboard-feature-heading .request-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-feature-heading .request-summary .card-num{width:100%}.history-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.request-filter-bar>*{width:100%!important;min-width:0!important}.request-filter-bar .inline-date{align-items:stretch}.field-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.form-actions{display:grid}.form-actions .button{width:100%}.form-actions .secondary{order:2}.details{grid-template-columns:1fr}.details>div:nth-child(odd){padding-right:0}.details .wide{grid-column:auto}.request-modal{max-height:100vh}.request-modal-form{max-height:calc(100vh - 56px);overflow-y:auto}.request-modal-form .modal-acoes{margin-right:-20px;margin-left:-20px}.request-modal-form .modal-acoes .button{flex:1}.upload-actions{align-items:flex-start;flex-direction:column}.upload-box .upload-summary{width:100%;white-space:normal}.global-last-update{position:static;margin-top:12px;padding:0 12px 10px;text-align:right}}
@media(max-width:420px){.metrics,.request-summary,.history-summary,.dashboard-feature-heading .request-summary{grid-template-columns:1fr}}

.request-detail-backdrop{backdrop-filter:blur(2px)}
.request-detail-modal{width:min(920px,100%);max-width:920px;max-height:calc(100vh - 32px)}
.request-detail-header>div{display:flex;min-width:0;align-items:center;gap:12px}
.request-detail-header>div:first-child{align-items:flex-start;flex-direction:column;gap:2px}
.request-detail-header>div:first-child>span{color:var(--texto-suave);font-size:11px;font-weight:700;letter-spacing:.04em}
.request-detail-header h2{overflow:hidden;max-width:620px;text-overflow:ellipsis;white-space:nowrap}
.request-detail-modal-content{padding:16px 20px;background:#f7f7f7}
.request-detail-modal-content .detail-layout{grid-template-columns:minmax(0,1fr) 290px}
.request-detail-modal-content .panel{box-shadow:none}
.request-detail-modal-content .timeline-card{margin-bottom:2px}
.document-actions{display:flex!important;flex:0 0 auto;align-items:center;gap:5px;margin:0!important}
.document-action{display:grid;width:32px;height:32px;place-items:center;border:1px solid var(--borda);border-radius:7px;background:#fff;color:var(--texto-suave)!important;text-decoration:none}
.document-action:hover,.document-action:focus{border-color:var(--vermelho);background:var(--vermelho-claro);color:var(--vermelho)!important;outline:none}
.document-action svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rejection-open{margin-top:10px}
.rejection-modal-backdrop{z-index:220;backdrop-filter:blur(2px)}
.rejection-modal{max-width:520px}
.rejection-form>p{margin-bottom:14px;color:var(--texto-suave);font-size:13px;line-height:1.45}
.rejection-form label{display:block;color:var(--texto-suave);font-size:13px;font-weight:600}
.rejection-form label b{color:var(--vermelho)}
.rejection-form textarea{width:100%;min-height:110px;margin-top:7px;padding:10px 12px;resize:vertical;border:1px solid var(--borda);border-radius:8px;background:#fff;color:var(--texto)}
.rejection-form textarea:focus{outline:none;border-color:var(--vermelho);box-shadow:0 0 0 3px rgba(226,35,26,.1)}
.admin-delete-button,.admin-delete-confirm{border:1px solid #b42318;background:#b42318;color:#fff}.admin-delete-button:hover,.admin-delete-confirm:hover{border-color:#8f1712;background:#8f1712}.request-detail-modal>.modal-acoes .admin-delete-button{margin-right:auto}.deletion-modal-backdrop{z-index:230;backdrop-filter:blur(2px)}.deletion-modal{max-width:520px}.deletion-form>p{margin-bottom:15px;color:var(--texto-suave);font-size:13px;line-height:1.5}.deletion-form label{display:block;color:var(--texto-suave);font-size:13px;font-weight:600}.deletion-form label strong{color:var(--texto)}.deletion-form input{width:100%;min-height:42px;margin-top:7px;padding:10px 12px;border:1px solid var(--borda);border-radius:8px;background:#fff;color:var(--texto);font-family:monospace;letter-spacing:.08em}.deletion-form input:focus{outline:none;border-color:#b42318;box-shadow:0 0 0 3px rgba(180,35,24,.12)}
@media(max-width:900px){.request-detail-modal-content .detail-layout{grid-template-columns:1fr}}
@media(max-width:620px){.request-detail-header{align-items:flex-start}.request-detail-header>div:last-child{align-items:flex-end}.request-detail-header h2{max-width:calc(100vw - 150px)}.request-detail-modal-content{padding:12px}.request-detail-modal>.modal-acoes .button{width:100%}}

/* Em telas estreitas, preserva os gráficos e reorganiza o conteúdo sem cortes. */
@media(max-width:980px){
  .finance-dashboard-heading{display:grid;grid-template-columns:minmax(0,1fr) 190px;align-items:start}
  .finance-dashboard-heading>div:first-of-type{grid-row:1;grid-column:1}
  .finance-dashboard-heading .request-summary{grid-row:1;grid-column:2;width:190px;grid-template-columns:190px}
  .finance-dashboard-heading .finance-queue-insights{display:grid;grid-row:2;grid-column:1/-1;width:100%;max-width:none;min-width:0;grid-template-columns:1fr;margin-top:2px;padding:14px 0 0;border-top:1px solid #ededed;border-right:0;border-left:0}
  .finance-dashboard-heading .finance-insight-panel+.finance-insight-panel{margin-top:14px;padding-top:14px;padding-left:0;border-top:1px solid #ededed}
  .finance-dashboard-heading .finance-insight-panel+.finance-insight-panel::before{display:none}
}

@media(max-width:620px){
  .finance-dashboard-heading{display:flex;align-items:stretch;flex-direction:column}
  .finance-dashboard-heading .finance-queue-insights{order:2;width:100%;grid-template-columns:1fr;margin:12px 0 0;padding:14px 0 0}
  .finance-dashboard-heading .request-summary{order:3;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}
  .finance-dashboard-heading .request-summary .card-num{width:100%}
}

/* Alternância de área disponível exclusivamente para administradores. */
.admin-view-switch{margin-top:auto;padding:12px 16px;border-top:1px solid var(--borda)}
.admin-view-switch>span{display:block;margin-bottom:7px;color:var(--texto-suave);font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.05em}
.admin-view-switch>div{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:3px;border-radius:8px;background:#ededed}
.admin-view-switch form{margin:0}
.admin-view-switch button{width:100%;min-height:30px;padding:6px 7px;border:0;border-radius:6px;background:transparent;color:var(--texto-suave);font:inherit;font-size:11px;font-weight:600;cursor:pointer}
.admin-view-switch button:hover{color:var(--texto)}
.admin-view-switch button.ativo{background:#fff;color:var(--vermelho);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.admin-view-switch+.finance-menu-footer{margin-top:0}
.status.cancelled,.status.finance_cancelled{background:#ececec;color:#555}
.cancellation-notice{margin-bottom:16px;padding:13px 17px;border:1px solid var(--borda);border-radius:9px;background:var(--fundo);color:var(--texto)}.cancellation-notice p{margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere}.cancellation-notice small{color:var(--texto-suave)}.card-num.history-counter-cancelled{border-left-color:#667085}.card-num.history-counter-cancelled strong{color:#344054}
.cancel-request-button,.cancel-request-confirm{border:1px solid #b42318;background:#b42318;color:#fff}
.cancel-request-button:hover,.cancel-request-confirm:hover{border-color:#8f1712;background:#8f1712}
.request-detail-modal>.modal-acoes .cancel-request-button{margin-right:auto}
.cancellation-modal-backdrop{z-index:230;backdrop-filter:blur(2px)}
.cancellation-modal{max-width:520px}
.cancellation-form>p{margin-bottom:15px;color:var(--texto-suave);font-size:13px;line-height:1.5}
.users-table td:first-child span{display:block;margin-top:3px;color:var(--texto-suave);font-size:11px}.users-table th:last-child,.users-table td:last-child{width:90px}.user-modal{max-width:560px}.user-form{display:grid;gap:14px}.user-form>label{display:grid;gap:6px;color:var(--texto-suave);font-size:13px;font-weight:600}.user-form input,.user-form select{width:100%;min-height:42px;padding:9px 11px;border:1px solid var(--borda);border-radius:8px;background:#fff;color:var(--texto)}.user-form small,.user-email{color:var(--texto-suave);font-size:11px;line-height:1.4}.user-active-toggle{display:flex!important;grid-template-columns:auto 1fr;align-items:center;justify-content:start}.user-active-toggle input{width:17px;min-height:17px}.user-form .modal-acoes{margin-bottom:-18px}
@media print{body.printing-request{background:#fff}.printing-request .menu-lateral,.printing-request .botao-menu-lateral,.printing-request .global-last-update{display:none!important}.printing-request .conteudo-principal,.printing-request .page-shell{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.printing-request .page-shell>:not(.is-print-target){display:none!important}.printing-request .request-detail-backdrop.is-print-target{position:static!important;display:block!important;padding:0!important;background:#fff!important;backdrop-filter:none!important}.printing-request .request-detail-modal{width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;border:0!important;border-radius:0!important;box-shadow:none!important}.printing-request .request-detail-header{padding:10mm 8mm 5mm!important}.printing-request .request-detail-modal-content{overflow:visible!important;padding:5mm 8mm!important;background:#fff!important}.printing-request .request-detail-modal-content .detail-layout{grid-template-columns:minmax(0,1fr) 68mm!important}.printing-request .request-detail-modal-content .panel{break-inside:avoid;border-color:#cfcfcf!important}.printing-request .request-detail-modal>.modal-acoes,.printing-request .request-print-button,.printing-request .modal-fechar,.printing-request .document-actions,.printing-request .action-card{display:none!important}.printing-request .timeline-card{break-inside:auto!important}.printing-request .timeline li{break-inside:avoid}.printing-request .files li{break-inside:avoid}@page{size:A4 portrait;margin:8mm}}
.required-fields-note{margin:0 0 16px;color:var(--texto-suave);font-size:12px}.required-fields-note b{color:var(--vermelho)}
.table-wrap td a:hover strong,.payment-history-table .history-request-link:hover strong{color:var(--texto)}
.clickable-row:focus-visible{outline:2px solid #98a2b3;outline-offset:-2px}
.fogos-efeito{position:fixed;inset:0;z-index:3000;pointer-events:none}.fogos-efeito canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.toast[data-submission-feedback]{text-align:center;font-size:18px}
.toast-submission{justify-self:end;max-width:100%;padding:11px 16px;border:1px solid #d5e8db;border-left:3px solid #176b31;background:#fff;color:#176b31;font-size:13px;box-shadow:0 6px 18px rgba(0,0,0,.08)}
@media print{.fogos-efeito{display:none!important}}
.upload-box{position:relative}.upload-box.is-drag-ready{border-color:#eeaaa5;background:#fff8f7}.upload-box.is-drag-over{border-color:var(--vermelho);background:#fff1ef;box-shadow:0 0 0 3px rgba(226,35,26,.1)}
.upload-box .upload-drop-hint{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;margin:0;border-radius:7px;background:#fff1ef;color:var(--vermelho);font-size:15px;font-weight:700;opacity:0;pointer-events:none;transition:opacity .15s ease}.upload-box.is-drag-over .upload-drop-hint{opacity:1}
@media (prefers-reduced-motion:reduce){.upload-box .upload-drop-hint{transition:none}}
@media screen and (prefers-reduced-motion:no-preference){
  .page-shell{animation:finance-page-in .2s ease-out}
  .menu-lateral .menu-item,.admin-view-switch button{transition:background-color .16s ease,color .16s ease,box-shadow .16s ease}
  .button,.document-action,.modal-fechar{transition:background-color .16s ease,color .16s ease,border-color .16s ease}
  .field-grid input,.field-grid select,.field-grid textarea,.upload-box{transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}
  .clickable-row td{transition:background-color .16s ease}
  .branch-suggestions:not([hidden]),.alert.error{animation:finance-control-in .16s ease-out}
  .modal-fundo:not([hidden]){animation:finance-backdrop-in .18s ease-out}
  .modal-fundo:not([hidden])>.modal{animation:finance-modal-in .22s cubic-bezier(.2,.7,.2,1)}
  @keyframes finance-page-in{from{opacity:.78}to{opacity:1}}
  @keyframes finance-control-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
  @keyframes finance-backdrop-in{from{opacity:0}to{opacity:1}}
  @keyframes finance-modal-in{from{opacity:.85;transform:translateY(8px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
}
@media (prefers-reduced-motion:reduce){.menu-lateral,.botao-menu-lateral,.conteudo-principal{transition:none}}
