/* ═══════════════════════════════════════════════════════════
   Collabs · ONIXM — thème dark premium, énergie Instagram
   Palette distincte : violet → magenta → corail + accent teal
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #0d0a1a;
  --bg-grad: radial-gradient(1200px 600px at 85% -10%, #2a1650 0%, transparent 55%),
             radial-gradient(900px 500px at -5% 10%, #3a0f3a 0%, transparent 50%),
             #0d0a1a;
  --surface: #161031;
  --surface-2: #1d1640;
  --surface-3: #251c4f;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);

  --text: #f3efff;
  --muted: #a195c9;
  --faint: #6f6597;

  --brand-1: #8a2be2;
  --brand-2: #e0218a;
  --brand-3: #ff7a3d;
  --grad: linear-gradient(115deg, var(--brand-1), var(--brand-2) 52%, var(--brand-3));
  --grad-soft: linear-gradient(115deg, rgba(138,43,226,.18), rgba(224,33,138,.16) 52%, rgba(255,122,61,.16));

  --teal: #19e3c2;
  --amber: #ffb23e;
  --danger: #ff4d6d;
  --blue: #4d9dff;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, .65);
  --shadow-glow: 0 12px 40px -10px rgba(224, 33, 138, .45);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sidebar-w: 248px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-grad);
  background-attachment: fixed;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-size: 14.5px;
  line-height: 1.5;
  overflow: hidden;
}

::selection { background: rgba(224, 33, 138, .35); }

.scroll::-webkit-scrollbar, .table-wrap::-webkit-scrollbar,
.modal::-webkit-scrollbar { width: 9px; height: 9px; }
.scroll::-webkit-scrollbar-thumb, .table-wrap::-webkit-scrollbar-thumb,
.modal::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .12); border-radius: 99px;
}
.scroll::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .22); }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
svg { width: 100%; height: 100%; display: block; }
[hidden] { display: none !important; }

/* ── LAYOUT ─────────────────────────────────────────────── */
.app { display: flex; height: 100vh; }

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 30%), var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
  z-index: 40;
}

.brand { display: flex; align-items: center; gap: 12px; padding: 4px 6px 22px; }
.brand__logo {
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--grad);
  display: grid; place-items: center;
  font-weight: 800; font-size: 20px; color: #fff;
  box-shadow: var(--shadow-glow);
}
.brand__txt { display: flex; flex-direction: column; line-height: 1.25; }
.brand__txt strong { font-size: 16px; letter-spacing: -.2px; }
.brand__txt span { font-size: 11.5px; color: var(--muted); letter-spacing: .3px; }

.nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.nav__item {
  display: flex; align-items: center; gap: 13px;
  padding: 11px 13px; border-radius: 12px;
  color: var(--muted); font-weight: 600; font-size: 14px;
  transition: all .18s var(--ease); position: relative; text-align: left;
}
.nav__item svg { width: 19px; height: 19px; flex-shrink: 0; fill: currentColor; }
.nav__item:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav__item.is-active { color: #fff; background: var(--grad-soft); }
.nav__item.is-active::before {
  content: ""; position: absolute; left: -16px; top: 50%; transform: translateY(-50%);
  width: 4px; height: 22px; border-radius: 0 4px 4px 0; background: var(--grad);
}
.nav__count {
  margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 700;
  background: rgba(255, 255, 255, .08); padding: 2px 8px; border-radius: 99px; color: var(--text);
}

.sidebar__foot { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--border); }

.btn-ghost {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 14px; border-radius: 11px;
  background: rgba(255, 255, 255, .045); border: 1px solid var(--border);
  color: var(--muted); font-weight: 600; font-size: 13px;
  transition: all .18s var(--ease);
}
.btn-ghost svg { width: 16px; height: 16px; fill: currentColor; }
.btn-ghost:hover { color: var(--text); border-color: var(--border-strong); background: rgba(255, 255, 255, .08); }
.btn-sm { padding: 7px 12px; font-size: 12.5px; }

.save-state {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--faint); padding: 6px 4px 0;
}
.save-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); transition: .3s; }
.save-state.is-saving i { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.save-state.is-error i { background: var(--danger); box-shadow: 0 0 8px var(--danger); }
.save-state.is-local i { background: var(--blue); box-shadow: 0 0 8px var(--blue); }

.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }

.topbar {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 26px;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 10, 26, .55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 30; flex-wrap: wrap;
}
.burger { display: none; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; color: var(--muted);
  background: rgba(255, 255, 255, .045); border: 1px solid var(--border);
}
.icon-btn svg { width: 20px; height: 20px; }

.search {
  flex: 1; min-width: 220px; max-width: 460px;
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 0 14px; height: 42px;
  transition: border-color .18s, box-shadow .18s;
}
.search:focus-within { border-color: rgba(224, 33, 138, .55); box-shadow: 0 0 0 4px rgba(224, 33, 138, .12); }
.search svg { width: 18px; height: 18px; fill: var(--faint); flex-shrink: 0; }
.search input { flex: 1; background: none; border: none; outline: none; font-size: 14px; }
.search input::placeholder { color: var(--faint); }
.search kbd {
  font-size: 11px; color: var(--faint); background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border); border-radius: 6px; padding: 2px 7px; font-family: inherit;
}

.topbar__actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.select {
  height: 40px; padding: 0 32px 0 13px; border-radius: 10px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a195c9'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 8px center / 16px;
  border: 1px solid var(--border); color: var(--text); font-size: 13px;
  font-weight: 600; -webkit-appearance: none; appearance: none; cursor: pointer;
  transition: border-color .15s;
}
.select:hover { border-color: var(--border-strong); }
.select:focus { outline: none; border-color: rgba(224, 33, 138, .5); }
.select option { background: var(--surface-2); }

.btn-primary {
  display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 11px;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 13.5px;
  box-shadow: var(--shadow-glow); transition: transform .15s var(--ease), filter .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn-primary svg { width: 18px; height: 18px; fill: #fff; }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-primary:active { transform: translateY(0); }
.btn-danger {
  height: 40px; padding: 0 18px; border-radius: 11px;
  background: linear-gradient(120deg, #ff4d6d, #ff7a3d); color: #fff; font-weight: 700; font-size: 13.5px;
  transition: filter .15s;
}
.btn-danger:hover { filter: brightness(1.08); }

.scroll { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 26px; scroll-behavior: smooth; }
.view { animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── CARTES GÉNÉRIQUES ──────────────────────────────────── */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 40%), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
}
.card__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.card__head h3 { font-size: 15px; font-weight: 700; letter-spacing: -.2px; }
.card__head .hint { font-size: 12px; color: var(--faint); }

/* ── KPI ────────────────────────────────────────────────── */
.kpi-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 16px; margin-bottom: 18px;
}
@media (max-width: 1340px) { .kpi-grid { grid-template-columns: repeat(3, 1fr); } }
.kpi {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px;
  transition: transform .22s var(--ease), border-color .22s;
}
.kpi:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.kpi::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); opacity: .9;
}
.kpi__ico {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-soft); margin-bottom: 14px;
}
.kpi__ico svg { width: 20px; height: 20px; }
.kpi__val { font-size: 27px; font-weight: 800; letter-spacing: -.5px; line-height: 1.1; }
.kpi__lbl { font-size: 12.5px; color: var(--muted); margin-top: 5px; font-weight: 500; }
.kpi__sub { font-size: 11.5px; margin-top: 8px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.kpi__sub.up { color: var(--teal); }
.kpi__sub.down { color: var(--danger); }
.kpi__sub.neutral { color: var(--faint); }

/* ── CHARTS ─────────────────────────────────────────────── */
.charts {
  display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 18px;
}
.charts .chart-card:nth-child(3) { grid-column: 1; }
.chart-card { display: flex; flex-direction: column; }
.chart { flex: 1; min-height: 210px; position: relative; }
.chart svg { overflow: visible; }
.chart--donut { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: center; padding: 8px 4px; }
/* Donut à taille FIXE (on neutralise le reset global svg{width:100%}
   qui le faisait gonfler et déborder). */
.chart--donut .donut-svg { width: 190px; height: 190px; flex: 0 0 auto; }
/* Entrée douce : opacité uniquement (aucun transform sur les arcs SVG —
   ça entrerait en conflit avec leur attribut rotate() et casserait le donut). */
.donut-seg {
  /* halo coloré doux (currentColor = couleur du segment, posée inline) */
  filter: drop-shadow(0 0 3px color-mix(in srgb, currentColor 55%, transparent));
  animation: segFade .5s var(--ease) both;
  animation-delay: calc(var(--i, 0) * .08s);
  transition: stroke-width .2s var(--ease), filter .2s var(--ease);
}
.donut-svg:hover .donut-seg {
  stroke-width: 18;
  filter: drop-shadow(0 0 5px color-mix(in srgb, currentColor 70%, transparent));
}
@keyframes segFade { from { opacity: 0; } to { opacity: 1; } }
.donut-legend { display: flex; flex-direction: column; gap: 2px; font-size: 13px; min-width: 150px; }
.donut-legend li {
  display: flex; align-items: center; gap: 11px; list-style: none; color: var(--muted);
  padding: 7px 9px; border-radius: 9px; transition: background .15s;
}
.donut-legend li:hover { background: rgba(255, 255, 255, .035); }
.donut-legend .dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.donut-legend .dl-lbl { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.donut-legend b { color: var(--text); font-weight: 800; font-variant-numeric: tabular-nums; }
.donut-legend .dl-pct {
  color: var(--faint); font-size: 11.5px; font-weight: 600;
  min-width: 38px; text-align: right; font-variant-numeric: tabular-nums;
}
.bar-row { transition: opacity .15s; }
.bar-row:hover { opacity: .82; }
.chart-empty { display: grid; place-items: center; height: 100%; color: var(--faint); font-size: 13px; }

/* ── TIMELINE ───────────────────────────────────────────── */
.timeline { display: flex; flex-direction: column; }
.timeline__row {
  display: flex; align-items: center; gap: 14px; padding: 12px 4px;
  border-bottom: 1px solid var(--border); font-size: 13.5px;
}
.timeline__row:last-child { border-bottom: none; }
.timeline__dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.timeline__txt { flex: 1; color: var(--muted); }
.timeline__txt b { color: var(--text); font-weight: 600; }
.timeline__time { font-size: 12px; color: var(--faint); white-space: nowrap; }

/* ── GRID CARTES COLLAB ─────────────────────────────────── */
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 18px;
}
.collab {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
  display: flex; flex-direction: column; animation: pop .35s var(--ease) backwards;
}
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(10px); } to { opacity: 1; transform: none; } }
.collab:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.collab__banner { height: 76px; background: var(--grad); position: relative; }
.collab__banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(22, 16, 49, .55)); }
.collab__rating {
  position: absolute; top: 12px; right: 14px; z-index: 2;
  display: flex; gap: 1px; font-size: 13px; color: #ffd86b; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4));
}
.collab__rating .off { color: rgba(255, 255, 255, .3); }
.collab__top { padding: 0 18px; margin-top: -32px; display: flex; align-items: flex-end; gap: 13px; position: relative; z-index: 2; }
.avatar {
  width: 64px; height: 64px; border-radius: 18px; flex-shrink: 0;
  border: 3px solid var(--surface); object-fit: cover;
  background: var(--surface-3); display: grid; place-items: center;
  font-weight: 800; font-size: 22px; color: #fff;
}
.collab__id { padding-bottom: 4px; min-width: 0; }
.collab__name { font-size: 16.5px; font-weight: 700; letter-spacing: -.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.collab__niche { font-size: 12px; color: var(--muted); margin-top: 2px; }
.collab__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 14px; flex: 1; }

.socials { display: flex; flex-wrap: wrap; gap: 7px; }
.soc {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px 5px 8px; border-radius: 9px; font-size: 11.5px; font-weight: 600;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--border); color: var(--muted);
  transition: all .15s; cursor: pointer;
}
.soc svg { width: 14px; height: 14px; flex-shrink: 0; }
.soc:hover { color: #fff; border-color: var(--border-strong); transform: translateY(-1px); }
.soc.ig:hover { background: linear-gradient(120deg, #8a2be2, #e0218a); border-color: transparent; }
.soc.tt:hover { background: #111; border-color: #333; }
.soc.yt:hover { background: #c4302b; border-color: transparent; }
.soc.sc:hover { background: #f7d000; color: #111; border-color: transparent; }
.soc.tw:hover { background: #1d1d1f; border-color: #444; }
.soc.tv:hover { background: #6441a5; border-color: transparent; }
.soc__count { opacity: .85; }
.soc--add {
  cursor: pointer; color: var(--brand-3); background: rgba(255,122,61,.10);
  border: 1px dashed rgba(255,122,61,.45); font-weight: 700; font-family: inherit;
}
.soc--add svg { fill: currentColor; }
.soc--add:hover { color: #fff; background: var(--brand-3); border-color: transparent; transform: translateY(-1px); }

.collab__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.meta-box { background: rgba(255, 255, 255, .035); border: 1px solid var(--border); border-radius: 11px; padding: 10px 12px; }
.meta-box span { font-size: 11px; color: var(--faint); display: block; }
.meta-box b { font-size: 14.5px; font-weight: 700; letter-spacing: -.2px; }
.meta-box b.pos { color: var(--teal); }
.meta-box b.neg { color: var(--danger); }

.collab__foot {
  display: flex; align-items: center; gap: 8px; padding: 13px 18px;
  border-top: 1px solid var(--border); background: rgba(0, 0, 0, .15);
}
.collab__foot .badge { margin-right: auto; }
.mini-btn {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--border); color: var(--muted);
  transition: all .15s;
}
.mini-btn svg { width: 16px; height: 16px; fill: currentColor; }
.mini-btn:hover { color: var(--text); border-color: var(--border-strong); background: rgba(255, 255, 255, .1); }
.mini-btn.danger:hover { color: var(--danger); border-color: rgba(255, 77, 109, .5); }

/* ── BADGES ─────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 99px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .2px; white-space: nowrap;
}
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--s { padding: 3px 9px; font-size: 10.5px; }
.b-prospect    { color: #b9b2d6; background: rgba(185,178,214,.13); }
.b-contacte    { color: var(--blue); background: rgba(77,157,255,.14); }
.b-negociation { color: var(--amber); background: rgba(255,178,62,.14); }
.b-accepte     { color: #b985ff; background: rgba(185,133,255,.15); }
.b-envoye      { color: var(--teal); background: rgba(25,227,194,.13); }
.b-poste       { color: #f76fb3; background: rgba(247,111,179,.15); }
.b-termine     { color: #4be3a2; background: rgba(75,227,162,.14); }
.b-annule      { color: var(--danger); background: rgba(255,77,109,.14); }
.type-badge {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 8px;
  font-size: 11px; font-weight: 700; color: var(--muted);
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
}

/* ── TABLE ──────────────────────────────────────────────── */
.table-wrap { padding: 0; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; min-width: 1000px; }
.table th {
  text-align: left; font-size: 11.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; color: var(--faint); padding: 16px 14px;
  border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--surface); z-index: 2;
}
.table th[data-sort] { cursor: pointer; user-select: none; }
.table th[data-sort]:hover { color: var(--text); }
.table th[data-sort]::after { content: " ↕"; opacity: .35; }
.table th.sort-asc::after { content: " ↑"; opacity: 1; color: var(--brand-2); }
.table th.sort-desc::after { content: " ↓"; opacity: 1; color: var(--brand-2); }
.table td { padding: 13px 14px; border-bottom: 1px solid var(--border); font-size: 13.5px; vertical-align: middle; }
.table tbody tr { transition: background .12s; cursor: pointer; }
.table tbody tr:hover { background: rgba(255, 255, 255, .03); }
.table tbody tr:last-child td { border-bottom: none; }
.t-id { display: flex; align-items: center; gap: 11px; }
.t-id .avatar { width: 36px; height: 36px; border-radius: 10px; border-width: 0; font-size: 14px; }
.t-id b { font-weight: 700; }
.t-id span { font-size: 11.5px; color: var(--faint); display: block; }
.t-soc { display: flex; gap: 6px; }
.t-soc a { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--muted); transition: .15s; }
.t-soc a svg { width: 13px; height: 13px; }
.t-soc a:hover { color: #fff; transform: translateY(-1px); }
.t-code { font-size: 11.5px; font-weight: 700; color: var(--brand-3); background: rgba(255,122,61,.12); padding: 3px 9px; border-radius: 7px; }
.t-actions { display: flex; gap: 6px; justify-content: flex-end; }
.pos { color: var(--teal); font-weight: 700; }
.neg { color: var(--danger); font-weight: 700; }
.stars-ro { color: #ffd86b; font-size: 12.5px; letter-spacing: 1px; white-space: nowrap; }
.stars-ro .off { color: rgba(255,255,255,.18); }

/* ── ÉTAT VIDE ──────────────────────────────────────────── */
.empty { text-align: center; max-width: 440px; margin: 9vh auto; animation: fade .4s var(--ease); }
.empty--mini { margin: 7vh auto; }
.empty__art {
  width: 92px; height: 92px; border-radius: 26px; margin: 0 auto 24px;
  background: var(--grad-soft); display: grid; place-items: center;
}
.empty__art svg { width: 44px; height: 44px; fill: var(--brand-2); }
.empty h2 { font-size: 21px; font-weight: 800; letter-spacing: -.4px; }
.empty p { color: var(--muted); margin: 10px 0 26px; font-size: 14px; }
.empty__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── OVERLAY / MODALES ──────────────────────────────────── */
.overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(6, 4, 14, .72); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  display: grid; place-items: center; padding: 24px;
  animation: fade .2s ease;
}
.modal {
  position: relative; width: 100%; background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: var(--r-lg);
  box-shadow: var(--shadow); max-height: 92vh; overflow-y: auto;
  animation: modalIn .3s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.modal--detail { max-width: 720px; }
.modal--form { max-width: 760px; }
.modal--confirm { max-width: 410px; padding: 26px; text-align: center; }
.modal--confirm h3 { font-size: 18px; font-weight: 800; }
.modal--confirm p { color: var(--muted); margin: 10px 0 22px; }
.modal--confirm .modal__foot { justify-content: center; border: none; padding: 0; }
.modal__close {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  width: 34px; height: 34px; border-radius: 10px; font-size: 22px; line-height: 1;
  color: var(--muted); background: rgba(255, 255, 255, .06); border: 1px solid var(--border);
  transition: .15s;
}
.modal__close:hover { color: #fff; background: rgba(255, 255, 255, .12); transform: rotate(90deg); }
.modal__head { padding: 26px 26px 18px; border-bottom: 1px solid var(--border); }
.modal__head h2 { font-size: 20px; font-weight: 800; letter-spacing: -.3px; }
.modal__head p { color: var(--muted); font-size: 13px; margin-top: 5px; }
.modal__foot {
  display: flex; gap: 10px; justify-content: flex-end;
  padding: 18px 26px; border-top: 1px solid var(--border);
  position: sticky; bottom: 0; background: var(--surface);
}

/* ── FICHE DÉTAIL ───────────────────────────────────────── */
.detail__hero { height: 130px; background: var(--grad); position: relative; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.detail__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(22,16,49,.6)); border-radius: inherit; }
.detail__head { padding: 0 26px; margin-top: -44px; display: flex; align-items: flex-end; gap: 18px; position: relative; z-index: 2; }
.detail__head .avatar { width: 90px; height: 90px; border-radius: 24px; font-size: 32px; border-width: 4px; }
.detail__title { padding-bottom: 6px; flex: 1; min-width: 0; }
.detail__title h2 { font-size: 23px; font-weight: 800; letter-spacing: -.4px; }
.detail__title .sub { color: var(--muted); font-size: 13px; margin-top: 3px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.detail__body { padding: 22px 26px 28px; }
.detail__socials { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }
.detail__socials .soc { padding: 8px 14px; font-size: 12.5px; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 22px; }
.dstat { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 15px; }
.dstat span { font-size: 11.5px; color: var(--faint); display: block; margin-bottom: 5px; }
.dstat b { font-size: 18px; font-weight: 800; letter-spacing: -.3px; }
.detail__section { margin-bottom: 22px; }
.detail__section h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--faint);
  margin-bottom: 12px; font-weight: 700;
}
.prod-line {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 11px; margin-bottom: 8px;
}
.prod-line .qty { background: var(--grad-soft); color: var(--text); font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 7px; }
.prod-line .pn { flex: 1; font-weight: 600; font-size: 13.5px; }
.prod-line .pv { color: var(--muted); font-size: 12.5px; }
.detail__notes {
  background: var(--surface-2); border: 1px solid var(--border); border-left: 3px solid var(--brand-2);
  border-radius: 11px; padding: 14px 16px; font-size: 13.5px; color: var(--muted); white-space: pre-wrap; line-height: 1.6;
}
.link-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 9px;
  background: var(--surface-2); border: 1px solid var(--border); font-size: 12.5px; color: var(--muted);
  margin: 0 7px 7px 0; transition: .15s; max-width: 100%;
}
.link-pill:hover { color: #fff; border-color: var(--border-strong); }
.link-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.detail__cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── FORMULAIRE ─────────────────────────────────────────── */
.form-tabs { display: flex; gap: 4px; padding: 16px 26px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.form-tab {
  padding: 10px 16px; font-size: 13px; font-weight: 600; color: var(--muted);
  border-radius: 9px 9px 0 0; position: relative; transition: color .15s;
}
.form-tab:hover { color: var(--text); }
.form-tab.is-active { color: #fff; }
.form-tab.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2.5px;
  background: var(--grad); border-radius: 3px;
}
.form-pane { display: none; padding: 24px 26px; }
.form-pane.is-active { display: block; animation: fade .25s var(--ease); }
.form-help { font-size: 12.5px; color: var(--faint); margin-bottom: 16px; }

.f-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--lg { grid-column: span 2; }
.field > span { font-size: 12px; font-weight: 600; color: var(--muted); }
.field input, .field textarea, .field select {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px;
  padding: 11px 13px; font-size: 13.5px; outline: none; transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.field textarea { resize: vertical; font-family: inherit; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: rgba(224, 33, 138, .55); box-shadow: 0 0 0 3px rgba(224, 33, 138, .12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field select { -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a195c9'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: 32px; }
.field select option { background: var(--surface-2); }

.stars { display: flex; gap: 3px; }
.stars button { font-size: 21px; color: rgba(255, 255, 255, .18); transition: color .12s, transform .12s; line-height: 1; }
.stars button:hover { transform: scale(1.15); }
.stars button.on { color: #ffd244; }

.socials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.soc-field { background: var(--surface-2); border: 1px solid var(--border); border-radius: 13px; padding: 14px; }
.soc-field__head { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; font-weight: 700; font-size: 13px; }
.soc-field__head .ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; }
.soc-field__head .ico svg { width: 15px; height: 15px; }
.soc-field__row { display: flex; gap: 8px; }
.soc-field input { background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 9px 11px; font-size: 13px; outline: none; width: 100%; transition: border-color .15s; }
.soc-field input:focus { border-color: rgba(224, 33, 138, .5); }
.soc-field input.handle { flex: 1.6; }
.soc-field input.count { flex: 1; }

.products-block { margin: 18px 0; }
.products-block__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.products-block__head h4 { font-size: 13px; font-weight: 700; }
.prod-row, .link-row { display: flex; gap: 8px; margin-bottom: 8px; align-items: center; }
.prod-row input, .link-row input {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 9px;
  padding: 9px 11px; font-size: 13px; outline: none; transition: border-color .15s;
}
.prod-row input:focus, .link-row input:focus { border-color: rgba(224,33,138,.5); }
.prod-row .pr-name { flex: 3; } .prod-row .pr-size { flex: 1.4; }
.prod-row .pr-qty { flex: .8; } .prod-row .pr-val { flex: 1.2; }
.link-row input { flex: 1; }
.row-del {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; color: var(--faint);
  background: rgba(255,255,255,.04); border: 1px solid var(--border); font-size: 17px; transition: .15s;
}
.row-del:hover { color: var(--danger); border-color: rgba(255,77,109,.5); }
.empty-line { font-size: 12.5px; color: var(--faint); padding: 6px 2px; }

/* ── TOASTS ─────────────────────────────────────────────── */
.toasts { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  border-left: 3px solid var(--teal); border-radius: 12px; padding: 13px 18px;
  box-shadow: var(--shadow); font-size: 13.5px; font-weight: 500; min-width: 240px; max-width: 380px;
  animation: toastIn .35s var(--ease);
}
.toast.out { animation: toastOut .3s var(--ease) forwards; }
.toast.err { border-left-color: var(--danger); }
.toast.info { border-left-color: var(--blue); }
.toast svg { width: 19px; height: 19px; flex-shrink: 0; }
.toast.ok svg { fill: var(--teal); } .toast.err svg { fill: var(--danger); } .toast.info svg { fill: var(--blue); }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }

/* ── SHOPIFY ────────────────────────────────────────────── */
.btn-shopify {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 14px; border-radius: 11px; font-weight: 700; font-size: 13px; color: #fff;
  background: linear-gradient(120deg, #5b8c3e, #95c93d); box-shadow: 0 10px 26px -10px rgba(149, 201, 61, .5);
  transition: transform .15s var(--ease), filter .15s;
}
.btn-shopify svg { width: 16px; height: 16px; fill: #fff; }
.btn-shopify:hover { transform: translateY(-1px); filter: brightness(1.07); }
.btn-shopify:disabled { opacity: .5; cursor: not-allowed; filter: grayscale(.6); transform: none; }

.shop-state { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--faint); padding: 2px 4px; }
.shop-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); transition: .3s; }
.shop-state.is-ok i { background: #95c93d; box-shadow: 0 0 8px #95c93d; }
.shop-state.is-error i { background: var(--danger); box-shadow: 0 0 8px var(--danger); }
.shop-state span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

#btnSyncAll.spin svg, .code-sync.spin, .spin svg { animation: spin .8s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }

.modal--shopify { max-width: 720px; }
.shopify-body { padding: 20px 26px 24px; }
.shopify-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.search--inline { height: 38px; flex: 1; min-width: 160px; }
.shopify-list { display: flex; flex-direction: column; gap: 8px; max-height: 56vh; overflow-y: auto; padding-right: 4px; }
.shopify-loading { text-align: center; color: var(--faint); padding: 40px 0; font-size: 13.5px; }
.shopify-loading.err { color: var(--danger); }
.scode {
  display: flex; align-items: center; gap: 13px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 13px; padding: 12px 14px;
  transition: border-color .15s;
}
.scode:hover { border-color: var(--border-strong); }
.scode__pick { display: flex; }
.scode__cb { width: 17px; height: 17px; accent-color: #95c93d; cursor: pointer; }
.scode__cb:disabled { opacity: .4; cursor: not-allowed; }
.scode__main { flex: 1; min-width: 0; }
.scode__code { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.scode__val { font-size: 11.5px; font-weight: 700; color: var(--brand-3); background: rgba(255,122,61,.13); padding: 1px 8px; border-radius: 7px; }
.scode__sub { font-size: 12px; color: var(--faint); margin-top: 3px; }
.scode .btn-primary, .scode .btn-ghost { flex-shrink: 0; }

.collab__shop {
  position: absolute; top: 12px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 800; color: #fff;
  background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .25);
  padding: 3px 9px 3px 7px; border-radius: 99px; backdrop-filter: blur(4px);
}
.collab__shop svg { width: 12px; height: 12px; fill: #b6e26a; }
.shop-dot { color: #95c93d; font-size: 9px; vertical-align: middle; }

.ord-list { display: flex; flex-direction: column; gap: 9px; }
.ord { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.ord__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 9px; }
.ord__head b { font-size: 13.5px; font-weight: 700; }
.ord__date { font-size: 11.5px; color: var(--faint); }
.ord__cust { font-size: 11.5px; color: var(--muted); }
.ord__tot { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--muted); }
.ord__tot.pos { color: var(--teal); }
.ord__items { display: flex; flex-direction: column; gap: 5px; }
.ord__it { font-size: 12.5px; color: var(--muted); display: flex; align-items: baseline; gap: 8px; }
.ord__it i { font-style: normal; font-weight: 800; color: var(--text); background: rgba(255,255,255,.06); padding: 1px 7px; border-radius: 6px; font-size: 11px; flex-shrink: 0; }
.sync-meta { font-size: 11.5px; color: var(--faint); margin-top: 11px; }
.sync-meta b { color: var(--muted); }

.code-field { display: flex; gap: 7px; }
.code-field input { flex: 1; }
.code-sync {
  flex-shrink: 0; padding: 0 13px; border-radius: 10px; font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(120deg, #5b8c3e, #95c93d); transition: filter .15s;
}
.code-sync:hover { filter: brightness(1.08); }
.code-hint { font-size: 11.5px; color: var(--faint); font-style: normal; min-height: 14px; display: block; }
.code-hint.ok { color: #8fc93a; } .code-hint.err { color: var(--danger); }

/* Livraison + coût */
.ord-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip {
  font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: 99px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--muted);
}
.chip--cost { color: var(--amber); background: rgba(255,178,62,.12); border-color: transparent; }
.chip--ok { color: var(--teal); background: rgba(25,227,194,.13); border-color: transparent; }
.chip--ship { color: var(--blue); background: rgba(77,157,255,.13); border-color: transparent; }
.chip--warn { color: var(--amber); background: rgba(255,178,62,.13); border-color: transparent; }
.ship { color: var(--blue); }
.osum b.ship { color: var(--blue); }
.dlv {
  font-size: 10.5px; font-weight: 800; padding: 3px 9px; border-radius: 99px; letter-spacing: .2px;
}
.dlv--ok { color: var(--teal); background: rgba(25,227,194,.14); }
.dlv--ship { color: var(--blue); background: rgba(77,157,255,.14); }
.dlv--wait { color: var(--amber); background: rgba(255,178,62,.14); }
.dlv--off { color: var(--faint); background: rgba(255,255,255,.06); }
.ord__disc { font-size: 11.5px; color: var(--amber); margin: 2px 0 8px; font-weight: 600; }
.ord-hint { font-size: 11.5px; color: var(--faint); margin: -4px 0 12px; }
.ord__x {
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 8px; cursor: pointer;
  background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--muted);
  transition: all .15s; white-space: nowrap;
}
.ord__x:hover { color: var(--danger); border-color: rgba(255,77,109,.45); background: rgba(255,77,109,.1); }
.ord--excluded { opacity: .5; }
.ord--excluded .ord__head b { text-decoration: line-through; }
.ord--excluded .ord__items { display: none; }
.ord--excluded .ord__x { color: var(--teal); }
.ord--excluded .ord__x:hover { color: var(--teal); border-color: rgba(25,227,194,.45); background: rgba(25,227,194,.1); }
.dlv-strip {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
}
.dlv-strip__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dlv-strip__ord {
  font-size: 12px; font-weight: 700; color: var(--faint);
  font-variant-numeric: tabular-nums; letter-spacing: .2px;
}
.eta {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 99px;
  background: rgba(255,255,255,.05); color: var(--muted);
}
.eta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.eta--done { color: var(--teal); background: rgba(25,227,194,.12); }
.eta--ship { color: var(--blue); background: rgba(77,157,255,.12); }
.eta--wait { color: var(--amber); background: rgba(255,178,62,.12); }
.eta--soon { color: var(--teal); background: rgba(25,227,194,.12); }
.ord-eta { font-size: 11px; color: var(--faint); margin-top: 4px; font-weight: 600; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1080px) {
  .charts { grid-template-columns: 1fr; }
  .charts .chart-card:nth-child(3) { grid-column: auto; }
}
@media (max-width: 860px) {
  :root { --sidebar-w: 230px; }
  .sidebar {
    position: fixed; inset: 0 auto 0 0; transform: translateX(-100%);
    transition: transform .3s var(--ease); box-shadow: var(--shadow);
  }
  .sidebar.open { transform: none; }
  .burger { display: grid; }
  .topbar { padding: 14px 16px; }
  .scroll { padding: 18px 16px; }
  .topbar__actions .btn-primary span { display: none; }
  .topbar__actions .btn-primary { padding: 0 12px; }
  .field--lg { grid-column: auto; }
  .socials-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .app::after {
    content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 39;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .app.nav-open::after { opacity: 1; pointer-events: auto; }
}
@media (max-width: 560px) {
  .topbar { gap: 8px; padding: 10px 12px; }
  /* Ligne 1 : burger + recherche. Ligne 2 : filtres en scroll horizontal. */
  .search { flex: 1 1 auto; min-width: 0; max-width: none; height: 40px; }
  .topbar__actions {
    order: 1; width: 100%; gap: 7px;
    flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .topbar__actions::-webkit-scrollbar { height: 0; }
  .topbar__actions .select { flex: 0 0 auto; height: 36px; font-size: 12px; }
  .topbar__actions .btn-primary { flex: 0 0 auto; height: 36px; }
  .topbar__actions .icon-btn { flex: 0 0 auto; width: 36px; height: 36px; }
  .grid { grid-template-columns: 1fr; }
  .modal__head, .form-pane, .modal__foot, .detail__body { padding-left: 18px; padding-right: 18px; }
  .form-tabs { padding-left: 18px; padding-right: 18px; }
  .overlay { padding: 0; }
  .modal { max-height: 100vh; border-radius: 0; border: none; }
}

/* ── ÉCRAN MOT DE PASSE ─────────────────────────────────── */
.auth-screen {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 24px;
  background: var(--bg-grad); background-attachment: fixed;
}
.auth-card {
  width: 100%; max-width: 380px; text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 40%), var(--surface);
  border: 1px solid var(--border-strong); border-radius: var(--r-lg);
  padding: 38px 32px; box-shadow: var(--shadow);
  animation: modalIn .35s var(--ease);
}
.auth-logo {
  width: 56px; height: 56px; border-radius: 17px; margin: 0 auto 20px;
  background: var(--grad); display: grid; place-items: center;
  font-weight: 800; font-size: 26px; color: #fff; box-shadow: var(--shadow-glow);
}
.auth-card h1 { font-size: 21px; font-weight: 800; letter-spacing: -.3px; }
.auth-card p { color: var(--muted); font-size: 13.5px; margin: 9px 0 24px; line-height: 1.5; }
.auth-card input {
  width: 100%; height: 46px; padding: 0 15px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text); font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.auth-card input:focus { border-color: rgba(224,33,138,.55); box-shadow: 0 0 0 4px rgba(224,33,138,.12); }
.auth-card .btn-primary { width: 100%; height: 46px; margin-top: 14px; justify-content: center; font-size: 14.5px; }
.auth-err {
  margin-top: 14px; color: var(--danger); font-size: 13px; font-weight: 600;
  background: rgba(255,77,109,.1); border: 1px solid rgba(255,77,109,.3);
  border-radius: 10px; padding: 9px 12px;
}

/* ── VUE COMMANDES COLLAB ───────────────────────────────── */
.orders-sum {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 18px;
}
.osum {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: 16px 18px;
}
.osum span { font-size: 12px; color: var(--faint); display: block; margin-bottom: 6px; }
.osum b { font-size: 20px; font-weight: 800; letter-spacing: -.3px; }
.osum b.pos { color: var(--teal); }
.osum b.neg { color: var(--danger); }

.table--orders { min-width: 1080px; }
.table--orders td { font-size: 13px; }
.ocol { display: flex; align-items: center; gap: 10px; }
.ocol__av {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 800; font-size: 11px; color: #fff;
}
.ocol b { font-weight: 700; }
.ocol span { display: block; font-size: 11px; color: var(--brand-3); }
.oprod {
  display: inline-block; max-width: 260px; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; color: var(--muted); font-size: 12.5px; vertical-align: middle;
}
.orow--excluded { opacity: .45; }
.orow--excluded td b, .orow--excluded .oprod { text-decoration: line-through; }
.orow--excluded .ord__x { color: var(--teal); }

@media (max-width: 1080px) {
  .orders-sum { grid-template-columns: repeat(2, 1fr); }
}

@media print {
  .sidebar, .topbar, .collab__foot, .mini-btn { display: none !important; }
  body { background: #fff; color: #000; overflow: visible; }
  .scroll { overflow: visible; height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
