/* Keep PunjabTest's established palette, cards and test layout. */
.e8-breadcrumb{font-size:.85rem;margin-bottom:14px}.e8-breadcrumb a{color:#08734d}
.e8-settings{display:inline-flex;align-items:center;gap:10px;margin:16px 15px 16px 0}.e8-settings select{border:1px solid #b8d6c7;border-radius:8px;background:white;padding:10px;font:inherit}
#make-practice{margin:12px}#e8-message{color:#8f251d;font-weight:600}.e8-result-meta{overflow-wrap:anywhere}
.e8-review-options{margin:12px 0;padding-left:30px}.e8-review-options li{padding:11px 12px;margin:6px 0;border:1px solid #dce4df;border-radius:7px;overflow-wrap:anywhere}
.e8-review-options li strong{display:block;font-size:.85rem}.e8-review-options .e8-right{background:#e5f6e9;border-color:#23824a;color:#145b30}.e8-review-options .e8-wrong{background:#ffe9e7;border-color:#c54438;color:#8f251d}
.ptv8-review-card.skipped{background:#faf8f1}.ptv8-review-card.correct{border-left:4px solid #23824a}.ptv8-review-card.wrong{border-left:4px solid #c54438}
.ptv8-main,.ptv8-side{min-width:0}.ptv8-unit-name,.ptv8-crumb,.ptv8-question{overflow-wrap:anywhere}.ptv8-nav,.ptv8-actions{flex-wrap:wrap;gap:10px}.ptv8-option{text-align:left;min-height:48px}
.e8-practice small{display:block;color:#526359}.e8-practice p{line-height:1.7}.ptv8-review-card small{color:#526359}
@media(max-width:650px){.book-hero{display:flex;flex-direction:column;gap:20px}.book-hero img{max-width:160px}.panel{padding:18px!important}.ptv8-grid{display:flex!important;flex-direction:column}.ptv8-side{width:auto!important}.ptv8-cover{max-width:85px}.ptv8-main{padding:18px!important}.ptv8-top{flex-wrap:wrap}.ptv8-qhead{flex-wrap:wrap;gap:10px}.ptv8-nav button{flex:1 1 42%}.top{flex-wrap:wrap;gap:12px}.units{grid-template-columns:1fr!important}#make-practice{margin:12px 0}}
@media print{#pt-print-sheet .paper-questions{column-count:2;column-gap:8mm;column-fill:balance}#pt-print-sheet .paper-options{grid-template-columns:1fr 1fr}#pt-print-sheet .paper-options.long-options{grid-template-columns:1fr}#pt-print-sheet .e8-print-subjective{break-before:auto;break-inside:avoid}#pt-print-sheet:not([data-mode="result"]){font-size:9pt;line-height:1.3}#pt-print-sheet:not([data-mode="result"]) h1{font-size:12pt;margin:2mm 0}#pt-print-sheet:not([data-mode="result"]) .paper-meta{padding:2mm;gap:1mm 4mm}#pt-print-sheet:not([data-mode="result"]) .paper-question{padding-bottom:2.5mm}#pt-print-sheet:not([data-mode="result"]) h2{font-size:9pt;line-height:1.3;margin-bottom:1mm}#pt-print-sheet:not([data-mode="result"]) .paper-options{font-size:8.5pt;line-height:1.3}#pt-print-sheet .e8-print-subjective p{margin:5mm 0}#pt-print-sheet .paper-question{break-inside:avoid;page-break-inside:avoid}#pt-print-sheet .paper-review p{margin:1mm 0}#pt-print-sheet .paper-meta{overflow-wrap:anywhere}}
@media(max-width:650px){header.top{height:auto;min-height:64px;padding-top:12px;padding-bottom:12px}.ptv8-btn{min-height:44px}}

/* Additional subjects keep the English8 layout with content-appropriate direction. */
body[data-language=ur] .ptv8-question,body[data-language=ur] .e8-review-options,body[data-language=ur] .e8-practice,body[data-language=ur] .seo-panel,body[data-language=ur] .e8-result-meta{font-family:PTNaskh,Arial,sans-serif;direction:rtl;text-align:right;line-height:1.9}
body[data-language=ur] .ptv8-option{text-align:right;font-family:PTNaskh,Arial,sans-serif;line-height:1.8}
.c8-subjective li{margin:8px 0}.c8-subjective small{white-space:nowrap}
@media print{#pt-print-sheet[lang=ur]{direction:rtl;font-family:PTNaskh,Arial,sans-serif;font-size:11pt;line-height:1.7}#pt-print-sheet[lang=ur] h2{font-size:11pt;line-height:1.7}#pt-print-sheet[lang=ur] .paper-options{font-size:10pt;line-height:1.7}#pt-print-sheet .c8-subjective{break-before:auto}#pt-print-sheet .c8-subjective h2{break-after:avoid}#pt-print-sheet .c8-subjective li{break-inside:avoid}}

.c8-review-question{min-width:0}.ptv8-review-card .status{min-width:0;overflow-wrap:anywhere}
