/* The same responsive gutter on every tool. Printed/exported documents keep their own sizes. */
.hc-core-language{box-sizing:border-box;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;width:100%;padding:12px clamp(12px,2vw,32px);margin:0 auto;background:#f1f5fb;border-bottom:1px solid #cbd5e1;color:#183b64;font:600 15px/1.5 system-ui,"Noto Sans Devanagari",sans-serif}
.hc-core-language>span{margin-right:auto}.hc-core-language button{appearance:none!important;display:inline-flex!important;align-items:center;justify-content:center;min-width:76px;min-height:44px;margin:0!important;padding:8px 14px!important;border:1px solid #9bacc1!important;border-radius:8px!important;background:#fff!important;color:#143d76!important;font:700 15px/1.4 system-ui,"Noto Sans Devanagari",sans-serif!important;cursor:pointer}
.hc-core-language button[aria-pressed=true]{background:#1659c7!important;color:#fff!important;border-color:#1659c7!important}.hc-core-language button:focus-visible{outline:3px solid #f59e0b!important;outline-offset:3px}
@media screen{
body.hc-core-tools{--hc-core-gutter:clamp(12px,2vw,32px)}
html body.hc-core-tools .hc-core-width-ancestor.hc-core-width-ancestor{width:100%!important;max-width:none!important;min-width:0!important;left:auto!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box!important;float:none!important}
html body.hc-core-tools .hc-core-tool-root.hc-core-tool-root{position:relative;left:auto!important;width:calc(100% - var(--hc-core-gutter)*2)!important;max-width:none!important;min-width:0!important;margin-left:var(--hc-core-gutter)!important;margin-right:var(--hc-core-gutter)!important;box-sizing:border-box!important}
body.hc-core-tools .hc-core-tool-root :where(.hcst-app,.hcg-app,.hc-horo-shell){width:100%!important;max-width:none!important;min-width:0}
body.hc-core-tools :where(.hnu,.hjp,.hpm,.hpe,.hpwc,.hc-pdf,.hcst-app,.hcpe-app,.hcfx) input,body.hc-core-tools :where(.hnu,.hjp,.hpm,.hpe,.hpwc,.hc-pdf,.hcst-app,.hcpe-app,.hcfx) select{max-width:100%;min-width:0}
body.hc-core-tools .loan-calculator{padding:clamp(16px,3vw,32px);border:1px solid #d4deeb;border-radius:16px;background:white;color:#183452}
body.hc-core-tools .loan-calculator label{width:auto;max-width:100%;display:block}
body.hc-core-tools .loan-calculator input{box-sizing:border-box;width:100%;min-width:0}
body.hc-core-tools .loan-calculator button{min-height:44px;background:#1659c7;color:#fff}
body.hc-core-tools :where(.hnu-hero,.hjp-hero,.hpe-hero,.hpm-hero,.hcst-hero,.hcg-hero) :where(h1,h2,p){color:#fff!important}
@media(max-width:600px){body.hc-core-tools .hcst-qr-card [data-qr-output]{min-width:0;width:100%}body.hc-core-tools .hcst-split{grid-template-columns:minmax(0,1fr)}body.hc-core-tools .hcst-result-grid{grid-template-columns:minmax(0,1fr)}.hc-core-language{font-size:13px;gap:6px}}
}
@media print{.hc-core-language{display:none!important}}

@media screen{body.hc-core-tools .td-main-sidebar{display:none!important}}
/* Native controls remain internal adapters; the header is the only visible language setting. */
button[data-home-language],button[data-hcg-language],button[data-horo-language],button[data-language="ne"],button[data-language="en"],.hcfx button[data-lang],#hc404 #hc-lang,.hc-home-language,.hcg-language,.hc-cal-language,.hc-dc-language,.hcw-language,.hc-horo-language{display:none!important}
html:not([data-hc-language=en]) [data-hc-copy=en],html[data-hc-language=en] [data-hc-copy=ne]{display:none!important}
