/* Auth-gate visibility rules kept last so they win across the shell. */

#authGate[hidden]{
  display:none !important;
}

body.signed-out{
  overflow:auto;
}

body.signed-out .app{
  display:none !important;
}

body.signed-out[data-section="connectors"]{
  overflow:hidden;
}

body.signed-out[data-section="connectors"] .app{
  display:grid !important;
}

body.signed-in #authGate{
  display:none;
}

body.signed-out #authGate{
  display:block !important;
}

body.signed-out[data-section="connectors"] #authGate{
  display:none !important;
}
