/* Placement test */
.t-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 36px; box-shadow: 0 14px 40px rgba(11, 27, 63, .08); display: flex; flex-direction: column; gap: 18px; }
.t-center { align-items: center; text-align: center; }
.t-center .lead { margin-inline: auto; }
.t-ticks { text-align: left; max-width: 560px; }
.t-top { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--navy); }
.t-sec { color: var(--blue); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.t-steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.t-steps span { height: 6px; border-radius: 3px; background: var(--blue-soft); }
.t-steps span.done { background: var(--blue); }
.t-steps span.cur { background: linear-gradient(90deg, var(--blue) 50%, var(--blue-soft) 50%); }
.t-body { display: flex; flex-direction: column; gap: 22px; }
.t-h { font-family: var(--he); font-size: 20px; font-weight: 700; color: var(--blue); margin: 10px 0 -6px; text-align: right; }
.t-item { border: 0; margin: 0; padding: 0 0 20px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.t-q { font-size: clamp(19px, 2.6vw, 23px); font-weight: 700; color: var(--navy); line-height: 1.5; padding: 0; }
.t-q[lang="he"] { font-family: var(--he); text-align: right; width: 100%; }
.t-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .t-choices { grid-template-columns: 1fr; } }
.t-choice { display: flex; align-items: center; gap: 10px; background: var(--mist); border: 2px solid transparent; border-radius: 14px; padding: 13px 16px; cursor: pointer; font-size: 17px; font-weight: 600; color: var(--navy); line-height: 1.45; transition: border-color .15s, background .15s; }
.t-choice[lang="he"] { font-family: var(--he); font-size: 19px; }
.t-choice:hover { border-color: #BFD0FF; }
.t-choice input { accent-color: var(--blue); width: 18px; height: 18px; flex: none; margin: 0; }
.t-choice:has(input:checked) { border-color: var(--blue); background: var(--white); }
.t-text { font-family: var(--he); font-size: 20px; line-height: 1.85; color: var(--navy); background: var(--mist); border-right: 4px solid var(--blue); border-radius: 16px; padding: 22px 24px; text-align: right; }
.t-text-label { display: block; font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.t-area { font-family: var(--he); font-size: 18px; line-height: 1.7; color: var(--navy); border: 1px solid #D5DEF2; border-radius: 14px; padding: 14px; width: 100%; box-sizing: border-box; resize: vertical; }
.t-cloze { font-family: var(--he); font-size: 20px; line-height: 2.4; color: var(--navy); text-align: right; }
.t-blank { font-family: var(--he); font-size: 18px; width: 120px; border: 0; border-bottom: 2px solid var(--blue); background: var(--mist); border-radius: 6px 6px 0 0; padding: 2px 8px; color: var(--navy); }
.t-write { font-family: var(--he); font-size: 20px; color: var(--navy); border: 1px solid #D5DEF2; border-radius: 14px; padding: 12px 14px; width: 100%; max-width: 360px; box-sizing: border-box; align-self: flex-end; }
.t-area:focus, .t-blank:focus, .t-write:focus { outline: none; box-shadow: 0 0 0 3px rgba(31, 94, 255, .18); }
.t-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-top: 6px; }
.t-link { background: none; border: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; cursor: pointer; padding: 8px 0; text-align: left; }
.t-form { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.t-form label { font-size: 14px; font-weight: 700; color: var(--navy); margin-top: 8px; }
.t-form input { font: inherit; font-size: 16px; color: var(--navy); border: 1px solid #D5DEF2; border-radius: 14px; padding: 13px 14px; }
.t-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 94, 255, .18); }
.t-err { color: #B42318; font-size: 14px; font-weight: 600; margin: 4px 0 0; }
@media (max-width: 640px) { .t-card { padding: 22px; } .t-text { padding: 18px; font-size: 19px; } }
