/* ═══════════════════════════════════════════════════════════════════════════
   Spotlite — version web allégée : MISE EN PAGE DESKTOP (≥ 1024 px).

   Chargée par m.html avec `media="(min-width: 1024px)"` : un téléphone ne
   l'applique jamais. Tout est sous `html.lt-desk-ok`, posé par lite-desk.js
   une fois le rail monté — si ce script ne charge pas, la mise en page mobile
   centrée reste utilisable (aucun écran sans navigation).
   ═══════════════════════════════════════════════════════════════════════════ */

:root { --rail-w: 252px; --th-side: 420px; }
@media (max-width: 1279px) { :root { --rail-w: 224px; --th-side: 360px; } }

kbd { font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 3px 6px; border-radius: 6px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); color: var(--ink-2); }

/* ── Coquille ─────────────────────────────────────────────────────────────── */
html.lt-desk-ok .lt-top, html.lt-desk-ok .lt-tabs { display: none; }
html.lt-desk-ok body { padding-left: var(--rail-w); background: var(--bg); }
html.lt-desk-ok .lt-page { padding: 40px 44px 90px; max-width: 840px; }
html.lt-desk-ok .lt-h1 { font-size: 32px; letter-spacing: -.03em; }
html.lt-desk-ok .lt-toast { bottom: 28px; left: calc(50% + var(--rail-w) / 2); }
html.lt-desk-ok .lt-boot { left: var(--rail-w); }
html.lt-desk-ok ::-webkit-scrollbar { width: 10px; height: 10px; }
html.lt-desk-ok ::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
html.lt-desk-ok ::-webkit-scrollbar-thumb:hover { background-color: rgba(255,255,255,.2); }
html.lt-desk-ok ::-webkit-scrollbar-track { background: transparent; }

/* Les feuilles deviennent des fenêtres centrées. */
html.lt-desk-ok .lt-scrim { align-items: center; padding: 24px; }
html.lt-desk-ok .lt-sheet { max-width: 560px; border-radius: 22px; border-bottom: 1px solid var(--line); padding: 24px 26px;
  transform: translateY(16px) scale(.97); opacity: 0; transition: transform .22s cubic-bezier(.2,.8,.2,1), opacity .18s;
  max-height: 86vh; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
html.lt-desk-ok .lt-scrim.open .lt-sheet { transform: none; opacity: 1; }
html.lt-desk-ok .lt-grab { display: none; }
html.lt-desk-ok .lt-magic-sheet { max-width: 720px; }
html.lt-desk-ok .lt-magic-grid { grid-template-columns: repeat(4, 1fr); }

/* Survols : la souris mérite un retour aussi. */
html.lt-desk-ok .lt-btn { transition: transform .12s, background-color .15s, box-shadow .15s, border-color .15s; }
html.lt-desk-ok .lt-btn:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset; }
html.lt-desk-ok .lt-btn.primary:hover { background: #f4f1ee; }
html.lt-desk-ok .lt-btn.accent:hover { background: var(--accent-2); }
html.lt-desk-ok .lt-btn.ai:hover { filter: brightness(1.06); }
html.lt-desk-ok .lt-job { transition: background-color .15s, border-color .15s, transform .15s; }
html.lt-desk-ok .lt-job:hover { background: var(--surface-hi); border-color: rgba(255,255,255,.14); }
html.lt-desk-ok .lt-menu a:hover, html.lt-desk-ok .lt-menu button:hover { background: var(--surface-hi); }
html.lt-desk-ok .lt-chipsel:hover { border-color: rgba(255,255,255,.25); color: #fff; }
html.lt-desk-ok .lt-chipsel.on:hover { color: #0b0b0d; }
html.lt-desk-ok .lt-tile { transition: transform .2s; }
html.lt-desk-ok .lt-tile:hover { transform: translateY(-2px); }

/* ── Rail ─────────────────────────────────────────────────────────────────── */
.lt-rail { display: none; }
html.lt-desk-ok .lt-rail {
  position: fixed; left: 0; top: 0; bottom: 0; width: var(--rail-w); z-index: 40;
  display: flex; flex-direction: column; gap: 2px; padding: 20px 14px 16px;
  border-right: 1px solid var(--line); background: rgba(9,9,11,.94);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.lt-rail::-webkit-scrollbar { display: none; }
.lt-rail-brand { position: relative; display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px;
  font-weight: 850; font-size: 19px; letter-spacing: -.03em; }
.lt-rail-brand img { height: 24px; width: auto; position: relative; z-index: 1; }
.lt-rail-brand span { position: relative; z-index: 1; }
.lt-rail-top { display: flex; align-items: flex-start; gap: 6px; }
.lt-rail-top .lt-rail-brand { flex: 1 1 auto; min-width: 0; }
.lt-rail-fold { flex: 0 0 auto; width: 34px; height: 34px; margin-top: -1px; padding: 0; border: 0; border-radius: 10px; background: none;
  color: var(--ink-3); display: grid; place-items: center; cursor: pointer; transition: background-color .15s, color .15s; }
.lt-rail-fold:hover { background: var(--surface); color: #fff; }
.lt-rail-fold .ico { width: 19px; height: 19px; }
.lt-rail-search { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; margin-bottom: 12px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-3);
  font-size: 14px; cursor: pointer; transition: border-color .15s, color .15s; }
.lt-rail-search:hover { border-color: rgba(255,255,255,.2); color: var(--ink-2); }
.lt-rail-search .ico { width: 17px; height: 17px; }
.lt-rail-search kbd { margin-left: auto; }
.lt-rail-nav { display: flex; flex-direction: column; gap: 2px; }
.lt-rail-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  color: var(--ink-2); font-weight: 650; font-size: 14.5px; transition: background-color .15s, color .15s; }
.lt-rail-item .ico { width: 20px; height: 20px; }
.lt-rail-item:hover { background: var(--surface); color: #fff; }
/* Sélection du menu : un trait blanc sous le libellé, rien d'autre. */
.lt-rail-item.on { color: #fff; }
.lt-rail-item.on > span { text-decoration: underline 2px #fff; text-underline-offset: 7px; }
.lt-rail-item em { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #ff5d73;
  color: #fff; font-size: 11px; font-weight: 800; font-style: normal; display: none; align-items: center; justify-content: center; }
.lt-rail-item.has em { display: flex; }
.lt-rail-create { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 2px 0; padding: 15px 12px;
  border-radius: 999px; font-weight: 800; font-size: 16px; color: #fff; background: var(--accent); transition: background-color .15s; }
.lt-rail-create:hover { background: var(--accent-2); }
.lt-rail-fill { flex: 1 1 auto; min-height: 18px; }
.lt-rail-user { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface); transition: border-color .15s; }
.lt-rail-user:hover, .lt-rail-user.on { border-color: rgba(255,255,255,.22); }
.lt-rail-user .lt-orb { width: 36px; height: 36px; font-size: 14px; }
.lt-rail-user > span:not(.lt-orb) { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.lt-rail-user b { font-size: 14px; }
.lt-rail-user small { font-size: 12px; color: var(--ink-3); }
.lt-rail-user .chev { width: 16px; height: 16px; color: var(--ink-3); }
.lt-rail-guest { padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.lt-rail-guest b { display: block; font-size: 14px; line-height: 1.35; margin-bottom: 10px; }
.lt-rail-guest .lt-btn { min-height: 38px; padding: 8px 12px; font-size: 13.5px; border-radius: 11px; }
.lt-rail-guest .lt-btn + .lt-btn { margin-top: 6px; }
.lt-rail-create .ico, .lt-rail-guest-mini { display: none; }

/* ── Rail replié : icônes seules ──────────────────────────────────────────────
   `--rail-w` pilote tout (marge du corps, toast, chargement) : les écrans en
   colonne restent centrés à leur largeur maximale, seuls les écrans pleine
   largeur (atelier CV, offres, mur) profitent de la place. */
html.lt-rail-mini { --rail-w: 76px; }
html.lt-rail-anim .lt-rail { transition: width .2s ease, padding .2s ease; }
html.lt-rail-anim body { transition: padding-left .2s ease; }
html.lt-rail-mini .lt-rail { padding: 16px 10px; }
html.lt-rail-mini .lt-rail-top { flex-direction: column; align-items: center; gap: 6px; margin-bottom: 12px; }
html.lt-rail-mini .lt-rail-brand { padding: 4px 0 2px; }
html.lt-rail-mini .lt-rail-brand span,
html.lt-rail-mini .lt-rail-search span, html.lt-rail-mini .lt-rail-search kbd,
html.lt-rail-mini .lt-rail-item > span, html.lt-rail-mini .lt-rail-create span,
html.lt-rail-mini .lt-rail-user > span:not(.lt-orb), html.lt-rail-mini .lt-rail-user .chev,
html.lt-rail-mini .lt-rail-guest, html.lt-rail-mini .lt-rail-eco { display: none; }
html.lt-rail-mini .lt-rail-search { justify-content: center; width: 48px; height: 44px; padding: 0; margin: 0 auto 10px; }
html.lt-rail-mini .lt-rail-item { justify-content: center; width: 52px; height: 46px; padding: 0; margin: 0 auto; }
html.lt-rail-mini .lt-rail-item .ico { width: 22px; height: 22px; }
/* Sélection : le trait blanc passe sous l'icône. */
html.lt-rail-mini .lt-rail-item.on::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 5px; height: 2px; border-radius: 2px; background: #fff; }
html.lt-rail-mini .lt-rail-item em { position: absolute; top: 4px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; font-size: 10px; margin: 0; }
html.lt-rail-mini .lt-rail-create { width: 48px; height: 48px; padding: 0; margin: 14px auto 0; }
html.lt-rail-mini .lt-rail-create .ico { display: block; width: 22px; height: 22px; stroke-width: 2.4; }
html.lt-rail-mini .lt-rail-user { justify-content: center; width: 52px; height: 52px; padding: 0; margin: 0 auto; border-radius: 50%; }
html.lt-rail-mini .lt-rail-guest-mini { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto; padding: 0;
  border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: #fff; cursor: pointer; }
html.lt-rail-mini .lt-rail-guest-mini:hover { border-color: rgba(255,255,255,.22); }
@media (prefers-reduced-motion: reduce) { html.lt-rail-anim .lt-rail, html.lt-rail-anim body { transition: none; } }

/* ── Recherche ⌘K ─────────────────────────────────────────────────────────── */
.lt-pal-scrim { position: fixed; inset: 0; z-index: 120; display: flex; justify-content: center; align-items: flex-start;
  padding-top: 12vh; background: rgba(0,0,0,.5); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  opacity: 0; transition: opacity .16s; }
.lt-pal-scrim.on { opacity: 1; }
.lt-pal { width: min(660px, calc(100vw - 48px)); background: #141416; border: 1px solid rgba(255,255,255,.12); border-radius: 20px;
  box-shadow: 0 40px 110px rgba(0,0,0,.7); overflow: hidden;
  transform: translateY(-10px) scale(.98); transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.lt-pal-scrim.on .lt-pal { transform: none; }
.lt-pal-in { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.lt-pal-in > .ico { width: 21px; height: 21px; color: var(--ink-2); }
.lt-pal-in input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: #fff; font-size: 18px; font-family: inherit; }
.lt-pal-in input::placeholder { color: var(--ink-3); }
.lt-pal-in input::-webkit-search-cancel-button { display: none; }
.lt-pal-list { max-height: min(56vh, 500px); overflow-y: auto; padding: 8px; }
.lt-pal-h { padding: 10px 10px 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.lt-pal-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border-radius: 12px; border: none;
  background: none; color: #fff; text-align: left; cursor: pointer; }
.lt-pal-row.on { background: var(--surface-hi); }
.lt-pal-ico, .lt-pal-img { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 10px; background: var(--surface-hi);
  display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--ink-2); }
.lt-pal-img.round { border-radius: 50%; }
.lt-pal-img img { width: 100%; height: 100%; object-fit: cover; }
.lt-pal-ico .ico { width: 18px; height: 18px; }
.lt-pal-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lt-pal-t b { font-size: 14.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-pal-t small { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-pal-row .lt-tag { flex: 0 0 auto; }
.lt-pal-go { color: var(--ink-3); opacity: 0; transition: opacity .12s; }
.lt-pal-go .ico { width: 16px; height: 16px; }
.lt-pal-row.on .lt-pal-go { opacity: 1; color: #fff; }
.lt-pal-load { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 26px; color: var(--ink-2); font-size: 14px; }
.lt-pal-load.sm { padding: 10px; }
.lt-pal-none { padding: 22px 14px 12px; text-align: center; color: var(--ink-2); font-size: 14px; }
.lt-pal-none b { display: block; color: #fff; margin-bottom: 4px; }
.lt-pal-foot { display: flex; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.lt-pal-foot kbd { margin-right: 3px; }

/* ── Découvrir : le mur ───────────────────────────────────────────────────── */
.lt-wall { padding: 38px 44px 80px; max-width: 1520px; margin: 0 auto; }
.lt-wall-head { margin-bottom: 24px; }
.lt-wall-h1 { font-size: 44px; line-height: 1.04; letter-spacing: -.04em; font-weight: 850; margin: 0 0 10px; }
.lt-wave { display: inline-block; transform-origin: 70% 70%; animation: lt-wave 2.2s ease-in-out .4s 1; }
@keyframes lt-wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(-4deg); } 50% { transform: rotate(10deg); } }
.lt-wall .lt-lead { font-size: 16.5px; max-width: 640px; margin: 0; }
.lt-wall-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.lt-wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 16px; }
.lt-wtile { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; padding: 0; cursor: pointer;
  text-align: left; color: #fff; background: var(--surface-hi); border: 1px solid var(--line);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s, border-color .28s; }
.lt-wtile:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.2); box-shadow: 0 20px 48px rgba(0,0,0,.55); }
.lt-wtile > img, .lt-wprev { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lt-wtile > img { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.lt-wtile:hover > img { transform: scale(1.04); }
.lt-wprev { opacity: 0; transition: opacity .35s; }
.lt-wprev.on { opacity: 1; }
.lt-wshade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.25) 42%, transparent 68%); }
.lt-wmeta { position: absolute; left: 14px; right: 14px; bottom: 12px; }
.lt-wmeta b { font-size: 15.5px; line-height: 1.25; font-weight: 800; margin-bottom: 8px; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lt-wwho { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(255,255,255,.82); }
.lt-wwho .lt-orb { width: 22px; height: 22px; font-size: 10px; border: 1px solid rgba(255,255,255,.6); }
.lt-wwho em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-wlikes { margin-left: auto; display: flex; align-items: center; gap: 3px; font-style: normal; flex: 0 0 auto; }
.lt-wlikes .ico { width: 13px; height: 13px; }
.lt-wbadge { position: absolute; top: 12px; left: 12px; display: flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 10px;
  font-size: 11.5px; font-weight: 800; background: rgba(0,0,0,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: opacity .2s; }
.lt-wbadge .ico { width: 13px; height: 13px; }
.lt-wbadge.job { background: rgba(29,155,240,.94); color: #fff; }
/* Coin haut gauche : « Recrute », puis « Ville, Pays » ; jamais sous la pastille de durée. */
.lt-wtop { position: absolute; top: 12px; left: 12px; right: 74px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.lt-wtop .lt-wbadge { position: static; max-width: 100%; }
.lt-wbadge.place { gap: 4px; padding: 3px 8px; border-radius: 999px; color: rgba(255,255,255,.92); background: rgba(0,0,0,.5);
  font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; }
.lt-wbadge.place .ico { width: 12px; height: 12px; display: inline-block; vertical-align: -2px; margin-right: 3px; }
/* Coin haut droit : la durée d'une vidéo (« 0:42 »), le nombre de photos d'un post photo. */
.lt-wbadge.dur { left: auto; right: 12px; gap: 4px; padding: 3px 8px; border-radius: 999px; color: #fff;
  background: rgba(0,0,0,.55); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.lt-wbadge.dur .ico { width: 12px; height: 12px; }
/* L'invitation à publier garde son doré (demande explicite) : seule touche
   chaude de l'app, d'où la couleur en dur et pas var(--accent). */
.lt-wyou { display: flex; align-items: center; justify-content: center; text-align: center;
  border: 1.5px dashed rgba(244,183,138,.45); background: radial-gradient(circle at 50% 30%, rgba(244,183,138,.18), transparent 66%); }
.lt-wtile.lt-wyou:hover { border-color: rgba(244,183,138,.75); }
.lt-wyou-in { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px; }
.lt-wyou .ico { width: 30px; height: 30px; padding: 10px; box-sizing: content-box; border-radius: 50%; color: #f4b78a;
  background: rgba(244,183,138,.14); }
.lt-wyou b { font-size: 18px; letter-spacing: -.01em; }
.lt-wyou small { font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.lt-wempty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--ink-2); }
.lt-wempty b { display: block; color: #fff; font-size: 18px; margin-bottom: 6px; }
.lt-wempty .lt-btn { margin-top: 12px; }
.lt-wend { padding: 30px 0; }

/* ── Mode « salle » ───────────────────────────────────────────────────────── */
.lt-th { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-columns: minmax(0, 1fr) var(--th-side);
  background: #050506; opacity: 0; transition: opacity .22s; }
.lt-th.on { opacity: 1; }
.lt-th[hidden] { display: none; }
.lt-th-blur { position: absolute; inset: -80px; background-size: cover; background-position: center;
  filter: blur(70px) brightness(.32) saturate(1.5); }
.lt-th-stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 34px 90px; min-width: 0; min-height: 0; overflow: hidden; }
.lt-th-media { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  transform: scale(.96); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.lt-th.on .lt-th-media { transform: none; }
.lt-th-media video, .lt-th-media img { max-width: 100%; max-height: 100%; border-radius: 16px; background: #000; object-fit: contain;
  box-shadow: 0 30px 100px rgba(0,0,0,.75); }
.lt-th-side { position: relative; z-index: 2; overflow-y: auto; padding: 30px 28px 36px; border-left: 1px solid var(--line);
  background: rgba(14,14,16,.9); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.lt-th-btn { position: absolute; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14);
  background: rgba(20,20,22,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .15s; }
.lt-th-btn:hover { background: rgba(255,255,255,.16); }
.lt-th-btn .ico { width: 20px; height: 20px; }
.lt-th-x { top: 20px; left: 20px; }
.lt-th-prev { left: 20px; top: 50%; margin-top: -22px; }
.lt-th-next { right: calc(var(--th-side) + 20px); top: 50%; margin-top: -22px; }
.lt-th-sl { position: absolute; bottom: 30px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center; }
.lt-th-sl .ico { width: 18px; height: 18px; }
.lt-th-sl.l { left: calc(50% - 96px); }
.lt-th-sl.r { left: calc(50% + 58px); }
.lt-th-dots { position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 3; }
.lt-th-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); transition: background-color .2s, transform .2s; }
.lt-th-dots i.on { background: #fff; transform: scale(1.25); }
.lt-th-author { display: flex; align-items: center; gap: 12px; padding: 10px; margin: 0 -10px 14px; border-radius: 14px; transition: background-color .15s; }
.lt-th-author:hover { background: var(--surface); }
.lt-th-author .lt-orb { width: 48px; height: 48px; font-size: 18px; border: 2px solid rgba(255,255,255,.25); }
.lt-th-author > span:not(.lt-orb) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lt-th-author b { display: flex; align-items: center; gap: 5px; font-size: 16px; }
.lt-th-author small { color: var(--ink-2); font-size: 13px; }
.lt-th-author .chev { width: 18px; height: 18px; color: var(--ink-3); }
.lt-th-side h2 { font-size: 25px; line-height: 1.18; letter-spacing: -.025em; margin: 6px 0 6px; }
.lt-th-meta { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.lt-th-desc p { margin: 0 0 .6em; }
.lt-th-desc { font-size: 14.5px; line-height: 1.62; color: rgba(255,255,255,.86); max-height: 240px; overflow-y: auto; padding-right: 6px; overflow-wrap: anywhere; }
.lt-th-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 4px; }
.lt-th-acts .lt-btn { width: 100%; }
.lt-thact { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: #fff; font-weight: 700; font-size: 13.5px; cursor: pointer; transition: transform .12s, background-color .15s, border-color .15s; }
.lt-thact:hover { background: var(--surface-hi); }
.lt-thact:active { transform: scale(.94); }
.lt-thact .ico { width: 17px; height: 17px; }
.lt-thact.on { color: var(--accent); border-color: rgba(29,155,240,.38); }
.lt-thact.on.like { color: #ff5d73; border-color: rgba(255,93,115,.42); }
.lt-th-h { display: flex; align-items: center; gap: 8px; margin: 26px 0 12px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-3); }
.lt-th-h .ico { width: 16px; height: 16px; }
.lt-th-sim { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lt-th-simt, .lt-th-simsk { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  background: var(--surface-hi); padding: 0; cursor: pointer; }
.lt-th-simt img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.lt-th-simt:hover img { transform: scale(1.06); }
.lt-th-simt span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 7px; font-size: 12px; font-weight: 700; text-align: left;
  color: #fff; line-height: 1.25; background: linear-gradient(to top, rgba(0,0,0,.86), transparent); }
.lt-heartfx { position: absolute; bottom: 32%; z-index: 4; width: 30px; height: 30px; color: #ff5d73; pointer-events: none;
  animation: lt-heartup 1.15s ease-out forwards; opacity: 0; }
.lt-heartfx .ico { width: 30px; height: 30px; filter: drop-shadow(0 4px 12px rgba(255,93,115,.5)); }
@keyframes lt-heartup { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 15% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), -280px) scale(1.25) rotate(18deg); } }

/* ── Emplois en deux volets ───────────────────────────────────────────────── */
.lt-split { display: grid; grid-template-columns: minmax(380px, 460px) minmax(0, 1fr); height: 100vh; }
.lt-split-l { overflow-y: auto; border-right: 1px solid var(--line); }
html.lt-desk-ok .lt-split-l .lt-page { padding: 28px 22px 60px; max-width: none; }
.lt-split-l .lt-h1 { font-size: 28px; }
.lt-split-l a.lt-job.on { border-color: rgba(255,255,255,.22); background: var(--surface-hi); box-shadow: inset 3px 0 0 var(--accent); }
/* Suivis : recherches et entreprises suivies (les onglets de l'app), sur UNE
   ligne qui défile — jamais un bloc de plus dans la colonne. */
.lt-follows { display: flex; align-items: center; gap: 6px; overflow-x: auto; margin: 8px -2px 2px; padding: 2px; scrollbar-width: none; }
.lt-follows[hidden] { display: none; }
.lt-follows.more { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
.lt-follows::-webkit-scrollbar { display: none; }
.lt-follows-h { flex: 0 0 auto; margin-right: 2px; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.lt-follow { flex: 0 0 auto; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  transition: border-color .15s, background-color .15s; }
.lt-follow > button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 0; background: none; color: var(--ink-2);
  font: inherit; font-size: 13px; font-weight: 650; white-space: nowrap; cursor: pointer; }
.lt-follow:hover { border-color: rgba(255,255,255,.25); }
.lt-follow:hover > button { color: #fff; }
.lt-follow-n { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.lt-follow-logo { width: 16px; height: 16px; border-radius: 4px; object-fit: cover; background: #fff; display: block; }
.lt-follow.on { background: #fff; border-color: #fff; }
.lt-follow.on > button { color: #0b0b0d; }
.lt-follow.on > button.lt-follow-x { padding: 6px 10px 6px 0; font-size: 17px; line-height: 1; opacity: .5; }
.lt-follow.on > button.lt-follow-x:hover { opacity: 1; }
.lt-follow.add { gap: 6px; padding: 6px 11px; border-style: dashed; background: none; color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 650;
  white-space: nowrap; cursor: pointer; }
.lt-follow.add .ico { width: 15px; height: 15px; }
.lt-follow.add:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.lt-follow.add.busy { opacity: .5; pointer-events: none; }
.lt-follow-page { display: inline-block; margin-top: 12px; font-size: 13.5px; }
.lt-split-r { overflow-y: auto; position: relative; }
.lt-pane-page { max-width: 780px; margin: 0 auto; padding: 34px 40px 0; min-height: 100%; display: flex; flex-direction: column; }
.lt-pane-page #jd { flex: 1 0 auto; padding-bottom: 28px; }
.lt-pane-page .lt-offer-head h1 { font-size: 27px; letter-spacing: -.02em; }
.lt-pane-page .lt-offer-head .lt-orb { width: 64px; height: 64px; }
.lt-actionbar.inpane { position: sticky; bottom: 0; left: auto; right: auto; z-index: 5; margin: 0 -40px; padding: 14px 40px;
  border-top: 1px solid var(--line); background: rgba(8,8,10,.9); }
.lt-actionbar.inpane .lt-btn { flex: 0 1 auto; padding: 12px 20px; }
.lt-actionbar.inpane .lt-btn.grow { flex: 1 1 auto; }
.lt-actionbar.inpane .lt-btn.icon { flex: 0 0 48px; padding: 0; }
.lt-pane-empty { height: 100%; min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 8px; color: var(--ink-2); padding: 40px; }
.lt-pane-emoji { font-size: 54px; display: block; animation: lt-float 3s ease-in-out infinite; }
.lt-pane-empty b { color: #fff; font-size: 21px; letter-spacing: -.01em; }
.lt-pane-empty kbd { margin: 0 1px; }

/* ── Mes candidatures : colonnes ──────────────────────────────────────────── */
html.lt-desk-ok .lt-page:has(.lt-kanban) { max-width: 1340px; }
.lt-kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; }
.lt-kcol { border: 1px solid var(--line); border-radius: 18px; padding: 12px; min-height: 180px; background: rgba(255,255,255,.025); }
.lt-kcol h2 { display: flex; align-items: center; gap: 8px; font-size: 14.5px; margin: 2px 4px 12px; }
.lt-kcol h2 em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--ink-3); background: var(--surface-hi); border-radius: 8px; padding: 2px 8px; }
.lt-kcol .lt-job { padding: 12px; }
.lt-kcol .lt-job + .lt-job { margin-top: 8px; }
.lt-kcol .lt-job .lt-orb { width: 36px; height: 36px; font-size: 14px; }
.lt-kempty { margin: 0; padding: 20px 0; text-align: center; color: var(--ink-3); font-size: 13px; border: 1.5px dashed var(--line); border-radius: 12px; }

/* ── Mon CV ───────────────────────────────────────────────────────────────── */
html.lt-desk-ok .lt-page:has(.lt-cvgrid), html.lt-desk-ok .lt-page:has(.lt-base) { max-width: 1000px; }
.lt-cvgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.lt-cvgrid .lt-card + .lt-card { margin-top: 0; }

/* ── Atelier CV : trois volets ────────────────────────────────────────────── */
.lt-atelier { height: 100vh; display: flex; flex-direction: column; }
.lt-at-head { display: flex; align-items: center; gap: 14px; padding: 12px 22px; border-bottom: 1px solid var(--line); background: rgba(8,8,10,.6); }
.lt-at-title { flex: 1; display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.lt-at-title b { font-size: 18px; letter-spacing: -.01em; }
.lt-at-title span { color: var(--ink-3); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-at-head .lt-save { min-height: 38px; padding: 8px 16px; }
.lt-at-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(330px, 420px) minmax(340px, 1fr) minmax(290px, 380px); }
.lt-at-edit { overflow-y: auto; padding: 22px 22px 40px; }
.lt-at-prev { display: flex; flex-direction: column; min-width: 0; min-height: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  background: #0a0a0c; }
.lt-at-bar { display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-bottom: 1px solid var(--line); min-height: 52px; }
.lt-at-bar .lt-styles { margin: 0; min-width: 0; }
.lt-at-bar > .lt-small { white-space: nowrap; }
.lt-at-bar .lt-style { padding: 6px 10px; font-size: 12.5px; }
.lt-at-paper { position: relative; flex: 1; min-height: 0; margin: 18px; border-radius: 10px; overflow: hidden; background: #fff;
  box-shadow: 0 26px 80px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.06); }
.lt-at-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; transition: opacity .25s; }
.lt-at-wait { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: #666; background: #f4f3f1; font-size: 14px; text-align: center; padding: 20px; }
.lt-at-wait .lt-spinner { border-color: rgba(0,0,0,.12); border-top-color: #333; }
.lt-at-chat { display: flex; flex-direction: column; min-height: 0; background: #0c0c0e; }
.lt-chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.lt-chat-av { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff;
  background: conic-gradient(from 200deg, var(--ai), #ffd9bd, var(--ai-2), var(--ai)); color: #1a1008; }
.lt-chat-av .ico { width: 20px; height: 20px; }
.lt-chat-av .ico.ai { color: #1a1008; }
.lt-chat-head b { display: block; font-size: 15px; }
.lt-chat-head small { color: var(--ink-3); font-size: 12.5px; }
.lt-chat-log { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.lt-msg { max-width: 92%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.5; animation: lt-rise .3s ease; }
.lt-msg p { margin: 0; overflow-wrap: anywhere; }
.lt-msg.ai { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-top-left-radius: 6px; }
.lt-msg.me { align-self: flex-end; background: #fff; color: #0b0b0d; border-top-right-radius: 6px; }
.lt-msg.err { border-color: rgba(255,138,128,.35); color: var(--err); }
.lt-msg .lt-tags { margin-top: 8px; }
.lt-msg-acts { margin-top: 10px; }
.lt-msg-acts .lt-btn { min-height: 36px; padding: 6px 12px; font-size: 13px; border-radius: 10px; }
.lt-msg-done { margin-top: 8px; font-size: 12.5px; font-weight: 800; color: var(--ink-3); }
.lt-msg-done.applied { color: var(--ok); }
.lt-msg.typing { display: flex; gap: 5px; padding: 14px; }
.lt-msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-2); animation: lt-dot 1s infinite ease-in-out; }
.lt-msg.typing i:nth-child(2) { animation-delay: .15s; }
.lt-msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes lt-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.lt-chat-mode { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.lt-chat-mode .lt-seg { flex: 1 1 auto; margin: 0; }
.lt-chat-sugg { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.lt-chat-sugg:empty { display: none; }
.lt-chat-sugg .lt-chipsel { font-size: 12.5px; padding: 6px 10px; }
.lt-chat-form { display: flex; gap: 8px; align-items: flex-end; padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.lt-chat-form .lt-compose .lt-field { font-size: 14.5px; }

/* ── Studio ───────────────────────────────────────────────────────────────── */
html.lt-desk-ok .lt-page:has(.lt-studio) { max-width: 1200px; }
.lt-studio { display: grid; grid-template-columns: minmax(380px, 460px) minmax(0, 1fr); gap: 28px; align-items: start; }
.lt-studio-l { position: sticky; top: 24px; }
.lt-studio-r > .lt-h2:first-child { margin-top: 0; }
.lt-studio-r #stList { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.lt-studio-r #stList .lt-card + .lt-card { margin-top: 0; }
/* Carte « publier » du Studio. ⚠️ Pas `.lt-compose` : c'est la pilule de saisie
   des messages (lite.css, en `display: flex` ligne), qui écrasait ce formulaire. */
.lt-studio-compose { transition: border-color .2s, box-shadow .2s; }
.lt-studio-compose.drop { border-color: rgba(255,255,255,.5); box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
.lt-studio-compose.drop .lt-pickzone { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.05); }
.lt-pickzone { transition: border-color .2s, background-color .2s; }
.lt-pickzone:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.03); }
.lt-thumb[draggable="true"] { cursor: grab; transition: transform .15s, opacity .15s; }
.lt-thumb.dragging { opacity: .35; transform: scale(.94); }
.lt-thumb.over { outline: 2px solid #fff; outline-offset: 2px; }
.lt-kpis { grid-template-columns: repeat(3, 1fr); }
.lt-chart { height: 170px; }

/* ── Agenda : la semaine ──────────────────────────────────────────────────── */
.lt-agd { padding: 30px 34px 40px; max-width: 1480px; margin: 0 auto; }
.lt-agd-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.lt-agd-head > div:first-child { flex: 1; min-width: 0; }
.lt-agd-head .lt-h1 { font-size: 30px; }
.lt-agd-nav { display: flex; gap: 6px; }
.lt-agd-nav .lt-btn { min-height: 38px; padding: 6px 12px; font-size: 13.5px; }
.lt-agd-head > .lt-btn.primary { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.lt-agd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.lt-week { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; }
.lt-wk-head { display: grid; grid-template-columns: 58px repeat(7, 1fr); border-bottom: 1px solid var(--line); }
.lt-wk-head span { padding: 10px 6px; text-align: center; }
.lt-wk-head small { display: block; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.lt-wk-head b { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; font-size: 19px; border-radius: 50%; }
.lt-wk-head span.today b { background: #fff; color: #0b0b0d; }
.lt-wk-body { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); max-height: calc(100vh - 230px); overflow-y: auto; }
.lt-wk-hours { position: relative; }
.lt-wk-hours span { position: absolute; right: 9px; transform: translateY(-50%); font-size: 11px; color: var(--ink-3); }
.lt-wk-hours span:first-child { transform: none; }
.lt-wk-cols { position: relative; display: grid; grid-template-columns: repeat(7, 1fr);
  background-image: repeating-linear-gradient(to bottom, var(--line) 0, var(--line) 1px, transparent 1px, transparent 46px); }
.lt-wk-col { position: relative; border-left: 1px solid var(--line); cursor: copy; transition: background-color .15s; }
.lt-wk-col.today { background: rgba(255,255,255,.035); }
.lt-wk-col:hover { background: rgba(255,255,255,.025); }
.lt-wk-ev { position: absolute; left: 4px; right: 4px; padding: 5px 7px; border-radius: 9px; border: none; text-align: left; overflow: hidden;
  cursor: pointer; color: #fff; background: var(--accent); transition: filter .15s; }
.lt-wk-ev:hover { filter: brightness(1.08); z-index: 1; }
.lt-wk-ev.booking { background: #8f73ff; color: #fff; }
.lt-wk-ev b { display: block; font-size: 12.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-wk-ev small { display: block; font-size: 11px; opacity: .82; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-wk-now { position: absolute; height: 2px; background: #ff5d73; z-index: 2; pointer-events: none; }
.lt-wk-now::before { content: ""; position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #ff5d73; }
.lt-wk-hint { margin: 0; padding: 11px; text-align: center; color: var(--ink-3); font-size: 13px; border-top: 1px solid var(--line); }
.lt-agd-tasks[hidden] { display: none; }
.lt-agd-tasks { position: sticky; top: 20px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface);
  max-height: calc(100vh - 150px); overflow-y: auto; }
.lt-agd-tasks .lt-taskadd { margin-top: 0; }
.lt-agd-tasks .lt-tasks { background: transparent; }

/* ── Communautés ──────────────────────────────────────────────────────────── */
/* Fil central entre deux filets, comme Twitter ; la discussion ouverte à droite. */
.lt-co { display: grid; grid-template-columns: minmax(0, 620px) minmax(320px, 400px); gap: 28px; justify-content: center; padding: 0 36px 80px; }
.lt-co-main { --gutter: 18px; padding: 30px var(--gutter) 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); min-height: 100vh; }
.lt-co-side { position: sticky; top: 24px; margin-top: 30px; align-self: start; max-height: calc(100vh - 48px); overflow-y: auto; }
.lt-co-emoji { display: block; font-size: 38px; margin-bottom: 6px; }
.lt-co-intro b { font-size: 17px; }
.lt-co-intro .lt-list { margin-top: 10px; }
.lt-co-thread { --gutter: 16px; padding: 14px var(--gutter) 6px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.02); overflow: hidden; animation: lt-rise .3s ease; }
.lt-co-thread h3 { font-size: 15px; }
.lt-tw.lt-post.open { background: rgba(255,255,255,.05); box-shadow: inset 3px 0 0 var(--accent); }

/* ── Recherche (page) ─────────────────────────────────────────────────────── */
html.lt-desk-ok .lt-searchp { max-width: 1000px; }
.lt-searchp .lt-sgrid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.lt-searchp .lt-sgrid .lt-tile { aspect-ratio: 3 / 4; border-radius: 14px; }
.lt-searchp .lt-sgrid .lt-tile span { font-size: 12.5px; padding: 22px 9px 8px; }

/* ── Messages : la liste et le fil côte à côte ────────────────────────────── */
.lt-msgs { display: grid; grid-template-columns: 340px minmax(0, 1fr); height: 100vh; }
.lt-msgs-list { overflow-y: auto; border-right: 1px solid var(--line); padding: 0 8px 20px; }
.lt-msgs-h { padding: 28px 12px 12px; }
.lt-msgs-h .lt-h1 { font-size: 28px; margin: 0; }
.lt-msgs-thread { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.lt-msgs-thread .lt-mt-head { padding: 14px 24px; border-bottom: 1px solid var(--line); background: rgba(8,8,10,.5); }
/* La conversation reste une colonne lisible (≤ 880 px), même rail replié ou grand écran. */
.lt-msgs-thread .lt-mt-log { flex: 1; min-height: 0; overflow-y: auto; padding: 18px max(28px, calc((100% - 880px) / 2)); }
.lt-msgs-thread .lt-mt-form, .lt-msgs-thread .lt-mt-no { margin: 0; padding: 14px max(24px, calc((100% - 880px) / 2)) 18px; border-top: 1px solid var(--line); border-radius: 0; }
.lt-msgs-thread .lt-bub { max-width: 64%; }

@media (prefers-reduced-motion: reduce) {
  .lt-wave, .lt-pane-emoji, .lt-heartfx, .lt-msg { animation: none !important; }
  .lt-wtile:hover { transform: none; }
}

/* Liens discrets des autres produits, sous la carte du compte. */
.lt-rail-eco .lt-eco { gap: 6px 12px; padding: 12px 8px 0; }
.lt-rail-eco .lt-eco a { font-size: 11.5px; }
.lt-at-bar .lt-accents { margin: 0; flex-wrap: nowrap; gap: 6px; flex: 0 0 auto; }
.lt-at-bar .lt-acc { width: 20px; height: 20px; }
