html {
  overflow-y: visible !important;
  touch-action: auto !important;
}

body.tenyo-instructions-page,
body.tenyo-instructions-page.is-scroll-locked {
  overflow-x: hidden !important;
  overflow-y: visible !important;
  touch-action: auto !important;
}

body.tenyo-instructions-page .l-header__menu-line {
  background-color: #3957cc;
}

.tidi-page {
  --tidi-accent: #3957cc;
  --tidi-ink: #181818;
  --tidi-muted: #666;
  min-height: 70vh;
  padding-top: 120px;
  color: var(--tidi-ink);
  line-height: 1.75;
}

.tidi-page,
.tidi-page * {
  box-sizing: border-box;
}

.tidi-breadcrumb {
  display: flex;
  max-width: 1060px;
  margin: 0 auto;
  padding: 18px 24px 0;
  gap: 10px;
  color: var(--tidi-muted);
  font-size: 13px;
}

.tidi-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 24px 90px;
}

.tidi-card {
  padding: clamp(30px, 6vw, 72px);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 36px rgba(0, 0, 0, .06);
}

.tidi-title {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(29px, 4vw, 46px);
  line-height: 1.25;
}

.tidi-title::after {
  display: block;
  width: 42px;
  height: 3px;
  margin: 22px auto 0;
  background: var(--tidi-accent);
  content: "";
}

.tidi-lead {
  margin: 0 auto 38px;
  text-align: center;
}

.tidi-form {
  max-width: 540px;
  margin: 0 auto;
}

.tidi-field {
  margin-bottom: 22px;
}

.tidi-field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}

.tidi-field input {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border: 1px solid #888;
  border-radius: 2px;
  background: #fff;
  color: #111;
  font: inherit;
}

.tidi-agreement {
  margin: 30px 0 22px;
  color: var(--tidi-muted);
  font-size: 14px;
}

.tidi-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tidi-button {
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid var(--tidi-accent);
  border-radius: 2px;
  background: #fff;
  color: var(--tidi-accent);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.tidi-button--primary {
  background: var(--tidi-accent);
  color: #fff;
}

.tidi-error {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-left: 4px solid #b00020;
  background: #fff1f3;
  color: #8a0018;
  font-weight: 700;
}

.tidi-pending-message {
  margin: 0 0 24px;
  color: #b00020;
  font-weight: 700;
}

@media (max-width: 640px) {
  .tidi-page {
    padding-top: 94px;
  }

  .tidi-breadcrumb {
    overflow: hidden;
    padding-inline: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tidi-main {
    padding: 20px 12px 50px;
  }

  .tidi-card {
    padding: 30px 18px;
  }

  .tidi-actions {
    grid-template-columns: 1fr;
  }
}
