/* =====================================================================
   Bulle — Rendez-vous (M14) et « Tu es à jour »
   S'appuie sur le panneau des Bulles (.mo, v5-moments.css) et sur les
   jetons Écume (ecume.css).
   ===================================================================== */
.rv-ic { display: inline-flex; flex: none; }
.rv-hint { display: flex; align-items: center; gap: 6px; margin: 6px 2px 0; color: var(--texte-3); font-size: .8rem; }
.rv-when { font-variant-numeric: tabular-nums; }
.rv-quick { margin-top: 8px; }
.rv-comm { margin-top: 10px; }
.rv-note { height: auto; min-height: 64px; padding-top: 12px; resize: vertical; margin-top: 18px; font: inherit; }

/* Pastille calendrier */
.rv-cal { position: relative; flex: none; width: 52px; height: 56px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--iris, linear-gradient(140deg, #6B4BFF, #F2559F)); color: #fff; box-shadow: var(--rim, none); line-height: 1; }
.rv-cal small { font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; opacity: .9; }
.rv-cal strong { font-family: var(--font-titre, inherit); font-size: 1.35rem; margin-top: 2px; }
.rv-cal-e { position: absolute; right: -6px; bottom: -6px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .82rem;
  background: var(--panneau, #fff); box-shadow: 0 1px 4px rgba(20, 10, 50, .18); }
.rv-cal.off { background: var(--panneau-2); color: var(--texte-3); box-shadow: none; }

/* Carte compacte */
.rv-row, .rv-list { display: flex; flex-direction: column; gap: 8px; }
.rv-mini { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 12px; border-radius: var(--r-lg, 20px); border: 1px solid var(--ligne);
  background: var(--panneau); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, transform .15s; }
.rv-mini:hover { border-color: var(--ligne-2); }
.rv-mini.is-invite { border-color: color-mix(in srgb, var(--violet) 45%, transparent); background: color-mix(in srgb, var(--violet) 6%, var(--panneau)); }
.rv-mini.is-off { opacity: .62; }
.rv-mini.is-off strong { text-decoration: line-through; }
.rv-mini-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rv-mini-t strong { font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-mini-t > small { color: var(--texte-2); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-mini-meta { display: flex; align-items: center; gap: 8px; margin-top: 3px; color: var(--texte-3); font-size: .78rem; }
.rv-faces { display: inline-flex; }
.rv-faces .avatar { width: 22px !important; height: 22px !important; font-size: .6rem; border: 2px solid var(--panneau); margin-left: -6px; }
.rv-faces .avatar:first-child { margin-left: 0; }
.rv-soon { color: var(--violet); font-weight: 700; font-style: normal; }
.rv-all { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--violet); font: inherit; font-weight: 700; font-size: .86rem; padding: 4px 2px; cursor: pointer; }
.rv-propose { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 8px; padding: 12px 14px; border-radius: var(--r-lg, 20px); border: 1.5px dashed var(--ligne-2);
  background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.rv-propose .rv-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--violet) 12%, transparent); color: var(--violet); }
.rv-propose span:last-child { display: flex; flex-direction: column; min-width: 0; }
.rv-propose strong { font-size: .92rem; }
.rv-propose small { color: var(--texte-2); font-size: .8rem; }
.rv-propose:hover { border-color: var(--violet); }

.rv-cta { background: var(--iris, linear-gradient(140deg, #6B4BFF, #F2559F)); color: #fff; }
.rv-cta > .rv-ic:first-child { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); }

/* Fiche */
.rv-hero { text-align: center; padding: 10px 6px 4px; }
.rv-hero-orb { width: 96px; height: 96px; margin: 4px auto 12px; border-radius: 50%; display: grid; place-items: center; font-size: 2.6rem;
  background: radial-gradient(circle at 30% 26%, rgba(255, 255, 255, .85) 0 8%, transparent 24%), var(--iris, linear-gradient(140deg, #6B4BFF, #F2559F)); box-shadow: var(--e-2, none), var(--rim, none); }
.rv-hero.is-off .rv-hero-orb { filter: grayscale(1); opacity: .6; }
.rv-hero-t { margin: 0; font-family: var(--font-titre, inherit); font-size: 1.45rem; line-height: 1.2; overflow-wrap: anywhere; }
.rv-hero.is-off .rv-hero-t { text-decoration: line-through; }
.rv-hero-by { margin: 6px 0 0; color: var(--texte-2); font-size: .88rem; }
.rv-lines { margin: 18px 0 6px; display: flex; flex-direction: column; gap: 2px; border-radius: var(--r-lg, 20px); background: var(--panneau); border: 1px solid var(--ligne); padding: 6px 14px; }
.rv-line { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; font-size: .93rem; line-height: 1.4; overflow-wrap: anywhere; }
.rv-line + .rv-line { border-top: 1px solid var(--ligne); }
.rv-line .rv-ic { color: var(--violet); margin-top: 1px; }
.rv-line.muted { color: var(--texte-3); }
.rv-line.muted .rv-ic { color: var(--texte-3); }
.rv-note-txt { margin: 12px 2px; padding: 12px 14px; border-radius: 16px; background: var(--panneau-2); white-space: pre-wrap; overflow-wrap: anywhere; font-size: .93rem; line-height: 1.45; }
.rv-actions { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 4px; }
.rv-banner { margin: 0; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--rouge) 10%, var(--panneau)); color: var(--rouge); font-weight: 600; text-align: center; }
.rv-answer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.rv-answer button { min-height: 48px; padding: 0 6px; line-height: 1.15; border-radius: 999px; border: 1px solid var(--ligne-2); background: var(--panneau); color: inherit; font: inherit; font-weight: 700; font-size: .88rem; cursor: pointer; }
.rv-answer button[aria-checked="true"].rv-ans-going { background: var(--iris, var(--violet)); color: #fff; border-color: transparent; box-shadow: var(--rim, none); }
.rv-answer button[aria-checked="true"].rv-ans-maybe { background: color-mix(in srgb, var(--violet) 14%, var(--panneau)); border-color: var(--violet); color: var(--violet); }
.rv-answer button[aria-checked="true"].rv-ans-no { background: var(--panneau-2); color: var(--texte-2); }
.rv-answer button:disabled { opacity: .5; cursor: not-allowed; }
.rv-maybe { text-transform: none; letter-spacing: 0; }
.rv-people { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-person { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid var(--ligne); background: var(--panneau); color: inherit; font: inherit; font-size: .88rem; cursor: pointer; max-width: 100%; }
.rv-person .avatar { width: 30px !important; height: 30px !important; font-size: .72rem; }
.rv-person span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-person small { color: var(--violet); font-weight: 700; font-size: .72rem; }
.rv-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 8px; }

/* Cercle : section « Rendez-vous » */
.ce-rdv .rv-mini { background: var(--panneau); }

/* ---------------------------------------------------------------
   « Tu es à jour » : fin du fil
   --------------------------------------------------------------- */
.calm-card { margin: 10px 0 18px; padding: 26px 20px 22px; border-radius: var(--r-xl, 28px); text-align: center; background: var(--panneau); border: 1px solid var(--ligne); box-shadow: var(--e-1, none); }
.calm-orb { display: block; width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%;
  background: radial-gradient(circle at 30% 26%, rgba(255, 255, 255, .9) 0 9%, transparent 26%), var(--iris, linear-gradient(140deg, #6B4BFF, #F2559F)); box-shadow: var(--rim, none); position: relative; }
.calm-orb::after { content: ''; position: absolute; inset: 0; margin: auto; width: 26px; height: 14px; border: solid #fff; border-width: 0 0 3.5px 3.5px; transform: translateY(-3px) rotate(-45deg); border-radius: 2px; }
.calm-card h3 { margin: 0 0 6px; font-family: var(--font-titre, inherit); font-size: 1.25rem; }
.calm-card p { margin: 0 auto 16px; max-width: 34ch; color: var(--texte-2); font-size: .92rem; line-height: 1.45; }
.calm-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.calm-sep { display: flex; align-items: center; gap: 12px; margin: 6px 0 14px; color: var(--texte-3); font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; }
.calm-sep::before, .calm-sep::after { content: ''; flex: 1; height: 1px; background: var(--ligne-2); }
@media (max-width: 400px) { .rv-answer button { font-size: .82rem; } }
