body{background:#f5f6f1;padding:20px clamp(14px,4vw,24px) 48px;color:#163e35}
.mast{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d9dfd5;padding:0 0 15px;margin:0}
.mast strong{font-size:21px;letter-spacing:-1px}.mast a{font-size:14px;font-weight:550;color:#486558;text-decoration:none;letter-spacing:0;padding:10px 0}
main>h1{font:500 clamp(34px,8vw,44px)/1.12 Georgia,serif;letter-spacing:-1.3px;margin:26px 0 22px}
#grades{border:0;padding:0;margin:0;min-width:0}
#grades legend{font-size:15px;font-weight:650;padding:0;margin-bottom:8px}
#grade-options{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;padding:4px;background:#e9ede4;border-radius:16px}
#grade-options label{display:grid;position:relative;place-items:center;min-height:44px;margin:0;padding:0;cursor:pointer;font-size:17px;font-weight:600}
#grade-options input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
#grade-options span{display:grid;place-items:center;width:100%;height:100%;border-radius:12px;pointer-events:none;font-variant-numeric:tabular-nums}
#grade-options input:checked+span,#levels button[aria-pressed=true]{background:#173e33;color:white;box-shadow:0 2px 5px #153d3219}
#grade-options input:focus-visible+span{outline:3px solid #638548;outline-offset:1px}
#levels{gap:4px;padding:4px;border:1px solid #d9e1d5;border-radius:15px;background:#fcfdf9;margin:12px 0 0}
#levels button{flex:1;margin:0;padding:8px 3px;min-height:44px;border-radius:11px;background:transparent;color:#395b4d;font-size:15px;font-weight:600}
#levels button[aria-pressed=true]{background:#173e33;color:white}
.topic-group{margin:25px 0}
.topic-group h2{font-size:19px;line-height:1.25;letter-spacing:-.4px;margin:0 0 10px}
.topic-rows{border:1px solid #dae1d6;border-radius:18px;overflow:hidden;background:#fff}
.topic-rows .topic-row{position:relative;display:block;color:#153d32;background:transparent;border:0;border-radius:0;text-align:left;width:100%;font-family:inherit;font-size:16px;font-weight:550;line-height:1.4;min-height:49px;margin:0;padding:14px 36px 14px 16px;text-decoration:none}
.topic-rows .topic-row+.topic-row{border-top:1px solid #e6ebe2}
.topic-row::after{content:'';position:absolute;right:17px;top:50%;width:7px;height:7px;border-top:1.5px solid #688675;border-right:1.5px solid #688675;transform:translateY(-50%) rotate(45deg)}
.topic-rows .topic-row:focus-visible{outline-offset:-3px}.topic-row:active{background:#eef3e8}
.topic-row small{display:block;margin-top:2px;font-size:13px;color:#48724f}

.school-recall-link {
  color: #164b3d;
  background: #e4eee5;
  border: 1px solid #c9ddce;
}

main:has(.school-theory) > :is(h1, p, #grades) {
  display: none;
}
