:root {
  --kyg-import-ink: #231a35;
  --kyg-import-muted: #6d6578;
  --kyg-import-line: #ddd6e4;
  --kyg-import-accent: #ff6c3f;
  --kyg-import-accent-soft: #fff1eb;
  --kyg-import-surface: #ffffff;
  --kyg-import-success: #176f4e;
  --kyg-import-success-soft: #edf8f3;
}

.kyg-google-import-methods-host {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
}

.kyg-google-import-methods-host > button,
.kyg-google-import-methods-host > [role="button"] {
  box-sizing: border-box !important;
  width: 100% !important;
  display: inline-flex !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  min-height: 68px !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 1px solid var(--kyg-import-line) !important;
  border-radius: 16px !important;
  background: var(--kyg-import-surface) !important;
  color: var(--kyg-import-ink) !important;
  box-shadow: 0 2px 5px rgba(35, 26, 53, .07) !important;
  font-family: "Barlow Condensed", Helvetica, Arial, sans-serif !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-clip: padding-box !important;
  filter: none !important;
  cursor: pointer !important;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

.kyg-google-import-methods-host > button strong,
.kyg-google-import-methods-host > button b,
.kyg-google-import-methods-host > button span,
.kyg-google-import-methods-host > [role="button"] strong,
.kyg-google-import-methods-host > [role="button"] b,
.kyg-google-import-methods-host > [role="button"] span {
  font-family: inherit !important;
  font-size: inherit !important;
  font-style: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  line-height: inherit !important;
}

.kyg-google-import-methods-host > button:hover,
.kyg-google-import-methods-host > [role="button"]:hover {
  border-color: #bdb3c8 !important;
  background: #fdfbfe !important;
  box-shadow: 0 5px 14px rgba(35, 26, 53, .08) !important;
  transform: translateY(-1px);
}

.kyg-google-import-methods-host > button:focus-visible,
.kyg-google-import-methods-host > [role="button"]:focus-visible,
.kyg-google-import-dialog button:focus-visible,
.kyg-google-import-dialog input:focus-visible {
  outline: 3px solid rgba(255, 108, 63, .26) !important;
  outline-offset: 2px !important;
}

.kyg-google-import-methods-host > .active,
.kyg-google-import-methods-host > .selected,
.kyg-google-import-methods-host > .is-active,
.kyg-google-import-methods-host > .is-selected,
.kyg-google-import-methods-host > [aria-pressed="true"] {
  border-color: var(--kyg-import-accent) !important;
  background: var(--kyg-import-accent-soft) !important;
  color: var(--kyg-import-ink) !important;
  box-shadow: 0 0 0 1px rgba(255, 108, 63, .08) !important;
}

.kyg-google-import-button-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.kyg-google-import-button-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.kyg-google-import-methods-host > button strong,
.kyg-google-import-button-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0;
  text-align: center !important;
  overflow-wrap: anywhere;
}

.kyg-hotfix-contact-method {
  display: grid;
  gap: 7px;
  margin: 12px 0;
  font-weight: 800;
}

.kyg-hotfix-contact-method select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--kyg-import-line);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  font: inherit;
}

.kyg-business-contact-note {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  width: 100%;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid #b9ddcd;
  border-radius: 15px;
  background: linear-gradient(145deg, #f4fbf7, #edf8f3);
  color: #184f3b;
  box-shadow: 0 6px 16px rgba(23, 111, 78, .08);
}

.kyg-business-contact-note-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: #176f4e;
  color: #fff;
  font-size: .88rem;
  font-weight: 900;
}

.kyg-business-contact-note > span:last-child {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.kyg-business-contact-note strong,
.kyg-business-contact-note small {
  display: block;
  overflow-wrap: anywhere;
}

.kyg-business-contact-note strong {
  font-size: .9rem;
  line-height: 1.25;
}

.kyg-business-contact-note small {
  color: #517363;
  font-size: .77rem;
  font-weight: 550;
  line-height: 1.4;
}

.kyg-optional-area-help {
  display: block;
  margin-top: 6px;
  color: var(--kyg-import-muted);
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.4;
}

.kyg-request-app [hidden],
[data-kyg-request-app] [hidden] {
  display: none !important;
}

.kyg-google-import-open {
  overflow: hidden;
}

.kyg-google-import-layer {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(29, 21, 43, .64);
  backdrop-filter: blur(6px);
}

.kyg-google-import-dialog {
  box-sizing: border-box;
  display: grid;
  gap: 16px;
  width: min(640px, calc(100vw - 40px));
  max-height: min(90dvh, 760px);
  overflow: auto;
  padding: clamp(22px, 4vw, 30px);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 26px;
  background: var(--kyg-import-surface);
  color: var(--kyg-import-ink);
  box-shadow: 0 28px 85px rgba(18, 10, 29, .36), 0 8px 24px rgba(18, 10, 29, .16);
  font-family: inherit;
  overscroll-behavior: contain;
}

.kyg-google-import-dialog * {
  box-sizing: border-box;
}

.kyg-google-import-header,
.kyg-google-import-heading {
  display: flex;
  align-items: center;
}

.kyg-google-import-header {
  justify-content: space-between;
  gap: 18px;
}

.kyg-google-import-heading {
  min-width: 0;
  gap: 13px;
}

.kyg-google-import-heading-icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--kyg-import-accent-soft);
  color: var(--kyg-import-accent);
}

.kyg-google-import-heading-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.kyg-google-import-heading small {
  display: block;
  margin-bottom: 2px;
  color: #d94d27;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.kyg-google-import-dialog h2 {
  margin: 0;
  color: var(--kyg-import-ink);
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  text-transform: none;
}

.kyg-google-import-close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--kyg-import-line);
  border-radius: 14px;
  background: #fff;
  color: var(--kyg-import-ink);
  font: inherit;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.kyg-google-import-close:hover {
  background: #f7f3f8;
  transform: rotate(2deg);
}

.kyg-google-import-lead {
  margin: 0;
  color: var(--kyg-import-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.kyg-google-import-field {
  display: grid;
  gap: 8px;
  color: var(--kyg-import-ink);
  font-weight: 800;
}

.kyg-google-import-input-wrap {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid #cfc6d8;
  border-radius: 14px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.kyg-google-import-input-wrap:focus-within {
  border-color: var(--kyg-import-accent);
  box-shadow: 0 0 0 3px rgba(255, 108, 63, .13);
}

.kyg-google-import-input-wrap > svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  fill: #776d82;
}

.kyg-google-import-dialog input {
  min-width: 0;
  width: 100%;
  min-height: 50px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--kyg-import-ink);
  font: inherit;
  font-size: 1rem;
}

.kyg-google-import-dialog input::placeholder {
  color: #93899d;
}

.kyg-google-import-find,
.kyg-google-import-use,
.kyg-google-import-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid var(--kyg-import-line);
  border-radius: 14px;
  background: #fff;
  color: var(--kyg-import-ink);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: filter .18s ease, box-shadow .18s ease, transform .18s ease;
}

.kyg-google-import-find,
.kyg-google-import-use {
  border-color: var(--kyg-import-accent);
  background: var(--kyg-import-accent);
  color: #24172d;
  box-shadow: 0 8px 18px rgba(255, 108, 63, .2);
}

.kyg-google-import-find {
  width: 100%;
}

.kyg-google-import-dialog button:not(:disabled):hover {
  filter: brightness(.98);
  transform: translateY(-1px);
}

.kyg-google-import-dialog button:disabled {
  border-color: #ead8d2;
  background: #f7d0c4;
  color: #81747c;
  box-shadow: none;
  cursor: not-allowed;
}

.kyg-google-import-help {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 11px;
  padding: 13px 14px;
  border: 1px solid #e4ddeb;
  border-radius: 15px;
  background: #f8f5fa;
  color: var(--kyg-import-muted);
}

.kyg-google-import-help-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eee8f2;
  color: var(--kyg-import-ink);
  font-weight: 900;
}

.kyg-google-import-help strong {
  display: block;
  margin-bottom: 2px;
  color: var(--kyg-import-ink);
  font-size: .88rem;
}

.kyg-google-import-help p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.45;
}

.kyg-google-import-dialog [data-google-import-status] {
  min-height: 0;
  color: var(--kyg-import-success);
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.4;
}

.kyg-google-import-dialog [data-google-import-status]:empty {
  display: none;
}

.kyg-google-import-dialog [data-google-import-status].is-error {
  display: block;
  padding: 11px 13px;
  border-radius: 12px;
  background: #fff0ef;
  color: #ae2e27;
}

.kyg-google-import-dialog [data-google-import-preview].is-ready {
  display: grid;
  gap: 5px;
  padding: 15px;
  border: 1px solid #a7d7c1;
  border-radius: 15px;
  background: var(--kyg-import-success-soft);
}

.kyg-google-import-dialog [data-google-import-preview] strong {
  color: #174f3b;
}

.kyg-google-import-dialog [data-google-import-preview] span {
  color: #5f6f68;
  font-size: .86rem;
}

.kyg-google-import-dialog footer {
  position: sticky;
  bottom: calc(-1 * clamp(22px, 4vw, 30px));
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 2px calc(-1 * clamp(22px, 4vw, 30px)) calc(-1 * clamp(22px, 4vw, 30px));
  padding: 16px clamp(22px, 4vw, 30px) clamp(22px, 4vw, 30px);
  border-top: 1px solid #eee9f1;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
}

@media (max-width: 980px) {
  .kyg-google-import-methods-host {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .kyg-google-import-methods-host {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  .kyg-google-import-methods-host > button,
  .kyg-google-import-methods-host > [role="button"] {
    justify-content: center !important;
    min-height: 58px !important;
    text-align: center !important;
  }

  .kyg-google-import-button-label {
    flex: 0 1 auto !important;
    width: auto !important;
    text-align: center !important;
  }

  .kyg-google-import-layer {
    align-items: end;
    padding: 8px;
  }

  .kyg-google-import-dialog {
    gap: 14px;
    width: calc(100vw - 16px);
    max-height: 94dvh;
    padding: 20px 18px;
    border-radius: 24px 24px 14px 14px;
  }

  .kyg-google-import-heading-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .kyg-google-import-dialog h2 {
    font-size: 1.65rem;
  }

  .kyg-google-import-dialog footer {
    bottom: -20px;
    display: grid;
    grid-template-columns: 1fr;
    margin: 0 -18px -20px;
    padding: 14px 18px 18px;
  }

  .kyg-google-import-dialog footer button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kyg-google-import-methods-host > button,
  .kyg-google-import-methods-host > [role="button"],
  .kyg-google-import-dialog button {
    transition: none !important;
  }
}
