:root {
  --ink: #171916;
  --muted: #62675f;
  --paper: #f5f6f1;
  --panel: #ffffff;
  --line: #d9ddd2;
  --line-strong: #b8c0b0;
  --sage: #6d7c63;
  --sage-dark: #38482f;
  --cobalt: #21476b;
  --coral: #b85d47;
  --amber: #c89531;
  --shadow: 0 18px 45px rgba(23, 25, 22, 0.08);
  --radius: 8px;
  --container-max: 1380px;
  --page-padding: 24px;
  --panel-padding: 18px;
  --block-gap: 24px;
  --grid-gap: 16px;
  --fs-hero: 28px;
  --fs-section: 20px;
  --fs-title: 16px;
  --fs-body: 14px;
  --fs-body-sm: 13px;
  --fs-label: 10px;
  --fs-label-strong: 11px;
  --fs-metric: 18px;
  --fw-medium: 600;
  --fw-strong: 700;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(33, 71, 107, 0.08), transparent 34rem),
    radial-gradient(circle at 12% 6%, rgba(109, 124, 99, 0.16), transparent 24rem),
    var(--paper);
  font-family: "Manrope", "Avenir Next", "Helvetica Neue", sans-serif;
  letter-spacing: 0;
}

body.lightbox-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

.shell {
  width: min(var(--container-max), 100%);
  margin: 0 auto;
  padding: var(--page-padding);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--grid-gap);
  margin-bottom: var(--block-gap);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
  font-weight: var(--fw-strong);
}

.brand h1 {
  margin: 0;
  font-size: var(--fs-section);
  line-height: 1.1;
  font-weight: var(--fw-strong);
}

.brand p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: var(--fs-body);
}

.top-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.price-note-chip {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 0 12px;
  border: 1px solid rgba(109, 124, 99, 0.28);
  border-radius: 999px;
  background: rgba(109, 124, 99, 0.12);
  color: var(--sage-dark);
  font-size: var(--fs-label-strong);
  font-weight: var(--fw-strong);
  line-height: 1.2;
  white-space: normal;
}

.price-note-chip-card {
  position: absolute;
  right: 0;
  bottom: 8px;
  z-index: 2;
  max-width: var(--card-action-stop);
}

.price-note-chip-detail {
  margin-top: 6px;
  justify-self: start;
}

.favorites-link.is-active,
.audit-link.is-active {
  border-color: var(--sage-dark);
  background: rgba(109, 124, 99, 0.12);
  color: var(--sage-dark);
}

.favorites-counter {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(23, 25, 22, 0.08);
  font-size: var(--fs-label-strong);
  font-weight: var(--fw-strong);
}

.ghost-link,
.solid-link,
.text-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.ghost-link:disabled,
.solid-link:disabled,
.text-button:disabled {
  opacity: 0.44;
  cursor: not-allowed;
}

.ghost-link,
.text-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
}

.solid-link {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
}

.text-button {
  border-color: var(--line-strong);
}

.dashboard {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 18px;
  padding: var(--panel-padding);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.filters h2 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: var(--fw-strong);
}

.metro-filter {
  display: grid;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.88);
}

.metro-filter-actions {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.metro-reset {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sage-dark);
  font-size: 12px;
  font-weight: var(--fw-medium);
  cursor: pointer;
}

.metro-search-input {
  min-height: 38px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.metro-search-input::placeholder {
  color: var(--muted);
}

.metro-filter-list {
  display: grid;
  gap: 6px;
  max-height: 220px;
  overflow: auto;
  padding-right: 4px;
}

.metro-empty {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.metro-option {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.metro-option[hidden] {
  display: none;
}

.metro-option input {
  width: 14px;
  height: 14px;
  margin: 0;
  min-height: 0;
  accent-color: var(--sage-dark);
}

.metro-option span {
  min-width: 0;
  font-size: 12px;
  line-height: 1.25;
  text-transform: none;
  overflow-wrap: anywhere;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.field > label {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.field-hint {
  margin: -6px 0 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.field input:not([type="checkbox"]),
.field select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 0 10px;
  font-size: 13px;
  outline: none;
}

.field input:not([type="checkbox"]):focus,
.field select:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(109, 124, 99, 0.18);
}

.range-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.filter-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: var(--fs-body-sm);
}

.content {
  display: grid;
  gap: var(--block-gap);
}

.summary {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(250px, 320px);
  gap: 14px;
  align-items: stretch;
}

.summary-main,
.summary-stack {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.summary-main {
  display: grid;
  align-content: start;
  background: linear-gradient(135deg, rgba(23, 25, 22, 0.95), rgba(56, 72, 47, 0.92));
  color: #fff;
}

.summary-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 10px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--fs-label-strong);
  font-weight: var(--fw-medium);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.summary-main h2 {
  max-width: 680px;
  margin: 0;
  font-size: 26px;
  line-height: 1.08;
  font-weight: var(--fw-strong);
}

.summary-main p {
  max-width: 620px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-body);
  line-height: 1.5;
}

.summary-stack {
  display: grid;
  align-content: start;
  gap: 10px;
}

.summary-stack-title {
  color: var(--muted);
  font-size: 10px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.summary-card {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.summary-card + .summary-card {
  padding-top: 10px;
  border-top: 1px solid rgba(217, 221, 210, 0.92);
}

.summary-card span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
}

.summary-card strong {
  display: block;
  font-size: 20px;
  line-height: 1.08;
  font-weight: var(--fw-strong);
}

.summary-note {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: var(--fs-body-sm);
}

.map-disclosure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map-disclosure-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.map-disclosure-summary::-webkit-details-marker {
  display: none;
}

.map-disclosure-copy h2 {
  margin: 0;
  font-size: var(--fs-section);
  font-weight: var(--fw-strong);
}

.map-disclosure-copy p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.45;
}

.map-disclosure-side {
  display: flex;
  align-items: center;
  gap: 10px;
}

.map-disclosure-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 18px;
  transition: transform 0.18s ease;
}

.map-disclosure[open] .map-disclosure-arrow {
  transform: rotate(180deg);
}

.map-disclosure-body {
  padding: 16px 18px 18px;
  border-top: 1px solid rgba(217, 221, 210, 0.92);
}

.cards-head {
  display: flex;
  justify-content: space-between;
  gap: var(--grid-gap);
  align-items: end;
}

.cards-head h2 {
  margin: 0;
  font-size: var(--fs-section);
  font-weight: var(--fw-strong);
}

.cards-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.45;
}

.map-chip {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(109, 124, 99, 0.14);
  color: var(--sage-dark);
  font-size: var(--fs-label-strong);
  font-weight: var(--fw-medium);
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: var(--grid-gap);
  align-items: start;
}

.map-shell {
  min-width: 0;
}

.map-sidebar {
  display: grid;
  align-items: start;
}

.map-control-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.site-map {
  height: 420px;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 18%, rgba(109, 124, 99, 0.16), transparent 14rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 244, 236, 0.92));
}

.site-map > div,
.site-map canvas {
  display: block;
}

.map-actions {
  display: grid;
  gap: 10px;
}

.map-note {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-body-sm);
  line-height: 1.45;
}

.map-note:empty {
  display: none;
}

.map-popup {
  display: grid;
  gap: 6px;
  min-width: 210px;
}

.map-popup-floating {
  position: relative;
  width: min(320px, calc(100vw - 56px));
  min-width: 240px;
  max-width: min(320px, calc(100vw - 56px));
  max-height: var(--popup-max-height, 420px);
  padding: 12px;
  border: 1px solid rgba(33, 71, 107, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 34px rgba(23, 25, 22, 0.18);
  overflow: hidden;
}

.mapgl-popup-shell {
  --popup-shift-x: 0px;
  --popup-shift-y: 0px;
  transform: translate(calc(-50% + var(--popup-shift-x)), calc(-100% - 18px + var(--popup-shift-y)));
}

.map-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  cursor: pointer;
}

.map-popup span {
  color: var(--muted);
  font-size: var(--fs-label-strong);
  line-height: 1.35;
}

.map-provider-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-provider-link {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--cobalt);
  text-decoration: none;
  font-size: var(--fs-label-strong);
  font-weight: var(--fw-medium);
  white-space: nowrap;
}

.map-provider-links-detail .map-provider-link {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: var(--fs-body-sm);
}

.map-provider-links-popup .map-provider-link {
  min-height: 26px;
  padding: 0 8px;
}

.map-popup-links {
  display: grid;
  gap: 6px;
  max-height: min(240px, calc(var(--popup-max-height, 420px) - 132px));
  overflow-y: auto;
  padding-right: 4px;
}

.map-popup-office {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(33, 71, 107, 0.1);
  border-radius: 10px;
  background: rgba(33, 71, 107, 0.04);
  color: var(--ink);
  text-decoration: none;
}

.map-popup-office strong {
  flex: 0 0 auto;
  font-size: var(--fs-body-sm);
  line-height: 1.25;
  font-weight: var(--fw-strong);
  white-space: nowrap;
}

.map-popup-office span {
  flex: 0 1 auto;
  color: var(--cobalt);
  font-size: var(--fs-label-strong);
  line-height: 1.3;
  font-weight: var(--fw-medium);
  white-space: nowrap;
}

.sort-select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 0 10px;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  justify-items: stretch;
}

.office-card {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  width: 100%;
  max-width: none;
  height: 204px;
  justify-self: stretch;
  align-items: stretch;
  gap: 14px;
  padding: 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 8px 22px rgba(23, 25, 22, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.office-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.card-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #dfe3d8;
  border: 1px solid rgba(64, 73, 58, 0.08);
  border-radius: 14px;
  align-self: stretch;
  justify-self: start;
}

.card-media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.card-carousel-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.card-image img,
.detail-main-image img,
.thumb-button img,
.plan-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.card-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.48), transparent);
}

.card-status {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
}

.favorite-toggle {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: var(--fs-label-strong);
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.favorite-toggle.active {
  border-color: var(--sage-dark);
  background: rgba(109, 124, 99, 0.14);
  color: var(--sage-dark);
}

.favorite-toggle-inline,
.favorite-toggle-detail,
.favorite-toggle-favorites {
  min-height: 36px;
  padding: 0 12px;
}

.favorite-toggle-table {
  min-height: 34px;
  padding: 0 12px;
}

.card-carousel-button,
.card-carousel-counter,
.card-plan-chip {
  position: absolute;
  z-index: 2;
}

.card-carousel-button {
  top: 50%;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(23, 25, 22, 0.62);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
}

.card-carousel-button.prev {
  left: 12px;
}

.card-carousel-button.next {
  right: 12px;
}

.card-carousel-counter,
.card-plan-chip {
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(23, 25, 22, 0.68);
  color: #fff;
  font-size: var(--fs-label);
  font-weight: var(--fw-strong);
}

.card-carousel-counter {
  right: 12px;
  bottom: 12px;
}

.card-plan-chip {
  top: 12px;
  right: 12px;
  display: none;
}

.card-plan-chip.visible {
  display: inline-flex;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  max-width: 100%;
  padding: 0 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--cobalt);
  font-size: var(--fs-label-strong);
  font-weight: var(--fw-medium);
}

.pill.free {
  background: var(--sage-dark);
}

.pill.readiness {
  background: var(--amber);
  color: #201607;
}

.pill.release {
  background: var(--coral);
}

.pill.unknown {
  background: #777b73;
}

.card-body {
  --card-action-stop: 176px;
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 2px 10px 0 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.card-head {
  min-height: 0;
  padding-right: calc(var(--card-action-stop) - 20px);
}

.card-title {
  min-height: auto;
}

.card-title h3 {
  margin: 0;
  font-size: var(--fs-title);
  line-height: 1.08;
  font-weight: var(--fw-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-title p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: var(--fs-label-strong);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-fit-note {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 0 8px;
  min-height: 22px;
  border-radius: 999px;
  background: rgba(109, 124, 99, 0.12);
  color: var(--sage-dark);
  font-size: 11px;
  line-height: 1.2;
  font-weight: var(--fw-medium);
}

.card-side-stack {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: var(--card-action-stop);
  display: grid;
  justify-items: end;
  gap: 8px;
}

.card-fit-note-side {
  width: 100%;
  min-height: 0;
  margin-top: 0;
  padding: 6px 10px;
  justify-content: flex-start;
  text-align: left;
  line-height: 1.25;
  white-space: normal;
}

.card-link-hint {
  color: var(--sage-dark);
  font-size: var(--fs-label-strong);
  font-weight: var(--fw-medium);
  white-space: nowrap;
}

.card-link {
  display: grid;
  grid-template-rows: 44px 1fr;
  align-content: stretch;
  gap: 8px;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.favorite-toggle-inline {
  position: static;
}

.card-pairs {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  margin-top: 0;
  gap: 0;
  min-height: 0;
  background-image: linear-gradient(var(--line), var(--line));
  background-size: calc(100% - var(--card-action-stop)) 1px;
  background-position: 0 0;
  background-repeat: no-repeat;
}

.card-pair-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
  min-height: 0;
  background-image: linear-gradient(var(--line), var(--line));
  background-size: calc(100% - var(--card-action-stop)) 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
}

.card-pair-row:last-child {
  background-image: none;
}

.card-pair-cell {
  display: grid;
  gap: 2px;
  align-content: center;
  min-height: 0;
  padding: 5px 0;
}

.card-pair-cell span {
  color: var(--muted);
  font-size: var(--fs-label);
  line-height: 1.2;
  text-transform: uppercase;
}

.card-pair-cell strong {
  display: block;
  font-size: var(--fs-body-sm);
  line-height: 1.2;
  font-weight: var(--fw-medium);
  text-align: left;
}

.empty {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}

.detail {
  display: grid;
  gap: var(--block-gap);
}

.shell.detail {
  width: min(var(--container-max), 100%);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(320px, 500px) minmax(0, 1fr);
  gap: var(--grid-gap);
  align-items: stretch;
}

.detail-media {
  display: grid;
  gap: 10px;
}

.detail-main-image {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dfe3d8;
  border: 1px solid var(--line);
}

.detail-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: stretch;
  gap: var(--grid-gap);
  height: 100%;
  padding: var(--panel-padding);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.detail-intro {
  display: grid;
  gap: 8px;
}

.detail-intro > .pill {
  justify-self: start;
  min-height: 20px;
  padding: 0 10px;
  font-size: var(--fs-label);
  font-weight: var(--fw-medium);
}

.detail-panel h1 {
  margin: 2px 0 0;
  font-size: var(--fs-hero);
  line-height: 1.05;
  font-weight: var(--fw-strong);
}

.detail-location-line {
  margin: 0;
  color: var(--sage-dark);
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  line-height: 1.4;
}

.detail-map-link {
  color: var(--cobalt);
  text-decoration: none;
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-medium);
}

.detail-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.detail-description {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.5;
}

.detail-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 18px;
  border-top: 1px solid var(--line);
  align-content: end;
}

.detail-fact {
  display: grid;
  gap: 3px;
  align-content: center;
  min-height: 64px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.detail-fact span {
  color: var(--muted);
  font-size: var(--fs-label);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.detail-fact strong {
  display: block;
  font-size: var(--fs-metric);
  line-height: 1.14;
  font-weight: var(--fw-strong);
}

.section {
  display: grid;
  gap: 12px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
}

.section h2 {
  margin: 0;
  font-size: var(--fs-section);
  font-weight: var(--fw-strong);
}

.section-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.45;
}

.favorites-shell {
  display: grid;
  gap: var(--block-gap);
}

.favorites-summary {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: var(--grid-gap);
}

.favorites-summary-main,
.favorites-summary-stats {
  padding: var(--panel-padding);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.favorites-summary-main {
  background: linear-gradient(135deg, rgba(56, 72, 47, 0.96), rgba(23, 25, 22, 0.92));
  color: #fff;
}

.favorites-summary-main h2 {
  margin: 0;
  font-size: var(--fs-hero);
  line-height: 1.05;
  font-weight: var(--fw-strong);
}

.favorites-summary-main p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: var(--fs-body);
  line-height: 1.5;
}

.favorites-summary-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.favorites-stat {
  display: grid;
  gap: 5px;
  min-height: 78px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.favorites-stat span {
  color: var(--muted);
  font-size: var(--fs-label-strong);
  line-height: 1.2;
  text-transform: uppercase;
}

.favorites-stat strong {
  display: block;
  font-size: var(--fs-metric);
  line-height: 1.12;
  font-weight: var(--fw-strong);
}

.favorites-empty {
  gap: 12px;
}

.favorites-empty h2,
.favorites-empty p {
  margin: 0;
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.favorites-section-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.favorites-layout-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.favorites-layout-chip {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-label-strong);
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.favorites-layout-chip.active {
  border-color: var(--sage-dark);
  background: rgba(109, 124, 99, 0.14);
  color: var(--sage-dark);
}

.compare-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  background: rgba(245, 246, 241, 0.84);
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-row-head {
  min-width: 220px;
  color: var(--muted);
  font-size: var(--fs-label-strong);
  line-height: 1.3;
  text-transform: uppercase;
}

.compare-column-head {
  display: grid;
  gap: 8px;
  justify-items: start;
  min-width: 244px;
}

.compare-column-gallery {
  position: relative;
  width: 228px;
  max-width: 100%;
  height: 204px;
}

.compare-column-gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #dfe3d8;
  touch-action: pan-x pinch-zoom;
}

.compare-column-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  scroll-snap-align: start;
}

.compare-column-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.compare-column-photo-kind,
.compare-gallery-counter {
  position: absolute;
  z-index: 2;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(23, 25, 22, 0.68);
  color: #fff;
  font-size: var(--fs-label);
  font-weight: var(--fw-strong);
}

.compare-column-photo-kind {
  left: 10px;
  top: 10px;
}

.compare-gallery-counter {
  right: 10px;
  bottom: 10px;
}

.compare-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(23, 25, 22, 0.62);
  color: #fff;
  transform: translateY(-50%);
  cursor: pointer;
}

.compare-gallery-nav.prev {
  left: 10px;
}

.compare-gallery-nav.next {
  right: 10px;
}

.compare-column-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.compare-open-link {
  min-height: 36px;
}

.compare-column-head a {
  color: var(--ink);
  text-decoration: none;
  font-size: var(--fs-title);
  font-weight: var(--fw-strong);
  line-height: 1.2;
}

.compare-column-head span {
  color: var(--muted);
  font-size: var(--fs-label-strong);
  line-height: 1.35;
}

.compare-table-wrap-horizontal {
  background: #fff;
}

.favorites-horizontal-table {
  min-width: 1420px;
}

.favorites-horizontal-table th,
.favorites-horizontal-table td {
  vertical-align: middle;
}

.favorites-horizontal-photo-cell {
  width: 124px;
}

.favorites-horizontal-photo {
  position: relative;
  display: block;
  width: 96px;
  height: 72px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #dfe3d8;
  cursor: zoom-in;
}

.favorites-horizontal-photo.empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: default;
}

.favorites-horizontal-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.favorites-horizontal-photo-kind,
.favorites-horizontal-photo-counter {
  position: absolute;
  z-index: 1;
  min-height: 20px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(23, 25, 22, 0.68);
  color: #fff;
  font-size: 10px;
  font-weight: var(--fw-strong);
}

.favorites-horizontal-photo-kind {
  top: 8px;
  left: 8px;
}

.favorites-horizontal-photo-counter {
  right: 8px;
  bottom: 8px;
}

.favorites-site-cell {
  display: grid;
  gap: 4px;
}

.favorites-site-cell a {
  color: var(--ink);
  text-decoration: none;
  font-size: var(--fs-body);
  font-weight: var(--fw-strong);
  line-height: 1.35;
}

.favorites-site-cell small {
  color: var(--muted);
  font-size: var(--fs-label-strong);
  line-height: 1.35;
}

.favorites-actions-cell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 96px;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.thumb-button {
  aspect-ratio: 5 / 4;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
  background: #dfe3d8;
  cursor: pointer;
}

.thumb-button.active {
  border-color: var(--sage-dark);
}

.detail-main-image.zoomable {
  cursor: zoom-in;
}

.terms-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.terms-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.terms-table th,
.terms-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.terms-table th {
  color: var(--muted);
  font-size: var(--fs-label-strong);
  text-transform: uppercase;
}

.compact-table td {
  font-size: var(--fs-body);
  line-height: 1.35;
}

.compact-table td strong {
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
}

.terms-table tr:last-child td {
  border-bottom: 0;
}

.audit-table {
  min-width: 1640px;
}

.audit-table td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: var(--fs-label-strong);
}

.audit-row-has-issues td {
  background: rgba(184, 93, 71, 0.06);
}

.audit-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: var(--fs-label-strong);
  font-weight: var(--fw-strong);
  white-space: nowrap;
}

.audit-badge.ok {
  background: rgba(109, 124, 99, 0.14);
  color: var(--sage-dark);
}

.audit-badge.warn {
  background: rgba(200, 149, 49, 0.18);
  color: #7a5400;
}

.audit-badge.bad {
  background: rgba(184, 93, 71, 0.16);
  color: #8c2f1d;
}

.audit-link-cell {
  color: var(--ink);
  text-decoration: none;
  font-weight: var(--fw-strong);
}

.audit-media-cell {
  min-width: 118px;
}

.audit-thumb-carousel {
  position: relative;
  width: 102px;
}

.audit-thumb {
  display: grid;
  place-items: center;
  width: 102px;
  aspect-ratio: 5 / 4;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #eef1e8;
  cursor: zoom-in;
}

.audit-thumb.office {
  width: 100%;
}

.audit-thumb.plan {
  background: #fff;
}

.audit-thumb.empty {
  color: var(--muted);
  font-size: var(--fs-title);
  font-weight: var(--fw-medium);
  cursor: default;
  background: rgba(245, 246, 241, 0.92);
  border-style: dashed;
}

.audit-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.audit-thumb.plan img {
  object-fit: contain;
  background: #fff;
  padding: 4px;
}

.audit-thumb-nav,
.audit-preview-nav {
  border: 1px solid rgba(42, 48, 38, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(21, 24, 18, 0.12);
}

.audit-thumb-nav {
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: var(--fs-body);
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.audit-thumb-nav.prev {
  left: 6px;
}

.audit-thumb-nav.next {
  right: 6px;
}

.audit-thumb-counter {
  position: absolute;
  right: 6px;
  bottom: 6px;
  min-height: 20px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(23, 25, 22, 0.68);
  color: #fff;
  font-size: var(--fs-label);
  font-weight: var(--fw-strong);
}

.audit-notes {
  display: grid;
  gap: 4px;
  min-width: 260px;
}

.audit-notes span {
  color: var(--muted);
  font-size: var(--fs-label-strong);
  line-height: 1.35;
}

.audit-notes strong {
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-medium);
  line-height: 1.45;
}

.audit-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 48;
  display: grid;
  place-items: center;
  padding: 26px;
}

.audit-preview-modal[hidden] {
  display: none;
}

.audit-preview-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 15, 11, 0.72);
  cursor: pointer;
}

.audit-preview-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(94vw, 1380px);
  max-height: calc(100vh - 52px);
  padding: 22px 22px 18px;
  border-radius: 22px;
  background: rgba(250, 250, 246, 0.98);
  box-shadow: 0 24px 60px rgba(11, 12, 10, 0.26);
}

.audit-preview-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.audit-preview-nav.prev {
  left: 14px;
}

.audit-preview-nav.next {
  right: 14px;
}

.audit-preview-stage {
  display: grid;
  place-items: center;
  min-height: 0;
}

.audit-preview-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 154px);
  border-radius: 16px;
}

.audit-preview-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(42, 48, 38, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: var(--fs-body);
  font-weight: var(--fw-strong);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(21, 24, 18, 0.12);
}

.audit-preview-caption {
  min-height: 20px;
  padding: 0 8px 2px;
  color: var(--muted);
  font-size: var(--fs-body-sm);
  line-height: 1.4;
  text-align: center;
}

.options-table tr.current td {
  background: rgba(109, 124, 99, 0.08);
}

.options-table th:last-child,
.options-table td:last-child {
  text-align: right;
}

.option-favorite-cell {
  white-space: nowrap;
}

.option-size-link {
  display: inline-grid;
  gap: 3px;
  color: var(--cobalt);
  text-decoration: none;
  font-size: var(--fs-body);
  font-weight: var(--fw-strong);
}

.option-size-link small {
  color: var(--muted);
  font-size: var(--fs-label-strong);
  font-weight: var(--fw-medium);
}

.option-size-link.current {
  color: var(--sage-dark);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.plans-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plans-grid.single {
  grid-template-columns: 1fr;
  justify-items: center;
}

.plan-card {
  display: grid;
  place-items: center;
  width: 100%;
  margin: 0;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.plans-grid.single .plan-card {
  width: min(920px, 100%);
}

.plan-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.plan-card img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 560px;
  margin: 0 auto;
  height: auto;
  object-fit: contain;
  background: #fff;
}

.detail-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 28px;
}

.detail-lightbox[hidden] {
  display: none;
}

.detail-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 15, 11, 0.76);
  cursor: pointer;
}

.detail-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(92vw, 1480px);
  max-height: calc(100vh - 56px);
  padding: 22px 22px 18px;
  border-radius: 22px;
  background: rgba(250, 250, 246, 0.98);
  box-shadow: 0 24px 60px rgba(11, 12, 10, 0.28);
}

.detail-lightbox-stage {
  display: grid;
  place-items: center;
  min-height: 0;
}

.detail-lightbox-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 170px);
  border-radius: 18px;
}

.detail-lightbox-close,
.detail-lightbox-nav {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(42, 48, 38, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(21, 24, 18, 0.12);
}

.detail-lightbox-close {
  top: 14px;
  right: 14px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: var(--fs-body);
  font-weight: var(--fw-strong);
  cursor: pointer;
}

.detail-lightbox-nav {
  top: 50%;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.detail-lightbox-nav.prev {
  left: 14px;
}

.detail-lightbox-nav.next {
  right: 14px;
}

.detail-lightbox-caption {
  min-height: 20px;
  padding: 0 8px 2px;
  color: var(--muted);
  font-size: var(--fs-body-sm);
  line-height: 1.4;
  text-align: center;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.video-grid video {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  background: #000;
}

@media (max-width: 900px) {
  .dashboard {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

  .office-card {
    grid-template-columns: 228px minmax(0, 1fr);
    width: 100%;
    height: 204px;
    gap: 14px;
  }

  .summary {
    grid-template-columns: 1fr;
  }

  .favorites-summary,
  .favorites-summary-stats {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .map-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .shell {
    padding: 18px;
  }

  .topbar,
  .cards-head,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .top-actions {
    flex-wrap: wrap;
  }

  .favorites-section-actions {
    justify-content: flex-start;
  }

  .summary,
  .plans-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .summary-stack {
    padding-top: 18px;
  }

  .summary-card {
    grid-template-columns: 1fr;
    gap: 5px;
    min-height: auto;
    padding: 0;
  }

  .summary-main h2,
  .detail-panel h1,
  .favorites-summary-main h2 {
    font-size: 26px;
  }

  .detail-main-image {
    min-height: 0;
  }

  .detail-kpis {
    grid-template-columns: 1fr;
  }

  .detail-fact strong {
    font-size: 17px;
  }

  .site-map {
    height: 340px;
    min-height: 340px;
  }

  .map-disclosure-summary {
    align-items: start;
    flex-direction: column;
  }

  .map-disclosure-side {
    width: 100%;
    justify-content: space-between;
  }

  .map-actions {
    grid-template-columns: 1fr;
  }

  .detail-lightbox {
    padding: 18px;
  }

  .detail-lightbox-dialog {
    width: min(96vw, 1120px);
    padding: 18px 18px 16px;
  }

  .detail-lightbox-image {
    max-height: calc(100vh - 150px);
  }

  .audit-preview-modal {
    padding: 18px;
  }

  .audit-preview-dialog {
    width: min(96vw, 1120px);
    padding: 18px 18px 16px;
  }

  .audit-preview-nav {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .audit-preview-image {
    max-height: calc(100vh - 144px);
  }
}

@media (max-width: 680px) {
  .office-card {
    grid-template-columns: 1fr;
    height: auto;
  }

  .card-image {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .card-body {
    --card-action-stop: 0px;
    height: auto;
    padding: 2px 0 0;
  }

  .card-head {
    flex-direction: column;
    padding-right: 112px;
  }

  .card-link-hint {
    white-space: normal;
  }

  .card-title h3 {
    font-size: var(--fs-metric);
    white-space: normal;
  }

  .card-title p {
    font-size: var(--fs-label-strong);
    white-space: normal;
  }

  .card-pair-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .card-pair-cell {
    padding: 8px 0;
  }

  .card-body {
    padding: 10px 12px;
  }

  .price-note-chip-card {
    position: static;
    margin-bottom: 8px;
  }

  .thumbs {
    grid-auto-columns: 78px;
  }

  .card-head {
    padding-right: 0;
  }

  .compare-column-head {
    min-width: 200px;
  }

  .compare-column-gallery {
    width: 100%;
    height: 188px;
  }

  .favorite-toggle-inline {
    position: static;
    margin-bottom: 8px;
  }

  .card-side-stack {
    position: static;
    width: auto;
    justify-items: start;
    margin-bottom: 8px;
  }

  .audit-thumb {
    width: 84px;
  }

  .audit-thumb-carousel {
    width: 84px;
  }

  .audit-thumb-nav {
    width: 22px;
    height: 22px;
    font-size: 14px;
  }

  .plan-card {
    padding: 12px;
  }

  .plan-card img {
    max-height: 420px;
  }

  .detail-lightbox {
    padding: 10px;
  }

  .detail-lightbox-dialog {
    width: 100%;
    padding: 54px 12px 12px;
    border-radius: 18px;
  }

  .detail-lightbox-close {
    top: 10px;
    right: 10px;
  }

  .detail-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .detail-lightbox-nav.prev {
    left: 8px;
  }

  .detail-lightbox-nav.next {
    right: 8px;
  }

  .detail-lightbox-image {
    max-height: calc(100vh - 136px);
  }

  .audit-preview-modal {
    padding: 10px;
  }

  .audit-preview-dialog {
    width: 100%;
    padding: 54px 12px 12px;
    border-radius: 18px;
  }

  .audit-preview-close {
    top: 10px;
    right: 10px;
  }

  .audit-preview-nav {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .audit-preview-nav.prev {
    left: 8px;
  }

  .audit-preview-nav.next {
    right: 8px;
  }

  .audit-preview-image {
    max-height: calc(100vh - 132px);
  }
}
