/* Onglet Brouillons de Work Mail (2 nov. 2026) */
.br-filtres { display: flex; gap: 8px; padding: 4px 16px 12px; overflow-x: auto; }
.br-filtre { flex: none; font-size: 14px; padding: 7px 12px; border-radius: 16px; border: 1px solid #d8d8de; background: #fff; color: #1c1c1e; }
.br-filtre.actif { background: #1c1c1e; color: #fff; border-color: #1c1c1e; }
.br-vider { display: block; margin: 0 16px 12px; width: calc(100% - 32px); height: 46px; border: none; border-radius: 12px; background: #007aff; color: #fff; font-size: 16px; font-weight: 600; }
.br-item { display: flex; gap: 12px; align-items: center; padding: 12px 16px; background: #fff; border-bottom: 0.5px solid #e5e5ea; list-style: none; cursor: pointer; }
.br-avatar { flex: none; width: 40px; height: 40px; border-radius: 20px; background: #8e8e93; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.br-centre { flex: 1; min-width: 0; }
.br-ligne1 { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.br-nom { font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-objet { font-size: 14px; color: #636366; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.br-tag { flex: none; font-size: 12px; padding: 2px 8px; border-radius: 8px; }
.br-tag-pret { background: #e3f5e4; color: #1e6b27; }
.br-tag-question { background: #fff1cc; color: #7a5200; }
.br-tag-modifie { background: #e6eefb; color: #0a4fa8; }
.br-tag-plus-tard { background: #efeff4; color: #636366; }
.br-chargement, .br-vide, .br-erreur { list-style: none; padding: 20px 16px; color: #636366; font-size: 15px; }
.br-erreur { color: #b3261e; }

body.br-ouvert { overflow: hidden; }
.br-vue { position: fixed; inset: 0; z-index: 900; background: #fff; display: flex; flex-direction: column; font-family: -apple-system, "Helvetica Neue", Arial, sans-serif; color: #111; padding-bottom: env(safe-area-inset-bottom); }
.br-vue[hidden] { display: none; }
.br-entete { display: flex; justify-content: space-between; align-items: center; padding: calc(env(safe-area-inset-top) + 10px) 16px 10px; border-bottom: 0.5px solid #e5e5ea; }
.br-retour { border: none; background: none; color: #007aff; font-size: 17px; padding: 8px 0; min-height: 44px; }
.br-position { font-size: 14px; color: #636366; }
.br-defile { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.br-questions { background: #fff6dc; border-bottom: 1px solid #f0e2b5; padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.br-questions-titre { margin: 0; font-size: 13px; font-weight: 600; color: #7a5200; }
.br-question { text-align: left; border: 1px solid #d9c27f; background: #fff; color: #5c3d00; border-radius: 10px; padding: 10px 12px; font-size: 15px; line-height: 1.4; min-height: 44px; }
.br-meta { padding: 12px 16px 0; font-size: 14px; color: #636366; }
.br-sujet { margin: 4px 16px 10px; font-size: 18px; font-weight: 600; }
.br-corps { display: block; width: calc(100% - 32px); margin: 0 16px; min-height: 160px; border: none; }
.br-signature { margin: 8px 16px; font-size: 13px; color: #636366; }
.br-fil { margin: 10px 16px 16px; font-size: 14px; color: #636366; }
.br-fil summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; }
.br-fil-texte { white-space: pre-wrap; font-family: inherit; font-size: 13px; background: #f7f7fa; padding: 10px; border-radius: 10px; }
.br-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px 16px; border-top: 0.5px solid #e5e5ea; }
.br-actions button { height: 46px; border-radius: 12px; border: 1px solid #d8d8de; background: #fff; color: #111; font-size: 16px; }
.br-actions .br-envoyer { background: #007aff; border-color: #007aff; color: #fff; font-weight: 600; }
.br-actions .br-supprimer { color: #b3261e; }
.br-actions button:disabled, .br-commentaire button:disabled { opacity: 0.5; }
.br-message { margin: 0; padding: 0 16px; min-height: 18px; font-size: 14px; color: #636366; }
.br-message.succes { color: #1e6b27; }
.br-message.erreur { color: #b3261e; }
.br-commentaire { padding: 8px 16px 12px; background: #f7f7fa; border-top: 0.5px solid #e5e5ea; }
.br-commentaire label { display: block; font-size: 12px; color: #636366; margin-bottom: 6px; }
.br-ligne-saisie { display: flex; gap: 8px; align-items: center; }
.br-ligne-saisie input { flex: 1; min-width: 0; height: 44px; border-radius: 12px; border: 1px solid #d8d8de; padding: 0 12px; font-size: 16px; background: #fff; }
.br-micro, .br-soumettre { flex: none; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.br-micro { border: 1px solid #d8d8de; background: #fff; color: #111; }
.br-soumettre { border: none; background: #007aff; color: #fff; }
.br-erreur-champ { margin: 6px 0 0; font-size: 13px; color: #b3261e; min-height: 0; }
.br-actions .br-joindre { grid-column: 1 / -1; background: #f2f2f7; }
.br-pieces { margin: 4px 16px 8px; display: flex; flex-direction: column; gap: 6px; }
.br-pieces[hidden] { display: none; }
.br-pieces-titre { margin: 0; font-size: 13px; font-weight: 600; color: #636366; }
.br-piece { font-size: 14px; background: #f7f7fa; border-radius: 10px; padding: 8px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-icloud { margin: 8px 16px 12px; padding: 12px; border-radius: 12px; background: #f2f7ff; border: 1px solid #cfe0fb; font-size: 15px; line-height: 1.4; }
.br-icloud[hidden] { display: none; }
.br-icloud p, .br-icloud ol { margin: 0 0 8px; }
.br-icloud ol { padding-left: 20px; }
.br-icloud-titre { font-weight: 600; }
.br-icloud-ok { flex: none; height: 44px; padding: 0 14px; border: none; border-radius: 12px; background: #007aff; color: #fff; font-size: 15px; font-weight: 600; }
.br-icloud-erreur { color: #b3261e; font-size: 13px; min-height: 0; }
.br-icloud-mail { width: 100%; height: 44px; border-radius: 12px; border: 1px solid #d8d8de; background: #fff; color: #111; font-size: 15px; }
.br-conversation { margin: 12px 16px 4px; display: flex; flex-direction: column; gap: 8px; }
.br-conversation[hidden] { display: none; }
.br-anciens summary { min-height: 40px; display: flex; align-items: center; font-size: 14px; color: #007aff; cursor: pointer; }
.br-anciens-liste { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.br-bulle { background: #f2f2f7; border-radius: 14px; padding: 10px 12px; }
.br-bulle-moi { background: #e6eefb; }
.br-bulle-tete { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: #636366; margin-bottom: 4px; }
.br-bulle-de { font-weight: 600; color: #1c1c1e; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-bulle-date { flex: none; }
.br-bulle-texte { font-size: 15px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; color: #1c1c1e; }
.br-ta-reponse { margin: 14px 16px 0; font-size: 13px; font-weight: 600; color: #636366; text-transform: uppercase; letter-spacing: .02em; }
.br-note-fil { margin: 6px 16px 16px; font-size: 13px; color: #8e8e93; }
.br-transfert { margin: 4px 16px 16px; padding: 12px; border-radius: 12px; background: #f7f7fa; border: 1px solid #e5e5ea; display: flex; flex-direction: column; gap: 6px; }
.br-transfert[hidden] { display: none; }
.br-transfert-titre { margin: 0 0 4px; font-weight: 600; font-size: 15px; }
.br-transfert label { font-size: 12px; color: #636366; }
.br-transfert input, .br-transfert textarea { font-size: 16px; border: 1px solid #d8d8de; border-radius: 10px; padding: 10px 12px; background: #fff; font-family: inherit; }
.br-transfert input { height: 44px; }
.br-transfert-erreur { margin: 0; color: #b3261e; font-size: 13px; }
.br-transfert-boutons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.br-transfert-boutons button { height: 44px; border-radius: 12px; font-size: 15px; border: 1px solid #d8d8de; background: #fff; color: #111; }
.br-transfert-boutons .br-transfert-ok { background: #007aff; border-color: #007aff; color: #fff; font-weight: 600; }
.br-actions .br-transferer { grid-column: 1 / -1; }
.br-suggestions { list-style: none; margin: 0; padding: 4px; border: 1px solid #d8d8de; border-radius: 12px; background: #fff; max-height: 260px; overflow-y: auto; }
.br-suggestions[hidden] { display: none; }
.br-suggestion { width: 100%; min-height: 48px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 6px 10px; border: none; background: none; border-radius: 8px; text-align: left; }
.br-suggestion:active { background: #f2f2f7; }
.br-suggestion-nom { font-size: 15px; font-weight: 600; color: #1c1c1e; }
.br-suggestion-adresse { font-size: 13px; color: #636366; }
