:root {
  color-scheme: light;
  --ink: #212820;
  --muted: #858a80;
  --green: #31483a;
  --green-dark: #26382d;
  --paper: #f7f8f4;
  --white: #fff;
  --line: #e7e9e2;
  --font: "Noto Sans Myanmar", "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 14px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

.site-header { height: 82px; padding: 0 7.4%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(40, 52, 41, .08); background: rgba(255,255,255,.68); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: -.8px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: var(--green); color: #fff; font-size: 16px; }
.brand-mark svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.brand-dot { color: #bd895c; }
.header-actions { display: flex; align-items: center; gap: 28px; }
.nav-link { color: #6b7269; font-size: 12px; }
.button { min-height: 46px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 0; border-radius: 7px; font-size: 12px; font-weight: 600; transition: background .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: var(--green-dark); }
.button-primary:disabled { cursor: wait; opacity: .62; }
.button-small { min-height: 38px; padding: 0 15px; }
.button-small span { font-size: 17px; }
.telegram-button-wrap { display: flex; align-items: center; min-height: 38px; }
.telegram-button-wrap iframe { max-width: 190px; }
.account-menu { display: flex; align-items: center; gap: 13px; }
.account-name { font-size: 12px; font-weight: 600; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--green); font-size: 11px; }
.login-unavailable { color: var(--muted); font-size: 11px; }

.hero { position: relative; min-height: 520px; padding: 66px 7.4% 65px; display: grid; grid-template-columns: .91fr 1.09fr; align-items: center; gap: 6%; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; padding: 0 0 14px 1.4%; }
.eyebrow { margin: 0 0 16px; color: #9a7855; font-size: 10px; font-weight: 600; letter-spacing: .4px; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow-line { width: 25px; height: 1px; background: #b58c62; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { max-width: 470px; margin: 0; color: var(--ink); font-size: clamp(39px, 4.2vw, 58px); font-weight: 600; line-height: 1.48; letter-spacing: -2.7px; }
h1 span { color: #8c9b81; }
.hero-description { max-width: 370px; margin: 13px 0 23px; color: #798076; font-size: 12px; line-height: 2; }
.hero-button { min-height: 45px; }
.hero-button span, .button-light span { font-size: 16px; }
.hero-note { margin-top: 27px; display: flex; align-items: center; gap: 9px; color: #969a91; font-size: 10px; }
.note-icon { width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid #d8ddd3; border-radius: 50%; color: var(--green); }
.hero-visual { position: relative; height: 380px; }
.hero-photo { height: 100%; border-radius: 9px 90px 9px 9px; background: #cad1c2 url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1400&q=88") center 53% / cover no-repeat; }
.photo-badge { position: absolute; right: -20px; bottom: 62px; min-width: 174px; padding: 14px 16px; display: flex; align-items: center; gap: 11px; border-radius: 7px; background: #fff; box-shadow: 0 12px 32px rgba(34, 42, 33, .1); color: #7d8378; font-size: 10px; line-height: 1.9; }
.photo-badge strong { color: var(--ink); font-size: 11px; }
.badge-spark { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: #edf0e8; color: #718167; font-size: 19px; }
.visual-caption { position: absolute; bottom: -25px; left: 2px; right: 4px; display: flex; align-items: center; gap: 10px; color: #8d9288; font-size: 9px; }
.caption-rule { width: 50px; height: 1px; background: #cbd0c5; }
.hero-decoration { position: absolute; right: 45%; bottom: -105px; color: rgba(115, 133, 103, .06); font-size: 360px; line-height: 1; pointer-events: none; }

.search-section { position: relative; z-index: 2; margin: -5px 7.4% 0; }
.search-panel { min-height: 94px; padding: 15px 17px; display: grid; grid-template-columns: .9fr 1.12fr .9fr .9fr 1fr auto; align-items: center; border: 1px solid rgba(40, 52, 41, .06); border-radius: 8px; background: #fff; box-shadow: 0 14px 34px rgba(39, 50, 39, .055); }
.search-field { min-width: 0; min-height: 52px; padding: 3px 12px; display: flex; align-items: center; gap: 9px; border-right: 1px solid var(--line); }
.search-field:first-child { padding-left: 12px; }
.field-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: #f1f3ed; color: #74816d; font-family: sans-serif; font-size: 23px; }
.location-icon { font-size: 21px; }
.price-icon { font-size: 16px; }
.field-content { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.field-label { color: #8e938a; font-size: 9px; }
.field-content select, .field-content input { width: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: #333b33; font-size: 11px; }
.static-filter { color: #333b33; font-size: 11px; }
.field-content input::placeholder { color: #969b92; }
.search-button { min-width: 112px; margin-left: 17px; }
.search-button span { font-family: sans-serif; font-size: 20px; }

.listing-section { padding: 77px 7.4% 82px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 27px; }
.section-heading .eyebrow { margin-bottom: 8px; }
h2 { margin: 0; font-size: clamp(21px, 2.5vw, 29px); font-weight: 600; letter-spacing: -.7px; }
.listing-controls { display: flex; align-items: center; gap: 20px; color: #969b91; font-size: 10px; }
.text-button span { padding-left: 4px; }
.property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.property-card { overflow: hidden; border: 1px solid rgba(39, 50, 39, .07); border-radius: 8px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.property-card:hover { transform: translateY(-3px); box-shadow: 0 13px 29px rgba(34, 42, 33, .08); }
.card-image-wrap { position: relative; height: 210px; overflow: hidden; background: #e9ece5; }
.card-image { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .4s ease; }
.property-card:hover .card-image { transform: scale(1.035); }
.property-badge { position: absolute; top: 13px; left: 13px; padding: 6px 11px; border-radius: 4px; background: rgba(255,255,255,.94); color: #394a3c; font-size: 9px; font-weight: 600; }
.edit-property, .delete-property { position: absolute; top: 12px; padding: 6px 10px; border: 0; border-radius: 4px; background: rgba(255,255,255,.95); font-size: 10px; }
.edit-property { right: 64px; color: #394d3b; }
.delete-property { right: 12px; color: #963f36; }
.edit-property[hidden] { display: none; }
.delete-property[hidden] { display: none; }
.card-content { padding: 17px 17px 14px; }
.card-title-row { display: flex; align-items: start; justify-content: space-between; gap: 9px; }
.card-title-row h3 { min-height: 42px; margin: 0; font-size: 14px; font-weight: 600; line-height: 1.65; }
.card-type { padding-top: 3px; color: #9b7b5b; font-size: 9px; white-space: nowrap; }
.card-location { margin: 8px 0 10px; color: #879083; font-size: 10px; }
.card-details { min-height: 18px; color: #777f75; font-size: 9px; }
.card-description { height: 40px; margin: 9px 0; overflow: hidden; color: #8a9086; font-size: 10px; line-height: 1.8; }
.card-footer { min-height: 43px; margin-top: 9px; padding-top: 11px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid #edf0e9; }
.card-price { color: #35483a; font-size: 12px; font-weight: 700; }
.contact-link { padding: 8px 10px; border-radius: 4px; background: #eef1eb; color: #445641; font-size: 9px; white-space: nowrap; }
.listings-message { min-height: 14px; margin: -8px 0 14px; color: #7c857a; font-size: 12px; }
.cta-banner { margin: 0 7.4% 76px; padding: 35px 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-radius: 8px; background: var(--green); color: #fff; }
.cta-banner .eyebrow { margin-bottom: 8px; color: #c1cbbd; }
.cta-banner h2 { font-size: 22px; }
.cta-banner p:last-child { margin: 9px 0 0; color: #c1c9bf; font-size: 10px; }
.button-light { flex-shrink: 0; background: #fff; color: #364a3a; }
.button-light:hover { background: #f0f2ed; }
.site-footer { min-height: 84px; padding: 18px 7.4%; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #92988e; font-size: 9px; }
.footer-brand { color: var(--ink); font-size: 15px; }
.footer-brand .brand-mark { width: 29px; height: 29px; border-radius: 9px; font-size: 14px; }

.form-dialog { width: min(720px, calc(100% - 30px)); max-height: min(90vh, 900px); padding: 28px; overflow-y: auto; border: 0; border-radius: 10px; background: #fff; color: var(--ink); box-shadow: 0 25px 90px rgba(22, 31, 23, .24); }
.form-dialog::backdrop { background: rgba(26, 35, 28, .55); backdrop-filter: blur(3px); }
.dialog-heading { margin-bottom: 20px; display: flex; align-items: start; justify-content: space-between; }
.dialog-heading .eyebrow { margin-bottom: 6px; }
.dialog-heading h2 { font-size: 22px; }
.icon-button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f0f2ee; color: #535d51; font-size: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 13px; }
.form-control { min-width: 0; display: flex; flex-direction: column; gap: 7px; color: #586155; font-size: 10px; }
.form-control > span:first-child { font-weight: 600; }
.form-control input, .form-control select, .form-control textarea { width: 100%; min-height: 42px; padding: 10px 11px; border: 1px solid #e1e5dd; border-radius: 5px; outline: 0; background: #fff; color: #303a30; font-size: 11px; }
.form-control textarea { resize: vertical; }
.form-control input:focus, .form-control select:focus, .form-control textarea:focus { border-color: #84967e; box-shadow: 0 0 0 2px rgba(91, 115, 84, .12); }
.form-control input[type="file"] { padding: 8px; }
.form-control input[type="file"]::file-selector-button { margin-right: 10px; padding: 7px 10px; border: 0; border-radius: 4px; background: #eef1eb; color: #465644; font-size: 10px; }
.form-wide { grid-column: 1 / -1; }
.form-hint { color: #91978d; font-size: 9px; }
.error-text, .form-error { color: #a54438 !important; }
.form-error { min-height: 15px; margin: 12px 0 0; font-size: 10px; }
.dialog-actions { margin-top: 14px; display: flex; justify-content: end; gap: 10px; }
.dialog-actions .button { min-height: 40px; font-size: 10px; }
.button-secondary { background: #f0f2ee; color: #566050; }
.login-prompt { padding: 18px; border-radius: 6px; background: #f6f7f4; color: #596354; font-size: 11px; line-height: 2; }
.login-prompt > span { display: block; margin-top: 10px; }

@media (min-width: 1500px) {
  .site-header, .hero, .listing-section, .site-footer { padding-left: max(7.4%, calc((100% - 1300px) / 2)); padding-right: max(7.4%, calc((100% - 1300px) / 2)); }
}
@media (max-width: 950px) {
  .site-header, .hero, .listing-section, .site-footer { padding-left: 5%; padding-right: 5%; }
  .hero { min-height: 470px; gap: 4%; }
  .hero-visual { height: 335px; }
  .search-section, .cta-banner { margin-left: 5%; margin-right: 5%; }
  .search-field { padding-right: 13px; padding-left: 13px; }
  .property-grid { gap: 14px; }
  .card-image-wrap { height: 175px; }
  .card-content { padding: 13px; }
  .card-price { font-size: 10px; }
}
@media (max-width: 700px) {
  .site-header { height: 67px; }
  .brand { gap: 7px; font-size: 17px; }
  .brand-mark { width: 30px; height: 30px; border-radius: 9px; font-size: 14px; }
  .header-actions { gap: 10px; }
  .nav-link { display: none; }
  .header-actions .button-small { min-height: 35px; padding: 0 10px; font-size: 10px; }
  .header-actions .button-small span { font-size: 14px; }
  .account-menu { gap: 8px; }
  .account-name { max-width: 66px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
  .account-menu .text-button { font-size: 9px; }
  .telegram-button-wrap { width: 120px; overflow: hidden; }
  .telegram-button-wrap iframe { max-width: 120px; transform: scale(.83); transform-origin: left center; }
  .hero { min-height: auto; padding-top: 40px; padding-bottom: 48px; grid-template-columns: 1fr; gap: 27px; }
  .hero-copy { padding-left: 0; }
  h1 { font-size: clamp(37px, 9vw, 51px); }
  .hero-description { font-size: 11px; }
  .hero-visual { height: 275px; margin-right: 12px; }
  .hero-photo { border-top-right-radius: 65px; }
  .photo-badge { right: -12px; bottom: 39px; min-width: 151px; padding: 10px 12px; }
  .visual-caption { bottom: -21px; }
  .search-section { margin-top: 0; }
  .search-panel { padding: 9px 12px; grid-template-columns: 1fr 1fr; gap: 5px; }
  .search-field { min-height: 54px; padding: 5px 8px; border-right: 0; }
  .search-field:nth-child(odd) { border-right: 1px solid var(--line); }
  .search-field:first-child { padding-left: 8px; }
  .field-icon { width: 25px; height: 25px; flex-shrink: 0; font-size: 20px; }
  .search-button { min-height: 40px; grid-column: 1 / -1; margin: 4px 0 0; }
  .listing-section { padding-top: 54px; padding-bottom: 54px; }
  .section-heading { align-items: start; flex-direction: column; gap: 13px; }
  .listing-controls { width: 100%; justify-content: space-between; }
  .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .card-image-wrap { height: 145px; }
  .card-content { padding: 11px; }
  .card-title-row { display: block; }
  .card-title-row h3 { min-height: 40px; font-size: 11px; }
  .card-type { display: inline-block; font-size: 8px; }
  .card-location { font-size: 9px; }
  .card-details { font-size: 8px; }
  .card-description { height: 38px; font-size: 9px; }
  .card-footer { flex-wrap: wrap; }
  .card-price { font-size: 9px; }
  .contact-link { padding: 7px 8px; font-size: 8px; }
  .cta-banner { margin-bottom: 47px; padding: 26px 22px; align-items: start; flex-direction: column; gap: 17px; }
  .cta-banner h2 { font-size: 20px; }
  .site-footer { min-height: 100px; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
  .site-footer > span:nth-child(2) { order: 3; width: 100%; }
  .form-dialog { padding: 20px 16px; }
}
@media (max-width: 400px) {
  .property-grid { grid-template-columns: 1fr; }
  .card-image-wrap { height: 190px; }
  .card-title-row { display: flex; }
  .card-title-row h3 { min-height: auto; font-size: 13px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
}

.account-dashboard-link { white-space: nowrap; }
.search-panel { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 0; }
.search-field:nth-child(4n) { border-right: 0; }
.search-button { grid-column: 1 / -1; margin: 5px 0 0; }
.card-image[hidden], .image-count[hidden], .gallery-previous[hidden], .gallery-next[hidden] { display: none; }
.image-count { position: absolute; right: 11px; bottom: 11px; padding: 5px 8px; border-radius: 20px; background: rgba(20, 27, 21, .68); color: #fff; font-size: 10px; }
.gallery-previous, .gallery-next { position: absolute; top: 50%; width: 34px; height: 34px; display: grid; place-items: center; transform: translateY(-50%); border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: #26382d; font: 26px/1 sans-serif; }
.gallery-previous { left: 10px; }
.gallery-next { right: 10px; }
.contact-actions { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.contact-link, .save-property, .report-property { min-height: 38px; padding: 7px 9px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 5px; background: #eef1eb; color: #445641; text-align: center; font-size: 10px; line-height: 1.5; }
.telegram-contact { background: #e9f2f5; color: #207297; }
.save-property { border: 1px solid #e2e6de; background: #fff; }
.save-property.is-saved { background: #f8ecea; color: #a34842; }
.report-property { background: transparent; color: #8c665d; }
.save-property:disabled { opacity: .6; }
.card-price { display: block; margin-top: 11px; font-size: 15px; }
.form-message { min-height: 20px; margin: 3px 0; color: #7c857a; font-size: 12px; }
.success-text { color: #39744b !important; }

.dashboard-page { min-height: 100vh; display: flex; flex-direction: column; }
.dashboard-main { width: min(1120px, 90%); margin: 0 auto; padding: 48px 0 70px; flex: 1; }
.dashboard-heading { margin-bottom: 28px; }
.dashboard-heading .eyebrow { margin-bottom: 5px; }
.dashboard-heading h1 { max-width: none; font-size: clamp(30px, 5vw, 42px); line-height: 1.35; letter-spacing: -.8px; }
.dashboard-heading > p:last-child { color: #7c857a; font-size: 13px; }
.dashboard-panel { margin-bottom: 22px; padding: 26px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.dashboard-panel > p:not(.eyebrow) { color: #7c857a; font-size: 12px; line-height: 1.8; }
.dashboard-tabs { margin: 0 0 18px; display: flex; gap: 7px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.dashboard-tab { flex: 0 0 auto; min-height: 44px; padding: 0 16px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #778074; font-size: 12px; }
.dashboard-tab.is-active { border-bottom-color: var(--green); color: var(--green); font-weight: 600; }
.account-panel > h2, .admin-panel > h2 { margin-bottom: 20px; }
.account-form { width: min(100%, 620px); margin-top: 20px; display: grid; gap: 14px; }
.account-form .form-control { font-size: 12px; }
.account-form .form-control input { min-height: 46px; font-size: 14px; }
.account-form .button { justify-self: start; }
.form-hint { font-size: 11px; }
.login-panel { width: min(100%, 600px); }
.telegram-login-area { margin-top: 18px; }
.telegram-login-area iframe { max-width: 100%; }
.stats-grid { margin-bottom: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat-card { min-height: 96px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.stat-card-action { width: 100%; color: inherit; font-family: inherit; text-align: left; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease; }
.stat-card-action:hover { border-color: #9aaa91; box-shadow: 0 4px 14px rgba(38, 56, 45, .08); }
.stat-card-action:focus-visible { outline: 3px solid rgba(49, 72, 58, .28); outline-offset: 2px; }
.stat-label { color: #788174; font-size: 11px; }
.stat-value { color: var(--green); font-size: 25px; }
.admin-panel-heading { margin-bottom: 18px; display: flex; align-items: end; justify-content: space-between; gap: 15px; }
.admin-panel-heading .eyebrow { margin-bottom: 4px; }
.status-filter { display: grid; gap: 5px; color: #697367; font-size: 11px; }
.status-filter select { min-height: 38px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 5px; background: white; font-size: 12px; }
.status-chip { width: fit-content; margin: 8px 0; padding: 4px 8px; display: inline-flex; border-radius: 20px; background: #f2f3ef; color: #60695e; font-size: 10px; }
.status-pending { background: #fff4df; color: #8a6122; }
.status-approved, .status-active { background: #e8f3e9; color: #39744b; }
.status-rejected, .status-suspended { background: #f9eae8; color: #9a453c; }
.status-hidden, .status-sold, .status-rented { background: #edf0f5; color: #52617a; }
.admin-property-details, .rejection-reason { margin: 8px 0; color: #798175; font-size: 11px; line-height: 1.7; }
.rejection-reason { color: #a34842; }
.admin-actions { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 7px; }
.admin-actions .button { min-height: 36px; padding: 0 11px; font-size: 10px; }
.button-secondary { background: #f0f2ee; color: #566050; }
.button-danger { background: #f8eae8; color: #963f36; }
.admin-list { display: grid; gap: 10px; }
.admin-list-item { padding: 15px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.admin-list-info { min-width: 0; flex: 1; display: grid; gap: 5px; }
.admin-list-info strong { font-size: 13px; }
.admin-list-info span { color: #788174; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.report-item { align-items: start; }
.saved-remove { min-height: 36px; margin-top: 14px; font-size: 10px; }
.dashboard-property-actions { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 8px; }
.dashboard-property-actions .button { min-height: 38px; padding: 0 14px; font-size: 11px; }
.dashboard-property-actions .button-danger { background: #f8eae8; color: #963f36; }
.dashboard-property-actions .button:disabled { cursor: wait; opacity: .62; }
.dashboard-listing-state { margin: 10px 0 0; color: #74816d; font-size: 11px; }
.telegram-start-button { min-height: 42px; padding: 8px 15px; border: 0; border-radius: 6px; background: #229ed9; color: #fff; font-size: 12px; font-weight: 600; }
.telegram-start-button:hover { background: #1686ba; }
.telegram-start-button:disabled { cursor: wait; opacity: .65; }
.telegram-start-link { margin: 10px 0; display: inline-block; color: #1679a8; font-size: 12px; text-decoration: underline; }

@media (max-width: 950px) {
  .search-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .search-field:nth-child(4n) { border-right: 1px solid var(--line); }
  .search-field:nth-child(3n) { border-right: 0; }
}
@media (max-width: 700px) {
  .site-header { padding-right: 4%; padding-left: 4%; }
  .account-dashboard-link { font-size: 9px; }
  .account-menu { gap: 9px; }
  .telegram-button-wrap { width: auto; min-width: 38px; overflow: visible; }
  .telegram-button-wrap iframe { max-width: 155px; transform: scale(.83); transform-origin: right center; }
  .search-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-field:nth-child(3n) { border-right: 1px solid var(--line); }
  .search-field:nth-child(2n) { border-right: 0; }
  .contact-actions { gap: 6px; }
  .contact-link, .save-property, .report-property { min-height: 40px; padding: 6px; font-size: 9px; }
  .dashboard-main { width: 92%; padding: 32px 0 48px; }
  .dashboard-panel { padding: 18px 14px; }
  .dashboard-tabs { margin-right: -14px; margin-left: -14px; padding: 0 10px; }
  .dashboard-tab { padding: 0 11px; font-size: 11px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .stat-card { min-height: 82px; padding: 12px; }
  .stat-value { font-size: 21px; }
  .admin-panel-heading { align-items: start; flex-direction: column; }
  .admin-list-item { align-items: start; flex-wrap: wrap; gap: 9px; }
  .admin-list-item .button { min-height: 38px; }
}
@media (max-width: 400px) {
  .header-actions { gap: 8px; }
  .account-dashboard-link { max-width: 75px; overflow: hidden; text-overflow: ellipsis; }
  .property-grid { grid-template-columns: 1fr; }
  .dashboard-heading h1 { font-size: 29px; }
}
@media (max-width: 700px) {
  .brand-mark, .brand-home, .brand-name .brand-dot { display: none; }
  .brand { gap: 0; font-size: 18px; letter-spacing: 0; }
  .eyebrow, .field-label, .nav-link, .account-menu .text-button { font-size: 11px; }
  .hero-description, .cta-banner p:last-child { font-size: 13px; }
  .field-content select, .field-content input, .static-filter { font-size: 13px; }
  .search-button, .header-actions .button-small { font-size: 12px; }
  .card-title-row h3 { font-size: 12px; }
  .card-type, .card-location, .card-details, .card-description { font-size: 11px; }
  .card-price { font-size: 12px; }
  .contact-link, .save-property, .report-property { font-size: 11px; }
  .site-footer { font-size: 11px; }
  .form-control { font-size: 12px; }
  .form-control input, .form-control select, .form-control textarea { font-size: 13px; }
  .telegram-button-wrap .telegram-start-button { width: clamp(100px, 30vw, 128px); min-height: 36px; padding: 4px 7px; font-size: 10px; line-height: 1.4; }
  .property-category-tabs { padding: 8px 4%; gap: 7px; }
  .category-tab { min-width: 0; min-height: 42px; flex: 1; padding: 7px 10px; font-size: 13px; }
  .image-viewer { padding: 54px 7px 24px; grid-template-columns: 42px minmax(0, 1fr) 42px; gap: 4px; }
  .image-viewer-previous, .image-viewer-next { width: 38px; height: 44px; background: rgba(255,255,255,.17); font-size: 32px; }
  .image-viewer-close { top: 9px; right: 9px; width: 40px; height: 40px; }
  .image-viewer-image { max-height: calc(100vh - 125px); }
}
.property-category-tabs { position: sticky; top: 0; z-index: 10; padding: 9px 7.4%; display: flex; justify-content: center; gap: 8px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
.category-tab { min-width: 112px; min-height: 40px; padding: 7px 20px; border: 1px solid #e4e8df; border-radius: 6px; background: #fff; color: #5f695c; font-size: 12px; font-weight: 600; }
.category-tab:hover { background: #f5f7f2; }
.category-tab.is-active { border-color: var(--green); background: var(--green); color: #fff; }
.card-image[role="button"] { cursor: zoom-in; }
.card-image[role="button"]:focus-visible { outline: 3px solid #b58c62; outline-offset: -3px; }
.image-viewer { position: fixed; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: auto; padding: 55px 28px 24px; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: center; gap: 12px; overflow: hidden; border: 0; background: rgba(13, 17, 14, .97); color: #fff; }
.image-viewer[open] { display: grid; }
.image-viewer::backdrop { background: transparent; }
.image-viewer-close, .image-viewer-previous, .image-viewer-next { z-index: 1; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; cursor: pointer; }
.image-viewer-close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; background: rgba(255,255,255,.14); font-size: 30px; line-height: 1; }
.image-viewer-previous, .image-viewer-next { width: 48px; height: 48px; background: rgba(255,255,255,.14); font: 38px/1 sans-serif; }
.image-viewer-figure { min-width: 0; height: 100%; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.image-viewer-image { max-width: 100%; max-height: calc(100vh - 112px); object-fit: contain; user-select: none; }
.image-viewer-caption { max-width: 100%; color: #e3e8e2; font-size: 12px; text-align: center; }
