
/* V57 focused fixes: customer spacing, light hero, visible CTA, safe language modal */
:root{--ml57-ink:#111827;--ml57-muted:#667085;--ml57-line:#dbe7f4;--ml57-blue:#2563eb;--ml57-teal:#14b8a6;--ml57-bg:#f7fbff;--ml57-shadow:0 22px 70px rgba(30,64,120,.10)}
html,body{background:#f7fbff!important;color:var(--ml57-ink)}
.ml-public-header{position:fixed!important;top:16px!important;left:0!important;right:0!important;z-index:1040!important;background:transparent!important;border:0!important;box-shadow:none!important;pointer-events:none!important;padding:0!important}
.ml-public-header .container-wide{pointer-events:auto!important;width:min(100% - 32px,1260px)!important;margin:0 auto!important;background:#fff!important;border:1px solid var(--ml57-line)!important;border-radius:24px!important;box-shadow:0 18px 45px rgba(30,64,120,.12)!important;padding:8px 14px!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.ml-public-header .navbar{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important}.ml-public-header:before,.ml-public-header:after,.ml-public-header .container-wide:before,.ml-public-header .container-wide:after,.ml-public-header .navbar:before,.ml-public-header .navbar:after{display:none!important;content:none!important}.ml-public-header .nav-link{color:#344054!important;font-weight:800!important}.ml-public-header .nav-link:hover{background:#eef7ff!important;color:#0f67b1!important}.ml-public-header .navbar-brand img{max-height:42px!important}.btn-ml-primary{background:linear-gradient(135deg,#2563eb,#14b8a6)!important;color:#fff!important;border:0!important;box-shadow:0 14px 30px rgba(37,99,235,.18)!important}.btn-ml-soft{background:#f2f7ff!important;color:#111827!important;border:1px solid #e2edf9!important}.ml-lang-globe{background:#fff!important;border:1px solid #e2edf9!important;color:#111827!important;box-shadow:none!important}.ml-lang-globe:hover{background:#eef7ff!important;color:#0f67b1!important;transform:none!important}
/* keep public content below fixed header */
.ml-public-body{padding-top:0!important}.ml-public-body > .ml-hero52:first-of-type{margin-top:0!important}.ml-hero52{padding-top:140px!important;background:radial-gradient(circle at 78% 12%,rgba(20,184,166,.16),transparent 28%),radial-gradient(circle at 18% 18%,rgba(37,99,235,.12),transparent 30%),linear-gradient(180deg,#ffffff 0%,#f4faff 58%,#ffffff 100%)!important;color:var(--ml57-ink)!important;min-height:auto!important}.ml-hero52:before{display:none!important}.hero52-title{font-size:clamp(2.15rem,5vw,4.75rem)!important;line-height:1.02!important;letter-spacing:-.052em!important;color:var(--ml57-ink)!important}.hero52-title span{background:linear-gradient(90deg,#2563eb,#0f766e)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important}.hero52-text{color:#475467!important}.ml-kicker.light{color:#0f67b1!important;background:#eef7ff!important;border-color:#dbeafe!important}.btn-ml-outline{background:#fff!important;color:#111827!important;border:1px solid #cfe0f3!important;box-shadow:0 12px 28px rgba(30,64,120,.09)!important}.btn-ml-outline:hover{background:#eef7ff!important;color:#0f67b1!important;border-color:#9cc9ee!important}.hero52-actions .btn-ml-outline{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;padding:.9rem 1.35rem!important;border-radius:999px!important;text-decoration:none!important;font-weight:900!important}.dark-band{background:linear-gradient(135deg,#fff,#eef8ff 58%,#effdf8)!important;color:var(--ml57-ink)!important;border:1px solid var(--ml57-line)!important;box-shadow:var(--ml57-shadow)!important}.dark-band .text-white,.dark-band h2{color:var(--ml57-ink)!important}.dark-band .text-white-50,.dark-band p{color:#667085!important}.flow-card{background:#fff!important;color:var(--ml57-ink)!important;border:1px solid var(--ml57-line)!important}.flow-card p{color:#667085!important}.footer-v50{background:#f8fbff!important;color:var(--ml57-ink)!important;border-top:1px solid var(--ml57-line)!important}.footer-v50:before{display:none!important}.footer-v50 h3,.footer-v50 h6{color:var(--ml57-ink)!important}.footer-card{background:#fff!important;color:var(--ml57-ink)!important;border:1px solid var(--ml57-line)!important}.footer-card a,.footer-v50 a,.footer-v50 .text-white-50,.footer-card .text-white-50{color:#667085!important}.footer-brand img{filter:none!important}
/* customer pages: header must not cover content */
body.ml-customer-app{background:linear-gradient(180deg,#f9fcff,#eef7ff)!important;padding-top:138px!important}.ml-customer-app .container.py-4,.ml-customer-app .container.py-lg-5{padding-top:42px!important}.ml-customer-app .dashboard-hero{background:linear-gradient(135deg,#fff 0%,#eef8ff 58%,#effdf8 100%)!important;color:var(--ml57-ink)!important;border:1px solid var(--ml57-line)!important;box-shadow:var(--ml57-shadow)!important}.ml-customer-app .dashboard-hero h1,.ml-customer-app .dashboard-hero p,.ml-customer-app .dashboard-hero .text-white-50,.ml-customer-app .glass-stat,.ml-customer-app .glass-stat .text-white-50{color:var(--ml57-ink)!important}.ml-customer-app .glass-stat,.ml-customer-app .metric-card,.ml-customer-app .section-shell,.ml-customer-app .kpi-tile,.ml-customer-app .panel-card,.surface-note{background:#fff!important;border:1px solid var(--ml57-line)!important;color:var(--ml57-ink)!important;box-shadow:0 14px 38px rgba(30,64,120,.07)!important}.ml-customer-app .metric-card.gradient{background:linear-gradient(135deg,#eaf5ff,#effdf8)!important;color:var(--ml57-ink)!important}.ml-customer-app .metric-card.gradient *{color:var(--ml57-ink)!important}.customer-sidebar{top:140px!important}.customer-sidebar .list-group-item.active{background:linear-gradient(135deg,#2563eb,#14b8a6)!important;color:#fff!important}
/* Auth pages keep simple */
.ml-auth-body{background:linear-gradient(180deg,#f9fcff,#eef7ff)!important;padding-top:112px!important}.auth-shell{min-height:calc(100vh - 120px)!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:38px 16px 50px!important}.auth-surface.v53-auth{width:min(100%,500px)!important;max-width:500px!important;border-radius:26px!important;background:#fff!important;border:1px solid var(--ml57-line)!important;box-shadow:0 28px 80px rgba(30,64,120,.12)!important;overflow:visible!important}.auth-surface.v53-auth .row{display:block!important}.auth-surface.v53-auth .col-lg-6:first-child{display:none!important}.auth-surface.v53-auth .col-lg-6{width:100%!important;max-width:100%!important}.auth-v53-form{padding:30px!important}.auth-v53-form h2{font-size:clamp(1.55rem,4vw,2.05rem)!important;line-height:1.12!important}.auth-v53-form .form-control-lg{font-size:1rem!important;padding:12px 14px!important}.auth-v53-form .btn-lg{font-size:1rem!important;padding:12px 15px!important}
/* safe language modal: hidden until opened, no raw content */
.ml-language-modal{position:fixed!important;inset:0!important;z-index:999999!important;display:none!important;align-items:center!important;justify-content:center!important;background:rgba(15,23,42,.42)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;padding:24px!important}.ml-language-modal.is-open{display:flex!important}.ml-language-dialog{position:relative!important;width:min(560px,calc(100vw - 32px))!important;max-height:calc(100vh - 48px)!important;overflow:auto!important;background:#fff!important;border:1px solid var(--ml57-line)!important;border-radius:26px!important;box-shadow:0 35px 120px rgba(15,23,42,.24)!important;padding:28px!important;color:var(--ml57-ink)!important}.ml-language-close{position:absolute!important;right:14px!important;top:14px!important;width:38px!important;height:38px!important;border-radius:50%!important;border:1px solid var(--ml57-line)!important;background:#fff!important;color:#132033!important}.ml-language-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin-top:18px!important}.ml-language-grid button{border:1px solid var(--ml57-line)!important;border-radius:18px!important;background:#f8fbff!important;padding:14px!important;text-align:left!important;color:var(--ml57-ink)!important}.ml-language-grid button.active{border-color:#2563eb!important;background:#eaf5ff!important}.ml-language-grid strong{display:block!important}.ml-language-grid span{display:block!important;color:#667085!important;font-size:.82rem!important;margin-top:3px!important}body .skiptranslate,body iframe.goog-te-banner-frame{display:none!important}.goog-te-gadget{font-size:0!important}.goog-te-combo{display:none!important}body{top:0!important}
/* site panel popup safe + lighter panels */
.site-panel-body.ml-site-panel-modern{background:linear-gradient(180deg,#f9fcff,#eef7ff)!important;color:var(--ml57-ink)!important}.site-panel-topbar{background:#fff!important;border-bottom:1px solid var(--ml57-line)!important;box-shadow:0 10px 34px rgba(30,64,120,.08)!important}.site-panel-topbar .brand,.site-panel-topbar .meta{color:var(--ml57-ink)!important}.site-panel-topbar .btn-outline-light{color:#111827!important;border-color:#cfe0f3!important}.site-panel-topbar .btn-light{background:#f2f7ff!important}.site-panel-body .dashboard-hero{background:linear-gradient(135deg,#fff,#eef8ff 58%,#effdf8)!important;color:var(--ml57-ink)!important;border:1px solid var(--ml57-line)!important;box-shadow:var(--ml57-shadow)!important}.site-panel-body .dashboard-hero h1,.site-panel-body .dashboard-hero p,.site-panel-body .dashboard-hero .text-white-50,.site-panel-body .glass-stat,.site-panel-body .glass-stat .text-white-50{color:var(--ml57-ink)!important}.site-panel-body .glass-stat{background:#fff!important;border:1px solid var(--ml57-line)!important}
@media(max-width:991.98px){.ml-public-header{top:10px!important}.ml-public-header .container-wide{width:min(100% - 20px,760px)!important}.ml-hero52{padding-top:122px!important}body.ml-customer-app{padding-top:122px!important}.ml-customer-app .container.py-4,.ml-customer-app .container.py-lg-5{padding-top:28px!important}.ml-language-grid{grid-template-columns:1fr!important}.customer-sidebar{top:0!important}}
