@charset "UTF-8";

:root {
    color-scheme: light;
    --ink: #222b25;
    --muted: #737b73;
    --paper: #fbfbf8;
    --surface: #ffffff;
    --surface-soft: #f5f6f1;
    --brand-primary: #395b43;
    --brand-primary-contrast: #ffffff;
    --brand-secondary: #c78d6e;
    --green: var(--brand-primary);
    --green-dark: color-mix(in srgb, var(--brand-primary) 78%, #111);
    --green-soft: color-mix(in srgb, var(--brand-primary) 10%, white);
    --line: #e8e9e2;
    --serif: Georgia, "Times New Roman", serif;
    --sans: "DM Sans", "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --display: "Manrope", "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --shadow: 0 18px 50px rgba(38, 47, 39, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; transition: background-color .2s ease, color .2s ease; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; width: min(1320px, calc(100% - 100px)); height: 88px; margin: auto; border-bottom: 1px solid rgba(70, 82, 68, .11); background: var(--paper); }
.brand { display: inline-flex; align-items: center; gap: 3px; color: var(--ink); font: 800 25px/1 var(--display); letter-spacing: -1.8px; }
.brand-mark { display: grid; place-items: center; width: 29px; height: 29px; margin-right: 4px; border-radius: 9px 9px 9px 3px; background: var(--brand-primary); color: var(--brand-primary-contrast); font-size: 13px; transform: rotate(-5deg); }
.brand-mark--image { overflow: hidden; border-radius: 7px; background: transparent; transform: none; }
.brand-mark--image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-dot { color: var(--brand-secondary); margin-left: -2px; }
.main-nav { display: flex; align-items: center; gap: 17px; color: #626a62; font-size: 13px; font-weight: 500; }
.main-nav > a:not(.nav-publish) { transition: color .18s ease; }
.main-nav .nav-saved { display: inline-flex; align-items: center; gap: 5px; }
.main-nav .nav-count { display: inline-grid; min-width: 19px; height: 19px; place-items: center; padding: 0 5px; border-radius: 999px; background: var(--brand-primary); color: var(--brand-primary-contrast); font-size: 10px; font-weight: 700; line-height: 1; }
.main-nav > a:not(.nav-publish):hover, .main-nav > a.active { color: var(--green); }
.nav-publish { display: inline-flex; align-items: center; gap: 7px; padding: 11px 16px; border: 1px solid color-mix(in srgb, var(--brand-primary) 22%, var(--line)); border-radius: 8px; color: var(--green-dark); font-size: 12px; font-weight: 700; transition: background .18s ease, border-color .18s ease; }
.nav-publish:hover { border-color: #b9c8b8; background: #f0f4ee; }
.nav-publish .fa-solid { font-size: 11px; }
.main-nav .fa-solid, .main-nav .fa-regular { margin-right: 5px; font-size: 11px; }
.main-nav .nav-saved .fa-regular { margin-right: 0; }
.theme-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 600; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.theme-toggle:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.nav-user { max-width: 150px; overflow: hidden; color: #59625a; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.nav-logout { margin-left: -20px; }
.nav-logout button { padding: 5px 0; border: 0; background: none; color: #727970; cursor: pointer; font-size: 12px; }
.nav-logout button:hover { color: var(--green); }
.menu-toggle { display: none; }
main { min-height: 480px; }
.notice { position: relative; z-index: 4; width: min(800px, calc(100% - 40px)); margin: 18px auto -4px; padding: 12px 16px; border: 1px solid; border-radius: 9px; font-size: 13px; }
.notice--success { border-color: #d3e4d4; background: #f0f6ef; color: #31563a; }
.notice--error { border-color: #efd7d3; background: #fff4f1; color: #873d35; }
.notice--info { width: 100%; margin: 0 0 15px; border-color: #dce2d8; background: var(--surface-soft); color: var(--ink); }
.notice--info a { display: block; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.hero { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 35px; width: min(1320px, calc(100% - 100px)); min-height: 570px; margin: auto; padding: 38px 0 46px; }
.hero-copy { position: relative; z-index: 2; padding: 15px 0 0 4.5%; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #71806f; font-size: 9px; font-weight: 700; letter-spacing: 1.65px; line-height: 1.5; }
.eyebrow-line { width: 21px; height: 1px; background: #97a891; }
.hero h1, .auth-aside h1 { margin: 23px 0 17px; font: 500 clamp(52px, 5.15vw, 70px)/1.08 var(--serif); letter-spacing: -2.8px; }
.hero h1 em, .auth-aside h1 em { color: #62826b; font-weight: 400; }
.hero-copy > p { max-width: 410px; margin: 0; color: #71786f; font-size: 14px; line-height: 1.9; }
.search-panel { position: relative; z-index: 3; display: flex; align-items: center; width: min(655px, 116%); min-height: 80px; margin: 31px 0 22px; padding: 9px; border: 1px solid rgba(73, 85, 70, .1); border-radius: 12px; background: white; box-shadow: 0 9px 27px rgba(45, 54, 43, .09); }
.search-field { display: flex; min-width: 0; flex: 1; flex-direction: column; justify-content: center; gap: 3px; padding: 4px 16px 5px; }
.search-label { color: #859083; font-size: 8px; font-weight: 700; letter-spacing: 1.2px; }
.search-input-row { display: flex; align-items: center; gap: 8px; color: #a5ad9f; }
.search-input-row > span { font-size: 21px; line-height: 1; transform: rotate(-20deg); }
.search-input-row input { width: 100%; min-width: 0; padding: 2px 0; border: 0; outline: none; background: transparent; color: var(--ink); font-size: 12px; }
.search-input-row input::placeholder { color: #a8afa5; }
.search-divider { width: 1px; height: 38px; background: var(--line); }
.search-field--type { flex: 0 0 158px; }
.search-field--type select { width: 100%; padding: 3px 0; border: 0; outline: none; background: transparent; color: #414940; font-size: 12px; }
.search-submit { display: flex; align-items: center; justify-content: center; gap: 11px; align-self: stretch; padding: 0 17px; border: 0; border-radius: 8px; background: var(--green); color: var(--brand-primary-contrast); cursor: pointer; font-size: 11px; font-weight: 700; white-space: nowrap; transition: background .18s ease, transform .18s ease; }
.search-submit:hover { transform: translateY(-1px); background: var(--green-dark); }
.search-submit span:last-child { font-size: 16px; }
.hero-note { display: flex; align-items: center; gap: 13px; color: #7e857b; font-size: 10px; line-height: 1.55; }
.hero-note strong { color: #50594f; font-weight: 600; }
.avatar-stack { display: flex; padding-left: 5px; }
.avatar-stack i { display: grid; width: 27px; height: 27px; margin-left: -5px; place-items: center; border: 2px solid var(--paper); border-radius: 50%; background: #e4c5a9; color: #644e3e; font: 700 9px var(--sans); font-style: normal; }
.avatar-stack i:nth-child(2) { background: #d0d8c2; color: #526049; }
.avatar-stack i:nth-child(3) { background: #e8d4cc; color: #795c4d; }
.hero-art { position: relative; align-self: stretch; min-height: 450px; overflow: hidden; border-radius: 48% 48% 6px 6px; background: #e9efe4; }
.hero-sun { position: absolute; top: 11%; right: 19%; width: 88px; height: 88px; border-radius: 50%; background: #f6dca3; }
.hero-cloud { position: absolute; width: 53px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.57); }
.hero-cloud::before, .hero-cloud::after { position: absolute; bottom: 0; border-radius: 50%; background: inherit; content: ""; }
.hero-cloud::before { left: 12px; width: 20px; height: 20px; }
.hero-cloud::after { left: 27px; width: 14px; height: 14px; }
.hero-cloud--one { top: 20%; left: 15%; transform: scale(.8); }
.hero-cloud--two { top: 33%; right: 13%; transform: scale(.6); }
.hero-hill { position: absolute; right: -10%; bottom: -15%; width: 122%; height: 55%; border-radius: 50% 50% 0 0; }
.hero-hill--back { bottom: 7%; left: -37%; width: 105%; height: 38%; background: #b6c7a9; transform: rotate(-8deg); }
.hero-hill--front { background: #839d7e; }
.hero-house { position: absolute; z-index: 2; bottom: 23%; left: 34%; width: 42%; height: 38%; }
.house-roof { position: absolute; z-index: 2; top: 0; left: -8%; width: 116%; height: 49%; border-radius: 3px; background: #687b69; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.house-wall { position: absolute; right: 0; bottom: 0; left: 0; height: 59%; background: #f7f2e8; }
.house-window { position: absolute; top: 23%; width: 21%; height: 35%; border: 4px solid #d5b891; background: #a4bfba; }
.house-window--left { left: 11%; }
.house-window--right { right: 11%; }
.house-door { position: absolute; bottom: 0; left: 43%; width: 18%; height: 56%; background: #a97658; }
.house-step { position: absolute; right: 36%; bottom: -5px; width: 28%; height: 6px; background: #d4b999; }
.hero-tree { position: absolute; z-index: 2; bottom: 20%; width: 50px; height: 140px; }
.hero-tree--left { left: 17%; transform: scale(.8); }
.hero-tree--right { right: 15%; transform: scale(1.05); }
.hero-tree i { position: absolute; left: 0; width: 47px; height: 55px; border-radius: 50%; background: #6f8d70; }
.hero-tree i:nth-child(1) { top: 0; left: 8px; width: 31px; height: 42px; background: #809c7b; }
.hero-tree i:nth-child(2) { top: 18px; left: 0; }
.hero-tree i:nth-child(3) { top: 25px; left: 16px; width: 42px; height: 48px; background: #628063; }
.hero-tree span { position: absolute; top: 63px; left: 24px; width: 9px; height: 70px; background: #907352; }
.hero-sticker { position: absolute; z-index: 3; top: 39%; right: 4%; display: flex; align-items: center; gap: 9px; padding: 11px 14px 11px 10px; border: 1px solid rgba(81, 101, 77, .08); border-radius: 6px; background: var(--surface); color: var(--brand-primary); box-shadow: 0 7px 20px rgba(35,49,36,.1); transform: rotate(4deg); }
.hero-sticker > .fa-solid { color: var(--brand-secondary); font-size: 22px; }
.hero-sticker small { color: #657264; font: 9px/1.35 var(--sans); }
.hero-caption { position: absolute; z-index: 4; right: 0; bottom: 6%; left: 0; display: flex; align-items: center; justify-content: center; gap: 8px; color: rgba(255,255,255,.88); font-size: 8px; font-weight: 700; letter-spacing: 1.55px; }
.caption-dot { width: 5px; height: 5px; border-radius: 50%; background: #e9d69c; }
.stats-strip { display: flex; align-items: center; justify-content: center; gap: clamp(30px, 6vw, 91px); min-height: 100px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f8f8f4; }
.stats-strip > div { display: flex; flex-direction: column; gap: 2px; }
.stats-strip strong { color: #405444; font: 600 13px var(--display); }
.stats-strip span:not(.stats-separator) { color: #858c83; font-size: 10px; }
.stats-separator { width: 1px; height: 29px; background: #e2e5dc; }
.listing-section { width: min(1230px, calc(100% - 100px)); margin: 0 auto; padding: 98px 0 107px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 31px; }
.section-heading h2, .owner-banner h2 { margin: 12px 0 7px; font: 500 clamp(30px, 3.2vw, 39px)/1.2 var(--serif); letter-spacing: -.8px; }
.section-heading p, .owner-banner p { margin: 0; color: #838980; font-size: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #4b674d; font-size: 11px; font-weight: 700; }
.text-link:hover { color: #273c2a; }
.section-link { margin-bottom: 7px; }
.property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.property-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: box-shadow .2s ease, transform .2s ease; }
.property-card:hover { box-shadow: 0 14px 40px rgba(42,54,41,.1); transform: translateY(-3px); }
.property-photo { position: relative; display: grid; height: 226px; overflow: hidden; place-items: center; background: linear-gradient(145deg, #e6eadf, #d7e2d4 52%, #c7d4c2); }
.property-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.property-card:hover .property-photo img { transform: scale(1.035); }
.property-photo--empty { background: linear-gradient(145deg, #eff1e9, #d7e2d4 52%, #bdd0bd); }
.property-photo-count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; background: rgba(23,30,25,.58); color: #fff; font-size: 10px; font-weight: 700; backdrop-filter: blur(8px); }
.photo-mark { color: rgba(62,89,65,.56); font: 80px/1 var(--serif); }
.property-tag { position: absolute; top: 14px; left: 14px; padding: 6px 10px; border-radius: 4px; background: var(--surface); color: var(--brand-primary); font-size: 9px; font-weight: 700; letter-spacing: .15px; }
.property-card__body { padding: 17px 18px 13px; }
.property-price { color: #344b37; font: 700 19px/1.2 var(--display); letter-spacing: -.35px; }
.price-period { color: #888f86; font: 400 10px var(--sans); letter-spacing: 0; }
.property-title { display: block; overflow: hidden; margin-top: 7px; color: #313a33; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.property-title:hover { color: var(--green); }
.property-location { margin: 2px 0 14px; color: #858b83; font-size: 10px; }
.property-facts { display: flex; gap: 17px; padding: 11px 0; border-top: 1px solid #f0f0eb; color: #686f67; font-size: 10px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; min-height: 35px; border-top: 1px solid #f0f0eb; }
.property-type { color: #92988f; font-size: 9px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 27px; color: #828980; font-size: 11px; }
.pagination a { color: #456149; font-weight: 700; }
.pagination a:hover { color: #283f2c; }
.card-footer form { display: flex; }
.save-button { display: grid; width: 29px; height: 29px; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #778175; cursor: pointer; font: 21px/1 var(--sans); transition: color .18s ease, background .18s ease; }
.save-button:hover, .save-button.is-saved { background: #f7ece9; color: #b7685f; }
.empty-state { display: flex; min-height: 290px; flex-direction: column; align-items: center; justify-content: center; padding: 48px 20px; border: 1px dashed #dfe4db; border-radius: 12px; background: #f9faf6; text-align: center; }
.empty-icon { display: grid; width: 52px; height: 52px; margin-bottom: 13px; place-items: center; border-radius: 50%; background: #edf2e9; color: #5d785c; font: 27px var(--serif); }
.empty-state h3 { margin: 5px 0; font: 500 25px var(--serif); }
.empty-state > p { max-width: 390px; margin: 5px 0 20px; color: #7f877c; font-size: 12px; }
.owner-banner { position: relative; display: grid; grid-template-columns: 85px 1fr 190px; align-items: center; width: min(1230px, calc(100% - 100px)); min-height: 264px; margin: 0 auto 100px; padding: 38px 62px; overflow: hidden; border-radius: 12px; background: #eff2e9; }
.owner-banner__mark { display: grid; width: 60px; height: 60px; place-items: center; border: 1px solid #d2dbcc; border-radius: 50%; color: #577259; font: 30px var(--serif); }
.owner-banner__mark { border-color: color-mix(in srgb, var(--brand-secondary) 38%, var(--line)); color: var(--brand-secondary); }
.owner-banner h2 { margin: 9px 0; font-size: 34px; }
.owner-banner p { max-width: 415px; line-height: 1.8; }
.owner-banner .button { margin-top: 17px; }
.banner-art { position: relative; align-self: stretch; display: grid; place-items: center; color: rgba(91,119,87,.2); }
.banner-art::before { position: absolute; right: -115px; bottom: -162px; width: 310px; height: 310px; border: 1px solid rgba(98,126,92,.2); border-radius: 50%; content: ""; }
.banner-art::after { position: absolute; right: -75px; bottom: -122px; width: 230px; height: 230px; border: 1px solid rgba(98,126,92,.17); border-radius: 50%; content: ""; }
.banner-art span { position: relative; z-index: 1; margin: -15px 0 0 25px; font: 145px/.9 var(--serif); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 43px; padding: 0 17px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; font-size: 11px; font-weight: 700; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.button > span { font-size: 15px; }
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--green); color: var(--brand-primary-contrast); }
.button--primary:hover { background: var(--green-dark); }
.button--outline { border-color: #d9e0d5; background: transparent; color: #435b44; }
.button--outline:hover { border-color: #b9c9b6; background: #f0f4ee; }
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; width: min(1060px, calc(100% - 100px)); min-height: 640px; margin: 0 auto; padding: 73px 0 86px; }
.auth-aside { position: relative; min-height: 489px; padding: 49px 49px 0; overflow: hidden; border-radius: 12px 0 0 12px; background: #edf1e8; }
.auth-aside h1 { margin-top: 22px; font-size: 50px; }
.auth-aside > p { max-width: 320px; color: #737d70; font-size: 12px; line-height: 1.85; }
.auth-aside-art { position: absolute; right: 0; bottom: 0; left: 0; height: 206px; overflow: hidden; background: linear-gradient(#e5eee0 15%, #cadcc5 100%); }
.auth-aside-art::before, .auth-aside-art::after { position: absolute; bottom: -90px; width: 400px; height: 230px; border-radius: 50%; background: #a7c09e; content: ""; }
.auth-aside-art::before { left: -110px; }
.auth-aside-art::after { right: -130px; bottom: -110px; background: #859f80; }
.aside-sun { position: absolute; top: 20px; right: 81px; width: 53px; height: 53px; border-radius: 50%; background: #f2daa0; }
.aside-house { position: absolute; z-index: 1; bottom: 21px; left: 39%; color: #657f64; font: 900 125px/.9 "Font Awesome 6 Free"; }
.aside-leaf { position: absolute; z-index: 2; bottom: 0; left: 20%; width: 2px; height: 55px; background: #788e6e; transform: rotate(-18deg); }
.aside-leaf::before, .aside-leaf::after { position: absolute; width: 14px; height: 7px; border-radius: 100% 0 100% 0; background: #809675; content: ""; }
.aside-leaf::before { top: 14px; left: 0; transform: rotate(-25deg); }
.aside-leaf::after { top: 29px; right: 0; transform: rotate(12deg) scaleX(-1); }
.aside-leaf--two { left: 75%; height: 41px; transform: rotate(17deg); }
.auth-card { align-self: center; padding: 52px 65px; border: 1px solid #eceee7; border-left: 0; border-radius: 0 12px 12px 0; background: #fff; box-shadow: 0 15px 40px rgba(54,64,48,.045); }
.auth-card h2 { margin: 10px 0 3px; font: 500 34px var(--serif); letter-spacing: -.5px; }
.auth-intro { margin: 0 0 26px; color: #828980; font-size: 11px; }
.auth-form { display: flex; flex-direction: column; gap: 15px; }
.auth-submit { width: 100%; margin-top: 5px; }
.auth-switch { margin: 21px 0 0; color: #81877e; font-size: 11px; text-align: center; }
.auth-switch a { color: #49654a; font-weight: 700; }
.auth-layout--single { display: flex; max-width: 650px; min-height: 510px; align-items: center; justify-content: center; }
.auth-card--center { width: 100%; padding: 46px; border: 1px solid #eceee7; border-radius: 12px; }
.inline-action { margin-top: 12px; text-align: center; }
.inline-action .text-link { padding: 5px; border: 0; background: transparent; cursor: pointer; }
.moderation-list { display: flex; flex-direction: column; gap: 12px; }
.moderation-item { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border: 1px solid #e9ebe5; border-radius: 9px; background: #fff; }
.moderation-item h2 { margin: 6px 0 2px; font: 500 20px var(--serif); }
.moderation-item h2 a:hover { color: var(--green); }
.moderation-item p { margin: 0; color: #81887f; font-size: 10px; }
.moderation-status { display: inline-block; padding: 4px 8px; border-radius: 4px; background: #f2f0e6; color: #766444; font-size: 9px; font-weight: 700; text-transform: capitalize; }
.moderation-status--published { background: #edf4eb; color: #456149; }
.moderation-status--rejected, .moderation-status--archived { background: #f8eeeb; color: #93594f; }
.moderation-actions { display: flex; flex-shrink: 0; gap: 8px; }
.moderation-actions form { margin: 0; }
.moderation-actions .button { min-height: 36px; padding: 0 12px; font-size: 10px; }
.field { display: flex; flex-direction: column; gap: 7px; color: #434d43; font-size: 11px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #e4e7df; border-radius: 6px; outline: 0; background: #fff; color: #303a31; font-size: 12px; font-weight: 400; transition: border-color .15s ease, box-shadow .15s ease; }
.field input::placeholder, .field textarea::placeholder { color: #a4aaa1; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #91a48d; box-shadow: 0 0 0 3px rgba(106,139,103,.1); }
.field textarea { resize: vertical; line-height: 1.6; }
.form-page, .collection-page, .property-detail { width: min(1150px, calc(100% - 100px)); margin: auto; padding: 55px 0 100px; }
.back-link { display: inline-block; margin-bottom: 26px; color: #758074; font-size: 11px; }
.back-link:hover { color: var(--green); }
.form-page h1, .collection-heading h1 { margin: 13px 0 7px; font: 500 clamp(35px, 4vw, 47px)/1.15 var(--serif); letter-spacing: -1px; }
.form-lead, .collection-heading p { margin: 0; color: #828980; font-size: 12px; }
.form-card { margin-top: 27px; padding: 31px; border: 1px solid #e9ebe5; border-radius: 10px; background: #fff; }
.listing-form { max-width: 790px; margin: auto; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 21px; }
.field--wide { grid-column: 1 / -1; }
.field-note { color: #889084; font-size: 10px; font-weight: 400; }
.listing-form > .button { margin-top: 24px; }
.listing-form input[type="file"] { padding: 8px; }
.listing-photo-manager { gap: 9px; }
.field-label { color: #434d43; font-size: 11px; font-weight: 700; }
.existing-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin: 6px 0; }
.existing-photo { position: relative; display: flex; min-width: 0; flex-direction: column; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--muted); font-size: 9px; }
.existing-photo > img { width: 100%; height: 86px; border-radius: 5px; object-fit: cover; }
.existing-photo__cover { position: absolute; top: 10px; left: 10px; padding: 3px 6px; border-radius: 999px; background: rgba(20,28,22,.72); color: #fff; font-size: 8px; font-weight: 700; }
.existing-photo__remove { display: flex; align-items: center; gap: 4px; }
.existing-photo__remove input { width: auto !important; min-height: 0 !important; accent-color: #a3483f; }
.photo-preview--gallery { width: 100%; max-width: none; min-height: 90px; flex-wrap: wrap; align-items: stretch; justify-content: flex-start; }
.photo-preview--gallery > i { align-self: center; }
.new-photo-preview { display: flex; width: 112px; flex-direction: column; gap: 5px; margin: 0; color: var(--muted); font-size: 9px; }
.new-photo-preview img { width: 100%; height: 78px; border-radius: 6px; object-fit: cover; }
.new-photo-preview figcaption { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.collection-page { min-height: 650px; padding-top: 73px; }
.collection-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.collection-heading h1 { margin-bottom: 6px; }
.collection-heading .button { margin-bottom: 3px; }
.listing-delete-note { margin-top: 18px; color: #81877e; font-size: 11px; text-align: right; }
.listing-gallery { width: 100%; }
.listing-gallery__stage { position: relative; display: grid; height: clamp(300px, 48vw, 590px); overflow: hidden; place-items: center; border-radius: 14px; background: linear-gradient(145deg, #e8ede1, #d3dfcf 54%, #b8cbb6); }
.listing-gallery__image { display: block; width: 100%; height: 100%; object-fit: cover; }
.listing-gallery__arrow, .listing-gallery__expand { position: absolute; z-index: 1; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; background: rgba(20,27,22,.58); color: #fff; cursor: pointer; backdrop-filter: blur(8px); transition: background .18s ease, transform .18s ease; }
.listing-gallery__arrow:hover, .listing-gallery__expand:hover { transform: scale(1.05); background: rgba(20,27,22,.8); }
.listing-gallery__arrow--previous { top: 50%; left: 16px; transform: translateY(-50%); }
.listing-gallery__arrow--previous:hover { transform: translateY(-50%) scale(1.05); }
.listing-gallery__arrow--next { top: 50%; right: 16px; transform: translateY(-50%); }
.listing-gallery__arrow--next:hover { transform: translateY(-50%) scale(1.05); }
.listing-gallery__expand { top: 15px; right: 15px; width: 36px; height: 36px; }
.listing-gallery__counter { position: absolute; right: 16px; bottom: 16px; padding: 6px 10px; border-radius: 999px; background: rgba(20,27,22,.65); color: #fff; font-size: 10px; font-weight: 700; backdrop-filter: blur(8px); }
.listing-gallery__controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 1px 9px; color: var(--muted); font-size: 10px; }
.listing-gallery__controls > span, .listing-gallery__shuffle { display: inline-flex; align-items: center; gap: 7px; }
.listing-gallery__shuffle { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer; font-size: 10px; font-weight: 600; }
.listing-gallery__shuffle:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.listing-gallery__thumbs { display: flex; gap: 9px; overflow-x: auto; padding: 2px 1px 8px; scrollbar-width: thin; }
.listing-gallery__thumb { width: 100px; height: 68px; flex: 0 0 auto; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 7px; background: var(--surface-soft); cursor: pointer; opacity: .72; transition: border-color .18s ease, opacity .18s ease; }
.listing-gallery__thumb.is-active { border-color: var(--brand-primary); opacity: 1; }
.listing-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.listing-gallery--empty .listing-gallery__stage { background: linear-gradient(145deg, #e8ede1, #d3dfcf 54%, #b8cbb6); }
.listing-gallery__placeholder { color: rgba(62,89,65,.48); font-size: 110px; }
.listing-lightbox { position: fixed; width: min(96vw, 1440px); max-width: none; height: min(92vh, 920px); max-height: none; padding: 58px 72px 30px; overflow: hidden; border: 0; border-radius: 10px; background: #101411; color: white; }
.listing-lightbox::backdrop { background: rgba(8,12,9,.88); backdrop-filter: blur(5px); }
.listing-lightbox > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.listing-lightbox__close { position: absolute; top: 14px; right: 15px; z-index: 2; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.08); color: white; cursor: pointer; }
.listing-lightbox__counter { position: absolute; right: 50%; bottom: 15px; transform: translateX(50%); color: rgba(255,255,255,.78); font-size: 11px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 65px; padding-top: 36px; }
.detail-type { color: #748171; font-size: 10px; font-weight: 600; }
.detail-type span { padding: 0 5px; color: #c5c9c0; }
.detail-main h1 { margin: 8px 0 4px; font: 500 39px/1.18 var(--serif); letter-spacing: -.7px; }
.detail-address { margin: 0; color: #81887f; font-size: 12px; }
.detail-facts { display: flex; gap: 0; margin: 27px 0 31px; padding: 19px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-facts > div { display: flex; min-width: 120px; flex-direction: column; gap: 2px; padding: 0 25px; border-right: 1px solid var(--line); }
.detail-facts > div:first-child { padding-left: 0; }
.detail-facts > div:last-child { border-right: 0; }
.detail-facts strong { color: #3e5541; font: 600 20px var(--display); }
.detail-facts span { color: #878e84; font-size: 10px; }
.detail-subhead { margin: 0 0 9px; font: 500 23px var(--serif); }
.detail-description { margin: 0; color: #697168; font-size: 12px; line-height: 1.9; }
.contact-card { align-self: start; padding: 25px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 8px 28px rgba(42,54,41,.05); }
.contact-price { color: #344b37; font: 700 25px var(--display); }
.contact-price .price-period { font-size: 11px; }
.contact-caption { margin: 4px 0 19px; color: #899084; font-size: 10px; }
.contact-button { display: flex; width: 100%; margin-top: 10px; }
.contact-card form { margin-top: 8px; }
.contact-card form .contact-button { margin: 0; }
.contact-disclaimer { margin: 18px 0 0; padding-top: 15px; border-top: 1px solid #eff0eb; color: #8b9188; font-size: 9px; line-height: 1.7; }
.remove-listing { display: block; margin: 15px auto 0; padding: 5px; border: 0; background: transparent; color: #9a5b52; cursor: pointer; font-size: 10px; }
.remove-listing:hover { color: #77352c; text-decoration: underline; }
.page-empty { min-height: 60vh; border: 0; border-radius: 0; background: transparent; }
.page-empty h1 { margin: 5px 0; font: 500 40px var(--serif); }
.site-footer { display: flex; align-items: center; gap: 21px; min-height: 91px; padding: 20px max(50px, calc((100vw - 1230px)/2)); border-top: 1px solid var(--line); background: var(--surface-soft); }
.brand--footer { font-size: 19px; }
.brand--footer .brand-mark { width: 23px; height: 23px; border-radius: 7px 7px 7px 2px; font-size: 16px; }
.site-footer > p { margin: 0; color: #858b82; font-size: 10px; }
.footer-copy { margin-left: auto; color: #959b92; font-size: 9px; }

@media (min-width: 1450px) {
    .hero { min-height: 620px; }
    .hero-art { min-height: 500px; }
}
@media (max-width: 980px) {
    .site-header, .hero, .listing-section, .owner-banner, .form-page, .collection-page, .property-detail { width: calc(100% - 60px); }
    .main-nav { gap: 11px; }
    .hero { grid-template-columns: 1fr .88fr; gap: 18px; min-height: 510px; }
    .hero-copy { padding-left: 0; }
    .hero h1 { font-size: 58px; }
    .hero-art { min-height: 400px; }
    .search-panel { width: 113%; }
    .search-field { padding-right: 9px; padding-left: 9px; }
    .search-field--type { flex-basis: 135px; }
    .search-submit { gap: 7px; padding: 0 11px; }
    .property-grid { gap: 17px; }
    .property-photo { height: 190px; }
    .detail-layout { gap: 35px; }
    .detail-facts > div { min-width: 100px; padding: 0 17px; }
    .auth-layout { width: calc(100% - 60px); }
    .auth-card { padding: 42px 39px; }
}
@media (max-width: 720px) {
    .site-header { width: calc(100% - 36px); height: 70px; }
    .brand { font-size: 23px; }
    .menu-toggle { display: flex; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid #e4e7df; border-radius: 8px; background: transparent; cursor: pointer; }
    .menu-toggle span { width: 17px; height: 1.5px; background: #455749; transition: transform .15s ease; }
    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
    .main-nav { position: absolute; top: 61px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 16px 15px; border: 1px solid #e7e9e2; border-radius: 9px; background: #fff; box-shadow: var(--shadow); }
    .main-nav.is-open { display: flex; flex-direction: column; }
    .main-nav > a:not(.nav-publish), .nav-user, .nav-logout button { padding: 12px 3px; }
    .nav-user { max-width: none; }
    .nav-logout { margin: 0; }
    .nav-publish { justify-content: center; margin-top: 5px; }
    .hero, .listing-section, .owner-banner, .form-page, .collection-page, .property-detail { width: calc(100% - 36px); }
    .hero { display: flex; min-height: auto; flex-direction: column; align-items: stretch; gap: 27px; padding: 47px 0 32px; }
    .hero-copy { padding: 0; }
    .hero h1 { margin-top: 19px; font-size: clamp(53px, 12vw, 68px); }
    .hero-copy > p { max-width: 480px; font-size: 13px; }
    .search-panel { width: 100%; min-height: 69px; margin: 23px 0 18px; }
    .search-field { padding: 3px 8px; }
    .search-label { font-size: 7px; }
    .search-input-row input { font-size: 10px; }
    .search-input-row { gap: 4px; }
    .search-input-row > span { font-size: 17px; }
    .search-field--type { flex-basis: 104px; }
    .search-field--type select { font-size: 10px; }
    .search-submit { flex: 1 1 100%; min-height: 42px; justify-content: center; gap: 8px; padding: 0 11px; font-size: 10px; }
    .search-submit .fa-solid { font-size: 11px; }
    .hero-note { font-size: 9px; }
    .hero-art { min-height: 345px; border-radius: 42% 42% 5px 5px; }
    .hero-house { bottom: 23%; }
    .hero-tree--left { left: 12%; }
    .hero-tree--right { right: 11%; }
    .stats-strip { display: grid; grid-template-columns: 1fr 1fr; justify-items: center; gap: 0; padding: 17px 15px; }
    .stats-strip > div { width: 100%; padding: 11px 8px; text-align: center; }
    .stats-strip > div:last-child { grid-column: 1 / -1; }
    .stats-strip > div strong { font-size: 11px; }
    .stats-strip > div > span { font-size: 9px; }
    .stats-separator { display: none; }
    .listing-section { padding: 63px 0 70px; }
    .section-heading { align-items: flex-start; gap: 15px; }
    .section-heading h2 { font-size: 30px; }
    .section-heading p { max-width: 280px; font-size: 10px; }
    .section-link { margin-top: 21px; font-size: 10px; white-space: nowrap; }
    .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
    .property-photo { height: clamp(130px, 29vw, 205px); }
    .property-card__body { padding: 13px 12px 10px; }
    .property-price { font-size: 16px; }
    .property-title { font-size: 11px; }
    .property-location { font-size: 9px; }
    .property-facts { flex-wrap: wrap; gap: 8px 12px; font-size: 9px; }
    .property-tag { top: 9px; left: 9px; padding: 5px 7px; font-size: 8px; }
    .owner-banner { grid-template-columns: 48px 1fr; min-height: auto; margin-bottom: 65px; padding: 29px 22px; }
    .owner-banner__mark { width: 39px; height: 39px; font-size: 22px; }
    .owner-banner h2 { font-size: 28px; }
    .owner-banner p { position: relative; z-index: 1; max-width: 340px; font-size: 10px; }
    .owner-banner .eyebrow { font-size: 8px; }
    .banner-art { position: absolute; right: 0; bottom: 0; width: 150px; height: 100%; opacity: .6; }
    .banner-art span { font-size: 100px; }
    .button { min-height: 40px; font-size: 10px; }
    .auth-layout { display: flex; width: calc(100% - 36px); flex-direction: column; padding: 32px 0 60px; }
    .auth-aside { min-height: 310px; padding: 31px 28px; border-radius: 10px 10px 0 0; }
    .auth-aside h1 { margin: 14px 0 8px; font-size: 39px; }
    .auth-aside > p { max-width: 280px; font-size: 10px; }
    .auth-aside-art { height: 100px; }
    .aside-sun { top: 10px; right: 48px; width: 33px; height: 33px; }
    .aside-house { bottom: 4px; left: 52%; font-size: 100px; }
    .auth-card { padding: 33px 28px; border: 1px solid #eceee7; border-top: 0; border-radius: 0 0 10px 10px; }
    .auth-layout--single { min-height: 450px; padding: 40px 0 60px; }
    .auth-card--center { padding: 32px 24px; border: 1px solid #eceee7; border-radius: 10px; }
    .auth-card h2 { font-size: 30px; }
    .form-page, .collection-page, .property-detail { padding-top: 37px; padding-bottom: 65px; }
    .form-card { margin-top: 22px; padding: 23px 17px; }
    .form-grid { gap: 15px 12px; }
    .field { font-size: 10px; }
    .field input, .field select, .field textarea { min-height: 41px; padding: 9px; font-size: 11px; }
    .collection-page { min-height: 550px; }
    .collection-heading { align-items: flex-start; gap: 13px; }
    .collection-heading h1 { font-size: 35px; }
    .collection-heading p { max-width: 290px; font-size: 10px; }
    .collection-heading .button { flex-shrink: 0; padding: 0 10px; font-size: 9px; }
    .listing-gallery__stage { height: 300px; }
    .listing-lightbox { width: 100vw; height: 100dvh; padding: 58px 14px 28px; border-radius: 0; }
    .listing-lightbox .listing-gallery__arrow--previous { left: 12px; }
    .listing-lightbox .listing-gallery__arrow--next { right: 12px; }
    .detail-layout { grid-template-columns: 1fr; gap: 27px; padding-top: 24px; }
    .detail-main h1 { font-size: 33px; }
    .detail-facts { justify-content: space-between; }
    .detail-facts > div { min-width: 0; padding: 0 15px; }
    .detail-facts > div:first-child { padding-left: 0; }
    .detail-facts strong { font-size: 17px; }
    .contact-card { width: 100%; }
    .moderation-item { align-items: flex-start; flex-direction: column; padding: 15px; }
    .moderation-actions { flex-wrap: wrap; }
    .moderation-actions .button { min-height: 34px; }
    .site-footer { flex-wrap: wrap; gap: 10px 14px; min-height: 90px; padding: 19px 18px; }
    .site-footer > p { flex: 1; }
    .footer-copy { width: 100%; margin-left: 0; }
}
@media (max-width: 390px) {
    .hero h1 { font-size: 51px; }
    .search-field--type { flex-basis: 89px; }
    .search-submit { padding: 0 9px; }
    .property-grid { grid-template-columns: 1fr; }
    .property-photo { height: 205px; }
    .section-heading { flex-direction: column; }
    .section-link { align-self: flex-start; margin-top: 0; }
    .form-grid { grid-template-columns: 1fr; }
    .field--wide { grid-column: auto; }
    .collection-heading { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

html { scroll-padding-top: 24px; }
a, button, input, select, textarea { outline-color: var(--brand-primary); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand-primary) 45%, transparent); outline-offset: 3px; }
.main-nav .fa-solid, .main-nav .fa-regular { margin-right: 6px; }
.brand-settings-form { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; align-items: end; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.brand-settings-form .field { min-width: 0; }
.color-setting { display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.color-setting input[type="color"] { width: 34px; height: 30px; padding: 2px; border: 0; background: transparent; cursor: pointer; }
.color-setting code { color: var(--muted); font: 11px var(--sans); text-transform: uppercase; }
.admin-settings { margin: 36px 0; }
.admin-settings .collection-heading { margin-bottom: 15px; }
.admin-settings .collection-heading h2, .collection-heading h2 { margin: 0; font: 500 26px/1.2 var(--serif); letter-spacing: -.4px; }
.admin-overview { align-items: flex-start; }
.admin-section-heading { margin-top: 2rem; }
.admin-overview p { max-width: 720px; }
.photo-preview { display: none; width: min(100%, 520px); min-height: 110px; margin-top: 12px; overflow: hidden; align-items: center; gap: 14px; padding: 10px; border: 1px dashed var(--line); border-radius: 10px; background: var(--surface-soft); color: var(--muted); font-size: 11px; }
.photo-preview.is-visible { display: flex; }
.photo-preview > img { width: min(44%, 230px); height: 135px; flex: 0 0 auto; border-radius: 7px; object-fit: cover; }
.photo-preview > .fa-image { margin-left: 12px; color: var(--brand-primary); font-size: 24px; }
.photo-preview--error { border-color: #c8665a; color: #a54036; }
.photo-preview--error > img { display: none; }
.property-facts .fa-solid { margin-right: 3px; color: var(--brand-primary); }
.save-button .fa-heart { font-size: 16px; }
.empty-icon .fa-solid, .empty-icon .fa-regular { font-size: 20px; }
.contact-button .fa-solid, .button .fa-solid, .button .fa-regular { font-size: 12px; }
.detail-facts .fa-solid { margin-right: 6px; color: var(--brand-primary); font-size: 13px; }
.banner-art span .fa-solid { font: 900 145px/.9 "Font Awesome 6 Free"; }
.owner-banner__mark .fa-solid { font-size: 24px; }
.site-header { border-color: var(--line); }
.stats-strip { background: var(--surface-soft); }
.hero h1 em { color: var(--brand-primary); }
.button--outline { border-color: color-mix(in srgb, var(--brand-primary) 25%, var(--line)); color: var(--brand-primary); }
.button--outline:hover { border-color: var(--brand-primary); background: color-mix(in srgb, var(--brand-primary) 8%, var(--surface)); }
.property-price, .detail-facts strong, .contact-price { color: var(--brand-primary); }
.text-link, .pagination a { color: var(--brand-primary); }
.hero-note strong { color: var(--ink); }
.auth-card, .contact-card { background: var(--surface); }
.brand-settings-form input[type="text"] { width: 100%; }
.theme-toggle .fa-solid { margin: 0; }

html[data-theme="dark"] {
    color-scheme: dark;
    --ink: #edf1eb;
    --muted: #aeb8ad;
    --paper: #171c19;
    --surface: #202722;
    --surface-soft: #1c231e;
    --line: #343e36;
    --green-soft: #26332a;
    --brand-emphasis: color-mix(in srgb, var(--brand-primary) 48%, white);
    --shadow: 0 18px 50px rgba(0, 0, 0, .28);
}
html[data-theme="dark"] body,
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .stats-strip { background-color: var(--paper); color: var(--ink); }
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .stats-strip,
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .property-card,
html[data-theme="dark"] .auth-card,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .moderation-item,
html[data-theme="dark"] .brand-settings-form,
html[data-theme="dark"] .color-setting { border-color: var(--line); background-color: var(--surface); }
html[data-theme="dark"] .stats-strip { background-color: var(--surface-soft); }
html[data-theme="dark"] .main-nav { color: var(--muted); }
html[data-theme="dark"] .main-nav > a:not(.nav-publish):hover,
html[data-theme="dark"] .main-nav > a.active,
html[data-theme="dark"] .nav-logout button:hover { color: var(--brand-emphasis); }
html[data-theme="dark"] .nav-user,
html[data-theme="dark"] .nav-logout button,
html[data-theme="dark"] .site-footer > p,
html[data-theme="dark"] .footer-copy,
html[data-theme="dark"] .stats-strip strong,
html[data-theme="dark"] .property-title,
html[data-theme="dark"] .detail-subhead,
html[data-theme="dark"] .auth-card h2,
html[data-theme="dark"] .empty-state h3 { color: var(--ink); }
html[data-theme="dark"] .nav-publish,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .button--outline { border-color: var(--line); color: var(--ink); }
html[data-theme="dark"] .nav-publish:hover,
html[data-theme="dark"] .button--outline:hover { background: color-mix(in srgb, var(--brand-primary) 20%, var(--surface)); }
html[data-theme="dark"] .hero-copy > p,
html[data-theme="dark"] .section-heading p,
html[data-theme="dark"] .owner-banner p,
html[data-theme="dark"] .stats-strip span:not(.stats-separator),
html[data-theme="dark"] .property-location,
html[data-theme="dark"] .property-facts,
html[data-theme="dark"] .detail-address,
html[data-theme="dark"] .detail-description,
html[data-theme="dark"] .auth-intro,
html[data-theme="dark"] .auth-aside > p,
html[data-theme="dark"] .empty-state > p,
html[data-theme="dark"] .contact-caption,
html[data-theme="dark"] .field-note { color: var(--muted); }
html[data-theme="dark"] .hero h1 em,
html[data-theme="dark"] .property-price,
html[data-theme="dark"] .detail-facts strong,
html[data-theme="dark"] .contact-price,
html[data-theme="dark"] .text-link,
html[data-theme="dark"] .pagination a,
html[data-theme="dark"] .auth-switch a,
html[data-theme="dark"] .property-title:hover { color: var(--brand-emphasis); }
html[data-theme="dark"] .search-panel,
html[data-theme="dark"] .main-nav.is-open,
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea,
html[data-theme="dark"] .search-field--type select,
html[data-theme="dark"] .color-setting { background-color: var(--surface); color: var(--ink); }
html[data-theme="dark"] .field,
html[data-theme="dark"] .search-label,
html[data-theme="dark"] .eyebrow { color: var(--muted); }
html[data-theme="dark"] .search-input-row { color: var(--muted); }
html[data-theme="dark"] .search-input-row input::placeholder,
html[data-theme="dark"] .field input::placeholder,
html[data-theme="dark"] .field textarea::placeholder { color: #89968a; }
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea { border-color: var(--line); }
html[data-theme="dark"] .search-panel { border-color: var(--line); }
html[data-theme="dark"] .search-input-row input,
html[data-theme="dark"] .search-field--type select { color: var(--ink); }
html[data-theme="dark"] .property-facts,
html[data-theme="dark"] .card-footer,
html[data-theme="dark"] .detail-facts,
html[data-theme="dark"] .detail-facts > div,
html[data-theme="dark"] .contact-disclaimer { border-color: var(--line); }
html[data-theme="dark"] .owner-banner,
html[data-theme="dark"] .auth-aside { background: #222e26; }
html[data-theme="dark"] .auth-aside-art { background: linear-gradient(#253329 15%, #263a2d 100%); }
html[data-theme="dark"] .empty-state,
html[data-theme="dark"] .photo-preview,
html[data-theme="dark"] .notice--info { border-color: var(--line); background: var(--surface-soft); color: var(--ink); }
html[data-theme="dark"] .notice--success { border-color: #36543c; background: #202e23; color: #c2ddc5; }
html[data-theme="dark"] .notice--error { border-color: #653c37; background: #332321; color: #f0c4bd; }
html[data-theme="dark"] .property-tag { background: rgba(32, 39, 34, .94); color: #edf1eb; }
html[data-theme="dark"] .moderation-status { background: #3b3528; color: #e3d5af; }
html[data-theme="dark"] .moderation-status--published { background: #25382a; color: #c4dfc8; }
html[data-theme="dark"] .moderation-status--rejected,
html[data-theme="dark"] .moderation-status--archived { background: #3d2b28; color: #edc5bb; }
html[data-theme="dark"] .listing-gallery__stage { background: linear-gradient(145deg, #303a32, #26352c 54%, #1f2a23); }
html[data-theme="dark"] .listing-gallery__shuffle { background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .property-photo--empty { background: linear-gradient(145deg, #303a32, #26352c 54%, #1f2a23); }
html[data-theme="dark"] .hero-art { filter: saturate(.82) brightness(.72); }
html[data-theme="dark"] .hero-art::after { position: absolute; inset: 0; background: rgba(9, 17, 11, .2); content: ""; pointer-events: none; }
html[data-theme="dark"] .hero-sticker { filter: brightness(.9); }
html[data-theme="dark"] .menu-toggle { border-color: var(--line); color: var(--ink); }
html[data-theme="dark"] .menu-toggle .fa-solid { color: var(--ink); }

@media (max-width: 980px) {
    .brand-settings-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .main-nav .theme-toggle { justify-content: center; margin-top: 9px; }
    .menu-toggle .fa-solid { font-size: 15px; }
    .brand-settings-form { grid-template-columns: 1fr; padding: 17px; }
    .brand-settings-form > .button { width: 100%; }
    .photo-preview { align-items: flex-start; flex-direction: column; }
    .photo-preview > img { width: 100%; height: 190px; }
}

.search-field--kind { flex: 0 0 116px; }
.search-field--kind select { width: 100%; padding: 3px 0; border: 0; outline: none; background: transparent; color: #414940; font-size: 12px; }
.section-heading h1 { margin: 12px 0 7px; font: 500 clamp(30px, 3.2vw, 39px)/1.2 var(--serif); letter-spacing: -.8px; }
.save-search-form { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; padding: 16px 19px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.save-search-form > span { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.save-search-form > span i { color: var(--brand-primary); }
.saved-search-list { display: grid; gap: 12px; }
.saved-search-card { display: flex; align-items: center; gap: 15px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.saved-search-card__icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: var(--green-soft); color: var(--brand-primary); }
.saved-search-card > div { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.saved-search-card strong { color: var(--ink); font-size: 14px; }
.saved-search-card span:not(.saved-search-card__icon), .saved-search-card small { color: var(--muted); font-size: 11px; }
.inbox-page { width: min(1180px, calc(100% - 64px)); min-height: 620px; margin: auto; padding: 55px 0 90px; }
.inbox-layout { display: grid; min-height: 480px; grid-template-columns: minmax(250px, .75fr) minmax(0, 1.7fr); overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.inbox-threads { border-right: 1px solid var(--line); }
.inbox-thread { display: flex; min-width: 0; align-items: center; gap: 11px; padding: 14px; border-bottom: 1px solid var(--line); transition: background .16s ease; }
.inbox-thread:hover, .inbox-thread.is-active { background: var(--green-soft); }
.inbox-thread > img, .inbox-thread__image { display: grid; width: 48px; height: 44px; flex: 0 0 auto; place-items: center; border-radius: 7px; object-fit: cover; background: var(--surface-soft); color: var(--brand-primary); }
.inbox-thread > span:nth-child(2) { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.inbox-thread strong, .inbox-thread small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-thread strong { color: var(--ink); font-size: 12px; }
.inbox-thread small, .inbox-thread time { color: var(--muted); font-size: 10px; }
.inbox-thread time { font-size: 9px; }
.inbox-empty, .inbox-placeholder { display: flex; min-height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 25px; color: var(--muted); text-align: center; }
.inbox-empty > i, .inbox-placeholder > i { color: var(--brand-primary); font-size: 25px; }
.inbox-empty strong, .inbox-placeholder h2 { margin: 0; color: var(--ink); font: 500 23px var(--serif); }
.inbox-empty span, .inbox-placeholder p { max-width: 290px; margin: 0; font-size: 11px; }
.inbox-conversation { display: flex; min-width: 0; min-height: 480px; flex-direction: column; }
.inbox-conversation > header { padding: 17px 21px; border-bottom: 1px solid var(--line); }
.inbox-conversation > header > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.inbox-conversation > header strong { color: var(--ink); font-size: 13px; }
.inbox-conversation > header a { color: var(--brand-primary); font-size: 10px; }
.message-list { display: flex; flex: 1; flex-direction: column; gap: 12px; overflow-y: auto; padding: 20px; }
.message-bubble { max-width: min(82%, 520px); align-self: flex-start; padding: 11px 14px; border: 1px solid var(--line); border-radius: 3px 12px 12px; background: var(--surface-soft); }
.message-bubble--mine { align-self: flex-end; border-color: color-mix(in srgb, var(--brand-primary) 20%, var(--line)); border-radius: 12px 3px 12px 12px; background: var(--green-soft); }
.message-bubble > span { color: var(--muted); font-size: 9px; }
.message-bubble > p { margin: 5px 0 0; color: var(--ink); font-size: 12px; overflow-wrap: anywhere; }
.message-compose { display: flex; align-items: flex-end; gap: 10px; padding: 15px; border-top: 1px solid var(--line); }
.message-compose textarea { min-width: 0; flex: 1; resize: vertical; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); font-size: 12px; }
.property-message-form { padding: 14px 0 4px; border-top: 1px solid var(--line); }
.property-message-form .field { margin: 0 0 11px; }
.contact-verification-link { display: block; margin: 10px 0; font-size: 11px; }
.listing-report { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); }
.listing-report > summary { color: var(--muted); cursor: pointer; font-size: 11px; list-style: none; }
.listing-report > summary::-webkit-details-marker { display: none; }
.listing-report > summary .fa-regular { margin-right: 6px; }
.listing-report form { padding-top: 11px; }
.listing-report .field { margin-bottom: 10px; }
.listing-report > p { color: var(--muted); font-size: 11px; }
.listing-report > p a { color: var(--brand-primary); }
.admin-heading-actions { display: flex; align-items: center; gap: 12px; }
.admin-heading-actions .button { min-height: 37px; }
.admin-metric-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.admin-overview-grid--insights { margin-top: 18px; }
.admin-chart { display: flex; height: 175px; align-items: stretch; justify-content: space-around; gap: 12px; padding: 15px 10px 0; border-bottom: 1px solid var(--line); }
.admin-chart__column { display: flex; min-width: 22px; flex: 1; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; color: var(--muted); }
.admin-chart__column > span { font-size: 9px; }
.admin-chart__column > i { display: block; width: min(28px, 80%); min-height: 3px; border-radius: 5px 5px 0 0; background: var(--brand-primary); }
.admin-chart__column > small { padding-bottom: 8px; font-size: 9px; }
.admin-chart__bar--0 { height: 3px; }
.admin-chart__bar--10 { height: 10%; }
.admin-chart__bar--20 { height: 20%; }
.admin-chart__bar--30 { height: 30%; }
.admin-chart__bar--40 { height: 40%; }
.admin-chart__bar--50 { height: 50%; }
.admin-chart__bar--60 { height: 60%; }
.admin-chart__bar--70 { height: 70%; }
.admin-chart__bar--80 { height: 80%; }
.admin-chart__bar--90 { height: 90%; }
.admin-chart__bar--100 { height: 100%; }
.admin-city-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 15px; overflow: hidden; min-height: 43px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.admin-city-row strong { color: var(--ink); font-size: 12px; }
.admin-city-row__bar { position: absolute; bottom: 0; left: 0; height: 2px; background: color-mix(in srgb, var(--brand-primary) 45%, transparent); }
.admin-city-row__bar--10 { width: 10%; }.admin-city-row__bar--20 { width: 20%; }.admin-city-row__bar--30 { width: 30%; }.admin-city-row__bar--40 { width: 40%; }.admin-city-row__bar--50 { width: 50%; }.admin-city-row__bar--60 { width: 60%; }.admin-city-row__bar--70 { width: 70%; }.admin-city-row__bar--80 { width: 80%; }.admin-city-row__bar--90 { width: 90%; }.admin-city-row__bar--100 { width: 100%; }
.admin-panel--reports { margin-top: 18px; }
.admin-row--report { min-height: 65px; }
.admin-report-icon { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--brand-secondary) 15%, var(--surface)); color: var(--brand-secondary); }
.admin-report-card { padding: 18px 0; border-top: 1px solid var(--line); }
.admin-report-card:first-child { border-top: 0; }
.admin-report-card__heading, .admin-report-card__heading > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-report-card__heading > div { justify-content: flex-start; }
.admin-report-card__heading > div > a { color: var(--ink); font-size: 13px; font-weight: 700; }
.admin-report-card__heading time { color: var(--muted); font-size: 10px; }
.admin-report-card > p, .admin-report-note { margin: 8px 0; color: var(--muted); font-size: 11px; }
.admin-report-card blockquote { margin: 10px 0; padding: 11px 14px; border-left: 2px solid var(--brand-secondary); background: var(--surface-soft); color: var(--ink); font-size: 12px; overflow-wrap: anywhere; }
.admin-report-actions { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 9px; margin-top: 12px; }
.admin-report-actions .field { min-width: min(100%, 210px); flex: 1; }
.admin-report-actions .field input { min-height: 38px; }
.button--danger { border: 1px solid #b64f43; background: #b64f43; color: #fff; }
.button--danger:hover { background: #913d34; }

@media (max-width: 1100px) {
    .admin-metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
    .search-panel { flex-wrap: wrap; }
    .search-field--kind { flex: 1 1 130px; }
    .admin-heading-actions { align-items: flex-end; flex-direction: column; }
}
@media (max-width: 720px) {
    .search-panel { gap: 5px; }
    .search-field--kind { flex: 1 1 100%; padding-left: 16px; }
    .search-field--kind select { padding: 4px 0; }
    .save-search-form, .saved-search-card { align-items: flex-start; flex-direction: column; }
    .saved-search-card > form, .saved-search-card > form .button { width: 100%; }
    .inbox-page { width: calc(100% - 36px); padding-top: 36px; }
    .inbox-layout { grid-template-columns: 1fr; }
    .inbox-threads { max-height: 235px; overflow-y: auto; border-right: 0; border-bottom: 1px solid var(--line); }
    .inbox-conversation { min-height: 380px; }
    .admin-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-heading-actions { align-items: stretch; flex-direction: row; }
    .admin-report-card__heading { align-items: flex-start; flex-direction: column; }
    .admin-report-actions .button { flex: 1; }
}
@media (max-width: 430px) {
    .admin-metric-grid { grid-template-columns: 1fr; }
    .admin-heading-actions { flex-direction: column; }
    .message-compose { align-items: stretch; flex-direction: column; }
}

.admin-page { width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 55px 0 100px; }
.admin-page__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.admin-page__heading h1 { margin: 10px 0 5px; font: 500 clamp(34px, 4vw, 46px)/1.12 var(--serif); letter-spacing: -.8px; }
.admin-page__heading p { max-width: 650px; margin: 0; color: var(--muted); font-size: 13px; }
.admin-session-badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid color-mix(in srgb, var(--brand-primary) 20%, var(--line)); border-radius: 999px; background: var(--green-soft); color: var(--brand-primary); font-size: 10px; font-weight: 700; white-space: nowrap; }
.admin-tabs { display: flex; gap: 5px; margin-bottom: 22px; padding: 5px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.admin-tabs > a { display: inline-flex; min-height: 41px; align-items: center; gap: 9px; padding: 0 16px; border-radius: 7px; color: var(--muted); font-size: 12px; font-weight: 650; transition: background .18s ease, color .18s ease; }
.admin-tabs > a:hover { color: var(--brand-primary); background: var(--green-soft); }
.admin-tabs > a.is-active { background: var(--brand-primary); color: var(--brand-primary-contrast); }
.admin-tabs > a .fa-solid { font-size: 12px; }
.admin-tab-count { display: inline-grid; min-width: 19px; height: 19px; place-items: center; padding: 0 5px; border-radius: 999px; background: color-mix(in srgb, var(--brand-secondary) 22%, var(--surface)); color: var(--ink); font-size: 10px; }
.admin-tabs > a.is-active .admin-tab-count { background: rgba(255,255,255,.2); color: inherit; }
.admin-metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.admin-metric { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 19px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.admin-metric:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand-primary) 35%, var(--line)); box-shadow: var(--shadow); }
.admin-metric__icon { display: grid; width: 36px; height: 36px; margin-bottom: 16px; place-items: center; border-radius: 9px; background: var(--green-soft); color: var(--brand-primary); }
.admin-metric__icon .fa-solid { font-size: 14px; }
.admin-metric__label { color: var(--muted); font-size: 11px; font-weight: 600; }
.admin-metric > strong { margin-top: 3px; color: var(--ink); font: 700 30px/1.2 var(--display); letter-spacing: -.8px; }
.admin-metric__meta { margin-top: 7px; color: var(--muted); font-size: 10px; }
.admin-metric--attention { border-color: color-mix(in srgb, var(--brand-secondary) 48%, var(--line)); }
.admin-metric--attention .admin-metric__icon { background: color-mix(in srgb, var(--brand-secondary) 14%, var(--surface)); color: var(--brand-secondary); }
.admin-overview-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(270px, .85fr); gap: 18px; }
.admin-panel { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.admin-panel__heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.admin-panel__heading h2 { margin: 0; color: var(--ink); font: 500 24px/1.2 var(--serif); letter-spacing: -.3px; }
.admin-panel__heading p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.admin-panel__heading .text-link { flex-shrink: 0; }
.admin-panel__feature-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 11px; background: var(--green-soft); color: var(--brand-primary); font-size: 18px; }
.admin-row-list { display: flex; flex-direction: column; }
.admin-row { display: flex; min-width: 0; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.admin-row:first-child { border-top: 0; }
.admin-row__image { width: 54px; height: 46px; flex: 0 0 auto; border-radius: 7px; object-fit: cover; }
.admin-row__image--empty { display: grid; place-items: center; background: var(--green-soft); color: var(--brand-primary); }
.admin-row__image--empty .fa-solid { font-size: 17px; }
.admin-row__main { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.admin-row__main > a, .admin-row__main > strong { overflow: hidden; color: var(--ink); font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.admin-row__main > a:hover, .admin-user-email:hover { color: var(--brand-primary); }
.admin-row__main > span, .admin-row__main > a.admin-user-email { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-status-line { display: flex; align-items: center; gap: 12px; min-height: 53px; border-top: 1px solid var(--line); }
.admin-status-line:first-of-type { border-top: 0; }
.admin-status-line > strong { margin-left: auto; color: var(--ink); font: 700 17px var(--display); }
.admin-status-line > .fa-arrow-right { color: var(--muted); font-size: 11px; }
.admin-empty { display: flex; min-height: 126px; align-items: center; justify-content: center; gap: 15px; padding: 20px; border-top: 1px solid var(--line); color: var(--brand-primary); }
.admin-empty > .fa-solid { font-size: 21px; }
.admin-empty > div { display: flex; flex-direction: column; gap: 3px; }
.admin-empty strong { color: var(--ink); font-size: 12px; }
.admin-empty span { color: var(--muted); font-size: 10px; }
.admin-result-count { color: var(--muted); font-size: 11px; white-space: nowrap; }
.admin-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 13px; }
.admin-search { display: flex; min-width: min(100%, 270px); flex: 1; align-items: center; gap: 9px; min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--muted); }
.admin-search > .fa-solid { font-size: 12px; }
.admin-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 12px var(--sans); }
.admin-search input::placeholder { color: var(--muted); }
.admin-filter-select select { min-width: 150px; height: 42px; padding: 0 30px 0 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); font-size: 11px; }
.admin-filters .button { min-height: 42px; }
.admin-filters .button--outline { min-height: 42px; }
.admin-row--listing { align-items: center; }
.admin-row__title { display: flex; min-width: 0; align-items: center; gap: 9px; }
.admin-row__title > a, .admin-row__title > strong { overflow: hidden; color: var(--ink); font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.admin-row__title > a:hover { color: var(--brand-primary); }
.admin-row__date { font-size: 9px !important; }
.admin-row--listing .moderation-actions { flex-wrap: wrap; justify-content: flex-end; }
.admin-row--listing .moderation-actions .button { min-height: 34px; padding: 0 10px; }
.admin-row--user { gap: 14px; }
.admin-avatar { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--brand-primary); font: 700 14px var(--display); }
.admin-row--user .admin-row__main { flex-basis: 180px; }
.admin-row--user .moderation-actions { flex: 1 1 100%; flex-wrap: wrap; justify-content: flex-end; }
.account-verification { display: inline-flex; min-width: 96px; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; }
.account-verification.is-verified { color: var(--brand-primary); }
.account-verification.is-unverified { color: #a16c38; }
.account-status-badge { display: inline-flex; padding: 2px 7px; border-radius: 999px; background: #fbefeb; color: #994c3e; font-size: 9px; font-weight: 700; }
.admin-you-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; }
.admin-account-edit { position: relative; display: flex; flex: 1 1 100%; flex-wrap: wrap; gap: 8px; }
.admin-account-edit summary { display: inline-flex; min-height: 36px; align-items: center; gap: 6px; padding: 0 11px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); cursor: pointer; font-size: 10px; font-weight: 600; list-style: none; }
.admin-account-edit summary::-webkit-details-marker { display: none; }
.admin-account-edit form { display: flex; flex: 1 1 100%; flex-wrap: wrap; align-items: flex-end; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); }
.admin-account-edit label { display: flex; min-width: min(100%, 170px); flex: 1; flex-direction: column; gap: 4px; color: var(--muted); font-size: 10px; }
.admin-account-edit input, .admin-account-edit select { min-height: 36px; min-width: 0; padding: 6px 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); font-size: 11px; }
.admin-account-edit .button { min-height: 36px; }
.admin-local-link { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-soft); color: var(--brand-primary); }
.admin-local-link > div { display: flex; flex-direction: column; gap: 2px; }
.admin-local-link strong, .admin-local-link a { font-size: 11px; }
.admin-local-link a { overflow-wrap: anywhere; color: var(--brand-primary); text-decoration: underline; }
.admin-pagination { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.admin-pagination > div { display: flex; gap: 8px; }
.admin-pagination .button { min-height: 36px; }
.admin-branding-panel { width: 100%; max-width: none; }
.admin-branding-panel .brand-settings-form { grid-template-columns: 1.2fr 1fr 1fr; margin-top: 24px; padding: 0; border: 0; background: transparent; }
.admin-branding-panel .brand-settings-form > .button { grid-column: 1 / -1; justify-self: start; }
.admin-branding-panel .brand-logo-field { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(150px, 240px); align-items: center; gap: 18px; }
.admin-branding-panel .brand-logo-field .field { margin: 0; }
.admin-branding-panel .brand-logo-field input[type="file"] { padding: 7px; }
.brand-logo-preview { display: flex; min-height: 92px; align-items: center; justify-content: center; gap: 8px; padding: 12px; border: 1px dashed var(--line); border-radius: 8px; background: var(--surface-soft); color: var(--muted); font-size: 10px; }
.brand-logo-preview img { display: block; max-width: 100%; max-height: 100px; object-fit: contain; }
.brand-logo-preview .fa-regular { font-size: 16px; }
.brand-logo-remove { display: flex; grid-column: 1; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.brand-logo-remove input { accent-color: var(--brand-primary); }
.admin-security-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; padding: 13px 15px; border-radius: 8px; background: var(--surface-soft); color: var(--muted); }
.admin-security-note > .fa-solid { margin-top: 2px; color: var(--brand-primary); font-size: 13px; }
.admin-security-note p { margin: 0; font-size: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
html[data-theme="dark"] .admin-session-badge { background: color-mix(in srgb, var(--brand-primary) 22%, var(--surface)); color: var(--brand-emphasis); }
html[data-theme="dark"] .admin-metric--attention .admin-metric__icon { background: color-mix(in srgb, var(--brand-secondary) 17%, var(--surface)); }
html[data-theme="dark"] .account-verification.is-unverified { color: #e2b778; }
html[data-theme="dark"] .account-status-badge { background: #402c29; color: #f0b3a6; }

@media (max-width: 980px) {
    .admin-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-overview-grid { grid-template-columns: 1fr; }
    .admin-row--user { flex-wrap: wrap; }
    .admin-row--user .admin-row__main { flex-basis: calc(100% - 65px); }
    .admin-row--user .moderation-actions { margin-left: auto; }
}
@media (max-width: 720px) {
    .admin-page { width: calc(100% - 36px); padding: 38px 0 70px; }
    .admin-page__heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 20px; }
    .admin-tabs { overflow-x: auto; }
    .admin-tabs > a { flex: 0 0 auto; padding: 0 12px; }
    .admin-metric-grid { gap: 10px; }
    .admin-metric { padding: 14px; }
    .admin-metric__icon { width: 31px; height: 31px; margin-bottom: 10px; }
    .admin-metric > strong { font-size: 25px; }
    .admin-metric__meta { font-size: 9px; }
    .admin-panel { padding: 16px; }
    .admin-panel__heading { align-items: flex-start; }
    .admin-filters { align-items: stretch; }
    .admin-search, .admin-filter-select, .admin-filter-select select { width: 100%; }
    .admin-filters > .button { flex: 1; }
    .admin-row--listing { align-items: flex-start; flex-wrap: wrap; }
    .admin-row--listing .admin-row__main { flex-basis: calc(100% - 70px); }
    .admin-row--listing .moderation-actions { width: 100%; padding-left: 68px; }
    .admin-row--user .account-verification { margin-left: 56px; }
    .admin-row--user .moderation-actions { width: calc(100% - 56px); margin-left: 56px; }
    .admin-branding-panel .brand-settings-form { grid-template-columns: 1fr; }
    .admin-branding-panel .brand-settings-form > .button { grid-column: auto; justify-self: stretch; }
    .admin-branding-panel .brand-logo-field { grid-column: auto; grid-template-columns: 1fr; }
    .admin-pagination { align-items: flex-start; flex-direction: column; }
}

.admin-metric-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
html[data-theme="dark"] .message-compose textarea { border-color: var(--line); background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .admin-report-card blockquote { background: var(--surface-soft); color: var(--ink); }
@media (max-width: 1100px) {
    .admin-metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
    .admin-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 430px) {
    .admin-metric-grid { grid-template-columns: 1fr; }
}

@media (min-width: 721px) and (max-width: 1240px) {
    .site-header { position: sticky; }
    .menu-toggle { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; background: transparent; cursor: pointer; }
    .main-nav { position: absolute; top: 82px; right: 0; display: none; width: min(340px, calc(100vw - 60px)); max-height: calc(100vh - 105px); align-items: stretch; flex-direction: column; gap: 0; overflow-y: auto; padding: 8px 16px 15px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); box-shadow: var(--shadow); }
    .main-nav.is-open { display: flex; }
    .main-nav > a:not(.nav-publish), .nav-user, .nav-logout button { padding: 12px 3px; }
    .nav-user { max-width: none; }
    .nav-logout { margin: 0; }
    .nav-publish { justify-content: center; margin-top: 5px; }
    .main-nav .theme-toggle { justify-content: center; margin-top: 9px; }
}
