@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2");
}
:root {
  --paper: #f6f3e9;
  --ink: #202720;
  --yellow: #f8d94b;
  --teal: #c2e8d9;
  --muted: #656b61;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px "DM Sans",
    sans-serif;
}
h1,
h2,
h3,
.brand,
.mono {
  font-family: "Space Grotesk", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
summary {
  touch-action: manipulation;
}
button,
.button {
  cursor: pointer;
  border: 2px solid var(--ink);
  background: var(--yellow);
  padding: 14px 21px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 4px 4px 0 var(--ink);
}
button:hover,
.button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--ink);
}
button:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}
button.secondary,
.button.secondary {
  background: var(--paper);
}
button.small,
.small {
  padding: 10px 15px;
  font-size: 13px;
}
header {
  max-width: 1440px;
  margin: auto;
  padding: 24px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;
}
.brand span {
  font-weight: 400;
}
.logo {
  background: var(--ink);
  color: var(--yellow);
  padding: 5px 8px;
  margin-right: 3px;
}
nav {
  display: flex;
  gap: 30px;
  font-weight: 600;
  font-size: 14px;
}
nav a:hover,
footer a:hover {
  text-decoration: underline;
}
.tiny {
  font-size: 10px;
  border: 1px solid;
  padding: 2px 5px;
  background: var(--yellow);
}
.announcement {
  border-block: 2px solid;
  padding: 11px 5%;
  font: 11px "Space Grotesk";
  letter-spacing: 1.5px;
  background: var(--teal);
  display: flex;
  justify-content: space-between;
}
main {
  max-width: 1280px;
  margin: auto;
  padding: 0 4% 70px;
}
.hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 65px;
  align-items: center;
  padding: 64px 0 56px;
}
.eyebrow {
  font: 12px "Space Grotesk";
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
}
.dot {
  width: 8px;
  height: 8px;
  background: var(--ink);
  display: inline-block;
}
.hero h1 {
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -3.5px;
  margin: 22px 0;
}
.highlight {
  background: var(--yellow);
  padding: 0 5px;
  display: inline-block;
  border: 2px solid;
  transform: rotate(-1.5deg);
}
p {
  line-height: 1.65;
}
.hero p {
  max-width: 460px;
  color: var(--muted);
  font-size: 17px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 25px 0;
}
.micro {
  font-size: 12px;
  color: var(--muted);
}
.study-card {
  position: relative;
  border: 2px solid;
  background: white;
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(1.5deg);
  padding: 27px;
  margin: 14px;
}
.study-card:before {
  content: "YOUR NEXT STUDY SESSION";
  position: absolute;
  right: 12px;
  top: -20px;
  background: var(--teal);
  border: 2px solid;
  padding: 8px 14px;
  font: 10px "Space Grotesk";
  transform: rotate(-5deg);
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid;
  padding-bottom: 15px;
}
.tag {
  font: 11px "Space Grotesk";
  background: var(--paper);
  border: 1px solid;
  padding: 5px 8px;
  display: inline-block;
}
.study-card h3 {
  font-size: 25px;
  letter-spacing: -1px;
  margin: 18px 0 5px;
}
.demo {
  color: #656b61;
  font-size: 11px;
}
.mini-row {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1.5px solid;
  padding: 14px;
  margin-top: 11px;
  background: var(--paper);
}
.mini-row b {
  border: 1px solid;
  padding: 5px 9px;
  background: var(--yellow);
}
.mini-row span {
  flex: 1;
}
.mini-row.backup {
  border-style: dashed;
  background: white;
}
.card-bottom {
  background: var(--teal);
  border: 1.5px solid;
  padding: 13px;
  margin-top: 17px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 28px 0 22px;
  gap: 20px;
}
h2 {
  font-size: 31px;
  letter-spacing: -1.2px;
  margin: 7px 0;
}
h3 {
  font-size: 20px;
}
.muted {
  color: var(--muted);
}
.finder {
  border: 2px solid;
  box-shadow: 5px 5px 0 var(--ink);
  background: white;
  padding: 25px;
}
.searchline {
  display: flex;
  gap: 12px;
}
.searchline input {
  flex: 1;
  min-width: 0;
}
input,
select,
textarea {
  padding: 14px;
  background: var(--paper);
  border: 1.5px solid;
  width: 100%;
  border-radius: 0;
}
label {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  display: block;
}
.filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}
label select {
  margin-top: 8px;
  text-transform: none;
  letter-spacing: 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.subject {
  border: 2px solid;
  background: white;
  padding: 23px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 220px;
}
.subject:hover {
  box-shadow: 5px 5px 0;
}
.subject h3 {
  font-size: 22px;
  line-height: 1.2;
  margin: 19px 0 10px;
}
.subject p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 0;
}
.subject .end {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ddd;
  padding-top: 15px;
  font-size: 12px;
}
.arrow {
  font-size: 25px;
}
.subject:nth-child(2) .tag {
  background: var(--teal);
}
.subject:nth-child(3) .tag {
  background: #e5dbef;
}
.banner {
  background: var(--ink);
  color: var(--paper);
  padding: 29px 32px;
  margin-top: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.banner h3 {
  margin: 0 0 7px;
  font-size: 25px;
}
.banner p {
  margin: 0;
  color: #c7cbbf;
  font-size: 13px;
}
.banner a {
  white-space: nowrap;
  background: var(--yellow);
  color: var(--ink);
  padding: 12px 18px;
  font-weight: 700;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid;
  margin: 22px 0;
}
.steps > div {
  padding: 25px;
  border-right: 1px solid;
}
.steps > div:last-child {
  border: 0;
}
.steps b {
  font: 30px "Space Grotesk";
}
.steps p {
  font-size: 13px;
  color: var(--muted);
}
footer {
  border-top: 2px solid;
  padding: 35px 5%;
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
}
footer span {
  width: 100%;
  color: var(--muted);
}
.page-head {
  padding: 38px 0 20px;
}
.page-head h1 {
  font-size: 43px;
  letter-spacing: -2px;
  margin: 16px 0;
}
.notice {
  padding: 15px 18px;
  background: #eee8d6;
  border: 1px solid;
  margin: 15px 0;
  font-size: 13px;
  line-height: 1.6;
}
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid;
  margin: 25px 0;
  overflow: auto;
}
.tabs a {
  padding: 16px 22px;
  white-space: nowrap;
}
.tabs a.active {
  background: var(--yellow);
  border: 2px solid;
  border-bottom: 0;
  font-weight: 700;
}
.workspace {
  display: grid;
  grid-template-columns: 225px 1fr;
  gap: 28px;
}
.module-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.module-nav button {
  box-shadow: none;
  background: white;
  text-align: left;
  justify-content: start;
  padding: 16px;
}
.module-nav button.active {
  background: var(--yellow);
  box-shadow: 4px 4px 0;
}
.module-nav small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  margin-top: 5px;
}
.progress {
  height: 8px;
  background: #dedfd5;
  border: 1px solid;
  margin: 12px 0;
}
.progress i {
  display: block;
  height: 100%;
  background: var(--ink);
}
.question {
  border: 2px solid;
  background: white;
  margin: 15px 0;
}
.question summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  gap: 15px;
  align-items: center;
}
.qnum {
  background: var(--yellow);
  padding: 7px;
  border: 1px solid;
  font-family: "Space Grotesk";
}
.question.backup .qnum {
  background: var(--paper);
}
.question summary strong {
  flex: 1;
  font-size: 15px;
  line-height: 1.5;
}
.question > summary::after {
  content: "+";
  font-size: 25px;
}
.question[open] > summary::after {
  content: "−";
}
.qbody {
  padding: 0 22px 22px;
  border-top: 1px solid #ddd;
}
.qbody h4 {
  margin-bottom: 6px;
}
.qbody p {
  font-size: 14px;
}
.question.done {
  border-color: #35795e;
}
.question.done summary {
  background: #e9f4e9;
}
.mode {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.mode button {
  box-shadow: none;
  background: white;
  font-size: 12px;
  padding: 9px 13px;
}
.mode button.active {
  background: var(--ink);
  color: white;
}
.empty {
  padding: 35px;
  border: 2px dashed;
  text-align: center;
  margin: 20px 0;
}
.resource-row {
  display: flex;
  justify-content: space-between;
  padding: 22px;
  border: 2px solid;
  margin: 15px 0;
  align-items: center;
  gap: 20px;
  background: white;
}
.prose {
  max-width: 800px;
}
.prose h2 {
  margin-top: 35px;
}
.prose li {
  line-height: 1.8;
  margin: 8px 0;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 15px 25px;
  display: none;
  z-index: 10;
  max-width: 90%;
}
:focus-visible {
  outline: 3px solid #258568;
  outline-offset: 4px;
}
@media (max-width: 850px) {
  nav {
    gap: 14px;
  }
  .hero {
    gap: 20px;
  }
  .hero h1 {
    font-size: 51px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero p {
    font-size: 15px;
  }
  header .button {
    display: none;
  }
}
@media (max-width: 600px) {
  header {
    padding: 18px 5%;
    flex-wrap: wrap;
    gap: 18px;
  }
  .brand {
    font-size: 22px;
  }
  nav {
    width: 100%;
    justify-content: space-between;
    font-size: 12px;
    gap: 7px;
  }
  .announcement {
    font-size: 9px;
  }
  .announcement span {
    display: none;
  }
  main {
    padding: 0 5% 40px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 36px 0;
    gap: 30px;
  }
  .hero h1 {
    font-size: 52px;
    letter-spacing: -2.8px;
  }
  .hero p {
    font-size: 16px;
  }
  .study-card {
    margin: 7px 12px 10px 2px;
    padding: 21px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .finder {
    padding: 17px;
  }
  .filters {
    gap: 9px;
    grid-template-columns: 1fr;
  }
  .searchline button {
    padding: 12px;
  }
  h2 {
    font-size: 26px;
  }
  .section-title {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .steps > div {
    border-right: 0;
    border-bottom: 1px solid;
  }
  .banner {
    align-items: start;
    flex-direction: column;
    padding: 24px;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .module-nav {
    flex-direction: row;
    overflow: auto;
    padding-bottom: 5px;
  }
  .module-nav button {
    min-width: 135px;
  }
  .page-head h1 {
    font-size: 35px;
  }
  .tabs a {
    padding: 12px 15px;
  }
  .resource-row {
    align-items: start;
    flex-direction: column;
  }
  .question summary {
    padding: 14px;
    gap: 11px;
  }
  footer {
    gap: 15px;
  }
  .actions .button {
    font-size: 13px;
    padding: 13px 16px;
  }
}
@media print {
  header,
  footer,
  .announcement,
  .module-nav,
  .tabs,
  .actions,
  .mode,
  button {
    display: none !important;
  }
  .workspace {
    display: block;
  }
  .question {
    break-inside: avoid;
  }
  .qbody {
    display: none;
  }
  main {
    max-width: none;
  }
  .notice {
    font-size: 10px;
  }
}

.mobile-prep {
  display: none;
}
.formula {
  padding: 20px;
  border: 2px solid;
  background: var(--teal);
  font-family: monospace;
  line-height: 2;
  overflow: auto;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  margin: 20px 0;
}
th,
td {
  padding: 10px;
  border: 1px solid;
  text-align: center;
}
th {
  background: var(--teal);
}
caption {
  text-align: left;
  padding: 10px;
  font-weight: 700;
}
@media (max-width: 850px) {
  .mobile-prep {
    display: block;
  }
  nav {
    flex-wrap: wrap;
  }
}

html {
  scroll-padding-top: 20px;
}
body {
  overflow-wrap: break-word;
}
main {
  min-height: 55vh;
}
button,
input,
select,
summary,
.button {
  min-height: 44px;
}
textarea {
  resize: vertical;
  max-width: 100%;
}
a {
  transition: color 0.12s;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
.hero h1 {
  text-wrap: initial;
}
.hero {
  padding-top: 55px;
}
.hero .study-card p {
  font-size: 13px;
}
.mini-row:hover {
  background: var(--teal);
}
.page-head {
  max-width: 900px;
}
.page-head h1 {
  line-height: 1.12;
}
.page-head p {
  max-width: 650px;
}
.prose {
  font-size: 16px;
}
.prose p,
.prose li {
  line-height: 1.8;
}
.micro {
  line-height: 1.6;
}
.resource-row .button {
  flex-shrink: 0;
}
.resource-row h3 {
  line-height: 1.3;
}
.cards {
  align-items: stretch;
}
.subject {
  transition:
    box-shadow 0.14s,
    transform 0.14s;
}
.subject:hover {
  transform: translate(-2px, -2px);
}
.tag {
  line-height: 1.5;
}
a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.skip-link {
  position: fixed;
  left: 14px;
  top: -100px;
  z-index: 100;
  background: var(--yellow);
  border: 2px solid;
  padding: 14px;
}
.skip-link:focus {
  top: 10px;
}
.mobile-menu,
.bottom-nav {
  display: none;
}
header nav a {
  padding: 12px 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.desktop-nav {
  gap: 25px;
}
.noscript {
  max-width: 1000px;
  margin: 20px auto;
}
footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: start;
  gap: 40px;
  padding: 45px max(5%, calc((100% - 1160px) / 2));
}
footer nav {
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}
footer nav b {
  font: 11px "Space Grotesk";
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
footer nav a {
  padding: 8px 0;
  min-height: 36px;
}
footer .brand {
  font-size: 24px;
}
footer p {
  margin: 10px 0;
}
.footer-bottom {
  grid-column: 1/-1;
  display: flex;
  border-top: 1px solid #c3c5bb;
  padding-top: 22px;
  gap: 20px;
  justify-content: space-between;
  line-height: 1.6;
}
.footer-bottom span {
  width: auto;
}
.footer-bottom a {
  white-space: nowrap;
}
#main:focus {
  outline: none;
}
.question > summary {
  align-items: start;
}
.question > summary strong {
  min-width: 0;
}
.qbody details {
  padding: 12px 0;
}
.qbody details > summary {
  padding: 10px 0;
  display: block;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 14px;
}
.qbody details[open] > summary {
  margin-bottom: 8px;
}
.qbody .actions {
  gap: 12px;
}
.formula {
  font-size: 14px;
}
.table-wrap {
  max-width: 100%;
  border: 1px solid;
  margin: 20px 0;
}
.table-wrap table {
  margin: 0;
  border: 0;
}
.table-wrap caption {
  background: var(--paper);
}
.table-wrap th {
  position: sticky;
  top: 0;
}
.question code,
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.bottom-nav a:focus-visible {
  outline-offset: -4px;
}
.notice {
  border-left: 4px solid var(--ink);
  line-height: 1.7;
}
input[type="search"]::-webkit-search-cancel-button {
  cursor: pointer;
}
.section-title > a {
  padding: 8px 0;
  min-height: 40px;
}
.button,
.actions button {
  white-space: normal;
}
.subject .end {
  gap: 10px;
}
.subject h3 {
  overflow-wrap: anywhere;
}
@media (min-width: 1440px) {
  main {
    max-width: 1320px;
  }
  .hero h1 {
    font-size: 76px;
  }
  .hero {
    gap: 80px;
  }
  .hero p {
    max-width: 480px;
  }
}
@media (max-width: 1000px) {
  header {
    gap: 18px;
  }
  header .desktop-nav {
    gap: 18px;
    font-size: 13px;
  }
  .desktop-prep {
    display: none !important;
  }
  .hero {
    gap: 24px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .study-card {
    padding: 22px;
  }
}
@media (max-width: 720px) {
  header {
    padding: 17px 5%;
    flex-wrap: nowrap;
    position: relative;
  }
  .desktop-nav,
  .desktop-prep {
    display: none !important;
  }
  .mobile-menu {
    display: block;
    margin-left: auto;
  }
  .mobile-menu > summary {
    list-style: none;
    border: 2px solid;
    padding: 10px 14px;
    display: flex;
    gap: 18px;
    align-items: center;
    font-weight: 700;
    cursor: pointer;
    background: var(--paper);
  }
  .mobile-menu > summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu nav {
    position: absolute;
    left: 5%;
    right: 5%;
    top: calc(100% - 3px);
    background: var(--paper);
    border: 2px solid;
    box-shadow: 5px 5px 0;
    z-index: 20;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: auto;
    font-size: 15px;
  }
  .mobile-menu nav a {
    padding: 12px;
    min-height: 44px;
  }
  .mobile-menu nav a:hover {
    background: var(--teal);
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 32px;
  }
  .hero h1 {
    font-size: clamp(44px, 11vw, 64px);
  }
  .hero p {
    font-size: 16px;
  }
  .study-card {
    max-width: 490px;
    width: calc(100% - 14px);
    justify-self: center;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .subject {
    padding: 18px;
  }
  .subject h3 {
    font-size: 20px;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .module-nav {
    display: grid;
    grid-template-columns: repeat(5, 155px);
    overflow: auto;
    padding: 2px 5px 8px 2px;
    scroll-snap-type: x proximity;
  }
  .module-nav button {
    scroll-snap-align: start;
  }
  .filters {
    grid-template-columns: repeat(3, 1fr);
  }
  .filters select {
    padding: 12px 8px;
  }
  .tabs {
    gap: 0;
  }
  .tabs a {
    min-height: 48px;
  }
  .section-title {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
  .banner {
    align-items: start;
    flex-direction: column;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .steps > div {
    border-right: 0;
    border-bottom: 1px solid;
  }
  footer {
    grid-template-columns: 1fr 1fr;
    padding-bottom: 110px;
    gap: 30px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .bottom-nav {
    position: fixed;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--paper);
    border-top: 2px solid;
    z-index: 30;
    padding: 7px 3% calc(7px + env(safe-area-inset-bottom));
  }
  .bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    gap: 3px;
    min-height: 48px;
    justify-content: center;
  }
  .bottom-nav a span {
    font-size: 20px;
    line-height: 1;
  }
  #toast {
    bottom: 85px;
    width: max-content;
    max-width: 90%;
    font-size: 13px;
  }
  .announcement {
    padding: 10px 5%;
    font-size: 9px;
    letter-spacing: 1px;
  }
  .announcement > span + span {
    display: none;
  }
  .prose {
    font-size: 15px;
  }
  .resource-row {
    align-items: start;
    flex-direction: column;
  }
  .page-head h1 {
    font-size: 37px;
  }
  .searchline {
    gap: 10px;
  }
  .searchline input {
    width: 100%;
  }
  .searchline button {
    font-size: 13px;
    min-width: 100px;
  }
  .formula {
    font-size: 12px;
  }
}
@media (max-width: 480px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    letter-spacing: -2.6px;
  }
  .hero .actions {
    gap: 15px;
    align-items: stretch;
  }
  .hero .actions .button {
    width: 100%;
    justify-content: space-between;
    padding: 15px 18px;
    font-size: 14px;
  }
  .hero h1 {
    margin: 22px 0;
  }
  .study-card {
    margin-top: 13px;
  }
  .study-card:before {
    font-size: 9px;
  }
  .study-card .eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .study-card h3 {
    font-size: 26px;
  }
  .searchline {
    flex-wrap: wrap;
  }
  .searchline input {
    flex-basis: 100%;
  }
  .searchline button {
    width: 100%;
    justify-content: space-between;
  }
  .filters {
    gap: 8px;
  }
  .filters label {
    font-size: 9px;
    letter-spacing: 0.5px;
  }
  .filters select {
    font-size: 13px;
  }
  .finder {
    padding: 17px;
  }
  .page-head h1 {
    font-size: 34px;
    letter-spacing: -1.6px;
  }
  .resource-row {
    padding: 19px;
  }
  .resource-row .button {
    width: 100%;
  }
  .question .actions > * {
    width: 100%;
  }
  .question summary strong {
    font-size: 15px;
  }
  .qbody {
    padding: 0 15px 17px;
  }
  footer nav {
    font-size: 12px;
  }
  .brand {
    font-size: 21px;
  }
  .logo {
    font-size: 22px;
  }
  .section-title h2 {
    font-size: 27px;
  }
  .notice {
    padding: 13px;
  }
  .card-top .tag {
    font-size: 10px;
  }
  .mini-row {
    font-size: 13px;
  }
  .card-bottom {
    gap: 10px;
  }
  .card-bottom b {
    max-width: 85%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  button:hover,
  .button:hover,
  .subject:hover {
    transform: none;
  }
}
@media print {
  body {
    background: white;
    font-size: 11pt;
  }
  .skip-link,
  .bottom-nav,
  .mobile-menu,
  .tabs,
  #toast,
  .noscript {
    display: none !important;
  }
  main {
    padding: 0;
    max-width: none;
  }
  .prose {
    max-width: none;
  }
  .page-head {
    padding: 0;
  }
  .page-head h1 {
    font-size: 26pt;
  }
  .table-wrap {
    overflow: visible;
  }
  .table-wrap th {
    position: static;
  }
  a[href^="https"]:after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    overflow-wrap: anywhere;
  }
  h2,
  h3 {
    break-after: avoid;
  }
  table,
  .formula {
    break-inside: avoid;
  }
  .notice {
    font-size: 9pt;
  }
}

.announcement > span:first-child {
  display: inline;
}

.study-card h2 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 18px 0 5px;
}
.qbody h3 {
  font-size: 17px;
  letter-spacing: 0;
  margin: 24px 0 7px;
}

.workspace {
  grid-template-columns: 225px minmax(0, 1fr);
}
.workspace > *,
.hero > *,
.cards > * {
  min-width: 0;
}
.module-nav {
  max-width: 100%;
}
.question {
  min-width: 0;
}
footer nav a {
  min-height: 44px;
}
.actions > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
@media (max-width: 720px) {
  .workspace {
    grid-template-columns: minmax(0, 1fr);
  }
}

.collected-resource[hidden], #resource-empty[hidden] { display: none; }
.collected-resource h3 { overflow-wrap: anywhere; }

.report-trap { position:absolute;left:-10000px; }
input[type="checkbox"]{width:auto;min-height:20px;}

.public-shell{max-width:1200px;margin:auto;padding:20px 20px 0}.public-shell .site-header{max-width:none;margin:0;position:static;background:transparent;display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:2px solid #202720;padding:12px 0 22px;flex-wrap:wrap}.site-header .site-brand{font:800 24px 'Space Grotesk',Arial,sans-serif;letter-spacing:-1px;text-decoration:none;white-space:nowrap;color:#202720}.site-brand:first-letter{background:#f9db65}.site-header nav,.site-footer nav{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:0;border:0;font-size:14px;flex-direction:row}.site-header nav a,.site-footer nav a{padding:5px 0;color:inherit;min-height:32px;text-decoration:underline}.public-shell .site-announcement{display:flex;justify-content:space-between;gap:16px;font:12px 'DM Sans',Arial,sans-serif;text-transform:uppercase;letter-spacing:.6px;border-bottom:2px solid #202720;padding:12px 0;background:transparent}.site-announcement span{font-size:11px}.public-shell .site-main{max-width:none;width:100%;padding:0;margin:0;min-height:55vh}.public-shell .site-footer{display:block;max-width:none;margin:70px 0 0;padding:30px 0;border-top:2px solid #202720;background:transparent;color:#202720;font-size:14px}.site-footer p{max-width:700px}.site-skip{position:absolute;left:-9999px}.site-skip:focus{left:20px;top:5px;background:#fff;z-index:20;padding:10px}.site-header nav a[aria-current=page]{font-weight:800;text-decoration-thickness:3px;text-underline-offset:5px}@media(max-width:800px){.public-shell .site-header{align-items:flex-start;flex-direction:column;gap:16px}.site-header nav{gap:12px}.site-announcement span{display:none}}@media(max-width:650px){.public-shell{padding:16px 14px 0}.site-header nav{column-gap:16px;row-gap:4px}}@media print{.site-header,.site-footer,.site-announcement{display:none!important}}
.public-shell .site-footer{display:grid;grid-template-columns:minmax(190px,.9fr) 2fr;gap:40px;padding:38px 0 20px;border-top:4px solid #202720}.site-footer .footer-intro .site-brand{font:800 28px 'Space Grotesk',Arial,sans-serif;text-decoration:none;letter-spacing:-1px}.footer-intro>p{font-size:18px;line-height:1.5;margin:16px 0 24px}.footer-contribute{display:inline-block;background:#f9db65;border:2px solid #202720;box-shadow:3px 3px #202720;padding:10px 12px;font-weight:700;text-decoration:none;max-width:100%}.footer-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.site-footer .footer-columns nav{display:flex;flex-direction:column;align-items:flex-start;gap:4px;justify-content:flex-start}.footer-columns h3{font:700 14px 'Space Grotesk',Arial,sans-serif;text-transform:uppercase;letter-spacing:.5px;margin:0 0 12px}.site-footer .footer-columns a{font-size:14px;line-height:1.5;text-decoration:none;padding:6px 0;min-height:36px}.site-footer .footer-columns a:hover{text-decoration:underline}.footer-base{grid-column:1/-1;display:flex;gap:24px;justify-content:space-between;align-items:center;border-top:1px solid #b7bcae;padding-top:20px;font-size:12px;color:#59645d}.footer-base p{margin:0;line-height:1.8}.footer-base>a{white-space:nowrap}@media(max-width:800px){.public-shell .site-footer{grid-template-columns:1fr;gap:32px}.footer-intro>p{font-size:18px}.footer-columns{gap:16px}}@media(max-width:480px){.footer-columns{grid-template-columns:1fr 1fr;row-gap:28px}.footer-base{align-items:flex-start;flex-direction:column;gap:12px}}
.public-shell .site-header{padding:0 0 10px;gap:20px;flex-direction:row;align-items:center;flex-wrap:wrap;border-bottom:2px solid #202720}.site-header .header-logo{display:flex;align-items:center;line-height:0;flex-shrink:0}.header-logo img{display:block;width:220px;height:110px;object-fit:contain}.site-header nav{display:flex;flex-direction:row;gap:8px;align-items:center;flex-wrap:nowrap}.site-header nav a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 18px;border:2px solid #202720;border-radius:4px;background:#fff1bf;text-decoration:none;font-size:15px;font-weight:700;white-space:nowrap;transition:background-color 150ms ease,transform 150ms ease,box-shadow 150ms ease}
.site-header nav a[aria-current=page]{background:#f9db65;box-shadow:3px 3px #202720}
.site-header nav a:focus-visible{outline:2px solid #202720;outline-offset:3px}
@media (hover:hover){
  .site-header nav a:hover{transform:translate(-1px,-1px);box-shadow:2px 2px #202720}
  .site-header nav a[aria-current=page]:hover{box-shadow:4px 4px #202720}
}
.site-header nav a:active{transform:translate(1px,1px);box-shadow:none}
@media (prefers-reduced-motion:reduce){
  .site-header nav a{transition:none}
  .site-header nav a:hover,.site-header nav a:active{transform:none}
}
.footer-intro>.site-brand{display:inline-flex;line-height:0}.footer-intro>.site-brand img{display:block;width:190px;height:95px;object-fit:contain}.site-footer .footer-intro>p{margin-top:4px}@media(max-width:650px){.public-shell .site-header{gap:0;padding-bottom:16px;justify-content:center}.header-logo img{width:190px;height:95px}.site-header nav{width:100%;justify-content:center;gap:10px}.site-header nav a{padding:9px 16px;font-size:14px;min-height:44px}}
/* A shared height keeps the subject tabs clear of the sticky navigation. */
.public-shell{--site-header-height:88px;padding-top:0}.public-shell .site-header{position:sticky;top:0;z-index:30;display:grid;grid-template-columns:auto 1fr;height:var(--site-header-height);padding:4px 0;gap:24px;background:#f6f3e9;border-bottom:3px solid #202720;box-shadow:0 8px 0 #e9e4d5}.header-logo img{width:150px;height:75px}.site-header nav{width:auto;justify-content:flex-end}.public-shell .site-main{padding-top:24px}.public-shell .site-footer{margin-top:80px;padding-top:40px;border-top:3px solid #202720;box-shadow:0 -8px 0 #e9e4d5}.footer-intro>.site-brand img{width:150px;height:75px}.site-main [id]{scroll-margin-top:calc(var(--site-header-height) + 24px)}@media(max-width:650px){.public-shell{--site-header-height:132px;padding-top:0}.public-shell .site-header{grid-template-columns:1fr;grid-template-rows:64px 44px;justify-items:center;gap:4px;padding:8px 0 9px}.header-logo img{width:128px;height:64px}.site-header nav{width:100%;justify-content:center;gap:10px}.site-header nav a{padding:8px 16px}.public-shell .site-main{padding-top:20px}.public-shell .site-footer{margin-top:64px;padding-top:32px}}
/* Shadows paint the separators to the viewport edges without widening the page. */
.public-shell .site-header,.public-shell .site-footer{border-color:transparent;box-shadow:none}.site-header::before,.site-header::after,.site-footer::before,.site-footer::after{content:"";position:absolute;left:0;right:0;pointer-events:none;clip-path:inset(0 -100vmax)}.site-header::before{bottom:-3px;height:3px;background:#202720;box-shadow:0 0 0 100vmax #202720}.site-header::after{bottom:-11px;height:8px;background:#e9e4d5;box-shadow:0 0 0 100vmax #e9e4d5}.public-shell .site-footer{position:relative}.site-footer::before{top:-3px;height:3px;background:#202720;box-shadow:0 0 0 100vmax #202720}.site-footer::after{top:-11px;height:8px;background:#e9e4d5;box-shadow:0 0 0 100vmax #e9e4d5}
/* Paint an opaque backdrop across the full sticky header, including side gutters. */
.public-shell .site-header{background:#f6f3e9;box-shadow:0 0 0 100vmax #f6f3e9;clip-path:inset(0 -100vmax -11px)}
