@font-face {
  font-family: DM Sans;
  src: url('/assets/dm-sans-latin.468d56b6b25b.woff2') format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('/assets/manrope-latin.e310b55a7fd9.woff2') format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.65 "DM Sans",
    sans-serif;
}
button,
input {
  font: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
a {
  color: inherit;
}
button {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
  line-height: 1.2;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.035em;
}
p {
  margin: 0 0 1em;
}
h1 {
  font-size: clamp(2.3rem, 4vw, 3.6rem);
}
h2 {
  font-size: 1.65rem;
}
h3 {
  font-size: 1.15rem;
}
img {
  display: block;
  max-width: 100%;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #bc5b31;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: -90px;
  left: 20px;
  padding: 12px;
  background: var(--lime);
  z-index: 40;
}
.skip:focus {
  top: 12px;
}
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 4vw;
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  line-height: 1.15;
  font-size: 21px;
  letter-spacing: -0.05em;
}
.brand-mark {
  font-size: 40px;
}
.brand-sub {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  margin-top: 7px;
}
nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}
nav a[aria-current] {
  border-color: var(--ink);
}
.study-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  max-width: 1600px;
  margin: auto;
}
.syllabus {
  padding: 30px 16px 30px 28px;
  border-right: 1px solid var(--line);
  position: sticky;
  top: 88px;
  height: calc(100dvh - 88px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.syllabus-heading {
  padding: 0 12px 24px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.13em;
  font-weight: 700;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.syllabus h1 {
  font-size: 23px;
  letter-spacing: -0.055em;
}
.syllabus-heading > p:last-child {
  font-size: 14px;
  color: var(--muted);
  margin: 10px 0 0;
}
.tab-group {
  font-size: 11px;
  letter-spacing: 0.14em;
  margin: 24px 12px 9px;
  font-weight: 700;
  color: var(--muted);
}
.topic-tab {
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  line-height: 1.3;
  padding: 12px;
  border-radius: 5px;
  font-size: 14px;
  margin: 2px 0;
}
.topic-tab:hover {
  background: #e8ecdf;
}
.topic-tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--lime);
}
.topic-tab .num {
  font-size: 12px;
  opacity: 0.75;
  font-variant-numeric: tabular-nums;
}
.syllabus-note {
  border-top: 1px solid var(--line);
  margin: 28px 12px 0;
  padding-top: 18px;
  font-size: 13px;
  color: var(--muted);
}
.lesson-wrap {
  min-width: 0;
  padding: 36px clamp(24px, 4vw, 68px) 20px;
}
.lesson-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.lesson-topline .eyebrow {
  margin: 0;
}
.lesson-count {
  font-size: 13px;
  color: var(--muted);
}
.lesson-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  background: var(--ink);
  color: var(--paper);
  padding: 32px;
  border-radius: 7px;
  align-items: center;
  margin-bottom: 28px;
  overflow: hidden;
}
.lesson-hero h1 {
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  max-width: 760px;
}
.lesson-hero .subtitle {
  max-width: 620px;
  font-size: 17px;
  color: #d9e1d7;
  margin: 18px 0 0;
  line-height: 1.6;
}
.lesson-hero img {
  width: 145px;
  height: 174px;
  object-fit: cover;
  border-radius: 4px;
}
.hero-label {
  color: var(--lime);
  font-size: 12px;
  letter-spacing: 0.1em;
  margin: 0 0 14px;
  font-weight: 700;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 30px 0 18px;
}
.section-title .eyebrow {
  margin: 0;
  color: var(--muted);
}
.essentials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.essential {
  border-top: 2px solid var(--ink);
  padding: 17px 17px 16px;
  background: var(--white);
  border-radius: 0 0 5px 5px;
}
.essential h2 {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.025em;
  margin-bottom: 9px;
}
.essential p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  color: #394f49;
}
.practice-block {
  margin: 30px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 25px;
  background: #fffefa80;
}
.practice-block h2 {
  margin-bottom: 18px;
  font-size: 22px;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: steps;
  display: grid;
  gap: 16px;
}
.steps li {
  padding-left: 40px;
  position: relative;
  counter-increment: steps;
}
.steps li:before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
}
strong {
  font-weight: 700;
}
.remember {
  background: var(--lime);
  border-left: 3px solid var(--ink);
  padding: 17px 20px;
  border-radius: 0 5px 5px 0;
  margin: 22px 0;
  color: var(--deep);
}
.remember p {
  margin: 0;
}
.remember strong {
  display: block;
  margin-bottom: 4px;
}
.deep-dive {
  border-bottom: 1px solid var(--line);
}
.deep-dive:first-child {
  border-top: 1px solid var(--line);
}
summary {
  padding: 20px 32px 20px 0;
  list-style: none;
  font-family: Manrope, sans-serif;
  font-weight: 600;
  line-height: 1.45;
  position: relative;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  position: absolute;
  right: 5px;
  top: 17px;
  font-family:
    DM Sans,
    sans-serif;
  font-size: 25px;
  font-weight: 400;
}
details[open] > summary:after {
  content: "−";
}
.detail-content {
  padding: 0 20px 22px 0;
  color: #344e46;
  max-width: 900px;
}
.detail-content p:last-child,
.detail-content ul:last-child {
  margin-bottom: 0;
}
.detail-content ul {
  padding-left: 22px;
}
.detail-content li {
  margin: 8px 0;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  margin: 16px 0;
}
th,
td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: var(--soft);
  font-size: 13px;
}
td:first-child {
  font-weight: 600;
}
.interview {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 25px;
  background: #e9eddf;
  border-radius: 6px;
  margin: 28px 0;
}
.interview .eyebrow {
  margin-top: 5px;
}
.interview h2 {
  font-size: 20px;
  margin-bottom: 12px;
}
.interview p {
  margin: 0;
  color: #344e46;
}
.sources {
  margin: 30px 0;
}
.sources h2 {
  font-size: 18px;
  margin-bottom: 6px;
}
.sources > p {
  font-size: 13px;
  color: var(--muted);
}
.source-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.source-list a {
  font-size: 14px;
  text-underline-offset: 4px;
  text-decoration-color: #9ba99b;
}
.lesson-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 19px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
}
.button:hover {
  background: var(--deep);
}
.button.secondary {
  color: var(--ink);
  background: transparent;
}
.button.secondary:hover {
  background: var(--soft);
}
.button.lime {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}
.button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.text-link {
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 5px 0;
  font-size: 14px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.site-footer > span {
  font-weight: 700;
  letter-spacing: 0.12em;
}
.site-footer p {
  margin: 0;
  max-width: 720px;
}
.site-footer a {
  font-size: 14px;
  color: var(--ink);
}
.no-script {
  padding: 30px;
}
.exam-page {
  max-width: 1180px;
  margin: auto;
  padding: 46px 36px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 35px;
}
.page-heading h1 {
  margin-bottom: 17px;
}
.page-heading .intro {
  max-width: 720px;
  color: var(--muted);
  margin: 0;
}
.small-badge {
  background: var(--lime);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 4px;
  white-space: nowrap;
}
.exam-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 35px;
}
.exam-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.exam-card.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.exam-card.featured .exam-meta {
  color: #cdd9ce;
}
.exam-number {
  font:
    500 48px/1 Manrope,
    sans-serif;
  letter-spacing: -0.07em;
  opacity: 0.6;
  margin-bottom: 25px;
}
.exam-card h2 {
  font-size: 24px;
  margin-bottom: 14px;
}
.exam-card p {
  font-size: 15px;
  line-height: 1.6;
}
.exam-meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: auto;
  padding: 15px 0 18px;
}
.exam-card .button {
  width: 100%;
}
.exam-note {
  max-width: 870px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 30px;
}
.practical {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-top: 38px;
}
.practical > p {
  color: var(--muted);
  margin-top: 12px;
}
.practical details:last-child {
  border-bottom: 0;
}
.quiz-shell {
  max-width: 820px;
  margin: 0 auto;
}
.quiz-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  align-items: center;
}
.quiz-toolbar h1 {
  font-size: 22px;
}
.quiz-meter {
  height: 5px;
  background: var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin: 16px 0 26px;
}
.quiz-meter > span {
  height: 100%;
  display: block;
  background: var(--ink);
}
.question-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.question-card h2 {
  font-size: 25px;
  line-height: 1.5;
  margin-bottom: 24px;
}
.question-card .eyebrow {
  color: var(--muted);
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
legend {
  font-size: 14px;
  margin-bottom: 12px;
}
.option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid var(--line);
  padding: 15px;
  margin: 12px 0;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}
.option:hover {
  border-color: var(--ink);
}
.option:has(input:checked) {
  background: var(--soft);
  border-color: var(--ink);
}
.option input {
  accent-color: var(--ink);
  flex: none;
  margin-top: 6px;
  width: 17px;
  height: 17px;
}
.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
}
.question-index {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.question-index button {
  width: 37px;
  height: 37px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 4px;
  font-size: 13px;
}
.question-index button.answered {
  background: var(--soft);
  border-color: #758b77;
}
.question-index button[aria-current] {
  background: var(--ink);
  color: white;
}
.quiz-notice {
  font-size: 14px;
  color: var(--orange);
  min-height: 24px;
  margin: 12px 0;
}
.result-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 32px;
  border-radius: 7px;
  margin-bottom: 28px;
}
.result-hero .eyebrow {
  color: var(--lime);
}
.score {
  font:
    500 70px/1.2 Manrope,
    sans-serif;
  letter-spacing: -0.065em;
}
.result-hero h1 {
  font-size: 28px;
  margin: 20px 0 12px;
}
.result-hero p {
  max-width: 670px;
}
.result-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.review-row {
  background: var(--white);
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 4px solid #477452;
  border-radius: 4px;
  margin: 12px 0;
}
.review-row.incorrect {
  border-left-color: var(--orange);
}
.review-row h3 {
  font-size: 17px;
  line-height: 1.5;
  margin: 9px 0 14px;
}
.review-row p {
  font-size: 15px;
  margin: 7px 0;
}
.review-row .verdict {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #366343;
}
.review-row.incorrect .verdict {
  color: var(--orange);
}
.review-row a {
  font-size: 14px;
}
.revision-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 28px;
}
.revision-list a {
  font-size: 14px;
  background: var(--soft);
  padding: 8px 12px;
  border-radius: 4px;
}
.exit-confirm {
  background: var(--soft);
  padding: 18px;
  border-radius: 5px;
  margin-bottom: 20px;
}
.exit-confirm p {
  margin-bottom: 12px;
}
.exit-confirm .button {
  margin: 0 8px 6px 0;
}
@media (min-width: 1450px) {
  .study-layout {
    grid-template-columns: 315px minmax(0, 1fr);
  }
  .syllabus {
    padding-left: 35px;
  }
}
@media (max-width: 1050px) {
  .study-layout {
    grid-template-columns: 248px minmax(0, 1fr);
  }
  .syllabus {
    padding-left: 12px;
  }
  .lesson-wrap {
    padding: 26px 25px;
  }
  .lesson-hero {
    padding: 26px;
  }
  .lesson-hero img {
    width: 110px;
    height: 150px;
  }
  .essentials {
    grid-template-columns: 1fr;
  }
  .essential {
    padding: 16px 19px;
    border-top: 0;
    border-left: 2px solid var(--ink);
  }
  .essential h2 {
    margin-bottom: 5px;
  }
  .exam-grid {
    gap: 12px;
  }
  .exam-card {
    padding: 22px;
  }
}
@media (max-width: 720px) {
  html {
    scroll-padding-top: 155px;
  }
  .site-header {
    height: 77px;
    padding: 0 18px;
  }
  .brand {
    font-size: 17px;
    gap: 8px;
  }
  .brand-mark {
    font-size: 30px;
  }
  .brand-sub {
    font-size: 8px;
    letter-spacing: 0.09em;
  }
  nav {
    gap: 16px;
  }
  nav a {
    font-size: 12px;
  }
  nav a span {
    display: none;
  }
  .study-layout {
    display: block;
  }
  .syllabus {
    position: sticky;
    top: 77px;
    padding: 10px 0;
    height: auto;
    background: var(--paper);
    z-index: 15;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    overflow: visible;
  }
  .syllabus-heading,
  .tab-group,
  .syllabus-note {
    display: none;
  }
  #topic-tabs {
    display: flex;
    overflow-x: auto;
    padding: 2px 16px 5px;
    scrollbar-width: thin;
  }
  .topic-tab {
    width: auto;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 10px 13px;
    margin: 0 4px 0 0;
  }
  .lesson-wrap {
    padding: 24px 18px 10px;
  }
  .lesson-topline {
    margin-bottom: 15px;
  }
  .lesson-hero {
    padding: 25px;
    gap: 14px;
  }
  .lesson-hero img {
    width: 85px;
    height: 136px;
  }
  .lesson-hero h1 {
    font-size: 29px;
  }
  .lesson-hero .subtitle {
    font-size: 15px;
    margin-top: 14px;
  }
  .hero-label {
    font-size: 11px;
  }
  .lesson-hero.has-image {
    grid-template-columns: 1fr;
  }
  .lesson-hero.has-image img {
    display: none;
  }
  .essentials {
    gap: 10px;
  }
  .essential p {
    font-size: 15px;
  }
  .practice-block {
    padding: 21px;
  }
  .interview {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 22px;
  }
  .interview .eyebrow {
    margin-bottom: 5px;
  }
  .detail-content {
    padding-right: 0;
  }
  .lesson-nav .button {
    padding: 10px 12px;
    font-size: 13px;
    gap: 7px;
  }
  .exam-page {
    padding: 28px 18px;
  }
  .page-heading {
    display: block;
  }
  .small-badge {
    display: inline-block;
    margin-top: 18px;
  }
  .exam-grid {
    grid-template-columns: 1fr;
  }
  .exam-card {
    padding: 24px;
  }
  .exam-number {
    font-size: 36px;
    margin-bottom: 15px;
  }
  .exam-card .exam-meta {
    padding-top: 0;
  }
  .exam-card .button {
    width: auto;
  }
  .practical {
    padding: 20px;
  }
  .quiz-toolbar h1 {
    font-size: 18px;
  }
  .question-card {
    padding: 22px;
  }
  .question-card h2 {
    font-size: 21px;
  }
  .option {
    padding: 13px;
  }
  .quiz-actions .button {
    padding: 10px 14px;
  }
  .result-hero {
    padding: 25px;
  }
  .score {
    font-size: 58px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media print {
  .site-header,
  .syllabus,
  .lesson-nav,
  .site-footer,
  .skip,
  .quiz-actions,
  .question-index {
    display: none;
  }
  .study-layout {
    display: block;
  }
  .lesson-wrap {
    padding: 0;
  }
  .lesson-hero {
    color: var(--ink);
    background: white;
  }
  .lesson-hero .subtitle,
  .hero-label {
    color: var(--ink);
  }
  details .detail-content {
    display: block !important;
  }
  .essentials {
    grid-template-columns: repeat(3, 1fr);
  }
  .practice-block,
  .interview,
  .essential {
    break-inside: avoid;
  }
}
.day-plan {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  padding: 0 18px;
  margin: 0 0 27px;
}
.day-plan summary {
  font-size: 14px;
  padding: 14px 26px 14px 0;
}
.day-plan summary:after {
  top: 10px;
}
.day-plan summary span {
  float: right;
  font:
    700 10px/2 "DM Sans",
    sans-serif;
  letter-spacing: 0.12em;
  margin-left: 15px;
  color: var(--muted);
}
.day-plan .detail-content {
  font-size: 14px;
  padding-top: 10px;
}
.day-plan ol {
  padding-left: 20px;
}
.day-plan li {
  margin-bottom: 6px;
}
.graphic-block {
  border: 1px solid #c8d2c2;
  border-radius: 6px;
  background: #e9edde;
  padding: 24px;
  margin-top: 26px;
}
.graphic-block > .eyebrow {
  font-size: 11px;
  margin-bottom: 9px;
}
.graphic-block > h2 {
  font-size: 20px;
  margin-bottom: 22px;
}
.graphic-note {
  font-size: 13px;
  line-height: 1.6;
  color: #48604f;
  margin: 17px 0 0;
}
.visual-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.flow-cell {
  background: #fffefab3;
  border: 1px solid #ccd4bf;
  border-radius: 5px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.flow-number {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
}
.flow-cell > strong {
  font-size: 15px;
  line-height: 1.4;
}
.flow-cell > span:last-child {
  font-size: 13px;
  line-height: 1.5;
  color: #445b49;
}
.equation {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  padding: 13px 0;
}
.equation > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}
.equation strong {
  font:
    600 clamp(1.6rem, 3vw, 2.65rem) / 1.2 Manrope,
    sans-serif;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.equation span {
  font-size: 12px;
  color: #48604f;
}
.process-rows {
  display: grid;
  gap: 10px;
}
.process-rows > div {
  display: grid;
  grid-template-columns: 95px 1fr 14px 1fr 14px 1fr;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.process-rows b {
  font-size: 15px;
}
.process-rows span {
  background: #fffefa;
  border-radius: 4px;
  padding: 12px;
  line-height: 1.4;
}
.process-rows i {
  font-style: normal;
}
.technical {
  display: block;
  width: 100%;
  height: auto;
  min-width: 500px;
}
.graphic-block:has(.technical) {
  overflow-x: auto;
}
.photo-explainer {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 23px;
  align-items: center;
  margin-top: 24px;
}
.photo-explainer img {
  width: 120px;
  height: 145px;
  object-fit: cover;
  border-radius: 5px;
}
.photo-explainer p {
  font-size: 14px;
  margin: 8px 0 0;
}
.photo-explainer .graphic-note {
  font-size: 12px;
}
.taste-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #9fad99;
  border: 1px solid #9fad99;
}
.taste-grid > div {
  background: #fffefac9;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.taste-grid strong {
  font-size: 15px;
}
.taste-grid span {
  font-size: 13px;
  color: #48604f;
}
.taste-axis {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 12px 0;
}
.decision-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.decision-pair > div {
  background: #fffefa;
  border-radius: 5px;
  padding: 18px;
}
.decision-pair span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 12px;
}
.decision-pair strong {
  font-size: 18px;
}
.decision-pair p {
  font-size: 14px;
  margin: 10px 0 0;
}
.latte-stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.latte-stages > div {
  display: flex;
  flex-direction: column;
}
.latte-stages svg {
  width: 100%;
  max-height: 150px;
}
.latte-stages strong {
  font-size: 14px;
  margin-top: 10px;
}
.latte-stages span {
  font-size: 13px;
  margin-top: 4px;
  color: #48604f;
}
.drink-comparison {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.drink-comparison > div > strong {
  font-size: 14px;
}
.drink-comparison p {
  font-size: 12px;
  color: #48604f;
  margin: 4px 0 0;
}
.drink-bar {
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid #b6c5b4;
  border-radius: 3px;
  margin-bottom: 13px;
  overflow: hidden;
}
.drink-bar span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  text-align: center;
  line-height: 1.3;
  padding: 12px 6px;
  background: #e2eee9;
  flex: 1;
}
.drink-bar span:last-child {
  background: #754c34;
  color: #fffefa;
  flex: 0;
}
.drink-bar.latte span:first-child {
  background: #fffbea;
}
.drink-bar.cappuccino span:first-child {
  background: repeating-linear-gradient(
    0deg,
    #fffbea,
    #fffbea 5px,
    #eae3d4 6px,
    #fffbea 7px
  );
}
@media (max-width: 1050px) {
  .visual-flow {
    grid-template-columns: 1fr 1fr;
  }
  .process-rows > div {
    grid-template-columns: 80px 1fr 12px 1fr 12px 1fr;
    gap: 6px;
  }
  .process-rows span {
    padding: 9px;
  }
  .drink-comparison {
    gap: 8px;
  }
}
@media (max-width: 720px) {
  .day-plan {
    padding: 0 14px;
    margin-bottom: 20px;
  }
  .day-plan summary span {
    display: none;
  }
  .graphic-block {
    padding: 20px;
  }
  .graphic-block > h2 {
    font-size: 19px;
  }
  .equation {
    gap: 20px 10px;
  }
  .equation > div {
    min-width: calc(50% - 20px);
  }
  .equation strong {
    font-size: 28px;
  }
  .process-rows > div {
    grid-template-columns: 1fr 12px 1fr 12px 1fr;
    font-size: 11px;
  }
  .process-rows b {
    grid-column: 1/-1;
    margin-top: 9px;
    font-size: 14px;
  }
  .process-rows span {
    padding: 9px 7px;
  }
  .decision-pair {
    grid-template-columns: 1fr;
  }
  .flow-cell {
    padding: 12px;
  }
  .flow-cell strong {
    font-size: 14px;
  }
  .photo-explainer {
    grid-template-columns: 90px 1fr;
    gap: 16px;
  }
  .photo-explainer img {
    width: 90px;
    height: 140px;
  }
  .taste-grid > div {
    padding: 14px;
  }
  .taste-grid strong {
    font-size: 14px;
  }
  .taste-grid span {
    font-size: 12px;
  }
  .latte-stages {
    gap: 8px;
  }
  .latte-stages strong {
    font-size: 12px;
  }
  .latte-stages span {
    font-size: 12px;
  }
  .drink-comparison {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .drink-bar {
    height: 135px;
  }
}

/* Brewing unit: touch-friendly diagrams, recipe cards and comparisons. */
.course-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}
.course-shortcuts a {
  font-size: 13px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}
.topic-picker-label {
  display: none;
}
.brewer-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.brewer-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  line-height: 1.45;
}
.brewer-tile:hover {
  border-color: var(--ink);
}
.brewer-tile svg {
  width: 100%;
  height: 155px;
}
.brewer-tile strong {
  font-size: 16px;
}
.brewer-tile > span {
  font-size: 12px;
  color: var(--muted);
}
.brewer-tile .tile-link {
  font-weight: 700;
  color: var(--ink);
  margin-top: auto;
  padding-top: 8px;
}
.syphon-sequence {
  margin-top: 26px;
}
.syphon-sequence h3 {
  margin-bottom: 15px;
}
.method-tag {
  display: inline-block;
  background: var(--lime);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.recipe-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 23px;
}
.recipe-facts > div {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 4px;
}
.recipe-facts dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.recipe-facts dd {
  margin: 5px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
.detail-content h3 {
  margin: 22px 0 10px;
}
.detail-content ol {
  padding-left: 24px;
}
.deep-dive {
  scroll-margin-top: 160px;
}
.drink-compare-controls,
.recipe-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.drink-compare-controls {
  margin-bottom: 18px;
}
.drink-compare-controls label {
  font-size: 12px;
  font-weight: 700;
}
select {
  display: block;
  width: 100%;
  max-width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #a8b8a6;
  border-radius: 4px;
  padding: 12px 8px;
  margin-top: 6px;
  min-height: 46px;
}
select:focus-visible {
  outline: 3px solid #bc5b31;
  outline-offset: 3px;
}
.comparison-drink {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.comparison-drink h3 {
  font-size: 17px;
  min-height: 42px;
}
.cup-label {
  display: block;
  font-size: 12px;
  margin: 8px 0 14px;
}
.ingredient {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  margin-bottom: 5px;
  border-radius: 3px;
  font-size: 14px;
  line-height: 1.45;
}
.ingredient b {
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.ingredient.coffee {
  background: #754c34;
  color: #fffefa;
}
.ingredient.milk {
  background: #f5edda;
}
.ingredient.flavour {
  background: var(--accent);
}
.ingredient.ice {
  background: #dcecea;
}
.comparison-drink p {
  font-size: 13px;
  line-height: 1.6;
  margin: 16px 0 0;
}
@media (max-width: 720px) {
  .topic-picker-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0 16px 10px;
  }
  .topic-picker-label select {
    font-size: 14px;
    margin-top: 4px;
  }
  .syllabus {
    height: auto;
    max-height: none;
  }
  .course-shortcuts {
    gap: 6px;
    margin-bottom: 16px;
  }
  .course-shortcuts a {
    font-size: 12px;
    padding: 8px 10px;
  }
  .brewer-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .brewer-tile {
    padding: 10px;
  }
  .brewer-tile svg {
    height: 125px;
  }
  .brewer-tile strong {
    font-size: 14px;
  }
  .brewer-tile > span {
    font-size: 11px;
  }
  .recipe-facts {
    grid-template-columns: 1fr;
  }
  .drink-compare-controls,
  .recipe-comparison {
    grid-template-columns: 1fr;
  }
  .comparison-drink h3 {
    min-height: 0;
  }
  .deep-dive {
    scroll-margin-top: 230px;
  }
}
