.salon-detail, .salon-admin { padding-block: 1.1rem clamp(3.5rem, 7vw, 6rem); }
.salon-detail .breadcrumb { flex-wrap: wrap; overflow-wrap: anywhere; }

.salon-heading {
  padding-block: clamp(1.45rem, 3.6vw, 3.2rem) clamp(1.5rem, 2.7vw, 2.5rem);
}

.salon-heading h1 {
  font-size: clamp(3rem, 7vw, 6.1rem);
  overflow-wrap: anywhere;
}

.salon-heading > p { margin-top: .65rem; }

.salon-location {
  display: flex;
  gap: .4rem;
  align-items: center;
  color: var(--muted);
  font-weight: 600;
}

.salon-location .icon { width: 1.05rem; height: 1.05rem; }
.salon-heading .salon-summary { max-width: 58ch; font-size: clamp(1.05rem, 1.8vw, 1.2rem); }

.salon-preview {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .8rem;
  padding: .65rem 1rem;
  border: 1px solid #e4d2bc;
  border-radius: 12px;
  background: #f4e9dc;
  font-size: .9rem;
}

.salon-illustration {
  display: grid;
  position: relative;
  align-items: end;
  min-height: clamp(210px, 30vw, 354px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green-dark);
}

.salon-illustration img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.salon-illustration figcaption {
  z-index: 1;
  justify-self: start;
  margin: .9rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: var(--green-dark);
  color: var(--cream);
  font-size: .82rem;
}

.salon-gallery-grid, .salon-more-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

.salon-gallery-grid .salon-photo:first-child { grid-column: 1 / -1; }

.salon-photo {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow-wrap: anywhere;
}

.salon-photo a {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 12px;
  background: var(--sage-pale);
}

.salon-gallery-grid .salon-photo:first-child a { aspect-ratio: 16 / 9; }

.salon-photo img { width: 100%; height: 100%; object-fit: cover; }

.salon-photo-dialog {
  position: fixed;
  inset: 0;
  width: min(64rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--cream);
  color: var(--ink);
}

.salon-photo-dialog::backdrop { background: rgb(17 26 22 / 82%); }
.salon-photo-viewer { display: grid; gap: .65rem; padding: .8rem; }
.salon-photo-viewer > img { width: 100%; max-height: min(70dvh, 46rem); object-fit: contain; background: var(--paper); }
.salon-photo-controls, .salon-photo-navigation { display: flex; align-items: center; justify-content: space-between; gap: .65rem; }
.salon-photo-controls p { min-width: 0; overflow-wrap: anywhere; }
.salon-photo-dialog .button { flex: none; min-height: 44px; }
body:has(.salon-photo-dialog[open]) { overflow: hidden; }

.salon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  padding-block: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.salon-actions .button {
  justify-content: flex-start;
  padding-inline: 1rem;
}

.salon-actions .icon { width: 1.1rem; height: 1.1rem; }

.salon-columns {
  display: grid;
  gap: 2rem;
  margin-top: clamp(1.5rem, 3.8vw, 3rem);
}

.salon-main:not(:has(.salon-section)) { display: none; }
.salon-section + .salon-section { margin-top: clamp(1.8rem, 4vw, 3rem); }
.salon-section h2, .salon-related h2, .salon-visit h2 { font-size: clamp(2.05rem, 4.5vw, 3rem); }
.salon-section h3, .salon-visit h3 { font-size: 1.55rem; }

.salon-overview p {
  max-width: 65ch;
  margin-top: .85rem;
  overflow-wrap: anywhere;
}

.salon-visit {
  min-width: 0;
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--cream);
}

.salon-visit-block { margin-top: 1.15rem; }
.salon-visit-block + .salon-visit-block { padding-top: 1.1rem; border-top: 1px solid var(--border); }
.salon-visit p { margin-top: .4rem; color: var(--muted); overflow-wrap: anywhere; }
.salon-visit h4 { margin-top: 1rem; font-weight: 650; }
.salon-visit .salon-observed { margin-top: .8rem; }
.salon-visit .text-link { justify-content: flex-start; }
.salon-hours { margin-top: .6rem; font-size: .92rem; }

.salon-hours > div, .salon-suitability > div, .salon-prices > li {
  display: flex;
  justify-content: space-between;
  gap: .25rem 1rem;
  padding-block: .4rem;
  border-bottom: 1px solid var(--border);
}

.salon-hours dd, .salon-suitability dd { text-align: right; }
.salon-hours dd { font-variant-numeric: tabular-nums; }
.salon-open-now { padding: .12rem .55rem; border-radius: 1rem; background: var(--sage-pale); color: var(--green); font-weight: 650; }
.salon-open-now:not([hidden]) { display: inline-flex; margin-top: .4rem; }
.salon-hours > div[aria-current="date"] {
  padding-inline: .5rem;
  background: var(--sage-pale);
  border-radius: .5rem;
  border-bottom-color: transparent;
  color: var(--green);
  font-weight: 700;
}

.salon-treatments, .salon-suitability { margin-top: .65rem; }

.salon-treatments > li {
  padding-block: .9rem;
  border-bottom: 1px solid var(--border);
}

.salon-prices li:last-child { border: 0; padding-bottom: 0; }
.salon-prices strong { margin-left: auto; white-space: nowrap; }

.salon-platform-ratings { margin-top: 1rem; }

.salon-rating-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(158px, 100%), 1fr));
  gap: .55rem;
}

.salon-rating-grid > li {
  padding: .15rem .75rem .55rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--cream);
  overflow-wrap: anywhere;
}

.salon-rating-grid .text-link { justify-content: flex-start; }
.salon-rating-source { gap: .45rem; }
.salon-rating-logo { width: 22px; height: 22px; flex: none; object-fit: contain; }
.salon-score { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .45rem; }
.salon-score strong { font-size: 1.12rem; }
.salon-rating-count { color: var(--muted); font-size: .85rem; }
.salon-observed { color: var(--muted); font-size: .84rem; }

.salon-disclosure { margin-top: .9rem; border-bottom: 1px solid var(--border); }
.salon-disclosure summary { min-height: 44px; padding: .7rem 0; cursor: pointer; font-weight: 650; }
.salon-disclosure > :not(summary) { padding: 0 0 .8rem; overflow-wrap: anywhere; }

.salon-related, .salon-evidence {
  margin-top: clamp(2rem, 6vw, 4.75rem);
  padding-top: clamp(1.4rem, 4vw, 2.75rem);
  border-top: 1px solid var(--border);
}

.salon-related .venue-grid { margin-top: .8rem; }
.venue-detail-link { text-decoration: underline; text-decoration-color: #9aa99d; text-underline-offset: .18em; overflow-wrap: anywhere; }
.venue-detail-link:hover { text-decoration-color: currentColor; }

.salon-candidate-list, .salon-source-list {
  margin: 1rem 0 1.5rem;
  border-top: 1px solid var(--border);
}

.salon-candidate-list li, .salon-source-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 1.2rem;
  padding: .3rem .7rem;
  border-bottom: 1px solid var(--border);
  overflow-wrap: anywhere;
}

.salon-candidate-list .text-link { justify-content: flex-start; text-align: left; }
.salon-candidate-list span, .salon-source-list span { color: var(--muted); font-size: .9rem; }

.salon-research-filters { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem 1rem; }
.salon-research-filters .directory-filter-check { min-height: 44px; }
.salon-review-note textarea {
  display: block;
  width: 100%;
  max-width: 32rem;
  padding: .6rem;
  border: 1px solid var(--border);
  border-radius: .5rem;
  background: var(--cream);
}
.salon-evidence > p { margin-top: .7rem; overflow-wrap: anywhere; }

@media (min-width: 760px) {
  .salon-gallery-grid { grid-template-columns: 2fr 1fr 1fr; }
  .salon-gallery-grid .salon-photo:first-child { grid-row: span 2; grid-column: auto; }
  .salon-gallery-grid:is([data-photo-count="2"], [data-photo-count="3"]) { grid-template-columns: 2fr 1fr; }
  .salon-gallery-grid[data-photo-count="2"] .salon-photo:first-child { grid-row: auto; }
  .salon-gallery-grid[data-photo-count="4"] .salon-photo:last-child { grid-column: span 2; }
  .salon-gallery-grid[data-photo-count="1"] .salon-photo:first-child { grid-column: 1 / -1; }
  .salon-gallery-grid[data-photo-count="1"] .salon-photo:first-child a { aspect-ratio: 3 / 1; }
  .salon-gallery-grid .salon-photo a { flex: 1; aspect-ratio: auto; min-height: clamp(90px, 11vw, 145px); position: relative; }
  .salon-gallery-grid .salon-photo:first-child a { min-height: clamp(240px, 29vw, 385px); }
  .salon-gallery-grid .salon-photo img { position: absolute; inset: 0; }
  .salon-more-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .salon-columns:has(.salon-main .salon-section) {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 37%);
    align-items: start;
    column-gap: clamp(1.5rem, 4vw, 4rem);
  }
  .salon-columns:not(:has(.salon-main .salon-section)) .salon-visit { max-width: 38rem; }
}

.admin-body {
  --admin-surface: #f3f6f7;
  --admin-sidebar: #182c35;
  background: var(--admin-surface);
}

.admin-shell {
  display: grid;
  grid-template-columns: 12.75rem minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  padding: 1.2rem .85rem;
  background: var(--admin-sidebar);
  color: #e2eef0;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .5rem .55rem 1.3rem;
  font-size: 1.03rem;
  font-weight: 750;
}

.admin-brand span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: .55rem;
  color: #143731;
  background: #aee3cc;
}

.admin-brand .icon { width: 1.2rem; height: 1.2rem; }
.admin-nav { display: flex; flex-direction: column; gap: .25rem; }
.admin-nav a { display: block; min-height: 44px; padding: .65rem .75rem; border-radius: .5rem; font-size: .92rem; }
.admin-nav a:hover, .admin-nav a[aria-current="page"] { color: white; background: #294752; }
.admin-nav a[aria-current="page"] { box-shadow: inset 3px 0 #aee3cc; }
.admin-main { min-width: 0; }
.admin-wide.content-width { width: calc(100% - clamp(1.5rem, 4vw, 4rem)); max-width: none; }
.admin-wide .salon-heading h1 { font-size: clamp(2.15rem, 4vw, 3.8rem); }
.admin-wide .salon-heading > .button { margin-top: 1rem; }
.admin-wide .salon-section { margin-top: 1.7rem; }
.admin-dashboard-heading { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; align-items: center; justify-content: space-between; }
.admin-dashboard-heading > .button { flex-shrink: 0; }

.admin-metrics, .admin-progress {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: .8rem;
}

.admin-metrics > div, .admin-progress a {
  padding: 1rem 1.15rem;
  border: 1px solid #d9e4e8;
  border-radius: .7rem;
  background: #fff;
}

.admin-metrics dt { color: #4d6470; font-size: .92rem; font-weight: 650; }
.admin-metrics dd { margin: .4rem 0 0; color: #183946; font: 700 clamp(1.75rem, 4vw, 2.65rem)/1.1 var(--body); }
.admin-progress { margin-top: .8rem; }
.admin-progress a { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.admin-progress a:hover { background: #eaf5f1; }
.admin-progress strong { color: #205647; font-size: 1.25rem; }
.admin-export { margin-top: .7rem; }

.admin-table-wrap { margin-top: .75rem; overflow-x: auto; border: 1px solid #d9e4e8; border-radius: .7rem; background: #fff; }
.admin-table { width: 100%; min-width: 52rem; margin: 0; border: 0; border-collapse: collapse; text-align: start; }
.admin-table th, .admin-table td { padding: .5rem .9rem; border-bottom: 1px solid #e4ecef; text-align: start; }
.admin-table thead th { padding-block: .85rem; color: #34515e; background: #e6eff1; font-size: .87rem; }
.admin-table tbody tr:hover { background: #f2f8f8; }
.admin-table tbody tr:last-child > * { border-bottom: 0; }
.admin-table th:first-child { width: 29%; }
.admin-table td small { display: block; color: #526873; }
.admin-table td.admin-number { font-variant-numeric: tabular-nums; }
.admin-status { display: inline-block; padding: .2rem .55rem; border-radius: .35rem; color: #304854; background: #e7eef0; white-space: nowrap; font-weight: 650; }
.admin-status--manual, .admin-status--portrait { color: #174d40; background: #e0f0e9; }
.admin-status--working { color: #1e455f; background: #e0edf7; }
.admin-status--needs_work { color: #71431c; background: #faefde; }

.admin-copy-editor { margin: 0 0 1.5rem; padding: clamp(1rem, 2.5vw, 2rem); border: 1px solid #d9e4e8; border-radius: .7rem; background: #fff; }
.admin-copy-form { display: grid; gap: 1rem; margin-top: 1rem; }
.admin-copy-form label { display: block; margin-bottom: .35rem; font-weight: 700; }
.admin-copy-form textarea { display: block; width: 100%; padding: .7rem; resize: vertical; border: 1px solid #a5b9be; border-radius: .45rem; background: #fbfcfd; color: #20363e; }
.admin-copy-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; }

@media (max-width: 760px) {
  .admin-shell { grid-template-columns: minmax(0, 1fr); }
  .admin-sidebar { position: static; min-height: 0; padding: .55rem .85rem; }
  .admin-brand { padding: .4rem .55rem; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
}

.admin-completion { margin-top: .8rem; padding: .9rem 1.15rem; border: 1px solid #d9e4e8; border-radius: .7rem; background: #fff; }
.admin-completion label { display: block; font-weight: 650; }
.admin-completion progress { display: block; width: 100%; height: .65rem; margin-top: .5rem; overflow: hidden; border: 0; border-radius: 999px; appearance: none; background: #e6eef0; }
.admin-completion progress::-webkit-progress-bar { background: #e6eef0; }
.admin-completion progress::-webkit-progress-value { border-radius: 999px; background: #287c68; }
.admin-completion progress::-moz-progress-bar { border-radius: 999px; background: #287c68; }
