/* ═══ تدرّب على اختبارات القدرات (٢٢ أكتوبر ٢٠٢٦) ═══
   .is-ltr للمادّة الإنجليزيّة (نصّ لاتينيّ من اليسار)، و.is-rtl للعربيّ (خطّ نسخٍ يُظهر التشكيل). */
.apt-page { max-width: 860px; margin: 0 auto; padding: 0 16px 48px; }
.apt-page [hidden] { display: none !important; }

/* ─── الأزرار ─── */
.apt-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 22px;
    border-radius: var(--v2-radius-md); border: 1px solid transparent;
    font-family: var(--v2-body); font-size: 16px; font-weight: 700;
    cursor: pointer; text-decoration: none; transition: transform .12s, background .15s, box-shadow .15s;
}
.apt-btn:active { transform: scale(.98); }
.apt-btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.apt-btn-primary { background: var(--v2-navy); color: #fff; }
.apt-btn-primary:hover { background: var(--v2-deep); color: #fff; }
.apt-btn-gold { background: var(--v2-gold); color: var(--v2-navy); }
.apt-btn-gold:hover { background: var(--v2-gold-soft); color: var(--v2-navy); }
.apt-btn-ghost { background: #fff; color: var(--v2-navy); border-color: var(--v2-line-strong); }
.apt-btn-ghost:hover { border-color: var(--v2-navy); color: var(--v2-navy); }
.apt-btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.apt-btn-ghost-light:hover { background: rgba(255,255,255,.08); color: #fff; }
.apt-link { background: none; border: 0; padding: 0; color: var(--v2-navy); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }

/* ─── البطل ─── */
.apt-hero {
    background: linear-gradient(135deg, var(--v2-navy) 0%, var(--v2-deep) 100%);
    color: #fff; border-radius: var(--v2-radius-md);
    padding: 40px 28px 32px; margin: 24px 0 18px; text-align: center;
    position: relative; overflow: hidden; border: 1px solid rgba(198,164,106,.25);
}
.apt-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        radial-gradient(circle at 12% 25%, rgba(198,164,106,.20), transparent 40%),
        radial-gradient(circle at 88% 80%, rgba(237,227,211,.07), transparent 50%);
}
.apt-hero > * { position: relative; z-index: 1; }
.apt-hero .eyebrow {
    display: inline-block; background: rgba(198,164,106,.16); color: var(--v2-gold-soft);
    border: 1px solid rgba(198,164,106,.4); border-radius: var(--v2-radius-full);
    padding: 4px 14px; font-size: 13px; font-weight: 700; margin-bottom: 14px;
}
.apt-hero h1 {
    font-family: var(--v2-display) !important; color: #fff !important;
    font-size: 30px !important; line-height: 1.45 !important; margin: 0 0 12px !important;
}
.apt-hero h1 span { color: var(--v2-gold); }
.apt-hero p { color: rgba(255,255,255,.86); font-size: 16px; line-height: 1.9; max-width: 560px; margin: 0 auto; }
.apt-hero-facts { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.apt-hero-facts span {
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--v2-radius-md); padding: 8px 16px; font-size: 14px; color: rgba(255,255,255,.85);
}
.apt-hero-facts b { color: var(--v2-gold); font-size: 18px; margin-left: 4px; }

.apt-h2 {
    font-family: var(--v2-display) !important; color: var(--v2-navy) !important;
    font-size: 21px !important; margin: 26px 0 14px !important;
}

/* ─── متابعة تدريبٍ سابق ─── */
.apt-resume {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    background: #fff8e6; border: 1px solid var(--v2-gold); border-radius: var(--v2-radius-md);
    padding: 16px 18px; margin-bottom: 6px;
}
.apt-resume strong { display: block; color: var(--v2-navy); font-size: 16px; }
.apt-resume span { color: var(--v2-steel-soft); font-size: 14px; }
.apt-resume-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ─── بطاقات الأوضاع ─── */
.apt-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.apt-mode {
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: right;
    background: #fff; border: 1.5px solid var(--v2-line-strong); border-radius: var(--v2-radius-md);
    padding: 20px 18px; font-family: var(--v2-body); color: var(--v2-ink);
    box-shadow: 0 10px 28px -22px rgba(19,42,74,.45);
}
button.apt-mode { cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; }
button.apt-mode:hover { border-color: var(--v2-gold); transform: translateY(-2px); box-shadow: var(--v2-shadow-card); }
.apt-mode-ico { font-size: 28px; line-height: 1; margin-bottom: 4px; }
.apt-mode-title { font-family: var(--v2-display); color: var(--v2-navy); font-size: 19px; font-weight: 700; }
.apt-mode-desc { font-size: 14.5px; line-height: 1.8; color: var(--v2-ink-soft); }
.apt-mode-meta { font-size: 13px; color: var(--v2-gold-deep); font-weight: 700; }
.apt-mode-go {
    margin-top: auto; padding-top: 10px; color: var(--v2-navy); font-weight: 800; font-size: 15px;
}
.apt-mode-exam { border-color: rgba(198,164,106,.6); background: linear-gradient(180deg, #fffdf8, #fff); }
.apt-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.apt-chip {
    min-height: 44px; padding: 0 16px; border-radius: var(--v2-radius-full);
    border: 1.5px solid var(--v2-navy); background: #fff; color: var(--v2-navy);
    font-family: var(--v2-body); font-size: 15px; font-weight: 700; cursor: pointer; transition: background .15s, color .15s;
}
.apt-chip:hover { background: var(--v2-navy); color: #fff; }
.apt-page.is-loading .apt-mode, .apt-page.is-loading .apt-chip { opacity: .6; pointer-events: none; }

.apt-load-error {
    margin-top: 14px; background: #fdecec; border: 1px solid #e7b4b4; color: #8a2424;
    border-radius: var(--v2-radius-md); padding: 14px 16px; font-size: 15px;
}

/* ─── كيف يعمل + عن الاختبار ─── */
.apt-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.apt-steps li {
    counter-increment: s; background: var(--v2-beige-warm); border: 1px solid var(--v2-line-warm);
    border-radius: var(--v2-radius-md); padding: 16px; font-size: 15px; line-height: 1.8; color: var(--v2-ink);
}
.apt-steps li::before {
    content: counter(s, arabic-indic); display: grid; place-items: center;
    width: 30px; height: 30px; border-radius: 50%; margin-bottom: 8px;
    background: var(--v2-navy); color: var(--v2-gold); font-weight: 800;
}
.apt-about {
    margin-top: 22px; background: #fff; border: 1px solid var(--v2-line); border-radius: var(--v2-radius-md); padding: 20px;
}
.apt-about h3 { font-family: var(--v2-display) !important; color: var(--v2-navy) !important; font-size: 18px !important; margin: 0 0 8px !important; }
.apt-about p, .apt-about li { font-size: 15px; line-height: 1.9; color: var(--v2-ink-soft); }
.apt-about ul { margin: 6px 0; padding-inline-start: 20px; }
.apt-disclaimer { font-size: 13px !important; color: var(--v2-steel-soft) !important; margin: 10px 0 0; }

/* ─── شاشة السؤال ─── */
.apt-quizbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 20px 0 10px; }
.apt-progress-text { font-weight: 800; color: var(--v2-navy); font-size: 16px; }
.apt-timer {
    font-family: var(--v2-latin); font-variant-numeric: tabular-nums; font-weight: 800; font-size: 17px;
    background: var(--v2-navy); color: var(--v2-gold); border-radius: var(--v2-radius-md); padding: 6px 12px; direction: ltr;
}
.apt-timer.is-low { background: #9b2c2c; color: #fff; }
.apt-progress { height: 8px; background: var(--v2-steel-pale); border-radius: var(--v2-radius-full); overflow: hidden; margin-bottom: 16px; }
.apt-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--v2-gold), var(--v2-gold-deep)); transition: width .3s; }

.apt-qcard {
    background: #fff; border: 1px solid var(--v2-line-strong); border-radius: var(--v2-radius-md);
    padding: 22px 20px; box-shadow: 0 14px 34px -26px rgba(19,42,74,.5);
}
.apt-qmeta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.apt-tag {
    background: var(--v2-beige-warm); color: var(--v2-brown); border: 1px solid var(--v2-line-warm);
    border-radius: var(--v2-radius-full); padding: 3px 12px; font-size: 13px; font-weight: 700;
}
.apt-qsource { font-size: 12.5px; color: var(--v2-steel-soft); }

.apt-passage { border: 1px solid var(--v2-line-warm); background: var(--v2-paper); border-radius: var(--v2-radius-md); margin-bottom: 16px; }
.apt-passage-toggle {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    background: none; border: 0; padding: 12px 14px; cursor: pointer;
    font-family: var(--v2-body); font-weight: 800; color: var(--v2-brown); font-size: 15px;
}
.apt-passage-toggle span:last-child { font-size: 13px; color: var(--v2-steel-soft); text-decoration: underline; }
.apt-passage-text {
    max-height: 42vh; overflow-y: auto; padding: 0 16px 14px;
    font-size: 16px; line-height: 1.75; color: var(--v2-ink);
}
.apt-passage-text p { margin: 0 0 10px; }
.apt-passage.is-collapsed .apt-passage-text { display: none; }

.apt-question {
    font-size: 19px; line-height: 1.7;
    color: var(--v2-navy); font-weight: 600; margin: 0 0 18px;
}
.apt-blank { display: inline-block; min-width: 80px; border-bottom: 2.5px solid var(--v2-gold); margin: 0 4px; height: 1.1em; vertical-align: baseline; }
.apt-question strong, .apt-passage-text strong { background: rgba(198,164,106,.25); padding: 0 3px; border-radius: 3px; text-decoration: underline; }

.apt-options { display: grid; gap: 10px; }
.apt-opt {
    display: flex; align-items: center; gap: 12px;
    width: 100%; min-height: 58px; padding: 10px 14px;
    background: #fff; border: 2px solid var(--v2-line-strong); border-radius: var(--v2-radius-md);
    font-size: 17px; color: var(--v2-ink); cursor: pointer;
    transition: border-color .12s, background .12s;
}
.apt-opt:hover:not(:disabled) { border-color: var(--v2-navy); background: #f7f9fc; }
.apt-opt-letter {
    flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: var(--v2-steel-pale); color: var(--v2-navy); font-weight: 800; font-size: 15px;
}
.apt-opt.is-selected { border-color: var(--v2-navy); background: #eef2f8; }
.apt-opt.is-selected .apt-opt-letter { background: var(--v2-navy); color: #fff; }
.apt-opt.is-correct { border-color: #2f7d4f; background: #eaf6ee; }
.apt-opt.is-correct .apt-opt-letter { background: #2f7d4f; color: #fff; }
.apt-opt.is-wrong { border-color: #b23b3b; background: #fbecec; }
.apt-opt.is-wrong .apt-opt-letter { background: #b23b3b; color: #fff; }
.apt-opt:disabled { cursor: default; }
.apt-opt:disabled:not(.is-correct):not(.is-wrong) { opacity: .6; }

.apt-feedback { margin-top: 16px; border-radius: var(--v2-radius-md); padding: 16px; font-size: 16px; line-height: 1.9; }
.apt-feedback.is-right { background: #eaf6ee; border: 1px solid #a8d5b6; }
.apt-feedback.is-wrong { background: #fbf3e6; border: 1px solid #e5c99a; }
.apt-feedback-title { font-weight: 800; font-size: 17px; margin-bottom: 4px; }
.apt-feedback.is-right .apt-feedback-title { color: #22603c; }
.apt-feedback.is-wrong .apt-feedback-title { color: #8a4b12; }
.apt-ans { font-weight: 700; }

.apt-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.apt-nav [data-action="next"] { margin-inline-start: auto; min-width: 160px; }
.apt-map {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px;
    background: #fff; border: 1px solid var(--v2-line); border-radius: var(--v2-radius-md); padding: 12px; margin-top: 12px;
}
.apt-map button {
    height: 40px; border-radius: var(--v2-radius-sm); border: 1px solid var(--v2-line-strong);
    background: #fff; font-weight: 700; color: var(--v2-navy); cursor: pointer; font-family: var(--v2-body);
}
.apt-map button.is-done { background: var(--v2-navy); color: #fff; border-color: var(--v2-navy); }
.apt-map button.is-current { outline: 3px solid var(--v2-gold); }
.apt-finish { margin-top: 16px; text-align: center; }
.apt-finish .apt-btn { width: 100%; max-width: 420px; }

/* ─── النتيجة ─── */
.apt-result-hero { text-align: center; margin: 26px 0 18px; }
.apt-score-ring {
    --p: 0; width: 170px; height: 170px; border-radius: 50%; margin: 0 auto 14px;
    display: grid; place-content: center; position: relative;
    background: conic-gradient(var(--ring, var(--v2-gold)) calc(var(--p) * 1%), var(--v2-steel-pale) 0);
}
.apt-score-ring::before { content: ""; position: absolute; inset: 13px; background: #fff; border-radius: 50%; }
.apt-score-ring > * { position: relative; }
.apt-score-num { font-family: var(--v2-display); font-size: 36px; font-weight: 800; color: var(--v2-navy); line-height: 1.2; }
.apt-score-pct { font-size: 15px; color: var(--v2-steel-soft); font-weight: 700; }
.apt-result-hero h2 { font-family: var(--v2-display) !important; color: var(--v2-navy) !important; font-size: 24px !important; margin: 0 0 6px !important; }
.apt-result-hero p { font-size: 16px; color: var(--v2-ink-soft); line-height: 1.9; max-width: 520px; margin: 0 auto; }

.apt-card { background: #fff; border: 1px solid var(--v2-line); border-radius: var(--v2-radius-md); padding: 18px 20px; margin-bottom: 14px; }
.apt-card h3 { font-family: var(--v2-display) !important; color: var(--v2-navy) !important; font-size: 18px !important; margin: 0 0 12px !important; }
.apt-sec-row { margin-bottom: 12px; }
.apt-sec-row:last-child { margin-bottom: 0; }
.apt-sec-head { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; color: var(--v2-ink); margin-bottom: 6px; }
.apt-sec-bar { height: 10px; background: var(--v2-steel-pale); border-radius: var(--v2-radius-full); overflow: hidden; }
.apt-sec-bar span { display: block; height: 100%; border-radius: inherit; }
.apt-weak { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.apt-weak li {
    display: flex; justify-content: space-between; gap: 10px; align-items: center;
    background: var(--v2-paper); border: 1px solid var(--v2-line-warm); border-radius: var(--v2-radius-md);
    padding: 10px 14px; font-size: 15px;
}
.apt-weak li b { color: var(--v2-navy); }
.apt-weak li span { color: #8a4b12; font-size: 14px; white-space: nowrap; }
.apt-weak-none { color: #22603c; font-weight: 700; }

.apt-cta {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    background: linear-gradient(135deg, var(--v2-navy), var(--v2-deep)); color: #fff;
    border-radius: var(--v2-radius-md); padding: 22px 20px; margin: 18px 0; border: 1px solid rgba(198,164,106,.35);
}
.apt-cta strong { display: block; font-family: var(--v2-display); color: var(--v2-gold); font-size: 19px; margin-bottom: 4px; }
.apt-cta span { color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.8; }
.apt-cta-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.apt-cta.is-strong { box-shadow: 0 0 0 3px rgba(198,164,106,.45); }

.apt-result-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.apt-review { margin-top: 18px; }
.apt-review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.apt-review-head h3 { font-family: var(--v2-display) !important; color: var(--v2-navy) !important; font-size: 18px !important; margin: 0 !important; }
.apt-check { font-size: 15px; font-weight: 700; color: var(--v2-navy); display: flex; gap: 6px; align-items: center; cursor: pointer; }
.apt-check input { width: 18px; height: 18px; }
.apt-rv { background: #fff; border: 1px solid var(--v2-line); border-inline-start: 4px solid #2f7d4f; border-radius: var(--v2-radius-md); padding: 14px 16px; margin-bottom: 10px; }
.apt-rv.is-wrong { border-inline-start-color: #b23b3b; }
.apt-rv.is-skipped { border-inline-start-color: var(--v2-steel-soft); }
.apt-rv-q { font-size: 16px; color: var(--v2-navy); font-weight: 600; margin: 4px 0 8px; line-height: 1.6; }
.apt-rv-top { font-size: 13px; color: var(--v2-steel-soft); font-weight: 700; }
.apt-rv-ans { font-size: 15px; line-height: 1.9; }
.apt-rv-ans .ok { color: #22603c; }
.apt-rv-ans .bad { color: #9b2c2c; }
.apt-rv-exp { margin-top: 6px; background: var(--v2-paper); border-radius: var(--v2-radius-sm); padding: 10px 12px; font-size: 15px; line-height: 1.9; }

/* ─── اتّجاه المادّة ─── */
.is-ltr .apt-content, .is-ltr .apt-opt { direction: ltr; text-align: left; font-family: var(--v2-latin); }
.is-ltr .apt-ans { direction: ltr; unicode-bidi: isolate; font-family: var(--v2-latin); }
.is-rtl .apt-content, .is-rtl .apt-opt-text, .is-rtl .apt-ans {
    font-family: "Noto Naskh Arabic", "Amiri", var(--v2-body); font-feature-settings: normal;
}
.is-rtl .apt-question, .is-rtl .apt-opt { font-size: 20px; line-height: 2; }
.is-rtl .apt-passage-text { font-size: 18px; line-height: 2.05; text-align: justify; }
.is-rtl .apt-rv-q { font-size: 18px; line-height: 1.9; }
.is-rtl .apt-opt-letter { font-family: var(--v2-body); font-size: 16px; }
.apt-line { display: block; }
.apt-line + .apt-line { margin-top: 4px; }
.apt-content strong { font-weight: 700; }
/* بيت الشعر: الصدر والعجز متجاوران على الحاسوب، ويتراكبان على الجوّال */
.apt-verse {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 40px;
    background: var(--v2-paper); border-radius: var(--v2-radius-sm); padding: 8px 12px; margin: 4px 0 8px;
    font-weight: 600;
}

/* ─── الرياضيّات (KaTeX) ─── */
.apt-math {
    direction: ltr; unicode-bidi: isolate; display: inline-block; white-space: nowrap;
    max-width: 100%; overflow-x: auto; overflow-y: hidden; vertical-align: middle; padding: 2px 3px;
    /* KaTeX يتجاوز إطاره ببكسلٍ أو اثنين (خطّ الجذر)، فيظهر شريط تمريرٍ رماديّ تحت المعادلة على الجوّال؛
       نخفي الشريط وتبقى المعادلة الطويلة قابلةً للسحب أفقيًّا */
    scrollbar-width: none;
}
.apt-math::-webkit-scrollbar { display: none; }
.apt-math:not(.is-done) { visibility: hidden; }
.apt-math.is-raw { font-family: var(--v2-latin); visibility: visible; }
.apt-content .katex, .apt-opt .katex { font-size: 1.12em; }
.apt-feedback .katex, .apt-rv-exp .katex { font-size: 1.05em; }
.apt-math .katex-display { margin: 0; }
.apt-figure { margin: 0 0 16px; text-align: center; }
.apt-figure img, .apt-rv-img { max-width: 100%; max-height: 320px; height: auto; border-radius: var(--v2-radius-sm); background: #fff; }
.apt-rv-img { display: block; margin: 0 auto 8px; max-height: 220px; }

/* ─── صفحة بيانات الاختبار (الكيمياء) ─── */
.apt-sheet { border: 1px dashed var(--v2-line-strong); background: #f7f9fc; border-radius: var(--v2-radius-md); margin-bottom: 14px; }
.apt-sheet summary { cursor: pointer; padding: 10px 14px; font-weight: 800; color: var(--v2-navy); font-size: 14.5px; }
.apt-sheet-text { padding: 0 16px 12px; font-size: 15px; line-height: 1.9; }
.is-rtl .apt-sheet-text { font-size: 16px; }

/* ─── اختيار المادّة ─── */
.apt-subjects { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.apt-subject {
    display: flex; align-items: center; gap: 14px; text-align: right; width: 100%; box-sizing: border-box; min-width: 0;
    background: #fff; border: 1.5px solid var(--v2-line-strong); border-radius: var(--v2-radius-md);
    padding: 18px 16px; font-family: var(--v2-body); color: var(--v2-ink);
    box-shadow: 0 10px 28px -22px rgba(19,42,74,.45);
}
button.apt-subject { cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; }
button.apt-subject:hover { border-color: var(--v2-gold); transform: translateY(-2px); box-shadow: var(--v2-shadow-card); }
.apt-subject-ico {
    flex: 0 0 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
    background: var(--v2-navy); color: var(--v2-gold);
    font-family: "Noto Naskh Arabic", var(--v2-display); font-size: 28px; font-weight: 700;
}
.apt-subject-ico.is-latin { font-family: var(--v2-latin); font-size: 22px; }
.apt-subject-body { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.apt-subject-title { font-family: var(--v2-display); color: var(--v2-navy); font-size: 19px; font-weight: 700; }
.apt-subject-meta { font-size: 14px; color: var(--v2-steel-soft); }
.apt-subject-go { color: var(--v2-gold-deep); font-size: 22px; font-weight: 800; }
.apt-subject-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 24px 0 4px; }
.apt-subject-head h1 {
    font-family: var(--v2-display) !important; color: var(--v2-navy) !important;
    font-size: 26px !important; margin: 0 !important;
}
.apt-page > .apt-resume { margin-top: 20px; }
.apt-page > .apt-disclaimer, .apt-screen > .apt-disclaimer { text-align: center; margin-top: 18px !important; }

/* ─── الجوّال ─── */
@media (max-width: 760px) {
    .apt-modes, .apt-steps { grid-template-columns: 1fr; }
    .apt-hero { padding: 30px 18px 24px; margin-top: 14px; }
    .apt-hero h1 { font-size: 24px !important; }
    .apt-hero p { font-size: 15px; }
    .apt-qcard { padding: 18px 14px; }
    .apt-question { font-size: 18px; }
    .apt-passage-text { max-height: 34vh; font-size: 15.5px; }
    .is-rtl .apt-passage-text { font-size: 17px; }
    .is-rtl .apt-question, .is-rtl .apt-opt { font-size: 18.5px; }
    .apt-subject-head h1 { font-size: 21px !important; }
    .apt-result-actions { grid-template-columns: 1fr 1fr; }
    .apt-cta-actions, .apt-cta-actions .apt-btn { width: 100%; }
    .apt-nav [data-action="next"] { flex: 1 1 100%; order: -1; }
    .apt-nav .apt-btn-ghost { flex: 1; }
}
