:root{--ink:#20332b;--muted:#596861;--green:#203b33;--deep:#172f27;--lime:#d8fa93;--bg:#f7f8f2;--line:#dde4d8;--white:#fff;--soft:#edf4e5;--wrong:#a03942;--right:#25724c;--radius:22px;font:16px/1.5 "Aptos", "Inter", system-ui, sans-serif;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}a{color:inherit}button,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.47}button:focus-visible,select:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #7b58c5;outline-offset:3px}h1,h2,h3,p{margin:0}.top{background:#fcfdf8;border-bottom:1px solid var(--line)}.top-inner,.shell,.footer{width:min(1180px,calc(100% - 64px));margin:auto}.top-inner{display:flex;align-items:center;justify-content:space-between;height:72px;gap:20px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:24px;font-weight:830;letter-spacing:-1.4px;white-space:nowrap}.brand-science{font-weight:500;color:#547268}.top nav{display:flex;align-items:center;gap:8px}.top nav a{padding:8px 15px;border-radius:9px;text-decoration:none;color:#52635a;font-weight:650}.top nav a[aria-current]{background:#e8efdf;color:#263d31}.header-label,.kicker,.small-label{font-size:.78rem;font-weight:800;letter-spacing:.105em}.header-label{color:#51645a}.shell{min-height:70vh;padding:28px 0 40px}.hero{position:relative;overflow:hidden;isolation:isolate;background:var(--green);color:#fff;padding:31px 36px;border-radius:var(--radius);margin-bottom:24px;min-height:213px;display:flex;align-items:center}.hero .kicker{color:var(--lime);margin-bottom:7px}.hero h1{font-size:clamp(2.6rem,5vw,4.45rem);line-height:1.02;letter-spacing:-.07em;margin:0 0 10px;max-width:750px}.hero p{color:#dbebdf;max-width:550px}.hero-art{position:absolute;right:25px;top:50%;transform:translateY(-50%);width:34%;height:auto;z-index:-1}.panel{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 5px 20px #18362a05}.configure{padding:20px 23px;margin-bottom:24px}.controls{display:grid;grid-template-columns:1fr 1.12fr 1.4fr .8fr;gap:13px}.field{display:grid;gap:5px;min-width:0;font-weight:700}.field>span{font-size:.86rem}.field select{display:block;width:100%;min-width:0;appearance:none;border:1px solid #d5ded1;border-radius:10px;background:#fafbf7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%23394d42' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") right 10px center/20px no-repeat;padding:10px 34px 10px 11px;color:var(--ink);font-weight:600;text-overflow:ellipsis}.controls-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px;color:var(--muted);font-size:.875rem}.controls-foot a{font-weight:750}.layout{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(255px,1fr);gap:24px;align-items:start}.quiz{padding:24px;scroll-margin-top:20px}.quiz-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.pill{display:inline-flex;align-items:center;width:fit-content;border-radius:999px;padding:4px 10px;background:#eaf2e4;color:#365948;font-size:.8rem;font-weight:750}.pill.chemistry{background:#ede7fa;color:#5a4384}.count,.muted{color:var(--muted)}.count{font-size:.875rem;font-weight:750;white-space:nowrap}.bar{width:100%;height:7px;border-radius:99px;overflow:hidden;background:#ebf0e8;margin:14px 0 20px}.bar span{display:block;background:#649772;height:100%;border-radius:inherit;transition:width .2s}.quiz h2{font-size:clamp(1.35rem,2.4vw,1.85rem);line-height:1.24;letter-spacing:-.035em;margin-bottom:18px}.answers{display:grid;gap:8px}.answer{display:flex;align-items:center;gap:12px;width:100%;min-height:49px;text-align:left;border:1px solid #dce4d9;border-radius:11px;padding:8px 12px;background:#fbfcf9;color:var(--ink);font-weight:610;line-height:1.35}.answer:not(:disabled):hover{border-color:#719782;background:#eff5eb}.answer:disabled{opacity:1}.answer .letter{display:grid;place-items:center;width:28px;height:28px;flex:none;border:1px solid #d9e3d6;border-radius:7px;background:#fff;color:#4a6457;font-size:.83rem;font-weight:800}.answer.correct{background:#e6f6e8;border-color:#86b997}.answer.incorrect{background:#fcecee;border-color:#d7989d}.answer .result{margin-left:auto;font-weight:850;color:var(--right)}.answer.incorrect .result{color:var(--wrong)}.feedback{margin-top:14px;padding:12px 14px;background:#eff6e9;border-radius:11px;color:#2c4d37}.feedback.miss{background:#fcf0ee;color:#62362f}.feedback p{margin-top:3px}.quiz-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:17px}.keys{font-size:.84rem;color:var(--muted)}.primary,.secondary{border-radius:10px;padding:9px 14px;font-weight:750}.primary{background:var(--green);color:#fff;border:1px solid var(--green)}.primary:not(:disabled):hover{background:#345748}.secondary{background:#f1f5ec;color:#294936;border:1px solid #dce7d6}.secondary:not(:disabled):hover{background:#e2efdb}.sidebar{display:grid;gap:16px}.score{padding:20px}.score h2,.review h2{font-size:1.18rem;letter-spacing:-.025em}.score-body{display:flex;align-items:center;gap:16px;margin:15px 0}.ring{--p:0%;--r:0%;width:100px;aspect-ratio:1;flex:none;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#5b9468 0 var(--p),#e5a4a3 var(--p) var(--r),#e9eee6 var(--r) 100%);position:relative}.ring:before{content:"";position:absolute;inset:9px;background:#fff;border-radius:50%}.ring strong{position:relative;font-size:1.38rem}.score-lines{flex:1;display:grid;gap:6px}.score-row{display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:.875rem}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;background:#5b9468}.dot.miss{background:#d88789}.score-foot{display:flex;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:11px;font-size:.875rem;color:var(--muted)}.score-foot strong{color:var(--ink)}.review{padding:18px 20px;background:#f0edfa;border-color:#e6dff5}.review p{font-size:.91rem;color:#514667;margin:5px 0 12px}.review .secondary{background:#fff;border-color:#dbd1ee;color:#513e74}.page-heading{margin:0 0 19px}.page-heading h1{font-size:clamp(2rem,5vw,3.4rem);letter-spacing:-.06em;line-height:1.1;margin-bottom:7px}.topic-grid,.source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.topic-card,.source-card{padding:17px;display:flex;flex-direction:column;align-items:start;gap:8px}.topic-card h2,.source-card h2{font-size:1.12rem;line-height:1.25}.topic-card p,.source-card p{color:var(--muted);font-size:.91rem}.topic-card button{margin-top:auto}.coverage{margin:12px 0 17px;color:var(--muted)}.summary{padding:24px}.summary h2{margin-bottom:8px}.summary p{margin-bottom:12px}.summary-actions{display:flex;flex-wrap:wrap;gap:10px}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.metric{padding:16px}.metric strong{display:block;font-size:1.8rem}.table-box{padding:17px;overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{border-bottom:1px solid var(--line);text-align:left;padding:9px 7px}th{font-size:.88rem}td:last-child,th:last-child{text-align:right}.footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;padding:17px 0 23px;font-size:.83rem;color:var(--muted)}.footer a{font-weight:700}.footer span:first-child{font-weight:800;color:var(--ink)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.top-inner,.shell,.footer{width:calc(100% - 36px)}.layout{gap:14px}.score{padding:14px}.score-body{gap:9px}.ring{width:78px}.score-row{font-size:.8rem}.topic-grid,.source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-art{opacity:.72;right:10px}}
@media(max-width:690px){.top-inner,.shell,.footer{width:calc(100% - 26px)}.top-inner{height:63px;gap:6px}.brand{font-size:19px;gap:5px}.top nav{gap:1px}.top nav a{font-size:.85rem;padding:6px 7px}.header-label{display:none}.shell{padding-top:15px}.hero{min-height:170px;padding:19px;margin-bottom:15px}.hero-art{opacity:.22;width:62%;right:-22px}.hero p{font-size:.92rem}.configure{padding:14px;margin-bottom:15px}.controls{grid-template-columns:1fr 1fr;gap:9px}.field select{font-size:.9rem}.controls-foot{align-items:flex-start;font-size:.78rem}.layout{grid-template-columns:1fr}.quiz{padding:16px}.sidebar{grid-template-columns:1fr 1fr;gap:10px}.score-foot{display:block}.score-foot strong{display:block}.score-body{flex-wrap:wrap}.ring{width:62px}.ring strong{font-size:1.05rem}.ring:before{inset:6px}.score-lines{min-width:92px}.review{padding:14px}.footer{flex-wrap:wrap;justify-content:flex-start;column-gap:14px}.topic-grid,.source-grid{gap:8px}.topic-card,.source-card{padding:12px}.metric-grid{gap:6px}.metric{padding:10px}.keys{display:none}.quiz-bottom{justify-content:flex-end}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.live-mini{display:none}.summary-actions a{text-decoration:none}.source-card a{overflow-wrap:anywhere}
@media(max-width:690px){.live-mini{display:block;margin-top:9px;font-size:.83rem;color:var(--muted);font-weight:650}.bar{margin-top:9px}}
.pill.maths{background:#e3edf9;color:#264a74}.pill.physics{background:#fff0d3;color:#644713}
.brand {
  gap: 8px;
  letter-spacing: -.8px;
  color: #193b31;
}

.brand img {
  flex: none;
  display: block;
}

.brand-science {
  color: #3c6253;
  font-weight: 600;
}

.hero {
  background: linear-gradient(116deg, #163a30 12%, #205141 100%);
}

.hero .kicker { color: #d1ebbb; }
.hero p { color: #e2efe4; }

.card-art {
  right: 5%;
  width: 30%;
  aspect-ratio: 1.75;
}

.card-art::before {
  content: "";
  position: absolute;
  inset: -6% -7%;
  background: radial-gradient(circle, #96c0a1 1px, transparent 1.5px) 0 0 / 13px 13px;
  mask-image: radial-gradient(ellipse, #000 20%, transparent 74%);
  opacity: .4;
}

.art-card {
  position: absolute;
  width: 57%;
  height: 74%;
  top: 12%;
  border-radius: 16px;
}

.art-back {
  left: 8%;
  top: 18%;
  transform: rotate(-13deg);
  background: #e5b65b;
}

.art-front {
  left: 32%;
  transform: rotate(10deg);
  background: #eaf4dc;
  display: grid;
  align-content: center;
  gap: 13%;
  padding: 15% 14%;
  box-shadow: 0 12px 20px #0d2d2440;
}

.art-front i {
  height: 5px;
  border-radius: 9px;
  background: #386650;
  display: block;
}

.art-front i:nth-child(2) { width: 83%; }
.art-front i:nth-child(3) { width: 57%; background: #a87424; }
.pill.computing { background: #f7e6ee; color: #713751; }
@media(max-width:690px){.brand{gap:4px;font-size:18px}.brand img{width:31px;height:31px}.card-art{width:44%;right:-7%;opacity:.20}.art-card{border-radius:10px}}

@media(max-width:360px){.brand{font-size:16px}.top nav a{padding-inline:5px}}

.pill.psychology { background: #fbe8dd; color: #7b4137; }

.coverage-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
}

.coverage-summary a { flex: none; color: var(--green); }
.coverage-grid { display: grid; gap: .75rem; }
.coverage-topic { padding: .85rem 1.25rem; }
.coverage-topic-title { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.coverage-topic-title h2 { font-size: 1rem; }
.coverage-topic-title span, .coverage-topic p { font-size: .875rem; color: var(--muted); }
.coverage-topic ul { list-style: none; margin: .5rem 0 0; padding: 0; }
.coverage-point {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(5.5rem, 1fr) 4fr auto;
  align-items: center;
  gap: .75rem;
  padding: .5rem 0;
}
.coverage-ref, .coverage-gap { font-size: .875rem; color: var(--muted); }
.coverage-gap { font-weight: 650; color: #83502d; }
.coverage-point button { font-size: .875rem; }

@media (max-width: 620px) {
  .coverage-summary { flex-wrap: wrap; }
  .coverage-point { grid-template-columns: 1fr auto; gap: .4rem .6rem; }
  .coverage-point > :nth-child(2) { grid-row: 1; grid-column: 1 / -1; }
}

.pill.economics { background: #eceddc; color: #525927; }
.study-links { display: flex; flex-wrap: wrap; justify-content: end; gap: .3rem .9rem; }
.written-practice { max-width: 52rem; padding: clamp(1rem, 3vw, 1.6rem); display: grid; gap: .9rem; }
.written-practice .field { max-width: 100%; }
.written-practice textarea {
  resize: vertical;
  width: 100%;
  min-height: 6rem;
  background: #fafbf7;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .75rem;
  font: inherit;
}
.written-practice textarea:focus-visible, .written-practice summary:focus-visible { outline: 3px solid #7b58c5; outline-offset: 3px; }
.written-practice details { background: var(--soft); border-radius: 10px; padding: .7rem .9rem; }
.written-practice summary { cursor: pointer; font-weight: 700; }
.written-practice li + li { margin-top: .35rem; }
.practice-graph { width: min(100%, 27rem); height: auto; font-family: inherit; }

@media (max-width: 560px) {
  .controls-foot { flex-wrap: wrap; gap: .35rem; }
  .study-links { justify-content: start; }
}

.coverage-overview { align-items: center; }
.coverage-overview p { margin: .25rem 0 0; color: var(--muted); }
.coverage-overview button { flex: none; }

.coverage-view { min-width: min(100%, 12rem); }
.coverage-summary p { margin: .25rem 0 0; }

.review-block h2 { font-size: 1.125rem; }
.review-course {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: .6rem .9rem;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: .65rem 0;
}
.review-course > div > span { display: block; font-size: .875rem; color: var(--muted); }
.review-course button { font-size: .875rem; }
@media (max-width: 510px) {
  .review-course { grid-template-columns: minmax(0, 1fr) auto; }
  .review-course div { grid-column: 1 / -1; }
  .review-course button { justify-self: end; }
}
