.ghp-auth,
.ghp-auth *,
.ghp-auth-modal,
.ghp-auth-modal * {
  box-sizing: border-box;
}

.ghp-auth,
.ghp-auth-modal {
  --ghp-auth-ink: #101b17;
  --ghp-auth-ink-soft: #2e3c36;
  --ghp-auth-muted: #65736d;
  --ghp-auth-muted-2: #88938d;
  --ghp-auth-line: rgba(23, 36, 31, 0.12);
  --ghp-auth-line-strong: rgba(20, 92, 67, 0.18);
  --ghp-auth-page-bg: #f7f3ea;
  --ghp-auth-surface: rgba(255, 255, 255, 0.90);
  --ghp-auth-surface-strong: rgba(255, 255, 255, 0.98);
  --ghp-auth-soft: #f3f8f2;
  --ghp-auth-accent: #124f3b;
  --ghp-auth-accent-strong: #0c382b;
  --ghp-auth-accent-soft: rgba(20, 92, 67, 0.09);
  --ghp-auth-gold: #d6af64;
  --ghp-auth-gold-soft: rgba(214, 175, 100, 0.18);
  --ghp-auth-danger: #a53a2e;
  --ghp-auth-danger-bg: #fff4f1;
  --ghp-auth-success: #14744d;
  --ghp-auth-success-bg: #eef9f3;
  --ghp-auth-info-bg: rgba(20, 92, 67, 0.07);
  --ghp-auth-radius-xl: 34px;
  --ghp-auth-radius-lg: 24px;
  --ghp-auth-radius-md: 17px;
  --ghp-auth-radius-sm: 13px;
  --ghp-auth-shadow-card: 0 30px 90px rgba(32, 42, 36, 0.17);
  --ghp-auth-shadow-soft: 0 14px 34px rgba(32, 42, 36, 0.11);
  --ghp-auth-focus: 0 0 0 4px rgba(20, 92, 67, 0.14);
  --ghp-auth-motion: 190ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --ghp-auth-visual-image: linear-gradient(135deg, #dfeee2 0%, #f6f2e7 47%, #d7e5de 100%);
  color: var(--ghp-auth-ink);
  font-family: inherit;
}

body.ghp-auth-template-page {
  margin: 0;
  background: var(--ghp-auth-page-bg, #f7f3ea);
}

.ghp-auth-template {
  min-height: 100vh;
  min-height: 100svh;
}

.ghp-auth--page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(22px, 4vw, 56px) 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 8%, rgba(133, 216, 162, 0.26), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(214, 175, 100, 0.18), transparent 32%),
    linear-gradient(135deg, #fffaf0 0%, #f4f8ef 44%, #ffffff 100%);
}

.ghp-auth--page::before,
.ghp-auth--page::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(2px);
}

.ghp-auth--page::before {
  top: 7%;
  left: max(18px, calc((100% - 1180px) / 2));
  width: 142px;
  height: 142px;
  border: 1px solid rgba(20, 92, 67, 0.10);
  background: rgba(255, 255, 255, 0.24);
}

.ghp-auth--page::after {
  right: max(18px, calc((100% - 1180px) / 2));
  bottom: 8%;
  width: 230px;
  height: 230px;
  background: rgba(255, 255, 255, 0.30);
  border: 1px solid rgba(214, 175, 100, 0.15);
}

.ghp-auth__shell {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(390px, 460px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
}

.ghp-auth--modal .ghp-auth__shell {
  width: 100%;
  display: block;
  margin: 0;
}

.ghp-auth__hero {
  position: relative;
  min-height: clamp(560px, 72vh, 760px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: clamp(28px, 4vw, 42px);
  background:
    linear-gradient(180deg, rgba(9, 31, 24, 0.16), rgba(9, 31, 24, 0.42)),
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.38), transparent 29%),
    var(--ghp-auth-visual-image);
  background-position: center;
  background-size: cover;
  box-shadow: 0 32px 90px rgba(32, 42, 36, 0.13);
  isolation: isolate;
}

.ghp-auth__hero::before,
.ghp-auth__hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.ghp-auth__hero::before {
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.20), transparent 45%),
    radial-gradient(circle at 72% 78%, rgba(214, 175, 100, 0.28), transparent 24%);
}

.ghp-auth__hero::after {
  width: 260px;
  height: 260px;
  right: -88px;
  bottom: -72px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
}

.ghp-auth__hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: clamp(28px, 5vw, 58px);
  text-align: center;
  color: #fff;
}

.ghp-auth__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.ghp-auth__brand--compact {
  margin-bottom: 14px;
  padding-right: 56px;
}

.ghp-auth__brand--visual {
  margin: 0 0 6px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.ghp-auth__brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.055em;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.34), transparent 24%),
    linear-gradient(135deg, var(--ghp-auth-accent-strong), #1d7c59);
  box-shadow: 0 16px 32px rgba(20, 92, 67, 0.24);
}

.ghp-auth__brand-name {
  color: var(--ghp-auth-ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.ghp-auth__brand--visual .ghp-auth__brand-name {
  color: #fff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.26);
}

.ghp-auth__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  padding: 8px 11px;
  border: 1px solid rgba(20, 92, 67, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ghp-auth-accent-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.ghp-auth__eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ghp-auth-gold);
  box-shadow: 0 0 0 5px var(--ghp-auth-gold-soft);
}

.ghp-auth__eyebrow--card {
  margin-bottom: 16px;
}

.ghp-auth__hero .ghp-auth__eyebrow {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.ghp-auth__hero h2 {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5.2vw, 74px);
  line-height: 0.96;
  letter-spacing: -0.065em;
  text-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
}

.ghp-auth__hero p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.ghp-auth__visual-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.ghp-auth__visual-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff !important;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
  transition: transform var(--ghp-auth-motion), background var(--ghp-auth-motion), border-color var(--ghp-auth-motion);
}

.ghp-auth__visual-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.26);
}

.ghp-auth__card,
.ghp-auth__signed-in {
  position: relative;
  align-self: center;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--ghp-auth-radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.89)),
    var(--ghp-auth-surface);
  box-shadow: var(--ghp-auth-shadow-card);
  padding: clamp(26px, 4vw, 40px);
  backdrop-filter: blur(24px);
}

.ghp-auth__card::before,
.ghp-auth__signed-in::before {
  content: '';
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: calc(var(--ghp-auth-radius-xl) - 1px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.56), transparent 38%);
}

.ghp-auth__card > *,
.ghp-auth__signed-in > * {
  position: relative;
  z-index: 1;
}

.ghp-auth--modal .ghp-auth__card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
}

.ghp-auth--modal .ghp-auth__card::before {
  display: none;
}

.ghp-auth__card h1,
.ghp-auth__card h2,
.ghp-auth__card-title,
.ghp-auth__signed-in h2 {
  margin: 0;
  color: var(--ghp-auth-ink);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.ghp-auth--modal .ghp-auth__card h2 {
  padding-right: 50px;
}

.ghp-auth__card-subtitle {
  margin: 10px 0 20px;
  color: var(--ghp-auth-muted);
  font-size: 14px;
  line-height: 1.55;
}

.ghp-auth__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  margin-bottom: 16px;
  border: 1px solid rgba(20, 92, 67, 0.08);
  border-radius: 20px;
  background: rgba(20, 92, 67, 0.07);
}

.ghp-auth .ghp-auth__tab {
  appearance: none;
  min-width: 0;
  min-height: 44px;
  border: 0 !important;
  border-radius: 15px !important;
  padding: 11px 12px !important;
  background: transparent;
  color: var(--ghp-auth-muted);
  font-weight: 900;
  font-size: 13px;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none;
  transition: background var(--ghp-auth-motion), color var(--ghp-auth-motion), box-shadow var(--ghp-auth-motion), transform var(--ghp-auth-motion);
}

.ghp-auth .ghp-auth__tab:hover {
  color: var(--ghp-auth-accent-strong);
}

.ghp-auth .ghp-auth__tab.is-active {
  color: var(--ghp-auth-ink);
  background: var(--ghp-auth-surface-strong);
  box-shadow: 0 10px 24px rgba(21, 50, 39, 0.11);
}

.ghp-auth__message {
  min-height: 0;
  margin: 0 0 14px;
  color: var(--ghp-auth-muted);
  font-size: 13px;
  line-height: 1.45;
}

.ghp-auth__message:empty {
  display: none;
}

.ghp-auth__message.has-error,
.ghp-auth__message.is-success,
.ghp-auth__message.has-info {
  display: block;
  padding: 11px 13px;
  border-radius: 15px;
  border: 1px solid var(--ghp-auth-line);
}

.ghp-auth__message.has-error {
  color: var(--ghp-auth-danger);
  border-color: rgba(165, 58, 46, 0.18);
  background: var(--ghp-auth-danger-bg);
}

.ghp-auth__message.is-success {
  color: var(--ghp-auth-success);
  border-color: rgba(20, 116, 77, 0.18);
  background: var(--ghp-auth-success-bg);
}

.ghp-auth__message.has-info {
  color: var(--ghp-auth-accent-strong);
  border-color: rgba(20, 92, 67, 0.13);
  background: var(--ghp-auth-info-bg);
}

.ghp-auth__panel[hidden] {
  display: none !important;
}

.ghp-auth__form {
  display: grid;
  gap: 15px;
}

.ghp-auth__field {
  display: grid;
  gap: 7px;
}

.ghp-auth__label {
  margin: 0;
  color: var(--ghp-auth-ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.ghp-auth .ghp-auth__input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--ghp-auth-line) !important;
  border-radius: var(--ghp-auth-radius-md) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  color: var(--ghp-auth-ink);
  padding: 0 16px !important;
  font: inherit;
  font-size: 15px;
  outline: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.70) inset;
  transition: border-color var(--ghp-auth-motion), box-shadow var(--ghp-auth-motion), background var(--ghp-auth-motion), transform var(--ghp-auth-motion);
}

.ghp-auth .ghp-auth__input::placeholder {
  color: var(--ghp-auth-muted-2);
}

.ghp-auth .ghp-auth__input:hover {
  border-color: rgba(20, 92, 67, 0.22) !important;
  background: rgba(255, 255, 255, 0.96) !important;
}

.ghp-auth .ghp-auth__input:focus,
.ghp-auth .ghp-auth__tab:focus-visible,
.ghp-auth .ghp-auth__submit:focus-visible,
.ghp-auth .ghp-auth__password-toggle:focus-visible,
.ghp-auth-modal .ghp-auth-modal__close:focus-visible {
  border-color: rgba(20, 92, 67, 0.62) !important;
  box-shadow: var(--ghp-auth-focus) !important;
  outline: none !important;
}

.ghp-auth__field.has-error .ghp-auth__input,
.ghp-auth__terms.has-error {
  border-color: rgba(165, 58, 46, 0.58) !important;
  box-shadow: 0 0 0 4px rgba(165, 58, 46, 0.10) !important;
}

.ghp-auth .ghp-auth__password {
  position: relative !important;
  display: block;
}

.ghp-auth .ghp-auth__password .ghp-auth__input {
  padding-right: 96px !important;
}

.ghp-auth .ghp-auth__password-toggle {
  position: absolute !important;
  top: 50% !important;
  right: 9px !important;
  bottom: auto !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  width: auto;
  height: 36px;
  margin: 0 !important;
  padding: 0 13px !important;
  border: 1px solid rgba(20, 92, 67, 0.09) !important;
  border-radius: 999px !important;
  background: var(--ghp-auth-accent-soft) !important;
  color: var(--ghp-auth-accent-strong) !important;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none !important;
  transition: background var(--ghp-auth-motion), color var(--ghp-auth-motion), transform var(--ghp-auth-motion);
}

.ghp-auth .ghp-auth__password-toggle:hover {
  background: rgba(20, 92, 67, 0.14) !important;
}

.ghp-auth__field-error {
  min-height: 0;
  color: var(--ghp-auth-danger);
  font-size: 12px;
  line-height: 1.35;
}

.ghp-auth__field-error:empty {
  display: none;
}

.ghp-auth__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ghp-auth__remember,
.ghp-auth__terms {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ghp-auth-muted);
  font-size: 13px;
  line-height: 1.45;
}

.ghp-auth__terms {
  padding: 12px 13px;
  border: 1px solid rgba(20, 92, 67, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.ghp-auth__remember input,
.ghp-auth__terms input {
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--ghp-auth-accent);
}

.ghp-auth__forgot,
.ghp-auth__terms a {
  color: var(--ghp-auth-accent-strong);
  font-weight: 900;
  text-decoration: none;
  text-underline-offset: 3px;
}

.ghp-auth__forgot:hover,
.ghp-auth__terms a:hover {
  text-decoration: underline;
}

.ghp-auth__password-strength,
.ghp-auth__hint {
  margin: -1px 0 0;
  color: var(--ghp-auth-muted);
  font-size: 12px;
  line-height: 1.45;
}

.ghp-auth__password-strength {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ghp-auth__password-strength::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ghp-auth-muted-2);
}

.ghp-auth__password-strength.has-error {
  color: var(--ghp-auth-danger);
}

.ghp-auth__password-strength.has-error::before {
  background: var(--ghp-auth-danger);
}

.ghp-auth__password-strength.is-success {
  color: var(--ghp-auth-success);
}

.ghp-auth__password-strength.is-success::before {
  background: var(--ghp-auth-success);
}

.ghp-auth .ghp-auth__submit {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 24% 0, rgba(255, 255, 255, 0.23), transparent 30%),
    linear-gradient(135deg, var(--ghp-auth-accent-strong), #1a7656) !important;
  color: #fff !important;
  font-weight: 950;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(20, 92, 67, 0.25) !important;
  transition: transform var(--ghp-auth-motion), opacity var(--ghp-auth-motion), box-shadow var(--ghp-auth-motion), filter var(--ghp-auth-motion);
}

.ghp-auth .ghp-auth__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 42px rgba(20, 92, 67, 0.28) !important;
  filter: saturate(1.04);
}

.ghp-auth .ghp-auth__submit:active {
  transform: translateY(0);
  box-shadow: 0 14px 26px rgba(20, 92, 67, 0.22) !important;
}

.ghp-auth .ghp-auth__submit:disabled,
.ghp-auth .ghp-auth__submit.is-loading {
  cursor: wait;
  opacity: 0.76;
  transform: none;
}

.ghp-auth .ghp-auth__submit.is-loading::before {
  content: '';
  width: 16px;
  height: 16px;
  margin-right: 9px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.44);
  border-top-color: #fff;
  animation: ghp-auth-spin 0.7s linear infinite;
}

.ghp-auth__social {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--ghp-auth-line);
}

.ghp-auth__social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--ghp-auth-muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.ghp-auth__social-button::before {
  content: '✓';
  display: inline-grid;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: var(--ghp-auth-success-bg);
  color: var(--ghp-auth-success);
  font-size: 11px;
  font-weight: 900;
}

.ghp-auth__disabled-message {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid rgba(20, 92, 67, 0.12);
  border-radius: 18px;
  background: var(--ghp-auth-soft);
  color: var(--ghp-auth-muted);
}

.ghp-auth__disabled-message strong {
  color: var(--ghp-auth-ink);
}

.ghp-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ghp-auth-motion), visibility var(--ghp-auth-motion);
}

.ghp-auth-modal[hidden] {
  display: none !important;
}

.ghp-auth-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ghp-auth-modal.is-closing {
  opacity: 0;
  pointer-events: none;
}

.ghp-auth-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 17, 15, 0.50);
  backdrop-filter: blur(10px);
}

.ghp-auth-modal__dialog {
  position: relative;
  width: min(512px, 100%);
  max-height: min(88vh, 780px);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 32px;
  background:
    radial-gradient(circle at 0 0, rgba(133, 216, 162, 0.24), transparent 35%),
    radial-gradient(circle at 100% 0, rgba(214, 175, 100, 0.16), transparent 32%),
    #fff;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.30);
  padding: clamp(26px, 4vw, 36px);
  transform: translateY(14px) scale(0.975);
  transition: transform var(--ghp-auth-motion), opacity var(--ghp-auth-motion);
}

.ghp-auth-modal.is-open .ghp-auth-modal__dialog {
  transform: translateY(0) scale(1);
}

.ghp-auth-modal.is-closing .ghp-auth-modal__dialog {
  transform: translateY(12px) scale(0.98);
}

.ghp-auth-modal .ghp-auth-modal__close {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 5;
  display: inline-grid !important;
  place-items: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(20, 92, 67, 0.10) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.82) !important;
  color: var(--ghp-auth-ink, #13201b) !important;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(32, 42, 36, 0.10) !important;
  transition: background var(--ghp-auth-motion), transform var(--ghp-auth-motion), box-shadow var(--ghp-auth-motion);
}

.ghp-auth-modal .ghp-auth-modal__close:hover {
  background: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(32, 42, 36, 0.14) !important;
}

.ghp-auth-modal .ghp-auth-modal__close span {
  display: block;
  transform: translateY(-1px);
}

html.ghp-auth-modal-open,
body.ghp-auth-modal-open {
  overscroll-behavior: contain;
}

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

@supports (max-height: 100dvh) {
  .ghp-auth-modal__dialog {
    max-height: min(88dvh, 780px);
  }
}

@media (max-width: 1024px) {
  .ghp-auth__shell {
    grid-template-columns: minmax(360px, 440px) minmax(0, 1fr);
    gap: 28px;
  }

  .ghp-auth__hero {
    min-height: 620px;
  }

  .ghp-auth__hero h2 {
    font-size: clamp(40px, 5.2vw, 62px);
  }
}

@media (max-width: 860px) {
  .ghp-auth--page {
    align-items: flex-start;
    padding: 16px 14px 30px;
  }

  .ghp-auth--page::before,
  .ghp-auth--page::after {
    display: none;
  }

  .ghp-auth__shell {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ghp-auth__card {
    order: 1;
  }

  .ghp-auth__hero {
    order: 2;
    min-height: 300px;
    border-radius: 28px;
  }

  .ghp-auth__hero-content {
    padding: 24px 18px;
  }

  .ghp-auth__brand--visual {
    margin-bottom: 2px;
  }

  .ghp-auth__hero h2 {
    max-width: 560px;
    font-size: clamp(30px, 8vw, 44px);
    line-height: 1.02;
  }

  .ghp-auth__hero p {
    max-width: 560px;
    font-size: 14px;
    line-height: 1.55;
  }

  .ghp-auth__visual-links {
    gap: 8px;
    margin-top: 6px;
  }

  .ghp-auth__visual-link {
    min-height: 38px;
    padding: 9px 13px;
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .ghp-auth--page {
    padding: 12px 12px 24px;
  }

  .ghp-auth__card,
  .ghp-auth__signed-in {
    border-radius: 26px;
    padding: 22px;
  }

  .ghp-auth__card h1,
  .ghp-auth__card h2,
  .ghp-auth__card-title,
  .ghp-auth__signed-in h2 {
    font-size: clamp(25px, 8vw, 31px);
  }

  .ghp-auth__card-subtitle {
    margin-bottom: 16px;
  }

  .ghp-auth__tabs {
    border-radius: 18px;
    margin-bottom: 14px;
  }

  .ghp-auth .ghp-auth__tab {
    min-height: 42px;
    padding: 10px 8px !important;
    font-size: 12px;
  }

  .ghp-auth .ghp-auth__input,
  .ghp-auth .ghp-auth__submit {
    min-height: 50px;
  }

  .ghp-auth__row {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .ghp-auth__hero {
    min-height: 260px;
  }

  .ghp-auth__hero p {
    display: none;
  }

  .ghp-auth__visual-links {
    max-width: 270px;
  }

  .ghp-auth-modal {
    align-items: end;
    padding: 0;
  }

  .ghp-auth-modal__overlay {
    backdrop-filter: blur(8px);
  }

  .ghp-auth-modal__dialog {
    width: 100%;
    max-height: 94vh;
    border-right: 0;
    border-left: 0;
    border-bottom: 0;
    border-radius: 28px 28px 0 0;
    padding: 26px 18px calc(22px + env(safe-area-inset-bottom));
    transform: translateY(100%);
  }

  .ghp-auth-modal.is-open .ghp-auth-modal__dialog {
    transform: translateY(0);
  }

  .ghp-auth-modal.is-closing .ghp-auth-modal__dialog {
    transform: translateY(100%);
  }

  .ghp-auth-modal .ghp-auth-modal__close {
    top: 12px !important;
    right: 12px !important;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  .ghp-auth--modal .ghp-auth__brand--compact {
    margin-bottom: 10px;
  }
}

@supports (max-height: 100dvh) {
  @media (max-width: 640px) {
    .ghp-auth-modal__dialog {
      max-height: 94dvh;
    }
  }
}

@media (max-width: 390px) {
  .ghp-auth--page {
    padding-right: 10px;
    padding-left: 10px;
  }

  .ghp-auth__card,
  .ghp-auth__signed-in {
    padding: 19px;
  }

  .ghp-auth .ghp-auth__password .ghp-auth__input {
    padding-right: 86px !important;
  }

  .ghp-auth .ghp-auth__password-toggle {
    min-width: 60px;
    padding-right: 11px !important;
    padding-left: 11px !important;
  }

  .ghp-auth__brand--visual {
    display: none;
  }

  .ghp-auth__hero {
    min-height: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ghp-auth *,
  .ghp-auth-modal,
  .ghp-auth-modal * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* Standalone /login/ layout: left account panel + right brand visual. */
body.ghp-auth-standalone-login,
body.ghp-auth-template-page {
  margin: 0 !important;
  min-height: 100vh;
  min-height: 100dvh;
  background: #fff !important;
}

body.ghp-auth-standalone-login .ghp-site-header-module,
body.ghp-auth-template-page .ghp-site-header-module,
body.ghp-auth-standalone-login .whb-header,
body.ghp-auth-template-page .whb-header,
body.ghp-auth-standalone-login .wd-header,
body.ghp-auth-template-page .wd-header,
body.ghp-auth-standalone-login header.site-header,
body.ghp-auth-template-page header.site-header,
body.ghp-auth-standalone-login #masthead,
body.ghp-auth-template-page #masthead,
body.ghp-auth-standalone-login .site-header,
body.ghp-auth-template-page .site-header,
body.ghp-auth-standalone-login .website-wrapper > header,
body.ghp-auth-template-page .website-wrapper > header,
body.ghp-auth-standalone-login .footer-container,
body.ghp-auth-template-page .footer-container,
body.ghp-auth-standalone-login .wd-footer,
body.ghp-auth-template-page .wd-footer,
body.ghp-auth-standalone-login footer.site-footer,
body.ghp-auth-template-page footer.site-footer,
body.ghp-auth-standalone-login #colophon,
body.ghp-auth-template-page #colophon {
  display: none !important;
}

body.ghp-auth-template-page .ghp-auth-template {
  min-height: 100vh;
  min-height: 100dvh;
}

body.ghp-auth-template-page .ghp-auth--page {
  min-height: 100vh;
  min-height: 100dvh;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

body.ghp-auth-template-page .ghp-auth--page::before,
body.ghp-auth-template-page .ghp-auth--page::after {
  display: none;
}

body.ghp-auth-template-page .ghp-auth__shell {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

body.ghp-auth-template-page .ghp-auth__card,
body.ghp-auth-template-page .ghp-auth__signed-in {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(34px, 5vw, 58px) clamp(24px, 3.5vw, 42px);
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
}

body.ghp-auth-template-page .ghp-auth__card::before,
body.ghp-auth-template-page .ghp-auth__signed-in::before {
  display: none;
}

body.ghp-auth-template-page .ghp-auth__eyebrow--card {
  margin-bottom: 24px;
}

body.ghp-auth-template-page .ghp-auth__card-title,
body.ghp-auth-template-page .ghp-auth__card h1,
body.ghp-auth-template-page .ghp-auth__card h2 {
  font-size: clamp(31px, 3vw, 42px);
  letter-spacing: -0.052em;
}

body.ghp-auth-template-page .ghp-auth__card-subtitle {
  max-width: 310px;
  margin: 12px 0 24px;
  color: var(--ghp-auth-muted);
}

body.ghp-auth-template-page .ghp-auth__tabs {
  margin-bottom: 18px;
}

body.ghp-auth-template-page .ghp-auth__hero {
  min-height: 100vh;
  min-height: 100dvh;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background:
    radial-gradient(circle at 83% 74%, rgba(7, 214, 106, 0.45), transparent 28%),
    radial-gradient(circle at 42% 18%, rgba(255, 255, 255, 0.10), transparent 28%),
    linear-gradient(116deg, rgba(0, 49, 40, 0.96) 0%, rgba(0, 70, 54, 0.92) 46%, rgba(0, 150, 84, 0.88) 100%),
    var(--ghp-auth-visual-image);
  background-position: center;
  background-size: cover;
}

body.ghp-auth-template-page .ghp-auth__hero::before {
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(circle at 63% -6%, rgba(12, 183, 95, 0.24), transparent 24%),
    linear-gradient(90deg, rgba(0, 49, 40, 0.42), transparent 58%);
}

body.ghp-auth-template-page .ghp-auth__hero::after {
  z-index: 0;
  right: 8%;
  bottom: 9%;
  width: min(34vw, 460px);
  height: min(34vw, 460px);
  border-color: rgba(255, 255, 255, 0.12);
}

body.ghp-auth-template-page .ghp-auth__hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  min-height: 100%;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) clamp(34px, 6vw, 92px);
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

body.ghp-auth-template-page .ghp-auth__brand--visual {
  margin: 0 0 42px;
}

body.ghp-auth-template-page .ghp-auth__hero h2 {
  max-width: 480px;
  font-size: clamp(46px, 5.8vw, 84px);
  line-height: 0.92;
  text-align: left;
}

body.ghp-auth-template-page .ghp-auth__hero p {
  max-width: 500px;
  font-size: clamp(16px, 1.4vw, 20px);
  text-align: left;
}

body.ghp-auth-template-page .ghp-auth__visual-links {
  justify-content: flex-start;
  margin-top: 18px;
}

body.ghp-auth-template-page .ghp-auth__visual-link {
  min-height: 38px;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.13);
}

@media (min-width: 1280px) {
  body.ghp-auth-template-page .ghp-auth__shell {
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  body.ghp-auth-template-page .ghp-auth--page {
    overflow: auto;
  }

  body.ghp-auth-template-page .ghp-auth__shell {
    grid-template-columns: 1fr;
  }

  body.ghp-auth-template-page .ghp-auth__card,
  body.ghp-auth-template-page .ghp-auth__signed-in {
    min-height: auto;
    padding: 28px 22px 34px;
  }

  body.ghp-auth-template-page .ghp-auth__hero {
    min-height: 360px;
  }

  body.ghp-auth-template-page .ghp-auth__hero-content {
    min-height: 360px;
    padding: 34px 22px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  body.ghp-auth-template-page .ghp-auth__brand--visual {
    margin-bottom: 16px;
  }

  body.ghp-auth-template-page .ghp-auth__hero h2,
  body.ghp-auth-template-page .ghp-auth__hero p {
    text-align: center;
  }

  body.ghp-auth-template-page .ghp-auth__visual-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  body.ghp-auth-template-page .ghp-auth__card,
  body.ghp-auth-template-page .ghp-auth__signed-in {
    padding: 24px 18px 30px;
  }

  body.ghp-auth-template-page .ghp-auth__card-subtitle {
    max-width: none;
  }

  body.ghp-auth-template-page .ghp-auth__hero {
    min-height: 290px;
  }

  body.ghp-auth-template-page .ghp-auth__hero-content {
    min-height: 290px;
  }

  body.ghp-auth-template-page .ghp-auth__hero h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  body.ghp-auth-template-page .ghp-auth__hero p {
    display: block;
    font-size: 14px;
  }
}

/* Email code auth enhancements. */
.ghp-auth__method-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 15px;
  padding: 5px;
  border: 1px solid rgba(20, 92, 67, 0.10);
  border-radius: 16px;
  background: rgba(20, 92, 67, 0.045);
}

.ghp-auth .ghp-auth__method-tab,
.ghp-auth .ghp-auth__send-code,
.ghp-auth .ghp-auth__text-button {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.ghp-auth .ghp-auth__method-tab {
  min-height: 38px;
  margin: 0 !important;
  padding: 8px 10px !important;
  border-radius: 13px !important;
  color: var(--ghp-auth-muted) !important;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  transition: background var(--ghp-auth-motion), color var(--ghp-auth-motion), box-shadow var(--ghp-auth-motion);
}

.ghp-auth .ghp-auth__method-tab.is-active {
  background: #fff !important;
  color: var(--ghp-auth-accent-strong) !important;
  box-shadow: 0 10px 24px rgba(32, 42, 36, 0.09);
}

.ghp-auth__code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
}

.ghp-auth .ghp-auth__send-code {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 52px;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid rgba(20, 92, 67, 0.14) !important;
  border-radius: var(--ghp-auth-radius-md) !important;
  background: var(--ghp-auth-accent-soft) !important;
  color: var(--ghp-auth-accent-strong) !important;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
  white-space: nowrap;
  box-shadow: none !important;
  transition: background var(--ghp-auth-motion), color var(--ghp-auth-motion), opacity var(--ghp-auth-motion), box-shadow var(--ghp-auth-motion);
}

.ghp-auth .ghp-auth__send-code:hover:not(:disabled) {
  background: rgba(20, 92, 67, 0.14) !important;
}

.ghp-auth .ghp-auth__send-code:disabled {
  cursor: wait;
  opacity: 0.72;
}

.ghp-auth .ghp-auth__send-code.is-loading::before {
  content: '';
  width: 13px;
  height: 13px;
  margin-right: 7px;
  border-radius: 999px;
  border: 2px solid rgba(20, 92, 67, 0.20);
  border-top-color: var(--ghp-auth-accent-strong);
  animation: ghp-auth-spin 0.7s linear infinite;
}

.ghp-auth .ghp-auth__send-code.is-cooling-down {
  cursor: not-allowed;
}

.ghp-auth__link-stack {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.ghp-auth .ghp-auth__text-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ghp-auth-accent-strong) !important;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
  box-shadow: none !important;
}

.ghp-auth .ghp-auth__text-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ghp-auth__panel--reset[hidden],
.ghp-auth__form[hidden],
.ghp-auth__tabs[hidden] {
  display: none !important;
}

.ghp-auth__reset-head {
  display: grid;
  gap: 8px;
  margin-bottom: 15px;
}

.ghp-auth__reset-head h3 {
  margin: 0;
  color: var(--ghp-auth-ink);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.ghp-auth__reset-head p {
  margin: 0;
  color: var(--ghp-auth-muted);
  font-size: 13px;
  line-height: 1.55;
}

.ghp-auth .ghp-auth__back-button {
  justify-self: start;
  margin-bottom: 2px !important;
}

.ghp-auth .ghp-auth__method-tab:focus-visible,
.ghp-auth .ghp-auth__send-code:focus-visible,
.ghp-auth .ghp-auth__text-button:focus-visible {
  box-shadow: var(--ghp-auth-focus) !important;
  outline: none !important;
}

@media (max-width: 640px) {
  .ghp-auth__code-row {
    grid-template-columns: 1fr;
  }

  .ghp-auth .ghp-auth__send-code {
    width: 100%;
  }

  .ghp-auth__link-stack {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .ghp-auth__method-tabs {
    gap: 6px;
  }

  .ghp-auth .ghp-auth__method-tab {
    min-height: 40px;
    font-size: 12px;
  }
}
