:root {
  --ink: #0b1a1d;
  --teal: #128b8e;
  --teal-dark: #0b6e72;
  --teal-soft: #d9ece9;
  --paper: #f3f0e9;
  --sand: #e9e5db;
  --coral: #d46f55;
  --line: rgba(11, 26, 29, 0.14);
  --white: #fff;
  --bone: #6e8783;
  --joint: #c37a61;
  --muscle: #b97868;
  --connective: #8a8069;
  --nerve: #3f8e86;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
button,
input,
a {
  color: inherit;
  font: inherit;
}
button {
  cursor: pointer;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus {
  top: 1rem;
}
.site-header {
  min-height: 82px;
  padding: 0 max(1.2rem, 4vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 240, 233, 0.95);
  position: relative;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font:
    700 0.72rem/1 "Manrope",
    sans-serif;
  letter-spacing: 0.05em;
}
.brand strong,
.brand small {
  display: block;
}
.brand strong {
  font:
    700 0.86rem/1.2 "Manrope",
    sans-serif;
}
.brand small {
  margin-top: 0.18rem;
  color: rgba(11, 26, 29, 0.54);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}
.header-link {
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--teal);
  padding-bottom: 0.25rem;
}
.hero {
  min-height: 450px;
  padding: clamp(4rem, 8vw, 7rem) max(1.2rem, calc((100vw - 1260px) / 2));
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: end;
  background: var(--ink);
  color: #fff;
}
.eyebrow {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  color: #74c4bf;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.eyebrow span {
  width: 32px;
  height: 1px;
  background: currentColor;
}
.hero h1 {
  margin: 1.2rem 0 0;
  font:
    800 clamp(3.7rem, 7.3vw, 7rem)/0.87 "Manrope",
    sans-serif;
  letter-spacing: -0.07em;
}
.hero h1 em {
  color: #74c4bf;
  font-family: Georgia, serif;
  font-weight: 400;
}
.hero-copy {
  max-width: 480px;
  padding-bottom: 0.6rem;
}
.hero-copy p {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  line-height: 1.55;
}
.hero-copy a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.7rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
}
.explorer {
  padding: clamp(2.5rem, 5vw, 4.5rem) max(1rem, 3vw) 3rem;
}
.explorer-top {
  width: min(1440px, 100%);
  margin: 0 auto 1rem;
  display: grid;
  grid-template-columns: minmax(280px, 620px) auto;
  gap: 1rem;
  justify-content: space-between;
  align-items: end;
}
.search-wrap {
  position: relative;
}
.search-wrap label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}
.search-wrap > div:first-of-type {
  position: relative;
}
.search-wrap input {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 3rem 0.85rem 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  border-radius: 0;
  outline: none;
}
.search-wrap input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(18, 139, 142, 0.12);
}
.search-wrap > div > button {
  position: absolute;
  right: 0.45rem;
  top: 0.45rem;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
}
.search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 40;
  max-height: 300px;
  overflow: auto;
  border: 1px solid var(--line);
  background: #fbfaf6;
  box-shadow: 0 18px 45px rgba(11, 26, 29, 0.16);
}
.search-results button {
  width: 100%;
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.search-results button:hover,
.search-results button:focus-visible {
  background: var(--teal-soft);
}
.search-results strong,
.search-results span {
  display: block;
}
.search-results span {
  margin-top: 0.2rem;
  color: rgba(11, 26, 29, 0.58);
  font-size: 0.72rem;
}
.search-results small {
  align-self: center;
  color: var(--teal);
  font-size: 0.63rem;
  font-weight: 700;
}
.random-button {
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 700;
}
.random-button span {
  margin-left: 0.45rem;
}
.workspace {
  width: min(1440px, 100%);
  min-height: 780px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(245px, 0.72fr) minmax(370px, 1.18fr) minmax(
      285px,
      0.86fr
    );
  border: 1px solid var(--line);
  background: #e6ecea;
}
.controls-panel,
.info-panel {
  padding: 1.4rem;
  background: rgba(243, 240, 233, 0.9);
}
.controls-panel {
  border-right: 1px solid var(--line);
}
.info-panel {
  border-left: 1px solid var(--line);
  overflow: auto;
  max-height: 900px;
}
.panel-heading {
  display: flex;
  gap: 0.8rem;
  align-items: start;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.panel-heading > span {
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 700;
}
.panel-heading small {
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  color: rgba(11, 26, 29, 0.5);
}
.panel-heading h2 {
  margin: 0.2rem 0 0;
  font:
    700 1.45rem/1 "Manrope",
    sans-serif;
}
.panel-hint {
  margin: 1rem 0;
  color: rgba(11, 26, 29, 0.58);
  font-size: 0.75rem;
  line-height: 1.5;
}
.layer-controls {
  display: grid;
  gap: 0.6rem;
}
.layer-row {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.42);
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s;
}
.layer-row.focused {
  border-color: rgba(18, 139, 142, 0.55);
  box-shadow: inset 3px 0 var(--teal);
}
.layer-row:hover {
  border-color: rgba(18, 139, 142, 0.35);
  transform: translateY(-1px);
}
.layer-toggle {
  width: 100%;
  min-height: 58px;
  padding: 0.65rem 0.7rem;
  display: grid;
  grid-template-columns: 30px 1fr auto 32px;
  gap: 0.55rem;
  align-items: center;
  text-align: left;
  border: 0;
  background: transparent;
}
.layer-toggle[aria-pressed="true"] {
  background: rgba(18, 139, 142, 0.065);
}
.layer-toggle i {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-style: normal;
  font-size: 0.64rem;
}
.layer-toggle strong {
  font:
    700 0.82rem/1.2 "Manrope",
    sans-serif;
}
.layer-toggle small {
  color: rgba(11, 26, 29, 0.48);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.layer-toggle[aria-pressed="true"] small {
  color: var(--teal-dark);
}
.layer-toggle span {
  width: 32px;
  height: 18px;
  border-radius: 99px;
  background: rgba(11, 26, 29, 0.14);
  position: relative;
}
.layer-toggle span:after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}
.layer-toggle[aria-pressed="true"] span {
  background: var(--teal);
}
.layer-toggle[aria-pressed="true"] span:after {
  transform: translateX(14px);
}
.depth-control,
.region-control {
  padding-top: 1.2rem;
  margin-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.depth-control > span,
.region-control > span {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.depth-control > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}
.depth-control button {
  min-height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 0.7rem;
  font-weight: 700;
}
.depth-control button.active {
  background: var(--ink);
  color: #fff;
}
.region-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.region-chips button {
  min-height: 36px;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 0.66rem;
}
.region-chips button.active {
  border-color: var(--teal);
  background: var(--teal-soft);
}
.progress-text {
  margin: 1.2rem 0 0;
  color: rgba(11, 26, 29, 0.58);
  font-size: 0.69rem;
}
.model-panel {
  padding: 1rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.model-toolbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}
.view-switch,
.zoom-controls {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}
.view-switch button,
.zoom-controls button {
  min-width: 42px;
  min-height: 38px;
  padding: 0.35rem 0.65rem;
  border: 0;
  background: transparent;
  font-size: 0.69rem;
  font-weight: 700;
}
.view-switch button.active {
  background: var(--ink);
  color: #fff;
}
.zoom-controls button:hover {
  background: var(--teal-soft);
}
.model-guide {
  margin: 0.7rem 0 0.4rem;
  color: rgba(11, 26, 29, 0.58);
  font-size: 0.69rem;
  text-align: center;
}
.model-viewport {
  width: min(100%, 320px);
  aspect-ratio: 1/3;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(11, 26, 29, 0.1);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.86),
    rgba(255, 255, 255, 0.3)
  );
  touch-action: pan-y;
}
.model-canvas {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  transition: transform 0.35s ease;
}
.model-canvas > img {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 180%;
  height: 90%;
  max-width: none;
  object-fit: fill;
  transition: transform 0.35s ease;
  filter: saturate(0.7) contrast(0.96);
}
.model-canvas[data-view="back"] > img {
  transform: translateX(-50%);
}
.layer-washes,
.structure-markers,
.region-targets {
  position: absolute;
  inset: 0;
}
.layer-washes {
  z-index: 1;
  pointer-events: none;
}
.region-targets {
  z-index: 2;
}
.structure-markers {
  z-index: 3;
  pointer-events: none;
}
.structure-markers button {
  pointer-events: auto;
}
.layer-wash {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  transform: translate(-50%, -50%);
  border-radius: 48%;
}
.layer-wash[data-layer="bones"] {
  background: rgba(110, 135, 131, 0.035);
  box-shadow: inset 0 0 0 1.5px rgba(74, 102, 98, 0.42);
}
.layer-wash[data-layer="joints"] {
  background: transparent;
  border: 2px solid var(--joint);
  border-radius: 50%;
}
.layer-wash[data-layer="muscles"] {
  background: rgba(185, 120, 104, 0.14);
}
.layer-wash[data-layer="connective"] {
  background: repeating-linear-gradient(
    135deg,
    transparent 0 5px,
    rgba(138, 128, 105, 0.58) 5px 7px
  );
}
.layer-wash[data-layer="nerves"] {
  background: transparent;
  border-left: 3px solid var(--nerve);
  border-radius: 42%;
}
.region-target {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 48%;
  background: transparent;
  padding: 0;
}
.region-target:hover,
.region-target:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(18, 139, 142, 0.55);
  background: rgba(18, 139, 142, 0.08);
}
.region-target.selected {
  box-shadow: inset 0 0 0 2px var(--teal);
  background: rgba(18, 139, 142, 0.09);
}
.structure-marker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  border-radius: 50%;
  padding: 0;
  background: var(--marker);
  box-shadow:
    0 1px 0 rgba(11, 26, 29, 0.25),
    0 0 0 2px color-mix(in srgb, var(--marker) 30%, transparent);
  z-index: 4;
}
.structure-marker:hover,
.structure-marker:focus-visible,
.structure-marker.selected {
  width: 24px;
  height: 24px;
  box-shadow: 0 0 0 5px rgba(18, 139, 142, 0.17);
}
.structure-marker.neighbor {
  box-shadow: 0 0 0 5px rgba(212, 111, 85, 0.22);
}
.structure-marker.dimmed {
  opacity: 0.18;
}
.active-legend {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}
.active-legend span {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 700;
}
.active-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--legend);
}
.region-list-toggle {
  display: none;
}
.accessible-regions {
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin-top: 0.5rem;
}
.accessible-regions button {
  min-height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.67rem;
}
.empty-info > span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 700;
}
.empty-info h2 {
  margin: 1.1rem 0;
  font:
    700 clamp(1.8rem, 3vw, 2.7rem)/1.08 "Manrope",
    sans-serif;
  letter-spacing: -0.045em;
}
.empty-info p {
  color: rgba(11, 26, 29, 0.61);
  line-height: 1.65;
}
.info-kicker {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.info-kicker span {
  padding: 0.38rem 0.52rem;
  border: 1px solid var(--line);
  color: var(--teal-dark);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.info-panel article h2 {
  margin: 1rem 0;
  font:
    800 clamp(2.25rem, 4vw, 4.2rem)/0.95 "Manrope",
    sans-serif;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}
.info-panel article > p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: rgba(11, 26, 29, 0.72);
}
.info-panel figure {
  margin: 1.2rem 0;
  background: var(--ink);
}
.info-panel figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.info-panel figcaption {
  padding: 0.5rem 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.62rem;
}
.route-note {
  padding: 0.8rem;
  border-left: 3px solid var(--teal);
  background: var(--teal-soft);
  font-size: 0.76rem !important;
}
.route-note strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--teal-dark);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}
.structure-actions {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
}
.structure-actions button {
  min-height: 44px;
  padding: 0.65rem;
  border: 1px solid var(--line);
  background: transparent;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
}
.structure-actions button[aria-pressed="true"] {
  border-color: var(--teal);
  background: var(--teal-soft);
}
.neighbor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.7rem;
}
.neighbor-list button {
  min-height: 34px;
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  font-size: 0.66rem;
}
.related-links {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.related-links a {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.75rem 0;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.region-structures {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.region-structures > div:first-child {
  display: grid;
  gap: 0.2rem;
}
.region-structures small {
  font-size: 0.6rem;
  letter-spacing: 0.11em;
  color: rgba(11, 26, 29, 0.5);
}
.region-structures strong {
  font:
    700 0.92rem/1.2 "Manrope",
    sans-serif;
}
.structure-list {
  display: grid;
  gap: 0.3rem;
  margin-top: 0.7rem;
  max-height: 240px;
  overflow: auto;
}
.structure-list button {
  min-height: 40px;
  padding: 0.55rem 0.65rem;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
  font-size: 0.68rem;
}
.structure-list button:hover,
.structure-list button.active {
  border-color: var(--teal);
  background: var(--teal-soft);
}
.structure-list small {
  color: var(--teal-dark);
}
.education-note {
  width: min(1440px, 100%);
  margin: 1.2rem auto 0;
  color: rgba(11, 26, 29, 0.58);
  font-size: 0.73rem;
  line-height: 1.55;
}
footer {
  padding: 2.5rem max(1.2rem, 4vw) 3rem;
  display: grid;
  grid-template-columns: 0.85fr 1.6fr auto;
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: rgba(11, 26, 29, 0.58);
  font-size: 0.69rem;
  line-height: 1.55;
}
footer div {
  display: grid;
  align-content: start;
}
footer strong {
  color: var(--ink);
  font-size: 0.78rem;
}
footer p {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1100px) {
  .workspace {
    grid-template-columns: 240px minmax(330px, 1fr);
  }
  .info-panel {
    grid-column: 1/-1;
    border-left: 0;
    border-top: 1px solid var(--line);
    max-height: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .region-structures {
    margin: 0;
    padding: 0 0 0 1.5rem;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}
@media (max-width: 760px) {
  .site-header {
    min-height: 72px;
    padding-inline: 1rem;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .header-link {
    font-size: 0.68rem;
  }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3.8rem 1rem;
  }
  .hero h1 {
    font-size: clamp(3.15rem, 17vw, 5.1rem);
  }
  .hero-copy {
    padding: 0;
  }
  .explorer {
    padding: 1.5rem 0.75rem 2.5rem;
  }
  .explorer-top {
    grid-template-columns: 1fr;
  }
  .random-button {
    width: 100%;
  }
  .workspace {
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .controls-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 1rem;
  }
  .panel-heading,
  .panel-hint {
    display: none;
  }
  .layer-controls {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 0.3rem;
    scrollbar-width: thin;
  }
  .layer-row {
    flex: 0 0 auto;
  }
  .layer-toggle {
    min-width: 158px;
    min-height: 52px;
    grid-template-columns: 26px 1fr 28px;
  }
  .layer-toggle small {
    display: none;
  }
  .depth-control {
    padding-top: 0.75rem;
    margin-top: 0.75rem;
  }
  .region-control {
    padding-top: 0.75rem;
    margin-top: 0.75rem;
  }
  .region-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.3rem;
  }
  .region-chips button {
    flex: 0 0 auto;
  }
  .progress-text {
    margin: 0.7rem 0 0;
  }
  .model-panel {
    padding: 0.75rem;
  }
  .model-toolbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(230, 236, 234, 0.94);
    padding: 0.25rem 0;
  }
  .model-viewport {
    width: min(100%, 300px);
    aspect-ratio: 1/3;
  }
  .region-list-toggle {
    display: block;
    width: 100%;
    min-height: 44px;
    margin-top: 0.7rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    font-weight: 700;
  }
  .accessible-regions {
    display: grid;
  }
  .info-panel {
    grid-column: auto;
    display: block;
    padding: 1rem;
    border-top: 1px solid var(--line);
  }
  .region-structures {
    margin-top: 1.4rem;
    padding: 1.2rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .empty-info h2 {
    font-size: 1.65rem;
  }
  .info-panel article h2 {
    font-size: clamp(2.25rem, 12vw, 3.7rem);
  }
  footer {
    grid-template-columns: 1fr;
    padding-inline: 1rem;
  }
}
@media (max-width: 390px) {
  .model-viewport {
    width: min(100%, 280px);
  }
  .zoom-controls button {
    min-width: 36px;
    padding: 0.3rem;
  }
  .view-switch button {
    min-width: 39px;
  }
  .search-wrap input {
    font-size: 0.82rem;
  }
  .structure-marker {
    width: 20px;
    height: 20px;
  }
  .active-legend {
    justify-content: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
