/* ============================================================
   OLAQIN UNIVERS — Design System v2
   Charte vivante · Source de vérité tokens + composants
   © 2026 Olaqin — usage interne
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Montserrat:wght@500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ───── TOKENS ───── */
:root {
  /* Brand · couleurs charte brutes */
  --olq-violet:        #c2b0ff;
  --olq-violet-dark:   #7c6bc4;
  --olq-violet-darker: #5a4a9e;
  --olq-lila:          #b9aafb;
  --olq-rose:          #fbb1ae;
  --olq-corail:        #ffc4a3;
  --olq-bleu:          #9abeff;
  --olq-vert:          #96d9c4;
  --olq-jaune:         #ffd6ab;
  --olq-beige:         #f2ebe8;
  --olq-beige-warm:    #f7f0ec;
  --olq-beige-deep:    #e8ddd8;
  --olq-noir:          #1a1a1a;
  --olq-noir-soft:     #2a2a2a;

  /* Semantic · couleurs */
  --bg:        #f0eae3;
  --bg-alt:    #eae1d9;
  --bg-warm:   #f5efe9;
  --surface:   #fbf7f3;
  --surface-2: #f2ebe4;
  --surface-3: #ece4dc;
  --border:    rgba(0,0,0,.06);
  --border-2:  rgba(0,0,0,.1);
  --text:      var(--olq-noir);
  --text-muted:rgba(26,26,26,.6);
  --text-soft: rgba(26,26,26,.42);
  --text-faint:rgba(26,26,26,.28);
  --accent:    var(--olq-violet);
  --accent-dk: var(--olq-violet-dark);
  --accent-ddk:var(--olq-violet-darker);

  --success: #4caf84;
  --success-bg: rgba(150,217,196,.18);
  --warning: #d4943a;
  --warning-bg: rgba(255,214,171,.25);
  --danger:  #d65555;
  --danger-bg: rgba(251,177,174,.25);
  --info:    #5b8fdb;
  --info-bg: rgba(154,190,255,.22);

  /* Typo */
  --ff-display: 'Montserrat', system-ui, -apple-system, sans-serif;
  --ff-body:    'Inter', system-ui, -apple-system, sans-serif;
  --ff-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ff-edit:    Georgia, 'Times New Roman', serif;

  --fs-xs:   11px;
  --fs-sm:   12.5px;
  --fs-base: 14px;
  --fs-md:   15px;
  --fs-lg:   17px;
  --fs-xl:   20px;
  --fs-2xl:  24px;
  --fs-3xl:  32px;
  --fs-4xl:  44px;
  --fs-5xl:  64px;
  --fs-display: clamp(48px, 7vw, 108px);

  --lh-tight:  1.05;
  --lh-snug:   1.25;
  --lh-normal: 1.5;
  --lh-relax:  1.65;

  /* Espacement (échelle 4px) */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Radius */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;
  --r-pill: 999px;

  /* Ombres */
  --sh-xs:  0 1px 2px rgba(26,26,26,.04);
  --sh-sm:  0 2px 8px rgba(26,26,26,.06);
  --sh-md:  0 8px 24px rgba(26,26,26,.08);
  --sh-lg:  0 16px 48px rgba(26,26,26,.10);
  --sh-xl:  0 24px 64px rgba(26,26,26,.14);
  --sh-violet: 0 12px 40px rgba(124,107,196,.22);

  /* Transitions */
  --t-fast: 120ms cubic-bezier(.4,0,.2,1);
  --t-base: 200ms cubic-bezier(.4,0,.2,1);
  --t-slow: 400ms cubic-bezier(.4,0,.2,1);
  --t-bounce: 500ms cubic-bezier(.34,1.56,.64,1);

  /* Layout */
  --container: 1340px;
  --container-narrow: 880px;
}

/* DARK MODE — sobre, lisible, fond charbon, accents lumineux */
[data-theme="dark"] {
  --bg:        #0d0d10;
  --bg-alt:    #161618;
  --bg-warm:   #1a1916;
  --surface:   #18181b;
  --surface-2: #1f1f23;
  --surface-3: #26262b;
  --border:    rgba(255,255,255,.08);
  --border-2:  rgba(255,255,255,.14);
  --text:      #f4f3f0;
  --text-muted:rgba(244,243,240,.65);
  --text-soft: rgba(244,243,240,.42);
  --text-faint:rgba(244,243,240,.24);
  --accent:    var(--olq-violet);
  --sh-xs:  0 1px 2px rgba(0,0,0,.4);
  --sh-sm:  0 2px 8px rgba(0,0,0,.3);
  --sh-md:  0 8px 24px rgba(0,0,0,.3);
  --sh-lg:  0 16px 48px rgba(0,0,0,.4);
  --sh-xl:  0 24px 64px rgba(0,0,0,.5);
}

/* ───── RESET / BASE ───── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: white; }

/* ───── TYPOGRAPHIE ───── */
.display { font-family: var(--ff-display); font-weight: 900; letter-spacing: -0.035em; line-height: var(--lh-tight); }
.display em { font-style: italic; font-weight: 300; color: var(--accent-ddk); }
[data-theme="dark"] .display em { color: var(--olq-violet); opacity: .85; }

h1, .h1 { font-family: var(--ff-display); font-weight: 800; font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.03em; line-height: 1.02; }
h2, .h2 { font-family: var(--ff-display); font-weight: 800; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.025em; line-height: 1.05; }
h3, .h3 { font-family: var(--ff-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.018em; line-height: 1.15; }
h4, .h4 { font-family: var(--ff-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
h5, .h5 { font-family: var(--ff-display); font-weight: 600; font-size: 14px; letter-spacing: 0; }
.eyebrow { font-family: var(--ff-display); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ddk); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; display: inline-block; width: 22px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--olq-bleu)); border-radius: 2px; }
.mono { font-family: var(--ff-mono); font-size: .92em; }
.lead { font-size: var(--fs-lg); color: var(--text-muted); line-height: var(--lh-relax); max-width: 60ch; }
.muted { color: var(--text-muted); }
.soft  { color: var(--text-soft); }

/* ───── LAYOUT ───── */
.mx { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.mx-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.row     { display: flex; gap: var(--sp-4); }
.col     { display: flex; flex-direction: column; gap: var(--sp-4); }
.gap-2 { gap: var(--sp-2);} .gap-3 { gap: var(--sp-3);} .gap-4 { gap: var(--sp-4);} .gap-6 { gap: var(--sp-6);} .gap-8 { gap: var(--sp-8);}

/* ───── NAVIGATION FIXE ───── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background var(--t-slow), box-shadow var(--t-slow), backdrop-filter var(--t-slow);
}
.nav.scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 1px 0 var(--border);
}
[data-theme="dark"] .nav.scrolled { background: rgba(13,13,16,.86); }
.nav-in {
  max-width: var(--container); margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 68px; display: flex; align-items: center; gap: var(--sp-7, 28px);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--ff-display); font-weight: 800; font-size: 17px; letter-spacing: -0.4px; color: var(--text); }
.brand-mark { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-link { padding: 8px 14px; border-radius: var(--r-pill); font-size: 13px; font-weight: 500; color: var(--text-muted); transition: all var(--t-base); }
.nav-link:hover { color: var(--text); background: rgba(194,176,255,.10); }
.nav-link.active { color: var(--accent-ddk); background: rgba(194,176,255,.16); }
[data-theme="dark"] .nav-link.active { color: var(--olq-violet); }
.nav-search {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: var(--surface-3); font-size: 12.5px; color: var(--text-soft);
  border: 1px solid transparent; transition: border-color var(--t-base);
  cursor: pointer;
}
.nav-search:hover { border-color: var(--accent); }
.nav-search kbd { font-family: var(--ff-mono); font-size: 10px; padding: 2px 6px; border: 1px solid var(--border-2); border-radius: 4px; }
.avatar-nav { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--accent); display: inline-flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-weight: 700; font-size: 12px; color: white; background: linear-gradient(135deg, var(--accent), var(--olq-bleu)); cursor: pointer; }

/* ───── BOUTONS ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--r-pill);
  font-family: var(--ff-body); font-size: 14px; font-weight: 600; letter-spacing: -0.005em;
  border: 1.5px solid transparent;
  transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base), border-color var(--t-base), color var(--t-base);
  cursor: pointer; white-space: nowrap;
}
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 12.5px; }
.btn-icon { padding: 10px; aspect-ratio: 1; }

.btn-primary { background: linear-gradient(135deg, var(--accent-dk), var(--accent-ddk)); color: white; box-shadow: var(--sh-violet); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(124,107,196,.32); }

.btn-secondary { background: var(--text); color: var(--bg); }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--accent); background: rgba(194,176,255,.06); }

.btn-soft { background: rgba(194,176,255,.14); color: var(--accent-ddk); }
[data-theme="dark"] .btn-soft { background: rgba(194,176,255,.16); color: var(--olq-violet); }
.btn-soft:hover { background: rgba(194,176,255,.22); }

.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(214,85,85,.32); }

.btn-light { background: white; color: var(--accent-ddk); box-shadow: var(--sh-md); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }

.btn:disabled, .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ───── CARTES ───── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.card-elevated { box-shadow: var(--sh-md); border-color: transparent; }
.card-hover { cursor: pointer; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--accent); }
.card-tinted { background: var(--bg-warm); border-color: var(--olq-beige-deep); }
.card-dark { background: var(--olq-noir); color: white; border-color: transparent; }

/* ───── BADGES ───── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: var(--r-pill);
  font-family: var(--ff-body); font-size: 11.5px; font-weight: 600; letter-spacing: 0.01em;
  background: var(--surface-3); color: var(--text-muted);
  white-space: nowrap;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.badge-violet  { background: rgba(194,176,255,.18); color: var(--accent-ddk); }
.badge-bleu    { background: rgba(154,190,255,.22); color: #4878bd; }
.badge-vert    { background: var(--success-bg); color: #2b8a64; }
.badge-jaune   { background: var(--warning-bg); color: #a06c2b; }
.badge-corail  { background: var(--danger-bg); color: #b04646; }
.badge-noir    { background: var(--olq-noir); color: white; }
.badge-solid { color: white; padding: 5px 12px; }
.badge-solid.badge-violet { background: var(--accent-dk); }
.badge-no-dot::before { display: none; }

/* ───── INPUTS ───── */
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 12.5px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.01em; }
.field-hint { font-size: 11.5px; color: var(--text-soft); }
.field-error { font-size: 11.5px; color: var(--danger); }
.input, .select, .textarea {
  padding: 12px 14px; border-radius: var(--r-md);
  border: 1.5px solid var(--border-2); background: var(--surface);
  font-family: var(--ff-body); font-size: 14px; color: var(--text);
  transition: border-color var(--t-base), box-shadow var(--t-base);
  width: 100%; outline: none;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(194,176,255,.18); }
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.textarea { resize: vertical; min-height: 90px; line-height: var(--lh-relax); }
.input-search { padding-left: 38px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-opacity='.55' stroke-width='2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.5' y2='16.5'/></svg>"); background-repeat: no-repeat; background-position: 12px center; }

.checkbox, .radio {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; border-radius: 5px;
  border: 1.5px solid var(--border-2); background: var(--surface);
  cursor: pointer; position: relative;
  transition: all var(--t-base);
  flex-shrink: 0;
}
.radio { border-radius: 50%; }
.checkbox:checked, .radio:checked { background: var(--accent-dk); border-color: var(--accent-dk); }
.checkbox:checked::after { content: ''; position: absolute; inset: 3px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M13.4 4.3a1 1 0 010 1.4l-6 6a1 1 0 01-1.4 0l-3-3a1 1 0 011.4-1.4L6.7 9.6 12 4.3a1 1 0 011.4 0z'/></svg>") center/contain no-repeat; }
.radio:checked::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: white; }

.toggle { width: 40px; height: 22px; border-radius: 999px; background: var(--border-2); position: relative; cursor: pointer; transition: background var(--t-base); flex-shrink: 0; }
.toggle::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; background: white; border-radius: 50%; transition: transform var(--t-base); box-shadow: var(--sh-xs); }
.toggle.on { background: var(--accent-dk); }
.toggle.on::after { transform: translateX(18px); }

/* ───── TABLEAU ───── */
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.table thead th { text-align: left; padding: 12px 16px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); border-bottom: 1px solid var(--border); background: var(--surface-2); }
.table tbody td { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.table tbody tr:hover { background: var(--bg-warm); }
.table tbody tr:last-child td { border-bottom: 0; }
.table .num { font-family: var(--ff-mono); font-variant-numeric: tabular-nums; }

/* ───── ALERTES ───── */
.alert { display: flex; gap: 14px; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface-2); font-size: 13.5px; line-height: var(--lh-relax); }
.alert-icon { font-size: 18px; line-height: 1.2; flex-shrink: 0; }
.alert-title { font-weight: 700; margin-bottom: 2px; }
.alert-info    { background: var(--info-bg); border-color: rgba(91,143,219,.22); color: #36578a; }
.alert-success { background: var(--success-bg); border-color: rgba(76,175,132,.25); color: #2c6c50; }
.alert-warn    { background: var(--warning-bg); border-color: rgba(212,148,58,.25); color: #7d5520; }
.alert-danger  { background: var(--danger-bg); border-color: rgba(214,85,85,.25); color: #8a3838; }

/* ───── AVATARS ───── */
.avatar { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-weight: 700; font-size: 12px; color: white; background: linear-gradient(135deg, var(--accent), var(--olq-bleu)); flex-shrink: 0; }
.avatar-sm { width: 28px; height: 28px; font-size: 10px; }
.avatar-lg { width: 52px; height: 52px; font-size: 16px; }
.avatar-xl { width: 80px; height: 80px; font-size: 22px; }
.avatar-group { display: flex; }
.avatar-group .avatar { border: 2px solid var(--surface); margin-left: -10px; }
.avatar-group .avatar:first-child { margin-left: 0; }
.av-1 { background: linear-gradient(135deg, var(--olq-violet), var(--olq-violet-dark)); }
.av-2 { background: linear-gradient(135deg, var(--olq-bleu), #5b7fbd); }
.av-3 { background: linear-gradient(135deg, var(--olq-vert), #50b090); }
.av-4 { background: linear-gradient(135deg, var(--olq-corail), #d4943a); }
.av-5 { background: linear-gradient(135deg, var(--olq-rose), #d45a5a); }
.av-6 { background: linear-gradient(135deg, var(--olq-jaune), #d4943a); }

/* ───── ICÔNES TUILE (formes douces) ───── */
.tile-icon { width: 44px; height: 44px; border-radius: var(--r-md); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.tile-icon-lg { width: 56px; height: 56px; font-size: 26px; border-radius: var(--r-lg); }
.ic-violet { background: rgba(194,176,255,.16); color: var(--accent-ddk); }
.ic-bleu   { background: rgba(154,190,255,.20); color: #4878bd; }
.ic-vert   { background: rgba(150,217,196,.24); color: #2b8a64; }
.ic-jaune  { background: rgba(255,214,171,.30); color: #a06c2b; }
.ic-corail { background: rgba(251,177,174,.22); color: #b04646; }
.ic-rose   { background: rgba(251,177,174,.20); color: #b04646; }
.ic-noir   { background: var(--olq-noir); color: white; }

/* ───── ORBES / DÉCOR ───── */
.orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: .55; }
.orb-violet { background: var(--olq-violet); }
.orb-bleu   { background: var(--olq-bleu); }
.orb-vert   { background: var(--olq-vert); }
.orb-jaune  { background: var(--olq-jaune); }
.orb-corail { background: var(--olq-corail); }
@keyframes drift { from { transform: translate(0,0) scale(1);} to { transform: translate(36px,-22px) scale(1.10);} }
.orb-drift { animation: drift 15s ease-in-out infinite alternate; }

/* ───── REVEAL ───── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s, transform .9s cubic-bezier(.25,.1,.25,1); }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 80ms; }
.delay-2 { transition-delay: 160ms; }
.delay-3 { transition-delay: 240ms; }
.delay-4 { transition-delay: 320ms; }

/* ───── UTIL ───── */
.flex { display: flex; } .grid { display: grid; }
.items-center { align-items: center; } .items-start { align-items: flex-start; } .items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; } .justify-center { justify-content: center; } .justify-end { justify-content: flex-end; }
.flex-wrap { flex-wrap: wrap; } .flex-1 { flex: 1; }
.text-center { text-align: center; } .text-right { text-align: right; }
.w-full { width: 100%; }
.relative { position: relative; } .absolute { position: absolute; } .sticky { position: sticky; }
.overflow-hidden { overflow: hidden; }
.no-wrap { white-space: nowrap; }

/* divisor */
.divider { height: 1px; background: var(--border); border: 0; margin: var(--sp-6) 0; }
.divider-strong { background: var(--border-2); }

/* footer commun */
.foot { padding: 36px clamp(20px,4vw,48px); border-top: 1px solid var(--border); }
.foot-in { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--text-soft); }
.foot-l { display: flex; gap: 18px; }
.foot-l a { color: var(--text-muted); }
.foot-l a:hover { color: var(--accent-ddk); }

/* responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ============================================================
   COMPOSANT · LISTE DE CARTES (« cartes fraîches »)
   Source unique réutilisée par Studio, hubs admin et pages front.
   Markup type :
     <div class="s-list">
       <div class="s-row">
         <div class="s-chip c-violet"><svg.../></div>
         <div class="s-main"><div class="s-t">Titre</div><div class="s-sub">sous-titre</div></div>
         <div class="s-meta"> <span class="st pub">…</span> <span class="auth">…</span> <span class="s-when">…</span> </div>
       </div>
     </div>
   ============================================================ */

/* avatar « goutte » (photo + initiales fallback) */
.av-goutte{ border-radius:50%; flex-shrink:0; display:inline-flex; align-items:center; justify-content:center; overflow:hidden;
            background:url('background-goutte-photo.png') center/cover no-repeat, linear-gradient(135deg,var(--olq-vert),var(--olq-violet));
            font-family:var(--ff-display); font-weight:700; color:#3a2f63; text-shadow:0 1px 2px rgba(255,255,255,.5); }

/* pastille de statut (couleur + point + texte → daltonien-safe) */
.st{ display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:600; padding:3px 10px; border-radius:var(--r-pill); }
.st::before{ content:''; width:6px; height:6px; border-radius:50%; background:currentColor; }
.st.pub{ color:#2b8a64; background:var(--success-bg); }
.st.draft{ color:var(--text-muted); background:var(--bg-warm); }
.st.rev{ color:#a06c2b; background:var(--warning-bg); }
.st.plan{ color:#4878bd; background:rgba(154,190,255,.2); }

/* auteur + co-édition temps réel */
.auth{ display:inline-flex; align-items:center; gap:8px; }
.auth .av-goutte{ width:26px; height:26px; font-size:9px; }
.rtc{ display:inline-flex; }
.rtc .av-goutte{ width:24px; height:24px; font-size:8px; border:2px solid var(--surface); margin-left:-7px; box-shadow:0 0 0 2px var(--olq-vert); }
.rtc .av-goutte:first-child{ margin-left:0; }

/* la liste + la carte */
.s-list{ display:flex; flex-direction:column; gap:9px; }
.s-row{ display:flex; align-items:center; gap:14px; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:13px 16px; transition:border-color var(--t-base), box-shadow var(--t-base); cursor:pointer; }
.s-row:hover{ border-color:var(--accent); box-shadow:var(--sh-sm); }
.s-chip{ width:40px; height:40px; border-radius:11px; flex-shrink:0; display:flex; align-items:center; justify-content:center; }
.s-chip svg{ width:19px; height:19px; }
.s-chip.c-violet{ background:rgba(194,176,255,.22); color:var(--accent-ddk); }
.s-chip.c-bleu{ background:rgba(154,190,255,.20); color:#3f63a8; }
.s-chip.c-vert{ background:rgba(150,217,196,.26); color:#2b8a64; }
.s-chip.c-jaune{ background:rgba(245,200,120,.28); color:#a06c2b; }
.s-chip.c-corail{ background:rgba(251,177,174,.30); color:#b04646; }
[data-theme="dark"] .s-chip.c-violet{ color:var(--olq-violet); }
.s-row .s-main{ flex:1; min-width:0; }
.s-row .s-t{ font-family:var(--ff-display); font-weight:700; font-size:14.5px; letter-spacing:-0.01em; }
.s-row .s-sub{ font-family:var(--ff-mono); font-size:11px; color:var(--text-soft); margin-top:2px; }
.s-row .s-meta{ display:flex; align-items:center; gap:14px; flex-shrink:0; }
.s-row .s-lang{ font-family:var(--ff-mono); font-size:11px; color:var(--text-soft); }
.s-row .s-when{ font-family:var(--ff-mono); font-size:11px; color:var(--text-faint); min-width:62px; text-align:right; }
@media(max-width:1240px){ .s-row .s-lang, .s-row .s-when{ display:none; } }
