.tk-coaching-layer {
  background: rgba(3, 9, 18, .83);
  padding: 16px;
}

.tk-coaching-sheet {
  position: relative;
  width: min(510px, 100%);
  max-height: min(88vh, 820px);
  padding: 30px 28px calc(24px + env(safe-area-inset-bottom, 0px));
  border: 1px solid rgba(217, 184, 95, .32);
  border-radius: 24px;
  background: linear-gradient(165deg, #10223a 0%, #091629 48%, #081323 100%);
  box-shadow: 0 28px 86px rgba(0, 0, 0, .48);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.tk-coaching-seal {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  border: 1px solid rgba(217, 184, 95, .56);
  border-radius: 12px;
  color: #ffe6a5;
  font: 800 14px Georgia, serif;
  letter-spacing: .03em;
}

.tk-coaching-kicker {
  color: #d9b85f;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .11em;
}

.tk-coaching-title {
  margin: 9px 0 0;
  color: #fbfcff;
  font-size: clamp(21px, 5.4vw, 27px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.42;
}

.tk-coaching-divider {
  width: 48px;
  height: 1px;
  margin: 17px 0;
  background: rgba(217, 184, 95, .74);
}

.tk-coaching-copy {
  margin: 10px 0;
  color: #c2cfde;
  font-size: 12px;
  line-height: 1.83;
}

.tk-coaching-service {
  display: grid;
  gap: 8px;
  margin-top: 17px;
  padding: 15px 16px;
  border: 1px solid rgba(217, 184, 95, .24);
  border-radius: 15px;
  background: rgba(217, 184, 95, .055);
}

.tk-coaching-service > span {
  color: #deebf8;
  font-size: 11px;
  font-weight: 800;
}

.tk-coaching-service > strong {
  color: #ffe6a5;
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -.04em;
}

.tk-coaching-service > strong span {
  padding: 0 5px;
  color: #9caec2;
  font-size: 15px;
}

.tk-coaching-promise {
  margin: 15px 0 0;
  color: #99abc0;
  font-size: 10px;
  line-height: 1.75;
}

.tk-coaching-actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.tk-coaching-primary,
.tk-coaching-secondary,
.tk-coaching-tertiary,
.tk-coaching-home-button {
  min-height: 45px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.tk-coaching-primary {
  border: 1px solid #d9b85f;
  background: #d9b85f;
  color: #081323;
}

.tk-coaching-secondary {
  border: 1px solid #315171;
  background: rgba(15, 35, 59, .96);
  color: #e1eaf4;
}

.tk-coaching-tertiary {
  min-height: 34px;
  border: 0;
  background: transparent;
  color: #8398ae;
  font-size: 10px;
}

.tk-coaching-flow {
  width: min(560px, 100%);
}

.tk-coaching-steps {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 7px;
  margin: 19px 0 17px;
}

.tk-coaching-steps span {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #778da5;
  font-size: 8px;
  font-weight: 750;
  white-space: nowrap;
}

.tk-coaching-steps span b {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid #315171;
  border-radius: 50%;
  background: #0b192b;
  color: #8da2b8;
  font-size: 9px;
}

.tk-coaching-steps span.is-active {
  color: #d8e4ef;
}

.tk-coaching-steps span.is-active b {
  border-color: #d9b85f;
  background: rgba(217, 184, 95, .12);
  color: #ffe6a5;
}

.tk-coaching-steps i {
  height: 1px;
  margin-bottom: 17px;
  background: rgba(136, 164, 194, .24);
}

.tk-coaching-flow-copy {
  margin: 0 0 17px;
  color: #b9c8d8;
  font-size: 11px;
  line-height: 1.8;
}

.tk-coaching-form {
  display: grid;
  gap: 15px;
}

.tk-coaching-form label {
  display: grid;
  gap: 7px;
  color: #d8e4ef;
  font-size: 10px;
  font-weight: 800;
}

.tk-coaching-form input,
.tk-coaching-form select,
.tk-coaching-form textarea {
  width: 100%;
  border: 1px solid #2b4866;
  border-radius: 11px;
  outline: 0;
  background: #0b192b;
  color: #eef4fa;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.tk-coaching-form input,
.tk-coaching-form select {
  min-height: 43px;
  padding: 0 12px;
}

.tk-coaching-form textarea {
  min-height: 78px;
  padding: 11px 12px;
  resize: vertical;
}

.tk-coaching-form input:focus,
.tk-coaching-form select:focus,
.tk-coaching-form textarea:focus {
  border-color: #d9b85f;
  box-shadow: 0 0 0 3px rgba(217, 184, 95, .11);
}

.tk-coaching-form input::placeholder,
.tk-coaching-form textarea::placeholder {
  color: #6f859c;
}

.tk-coaching-form-error {
  min-height: 0;
  margin: 10px 0 0;
  color: #ff9da1;
  font-size: 10px;
  line-height: 1.6;
}

.tk-coaching-loading {
  display: grid;
  justify-items: center;
  gap: 13px;
  padding: 30px 0 18px;
  color: #aebed0;
  font-size: 11px;
}

.tk-coaching-loading i {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(217, 184, 95, .22);
  border-top-color: #d9b85f;
  border-radius: 50%;
  animation: tk-coaching-spin .8s linear infinite;
}

.tk-coaching-payment-box {
  min-height: 180px;
  padding: 14px;
  border: 1px solid rgba(136, 164, 194, .19);
  border-radius: 14px;
  background: #0b192b;
}

.tk-coaching-secure {
  margin: 12px 0 0;
  color: #7f94aa;
  font-size: 9px;
  line-height: 1.65;
  text-align: center;
}

.tk-coaching-test-mode {
  margin-bottom: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(242, 196, 108, .28);
  border-radius: 9px;
  background: rgba(242, 196, 108, .08);
  color: #f2c46c;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}

.tk-coaching-complete-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(86, 211, 153, .5);
  border-radius: 50%;
  background: rgba(86, 211, 153, .1);
  color: #75e2af;
  font-size: 22px;
  font-weight: 900;
}

@keyframes tk-coaching-spin {
  to { transform: rotate(360deg); }
}

.tk-coaching-actions button:disabled {
  cursor: wait;
  opacity: .62;
}

.tk-coaching-detail-list {
  display: grid;
  gap: 0;
}

.tk-coaching-detail-list > div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(136, 164, 194, .13);
  line-height: 1.7;
}

.tk-coaching-detail-list > div > span {
  color: #90a6bd;
  font-size: 10px;
}

.tk-coaching-detail-list > div > strong {
  color: #e4edf7;
  font-size: 11px;
  font-weight: 750;
}

.tk-coaching-confirm .tk-coaching-title {
  font-size: clamp(20px, 5vw, 25px);
}

.tk-coaching-home-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding: 15px 15px;
  border: 1px solid rgba(217, 184, 95, .2);
  border-radius: 16px;
  background: rgba(16, 35, 57, .65);
}

.tk-coaching-home-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.tk-coaching-home-copy span {
  color: #d9b85f;
  font-size: 9px;
}

.tk-coaching-home-copy strong {
  color: #e4edf7;
  font-size: 12px;
}

.tk-coaching-home-copy small {
  color: #93a6ba;
  font-size: 10px;
}

.tk-coaching-home-button {
  flex: 0 0 auto;
  min-height: 37px;
  padding: 0 11px;
  border: 1px solid rgba(217, 184, 95, .34);
  background: transparent;
  color: #ffe6a5;
  font-size: 10px;
}

@media (max-width: 420px) {
  .tk-coaching-layer {
    padding: 12px;
  }

  .tk-coaching-sheet {
    max-height: 90vh;
    padding: 23px 19px calc(17px + env(safe-area-inset-bottom, 0px));
    border-radius: 19px;
  }

  .tk-coaching-copy {
    font-size: 11px;
  }

  .tk-coaching-steps {
    gap: 5px;
  }

  .tk-coaching-steps span {
    font-size: 7px;
  }

  .tk-coaching-payment-box {
    padding: 11px;
  }

  .tk-coaching-home-card {
    gap: 10px;
    padding: 13px;
  }

  .tk-coaching-home-copy strong {
    font-size: 11px;
  }
}

@media (max-width: 355px) {
  .tk-coaching-soft-break {
    display: none;
  }

  .tk-coaching-home-card {
    align-items: flex-start;
    flex-direction: column;
  }
}
