/* ============================================================
   Beacon - workspace + practice  (REBUILT FROM SCRATCH)
   The "working" side of the app: calm, clean, highly readable. Personality is
   reserved for the marketing pages' hand-drawn animation; here the priority is
   speed and clarity. Same navy + gold brand and the same readable type system.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Caveat:wght@600;700&display=swap');

:root{
  --bg:#0b1a38; --bg-2:#0e2144; --surface:#122a52; --surface-2:#17315b;
  --border:#274069; --border-strong:#365286;
  --ink:#f4efe3; --ink-2:#c3cee2; --muted:#8296b7;
  --gold:#e7c257; --gold-line:#d4a72c; --gold-soft:rgba(212,167,44,.12); --gold-btn:#e0bc4f; --gold-btn-hover:#f0d372;
  --good:#4bcf94; --good-bg:rgba(75,207,148,.13); --good-line:rgba(75,207,148,.5);
  --bad:#ef7d7d; --bad-bg:rgba(239,125,125,.13); --bad-line:rgba(239,125,125,.5);
  --font:'Hanken Grotesk',system-ui,-apple-system,sans-serif;
  --display:'Space Grotesk',system-ui,sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,monospace;
  --hand:'Caveat',ui-rounded,cursive;
  --wrap:1080px;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{background:var(--bg);color:var(--ink);font-family:var(--font);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;min-height:100vh;display:flex;flex-direction:column;}
body>.ws-page{flex:1 0 auto;}   /* footer sits flush at the bottom on short pages */
a{color:inherit;text-decoration:none;}
ul{list-style:none;}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit;}
h1,h2,h3,h4{font-family:var(--display);letter-spacing:-.02em;}

/* the display/mono fonts' "&" reads unclear at a glance - always render it in
   the plainer body font instead, everywhere on the site */
.amp{font-family:var(--font);font-style:normal;font-weight:inherit;}
:focus-visible{outline:2px solid var(--gold);outline-offset:2px;border-radius:5px;}
::selection{background:rgba(212,167,44,.28);color:#fff;}

#beacon-grain{position:fixed;inset:0;z-index:1;pointer-events:none;opacity:.06;mix-blend-mode:soft-light;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");background-size:180px 180px;}

/* ---- top bar ---- */








/* Saved star - sits right next to the big exam heading (TOEFL/IELTS/SAT) */
.ws-h1 a.ws-saved{display:inline-flex;vertical-align:middle;align-items:center;gap:5px;
  font-family:var(--font);color:#0b1a38;background:#ffffff;border:1.5px solid #c7ccdb;
  border-radius:999px;padding:5px 12px;margin-left:14px;transition:background .15s,color .15s,transform .15s;}
.ws-h1 a.ws-saved:hover{background:#0b1a38;color:#fff;transform:translateY(-1px);}
.ws-h1 a.ws-saved.has{background:#0b1a38;color:#fff;box-shadow:0 4px 14px rgba(11,26,56,.35);}
.ws-saved-star{font-size:1.05rem;line-height:1;position:relative;top:-2px;}
@media(max-width:560px){.ws-h1 a.ws-saved{display:flex;width:fit-content;margin:10px 0 0;}}

/* ---- buttons ---- */
.ws-btn,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 20px;border-radius:11px;
  font-family:var(--display);font-weight:600;font-size:.94rem;white-space:nowrap;border:1px solid transparent;
  transition:transform .12s,background .15s,border-color .15s,color .15s;}
.ws-btn:active,.btn:active{transform:translateY(1px);}
.ws-btn-primary,.btn-gold{background:var(--gold-btn);color:#20180a;box-shadow:0 2px 0 rgba(120,88,10,.55);}
.ws-btn-primary:hover,.btn-gold:hover{background:var(--gold-btn-hover);}
.ws-btn-ghost,.btn-ghost{background:transparent;border-color:var(--border-strong);color:var(--ink);}
.ws-btn-ghost:hover,.btn-ghost:hover{border-color:var(--gold);color:var(--gold);}
.btn-white{background:#fff;color:#14294f;border:1px solid #fff;box-shadow:0 2px 0 rgba(0,0,0,.18);}
.btn-white:hover{background:#eaeef6;}
/* white-framed (outline) button - on dark areas: Exit, Next, result actions */
.btn-wire{background:transparent;border:1.5px solid #fff;color:#fff;}
.btn-wire:hover{background:#fff;color:#14294f;}
/* navy filled - for buttons that sit ON a white card (Check, Show transcript) */
.btn-navy{background:#14294f;color:#fff;border:1px solid #14294f;}
.btn-navy:hover{background:#1d356b;}
.ws-btn[disabled],.ws-btn.is-disabled,.btn[disabled]{opacity:.4;cursor:not-allowed;pointer-events:none;box-shadow:none;}
.link-quiet{color:var(--ink-2);font-weight:500;font-size:.92rem;cursor:pointer;}
.link-quiet:hover{color:var(--gold);}


/* ---- badges ---- */
.ws-badge{font-family:var(--mono);font-size:.64rem;letter-spacing:.05em;text-transform:uppercase;padding:4px 9px;border-radius:999px;white-space:nowrap;font-weight:500;}
.ws-badge.free{color:var(--good);background:var(--good-bg);border:1px solid var(--good-line);}
.ws-badge.dev{color:var(--muted);background:var(--surface-2);border:1px solid var(--border-strong);}

/* ---- page ---- */
.ws-page{width:100%;max-width:var(--wrap);margin:0 auto;padding:40px 26px 90px;}
.ws-eyebrow{font-family:var(--mono);font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:var(--gold);}
.ws-h1{font-family:var(--display);font-size:2.2rem;font-weight:600;letter-spacing:-.02em;margin-top:10px;display:flex;align-items:center;flex-wrap:wrap;}
.ws-sub{color:var(--ink-2);margin-top:10px;max-width:64ch;font-size:1.06rem;}

/* ---- favorites card ---- */
.saved-card{display:flex;align-items:center;gap:14px;padding:16px 20px;border-radius:14px;background:var(--surface);border:1px solid var(--border);margin-top:14px;transition:border-color .15s;}
a.saved-card:hover{border-color:var(--gold-line);}
.saved-card .star{font-size:1.35rem;color:var(--gold-line);line-height:1;}
.saved-card.is-empty .star{color:var(--muted);}
.saved-main{display:flex;flex-direction:column;}
.saved-main b{color:var(--ink);font-size:1.05rem;font-family:var(--display);}
.saved-main span{color:var(--muted);font-size:.88rem;}
.saved-count{margin-left:auto;font-family:var(--mono);color:var(--gold);font-weight:600;}

/* ---- accordions ---- */
.acc{background:var(--surface);border:1px solid var(--border);border-radius:14px;margin-top:14px;overflow:hidden;transition:border-color .15s;}
.acc:hover{border-color:var(--border-strong);}
.acc.is-dev{opacity:.6;}
.acc-head{display:flex;align-items:center;gap:12px;width:100%;padding:19px 22px;text-align:left;}
.acc-head:hover{background:var(--surface-2);}
.acc-title{font-family:var(--display);font-size:1.2rem;font-weight:600;}
.acc-meta{margin-left:auto;font-family:var(--mono);font-size:.74rem;color:var(--muted);}
.acc-chev{width:18px;height:18px;color:var(--gold);flex-shrink:0;transition:transform .2s;}
.acc-chev svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.acc.open .acc-chev{transform:rotate(180deg);}
.acc-body{display:none;padding:6px 12px 14px;}
.acc.open .acc-body{display:block;}

.ws-item{display:flex;align-items:center;gap:14px;padding:15px 16px;border-radius:10px;border:1px solid transparent;transition:background .12s,border-color .12s;}
.ws-item + .ws-item{margin-top:2px;}
a.ws-item:hover{background:var(--surface-2);}
.ws-item-main{flex:1;min-width:0;}
.ws-item h3{font-family:var(--display);font-size:1.02rem;font-weight:600;}
.ws-item p{color:var(--muted);font-size:.9rem;margin-top:2px;}
.ws-count{font-family:var(--mono);font-size:.75rem;color:var(--ink-2);white-space:nowrap;}
.ws-count.empty{color:var(--muted);}
.ws-go{color:var(--gold);font-weight:600;font-size:.92rem;white-space:nowrap;font-family:var(--display);}
.ws-item.is-locked{cursor:default;}
.ws-progress-track{width:70px;height:6px;border-radius:99px;background:var(--bg-2);overflow:hidden;}
.ws-progress-fill{height:100%;background:var(--gold-line);}

/* full-skill test call to action */
.ws-item-full{background:var(--gold-soft);border-color:var(--gold-line);margin-top:8px;}
a.ws-item-full:hover{background:rgba(212,167,44,.18);border-color:var(--gold);}

/* ================= PRACTICE ================= */
.pr-bar{position:sticky;top:0;z-index:40;background:rgba(11,26,56,.9);backdrop-filter:blur(10px);border-bottom:1px solid var(--border);}
.pr-bar-inner{max-width:940px;margin:0 auto;height:58px;padding:0 20px;display:flex;align-items:center;gap:16px;}
.pr-crumb{font-family:var(--mono);font-size:.78rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.pr-progress-wrap{flex:1;max-width:280px;margin:0 auto;}
.pr-progress-track{height:7px;border-radius:99px;background:var(--bg-2);overflow:hidden;}
.pr-progress-fill{height:100%;background:var(--gold-line);transition:width .3s ease;}
.pr-count{font-family:var(--mono);font-size:.78rem;color:var(--ink-2);white-space:nowrap;}
.pr-timer{font-family:var(--mono);font-size:.82rem;color:var(--gold);white-space:nowrap;}
.pr-timer.low{color:#ff8f8f;font-weight:600;}

/* exam-style top bar for the SAT adaptive test - a three-column grid (not flex:1 + auto)
   so the timer sits at the true center regardless of how wide Exit or the arrow-jump
   group are on either side */
.pr-exam-top{position:sticky;top:0;z-index:40;background:rgba(11,26,56,.94);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;
  max-width:100%;padding:10px 22px;}
.pr-exam-top .pr-exam-sec{font-family:var(--mono);font-size:.8rem;color:var(--ink-2);white-space:nowrap;}
.pr-exam-top .pr-timer{text-align:center;font-size:1.15rem;font-weight:700;}
.pr-exam-top>.pr-exit-x{justify-self:start;}
.pr-exam-top .pr-exam-jump{justify-self:end;}
@media(max-width:560px){.pr-exam-top{grid-template-columns:auto 1fr auto;}}
.pr-exit-x{font-family:var(--mono);font-size:.78rem;color:#fff;border:1.5px solid #fff;
  padding:6px 13px;border-radius:8px;white-space:nowrap;font-weight:600;}
.pr-exit-x:hover{background:#fff;color:#14294f;}
.pr-exam-jump{display:inline-flex;align-items:center;gap:8px;}
.pr-arrow{width:36px;height:36px;border-radius:9px;border:1px solid var(--border-strong);background:var(--surface);
  color:var(--ink);font-size:.95rem;cursor:pointer;line-height:1;transition:border-color .12s,color .12s,background .12s;}
.pr-arrow:hover:not([disabled]){border-color:var(--gold-line);color:var(--gold);}
.pr-arrow[disabled]{opacity:.35;cursor:not-allowed;}
.pr-exam-qn{font-family:var(--mono);font-size:.82rem;color:var(--ink-2);min-width:52px;text-align:center;}

/* Bluebook-style text highlighter: click a mark to remove it */
mark.pr-hl{background:#fef08a;color:inherit;border-radius:2px;padding:0 1px;cursor:pointer;}
.bb-passage.hl-on{cursor:text;}

/* floating, resizable Desmos calculator (Calculator = scientific, Desmos = graphing) */
.pr-desmos-panel{position:fixed;right:24px;bottom:24px;z-index:500;width:380px;height:420px;
  min-width:300px;min-height:280px;max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);
  background:#fff;border:1px solid #d7deea;border-radius:14px;box-shadow:0 16px 40px rgba(20,40,80,.28);
  overflow:hidden;resize:both;display:flex;flex-direction:column;}
.pr-desmos-head{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;
  background:#14233f;color:#fff;font-weight:700;font-size:.88rem;flex:none;cursor:move;user-select:none;}
.pr-desmos-head button{background:transparent;border:none;color:#fff;cursor:pointer;font-size:1rem;line-height:1;}
.pr-desmos-mount{width:100%;flex:1;min-height:0;}
.pr-desmos-mount:has(.pr-desmos-status){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:20px;text-align:center;}
.pr-desmos-status{color:#4a5875;font-size:.86rem;margin:0;}
.pr-desmos-retry{padding:7px 16px;font-size:.82rem;}
.brk-clock{text-align:center;margin:18px 0 6px;}
.brk-clock .brk-time{font-family:var(--mono);font-size:2.4rem;font-weight:600;color:var(--gold);}

/* question palette (jump to any question) */
.pr-palette{max-width:940px;margin:14px auto 30px;padding:0 20px;}
.pr-palette-grid{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;}
.pr-dot{width:38px;height:38px;border-radius:9px;border:1px solid var(--border-strong);background:var(--surface);
  color:var(--ink-2);font-family:var(--mono);font-size:.82rem;cursor:pointer;transition:background .12s,border-color .12s;}
.pr-dot:hover{border-color:var(--gold-line);}
.pr-dot.done{background:var(--good-bg);border-color:var(--good-line);color:var(--good);}
.pr-dot.wrong{background:var(--bad-bg);border-color:var(--bad-line);color:var(--bad);}
.pr-dot.current{outline:2px solid var(--gold);outline-offset:1px;border-color:var(--gold);color:var(--ink);}
.pr-dot{position:relative;}
.pr-dot .flag-dot{position:absolute;top:-7px;right:-6px;font-size:.8rem;line-height:1;}
.pr-dot.flagged{border-color:var(--bad-line);}

/* progress tracker: a button opens an overlay with the palette instead of always showing it */
.pr-tracker-row{max-width:820px;margin:0 auto 40px;padding:0 20px;display:flex;justify-content:center;position:relative;}
.pr-tracker-btn{font-family:var(--mono);font-size:.86rem;}

/* persistent bottom question bar - always visible, no click needed to see progress,
   matching the real exam apps' own on-screen question navigator */
.pr-qbar{position:sticky;bottom:0;z-index:34;background:#fff;border-top:1px solid #e3e7f0;
  display:flex;align-items:center;gap:18px;padding:10px 22px 10px 22px;flex-wrap:wrap;
  box-shadow:0 -2px 10px rgba(20,40,80,.06);}
.pr-qbar-label{font-weight:700;color:#14233f;white-space:nowrap;font-size:.86rem;}
.pr-qbar-active{display:flex;align-items:center;gap:12px;}
.pr-qbar-nums{display:flex;flex-wrap:wrap;gap:6px;}
.pr-qnum{min-width:28px;height:28px;padding:0 4px;border-radius:6px;border:1px solid #c9d2e2;
  background:#fff;color:#4a5875;font-size:.78rem;cursor:pointer;}
.pr-qnum:hover{border-color:#14233f;}
.pr-qnum.done{background:#e3f7ec;border-color:#5bbd8a;color:#1f9d63;font-weight:600;}
.pr-qbar-other{display:flex;flex-direction:column;align-items:flex-start;gap:1px;background:transparent;
  border:none;cursor:pointer;color:#8592ab;padding:0;}
.pr-qbar-other:hover b{color:#14233f;}
.pr-qbar-other b{color:#4a5875;font-size:.86rem;}
.pr-qbar-other .pr-qbar-count{font-size:.78rem;}
.pr-qbar-spacer{flex:1;min-width:8px;}
.pr-qbar-review{width:36px;height:36px;border-radius:8px;border:1px solid #c9d2e2;background:#f2f5fa;
  color:#1f9d63;font-size:1.05rem;cursor:pointer;flex-shrink:0;}
.pr-qbar-review:hover{background:#eaf9f1;border-color:#5bbd8a;}
.pr-qbar-floatnav{position:fixed;right:24px;bottom:80px;z-index:35;display:flex;gap:8px;}
.pr-qbar-floatnav button{width:44px;height:44px;border-radius:8px;border:none;background:#14233f;
  color:#fff;font-size:1.05rem;cursor:pointer;box-shadow:0 4px 14px rgba(20,40,80,.28);}
.pr-qbar-floatnav button:hover{background:#0b1a38;}
.pr-qbar-floatnav button[disabled]{opacity:.35;cursor:not-allowed;}
@media(max-width:720px){.pr-qbar-floatnav{bottom:auto;top:64px;right:12px;}}

/* Bluebook question navigator (SAT adaptive test): "Question N of M" pill that expands
   a small panel anchored above it, showing which questions are answered/flagged - replaces
   the generic "Track progress" tracker for this runner only. */
.pr-qnav-btn{display:inline-flex;align-items:center;gap:7px;font-family:var(--mono);font-size:.86rem;
  background:#14233f;color:#fff;border:1px solid #14233f;}
.pr-qnav-btn:hover{background:#0b1a38;}
.pr-examroom .pr-qnav-btn{background:var(--exam-accent);border-color:var(--exam-accent);}
.pr-examroom .pr-qnav-btn:hover{background:#0b1a38;border-color:#0b1a38;}
.pr-qnav-chev{display:inline-flex;align-items:center;justify-content:center;transition:transform .18s ease;}
.pr-qnav-chev svg{display:block;}
.pr-qnav-chev.down{transform:rotate(180deg);}
.pr-qnav-panel{position:absolute;left:50%;bottom:calc(100% + 12px);transform:translate(-50%,8px);
  width:min(520px,90vw);max-height:56vh;overflow:auto;background:#fff;border:1px solid #e3e7f0;border-radius:14px;
  padding:16px 18px 10px;box-shadow:0 16px 40px rgba(20,40,80,.28);opacity:0;pointer-events:none;
  transition:opacity .15s ease,transform .15s ease;z-index:60;}
.pr-qnav-panel.open{opacity:1;pointer-events:auto;transform:translate(-50%,0);}
.pr-qnav-panel .pr-palette{margin:0;padding:0;max-width:none;}
.pr-tracker-overlay{position:fixed;inset:0;z-index:200;background:rgba(6,14,30,.55);
  display:flex;align-items:flex-end;justify-content:center;opacity:0;pointer-events:none;transition:opacity .18s ease;}
.pr-tracker-overlay.open{opacity:1;pointer-events:auto;}
.pr-tracker-panel{width:100%;max-width:640px;max-height:76vh;overflow:auto;background:var(--surface);border:1px solid var(--border);
  border-radius:20px 20px 0 0;padding:20px 20px 26px;transform:translateY(16px);transition:transform .18s ease;}
.pr-tracker-overlay.open .pr-tracker-panel{transform:none;}
.pr-tracker-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:2px;}
.pr-tracker-head span{font-family:var(--display);font-weight:700;font-size:1.05rem;color:var(--ink);}
.pr-tracker-x{width:32px;height:32px;border-radius:50%;background:var(--surface-2);border:1px solid var(--border);
  color:var(--ink-2);cursor:pointer;font-size:1rem;}
.pr-tracker-panel .pr-palette{margin:6px auto 0;padding:0;}
@media(min-width:640px){
  .pr-tracker-overlay{align-items:center;}
  .pr-tracker-panel{border-radius:18px;max-height:80vh;}
}
.ws-white .pr-tracker-panel{background:#fff;border-color:#e3e7f0;}
.ws-white .pr-tracker-head span{color:#14233f;}
.ws-white .pr-tracker-x{background:#f2f5fa;border-color:#dbe1ec;color:#4a5875;}

.pr-stage{width:100%;max-width:940px;margin:0 auto;padding:34px 20px 8px;}
.pr-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:28px 32px;box-shadow:0 12px 34px rgba(0,0,0,.24);}
.pr-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;}
.pr-kicker{font-family:var(--mono);font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;color:var(--gold);}
.pr-save{display:inline-flex;align-items:center;gap:7px;font-weight:600;font-size:.86rem;color:var(--ink-2);border:1px solid var(--border-strong);border-radius:9px;padding:7px 13px;transition:all .15s;}
.pr-save:hover{border-color:var(--gold-line);color:var(--gold);}
.pr-save.on{color:var(--gold);border-color:var(--gold-line);background:var(--gold-soft);}
.pr-save .st{font-size:1.05rem;line-height:1;}
.pr-flag{display:inline-flex;align-items:center;gap:7px;font-weight:600;font-size:.86rem;color:var(--ink-2);
  border:1px solid var(--border-strong);border-radius:9px;padding:7px 13px;background:transparent;cursor:pointer;transition:all .15s;}
.pr-flag:hover{border-color:var(--gold-line);color:var(--gold);}
.pr-flag.on{color:var(--bad);border-color:var(--bad-line);background:var(--bad-bg);}
.pr-flag .fl{font-size:1.05rem;line-height:1;}

.pr-passage{color:var(--ink-2);font-size:1.05rem;line-height:1.78;margin-bottom:22px;white-space:pre-line;padding-left:16px;border-left:3px solid var(--gold-line);}
/* Hardware Check screen (mic/headset/volume icons before a full test starts) */
.pr-hwcheck-icons{display:flex;gap:32px;margin:22px 0 26px;font-size:2.6rem;line-height:1;}
/* section-intro task-type table, matching the real exam's own section overview screen */
.pr-tasktable{width:100%;border-collapse:collapse;margin:18px 0 6px;font-size:.92rem;}
.pr-tasktable th,.pr-tasktable td{border:1px solid #c9d2e2;padding:10px 14px;text-align:left;}
.pr-tasktable th{background:var(--exam-accent-soft,#eef1f7);color:#14233f;font-weight:700;}
.pr-tasktable td{color:#33415f;}
/* secondary header row under the exam top bar: section label | question range */
/* section banner under the top bar - a boxed callout (Part/section name + a line of
   instructions), matching the real exam apps' own on-screen instructions box */
.pr-exam-sub{max-width:1180px;margin:18px auto 0;padding:14px 20px;font-size:.92rem;
  color:#4a5875;background:#f2f0e8;border:1px solid #e6e2d4;border-radius:10px;}
.pr-exam-sub b{display:block;color:#14233f;font-size:1.02rem;margin-bottom:3px;}
.pr-exam-sub-sep{display:none;}
@media(max-width:720px){.pr-exam-sub{margin:14px 16px 0;}}
/* TOEFL: solid teal top bar with rounded white pill controls, matching the real app */
.pr-examroom.exam-toefl .pr-exam-top{background:var(--exam-accent);}
.pr-examroom.exam-toefl .pr-exam-top .pr-timer{color:#fff;}
.pr-examroom.exam-toefl .pr-exit-x,
.pr-examroom.exam-toefl .pr-arrow{background:#fff;color:var(--exam-accent);border:none;border-radius:999px;font-weight:700;}
.pr-examroom.exam-toefl .pr-exit-x:hover{background:#eef7f5;}
.pr-examroom.exam-toefl .pr-arrow{width:34px;height:34px;}
.pr-examroom.exam-toefl .pr-arrow:hover{background:#eef7f5;}
.pr-examroom.exam-toefl .pr-arrow[disabled]{opacity:.5;}
.pr-examroom.exam-toefl .pr-exam-qn{color:#fff;font-weight:700;}
/* a group of questions sharing one passage, stacked on the right - the following block
   gets a divider so it's clear where one question ends and the next begins */
.pr-exam-qblock + .pr-exam-qblock{margin-top:30px;padding-top:26px;border-top:1px solid var(--border);}
.pr-exam-qblock .pr-kicker{display:block;margin-bottom:10px;}
.pr-letter{margin-bottom:14px;padding-bottom:12px;border-bottom:1px dashed var(--border-strong);}
.pr-letter-row{font-size:.92rem;line-height:1.55;color:var(--ink);}
.pr-letter-k{display:inline-block;min-width:58px;font-family:var(--mono);font-size:.68rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-right:8px;}
.pr-letter-notice{margin-bottom:14px;font-weight:700;font-size:1.02rem;color:var(--ink);}
.pr-letter-tag{display:inline-block;background:var(--gold-soft);color:var(--gold-line);font-family:var(--mono);font-size:.66rem;text-transform:uppercase;letter-spacing:.07em;padding:3px 9px;border-radius:5px;margin-right:9px;vertical-align:2px;}
.pr-letter-msg{margin-bottom:10px;font-weight:700;font-size:.92rem;color:var(--ink-2);}
/* the "From / Subject" header on TOEFL daily-life email/message/notice questions had no
   white-context color override, so it was nearly invisible on the white practice page */
.pr-examroom .pr-letter-row,.ws-white .pr-letter-row,
.pr-examroom .pr-letter-notice,.ws-white .pr-letter-notice{color:#14233f;}
.pr-examroom .pr-letter-k,.ws-white .pr-letter-k{color:#7c88a3;}
.pr-examroom .pr-letter-msg,.ws-white .pr-letter-msg{color:#4a5875;}
.pr-audio{background:var(--bg-2);border:1px solid var(--border);border-radius:12px;padding:14px 16px;margin-bottom:22px;}
.pr-audio audio{width:100%;display:block;}
.pr-audio .ph{color:var(--muted);font-size:.92rem;display:flex;align-items:center;gap:10px;}
.pr-audio .ph .ico{font-size:1.25rem;color:var(--gold);}
.pr-image{margin-bottom:22px;}
.pr-image img{max-width:100%;height:auto;display:block;border:1px solid var(--border);border-radius:12px;}

.pr-prompt{font-family:var(--font);font-size:1.05rem;font-weight:700;line-height:1.55;margin-bottom:22px;}
.pr-choices{display:flex;flex-direction:column;gap:11px;}
.pr-choice{display:flex;align-items:center;gap:14px;width:100%;text-align:left;background:var(--bg-2);border:1.5px solid var(--border-strong);border-radius:12px;padding:15px 18px;font-size:1.05rem;color:var(--ink);transition:border-color .12s,background .12s;}
.pr-choice:hover:not(:disabled){border-color:var(--gold-line);}
.pr-choice .mark{width:27px;height:27px;border-radius:50%;border:1.5px solid var(--border-strong);flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:.85rem;color:var(--muted);font-weight:600;font-family:var(--mono);}
.pr-choice.picked{border-color:var(--gold-line);background:var(--gold-soft);}
.pr-choice.picked .mark{border-color:var(--gold-line);color:var(--gold);}
.pr-choice.correct{border-color:var(--good-line);background:var(--good-bg);}
.pr-choice.correct .mark{border-color:var(--good);background:var(--good);color:#08301f;}
.pr-choice.wrong{border-color:var(--bad-line);background:var(--bad-bg);}
.pr-choice.wrong .mark{border-color:var(--bad);background:var(--bad);color:#3a0d0d;}
.pr-choice:disabled{cursor:default;}

.cloze-text{font-size:1.16rem;line-height:2.1;}
.cloze-inp{font-family:inherit;font-size:1em;color:var(--ink);background:transparent;border:none;border-bottom:2px solid var(--gold-line);padding:0 1px;text-align:left;caret-color:var(--gold);}
.cloze-inp:focus{outline:none;border-bottom-color:var(--gold);}
.cloze-inp.correct{color:var(--good);border-bottom-color:var(--good);}
.cloze-inp.wrong{color:var(--bad);border-bottom-color:var(--bad);}
.cloze-actions{margin-top:22px;}

.pr-textrow{display:flex;gap:10px;}
.pr-textin{flex:1;padding:14px 16px;border:1.5px solid var(--border-strong);border-radius:12px;font-family:var(--font);font-size:1.05rem;color:var(--ink);background:var(--bg-2);}
.pr-textin:focus{border-color:var(--gold-line);outline:none;}
.pr-textin.correct{border-color:var(--good-line);background:var(--good-bg);}
.pr-textin.wrong{border-color:var(--bad-line);background:var(--bad-bg);}

/* IELTS reading tests (passages by level) */
.rt-wrap{margin-bottom:30px;}
.rt-title{font-size:1.2rem;color:#14233f;margin:2px 0 4px;font-family:var(--display);}
.rt-sub{color:#4a5875;font-size:.92rem;margin:0 0 16px;line-height:1.45;}
.rt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px;}
.rt-card{display:flex;flex-direction:column;gap:5px;background:#fff;border:1px solid #e3e7f0;border-left:4px solid #d4a72c;border-radius:14px;padding:16px;text-decoration:none;color:#14233f;transition:transform .14s,border-color .14s,box-shadow .14s;box-shadow:0 4px 14px rgba(20,40,80,.05);}
.rt-card:hover{border-color:#d4a72c;transform:translateY(-2px);box-shadow:0 10px 26px rgba(20,40,80,.1);}
.rt-easy{border-left-color:#4bcf94;}.rt-medium{border-left-color:#d4a72c;}.rt-hard{border-left-color:#ef7d7d;}
.rt-badge{font-family:var(--mono);font-size:.72rem;color:#7382a0;text-transform:uppercase;letter-spacing:.03em;}
.rt-card h3{font-size:1rem;color:#14233f;margin:0;line-height:1.3;}
.rt-card p{font-size:.85rem;color:#5a6b8c;margin:0;line-height:1.45;}
.rt-foot{display:flex;justify-content:space-between;align-items:center;margin-top:8px;}
.rt-count{font-size:.78rem;color:#8a97b0;}.rt-go{font-size:.88rem;font-weight:600;color:#b0851b;}
.rt-empty{background:#f6f8fc;border:1px dashed #d5dceb;border-radius:12px;padding:20px;color:#5a6b8c;font-size:.9rem;line-height:1.5;}
.rt-full{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:16px;background:linear-gradient(120deg,#14233f,#22355c);border-radius:14px;padding:18px 20px;}
.rt-full-txt{display:flex;flex-direction:column;gap:3px;}
.rt-full-txt b{color:#fff;font-size:1rem;}
.rt-full-txt span{color:#c4d0e6;font-size:.86rem;line-height:1.45;}
.rt-full-go{flex-shrink:0;background:#d4a72c;color:#14233f;font-weight:700;font-size:.9rem;text-decoration:none;padding:11px 18px;border-radius:10px;transition:background .14s,transform .14s;}
.rt-full-go:hover{background:#e6bd45;transform:translateY(-1px);}
/* reading subsection headers inside the Reading accordion (easy / medium / hard) */
.ws-subhead{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:16px 4px 6px;margin-top:4px;border-bottom:1px solid #eef1f7;}
.ws-subhead:first-child{padding-top:4px;}
.ws-subhead h4{margin:0;font-size:.98rem;font-weight:700;color:#14233f;}
.ws-subhead span{font-size:.76rem;color:#8a97b0;font-family:var(--mono);}
.ws-sub-easy h4{color:#2f9e6f;}.ws-sub-medium h4{color:#b0851b;}.ws-sub-hard h4{color:#d9534f;}

/* skill tiles - the Listening / Reading / Writing / Speaking selector at the top */
.ws-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:6px 0 22px;}
@media(max-width:560px){.ws-tiles{grid-template-columns:repeat(2,1fr);}}
.ws-tile{display:flex;flex-direction:column;align-items:center;gap:9px;padding:20px 10px 15px;background:#fff;border:1.5px solid #e6eaf2;border-radius:16px;cursor:pointer;position:relative;transition:border-color .15s,box-shadow .15s,transform .15s,background .15s;}
.ws-tile:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(20,40,80,.08);}
.ws-tile-ico{width:44px;height:44px;color:#9aa6bd;transition:color .15s;}
.ws-tile-ico svg{width:100%;height:100%;display:block;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;}
.ws-tile-name{font-size:1rem;font-weight:700;color:#7c88a0;transition:color .15s;}
.ws-tile-tag{font-family:var(--mono);font-size:.6rem;text-transform:uppercase;letter-spacing:.06em;color:#aeb8ca;}
.ws-tile.active{border-color:#2f9e6f;background:#f2fbf6;box-shadow:0 8px 22px rgba(47,158,111,.13);}
.ws-tile.active .ws-tile-ico{color:#2f9e6f;}
.ws-tile.active .ws-tile-name{color:#1f7a52;}
.ws-tile.active .ws-tile-tag{color:#2f9e6f;}
.ws-tile.is-dev{opacity:.7;}
.ws-tile.is-dev .ws-tile-tag{color:#c0a24b;}
.ws-tile.is-dev.active{border-color:#d4a72c;background:#fdf8ec;box-shadow:0 8px 22px rgba(212,167,44,.13);}
.ws-tile.is-dev.active .ws-tile-ico,.ws-tile.is-dev.active .ws-tile-name{color:#b0851b;}
.ws-tile-tag.ws-tag-sub{color:#b0851b;font-weight:700;}

/* subscription banner under the tile row, pointing at the payment page */
.ws-subbanner{display:flex;align-items:center;gap:12px;background:#fdf7e3;border:1.5px solid #e6cf7e;border-radius:14px;
  padding:14px 18px;margin:14px 0 22px;text-decoration:none;color:#5c4a12;font-size:.92rem;transition:border-color .15s,box-shadow .15s;}
.ws-subbanner:hover{border-color:#d4a72c;box-shadow:0 8px 22px rgba(212,167,44,.16);}
.ws-subbanner-ico{font-size:1.15rem;flex-shrink:0;}
.ws-subbanner span:nth-child(2){flex:1;}
.ws-subbanner-cta{font-weight:700;color:#b0851b;white-space:nowrap;flex-shrink:0;}
/* the selected-skill panel */
.ws-skillpanel{margin-bottom:0;}
/* the full-reading-test row sits the same distance below the level accordions
   as the accordions sit from each other */
.acc + .ws-item-full{margin-top:14px;}
.ws-panel-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:2px 2px 8px;}
.ws-panel-head h2{margin:0;font-size:1.3rem;color:#14233f;}
.ws-panel-blurb{font-size:.86rem;color:#7c88a3;}
.acc-body.open{display:block;padding:2px 0 4px;}
/* reading level accordions inside the Reading panel */
.rd-acc{border-left-width:4px;}
.rd-easy{border-left-color:#4bcf94;}.rd-medium{border-left-color:#d4a72c;}.rd-hard{border-left-color:#ef7d7d;}
.rd-acc .acc-title{font-size:1.02rem;font-weight:600;letter-spacing:-.02em;}
.rd-acc .acc-head{padding:14px 20px;}
.rd-easy .acc-title{color:#2f9e6f;}.rd-medium .acc-title{color:#b0851b;}.rd-hard .acc-title{color:#d9534f;}

/* reading layout: passage on the left, questions on the right */
.pr-split{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start;position:relative;}
.pr-split-left{position:sticky;top:78px;align-self:start;padding-right:6px;}
.pr-split-right{min-width:0;}
@media(max-width:860px){.pr-split{grid-template-columns:1fr;gap:16px;}.pr-split-left{position:static;max-height:none;overflow:visible;padding-right:0;}}

/* grouped questions (matching, multi-blank completion) */
.pr-group{display:flex;flex-direction:column;gap:12px;}
.pr-gitem{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:var(--bg-2);}
.pr-gq{flex:1;min-width:200px;font-size:1.05rem;line-height:1.5;color:var(--ink);}
.pr-gn{color:var(--muted);font-family:var(--mono);margin-right:4px;}
.pr-examroom .pr-gn,.ws-white .pr-gn{color:#7c88a3;}
.pr-gsel{min-width:96px;padding:10px 12px;border:1.5px solid var(--border-strong);border-radius:10px;background:var(--surface);color:var(--ink);font-family:var(--font);font-size:1.05rem;cursor:pointer;}
.pr-gsel:focus{border-color:var(--gold-line);outline:none;}
.pr-gin{min-width:150px;padding:11px 14px;border:1.5px solid var(--border-strong);border-radius:10px;background:var(--surface);color:var(--ink);font-family:var(--font);font-size:1.05rem;}
.pr-gin:focus{border-color:var(--gold-line);outline:none;}
.pr-gsel.correct,.pr-gin.correct{border-color:var(--good-line);background:var(--good-bg);color:var(--good);}
.pr-gsel.wrong,.pr-gin.wrong{border-color:var(--bad-line);background:var(--bad-bg);color:var(--bad);}
.ws-white .pr-gitem{background:#f6f8fc;border-color:#e4e9f2;}
.ws-white .pr-gq{color:#1a2740;}
.ws-white .pr-gsel,.ws-white .pr-gin{background:#fff;color:#14233f;border-color:#c9d2e2;}

/* passage set: several question blocks under one passage */
.pr-pset{display:flex;flex-direction:column;gap:26px;}
.pr-pblock{display:flex;flex-direction:column;gap:12px;padding-bottom:22px;border-bottom:1px solid var(--border);}
.pr-pblock:last-child{border-bottom:none;padding-bottom:0;}
.pr-bprompt{font-weight:700;font-size:1.05rem;color:var(--ink);}
.ws-white .pr-bprompt{color:#14233f;}
.pr-mcitem{flex-direction:column;align-items:stretch;gap:9px;}
.pr-mcchoices{gap:8px;}
.pr-bfeedback{display:none;font-size:.9rem;font-weight:600;}
.pr-bfeedback.show{display:block;}
.pr-bfeedback.good{color:var(--good);}.pr-bfeedback.bad{color:var(--bad);}
.pr-bcheck{align-self:flex-start;}

.pr-feedback{margin-top:22px;border-radius:12px;padding:15px 18px;font-size:.98rem;display:none;}
.pr-feedback.show{display:block;}
.pr-feedback.good{background:var(--good-bg);border:1px solid var(--good-line);color:var(--good);}
.pr-feedback.bad{background:var(--bad-bg);border:1px solid var(--bad-line);color:var(--bad);}
.pr-feedback b{display:block;margin-bottom:4px;font-size:.92rem;font-family:var(--display);}
.pr-feedback .exp{color:var(--ink-2);font-weight:400;}

.pr-transcript-btn{margin-top:16px;}
.pr-transcript{margin-top:14px;padding:15px 17px;border:1px solid var(--border);border-radius:12px;background:var(--bg-2);color:var(--ink-2);font-size:.96rem;line-height:1.7;display:none;white-space:pre-line;}
.pr-transcript.show{display:block;}
.pr-transcript .tlabel{display:block;font-family:var(--mono);font-size:.68rem;letter-spacing:.06em;text-transform:uppercase;color:var(--gold);margin-bottom:6px;}

.pr-nav{max-width:820px;margin:22px auto 0;padding:16px 20px 60px;display:flex;align-items:center;justify-content:space-between;gap:14px;}
.pr-exit{gap:6px;}
.pr-navbtns{display:flex;gap:10px;}

.pr-finished{max-width:560px;margin:0 auto;text-align:center;padding:70px 20px;}
.pr-finished .fin-mark{width:64px;height:64px;border-radius:50%;background:var(--good-bg);border:1px solid var(--good-line);color:var(--good);display:flex;align-items:center;justify-content:center;font-size:1.8rem;margin:0 auto 22px;}
.pr-finished h2{font-family:var(--display);font-size:1.5rem;font-weight:600;margin-bottom:10px;}
.pr-finished p{color:var(--ink-2);margin-bottom:26px;}
/* this screen always shows on a white exam/practice page (never the dark theme), but
   had no white-context color override, so its text (dark-theme colors by default) was
   nearly invisible on white - same class of bug as the earlier task-table fix */
.pr-examroom .pr-finished h2,.ws-white .pr-finished h2{color:#14233f;}
.pr-examroom .pr-finished p,.ws-white .pr-finished p{color:#4a5875;}
.fin-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:8px;}

/* full-skill test results */
.pr-result{max-width:720px;margin:0 auto;}
.pr-score{display:flex;flex-direction:column;align-items:center;gap:4px;padding:28px;border-radius:16px;margin-bottom:22px;color:#0a1a12;}
.pr-score.pass{background:linear-gradient(135deg,#4bcf94,#2f9e6b);}
.pr-score.fail{background:linear-gradient(135deg,#e7c257,#c99a2b);}
.pr-score .pct{font-family:var(--display);font-size:2.8rem;font-weight:700;line-height:1;}
.pr-score .frac{font-size:.95rem;font-weight:600;opacity:.92;text-align:center;}
.pr-review{display:flex;flex-direction:column;gap:8px;margin-bottom:24px;}
.pr-rev{display:flex;gap:12px;align-items:flex-start;background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--border-strong);border-radius:11px;padding:13px 16px;}
.pr-rev.ok{background:var(--good-bg);border-left-color:var(--good);}
.pr-rev.no{background:var(--bad-bg);border-left-color:var(--bad);}
.pr-rev-n{font-family:var(--mono);font-size:.78rem;color:var(--muted);flex-shrink:0;margin-top:2px;min-width:18px;}
.pr-examroom .pr-rev-n,.ws-white .pr-rev-n{color:#7c88a3;}
.pr-rev-main{flex:1;min-width:0;}
.pr-rev-q{color:var(--ink);font-weight:600;font-size:.96rem;}
.pr-rev-a{color:var(--ink-2);font-size:.88rem;margin-top:3px;}
.pr-rev-a b{color:var(--good);}
.pr-rev.no .pr-rev-a b{color:var(--ink);}
.pr-rev-mark{font-size:1.05rem;flex-shrink:0;}
.pr-rev.ok .pr-rev-mark{color:var(--good);}
.pr-rev.no .pr-rev-mark{color:var(--bad);}

/* SAT score report - styled after the official College Board result card */
.score-report{background:#fff;border:1px solid #e3e7f0;border-radius:18px;padding:38px 42px;margin-bottom:22px;
  box-shadow:0 10px 30px rgba(20,40,80,.14);text-align:left;}
.sr-head h2{font-family:var(--display);font-size:1.55rem;font-weight:700;color:#14233f;margin-bottom:4px;}
.sr-sub{font-size:.95rem;color:#7c88a3;}
.sr-div{border-top:1px solid #e3e7f0;margin:24px 0;}
.sr-label{display:block;font-size:.9rem;color:#4a5875;font-weight:600;margin-bottom:6px;}
.sr-big{display:flex;align-items:flex-end;gap:10px;font-family:var(--display);font-size:3.6rem;font-weight:700;color:#14233f;line-height:1;}
.sr-mid{display:flex;align-items:flex-end;gap:8px;font-family:var(--display);font-size:2.3rem;font-weight:700;color:#14233f;line-height:1;}
.sr-range{font-family:var(--font);font-size:.76rem;font-weight:500;color:#9aa4bb;line-height:1.25;padding-bottom:.15em;}
.sr-cols{display:flex;gap:44px;margin-top:30px;flex-wrap:wrap;}
.sr-col{flex:1;min-width:190px;}

/* break screen: bigger, in the same serif style as the test itself */
.pr-break-card .pr-prompt{font-size:1.7rem;}
.pr-break-card .pr-passage{font-size:1.05rem;line-height:1.6;}
.pr-break-card .brk-time{font-size:3.2rem;}

/* footer */
.ws-footer{border-top:1px solid var(--border);background:var(--bg-2);}
.ws-footer-inner{max-width:1100px;margin:0 auto;padding:22px 26px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;color:var(--muted);font-size:.86rem;}
.ws-footer-inner a{color:var(--ink-2);}
.ws-footer-inner a:hover{color:var(--gold);}

/* ================= TOEFL & IELTS: WHITE task surfaces (body.ws-white) =================
   The page stays dark navy; the cards where the tasks live turn white with dark
   text so they read like sheets of paper on the chart. */
.ws-white .saved-card,
.ws-white .acc,
.ws-white .pr-card,
.ws-white .pr-rev{background:#ffffff;border-color:#e3e7f0;box-shadow:0 10px 30px rgba(0,0,0,.22);}
.ws-white .pr-rev.ok{background:#eaf9f1;}
.ws-white .pr-rev.no{background:#fdecec;}

/* dark text inside white cards */
.ws-white .saved-main b,
.ws-white .acc-title,
.ws-white .ws-item h3,
.ws-white .pr-prompt,
.ws-white .pr-rev-q{color:#14233f;}
.ws-white .saved-main span,
.ws-white .acc-meta,
.ws-white .ws-item p,
.ws-white .ws-count,
.ws-white .pr-passage,
.ws-white .pr-rev-a{color:#4a5875;}
.ws-white .pr-kicker,
.ws-white .ws-go,
.ws-white .saved-count{color:#b0851b;}
.ws-white .acc-chev{color:#c39a20;}
.ws-white .ws-count.empty{color:#9aa4bb;}

.ws-white .acc-head:hover,
.ws-white a.ws-item:hover{background:#f2f5fa;}

/* the Saved card gets a warm gold tint so it stands out from the white task cards */
.ws-white .saved-card{background:#fff6e0;border:1.5px solid #e6c65a;box-shadow:0 8px 24px rgba(180,140,20,.18);}

/* type rows that sit straight in a panel (TOEFL Reading, all Listening) become
   the same boxed containers as the IELTS reading accordions, with the same
   14px spacing - so every exam/section looks identical */
.acc-body.open > .ws-item{margin-top:14px;padding:18px 20px;border-radius:14px;}
.acc-body.open > .ws-item + .ws-item{margin-top:14px;}
.ws-white .acc-body.open > .ws-item:not(.ws-item-full){background:#f6f8fc;border:1px solid #e4e9f2;box-shadow:none;}
.ws-white .acc-body.open > a.ws-item:not(.ws-item-full):hover{background:#eef2f9;border-color:#e4e9f2;}
.ws-white a.saved-card:hover{background:#fdefc8;border-color:#d9b03a;}
.ws-white .saved-card .star{color:#d4a72c;}
.ws-white .ws-progress-track{background:#e6ebf4;}

/* answer choices + inputs on white */
.ws-white .cloze-text,.ws-white .cloze-inp{color:#14233f;}
.ws-white .pr-rev-a b{color:#14233f;}
.ws-white .pr-rev.ok .pr-rev-a b{color:#1f9d63;}
.ws-white .pr-choice{background:#f7f9fc;border-color:#dbe1ec;color:#14233f;}
.ws-white .pr-choice:hover:not(:disabled){border-color:#c39a20;}
.ws-white .pr-choice .mark{border-color:#c4cddd;color:#6b7690;}
/* the answer you selected stays clearly highlighted (and can be changed) */
.ws-white .pr-choice.picked{background:#fff2cc;border-color:#d9b03a;color:#14233f;box-shadow:0 0 0 1px #d9b03a inset;}
.ws-white .pr-choice.picked .mark{background:#d9b03a;border-color:#d9b03a;color:#20180a;}
/* exam top bar + palette on the white exam surface */
.ws-white .pr-exam-top{background:rgba(20,41,79,.96);}
.ws-white .pr-dot{background:#fff;border-color:#dbe1ec;color:#4a5875;}
.ws-white .pr-dot.done{background:#e3f7ec;border-color:#5bbd8a;color:#1f9d63;}
.ws-white .pr-dot.wrong{background:#fbe4e4;border-color:#e08a8a;color:#c23b3b;}
.ws-white .pr-dot.current{outline-color:#d9b03a;border-color:#d9b03a;color:#14233f;}
.ws-white .brk-clock .brk-time{color:#b0851b;}
.ws-white .pr-textin{background:#f7f9fc;border-color:#dbe1ec;color:#14233f;}
.ws-white .pr-passage{border-left-color:#e0c24a;}
.ws-white .pr-audio{background:#f7f9fc;border-color:#e3e7f0;}
.ws-white .pr-audio .ph{color:#7c88a3;}
.ws-white .pr-image img{border-color:#e3e7f0;}
.ws-white .pr-transcript{background:#f7f9fc;border-color:#e3e7f0;color:#4a5875;}

/* save button + badges on white */
.ws-white .pr-save{border-color:#dbe1ec;color:#4a5875;}
.ws-white .pr-save:hover,.ws-white .pr-save.on{color:#b0851b;border-color:#e6cf7e;background:#fdf7e3;}
.ws-white .pr-flag{border-color:#dbe1ec;color:#4a5875;}
.ws-white .pr-flag:hover{color:#b0851b;border-color:#e6cf7e;}
.ws-white .pr-flag.on{color:#c23b3b;border-color:#e3b3b3;background:#fdecec;}
.ws-white .ws-badge.dev{background:#eef1f7;border-color:#dbe1ec;color:#8592ab;}
.ws-white .acc.is-dev{opacity:.7;}
.ws-white .ws-item-full{background:#fdf7e3;border-color:#e6cf7e;}
.ws-white .saved-card .star{color:#e0c24a;}
.ws-white .saved-card.is-empty .star{color:#b8c1d4;}

/* one big white container around the whole workspace (eyebrow stays above it);
   the cards inside become light sub-panels so they read as tidy separate blocks */
.ws-white .ws-panel{background:#ffffff;border:1px solid #e3e7f0;border-radius:22px;
  padding:26px 30px 32px;box-shadow:0 16px 44px rgba(0,0,0,.28);margin-top:14px;}
.ws-white .ws-panel .ws-h1{color:#14233f;margin-top:0;}
.ws-white .ws-panel .ws-sub{color:#4a5875;}
.ws-white .ws-panel .saved-card,
.ws-white .ws-panel .acc{background:#f6f8fc;border-color:#e4e9f2;box-shadow:none;}
.ws-white .ws-panel .acc-head:hover,
.ws-white .ws-panel a.ws-item:hover{background:#eef2f9;}

/* secondary ("ghost") buttons on white content - the plain --ink color is
   sized for the dark navy marketing theme and is nearly invisible on white */
.ws-white .ws-btn-ghost{color:#14233f;border-color:#c9d2e2;}
.ws-white .ws-btn-ghost:hover{color:#b0851b;border-color:#d4a72c;}

/* ================= Exam room: full-page white runner, styled per real exam ================= */
body.pr-examroom{background:#fff;}
/* real exam software isn't set in the site's branded typefaces at all - not the display
   font, not even the site's body font (Hanken Grotesk still has a distinct rounded,
   "designed" look). Every test/practice run uses a plain, generic system font instead,
   for headings and body text alike. */
.pr-examroom{--exam-accent:#b0851b;--exam-accent-soft:#fdf7e3;
  --display:Arial,Helvetica,'Segoe UI',sans-serif;--font:Arial,Helvetica,'Segoe UI',sans-serif;}
.pr-examroom .pr-bar{background:#fff;border-bottom:1px solid #e3e7f0;backdrop-filter:none;box-shadow:0 1px 0 rgba(20,40,80,.03);}
.pr-examroom .pr-bar-inner{max-width:1180px;}
.pr-examroom .pr-crumb{color:#8592ab;font-weight:600;text-transform:uppercase;letter-spacing:.04em;font-size:.72rem;}
.pr-examroom .pr-count{color:#4a5875;font-weight:600;}
.pr-examroom .pr-progress-track{background:#e6ebf4;}
.pr-examroom .pr-progress-fill{background:var(--exam-accent);}
.pr-examroom .pr-timer{color:var(--exam-accent);}

.pr-examroom .pr-stage{max-width:1180px;padding:36px 20px 8px;}
.pr-examroom .pr-card{background:#fff;border:0;border-radius:0;box-shadow:none;padding:0;}
.pr-examroom .pr-split{gap:56px;}
.pr-examroom .pr-split-left{border-right:1px solid #e3e7f0;padding-right:44px;}
.pr-examroom .pr-kicker{color:var(--exam-accent);}
.pr-examroom .pr-passage{border-left-color:var(--exam-accent);color:#33415f;}
.pr-examroom .pr-prompt{color:#14233f;}

.pr-examroom .pr-choice{background:#fff;border:1.5px solid #d7deea;}
.pr-examroom .pr-choice:hover:not(:disabled){border-color:var(--exam-accent);}
.pr-examroom .pr-choice .mark{border-color:#c4cddd;color:#6b7690;}
.pr-examroom .pr-choice.picked{background:var(--exam-accent-soft);border-color:var(--exam-accent);box-shadow:0 0 0 1px var(--exam-accent) inset;}
.pr-examroom .pr-choice.picked .mark{background:var(--exam-accent);border-color:var(--exam-accent);color:#fff;}

.pr-examroom .pr-nav{max-width:1180px;border-top:1px solid #e3e7f0;padding-top:20px;}
.pr-examroom .btn-white{background:var(--exam-accent);color:#fff;border-color:var(--exam-accent);}
.pr-examroom .btn-wire{background:transparent;border-color:#c9d2e2;color:#4a5875;}
.pr-examroom .btn-wire:hover{background:#f2f5fa;color:#14233f;border-color:#c9d2e2;}

/* the full-test/adaptive-SAT top bar was still the old dark navy - stayed sticky, but never
   restyled for the white exam room, so it looked like a broken/mismatched piece of navigation. */
.pr-examroom .pr-exam-top{background:#fff;border-bottom:1px solid #e3e7f0;backdrop-filter:none;}
.pr-examroom .pr-exam-top .pr-exam-sec{color:#8592ab;}
.pr-examroom .pr-exam-top .pr-timer{color:var(--exam-accent);}
.pr-examroom .pr-exit-x{color:#4a5875;border-color:#c9d2e2;}
.pr-examroom .pr-exit-x:hover{background:#f2f5fa;color:#14233f;}
.pr-examroom .pr-arrow{background:#fff;border-color:#d7deea;color:#14233f;}
.pr-examroom .pr-arrow:hover:not([disabled]){border-color:var(--exam-accent);color:var(--exam-accent);}
.pr-examroom .pr-exam-qn{color:#4a5875;}

/* feedback text must stay readable - green/red only as the container tint, not the text color */
.pr-examroom .pr-feedback.good,
.pr-examroom .pr-feedback.bad{color:#14233f;}
.pr-examroom .pr-feedback .exp{color:#14233f;}
.pr-examroom .pr-dot.current{outline-color:var(--exam-accent);border-color:var(--exam-accent);}
.pr-examroom .pr-dot:hover{border-color:var(--exam-accent);}
.pr-examroom .pr-tracker-head span{color:#14233f;}

/* TOEFL: ETS-blue accent, matching the real test's clean blue-on-white interface */
.pr-examroom.exam-toefl{--exam-accent:#00695c;--exam-accent-soft:#e3f2f0;}

/* IELTS: British Council / IDP / Cambridge red accent */
.pr-examroom.exam-ielts{--exam-accent:#c8102e;--exam-accent-soft:#fdecef;}

/* SAT: the real Bluebook app is almost entirely black/white/gray in the actual
   test screens (no bright blue chrome) - dark navy stands in for "SAT accent". */
.pr-examroom.exam-sat{--exam-accent:#14233f;--exam-accent-soft:#eef1f7;}

/* Bluebook layout match: question header bar + answer letter on the right, like the real app */
.bb-head{background:#eef1f7;border-radius:10px 10px 0 0;padding:12px 16px;margin-bottom:20px;}
.bb-head .pr-kicker{background:#14233f;color:#fff;min-width:24px;height:24px;padding:0 6px;border-radius:5px;
  display:inline-flex;align-items:center;justify-content:center;font-family:var(--font);font-weight:700;
  font-size:.86rem;text-transform:none;letter-spacing:0;}
.bb-head .pr-flag{border:0;background:transparent;padding:4px 6px;color:#1f2b47;}
.bb-head .pr-flag.on{background:transparent;border:0;}
.bb-passage{border-left:0;padding-left:0;}
.bb-split.pr-split{gap:0;align-items:stretch;}
.bb-passage-col{border-right:1px solid #e3e7f0;padding-right:32px;}
.bb-split .pr-split-right{padding-left:32px;}
.bb-choices .pr-choice{justify-content:space-between;}
@media(max-width:860px){.bb-passage-col{border-right:0;padding-right:0;}.bb-split .pr-split-right{padding-left:0;}}

/* ABC answer eliminator: cross out choices you've ruled out, like the real Bluebook app */
.bb-abc-btn{background:#0a5ad6;color:#fff;border:none;border-radius:6px;padding:4px 10px;font-weight:700;
  font-size:.7rem;letter-spacing:.02em;cursor:pointer;flex-shrink:0;}
.bb-abc-btn:hover{background:#0847ad;}
.bb-abc-btn.on{background:#14233f;}
.pr-choice-right{display:flex;align-items:center;gap:8px;flex-shrink:0;}
.pr-elim-x{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;
  border-radius:50%;border:1px solid #c9d2e2;color:#4a5875;font-size:.68rem;cursor:pointer;flex-shrink:0;}
.pr-elim-x:hover{border-color:#14233f;color:#14233f;}
.pr-choice.eliminated{cursor:default;}
.pr-choice.eliminated > span:first-child{text-decoration:line-through;color:#98a2b8;}
.pr-choice.eliminated .mark{opacity:.5;}

/* Bluebook top bar: section name / timer+hide / tools+exit, three even columns */
.bb-top{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;padding:14px 22px;}
.bb-top-left{display:flex;flex-direction:column;line-height:1.35;}
.bb-sec-name{font-weight:700;font-size:.9rem;color:#fff;}
.bb-top-center{display:flex;flex-direction:column;align-items:center;gap:3px;}
.bb-top-center .pr-timer{font-size:1.05rem;}
.bb-timer-off{font-size:.82rem;opacity:.75;}
.bb-hide-btn{font-family:var(--mono);font-size:.66rem;border:1px solid rgba(255,255,255,.5);border-radius:99px;
  padding:2px 11px;background:transparent;color:#fff;cursor:pointer;}
.bb-hide-btn:hover{background:rgba(255,255,255,.15);}
.bb-top-right{display:flex;align-items:center;gap:10px;justify-self:end;}
.bb-tool-btn{font-family:var(--font);font-size:.82rem;font-weight:600;background:transparent;border:none;
  color:#fff;cursor:pointer;display:flex;align-items:center;gap:5px;white-space:nowrap;padding:5px 9px;border-radius:7px;}
.bb-tool-btn:hover{opacity:.8;}
.bb-tool-btn.on{background:rgba(255,255,255,.22);opacity:1;}
.pr-examroom .bb-sec-name,.pr-examroom .bb-tool-btn{color:#14233f;}
.pr-examroom .bb-tool-btn.on{background:#dce4f5;color:#0a5ad6;}
.pr-examroom .bb-hide-btn{color:#4a5875;border-color:#c9d2e2;}
.pr-examroom .bb-hide-btn:hover{background:#f2f5fa;}
@media(max-width:720px){.bb-top{grid-template-columns:auto auto;gap:10px;}.bb-top-right{grid-column:1/-1;justify-content:flex-end;}}

/* Bluebook fine details: pale blue-gray top bar, ruler strip, divider drag-handle,
   serif passage type - matched from Milana's screenshots */
.pr-examroom.exam-sat .pr-exam-top{background:#e9edf5;}
.bb-ruler{height:7px;background-image:repeating-linear-gradient(to right, rgba(20,35,63,.18) 0 1px, transparent 1px 11px);}
.pr-examroom .bb-ruler{background-color:#fff;}
.bb-head-left{display:flex;align-items:center;gap:16px;}
.bb-split.pr-split{position:relative;}
.bb-divider-handle{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:20px;height:28px;
  border-radius:6px;border:1px solid #c9d2e2;background:#fff;display:flex;align-items:center;justify-content:center;
  gap:1px;font-size:.55rem;color:#7382a0;z-index:2;box-shadow:0 1px 3px rgba(0,0,0,.1);pointer-events:none;}
/* plain font everywhere, including SAT passages - no serif accent, matching the
   same "no styled fonts anywhere in a test" rule used across TOEFL/IELTS/SAT */
.bb-passage{font-family:var(--font);}

@media(max-width:860px){
  .pr-examroom .pr-split-left{border-right:0;padding-right:0;border-bottom:1px solid #e3e7f0;padding-bottom:20px;margin-bottom:16px;}
}
@media(max-width:720px){
  .pr-examroom .pr-stage{padding:20px 16px 8px;}
}

@media (max-width:720px){
  body{font-size:16px;}



  .ws-page{padding:28px 16px 70px;}
  .pr-card{padding:22px 20px;}
  .pr-prompt{font-size:1.16rem;}
  .pr-progress-wrap{max-width:none;}
  .pr-crumb{display:none;}
  .acc-meta{display:none;}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;}}

/* Exam simulation themes, isolated from the Beacon landing page */
body.pr-examroom{font-family:Arial,Helvetica,sans-serif;color:#202124;background:#fff}
.pr-examroom #practice{min-height:100dvh}
.pr-examroom .pr-prompt,.pr-examroom .pr-passage,.pr-examroom .pr-choice{font:16px/1.55 Arial,Helvetica,sans-serif;color:#202124}
.pr-examroom .pr-prompt{font-weight:600}
.pr-examroom .pr-passage{border:0;padding-left:0}
.pr-examroom .pr-stage{width:100%;max-width:1440px;padding:24px clamp(16px,4vw,58px) 20px;box-sizing:border-box}
.pr-examroom .pr-card{min-height:250px}
.pr-examroom .pr-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;align-items:start}
.pr-examroom .pr-split-left{padding:10px 28px 20px 0;border-right:1px solid #aaa;min-width:0}
.pr-examroom .pr-split-right{padding:10px 0 20px 28px;min-width:0}
.pr-examroom .pr-nav{max-width:none;padding:14px 28px;border-top:1px solid #c8cbd0}
.pr-examroom button:focus-visible,.pr-examroom a:focus-visible,.pr-examroom input:focus-visible,.pr-examroom textarea:focus-visible{outline:3px solid #3279c5;outline-offset:3px}
.pr-examroom.exam-toefl{--exam-accent:#08656b;--exam-accent-soft:#e5f3f4}
.pr-examroom.exam-toefl .pr-bar,.pr-examroom.exam-toefl .pr-exam-top{background:#08656b;color:white}
.pr-examroom.exam-toefl .pr-bar .pr-crumb,.pr-examroom.exam-toefl .pr-bar .pr-count,.pr-examroom.exam-toefl .pr-bar .pr-timer,.pr-examroom.exam-toefl .pr-bar .pr-exam-qn,.pr-examroom.exam-toefl .bp-name{color:white}
.pr-examroom.exam-toefl .pr-exam-sub{background:#eee;color:#222}
.pr-examroom.exam-toefl .pr-choice{border:0;border-radius:0;padding:12px 8px;box-shadow:none}
.pr-examroom.exam-toefl .pr-choice .mark{border-radius:50%;font-size:0;width:18px;height:18px}
.pr-examroom.exam-toefl .cloze-text{font-size:18px;line-height:2.3;max-width:850px;margin:20px auto}
.pr-examroom.exam-toefl .cloze-inp{border:0;border-bottom:2px solid #08656b;border-radius:0;background:#f4f8f8;color:#202124}
.pr-examroom.exam-ielts{--exam-accent:#c8102e;--exam-accent-soft:#fff1f3}
.pr-examroom.exam-ielts .pr-exam-top,.pr-examroom.exam-ielts .pr-bar{background:#fff;border-top:5px solid #c8102e}
.pr-examroom.exam-ielts .pr-exam-sub{background:#eeefed}
.pr-examroom.exam-ielts .pr-split-left,.pr-examroom.exam-ielts .pr-split-right{max-height:calc(100dvh - 220px);overflow:auto}
.pr-examroom.exam-ielts .pr-qbar{background:#f5f5f5;border-top:1px solid #c8cbd0}
.pr-examroom.exam-ielts .pr-qnum,.pr-examroom.exam-ielts .pr-choice{border-radius:3px}
.pr-examroom.exam-sat{--exam-accent:#354fc2;--exam-accent-soft:#eef2ff}
.pr-examroom.exam-sat .pr-exam-top,.pr-examroom.exam-sat .pr-nav,.pr-examroom.exam-sat .pr-tracker-row{background:#e5eaf7}
.pr-examroom.exam-sat .bb-ruler{height:5px;background:#202760}
.pr-examroom.exam-sat .bb-head{background:#eee;border-radius:0;padding:0 12px 0 0}
.pr-examroom.exam-sat .bb-head .pr-kicker{background:#202020;border-radius:0;min-width:34px;height:34px}
.pr-examroom.exam-sat .pr-choice{border:1px solid #777;border-radius:7px;min-height:50px}
.pr-examroom.exam-sat .btn-white{background:#354fc2;border-color:#354fc2;border-radius:24px}
.pr-examroom .bp-top{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;gap:12px}
.pr-examroom .bp-essay{width:100%;min-height:360px;box-sizing:border-box;resize:vertical;font:16px/1.6 Arial,sans-serif;padding:14px;border:1px solid #777;background:#fff;color:#222;border-radius:3px}
.pr-examroom .bp-status{font-size:14px;color:#444;margin:12px 0}
.pr-examroom .bp-wordbank{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.pr-examroom .bp-sentence{padding:16px;border-bottom:2px solid var(--exam-accent);min-height:50px}
.pr-examroom .bb-spr-input{font:18px Arial,sans-serif;padding:12px;width:min(220px,100%);border:1px solid #666;border-radius:4px;background:white;color:#222}
@media(max-width:760px){.pr-examroom .pr-split{grid-template-columns:1fr}.pr-examroom .pr-split-left,.pr-examroom .pr-split-right{padding:14px 0;border:0;max-height:none!important;overflow:visible!important}.pr-examroom .bb-divider-handle{display:none}.pr-examroom .pr-stage{padding:18px 16px}.pr-examroom .pr-nav{padding:12px 16px}.pr-examroom .bb-top{position:relative}}

/* Workspace: full test, section selection, task types — progressive disclosure. */
.ws-full-hero{position:relative;background:#192b47;color:#fff;border-radius:14px;padding:26px 30px;margin:12px 0 28px}
.ws-full-hero h2{color:#fff;font-size:30px;margin:8px 0}
.ws-full-hero p{color:#d7dfea;margin:8px 0 16px}
.ws-mode-eyebrow{color:#d9bf85;font-size:12px;letter-spacing:.1em;font-weight:700}
.ws-full-meta{font-size:14px;color:#d9bf85;margin-bottom:12px}
.ws-hero-btn{display:inline-block;background:#d9bf85;color:#192b47;padding:12px 18px;font-weight:700;text-decoration:none;border-radius:7px}
.ws-mode-note{display:block;color:#e1e6ef;margin-top:12px}
.ws-section-title{font-size:24px;color:#192b47;margin:20px 0 6px}
.ws-mode-desc{color:#526179;margin-bottom:16px}
.ws-section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ws-section-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:white;color:#192b47;border:1px solid #d7dce5;border-radius:12px;padding:20px;cursor:pointer;font:inherit;gap:8px}
.ws-section-card:hover{border-color:#b99a55;background:#fcfbf7}
.ws-section-card .ws-tile-ico{color:#a18343;width:38px;height:38px}
.ws-section-card h3{font-size:20px;margin:0;color:#192b47}
.ws-section-card>span:not(.ws-tile-ico){color:#617086;font-size:14px}
.ws-section-card strong{margin-top:8px}
.ws-back-link{border:0;background:transparent;color:#526179;font:inherit;cursor:pointer;padding:8px 0}
.ws-task-detail{background:#fff;border:1px solid #d7dce5;border-radius:9px;margin:12px 0;color:#192b47}
.ws-task-detail summary{padding:16px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:10px}
.ws-task-detail summary small{display:block;color:#617086;margin-top:6px}
.ws-task-detail summary>span:last-child{font-size:13px;white-space:nowrap;color:#526179}
.ws-level-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px 16px;border-top:1px solid #e2e5ea}
.ws-mode-link,.ws-mode-unavailable{display:block;padding:10px;border:1px solid #d7dce5;border-radius:4px;color:#192b47;text-decoration:none}
.ws-mode-link:hover{background:#f5f1e7}.ws-mode-unavailable{color:#888;background:#f6f6f6}
@media(max-width:600px){.ws-full-hero{padding:20px}.ws-section-grid{grid-template-columns:1fr}.ws-level-links{grid-template-columns:1fr}.ws-task-detail summary{align-items:flex-start}.ws-task-detail summary>span:last-child{white-space:normal}}

/* Explicit saved questions link, visible even with no saved items. */
.ws-h1 a.ws-saved{font:600 15px/1.3 Arial,sans-serif;gap:8px;padding:10px 15px;border-radius:8px;color:#192b47;background:#fff;border:1px solid #aeb8c9;box-shadow:none;text-decoration:none}.ws-h1 a.ws-saved:hover,.ws-h1 a.ws-saved:focus-visible{background:#192b47;color:#fff}.ws-saved-icon{width:19px;height:19px;flex-shrink:0}.ws-saved-count{background:#e8edf5;border-radius:12px;padding:2px 7px;font-size:12px;color:#192b47}.ws-h1 a.ws-saved.has{background:#192b47;color:#fff;box-shadow:none}.pr-save .st{display:inline-flex}.pr-save .st svg{width:17px;height:17px}

/* Workspace action spacing, excluded from examination screens. */
.beacon-shell .ws-full-hero h2{margin:10px 0 14px}
.beacon-shell .ws-full-hero p{margin:0 0 20px}
.beacon-shell .ws-full-meta{margin-bottom:20px}
.beacon-shell .ws-hero-btn{display:inline-flex;align-items:center;min-height:44px}
.beacon-shell .ws-section-title{margin:28px 0 12px}
.beacon-shell .ws-mode-desc{margin-bottom:20px}
.beacon-shell .ws-section-card{gap:12px}
.beacon-shell .ws-section-card strong{margin-top:12px}
.beacon-shell .ws-task-detail summary small{margin-top:9px}
.beacon-shell .ws-level-links{gap:12px;padding:16px}
.beacon-shell .ws-mode-link{min-height:42px}
.beacon-shell .ws-item p{margin-top:6px}
.beacon-shell .rt-card{gap:9px}
.beacon-shell .rt-full-txt{gap:8px}
.beacon-shell .rt-full{gap:20px}
.beacon-shell .ws-h1{margin-bottom:22px}
.beacon-shell .ws-h1 .ws-saved{margin-left:16px}
@media(max-width:560px){.beacon-shell .ws-h1 .ws-saved{margin:14px 0 0}}
