/* Registration editor — consolidated stylesheet. Existing cascade and responsive rules preserved. */

body.na-registration-page .na-standard-columns.na-layout-one:has(details.accordion[open] #mainForm.reg-editor-ready) {
  max-width: none;
  width: 100%;
}
body.na-registration-page .na-registration-copy.container-profil:has(details.accordion[open] #mainForm.reg-editor-ready) {
  max-width: none;
  width: 100%;
}
body.na-registration-page .na-registration-copy:has(#mainForm.reg-editor-ready)>:not(details):not(.form-errors) {
  max-width: 800px;
}
body.na-registration-page .na-registration-copy>details.accordion[open]:has(#mainForm.reg-editor-ready) {
  max-width: 100%;
  width: 100%;
  animation: reg-expand .5s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes reg-expand {
  from {
    clip-path: inset(0 max(0px,calc(100% - 800px)) -8px -3px);
  }
  to {
    clip-path: inset(0 -8px -8px -3px);
  }
}
body.na-registration-page #mainForm.reg-editor-ready {
  width: 100%;
  margin: 0;
  padding: clamp(.5rem,2vw,2rem);
}
#mainForm.reg-editor-ready [hidden] {
  display: none !important;
}
#mainForm .reg-progress-label,#mainForm .reg-draft-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-size: .76rem;
  letter-spacing: .09em;
}
#mainForm .reg-progress-track {
  height: 5px;
  overflow: hidden;
}
#mainForm #reg-progress-fill {
  height: 100%;
  width: 0;
  background: var(--reg-current-color,#222);
  transition: width .7s cubic-bezier(.18,.8,.2,1),background .4s ease;
  position: relative;
}
#mainForm #reg-progress-fill::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #181818;
}
#mainForm .reg-editor-layout {
  display: grid;
  grid-template-columns: minmax(0,clamp(210px,24%,320px)) minmax(0,1fr);
  align-items: start;
}
#mainForm .reg-chapter-nav {
  display: grid;
  min-width: 0;
}
body.na-registration-page #mainForm .reg-chapter-nav button {
  gap: .5rem;
  background: transparent;
  border: 0;
  border-left: 4px solid var(--chapter-color,transparent);
  border-radius: 0;
  box-shadow: none;
  color: #222;
  width: 100%;
  height: auto;
  min-height: 3.2rem;
  margin: 0;
  padding: .75rem .65rem;
  font: inherit;
  font-size: clamp(.8rem,1vw,1rem);
  line-height: 1.25;
  cursor: pointer;
}
body.na-registration-page #mainForm .reg-chapter-nav :is(#reg-reset,#reg-resume-open) {
  display: block;
  border: 0;
  min-height: 0;
  background: transparent;
}
#mainForm .reg-chapter-content {
  min-width: 0;
}
#mainForm .reg-chapter {
  min-width: 0;
  animation: reg-in .3s ease both;
}
@keyframes reg-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
#mainForm .reg-chapter>br {
  display: none;
}
#mainForm .reg-chapter :is(input,textarea,select,.url-wrapper,.filter-dropdown,.tags-container-register,.filepond--root) {
  max-width: 100%;
  box-sizing: border-box;
}
#mainForm .reg-chapter> :is(input[type=text],input[type=email],input[type=tel],textarea,select) {
  display: block;
  width: 100%;
  margin-bottom: .85rem;
}
body.na-registration-page #mainForm.reg-editor-ready .reg-chapter textarea {
  min-height: 13rem;
  resize: vertical;
}
#mainForm .reg-chapter .na-reg-upload-label {
  display: block;
  margin: 1rem 0 .35rem;
}
#mainForm .reg-chapter .url-wrapper {
  margin-bottom: .8rem;
}
#mainForm .reg-chapter .na-reg-section-label {
  margin: 1.2rem 0 .65rem !important;
}
#mainForm .reg-role-search label {
  display: block;
  font-size: .82rem;
  margin-bottom: .5rem;
}
#mainForm .reg-role-search input {
  width: 100%;
  height: 3.45rem;
  padding: .8rem;
  border: 0;
  border-radius: 0;
  background: #f7f7f7;
  color: #222;
  font: inherit;
}
body.na-registration-page #mainForm .reg-role-list {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr));
  position: relative;
  width: 100%;
  height: auto;
  max-height: none;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
#mainForm .reg-role-list .role-label:has(input:checked) {
  background: var(--na-reg-filled-bg,#e2deab);
}
#mainForm .reg-role-list .role-label:focus-within {
  outline: 2px solid #555;
}
#mainForm .reg-role-list .role-label input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
#mainForm .reg-role-list .role-label span {
  display: block;
  position: static;
  flex: 1;
  width: auto;
  height: auto;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  white-space: normal;
}
#mainForm .reg-role-list .role-label span::before {
  content: none !important;
}
#mainForm .reg-role-list .role-label::after {
  content: "+";
  font-size: 1.2rem;
  margin-left: .5rem;
}
#mainForm .reg-role-list .role-label:has(input:checked)::after {
  content: "✓";
}
body.na-registration-page #mainForm .reg-chapter-actions button,body.na-registration-page #mainForm #reg-preview {
  width: auto;
  min-width: 9rem;
  max-width: 100%;
  height: auto;
  min-height: 3rem;
  margin: 0;
  padding: .8rem 1.25rem;
  border: 0;
  border-radius: 0;
  background: #171717;
  color: #fff;
  box-shadow: none;
  font: inherit;
  cursor: pointer;
}
body.na-registration-page #mainForm #reg-back {
  background: transparent;
  border: 1px solid #999;
  color: #222;
}
#mainForm #reg-back:disabled {
  opacity: .35;
  cursor: default;
}
#mainForm #reg-next {
  margin-left: auto;
}
#mainForm #reg-preview {
  display: block;
  margin-top: 1.5rem;
}
#mainForm #reg-recommendations {
  border-top: 1px solid #aaa;
  margin-top: 1.5rem;
  padding-top: 1rem;
}
#mainForm #reg-recommendations h3 {
  font-size: 1.1rem;
  margin: 0 0 .5rem;
}
body.na-registration-page #mainForm .reg-recommendation {
  display: block;
  width: 100%;
  height: auto;
  text-align: left;
  background: transparent;
  color: #222;
  box-shadow: none;
  border: 0;
  border-bottom: 1px solid #bbb;
  border-radius: 0;
  padding: .65rem 0;
  margin: 0;
  font: inherit;
  font-size: .85rem;
  white-space: normal;
  cursor: pointer;
}
#mainForm .reg-chapter-nav button:focus-visible,#mainForm .reg-chapter-actions button:focus-visible,#mainForm .tag-register:focus-visible {
  outline: 2px solid #222;
  outline-offset: 2px;
}
@media (max-width:760px) {
  #mainForm .reg-editor-layout {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  #mainForm .reg-chapter-nav {
    grid-template-columns: repeat(2,minmax(0,1fr));
    border: 0;
    padding: 0;
  }
  body.na-registration-page #mainForm .reg-chapter-nav button {
    font-size: .75rem;
    padding: .55rem .35rem;
    min-height: 2.8rem;
    gap: .25rem;
  }
  body.na-registration-page #mainForm .reg-role-list {
    grid-template-columns: 1fr;
  }
  #mainForm .reg-chapter {
    scroll-margin-top: 5rem;
  }
}
@media (max-width:380px) {
  #mainForm .reg-chapter-nav {
    grid-template-columns: 1fr;
  }
  body.na-registration-page #mainForm .reg-chapter-actions button {
    min-width: 0;
  }
}
@media (prefers-reduced-motion:reduce) {
  #mainForm .reg-chapter,#mainForm #reg-progress-fill,body.na-registration-page details.accordion[open]:has(#mainForm.reg-editor-ready) {
    animation: none;
    transition: none;
  }
}
body.na-registration-page #mainForm .reg-role-list .role-label:hover {
  background: var(--na-reg-focus-bg,#cad6e0);
}
body.na-registration-page #mainForm .reg-role-list .role-label:has(input:checked):hover {
  background: var(--na-reg-filled-bg,#e2deab);
}
body.na-registration-page #mainForm.reg-editor-ready .filter-dropdown {
  max-width: none;
}
body.na-registration-page #mainForm.reg-editor-ready .tags-container-register {
  max-width: none;
  width: 100%;
}
body.na-registration-page #mainForm.reg-editor-ready .reg-chapter-nav button:focus-visible {
  outline: 2px solid #222;
  outline-offset: 2px;
}
body.na-registration-page .na-editorial-content.na-standard-content:has(#mainForm.reg-editor-ready) {
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
}
body.na-registration-page .na-standard-columns.na-layout-one:has(details.accordion[open] #mainForm.reg-editor-ready),
body.na-registration-page .na-registration-copy.container-profil:has(details.accordion[open] #mainForm.reg-editor-ready),
body.na-registration-page .na-registration-copy.container-profil > details.accordion[open]:has(#mainForm.reg-editor-ready) {
  width: 100%;
  max-width: none !important;
  min-width: 0;
}
body.na-registration-page #mainForm.reg-editor-ready {
  box-sizing: border-box;
  container-type: inline-size;
  max-width: none !important;
}
body.na-registration-page #mainForm .reg-role-list {
  inset: auto;
  overflow: visible;
  max-width: none;
  gap: .3rem;
  margin: 0;
}
body.na-registration-page #mainForm .reg-role-list .role-label span {
  font-size: clamp(.82rem,1vw,1rem);
  flex: 0 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: center;
  font: inherit !important;
  letter-spacing: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}
body.na-registration-page #mainForm .reg-role-list .role-label::after {
  content: none;
}
body.na-registration-page #mainForm .reg-role-list .role-label:has(input:checked),
body.na-registration-page #mainForm .reg-role-list .role-label:has(input:checked):hover {
  background: var(--color-21,#a00101);
  color: var(--color-14,#fff);
}
body.na-registration-page #mainForm .reg-role-list .role-label:has(input:checked)::after {
  content: none;
}
body.na-registration-page #mainForm .reg-role-list .role-label[hidden] {
  display: none !important;
}
@container (min-width: 1050px) {
  #mainForm .tags-grid-register,body.na-registration-page #mainForm .reg-role-list {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}
@container (max-width: 660px) {
  #mainForm .reg-editor-layout {
    grid-template-columns: minmax(0,1fr);
    gap: 1.4rem;
  }
  #mainForm .reg-chapter-nav {
    grid-template-columns: repeat(2,minmax(0,1fr));
    border: 0;
    padding: 0;
  }
  body.na-registration-page #mainForm .reg-chapter-nav button {
    font-size: .8rem;
    padding: .55rem .35rem;
    gap: .25rem;
    min-height: 2.8rem;
  }
}
@container (max-width: 380px) {
  #mainForm .reg-chapter-nav, #mainForm .tags-grid-register,body.na-registration-page #mainForm .reg-role-list {
    grid-template-columns: minmax(0,1fr);
  }
}
body.na-registration-page .na-registration-copy.container-profil > details.accordion[open]:has(#mainForm.reg-editor-ready) {
  width: 100%;
  max-width: 1500px !important;
  min-width: 0;
  margin-left: 0;
  margin-right: auto;
}
body.na-registration-page #mainForm .reg-chapter-nav button[data-chapter] {
  font-weight: 400;
}
body.na-registration-page #mainForm .reg-chapter-nav button[data-chapter]:hover:not(.active) {
  background: transparent;
}
body.na-registration-page #mainForm .reg-role-list,
body.na-registration-page #mainForm #registration-languages .na-languages-options {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .3rem;
}
body.na-registration-page #mainForm #registration-languages .dropdown-list {
  position: static;
  display: block !important;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
  max-height: none;
  overflow: visible;
}
body.na-registration-page #mainForm #registration-languages .na-languages-options {
  max-height: none;
  overflow: visible;
  padding: 0;
  margin: 0;
}
body.na-registration-page #mainForm #registration-languages .checkbox-label {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-width: 0;
  min-height: var(--na-reg-input-height,3.45rem);
  margin: 0;
  padding: .5rem 1.55rem;
  box-sizing: border-box;
  background: var(--na-reg-field-bg,#fafafa);
  border: 1px solid transparent;
  color: #222;
  cursor: pointer;
  overflow: hidden;
}
body.na-registration-page #mainForm .reg-role-list .role-label {
  position: relative;
  margin: 0;
  box-sizing: border-box;
  color: #222;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-width: 0;
  min-height: var(--na-reg-input-height,3.45rem);
  height: 100%;
  gap: 0;
  border: 1px solid transparent;
  background: var(--na-reg-field-bg,#fafafa);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .0825rem;
  line-height: 1.15;
  overflow: hidden;
  padding: .5rem 1.55rem;
}
body.na-registration-page #mainForm #registration-languages .na-language-name {
  display: block;
  min-height: 0;
  height: auto;
  width: auto;
  padding: 0 !important;
  margin: 0;
  background: none !important;
  border: 0 !important;
  box-shadow: none;
  color: inherit !important;
  font: inherit;
  letter-spacing: .0825rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
body.na-registration-page #mainForm #registration-languages .na-language-name::before,body.na-registration-page #mainForm #registration-languages .na-language-name::after {
  content: none !important;
}
body.na-registration-page #mainForm :is(.reg-role-list .role-label,#registration-languages .checkbox-label):hover:not(:has(input:checked)) {
  background: #e5e5e5;
  color: #222;
}
body.na-registration-page #mainForm #registration-languages .checkbox-label:has(input:checked) {
  background: var(--color-21,#a00101);
  color: var(--color-14,#fff);
}
body.na-registration-page #mainForm #registration-languages .checkbox-label[hidden] {
  display: none !important;
}
@media (max-width:760px) {
  body.na-registration-page .na-registration-copy.container-profil > details.accordion[open]:has(#mainForm.reg-editor-ready) {
    width: 100%;
  }
}
@container (max-width:380px) {
  body.na-registration-page #mainForm .reg-role-list,body.na-registration-page #mainForm #registration-languages .na-languages-options {
    grid-template-columns: minmax(0,1fr);
  }
}
body.na-registration-page .na-standard-columns.na-layout-one:has(> .na-registration-copy > details.accordion[open]),
body.na-registration-page .na-registration-copy.container-profil:has(> details.accordion[open]) {
  width: 100% !important;
  max-width: 1500px !important;
  min-width: 0;
}
body.na-registration-page .na-registration-copy.container-profil > details.accordion[open] {
  width: 100% !important;
  max-width: 1500px !important;
  box-sizing: border-box;
  background-color: #efefef !important;
}
body.na-registration-page .na-registration-copy.container-profil > details.accordion[open] > #mainForm {
  background-color: #efefef !important;
}
body.na-registration-page .na-registration-copy.container-profil > details.accordion:not([open]) {
  max-width: 800px;
}
body.na-registration-page #mainForm :is(#tag-grid .tag-register,.reg-role-list .role-label,#registration-languages .checkbox-label) {
  --reg-mark-size: 2.34375rem;
  position: relative;
  letter-spacing: .0825rem;
}
body.na-registration-page #mainForm :is(.reg-role-list .role-label,#registration-languages .checkbox-label) {
  padding: .5rem 1.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
}
body.na-registration-page #mainForm :is(#tag-grid .tag-register,.reg-role-list .role-label,#registration-languages .checkbox-label)::before {
  content: none;
  position: absolute;
  top: .2rem;
  left: .2rem;
  font-family: inherit;
  font-size: var(--reg-mark-size);
  font-weight: lighter;
  line-height: 1rem;
  letter-spacing: .0825rem;
  pointer-events: none;
}
body.na-registration-page #mainForm :is(#tag-grid .tag-register:not(.selected),.reg-role-list .role-label:not(:has(input:checked)),#registration-languages .checkbox-label:not(:has(input:checked))):is(:hover,:focus-visible,:focus-within) {
  background-color: #e5e5e5;
  color: var(--color-11,#171717);
}
body.na-registration-page #mainForm :is(#tag-grid .tag-register:not(.selected),.reg-role-list .role-label:not(:has(input:checked)),#registration-languages .checkbox-label:not(:has(input:checked))):is(:hover,:focus-visible,:focus-within)::before {
  content: "+";
  color: var(--color-11,#171717);
}
body.na-registration-page #mainForm :is(#tag-grid .tag-register.selected,.reg-role-list .role-label:has(input:checked),#registration-languages .checkbox-label:has(input:checked)) {
  background-color: var(--color-21,#a00101);
  color: var(--color-14,#fff);
}
body.na-registration-page #mainForm :is(#tag-grid .tag-register.selected,.reg-role-list .role-label:has(input:checked),#registration-languages .checkbox-label:has(input:checked))::before {
  content: "×";
  color: var(--color-14,#fff);
  font-size: var(--reg-mark-size);
  font-weight: lighter;
  line-height: 1rem;
}
body.na-registration-page #mainForm :is(.reg-role-list .role-label,#registration-languages .checkbox-label)::after {
  content: none;
}
#mainForm .reg-chapter:focus {
  outline: none;
}
#mainForm .reg-chapter-actions {
  display: flex;
  margin-top: var(--reg-actions-margin-top,2rem);
  padding-top: var(--reg-actions-padding-top,0px);
  justify-content: flex-end;
  align-items: center;
  gap: 0;
}
body.na-registration-page #mainForm .reg-chapter-actions button:is(#reg-back,#reg-next) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(9.245rem,45%);
  min-width: 0;
  height: auto;
  min-height: 0;
  aspect-ratio: 9.245 / 9.45;
  box-sizing: border-box;
  margin: 0;
  padding: min(.945rem,3.6%) min(.8425rem,3.2%);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #171717;
  box-shadow: none;
  flex: 0 0 auto;
  line-height: 1;
}
body.na-registration-page #mainForm .reg-chapter-actions button svg {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
body.na-registration-page #mainForm .reg-chapter-actions button:not(:disabled):hover {
  color: var(--color-21,#a00101);
}
body.na-registration-page #mainForm .reg-chapter-actions button:disabled {
  opacity: .35;
  cursor: default;
}
#mainForm .reg-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
#mainForm .reg-editor-head {
  margin-bottom: 2.15rem;
}
#mainForm .reg-progress-label {
  font-size: 0;
  line-height: 1;
}
#mainForm .reg-progress-badge {
  justify-content: center;
}
#mainForm .reg-progress-track {
  background: #c8c8c8;
  margin: .45rem 0 .85rem;
}
#mainForm .reg-draft-line {
  color: #555;
  flex-wrap: wrap;
  padding-right: .05rem;
}
#mainForm .reg-editor-layout {
  gap: clamp(1rem,2.5vw,3rem);
}
#mainForm .reg-chapter-nav {
  padding-right: 0;
}
body.na-registration-page #mainForm .reg-chapter-nav button {
  display: grid;
  grid-template-columns: 2em minmax(0,1fr);
  align-items: center;
  text-align: left;
  letter-spacing: .0825em;
}
body.na-registration-page #mainForm .reg-chapter-nav button.active {
  font-weight: 400;
}
body.na-registration-page #mainForm .reg-chapter-nav button:hover,body.na-registration-page #mainForm .reg-chapter-nav button.active {
  background: var(--chapter-color);
  color: #171717;
}
@media (max-width:760px) {
  #mainForm .reg-progress-label {
    justify-content: flex-start;
  }
  #mainForm .reg-progress-badge {
    min-width: 3rem;
    height: 3rem;
    font-size: 1.15rem;
  }
  body.na-registration-page #mainForm .reg-chapter-nav button {
    letter-spacing: .0825em;
  }
}
#mainForm .reg-progress-label {
  align-items: flex-start;
  justify-content: flex-end;
}
#mainForm .reg-progress-badge {
  align-items: center;
  display: inline-block;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #ad5681;
  font-size: 2.56rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: none;
}
#mainForm .reg-chapter-nav {
  margin-right: 0;
  --reg-nav-bleed: 0px;
  margin-left: calc(-1 * var(--reg-nav-bleed));
}
body.na-registration-page #mainForm .reg-chapter-nav button[data-chapter] {
  border: 0;
  display: block;
  padding: .85rem 1rem .85rem 1.15rem;
  border-left: 0;
  text-transform: none;
  padding-left: calc(var(--reg-nav-bleed) + 1.15rem);
}
body.na-registration-page #mainForm .reg-chapter-nav :is(#reg-reset,#reg-resume-open) {
  text-underline-offset: .2em;
  text-decoration: none;
  margin-top: 1.35rem;
  padding: .2rem 0 .2rem .05rem;
  letter-spacing: .0825em;
  text-transform: none;
  box-sizing: border-box;
  width: 100%;
  margin-left: 0;
  padding-left: calc(var(--reg-nav-bleed) + 1.15rem);
}
@media (max-width:760px) {
  #mainForm .reg-chapter-nav {
    margin-left: 0;
    --reg-nav-bleed: 0px !important;
  }
  body.na-registration-page #mainForm .reg-chapter-nav button[data-chapter],body.na-registration-page #mainForm .reg-chapter-nav :is(#reg-reset,#reg-resume-open) {
    padding-left: 1.15rem;
  }
}
@container (max-width:660px) {
  #mainForm .reg-chapter-nav {
    margin-left: 0;
    --reg-nav-bleed: 0px !important;
  }
  body.na-registration-page #mainForm .reg-chapter-nav button[data-chapter],body.na-registration-page #mainForm .reg-chapter-nav :is(#reg-reset,#reg-resume-open) {
    padding-left: 1.15rem;
  }
}
body.na-registration-page #mainForm #reg-progress-value {
  font-size: 5.12rem;
  color: #171717;
}
body.na-registration-page #mainForm #reg-progress-fill {
  background: #171717;
}
body.na-registration-page details.accordion:not([open]):has(#mainForm) > summary.reg-accordion-toggle {
  background: #f1f1f1 !important;
}
body.na-registration-page details.accordion[open]:has(#mainForm) > summary.reg-accordion-toggle {
  background: var(--reg-current-color,var(--na-palette-1)) !important;
}
/* Portrait starts in near-black; later chapters retain their palette. */
body.na-registration-page details.accordion[open]:has(#mainForm .reg-chapter-nav button[data-chapter="0"].active) > summary.reg-accordion-toggle {
  background: #171717 !important;
  color: #fff !important;
}
body.na-registration-page details.accordion[open]:has(#mainForm .reg-chapter-nav button[data-chapter="0"].active) > summary.reg-accordion-toggle :is(.reg-accordion-label,.reg-accordion-icon) {
  color: inherit !important;
}
body.na-registration-page #mainForm .reg-chapter-nav button[data-chapter="0"].active {
  background: #171717;
  color: #fff;
}
body.na-registration-page #mainForm .reg-chapter-nav :is(#reg-reset,#reg-resume-open):hover {
  background: transparent;
  color: var(--reg-current-color,var(--na-palette-1));
  filter: brightness(.75);
}
body.na-registration-page #mainForm .reg-chapter-content {
  container-type: inline-size;
}
/* Keep the desktop navigation at the bottom of a common minimum-height
   chapter area. Long chapters and uploads remain in normal document flow.
   Match the existing viewport and form-container layout breakpoints. */
@media (min-width:761px) {
  @container (width > 660px) {
    body.na-registration-page #mainForm.reg-editor-ready .reg-chapter-content {
      display: flex;
      flex-direction: column;
      align-self: stretch;
      min-height: 38rem;
      --reg-actions-margin-top: auto;
      --reg-actions-padding-top: 2rem;
    }
  }
}
body.na-registration-page #mainForm #registration-languages,
body.na-registration-page #mainForm #registration-languages #languages-list,
body.na-registration-page #mainForm #registration-languages .na-languages-options {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin-inline: 0 !important;
}
body.na-registration-page #mainForm #registration-languages .na-languages-options {
  grid-template-columns: repeat(2,minmax(0,1fr));
}
@container (min-width:760px) {
  body.na-registration-page #mainForm #registration-languages .na-languages-options {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}
@container (max-width:420px) {
  body.na-registration-page #mainForm #registration-languages .na-languages-options {
    grid-template-columns: minmax(0,1fr);
  }
}
body.na-registration-page #form-errors {
  display: none !important;
}
body.na-registration-page #mainForm .reg-inline-error {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  margin: .45rem 0 .3rem;
  background: none;
  border: 1px solid #000;
  padding: .8rem 1rem;
  color: #727272;
  font-size: .82rem;
  letter-spacing: .035em;
  line-height: 1.4;
  font-weight: 400;
  overflow-wrap: anywhere;
}
body.na-registration-page #mainForm .reg-inline-error[hidden] {
  display: none !important;
}
body.na-registration-page #mainForm .reg-inline-error>span:first-child {
  color: #171717;
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 500;
  flex: none;
}
body.na-registration-page #mainForm .reg-inline-error+ :is(input,textarea,select) {
  margin-top: 0;
}
body.na-registration-page #mainForm #reg-preview {
  margin-top: 3rem;
  margin-bottom: .75rem;
  background: var(--reg-current-color,var(--na-palette-3));
  color: #171717;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.na-registration-page #mainForm #reg-preview:hover:not(:disabled) {
  filter: brightness(.94);
}
body.na-registration-page #mainForm #reg-preview:focus-visible {
  outline: 2px solid #171717;
  outline-offset: 3px;
}
body.na-registration-page .reg-field-warning {
  position: fixed;
  z-index: 900;
  box-sizing: border-box;
  max-width: min(340px,calc(100vw - 16px));
  padding: .8rem 1rem;
  background: #171717;
  color: #e7e7e7;
  border: 1px solid #000;
  border-radius: 0;
  box-shadow: 0 3px 9px #0002;
  font-size: .9rem;
  line-height: 1.45;
  letter-spacing: .035em;
  pointer-events: none;
  overflow-wrap: anywhere;
}
body.na-registration-page .reg-field-warning::after {
  content: "";
  position: absolute;
  left: var(--reg-warning-tip,24px);
  top: 100%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #171717;
  border-bottom: 0;
}
body.na-registration-page .reg-field-warning.reg-warning-below::after {
  top: auto;
  bottom: 100%;
  border-top: 0;
  border-bottom: 8px solid #171717;
}
body.na-registration-page #mainForm .reg-chapter-nav :is(#reg-reset,#reg-resume-open) {
  color: var(--reg-current-color,var(--na-palette-1));
  font-size: .98rem;
}
body.na-registration-page #mainForm #reg-validation-notice:not([hidden]) {
  background: #171717;
  color: #e7e7e7;
  padding: .8rem 1rem;
  border-radius: 0;
}
body.na-registration-page #mainForm #reg-validation-notice>span:first-child {
  color: #e7e7e7;
}
body.na-registration-page details.accordion:not([open]) > .reg-accordion-toggle {
  background: transparent !important;
}
#mainForm .reg-chapter-nav {
  border-right: 0;
  gap: .3rem;
}
body.na-registration-page #mainForm .reg-chapter-nav button[data-chapter] {
  box-sizing: border-box;
  width: 100%;
  margin-left: 0;
  min-height: 2.72rem;
  padding-top: .72rem;
  padding-bottom: .72rem;
}
#mainForm .reg-draft-line {
  font-size: .792rem;
  letter-spacing: .0825em;
}

/* Registration: timing and support beside the percentage, above the progress track. */
body.na-registration-page #mainForm .reg-progress-label {
  align-items: center;
}
body.na-registration-page #mainForm .reg-progress-label .reg-chapter-note {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0 0 0 1.15rem;
  box-sizing: border-box;
  font: inherit;
  font-size: clamp(.8rem,1vw,1rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: .0825em;
  color: #222;
  text-align: left;
  overflow-wrap: anywhere;
}
body.na-registration-page #mainForm .reg-progress-label .reg-chapter-note > div + div {
  margin-top: .35em;
}
body.na-registration-page #mainForm .reg-progress-label .reg-progress-badge {
  flex: 0 0 auto;
}
@media (max-width:760px) {
  body.na-registration-page #mainForm .reg-progress-label .reg-chapter-note {
    font-size: .75rem;
    padding-left: 0;
  }
}
@container (max-width:660px) {
  body.na-registration-page #mainForm .reg-progress-label .reg-chapter-note {
    font-size: .8rem;
    padding-left: 0;
  }
}
@media (max-width:480px) {
  body.na-registration-page #mainForm .reg-progress-label {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
  }
  body.na-registration-page #mainForm .reg-progress-label .reg-chapter-note {
    flex-basis: 100%;
  }
}

/* Secure continuation link: isolated dialog, no changes to the chapter layout. */
body.na-registration-page #mainForm .reg-chapter-nav :is(#reg-reset,#reg-resume-open) {
  grid-column: 1 / -1;
}
body.na-registration-page #mainForm .reg-chapter-nav #reg-resume-open {
  font-weight: 600;
  margin-top: calc(1em - .3rem);
}
body.na-registration-page #mainForm .reg-chapter-nav #reg-reset {
  font-weight: 400;
}
body.na-registration-page #mainForm .reg-chapter-nav #reg-reset:not(:hover) {
  color: #777;
}
body.na-registration-page #mainForm .reg-chapter-nav #reg-resume-open:not(:hover) {
  color: #171717;
}
body.na-registration-page #mainForm .reg-chapter-nav #reg-resume-open[hidden] { display:none; }
.reg-dialog { width:min(90vw,600px); max-width:90vw; max-height:90vh; box-sizing:border-box; border:1px solid #000; border-radius:0; padding:clamp(20px,4vw,40px); background:#f9f9f9; color:#141414; overflow:auto; }
.reg-dialog::backdrop { background:rgb(0 0 0 / 55%); }
.reg-dialog h2 { margin:0 0 1em; }
.reg-dialog label { display:block; margin:1em 0 .4em; }
#reg-resume-email { display:block; width:100%; box-sizing:border-box; padding:.8em; border:1px solid #d8d8d8; background:#fff; color:#141414; font:inherit; }
/* Equal, square action buttons. Use the existing site palette. */
body.na-registration-page .reg-dialog-buttons {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: 1fr;
  gap: .3em;
}
body.na-registration-page .reg-dialog .reg-dialog-buttons > button {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 2.75em;
  margin: 0;
  padding: .75em 1em;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--na-palette-2, #9dafc4);
  color: #141414;
  font: inherit;
  letter-spacing: .0625em;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}
body.na-registration-page .reg-dialog .reg-dialog-buttons > button[value="delete"] {
  background: var(--na-palette-7, #c98c73);
}
body.na-registration-page .reg-dialog .reg-dialog-buttons > .reg-dialog-close {
  background: var(--na-palette-6, #a8ae84);
}
body.na-registration-page .reg-dialog .reg-dialog-buttons > button:not(:disabled):hover {
  background: #000;
  color: #fff;
}
body.na-registration-page .reg-dialog .reg-dialog-buttons > button:focus-visible {
  outline: 1px solid #000;
  outline-offset: 2px;
}
body.na-registration-page .reg-dialog .reg-dialog-buttons > button:disabled {
  opacity: .5;
  cursor: default;
}
#reg-resume-result:empty { display: none; }
.reg-dialog, .reg-dialog :is(h2,p,label,input,button) { letter-spacing:.0625em; }
body.na-registration-page :is(#reg-resume-result, #reg-save-status)[data-error="true"] {
  display: block;
  box-sizing: border-box;
  border: 1px solid #000;
  border-radius: 0;
  padding: .6em .8em;
  overflow-wrap: anywhere;
}

/* Optional profile recommendations: original external arrow, consistent tracking. */
body.na-registration-page #mainForm #reg-recommendations > p,
body.na-registration-page #mainForm #reg-recommendations .reg-recommendation {
  letter-spacing: .025em;
}
body.na-registration-page #mainForm #reg-recommendations .reg-recommendation::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: .35em;
  vertical-align: -.1em;
  background-color: currentColor;
  -webkit-mask: url("/grafic/pfeil-extern.svg") center / contain no-repeat;
  mask: url("/grafic/pfeil-extern.svg") center / contain no-repeat;
  transform: rotate(90deg);
}

/* Registration entry: original open-sided design, 150% desktop scale. */
@media screen and (min-width: 1161px) {
  body.na-registration-page details.accordion > summary.reg-accordion-toggle {
    height: 3.75rem;
    min-height: 3.75rem;
    padding-inline: 3.75rem;
    font-size: 1.125rem;
    letter-spacing: .151875rem;
    border-left: 0 !important;
    border-right: 0 !important;
  }
  body.na-registration-page details.accordion > summary.reg-accordion-toggle .reg-accordion-label {
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: .151875rem;
  }
  body.na-registration-page details.accordion > summary.reg-accordion-toggle .reg-accordion-icon {
    left: 1.125rem;
    width: 2.1rem;
    height: 100%;
  }
  body.na-registration-page details.accordion > summary.reg-accordion-toggle .reg-accordion-icon::before,
  body.na-registration-page details.accordion > summary.reg-accordion-toggle .reg-accordion-icon::after {
    width: 1.5rem;
    height: 1.875px;
  }
}
