/* Shell Agentova (barre d'icônes + sidebar + zone principale) — copie locale */
:root{
  --ink:#141414; --ink-2:#3d3d3d; --muted:#6b6b6b; --faint:#9a9a9a;
  --line:#ececec; --line-2:#e2e2e2; --bg:#f7f7f7; --card:#fff;
  --green:#16a34a; --green-2:#22c55e; --green-pale:#e3f6ec; --green-ink:#0f7a3a;
  --r-lg:24px; --r-md:16px; --r-sm:12px;
  --shadow:0 1px 2px rgba(0,0,0,.04),0 4px 16px rgba(0,0,0,.035);
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);
  background:#0b1112 radial-gradient(120% 60% at 0% 40%,#13302c 0%,#0b1112 55%);
  -webkit-font-smoothing:antialiased;font-size:14px;overflow:hidden}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
input{font:inherit;color:inherit}

.app{display:flex;height:100vh;min-width:1280px}
.rail{width:78px;flex:none;display:flex;flex-direction:column;align-items:center;padding:28px 0 22px;gap:6px;color:#cfd6d6}
.rail .ri{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;opacity:.8}
.rail .ri svg{width:17px;height:17px}
.rail .ri.on{background:#2a3233;box-shadow:inset 0 0 0 1px #3a4445;opacity:1}
.rail .sp{height:30px}
.rail .grow{flex:1}
.rail .av{width:26px;height:26px;border-radius:50%;background:#3b2a22 url(../../assets/arthur.png) 56% 10%/190% auto no-repeat;margin-top:12px}
.rail .av.b{background-color:#4a3a2c}

.panel{flex:1;display:flex;margin:6px 6px 6px 10px;background:var(--bg);border-radius:18px;overflow:hidden;min-width:0}
.side{width:308px;flex:none;background:#fff;border-right:1px solid var(--line);padding:38px 24px 24px;display:flex;flex-direction:column}
.side .back{display:flex;align-items:center;gap:10px;font-weight:500;font-size:14px;padding-left:10px}
.side .back svg{width:14px;height:14px}
.side .agent{margin-top:38px;display:flex;align-items:center;gap:10px;border:1px solid var(--line-2);border-radius:14px;height:40px;padding:0 14px 0 10px;font-weight:500}
.side .agent .dot{width:20px;height:20px;border-radius:50%;background:#7a2b2b url(../../assets/arthur.png) 56% 10%/190% auto no-repeat}
.side .agent svg{margin-left:auto;width:14px;height:14px;color:var(--muted)}
.side .hub{margin:34px 0 10px 10px;color:var(--muted);font-size:14px}
.side nav a{display:flex;align-items:center;gap:12px;height:38px;padding:0 12px;border-radius:12px;color:#555;font-size:14.5px;margin-bottom:6px}
.side nav a svg{width:16px;height:16px;color:#9a9a9a}
.side nav a.on{background:var(--green-pale);color:var(--ink);font-weight:500}
.side nav a.on svg{color:var(--green-2)}

.main{flex:1;overflow-y:auto;overflow-x:hidden;min-width:0}
.wrap{max-width:920px;margin:0 auto;padding:40px 40px 90px}

/* logos */
.lg{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.06);flex:none}
.lg i{display:block;width:16px;height:16px;background:currentColor;-webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat}
.lg img{width:18px;height:18px;object-fit:contain}
.lg.fb{color:#0866FF}.lg.fb i{--m:url(https://cdn.jsdelivr.net/npm/simple-icons@v13/icons/facebook.svg)}
.lg.ms{color:#0a7cff}.lg.ms i{--m:url(https://cdn.jsdelivr.net/npm/simple-icons@v13/icons/messenger.svg)}
.lg.ig{color:#E4405F}.lg.ig i{--m:url(https://cdn.jsdelivr.net/npm/simple-icons@v13/icons/instagram.svg)}
.lg.wa{color:#25D366}.lg.wa i{--m:url(https://cdn.jsdelivr.net/npm/simple-icons@v13/icons/whatsapp.svg)}
.lg.gm{color:#EA4335}.lg.gm i{--m:url(https://cdn.jsdelivr.net/npm/simple-icons@v13/icons/gmail.svg)}
.lg.tf{color:#262627}.lg.tf i{--m:url(https://cdn.jsdelivr.net/npm/simple-icons@v13/icons/typeform.svg)}

.arthur-av{border-radius:50%;background:#dfe9e3 url(../../assets/arthur.png) 56% 10%/190% auto no-repeat;flex:none}

.iter{position:fixed;left:14px;bottom:14px;z-index:50;background:#fff;color:var(--ink);font-size:12px;font-weight:600;
  padding:7px 12px;border-radius:999px;box-shadow:0 2px 10px rgba(0,0,0,.25)}
.iter:hover{background:var(--green-pale)}
