body.deed7-public-auth {
  min-height: 100vh;
  min-height: 100dvh;
  color: #10263a;
  background:
    radial-gradient(circle at 12% 8%, rgba(14, 201, 221, 0.14), transparent 30%),
    radial-gradient(circle at 88% 86%, rgba(212, 169, 80, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fbfc 0%, #edf5f7 100%);
}

.deed7-public-auth-main {
  position: relative;
  isolation: isolate;
  padding: clamp(24px, 5vw, 56px) 18px;
  overflow: hidden;
}

.deed7-public-auth-main::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

.deed7-public-auth-shell {
  width: min(100%, 500px);
  margin: auto;
}

.deed7-public-auth-shell--wide {
  width: min(100%, 580px);
}

.deed7-public-auth-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px 4px;
  color: #526477;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.deed7-public-auth-back:hover,
.deed7-public-auth-back:focus-visible {
  color: #0e7490;
  transform: translateX(-2px);
}

.deed7-public-auth-card {
  position: relative;
  max-width: none;
  border: 1px solid rgba(14, 116, 144, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 80px rgba(15, 55, 70, 0.13);
  backdrop-filter: blur(20px);
}

.deed7-public-auth-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at 100% 0%, rgba(14, 201, 221, 0.09), transparent 42%);
}

.deed7-public-auth-card > * {
  position: relative;
}

.deed7-public-auth-logo {
  display: block;
  width: fit-content;
  margin: 0 auto 18px;
}

.deed7-public-auth-logo img {
  display: block;
  width: auto;
  max-width: 148px;
  max-height: 42px;
  object-fit: contain;
}

.deed7-public-auth-eyebrow {
  margin: 0 0 9px;
  color: #0b7f90;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.deed7-public-auth-card h1 {
  margin-bottom: 18px;
  color: #10263a;
  font-size: clamp(1.65rem, 5vw, 2.1rem);
  letter-spacing: -0.04em;
}

.deed7-public-auth-card .deed7-auth-card__sub {
  margin-top: -9px;
  color: #607286;
  line-height: 1.55;
}

.deed7-public-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.deed7-public-auth-form > .deed7-form-field,
.deed7-public-auth-form > .deed7-name-grid,
.deed7-public-auth-form > .deed7-auth-actions {
  margin: 0;
}

.deed7-public-auth-card .deed7-form-field label {
  margin-bottom: 7px;
  color: #43566b;
  font-size: 0.78rem;
}

.deed7-public-auth-card .deed7-form-field input {
  height: 50px;
  border-color: rgba(15, 23, 42, 0.14);
  border-radius: 12px;
  background: rgba(248, 251, 252, 0.94);
  color: #10263a;
  caret-color: #0e7490;
}

.deed7-public-auth-card .deed7-form-field input::placeholder {
  color: #8998a8;
}

.deed7-public-auth-card .deed7-form-field input:hover {
  border-color: rgba(14, 116, 144, 0.34);
}

.deed7-public-auth-card .deed7-form-field input:focus {
  border-color: #0e7490;
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.11);
}

.deed7-public-auth-card .deed7-form-field input[aria-invalid="true"] {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.deed7-password-toggle,
.deed7-password-toggle:hover,
.deed7-password-toggle:focus-visible {
  right: 5px;
  color: #5e7185 !important;
}

.deed7-password-toggle:hover,
.deed7-password-toggle:focus-visible {
  color: #0e7490 !important;
  background: rgba(14, 116, 144, 0.1) !important;
}

.deed7-password-eye {
  position: relative;
  display: block;
  width: 20px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 60% 60% 55% 55% / 75% 75% 65% 65%;
}

.deed7-password-eye::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.deed7-password-toggle.is-visible .deed7-password-eye::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 26px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 2px rgba(248, 251, 252, 0.94);
  transform: translate(-50%, -50%) rotate(-46deg);
}

.deed7-menu-auth-primary {
  border: 0;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.deed7-auth-submit {
  appearance: none;
  width: 100%;
  min-height: 50px;
  margin-top: 2px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 224, 255, 0.22) 0%, rgba(0, 160, 200, 0.35) 100%);
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  font-size: 0.92rem;
  box-shadow: 0 4px 20px var(--accent-glow);
  -webkit-tap-highlight-color: transparent;
}

.deed7-auth-submit:hover:not(:disabled),
.deed7-auth-submit:focus-visible,
.deed7-auth-submit:active:not(:disabled) {
  border: 0;
  background: linear-gradient(135deg, rgba(0, 224, 255, 0.32) 0%, rgba(0, 160, 200, 0.45) 100%);
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  box-shadow: 0 4px 20px var(--accent-glow);
}

@media (hover: none), (pointer: coarse) {
  button.deed7-auth-submit:hover:not(:active),
  button.deed7-auth-submit:focus-visible:not(:active) {
    border: 0;
    background: linear-gradient(135deg, rgba(0, 224, 255, 0.22) 0%, rgba(0, 160, 200, 0.35) 100%) !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    box-shadow: 0 4px 20px var(--accent-glow);
    transform: none;
  }

  button.deed7-auth-submit:active:not(:disabled) {
    border: 0;
    background: #ffffff !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    transform: translateY(1px);
  }
}

.deed7-password-requirements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.deed7-password-requirements li {
  position: relative;
  padding-left: 18px;
  color: #6a7a8c;
  font-size: 0.72rem;
  line-height: 1.4;
}

.deed7-password-requirements li::before {
  content: '';
  position: absolute;
  top: 0.44em;
  left: 1px;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.deed7-password-requirements li.is-valid {
  color: #047857;
}

.deed7-password-requirements li.is-valid::before {
  border-color: #059669;
  background: #059669;
  box-shadow: inset 0 0 0 2px #ffffff;
}

.deed7-password-requirements li.is-invalid {
  color: #c24141;
}

.deed7-field-message {
  min-height: 18px;
  margin: 6px 0 0;
  color: #c24141;
  font-size: 0.72rem;
  line-height: 1.4;
}

.deed7-field-message.is-valid {
  color: #047857;
}

.deed7-auth-preview-notice {
  margin: 0;
  padding: 11px 13px;
  border: 1px solid rgba(14, 116, 144, 0.18);
  border-radius: 11px;
  background: rgba(14, 116, 144, 0.07);
  color: #315b68;
  font-size: 0.76rem;
  line-height: 1.5;
  text-align: center;
}

.deed7-auth-preview-notice.is-error {
  border-color: rgba(190, 40, 40, 0.26);
  background: rgba(190, 40, 40, 0.07);
  color: #9c2929;
}

.deed7-form-trap {
  position: fixed !important;
  top: -10000px !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.deed7-beta-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  color: #4f6477;
  font-size: 0.75rem;
  line-height: 1.55;
  cursor: pointer;
}

.deed7-beta-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #0e7490;
}

.deed7-beta-consent a,
.deed7-beta-privacy a {
  color: #0e7490;
  font-weight: 700;
}

.deed7-beta-privacy {
  display: grid;
  gap: 18px;
}

.deed7-beta-privacy h1 { margin-bottom: 0; }
.deed7-beta-privacy section { display: grid; gap: 7px; }
.deed7-beta-privacy h2 { margin: 0; color: #214b5c; font-size: 1rem; letter-spacing: -0.015em; }
.deed7-beta-privacy section p { margin: 0; color: #607286; font-size: .8rem; line-height: 1.65; }
.deed7-beta-privacy-date { margin: -8px 0 0; color: #7d8b99; font-size: .72rem; text-align: center; }

.deed7-beta-privacy-note {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid rgba(14, 116, 144, 0.14);
  border-radius: 12px;
  background: rgba(14, 116, 144, 0.045);
  color: #577080;
  font-size: 0.72rem;
  line-height: 1.5;
}

.deed7-beta-privacy-note strong { color: #214b5c; }
.deed7-turnstile { width: 100%; min-height: 65px; }
.deed7-beta-contact { margin: 20px 0 0; color: #6a7d8e; font-size: 0.75rem; text-align: center; }
.deed7-beta-contact a { color: #0e7490; font-weight: 700; }
.deed7-beta-success { text-align: center; }
.deed7-beta-success__mark { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%; background: #e7f8f1; color: #078056; font-size: 25px; font-weight: 800; box-shadow: 0 0 0 8px rgba(7, 128, 86, 0.06); }
.deed7-beta-success > p:not(.deed7-public-auth-eyebrow) { color: #607286; line-height: 1.65; }
.deed7-beta-success .deed7-auth-submit { display: flex; align-items: center; justify-content: center; margin-top: 22px; text-decoration: none; }

.deed7-public-auth-card .deed7-auth-links {
  margin-bottom: 0;
  color: #607286;
}

.deed7-public-auth-card .deed7-auth-links a {
  color: #0e7490;
}

.deed7-public-auth-caption {
  max-width: 480px;
  margin: 15px auto 0;
  color: #6a7a8c;
  font-size: 0.7rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 560px) {
  .deed7-public-auth-main {
    align-items: flex-start;
    padding: 20px 14px 32px;
  }

  .deed7-public-auth-card {
    padding: 26px 20px !important;
    border-radius: 20px;
  }

  .deed7-password-requirements {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .deed7-public-auth-back {
    transition: none;
  }
}
