.portal-submenu-quick {
  display: block;
  padding: 10px 0;
  margin-bottom: 8px;
  color: #003472;
  font-weight: 700;
}

.name-check { background: #f6f5f1; padding-bottom: clamp(42px,6vw,80px); }
.name-check-hero {
  background: linear-gradient(90deg,#071e38 12%,#003472 64%,#00347255 100%),
    #003472 url('/assets/brand-architecture.webp') right 44% / auto 155% no-repeat;
  color: white;
  padding: 24px 0 clamp(70px,8vw,104px);
}
.name-check-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: #e0ecfa;
  font-size: .875rem;
}
.name-check-breadcrumb [aria-current] { color: #e8c9a3; }
.name-check-hero-copy { max-width: 640px; }
.name-check-hero h1 { color: white; font-size: clamp(2rem,4.2vw,3.7rem); font-weight: 700; }
.name-check-hero-copy p { color: #e6eef8; margin-block: 13px 14px; font-size: clamp(.94rem,1.55vw,1.125rem); }
.name-check-hero-copy a { display: inline-block; padding: 6px 0; color: #f5d8b7; text-decoration: underline; text-underline-offset: 4px; }
.name-check-hero :focus-visible { outline-color: #ffdcb2; }

.name-check-main { position: relative; margin-top: -44px; }
.name-check-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #cbd7e4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 13px 38px #102a4612;
}
.name-check-builder, .name-check-receipt { padding: clamp(20px,3.1vw,36px); }
.name-check-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.name-check h2 { color: #102a46; font-size: clamp(1.25rem,2.45vw,1.8rem); }
.name-check fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.name-check .name-check-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 3px;
  background: #edf3f9;
  border: 1px solid #dae4ee;
  border-radius: 8px;
  color: #344b62;
}
.name-check-mode label { display: flex; align-items: center; gap: 5px; min-height: 36px; padding: 4px 8px; cursor: pointer; border-radius: 5px; font-size: .875rem; }
.name-check-mode label:has(input:checked) { background: #fff; color: #003472; font-weight: 700; }
.name-check-mode input, .name-check-consent input { accent-color: #003472; }
.name-check-fields { display: grid; gap: 16px; }
.name-check-composer { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr) minmax(0,1.3fr) minmax(0,1fr); }
.name-check-fields label { min-width: 0; color: #112f4b; font-weight: 600; }
.name-check-fields label span { color: #974008; }
.name-check-fields input, .name-check-fields select {
  display: block;
  width: 100%;
  padding: 9px 12px;
  min-height: 46px;
  margin-top: 6px;
  border: 1px solid #aabfd3;
  border-radius: 7px;
  background: #fff;
  color: #112f4b;
  font-size: 16px;
  font-weight: 400;
}
.name-check-fields input::placeholder { color: #50667d; opacity: 1; }
.name-check-preview {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 22px;
  padding: 15px 18px;
  background: #edf3f9;
  border-left: 3px solid #a37144;
  border-radius: 0 8px 8px 0;
  color: #344b62;
}
.name-check-preview>div { min-width: 0; }
.name-check-preview span, .name-check-preview small { font-size: .875rem; }
.name-check-preview p { margin: 3px 0 0; color: #102a46; font-size: clamp(1.05rem,2.3vw,1.4rem); font-weight: 700; overflow-wrap: anywhere; }

.name-check-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(148px,17%) auto;
  align-items: end;
  gap: 14px 16px;
}
.name-check-row button { grid-area: 1 / 3; min-height: 46px; white-space: nowrap; }
.name-check-consent { grid-column: 1 / -1; justify-self: end; display: flex; align-items: center; gap: 9px; min-width: 0; max-width: 100%; color: #344b62; font-size: .875rem; line-height: 1.65; }
.name-check-consent input { flex-shrink: 0; }
.name-check-consent input[aria-invalid="true"] { outline: 2px solid #a13014; outline-offset: 2px; }
.name-check-consent a { color: #003472; text-decoration: underline; text-underline-offset: .18em; }
.name-check [data-name-check-error] { grid-column: 1 / -1; margin: 0; color: #a13014; font-size: .875rem; }
.name-check [data-name-check-reference] { overflow-wrap: anywhere; }
.name-check [hidden] { display: none; }

.name-check-resources { margin-top: clamp(36px,6vw,66px); scroll-margin-top: 18px; }
.name-check-resources h2 { margin-bottom: clamp(16px,2.5vw,26px); font-size: clamp(1.65rem,2.7vw,2.2rem); }
.name-check-resources h2 span { color: #82501f; }
.name-check-rules {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  border: 1px solid #193a59;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg,#08223e33 0%,#0a264aeb 53%,#071e38 100%),
    #102e51 url('/assets/name-check-office.webp') center 45% / cover no-repeat;
}
.name-check-rules article {
  min-width: 0;
  padding: clamp(108px,10vw,142px) clamp(14px,1.55vw,24px) 24px;
  box-shadow: inset -1px -1px #e1edff30;
}
.name-check-rules article:nth-child(even) { background: #16467542; }
.name-check-rules h3 {
  margin: 0;
  padding-top: 11px;
  border-top: 2px solid var(--brand-gold,#e8c9a3);
  color: #fff;
  font-size: clamp(1rem,1.3vw,1.125rem);
  line-height: 1.45;
}
.name-check-rules p { margin: 8px 0 0; color: #e3ecf6; font-size: .9rem; line-height: 1.65; }
.name-check-reading { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.name-check-reading a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 15px; padding: 14px 18px; border: 1px solid #cddbe9; border-radius: 8px; background: #edf3f9; color: #003472; }
.name-check-reading a:hover { text-decoration: underline; }
.name-check-reading a>span { font-size: .875rem; }

@media(max-width:1120px) {
  .name-check-rules {
    grid-template-columns: repeat(3,minmax(0,1fr));
    background-image: linear-gradient(180deg,#08223e6b 0%,#0a264af0 31%,#071e38 100%), url('/assets/name-check-office.webp');
  }
  .name-check-rules article { padding-block: 22px; }
  .name-check-rules article:nth-child(-n+3) { padding-top: 82px; }
}
@media(max-width:1020px) {
  .name-check-row { grid-template-columns: minmax(0,1fr) auto; }
  .name-check-row > fieldset { grid-column: 1 / -1; }
  .name-check-row button { grid-area: 2 / 2; }
}
@media(max-width:820px) {
  .name-check-composer { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
  .name-check-rules {
    grid-template-columns: repeat(2,minmax(0,1fr));
    background-image: linear-gradient(180deg,#08223e6b 0%,#0a264af0 17%,#071e38 100%), url('/assets/name-check-office.webp');
    background-position: center top;
    background-size: auto, auto 260px;
  }
  .name-check-rules article:nth-child(3) { padding-top: 22px; }
}
@media(max-width:480px) {
  .name-check-hero { padding-top: 16px; background-size: auto, auto 100%; }
  .name-check-breadcrumb { margin-bottom: 18px; }
  .name-check-main { margin-top: -32px; }
  .name-check-section-head { margin-bottom: 16px; }
  .name-check-composer, .name-check-reading { grid-template-columns: minmax(0,1fr); }
  .name-check-row { grid-template-columns: minmax(0,1fr); }
  .name-check-row button { grid-area: auto; width: 100%; }
}
