:root{--fc-bg:#fff;--fc-surface:#f4f6f9;--fc-border:#d8dee7;--fc-ink:#0a0f1a;--fc-ink-2:#41505f;--fc-action:#0a46c0;--fc-on-action:#fff;--fc-teal:#0e8c86;--fc-action-chip:#dce8fb;--fc-success:#0b6b2e;--fc-success-chip:#d7f0dd;--fc-warning:#8a4b00;--fc-warning-chip:#fbe5c2;--fc-danger:#b01007;--fc-danger-chip:#fbd9d4;--fc-font:"Inter", system-ui, sans-serif;--fc-touch-min:48px;--bg-primary:var(--fc-surface);--bg-card:var(--fc-bg);--color-primary:var(--fc-action);--color-accent:var(--fc-teal);--color-fiber:var(--fc-teal);--color-text-main:var(--fc-ink);--color-text-muted:var(--fc-ink-2);--color-border:var(--fc-border);--status-pending:var(--fc-warning);--status-pending-bg:var(--fc-warning-chip);--status-attended:var(--fc-success);--status-attended-bg:var(--fc-success-chip);--status-critical:var(--fc-danger);--status-critical-bg:var(--fc-danger-chip);--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-full:9999px;--shadow-card:0 1px 3px #0a0f1a14;--transition:background-color .15s ease, border-color .15s ease, color .15s ease}*{box-sizing:border-box;font-family:var(--fc-font);-webkit-tap-highlight-color:transparent;margin:0;padding:0}body{background-color:var(--fc-surface);color:var(--fc-ink);min-height:100vh;font-size:1rem;line-height:1.5;overflow-x:hidden}:focus-visible{outline:3px solid var(--fc-action);outline-offset:2px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--fc-surface)}::-webkit-scrollbar-thumb{background:var(--fc-border);border-radius:4px}.glass-panel{background:var(--fc-bg);border:1px solid var(--fc-border);box-shadow:var(--shadow-card);color:var(--fc-ink)}.glass-modal{background:var(--fc-bg);border:1px solid var(--fc-border);color:var(--fc-ink)}@keyframes pulseGlow{0%{box-shadow:0 0 #b0100773}70%{box-shadow:0 0 0 10px #b0100700}to{box-shadow:0 0 #b0100700}}.pulse-critical{animation:1.8s infinite pulseGlow}@media (prefers-reduced-motion:reduce){.pulse-critical,.fiber-indicator,.modal-overlay,.toast-alert{animation:none}}.fiber-indicator{background:var(--fc-teal);border-radius:50%;width:10px;height:10px;display:inline-block}.app-container{max-width:1200px;margin:0 auto;padding:1rem}.top-header{border-radius:var(--radius-md);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.8rem;margin-bottom:1.25rem;padding:1rem 1.25rem;display:flex}.header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}@media (width<=720px){.top-header{text-align:center;justify-content:center}.header-actions{justify-content:center;width:100%}}@media (width<=420px){.header-actions .btn span{display:none}}.brand-title{color:var(--fc-ink);align-items:center;gap:.5rem;font-size:1.35rem;font-weight:800;display:flex}.user-badge{background:var(--fc-surface);border-radius:var(--radius-full);border:1px solid var(--fc-border);cursor:pointer;transition:var(--transition);align-items:center;gap:.6rem;padding:.4rem .8rem;display:flex}.user-badge:hover{background:var(--fc-action-chip);border-color:var(--fc-action)}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:1.5rem;display:grid}.stat-card{border-radius:var(--radius-md);flex-direction:column;justify-content:space-between;padding:1rem 1.2rem;display:flex;position:relative;overflow:hidden}@media (width<=480px){.stats-grid{grid-template-columns:repeat(2,1fr);gap:.6rem}.stat-card{padding:.8rem}}.stat-value{margin-top:.25rem;font-size:1.8rem;font-weight:800}.btn{min-height:var(--fc-touch-min);border-radius:var(--radius-md);cursor:pointer;transition:var(--transition);border:1px solid #0000;justify-content:center;align-items:center;gap:.5rem;padding:.65rem 1.25rem;font-size:.95rem;font-weight:700;display:inline-flex}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:var(--fc-action);color:var(--fc-on-action)}.btn-primary:hover:not(:disabled){filter:brightness(1.12)}.btn-success{background:var(--fc-success);color:var(--fc-on-action)}.btn-success:hover:not(:disabled){filter:brightness(1.12)}.btn-outline{background:var(--fc-bg);color:var(--fc-ink);border-color:var(--fc-ink-2)}.btn-outline:hover:not(:disabled){background:var(--fc-surface)}.badge{border-radius:var(--radius-full);text-transform:uppercase;letter-spacing:.3px;align-items:center;gap:.35rem;padding:.25rem .65rem;font-size:.78rem;font-weight:700;display:inline-flex}.badge-pendiente{background:var(--fc-warning-chip);color:var(--fc-warning);border:1px solid var(--fc-warning)}.badge-atendida{background:var(--fc-success-chip);color:var(--fc-success);border:1px solid var(--fc-success)}.badge-critica{background:var(--fc-danger-chip);color:var(--fc-danger);border:1px solid var(--fc-danger)}.incidents-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.25rem;display:grid}.incident-card{border-radius:var(--radius-md);transition:var(--transition);flex-direction:column;justify-content:space-between;padding:1.25rem;display:flex;position:relative}.incident-card:hover{border-color:var(--fc-action)}.photo-thumbnail-container{border-radius:var(--radius-sm);background:var(--fc-surface);width:100%;height:160px;margin:.8rem 0;position:relative;overflow:hidden}.photo-thumbnail{object-fit:cover;width:100%;height:100%;transition:transform .4s}.photo-thumbnail-container:hover .photo-thumbnail{transform:scale(1.05)}.modal-overlay{z-index:1000;background:#0a0f1a8c;justify-content:center;align-items:center;padding:1rem;animation:.2s ease-out fadeIn;display:flex;position:fixed;inset:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{border-radius:var(--radius-lg);width:100%;max-width:650px;max-height:90vh;padding:1.75rem;overflow-y:auto;box-shadow:0 12px 32px #0a0f1a40}@media (width<=480px){.modal-overlay{padding:.5rem}.modal-content{padding:1.1rem}}.smartolt-search-row{flex-wrap:wrap;gap:.6rem;display:flex}.smartolt-search-row>button{min-width:120px}.smartolt-card-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.6rem;display:flex}.smartolt-card-actions{flex-wrap:wrap;justify-content:flex-end;gap:.6rem;margin-top:.2rem;display:flex}@media (width<=480px){.smartolt-search-row>div,.smartolt-search-row>button{flex:100%}.smartolt-card-header>div:last-child{justify-content:space-between;width:100%}.smartolt-card-actions button{flex:100%;justify-content:center}}.form-group{margin-bottom:1.1rem}.form-label{color:var(--fc-ink);margin-bottom:.4rem;font-size:.9rem;font-weight:700;display:block}.form-input,.form-select,.form-textarea{width:100%;min-height:var(--fc-touch-min);background:var(--fc-bg);border:1px solid var(--fc-ink-2);border-radius:var(--radius-sm);color:var(--fc-ink);transition:var(--transition);padding:.75rem 1rem;font-size:1rem}.form-textarea{min-height:96px}.form-input::placeholder,.form-textarea::placeholder{color:var(--fc-ink-2);opacity:.8}.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:var(--fc-action);outline:3px solid var(--fc-action-chip)}.menu-overlay{z-index:1200;opacity:0;pointer-events:none;background:#0a0f1a8c;transition:opacity .25s;position:fixed;inset:0}.menu-overlay-open{opacity:1;pointer-events:auto}.menu-drawer{background:var(--fc-bg);border-right:1px solid var(--fc-border);z-index:1201;flex-direction:column;width:min(320px,85vw);transition:transform .25s;display:flex;position:fixed;top:0;bottom:0;left:0;transform:translate(-105%);box-shadow:8px 0 24px #0a0f1a2e}.menu-drawer-open{transform:translate(0)}.menu-drawer-header{border-bottom:1px solid var(--fc-border);flex-shrink:0;justify-content:space-between;align-items:center;padding:1.1rem 1.1rem .9rem;display:flex}.menu-scroll{flex:1;padding:.6rem .7rem 1.5rem;overflow-y:auto}.menu-section{border-bottom:1px solid var(--fc-border);margin-bottom:.4rem;padding-bottom:.4rem}.menu-section:last-child{border-bottom:none}.menu-section-title{letter-spacing:.04em;text-transform:uppercase;color:var(--fc-ink-2);padding:.6rem .7rem .3rem;font-size:.75rem;font-weight:800}.menu-item{width:100%;min-height:var(--fc-touch-min);color:var(--fc-ink);text-align:left;border-radius:var(--radius-sm);cursor:pointer;transition:var(--transition);background:0 0;border:none;align-items:center;gap:.7rem;padding:.65rem .7rem;font-size:1rem;font-weight:600;display:flex}.menu-item:hover{background:var(--fc-surface)}.menu-item-sub{padding-left:1.4rem}.menu-item-active{background:var(--fc-action);color:var(--fc-on-action);font-weight:700}.toast-alert{z-index:2000;border-radius:var(--radius-md);align-items:flex-start;gap:.8rem;width:calc(100% - 2.5rem);max-width:380px;padding:1rem 1.25rem;animation:.3s cubic-bezier(.16,1,.3,1) slideInRight;display:flex;position:fixed;top:1.25rem;right:1.25rem;box-shadow:0 8px 24px #0a0f1a40}@keyframes slideInRight{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}
