/* Sentinelle · BBP dégradé shell, Lion's Security uniform colours (sky-blue shirt, maroon cap, gold epaulette) as client accents. */
:root {
  --navy: #0d1f38; --ink: #1b2c4a; --text: #46586b; --muted: #637487; --faint: #94a3b3;
  --mist: #f3f6f9; --line: #e2e9ef; --line2: #eef2f6; --card: #fff;
  --brand: #263c63; --brand2: #2f5d8a; --grad: linear-gradient(120deg, #1b2c4a 0%, #263c63 40%, #2f5d8a 75%, #3b7fa8 100%);
  --brass: #b8975a; --brass-soft: #f6f0e4; --brass-ink: #6e5526;
  --maroon: #8c2335; --maroon-soft: #f7e9ec; --sky: #8fc0ea; --sky-soft: #e8f2fb;
  --ok: #0f7a52; --okbg: #e5f4ec; --warn: #a8660e; --warnbg: #fbf1e1; --err: #b3261e; --errbg: #fbecea;
  --radius: 18px; --shadow: 0 1px 2px #0d1f3808, 0 10px 28px -20px #0d1f3833;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; color: var(--text); background: var(--mist); line-height: 1.5; font-size: 14.5px; }
p, .just { text-align: justify; hyphens: none; -webkit-hyphens: none; }
h1, h2, h3, h4 { color: var(--navy); margin: 0 0 .4em; line-height: 1.2; letter-spacing: -.01em; font-weight: 800; }
h2 { font-size: 1.12rem; } h3 { font-size: .98rem; } h4 { font-size: .9rem; }
button { font: inherit; cursor: pointer; color: inherit; }
a { color: var(--brand2); }
input, select, textarea { font: inherit; color: var(--navy); }
.muted { color: var(--muted); } .small { font-size: .83rem; } .tiny { font-size: .74rem; } .b { font-weight: 800; color: var(--navy); }
.num { font-variant-numeric: tabular-nums; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .sp { flex: 1; }
.grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .g21 { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } .g12 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); } }
@media (min-width: 600px) and (max-width: 899px) { .g4 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: 1fr 1fr; } }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.topbar .in { max-width: 1320px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 16px; }
.topbar .logo { height: 34px; display: block; }
.topbar .sep { width: 1px; height: 30px; background: var(--line); }
.prod { line-height: 1.15; }
.prod b { display: block; color: var(--navy); font-size: 1rem; font-weight: 800; letter-spacing: -.01em; }
.prod small { color: var(--muted); font-size: .72rem; font-weight: 600; }
.client-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px; background: var(--maroon-soft); color: var(--maroon); font-weight: 800; font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.client-chip .mk { width: 22px; height: 22px; border-radius: 50%; background: var(--maroon); display: grid; place-items: center; }
.ws { display: flex; gap: 2px; background: var(--line2); border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
.ws a { text-decoration: none; color: var(--text); font-weight: 700; font-size: .8rem; padding: 7px 11px; border-radius: 9px; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.ws a:hover { background: #fff; color: var(--navy); }
.ws a.on { background: var(--brand); color: #fff; }
.ws a svg { width: 15px; height: 15px; }
.iconbtn { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; position: relative; color: var(--navy); }
.iconbtn .dot { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--err); box-shadow: 0 0 0 2px #fff; }
.me { display: flex; align-items: center; gap: 9px; font-size: .8rem; line-height: 1.2; }
.me b { color: var(--navy); display: block; }
@media (max-width: 1180px) { .ws a span { display: none; } .ws a { padding: 7px 9px; } .me div { display: none; } }
@media (max-width: 760px) { .client-chip, .topbar .sep, .prod small { display: none; } .topbar .in { padding: 8px 12px; gap: 10px; } .topbar .logo { height: 28px; } .iconbtn { display: none; } }

/* hero + tabs */
.hero { background: var(--grad); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -140px; top: -200px; width: 520px; height: 520px; border-radius: 50%; border: 70px solid #ffffff0a; pointer-events: none; }
.hero::before { content: ""; position: absolute; left: 38%; bottom: -260px; width: 420px; height: 420px; border-radius: 50%; border: 50px solid #ffffff07; pointer-events: none; }
.hero .in { max-width: 1320px; margin: 0 auto; padding: 26px 20px 0; position: relative; z-index: 1; }
.hero .eb { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #cfdcec; }
.hero h1 { color: #fff; font-size: 1.75rem; margin: 6px 0 4px; }
.hero .lede { color: #dbe5f1; max-width: 760px; margin: 0; }
.tabs { display: flex; gap: 4px; margin-top: 20px; overflow-x: auto; scrollbar-width: none; }
.tabs a { color: #d6e1ee; text-decoration: none; font-weight: 700; font-size: .86rem; padding: 11px 15px; border-radius: 12px 12px 0 0; white-space: nowrap; display: inline-flex; gap: 7px; align-items: center; }
.tabs a:hover { color: #fff; background: #ffffff12; }
.tabs a.on { background: var(--mist); color: var(--navy); }
.tabs .cnt { background: var(--err); color: #fff; border-radius: 999px; font-size: .68rem; padding: 1px 7px; }
.tabs a.on .cnt { background: var(--err); }
main { max-width: 1320px; margin: 0 auto; padding: 22px 20px 70px; }

/* cards & tiles */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; min-width: 0; }
.card.flush { padding: 0; overflow: hidden; }
.card > .hd { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.card > .hd h2 { margin: 0; }
.card > .hd .sub { color: var(--muted); font-size: .8rem; width: 100%; margin-top: -8px; }
.lab { font-size: .68rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .11em; }
.kpis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 18px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 15px 16px; box-shadow: var(--shadow); position: relative; min-width: 0; }
.kpi .v { font-size: 1.85rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.kpi .v small { font-size: .95rem; color: var(--muted); font-weight: 700; }
.kpi .lab { padding-right: 40px; line-height: 1.35; min-height: 2.7em; }
.kpi .t { font-size: .78rem; color: var(--muted); margin-top: 3px; }
.kpi .ic { position: absolute; right: 14px; top: 14px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--sky-soft); color: var(--brand); }
.kpi .ic svg { width: 17px; height: 17px; }
.kpi.alert { border-color: #efc2bd; } .kpi.alert .ic { background: var(--errbg); color: var(--err); }
.kpi.warn .ic { background: var(--warnbg); color: var(--warn); }
.kpi.good .ic { background: var(--okbg); color: var(--ok); }
.kpi.click { cursor: pointer; } .kpi.click:hover { border-color: var(--brand2); }
.bar { height: 7px; background: var(--line2); border-radius: 99px; overflow: hidden; margin-top: 10px; }
.bar i { display: block; height: 100%; background: var(--brand2); border-radius: 99px; }

/* status pills */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { background: var(--okbg); color: var(--ok); } .pill.err { background: var(--errbg); color: var(--err); } .pill.warn { background: var(--warnbg); color: var(--warn); }
.pill.info { background: var(--sky-soft); color: var(--brand); } .pill.mute { background: var(--line2); color: var(--muted); } .pill.brass { background: var(--brass-soft); color: var(--brass-ink); }
.pill.nodot::before { display: none; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 7px; background: var(--line2); color: var(--ink); font-size: .72rem; font-weight: 700; margin: 2px 4px 2px 0; }
.tag.sky { background: var(--sky-soft); color: var(--brand); } .tag.brass { background: var(--brass-soft); color: var(--brass-ink); } .tag.ok { background: var(--okbg); color: var(--ok); } .tag.warn { background: var(--warnbg); color: var(--warn); } .tag.err { background: var(--errbg); color: var(--err); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 11px; padding: 10px 16px; font-weight: 800; font-size: .86rem; text-decoration: none; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn.primary { background: var(--brass); color: #2a1f08; box-shadow: 0 6px 16px -10px #0007; } .btn.primary:hover { filter: brightness(.96); }
.btn.navy { background: var(--brand); color: #fff; } .btn.navy:hover { background: var(--ink); }
.btn.ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); } .btn.ghost:hover { border-color: var(--brand2); }
.btn.danger { background: var(--err); color: #fff; }
.btn.glass { background: #ffffff1c; border: 1px solid #ffffff36; color: #fff; }
.btn.sm { padding: 7px 11px; font-size: .78rem; border-radius: 9px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: .78rem; font-weight: 700; color: var(--text); }
.chips button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.chips button .c { opacity: .7; margin-left: 4px; }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 11px; padding: 0 12px; min-width: 220px; }
.search input { border: 0; outline: 0; padding: 9px 0; width: 100%; background: transparent; }
.search svg { width: 16px; height: 16px; color: var(--faint); flex: none; }
.field { display: grid; gap: 5px; margin-bottom: 12px; }
.field label { font-size: .74rem; font-weight: 800; color: var(--ink); }
.field input, .field select, .field textarea { border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; background: #fff; width: 100%; }
.field textarea { min-height: 76px; resize: vertical; }

/* avatars (uniform colours: sky shirt, maroon cap) */
.av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(180deg, var(--maroon) 0 30%, var(--sky) 30% 100%); color: var(--navy); display: grid; place-items: center; font-weight: 800; font-size: .78rem; flex: none; position: relative; box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px var(--line); padding-top: 7px; letter-spacing: .02em; }
.av.lg { width: 64px; height: 64px; font-size: 1.15rem; padding-top: 12px; }
.av.sm { width: 30px; height: 30px; font-size: .66rem; padding-top: 6px; }
.av.office { background: var(--grad); color: #fff; padding-top: 0; }
.av.gone { filter: grayscale(1); opacity: .7; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who .nm { font-weight: 800; color: var(--navy); line-height: 1.2; }
.who .mt { font-size: .76rem; color: var(--muted); }
.who.click { cursor: pointer; } .who.click:hover .nm { color: var(--brand2); text-decoration: underline; }

/* tables */
.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .84rem; }
.tbl th { text-align: left; font-size: .68rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fafbfd; white-space: nowrap; }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line2); vertical-align: middle; }
.tbl tr.click { cursor: pointer; } .tbl tr.click:hover td { background: #f7fafd; }
.tbl td.r, .tbl th.r { text-align: right; } .tbl tfoot td { font-weight: 800; color: var(--navy); background: #fafbfd; border-top: 1px solid var(--line); }

/* alert list */
.alerts { display: grid; gap: 10px; }
.alert-i { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.alert-i .ai { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.alert-i .ai svg { width: 18px; height: 18px; }
.alert-i.err { border-color: #f0c9c4; background: #fffafa; } .alert-i.err .ai { background: var(--errbg); color: var(--err); }
.alert-i.warn .ai { background: var(--warnbg); color: var(--warn); }
.alert-i.ok .ai { background: var(--okbg); color: var(--ok); }
.alert-i.info .ai { background: var(--sky-soft); color: var(--brand); }
.alert-i .tx { flex: 1; min-width: 0; font-size: .84rem; }
.alert-i .tx b { color: var(--navy); display: block; font-size: .88rem; margin-bottom: 1px; }
.alert-i .acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 9px; }

/* feed */
.feed { position: relative; }
.feed .it { display: grid; grid-template-columns: 54px 14px 1fr; gap: 10px; padding-bottom: 14px; font-size: .83rem; }
.feed .tm { font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; text-align: right; font-size: .78rem; padding-top: 1px; }
.feed .dt { width: 10px; height: 10px; border-radius: 50%; margin-top: 4px; background: var(--brand2); box-shadow: 0 0 0 3px var(--sky-soft); position: relative; }
.feed .it:not(:last-child) .dt::after { content: ""; position: absolute; left: 4px; top: 13px; width: 2px; height: calc(100% + 18px); background: var(--line); }
.feed .dt.err { background: var(--err); box-shadow: 0 0 0 3px var(--errbg); } .feed .dt.ok { background: var(--ok); box-shadow: 0 0 0 3px var(--okbg); } .feed .dt.warn { background: var(--warn); box-shadow: 0 0 0 3px var(--warnbg); } .feed .dt.brass { background: var(--brass); box-shadow: 0 0 0 3px var(--brass-soft); }
.feed b { color: var(--navy); }
.feed .by { color: var(--faint); font-size: .74rem; }

/* map */
#map, .map { height: 420px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); z-index: 1; }
.leaflet-container { font-family: inherit; }
.leaflet-popup-content { font-size: .8rem; margin: 10px 12px; } .leaflet-popup-content b { color: var(--navy); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .76rem; color: var(--muted); margin-top: 10px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }

/* zone coverage */
.zone-row { display: grid; grid-template-columns: 110px 1fr 70px; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line2); font-size: .84rem; }
.zone-row:last-child { border: 0; }
.zone-row .squares { display: flex; flex-wrap: wrap; gap: 3px; }
.zone-row .squares i { width: 11px; height: 11px; border-radius: 3px; background: var(--brand2); }
.zone-row .squares i.gap { background: #fff; box-shadow: inset 0 0 0 2px var(--err); }
.zone-row .squares i.cov { background: var(--brass); }
.zone-row .squares i.rel { background: var(--sky); }

/* drawer, modal, toast, notification */
.scrim { position: fixed; inset: 0; background: #0d1f3866; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 40; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(680px, 100%); background: var(--mist); z-index: 41; transform: translateX(102%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); overflow-y: auto; box-shadow: -20px 0 50px -30px #0008; }
.drawer.on { transform: none; }
.drawer .dh { background: var(--grad); color: #fff; padding: 22px 24px 20px; position: relative; overflow: hidden; }
.drawer .dh::after { content: ""; position: absolute; right: -90px; top: -120px; width: 300px; height: 300px; border-radius: 50%; border: 44px solid #ffffff0b; }
.drawer .dh h2 { color: #fff; font-size: 1.35rem; margin: 6px 0 4px; }
.drawer .dh .eb { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #cfdcec; font-weight: 700; }
.drawer .dh p { color: #dbe5f1; margin: 0; font-size: .86rem; text-align: left; }
.drawer .x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 11px; border: 1px solid #ffffff40; background: #ffffff1a; color: #fff; font-size: 1.2rem; }
.drawer .db { padding: 18px 20px 40px; display: grid; gap: 14px; }
.drawer .card { padding: 16px; }
.modal { position: fixed; inset: 0; display: grid; place-items: center; z-index: 50; pointer-events: none; opacity: 0; transition: opacity .18s; padding: 16px; }
.modal.on { opacity: 1; pointer-events: auto; background: #0d1f3870; }
.modal .box { background: #fff; border-radius: 22px; width: min(720px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; box-shadow: 0 30px 80px -30px #000a; }
.modal .box.narrow { width: min(480px, 100%); }
.modal .mh { background: var(--grad); color: #fff; padding: 20px 22px; border-radius: 22px 22px 0 0; position: relative; }
.modal .mh h2 { color: #fff; margin: 4px 0 2px; } .modal .mh p { color: #dbe5f1; margin: 0; font-size: .85rem; text-align: left; }
.modal .mh .eb { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #cfdcec; font-weight: 700; }
.modal .mb { padding: 18px 22px 22px; }
.modal .x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 10px; border: 1px solid #ffffff40; background: #ffffff1a; color: #fff; font-size: 1.1rem; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 700; font-size: .86rem; opacity: 0; transition: all .25s; z-index: 70; box-shadow: 0 14px 40px -14px #000a; display: flex; gap: 10px; align-items: center; max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast i { width: 22px; height: 22px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; flex: none; font-style: normal; font-size: .8rem; }
.notifs { position: fixed; top: 76px; right: 18px; z-index: 65; display: grid; gap: 10px; width: min(360px, calc(100% - 36px)); pointer-events: none; }
.notif { background: #fffffff2; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 18px; padding: 12px 14px; box-shadow: 0 18px 40px -16px #0007, 0 0 0 1px #0001; display: flex; gap: 11px; animation: nin .35s cubic-bezier(.2, .8, .2, 1); pointer-events: auto; }
.notif.out { animation: nout .3s forwards; }
.notif .ap { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; color: #fff; font-weight: 800; font-size: .7rem; }
.notif .ap.wa { background: #25a35a; } .notif .ap.sms { background: #3b7fa8; } .notif .ap.sn { background: var(--grad); } .notif .ap.sos { background: var(--err); }
.notif .ap svg { width: 19px; height: 19px; }
.notif .nt { font-size: .8rem; color: var(--ink); min-width: 0; }
.notif .nt .h { display: flex; justify-content: space-between; gap: 8px; font-size: .7rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.notif .nt b { display: block; color: var(--navy); font-size: .84rem; margin: 1px 0; }
@keyframes nin { from { opacity: 0; transform: translateY(-14px) scale(.97); } }
@keyframes nout { to { opacity: 0; transform: translateX(30px); } }

/* candidates */
.cand { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; background: #fff; }
.cand.best { border-color: var(--brass); box-shadow: 0 0 0 3px var(--brass-soft); }
.cand .score { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--navy); background: conic-gradient(var(--brand2) calc(var(--p) * 1%), var(--line2) 0); position: relative; font-size: .86rem; }
.cand .score::before { content: ""; position: absolute; inset: 5px; background: #fff; border-radius: 50%; }
.cand .score span { position: relative; }
.cand .why { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.best-lab { font-size: .66rem; font-weight: 800; color: var(--brass-ink); background: var(--brass-soft); padding: 2px 8px; border-radius: 99px; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 560px) { .cand { grid-template-columns: auto 1fr; } .cand .go { grid-column: 1 / -1; } }

/* id card */
.idcard { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.idcard .top { background: var(--maroon); color: #fff; display: flex; justify-content: space-between; padding: 9px 16px; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.idcard .top span:last-child { color: #f3d58c; }
.idcard .bd { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 16px; background: linear-gradient(180deg, var(--sky-soft), #fff 70%); }
.idcard .ph { width: 112px; height: 136px; border-radius: 12px; background: #dfeaf5; display: grid; place-items: end center; overflow: hidden; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); position: relative; }
.idcard .ph svg { width: 100%; height: auto; }
.idcard .ph .ini { position: absolute; top: 8px; left: 8px; font-size: .62rem; font-weight: 800; color: var(--muted); }
.idcard dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: .8rem; }
.idcard dt { color: var(--muted); } .idcard dd { margin: 0; color: var(--navy); font-weight: 700; }
.idcard .nm { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
@media (max-width: 520px) { .idcard .bd { grid-template-columns: 1fr; } }

/* timeline (postings) */
.tl { position: relative; padding-left: 22px; }
.tl::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl .st { position: relative; padding: 0 0 14px; font-size: .83rem; }
.tl .st::before { content: ""; position: absolute; left: -21px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--brand2); }
.tl .st.now::before { background: var(--brass); border-color: var(--brass); box-shadow: 0 0 0 4px var(--brass-soft); }
.tl .st b { color: var(--navy); } .tl .st .d { color: var(--muted); font-size: .76rem; }
.tl .st .rs { display: inline-block; margin-top: 3px; font-size: .74rem; background: var(--line2); color: var(--ink); border-radius: 7px; padding: 2px 8px; }

/* planning grid */
.plan { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .78rem; }
.plan th { position: sticky; top: 0; background: #fafbfd; padding: 9px 6px; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.plan th:first-child, .plan td:first-child { text-align: left; position: sticky; left: 0; background: #fff; z-index: 1; min-width: 210px; }
.plan th.today { color: var(--navy); background: var(--brass-soft); }
.plan td { padding: 6px; border-bottom: 1px solid var(--line2); text-align: center; }
.plan td.today { background: #fdfaf3; }
.cell { display: grid; gap: 3px; }
.sh { display: flex; justify-content: space-between; gap: 4px; padding: 3px 6px; border-radius: 6px; font-weight: 800; font-variant-numeric: tabular-nums; background: var(--okbg); color: var(--ok); font-size: .7rem; cursor: default; }
.sh.gap { background: var(--errbg); color: var(--err); cursor: pointer; box-shadow: inset 0 0 0 1px #e9b3ad; }
.sh.todo { background: var(--warnbg); color: var(--warn); cursor: pointer; }
.sh.none { background: transparent; color: var(--faint); font-weight: 600; }
.sh em { font-style: normal; opacity: .75; font-weight: 700; }
.poolrow td { background: var(--brand) !important; color: #fff; font-weight: 800; }
.poolrow td:first-child { background: var(--brand) !important; }
.poolrow .pv { display: inline-block; min-width: 34px; padding: 3px 6px; border-radius: 7px; background: #ffffff22; }
.poolrow .pv.low { background: var(--err); }

/* absence gantt */
.gantt { display: grid; font-size: .74rem; min-width: 760px; }
.gantt .gh, .gantt .gr { display: grid; grid-template-columns: 190px repeat(var(--n), 1fr); align-items: center; }
.gantt .gh div { text-align: center; color: var(--muted); font-weight: 700; padding: 4px 0; font-size: .64rem; }
.gantt .gh div.we { color: var(--faint); } .gantt .gh div.td { color: #fff; background: var(--brand); border-radius: 6px; }
.gantt .gr { border-top: 1px solid var(--line2); min-height: 34px; position: relative; }
.gantt .gr .nm { padding: 4px 8px 4px 0; display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); cursor: pointer; }
.gantt .bar2 { height: 20px; border-radius: 6px; color: #fff; font-size: .66rem; font-weight: 800; padding: 0 6px; display: flex; align-items: center; overflow: hidden; white-space: nowrap; margin: 0 1px; }
.gantt .bar2.pend { background-image: repeating-linear-gradient(135deg, #ffffff40 0 4px, transparent 4px 8px); }
.ty-conge { background: #2f5d8a; } .ty-maladie { background: #b9785a; } .ty-famille { background: #4e8f6c; } .ty-injust { background: #6d7b8a; }
.lg-i { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; margin-right: 14px; color: var(--text); }
.lg-i i { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }

/* charts */
.cols { display: flex; align-items: flex-end; gap: 14px; height: 190px; padding: 10px 4px 0; border-bottom: 1px solid var(--line); }
.cols .c { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; position: relative; }
.cols .stack { width: 100%; max-width: 46px; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; position: relative; }
.cols .b1 { background: var(--line); border-radius: 4px 4px 0 0; width: 100%; position: relative; }
.cols .b2 { background: var(--brand2); border-radius: 4px 4px 0 0; position: absolute; bottom: 0; left: 18%; right: 18%; }
.cols .c:hover .b1 { background: #d3dde7; }
.cols .tip { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 7px 10px; border-radius: 9px; font-size: .72rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 3; }
.cols .c:hover .tip { opacity: 1; }
.cols-x { display: flex; gap: 14px; padding: 6px 4px 0; } .cols-x div { flex: 1; text-align: center; font-size: .72rem; color: var(--muted); font-weight: 700; }
.hbar { display: grid; grid-template-columns: minmax(120px, 190px) 1fr 92px; gap: 10px; align-items: center; font-size: .8rem; padding: 5px 0; }
.hbar .tr { height: 10px; background: var(--line2); border-radius: 99px; overflow: hidden; } .hbar .tr i { display: block; height: 100%; border-radius: 99px; background: var(--brand2); }
.hbar .nm { color: var(--navy); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hbar .vv { text-align: right; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.aging { display: flex; gap: 3px; height: 14px; border-radius: 99px; overflow: hidden; margin: 12px 0 8px; }
.donut { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; position: relative; flex: none; }
.donut::before { content: ""; position: absolute; inset: 16px; background: #fff; border-radius: 50%; }
.donut span { position: relative; text-align: center; font-weight: 800; color: var(--navy); font-size: 1.4rem; line-height: 1.1; } .donut small { display: block; font-size: .66rem; color: var(--muted); font-weight: 700; }

/* phone workspaces */
.stage { display: grid; gap: 34px; align-items: start; }
@media (min-width: 980px) { .stage { grid-template-columns: minmax(0, 1fr) 400px; } }
.stage .story h1 { font-size: 1.6rem; }
.stage .story .stp { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .87rem; }
.stage .story .stp i { width: 30px; height: 30px; border-radius: 9px; background: var(--brass); color: #2a1f08; font-style: normal; font-weight: 800; display: grid; place-items: center; }
.stage .story .stp b { color: var(--navy); }
.stage .story .stp { text-align: left; }
.phone { width: 390px; max-width: 100%; height: 800px; margin: 0 auto; border-radius: 50px; background: #0b1220; padding: 12px; box-shadow: 0 40px 80px -40px #0d1f38aa, inset 0 0 0 2px #2a3446; position: relative; }
.phone .scr { width: 100%; height: 100%; border-radius: 39px; overflow: hidden; background: var(--mist); position: relative; display: flex; flex-direction: column; }
.phone .notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 110px; height: 30px; background: #0b1220; border-radius: 20px; z-index: 5; }
.phone .sb { display: flex; justify-content: space-between; padding: 16px 28px 0; font-size: .78rem; font-weight: 800; color: #fff; height: 46px; position: absolute; inset: 0 0 auto; z-index: 4; }
.phone .sb.dk { color: var(--navy); }
.phone .body { flex: 1; overflow-y: auto; scrollbar-width: none; }
.phone .body::-webkit-scrollbar { display: none; }
.phone .ph-hero { background: var(--grad); color: #fff; padding: 58px 20px 22px; position: relative; overflow: hidden; }
.phone .ph-hero::after { content: ""; position: absolute; right: -80px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid #ffffff0b; }
.phone .ph-hero h2 { color: #fff; font-size: 1.3rem; margin: 4px 0 2px; }
.phone .ph-hero .eb { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #cfdcec; font-weight: 700; }
.phone .ph-hero p { color: #dbe5f1; margin: 0; font-size: .82rem; text-align: left; }
.phone .pc { padding: 14px; display: grid; gap: 12px; }
.phone .pcard { background: #fff; border-radius: 18px; padding: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .84rem; }
.phone .pcard h3 { font-size: .92rem; }
.phone .tabbar { display: flex; justify-content: space-around; background: #fff; border-top: 1px solid var(--line); padding: 8px 6px 22px; }
.phone .tabbar a { display: grid; justify-items: center; gap: 2px; font-size: .62rem; font-weight: 700; color: var(--faint); text-decoration: none; cursor: pointer; }
.phone .tabbar a.on { color: var(--brand); }
.phone .tabbar svg { width: 21px; height: 21px; }
.bigbtn { width: 100%; border: 0; border-radius: 18px; padding: 18px; font-weight: 800; font-size: 1rem; display: flex; align-items: center; justify-content: center; gap: 10px; }
.bigbtn.go { background: var(--brass); color: #2a1f08; box-shadow: 0 10px 24px -14px #000a; }
.bigbtn.done { background: var(--okbg); color: var(--ok); }
.sos { width: 100%; border: 0; border-radius: 18px; padding: 15px; font-weight: 800; background: var(--errbg); color: var(--err); display: flex; align-items: center; justify-content: center; gap: 8px; position: relative; overflow: hidden; }
.sos .fill { position: absolute; inset: 0 100% 0 0; background: #f1c7c2; transition: right linear; }
.sos span { position: relative; }
.qbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qbtns button { border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 10px; font-weight: 700; font-size: .78rem; color: var(--navy); display: grid; justify-items: center; gap: 6px; text-align: center; }
.qbtns button svg { width: 22px; height: 22px; color: var(--brand2); }
.code { display: flex; gap: 8px; justify-content: center; margin: 8px 0; }
.code span { width: 46px; height: 56px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; }
.sms-box { background: #e9eef3; border-radius: 16px; padding: 12px; font-family: ui-monospace, Menlo, monospace; font-size: .76rem; color: var(--ink); }
.sms-box .m { background: #fff; border-radius: 12px; padding: 7px 10px; margin: 5px 0; max-width: 85%; } .sms-box .m.me { background: #3b7fa8; color: #fff; margin-left: auto; }
.stars { display: flex; gap: 4px; } .stars button { border: 0; background: none; font-size: 1.6rem; color: #d6dde5; padding: 0; } .stars button.on { color: var(--brass); }

/* welcome */
.welcome { background: var(--grad); color: #fff; position: relative; overflow: hidden; }
.welcome::after { content: ""; position: absolute; right: -180px; top: -220px; width: 720px; height: 720px; border-radius: 50%; border: 90px solid #ffffff09; }
.welcome::before { content: ""; position: absolute; left: -200px; bottom: -380px; width: 640px; height: 640px; border-radius: 50%; border: 70px solid #ffffff06; }
.welcome .in { max-width: 1180px; margin: 0 auto; padding: 56px 20px 64px; position: relative; z-index: 1; }
.welcome .eb { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: #cfdcec; font-weight: 700; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.welcome h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.08; margin: 16px 0 14px; max-width: 820px; letter-spacing: -.02em; }
.welcome h1 em { font-style: normal; color: #f0d79c; }
.welcome .lede { color: #dbe5f1; font-size: 1.06rem; max-width: 720px; text-align: left; }
.welcome .facts { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 30px; }
.welcome .facts div { font-size: .8rem; color: #cfdcec; } .welcome .facts b { display: block; font-size: 1.7rem; color: #fff; letter-spacing: -.02em; }
.roles { max-width: 1180px; margin: -34px auto 0; padding: 0 20px; position: relative; z-index: 2; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.role { background: #fff; border-radius: 20px; padding: 20px; border: 1px solid var(--line); box-shadow: 0 20px 40px -26px #0d1f3866; text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 8px; transition: transform .15s, box-shadow .15s; }
.role:hover { transform: translateY(-3px); box-shadow: 0 26px 46px -24px #0d1f3888; }
.role .ri { width: 44px; height: 44px; border-radius: 13px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.role .ri svg { width: 22px; height: 22px; }
.role b { color: var(--navy); font-size: 1rem; } .role p { margin: 0; font-size: .82rem; text-align: left; flex: 1; }
.role .go { color: var(--brand2); font-weight: 800; font-size: .8rem; }
.role.cl .ri { background: var(--maroon); }
.ba { max-width: 1180px; margin: 40px auto 0; padding: 0 20px; display: grid; gap: 16px; }
@media (min-width: 900px) { .ba { grid-template-columns: 1fr 1fr; } }
.ba .card h3 { display: flex; align-items: center; gap: 8px; }
.ba ol { margin: 0; padding-left: 18px; font-size: .86rem; } .ba li { margin: 5px 0; }
.ba .before li { color: var(--muted); } .ba .after li { color: var(--ink); }
.foot { max-width: 1320px; margin: 0 auto; padding: 24px 20px 40px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: .76rem; color: var(--muted); border-top: 1px solid var(--line); }
.foot img { height: 26px; }
.foot button { border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 6px 10px; font-size: .74rem; font-weight: 700; color: var(--navy); }
.empty { text-align: center; padding: 30px; color: var(--muted); font-size: .86rem; }
.hl { background: var(--brass-soft); border-radius: 14px; padding: 13px 15px; font-size: .84rem; color: var(--ink); border: 1px solid #ecdcb9; }
.hl b { color: var(--brass-ink); }
.invoice { border: 1px solid var(--line); border-radius: 14px; padding: 22px; font-size: .82rem; }
.invoice .ih { display: flex; justify-content: space-between; gap: 16px; border-bottom: 3px solid var(--maroon); padding-bottom: 12px; margin-bottom: 14px; }
.invoice .ih .wm { font-weight: 800; color: var(--maroon); font-size: 1.15rem; letter-spacing: .06em; }
.invoice table { width: 100%; border-collapse: collapse; margin: 10px 0; } .invoice td, .invoice th { padding: 7px 6px; border-bottom: 1px solid var(--line2); text-align: left; } .invoice .r { text-align: right; }
.invoice .tot td { font-weight: 800; color: var(--navy); border-top: 2px solid var(--navy); }
@media print { .topbar, .hero .tabs, .foot { display: none; } }

/* welcome live panel */
.welcome .split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1040px) { .welcome .split { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); } }
.live { background: #ffffff12; border: 1px solid #ffffff26; border-radius: 24px; padding: 18px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.live .lh { display: flex; align-items: center; gap: 8px; color: #e3ebf5; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.live .lh i { width: 8px; height: 8px; border-radius: 50%; background: #5fd39a; box-shadow: 0 0 0 4px #5fd39a33; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px #5fd39a10; } }
.live .ev { display: grid; grid-template-columns: 52px 1fr; gap: 12px; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; font-size: .84rem; box-shadow: 0 14px 30px -20px #000a; }
.live .ev .tm { font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.live .ev b { color: var(--navy); display: block; }
.live .ev .k { display: inline-block; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 99px; margin-top: 5px; }

.noanim *, .noanim *::before, .noanim *::after { transition: none !important; animation: none !important; }
.drawer .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } .drawer .kpi { padding: 12px; } .drawer .kpi .lab { padding-right: 0; } .drawer .kpi .v { font-size: 1.5rem; }
@media (max-width: 560px) { .drawer .kpis { grid-template-columns: 1fr 1fr; } }

.phone .pc > * { min-width: 0; }
.phone .btn { white-space: normal; text-align: center; line-height: 1.3; }
.phone .qbtns button { min-width: 0; }
@media (max-width: 760px) {
  .me { display: none; } .ws a { padding: 7px 8px; }
  .kpis { gap: 10px; } .kpi { padding: 12px; } .kpi .v { font-size: 1.45rem; } .kpi .ic { display: none; } .kpi .lab { padding-right: 0; min-height: 0; }
  .hero h1 { font-size: 1.45rem; } main { padding: 16px 14px 60px; } .hero .in { padding: 20px 14px 0; }
  .stage .story { order: 2; } .phone { height: 720px; }
}
.stage > * { min-width: 0; }
@media (max-width: 560px) { .phone { width: 100%; padding: 8px; border-radius: 38px; } .phone .scr { border-radius: 30px; } .phone .notch { top: 16px; } }
