/* This validation-only shell removes the frozen app's public-site chrome. */
.p0u1r-member-preview #app > .site-header,
.p0u1r-member-preview #app > footer {
  display: none !important;
}
.p0u1r-member-hydrating #content > :not(.page-skeleton) { visibility: hidden; }

/* Member desktop shell: one sidebar width and one shared content gutter.
   Mobile drawer/navigation rules below 768px remain unchanged. */
@media (min-width: 768px) {
  .p0u1r-member-preview .portal-shell[data-role=MEMBER] {
    --member-sidebar-width: 220px;
    --member-desktop-gutter: clamp(20px, 2.4vw, 36px);
    min-height: 100vh;
  }
  .p0u1r-member-preview .portal-shell[data-role=MEMBER] > aside {
    top: 0;
    width: var(--member-sidebar-width);
    max-width: none;
    padding-top: 24px;
    transform: none;
  }
  .p0u1r-member-preview .portal-shell[data-role=MEMBER] .portal-main {
    margin-left: var(--member-sidebar-width);
    width: calc(100% - var(--member-sidebar-width));
    min-height: 100vh;
  }
  .p0u1r-member-preview .portal-shell[data-role=MEMBER] .portal-main > header {
    padding-inline: var(--member-desktop-gutter);
    gap: 20px;
  }
  .p0u1r-member-preview .portal-shell[data-role=MEMBER] .portal-menu,
  .p0u1r-member-preview .portal-shell[data-role=MEMBER] .v2-menu-close {
    display: none;
  }
  .p0u1r-member-preview .portal-shell[data-role=MEMBER] .portal-content,
  .p0u1r-member-preview .portal-shell[data-role=MEMBER] .family-context-panel {
    width: calc(100% - 2 * var(--member-desktop-gutter));
    max-width: 1280px !important;
    margin-inline: auto;
    box-sizing: border-box;
  }
  .p0u1r-member-preview .portal-shell[data-role=MEMBER] .portal-content {
    padding: 24px !important;
  }
  .p0u1r-member-preview .portal-shell[data-role=MEMBER] .family-context-panel {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .p0u1r-member-preview .portal-shell[data-role=MEMBER] .identity-wrap {
    min-width: 0;
    max-width: 48%;
    text-align: right;
  }
  .p0u1r-member-preview .portal-shell[data-role=MEMBER] .identity-wrap .account-kind {
    color: #c9dcd5;
    font-weight: 500;
  }
}
@media (min-width: 1200px) {
  .p0u1r-member-preview .portal-shell[data-role=MEMBER] {
    --member-sidebar-width: 248px;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .p0u1r-member-preview .portal-shell[data-role=MEMBER] .vr5-overview > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .p0u1r-member-preview .portal-shell[data-role=MEMBER] .vr5-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .p0u1r-member-preview .portal-shell[data-role=MEMBER] .vr5-current {
    grid-column: 1 / -1;
  }
}
