/* Interface principale de LBN Meet */
.bandeau { height: 40px; -webkit-app-region: drag; display: flex; align-items: center; padding-left: 232px; color: var(--texte-3); font-size: 12px; position: fixed; inset: 0 0 auto 0; z-index: 5; pointer-events: none; }
.bandeau-titre { opacity: 0; }
.cadre { display: grid; grid-template-columns: 220px 1fr; height: 100%; }
.lateral { background: var(--lateral); color: var(--lateral-texte); display: flex; flex-direction: column; padding: 14px 10px 12px; -webkit-app-region: drag; min-height: 0; }
.lateral > * { -webkit-app-region: no-drag; }
.marque { display: flex; align-items: center; gap: 10px; padding: 6px 8px 16px; -webkit-app-region: drag; }
.marque img { width: 40px; height: 30px; }
.marque strong { display: block; color: #fff; font-size: 15px; letter-spacing: -.01em; }
.marque small { display: block; font-size: 11px; color: #8FA2C4; margin-top: -2px; }
#nav { display: flex; flex-direction: column; gap: 2px; overflow: auto; flex: 1; }
#nav button { display: flex; align-items: center; gap: 11px; border: 0; background: none; color: inherit; padding: 8px 10px; border-radius: 9px; text-align: left; font-weight: 600; font-size: 13.5px; transition: background var(--duree), color var(--duree); position: relative; }
#nav button:hover { background: rgba(255,255,255,.07); color: #fff; }
#nav button[aria-current=page] { background: var(--lateral-actif); color: #fff; }
#nav button[aria-current=page]::before { content: ""; position: absolute; left: -10px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--cyan); }
#nav .sep { height: 1px; background: rgba(255,255,255,.1); margin: 8px 6px; }
#nav .pastille { margin-left: auto; background: var(--cyan); color: #06122B; font-size: 11px; font-weight: 700; border-radius: 10px; padding: 0 7px; }
.compte { border-top: 1px solid rgba(255,255,255,.1); padding: 10px 6px 0; display: flex; align-items: center; gap: 10px; }
.compte .avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #2B6CF5, #22C3E6); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.compte .qui { min-width: 0; flex: 1; line-height: 1.25; }
.compte .qui strong { display: block; color: #fff; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compte .qui small { font-size: 11.5px; color: #8FA2C4; }
.compte button { border: 0; background: rgba(255,255,255,.1); color: #fff; border-radius: 8px; height: 30px; padding: 0 10px; font-size: 12px; font-weight: 600; }
.compte button:hover { background: rgba(255,255,255,.2); }
#vue { overflow: auto; padding: 46px 34px 30px; outline: none; min-width: 0; }
.vue { max-width: 1120px; margin: 0 auto; animation: entree .22s ease-out; }
@keyframes entree { from { opacity: 0; transform: translateY(6px); } }
.tete { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.tete h1 { font-size: 26px; }
.tete p { color: var(--texte-2); margin-top: 2px; }
.tete .droite { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.horloge { text-align: right; line-height: 1.15; }
.horloge strong { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; display: block; }
.horloge small { color: var(--texte-2); }
/* Actions principales */
.actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.action { border: 1px solid var(--bord); background: var(--surface); border-radius: var(--rayon); padding: 18px 16px 16px; text-align: left; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--ombre); transition: transform var(--duree), border-color var(--duree), box-shadow var(--duree); min-height: 128px; }
.action:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--accent); }
.action:disabled { opacity: .55; cursor: not-allowed; }
.action .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; }
.action.a1 .ico { background: linear-gradient(135deg, #F97316, #EA580C); } .action.a2 .ico { background: linear-gradient(135deg, #2B6CF5, #1F5AE0); } .action.a3 .ico { background: linear-gradient(135deg, #7C5CFC, #5B3FE0); } .action.a4 .ico { background: linear-gradient(135deg, #10B981, #0E9F6E); }
.action strong { font-size: 15px; display: block; }
.action small { color: var(--texte-2); font-size: 12.5px; line-height: 1.35; display: block; }
.colonnes { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.colonnes > div { min-width: 0; }
.liste li { flex-wrap: wrap; row-gap: 6px; }
.liste .txt { flex-basis: 150px; }
.carte { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre); margin-bottom: 18px; overflow: hidden; }
.carte > header { display: flex; align-items: center; gap: 10px; padding: 14px 18px 10px; }
.carte > header h2 { font-size: 15px; }
.carte > header .droite { margin-left: auto; display: flex; gap: 6px; }
.carte .corps { padding: 0 18px 16px; }
.lien { border: 0; background: none; color: var(--accent); font-weight: 600; padding: 0; font-size: 13px; }
.lien:hover { text-decoration: underline; }
.liste { list-style: none; margin: 0; padding: 0; }
.liste li { display: flex; align-items: center; gap: 12px; padding: 11px 18px; border-top: 1px solid var(--bord); }
.liste li:hover { background: var(--surface-2); }
.date-bloc { width: 46px; flex: none; text-align: center; border-radius: 10px; background: var(--accent-doux); color: var(--accent); padding: 4px 0 5px; line-height: 1.1; }
.date-bloc b { display: block; font-size: 17px; } .date-bloc i { font-style: normal; font-size: 10.5px; text-transform: uppercase; font-weight: 700; letter-spacing: .04em; }
.liste .txt { min-width: 0; flex: 1; }
.liste .txt strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; }
.liste .txt small { color: var(--texte-2); font-size: 12.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.etiquette { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; background: var(--surface-2); color: var(--texte-2); white-space: nowrap; }
.etiquette.direct { background: var(--vert-doux); color: var(--vert); } .etiquette.attente { background: var(--ambre-doux); color: var(--ambre); } .etiquette.rouge { background: var(--rouge-doux); color: var(--rouge); }
.vide { text-align: center; padding: 26px 18px 30px; color: var(--texte-2); border-top: 1px solid var(--bord); }
.vide svg { color: var(--texte-3); margin-bottom: 6px; }
.vide p { max-width: 420px; margin: 0 auto 10px; font-size: 13px; }
.onglets-v { display: flex; gap: 4px; margin-bottom: 14px; background: var(--surface-2); padding: 4px; border-radius: 11px; width: fit-content; }
.onglets-v button { border: 0; background: none; padding: 6px 14px; border-radius: 8px; font-weight: 600; color: var(--texte-2); }
.onglets-v button[aria-selected=true] { background: var(--surface); color: var(--texte); box-shadow: 0 1px 2px rgba(11,29,58,.12); }
/* Calendrier */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--bord); border-top: 1px solid var(--bord); }
.cal .j-nom { background: var(--surface); text-align: center; font-size: 11px; font-weight: 700; color: var(--texte-3); text-transform: uppercase; padding: 7px 0; letter-spacing: .05em; }
.cal .jour { background: var(--surface); min-height: 76px; padding: 6px 7px; border: 0; text-align: left; display: flex; flex-direction: column; gap: 3px; font-size: 12px; }
.cal .jour.hors { color: var(--texte-3); background: var(--fond); }
.cal .jour.auj b { background: var(--accent); color: #fff; border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; }
.cal .jour.choisi { box-shadow: inset 0 0 0 2px var(--accent); }
.cal .jour span { background: var(--accent-doux); color: var(--accent); border-radius: 5px; padding: 1px 5px; font-size: 11px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
/* Paramètres */
.reglages { display: grid; grid-template-columns: 210px 1fr; gap: 22px; align-items: start; }
.reglages nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; }
.reglages nav button { border: 0; background: none; text-align: left; padding: 8px 12px; border-radius: 9px; font-weight: 600; color: var(--texte-2); display: flex; gap: 10px; align-items: center; }
.reglages nav button:hover { background: var(--surface-2); }
.reglages nav button[aria-current=true] { background: var(--accent-doux); color: var(--accent); }
.champ { display: flex; align-items: center; gap: 16px; padding: 13px 18px; border-top: 1px solid var(--bord); }
.champ:first-of-type { border-top: 0; }
.champ .lib { flex: 1; min-width: 0; }
.champ .lib strong { display: block; font-size: 13.5px; font-weight: 600; }
.champ .lib small { color: var(--texte-2); font-size: 12.5px; }
.champ select, .champ input[type=text] { width: 280px; }
.bascule { position: relative; width: 42px; height: 24px; flex: none; }
.bascule input { opacity: 0; width: 100%; height: 100%; margin: 0; position: absolute; cursor: pointer; z-index: 1; }
.bascule span { position: absolute; inset: 0; background: var(--bord); border-radius: 12px; transition: background var(--duree); }
.bascule span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform var(--duree); box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.bascule input:checked + span { background: var(--accent); } .bascule input:checked + span::after { transform: translateX(18px); }
.bascule input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.niveau { height: 10px; background: var(--surface-2); border-radius: 6px; overflow: hidden; width: 280px; }
.niveau i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #10B981, #22C3E6); transition: width .08s linear; }
.apercu-cam { width: 320px; aspect-ratio: 16/9; background: #0B1220; border-radius: 12px; overflow: hidden; display: grid; place-items: center; color: #8FA2C4; font-size: 12.5px; }
.apercu-cam video { width: 100%; height: 100%; object-fit: cover; }
.apercu-cam video.miroir { transform: scaleX(-1); }
.touche { font: 600 12px/1 ui-monospace, Consolas, monospace; background: var(--surface-2); border: 1px solid var(--bord); border-bottom-width: 2px; border-radius: 6px; padding: 6px 9px; min-width: 150px; text-align: center; }
.touche.saisie { border-color: var(--accent); color: var(--accent); }
.themes { display: flex; gap: 10px; }
.themes button { border: 2px solid var(--bord); background: var(--surface); border-radius: 11px; padding: 8px 12px; font-weight: 600; display: flex; flex-direction: column; gap: 6px; align-items: center; font-size: 12.5px; }
.themes button[aria-pressed=true] { border-color: var(--accent); color: var(--accent); }
.themes i { width: 74px; height: 44px; border-radius: 6px; display: block; border: 1px solid var(--bord); }
.themes .t-clair { background: linear-gradient(90deg, #0B1D3A 28%, #F4F6FA 28%); } .themes .t-sombre { background: linear-gradient(90deg, #071021 28%, #121B2E 28%); } .themes .t-systeme { background: linear-gradient(135deg, #F4F6FA 50%, #121B2E 50%); }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table td, .table th { padding: 8px 18px; border-top: 1px solid var(--bord); text-align: left; user-select: text; }
.table th { color: var(--texte-3); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.progression { height: 8px; background: var(--surface-2); border-radius: 5px; overflow: hidden; margin-top: 8px; } .progression i { display: block; height: 100%; background: var(--accent); }
/* Réunion en cours (bandeau bas) */
#reunion-active { position: fixed; left: 236px; right: 16px; bottom: 14px; background: var(--marine); color: #fff; border-radius: 14px; padding: 10px 12px 10px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 30px rgba(7,20,41,.35); z-index: 20; animation: entree .2s; }
#reunion-active[hidden] { display: none; }
#reunion-active .point { width: 9px; height: 9px; border-radius: 50%; background: #34D399; flex: none; } #reunion-active .point.partage { background: #F04452; }
#reunion-active .txt { flex: 1; min-width: 0; line-height: 1.25; } #reunion-active .txt strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #reunion-active .txt small { color: #B9C7E2; font-size: 12px; }
#reunion-active .btn { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: #fff; height: 34px; } #reunion-active .btn.danger { background: #E5303E; border-color: #E5303E; } #reunion-active .btn.coupe { background: #E5303E; border-color: #E5303E; }
/* Dialogues */
#dialogue { position: fixed; inset: 0; background: rgba(7,20,41,.5); display: grid; place-items: center; z-index: 50; animation: fondu .15s; }
#dialogue[hidden] { display: none; }
@keyframes fondu { from { opacity: 0; } }
.boite { width: min(520px, calc(100vw - 40px)); background: var(--surface); border-radius: 16px; box-shadow: 0 24px 60px rgba(7,20,41,.4); padding: 22px 24px 20px; animation: entree .18s; max-height: calc(100vh - 60px); overflow: auto; }
.boite h2 { font-size: 18px; } .boite > p { color: var(--texte-2); margin: 4px 0 16px; font-size: 13px; }
.boite label { display: block; font-weight: 600; font-size: 12.5px; margin: 12px 0 5px; }
.boite input[type=text], .boite input[type=email], .boite select, .boite textarea { width: 100%; }
.boite .ligne { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; } .boite .ligne.deux { grid-template-columns: 1fr 1fr; }
.boite .pied { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.boite .erreur { color: var(--rouge); font-size: 12.5px; margin-top: 8px; min-height: 18px; }
.boite .copie { display: flex; gap: 8px; } .boite .copie input { flex: 1; font-size: 12px; }
#toasts { position: fixed; right: 18px; top: 50px; display: flex; flex-direction: column; gap: 8px; z-index: 60; }
.toast { background: var(--marine); color: #fff; padding: 10px 14px; border-radius: 10px; box-shadow: var(--ombre); font-size: 13px; animation: entree .2s; max-width: 340px; }
.alerte { background: var(--ambre-doux); color: var(--ambre); border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px; }
.alerte.info { background: var(--accent-doux); color: var(--accent); }
.faq details { border-top: 1px solid var(--bord); padding: 12px 18px; } .faq summary { font-weight: 600; cursor: pointer; } .faq p { color: var(--texte-2); margin-top: 6px; font-size: 13px; user-select: text; }
@media (max-width: 1040px) { .actions { grid-template-columns: repeat(2, 1fr); } .colonnes { grid-template-columns: 1fr; } }

/* Mes salles, clients et projets (LBN Meet 3) */
.actions.six { grid-template-columns: repeat(3, 1fr); }
.action.a5 .ico { background: #0e7490; } .action.a6 .ico { background: #4f46e5; }
.salles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.salle { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.salle.archivee { opacity: .72; }
.salle header { display: flex; align-items: center; gap: 12px; }
.salle header .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: #fff; flex: none; }
.salle header div { min-width: 0; flex: 1; }
.salle h3 { font-size: 15px; margin: 0; line-height: 1.3; overflow-wrap: anywhere; }
.salle header small, .salle .note { color: var(--texte-2); font-size: 12.5px; }
.salle p { margin: 0; font-size: 13px; color: var(--texte-2); }
.salle .traits { list-style: none; margin: 0; padding: 0; font-size: 12.5px; color: var(--texte-2); display: grid; gap: 3px; }
.salle footer { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; align-items: center; }
.carte.client .meta { margin: 0; font-size: 13px; color: var(--texte-2); line-height: 1.7; }
.carte.client > header { flex-wrap: wrap; } .carte.client > header .droite { flex-wrap: wrap; }
.coche { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 0; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.coche input { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--accent); }
.coche small { display: block; color: var(--texte-2); font-size: 12px; font-weight: 400; }
.coches { max-height: 150px; overflow: auto; border: 1px solid var(--bord); border-radius: 10px; padding: 2px 12px 10px; }
#dialogue textarea { width: 100%; resize: vertical; font: inherit; }

/* Classes utilitaires (LBN Meet 3.2) : la politique de sécurité de l'application refuse les styles écrits dans les éléments. */
.mt-n1 { margin-top: -1px; } .mt8 { margin-top: 8px; } .mt10 { margin-top: 10px; } .maj { text-transform: capitalize; } .l100 { width: 100%; }
.selection { user-select: text; } .secondaire { color: var(--texte-2); } .fs13 { font-size: 13px; } .p16 { padding: 16px; }
.aide { color: var(--texte-2); font-size: 13px; } .aide-long { line-height: 1.6; }
.rond38 { border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; }
/* Boîtes de dialogue : jamais plus grandes que la fenêtre, défilement interne, boutons qui passent à la ligne. */
.boite { max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain; }
.boite .pied { flex-wrap: wrap; }
.boite .pied .btn { white-space: normal; text-align: center; }
/* Connexion */
.boite:has(.connexion) { width: min(620px, calc(100vw - 32px)); }
.connexion > p { margin-bottom: 14px; }
.choix-liste { display: grid; gap: 10px; }
.choix-connexion { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; border: 1px solid var(--bord); border-radius: 14px; background: var(--surface); color: var(--texte); cursor: pointer; font: inherit; }
.choix-connexion:hover, .choix-connexion:focus-visible { border-color: var(--accent); background: var(--surface-2); outline: none; box-shadow: 0 0 0 3px rgba(43, 108, 245, .25); }
.choix-connexion .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: #fff; }
.choix-connexion .txt { min-width: 0; }
.choix-connexion .txt strong { display: block; font-size: 15px; }
.choix-connexion .txt small { display: block; color: var(--texte-2); font-size: 12.5px; line-height: 1.45; margin-top: 3px; white-space: normal; }
.choix-connexion .aller { font-weight: 700; font-size: 13px; color: var(--accent); white-space: nowrap; }
.connexion-liens { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 12.5px; }
@media (max-width: 520px) { .choix-connexion { grid-template-columns: auto minmax(0, 1fr); } .choix-connexion .aller { grid-column: 2; } }
.progression i[data-progression], .maj-barre i[data-progression] { display: block; height: 100%; background: var(--accent); }
