/* ============================================================================
   PLAN DE CONTENU VIRAL. Palette Zeepy (céleste), tokens uniquement.
   Aucun violet (la maquette en définissait un — écarté).
   ============================================================================ */
.pl-page { max-width: 720px; margin: 0 auto; padding-bottom: 96px; }

.pl-head { margin: 4px 0 14px; }
.pl-eyebrow { font-size: 11.5px; letter-spacing: 2.4px; text-transform: uppercase; font-weight: 800; color: var(--text-muted); }
.pl-title { font-size: 29px; font-weight: 800; letter-spacing: -.5px; margin: 4px 0 3px; color: var(--text-strong, #eaf0f8); }
.pl-sub { color: var(--text-muted); font-size: 14px; }

/* Sélecteur de semaine */
.pl-wswitch { display: flex; align-items: center; gap: 10px; background: linear-gradient(150deg, rgba(73,151,208,.14), rgba(73,151,208,.05));
  border: 1px solid rgba(73,151,208,.4); border-radius: 16px; padding: 10px 12px; margin-bottom: 16px; }
.pl-warr { width: 38px; height: 38px; border-radius: 11px; border: 1px solid rgba(73,151,208,.3); background: rgba(73,151,208,.1);
  color: #7DD3FC; font-size: 22px; font-weight: 800; flex: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: .12s; line-height: 1; }
.pl-warr:active { transform: scale(.92); }
.pl-warr:disabled { opacity: .3; cursor: default; }
.pl-wsc { flex: 1; text-align: center; }
.pl-wsc-t { font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--text-strong, #eaf0f8); }
.pl-wbadge { font-size: 10px; font-weight: 800; padding: 3px 9px; border-radius: 20px; background: rgba(73,151,208,.18); color: #7DD3FC; }
.pl-wbadge.lock { background: rgba(160,174,193,.16); color: #9fb0c6; }
.pl-wbadge.past { background: rgba(125,211,252,.14); color: #b8d9f0; }
.pl-wsc-d { font-size: 12.5px; color: #7DD3FC; margin-top: 3px; font-weight: 600; }

/* Archive : bandeau d'une semaine passée (lecture seule) */
.pl-arch-head { position: relative; overflow: hidden; margin: 4px 0 14px; padding: 15px 16px;
  border-radius: 16px; border: 1px solid rgba(125,211,252,.2);
  background: linear-gradient(150deg, rgba(73,151,208,.12), rgba(73,151,208,.03)); }
.pl-arch-head::before { content: ''; position: absolute; top: -40%; right: -10%; width: 55%; height: 160%;
  background: radial-gradient(circle, rgba(125,211,252,.22), transparent 68%); pointer-events: none; }
.pl-arch-head > * { position: relative; z-index: 1; }
.pl-arch-h { font-size: 15px; font-weight: 800; color: var(--text-strong, #eaf0f8); display: flex; align-items: center; gap: 7px; }
.pl-arch-ic { font-size: 16px; }
.pl-arch-sub { font-size: 12.5px; color: var(--text-muted, #9fb0c6); margin-top: 3px; }
.pl-arch-scores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pl-arch-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  color: #cfe4f5; padding: 6px 11px; border-radius: 11px; border: 1px solid rgba(73,151,208,.28); background: rgba(73,151,208,.1); }
.pl-arch-chip b { color: #fff; font-size: 14px; font-weight: 800; }
.pl-arch-chip i { color: var(--text-muted, #9fb0c6); font-style: normal; font-size: 10px; margin-left: -3px; }
.pl-arch-clogo { display: inline-flex; width: 15px; height: 15px; }
.pl-arch-clogo svg, .pl-arch-clogo img { width: 100%; height: 100%; }

/* Chargement */
.pl-boot { display: flex; justify-content: center; padding: 40px 0; }
.pl-boot[hidden] { display: none !important; }
.pl-spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(73,151,208,.2); border-top-color: #4997D0; animation: pl-spin .8s linear infinite; }
@keyframes pl-spin { to { transform: rotate(360deg); } }

/* Objectif */
.pl-obj { background: linear-gradient(150deg, rgba(73,151,208,.14), rgba(73,151,208,.05)); border: 1px solid rgba(73,151,208,.32);
  border-radius: 18px; padding: 16px; margin-bottom: 14px; }
.pl-ot { font-size: 12px; font-weight: 800; letter-spacing: .4px; color: #7DD3FC; text-transform: uppercase; }
.pl-og { display: flex; gap: 8px; margin-top: 12px; }
.pl-oi { flex: 1; background: rgba(73,151,208,.06); border: 1px solid rgba(73,151,208,.2); border-radius: 12px; padding: 11px 6px; text-align: center; }
.pl-on { font-size: 18px; font-weight: 900; color: #7DD3FC; }
.pl-ol { font-size: 10.5px; color: var(--text-muted); margin-top: 2px; }
.pl-osub { font-size: 11.5px; color: var(--text-muted); margin-top: 10px; }
.pl-obase { font-size: 13.5px; color: var(--text, #d6e0ee); margin-top: 10px; line-height: 1.5; }

/* Progression mission */
.pl-prog { background: var(--surface-2, rgba(255,255,255,.03)); border: 1px solid rgba(73,151,208,.2); border-radius: 14px; padding: 13px 15px; margin-bottom: 22px; }
.pl-pt { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; margin-bottom: 9px; color: var(--text, #d6e0ee); }
.pl-pt b { color: #7DD3FC; }
.pl-pbar { height: 9px; border-radius: 6px; background: rgba(0,0,0,.28); overflow: hidden; }
.pl-pbar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #4997D0, #7DD3FC); transition: width .35s; }

/* Note de section (ex : « vise-en 3 ») */
.pl-secnote { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; margin: 0 2px 12px; }
.pl-secnote b { color: #7DD3FC; }

/* Section header */
.pl-sec { margin: 22px 0 6px; display: flex; align-items: center; gap: 11px; }
.pl-si { width: 34px; height: 34px; border-radius: 10px; background: rgba(73,151,208,.12); border: 1px solid rgba(73,151,208,.22);
  display: flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
.pl-st { font-size: 17px; font-weight: 800; color: var(--text-strong, #eaf0f8); }
.pl-sc { margin-left: auto; font-size: 12px; color: #7DD3FC; font-weight: 800; }

/* Dropdowns */
.pl-drop { background: var(--surface-2, rgba(255,255,255,.03)); border: 1px solid var(--border, rgba(255,255,255,.08)); border-radius: 15px; margin-bottom: 11px; overflow: hidden; }
.pl-drop.open { border-color: rgba(73,151,208,.35); }
.pl-drop.reco { border-color: rgba(244,198,74,.35); }
.pl-rec { font-size: 9.5px; font-weight: 800; letter-spacing: .3px; color: #f4c64a; background: rgba(244,198,74,.14);
  border: 1px solid rgba(244,198,74,.4); padding: 2px 7px; border-radius: 20px; white-space: nowrap; }
.pl-dh { display: flex; align-items: center; gap: 12px; padding: 14px; cursor: pointer; }
.pl-chk { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--border, #2b3a54); flex: none; display: flex; align-items: center;
  justify-content: center; color: transparent; font-size: 14px; cursor: pointer; transition: .15s; }
.pl-chk.on { background: #84d59b; border-color: #84d59b; color: #062a15; }
.pl-dh-txt { flex: 1; min-width: 0; }
.pl-dtag { font-size: 10.5px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: #7DD3FC; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.pl-dtitle { font-size: 14.5px; font-weight: 700; margin-top: 2px; line-height: 1.25; color: var(--text-strong, #eaf0f8); }
.pl-chev { color: #7DD3FC; font-size: 14px; transition: transform .2s; padding: 4px; flex: none; }
.pl-drop.open .pl-chev { transform: rotate(180deg); }
.pl-dbody { display: none; padding: 0 14px 14px 52px; }
.pl-drop.nochk .pl-dbody { padding: 0 14px 14px 16px; }
.pl-drop.open .pl-dbody { display: block; }
.pl-line { display: flex; gap: 9px; font-size: 13.5px; line-height: 1.45; color: var(--text, #d6e0ee); margin-bottom: 9px; }
.pl-line:last-child { margin-bottom: 0; }
.pl-num { width: 20px; height: 20px; border-radius: 6px; background: rgba(73,151,208,.16); color: #7DD3FC; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex: none; margin-top: 1px; }
.pl-line b { color: var(--text-strong, #fff); }
.pl-citem { display: flex; align-items: flex-start; gap: 11px; font-size: 13.5px; line-height: 1.4; color: var(--text, #dbe6f2); margin-bottom: 12px; }
.pl-citem:last-child { margin-bottom: 0; }
.pl-citem b { color: var(--text-strong, #fff); }

/* Stories */
.pl-story { display: flex; align-items: center; gap: 12px; background: var(--surface-2, rgba(255,255,255,.03)); border: 1px solid var(--border, rgba(255,255,255,.08));
  border-radius: 13px; padding: 12px 14px; margin-bottom: 9px; }
.pl-sn { width: 26px; height: 26px; border-radius: 8px; background: rgba(73,151,208,.14); color: #7DD3FC; font-weight: 800; font-size: 12px;
  display: flex; align-items: center; justify-content: center; flex: none; }
.pl-stx { flex: 1; font-size: 13.5px; font-weight: 600; color: var(--text, #dbe6f2); line-height: 1.35; }
.pl-stag { display: inline-block; font-size: 9.5px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase;
  color: #7DD3FC; background: rgba(73,151,208,.12); padding: 2px 7px; border-radius: 20px; margin-bottom: 4px; }
.pl-stxt { display: block; }

.pl-cross { background: rgba(73,151,208,.09); border: 1px solid rgba(73,151,208,.35); border-radius: 14px; padding: 13px 14px; font-size: 13.5px;
  color: var(--text, #dbe6f2); margin-bottom: 11px; line-height: 1.45; }
.pl-cross b { color: #7DD3FC; }

/* Générer le plan (état honnête tant qu'aucune idée n'est générée) */
.pl-gen { text-align: center; background: linear-gradient(160deg, rgba(73,151,208,.16), rgba(73,151,208,.04)); border: 1px solid rgba(73,151,208,.32);
  border-radius: 18px; padding: 26px 20px; margin: 6px 0 4px; }
.pl-gen-ic { font-size: 34px; }
.pl-gen-h { font-size: 18px; font-weight: 800; margin-top: 8px; color: var(--text-strong, #eaf0f8); }
.pl-gen-p { font-size: 13.5px; color: var(--text-muted); margin: 8px auto 16px; line-height: 1.5; max-width: 340px; }
.pl-gen-p b { color: var(--text, #d6e0ee); }
.pl-gen-btn { border: none; background: linear-gradient(135deg, #4997D0, #7DD3FC); color: #062333; font-weight: 800; font-size: 14.5px;
  border-radius: 22px; padding: 14px 22px; cursor: pointer; box-shadow: 0 6px 18px rgba(73,151,208,.3); }
.pl-gen-btn:active { transform: scale(.99); }
.pl-gen-btn:disabled { opacity: .7; cursor: default; }
.pl-gen-sub { font-size: 11.5px; color: var(--text-muted); margin-top: 12px; }

/* Attente de génération : une barre qui avance et l'étape en cours, au lieu
   d'un rond qui tourne. Écrire un plan prend du temps ; il faut qu'on voie
   que ça travaille, et jusqu'où c'est rendu. */
.pl-gen-run .pl-gen-p { margin-bottom: 18px; }
.pl-genbar {
  position: relative; height: 8px; max-width: 340px; margin: 0 auto;
  border-radius: 999px; overflow: hidden;
  background: rgba(73, 151, 208, 0.18);
}
.pl-genbar i {
  display: block; height: 100%; width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #4997D0, #7DD3FC);
  box-shadow: 0 0 14px rgba(125, 211, 252, 0.55);
  transition: width 260ms cubic-bezier(.16, 1, .3, 1);
}
/* Reflet qui balaie la portion remplie : montre que ça travaille même quand
   la progression ralentit. */
.pl-genbar i::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 20%, rgba(255,255,255,.28) 50%, transparent 80%);
  background-size: 200% 100%;
  animation: pl-genbar-sweep 1.6s linear infinite;
}
@keyframes pl-genbar-sweep { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .pl-genbar i::after { animation: none; } }
.pl-genstep {
  margin-top: 11px; font-size: 12.5px; font-weight: 600;
  color: var(--accent-cool, #7DD3FC);
  font-variant-numeric: tabular-nums;
}
.pl-gen-sub a { color: #7DD3FC; font-weight: 700; }

/* Semaines passées */
.pl-past { background: var(--surface-2, rgba(255,255,255,.03)); border: 1px solid var(--border, rgba(255,255,255,.08)); border-radius: 15px; padding: 14px 16px; margin-bottom: 10px; }
.pl-past-t { font-size: 14.5px; font-weight: 700; color: var(--text-strong, #eaf0f8); }
.pl-past-d { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* Semaine verrouillée */
.pl-locked { text-align: center; padding: 44px 20px; }
.pl-locked[hidden] { display: none !important; }
.pl-lock-ic { width: 70px; height: 70px; border-radius: 50%; background: rgba(73,151,208,.1); border: 1px solid rgba(73,151,208,.3);
  display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 16px; }
.pl-lock-t { font-size: 19px; font-weight: 800; color: var(--text-strong, #eaf0f8); }
.pl-lock-p { font-size: 14px; color: var(--text-muted); margin-top: 8px; line-height: 1.5; max-width: 320px; margin-left: auto; margin-right: auto; }

/* ============ PLAN V2 : onglets plateforme + score + cards + fiche ============ */
.pl-chk::after { content: "✓"; font-size: 14px; font-weight: 800; }

/* Onglets plateforme */
.pl-plats { display: flex; gap: 8px; margin: 14px 0 2px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.pl-plats::-webkit-scrollbar { display: none; }
.pl-plat { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; flex: none;
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border-default, rgba(120,175,255,.18));
  background: var(--bg-card, #101a2e); color: var(--text-secondary, #a6c3ef); font-family: inherit;
  font-size: 13.5px; font-weight: 700; cursor: pointer; transition: .15s; }
.pl-plat:hover { border-color: rgba(73,151,208,.5); }
.pl-plat.active { border-color: var(--primary, #4997D0); background: rgba(73,151,208,.14); color: var(--text-primary, #eef4ff); }
.pl-plat-logo { width: 18px; height: 18px; display: inline-flex; }
.pl-plat-logo svg { width: 18px; height: 18px; }
.pl-plat-emoji { font-size: 15px; }

/* Score potentiel (cible + gain) */
.pl-score { margin-top: 16px; border-radius: 22px; padding: 18px 18px 16px;
  background: radial-gradient(90% 80% at 50% 0%, rgba(73,151,208,.16), transparent 70%), var(--bg-card, #101a2e);
  border: 1px solid var(--border-default, rgba(120,175,255,.18)); }
.pl-score-load { font-size: 13px; color: var(--text-muted); text-align: center; padding: 8px 0; }
.pl-score-h { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #7DD3FC; margin-bottom: 14px; }
.pl-score-nums { display: flex; align-items: center; justify-content: center; gap: 18px; }
.pl-score-cur, .pl-score-tgt { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.pl-score-cur b, .pl-score-tgt b { font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.pl-score-cur b { color: var(--text-primary, #eef4ff); }
.pl-score-tgt b { color: #7DD3FC; }
.pl-score-cur i, .pl-score-tgt i { font-size: 12px; font-style: normal; color: var(--text-muted); font-weight: 700; margin-top: 2px; }
.pl-score-cur span, .pl-score-tgt span { font-size: 11px; color: var(--text-muted); margin-top: 5px; text-transform: uppercase; letter-spacing: .03em; }
.pl-score-arrow { font-size: 22px; color: var(--text-muted); font-weight: 800; }
.pl-score-gain { text-align: center; font-size: 13.5px; color: var(--text-secondary, #cfddf7); margin-top: 6px; }
.pl-score-gain b { color: #7DD3FC; font-weight: 800; }

/* Jauge en arc (SVG) */
.pl-gauge { position: relative; width: 220px; max-width: 100%; margin: 6px auto 2px; }
.pl-gauge-svg { width: 100%; height: auto; display: block; overflow: visible; }
.pl-gauge-center { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; line-height: 1; }
.pl-gauge-center b { display: block; font-size: 40px; font-weight: 800; letter-spacing: -.02em; color: var(--text-primary, #eef4ff);
  background: linear-gradient(180deg, #eaf4ff, #9fd0f5); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pl-gauge-center span { font-size: 11.5px; color: var(--text-muted); font-weight: 600; }
.pl-gauge-legend { display: flex; justify-content: center; gap: 18px; margin-top: 2px; }
.pl-gl { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-secondary, #cfddf7); }
.pl-gl i { width: 10px; height: 10px; border-radius: 50%; }
.pl-gl.now i { background: linear-gradient(135deg, #4997D0, #7DD3FC); }
.pl-gl.tgt i { background: #0a1120; border: 2px solid #7DD3FC; }

/* Ligne posts réels détectés (mission dynamique) */
.pl-preal { font-size: 11.5px; color: var(--text-muted); margin-top: 8px; }

/* Résumé priorités (onglet Tous réseaux) */
.pl-prio { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; cursor: pointer; font-family: inherit;
  background: var(--bg-card, #101a2e); border: 1px solid var(--border-default, rgba(120,175,255,.18)); border-radius: 16px;
  padding: 14px 16px; margin-bottom: 11px; transition: .16s; }
.pl-prio:hover { border-color: rgba(73,151,208,.5); transform: translateY(-1px); }
.pl-prio:active { transform: scale(.99); }
.pl-prio-logo { width: 30px; height: 30px; flex: none; display: inline-flex; }
.pl-prio-logo svg { width: 30px; height: 30px; }
.pl-prio-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pl-prio-name { font-size: 15px; font-weight: 700; color: var(--text-primary, #fff); display: flex; align-items: center; gap: 8px; }
.pl-prio-tag { font-size: 10px; font-weight: 800; color: #ffcf4d; background: rgba(255,207,77,.12); border: 1px solid rgba(255,207,77,.4); padding: 2px 7px; border-radius: 999px; }
.pl-prio-sub { font-size: 12px; color: var(--text-muted); }
.pl-prio-sub b { color: #7DD3FC; }
.pl-prio-score { display: inline-flex; align-items: center; gap: 5px; flex: none; font-size: 15px; font-weight: 800; color: var(--text-primary, #eef4ff); }
.pl-prio-score i { font-style: normal; color: var(--text-muted); font-size: 12px; }
.pl-prio-score b { color: #7DD3FC; font-size: 13px; }
.pl-prio-score.wait { color: var(--text-muted); font-weight: 600; }

/* Badge durée fiche */
.pl-fdur { font-size: 11px; font-weight: 700; color: var(--text-muted); background: rgba(120,175,255,.1);
  border: 1px solid var(--border-default, rgba(120,175,255,.18)); padding: 3px 9px; border-radius: 999px; margin-left: auto; }

/* Récompense mission */
.pl-reward { display: none; margin-top: 12px; text-align: center; font-weight: 800; font-size: 13.5px; color: #2fd47a;
  background: rgba(47,212,122,.12); border: 1px solid rgba(47,212,122,.4); border-radius: 12px; padding: 10px; }
.pl-reward.on { display: block; }

/* Cards contenu */
.pl-card { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; cursor: pointer; font-family: inherit;
  background: var(--bg-card, #101a2e); border: 1px solid var(--border-default, rgba(120,175,255,.18)); border-radius: 18px;
  padding: 15px 16px; margin-bottom: 11px; transition: .16s; }
.pl-card:hover { border-color: rgba(73,151,208,.5); }
.pl-card:active { transform: scale(.99); }
.pl-card.reco { border-color: rgba(255,207,77,.42); box-shadow: 0 0 0 3px rgba(255,207,77,.06); }
.pl-cbody { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pl-ctags { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; flex-wrap: wrap; }
.pl-ctag { font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #7DD3FC; }
.pl-reco { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 800; color: #ffcf4d;
  background: rgba(255,207,77,.12); border: 1px solid rgba(255,207,77,.4); padding: 2px 8px; border-radius: 999px; }
.pl-ctitle { font-size: 15.5px; font-weight: 700; line-height: 1.3; color: var(--text-primary, #fff); }
.pl-card .pl-chev { font-size: 16px; }

/* Feuille (fiche) */
.pl-scrim { position: fixed; inset: 0; background: rgba(3,6,14,.62); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 1200; }
.pl-scrim.on { opacity: 1; pointer-events: auto; }
.pl-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1201; max-width: 620px; margin: 0 auto;
  background: linear-gradient(180deg, #0e1830, #0a1120); border: 1px solid var(--border-strong, rgba(120,175,255,.5)); border-bottom: none;
  border-radius: 26px 26px 0 0; padding: 12px 22px calc(30px + env(safe-area-inset-bottom)); max-height: 86vh; overflow-y: auto;
  transform: translateY(100%); transition: transform .38s cubic-bezier(.22,1,.36,1); }
.pl-sheet.on { transform: none; }
.pl-grab { width: 42px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.2); margin: 2px auto 14px; }
.pl-fh { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pl-ftag { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #7DD3FC; }
.pl-freco { display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 800; color: #ffcf4d;
  background: rgba(255,207,77,.12); border: 1px solid rgba(255,207,77,.4); padding: 2px 8px; border-radius: 999px; }
.pl-ftitle { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.22; color: #fff; }
.pl-fblock { margin-top: 18px; }
.pl-fbh { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #7DD3FC; margin-bottom: 7px; }
.pl-fbrow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.pl-fbrow .pl-fbh { margin-bottom: 0; }
.pl-fgen { font-size: 10.5px; font-weight: 800; color: #c9adff; background: rgba(154,123,255,.14); border: 1px solid rgba(154,123,255,.38); padding: 3px 10px; border-radius: 999px; }
.pl-fp { font-size: 15px; line-height: 1.55; color: var(--text-secondary, #cfddf7); }
/* Une phrase par ligne, avec un petit espace : regle de mise en page Zeepy.
   Les fiches sortaient en pave de six lignes serrees, imbuvable au doigt. */
.pl-phr { display: block; }
.pl-phr + .pl-phr { margin-top: 7px; }
.pl-fnote { font-size: 12.5px; color: var(--text-muted); line-height: 1.4; margin-bottom: 10px; }
.pl-fstruct { display: flex; flex-direction: column; gap: 12px; }
/* Cards « structure » premium (même langage que les cards d'analyse Coach) :
   fond teinté bleu + halo doux + ombre, au lieu du plat à bordure gauche. */
.pl-fstep { position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(73,151,208,.11), rgba(255,255,255,.014));
  border: 1px solid rgba(73,151,208,.26); border-radius: 14px; padding: 13px 15px;
  box-shadow: 0 6px 18px rgba(3,8,18,.28); }
.pl-fstep::before { content: ''; position: absolute; top: -50%; left: -12%; width: 52%; height: 130%;
  background: radial-gradient(circle at center, rgba(73,151,208,.22), transparent 68%); opacity: .5; pointer-events: none; }
.pl-fstep > * { position: relative; z-index: 1; }
.pl-fstep-k { font-size: 13.5px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.pl-fstep-d { font-size: 13.5px; line-height: 1.55; color: var(--text-secondary, #cfddf7); }
.pl-fscript { position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(73,151,208,.08), rgba(255,255,255,.012));
  border: 1px solid rgba(73,151,208,.22); border-radius: 16px; padding: 2px 16px;
  box-shadow: 0 6px 18px rgba(3,8,18,.25); }
.pl-fsline { font-size: 14.5px; line-height: 1.5; color: var(--text-secondary, #cfddf7); padding: 11px 0; border-bottom: 1px solid rgba(120,175,255,.09); }
.pl-fsline:last-child { border-bottom: none; }
.pl-fstory { display: flex; flex-direction: column; gap: 6px; padding: 15px 0; border-bottom: 1px solid rgba(120,175,255,.09); }
.pl-fstory:last-child { border-bottom: none; }
.pl-fstory-t { font-size: 13px; font-weight: 800; color: #fff; }
.pl-fstory-d { font-size: 14px; line-height: 1.55; color: var(--text-secondary, #cfddf7); }
.pl-fcopy { width: 100%; margin-top: 18px; padding: 14px; border-radius: 999px; border: 1px solid var(--border-strong, rgba(120,175,255,.5)); cursor: pointer;
  background: rgba(73,151,208,.1); color: #7DD3FC; font-size: 14.5px; font-weight: 800; font-family: inherit; }
.pl-fcopy:active { transform: translateY(1px); }
.pl-fcta { width: 100%; margin-top: 12px; padding: 15px; border-radius: 999px; border: none; cursor: pointer;
  background: linear-gradient(135deg, #4997D0, #7DD3FC); color: #062333; font-size: 15px; font-weight: 800; font-family: inherit;
  box-shadow: 0 10px 30px rgba(73,151,208,.34); }
.pl-fcta:active { transform: translateY(1px); }

/* Bilan de la semaine passée (remplace le rapport hebdo) */
.pl-bilan { margin-top: 16px; border-radius: 18px; padding: 15px 16px;
  background: radial-gradient(90% 80% at 0% 0%, rgba(47,212,122,.10), transparent 60%), var(--bg-card, #101a2e);
  border: 1px solid var(--border-default, rgba(120,175,255,.18)); }
.pl-bilan-h { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--text-secondary, #a6c3ef); margin-bottom: 12px; }
.pl-bilan-g { display: flex; flex-wrap: wrap; gap: 10px; }
.pl-bilan-i { flex: 1 1 calc(50% - 5px); min-width: 92px; text-align: center; background: rgba(255,255,255,.02); border: 1px solid var(--border-default, rgba(120,175,255,.14)); border-radius: 13px; padding: 12px 6px; }
.pl-bilan-i b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: #2fd47a; line-height: 1; }
.pl-bilan-i.down b { color: #e0868b; }
.pl-bilan-i.abs b { color: #7DD3FC; }
.pl-bilan-i span { font-size: 11.5px; color: var(--text-muted); margin-top: 4px; display: block; }
/* 3 tuiles -> une ligne ; 4 tuiles -> 2x2 (le flex-wrap gère). Sur large : tout en ligne. */
@media (min-width: 560px) { .pl-bilan-i { flex: 1; min-width: 0; } }
.pl-bilan-win { font-size: 10px; font-weight: 700; color: var(--text-muted); letter-spacing: .02em; text-transform: none; margin-left: 6px; opacity: .8; }
