/* Alertes hors du jeu (étape 16, tâche 9 b ; brief § 6, maquette C1) : la carte dans le tchat, en tête des chuchotements, et la rubrique
   des Réglages (« Tchat et alertes »). Verre du tchat, turquoise #8fd0cb pour l'action, ambre #e2bc7e pour le surtitre ; cibles de 44 px. */
.halo-preview .alerts-card { flex-shrink: 0; margin: 8px 12px 6px; padding: 10px 12px 2px; border: 1px solid rgb(184 207 190 / 22%); border-radius: 6px; color: #d8e1d4; background: rgb(14 28 27 / 55%); box-shadow: inset 0 1px rgb(231 237 205 / 7%); }
.halo-preview .alerts-card[hidden] { display: none; }
.halo-preview .alerts-eyebrow { margin: 0 0 9px; padding: 0 0 6px; border-bottom: 1px solid rgb(226 188 126 / 60%); color: #e2bc7e; font-size: 10px; font-weight: 600; line-height: 1.4; letter-spacing: 2.4px; text-transform: uppercase; }
.halo-preview .alerts-card-body { display: flex; align-items: flex-start; gap: 10px; }
.halo-preview .alerts-bell { display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; border: 1px solid rgb(226 188 126 / 65%); border-radius: 50%; color: #e2bc7e; }
.halo-preview .alerts-card-words { flex: 1; min-width: 0; }
.halo-preview .alerts-card-text { margin: 0; font-size: 12px; line-height: 1.45; }
.halo-preview .alerts-card-text + .alerts-card-text { margin-top: 6px; }
.halo-preview :is(.alerts-card-text, .alerts-steps)[hidden] { display: none; }
.halo-preview .alerts-steps { margin: 6px 0 0; padding-left: 20px; color: #d8e1d4; font-size: 12px; line-height: 1.45; }
.halo-preview .alerts-steps li + li { margin-top: 4px; }
.halo-preview .alerts-primary { display: block; width: 100%; min-height: 44px; margin: 10px 0 0; padding: 0 14px; border: 0; border-radius: 5px; color: #10201f; background: #8fd0cb; font: inherit; font-size: 13px; font-weight: 650; text-shadow: none; }
.halo-preview .alerts-primary:hover:not(:disabled) { background: #a7ddd8; }
.halo-preview .alerts-later { display: block; width: 100%; min-height: 44px; margin: 0; padding: 0 12px; border: 0; border-radius: 5px; color: #b4c5ba; background: transparent; font: inherit; font-size: 12px; }
.halo-preview .alerts-later:hover { color: #e0e9dc; background: rgb(188 217 194 / 6%); }
.halo-preview :is(.alerts-primary, .alerts-later, .alerts-action)[hidden] { display: none; }
.halo-preview :is(.alerts-primary, .alerts-action):disabled { opacity: .5; cursor: default; }
.halo-preview :is(.alerts-primary, .alerts-later, .alerts-action):focus-visible { outline: 2px solid #8fd0cb; outline-offset: 3px; }

/* Réglages : sous-titre, ligne d'état, un bouton, « Prévenez-moi pour : », les cases (étiquette cliquable de 44 px), l'aperçu. */
.halo-preview .alerts-settings { display: grid; gap: 6px; margin-bottom: 10px; }
.halo-preview .alerts-settings-title { margin: 4px 0 0; color: #ece4d2; font-size: 14px; font-weight: 600; line-height: 1.3; }
.halo-preview .alerts-status { display: flex; align-items: baseline; gap: 8px; margin: 0; color: #cfdcd2; font-size: 12px; line-height: 1.45; }
/* L'état se lit au texte ; le point turquoise ne fait que l'accompagner. */
.halo-preview .alerts-settings[data-state="actives"] .alerts-status::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: #8fd0cb; transform: translateY(-1px); }
.halo-preview .alerts-action { width: 100%; min-height: 44px; margin: 4px 0 0; padding: 0 12px; border: 1px solid rgb(143 208 203 / 60%); border-radius: 6px; color: #a9e2dd; background: rgb(39 78 75 / 28%); font: inherit; font-size: 12px; font-weight: 600; }
.halo-preview .alerts-action:hover:not(:disabled) { background: rgb(52 104 99 / 42%); }
.halo-preview .alerts-prefs[hidden] { display: none; }
.halo-preview .alerts-prefs-title { margin: 12px 0 2px; padding-top: 12px; border-top: 1px solid rgb(164 195 178 / 14%); color: #e6ede2; font-size: 12px; font-weight: 600; }
.halo-preview .alerts-options { display: grid; }
.halo-preview .alerts-option { display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 0; color: #d8e1d4; font-size: 12px; cursor: pointer; }
.halo-preview .alerts-option input { flex: 0 0 auto; width: 20px; height: 20px; margin: 0; accent-color: #8fd0cb; cursor: pointer; }
.halo-preview .alerts-option input:focus-visible { outline: 2px solid #8fd0cb; outline-offset: 4px; }
.halo-preview .alerts-option:has(input:disabled) { opacity: .55; cursor: default; }
.halo-preview .alerts-option-note { margin: -8px 0 6px 32px; font-size: 11px; line-height: 1.4; }
.halo-preview .alerts-quiet { margin: -4px 0 0; font-size: 11px; line-height: 1.4; }
.halo-preview .alerts-hide { margin-top: 8px; padding-top: 6px; border-top: 1px solid rgb(164 195 178 / 14%); }

/* L'aperçu : une notification d'écran verrouillé, verre clair et coins ronds du téléphone, police du système. */
.halo-preview .alerts-preview { margin-top: 10px; padding: 8px 10px 10px; border: 1px solid rgb(164 195 178 / 16%); border-radius: 8px; background: rgb(10 21 21 / 22%); }
.halo-preview .alerts-preview-label { margin: 0 0 7px; color: #a4b3a9; font-size: 9px; letter-spacing: 2.4px; text-transform: uppercase; }
.halo-preview .alerts-preview-card { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 18px; color: #f4f2ec; background: rgb(214 224 218 / 13%); box-shadow: 0 6px 18px rgb(0 0 0 / 28%), inset 0 1px rgb(255 255 255 / 12%); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-shadow: none; }
.halo-preview .alerts-preview-icon { flex: none; width: 38px; height: 38px; border-radius: 9px; }
.halo-preview .alerts-preview-body { flex: 1; min-width: 0; }
.halo-preview .alerts-preview-body p { margin: 0; overflow: hidden; font-size: 12.5px; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; }
.halo-preview .alerts-preview-top { display: flex; gap: 8px; }
.halo-preview .alerts-preview-app { flex: 1; min-width: 0; overflow: hidden; color: rgb(244 242 236 / 72%); font-size: 11px; text-overflow: ellipsis; }
.halo-preview .alerts-preview-when { flex: none; color: rgb(244 242 236 / 60%); font-size: 11px; }
.halo-preview .alerts-preview-body .alerts-preview-title { font-weight: 650; }
.halo-preview .alerts-preview-text { color: rgb(244 242 236 / 88%); }

@media (prefers-reduced-motion: reduce) { .halo-preview :is(.alerts-card, .alerts-settings) * { transition: none; animation: none; } }
