html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background: #f6f7f9;
  color: #1f2937;
}

.login-body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(circle at top left, rgba(201,162,74,.14), transparent 34%),
    linear-gradient(135deg, #06080c 0%, #10151d 100%);
  color: #f4efe7;
  font-family: Arial, Helvetica, sans-serif;
}

.login-body .container {
  max-width: none;
  padding: 0;
}

.login-body main {
  padding: 0 !important;
}

.login-page-wrap {
  width: 100%;
  min-height: 100svh;
  padding: clamp(78px, 10vh, 104px) clamp(16px, 3vw, 32px) clamp(18px, 3vw, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: auto;
}

.modern-language-bar {
  position: absolute;
  top: clamp(18px, 3vw, 28px);
  right: clamp(16px, 3vw, 32px);
  margin: 0;
  max-width: calc(100% - 32px);
}

.modern-language-bar .language-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modern-language-bar .language-label {
  color: rgba(244,239,231,.62);
  font-size: 13px;
  font-weight: 800;
}

.modern-language-bar .language-select {
  height: 38px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: #f4efe7;
  padding: 0 12px;
  max-width: 100%;
}

.modern-language-bar .language-select option {
  background: #10151d;
  color: #f4efe7;
}

.login-box {
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, 1fr);
  min-height: 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: clamp(18px, 3vw, 30px);
  overflow: hidden;
  background: rgba(255,255,255,.035);
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
}

.left-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(145deg, rgba(201,162,74,.12), rgba(255,255,255,.02));
}

.brand-inner {
  text-align: center;
  min-width: 0;
}

.logo-block {
  margin-bottom: 22px;
}

.logo-image {
  width: clamp(170px, 24vw, 280px);
  max-width: 100%;
  height: auto;
}

.brand-title {
  margin: 0 0 18px;
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: .9;
  letter-spacing: .12em;
  font-weight: 900;
}

.brand-text {
  margin: 0 auto;
  max-width: 320px;
  color: rgba(244,239,231,.72);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.right-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: clamp(28px, 4vw, 48px);
  background: rgba(6,8,12,.72);
}

.form-area {
  width: 100%;
  max-width: 390px;
}

.eyebrow {
  margin-bottom: 10px;
  color: #c9a24a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
}

.form-title {
  margin: 0 0 10px;
  font-size: clamp(27px, 3vw, 30px);
  font-weight: 900;
}

.form-subtitle {
  margin: 0 0 26px;
  color: rgba(244,239,231,.66);
  line-height: 1.6;
}

.error-box,
.hs-alert {
  margin-bottom: 18px;
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(255,93,93,.12);
  color: #ffb8b8;
  border: 1px solid rgba(255,93,93,.3);
  font-size: 14px;
}

.neutral-box {
  background: rgba(201,162,74,.11);
  color: #f5e7cf;
  border-color: rgba(201,162,74,.28);
}

.login-form .field {
  margin-bottom: 18px;
}

.login-form label {
  display: block;
  margin-bottom: 8px;
  color: rgba(244,239,231,.82);
  font-size: 13px;
  font-weight: 800;
}

.login-form input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.07);
  color: #fff;
  padding: 0 14px;
  outline: none;
  min-width: 0;
}

.login-form input::placeholder {
  color: rgba(244,239,231,.42);
}

.login-form input:focus {
  border-color: rgba(201,162,74,.72);
  box-shadow: 0 0 0 4px rgba(201,162,74,.1);
}

.error-text {
  display: block;
  margin-top: 7px;
  color: #ffb8b8;
  font-size: 12px;
}

.submit-btn {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #c9a24a, #e0ba63);
  color: #111;
  font-weight: 900;
  cursor: pointer;
}

.submit-btn:hover {
  filter: brightness(1.04);
}

.bottom-links {
  margin-top: 18px;
  text-align: center;
}

.link-button {
  color: rgba(244,239,231,.68);
  text-decoration: none;
  font-weight: 800;
}

.gold-link-button {
  color: #e0ba63;
}

.link-button:hover {
  color: #f5e7cf;
}

.hs-shell {
  max-width: 980px;
  margin: 48px auto;
}

.hs-kicker {
  color: #9a6a11;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hs-shell h1 {
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 14px;
}

.hs-shell p {
  max-width: 760px;
  color: #667085;
  line-height: 1.7;
}

.hs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.hs-grid article {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 18px;
}

.hs-grid strong,
.hs-grid span {
  display: block;
}

.hs-grid strong {
  margin-bottom: 8px;
}

.hs-grid span {
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .hs-grid {
    grid-template-columns: 1fr;
  }

  .login-page-wrap {
    padding: 86px 18px 18px;
    align-items: flex-start;
  }

  .modern-language-bar {
    top: 18px;
    left: 18px;
    right: 18px;
  }

  .modern-language-bar .language-form {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .login-box {
    grid-template-columns: 1fr;
  }

  .left-panel,
  .right-panel {
    padding: 34px 24px;
  }

  .brand-title {
    font-size: 32px;
  }

  .logo-image {
    width: 220px;
  }
}

@media (max-width: 520px) {
  .login-page-wrap {
    padding: 92px 12px 14px;
  }

  .modern-language-bar {
    left: 12px;
    right: 12px;
  }

  .modern-language-bar .language-form {
    gap: 8px;
  }

  .modern-language-bar .language-select {
    flex: 1 1 160px;
  }

  .left-panel,
  .right-panel {
    padding: 24px 18px;
  }

  .brand-title {
    font-size: 28px;
  }

  .brand-text {
    font-size: 14px;
  }

  .logo-image {
    width: 160px;
  }

  .form-subtitle {
    margin-bottom: 18px;
  }

  .login-form .field {
    margin-bottom: 14px;
  }
}

@media (max-height: 720px) and (min-width: 761px) {
  .login-page-wrap {
    align-items: flex-start;
  }

  .logo-block {
    margin-bottom: 14px;
  }

  .brand-title {
    margin-bottom: 12px;
  }

  .form-subtitle {
    margin-bottom: 18px;
  }

  .login-form .field {
    margin-bottom: 14px;
  }
}

/* Hidden Stash V2 login */
.hs-login-v2 {
  min-height: 100svh;
  background: #f9fafb;
  color: #1f2937;
  padding: clamp(18px, 3vw, 32px);
  display: grid;
  place-items: center;
  position: relative;
}

.hs-login-language {
  position: absolute;
  top: clamp(18px, 3vw, 28px);
  right: clamp(18px, 3vw, 32px);
  z-index: 2;
}

.hs-login-language .language-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hs-login-language .language-label {
  color: #6b7280;
  font-size: 13px;
  font-weight: 800;
}

.hs-login-language .language-select {
  height: 42px;
  min-width: 132px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #1f2937;
  padding: 0 16px;
  font-weight: 700;
}

.hs-login-language .language-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.hs-login-card {
  width: min(1060px, 100%);
  display: grid;
  grid-template-columns: minmax(300px, .92fr) minmax(360px, 1fr);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}

.hs-login-brand-panel {
  min-width: 0;
  min-height: 620px;
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(145deg, rgba(31, 41, 55, .03), rgba(37, 99, 235, .08)),
    #f3f4f6;
}

.hs-login-brand-inner {
  max-width: 360px;
  text-align: center;
}

.hs-login-logo-block {
  width: clamp(150px, 19vw, 230px);
  margin: 0 auto 28px;
}

.hs-login-logo {
  width: 100%;
  height: auto;
  display: block;
}

.hs-login-brand-title {
  margin: 0 0 12px;
  color: #111827;
  font-size: clamp(34px, 4vw, 48px);
  line-height: .96;
  font-weight: 900;
  letter-spacing: 0;
}

.hs-login-brand-text {
  margin: 0 auto;
  max-width: 310px;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.7;
}

.hs-login-form-panel {
  min-width: 0;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(34px, 5vw, 68px);
}

.hs-login-form-area {
  width: 100%;
  max-width: 390px;
}

.hs-login-eyebrow {
  margin-bottom: 12px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hs-login-title {
  margin: 0 0 10px;
  color: #111827;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.hs-login-subtitle {
  margin: 0 0 28px;
  color: #6b7280;
  line-height: 1.65;
}

.hs-login-error {
  margin-bottom: 18px;
  padding: 13px 14px;
  border: 1px solid #fecaca;
  border-radius: 14px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 14px;
  line-height: 1.5;
}

.hs-login-success {
  margin-bottom: 18px;
  padding: 13px 14px;
  border: 1px solid #a7f3d0;
  border-radius: 14px;
  background: #ecfdf5;
  color: #047857;
  font-size: 14px;
  line-height: 1.5;
}

.hs-login-resend-form {
  margin-top: 10px;
}

.hs-login-resend-form button {
  border: 0;
  background: transparent;
  color: #047857;
  padding: 0;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  text-decoration: underline;
}

.hs-login-form .field {
  margin-bottom: 18px;
}

.hs-login-form label {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-size: 13px;
  font-weight: 800;
}

.hs-login-form input {
  width: 100%;
  height: 50px;
  min-width: 0;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  background: #fff;
  color: #111827;
  padding: 0 15px;
  outline: none;
}

.hs-login-form input::placeholder {
  color: #9ca3af;
}

.hs-login-form input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.hs-login-submit {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  transition: transform .16s ease, opacity .16s ease;
}

.hs-login-submit:hover {
  transform: translateY(-1px);
}

.hs-login-submit:active {
  transform: translateY(0);
  opacity: .92;
}

.hs-login-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
  text-align: center;
}

.hs-login-links a {
  color: #047857;
  text-decoration: none;
  font-weight: 800;
}

.hs-login-links span {
  color: #9ca3af;
}

.hs-login-links a:hover {
  text-decoration: underline;
}

@media (max-width: 860px) {
  .hs-login-v2 {
    place-items: start center;
    padding-top: 86px;
  }

  .hs-login-language {
    left: 18px;
    right: 18px;
  }

  .hs-login-card {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .hs-login-brand-panel {
    min-height: auto;
    padding: 34px 24px 28px;
  }

  .hs-login-form-panel {
    min-height: auto;
    padding: 28px 24px 34px;
  }

  .hs-login-brand-text {
    display: none;
  }
}

@media (max-width: 520px) {
  .hs-login-v2 {
    padding: 88px 12px 14px;
  }

  .hs-login-language .language-form {
    width: 100%;
    justify-content: space-between;
  }

  .hs-login-language .language-select {
    min-width: 0;
    width: 160px;
  }

  .hs-login-logo-block {
    width: 132px;
    margin-bottom: 18px;
  }

  .hs-login-brand-title {
    font-size: 30px;
  }

  .hs-login-title {
    font-size: 30px;
  }
}

/* Hidden Stash V2 request access */
.hs-access-page {
  min-height: 100svh;
  background: #f9fafb;
  color: #1f2937;
  padding: clamp(18px, 4vw, 42px);
  display: grid;
  place-items: center;
}

.hs-access-card {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(430px, 1fr);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}

.hs-access-brand {
  min-width: 0;
  padding: clamp(30px, 5vw, 58px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(37, 99, 235, .08), rgba(4, 120, 87, .08)),
    #f3f4f6;
}

.hs-access-logo {
  width: clamp(132px, 18vw, 220px);
  height: auto;
}

.hs-access-brand p {
  max-width: 280px;
  margin: 0;
  color: #6b7280;
  line-height: 1.7;
}

.hs-access-panel {
  padding: clamp(32px, 5vw, 62px);
}

.hs-access-eyebrow {
  margin-bottom: 12px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}

.hs-access-panel h1 {
  margin: 0 0 12px;
  color: #111827;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.hs-access-subtitle {
  margin: 0 0 28px;
  color: #6b7280;
  font-size: 16px;
  line-height: 1.65;
}

.hs-access-form {
  display: grid;
  gap: 18px;
}

.hs-access-form .field {
  min-width: 0;
}

.hs-access-form label {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-size: 13px;
  font-weight: 850;
}

.hs-access-form input,
.hs-access-form select {
  width: 100%;
  height: 50px;
  min-width: 0;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  background: #fff;
  color: #111827;
  padding: 0 15px;
  outline: none;
}

.hs-access-form input::placeholder {
  color: #9ca3af;
}

.hs-access-form input:focus,
.hs-access-form select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.hs-access-phone-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 10px;
}

.hs-access-hint {
  margin: -2px 0 10px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.45;
}

.hs-access-submit {
  width: 100%;
  height: 52px;
  margin-top: 6px;
  border: 0;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  transition: transform .16s ease, opacity .16s ease;
}

.hs-access-submit:hover {
  transform: translateY(-1px);
}

.hs-access-submit:active {
  transform: translateY(0);
  opacity: .92;
}

.hs-access-back {
  display: inline-flex;
  margin-top: 22px;
  color: #047857;
  text-decoration: none;
  font-weight: 800;
}

.hs-access-back:hover {
  text-decoration: underline;
}

@media (max-width: 880px) {
  .hs-access-page {
    place-items: start center;
  }

  .hs-access-card {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .hs-access-brand {
    padding: 30px 24px;
  }

  .hs-access-brand p {
    display: none;
  }

  .hs-access-panel {
    padding: 30px 24px 36px;
  }
}

@media (max-width: 520px) {
  .hs-access-page {
    padding: 12px;
  }

  .hs-access-logo {
    width: 116px;
  }

  .hs-access-panel h1 {
    font-size: 32px;
  }

  .hs-access-phone-row {
    grid-template-columns: 1fr;
  }
}

/* Hidden Stash V2 onboarding */
.hs-onboarding-page {
  min-height: 100svh;
  background: #f9fafb;
  color: #1f2937;
  padding: clamp(18px, 4vw, 42px);
}

.hs-onboarding-card {
  width: min(980px, 100%);
  margin: 0 auto;
  border: 1px solid #e5e7eb;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
  padding: clamp(24px, 4vw, 42px);
}

.hs-onboarding-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 800;
}

.hs-onboarding-head a {
  color: #2563eb;
  text-decoration: none;
}

.hs-document-panel {
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: #f9fafb;
}

.hs-document-title {
  padding: 24px 24px 18px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.hs-document-title p,
.hs-profile-intro p {
  margin: 0 0 9px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hs-document-title h1,
.hs-profile-intro h1 {
  margin: 0 0 8px;
  color: #111827;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 900;
}

.hs-document-title span,
.hs-profile-intro span {
  color: #6b7280;
  line-height: 1.6;
}

.hs-document-content {
  max-height: 52svh;
  overflow: auto;
  padding: 24px;
  color: #374151;
  line-height: 1.75;
}

.hs-document-content :first-child {
  margin-top: 0;
}

.hs-onboarding-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}

.hs-onboarding-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #374151;
  font-weight: 750;
  line-height: 1.5;
}

.hs-onboarding-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #2563eb;
}

.hs-onboarding-button {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  padding: 0 24px;
  font-weight: 900;
  cursor: pointer;
}

.hs-profile-card {
  width: min(840px, 100%);
}

.hs-profile-intro {
  margin-bottom: 26px;
}

.hs-profile-form {
  display: grid;
  gap: 18px;
}

.hs-profile-form .field {
  min-width: 0;
}

.hs-profile-form label {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-size: 13px;
  font-weight: 850;
}

.hs-profile-form input,
.hs-profile-form select {
  width: 100%;
  height: 50px;
  min-width: 0;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  background: #fff;
  color: #111827;
  padding: 0 15px;
  outline: none;
}

.hs-profile-form input:focus,
.hs-profile-form select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.hs-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hs-photo-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #f9fafb;
}

.hs-photo-preview img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 999px;
}

.hs-upload-wrap {
  position: relative;
  border: 1px dashed #93c5fd;
  border-radius: 16px;
  background: #eff6ff;
  padding: 18px;
}

.hs-upload-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.hs-upload-ui {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hs-upload-ui strong {
  display: block;
  margin-bottom: 4px;
  color: #111827;
}

.hs-upload-ui span {
  color: #6b7280;
  font-size: 13px;
}

.hs-upload-button {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  padding: 10px 16px;
  font-weight: 850;
}

@media (max-width: 700px) {
  .hs-onboarding-actions,
  .hs-upload-ui {
    align-items: stretch;
    flex-direction: column;
  }

  .hs-profile-grid {
    grid-template-columns: 1fr;
  }

  .hs-onboarding-button {
    width: 100%;
  }
}

/* Production mobile hardening for login, access and onboarding pages. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

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

img,
svg,
video {
  max-width: 100%;
}

.hs-live-toast-stack {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  top: max(18px, env(safe-area-inset-top));
  z-index: 2147483000;
  display: grid;
  gap: 12px;
  width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}

.hs-live-toast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: start;
  gap: 8px;
  overflow: hidden;
  border: 1px solid rgba(226, 176, 75, 0.38);
  border-radius: 18px;
  background: #08111f;
  box-shadow: 0 18px 45px rgba(4, 11, 22, 0.28);
  color: #f8fafc;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: auto;
}

.hs-live-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hs-live-toast.is-leaving {
  opacity: 0;
  transform: translateY(-8px);
}

.hs-live-toast-content {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 16px 0 16px 16px;
  color: inherit;
  text-decoration: none;
}

.hs-live-toast-content:hover {
  color: inherit;
  text-decoration: none;
}

.hs-live-toast-type {
  color: #e2b04b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hs-live-toast strong,
.hs-live-toast p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.hs-live-toast strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.2;
}

.hs-live-toast p {
  color: rgba(248, 250, 252, 0.82);
  font-size: 0.92rem;
  line-height: 1.38;
}

.hs-live-toast-close {
  width: 38px;
  height: 38px;
  margin: 8px 8px 0 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.hs-live-toast-close:hover,
.hs-live-toast-close:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.login-page-wrap,
.login-box,
.hs-login-v2,
.hs-login-card,
.hs-access-page,
.hs-access-card,
.hs-onboarding-page,
.hs-onboarding-card,
.hs-document-panel,
.hs-profile-card {
  min-width: 0;
  max-width: 100%;
}

.login-body h1,
.login-body p,
.hs-login-v2 h1,
.hs-login-v2 p,
.hs-access-page h1,
.hs-access-page p,
.hs-onboarding-page h1,
.hs-onboarding-page p,
.hs-onboarding-page span,
.hs-onboarding-page strong,
.hs-onboarding-page label {
  overflow-wrap: anywhere;
}

.login-form input,
.hs-login-form input,
.hs-access-form input,
.hs-access-form select,
.hs-profile-form input,
.hs-profile-form select,
.hs-onboarding-button,
.submit-btn,
.hs-login-submit,
.hs-access-submit {
  min-width: 0;
}

@media (max-width: 700px) {
  .hs-onboarding-card {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .hs-document-title,
  .hs-document-content {
    padding-inline: 16px;
  }

  .hs-document-content {
    max-height: 56svh;
  }

  .hs-photo-preview {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hs-live-toast-stack {
    inset: auto max(12px, env(safe-area-inset-right)) calc(92px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    width: auto;
  }

  .hs-live-toast {
    border-radius: 16px;
  }

  .hs-live-toast-content {
    padding: 14px 0 14px 14px;
  }

  .login-box,
  .hs-login-card,
  .hs-access-card,
  .hs-onboarding-card {
    border-radius: 18px;
  }

  .modern-language-bar .language-form,
  .hs-login-language .language-form {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .modern-language-bar .language-select,
  .hs-login-language .language-select {
    width: 100%;
  }

  .left-panel,
  .right-panel,
  .hs-login-brand-panel,
  .hs-login-form-panel,
  .hs-access-brand,
  .hs-access-panel {
    padding-inline: 16px;
  }

  .hs-access-phone-row,
  .hs-profile-grid {
    grid-template-columns: 1fr;
  }

  .hs-onboarding-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hs-onboarding-check {
    align-items: flex-start;
  }
}
