@import url('/map-styles/theme-sync.css?v=20260918.5');
@import url('/brand/public-ui.css?v=20260918.3');
@import url('/brand/crystal.css?v=20260918.2');
/* Mulk Wallet public theme bridge — light first, dark optional. */
html[data-mh-shell="public"]{
  color-scheme:light;
  --bg:#f5f7f6;
  --panel:#ffffff;
  --surface:#ffffff;
  --surface-soft:#eef4f1;
  --line:#dce8e3;
  --text:#07172a;
  --muted:#52636a;
  --accent:#00c268;
  --accent-strong:#009f55;
  --accent-soft:#e7f8ef;
  --shadow:0 18px 55px rgba(14,43,31,.09);
}
html[data-mh-shell="public"][data-em-theme="dark"]{
  color-scheme:dark;
  --bg:#050b0b;
  --panel:#0b1716;
  --surface:#0d1b19;
  --surface-soft:#10231f;
  --line:#29453f;
  --text:#f4fbf8;
  --muted:#adc2ba;
  --accent:#00d985;
  --accent-strong:#13eba0;
  --accent-soft:#0b3327;
  --shadow:0 22px 70px rgba(0,0,0,.34);
}
html[data-mh-shell="public"] body{
  background:
    radial-gradient(circle at 82% -12%,rgba(0,194,104,.12),transparent 37rem),
    var(--bg)!important;
  color:var(--text)!important;
  transition:background-color .2s ease,color .2s ease;
}
html[data-mh-shell="public"] a{color:inherit}
html[data-mh-shell="public"] .topbar{
  position:sticky;
  top:0;
  z-index:100;
  min-height:72px;
  padding-block:12px;
  border-color:var(--line)!important;
  background:var(--panel)!important;
  background:color-mix(in srgb,var(--panel) 91%,transparent)!important;
  color:var(--text)!important;
  box-shadow:0 8px 30px rgba(22,58,43,.05);
  -webkit-backdrop-filter:blur(18px) saturate(145%);
  backdrop-filter:blur(18px) saturate(145%);
}
html[data-mh-shell="public"] .topbar nav a{color:var(--muted)}
html[data-mh-shell="public"] .topbar nav a:hover,
html[data-mh-shell="public"] .topbar nav a.active{color:var(--text)}
html[data-mh-shell="public"] .topbar nav a.active{border-color:var(--accent)}
html[data-mh-shell="public"] footer{color:var(--muted)!important}
html[data-mh-shell="public"] input:not([type="checkbox"]),
html[data-mh-shell="public"] select,
html[data-mh-shell="public"] textarea{
  border-color:var(--line)!important;
  background:var(--surface)!important;
  color:var(--text)!important;
  color-scheme:inherit;
}
html[data-mh-shell="public"] input::placeholder,
html[data-mh-shell="public"] textarea::placeholder{color:var(--muted)!important}
html[data-mh-shell="public"] .notice.success{background:#e4f8ed;color:#075e3a;border-color:#a9dfc2}
html[data-mh-shell="public"] .notice.error{background:#fff0f1;color:#8a2731;border-color:#efc3c7}
html[data-mh-shell="public"][data-em-theme="dark"] .notice.success{background:#0a4833;color:#b7ffe0;border-color:#1c7254}
html[data-mh-shell="public"][data-em-theme="dark"] .notice.error{background:#4b272b;color:#ffe0e3;border-color:#825057}

.mulk-theme-toggle{
  width:40px;
  height:40px;
  min-width:40px;
  min-height:40px;
  padding:0!important;
  display:inline-grid!important;
  place-items:center;
  flex:none;
  border:1px solid var(--line)!important;
  border-radius:12px!important;
  background:var(--surface-soft)!important;
  color:var(--text)!important;
  box-shadow:none!important;
  cursor:pointer;
}
.mulk-theme-toggle:hover{border-color:var(--accent)!important;color:var(--accent-strong)!important;filter:none!important}
.mulk-theme-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mulk-theme-toggle svg path:first-child{fill:currentColor;stroke:none}
.mulk-theme-toggle--floating{position:fixed;z-index:200;inset-block-start:16px;inset-inline-end:16px}
.languages,.flags{align-items:center}

/* Public project profile. Its map uses the shared light/dark theme bridge. */
html[data-em-theme="light"] .pp-app{background:transparent!important;color:var(--text)}
html[data-em-theme="light"] .pp-hero{border-color:#dce8e3;box-shadow:var(--shadow)}
html[data-em-theme="light"] .pp-tabs{border-color:var(--line);background:rgba(255,255,255,.92);box-shadow:0 8px 30px rgba(18,55,39,.07)}
html[data-em-theme="light"] .pp-tabs a{color:var(--muted)}
html[data-em-theme="light"] .pp-tabs a:hover{background:var(--accent-soft);color:#075b38}
html[data-em-theme="light"] .pp-panel{border-color:var(--line);background:var(--surface);box-shadow:var(--shadow)}
html[data-em-theme="light"] .pp-section-title p,
html[data-em-theme="light"] .pp-note,
html[data-em-theme="light"] .pp-price-card p,
html[data-em-theme="light"] .pp-range,
html[data-em-theme="light"] .pp-nearby-grid p,
html[data-em-theme="light"] .pp-nearby-grid small{color:var(--muted)}
html[data-em-theme="light"] .pp-note{background:var(--accent-soft)}
html[data-em-theme="light"] .pp-unit-card,
html[data-em-theme="light"] .pp-price-card,
html[data-em-theme="light"] .pp-gallery figure,
html[data-em-theme="light"] .pp-nearby-grid article{border-color:var(--line);background:var(--surface-soft)}
html[data-em-theme="light"] .pp-unit-facts span{background:#e1eee8;color:#36554a}
html[data-em-theme="light"] .pp-unit-description,
html[data-em-theme="light"] .pp-gallery figcaption{color:var(--muted)}
html[data-em-theme="light"] .pp-unit-price{border-color:#a8dfc1;background:#e3f7ec}
html[data-em-theme="light"] .pp-unit-price strong,
html[data-em-theme="light"] .pp-reference{color:#008d56}
html[data-em-theme="light"] .pp-nearby-icon{background:#d8f4e5;color:#00794a}

/* Public property listings. */
html[data-em-theme="light"] .ls-app{background:transparent!important;color:var(--text)}
html[data-em-theme="light"] .ls-app label,
html[data-em-theme="light"] .ls-muted,
html[data-em-theme="light"] .ls-heading p,
html[data-em-theme="light"] .ls-filter small,
html[data-em-theme="light"] .ls-facts,
html[data-em-theme="light"] .ls-price small{color:var(--muted)}
html[data-em-theme="light"] .ls-panel,
html[data-em-theme="light"] .ls-filter,
html[data-em-theme="light"] .ls-filter-box{border-color:var(--line);background:var(--surface);box-shadow:var(--shadow)}
html[data-em-theme="light"] .ls-card{border-color:var(--line);background:var(--surface);box-shadow:0 10px 34px rgba(18,55,39,.08)}
html[data-em-theme="light"] .ls-price{color:#008f59}
html[data-em-theme="light"] .ls-tag{background:#e2efe9;color:#254f40}
html[data-em-theme="light"] .ls-tag.sale{background:#00c982;color:#032c1f}
html[data-em-theme="light"] .ls-btn.secondary{border-color:#c8ddd4;background:#fff;color:#193d31!important}
html[data-em-theme="light"] .ls-no-photo{background:radial-gradient(ellipse,#dff4e9,#edf4f1)}
html[data-em-theme="light"] .ls-definition dt{color:var(--muted)}
html[data-em-theme="light"] .ls-app dialog{border-color:var(--line);background:var(--surface);color:var(--text)}

/* Public presentation profiles. Admin versions do not load this bridge. */
html[data-em-theme="light"] .pr-page{color:var(--text)}
html[data-em-theme="light"] .pr-panel{border-color:var(--line);background:var(--surface);box-shadow:var(--shadow)}
html[data-em-theme="light"] .pr-breadcrumb,
html[data-em-theme="light"] .pr-muted,
html[data-em-theme="light"] .pr-note,
html[data-em-theme="light"] .pr-heading p,
html[data-em-theme="light"] .pr-description-text,
html[data-em-theme="light"] .pr-facts dt,
html[data-em-theme="light"] .pr-analysis-controls label,
html[data-em-theme="light"] .pr-analysis-meta,
html[data-em-theme="light"] .pr-empty,
html[data-em-theme="light"] .pr-metric>span,
html[data-em-theme="light"] .pr-metric small,
html[data-em-theme="light"] .pr-timeline small,
html[data-em-theme="light"] .pr-rating-row small{color:var(--muted)}
html[data-em-theme="light"] .pr-tag{border-color:#c7ded4;background:#e6f5ed;color:#14613e}
html[data-em-theme="light"] .pr-tabs{border-color:var(--line)}
html[data-em-theme="light"] .pr-tabs button{color:var(--muted)}
html[data-em-theme="light"] .pr-tabs button:hover,
html[data-em-theme="light"] .pr-tabs button:focus{color:#008f59}
html[data-em-theme="light"] .pr-segment{border-color:var(--line);background:var(--surface-soft)}
html[data-em-theme="light"] .pr-segment button{color:var(--muted)}
html[data-em-theme="light"] .pr-metric,
html[data-em-theme="light"] .pr-photo-grid button,
html[data-em-theme="light"] .pr-plan-card,
html[data-em-theme="light"] .pr-timeline article{border-color:var(--line);background:var(--surface-soft);color:var(--text)}
html[data-em-theme="light"] .pr-details-card ul{color:var(--text)}
html[data-em-theme="light"] .pr-history,
html[data-em-theme="light"] .pr-history th,
html[data-em-theme="light"] .pr-history td,
html[data-em-theme="light"] .pr-rating-row{border-color:var(--line)}
html[data-em-theme="light"] .pr-history th{color:var(--muted)}
html[data-em-theme="light"] .pr-text-button{color:#008f59}

/* Sign-in, registration, support, legal and lightweight error pages. */
html[data-mh-shell="public"] body:not(.pp-app):not(.ls-app):not(.pr-native){background-color:var(--bg)!important}
html[data-em-theme="light"] .auth-card{border-color:var(--line);background:rgba(255,255,255,.96);color:var(--text);box-shadow:var(--shadow)}
html[data-mh-shell="public"] body>main.auth-card{max-width:980px;margin:clamp(24px,7vh,72px) auto;padding:clamp(24px,4vw,48px)}
html[data-em-theme="light"] .auth-scene{border-color:var(--line);box-shadow:var(--shadow)}
html[data-em-theme="light"] .muted{color:var(--muted)}
html[data-em-theme="light"] .flags a[aria-current=true]{border-color:#72d5a1;background:var(--accent-soft)}
html[data-em-theme="light"] .message{background:#e2f7eb;color:#075c38}
html[data-em-theme="light"] .message.error{background:#fff0f1;color:#8a2731;border-color:#efc3c7}
html[data-em-theme="light"] .hint{border-color:var(--line);background:var(--surface-soft)}
html[data-em-theme="light"] .auth-action{border-color:var(--line);background:var(--surface-soft);color:var(--text)}
html[data-em-theme="light"] .auth-action--primary,
html[data-em-theme="light"] .primary{border-color:#00bd70;background:linear-gradient(135deg,#12dc8d,#00ba68);color:#03261b}
html[data-em-theme="light"] .step,
html[data-em-theme="light"] .text-button{color:#008f59}

@media(max-width:760px){
  html[data-mh-shell="public"] .topbar{min-height:62px}
  .mulk-theme-toggle{width:38px;height:38px;min-width:38px;min-height:38px}
}
@media(prefers-reduced-motion:reduce){
  html[data-mh-shell="public"] body{transition:none}
}
