:root {
  --hs-blue: #185191;
  --hs-cyan: #07a1e2;
  --body-text: #222222;
  --rule-grey: #d8dde3;
  --page-bg: #f5f8fb;
  --card-bg: #ffffff;
  --muted-text: #5d6b78;
  --sidebar-bg: #ffffff;
  --soft-blue: #eef6fd;
  --surface-tint: #f8fbfd;
  --sidebar-text: #273849;
}

html {
  scroll-behavior: smooth;
}

body.quarto-light {
  background: var(--page-bg);
  color: var(--body-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: var(--hs-blue);
}

a:hover,
a:focus {
  color: var(--hs-cyan);
}

#quarto-sidebar {
  background: var(--sidebar-bg);
  border-right: 1px solid var(--rule-grey);
  box-shadow: 12px 0 32px rgba(24, 81, 145, 0.06);
}

.sidebar-title {
  color: var(--hs-blue);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.sidebar-logo {
  max-width: 12rem;
  max-height: 4.5rem;
  margin: 0.4rem 0 1rem;
  object-fit: contain;
}

.sidebar nav[role="doc-toc"] ul,
.sidebar-menu-container ul {
  gap: 0.15rem;
}

.sidebar-item-container .sidebar-link {
  border-radius: 6px;
  border-left: 3px solid transparent;
  color: var(--sidebar-text);
  font-size: 0.92rem;
  line-height: 1.3;
  padding: 0.4rem 0.7rem;
}

.sidebar-item-container .sidebar-link:hover {
  background: var(--soft-blue);
  color: var(--hs-blue);
}

.sidebar-item-container .sidebar-link.active {
  background: var(--soft-blue);
  border-left-color: var(--hs-cyan);
  color: var(--hs-blue);
  font-weight: 700;
}

.sidebar-section .sidebar-item-text.sidebar-link {
  color: var(--hs-blue);
  font-weight: 750;
}

.sidebar-search input {
  border: 1px solid var(--rule-grey);
  border-radius: 999px;
}

#quarto-content {
  background:
    radial-gradient(circle at 12% 0%, rgba(7, 161, 226, 0.13), transparent 24rem),
    linear-gradient(180deg, var(--card-bg) 0, var(--page-bg) 22rem);
}

/* Collapse Quarto's TOC grid column into a single centered column - but only
   for the single-page book, which has no docked sidebar. Applying this to
   the website build (body.nav-sidebar) breaks the sidebar/content grid
   layout entirely, leaving the sidebar full-width and the actual page
   content unreachable. */
body:not(.nav-sidebar) #quarto-content.page-columns {
  display: block;
}

main.content {
  max-width: min(1600px, calc(100vw - 3rem));
  margin: 0 auto;
  padding: 2rem 2.25rem 4rem;
}

/* Without a TOC, reclaim the margin column Quarto's article layout otherwise
   reserves for it on the right. Needs to match/beat the specificity of
   Bootstrap's own ".page-columns .content { grid-column:
   body-content-start/body-content-end }". Start at body-start rather than
   page-start/screen-start-inset: those lie further left, underneath the
   docked sidebar's reserved space, and using them causes content to render
   partly hidden behind the sidebar. */
.page-columns main.content {
  grid-column: body-start / page-end;
}

#title-block-header {
  position: relative;
  margin: 0 0 2rem;
  padding: 2.2rem 2.4rem;
  background: var(--card-bg);
  border: 1px solid var(--rule-grey);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(24, 81, 145, 0.10);
}

#title-block-header::before {
  content: "";
  display: block;
  width: 9rem;
  height: 3px;
  margin-bottom: 1.35rem;
  background: var(--hs-cyan);
}

.quarto-title h1.title {
  margin: 0;
  padding-bottom: 0;
  border-bottom: 0;
  color: var(--hs-blue);
  font-size: clamp(1.5rem, 1.8vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.035em;
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin: 1.2rem 0 1.7rem;
}

.page-nav a,
.page-nav .disabled {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(24, 81, 145, 0.18);
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--hs-blue);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(24, 81, 145, 0.06);
}

.page-nav .disabled {
  color: var(--muted-text);
  opacity: 0.55;
}

.page-nav a:hover,
.page-nav a:focus {
  border-color: var(--hs-cyan);
  background: var(--hs-cyan);
  color: #ffffff;
}

.quarto-title-meta {
  margin-top: 1.4rem;
  color: var(--muted-text);
  border-top: 1px solid var(--rule-grey);
  padding-top: 1rem;
}

.quarto-title-meta-heading {
  color: var(--hs-blue);
  font-weight: 700;
}

#TOC {
  margin: 0 0 2.4rem;
  padding: 1.35rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--rule-grey);
  border-left: 5px solid var(--hs-cyan);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(24, 81, 145, 0.08);
}

#TOC .toc-title,
#TOC h2 {
  margin-top: 0;
  color: var(--hs-blue);
  font-size: 1.2rem;
  font-weight: 750;
}

#TOC ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

#TOC li {
  margin: 0.22rem 0;
}

#TOC a {
  text-decoration: none;
}

section.level1,
section.level2,
section.level3 {
  scroll-margin-top: 1.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--hs-blue);
  font-weight: 750;
  letter-spacing: -0.015em;
}

h1 {
  margin-top: 2.6rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--hs-cyan);
  font-size: clamp(1.4rem, 1.8vw, 1.75rem);
}

h2 {
  margin-top: 2.1rem;
  font-size: 1.3rem;
}

h3,
h4 {
  margin-top: 1.65rem;
}

section.level3 {
  margin: 1.8rem 0 0;
  padding: 1rem 0 0.9rem;
  border-top: 1px solid var(--rule-grey);
}

section.level2 > p:first-of-type {
  margin: 0.95rem 0 1.35rem;
  padding: 1rem 1.15rem;
  background: var(--surface-tint);
  border: 1px solid var(--rule-grey);
  border-left: 5px solid var(--hs-cyan);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(24, 81, 145, 0.05);
}

.profile-card {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(135deg, rgba(24, 81, 145, 0.08), rgba(7, 161, 226, 0.08));
  border: 1px solid var(--rule-grey);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(24, 81, 145, 0.07);
}

.profile-card > :first-child {
  margin-top: 0;
}

.profile-card > :last-child {
  margin-bottom: 0;
}

.profile-card strong {
  color: var(--hs-blue);
}

.module-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.module-overview h2 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
}

.module-overview > .overview-card {
  padding: 1.25rem;
  border: 1px solid var(--rule-grey);
  border-top: 4px solid var(--hs-cyan);
  border-radius: 20px;
  background: var(--card-bg);
  box-shadow: 0 14px 34px rgba(24, 81, 145, 0.08);
}

.module-overview ul {
  padding-left: 0;
  list-style: none;
}

.module-overview li + li {
  margin-top: 0.45rem;
}

.module-overview a {
  font-weight: 700;
  text-decoration: none;
}

section.level3 + section.level3 {
  margin-top: 1.1rem;
}

section.level3 > h3:first-child {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

section.level3 h4 {
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

section.level3 h5 {
  margin-top: 0.55rem;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.module-fields {
  overflow: hidden;
  border: 1px solid var(--rule-grey);
  border-radius: 12px;
  background: var(--card-bg);
}

.module-field {
  display: grid;
  grid-template-columns: minmax(10rem, 22%) 1fr;
}

.module-field + .module-field {
  border-top: 1px solid var(--rule-grey);
}

.module-field-label {
  padding: 0.5rem 0.7rem;
  background: var(--surface-tint);
  color: var(--hs-blue);
  font-weight: 750;
  line-height: 1.3;
}

.module-field-label p,
.module-field-label .plain {
  margin: 0;
}

.module-field-content {
  min-width: 0;
  padding: 0.5rem 0.75rem;
  border-left: 1px solid var(--rule-grey);
}

.module-field-content > :first-child {
  margin-top: 0;
}

.module-field-content > :last-child {
  margin-bottom: 0;
}

.module-teaser-grid {
  display: block;
  margin: 1rem 0 1.2rem;
}

.module-teaser-card {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  padding: 0.95rem 1rem 1rem;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--rule-grey);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(24, 81, 145, 0.08);
  margin: 1.75rem 0 1rem;
}

.module-teaser-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--hs-cyan), var(--hs-blue));
}

.module-teaser-title {
  margin: 0 0 0.65rem;
  padding-left: 0.15rem;
  color: var(--hs-blue);
  font-size: 1.02rem;
  font-weight: 750;
  line-height: 1.25;
}

.module-teaser-title p,
.module-teaser-title .plain {
  margin: 0;
}

.module-teaser-item {
  font-size: 0.93rem;
  line-height: 1.45;
}

.module-teaser-item + .module-teaser-item {
  margin-top: 0.62rem;
}

.module-teaser-label {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.08rem 0.42rem 0.1rem;
  color: #ffffff;
  background: var(--hs-blue);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.module-teaser-text {
  color: var(--body-text);
}

.goal-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  min-height: 1.35rem;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 750;
  line-height: 1;
}

.goal-marker-a {
  background: var(--hs-cyan);
}

.goal-marker-b {
  background: var(--hs-blue);
}

.goal-marker-x {
  background: var(--muted-text);
}

section.level3 p,
section.level3 ul,
section.level3 ol {
  margin-top: 0;
  margin-bottom: 0.45rem;
}

section.level3 li + li {
  margin-top: 0.05rem;
}

section.level3 table {
  margin-top: 0.55rem;
  margin-bottom: 0.75rem;
}

section.level3 .table > :not(caption) > * > * {
  padding: 0.45rem 0.6rem;
}

p {
  margin-bottom: 0.75rem;
}

table {
  overflow: hidden;
  border: 1px solid var(--rule-grey);
  border-radius: 14px;
  background: var(--card-bg);
  box-shadow: 0 8px 22px rgba(24, 81, 145, 0.06);
}

.table > :not(caption) > * > * {
  padding: 0.65rem 0.8rem;
  border-bottom-color: var(--rule-grey);
}

.table thead th {
  background: var(--hs-blue);
  color: #ffffff;
  border-color: var(--hs-blue);
}

.table tbody tr:nth-child(even) {
  background: var(--surface-tint);
}

figure {
  margin: 1.5rem 0 2rem;
}

.figure-img,
img.img-fluid {
  border-radius: 12px;
}

figcaption,
.figure-caption {
  color: var(--muted-text);
  font-size: 0.9rem;
}

ul,
ol {
  padding-left: 1.35rem;
}

li + li {
  margin-top: 0.15rem;
}

.quarto-alternate-formats {
  background: var(--card-bg);
  border: 1px solid var(--rule-grey);
  border-radius: 14px;
  padding: 0.8rem 1rem;
}

.quarto-alternate-formats h2 {
  margin-top: 0;
  font-size: 1rem;
}

/* Visually hidden but still available to assistive technology.
   Quarto's section-divs wraps a heading's whole subtree in a <section> that
   inherits the heading's classes, so this must target the heading element
   itself (h3.module-anchor) rather than the bare .module-anchor class -
   otherwise the entire wrapping section (and all module content in it)
   would be hidden too. */

h3.module-anchor {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Breadcrumbs */

.breadcrumbs {
  margin: 0 0 0.9rem;
  color: var(--muted-text);
  font-size: 0.88rem;
}

.breadcrumbs a {
  color: var(--muted-text);
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus {
  color: var(--hs-cyan);
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  color: var(--hs-blue);
  font-weight: 700;
}

.breadcrumb-sep {
  margin: 0 0.15rem;
  color: var(--rule-grey);
}

/* Studienverlauf / phase navigation */

.phase-nav {
  margin: 0 0 1.5rem;
  padding: 0.9rem 1.1rem;
  background: var(--soft-blue);
  border: 1px solid var(--rule-grey);
  border-radius: 14px;
}

.phase-nav-label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--hs-blue);
  font-size: 0.85rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.phase-nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.phase-pill {
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(24, 81, 145, 0.25);
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--hs-blue);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.phase-pill:hover,
.phase-pill:focus {
  border-color: var(--hs-cyan);
  color: var(--hs-cyan);
}

.phase-pill-current {
  background: var(--hs-blue);
  border-color: var(--hs-blue);
  color: #ffffff;
}

.phase-pill-current:hover,
.phase-pill-current:focus {
  background: var(--hs-cyan);
  border-color: var(--hs-cyan);
  color: #ffffff;
}

/* Module type badge (Pflicht / Wahlpflicht) */

.module-badge {
  display: inline-block;
  padding: 0.14rem 0.6rem;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.module-badge-pflicht {
  background: var(--hs-blue);
}

.module-badge-wahl {
  background: #ba7c15;
}

/* Workload bar */

.workload-bar {
  display: flex;
  overflow: hidden;
  height: 0.6rem;
  margin-bottom: 0.4rem;
  border-radius: 999px;
  background: var(--rule-grey);
}

.workload-segment {
  height: 100%;
}

.workload-segment-praesenz {
  background: var(--hs-blue);
}

.workload-segment-selbst {
  background: var(--hs-cyan);
}

.workload-label {
  display: inline-flex;
  align-items: center;
  margin-right: 0.9rem;
  font-size: 0.85rem;
  color: var(--muted-text);
}

.workload-label::before {
  content: "";
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  margin-right: 0.35rem;
  border-radius: 999px;
}

.workload-label-praesenz::before {
  background: var(--hs-blue);
}

.workload-label-selbst::before {
  background: var(--hs-cyan);
}

/* Info box (e.g. "So liest du eine Modulbeschreibung") */

.info-box {
  margin: 1rem 0 1.5rem;
  padding: 1.1rem 1.25rem;
  background: var(--soft-blue);
  border: 1px solid var(--rule-grey);
  border-left: 5px solid var(--hs-blue);
  border-radius: 14px;
}

.info-box > :first-child {
  margin-top: 0;
}

.info-box > :last-child {
  margin-bottom: 0;
}

.info-box h4 {
  margin-top: 0;
  color: var(--hs-blue);
}

/* Glossary */

.glossary dt {
  margin-top: 1rem;
  color: var(--hs-blue);
  font-weight: 750;
}

.glossary dd {
  margin: 0.2rem 0 0;
}

/* Prüfungsordnung */

.po-overview .overview-card ul {
  columns: 2 22rem;
  column-gap: 2rem;
}

.po-overview .overview-card li {
  break-inside: avoid;
}

main.content > p {
  max-width: 82ch;
}

.page-nav + p,
.page-nav + p ~ p {
  text-align: justify;
}

/* Studienplan-Anlagen */

.annex-intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  margin: 0 0 1.6rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--rule-grey);
  border-radius: 18px;
  background: var(--card-bg);
  box-shadow: 0 12px 28px rgba(24, 81, 145, 0.07);
}

.annex-intro p {
  margin: 0;
}

.annex-intro p:last-child {
  grid-column: 1 / -1;
  color: var(--muted-text);
}

.study-plan-tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.2rem;
  border-bottom: 1px solid var(--rule-grey);
  padding-bottom: 0.75rem;
}

.study-plan-tab-button {
  border: 1px solid rgba(24, 81, 145, 0.18);
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--hs-blue);
  cursor: pointer;
  font-weight: 750;
  padding: 0.5rem 0.85rem;
}

.study-plan-tab-button[aria-selected="true"] {
  border-color: var(--hs-cyan);
  background: var(--hs-cyan);
  color: #ffffff;
}

.study-plan-variant {
  margin-top: 1.2rem;
}

.study-plan-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: 0.85rem;
  align-items: end;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid rgba(24, 81, 145, 0.14);
  border-radius: 16px;
  background: var(--surface-tint);
}

.study-plan-controls label,
.study-plan-search {
  display: grid;
  gap: 0.35rem;
  color: var(--muted-text);
  font-size: 0.9rem;
  font-weight: 700;
}

.study-plan-controls input,
.study-plan-controls select {
  width: 100%;
  min-width: 0;
  min-height: 2.4rem;
  border: 1px solid var(--rule-grey);
  border-radius: 10px;
  background: var(--card-bg);
  color: var(--body-text);
  padding: 0.45rem 0.65rem;
  font: inherit;
}

.study-plan-empty {
  padding: 1rem 1.15rem;
  border: 1px dashed var(--rule-grey);
  border-radius: 14px;
  color: var(--muted-text);
}

.semester-panel {
  margin: 1rem 0;
  background: transparent;
}

.study-plan-table-scroll {
  border: 1px solid var(--rule-grey);
  border-radius: 10px;
  background: #d9eaf7;
  overflow-x: auto;
}

.study-plan-table {
  width: 100%;
  min-width: 54rem;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.8rem;
  line-height: 1.22;
  margin: 0;
}

.study-plan-table th,
.study-plan-table td {
  border: 1px solid var(--rule-grey);
  padding: 0.24rem 0.32rem;
  vertical-align: top;
}

.study-plan-table thead th {
  background: #d9eaf7;
  color: var(--hs-blue);
  font-weight: 800;
  text-align: left;
}

.study-plan-col-module {
  width: 8%;
}

.study-plan-col-component {
  width: 40%;
}

.study-plan-col-load {
  width: 14%;
}

.study-plan-col-credits,
.study-plan-col-assessment {
  width: 7%;
}

.study-plan-col-requirements {
  width: 24%;
}

.study-plan-table col:nth-child(1) {
  width: 8% !important;
}

.study-plan-table col:nth-child(2) {
  width: 40% !important;
}

.study-plan-table col:nth-child(3) {
  width: 14% !important;
}

.study-plan-table col:nth-child(4) {
  width: 7% !important;
}

.study-plan-table col:nth-child(5) {
  width: 24% !important;
}

.study-plan-table col:nth-child(6) {
  width: 7% !important;
}

.study-plan-table th:nth-child(1),
.study-plan-table td:nth-child(1),
.study-plan-table th:nth-child(3),
.study-plan-table td:nth-child(3),
.study-plan-table th:nth-child(4),
.study-plan-table td:nth-child(4),
.study-plan-table th:nth-child(6),
.study-plan-table td:nth-child(6) {
  text-align: center;
}

.study-plan-table th:nth-child(1),
.study-plan-table td:nth-child(1) {
  width: 8%;
}

.study-plan-table th:nth-child(2),
.study-plan-table td:nth-child(2) {
  width: 40%;
}

.study-plan-table th:nth-child(3),
.study-plan-table td:nth-child(3) {
  width: 14%;
}

.study-plan-table th:nth-child(4),
.study-plan-table td:nth-child(4) {
  width: 7%;
}

.study-plan-table th:nth-child(5),
.study-plan-table td:nth-child(5) {
  width: 24%;
}

.study-plan-table th:nth-child(6),
.study-plan-table td:nth-child(6) {
  width: 7%;
}

.study-plan-semester-row th {
  background: var(--surface-tint);
  color: var(--hs-blue);
  text-align: left;
}

.study-plan-requirements {
  overflow-wrap: anywhere;
}

.study-plan-module-row th,
.study-plan-module-row td {
  background: #f2f6fa;
  color: var(--hs-blue);
  font-weight: 800;
}

.study-plan-component-row td:first-child {
  background: #fafcff;
}

.study-plan-total {
  margin: 1.2rem 0 2rem;
  padding: 0.85rem 1rem;
  border-left: 5px solid var(--hs-cyan);
  border-radius: 12px;
  background: var(--soft-blue);
  color: var(--hs-blue);
}

/* Dark mode */

body.quarto-dark {
  --hs-blue: #6badf0;
  --hs-cyan: #35c7f2;
  --body-text: #dde3ea;
  --rule-grey: #2e3a46;
  --page-bg: #101720;
  --card-bg: #17212c;
  --muted-text: #9aabb8;
  --sidebar-bg: #17212c;
  --soft-blue: #17293b;
  --surface-tint: #1b2733;
  --sidebar-text: #c4d0da;

  background: var(--page-bg);
  color: var(--body-text);
}

body.quarto-dark .module-badge,
body.quarto-dark .table thead th,
body.quarto-dark .page-nav a:hover,
body.quarto-dark .page-nav a:focus,
body.quarto-dark .phase-pill-current,
body.quarto-dark .goal-marker,
body.quarto-dark .module-teaser-label {
  color: #0e1620;
}

body.quarto-dark img.img-fluid,
body.quarto-dark .figure-img {
  background: #ffffff;
  border-radius: 12px;
  padding: 0.4rem;
}

body.quarto-dark .study-plan-table thead th {
  background: #23374b;
  color: #dbeeff;
}

body.quarto-dark .study-plan-module-row th,
body.quarto-dark .study-plan-module-row td {
  background: #1d2b39;
  color: #dbeeff;
}

body.quarto-dark .study-plan-component-row td:first-child {
  background: #17212c;
}

body.quarto-dark .study-plan-total {
  background: rgba(7, 161, 226, 0.16);
}

@media (max-width: 900px) {
  .annex-intro,
  .study-plan-controls {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 700px) {
  main.content {
    padding: 1rem 1rem 3rem;
  }

  #title-block-header,
  #TOC {
    border-radius: 16px;
    padding: 1.2rem;
  }

  .quarto-title-meta {
    display: block;
  }

  .module-field {
    display: block;
  }

  .module-field-content {
    border-left: 0;
    border-top: 1px solid var(--rule-grey);
  }

}
