:root {
  color-scheme: dark;
  --bg: #070b12;
  --panel: #0b111c;
  --panel-2: #101827;
  --panel-3: #162238;
  --line: #25324a;
  --line-bright: #3e5276;
  --text: #f6f9ff;
  --muted: #c1cce0;
  --muted-2: #91a3bf;
  --cyan: #50e6ff;
  --math: #50e6ff;
  --physics: #ffd15a;
  --both: #a982ff;
  --mentor: #68efff;
  --collaborator: #ffd36a;
  --influence: #b58cff;
  --paper: #0b111c;
  --paper-text: #f0f4fc;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  min-width: 320px;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.45;
}
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible { outline: 2px solid rgba(32, 215, 236, .75); outline-offset: 2px; }
[hidden] { display: none !important; }

.app {
  height: 100dvh;
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  background: var(--bg);
}

.sidebar {
  z-index: 31;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 18px 14px 15px;
  border-right: 1px solid var(--line-bright);
  background: #090f18;
}
.main-shell {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: 62px 54px minmax(0, 1fr) 96px;
}
.app[data-view="genealogy"] .main-shell { grid-template-rows: 62px minmax(0, 1fr); }
.app[data-view="genealogy"] .controlbar,
.app[data-view="genealogy"] .time-overview { display: none; }

.topbar {
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #080d15;
}
.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  color: var(--cyan);
  background: #101c2e;
  font-family: var(--sans);
  font-size: 21px;
  font-style: italic;
}
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .08em;
}
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 11px; letter-spacing: .14em; }

.sidebar .brand { padding: 0 6px 18px; border-bottom: 1px solid var(--line); }
.sidebar .brand-copy strong { font-size: 17px; letter-spacing: .04em; }
.sidebar .brand-copy small { max-width: 160px; font-size: 9px; line-height: 1.45; letter-spacing: .08em; }
.sidebar-label { color: var(--muted-2); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.primary-nav { display: grid; gap: 5px; margin-top: 20px; }
.primary-nav > .sidebar-label { margin: 0 8px 6px; }
.nav-item {
  width: 100%;
  min-height: 53px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}
.nav-item:hover { color: var(--text); background: #111b2a; }
.nav-item.active { border-color: #4b6082; background: #18263d; color: #ffffff; }
.nav-index { color: #7185a4; font-family: var(--sans); font-size: 11px; }
.nav-item.active .nav-index { color: var(--cyan); }
.nav-item > span:last-child { min-width: 0; display: grid; gap: 2px; }
.nav-item strong { font-size: 13px; font-weight: 650; }
.nav-item small { overflow: hidden; color: var(--muted-2); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-courses { min-height: 0; margin-top: 24px; display: flex; flex: 1; flex-direction: column; }
.sidebar-courses > header { display: flex; align-items: baseline; justify-content: space-between; padding: 0 8px 8px; }
.sidebar-courses > header small { color: #71819a; font-size: 9px; }
.sidebar-course-list { min-height: 0; display: grid; align-content: start; gap: 3px; overflow: auto; scrollbar-width: thin; scrollbar-color: #3e4d68 transparent; }
.sidebar-course {
  width: 100%;
  min-height: 37px;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}
.sidebar-course:hover { color: var(--text); background: #111b2a; }
.sidebar-course.active { border-color: #654fa0; background: #251f3e; color: #ffffff; }
.sidebar-course span { color: #7587a4; font-family: var(--sans); font-size: 10px; }
.sidebar-course.active span { color: #c7b2ff; }
.sidebar-course strong { overflow: hidden; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-course small { color: #7f8fa9; font-size: 9px; white-space: nowrap; }
.sidebar-footnote { margin: 14px 7px 0; color: #71819a; font-size: 9px; line-height: 1.55; }

.search-wrap { position: relative; width: min(720px, 70vw); }
.search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.search-wrap input {
  width: 100%;
  height: 38px;
  padding: 0 44px;
  border: 1px solid var(--line-bright);
  border-radius: 7px;
  background: #202632;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.search-wrap input::placeholder { color: #8fa0ba; }
.search-wrap input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(32, 215, 236, .08); outline: 0; }
.kbd {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-2);
  font-size: 12px;
}
.header-note { color: var(--muted-2); font-size: 11px; white-space: nowrap; }

.controlbar {
  z-index: 22;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 14px;
  border-bottom: 1px solid var(--line-bright);
  background: #0b111c;
  overflow: visible;
}
.segmented {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line-bright);
  border-radius: 7px;
  background: #080d16;
}
.segment {
  min-height: 32px;
  padding: 0 13px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.segment:hover { color: var(--text); }
.segment.active { color: #ffffff; background: #25395c; box-shadow: inset 0 0 0 1px #6282b4; }
.main-view-switch { flex: 0 0 auto; }
.control-label { color: var(--muted-2); font-size: 11px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.range-summary {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.range-summary strong { color: var(--text); font-family: var(--sans); font-size: 15px; font-weight: 500; white-space: nowrap; }
.range-summary > span:last-child { color: var(--muted-2); font-size: 10px; white-space: nowrap; }
.dual-range {
  --range-start: 0%;
  --range-end: 100%;
  position: relative;
  min-width: 150px;
  height: 28px;
}
.dual-range::before, .dual-range .range-fill {
  content: "";
  position: absolute;
  top: 12px;
  height: 4px;
  border-radius: 999px;
}
.dual-range::before { left: 0; right: 0; background: #183b51; }
.dual-range .range-fill {
  left: var(--range-start);
  right: calc(100% - var(--range-end));
  background: var(--cyan);
}
.dual-range input[type="range"] {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 28px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  pointer-events: none;
}
.dual-range input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: transparent; }
.dual-range input[type="range"]::-webkit-slider-thumb {
  width: 15px;
  height: 15px;
  margin-top: -5.5px;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid #d7fbff;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(32,215,236,.14);
  cursor: grab;
  pointer-events: auto;
}
.dual-range input[type="range"]::-moz-range-track { height: 4px; background: transparent; }
.dual-range input[type="range"]::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 2px solid #d7fbff;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(32,215,236,.14);
  cursor: grab;
  pointer-events: auto;
}
.filter-menu { position: relative; margin-left: auto; }
.filter-toggle {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px 0 13px;
  border: 1px solid var(--line-bright);
  border-radius: 6px;
  background: #111a2a;
  color: var(--text);
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}
.filter-toggle:hover, .filter-toggle[aria-expanded="true"] { border-color: #9572ef; background: #192640; }
.filter-toggle span { min-width: 20px; padding: 2px 5px; border-radius: 999px; background: #3c286b; color: #e4d8ff; font-size: 10px; text-align: center; }
.filter-popover {
  position: absolute;
  z-index: 50;
  top: 42px;
  right: 0;
  width: 326px;
  padding: 14px;
  border: 1px solid var(--line-bright);
  border-radius: 9px;
  background: #0d1421;
  box-shadow: 0 18px 42px rgba(0,0,0,.38);
  opacity: 1;
}
.filter-popover.open { opacity: 1; }
.filter-popover header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.filter-popover header strong { font-family: var(--sans); font-size: 16px; font-weight: 500; }
.filter-section + .filter-section { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); }
.filter-options { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.filter-pill {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  font-size: 12px;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}
.filter-pill:hover { color: var(--text); background: #17243a; }
.filter-pill.active { border-color: #5875a3; background: #1b2b47; color: #ffffff; }
.dot { width: 9px; height: 9px; display: inline-block; flex: 0 0 auto; border-radius: 50%; }
.dot.math { background: var(--math); }
.dot.physics { background: var(--physics); }
.dot.both { background: var(--both); }
.relation-swatch { width: 22px; height: 0; display: inline-block; border-top: 2px solid currentColor; }
.relation-swatch.mentor { color: var(--mentor); }
.relation-swatch.collaborator { color: var(--collaborator); border-top-style: dashed; }
.relation-swatch.influence { color: var(--influence); border-top-style: dotted; }

.genealogy-panel {
  grid-column: 1 / -1;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: clamp(22px, 3vw, 44px);
  background: #080d15;
  scrollbar-width: thin;
  scrollbar-color: #455674 transparent;
}
.genealogy-hero {
  max-width: 1160px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  margin: 0 auto 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line-bright);
}
.genealogy-hero h1 {
  margin: 7px 0 9px;
  max-width: 760px;
  font-family: var(--sans);
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.2;
}
.genealogy-hero > div:first-child > p:last-child { max-width: 770px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.genealogy-principle {
  min-width: 280px;
  display: grid;
  gap: 7px;
  padding: 14px 16px;
  border: 1px solid #405779;
  border-radius: 8px;
  background: rgba(15,24,39,.9);
}
.genealogy-principle span { color: var(--muted-2); font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.genealogy-principle strong { color: #f5f8ff; font-family: var(--sans); font-size: 14px; font-weight: 500; }
.course-catalog, .course-detail, .person-home { max-width: 1180px; margin: 0 auto; }
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.catalog-toolbar > div:first-child { display: flex; align-items: baseline; gap: 4px; }
.catalog-toolbar strong { font-family: var(--sans); font-size: 20px; font-weight: 500; }
.catalog-toolbar > div:first-child span { color: var(--muted-2); font-size: 10px; }
.catalog-tags { display: flex; gap: 6px; }
.catalog-tags span { padding: 5px 9px; border: 1px solid #394b68; border-radius: 999px; background: #111b2b; color: #b9c6d9; font-size: 9px; }
.course-cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; padding-bottom: 28px; }
.course-card {
  min-width: 0;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  padding: 17px;
  border: 1px solid #33435e;
  border-radius: 10px;
  background: #0d1421;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color .16s ease, background-color .16s ease;
}
.course-card:hover { border-color: #7185ab; background: #111b2c; }
.course-card > header { display: flex; align-items: center; justify-content: space-between; }
.course-card > header span { padding: 4px 8px; border-radius: 5px; background: #172743; color: #93ddea; font-size: 9px; }
.course-card > header small { color: #7d8da7; font-size: 9px; }
.course-card h2 { margin: 18px 0 5px; font-family: var(--sans); font-size: 23px; font-weight: 550; }
.course-card > p { min-height: 42px; margin: 0; color: #c2cee0; font-size: 11px; line-height: 1.65; }
.course-card-knowledge { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 15px; }
.course-card-knowledge span { padding: 3px 6px; border-radius: 4px; background: #151d2b; color: #9eacc1; font-size: 9px; }
.course-card footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 15px; border-top: 1px solid #28364d; }
.course-card footer strong { color: #d4c5fa; font-size: 10px; font-weight: 650; }
.course-card footer span { color: #8392aa; font-size: 9px; }
.catalog-result-heading { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.catalog-result-heading strong { font-family: var(--sans); font-size: 18px; font-weight: 500; }
.catalog-result-heading span { color: var(--muted-2); font-size: 9px; }
.person-result-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #33435e;
  border-radius: 8px;
  background: #0d1421;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}
.person-result-card:hover { border-color: #7185ab; background: #111b2c; }
.result-monogram { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #63789c; border-radius: 50%; color: var(--cyan); font-family: var(--sans); }
.person-result-card > span:nth-child(2) { min-width: 0; display: grid; }
.person-result-card strong { font-size: 11px; }
.person-result-card small { overflow: hidden; color: #8e9db4; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.person-result-card em { max-width: 100px; color: #b8a6e8; font-size: 9px; font-style: normal; text-align: right; }
.course-detail > .route-head { max-width: 820px; margin-bottom: 24px; }
.course-detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; align-items: start; gap: 22px; }
.history-path > header { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin: 0 0 12px 59px; }
.history-path > header p { margin: 0; color: var(--muted-2); font-size: 9px; }
.course-mini-view {
  position: sticky;
  top: 0;
  overflow: hidden;
  border: 1px solid #435676;
  border-radius: 10px;
  background: #0b111c;
}
.course-mini-view > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 13px 14px 11px; border-bottom: 1px solid #2e3b52; }
.course-mini-view > header > div { display: grid; gap: 4px; }
.course-mini-view > header strong { font-family: var(--sans); font-size: 15px; font-weight: 500; }
.course-mini-view > header small { color: #92a0b5; font-size: 9px; }
#courseMiniGraph { width: 100%; height: 215px; display: block; border-bottom: 1px solid #2e3b52; }
.mini-view-people { display: grid; gap: 4px; padding: 10px; }
.mini-view-people button {
  min-width: 0;
  display: grid;
  grid-template-columns: 70px minmax(0,1fr);
  gap: 7px;
  padding: 7px 8px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}
.mini-view-people button:hover { border-color: #3c506f; background: #111b2b; }
.mini-view-people strong { font-size: 10px; }
.mini-view-people span { overflow: hidden; color: #8e9db4; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.course-mini-view > p { margin: 0; padding: 0 14px 12px; color: #73839b; font-size: 8px; }
.route-board { min-width: 0; }
.route-head { margin-bottom: 22px; }
.route-head h2 { margin: 5px 0 0; font-family: var(--sans); font-size: clamp(23px, 2.2vw, 31px); font-weight: 500; line-height: 1.25; }
.route-head > p:not(.eyebrow), .route-title-row p { max-width: 720px; margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.route-title-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 25px; }
.route-count {
  min-width: 104px;
  display: grid;
  justify-items: end;
  padding-top: 3px;
}
.route-count strong { color: var(--cyan); font-family: var(--sans); font-size: 32px; font-weight: 400; line-height: 1; }
.route-count span { margin-top: 4px; color: var(--muted-2); font-size: 9px; }
.route-outcome {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  margin-top: 17px;
  padding: 13px 15px;
  border-left: 2px solid var(--both);
  background: rgba(60,40,107,.22);
}
.route-outcome span { padding-top: 2px; color: #bca8ef; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.route-outcome strong { font-size: 12px; font-weight: 550; line-height: 1.65; }
.route-steps { position: relative; display: grid; gap: 12px; padding-bottom: 30px; }
.route-steps::before { content: ""; position: absolute; left: 22px; top: 24px; bottom: 55px; width: 1px; background: #506b90; opacity: .65; }
.route-step { position: relative; display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 13px; }
.step-marker { z-index: 1; padding-top: 17px; }
.step-marker button {
  width: 45px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #4e678d;
  border-radius: 999px;
  background: #101b2d;
  color: var(--cyan);
  font-family: var(--sans);
  font-size: 11px;
  cursor: pointer;
}
.route-step.active .step-marker button { border-color: #b9a0ff; background: #302653; color: #ffffff; }
.route-step.active .step-content { border-color: #7460aa; background: #121a2c; }
.step-content {
  min-width: 0;
  padding: 15px 17px 14px;
  border: 1px solid #32425e;
  border-radius: 9px;
  background: rgba(13,20,33,.94);
  box-shadow: 0 9px 24px rgba(0,0,0,.12);
  transition: border-color .16s ease, background-color .16s ease;
}
.step-content:hover { border-color: #536d96; background: #101a2a; }
.step-content > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.step-content > header > div { display: flex; align-items: center; gap: 8px; }
.step-content > header > strong { color: #bdaaf0; font-size: 9px; font-weight: 700; letter-spacing: .07em; text-align: right; }
.step-era { color: var(--muted-2); font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.step-route-link {
  min-height: 23px;
  padding: 0 7px;
  border: 1px solid #5c4a8c;
  border-radius: 5px;
  background: #251f3e;
  color: #d4c5fa;
  cursor: pointer;
  font-size: 9px;
}
.step-content h3 { margin: 7px 0 10px; font-family: var(--sans); font-size: 18px; font-weight: 500; line-height: 1.42; }
.step-method { display: grid; grid-template-columns: 65px minmax(0,1fr); gap: 10px; padding: 9px 11px; border-radius: 6px; background: #111d30; }
.step-method span, .step-meta-label { color: #8fa4c2; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.step-method p { margin: 0; color: #dce4f1; font-size: 11px; line-height: 1.6; }
.step-meta { display: grid; grid-template-columns: minmax(0,1fr) minmax(200px,.72fr); gap: 18px; margin-top: 12px; }
.knowledge-list, .route-people { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.knowledge-list span { padding: 3px 7px; border: 1px solid #344968; border-radius: 5px; background: #101928; color: #cbd6e8; font-size: 9px; }
.route-person {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border: 1px solid #3e4c63;
  border-radius: 999px;
  background: #151d2a;
  color: #f2f5fb;
  cursor: pointer;
  font-size: 9px;
  transition: border-color .16s ease, background-color .16s ease;
}
.route-person:hover { border-color: #7188ab; background: #1c2a40; }
.route-person .mini-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.route-person.math .mini-dot { color: var(--math); }
.route-person.physics .mini-dot { color: var(--physics); }
.route-person.both .mini-dot { color: var(--both); }
.step-source { display: inline-flex; align-items: center; gap: 5px; margin-top: 11px; color: #8fddea; font-size: 9px; text-decoration: none; }
.step-source:hover { color: #d2f9ff; text-decoration: underline; }
.genealogy-empty { padding: 32px; border: 1px dashed #3a4b67; border-radius: 9px; background: rgba(13,20,33,.75); text-align: center; }
.genealogy-empty strong { font-family: var(--sans); font-size: 18px; font-weight: 500; }
.genealogy-empty p { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.back-button, .profile-map-button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #425675;
  border-radius: 6px;
  background: #101a2b;
  color: #c7d4e7;
  cursor: pointer;
  font-size: 10px;
}
.back-button:hover, .profile-map-button:hover { border-color: #7890b6; color: #ffffff; }
.route-head > .back-button { margin-bottom: 17px; }
.person-home-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.profile-map-button { border-color: #6a56a0; background: #241e3c; color: #d7c8fa; }
.person-identity {
  display: grid;
  grid-template-columns: 82px minmax(0,1fr);
  gap: 20px;
  padding: 26px;
  border: 1px solid #455a7b;
  border-radius: 11px;
  background: #0d1421;
}
.person-large-monogram { width: 80px; height: 80px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: var(--sans); font-size: 30px; }
.person-large-monogram.math { color: var(--math); }
.person-large-monogram.physics { color: var(--physics); }
.person-large-monogram.both { color: var(--both); }
.person-identity h1 { margin: 4px 0 1px; font-family: var(--sans); font-size: 34px; font-weight: 500; line-height: 1.1; }
.person-identity .person-latin { margin: 0; color: #aebbd0; font-family: var(--sans); font-size: 14px; }
.person-identity > div > p:last-child { max-width: 760px; margin: 12px 0 0; color: #d3dcea; font-size: 12px; line-height: 1.75; }
.person-profile-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 14px; padding-bottom: 30px; }
.profile-section { min-width: 0; padding: 18px; border: 1px solid #33435e; border-radius: 9px; background: #0d1421; }
.profile-section > header { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #2b384e; }
.profile-section > header span { color: #8799b5; font-family: var(--sans); font-size: 10px; }
.profile-section > header h2 { margin: 0; font-family: var(--sans); font-size: 17px; font-weight: 500; }
.profile-section dl { margin: 0; display: grid; gap: 9px; }
.profile-section dl div { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 8px; }
.profile-section dt { color: #8e9eb7; font-size: 9px; }
.profile-section dd { margin: 0; color: #e2e8f2; font-size: 11px; }
.profile-section ol { margin: 0; padding-left: 20px; color: #dce4ef; font-size: 11px; line-height: 1.8; }
.profile-school strong { color: #d8cafa; font-family: var(--sans); font-size: 18px; font-weight: 500; }
.profile-school p, .profile-contribution p, .profile-links p { margin: 8px 0 0; color: #aebbd0; font-size: 11px; line-height: 1.7; }
.profile-subjects { display: flex; flex-wrap: wrap; gap: 7px; }
.profile-subjects span { padding: 5px 8px; border: 1px solid #405578; border-radius: 5px; background: #111c2f; color: #d7e1f0; font-size: 10px; }
.profile-contribution { grid-column: 1 / -1; }
.profile-contribution > strong { display: inline-block; margin-top: 12px; color: #95e5f1; font-size: 10px; }
.profile-links { grid-column: 1 / -1; }
.profile-links > div { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 6px; }
.profile-links button { min-width: 0; display: grid; grid-template-columns: 7px minmax(0,1fr) auto; align-items: center; gap: 7px; padding: 8px; border: 1px solid #34445f; border-radius: 6px; background: #101a2a; color: var(--text); cursor: pointer; text-align: left; }
.profile-links button:hover { border-color: #7185aa; }
.profile-links button .mini-dot { width: 7px; height: 7px; border-radius: 50%; }
.profile-links button strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.profile-links button small { color: #9181bd; font-size: 8px; }

.workspace {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(390px, 1.05fr) minmax(430px, 1.3fr) minmax(280px, .63fr);
  background: #080d15;
}
.app[data-view="genealogy"] .workspace { grid-template-columns: minmax(0,1fr); }
.genealogy-panel, .map-panel, .network-panel, .river-panel, .details { min-width: 0; min-height: 0; }
.map-panel { position: relative; overflow: hidden; border-right: 1px solid var(--line-bright); background: #082029; }
#worldMap { width: 100%; height: 100%; min-height: 440px; }
.maplibregl-canvas { outline: none; }
.maplibregl-ctrl-attrib { background: rgba(5, 20, 27, .82) !important; color: #91a9ac; }
.maplibregl-ctrl-attrib a { color: #c0d4d5 !important; }
.maplibregl-ctrl-attrib-button { filter: invert(1); }
.map-heading {
  position: absolute;
  z-index: 5;
  left: 12px;
  top: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border: 1px solid rgba(36, 116, 138, .8);
  border-radius: 6px;
  background: rgba(6, 24, 32, .88);
  box-shadow: 0 7px 18px rgba(0,0,0,.2);
}
.map-heading strong { font-family: var(--sans); font-size: 13px; font-weight: 500; }
.map-heading span { padding-left: 9px; border-left: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.zoom-controls {
  position: absolute;
  z-index: 6;
  left: 12px;
  top: 55px;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: 7px;
  background: #08232e;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.zoom-btn {
  width: 38px;
  height: 36px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 19px;
  transition: color .16s ease, background-color .16s ease;
}
.zoom-btn:last-child { border-bottom: 0; }
.zoom-btn.reset { font-size: 11px; }
.zoom-btn:hover { background: #0c3441; color: var(--cyan); }
.map-loading, .map-error, .empty-state {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line-bright);
  border-radius: 7px;
  background: rgba(6, 24, 32, .94);
  color: var(--muted);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  font-size: 12px;
}
.map-loading span {
  width: 13px;
  height: 13px;
  border: 2px solid #28505d;
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: map-spin .8s linear infinite;
}
@keyframes map-spin { to { transform: rotate(360deg); } }
.map-source { position: absolute; z-index: 4; right: 52px; bottom: 21px; padding: 3px 6px; border-radius: 4px; background: rgba(6,24,32,.78); color: var(--muted-2); font-size: 10px; pointer-events: none; }
.map-panel.drawer-open .map-source { bottom: 197px; }
.map-panel.drawer-open .maplibregl-ctrl-bottom-right { bottom: 178px; }

.scientist-popup .maplibregl-popup-content {
  min-width: 165px;
  padding: 9px 11px;
  border: 1px solid var(--line-bright);
  border-radius: 7px;
  background: #08232e;
  color: var(--text);
  box-shadow: 0 14px 32px rgba(0,0,0,.34);
}
.scientist-popup .maplibregl-popup-tip { border-top-color: #08232e; border-bottom-color: #08232e; }
.scientist-popup strong { display: block; }
.scientist-popup span { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }

.city-drawer {
  position: absolute;
  z-index: 12;
  left: 0;
  right: 0;
  bottom: 0;
  height: 178px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--cyan);
  background: rgba(5, 24, 32, .97);
  box-shadow: 0 -14px 34px rgba(0,0,0,.35);
  opacity: 1;
}
.city-drawer.open { opacity: 1; }
.city-drawer-head { height: 38px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.city-drawer-head > div:first-child { display: flex; align-items: baseline; gap: 10px; }
.city-drawer-head strong { font-family: var(--sans); font-size: 17px; font-weight: 500; }
.city-drawer-head span { color: var(--muted); font-size: 11px; }
.drawer-actions { display: flex; align-items: center; gap: 7px; }
.text-button, .icon-button {
  border: 1px solid var(--line-bright);
  border-radius: 6px;
  background: #0a2833;
  color: var(--muted);
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}
.text-button { min-height: 29px; padding: 0 10px; font-size: 11px; }
.icon-button { width: 29px; height: 29px; font-size: 19px; line-height: 1; }
.text-button:hover, .icon-button:hover { color: var(--cyan); border-color: var(--cyan); }
.city-people { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 5px; scrollbar-color: var(--line-bright) transparent; }
.city-person-card {
  width: 142px;
  min-width: 142px;
  height: 108px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 2px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #09232d;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color .18s ease, background-color .18s ease;
}
.city-person-card:hover { border-color: var(--line-bright); background: #0c2c37; }
.city-person-card.selected { border-color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(32,215,236,.35); }
.city-person-card strong { display: flex; align-items: center; gap: 7px; font-size: 12px; }
.city-person-card small { color: var(--muted); font-size: 10px; }
.city-person-card em { align-self: end; color: #c2d0cf; font-size: 10px; font-style: normal; }
.city-person-card b { color: var(--muted-2); font-size: 10px; font-weight: 500; }

.network-panel {
  display: grid;
  grid-template-rows: 88px minmax(0, 1fr) 36px;
  border-right: 1px solid var(--line-bright);
  background: #070b12;
}
.panel-head {
  min-height: 88px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--line);
  background: #0d1421;
}
.panel-head h2 { margin: 2px 0 3px; font-family: var(--sans); font-size: 17px; font-weight: 650; }
.panel-head p:not(.eyebrow) { margin: 0; color: #ccd6e8; font-size: 11px; }
.eyebrow { margin: 0; color: #c7b2ff; font-size: 9px; font-weight: 800; letter-spacing: .17em; }
.segmented.compact { flex: 0 0 auto; }
.segmented.compact .segment { min-height: 30px; padding: 0 8px; font-size: 11px; }
.canvas-stage, .river-stage { position: relative; min-height: 0; overflow: hidden; }
.canvas-stage { background: #0f0f12; }
.obsidian-graph, #networkCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.obsidian-graph { overflow: hidden; background: #0f0f12; touch-action: none; }
.obsidian-graph-canvas { width: 100% !important; height: 100% !important; display: block; outline: none; }
#networkCanvas, #riverCanvas, #overviewCanvas { width: 100%; height: 100%; display: block; }
.graph-tools {
  position: absolute;
  z-index: 4;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 5px;
}
.graph-tools button {
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid #46464f;
  border-radius: 5px;
  background: rgba(31,31,36,.92);
  color: #dedee3;
  font-size: 10px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}
.graph-tools button:hover { border-color: #70707c; background: #2a2a31; color: #ffffff; }
.graph-engine-note {
  position: absolute;
  z-index: 3;
  right: 10px;
  bottom: 9px;
  padding: 4px 7px;
  border: 1px solid rgba(116,125,143,.35);
  border-radius: 4px;
  background: rgba(24,24,28,.9);
  color: #bcbcc6;
  font-size: 9px;
  pointer-events: none;
}
.graph-engine-note a { color: #d6c5ff; pointer-events: auto; }
.obsidian-graph-tooltip {
  position: absolute;
  z-index: 6;
  left: 0;
  top: 0;
  width: min(184px, calc(100% - 16px));
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  border: 1px solid #555561;
  border-radius: 5px;
  background: rgba(27,27,32,.97);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0,0,0,.38);
  pointer-events: none;
}
.obsidian-graph-tooltip strong { font-size: 13px; }
.obsidian-graph-tooltip span { color: #d2d2d9; font-size: 10px; }
.obsidian-graph-tooltip small { color: #aaaab5; font-size: 9px; }
.network-legend {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}
.network-legend span { display: inline-flex; align-items: center; gap: 5px; }
.network-legend .hint { margin-left: auto; color: var(--muted-2); }

.river-panel {
  grid-column: 1 / 3;
  display: grid;
  grid-template-rows: 82px minmax(0, 1fr);
  border-right: 1px solid var(--line-bright);
  background: #0a101a;
}
.river-head { min-height: 82px; align-items: center; }
.river-summary { color: var(--muted); font-family: var(--sans); font-size: 17px; white-space: nowrap; }

.details {
  overflow: auto;
  padding: 21px 18px 28px;
  background: #0b111c;
  color: var(--paper-text);
  scrollbar-width: thin;
  scrollbar-color: #566073 transparent;
}
.profile-top { display: flex; align-items: flex-start; gap: 12px; }
.monogram {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 16px;
}
.profile-heading h2 { margin: 0; font-family: var(--sans); font-size: 24px; font-weight: 600; line-height: 1.15; }
.profile-heading .latin { margin: 3px 0 0; color: #b9c6da; font-family: var(--sans); font-size: 13px; }
.lifespan { margin: 6px 0 0; color: #e0e7f2; font-family: var(--sans); font-size: 16px; }
.meta-line { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.tag { padding: 4px 7px; border: 1px solid #496184; border-radius: 5px; background: #111b2c; color: #e1e8f4; font-size: 10px; }
.place-block { margin-top: 17px; padding: 13px 0; border-top: 1px solid #3b4250; border-bottom: 1px solid #3b4250; }
.place-row { display: grid; grid-template-columns: 56px 1fr; gap: 8px; font-size: 12px; }
.place-row + .place-row { margin-top: 8px; }
.place-row span { color: #9facbf; }
.place-row strong { font-weight: 650; }
.profile-summary { margin: 16px 0 0; color: #d7deea; font-size: 12px; line-height: 1.72; }
.focus-label { margin: 15px 0 0; color: #a8b5c9; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.focus-text { margin: 4px 0 0; font-size: 12px; }
.detail-subhead { display: flex; align-items: center; justify-content: space-between; margin: 19px 0 8px; padding-top: 15px; border-top: 1px solid #3b4250; }
.detail-subhead h3 { margin: 0; font-family: var(--sans); font-size: 15px; }
.detail-subhead span { color: #a8b5c9; font-size: 10px; }
.relation-list { display: grid; gap: 5px; }
.relation-item {
  width: 100%;
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 7px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--paper-text);
  cursor: pointer;
  text-align: left;
  transition: border-color .16s ease, background-color .16s ease;
}
.relation-item:hover { border-color: #525b6d; background: rgba(255,255,255,.04); }
.relation-item .mini-dot { width: 8px; height: 8px; border-radius: 50%; }
.relation-item strong { display: block; font-size: 11px; }
.relation-item small { display: block; color: #aab7cb; font-size: 9px; }
.relation-item .arrow { color: #a0aec3; }
.no-relations { color: #aab7cb; font-size: 11px; }
.dataset-note { margin: 18px 0 0; padding-top: 13px; border-top: 1px solid #3b4250; color: #9eacc0; font-size: 9px; line-height: 1.55; }
.dataset-note a { color: #76e5f7; }

.time-overview {
  z-index: 25;
  min-width: 0;
  display: grid;
  grid-template-columns: 48px 205px minmax(280px, 1fr) auto auto;
  align-items: center;
  gap: 15px;
  padding: 12px 22px;
  border-top: 1px solid var(--line-bright);
  background: #090f19;
}
.play-button {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid #5aa9b8;
  border-radius: 50%;
  background: #121c2e;
  color: var(--text);
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
.play-button:hover { border-color: var(--both); background: #2c2052; color: #e1d6ff; }
.overview-copy { display: grid; gap: 3px; }
.overview-copy strong { font-family: var(--sans); font-size: 15px; font-weight: 500; }
.overview-copy span { color: var(--muted-2); font-size: 9px; line-height: 1.35; }
.overview-track { position: relative; height: 72px; min-width: 260px; }
#overviewCanvas { position: absolute; inset: 0 0 20px; height: 52px; }
.overview-dual { position: absolute; z-index: 2; left: 0; right: 0; bottom: 16px; width: 100%; }
.overview-years { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; color: var(--muted-2); font-size: 9px; }
.all-years {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line-bright);
  border-radius: 6px;
  background: #121c2e;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  font-size: 11px;
}
.all-years.active { border-color: #8f72dd; color: #c7b4ff; background: #332c49; }
.top-stats { min-width: 120px; color: var(--muted); font-size: 11px; text-align: right; white-space: nowrap; }
.top-stats strong { color: var(--text); }

.app[data-view="river"] .map-panel,
.app[data-view="river"] .network-panel,
.app[data-view="river"] .genealogy-panel { display: none; }
.app[data-view="river"] .river-panel { display: grid; }
.app[data-view="network"] .river-panel,
.app[data-view="network"] .genealogy-panel { display: none; }
.app[data-view="genealogy"] .map-panel,
.app[data-view="genealogy"] .network-panel,
.app[data-view="genealogy"] .river-panel,
.app[data-view="genealogy"] .details { display: none; }

@media (max-width: 1400px) {
  .course-cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 1220px) {
  .header-note { display: none; }
  .workspace { grid-template-columns: minmax(350px, 1fr) minmax(390px, 1.18fr) 270px; }
  .details { padding: 17px 14px 24px; }
  .course-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .course-detail-layout { grid-template-columns: minmax(0,1fr) 290px; }
}

@media (max-width: 980px) {
  body { overflow: auto; }
  .app { height: auto; min-height: 100dvh; display: block; }
  .sidebar { min-height: 0; display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 10px 18px; padding: 10px 14px; border-right: 0; border-bottom: 1px solid var(--line-bright); }
  .sidebar .brand { padding: 0; border-bottom: 0; }
  .sidebar .brand-copy small { display: none; }
  .primary-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; margin: 0; }
  .primary-nav > .sidebar-label { display: none; }
  .nav-item { min-height: 46px; grid-template-columns: 22px minmax(0,1fr); }
  .nav-item small { display: none; }
  .sidebar-courses { grid-column: 1 / -1; min-height: 0; margin: 0; display: block; }
  .sidebar-courses > header { display: none; }
  .sidebar-course-list { display: flex; gap: 5px; overflow-x: auto; }
  .sidebar-course { width: auto; min-width: 118px; grid-template-columns: 20px minmax(0,1fr); }
  .sidebar-course small { display: none; }
  .sidebar-footnote { display: none; }
  .main-shell { min-height: calc(100dvh - 115px); grid-template-rows: 58px auto auto auto; }
  .app[data-view="genealogy"] .main-shell { grid-template-rows: 58px minmax(0,1fr); }
  .topbar { min-height: 58px; gap: 10px; padding: 9px 14px; }
  .search-wrap { width: 100%; }
  .controlbar { align-items: center; padding: 8px 12px; }
  .range-summary > span:last-child { display: none; }
  .workspace { display: grid; grid-template-columns: 1fr; }
  .genealogy-panel { overflow: visible; padding: 24px 18px; }
  .genealogy-hero { grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .genealogy-principle { min-width: 0; }
  .course-detail-layout { grid-template-columns: 1fr; }
  .course-mini-view { position: static; grid-row: 1; }
  .history-path { grid-row: 2; }
  .map-panel { height: 62dvh; min-height: 500px; border-right: 0; border-bottom: 1px solid var(--line-bright); }
  .network-panel { min-height: 590px; border-right: 0; border-bottom: 1px solid var(--line-bright); }
  .river-panel { grid-column: 1; min-height: 650px; border-right: 0; border-bottom: 1px solid var(--line-bright); }
  .details { min-height: 520px; }
  .time-overview { grid-template-columns: 44px 1fr auto; padding: 12px 14px; }
  .overview-track { grid-column: 1 / -1; grid-row: 2; }
  .overview-copy, .top-stats { display: none; }
}

@media (max-width: 620px) {
  .sidebar { grid-template-columns: minmax(0,1fr); }
  .sidebar .brand { justify-content: center; }
  .primary-nav { grid-column: 1; }
  .sidebar-courses { grid-column: 1; }
  .nav-item { min-height: 42px; grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .nav-index { display: none; }
  .course-cards { grid-template-columns: 1fr; }
  .catalog-toolbar { align-items: flex-start; flex-direction: column; }
  .genealogy-hero { margin-bottom: 22px; }
  .genealogy-hero h1 { font-size: 27px; }
  .genealogy-principle strong { font-size: 12px; }
  .route-title-row { grid-template-columns: 1fr; }
  .route-count { display: none; }
  .route-outcome { grid-template-columns: 1fr; }
  .history-path > header { margin-left: 0; display: grid; }
  .route-step { grid-template-columns: 38px minmax(0,1fr); gap: 8px; }
  .route-steps::before { left: 18px; }
  .step-marker button { width: 37px; }
  .step-content { padding: 13px; }
  .step-content h3 { font-size: 16px; }
  .step-method, .step-meta { grid-template-columns: 1fr; }
  .person-identity { grid-template-columns: 1fr; padding: 19px; }
  .person-profile-grid { grid-template-columns: 1fr; }
  .profile-contribution, .profile-links { grid-column: 1; }
  .brand-copy strong { font-size: 17px; }
  .brand-mark { width: 36px; height: 36px; }
  .range-summary .control-label { display: none; }
  .filter-popover { position: fixed; left: 12px; right: 12px; top: 116px; width: auto; }
  .map-heading { right: 14px; }
  .city-drawer { height: 190px; }
  .city-drawer-head > div:first-child { display: grid; gap: 0; }
  .text-button { display: none; }
  .panel-head { flex-direction: column; }
  .network-panel { grid-template-rows: 137px 500px 39px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
