/* ============================================
   PRACTICE TEST 3 — READING PASSAGE 2
   Palm Oil
   ============================================ */

.pt3r2-inst-header { background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.1);border-radius:10px;padding:14px 20px;margin-bottom:18px; }
.pt3r2-inst-label  { font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.6px;color:var(--gold);margin-bottom:4px; }
.pt3r2-inst-text   { font-size:1rem;color:rgba(255,255,255,0.88);line-height:1.6;margin-bottom:4px; }
.pt3r2-inst-tips   { font-size:.85rem;color:rgba(255,255,255,0.45);font-style:italic; }
.pt3r2-inst-sub    { font-size:.88rem;color:rgba(255,255,255,0.5);margin:-4px 0 12px;font-style:italic; }

.pt3r2-score-banner { display:flex;align-items:center;gap:16px;background:rgba(251,191,36,0.08);border:1.5px solid rgba(251,191,36,0.3);border-radius:12px;padding:16px 22px;margin-bottom:20px;flex-wrap:wrap; }
.pt3r2-score-big   { font-size:2.6rem;font-weight:900;color:var(--gold);line-height:1; }
.pt3r2-score-denom { font-size:1.4rem;color:rgba(255,255,255,0.4); }
.pt3r2-score-label { font-size:1rem;color:rgba(255,255,255,0.8);flex:1; }
.pt3r2-exp-hint    { font-size:.85rem;color:rgba(255,255,255,0.5);font-style:italic;width:100%; }

.pt3r2-content-wrap { display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start;position:relative; }
@media (max-width:900px) { .pt3r2-content-wrap { grid-template-columns:1fr; } }
.pt3r2-left-col  { min-width:0; }
.pt3r2-right-col { background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.1);border-radius:12px;padding:0;min-width:0;overflow:hidden;position:relative; }

.pt3r2-section-head { font-size:1rem;font-weight:700;color:var(--gold);margin:22px 0 6px;border-bottom:1px solid rgba(255,255,255,0.08);padding-bottom:6px; }

/* Section matching */
.pt3r2-sec-row  { background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.08);border-radius:10px;padding:14px 16px;margin-bottom:10px; }
.pt3r2-sec-head { display:flex;gap:10px;align-items:flex-start;margin-bottom:10px;flex-wrap:wrap; }
.pt3r2-sec-text { font-size:.97rem;color:rgba(255,255,255,0.88);line-height:1.6;flex:1; }
.pt3r2-sec-opts { display:flex;gap:6px;flex-wrap:wrap; }
.pt3r2-sec-opt  { width:36px;height:36px;display:flex;align-items:center;justify-content:center;border:2px solid rgba(255,255,255,0.15);border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:700;color:rgba(255,255,255,0.6);background:rgba(255,255,255,0.03);transition:border-color .15s,background .15s;user-select:none; }
.pt3r2-sec-opt:hover    { border-color:var(--gold); }
.pt3r2-sec-opt.selected { border-color:var(--gold);background:rgba(251,191,36,0.15);color:var(--gold); }
.pt3r2-sec-opt.opt-ok      { border-color:#4ade80;background:rgba(74,222,128,.15);color:#4ade80; }
.pt3r2-sec-opt.opt-err     { border-color:#f87171;background:rgba(248,113,113,.1);color:#f87171; }
.pt3r2-sec-opt.opt-correct { border-color:#4ade80;background:rgba(74,222,128,.08);color:#4ade80; }

/* Choose TWO */
.pt3r2-two-group { background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.08);border-radius:10px;padding:14px 16px;margin-bottom:10px; }
.pt3r2-two-head  { display:flex;gap:10px;align-items:flex-start;margin-bottom:12px;flex-wrap:wrap; }
.pt3r2-two-q     { font-size:.97rem;color:rgba(255,255,255,0.88);line-height:1.6;flex:1; }
.pt3r2-two-opts  { display:flex;flex-direction:column;gap:8px; }
.pt3r2-two-opt   { display:flex;align-items:flex-start;gap:10px;border:2px solid rgba(255,255,255,0.12);border-radius:8px;padding:9px 14px;cursor:pointer;background:rgba(255,255,255,0.03);transition:border-color .15s,background .15s;user-select:none; }
.pt3r2-two-opt:hover    { border-color:var(--gold); }
.pt3r2-two-opt.selected { border-color:var(--gold);background:rgba(251,191,36,0.1); }
.pt3r2-two-opt.opt-ok      { border-color:#4ade80;background:rgba(74,222,128,.1); }
.pt3r2-two-opt.opt-err     { border-color:#f87171;background:rgba(248,113,113,.08); }
.pt3r2-two-opt.opt-correct { border-color:#4ade80;background:rgba(74,222,128,.07); }
.pt3r2-two-letter { font-weight:800;color:var(--gold);font-size:.9rem;min-width:18px; }
.pt3r2-two-text   { font-size:.9rem;color:rgba(255,255,255,0.82);line-height:1.55; }

/* Sentence completion */
.pt3r2-fill-list { display:flex;flex-direction:column;gap:14px;margin-bottom:6px; }
.pt3r2-fill-row  { display:flex;align-items:baseline;gap:10px;background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.07);border-radius:8px;padding:12px 14px;flex-wrap:wrap; }
.pt3r2-fill-text { font-size:1rem;color:rgba(255,255,255,0.88);line-height:1.9;font-family:'Georgia',serif;flex:1; }
.pt3r2-blank { display:inline-block;border:none;border-bottom:2px solid rgba(255,255,255,0.35);background:transparent;width:130px;font-size:1rem;font-family:'Georgia',serif;color:rgba(255,255,255,0.9);padding:1px 4px;outline:none;vertical-align:baseline;margin:0 3px;transition:border-color .15s; }
.pt3r2-blank:focus    { border-bottom-color:#60a5fa; }
.pt3r2-blank:disabled { cursor:not-allowed;opacity:1; }
.pt3r2-blank-ok  { border-bottom-color:#4ade80 !important;color:#4ade80;font-weight:700; }
.pt3r2-blank-err { border-bottom-color:#f87171 !important;color:#f87171; }
.pt3r2-correct-ans { color:#4ade80;font-weight:700;font-size:.88rem;margin-left:4px;font-family:'Inter',sans-serif; }

/* Common */
.pt3r2-q-badge { min-width:32px;height:28px;border-radius:8px;background:#7c3aed;color:#fff;font-size:.78rem;font-weight:800;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:0 6px; }
.pt3r2-why-btn { background:rgba(251,191,36,0.12);border:1px solid rgba(251,191,36,0.4);color:var(--gold);border-radius:6px;padding:2px 9px;font-size:.78rem;font-weight:700;cursor:pointer;transition:background .15s;vertical-align:middle;margin-left:4px; }
.pt3r2-why-btn:hover { background:rgba(251,191,36,0.25); }

/* Right column — passage */
.pt3r2-passage-title-bar { font-size:1rem;font-weight:700;color:var(--gold);padding:14px 22px 12px;background:rgba(14,14,28,0.97);border-bottom:1px solid rgba(255,255,255,0.07);position:sticky;top:0;z-index:2; }
.pt3r2-passage-card { font-size:1.06rem;line-height:2.1;color:rgba(255,255,255,0.88);padding:18px 24px 30px;font-family:'Georgia',serif;letter-spacing:.01em; }
.pt3r2-passage-card p { margin:0 0 14px; }
.pt3r2-passage-title { font-size:1.15rem;font-weight:700;color:rgba(255,255,255,0.97);font-family:'Inter',sans-serif;margin-bottom:18px; }
.pt3r2-section-letter { font-size:1.1rem;font-weight:800;color:var(--gold);margin:18px 0 4px;font-family:'Inter',sans-serif; }

.pt3r2-ctx { background:rgba(251,191,36,0.12);border-radius:4px;padding:1px 3px;border-bottom:2px solid rgba(251,191,36,0.35);transition:background .3s; }
.pt3r2-ctx.active { background:rgba(245,200,66,0.3);border-bottom-color:#f5c842;animation:pt3r2-pulse 1.4s ease-in-out; }
@keyframes pt3r2-pulse { 0%,100%{background:rgba(245,200,66,0.22);}50%{background:rgba(245,200,66,0.5);} }
.pt3r2-ans { color:var(--gold);font-weight:700; }
.pt3r2-no-hl .pt3r2-ctx { background:none;border-bottom:none;padding:0;border-radius:0; }
.pt3r2-no-hl .pt3r2-ans { color:inherit;font-weight:inherit; }

.pt3r2-exp-box { background:rgba(251,191,36,0.07);border:1px solid rgba(251,191,36,0.3);border-radius:8px;padding:10px 14px;margin:8px 0 6px;font-size:.9rem;color:rgba(255,255,255,0.85);line-height:1.65;font-family:'Inter',sans-serif; }
.pt3r2-arrow-svg { position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:5;overflow:visible; }
