@charset "UTF-8";:root{--color-primary: #1565C0;--color-primary-hover: #0D47A1;--color-primary-light: #BBDEFB;--color-danger: #c53030;--color-danger-hover: #9b2c2c;--color-danger-light: #fed7d7;--color-warning: #d69e2e;--color-warning-light: #fefcbf;--color-info: #0288D1;--color-info-light: #B3E5FC;--color-success: #2e7d32;--color-text: #1a202c;--color-text-secondary: #4a5568;--color-text-muted: #718096;--color-bg: #f1f5f9;--color-bg-card: #ffffff;--color-border: #e2e8f0;--color-border-light: #edf2f7;--color-table-header: #edf2f7;--color-table-hover: #f7fafc;--color-table-stripe: #fafbfc;--radius-sm: 4px;--radius-md: 6px;--radius-lg: 8px;--shadow-sm: 0 1px 2px rgba(0,0,0,.05);--shadow-md: 0 2px 8px rgba(0,0,0,.1);--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;--font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace}*,*:before,*:after{box-sizing:border-box}body{margin:0;font-family:var(--font-sans);font-size:14px;line-height:1.5;color:var(--color-text);background:var(--color-bg);-webkit-font-smoothing:antialiased}h1,h2,h3,h4,h5,h6{margin:0 0 .75rem;font-weight:600;line-height:1.3;color:var(--color-text)}h2{font-size:1.5rem}h3{font-size:1.2rem}a{color:var(--color-primary);text-decoration:none}a:hover{text-decoration:underline}.container{max-width:1200px}.page-header,.header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.25rem;flex-wrap:wrap;gap:.75rem}.page-header h2,.header h2{margin:0}.actions{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}button,.btn,.btn-primary,.btn-secondary,.btn-danger,.btn-sm{display:inline-flex;align-items:center;justify-content:center;padding:.5rem 1rem;font-family:var(--font-sans);font-size:.875rem;font-weight:500;line-height:1.4;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-bg-card);color:var(--color-text);cursor:pointer;text-decoration:none;transition:background .15s,border-color .15s,box-shadow .15s;white-space:nowrap}button:hover,.btn:hover,.btn-primary:hover,.btn-secondary:hover,.btn-danger:hover,.btn-sm:hover{background:var(--color-border-light);text-decoration:none}button:focus-visible,.btn:focus-visible,.btn-primary:focus-visible,.btn-secondary:focus-visible,.btn-danger:focus-visible,.btn-sm:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}button:disabled,.btn:disabled,.btn-primary:disabled,.btn-secondary:disabled,.btn-danger:disabled,.btn-sm:disabled{opacity:.5;cursor:not-allowed}.btn-primary,a.btn-primary{background:var(--color-primary);color:#fff;border-color:var(--color-primary)}.btn-primary:hover,a.btn-primary:hover{background:var(--color-primary-hover);border-color:var(--color-primary-hover);color:#fff}.btn-secondary,a.btn-secondary{background:var(--color-bg-card);color:var(--color-text-secondary);border-color:var(--color-border)}.btn-secondary:hover,a.btn-secondary:hover{background:var(--color-border-light)}.btn-danger,a.btn-danger{background:var(--color-danger);color:#fff;border-color:var(--color-danger)}.btn-danger:hover,a.btn-danger:hover{background:var(--color-danger-hover);border-color:var(--color-danger-hover);color:#fff}.btn-sm{padding:.3rem .6rem;font-size:.8rem}.btn+.btn,.btn-sm+.btn-sm,button+button,button+a,a+button{margin-left:.25rem}label{display:block;margin-bottom:.3rem;font-size:.875rem;font-weight:500;color:var(--color-text-secondary)}input[type=text],input[type=number],input[type=email],input[type=tel],input[type=date],input[type=datetime-local],input[type=password],input[type=url],input[type=file],select,textarea{display:block;width:100%;padding:.5rem .75rem;font-family:var(--font-sans);font-size:.875rem;line-height:1.5;color:var(--color-text);background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-md);transition:border-color .15s,box-shadow .15s}input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=tel]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=password]:focus,input[type=url]:focus,input[type=file]:focus,select:focus,textarea:focus{border-color:var(--color-primary);outline:none;box-shadow:0 0 0 3px #1565c026}input[type=text]::placeholder,input[type=number]::placeholder,input[type=email]::placeholder,input[type=tel]::placeholder,input[type=date]::placeholder,input[type=datetime-local]::placeholder,input[type=password]::placeholder,input[type=url]::placeholder,input[type=file]::placeholder,select::placeholder,textarea::placeholder{color:var(--color-text-muted)}input[type=text]:disabled,input[type=number]:disabled,input[type=email]:disabled,input[type=tel]:disabled,input[type=date]:disabled,input[type=datetime-local]:disabled,input[type=password]:disabled,input[type=url]:disabled,input[type=file]:disabled,select:disabled,textarea:disabled{background:var(--color-border-light);cursor:not-allowed}textarea{min-height:80px;resize:vertical}select{appearance:auto}.form-group{margin-bottom:1rem}.form-actions{display:flex;gap:.75rem;margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--color-border-light)}fieldset{border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:1rem 1.25rem;margin-bottom:1.25rem}fieldset legend{font-weight:600;font-size:.95rem;color:var(--color-text);padding:0 .5rem}table,.table{width:100%;border-collapse:collapse;background:var(--color-bg-card);border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--color-border)}th,td{padding:.6rem .85rem;text-align:left;border-bottom:1px solid var(--color-border-light);font-size:.875rem}th{font-weight:600;font-size:.8rem;text-transform:uppercase;letter-spacing:.3px;color:var(--color-text-secondary);background:var(--color-table-header);border-bottom:2px solid var(--color-border);white-space:nowrap}tbody tr{transition:background .1s}tbody tr:hover{background:var(--color-table-hover)}tbody tr:nth-child(2n){background:var(--color-table-stripe)}tbody tr:nth-child(2n):hover{background:var(--color-table-hover)}tbody td:last-child{white-space:nowrap}.table-container,.table-wrapper{overflow-x:auto;border-radius:var(--radius-lg);-webkit-overflow-scrolling:touch}.table-container>table,.table-wrapper>table{min-width:600px}.pagination{display:flex;align-items:center;gap:.75rem;margin-top:1rem;padding-top:.75rem;font-size:.875rem;color:var(--color-text-secondary)}.pagination button{padding:.35rem .75rem;font-size:.8rem}.filters,.filtros{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;margin-bottom:1.25rem;padding:.75rem 1rem;background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-lg)}.filters label,.filtros label{margin-bottom:0;font-size:.85rem;white-space:nowrap}.filters input,.filters select,.filtros input,.filtros select{width:auto;min-width:120px;max-width:200px}.badge{display:inline-block;padding:.2rem .6rem;font-size:.75rem;font-weight:600;border-radius:999px;text-transform:uppercase;letter-spacing:.3px;line-height:1.4}.badge-success{background:#c8e6c9;color:#1b5e20}.badge-danger{background:var(--color-danger-light);color:var(--color-danger)}.badge-warning{background:var(--color-warning-light);color:#744210}.badge-info{background:var(--color-info-light);color:#2a4365}.card{background:var(--color-bg-card);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:1.25rem;transition:box-shadow .2s}.card:hover{box-shadow:var(--shadow-md)}.cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.empty-state{text-align:center;padding:3rem 1rem;color:var(--color-text-muted);font-size:.95rem}.loading{text-align:center;padding:2rem 1rem;color:var(--color-text-muted)}.alert{padding:.75rem 1rem;border-radius:var(--radius-md);margin-bottom:1rem;font-size:.875rem}.alert-success{background:#c8e6c9;color:#1b5e20;border:1px solid #a5d6a7}.alert-danger{background:var(--color-danger-light);color:var(--color-danger);border:1px solid #feb2b2}.alert-warning{background:var(--color-warning-light);color:#744210;border:1px solid #fefcbf}.alert-info{background:var(--color-info-light);color:#2a4365;border:1px solid #90cdf4}.text-right{text-align:right}.text-center{text-align:center}.text-mono{font-family:var(--font-mono)}.text-muted{color:var(--color-text-muted)}.text-success{color:var(--color-success)}.text-danger,.negativo{color:var(--color-danger)}.positivo{color:var(--color-success)}.sub-form-row{display:flex;gap:.75rem;align-items:flex-end;padding:.75rem;margin-bottom:.5rem;background:var(--color-border-light);border-radius:var(--radius-md);flex-wrap:wrap}.sub-form-row .form-group{margin-bottom:0;flex:1;min-width:120px}.upload-status{color:var(--color-info);font-size:.85rem;padding:.5rem 0}.foto-item{display:flex;gap:.75rem;align-items:center;padding:.5rem .75rem;margin-bottom:.5rem;background:var(--color-border-light);border-radius:var(--radius-md)}.foto-item .foto-name{font-size:.85rem;color:var(--color-text-secondary);min-width:150px}.foto-item input[type=text]{flex:1}.form-row{display:flex;gap:1rem;margin-bottom:1rem}.form-row .form-group{flex:1;margin-bottom:0}@media(max-width:768px){.page-header,.header{flex-direction:column;align-items:flex-start}.filters,.filtros{flex-direction:column;align-items:stretch}.filters input,.filters select,.filtros input,.filtros select{max-width:100%;width:100%}.sub-form-row{flex-direction:column}.form-row{flex-direction:column;gap:0}.form-row .form-group{margin-bottom:1rem}.form-actions{flex-wrap:wrap}.form-actions .btn,.form-actions button,.form-actions a{flex:1;min-width:120px;text-align:center}.pagination{flex-wrap:wrap;justify-content:center}.foto-item{flex-direction:column;align-items:stretch}.foto-item .foto-name{min-width:auto}table,.table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;font-size:.8rem}th,td{padding:.4rem .5rem}.btn-sm{padding:.25rem .4rem;font-size:.75rem}.cards-grid{grid-template-columns:1fr}.card{padding:1rem}fieldset{padding:.75rem}h2{font-size:1.25rem}}@media(max-width:480px){.page-header .btn,.page-header .btn-primary,.header .btn,.header .btn-primary{width:100%;justify-content:center}.actions{width:100%;flex-direction:column}.actions .btn,.actions .btn-sm,.actions button{width:100%;justify-content:center}.badge{font-size:.65rem;padding:.15rem .4rem}}
