:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}.app{min-height:100vh;background:#f5f5f5}.navbar{background:#2c3e50;color:#fff;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 4px #0000001a}.navbar h1{font-size:1.5rem}.nav-links{display:flex;gap:1rem}.nav-links a{color:#fff;text-decoration:none;padding:.5rem 1rem;border-radius:4px;transition:background .3s}.nav-links a:hover,.nav-links a.active{background:#34495e}.main-content{padding:2rem;max-width:1400px;margin:0 auto}.header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.header h2{color:#2c3e50!important}button{background:#3498db;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;cursor:pointer;font-size:1rem;transition:background .3s}button:hover{background:#2980b9}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-top:2rem}.stat-card{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;text-align:center}.stat-card h3{color:#7f8c8d;font-size:.9rem;margin-bottom:1rem;text-transform:uppercase}.stat-number{font-size:2.5rem;font-weight:700;color:#2c3e50}.stat-card.alert .stat-number{color:#e74c3c}.form-card{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:2rem;display:flex;flex-direction:column;gap:1rem}.form-card input,.form-card select,.form-card textarea{padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;width:100%}.form-card textarea{min-height:100px;resize:vertical}.table-container{background:#fff!important;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow-x:auto;color:#2c3e50!important}table{width:100%;border-collapse:collapse;background:#fff!important}tbody,tbody tr,tbody td{background:#fff!important}thead{background:#ecf0f1!important}th{padding:1rem;text-align:left;font-weight:600;color:#2c3e50!important;border-bottom:2px solid #bdc3c7;background:#ecf0f1!important}td{padding:1rem;border-bottom:1px solid #ecf0f1;color:#2c3e50!important;background:#fff!important}td h3,td h4,td p,td span:not(.badge),td strong{color:#2c3e50!important;background:transparent!important}tr:hover,tr:hover td{background:#f8f9fa!important}.badge{padding:.25rem .75rem;border-radius:12px;font-size:.85rem;font-weight:500}.badge-warning{background:#f39c12;color:#fff}.badge-info{background:#3498db;color:#fff}.badge-success{background:#2ecc71;color:#fff}.badge-danger{background:#e74c3c;color:#fff}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 4px 6px #0000001a;max-width:600px;width:90%;max-height:90vh;overflow-y:auto}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;border-bottom:2px solid #ecf0f1;padding-bottom:1rem}.modal-header h2{color:#2c3e50;margin:0}.modal-close{background:none;border:none;font-size:2rem;color:#7f8c8d;cursor:pointer;padding:0;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center}.modal-close:hover{color:#2c3e50;background:none}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:#2c3e50;font-weight:500}.form-group input,.form-group select,.form-group textarea{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;font-family:inherit}.form-group textarea{min-height:100px;resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.modal-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem;padding-top:1rem;border-top:1px solid #ecf0f1}@media(prefers-color-scheme:dark){.app{background:#1a1a1a;color:#e0e0e0}.stat-card,.form-card,.table-container,.modal-content{background:#2d2d2d;color:#e0e0e0}.header h2,.modal-header h2,.stat-number,th{color:#e0e0e0}.stat-card h3{color:#b0b0b0}thead{background:#3a3a3a}td{border-bottom:1px solid #3a3a3a;color:#e0e0e0}th{border-bottom:2px solid #4a4a4a}tr:hover{background:#3a3a3a}.form-card input,.form-card select,.form-card textarea,.form-group input,.form-group select,.form-group textarea{background:#3a3a3a;border:1px solid #4a4a4a;color:#e0e0e0}.form-group label{color:#e0e0e0}.modal-close{color:#b0b0b0}.modal-close:hover{color:#e0e0e0}.modal-header{border-bottom:2px solid #3a3a3a}.modal-actions{border-top:1px solid #3a3a3a}}@media(prefers-color-scheme:light){.app{background:#f5f5f5;color:#2c3e50}.stat-card,.form-card,.table-container,.modal-content{background:#fff;color:#2c3e50}td{color:#2c3e50}}@media(max-width:768px){.navbar{flex-direction:column;gap:1rem}.nav-links{width:100%;justify-content:center}.header{flex-direction:column;gap:1rem}.stats-grid{grid-template-columns:1fr}table{font-size:.9rem}th,td{padding:.5rem}.form-row{grid-template-columns:1fr}.modal-content{width:95%;padding:1.5rem}}@media(prefers-color-scheme:light){.fila-cliente.is-selected>td{background-color:#b3c6ff!important}.fila-cliente.is-selected:hover>td{background-color:#a8bcff!important}.fila-cliente.is-selected>td:first-child{box-shadow:inset 4px 0 #1f4f8f}.fila-cliente.is-selected:focus-within>td,.fila-cliente.is-selected:focus>td{outline:2px solid #1f4f8f;outline-offset:-2px}}
