

.lt-page button.pg-btn {
  cursor: pointer;
}

.lt-card {
  padding: 32px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  box-shadow: var(--lp-shadow);
  scroll-margin-top: 90px;
}

.lt-card h2 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  letter-spacing: normal;
  text-shadow: none;
  color: var(--lp-navy);
}

.lt-steps {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.lt-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--lp-muted);
}

.lt-steps strong {
  color: var(--lp-ink);
}

.lt-steps li > i {
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--lp-soft);
  color: var(--lp-primary);
  font-size: 1.2rem;
}

.lt-last {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--lp-muted);
}

.lt-last strong {
  color: var(--lp-primary);
}

.lt-start {
  min-width: 220px;
}

.lt-progress {
  height: 8px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--lp-line);
  overflow: hidden;
}

.lt-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--lp-primary);
  transition: width 0.3s ease;
}

.lt-step {
  margin: 0 0 16px;
  font-weight: 700;
  color: var(--lp-muted);
  outline: none;
}

.lt-passage {
  margin: 0 0 24px;
  padding: 22px 24px;
  border-left: 4px solid var(--lp-primary);
  border-radius: 14px;
  background: var(--lp-soft);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--lp-ink);
}

.lt-passage h2 {
  margin: 0 0 10px;
  font-family: inherit;
  font-size: 1.3rem;
  color: var(--lp-navy);
}

.lt-passage p {
  margin: 0 0 10px;
}

.lt-passage p:last-child {
  margin-bottom: 0;
}

.lt-form-intro {
  margin: 0 0 14px;
  color: var(--lp-muted);
}

.lt-question {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  min-width: 0;
}

.lt-question legend {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  padding: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--lp-ink);
}

.lt-qnum {
  flex: 0 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lp-primary);
  color: #fff;
  font-size: 0.9rem;
}

body.active .lt-qnum {
  color: #0b1220;
}

.lt-option {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
  padding: 12px 14px;
  border: 2px solid var(--lp-line);
  border-radius: 12px;
  background: var(--lp-surface);
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--lp-ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.lt-option:hover {
  border-color: var(--lp-primary);
}

.lt-option input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--lp-primary);
}

.lt-option:has(input:checked) {
  border-color: var(--lp-primary);
  background: var(--lp-soft);
}

.lt-option:has(input:focus-visible) {
  outline: 3px solid var(--lp-accent);
  outline-offset: 2px;
}

.lt-error {
  margin: 0 0 14px;
  font-weight: 700;
  color: #b91c1c;
}

body.active .lt-error {
  color: #fca5a5;
}

.lt-result {
  text-align: center;
}

.lt-result-eyebrow {
  margin: 0;
  font-weight: 700;
  color: var(--lp-muted);
  outline: none;
}

.lt-result-level {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 6px;
  font-size: clamp(3.6rem, 12vw, 5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--lp-primary);
}

.lt-plus {
  font-size: 1.1rem;
  font-weight: 700;
}

.lt-result h2 {
  margin: 0 0 8px;
  color: var(--lp-navy);
}

.lt-result-summary {
  max-width: 560px;
  margin: 0 auto 14px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--lp-muted);
}

.lt-close {
  display: inline-block;
  margin: 0 0 16px;
  padding: 8px 16px;
  border-radius: 16px;
  line-height: 1.5;
  background: var(--lp-soft);
  color: var(--lp-ink);
}

.lt-breakdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.lt-breakdown li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--lp-line);
  border-radius: 10px;
  background: var(--lp-surface);
  font-size: 0.98rem;
}

.lt-bd-level {
  font-weight: 800;
}

.lt-bd-score {
  color: var(--lp-muted);
}

.lt-breakdown .is-pass i {
  color: var(--lp-success);
}

.lt-breakdown .is-fail i {
  color: var(--lp-muted);
}

.lt-tip {
  margin: 0 auto 16px;
  padding: 16px 20px;
  max-width: 600px;
  border-radius: 14px;
  background: var(--lp-bg);
  border: 1px solid var(--lp-line);
  text-align: left;
}

.lt-tip strong {
  display: inline-flex;
  gap: 8px;
  color: var(--lp-ink);
}

.lt-tip p {
  margin: 6px 0 0;
  line-height: 1.55;
  color: var(--lp-muted);
}

.lt-disclaimer {
  max-width: 600px;
  margin: 0 auto 20px;
  font-size: 0.95rem;
  color: var(--lp-muted);
}

.lt-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.lt-share-status {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: var(--lp-success);
  word-break: break-word;
}

.lt-next-links p {
  margin: 8px 0 0;
  color: var(--lp-muted);
}

.lt-next-links a {
  font-weight: 700;
  color: var(--lp-primary);
}

body.is-logged-in .lt-guest-only,
body:not(.is-logged-in) .lt-member-only {
  display: none;
}

.lt-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.lt-info {
  margin-top: 44px;
}

.lt-info h2 {
  margin: 0 0 12px;
  font-size: 1.6rem;
  color: var(--lp-navy);
}

.lt-info > p {
  margin: 0 0 16px;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--lp-muted);
}

.lt-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  background: var(--lp-surface);
}

.lt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.02rem;
}

.lt-table th,
.lt-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--lp-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
  color: var(--lp-ink);
}

.lt-table td {
  color: var(--lp-muted);
}

.lt-table tr:last-child th,
.lt-table tr:last-child td {
  border-bottom: 0;
}

.lt-table thead th {
  font-size: 0.92rem;
  color: var(--lp-muted);
}

.lt-table tbody th {
  white-space: nowrap;
}

.lt-badge {
  display: inline-block;
  min-width: 34px;
  margin-right: 6px;
  padding: 2px 6px;
  border-radius: 8px;
  background: var(--lp-soft);
  color: var(--lp-primary);
  font-weight: 800;
  text-align: center;
}

.lt-faq details {
  margin-bottom: 10px;
  padding: 14px 18px;
  border: 1px solid var(--lp-line);
  border-radius: 14px;
  background: var(--lp-surface);
}

.lt-faq summary {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--lp-ink);
  cursor: pointer;
}

.lt-faq p {
  margin: 10px 0 0;
  line-height: 1.6;
  color: var(--lp-muted);
}

.lt-faq a {
  color: var(--lp-primary);
}

@media (max-width: 640px) {
  .lt-card {
    padding: 22px 18px;
  }

  .lt-passage {
    padding: 16px 16px;
    font-size: 1.06rem;
  }

  .lt-start,
  .lt-actions .pg-btn,
  .lt-next {
    width: 100%;
  }

  .lt-table tbody th {
    white-space: normal;
  }

  .lt-table th,
  .lt-table td {
    padding: 12px;
  }
}
