/* Réseaux sociaux — planning (design validé 24/10, maquette Reseaux.dc.html). Préfixe rs-. */
.rs-page { display: flex; flex-direction: column; gap: 20px; }
.rs-surtitre { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .1em; color: #6A5F57; }
.rs-entete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.rs-titre { margin: 6px 0 0; font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 44px; letter-spacing: -.045em; line-height: 1; color: #0E1022; }
.rs-resume { margin: 8px 0 0; font-size: 17px; color: #5E5650; }
.rs-resume b { color: #7A4A00; font-weight: 600; }
.rs-nav { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rs-fleche { width: 44px; height: 44px; border-radius: 12px; border: 1px solid #D8C6AE; background: #FFFAF3; font: 600 18px 'Geist', sans-serif; color: #0E1022; cursor: pointer; }
.rs-fleche:hover { background: #fff; }
.rs-periode { padding: 0 6px; font-weight: 600; font-size: 16px; min-width: 120px; text-align: center; }
.rs-vues { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #EFE2D0; margin-left: 8px; }
.rs-vues button { padding: 8px 14px; border-radius: 999px; border: 0; background: transparent; font: 500 13.5px 'Geist', sans-serif; color: #5E5650; cursor: pointer; }
.rs-vues button[aria-pressed="true"] { background: #fff; font-weight: 600; color: #0E1022; }

.rs-legende { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-size: 13.5px; }
.rs-filtre { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid transparent; background: transparent; font: 500 13.5px 'Geist', sans-serif; color: #0E1022; cursor: pointer; }
.rs-filtre:hover { background: #EFE2D0; }
.rs-filtre--on { background: #FFFAF3; border-color: #0E1022; font-weight: 600; }
.rs-astuce { margin-left: auto; color: #6A5F57; }
.rs-pt { display: inline-block; width: 12px; height: 12px; border-radius: 4px; flex: none; }
.rs-pt--post { background: #8C3B22; }
.rs-pt--story { background: #FFB020; }
.rs-pt--reel { background: #17414A; }
.rs-pt--valider { outline: 2px dashed #FF6B2C; outline-offset: 1px; }
.rs-pt--vide { background: transparent; outline-offset: -2px; }

/* boutons */
.rs-btn { height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid #D8C6AE; background: #fff; font: 600 13px 'Geist', sans-serif; color: #0E1022; cursor: pointer; white-space: nowrap; }
.rs-btn--noir { background: #0E1022; color: #fff; border-color: #0E1022; }
.rs-btn--jaune { height: 42px; padding: 0 16px; border-radius: 12px; background: #FFB020; border: 0; color: #1A0A04; font-size: 14px; }
.rs-btn--clair { height: 42px; padding: 0 16px; border-radius: 12px; background: transparent; border: 1px solid rgba(255,255,255,.3); color: #F3EDE4; font-size: 14px; }
.rs-proposer { height: 38px; }
.rs-mini { flex: 1; padding: 5px 0; border-radius: 7px; border: 0; background: #fff; font: 600 11.5px 'Geist', sans-serif; color: #0E1022; cursor: pointer; }
.rs-mini--noir { background: #0E1022; color: #fff; }
.rs-mini:disabled { opacity: .5; cursor: progress; }

/* grille semaine */
.rs-planning { border-radius: 22px; background: #FFFAF3; border: 1px solid #E4D6C3; overflow-x: auto; }
.rs-grille { min-width: 900px; display: grid; grid-template-columns: 56px repeat(7, minmax(0, 1fr)); }
.rs-coin { border-bottom: 1px solid #EADCC8; }
.rs-tete { padding: 12px 10px; border-bottom: 1px solid #EADCC8; border-left: 1px solid #EADCC8; }
.rs-tete__j { font-size: 12px; color: #6A5F57; }
.rs-tete__n { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 22px; }
.rs-tete--auj { background: #FFF1E6; }
.rs-tete--auj .rs-tete__j { color: #A8400B; font-weight: 600; }
.rs-tete--auj .rs-tete__n { color: #A8400B; }
.rs-heures { display: grid; grid-template-rows: repeat(14, 52px); font-family: 'Geist Mono', monospace; font-size: 11px; color: #8A7D72; }
.rs-heures span { padding: 4px 8px 0 0; text-align: right; }
.rs-col { position: relative; display: grid; grid-template-rows: repeat(14, 52px); grid-auto-flow: row dense; border-left: 1px solid #EADCC8; padding: 0 5px;
  background: repeating-linear-gradient(180deg, transparent 0 51px, #F2E6D6 51px 52px); }
.rs-col--auj { background-color: #FFF8F0; }
.rs-col--survol { background-color: #FFF1E6; outline: 2px dashed #FF6B2C; outline-offset: -3px; }
.rs-maintenant { position: absolute; left: 0; right: 0; height: 2px; background: #FF6B2C; z-index: 2; pointer-events: none; }
.rs-maintenant::before { content: ''; position: absolute; left: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #FF6B2C; }

/* cartes */
.rs-pub { margin: 3px 0; border-radius: 10px; padding: 6px 8px; display: flex; gap: 6px; align-items: center; overflow: hidden; cursor: pointer; min-width: 0; transition: transform .12s, box-shadow .12s; }
.rs-pub:hover, .rs-pub:focus-visible { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(30,15,5,.5); outline: none; }
.rs-pub[draggable="true"] { cursor: grab; }
.rs-pub--long { flex-direction: column; align-items: stretch; padding: 8px; }
.rs-pub--post { background: #8C3B22; color: #FFF8EF; }
.rs-pub--story { background: #FFB020; color: #1A0A04; }
.rs-pub--reel { background: #17414A; color: #F3EDE4; }
.rs-pub--valider { background: #FFF4EC; color: #7A2A08; border: 2px dashed #FF6B2C; }
.rs-pub__txt { font-size: 12px; line-height: 1.25; min-width: 0; display: flex; flex-direction: column; }
.rs-pub__txt b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rs-pub__txt span { opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-pub__mini { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; flex: none; }
.rs-pub__img { width: 100%; height: 44px; border-radius: 6px; object-fit: cover; }
.rs-pub__note { font-size: 11px; color: #FFB020; }
.rs-pub__actions { display: flex; gap: 4px; }
.rs-libre { grid-column: 1; margin: 3px 0; border-radius: 10px; border: 2px dashed #D8C6AE; background: transparent; display: grid; place-items: center; align-content: center; gap: 2px; text-align: center; font: 400 12px 'Geist', sans-serif; color: #8A7D72; padding: 6px; cursor: pointer; }
.rs-libre b { color: #8C3B22; font-weight: 600; }
.rs-libre:hover { border-color: #8C3B22; background: #FFF4EC; }

/* liste jour par jour */
.rs-liste { display: flex; flex-direction: column; gap: 10px; }
.rs-liste--mobile { display: none; }
.rs-jour { padding: 14px 16px; border-radius: 18px; background: #FFFAF3; border: 1px solid #E4D6C3; display: flex; flex-direction: column; gap: 8px; }
.rs-jour--auj { border-color: #FF6B2C; background: #FFF8F0; }
.rs-jour h3 { margin: 0; font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.rs-jour h3 span { font: 600 12px 'Geist', sans-serif; color: #A8400B; margin-left: 6px; }
.rs-pub--liste { margin: 0; padding: 10px 12px; flex-wrap: wrap; }
.rs-pub--liste .rs-pub__txt { flex: 1; font-size: 14px; }
.rs-pub--liste .rs-pub__txt b { -webkit-line-clamp: 1; }
.rs-pub--liste .rs-pub__mini { width: 40px; height: 40px; }
.rs-pub--liste .rs-pub__actions { flex-basis: 100%; }
.rs-pub--liste .rs-mini { padding: 8px 0; font-size: 13px; }
.rs-libre--ligne { display: block; padding: 10px; font-size: 13.5px; }
.rs-vide { margin: 0; font-size: 14px; color: #8A7D72; }

/* mois */
.rs-mois { border-radius: 22px; background: #FFFAF3; border: 1px solid #E4D6C3; padding: 10px; }
.rs-mois__tete, .rs-mois__sem { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.rs-mois__tete span { font-size: 12px; color: #6A5F57; padding: 4px 8px; }
.rs-mois__sem { margin-top: 4px; }
.rs-mois__j { min-height: 78px; border-radius: 12px; border: 1px solid #EADCC8; background: #fff; padding: 8px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; cursor: pointer; font: inherit; color: inherit; }
.rs-mois__j:hover { border-color: #8C3B22; }
.rs-mois__j--hors { opacity: .45; }
.rs-mois__j--auj { border-color: #FF6B2C; background: #FFF1E6; }
.rs-mois__n { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 16px; }
.rs-mois__pts { display: flex; gap: 4px; flex-wrap: wrap; }
.rs-mois__pts .rs-pt { width: 10px; height: 10px; border-radius: 3px; }

/* bas de page */
.rs-bas { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; }
.rs-carte { padding: 22px; border-radius: 24px; background: #FFFAF3; border: 1px solid #E4D6C3; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rs-com__tete { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.rs-com__tete h2 { margin: 0; font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -.03em; }
.rs-com__tete span { font-size: 14px; color: #6A5F57; }
.rs-com__ligne { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #EADCC8; }
.rs-com__txt { flex: 1; min-width: 0; }
.rs-com__txt b { font-weight: 600; }
.rs-com__txt div { font-size: 13.5px; color: #5E5650; overflow-wrap: anywhere; }
.rs-tag { padding: 4px 9px; border-radius: 8px; font-size: 12px; font-weight: 600; white-space: nowrap; flex: none; }
.rs-tag--google { background: #FCE8C4; color: #7A4A00; }
.rs-tag--insta { background: #F5DCCF; color: #8C3B22; }
.rs-tag--fb { background: #DCE8E6; color: #17414A; }
.rs-fait { font-size: 12.5px; color: #2E7D5B; font-weight: 600; }
.rs-lien { margin-top: 6px; font-size: 14px; font-weight: 600; color: #8C3B22; text-decoration: none; }
.rs-shoot { background: #17414A; border-color: #17414A; color: #F3EDE4; gap: 14px; }
.rs-shoot .rs-surtitre { color: #8FB0B0; letter-spacing: .12em; }
.rs-shoot__date { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 32px; letter-spacing: -.04em; line-height: 1.05; }
.rs-shoot p { margin: 0; font-size: 14.5px; color: #B9CCCB; }
.rs-shoot__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.rs-shoot__pied { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; }
.rs-shoot__pied b { color: #FFB020; }

@media (max-width: 900px) {
  .rs-titre { font-size: 34px; }
  .rs-planning { display: none; }
  .rs-liste--mobile { display: flex; }
  .rs-astuce { display: none; }
  .rs-proposer { margin-left: auto; }
  .rs-bas { grid-template-columns: 1fr; }
  .rs-nav { width: 100%; }
  .rs-vues { margin-left: auto; }
  .rs-periode { min-width: 0; flex: 1; }
}
@media (max-width: 480px) {
  .rs-vues { margin-left: 0; width: 100%; justify-content: space-between; }
  .rs-vues button { flex: 1; }
  .rs-mois__j { min-height: 54px; padding: 6px; }
  .rs-com__ligne { flex-wrap: wrap; }
  .rs-com__ligne .rs-tag { margin-right: auto; }
  .rs-com__txt { flex: 1 1 100%; order: 3; }
  .rs-shoot__date { font-size: 26px; }
}
