.sj-plan-screen {
  position: fixed;
  inset: 0;
  z-index: 800;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: auto;
  background: #fff;
  color: #111827;
  padding: 18px 20px calc(24px + env(safe-area-inset-bottom));
}
.sj-plan-screen *,
.sj-plan-screen *::before,
.sj-plan-screen *::after {
  box-sizing: border-box;
}
.sj-plan-top {
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  max-width: 480px;
  width: 100%;
  margin: 0 auto 8px;
}
.sj-plan-back,
.sj-plan-close {
  height: 36px;
  border: 0;
  background: transparent;
  color: #374151;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.sj-plan-back { justify-self: start; padding: 0; cursor: pointer; }
.sj-plan-back[hidden] { display: block !important; visibility: hidden; }
.sj-plan-close { justify-self: end; text-align: right; }
.sj-plan-count {
  margin: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
}
.sj-plan-progress {
  grid-column: 1 / -1;
  height: 4px;
  margin-top: 8px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}
.sj-plan-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #0057ff;
}
.sj-plan-screen form {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.sj-plan-step { padding-top: 28px; }
.sj-plan-screen.is-wizard .sj-plan-step { display: none; }
.sj-plan-screen.is-wizard .sj-plan-step.is-on { display: block; }
.sj-plan-saved {
  margin: 0 0 14px;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}
.sj-plan-step h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.35;
}
.sj-plan-help {
  margin: 10px 0 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}
.sj-plan-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}
.sj-plan-choice {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.sj-plan-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sj-plan-choice.is-on,
.sj-plan-choice:has(input:checked) {
  border-color: #0057ff;
  background: #f4f8ff;
  color: #1d4ed8;
}
.sj-plan-login {
  margin: 18px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}
.sj-plan-login a { color: #0057ff; }
.sj-plan-save {
  display: block;
  width: 100%;
  height: 52px;
  margin-top: 18px;
  border: 0;
  border-radius: 14px;
  background: #0057ff;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.sj-plan-screen.is-wizard:not(.is-last) .sj-plan-save,
.sj-plan-screen.is-wizard:not(.is-last) .sj-plan-login {
  display: none;
}
