/**
 * "Connexion & Inscription" page (template: archery-authentification-template.php).
 *
 * Loaded only on pages using that template (see inc/enqueue.php). Holds the
 * landing section (.au-land) and the auth modal (.au-overlay / .au-modal) with
 * its two tabs, the "mot de passe oublie" views, the two-step sign-up and the
 * confirmation panels. The shared design system (buttons, banner, top bar,
 * footer, mobile menu) lives in styles.css / tablet.css / mobile.css and is
 * reused as-is.
 *
 * Ported from demo/authentification.html. The prototype page-level resets
 * (body, a, .serif) and its .ui-banner overrides are dropped: the theme own
 * stylesheets and the shared inner banner already cover them.
 */

/* ============================================================
   Shared bits this page leans on
   ============================================================ */
.arr {
  display: inline-block;
}

@keyframes auBlink {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

@keyframes auFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes auPop {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.965);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes auView {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes auField {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes auSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes auPingIn {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  60% {
    transform: scale(1.12);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================================
   Landing - the page behind the modal
   ============================================================ */
.au-land {
  min-height: calc(100vh - 122px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 120px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.au-land::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(233, 81, 28, 0.08), rgba(233, 81, 28, 0) 70%);
  top: -220px;
  right: -160px;
  pointer-events: none;
}

.au-land::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(112, 203, 211, 0.16), rgba(112, 203, 211, 0) 70%);
  bottom: -220px;
  left: -140px;
  pointer-events: none;
}

.au-leye {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e9511c;
  color: #f8feff;
  border-radius: 13px;
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 26px;
}

.au-leye::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f8feff;
  animation: auBlink 1.8s ease-in-out infinite;
}

.au-ltitle {
  position: relative;
  font-family: Castoro, Georgia, serif;
  font-size: clamp(46px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0;
}

.au-ltitle i {
  color: #e9511c;
  font-style: italic;
}

.au-ldesc {
  position: relative;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.66);
  max-width: 480px;
  margin: 26px 0 36px;
}

.au-lact {
  position: relative;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.au-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 15px;
  padding: 14px 28px;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s, color 0.3s;
}

.au-btn .arr {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.au-btn:hover .arr {
  transform: translateX(3px);
}

.au-btn.k {
  background: #e9511c;
  color: #f8feff;
  border-color: #e9511c;
}

.au-btn.k:hover {
  background: #000;
  border-color: #000;
  transform: translateY(-2px);
}

.au-btn.o {
  background: transparent;
  color: #000;
  border-color: #000;
}

.au-btn.o:hover {
  background: #000;
  color: #f8feff;
  transform: translateY(-2px);
}

/* ============================================================
   Overlay + modal shell
   ============================================================ */
/* Above every piece of fixed chrome, so the backdrop dims the top bar and the
   mobile bar instead of sliding under them. The theme stack it has to beat:
   .ui-top-bar 999, nav / .ui-menu-mobile / .ui-mobile-head 9999,
   .ui-mobile-menu-wrapper 99999, body.ui-menu-open bits 100000. */
.au-overlay {
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.au-overlay.open {
  display: flex;
  animation: auFade 0.22s ease both;
}

.au-modal {
  position: relative;
  width: 100%;
  max-width: 940px;
  max-height: calc(100vh - 56px);
  overflow: hidden;
  background: #f8feff;
  border-radius: 26px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.4);
}

.au-overlay.open .au-modal {
  animation: auPop 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.au-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  font-size: 15px;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s, color 0.25s;
}

.au-close span {
  display: inline-block;
  transition: transform 0.3s;
}

.au-close:hover span {
  transform: rotate(90deg);
}

/* ============================================================
   Brand panel (sky blue, left column)
   ============================================================ */
.au-brand {
  position: relative;
  min-height: 0;
  background: #d0eff2;
  color: #000;
  padding: 52px 46px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.au-brand::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(233, 81, 28, 0.16), rgba(233, 81, 28, 0) 70%);
  top: -170px;
  right: -150px;
  pointer-events: none;
}

.au-btop {
  position: relative;
}

.au-beye {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e9511c;
  color: #f8feff;
  border-radius: 13px;
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  margin-bottom: 26px;
}

.au-btitle {
  font-family: Castoro, Georgia, serif;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
}

.au-btitle i {
  color: #e9511c;
  font-style: italic;
}

.au-bdesc {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.66);
  max-width: 340px;
  margin: 22px 0 0;
}

/* Optional stats row for the brand panel. The prototype ships the rules but no
   markup - kept so a stats block can be dropped in without re-deriving them. */
.au-bstats {
  position: relative;
  display: flex;
  gap: 34px;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.16);
}

.au-bstat .n {
  font-family: Castoro, Georgia, serif;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.01em;
}

.au-bstat .l {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #e9511c;
  margin-top: 7px;
}

/* ============================================================
   Form panel (right column) - tabs + views
   ============================================================ */
.au-panel {
  position: relative;
  min-height: 0;
  max-height: calc(100vh - 56px);
  padding: 50px 48px;
  overflow-y: auto;
}

.au-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: #e7f4f6;
  border: 1px solid #70cbd3;
  border-radius: 15px;
  padding: 4px;
  margin-bottom: 34px;
}

.au-tab {
  padding: 11px 14px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  background: transparent;
  color: rgba(0, 0, 0, 0.55);
  border: none;
  border-radius: 11px;
  font-family: inherit;
  transition: background-color 0.3s, color 0.3s;
}

.au-tab.active {
  background: #e9511c;
  color: #f8feff;
}

.au-tab:not(.active):hover {
  color: #000;
}

/* Message from the server about the last attempt: the code expired, the
   registration is still being reviewed, the confirmation link is dead, the page
   the visitor asked for is members-only. Rendered by the template above both tabs
   (.au-panel > .au-notice), so it is visible whichever tab is open. */
.au-notice {
  font-size: 13px;
  line-height: 1.5;
  border-radius: 13px;
  padding: 12px 15px;
  margin: 0 0 24px;
  border: 1px solid;
}

.au-notice.is-error {
  color: #8e2b1f;
  background: #fdeeeb;
  border-color: #f0b7ac;
}

.au-notice.is-success {
  color: #14603f;
  background: #e8f6ef;
  border-color: #a8d9c3;
}

/* One .au-form per tab (connexion / inscription). Now a real <form>; the rule
   stays class-based, so the element makes no difference. */
.au-form {
  display: none;
}

.au-form.active {
  display: block;
  animation: auView 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* One .au-view per state inside a tab: connexion email / code, and inscription
   etape 1 / etape 2 / email envoye / email confirme. JS moves the [hidden]
   attribute between them. */
.au-view[hidden] {
  display: none;
}

.au-view:not([hidden]) {
  animation: auView 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.au-ftitle {
  font-family: Castoro, Georgia, serif;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.au-fsub {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.55;
  margin: 0 0 26px;
}

/* ============================================================
   Fields
   ============================================================ */
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
  min-width: 0;
}

.field label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555;
}

.field input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid #70cbd3;
  border-radius: 13px;
  background: #fff;
  padding: 12px 15px;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  color: #000;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input::placeholder {
  color: rgba(0, 0, 0, 0.38);
}

.field input:focus {
  border-color: #e9511c;
  box-shadow: 0 0 0 3px rgba(233, 81, 28, 0.14);
}

.field input.bad {
  border-color: #c0392b;
}

.field input.bad:focus {
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.14);
}

.au-err {
  font-size: 11px;
  font-weight: 600;
  color: #c0392b;
  display: none;
}

.au-err.show {
  display: block;
  animation: auField 0.25s ease both;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Login code: six digits read off an email, so big, spaced and centred. The
   em tracking follows the font size, at every screen size. */
.field input.au-code {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* The address the code went to, under the code screen's subtitle. Long
   addresses wrap anywhere rather than widening the modal. */
.au-femail {
  color: #000;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* ============================================================
   Submit / switch / back
   ============================================================ */
.au-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #e9511c;
  color: #f8feff;
  border: 1px solid #e9511c;
  border-radius: 15px;
  padding: 14px;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.au-submit:hover {
  background: #000;
  border-color: #000;
}

/* While the prototype fakes its 1.3s round trip. */
.au-submit[disabled] {
  cursor: default;
}

/* While the form is really submitting. The button is deliberately not disabled
   (a disabled submit can be dropped from the posted data, and its name/value is
   what names the action), so the "don't click again" signal is visual. */
.au-submit.is-loading {
  cursor: default;
  opacity: 0.85;
}

.au-submit .arr {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.au-submit:hover .arr {
  transform: translateX(3px);
}

.au-spin {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(248, 254, 255, 0.4);
  border-top-color: #f8feff;
  border-radius: 50%;
  animation: auSpin 0.7s linear infinite;
}

.au-switch {
  text-align: center;
  margin-top: 22px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
}

.au-switch button {
  color: #e9511c;
  font-weight: 600;
  cursor: pointer;
  border: none;
  border-bottom: 1px solid #e9511c;
  background: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  margin-bottom: 24px;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

.back-link:hover {
  color: #e9511c;
}

/* ============================================================
   Sign-up step 2 - role cards + CGU
   ============================================================ */
.role-lab {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555;
  margin-bottom: 11px;
}

.role-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.role-card {
  display: block;
  position: relative;
  border: 1px solid #70cbd3;
  border-radius: 16px;
  padding: 15px 16px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.25s, background-color 0.25s, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Each card is a <label> around a real radio, so arrow keys and grouping come
   for free. The input is hidden but focusable - .role-dot draws the state. */
.role-card input {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 18px;
  height: 18px;
  margin: -9px 0 0;
  opacity: 0;
  pointer-events: none;
}

.role-card:hover {
  transform: translateY(-2px);
}

.role-card.sel {
  border-color: #e9511c;
  background: #d0eff2;
}

.role-card input:focus-visible ~ .role-hd .role-dot {
  box-shadow: 0 0 0 3px rgba(233, 81, 28, 0.25);
}

.role-card .role-hd {
  display: flex;
  align-items: center;
  gap: 11px;
}

.role-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #70cbd3;
  flex: none;
  position: relative;
  transition: border-color 0.25s;
}

.role-card.sel .role-dot {
  border-color: #e9511c;
}

.role-card.sel .role-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #e9511c;
}

.role-name {
  font-size: 13.5px;
  font-weight: 600;
}

/* A <span>, not the prototype <p>: a <label> may only contain phrasing
   content. display:block keeps the same box. */
.role-desc {
  display: block;
  font-size: 11.5px;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.45;
  margin: 7px 0 0;
}

.cgu-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
  margin: 0 0 20px;
}

.cgu-row input {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid #70cbd3;
  border-radius: 5px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
  margin-top: 1px;
  position: relative;
}

.cgu-row input:checked {
  background: #e9511c;
  border-color: #e9511c;
}

.cgu-row input:checked::after {
  content: "\2713";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f8feff;
  font-size: 11px;
  font-weight: 700;
}

.cgu-row.bad input {
  border-color: #c0392b;
}

.cgu-row span {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.62);
}

.cgu-row a {
  color: #e9511c;
  border-bottom: 1px solid #e9511c;
}

/* ============================================================
   Confirmation panels (lien envoye / compte cree)
   ============================================================ */
.au-success {
  text-align: center;
  padding: 24px 0;
}

.au-succ-badge {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #d0eff2;
  color: #e9511c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 22px;
}

.au-view:not([hidden]) .au-succ-badge {
  animation: auPingIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.au-succ-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #e9511c;
  margin-bottom: 8px;
}

.au-succ-title {
  font-family: Castoro, Georgia, serif;
  font-size: 25px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.au-succ-desc {
  font-size: 13.5px;
  color: rgba(0, 0, 0, 0.62);
  line-height: 1.65;
  max-width: 320px;
  margin: 0 auto 26px;
}

/* Footnote under the panel (prototype note: nothing is really submitted). */
.au-hint {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.4);
  text-align: center;
  margin-top: 24px;
}

.au-hint b {
  color: #e9511c;
  font-weight: 600;
}

/* ============================================================
   Responsive - the brand panel drops, the modal goes full screen
   ============================================================ */
@media (max-width: 820px) {
  .au-modal {
    grid-template-columns: 1fr;
    max-height: 100vh;
    height: 100%;
    border-radius: 0;
  }

  .au-brand {
    display: none;
  }

  .au-overlay {
    padding: 0;
  }

  .au-panel {
    min-height: 0;
    max-height: 100vh;
    padding: 66px 26px 40px;
  }
}

@media (max-width: 420px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

/* Page scroll while the modal is open. The theme already hides the scrollbars
   (styles.css), so nothing shifts when the page stops scrolling. */
body.au-modal-open {
  overflow: hidden;
}

/* ==========================================================================
   Big-screen styles — from 1700px up.

   Every fixed px length above is re-expressed in vw so the 1440px-reference
   design scales up proportionally instead of leaving the content marooned in
   whitespace. Conversion: 1px = 0.0694486429vw (100 / 1440). Percentages, fr
   units, ch widths, em letter-spacing and ratio line-heights are left
   untouched.

   The clamp() display headings drop their px ceiling here: the cap started
   binding at ~1700px, which would freeze them while the rest of the page
   grew. @keyframes offsets stay in px — a media query cannot override an
   individual keyframe step.
   ========================================================================== */

@media (min-width: 1700px) {
  .au-land {
    min-height: calc(100vh - 8.47273vw);
    padding: 5.55589vw 1.66677vw 8.33384vw;
  }

  .au-land::before {
    width: 43.05816vw;
    height: 43.05816vw;
    top: -15.2787vw;
    right: -11.11178vw;
  }

  .au-land::after {
    width: 36.11329vw;
    height: 36.11329vw;
    bottom: -15.2787vw;
    left: -9.72281vw;
  }

  .au-leye {
    gap: 0.55559vw;
    border-radius: 0.90283vw;
    padding: 0.48614vw 1.11118vw;
    font-size: 0.76394vw;
    letter-spacing: 0.09723vw;
    margin-bottom: 1.80566vw;
  }

  .au-leye::before {
    width: 0.48614vw;
    height: 0.48614vw;
  }

  .au-ltitle {
    font-size: 8vw;
  }

  .au-ldesc {
    font-size: 1.04173vw;
    max-width: 33.33535vw;
    margin: 1.80566vw 0 2.50015vw;
  }

  .au-lact {
    gap: 0.97228vw;
  }

  .au-btn {
    gap: 0.62504vw;
    border-radius: 1.04173vw;
    padding: 0.97228vw 1.94456vw;
    font-size: 0.97228vw;
    border: 0.06945vw solid transparent;
  }

  .au-btn:hover .arr {
    transform: translateX(0.20835vw);
  }

  .au-btn.k:hover {
    transform: translateY(-0.1389vw);
  }

  .au-btn.o:hover {
    transform: translateY(-0.1389vw);
  }

  .au-overlay {
    backdrop-filter: blur(0.27779vw);
    -webkit-backdrop-filter: blur(0.27779vw);
    padding: 1.94456vw;
  }

  .au-modal {
    max-width: 65.28172vw;
    max-height: calc(100vh - 3.88912vw);
    border-radius: 1.80566vw;
    box-shadow: 0 2.77795vw 6.25038vw rgba(0, 0, 0, 0.4);
  }

  .au-close {
    top: 1.11118vw;
    right: 1.11118vw;
    width: 2.63905vw;
    height: 2.63905vw;
    border-radius: 0.83338vw;
    border: 0.06945vw solid rgba(0, 0, 0, 0.18);
    font-size: 1.04173vw;
  }

  .au-brand {
    padding: 3.61133vw 3.19464vw;
  }

  .au-brand::before {
    width: 29.16843vw;
    height: 29.16843vw;
    top: -11.80627vw;
    right: -10.4173vw;
  }

  .au-beye {
    gap: 0.55559vw;
    border-radius: 0.90283vw;
    padding: 0.41669vw 0.97228vw;
    font-size: 0.69449vw;
    letter-spacing: 0.09028vw;
    margin-bottom: 1.80566vw;
  }

  .au-btitle {
    font-size: 3.4vw;
  }

  .au-bdesc {
    font-size: 0.93756vw;
    max-width: 23.61254vw;
    margin: 1.52787vw 0 0;
  }

  .au-bstats {
    gap: 2.36125vw;
    padding-top: 2.08346vw;
    margin-top: 2.08346vw;
    border-top: 0.06945vw solid rgba(0, 0, 0, 0.16);
  }

  .au-bstat .n {
    font-size: 2.08346vw;
  }

  .au-bstat .l {
    font-size: 0.69449vw;
    letter-spacing: 0.06945vw;
    margin-top: 0.48614vw;
  }

  .au-panel {
    max-height: calc(100vh - 3.88912vw);
    padding: 3.47243vw 3.33353vw;
  }

  .au-tabs {
    gap: 0.27779vw;
    border: 0.06945vw solid #70cbd3;
    border-radius: 1.04173vw;
    padding: 0.27779vw;
    margin-bottom: 2.36125vw;
  }

  .au-tab {
    padding: 0.76394vw 0.97228vw;
    font-size: 0.86811vw;
    border-radius: 0.76394vw;
  }

  .au-notice {
    font-size: 0.90283vw;
    border-radius: 0.90283vw;
    padding: 0.83338vw 1.04173vw;
    margin: 0 0 1.66677vw;
    border: 0.06945vw solid;
  }

  .au-ftitle {
    font-size: 1.80566vw;
    margin: 0 0 0.41669vw;
  }

  .au-fsub {
    font-size: 0.90283vw;
    margin: 0 0 1.80566vw;
  }

  .field {
    gap: 0.48614vw;
    margin-bottom: 1.11118vw;
  }

  .field label {
    font-size: 0.69449vw;
    letter-spacing: 0.06945vw;
  }

  .field input {
    border: 0.06945vw solid #70cbd3;
    border-radius: 0.90283vw;
    padding: 0.83338vw 1.04173vw;
    font-size: 0.97228vw;
  }

  .field input:focus {
    box-shadow: 0 0 0 0.20835vw rgba(233, 81, 28, 0.14);
  }

  .field input.bad:focus {
    box-shadow: 0 0 0 0.20835vw rgba(192, 57, 43, 0.14);
  }

  .au-err {
    font-size: 0.76394vw;
  }

  .field-row {
    gap: 0.83338vw;
  }

  .field input.au-code {
    font-size: 1.38897vw;
  }

  .au-submit {
    gap: 0.69449vw;
    border: 0.06945vw solid #e9511c;
    border-radius: 1.04173vw;
    padding: 0.97228vw;
    font-size: 0.97228vw;
  }

  .au-submit:hover .arr {
    transform: translateX(0.20835vw);
  }

  .au-spin {
    width: 1.04173vw;
    height: 1.04173vw;
    border: 0.1389vw solid rgba(248, 254, 255, 0.4);
  }

  .au-switch {
    margin-top: 1.52787vw;
    font-size: 0.90283vw;
  }

  .au-switch button {
    border-bottom: 0.06945vw solid #e9511c;
  }

  .back-link {
    gap: 0.41669vw;
    font-size: 0.76394vw;
    margin-bottom: 1.66677vw;
  }

  .role-lab {
    font-size: 0.69449vw;
    letter-spacing: 0.06945vw;
    margin-bottom: 0.76394vw;
  }

  .role-grid {
    gap: 0.69449vw;
    margin-bottom: 1.38897vw;
  }

  .role-card {
    border: 0.06945vw solid #70cbd3;
    border-radius: 1.11118vw;
    padding: 1.04173vw 1.11118vw;
  }

  .role-card input {
    left: 1.11118vw;
    width: 1.25008vw;
    height: 1.25008vw;
    margin: -0.62504vw 0 0;
  }

  .role-card:hover {
    transform: translateY(-0.1389vw);
  }

  .role-card input:focus-visible ~ .role-hd .role-dot {
    box-shadow: 0 0 0 0.20835vw rgba(233, 81, 28, 0.25);
  }

  .role-card .role-hd {
    gap: 0.76394vw;
  }

  .role-dot {
    width: 1.25008vw;
    height: 1.25008vw;
    border: 0.10417vw solid #70cbd3;
  }

  .role-card.sel .role-dot::after {
    inset: 0.20835vw;
  }

  .role-name {
    font-size: 0.93756vw;
  }

  .role-desc {
    font-size: 0.79866vw;
    margin: 0.48614vw 0 0;
  }

  .cgu-row {
    gap: 0.76394vw;
    margin: 0 0 1.38897vw;
  }

  .cgu-row input {
    width: 1.25008vw;
    height: 1.25008vw;
    min-width: 1.25008vw;
    border: 0.10417vw solid #70cbd3;
    border-radius: 0.34724vw;
    margin-top: 0.06945vw;
  }

  .cgu-row input:checked::after {
    font-size: 0.76394vw;
  }

  .cgu-row span {
    font-size: 0.83338vw;
  }

  .cgu-row a {
    border-bottom: 0.06945vw solid #e9511c;
  }

  .au-success {
    padding: 1.66677vw 0;
  }

  .au-succ-badge {
    width: 4.58361vw;
    height: 4.58361vw;
    font-size: 2.08346vw;
    margin: 0 auto 1.52787vw;
  }

  .au-succ-tag {
    font-size: 0.69449vw;
    letter-spacing: 0.08334vw;
    margin-bottom: 0.55559vw;
  }

  .au-succ-title {
    font-size: 1.73622vw;
    margin: 0 0 0.69449vw;
  }

  .au-succ-desc {
    font-size: 0.93756vw;
    max-width: 22.22357vw;
    margin: 0 auto 1.80566vw;
  }

  .au-hint {
    font-size: 0.83338vw;
    margin-top: 1.66677vw;
  }
}
