.venue-page {
  --v-blue: #4e52cf;
  --v-muted: #686378;
}
.venue-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}
.venue-eyebrow {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--v-blue);
  margin-bottom: 12px;
}
.venue-heading h1 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  letter-spacing: -1.8px;
}
.venue-heading p {
  color: var(--v-muted);
  margin-top: 12px;
}
.venue-heading .button {
  white-space: nowrap;
  gap: 14px;
}
.venue-location {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  gap: 20px;
}
.venue-location > div {
  display: flex;
  align-items: center;
  gap: 22px;
}
.venue-location-code {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1.6rem;
  color: var(--v-blue);
  padding-right: 23px;
  border-right: 1px solid var(--line);
}
.venue-location strong {
  font-weight: 600;
}
.venue-location p {
  color: var(--v-muted);
  font-size: 0.84rem;
  margin-top: 3px;
}
.venue-context {
  color: var(--v-muted);
  font-size: 0.78rem;
  max-width: 900px;
  margin: 12px 0 23px;
}
.venue-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  padding: 19px 0;
}
.venue-stats > div {
  display: flex;
  align-items: baseline;
  gap: 13px;
  padding: 0 22px;
  border-right: 1px solid var(--line);
}
.venue-stats > div:first-child {
  padding-left: 0;
}
.venue-stats > div:last-child {
  border: 0;
}
.venue-stats strong {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -1px;
}
.venue-stats span {
  font-size: 0.76rem;
  color: var(--v-muted);
  line-height: 1.35;
}
.venue-plan {
  border: 1px solid #c9c2d6;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}
.venue-toolbar {
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #c9c2d6;
  flex-wrap: wrap;
}
.venue-modes {
  display: flex;
  background: #e7e5f6;
  border: 1px solid #c9c2d6;
  border-radius: 7px;
  padding: 3px;
  gap: 3px;
}
.venue-modes button {
  padding: 7px 14px;
  border: 0;
  background: transparent;
  color: #686378;
  border-radius: 5px;
  font-size: 0.8rem;
}
.venue-modes button[aria-pressed="true"] {
  background: #ffffff;
  color: #22204f;
  box-shadow: 0 1px 4px #22204f18;
  font-weight: 600;
}
.venue-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.venue-tools label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  margin-right: 14px;
  white-space: nowrap;
}
.venue-tools input {
  accent-color: #4e52cf;
  width: 15px;
  height: 15px;
}
.venue-tools .icon-button {
  display: grid;
  place-items: center;
  width: 30px;
  min-height: 30px;
  height: 30px;
  border: 1px solid var(--line);
  background: #ffffff;
  font-size: 1.1rem;
  padding: 0;
}
.venue-canvas {
  width: 100%;
  overflow: auto;
  max-height: 900px;
  background: #f7f6f4;
}
.venue-svg {
  display: block;
  width: 100%;
  min-width: 780px;
  height: auto;
}
.venue-canvas.zoom-2 .venue-svg {
  width: 150%;
  min-width: 1170px;
}
.venue-canvas.zoom-3 .venue-svg {
  width: 200%;
  min-width: 1560px;
}
.venue-hit {
  cursor: pointer;
  outline: none;
}
.venue-hit:hover > rect:first-of-type,
.venue-hit:focus > rect:first-of-type {
  stroke: #ef5b3b;
  stroke-width: 3;
}
.venue-hit:focus > rect:first-of-type {
  stroke-dasharray: 5 3;
}
.venue-caption {
  display: flex;
  justify-content: space-between;
  padding: 14px 19px;
  border-top: 1px solid #c9c2d6;
  font-size: 0.69rem;
  color: var(--v-muted);
  gap: 15px;
}
.venue-caption span:first-child {
  color: #4e52cf;
  font-weight: 600;
}
.venue-detail-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 27px 0 12px;
}
.venue-detail-top label {
  color: var(--v-muted);
  font-size: 0.78rem;
}
.venue-detail-top select {
  border: 1px solid #c9c2d6;
  border-radius: 7px;
  padding: 9px 35px 9px 12px;
  background: #ffffff;
  max-width: 100%;
  font-size: 0.85rem;
}
.venue-detail {
  display: grid;
  grid-template-columns: 230px 1fr;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.venue-detail-title {
  padding: 27px 24px;
  background: #e7e5f6;
  border-right: 1px solid #c9c2d6;
}
.venue-detail-title h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.6px;
}
.venue-detail-title p {
  margin: 12px 0 24px;
  color: #4e52cf;
  font-size: 0.8rem;
}
.venue-detail-title a {
  font-size: 0.78rem;
}
.venue-detail-body {
  padding: 25px 28px;
}
.venue-detail-purpose {
  color: #4e52cf;
  font-size: 0.92rem;
  max-width: 780px;
}
.venue-detail-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 22px;
}
.venue-detail-columns h3 {
  font-size: 0.75rem;
  margin-bottom: 7px;
}
.venue-detail-columns p {
  font-size: 0.76rem;
  color: var(--v-muted);
  line-height: 1.7;
}
.venue-bottom {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
  margin: 25px 0;
}
.venue-bottom h2 {
  font-size: 1.35rem;
}
.venue-steps {
  list-style: none;
  padding: 0;
  margin: 23px 0 0;
}
.venue-steps li {
  display: flex;
  gap: 17px;
  margin-top: 18px;
}
.venue-steps b {
  color: var(--v-blue);
  font:
    500 0.75rem "IBM Plex Sans",
    sans-serif;
  padding-top: 4px;
}
.venue-steps strong {
  font-size: 0.82rem;
}
.venue-steps p {
  font-size: 0.79rem;
  color: var(--v-muted);
  margin-top: 4px;
}
.venue-checks {
  padding-left: 18px;
  margin: 23px 0;
}
.venue-checks li {
  margin-bottom: 13px;
  padding-left: 4px;
  font-size: 0.82rem;
  color: #4e52cf;
}
.venue-references {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 0.78rem;
  color: var(--v-muted);
}
.venue-references summary {
  cursor: pointer;
  color: #4e52cf;
  font-weight: 600;
}
.venue-references p {
  margin-top: 15px;
  max-width: 850px;
}
.venue-references > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 20px 0;
}
.venue-references a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
}
.venue-references a strong {
  color: #4e52cf;
  text-decoration: underline;
}
@media (min-width: 1500px) {
  .venue-canvas {
    max-height: none;
  }
}
@media (max-width: 1150px) {
  .venue-detail {
    grid-template-columns: 200px 1fr;
  }
  .venue-detail-columns {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .venue-stats > div {
    padding: 0 15px;
    gap: 10px;
  }
  .venue-heading .button {
    font-size: 0.8rem;
  }
}
@media (max-width: 800px) {
  .venue-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .venue-heading .button {
    align-self: flex-start;
  }
  .venue-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .venue-stats > div {
    padding: 0;
    border: 0;
  }
  .venue-bottom {
    grid-template-columns: 1fr;
  }
  .venue-caption {
    flex-direction: column;
    gap: 4px;
  }
  .venue-detail {
    grid-template-columns: 1fr;
  }
  .venue-detail-title {
    border-right: 0;
    border-bottom: 1px solid #c9c2d6;
  }
  .venue-detail-title p {
    margin-bottom: 10px;
  }
  .venue-references > div {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .venue-location {
    padding: 17px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .venue-location > div {
    gap: 14px;
  }
  .venue-location-code {
    font-size: 1.3rem;
    padding-right: 14px;
  }
  .venue-location strong {
    font-size: 0.88rem;
  }
  .venue-location p {
    font-size: 0.74rem;
  }
  .venue-stats strong {
    font-size: 1.5rem;
  }
  .venue-tools {
    width: 100%;
    justify-content: flex-end;
  }
  .venue-tools label {
    margin-right: auto;
  }
  .venue-toolbar {
    gap: 12px;
    padding: 12px;
  }
  .venue-detail-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .venue-detail-top select {
    width: 100%;
  }
  .venue-detail-body {
    padding: 22px;
  }
  .venue-heading h1 {
    letter-spacing: -1px;
  }
  .venue-canvas {
    max-height: 535px;
  }
  .venue-plan:before {
    content: "Swipe across the plan to explore →";
    display: block;
    font-size: 0.69rem;
    padding: 8px 13px;
    background: #e7e5f6;
    color: #4e52cf;
  }
}
