@font-face{font-family:Krub;src:url(/fonts/Krub-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:Krub-bold;src:url(/fonts/Krub-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:Inter;src:url(/fonts/Inter-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:Inter-bold;src:url(/fonts/Inter-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:Inter-Extrabold;src:url(/fonts/Inter-ExtraBold.ttf) format("truetype");font-weight:800;font-style:normal}:root{--inter-reg: "Inter", system-ui, sans-serif;--inter-bold: "Inter-bold", system-ui, sans-serif;--inter-xbold: "Inter-Extrabold", system-ui, sans-serif;--krub-reg: "Krub", system-ui, sans-serif;--krub-bold: "Krub-bold", system-ui, sans-serif;--space-xxs: 5px;--space-xs: 10px;--space-sm: 20px;--space-md: 30px;--space-lg: 40px;--space-xl: 60px;--space-xxl: 80px;--lifeline-red: #DF3721;--highlight-green: #2E86AB;--muted-grey: #404040;--text-black: #000000;--soft-white: #FFFFFC;--base-white: #ECF0F3;--base-dark: #121212;--soft-dark: #36393F;--red-landing: linear-gradient(180deg, rgb(255,0,0) 0%, rgb(255,128,126) 33%, rgb(255,191,189) 58%, rgb(255,255,252) 82%);--red-background: linear-gradient(0deg,rgba(159, 39, 24),rgba(173, 90, 90))}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--krub-reg);line-height:1.5}h1{font-family:var(--inter-xbold);font-size:clamp(2rem,1.5146rem + 2.0712vw,4rem);font-weight:800;color:var(--muted-grey);line-height:95%}h2{font-family:var(--inter-xbold);font-size:clamp(1.375rem,1.2233rem + .6472vw,2rem);font-weight:800;line-height:95%}h3{font-family:var(--inter-xbold);font-size:clamp(1.25rem,1.1893rem + .2589vw,1.5rem);font-weight:700;line-height:95%}p,button{font-family:var(--krub-reg);font-size:clamp(1rem,.9393rem + .2589vw,1.25rem);font-weight:400;line-height:105%}p>strong{font-family:var(--krub-bold)}.lifeline-text,.head-title{color:var(--muted-grey)}.head-title{letter-spacing:2px;text-transform:uppercase}.full{height:100%}.btn,form{display:flex;flex-direction:column}.btn{gap:var(--space-sm)}button{width:100%;border-radius:var(--space-sm);padding:15px 20px;letter-spacing:2px;align-items:center}.pos-btn{background-color:var(--lifeline-red);font-weight:600;border:none;color:var(--soft-white)}.pos-btn:disabled{background-color:var(--muted-grey);color:var(--soft-white);cursor:not-allowed}.neg-btn{background-color:transparent;font-weight:600;border:2px var(--text-black) solid}.login,.signup,.addContact,.phoneNumber{background:var(--red-background);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.card{text-align:center;height:100%}.hidden{display:none!important}form{display:flex;gap:var(--space-sm);width:100%;justify-content:space-between}input{width:100%;font-size:20px;border:2px solid var(--text-black);border-radius:var(--space-sm);color:var(--text-black);background-color:transparent;padding:15px 20px}.avatar{aspect-ratio:1/1;border-radius:100%;border:1px solid var(--text-black)}input:focus{outline:none;border:2px solid var(--muted-grey)}input:invalid,input.invalid,input:not(:placeholder-shown):invalid{border:2px solid var(--lifeline-red)}input[type=radio]:checked{accent-color:var(--lifeline-red)}input:-webkit-autofill,input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0px 1000px var(--base-white) inset}input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0px 1000px var(--base-white) inset}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:var(--muted-grey);border-radius:10px}::-webkit-scrollbar-thumb{background-color:var(--lifeline-red);border-radius:5px;border:2px solid var(--muted-grey)}::-webkit-scrollbar-button{display:none}@media screen and (max-width:768px){button{padding:12px 16px}::-webkit-scrollbar{width:6px;height:6px}}.landing h1{font-size:clamp(3rem,2.3629rem + 2.7184vw,5.625rem);letter-spacing:2px;color:var(--soft-white)}.landing h2{font-size:clamp(2rem,1.7573rem + 1.0356vw,3rem)}.landing h3{font-size:clamp(1.5rem,1.3786rem + .5178vw,2rem);letter-spacing:2px}.landing,.content,.left,.right,.mobile,.logo,.context{display:flex}.landing,.left,.right,.logo{justify-content:center}strong{font-weight:800px;color:var(--muted-grey);text-transform:uppercase}.landing{background:var(--red-landing)}.content{width:100%;height:100vh;max-width:1440px;padding:var(--space-xxl) var(--space-sm) var(--space-sm)}.left,.logo{align-items:center}.right,.mobile,.logo,.context{flex-direction:column}.right,.content{gap:var(--space-md )}.logo{text-align:center;margin-top:var(--space-lg)}.landing .lifeline-logo{aspect-ratio:1/1;height:auto;width:60%}.mobile{width:100%}.landing p{width:70%}.context{gap:var(--space-sm)}@media screen and (min-width:768px){.content{padding:0 var(--space-md)}.mobile{aspect-ratio:375 / 812;height:60%;max-height:812px;max-width:375px;border:8px var(--text-black) solid;border-radius:50px;padding:var(--space-md);justify-content:space-between;background-color:var(--base-white)}.right button{max-width:300px}}@media screen and (max-height:667px){.content{padding-top:var(--space-md)}}@media screen and (max-width:767px){.landing{background:var(--base-white)!important}.landing h1{color:var(--lifeline-red)}.content{flex-direction:column-reverse;gap:var(--space-sm);justify-content:space-between}.right{gap:var(--space-sm)}.context{gap:var(--space-xs)}.landing p{width:100%}.logo{display:none!important}.left a{width:100%}.left button{height:100%}.left .btn{flex-direction:row;gap:var(--space-xs)}}@media screen and (min-width:768px)and (max-width:1024px){.mobile{height:auto;width:35vw}}.login-card,.logo,.line,.neg-btn,.switch{display:flex}.login-card{background-color:var(--base-white);height:100%;width:100%;flex-direction:column;justify-content:space-between;border-radius:12px;padding:var(--space-xxl) var(--space-sm) var(--space-sm);box-shadow:0 6px 4px #00000040}.login-logo{flex-direction:column;justify-content:center;text-align:center;margin-bottom:var(--space-lg)}.lifeline-logo-mini{padding:0 var(--space-lg);height:64px}hr{width:100%;height:1px;border:1px var(--muted-grey) solid}.line{width:100%;flex-direction:row;align-items:center}.neg-btn{flex-direction:row;justify-content:center}.google-logo{aspect-ratio:1/1;height:24px;margin-right:var(--space-xs)}.switch{padding:var(--space-xxs);text-align:center;width:100%}p{width:100%}a{text-decoration:none;color:var(--highlight-green);font-weight:700}.error{text-align:center;font-size:16px;color:var(--lifeline-red)}@media screen and (max-width:767px){.login-card{border-radius:0}}@media screen and (max-height:667px){.login-card{padding-top:var(--space-md)}}@media screen and (min-width:768px)and (max-width:1024px){.login-card{width:600px;height:760px;padding:60px 120px}}@media screen and (min-width:1024px){.login-card{width:700px;height:800px;padding:60px 160px}}.error{color:var(--lifeline-red);font-size:.9rem;margin-bottom:.5rem}.role-form{display:flex;flex-direction:column;gap:var(--space-xl)}.role-choice.selected img{transform:scale(1.1)}.role-choice.selected>h3{color:var(--lifeline-red)}.roles{pointer-events:none;display:none}.role-options{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--space-md);width:100%;gap:var(--space-lg)}.role-img{aspect-ratio:1/1;width:100%}.role-options h3{font-weight:700}.termsConditions{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:var(--space-xs);flex-wrap:wrap}.termsConditions p,.termsConditions input{width:auto}.termsConditions input{accent-color:var(--lifeline-red)}.signup .modal-content{width:500px;height:600px;gap:var(--space-md)}.dashboard{position:relative}.profile-body,.profile-user,.profile-user-content,.profile-id,.profile-info,.info-radio,.info-options,.btn-row,.profile-card-name,.profile-card,.add-btn,.profile-contacts,.modal,.modal-content,.avatar-choice,.profile-card-content{display:flex}.profile-body,.profile-user,.profile-user-content,.profile-id,.profile-info,.info-options,.modal-content,.avatar-choice,.profile-contacts,.profile-card,.profile-card-content{flex-direction:column}.dashboard header,.profile-user,.profile-card{box-shadow:0 6px 4px #00000040}.dashboard header{height:60px}.back,.edit-img,.profile-card{cursor:pointer}.profile-user,.profile-card,.profile-body,.modal-content{padding:var(--space-sm)}.back{width:auto;border:none;background-color:transparent;padding:15px 0 15px 15px}.back img{width:20px}.profile-body{height:100%;width:100%;gap:var(--space-sm)}.profile-user,.modal-content,.profile-card{border-radius:var(--space-sm);background-color:var(--soft-white)}.profile-user{padding:var(--space-xs);align-items:center}.profile-user-content{gap:var(--space-xs);flex:1;padding-bottom:var(--space-xs);width:100%}form.profile-user{gap:0px}.profile-id{position:relative;gap:var(--space-xs);align-items:center;text-align:center}.profile-grid{display:grid;grid-auto-flow:column;width:fit-content}.profile-img{border:1px solid var(--text-black)}.profile-info{width:100%;flex:1;gap:var(--space-xs);align-items:start;flex-wrap:wrap;min-width:60%}.profile-info>div{width:100%;display:flex;flex-wrap:wrap}.info-label{color:var(--muted-grey)}.profile-edit{padding-top:var(--space-xs);flex-direction:row;width:100%}.info-radio{gap:var(--space-xs)}.info-radio input{width:20px}.info-options{padding-top:var(--space-xs);gap:var(--space-xxs)}.profile-user input{border:none;border-radius:0;border-bottom:3px solid var(--text-black)}.input-name{text-align:center}.edit-img{position:absolute;bottom:0;right:5%;background-color:var(--lifeline-red);width:auto;border:none;border-radius:100%;padding:var(--space-xxs);text-align:center;color:var(--soft-white)}.modal{position:absolute;top:0;left:0;height:100%;width:100%;justify-content:center;align-items:center;background-color:#00000080}.profile-user-content .modal-content{width:60%;max-width:800px;gap:var(--space-md);text-align:center}.confirm-modal{text-align:center;gap:var(--space-sm)}.avatar-grid{gap:var(--space-sm);height:100%;display:grid;grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(2,1fr)}.avatar-grid input{border:none;appearance:none;padding:0}.avatar-img{width:100%;border:1px solid var(--text-black)}.avatar-choice.selected .avatar-img{border:3px solid var(--lifeline-red)}.relative{position:relative}.absolute-right{position:absolute;right:0;top:0}.profile-contacts>div{display:flex;flex-direction:column;gap:var(--space-sm)}.profile-contacts{grid-column:2/5;gap:var(--space-xs)}.profile-card{min-width:300px;max-width:350px;justify-content:space-between}.profile-card-content{gap:var(--space-xxs);overflow-wrap:break-word;word-break:break-word;overflow-wrap:anywhere}.profile-card-name{gap:var(--space-xs);align-items:center}.profile-card-name img{width:32px;height:auto;border:1px solid var(--text-black)}.neg{color:var(--lifeline-red)}.pos{color:var(--highlight-green)}.remove{margin-top:var(--space-xs)}.btn-row{gap:var(--space-sm)}@media screen and (max-width:768px){.profile-grid,.avatar-grid{gap:var(--space-xs)}.profile-info,.profile-card-name{gap:var(--space-xxs)}.profile-img{height:64px}.profile-card{min-width:250px}.profile-card,.profile-user{padding:var(--space-xs)}.modal-content{width:80%!important;gap:var(--space-sm)}}@media screen and (min-width:768px)and (max-width:1024px){.profile-body{padding:var(--space-md);gap:var(--space-md)}.profile-edit{padding-top:var(--space-sm)}.profile-user-content{flex-direction:row;gap:var(--space-sm);padding-bottom:var(--space-sm)}.vr{width:1px;height:100%}.modal-content{width:60%}}@media screen and (min-width:1024px){.profile-grid{grid-template-rows:repeat(2,1fr);grid-auto-flow:column}}@media screen and (min-width:1025px){.profile-body{height:100%;width:100%;display:grid;gap:var(--space-md);grid-template-columns:repeat(4,1fr);padding:var(--space-md) var(--space-xl)}.profile-user-content{flex-direction:column}.confirm-modal{width:30%}}.TCcontent{overflow-y:scroll;position:relative;padding-right:5px}.TCcontent>*>*{color:var(--text-black);line-height:1.2}.TCcontent .body,.TCcontent .body div,.TCcontent ul,.TCcontent footer{display:flex;flex-direction:column}.TCcontent .body{gap:var(--space-xs)}.TCcontent .body div{gap:var(--space-xxs)}.TCcontent ul{list-style:disc;margin-left:var(--space-sm);gap:var(--space-xxs)}.TCcontent h1{font-size:18px}.TCcontent h2,.TCcontent p,.TCcontent li,.TCcontent button{font-size:14px}.TCcontent strong{color:var(--text-black)}.TCcontent .head img{height:16px;width:16px}.TCcontent .head,.TCcontent footer{display:flex;align-items:center;justify-content:space-between;position:sticky;background-color:var(--soft-white)}.TCcontent .head{top:0;padding-bottom:var(--space-xxs)}.TCcontent footer{gap:var(--space-xs);bottom:0;padding-top:var(--space-xxs)}.TCcontent button{color:var(--soft-white)}.form.submitted input:invalid{border:3px solid var(--lifeline-red)}.phoneNumber .card{display:flex;flex-direction:column}.phoneNumber .form{display:flex;height:100%;justify-content:space-between}.phoneNumber .form-cont{display:flex;flex-direction:column;gap:var(--space-sm)}header,.dashboard,.dashboard-content,.dashboard-user,.dashboard-user-info,.dashboard-cont-info,.map,.dashboard-history,.dashboard header div,.dashboard-contacts,.dashboard-user-img,ul,.dashboard-cont-ws{display:flex}.dashboard-card,.geo-loc,.dashboard-history,.dashboard-cont-ws{text-align:center}.dashboard-img,.uline-btn,.dashboard-card,.back-btn img{cursor:pointer}.dashboard header,.dashboard-card,.d-btn,.table-card,.history-filter{box-shadow:0 6px 4px #00000040}.map,.dashboard-cont-info{justify-content:center}.dashboard header div,.dashboard-user-info,.dashboard-cont-ws{gap:var(--space-xs)}.dashboard-user,ul,.dashboard-buttons,.dashboard-history,.add-btn{gap:var(--space-sm)}.dashboard-body,.dashboard-content,.dashboard-contacts{gap:var(--space-md)}.dashboard,.dashboard-content,.dashboard-user-info,.dashboard-cont-info,.dashboard-card,.dashboard-history,.dashboard-contacts,.dashboard-cont-ws{flex-direction:column}.dashboard{height:100vh;width:100vw;background:var(--base-white);overflow-y:auto;overflow-x:hidden}.dashboard header div,.dashboard-body,.dashboard-card,.map{height:100%}.dashboard header div{flex-direction:row;align-items:center}.dashboard-img,.user-img{height:100%}.dashboard header{height:60px;justify-content:space-between;align-items:center;padding:var(--space-sm)}.dashboard-card{padding:var(--space-sm);gap:var(--space-xxs);flex-shrink:0;width:150px}.dashboard header,.dashboard footer,.dashboard-card,.d-btn,.table-card{background-color:var(--soft-white)}.dashboard-body{width:100vw;display:flex;flex-direction:column-reverse;padding:var(--space-md) var(--space-xl)}.dashboard-content{grid-column:1/3;position:relative;flex:1}.dashboard-content,.dashboard-contacts,.dashboard-user,.table-card table,.map{width:100%}.dashboard-contacts>div{display:flex;flex-direction:column;gap:var(--space-sm);width:100%}.dashboard-card-img{width:100%}.dashboard-user-img,.dashboard-card,.dashboard-buttons{display:flex}.dashboard-card,.d-btn,.table-card,.table-card table{border-radius:20px}.user-img{align-self:stretch;border:1px solid var(--text-black)}.dashboard-user-info{padding:var(--space-sm) 0;height:fit-content;flex:1}.dashboard footer{height:60px;width:100vw}.uline-btn{letter-spacing:2px;border:none;background-color:transparent;font-weight:800;text-decoration:underline;width:auto}.back-btn{position:absolute;border:none;background-color:transparent;right:0;width:auto;padding:none}.back-btn img{width:20px;height:20px}.map{grid-column:3/6;border:2px solid var(--text-black);border-radius:12px;align-items:center}.dashboard-buttons{padding:0 var(--space-md)}.d-btn{padding:var(--space-xs);border:none}.history-header{display:flex;align-items:center;gap:var(--space-xs)}.history-filter{padding:6px 20px 6px 10px;border-radius:12px;border:none;font-size:14px;font-family:inherit;cursor:pointer;background-color:var(--soft-white)}.history-filter:focus{border:none;outline:none}.table-card{padding:var(--space-xs);overflow-y:auto;height:20vh}.table-card table{border-collapse:collapse}.table-card table tr{border-bottom:1px solid var(--text-black)}.table-card table tr:last-child{border-bottom:none}.table-card table td,.table-card table th{padding:var(--space-xxs) 0}.history-row-hoverable{cursor:pointer;transition:background-color .2s ease}.history-row-hoverable:hover{background-color:#0000000d;font-weight:500}.history-row-hoverable.selected{background-color:#3b82f626;font-weight:600;border-left:4px solid var(--lifeline-red);padding-left:8px}.add-btn{flex-direction:row!important;justify-content:space-between;align-items:center}.scrollable{display:block;width:inherit;padding-bottom:var(--space-sm);overflow-x:auto}ul{list-style:none}@media screen and (max-height:667px){.dashboard-body{padding:var(--space-xs) var(--space-sm)!important}}@media screen and (max-width:768px){.dashboard-user{gap:var(--space-xs)}.dashboard-user-info{padding:0}.dashboard-user-img{height:64px}.dashboard-body{padding:var(--space-sm);gap:var(--space-xs)}.dashboard-card{padding:var(--space-xs);width:100px}.dashboard-buttons{padding:0;gap:var(--space-xs)}.dashboard-buttons img{width:40%}.dashboard-content,.dashboard-history{gap:var(--space-xs)}.dashboard-contacts{gap:var(--space-sm)}.dashboard-contacts>div{gap:var(--space-xs)}.map,.table-card{height:25vh}.alert-modal-overlay,.alert-modal-body,.alert-modal-footer,.alert-modal-header{padding:var(--space-xs) var(--space-sm)!important}.alert-modal-item{padding:var(--space-xs)!important;gap:var(--space-xs)!important}footer{display:none}}@media screen and (min-width:768px)and (max-width:1024px){.dashboard header{padding:var(--space-sm) var(--space-md)}.dashboard-body{padding:var(--space-md)}.dashboard-buttons img{width:20%}.dashboard-content{gap:var(--space-sm)}.dashboard-card{width:120px}.map{height:30vh}.table-card{height:25vh}.alert-modal{max-width:none!important;width:50vh!important}.alert-modal-overlay,.alert-modal-body,.alert-modal-footer,.alert-modal-header{padding:var(--space-sm) var(--space-md)!important}}@media screen and (min-width:1025px){.dashboard header{padding:var(--space-sm) var(--space-xl)}.dashboard-body{display:grid;grid-template-columns:repeat(5,1fr);padding:var(--space-md) var(--space-xl)}.dashboard-card{gap:var(--space-xs);padding:var(--space-sm)}.presence-indicator{width:30px!important;height:30px!important}.table-card{height:40vh}}.header-right{display:flex;flex-direction:row;align-items:center;gap:var(--space-sm);height:100%}.connection-status{display:flex;align-items:center;gap:var(--space-xs);padding:var(--space-xxs) var(--space-xs);border-radius:12px;font-size:.75rem}.status-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.status-text{color:var(--text-black);white-space:nowrap}.reconnect-btn{padding:var(--space-xxs) var(--space-xs);font-size:.7rem;border:none;border-radius:4px;background-color:#3b82f6;color:#fff;cursor:pointer;white-space:nowrap}.reconnect-btn:hover{background-color:#2563eb}.connection-error{font-size:.65rem;color:#ef4444;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.alert-banner{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;padding:var(--space-sm);display:flex;flex-direction:column;gap:var(--space-xs);animation:pulse-alert 2s infinite}@keyframes pulse-alert{0%,to{opacity:1}50%{opacity:.9}}.alert-item{display:flex;align-items:center;gap:var(--space-sm);padding:var(--space-xs);background:#ffffff1a;border-radius:8px}.alert-icon{width:24px;height:24px;background:#fff;color:#ef4444;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}.alert-message{flex:1;font-size:.9rem}.alert-dismiss{padding:var(--space-xxs) var(--space-sm);background:#fff;color:#ef4444;border:none;border-radius:4px;cursor:pointer;font-weight:600;font-size:.8rem;white-space:nowrap}.alert-dismiss:hover{background:#fee2e2}.alert-banner-content{display:flex;align-items:center;gap:var(--space-xs);flex:1}.alert-banner-icon{font-size:1.2rem}.alert-banner-message{font-size:.9rem}.alert-acknowledge-btn{padding:var(--space-xxs) var(--space-sm);background:#fff;color:#ef4444;border:none;border-radius:4px;cursor:pointer;font-weight:600;font-size:.8rem}.alert-acknowledge-btn:hover{background:#fee2e2}.dashboard-name-row{display:flex;align-items:center;gap:var(--space-xs)}.presence-indicator{width:10px;height:10px;border-radius:50%;display:inline-block;flex-shrink:0}.presence-online{background-color:#22c55e;box-shadow:0 0 4px #22c55e}.presence-offline{background-color:#9ca3af}.last-seen{font-size:.75rem;color:#6b7280;margin-top:2px}.location-timestamp{font-size:.75rem;color:#6b7280}.contact-img-wrapper{position:relative;display:inline-block}.presence-badge{position:absolute;bottom:2px;right:2px;width:12px;height:12px;border-radius:50%;border:2px solid white}.presence-badge.online,.presence-indicator.online{background-color:#22c55e}.presence-badge.offline,.presence-indicator.offline{background-color:#9ca3af}.presence-indicator{display:inline-block;width:24px;height:24px;border-radius:100%;position:absolute;bottom:4px;right:0;border:5px solid var(--soft-white)}.dashboard-contact-wrapper .presence-indicator{border:5px solid var(--base-white)}.alert-badge{position:absolute;top:-4px;right:-4px;width:18px;height:18px;border-radius:50%;background-color:#ef4444;color:#fff;font-size:12px;font-weight:700;line-height:18px;text-align:center;border:2px solid white;animation:pulse-badge 1.5s infinite}@keyframes pulse-badge{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.alert-modal-overlay{position:fixed;inset:0;background-color:#000000b3;z-index:1000;display:flex;justify-content:center;align-items:center;padding:var(--space-md);animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.alert-modal{background-color:var(--soft-white);border-radius:var(--space-sm);width:100%;max-width:500px;max-height:80vh;overflow-y:auto;box-shadow:0 10px 40px #0000004d;animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.alert-modal-header{background:var(--lifeline-red);color:var(--soft-white);padding:var(--space-md);display:flex;align-items:center;gap:var(--space-sm);border-radius:var(--space-sm) var(--space-sm) 0 0}.alert-modal-header-icon{width:40px;height:40px;background:var(--soft-white);color:var(--lifeline-red);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.5rem;flex-shrink:0;animation:pulse-icon 1s infinite}@keyframes pulse-icon{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.alert-modal-header h2{color:var(--soft-white);margin:0}.alert-modal-body{padding:var(--space-md);display:flex;flex-direction:column;gap:var(--space-sm)}.alert-modal-item{background-color:var(--base-white);border-radius:var(--space-xs);padding:var(--space-sm);display:flex;align-items:center;gap:var(--space-sm);border-left:4px solid var(--lifeline-red)}.alert-modal-item-icon{width:50px;height:50px;border-radius:50%;background-color:var(--lifeline-red);color:var(--soft-white);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.25rem;flex-shrink:0}.alert-modal-item-content{flex:1;display:flex;flex-direction:column;gap:var(--space-xxs)}.alert-modal-item-name{font-family:var(--inter-bold);font-size:1.1rem;color:var(--text-black)}.alert-modal-item-message{font-size:.9rem;color:var(--muted-grey)}.alert-modal-item-time{font-size:.75rem;color:var(--muted-grey)}.alert-modal-item-phone{font-size:.85rem;color:var(--muted-grey);font-weight:500}.alert-modal-item-actions{display:flex;flex-direction:column;gap:var(--space-xxs)}.alert-acknowledge-btn{padding:var(--space-xs) var(--space-sm);background:transparent;color:var(--lifeline-red);border:2px solid var(--lifeline-red);border-radius:var(--space-xs);cursor:pointer;font-weight:600;font-size:.8rem;white-space:nowrap;transition:all .2s ease}.alert-acknowledge-btn:hover{background-color:var(--lifeline-red);color:var(--soft-white)}.alert-view-btn{padding:var(--space-xs) var(--space-sm);background:var(--lifeline-red);color:var(--soft-white);border:none;border-radius:var(--space-xs);cursor:pointer;font-weight:600;font-size:.8rem;white-space:nowrap;transition:background-color .2s ease}.alert-view-btn:hover{background-color:#c62d1a}.alert-modal-footer{padding:var(--space-sm) var(--space-md);border-top:1px solid var(--base-white);display:flex;justify-content:center}.alert-modal-close-btn{padding:var(--space-xs) var(--space-lg);background:var(--muted-grey);color:var(--soft-white);border:none;border-radius:var(--space-xs);cursor:pointer;font-weight:600;transition:background-color .2s ease}.alert-modal-close-btn:hover{background-color:var(--text-black)}.alert-indicator-btn{display:flex;align-items:center;gap:var(--space-xxs);padding:var(--space-xxs) var(--space-xs);background-color:var(--lifeline-red);color:var(--soft-white);border:none;border-radius:var(--space-xs);cursor:pointer;font-weight:600;font-size:.85rem;animation:pulse-alert-btn 1.5s infinite;width:auto}.alert-indicator-btn:hover{background-color:var(--muted-grey)}.alert-indicator-icon{width:18px;height:18px;background:var(--soft-white);color:var(--lifeline-red);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.8rem}@keyframes pulse-alert-btn{0%,to{transform:scale(1);box-shadow:0 0 #df372166}50%{transform:scale(1.05);box-shadow:0 0 0 8px #df372100}}.dashboard-contact-wrapper{display:flex;flex-direction:column;justify-content:space-between;width:100%;height:100%;position:relative;transition:background-color .3s ease}.dashboard-contact-alert .alert-text-muted{color:#fffffccc!important}.dashboard-contact-alert .back-btn img{filter:brightness(0) invert(1)}.alert-banner-inline{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);padding:var(--space-sm);background:#ffffff26;border-radius:var(--space-xs);border:2px solid var(--soft-white)}.alert-banner-inline .alert-banner-content{display:flex;align-items:center;gap:var(--space-xs)}.alert-banner-inline .alert-banner-icon{width:28px;height:28px;background:var(--soft-white);color:var(--lifeline-red);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1rem;flex-shrink:0;animation:pulse-icon 1s infinite}.alert-banner-inline .alert-banner-message{color:var(--soft-white);font-size:.95rem}.alert-acknowledge-btn-white{padding:var(--space-xs) var(--space-sm);background:var(--soft-white);color:var(--lifeline-red);border:none;border-radius:var(--space-xs);cursor:pointer;font-weight:600;font-size:.85rem;white-space:nowrap;transition:all .2s ease;width:auto}.alert-acknowledge-btn-white:hover{background-color:var(--base-white);transform:scale(1.02)}@media screen and (max-width:768px){.dashboard-contact-wrapper{padding:var(--space-xs);gap:var(--space-xs)}.dashboard-cont-ws{gap:var(--space-xxs)}.alert-banner-inline{flex-direction:column;text-align:center;gap:var(--space-xs)}.alert-banner-inline .alert-banner-content{flex-direction:column}}.media-modal-overlay{position:fixed;inset:0;z-index:1000}.media-modal{width:90%;max-width:900px;max-height:85vh;overflow-y:auto;position:relative}.media-modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--space-sm);padding-bottom:var(--space-xs);border-bottom:1px solid var(--muted-grey)}.media-modal-header h3{margin:0}.media-close-btn{background:transparent;border:none;padding:var(--space-xxs);cursor:pointer;width:auto;border-radius:50%;display:flex;align-items:center;justify-content:center}.media-close-btn:hover{background-color:var(--base-white)}.media-close-btn img{width:20px;height:20px}.media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-sm)}.media-item{display:flex;flex-direction:column;background-color:var(--base-white);border-radius:12px;overflow:hidden;box-shadow:0 2px 4px #0000001a}.media-thumbnail{aspect-ratio:1;overflow:hidden;background-color:var(--muted-grey);display:flex;align-items:center;justify-content:center}.media-thumbnail.clickable{cursor:pointer;transition:transform .2s ease}.media-thumbnail.clickable:hover{transform:scale(1.02)}.media-thumbnail img{width:100%;height:100%;object-fit:cover}.media-thumbnail.video-thumbnail{aspect-ratio:1}.media-thumbnail.video-thumbnail video{width:100%;height:100%;object-fit:cover}.media-thumbnail.audio-thumbnail{flex-direction:column;gap:var(--space-xs);padding:var(--space-sm);background-color:var(--soft-white)}.audio-icon{width:48px;height:48px;background-color:var(--lifeline-red);border-radius:50%;display:flex;align-items:center;justify-content:center}.audio-icon img{width:24px;height:24px;filter:brightness(0) invert(1)}.media-thumbnail.audio-thumbnail audio{width:100%;max-width:200px}.media-info{padding:var(--space-xs)}.media-name{font-weight:600;font-size:.85rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:2px}.media-meta{font-size:.75rem;color:var(--muted-grey)}.media-description{font-size:.75rem;color:var(--muted-grey);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-loading,.media-error,.media-empty{display:flex;justify-content:center;align-items:center;min-height:200px;text-align:center}.media-error{color:var(--lifeline-red)}.media-empty{color:var(--muted-grey)}.image-preview-overlay{position:fixed;inset:0;background-color:#000000e6;z-index:1100;display:flex;justify-content:center;align-items:center;padding:var(--space-md)}.image-preview-content{position:relative;max-width:95vw;max-height:95vh;display:flex;flex-direction:column;align-items:center}.preview-close-btn{position:absolute;top:-40px;right:0;background:#ffffff1a;border:none;padding:var(--space-xs);cursor:pointer;width:auto;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease}.preview-close-btn:hover{background:#fff3}.preview-close-btn img{width:24px;height:24px;filter:brightness(0) invert(1)}.preview-image{max-width:100%;max-height:80vh;object-fit:contain;border-radius:8px}.preview-info{margin-top:var(--space-sm);text-align:center;color:var(--soft-white)}.preview-name{font-weight:600;font-size:1rem;margin-bottom:4px}.preview-description{font-size:.9rem;opacity:.8;margin-bottom:4px}.preview-meta{font-size:.8rem;opacity:.6}.d-btn:disabled{opacity:.5;cursor:not-allowed}.sos{background-color:#df372166;font-weight:700}.sos:hover,.sos.selected:hover{font-weight:700;background-color:#df3721cc}.sos.selected{background-color:#df3721b3;border-left:var(--highlight-green) 4px solid}@media screen and (max-width:768px){.media-modal{width:95%;max-height:90vh}.media-grid{grid-template-columns:repeat(2,1fr);gap:var(--space-xs)}.media-modal-header h3{font-size:1rem}.media-info{padding:var(--space-xxs)}.media-name{font-size:.75rem}.media-meta{font-size:.65rem}.preview-close-btn{top:-30px}.preview-close-btn img{width:20px;height:20px}}@media screen and (min-width:1025px){.media-grid{grid-template-columns:repeat(3,1fr);gap:var(--space-md)}}.alert header>*,.alert footer,.alert .status-text{color:var(--soft-white)!important}.alert header,.alert footer{background-color:var(--lifeline-red)}.alert .map,.alert .map>*{border:2px solid var(--lifeline-red)!important}.alert .map{height:40vh}.alert .alert-indicator-btn{background-color:var(--soft-white);color:var(--lifeline-red);animation:pulse-alert-btn-alert 1.5s infinite}.alert .alert-indicator-icon{background:var(--lifeline-red);color:var(--soft-white)}@keyframes pulse-alert-btn-alert{0%,to{transform:scale(1);box-shadow:0 0 #fffffc8c}50%{transform:scale(1.05);box-shadow:0 0 0 8px #fffffc00}}.alert-mode h1{color:var(--lifeline-red)}.alert .dashboard-content{text-align:center}.alert-mode .dashboard-user{flex-direction:column;align-items:center;gap:var(--space-xs)}.dashboard-contact-wrapper.alert-mode{justify-content:start;gap:var(--space-sm)}.alert-mode .dashboard-user-img{height:180px}.dashboard-card.alert-mode{background-color:var(--lifeline-red)!important;animation:pulse-card 1.5s infinite}.dashboard-card.alert-mode h3,.dashboard-card.alert-mode .alert-text{color:var(--soft-white)!important}@keyframes pulse-card{0%,to{transform:scale(1)}50%{transform:scale(.98)}}.map-pin.alert-mode{animation:pulse-pin 1s infinite}@keyframes pulse-pin{0%{transform:translateY(0) scale(1.2);box-shadow:0 0 #df372166}25%{transform:translateY(10px);box-shadow:0 0 10px 12px #df372100}75%{transform:translateY(10px);box-shadow:0 0 #df372100}to{transform:translateY(0) scale(1.2);box-shadow:0 0 #df3721b3}}@media screen and (max-width:768px){.alert-mode .dashboard-user-img{height:60px}}@media screen and (min-width:768px)and (max-width:1023px){.alert-mode .dashboard-user-img{height:100px}}@media screen and (min-width:1025px){.alert .map{height:100%}}.map-pin{width:0px;height:50px;position:relative;transform:translateY(-10px)}.map-pin-head{border-radius:100%;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 12px #00000040}.map-pin-avatar{position:absolute;top:0;width:42px;height:42px;border-radius:100%;object-fit:cover;background:#fff;z-index:1}.map-pin-tail{position:absolute;left:50%;bottom:0;transform:translate(-50%);width:0;height:0;border-left:14px solid transparent;border-right:14px solid transparent;border-top:13px solid var(--text-black, #E53935);filter:drop-shadow(0 4px 4px rgba(0,0,0,.2))}.map-pin:hover{scale:1.1}.map-pin.online .map-pin-avatar{border:5px solid var(--lifeline-red)}.map-pin.online .map-pin-tail{border-top-color:var(--lifeline-red)}.map-pin.offline .map-pin-avatar{border:5px solid var(--muted-grey)}.map-pin.offline .map-pin-tail{border-top-color:var(--muted-grey)}.map-pin.preview-marker .map-pin-avatar{border:5px solid var(--highlight-green)}.map-pin.preview-marker .map-pin-tail{border-top-color:var(--highlight-green)}.map-pin.preview-marker{scale:1.1;animation:pinDrop .4s ease-in-out forwards}@keyframes pinDrop{0%{transform:translateY(-10px) scale(.9)}to{transform:translateY(-10px) scale(1.1)}}.addContact h3,.addContact h2{font-weight:600}.addContact .card{display:flex;flex-direction:column;gap:var(--space-lg);align-items:center}.connect{aspect-ratio:1/1;width:220px}.add-cont img{aspect-ratio:1/1;width:100%;border-radius:100%}.add-cont{display:flex;flex-direction:column;gap:var(--space-sm)}.backHeader{display:flex;position:relative;justify-content:center;width:100%}.backButton{all:unset;position:absolute;left:0}.backButton:focus{outline:2px solid red;outline-offset:2px}@media screen and (max-height:667px){.login-card{padding-top:var(--space-sm)!important}}@media screen and (max-width:767px){.login-card{padding-top:var(--space-md)}}.unauthorized{background:var(--red-landing);min-height:100vh;width:100%;display:flex;justify-content:center;align-items:center;padding:var(--space-md)}.unauthorized-content{width:100%;max-width:500px}.unauthorized-card{background-color:var(--base-white);border-radius:var(--space-sm);padding:var(--space-lg);text-align:center;display:flex;flex-direction:column;gap:var(--space-md);box-shadow:0 4px 20px #00000026}.unauthorized-icon{display:flex;justify-content:center}.unauthorized-logo{width:100px;height:100px}.unauthorized h1{color:var(--lifeline-red);font-size:clamp(1.75rem,1.5rem + 1vw,2.5rem)}.unauthorized-message{display:flex;flex-direction:column;gap:var(--space-sm)}.unauthorized-message h3{color:var(--muted-grey)}.unauthorized-message p{color:var(--muted-grey);line-height:1.6}.redirect-info{display:flex;flex-direction:column;gap:var(--space-sm);padding-top:var(--space-sm);border-top:1px solid var(--muted-grey)}.redirect-info p{color:var(--muted-grey)}.redirect-info strong{color:var(--lifeline-red);font-size:1.25rem}@media screen and (max-width:767px){.unauthorized{background:var(--base-white);padding:var(--space-sm)}.unauthorized-card{box-shadow:none;padding:var(--space-md)}.unauthorized-logo{width:80px;height:80px}}
