:host {
  color: inherit;
  font-family: inherit;
  line-height: inherit;
}

.dat-component {
  --dat-accent: var(--colors--brand--primary, #c4ab9c);
  --dat-accent-contrast: #151423;
  --dat-surface: var(--colors--theme--surface-base, #ffffff);
  --dat-surface-muted: var(--colors--surface--soft, #f5f3f1);
  --dat-text: var(--colors--theme--text-primary, #151423);
  --dat-text-muted: var(--colors--theme--text-secondary, #66616c);
  --dat-border: var(--colors--border--default, #dedcda);
  --dat-border-control: var(--colors--border--control, #767676);
  --dat-danger: var(--colors--feedback--error-text, #3b0b0b);
  --dat-danger-surface: var(--colors--feedback--error-surface, #f8e4e4);
  --dat-success: var(--colors--feedback--success, #4cc02b);
  box-sizing: border-box;
  color: var(--dat-text);
  font-family: inherit;
  width: 100%;
}

.dat-component *,
.dat-component *::before,
.dat-component *::after {
  box-sizing: border-box;
}

.dat-card {
  background: var(--dat-surface);
  border: 1px solid var(--dat-border);
  border-radius: 0.9rem;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.dat-gate {
  background: color-mix(in srgb, var(--dat-surface) 82%, transparent);
  border: 1px solid color-mix(in srgb, var(--dat-border) 82%, transparent);
  border-radius: 999px;
  isolation: isolate;
  min-height: 5.4rem;
  overflow: hidden;
  position: relative;
}

.dat-gate-preview {
  align-items: center;
  background: color-mix(in srgb, var(--dat-text) 91%, transparent);
  color: var(--dat-surface);
  display: flex;
  font-size: 1rem;
  font-weight: 700;
  inset: 0;
  justify-content: center;
  letter-spacing: -0.01em;
  opacity: 0.72;
  position: absolute;
  transform: scale(1.035);
}

.dat-gate--locked .dat-gate-preview {
  filter: blur(5px);
}

.dat-gate-overlay {
  align-items: center;
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  background: color-mix(in srgb, var(--dat-surface) 68%, transparent);
  display: flex;
  gap: 1rem;
  inset: 0;
  justify-content: space-between;
  min-height: 5.4rem;
  padding: 0.72rem 0.85rem 0.72rem 1rem;
  position: relative;
  z-index: 1;
}

.dat-gate-copy {
  align-items: center;
  display: flex;
  gap: 0.7rem;
  min-width: 0;
}

.dat-gate-lock {
  align-items: center;
  background: color-mix(in srgb, var(--dat-surface) 72%, transparent);
  border: 1px solid color-mix(in srgb, var(--dat-border) 84%, transparent);
  border-radius: 999px;
  color: var(--dat-text);
  display: inline-flex;
  flex: 0 0 auto;
  height: 2rem;
  justify-content: center;
  position: relative;
  width: 2rem;
}

.dat-gate-lock::before {
  border: 1.5px solid currentColor;
  border-radius: 0.15rem;
  content: "";
  height: 0.5rem;
  left: 50%;
  position: absolute;
  top: 52%;
  transform: translate(-50%, -10%);
  width: 0.58rem;
}

.dat-gate-lock::after {
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 0.5rem 0.5rem 0 0;
  content: "";
  height: 0.48rem;
  left: 50%;
  position: absolute;
  top: 28%;
  transform: translateX(-50%);
  width: 0.48rem;
}

.dat-gate-message {
  color: var(--dat-text);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.35;
  margin: 0;
}

.dat-gate .dat-form-actions {
  display: block;
  flex: 0 0 auto;
  margin: 0;
}

.dat-gate .dat-form-actions > .dat-row {
  flex-wrap: nowrap;
  gap: 0.45rem;
}

.dat-gate .dat-button,
.dat-gate .dat-link {
  border-radius: 999px;
  min-height: 2.55rem;
  padding: 0.55rem 0.9rem;
  white-space: nowrap;
}

.dat-gate .dat-auth-note {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.dat-gate--loading {
  align-items: center;
  display: flex;
  min-height: 3.35rem;
  padding: 0.3rem;
}

.dat-gate-skeleton {
  height: 2.75rem;
  width: 100%;
}

.dat-gate-download {
  border-radius: 999px;
  min-height: 3.35rem;
  width: 100%;
}

.dat-stack {
  display: grid;
  gap: 0.9rem;
}

.dat-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dat-title {
  color: inherit;
  font: inherit;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.dat-copy,
.dat-meta,
.dat-auth-note {
  color: var(--dat-text-muted);
  font: inherit;
  margin: 0;
}

.dat-meta {
  font-size: 0.9rem;
}

.dat-auth-note {
  font-size: 0.82rem;
  line-height: 1.5;
}

.dat-form-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.1rem;
}

.dat-button,
.dat-link {
  align-items: center;
  border-radius: 0.65rem;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 650;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  text-decoration: none;
  transition: opacity 150ms ease, transform 150ms ease;
}

.dat-button {
  background: var(--dat-accent);
  border: 1px solid var(--dat-accent);
  color: var(--dat-accent-contrast);
}

.dat-link {
  background: transparent;
  border: 1px solid var(--dat-border);
  color: inherit;
}

.dat-button:hover,
.dat-link:hover {
  opacity: 0.9;
}

.dat-button:active,
.dat-link:active {
  transform: translateY(1px);
}

.dat-button:focus-visible,
.dat-link:focus-visible,
.dat-input:focus-visible,
.dat-textarea:focus-visible,
.dat-checkbox:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--dat-accent) 45%, transparent);
  outline-offset: 2px;
}

.dat-button:disabled,
.dat-button[aria-disabled="true"],
.dat-link:disabled,
.dat-link[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
}

.dat-field {
  display: grid;
  gap: 0.4rem;
}

.dat-label {
  font-size: 0.92rem;
  font-weight: 650;
}

.dat-input,
.dat-textarea {
  background: var(--dat-surface);
  border: 1px solid var(--dat-border-control);
  border-radius: 0.65rem;
  color: inherit;
  font: inherit;
  min-height: 2.75rem;
  padding: 0.7rem 0.8rem;
  width: 100%;
}

.dat-input[readonly] {
  background: var(--dat-surface-muted);
  color: var(--dat-text-muted);
}

.dat-textarea {
  min-height: 8rem;
  resize: vertical;
}

.dat-checkbox-row {
  align-items: flex-start;
  display: flex;
  gap: 0.6rem;
}

.dat-checkbox {
  accent-color: var(--dat-accent);
  height: 1.1rem;
  margin-top: 0.15rem;
  width: 1.1rem;
}

.dat-status {
  border-radius: 0.65rem;
  font-size: 0.92rem;
  padding: 0.75rem 0.85rem;
}

.dat-status[data-tone="neutral"] {
  background: var(--dat-surface-muted);
  color: var(--dat-text-muted);
}

.dat-status[data-tone="error"] {
  background: var(--dat-danger-surface);
  color: var(--dat-danger);
}

.dat-status[data-tone="success"] {
  background: color-mix(in srgb, var(--dat-success) 13%, var(--dat-surface));
  border-inline-start: 0.25rem solid var(--dat-success);
  color: var(--dat-text);
}

.dat-skeleton {
  animation: dat-pulse 1.4s ease-in-out infinite;
  background: var(--dat-surface-muted);
  border-radius: 999px;
  height: 2.75rem;
  width: min(100%, 12rem);
}

.dat-honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

[dir="rtl"] .dat-input[type="email"],
[dir="rtl"] .dat-input[type="tel"],
[dir="rtl"] .dat-input[data-ltr="true"] {
  direction: ltr;
  text-align: left;
}

@keyframes dat-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@media (max-width: 767px) {
  .dat-gate {
    border-radius: 1rem;
    min-height: 8.25rem;
  }

  .dat-gate-overlay {
    flex-direction: column;
    justify-content: center;
    min-height: 8.25rem;
    padding: 0.9rem;
    text-align: center;
  }

  .dat-gate-copy {
    flex-direction: column;
    gap: 0.45rem;
  }

  .dat-gate .dat-form-actions,
  .dat-gate .dat-form-actions > .dat-row {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 479px) {
  .dat-row > .dat-button,
  .dat-row > .dat-link {
    width: 100%;
  }

  .dat-gate .dat-form-actions > .dat-row {
    flex-wrap: nowrap;
  }

  .dat-gate .dat-row > .dat-button,
  .dat-gate .dat-row > .dat-link {
    flex: 1 1 0;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dat-button,
  .dat-link,
  .dat-skeleton {
    animation: none;
    transition: none;
  }
}

.dat-gate-preview {
  color: color-mix(in srgb, var(--dat-surface) 45%, transparent);
  opacity: 0.3;
}

.dat-gate--locked .dat-gate-preview {
  filter: blur(9px);
}

.dat-gate-overlay {
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  background: color-mix(in srgb, var(--dat-surface) 82%, transparent);
}

.dat-button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  overflow: visible;
  min-height: 3rem;
  padding: 12px 20px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border: 0;
  border-radius: 50px;
  background: var(--colors--theme--inverse-surface-secondary, #252433);
  box-shadow: 0 16px 36px 0 rgba(0, 0, 0, 0.1),
    0 40px 40px 0 rgba(0, 0, 0, 0.03);
  color: var(--colors--neutral--white, #ffffff);
  font-family: var(--fonts--body, inherit);
  font-size: var(--font-size--button-normal, 1rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.4px;
  text-align: center;
  text-decoration: none;
  transition: all 200ms ease;
}

.dat-button:hover {
  opacity: 0.8;
}

.dat-button--secondary {
  background: var(--colors--surface--soft, #f5f3f1);
  box-shadow: none;
  color: var(--colors--theme--text-primary, #151423);
}

.dat-button--secondary:hover {
  background: var(--colors--border--default, #dedcda);
  opacity: 1;
}

.dat-button--full {
  width: 100%;
}

.dat-button:focus-visible,
.dat-input:focus-visible,
.dat-textarea:focus-visible {
  outline: 3px solid color-mix(
    in srgb,
    var(--colors--theme--focus-ring, #7a4f3a) 42%,
    transparent
  );
  outline-offset: 2px;
}

.dat-auth-status {
  display: inline-flex;
  width: auto;
  min-width: 0;
  align-items: center;
}

.dat-auth-row {
  flex-wrap: nowrap;
  gap: 0.375rem;
}

.dat-auth-action {
  width: auto;
  white-space: nowrap;
}

.dat-auth-skeleton {
  width: 6.5rem;
  height: 3rem;
}

.dat-native-form {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dat-native-form.dat-stack {
  gap: 0;
}

.dat-native-form .dat-title,
.dat-native-form .dat-copy {
  margin-bottom: 0.75rem;
}

.dat-native-form .dat-field {
  display: grid;
  gap: 0;
}

.dat-native-form .dat-label {
  color: var(--colors--neutral--white, #ffffff);
  font-family: var(--fonts--body, inherit);
  font-size: var(--font-size--body-small, 1rem);
  font-weight: 400;
  line-height: 1.5;
}

.dat-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;
}

.dat-native-form .dat-input,
.dat-native-form .dat-textarea {
  width: 100%;
  min-height: 3rem;
  margin: 0 0 0.5rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--colors--border--control, #767676);
  border-radius: 12px;
  background: var(--colors--theme--surface-base, #ffffff);
  color: var(--colors--theme--text-primary, #151423);
  font-family: var(--fonts--body, inherit);
  font-size: var(--font-size--body-small, 1rem);
  font-weight: 500;
  line-height: 1.5;
}

.dat-native-form .dat-input::placeholder,
.dat-native-form .dat-textarea::placeholder {
  color: var(--colors--theme--text-placeholder, #77716d);
  opacity: 1;
}

.dat-native-form .dat-input:focus,
.dat-native-form .dat-textarea:focus {
  border-color: var(--colors--theme--focus-ring, #7a4f3a);
  background: var(--colors--theme--surface-base, #ffffff);
}

.dat-native-form .dat-input[readonly] {
  background: var(--colors--theme--surface-base, #ffffff);
  color: var(--colors--theme--text-primary, #151423);
}

.dat-native-form .dat-textarea {
  min-width: 100%;
  max-width: 100%;
  min-height: 7.75rem;
  max-height: 12rem;
  padding-top: 1rem;
  resize: vertical;
}

.dat-native-form .dat-meta,
.dat-native-form .dat-auth-note,
.dat-form-response-note {
  margin: 0;
  color: var(--colors--theme--text-secondary, #66616c);
  font-family: var(--fonts--body, inherit);
  font-size: 0.875rem;
  line-height: 1.5;
}

.dat-native-form .dat-meta {
  margin: -0.15rem 0 0.5rem;
}

.dat-native-form .dat-form-actions {
  gap: 0.5rem;
  margin: 0;
}

.dat-consultation-form .dat-auth-actions .dat-row {
  display: flex;
  width: 100%;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

.dat-consultation-form .dat-auth-actions .dat-button {
  flex: 1 1 0;
}

.dat-consultation-form .dat-status,
.dat-consultation-form .dat-auth-actions,
.dat-consultation-form [data-turnstile] {
  margin-bottom: 0.5rem;
}

.dat-form-response-note {
  margin-top: 0.25rem;
}

.dat-newsletter-form {
  display: grid;
  gap: 0.5rem;
}

.dat-newsletter-label {
  display: block;
  margin: 0;
}

.dat-newsletter-controls {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0.5rem;
}

.dat-newsletter-input {
  flex: 1 1 auto;
  min-width: 0;
  margin-bottom: 0 !important;
}

.dat-newsletter-action {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
}

.dat-newsletter-action > .dat-button {
  height: 100%;
}

.dat-newsletter-action .dat-form-actions {
  display: block;
  margin: 0;
}

.dat-newsletter-action .dat-auth-actions .dat-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  height: 100%;
}

.dat-newsletter-action .dat-auth-actions .dat-button {
  height: 100%;
  white-space: nowrap;
}

.dat-newsletter-action .dat-auth-note {
  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;
}

.dat-newsletter-consent {
  margin: 0 !important;
  font-size: 0.78rem !important;
}

.dat-newsletter-form .dat-status {
  margin-top: 0.25rem;
}

@media (max-width: 479px) {
  .dat-auth-status,
  .dat-auth-row,
  .dat-auth-action {
    width: 100%;
  }

  .dat-auth-row {
    align-items: stretch;
  }

  .dat-newsletter-controls {
    flex-direction: column;
  }

  .dat-newsletter-action,
  .dat-newsletter-action > .dat-button,
  .dat-newsletter-action .dat-form-actions,
  .dat-newsletter-action .dat-auth-actions .dat-row {
    width: 100%;
  }

  .dat-newsletter-action .dat-auth-actions .dat-button {
    flex: 1 1 0;
  }

  .dat-consultation-form .dat-auth-actions .dat-row {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dat-button {
    transition: none;
  }
}

.dat-member-auth {
  display: grid;
  width: 100%;
  min-width: 0;
}

.dat-member-auth-mount,
.dat-member-auth-shell,
.dat-member-profile {
  width: 100%;
  min-width: 0;
}

.dat-member-auth-mount[hidden] {
  display: none;
}

.dat-member-auth-loading {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  padding: 1rem 0;
  color: var(--colors--theme--text-secondary, #66616c);
  font-size: 0.9rem;
  text-align: center;
}

.dat-member-auth-skeleton {
  width: 100%;
  max-width: 22rem;
  height: 3rem;
}

.dat-auth-status {
  display: inline-block;
  width: auto;
  inline-size: max-content;
  max-inline-size: 100%;
  min-block-size: 3rem;
  vertical-align: middle;
  transition: inline-size 200ms ease;
}

.dat-auth-status-measure,
.dat-auth-row {
  display: inline-flex;
  width: max-content;
  inline-size: max-content;
  max-inline-size: 100%;
  flex-wrap: nowrap;
}

.dat-auth-status .dat-auth-action {
  min-block-size: 3rem;
  white-space: nowrap;
}

.dat-auth-action--pending {
  pointer-events: none;
  cursor: progress;
  opacity: 0.86;
}

.dat-auth-spinner {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 999px;
  animation: dat-auth-spin 0.8s linear infinite;
}

.dat-member-auth-details,
.dat-member-profile-form {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.dat-member-auth-details-header,
.dat-member-profile-header {
  display: grid;
  gap: 0.35rem;
}

.dat-member-auth-details-title,
.dat-member-profile-title {
  margin: 0;
  color: var(--colors--theme--text-primary, #151423);
  font: inherit;
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.35;
}

.dat-member-auth-details-copy,
.dat-member-profile-copy,
.dat-field-help {
  margin: 0;
  color: var(--colors--theme--text-secondary, #66616c);
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.5;
}

.dat-member-auth-fields,
.dat-member-profile-grid {
  display: grid;
  gap: 0.85rem;
  align-items: start;
}

.dat-member-profile-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dat-member-profile-grid > .dat-field {
  min-width: 0;
  align-content: start;
}

.dat-member-profile-grid .dat-field--full {
  grid-column: 1 / -1;
}

.dat-member-auth-actions-row,
.dat-member-profile-actions {
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.dat-member-auth-actions-row > *,
.dat-member-profile-actions > * {
  flex: 1 1 10rem;
}

.dat-select {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 2.65rem 0.75rem 0.9rem;
  border: 1px solid var(--colors--border--control, #767676);
  border-radius: 0.75rem;
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--colors--theme--surface-base, #ffffff);
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 16 16%27 fill=%27none%27%3E%3Cpath d=%27m4 6 4 4 4-4%27 stroke=%27%2366616c%27 stroke-width=%271.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E");
  background-position: right 0.9rem center;
  background-repeat: no-repeat;
  background-size: 1rem;
  color: var(--colors--theme--text-primary, #151423);
  font: inherit;
  line-height: 1.25;
}

[dir="rtl"] .dat-select {
  padding-right: 0.9rem;
  padding-left: 2.65rem;
  background-position: left 0.9rem center;
}

.dat-select:focus-visible {
  outline: 3px solid color-mix(
    in srgb,
    var(--colors--theme--focus-ring, #7a4f3a) 42%,
    transparent
  );
  outline-offset: 2px;
}

/*
 * Clerk injects part of its base styling into the document head. Webflow Code
 * Components render inside a Shadow Root, so these local rules provide the
 * complete visual baseline inside the component boundary.
 */
.dat-member-auth-mount {
  color: var(--colors--theme--text-primary, #151423);
  font-family: var(--fonts--body, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  line-height: 1.5;
}

.dat-member-auth-mount,
.dat-member-auth-mount *,
.dat-member-auth-mount *::before,
.dat-member-auth-mount *::after {
  box-sizing: border-box;
}

.dat-member-auth-mount > *,
.dat-member-auth-mount .cl-rootBox,
.dat-member-auth-mount .cl-cardBox,
.dat-member-auth-mount .cl-card {
  width: 100% !important;
  max-width: none !important;
}

.dat-member-auth-mount .cl-rootBox,
.dat-member-auth-mount .cl-cardBox {
  display: block !important;
}

.dat-member-auth-mount .cl-cardBox,
.dat-member-auth-mount .cl-card {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.dat-member-auth-mount .cl-card {
  display: grid !important;
  gap: 0.9rem !important;
  padding: 0 !important;
}

.dat-member-auth-mount .cl-header {
  display: none !important;
}

.dat-member-auth-mount .cl-main,
.dat-member-auth-mount .cl-form,
.dat-member-auth-mount .cl-formFieldRow,
.dat-member-auth-mount .cl-formField,
.dat-member-auth-mount .cl-socialButtons,
.dat-member-auth-mount .cl-footer,
.dat-member-auth-mount .cl-footerAction {
  width: 100% !important;
}

.dat-member-auth-mount .cl-main,
.dat-member-auth-mount .cl-form,
.dat-member-auth-mount .cl-formFieldRow,
.dat-member-auth-mount .cl-formField,
.dat-member-auth-mount .cl-socialButtons {
  display: grid !important;
  gap: 0.85rem !important;
}

.dat-member-auth-mount .cl-formFieldRow {
  grid-template-columns: minmax(0, 1fr) !important;
}

.dat-member-auth-mount .cl-formFieldLabelRow {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
}

.dat-member-auth-mount .cl-formFieldLabel,
.dat-member-auth-mount .cl-formFieldLabelRow,
.dat-member-auth-mount label {
  color: var(--colors--theme--text-primary, #151423) !important;
  font-family: inherit !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

.dat-member-auth-mount .cl-formFieldInputGroup {
  position: relative !important;
  display: flex !important;
  width: 100% !important;
}

.dat-member-auth-mount .cl-formFieldInput,
.dat-member-auth-mount input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 3rem !important;
  padding: 0.72rem 0.9rem !important;
  border: 1px solid var(--colors--border--control, #767676) !important;
  border-radius: 0.75rem !important;
  outline: 0 !important;
  background: var(--colors--theme--surface-base, #ffffff) !important;
  color: var(--colors--theme--text-primary, #151423) !important;
  font: inherit !important;
  line-height: 1.25 !important;
  box-shadow: none !important;
}

.dat-member-auth-mount .cl-formFieldInput:focus,
.dat-member-auth-mount input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus {
  border-color: var(--colors--theme--text-primary, #151423) !important;
  outline: 3px solid color-mix(in srgb, var(--colors--theme--focus-ring, #7a4f3a) 35%, transparent) !important;
  outline-offset: 1px !important;
}

.dat-member-auth-mount .cl-formFieldInputShowPasswordButton {
  position: absolute !important;
  inset-inline-end: 0.55rem !important;
  top: 50% !important;
  width: 2rem !important;
  min-width: 2rem !important;
  height: 2rem !important;
  min-height: 2rem !important;
  padding: 0.35rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--colors--theme--text-secondary, #66616c) !important;
  transform: translateY(-50%) !important;
  box-shadow: none !important;
}

.dat-member-auth-mount .cl-formButtonPrimary,
.dat-member-auth-mount .cl-socialButtonsBlockButton {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.65rem !important;
  width: 100% !important;
  min-height: 3rem !important;
  padding: 0.72rem 1rem !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  font-family: inherit !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.dat-member-auth-mount .cl-formButtonPrimary {
  border: 1px solid var(--colors--theme--inverse-surface-secondary, #252433) !important;
  background: var(--colors--theme--inverse-surface-secondary, #252433) !important;
  color: #ffffff !important;
}

.dat-member-auth-mount .cl-socialButtonsBlockButton {
  border: 1px solid var(--colors--border--default, #dedcda) !important;
  background: var(--colors--theme--surface-base, #ffffff) !important;
  color: var(--colors--theme--text-primary, #151423) !important;
}

.dat-member-auth-mount .cl-formButtonPrimary:hover,
.dat-member-auth-mount .cl-socialButtonsBlockButton:hover {
  opacity: 0.9 !important;
}

.dat-member-auth-mount .cl-socialButtonsProviderIcon {
  width: 1.15rem !important;
  height: 1.15rem !important;
  flex: 0 0 auto !important;
}

.dat-member-auth-mount .cl-dividerRow {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 0.75rem !important;
  width: 100% !important;
  margin: 0.1rem 0 !important;
}

.dat-member-auth-mount .cl-dividerLine {
  width: 100% !important;
  height: 1px !important;
  background: var(--colors--border--default, #dedcda) !important;
}

.dat-member-auth-mount .cl-dividerText,
.dat-member-auth-mount .cl-footerActionText,
.dat-member-auth-mount .cl-identityPreviewText,
.dat-member-auth-mount .cl-formFieldHintText,
.dat-member-auth-mount .cl-formFieldErrorText {
  margin: 0 !important;
  color: var(--colors--theme--text-secondary, #66616c) !important;
  font-family: inherit !important;
  font-size: 0.85rem !important;
  line-height: 1.45 !important;
}

.dat-member-auth-mount .cl-formFieldErrorText {
  color: var(--colors--feedback--error-text, #7b1e1e) !important;
}

.dat-member-auth-mount .cl-footer {
  display: grid !important;
  gap: 0.55rem !important;
  padding: 0.75rem 0 0 !important;
  background: transparent !important;
}

.dat-member-auth-mount .cl-footerAction {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  flex-wrap: wrap !important;
}

.dat-member-auth-mount .cl-footerActionLink,
.dat-member-auth-mount .cl-formFieldAction,
.dat-member-auth-mount .cl-identityPreviewEditButton,
.dat-member-auth-mount a {
  color: var(--colors--theme--text-primary, #151423) !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  text-underline-offset: 0.18em !important;
}

.dat-member-auth-mount .cl-identityPreview {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
  width: 100% !important;
  padding: 0.75rem 0.85rem !important;
  border: 1px solid var(--colors--border--default, #dedcda) !important;
  border-radius: 0.75rem !important;
  background: var(--colors--surface--soft, #f5f3f1) !important;
}

.dat-member-auth-mount .cl-otpCodeFieldInputs {
  display: flex !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  width: 100% !important;
}

.dat-member-auth-mount .cl-otpCodeFieldInput {
  width: 2.8rem !important;
  min-width: 0 !important;
  height: 3.1rem !important;
  padding: 0.4rem !important;
  text-align: center !important;
}

.dat-member-auth-mount .cl-alert {
  width: 100% !important;
  padding: 0.75rem 0.85rem !important;
  border: 1px solid color-mix(in srgb, var(--colors--feedback--error-text, #7b1e1e) 28%, transparent) !important;
  border-radius: 0.75rem !important;
  background: var(--colors--feedback--error-surface, #f8e4e4) !important;
}

.dat-member-auth-mount .cl-alertText {
  margin: 0 !important;
  color: var(--colors--feedback--error-text, #7b1e1e) !important;
  font: inherit !important;
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
}

.dat-member-auth-mount button,
.dat-member-auth-mount input,
.dat-member-auth-mount select {
  font-family: inherit !important;
}

@keyframes dat-auth-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 767px) {
  .dat-member-profile-grid {
    grid-template-columns: 1fr;
  }

  .dat-member-profile-grid .dat-field--full {
    grid-column: auto;
  }
}

@media (max-width: 479px) {
  .dat-auth-status {
    max-inline-size: 100%;
  }

  .dat-member-auth-actions-row,
  .dat-member-profile-actions {
    flex-direction: column;
  }

  .dat-member-auth-mount .cl-otpCodeFieldInput {
    width: 2.35rem !important;
    height: 2.8rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dat-member-auth .dat-skeleton,
  .dat-auth-spinner {
    animation: none;
  }

  .dat-auth-status {
    transition: none;
  }
}

.dat-custom-auth {
  display: grid;
  gap: 1rem;
  width: 100%;
  min-width: 0;
  color: var(--colors--theme--text-primary, #151423);
  font-family: inherit;
}

.dat-custom-auth *,
.dat-custom-auth *::before,
.dat-custom-auth *::after {
  box-sizing: border-box;
}

.dat-custom-auth > header {
  display: grid;
  gap: 0.35rem;
}

.dat-custom-auth > header h2 {
  margin: 0;
  color: inherit;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.35;
}

.dat-custom-auth > header p {
  margin: 0;
  color: var(--colors--theme--text-secondary, #66616c);
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.5;
}

.dat-custom-auth form {
  display: grid;
  gap: 0.9rem;
  width: 100%;
  margin: 0;
}

.dat-custom-auth .dat-field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.dat-custom-auth .dat-label {
  color: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.4;
}

.dat-custom-auth .dat-input,
.dat-custom-auth .dat-select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 3rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--colors--border--control, #767676);
  border-radius: 0.75rem;
  outline: 0;
  background-color: var(--colors--theme--surface-base, #ffffff);
  color: inherit;
  font: inherit;
  line-height: 1.25;
  box-shadow: none;
}

.dat-custom-auth .dat-select {
  padding-inline-end: 2.65rem;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 16 16%27 fill=%27none%27%3E%3Cpath d=%27m4 6 4 4 4-4%27 stroke=%27%2366616c%27 stroke-width=%271.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E");
  background-position: right 0.9rem center;
  background-repeat: no-repeat;
  background-size: 1rem;
}

.dat-custom-auth[dir="rtl"] .dat-select {
  background-position: left 0.9rem center;
}

.dat-custom-auth .dat-input:hover,
.dat-custom-auth .dat-select:hover {
  border-color: var(--colors--theme--text-secondary, #66616c);
}

.dat-custom-auth .dat-input:focus,
.dat-custom-auth .dat-select:focus {
  border-color: var(--colors--theme--text-primary, #151423);
  outline: 3px solid color-mix(
    in srgb,
    var(--colors--theme--focus-ring, #7a4f3a) 35%,
    transparent
  );
  outline-offset: 1px;
}

.dat-custom-auth .dat-input[aria-invalid="true"],
.dat-custom-auth .dat-select[aria-invalid="true"] {
  border-color: var(--colors--feedback--error-text, #7b1e1e);
}

.dat-custom-auth-password {
  position: relative;
  display: flex;
  width: 100%;
}

.dat-custom-auth-password .dat-input {
  padding-inline-end: 5.2rem;
}

.dat-custom-auth-password > button {
  position: absolute;
  inset-inline-end: 0.55rem;
  top: 50%;
  min-height: 2rem;
  padding: 0.3rem 0.55rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--colors--theme--text-secondary, #66616c);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  transform: translateY(-50%);
}

.dat-custom-auth-password > button:hover {
  background: var(--colors--surface--soft, #f5f3f1);
  color: inherit;
}

.dat-custom-auth-error {
  color: var(--colors--feedback--error-text, #7b1e1e);
  font-size: 0.82rem;
  line-height: 1.45;
}

.dat-custom-auth-google,
.dat-custom-auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  transition: opacity 150ms ease, transform 150ms ease;
}

.dat-custom-auth-google {
  border: 1px solid var(--colors--border--default, #dedcda);
  background: var(--colors--theme--surface-base, #ffffff);
  color: inherit;
}

.dat-custom-auth-submit {
  border: 1px solid var(--colors--theme--inverse-surface-secondary, #252433);
  background: var(--colors--theme--inverse-surface-secondary, #252433);
  color: #ffffff;
}

.dat-custom-auth-google:hover:not(:disabled),
.dat-custom-auth-submit:hover:not(:disabled) {
  opacity: 0.9;
}

.dat-custom-auth-google:active:not(:disabled),
.dat-custom-auth-submit:active:not(:disabled) {
  transform: translateY(1px);
}

.dat-custom-auth-google:focus-visible,
.dat-custom-auth-submit:focus-visible,
.dat-custom-auth-link:focus-visible,
.dat-custom-auth-password > button:focus-visible {
  outline: 3px solid color-mix(
    in srgb,
    var(--colors--theme--focus-ring, #7a4f3a) 42%,
    transparent
  );
  outline-offset: 2px;
}

.dat-custom-auth-google:disabled,
.dat-custom-auth-submit:disabled,
.dat-custom-auth-link:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.dat-custom-auth-google-icon {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.dat-custom-auth-divider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  color: var(--colors--theme--text-secondary, #66616c);
  font-size: 0.82rem;
}

.dat-custom-auth-divider > span {
  height: 1px;
  background: var(--colors--border--default, #dedcda);
}

.dat-custom-auth-divider > b {
  font-weight: 500;
}

.dat-custom-auth-link {
  width: fit-content;
  padding: 0.15rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.dat-custom-auth-forgot {
  justify-self: end;
  margin-top: -0.3rem;
}

.dat-custom-auth[dir="rtl"] .dat-custom-auth-forgot {
  justify-self: start;
}

.dat-custom-auth-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.dat-custom-auth-switch {
  margin: 0;
  color: var(--colors--theme--text-secondary, #66616c);
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
}

.dat-custom-auth-switch a {
  color: var(--colors--theme--text-primary, #151423);
  font-weight: 650;
  text-underline-offset: 0.2em;
}

.dat-custom-auth-code {
  direction: ltr;
  letter-spacing: 0.22em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.dat-custom-auth-secured {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 0.42rem;
  color: var(--colors--theme--text-secondary, #66616c);
  font-size: 0.76rem;
  line-height: 1;
}

.dat-custom-auth-secured > span {
  font-size: 0.72rem;
}

.dat-clerk-captcha-host {
  position: relative;
  z-index: 1;
}

@media (max-width: 479px) {
  .dat-custom-auth-password .dat-input {
    padding-inline-end: 4.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dat-custom-auth-google,
  .dat-custom-auth-submit {
    transition: none;
  }
}

