/* Shared Aqary brand palette. Loaded after page styles; public site only. */
.as-hero-motion{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.as-hero-motion__glow{position:absolute;width:75%;height:150%;top:-25%;left:-20%;background:radial-gradient(ellipse,#78dbb82b,transparent 65%);animation:aqary-glow 22s ease-in-out infinite alternate}
.as-hero-motion__ring{position:absolute;width:520px;height:520px;border:1px solid #78dbb829;border-radius:50%;left:-160px;top:-210px;box-shadow:0 0 0 45px #78dbb807,0 0 0 90px #78dbb806;animation:aqary-orbit 26s ease-in-out infinite alternate}
.as-hero-motion__ring--second{left:auto;right:-120px;top:120px;width:420px;height:420px;animation-delay:-13s;animation-direction:alternate-reverse}
.as-hero-motion-toggle{position:absolute;top:20px;inset-inline-end:24px;z-index:3;width:36px;height:36px;display:grid;place-items:center;border:1px solid #78dbb84d;border-radius:50%;background:#0b3033b3;color:#bdeedc;font-size:20px;cursor:pointer}
.as-hero-motion-toggle[hidden]{display:none}
.as-hero-motion-toggle:focus-visible{outline:3px solid #78dbb8;outline-offset:3px}
.as-hero:is(.is-motion-paused,.is-motion-offscreen) .as-hero-motion span{animation-play-state:paused}
@keyframes aqary-glow{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(70%,12%,0) scale(1.15)}}
@keyframes aqary-orbit{from{transform:translate3d(0,0,0) scale(.9)}to{transform:translate3d(65px,45px,0) scale(1.12)}}
@media(prefers-reduced-motion:reduce){.as-hero-motion span{animation:none}.as-hero-motion-toggle{display:none}}
:root,:root[data-theme="light"]{
 --brand-teal:#145554;--brand-mint:#78dbb8;
 --brand-bg:#f3f8f6;--brand-card:#ffffff;--brand-soft:#eaf4ef;
 --brand-ink:#164541;--brand-muted:#526e69;--brand-line:#d5e5de;
 --brand-action:#145554;--brand-hover:#0d4141;--brand-on-action:#ffffff;
 --brand-header:#f8fcfa;--brand-footer:#0c3033;
}
:root[data-theme="dark"]{
 color-scheme:dark;
 --brand-bg:#091e21;--brand-card:#102d30;--brand-soft:#173d3a;
 --brand-ink:#edf8f3;--brand-muted:#b1ccc3;--brand-line:#30504d;
 --brand-action:#78dbb8;--brand-hover:#a0e8cd;--brand-on-action:#103b35;
 --brand-header:#0c292c;--brand-footer:#071a1d;
}
:root[data-theme="light"]{color-scheme:light}
:root[data-theme]{--c-bg:var(--brand-bg);--c-bg-alt:var(--brand-soft);--c-bg-card:var(--brand-card);--c-bg-teal:var(--brand-soft);--c-surface:var(--brand-card);--c-text:var(--brand-ink);--c-text-2:var(--brand-ink);--c-muted:var(--brand-muted);--c-subtle:var(--brand-muted);--c-border:var(--brand-line);--c-border-l:var(--brand-line);--c-primary:var(--brand-action);--c-primary-dk:var(--brand-hover);--c-primary-lt:var(--brand-soft);--c-teal:var(--brand-teal);--c-teal-dk:var(--brand-footer);--c-accent:var(--brand-mint);--as-bg:var(--brand-bg);--as-surface:var(--brand-soft);--as-surface-card:var(--brand-card);--as-text-primary:var(--brand-ink);--as-text-secondary:var(--brand-muted);--as-text-muted:var(--brand-muted);--as-border:var(--brand-line);--as-accent:var(--brand-action);--as-primary:var(--brand-action);--property-bg:var(--brand-bg);--property-card:var(--brand-card);--property-soft:var(--brand-soft);--property-ink:var(--brand-ink);--property-muted:var(--brand-muted);--property-border:var(--brand-line);--property-brand:var(--brand-action);--sell-bg:var(--brand-bg);--sell-card:var(--brand-card);--sell-soft:var(--brand-soft);--sell-ink:var(--brand-ink);--sell-muted:var(--brand-muted);--sell-line:var(--brand-line);--sell-brand:var(--brand-action);--sell-hover:var(--brand-hover);--sell-on-brand:var(--brand-on-action);--filter-brand:var(--brand-action);--ring:0 0 0 3px #78dbb84d;--sh-green:0 4px 16px #14555424;--c-primary-md:#78dbb820;}
html[data-theme] .editorial-page{--ed-bg:var(--brand-bg);--ed-card:var(--brand-card);--ed-ink:var(--brand-ink);--ed-muted:var(--brand-muted);--ed-line:var(--brand-line);--ed-soft:var(--brand-soft);--ed-brand:var(--brand-action);}
html[data-theme] .about-page{--ab-bg:var(--brand-bg);--ab-card:var(--brand-card);--ab-ink:var(--brand-ink);--ab-muted:var(--brand-muted);--ab-line:var(--brand-line);--ab-soft:var(--brand-soft);--ab-accent:var(--brand-action);}
html[data-theme] .account-page{--account-bg:var(--brand-bg);--account-card:var(--brand-card);--account-ink:var(--brand-ink);--account-muted:var(--brand-muted);--account-line:var(--brand-line);--account-soft:var(--brand-soft);}
html[data-theme] .mp-page{--mp-bg:var(--brand-bg);--mp-card:var(--brand-card);--mp-ink:var(--brand-ink);--mp-muted:var(--brand-muted);--mp-line:var(--brand-line);--mp-soft:var(--brand-soft);}
html[data-theme] .as-contact{--contact-bg:var(--brand-bg);--contact-card:var(--brand-card);--contact-text:var(--brand-ink);--contact-muted:var(--brand-muted);--contact-line:var(--brand-line);--contact-tint:var(--brand-soft);--contact-field:var(--brand-bg);--contact-accent:var(--brand-action);}

html[data-theme] .as-nav-wrap{background:var(--brand-header);border-bottom-color:var(--brand-line);box-shadow:0 3px 16px #061e2110}
html[data-theme] :is(.as-nav__lang-menu,.as-nav__user-menu){background:var(--brand-card);border-color:var(--brand-line)}
html[data-theme] :is(.as-nav__link,.as-nav__lang-btn,.as-nav__user-btn,.as-nav__theme-btn,.as-nav__auth-link){color:var(--brand-ink)}
html[data-theme] .as-nav__link:hover,html[data-theme] .as-nav__link--active{color:var(--brand-action)}
html[data-theme] .public-footer{background:var(--brand-footer);border-top:1px solid #78dbb829}
html[data-theme] :is(.public-footer__tagline,.public-footer__links a,.public-footer__copy,.public-footer__lang-list a){color:#b9d2c9}
html[data-theme] .public-footer__col-title{color:#f1faf6}
html[data-theme] .public-footer a:hover{color:var(--brand-mint)}
html[data-theme] .public-footer__bottom{border-color:#78dbb82b}
html[data-theme] :is(.as-btn--primary,.as-nav__publish,.account-primary,.prf-form__btn--primary,.prf-action--primary,.sell-btn--primary,.sell-btn--success,.prl-modal__submit,.pd-comment-form__submit){background:var(--brand-action);border-color:var(--brand-action);color:var(--brand-on-action)}
html[data-theme] :is(.as-btn--primary,.as-nav__publish,.account-primary,.prf-form__btn--primary,.prf-action--primary,.sell-btn--primary,.sell-btn--success,.prl-modal__submit,.pd-comment-form__submit):hover{background:var(--brand-hover);border-color:var(--brand-hover);color:var(--brand-on-action)}
html[data-theme] :is(.as-btn--ghost,.as-btn--outline,.as-nav__auth-btn){background:var(--brand-soft);border-color:var(--brand-line);color:var(--brand-action)}
html[data-theme] :is(.as-btn--ghost,.as-btn--outline,.as-nav__auth-btn):hover{background:var(--brand-card);border-color:var(--brand-action);color:var(--brand-action)}
html[data-theme] :is(.lst-filters,.aqac-dropdown){background:var(--brand-card);border-color:var(--brand-line)}
html[data-theme] .aqac-item{color:var(--brand-ink)}
html[data-theme] :is(.aqac-item:hover,.aqac-item--active){background:var(--brand-soft)}
html[data-theme] .as-page-hero{background:linear-gradient(120deg,#145554,#0b3438)}
html[data-theme] .as-page-hero :is(h1,p){color:#edf8f3}
html[data-theme] :is(.account-role,.account-tip,.account-notice,.account-action__icon){background:var(--brand-soft);border-color:var(--brand-line);color:var(--brand-action)}
html[data-theme] :is(.account-eyebrow,.account-section-icon,.account-tip__icon,.account-tip a,.mp-eyebrow){color:var(--brand-action)}
@media(max-width:860px){html[data-theme] .as-nav__links{background:var(--brand-header);border-color:var(--brand-line)}}
html[data-theme] :is(.mp-primary,.lst-btn--primary){background:var(--brand-action);border-color:var(--brand-action);color:var(--brand-on-action)}
html[data-theme] :is(.mp-primary,.lst-btn--primary):hover{background:var(--brand-hover);border-color:var(--brand-hover);color:var(--brand-on-action)}
html[data-theme] :is(.lst-btn--ghost,.lst-pagination__btn){background:var(--brand-card);color:var(--brand-action);border-color:var(--brand-line)}
html[data-theme] .lst-pagination__btn:hover,html[data-theme] .pd-badge--sale{background:var(--brand-action);color:var(--brand-on-action)}
html[data-theme] .lst-filters{--filter-card:var(--brand-card);--filter-bg:var(--brand-soft);--filter-ink:var(--brand-ink);--filter-muted:var(--brand-muted);--filter-line:var(--brand-line);--filter-brand:var(--brand-action)}
html[data-theme] :is(.mp-overview__icon,.mp-empty__icon){background:var(--brand-soft);color:var(--brand-action)}
html[data-theme] :is(input,select,textarea){accent-color:var(--brand-action)}
html[data-theme] :is(.as-hero,.as-cta){background:linear-gradient(135deg,#0b3033,#145554)}
html[data-theme] .as-cta .as-btn--primary,html[data-theme] .as-hero .as-btn--primary{background:var(--brand-mint);border-color:var(--brand-mint);color:#103b35}
html[data-theme] .as-cta .as-btn--primary:hover,html[data-theme] .as-hero .as-btn--primary:hover{background:#a0e8cd;border-color:#a0e8cd;color:#103b35}
html[data-theme] .as-property-card__badge--purpose{background:var(--brand-action);color:var(--brand-on-action)}
.lst-filters .lst-btn{box-sizing:border-box;max-width:100%}
/* Editorial surfaces override the legacy navy dark-mode rules. */
/* Listings: separate the search panel, inputs and results with clear tones. */
:root[data-theme] .lst-filters{--filter-card:#fff;--filter-bg:#eaf4ef;--filter-ink:#164541;--filter-muted:#47655e;--filter-line:#8aa99e;--filter-brand:#145554;background:#eaf4ef;border-color:#aec9bf;box-shadow:0 6px 24px #1455540a}
:root[data-theme=dark] .lst-filters{--filter-card:#0c282b;--filter-bg:#1b4542;--filter-ink:#f0faf6;--filter-muted:#bed8cf;--filter-line:#60877e;--filter-brand:#78dbb8;background:#173d3a;border-color:#426c62;box-shadow:0 8px 28px #00141620}
:root[data-theme] .lst-filters__field label{color:var(--filter-ink);font-weight:500}
:root[data-theme] .lst-filters .search-select__icon{color:var(--filter-brand)}
:root[data-theme] .lst-filters .search-select__list{box-shadow:0 12px 30px #001e2440}
:root[data-theme] .lst-filters input:focus{border-color:var(--filter-brand);box-shadow:0 0 0 3px #78dbb84d}
:root[data-theme] .lst-card{background:var(--brand-card);border-color:var(--brand-line)}
:root[data-theme=dark] .lst-card{background:#123336;border-color:#42665f}
:root[data-theme] .lst-card__title{color:var(--brand-ink)}
:root[data-theme] :is(.lst-card__location,.lst-card__meta-item){color:var(--brand-muted)}
:root[data-theme] .lst-card__footer{background:var(--brand-soft);border-color:var(--brand-line)}
:root[data-theme] :is(.lst-card__price,.lst-card__view-btn){color:var(--brand-action);font-weight:600}
:root[data-theme] .lst-card__purpose{background:#103b35;color:#fff;border:1px solid #a8d6c3}
:root[data-theme] .lst-filters .lst-btn--ghost{background:var(--filter-card);border-color:var(--filter-line);color:var(--filter-ink)}
html[data-theme] .as-section--cities{background:var(--brand-card);border-block:1px solid var(--brand-line)}
/* Trust labels sit on a permanently dark hero in both themes. */
html[data-theme] .as-page-hero .sell-trust li{color:#edf8f3;font-size:13px;font-weight:500;opacity:1}
html[data-theme] .as-page-hero .sell-trust li i{color:#78dbb8;font-size:16px;opacity:1}
html[data-theme] .editorial-page{
 --card-bg-dark:var(--brand-card);--border-dark:var(--brand-line);
 --text-primary-dark:var(--brand-ink);--text-secondary-dark:var(--brand-muted);
 --bg-muted-dark:var(--brand-soft);--text-muted:var(--brand-muted);
}
html[data-theme] .editorial-page :is(.arls-card,.art-masthead,.art-body,.art-nav__card,.art-cmnts){background:var(--brand-card);border-color:var(--brand-line)}
html[data-theme] .editorial-page :is(.arls-card__title a,.arls-hero__title,.art-cmnts__title,.art-cmnts__login-title,.art-cmnts__form-username,.art-cmnt__name,.art-cmnt__text){color:var(--brand-ink)}
html[data-theme] .editorial-page :is(.arls-card__excerpt,.arls-card__date,.arls-hero__sub,.art-cmnts__sub,.art-cmnts__count,.art-cmnts__login-sub,.art-cmnts__note,.art-cmnt__time,.art-cmnts__empty){color:var(--brand-muted)}
html[data-theme] .editorial-page :is(.arls-card__img-placeholder,.art-cmnts__login-card,.art-cmnts__textarea){background:var(--brand-soft);color:var(--brand-ink);border-color:var(--brand-line)}
html[data-theme] .editorial-page .art-cmnts__textarea::placeholder{color:var(--brand-muted)}
html[data-theme] .editorial-page :is(.arls-card:hover,.art-nav__card:hover){border-color:var(--brand-action);box-shadow:0 6px 22px #14555418}
html[data-theme] .editorial-page :is(.arls-card__title a:hover,.arls-card__link,.art-cmnts__title i,.art-cmnts__note i){color:var(--brand-action)}
html[data-theme] .editorial-page :is(.art-cmnts__header,.art-cmnt){border-color:var(--brand-line)}
html[data-theme] .editorial-page :is(.art-cmnts__login-icon,.art-cmnts__form-avatar,.art-cmnt__avatar,.art-cmnts__login-btn,.art-cmnts__submit){background:var(--brand-action);color:var(--brand-on-action)}
html[data-theme] .editorial-page :is(.art-cmnts__login-btn:hover,.art-cmnts__submit:hover:not(:disabled)){background:var(--brand-hover);color:var(--brand-on-action)}
html[data-theme] .editorial-page :is(.art-cmnts__load-more,.arls-pagination__btn){background:var(--brand-card);color:var(--brand-action);border-color:var(--brand-line)}
html[data-theme] .editorial-page :is(.art-cmnts__load-more:hover,.arls-pagination__btn:hover){background:var(--brand-soft);border-color:var(--brand-action);color:var(--brand-action)}
html[data-theme] .editorial-page :is(.art-cmnts__skel-avatar,.art-cmnts__skel-row){background-image:linear-gradient(90deg,var(--brand-soft) 25%,var(--brand-card) 50%,var(--brand-soft) 75%)}
