/* permit practice test additions to app.css */
.modes, .topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: .75rem; margin: .5rem 0 1.5rem; }
.app button.mode { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; text-align: left; padding: 1rem 1.1rem; min-height: 88px; font-weight: 400; line-height: 1.35; }
.app button.mode strong { font-size: 1.08rem; }
.app button.mode.primary span { color: #e9f5ef; }
.progress-box, .about-test { border: 1px solid var(--line); border-radius: .6rem; padding: .8rem 1.1rem 1rem; margin: 1rem 0; background: var(--card); line-height: 1.55; }
.quiz-top { margin-bottom: .6rem; }
.quiz-title { font-weight: 700; margin: 0; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; }
.quiz-pos { margin: .2rem 0 .4rem; color: var(--muted); }
.bar { height: 8px; background: #e2ebe6; border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--brand); transition: width .2s; }
#q-form fieldset { border: 0; padding: 0; margin: 0; }
.q-text { font-size: clamp(1.15rem, 3vw, 1.4rem); font-weight: 700; line-height: 1.35; margin: .8rem 0 .9rem; padding: 0; }
.choices { display: grid; gap: .55rem; max-width: 760px; }
.choice { display: flex; gap: .75rem; align-items: flex-start; border: 2px solid var(--line); border-radius: .55rem; padding: .8rem .9rem; cursor: pointer; background: #fff; min-height: 44px; line-height: 1.4; }
.choice:hover { border-color: #8fa79c; }
.choice input { width: 22px; height: 22px; margin: .1rem 0 0; flex: none; accent-color: var(--brand); }
.choice:has(input:checked) { border-color: var(--brand); background: #eef7f2; }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice.right, .choice.right:has(input:checked) { border-color: var(--good); background: #e3f4ea; }
.choice.wrong, .choice.wrong:has(input:checked) { border-color: var(--bad); background: #fbe9e7; }
.choice.right span::after { content: "  ✓ correct"; font-weight: 700; color: var(--good); }
.choice.wrong span::after { content: "  ✗ your answer"; font-weight: 700; color: var(--bad); }
.feedback { max-width: 760px; margin: .9rem 0; padding: .8rem 1rem; border-radius: .5rem; line-height: 1.5; border-left: 5px solid var(--line); background: #f3f6f4; }
.feedback.good { border-left-color: var(--good); }
.feedback.bad { border-left-color: var(--bad); }
.feedback.warn { border-left-color: var(--focus); }
.quiz-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.result-text { font-size: 1.15rem; }
.topic-scores { line-height: 1.6; }
.review { line-height: 1.5; max-width: 760px; }
.review li { margin-bottom: 1rem; }
.rv-q { font-weight: 700; margin: 0 0 .2rem; }
.rv-a { margin: 0 0 .2rem; }
