/* Onglet « Nora » de la fiche patient (côté cabinet) */
.nora-etat { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 12px; background: #edf2ef; color: #5b6878; }
.nora-etat--actif { background: #e3f6ea; color: #17733b; }
.nora-etat--invite { background: #e8f0ff; color: #055AFB; }
.nora-etat--revoque { background: #fdecea; color: #b42318; }
.nora-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.nora-email { display: flex; gap: 6px; flex: 1; min-width: 260px; }
.nora-email .champ { flex: 1; }
.nora-lien { display: flex; gap: 16px; align-items: center; margin-top: 14px; padding: 12px; border: 1px dashed #b4d6c4; border-radius: 10px; background: #f3faf6; }
.nora-lien__qr { width: 150px; flex: none; background: #fff; }
.nora-lien__qr svg { width: 100%; height: auto; display: block; }
.nora-lien__url { font-family: monospace; font-size: 12px; word-break: break-all; color: #3d4b5c; }
.nora-onglets { display: flex; gap: 4px; background: #edf2ef; border-radius: 20px; padding: 3px; margin: 8px 0 12px; }
.nora-onglets button { flex: 1; border: 0; background: none; border-radius: 17px; padding: 6px 8px; font: inherit; font-size: 13px; color: #5b6878; cursor: pointer; }
.nora-onglets button.actif { background: #fff; color: #1d2733; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.onglet-nora select.champ, .onglet-nora .nora-libre .champ { margin-bottom: 8px; }
.nora-apercu { border-left: 3px solid #055AFB; background: #f3faf6; padding: 10px 14px; margin: 8px 0; border-radius: 0 8px 8px 0; font-size: 14px; }
.nora-apercu__titre { font-weight: 600; margin: 0 0 6px; }
.nora-apercu p { margin: 2px 0 8px; white-space: pre-line; }
.nora-rdv-form { display: grid; grid-template-columns: 1fr 1fr 90px; gap: 8px; margin: 8px 0 12px; }
.nora-rdv-form .champ:nth-child(4), .nora-rdv-form .champ:nth-child(5) { grid-column: span 3; }
.nora-rdv-form .btn { grid-column: span 3; justify-self: start; }
.nora-passe td { color: #8a96a5; }
.onglet-nora .carte > .btn { margin-top: 4px; }

/* Carte « Famille » (assets/js/modules/famille/CarteFamille.js) */
.famille__table td { vertical-align: middle; padding: 6px 8px; }
.famille__table select { min-width: 150px; }
.famille-ajout { margin-top: 10px; }
.famille-resultats { list-style: none; margin: 4px 0 0; padding: 0; border: 1px solid var(--trait); border-radius: 8px; max-height: 240px; overflow: auto; }
.famille-resultats button { width: 100%; text-align: left; background: none; border: 0; padding: 8px 12px; font: inherit; cursor: pointer; }
.famille-resultats li + li button { border-top: 1px solid #edf2ef; }
.famille-resultats button:hover, .famille-resultats button:focus-visible { background: #e2f4ea; }

/* Paramètres > Agenda (assets/js/modules/agenda/) */
.agenda-sources { list-style: none; padding: 0; margin: 12px 0; }
.agenda-source { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid #edf2ef; }
.agenda-form { border-top: 1px solid var(--trait); margin-top: 14px; padding-top: 4px; }
.agenda-aide { background: #f7f9fb; border-radius: 10px; padding: 8px 14px; margin: 10px 0; font-size: 14px; }
.aide-liste { margin: 6px 0; padding-left: 20px; }
.agenda-ar { border-top: 1px solid var(--trait); margin-top: 14px; }
.agenda-choix { min-width: 240px; }
.agenda-choix .case { display: block; margin-top: 4px; }
