/* Utilitarios visuais compartilhados. Evite atributos style nos templates. */
.app-text { color: var(--text) !important; }
.app-surface-muted { background: var(--bg-subtle) !important; }
.app-surface-panel {
    background: var(--bg-subtle) !important;
    border-color: var(--border) !important;
}
.app-surface-card {
    background: var(--surface) !important;
    color: var(--text) !important;
}
.app-themed-footer {
    background: var(--surface) !important;
    border-top: 1px solid var(--border) !important;
}
.app-border-color { border-color: var(--border) !important; }
.app-border-dashed { border-style: dashed !important; }
.cursor-pointer { cursor: pointer !important; }
.text-size-10 { font-size: 10px !important; }
.text-size-11 { font-size: 11px !important; }
.text-size-12 { font-size: 12px !important; }
.text-size-13 { font-size: 13px !important; }
.text-size-14 { font-size: 14px !important; }
.text-size-16 { font-size: 16px !important; }
.scroll-y-180, .scroll-y-220, .scroll-y-260,
.scroll-y-300, .scroll-y-320, .scroll-y-400 { overflow-y: auto; }
.scroll-y-180 { max-height: 180px; }
.scroll-y-220 { max-height: 220px; }
.scroll-y-260 { max-height: 260px; }
.scroll-y-300 { max-height: 300px; }
.scroll-y-320 { max-height: 320px; }
.scroll-y-400 { max-height: 400px; }
.control-w-6rem { width: 6rem !important; }
.control-min-w-7rem { min-width: 7rem; }
.control-min-w-9rem { min-width: 9rem; }
.control-max-w-180 { max-width: 180px; }
.table-col-w-34 { width: 34px; }
.table-col-w-40 { width: 40px; }
.table-col-w-50 { width: 50px; }
.table-col-w-52 { width: 52px; }
.table-col-w-80 { width: 80px; }
.table-col-w-92 { width: 92px; }
.table-col-w-100 { width: 100px; }
.table-col-w-105 { width: 105px; }
.table-col-w-115 { width: 115px; }
.table-col-w-120 { width: 120px; }
.table-col-w-150 { width: 150px; }
.table-col-w-160 { width: 160px; }
.content-min-w-220 { min-width: 220px; }
.content-min-w-280 { min-width: 280px; }
.content-min-w-360 { min-width: 360px; }
.progress-h-8 { height: 8px; }
.progress-h-10 { height: 10px; }
.progress-h-20 { height: 20px; }
.progress-h-28 { height: 28px; }
.full-grid-row { grid-column: 1 / -1; }
.empty-state-spacious { padding: 24px !important; }
.mobile-shell-480 { max-width: 480px; margin-inline: auto; }
.sidebar-submenu-link { padding-left: 2.5rem !important; }
.sidebar-submenu-chevron {
    float: right;
    font-size: .8em;
}
.sidebar-submenu-reset {
    padding-left: 0;
    list-style: none;
}
.auth-logo-compact {
    max-width: 180px;
    max-height: 64px;
    object-fit: contain;
}
.auth-logo-primary {
    max-width: 296px;
    max-height: 180px;
    object-fit: contain;
}
.auth-error-accent { border-left: 3px solid var(--danger) !important; }
.media-max-vh-70 { max-height: 70vh; }
.search-results-menu { max-height: 300px; overflow-y: auto; }
.notification-menu-size {
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
}
.layer-topmost { z-index: 9999; }
.skeleton-h-120 { height: 120px; }
.legend-dot-ok { background: #22c55e !important; }
.legend-dot-incomplete { background: #eab308 !important; }
.legend-dot-missing { background: #ef4444 !important; }
.legend-dot-holiday { background: #3b82f6 !important; }
.legend-dot-empty { background: #a1a1aa !important; }
.touch-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}
.action-min-h-48 { min-height: 48px; font-weight: 800; }
.ponto-falta-cell { width: 28px; padding: 2px !important; }
