* { box-sizing: border-box; }
:root {
  --green: #009347;
  --green-dark: #00793b;
  --ink: #101722;
  --muted: #667085;
  --line: #dde5eb;
  --soft: #f4faf7;
  --shadow: 0 3px 14px rgba(16, 24, 40, 0.1);
}
body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: #fff;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.th-strong {
  color: var(--ink);
  font-size: 1.05em;
  font-weight: 950;
}
.en-muted {
  color: #5f6b7a;
  font-size: .88em;
  font-weight: 500;
  margin-left: 8px;
}
.shell { max-width: 1400px; margin: 0 auto; padding: 0 28px; }
.topbar {
  height: 84px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.topbar .shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-logo {
  display: block;
  color: var(--green);
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
}
.brand-logo-image {
  display: flex;
  align-items: center;
  min-height: 34px;
}
.brand-logo-image img {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 42px;
  object-fit: contain;
}
.brand-sub {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
}
.nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
}
.nav a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-weight: 950;
  line-height: 1.12;
  box-shadow: 0 4px 12px rgba(16, 24, 40, .05);
}
.nav a.nav-rent {
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.nav a.nav-sale {
  border-color: #fed7aa;
  background: #fff7ed;
}
.nav a.nav-guide {
  border-color: #bfdbfe;
  background: #eff6ff;
}
.nav a.active {
  border-color: var(--green);
  color: var(--green);
  background: #f0fdf4;
}
.top-actions .top-logout {
  border-color: #cbd5e1;
  color: #176d42;
  background: #f8fafc;
}
.top-actions .detail-back-btn {
  border-color: #86d3aa;
  color: #06733c;
  background: #f0fdf4;
  box-shadow: 0 4px 12px rgba(0, 147, 71, .08);
}
.top-actions { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 800; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--green);
  border-radius: 4px;
  color: var(--green);
  background: #fff;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
}
.btn.fill { color: #fff; background: var(--green); }
.btn.fill .th-strong,
.btn.fill .en-muted {
  color: #fff;
  font-weight: 900;
}
.btn.fill .en-muted {
  opacity: .96;
}
.btn.dark { color: #fff; background: var(--ink); border-color: var(--ink); }
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #f7fbff 0%, #eef8ff 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62%;
  z-index: 0;
  background: url('hero-house.png') right bottom / auto 116% no-repeat;
  opacity: 0.18;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(247, 251, 255, 0) 0%, rgba(247, 251, 255, 0.04) 54%, rgba(247, 251, 255, 0.16) 100%);
}
.hero .shell {
  position: relative;
  z-index: 1;
  min-height: 248px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 26px;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: 34px;
  line-height: 1.42;
  font-weight: 900;
}
.hero h1 span { color: var(--green); }
.hero p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 950;
}
.hero p + p {
  color: #7b8794;
  font-size: 14px;
  font-weight: 650;
}
.search-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(2px);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.search-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 8px 22px;
  min-height: 52px;
  align-items: stretch;
}
.search-tabs a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 88px;
  padding: 0 12px;
  border-bottom: 3px solid transparent;
  border-radius: 6px 6px 0 0;
  background: #f7fafc;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.search-tabs a.active {
  border-bottom-color: var(--green);
  color: var(--green);
  background: #ecfdf3;
}
.search-tabs a .th-strong,
.search-tabs a .en-muted,
.field label .th-strong,
.field label .en-muted,
.btn.dark .th-strong,
.btn.dark .en-muted {
  display: inline-block;
  line-height: 1;
}
.search-tabs a.active .th-strong { color: var(--green); }
.filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 120px;
  gap: 18px;
  padding: 20px 22px;
}
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}
.field select, .field input {
  width: 100%;
  height: 46px;
  border: 1px solid #d6dde5;
  border-radius: 4px;
  padding: 0 13px;
  background: #fff;
  font-size: 15px;
  font-weight: 900;
}
.field select option {
  color: var(--ink);
  font-weight: 900;
}
.btn.dark {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}
.btn.dark .th-strong {
  color: #fff;
}
.btn.dark .en-muted {
  color: rgba(255,255,255,.92);
  font-size: .88em;
  font-weight: 500;
}
.search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.search-submit-text {
  display: grid;
  place-items: center;
  gap: 1px;
  line-height: 1;
}
.search-submit-th,
.search-submit-en {
  display: block;
  text-align: center;
}
.search-submit-th {
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 950;
}
.search-submit-en {
  color: rgba(255,255,255,.88);
  font-size: 13px;
  line-height: 1;
  font-weight: 650;
}
.trust-row {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.trust-row .shell {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding-top: 12px;
  padding-bottom: 12px;
  align-items: stretch;
}
.trust-item {
  min-height: 82px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--line);
}
.trust-row .shell > :nth-child(6) { border-right: 0; }
.trust-svg-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  color: var(--green);
  background: currentColor;
  -webkit-mask: var(--trust-icon-url) center / contain no-repeat;
  mask: var(--trust-icon-url) center / contain no-repeat;
}
.icon-verified-listing { --trust-icon-url: url("icons/icon-verified-listing.svg"); }
.icon-direct-platform { --trust-icon-url: url("icons/icon-direct-platform.svg"); }
.icon-direct-owner { --trust-icon-url: url("icons/icon-direct-owner.svg"); }
.icon-direct-contact { --trust-icon-url: url("icons/icon-direct-contact.svg"); }
.icon-free-listing { --trust-icon-url: url("icons/icon-free-listing.svg"); }
.trust-icon {
  width: 34px;
  height: 34px;
  border: 3px solid var(--green);
  border-radius: 50%;
  flex: 0 0 auto;
  position: relative;
  display: inline-block;
}
.trust-icon::before,
.trust-icon::after {
  content: "";
  position: absolute;
  display: block;
}
.trust-icon-check {
  border-radius: 8px;
}
.trust-icon-check::before {
  width: 14px;
  height: 8px;
  left: 8px;
  top: 9px;
  border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(-45deg);
}
.trust-icon-link {
  border-radius: 9px;
  transform: rotate(45deg);
}
.trust-icon-link::before {
  width: 15px;
  height: 3px;
  left: 7px;
  top: 13px;
  border-radius: 999px;
  background: var(--green);
}
.trust-icon-owner {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
}
.trust-icon-owner::before {
  width: 21px;
  height: 21px;
  left: 5px;
  top: 1px;
  border-top: 5px solid var(--green);
  border-left: 5px solid var(--green);
  border-radius: 4px 0 0 0;
  transform: rotate(45deg);
  background: transparent;
}
.trust-icon-owner::after {
  width: 25px;
  height: 18px;
  left: 4px;
  top: 14px;
  border: 4px solid var(--green);
  border-top: 0;
  border-radius: 0 0 5px 5px;
  background: #fff;
  background-image:
    linear-gradient(var(--green), var(--green)),
    linear-gradient(var(--green), var(--green)),
    linear-gradient(var(--green), var(--green));
  background-repeat: no-repeat;
  background-size: 7px 11px, 4px 4px, 4px 4px;
  background-position: 5px 7px, 16px 5px, 21px 5px;
}
.trust-icon-chat {
  border-radius: 10px;
}
.trust-icon-chat::before {
  width: 8px;
  height: 8px;
  right: 1px;
  bottom: -5px;
  border-right: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(22deg);
  background: #fff;
}
.trust-icon-chat::after {
  width: 4px;
  height: 4px;
  left: 7px;
  top: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 7px 0 0 var(--green), 14px 0 0 var(--green);
}
.trust-icon-plus {
  border-radius: 3px;
}
.trust-icon-plus::before {
  width: 17px;
  height: 3px;
  left: 6px;
  top: 13px;
  border-radius: 999px;
  background: var(--green);
}
.trust-icon-plus::after {
  width: 3px;
  height: 17px;
  left: 13px;
  top: 6px;
  border-radius: 999px;
  background: var(--green);
}
.trust-item b, .trust-item strong, .trust-item span { display: block; }
.trust-item .trust-svg-icon {
  display: block;
  color: var(--green);
}
.trust-item b { margin-bottom: 3px; color: var(--ink); font-size: 14px; line-height: 1.25; font-weight: 950; }
.trust-item strong { margin-bottom: 4px; color: #5f6b7a; font-size: 12px; line-height: 1.25; font-weight: 650; }
.trust-item span { color: #667085; font-size: 12px; line-height: 1.25; font-weight: 650; }
.trust-cta {
  width: 100%;
  min-height: 82px;
  margin: 0;
  padding: 10px 12px 10px 16px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #009347 0%, #00a652 60%, #319634 100%);
  display: grid;
  grid-template-columns: 1fr 44px;
  align-items: center;
  box-shadow: 0 8px 15px rgba(0, 147, 71, 0.22);
}
.trust-cta span,
.trust-cta em,
.trust-cta small {
  display: block;
  grid-column: 1;
  font-weight: 900;
}
.trust-cta span { font-size: 17px; }
.trust-cta em { margin-top: 3px; font-size: 12px; font-style: normal; opacity: .88; }
.trust-cta small { margin-top: 5px; font-size: 12px; }
.trust-cta b {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  place-items: center;
  font-size: 34px;
  line-height: 1;
}
.main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  padding-top: 26px;
  padding-bottom: 32px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-head h2 {
  margin: 0;
  padding-left: 16px;
  border-left: 5px solid var(--green);
  font-size: 24px;
  font-weight: 900;
}
.section-head a { color: var(--green); font-size: 15px; font-weight: 900; }
.section-head .en-muted,
.search-tabs .en-muted,
.field label .en-muted {
  color: #5f6b7a;
  font-weight: 500;
}
.property-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.property-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 408px;
}
.property-photo {
  height: 194px;
  background: #dce5ea center / cover no-repeat;
  position: relative;
}
.badge {
  display: inline-block;
  margin: 12px 0 0 12px;
  padding: 5px 9px;
  background: var(--green);
  color: #fff;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 900;
}
.badge.sold { background: #475467; }
.price-tag {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 5px 9px;
  border-radius: 3px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}
.card-body {
  padding: 16px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.card-body h3 {
  min-height: 48px;
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.22;
  font-weight: 900;
}
.card-body h3 span {
  color: #98a2b3;
  font-size: .84em;
  font-weight: 600;
}
.card-body p {
  min-height: 38px;
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}
.card-body .card-location {
  min-height: 34px;
  font-size: 14px;
  line-height: 1.3;
}
.meta { display: flex; gap: 17px; margin-top: auto; margin-bottom: 16px; font-size: 14px; font-weight: 900; }
.card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 0;
}
.guide-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.guide-card, .policy-card {
  border-radius: 6px;
  background: linear-gradient(135deg, #eef9f4, #fbfefd);
  padding: 22px;
  border: 1px solid #e1eee8;
}
.guide-card h3, .policy-card h3 { margin: 0 0 10px; color: var(--green); font-size: 19px; font-weight: 900; }
.guide-card h3 .th-strong { color: var(--green); }
.guide-card h3 .en-muted { color: #5f6b7a; font-weight: 500; }
.guide-card p, .policy-card p { margin: 0; color: #344054; font-size: 15px; line-height: 1.5; font-weight: 700; }
.guide-card p span { display: block; }
.guide-intro-card {
  background: linear-gradient(135deg, #e8f4ff, #f8fcff);
  border-color: #cfe3f6;
  padding: 14px 18px;
}
.guide-intro-card h1,
.guide-safe-card h2 {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 21px;
  line-height: 1.25;
  font-weight: 900;
}
.guide-intro-card p,
.guide-safe-card p {
  display: grid;
  gap: 3px;
  line-height: 1.35;
}
.guide-intro-card p span,
.guide-safe-card p span {
  display: block;
}
.guide-intro-card p span:first-child,
.guide-safe-card p span:first-child {
  color: var(--ink);
  font-weight: 850;
}
.guide-intro-card p span:last-child,
.guide-safe-card p span:last-child {
  color: #5f6b7a;
  font-size: 14px;
  font-weight: 600;
}
.guide-safe-card {
  padding: 14px 18px;
}
.guide-card .th-desc {
  color: var(--ink);
  font-weight: 900;
}
.guide-card .en-desc {
  margin-top: 4px;
  color: #5f6b7a;
  font-size: .92em;
  font-weight: 500;
}
.guide-card-about h3 {
  white-space: nowrap;
  font-size: 18px;
}
.guide-category-list {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}
.guide-category-card {
  display: grid;
  grid-template-columns: minmax(210px, 30%) 1fr;
  align-items: center;
  column-gap: 14px;
  min-height: 76px;
  margin-top: 0 !important;
  padding: 7px 12px;
  background: #fbfefd;
}
.guide-category-link {
  color: inherit;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.guide-category-link:hover,
.guide-category-link.active {
  border-color: rgba(0, 148, 73, .35);
  box-shadow: 0 8px 22px rgba(0, 148, 73, .08);
  transform: translateY(-1px);
}
.guide-category-card h2 {
  margin: 0;
  color: var(--green);
  font-size: 16px;
  line-height: 1.15;
  font-weight: 900;
}
.guide-category-card p {
  display: grid;
  gap: 1px;
  margin: 0;
  line-height: 1.25;
}
.guide-category-card p span:first-child {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 850;
}
.guide-category-card p span:last-child {
  color: #5f6b7a;
  font-size: 12.5px;
  font-weight: 600;
}
.guide-article-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.guide-selected-card {
  margin-top: 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #eef9f4, #fbfefd);
  border-color: #cfeadd;
}
.guide-selected-card h2 {
  margin: 0 0 5px;
  color: var(--green);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
}
.guide-selected-card p {
  display: grid;
  gap: 2px;
  line-height: 1.35;
}
.guide-selected-card p span:first-child {
  color: var(--ink);
  font-weight: 850;
}
.guide-selected-card p span:last-child {
  color: #667085;
  font-size: 13px;
  font-weight: 600;
}
.guide-back-btn {
  margin-top: 10px;
}
.guide-article-title-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #e1eee8;
  border-radius: 6px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.guide-article-title-item:hover {
  border-color: rgba(0, 148, 73, .35);
  box-shadow: 0 8px 22px rgba(0, 148, 73, .08);
  transform: translateY(-1px);
}
.guide-article-title-item h2 {
  display: grid;
  gap: 3px;
  margin: 0 0 5px;
  line-height: 1.25;
}
.guide-title-th {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}
.guide-title-en {
  color: #667085;
  font-size: 13px;
  font-weight: 650;
}
.guide-article-title-item p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  color: #667085;
  font-size: 12.5px;
  font-weight: 700;
}
.guide-read-link {
  flex: 0 0 auto;
  border: 1px solid rgba(0, 148, 73, .22);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--green);
  background: #eef9f4;
  font-size: 12.5px;
  font-weight: 900;
}
.guide-article-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.guide-article-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  background: #eef2f6;
}
.guide-article-item h2 {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 20px;
}
.guide-article-item p {
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.45;
  font-weight: 750;
}
.guide-article-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}
.article-detail-card h1 {
  margin-top: 0;
  color: var(--green);
  line-height: 1.2;
}
@media (max-width: 720px) {
  .guide-category-card {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 0;
    row-gap: 3px;
  }
  .guide-article-item {
    grid-template-columns: 1fr;
  }
  .guide-article-title-item {
    align-items: flex-start;
    flex-direction: column;
  }
  .guide-read-link {
    width: 100%;
    text-align: center;
  }
}
.footer {
  margin-top: 30px;
  background: #101722;
  color: #fff;
  padding: 30px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.footer a { color: #d7ffe7; font-weight: 800; margin-right: 14px; }
.footer-lang-col p {
  margin: 5px 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
}
.footer-lang-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 10px;
}
.footer .footer-lang-links a {
  margin-right: 0;
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
}
.article-content {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
}
.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 22px 0 10px;
  line-height: 1.3;
}
.article-content p,
.article-content ul,
.article-content ol {
  margin: 0 0 14px;
}
.article-content a {
  color: var(--green);
  font-weight: 900;
}
.detail-wrap {
  display: grid;
  grid-template-columns: 1.8fr 0.9fr;
  gap: 26px;
  padding-top: 26px;
}
.contact-panel {
  position: sticky;
  top: 22px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 22px;
}
.admin-page .topbar {
  height: auto;
  min-height: 84px;
}
.admin-page .topbar .shell {
  min-height: 84px !important;
  max-width: 1480px !important;
  height: auto !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-items: start !important;
  justify-content: start !important;
  gap: 10px !important;
}
.admin-page .brand {
  width: max-content;
  max-width: 100%;
}
.admin-page .nav {
  width: 100%;
  display: flex !important;
  justify-content: flex-start;
  overflow-x: auto;
  max-width: 100%;
  padding: 0 0 4px;
  scrollbar-width: thin;
}
.admin-page .nav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  padding: 7px 10px;
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
}
.admin-page .top-actions {
  order: 3;
  align-self: flex-start;
  margin-top: 0;
}
.admin-page main.shell,
.admin-page .admin-main {
  max-width: 1480px !important;
  padding-top: 26px;
}
.admin-page .stat-grid {
  align-items: stretch;
}
.admin-page .stat-card {
  min-height: 118px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.admin-page .form-grid > .panel {
  height: 100%;
}
.admin-settings-form {
  display: grid;
  gap: 18px;
}
.admin-success {
  border-color: var(--green);
  color: var(--green);
  font-weight: 900;
  margin-bottom: 18px;
}
.admin-setting-card {
  display: grid;
  gap: 16px;
}
.admin-card-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.admin-card-title strong {
  color: var(--green);
  font-size: 20px;
  font-weight: 950;
}
.admin-card-title span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.admin-setting-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.admin-setting-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.admin-setting-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.admin-setting-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.admin-setting-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.admin-setting-wide {
  grid-column: 1 / -1;
}
.admin-setting-row {
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfdff;
  padding: 12px;
  font-weight: 900;
}
.admin-setting-row em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}
.unit-input {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) auto;
  align-items: center;
  gap: 8px;
}
.unit-input b {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.admin-check-row {
  grid-template-columns: 20px 1fr;
  align-items: center;
  align-content: center;
}
.admin-check-row input {
  width: 18px;
  height: 18px;
  margin: 0;
}
.admin-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.admin-sticky-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  gap: 10px;
  padding: 14px 0;
  background: linear-gradient(180deg, rgba(255,255,255,.72), #fff 35%);
}
.admin-disabled-panel {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.admin-disabled-panel h1 {
  margin: 18px 0 8px;
  font-size: 28px;
}
.admin-disabled-panel h2 {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 20px;
}
.admin-disabled-panel p {
  color: var(--muted);
  font-weight: 800;
}
.admin-disabled-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
@media (max-width: 980px) {
  .admin-setting-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-card-title {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 640px) {
  .admin-page .topbar .shell {
    align-items: flex-start;
  }
  .admin-page .nav {
    width: 100%;
  }
  .admin-page .top-actions {
    align-self: stretch;
    margin-top: 0;
  }
  .admin-page .top-actions .btn {
    width: 100%;
  }
  .admin-setting-grid,
  .unit-input {
    grid-template-columns: 1fr;
  }
  .admin-sticky-actions,
  .admin-disabled-actions {
    flex-direction: column;
  }
}
.gallery {
  position: relative;
}
.main-image {
  height: 520px;
  display: grid;
  place-items: center;
  background: #101722;
  overflow: hidden;
}
.main-image img { width: 100%; height: 100%; object-fit: contain; }
.gallery-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 56px;
  border: 0;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.56);
  color: #fff;
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}
.gallery-btn.prev { left: 12px; }
.gallery-btn.next { right: 12px; }
.gallery-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.thumbs { display: flex; gap: 10px; overflow-x: auto; margin-top: 12px; }
.thumbs img { width: 110px; height: 82px; object-fit: cover; border: 2px solid var(--line); cursor: pointer; }
.thumbs img.active { border-color: var(--green); }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0; }
.spec { border-bottom: 2px solid #eef2f6; padding: 12px 0; }
.spec span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; }
.spec b { display: block; margin-top: 6px; font-size: 22px; }
.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 22px;
}
.option-list span,
.option-list em {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--green);
  border-radius: 4px;
  color: var(--green);
  background: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}
.map-box {
  width: 100%;
  height: 380px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #eef2f6;
}
.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.ad-slot {
  display: none;
  min-height: 90px;
  margin: 22px 0;
  border: 1px dashed #cfd8df;
  background: #fafafa;
}
.detail-ad {
  min-height: 120px;
}
body.ads-ready .ad-slot { display: block; }
.managed-ad {
  margin: 18px 0;
  text-align: center;
}
.bd-ad-adsense {
  min-height: 96px;
  display: grid;
  place-items: center;
}
.managed-ad-detail-sidebar.bd-ad-adsense {
  min-height: 250px;
}
.managed-ad img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.managed-ad-detail-sidebar img {
  max-height: 320px;
}
.admin-table { width: 100%; border-collapse: collapse; background: #fff; }
.admin-table th, .admin-table td { border-bottom: 1px solid var(--line); padding: 12px; text-align: left; font-size: 13px; }
.admin-table th { background: #f8fafc; font-weight: 900; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.admin-input { width: 100%; min-height: 42px; border: 1px solid #ccd6dd; padding: 10px; border-radius: 4px; }
textarea.admin-input { min-height: 120px; }
.mypage-hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: stretch;
  margin: 22px 0;
}
.mypage-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow);
}
.mypage-card h1,
.mypage-card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-weight: 950;
}
.mypage-card h1 { font-size: 28px; }
.mypage-card h2 { font-size: 20px; }
.mypage-muted {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.mypage-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.mypage-stat {
  min-height: 86px;
  border: 1px solid #d8eadf;
  border-radius: 8px;
  background: #f4fbf7;
  padding: 13px;
}
.mypage-stat span {
  display: block;
  color: #475467;
  font-size: 12px;
  font-weight: 850;
}
.mypage-stat b {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: 26px;
  font-weight: 950;
}
.mypage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}
.mypage-list {
  display: grid;
  gap: 12px;
}
.mypage-listing {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 3px 12px rgba(16,24,40,.06);
}
.mypage-listing img {
  width: 132px;
  height: 96px;
  border-radius: 6px;
  object-fit: cover;
  background: #eef2f6;
}
.mypage-listing h3 {
  margin: 0 0 5px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 950;
}
.mypage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}
.mypage-tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef9f4;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}
.mypage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.mypage-actions form {
  margin: 0;
}
.mypage-actions .btn {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}
.mypage-side {
  display: grid;
  gap: 18px;
}
.mypage-kv {
  display: grid;
  gap: 8px;
}
.mypage-kv div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #eef2f6;
  font-size: 13px;
  font-weight: 800;
}
.mypage-kv b {
  text-align: right;
  overflow-wrap: anywhere;
}
.mypage-alert {
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff8ed;
  padding: 12px;
  color: #7c2d12;
  font-weight: 850;
}
.member-edit-hero {
  border-bottom: 1px solid #dbe7ef;
  background: linear-gradient(120deg, #eef8f3 0%, #f7fbff 58%, #ffffff 100%);
}
.member-edit-hero .shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.member-edit-hero h1 {
  margin: 0 0 8px;
  color: #075f36;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 950;
}
.member-edit-hero p {
  margin: 0;
  color: #475467;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 800;
}
.member-edit-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 34px;
}
.member-step-nav {
  position: sticky;
  top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.member-step-nav a {
  display: block;
  padding: 13px 14px;
  border-bottom: 1px solid #edf1f5;
  color: #344054;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
  text-decoration: none;
}
.member-step-nav a:last-child {
  border-bottom: 0;
}
.member-step-nav a:hover {
  background: #f3fbf7;
  color: #075f36;
}
.member-step-nav span {
  color: #101828;
  font-weight: 950;
}
.member-step-nav small {
  color: #667085;
  font-size: 12px;
  font-weight: 750;
}
.mypage-edit-form {
  max-width: 980px;
  margin: 22px auto;
}
.member-edit-layout .mypage-edit-form {
  max-width: none;
  margin: 0;
}
.member-edit-form {
  display: grid;
  gap: 18px;
}
.member-edit-intro,
.member-edit-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.member-edit-intro {
  padding: 22px;
}
.member-edit-intro h1 {
  margin: 0 0 8px;
  color: #075f36;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 950;
}
.member-edit-section header {
  padding: 15px 20px;
  border-bottom: 1px solid #d7e1ea;
  background: #f7fbf9;
}
.member-edit-section header > small {
  display: block;
  margin-top: 6px;
  color: #667085;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 750;
}
.member-edit-section h2 {
  margin: 0;
  color: #101828;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 950;
}
.member-edit-section h2 span {
  font-weight: 950;
}
.member-edit-section h2 small {
  color: #667085;
  font-size: .88em;
  font-weight: 750;
}
.member-price-rent.is-hidden,
.member-price-sale.is-hidden {
  display: none;
}
.member-edit-body {
  padding: 20px;
}
.member-price-contact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
}
.member-row {
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
}
.member-row-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.member-row-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.member-row-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.member-row .field label {
  min-height: 34px;
  display: flex;
  align-items: flex-end;
  line-height: 1.2;
}
.member-map-placeholder {
  width: 100%;
  min-height: 46px;
  opacity: .72;
  cursor: not-allowed;
}
.member-edit-main header {
  background: #f3fbf7;
  border-left: 5px solid var(--green);
}
.member-edit-main h2 {
  color: #075f36;
}
.member-edit-price header {
  background: #eff6ff;
  border-left: 5px solid #2563eb;
}
.member-edit-price h2 {
  color: #1d4ed8;
}
.member-edit-description header {
  background: #ecfdf5;
  border-left: 5px solid #0f766e;
}
.member-edit-description h2 {
  color: #115e59;
}
.member-edit-description textarea.admin-input {
  min-height: 320px;
  line-height: 1.55;
}
.member-edit-location header {
  background: #f5f3ff;
  border-left: 5px solid #7c3aed;
}
.member-edit-location h2 {
  color: #5b21b6;
}
.member-edit-rental header {
  background: #f0fdfa;
  border-left: 5px solid #14b8a6;
}
.member-edit-rental h2 {
  color: #0f766e;
}
.member-edit-features header {
  background: #fff8ed;
  border-left: 5px solid #b7791f;
}
.member-edit-features h2 {
  color: #7a4a11;
}
.member-edit-subtitle {
  margin: 0 0 12px;
  color: #101828;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 950;
}
.member-edit-subtitle + .member-option-grid {
  margin-bottom: 22px;
}
.member-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.member-option-chip {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #d6dde5;
  border-radius: 5px;
  background: #fff;
  padding: 8px 12px;
  color: #101828;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 900;
  cursor: pointer;
}
.member-option-chip input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--green);
}
.member-edit-media header {
  background: #f5f3ff;
  border-left: 5px solid #7c3aed;
}
.member-edit-media h2 {
  color: #5b21b6;
}
.member-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 18px;
}
.member-image-item {
  border: 1px solid #d6dde5;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.member-image-item img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #eef2f6;
}
.member-image-controls {
  display: grid;
  gap: 8px;
  padding: 10px;
  font-size: 13px;
  font-weight: 850;
}
.member-image-controls label {
  display: flex;
  align-items: center;
  gap: 7px;
}
.member-image-controls input {
  accent-color: var(--green);
}
.member-upload-field {
  margin-top: 10px;
}
.member-upload-field small {
  display: block;
  margin-top: 7px;
  color: #667085;
  font-weight: 800;
}
.member-edit-status header {
  background: #fff8ed;
  border-left: 5px solid #b7791f;
}
.member-edit-status h2 {
  color: #7a4a11;
}
.member-edit-actions {
  position: sticky;
  bottom: 0;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
@media (max-width: 900px) {
  .mypage-hero,
  .mypage-grid {
    grid-template-columns: 1fr;
  }
  .member-edit-hero .shell,
  .member-edit-layout {
    grid-template-columns: 1fr;
  }
  .member-edit-hero h1 {
    font-size: 28px;
  }
  .member-step-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .member-step-nav a {
    border-right: 1px solid #edf1f5;
  }
  .mypage-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .member-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .member-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .member-price-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .mypage-listing {
    grid-template-columns: 1fr;
  }
  .mypage-listing img {
    width: 100%;
    height: 190px;
  }
  .mypage-stats {
    grid-template-columns: 1fr;
  }
  .member-edit-hero .shell {
    gap: 14px;
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .member-edit-hero h1 {
    font-size: 24px;
  }
  .member-step-nav {
    display: none;
  }
  .member-edit-body {
    padding: 16px;
  }
  .member-edit-section header {
    padding: 13px 16px;
  }
  .member-edit-section h2 {
    font-size: 17px;
  }
  .member-row,
  .member-row-3,
  .member-row-4,
  .member-row-5 {
    grid-template-columns: 1fr;
  }
  .member-row .field label {
    min-height: 0;
  }
  .member-price-contact-grid {
    grid-template-columns: 1fr;
  }
  .member-edit-actions {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
  }
  .member-option-grid {
    grid-template-columns: 1fr;
  }
  .member-image-grid {
    grid-template-columns: 1fr;
  }
}
.bd-consent-locked body { overflow: hidden; }
.bd-consent-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 23, 34, 0.72);
}
.bd-consent-gate[hidden] { display: none; }
.bd-consent-card {
  width: min(760px, 100%);
  max-height: 92vh;
  overflow: auto;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(16,24,40,.28);
  padding: 26px;
}
.bd-consent-card h2 {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 25px;
  line-height: 1.3;
  font-weight: 900;
}
.bd-consent-card h2 span,
.bd-consent-card p span,
.bd-consent-card button span,
.bd-legal-footer-note span { color: inherit; opacity: .86; }
.bd-consent-card p {
  margin: 0 0 12px;
  color: #344054;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 800;
}
.bd-consent-copy {
  display: grid;
  gap: 10px;
  margin: 0 0 12px;
}
.bd-consent-lang {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #e4eaf0;
  background: #f8fafc;
}
.bd-consent-lang p {
  margin: 0 0 7px;
}
.bd-consent-lang p:last-child {
  margin-bottom: 0;
}
.bd-consent-th p {
  color: #101828;
  font-size: 15px;
  line-height: 1.48;
  font-weight: 950;
}
.bd-consent-en {
  background: #fff;
}
.bd-consent-en p {
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 750;
}
.bd-consent-cookie {
  padding: 12px;
  border-radius: 6px;
  background: #fff8ed;
  border: 1px solid #fed7aa;
}
.bd-consent-card label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  font-weight: 900;
  line-height: 1.45;
}
.bd-consent-card input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--green);
}
.bd-consent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}
.bd-consent-links a { color: var(--green); font-weight: 900; }
.bd-legal-box,
.bd-warning-box {
  margin: 18px 0;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid #fed7aa;
  background: #fff8ed;
  color: #344054;
  font-weight: 800;
  line-height: 1.55;
}
.bd-warning-box {
  border-color: #fecaca;
  background: #fff1f2;
}
.bd-detail-warning-compact {
  margin: 14px 0;
  padding: 12px 16px;
}
.bd-detail-warning-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.bd-detail-warning-columns h2 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.35;
}
.bd-detail-warning-columns p {
  margin: 0 0 5px;
  font-size: 14px;
  line-height: 1.45;
}
.bd-legal-box-compact {
  margin: 12px 0;
  padding: 12px 16px;
}
.bd-legal-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.bd-legal-columns p {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.45;
}
.bd-legal-columns > div:first-child h2,
.bd-legal-columns > div:first-child p {
  color: var(--ink);
  font-weight: 950;
}
.bd-legal-columns > div:last-child h2,
.bd-legal-columns > div:last-child p {
  color: #667085;
  font-size: .92em;
  font-weight: 750;
}
.bd-legal-box.bd-legal-box-compact h2 {
  margin-bottom: 6px;
  font-size: 17px;
}
.bd-legal-box h2,
.bd-warning-box h2 {
  margin: 0 0 10px;
  color: #9a3412;
  font-size: 20px;
  font-weight: 900;
}
.bd-warning-box h2 { color: #991b1b; }
.bd-legal-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.bd-legal-list label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 900;
  line-height: 1.45;
}
.bd-legal-list input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--green); }
.bd-report-form {
  display: grid;
  gap: 12px;
}
.bd-report-form textarea { min-height: 96px; resize: vertical; }
.bd-legal-footer-note {
  margin: 0 0 12px;
  color: #fff;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 800;
}
.bd-legal-footer-links {
  display: grid;
  gap: 6px;
}
.bd-legal-footer-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.footer .bd-legal-footer-links a {
  display: inline-block;
  margin-right: 0;
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .hero .shell, .detail-wrap, .footer-grid { grid-template-columns: 1fr; }
  .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters, .trust-row .shell, .guide-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .bd-legal-columns { grid-template-columns: 1fr; gap: 8px; }
  .bd-detail-warning-columns { grid-template-columns: 1fr; gap: 8px; }
  .bd-legal-box-compact { padding: 12px; }
  .shell { padding: 0 16px; }
  .topbar { height: auto; padding: 16px 0; }
  body:not(.admin-page) .topbar .shell {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
  }
  body:not(.admin-page) .brand {
    width: 100%;
  }
  body:not(.admin-page) .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-self: auto;
    gap: 8px;
  }
  body:not(.admin-page) .nav a {
    min-height: 40px;
    padding: 7px 8px;
    text-align: center;
    font-size: 13px;
  }
  body:not(.admin-page) .top-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
    gap: 8px;
  }
  body:not(.admin-page) .top-actions .btn {
    width: 100%;
    min-height: 40px;
    padding: 7px 10px;
    text-align: center;
  }
  .brand-logo { font-size: 30px; }
  .hero h1 { font-size: 29px; line-height: 1.28; }
  .hero p { font-size: 15px; }
  .property-grid, .filters, .trust-row .shell, .guide-row, .spec-grid, .form-grid { grid-template-columns: 1fr; }
  .property-card { min-height: auto; }
  .card-body h3, .card-body p { min-height: 0; }
  .card-body h3 { font-size: 21px; }
  .card-body p { font-size: 15px; }
  .meta { font-size: 14px; }
  .main-image { height: 330px; }
  .gallery-btn {
    width: 38px;
    height: 48px;
    font-size: 34px;
  }
  .map-box { height: 300px; }
  .contact-panel { position: static; }
}
