/* Landing header account controls: independent from the limited local utility bundle. */
.landing-header { z-index: 1000; }
.landing-header-actions { max-width: 52%; }
.landing-user-link { max-width: 15rem; min-width: 0; color: #334155; }
.landing-user-name { display: inline-block; max-width: 10rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.landing-user-avatar, .landing-user-avatar-fallback { flex: 0 0 2rem; }
.landing-logout-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .55rem .8rem; border: 1px solid #e2e8f0; border-radius: .75rem;
  color: #475569; background: #fff; font-size: .8125rem; font-weight: 600;
  white-space: nowrap; transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.landing-logout-button:hover { color: #be123c; background: #fff1f2; border-color: #fecdd3; }
.landing-admin-link { white-space: nowrap; }
.landing-mobile-account { display: flex; align-items: center; gap: .75rem; padding: .65rem .75rem .9rem; margin-bottom: .35rem; border-bottom: 1px solid #f1f5f9; }
.landing-mobile-account img { flex: 0 0 2.5rem; }
@media (max-width: 1023px) {
  .landing-header-actions { gap: .35rem; max-width: 60%; }
  .landing-user-name { max-width: 8rem; }
  .landing-logout-form { display: none; }
}
@media (max-width: 767px) {
  .landing-header-actions { max-width: 48%; }
  .landing-user-name { display: none; }
  .landing-user-link { padding: .2rem; }
  .landing-login-link, .landing-register-link { display: none; }
}
@media (max-width: 380px) {
  .landing-header .container { padding-left: .65rem; padding-right: .65rem; }
  .landing-header .ds-logo-mark { width: 2.1rem; height: 2.1rem; }
  .landing-header .landing-user-avatar, .landing-header .landing-user-avatar-fallback { width: 1.85rem; height: 1.85rem; flex-basis: 1.85rem; }
}
@media (prefers-reduced-motion: reduce) { .landing-logout-button { transition: none; } }
@media (min-width: 1024px) and (max-width: 1199px) {
  .landing-header nav a[href="#faq"] { display: none; }
  .landing-user-name { max-width: 6rem; }
  .landing-logout-button { gap: .35rem; padding: .5rem .6rem; }
}
