*,*:before,*:after{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background-color:#f8fafc;color:#0f172a}.app-root{min-height:100vh;display:flex;flex-direction:column;position:relative}.app-header{background-color:#2563eb;color:#fff;padding:16px 0}.app-header-content{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1200px;width:100%;margin:0 auto;padding:0 16px;box-sizing:border-box}.app-header-title{flex-shrink:0}.app-logo-link{display:inline-flex;align-items:center;text-decoration:none;color:inherit;flex-shrink:0}.app-logo-link:hover{text-decoration:none;color:inherit;opacity:.95}.app-logo{display:flex;align-items:center;gap:12px;flex-shrink:0}.app-logo-icon{flex-shrink:0;display:flex;align-items:center;justify-content:center}.app-logo-img{height:48px;width:auto;max-width:200px;display:block;object-fit:contain}.app-logo-text{display:flex;flex-direction:column;gap:0}.app-logo-text .app-title{margin:0;font-size:1.5rem;font-weight:600;line-height:1.2;color:#fff}.app-logo-text .app-subtitle{margin:0;font-size:.875rem;opacity:.95;line-height:1.2;color:#fff}.app-header-nav{margin-left:auto}.app-header-link{color:#fff;text-decoration:none;font-size:.95rem;padding:6px 12px;border-radius:6px;transition:background-color .2s}.app-header-link:hover{background-color:#ffffff26;text-decoration:none}.app-header-user{display:flex;align-items:center;gap:12px;margin-left:auto}.app-header-user .user-info{display:flex;align-items:center;gap:8px;font-size:.9rem}.app-header-user .user-name{font-weight:500}.app-header-user .user-client{opacity:.9;font-size:.85rem}.app-header-user .header-print-button,.app-header-user .header-excel-button,.app-header-user .header-back-button{padding:6px 12px;border-radius:8px;border:1px solid rgba(255,255,255,.4);background:transparent;color:#fff;font-size:.85rem;cursor:pointer}.app-header-user .header-print-button:hover,.app-header-user .header-excel-button:hover,.app-header-user .header-back-button:hover{background:#ffffff1f}.app-header-user .header-print-button:disabled,.app-header-user .header-excel-button:disabled{opacity:.5;cursor:not-allowed}.app-header-user .logout-button{padding:6px 12px;border-radius:8px;border:1px solid rgba(255,255,255,.5);background:transparent;color:#fff;font-size:.85rem;cursor:pointer}.app-header-user .logout-button:hover{background:#ffffff26}.app-title{margin:0;font-size:1.5rem}.app-subtitle{margin:4px 0 0;font-size:.9rem;opacity:.9}.app-main{flex:1;max-width:1200px;width:100%;margin:0 auto;padding:32px 16px 40px}.app-main:has(.form-report-page){max-width:none;padding-left:24px;padding-right:24px}.app-main:has(.non-conforming-page){max-width:none;width:100%;padding-left:24px;padding-right:24px}.page-toolbar{position:absolute;top:16px;right:16px;display:flex;justify-content:flex-end}.back-button{border-radius:999px;border:1px solid #e5e7eb;background-color:#fff;padding:6px 14px;font-size:.8rem;cursor:pointer;color:#374151}.back-button:hover{background-color:#f3f4f6}.home-section{background:#f9fafb;border-radius:24px;padding:24px 20px 28px}.section-header h2{margin:0 0 4px;font-size:1.75rem;font-weight:700}.section-header p{margin:0 0 24px;color:#6b7280}.register-section-header.section-header{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:16px}.register-datetime-row{margin:12px 0 20px;display:flex;flex-wrap:wrap;gap:16px}.register-datetime-field{display:flex;flex-direction:column;gap:4px;min-width:160px;max-width:220px}.register-datetime-field label{font-size:.8rem;font-weight:500;color:#4b5563}.register-datetime-field input{border-radius:10px;border:1px solid #e5e7eb;padding:8px 10px;font-size:.9rem;background:#fff}.register-datetime-field input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 1px #bfdbfe}.register-header-title-wrap{flex:1;min-width:0}.register-norm-link{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:10px;background:#eff6ff;color:#2563eb;text-decoration:none;font-weight:500;flex-shrink:0}.register-norm-link:hover{background:#dbeafe;color:#1d4ed8}.cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}.home-cadastrar{margin-bottom:28px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.home-cadastrar .home-card{max-width:none;width:100%}@media (max-width: 640px){.home-cadastrar{grid-template-columns:1fr}}.home-forms-section{margin-top:8px}.home-forms-section-header{display:flex;flex-direction:row;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:16px}.home-forms-section-header .home-forms-section-title{margin:0}.home-search-wrap{min-width:200px;max-width:360px}.home-search-wrap .forms-search-input{width:100%}.home-forms-section-title{margin:0 0 16px;font-size:1.1rem;font-weight:600;color:#374151}.home-form-cards{margin-top:0;grid-template-columns:1fr;gap:10px}.home-form-cards .home-card{width:100%;box-sizing:border-box}.home-card{display:block;padding:20px 18px;border-radius:20px;background-color:#fff;border:1px solid #e5e7eb;text-decoration:none;color:inherit;transition:box-shadow .15s ease,transform .15s ease,border-color .15s ease}.home-card:hover{box-shadow:0 10px 25px #0f172a14;transform:translateY(-2px)}.home-card-icon{width:40px;height:40px;border-radius:14px;display:flex;align-items:center;justify-content:center;margin-bottom:16px;font-size:22px}.home-card h3{margin:0 0 4px;font-size:1.1rem}.home-card p{margin:0;font-size:.9rem;color:#6b7280}.home-card--horizontal{display:flex;flex-direction:row;align-items:center;gap:16px;text-align:left}.home-card--horizontal .home-card-icon{flex-shrink:0;margin-bottom:0}.home-card--horizontal .home-card-text{flex:1;min-width:0}.home-card--horizontal .home-card-text h3{margin:0 0 4px}.home-card--horizontal .home-card-text p{margin:0}.material-symbol{font-family:system-ui,sans-serif}@media (max-width: 640px){.app-header{padding:12px 0}.app-header-content{padding-left:12px;padding-right:12px}.app-title{font-size:1.25rem}.app-main{padding-inline:12px}.home-section{padding:20px 16px 24px;border-radius:18px}}.login-page{display:flex;justify-content:center;align-items:flex-start;padding-top:48px;min-height:100%}.login-card{width:100%;max-width:360px;background:#fff;border-radius:16px;padding:32px 28px;box-shadow:0 4px 20px #00000014;border:1px solid #e5e7eb}.login-card-logo{display:flex;justify-content:center;margin-bottom:8px}.login-card-logo .app-logo{justify-content:center}.login-card-logo .app-logo-text .app-title,.login-card-logo .app-logo-text .app-subtitle{color:#0f172a}.login-card-logo .app-logo-text .app-subtitle{opacity:.85}.login-subtitle{margin:0 0 24px;font-size:.9rem;color:#64748b;text-align:center}.login-form{display:flex;flex-direction:column;gap:16px;margin-top:35px}.login-form .field-group input{width:100%;max-width:100%;box-sizing:border-box}.login-button{width:100%;padding:10px 16px;font-size:.95rem;font-weight:500;border-radius:10px;border:none;background:#2563eb;color:#fff;cursor:pointer;margin-top:8px}.login-button:hover:not(:disabled){background:#1d4ed8}.login-button:disabled{opacity:.7;cursor:not-allowed}.login-error{margin:0;padding:10px 12px;font-size:.875rem;color:#b91c1c;background:#fef2f2;border-radius:8px;border:1px solid #fecaca}.login-remember{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:.9rem;color:#374151;margin-bottom:16px}.login-remember input[type=checkbox]{width:18px;height:18px;cursor:pointer}.login-remember span{-webkit-user-select:none;user-select:none}.register-section{margin-top:24px}.form-norm-page{margin-top:24px;display:flex;flex-direction:column;min-height:60vh}.form-norm-toolbar{margin-bottom:16px}.form-norm-toolbar .btn-back{padding:8px 16px;border-radius:10px;border:1px solid #e5e7eb;background:#fff;cursor:pointer;font-size:.95rem}.form-norm-toolbar .btn-back:hover{background:#f9fafb}.form-norm-iframe-wrap{flex:1;min-height:70vh;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;background:#f9fafb}.form-norm-iframe{width:100%;height:100%;min-height:70vh;border:none;display:block}.register-header-with-toggle{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:16px}.register-view-toggle{display:flex;gap:0;border-radius:10px;overflow:hidden;border:1px solid #e5e7eb}.register-view-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;font-size:.9rem;background:#fff;border:none;cursor:pointer;color:#6b7280}.register-view-btn:hover{background:#f9fafb;color:#111827}.register-view-btn--active{background:#eff6ff;color:#2563eb;font-weight:500}.register-table-mode{background:#fff;border-radius:20px;border:1px solid #e5e7eb;padding:16px;overflow-x:auto}.register-table--full{min-width:600px}.register-header-card{background-color:#fff;border-radius:20px;padding:20px 18px;border:1px solid #e5e7eb;margin-bottom:20px}.register-header-row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px;margin-bottom:16px}.field-group{display:flex;flex-direction:column;gap:4px}.field-group label{font-size:.8rem;font-weight:500;color:#4b5563}.field-group input{border-radius:10px;border:1px solid #e5e7eb;padding:8px 10px;font-size:.9rem}.field-group input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 1px #bfdbfe}.register-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.legend-label{font-size:.8rem;color:#4b5563;margin-right:8px}.legend-pill{display:inline-flex;align-items:center;margin-right:4px}.legend-color-box{min-width:26px;height:22px;border-radius:6px;color:#fff;font-size:.75rem;font-weight:700;display:flex;align-items:center;justify-content:center;margin-right:6px}.legend-text{font-size:.8rem;color:#4b5563}.register-empty{background-color:#fff;border-radius:20px;border:1px solid #e5e7eb;padding:24px;text-align:center;color:#6b7280}.register-empty p{margin:0 0 8px}.register-empty p:last-child{margin-bottom:0}.link-button{background:none;border:none;padding:0;font-size:inherit;color:#2563eb;cursor:pointer;text-decoration:underline}.link-button:hover{color:#1d4ed8}.register-sections{display:flex;flex-direction:column;gap:16px}.register-section-card{background-color:#fff;border-radius:20px;border:1px solid #e5e7eb;padding:16px 14px 18px}.register-section-header h3{margin:0 0 8px;font-size:1rem;color:#111827}.register-table-wrapper{width:100%;overflow-x:auto}.register-table{width:100%;border-collapse:collapse;font-size:.85rem}.register-table th,.register-table td{padding:8px 10px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:middle}.register-table th{background-color:#f9fafb;font-weight:600;color:#4b5563}.register-table th:nth-child(1),.register-table td:nth-child(1){width:60px}.register-table th:nth-child(3),.register-table td:nth-child(3){width:270px}.register-table th:nth-child(4),.register-table td:nth-child(4){width:180px}.register-th-info,.register-td-info{width:48px;text-align:center;padding:8px 4px}.register-td-info .register-collection-info-btn{margin:0 auto}.status-buttons{display:inline-flex;gap:4px}.status-button{border-radius:6px;border:1px solid #e5e7eb;background-color:#f9fafb;padding:4px 6px;font-size:.75rem;cursor:pointer}.status-button--active[data-status=conforme]{background-color:#22c55e;border-color:#16a34a;color:#fff}.status-button--active[data-status=nao-conforme]{background-color:#ef4444;border-color:#b91c1c;color:#fff}.observations-input{width:100%;border-radius:8px;border:1px solid #e5e7eb;padding:6px 8px;font-size:.8rem}.observations-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 1px #bfdbfe}.value-input{width:100%;border-radius:8px;border:1px solid #e5e7eb;padding:6px 8px;font-size:.8rem}.value-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 1px #bfdbfe}.status-with-photo{display:flex;align-items:center;gap:10px}.photo-actions{display:flex;align-items:center;gap:8px}.photo-button{border-radius:999px;border:1px solid #d1d5db;background-color:#f9fafb;padding:6px 18px;font-size:1rem;cursor:pointer;color:#374151;display:flex;align-items:center;justify-content:center}.photo-button:hover{background-color:#e5e7eb}.photo-button--attached{background-color:#22c55e;border-color:#16a34a;color:#fff}.photo-button--attached:hover{background-color:#16a34a}.photo-input-hidden{display:none}.register-error-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:16px}.register-error-modal{background:#fff;border-radius:16px;box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;max-width:480px;width:100%;max-height:85vh;overflow:auto;padding:24px}.register-error-modal-title{margin:0 0 12px;font-size:1.25rem;font-weight:700;color:#b91c1c}.register-error-modal-message{margin:0 0 16px;color:#374151;line-height:1.5}.register-error-modal-details{margin:0 0 20px;padding-left:20px;color:#4b5563;font-size:.9rem;line-height:1.6}.register-error-modal-details li{margin-bottom:8px}.register-error-modal-details strong{color:#1f2937}.register-error-modal-actions{display:flex;justify-content:flex-end}.register-error-modal-actions .submit-button{padding:10px 20px;font-size:.95rem;font-weight:600;border-radius:10px;background:#2563eb;border:1px solid #1d4ed8;color:#fff;cursor:pointer}.register-error-modal-actions .submit-button:hover{background:#1d4ed8}.register-row-blocked{background-color:#fef3c7}.register-row-blocked td{color:#92400e}.register-blocked-status{display:inline-flex;align-items:center;gap:8px}.register-obs-icon{display:inline-flex;align-items:center;justify-content:center;padding:4px;border:none;background:transparent;color:#b45309;cursor:pointer;border-radius:6px}.register-obs-icon:hover{background:#fde68a;color:#92400e}.status-cell-with-info{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.register-collection-info-btn{display:inline-flex;align-items:center;justify-content:center;padding:4px;border:none;background:transparent;color:#2563eb;cursor:pointer;border-radius:6px;flex-shrink:0}.register-collection-info-btn:hover{background:#dbeafe;color:#1d4ed8}.register-collection-info-text{white-space:pre-wrap;max-height:60vh;overflow-y:auto}.register-blocked-obs{color:#9ca3af}.register-obs-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:16px}.register-obs-modal{background:#fff;border-radius:16px;box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;max-width:420px;width:100%;padding:24px}.register-obs-modal-title{margin:0 0 8px;font-size:1.15rem;font-weight:700;color:#1f2937}.register-obs-modal-context{margin:0 0 12px;font-size:.9rem;color:#6b7280}.register-obs-modal-text{margin:0 0 12px;padding:12px;background:#f9fafb;border-radius:10px;color:#374151;line-height:1.5;white-space:pre-wrap;word-break:break-word}.register-obs-modal-hint{margin:0 0 20px;font-size:.85rem;color:#6b7280;line-height:1.4}.register-obs-modal-actions{display:flex;justify-content:flex-end}.register-obs-modal-actions .submit-button{padding:10px 20px;font-size:.95rem;font-weight:600;border-radius:10px;background:#2563eb;border:1px solid #1d4ed8;color:#fff;cursor:pointer}.register-obs-modal-actions .submit-button:hover{background:#1d4ed8}.register-footer{margin-top:28px;padding-top:20px;border-top:1px solid #e5e7eb}.submit-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.register-footer .cancel-button,.register-footer .submit-button{padding:12px 24px;font-size:.95rem;font-weight:600;border-radius:12px;cursor:pointer;transition:background-color .2s,color .2s,border-color .2s,box-shadow .2s;min-height:44px}.register-footer .cancel-button{background-color:#fff;border:1px solid #e5e7eb;color:#4b5563}.register-footer .cancel-button:hover:not(:disabled){background-color:#f9fafb;border-color:#d1d5db;color:#374151}.register-footer .cancel-button:disabled{opacity:.6;cursor:not-allowed}.register-footer .submit-button{background-color:#2563eb;border:1px solid #1d4ed8;color:#fff;box-shadow:0 1px 2px #2563eb33}.register-footer .submit-button:hover:not(:disabled){background-color:#1d4ed8;border-color:#1e40af;box-shadow:0 2px 4px #2563eb4d}.register-footer .submit-button:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}.register-footer .submit-button--sending{background-color:#16a34a;border-color:#15803d;color:#fff}@media (max-width: 768px){.register-header-row{grid-template-columns:1fr}.register-section-card{padding-inline:10px}}@media (max-width: 700px){.register-table thead{display:none}.register-table tbody tr{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"item desc info" "status status status" "valor valor valor" "obs obs obs";gap:4px 8px;padding:6px 0}.register-table tbody td:nth-child(1){grid-area:item;padding-right:4px}.register-table tbody td:nth-child(2){grid-area:desc}.register-table tbody td:nth-child(3){grid-area:status}.register-table tbody td:nth-child(4){grid-area:valor}.register-table tbody td:nth-child(5){grid-area:obs}.register-table tbody td:nth-child(6){grid-area:info;justify-self:end;align-self:start}.register-table th:nth-child(1),.register-table td:nth-child(1),.register-table th:nth-child(3),.register-table td:nth-child(3),.register-table th:nth-child(4),.register-table td:nth-child(4){width:auto}}.forms-page{position:relative}.forms-content{background-color:#fff;border-radius:20px;border:1px solid #e5e7eb;padding:24px}.forms-page .btn-add-form{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;border-radius:12px;border:1px dashed #3b82f6;background-color:#eff6ff;color:#2563eb;font-size:1rem;font-weight:500;cursor:pointer;margin-bottom:20px}.forms-page .btn-add-form:hover{background-color:#dbeafe}.forms-empty{margin:0;color:#6b7280;text-align:center;padding:32px 16px}.forms-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:20px}.forms-toolbar .btn-add-form{margin-bottom:0}.forms-order-link-button{border-style:solid;background-color:#f9fafb}.forms-order-link-button:hover{background-color:#e5e7eb}.forms-search-wrap{flex:1;min-width:200px}.forms-search-input{width:100%;max-width:400px;padding:10px 14px 10px 36px;border:1px solid #e5e7eb;border-radius:10px;font-size:.95rem;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:10px 50%}.forms-search-input::placeholder{color:#9ca3af}.forms-search-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 1px #bfdbfe}.forms-order-page .forms-order-actions{display:flex;gap:12px;margin-bottom:16px;flex-wrap:wrap}.forms-order-page .btn-secondary{padding:10px 16px;border-radius:10px;border:1px solid #e5e7eb;background-color:#fff;cursor:pointer;font-size:.95rem}.forms-order-page .btn-secondary:hover{background-color:#f9fafb}.forms-order-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.forms-order-item{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;border:1px solid #e5e7eb;background-color:#f9fafb;cursor:grab}.forms-order-item:active{cursor:grabbing}.forms-order-handle{font-size:18px;color:#9ca3af}.forms-order-main{display:flex;flex-direction:column;gap:2px}.forms-order-name{font-weight:500}.forms-order-description{font-size:.85rem;color:#6b7280}.forms-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.forms-list-card{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:14px 16px;border:1px solid #e5e7eb;border-radius:12px;background-color:#f9fafb;width:100%;box-sizing:border-box}.forms-list-card-main{display:flex;flex-direction:column;gap:2px}.forms-list-name{font-weight:600;font-size:1rem;color:#111827}.forms-list-meta{font-size:.85rem;color:#6b7280;display:flex;align-items:center;gap:8px}.forms-list-status{font-size:.75rem;padding:2px 8px;border-radius:999px;font-weight:500}.forms-list-status.active{background:#d1fae5;color:#065f46}.forms-list-status.inactive{background:#f3f4f6;color:#6b7280}.forms-list-actions{display:flex;align-items:center;gap:8px}.forms-list-actions .btn-set-default{padding:6px 12px;border-radius:8px;border:1px solid #e5e7eb;background:#fff;font-size:.8rem;color:#6b7280;cursor:pointer}.forms-list-actions .btn-set-default:hover{background-color:#f3f4f6;color:#374151}.forms-list-actions .btn-set-default:disabled{opacity:.6;cursor:not-allowed}.forms-list-actions .btn-set-default:disabled:hover{background:#fff;color:#6b7280}.forms-list-actions .btn-toggle-active,.forms-list-actions .btn-toggle-inactive{padding:6px 12px;border-radius:8px;font-size:.8rem;cursor:pointer;border:1px solid transparent}.forms-list-actions .btn-toggle-active{background:#d1fae5;color:#065f46;border-color:#a7f3d0}.forms-list-actions .btn-toggle-active:hover{background:#a7f3d0}.forms-list-actions .btn-toggle-inactive{background:#fef3c7;color:#92400e;border-color:#fde68a}.forms-list-actions .btn-toggle-inactive:hover{background:#fde68a}.forms-list-actions .btn-edit,.forms-list-actions .btn-delete{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid transparent;border-radius:999px;background:#fff;color:#6b7280;cursor:pointer}.forms-list-actions .btn-edit:hover{background-color:#dbeafe;border-color:#bfdbfe;color:#2563eb}.forms-list-actions .btn-delete:hover{background-color:#fee2e2;border-color:#fecaca;color:#dc2626}.forms-form-header{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:20px}.forms-form-name-row{flex:1 1 260px}.forms-form-name-label{display:block;font-size:.9rem;font-weight:500;color:#374151;margin-bottom:6px}.forms-form-name-input{width:100%;padding:10px 14px;border:1px solid #e5e7eb;border-radius:10px;font-size:1rem}.forms-form-name-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f633}.forms-form-name-hint{display:block;font-size:.8rem;color:#6b7280;margin-top:6px}.forms-norm-pdf-row.forms-form-name-row{margin-bottom:16px}.forms-norm-pdf-block{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.forms-norm-pdf-block .forms-norm-pdf-status{color:#6b7280;font-size:.9rem}.forms-norm-pdf-block input[type=file]{position:absolute;width:.1px;height:.1px;opacity:0;overflow:hidden;z-index:-1}.forms-norm-pdf-block .btn-upload-norm,.forms-norm-pdf-block .btn-remove-norm{padding:8px 14px;border-radius:8px;font-size:.9rem;cursor:pointer;border:1px solid #e5e7eb;background:#fff}.forms-norm-pdf-block .btn-upload-norm:hover,.forms-norm-pdf-block .btn-remove-norm:hover{background:#f9fafb}.forms-norm-pdf-block .btn-remove-norm{color:#dc2626;border-color:#fecaca}.forms-norm-pdf-block .btn-remove-norm:hover{background:#fef2f2}.forms-editor .forms-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:16px}.forms-section-empty{margin:0;color:#6b7280;padding:24px 0}.forms-section-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.forms-section-card{border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;background-color:#f9fafb}.forms-section-header{display:flex;align-items:center;gap:10px;padding:12px 14px;cursor:pointer}.forms-section-header:hover{background-color:#f3f4f6}.forms-expand{flex-shrink:0;color:#6b7280;transition:transform .2s ease}.forms-expand.expanded{transform:rotate(180deg)}.forms-section-name{flex:1;min-width:0;padding:8px 12px;border:1px solid #e5e7eb;border-radius:8px;font-size:.95rem;background-color:#fff}.forms-section-name:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f633}.forms-section-body{padding:14px;border-top:1px solid #e5e7eb}.forms-items-header{display:grid;grid-template-columns:52px minmax(140px,1fr) 150px 110px 110px minmax(260px,1.5fr) 44px;column-gap:12px;row-gap:8px;padding:8px 0;font-size:.8rem;font-weight:600;color:#6b7280;margin-bottom:8px}.forms-item-row{display:grid;grid-template-columns:52px minmax(140px,1fr) 150px 110px 110px minmax(260px,1.5fr) 44px;column-gap:12px;row-gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #e5e7eb}.forms-item-number,.forms-item-name{padding:8px 10px;border:1px solid #e5e7eb;border-radius:8px;font-size:.9rem;background-color:#fff}.forms-item-number:focus,.forms-item-name:focus{outline:none;border-color:#3b82f6}.forms-item-field{display:flex;flex-direction:column;gap:4px}.forms-item-field-label{font-size:.75rem;color:#6b7280}.forms-item-photo-required,.forms-item-value-type,.forms-item-value-required{font-size:.75rem;color:#6b7280;text-align:center}.forms-item-collection-instructions{font-size:.75rem;color:#6b7280}.forms-item-field-collection{min-width:0}.forms-item-collection-input{width:100%;padding:8px 10px;border:1px solid #e5e7eb;border-radius:8px;font-size:.9rem;background-color:#fff}.forms-item-collection-input:focus{outline:none;border-color:#3b82f6}.forms-item-checkbox-wrap{display:flex;align-items:center;gap:6px;justify-content:center;width:100%}.forms-item-checkbox-wrap input[type=checkbox]{width:18px;height:18px;cursor:pointer}.forms-item-checkbox-label{font-size:.85rem;color:#4b5563}.forms-item-value-type-select{justify-self:stretch;width:100%}.forms-boolean-select{padding:5px 8px;border:1px solid #e5e7eb;border-radius:8px;font-size:.8rem;background-color:#fff;width:100%;max-width:90px;justify-self:center}.forms-boolean-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 1px #bfdbfe}.forms-item-value-type-select{padding:8px 10px;border:1px solid #e5e7eb;border-radius:8px;font-size:.85rem;background-color:#fff}.forms-item-value-type-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 1px #bfdbfe}.forms-item-actions{width:40px}@media (max-width: 700px){.forms-items-header{display:none}.forms-item-row{grid-template-columns:1fr;column-gap:8px;row-gap:8px}.forms-item-number{max-width:80px}.forms-item-field-label{display:block}}@media (min-width: 701px){.forms-item-field-label{display:none}}.formularios-section{position:relative}.formularios-content{background-color:#fff;border-radius:20px;border:1px solid #e5e7eb;padding:24px}.formularios-placeholder{margin:0;color:#6b7280}.formularios-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px}.btn-add-section{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:12px;border:1px dashed #3b82f6;background-color:#eff6ff;color:#2563eb;font-size:.95rem;font-weight:500;cursor:pointer}.btn-add-section:hover{background-color:#dbeafe}.btn-save{display:inline-flex;align-items:center;padding:10px 20px;border-radius:12px;border:none;background-color:#10b981;color:#fff;font-size:.95rem;font-weight:500;cursor:pointer}.btn-save:hover:not(:disabled){background-color:#059669}.btn-save:disabled{opacity:.6;cursor:not-allowed}.forms-footer-actions{margin-top:24px;display:flex;justify-content:flex-start}@media (max-width: 640px){.forms-form-header{flex-direction:column}.forms-form-name-row{flex:none}}.formularios-empty{margin:0;color:#6b7280;text-align:center;padding:32px 16px}.formularios-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.formularios-section-card{border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;background-color:#f9fafb}.formularios-section-header{display:flex;gap:10px;padding:12px 14px;cursor:pointer;align-items:center}.formularios-section-header:hover{background-color:#f3f4f6}.formularios-expand{flex-shrink:0;color:#6b7280;transition:transform .2s ease}.formularios-expand.expanded{transform:rotate(180deg)}.formularios-section-name{flex:1;min-width:0;padding:8px 12px;border:1px solid #e5e7eb;border-radius:8px;font-size:.95rem;background-color:#fff}.formularios-section-name:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f633}.btn-remove-section{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #fecaca;border-radius:999px;background:#fef2f2;color:#b91c1c;cursor:pointer}.btn-remove-section:hover{background-color:#fee2e2;color:#dc2626}.formularios-section-body{padding:14px;border-top:1px solid #e5e7eb;margin-top:0}.formularios-items-header{display:grid;grid-template-columns:60px 1fr 40px;gap:10px;padding:8px 0;font-size:.8rem;font-weight:600;color:#6b7280;margin-bottom:8px}.formularios-item-row{display:grid;grid-template-columns:60px 1fr 40px;gap:10px;align-items:center;margin-bottom:8px}.formularios-item-number,.formularios-item-name{padding:8px 10px;border:1px solid #e5e7eb;border-radius:8px;font-size:.9rem;background-color:#fff}.formularios-item-number:focus,.formularios-item-name:focus{outline:none;border-color:#3b82f6}.formularios-item-actions{width:40px}.btn-remove-item{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #fecaca;border-radius:999px;background:#fef2f2;color:#b91c1c;cursor:pointer}.btn-remove-item:hover{background-color:#fee2e2;color:#dc2626}.btn-add-item{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:8px 14px;border-radius:8px;border:1px dashed #9ca3af;background:none;color:#6b7280;font-size:.85rem;cursor:pointer}.btn-add-item:hover{background-color:#f3f4f6;border-color:#6b7280;color:#374151}.error-boundary{padding:2rem;text-align:center;max-width:400px;margin:2rem auto}.error-boundary h2{margin:0 0 .5rem;color:#0f172a}.error-boundary p{margin:0 0 1rem;color:#64748b}.forms-list-page .forms-list-loading,.forms-list-page .forms-list-empty{padding:1rem;color:#64748b}.forms-list-page .forms-list-total{margin-top:.5rem;font-size:.9rem;color:#64748b}.forms-list-pagination{margin-top:12px;display:flex;align-items:center;gap:12px;justify-content:flex-end;flex-wrap:wrap}.forms-list-page-btn{padding:6px 12px;border-radius:999px;border:1px solid #e5e7eb;background-color:#fff;font-size:.85rem;cursor:pointer;color:#374151}.forms-list-page-btn:hover:not(:disabled){background-color:#f3f4f6}.forms-list-page-btn:disabled{opacity:.5;cursor:not-allowed}.forms-list-page-info{font-size:.85rem;color:#6b7280}.forms-list-row{cursor:pointer}.forms-list-row:focus{outline:2px solid rgba(139,92,246,.35);outline-offset:-2px}.export-format-modal-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px 14px;margin-bottom:16px}.export-filter-field{display:flex;flex-direction:column;gap:4px}.export-filter-chips{display:flex;flex-wrap:wrap;gap:6px}.export-filter-chip{padding:4px 10px;border-radius:999px;border:1px solid #e5e7eb;background:#f9fafb;font-size:.8rem;color:#4b5563;cursor:pointer;-webkit-user-select:none;user-select:none}.export-filter-chip:hover{background:#eff6ff;border-color:#bfdbfe}.export-filter-chip--active{background:#2563eb;border-color:#1d4ed8;color:#fff}.export-filter-label{font-size:.8rem;font-weight:500;color:#6b7280}.export-filter-input{width:100%;padding:8px 10px;border-radius:8px;border:1px solid #e5e7eb;font-size:.9rem}.export-filter-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 1px #2563eb33}.form-report-page{width:100%;margin-top:8px}.form-report-page .report-header-centered{text-align:center}.form-report-page .report-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:16px 24px;padding:18px 24px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;border-radius:12px;margin:16px 0 24px;box-shadow:0 1px 3px #0000000f}.form-report-page .report-meta-item{display:flex;flex-direction:column;gap:4px;align-items:center;text-align:center}.form-report-page .report-meta-label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#64748b;width:100%}.form-report-page .report-meta-value{font-size:.95rem;font-weight:500;color:#1e293b;width:100%}.report-sections{display:flex;flex-direction:column;gap:20px}.form-report-page .report-section-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px 20px 16px;box-shadow:0 1px 3px #0000000f;overflow:hidden}.form-report-page .report-section-title{margin:0 0 16px;padding-bottom:12px;font-size:1.1rem;font-weight:700;color:#0f172a;border-bottom:2px solid #e2e8f0;letter-spacing:-.01em}.form-report-page .report-table-wrapper{width:100%;overflow-x:auto;border-radius:8px;border:1px solid #e2e8f0}.form-report-page .report-table{width:100%;border-collapse:collapse;font-size:.9rem;table-layout:fixed}.form-report-page .report-table th:nth-child(1),.form-report-page .report-table td:nth-child(1){width:5%}.form-report-page .report-table th:nth-child(2),.form-report-page .report-table td:nth-child(2){width:26%}.form-report-page .report-table th:nth-child(3),.form-report-page .report-table td:nth-child(3){width:14%}.form-report-page .report-table th:nth-child(4),.form-report-page .report-table td:nth-child(4){width:12%}.form-report-page .report-table th:nth-child(5),.form-report-page .report-table td:nth-child(5){width:35%}.form-report-page .report-table th:nth-child(6),.form-report-page .report-table td:nth-child(6){width:8%}.form-report-page .report-table th,.form-report-page .report-table td{padding:12px 14px;text-align:left;vertical-align:middle;border-bottom:1px solid #e2e8f0;overflow:hidden;text-overflow:ellipsis}.form-report-page .report-table td:nth-child(5){word-break:break-word;overflow-wrap:break-word}.form-report-page .report-table thead th{background:#f1f5f9;font-weight:600;font-size:.8rem;text-transform:uppercase;letter-spacing:.03em;color:#475569;white-space:nowrap}.form-report-page .report-table tbody tr:nth-child(2n){background:#fafbfc}.form-report-page .report-table tbody tr:hover{background:#f8fafc}.form-report-page .report-table tbody tr.report-row-nonconforme{background:#fef2f2}.form-report-page .report-table tbody tr.report-row-nonconforme:nth-child(2n){background:#fef2f2}.form-report-page .report-table tbody tr.report-row-nonconforme:hover{background:#fee2e2}.form-report-page .report-table td:empty:after,.form-report-page .report-table .report-cell-empty{color:#94a3b8}.report-badge{display:inline-block;padding:4px 10px;border-radius:999px;font-size:.8rem;font-weight:600}.report-badge.conforme{background:#dcfce7;color:#166534}.report-badge.nonconforme{background:#fee2e2;color:#991b1b}.report-badge.maintenance{background:#fef3c7;color:#92400e}.report-photo-thumb{width:72px;height:48px;object-fit:cover;border-radius:8px;border:1px solid #e2e8f0}.report-photo-link{display:inline-block}.report-photo-empty{color:#94a3b8;font-size:.9rem}.report-evidences{margin-top:28px;padding-top:20px;border-top:1px solid #e2e8f0}.report-evidences-title{font-size:1.1rem;font-weight:600;margin:0 0 14px;color:#1e293b}.report-evidences-list{list-style:decimal;padding-left:1.5rem;margin:0}.report-evidence-item{margin-bottom:16px;break-inside:avoid}.report-evidence-caption{display:block;font-size:.9rem;color:#475569;margin-bottom:6px}.report-evidence-img{max-width:100%;width:auto;max-height:280px;object-fit:contain;border:1px solid #e2e8f0;border-radius:8px}.btn-print{padding:8px 12px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;cursor:pointer}.btn-print:hover{background:#f8fafc}.print-only{display:none}@media print{.no-print{display:none!important}.print-only{display:block!important}body{background:#fff}.form-report-page .report-section-card,.form-report-page .report-meta{border:1px solid #e5e7eb}.form-report-page .section-header h2{font-size:1.35rem}.form-report-page .section-header p{font-size:.8rem;margin-bottom:12px}.form-report-page .report-meta{padding:10px 14px;margin:10px 0 14px;gap:8px 16px}.form-report-page .report-meta-label{font-size:.65rem}.form-report-page .report-meta-value{font-size:.8rem}.form-report-page .report-sections{gap:12px}.form-report-page .report-section-card{padding:12px 14px 10px}.form-report-page .report-section-title{font-size:.95rem;margin-bottom:10px;padding-bottom:8px}.form-report-page .report-table{font-size:.75rem}.form-report-page .report-table th,.form-report-page .report-table td{padding:6px 8px}.form-report-page .report-table thead th{font-size:.7rem}.form-report-page .report-badge{font-size:.7rem;padding:2px 6px}.form-report-page .report-photo-thumb{width:52px;height:36px}.form-report-page .report-evidences{margin-top:20px;padding-top:14px}.form-report-page .report-evidences-title{font-size:1rem;margin-bottom:10px}.form-report-page .report-evidence-item{margin-bottom:12px}.form-report-page .report-evidence-caption{font-size:.8rem}.form-report-page .report-evidence-img{max-height:220px}}.users-page{margin-top:24px}.users-toolbar{margin-bottom:16px}.btn-add-user{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;font-size:.95rem;font-weight:500;color:#fff;background:#6366f1;border:none;border-radius:10px;cursor:pointer}.btn-add-user:hover{background:#4f46e5}.users-loading{color:#6b7280;margin:16px 0}.users-table-wrap{background:#fff;border-radius:20px;border:1px solid #e5e7eb;overflow:hidden}.users-table{width:100%;border-collapse:collapse}.users-table th,.users-table td{padding:12px 16px;text-align:left;border-bottom:1px solid #e5e7eb}.users-table th{font-size:.8rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.02em}.users-th-actions{width:120px}.btn-edit-user{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:#fff;border:1px solid transparent;border-radius:999px;color:#6b7280;cursor:pointer}.btn-edit-user:hover{background:#dbeafe;border-color:#bfdbfe;color:#2563eb}.btn-reset-password{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:#fff;border:1px solid transparent;border-radius:999px;color:#6b7280;cursor:pointer}.btn-reset-password:hover{background:#fef3c7;border-color:#fde68a;color:#b45309}.btn-delete-user{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:#fff;border:1px solid transparent;border-radius:999px;color:#6b7280;cursor:pointer;font-size:.85rem}.btn-delete-user:hover:not(:disabled){background:#fee2e2;border-color:#fecaca;color:#dc2626}.btn-delete-user:disabled{opacity:.5;cursor:not-allowed}.users-cell-actions{display:flex;flex-direction:row;gap:8px;flex-wrap:nowrap;align-items:center;justify-content:center}.users-empty{padding:24px;text-align:center;color:#6b7280;margin:0}.change-password-page{margin-top:24px}.change-password-form{max-width:400px}.users-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:100;padding:16px}.users-modal{background:#fff;border-radius:20px;padding:24px;max-width:420px;width:100%;box-shadow:0 20px 50px #00000026}.users-modal h3{margin:0 0 20px;font-size:1.2rem}.users-form-row{margin-bottom:16px}.users-form-row label{display:block;font-size:.85rem;font-weight:500;color:#374151;margin-bottom:6px}.users-form-row input,.users-form-row select{width:100%;padding:10px 12px;border:1px solid #e5e7eb;border-radius:10px;font-size:.95rem}.users-form-row input:disabled{background:#f9fafb;color:#6b7280}.password-input-wrap{position:relative;width:100%;display:block}.password-input-wrap .password-input-field{width:100%;padding:10px 44px 10px 12px;border:1px solid #e5e7eb;border-radius:10px;font-size:.95rem;box-sizing:border-box}.password-input-wrap .password-input-field:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 1px #bfdbfe}.password-input-wrap .password-input-field:disabled{background:#f9fafb;color:#6b7280}.password-input-wrap .password-toggle-btn{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:none;border:none;padding:6px;cursor:pointer;color:#6b7280;border-radius:6px;display:flex;align-items:center;justify-content:center}.password-input-wrap .password-toggle-btn:hover{color:#374151;background:#0000000f}.password-input-wrap .password-toggle-btn:focus{outline:none;color:#2563eb}.users-form-row-checkbox label{display:flex;align-items:center;gap:8px;cursor:pointer}.users-form-row-checkbox input[type=checkbox]{width:auto;width:18px;height:18px}.users-modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:20px}.users-modal-actions .btn-cancel{padding:10px 18px;font-size:.9rem;background:#f3f4f6;border:none;border-radius:10px;cursor:pointer;color:#374151}.users-modal-actions .btn-cancel:hover{background:#e5e7eb}.users-modal-actions .btn-save{padding:10px 18px;font-size:.9rem;background:#6366f1;color:#fff;border:none;border-radius:10px;cursor:pointer}.users-modal-actions .btn-save:hover:not(:disabled){background:#4f46e5}.users-modal-actions .btn-save:disabled{opacity:.7;cursor:not-allowed}.users-modal-confirm p{margin:0 0 20px;color:#374151;line-height:1.5}.export-format-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:100;padding:16px}.export-format-modal{background:#fff;border-radius:20px;padding:24px;max-width:420px;width:100%;box-shadow:0 20px 50px #00000026}.export-format-modal-title{margin:0 0 8px;font-size:1.2rem;color:#111827}.export-format-modal-desc{margin:0 0 20px;font-size:.9rem;color:#6b7280;line-height:1.5}.export-format-modal-actions{display:flex;flex-direction:column;gap:10px}.export-format-btn{padding:12px 18px;font-size:.95rem;border:none;border-radius:10px;cursor:pointer;font-weight:500}.export-format-btn-pdf{background:#fef2f2;color:#b91c1c}.export-format-btn-pdf:hover{background:#fee2e2}.export-format-btn-csv{background:#eff6ff;color:#2563eb}.export-format-btn-csv:hover{background:#dbeafe}.export-format-btn-xlsx{background:#ecfdf5;color:#059669}.export-format-btn-xlsx:hover{background:#d1fae5}.export-format-btn-cancel{background:#f3f4f6;color:#374151;margin-top:4px}.export-format-btn-cancel:hover{background:#e5e7eb}.btn-delete-confirm{padding:10px 18px;font-size:.9rem;background:#dc2626;color:#fff;border:none;border-radius:10px;cursor:pointer}.btn-delete-confirm:hover:not(:disabled){background:#b91c1c}.btn-delete-confirm:disabled{opacity:.7;cursor:not-allowed}.btn-confirm-green{padding:10px 18px;font-size:.9rem;background:#16a34a;color:#fff;border:none;border-radius:10px;cursor:pointer}.btn-confirm-green:hover:not(:disabled){background:#15803d}.btn-confirm-green:disabled{opacity:.7;cursor:not-allowed}.non-conforming-page{margin-top:24px;width:100%;min-width:0;box-sizing:border-box}.non-conforming-page .section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.non-conforming-page .section-header-text{flex:1;min-width:0}.non-conforming-history-button{margin-left:auto;align-self:flex-start;padding:8px 16px;border-radius:999px;border:1px solid #2563eb;background:#eff6ff;color:#1d4ed8;font-size:.9rem;font-weight:500;cursor:pointer;box-shadow:0 1px 2px #2563eb33;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease,transform .05s ease}.non-conforming-history-button:hover{background:#dbeafe;color:#1e40af;box-shadow:0 2px 4px #2563eb4d;transform:translateY(-1px)}.non-conforming-history-button:active{transform:translateY(0);box-shadow:0 1px 2px #2563eb33}.non-conforming-filters{margin-bottom:16px;width:100%;min-width:0;box-sizing:border-box}.non-conforming-toolbar{margin-bottom:12px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.non-conforming-column-filters{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:flex-end;width:100%;min-width:0}.non-conforming-period-total-row{display:flex;align-items:flex-end;gap:12px 20px;flex-wrap:wrap;margin-top:12px;width:100%;min-width:0}.non-conforming-period-total-row .non-conforming-total{margin:0;padding-bottom:2px;color:#6b7280;line-height:1.3}.non-conforming-filter-field{display:flex;flex-direction:column;gap:4px;min-width:140px;max-width:200px;flex-shrink:0}.non-conforming-filter-field span{font-size:.8rem;font-weight:500;color:#6b7280}.non-conforming-filter-input{padding:8px 10px;font-size:.9rem;border:1px solid #e5e7eb;border-radius:8px;width:100%;min-width:0;box-sizing:border-box}.non-conforming-filter-input:focus{outline:none;border-color:#2563eb}.non-conforming-filter-input::placeholder{color:#9ca3af}.non-conforming-filter-date-range{display:flex;flex-direction:column;gap:4px;min-width:200px;max-width:380px;flex-shrink:0}.non-conforming-filter-date-range-label{font-size:.8rem;font-weight:500;color:#6b7280}.non-conforming-filter-date-inputs{display:flex;align-items:flex-end;gap:8px 12px;flex-wrap:wrap}.non-conforming-filter-date-field{display:flex;flex-direction:column;gap:4px}.non-conforming-filter-date-field-label{font-size:.75rem;font-weight:500;color:#6b7280}.non-conforming-filter-date-input{min-width:140px}.non-conforming-filter-date-sep{font-size:.85rem;color:#6b7280;padding-bottom:8px;flex-shrink:0}.date-range-picker{position:relative;min-width:0}.date-range-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-width:200px;padding:8px 10px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;font-size:.9rem;color:#374151;cursor:pointer;text-align:left}.date-range-picker-trigger:hover{border-color:#d1d5db}.date-range-picker-trigger-text{flex:1;min-width:0}.date-range-picker-trigger-text:empty:before,.date-range-picker-trigger[data-placeholder] .date-range-picker-trigger-text{color:#9ca3af}.date-range-picker-trigger-icon{flex-shrink:0;opacity:.7}.date-range-picker-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999;background:transparent}.date-range-picker-dropdown{position:absolute;top:100%;left:0;z-index:1000;margin-top:4px;padding:12px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 10px 25px #00000026}.date-range-picker-dropdown .rdp-root{--rdp-accent-color: #2563eb;--rdp-accent-background-color: #dbeafe}.date-range-picker-aria{min-width:200px;width:100%;max-width:100%;box-sizing:border-box}.date-range-picker-aria .date-range-picker-aria-root{display:flex;flex-direction:column;gap:4px;width:100%;min-width:200px;box-sizing:border-box}.date-range-picker-aria .date-range-picker-aria-label{font-size:.8rem;font-weight:500;color:#6b7280}.date-range-picker-aria .date-range-picker-aria-group{display:flex;align-items:center;flex-wrap:wrap;gap:6px;width:100%;min-width:200px;padding:6px 10px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;font-size:.9rem;box-sizing:border-box}.date-range-picker-aria .date-range-picker-aria-group[data-focus-within]{outline:none;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb33}.date-range-picker-aria .date-range-picker-aria-group[data-invalid]{border-color:#dc2626}.date-range-picker-aria .date-range-picker-aria-input{display:inline-flex;align-items:center;min-width:0;flex:1 1 auto}.date-range-picker-aria .date-range-picker-aria-input [data-slot=segment]{padding:0 2px;border:none;background:transparent;font:inherit;color:inherit;min-width:1.2em;text-align:center}.date-range-picker-aria .date-range-picker-aria-input [data-slot=segment]:focus{outline:none;border-radius:2px;background:#dbeafe;color:#1d4ed8}.date-range-picker-aria .date-range-picker-aria-input .literal,.date-range-picker-aria .date-range-picker-aria-input [data-type=literal]{color:#9ca3af;-webkit-user-select:none;user-select:none}.date-range-picker-aria .date-range-picker-aria-input [data-placeholder]{color:#9ca3af}.date-range-picker-aria .date-range-picker-aria-sep{flex-shrink:0;color:#9ca3af;font-weight:500}.date-range-picker-aria .date-range-picker-aria-button{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:32px;height:28px;padding:0;border:none;border-radius:6px;background:transparent;color:#6b7280;cursor:pointer}.date-range-picker-aria .date-range-picker-aria-button:hover{background:#f3f4f6;color:#374151}.date-range-picker-aria .date-range-picker-aria-button[data-pressed]{background:#dbeafe;color:#2563eb}.date-range-picker-aria .date-range-picker-aria-popover{padding:12px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 10px 25px #00000026;min-width:var(--trigger-width, 280px)}.date-range-picker-aria .date-range-picker-aria-calendar{--react-aria-calendar-cell-size: 36px;--react-aria-calendar-cell-padding: 2px}.date-range-picker-aria .date-range-picker-aria-calendar [data-selected]{background:#2563eb;color:#fff;border-radius:6px}.date-range-picker-aria .date-range-picker-aria-calendar [data-selection-start]{border-radius:6px 0 0 6px}.date-range-picker-aria .date-range-picker-aria-calendar [data-selection-end]{border-radius:0 6px 6px 0}.date-range-picker-aria .date-range-picker-aria-calendar [data-in-range]{background:#dbeafe;color:#1d4ed8}.date-range-picker-aria .date-range-picker-aria-calendar button[data-cell]{border-radius:6px}.date-range-picker-aria .date-range-picker-aria-calendar button[data-cell]:hover{background:#e0e7ff}.non-conforming-filter{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:.9rem}.non-conforming-filter input{width:18px;height:18px}.non-conforming-loading{margin:12px 0;color:#6b7280}.non-conforming-total-row{display:flex;align-items:center;gap:10px;margin:12px 0;flex-wrap:wrap}.non-conforming-total-row .non-conforming-total{margin:0;color:#6b7280}.non-conforming-status-select-field{display:flex;flex-direction:column;gap:4px}.non-conforming-status-select-label{font-size:.8rem;font-weight:500;color:#6b7280}.non-conforming-status-select-wrap{display:inline-flex}.non-conforming-status-select{padding:8px 12px;font-size:.9rem;border:1px solid #e5e7eb;border-radius:8px;background:#fff;color:#374151;cursor:pointer;min-width:160px}.non-conforming-status-select:focus{outline:none;border-color:#2563eb}.non-conforming-table-wrap{background:#fff;border-radius:12px;border:1px solid #e5e7eb;overflow-x:auto;margin-top:16px;box-shadow:0 1px 3px #0000000d}.non-conforming-table{width:100%;min-width:960px;border-collapse:collapse;table-layout:fixed}.non-conforming-table th,.non-conforming-table td{padding:12px 14px;text-align:left;border-bottom:1px solid #e5e7eb;vertical-align:top}.non-conforming-table thead th{background:#f8fafc;color:#475569;font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}.non-conforming-table thead th:nth-child(1){width:12%;min-width:120px}.non-conforming-table thead th:nth-child(2){width:9%;min-width:90px}.non-conforming-table thead th:nth-child(3){width:10%;min-width:100px}.non-conforming-table thead th:nth-child(4){width:18%;min-width:140px}.non-conforming-table thead th:nth-child(5){width:6%;min-width:60px}.non-conforming-table thead th:nth-child(6){width:12%;min-width:100px}.non-conforming-table thead th:nth-child(7){width:6%;min-width:56px}.non-conforming-table thead th:nth-child(8){width:14%;min-width:110px}.non-conforming-table thead th:nth-child(9){width:13%;min-width:140px}.non-conforming-table tbody tr:nth-child(2n){background:#fafbfc}.non-conforming-table tbody tr:hover{background:#f1f5f9}.non-conforming-table tbody tr:nth-child(2n):hover{background:#f1f5f9}.non-conforming-table td{font-size:.9rem}.non-conforming-table td:nth-child(5),.non-conforming-table td:nth-child(7){text-align:center}.non-conforming-table td:nth-child(7) .photo-button{margin:0 auto}.nc-form-header{display:flex;flex-direction:column;gap:2px}.nc-form-id{font-size:.8rem;font-weight:600;color:#4b5563}.nc-form-type{font-weight:600;font-size:.9rem;color:#111827}.nc-form-meta{margin-top:4px;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:.8rem;color:#6b7280}.nc-form-datetime{white-space:nowrap}.nc-form-monitor{font-weight:500;color:#4b5563}.nc-form-status-row{margin-top:6px}.nc-status-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:.75rem;font-weight:600}.nc-status-conform{background:#dcfce7;color:#166534}.nc-status-maintenance{background:#fef3c7;color:#92400e}.nc-status-nonconform{background:#fee2e2;color:#991b1b}.nc-form-date{font-size:.85rem;color:#6b7280}.nc-obs{word-break:break-word;overflow-wrap:break-word}.nc-obs-button{padding:6px 18px;border-radius:999px;border:1px solid #e5e7eb;background:#f9fafb;font-size:.9rem;color:#374151;cursor:pointer}.nc-obs-button:hover{background:#eff6ff;border-color:#bfdbfe}.nc-photo-link{color:#2563eb}.nc-controller-obs{font-size:.9rem}.nc-edit-obs textarea.nc-obs-input{width:100%;padding:8px 10px;border:1px solid #e5e7eb;border-radius:8px;font-size:.9rem;resize:vertical}.nc-edit-actions{display:flex;gap:8px;margin-top:8px}.btn-save-small,.btn-cancel-small{padding:6px 12px;font-size:.85rem;border-radius:8px;border:none;cursor:pointer}.btn-save-small{background:#2563eb;color:#fff}.btn-cancel-small{background:#f3f4f6;color:#374151}.nc-cell-actions{display:flex;flex-wrap:wrap;gap:8px}.btn-obs,.btn-corrected{display:inline-flex;align-items:center;gap:4px;padding:6px 12px;font-size:.8rem;border-radius:8px;border:1px solid transparent;cursor:pointer;width:150px;justify-content:center}.btn-obs{background:#f3f4f6;color:#374151;border-color:#e5e7eb}.btn-obs-add{background:#fee2e2;border-color:#fecaca;color:#b91c1c}.btn-obs-add:hover{background:#fecaca}.btn-obs-edit{background:#fef3c7;border-color:#fde68a;color:#92400e}.btn-obs-edit:hover{background:#fde68a}.btn-corrected{background:#22c55e;color:#fff;border-color:#16a34a}.btn-corrected:disabled{opacity:.6;cursor:not-allowed}.btn-icon{display:inline-block;font-size:.9em}.non-conforming-empty{padding:24px;text-align:center;color:#6b7280;margin:0}.form-correction-page{margin-top:24px}.form-correction-none{padding:24px;color:#6b7280}.form-correction-list{display:flex;flex-direction:column;gap:16px;margin-bottom:24px}.form-correction-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:16px}.form-correction-card-header{display:flex;gap:12px;margin-bottom:8px}.fc-section{font-weight:600;color:#374151}.fc-item-num{font-size:.9rem;color:#6b7280}.fc-item-name{margin:0 0 12px;color:#111827}.fc-controller-obs{background:#fef3c7;border-left:4px solid #f59e0b;padding:10px 12px;margin-bottom:12px;border-radius:0 8px 8px 0;font-size:.9rem}.fc-fields{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}.fc-field .fc-label{display:block;font-size:.8rem;font-weight:500;color:#6b7280;margin-bottom:4px}.form-correction-actions{display:flex;gap:12px;justify-content:flex-end}.forms-list-th-actions{width:140px}.forms-list-actions{display:flex;flex-wrap:wrap;gap:8px}.forms-list-btn-report,.forms-list-btn-correction{padding:6px 12px;font-size:.85rem;border-radius:8px;border:none;cursor:pointer}.forms-list-btn-report{background:#eff6ff;color:#2563eb}.forms-list-btn-correction{background:#fef3c7;color:#b45309}.forms-list-badge-pending{display:inline-block;margin-left:8px;padding:2px 8px;font-size:.7rem;font-weight:600;border-radius:6px}.forms-list-badge-conform{background:#dcfce7;color:#166534}.forms-list-badge-maintenance{background:#fef3c7;color:#b45309}.forms-list-badge-nonconform{background:#fee2e2;color:#b91c1c}
