@charset "UTF-8";
:root {
  --ink: #173a47;
  --muted: #5c7078;
  --paper: #f9faf8;
  --line: #dce3df;
  --accent: #1c5765;
  --accent-dark: #123f4b;
  --soft: #e9efeb;
  --sand: #f0ebe0;
  --red: #a73434;
  --radius: 12px;
  --shadow: 0 10px 40px #153b4712;
  color-scheme: light;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
img {
  display: block;
  width: 100%;
  object-fit: cover;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.13;
  letter-spacing: -0.04em;
  font-weight: 600;
}
h1 {
  font-size: clamp(36px, 4.8vw, 64px);
}
h2 {
  font-size: clamp(26px, 3vw, 38px);
}
h3 {
  font-size: 23px;
}
p + p {
  margin-top: 16px;
}
small,
.small {
  font-size: 14px;
  line-height: 1.5;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.17em;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.eyebrow:before {
  content: "";
  height: 7px;
  width: 7px;
  background: currentColor;
  border-radius: 50%;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
a:hover {
  color: var(--accent);
}
:focus-visible {
  outline: 3px solid #2c8095;
  outline-offset: 4px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 99;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1376px;
  padding: 0 48px;
  margin: auto;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  letter-spacing: -1.2px;
  font-weight: 700;
  line-height: 1;
}
.brand svg {
  width: 34px;
  height: 40px;
  stroke-width: 1.8;
}
.brand-light {
  font-weight: 450;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2.2px;
  margin-top: 9px;
  font-weight: 600;
}
.desktop-nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 550;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.icon-button {
  height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 27px;
}
.icon-button:hover {
  background: var(--soft);
}
.button {
  min-height: 48px;
  border-radius: 8px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}
.button:hover {
  background: var(--accent-dark);
  color: white;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: #bac9c8;
}
.button.secondary:hover {
  background: var(--soft);
}
.button.light {
  background: white;
  color: var(--ink);
  border-color: white;
}
.button.danger {
  color: var(--red);
  border-color: #e6bbbb;
  background: #fff4f2;
}
.button.compact {
  padding: 10px 18px;
  min-height: 44px;
}
.button.full {
  width: 100%;
}
.otp-channels {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.otp-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: filter 0.15s ease;
}
.otp-channel svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex: none;
}
.otp-channel span {
  font-size: 15px;
}
.otp-channel span small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.85;
}
.otp-channel[data-up="otp-firebase"] {
  background: #1a73e8;
}
.otp-channel.otp-single {
  justify-content: center;
  min-height: 56px;
}
.otp-channel.otp-single span {
  text-align: center;
}
.otp-channel:hover {
  filter: brightness(0.94);
}
.otp-channel[data-channel="telegram"] {
  background: #229ed9;
}
.otp-channel[data-channel="max"] {
  background: #4a3aff;
}
.otp-channel[data-channel="whatsapp"] {
  background: #25d366;
  color: #06301a;
}
.otp-channel[data-channel="sms"] {
  background: #444441;
}
.text-button {
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 14px;
}
.menu-toggle {
  display: none;
}
.mobile-menu {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
}
.mobile-menu a {
  display: block;
  padding: 12px 0;
}
.container {
  max-width: 1376px;
  margin: auto;
  padding: 0 48px;
}
.section {
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero {
  padding-top: 32px;
}
.hero-frame {
  position: relative;
  min-height: 550px;
  background: #294f5d;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
}
.hero-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: 50% 56%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #08232eda 0%,
    #16394880 48%,
    #1639480a 100%
  );
}
.hero-copy {
  position: relative;
  padding: 64px;
  max-width: 710px;
}
.hero-copy .eyebrow {
  color: #e4ece6;
}
.hero-copy h1 {
  font-size: clamp(44px, 5.2vw, 72px);
  letter-spacing: -0.055em;
  line-height: 1.04;
  font-weight: 500;
}
.hero-copy h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #e9e3c9;
}
.hero-copy p {
  max-width: 375px;
  margin: 24px 0 32px;
  color: #f2f5f1;
  font-size: 16px;
}
.hero-index {
  position: absolute;
  right: 32px;
  bottom: 30px;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.hero-index:before {
  content: "";
  width: 32px;
  height: 1px;
  background: #fff8;
}
.hero-caption {
  text-align: right;
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}
.search-wrap {
  position: relative;
  margin: -42px 32px 0;
}
.search-panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr auto;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow);
  align-items: center;
}
.search-panel label {
  padding: 4px 20px;
  border-right: 1px solid var(--line);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-width: 0;
}
.search-panel input,
.search-panel select {
  border: 0;
  background: none;
  padding: 5px 0 0;
  height: 34px;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  width: 100%;
  min-width: 0;
  box-shadow: none;
}
.search-panel .button {
  margin-left: 14px;
  height: 58px;
}
.trust-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  padding-bottom: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.trust-row span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-row svg {
  width: 17px;
  height: 17px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}
.section-head p {
  margin-top: 12px;
  color: var(--muted);
  max-width: 650px;
}
.section-head .eyebrow {
  margin-bottom: 12px;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.chip {
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: white;
  font-size: 14px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.chip.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.chip input {
  accent-color: var(--accent);
  width: 17px;
  height: 17px;
  margin: 0;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.stay-card {
  min-width: 0;
  position: relative;
}
.card-image {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--soft);
  aspect-ratio: 1.35;
}
.card-image img {
  height: 100%;
  transition: transform 0.3s;
}
.stay-card:hover .card-image img {
  transform: scale(1.035);
}
.card-like {
  position: absolute;
  right: 14px;
  top: 14px;
  background: #ffffffed;
  border: 0;
}
.card-like.saved {
  color: #ae4040;
}
.card-like.saved svg {
  fill: #ae4040;
}
.card-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  background: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 12px;
  pointer-events: none;
}
.card-body {
  padding-top: 16px;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.card-body h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.card-price {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.card-price b {
  font-size: 21px;
  letter-spacing: -0.04em;
}
.card-price .small {
  color: var(--muted);
}
.empty {
  background: #eef2ed;
  border: 1px solid #dce5da;
  border-radius: 12px;
  padding: 42px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.empty-mark {
  height: 64px;
  width: 64px;
  background: #dde8df;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.empty-mark svg {
  width: 28px;
  height: 28px;
}
.empty-copy {
  flex: 1;
}
.empty h3 {
  font-size: 25px;
  margin-bottom: 10px;
}
.empty p {
  color: var(--muted);
  max-width: 600px;
  font-size: 15px;
}
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding-top: 20px;
}
.editorial-heading h2 {
  max-width: 480px;
  font-size: 48px;
  line-height: 1.1;
}
.editorial-heading p {
  margin-top: 24px;
  color: var(--muted);
  max-width: 450px;
}
.steps {
  border-top: 1px solid var(--line);
}
.step {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
}
.step > span {
  font-size: 14px;
  color: var(--muted);
}
.step h3 {
  font-size: 21px;
  margin-bottom: 10px;
}
.step p {
  font-size: 15px;
  color: var(--muted);
}
.owner-banner {
  background: var(--sand);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 48px;
  margin-top: 56px;
}
.owner-banner p {
  margin-top: 12px;
  color: var(--muted);
  max-width: 570px;
}
.owner-banner h2 {
  font-size: 32px;
}
.footer {
  max-width: 1280px;
  margin: 32px auto 0;
  padding: 48px 0 24px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand {
  font-size: 38px;
  letter-spacing: -2px;
  font-weight: 650;
  display: flex;
  gap: 40px;
}
.footer-top p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  row-gap: 14px;
  font-size: 14px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 12px;
  color: var(--muted);
}
.page-head {
  padding-top: 48px;
  margin-bottom: 28px;
}
.page-head h1 {
  font-size: 44px;
}
.page-head p {
  margin-top: 12px;
  color: var(--muted);
}
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.toolbar .chips {
  margin: 0;
}
.toolbar select {
  width: auto;
}
.filter-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 12px;
  margin: 20px 0;
}
.filter-extra label {
  min-width: 140px;
  flex: 1;
}
.filter-extra .amenity-filters {
  flex-basis: 100%;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-extra .chip {
  flex: 0;
  min-width: 0;
}
.result-count {
  font-size: 14px;
  color: var(--muted);
}
.load-more {
  text-align: center;
  margin: 32px 0;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}
.panel + .panel {
  margin-top: 24px;
}
.panel h2 {
  font-size: 26px;
  margin-bottom: 20px;
}
.panel h3 {
  font-size: 21px;
  margin-bottom: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-stack {
  display: grid;
  gap: 20px;
}
.span-all {
  grid-column: 1/-1;
}
label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 550;
}
input,
textarea,
select {
  border: 1px solid #b8c7c6;
  border-radius: 7px;
  padding: 11px 12px;
  min-height: 46px;
  width: 100%;
  color: var(--ink);
  background: white;
  max-width: 100%;
}
textarea {
  resize: vertical;
  min-height: 112px;
  line-height: 1.5;
}
input[type="checkbox"] {
  width: 19px;
  height: 19px;
  min-height: 19px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 14px;
}
.check input {
  margin-top: 3px;
}
.help {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}
.notice {
  padding: 16px 20px;
  border-radius: 8px;
  background: #eef4f5;
  border: 1px solid #d3e2e5;
  font-size: 14px;
  line-height: 1.6;
}
.notice.warning {
  background: #fbf3e4;
  border-color: #ead9b9;
  color: #705524;
}
.notice.error,
.form-error {
  background: #fff1ee;
  color: #8b2929;
  border: 1px solid #edc4bd;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
}
.form-error:empty {
  display: none;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
.narrow {
  max-width: 820px;
}
.center-page {
  max-width: 600px;
  margin: 64px auto;
  padding: 0 24px;
}
.center-page h1 {
  font-size: 36px;
  margin-bottom: 20px;
}
.center-page .panel p {
  margin-bottom: 24px;
}
.loading {
  text-align: center;
  padding: 100px 24px;
  color: var(--muted);
}
.loading:before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  max-width: 520px;
  width: calc(100% - 32px);
  max-height: 90dvh;
  color: var(--ink);
  box-shadow: 0 24px 80px #0003;
}
dialog::backdrop {
  background: #0b242780;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.dialog-head h2 {
  font-size: 28px;
}
.dialog-head .icon-button {
  flex-shrink: 0;
}
.auth-tabs {
  display: flex;
  background: var(--soft);
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 24px;
}
.auth-tabs button {
  flex: 1;
  min-height: 44px;
  border-radius: 6px;
  font-size: 14px;
}
.auth-tabs .active {
  background: white;
  box-shadow: 0 1px 3px #0001;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 14px 22px;
  max-width: calc(100% - 32px);
  z-index: 100;
  font-size: 14px;
  display: none;
}
#toast.visible {
  display: block;
}
.recovery-code {
  display: block;
  word-break: break-all;
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 8px;
  font-size: 15px;
  margin: 20px 0;
  font-family: monospace;
}
.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  margin: 24px 0;
}
.detail-head h1 {
  font-size: 44px;
}
.detail-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 210px 210px;
  gap: 8px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.gallery > button {
  padding: 0;
  background: var(--soft);
  overflow: hidden;
}
.gallery > button:first-child {
  grid-row: 1/3;
}
.gallery img {
  height: 100%;
}
.gallery.single {
  grid-template-columns: 1fr;
  grid-template-rows: 420px;
}
.gallery.single > button:first-child {
  grid-row: auto;
}
.gallery.two {
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 420px;
}
.gallery.two > button:first-child {
  grid-row: auto;
}
.gallery.three {
  grid-template-columns: 1.5fr 1fr;
}
.gallery.three > button:first-child {
  grid-row: 1/3;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 64px;
  align-items: start;
  margin-top: 40px;
}
.detail-section {
  padding: 0 0 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.detail-section h2 {
  font-size: 27px;
  margin-bottom: 20px;
}
.detail-section .prose {
  white-space: pre-line;
  color: #455d66;
  overflow-wrap: anywhere;
}
.amenities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.amenities div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
.booking-panel {
  position: sticky;
  top: 24px;
  box-shadow: var(--shadow);
}
.booking-panel .price {
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.booking-panel .price span {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}
.quote-lines {
  display: grid;
  gap: 12px;
  padding: 20px 0;
}
.quote-lines > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}
.quote-total {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 20px !important;
  font-weight: 650;
}
.quote-lines details {
  font-size: 14px;
}
.quote-lines summary {
  cursor: pointer;
  min-height: 32px;
}
.calendar-period {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  margin: 24px 0;
  flex-wrap: wrap;
}
.tabs a {
  padding: 14px 18px;
  min-height: 48px;
  font-size: 14px;
  border-bottom: 2px solid transparent;
}
.tabs a.active {
  border-color: var(--accent);
  font-weight: 650;
}
.list-stack {
  display: grid;
  gap: 16px;
}
.row-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.row-card > img {
  width: 130px;
  height: 110px;
  border-radius: 8px;
}
.row-info {
  flex: 1;
  min-width: 0;
}
.row-info h3 {
  font-size: 21px;
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.row-info p {
  font-size: 14px;
  color: var(--muted);
}
.row-end {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 12px;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 5px;
  background: #eef0ed;
  color: #50615f;
  font-size: 12px;
  font-weight: 600;
}
.badge.confirmed,
.badge.published,
.badge.completed {
  color: #256240;
  background: #e8f1e7;
}
.badge.pending,
.badge.requested {
  color: #7c541a;
  background: #faf0db;
}
.badge.cancelled,
.badge.declined,
.badge.expired {
  color: #8b4440;
  background: #f7e9e5;
}
.photo-editor {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.photo-item {
  position: relative;
}
.photo-item img {
  height: 120px;
  border-radius: 8px;
}
.photo-item button {
  position: absolute;
  right: 6px;
  top: 6px;
  background: white;
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
}
.upload-label {
  border: 1px dashed #829a9a;
  padding: 24px;
  background: #f4f7f5;
  border-radius: 8px;
  text-align: center;
  display: block;
  cursor: pointer;
}
.upload-label input {
  margin-top: 14px;
}
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: start;
}
.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}
.fact-grid span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}
.fact-grid b {
  font-weight: 550;
}
.messages {
  display: grid;
  gap: 16px;
  max-height: 460px;
  overflow: auto;
  padding: 16px 2px;
  margin-bottom: 20px;
}
.message {
  padding: 12px 16px;
  background: var(--soft);
  border-radius: 10px;
  max-width: 90%;
  justify-self: start;
  overflow-wrap: anywhere;
}
.message.mine {
  background: #e3eef0;
  justify-self: end;
}
.message header {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.message p {
  font-size: 14px;
  white-space: pre-wrap;
}
.message time {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}
.stat {
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.stat b {
  font-size: 36px;
  display: block;
  letter-spacing: -1px;
}
.stat span {
  font-size: 14px;
  color: var(--muted);
}
.review {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.review strong {
  font-size: 15px;
}
.review p {
  margin-top: 10px;
  font-size: 15px;
  white-space: pre-line;
}
.lightbox-image {
  max-height: 65vh;
  width: 100%;
  object-fit: contain;
  background: #102c35;
  border-radius: 8px;
}
.tour-frame {
  width: 100%;
  height: 500px;
  border: 0;
  border-radius: 12px;
}
.wide-dialog {
  max-width: 1000px;
}
.log {
  font-size: 13px;
  overflow-wrap: anywhere;
  display: grid;
  gap: 10px;
}
.prose {
  overflow-wrap: anywhere;
}
.prose h2 {
  font-size: 26px;
  margin-top: 36px;
  margin-bottom: 16px;
}
.prose p {
  margin-bottom: 20px;
}
.prose ul {
  padding-left: 22px;
}
.no-photo {
  height: 110px;
  width: 130px;
  background: var(--soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  flex-shrink: 0;
}
@media (min-width: 1600px) {
  .hero-frame {
    min-height: 610px;
  }
}
@media (max-width: 1100px) {
  .header-inner,
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
  .desktop-nav {
    gap: 20px;
  }
  .hero-copy {
    padding: 48px;
  }
  .search-wrap {
    margin-left: 16px;
    margin-right: 16px;
  }
  .search-panel label {
    padding-left: 12px;
    padding-right: 12px;
  }
  .footer {
    margin-left: 32px;
    margin-right: 32px;
  }
  .detail-layout {
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) 330px;
  }
  .booking-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
  .card-grid {
    gap: 20px;
  }
  .empty {
    padding: 32px;
    gap: 24px;
  }
  .empty-mark {
    display: none;
  }
  .editorial {
    gap: 40px;
  }
  .editorial-heading h2 {
    font-size: 40px;
  }
}
@media (max-width: 800px) {
  .header-inner {
    min-height: 84px;
    gap: 16px;
    padding: 0 24px;
  }
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .header-actions {
    gap: 8px;
  }
  .brand {
    font-size: 25px;
  }
  .brand svg {
    width: 28px;
  }
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero {
    padding-top: 24px;
  }
  .hero-frame {
    min-height: 480px;
  }
  .hero-copy {
    padding: 36px;
  }
  .hero-copy h1 {
    font-size: 56px;
  }
  .search-wrap {
    margin: 20px 0 0;
  }
  .search-panel {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 24px;
  }
  .search-panel label {
    padding: 0;
    border: 0;
  }
  .search-panel label:first-child {
    grid-column: 1/-1;
  }
  .search-panel .button {
    margin: 0;
    height: 48px;
  }
  .trust-row {
    gap: 16px;
    font-size: 12px;
  }
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
  .editorial {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .editorial-heading h2 {
    font-size: 38px;
    max-width: 550px;
  }
  .owner-banner {
    padding: 32px;
    gap: 24px;
  }
  .footer-links {
    column-gap: 24px;
  }
  .footer-top {
    gap: 24px;
  }
  .detail-layout,
  .booking-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .booking-panel {
    position: static;
    grid-row: 1;
  }
  .gallery {
    grid-template-rows: 150px 150px;
  }
  .gallery.single,
  .gallery.two {
    grid-template-rows: 320px;
  }
  .row-card {
    gap: 16px;
    flex-wrap: wrap;
  }
  .row-end {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }
  .empty {
    flex-direction: column;
    align-items: start;
  }
  .detail-head h1 {
    font-size: 36px;
  }
  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}
@media (max-width: 480px) {
  .header-inner {
    padding: 0 16px;
    min-height: 80px;
  }
  .brand {
    gap: 8px;
    font-size: 24px;
  }
  .brand small {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .header-actions > .icon-button {
    display: none;
  }
  .header-actions > .menu-toggle {
    display: inline-flex;
  }
  .button.compact {
    padding: 10px 14px;
  }
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero {
    padding-top: 16px;
  }
  .hero-frame {
    min-height: 480px;
    border-radius: 12px;
    align-items: start;
  }
  .hero-frame > img {
    object-position: 64% 50%;
  }
  .hero-shade {
    background: linear-gradient(90deg, #08232ecf, #16394855);
  }
  .hero-copy {
    padding: 36px 24px;
  }
  .hero-copy h1 {
    font-size: 48px;
  }
  .hero-copy p {
    font-size: 15px;
    max-width: 260px;
    margin: 24px 0;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.12em;
  }
  .hero-index {
    right: 20px;
    bottom: 20px;
    font-size: 10px;
  }
  .hero-caption {
    font-size: 10px;
  }
  .search-panel {
    padding: 20px;
    gap: 16px;
    border-radius: 10px;
  }
  .search-panel label {
    font-size: 10px;
  }
  .search-panel input,
  .search-panel select {
    font-size: 14px;
  }
  .search-panel .button {
    font-size: 14px;
    padding: 10px;
  }
  .trust-row {
    justify-content: start;
    gap: 10px 20px;
    margin-top: 20px;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }
  .section-head h2 {
    font-size: 31px;
  }
  .section-head p {
    font-size: 15px;
  }
  .chips {
    gap: 6px;
  }
  .chip {
    font-size: 13px;
    padding: 9px 12px;
  }
  .card-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .empty {
    padding: 28px 24px;
    gap: 24px;
  }
  .empty h3 {
    font-size: 24px;
  }
  .empty p {
    font-size: 14px;
  }
  .editorial-heading h2 {
    font-size: 36px;
  }
  .owner-banner {
    padding: 28px 24px;
    flex-direction: column;
    align-items: start;
    margin-top: 40px;
  }
  .owner-banner h2 {
    font-size: 28px;
  }
  .owner-banner p {
    font-size: 15px;
  }
  .footer {
    margin: 24px 16px 0;
    padding-top: 32px;
  }
  .footer-top {
    flex-direction: column;
    gap: 28px;
    margin-bottom: 28px;
  }
  .footer-links {
    row-gap: 16px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-bottom > span:last-child {
    margin-left: auto;
  }
  .footer-brand {
    font-size: 34px;
  }
  .page-head {
    padding-top: 32px;
  }
  .page-head h1 {
    font-size: 35px;
  }
  .panel {
    padding: 22px 20px;
  }
  .form-grid {
    gap: 16px;
    grid-template-columns: 1fr;
  }
  .span-all {
    grid-column: auto;
  }
  .form-grid.dates-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid.dates-grid input {
    font-size: 14px;
    padding: 10px 8px;
  }
  .filter-extra {
    padding: 20px;
  }
  .detail-head {
    flex-direction: column;
    gap: 16px;
  }
  .detail-head h1 {
    font-size: 34px;
  }
  .gallery,
  .gallery.two,
  .gallery.three {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 130px;
  }
  .gallery > button:first-child,
  .gallery.two > button:first-child,
  .gallery.three > button:first-child {
    grid-column: 1/-1;
    grid-row: auto;
  }
  .gallery.single {
    grid-template-columns: 1fr;
    grid-template-rows: 280px;
  }
  .gallery > button:nth-child(n + 4) {
    display: none;
  }
  .gallery.two {
    grid-template-rows: 250px 160px;
    grid-template-columns: 1fr;
  }
  .detail-layout {
    margin-top: 24px;
  }
  .amenities {
    gap: 14px;
    font-size: 14px;
  }
  .amenities div {
    font-size: 14px;
  }
  .row-card {
    padding: 16px;
    gap: 14px;
  }
  .row-card > img,
  .no-photo {
    width: 85px;
    height: 85px;
  }
  .row-info h3 {
    font-size: 18px;
  }
  .row-info p {
    font-size: 13px;
  }
  .row-end {
    gap: 10px;
    flex-wrap: wrap;
  }
  .photo-editor {
    grid-template-columns: 1fr 1fr;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 16px 12px;
  }
  .stat b {
    font-size: 28px;
  }
  .stat span {
    font-size: 12px;
  }
  .tabs {
    gap: 0;
  }
  .tabs a {
    padding: 12px;
    font-size: 13px;
  }
  .actions > .button {
    flex: 1;
  }
  .toolbar select {
    max-width: 100%;
  }
  dialog {
    padding: 22px;
    max-height: 94dvh;
  }
  .tour-frame {
    height: 400px;
  }
  .fact-grid {
    gap: 16px;
    font-size: 14px;
  }
  .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .header,
  .footer,
  .actions,
  .booking-layout > aside,
  #toast,
  dialog,
  .no-print {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
  .container {
    padding: 0;
    max-width: none;
  }
  .booking-layout {
    display: block;
  }
  .panel {
    border: 0;
    padding: 0;
    break-inside: avoid;
  }
  .page-head h1 {
    font-size: 28px;
  }
  .badge {
    border: 1px solid #aaa;
  }
  .fact-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.photo-item .cover-button {
  right: auto;
  left: 6px;
  font-size: 19px;
}

/* Product navigation and interaction layer */
.hero-index {
  bottom: 76px;
  color: #fff;
  font-size: 10px;
}
.workspace-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  max-width: 1440px;
  margin: auto;
  min-height: 70vh;
}
.workspace-sidebar {
  padding: 36px 24px;
  border-right: 1px solid var(--line);
  background: #f0f3ee;
  position: sticky;
  top: 0;
  align-self: start;
  min-height: calc(100vh - 100px);
}
.workspace-profile {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid #d8e0d9;
}
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  flex-shrink: 0;
}
.workspace-profile b {
  font-size: 14px;
  display: block;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.workspace-profile div > span {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.nav-group {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 650;
  color: var(--muted);
  margin: 28px 12px 12px;
}
.workspace-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  margin: 4px 0;
  line-height: 1.3;
}
.workspace-sidebar nav a svg {
  width: 18px;
  height: 18px;
}
.workspace-sidebar nav a:hover {
  background: #e4ebe3;
}
.workspace-sidebar nav a.active {
  background: #fff;
  color: var(--accent);
  font-weight: 650;
  box-shadow: 0 1px 4px #173a470a;
}
.nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: auto;
}
/* Бейдж непрочитанных уведомлений в навигации кабинета. */
.nav-badge {
  margin-left: auto;
  min-width: 20px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #b23c17;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
.nav-badge[hidden] {
  display: none;
}
.badge.muted {
  background: #e4ebe3;
  color: var(--muted);
}
.nav-separator {
  border-top: 1px solid #d8e0d9;
  margin: 24px 0;
}
.sidebar-note {
  font-size: 12px;
  color: var(--muted);
  margin: 40px 12px 0;
  line-height: 1.7;
}
.workspace-content {
  min-width: 0;
}
.workspace-content > .container {
  padding: 40px;
  max-width: none;
}
.workspace-content .page-head {
  padding-top: 0;
}
.workspace-content .page-head h1 {
  font-size: 38px;
}
.workspace-content .tabs {
  display: none;
}
.workspace-content .narrow {
  max-width: 960px;
}
.workspace-content .booking-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
}
.workspace-content .row-card > img {
  width: 100px;
  height: 100px;
}
.workspace-content .row-card {
  flex-wrap: wrap;
}
.workspace-content .row-end {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}
.bottom-nav {
  display: none;
}
.booking-timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
  margin: 24px 0 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.booking-timeline li {
  display: flex;
  gap: 10px;
  padding: 20px 16px;
  align-items: start;
  border-right: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.booking-timeline li:last-child {
  border: 0;
}
.booking-timeline li > span {
  height: 24px;
  width: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}
.booking-timeline .done > span {
  background: #e1ecdf;
  border-color: #e1ecdf;
  color: #315f39;
}
.booking-timeline .current {
  background: #eaf2f3;
  color: var(--ink);
  font-weight: 600;
}
.booking-timeline .current > span {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.booking-timeline small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 4px;
}
.booking-timeline .ended {
  grid-column: 1/-1;
  color: var(--red);
}
.editor-guide {
  position: sticky;
  top: 0;
  background: #f9faf8ee;
  backdrop-filter: blur(12px);
  z-index: 5;
  display: flex;
  gap: 4px;
  padding: 12px 0;
  margin: 0 0 20px;
  border-bottom: 1px solid var(--line);
}
.editor-guide button {
  padding: 12px 14px;
  font-size: 12px;
  min-height: 44px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.editor-guide button span {
  font-size: 10px;
  color: var(--muted);
}
.editor-guide button:hover {
  background: var(--soft);
}
[id^="editor-section"] {
  scroll-margin-top: 85px;
}
.month-panel {
  margin-bottom: 24px;
}
.month-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.month-top .eyebrow {
  font-size: 10px;
  margin-bottom: 12px;
}
.month-top h2 {
  margin: 0;
  text-transform: capitalize;
  font-size: 28px;
}
.calendar-legend {
  display: flex;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.calendar-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.calendar-legend i {
  display: block;
  height: 10px;
  width: 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: white;
}
.calendar-legend i.busy {
  background: #eaded5;
  border-color: #c9b6a6;
}
/* Состояния дней в календаре владельца: своя бронь, чужой канал, закрыто. */
.calendar-legend i.cal-booked {
  background: var(--accent);
  border-color: var(--accent);
}
.calendar-legend i.cal-external {
  background: #b8873f;
  border-color: #b8873f;
}
.calendar-legend i.cal-closed {
  background: repeating-linear-gradient(45deg, #d8dcd8 0 3px, #eef1ee 3px 6px);
  border-color: #c9cfc9;
}
.calendar-legend i.cal-free {
  background: #fff;
  border-color: var(--line);
}
.month-day.cal-booked {
  background: #e8f0e6;
  border-color: #a9c2a2;
}
.month-day.cal-external {
  background: #f7ecdc;
  border-color: #dcc09a;
}
.month-day.cal-closed {
  background: repeating-linear-gradient(45deg, #f0f1f0 0 4px, #fafbfa 4px 8px);
  border-color: #d5d9d5;
  color: var(--muted);
}
.month-day.cal-booked small,
.month-day.cal-external small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.owner-unit {
  margin-top: 22px;
}
/* Быстрый ввод брони: свёрнут, чтобы сетка месяца оставалась на экране. */
.quick-add {
  margin: 18px 0 4px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.quick-add > summary {
  cursor: pointer;
  padding: 14px 16px;
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 650;
  font-size: 14px;
  list-style: none;
}
.quick-add > summary::-webkit-details-marker {
  display: none;
}
.quick-add[open] > summary {
  border-bottom: 1px solid var(--line);
}
.quick-add > form {
  padding: 16px;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip-row .chip {
  cursor: pointer;
}
.chip-row .chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.chip-row .chip:has(input:checked) {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.row-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-decoration: none;
}
.owner-unit-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.calendar-legend i.selected {
  background: var(--accent);
  border-color: var(--accent);
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.weekday {
  text-align: center;
  font-size: 11px;
  font-weight: 550;
  color: var(--muted);
  padding: 6px;
}
.month-day {
  min-height: 76px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  text-align: left;
}
.month-day > span {
  font-size: 15px;
}
.month-day small {
  font-size: 10px;
  color: var(--muted);
}
.month-day.today > span {
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.month-day.busy {
  background: #f2eae3;
  border-color: #e4d7cc;
  color: #775442;
}
.month-day.busy small {
  color: #775442;
}
.month-day.selected {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.month-day.selected small {
  color: #fff;
}
.month-day:hover:not(:disabled) {
  box-shadow: inset 0 0 0 1px var(--accent);
}
.month-day:disabled {
  cursor: default;
  background: #f3f4f2;
  opacity: 0.4;
}
.calendar-selection {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: grid;
  gap: 16px;
  font-size: 14px;
}
.calendar-selection .actions {
  gap: 8px;
}
.desktop-nav a.active {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 8px;
}
.page-ready > .container,
.page-ready > .workspace-shell,
.page-ready > .center-page {
  animation: page-in 0.3s ease both;
}
.button,
.icon-button,
.chip {
  transition:
    background 0.18s,
    color 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
}
.button:active,
.icon-button:active,
.chip:active {
  transform: translateY(1px);
}
.button:hover {
  box-shadow: 0 3px 12px #173a4712;
}
dialog[open] {
  animation: dialog-in 0.2s ease both;
}
.card-grid .stay-card {
  animation: page-in 0.35s ease both;
}
.card-grid .stay-card:nth-child(2) {
  animation-delay: 40ms;
}
.card-grid .stay-card:nth-child(3) {
  animation-delay: 80ms;
}
#toast.visible {
  animation: toast-in 0.2s ease both;
}
.filter-extra:not([hidden]) {
  animation: page-in 0.2s ease both;
}
.button:disabled {
  position: relative;
  cursor: wait;
}
.button:disabled:after {
  content: "";
  height: 14px;
  width: 14px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}
.photo-item button {
  height: 44px;
  min-width: 44px;
}
.photo-item .cover-button {
  top: auto;
  bottom: 30px;
}
.booking-panel {
  scroll-margin-top: 24px;
}
@keyframes page-in {
  from {
    opacity: 0.1;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes toast-in {
  from {
    opacity: 0;
    margin-bottom: -5px;
  }
  to {
    opacity: 1;
    margin-bottom: 0;
  }
}
@media (max-width: 1180px) {
  .workspace-shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .workspace-sidebar {
    padding: 28px 16px;
  }
  .workspace-content > .container {
    padding: 32px;
  }
  .workspace-content .booking-layout {
    grid-template-columns: 1fr;
  }
  .workspace-content .booking-layout > aside {
    max-width: none;
  }
  .workspace-content .row-end .actions {
    flex-wrap: wrap;
  }
  .booking-timeline li {
    padding: 16px 12px;
    font-size: 11px;
  }
  .booking-timeline li > span {
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 800px) {
  .workspace-shell {
    display: block;
  }
  .workspace-sidebar {
    display: none;
  }
  .workspace-content .tabs {
    display: flex;
  }
  .workspace-content > .container {
    padding: 32px 24px;
  }
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    min-height: 72px;
    background: #fffffff5;
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    padding: 8px 12px max(8px, env(safe-area-inset-bottom));
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 24px #173a4708;
  }
  .bottom-nav > a {
    display: flex;
    min-width: 60px;
    min-height: 52px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    color: var(--muted);
    border-radius: 8px;
    padding: 4px 12px;
  }
  .bottom-nav > a.active {
    background: var(--soft);
    color: var(--accent);
    font-weight: 650;
  }
  .bottom-nav svg {
    width: 20px;
    height: 20px;
  }
  .bottom-nav.stay-bottom {
    justify-content: space-between;
    padding-left: 24px;
    padding-right: 24px;
    gap: 16px;
  }
  .mobile-price {
    display: flex;
    flex-direction: column;
    font-size: 15px;
  }
  .mobile-price span {
    font-size: 11px;
    color: var(--muted);
  }
  .mobile-price b {
    font-size: 17px;
  }
  body {
    padding-bottom: 76px;
  }
  .footer-bottom {
    padding-bottom: 12px;
  }
  #toast {
    bottom: 92px;
  }
  .hero-index {
    bottom: 26px;
  }
  .booking-timeline {
    grid-template-columns: 1fr 1fr;
  }
  .booking-timeline li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .booking-timeline li:nth-child(even) {
    border-right: 0;
  }
  .booking-timeline li {
    font-size: 12px;
    min-height: 72px;
  }
  .booking-timeline small {
    font-size: 10px;
  }
  .editor-guide {
    overflow-x: auto;
    gap: 0;
  }
  .editor-guide button {
    white-space: nowrap;
    padding: 10px 12px;
  }
}
@media (max-width: 480px) {
  .workspace-content > .container {
    padding: 28px 16px;
  }
  .workspace-content .page-head h1 {
    font-size: 32px;
  }
  .workspace-content .row-card > img {
    height: 85px;
    width: 85px;
  }
  .workspace-content .row-end {
    gap: 12px;
  }
  .workspace-content .row-end .actions {
    width: 100%;
  }
  .workspace-content .row-end .button {
    font-size: 12px;
  }
  .month-panel {
    padding: 20px 12px;
  }
  .month-top {
    gap: 12px;
  }
  .month-top h2 {
    font-size: 22px;
  }
  .month-top .icon-button {
    height: 40px;
    min-width: 40px;
  }
  .month-top .actions {
    gap: 6px;
  }
  .calendar-legend {
    gap: 12px;
    font-size: 10px;
  }
  .month-grid {
    gap: 4px;
  }
  .month-day {
    padding: 7px 5px;
    min-height: 62px;
    border-radius: 5px;
  }
  .month-day > span {
    font-size: 13px;
  }
  .month-day small {
    font-size: 8px;
    letter-spacing: -0.1px;
  }
  .month-top .eyebrow {
    font-size: 9px;
  }
  .editor-guide button {
    padding: 10px;
    font-size: 11px;
  }
  .bottom-nav.stay-bottom {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-index {
    font-size: 8px;
    letter-spacing: 0.07em;
  }
}
@media print {
  .workspace-sidebar,
  .bottom-nav,
  .booking-timeline,
  .editor-guide {
    display: none !important;
  }
  .workspace-shell {
    display: block;
  }
  .workspace-content > .container {
    padding: 0;
  }
  body {
    padding-bottom: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.filter-extra .chip {
  flex: 0 0 auto;
  min-width: max-content;
  white-space: nowrap;
}
.chip input[type="checkbox"] {
  min-width: 19px;
  width: 19px;
  max-width: none;
  flex: 0 0 19px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.upload-label:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.upload-label .help {
  display: block;
  margin-top: 12px;
}
.container.section > .page-head:first-child {
  padding-top: 0;
}
.workspace-sidebar nav a {
  font-size: 14px;
}
.editor-guide button {
  font-size: 14px;
}
@media (max-width: 480px) {
  .month-day small {
    font-size: 10px;
  }
  .month-day > span {
    font-size: 14px;
  }
  .calendar-legend {
    font-size: 11px;
  }
  .editor-guide button {
    font-size: 13px;
  }
  .editor-guide button span {
    font-size: 10px;
  }
}

/* 1.1 — separate workspaces, map, communication and accessible forms */
.role-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}
.role-choice button {
  padding: 16px;
  text-align: left;
  border: 1px solid #dce4e4;
  border-radius: 12px;
  background: #fff;
  min-height: 78px;
  font-weight: 650;
  color: #163c49;
}
.role-choice button.active {
  background: #eaf3f1;
  border: 2px solid #236c63;
}
.role-choice small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  margin-top: 4px;
  color: #52646a;
}
.password-input {
  display: flex;
  border: 1px solid #ccd6d8;
  border-radius: 8px;
  overflow: hidden;
}
.password-input input {
  border: 0;
  min-width: 0;
  flex: 1;
}
.password-input button {
  background: #f1f5f4;
  border: 0;
  padding: 0 12px;
  font-size: 14px;
  min-height: 44px;
}
.workspace-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 32px;
}
.workspace-actions .panel {
  padding: 24px;
  text-decoration: none;
  color: inherit;
}
.workspace-actions h3 {
  font-size: 18px;
}
.workspace-actions p {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 8px;
  color: #52646a;
}
.conversation-row {
  text-decoration: none;
  color: inherit;
}
.conversation-row p {
  overflow-wrap: anywhere;
  margin: 12px 0;
}
.notification-row {
  color: inherit;
  text-decoration: none;
  display: block;
}
.notification-row.unread {
  border-left: 4px solid #236c63;
  background: #eff6f4;
}
.notification-row p {
  margin-top: 8px;
}
.notice-link {
  position: relative;
  flex-shrink: 0;
}
.notification-count {
  position: absolute;
  top: -2px;
  right: -2px;
  border-radius: 12px;
  background: #a43537;
  color: #fff;
  font-size: 11px;
  min-width: 18px;
  padding: 1px 4px;
  text-align: center;
}
.inquiry-thread {
  max-height: 55vh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.inquiry-thread .message {
  max-width: 90%;
  border-radius: 12px;
  padding: 16px;
  background: #f2f5f4;
}
.inquiry-thread .mine {
  align-self: flex-end;
  background: #e4f1ed;
}
.inquiry-thread p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.payment-slot {
  margin-top: 32px;
}
.payment-slot p {
  margin: 16px 0;
}
.demo-admin-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #e1e7e7;
}
.demo-notice {
  margin: 16px 0 24px;
}
.demo-tag {
  display: block;
  background: #fff0db;
  color: #6e4716;
  font-size: 12px;
  font-weight: 650;
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  width: max-content;
}
/* Бейдж доверия: ставится только по факту личного выезда на объект. */
.verified-tag {
  display: block;
  background: #e4f0e2;
  color: #2f5a2c;
  font-size: 12px;
  font-weight: 650;
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  width: max-content;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust-row b {
  color: var(--ink);
  font-weight: 650;
}
.catalog-map-panel {
  margin: 0 0 32px;
  padding: 20px;
  border: 1px solid #dce4e4;
  border-radius: 16px;
  background: white;
}
.catalog-map-panel h2 {
  font-size: 22px;
}
.baza-map {
  position: relative;
  width: 100%;
  height: 360px;
  background: #e9edeb;
  overflow: hidden;
  border: 1px solid #cad6d5;
  border-radius: 12px;
  touch-action: none;
  margin: 16px 0;
  isolation: isolate;
  cursor: grab;
}
.baza-map:active {
  cursor: grabbing;
}
.baza-map:focus-visible {
  outline: 3px solid #236c63;
  outline-offset: 3px;
}
.map-tiles,
.map-points {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.map-tiles img {
  position: absolute;
  left: 0;
  top: 0;
  width: 256px;
  height: 256px;
  max-width: none !important;
  border: 0;
  user-select: none;
}
.map-points {
  z-index: 2;
}
.map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  padding: 9px 14px;
  border-radius: 22px;
  background: #fff;
  border: 2px solid #14524b;
  color: #10312e;
  font-size: 15px;
  font-weight: 800;
  /* Белое кольцо отделяет пин от тайлов, тень поднимает его над картой. */
  box-shadow: 0 0 0 3px #ffffffbf, 0 4px 12px #0b2b3340;
  white-space: nowrap;
  pointer-events: auto;
  text-decoration: none;
  min-height: 40px;
}
.map-pin:hover,
.map-pin:focus-visible {
  background: #14524b;
  color: #fff;
  border-color: #14524b;
  box-shadow: 0 0 0 3px #ffffffbf, 0 6px 16px #0b2b3366;
  z-index: 3;
}
.map-controls {
  position: absolute;
  left: 12px;
  top: 12px;
  display: flex;
  flex-direction: column;
  z-index: 3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 5px #0002;
}
.map-controls button {
  border: 1px solid #d9e0df;
  width: 44px;
  height: 44px;
  background: #fff;
  color: #163c49;
  font-size: 24px;
}
.map-credit {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #fffffff2;
  color: #294c58;
  font-size: 11px;
  padding: 5px 8px;
  z-index: 4;
  text-decoration: underline;
}
.map-error {
  position: absolute;
  bottom: 32px;
  left: 12px;
  right: 12px;
  padding: 10px 12px;
  background: #fff8e8;
  z-index: 3;
  font-size: 13px;
  border-radius: 6px;
  pointer-events: none;
}
.map-error[hidden] {
  display: none;
}
.geocode-option {
  display: block;
  text-align: left;
  width: 100%;
  padding: 16px;
  border: 1px solid #dce4e4;
  background: #fff;
  border-radius: 8px;
  margin-top: 8px;
  min-height: 44px;
}
.geocode-option:hover {
  background: #edf4f2;
}
.form-stack h3 {
  margin: 16px 0 8px;
}
.workspace-sidebar .button {
  font-size: 14px;
  white-space: normal;
  min-height: 48px;
}
.workspace-sidebar > .text-button {
  margin: 16px 0;
}
.workspace-sidebar nav > a {
  min-height: 44px;
}
.panel > p {
  margin: 12px 0 20px;
}
.map-tiles img {
  border-radius: 0;
}
.baza-map a {
  line-height: 1.4;
}
@media (max-width: 760px) {
  .workspace-actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .workspace-actions .panel {
    padding: 16px;
  }
  .workspace-actions h3 {
    font-size: 16px;
  }
  .workspace-actions p {
    margin-top: 4px;
  }
  .baza-map {
    height: 300px;
  }
  .catalog-map-panel {
    padding: 12px;
  }
  .catalog-map-panel .section-head {
    display: block;
  }
  .demo-admin-row {
    display: block;
  }
  .demo-admin-row .actions {
    margin-top: 12px;
  }
  .role-choice button {
    padding: 12px;
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions > .icon-button[href="#favorites"] {
    display: none;
  }
  .header-actions .button {
    padding: 8px 10px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .notification-count {
    font-size: 10px;
  }
  .payment-slot {
    padding: 20px;
  }
  .inquiry-thread .message {
    max-width: 95%;
  }
  .workspace-sidebar {
    display: none;
  }
  .password-input button {
    padding: 0 8px;
  }
}

.editor-guide {
  position: static;
  flex-wrap: wrap;
  backdrop-filter: none;
  gap: 4px;
}
.editor-guide button {
  font-size: 13px;
  padding: 10px;
}
.baza-map .map-credit {
  min-height: 26px;
}
.demo-tag {
  max-width: 100%;
  white-space: normal;
}
.header-actions .notice-link[hidden] {
  display: none;
}

@media (max-width: 760px) {
  .header-actions .notice-link:not([hidden]) {
    display: inline-flex !important;
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  .header-inner {
    gap: 8px;
  }
  .header .brand {
    flex-shrink: 1;
  }
}

.workspace-actions > .panel {
  margin: 0;
}
.workspace-actions {
  align-items: stretch;
}

/* Fixed light theme; 3D tours are the primary product action. */
.tour-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 48px;
  align-items: center;
}
.tour-hero h1 {
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.07;
  letter-spacing: -0.045em;
  margin: 20px 0 24px;
}
.tour-hero h1 em,
.owners-intro h1 em {
  font-style: normal;
  color: #297368;
}
.tour-hero-copy > p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 49ch;
  color: #52666e;
  margin-bottom: 28px;
}
.tour-hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  color: #52666e;
  font-size: 14px;
}
.hero-assurance span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tour-hero-visual {
  min-width: 0;
  position: relative;
  min-height: 530px;
  align-self: stretch;
  border-radius: 12px;
  overflow: hidden;
  background: #163c49;
}
.tour-hero-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tour-hero-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 15%,
    #102d3899 50%,
    #102d38f5 100%
  );
  pointer-events: none;
}
.tour-visual-caption {
  position: absolute;
  z-index: 1;
  left: 32px;
  right: 32px;
  bottom: 72px;
  color: #fff;
}
.tour-visual-caption > span {
  font-size: 14px;
}
.tour-visual-caption h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin: 12px 0 24px;
}
.visual-disclosure {
  position: absolute;
  z-index: 1;
  bottom: 20px;
  left: 24px;
  right: 24px;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}
.discovery-search {
  padding: 24px;
  background: #edf2ee;
  border-radius: 12px;
  margin-bottom: 24px;
}
.discovery-search h2 {
  font-size: 28px;
}
.discovery-search .search-panel {
  box-shadow: none;
  border-color: #bccbc3;
  margin-top: 24px;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.benefit-grid article {
  padding-top: 24px;
  border-top: 1px solid #b9c9c0;
}
.benefit-grid article > span {
  font-size: 14px;
  color: #46665a;
}
.benefit-grid h3 {
  font-size: 24px;
  line-height: 1.2;
  margin: 18px 0 12px;
  max-width: 19ch;
}
.benefit-grid p {
  color: #52666e;
  line-height: 1.65;
}
.tour-card-action {
  width: 100%;
  justify-content: center;
  margin-top: 20px;
  padding: 12px 10px;
  font-size: 15px;
  min-height: 48px;
}
.tour-notice {
  margin-top: 20px;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.tour-card .card-price {
  margin-top: 20px;
}
.owner-benefit-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  background: #e7eee8;
  padding: 40px;
  border-radius: 12px;
}
.owner-benefit-banner p {
  max-width: 62ch;
  margin-top: 20px;
  color: #465d55;
}
.owner-benefit-banner h2 {
  margin-top: 12px;
}
.owners-intro .lead {
  font-size: 20px;
  color: #52666e;
  line-height: 1.6;
  max-width: 65ch;
  margin: 24px 0;
}
.owners-intro h1 {
  margin-top: 20px;
}
.owner-benefits {
  margin: 64px 0;
}
.owner-workflow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 64px;
  padding: 48px 0;
}
.owner-workflow p {
  margin: 20px 0;
  color: #52666e;
}
.owner-workflow ol {
  padding-left: 28px;
  margin: 0;
}
.owner-workflow li {
  padding: 0 0 24px 12px;
}
.owner-workflow li b {
  font-size: 20px;
}
.owner-workflow li p {
  margin: 8px 0 0;
}
.detail-tour-focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #e7f0e9;
  border: 1px solid #9cbba6;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}
.detail-tour-focus > div {
  display: flex;
  gap: 20px;
  align-items: center;
}
.detail-tour-focus > div > svg {
  width: 44px;
  height: 44px;
}
.detail-tour-focus h2 {
  font-size: 26px;
  margin: 8px 0;
}
.detail-tour-focus p {
  color: #465e52;
}
.detail-tour-focus .button {
  flex-shrink: 0;
}
.weather-widget {
  padding: 32px;
  border: 1px solid #cbd8d4;
  background: #f0f5f2;
  border-radius: 12px;
  margin: 32px 0;
}
.weather-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.weather-heading h2 {
  font-size: 28px;
  margin-top: 8px;
}
.weather-heading label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}
.weather-heading select {
  min-height: 44px;
  border: 1px solid #7a9183;
  border-radius: 8px;
  background: white;
  padding: 8px 32px 8px 12px;
  max-width: 100%;
}
.weather-current {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 32px 0 24px;
}
.weather-temperature {
  display: flex;
  align-items: center;
  gap: 16px;
}
.weather-temperature svg {
  width: 40px;
  height: 40px;
}
.weather-temperature strong {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.weather-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.weather-days > div {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  background: white;
  border: 1px solid #dce5df;
  border-radius: 8px;
  padding: 16px 8px;
  font-size: 14px;
}
.weather-source {
  font-size: 14px;
  color: #52666e;
  line-height: 1.6;
  margin-top: 20px;
  max-width: 95ch;
}
.weather-source a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.weather-widget .notice {
  margin-top: 20px;
}
/* Do not apply gallery/image transitions to map tiles. */
.map-tile-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform-origin: 0 0;
  pointer-events: none;
}
.map-tiles img {
  width: 256px !important;
  height: 256px !important;
  min-width: 256px;
  min-height: 256px;
  max-width: none !important;
  max-height: none !important;
  object-fit: fill;
  border-radius: 0;
  transition: none !important;
  transform-origin: 0 0;
  pointer-events: none;
}
.map-error {
  pointer-events: auto;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  bottom: 40px;
}
.map-error[hidden] {
  display: none;
}
.map-error button {
  min-width: 96px;
  min-height: 44px;
  border: 1px solid #927b4b;
  border-radius: 6px;
  background: #fff;
  color: #483b23;
  font-size: 14px;
}
.map-scale {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 66px;
  font-size: 14px;
  background: #fffffff2;
  padding: 4px 8px;
  border-radius: 4px;
  pointer-events: none;
}
.map-pin {
  min-height: 44px;
  border-radius: 8px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.map-tour-tag {
  font-size: 14px;
  background: #e7f2eb;
  padding: 1px 4px;
  color: #174e38;
  border-radius: 4px;
}
.map-credit {
  font-size: 14px;
  line-height: 1.4;
  max-width: 100%;
}
.map-controls button:disabled {
  cursor: default;
}
.map-cluster-list {
  position: absolute;
  left: 64px;
  right: 16px;
  top: 64px;
  bottom: 40px;
  z-index: 8;
  pointer-events: auto;
  background: white;
  border: 1px solid #6f8980;
  box-shadow: 0 4px 16px #163c4920;
  overflow: auto;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.map-cluster-list a,
.map-cluster-list button {
  min-height: 44px;
  padding: 10px;
  text-align: left;
  background: white;
  color: #173a47;
  border: 0;
  font-size: 14px;
}
.map-cluster-list a:hover {
  background: #edf2ee;
}
@media (max-width: 1000px) {
  .tour-hero {
    gap: 28px;
  }
  .tour-hero-visual {
    min-height: 490px;
  }
  .owner-benefit-banner {
    grid-template-columns: 1fr;
  }
  .owner-workflow {
    gap: 32px;
  }
  .detail-tour-focus {
    align-items: flex-start;
  }
  .detail-tour-focus > div > svg {
    display: none;
  }
}
@media (max-width: 760px) {
  .tour-hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
    gap: 32px;
  }
  .tour-hero-visual {
    min-height: 350px;
  }
  .tour-hero h1 {
    font-size: 42px;
  }
  .tour-hero-copy > p {
    font-size: 16px;
  }
  .tour-visual-caption {
    left: 24px;
    right: 24px;
    bottom: 70px;
  }
  .tour-visual-caption h2 {
    font-size: 30px;
  }
  .discovery-search {
    padding: 20px;
  }
  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .benefit-grid h3 {
    max-width: none;
    font-size: 23px;
    margin: 12px 0;
  }
  .benefit-grid article {
    padding-top: 20px;
  }
  .owner-benefit-banner {
    padding: 24px;
    gap: 24px;
  }
  .owner-benefits {
    margin: 40px 0;
  }
  .owner-workflow {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 0;
  }
  .owners-intro .lead {
    font-size: 18px;
  }
  .detail-tour-focus {
    flex-direction: column;
    padding: 20px;
  }
  .detail-tour-focus .button {
    width: 100%;
  }
  .weather-widget {
    padding: 20px;
  }
  .weather-heading {
    display: block;
  }
  .weather-heading label {
    margin-top: 16px;
  }
  .weather-current {
    gap: 16px;
    flex-wrap: wrap;
    padding: 24px 0;
  }
  .weather-days {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .weather-days > div {
    padding: 12px 4px;
  }
  .weather-source {
    font-size: 14px;
  }
  .map-error {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .map-credit {
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .tour-hero h1 {
    font-size: 36px;
  }
  .tour-hero .button {
    width: 100%;
    justify-content: center;
  }
  .weather-days {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .brand small {
    display: none;
  }
  .header-actions {
    gap: 4px;
  }
  .header-actions .button {
    max-width: 88px;
  }
  .brand {
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .map-tiles * {
    transition: none !important;
    animation: none !important;
  }
}

/* Free 3D-shooting offer (marketing iteration) */
.owner-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 240px;
}
.free-shoot-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0 4px;
  background: #eef5ef;
  border: 1px solid #cfe0d2;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 16px;
}
.free-shoot-banner svg {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
}
@media (max-width: 760px) {
  .owner-banner-actions {
    flex-direction: column;
    min-width: 0;
    width: 100%;
  }
  .free-shoot-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Units editor and base-of-cottages cards */
.units-editor { display: grid; gap: 12px; margin-bottom: 12px; }
.unit-editor-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line, #e4e0d8);
  border-radius: 10px;
  background: #faf8f4;
}
.unit-editor-row label { display: grid; gap: 4px; font-size: 13px; color: #5c6b64; }
.unit-editor-row input { padding: 8px 10px; border: 1px solid var(--line, #e4e0d8); border-radius: 8px; min-height: 40px; }
.units-free {
  display: inline-block;
  margin: 8px 0 0;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 13px;
  background: #f1e9e2;
  color: #8a5a45;
}
.units-free.has-free { background: #e7eee8; color: #3d614f; }
@media (max-width: 640px) { .unit-editor-row { grid-template-columns: 1fr 1fr; } }

/* Auth experience — calm form + interactive coastal topography */
.auth-dialog {
  --auth-deep: #0c3339;
  --auth-glow: #8ed9c7;
  padding: 0;
  width: min(1080px, calc(100% - 40px));
  max-width: 1080px;
  max-height: min(92dvh, 780px);
  overflow: hidden;
  border: 1px solid #cddbd7;
  border-radius: 20px;
  background: #fff;
}
.auth-dialog .dialog-head {
  position: absolute;
  inset: 18px 18px auto auto;
  z-index: 5;
  margin: 0;
}
.auth-dialog .dialog-head h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.auth-dialog .dialog-head .icon-button {
  color: #fff;
  background: #ffffff1a;
  border-color: #ffffff38;
  backdrop-filter: blur(10px);
}
.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(360px, 2fr);
  min-height: 680px;
}
.auth-form-panel {
  align-self: center;
  width: min(100%, 570px);
  padding: 48px 56px;
}
.auth-kicker,
.auth-art-kicker {
  display: block;
  margin-bottom: 12px;
  color: #487078;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.auth-form-panel > h2 {
  max-width: 440px;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.055em;
}
.auth-lead {
  max-width: 460px;
  margin: 12px 0 26px;
  color: var(--muted);
}
.auth-dialog .role-choice {
  margin: 0 0 18px;
}
.auth-dialog .role-choice button {
  position: relative;
  transition: border-color .18s, background .18s, transform .18s;
}
.auth-dialog .role-choice button:hover {
  transform: translateY(-2px);
  border-color: #99b8b3;
}
.auth-dialog .role-choice button.active:after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #236c63;
  box-shadow: 0 0 0 5px #236c6314;
}
.auth-dialog .auth-tabs {
  margin-bottom: 20px;
}
.auth-dialog .form-stack {
  gap: 16px;
}
.auth-dialog input:not([type="checkbox"]) {
  min-height: 48px;
  background: #fcfdfc;
}
.auth-dialog .password-input {
  background: #fcfdfc;
}
.auth-dialog .password-input input {
  background: transparent;
}
.auth-dialog .button.full {
  min-height: 50px;
}
.auth-footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 30px;
  margin-top: 18px;
}
.auth-footer-links .text-button {
  font-size: 13px;
}
.auth-art {
  --auth-x: 0;
  --auth-y: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 680px;
  color: #fff;
  background:
    radial-gradient(circle at calc(18% + var(--auth-x) * 8%) calc(25% + var(--auth-y) * 8%), #74c8b955 0 2%, transparent 32%),
    linear-gradient(145deg, #174b50 0%, var(--auth-deep) 55%, #09272c 100%);
}
.auth-art-grid {
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(#d8fff01c 1px, transparent 1px), linear-gradient(90deg, #d8fff01c 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.auth-topography {
  position: absolute;
  inset: -4% -18% -4% -12%;
  width: 130%;
  height: 108%;
  stroke: #b9efe0;
  stroke-width: 1.15;
  opacity: .32;
  transform: translate(calc(var(--auth-x) * -18px), calc(var(--auth-y) * -18px));
  transition: transform .25s ease-out;
  animation: auth-drift 13s ease-in-out infinite alternate;
}
.auth-topography path:nth-child(even) { opacity: .52; }
.auth-orbit {
  position: absolute;
  border: 1px solid #b9efe04a;
  border-radius: 50%;
  transform: translate(calc(var(--auth-x) * 12px), calc(var(--auth-y) * 12px));
  transition: transform .25s ease-out;
}
.auth-orbit:after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--auth-glow);
  box-shadow: 0 0 20px #8ed9c7cc;
}
.auth-orbit-one {
  width: 310px;
  height: 310px;
  top: -115px;
  right: -112px;
  animation: auth-spin 18s linear infinite;
}
.auth-orbit-one:after { left: 36px; bottom: 33px; }
.auth-orbit-two {
  width: 190px;
  height: 190px;
  right: 15%;
  bottom: 13%;
  animation: auth-spin 13s linear infinite reverse;
}
.auth-orbit-two:after { right: 19px; top: 38px; }
.auth-route {
  position: absolute;
  left: 22%;
  top: 25%;
  width: 54%;
  height: 230px;
  transform: translate(calc(var(--auth-x) * 24px), calc(var(--auth-y) * 24px));
  transition: transform .22s ease-out;
}
.auth-route-line {
  position: absolute;
  inset: 28px 14px 35px 20px;
  border: 1px dashed #d8fff0a8;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(22deg);
  animation: auth-route-pulse 3.8s ease-in-out infinite;
}
.auth-route-start {
  position: absolute;
  left: 18px;
  bottom: 30px;
  width: 11px;
  height: 11px;
  border: 2px solid #d8fff0;
  border-radius: 50%;
  box-shadow: 0 0 0 8px #d8fff012;
}
.auth-route-pin {
  position: absolute;
  top: 12px;
  right: 0;
  width: 30px;
  height: 30px;
  border: 1px solid #d8fff088;
  border-radius: 50% 50% 50% 8px;
  background: #8ed9c7;
  transform: rotate(45deg);
  box-shadow: 0 12px 32px #061d20aa;
  animation: auth-pin 3.2s ease-in-out infinite;
}
.auth-route-pin i {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: var(--auth-deep);
}
.auth-art-copy {
  position: absolute;
  z-index: 2;
  left: 38px;
  right: 38px;
  bottom: 70px;
  transform: translate(calc(var(--auth-x) * 8px), calc(var(--auth-y) * 8px));
  transition: transform .28s ease-out;
}
.auth-art-kicker { color: #9edbcf; }
.auth-art-copy strong {
  display: block;
  font-size: clamp(35px, 4vw, 52px);
  line-height: .98;
  letter-spacing: -.055em;
}
.auth-art-copy p {
  max-width: 330px;
  margin-top: 20px;
  color: #d6e7e3cc;
  font-size: 14px;
}
.auth-art-coordinates {
  position: absolute;
  top: 28px;
  left: 30px;
  color: #d6e7e399;
  font-family: monospace;
  font-size: 10px;
  letter-spacing: .08em;
}
@keyframes auth-drift {
  from { translate: -5px -3px; }
  to { translate: 8px 10px; }
}
@keyframes auth-spin { to { rotate: 360deg; } }
@keyframes auth-route-pulse { 50% { opacity: .42; } }
@keyframes auth-pin {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}
@media (max-width: 900px) {
  .auth-dialog {
    width: min(620px, calc(100% - 32px));
    overflow-y: auto;
  }
  .auth-shell {
    display: block;
    min-height: 0;
  }
  .auth-form-panel {
    padding: 48px 38px 40px;
  }
  .auth-art { display: none; }
  .auth-dialog .dialog-head .icon-button {
    color: var(--ink);
    background: #fff;
    border-color: var(--line);
  }
}
@media (max-width: 520px) {
  .auth-dialog { width: calc(100% - 20px); }
  .auth-form-panel { padding: 42px 20px 28px; }
  .auth-form-panel > h2 { font-size: 32px; }
  .auth-dialog .role-choice { grid-template-columns: 1fr; gap: 8px; }
  .auth-dialog .role-choice button { min-height: 66px; }
  .auth-footer-links { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-topography,
  .auth-orbit,
  .auth-route-line,
  .auth-route-pin { animation: none !important; }
}

/* Marketing spell: cinematic three-minute discovery path */
.spell-home{--night:#082f35;--mint:#9ddfcd;--sand:#e8b97d;background:#fbfcfa}.spell-progress{position:fixed;z-index:90;inset:0 0 auto;height:3px;pointer-events:none}.spell-progress span{display:block;width:100%;height:100%;transform:scaleX(0);transform-origin:left;background:linear-gradient(90deg,var(--mint),var(--sand))}.spell-hero{--sx:0;--sy:0;position:relative;overflow:hidden;min-height:min(880px,calc(100dvh - 100px));color:#f6fbf9;background:radial-gradient(circle at calc(75% + var(--sx)*8%) calc(25% + var(--sy)*8%),#83d6c62b,transparent 28%),linear-gradient(135deg,#10494e,var(--night) 58%,#061f24)}.spell-hero:before{content:"";position:absolute;inset:0;opacity:.16;background-image:linear-gradient(#d8fff014 1px,transparent 1px),linear-gradient(90deg,#d8fff014 1px,transparent 1px);background-size:64px 64px;mask-image:linear-gradient(90deg,transparent,#000 38%,#000)}.spell-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(420px,.92fr) minmax(480px,1.08fr);align-items:center;gap:clamp(48px,7vw,105px);min-height:min(880px,calc(100dvh - 100px));padding-top:70px;padding-bottom:90px}.spell-kicker{display:flex;align-items:center;gap:12px;color:#bad8d2;font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase}.spell-kicker i{width:8px;height:8px;border-radius:50%;background:var(--mint);box-shadow:0 0 0 7px #9ddfcd16,0 0 22px #9ddfcd99;animation:spell-pulse 2.8s ease-in-out infinite}.spell-copy h1{max-width:720px;margin-top:24px;font-size:clamp(54px,6.7vw,104px);line-height:.9;letter-spacing:-.07em}.spell-copy h1 em{color:var(--mint);font-family:Georgia,serif;font-weight:400}.spell-copy>p{max-width:590px;margin-top:28px;color:#d3e4e0;font-size:clamp(16px,1.4vw,20px);line-height:1.6}.spell-copy .actions{margin-top:36px}.spell-cta{color:#092f34;background:var(--mint)}.spell-cta:hover{background:#b5ebde}.spell-story-link{display:flex;align-items:center;gap:10px;min-height:48px;color:#d5e5e1;font-size:14px}.spell-story-link span{display:grid;place-items:center;width:50px;height:50px;border:1px solid #ffffff43;border-radius:50%;font-size:10px}.spell-owner-link{width:100%;color:#a9c6c0;font-size:13px;text-decoration:underline;text-underline-offset:5px}.spell-proof{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:38px;color:#b6ccc7;font-size:12px}.spell-proof span:before{content:"✓";margin-right:7px;color:var(--mint)}.spell-stage{position:relative;height:min(660px,70dvh);min-height:540px;perspective:1200px;transform:translate(calc(var(--sx)*8px),calc(var(--sy)*8px));transition:transform .25s ease-out}.spell-halo{position:absolute;inset:9% -15% 8% 4%;border:1px solid #c8f6ea26;border-radius:50%;box-shadow:inset 0 0 90px #8ed9c70b,0 0 0 45px #8ed9c707,0 0 0 90px #8ed9c705;animation:spell-halo 8s ease-in-out infinite alternate}.spell-photo{position:absolute;inset:5% 7% 7% 10%;overflow:hidden;border:1px solid #ffffff3a;border-radius:46% 46% 22px 22px;box-shadow:0 45px 100px #0015188c;transform:rotateY(calc(var(--sx)*6deg)) rotateX(calc(var(--sy)*-5deg));transition:transform .3s ease-out}.spell-photo>img{height:100%;transform:scale(1.06);transition:transform 1.3s cubic-bezier(.2,.7,.2,1)}.spell-photo:hover>img{transform:scale(1.015)}.spell-shade{position:absolute;inset:0;background:linear-gradient(180deg,#041e2208 28%,#061f24db)}.spell-coord{position:absolute;top:30px;left:32px;font:10px monospace;letter-spacing:.14em;text-transform:uppercase}.spell-caption{position:absolute;z-index:2;right:34px;bottom:38px;left:34px}.spell-caption small{color:#c1dfd8;font-weight:700;letter-spacing:.17em;text-transform:uppercase}.spell-caption h2{max-width:470px;margin:7px 0 20px;font-size:clamp(30px,3.2vw,50px)}.spell-no-tour{display:block;color:#d7e4e1;font-size:12px}.spell-compass{position:absolute;top:27px;right:27px;display:grid;place-items:center;width:62px;height:62px;border:1px solid #ffffff52;border-radius:50%;font:10px monospace;backdrop-filter:blur(8px)}.spell-compass i{position:absolute;width:1px;height:25px;background:linear-gradient(var(--mint) 50%,#ffffff55 50%);animation:spell-compass 14s ease-in-out infinite}.spell-note{position:absolute;z-index:3;padding:13px 16px;border:1px solid #ffffff3d;border-radius:10px;color:#c9ddd9;background:#092c31b5;box-shadow:0 18px 50px #00151855;backdrop-filter:blur(14px);font-size:11px;line-height:1.3;letter-spacing:.08em;text-transform:uppercase;animation:spell-float 5s ease-in-out infinite}.spell-note b{color:#fff}.spell-note.one{top:22%;left:-4%}.spell-note.two{right:-5%;bottom:22%;animation-delay:-2.2s}.spell-scroll{position:absolute;z-index:3;right:28px;bottom:32px;display:flex;align-items:center;gap:10px;color:#9ebbb5;font-size:10px;letter-spacing:.14em;text-transform:uppercase;writing-mode:vertical-rl}.spell-scroll i{width:1px;height:42px;background:#9ddfcd88}.spell-orbits i{position:absolute;border:1px solid #b7e8dc1f;border-radius:50%;animation:spell-orbit 20s linear infinite}.spell-orbits i:nth-child(1){width:560px;height:560px;left:-390px;top:-210px}.spell-orbits i:nth-child(2){width:270px;height:270px;left:44%;bottom:-190px;animation-direction:reverse}.spell-orbits i:nth-child(3){width:780px;height:780px;right:-610px;top:-420px;animation-duration:31s}.spell-promise{display:grid;grid-template-columns:.7fr 1.3fr;gap:56px;align-items:start;padding-top:110px;padding-bottom:120px}.spell-promise span{color:var(--muted);font-size:14px}.spell-promise strong{max-width:820px;font-family:Georgia,serif;font-size:clamp(38px,5vw,72px);font-weight:400;line-height:1.08;letter-spacing:-.045em}.spell-story{display:grid;grid-template-columns:minmax(300px,.72fr) minmax(520px,1.28fr);gap:clamp(60px,10vw,150px);padding-top:70px;padding-bottom:130px}.spell-story-head{position:sticky;top:145px;align-self:start}.spell-story-head h2{font-size:clamp(42px,5vw,70px)}.spell-story-head>p{max-width:460px;margin-top:24px;color:var(--muted)}.spell-steps{display:grid;gap:105px}.spell-step{display:grid;grid-template-columns:42px 1fr;gap:18px}.spell-number{padding-top:7px;color:#67888a;font:11px monospace;letter-spacing:.14em;writing-mode:vertical-rl}.spell-image{position:relative;overflow:hidden;height:390px;margin-bottom:28px;border-radius:6px 70px 6px 6px;background:var(--soft)}.spell-image img{height:100%;transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}.spell-step:hover .spell-image img{transform:scale(1.045)}.spell-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,#06282daa)}.spell-image i{position:absolute;z-index:2;left:24px;bottom:20px;color:#fff;font-size:11px;font-style:normal;font-weight:700;letter-spacing:.16em;text-transform:uppercase}.spell-step>div:last-child{grid-column:2}.spell-step small{color:#638083;font:11px monospace;letter-spacing:.08em;text-transform:uppercase}.spell-step h3{max-width:540px;margin-top:10px;font-size:clamp(29px,3vw,42px)}.spell-step p{max-width:570px;margin-top:15px;color:var(--muted)}.spell-mood{padding:105px 0;color:#f5fbf9;background:var(--night)}.spell-mood-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:80px}.spell-mood h2{font-size:clamp(45px,6vw,78px)}.spell-mood .eyebrow{color:var(--mint)}.spell-mood nav{border-top:1px solid #ffffff2d}.spell-mood nav a{display:grid;grid-template-columns:44px 1fr 1fr;gap:18px;align-items:center;min-height:112px;border-bottom:1px solid #ffffff2d;transition:padding .25s,background .25s}.spell-mood nav a:hover{padding:0 18px;color:#fff;background:#ffffff0b}.spell-mood nav span{color:#7fa7a2;font:11px monospace}.spell-mood nav b{font-size:19px}.spell-mood nav small{color:#acc2be}.spell-search{margin-top:100px;margin-bottom:20px}.spell-search .section-head h2,.spell-homes .section-head h2{font-size:clamp(38px,5vw,64px)}.spell-homes .stay-card{transition:transform .42s,box-shadow .42s}.spell-homes .stay-card:hover{transform:translateY(-8px);box-shadow:0 28px 70px #173a4717}.spell-owner{position:relative;overflow:hidden;padding:clamp(38px,6vw,76px);color:#f5fbf8;background:linear-gradient(125deg,#164c50,var(--night))}.spell-owner:after{content:"";position:absolute;width:420px;height:420px;right:-210px;top:-230px;border:1px solid #a9ead933;border-radius:50%;box-shadow:0 0 0 55px #a9ead90a,0 0 0 110px #a9ead908}.spell-owner p{color:#d0e1dd}.spell-owner .secondary{color:#fff;border-color:#ffffff4a;background:transparent}[data-reveal]{opacity:0;transform:translateY(34px);transition:opacity .85s ease,transform .85s cubic-bezier(.2,.7,.2,1)}[data-reveal].revealed{opacity:1;transform:none}@keyframes spell-pulse{50%{box-shadow:0 0 0 12px #9ddfcd08,0 0 30px #9ddfcdbb}}@keyframes spell-halo{to{transform:scale(1.06) rotate(3deg)}}@keyframes spell-orbit{to{transform:rotate(360deg)}}@keyframes spell-compass{50%{transform:rotate(43deg)}}@keyframes spell-float{50%{transform:translateY(-10px)}}
@media(max-width:1050px){.spell-hero-grid{grid-template-columns:.9fr 1.1fr;gap:30px}.spell-copy h1{font-size:clamp(50px,7vw,74px)}.spell-story{grid-template-columns:1fr}.spell-story-head{position:static;max-width:720px}.spell-steps{grid-template-columns:repeat(3,1fr);gap:20px}.spell-step{display:block}.spell-number{display:block;margin-bottom:12px;writing-mode:initial}.spell-image{height:270px;border-radius:6px 45px 6px 6px}.spell-step>div:last-child{grid-column:auto}}
@media(max-width:760px){.spell-hero{min-height:auto}.spell-hero-grid{display:block;min-height:auto;padding-top:68px;padding-bottom:88px}.spell-copy h1{font-size:clamp(48px,14vw,68px)}.spell-copy>p{font-size:16px}.spell-stage{height:500px;min-height:0;margin-top:55px}.spell-photo{inset:0;border-radius:42% 42% 18px 18px}.spell-halo{inset:2% -25%}.spell-scroll{display:none}.spell-promise{grid-template-columns:1fr;gap:20px;padding-top:80px;padding-bottom:85px}.spell-story{padding-top:40px;padding-bottom:85px}.spell-steps{grid-template-columns:1fr;gap:72px}.spell-image{height:340px}.spell-mood{padding:75px 0}.spell-mood-grid{grid-template-columns:1fr;gap:45px}.spell-mood nav a{grid-template-columns:34px 1fr;padding:14px 0}.spell-mood nav small{grid-column:2;margin-top:-12px}.spell-search{margin-top:70px}}
@media(max-width:430px){.spell-copy h1{font-size:48px}.spell-copy .actions>*{width:100%;justify-content:center}.spell-owner-link{text-align:center}.spell-proof{display:grid;gap:8px}.spell-stage{height:430px}.spell-photo{border-radius:38% 38% 14px 14px}.spell-caption{right:20px;bottom:24px;left:20px}.spell-caption h2{font-size:30px}.spell-caption .button{width:100%}.spell-note{display:none}.spell-promise strong{font-size:38px}.spell-story-head h2{font-size:42px}.spell-image{height:270px}.spell-mood h2{font-size:48px}}
@media(prefers-reduced-motion:reduce){[data-reveal]{opacity:1;transform:none}.spell-kicker i,.spell-halo,.spell-orbits i,.spell-compass i,.spell-note{animation:none!important}.spell-stage,.spell-photo{transform:none!important}}

/* Respectful delayed PWA install offer */
.pwa-install-card {
  position: fixed;
  z-index: 120;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 18px;
  width: min(470px, calc(100% - 32px));
  padding: 20px 48px 20px 20px;
  border: 1px solid #ffffff2e;
  border-radius: 18px;
  color: #f5fbf8;
  background: #0b3f45f2;
  box-shadow: 0 24px 80px #00151866;
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(24px) scale(.98);
  transition: opacity .25s ease, transform .25s ease;
}
.pwa-install-card.visible { opacity: 1; transform: none; }
.pwa-install-icon img {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  box-shadow: 0 10px 30px #00151855;
}
.pwa-install-copy > span {
  display: block;
  margin-bottom: 3px;
  color: #9ddfcd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.pwa-install-copy > strong {
  display: block;
  font-size: 19px;
  line-height: 1.2;
}
.pwa-install-copy > p {
  margin-top: 8px;
  color: #d0e2de;
  font-size: 13px;
  line-height: 1.45;
}
.pwa-install-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}
.pwa-install-primary {
  min-height: 44px;
  color: #0b3f45;
  background: #9ddfcd;
}
.pwa-install-card .text-button { color: #d6e6e2; }
.pwa-install-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #d6e6e2;
  font-size: 22px;
}
.pwa-install-close:hover { background: #ffffff12; }
.pwa-ios-steps {
  display: grid;
  gap: 7px;
  margin-top: 13px;
  color: #e4efec;
  font-size: 12px;
}
.pwa-ios-steps span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pwa-ios-steps b {
  display: grid;
  flex: 0 0 22px;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid #9ddfcd66;
  border-radius: 50%;
  color: #9ddfcd;
  font-size: 10px;
}
.pwa-ios-steps i { font-style: normal; }
@media (max-width: 600px) {
  .pwa-install-card {
    right: 12px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    width: calc(100% - 24px);
    padding: 17px 42px 17px 17px;
    border-radius: 16px;
  }
  .pwa-install-icon img { width: 54px; height: 54px; border-radius: 13px; }
  .pwa-install-copy > strong { font-size: 17px; }
  .pwa-install-copy > p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .pwa-install-card { transition: none; }
}
