.operations-page {
  color: #202726;
  background: #f4f3ef;
}
.atlas-wrap {
  max-width: 85rem;
  margin: auto;
  padding: clamp(2rem, 5vw, 4.2rem) clamp(1.2rem, 4vw, 4rem);
}
.atlas-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.atlas-heading .eyebrow { color: #87621e; margin-bottom: .6rem; }
.atlas-heading h1 { font-size: clamp(2.45rem, 5vw, 4.5rem); letter-spacing: -.045em; margin: 0; }
.atlas-heading > p { max-width: 40ch; margin: 0; color: #515953; }
.atlas-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(20rem, 1fr);
  border: 1px solid #cfcec6;
  background: #fff;
}
.atlas-sheet {
  display: grid;
  position: relative;
  grid-template-rows: auto 1fr auto;
  padding: 1rem clamp(1rem, 2.5vw, 2.25rem);
  background-color: #edeee8;
  background-image: radial-gradient(#bbbfaf .7px, transparent .8px);
  background-size: 10px 10px;
}
.atlas-sheet-header { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; color: #384139; }
.atlas-sheet-header strong { font-size: 1.15rem; }
.atlas-sheet-header span { font-variant-numeric: tabular-nums; }
.atlas-stage { position: relative; width: min(100%, 26rem); align-self: center; margin: .5rem auto; }
.atlas-stage img { display: block; width: 100%; height: auto; }
.atlas-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: clamp(15px, 1.4vw, 21px);
  height: clamp(15px, 1.4vw, 21px);
  display: grid;
  place-content: center;
  border: 1px solid white;
  border-radius: 100%;
  padding: 0;
  font: 700 .7rem/1 system-ui, sans-serif;
  color: #fff;
  background: #a33c17;
  cursor: pointer;
  pointer-events: auto;
}
.atlas-pin.temporary { background: #f2c859; color: #302610; border-color: #5b491d; }
.atlas-pin[aria-pressed=true], .atlas-pin:focus-visible, .atlas-pin:hover { z-index: 2; outline: 2px solid #171c18; outline-offset: 2px; }
.atlas-pin[hidden] { display: none; }
.atlas-callout {
  position: absolute;
  transform: translate(-50%, calc(-100% - 14px));
  z-index: 3;
  pointer-events: none;
  padding: .24rem .55rem;
  border-radius: .2rem;
  color: white;
  background: #1e2826;
  font-size: .82rem;
  font-weight: 650;
  white-space: nowrap;
}
.atlas-callout.align-left { transform: translate(-15%, calc(-100% - 14px)); }
.atlas-callout.align-right { transform: translate(-85%, calc(-100% - 14px)); }
.atlas-poster { justify-self: start; padding-block: .4rem; text-underline-offset: .25em; text-decoration: underline; color: #494f49; font-size: .9rem; }
.atlas-controls { padding: clamp(1.25rem, 3.2vw, 3rem); align-self: center; min-width: 0; }
.atlas-controls h2 { font-size: clamp(1.6rem, 2.7vw, 2.5rem); line-height: 1.1; letter-spacing: -.035em; }
.atlas-filters { display: flex; flex-wrap: wrap; gap: .35rem; }
.atlas-filters button {
  border: 1px solid #adada3; border-radius: .25rem; padding: .6rem .65rem;
  color: #353834; background: white; cursor: pointer;
  font-family: inherit; font-size: .9rem; font-weight: 600; line-height: 1.2;
}
.atlas-filters button[aria-pressed=true] { background: #252b28; color: white; border-color: #252b28; }
.atlas-filters button[data-operation-filter]:not([data-operation-filter="all"])::before {
  content: ""; display: inline-block; width: .58rem; height: .58rem; margin-right: .35rem;
  border: 1px solid #6d5a35; border-radius: 50%; background: #edbc4d;
}
.atlas-filters button[data-operation-filter="permanent"]::before { background: #c9582a !important; }
.atlas-controls label { display: block; margin: 1.4rem 0 .4rem; font-weight: 650; }
.atlas-controls select { width: 100%; padding: .7rem; font: inherit; color: #202624; border: 1px solid #989d92; background: white; border-radius: .25rem; }
.atlas-detail { border-top: 1px solid #d6d6ce; margin: 1.5rem 0; padding-top: 1.25rem; }
.atlas-detail h3 { font-size: clamp(1.55rem, 2.3vw, 2.2rem); letter-spacing: -.025em; margin: .55rem 0 .15rem; }
.atlas-detail p { margin: 0; color: #47514c; }
#operation-detail-description { margin-top: .75rem; }
.atlas-status { display: inline-flex; gap: .5rem; align-items: center; font-weight: 650; font-size: .88rem; }
.atlas-status::before { content: ""; width: .65rem; height: .65rem; border-radius: 50%; background: #a33c17; }
.atlas-status.temporary::before { background: #f2c859; border: 1px solid #7b621e; }
.atlas-controls { padding: clamp(1.3rem, 2.45vw, 2.25rem); }
.atlas-controls h2 { margin: 0 0 .75rem; }
.atlas-controls label { margin-top: 1rem; }
.atlas-skip { display: none; }
.atlas-detail { margin: 1rem 0; padding-top: 1rem; }
.atlas-detail-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .7rem; }
.atlas-point-number {
  padding: .1rem .55rem; border: 1px solid #d1c5ad; border-radius: 2rem;
  color: #6a501f; background: #f8f4ea; font-size: .76rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.atlas-detail h3 { margin: .45rem 0 .05rem; }
#operation-detail-description { margin-top: .25rem; font-size: .92rem; }
.atlas-photo {
  display: block; position: relative; width: 100%; padding: 0; margin: 0 0 1rem;
  border: 0; border-radius: .3rem; overflow: hidden; background: #e6e9e3; cursor: zoom-in;
}
.atlas-photo[hidden] { display: none; }
.atlas-photo img { display: block; width: 100%; height: clamp(9rem, 13vw, 13rem); object-fit: cover; }
.atlas-photo-action {
  position: absolute; right: .65rem; bottom: .65rem; display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .55rem; border-radius: .25rem; color: white; background: #19201fed;
  font: 650 .78rem/1.4 system-ui, sans-serif;
}
.atlas-photo:hover .atlas-photo-action, .atlas-photo:focus-visible .atlas-photo-action { background: #111816; text-decoration: underline; }
.atlas-lightbox {
  width: fit-content; max-width: min(60rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: 0;
  color: #222824; background: #faf9f6; border: 0; border-radius: .45rem; box-shadow: 0 1rem 5rem #0004;
}
.atlas-lightbox::backdrop { background: #151b18dc; }
body:has(.atlas-lightbox[open]) { overflow: hidden; }
.atlas-lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; }
.atlas-lightbox-bar p { margin: 0 0 .1rem; color: #705723; font-size: .76rem; font-weight: 650; }
.atlas-lightbox-bar h2 { margin: 0; font-size: clamp(1rem, 2.2vw, 1.45rem); line-height: 1.22; }
.atlas-lightbox-bar button {
  display: flex; align-items: center; gap: .35rem; min-height: 44px; padding: .35rem .65rem;
  background: #fff; color: #292d29; border: 1px solid #c5c9be; border-radius: .25rem; cursor: pointer; font: inherit;
}
.atlas-lightbox-bar button span { line-height: 1; font-size: 1.25rem; }
.atlas-lightbox > img { width: auto; max-width: 100%; height: auto; max-height: 74vh; max-height: 74dvh; object-fit: contain; margin: auto; }
@media(max-width: 50rem) {
  .atlas-heading, .atlas-layout { grid-template-columns: 1fr; }
  .atlas-heading { gap: .65rem; }
  .atlas-stage { width: min(100%, 22rem); }
  .atlas-sheet { padding: .85rem; }
  .atlas-controls { padding: 1.25rem; }
  .atlas-layout { padding: 1rem; gap: .65rem; }
  .atlas-controls { display: contents; }
  .atlas-controls h2 { order: 0; margin: 0; }
  .atlas-filters { order: 1; }
  .atlas-controls label { order: 2; margin: .4rem 0 0; }
  .atlas-controls select { order: 3; }
  .atlas-select-label { order: 2; display: flex; justify-content: space-between; align-items: center; gap: .35rem; margin-top: .2rem; }
  .atlas-select-label label { margin: 0; }
  .atlas-skip { display: inline-flex; align-items: center; justify-content: end; min-height: 36px; padding: .2rem 0; border: none; background: transparent; color: #755621; font: 650 .83rem/1.2 system-ui, sans-serif; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
  .atlas-sheet { order: 4; margin-top: .4rem; }
  .atlas-detail { order: 5; margin: .5rem 0; }
  .atlas-photo { order: 6; margin: 0 0 .35rem; }
  .atlas-photo img { height: auto; aspect-ratio: 2.15; max-height: 15rem; }
  #atlas-quote { order: 7; }
}
