:root {
  --ink: #183b33;
  --muted: #62736b;
  --paper: #f8f7f1;
  --white: #fffefa;
  --line: #dce1d5;
  --green: #235e49;
  --deep: #123c36;
  --gold: #8e6f3b;
  --container: 1200px;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
body {
  margin: 0;
  min-width: 320px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
img,
svg {
  display: block;
  max-width: 100%;
}
p,
h1,
h2,
h3,
figure {
  margin: 0;
}
p {
  line-height: 1.8;
}
button,
a,
input {
  outline-offset: 5px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid #a9833f;
}
a,
button {
  transition:
    color 0.2s,
    background 0.2s,
    transform 0.2s,
    border-color 0.2s;
}
::selection {
  background: #d9e7c7;
  color: #153c33;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(calc(100% - 96px), var(--container));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -70px;
  left: 20px;
  padding: 12px 20px;
  background: var(--deep);
  color: white;
  z-index: 200;
}
.skip-link:focus {
  top: 10px;
}
.kicker {
  font:
    11px/1.6 "SFMono-Regular",
    Consolas,
    monospace;
  letter-spacing: 0.13em;
  color: var(--green);
  margin-bottom: 22px;
}
.kicker-line {
  display: inline-block;
  width: 27px;
  height: 1px;
  vertical-align: middle;
  background: var(--gold);
  margin-right: 9px;
}
h1,
h2 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(42px, 4.5vw, 66px);
  line-height: 1.21;
}
h2 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.4;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
  padding-bottom: 6px;
  border-bottom: 1px solid #adbda9;
}
.text-link:hover {
  color: #91703a;
  border-color: #91703a;
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  min-height: 50px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  border: 0;
  border-radius: 3px;
}
.button.primary {
  background: var(--green);
  color: #fffdf0;
}
.button.primary:hover {
  background: #174e39;
  transform: translateY(-2px);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 247, 241, 0.96);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(calc(100% - 72px), 1320px);
  min-height: 86px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  background: var(--deep);
  color: #e9d8a7;
  border-radius: 4px;
}
.brand-mark svg {
  width: 35px;
}
.brand-copy {
  display: grid;
  gap: 6px;
}
.brand-copy strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.brand-copy small {
  font-size: 9px;
  letter-spacing: 0.105em;
  color: var(--muted);
}
.site-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 13px;
}
.site-nav > a {
  padding: 11px 0;
  position: relative;
  white-space: nowrap;
}
.site-nav > a[aria-current] {
  color: var(--green);
  font-weight: 600;
}
.site-nav > a[aria-current]:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--gold);
}
.site-nav > a:hover {
  color: var(--gold);
}
.site-nav .nav-canvas {
  border: 1px solid #bfcdbb;
  padding: 10px 14px;
  border-radius: 3px;
  display: flex;
  gap: 22px;
}
.site-nav .nav-canvas:hover {
  background: #eaf0e1;
}
.hero-wrap {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 22% 55%, #edf0e1 0, transparent 64%);
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 55px;
  align-items: center;
  padding: 62px 0 66px;
}
.course-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  border: 1px solid #cdd8c1;
  background: #f4f6eb;
  padding: 5px 9px;
  border-radius: 2px;
  margin-bottom: 23px;
}
.course-label span {
  color: var(--gold);
  padding-left: 12px;
  border-left: 1px solid #ccd3bf;
}
.hero h1 {
  font-size: clamp(44px, 4.65vw, 67px);
  letter-spacing: 0.03em;
}
.hero h1 > span {
  color: var(--green);
}
.hero h1 em {
  font-family: Georgia, serif;
  color: var(--gold);
  font-style: normal;
  font-weight: 400;
  margin-left: 7px;
}
.hero-en {
  font:
    14px/1.5 Georgia,
    serif;
  color: var(--gold);
  margin-top: 16px;
  letter-spacing: 0.02em;
}
.hero-lead {
  font-size: 15px;
  line-height: 1.85;
  color: #53695d;
  margin-top: 22px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 29px;
}
.hero-plate {
  background: var(--deep);
  color: #d8dfc7;
  border-radius: 6px;
  position: relative;
  box-shadow: 15px 20px 0 #e8eadc;
  min-width: 0;
  border: 1px solid #2d5244;
  overflow: hidden;
  margin: 0;
}
.plate-heading {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 26px 25px 0;
  font: 9px/1.5 monospace;
  letter-spacing: 0.12em;
}
.plate-heading > span:last-child {
  margin-left: auto;
  color: #90ac9a;
  font-size: 8px;
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c2cc83;
  box-shadow: 0 0 0 4px #c2cc8310;
}
.hero-plate img {
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
}
.hero-plate figcaption {
  margin: 0 26px;
  padding: 19px 0 23px;
  border-top: 1px solid #547a624f;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #d2ddc9;
}
.hero-plate figcaption small {
  font-size: 10px;
  color: #8db09a;
}
.course-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f0f2e9;
}
.strip-inner {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr 1.75fr 0.82fr 0.82fr;
  grid-template-areas: "code lead lecturers hours credits";
  padding-block: 25px;
  gap: 20px;
  align-items: center;
}
.strip-code { grid-area: code; }
.strip-lead { grid-area: lead; }
.strip-lecturers { grid-area: lecturers; }
.strip-hours { grid-area: hours; }
.strip-credits { grid-area: credits; }
.strip-lecturers strong {
  display: grid;
  gap: 3px;
  line-height: 1.55;
}
.strip-inner > div {
  display: grid;
  gap: 7px;
}
.strip-inner > div > span {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.strip-inner strong {
  font-size: 12px;
  font-weight: 500;
}
.strip-inner > a {
  display: flex;
  align-items: center;
  gap: 16px;
  border-left: 1px solid #d5dccd;
  padding-left: 25px;
}
.strip-inner b {
  font:
    38px/1 Georgia,
    serif;
  color: var(--green);
}
.strip-inner > a span {
  font-size: 11px;
  line-height: 1.8;
}
.strip-inner i {
  font-style: normal;
  color: var(--gold);
  margin-left: 4px;
}
.band {
  padding: 86px 0 90px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
}
.section-head .kicker {
  margin-bottom: 13px;
}
.section-summary {
  max-width: 375px;
}
.section-summary p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.home-labs {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 24px;
}
.lab-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.lab-card:hover {
  border-color: #8caa8f;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px #193b3210;
}
.lab-art {
  height: 150px;
  background: #eaf0e3;
  position: relative;
  color: #547966;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e0e6d8;
  background-image:
    linear-gradient(#71896a08 1px, transparent 1px),
    linear-gradient(90deg, #71896a08 1px, transparent 1px);
  background-size: 22px 22px;
}
.lab-art svg {
  height: 110px;
  width: 210px;
}
.lab-art text {
  fill: currentColor;
  stroke: none;
  font:
    20px Georgia,
    serif;
}
.lab-no {
  position: absolute;
  left: 19px;
  top: 16px;
  font:
    26px Georgia,
    serif;
  color: #64846b;
}
.lab-tag {
  position: absolute;
  right: 17px;
  top: 18px;
  font-size: 10px;
  letter-spacing: 0.05em;
  color: #496852;
}
.lab-copy {
  padding: 23px 24px 17px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.lab-copy h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 10px;
}
.lab-copy p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}
.lab-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #e8e9de;
  padding-top: 13px;
  margin-top: auto;
  font-size: 11px;
  color: #6a766b;
}
.card-arrow {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  background: #edf1e5;
  border-radius: 50%;
  font-size: 16px;
  color: var(--green);
}
.featured .lab-art {
  height: 210px;
}
.featured .lab-art svg {
  width: 300px;
  height: 165px;
}
.featured .lab-copy h3 {
  font-size: 23px;
}
.featured .lab-copy p {
  font-size: 14px;
}
.lab-shortcuts {
  display: grid;
}
.lab-shortcuts > a {
  display: flex;
  align-items: center;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding: 22px 8px;
}
.lab-shortcuts > a:last-child {
  border-bottom: 1px solid var(--line);
}
.shortcut-no {
  font:
    32px Georgia,
    serif;
  color: #9baf94;
  align-self: flex-start;
  margin-top: 15px;
}
.lab-shortcuts small {
  font-size: 10px;
  color: var(--gold);
}
.lab-shortcuts h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 5px 0 7px;
}
.lab-shortcuts p {
  font-size: 12px;
  color: var(--muted);
}
.shortcut-arrow {
  margin-left: auto;
  font-size: 24px;
  color: var(--green);
}
.lab-shortcuts > a:hover {
  background: #eef1e5;
}
.map-band {
  padding: 78px 0 85px;
  background: #e9eee1;
  border-top: 1px solid #d9e0d1;
  border-bottom: 1px solid #d9e0d1;
}
.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #d0dac8;
  border: 1px solid #d0dac8;
}
.theme-card {
  background: #eef2e7;
  padding: 28px;
  min-width: 0;
  position: relative;
}
.theme-no {
  display: block;
  font:
    28px Georgia,
    serif;
  color: #6c8a67;
  margin-bottom: 22px;
}
.theme-card small {
  display: block;
  font: 9px/1.5 monospace;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 9px;
}
.theme-card h3 {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 9px;
}
.theme-card p {
  font-size: 12px;
  line-height: 1.8;
  color: #617360;
}
.canvas-banner {
  margin-block: 64px;
  padding: 36px 44px;
  background: var(--deep);
  color: #f4efda;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.canvas-banner:after {
  content: "";
  width: 250px;
  height: 250px;
  border: 1px solid #acc4a91a;
  border-radius: 50%;
  position: absolute;
  right: 110px;
  top: -150px;
  box-shadow:
    0 0 0 35px #acc4a909,
    0 0 0 70px #acc4a906;
  pointer-events: none;
}
.canvas-banner .kicker {
  color: #bbceae;
  margin-bottom: 8px;
}
.canvas-banner h2 {
  font-size: 29px;
}
.canvas-banner p:not(.kicker) {
  color: #bdcfba;
  font-size: 12px;
  margin-top: 9px;
}
.canvas-banner .button {
  background: #e7d7a8;
  color: var(--deep);
  position: relative;
  z-index: 1;
}
.canvas-banner .button:hover {
  background: #f7e5b5;
}
.page-hero {
  padding-top: 65px;
  padding-bottom: 43px;
}
.page-hero h1 {
  font-size: clamp(38px, 4.4vw, 60px);
}
.page-hero h1 span {
  color: var(--green);
}
.page-hero .lead {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 21px;
}
.page-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.lab-hero-symbol {
  display: grid;
  grid-template-columns: auto auto;
  gap: 12px 22px;
  align-items: center;
  border: 1px solid #c9d5bf;
  padding: 28px 38px;
  background: #eff2e6;
  color: #6c8261;
  position: relative;
  border-radius: 50% 50% 3px 3px;
}
.lab-hero-symbol > span {
  font:
    italic 90px/1.2 Georgia,
    serif;
  color: var(--gold);
}
.lab-hero-symbol > div {
  font: 9px/1.9 monospace;
  letter-spacing: 0.09em;
}
.lab-hero-symbol small {
  grid-column: 1/-1;
  font: 8px monospace;
  letter-spacing: 0.12em;
  text-align: center;
  color: var(--green);
}
.catalog {
  padding-bottom: 70px;
}
.lab-tools {
  display: none;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.enhanced .lab-tools {
  display: flex;
}
.lab-filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.lab-filters button {
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: #536a5c;
  font-size: 12px;
  padding: 9px 12px;
}
.lab-filters button[aria-pressed="true"] {
  background: var(--deep);
  color: #f3f4df;
}
.lab-filters button:hover {
  border-color: #a9b89b;
}
.lab-filters button span {
  font-size: 10px;
  padding-left: 8px;
  opacity: 0.7;
}
.lab-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ced8c3;
  border-radius: 3px;
  background: var(--white);
  padding: 7px 12px;
}
.lab-search > span {
  font-size: 23px;
  line-height: 1;
  color: var(--green);
}
.lab-search input {
  border: 0;
  background: transparent;
  width: 204px;
  min-width: 0;
  font-size: 11px;
  color: var(--ink);
  padding: 4px;
}
.lab-search input::placeholder {
  color: #788574;
}
.catalog-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 16px;
}
.lab-group {
  margin-top: 42px;
}
.group-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.group-head > div {
  display: flex;
  gap: 16px;
  align-items: center;
}
.group-index {
  font:
    italic 23px Georgia,
    serif;
  color: var(--gold);
}
.group-head h2 {
  font-size: 24px;
  letter-spacing: 0;
}
.group-head p {
  font-size: 12px;
  color: var(--muted);
}
.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.catalog-note {
  margin-top: 42px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.empty-state {
  padding: 70px 25px;
  text-align: center;
}
.empty-state h2 {
  font-size: 24px;
}
.empty-state p {
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0 22px;
}
.outline-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 70px;
  padding-bottom: 82px;
  padding-top: 10px;
}
.outline-aside {
  position: sticky;
  top: 120px;
  align-self: start;
}
.outline-aside .kicker {
  padding-top: 25px;
  border-top: 1px solid #b6c4a9;
  margin-bottom: 10px;
}
.outline-aside nav {
  display: grid;
  font-size: 12px;
  gap: 0;
  margin-bottom: 30px;
}
.outline-aside nav a {
  padding: 10px 0;
  color: #4b6657;
}
.outline-aside nav a:hover {
  color: var(--gold);
}
.outline-facts {
  padding: 22px;
  background: #edf1e6;
  display: grid;
  gap: 7px;
  border: 1px solid #dbe2d1;
  border-radius: 3px;
}
.outline-facts > span {
  font-size: 10px;
  color: var(--muted);
  margin-top: 13px;
}
.outline-facts > span:first-child {
  margin-top: 0;
}
.outline-facts > strong {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.9;
}
.outline-facts .text-link {
  font-size: 11px;
  margin-top: 19px;
  justify-self: start;
}
.syllabus {
  min-width: 0;
  border-top: 1px solid #b6c4a9;
}
.syllabus-section {
  padding: 29px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.syllabus-no {
  font: 11px monospace;
  letter-spacing: 0.13em;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.syllabus-section h2 {
  font-size: 26px;
  margin-bottom: 18px;
}
.syllabus-section p {
  font-size: 15px;
  color: #435c4d;
  line-height: 2.1;
  text-align: justify;
}
.syllabus-section .en {
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.9;
  text-align: left;
}
.syllabus-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  padding-top: 25px;
}
.syllabus-note a {
  color: var(--green);
  border-bottom: 1px solid #a3b393;
}
.course-facts, .schedule-detail, .requirement-list {
  margin: 0;
}
.course-facts > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.9;
}
.course-facts dt, .schedule-detail dt {
  color: var(--muted);
}
.course-facts dd, .schedule-detail dd, .requirement-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.objective-list, .demo-mapping {
  padding-left: 24px;
  color: #435c4d;
  font-size: 15px;
  line-height: 2;
}
.objective-list li, .demo-mapping li {
  padding-left: 6px;
  margin-bottom: 16px;
}
.syllabus-section .hours-note {
  padding: 16px 20px;
  border-left: 3px solid var(--gold);
  background: #f0f2e9;
  font-size: 13px;
}
.schedule-list {
  list-style: none;
  padding: 0;
  margin: 25px 0 0;
  border-top: 1px solid var(--line);
}
.schedule-list li {
  border-bottom: 1px solid var(--line);
}
.schedule-list summary {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 4px;
  font-size: 14px;
  line-height: 1.8;
  cursor: pointer;
  list-style: none;
}
.schedule-list summary::-webkit-details-marker {
  display: none;
}
.schedule-list summary::after {
  content: "+";
  color: var(--green);
  font-size: 20px;
  flex-shrink: 0;
}
.schedule-list details[open] summary::after {
  content: "−";
}
.schedule-number {
  font: 12px monospace;
  color: var(--gold);
  flex-shrink: 0;
}
.schedule-hours {
  margin-left: auto;
  color: var(--muted);
  white-space: nowrap;
  font-size: 12px;
}
.schedule-detail {
  padding: 0 16px 20px 34px;
  font-size: 13px;
  line-height: 1.9;
}
.schedule-detail > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0;
}
.syllabus-details {
  margin-top: 24px;
  padding: 16px 20px;
  background: #f0f2e9;
  border: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.9;
}
.syllabus-details summary {
  cursor: pointer;
  color: var(--green);
}
.requirement-list > div {
  padding-top: 18px;
}
.requirement-list dt {
  margin-bottom: 6px;
  font-weight: 600;
}
.grading-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 25px 0;
}
.grading-grid > div {
  padding: 22px 16px;
  border: 1px solid var(--line);
  background: #f0f2e9;
}
.grading-grid strong {
  color: var(--green);
  font: 40px Georgia, serif;
}
.grading-grid strong span {
  font: 12px sans-serif;
  margin-left: 5px;
}
.grading-grid h3 {
  margin: 12px 0 4px;
  font-size: 15px;
}
.grading-grid p {
  font-size: 12px;
  margin: 0;
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  margin-top: 20px;
}
.syllabus-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 12px;
  text-align: center;
}
.syllabus-table caption {
  text-align: left;
  margin-bottom: 10px;
}
.syllabus-table td, .syllabus-table th {
  padding: 12px 8px;
  border: 1px solid #cbd4c4;
}
.syllabus-table thead {
  background: #e2e9db;
}
.syllabus-section .table-note {
  font-size: 12px;
  margin-top: 14px;
}
.textbook-card {
  border: 1px solid var(--line);
  padding: 24px;
  margin-bottom: 24px;
}
.textbook-card h3 {
  font-size: 24px;
  margin: 12px 0;
}
.textbook-card .isbn {
  font-size: 13px;
  overflow-wrap: anywhere;
}
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.site-footer {
  background: #f0f1e8;
  border-top: 1px solid var(--line);
  padding: 38px 0 22px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.footer-brand {
  display: flex;
  gap: 15px;
  align-items: center;
}
.footer-brand > svg {
  width: 43px;
  color: var(--green);
}
.footer-brand strong {
  font-size: 14px;
  font-weight: 500;
}
.footer-brand p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.footer-links {
  display: flex;
  gap: 25px;
  align-items: center;
  font-size: 11px;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-top: 23px;
  margin-top: 25px;
  border-top: 1px solid #d7dece;
  color: #7c8a76;
  font: 8px/1.6 monospace;
  letter-spacing: 0.08em;
}
.footer-bottom > span:last-child {
  font-size: 10px;
  letter-spacing: 0.03em;
}
@media (min-width: 1450px) {
  .hero {
    padding-block: 78px;
  }
  .hero h1 {
    font-size: 70px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 30px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-actions {
    gap: 17px;
  }
  .hero-actions .button {
    gap: 20px;
  }
  .header-inner {
    width: calc(100% - 48px);
  }
  .site-nav {
    gap: 19px;
  }
  .strip-inner {
    grid-template-columns: 1.15fr 1.35fr 0.9fr;
    grid-template-areas:
      "code lead hours"
      "lecturers lecturers lecturers";
    row-gap: 16px;
  }
  .strip-inner > a.strip-credits {
    display: none;
  }
  .strip-lecturers {
    padding-top: 14px;
    border-top: 1px solid #d5dccd;
  }
  .lab-tools {
    justify-content: flex-start;
  }
  .lab-search {
    width: 100%;
    max-width: 330px;
  }
  .lab-search input {
    flex: 1;
  }
  .outline-layout {
    gap: 42px;
    grid-template-columns: 220px 1fr;
  }
  .lab-copy {
    padding: 20px;
  }
  .footer-links {
    gap: 16px;
  }
}
@media (max-width: 820px) {
  .header-inner {
    min-height: 76px;
  }
  .brand-copy small {
    font-size: 8px;
  }
  .brand-copy strong {
    font-size: 14px;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .site-nav {
    gap: 17px;
    font-size: 12px;
  }
  .site-nav .nav-canvas {
    gap: 12px;
    padding: 8px 10px;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding: 44px 0 48px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero .kicker {
    font-size: 9px;
  }
  .hero-en {
    font-size: 12px;
  }
  .hero-lead {
    font-size: 13px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .hero-plate figcaption {
    display: block;
    font-size: 10px;
    padding: 15px 0;
  }
  .hero-plate figcaption small {
    display: block;
    margin-top: 6px;
  }
  .plate-heading {
    padding: 21px 16px 0;
    font-size: 8px;
  }
  .plate-heading > span:last-child {
    display: none;
  }
  .hero-plate {
    box-shadow: 8px 11px 0 #e8eadc;
  }
  .strip-inner {
    gap: 15px;
  }
  .strip-inner > a {
    padding-left: 17px;
    gap: 12px;
  }
  .strip-inner strong {
    font-size: 11px;
  }
  .strip-inner b {
    font-size: 32px;
  }
  .band {
    padding-block: 60px;
  }
  .section-head {
    gap: 25px;
  }
  .section-summary {
    max-width: 300px;
  }
  .section-summary p {
    font-size: 12px;
  }
  .home-labs {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .lab-shortcuts > a {
    gap: 14px;
    padding: 15px 5px;
  }
  .lab-shortcuts h3 {
    font-size: 15px;
  }
  .lab-shortcuts p {
    font-size: 11px;
  }
  .shortcut-no {
    font-size: 26px;
  }
  .featured .lab-art {
    height: 190px;
  }
  .featured .lab-copy h3 {
    font-size: 20px;
  }
  .featured .lab-copy p {
    font-size: 12px;
  }
  .theme-card {
    padding: 22px;
  }
  .theme-card h3 {
    font-size: 17px;
  }
  .theme-card small {
    font-size: 8px;
  }
  .theme-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .canvas-banner {
    padding: 30px;
    margin-block: 48px;
  }
  .footer-inner {
    flex-direction: column;
  }
  .footer-links {
    gap: 25px;
  }
  .lab-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .group-head {
    align-items: start;
  }
  .group-head p {
    max-width: 230px;
  }
  .outline-layout {
    grid-template-columns: 180px 1fr;
    gap: 30px;
  }
  .outline-facts {
    padding: 17px;
  }
  .syllabus-section p {
    font-size: 14px;
  }
}
@media (max-width: 620px) {
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    width: calc(100% - 32px);
    flex-wrap: wrap;
    padding: 13px 0 0;
    gap: 8px;
  }
  .brand {
    gap: 10px;
  }
  .brand-copy small {
    font-size: 8px;
    letter-spacing: 0.09em;
  }
  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    padding: 0 2px 10px;
  }
  .site-nav > a {
    padding: 8px 0;
  }
  .site-nav .nav-canvas {
    padding: 7px 11px;
    font-size: 11px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 32px;
    gap: 34px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero .kicker {
    font-size: 10px;
    margin-bottom: 20px;
  }
  .course-label {
    margin-bottom: 17px;
  }
  .hero-en {
    font-size: 13px;
  }
  .hero-lead {
    font-size: 14px;
    margin-top: 19px;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 23px;
  }
  .hero-actions .button {
    gap: 24px;
    font-size: 12px;
    padding: 13px 16px;
  }
  .hero-actions .text-link {
    font-size: 12px;
    gap: 12px;
  }
  .hero-plate {
    margin-right: 8px;
  }
  .plate-heading {
    font-size: 9px;
    padding: 24px 23px 0;
  }
  .plate-heading > span:last-child {
    display: none;
  }
  .hero-plate figcaption {
    display: block;
    margin-inline: 22px;
    font-size: 10px;
  }
  .hero-plate figcaption small {
    display: block;
    margin: 4px 0 0;
    font-size: 9px;
  }
  .strip-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "code code"
      "lead hours"
      "lecturers lecturers";
    padding: 23px 0;
    gap: 18px 16px;
  }
  .strip-inner > div > span {
    font-size: 9px;
  }
  .strip-inner strong {
    font-size: 11px;
  }
  .strip-inner > a {
    border-left: 1px solid #d1dac8;
    padding-left: 15px;
    gap: 10px;
  }
  .strip-inner > a.strip-credits {
    display: none;
  }
  .strip-inner b {
    font-size: 31px;
  }
  .strip-inner > a span {
    font-size: 10px;
  }
  .section-head {
    display: block;
    margin-bottom: 26px;
  }
  .section-head h2 {
    font-size: 33px;
  }
  .section-summary {
    margin-top: 22px;
    max-width: none;
  }
  .section-summary p {
    font-size: 13px;
    margin-bottom: 13px;
  }
  .section-summary .text-link {
    font-size: 12px;
  }
  .home-labs {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .featured .lab-art {
    height: 180px;
  }
  .featured .lab-copy h3 {
    font-size: 22px;
  }
  .featured .lab-copy p {
    font-size: 13px;
  }
  .lab-shortcuts > a {
    padding: 22px 0;
    gap: 19px;
  }
  .lab-shortcuts h3 {
    font-size: 17px;
  }
  .lab-shortcuts p {
    font-size: 12px;
  }
  .theme-card {
    padding: 23px 18px;
  }
  .theme-card h3 {
    font-size: 16px;
  }
  .theme-card p {
    font-size: 11px;
  }
  .theme-no {
    font-size: 26px;
    margin-bottom: 17px;
  }
  .theme-card small {
    font-size: 7px;
    letter-spacing: 0.03em;
  }
  .map-band {
    padding: 55px 0;
  }
  .canvas-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 26px;
    gap: 23px;
  }
  .canvas-banner h2 {
    font-size: 28px;
  }
  .canvas-banner p:not(.kicker) {
    font-size: 12px;
  }
  .canvas-banner .button {
    font-size: 12px;
  }
  .page-hero {
    padding-top: 38px;
    padding-bottom: 35px;
  }
  .page-hero h1 {
    font-size: 42px;
  }
  .page-hero .kicker {
    font-size: 9px;
    margin-bottom: 17px;
  }
  .page-hero .lead {
    font-size: 13px;
    margin-top: 20px;
  }
  .lab-hero-symbol {
    display: none;
  }
  .lab-tools {
    padding: 16px 0;
    gap: 14px;
  }
  .lab-filters {
    gap: 4px;
  }
  .lab-filters button {
    font-size: 11px;
    padding: 8px 9px;
  }
  .lab-search {
    max-width: none;
    width: 100%;
  }
  .lab-search input {
    font-size: 12px;
  }
  .catalog-meta {
    font-size: 10px;
    margin-top: 13px;
  }
  .lab-group {
    margin-top: 32px;
  }
  .group-head {
    display: block;
    margin-bottom: 18px;
  }
  .group-head h2 {
    font-size: 22px;
  }
  .group-head p {
    max-width: none;
    font-size: 11px;
    margin-top: 9px;
  }
  .group-index {
    font-size: 20px;
  }
  .lab-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .lab-card:not(.featured) {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
  }
  .lab-card:not(.featured) .lab-art {
    height: 100%;
    min-height: 170px;
    border-bottom: 0;
    border-right: 1px solid #dfe7d6;
    overflow: hidden;
  }
  .lab-card:not(.featured) .lab-art svg {
    width: 130px;
    max-width: none;
    flex-shrink: 0;
    height: 100px;
    transform: rotate(-7deg);
    margin-top: 15px;
    opacity: 0.8;
  }
  .lab-card:not(.featured) .lab-no {
    font-size: 24px;
    left: 13px;
    top: 12px;
  }
  .lab-card:not(.featured) .lab-tag {
    font-size: 8px;
    right: auto;
    top: auto;
    bottom: 15px;
    left: 13px;
  }
  .lab-card:not(.featured) .lab-copy {
    padding: 16px 17px 13px;
  }
  .lab-card:not(.featured) .lab-copy h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }
  .lab-card:not(.featured) .lab-copy p {
    font-size: 11px;
    line-height: 1.8;
    margin-bottom: 13px;
  }
  .lab-bottom {
    font-size: 9px;
    padding-top: 8px;
  }
  .card-arrow {
    width: 23px;
    height: 23px;
    font-size: 13px;
  }
  .catalog-note {
    font-size: 11px;
    margin-top: 30px;
  }
  .outline-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 55px;
    padding-top: 0;
  }
  .outline-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }
  .outline-aside .kicker {
    grid-column: 1/-1;
  }
  .outline-aside nav {
    margin-bottom: 0;
    align-self: start;
    font-size: 11px;
  }
  .outline-facts {
    font-size: 11px;
  }
  .outline-facts strong {
    font-size: 11px;
  }
  .outline-facts .text-link {
    font-size: 10px;
  }
  .syllabus-section h2 {
    font-size: 24px;
  }
  .syllabus-section p {
    font-size: 14px;
    line-height: 2;
  }
  .syllabus-section .en {
    font-size: 15px;
  }
  .footer-brand strong {
    font-size: 13px;
  }
  .footer-brand p {
    font-size: 9px;
  }
  .footer-links {
    flex-wrap: wrap;
    font-size: 10px;
    gap: 15px 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    font-size: 7px;
  }
  .footer-bottom > span:last-child {
    font-size: 9px;
  }
  .site-footer {
    padding-top: 28px;
  }
  .footer-inner {
    gap: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 600px) {
  .outline-aside {
    position: static;
    display: block;
  }
  .outline-aside nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 12px;
    margin-bottom: 20px;
  }
  .course-facts > div {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    font-size: 13px;
  }
  .schedule-list summary {
    gap: 9px;
    font-size: 13px;
  }
  .schedule-detail {
    padding: 0 5px 20px 25px;
  }
  .schedule-detail > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .grading-grid {
    gap: 8px;
  }
  .grading-grid > div {
    padding: 16px 10px;
  }
  .syllabus-details {
    padding: 14px;
  }
}
