/* Support / Ticketing — vue Admin (Inbox + Conversation + Contexte + Claude).
   Port du design Claude (support-admin.css). Tokens scopés sous `.ad-root`.
   CHANGEMENT demandé : les bulles de messages ADMIN utilisent le gradient
   orangé propre au site admin (#f97316 → #dc2626) au lieu du bleu-rose Kiclic.
   Préfixe : ad- */

/* Rubik (police officielle) — l'AdminLayout ne charge pas global.css. */
@font-face { font-family:"Rubik"; src:url("/fonts/Rubik-Regular.ttf") format("truetype"); font-weight:400; font-display:swap; }
@font-face { font-family:"Rubik"; src:url("/fonts/Rubik-Medium.ttf") format("truetype"); font-weight:500; font-display:swap; }
@font-face { font-family:"Rubik"; src:url("/fonts/Rubik-SemiBold.ttf") format("truetype"); font-weight:600; font-display:swap; }
@font-face { font-family:"Rubik"; src:url("/fonts/Rubik-Bold.ttf") format("truetype"); font-weight:700; font-display:swap; }
@font-face { font-family:"Rubik"; src:url("/fonts/Rubik-ExtraBold.ttf") format("truetype"); font-weight:800; font-display:swap; }
@font-face { font-family:"Rubik"; src:url("/fonts/Rubik-Black.ttf") format("truetype"); font-weight:900; font-display:swap; }

.ad-support-page { height: 100vh; overflow: hidden; }
@media (max-width: 1023px) { .ad-support-page { height: calc(100vh - 52px); } }

.ad-root {
  /* Tokens design (scopés) — dark par défaut */
  --k-blue:#5B8DEF; --k-violet:#B968C7; --k-pink:#E94E8B;
  --k-gradient: linear-gradient(135deg, var(--k-blue) 0%, var(--k-violet) 50%, var(--k-pink) 100%);
  --k-gradient-h: linear-gradient(90deg, var(--k-blue) 0%, var(--k-violet) 50%, var(--k-pink) 100%);
  /* Gradient orangé du site admin (bulles/envoi admin) */
  --admin-gradient: linear-gradient(135deg, #f97316, #dc2626);
  --admin-gradient-h: linear-gradient(90deg, #f97316, #dc2626);
  --bg:#0A0A0A; --bg-elev-1:#111111; --bg-elev-2:#1A1A1A;
  --border:#222222; --border-soft:rgba(255,255,255,0.08);
  --surface-tint:rgba(255,255,255,0.08); --surface-tint-light:rgba(255,255,255,0.05); --surface-tint-strong:rgba(255,255,255,0.12);
  --fg:#FFFFFF; --fg-secondary:#9CA3AF; --fg-muted:#6B7280;
  --success:#10B981; --warning:#F59E0B; --error:#EF4444;
  --shadow-button:0 8px 20px rgba(233,78,139,0.30);
  --font-sans:"Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display:"Rubik", system-ui, sans-serif;
  --font-mono:ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease-out:cubic-bezier(0.16,1,0.3,1); --spring:cubic-bezier(0.34,1.56,0.64,1);
  --t-fast:180ms; --t-base:280ms;

  display: flex; height: 100%; min-height: 0; font-family: var(--font-sans);
  color: var(--fg); background: var(--bg);
}
html[data-theme="light"] .ad-root {
  --bg:#F2F2F7; --bg-elev-1:#FFFFFF; --bg-elev-2:#FAFAFA;
  --border:#E5E5EA; --border-soft:rgba(0,0,0,0.07);
  --surface-tint:rgba(0,0,0,0.05); --surface-tint-light:rgba(0,0,0,0.03); --surface-tint-strong:rgba(0,0,0,0.07);
  --fg:#0A0A0A; --fg-secondary:#4B5563; --fg-muted:#98A0AD;
}
.ad-root a { color: var(--k-blue); text-decoration: none; }
.ad-root a:hover { text-decoration: underline; }

/* ============ Colonne inbox ============ */
.ad-inbox {
  flex: 0 0 350px; min-width: 0; display: flex; flex-direction: column;
  border-right: 1px solid var(--border-soft); background: var(--bg-elev-1);
}
.ad-inbox-head { flex: 0 0 auto; padding: 18px 18px 0; }
.ad-inbox-head .t {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em;
}
.ad-inbox-head .t .cnt {
  min-width: 22px; height: 22px; padding: 0 7px; border-radius: 9999px;
  background: #f97316; color: #fff; font-family: var(--font-sans);
  font-size: 11.5px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
}
.ad-search {
  margin-top: 13px; display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 12px;
  border-radius: 11px; background: var(--surface-tint-light); border: 1px solid var(--border-soft);
}
.ad-search svg { width: 15px; height: 15px; stroke: var(--fg-muted); stroke-width: 2; fill: none; flex: 0 0 auto; }
.ad-search input { flex: 1 1 auto; min-width: 0; background: none; border: 0; outline: none; color: var(--fg); font-size: 13px; font-family: var(--font-sans); }
.ad-search input::placeholder { color: var(--fg-muted); }

.ad-filters { display: flex; gap: 5px; padding: 12px 0 10px; overflow-x: auto; scrollbar-width: none; }
.ad-filters::-webkit-scrollbar { display: none; }
.ad-filter {
  flex: 0 0 auto; height: 28px; padding: 0 12px; border-radius: 9999px; cursor: pointer;
  background: transparent; border: 1px solid var(--border-soft); color: var(--fg-secondary);
  font-size: 12px; font-weight: 600; font-family: var(--font-sans);
  display: inline-flex; align-items: center; gap: 6px; transition: all var(--t-fast);
}
.ad-filter:hover { color: var(--fg); background: var(--surface-tint-light); }
.ad-filter.on { background: var(--fg); color: var(--bg); border-color: var(--fg); font-weight: 700; }
.ad-filter .n { font-size: 10.5px; font-weight: 800; opacity: 0.65; }

.ad-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; padding-bottom: 40px; }
.ad-list::-webkit-scrollbar { width: 8px; }
.ad-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.ad-item {
  display: flex; gap: 11px; width: 100%; text-align: left; cursor: pointer;
  padding: 13px 18px; border: 0; border-bottom: 1px solid var(--border-soft);
  background: transparent; color: var(--fg); font-family: var(--font-sans);
  transition: background var(--t-fast); position: relative;
}
.ad-item:hover { background: var(--surface-tint-light); }
.ad-item.sel { background: var(--surface-tint); }
.ad-item.sel::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--admin-gradient); }
.ad-item .av {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #fff; position: relative; overflow: visible;
}
.ad-item .av.pro { background: linear-gradient(135deg, #5B8DEF, #B968C7); }
.ad-item .av.fan { background: linear-gradient(135deg, #B968C7, #E94E8B); }
.ad-item .av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ad-item .av .plat {
  position: absolute; right: -3px; bottom: -3px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--bg-elev-2); border: 1.5px solid var(--bg-elev-1);
  display: flex; align-items: center; justify-content: center;
}
.ad-item .av .plat svg { width: 9.5px; height: 9.5px; stroke: var(--fg-secondary); stroke-width: 2.2; fill: none; }
.ad-item .m { flex: 1 1 auto; min-width: 0; }
.ad-item .l1 { display: flex; align-items: baseline; gap: 8px; }
.ad-item .l1 .who { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ad-item .l1 .when { margin-left: auto; flex: 0 0 auto; font-size: 10.5px; color: var(--fg-muted); }
.ad-item .subj { font-size: 13px; font-weight: 600; color: var(--fg); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-item.unread .subj { font-weight: 800; }
.ad-item .prev { font-size: 12px; color: var(--fg-muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-item .l4 { display: flex; align-items: center; gap: 6px; margin-top: 7px; }
.ad-item .udot { position: absolute; right: 16px; top: 50%; margin-top: 14px; width: 9px; height: 9px; border-radius: 50%; background: #f97316; box-shadow: 0 0 8px rgba(249,115,22,0.7); }

.ad-kind { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-radius: 6px; font-size: 10px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; background: color-mix(in srgb, var(--c) 13%, transparent); color: var(--c); }
.ad-cat { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 6px; font-size: 10.5px; font-weight: 600; background: var(--surface-tint-light); border: 1px solid var(--border-soft); color: var(--fg-secondary); }
.ad-prio { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; }
.ad-prio.high { color: #F59E0B; } .ad-prio.urgent { color: var(--error); }
.ad-prio svg { width: 11px; height: 11px; stroke: currentColor; stroke-width: 2.5; fill: none; }
.ad-assn { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--surface-tint); border: 1px solid var(--border-soft); color: var(--fg-secondary); font-size: 9.5px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

.ad-list-empty { padding: 40px 20px; text-align: center; color: var(--fg-muted); font-size: 13px; }

/* ============ Colonne conversation ============ */
.ad-convo { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; background: var(--bg); }
.ad-convo-head {
  flex: 0 0 auto; display: flex; align-items: center; gap: 14px; padding: 14px 22px;
  border-bottom: 1px solid var(--border-soft); background: var(--bg-elev-1);
}
.ad-convo-back { display: none; width: 32px; height: 32px; border-radius: 9px; border: 0; cursor: pointer; background: var(--surface-tint-light); color: var(--fg); align-items: center; justify-content: center; flex: 0 0 auto; }
.ad-convo-back svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 2.2; fill: none; }
.ad-convo-head .tt { min-width: 0; flex: 1 1 auto; }
.ad-convo-head .subj { font-size: 15.5px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 9px; }
.ad-convo-head .subj .ref { font-size: 11px; font-weight: 700; color: var(--fg-muted); background: var(--surface-tint-light); border: 1px solid var(--border-soft); padding: 2px 7px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.ad-convo-head .sub { font-size: 11.5px; color: var(--fg-muted); margin-top: 2px; }
.ad-convo-head .acts { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; }

.ad-sel {
  height: 32px; padding: 0 11px; border-radius: 10px; cursor: pointer;
  background: var(--surface-tint-light); border: 1px solid var(--border); color: var(--fg);
  font-size: 12px; font-weight: 600; font-family: var(--font-sans); outline: none;
}
.ad-sel:focus { border-color: rgba(249,115,22,0.5); }
.ad-resolve {
  height: 32px; padding: 0 14px; border-radius: 9999px; cursor: pointer;
  background: rgba(16,185,129,0.14); color: #34D399; border: 1px solid rgba(16,185,129,0.3);
  font-size: 12px; font-weight: 700; font-family: var(--font-sans);
  display: inline-flex; align-items: center; gap: 6px; transition: all var(--t-fast);
}
.ad-resolve svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.4; fill: none; }
.ad-resolve:hover { background: rgba(16,185,129,0.24); }

/* Boutons icône (archiver / supprimer) dans l'entête de conversation */
.ad-icobtn {
  height: 32px; width: 32px; border-radius: 9999px; cursor: pointer;
  background: var(--surface-2, rgba(255,255,255,0.05)); color: var(--text-2, rgba(255,255,255,0.7));
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  display: inline-flex; align-items: center; justify-content: center; transition: all var(--t-fast);
}
.ad-icobtn svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2.2; fill: none; }
.ad-icobtn:hover { background: var(--surface-3, rgba(255,255,255,0.09)); color: var(--text-1, #fff); }
.ad-icobtn.danger { color: #F87171; border-color: rgba(239,68,68,0.28); background: rgba(239,68,68,0.10); }
.ad-icobtn.danger:hover { background: rgba(239,68,68,0.20); color: #FCA5A5; }

.ad-msgs { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; padding: 20px 24px 12px; display: flex; flex-direction: column; gap: 11px; }
.ad-msgs::-webkit-scrollbar { width: 8px; }
.ad-msgs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.ad-msg { max-width: 62%; display: flex; flex-direction: column; gap: 3px; }
.ad-msg .bub { padding: 10px 15px; border-radius: 18px; font-size: 13.5px; line-height: 1.5; word-wrap: break-word; white-space: pre-wrap; }
.ad-msg.user { align-self: flex-start; }
.ad-msg.user .bub { background: var(--bg-elev-2); border: 1px solid var(--border-soft); border-bottom-left-radius: 6px; }
/* Bulles ADMIN → gradient orangé du site admin (au lieu du bleu-rose Kiclic). */
.ad-msg.admin { align-self: flex-end; align-items: flex-end; }
.ad-msg.admin .bub { background: var(--admin-gradient); color: #fff; border-bottom-right-radius: 6px; box-shadow: 0 6px 18px rgba(220,60,30,0.28); }
.ad-msg.internal { align-self: flex-end; align-items: flex-end; max-width: 68%; }
.ad-msg.internal .bub {
  background: rgba(234,179,8,0.09); border: 1px dashed rgba(234,179,8,0.45);
  color: var(--fg); border-bottom-right-radius: 6px;
}
.ad-msg.claude { align-self: flex-end; align-items: flex-end; max-width: 68%; }
.ad-msg.claude .bub { background: rgba(217,119,87,0.10); border: 1px dashed rgba(217,119,87,0.5); color: var(--fg); border-bottom-right-radius: 6px; }
.ad-msg .meta { font-size: 10.5px; color: var(--fg-muted); padding: 0 6px; display: flex; gap: 6px; align-items: center; }
.ad-msg .meta .who { font-weight: 700; color: var(--fg-secondary); }
.ad-msg .meta .tag-int { color: #EAB308; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 9.5px; }
.ad-msg .shot { display: block; margin-top: 6px; max-width: 240px; border-radius: 12px; overflow: hidden; }
.ad-msg .shot img { display: block; width: 100%; height: auto; }
.ad-sys { align-self: center; font-size: 11px; color: var(--fg-muted); padding: 4px 12px; border-radius: 9999px; background: var(--surface-tint-light); border: 1px solid var(--border-soft); }

/* Indicateur de frappe (user tape) */
.ad-typing { align-self: flex-start; display: flex; align-items: center; gap: 8px; padding: 0 4px; }
.ad-typing .av { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg,#5B8DEF,#B968C7); color: #fff; font-size: 10.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ad-typing .bub { display: flex; gap: 4px; padding: 11px 14px; border-radius: 18px; border-bottom-left-radius: 6px; background: var(--surface-tint); }
.ad-typing .bub i { width: 6px; height: 6px; border-radius: 50%; background: var(--fg-muted); animation: adDot 1.1s ease-in-out infinite; }
.ad-typing .bub i:nth-child(2) { animation-delay: 0.15s; }
.ad-typing .bub i:nth-child(3) { animation-delay: 0.3s; }
@keyframes adDot { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.ad-typing .lbl { font-size: 11px; color: var(--fg-muted); }

/* composer admin */
.ad-composer { flex: 0 0 auto; padding: 0 24px 18px; }
.ad-composer .box {
  border-radius: 16px; background: var(--bg-elev-1); border: 1px solid var(--border);
  transition: border-color var(--t-fast); overflow: hidden;
}
.ad-composer .box:focus-within { border-color: rgba(249,115,22,0.5); box-shadow: 0 0 0 3px rgba(249,115,22,0.1); }
.ad-composer .box.internal { border-color: rgba(234,179,8,0.5); background: rgba(234,179,8,0.04); }
.ad-composer textarea {
  width: 100%; min-height: 62px; max-height: 160px; padding: 12px 15px 4px; resize: none;
  background: none; border: 0; outline: none; color: var(--fg);
  font-size: 13.5px; line-height: 1.5; font-family: var(--font-sans);
}
.ad-composer textarea::placeholder { color: var(--fg-muted); }
.ad-composer .bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px 10px 15px; }
.ad-mode { display: flex; gap: 2px; background: var(--surface-tint-light); border: 1px solid var(--border-soft); border-radius: 9999px; padding: 2px; }
.ad-mode button {
  height: 26px; padding: 0 12px; border-radius: 9999px; border: 0; cursor: pointer;
  background: transparent; color: var(--fg-muted); font-size: 11.5px; font-weight: 700; font-family: var(--font-sans);
  transition: all var(--t-fast);
}
.ad-mode button.on { background: var(--bg-elev-2); color: var(--fg); box-shadow: 0 1px 4px rgba(0,0,0,0.25); }
.ad-mode button.on.int { color: #EAB308; }
.ad-send {
  margin-left: auto; height: 34px; padding: 0 17px; border-radius: 9999px; border: 0; cursor: pointer;
  background: var(--admin-gradient-h); color: #fff; font-size: 12.5px; font-weight: 700; font-family: var(--font-sans);
  display: inline-flex; align-items: center; gap: 7px; box-shadow: 0 6px 16px rgba(220,60,30,0.28);
  transition: all var(--t-fast);
}
.ad-send svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.2; fill: none; }
.ad-send:hover:not(:disabled) { transform: translateY(-1px); }
.ad-send:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; }
.ad-send.int { background: #B48A0A; box-shadow: 0 6px 16px rgba(234,179,8,0.25); }

.ad-convo-empty { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; color: var(--fg-muted); font-size: 13px; }

/* ============ Colonne contexte ============ */
.ad-ctx {
  flex: 0 0 296px; min-width: 0; overflow-y: auto; scrollbar-width: thin;
  border-left: 1px solid var(--border-soft); background: var(--bg-elev-1);
  padding: 18px 16px 40px; display: flex; flex-direction: column; gap: 14px;
}
.ad-ctx::-webkit-scrollbar { width: 8px; }
.ad-ctx::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.ad-card { border-radius: 14px; background: var(--surface-tint-light); border: 1px solid var(--border-soft); padding: 13px 14px; }
.ad-card .ct { display: flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 11px; }
.ad-card .ct svg { width: 13px; height: 13px; stroke: var(--fg-muted); stroke-width: 2.2; fill: none; }
.ad-kv { display: flex; align-items: baseline; gap: 10px; padding: 4px 0; }
.ad-kv .k { flex: 0 0 92px; font-size: 11.5px; color: var(--fg-muted); font-weight: 600; }
.ad-kv .v { flex: 1 1 auto; min-width: 0; font-size: 12.5px; color: var(--fg); font-weight: 600; word-break: break-word; }
.ad-kv .v code { font-family: var(--font-mono); font-size: 11px; background: var(--surface-tint); padding: 1.5px 6px; border-radius: 6px; border: 1px solid var(--border-soft); }

.ad-userhead { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.ad-userhead .av { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 15px; overflow: hidden; }
.ad-userhead .av.pro { background: linear-gradient(135deg, #5B8DEF, #B968C7); }
.ad-userhead .av.fan { background: linear-gradient(135deg, #B968C7, #E94E8B); }
.ad-userhead .av img { width: 100%; height: 100%; object-fit: cover; }
.ad-userhead .n { font-size: 13.5px; font-weight: 800; }
.ad-userhead .r { font-size: 11px; color: var(--fg-muted); margin-top: 1px; }
.ad-rolechip { display: inline-flex; height: 19px; padding: 0 8px; border-radius: 6px; align-items: center; font-size: 10px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.ad-rolechip.pro { background: rgba(91,141,239,0.15); color: #7BA3F2; }
.ad-rolechip.fan { background: rgba(233,78,139,0.14); color: #F077A8; }

/* Claude — Palier 0 (garde l'identité terracotta de Claude) */
.ad-claude {
  border-radius: 16px; padding: 14px;
  background: linear-gradient(var(--bg-elev-2), var(--bg-elev-2)) padding-box,
              linear-gradient(130deg, #D97757, #B968C7) border-box;
  border: 1.5px solid transparent;
}
.ad-claude .ct { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.ad-claude .ct .star { width: 24px; height: 24px; border-radius: 8px; background: #D97757; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ad-claude .ct .star svg { width: 14px; height: 14px; fill: #fff; }
.ad-claude .ct b { font-size: 13px; font-weight: 800; }
.ad-claude .ct .tier { margin-left: auto; font-size: 9.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-muted); background: var(--surface-tint-light); border: 1px solid var(--border-soft); padding: 2.5px 7px; border-radius: 6px; }
.ad-claude .desc { font-size: 11.5px; color: var(--fg-muted); line-height: 1.45; margin-bottom: 12px; }
.ad-claude .btns { display: flex; flex-direction: column; gap: 7px; }
.ad-cbtn {
  display: flex; align-items: center; gap: 9px; width: 100%; text-align: left; cursor: pointer;
  height: 38px; padding: 0 12px; border-radius: 11px;
  background: var(--surface-tint-light); border: 1px solid var(--border-soft); color: var(--fg);
  font-size: 12.5px; font-weight: 700; font-family: var(--font-sans); transition: all var(--t-fast);
}
.ad-cbtn svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; fill: none; flex: 0 0 auto; }
.ad-cbtn:hover { border-color: rgba(217,119,87,0.5); background: rgba(217,119,87,0.08); }
.ad-cbtn.primary { background: #D97757; border-color: #D97757; color: #fff; box-shadow: 0 6px 16px rgba(217,119,87,0.3); }
.ad-cbtn.primary:hover { background: #C9663F; }
.ad-cbtn .kbd { margin-left: auto; font-size: 10px; color: inherit; opacity: 0.55; font-family: var(--font-mono); }

.ad-ctx-empty { text-align: center; color: var(--fg-muted); font-size: 12.5px; padding: 30px 10px; }

/* colonnes responsive */
@media (max-width: 1380px) { .ad-ctx { flex-basis: 264px; } .ad-inbox { flex-basis: 318px; } }
@media (max-width: 1120px) { .ad-ctx { display: none; } }
@media (max-width: 860px) {
  .ad-inbox { flex-basis: 100%; }
  .ad-convo { display: none; }
  .ad-root.viewing .ad-inbox { display: none; }
  .ad-root.viewing .ad-convo { display: flex; }
  .ad-convo-back { display: inline-flex; }
}
