.atlas-auth-entry {
  border-radius: 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
}
.atlas-auth-entry__logo { grid-column: 1; grid-row: 1 / 3; width: 104px; margin: 0; align-self: center; }
.atlas-auth-entry h2 { grid-column: 2; grid-row: 1; align-self: end; margin: 0 0 2px; text-align: left; font-size: 23px; }
.atlas-auth-entry > p { grid-column: 2; grid-row: 2; align-self: start; margin: 0 0 20px; text-align: left; }
.atlas-auth-entry__choices,
.atlas-auth-entry__guest,
.atlas-auth-entry__location,
.atlas-auth-entry__login { grid-column: 1 / -1; }
.atlas-auth-entry__choices button { grid-template-columns: 28px 1fr; column-gap: 10px; text-align: left; }
.atlas-auth-entry__choices button svg { grid-row: 1 / 3; width: 24px; height: 24px; align-self: center; }
.atlas-auth-entry__territory { display: flex; align-items: center; justify-content: center; gap: 8px; }
.atlas-auth-entry__territory svg { width: 18px; height: 18px; flex: 0 0 auto; }
.atlas-auth-entry__location { margin-top: 5px; padding-top: 16px; border-top: 1px solid #c9c9c9; }
.atlas-auth-entry__location > small { display: block; margin-bottom: 6px; color: #686868; font-size: 12px; }
.atlas-auth-entry__login { margin-top: 10px; padding-top: 0; border-top: 0; }

.atlas-auth-overlay--compact iframe {
  width: min(360px, 100%);
  height: min(var(--ta-entry-height, 680px), calc(100dvh - 32px));
  border-radius: 26px;
  background: #fff;
}

.atlas-auth-overlay--compact .atlas-auth-overlay__close {
  right: max(22px, calc((100vw - 360px) / 2 + 10px));
  top: max(22px, calc((100dvh - var(--ta-entry-height, 680px)) / 2 + 8px));
}

@media (max-width: 760px) {
  .atlas-auth-overlay--compact iframe {
    height: min(var(--ta-entry-height, 680px), calc(100dvh - 16px));
  }
  .atlas-auth-overlay--compact .atlas-auth-overlay__close {
    right: 18px;
    top: max(18px, calc((100dvh - var(--ta-entry-height, 680px)) / 2 + 8px));
  }
}

.ta-auth-embedded .ta-auth-overlay__content.ta-entry-flow {
  display: block;
  box-sizing: border-box;
  height: auto;
  min-height: 0;
  max-height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px 20px 26px;
  background: #fff;
  color: #202020;
  font: 15px/1.42 Arial, sans-serif;
}
.ta-auth-embedded .ta-auth-overlay__surface:has(.ta-entry-flow) {
  height: auto;
  max-height: 100dvh;
}

.ta-entry-flow * { box-sizing: border-box; }
.ta-entry-flow__logo { display: block; width: 110px; height: auto; margin: 0 0 20px; }
.ta-entry-flow__progress { margin-bottom: 22px; }
.ta-entry-flow__progress > div:first-child,
.ta-entry-flow__labels { display: flex; justify-content: space-between; gap: 8px; }
.ta-entry-flow__progress > div:first-child { font-size: 12px; }
.ta-entry-flow__progress > div:first-child span { color: #666; }
.ta-entry-flow__track { height: 5px; margin: 7px 0; border-radius: 999px; background: #ece9df; overflow: hidden; }
.ta-entry-flow__track span { display: block; height: 100%; background: #d5ae55; }
.ta-entry-flow__labels small { font-size: 11px; color: #696969; }
.ta-entry-flow__labels .is-current { color: #181818; font-weight: 700; }
.ta-entry-flow__back { display: block; width: auto; min-height: 34px; margin: 0 0 14px; padding: 0; border: 0; background: transparent; color: #222; text-align: left; text-decoration: underline; cursor: pointer; }
.ta-entry-flow h1 { margin: 0 0 12px; font-size: 24px; line-height: 1.15; letter-spacing: -.025em; }
.ta-entry-flow h1.ta-entry-flow__one-line { font-size: 20px; white-space: nowrap; }
.ta-entry-flow__intro { margin: 0 0 21px; color: #5c5c5c; line-height: 1.4; }
.ta-entry-flow form { display: grid; gap: 15px; }
.ta-entry-flow form > label,
.ta-entry-flow__domains { display: grid; gap: 7px; font-weight: 600; }
.ta-entry-flow input:not([type=checkbox]) { width: 100%; min-width: 0; min-height: 46px; padding: 11px 12px; border: 1px solid #c9c9c9; border-radius: 8px; background: #fff; color: #171717; font: inherit; }
.ta-entry-flow form > small { margin-top: -8px; color: #626262; font-size: 12px; font-weight: 400; }
.ta-entry-flow__primary { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px; padding: 10px 14px; border: 0; border-radius: 8px; background: #202020; color: #fff; font: 600 14px Arial, sans-serif; cursor: pointer; }
.ta-entry-flow__separator { display: none; text-align: center; margin: 12px 0; color: #666; }
.ta-entry-flow:has(.ta-google-auth) .ta-entry-flow__separator { display: block; }
.ta-entry-flow .ta-google-auth { margin: 0; padding-top: 0; border-top: 0; }
.ta-entry-flow .ta-google-auth > p:first-child { display: none; }
.ta-entry-flow .ta-google-auth__button { display: flex; justify-content: center; }
.ta-entry-flow__check,
.ta-entry-flow__login-options label { display: flex !important; align-items: flex-start; gap: 9px; font-weight: 400 !important; }
.ta-entry-flow__check input,
.ta-entry-flow__login-options input { margin-top: 3px; flex: 0 0 auto; }
.ta-entry-flow__login-options { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.ta-entry-flow__text-action { width: auto; padding: 4px 0; border: 0; background: transparent; text-decoration: underline; text-align: left; cursor: pointer; }
.ta-entry-flow a { color: inherit; }
.ta-entry-flow [data-rg-error] { margin: 0; color: #9c2323; }
.ta-entry-flow [data-rg-error]:empty { display: none; }
.ta-entry-flow__domains > span { font-size: 14px; }
.ta-entry-flow__domains > span small { margin-left: 5px; padding: 3px 7px; border-radius: 999px; background: #eee; color: #686868; font-size: 11px; font-weight: 400; }
.ta-entry-flow__domains details { position: relative; min-width: 0; }
.ta-entry-flow__domains summary { display: block; min-width: 0; min-height: 46px; padding: 11px 42px 11px 14px; border: 1px solid #c9c9c9; border-radius: 8px; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; list-style: none; font-weight: 400; background: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23808080' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.ta-entry-flow__domains summary::-webkit-details-marker { display: none; }
.ta-entry-flow__domains details[open] summary { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 7 5-5 5 5' fill='none' stroke='%23808080' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ta-entry-flow__domain-menu { margin-top: 4px; border: 1px solid #c9c9c9; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 12px 28px #0002; }
.ta-entry-flow__domain-count { color: #626262; font-size: 12px; font-weight: 400; }
.ta-entry-flow__privacy { padding: 11px 12px; border-radius: 8px; background: #faf6eb; color: #4c422b; font-size: 12px; font-weight: 400; }
.ta-entry-flow__eyebrow { display: block; margin: 0 0 10px; color: #626262; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.ta-entry-flow__domain-search { display: block; border-bottom: 1px solid #c9c9c9; }
.ta-entry-flow__domain-search input { min-height: 46px !important; padding-left: 40px !important; border: 0 !important; border-radius: 0 !important; font-weight: 400 !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 20 20'%3E%3Ccircle cx='9' cy='9' r='5.5' fill='none' stroke='%23808080' stroke-width='1.6'/%3E%3Cpath d='m13.2 13.2 4 4' fill='none' stroke='%23808080' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 13px center; }
.ta-entry-flow__domain-options { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; max-height: 232px; padding: 8px; overflow: auto; }
.ta-entry-flow__domain-options label { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 40px; padding: 7px 8px; border: 1px solid transparent; border-radius: 8px; font-size: 12px; line-height: 1.25; font-weight: 400; cursor: pointer; }
.ta-entry-flow__domain-options label:has(input:checked) { background: #eee; border-color: #c9c9c9; }
.ta-entry-flow__domain-options input { flex: none; width: 18px; min-height: 18px; margin: 0; accent-color: #202020; }
.ta-entry-flow__domain-options label[hidden] { display: none; }
.ta-entry-flow__domain-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 8px 10px; border-top: 1px solid #c9c9c9; }
.ta-entry-flow__domain-footer .ta-entry-flow__text-action { flex: none; font-size: 12px; }
.ta-entry-flow :is(button,input,summary,a):focus-visible { outline: 3px solid #b28a27; outline-offset: 3px; }

@media (max-width: 430px) {
  .ta-auth-embedded .ta-auth-overlay__content.ta-entry-flow { padding-inline: 16px; }
  .ta-entry-flow__domain-options { grid-template-columns: 1fr; }
}
