/* Nexacare Studio — espace client et admin */
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:#EEF2F6;color:#14202B;font-family:Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:#0B3A5C;text-decoration:none}a:hover{color:#D33C3F}
h1,h2,h3,h4{font-family:Sora,Inter,sans-serif;margin:0;color:#0B3A5C;letter-spacing:-0.02em}
p{margin:0}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
header.barre{background:#FFFFFF;border-bottom:1px solid #E1E6EC}
header.barre .wrap{height:68px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 18px;border-radius:10px;font-weight:600;font-size:14px;border:1.5px solid transparent;cursor:pointer;font-family:Inter,sans-serif;background:#FFFFFF;color:#0B3A5C}
.btn-red{background:#D33C3F;color:#FFFFFF}.btn-red:hover{background:#B82F32;color:#FFFFFF}
.btn-navy{background:#0B3A5C;color:#FFFFFF}.btn-navy:hover{background:#082B45;color:#FFFFFF}
.btn-ghost{border-color:#C9D3DD}.btn-ghost:hover{border-color:#0B3A5C}
.btn-sm{height:36px;padding:0 12px;font-size:13px;border-radius:8px}
.btn:disabled{opacity:.55;cursor:default}
.eyebrow{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#D33C3F}
.muted{color:#5B6B7A}
.carte{background:#FFFFFF;border:1px solid #E1E6EC;border-radius:16px;padding:22px}
.chip{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:999px;background:#EAF1F7;color:#0B3A5C;font-size:12px;font-weight:600}
.chip.ok{background:#E6F4EA;color:#1C6B38}.chip.attente{background:#FFF4D6;color:#8A5A00}.chip.rouge{background:#FBEAEA;color:#B82F32}
label{display:block;font-size:13px;font-weight:600;margin-bottom:6px;color:#14202B}
.champ{width:100%;height:44px;border:1.5px solid #C9D3DD;border-radius:8px;padding:0 12px;font-size:15px;font-family:Inter,sans-serif;color:#14202B;background:#FFFFFF}
.champ:focus{outline:2px solid #0B3A5C;outline-offset:1px;border-color:#0B3A5C}
textarea.champ{height:auto;min-height:90px;padding:10px 12px;resize:vertical}
.grille{display:grid;gap:16px}
.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.barre-prog{height:10px;border-radius:5px;background:#EAF1F7;overflow:hidden}
.barre-prog>i{display:block;height:100%;background:linear-gradient(90deg,#0B3A5C,#D33C3F);border-radius:5px;transition:width .6s ease}
.liste{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.ligne{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #E1E6EC;border-radius:10px;background:#FFFFFF}
.chat{display:flex;flex-direction:column;gap:10px;max-height:420px;overflow:auto;padding:4px}
.msg{max-width:78%;padding:10px 14px;border-radius:14px;font-size:14px;line-height:1.5}
.msg.client{align-self:flex-end;background:#0B3A5C;color:#FFFFFF;border-bottom-right-radius:4px}
.msg.admin{align-self:flex-start;background:#F3F6F9;color:#14202B;border-bottom-left-radius:4px}
.msg small{display:block;opacity:.7;font-size:11px;margin-top:4px}
.onglets{display:flex;gap:6px;flex-wrap:wrap}
.onglets button{height:38px;padding:0 14px;border-radius:999px;border:1px solid #C9D3DD;background:#FFFFFF;font:600 13px Inter,sans-serif;color:#14202B;cursor:pointer}
.onglets button.on{background:#0B3A5C;color:#FFFFFF;border-color:#0B3A5C}
.cache{display:none !important}
.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);background:#14202B;color:#FFFFFF;padding:12px 18px;border-radius:10px;font-size:14px;opacity:0;transition:all .25s;z-index:50;max-width:90vw}
.toast.on{opacity:1;transform:translate(-50%,0)}.toast.ko{background:#B82F32}
.zone-depot{border:2px dashed #C9D3DD;border-radius:12px;padding:18px;text-align:center;color:#5B6B7A;font-size:14px;background:#FAFBFC}
.zone-depot.sur{border-color:#0B3A5C;background:#EAF1F7}
.tableau{width:100%;border-collapse:collapse;font-size:14px}
.tableau th,.tableau td{text-align:left;padding:10px 12px;border-bottom:1px solid #E1E6EC;vertical-align:top}
.tableau th{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#5B6B7A}
.tableau tr:hover td{background:#F8FAFC}
.connexion{min-height:calc(100vh - 68px);display:flex;align-items:center;justify-content:center;padding:40px 20px}
.connexion .carte{width:100%;max-width:440px;padding:32px}
@media (max-width:860px){.g2,.g3{grid-template-columns:1fr}.msg{max-width:92%}.hide-m{display:none !important}}
