:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1b1d22;background:#f5f6f8;font-synthesis:none;text-rendering:optimizeLegibility;--brand: #ad161b;--brand-dark: #841015;--brand-deep: #660c10;--brand-soft: #fbecee;--ink: #191b20;--muted: #686d77;--subtle: #686d77;--line: #e3e5e9;--line-strong: #d5d8de;--surface: #ffffff;--canvas: #f5f6f8;--success: #16744a;--success-soft: #eaf7f1;--danger: #b4232a;--shadow-sm: 0 1px 2px rgba(17, 24, 39, .04), 0 5px 18px rgba(17, 24, 39, .04);--shadow-lg: 0 24px 60px rgba(21, 24, 31, .16)}*{box-sizing:border-box}html{min-width:320px;min-height:100%;background:var(--canvas)}body{min-width:320px;min-height:100vh;margin:0;color:var(--ink);background:var(--canvas);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button,a{color:inherit}img{display:block;max-width:100%}h1,h2,h3,p{margin-top:0}:focus-visible{outline:3px solid rgba(173,22,27,.24);outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:200;top:12px;left:12px;padding:10px 14px;border-radius:8px;color:#fff;background:var(--brand-dark);transform:translateY(-150%);transition:transform .16s ease}.skip-link:focus{transform:translateY(0)}.button{display:inline-flex;min-height:42px;align-items:center;justify-content:center;gap:8px;padding:9px 17px;border:1px solid transparent;border-radius:9px;font-size:.9rem;font-weight:680;line-height:1.3;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease,transform .15s ease}.button:not(:disabled):active{transform:translateY(1px)}.button:disabled{cursor:not-allowed;opacity:.6}.button--primary{color:#fff;background:var(--brand);box-shadow:0 6px 14px #ad161b29}.button--primary:hover:not(:disabled){background:var(--brand-dark);box-shadow:0 8px 18px #84101538}.button--secondary{color:#33363d;border-color:var(--line-strong);background:#fff}.button--secondary:hover:not(:disabled),.button--ghost:hover:not(:disabled){border-color:#b9bdc5;background:#f7f7f8}.button--ghost{color:#484c54;border-color:var(--line);background:transparent}.button--danger{color:#fff;background:var(--danger)}.button--danger:hover:not(:disabled){background:#901a21}.button--success{color:#fff;background:var(--success);box-shadow:0 6px 14px #16744a29}.button--success:hover:not(:disabled){background:#0f5d3a}.button--large{min-height:50px;padding-inline:22px}.button--full{width:100%}.icon-button{display:inline-grid;width:42px;height:42px;flex:0 0 42px;padding:0;border:1px solid var(--line);border-radius:9px;color:#4a4d54;background:#fff;place-items:center;cursor:pointer}.icon-button:hover:not(:disabled){color:var(--brand);border-color:#dfb6b9;background:var(--brand-soft)}.spinner{display:inline-block;width:17px;height:17px;flex:0 0 auto;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite;opacity:.75}.spinner--large{width:28px;height:28px;border-width:3px}@keyframes spin{to{transform:rotate(360deg)}}.full-page-loader{display:flex;min-height:100vh;align-items:center;justify-content:center;gap:12px;color:var(--muted);background:#fff;font-size:.94rem}.form-stack{display:flex;flex-direction:column;gap:19px}.form-grid{display:grid;gap:14px}.form-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}.field-group{display:flex;min-width:0;flex-direction:column;gap:7px}.field-group label,.role-fieldset legend{color:#303238;font-size:.86rem;font-weight:660}.field-group small{color:var(--muted);font-size:.75rem;line-height:1.45}.field-group input,.field-group textarea{width:100%;border:1px solid var(--line-strong);border-radius:9px;color:var(--ink);background:#fff;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}.field-group input{height:44px;padding:0 13px}.field-group textarea{min-height:126px;padding:11px 13px;line-height:1.55;resize:vertical}.field-group input::placeholder,.field-group textarea::placeholder{color:#6f737a}.field-group input:hover:not(:disabled),.field-group textarea:hover:not(:disabled){border-color:#b8bbc3}.field-group input:focus,.field-group textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px #ad161b1a}.field-group input:disabled,.field-group textarea:disabled{color:#737780;background:#f3f4f6}.label-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.label-row span{color:var(--subtle);font-size:.72rem}.optional-label{color:var(--subtle);font-weight:500}.alert{position:fixed;z-index:300;right:24px;bottom:24px;display:flex;width:min(420px,calc(100vw - 48px));align-items:flex-start;gap:9px;padding:11px 13px;border:1px solid #ecc9cc;border-radius:9px;color:#88181e;background:#fff3f4;box-shadow:0 14px 38px #181b2229;font-size:.84rem;line-height:1.45;animation:toast-in .18s ease-out}.alert svg{flex:0 0 auto;margin-top:1px}.alert--success{color:#12603d;border-color:#bfe3d1;background:var(--success-soft)}.inline-spinner{display:inline-flex;align-items:center;gap:10px;color:var(--muted);font-size:.88rem}.login-page{display:grid;min-height:100vh;grid-template-columns:minmax(400px,53%) minmax(420px,47%);background:#fff}.login-brand{position:relative;display:flex;min-height:100vh;align-items:center;justify-content:center;overflow:hidden;padding:60px;background:radial-gradient(circle at 10% 14%,#ffffff1a 0,#fff0 33%),radial-gradient(circle at 90% 88%,#ffffff14 0,#fff0 28%),linear-gradient(145deg,#8f1116,#b3181e 58%,#821015)}.login-brand:before,.login-brand:after{position:absolute;content:"";border:1px solid rgba(255,255,255,.11);border-radius:50%}.login-brand:before{width:420px;height:420px;top:-230px;left:-120px}.login-brand:after{width:520px;height:520px;right:-280px;bottom:-300px}.login-brand__content{position:relative;z-index:1;width:min(590px,92%)}.login-brand__content>img{width:100%;padding:clamp(22px,4vw,40px);border-radius:18px;background:#fffffff7;box-shadow:0 28px 70px #49040742}.login-brand__message{display:flex;align-items:center;gap:17px;margin:30px 8px 0;color:#fff}.login-brand__message p{max-width:440px;margin-bottom:0;font-size:clamp(1rem,1.4vw,1.2rem);font-weight:460;line-height:1.55;letter-spacing:.01em}.login-brand__line{width:4px;height:46px;flex:0 0 auto;border-radius:4px;background:#ffffffb8}.login-panel{display:flex;min-height:100vh;flex-direction:column;align-items:center;justify-content:center;padding:58px clamp(40px,6vw,90px) 30px;background:#fff}.login-card{width:min(100%,430px)}.login-card__mobile-brand{display:none}.login-card__eyebrow,.page-header__eyebrow,.modal__eyebrow{margin-bottom:8px;color:var(--brand);font-size:.71rem;font-weight:760;line-height:1.3;text-transform:uppercase;letter-spacing:.13em}.login-card h1{margin-bottom:10px;color:#17191e;font-size:clamp(1.8rem,3.1vw,2.35rem);line-height:1.13;letter-spacing:-.035em}.login-card__intro{margin-bottom:33px;color:var(--muted);font-size:.95rem;line-height:1.6}.login-form{gap:21px}.password-field{position:relative}.password-field input{padding-right:76px}.password-field__toggle{position:absolute;top:50%;right:7px;padding:7px;border:0;border-radius:6px;color:var(--brand);background:transparent;font-size:.74rem;font-weight:680;transform:translateY(-50%);cursor:pointer}.password-field__toggle:hover:not(:disabled){background:var(--brand-soft)}.login-form__submit{width:100%;margin-top:4px}.login-arrow{margin-left:2px;transform:rotate(180deg)}.app-shell{min-height:100vh;background:var(--canvas)}.sidebar{position:fixed;z-index:50;inset:0 auto 0 0;display:flex;width:264px;flex-direction:column;border-right:1px solid #e5e6e9;background:#fff}.sidebar__brand{display:flex;height:114px;align-items:center;padding:18px 24px 16px;border-bottom:1px solid #efeff1}.sidebar__brand img{width:100%;max-height:75px;object-fit:contain}.sidebar__navigation{flex:1;padding:28px 16px}.sidebar__eyebrow{margin:0 11px 11px;color:#6f737a;font-size:.64rem;font-weight:730;text-transform:uppercase;letter-spacing:.13em}.navigation-link{display:flex;min-height:45px;align-items:center;gap:12px;margin-bottom:5px;padding:9px 12px;border-radius:9px;color:#5b5e66;font-size:.9rem;font-weight:570;text-decoration:none;transition:color .14s ease,background-color .14s ease}.navigation-link:hover{color:#292b30;background:#f5f5f6}.navigation-link--active{color:var(--brand);background:var(--brand-soft);font-weight:680}.sidebar__account{padding:17px 16px 19px;border-top:1px solid #ededf0}.account-summary{display:flex;min-width:0;align-items:center;gap:11px;margin-bottom:13px;padding:0 5px}.avatar{display:inline-grid;width:37px;height:37px;flex:0 0 37px;border:1px solid #e7c5c8;border-radius:50%;color:var(--brand);background:var(--brand-soft);font-size:.86rem;font-weight:760;place-items:center}.account-summary__text{display:flex;min-width:0;flex-direction:column;gap:2px}.account-summary__text strong{overflow:hidden;color:#2d2f34;font-size:.83rem;text-overflow:ellipsis;white-space:nowrap}.account-summary__text small{color:var(--muted);font-size:.7rem}.logout-button{display:flex;width:100%;min-height:40px;align-items:center;gap:10px;padding:8px 10px;border:0;border-radius:8px;color:#6d7078;background:transparent;font-size:.8rem;cursor:pointer}.logout-button:hover{color:var(--brand);background:var(--brand-soft)}.mobile-header,.sidebar-backdrop{display:none}.main-content{min-height:100vh;margin-left:264px}.page{width:min(1500px,100%);margin:0 auto;padding:46px clamp(28px,4vw,58px) 60px}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px}.page-header h1{margin-bottom:7px;color:#17191e;font-size:clamp(1.75rem,2.8vw,2.2rem);line-height:1.15;letter-spacing:-.035em}.page-header>div>p:last-child:not(.page-header__eyebrow){max-width:660px;margin-bottom:0;color:var(--muted);font-size:.91rem;line-height:1.55}.page-header__action{flex:0 0 auto}.page-header__actions{display:flex;align-items:center;gap:9px}.filter-toggle--active{color:var(--brand);border-color:#dfb6b9;background:var(--brand-soft)}.panel{overflow:hidden;border:1px solid var(--line);border-radius:13px;background:var(--surface);box-shadow:var(--shadow-sm)}.panel__header{display:flex;align-items:center;gap:12px;padding:20px 22px;border-bottom:1px solid #eceef1}.panel__header--spread{justify-content:space-between}.panel__title-group{display:flex;min-width:0;align-items:center;gap:12px}.panel__header h2{margin-bottom:3px;color:#24262b;font-size:1rem;line-height:1.3}.panel__header p{margin:0;color:var(--muted);font-size:.77rem;line-height:1.4}.panel__icon{display:inline-grid;width:37px;height:37px;flex:0 0 37px;border-radius:9px;color:var(--brand);background:var(--brand-soft);place-items:center}.panel__icon--neutral{color:#555960;background:#f0f1f3}.result-count{flex:0 0 auto;padding:5px 9px;border-radius:999px;color:#646870;background:#f1f2f4;font-size:.7rem;font-weight:650}.dashboard-canvas{min-height:55vh;border-top:1px solid #e8e9ec}.incidents-panel{width:100%}.incident-filters{padding:13px 15px 12px;border-bottom:1px solid #eceef1;background:#fcfcfd}.incident-filters__grid{display:grid;grid-template-columns:minmax(190px,1.35fr) repeat(2,minmax(150px,1fr)) minmax(145px,.72fr);gap:10px}.incident-filters .field-group{gap:4px}.incident-filters .field-group label{color:#5f636b;font-size:.72rem;font-weight:650}.incident-filters .field-group input{height:36px;padding:0 10px;border-color:#dfe1e5;border-radius:7px;font-size:.78rem}.incident-filters .field-group input::placeholder{color:#92959c}.incident-filters__actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin-top:10px}.incident-filters__actions .button{min-height:35px;gap:6px;padding:7px 12px;border-radius:7px;font-size:.77rem}.incident-filters input[type=date]{color:#555961}.modal--incident{width:min(100%,620px)}.content-status{display:flex;min-height:280px;align-items:center;justify-content:center}.empty-state{display:flex;min-height:290px;flex-direction:column;align-items:center;justify-content:center;padding:40px 24px;text-align:center}.empty-state__icon{display:inline-grid;width:51px;height:51px;margin-bottom:15px;border-radius:50%;color:#7f838b;background:#f0f1f3;place-items:center}.empty-state h3{margin-bottom:7px;color:#33353a;font-size:.98rem}.empty-state p{max-width:410px;margin-bottom:18px;color:var(--muted);font-size:.82rem;line-height:1.55}.table-scroll{width:100%;overflow-x:auto}.data-table{width:100%;border-spacing:0;border-collapse:collapse;font-size:.79rem}.data-table th,.data-table td{padding:14px 15px;border-bottom:1px solid #eceef1;text-align:left;vertical-align:middle}.data-table th{color:#686d77;background:#fafafb;font-size:.65rem;font-weight:730;text-transform:uppercase;letter-spacing:.055em;white-space:nowrap}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fcfcfd}.incidents-table{min-width:850px}.incidents-table th:first-child,.incidents-table td:first-child{width:22%}.incidents-table th:nth-child(2){width:17%}.incidents-table th:nth-child(4){width:128px}.incidents-table th:nth-child(5){width:160px}.incident-row{cursor:pointer;transition:background-color .15s ease,box-shadow .15s ease}.incident-row:hover{background:#fafafa}.incident-row:focus-visible{outline:none;background:#fff8f8;box-shadow:inset 3px 0 var(--brand),inset 0 0 0 2px #ad161b29}.status-text{color:#666b74;font-size:.72rem;font-weight:740;white-space:nowrap}.status-text--pendiente{color:#666b74}.status-text--atendida{color:#176a9b}.status-text--en_pausa{color:#9a6508}.status-text--cancelada{color:#b01d25}.status-text--resuelta{color:#157148}.phone-link{color:var(--brand);font-weight:620;text-decoration:none;white-space:nowrap}.phone-link:hover{text-decoration:underline}.description-cell{display:-webkit-box;min-width:190px;margin:0;overflow:hidden;color:#50535a;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:3}.date-cell{display:inline-flex;align-items:center;gap:6px;color:#656971;white-space:nowrap}.pagination{display:flex;min-height:62px;align-items:center;justify-content:space-between;gap:20px;padding:12px 15px;border-top:1px solid #eceef1;color:var(--muted);background:#fafafb;font-size:.73rem}.pagination p{margin:0}.pagination strong{color:#34373d}.pagination__controls{display:flex;align-items:center;gap:8px}.pagination select{min-width:66px;height:34px;padding:0 28px 0 10px;border:1px solid var(--line-strong);border-radius:8px;color:#3f4248;background:#fff;font:inherit}.pagination__button{display:inline-grid;width:34px;height:34px;padding:0;border:1px solid var(--line-strong);border-radius:8px;color:#44474e;background:#fff;font-size:1.25rem;cursor:pointer;place-items:center}.pagination__button:hover:not(:disabled){color:var(--brand);border-color:#dfb6b9;background:var(--brand-soft)}.pagination__button:disabled{cursor:not-allowed;opacity:.4}.pagination__page{min-width:88px;text-align:center}.drawer-backdrop{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:flex;align-items:stretch;justify-content:flex-start;background:#1113186b;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:fade-in .16s ease-out}.incident-drawer{width:clamp(620px,44vw,900px);min-width:40vw;height:100vh;overflow-y:auto;border-radius:0 16px 16px 0;background:#fff;box-shadow:18px 0 48px #14161c33;animation:drawer-in .24s cubic-bezier(.22,1,.36,1)}.incident-detail__header-meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:7px;color:var(--muted);font-size:.75rem}.incident-detail__header-meta a{color:var(--brand);font-weight:680;text-decoration:none}.incident-detail__loading{display:flex;min-height:320px;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:30px}.incident-detail__content{display:flex;flex-direction:column;gap:18px;padding:21px 24px 26px}.incident-detail__summary{padding:16px 17px;border:1px solid #e7e8eb;border-radius:11px;background:#fbfbfc}.incident-detail__summary>p{margin:12px 0 0;color:#484c54;font-size:.84rem;line-height:1.6;white-space:pre-wrap}.incident-detail__section,.activity-section{padding-top:2px}.incident-detail__section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:11px}.incident-detail__section-heading h3,.timer-card h3,.resolve-card h3{margin:0;color:#292b30;font-size:.88rem}.incident-detail__section-heading p,.timer-card p,.resolve-card p{margin:4px 0 0;color:var(--muted);font-size:.72rem;line-height:1.45}.incident-detail__section-heading>span{color:#767a82;font-size:.68rem;white-space:nowrap}.status-selector{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.status-option{min-height:39px;padding:8px 10px;border:1px solid var(--line-strong);border-radius:9px;color:#555960;background:#fff;font-size:.73rem;font-weight:680;cursor:pointer;transition:color .14s ease,border-color .14s ease,background-color .14s ease}.status-option:hover:not(:disabled){border-color:#b8bbc3;background:#f8f8f9}.status-option[aria-pressed=true]{cursor:default;opacity:1}.status-option--pendiente[aria-pressed=true]{color:#50545c;border-color:#cfd2d7;background:#f2f3f5}.status-option--atendida[aria-pressed=true]{color:#195f8d;border-color:#acd0e5;background:#eef7fc}.status-option--en_pausa[aria-pressed=true]{color:#82560a;border-color:#dec47d;background:#fff8e7}.status-option--cancelada[aria-pressed=true]{color:#a31b22;border-color:#e2adb1;background:#fff2f3}.timer-card{display:grid;grid-template-columns:minmax(190px,1fr) auto auto;align-items:center;gap:18px;padding:16px;border:1px solid #dde1e6;border-radius:11px;background:#f8fafb}.timer-card--running{border-color:#b9d8e9;background:#f3f9fc}.timer-card__copy{display:flex;min-width:0;align-items:center;gap:11px}.timer-card__icon{display:inline-grid;width:42px;height:42px;flex:0 0 42px;border-radius:10px;color:#4e5966;background:#e9edf1;place-items:center}.timer-card--running .timer-card__icon{color:#195f8d;background:#dceef7}.timer-card__time{color:#26292f;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:1.25rem;font-variant-numeric:tabular-nums;letter-spacing:.025em;white-space:nowrap}.resolve-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px;border:1px solid #cde5d9;border-radius:11px;background:#f5fbf8}.resolve-form{display:flex;width:100%;align-items:flex-end;justify-content:space-between;gap:18px}.resolve-form .field-group{width:min(100%,290px)}.resolve-form__actions{display:flex;gap:8px}.resolution-summary{display:flex;align-items:center;gap:13px;padding:17px;border:1px solid #bfe3d1;border-radius:11px;color:#12603d;background:var(--success-soft)}.resolution-summary__icon{display:inline-grid;width:43px;height:43px;flex:0 0 43px;border-radius:50%;color:#fff;background:var(--success);place-items:center}.resolution-summary strong{font-size:.9rem}.resolution-summary p{margin:4px 0 1px;font-size:.78rem}.resolution-summary small{color:#47715e;font-size:.68rem}.activity-section{padding-top:17px;border-top:1px solid #eceef1}.activity-list{margin:0;padding:0;list-style:none}.activity-list li{position:relative;display:grid;grid-template-columns:12px minmax(0,1fr);gap:11px;padding-bottom:16px}.activity-list li:not(:last-child):before{position:absolute;top:14px;bottom:0;left:5px;width:1px;background:#dfe2e6;content:""}.activity-list__marker{position:relative;z-index:1;width:11px;height:11px;margin-top:4px;border:2px solid #fff;border-radius:50%;background:#858a93;box-shadow:0 0 0 1px #cfd2d7}.activity-list__marker--temporizador_iniciado,.activity-list__marker--temporizador_detenido{background:#317aa5}.activity-list__marker--resuelta{background:var(--success)}.activity-list__content>div{display:flex;align-items:baseline;justify-content:space-between;gap:15px}.activity-list__content strong{color:#35383e;font-size:.77rem}.activity-list__content>div>span,.activity-list__content small{color:#777b83;font-size:.66rem}.activity-list__content>div>span{white-space:nowrap}.activity-list__content p{margin:3px 0 0;color:#666a72;font-size:.7rem}.activity-list__content small{display:block;margin-top:3px}.page-feedback{margin:0}@keyframes toast-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.users-panel{width:100%}.users-filter{display:flex;align-items:flex-end;gap:10px}.users-filter .field-group{width:min(100%,340px)}.users-filter .incident-filters__actions{margin-top:0}.users-table{min-width:760px}.users-table th:last-child,.users-table td:last-child{width:108px;text-align:right}.user-cell{display:flex;min-width:170px;align-items:center;gap:11px}.avatar--table{width:35px;height:35px;flex-basis:35px;font-size:.77rem}.user-cell>span:last-child{display:flex;min-width:0;flex-direction:column;gap:2px}.user-cell strong{overflow:hidden;color:#303238;font-size:.8rem;text-overflow:ellipsis;white-space:nowrap}.user-cell small{color:var(--brand);font-size:.67rem;font-weight:650}.username{color:#565a62;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.75rem}.role-badge{display:inline-flex;padding:5px 9px;border:1px solid #dcdfe4;border-radius:999px;color:#595d65;background:#f5f6f7;font-size:.66rem;font-weight:680;white-space:nowrap}.role-badge--administrador{color:#8f1419;border-color:#e9c8ca;background:var(--brand-soft)}.row-actions{display:inline-flex;align-items:center;gap:5px}.action-button{display:inline-grid;width:34px;height:34px;padding:0;border:1px solid var(--line);border-radius:8px;color:#5f636b;background:#fff;place-items:center;cursor:pointer}.action-button:hover:not(:disabled){color:var(--brand);border-color:#e5bfc2;background:var(--brand-soft)}.action-button--danger:hover:not(:disabled){color:#a31b22}.action-button:disabled{cursor:not-allowed;opacity:.35}.modal-backdrop{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;overflow-y:auto;padding:24px;background:#1113187a;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:fade-in .14s ease-out}.modal{width:min(100%,520px);max-height:calc(100vh - 48px);overflow-y:auto;border-radius:14px;background:#fff;box-shadow:var(--shadow-lg);animation:modal-in .18s ease-out}.modal--small{width:min(100%,430px);padding:29px;text-align:center}.modal__header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:23px 24px 18px;border-bottom:1px solid #eceef1}.modal__header h2,.modal--small h2{margin:0;color:#202227;font-size:1.25rem;letter-spacing:-.02em}.modal__body{padding:23px 24px 0}.modal__footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin:3px -24px 0;padding:18px 24px;border-top:1px solid #eceef1;background:#fbfbfc}.modal__footer--centered{justify-content:center;margin:23px 0 0;padding:0;border:0;background:transparent}.confirm-icon{display:inline-grid;width:52px;height:52px;margin-bottom:16px;border-radius:50%;color:var(--danger);background:#fdebed;place-items:center}.modal--small>p{margin:10px 0 0;color:var(--muted);font-size:.86rem;line-height:1.55}.modal--small .alert{margin-top:17px;text-align:left}.role-fieldset{display:grid;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0;padding:0;border:0}.role-fieldset legend{width:100%;margin-bottom:8px}.role-option{display:flex;min-width:0;align-items:flex-start;gap:9px;padding:12px;border:1px solid var(--line-strong);border-radius:9px;background:#fff;cursor:pointer;transition:border-color .14s ease,background-color .14s ease}.role-option--selected{border-color:#d98f93;background:#fff7f8}.role-option input{width:15px;height:15px;margin:2px 0 0;accent-color:var(--brand)}.role-option span{display:flex;min-width:0;flex-direction:column;gap:3px}.role-option strong{color:#393c42;font-size:.78rem}.role-option small{color:var(--muted);font-size:.68rem;line-height:1.35}.page--reports{width:min(1560px,100%)}.reports-loading{display:flex;min-height:360px;align-items:center;justify-content:center;flex-direction:column;gap:14px;color:var(--muted)}.reports-loading p{margin:0}.reports-content{display:flex;flex-direction:column;gap:22px;transition:opacity .14s ease}.reports-content--refreshing{opacity:.72}.metrics-summary{display:grid;grid-template-columns:minmax(280px,.88fr) minmax(0,2.12fr);overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow-sm)}.metrics-summary__lead{position:relative;display:flex;min-height:176px;justify-content:center;flex-direction:column;overflow:hidden;padding:23px 25px 25px;color:#fff;background:radial-gradient(circle at 92% 8%,rgba(255,255,255,.17) 0 42px,transparent 43px),radial-gradient(circle at 104% 30%,rgba(255,255,255,.09) 0 78px,transparent 79px),linear-gradient(135deg,#b71920,#8b1016 64%,#6f0b10)}.metrics-summary__lead-value{position:relative;z-index:1;display:flex;align-items:flex-end;gap:17px}.metrics-summary__lead-value>strong{min-width:58px;color:#fff;font-size:clamp(3.1rem,5vw,4.35rem);font-weight:720;line-height:.85;letter-spacing:-.075em}.metrics-summary__lead-value>div{min-width:0}.metrics-summary__lead-value h2{margin:0 0 8px;color:#fff;font-size:1rem;line-height:1.2;letter-spacing:-.015em}.summary-comparison{display:inline-flex;width:fit-content;padding:4px 7px;border:1px solid rgba(255,255,255,.16);border-radius:999px;color:#fffc;background:#ffffff1a;font-size:.62rem;line-height:1.25}.summary-comparison--up{color:#fff;background:#ffffff26}.summary-comparison--down{color:#ffe0c8}.metrics-summary__details{display:grid;min-width:0;grid-template-columns:repeat(3,minmax(0,1fr))}.summary-metric{position:relative;display:flex;min-width:0;justify-content:center;flex-direction:column;padding:23px clamp(18px,2vw,29px);border-left:1px solid #eceef1}.summary-metric__heading{display:flex;min-height:34px;align-items:center;gap:9px;margin-bottom:16px;color:#666b74;font-size:.72rem;font-weight:680;line-height:1.3}.summary-metric__icon{display:inline-grid;width:34px;height:34px;flex:0 0 34px;border-radius:10px;place-items:center}.summary-metric__icon--blue{color:#25659a;background:#eaf3fa}.summary-metric__icon--green{color:#1f7958;background:#eaf7f1}.summary-metric__icon--amber{color:#9a6414;background:#fff5df}.summary-metric>strong{margin-bottom:7px;color:#202228;font-size:clamp(1.5rem,2.4vw,2rem);line-height:1;letter-spacing:-.045em}.summary-metric p{margin:0;color:#7a7e86;font-size:.68rem;line-height:1.4}.report-panel{overflow:hidden}.report-panel__header{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:22px 24px 17px}.report-panel__header>div:first-child{min-width:0}.report-panel__kicker{display:block;margin-bottom:5px;color:var(--brand);font-size:.62rem;font-weight:760;text-transform:uppercase;letter-spacing:.115em}.report-panel__header h2{margin-bottom:4px;color:#24262c;font-size:1.04rem;line-height:1.35;letter-spacing:-.012em}.report-panel__header p{max-width:680px;margin:0;color:#747881;font-size:.74rem;line-height:1.48}.period-selector{display:inline-flex;flex:0 0 auto;padding:3px;border:1px solid #e0e2e6;border-radius:9px;background:#f5f6f7}.period-selector__button{min-height:31px;padding:5px 10px;border:0;border-radius:6px;color:#6d7179;background:transparent;font-size:.68rem;font-weight:670;cursor:pointer}.period-selector__button:hover:not(:disabled){color:#363940}.period-selector__button--active{color:var(--brand);background:#fff;box-shadow:0 1px 4px #16191f1a}.period-selector__button:disabled{cursor:wait}.report-chart{width:100%;min-height:260px;padding:0 14px 6px}.report-chart svg{display:block;width:100%;height:auto;overflow:visible}.report-line-chart{cursor:crosshair;touch-action:pan-y}.report-chart__grid{stroke:#eceef1;stroke-width:1}.report-chart__axis{fill:#878b93;font-family:inherit;font-size:9px}.report-chart__axis--date{fill:#a0a3aa;font-size:8px}.report-chart__day{fill:#50545c;font-family:inherit;font-size:9px;font-weight:680;text-transform:capitalize}.report-line-chart__area{fill:url(#resolved-area)}.report-line-chart__line{fill:none;stroke:var(--brand);stroke-linecap:round;stroke-linejoin:round;stroke-width:2.2}.report-line-chart__point{fill:#fff;stroke:var(--brand);stroke-width:2}.report-line-chart__active-point{fill:#fff;stroke:var(--brand);stroke-width:3}.report-chart__guide{stroke:#b9bcc2;stroke-dasharray:3 4;stroke-width:1}.report-chart__interaction,.report-chart__tooltip{pointer-events:none}.report-chart__tooltip rect{fill:#25272d;filter:drop-shadow(0 4px 8px rgba(21,24,30,.18))}.report-chart__tooltip-title,.report-chart__tooltip-value{fill:#fff;font-family:inherit}.report-chart__tooltip-title{font-size:9px;font-weight:720}.report-chart__tooltip-value{fill:#dfe1e5;font-size:8px}.report-bar-chart__segment{cursor:pointer;transition:opacity .15s ease,filter .15s ease}.report-bar-chart__segment:hover,.report-bar-chart__segment:focus{filter:brightness(1.08);opacity:.86;outline:none}.report-bar-chart__segment:focus-visible{stroke:#25272d;stroke-width:2}.week-navigator{display:grid;min-width:290px;grid-template-columns:34px minmax(170px,1fr) 34px;align-items:center;gap:8px}.week-navigator>span{display:flex;min-width:0;align-items:center;flex-direction:column;gap:2px;text-align:center}.week-navigator small{color:#888c94;font-size:.6rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em}.week-navigator strong{color:#44474e;font-size:.73rem;font-weight:680;white-space:nowrap}.week-navigator__button{display:inline-grid;width:34px;height:34px;padding:0;border:1px solid var(--line-strong);border-radius:8px;color:#555961;background:#fff;cursor:pointer;place-items:center}.week-navigator__button:hover:not(:disabled){color:var(--brand);border-color:#dfb6b9;background:var(--brand-soft)}.week-navigator__button:disabled{cursor:not-allowed;opacity:.38}.chart-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:9px 18px;padding:4px 24px 21px;color:#656972;font-size:.67rem}.chart-legend__item{display:inline-flex;padding:5px 8px;border:1px solid transparent;border-radius:7px;align-items:center;gap:6px;color:inherit;background:transparent;font:inherit;cursor:pointer;transition:color .15s ease,background .15s ease,border-color .15s ease}.chart-legend__item:hover,.chart-legend__item:focus-visible,.chart-legend__item--active{color:#30333a;border-color:#e1e3e7;background:#f6f7f8;outline:none}.chart-legend i{width:8px;height:8px;border-radius:2px}.performance-table{min-width:810px}.performance-table th:not(:first-child),.performance-table td:not(:first-child){text-align:right}.performance-user{display:inline-flex;align-items:center;gap:9px}.performance-user__rank{display:inline-grid;width:25px;height:25px;border-radius:7px;color:#71757d;background:#f1f2f4;font-size:.66rem;font-weight:720;place-items:center}.performance-user strong{color:#373a40;font-size:.77rem}.share-meter{display:inline-flex;min-width:145px;align-items:center;justify-content:flex-end;gap:8px;color:#666a72;font-size:.72rem}.share-meter__track{width:72px;height:5px;overflow:hidden;border-radius:99px;background:#eceef1}.share-meter__track i{display:block;height:100%;border-radius:inherit;background:var(--brand)}.report-empty{display:flex;min-height:210px;align-items:center;justify-content:center;flex-direction:column;padding:32px;color:#7d8189;text-align:center}.report-empty strong{margin:10px 0 4px;color:#44474d;font-size:.85rem}.report-empty p{margin:0;font-size:.74rem}@keyframes fade-in{0%{opacity:0}}@keyframes modal-in{0%{opacity:0;transform:translateY(8px) scale(.985)}}@keyframes drawer-in{0%{transform:translate(-100%)}to{transform:translate(0)}}@media(max-width:1050px){.incident-filters__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.sidebar{z-index:80;width:min(294px,86vw);box-shadow:14px 0 40px #14161c26;transform:translate(-105%);transition:transform .21s ease}.sidebar--open{transform:translate(0)}.sidebar-backdrop{position:fixed;z-index:70;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;padding:0;border:0;background:#1113186b}.mobile-header{position:sticky;z-index:60;top:0;display:flex;height:69px;align-items:center;justify-content:space-between;padding:9px 20px;border-bottom:1px solid var(--line);background:#fffffff5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.mobile-header__logo{width:150px;height:49px;object-fit:contain}.main-content{margin-left:0}.page{padding-top:32px}}@media(max-width:820px){.login-page{display:block;background:#fff}.login-brand{display:none}.login-panel{min-height:100vh;justify-content:center;padding:34px 24px 24px}.login-card__mobile-brand{display:flex;margin-bottom:42px}.login-card__mobile-brand img{width:min(100%,300px);height:auto}}@media(max-width:760px){.incident-drawer{width:100%;min-width:0;border-radius:0}.page{padding:28px 18px 42px}.metrics-summary{grid-template-columns:1fr}.metrics-summary__lead{min-height:154px}.summary-metric:first-child{border-left:0}.report-panel__header,.report-panel__header--weekly{align-items:stretch;flex-direction:column}.period-selector{align-self:flex-start}.week-navigator{width:100%;min-width:0}.page-header{align-items:flex-start}.page-header__action .button{white-space:nowrap}.form-grid--two,.incident-filters__grid{grid-template-columns:1fr}.incident-filters__actions,.incident-filters__actions .button{width:100%}.incident-filters__actions{align-items:stretch;flex-direction:column-reverse}.users-filter{align-items:stretch;flex-direction:column}.users-filter .field-group{width:100%}.status-selector{grid-template-columns:repeat(2,minmax(0,1fr))}.timer-card{grid-template-columns:minmax(0,1fr) auto}.timer-card .button{grid-column:1 / -1;width:100%}.resolve-card,.resolve-form{align-items:stretch;flex-direction:column}.resolve-card>.button,.resolve-form .field-group,.resolve-form__actions,.resolve-form__actions .button{width:100%}.panel__header{padding:18px}.data-table,.data-table tbody,.data-table tr,.data-table td{display:block;width:100%}.data-table{min-width:0}.data-table thead{display:none}.data-table tbody{padding:0 16px 16px}.data-table tbody tr{display:grid;margin-top:14px;padding:15px;border:1px solid var(--line);border-radius:10px;background:#fff;gap:11px}.data-table tbody tr:hover{background:#fff}.data-table td,.users-table td:last-child{display:grid;grid-template-columns:minmax(88px,31%) minmax(0,1fr);align-items:start;padding:0;border:0;text-align:left;gap:10px}.performance-table td:not(:first-child){text-align:left}.share-meter{justify-content:flex-start}.data-table td:before{content:attr(data-label);padding-top:1px;color:#686d77;font-size:.65rem;font-weight:720;text-transform:uppercase;letter-spacing:.045em}.description-cell{min-width:0;-webkit-line-clamp:5}.date-cell{white-space:normal}.row-actions{justify-content:flex-start}.users-content,.incidents-content{min-height:240px}}@media(max-width:520px){.alert{right:14px;bottom:14px;width:calc(100vw - 28px)}.pagination{align-items:stretch;flex-direction:column;gap:10px}.pagination__controls{flex-wrap:wrap}.pagination__page{flex:1 1 auto}.mobile-header{padding-inline:14px}.page-header{flex-direction:column;margin-bottom:23px}.metrics-summary__details{grid-template-columns:1fr}.metrics-summary__lead{min-height:166px;padding:21px}.metrics-summary__lead-value{align-items:flex-start;flex-direction:column;gap:13px}.summary-metric{min-height:128px;padding:20px 21px;border-top:1px solid #eceef1;border-left:0}.summary-metric__heading{margin-bottom:10px}.report-panel__header{padding:19px 18px 15px}.report-chart{min-height:205px;padding-inline:5px}.period-selector{width:100%}.period-selector__button{flex:1}.week-navigator{grid-template-columns:34px minmax(0,1fr) 34px}.week-navigator strong{max-width:180px;overflow:hidden;text-overflow:ellipsis}.page-header__action,.page-header__actions,.page-header__action .button{width:100%}.page-header__actions{align-items:stretch;flex-direction:column}.panel__header--spread{align-items:flex-start}.panel__header--spread .result-count{margin-top:6px}.modal-backdrop{align-items:flex-end;padding:0}.modal{width:100%;max-height:94vh;border-radius:16px 16px 0 0}.modal--small{margin:14px;border-radius:14px}.incident-detail__content{padding:18px 17px 24px}.incident-detail__header-meta{align-items:flex-start;flex-direction:column;gap:3px}.incident-detail__header-meta>span[aria-hidden=true]{display:none}.activity-list__content>div{align-items:flex-start;flex-direction:column;gap:2px}.role-fieldset{grid-template-columns:1fr}.modal__footer{align-items:stretch;flex-direction:column-reverse}.modal__footer .button{width:100%}.modal__footer--centered{flex-direction:row}.login-card h1{font-size:1.8rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
