@font-face {
  font-family: "Fraunces";
  src: url("assets/fraunces-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
}

:root {
  --ink: #101010;
  --paper: #f7f9ff;
  --panel: #ffffff;
  --line: #dce4f6;
  --muted: #5f6470;
  --brand-blue: #5784e6;
  --brand-blue-deep: #1f4fb7;
  --brand-blue-soft: #edf3ff;
  --green: #4d685b;
  --gold: #ffcf54;
  --gold-soft: rgba(255, 207, 84, 0.22);
  --clay: #5784e6;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --shadow: 0 24px 70px rgba(31, 79, 183, 0.16);
  --soft-shadow: 0 18px 46px rgba(31, 79, 183, 0.12);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --max: 1380px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 207, 84, 0.14), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(87, 132, 230, 0.16), transparent 30%),
    var(--paper);
  font-family: var(--font-body);
  line-height: 1.35;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 228, 246, 0.7);
  background: rgba(255, 255, 255, 0.76);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  backdrop-filter: blur(22px) saturate(1.25);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(87, 132, 230, 0.18);
}

.brand-name {
  color: #15213b;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.nav-back-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(87, 132, 230, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-blue-deep);
  padding: 0 16px;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 26px rgba(31, 79, 183, 0.08);
}

.nav-back-link:hover {
  border-color: rgba(87, 132, 230, 0.58);
  background: var(--brand-blue-soft);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 14px;
}

.nav-link.active {
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(87, 132, 230, 0.22), inset 0 -3px 0 rgba(255, 207, 84, 0.92);
}

.button {
  display: inline-flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand-blue);
  border-radius: 999px;
  background: var(--brand-blue);
  color: #ffffff;
  padding: 0 16px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(87, 132, 230, 0.16);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.42);
  color: var(--brand-blue-deep);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.button.gold {
  border-color: var(--gold);
  background: var(--gold);
  color: #142347;
}

.button.full {
  width: 100%;
}

.shell,
.listing-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 54px;
}

.listing-shell {
  padding-top: 12px;
}

.longterm-collections {
  margin-bottom: 10px;
}

.longterm-collections .section-head {
  align-items: center;
  margin-bottom: 6px;
}

.longterm-collections .eyebrow {
  display: none;
}

.longterm-collections .section-head h2 {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

.longterm-collections .section-head p:last-child {
  max-width: 680px;
  font-size: 0.74rem;
  line-height: 1.25;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
}

.section-head h2 {
  margin: 0;
  color: #15213b;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.section-head p:last-child {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.longterm-collection-grid {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 1px 2px 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.longterm-collection-grid::-webkit-scrollbar {
  display: none;
}

.longterm-collection-card {
  flex: 0 0 176px;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid rgba(87, 132, 230, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
  padding: 9px 10px;
  text-align: left;
  color: #15213b;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(31, 79, 183, 0.08);
}

.longterm-collection-card span {
  color: var(--brand-blue-deep);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.longterm-collection-card strong {
  margin-top: 3px;
  font-size: 0.86rem;
}

.longterm-collection-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.longterm-collection-card:hover,
.longterm-collection-card.active {
  border-color: rgba(87, 132, 230, 0.48);
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(31, 79, 183, 0.12);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.026em;
}

h1 {
  margin-bottom: 8px;
  font-size: clamp(3.4rem, 8vw, 8.4rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.lede {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.rental-hero {
  position: relative;
  min-height: 360px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom-right-radius: var(--radius-xl);
  border-bottom-left-radius: var(--radius-xl);
  background: #0f1b33;
}

.hero-photos {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-photos::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 19, 42, 0.06), rgba(8, 19, 42, 0.34)),
    linear-gradient(90deg, rgba(8, 19, 42, 0.48), rgba(87, 132, 230, 0.14) 52%, rgba(8, 19, 42, 0.06));
}

.hero-photos img,
.hero-fallback {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.02) saturate(1.03);
}

.hero-fallback {
  grid-column: 1 / -1;
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(15, 27, 51, 0.98), rgba(87, 132, 230, 0.82)),
    linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.12) 49%, rgba(255, 255, 255, 0.12) 51%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(255, 255, 255, 0.1) 49%, rgba(255, 255, 255, 0.1) 51%, transparent 51%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 16px;
  color: #ffffff;
  text-align: left;
}

.longterm-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.42fr);
  gap: 18px;
  align-items: end;
}

.longterm-hero-main {
  min-width: 0;
}

.hero-content .eyebrow {
  color: var(--gold);
  text-shadow: 0 6px 20px rgba(255, 207, 84, 0.2);
}

.hero-content h1 {
  margin: 0 0 6px;
  max-width: 720px;
  font-size: clamp(2.15rem, 3.6vw, 3.1rem);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 12px 34px rgba(8, 19, 42, 0.2);
}

.hero-content .lede {
  max-width: 880px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  text-shadow: 0 8px 22px rgba(8, 19, 42, 0.2);
}

.search-console {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(118px, 0.62fr)) 118px;
  gap: 8px;
  align-items: center;
  margin: 10px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  padding: 7px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  backdrop-filter: blur(22px) saturate(1.2);
}

.longterm-hero-process {
  width: min(1040px, 100%);
  margin: 7px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.longterm-hero-step {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-sm);
  background: rgba(16, 31, 65, 0.28);
  color: #ffffff;
  padding: 7px 9px;
  display: grid;
  align-content: start;
  gap: 4px;
  text-align: left;
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
}

.longterm-hero-step b {
  font-size: 0.72rem;
  line-height: 1.2;
}

.longterm-hero-step span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.58rem;
  line-height: 1.18;
}

.search-console .button {
  min-height: 48px;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 0.94rem;
  font-weight: 720;
  letter-spacing: 0;
  text-transform: none;
}

.longterm-hero-marketplace {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  color: #15213b;
  padding: 14px;
  box-shadow: 0 18px 46px rgba(8, 19, 42, 0.18);
  -webkit-backdrop-filter: blur(20px) saturate(1.16);
  backdrop-filter: blur(20px) saturate(1.16);
}

.longterm-hero-marketplace-head {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.longterm-hero-marketplace-head span {
  color: var(--brand-blue-deep);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.longterm-hero-marketplace-head h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.05;
}

.longterm-hero-marketplace-head p {
  margin: 0;
  color: rgba(21, 33, 59, 0.72);
  font-size: 0.72rem;
  line-height: 1.35;
}

.hero-pills.longterm-hero-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.longterm-hero-categories button {
  min-height: 78px;
  display: grid;
  align-content: space-between;
  gap: 4px;
  border: 1px solid rgba(87, 132, 230, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
  padding: 9px 10px;
  color: #15213b;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(31, 79, 183, 0.08);
}

.longterm-hero-categories button span {
  color: var(--brand-blue-deep);
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.longterm-hero-categories button b {
  font-size: 0.84rem;
  line-height: 1.12;
}

.longterm-hero-categories button:hover,
.longterm-hero-categories button.active {
  border-color: rgba(87, 132, 230, 0.52);
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(31, 79, 183, 0.14);
}

.longterm-hero-ops {
  width: min(1040px, 100%);
  margin: 7px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.longterm-hero-ops div {
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  color: #15213b;
  padding: 8px 10px;
  display: grid;
  align-content: start;
  gap: 4px;
  text-align: left;
  box-shadow: 0 12px 28px rgba(8, 19, 42, 0.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  backdrop-filter: blur(16px) saturate(1.12);
}

.longterm-hero-ops b {
  color: var(--brand-blue-deep);
  font-size: 0.68rem;
  line-height: 1.15;
}

.longterm-hero-ops span {
  color: rgba(21, 33, 59, 0.78);
  font-size: 0.58rem;
  line-height: 1.22;
}

.longterm-hero-ops code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.search-main {
  min-width: 0;
  min-height: 48px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.search-main:focus-within {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 0 0 3px rgba(255, 207, 84, 0.22);
}

.search-main span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-right: 1px solid rgba(87, 132, 230, 0.18);
  padding-right: 14px;
  color: rgba(31, 60, 115, 0.76);
  font-size: 0.76rem;
  font-weight: 680;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.search-main input {
  min-height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  font-size: 1rem;
  font-weight: 520;
  color: #243653;
  box-shadow: none;
}

.search-main input::placeholder {
  color: rgba(36, 54, 83, 0.62);
  font-weight: 520;
  opacity: 1;
}

.search-main input:focus {
  box-shadow: none;
}

.search-mini {
  min-width: 0;
  min-height: 48px;
  display: grid;
  gap: 2px;
  align-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.search-mini span {
  color: rgba(31, 60, 115, 0.76);
  font-size: 0.68rem;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
}

.search-mini input,
.search-mini select {
  width: 100%;
  min-height: 24px;
  border: 0;
  background: transparent;
  padding: 0;
  color: #243653;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 680;
  outline: 0;
}

.filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(160px, 0.7fr)) auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 12px;
}

.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: var(--glass);
  padding: 8px;
  box-shadow: var(--soft-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.longterm-processing-path {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 16px;
}

.longterm-path-step {
  min-height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-md);
  background: var(--panel);
  padding: 14px;
  box-shadow: var(--soft-shadow);
}

.longterm-path-step span {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.longterm-path-step b {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.2;
  margin-bottom: 5px;
}

.longterm-path-step small {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.longterm-system-handoff {
  margin: 18px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-md);
  background: var(--panel);
  padding: 18px;
  box-shadow: var(--soft-shadow);
}

.longterm-system-handoff .section-head {
  margin: 0 0 14px;
}

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

.longterm-system-card {
  min-height: 138px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.76);
  padding: 14px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.longterm-system-card span {
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(87, 132, 230, 0.2);
  border-radius: 999px;
  background: rgba(238, 244, 255, 0.84);
  color: var(--brand-blue-deep);
  padding: 4px 9px;
  font-size: 0.68rem;
  font-weight: 900;
}

.longterm-system-card b {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.2;
}

.longterm-system-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.36;
}

.longterm-integration-panel {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  padding: 16px;
  display: grid;
  gap: 14px;
}

.longterm-integration-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.longterm-integration-head span {
  display: inline-flex;
  width: max-content;
  border: 1px solid rgba(87, 132, 230, 0.2);
  border-radius: 999px;
  background: rgba(238, 244, 255, 0.84);
  color: var(--brand-blue-deep);
  padding: 4px 9px;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.longterm-integration-head h3 {
  margin: 8px 0 6px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.15;
}

.longterm-integration-head p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

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

.longterm-integration-card {
  min-height: 158px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.86);
  padding: 13px;
  display: grid;
  align-content: start;
  gap: 7px;
}

.longterm-integration-card b {
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.2;
}

.longterm-integration-card span,
.longterm-integration-card code {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.34;
}

.longterm-integration-card code {
  border-radius: 6px;
  background: rgba(238, 244, 255, 0.72);
  padding: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
}

.longterm-account-bridge {
  margin: 18px 0 20px;
  border: 1px solid rgba(87, 132, 230, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(238, 244, 255, 0.74);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.longterm-account-bridge span {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-blue-deep);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.longterm-account-bridge strong {
  display: block;
  color: #15213b;
  font-size: 0.94rem;
  line-height: 1.35;
}

.view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  padding: 5px;
}

.view-toggle button {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 0 14px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.view-toggle button.active {
  background: var(--brand-blue);
  color: #fff;
}

.listing-map-panel {
  display: none;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(87, 132, 230, 0.16), rgba(255, 207, 84, 0.14)), var(--panel);
  padding: 18px;
  box-shadow: var(--soft-shadow);
}

.listing-map-panel.active {
  display: grid;
  gap: 12px;
}

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

.map-result-pill {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
  padding: 12px;
}

.map-result-pill b {
  display: block;
  color: var(--ink);
}

.map-result-pill span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 4px;
}

.results-head {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--muted);
}

.results-head div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.results-head span {
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 950;
}

.results-head strong,
.results-head a {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.results-head a {
  border-bottom: 1px solid currentColor;
  color: var(--brand-blue-deep);
}

.field {
  display: grid;
  gap: 7px;
}

.filter-bar .field {
  flex: 0 0 146px;
  gap: 4px;
}

label,
.label {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid rgba(220, 228, 246, 0.95);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}

textarea {
  min-height: 122px;
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(255, 207, 84, 0.18);
}

.count {
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0 14px;
  color: var(--muted);
  font-weight: 900;
  white-space: nowrap;
}

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

.home-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.74);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--soft-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.home-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 207, 84, 0.82);
  box-shadow: 0 24px 60px rgba(31, 79, 183, 0.18), 0 0 0 4px rgba(255, 207, 84, 0.12);
}

.home-card.featured {
  grid-column: auto;
}

.photo {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  background: #dfe7f8;
  cursor: pointer;
  text-align: left;
}

.home-card:not(.featured) .photo {
  min-height: 0;
}

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

.home-card .photo img {
  filter: none;
}

.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.7));
  pointer-events: none;
}

.home-card .photo::after {
  content: none;
}

.no-photo {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 18px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(15, 27, 51, 0.95), rgba(87, 132, 230, 0.76)),
    linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.12) 49%, rgba(255, 255, 255, 0.12) 51%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(255, 255, 255, 0.1) 49%, rgba(255, 255, 255, 0.1) 51%, transparent 51%);
}

.no-photo span {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.no-photo strong {
  position: relative;
  z-index: 2;
  max-width: 430px;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1;
}

.popular-badge,
.card-heart,
.photo-badge,
.photo-dots {
  position: absolute;
  z-index: 2;
}

.popular-badge {
  top: 10px;
  left: 10px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  padding: 0 10px;
  color: #1f355d;
  font-size: 0.76rem;
  font-weight: 850;
  box-shadow: 0 6px 16px rgba(8, 19, 42, 0.18);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
}

.popular-badge span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.card-heart {
  top: 11px;
  right: 11px;
  width: 26px;
  height: 26px;
  color: #ffffff;
  filter: drop-shadow(0 3px 8px rgba(8, 19, 42, 0.4));
}

.card-heart svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.photo-badge {
  left: 12px;
  bottom: 12px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

.photo-dots {
  right: 12px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.photo-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
}

.photo-dots i:first-child {
  background: var(--gold);
}

.photo-price {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: #ffffff;
  font-size: clamp(1.65rem, 3vw, 3.2rem);
  font-weight: 950;
}

.card-body {
  display: grid;
  gap: 12px;
  padding: 14px 8px 2px;
}

.rent-line {
  color: var(--brand-blue-deep);
  font-size: 1rem;
  font-weight: 850;
}

.card-facts {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: #1f355d;
  font-size: 0.95rem;
}

.card-facts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-facts svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.home-title {
  display: grid;
  gap: 4px;
}

.home-title h2 {
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.25;
}

.home-title span {
  color: var(--muted);
  font-size: 0.88rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.fact {
  min-height: 58px;
  border: 1px solid rgba(220, 228, 246, 0.82);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.58);
  padding: 9px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.fact strong {
  display: block;
  font-size: 1rem;
}

.fact span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.empty {
  display: none;
  min-height: 280px;
  place-items: center;
  border: 1px dashed rgba(87, 132, 230, 0.34);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  text-align: center;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.booking-shell {
  width: min(1180px, calc(100% - 56px));
  padding-top: 26px;
}

.booking-shell .hero {
  align-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.6);
  padding: 18px 20px;
  box-shadow: 0 16px 46px rgba(31, 79, 183, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(1.14);
  backdrop-filter: blur(20px) saturate(1.14);
}

.booking-shell .hero h1 {
  margin-bottom: 10px;
  font-size: clamp(2.25rem, 4.5vw, 4.8rem);
  line-height: 0.96;
}

.booking-shell .hero .lede {
  font-size: 1rem;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.44fr) minmax(500px, 0.56fr);
  gap: 18px;
  align-items: start;
}

.booking-photo {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.64);
  padding: 12px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(31, 79, 183, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
}

.booking-photo .photo {
  aspect-ratio: 5 / 4;
  min-height: 0;
  max-height: 450px;
  border-radius: 20px;
  cursor: default;
}

.booking-photo .photo img {
  filter: brightness(0.96) saturate(0.94);
}

.booking-photo .photo::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.4)),
    linear-gradient(90deg, rgba(16, 31, 65, 0.08), rgba(16, 31, 65, 0.02));
}

.booking-photo .no-photo {
  min-height: 340px;
}

.booking-panel {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.68);
  padding: 20px;
  box-shadow: 0 18px 48px rgba(31, 79, 183, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  -webkit-backdrop-filter: blur(20px) saturate(1.14);
  backdrop-filter: blur(20px) saturate(1.14);
}

.booking-panel h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 2.8vw, 2.45rem);
  line-height: 1;
}

.booking-form {
  display: grid;
  gap: 12px;
}

.mini-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.form-actions .button:only-child,
.tour-actions .button:only-child {
  grid-column: 1 / -1;
}

.preview {
  display: none;
  margin-top: 12px;
  border: 1px solid rgba(255, 207, 84, 0.46);
  border-radius: var(--radius-md);
  background: rgba(255, 207, 84, 0.13);
  padding: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.preview.active {
  display: block;
}

.tour-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
}

.tour-modal.active {
  display: block;
}

.tour-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 27, 51, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.tour-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1120px, calc(100% - 32px));
  max-height: min(820px, calc(100vh - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  overflow: auto;
  -webkit-backdrop-filter: blur(22px) saturate(1.14);
  backdrop-filter: blur(22px) saturate(1.14);
}

.tour-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(15, 27, 51, 0.54);
  color: #ffffff;
  padding: 0 12px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
}

.tour-photo {
  min-height: 680px;
  background: var(--ink);
  overflow: hidden;
}

.tour-photo .photo,
.tour-photo .no-photo {
  aspect-ratio: auto;
  border-radius: 0;
  height: 100%;
  min-height: 680px;
}

.tour-form {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 26px;
}

.tour-form h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.94;
}

.apply-step {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  padding: 12px;
}

.apply-step strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
}

.apply-step p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

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

.tour-type label {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(220, 228, 246, 0.9);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.62);
  padding: 0 12px;
  color: var(--ink);
  cursor: pointer;
}

.tour-type input {
  width: auto;
  min-height: auto;
}

.tour-type span {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tour-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tour-actions {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 8px;
}

.footer {
  border-top: 1px solid rgba(220, 228, 246, 0.72);
  background: rgba(255, 255, 255, 0.42);
  padding: 22px 0;
  color: var(--muted);
  font-size: 0.86rem;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.detail-shell {
  width: min(1080px, calc(100% - 56px));
  padding-top: 24px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 14px;
  padding: 4px 2px 8px;
}

.detail-breadcrumb {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--brand-blue-deep);
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detail-hero h1 {
  max-width: 760px;
  margin-bottom: 6px;
  color: #25314a;
  font-size: clamp(1.75rem, 3.3vw, 2.65rem);
  line-height: 1.02;
}

.detail-meta {
  margin-bottom: 0;
  color: #536176;
  font-size: 0.92rem;
}

.detail-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.text-action,
.link-button {
  border: 0;
  background: transparent;
  color: var(--brand-blue-deep);
  padding: 0;
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.detail-hero .lede {
  max-width: none;
  font-size: 0.98rem;
}

.detail-hero .button {
  grid-column: 2;
  grid-row: 1;
}

.detail-hero > div {
  grid-column: 1;
  grid-row: 1;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(270px, 300px);
  gap: 28px;
  align-items: start;
  justify-content: center;
}

.detail-content {
  min-width: 0;
}

.detail-rail {
  min-width: 0;
  align-self: stretch;
}

.detail-gallery,
.detail-panel,
.detail-section {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.detail-gallery {
  padding: 0;
}

.detail-photo-mosaic {
  display: grid;
  grid-template-columns: 1.35fr 0.82fr 0.82fr;
  grid-template-rows: repeat(2, 155px);
  gap: 6px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(220, 228, 246, 0.72);
}

.mosaic-tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: #dfe7f8;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
}

.mosaic-main {
  grid-row: 1 / span 2;
}

.mosaic-tile img,
.mosaic-tile .no-photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  object-fit: cover;
}

.mosaic-tile:nth-child(2) img {
  object-position: 64% center;
}

.mosaic-tile:nth-child(3) img {
  object-position: right center;
}

.mosaic-tile:nth-child(4) img {
  object-position: left center;
}

.mosaic-tile:nth-child(5) img {
  object-position: 78% center;
}

.mosaic-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 19, 42, 0.02), rgba(8, 19, 42, 0.28));
  pointer-events: none;
}

.mosaic-tile .photo-badge {
  bottom: 48px;
}

.mosaic-pill {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #142347;
  padding: 0 13px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(8, 19, 42, 0.18);
  -webkit-backdrop-filter: blur(12px) saturate(1.12);
  backdrop-filter: blur(12px) saturate(1.12);
}

.detail-main-photo .photo {
  aspect-ratio: 16 / 9;
  min-height: 0;
  max-height: 340px;
  border-radius: 20px;
  cursor: default;
}

.detail-main-photo .photo img {
  filter: none;
}

.detail-main-photo .photo::after {
  background: none;
}

.view-photos-button {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #142347;
  padding: 0 13px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(8, 19, 42, 0.18);
  -webkit-backdrop-filter: blur(14px) saturate(1.14);
  backdrop-filter: blur(14px) saturate(1.14);
}

.detail-alert,
.managed-card,
.stay-note {
  margin-top: 18px;
  border-top: 1px solid rgba(220, 228, 246, 0.82);
  padding: 18px 0;
}

.detail-alert {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  color: #536176;
  font-size: 0.88rem;
}

.detail-alert::before {
  content: "";
  width: 22px;
  height: 22px;
  grid-row: 1 / span 2;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(255, 207, 84, 0.18);
}

.detail-alert strong,
.managed-card strong {
  display: block;
  color: #25314a;
}

.detail-alert span {
  grid-column: 2;
}

.managed-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
}

.managed-card p,
.stay-note p {
  margin: 4px 0 0;
  color: #536176;
  font-size: 0.9rem;
}

.managed-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #ffffff;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(87, 132, 230, 0.2);
}

.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: none;
}

.photo-modal.active {
  display: block;
}

.photo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: #ffffff;
}

.photo-modal-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-rows: auto;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  padding: 0;
  box-shadow: none;
  overflow: auto;
}

.photo-modal-head {
  position: fixed;
  top: 18px;
  right: 28px;
  z-index: 4;
  min-height: 0;
  padding: 0;
}

.photo-modal-head .eyebrow,
.photo-modal-head h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.photo-modal-head .tour-close {
  min-height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-blue-deep);
  box-shadow: 0 12px 30px rgba(31, 79, 183, 0.12);
}

.photo-modal-shell {
  width: min(1220px, calc(100% - 56px));
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 900px);
  gap: clamp(34px, 5vw, 70px);
  margin: 0 auto;
  padding: 44px 0 54px;
}

.photo-modal-nav {
  position: fixed;
  top: 68px;
  left: max(28px, calc((100vw - 1220px) / 2));
  z-index: 3;
  width: 220px;
  display: grid;
  gap: 26px;
  color: #142347;
  font-size: 0.96rem;
  line-height: 1.2;
}

.photo-modal-nav a {
  color: #142347;
  font-weight: 450;
}

.photo-modal-nav a.active,
.photo-modal-nav a:hover {
  color: var(--brand-blue-deep);
  font-weight: 850;
}

.photo-modal-nav a:focus-visible {
  outline: 0;
  color: var(--brand-blue-deep);
  font-weight: 850;
}

.photo-modal-grid {
  grid-column: 2;
  min-height: 0;
  overflow: visible;
  padding: 0 8px 12px 0;
}

.photo-modal-group {
  scroll-margin-top: 44px;
}

.photo-modal-group + .photo-modal-group {
  margin-top: 18px;
}

.photo-modal-group h3 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.photo-modal-group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.photo-modal-card {
  min-width: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #f4f7ff;
  padding: 0;
  overflow: hidden;
}

.photo-modal-card.featured {
  grid-column: 1 / -1;
}

.photo-modal-card img,
.photo-modal-card .no-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  object-fit: cover;
}

.photo-modal-card.featured img,
.photo-modal-card.featured .no-photo {
  aspect-ratio: 3 / 2;
}

.action-modal {
  position: fixed;
  inset: 0;
  z-index: 48;
  display: none;
}

.action-modal.active {
  display: block;
}

.action-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 27, 51, 0.42);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.action-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(440px, calc(100% - 28px));
  max-height: min(760px, calc(100vh - 28px));
  transform: translate(-50%, -50%);
  border: 1px solid rgba(220, 228, 246, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(15, 27, 51, 0.24);
  overflow: auto;
  -webkit-backdrop-filter: blur(20px) saturate(1.12);
  backdrop-filter: blur(20px) saturate(1.12);
}

.action-modal-head {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(220, 228, 246, 0.96);
  padding: 0 18px;
}

.action-modal-head h2 {
  margin: 0;
  color: #142347;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 850;
  letter-spacing: 0;
}

.action-close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #142347;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.share-dialog {
  width: min(480px, calc(100% - 28px));
}

.share-preview {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
}

.share-preview-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: var(--brand-blue-soft);
}

.share-preview-photo img,
.share-preview-photo .no-photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.share-preview strong {
  display: block;
  margin-bottom: 5px;
  color: var(--brand-blue-deep);
  font-size: 1rem;
  line-height: 1.2;
}

.share-preview span {
  color: #536176;
  font-size: 0.82rem;
  line-height: 1.3;
}

.share-link-field {
  display: grid;
  gap: 7px;
  padding: 0 18px 16px;
}

.share-link-field span {
  color: #536176;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-link-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(87, 132, 230, 0.24);
  border-radius: 12px;
  background: #ffffff;
  color: #142347;
  padding: 0 12px;
  font-size: 0.88rem;
}

.share-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 18px 20px;
}

.social-button,
.signup-option {
  min-width: 0;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 850;
  cursor: pointer;
}

.social-button {
  border: 1px solid rgba(87, 132, 230, 0.24);
  background: #ffffff;
  color: var(--brand-blue-deep);
}

.social-button.copy {
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  color: #ffffff;
}

.signup-body {
  display: grid;
  gap: 16px;
  padding: 28px 18px 18px;
}

.signup-body > p {
  margin: 0 0 10px;
  color: #142347;
  font-size: 1rem;
  line-height: 1.45;
  text-align: center;
}

.signup-option {
  position: relative;
  border: 1px solid transparent;
  padding: 0 16px;
}

.signup-option span {
  position: absolute;
  left: 16px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 1.24rem;
  font-weight: 950;
}

.signup-option.google {
  background: #4285f4;
  color: #ffffff;
}

.signup-option.google span {
  border-radius: 50%;
  background: #ffffff;
  color: #4285f4;
  font-size: 1rem;
}

.signup-option.facebook {
  background: #3f5f9f;
  color: #ffffff;
}

.signup-option.email {
  border-color: var(--brand-blue-deep);
  border-radius: 999px;
  background: #ffffff;
  color: #3f6fa8;
}

.signup-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  color: #536176;
  font-size: 0.86rem;
}

.signup-divider::before,
.signup-divider::after {
  content: "";
  height: 1px;
  background: rgba(220, 228, 246, 0.96);
}

.marketing-consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: start;
  color: #142347;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.marketing-consent input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--brand-blue);
}

.signup-foot {
  border-top: 1px solid rgba(220, 228, 246, 0.96);
  padding: 18px;
  color: #142347;
  font-size: 0.9rem;
  text-align: center;
}

.signup-foot button {
  border: 0;
  background: transparent;
  color: var(--brand-blue-deep);
  padding: 0;
  font-weight: 900;
  cursor: pointer;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.thumb-grid[hidden] {
  display: none;
}

.thumb {
  min-width: 0;
  aspect-ratio: 16 / 11;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  padding: 3px;
  overflow: hidden;
  cursor: pointer;
}

.thumb.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 207, 84, 0.16);
}

.thumb img,
.thumb .no-photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: calc(var(--radius-md) - 5px);
  object-fit: cover;
}

.detail-panel {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(220, 228, 246, 0.86);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  padding: 18px;
  box-shadow: 0 18px 46px rgba(31, 79, 183, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
}

.availability-line {
  margin-bottom: 0;
  color: #25314a;
  font-size: 0.9rem;
  font-weight: 850;
}

.detail-panel .field {
  gap: 8px;
}

.detail-panel .field span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-price {
  display: block;
  color: var(--brand-blue-deep);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.04;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.detail-sections {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.44fr);
  gap: 16px;
  margin-top: 16px;
}

.detail-section {
  margin-top: 24px;
  border-top: 1px solid rgba(220, 228, 246, 0.86);
  padding: 26px 0 0;
}

.detail-section h2 {
  margin-bottom: 16px;
  color: #25314a;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.1;
}

.detail-section p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.section-kicker {
  margin-bottom: 12px;
  color: #536176;
  font-size: 0.82rem;
  font-weight: 850;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.similar-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.similar-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.similar-nav {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(87, 132, 230, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-blue-deep);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(31, 79, 183, 0.08);
}

.similar-nav:disabled {
  opacity: 0.36;
  cursor: not-allowed;
  box-shadow: none;
}

.bed-summary {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: end;
}

.bed-photo {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: #dfe7f8;
}

.bed-photo img,
.bed-photo .no-photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.bed-summary strong {
  display: block;
  color: #25314a;
}

.bed-summary span {
  color: var(--muted);
  font-size: 0.86rem;
}

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

.amenity-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #25314a;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.25;
}

.amenity-icon {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  display: inline-grid;
  place-items: center;
  color: var(--brand-blue-deep);
}

.amenity-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.amenity-label {
  min-width: 0;
}

.addon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 226px));
  gap: 18px;
  align-items: start;
}

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

.lease-requirement-item {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(220, 228, 246, 0.92);
  border-radius: 14px;
  background: rgba(248, 250, 255, 0.94);
  padding: 14px;
}

.lease-requirement-item span {
  color: var(--brand-blue-deep);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lease-requirement-item strong {
  color: #25314a;
  font-size: 0.95rem;
  line-height: 1.35;
}

.addon-card {
  min-height: 238px;
  display: grid;
  grid-template-rows: 134px auto;
  border: 1px solid rgba(220, 228, 246, 0.92);
  border-radius: 18px;
  background: rgba(248, 250, 255, 0.94);
  padding: 8px 8px 16px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(31, 79, 183, 0.08);
}

.addon-visual {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #eef3ff;
}

.addon-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(20, 35, 71, 0.18));
  pointer-events: none;
}

.addon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

.addon-copy {
  display: grid;
  gap: 6px;
  padding: 12px 10px 0;
}

.addon-copy > span {
  color: #25314a;
  font-size: 1.06rem;
  font-weight: 900;
}

.addon-copy strong {
  color: #142347;
  font-size: 0.96rem;
  font-weight: 760;
}

.addon-copy small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.35;
}

.stay-note {
  border: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 94% 18%, rgba(87, 132, 230, 0.13), transparent 22%),
    linear-gradient(135deg, rgba(237, 243, 255, 0.98), rgba(255, 255, 255, 0.82));
  margin-top: 34px;
  padding: 22px;
}

.stay-note h2 {
  margin-bottom: 8px;
  color: #25314a;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.nearby-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.nearby-pills span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(220, 228, 246, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  padding: 0 10px;
  color: #536176;
  font-size: 0.72rem;
  font-weight: 800;
}

.map-card {
  position: relative;
  height: 250px;
  overflow: hidden;
  border: 1px solid rgba(220, 228, 246, 0.95);
  border-radius: 18px;
  background: var(--brand-blue-soft);
}

.leaflet-map,
.map-fallback {
  width: 100%;
  height: 100%;
}

.leaflet-map[hidden],
.map-fallback[hidden] {
  display: none;
}

.leaflet-map {
  z-index: 1;
}

.leaflet-map.leaflet-container {
  background: #e9f0fb;
}

.leaflet-map .leaflet-pane,
.leaflet-map .leaflet-control,
.leaflet-map .leaflet-top,
.leaflet-map .leaflet-bottom {
  position: absolute;
}

.leaflet-map .leaflet-pane {
  top: 0;
  left: 0;
  overflow: visible;
}

.leaflet-map .leaflet-tile,
.leaflet-map .leaflet-marker-icon,
.leaflet-map .leaflet-marker-shadow,
.leaflet-map .leaflet-tile-container {
  position: absolute;
  top: 0;
  left: 0;
}

.leaflet-map .leaflet-tile {
  width: 256px !important;
  height: 256px !important;
  max-width: none !important;
  max-height: none !important;
}

.leaflet-map .leaflet-marker-icon {
  max-width: none !important;
}

.leaflet-map .leaflet-map-pane {
  z-index: 400;
}

.leaflet-map .leaflet-tile-pane {
  z-index: 200;
  overflow: visible;
}

.leaflet-map .leaflet-tile-container {
  overflow: visible;
}

.leaflet-map .leaflet-marker-pane {
  z-index: 600;
}

.map-fallback {
  position: relative;
  display: grid;
  place-items: center;
  background:
    linear-gradient(28deg, transparent 46%, rgba(255, 255, 255, 0.78) 47%, rgba(255, 255, 255, 0.78) 51%, transparent 52%),
    linear-gradient(112deg, transparent 40%, rgba(255, 255, 255, 0.72) 41%, rgba(255, 255, 255, 0.72) 45%, transparent 46%),
    linear-gradient(0deg, transparent 48%, rgba(255, 255, 255, 0.64) 49%, rgba(255, 255, 255, 0.64) 53%, transparent 54%),
    var(--brand-blue-soft);
}

.map-fallback p {
  position: absolute;
  bottom: 18px;
  left: 18px;
  margin: 0;
  color: #536176;
  font-size: 0.78rem;
  font-weight: 800;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #ffffff;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(31, 79, 183, 0.24);
}

.gng-map-marker {
  display: grid;
  place-items: center;
}

.gng-map-marker span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(31, 79, 183, 0.28);
}

.leaflet-container {
  font-family: var(--font-body);
  color: #142347;
}

.leaflet-map .leaflet-top {
  top: 12px;
}

.leaflet-map .leaflet-top,
.leaflet-map .leaflet-bottom {
  z-index: 800;
  pointer-events: none;
}

.leaflet-map .leaflet-right {
  right: 12px;
}

.leaflet-map .leaflet-bottom {
  bottom: 8px;
}

.leaflet-map .leaflet-left {
  left: 10px;
}

.leaflet-map .leaflet-control {
  position: relative;
  z-index: 800;
  pointer-events: auto;
}

.leaflet-map .leaflet-right .leaflet-control {
  float: right;
  margin-left: 10px;
}

.leaflet-map .leaflet-left .leaflet-control {
  float: left;
  margin-right: 10px;
}

.leaflet-map .leaflet-bottom .leaflet-control {
  margin-bottom: 0;
}

.leaflet-map .leaflet-control-zoom {
  overflow: hidden;
  border: 1px solid rgba(220, 228, 246, 0.95);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(31, 79, 183, 0.12);
}

.leaflet-map .leaflet-control-zoom a {
  width: 32px;
  height: 32px;
  display: block;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-blue-deep);
  font-size: 1rem;
  font-weight: 900;
  line-height: 32px;
  text-align: center;
  text-decoration: none;
}

.leaflet-map .leaflet-control-zoom-in {
  border-bottom: 1px solid rgba(220, 228, 246, 0.9) !important;
}

.leaflet-map .leaflet-control-attribution {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  padding: 3px 8px;
  color: #536176;
  font-size: 0.64rem;
}

.leaflet-map .leaflet-control-attribution a {
  color: var(--brand-blue-deep);
}

.leaflet-popup-content-wrapper {
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(31, 79, 183, 0.18);
}

.leaflet-popup-content {
  margin: 12px 14px;
  color: #142347;
  font-size: 0.86rem;
  line-height: 1.35;
}

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

.similar-card {
  min-width: 0;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(220, 228, 246, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  padding: 10px;
  box-shadow: 0 12px 30px rgba(31, 79, 183, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.similar-card:hover {
  border-color: rgba(87, 132, 230, 0.34);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(31, 79, 183, 0.14);
}

.similar-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: #dfe7f8;
}

.similar-photo img,
.similar-photo .no-photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.similar-price {
  position: absolute;
  left: 10px;
  bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(20, 35, 71, 0.72);
  color: #ffffff;
  padding: 6px 9px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.similar-copy {
  display: grid;
  gap: 5px;
}

.similar-card strong {
  color: #25314a;
  font-size: 0.94rem;
  line-height: 1.2;
}

.similar-meta {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.3;
}

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

.rules-grid h3 {
  margin: 0 0 8px;
  color: #25314a;
  font-size: 0.9rem;
}

.rules-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

body.detail-page {
  background: #ffffff;
  color: #142347;
}

.detail-page .topbar {
  position: static;
  border-bottom: 1px solid rgba(87, 132, 230, 0.14);
  background: #ffffff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.detail-page .nav {
  width: min(1220px, calc(100% - 48px));
  min-height: 54px;
}

.detail-page .brand-logo {
  width: 34px;
  height: 34px;
  box-shadow: none;
}

.detail-page .brand-name {
  color: var(--brand-blue-deep);
  font-size: 0.92rem;
}

.detail-page .detail-shell {
  width: min(1240px, calc(100% - 72px));
  padding-top: 30px;
}

.detail-page .detail-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
  padding: 0;
}

.detail-page .detail-breadcrumb {
  margin-bottom: 18px;
  color: var(--brand-blue-deep);
  font-size: 0.88rem;
  font-weight: 650;
}

.detail-page .detail-hero h1 {
  max-width: 760px;
  margin-bottom: 14px;
  color: var(--brand-blue-deep);
  font-size: clamp(2rem, 3.3vw, 2.35rem);
  font-weight: 400;
  line-height: 1.08;
}

.detail-page .detail-meta {
  color: #142347;
  font-size: 0.98rem;
}

.detail-page .detail-top-actions {
  gap: 22px;
}

.detail-page .text-action {
  color: var(--brand-blue-deep);
  font-size: 0.86rem;
  text-decoration: none;
}

.detail-page .detail-top-actions .button {
  display: none;
}

.detail-page .detail-gallery {
  margin-bottom: 24px;
}

.detail-page .detail-photo-mosaic {
  grid-template-columns: 2fr 0.98fr 0.98fr;
  grid-template-rows: repeat(2, 200px);
  gap: 8px;
  border-radius: 12px;
  background: #ffffff;
}

.detail-page .mosaic-tile {
  background: var(--brand-blue-soft);
}

.detail-page .mosaic-tile::after {
  display: none;
  background: none;
}

.detail-page .mosaic-main {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.detail-page .mosaic-tile:nth-child(3) {
  border-top-right-radius: 12px;
}

.detail-page .mosaic-tile:nth-child(5) {
  border-bottom-right-radius: 12px;
}

.detail-page .mosaic-pill {
  position: absolute;
  bottom: 18px;
  z-index: 2;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-blue-deep);
  padding: 0 18px;
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0;
  box-shadow: 0 8px 22px rgba(31, 79, 183, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.detail-page .mosaic-pill {
  left: 18px;
}

.detail-page .mosaic-tile .photo-badge {
  display: none;
}

.detail-page .detail-layout {
  position: relative;
  grid-template-columns: minmax(0, 800px) minmax(310px, 340px);
  gap: clamp(42px, 4.8vw, 72px);
  align-items: stretch;
  justify-content: center;
}

.detail-page .detail-content {
  align-self: start;
}

.detail-page .detail-rail {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  align-self: stretch;
}

.detail-page .detail-wide-content {
  width: 100%;
  max-width: none;
  margin: 74px 0 0;
}

.detail-page .detail-wide-content .detail-section:first-child {
  margin-top: 0;
}

.detail-page .detail-alert,
.detail-page .managed-card {
  margin-top: 0;
  border-top: 0;
  border-bottom: 1px solid rgba(87, 132, 230, 0.18);
  padding: 0 0 26px;
}

.detail-page .managed-card {
  margin-top: 24px;
}

.detail-page .detail-alert {
  min-height: 74px;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}

.detail-page .detail-alert::before {
  width: 36px;
  height: 36px;
  background:
    radial-gradient(circle at 50% 46%, var(--gold) 0 40%, transparent 42%),
    rgba(255, 207, 84, 0.2);
  box-shadow: none;
}

.detail-page .detail-alert strong,
.detail-page .managed-card strong {
  color: var(--brand-blue-deep);
  font-size: 1rem;
}

.detail-page .detail-alert span,
.detail-page .managed-card p {
  color: #142347;
  font-size: 1rem;
  line-height: 1.55;
}

.detail-page .managed-icon {
  width: 36px;
  height: 36px;
  background: var(--brand-blue);
  box-shadow: none;
}

.detail-page .detail-section {
  margin-top: 54px;
  border-top: 0;
  padding: 0;
}

.detail-page .detail-section h2 {
  margin-bottom: 26px;
  color: var(--brand-blue-deep);
  font-size: 1.55rem;
  font-weight: 400;
}

.detail-page #detailOverview {
  max-width: 680px;
  color: #142347;
  font-size: 1rem;
  line-height: 1.58;
}

.detail-page .about-copy {
  display: grid;
  gap: 16px;
}

.detail-page .about-copy p {
  margin: 0;
}

.detail-page .about-copy h3 {
  margin: 2px 0 -2px;
  color: #142347;
  font-size: 1.08rem;
  font-weight: 400;
}

.detail-page .link-button {
  margin-top: 18px;
  color: var(--brand-blue-deep);
  font-size: 0.95rem;
}

.detail-page .detail-panel {
  position: sticky;
  grid-column: auto;
  grid-row: auto;
  align-self: start;
  top: 78px;
  width: 100%;
  gap: 16px;
  border: 1px solid rgba(87, 132, 230, 0.22);
  border-radius: 14px;
  background: #ffffff;
  padding: 24px;
  box-shadow: 0 18px 38px rgba(87, 132, 230, 0.18);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.detail-page .availability-line {
  color: #142347;
  font-size: 0.95rem;
  font-weight: 500;
}

.detail-page .availability-line strong {
  color: var(--brand-blue-deep);
  font-weight: 900;
}

.detail-page .detail-panel .field span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.detail-page .detail-panel input {
  min-height: 56px;
  border-color: rgba(87, 132, 230, 0.24);
  border-radius: 8px;
  background: #ffffff;
  padding: 0 18px;
  cursor: pointer;
}

.date-picker-wrap {
  position: relative;
}

.date-picker-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: -24px;
  z-index: 30;
  width: min(720px, calc(100vw - 32px));
  display: none;
  overflow: hidden;
  border: 1px solid rgba(87, 132, 230, 0.18);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(31, 79, 183, 0.2);
}

.date-picker-popover.active {
  display: block;
}

.date-picker-field {
  position: relative;
}

.date-picker-field input[readonly] {
  cursor: pointer;
}

.single-date-picker {
  position: fixed;
  top: auto;
  right: auto;
  left: 0;
  z-index: 90;
  width: min(360px, calc(100vw - 32px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  border-radius: 18px;
}

.single-date-head {
  min-height: 56px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(87, 132, 230, 0.16);
  padding: 8px 14px;
}

.single-date-head strong {
  color: #142347;
  font-size: 0.94rem;
  font-weight: 850;
  text-align: center;
}

.single-date-nav {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(87, 132, 230, 0.22);
  border-radius: 999px;
  background: #ffffff;
  color: var(--brand-blue-deep);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.single-date-nav:disabled {
  color: #b7b0b0;
  cursor: not-allowed;
}

.single-calendar {
  padding: 18px 20px 20px;
}

.single-date-picker .calendar-weekdays,
.single-date-picker .calendar-grid {
  gap: 8px;
}

.single-date-picker .calendar-day,
.single-date-picker .calendar-blank {
  min-height: 34px;
}

.single-date-picker .date-picker-foot {
  grid-template-columns: minmax(0, 1fr) 82px;
  padding: 14px 16px;
}

.single-date-picker .date-picker-foot p {
  font-size: 0.82rem;
}

.date-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(87, 132, 230, 0.16);
}

.date-tabs button {
  min-height: 50px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: #ffffff;
  color: #98a2b3;
  font-weight: 750;
  cursor: pointer;
}

.date-tabs button.active {
  border-bottom-color: var(--brand-blue);
  color: #142347;
}

.calendar-toolbar {
  position: absolute;
  top: 66px;
  right: 18px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.calendar-toolbar button {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(87, 132, 230, 0.18);
  border-radius: 50%;
  background: #ffffff;
  color: var(--brand-blue-deep);
  cursor: pointer;
}

.calendar-months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px;
  padding: 24px 34px 28px;
}

.calendar-month {
  min-width: 0;
}

.calendar-title {
  margin-bottom: 22px;
  color: #142347;
  font-weight: 850;
  text-align: center;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(30px, 1fr));
  gap: 10px;
  text-align: center;
}

.calendar-weekdays {
  margin-bottom: 12px;
  color: #34547d;
  font-size: 0.78rem;
  font-weight: 900;
}

.calendar-day,
.calendar-blank {
  min-height: 28px;
  display: grid;
  place-items: center;
}

.calendar-day {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #142347;
  cursor: pointer;
}

.calendar-day:hover:not(:disabled),
.calendar-day.in-range {
  background: rgba(87, 132, 230, 0.12);
}

.calendar-day.selected {
  background: var(--brand-blue);
  color: #ffffff;
  font-weight: 900;
}

.calendar-day:disabled {
  color: #b7b0b0;
  cursor: not-allowed;
}

.date-picker-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px;
  gap: 18px;
  align-items: center;
  border-top: 1px solid rgba(87, 132, 230, 0.16);
  padding: 18px 24px;
}

.date-picker-foot p {
  margin: 0;
  color: #142347;
}

.date-picker-foot .button {
  min-height: 42px;
}

.detail-page .detail-actions {
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
}

.detail-page .detail-actions .button {
  min-height: 52px;
  border-radius: 999px;
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  font-size: 0.86rem;
  box-shadow: 0 12px 28px rgba(87, 132, 230, 0.22);
}

.detail-page .detail-actions .button.secondary {
  background: #ffffff;
  color: var(--brand-blue-deep);
}

.help-link {
  display: inline-flex;
  justify-content: center;
  color: var(--brand-blue-deep);
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detail-page .section-kicker,
.detail-page .section-head span,
.detail-page .bed-summary span,
.detail-page .addon-copy small,
.detail-page .similar-meta,
.detail-page .rules-grid p {
  color: #536176;
}

.detail-page .bed-summary strong,
.detail-page .amenity-item,
.detail-page .addon-copy > span,
.detail-page .stay-note h2,
.detail-page .similar-card strong,
.detail-page .rules-grid h3 {
  color: var(--brand-blue-deep);
}

.detail-page .bed-photo,
.detail-page .similar-photo {
  background: var(--brand-blue-soft);
}

.detail-page .amenity-icon {
  color: #142347;
}

.detail-page .addon-card,
.detail-page .similar-card {
  border-color: rgba(87, 132, 230, 0.18);
  box-shadow: 0 12px 30px rgba(87, 132, 230, 0.1);
}

.detail-page .addon-card {
  background: rgba(248, 250, 255, 0.96);
}

.detail-page .addon-copy strong {
  color: #162448;
}

.detail-page .addon-card[data-status="paid"] .addon-copy strong,
.detail-page .addon-card[data-status="by_approval"] .addon-copy strong,
.detail-page .addon-card[data-status="by_request"] .addon-copy strong {
  color: var(--brand-blue-deep);
}

.detail-page .stay-note {
  background:
    radial-gradient(circle at 94% 18%, rgba(255, 207, 84, 0.26), transparent 22%),
    linear-gradient(135deg, rgba(237, 243, 255, 0.98), rgba(255, 255, 255, 0.9));
}

.detail-page .nearby-pills span {
  border-color: rgba(87, 132, 230, 0.22);
  background: rgba(237, 243, 255, 0.78);
  color: var(--brand-blue-deep);
}

.detail-page .map-card {
  height: clamp(310px, 27vw, 360px);
  border-color: rgba(87, 132, 230, 0.22);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(31, 79, 183, 0.08);
}

.detail-page .nearby-pills {
  gap: 10px;
  margin-bottom: 14px;
}

.detail-page .nearby-pills span {
  min-height: 32px;
  padding: 0 14px;
  font-size: 0.76rem;
}

.detail-page .similar-grid {
  gap: 20px;
}

.detail-page .similar-card {
  padding: 12px;
  border-radius: 22px;
}

.detail-page .similar-photo {
  aspect-ratio: 16 / 10;
  border-radius: 17px;
}

.detail-page .similar-card strong {
  font-size: 1.02rem;
  line-height: 1.22;
}

.detail-page .similar-meta {
  font-size: 0.84rem;
  line-height: 1.42;
}

.detail-page .rules-grid {
  gap: clamp(34px, 4.2vw, 58px);
}

.detail-page .rules-grid h3 {
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.28;
}

.detail-page .rules-grid p {
  font-size: 0.9rem;
  line-height: 1.5;
}

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

.feature-list span {
  min-height: 48px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 207, 84, 0.46);
  border-radius: var(--radius-sm);
  background: rgba(255, 207, 84, 0.13);
  padding: 0 12px;
  color: #1f355d;
  font-size: 0.82rem;
  font-weight: 850;
}

.apply-dialog {
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1fr);
}

.apply-summary {
  min-height: 680px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: #101010;
}

.apply-summary .photo {
  height: 100%;
  min-height: 430px;
  border-radius: 0;
  cursor: default;
}

.apply-summary-body {
  display: grid;
  gap: 10px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
}

.apply-summary-body > strong {
  font-size: 1.25rem;
}

.apply-summary-body > span {
  color: var(--muted);
}

.apply-form .preview p {
  margin: 8px 0 12px;
}

@media (max-width: 1100px) {
  .longterm-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.45fr);
  }

  .hero-pills.longterm-hero-categories {
    grid-template-columns: 1fr;
  }

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

  .hero-content h1 {
    font-size: clamp(2rem, 4vw, 2.7rem);
  }

  .tour-dialog {
    grid-template-columns: 1fr;
  }

  .tour-photo,
  .tour-photo .photo,
  .tour-photo .no-photo {
    min-height: 420px;
  }

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

  .booking-shell {
    width: min(920px, calc(100% - 40px));
  }

  .detail-layout,
  .detail-sections {
    grid-template-columns: 1fr;
  }

  .detail-page .detail-shell {
    width: min(920px, calc(100% - 40px));
  }

  .detail-page .detail-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .detail-page .detail-rail {
    grid-column: auto;
    grid-row: auto;
    align-self: start;
  }

  .detail-panel {
    position: static;
  }

  .detail-page .detail-panel {
    position: static;
    grid-column: auto;
    grid-row: auto;
    max-width: 430px;
  }

  .detail-page .detail-wide-content {
    grid-column: auto;
    width: 100%;
  }

  .detail-photo-mosaic {
    grid-template-rows: repeat(2, 140px);
  }

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

  .detail-page .map-card {
    height: 310px;
  }

  .date-picker-popover {
    right: 0;
  }

  .booking-photo,
  .booking-photo .photo,
  .booking-photo .no-photo {
    height: auto;
  }

  .booking-photo {
    min-height: 0;
  }

  .booking-photo .photo,
  .booking-photo .no-photo {
    min-height: 360px;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .longterm-hero-process,
  .longterm-hero-ops {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .longterm-processing-path {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detail-page .detail-shell {
    width: min(1040px, calc(100% - 40px));
  }

  .detail-page .detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 300px);
    gap: 28px;
  }

  .detail-page .detail-rail {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
  }

  .detail-page .detail-panel {
    position: sticky;
    top: 78px;
    grid-column: auto;
    grid-row: auto;
    max-width: none;
  }

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

  .detail-page .rules-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 900px) {
  .longterm-hero-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-pills.longterm-hero-categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .nav,
  .shell,
  .listing-shell,
  .footer-inner {
    width: min(var(--max), calc(100% - 24px));
  }

  .nav {
    min-height: 64px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand span:last-child,
  .nav-links {
    display: none;
  }

  .nav-back-link {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.72rem;
  }

  .shell,
  .listing-shell {
    padding-top: 30px;
  }

  .listing-shell {
    padding-top: 20px;
  }

  .longterm-collections {
    margin-bottom: 6px;
  }

  .longterm-collections .section-head {
    margin-bottom: 4px;
  }

  .longterm-collections .section-head p:last-child {
    display: none;
  }

  .longterm-collection-grid {
    padding-bottom: 6px;
  }

  .hero,
  .detail-hero,
  .search-console,
  .longterm-hero-process,
  .longterm-hero-ops,
  .section-head,
  .longterm-collection-grid,
  .filter-bar,
  .longterm-processing-path,
  .longterm-system-grid,
  .longterm-account-bridge,
  .filters,
  .photo-grid,
  .home-card.featured,
  .facts,
  .mini-facts,
  .form-actions {
    grid-template-columns: 1fr;
  }

  .detail-hero .button,
  .detail-hero > div {
    grid-column: auto;
    grid-row: auto;
  }

  .detail-shell {
    width: min(var(--max), calc(100% - 24px));
    padding-top: 18px;
  }

  .detail-page .detail-shell {
    width: min(var(--max), calc(100% - 24px));
    padding-top: 18px;
  }

  .detail-hero {
    gap: 12px;
  }

  .detail-hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.55rem);
  }

  .detail-top-actions {
    justify-content: start;
  }

  .section-head {
    align-items: flex-start;
  }

  .longterm-account-bridge {
    display: grid;
  }

  .longterm-account-bridge .button {
    width: 100%;
    justify-content: center;
  }

  .similar-actions {
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
  }

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

  .similar-photo {
    aspect-ratio: 16 / 10;
  }

  .detail-photo-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 210px repeat(2, 116px);
    border-radius: 16px;
  }

  .mosaic-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .detail-alert,
  .managed-card {
    margin-top: 16px;
    padding: 16px 0;
  }

  .bed-summary,
  .amenity-grid,
  .addon-grid {
    grid-template-columns: 1fr;
  }

  .bed-photo {
    width: min(220px, 100%);
  }

  .map-card {
    height: 210px;
  }

  .detail-page .map-card {
    height: 240px;
  }

  .date-picker-popover {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 80px;
    width: auto;
    max-height: calc(100vh - 104px);
    overflow: auto;
  }

  .calendar-toolbar {
    top: 62px;
  }

  .calendar-months {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px 18px 24px;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 8px;
  }

  .date-picker-foot {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .action-dialog {
    width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
    border-radius: 16px;
  }

  .share-preview {
    grid-template-columns: 92px 1fr;
    padding: 16px;
  }

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

  .home-card.featured {
    grid-column: auto;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .rental-hero {
    min-height: 0;
  }

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

  .hero-photos img,
  .hero-fallback {
    min-height: 620px;
  }

  .hero-photos img:nth-child(n+2) {
    display: none;
  }

  .hero-photos::after {
    background:
      linear-gradient(180deg, rgba(16, 16, 16, 0.24), rgba(16, 16, 16, 0.48)),
      linear-gradient(90deg, rgba(16, 16, 16, 0.42), rgba(16, 16, 16, 0.12));
  }

  .hero-content {
    width: min(var(--max), calc(100% - 24px));
    padding: 28px 0 24px;
  }

  .longterm-hero-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .longterm-hero-marketplace {
    padding: 12px;
  }

  .hero-pills.longterm-hero-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-content h1 {
    max-width: 340px;
    font-size: 2.25rem;
    line-height: 0.98;
  }

  .hero-content .lede {
    max-width: 320px;
    margin-right: auto;
    margin-left: auto;
    font-size: 0.82rem;
    line-height: 1.28;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .search-console {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 8px;
    border-radius: 24px;
    padding: 6px;
  }

  .search-console .field:first-child,
  .search-console .button {
    grid-column: 1 / -1;
  }

  .search-console input,
  .search-console select {
    min-height: 42px;
    font-size: 0.82rem;
  }

  .longterm-hero-marketplace {
    padding: 10px;
  }

  .longterm-hero-marketplace-head {
    margin-bottom: 8px;
  }

  .longterm-hero-marketplace-head h2 {
    font-size: 1.06rem;
  }

  .longterm-hero-marketplace-head p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-pills.longterm-hero-categories {
    width: 100%;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .hero-pills.longterm-hero-categories::-webkit-scrollbar {
    display: none;
  }

  .longterm-hero-categories button {
    flex: 0 0 48%;
    min-height: 64px;
    padding: 8px;
    scroll-snap-align: start;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .results-head,
  .results-head div {
    display: grid;
    align-items: start;
  }

  .photo,
  .home-card:not(.featured) .photo {
    min-height: 330px;
  }

  .apply-summary,
  .apply-summary .photo {
    min-height: 360px;
  }

  .detail-main-photo .photo {
    min-height: 250px;
  }

  .thumb-grid,
  .feature-list,
  .detail-actions {
    grid-template-columns: 1fr 1fr;
  }

  .photo-modal-dialog {
    width: 100%;
    height: 100vh;
    border: 0;
    border-radius: 0;
    padding: 0;
  }

  .photo-modal-head {
    top: 12px;
    right: 12px;
  }

  .photo-modal-head .tour-close {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.7rem;
  }

  .photo-modal-shell {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 64px 0 24px;
  }

  .photo-modal-nav {
    position: static;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 0 8px;
    white-space: nowrap;
  }

  .photo-modal-nav a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(87, 132, 230, 0.22);
    border-radius: 999px;
    padding: 0 12px;
    background: var(--brand-blue-soft);
    font-size: 0.78rem;
  }

  .photo-modal-grid {
    grid-column: auto;
  }

  .photo-modal-group-grid {
    grid-template-columns: 1fr;
  }

  .photo-modal-card.featured img,
  .photo-modal-card.featured .no-photo,
  .photo-modal-card img,
  .photo-modal-card .no-photo {
    aspect-ratio: 4 / 3;
  }

  .view-photos-button {
    min-height: 34px;
    padding: 0 11px;
    font-size: 0.62rem;
  }

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

  .booking-panel {
    padding: 16px;
  }

  .booking-shell {
    width: min(var(--max), calc(100% - 24px));
    padding-top: 18px;
  }

  .booking-shell .hero {
    padding: 16px;
  }

  .booking-shell .hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.45rem);
  }

  .booking-photo {
    padding: 8px;
  }

  .booking-photo .photo,
  .booking-photo .no-photo {
    min-height: 300px;
  }

  .tour-dialog {
    width: 100%;
    height: 100%;
    max-height: none;
    border: 0;
  }

  .tour-photo,
  .tour-photo .photo,
  .tour-photo .no-photo {
    min-height: 360px;
  }

  .tour-form {
    padding: 18px 12px 26px;
  }

  .tour-type,
  .tour-row,
  .tour-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .longterm-integration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .longterm-integration-head {
    display: grid;
  }

  .longterm-integration-grid {
    grid-template-columns: 1fr;
  }
}
