:root {
  --brand: #592f23;
  --brand-deep: #402016;
  --brand-soft: #fce1c4;
  --page: #ffffff;
  --surface: #ffffff;
  --text: #592f23;
  --muted: #785b4c;
  --line: #e8cfb8;
  --coral: #a13b30;
  --coral-soft: #fbe5df;
  --blue: #765335;
  --blue-soft: #f7ebdd;
  --gold: #592f23;
  --gold-soft: #fce1c4;
  --accent: #592f23;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  min-width: 320px;
  background: var(--page);
  scroll-behavior: smooth;
  scroll-padding-top: calc(76px + env(safe-area-inset-top));
}
body { margin: 0; min-width: 320px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); overflow-x: hidden; background: var(--page); color: var(--text); letter-spacing: 0; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  background: var(--brand-soft);
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: var(--brand-soft);
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 800;
}

.brand-copy { min-width: 0; }
.brand-copy strong, .brand-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-copy strong { font-size: 16px; }
.brand-copy span { margin-top: 2px; color: var(--muted); font-size: 12px; }

.icon-button {
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
}

.icon-button:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

main { min-height: calc(100dvh - 132px); }
.page-view { width: 100%; }
.content-view { max-width: 980px; margin: 0 auto; padding: 26px 16px 40px; }
.listings-view { padding-top: 16px; }
.listings-view .page-heading { margin-bottom: 12px; }
.listings-view .page-heading p:last-child { margin-bottom: 0; }

.eyebrow { margin: 0 0 6px; color: var(--brand); font-size: 12px; font-weight: 750; }
.page-heading { margin-bottom: 22px; }
.page-heading h1 { margin: 0; font-size: 26px; line-height: 1.2; }
.home-actions h2 { margin: 0; font-size: 20px; line-height: 1.4; }
.split-heading p:last-child { color: var(--muted); font-size: 13px; line-height: 1.6; }
.page-heading > p:last-child { margin: 10px 0 0; max-width: 620px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.result-count { flex: 0 0 auto; padding: 7px 10px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-deep); font-size: 13px; font-weight: 700; }

.photo-carousel { position: relative; width: 100%; height: 288px; overflow: hidden; background: var(--brand-soft); }
.carousel-track { height: 100%; display: flex; transition: transform 420ms ease; }
.carousel-slide { position: relative; flex: 0 0 100%; height: 100%; margin: 0; overflow: hidden; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.managed-carousel .carousel-slide img { object-fit: contain; }
.carousel-slide figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 56px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.62);
}
.carousel-slide figcaption strong, .carousel-slide figcaption span { display: block; }
.carousel-slide figcaption strong, .carousel-slide figcaption h1 { margin: 0; font-size: 30px; line-height: 1.1; }
.carousel-slide figcaption span { margin-top: 6px; font-size: 13px; font-weight: 650; }
.carousel-dots { position: absolute; right: 4px; bottom: 2px; display: flex; }
.carousel-dots button { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
.carousel-dots button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.58); transform: translate(-50%, -50%); }
.carousel-dots button[aria-current="true"]::after { width: 28px; background: var(--accent); }

.home-actions { max-width: 980px; margin: 0 auto; padding: 22px 16px 24px; }
.entry-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.entry-button {
  min-width: 0;
  min-height: 108px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
}
.entry-button strong, .entry-button span { max-width: 100%; overflow-wrap: anywhere; }
.entry-number { color: var(--brand); font-size: 12px; font-weight: 800; }
.entry-button strong { font-size: 16px; }
.entry-button > span:last-child { color: var(--muted); font-size: 11px; line-height: 1.35; }
.entry-button.entry-primary { border-color: var(--accent); background: var(--accent); color: var(--brand-deep); }
.entry-primary .entry-number, .entry-primary > span:last-child { color: var(--brand-deep); }

.home-listing-band {
  padding: 24px 16px 12px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  background: var(--page);
  color: var(--text);
}
.home-listing-band > div { max-width: 620px; }
.home-listing-band .eyebrow { color: var(--brand); }
.home-listing-band h2 { margin: 0; font-size: 21px; }
.home-listing-band p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.text-button { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--brand); white-space: nowrap; font-weight: 700; }
.home-catalog { max-width: 980px; padding: 8px 16px 28px; margin: auto; }
.home-contact { width: 100%; margin-top: 18px; }
.home-listing-state { color: var(--muted); line-height: 1.7; font-size: 14px; }
.client-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 25; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.client-nav button { min-height: 48px; padding: 8px 2px; border: 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; }
.client-nav button[aria-current="page"] { color: var(--brand-deep); background: var(--accent); border-radius: 7px; }
.text-button span { font-size: 22px; vertical-align: -1px; }

.pending-content { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pending-content strong { font-size: 18px; }
.pending-content p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.listing-filters { margin: 0 -16px 4px; padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) 66px; gap: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.listing-filters fieldset { grid-column: 1 / -1; }
.listing-filters .filter-actions { align-self: end; }
.listing-filters fieldset, .form-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.listing-filters legend, .select-field > span, .form-field > span, .form-field legend { margin-bottom: 9px; color: var(--text); font-size: 13px; font-weight: 700; }
.segmented-control input,
.select-field select,
.form-field input,
.form-field textarea {
  scroll-margin-top: calc(76px + env(safe-area-inset-top));
}

.segmented-control { min-height: 44px; padding: 3px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; border-radius: 8px; background: var(--brand-soft); }
.segmented-control label { min-width: 0; position: relative; }
.segmented-control input { position: absolute; opacity: 0; pointer-events: none; }
.segmented-control span { min-height: 44px; display: grid; place-items: center; border-radius: 6px; color: var(--muted); font-size: 13px; }
.segmented-control input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: -2px; }
.segmented-control input:checked + span { background: var(--brand); color: var(--surface); font-weight: 750; box-shadow: 0 1px 3px rgba(89, 47, 35, 0.11); }

.select-field { display: grid; }
select, .form-field input, .form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--text);
}
.form-field textarea { min-height: 100px; resize: vertical; }
.filter-actions { display: grid; align-items: center; }
.filter-actions .secondary-button { padding: 0 10px; }
.filter-hint { color: var(--muted); font-size: 12px; }
.primary-button, .secondary-button, .state-panel button {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 7px;
  font-weight: 700;
}
.primary-button { border: 1px solid var(--brand); background: var(--brand); color: #fff; }
.primary-button:disabled { opacity: 0.55; cursor: wait; }
.secondary-button { border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.link-button { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--brand); font-weight: 700; }

.listing-summary { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; scroll-margin-top: calc(76px + env(safe-area-inset-top)); }
.listing-sort { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: var(--muted); font-size: 12px; }
.listing-sort select { width: 156px; min-height: 44px; }
.field-error { display: block; min-height: 18px; margin: 5px 0 0; color: var(--coral); font-size: 12px; line-height: 1.45; }
.field-error[hidden] { min-height: 0; }

.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.cat-grid[aria-busy="true"] { opacity: 0.6; pointer-events: none; }
.cat-card {
  width: 100%;
  min-height: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
}
.cat-portrait { position: relative; width: 100%; aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; background: var(--brand-soft); color: var(--brand-deep); }
.cat-portrait.tone-blue { background: var(--blue-soft); color: var(--blue); }
.cat-portrait.tone-coral { background: var(--coral-soft); color: var(--coral); }
.cat-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.image-unavailable { display: grid; place-items: center; padding: 16px; height: 100%; color: var(--muted); font-size: 12px; text-align: center; }
.portrait-initial { font-family: Georgia, "Songti SC", serif; font-size: 50px; font-weight: 700; }
.portrait-label { position: absolute; left: 9px; bottom: 8px; font-size: 11px; font-weight: 700; }
.cat-card-content { min-width: 0; padding: 12px; }
.cat-card-top { display: flex; align-items: start; flex-wrap: wrap; justify-content: space-between; gap: 6px; }
.cat-card h3 { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.availability { max-width: 82px; padding: 4px 7px; border-radius: 5px; background: var(--gold-soft); color: var(--gold); font-size: 11px; text-align: center; overflow-wrap: anywhere; }
.availability.listing-status { background: var(--gold-soft); color: var(--brand-deep); }
.cat-title { margin-top: 7px; display: block; color: var(--muted); font-size: 12px; line-height: 1.4; }
.cat-meta { margin-top: 10px; display: block; font-size: 13px; }
.cat-birthday { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.listing-facts { margin-top: 10px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; }
.listing-facts > span { min-width: 0; display: grid; gap: 2px; }
.listing-facts .listing-birthday { grid-column: 1 / -1; }
.listing-facts small { color: var(--muted); font-size: 10px; }
.listing-facts strong { font-size: 12px; overflow-wrap: anywhere; }
.listing-price { margin-top: 9px; display: block; color: var(--brand); font-size: 17px; }
.traits { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 5px; }
.trait { padding: 3px 6px; border-radius: 4px; background: var(--brand-soft); color: var(--brand-deep); font-size: 11px; }

.state-panel { min-height: 132px; padding: 28px 18px; display: grid; place-items: center; gap: 12px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); text-align: center; }
.state-panel strong { color: var(--text); }
.state-panel button { border: 0; background: var(--brand); color: #fff; }
.state-error { border-color: #e6b9b5; background: var(--coral-soft); color: var(--coral); }

footer { max-width: 980px; margin: 0 auto; padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 11px; line-height: 1.5; }

.sheet-dialog {
  width: min(100%, 560px);
  max-width: none;
  height: min(94dvh, 800px);
  max-height: none;
  margin: auto auto 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px 8px 0 0;
  background: var(--surface);
}
.sheet-dialog::backdrop, .receipt-dialog::backdrop { background: rgba(64, 32, 22, 0.55); }
.dialog-sheet { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.dialog-header { min-height: 70px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.dialog-header h2 { margin: 0; font-size: 22px; }
.dialog-content { overflow-y: auto; padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); }
.dialog-actions { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.dialog-actions .primary-button { width: 100%; }
.detail-portrait { width: 100%; min-height: 210px; aspect-ratio: 16 / 10; border-radius: 8px; }
.detail-gallery { position: relative; width: 100%; overflow: hidden; border-radius: 8px; background: var(--blue-soft); }
.detail-gallery-track { display: flex; width: 100%; aspect-ratio: 4 / 3; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.detail-gallery-track::-webkit-scrollbar { display: none; }
.detail-gallery-slide { flex: 0 0 100%; width: 100%; height: 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.detail-gallery-slide { background: var(--blue-soft); }
.detail-gallery-slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery-arrow { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; border-radius: 50%; background: var(--surface); color: var(--brand-deep); font-size: 31px; line-height: 1; box-shadow: 0 2px 10px rgba(64, 32, 22, 0.18); }
.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }
.gallery-status { position: absolute; right: 10px; bottom: 10px; left: 10px; z-index: 2; min-height: 28px; padding: 4px 9px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-radius: 6px; background: rgba(64, 32, 22, 0.82); color: #fff; font-size: 12px; }
.gallery-dots { display: flex; align-items: center; gap: 5px; }
.gallery-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
.gallery-dots i.active { width: 14px; border-radius: 4px; background: #fff; }
.price-band { margin: 14px 0 0; padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.price-band span { color: var(--brand); font-size: 13px; font-weight: 700; }
.price-band strong { color: var(--brand); font-size: 21px; }
.detail-block { padding: 20px 0; border-bottom: 1px solid var(--line); }
.detail-block:last-child { border-bottom: 0; }
.detail-block h3 { margin: 0 0 10px; font-size: 16px; }
.detail-block p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fact { padding: 12px 0; border-bottom: 1px solid var(--line); }
.fact span, .fact strong { display: block; }
.fact span { color: var(--muted); font-size: 11px; }
.fact strong { margin-top: 5px; font-size: 14px; overflow-wrap: anywhere; }
.registration { margin-top: 8px; padding: 12px; border-left: 3px solid var(--blue); background: var(--blue-soft); }
.registration strong, .registration span { display: block; }
.registration span { margin-top: 4px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.detail-back { min-height: 44px; margin: -8px 0 8px; padding: 0 4px; border: 0; background: transparent; color: var(--brand); font-weight: 750; }
.parent-list { display: grid; gap: 8px; }
.parent-card { min-height: 76px; width: 100%; padding: 8px; display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); text-align: left; }
.parent-photo { width: 60px; height: 60px; display: grid; place-items: center; overflow: hidden; border-radius: 7px; background: var(--brand-soft); color: var(--brand-deep); font-size: 22px; }
.parent-photo.tone-blue { background: var(--blue-soft); color: var(--blue); }
.parent-photo.tone-coral { background: var(--coral-soft); color: var(--coral); }
.parent-photo img { width: 100%; height: 100%; object-fit: contain; }
.parent-copy { min-width: 0; display: grid; gap: 2px; }
.parent-copy small, .parent-copy em { color: var(--muted); font-size: 11px; font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.parent-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.parent-link { color: var(--brand); font-size: 12px; font-weight: 750; white-space: nowrap; }

.inquiry-form { display: grid; align-content: start; gap: 18px; padding-bottom: 0; }
.selected-cat { padding: 12px 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; border-bottom: 1px solid var(--line); }
.selected-cat span { grid-row: span 2; align-self: center; color: var(--muted); font-size: 12px; }
.selected-cat strong { font-size: 16px; }
.selected-cat small { margin-top: 3px; color: var(--muted); }
.form-field { display: grid; }
.contact-methods { margin-top: 9px; }
.consent-field { min-height: 44px; display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.consent-field input { width: 20px; height: 20px; accent-color: var(--brand); }
.consent-error { margin-top: -16px; }
.submit-error { margin: 0; padding: 10px; border-radius: 7px; background: var(--coral-soft); color: var(--coral); font-size: 13px; }
.form-submit-bar { position: sticky; bottom: 0; margin: 0 -16px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.form-submit-bar .primary-button { width: 100%; }

.receipt-dialog { width: min(calc(100% - 32px), 390px); padding: 0; border: 0; border-radius: 8px; background: var(--surface); }
.receipt-dialog article { padding: 28px 22px; text-align: center; }
.receipt-mark { width: 48px; height: 48px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 24px; font-weight: 800; }
.receipt-dialog h2 { margin: 0; font-size: 24px; }
.receipt-dialog p:not(.eyebrow) { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.receipt-dialog code { margin: 16px 0; padding: 8px; display: block; border-radius: 6px; background: var(--page); color: var(--text); font-size: 11px; overflow-wrap: anywhere; }
.receipt-dialog .primary-button { width: 100%; }

@media (min-width: 700px) {
  .topbar { max-width: 980px; margin: 0 auto; }
  .photo-carousel { max-width: 980px; height: 440px; margin: 0 auto; border-radius: 0 0 8px 8px; }
  .entry-grid { gap: 12px; }
  .entry-button { min-height: 140px; padding: 16px; }
  .home-listing-band { max-width: 980px; margin: 0 auto; border-radius: 8px; }
  .listing-filters { margin-left: 0; margin-right: 0; grid-template-columns: minmax(240px, 1fr) minmax(190px, 0.8fr) 76px; align-items: end; }
  .listing-filters fieldset { grid-column: auto; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .client-nav { max-width: 980px; margin: auto; }
}

@media (max-width: 360px) {
  .photo-carousel { height: 260px; }
  .carousel-slide figcaption { right: 16px; bottom: 56px; }
  .entry-button { padding: 10px 8px; }
  .entry-button strong { font-size: 15px; }
  .home-listing-band { align-items: start; flex-direction: column; }
  .cat-card-content { padding: 10px; }
  .cat-grid { gap: 8px; }
  .parent-card { grid-template-columns: 54px minmax(0, 1fr); }
  .parent-photo { width: 54px; height: 54px; }
  .parent-link { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track { transition: none; }
}

/* Editorial client: photo-led navigation and compact catalog. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.topbar { background: white; border-bottom: 0; }
.brand-copy strong { font-family: Georgia, serif; font-size: 20px; font-weight: 400; }
.brand-copy span { font-size: 11px; }
.brand-mark { background: transparent; color: var(--brand); border: 1px solid var(--line); border-radius: 50%; font-weight: 400; }
.icon-button { border: 0; background: transparent; }
.photo-carousel { height: clamp(330px, 56dvh, 560px); border-radius: 0; }
.carousel-slide figcaption { left: 24px; bottom: 65px; }
.carousel-slide figcaption h1, .carousel-slide figcaption strong { font-family: Georgia, serif; font-size: 32px; font-weight: 400; }
.carousel-slide figcaption span { font-size: 16px; font-weight: 400; }
.carousel-dots { right: auto; left: 50%; transform: translateX(-50%); }
.carousel-dots button { width: 36px; }
.carousel-dots button::after, .carousel-dots button[aria-current="true"]::after { width: 8px; height: 8px; border-radius: 50%; }
.home-actions { padding: 14px 16px 4px; }
.entry-grid { margin-top: 0; gap: 10px; }
.entry-button, .entry-button.entry-primary { min-height: 0; padding: 0 0 10px; gap: 6px; align-items: center; border: 0; background: white; color: var(--brand); text-align: center; }
.entry-button img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.entry-button strong { font-size: 14px; font-weight: 500; }
.entry-button > span:last-child { font-size: 10px; color: var(--muted); }
.home-listing-band { padding-top: 16px; align-items: center; flex-direction: row; gap: 12px; }
.home-listing-band h2, .intro-breeders h2 { font-size: 20px; font-family: Georgia, 'Songti SC', serif; font-weight: 500; }
.cat-card { border: 0; border-radius: 4px; }
.cat-portrait { aspect-ratio: 3 / 4; border-radius: 4px; }
.cat-card-content { padding: 10px 2px 16px; }
.cat-card h3 { font-size: 16px; font-weight: 500; }
.cat-card-top { gap: 4px; }
.availability { padding: 3px 4px; font-size: 10px; }
.cat-card .cat-birthday, .cat-card .traits { display: none; }
.cat-meta { font-size: 12px; margin-top: 7px; }
.cat-title { font-size: 11px; margin-top: 4px; }
.listing-price { font-size: 17px; font-family: Georgia, serif; }
.client-nav { padding-top: 4px; }
.client-nav button { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; font-weight: 400; }
.client-nav button > span { font-size: 24px; line-height: 25px; }
.client-nav button[aria-current="page"] { background: transparent; color: var(--brand); border-radius: 0; }
.client-nav button[aria-current="page"]::after { content: ''; width: 16px; height: 2px; background: var(--brand); }
.listing-filters { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 44px; gap: 10px; padding: 0 16px 10px; border-top: 0; }
.listing-filters fieldset { grid-column: auto; }
.catalog-search, .listing-filters .price-filter { grid-column: 1 / -1; }
.catalog-search input { width: 100%; min-height: 44px; border: 0; border-radius: 6px; background: #faf4ef; padding: 10px 14px; color: var(--brand); }
.price-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.price-options label { position: relative; min-width: 0; }
.price-options input { position: absolute; opacity: 0; }
.price-options span { min-height: 44px; display: grid; place-items: center; border-radius: 4px; background: #faf4ef; font-size: 11px; white-space: nowrap; }
.price-options input:checked + span { background: var(--brand); color: white; }
.price-options input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.listing-filters legend, .listing-filters .select-field > span { font-size: 11px; margin-bottom: 4px; }
.listing-filters .segmented-control { padding: 0; gap: 0; background: #faf4ef; }
.listing-filters .segmented-control span { font-size: 11px; }
.listing-filters select { padding: 8px 4px; font-size: 12px; }
.listing-filters .secondary-button { padding: 0; font-size: 11px; }
.listing-sort { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.listing-sort select { border: 0; }
.intro-hero { position: relative; margin: -26px -16px 0; }
.intro-hero img { width: 100%; height: 360px; object-fit: cover; }
.intro-hero figcaption { position: absolute; left: 22px; right: 22px; bottom: 26px; color: white; text-shadow: 0 1px 8px #402016; }
.intro-hero h1 { margin: 0 0 6px; font: 32px Georgia, serif; }
.intro-hero span { font-size: 16px; }
.pending-content { border-top: 0; padding: 24px 0; }
.intro-breeders { padding-top: 8px; }
.intro-breeders .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.intro-links button { width: 100%; display: flex; align-items: center; justify-content: space-between; min-height: 54px; border: 0; border-bottom: 1px solid var(--line); background: white; color: var(--brand); text-align: left; }
.detail-sheet .dialog-content { padding-top: 0; }
.detail-gallery { margin: 0 -16px; width: calc(100% + 32px); border-radius: 0; }
.detail-gallery-track { aspect-ratio: 3 / 4; }
.parent-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.parent-card { padding: 0; grid-template-columns: 1fr; border: 0; border-radius: 0; gap: 6px; }
.parent-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.parent-copy, .parent-link { padding: 0 4px; grid-column: 1; }
.detail-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.detail-tabs button { min-height: 48px; border: 0; background: white; color: var(--muted); }
.detail-tabs button[aria-selected="true"] { color: var(--brand); border-bottom: 2px solid var(--brand); }
@media (min-width: 700px) {
  .photo-carousel { height: 580px; }
  .entry-button img { aspect-ratio: 16 / 9; }
  .intro-hero img { height: 500px; }
}
