.call-report-filters{margin-top:18px}.call-report-actions{margin:16px 0}#callReportCustomFields{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-top:14px}.call-report-history{display:grid;gap:9px;margin:18px 0}.call-report-card{width:100%;display:flex;justify-content:space-between;gap:16px;padding:14px 16px;text-align:left;background:var(--surface,#fff);border:1px solid var(--border-color,#ddd);border-radius:12px;color:inherit}.call-report-card span:first-child{display:grid;gap:4px}.call-report-card small{color:var(--text-muted,#666)}.call-report-card.is-active{border-color:#7a1736;box-shadow:0 0 0 2px rgba(122,23,54,.12)}.call-report-card__totals{display:flex;gap:8px;align-items:center;white-space:nowrap}.call-report-card__totals b{padding:5px 8px;border-radius:999px;background:#f3f4f6}.call-report-sheet{background:#fff;color:#171717;border:1px solid #d7d7d7;border-top:6px solid #7a1736;border-radius:14px;padding:22px}.call-report-sheet header{display:flex;align-items:center;gap:16px;border-bottom:2px solid #7a1736;padding-bottom:14px}.call-report-sheet header img{width:68px;height:68px;object-fit:contain}.call-report-sheet header span{color:#7a1736;font-size:11px;font-weight:800;letter-spacing:.12em}.call-report-sheet header h3{margin:3px 0}.call-report-sheet header p{margin:0;color:#555}.call-report-meta,.call-report-totals{display:flex;flex-wrap:wrap;gap:10px 24px;padding:12px 0}.call-report-totals{border-block:1px solid #ddd}.call-report-sheet table{width:100%;border-collapse:collapse;margin-top:14px}.call-report-sheet th,.call-report-sheet td{padding:9px;border:1px solid #ddd;text-align:left}.call-report-sheet th{background:#f3f0f1}.call-status{font-weight:700}.call-status--presente{color:#166534}.call-status--falta{color:#b42318}.call-status--justificado{color:#1d4ed8}
@media print{body.printing-call-report *{visibility:hidden!important}body.printing-call-report #tab-relatorios-impressao,body.printing-call-report #tab-relatorios-impressao *{visibility:visible!important}body.printing-call-report #tab-relatorios-impressao{position:absolute;inset:0;display:block!important}body.printing-call-report .call-report-filters,body.printing-call-report .call-report-actions,body.printing-call-report .call-report-history,body.printing-call-report .report-status,body.printing-call-report .panel-title-row,body.printing-call-report #callReportCustomFields{display:none!important}body.printing-call-report .call-report-sheet{border-radius:0;border-inline:0;border-bottom:0}@page{size:A4 portrait;margin:12mm}}

.call-report-builder{margin-top:16px;padding:16px;border:1px solid var(--border-color,#ddd);border-radius:14px;background:var(--surface,#fff)}
.call-builder-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:14px}.call-builder-head>div:first-child{display:grid;gap:3px}.call-builder-head small{color:var(--text-muted,#666)}.call-builder-head button,.call-builder-order button{padding:4px 8px;border:1px solid var(--border-color,#ddd);border-radius:7px;background:transparent;color:inherit;cursor:pointer}
.call-builder-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.call-builder-grid fieldset{min-width:0;padding:12px;border:1px solid var(--border-color,#ddd);border-radius:10px}.call-builder-grid legend{padding:0 6px;font-weight:800;font-size:.86rem}.call-builder-grid label{display:flex;gap:8px;align-items:flex-start;padding:5px 2px;font-size:.84rem;line-height:1.3}.call-builder-grid input{width:15px!important;height:15px!important;min-width:15px;margin:1px 0 0}.call-builder-group{margin-bottom:5px;padding-bottom:8px!important;border-bottom:1px solid var(--border-color,#ddd);font-weight:700}
.call-builder-order{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px;padding-top:12px;border-top:1px solid var(--border-color,#ddd)}.call-builder-order>b{width:100%}.call-builder-order span{display:inline-flex;align-items:center;gap:4px;padding:5px 7px;border-radius:8px;background:rgba(122,23,54,.07);font-size:.78rem}
.call-report-metadata{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:14px 0}.call-report-metadata div{padding:8px;border-radius:8px;background:#f6f3f4}.call-report-metadata dt{font-size:10px;text-transform:uppercase;color:#6b5b61;font-weight:800}.call-report-metadata dd{margin:3px 0 0;font-size:12px}.call-report-table-wrap{overflow:auto}.report-status.error{color:#b42318}
@media(max-width:900px){.call-builder-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.call-report-metadata{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.call-builder-head{align-items:flex-start;flex-direction:column}.call-builder-grid{grid-template-columns:1fr}.call-report-card{flex-direction:column}.call-report-card__totals{flex-wrap:wrap}.call-report-sheet{padding:14px}.call-report-sheet header{align-items:flex-start}.call-report-sheet header img{width:48px;height:48px}.call-report-metadata{grid-template-columns:1fr}.call-report-table-wrap{overflow-x:auto}.call-report-sheet table{min-width:560px}}
@media print{body.printing-call-report .call-report-sheet{break-after:page;page-break-after:always;margin:0;padding:5mm 0}body.printing-call-report .call-report-sheet:last-child{break-after:auto;page-break-after:auto}body.printing-call-report .call-report-table-wrap{overflow:visible}body.printing-call-report .call-report-sheet table{font-size:8pt}body.printing-call-report .call-report-sheet thead{display:table-header-group}body.printing-call-report .call-report-sheet tr{break-inside:avoid;page-break-inside:avoid}body.printing-call-report .call-report-metadata{grid-template-columns:repeat(4,minmax(0,1fr))}}
.call-report-card{align-items:stretch;padding:0;overflow:hidden;background:#fff}.call-report-card__select{display:flex;justify-content:space-between;align-items:center;gap:16px;min-width:0;flex:1;padding:15px 16px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.call-report-card__select>span:first-child{display:grid;gap:4px;min-width:0}.call-report-card__select:hover{background:#faf7f8}.call-report-card__select:focus-visible{outline:3px solid rgba(122,23,54,.2);outline-offset:-3px}.call-report-card__view{align-self:center;flex:0 0 auto;margin:12px 14px 12px 0;white-space:nowrap}.call-report-selection{display:grid;gap:4px;margin-top:14px;padding:14px 16px;border:1px solid #d9c6cc;border-radius:12px;background:#fbf8f9}.call-report-selection span{color:#7a1736;font-size:.72rem;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.call-report-selection small{color:var(--text-muted,#666)}.call-report-selection--empty{color:var(--text-muted,#666);border-style:dashed;background:#fafafa}.call-report-actions #callReportPrint:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:700px){.call-report-card{display:grid;grid-template-columns:1fr}.call-report-card__select{align-items:flex-start;flex-direction:column}.call-report-card__view{width:calc(100% - 28px);margin:0 14px 14px}.call-report-card__totals{align-self:flex-start}.call-report-actions{display:grid;grid-template-columns:1fr}.call-report-actions button{width:100%}}

/* Refinamento responsivo do módulo, sem alterar os estilos globais das demais abas. */
.call-report-panel{overflow:hidden}.call-report-filters>*{min-width:0}.call-report-card__select small{overflow-wrap:anywhere}.call-report-card__view{min-height:42px}.call-report-builder fieldset{background:color-mix(in srgb,var(--surface,#fff) 96%,#8f193b 4%)}
@media(max-width:768px){.call-report-panel{padding-inline:12px}.call-report-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}.call-report-history{margin-inline:0}.call-report-card__select{padding:13px}.call-builder-order span{max-width:100%;flex-wrap:wrap}}
@media(max-width:430px){.call-report-filters{grid-template-columns:1fr!important}.call-report-card__totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.call-report-card__totals b{text-align:center}.call-report-card__view{width:calc(100% - 24px);margin:0 12px 12px}.call-report-builder{padding:12px}.call-builder-head>div:last-child{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:7px}.call-builder-head button{min-height:40px}.call-report-sheet table{min-width:0}.call-report-table-wrap{overflow-x:visible}}

/* Apresentacao compacta da listagem administrativa; os dados e filtros permanecem inalterados. */
.call-report-title{margin-bottom:10px}.call-report-title p,.call-report-title .badge{display:none}
.call-report-filters-panel{margin-top:6px}.call-report-filters-panel>summary{cursor:pointer;padding:9px 12px;color:#6f1735;font-weight:800;list-style:none}.call-report-filters-panel>summary::-webkit-details-marker{display:none}.call-report-filters-panel>summary::before{content:'+';display:inline-grid;place-items:center;width:20px;height:20px;margin-right:7px;border-radius:50%;background:#f2e5e9}.call-report-filters-panel[open]>summary::before{content:'−'}
.call-report-filters{margin-top:0;padding:12px;border:1px solid #e4d9de;border-radius:14px;background:#fcfafb;gap:10px}
.call-report-card{border-radius:16px;box-shadow:0 8px 20px rgba(15,23,42,.045);gap:10px}
.call-report-card__select{padding:14px 16px}.call-report-card__select b{font-size:1rem;color:#172b45}.call-report-card__select small{line-height:1.35}
.call-report-card__totals{gap:6px}.call-report-card__totals b{min-width:58px;text-align:center;font-size:.76rem}.call-report-card__totals b:first-child{background:#e9f7ef;color:#166534}.call-report-card__totals b:nth-child(2){background:#fff0f0;color:#b42318}.call-report-card__totals b:nth-child(3){background:#eef3ff;color:#1d4ed8}
@media(max-width:600px){.call-report-panel{padding:12px}.call-report-title{padding-inline:2px}.call-report-title h2{font-size:1.25rem}.call-report-filters{padding:10px;border-radius:12px}.call-report-card{border-radius:14px}.call-report-card__select{padding:12px}.call-report-card__select b{font-size:.95rem}.call-report-card__view{min-height:40px}}

/* Indicadores e ações exclusivos do Relatório de Chamada administrativo. */
.call-report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 18px}.call-report-metrics article{display:grid;gap:4px;min-width:0;padding:13px 14px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;box-shadow:0 6px 16px rgba(15,23,42,.04)}.call-report-metrics span{color:#64748b;font-size:.72rem;font-weight:750;text-transform:uppercase;letter-spacing:.06em}.call-report-metrics b{color:#172b45;font-size:1.35rem}.call-report-metrics .is-present{border-color:#c8ead6;background:#f3fcf6}.call-report-metrics .is-present b{color:#166534}.call-report-metrics .is-absent{border-color:#f6d2d2;background:#fff8f8}.call-report-metrics .is-absent b{color:#b42318}.call-report-actions{align-items:center}.call-report-actions__divider{width:1px;height:30px;background:#e4d9de;margin-inline:2px}.call-report-actions button{min-height:42px}.call-builder-group-panel{min-width:0;border:1px solid var(--border-color,#ddd);border-radius:10px;background:color-mix(in srgb,var(--surface,#fff) 96%,#8f193b 4%)}.call-builder-group-panel summary{cursor:pointer;padding:12px;font-size:.86rem;font-weight:800}.call-builder-group-panel>div{padding:0 12px 10px}.call-builder-group-panel label{display:flex;gap:8px;align-items:flex-start;padding:5px 2px;font-size:.84rem;line-height:1.3}.call-builder-group-panel input{width:15px!important;height:15px!important;min-width:15px;margin:1px 0 0}
@media(max-width:700px){.call-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.call-report-actions{grid-template-columns:1fr 1fr!important}.call-report-actions__divider{display:none}.call-report-actions #callReportPrint{grid-column:1/-1}.call-report-actions button{width:100%}}
.call-report-card__delete{color:#8f193b;border-color:#d8b7c1;font-size:.78rem;padding:7px 10px}.call-report-card__delete:hover{background:#fff1f4}
.call-report-delete-dialog{border:0;border-radius:18px;padding:0;max-width:min(92vw,520px);width:100%;box-shadow:0 24px 70px #0004}.call-report-delete-dialog::backdrop{background:#160a1088}.call-report-delete-dialog form{display:grid;gap:14px;padding:24px}.call-report-delete-dialog h3{margin:0;color:#68152f}.call-report-delete-dialog textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #ccd5e0;border-radius:10px;padding:10px;resize:vertical}.call-report-delete-dialog output{color:#a51d3f}.call-report-delete-dialog footer{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
