/* Le document est le seul défileur de la page Accueil : défilement conservé (molette, clavier,
   trackpad), barre masquée. */
html:has(body[data-active-surface="home"]){background:transparent;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}

body[data-active-surface="home"]{
  box-sizing:border-box;
  min-width:900px;
  min-height:100vh;
  margin:0;
  background:transparent;
  overflow-x:hidden;
  overflow-y:auto;
  font-family:var(--v3-home-font,"Plus Jakarta Sans","Segoe UI",Arial,sans-serif);
}

body[data-active-surface="home"]::before{
  content:"";
  position:fixed;
  z-index:0;
  inset:0;
  border-radius:var(--v3-home-radius-shell);
  background:var(--fi-gradient-canvas);
  box-shadow:0 12px 30px rgba(36,46,79,.18);
  pointer-events:none;
}

body[data-active-surface="home"]>#workspaceHome[data-ui="v3"]{z-index:1}

body[data-active-surface="home"] *,
body[data-active-surface="home"] *::before,
body[data-active-surface="home"] *::after{box-sizing:border-box}

#workspaceHome[data-ui="v3"] button,
#workspaceHome[data-ui="v3"] input,
#workspaceHome[data-ui="v3"] select,
#workspaceHome[data-ui="v3"] textarea{font:inherit}

#workspaceHome[data-ui="v3"] :focus-visible,
.v3-home-sidebar[data-ui="v3"] :focus-visible{outline:2px solid #8ba0ef;outline-offset:2px}

/* V3 : aucune barre de défilement visible ; le défilement (molette, clavier, programme) reste actif. */
*{scrollbar-width:none}
