:root {
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#182947;
  background:#fff;
  font-size:16px;
  --blue:#294fc7;
  --ink:#182947;
  --muted:#66758c;
  --line:#e0e6f0;
  --map:#f6f8fc
}

* {
  box-sizing:border-box
}

body {
  margin:0
}

button,input,select {
  font:inherit
}

button,a,input,select {
  -webkit-tap-highlight-color:transparent
}

button {
  cursor:pointer
}

a {
  color:var(--blue)
}

[hidden] {
  display:none!important
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible {
  outline:3px solid #6f9cf5;
  outline-offset:3px
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap
}

.masthead {
  height:90px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  gap:30px;
  padding:0 28px;
  position:relative;
  z-index:10;
  background:#fff
}

.brand {
  display:flex;
  gap:12px;
  align-items:center;
  color:var(--ink);
  text-decoration:none;
  font-size:20px;
  font-weight:750;
  letter-spacing:-.5px;
  white-space:nowrap
}

.brand small {
  display:block;
  font-size:12px;
  font-weight:450;
  letter-spacing:.1px;
  color:var(--muted);
  margin-top:4px
}

.brand-mark {
  background:var(--blue);
  color:#fff;
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:10px;
  display:grid;
  place-items:center
}

.brand-mark svg {
  width:28px;
  height:28px
}

.search-shell {
  max-width:670px;
  flex:1;
  position:relative;
  min-width:150px
}

.search-shell input {
  height:46px;
  width:100%;
  border:1px solid #cfd8e8;
  border-radius:9px;
  background:#f7f9fd;
  color:var(--ink);
  padding:0 64px 0 43px;
  font-size:15px
}

.search-icon {
  position:absolute;
  left:14px;
  top:14px;
  width:18px;
  fill:none;
  stroke:var(--muted);
  stroke-width:1.7
}

.search-shortcut {
  position:absolute;
  right:13px;
  top:14px;
  font-size:13px;
  color:var(--muted)
}

.header-actions {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:8px
}

.header-actions > .button {
  height:40px
}

.language-toggle {
  gap:4px;
  white-space:nowrap;
  flex-shrink:0
}
.language-toggle [data-language] {
  opacity:.5
}
.language-toggle [data-language].is-active {
  opacity:1;
  color:var(--blue);
  font-weight:750
}

.button {
  border:1px solid #cfd8e8;
  background:#fff;
  border-radius:7px;
  color:var(--ink);
  font-size:14px;
  font-weight:550;
  padding:9px 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  line-height:1.35;
  white-space:nowrap
}

.button:hover {
  background:#edf2fc;
  border-color:#b2c3e4
}

.button.primary {
  background:var(--blue);
  border-color:var(--blue);
  color:#fff
}

.button.primary:hover {
  background:#1e3f9f
}

.text-button {
  background:none;
  border:0;
  color:var(--blue);
  font-size:14px;
  padding:4px 0;
  font-weight:550
}

.text-button:hover {
  text-decoration:underline
}

.icon-button {
  background:#f2f5fa;
  border:0;
  border-radius:50%;
  color:var(--ink);
  width:32px;
  height:32px;
  font-size:25px;
  line-height:1
}

.mobile-only {
  display:none
}

.workspace {
  display:flex;
  height:calc(100dvh - 90px);
  min-height:520px;
  overflow:hidden
}

.sidebar {
  width:282px;
  flex:0 0 282px;
  border-right:1px solid var(--line);
  overflow:auto;
  padding:26px 22px 18px;
  background:#fff;
  scrollbar-width:thin
}

.sidebar-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:25px
}

.sidebar h1 {
  font-size:21px;
  letter-spacing:-.4px;
  margin:0
}

.filter-section {
  padding-bottom:21px;
  margin-bottom:21px;
  border-bottom:1px solid var(--line)
}

.filter-section>label,.field-gap>label {
  display:block;
  font-size:14px;
  font-weight:600;
  margin-bottom:9px
}

.filter-section select {
  display:block;
  width:100%;
  background:#fff;
  border:1px solid #ccd5e3;
  border-radius:6px;
  height:39px;
  color:var(--ink);
  padding:0 10px;
  font-size:14px
}

.field-gap {
  margin-top:21px
}

.year-inputs {
  display:flex;
  gap:8px;
  align-items:center
}

.year-inputs label {
  display:flex;
  align-items:center;
  flex:1;
  min-width:0;
  border:1px solid #ccd5e3;
  border-radius:6px;
  font-size:13px;
  height:38px;
  padding-left:9px;
  color:var(--muted)
}

.year-inputs input {
  width:100%;
  min-width:0;
  border:none;
  background:transparent;
  padding:5px 2px 5px 8px;
  font-size:14px;
  color:var(--ink)
}

.year-dash {
  color:#8693a6
}

.field-error {
  color:#ac3340;
  font-size:13px
}

.legend-heading {
  display:flex;
  gap:10px;
  justify-content:space-between;
  align-items:baseline;
  margin-bottom:16px
}

.legend-heading h2 {
  font-size:14px;
  margin:0;
  font-weight:650
}

.legend-heading>span {
  font-size:12px;
  color:var(--muted)
}

.legend-row {
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin:11px 0;
  font-size:12px;
  line-height:1.35
}

.legend-dot {
  width:9px;
  height:9px;
  border-radius:50%;
  margin-top:3px;
  flex-shrink:0
}

.legend-row .legend-name {
  flex:1;
  font-size:14px
}

.legend-row .legend-count {
  font-variant-numeric:tabular-nums;
  color:var(--muted);
  font-size:12px;
  padding-left:4px
}

.source-note {
  border-top:1px solid var(--line);
  margin-top:24px;
  padding-top:17px;
  color:var(--muted);
  font-size:12px;
  line-height:1.7
}

.legend-gradient {
  height:11px;
  border-radius:3px;
  margin-top:4px
}

.gradient-labels {
  display:flex;
  justify-content:space-between;
  margin-top:8px;
  font-size:12px;
  color:var(--muted)
}

.map-region {
  position:relative;
  flex:1;
  min-width:0;
  background:var(--map);
  overflow:hidden
}

.map-region canvas {
  display:block;
  width:100%;
  height:100%;
  touch-action:none;
  cursor:grab
}

.map-region.dragging canvas {
  cursor:grabbing
}

.map-status {
  position:absolute;
  top:24px;
  left:27px;
  display:flex;
  align-items:baseline;
  gap:7px;
  z-index:2;
  pointer-events:none;
  font-size:13px;
  color:var(--muted);
  flex-wrap:wrap;
  max-width:50%;
  background:#f6f8fce6;
  border-radius:5px;
  padding:2px 4px
}

.map-status strong {
  font-size:24px;
  color:var(--ink);
  letter-spacing:-.7px;
  font-variant-numeric:tabular-nums
}

.map-status #filter-indicator {
  font-size:12px;
  color:var(--blue)
}

.map-actions {
  position:absolute;
  top:26px;
  right:24px;
  z-index:3;
  display:grid;
  grid-template-columns:100px;
  justify-content:end;
  align-items:start;
  gap:7px
}

.map-actions .button {
  font-size:12px;
  padding:8px 10px;
  box-shadow:0 2px 4px #172b4a05
}

.map-footer {
  position:absolute;
  left:27px;
  bottom:19px;
  display:flex;
  gap:14px;
  font-size:12px;
  color:var(--muted);
  pointer-events:none
}

.map-hint {
  position:absolute;
  bottom:47px;
  left:27px;
  font-size:12px;
  color:#738099;
  pointer-events:none
}

.zoom-controls {
  position:absolute;
  bottom:26px;
  right:24px;
  display:flex;
  align-items:center;
  gap:0;
  border:1px solid #d5deec;
  border-radius:7px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 2px 8px #223f6a08;
  z-index:3
}

.zoom-controls button {
  background:#fff;
  border:0;
  width:36px;
  height:36px;
  font-size:24px;
  line-height:1;
  color:var(--ink)
}

.zoom-controls button:hover {
  background:#edf2fc
}

.zoom-controls span {
  font-size:12px;
  font-variant-numeric:tabular-nums;
  min-width:53px;
  text-align:center;
  border-left:1px solid var(--line);
  border-right:1px solid var(--line);
  color:var(--muted)
}

.tooltip,.details {
  --detail-caption:12px;
  --detail-body:13px;
  --detail-heading:14px;
  --detail-name:15px;
  --detail-title:18px;
  font-family:inherit;
  font-size:var(--detail-body);
  color:var(--ink);
  line-height:1.55
}

.tooltip {
  position:absolute;
  z-index:6;
  width:360px;
  max-width:calc(100% - 24px);
  background:#fff;
  border:1px solid #d8e2f1;
  border-radius:8px;
  padding:15px 17px;
  box-shadow:0 10px 35px #1e3c7026;
  pointer-events:none;
  max-height:calc(100% - 24px);
  overflow:hidden
}

.thesis-card {
  min-width:0;
  margin:0 0 14px;
  padding:14px;
  border:1px solid #dce3ed;
  border-radius:9px;
  background:#f7f9fc
}

.thesis-card > h3:first-child {
  font-size:var(--detail-heading);
  font-weight:650;
  line-height:1.4;
  color:var(--ink);
  margin:0 0 10px
}

.thesis-person {
  margin:0 0 14px
}

.thesis-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:32px;
  margin-bottom:12px
}

.thesis-kicker {
  color:var(--blue);
  font-size:var(--detail-caption);
  letter-spacing:1px;
  text-transform:uppercase;
  font-weight:700
}

.thesis-title {
  display:block;
  font-size:var(--detail-title);
  line-height:1.4;
  letter-spacing:-.2px;
  font-weight:650;
  color:var(--ink);
  margin:0 0 14px;
  overflow-wrap:anywhere
}

.tooltip .thesis-title {
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden
}

.thesis-author {
  font-size:var(--detail-name);
  line-height:1.45;
  font-weight:650;
  color:var(--ink);
  margin:0;
  overflow-wrap:anywhere
}

.metadata-link {
  color:inherit;
  font:inherit;
  text-decoration-color:#b5c4d8;
  text-underline-offset:3px
}
.metadata-link:hover,
.metadata-link:focus-visible {
  color:var(--blue)
}
.metadata-list {
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:8px
}
.metadata-kind {
  font-size:var(--detail-caption);
  font-weight:600;
  color:var(--muted)
}

.thesis-facts {
  display:grid;
  gap:12px;
  margin:0;
  padding:0
}

.thesis-facts dt,
#detail-facts dt,
.person-label,
.jury-group h4 {
  font-size:var(--detail-caption);
  font-weight:600;
  color:var(--muted);
  line-height:1.5
}

.thesis-facts dt {
  margin:0 0 4px
}

.thesis-facts dd,
#detail-facts dd {
  margin:0;
  color:var(--ink);
  font-size:var(--detail-body);
  line-height:1.5;
  font-weight:600;
  overflow-wrap:anywhere
}

.institution-original {
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:var(--detail-caption);
  font-weight:400
}

.thesis-theme {
  display:flex;
  align-items:flex-start;
  gap:7px
}

.thesis-theme i {
  width:9px;
  height:9px;
  border-radius:50%;
  flex:0 0 9px;
  margin-top:5px
}

.thesis-meta {
  font-size:var(--detail-caption);
  color:var(--muted);
  margin:14px 0 0;
  overflow-wrap:anywhere
}

.tooltip small {
  display:block;
  font-size:var(--detail-caption);
  color:var(--blue);
  margin-top:5px
}

.selected-marker {
  position:absolute;
  z-index:4;
  width:19px;
  height:19px;
  border:2px solid #122657;
  box-shadow:0 0 0 4px #fff9;
  border-radius:50%;
  pointer-events:none;
  transform:translate(-50%,-50%)
}

.loading,.empty-map {
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:12px;
  background:var(--map);
  z-index:5;
  padding:24px;
  text-align:center
}

.loading span,.empty-map p {
  font-size:14px;
  line-height:1.5;
  color:var(--muted);
  max-width:500px
}

.loading strong,.empty-map strong {
  font-size:20px
}

.spinner {
  width:28px;
  height:28px;
  border:3px solid #dce5f7;
  border-top-color:var(--blue);
  border-radius:50%;
  animation:spin 1s linear infinite
}

@keyframes spin {
  to {
    transform:rotate(360deg)
  }
}

.details {
  width:370px;
  flex:0 0 370px;
  overflow:auto;
  border-left:1px solid var(--line);
  padding:24px;
  background:#fff;
  scrollbar-width:thin
}

.eyebrow {
  color:var(--blue);
  font-size:11px;
  letter-spacing:1px;
  line-height:1.5;
  text-transform:uppercase;
  font-weight:700
}

#detail-facts dt {
  margin:14px 0 4px
}

#detail-facts dt:first-child {
  margin-top:0
}

.detail-links {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 14px
}

.detail-links .button {
  font-size:12px;
  padding:10px
}

.abstract {
  font-size:var(--detail-body);
  line-height:1.65;
  white-space:pre-wrap;
  margin:0;
  overflow-wrap:anywhere
}

.detail-source {
  font-size:var(--detail-caption);
  color:var(--muted);
  margin-top:20px;
  line-height:1.5
}

.search-dropdown {
  position:absolute;
  top:53px;
  left:0;
  right:0;
  background:#fff;
  border:1px solid #d4deec;
  box-shadow:0 12px 35px #18326426;
  border-radius:9px;
  max-height:min(70vh,570px);
  overflow:auto;
  z-index:20
}

.search-status {
  font-size:12px;
  color:var(--muted);
  padding:14px 16px;
  border-bottom:1px solid var(--line);
  background:#fbfcfe;
  position:sticky;
  top:0
}

.search-dropdown ul {
  padding:0;
  margin:0;
  list-style:none
}

.search-result {
  padding:13px 16px;
  border-bottom:1px solid #edf1f7;
  cursor:pointer;
  font-size:14px;
  line-height:1.5
}

.search-result:last-child {
  border-bottom:0
}

.search-result:hover,.search-result.active {
  background:#edf3ff
}

.search-result strong {
  font-weight:550;
  display:block
}

.search-result span {
  font-size:12px;
  color:var(--muted);
  display:block;
  margin-top:4px
}

dialog {
  border:1px solid #d7e0ed;
  border-radius:12px;
  padding:40px;
  max-width:650px;
  width:calc(100% - 32px);
  max-height:88vh;
  color:var(--ink);
  box-shadow:0 20px 80px #18345a30
}

dialog::backdrop {
  background:#18294766;
  backdrop-filter:blur(3px)
}

.dialog-close {
  position:absolute;
  right:18px;
  top:18px
}

dialog h2 {
  font-size:29px;
  line-height:1.25;
  letter-spacing:-.6px;
  margin:16px 0 22px
}

dialog p {
  font-size:15px;
  color:#53637c;
  line-height:1.75
}

.about-numbers {
  display:flex;
  gap:30px;
  margin:24px 0;
  padding:20px 0;
  border-block:1px solid var(--line)
}

.about-numbers dt {
  font-size:12px;
  color:var(--muted);
  margin-bottom:6px
}

.about-numbers dd {
  font-size:17px;
  font-weight:650;
  margin:0
}

.about-links a {
  font-size:13px
}

noscript {
  position:fixed;
  inset:0;
  z-index:50;
  background:white;
  padding:40px
}

.person-label {
  display:block;
  margin-bottom:5px
}

.jury-group {
  margin-top:13px
}

.jury-group h4 {
  margin:0 0 6px
}

.jury-group ul {
  list-style:none;
  margin:0;
  padding:0
}

.jury-group li {
  font-size:var(--detail-body);
  font-weight:600;
  line-height:1.5;
  margin:3px 0;
  overflow-wrap:anywhere
}

.jury-empty {
  font-size:var(--detail-body);
  line-height:1.5;
  color:var(--muted);
  margin:0
}

.gradient-direction {
  font-size:12px;
  color:var(--muted);
  margin:10px 0 17px
}

.supervisor-list {
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:8px;
  font-size:var(--detail-body);
  font-weight:600;
  line-height:1.5
}

.keyword-list {
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-wrap:wrap;
  gap:6px
}

.keyword-list li {
  padding:5px 8px;
  border-radius:4px;
  background:#edf2fc;
  font-size:var(--detail-caption);
  font-weight:600;
  line-height:1.4;
  color:var(--ink)
}

/* The two independently computed projections share filters, records and colors. */
.projection-switch {
  display:flex;
  border:1px solid #b9c9e4;
  border-radius:7px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 2px 5px #172b4a08
}

.projection-switch button {
  flex:1;
  min-width:0;
  padding:7px 12px;
  border:0;
  background:#fff;
  color:#435c83;
  font-size:13px;
  font-weight:700
}

.projection-switch button+button {
  border-left:1px solid #cfdaec
}

.projection-switch button[aria-pressed=true] {
  background:#294fc7;
  color:#fff
}

.projection-switch button:disabled {
  cursor:default;
  opacity:.55
}

.projection-switch button[aria-pressed=true]:disabled {
  opacity:.8
}

.projection-status {
  position:absolute;
  right:24px;
  top:114px;
  z-index:4;
  max-width:min(350px,calc(100% - 48px));
  padding:11px 13px;
  border:1px solid #bdcfee;
  border-radius:7px;
  background:#f8fbfff5;
  color:#38557f;
  font-size:12px;
  line-height:1.5;
  box-shadow:0 3px 12px #18326412
}

.projection-status.error {
  border-color:#d4a5a5;
  color:#853535;
  background:#fff9f9
}

.projection-status .text-button {
  display:block;
  margin-top:6px;
  font-size:12px
}

.projection-3d .map-hint {
  max-width:calc(100% - 165px);
  line-height:1.5;
  background:#f6f8fce6;
  border-radius:4px;
  padding:2px 4px
}

/* Playback sits between previous/next controls in one compact player. */
.site-audio-controls {
  display:inline-flex;
  flex-shrink:0
}
.site-audio-controls .button {
  height:40px
}
.site-audio-toggle {
  gap:6px;
  flex-shrink:0;
  border-left:0;
  border-radius:0
}
.site-audio-previous,
.site-audio-next {
  width:32px;
  padding:7px
}
.site-audio-previous {
  border-radius:7px 0 0 7px
}
.site-audio-next {
  border-left:0;
  border-radius:0 7px 7px 0
}
.site-audio-controls svg {
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round
}
.site-audio-toggle[aria-pressed=true] {
  background:#edf2fc;
  border-color:#b2c3e4;
  color:var(--blue)
}
.site-audio-controls .button:disabled {
  opacity:.55;
  cursor:wait
}

/* Single project information entry, within the header actions. */
.publication-about-link {
  flex-shrink:0
}

@media(min-width:1800px) {
  .sidebar {
    width:305px;
    flex-basis:305px
  }
  .details {
    width:425px;
    flex-basis:425px
  }
}

@media(max-width:1250px) {
  .masthead {
    padding:0 20px;
    gap:22px
  }
  .brand {
    font-size:18px
  }
  .sidebar {
    width:250px;
    flex-basis:250px;
    padding:24px 17px
  }
  .details {
    position:absolute;
    right:0;
    top:90px;
    bottom:0;
    width:360px;
    z-index:8;
    box-shadow:-12px 0 35px #20345518
  }
  .map-status {
    max-width:42%
  }
  .map-actions {
    right:18px
  }
  .map-footer span:last-child {
    display:none
  }
}

@media(max-width:800px) {
  .masthead {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:44px 36px 41px;
    height:168px;
    padding:12px 16px 15px;
    gap:10px;
    align-items:center
  }
  .brand {
    grid-row:1;
    width:100%;
    min-width:0;
    margin:0;
    gap:8px;
    font-size:17px;
    line-height:1.15;
    white-space:normal
  }
  .brand > span:last-child {
    min-width:0
  }
  .brand small {
    display:block;
    position:static;
    margin:4px 0 0;
    font-size:11px;
    line-height:1.3;
    letter-spacing:0;
    white-space:normal
  }
  .brand-mark {
    flex:0 0 31px;
    width:31px;
    height:31px;
    border-radius:7px
  }
  .brand-mark svg {
    width:24px;
    height:24px
  }
  .header-actions {
    grid-row:2;
    justify-self:stretch;
    justify-content:flex-end;
    margin:0;
    gap:4px
  }
  .header-actions .button {
    font-size:12px;
    padding:7px
  }
  .site-audio-controls .site-audio-toggle {
    gap:4px;
    padding:7px 5px
  }
  .site-audio-controls .site-audio-previous,
  .site-audio-controls .site-audio-next {
    width:26px;
    padding:5px
  }
  .header-actions > .button,
  .site-audio-controls .button {
    height:36px
  }
  .mobile-only {
    display:inline-flex
  }
  .search-shell {
    grid-row:3;
    position:relative;
    width:100%;
    min-width:0;
    max-width:none;
    margin:0
  }
  .search-shell input {
    height:41px;
    font-size:14px
  }
  .search-icon {
    top:11px
  }
  .search-shortcut {
    top:12px
  }
  .search-dropdown {
    top:46px
  }
  .workspace {
    height:calc(100dvh - 168px);
    min-height:400px
  }
  .sidebar {
    position:absolute;
    top:168px;
    bottom:0;
    left:0;
    width:280px;
    z-index:8;
    box-shadow:10px 0 35px #1c345c26;
    display:none
  }
  .sidebar.open {
    display:block
  }
  .map-status {
    top:19px;
    left:13px;
    max-width:48%;
    gap:4px;
    font-size:11px
  }
  .map-status strong {
    font-size:20px
  }
  .map-actions {
    top:18px;
    right:12px;
    grid-template-columns:94px;
    gap:6px
  }
  .map-actions .button {
    font-size:11px;
    padding:6px 9px
  }
  .map-hint {
    display:none
  }
  .map-footer {
    left:16px;
    bottom:19px;
    font-size:11px
  }
  .zoom-controls {
    right:12px;
    bottom:13px
  }
  .details {
    top:168px;
    width:min(370px,100%);
    padding:22px
  }
  .tooltip {
    width:280px
  }
  .about-numbers {
    gap:20px;
    flex-wrap:wrap
  }
  dialog {
    padding:28px 22px
  }
  dialog h2 {
    font-size:24px
  }
  .projection-switch button {
    font-size:12px;
    padding:6px 12px
  }
  .projection-status {
    right:12px;
    top:96px;
    max-width:calc(100% - 24px)
  }
}

@media(prefers-reduced-motion:reduce) {
  .spinner {
    animation:none;
    border-top-color:var(--blue)
  }
}
