.cmp-account-home {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: .2rem clamp(1rem, 4vw, 4rem);
  text-align: left;
}
.cmp-account-home a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.cmp-account-home[hidden], .cmp-photo-personal-menu[hidden] { display: none !important; }
html[data-cmp-home-role="photographer"] #gallery-account-menu > :not(h2):not(.cmp-photo-personal-menu),
html[data-cmp-home-role="photographer"] #gallery-menu > #member-menu,
html[data-cmp-home-role="photographer"] .cmp-member-menu #gallery-menu > a[href*="member-dashboard.php"],
html[data-cmp-home-role="photographer"] #gallery-menu > [data-cmp-dashboard] { display: none !important; }
.cmp-photo-personal-menu { display: grid; }

/* Fachbereiche liegen für Ultraadmins auf dem Dashboard. Die bestehende
   Kontosteuerung bleibt bedienbar; die öffentliche Galerie-Navigation bleibt sichtbar. */
html[data-cmp-home-role="admin"] #gallery-account-menu > :not(h2):not(.cmp-ultra-personal-menu):not(#remember-login):not(#logout):not(.gallery-menu-notice),
html[data-cmp-home-role="admin"] #gallery-menu > #member-menu,
html[data-cmp-home-role="admin"] .cmp-member-menu #gallery-menu > a[href*="member-dashboard.php"],
html[data-cmp-home-role="admin"] #gallery-menu > [data-cmp-dashboard] { display: none !important; }
.cmp-ultra-personal-menu { display: grid; }
.cmp-ultra-personal-menu p:empty { display: none; }

.cmp-lightbox-home {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 24px;
  color: inherit;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .2em;
}
