/* ===== Хялбар Хууль palette (v103) =====
 | token            | light     | dark      | use                         |
 | --eh-bg          | #F8FAFC   | #071a2f   | page background             |
 | --eh-surface     | #FFFFFF   | #0c2440   | cards, panels               |
 | --eh-surface-2   | #F1F5F9   | #0f2a47   | inner panels, inputs        |
 | --eh-border      | #E2E8F0   | #1e3a5f   | borders, dividers           |
 | --eh-heading     | #082B50   | #F1F5F9   | h1-h6, titles               |
 | --eh-text        | #1E293B   | #CBD5E1   | body text                   |
 | --eh-muted       | #64748B   | #94A3B8   | secondary text              |
 | --eh-accent      | #E99A12   | #E99A12   | gold accents, links (dark)  |
 | --eh-primary     | #082B50   | #E99A12   | primary button bg           |
 | --eh-on-primary  | #FFFFFF   | #071a2f   | primary button text         |
 | --eh-chip-bg     | #FDF3E1   | rgba(233,154,18,.12) | gold pills       |
 | --eh-chip-tx     | #8A5A07   | #F2B54A   | gold pill text              |
 ========================================= */

/* ===== v87 Хялбар Хууль brand colours (brandbook 1.2: navy #082B50, gold #E99A12). Tokens only — no shape/layout/font changes. ===== */
:root, html:root {
  --brand-navy: #082B50; --brand-gold: #E99A12; --accent: #E99A12;
  --primary: #082B50 !important;
  --primary-dark-1: #061f3a; --primary-dark-2: #041628; --primary-dark-3: #e6edf5;
  --primary-light-1: #1d4a7a; --primary-light-2: #6f8fb3; --primary-light-3: #e6edf5;
  --primary-surface-medium: #0f3d6e; --primary-surface-high: #061f3a; --primary-surface-disabled: #b9c7d8;
  --gradient-1: #061f3a; --gradient-2: #082B50; --gradient-3: #1d4a7a;
  --button-primary-bg: #082B50; --button-primary-hover: #0f3d6e;
  --button-tertiary-bg: #edf1f6; --button-tertiary-hover: #e0e7f0;
  --border-primary: #082B50; --border-focus: #E99A12;
}
.dark, html.dark {
  --primary: #3a75b3 !important;
  --primary-dark-1: #2f6299; --primary-dark-2: #8fb3da; --primary-dark-3: #12324f;
  --primary-light-1: #5b8fc7; --primary-light-2: #2a5a8c; --primary-light-3: #12324f;
  --primary-surface-medium: #2f6299; --primary-surface-high: #1d4a7a;
  --gradient-1: #061f3a; --gradient-2: #0b2d52; --gradient-3: #1d4a7a;
  --background: #071a2f; --foreground: #f2f5f9; --text-muted: #a9b8cc;
  --card-bg: #0d2742; --card-bg-hover: #13335a; --card-opacity: #ffffff14;
  --border-tertiary: #1f3d61; --border-secondary: #2b4d75; --border-disabled: #2b4561;
  --border-primary: #E99A12; --border-focus: #E99A12;
  --secondary: #16304f;
  --button-primary-bg: #3a75b3; --button-primary-hover: #2f6299;
  --button-secondary-bg: #0f2a47; --button-secondary-hover: #16365a;
  --button-tertiary-bg: #12304f; --button-tertiary-hover: #1a3d63;
  --button-disabled: #2b4561;
}
:focus-visible { outline-color: #E99A12; }

/* v87b: dark-mode logo swap + readable brand-navy text in dark mode (colors only) */
.hb-logo-dark{display:none !important}
.dark .hb-logo-light{display:none !important}
.dark .hb-logo-dark{display:inline-block !important}
.dark [class*="text-[#082B50]"]{color:#9fc0e6 !important}
.dark [style*="color: #082B50"],.dark [style*="color:#082B50"]{color:#9fc0e6 !important}
header img[src*="ehuul-logo-"]{height:38px !important;max-height:none !important;width:auto !important}

/* v87d: dark-mode footer blends with page bg (no seam) */
.dark footer.bg-background,.dark footer.dark{background-color:#071a2f !important;border-top:0 !important;box-shadow:none !important}

img[src*="ehuul-logo-light.svg"]{height:43.5px !important}
header img[src*="ehuul-logo-light.svg"],img[src*="ehuul-logo-light.svg"]{height:43.5px !important}

.ant-input-prefix:has(.ehuul-search-ic){display:flex;align-items:center;color:#082B50}
html.dark .ant-input-prefix:has(.ehuul-search-ic){color:#F1F5F9}
/* v99 feature cards */
.ehv99-card{background:#082B50;border:1px solid rgba(233,154,18,.18);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.ehv99-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px -14px rgba(8,43,80,.55);border-color:rgba(233,154,18,.45)}
.ehv99-card-art{position:absolute;top:0;right:0;height:100%;width:62%;object-fit:cover;object-position:center;pointer-events:none;opacity:.9;transition:opacity .25s,transform .4s ease}
.ehv99-card::after{display:none}
.ehv99-card:hover .ehv99-card-art{opacity:1;transform:scale(1.03)}
html.dark .ehv99-card-art{opacity:.75}
.ehv99-card-rule{display:block;width:28px;height:2px;background:#E99A12;border-radius:2px}
.ehv99-card-sub{color:rgba(226,232,240,.78);font-size:13px;line-height:1.3}
.ehv99-card-btn{display:inline-flex;align-items:center;gap:8px;width:max-content;background:#E99A12;color:#082B50;font-weight:600;font-size:13px;line-height:1;padding:8px 14px;border-radius:9999px;transition:gap .2s,background .2s}
.ehv99-card:hover .ehv99-card-btn{gap:12px;background:#f2a92a}
html.dark .ehv99-card{background:#0c2542;border-color:rgba(233,154,18,.22)}
/* v99 quick-access chips */
.ehv99-chip{display:inline-flex;align-items:center;gap:9px;white-space:nowrap;padding:9px 16px 9px 14px;border-radius:9999px;background:#fff;color:#082B50;border:1px solid rgba(8,43,80,.28);transition:background .18s,color .18s,border-color .18s}
.ehv99-chip-dot{width:6px;height:6px;border-radius:50%;background:#E99A12;flex:none}
.ehv99-chip-arrow{opacity:.45;transition:transform .18s,opacity .18s}
a:hover>.ehv99-chip{background:#082B50;color:#fff;border-color:#082B50}
a:hover>.ehv99-chip .ehv99-chip-arrow{opacity:1;transform:translateX(2px);color:#E99A12}
html.dark .ehv99-chip{background:#0b2440;color:#E2E8F0;border-color:rgba(226,232,240,.22)}
html.dark a:hover>.ehv99-chip{background:#E99A12;color:#071a2f;border-color:#E99A12}
html.dark a:hover>.ehv99-chip .ehv99-chip-arrow{color:#071a2f}
/* v99 icon set: dark variants */
html.dark img[src$="/ehuul-v99/badge-consumer.svg"]{content:url(/images/ehuul-v99/dark/badge-consumer.svg)}
html.dark img[src$="/ehuul-v99/badge-cyber.svg"]{content:url(/images/ehuul-v99/dark/badge-cyber.svg)}
html.dark img[src$="/ehuul-v99/badge-debt.svg"]{content:url(/images/ehuul-v99/dark/badge-debt.svg)}
html.dark img[src$="/ehuul-v99/badge-doc.svg"]{content:url(/images/ehuul-v99/dark/badge-doc.svg)}
html.dark img[src$="/ehuul-v99/badge-family.svg"]{content:url(/images/ehuul-v99/dark/badge-family.svg)}
html.dark img[src$="/ehuul-v99/badge-gavel.svg"]{content:url(/images/ehuul-v99/dark/badge-gavel.svg)}
html.dark img[src$="/ehuul-v99/badge-inherit.svg"]{content:url(/images/ehuul-v99/dark/badge-inherit.svg)}
html.dark img[src$="/ehuul-v99/badge-labor.svg"]{content:url(/images/ehuul-v99/dark/badge-labor.svg)}
html.dark img[src$="/ehuul-v99/badge-law.svg"]{content:url(/images/ehuul-v99/dark/badge-law.svg)}
html.dark img[src$="/ehuul-v99/badge-property.svg"]{content:url(/images/ehuul-v99/dark/badge-property.svg)}
html.dark img[src$="/ehuul-v99/badge-scale.svg"]{content:url(/images/ehuul-v99/dark/badge-scale.svg)}
html.dark img[src$="/ehuul-v99/badge-traffic.svg"]{content:url(/images/ehuul-v99/dark/badge-traffic.svg)}
html.dark img[src$="/ehuul-v99/bell.svg"]{content:url(/images/ehuul-v99/dark/bell.svg)}
html.dark img[src$="/ehuul-v99/case.svg"]{content:url(/images/ehuul-v99/dark/case.svg)}
html.dark img[src$="/ehuul-v99/chat.svg"]{content:url(/images/ehuul-v99/dark/chat.svg)}
html.dark img[src$="/ehuul-v99/consult.svg"]{content:url(/images/ehuul-v99/dark/consult.svg)}
html.dark img[src$="/ehuul-v99/consumer.svg"]{content:url(/images/ehuul-v99/dark/consumer.svg)}
html.dark img[src$="/ehuul-v99/cyber.svg"]{content:url(/images/ehuul-v99/dark/cyber.svg)}
html.dark img[src$="/ehuul-v99/debt.svg"]{content:url(/images/ehuul-v99/dark/debt.svg)}
html.dark img[src$="/ehuul-v99/doc.svg"]{content:url(/images/ehuul-v99/dark/doc.svg)}
html.dark img[src$="/ehuul-v99/family.svg"]{content:url(/images/ehuul-v99/dark/family.svg)}
html.dark img[src$="/ehuul-v99/folder.svg"]{content:url(/images/ehuul-v99/dark/folder.svg)}
html.dark img[src$="/ehuul-v99/gavel.svg"]{content:url(/images/ehuul-v99/dark/gavel.svg)}
html.dark img[src$="/ehuul-v99/guide.svg"]{content:url(/images/ehuul-v99/dark/guide.svg)}
html.dark img[src$="/ehuul-v99/help.svg"]{content:url(/images/ehuul-v99/dark/help.svg)}
html.dark img[src$="/ehuul-v99/info.svg"]{content:url(/images/ehuul-v99/dark/info.svg)}
html.dark img[src$="/ehuul-v99/inherit.svg"]{content:url(/images/ehuul-v99/dark/inherit.svg)}
html.dark img[src$="/ehuul-v99/labor.svg"]{content:url(/images/ehuul-v99/dark/labor.svg)}
html.dark img[src$="/ehuul-v99/law.svg"]{content:url(/images/ehuul-v99/dark/law.svg)}
html.dark img[src$="/ehuul-v99/lawyer.svg"]{content:url(/images/ehuul-v99/dark/lawyer.svg)}
html.dark img[src$="/ehuul-v99/news.svg"]{content:url(/images/ehuul-v99/dark/news.svg)}
html.dark img[src$="/ehuul-v99/property.svg"]{content:url(/images/ehuul-v99/dark/property.svg)}
html.dark img[src$="/ehuul-v99/scale.svg"]{content:url(/images/ehuul-v99/dark/scale.svg)}
html.dark img[src$="/ehuul-v99/search.svg"]{content:url(/images/ehuul-v99/dark/search.svg)}
html.dark img[src$="/ehuul-v99/traffic.svg"]{content:url(/images/ehuul-v99/dark/traffic.svg)}
/* v100 lower sections */
:root{--ehN:#082B50;--ehG:#E99A12;--ehLine:rgba(8,43,80,.14);--ehCard:#fff;--ehMuted:#5b6b80;--ehGoldTx:#a86a00}
html.dark{--ehLine:rgba(226,232,240,.12);--ehCard:#0b2440;--ehMuted:#9fb0c4;--ehGoldTx:#E99A12}
/* section headings: short gold rule */
[data-testid^="v42-"] .h4-adineue{position:relative}
[data-testid="v42-issue-taxonomy"] h4.h4-adineue::after,[data-testid="v42-popular-journeys"] h4.h4-adineue::after,[data-testid="v42-cases-and-files"] h4.h4-adineue::after,[data-testid="v42-legal-news"] h4.h4-adineue::after,[data-testid="v42-trust-principles"] p.h4-adineue::after{content:"";display:block;width:28px;height:2px;background:var(--ehG);border-radius:2px;margin-top:8px}
[data-testid="v42-trust-principles"] p.h4-adineue::after{margin:8px auto 0}
/* "Бүгдийг үзэх" buttons */
[data-testid="v42-issue-taxonomy"] a>button,[data-testid="v42-popular-journeys"] a>button,[data-testid="v42-cases-and-files"] a>button,[data-testid="v42-legal-news"] a>button{background:transparent!important;border:1px solid rgba(8,43,80,.35)!important;color:var(--ehN)!important;transition:background .18s,color .18s}
[data-testid="v42-issue-taxonomy"] a>button::after,[data-testid="v42-popular-journeys"] a>button::after,[data-testid="v42-cases-and-files"] a>button::after,[data-testid="v42-legal-news"] a>button::after{content:"→";color:var(--ehG);margin-left:2px}
[data-testid="v42-issue-taxonomy"] a:hover>button,[data-testid="v42-popular-journeys"] a:hover>button,[data-testid="v42-cases-and-files"] a:hover>button,[data-testid="v42-legal-news"] a:hover>button{background:var(--ehN)!important;color:#fff!important}
html.dark [data-testid="v42-issue-taxonomy"] a>button,html.dark [data-testid="v42-popular-journeys"] a>button,html.dark [data-testid="v42-cases-and-files"] a>button,html.dark [data-testid="v42-legal-news"] a>button{color:#E2E8F0!important;border-color:rgba(226,232,240,.28)!important}
html.dark [data-testid^="v42-"] a:hover>button{background:var(--ehG)!important;color:#071a2f!important;border-color:var(--ehG)!important}
/* Хөтөч category cards */
[data-testid="v42-issue-taxonomy"] a.h-21{background:var(--ehCard)!important;border:1px solid var(--ehLine)!important;border-radius:10px!important;position:relative;overflow:hidden;transition:border-color .18s,box-shadow .18s}
[data-testid="v42-issue-taxonomy"] a.h-21::before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:2px;background:var(--ehG);border-radius:2px;opacity:0;transition:opacity .18s}
[data-testid="v42-issue-taxonomy"] a.h-21:hover{border-color:rgba(8,43,80,.45)!important;box-shadow:0 8px 20px -14px rgba(8,43,80,.5)}
[data-testid="v42-issue-taxonomy"] a.h-21:hover::before{opacity:1}
[data-testid="v42-issue-taxonomy"] a.h-21 .body-semibold{color:var(--ehN)!important}
html.dark [data-testid="v42-issue-taxonomy"] a.h-21 .body-semibold{color:#F1F5F9!important}
[data-testid="v42-issue-taxonomy"] a.h-21 .rounded-full{overflow:visible!important}
/* curve cards (Түгээмэл хөтөч, кейс, баримт): drop the tab shape */
.curve-card>div:first-child>div:first-child{background:transparent!important;border-color:transparent!important;padding-left:0!important}
.curve-card>div:first-child>svg{visibility:hidden}
.curve-card>div:first-child .bg-card-bg{background:rgba(233,154,18,.12)!important;color:var(--ehGoldTx)!important;border-radius:9999px!important;font-size:12px}
.curve-card .bg-green-500{background:var(--ehG)!important}
.curve-card>div:last-child{background:var(--ehCard)!important;border:1px solid var(--ehLine)!important;border-radius:12px!important;position:relative;transition:border-color .18s,box-shadow .18s}
.curve-card>div:last-child::before{content:"";position:absolute;left:-1px;top:16px;bottom:16px;width:2px;background:var(--ehG);border-radius:2px}
.curve-card:hover>div:last-child{border-color:rgba(8,43,80,.45)!important;box-shadow:0 10px 22px -16px rgba(8,43,80,.55)}
.curve-card>div:last-child .text-foreground:first-child{color:var(--ehN)}
html.dark .curve-card>div:last-child .text-foreground:first-child{color:#F1F5F9}
.curve-card>div:last-child>span.rounded-full{background:transparent!important;border:1px solid rgba(8,43,80,.3)!important;color:var(--ehN)!important;transition:background .18s,color .18s}
.curve-card:hover>div:last-child>span.rounded-full{background:var(--ehN)!important;color:var(--ehG)!important;border-color:var(--ehN)!important}
html.dark .curve-card>div:last-child>span.rounded-full{border-color:rgba(226,232,240,.3)!important;color:#E2E8F0!important}
html.dark .curve-card:hover>div:last-child>span.rounded-full{background:var(--ehG)!important;color:#071a2f!important;border-color:var(--ehG)!important}
/* news */
[data-testid="v42-legal-news"] .bg-red-500{background:var(--ehG)!important}
[data-testid="v42-legal-news"] .h-\[461px\]>div .absolute.inset-0{background:rgba(8,43,80,.82)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
[data-testid="v42-legal-news"] .h-\[461px\]{border:1px solid var(--ehLine)}
[data-testid="v42-legal-news"] .col-span-2 a>div{background:var(--ehCard)!important;border:1px solid var(--ehLine)!important;border-radius:10px!important;transition:border-color .18s,box-shadow .18s}
[data-testid="v42-legal-news"] .col-span-2 a:hover>div{border-color:rgba(8,43,80,.45)!important;box-shadow:0 8px 20px -14px rgba(8,43,80,.5)}
[data-testid="v42-legal-news"] .col-span-2 a>div img{border-radius:6px!important}
/* consult banner */
[data-testid="v42-professional-help"]>div:first-child{border:1px solid rgba(233,154,18,.25)}
[data-testid="v42-professional-help"] span.uppercase{background:transparent!important;border:1px solid rgba(233,154,18,.55);color:var(--ehG)!important;letter-spacing:.08em}
[data-testid="v42-professional-help"] button.bg-white{background:var(--ehG)!important;color:var(--ehN)!important}
[data-testid="v42-professional-help"] button.bg-white:hover{background:#f2a92a!important}
[data-testid="v42-professional-help"] button.bg-black\/30{background:transparent!important;border-color:rgba(255,255,255,.45)!important}
[data-testid="v42-professional-help"]>div.absolute>div{background:rgba(8,43,80,.75)!important;color:#fff!important;border:1px solid rgba(233,154,18,.4);box-shadow:none!important}
[data-testid="v42-professional-help"]>div.absolute>div .text-text-muted{color:rgba(255,255,255,.6)!important}
/* open data stats */
[data-testid="v42-trust-principles"] .ehuul-open-data-grid{border:1px solid var(--ehLine)!important;border-radius:12px;overflow:hidden;background:var(--ehCard)}
[data-testid="v42-trust-principles"] .ehuul-open-data-grid>a{border-color:var(--ehLine)!important}
[data-testid="v42-trust-principles"] .ehuul-open-data-grid>a:hover{background:rgba(233,154,18,.06)!important}
[data-testid="v42-trust-principles"] .h5-gilroy{color:var(--ehN)!important;font-variant-numeric:tabular-nums}
html.dark [data-testid="v42-trust-principles"] .h5-gilroy{color:#F1F5F9!important}
/* footer */
[data-testid="ehuul-v5-footer"]{background:#071a2f!important;border-top:2px solid var(--ehG)}
.ehv100-credits{font-size:11px;color:rgba(226,232,240,.55)}
.ehv100-credits a{color:rgba(226,232,240,.75);text-decoration:underline;text-underline-offset:2px}
.ehv100-credits a:hover{color:var(--ehG)}

/* v101 inner pages */
html.dark img[src$="/ehuul-v99/home.svg"]{content:url(/images/ehuul-v99/dark/home.svg)}
html.dark img[src$="/ehuul-v99/dash.svg"]{content:url(/images/ehuul-v99/dark/dash.svg)}
[data-test="df3-law-card"]{position:relative;overflow:hidden}
[data-test="df3-law-card"]::before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:#E99A12;opacity:0;transition:opacity .2s}
[data-test="df3-law-card"]:hover{border-color:#082B50 !important}
[data-test="df3-law-card"]:hover::before{opacity:1}
html.dark [data-test="df3-law-card"]:hover{border-color:#334155 !important}
.ehv101-pill{background:#FDF3E1 !important;color:#8A5A07 !important;border-radius:999px !important}
html.dark .ehv101-pill{background:rgba(233,154,18,.12) !important;color:#F2B54A !important}
.ehv101-banner{border-left:3px solid #E99A12;box-shadow:none !important}
.ehv101-banner a,.ehv101-banner button{background:#E99A12 !important;color:#071a2f !important;border:0 !important}
[data-testid="huuli-sidebar-categories"] button.bg-button-tertiary-bg{box-shadow:inset 2px 0 0 #E99A12}
[data-testid="huuli-sidebar-categories"] .bg-primary{background:#082B50 !important}
[data-test="df3-legal-index"] form[role="search"] button[type="submit"]{background:#082B50 !important}
html.dark [data-test="df3-legal-index"] form[role="search"] button[type="submit"]{background:#E99A12 !important;color:#071a2f !important}
[data-test="df3-legal-index"] form[role="search"] ~ div button:hover{border-color:#E99A12 !important;color:#082B50 !important}
html.dark [data-test="df3-legal-index"] form[role="search"] ~ div button:hover{color:#F2B54A !important}
html.dark .ant-float-btn,html.dark .ant-float-btn-body,html.dark .ant-float-btn-group .ant-float-btn-default .ant-float-btn-body{background:#0c2440 !important;border-color:#1e3a5f !important;color:#E2E8F0 !important}
html.dark .ant-float-btn{box-shadow:0 2px 8px rgba(0,0,0,.4) !important}

/* v102 inner pages common */
.ehv102-ic{display:inline-block;width:16px;height:16px;vertical-align:-3px;margin-right:2px}
:where(div:has(> [data-testid="ehuul-sidebar"])) .rounded-md.bg-button-tertiary-bg.text-primary,
:where(div:has(> [data-testid="ehuul-sidebar"])) .rounded-md.bg-primary\/10{background:#FDF3E1 !important;color:#8A5A07 !important;border-color:transparent !important;border-radius:999px !important}
html.dark :where(div:has(> [data-testid="ehuul-sidebar"])) .rounded-md.bg-button-tertiary-bg.text-primary,
html.dark :where(div:has(> [data-testid="ehuul-sidebar"])) .rounded-md.bg-primary\/10{background:rgba(233,154,18,.12) !important;color:#F2B54A !important}
html.dark .ehv101-pill{background:rgba(233,154,18,.12) !important;color:#F2B54A !important}
div:has(> [data-testid="ehuul-sidebar"]) :is(.rounded-2xl,.rounded-xl).border:not(form *):not(input){transition:border-color .2s,box-shadow .2s}
div:has(> [data-testid="ehuul-sidebar"]) a:is(.rounded-2xl,.rounded-xl).border:hover,
div:has(> [data-testid="ehuul-sidebar"]) div:is(.rounded-2xl,.rounded-xl).border:has(a):hover:not(:has(:is(.rounded-2xl,.rounded-xl).border)){border-color:#082B50 !important;box-shadow:inset 2px 0 0 #E99A12 !important}
html.dark div:has(> [data-testid="ehuul-sidebar"]) a:is(.rounded-2xl,.rounded-xl).border:hover,
html.dark div:has(> [data-testid="ehuul-sidebar"]) div:is(.rounded-2xl,.rounded-xl).border:has(a):hover:not(:has(:is(.rounded-2xl,.rounded-xl).border)){border-color:#334155 !important}
div:has(> [data-testid="ehuul-sidebar"]) :is(a,button).bg-primary{background:#082B50 !important;color:#fff !important}
html.dark div:has(> [data-testid="ehuul-sidebar"]) :is(a,button).bg-primary{background:#E99A12 !important;color:#071a2f !important}
[data-testid="ehuul-sidebar"] a[aria-current="page"]{box-shadow:inset 2px 0 0 #E99A12}

/* v103 dark fixes */
html.dark main [style*="#f8fafc"],html.dark main [style*="#ffffff"],html.dark main [style*="#fff;"],html.dark main [style*="rgb(255, 255, 255)"],html.dark main [style*="rgb(248, 250, 252)"],
html.dark div:has(> [data-testid="ehuul-sidebar"]) :is([style*="#f8fafc"],[style*="background-color: #ffffff"],[style*="background-color: rgb(255, 255, 255)"],[style*="background-color: rgb(248, 250, 252)"]):not(a,img){background-color:#0f2a47 !important}
html.dark div:has(> [data-testid="ehuul-sidebar"]) :is([style*="rgb(241, 245, 249)"],[style*="#f1f5f9"]){background-color:#0b2038 !important}
html.dark div:has(> [data-testid="ehuul-sidebar"]) :is([style*="color: #0f172a"],[style*="color: rgb(15, 23, 42)"],[style*="color: #082B50"]):not([style*="background-color: rgb(8, 43, 80)"]){color:#E2E8F0 !important}
html.dark div:has(> [data-testid="ehuul-sidebar"]) :is([style*="rgb(226, 232, 240)"],[style*="rgb(203, 213, 225)"]){border-color:#1e3a5f !important}
html.dark div:has(> [data-testid="ehuul-sidebar"]) :is(.bg-white,.bg-slate-50,.bg-slate-50\/80):not(img){background-color:#0f2a47 !important;color:#E2E8F0}
html.dark .h4-adineue,html.dark h1.h4-adineue{color:#F1F5F9 !important}
html.dark div:has(> [data-testid="ehuul-sidebar"]) .text-emerald-600{color:#34d399 !important}
html.dark div:has(> [data-testid="ehuul-sidebar"]) :is([style*="color: #1e293b"],[style*="color: #334155"],[style*="color: #475569"]){color:#CBD5E1 !important}
html.dark div:has(> [data-testid="ehuul-sidebar"]) :is([style*="color: rgb(30, 41, 59)"],[style*="color: rgb(51, 65, 85)"],[style*="color: rgb(71, 85, 105)"]){color:#CBD5E1 !important}

/* v103 dark tokens */
:root{--eh-bg:#F8FAFC;--eh-surface:#fff;--eh-surface-2:#F1F5F9;--eh-border:#E2E8F0;--eh-heading:#082B50;--eh-text:#1E293B;--eh-muted:#64748B;--eh-accent:#E99A12;--eh-primary:#082B50;--eh-on-primary:#fff;--eh-chip-bg:#FDF3E1;--eh-chip-tx:#8A5A07}
html.dark{--eh-bg:#071a2f;--eh-surface:#0c2440;--eh-surface-2:#0f2a47;--eh-border:#1e3a5f;--eh-heading:#F1F5F9;--eh-text:#CBD5E1;--eh-muted:#94A3B8;--eh-primary:#E99A12;--eh-on-primary:#071a2f;--eh-chip-bg:rgba(233,154,18,.12);--eh-chip-tx:#F2B54A}
html.dark body :is(h1,h2,h3,h4,h5,h6,.h4-adineue,[class*="h3-bold"],[class*="h4-bold"],[class*="h5-bold"]):not(.ehv101-pill):not([class*="text-white"]):not(:is(.bg-primary,[style*="rgb(8, 43, 80)"]) *){color:var(--eh-heading) !important}
html.dark body :is(.text-slate-900,.text-slate-800,.text-slate-700,.text-gray-900,.text-gray-800,.text-gray-700,.text-black,.text-\[\#082B50\],.text-\[\#0052B4\],.text-\[\#0f172a\]):not(:is(.bg-white,.bg-primary,[style*="rgb(8, 43, 80)"],button,.ehv101-pill) *):not(button){color:var(--eh-text) !important}
html.dark body :is(.text-slate-600,.text-slate-500,.text-gray-600,.text-gray-500){color:var(--eh-muted) !important}
html.dark body :is([style*="color: rgb(8, 43, 80)"],[style*="color: rgb(0, 82, 180)"],[style*="color: rgb(15, 23, 42)"],[style*="color: #082B50"],[style*="color: #0052B4"],[style*="color: #0f172a"]):not([style*="background-color: rgb(233"]):not([style*="background-color: #E99A12"]):not([style*="background-color: rgb(255"]):not([style*="background-color: #ffffff"]){color:var(--eh-heading) !important}
html.dark body main :is(.bg-white,.bg-slate-50,.bg-gray-50,.bg-slate-100,.bg-gray-100):not(img):not(.ehv101-pill):not(button):not(a){background-color:var(--eh-surface-2) !important}
html.dark body main :is(.border-slate-200,.border-gray-200,.border-slate-100,.border-gray-100){border-color:var(--eh-border) !important}
html.dark body :is(input,textarea,select):not([type=checkbox]):not([type=radio]):not([type=range]){background-color:var(--eh-surface-2);color:var(--eh-heading);border-color:var(--eh-border)}
html.dark body :is(input,textarea)::placeholder{color:var(--eh-muted)}

/* v104 header footer float */
.ehv104-hnav a[aria-label="Хайлт"],.ehv104-hnav a[aria-label="Мэдэгдэл"],.ehv104-hnav a[aria-label="Миний кэйс"],.ehv104-hnav a[aria-label="Зөвлөгөө"]{gap:6px !important;position:relative}
.ehv104-hnav a[aria-label] > img{width:34px !important;height:34px !important;padding:7px;margin:0 !important;border:1px solid var(--eh-border);border-radius:9px;background:var(--eh-surface);box-sizing:border-box;transition:border-color .2s !important;transform:none !important}
.ehv104-hnav a[aria-label]:hover > img{border-color:#E99A12;transform:none !important}
.ehv104-hnav a[aria-label] > .sub-semibold{font-size:12px;line-height:1;padding-bottom:3px;border-bottom:2px solid transparent;transition:border-color .2s}
.ehv104-hnav a[aria-label]:hover > .sub-semibold{border-bottom-color:#E99A12}
.ehv104-hnav button.h-9\!,.ehv104-hnav a.h-9\!{border-radius:9px !important;background:transparent !important;border:1px solid var(--eh-border) !important;color:var(--eh-heading) !important}
.ehv104-hnav button.h-9\!:hover,.ehv104-hnav a.h-9\!:hover{border-color:#E99A12 !important;background:transparent !important;color:var(--eh-heading) !important}
.ehv104-hnav [data-testid="header-my-workspace"] > div{background:#082B50 !important;border-color:#082B50 !important;box-shadow:0 0 0 1.5px #E99A12}
footer[data-testid="ehuul-v5-footer"] .ehv104-tagline{color:#94A3B8;font-size:13px;line-height:1.4;white-space:nowrap;margin-top:-8px !important}
footer[data-testid="ehuul-v5-footer"] li.body-semibold{color:#E99A12 !important;font-size:14px}
footer[data-testid="ehuul-v5-footer"] ul ul a{color:#B6C2D1 !important;transition:color .15s}
footer[data-testid="ehuul-v5-footer"] ul ul a:hover{color:#fff !important;text-decoration:underline !important;text-decoration-color:#E99A12 !important;text-underline-offset:4px}
footer[data-testid="ehuul-v5-footer"] a[href^="#app-"],footer[data-testid="ehuul-v5-footer"] a[href="#google-play"]{display:inline-flex;border:1px solid #1e3a5f;border-radius:9px;padding:3px;transition:border-color .2s}
footer[data-testid="ehuul-v5-footer"] a[href^="#app-"]:hover,footer[data-testid="ehuul-v5-footer"] a[href="#google-play"]:hover{border-color:#E99A12}
footer[data-testid="ehuul-v5-footer"] a[href^="#app-"] img,footer[data-testid="ehuul-v5-footer"] a[href="#google-play"] img{filter:grayscale(1) brightness(1.15);opacity:.9}
footer[data-testid="ehuul-v5-footer"] .ehv104-social a{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;border:1px solid #1e3a5f;border-radius:9px;transition:border-color .2s}
footer[data-testid="ehuul-v5-footer"] .ehv104-social a:hover{border-color:#E99A12}
footer[data-testid="ehuul-v5-footer"] .ehv104-social img{width:18px !important;height:18px !important}
.ant-float-btn,html.dark .ant-float-btn{background:#082B50 !important;border:1px solid #082B50 !important;border-radius:10px !important;box-shadow:0 2px 6px rgba(7,26,47,.18) !important;color:#E99A12 !important}
.ant-float-btn .ant-float-btn-body,html.dark .ant-float-btn .ant-float-btn-body{background:transparent !important;border-radius:10px !important}
.ant-float-btn:hover{background:#0c3866 !important}
html.dark .ant-float-btn{border-color:#1e3a5f !important}
.ant-float-btn img[src$="/ehuul-v99/doc.svg"]{content:url(/images/ehuul-v99/dark/doc.svg)}
.ant-float-btn img[src$="/ehuul-v99/chat.svg"]{content:url(/images/ehuul-v99/dark/chat.svg)}
.ant-float-btn img[src$="/ehuul-v99/help.svg"]{content:url(/images/ehuul-v99/dark/help.svg)}
.ant-float-btn svg{color:#E99A12 !important}
/* v104b */
html body footer[data-testid="ehuul-v5-footer"] ul > li.body-semibold.text-white{color:#E99A12 !important}
/* v105 header even */
.ehv104-hnav a[aria-label] > img,.ehv104-hnav a[aria-label] > .ant-badge{width:34px !important;height:34px !important;flex:0 0 34px;margin:0 !important;box-sizing:border-box;border:1px solid var(--eh-border);border-radius:9px;background:var(--eh-surface);transform:none !important}
.ehv104-hnav a[aria-label] > img{padding:7px}
.ehv104-hnav a[aria-label] > .ant-badge{display:inline-flex !important;align-items:center;justify-content:center;position:relative;transition:border-color .2s !important}
.ehv104-hnav a[aria-label] > .ant-badge > img{width:18px !important;height:18px !important;margin:0 !important}
.ehv104-hnav a[aria-label]:hover > .ant-badge{border-color:#E99A12}
.ehv104-hnav a[aria-label] > .ant-badge > sup.ant-badge-count{position:absolute !important;top:-7px !important;right:-7px !important;left:auto !important;transform:none !important;min-width:16px;height:16px;line-height:16px;padding:0 4px;font-size:10px;border-radius:8px;box-shadow:0 0 0 2px var(--eh-surface,#fff)}
.ehv104-hnav > div > div{padding-left:12px !important;padding-right:12px !important}
.ehv104-hnav a[aria-label] > .sub-semibold{white-space:nowrap;height:15px;line-height:12px !important}
.ehv105-ti{width:16px;height:16px;flex:0 0 16px;display:block;color:#082B50}
html.dark .ehv105-ti{color:#E99A12}
a:has(> .ehv105-ti){gap:6px !important;line-height:16px;padding-left:10px !important;padding-right:10px !important}
a:has(> .ehv105-ti) > .sub-medium{line-height:16px}
/* v105b */
.ehv104-hnav > div > div{padding-left:0 !important;padding-right:0 !important}
.ehv104-hnav a[aria-label="Хайлт"],.ehv104-hnav a[aria-label="Мэдэгдэл"],.ehv104-hnav a[aria-label="Миний кэйс"],.ehv104-hnav a[aria-label="Зөвлөгөө"]{width:86px}
/* v105c float footer */
.ant-float-btn,html.dark .ant-float-btn{background:#082B50 !important;border:1px solid rgba(255,255,255,.12) !important;border-radius:8px !important;box-shadow:0 1px 2px rgba(7,26,47,.2) !important;color:#fff !important}
.ant-float-btn img{filter:brightness(0) invert(1) !important}
.ant-float-btn svg,.ant-float-btn .anticon{color:#fff !important}
footer[data-testid="ehuul-v5-footer"] > div:first-child > div:first-child{justify-content:flex-start !important;gap:0 !important}
footer[data-testid="ehuul-v5-footer"] .ehv104-tagline{margin:8px 0 0 !important;color:#94A3B8;font-size:13px;line-height:18px}
footer[data-testid="ehuul-v5-footer"] > div:first-child > div:first-child > div.flex-row{margin-top:24px;gap:8px !important;align-items:center}
html body footer[data-testid="ehuul-v5-footer"] ul > li.body-semibold,html body footer[data-testid="ehuul-v5-footer"] ul > li.body-semibold.text-white{color:#F1F5F9 !important;font-size:14px !important;letter-spacing:0 !important;text-transform:none !important;line-height:20px;margin-bottom:14px !important}
footer[data-testid="ehuul-v5-footer"] ul ul li{margin-bottom:10px !important;line-height:20px}
footer[data-testid="ehuul-v5-footer"] ul ul a{color:#A3B1C2 !important}
footer[data-testid="ehuul-v5-footer"] ul ul a:hover{color:#fff !important;text-decoration:none !important}
footer[data-testid="ehuul-v5-footer"] > div:first-child > div.grid{column-gap:56px !important}
footer[data-testid="ehuul-v5-footer"] a[href^="#app-"],footer[data-testid="ehuul-v5-footer"] a[href="#google-play"]{border:0 !important;padding:0 !important;display:inline-flex;height:36px}
footer[data-testid="ehuul-v5-footer"] a[href^="#app-"] img,footer[data-testid="ehuul-v5-footer"] a[href="#google-play"] img{height:36px !important;width:auto !important;filter:none !important;opacity:1 !important;border-radius:6px;outline:1px solid rgba(255,255,255,.18);outline-offset:-1px}
footer[data-testid="ehuul-v5-footer"] .ehv104-social{gap:20px !important}
footer[data-testid="ehuul-v5-footer"] .ehv104-social a{width:auto !important;height:auto !important;border:0 !important;opacity:.75;transition:opacity .15s}
footer[data-testid="ehuul-v5-footer"] .ehv104-social a:hover{opacity:1}
footer[data-testid="ehuul-v5-footer"] .ehv104-social img{width:18px !important;height:18px !important;filter:brightness(0) invert(1)}
footer[data-testid="ehuul-v5-footer"] > div:last-child{border-top:1px solid rgba(255,255,255,.1) !important;padding:16px 0 !important;margin-top:8px}
footer[data-testid="ehuul-v5-footer"] > div:last-child p{color:#94A3B8 !important;font-size:13px}
/* v105d tagline */
footer[data-testid="ehuul-v5-footer"] .ehv104-tagline{white-space:normal !important;max-width:420px;line-height:1.6 !important;font-size:13.5px !important;margin-top:10px !important;text-wrap:pretty}
@media (max-width:767px){footer[data-testid="ehuul-v5-footer"] .ehv104-tagline{max-width:none;font-size:14px !important}}
/* v105b footer fit */
@media (min-width:768px){footer[data-testid="ehuul-v5-footer"] .ehv104-tagline{max-width:600px !important}}
@media (max-width:767px){footer[data-testid="ehuul-v5-footer"] > div:first-child > div.grid{grid-auto-flow:row !important;grid-template-columns:1fr 1fr !important;grid-template-rows:none !important;column-gap:20px !important;row-gap:28px !important;align-items:start}}
/* v105b2 nowrap */
@media (min-width:1280px){footer[data-testid="ehuul-v5-footer"] ul ul a,footer[data-testid="ehuul-v5-footer"] ul ul li{white-space:nowrap}footer[data-testid="ehuul-v5-footer"] > div:first-child > div.grid{column-gap:40px !important}footer[data-testid="ehuul-v5-footer"] .ehv104-tagline{max-width:540px !important}}
/* v109a shared restrained card */
.hl-grid{display:grid;grid-template-columns:1fr;gap:20px;align-items:stretch}
@media(min-width:768px){.hl-grid.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1280px){.hl-grid.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.hl-grid.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1024px){.hl-grid{gap:24px}}
.hl-card{display:flex;flex-direction:column;gap:8px;height:100%;padding:20px;background:var(--ehCard,#fff)!important;border:1px solid #E5E8EE!important;border-radius:12px!important;text-decoration:none!important;color:inherit;transition:border-color .18s,box-shadow .18s;position:relative;overflow:visible}
.hl-card::before,.hl-card::after{display:none!important}
.hl-card:hover{border-color:#082B50!important;box-shadow:0 4px 14px -8px rgba(8,43,80,.28)}
.hl-card__meta,.hl-meta{font-size:12px;line-height:16px;color:#6B7485;font-weight:500;letter-spacing:.01em}
.hl-meta{display:flex;flex-wrap:wrap}
.hl-meta>span+span::before{content:"·";margin:0 6px;color:#A0A7B4}
.hl-meta__on{color:#4F6B5A}.hl-meta__off{color:#8A6A4A}
.hl-card__meta b{font-weight:600;color:inherit}.hl-card__price{color:#B87400!important}
.hl-card__title{font-size:15px;line-height:22px;font-weight:600;color:#082B50;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:44px}
.hl-card__desc{font-size:13px;line-height:20px;color:#5B6474;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px}
.hl-card__link{margin-top:auto;padding-top:6px;display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:600;color:#082B50}
.hl-card__chev{transition:transform .18s}.hl-card:hover .hl-card__chev{transform:translateX(2px)}
.hl-card--list{gap:12px}
.hl-card--list>div:last-child{border-top:1px solid #EEF0F4;padding-top:12px;margin-top:auto}
.hl-card--list a.h6-bold{color:#082B50!important;font-size:16px;line-height:24px}
.ehv101-pill{background:transparent!important;padding:0!important;color:#6B7485!important;font-weight:500!important;border-radius:0!important}
@media(max-width:767px){.hl-grid{gap:12px}.hl-card{padding:16px}.hl-card__desc{min-height:0}}
html.dark .hl-card{background:#0c2542!important;border-color:#1E3A5C!important}
html.dark .hl-card:hover{border-color:#5B7FA8!important;box-shadow:0 4px 14px -8px rgba(0,0,0,.6)}
html.dark .hl-card__title,html.dark .hl-card__link,html.dark .hl-card--list a.h6-bold{color:#E8EEF5!important}
html.dark .hl-card__desc{color:#9AA8BA}html.dark .hl-card__meta,html.dark .hl-meta{color:#8496AB}
html.dark .hl-meta__on{color:#8FB39C}html.dark .hl-meta__off{color:#C9A27A}html.dark .hl-card__price{color:#E99A12!important}
html.dark .hl-card--list>div:last-child{border-top-color:#1E3A5C}
/* ===== v109a unified palette (overrides earlier tokens) =====
 light: primary #082B50 · text #1A2332 · muted #5B6676 · border #E5E8EE · surface #FFF / #F6F8FB · gold #E99A12 (primary CTA + logo only)
 dark : bg #071a2f · surface #0c2542 · text #E6ECF3 · muted #9AA8BA · border #1E3A5C */
:root,html:root{--eh-bg:#F6F8FB;--eh-surface:#FFFFFF;--eh-surface-2:#F6F8FB;--eh-border:#E5E8EE;--eh-heading:#082B50;--eh-text:#1A2332;--eh-muted:#5B6676;--eh-chip-bg:transparent;--eh-chip-tx:#5B6676;--text-muted:#5B6676;--border-tertiary:#E5E8EE;--button-tertiary-bg:#F6F8FB;--ehLine:#E5E8EE;--ehGoldTx:#5B6676}
html.dark{--eh-bg:#071a2f;--eh-surface:#0c2542;--eh-surface-2:#0f2a47;--eh-border:#1E3A5C;--eh-heading:#E6ECF3;--eh-text:#E6ECF3;--eh-muted:#9AA8BA;--eh-chip-bg:transparent;--eh-chip-tx:#9AA8BA;--text-muted:#9AA8BA;--border-tertiary:#1E3A5C;--ehLine:#1E3A5C;--ehGoldTx:#9AA8BA}
.text-text-muted,.text-muted-foreground,.text-tertiary{color:var(--eh-muted)!important}
/* status / tag pills -> plain muted text */
[class*="bg-emerald-50"],[class*="bg-green-50"],[class*="bg-amber-50"],[class*="bg-yellow-50"],[class*="bg-yellow-100"],[class*="bg-amber-100"],[class*="bg-emerald-100"],[class*="bg-green-100"],.ehv101-pill{background:transparent!important;box-shadow:none!important;border-color:transparent!important}
[class*="text-emerald-"],[class*="text-green-6"],[class*="text-green-7"]{color:#4F6B5A!important}
[class*="text-amber-"],[class*="text-yellow-"]{color:#8A6A4A!important}
html.dark [class*="text-emerald-"],html.dark [class*="text-green-6"],html.dark [class*="text-green-7"]{color:#8FB39C!important}
html.dark [class*="text-amber-"],html.dark [class*="text-yellow-"]{color:#C9A27A!important}
.curve-card>div:first-child .bg-card-bg{background:transparent!important;color:var(--eh-muted)!important;padding-left:0!important}
.curve-card>div:last-child::before{display:none!important}

/* v109a: no gradients, glows or coloured shadows anywhere */
[class*="bg-gradient-"],[class*="bg-linear-"],[class*="bg-radial-"],[class*="bg-conic-"]{background-image:none!important}
.ehv99-card-art{opacity:.32!important}
[class*="shadow-amber"],[class*="shadow-yellow"],[class*="shadow-emerald"],[class*="shadow-\[0_0_"]{box-shadow:none!important}
[class*="blur-2xl"],[class*="blur-3xl"]{display:none!important}
/* active filter toggles: navy, not gold */
[data-test="df3-status"] .bg-primary,[aria-pressed="true"].bg-\[\#E99A12\]{background:#082B50!important;color:#fff!important}
/* v109c: tags as plain text, neutral active states in dark */
.hl-tag{display:inline;background:transparent!important;border:0!important;padding:0!important;border-radius:0!important;font-size:12px;line-height:16px;font-weight:500;color:var(--eh-muted)!important}
.hl-tag+.hl-tag::before{content:"·";margin:0 6px;color:#A0A7B4}
.hl-tag--price{color:#B87400!important;font-weight:600}
html.dark .hl-tag--price{color:#E99A12!important}
html.dark :where(div:has(> [data-testid="ehuul-sidebar"])) .rounded-md.bg-primary\/10{background:transparent!important;color:var(--eh-muted)!important}
html.dark button.bg-primary.caption-semibold.rounded-lg,html.dark [data-testid="keis-pagination"] button.bg-primary,html.dark [data-testid="barimt-pagination"] button.bg-primary,html.dark nav[aria-label*="хуудаслалт"] .bg-primary{background:#1F4A7A!important;color:#fff!important;border-color:#2F5F94!important}
html.dark .bg-primary.text-white.rounded-full[class*="text-[11px]"]{background:#1F4A7A!important;color:#fff!important}

/* v109c: neutral header shadow */
[data-testid="portal-header"]{box-shadow:0 2px 32px 0 rgb(111 143 179 / .32)!important}
html.dark [data-testid="portal-header"]{box-shadow:0 2px 32px 0 rgb(42 90 140 / .32)!important}
/* v109c: case card rows */
.hl-rows{display:grid;grid-template-columns:64px 1fr;column-gap:12px;row-gap:6px;margin:4px 0 0;padding-top:12px;border-top:1px solid #EEF0F4;font-size:13px;line-height:20px}
.hl-rows dt{color:var(--eh-muted);font-weight:500;margin:0}
.hl-rows dd{margin:0;color:#1A2332;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hl-case__foot{margin-top:auto;padding-top:10px;display:flex;align-items:center;gap:10px;font-size:13px}
.hl-case__foot b{font-weight:600}.hl-case__free{color:var(--eh-muted)}
.hl-case__note{color:#082B50;font-weight:600}.hl-case__foot .hl-card__chev{margin-left:auto;color:#082B50}
.hl-card .hl-card__desc{min-height:0}
html.dark .hl-rows{border-top-color:#1E3A5C}html.dark .hl-rows dd{color:#E6ECF3}
html.dark .hl-case__note,html.dark .hl-case__foot .hl-card__chev{color:#E6ECF3}
/* v109c semantic tags (light / dark) */
:root{--tag-green:#2F6B4A;--tag-green-bg:rgba(47,140,90,.09);--tag-red:#9A3B3B;--tag-red-bg:rgba(180,60,60,.08);--tag-blue:#2C5A8C;--tag-blue-bg:rgba(44,90,140,.08);--tag-slate:#3F6470;--tag-slate-bg:rgba(63,100,112,.09);--tag-cat:#082B50}
html.dark{--tag-green:#8FCBA6;--tag-green-bg:rgba(143,203,166,.10);--tag-red:#E2A0A0;--tag-red-bg:rgba(226,160,160,.10);--tag-blue:#9CC0E8;--tag-blue-bg:rgba(156,192,232,.10);--tag-slate:#9FC3CC;--tag-slate-bg:rgba(159,195,204,.10);--tag-cat:#C9D7E8}
.hl-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:20px}
.hl-badge{display:inline-flex;align-items:center;height:20px;padding:0 6px;border-radius:4px;font-size:12px;line-height:20px;font-weight:600;border:0}
.hl-badge--free{color:var(--tag-green);background:var(--tag-green-bg)}
.hl-badge--off{color:var(--tag-red);background:var(--tag-red-bg)}
.hl-badge--form{color:var(--tag-blue);background:var(--tag-blue-bg)}
.hl-badge--file{color:var(--tag-slate);background:var(--tag-slate-bg)}
.hl-paid{font-size:13px;font-weight:700;color:#082B50}html.dark .hl-paid{color:#E6ECF3}
.hl-cat{font-size:12px;font-weight:600;color:var(--tag-cat)}
.hl-fmts{display:inline-flex;gap:4px;margin-left:auto}
.hl-fmt{display:inline-flex;align-items:center;height:18px;padding:0 5px;border-radius:4px;font-size:11px;font-weight:600;letter-spacing:.02em;border:1px solid currentColor;opacity:.85}
.hl-fmt--pdf{color:var(--tag-red)}.hl-fmt--docx,.hl-fmt--doc{color:var(--tag-blue)}.hl-fmt:not(.hl-fmt--pdf):not(.hl-fmt--docx):not(.hl-fmt--doc){color:var(--eh-muted)}
.hl-meta .hl-badge::before,.hl-meta .hl-cat+.hl-badge::before{content:none!important}
.hl-meta{align-items:center;gap:8px}.hl-meta>span+span::before{content:none}
.hl-meta>span:last-child:not(.hl-badge):not(.hl-cat){color:var(--eh-muted)}
.hl-card__price{color:#082B50!important;font-weight:700}html.dark .hl-card__price{color:#E6ECF3!important}
.hl-tag--price{color:#082B50!important;font-weight:700}html.dark .hl-tag--price{color:#E6ECF3!important}

/* v110 auth pages + login modal */
.ha-page{background:#F4F6F9;padding:48px 16px;min-height:calc(100vh - 180px);display:flex;align-items:flex-start;justify-content:center}
html.dark .ha-page{background:#0B1A2B}
.ha-card{width:100%;max-width:440px;background:#fff;border:1px solid #E5E8EE;border-radius:12px;padding:32px;display:flex;gap:32px}
.ha-card--side{max-width:720px}
html.dark .ha-card{background:#0F2236;border-color:#1F3A57}
.ha-main{flex:1;min-width:0;display:flex;flex-direction:column}
.ha-side{width:220px;flex:0 0 220px;display:flex;align-items:center;justify-content:center;padding-left:32px;border-left:1px solid #EEF1F5}
html.dark .ha-side{border-color:#1F3A57}
.ha-logo{display:inline-flex;margin-bottom:20px;text-decoration:none}
.ha-title{font-size:24px;line-height:32px;font-weight:700;color:#0F172A;margin:0}
html.dark .ha-title{color:#F1F5F9}
.ha-sub{font-size:14px;line-height:20px;color:#64748B;margin:4px 0 20px}
html.dark .ha-sub{color:#94A3B8}
.ha-seg{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:8px;background:#F1F4F8;margin-bottom:20px}
html.dark .ha-seg{background:#132A42}
.ha-seg button{height:36px;border:0;border-radius:6px;background:transparent;color:#475569;font-size:14px;font-weight:600;cursor:pointer}
.ha-seg button[aria-pressed="true"]{background:#fff;color:#082B50;box-shadow:0 0 0 1px #E5E8EE}
html.dark .ha-seg button{color:#94A3B8}
html.dark .ha-seg button[aria-pressed="true"]{background:#0F2236;color:#F1F5F9;box-shadow:0 0 0 1px #2C4A6B}
.ha-form{display:flex;flex-direction:column;gap:16px}
.ha-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ha-field{display:flex;flex-direction:column;gap:6px}
.ha-field label{font-size:14px;font-weight:600;color:#0F172A}
html.dark .ha-field label{color:#E2E8F0}
.ha-field-top{display:flex;justify-content:space-between;align-items:baseline}
.ha-input{height:44px;border:1px solid #CBD5E1;border-radius:8px;padding:0 12px;font-size:15px;color:#0F172A;background:#fff;outline:none;width:100%}
.ha-input:focus{border-color:#082B50;box-shadow:0 0 0 3px rgba(8,43,80,.12)}
html.dark .ha-input{background:#0B1A2B;border-color:#2C4A6B;color:#F1F5F9}
.ha-input--code{font-size:22px;letter-spacing:6px;text-align:center;font-variant-numeric:tabular-nums}
.ha-err{font-size:13px;color:#B42318;margin:0}
.ha-check{display:flex;gap:8px;align-items:flex-start;font-size:14px;color:#475569}
html.dark .ha-check{color:#94A3B8}
.ha-check input{margin-top:3px;accent-color:#082B50}
.ha-btn{height:44px;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:15px;font-weight:600;text-decoration:none;cursor:pointer;width:100%}
.ha-btn--primary{background:#082B50;color:#fff;border:1px solid #082B50;background-image:none!important}
.ha-btn--primary:hover{background:#0B3762}
.ha-btn--primary:disabled{opacity:.6;cursor:default}
html.dark .ha-btn--primary{background:#1F4A7A;border-color:#1F4A7A}
.ha-btn--outline{background:#fff;color:#0F172A;border:1px solid #CBD5E1}
html.dark .ha-btn--outline{background:transparent;color:#E2E8F0;border-color:#2C4A6B}
.ha-or{display:flex;align-items:center;gap:12px;color:#94A3B8;font-size:13px;margin:4px 0}
.ha-or::before,.ha-or::after{content:"";flex:1;height:1px;background:#E5E8EE}
html.dark .ha-or::before,html.dark .ha-or::after{background:#1F3A57}
.ha-small{font-size:14px;color:#64748B;text-align:center;margin:4px 0 0}
.ha-link{font-size:14px;color:#082B50;font-weight:600;text-decoration:none}
.ha-link:hover{text-decoration:underline}
html.dark .ha-link{color:#BFD3EA}
.ha-note{font-size:14px;line-height:20px;color:#334155;background:#F4F6F9;border:1px solid #E5E8EE;border-radius:8px;padding:12px}
html.dark .ha-note{background:#0B1A2B;border-color:#1F3A57;color:#CBD5E1}
@media (max-width:767px){.ha-page{padding:24px 12px}.ha-card{padding:24px 20px}.ha-side{display:none}.ha-row{grid-template-columns:1fr}}
.ha-steps{margin:0 0 16px;padding-left:20px;font-size:14px;line-height:22px;color:#334155}
html.dark .ha-steps{color:#CBD5E1}
.ha-enroll{display:flex;gap:16px;align-items:center;margin-bottom:20px}
.ha-enroll-qr{width:148px;height:148px;flex:0 0 148px;padding:6px;border:1px solid #E5E8EE;border-radius:8px;background:#fff}
.ha-enroll-qr svg{width:100%;height:100%;display:block}
.ha-key{display:block;font-size:14px;letter-spacing:1px;word-break:break-all;background:#F4F6F9;border:1px solid #E5E8EE;border-radius:6px;padding:8px 10px;color:#0F172A}
html.dark .ha-key{background:#0B1A2B;border-color:#1F3A57;color:#F1F5F9}
.ha-codes{list-style:none;margin:0 0 20px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ha-codes code{display:block;text-align:center;font-size:14px;background:#F4F6F9;border:1px solid #E5E8EE;border-radius:6px;padding:8px;color:#0F172A}
html.dark .ha-codes code{background:#0B1A2B;border-color:#1F3A57;color:#F1F5F9}
@media (max-width:767px){.ha-enroll{flex-direction:column;align-items:stretch}.ha-enroll-qr{margin:0 auto}}
/* v110 paid price tag (same shape as Үнэгүй) */
.hl-paid{display:inline-flex;align-items:center;height:20px;padding:0 6px;border-radius:4px;font-size:12px;line-height:20px;font-weight:700;color:#082B50;background:rgba(8,43,80,.10);white-space:nowrap}
html.dark .hl-paid{color:#E6ECF3;background:rgba(191,211,234,.14)}
/* v110b auth modal + fixes */
.ha-card{max-width:480px}
.ha-card--wide{max-width:560px}
.ha-card--side{max-width:760px}
.ha-card--side .ha-side{order:-1;padding-left:0;padding-right:32px;border-left:0;border-right:1px solid #EEF1F5}
html.dark .ha-card--side .ha-side{border-right-color:#1F3A57}
.ha-page{align-items:flex-start;padding-top:64px}
.ha-logo img{height:43.5px!important;width:auto}
.ha-seg{width:100%;box-sizing:border-box}
.ha-btn--primary,a.ha-btn--primary,a.ha-btn--primary:hover,a.ha-btn--primary:visited{color:#fff!important}
.ha-or{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;height:auto!important;width:100%}
.ha-overlay{position:fixed;inset:0;z-index:1000;background:rgba(8,20,36,.45);display:flex;align-items:flex-start;justify-content:center;padding:8vh 16px 24px;overflow-y:auto}
.ha-card--modal{width:100%;box-shadow:0 20px 50px rgba(8,20,36,.25)}
.ha-top{display:flex;justify-content:space-between;align-items:center;margin:-8px 0 8px}
.ha-back{font-size:13px;color:#475569;text-decoration:none}.ha-back:hover{color:#082B50}
.ha-close{font-size:24px;line-height:1;color:#64748B;text-decoration:none;padding:0 4px}
html.dark .ha-back,html.dark .ha-close{color:#94A3B8}
html.ha-lock{overflow:hidden}
.ha-step-enter-active,.ha-step-leave-active{transition:opacity .18s ease,transform .18s ease}
.ha-step-enter-from,.ha-step-leave-to{opacity:0;transform:translateY(6px)}
.ha-side p,.ha-side .ha-sub{text-align:left}
@media (max-width:767px){.ha-overlay{padding:0;background:#fff}html.dark .ha-overlay{background:#0F2236}.ha-card--modal{max-width:none;min-height:100%;border:0;border-radius:0;box-shadow:none;padding:20px}.ha-card--side .ha-side{display:none}}
/* v110b modal backdrop blur (fallback: flat overlay without blur) */
.ha-blur,.ha-overlay{background:rgba(8,43,80,.55)}
html.dark .ha-blur,html.dark .ha-overlay{background:rgba(0,0,0,.65)}
@supports ((backdrop-filter:blur(6px)) or (-webkit-backdrop-filter:blur(6px))){
.ha-blur,.ha-overlay{background:rgba(8,43,80,.35);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
html.dark .ha-blur,html.dark .ha-overlay{background:rgba(0,0,0,.5)}}
@media (max-width:767px){.ha-overlay{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}html.dark .ha-overlay{background:#0F2236}}
/* v110c login modal: compact vertical card (8px grid) */
.qrl-box.qrl-box--v{width:100%;max-width:400px;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 24px 48px rgba(8,20,36,.24);padding:0}
html.dark .qrl-box.qrl-box--v{background:#0F2236}
.qrl-box--v .qrl-head{display:flex;align-items:center;justify-content:space-between;height:64px;padding:0 16px 0 24px;border:0;margin:0}
.qrl-title{margin:0;font-size:20px;line-height:28px;font-weight:700;color:#0F172A}
html.dark .qrl-title{color:#F1F5F9}
.qrl-box--v .qrl-x{width:40px;height:40px;border:0;border-radius:8px;background:transparent;font-size:24px;line-height:1;color:#64748B;cursor:pointer}
.qrl-box--v .qrl-x:hover{background:#F1F4F8}
.qrl-body--v{display:flex;flex-direction:column;align-items:stretch;gap:16px;padding:0 24px 24px}
.qrl-info{display:flex;align-items:flex-start;gap:8px;margin:0;font-size:14px;line-height:20px;color:#475569}
.qrl-info svg{flex:0 0 16px;margin-top:2px;color:#082B50}
html.dark .qrl-info{color:#94A3B8}html.dark .qrl-info svg{color:#8FB3DA}
.qrl-box--v .qrl-modal-qr{display:flex;flex-direction:column;align-items:center;gap:8px;margin:0}
.qrl-box--v .qrl-code{position:relative;width:200px;height:200px;padding:8px;box-sizing:border-box;background:#fff;border:1px solid #E5E8EE;border-radius:12px;display:flex;align-items:center;justify-content:center}
.qrl-box--v .qrl-code>img{width:184px;height:184px;image-rendering:pixelated}
.qrl-logo{position:absolute;left:50%;top:50%;width:40px;height:40px;margin:-20px 0 0 -20px;background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center}
.qrl-box--v .qrl-hint{display:none}
.qrl-box--v .qrl-timer{margin:0;font-size:12px;line-height:16px;color:#94A3B8}
.qrl-box--v .ha-btn{height:44px;margin:0}
.qrl-foot{padding:16px 24px;background:#F6F8FB;border-top:1px solid #EEF1F5;text-align:center;font-size:13px;line-height:20px;color:#64748B}
html.dark .qrl-foot{background:#0B1A2B;border-color:#1F3A57;color:#94A3B8}
@media (max-width:767px){.qrl-box.qrl-box--v{max-width:none;border-radius:16px 16px 0 0;align-self:flex-end}}
/* v110d landscape modal 720x440: QR/info left, form right; fixed size across steps */
.qrl-box.qrl-box--h{max-width:720px;height:440px;display:flex;flex-direction:column}
.qrl-box--h .qrl-body--v{flex:1;min-height:0;flex-direction:row;gap:0;padding:0}
.qrl-left{flex:0 0 280px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:0 24px 24px;border-right:1px solid #EEF1F5}
.qrl-left .qrl-info{text-align:left;max-width:232px}
.qrl-right{flex:1;display:flex;flex-direction:column;justify-content:center;gap:16px;padding:0 40px 24px}
.qrl-lead{margin:0;font-size:14px;line-height:20px;color:#475569}
.qrl-right .qrl-foot{margin:0;padding:0;background:none;border:0;text-align:center}
html.dark .qrl-left{border-color:#1F3A57}html.dark .qrl-lead{color:#94A3B8}
.ha-card.ha-card--modal{max-width:720px;width:100%;height:440px;padding:0;gap:0;border-radius:16px;overflow:hidden;align-items:stretch}
.ha-card--modal .ha-side{order:-1;flex:0 0 280px;width:280px;padding:24px;border-right:1px solid #EEF1F5;border-left:0;display:flex;align-items:center;justify-content:center}
.ha-card--modal .ha-main{padding:24px 32px;overflow-y:auto;justify-content:center}
.ha-card--modal .ha-form{gap:12px}
.ha-card--modal .ha-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ha-card--modal .ha-title{font-size:20px;line-height:28px}
.ha-card--modal .ha-sub{margin:4px 0 16px}
.ha-card--modal .ha-seg{margin-bottom:16px}
.ha-info{text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}
.ha-info-t{margin:0;font-size:16px;font-weight:700;color:#082B50}.ha-info-s{margin:0;font-size:13px;line-height:20px;color:#64748B}
html.dark .ha-info-t{color:#E6ECF3}
@media (max-width:767px){.qrl-box.qrl-box--h{height:auto;max-width:none;min-height:100%;border-radius:0;align-self:stretch}.qrl-left{display:none}.qrl-right{padding:8px 20px 24px}
.ha-card.ha-card--modal{height:auto;min-height:100%;max-width:none;border-radius:0}.ha-card--modal .ha-side{display:none}.ha-card--modal .ha-main{padding:20px}.ha-card--modal .ha-row{grid-template-columns:1fr}}
/* v110e modal sizing: same fixed size for all steps, no top clipping */
.qrl-box.qrl-box--h,.ha-card.ha-card--modal{height:480px}
.ha-card--modal .ha-main{justify-content:flex-start;padding:16px 32px 24px}
.ha-card--modal .ha-main>.ha-top{margin:0 0 8px}
.ha-card--modal .ha-main>.ha-title{margin-top:auto}
.ha-card--modal .ha-main>:last-child{margin-bottom:auto}
.ha-card--modal .ha-sub{margin:4px 0 12px}
.ha-card--modal .ha-field{gap:4px}
@media (max-width:767px){.qrl-box.qrl-box--h,.ha-card.ha-card--modal{height:auto}}
/* v110f in-place auth steps + compact register */
.ha-step-wrap{width:100%;max-width:720px;display:flex;justify-content:center}
.ha-modal-host{width:100%;max-width:720px}
.ha-card--modal{position:relative}
.ha-card--modal .ha-top{position:absolute;top:12px;right:12px;left:auto;margin:0!important;gap:8px;z-index:2}
.ha-card--modal .ha-main>.ha-title{margin-top:auto}
.ha-card--modal .ha-main{padding:24px 32px}
.ha-card--modal .ha-back{position:absolute;right:48px;white-space:nowrap;line-height:40px}
.ha-card--modal .ha-close{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;border-radius:8px}
.ha-card--modal .ha-close:hover{background:#F1F4F8}
[data-testid=register-page] .ha-sub{display:none}
[data-testid=register-page] .ha-seg{margin-bottom:12px}
[data-testid=register-page] .ha-form{gap:8px}
[data-testid=register-page] .ha-row{gap:8px 12px}
[data-testid=register-page] .ha-field label{font-size:13px;line-height:16px}
[data-testid=register-page] .ha-input{height:40px}
[data-testid=register-page] .ha-check{font-size:13px;margin:0}
.ha-info--reg{gap:12px}.ha-info--reg .ha-btn{width:100%}.ha-info--reg .ha-small{margin:0}
@media (max-width:767px){[data-testid=register-page] .ha-card--modal .ha-side{display:flex;order:2;border:0;width:auto;flex:none;padding:0 20px 24px}[data-testid=register-page] .ha-info--reg img,[data-testid=register-page] .ha-info--reg .ha-info-t{display:none}}
/* v110g modal: auto height (<=90vh), navy 40% side panel, 16px rhythm */
.qrl-box.qrl-box--h,.ha-card.ha-card--modal{height:auto;min-height:520px;max-height:90vh}
.ha-overlay{align-items:center;padding:16px}
.ha-card--modal .ha-side{flex:0 0 40%;width:40%;background:#082B50;border-right:0;padding:32px}
html.dark .ha-card--modal .ha-side{background:#06213D}
.ha-card--modal .ha-main{flex:1 1 60%;padding:32px;overflow-y:auto;justify-content:center}
.ha-card--modal .ha-main>.ha-title{margin-top:0}.ha-card--modal .ha-main>:last-child{margin-bottom:0}
.ha-card--modal .ha-form{gap:16px}
.ha-card--modal .ha-row{gap:16px}
.ha-card--modal .ha-field label{font-size:13px;line-height:16px}
.ha-card--modal .ha-input{height:40px}
.ha-card--modal .ha-btn{height:44px}
.ha-card--modal .ha-sub{margin:4px 0 16px}
.ha-card--modal .ha-seg{margin-bottom:16px}
[data-testid=register-page] .ha-form{gap:12px}
[data-testid=register-page] .ha-row{gap:12px 16px}
[data-testid=register-page] .ha-input{height:40px}
.ha-card--modal .ha-side .ha-info-t{color:#fff}.ha-card--modal .ha-side .ha-info-s{color:#C9D6E6}
.ha-card--modal .ha-side .qrl-hint,.ha-card--modal .ha-side .qrl-timer{color:#C9D6E6}
.ha-brand{display:flex;flex-direction:column;justify-content:center;gap:16px;color:#fff;width:100%}
.ha-brand-logo{height:43.5px!important;width:auto;align-self:flex-start}
.ha-brand-h{margin:0;font-size:20px;line-height:28px;font-weight:700;color:#fff}
.ha-brand-l{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px}
.ha-brand-l li{position:relative;padding-left:24px;font-size:14px;line-height:20px;color:#D6E0EC}
.ha-brand-l li::before{content:"";position:absolute;left:0;top:6px;width:8px;height:8px;border-radius:2px;background:#C9A227}
.ha-card--modal .ha-close{color:#64748B}
@media (max-width:767px){.ha-card.ha-card--modal{min-height:100%;max-height:none}.ha-card--modal .ha-side,[data-testid=register-page] .ha-card--modal .ha-side{display:none}.ha-card--modal .ha-row{grid-template-columns:1fr}}
/* v110h real logo on auth side panels */
.ha-card--modal .ha-brand-logo{height:48px!important;width:auto;max-width:100%}
.ha-card--modal .ha-info .ha-brand-logo{align-self:center}
.ha-card--modal .ha-side{flex-direction:column;gap:24px}
.ha-brand-logo--qr{align-self:center}
.ha-brand--only{align-items:center}.ha-brand--only .ha-brand-logo,.ha-card--modal .ha-info .ha-brand-logo{align-self:center}
/* v110j 2FA enrol + settings card */
.tf{display:flex;flex-direction:column;gap:12px}
.tf-step{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:#0F172A}
html.dark .tf-step{color:#E2E8F0}
.tf-n{flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:#082B50;color:#fff;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.tf-qr{align-self:center;width:180px;height:180px;padding:8px;background:#fff;border:1px solid #E5E8EE;border-radius:12px;box-sizing:border-box}
.tf-qr svg{width:100%!important;height:100%!important;display:block}
.tf-key{display:flex;align-items:center;gap:8px;background:#F4F6F9;border:1px solid #E5E8EE;border-radius:8px;padding:8px 8px 8px 12px}
html.dark .tf-key{background:#132A42;border-color:#1F3A57}
.tf-key code{flex:1;min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;letter-spacing:.5px;color:#0F172A;word-break:break-all}
html.dark .tf-key code{color:#E2E8F0}
.tf-copy{flex:0 0 auto;height:32px;padding:0 12px;border-radius:6px;border:1px solid #CBD5E1;background:#fff;font-size:13px;font-weight:600;color:#082B50;cursor:pointer}
.tf-form{display:flex;gap:8px}
.tf-code{flex:1;height:44px!important;text-align:center;letter-spacing:6px;font-size:18px;font-weight:600}
.tf-btn{width:auto!important;flex:0 0 140px}
.tf-btn:disabled{opacity:.7}
.tf-ok{margin:0 0 4px;padding:10px 12px;border-radius:8px;background:#E8F5EC;color:#1E6B3A;font-weight:600;font-size:14px}
[data-testid=twofa-enroll] .ha-main{padding:24px 32px}
.tfs{background:#fff;border:1px solid #E5E8EE;border-radius:12px;padding:20px 24px;display:flex;flex-direction:column;gap:12px}
html.dark .tfs{background:#0F2236;border-color:#1F3A57}
.tfs-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.tfs-title{margin:0;font-size:16px;font-weight:700;color:#0F172A}html.dark .tfs-title{color:#F1F5F9}
.tfs-sub{margin:4px 0 0;font-size:13px;color:#64748B}
.tfs-badge{font-size:12px;font-weight:700;padding:2px 8px;border-radius:4px;background:#F1F4F8;color:#475569;white-space:nowrap}
.tfs-badge--on{background:#E8F5EC;color:#1E6B3A}
.tfs-btn{width:auto!important;align-self:flex-start;padding:0 20px}
.tfs-form{display:flex;gap:8px;flex-wrap:wrap}.tfs-form .ha-input{flex:1;min-width:220px;height:44px}
.tfs-flash{margin:0;font-size:13px;color:#1E6B3A}

/* ===== v111 de-(identity only; layout/logo/header shadow/hero untouched) ===== */
/* 1) dark-mode: replace sky/medium blues with navy-family equivalents (header shadow var --primary-light-2 kept) */
.dark, html.dark {
  --primary: #9fb3cc !important;
  --primary-dark-1: #8aa2bf; --primary-light-1: #b7c6d9;
  --primary-surface-medium: #24476d; --primary-surface-high: #1d3a5a;
  --border-secondary: #2a4560;
  --button-primary-bg: #1f4470; --button-primary-hover: #193a60;
  --color-ehuul-primary: #b7c6d9;
}
/* 1b) top utility strip: flat navy band (layout unchanged) */
[data-testid="portal-header"] > div:first-child{background:#082B50;border-bottom-color:#082B50!important}
[data-testid="portal-header"] > div:first-child :is(a,span,p,button,div){color:rgba(255,255,255,.88)!important}
[data-testid="portal-header"] > div:first-child a:hover{color:#E99A12!important}
[data-testid="portal-header"] > div:first-child svg{color:#E99A12!important}
html.dark [data-testid="portal-header"] > div:first-child{background:#04152a;border-bottom-color:#04152a!important}
/* 3a) home search: squarer corners, thin border, gold focus edge (size/position unchanged) */
.ehuul-hero-banner .ant-input-affix-wrapper.custom-input{border-radius:9999px!important;border:1px solid #d6dde6!important;background:#fff!important;box-shadow:0 2px 8px rgba(15,23,42,.05)!important}
.ehuul-hero-banner .ant-input-affix-wrapper.custom-input:hover{border-color:#c5ced9!important}
.ehuul-hero-banner .ant-input-affix-wrapper.custom-input:focus-within{border-color:#082B50!important;box-shadow:0 2px 8px rgba(15,23,42,.05)!important;outline:none!important}
[data-testid=portal-search-card] > div > div.absolute.inset-0{background:transparent!important}
.ehuul-hero-banner .ehuul-search-ic{color:#082B50}
html.dark .ehuul-hero-banner .ant-input-affix-wrapper.custom-input{background:#0d2742!important;border-color:#2a4560!important;box-shadow:none!important}
html.dark .ehuul-hero-banner .ant-input-affix-wrapper.custom-input:focus-within{border-color:#9fb3cc!important}
html.dark .ehuul-hero-banner .ehuul-search-ic{color:#E99A12}
/* 3b) sidebar + profile tab active marker: flat navy pill, no side bar */
[data-testid="ehuul-sidebar"] a[aria-current="page"]{box-shadow:none!important;background:#082B50!important;color:#fff!important;border-radius:10px!important}
[data-testid="ehuul-sidebar"] a[aria-current="page"] *{color:#fff!important}
[data-testid="ehuul-sidebar"] a[aria-current="page"] :is(img,svg){filter:brightness(0) invert(1)}
html.dark [data-testid="ehuul-sidebar"] a[aria-current="page"]{background:#1f4470!important}
[data-testid="citizen-workspace-nav"] [role=tab][aria-selected="true"]{background:transparent!important;color:#082B50!important;border-radius:0!important;box-shadow:inset 0 -2px 0 #E99A12!important}
html.dark [data-testid="citizen-workspace-nav"] [role=tab][aria-selected="true"]{color:#fff!important}
/* 4) footer disclaimer + legal links */
.ehuul-v111-legal{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;justify-content:flex-end}
.ehuul-v111-legal a{color:rgba(255,255,255,.85)!important;font-size:13px;text-decoration:underline;text-underline-offset:2px}
.ehuul-v111-legal a:hover{color:#E99A12!important}
.ehuul-v111-disclaimer{margin:0;font-size:13px;color:rgba(255,255,255,.72)}
/* legal draft pages */
.ehuul-legal{max-width:860px;margin:32px auto 64px;padding:0 16px}
.ehuul-legal h1{font-size:28px;font-weight:700;color:#082B50;margin:0 0 8px}
html.dark .ehuul-legal h1{color:#f2f5f9}
.ehuul-legal-draft{display:inline-block;margin:0 0 20px;padding:6px 12px;border-radius:6px;background:#FDF3E1;color:#8A5A07;font-size:13px;font-weight:600;border:1px solid #F3D9A6}
.ehuul-legal-card{background:#fff;border:1px solid #e5e8ee;border-radius:12px;padding:24px 28px}
html.dark .ehuul-legal-card{background:#0d2742;border-color:#1f3d61}
.ehuul-legal-card h2{font-size:17px;font-weight:700;color:#082B50;margin:20px 0 8px}
html.dark .ehuul-legal-card h2{color:#e2e8f0}
.ehuul-legal-card h2:first-child{margin-top:0}
.ehuul-legal-card p,.ehuul-legal-card li{font-size:15px;line-height:1.65;color:#334155}
html.dark .ehuul-legal-card :is(p,li){color:#cbd5e1}
.ehuul-legal-meta{font-size:13px;color:#64748b;margin-top:16px}

/* v111c keis dark pagination */
html.dark [data-testid=keis-pagination] button.border-primary{border-color:#2a4560!important}

/* v112 balanced card spacing (spacing only) */
.hl-card{gap:0!important;padding:20px!important}
.hl-card>.hl-top{min-height:0}
.hl-card>.hl-top+*{margin-top:10px!important}
.hl-card .hl-card__title{min-height:0!important}
.hl-card .hl-card__title+.hl-card__desc{margin-top:6px!important}
.hl-card .hl-card__link{margin-top:12px!important;padding-top:0!important}
.hl-grid .hl-card .hl-card__link{margin-top:auto!important;padding-top:12px!important}
.hl-card .hl-rows{margin-top:12px!important}
.hl-card .hl-case__foot{margin-top:12px!important;padding-top:12px!important}
.ant-list-items:has(.hl-card)>*{margin-bottom:14px!important}
.hl-grid{gap:14px!important}
/* v112b: top strip + footer = logo ХЯЛБАР navy #082B50 (colour only) */
html footer[data-testid="ehuul-v5-footer"],html.dark footer[data-testid="ehuul-v5-footer"],html footer.dark.bg-background[data-testid="ehuul-v5-footer"]{background:#082B50!important;background-color:#082B50!important}
html [data-testid="portal-header"]>div:first-child,html.dark [data-testid="portal-header"]>div:first-child{background-color:#082B50!important}
/* v112f: header search overlay = centred flat white panel */
[data-testid="unified-search-modal"] .container{margin-top:110px!important}
[data-testid="unified-search-modal"] .ehs-panel{width:720px;max-width:calc(100vw - 24px);background:#fff;border-radius:12px;box-shadow:0 12px 40px rgba(15,23,42,.16);padding:24px;gap:16px!important;max-height:calc(100vh - 140px);overflow:auto}
[data-testid="unified-search-modal"] .ehs-panel h4{color:#082B50!important;font-size:20px!important}
[data-testid="unified-search-modal"] #ehuul-usearch-desc{color:#64748B!important;font-size:12.5px!important}
[data-testid="unified-search-modal"] .ehs-close{width:32px;height:32px;border-radius:8px;border:0;background:transparent;color:#64748B;font-size:22px;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
[data-testid="unified-search-modal"] .ehs-close:hover{background:#F1F5F9;color:#082B50}
[data-testid="unified-search-modal"] .ehs-field{width:100%!important}
[data-testid="unified-search-modal"] .ehs-field .absolute.bg-\[\#082B50\]{display:none!important}
[data-testid="unified-search-modal"] .ehs-field form{padding:0!important}
[data-testid="unified-search-modal"] .ehs-field .ant-input-affix-wrapper{border:1px solid #d6dde6!important;box-shadow:none!important;background:#fff!important;border-radius:9999px!important}
[data-testid="unified-search-modal"] .ehs-field .ant-input-affix-wrapper:focus-within{border-color:#082B50!important;box-shadow:none!important}
[data-testid="unified-search-modal"] .ehs-field .ant-input-prefix>div{background:transparent!important;border:0!important;margin-right:6px!important;color:#64748B}
[data-testid="unified-search-modal"] .ehs-field button[type=submit]{background:#082B50!important;color:#fff!important}
[data-testid="unified-search-modal"] [data-testid="suggested-searches-heading"],[data-testid="unified-search-modal"] .body-semibold.text-white{color:#0F172A!important;font-size:14px}
[data-testid="unified-search-modal"] [data-testid="suggested-searches-list"],[data-testid="unified-search-modal"] [data-testid="unified-search-live-results"]{gap:0!important;border:1px solid #E2E8F0;border-radius:10px;overflow:hidden}
[data-testid="unified-search-modal"] .ehs-row{background:#fff!important;border-radius:0!important;border-bottom:1px solid #E2E8F0}
[data-testid="unified-search-modal"] .ehs-row:last-child{border-bottom:0}
[data-testid="unified-search-modal"] .ehs-row:hover{background:#F1F5F9!important}
[data-testid="unified-search-modal"] .ehs-row>div{color:#0F172A!important;padding:10px 14px!important}
[data-testid="unified-search-modal"] .ehs-row .rounded-full.bg-white{background:transparent!important;width:20px!important;height:20px!important;padding:0!important}
[data-testid="unified-search-modal"] .ehs-row .text-white\/90{color:#64748B!important}
[data-testid="unified-search-modal"] [data-testid="unified-search-loading"],[data-testid="unified-search-modal"] [data-testid="unified-search-empty"]{color:#64748B!important}
html.dark [data-testid="unified-search-modal"]{background-color:rgba(2,10,22,.5)!important}
html.dark [data-testid="unified-search-modal"] .ehs-panel{background:#0f2338;box-shadow:0 12px 40px rgba(0,0,0,.45)}
html.dark [data-testid="unified-search-modal"] .ehs-panel h4{color:#F1F5F9!important}
html.dark [data-testid="unified-search-modal"] #ehuul-usearch-desc,html.dark [data-testid="unified-search-modal"] .ehs-close{color:#94A3B8!important}
html.dark [data-testid="unified-search-modal"] .ehs-close:hover{background:#173251}
html.dark [data-testid="unified-search-modal"] .ehs-field .ant-input-affix-wrapper{background:#0b1b2e!important;border-color:#2a4560!important}
html.dark [data-testid="unified-search-modal"] .ehs-field .ant-input-affix-wrapper:focus-within{border-color:#7FA6CF!important}
html.dark [data-testid="unified-search-modal"] .ehs-field input{color:#F1F5F9!important}
html.dark [data-testid="unified-search-modal"] .ehs-field button[type=submit]{background:#1d4f86!important}
html.dark [data-testid="unified-search-modal"] [data-testid="suggested-searches-heading"],html.dark [data-testid="unified-search-modal"] .body-semibold.text-white{color:#E2E8F0!important}
html.dark [data-testid="unified-search-modal"] [data-testid="suggested-searches-list"],html.dark [data-testid="unified-search-modal"] [data-testid="unified-search-live-results"]{border-color:#2a4560}
html.dark [data-testid="unified-search-modal"] .ehs-row{background:#0f2338!important;border-color:#2a4560}
html.dark [data-testid="unified-search-modal"] .ehs-row:hover{background:#173251!important}
html.dark [data-testid="unified-search-modal"] .ehs-row>div{color:#E2E8F0!important}
/* v112f: home 3 cards - smooth navy fade into a clearer photo (owner-approved gradient exception) */
.ehv99-card .ehv99-card-art{opacity:1!important;width:66%!important}
.ehv99-card:hover .ehv99-card-art{opacity:1!important}
.ehv99-card::after{content:"";display:block!important;position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#082B50 0%,#082B50 34%,rgba(8,43,80,.82) 44%,rgba(8,43,80,.45) 60%,rgba(8,43,80,.12) 82%,rgba(8,43,80,0) 100%)}
html.dark .ehv99-card .ehv99-card-art{opacity:.92!important}
html.dark .ehv99-card::after{background:linear-gradient(90deg,#0c2542 0%,#0c2542 34%,rgba(12,37,66,.85) 44%,rgba(12,37,66,.5) 60%,rgba(12,37,66,.18) 82%,rgba(12,37,66,.04) 100%)}
/* v112g: search overlay centred + thin input border; dark strip/footer near-black */
@media (min-width:641px){[data-testid="unified-search-modal"]>div{min-height:100vh;align-items:center!important}[data-testid="unified-search-modal"] .container{margin-top:0!important}}
@media (max-width:640px){[data-testid="unified-search-modal"] .container{margin-top:16px!important}}
[data-testid="unified-search-modal"] .ehs-field *,[data-testid="unified-search-modal"] .ehs-field *:focus,[data-testid="unified-search-modal"] .ehs-field *:focus-visible,[data-testid="unified-search-modal"] .ehs-field *:focus-within{outline:none!important;box-shadow:none!important}
[data-testid="unified-search-modal"] .ehs-field .ant-input-affix-wrapper,[data-testid="unified-search-modal"] .ehs-field .ant-input-affix-wrapper.ant-input-affix-wrapper-focused{border:1px solid #d6dde6!important}
[data-testid="unified-search-modal"] .ehs-field .ant-input-affix-wrapper:focus-within{border:1px solid #082B50!important}
[data-testid="unified-search-modal"] .ehs-field input{border:0!important}
html.dark [data-testid="unified-search-modal"] .ehs-field .ant-input-affix-wrapper,html.dark [data-testid="unified-search-modal"] .ehs-field .ant-input-affix-wrapper.ant-input-affix-wrapper-focused{border:1px solid #2a4560!important}
html.dark [data-testid="unified-search-modal"] .ehs-field .ant-input-affix-wrapper:focus-within{border:1px solid #7FA6CF!important}
html.dark footer[data-testid="ehuul-v5-footer"],html.dark footer.dark.bg-background[data-testid="ehuul-v5-footer"]{background:#050d18!important;background-color:#050d18!important}
html.dark [data-testid="portal-header"]>div:first-child{background-color:#050d18!important}
/* v112g: floating actions = one compact flat pill */
[data-testid="ehuul-floating-actions"]{position:fixed;right:24px;bottom:67px;z-index:1000;display:flex;flex-direction:column;background:#fff;border:1px solid #E2E8F0;border-radius:12px;box-shadow:0 6px 20px rgba(15,23,42,.10)}
[data-testid="ehuul-floating-actions"]>.ant-float-btn-group{position:relative!important;inset:auto!important;bottom:auto!important;right:auto!important;width:40px!important;height:40px!important}
[data-testid="ehuul-floating-actions"]>.ant-float-btn-group+.ant-float-btn-group{border-top:1px solid #E2E8F0}
[data-testid="ehuul-floating-actions"] .ant-float-btn{width:40px!important;height:40px!important;min-height:40px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:#082B50!important;inset:auto!important;position:relative!important}
[data-testid="ehuul-floating-actions"] .ant-float-btn .ant-float-btn-body{border-radius:0!important;background:transparent!important}
[data-testid="ehuul-floating-actions"]>.ant-float-btn-group:first-child,[data-testid="ehuul-floating-actions"]>.ant-float-btn-group:first-child .ant-float-btn{border-radius:11px 11px 0 0!important}
[data-testid="ehuul-floating-actions"]>.ant-float-btn-group:last-child .ant-float-btn,[data-testid="ehuul-floating-actions"]>.ant-float-btn-group:nth-child(3) .ant-float-btn{border-bottom-left-radius:11px!important;border-bottom-right-radius:11px!important}
[data-testid="ehuul-floating-actions"]>.ant-float-btn-group:nth-child(4):not([style*="display: none"])~*,[data-testid="ehuul-floating-actions"]:has(>.ant-float-btn-group:nth-child(4):not([style*="display: none"]))>.ant-float-btn-group:nth-child(3) .ant-float-btn{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}
[data-testid="ehuul-floating-actions"] .ant-float-btn:hover{background:#EEF3F9!important}
[data-testid="ehuul-floating-actions"] .ant-float-btn img{width:20px!important;height:20px!important}
[data-testid="ehuul-floating-actions"]>.ant-float-btn-group::before{position:absolute;right:calc(100% + 10px);top:50%;transform:translateY(-50%);white-space:nowrap;background:#0F172A;color:#fff;font-size:12px;line-height:1;padding:6px 9px;border-radius:6px;opacity:0;pointer-events:none;transition:opacity .15s}
[data-testid="ehuul-floating-actions"]>.ant-float-btn-group:nth-child(1)::before{content:"Баримт"}
[data-testid="ehuul-floating-actions"]>.ant-float-btn-group:nth-child(2)::before{content:"Чат"}
[data-testid="ehuul-floating-actions"]>.ant-float-btn-group:nth-child(3)::before{content:"Тусламж"}
[data-testid="ehuul-floating-actions"]>.ant-float-btn-group:nth-child(4)::before{content:"Дээшээ"}
[data-testid="ehuul-floating-actions"]>.ant-float-btn-group:hover::before{opacity:1}
html.dark [data-testid="ehuul-floating-actions"]{background:#0f2338;border-color:#2a4560;box-shadow:0 6px 20px rgba(0,0,0,.4)}
html.dark [data-testid="ehuul-floating-actions"]>.ant-float-btn-group+.ant-float-btn-group{border-top-color:#2a4560}
html.dark [data-testid="ehuul-floating-actions"] .ant-float-btn{color:#E2E8F0!important}
html.dark [data-testid="ehuul-floating-actions"] .ant-float-btn:hover{background:#173251!important}
html.dark [data-testid="ehuul-floating-actions"] .ant-float-btn img{filter:brightness(0) invert(1);opacity:.9}
html.dark [data-testid="ehuul-floating-actions"]>.ant-float-btn-group::before{background:#E2E8F0;color:#0F172A}
@media (max-width:639px){[data-testid="ehuul-floating-actions"]{right:12px;bottom:84px}}
html [data-testid="ehuul-floating-actions"] .ant-float-btn-group .ant-float-btn.ant-float-btn-default,html [data-testid="ehuul-floating-actions"] .ant-float-btn-group .ant-float-btn-default .ant-float-btn-body{background:transparent!important;border:0!important;box-shadow:none!important}
html [data-testid="ehuul-floating-actions"] .ant-float-btn-group .ant-float-btn.ant-float-btn-default:hover{background:#EEF3F9!important}
html.dark [data-testid="ehuul-floating-actions"] .ant-float-btn-group .ant-float-btn.ant-float-btn-default:hover{background:#173251!important}
html:not(.dark) [data-testid="ehuul-floating-actions"] .ant-float-btn img{filter:none!important}
html:not(.dark) [data-testid="ehuul-floating-actions"] .ant-float-btn img[src$="/ehuul-v99/doc.svg"]{content:url(/images/ehuul-v99/doc.svg)}
html:not(.dark) [data-testid="ehuul-floating-actions"] .ant-float-btn img[src$="/ehuul-v99/chat.svg"]{content:url(/images/ehuul-v99/chat.svg)}
html:not(.dark) [data-testid="ehuul-floating-actions"] .ant-float-btn img[src$="/ehuul-v99/help.svg"]{content:url(/images/ehuul-v99/help.svg)}
html [data-testid="ehuul-floating-actions"]>.ant-float-btn-group{padding:0!important;margin:0!important;gap:0!important;border-radius:0}
html:not(.dark) [data-testid="ehuul-floating-actions"] .ant-float-btn svg{color:#082B50!important}
/* v112h: vivid dark home */
html.dark body .ehuul-hero-banner{background-color:#0B3A6B!important;background-image:url(/images/ehuul/hylbar-hero-dark-v112h.svg?v=112h)!important;border-bottom:2px solid #1f5c99!important}
html.dark .ehv99-card{background:#123f70!important;border-color:rgba(233,154,18,.35)!important}
html.dark .ehv99-card .ehv99-card-art{opacity:1!important}
html.dark .ehv99-card::after{background:linear-gradient(90deg,#123f70 0%,#123f70 30%,rgba(18,63,112,.7) 42%,rgba(18,63,112,.3) 58%,rgba(18,63,112,0) 78%)!important}
html.dark .ehv99-card-sub{color:rgba(240,245,250,.9)}
html.dark .ehv99-chip{background:#0f2c4d!important;border-color:#214a75!important}
/* v112i: hero skyline base (frieze removed) */
html body .ehuul-hero-banner{background-image:url(/images/ehuul/hylbar-hero-light-v112i.svg?v=112i)!important}
html.dark body .ehuul-hero-banner{background-image:url(/images/ehuul/hylbar-hero-dark-v112i.svg?v=112i)!important}
/* v112j: hero recomposed (2 large Themis framing, ornaments removed) */
html body .ehuul-hero-banner{background-image:url(/images/ehuul/hylbar-hero-light-v112j.svg?v=112j)!important}
html.dark body .ehuul-hero-banner{background-image:url(/images/ehuul/hylbar-hero-dark-v112j.svg?v=112j)!important}
/* v112k: layered responsive hero (Themis anchored left/right, centre group, tiled skyline). Flat colours. */
html body .ehuul-hero-banner{
  background-color:#EEF2F7!important;
  background-image:url(/images/ehuul/hero-m-themis-r-light.svg?v=112y),url(/images/ehuul/hero-m-themis-l-light.svg?v=112y),url(/images/ehuul/hero-q-centre-light.svg?v=112y),url(/images/ehuul/hero-q-side-l-light.svg?v=112y),url(/images/ehuul/hero-q-side-r-light.svg?v=112y),url(/images/ehuul/hero-m-sky-light.svg?v=112y)!important;
  background-repeat:no-repeat,no-repeat,no-repeat,no-repeat,no-repeat,repeat-x!important;
  background-size:auto 380px,auto 380px,auto 210px,0 0,0 0,auto 140px!important;
  background-position:left 56px bottom 28px,right 56px bottom 28px,center bottom 28px,left calc(25% - 64px) bottom 28px,right calc(25% - 72px) bottom 28px,center bottom!important}
html.dark body .ehuul-hero-banner{
  background-color:#0B3A6B!important;
  background-repeat:no-repeat,no-repeat,no-repeat,no-repeat,no-repeat,repeat-x!important;background-size:auto 380px,auto 380px,auto 210px,0 0,0 0,auto 140px!important;background-position:left 56px bottom 28px,right 56px bottom 28px,center bottom 28px,left calc(25% - 64px) bottom 28px,right calc(25% - 72px) bottom 28px,center bottom!important;
  background-image:url(/images/ehuul/hero-m-themis-r-dark.svg?v=112y),url(/images/ehuul/hero-m-themis-l-dark.svg?v=112y),url(/images/ehuul/hero-q-centre-dark.svg?v=112y),url(/images/ehuul/hero-q-side-l-dark.svg?v=112y),url(/images/ehuul/hero-q-side-r-dark.svg?v=112y),url(/images/ehuul/hero-m-sky-dark.svg?v=112y)!important}
/* v112q: owner-photo courts in the side zones, only where there is room */
@media(min-width:1880px){html body .ehuul-hero-banner,html.dark body .ehuul-hero-banner{background-size:auto 380px,auto 380px,auto 210px,auto 210px,auto 210px,auto 140px!important}}
/* search sits between the two figures */
@media(min-width:1024px){html body .ehuul-hero-banner [data-testid=portal-search-card]>div.relative{width:min(80vw,calc(100% - 600px))!important}}
@media(min-width:768px) and (max-width:1023px){
  html body .ehuul-hero-banner,html.dark body .ehuul-hero-banner{background-size:auto 250px,auto 250px,auto 130px,0 0,0 0,auto 120px!important;background-position:left 28px bottom 24px,right 28px bottom 24px,center bottom 24px,0 0,0 0,center bottom!important}
  html body .ehuul-hero-banner [data-testid=portal-search-card]>div.relative{width:calc(100% - 340px)!important}}
@media(max-width:767px){
  html body .ehuul-hero-banner,html.dark body .ehuul-hero-banner{background-size:auto 170px,auto 170px,auto 80px,0 0,0 0,auto 80px!important;background-position:left -6px bottom 14px,right -6px bottom 14px,center bottom 14px,0 0,0 0,center bottom!important}}
/* v112k: hero search - animated navy/gold border (owner-approved gradient exception), taller input, gold Хайх CTA */
@property --ehs-a{syntax:'<angle>';inherits:false;initial-value:0deg}
@keyframes ehsSpin{to{--ehs-a:360deg}}
html body .ehuul-hero-banner [data-testid=portal-search-card]>div.relative>div.absolute{height:auto!important;inset:0!important;background:conic-gradient(from var(--ehs-a),#082B50 0deg,#082B50 150deg,#3d6a9a 200deg,#E99A12 240deg,#f5c25c 255deg,#E99A12 270deg,#3d6a9a 305deg,#082B50 345deg)!important;animation:ehsSpin 5s linear infinite}
html.dark body .ehuul-hero-banner [data-testid=portal-search-card]>div.relative>div.absolute{background:conic-gradient(from var(--ehs-a),#1d4f86 0deg,#1d4f86 150deg,#5d8cc0 200deg,#E99A12 240deg,#f5c25c 255deg,#E99A12 270deg,#5d8cc0 305deg,#1d4f86 345deg)!important}
html body .ehuul-hero-banner [data-testid=portal-search-card] form{padding:3px!important;position:relative}
html body .ehuul-hero-banner [data-testid=portal-search-card] form .ant-input-affix-wrapper{height:60px!important;padding-right:120px!important}
html body .ehuul-hero-banner [data-testid=portal-search-card] form::after{content:'Хайх';position:absolute;right:10px;top:50%;transform:translateY(-50%);height:44px;padding:0 24px;border-radius:9999px;background:#E99A12;color:#082B50;font-weight:700;font-size:15px;display:flex;align-items:center;z-index:11;pointer-events:none;transition:background .2s}
html body .ehuul-hero-banner [data-testid=portal-search-card] form:hover::after{background:#f2a92a}
html body .ehuul-hero-banner #ehuul-portal-q::placeholder{color:#526175!important;opacity:1}
html.dark body .ehuul-hero-banner #ehuul-portal-q::placeholder{color:#b3c4d8!important}
@media(max-width:640px){html body .ehuul-hero-banner [data-testid=portal-search-card] form::after{padding:0 14px;height:40px;font-size:14px;right:9px}html body .ehuul-hero-banner [data-testid=portal-search-card] form .ant-input-affix-wrapper{padding-right:84px!important}}
@media(prefers-reduced-motion:reduce){html body .ehuul-hero-banner [data-testid=portal-search-card]>div.relative>div.absolute{animation:none!important;background:linear-gradient(90deg,#082B50,#E99A12 50%,#082B50)!important}}
/* v112u: dark mode - top bar + header use the hero band navy (footer unchanged) */
html.dark body [data-testid="portal-header"],html.dark body [data-testid="portal-header"]>div,html.dark body [data-testid="portal-header"]>div:first-child{background:#0B3A6B!important;background-color:#0B3A6B!important;border-bottom-color:#0B3A6B!important}
/* v112w: dark-mode tonal layers + AA text contrast (navy/gold palette) */
html.dark{--background:#061427;--foreground:#F3F6FA;--card-bg:#0E2744;--card-bg-hover:#13325A;--border-secondary:#2A4F7E;--border-tertiary:#22446E;--text-muted:#C3CFDD;--tertiary:#C3CFDD;--disabled:#A3B2C5;--text-disabled:#93A4BA;--main:#F3F6FA}
html.dark body,html.dark #app,html.dark main{background-color:#061427}
html.dark body{color:#E6ECF3}
html.dark :is(h1,h2,h3,h4,h5,h6){color:#F5F8FC}
html.dark :is(.text-gray-300,.text-gray-400,.text-gray-500,.text-gray-600,.text-gray-700,.text-slate-400,.text-slate-500,.text-slate-600,.text-muted-foreground,.text-neutral-500,.text-neutral-600,.text-zinc-500){color:#B9C7D9!important}
html.dark :is(input,textarea,select){color:#F3F6FA}
html.dark :is(input,textarea)::placeholder{color:#A3B4C8!important;opacity:1}
html.dark main :is(p,li,td,dd) a:not([class*="bg-"]){color:#F2C46B}
html.dark footer[data-testid="ehuul-v5-footer"] :is(p,span,li,a,div){color:#C9D4E2}
html.dark footer[data-testid="ehuul-v5-footer"] :is(h2,h3,h4,h5,h6,strong){color:#F5F8FC}
.fq-cta a.fq-b--p{color:#fff!important}html.dark .fq-cta a.fq-b--p{color:#082B50!important}.fq-cta a.fq-b{text-decoration:none!important}
/* v112y: home lawyer promo banner - full-bleed image with soft navy fade (approved gradient exception) */
[data-testid="v42-professional-help"]>div:first-child>img{width:100%!important;left:0!important;object-position:center right!important}
[data-testid="v42-professional-help"]>div:first-child>div[aria-hidden="true"]{background:linear-gradient(90deg,#082B50 0%,#082B50 30%,rgba(8,43,80,.86) 44%,rgba(8,43,80,.5) 62%,rgba(8,43,80,.18) 82%,rgba(8,43,80,.04) 100%)!important}
html.dark [data-testid="v42-professional-help"]>div:first-child{background:#0c2542!important}
html.dark [data-testid="v42-professional-help"]>div:first-child>div[aria-hidden="true"]{background:linear-gradient(90deg,#0c2542 0%,#0c2542 30%,rgba(12,37,66,.88) 44%,rgba(12,37,66,.52) 62%,rgba(12,37,66,.2) 82%,rgba(12,37,66,.05) 100%)!important}
@media(max-width:767px){[data-testid="v42-professional-help"]>div:first-child>div[aria-hidden="true"]{background:linear-gradient(180deg,rgba(8,43,80,.7) 0%,#082B50 70%)!important}html.dark [data-testid="v42-professional-help"]>div:first-child>div[aria-hidden="true"]{background:linear-gradient(180deg,rgba(12,37,66,.72) 0%,#0c2542 70%)!important}}
/* v112y: /keis category chips - fit 2 rows on desktop */
.keis-chips{gap:6px 4px!important}
.keis-chips>button{padding:0 10px!important;height:34px!important;font-size:13.5px!important;letter-spacing:-.005em}
@media(max-width:767px){.keis-chips{flex-wrap:nowrap!important;overflow-x:auto!important;padding-bottom:4px}}
/* v152: /keis chips in exactly 2 rows on PC (scroll sideways for the rest) */
@media(min-width:768px){.keis-chips{display:grid!important;grid-template-rows:repeat(2,34px);grid-auto-flow:column;grid-auto-columns:max-content;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;padding-bottom:6px;scrollbar-width:thin}}

/* v112z: one full-width dark page background (no boxed column) */
html.dark,html.dark body,html.dark #app,html.dark .ehuul-portal,html.dark .ehuul-public,html.dark .ehuul-df{background-color:#061427 !important;background-image:none !important}
html.dark #ehuul-main,html.dark main.container,html.dark .ehuul-portal > .container{background-color:transparent !important}
/* v112z: promo slides - sharp 1920px photos, image visible on the right */
[data-testid="v42-professional-help"]>div:first-child>img{width:68%!important;left:auto!important;right:0!important;object-position:center!important;filter:none!important}
[data-testid="v42-professional-help"]>div:first-child>div[aria-hidden="true"]{background:linear-gradient(90deg,#082B50 0%,#082B50 33%,rgba(8,43,80,.7) 42%,rgba(8,43,80,.25) 52%,rgba(8,43,80,0) 62%)!important}
html.dark [data-testid="v42-professional-help"]>div:first-child>div[aria-hidden="true"]{background:linear-gradient(90deg,#0c2542 0%,#0c2542 33%,rgba(12,37,66,.72) 42%,rgba(12,37,66,.28) 52%,rgba(12,37,66,0) 62%)!important}
.promo-nav{background:transparent;border:0;color:inherit;font-size:18px;line-height:1;padding:0 6px;cursor:pointer}
@media(max-width:767px){[data-testid="v42-professional-help"]>div:first-child>img{width:100%!important}[data-testid="v42-professional-help"]>div:first-child>div[aria-hidden="true"]{background:linear-gradient(180deg,rgba(8,43,80,.55) 0%,#082B50 72%)!important}html.dark [data-testid="v42-professional-help"]>div:first-child>div[aria-hidden="true"]{background:linear-gradient(180deg,rgba(12,37,66,.58) 0%,#0c2542 72%)!important}}
html.dark .lw-next{color:#6EE7B7!important}
/* v112z4 promo counter: solid pill + 44px targets */
.promo-nav{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;color:#fff}
[data-testid="promo-counter"]{background:#082B50 !important;color:#fff !important;border-radius:999px;padding:0 4px;display:inline-flex;align-items:center}
/* v112z4 avatar: perfect circle everywhere */


.ehuul-user-avatar.is-round{border-radius:50% !important;aspect-ratio:1/1;flex-shrink:0 !important;min-width:0;padding:0 !important;display:inline-flex !important;align-items:center !important;justify-content:center !important}
.ehuul-user-avatar img{width:100% !important;height:100% !important;max-width:none !important;object-fit:cover !important;object-position:center;border-radius:50%}
/* v112z4 mobile bottom nav + Бусад panel */
.bn-bar{position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:1px solid #E1E6EC;padding:6px 6px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -4px 16px rgba(8,43,80,.06)}
.bn-bar ul{display:flex;justify-content:space-around;align-items:stretch;margin:0;padding:0;list-style:none}
.bn-bar li{flex:1 1 0;min-width:0;display:flex;justify-content:center}
.bn-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:56px;min-height:52px;padding:6px 8px;border-radius:14px;color:#4A5868;background:transparent;border:0;text-decoration:none;cursor:pointer;position:relative;font:inherit}
.bn-item span{font-size:11.5px;line-height:1.1;white-space:nowrap}
.bn-item.is-on{color:#082B50;background:#EEF3F9}
.bn-item.is-on::after{content:"";position:absolute;top:2px;left:50%;width:22px;height:3px;margin-left:-11px;border-radius:3px;background:#E99A12}
html.dark .bn-bar{background:#081a31;border-top-color:#1C3B60;box-shadow:none}
html.dark .bn-item{color:#A9B9CC}html.dark .bn-item.is-on{color:#F2C46B;background:#13325A}html.dark .bn-item.is-on::after{background:#D9A441}
.bn-more{position:fixed;left:0;right:0;bottom:calc(64px + env(safe-area-inset-bottom));z-index:55;background:#F5F7FA;overflow-y:auto;-webkit-overflow-scrolling:touch}
.bn-more-in{padding:12px 16px 24px}
.bn-more-h{margin:14px 4px 8px;font-size:13px;font-weight:700;color:#6B7888}
.bn-more-list{list-style:none;margin:0;padding:0;background:#fff;border:1px solid #E1E6EC;border-radius:14px;overflow:hidden}
.bn-more-list li+li{border-top:1px solid #EDF0F4}
.bn-row{display:flex;align-items:center;gap:14px;min-height:56px;padding:10px 14px;color:#0B2A4A;text-decoration:none;font-size:15.5px;font-weight:600}
.bn-ic{width:36px;height:36px;flex:none;border-radius:10px;background:#EEF3F9;color:#082B50;display:inline-flex;align-items:center;justify-content:center}
.bn-lbl{flex:1;min-width:0}
.bn-arr{flex:none;color:#E99A12}
html.dark .bn-more{background:#061427}html.dark .bn-more-h{color:#8FA3BA}html.dark .bn-more-list{background:#0E2744;border-color:#24456C}html.dark .bn-more-list li+li{border-color:#1C3B60}
html.dark .bn-row{color:#F5F8FC}html.dark .bn-ic{background:#13325A;color:#F2C46B}html.dark .bn-arr{color:#D9A441}
@media(min-width:640px){.bn-more{display:none}}
/* floating buttons clear the bottom nav on mobile */
@media(max-width:639px){
  [data-testid="ehuul-floating-actions"] .ant-float-btn{width:44px !important;height:44px !important}
  html:has(.bn-more) [data-testid="ehuul-floating-actions"]{display:none}
}
/* v112z5b own visual language */
.bn-item.is-on::after{top:auto;bottom:3px;width:5px;height:5px;margin-left:-2.5px;border-radius:50%}
.bn-item.is-on{border-radius:16px}
@media(max-width:639px){
  [data-testid="ehuul-floating-actions"] .ant-float-btn{background:#082B50 !important;border:2px solid #E99A12 !important;border-radius:14px !important;box-shadow:0 6px 16px rgba(8,43,80,.25) !important}
  [data-testid="ehuul-floating-actions"] .ant-float-btn img{filter:brightness(0) invert(1)}
  [data-testid="ehuul-floating-actions"] .ant-float-btn-body{border-radius:12px !important}
  html.dark [data-testid="ehuul-floating-actions"] .ant-float-btn{background:#13325A !important;border-color:#D9A441 !important}
}

/* v112z9 mobile FAB */
.fab-m{display:none}
@media(max-width:639px){
  [data-testid="ehuul-floating-actions"] > .ant-float-btn-group{display:none !important}
  .fab-m{display:block}
  .fab-main{position:fixed;right:14px;bottom:calc(84px + env(safe-area-inset-bottom));z-index:1002;width:52px;height:52px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#082B50;color:#F2C46B;border:2px solid #E99A12;box-shadow:0 8px 20px rgba(8,43,80,.32);cursor:pointer;padding:0}
  .fab-scrim{position:fixed;inset:0;z-index:1000;background:rgba(6,20,39,.45)}
  .fab-menu{position:fixed;right:18px;bottom:calc(148px + env(safe-area-inset-bottom));z-index:1002;list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;align-items:flex-end}
  .fab-act{display:flex;align-items:center;gap:10px;background:none;border:0;padding:0;text-decoration:none;cursor:pointer;font:inherit}
  .fab-lbl{background:#fff;color:#0B2A4A;font-size:13.5px;font-weight:600;padding:7px 12px;border-radius:999px;box-shadow:0 4px 12px rgba(8,43,80,.18);white-space:nowrap}
  .fab-btn{width:44px;height:44px;flex:none;border-radius:50%;background:#fff;color:#082B50;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 4px 14px rgba(8,43,80,.22);border:1px solid #E1E6EC}
  html.dark .fab-main{background:#0B3A6B;border-color:#E99A12}
  html.dark .fab-lbl{background:#0E2744;color:#F5F8FC;border:1px solid #24456C}
  html.dark .fab-btn{background:#0E2744;color:#F2C46B;border-color:#24456C}
}

/* v112z9 bottom nav navy + Бусад panel + footer reaches nav */
@media(max-width:639px){
  body{padding-bottom:0 !important}
  footer.ehuul-ft{padding-bottom:calc(88px + env(safe-area-inset-bottom)) !important}
}
.bn-bar{background:#082B50 !important;border-top:1px solid rgba(233,154,18,.35) !important;box-shadow:0 -6px 18px rgba(6,20,39,.18) !important;padding:6px 4px calc(6px + env(safe-area-inset-bottom)) !important}
.bn-item{color:#C9D6E5 !important;min-width:0 !important;width:100%;padding:6px 2px !important;background:transparent !important}
.bn-item span{font-size:11px !important;max-width:100%;overflow:visible;letter-spacing:-.01em}
.bn-item.is-on{color:#E99A12 !important;background:rgba(233,154,18,.12) !important}
.bn-item.is-on::after{background:#E99A12 !important}
html.dark .bn-bar{background:#0B3A6B !important;border-top-color:rgba(242,196,107,.35) !important}
html.dark .bn-item{color:#D5E0EC !important}html.dark .bn-item.is-on{color:#F2C46B !important;background:rgba(242,196,107,.14) !important}
.bn-more-in{padding:16px 16px 28px}
.bm-h{margin:18px 2px 10px;font-size:16px;font-weight:700;color:#0B2A4A;text-transform:none;letter-spacing:0}
.bm-h:first-child{margin-top:4px}
.bm-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.bm-tile{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:14px 12px;min-height:96px;background:#fff;border:1px solid #E1E6EC;border-radius:16px;box-shadow:0 1px 2px rgba(16,24,40,.05);text-decoration:none;color:#0B2A4A}
.bm-ic{width:40px;height:40px;border-radius:12px;background:#EEF3F9;color:#0B3A6B;display:inline-flex;align-items:center;justify-content:center;flex:none}
.bm-ic.sm{width:34px;height:34px;border-radius:10px}
.bm-tl{font-size:13px;font-weight:600;line-height:1.3}
.bm-cta{display:flex;align-items:center;gap:12px;margin-top:14px;padding:14px 16px;border-radius:16px;background:#082B50;color:#fff;text-decoration:none}
.bm-cta-t{flex:1;display:flex;flex-direction:column;gap:2px}.bm-cta-t strong{font-size:15px}.bm-cta-t span{font-size:12.5px;color:#C9D6E5}
.bm-cta-b{flex:none;background:#E99A12;color:#082B50;font-weight:700;font-size:13.5px;padding:10px 14px;border-radius:999px;min-height:40px;display:inline-flex;align-items:center}
.bm-list{list-style:none;margin:0;padding:0;background:#fff;border:1px solid #E1E6EC;border-radius:16px;overflow:hidden}
.bm-list li+li{border-top:1px solid #EDF0F4}
.bm-row{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:8px 14px;background:none;border:0;text-decoration:none;color:#0B2A4A;font:inherit;font-size:15px;font-weight:500;cursor:pointer;text-align:left}
.bm-rl{flex:1;min-width:0}.bm-arr{color:#94A3B8;flex:none}
.bm-sw{width:42px;height:24px;border-radius:999px;background:#CBD5E1;position:relative;flex:none;transition:background .2s}.bm-sw i{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:left .2s}.bm-sw.on{background:#E99A12}.bm-sw.on i{left:21px}
.bn-more{background:#F3F5F8 !important;bottom:calc(66px + env(safe-area-inset-bottom)) !important}
html.dark .bn-more{background:#061427 !important}
html.dark .bm-h{color:#F5F8FC}html.dark .bm-tile,html.dark .bm-list{background:#0E2744;border-color:#24456C;box-shadow:none}html.dark .bm-tile,html.dark .bm-row{color:#F5F8FC}
html.dark .bm-ic{background:#13325A;color:#F2C46B}html.dark .bm-list li+li{border-color:#1C3B60}html.dark .bm-arr{color:#5E7A9C}
html.dark .bm-cta{background:#13325A;border:1px solid #D9A441}html.dark .bm-sw{background:#36577F}
@media(max-width:359px){.bm-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* v112z10 one logo scale, identical light/dark (box = h × 5.05, dark svg ratio) */
:root{--eh-lh:44px}
@media(max-width:1023px){:root{--eh-lh:40px}}
@media(max-width:639px){:root{--eh-lh:36px}}
@media(max-width:399px){:root{--eh-lh:32px}}
img.eh-logo{height:var(--eh-lh) !important;width:calc(var(--eh-lh) * 5.05) !important;max-width:100% !important;object-fit:contain !important;object-position:left center;flex:none;color:transparent}
img.eh-logo.eh-logo--c{object-position:center}
.eh-logo-row{flex-shrink:1}
.eh-logo-row > a{min-width:0;flex:0 1 auto}
.ha-card--modal img.eh-logo,.ha-info img.eh-logo{height:var(--eh-lh) !important;width:calc(var(--eh-lh) * 5.05) !important}
/* v112z11 logo specificity fix + light bottom nav white */
header img.eh-logo[src*="ehuul-logo-"],footer img.eh-logo[src*="ehuul-logo-"],img.eh-logo[src*="ehuul-logo-"]{height:var(--eh-lh) !important;width:calc(var(--eh-lh) * 5.05) !important;max-width:100% !important;max-height:none !important;object-fit:contain !important}
.bn-bar{background:#fff !important;border-top:1px solid #E1E6EC !important;box-shadow:0 -4px 14px rgba(8,43,80,.08) !important}
.bn-item{color:#082B50 !important}
.bn-item.is-on{color:#8F5A00 !important;background:#FFF4E0 !important}
.bn-item.is-on::after{background:#E99A12 !important}
html.dark .bn-bar{background:#0B3A6B !important;border-top-color:rgba(242,196,107,.35) !important;box-shadow:0 -6px 18px rgba(0,0,0,.25) !important}
html.dark .bn-item{color:#D5E0EC !important}html.dark .bn-item.is-on{color:#F2C46B !important;background:rgba(242,196,107,.14) !important}
/* v112z13 */
.bm-cta .bm-cta-t strong{color:#fff !important}
.bm-cta .bm-cta-t span{color:#D5E0EC !important}
.bn-more{bottom:0 !important}
.bn-more-in{padding-bottom:calc(96px + env(safe-area-inset-bottom)) !important}
html:not(.dark) .bn-bar{background:#fff !important}
html:not(.dark) .bn-item{color:#082B50 !important}
html:not(.dark) .bn-item.is-on{color:#8F5A00 !important;background:#FFF4E0 !important}
/* v112z13 light utility bar white */
html:not(.dark) [data-testid="portal-header"] > div:first-child{background:#fff !important;border-bottom:1px solid #E1E6EC !important}
html:not(.dark) [data-testid="portal-header"] > div:first-child :is(a,span,p,button,div){color:#082B50 !important}
html:not(.dark) [data-testid="portal-header"] > div:first-child a:not(.ehuul-topbar-links a),html:not(.dark) [data-testid="portal-header"] > div:first-child button{background:transparent !important}
html.dark [data-testid="portal-header"] > div:first-child{background:#0B3A6B !important}
/* v112z15 instant theme switch */
html.eh-no-tr *,html.eh-no-tr *::before,html.eh-no-tr *::after{transition:none !important;animation-duration:0s !important}
/* v112z16 */
.bm-cta{margin-bottom:16px !important}
/* v112z17 mobile page polish (<640) */
.ehv101-banner{border-left:0 !important;box-shadow:none !important}
@media (max-width:639px){
 main span.uppercase.text-primary,#app span.uppercase.text-primary:not(header *){text-transform:none !important;letter-spacing:0 !important;font-size:13px !important;font-weight:500 !important;color:#5B6B7F !important;line-height:1.4 !important}
 html.dark #app span.uppercase.text-primary:not(header *){color:#A9B8CC !important}
 #app div.flex.flex-wrap.gap-2:has(> button:nth-child(4)):not(header *){flex-wrap:nowrap !important;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;max-width:100%;padding:2px 0 4px}
 #app div.flex.flex-wrap.gap-2:has(> button:nth-child(4))::-webkit-scrollbar{display:none}
 #app div.flex.flex-wrap.gap-2:has(> button:nth-child(4)) > button{flex:none !important;white-space:nowrap !important;min-height:40px}
 #app input[type=search],#app input[type=text]:not(header *){font-size:16px !important;text-overflow:ellipsis}
 #app input::placeholder{text-overflow:ellipsis}
}
/* v112z17 footer bottom (mobile) */
@media (max-width:639px){
 footer.ehuul-ft .ehv104-social{justify-content:center}
 footer.ehuul-ft .ehuul-ft-legal{align-items:center !important;text-align:center;gap:10px !important;width:100%;padding:0 12px}
 footer.ehuul-ft .ehuul-v111-disclaimer{text-align:center;margin:0;font-size:13px;line-height:1.5}
 footer.ehuul-ft .ehuul-v111-legal{justify-content:center !important;gap:8px 18px !important}
 footer.ehuul-ft .ehuul-ft-copy{text-align:center;font-size:13px;opacity:1}
 footer.ehuul-ft{padding-bottom:calc(150px + env(safe-area-inset-bottom)) !important}
}
@media (max-width:639px){[data-testid="ehuul-floating-actions"]{border:0 !important;background:transparent !important;box-shadow:none !important;padding:0 !important}}
@media (max-width:639px){[data-test="f1-grid"]>*{flex-direction:column !important;gap:12px !important}[data-test="f1-grid"]>*>div:first-child{width:100% !important;min-width:0 !important;height:auto !important;min-height:0 !important;aspect-ratio:16/9}}

/* v112z30 phone popovers: keep profile + a11y panels inside the viewport */
@media (max-width:767px){
[data-testid="profile-dropdown-menu"],[data-testid="a11y-menu-panel"]{position:fixed!important;left:12px!important;right:12px!important;width:auto!important;max-width:calc(100vw - 24px)!important;top:calc(84px + env(safe-area-inset-top))!important;max-height:calc(100dvh - 168px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;z-index:1300!important;box-sizing:border-box;padding:16px!important}
}

body:has([data-testid="profile-dropdown-menu"]) [data-testid="ehuul-floating-actions"],body:has([data-testid="a11y-menu-panel"]) [data-testid="ehuul-floating-actions"]{display:none!important}

/* 114ai8: mobile FAB steps aside while scrolling and the page ends with room for it, so it never sits on content */
@media(max-width:639px){.fab-main{transition:opacity .15s,transform .15s}.fab-m.is-moving .fab-main{opacity:0;transform:translateY(12px);pointer-events:none}#ehuul-main{padding-bottom:calc(120px + env(safe-area-inset-bottom)) !important}}

/* v112z31 shared search field: 16px text (no iOS zoom) */
#app .esf input.esf-in{font-size:16px!important}

/* v114ai13 menu-audit: palette, touch targets, readability (no layout change) */
html.dark .bg-button-tertiary-bg.text-primary,
html.dark .bg-button-tertiary-bg .text-primary,
html.dark button.bg-button-tertiary-bg{background-color:#0E2744!important;border:1px solid #24456C;color:#F2F5F9!important}
html.dark [aria-label="Харагдацын өнгө солих"]{background-color:#0E2744!important;border:1px solid #24456C;color:#F2F5F9!important}
[aria-label="Харагдацын өнгө солих"],[data-testid="all-services-toggle"],[data-testid="a11y-menu-toggle"],[aria-label="Профайл · Миний хэсэг"],[aria-label="Мэдэгдэл"]{position:relative}
[aria-label="Харагдацын өнгө солих"]::after,[data-testid="all-services-toggle"]::after,[data-testid="a11y-menu-toggle"]::after,[aria-label="Профайл · Миний хэсэг"]::after,[aria-label="Мэдэгдэл"]::after{content:"";position:absolute;inset:-4px}
.ehuul-topbar-links a{min-height:32px;display:inline-flex;align-items:center}
@media(max-width:640px){.ehuul-topbar-links a{font-size:13px!important}}
.bn-item .tertiary-semibold{font-size:12px!important}
.hl-fmt{font-size:12px!important}
.rounded-full.text-\[11px\]{font-size:12px!important;border-radius:4px!important}
.flex.flex-col.min-w-0.break-all > p.sub-medium.text-text-muted.break-all{word-break:normal!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
p.sub-medium.text-text-muted.break-all.m-0{word-break:normal!important;overflow-wrap:normal!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%}
/* v118 menu-audit 2 */
/* 143: removed v118 flat search ring; gradient ring restored */
/* feature cards & help banner: flat split instead of soft fade */
html.dark .ehv99-card::after{background:linear-gradient(90deg,#123f70 0 40%,rgba(18,63,112,.55) 40% 100%)!important}
html.dark [data-testid="v42-professional-help"]>div:first-child>div[aria-hidden="true"]{background:linear-gradient(90deg,#0c2542 0 40%,rgba(12,37,66,.55) 40% 100%)!important}
/* profile banner: no statue/face photo */
.ehuul-profile-banner{background:#082B50 url(/images/ehuul/hero-m-sky-dark.svg?v=112y) repeat-x center bottom/auto 90px!important}
html.dark .ehuul-profile-banner{background:#0E2744 url(/images/ehuul/hero-m-sky-dark.svg?v=112y) repeat-x center bottom/auto 90px!important;border:1px solid #24456C}
/* /barimt type tabs: clear selected state, 44px */
div:has(> [data-testid=tab-ready-file])>button[aria-pressed]{min-height:44px}
div:has(> [data-testid=tab-ready-file])>button[aria-pressed="true"]{box-shadow:inset 0 -2px 0 #E99A12;font-weight:700}
html.dark div:has(> [data-testid=tab-ready-file])>button[aria-pressed="true"]{color:#F2F5F9!important}
/* /tsag-avah: equal mode buttons */
[data-test="df7-mode"]{display:grid!important;grid-template-columns:1fr 1fr;max-width:520px}
[data-test="df7-mode"]>a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:44px}

/* 143: removed 131 single flat hero override; layered Themis+buildings hero (112y) restored */

/* v132 menu-audit4: 2FA card head never clips badge; room for floating chat button on mobile */
.tfs-head>div{min-width:0;flex:1 1 auto}
.tfs-badge{flex:0 0 auto;line-height:20px}
html.dark .tfs-badge{background:#24456C;color:#E2E8F0}
html.dark .tfs-badge--on{background:#123D2A;color:#86EFAC}
@media (max-width:480px){.tfs{padding:16px;margin-bottom:72px}.tfs-head{flex-wrap:wrap;gap:8px}.tfs-btn{min-height:44px}}

/* v134 menu-audit4 C (citizen): dark-mode primary buttons visible on dark cards; dark switches on-state; 44px switch hit area; error page CTA on-palette */
html.dark a.bg-primary,html.dark button.bg-primary{background-color:#0B3A6B!important;box-shadow:inset 0 0 0 1px #4C79AA}
html.dark a.bg-primary:hover,html.dark button.bg-primary:hover{background-color:#124A85!important}
html.dark [role=switch][aria-checked=true]{background-color:#E99A12!important}
html.dark [role=switch][aria-checked=false]{background-color:#3A5675!important}
html.dark [role=switch]>span{background-color:#fff!important}
[role=switch].rounded-full{position:relative}[role=switch].rounded-full::after{content:'';position:absolute;left:-2px;right:-2px;top:-12px;bottom:-12px}
html.dark [data-error-status] a.bg-primary{background-color:#E99A12!important;color:#082B50!important;box-shadow:none}

/* v136 menu-audit4: header 'Зөвлөгөө захиалах' 44px tap target */
header a[href="/zovlogoo"].sub-medium,nav a[href="/zovlogoo"].sub-medium,a[href="/zovlogoo"].sub-medium{min-height:44px;display:inline-flex;align-items:center;justify-content:center}


/* tag139 utility bar: 44px mobile tap areas, visual size unchanged (padding + equal negative margin) */
@media (max-width:1023.98px){
  .ehuul-topbar-links{padding-block:6px;margin-block:-6px}
  .ehuul-topbar-links>a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;margin-block:-6px}
  .ehuul-topbar-links+div>div{padding-block:6px;margin-block:-6px}
  .ehuul-topbar-links+div>div>a{min-height:44px;padding-top:14px!important;padding-bottom:14px!important;margin-block:-6px}
}

/* v140 /keis minimal cards: full title + summary, no ellipsis */
.hl-case .hl-card__title,.hl-case .hl-card__desc{display:block;-webkit-line-clamp:unset;overflow:visible;text-overflow:clip}

/* v143: restore !important Tailwind utilities dropped when ehuul-base.css was purged (v112z29); copied verbatim from the pre-purge build */
.bottom-\[67px\]\!{bottom:67px!important}
.bottom-\[127px\]\!{bottom:127px!important}
.bottom-\[187px\]\!{bottom:187px!important}
.bottom-\[247px\]\!{bottom:247px!important}
.m-0\!{margin:0!important}
.mx-0\!{margin-inline:0!important}
.mb-0\!{margin-bottom:0!important}
.h-14\!{height:calc(var(--spacing) * 14)!important}
.w-9\!{width:calc(var(--spacing) * 9)!important}
.w-full\!{width:100%!important}
.grid-cols-1\!{grid-template-columns:repeat(1,minmax(0,1fr))!important}
.gap-0\!{gap:0!important}
.self-center\!{align-self:center!important}
.rounded-full\!{border-radius:3.40282e+38px!important}
.rounded-xl\!{border-radius:var(--radius-xl)!important}
.border-none\!{--tw-border-style:none!important;border-style:none!important}
.p-0\!{padding:0!important}
.p-4\!{padding:calc(var(--spacing) * 4)!important}
.px-2\!{padding-inline:calc(var(--spacing) * 2)!important}
.text-base\!{font-size:var(--text-base)!important;line-height:var(--tw-leading,var(--text-base--line-height))!important}
.leading-none\!{--tw-leading:1.5;line-height:1.5}
.text-white\!{color:var(--color-white)!important}
.placeholder-gray-400\!::placeholder{color:var(--color-gray-400)!important}
@media (min-width:40rem){.sm\:flex\!{display:flex!important}}
@media (min-width:40rem){.sm\:flex-row\!{flex-direction:row!important}}
@media (min-width:40rem){.sm\:justify-between\!{justify-content:space-between!important}}
@media (min-width:40rem){.sm\:px-6\!{padding-inline:calc(var(--spacing) * 6)!important}}
@media (min-width:40rem){.sm\:pb-0\!{padding-bottom:0!important}}
@media (min-width:40rem){.sm\:text-\[2rem\]\!{font-size:2rem!important}}
@media (min-width:48rem){.md\:grid-cols-2\!{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (min-width:48rem){.md\:flex-row\!{flex-direction:row!important}}
@media (min-width:48rem){.md\:px-6\!{padding-inline:calc(var(--spacing) * 6)!important}}
@media (min-width:48rem){.md\:px-20\!{padding-inline:calc(var(--spacing) * 20)!important}}
@media (min-width:64rem){.lg\:grid-cols-3\!{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (min-width:80rem){.xl\:flex\!{display:flex!important}}
@media (min-width:80rem){.xl\:grid-cols-2\!{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (min-width:80rem){.xl\:grid-cols-5\!{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media (min-width:80rem){.xl\:grid-rows-1\!{grid-template-rows:repeat(1,minmax(0,1fr))!important}}
@media (min-width:80rem){.xl\:flex-row\!{flex-direction:row!important}}
@media (min-width:80rem){.xl\:gap-2\!{gap:calc(var(--spacing) * 2)!important}}
@media (min-width:80rem){.xl\:px-2\!{padding-inline:calc(var(--spacing) * 2)!important}}
@media (min-width:80rem){.xl\:px-20\!{padding-inline:calc(var(--spacing) * 20)!important}}
@media (min-width:80rem){.xl\:text-2xl\!{font-size:var(--text-2xl)!important;line-height:var(--tw-leading,var(--text-2xl--line-height))!important}}
.border-border-secondary\!{border-color:var(--border-secondary)!important}
.border-border-tertiary\!{border-color:var(--border-tertiary)!important}
.bg-background\!{background-color:var(--background)!important}
.bg-button-secondary-bg\!{background-color:var(--button-secondary-bg)!important}
.bg-button-tertiary-bg\!{background-color:var(--button-tertiary-bg)!important}
.bg-primary\!{background-color:var(--primary)!important}
.text-foreground\!{color:var(--foreground)!important}
.text-primary\!{color:var(--primary)!important}
.text-text-muted\!{color:var(--text-muted)!important}
@media (hover:hover){.hover\:bg-button-tertiary-hover\!:hover{background-color:var(--button-tertiary-hover)!important}}
@media (hover:hover){.hover\:text-primary\!:hover{color:var(--primary)!important}}
.focus\:border-primary-dark-2\!:focus{border-color:var(--primary-dark-2)!important}
.focus\:text-primary-dark-2\!:focus{color:var(--primary-dark-2)!important}
.text-white\!{color:#fff!important}
@media (min-width: 640px) {.sm\:px-6\!{ padding-left: 1.5rem !important; padding-right: 1.5rem !important; padding-inline: 1.5rem !important; }}
@media (min-width: 640px) {.sm\:pb-0\!{ padding-bottom: 0px !important; }}
@media (min-width: 640px) {.sm\:flex\!{ display: flex !important; }}
@media (min-width: 768px) {.md\:px-20\!{ padding-left: 5rem !important; padding-right: 5rem !important; padding-inline: 5rem !important; }}
@media (min-width: 768px) {.md\:px-6\!{ padding-left: 1.5rem !important; padding-right: 1.5rem !important; padding-inline: 1.5rem !important; }}
@media (min-width: 1280px) {.xl\:px-20\!{ padding-left: 5rem !important; padding-right: 5rem !important; padding-inline: 5rem !important; }}
@media (min-width: 1280px) {.xl\:px-2\!{ padding-left: 0.5rem !important; padding-right: 0.5rem !important; padding-inline: 0.5rem !important; }}
@media (min-width: 1280px) {.xl\:flex\!{ display: flex !important; }}

/* 143: Busad panel - 24px above each group heading, 12px below (8pt grid) */
.bn-more .bm-h{margin:24px 2px 12px!important;display:block}
.bn-more .bm-in>.bm-h:first-child,.bn-more .bn-more-in>.bm-h:first-child{margin-top:4px!important}
/* 143: dark-mode toggle row is a normal row, not caught by the global [role=switch] fill (v134) */
html.dark .bn-more .bm-row[role=switch],html.dark .bn-more .bm-row[role=switch][aria-checked=true],html.dark .bn-more .bm-row[role=switch][aria-checked=false]{background:transparent!important;color:#F5F8FC!important;box-shadow:none!important}
html.dark .bn-more .bm-row[role=switch]::after{content:none!important}
html.dark .bn-more .bm-row[role=switch]>span.bm-ic{background:#13325A!important;color:#F2C46B!important}
html.dark .bn-more .bm-row[role=switch]>span.bm-rl{background:transparent!important;color:#F5F8FC!important}
html.dark .bn-more .bm-row[role=switch]>span.bm-sw{background:#36577F!important}
html.dark .bn-more .bm-row[role=switch]>span.bm-sw.on{background:#E99A12!important}
html.dark .bn-more .bm-sw i{background:#fff!important;box-shadow:0 1px 3px rgba(0,0,0,.35)}
/* v154: header search modal — white editorial panel; phones get a full-screen sheet sized to visualViewport */
.ehsx-overlay{position:fixed;inset:0;z-index:1003;background:rgba(8,43,80,.30);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;justify-content:center;align-items:flex-start;padding:min(12vh,120px) 16px 24px;overflow-y:auto;font-family:Gilroy,var(--font-sans,system-ui),sans-serif}
.ehsx-overlay .ehsx-panel{position:relative;width:744px;max-width:100%;background:#fff;border-radius:20px;padding:36px 40px 0;box-shadow:0 1px 0 rgba(8,43,80,.04),0 24px 64px -12px rgba(8,43,80,.28);display:flex;flex-direction:column;max-height:calc(100dvh - min(12vh,120px) - 24px);margin:0!important;gap:0!important}
.ehsx-head{display:flex;align-items:flex-start;gap:16px}
.ehsx-back{display:none}
.ehsx-titles{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.ehsx-eyebrow{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#B8770A}
.ehsx-title{margin:0;font-size:26px;line-height:1.2;font-weight:700;color:#082B50;letter-spacing:-.01em}
.ehsx-desc{font-size:14px;line-height:1.5;color:#64748B}
.ehsx-close{flex:0 0 40px;width:40px;height:40px;border-radius:999px;border:1px solid #E5E9EF;background:#fff;color:#475569;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.ehsx-close:hover{background:#F6F8FB;color:#082B50;border-color:#D5DCE5}
.ehsx-rule{height:1px;background:#EEF1F5;margin:24px 0}
.ehsx-rule i{display:block;width:48px;height:2px;margin-top:-.5px;background:#E99A12;border-radius:2px}
.ehsx-form{position:relative;display:flex;align-items:center;height:60px;border:1px solid #D9E0E8;border-radius:999px;background:#fff;padding:0 8px 0 56px;transition:border-color .15s,box-shadow .15s}
.ehsx-form:focus-within{border-color:#082B50;box-shadow:0 0 0 4px rgba(233,154,18,.16)}
.ehsx-ic{position:absolute;left:20px;top:50%;transform:translateY(-50%);color:#082B50;display:flex}
.ehsx-input{flex:1;min-width:0;height:100%;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;font-size:17px;font-weight:500;line-height:1.3;font-family:inherit;color:#0F172A;padding:0 8px 0 0}
.ehsx-input::placeholder{color:#94A3B8;font-weight:400}
.ehsx-input::-webkit-search-cancel-button{-webkit-appearance:none;display:none}
.ehsx-clear{flex:0 0 32px;width:32px;height:32px;border-radius:999px;border:0;background:#F1F4F8;color:#475569;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;margin-right:8px}
.ehsx-go{flex:0 0 auto;height:44px;padding:0 26px;border-radius:999px;border:0;background:#E99A12;color:#082B50;font-size:15px;font-weight:700;line-height:1;font-family:inherit;cursor:pointer;transition:background .15s}
.ehsx-go:hover{background:#D98B07}
.ehsx-go:focus-visible{outline:2px solid #082B50;outline-offset:2px}
.ehsx-list{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;margin:8px -16px 0;padding:8px 16px 24px}
.ehsx-sec{padding-top:16px}
.ehsx-sec-h{display:flex;align-items:center;justify-content:space-between;height:32px;padding:0 12px;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#64748B}
.ehsx-link{border:0;background:none;padding:4px 0;font-size:13px;font-weight:600;line-height:1;font-family:inherit;letter-spacing:0;text-transform:none;color:#082B50;cursor:pointer;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(233,154,18,.7)}
.ehsx-overlay .ehsx-row{display:flex!important;align-items:center;gap:14px;min-height:48px;padding:6px 12px!important;border-radius:12px!important;border:0!important;background:transparent!important;color:#0F172A!important;text-decoration:none!important;cursor:pointer;transition:background .12s}
.ehsx-overlay .ehsx-row:hover,.ehsx-overlay .ehsx-row.is-active{background:#F6F8FB!important}
.ehsx-overlay .ehsx-row.is-active{box-shadow:inset 2px 0 0 #E99A12}
.ehsx-row-ic{flex:0 0 32px;width:32px;height:32px;border-radius:10px;border:1px solid #E8ECF1;color:#082B50;display:inline-flex;align-items:center;justify-content:center;background:#fff}
.ehsx-row.is-active .ehsx-row-ic,.ehsx-row:hover .ehsx-row-ic{color:#B8770A;border-color:rgba(233,154,18,.45)}
.ehsx-row-t{flex:1;min-width:0;font-size:15px;line-height:1.35;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ehsx-row-go{color:#94A3B8;font-size:14px;opacity:0;transition:opacity .12s}
.ehsx-row:hover .ehsx-row-go,.ehsx-row.is-active .ehsx-row-go{opacity:1}
.ehsx-row-tag{flex:0 0 auto;font-size:12px;font-weight:600;color:#64748B;padding:4px 10px;border-radius:999px;border:1px solid #E8ECF1}
.ehsx-state{padding:32px 12px;text-align:center;font-size:14px;color:#64748B}
.ehsx-err p{margin:0 0 8px;color:#B42318}
.ehsx-foot{display:flex;align-items:center;gap:20px;height:52px;margin:0 -40px;padding:0 40px;border-top:1px solid #EEF1F5;font-size:12.5px;color:#64748B}
.ehsx-foot-r{margin-left:auto}
.ehsx-foot kbd{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;margin-right:4px;border:1px solid #DDE3EA;border-bottom-width:2px;border-radius:6px;background:#fff;font-size:11.5px;font-weight:600;line-height:1;font-family:inherit;color:#334155}
/* dark */
html.dark .ehsx-overlay{background:rgba(2,10,20,.55)}
html.dark .ehsx-overlay .ehsx-panel{background:#0E1E31;box-shadow:0 24px 64px -12px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.06)}
html.dark .ehsx-title{color:#F1F5F9}
html.dark .ehsx-eyebrow{color:#E9A93A}
html.dark .ehsx-desc,html.dark .ehsx-sec-h,html.dark .ehsx-state,html.dark .ehsx-foot,html.dark .ehsx-row-tag{color:#94A3B8}
html.dark .ehsx-close{background:transparent;border-color:rgba(255,255,255,.12);color:#CBD5E1}
html.dark .ehsx-close:hover{background:rgba(255,255,255,.06);color:#fff}
html.dark .ehsx-rule,html.dark .ehsx-foot{background-color:transparent;border-color:rgba(255,255,255,.08)}
html.dark .ehsx-rule{background:rgba(255,255,255,.08)}
html.dark .ehsx-form{background:#0B1828;border-color:rgba(255,255,255,.14)}
html.dark .ehsx-form:focus-within{border-color:#E99A12;box-shadow:0 0 0 4px rgba(233,154,18,.14)}
html.dark .ehsx-ic{color:#E9A93A}
html.dark .ehsx-input{color:#F1F5F9}
html.dark .ehsx-input::placeholder{color:#64748B}
html.dark .ehsx-clear{background:rgba(255,255,255,.08);color:#CBD5E1}
html.dark .ehsx-link{color:#E2E8F0}
html.dark .ehsx-overlay .ehsx-row{color:#E2E8F0!important}
html.dark .ehsx-overlay .ehsx-row:hover,html.dark .ehsx-overlay .ehsx-row.is-active{background:rgba(255,255,255,.05)!important}
html.dark .ehsx-row-ic{background:transparent;border-color:rgba(255,255,255,.12);color:#CBD5E1}
html.dark .ehsx-row-tag{border-color:rgba(255,255,255,.12)}
html.dark .ehsx-foot kbd{background:transparent;border-color:rgba(255,255,255,.18);color:#CBD5E1}
/* phones: full-screen sheet; height follows visualViewport so the keyboard never covers the input/list */
@media (max-width:640px){
  .ehsx-overlay{padding:0;align-items:stretch;overflow:hidden;background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;height:var(--ehs-vh,100dvh);top:var(--ehs-vt,0px);bottom:auto}
  html.dark .ehsx-overlay{background:#0E1E31}
  .ehsx-overlay .ehsx-panel{width:100%;max-width:none;height:100%;max-height:none;border-radius:0;box-shadow:none!important;padding:max(8px,env(safe-area-inset-top)) 16px 0}
  .ehsx-head{align-items:center;gap:4px;min-height:52px}
  .ehsx-back{display:inline-flex;flex:0 0 44px;width:44px;height:44px;margin-left:-8px;border:0;background:transparent;border-radius:999px;color:#082B50;align-items:center;justify-content:center;cursor:pointer}
  html.dark .ehsx-back{color:#F1F5F9}
  .ehsx-back:active{background:#F1F4F8}
  .ehsx-close{display:none}
  .ehsx-titles{gap:0}
  .ehsx-eyebrow,.ehsx-desc{display:none}
  .ehsx-title{font-size:18px}
  .ehsx-rule{margin:8px 0 12px}
  .ehsx-form{height:52px;padding:0 6px 0 46px}
  .ehsx-ic{left:16px}
  .ehsx-input{font-size:16px}
  .ehsx-go{height:40px;padding:0 18px;font-size:15px}
  .ehsx-list{margin:4px -16px 0;padding:0 8px calc(16px + env(safe-area-inset-bottom))}
  .ehsx-sec{padding-top:12px}
  .ehsx-overlay .ehsx-row{min-height:52px}
  .ehsx-foot{display:none}
}
html.ehsx-lock,html.ehsx-lock body{overflow:hidden}
.ehsx-overlay{z-index:2147483000!important}.ehsx-overlay .ehsx-sec-h[data-testid]{font-size:12px!important;font-weight:600!important;color:#64748B!important;padding:0 12px!important;margin:0!important}html.dark .ehsx-overlay .ehsx-sec-h[data-testid]{color:#94A3B8!important}
.ehsx-overlay .ehsx-panel{align-items:stretch!important;height:auto!important;min-height:0!important}
.ehsx-overlay [data-testid=suggested-searches-list],.ehsx-overlay [data-testid=unified-search-live-results]{border:0!important;border-radius:0!important;overflow:visible!important}
@media (max-width:640px){.ehsx-overlay .ehsx-panel{height:100%!important}.ehsx-overlay .ehsx-input{font-size:16px}}
/* v155: plainer editorial search modal (overrides v154) */
.ehsx-overlay .ehsx-panel{padding:32px 32px 16px}
.ehsx-top{display:flex;align-items:center;gap:8px}
.ehsx-top .ehsx-form{flex:1;min-width:0}
.ehsx-form:focus-within{border-color:#94A3B8;box-shadow:none}
.ehsx-ic{color:#94A3B8}
.ehsx-x{flex:0 0 40px;width:40px;height:40px;border:0;background:transparent;border-radius:999px;color:#64748B;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.ehsx-x:hover{background:#F1F5F9;color:#0F172A}
.ehsx-list{margin:16px -16px 0;padding:0 16px 16px}
.ehsx-sec{padding-top:16px}
.ehsx-sec-h,.ehsx-overlay .ehsx-sec-h[data-testid]{text-transform:none!important;letter-spacing:0!important;font-size:13px!important;font-weight:500!important;color:#64748B!important;height:32px}
.ehsx-overlay .ehsx-row{gap:12px;min-height:44px}
.ehsx-overlay .ehsx-row:hover,.ehsx-overlay .ehsx-row.is-active{background:#F3F5F8!important;box-shadow:none!important}
.ehsx-row-ic,.ehsx-row.is-active .ehsx-row-ic,.ehsx-row:hover .ehsx-row-ic{flex:0 0 16px;width:16px;height:16px;border:0!important;border-radius:0;background:transparent!important;color:#94A3B8!important}
.ehsx-row-t{font-weight:400}
.ehsx-row-tag{border:0;padding:0;font-weight:400;color:#94A3B8}
html.dark .ehsx-x{color:#94A3B8}
html.dark .ehsx-x:hover{background:rgba(255,255,255,.06);color:#fff}
html.dark .ehsx-form:focus-within{border-color:rgba(255,255,255,.3);box-shadow:none}
html.dark .ehsx-ic,html.dark .ehsx-row-ic{color:#64748B!important}
html.dark .ehsx-overlay .ehsx-sec-h[data-testid],html.dark .ehsx-sec-h{color:#94A3B8!important}
html.dark .ehsx-overlay .ehsx-row:hover,html.dark .ehsx-overlay .ehsx-row.is-active{background:rgba(255,255,255,.05)!important}
@media (max-width:640px){
  .ehsx-overlay .ehsx-panel{padding:max(12px,env(safe-area-inset-top)) 16px 0}
  .ehsx-x{flex-basis:44px;width:44px;height:44px;margin-right:-8px}
  .ehsx-list{margin-top:8px;padding:0 8px calc(16px + env(safe-area-inset-bottom))}
  .ehsx-overlay .ehsx-row{min-height:48px}
}
.ehsx-h{margin:0 0 24px;font-size:22px;line-height:1.3;font-weight:600;color:#082B50;letter-spacing:-.005em}
html.dark .ehsx-h{color:#F1F5F9}
@media (max-width:640px){.ehsx-h{font-size:17px;margin:4px 44px 12px 0}}

/* v158 item trust signals (quiet grey, like the news meta row) */
.eh-sig{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin-top:8px;font-size:12.5px;line-height:1.45;font-weight:500;color:#64748B}
.eh-sig__i{display:inline-flex;align-items:center;gap:4px;min-width:0}
.eh-sig__i svg{flex:0 0 auto;opacity:.85}
.eh-sig--detail{margin-top:6px;font-size:13px}
html.dark .eh-sig{color:#94A3B8}
.eh-free-gate{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border:1px solid var(--color-border-tertiary,#E2E8F0);border-radius:12px;background:var(--color-card-bg,#fff)}
.eh-free-gate p{margin:0;font-size:14.5px;line-height:1.5;color:inherit}
.eh-free-gate button{min-height:44px;padding:0 20px;border-radius:999px;font-weight:600;font-size:14.5px;cursor:pointer}

/* white-panels: light-mode surfaces pure white, neutral border + soft shadow (owner t800) */
html:not(.dark){--card-bg:#FFFFFF;--card:#FFFFFF;--card-bg-hover:#FFFFFF;--popover:#FFFFFF}
html:not(.dark) .bg-card{background-color:#FFFFFF !important}
html:not(.dark) .bg-card.border,html:not(.dark) .bg-card[class*="rounded-2xl"]{border-color:#E5E7EB;box-shadow:0 1px 3px rgba(15,23,42,.06)}
html:not(.dark) .bg-slate-50:not(body):not(main),html:not(.dark) .bg-indigo-50,html:not(.dark) .bg-violet-50,html:not(.dark) .bg-purple-50,html:not(.dark) .bg-pink-50,html:not(.dark) .bg-rose-50,html:not(.dark) .bg-fuchsia-50{background-color:#FFFFFF !important}
html:not(.dark) .bg-button-tertiary-bg:not(aside *):not(nav *):not(.w-full\!){background-color:#FFFFFF !important;box-shadow:inset 0 0 0 1px #E5E7EB}
html:not(.dark) .rounded-2xl.bg-background.border,html:not(.dark) .rounded-xl.bg-background.border{background-color:#FFFFFF !important;border-color:#E5E7EB;box-shadow:0 1px 3px rgba(15,23,42,.06)}
html:not(.dark) .hn-chip,html:not(.dark) .st-ic,html:not(.dark) .ha-seg{background-color:#FFFFFF !important;box-shadow:inset 0 0 0 1px #E5E7EB}

/* v235: /keis catalog cards show full law refs/outcome (no ellipsis); scoped to the keis grid only */
[data-testid="keis-catalog-grid"] .hl-rows dd{display:block;-webkit-line-clamp:unset;overflow:visible;text-overflow:clip}
