/* LBN Meet dans un navigateur et sur téléphone : ce qui diffère de la fenêtre de l'application Windows. */
html.web .bandeau { display: none; }
html.web, html.web body { height: 100%; height: 100dvh; }
html.web #vue { padding-top: 30px; }
html.web .lateral, html.web .marque { -webkit-app-region: none; }
.haut, .onglets-bas, .voile { display: none; }
html.web #toasts { top: 18px; }
html.web #reunion-active { display: none; }
/* Pas d'animation d'entrée ici : une vue ne doit jamais rester invisible si le navigateur retarde l'animation (téléphone lent, onglet en arrière-plan). */
html.web .vue, html.web .boite, html.web .toast { animation: none; }

@media (max-width: 860px) {
  html.web .cadre { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; }
  .haut { display: flex; align-items: center; gap: 10px; background: var(--lateral); color: #fff; padding: calc(env(safe-area-inset-top, 0px) + 8px) 12px 8px; }
  .haut img { width: 34px; height: 26px; }
  .haut strong { font-size: 16px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: -.01em; }
  .haut button { border: 0; background: rgba(255,255,255,.12); color: #fff; border-radius: 10px; height: 40px; min-width: 40px; display: grid; place-items: center; font-weight: 600; padding: 0 12px; }
  .haut .haut-menu { padding: 0; background: none; }
  .lateral { position: fixed; inset: 0 auto 0 0; width: min(300px, 84vw); z-index: 40; transform: translateX(-104%); transition: transform .2s ease-out; padding-top: calc(env(safe-area-inset-top, 0px) + 14px); padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); box-shadow: 0 0 40px rgba(0,0,0,.35); }
  html.menu-ouvert .lateral { transform: none; }
  html.menu-ouvert .voile { display: block; position: fixed; inset: 0; background: rgba(7,20,41,.5); z-index: 39; }
  #nav button { padding: 12px 10px; font-size: 15px; }
  .compte button { height: 38px; }
  html.web #vue { padding: 16px 14px 22px; }
  .onglets-bas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--surface); border-top: 1px solid var(--bord); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .onglets-bas button { border: 0; background: none; color: var(--texte-3); display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 7px; font-size: 11px; font-weight: 600; min-width: 0; }
  .onglets-bas button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .onglets-bas button[aria-current=page] { color: var(--accent); }
  .tete { flex-wrap: wrap; align-items: flex-start; margin-bottom: 16px; gap: 10px; }
  .tete h1 { font-size: 22px; }
  .tete .droite { margin-left: 0; flex-wrap: wrap; width: 100%; }
  .tete .droite input[type=search] { flex: 1; }
  .horloge { display: none !important; }
  .actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
  .action { min-height: 0; padding: 14px 12px 12px; gap: 9px; }
  .action .ico { width: 40px; height: 40px; }
  .action strong { font-size: 14px; }
  .btn { height: 42px; } .btn.petit { height: 36px; padding: 0 12px; }
  input[type=text], input[type=search], input[type=date], input[type=time], input[type=email], select { height: 42px; font-size: 16px; }
  .liste li { padding: 11px 14px; gap: 10px; }
  .liste .txt { flex-basis: calc(100% - 60px); }
  .liste .txt strong, .liste .txt small { white-space: normal; }
  .carte > header { padding: 13px 14px 9px; }
  .reglages { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .reglages nav { flex-direction: row; overflow-x: auto; position: static; padding-bottom: 4px; scrollbar-width: none; }
  .reglages nav::-webkit-scrollbar { display: none; }
  .reglages nav button { white-space: nowrap; flex: none; background: var(--surface); border: 1px solid var(--bord); padding: 8px 12px; }
  .champ { flex-wrap: wrap; padding: 13px 14px; gap: 10px; }
  .champ .lib { flex-basis: calc(100% - 60px); }
  .champ select, .champ input[type=text], .niveau, .apercu-cam { width: 100%; }
  .champ > div { width: 100%; }
  .themes button { flex: 1; padding: 8px 6px; } .themes i { width: 100%; }
  .cal .jour { min-height: 48px; padding: 4px; align-items: center; }
  .cal .jour span { width: 6px; height: 6px; padding: 0; border-radius: 50%; background: var(--accent); font-size: 0; flex: none; }
  .cal .jour small { display: none; }
  .table td, .table th { padding: 8px 12px; }
  .boite { padding: 18px 16px 16px; width: calc(100vw - 24px); }
  .boite .ligne, .boite .ligne.deux { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .boite .pied { flex-wrap: wrap; } .boite .pied .btn { flex: 1 1 auto; }
  .boite .copie { flex-wrap: wrap; } .boite .copie input { flex-basis: 100%; }
  html.web #toasts { left: 14px; right: 14px; top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 76px); }
  .toast { max-width: none; }
  .onglets-v { width: 100%; } .onglets-v button { flex: 1; }
}
@media (max-width: 380px) { .actions { grid-template-columns: minmax(0, 1fr); } .action { flex-direction: row; align-items: center; } }
@media (max-width: 860px) { .actions.six { grid-template-columns: repeat(2, minmax(0, 1fr)); } .salles { grid-template-columns: minmax(0, 1fr); } }
