/* Central SEJUV v1.0.15 — módulo de Horas Extras. */
.overtime-toolbar .month-control{display:flex;flex-direction:column;gap:4px;font-size:11px;font-weight:900;text-transform:uppercase;color:var(--muted)}
.overtime-toolbar .month-control input{min-width:158px}
.overtime-rule-card{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;border-left:5px solid var(--teal)!important}
.overtime-rule-card h3{margin:4px 0}.overtime-rule-card p{margin:4px 0;color:var(--muted);max-width:850px}
.overtime-kpis .kpi{font-size:28px}.overtime-kpis .kpi-label{line-height:1.35}
.overtime-filter-card{margin-bottom:18px}.overtime-filter-card .formgrid{align-items:end}
.overtime-summary-table,.overtime-entry-table{min-width:1180px}
.overtime-summary-table th:nth-child(1){min-width:180px}.overtime-summary-table th:nth-child(6){min-width:170px}
.overtime-entry-table th:nth-child(2){min-width:260px}.overtime-entry-table th:nth-child(4){min-width:160px}
.overtime-actions{white-space:nowrap}.overtime-actions .btn{margin:2px}
.overtime-period-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0 8px}.overtime-period-head h3{margin:0}
.overtime-period-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) minmax(105px,.45fr) auto;align-items:end;gap:10px;border:1px solid var(--line);border-radius:16px;padding:12px;margin:8px 0;background:rgba(60,185,186,.06)}
.overtime-period-row .field{margin:0}.overtime-next-day{min-height:44px;align-items:center}
.overtime-period-duration{display:flex;min-height:44px;flex-direction:column;justify-content:center;padding:4px 8px}.overtime-period-duration span{font-size:11px;color:var(--muted);text-transform:uppercase;font-weight:900}.overtime-period-duration b{color:var(--teal)}
.overtime-total-preview{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 18px;padding:13px 15px;border-radius:15px;background:rgba(255,213,31,.14);border:1px solid rgba(255,213,31,.42)}
.overtime-total-preview b{font-size:20px;color:var(--teal)}
.overtime-comp-row{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(150px,.7fr) minmax(230px,1.3fr) auto;align-items:end;gap:10px;border:1px solid var(--line);border-radius:16px;padding:12px;margin:8px 0}
.overtime-comp-row .field{margin:0}
.overtime-review-card{margin-top:18px;border-color:rgba(255,213,31,.52)!important}.overtime-import-meta{padding:12px;border-radius:14px;background:rgba(60,185,186,.08);margin:10px 0;word-break:break-word}
.overtime-review-card details{margin:12px 0;border:1px solid var(--line);border-radius:14px;padding:12px}.overtime-review-card summary{cursor:pointer;font-weight:900}
.review-list{display:grid;gap:8px;margin-top:10px}.review-list article{display:grid;grid-template-columns:minmax(220px,1fr) minmax(300px,2fr) auto;gap:12px;align-items:center;padding:10px;border-radius:12px;background:rgba(255,213,31,.08)}.review-list article span{font-size:12px;color:var(--muted)}
.overtime-history-list{display:grid;gap:10px}.overtime-history-item{border:1px solid var(--line);border-left:4px solid var(--teal);border-radius:14px;padding:12px}.overtime-history-item div{display:flex;justify-content:space-between;gap:12px}.overtime-history-item span{color:var(--muted);font-size:12px}.overtime-history-item p{margin:8px 0 0}
.highlight-row td{animation:overtime-highlight 2.4s ease-out}@keyframes overtime-highlight{0%,35%{background:rgba(255,213,31,.45)!important}100%{background:rgba(255,255,255,.08)}}
@media(max-width:900px){.overtime-rule-card,.overtime-period-head{align-items:flex-start;flex-direction:column}.overtime-period-row,.overtime-comp-row,.review-list article{grid-template-columns:1fr}.overtime-period-row .btn,.overtime-comp-row .btn{width:100%}}
@media print{#overtime{display:none!important}}
