/* Communication — Réseaux : comptes connectés, publication directe Hub’R, statistiques (reseaux-direct.js) */
.rs-mode { display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:#FFFFFF;border:1px solid #DCE6EE;border-radius:.9rem;padding:14px 16px;margin-bottom:14px }
.rs-mode strong { display:block;font-size:.9rem }
.rs-mode small { display:block;color:#5A6570;font-size:.78rem;line-height:1.45;max-width:620px;margin-top:2px }
.rs-segment { display:inline-flex;background:#EEF3F6;border-radius:99px;padding:3px;gap:2px }
.rs-segment button { border:none;background:transparent;border-radius:99px;padding:.42rem .95rem;font-family:inherit;font-size:.8rem;font-weight:600;color:#5A6570;cursor:pointer;white-space:nowrap }
.rs-segment button.on { background:#FFFFFF;color:#1D1D1B;box-shadow:0 1px 3px rgba(16,24,40,.14) }
.rs-segment button:disabled { cursor:default }
.rs-segment--petit button { padding:.28rem .7rem;font-size:.74rem }
.rs-alerte { background:#FBF1E4;border:1px solid #E9D3A8;color:#7A5418;border-radius:.7rem;padding:10px 14px;font-size:.8rem;margin-bottom:12px }
.rs-cartes { display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px;margin-bottom:18px }
.rs-carte { background:#FFFFFF;border:1px solid #DCE6EE;border-radius:.9rem;padding:14px 16px;display:flex;flex-direction:column;gap:10px }
.rs-carte--bientot { background:#F8FAFB }
.rs-carte--bientot .rs-logo { opacity:.55 }
.rs-carte-tete { display:flex;align-items:center;gap:10px }
.rs-carte-tete strong { flex:1;font-size:.9rem }
.rs-logo { width:32px;height:32px;border-radius:9px;color:#FFFFFF;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.74rem;flex-shrink:0 }
.rs-pastille { font-size:.7rem;font-weight:700;border-radius:99px;padding:.18rem .6rem;white-space:nowrap }
.rs-carte-txt { font-size:.8rem;color:#5A6570;line-height:1.5;margin:0 }
.rs-carte-pied { display:flex;gap:8px;flex-wrap:wrap;margin-top:auto }
.rs-comptes { display:flex;flex-direction:column;gap:8px }
.rs-compte { display:flex;align-items:center;gap:10px }
.rs-compte img, .rs-avatar { width:34px;height:34px;border-radius:50%;object-fit:cover;flex-shrink:0 }
.rs-avatar { background:#E3EDF4;color:#2E5750;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem }
.rs-compte-txt { flex:1;min-width:0;display:flex;flex-direction:column }
.rs-compte-txt strong { font-size:.84rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap }
.rs-compte-txt small { font-size:.72rem;color:#8A949E }
.rs-rouge { color:#A0492F !important }
.rs-interrupteur { display:flex;align-items:center;gap:6px;font-size:.72rem;color:#5A6570;cursor:pointer;white-space:nowrap }
.rs-echec { display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #EEF3F6 }
.rs-echec-txt { flex:1;min-width:0;display:flex;flex-direction:column;font-size:.8rem }
.rs-echec-txt small { color:#A0492F;font-size:.74rem }
.rs-actions { display:flex;gap:6px;flex-wrap:wrap }
.rs-badge { white-space:nowrap }
.rs-badge a { color:inherit;font-weight:700 }
/* Statistiques */
.rs-filtres { display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px }
.rs-filtre { border:1px solid #DCE6EE;background:#FFFFFF;color:#5A6570;border-radius:99px;padding:.32rem .8rem;font-family:inherit;font-size:.78rem;font-weight:600;cursor:pointer }
.rs-filtre.on { background:#2E5750;border-color:#2E5750;color:#FFFFFF }
.rs-filtre small { font-weight:500;opacity:.75 }
.rs-tuiles { display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin-bottom:14px }
.rs-tuile { background:#FFFFFF;border:1px solid #DCE6EE;border-radius:.9rem;padding:12px 14px;display:flex;flex-direction:column;gap:2px }
.rs-tuile span { font-size:.72rem;color:#5A6570;font-weight:600 }
.rs-tuile strong { font-size:1.5rem;color:#1D1D1B;font-variant-numeric:tabular-nums }
.rs-tuile small { font-size:.7rem;color:#8A949E }
.rs-graphe { width:100%;height:auto;display:block;margin:6px 0 4px }
.rs-grille { stroke:#E6ECF0;stroke-width:1 }
.rs-axe { fill:#8A949E;font-size:11px;font-family:inherit }
.rs-barre path { fill:#2E5750 }
.rs-barre:hover path { fill:#10627F }
.rs-tableau { font-size:.76rem;color:#5A6570;margin-top:4px }
.rs-tableau summary { cursor:pointer }
.rs-tableau table { border-collapse:collapse;margin-top:6px }
.rs-tableau td, .rs-tableau th { padding:2px 14px 2px 0;text-align:left;font-variant-numeric:tabular-nums }
.rs-top { display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #EEF3F6;cursor:pointer }
.rs-top-txt { flex:1;min-width:0;display:flex;flex-direction:column;font-size:.8rem }
.rs-top-txt small { color:#8A949E;font-size:.72rem }
.rs-top-chiffres { font-size:.74rem;color:#5A6570;white-space:nowrap }
/* Rédacteur : médias, comptes, menu maison, TikTok */
.rs-vignettes { display:flex;gap:6px;flex-wrap:wrap }
.rs-vignettes:empty { display:none }
.rs-vignette { position:relative;width:58px;height:58px;border-radius:8px;overflow:hidden;background:#E3EDF4 }
.rs-vignette img, .rs-vignette video { width:100%;height:100%;object-fit:cover;display:block }
.rs-vignette b { position:absolute;left:0;right:0;bottom:0;background:rgba(29,29,27,.6);color:#FFFFFF;font-size:.6rem;text-align:center }
.rs-vignette button { position:absolute;top:2px;right:2px;width:18px;height:18px;border-radius:50%;border:none;background:rgba(29,29,27,.65);color:#FFFFFF;font-size:.6rem;cursor:pointer;line-height:1 }
.rs-lien-discret { border:none;background:none;color:#1F7A8C;font-family:inherit;font-size:.74rem;cursor:pointer;padding:0;align-self:flex-start }
.rd-photo video { display:block;width:100%;max-height:220px;object-fit:cover }
.rs-apercu-nb { position:absolute;top:8px;right:8px;background:rgba(29,29,27,.65);color:#FFFFFF;border-radius:99px;font-size:.66rem;padding:1px 7px }
.rs-chip-type { display:block;font-weight:400;font-size:.64rem;opacity:.8 }
.rs-menu { position:relative }
.rs-menu-bouton { width:100%;text-align:left;cursor:pointer;background:#FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235A6570' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;padding-right:34px;font-family:inherit }
.rs-menu-liste { position:absolute;left:0;right:0;top:calc(100% + 4px);background:#FFFFFF;border:1px solid #DCE6EE;border-radius:.7rem;box-shadow:0 12px 30px -10px rgba(16,24,40,.25);padding:4px;z-index:20;max-height:240px;overflow-y:auto }
.rs-menu-liste button { display:block;width:100%;text-align:left;border:none;background:none;padding:.5rem .7rem;border-radius:.5rem;font-family:inherit;font-size:.82rem;color:#1D1D1B;cursor:pointer }
.rs-menu-liste button:hover { background:#F1F6FA }
.rs-menu-liste button.on { background:#E3EDF4;font-weight:600 }
.rs-tiktok { background:#F8FAFB;border:1px solid #DCE6EE;border-radius:.8rem;padding:10px 12px;display:flex;flex-direction:column;gap:8px;margin-bottom:8px }
.rs-tiktok-tete { font-size:.8rem;color:#5A6570 }
.rs-cases { display:flex;gap:14px;flex-wrap:wrap }
.rs-case { display:flex;gap:6px;align-items:center;font-size:.8rem;cursor:pointer }
@media (max-width:640px) { .rs-top-chiffres { display:none } .rs-cartes { grid-template-columns:1fr } }
