:root{color-scheme:light;--bg:#f6f5fa;--surface:#fff;--surface2:#f3f2f7;--surface3:#e9e7f0;--ink:#24232e;--muted:#565365;--faint:#676275;--line:#d8d5e1;--mint:#5c4d92;--mint2:#675695;--sun:#7a5920;--red:#a03e4b;--shadow:0 8px 32px #3430440a;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{background:#f7f6fa;color:var(--ink)}.side,.mobile-top,.topbar,.bottom-nav{background:#faf9fcf5}.qp-logo{display:block;width:164px;height:auto}.mobile-top .qp-logo{width:138px}.mobile-top .brand{padding:0}.brand{min-height:40px}.card,.sim-card,.academy-level-card,.academy-module-card{background:white;box-shadow:0 6px 24px #29253606}.card.hero-card,.sim-hero,.academy-primary{background:radial-gradient(ellipse at 96% 3%,#fff 0%,#f5f2ff 30%,transparent 64%),linear-gradient(158deg,#fafaff 20%,#e6e2f8 62%,#bdb7e0 81%,#eeecf8 82%,#e3e0f1 95%)!important;border:1px solid #d5d0e5}.card.hero-card{padding:clamp(24px,4vw,56px)}.hero-card .deep{background:#ffffffe0}.qp-emphasis{color:#594e80}.btn.primary,button.primary{background:#292735;color:white;border-color:#292735}.btn.primary:hover{background:#49415f}.nav-link.active,.bottom-nav .active{color:#574682}.nav-link:hover{background:#ebe8f3;color:#292735}.page-heading .eyebrow{display:none}.side-bottom{background:#f0eef7}.side-bottom p{display:none}.side-bottom .btn{margin-top:8px}.btn:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #6956a6;outline-offset:3px}.sim-pnl.pos{color:#21634a}.sim-pnl.neg{color:#a0394a}input,textarea,select{color-scheme:light}::selection{background:#ddd6fd;color:#272036}
.qheader{position:sticky;top:0;z-index:22;background:#fcfbfef2;backdrop-filter:blur(18px);border-bottom:1px solid #dedbe5}.qheader>div,.qwrap,.qfoot{width:min(1120px,92%);margin:auto}.qheader>div,.qmain,.qsections{display:flex;align-items:center}.qheader>div{height:68px;justify-content:space-between}.qheader img{display:block;width:148px}.qmain,.qsections{gap:clamp(14px,3vw,38px)}.qmain a,.qsections a{color:#555261;padding:11px 0;font-size:14px}.qheader [aria-current],.qsections [aria-current]{color:#24212d;font-weight:680;box-shadow:inset 0 -2px #8c7abb}.qsections{margin-top:10px}.qwrap{min-height:75vh}.qwrap .content{padding:28px 0 64px;width:100%}.qhero{position:relative;isolation:isolate;overflow:hidden;border-radius:22px;border:1px solid #ddd8e8;background:linear-gradient(105deg,#faf9fd,#e6e2f4);padding:clamp(30px,6.7vw,85px);margin-bottom:22px}.qhero:after{content:'';position:absolute;inset:-45% -16% -95% 27%;z-index:-1;transform:rotate(-18deg);border-radius:50%;background:linear-gradient(168deg,#ffffff10 32%,#eeebfb 49%,#c8c1e8 69%,#fcfbff 70%,#d9d4ed 75%,#f2f0f8 91%);box-shadow:0 -1px 4px #fff}.qhero small{font-size:10px;font-weight:700;letter-spacing:.2em}.qhero h1{font-size:clamp(39px,5.6vw,74px);letter-spacing:-.06em;font-weight:550;line-height:1.04;margin:16px 0}.qhero p{color:#514c60;max-width:490px}.qbutton{display:inline-block;background:#282633;color:white;padding:11px 18px;border-radius:9px;margin-top:10px;font-weight:630}.qdirectory{display:grid;grid-template-columns:1fr 1fr;gap:14px}.qdirectory a,.qroad{position:relative;background:white;border:1px solid #dddae5;border-radius:16px;padding:clamp(22px,3vw,36px)}.qdirectory strong{display:block;font-size:21px;font-weight:600;letter-spacing:-.035em;margin-right:18px}.qdirectory p{color:#5a5566;font-size:14px;margin:8px 20px 0 0}.qdirectory i{position:absolute;right:20px;top:24px;font-style:normal;color:#81739e}.qdoors strong{font-size:30px}.qdoors a:last-child{background:#282632;color:white}.qdoors a:last-child p,.qdoors a:last-child i{color:#dcd5ec}.qsection{margin:30px 0 16px}.qroad{margin-top:24px}.qroad summary{cursor:pointer;font-weight:650}.qroad[open] summary{margin-bottom:16px}.qfoot{border-top:1px solid #dcd8e4;padding:22px 0;font-size:12px;color:#665e72}.qfoot span{float:right}.academy-bottom{display:none!important}@media(max-width:650px){.qheader img{width:98px}.qheader>div{height:57px}.qmain a{font-size:12px}.qwrap .content{padding-top:16px}.qdirectory{grid-template-columns:1fr}.qhero{padding:33px 22px}.qhero:after{opacity:.72}}
.access-label{display:block;width:fit-content;margin-top:8px;color:#645486;font-size:11px;font-weight:650}

/* In-context definitions use the same type size and baseline as the lesson. */
.academy-reading-body .reading-term {
  display: inline;
  appearance: none;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #574277;
  font: inherit;
  line-height: inherit;
  text-align: inherit;
  text-decoration: underline dotted #9883b8;
  text-underline-offset: .2em;
  cursor: pointer;
}
.reading-term[aria-expanded="true"] { text-decoration-style: solid; }
.reading-term:focus-visible, .definition-close:focus-visible { outline: 2px solid #6e5795; outline-offset: 3px; }
.academy-reading-body .reading-definition {
  margin: .75rem 0 1.25rem;
  padding: 1rem 1.15rem;
  background: #f5f2fa;
  border: 1px solid #ddd5e8;
  border-radius: 12px;
  color: #352e40;
}
.reading-definition[hidden] { display: none; }
.definition-title { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.definition-close { color: #574277; font-size: 22px; background: transparent; border: none; cursor: pointer; min-width: 36px; min-height: 36px; }
.academy-reading-body .reading-definition p { margin: .4rem 0 0; line-height: 1.55; }
.academy-reading-body .reading-definition .definition-example { font-size: .94em; color: #5e526d; }
.academy-reading-body .reading-hint { margin: 0 0 1rem; font-size: .84rem; color: #665a76; }
.academy-reading-body .reading-depth { max-width: 68ch; }
.module-sources { margin-top: .6rem; }
.module-sources summary { cursor: pointer; color: #574277; }
.module-sources a { display: block; margin: .5rem 0; overflow-wrap: anywhere; }
.lesson-case { background: #f7f5fa; border: 1px solid #e2dce9; border-radius: 14px; padding: clamp(16px, 3vw, 28px); margin: 1.35rem 0; }
.lesson-case h3 { font-size: 1.02rem; line-height: 1.5; }
.lesson-case summary, .lesson-vocabulary summary { cursor: pointer; color: #51406d; font-weight: 600; }
.lesson-case small { display: block; margin-top: 1.15rem; line-height: 1.5; color: #5e5667; }
.lesson-vocabulary { margin: 1.15rem 0; padding: .9rem 0; border-block: 1px solid #e1dce7; }
.lesson-vocabulary dl { margin-bottom: 0; }
.lesson-vocabulary dt { font-weight: 650; margin-top: .85rem; }
.lesson-vocabulary dd { margin: .2rem 0 .7rem; line-height: 1.55; }

/* Membership period selection */
.billing-switch{display:inline-flex;padding:5px;border:1px solid #d7d2e1;border-radius:999px;background:#efedf4;gap:4px;margin:8px 0 14px}.billing-switch button{font:inherit;font-weight:600;padding:11px 24px;border:0;border-radius:999px;background:transparent;color:#4b4358;cursor:pointer}.billing-switch button[aria-pressed="true"]{background:#fff;color:#422951;box-shadow:0 2px 8px #34243a12}.billing-switch button:focus-visible{outline:3px solid #765789;outline-offset:2px}.pricing-card .price{font-variant-numeric:tabular-nums}.discovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.discovery-grid .card{min-width:0}.discovery-grid h2{font-size:24px}@media(max-width:760px){.discovery-grid{grid-template-columns:1fr}.billing-switch{width:100%}.billing-switch button{flex:1;padding:11px 16px}}

@media(max-width:360px){.discovery-page .qhero{padding:26px 20px}.discovery-page .qhero h1{font-size:34px;line-height:1.12}.qheader img{width:90px;max-width:90px}.qmain{gap:10px}.qmain a{font-size:11px}}

/* Educational review workspace: clear form rhythm. */
#reviewContext,#reviewNotes,#reviewImage{display:block;width:100%;box-sizing:border-box;margin:8px 0 20px}#reviewPreview{border-radius:14px;margin:0 0 20px}button:disabled{cursor:not-allowed;opacity:.65}
#reviewContext,#reviewNotes{border:1px solid #d9d6e6;border-radius:12px;padding:14px 16px;background:#faf9fd;color:#292733;font:inherit;line-height:1.6}#reviewImage{padding:12px;border:1px dashed #b7aec9;border-radius:12px;background:#faf9fd}#reviewImage::file-selector-button{border:0;border-radius:8px;background:#eeeaf4;color:#4b385e;padding:9px 12px;margin-right:12px;font:inherit}#reviewContext:focus-visible,#reviewNotes:focus-visible{outline:2px solid #76628e;outline-offset:2px}

/* Answer review: reasoning stays visible after submission, v74. */
.answer-review{margin-top:28px;overflow-wrap:anywhere;scroll-margin-top:100px}.answer-review>h2{margin:10px 0 12px}.answer-review>p{max-width:70ch;color:#625b6c;line-height:1.65}.answer-review-item{margin:24px 0;padding:24px;border:1px solid #ded7e7;border-left:4px solid #76628e;border-radius:16px;background:#fcfbfd;color:#292331}.answer-review-item.answer-revisit{border-left-color:#986741}.answer-review-top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;color:#605569}.answer-review-top strong{color:#51406d}.answer-revisit .answer-review-top strong{color:#80512d}.answer-review-item h3{font-size:18px;line-height:1.6;margin:16px 0}.answer-review-values{margin:0}.answer-review-values>div{padding:10px 0}.answer-review-values dt{font-size:12px;font-weight:650;letter-spacing:.03em;color:#6a6074}.answer-review-values dd{margin:5px 0 0;font-size:15px;line-height:1.7}.answer-reasoning{margin-top:16px;padding:18px;border:1px solid #e0d9e8;border-radius:12px;background:#f2eef7}.answer-reasoning h4{font-size:14px;color:#51406d;margin:0 0 8px}.answer-review-item .answer-reasoning p{font-size:16px;line-height:1.8;margin:0;color:#352d40}.answer-review-item>p{line-height:1.7}.answer-review-item .answer-review-note{font-size:12px;line-height:1.65;color:#6a6074}.answer-review a:focus-visible{outline:3px solid #76628e;outline-offset:4px}@media(max-width:600px){.answer-review-item{padding:18px 14px;margin:20px 0}.answer-review-item h3{font-size:17px}.answer-reasoning{padding:15px 13px}.answer-review-item .answer-reasoning p{font-size:15px}}
