/* An architectural plan on a dark drafting grid, with a paper key beside it. */
.office-heading {
  padding-block: clamp(1.6rem, 4vw, 3.6rem) 1.4rem;
}
.office-heading .crumb {
  margin-bottom: 1.4rem;
}
.office-heading h1 {
  max-width: 22ch;
  font-size: clamp(2.5rem, 6.4vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.052em;
  font-weight: 500;
  margin: 0.45rem 0 0.7rem;
}
.office-heading > p {
  color: var(--slate);
  font-size: 1.1rem;
}
.office-feature {
  margin-block: 1rem 0;
}
.office-exhibit {
  border: 1px solid #b3b6a6;
  background: #fffcf3;
  padding: clamp(1rem, 2.5vw, 2.2rem);
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 1.5rem;
}
.office-exhibit figcaption {
  grid-column: 1;
}
.office-exhibit h2 {
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.office-exhibit > p {
  grid-column: 1;
  margin-top: 0.45rem;
  color: #435447;
}
.office-exhibit fieldset {
  margin: 0;
  min-width: 0;
}
.plan-hidden,
.plan-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.floor-period {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  display: inline-flex;
  padding: 3px;
  border: 1px solid #889283;
  border-radius: 2rem;
}
.floor-period label {
  position: relative;
  cursor: pointer;
  border-radius: 2rem;
  font-weight: 600;
  min-width: 5.5rem;
  padding: 0.58rem 1.2rem;
  text-align: center;
}
.floor-period label:has(:checked) {
  background: #1d4439;
  color: #fff;
}
.floor-period label:has(:focus-visible),
.floor-room:has(:focus-visible) {
  outline: 3px solid #ad691c;
  outline-offset: 3px;
  z-index: 1;
}
.floor-split {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 2.35fr) minmax(16rem, 1fr);
  margin-top: 1.3rem;
  border: 1px solid #8a9989;
}
.floor-drawing {
  color: #fcf8e8;
  padding: clamp(0.85rem, 2vw, 1.75rem);
  background-color: #183f36;
  background-image:
    linear-gradient(#b8d6bd13 1px, transparent 1px),
    linear-gradient(90deg, #b8d6bd13 1px, transparent 1px);
  background-size: 1rem 1rem;
}
.floor-map {
  border: 3px double #d0dcc7;
  padding: 4px;
}
.floor-wing {
  display: grid;
  gap: 4px;
}
.floor-service {
  grid-template-columns: 1.25fr 1fr 1fr;
}
.floor-protection {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.floor-room {
  display: block;
  position: relative;
  min-width: 0;
  min-height: 8.5rem;
  background: #244b40;
  border: 1.5px solid #bed3bd;
  color: #fff;
  padding: 1rem 0.55rem 1.5rem;
  cursor: pointer;
}
.floor-room:before {
  position: absolute;
  content: "";
  width: 34%;
  height: 4px;
  left: 12%;
  top: -2px;
  background: #21463c;
  border-block: 1px solid #d3e2cd;
}
.floor-room:has(:checked) {
  background: #365c4b;
  border: 2px solid #f9d177;
  box-shadow: inset 0 0 0 2px #244436;
}
.floor-room:hover {
  background: #355849;
}
.floor-room:has(:focus-visible) {
  outline-color: #ffd985;
  outline-offset: -5px;
}
.floor-room-name {
  display: block;
  font-size: clamp(0.92rem, 1.5vw, 1.18rem);
  font-weight: 600;
  line-height: 1.25;
}
.room-hours {
  display: block;
  font-size: 0.89rem;
  color: #e4ecdf;
  margin-top: 0.12rem;
  font-variant-numeric: tabular-nums;
}
.floor-desks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 7.3rem;
  min-height: 0.55rem;
  margin-top: 0.8rem;
  align-content: flex-start;
}
.floor-desks i,
.floor-key i {
  width: 0.45rem;
  height: 0.45rem;
  display: inline-block;
  background: #f9cf71;
  border-radius: 1px;
}
.floor-door {
  position: absolute;
  left: 14%;
  bottom: -2px;
  width: 1.15rem;
  height: 1.15rem;
  border: 1px solid #a4bda9;
  border-left: 2px solid #d3decd;
  border-bottom-color: #244b40;
  border-radius: 0 100% 0 0;
}
.floor-protection .floor-door {
  bottom: auto;
  top: -2px;
  left: auto;
  right: 10%;
  transform: rotate(180deg);
}
.floor-protection .floor-room {
  padding-top: 1.6rem;
  padding-bottom: 0.85rem;
}
.floor-protection .floor-room:before {
  top: auto;
  bottom: -2px;
}
.floor-hall {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 2.8rem;
  color: #dee9d9;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.floor-hall::before,
.floor-hall::after {
  content: "";
  flex: 1;
  border-top: 1px dashed #99b3a0;
}
.floor-key {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #e1e9dc;
  font-size: 0.91rem;
  padding-top: 0.8rem;
}
.floor-inspector {
  padding: clamp(1.1rem, 2.1vw, 2rem);
  background: #eeeddf;
}
.floor-inspector h3 {
  font-size: 1.55rem;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.note-period {
  margin: 0.45rem 0 0.85rem;
  font-weight: 600;
  color: #4f5c4d;
  font-size: 0.93rem;
}
.floor-inspector h4 {
  font-size: 1rem;
  margin: 1rem 0 0.2rem;
}
.floor-inspector p {
  line-height: 1.48;
}
.office-exhibit .plan-future {
  display: none;
}
.office-exhibit:has([value="future"]:checked) .plan-today {
  display: none;
}
.office-exhibit:has([value="future"]:checked) .plan-future {
  display: block;
}
.floor-note {
  display: none;
}
.office-exhibit:has([value="licensing"]:checked) [data-notes="licensing"],
.office-exhibit:has([value="finance"]:checked) [data-notes="finance"],
.office-exhibit:has([value="operations"]:checked) [data-notes="operations"],
.office-exhibit:has([value="enforcement"]:checked) [data-notes="enforcement"],
.office-exhibit:has([value="quality"]:checked) [data-notes="quality"],
.office-exhibit:has([value="strategy"]:checked) [data-notes="strategy"],
.office-exhibit:has([value="governance"]:checked) [data-notes="governance"] {
  display: block;
}
.floor-totals {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #c9cbbc;
}
.floor-totals > div {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
}
.floor-totals b {
  white-space: nowrap;
  color: #254b38;
  font-size: 1.22rem;
  font-variant-numeric: tabular-nums;
}
.floor-totals span {
  color: #475347;
  font-size: 0.95rem;
}
.floor-table {
  grid-column: 1 / -1;
  padding-top: 0.75rem;
}
.floor-table summary {
  cursor: pointer;
  width: fit-content;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.floor-table summary:focus-visible {
  outline: 3px solid #ad691c;
  outline-offset: 3px;
}
.floor-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.floor-table caption {
  text-align: left;
  font-weight: 600;
  padding-bottom: 0.4rem;
}
.floor-table th,
.floor-table td {
  padding: 0.45rem;
  text-align: left;
  border-bottom: 1px solid #c9cbbc;
}
@media (max-width: 62rem) {
  .floor-split {
    grid-template-columns: 1fr;
  }
  .floor-room {
    min-height: 7.5rem;
  }
  .floor-totals > div {
    display: block;
  }
  .floor-totals b,
  .floor-totals span {
    display: block;
  }
}
@media (max-width: 44rem) {
  .office-exhibit {
    grid-template-columns: minmax(0, 1fr);
  }
  .office-exhibit .floor-period {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    margin-top: 0.9rem;
  }
  .floor-service,
  .floor-protection {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .floor-service .floor-room:first-child {
    grid-column: 1/-1;
  }
  .floor-room,
  .floor-protection .floor-room {
    min-height: 5.9rem;
    padding: 0.65rem 0.45rem 1rem;
  }
  .floor-protection .floor-room {
    padding-top: 1.2rem;
  }
  .floor-desks {
    max-width: none;
    gap: 3px;
    margin-top: 0.35rem;
  }
  .floor-room-name {
    font-size: 0.9rem;
  }
  .floor-hall {
    min-height: 2.2rem;
  }
  .floor-split {
    margin-top: 0.75rem;
  }
}
@media (max-width: 25rem) {
  .office-feature {
    width: 94%;
  }
  .office-exhibit {
    padding: 0.7rem;
  }
  .floor-drawing {
    padding: 0.65rem;
  }
}
@media (forced-colors: active) {
  .floor-room:has(:checked),
  .floor-period label:has(:checked) {
    outline: 3px solid Highlight;
    outline-offset: -3px;
  }
  .floor-desks i,
  .floor-key i {
    background: CanvasText;
    forced-color-adjust: none;
  }
}
@media print {
  .office-exhibit,
  .floor-split {
    display: block;
  }
  .floor-drawing,
  .floor-inspector,
  .floor-period,
  .floor-totals,
  .floor-table summary {
    display: none;
  }
  .floor-table::details-content {
    content-visibility: visible;
  }
}
