/* Shared Aqary brand palette. Loaded after page styles; public site only. */
/* Keep card favorites opposite the purpose badge, with a clear touch target. */
html[dir][data-theme] .as-fav-btn:not(.as-fav-btn--detail){left:auto;right:auto;inset-inline-start:12px;inset-inline-end:auto;top:12px;width:44px;height:44px;padding:0;box-sizing:border-box;display:grid;place-items:center;background:var(--brand-card);color:var(--brand-action);border:1px solid var(--brand-action);box-shadow:0 2px 10px #071a1d33;font-size:21px;line-height:1;backdrop-filter:none}
html[dir][data-theme] .as-fav-btn:not(.as-fav-btn--detail) i{display:flex;align-items:center;justify-content:center;line-height:1}
html[dir][data-theme] .as-fav-btn:not(.as-fav-btn--detail) i::before{display:block}
html[dir][data-theme] .as-fav-btn:not(.as-fav-btn--detail):is(:hover,.as-fav-btn--active){background:var(--brand-action);color:var(--brand-on-action)}
html[dir][data-theme] .as-fav-btn:not(.as-fav-btn--detail):focus-visible{outline:3px solid var(--brand-mint);outline-offset:3px}
html[dir] .lst-card__purpose{inset-inline-start:auto;inset-inline-end:12px;top:12px;max-width:calc(100% - 80px);box-sizing:border-box}
html[dir] .lst-card__badge{top:auto;bottom:12px;inset-inline-start:12px;inset-inline-end:auto;max-width:calc(100% - 24px);box-sizing:border-box}
.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)}
/* Shared dropdown density: include padding in row height on every public form. */
:root[data-theme] .search-select .search-select__option{
 box-sizing:border-box;min-height:36px;padding:8px 10px;margin:0;
 font-size:14px;line-height:20px;white-space:normal;text-align:start;
 border-inline-start:3px solid transparent;
}
:root[data-theme] .search-select .search-select__list{box-sizing:border-box;padding:4px;max-height:248px}
:root[data-theme] .search-select .search-select__empty{padding:10px;font-size:13px;line-height:20px}
@media (pointer:coarse){
 :root[data-theme] .search-select .search-select__option{min-height:44px;padding-block:12px}
}
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%)}
/* Compact mobile navigation and progressively enhanced search disclosure. */
.as-nav__mobile-settings{display:none}
.lst-filter-disclosure>summary{display:none}
@media(max-width:860px){
.as-nav{flex-wrap:nowrap!important;min-height:64px;height:64px!important;padding-block:8px;gap:12px}
.as-nav__logo{margin-inline-end:auto!important;flex-shrink:0}.as-nav__logo img{height:32px!important;max-width:115px;object-fit:contain}
.as-nav__right{width:auto!important;margin-inline-start:0!important;flex-wrap:nowrap!important;gap:8px;flex-shrink:0!important}
.as-nav__toggle,.as-nav__user-btn,.as-nav__auth-link{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center}
.as-nav__user-label,.as-nav__user-btn>.as-nav__dd-arrow{display:none}.as-nav__user-btn{font-size:20px;padding:8px}
.as-nav__links{max-height:calc(100dvh - 76px);overflow-y:auto;overscroll-behavior:contain}
.as-nav__mobile-settings{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px 0 6px;border-top:1px solid var(--c-border);margin-top:12px}
.as-nav__mobile-settings .as-nav__lang-menu{position:static;box-shadow:none;margin-top:8px}.as-nav__mobile-settings .as-nav__lang-dd.is-open{flex-basis:100%}
.as-nav__mobile-settings button,.as-nav__mobile-settings>a{min-height:44px}
.lst-filter-disclosure{margin-bottom:24px;border:1px solid var(--c-border);border-radius:14px;background:var(--c-bg-card);overflow:visible}
.lst-filter-disclosure>summary{display:flex;align-items:center;gap:10px;min-height:52px;padding:14px 18px;cursor:pointer;font-weight:600;list-style:none;color:var(--c-text)}
.lst-filter-disclosure>summary::-webkit-details-marker{display:none}.lst-filter-disclosure>summary>i:last-child{margin-inline-start:auto}.lst-filter-disclosure[open]>summary>i:last-child{transform:rotate(180deg)}
.lst-filter-disclosure>summary:focus-visible{outline:3px solid var(--c-primary);outline-offset:3px;border-radius:12px}
.lst-filter-disclosure .lst-filters{margin:0;border:0;border-top:1px solid var(--c-border);border-radius:0 0 14px 14px;box-shadow:none}
.lst-filter-disclosure .lst-filters__actions{display:flex;gap:10px}.lst-filter-disclosure .lst-filters__actions>*{flex:1;min-height:44px;justify-content:center}
}
.public-footer__ownership{font-size:.85rem;line-height:1.9;margin:16px 0 0;color:#c4ddd6;max-width:38ch}.public-footer__ownership a{color:#78dbb8;text-decoration:underline;text-underline-offset:4px}.public-footer__ownership a:hover{color:#d7f8eb}.public-footer__ownership a:focus-visible{outline:2px solid #78dbb8;outline-offset:4px;border-radius:3px}
/* Homepage search: grid prevents flex-basis from creating vertical gaps. */
.as-search-box{display:grid;grid-template-columns:minmax(220px,2fr) repeat(3,minmax(120px,1fr)) auto;align-items:end;gap:16px}
.as-search-box__field,.as-search-box__field--keyword{width:100%;min-width:0;flex:none}
.as-search-box__input,.as-search-box__select{min-height:48px;width:100%}
.as-search-box__select{appearance:auto;-webkit-appearance:auto;padding-inline-end:12px}
.as-search-box__btn{height:48px;min-width:110px;width:100%;justify-content:center}
.as-search-box__label{font-size:.8rem;line-height:1.5;letter-spacing:0;text-transform:none;color:var(--c-text)}
@media(min-width:601px) and (max-width:1050px){.as-search-box{grid-template-columns:repeat(3,minmax(0,1fr));padding:22px}.as-search-box__field--keyword{grid-column:span 2}.as-search-box__btn{align-self:end}}
@media(max-width:600px){.as-search-wrap{margin-top:0;padding-top:16px}.as-search-box{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;padding:18px;border-radius:16px}.as-search-box__field--keyword,.as-search-box__field:has(#as-search-city),.as-search-box__btn{grid-column:1/-1}.as-search-box__input,.as-search-box__select{font-size:16px;min-height:48px}.as-search-box__btn{min-height:48px;margin-top:2px}.as-search-box__field--keyword .aqac-dropdown{max-width:100%;max-height:260px;overflow-y:auto}}
@media(max-width:350px){.as-search-box{padding:14px;gap:14px}.as-search-box__field{grid-column:1/-1}}
/* Crawlable pagination, with direct first/last and neighboring page links. */
.lst-pagination{flex-wrap:wrap;gap:12px}.lst-pagination__numbers{display:flex;gap:6px;align-items:center}.lst-pagination__number{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:6px;border:1px solid var(--c-border);border-radius:9px;text-decoration:none;color:var(--c-text);background:var(--c-bg-card);font-variant-numeric:tabular-nums}.lst-pagination__number.is-current{background:var(--brand-action);color:var(--brand-on-action);border-color:var(--brand-action);font-weight:700}.lst-pagination__number:hover{border-color:var(--c-primary)}.lst-pagination__number:focus-visible{outline:3px solid var(--c-primary);outline-offset:3px}.lst-pagination__gap{padding-inline:2px}.lst-pagination__info{flex-basis:100%;order:4;text-align:center}
@media(max-width:600px){.lst-pagination__numbers{order:-1;flex-basis:100%;justify-content:center;gap:4px}.lst-pagination__number{min-width:40px}.lst-pagination__btn{min-height:44px}}
