/* Hebrew Level Test: the test card, questions, results and plan. Uses the site's colour
   tokens (--blue, --yellow, --cream ...) from the page. */

.lt-app { scroll-margin-top: 110px; }
.lt-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: 0 18px 40px -24px rgba(26,94,167,0.45); border: 2px solid #ece4cf;
}
.lt-h { font-weight: 900; font-size: clamp(1.3rem, 4vw, 1.6rem); line-height: 1.25; color: var(--blue-dark); margin-bottom: 1rem; outline: none; }
.lt-card h3 { font-weight: 900; font-size: 1.15rem; color: var(--blue-dark); margin: 1.75rem 0 0.6rem; }
.lt-step { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.lt-hint { font-size: 0.95rem; color: var(--muted); font-weight: 700; margin-bottom: 1rem; }
.lt-lead { font-size: 1.08rem; font-weight: 700; }
.lt-notice {
  background: var(--yellow-light); border: 2px solid var(--yellow-dark); border-radius: 12px;
  padding: 0.75rem 1rem; font-weight: 700; font-size: 0.95rem; margin-bottom: 1rem;
}
.lt-draft {
  display: inline-block; background: #fde3e0; color: var(--red-dark); font-size: 0.78rem; font-weight: 900;
  border-radius: 100px; padding: 4px 12px; margin: 0.25rem 0 1rem;
}

.lt-progress { height: 8px; background: #f0e9d4; border-radius: 100px; overflow: hidden; margin-bottom: 1rem; }
.lt-progress span { display: block; height: 100%; background: var(--blue); border-radius: 100px; transition: width 0.25s; }

.lt-text {
  background: var(--cream); border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: 1.25rem;
  font-size: 1.15rem; font-weight: 700; color: var(--text);
}
.lt-he { font-family: 'Rubik', sans-serif; text-align: right; }
.lt-text.lt-he { font-size: 1.7rem; line-height: 1.6; }
.lt-text.lt-tl { font-style: italic; }
.lt-audio { width: 100%; margin-bottom: 1.25rem; }

.lt-options { display: grid; gap: 0.65rem; }
.lt-opt {
  display: block; width: 100%; min-height: 52px; text-align: left; cursor: pointer;
  font-family: 'Nunito', sans-serif; font-size: 1.02rem; font-weight: 800; color: var(--blue-dark);
  background: var(--white); border: 2px solid #d9e6f5; border-radius: 14px; padding: 0.8rem 1.1rem;
  transition: background 0.12s, border-color 0.12s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.lt-opt.lt-he { font-family: 'Rubik', sans-serif; font-size: 1.3rem; text-align: right; }
.lt-opt:hover { background: var(--yellow-light); border-color: var(--yellow-dark); }
.lt-opt:focus-visible, .lt-btn:focus-visible, .lt-back:focus-visible { outline: 3px solid var(--yellow-dark); outline-offset: 2px; }
.lt-opt.lt-unsure { color: var(--muted); border-style: dashed; font-weight: 700; text-align: center; }

.lt-btn {
  display: inline-block; background: var(--blue); color: var(--white); text-decoration: none; cursor: pointer;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.05rem; padding: 14px 28px;
  border: 0; border-radius: 100px; box-shadow: 0 14px 22px -12px rgba(41,121,200,0.95);
}
.lt-btn:hover { transform: translateY(-2px); }
.lt-btn.lt-secondary { background: var(--white); color: var(--blue-dark); border: 2px solid var(--blue); box-shadow: none; }
.lt-actions .lt-btn.lt-secondary { background: var(--blue); color: var(--white); border: 0; box-shadow: 0 14px 22px -12px rgba(41,121,200,0.95); }
.lt-back {
  background: none; border: 0; cursor: pointer; margin-top: 1rem; padding: 0.5rem 0;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 0.95rem; color: var(--muted);
}
.lt-start .lt-btn { margin-top: 0.5rem; }

.lt-list { margin: 0 0 0.5rem 1.2rem; }
.lt-list li { margin-bottom: 0.4rem; }
.lt-confidence { border-radius: 14px; padding: 1rem 1.2rem; margin: 1.25rem 0; font-size: 0.95rem; }
.lt-confidence p { margin-bottom: 0.5rem; }
.lt-confidence p:last-child { margin-bottom: 0; }
.lt-confidence.lt-moderate { background: #e9f1fb; }
.lt-confidence.lt-limited { background: var(--yellow-light); border: 2px solid var(--yellow-dark); }
.lt-cta { background: var(--blue-dark); color: var(--white); border-radius: 18px; padding: 1.4rem; margin: 1.75rem 0 0.5rem; text-align: center; }
.lt-cta p { font-weight: 800; margin-bottom: 0.9rem; }
.lt-cta .lt-btn { background: var(--white); color: #154A85; font-weight: 900; box-shadow: 0 6px 20px rgba(9,42,80,0.30); }

.lt-days { list-style: none; display: grid; gap: 0.75rem; }
.lt-day { background: var(--cream); border-radius: 14px; padding: 1rem 1.1rem; break-inside: avoid; }
.lt-day-h { font-weight: 900; color: var(--blue-dark); margin-bottom: 0.4rem; }
.lt-day-h span { background: var(--blue); color: var(--white); border-radius: 100px; padding: 2px 10px; font-size: 0.8rem; margin-right: 6px; }
.lt-day-h em { font-style: normal; font-size: 0.8rem; color: var(--muted); font-weight: 800; float: right; }
.lt-day ul { margin-left: 1.1rem; font-size: 0.95rem; }
.lt-day li { margin-bottom: 0.35rem; }
.lt-day a, .lt-rv a { color: var(--blue); font-weight: 800; }

.lt-review { margin-top: 1.75rem; }
.lt-review summary { cursor: pointer; font-weight: 900; color: var(--blue-dark); font-size: 1.1rem; padding: 0.5rem 0; }
.lt-rv { border-left: 4px solid #2e9e4f; padding: 0.5rem 0 0.5rem 0.9rem; margin: 0.9rem 0; font-size: 0.95rem; }
.lt-rv.no { border-left-color: var(--red); }
.lt-rv p { margin-bottom: 0.3rem; }
.lt-rv-q { font-weight: 800; }
.lt-rv-x { color: var(--muted); }
.lt-he-sm { font-family: 'Rubik', sans-serif; font-size: 1.15rem; font-weight: 700; }
.lt-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.5rem; }

@media (max-width: 480px) {
  .lt-card { padding: 1.3rem 1.1rem; border-radius: 18px; }
  .lt-text.lt-he { font-size: 1.45rem; }
  .lt-day-h em { float: none; display: block; }
}

@media print {
  .topbar, .hero, section.page:not(#test), .sell, footer, .lt-actions, .lt-cta, #hfz-env-banner { display: none !important; }
  .lt-card { box-shadow: none; border: 0; padding: 0; }
  .lt-review { display: none; }
  body { background: #fff; }
}
