:root{--sos-red:#d71920;--sos-red-dark:#a80d14;--sos-yellow:#ffd21c;--sos-ink:#15202b;--sos-muted:#697785;--sos-bg:#f5f7fa;--sos-card:#fff;--sos-line:#e4e9ee;--sos-green:#17824b;--sos-shadow:0 12px 35px rgba(20,34,48,.08)}
.sos-app,.sos-dashboard{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--sos-ink);max-width:1480px;margin:0 auto;background:var(--sos-bg);min-height:720px;box-sizing:border-box}.sos-app *,.sos-dashboard *{box-sizing:border-box}
.sos-modern-header{height:82px;background:#fff;border-bottom:1px solid var(--sos-line);display:flex;align-items:center;justify-content:space-between;padding:10px 22px;position:relative;z-index:1000}.sos-header-right{display:flex;align-items:center;justify-content:flex-end}.sos-logo-link{display:flex;align-items:center}.sos-main-logo{height:60px;width:60px;object-fit:contain}.sos-profile-wrap{position:relative}.sos-profile-toggle{display:flex;align-items:center;gap:10px;border:0;background:transparent;padding:5px 7px;border-radius:14px;cursor:pointer;color:var(--sos-ink)}.sos-profile-toggle:hover,.sos-profile-toggle.open{background:#f4f6f8}.sos-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 0 0 1px var(--sos-line)}.sos-profile-label{text-align:left;min-width:110px}.sos-profile-label b,.sos-profile-label small{display:block}.sos-profile-label b{font-size:14px}.sos-profile-label small{color:var(--sos-muted);margin-top:2px}.sos-chevron{font-size:19px;color:var(--sos-muted);transition:transform .2s}.sos-profile-toggle.open .sos-chevron{transform:rotate(180deg)}.sos-profile-menu{display:none;position:absolute;top:64px;left:0;width:205px;background:#fff;border:1px solid var(--sos-line);border-radius:14px;box-shadow:0 18px 45px rgba(16,26,38,.15);padding:7px;overflow:hidden}.sos-profile-menu.open{display:block}.sos-profile-menu a,.sos-profile-menu button{width:100%;display:block;text-align:left;padding:11px 12px;border:0;background:#fff;color:var(--sos-ink);text-decoration:none;border-radius:9px;cursor:pointer;font-size:14px}.sos-profile-menu a:hover,.sos-profile-menu button:hover{background:#f4f6f8}.sos-profile-menu .sos-menu-danger{color:var(--sos-red);border-top:1px solid var(--sos-line);margin-top:4px;border-radius:0}
.sos-pop-main{max-width:760px;margin:0 auto;padding:24px 18px 40px}.sos-location-card{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--sos-line);border-radius:18px;padding:13px 15px;box-shadow:var(--s-shadow)}.sos-location-icon{width:38px;height:38px;border-radius:12px;background:#fff4b7;color:#8c6a00;display:flex;align-items:center;justify-content:center;font-size:21px;flex:none}.sos-location-card>div:nth-child(2){min-width:0;flex:1}.sos-location-card b,.sos-location-card small{display:block}.sos-location-card b{font-size:14px}.sos-location-card b.is-ready{color:var(--sos-green)}.sos-location-card small{font-size:12px;color:var(--sos-muted);margin-top:3px}.sos-icon-btn{width:38px;height:38px;border-radius:11px;border:1px solid var(--sos-line);background:#fff;color:var(--sos-ink);font-size:20px;cursor:pointer}.sos-icon-btn:hover{border-color:#cbd4dc}
.sos-hero-card{background:#fff;border-radius:26px;padding:34px 20px 30px;text-align:center;margin:18px 0;box-shadow:var(--sos-shadow);border:1px solid rgba(228,233,238,.9)}.sos-eyebrow{display:inline-flex;align-items:center;gap:6px;font-size:11px;letter-spacing:1.5px;font-weight:900;color:var(--sos-red)}.sos-hero-card h1,.sos-section-head h1{font-size:28px;line-height:1.15;margin:10px 0 9px}.sos-hero-card p,.sos-section-head p{color:var(--sos-muted);margin:0 auto 22px;max-width:590px;line-height:1.55}.sos-red-button{width:266px;height:266px;border-radius:50%;border:15px solid #ffe0e2;background:radial-gradient(circle at 34% 24%,#fa5960 0%,var(--sos-red) 53%,var(--sos-red-dark) 100%);color:#fff;box-shadow:0 22px 55px rgba(215,25,32,.3),inset 0 2px 0 rgba(255,255,255,.24);cursor:pointer;transition:transform .14s ease,box-shadow .14s ease}.sos-red-button:hover{transform:translateY(-2px);box-shadow:0 26px 65px rgba(215,25,32,.34),inset 0 2px 0 rgba(255,255,255,.25)}.sos-red-button:active{transform:scale(.985)}.sos-red-button span{display:block;font-size:70px;font-weight:950;letter-spacing:-2px}.sos-red-button small{display:block;font-size:11px;letter-spacing:1.1px;font-weight:900;margin-top:2px}
.sos-types,.sos-card{background:var(--sos-card);border:1px solid var(--sos-line);border-radius:18px;box-shadow:var(--sos-shadow);overflow:hidden}.sos-types{padding:18px}.sos-section-title{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:13px}.sos-section-title h2,.panel-head h2{margin:0;font-size:17px}.sos-section-title small{color:var(--sos-muted);display:block;margin-top:4px}.sos-optional{font-size:10px;font-weight:900;color:var(--sos-muted);background:#f2f4f6;border-radius:999px;padding:5px 8px;letter-spacing:.7px}.sos-type-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.sos-type-grid button{min-height:72px;border:1px solid var(--sos-line);background:#fff;border-radius:13px;color:var(--sos-ink);font-weight:800;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-size:13px}.sos-type-grid button span{font-size:22px;line-height:1;color:var(--sos-red)}.sos-type-grid button.selected{border-color:var(--sos-red);background:#fff4f4;color:var(--sos-red);box-shadow:0 0 0 2px rgba(215,25,32,.06)}
#sos-feedback,#sos-tracking-status{margin-top:15px}.sos-success,.sos-error,.sos-tracking-status{padding:13px 15px;border-radius:13px;text-align:left;line-height:1.45}.sos-success{background:#ecf8f1;color:#185f3e;border:1px solid #ccead9}.sos-success span,.sos-tracking-status span{display:block;margin-top:3px}.sos-error{background:#fff0f0;color:#9c1720;border:1px solid #f2cccc}.sos-tracking-status{background:#f0f6fb;color:#2d536e;border:1px solid #dbe8f2}.sos-view-alerts{display:flex;align-items:center;justify-content:space-between;margin:15px 2px 0;padding:14px 2px;color:var(--sos-ink);font-weight:800;text-decoration:none;border-bottom:1px solid var(--sos-line)}.sos-view-alerts span{color:var(--sos-red);font-size:20px}.sos-bottom-safety{text-align:center;padding:0 18px 25px;color:#8a97a3;font-size:11px}
.sos-modal{display:none;position:fixed;inset:0;background:rgba(8,14,20,.66);z-index:99999;align-items:center;justify-content:center;padding:18px}.sos-modal.open{display:flex}.sos-modal-box{background:#fff;border-radius:22px;padding:27px;max-width:500px;width:100%;position:relative;box-shadow:0 35px 90px rgba(0,0,0,.3)}.sos-modal-close{position:absolute;top:10px;right:12px;border:0;background:transparent;color:#66717b;font-size:30px;cursor:pointer;line-height:1}.sos-confirm-box{text-align:center}.sos-modal-symbol{width:62px;height:62px;border-radius:50%;background:#fff0f0;color:var(--sos-red);display:flex;align-items:center;justify-content:center;font-size:36px;font-weight:950;margin:0 auto 13px}.sos-modal-box h2{margin:0 0 7px;font-size:22px}.sos-modal-box p{color:var(--sos-muted);line-height:1.55}.sos-modal-note{font-size:13px}.sos-count{font-size:56px;font-weight:950;color:var(--sos-red);padding:3px 0 10px}.sos-modal-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:18px}.sos-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:10px 15px;background:#1d3f5d;color:#fff!important;text-decoration:none;cursor:pointer;font-weight:800}.sos-btn.danger{background:var(--sos-red)!important}.sos-btn.secondary{background:#eaf0f4;color:#2a3946!important}.sos-btn.small{padding:8px 11px;font-size:12px}.sos-btn:disabled{opacity:.55;cursor:not-allowed}.sos-profile-modal-box{max-width:520px}.sos-profile-modal-box h2{margin-bottom:15px}.sos-profile-modal-box form label,.sos-form-box label{display:block;font-weight:800;font-size:13px;margin:10px 0}.sos-profile-modal-box input,.sos-form-box input{width:100%;padding:11px 12px;border:1px solid #ccd5dc;border-radius:10px;margin-top:5px;font:inherit}.sos-profile-photo-editor{display:flex;align-items:center;gap:15px;padding:3px 0 12px}.sos-profile-photo-editor img{width:80px;height:80px;border-radius:50%;object-fit:cover;border:1px solid var(--sos-line)}
.sos-dashboard{max-width:1500px}.sos-police-content{padding:0 18px 40px}.sos-period-filter{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--sos-line);padding:7px 10px;border-radius:10px;font-size:12px;font-weight:800;color:#586775}.sos-period-filter select{border:0;background:transparent;font:inherit;color:#263640;outline:none;cursor:pointer;padding:2px 3px}.sos-period-filter:focus-within{box-shadow:0 0 0 2px rgba(207,46,46,.12)}
.sos-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;padding:24px 3px 18px}.sos-section-head h1{margin:7px 0 5px}.sos-section-head p{margin:0;max-width:700px}.sos-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.sos-pill{padding:7px 11px;border-radius:999px;font-size:12px;font-weight:900}.sos-pill.green{background:#eaf7ef;color:#1b6b44}
.sos-hamburger{width:46px;height:46px;border:1px solid var(--sos-line);background:#fff;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer}.sos-hamburger span{display:block;width:19px;height:2px;border-radius:2px;background:var(--sos-ink);transition:transform .2s,opacity .2s}.sos-hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}.sos-hamburger.open span:nth-child(2){opacity:0}.sos-hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}.sos-police-menu-wrap{position:relative;z-index:1200}.sos-hamburger-menu{display:none;position:absolute;right:22px;top:-8px;width:250px;background:#fff;border:1px solid var(--sos-line);border-radius:16px;box-shadow:0 18px 45px rgba(16,26,38,.16);padding:8px}.sos-hamburger-menu.open{display:block}.sos-hamburger-menu button{border:0;background:#fff;width:100%;text-align:left;padding:12px 13px;border-radius:9px;cursor:pointer;font-weight:800;color:var(--sos-ink)}.sos-hamburger-menu button:hover,.sos-hamburger-menu button.active{background:#fff2f3;color:var(--sos-red)}
.police-section{display:none}.police-section.active{display:block}.sos-dispatch-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(320px,.7fr);gap:16px}.sos-map-panel,.sos-alert-panel{background:#fff;border:1px solid var(--sos-line);border-radius:18px;box-shadow:var(--sos-shadow);overflow:hidden}.sos-main-map-panel #sos-map{height:650px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid var(--sos-line);background:#fff}.panel-head small{color:var(--sos-muted)}.sos-alert-panel{min-height:650px;max-height:650px;overflow:auto}.dispatch-filters{display:flex;gap:6px;padding:9px;border-bottom:1px solid var(--sos-line);position:sticky;top:0;background:#fff;z-index:2}.dispatch-filters button{border:0;background:#eef2f5;color:#455361;border-radius:9px;padding:8px 10px;cursor:pointer;font-size:12px;font-weight:800}.dispatch-filters button.active{background:#1d3f5d;color:#fff}.sos-alert-item{display:flex;width:100%;text-align:left;gap:10px;border:0;border-bottom:1px solid var(--sos-line);background:#fff;padding:13px 14px;cursor:pointer}.sos-alert-item:hover,.sos-alert-item.new{background:#fff7f7}.sos-alert-item.selected{box-shadow:inset 3px 0 var(--sos-red);background:#fff4f4}.sos-alert-item i{width:9px;height:9px;border-radius:50%;background:var(--sos-red);margin-top:6px;box-shadow:0 0 0 4px rgba(215,25,32,.08);flex:none}.sos-alert-item b,.sos-alert-item small{display:block}.sos-alert-item b{font-size:13px}.sos-alert-item small{color:#788693;margin-top:3px;font-size:11px}.dispatch-detail,.tracking-card{margin-top:16px}.alert-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:15px 16px}.alert-detail-grid div{background:#f6f8fa;border-radius:11px;padding:12px}.alert-detail-grid span{display:block;color:#7b8995;font-size:11px;margin-bottom:4px}.alert-detail-grid b{font-size:13px;line-height:1.35}.status-actions{display:flex;gap:8px;padding:0 16px 16px;flex-wrap:wrap}.status-actions button,.status-actions a{border:0;background:#1d3f5d;color:#fff;text-decoration:none;border-radius:9px;padding:9px 12px;cursor:pointer;font-weight:800;font-size:12px}.status-actions a{background:#eef3f6;color:#344452}.tracking-info{padding:13px 16px;color:#586775}.tracking-info span{display:block;margin-top:3px}.tracking-map{height:390px}
.sos-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:11px;margin-bottom:16px}.sos-kpis>div{background:#fff;border:1px solid var(--sos-line);border-radius:15px;padding:16px;box-shadow:var(--sos-shadow)}.sos-kpis b{font-size:28px;line-height:1;display:block}.sos-kpis span{display:block;color:#73818e;font-size:12px;margin-top:8px}.sos-chart-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:16px}.sos-line-chart{min-height:280px;padding:14px 14px 7px}.sos-line-chart svg{width:100%;height:255px;display:block}.chart-axis{stroke:#dce3e8;stroke-width:1}.chart-line{fill:none;stroke:var(--sos-red);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.chart-dot{fill:var(--sos-red);stroke:#fff;stroke-width:3}.sos-line-chart text{font-size:12px;fill:#7c8b97}.sos-line-chart .chart-value{font-weight:900;fill:#3b4a56}.sos-bars{padding:16px}.sos-bar-row{display:grid;grid-template-columns:90px 1fr 35px;gap:9px;align-items:center;margin:13px 0}.sos-bar-row span{font-size:12px;font-weight:700}.sos-bar-row i{height:11px;background:#eef2f5;border-radius:999px;overflow:hidden}.sos-bar-row i b{display:block;height:100%;background:var(--sos-red);border-radius:inherit}.sos-bar-row strong{font-size:12px;text-align:right}.sos-report-table{overflow:auto}.sos-report-row{display:grid;grid-template-columns:1.2fr 100px 1fr;align-items:center;gap:10px;padding:12px 16px;border-top:1px solid var(--sos-line);font-size:13px}.sos-report-head{font-size:11px;text-transform:uppercase;letter-spacing:.6px;color:#788692;background:#fafbfc}.sos-report-row>span:last-child{display:flex;align-items:center;gap:8px;color:#6c7a87}.sos-report-row>span:last-child i{display:block;height:8px;max-width:180px;flex:1;background:var(--sos-red);border-radius:999px}.sos-table-row{display:grid;grid-template-columns:70px 1fr 1.5fr 1fr 1.2fr;padding:11px 16px;border-bottom:1px solid var(--sos-line);font-size:12px;gap:10px}.sos-table-row span{word-break:break-word}.station-row{display:grid;grid-template-columns:1.3fr 1fr 220px;gap:12px;padding:15px 16px;border-bottom:1px solid var(--sos-line);align-items:center}.station-row:last-child{border-bottom:0}.station-row b,.station-row span,.station-row small{display:block}.station-row span,.station-row small{color:#73818e;margin-top:4px;font-size:12px}.station-coords{font-size:12px;color:#536270}.station-actions{display:flex;justify-content:flex-end;gap:7px}.station-delete{border:0;background:#fff0f0;color:#a3171d;border-radius:8px;padding:8px 10px;cursor:pointer;font-weight:800;font-size:12px}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pad{padding:18px}.empty{padding:20px;color:#788692;text-align:center}
.sos-history-page{max-width:900px;margin:0 auto;padding:22px 18px 40px}.sos-history{display:grid;grid-template-columns:65px 1fr 170px;gap:10px;padding:15px 16px;border-bottom:1px solid var(--sos-line);align-items:center}.sos-history:last-child{border-bottom:0}.sos-history span small{display:block;color:#768591;margin-top:3px}.history-date{font-size:12px;color:#768591;text-align:right}.sos-login-wrap{min-height:650px;background:var(--sos-bg);display:flex;align-items:center;justify-content:center;padding:20px}.sos-login-card{width:420px;padding:30px;text-align:center}.sos-login-logo{width:110px;height:110px;object-fit:contain}.sos-gate{padding:25px;text-align:center}
.sos-map-marker-wrap{background:transparent;border:0}.sos-map-marker{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;filter:drop-shadow(0 3px 7px rgba(0,0,0,.22))}.sos-map-marker i{display:block;width:16px;height:16px;border-radius:50%;background:var(--sos-red);border:3px solid #fff;box-shadow:0 0 0 5px rgba(215,25,32,.12)}.sos-map-marker.active i{animation:sosPulse 1.5s infinite}.sos-map-marker b{font-size:11px;color:#9f151b;background:#fff;padding:4px 7px;border-radius:7px;border:1px solid #f1c5c7;box-shadow:0 2px 7px rgba(0,0,0,.08)}@keyframes sosPulse{0%,100%{box-shadow:0 0 0 3px rgba(215,25,32,.12)}50%{box-shadow:0 0 0 8px rgba(215,25,32,.18)}}
.leaflet-container{font-family:inherit}
@media(max-width:1100px){.sos-dispatch-layout{grid-template-columns:1fr}.sos-alert-panel{max-height:480px;min-height:0}.sos-main-map-panel #sos-map{height:520px}.sos-kpis{grid-template-columns:repeat(3,1fr)}.sos-chart-grid{grid-template-columns:1fr}.station-row{grid-template-columns:1fr}.station-actions{justify-content:flex-start}.sos-table-row{grid-template-columns:60px 1fr}.sos-table-row span:nth-child(3),.sos-table-row span:nth-child(4),.sos-table-row span:nth-child(5){grid-column:2}.alert-detail-grid{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.sos-modern-header{height:72px;padding:8px 12px}.sos-main-logo{width:52px;height:52px}.sos-avatar{width:43px;height:43px}.sos-profile-label{min-width:0}.sos-profile-label b{max-width:125px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sos-profile-menu{top:58px;left:-4px}.sos-police-menu-wrap{margin-top:0}.sos-hamburger-menu{right:12px;top:-4px;width:230px}.sos-police-content{padding:0 11px 30px}.sos-section-head{align-items:flex-start;flex-direction:column}.sos-section-head .sos-head-actions{justify-content:flex-start}.sos-hero-card{padding:26px 15px}.sos-hero-card h1,.sos-section-head h1{font-size:23px}.sos-red-button{width:235px;height:235px}.sos-red-button span{font-size:61px}.sos-type-grid{grid-template-columns:1fr 1fr}.sos-kpis{grid-template-columns:repeat(2,1fr);gap:8px}.sos-kpis>div{padding:13px}.sos-kpis b{font-size:24px}.alert-detail-grid{grid-template-columns:1fr}.sos-history{grid-template-columns:52px 1fr}.history-date{grid-column:2;text-align:left}.sos-modal-box{padding:23px 18px}.sos-modal-actions{justify-content:stretch}.sos-modal-actions .sos-btn{flex:1}.sos-table-row{grid-template-columns:55px 1fr}.sos-report-row{grid-template-columns:1fr 70px 1fr}.tracking-map{height:320px}}
@media(max-width:430px){.sos-profile-label small{display:none}.sos-profile-toggle{gap:7px;padding:4px}.sos-main-logo{width:47px;height:47px}.sos-location-card small{max-width:210px}.sos-pop-main{padding:14px 12px 28px}.sos-red-button{width:215px;height:215px}.sos-red-button span{font-size:55px}.sos-type-grid button{min-height:66px}.sos-hamburger-menu{width:calc(100vw - 24px);right:12px}.sos-main-map-panel #sos-map{height:420px}.sos-map-marker b{display:none}}

/* v2.2.0 — suivi simultané de plusieurs alertes */
.sos-active-alerts{margin:14px 0 0;overflow:hidden}.sos-active-alerts .panel-head{padding:12px 15px}.sos-active-alert-row{display:flex;align-items:flex-start;gap:10px;padding:12px 15px;border-top:1px solid var(--sos-line)}.sos-active-alert-row b,.sos-active-alert-row small{display:block}.sos-active-alert-row small{color:var(--sos-muted);margin-top:3px;font-size:11px}.sos-active-dot{width:10px;height:10px;margin-top:4px;border-radius:50%;background:var(--sos-red);box-shadow:0 0 0 5px rgba(215,25,32,.10);flex:none;animation:sosPulse 1.5s infinite}
@media(max-width:720px){.sos-active-alert-row{padding:11px 12px}}

/* SOS RDC v2.4.0 */
.sos-header-right{gap:9px}.sos-notification-toggle{position:relative;width:46px;height:46px;border:1px solid var(--sos-line);background:#fff;border-radius:13px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--sos-ink)}.sos-bell{font-size:20px;line-height:1;transform:rotate(180deg);display:block}.sos-notification-badge{position:absolute;top:-4px;right:-4px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:var(--sos-red);color:#fff;font-size:10px;font-weight:900;display:flex;align-items:center;justify-content:center;border:2px solid #fff}.sos-notifications-panel{display:none;position:absolute;right:22px;top:73px;width:min(560px,calc(100vw - 30px));max-height:570px;overflow:auto;background:#fff;border:1px solid var(--sos-line);border-radius:16px;box-shadow:0 22px 60px rgba(15,30,45,.18);z-index:1500}.sos-notifications-panel.open{display:block}.sos-notifications-panel .panel-head{position:sticky;top:0;z-index:2}.notification-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.sos-link-btn{border:0;background:none;color:#33506a;cursor:pointer;font-size:12px;font-weight:800;padding:4px 0;text-decoration:none}.danger-text{color:var(--sos-red)!important}.sos-notification-item{display:grid;grid-template-columns:36px 1fr auto;gap:10px;padding:12px 14px;border-top:1px solid var(--sos-line);align-items:start}.sos-notification-item.unread{background:#fff8f8}.notification-icon{width:30px;height:30px;border-radius:50%;background:#eef3f6;color:#436176;display:flex;align-items:center;justify-content:center;font-weight:950}.sos-notification-item.unread .notification-icon{background:#fff0f0;color:var(--sos-red)}.notification-body b,.notification-body p,.notification-body small{display:block}.notification-body b{font-size:12px}.notification-body p{margin:4px 0;color:#61717e;font-size:12px;line-height:1.4}.notification-body small{color:#87939d;font-size:10px}.notification-actions{display:flex;flex-direction:column;align-items:flex-end;gap:3px}.notification-actions button{border:0;background:none;cursor:pointer;font-size:10px;font-weight:800;color:#546775}.sos-toasts{position:fixed;right:18px;bottom:18px;z-index:200000;display:flex;flex-direction:column;gap:8px;max-width:min(420px,calc(100vw - 36px))}.sos-toast{background:#1d3f5d;color:#fff;border-radius:12px;padding:12px 14px;box-shadow:0 12px 28px rgba(0,0,0,.18);font-size:13px;font-weight:800;opacity:0;transform:translateY(10px);transition:.22s}.sos-toast.show{opacity:1;transform:translateY(0)}.sos-toast.success{background:#176b46}.sos-toast.danger{background:var(--sos-red)}
.inline-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.assignment-field{display:block;padding:0 16px 14px;font-size:12px;font-weight:900}.assignment-field select,.sos-form-box select{display:block;width:100%;margin-top:6px;padding:10px;border:1px solid #ccd5dc;border-radius:10px;background:#fff;font:inherit}.detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:15px 16px}.detail-grid>div{background:#f6f8fa;border-radius:11px;padding:11px}.detail-grid span{display:block;color:#7b8995;font-size:10px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.detail-grid b{font-size:12px;line-height:1.4}.alert-actions{display:flex;gap:7px;flex-wrap:wrap;padding:0 16px 16px}.route-note{margin-top:6px;font-size:11px;color:#667987}.sos-status{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:900}.sos-status.new{background:#fff0f0;color:#a3171d}.sos-status.active{background:#fff6d8;color:#815d00}.sos-status.done{background:#edf5ef;color:#266845}.alert-top{display:flex;justify-content:space-between;gap:8px;align-items:center;width:100%}.sos-alert-item{display:block}.sos-alert-item h3{margin:7px 0 3px;font-size:14px}.sos-alert-item p{margin:0;color:#60707d;font-size:11px}.sos-alert-item{position:relative}.sos-alert-item.new:before{content:"";position:absolute;left:2px;top:12px;width:5px;height:5px;border-radius:50%;background:var(--sos-red);box-shadow:0 0 0 4px rgba(215,25,32,.10)}
.user-row{display:grid;grid-template-columns:45px minmax(0,1fr) auto auto;gap:12px;padding:13px 16px;border-bottom:1px solid var(--sos-line);align-items:center}.user-row:last-child{border-bottom:0}.user-row b,.user-row span,.user-row small{display:block}.user-row span,.user-row small{font-size:11px;color:#74828e;margin-top:3px}.user-avatar-letter{width:40px;height:40px;border-radius:50%;background:#f0f3f5;color:#50606d;display:flex;align-items:center;justify-content:center;font-weight:950}.checkbox-row{display:flex!important;align-items:center;gap:8px}.checkbox-row input{width:auto!important;margin:0!important}.sos-form-box label small{display:block;font-weight:500;color:#778591;margin-top:3px}.review-stars{display:flex;gap:4px;margin:14px 0}.review-stars button{border:0;background:transparent;color:#c5ccd2;font-size:34px;cursor:pointer;padding:2px}.review-stars button.selected{color:var(--sos-yellow);text-shadow:0 1px 3px rgba(0,0,0,.15)}.sos-review-box textarea{width:100%;border:1px solid #ccd5dc;border-radius:10px;padding:12px;font:inherit;resize:vertical}.sos-report-modal-box{max-width:900px;max-height:86vh;overflow:auto}.incident-timeline{border-left:2px solid #e6eaee;margin:12px 0 20px 7px;padding-left:17px}.incident-timeline>div{position:relative;margin:0 0 15px}.incident-timeline>div:before{content:"";position:absolute;left:-24px;top:4px;width:8px;height:8px;border-radius:50%;background:var(--sos-red);box-shadow:0 0 0 4px #fff}.incident-timeline b,.incident-timeline span,.incident-timeline p{display:block}.incident-timeline b{font-size:11px;color:#768591}.incident-timeline span{font-weight:900;font-size:12px;margin-top:2px}.incident-timeline p{font-size:12px;color:#647480;margin:4px 0 0}.sos-report-modal-box h3{font-size:14px;margin:18px 0 7px}.tracking-card{overflow:hidden}
@media(max-width:720px){.sos-notifications-panel{right:12px;top:65px;width:calc(100vw - 24px)}.sos-notification-item{grid-template-columns:30px 1fr}.notification-actions{grid-column:2;flex-direction:row;justify-content:flex-start;align-items:center}.detail-grid{grid-template-columns:1fr 1fr;padding:12px}.user-row{grid-template-columns:42px 1fr auto}.user-row .station-actions{grid-column:2/4;justify-content:flex-start}.user-row>.sos-status{grid-column:3}.review-stars button{font-size:30px}}
@media(max-width:430px){.sos-notification-toggle{width:42px;height:42px}.sos-hamburger{width:42px;height:42px}.sos-notifications-panel{top:62px}.detail-grid{grid-template-columns:1fr}.sos-toasts{right:10px;bottom:10px;max-width:calc(100vw - 20px)}}

/* SOS RDC v2.8.0 — rôles, affectations et cartographie opérationnelle */
.sos-red-map-marker{width:24px!important;height:24px!important;border:0!important;background:transparent!important;}
.sos-red-map-marker span{display:block;width:18px;height:18px;margin:3px;border-radius:50%;background:var(--sos-red);border:3px solid #fff;box-shadow:0 0 0 5px rgba(215,25,32,.18),0 5px 14px rgba(215,25,32,.32);animation:sosPulse 1.5s infinite;}
@keyframes sosPulse{0%,100%{transform:scale(1);box-shadow:0 0 0 4px rgba(215,25,32,.10),0 5px 14px rgba(215,25,32,.24)}50%{transform:scale(1.08);box-shadow:0 0 0 9px rgba(215,25,32,.03),0 7px 18px rgba(215,25,32,.28)}}
.sos-alert-row{display:flex;width:100%;align-items:center;gap:10px;text-align:left;border:0;border-bottom:1px solid var(--sos-line);background:#fff;padding:12px 13px;cursor:pointer;color:var(--sos-ink)}
.sos-alert-row:hover,.sos-alert-row.selected{background:#fff5f5}.sos-alert-row.selected{box-shadow:inset 4px 0 var(--sos-red)}.sos-alert-row .alert-pulse{width:9px;height:9px;border-radius:50%;background:var(--sos-red);box-shadow:0 0 0 4px rgba(215,25,32,.11);flex:none}.sos-alert-row .alert-main{min-width:0;flex:1}.sos-alert-row .alert-main b,.sos-alert-row .alert-main small{display:block}.sos-alert-row .alert-main b{font-size:13px}.sos-alert-row .alert-main small{margin-top:3px;color:#788693;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sos-alert-row .sos-status{flex:none}
.assignment-box{margin:0 16px 15px;padding:13px;background:#f7f9fb;border:1px solid var(--sos-line);border-radius:12px}.assignment-box label{display:block;font-size:12px;font-weight:900}.assignment-box select{display:block;width:100%;margin-top:6px;padding:10px;border:1px solid #ccd5dc;border-radius:10px;background:#fff;font:inherit}.assignment-box .sos-btn{margin-top:9px}.assignment-summary{display:flex;justify-content:space-between;gap:12px;margin:0 16px 15px;padding:11px 13px;background:#fff8df;border:1px solid #f2df93;border-radius:11px;font-size:12px}.assignment-summary span{text-align:right;color:#596a76}.agent-assignment-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:9px}.agent-check{display:flex!important;align-items:center;gap:7px;margin:0!important;padding:9px 10px;background:#fff;border:1px solid var(--sos-line);border-radius:9px;font-weight:700!important}.agent-check input{width:auto!important;margin:0!important}.agent-check small{margin-left:auto;color:#84919b}.status-action-grid{display:flex;gap:8px;flex-wrap:wrap;padding:0 16px 16px}
.user-zone-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) auto;gap:7px;margin-top:8px;align-items:center}.user-zone-row input{margin-top:0!important}.user-zone-row .remove-zone{white-space:nowrap}
.map-alert-popup b,.map-alert-popup span,.map-alert-popup small{display:block}.map-alert-popup b{font-size:12px}.map-alert-popup span{color:var(--sos-red);font-weight:900;font-size:11px;margin-top:2px}.map-alert-popup small{color:#667581;margin:3px 0 7px;font-size:10px}.map-alert-popup .sos-map-select{border:0;background:var(--sos-red);color:#fff;border-radius:7px;padding:6px 8px;cursor:pointer;font-size:10px;font-weight:900}
@media(max-width:900px){.agent-assignment-list{grid-template-columns:1fr}.user-zone-row{grid-template-columns:repeat(2,minmax(0,1fr))}.user-zone-row .remove-zone{grid-column:1/-1;justify-self:start}}
@media(max-width:720px){.sos-modern-header{padding:8px 12px}.sos-profile-label{min-width:80px}.sos-profile-label b{max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sos-alert-row{padding:11px 10px}.assignment-summary{flex-direction:column}.assignment-summary span{text-align:left}.user-zone-row{grid-template-columns:1fr}.user-zone-row .remove-zone{grid-column:auto}}
.sos-dashboard-stations-chart{margin-top:16px}.sos-dashboard-stations-chart .sos-bars{max-height:380px;overflow:auto}.sos-line-chart svg{overflow:visible}.sos-bar-row i{display:block;height:10px;background:#eef2f5;border-radius:999px;overflow:hidden}.sos-bar-row i b{display:block;height:100%;background:var(--sos-red);border-radius:inherit;min-width:0}.sos-bar-row strong{font-size:12px;text-align:right}.sos-report-row>span:last-child i{height:8px;background:var(--sos-red);border-radius:999px;display:inline-block}.sos-dashboard-stations-chart{margin-bottom:16px}@media(max-width:600px){.sos-dashboard-stations-chart .sos-bar-row{grid-template-columns:90px 1fr 32px}.sos-line-chart{min-height:240px;padding:10px}.sos-line-chart svg{height:220px}}

/* SOS RDC v2.9.0 — rappel téléphonique Population et coordonnées victime */
.sos-toast.warning{background:#8a5a00;color:#fff7dc;border-left:4px solid #ffcf4a}.sos-phone-link{color:#b5161d;text-decoration:underline;font-weight:900;overflow-wrap:anywhere}.map-alert-popup small{overflow-wrap:anywhere}
.sos-phone-help{display:block;margin:-5px 0 13px;color:#667987;font-size:12px;line-height:1.45}


/* SOS RDC v3.0.0 — connexion et création sécurisée d'un compte Population */
.sos-login-card [hidden]{display:none!important}
.sos-login-card h1{margin:12px 0 20px;font-weight:900}
.sos-login-card h2{font-size:20px;margin:8px 0}
.sos-login-card #loginform,.sos-login-card #sos-register-form{display:flex;flex-direction:column;gap:11px;text-align:left;margin:0}
.sos-login-card #loginform p,.sos-login-card #sos-register-form label{display:flex;flex-direction:column;gap:5px;margin:0;font-size:13px;font-weight:800;color:var(--sos-ink)}
.sos-login-card #loginform input[type=text],.sos-login-card #loginform input[type=password],.sos-login-card #sos-register-form input{box-sizing:border-box;width:100%;padding:11px 12px;border:1px solid #ccd5dc;border-radius:10px;background:#fff;font:inherit;color:var(--sos-ink)}
.sos-login-card #loginform input[type=checkbox]{width:auto}
.sos-login-card #loginform .login-remember{display:flex;flex-direction:row;align-items:center;gap:7px;font-weight:600}
.sos-login-card #loginform .login-submit{margin-top:5px}
.sos-login-card #loginform input[type=submit],.sos-login-card .sos-register-submit{width:100%;border:0;border-radius:10px;padding:12px 15px;background:var(--sos-red);color:#fff;font:inherit;font-weight:900;cursor:pointer}
.sos-login-register-toggle{width:100%;margin-top:13px}
.sos-register-intro{font-size:13px;color:var(--sos-muted);line-height:1.45;margin:0 0 14px}
.sos-login-card #sos-register-form label small{font-weight:500;color:var(--sos-muted)}
.sos-login-card .sos-register-submit{margin-top:5px}
.sos-login-return{display:block;width:100%;text-align:center;margin-top:8px;padding:9px;background:transparent;border:0;color:#536676;cursor:pointer;font-size:12px;font-weight:800}
.sos-login-card .sos-register-error{font-size:12px;line-height:1.45;margin:0 0 12px;padding:10px;border-radius:9px;background:#fff0f0;color:#a20d18}
@media(max-width:500px){.sos-login-wrap{padding:12px}.sos-login-card{width:100%;max-width:420px;padding:22px 18px}}
