/*!
 * Atlas — gestionnaire immobilier. Version 1.85.0.
 * Copyright (c) 2026 Systegon. Tous droits reserves.
 *
 * Ce fichier et son contenu sont protégés par le droit d'auteur
 * (code de la propriété intellectuelle, art. L112-2 et L122-6).
 * Leur reproduction, adaptation ou réutilisation, même partielle,
 * est interdite sans autorisation écrite de Systegon.
 *
 * https://atlas.systegon.com — contact-atlas@systegon.com
 */
/* LA VISIONNEUSE DE DOCUMENTS
 * Voir public/js/visionneuse.js : en mode application, il n'y a ni barre
 * d'adresse ni retour, et un PDF ouvert par le lecteur natif est sans issue.
 * Cette couche a donc toujours une croix, et elle est la première chose qu'on
 * voit — pas un détail au fond d'une barre. */
.vsn{
  position:fixed;inset:0;z-index:9000;display:flex;flex-direction:column;
  background:var(--bg, #05070f);
  /* Sous l'encoche et au-dessus de la barre gestuelle : en mode application,
     rien ne les réserve pour nous. */
  padding-top:env(safe-area-inset-top);
  padding-bottom:env(safe-area-inset-bottom);
}
.vsn-barre{
  display:flex;align-items:center;gap:10px;flex:0 0 auto;
  padding:10px 12px;border-bottom:var(--filet,1px) solid var(--line, #1e2a35);
  background:var(--panel, #0b1018);
}
.vsn-titre{
  flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:14.5px;font-weight:600;color:var(--ink, #e8eef2);
}
.vsn-fermer,.vsn-hors{
  flex:0 0 auto;display:flex;align-items:center;justify-content:center;
  width:40px;height:40px;border:0;border-radius:var(--r-sm,11px);
  background:var(--panel-2, rgba(255,255,255,.06));color:var(--ink, #e8eef2);
  font-size:17px;line-height:1;text-decoration:none;cursor:pointer;
}
.vsn-fermer:active,.vsn-hors:active{background:var(--accent, #3b82f6);color:#fff;}
.vsn-corps{
  flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;
  padding:12px;text-align:center;
}
.vsn-page{
  display:block;margin:0 auto 12px;border-radius:var(--r-xs,8px);background:#fff;
  box-shadow:0 2px 14px rgba(0,0,0,.35);max-width:100%;height:auto;
}
.vsn-etat{margin:26px 0;color:var(--mist, #9fb0bb);font-size:13.5px;}
