/* NNS brand layout: scoped to public access and collection pages. */
body[data-nns-brand-layout="20261030"] .registration .reg-header {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto auto;
  align-items:center;
  gap:14px 24px;
  padding:18px 8px 22px;
}
body[data-nns-brand-layout="20261030"] .registration .reg-header .reg-brand {
  display:block;
  width:clamp(230px,23vw,290px);
  max-width:100%;
  min-width:0;
  margin:0;
  grid-column:1;
  grid-row:1;
}
body[data-nns-brand-layout="20261030"] .reg-header .reg-brand>img,
body[data-nns-brand-layout="20261030"] .ic-public-head>img {
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  aspect-ratio:1010/330;
  object-fit:contain;
}
body[data-nns-brand-layout="20261030"] .registration .reg-header>div {
  display:block;
  min-width:0;
  grid-column:2;
  grid-row:1;
}
body[data-nns-brand-layout="20261030"] .registration .reg-header>.reg-login-link {
  grid-column:3;
  grid-row:1;
  margin:0;
}
body[data-nns-brand-layout="20261030"] .registration .reg-header>button {
  grid-column:4;
  grid-row:1;
  margin:0;
}
body[data-nns-brand-layout="20261030"] .reg-header .btn,
body[data-nns-brand-layout="20261030"] .ic-public-head>.btn {
  min-height:44px;
  white-space:nowrap;
  line-height:1.2;
}
body[data-nns-brand-layout="20261030"] .ic-public-head {
  display:grid;
  grid-template-columns:minmax(210px,280px) minmax(0,1fr) auto;
  align-items:center;
  gap:20px;
  padding:8px 0 20px;
  margin-bottom:24px;
}
body[data-nns-brand-layout="20261030"] .ic-public-head>div {min-width:0}
body[data-nns-brand-layout="20261030"] .nns-login-signature {
  display:block;
  width:min(100%,220px);
  margin:0 auto 24px;
}
body[data-nns-brand-layout="20261030"] .nns-login-signature img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:865/1000;
  object-fit:contain;
}
@media(max-width:760px) {
  body[data-nns-brand-layout="20261030"] .registration .reg-header {
    grid-template-columns:minmax(0,1fr) auto auto;
    gap:8px 10px;
    padding:14px 3px 18px;
  }
  body[data-nns-brand-layout="20261030"] .registration .reg-header .reg-brand {
    width:min(100%,246px);
    grid-column:1 / span 2;
  }
  body[data-nns-brand-layout="20261030"] .registration .reg-header>div {
    grid-column:1 / -1;
    grid-row:2;
  }
  body[data-nns-brand-layout="20261030"] .registration .reg-header .reg-header-sub {display:none}
  body[data-nns-brand-layout="20261030"] .registration .reg-header .eyebrow {
    font-size:10px;
    line-height:1.5;
    letter-spacing:.13em;
  }
  body[data-nns-brand-layout="20261030"] .registration .reg-header .btn {
    min-width:0;
    padding:10px 12px;
    font-size:12px;
  }
  body[data-nns-brand-layout="20261030"] .registration .reg-header:has(>button) .reg-brand {
    grid-column:1 / -1;
  }
  body[data-nns-brand-layout="20261030"] .registration .reg-header:has(>button)>div {
    grid-column:1;
  }
  body[data-nns-brand-layout="20261030"] .registration .reg-header:has(>button)>.reg-login-link {
    grid-column:2;
    grid-row:2;
  }
  body[data-nns-brand-layout="20261030"] .registration .reg-header>button {
    grid-column:3;
    grid-row:2;
  }
  body[data-nns-brand-layout="20261030"] .ic-public-head {
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px 12px;
    padding:4px 0 18px;
    margin-bottom:22px;
  }
  body[data-nns-brand-layout="20261030"] .ic-public-head>img {
    grid-column:1 / -1;
    width:min(100%,246px);
  }
  body[data-nns-brand-layout="20261030"] .ic-public-head>div {font-size:12px;line-height:1.5}
  body[data-nns-brand-layout="20261030"] .ic-public-head>.btn {padding:10px 12px;font-size:12px}
}
@media(max-width:520px) {
  body[data-nns-brand-layout="20261030"] .nns-login-v72-page {padding-top:22px}
  body[data-nns-brand-layout="20261030"] .nns-login-signature {
    width:min(100%,190px);
    margin-bottom:20px;
  }
}
