*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--color-primary: #1e293b;--color-secondary: #0f172a;--color-accent: #3b82f6;--color-bg: #f1f5f9;--color-card: #ffffff;--color-text: #0f172a;--color-text-muted: #64748b;--sidebar-width: 220px;--header-height: 64px}html,body{height:100%;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background-color:#f1f5f9;color:#0f172a;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}.app-container{display:flex;min-height:100vh}.main-content{flex:1;display:flex;flex-direction:column;min-width:0}.page-content{padding:1.75rem 2rem;flex:1}h1,h2,h3,h4,h5,h6{color:#0f172a;font-weight:600;line-height:1.25}.page-title-group{margin-bottom:1.75rem;padding:1.25rem 1.65rem;background:#fff;border-radius:14px;border:1px solid #e2e8f0;border-left:5px solid #2563eb;box-shadow:0 1px 3px #0000000a,0 4px 10px #00000005}.page-title-group .title-with-actions,.page-title-group .title-with-badge{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem}.page-title-group h1{font-size:1.65rem;font-weight:800;color:#0f172a;letter-spacing:-.03em;line-height:1.2;margin:0}.page-title-group p{color:#475569;font-size:.9rem;font-weight:500;margin-top:.35rem;line-height:1.45}.page-title-group .badge-total{background:#eff6ff;color:#1d4ed8;font-size:.8rem;font-weight:700;padding:4px 12px;border-radius:9999px;border:1px solid #bfdbfe;letter-spacing:-.01em;display:inline-flex;align-items:center;gap:4px}.form-group{display:flex;flex-direction:column;gap:.375rem;margin-bottom:1.25rem}.form-group label{font-size:.8125rem;font-weight:600;color:#0f172a;display:flex;align-items:center;gap:4px}.form-group label .required{color:#ef4444}.form-group input,.form-group select,.form-group textarea{width:100%;padding:.625rem .875rem;font-family:inherit;font-size:.875rem;border:1px solid #e2e8f0;border-radius:6px;background-color:#fff;color:#0f172a;transition:border-color .15s ease,box-shadow .15s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.form-group input:disabled,.form-group select:disabled,.form-group textarea:disabled{background-color:#f1f5f9;color:#64748b;cursor:not-allowed}.form-group input.ng-invalid.ng-touched,.form-group select.ng-invalid.ng-touched,.form-group textarea.ng-invalid.ng-touched{border-color:#ef4444;box-shadow:0 0 0 3px #ef444426}.form-group .form-error{font-size:.75rem;color:#ef4444;font-weight:500;margin-top:2px}.form-group .form-hint{font-size:.75rem;color:#64748b}.form-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:1rem}.col-12{grid-column:span 12}.col-8{grid-column:span 8}.col-6{grid-column:span 6}.col-4{grid-column:span 4}.col-3{grid-column:span 3}.checkbox-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.75rem;max-height:180px;overflow-y:auto;padding:.75rem;border:1px solid #e2e8f0;border-radius:6px;background-color:#fafafa}.checkbox-label{display:flex;align-items:center;gap:.5rem;font-size:.8125rem;cursor:pointer;-webkit-user-select:none;user-select:none}.checkbox-label input[type=checkbox]{width:16px;height:16px;accent-color:#3b82f6;cursor:pointer}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.625rem 1.25rem;font-family:inherit;font-size:.875rem;font-weight:600;border-radius:6px;border:1px solid transparent;cursor:pointer;transition:all .15s ease-in-out;text-decoration:none;white-space:nowrap}.btn:disabled{opacity:.6;cursor:not-allowed;pointer-events:none}.btn svg{width:18px;height:18px}.btn.btn-primary{background-color:#3b82f6;color:#fff}.btn.btn-primary:hover:not(:disabled){background-color:#2563eb;box-shadow:0 4px 12px #3b82f640}.btn.btn-secondary{background-color:#fff;border-color:#e2e8f0;color:#0f172a}.btn.btn-secondary:hover:not(:disabled){background-color:#f1f5f9;border-color:#cbd5e1}.btn.btn-outline{background-color:#fff;border:1px solid #cbd5e1;color:#334155}.btn.btn-outline:hover:not(:disabled){background-color:#f8fafc;border-color:#94a3b8;color:#0f172a}.btn.btn-danger{background-color:#ef4444;color:#fff}.btn.btn-danger:hover:not(:disabled){background-color:#dc2626;box-shadow:0 4px 12px #ef444440}.btn.btn-icon{padding:.5rem;border-radius:6px;color:#64748b}.btn.btn-icon:hover{background-color:#f1f5f9;color:#0f172a}.btn.btn-icon.btn-icon-danger:hover{background-color:#fef2f2;color:#ef4444}.btn.btn-icon.btn-icon-accent:hover{background-color:#eff6ff;color:#3b82f6}.table-card{background:#fff;border-radius:10px;border:1px solid #e2e8f0;box-shadow:0 1px 2px #0000000d;transition:all .2s ease-in-out;overflow:hidden}.table-card .table-header-toolbar{padding:1.25rem 1.5rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e2e8f0;gap:1rem;flex-wrap:wrap}.table-card .table-responsive{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:thin}.data-table{width:100%;border-collapse:collapse;text-align:left}.data-table th{background-color:#f8fafc;color:#64748b;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;padding:.75rem 1rem;border-bottom:2px solid #e2e8f0;white-space:nowrap}.data-table td{padding:.875rem 1rem;border-bottom:1px solid #e2e8f0;font-size:.8125rem;color:#0f172a;vertical-align:middle}.data-table tbody tr{transition:background-color .15s ease}.data-table tbody tr:nth-child(2n){background-color:#fafbfc}.data-table tbody tr:hover{background-color:#f1f5f9!important}.data-table tbody tr:last-child td{border-bottom:none}.data-table .col-acoes{width:76px;min-width:76px;text-align:center;position:sticky;right:0;background-color:#fff;z-index:5;box-shadow:-4px 0 8px -2px #0000000a}.data-table thead th.col-acoes{background-color:#f8fafc;z-index:12}.data-table tbody tr:nth-child(2n) td.col-acoes{background-color:#fafbfc}.data-table tbody tr:hover td.col-acoes{background-color:#f1f5f9!important}.col-sortable{cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .15s ease,color .15s ease}.col-sortable:hover{background-color:#e2e8f0;color:#3b82f6}.col-sortable .sort-icon{display:inline-flex;margin-left:4px;font-size:.7rem;color:#3b82f6;font-weight:700;vertical-align:middle}.col-sortable .sort-icon-idle{display:inline-flex;margin-left:4px;font-size:.7rem;color:#94a3b8;opacity:.45;vertical-align:middle}.empty-state{padding:3.5rem 1.5rem;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.empty-state .empty-state-icon{width:56px;height:56px;border-radius:16px;background:#f1f5f9;color:#94a3b8;display:flex;align-items:center;justify-content:center;margin-bottom:1rem}.empty-state .empty-state-icon svg{width:28px;height:28px;margin-bottom:0}.empty-state h4{font-size:1.05rem;font-weight:700;color:#0f172a;margin-bottom:.35rem}.empty-state p{font-size:.875rem;color:#64748b;max-width:380px;line-height:1.5;margin-bottom:1.25rem}.empty-state .btn-clear-empty{display:inline-flex;align-items:center;gap:6px;padding:.5rem 1.15rem;background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;border-radius:20px;font-size:.8125rem;font-weight:600;cursor:pointer;transition:all .15s ease}.empty-state .btn-clear-empty:hover{background:#dbeafe;color:#1e40af;box-shadow:0 2px 6px #3b82f626}.badge-status{display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .625rem;border-radius:9999px;font-size:.72rem;font-weight:600}.badge-status.status-active{background-color:#dcfce7;color:#15803d}.badge-status.status-inactive{background-color:#fee2e2;color:#b91c1c}.badge-status.status-pending{background-color:#fef3c7;color:#b45309}.badge-status .dot{width:6px;height:6px;border-radius:50%;background-color:currentColor}.form-section-divider{margin:1.25rem 0 .875rem;padding-top:.875rem;border-top:1px solid #e2e8f0}.form-section-divider:first-child{margin-top:0;padding-top:0;border-top:none}.form-section-title{display:flex;align-items:center;gap:.5rem;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#475569;margin-bottom:.875rem}.form-section-title .section-bullet{width:6px;height:6px;border-radius:50%;background-color:#3b82f6}.form-group .invalid-feedback{font-size:.72rem;color:#ef4444;font-weight:500;margin-top:.25rem;display:flex;align-items:center;gap:4px}.form-group input.is-invalid,.form-group select.is-invalid,.form-group textarea.is-invalid{border-color:#ef4444!important;background-color:#fff5f5!important}.form-group input.is-invalid:focus,.form-group select.is-invalid:focus,.form-group textarea.is-invalid:focus{box-shadow:0 0 0 3px #ef444426!important}.modal-backdrop{position:fixed;inset:0;background-color:#0f172abf;z-index:1050;display:flex;align-items:center;justify-content:center;padding:1.25rem;animation:modalFadeIn .18s ease-out;will-change:opacity}.modal-card{background:#fff;border-radius:20px;box-shadow:0 20px 25px -5px #0f172a40,0 8px 10px -6px #0f172a26;max-width:620px;width:100%;display:flex;flex-direction:column;max-height:calc(100vh - 3.5rem);overflow:hidden;animation:modalPopIn .2s cubic-bezier(.16,1,.3,1);position:relative;transform:translateZ(0);contain:layout}.modal-card.modal-sm{max-width:440px}.modal-card.modal-md{max-width:640px}.modal-card.modal-lg{max-width:860px}.modal-card.modal-xl{max-width:1040px}.modal-card form{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.modal-header{flex-shrink:0;padding:1.25rem 1.75rem;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#fff;z-index:2}.modal-header h3{font-size:1.25rem;font-weight:700;color:#0f172a;letter-spacing:-.01em;margin:0}.modal-header .modal-close{background:transparent;border:none;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#64748b;cursor:pointer;font-size:1.25rem;line-height:1;transition:all .18s ease;flex-shrink:0}.modal-header .modal-close:hover{background-color:#f1f5f9;color:#0f172a;transform:scale(1.05)}.modal-header .modal-close:active{transform:scale(.95)}.modal-body{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:1.75rem}.modal-body::-webkit-scrollbar{width:6px}.modal-body::-webkit-scrollbar-track{background:transparent}.modal-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:6px}.modal-body::-webkit-scrollbar-thumb:hover{background:#94a3b8}.modal-footer{flex-shrink:0;padding:1.125rem 1.75rem;background-color:#f8fafc;border-top:1px solid #e2e8f0;display:flex;align-items:center;justify-content:flex-end;gap:.75rem;z-index:2}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalPopIn{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:768px){.main-content{margin-left:0}.page-content{padding:1rem}.form-grid{grid-template-columns:1fr}.col-12,.col-8,.col-6,.col-4,.col-3{grid-column:span 12}.modal-backdrop{padding:.75rem}.modal-card{max-height:calc(100vh - 1.5rem);border-radius:16px}.modal-header{padding:1rem 1.25rem}.modal-body{padding:1.25rem}.modal-footer{padding:.875rem 1.25rem}}.search-input-wrapper{position:relative;display:flex;align-items:center}.search-input-wrapper .search-clear-btn{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:#e2e8f0;color:#64748b;border:none;border-radius:50%;width:22px;height:22px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;line-height:1;cursor:pointer;transition:all .18s ease;z-index:5}.search-input-wrapper .search-clear-btn:hover{background:#cbd5e1;color:#0f172a;transform:translateY(-50%) scale(1.1)}.search-input-wrapper .search-clear-btn:active{transform:translateY(-50%) scale(.95)}.form-section-title{font-size:.875rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#1e3a8a;background:#f0f7ff;padding:.45rem .85rem;border-radius:8px;border-left:3px solid #3b82f6;margin:1.25rem 0 .85rem;display:flex;align-items:center;gap:.5rem}.form-section-title:first-child{margin-top:0}.form-hint{font-size:.8rem;color:#64748b;margin-top:.35rem}.form-error{font-size:.75rem;color:#ef4444;font-weight:500;margin-top:.25rem;display:block}.secretarias-modal-box{background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:14px;padding:.875rem;margin-top:.35rem}.secretarias-modal-box .sec-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.75rem;flex-wrap:wrap}.secretarias-modal-box .sec-toolbar .sec-search-input{flex:1;min-width:180px;padding:.45rem .75rem;border:1px solid #cbd5e1;border-radius:8px;font-size:.825rem;background:#fff;outline:none;transition:all .18s}.secretarias-modal-box .sec-toolbar .sec-search-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.secretarias-modal-box .sec-toolbar .sec-actions{display:flex;align-items:center;gap:.4rem}.secretarias-modal-box .sec-toolbar .sec-actions .btn-sec-action{background:#fff;border:1px solid #cbd5e1;color:#475569;font-size:.75rem;font-weight:600;padding:.35rem .65rem;border-radius:6px;cursor:pointer;transition:all .15s}.secretarias-modal-box .sec-toolbar .sec-actions .btn-sec-action:hover{background:#eff6ff;color:#1d4ed8;border-color:#93c5fd}.secretarias-modal-box .sec-toolbar .sec-actions .sec-count{font-size:.75rem;font-weight:700;color:#2563eb;background:#dbeafe;padding:.25rem .6rem;border-radius:20px}.secretarias-modal-box .sec-checkboxes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.5rem;max-height:220px;overflow-y:auto;padding-right:4px}.secretarias-modal-box .sec-checkboxes-grid::-webkit-scrollbar{width:5px}.secretarias-modal-box .sec-checkboxes-grid::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.secretarias-modal-box .sec-checkboxes-grid .sec-check-item{display:flex;align-items:center;gap:.5rem;padding:.5rem .65rem;background:#fff;border:1.5px solid #e2e8f0;border-radius:8px;cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .15s cubic-bezier(.16,1,.3,1)}.secretarias-modal-box .sec-checkboxes-grid .sec-check-item input[type=checkbox]{accent-color:#2563eb;width:16px;height:16px;cursor:pointer;margin:0}.secretarias-modal-box .sec-checkboxes-grid .sec-check-item .sec-info{display:flex;flex-direction:column;line-height:1.2;overflow:hidden}.secretarias-modal-box .sec-checkboxes-grid .sec-check-item .sec-info .sec-sigla{font-weight:700;font-size:.78rem;color:#1e293b}.secretarias-modal-box .sec-checkboxes-grid .sec-check-item .sec-info .sec-nome{font-size:.7rem;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.secretarias-modal-box .sec-checkboxes-grid .sec-check-item:hover{border-color:#93c5fd;background:#f8fafc;transform:translateY(-1px)}.secretarias-modal-box .sec-checkboxes-grid .sec-check-item.checked{border-color:#3b82f6;background:#eff6ff}.secretarias-modal-box .sec-checkboxes-grid .sec-check-item.checked .sec-sigla{color:#1d4ed8}.vigencia-timeline{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1rem 1.25rem;margin-bottom:1.25rem}.vigencia-timeline .timeline-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.vigencia-timeline .timeline-header .timeline-title{font-size:.8rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.03em}.vigencia-timeline .timeline-header .timeline-status-badge{font-size:.75rem;font-weight:700;padding:.25rem .65rem;border-radius:20px}.vigencia-timeline .timeline-header .timeline-status-badge.ok{background:#dcfce7;color:#15803d}.vigencia-timeline .timeline-header .timeline-status-badge.warning{background:#fef3c7;color:#b45309}.vigencia-timeline .timeline-header .timeline-status-badge.critical{background:#fee2e2;color:#b91c1c}.vigencia-timeline .timeline-header .timeline-status-badge.expired{background:#f1f5f9;color:#475569}.vigencia-timeline .timeline-progress-track{width:100%;height:8px;background:#e2e8f0;border-radius:6px;overflow:hidden;position:relative;margin-bottom:.5rem}.vigencia-timeline .timeline-progress-track .timeline-progress-fill{height:100%;border-radius:6px;transition:width .4s ease}.vigencia-timeline .timeline-progress-track .timeline-progress-fill.fill-ok{background:linear-gradient(90deg,#22c55e,#16a34a)}.vigencia-timeline .timeline-progress-track .timeline-progress-fill.fill-warning{background:linear-gradient(90deg,#f59e0b,#d97706)}.vigencia-timeline .timeline-progress-track .timeline-progress-fill.fill-critical{background:linear-gradient(90deg,#ef4444,#dc2626)}.vigencia-timeline .timeline-progress-track .timeline-progress-fill.fill-expired{background:#94a3b8}.vigencia-timeline .timeline-dates{display:flex;justify-content:space-between;font-size:.75rem;color:#64748b}.vigencia-timeline .timeline-dates strong{color:#1e293b}.filter-bar{background:#fff;border-radius:16px;border:1px solid #e2e8f0;padding:1.25rem 1.5rem;margin-bottom:1.25rem;box-shadow:0 1px 3px #0000000a}.filter-search-box{width:100%;position:relative;display:flex;align-items:center}.filter-search-box .filter-search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#94a3b8;pointer-events:none;display:flex}.filter-search-box .filter-search-icon svg{width:18px;height:18px}.filter-search-box input{width:100%;height:42px;padding:0 2.5rem 0 2.6rem;border:1.5px solid #e2e8f0;border-radius:10px;font-size:.875rem;font-family:inherit;background:#f8fafc;color:#0f172a;transition:all .18s ease}.filter-search-box input::placeholder{color:#94a3b8}.filter-search-box input:focus{outline:none;border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61f}.filter-search-box .filter-clear-btn{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:#e2e8f0;border:none;border-radius:50%;width:20px;height:20px;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;color:#64748b;cursor:pointer;line-height:1;transition:all .15s}.filter-search-box .filter-clear-btn:hover{background:#cbd5e1;color:#0f172a}.filter-grid{display:grid;grid-template-columns:100px 130px 120px 160px minmax(200px,1.2fr) minmax(220px,1.5fr);gap:.875rem;align-items:flex-start;margin-top:.875rem}@media(max-width:1280px){.filter-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:768px){.filter-grid{grid-template-columns:1fr}}.filter-field{display:flex;flex-direction:column;gap:5px;position:relative;min-width:0}.filter-field .filter-label{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#475569;white-space:nowrap;height:16px;display:flex;align-items:center}.filter-field select{height:40px;width:100%;padding:0 2rem 0 .75rem;border:1.5px solid #e2e8f0;border-radius:10px;font-size:.8125rem;font-family:inherit;background:#f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center;-webkit-appearance:none;appearance:none;cursor:pointer;color:#0f172a;transition:all .18s ease}.filter-field select:focus{outline:none;border-color:#3b82f6;background-color:#fff;box-shadow:0 0 0 3px #3b82f61f}.custom-multiselect{position:relative;width:100%}.custom-multiselect .multiselect-trigger{height:40px;width:100%;padding:0 2rem 0 .75rem;border:1.5px solid #e2e8f0;border-radius:10px;font-size:.8125rem;font-family:inherit;background:#f8fafc;color:#0f172a;display:flex;align-items:center;justify-content:space-between;cursor:pointer;text-align:left;transition:all .18s ease}.custom-multiselect .multiselect-trigger:hover{border-color:#cbd5e1;background:#f1f5f9}.custom-multiselect .multiselect-trigger.open{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61f}.custom-multiselect .multiselect-trigger .trigger-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.custom-multiselect .multiselect-trigger .trigger-text.placeholder{color:#94a3b8}.custom-multiselect .multiselect-trigger .trigger-badge{background:#dbeafe;color:#1d4ed8;font-size:.7rem;font-weight:700;padding:2px 7px;border-radius:10px}.custom-multiselect .multiselect-trigger .trigger-arrow{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#64748b;transition:transform .2s ease;pointer-events:none}.custom-multiselect .multiselect-trigger .trigger-arrow.open{transform:translateY(-50%) rotate(180deg)}.custom-multiselect .multiselect-popover{position:absolute;top:calc(100% + 4px);left:0;width:100%;min-width:260px;background:#fff;border:1.5px solid #e2e8f0;border-radius:12px;box-shadow:0 10px 25px -5px #0000001f,0 8px 10px -6px #0000000f;z-index:150;padding:.5rem;display:flex;flex-direction:column;gap:.5rem;animation:modalPopIn .18s cubic-bezier(.16,1,.3,1)}.custom-multiselect .multiselect-popover .multiselect-header{display:flex;align-items:center;justify-content:space-between;padding:.25rem .25rem .5rem;border-bottom:1px solid #f1f5f9}.custom-multiselect .multiselect-popover .multiselect-header .multiselect-count{font-size:.72rem;font-weight:700;color:#2563eb}.custom-multiselect .multiselect-popover .multiselect-header .multiselect-actions{display:flex;gap:.4rem}.custom-multiselect .multiselect-popover .multiselect-header .multiselect-actions .action-link{background:none;border:none;font-size:.72rem;font-weight:600;color:#64748b;cursor:pointer;padding:2px 6px;border-radius:4px;transition:all .12s}.custom-multiselect .multiselect-popover .multiselect-header .multiselect-actions .action-link:hover{color:#1d4ed8;background:#eff6ff}.custom-multiselect .multiselect-popover .multiselect-search{padding:.45rem .65rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.78rem;font-family:inherit;background:#f8fafc;width:100%;outline:none;transition:all .15s}.custom-multiselect .multiselect-popover .multiselect-search:focus{border-color:#3b82f6;background:#fff}.custom-multiselect .multiselect-popover .multiselect-list{max-height:200px;overflow-y:auto;display:flex;flex-direction:column;gap:2px;padding-right:2px}.custom-multiselect .multiselect-popover .multiselect-list::-webkit-scrollbar{width:4px}.custom-multiselect .multiselect-popover .multiselect-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.custom-multiselect .multiselect-popover .multiselect-list .multiselect-item{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;padding:.45rem .55rem;border-radius:6px;cursor:pointer;font-size:.8rem;transition:background .12s;-webkit-user-select:none;user-select:none}.custom-multiselect .multiselect-popover .multiselect-list .multiselect-item:hover{background:#f1f5f9}.custom-multiselect .multiselect-popover .multiselect-list .multiselect-item.selected{background:#eff6ff;color:#1d4ed8}.custom-multiselect .multiselect-popover .multiselect-list .multiselect-item input[type=checkbox]{width:15px;height:15px;accent-color:#2563eb;cursor:pointer;margin:0}.custom-multiselect .multiselect-popover .multiselect-list .multiselect-item .item-sigla{font-weight:700;font-size:.78rem}.custom-multiselect .multiselect-popover .multiselect-list .multiselect-item .item-nome{font-size:.72rem;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.filter-bar-autocomplete{position:relative;width:100%}.filter-bar-autocomplete .autocomplete-input-wrap{position:relative;display:flex;align-items:center}.filter-bar-autocomplete .autocomplete-input-wrap input{height:40px;width:100%;padding:0 2rem 0 .75rem;border:1.5px solid #e2e8f0;border-radius:10px;font-size:.8125rem;font-family:inherit;background:#f8fafc;color:#0f172a;transition:all .18s}.filter-bar-autocomplete .autocomplete-input-wrap input::placeholder{color:#94a3b8}.filter-bar-autocomplete .autocomplete-input-wrap input:focus{outline:none;border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61f}.filter-bar-autocomplete .autocomplete-input-wrap .autocomplete-badge{position:absolute;right:8px;background:#e0e7ff;color:#3730a3;font-size:.68rem;font-weight:700;padding:2px 7px;border-radius:10px;pointer-events:none}.filter-bar-autocomplete .autocomplete-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;background:#fff;border:1.5px solid #e2e8f0;border-radius:12px;box-shadow:0 10px 25px -5px #0000001f,0 8px 10px -6px #0000000f;max-height:220px;overflow-y:auto;z-index:200;padding:6px;list-style:none;margin:0;animation:modalPopIn .18s cubic-bezier(.16,1,.3,1)}.filter-bar-autocomplete .autocomplete-dropdown li{display:flex;align-items:center;gap:8px;padding:.55rem .75rem;border-radius:8px;font-size:.825rem;color:#0f172a;cursor:pointer;transition:background .12s}.filter-bar-autocomplete .autocomplete-dropdown li:hover{background:#f1f5f9;color:#2563eb}.filter-bar-autocomplete .autocomplete-dropdown li .suggestion-avatar{width:26px;height:26px;border-radius:50%;background:#e0e7ff;color:#4338ca;display:flex;align-items:center;justify-content:center;font-size:.72rem;font-weight:700;flex-shrink:0}.filter-bar-autocomplete .autocomplete-dropdown li .suggestion-name{font-weight:600}.filter-divider{height:1px;background:#f1f5f9;margin:1rem 0}.filter-active-tags{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.filter-active-tags .filter-tags-label{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#94a3b8;margin-right:2px}.filter-active-tags .filter-tag{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:20px;font-size:.75rem;font-weight:600;color:#1d4ed8}.filter-active-tags .filter-tag .tag-remove{background:none;border:none;color:#60a5fa;cursor:pointer;font-size:.7rem;font-weight:700;line-height:1;padding:0 1px;display:flex;align-items:center;border-radius:50%;transition:all .12s}.filter-active-tags .filter-tag .tag-remove:hover{color:#dc2626;background:#fee2e2}.filter-active-tags .filter-clear-all{background:none;border:none;font-size:.75rem;font-weight:600;color:#ef4444;cursor:pointer;padding:3px 8px;border-radius:6px;transition:all .15s;margin-left:4px}.filter-active-tags .filter-clear-all:hover{background:#fee2e2}.vigencia-cell{display:flex;flex-direction:column;align-items:center;gap:4px}.vigencia-cell .vigencia-date{font-size:.8125rem;font-weight:600;color:#1e293b;white-space:nowrap}.vigencia-cell .vigencia-pill{font-size:.6875rem;font-weight:600;padding:1px 8px;border-radius:9999px;display:inline-flex;align-items:center;gap:3px;line-height:1.35;white-space:nowrap;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease}.vigencia-cell .vigencia-pill:hover{transform:translateY(-1px);box-shadow:0 2px 4px #00000014;opacity:.92}.vigencia-cell .vigencia-pill.pill-expired{background-color:#fee2e2;color:#991b1b;border:1px solid #fecaca}.vigencia-cell .vigencia-pill.pill-urgent{background-color:#ffedd5;color:#9a3412;border:1px solid #fed7aa}.vigencia-cell .vigencia-pill.pill-warning{background-color:#fef3c7;color:#92400e;border:1px solid #fde68a}.vigencia-cell .vigencia-pill.pill-valid{background-color:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}.vigencia-cell .vigencia-pill.pill-none{background-color:#f1f5f9;color:#94a3b8}.copy-btn{background:#f8fafc;border:1px solid #e2e8f0;cursor:pointer;padding:3px 8px;border-radius:6px;color:#64748b;display:inline-flex;align-items:center;gap:4px;font-size:.72rem;font-weight:500;transition:all .15s ease;vertical-align:middle}.copy-btn:hover{background-color:#f1f5f9;color:#0f172a;border-color:#cbd5e1}.copy-btn:active{transform:scale(.96)}.copy-btn svg{width:12px;height:12px}.skeleton-row td{padding:1rem .75rem!important;vertical-align:middle}.skeleton-row .skeleton-line{height:13px;background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0,#f1f5f9 75%);background-size:200% 100%;animation:skeletonShimmer 1.5s infinite ease-in-out;border-radius:4px;margin:0 auto}.skeleton-row .skeleton-line.w-30{width:30%}.skeleton-row .skeleton-line.w-50{width:50%}.skeleton-row .skeleton-line.w-70{width:70%}.skeleton-row .skeleton-line.w-90{width:90%}.skeleton-row .skeleton-line.w-full{width:100%}.skeleton-row .skeleton-line.pill{height:22px;border-radius:9999px;width:68px}@keyframes skeletonShimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media print{@page{size:A4 portrait;margin:10mm 12mm}app-sidebar,.app-sidebar,.btn-hamburger,app-toast,.toast-container,.page-title-group,.metrics-grid,.card-header-tabs,.tab-module-banner,.nav-tabs,.header-actions,.fin-subnav-toolbar,.month-selector-card,.tremor-kpi-grid,.table-header-toolbar,.pagination,.updating-overlay-pill,.refresh-indicator,.btn,.btn-action,.btn-action-view,.btn-machines-link,.doc-card-actions,.no-print{display:none!important;visibility:hidden!important}html,body{background:#fff!important;color:#000!important;height:auto!important;min-height:auto!important;max-height:none!important;overflow:visible!important;font-size:9pt!important;line-height:1.3!important}app-root,app-layout,.app-container,.main-content,.page-content,app-impressoras,.main-card,.financeiro-container,.faturas-lote-grid{display:block!important;position:static!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;background:transparent!important;border:none!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;height:auto!important;min-height:0!important;max-height:none!important;float:none!important}.official-invoice-card,.doc-sheet{display:block!important;position:relative!important;width:100%!important;max-width:100%!important;background:#fff!important;color:#0f172a!important;border:1.5px solid #334155!important;border-radius:6px!important;box-shadow:none!important;padding:10mm 12mm!important;margin:0 0 15mm!important;page-break-inside:auto!important;break-inside:auto!important;page-break-after:always!important;break-after:page!important}.official-invoice-card .doc-header,.doc-sheet .doc-header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;border-bottom:2px solid #0f172a!important;padding-bottom:5mm!important;margin-bottom:5mm!important;page-break-inside:avoid!important;break-inside:avoid!important}.official-invoice-card .doc-header .gov-text h3,.doc-sheet .doc-header .gov-text h3{font-size:13pt!important;font-weight:800!important;color:#0f172a!important;margin:0 0 2mm!important;letter-spacing:.02em!important}.official-invoice-card .doc-header .gov-text .gov-sub,.doc-sheet .doc-header .gov-text .gov-sub{font-size:9pt!important;color:#334155!important;margin:1mm 0!important;font-weight:600!important}.official-invoice-card .doc-header .invoice-meta,.doc-sheet .doc-header .invoice-meta{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:1mm!important}.official-invoice-card .doc-header .invoice-meta .doc-title-badge,.doc-sheet .doc-header .invoice-meta .doc-title-badge{background:#0f172a!important;color:#fff!important;font-size:7.5pt!important;font-weight:800!important;padding:1mm 3mm!important;border-radius:3px!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.official-invoice-card .doc-header .invoice-meta .meta-row,.doc-sheet .doc-header .invoice-meta .meta-row{font-size:8.5pt!important;color:#475569!important}.official-invoice-card .doc-header .invoice-meta .meta-row .meta-lbl,.doc-sheet .doc-header .invoice-meta .meta-row .meta-lbl{margin-right:2mm!important}.official-invoice-card .doc-header .invoice-meta .meta-row .meta-val,.doc-sheet .doc-header .invoice-meta .meta-row .meta-val{color:#0f172a!important;font-weight:600!important}.official-invoice-card .doc-header .invoice-meta .meta-row .meta-val.highlight,.doc-sheet .doc-header .invoice-meta .meta-row .meta-val.highlight{font-weight:800!important;color:#1d4ed8!important}.official-invoice-card .contractor-bar,.doc-sheet .contractor-bar{display:flex!important;align-items:center!important;justify-content:space-between!important;background:#f8fafc!important;border:1px solid #cbd5e1!important;border-radius:4px!important;padding:3mm 5mm!important;font-size:8pt!important;color:#1e293b!important;margin-bottom:5mm!important;page-break-inside:avoid!important;break-inside:avoid!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.official-invoice-card .doc-section,.doc-sheet .doc-section{margin-bottom:5mm!important}.official-invoice-card .doc-section h4,.doc-sheet .doc-section h4{font-size:9pt!important;font-weight:700!important;color:#0f172a!important;margin:0 0 2mm!important;border-left:3px solid #2563eb!important;padding-left:3mm!important;page-break-inside:avoid!important;break-inside:avoid!important}.official-invoice-card .doc-section .doc-table,.doc-sheet .doc-section .doc-table{width:100%!important;border-collapse:collapse!important;font-size:7.5pt!important}.official-invoice-card .doc-section .doc-table th,.doc-sheet .doc-section .doc-table th{background:#f1f5f9!important;color:#0f172a!important;font-weight:700!important;padding:2mm 3mm!important;border:1px solid #94a3b8!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.official-invoice-card .doc-section .doc-table td,.doc-sheet .doc-section .doc-table td{padding:2mm 3mm!important;border:1px solid #cbd5e1!important;color:#1e293b!important}.official-invoice-card .doc-section .doc-table tr,.doc-sheet .doc-section .doc-table tr{page-break-inside:avoid!important;break-inside:avoid!important}.official-invoice-card .doc-section .doc-table .row-total td,.doc-sheet .doc-section .doc-table .row-total td{background:#f8fafc!important;border-top:2px solid #0f172a!important;font-weight:700!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.official-invoice-card .doc-section .doc-table .total-destaque,.doc-sheet .doc-section .doc-table .total-destaque{font-size:9pt!important;color:#1e40af!important;font-weight:800!important}.official-invoice-card .atesto-box,.doc-sheet .atesto-box{margin-top:5mm!important;background:#fafaf9!important;border:1px dashed #94a3b8!important;border-radius:6px!important;padding:4mm 6mm!important;page-break-inside:avoid!important;break-inside:avoid!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.official-invoice-card .atesto-box .atesto-badge,.doc-sheet .atesto-box .atesto-badge{display:inline-flex!important;align-items:center!important;gap:2mm!important;font-size:7.5pt!important;font-weight:800!important;color:#15803d!important;text-transform:uppercase!important;letter-spacing:.03em!important;margin-bottom:2mm!important}.official-invoice-card .atesto-box .atesto-texto,.doc-sheet .atesto-box .atesto-texto{font-size:7.5pt!important;color:#334155!important;line-height:1.4!important;margin:0 0 6mm!important}.official-invoice-card .atesto-box .atesto-signatures,.doc-sheet .atesto-box .atesto-signatures{display:grid!important;grid-template-columns:1fr 1fr!important;gap:15mm!important}.official-invoice-card .atesto-box .atesto-signatures .signature-line,.doc-sheet .atesto-box .atesto-signatures .signature-line{display:flex!important;flex-direction:column!important;align-items:center!important}.official-invoice-card .atesto-box .atesto-signatures .signature-line .line,.doc-sheet .atesto-box .atesto-signatures .signature-line .line{width:80%!important;height:1px!important;background:#334155!important;margin-bottom:2mm!important}.official-invoice-card .atesto-box .atesto-signatures .signature-line .signer-name,.doc-sheet .atesto-box .atesto-signatures .signature-line .signer-name{font-size:7.5pt!important;font-weight:700!important;color:#0f172a!important;margin:0!important}.official-invoice-card .atesto-box .atesto-signatures .signature-line .signer-role,.doc-sheet .atesto-box .atesto-signatures .signature-line .signer-role{font-size:7pt!important;color:#475569!important;margin:1mm 0 0!important}.official-invoice-card:last-child,.doc-sheet:last-child{page-break-after:auto!important;break-after:auto!important;margin-bottom:0!important}body.print-single-target .official-invoice-card:not(.is-print-target){display:none!important}@page{body.print-landscape{size:A4 landscape!important;margin:8mm 10mm!important}}.consolidado-table-wrapper{display:block!important;overflow:visible!important;width:100%!important}.consolidado-table-wrapper table.table-consolidado{width:100%!important;font-size:7pt!important;border-collapse:collapse!important}.consolidado-table-wrapper table.table-consolidado th,.consolidado-table-wrapper table.table-consolidado td{padding:1.5mm 2mm!important}}.campo-data{position:relative;display:block;width:100%}.campo-data input.campo-data-texto{width:100%;padding-right:2.25rem!important;font-variant-numeric:tabular-nums}.campo-data .campo-data-botao{position:absolute;top:0;right:.25rem;height:100%;max-height:2.75rem;width:2rem;display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;color:#64748b;cursor:pointer;border-radius:8px}.campo-data .campo-data-botao:hover:not(:disabled){color:#3b82f6}.campo-data .campo-data-botao:focus-visible{outline:2px solid #3b82f6;outline-offset:-2px}.campo-data .campo-data-botao:disabled{cursor:not-allowed;opacity:.5}.campo-data .campo-data-calendario{position:absolute;bottom:0;right:0;width:1px;height:1px;opacity:0;pointer-events:none;border:0;padding:0}.campo-data input.campo-data-texto.is-invalid{border-color:#ef4444!important}.campo-data-erro{display:block;font-size:.75rem;font-weight:500;color:#ef4444}.campo-data-erro:empty{display:none}.campo-data-erro:not(:empty){margin-top:.25rem}
