/* M293 — Screenshot-aligned mobile and desktop homepage polish.
 * Loaded only on the enabled managed front page. Does not alter portal or app screens.
 */
body.shk-managed-home-active .shk-public-header{
  background:#fff!important;color:#0b315c!important;border:0!important;
  box-shadow:0 3px 16px rgba(10,42,78,.08)!important;
}
body.shk-managed-home-active .shk-public-header-main{min-height:82px!important}
body.shk-managed-home-active .shk-header-tools{color:#0b315c!important}
body.shk-managed-home-active .shk-header-menu,
body.shk-managed-home-active .shk-header-search{color:#0b315c!important}
body.shk-managed-home-active .shk-header-menu span{color:#0b315c!important}
body.shk-managed-home-active .shk-header-search svg{stroke:#0b315c!important}
body.shk-managed-home-active .shk-header-account{
  background:#eef5fc!important;color:#0b315c!important;border:1px solid #d8e5f2!important;
}
body.shk-managed-home-active .shk-header-account svg{stroke:#0b315c!important}
body.shk-managed-home-active .shk-public-nav-wrap{background:#fff!important;border-top:1px solid #edf2f7!important}
body.shk-managed-home-active .shk-public-nav-link,
body.shk-managed-home-active .shk-home-language a{color:#123b68!important}
body.shk-managed-home-active .shk-m243-hero{border-radius:0 0 26px 26px!important}
body.shk-managed-home-active .shk-m243-hero-art.shk-m291-hero-image{overflow:hidden!important}
body.shk-managed-home-active .shk-m291-hero-image img{display:block!important;width:100%!important;height:100%!important}

/* Compact feature tiles maintain a single horizontal row on small screens. */
body.shk-managed-home-active .shk-home-section-quick_features .shk-feature-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
}
@media(max-width:767px){
  body.shk-managed-home-active .shk-public-header{padding:7px 12px!important}
  body.shk-managed-home-active .shk-public-header-main{min-height:64px!important;gap:7px!important}
  body.shk-managed-home-active .shk-brand-logo{flex:1 1 auto!important;min-width:0!important;text-align:left!important}
  body.shk-managed-home-active .shk-brand-logo .custom-logo-link img,
  body.shk-managed-home-active .shk-brand-logo img.custom-logo{
    max-width:min(100%,205px)!important;max-height:48px!important;object-fit:contain!important;
  }
  body.shk-managed-home-active .shk-header-tools{gap:4px!important}
  body.shk-managed-home-active .shk-header-menu{width:38px!important;min-width:38px!important;height:40px!important}
  body.shk-managed-home-active .shk-header-menu span{font-size:27px!important}
  body.shk-managed-home-active .shk-header-search{display:inline-flex!important;width:34px!important;height:38px!important}
  body.shk-managed-home-active .shk-header-search svg{width:23px!important;height:23px!important}
  body.shk-managed-home-active .shk-header-account{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}

  body.shk-managed-home-active .shk-m243-hero{
    position:relative!important;margin:0 0 14px!important;border-radius:0 0 19px 19px!important;
    overflow:hidden!important;
  }
  body.shk-managed-home-active .shk-m243-hero-inner{
    position:relative!important;display:block!important;padding:22px 17px 18px!important;
    min-height:0!important;
  }
  body.shk-managed-home-active .shk-m243-hero-copy{
    position:relative!important;z-index:2!important;max-width:none!important;
  }
  body.shk-managed-home-active .shk-m243-eyebrow{
    display:inline-flex!important;max-width:100%!important;margin:0 0 14px!important;
    padding:7px 10px!important;font-size:10px!important;letter-spacing:.045em!important;
    line-height:1.2!important;white-space:normal!important;
  }
  body.shk-managed-home-active .shk-m243-hero-copy h1{
    max-width:72%!important;font-size:clamp(25px,7.1vw,31px)!important;
    line-height:1.09!important;letter-spacing:-.025em!important;margin:0 0 12px!important;
  }
  body.shk-managed-home-active .shk-m243-lead{
    max-width:66%!important;font-size:13px!important;line-height:1.48!important;
  }
  body.shk-managed-home-active .shk-m243-hero-art.shk-m291-hero-image{
    position:absolute!important;z-index:1!important;right:-10px!important;top:23%!important;
    width:53%!important;height:47%!important;min-height:0!important;max-height:none!important;
    margin:0!important;border:1px solid rgba(255,255,255,.7)!important;
    border-radius:44% 0 0 22px!important;transform:none!important;
    box-shadow:0 10px 26px rgba(0,0,0,.2)!important;
  }
  body.shk-managed-home-active .shk-m291-hero-image img{
    width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;
    object-fit:cover!important;object-position:65% center!important;
  }
  body.shk-managed-home-active .shk-m291-image-caption{display:none!important}
  body.shk-managed-home-active .shk-m243-actions{
    position:relative!important;z-index:3!important;display:grid!important;
    grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;
    align-items:stretch!important;gap:8px!important;margin:19px 0 0!important;
  }
  body.shk-managed-home-active .shk-m243-hero .shk-m243-actions>a{
    width:100%!important;min-width:0!important;min-height:46px!important;
    padding:9px 8px!important;gap:5px!important;border-radius:11px!important;
    font-size:11px!important;line-height:1.2!important;text-align:center!important;
    white-space:normal!important;
  }
  body.shk-managed-home-active .shk-m243-proof{display:none!important}
  body.shk-managed-home-active .shk-m243-portals{padding:0 10px!important;margin:0 auto 14px!important}
  body.shk-managed-home-active .shk-home-section-quick_features{
    padding:12px 9px 16px!important;background:linear-gradient(180deg,#eef6ff,#fff)!important;
  }
  body.shk-managed-home-active .shk-home-section-quick_features h2{
    font-size:18px!important;line-height:1.2!important;margin:0 0 12px!important;
  }
  body.shk-managed-home-active .shk-home-section-quick_features .shk-feature-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;
  }
  body.shk-managed-home-active .shk-feature-tile{
    min-width:0!important;min-height:96px!important;padding:9px 4px!important;
    gap:6px!important;border-radius:13px!important;box-shadow:0 3px 10px rgba(22,55,90,.08)!important;
  }
  body.shk-managed-home-active .shk-feature-icon{
    width:35px!important;height:35px!important;border-radius:10px!important;
  }
  body.shk-managed-home-active .shk-feature-icon svg{width:26px!important;height:26px!important}
  body.shk-managed-home-active .shk-feature-tile strong{
    font-size:10px!important;line-height:1.15!important;overflow-wrap:anywhere!important;
  }
  body.shk-managed-home-active .shk-feature-tile small{display:none!important}
  body.shk-managed-home-active .shk-m291-promos{grid-template-columns:1fr!important}
}
@media(min-width:768px) and (max-width:1100px){
  body.shk-managed-home-active .shk-m243-hero-inner{gap:24px!important;padding:34px 28px!important}
  body.shk-managed-home-active .shk-m243-hero-copy h1{font-size:clamp(34px,4vw,46px)!important}
}
@media(prefers-reduced-motion:reduce){
  body.shk-managed-home-active .shk-feature-tile,
  body.shk-managed-home-active .shk-m243-hero .shk-m243-actions>a{transition:none!important}
}
