/* M302 — Right-edge labelled feature rail and visible account icon.
 * Scoped to the managed public homepage; preserves existing action URLs and handlers.
 */
body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m243-hero-inner{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(154px,184px)!important;
  grid-template-areas:"copy icons" "actions actions"!important;
  align-items:start!important;column-gap:clamp(12px,2vw,24px)!important;
  row-gap:18px!important;padding:30px 12px 38px 22px!important;
  box-sizing:border-box!important;
}
body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m243-hero-copy{
  grid-area:copy!important;min-width:0!important;width:auto!important;
  max-width:none!important;align-self:start!important;
}
body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature-rail{
  grid-area:icons!important;display:flex!important;flex-direction:column!important;
  align-items:stretch!important;justify-content:flex-start!important;
  width:100%!important;min-width:0!important;margin:0 0 0 auto!important;
  padding:0!important;gap:12px!important;align-self:start!important;
}
body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature{
  display:flex!important;flex-direction:row!important;align-items:center!important;
  justify-content:flex-start!important;gap:9px!important;width:100%!important;
  min-width:0!important;min-height:76px!important;height:auto!important;
  flex:0 0 auto!important;padding:10px!important;border-radius:16px!important;
  box-sizing:border-box!important;text-align:left!important;
  border:1px solid rgba(22,86,140,.12)!important;
  box-shadow:0 5px 14px rgba(16,70,117,.08)!important;
}
body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature-symbol{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:38px!important;height:38px!important;flex:0 0 38px!important;
}
body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature-symbol svg{
  display:block!important;width:100%!important;height:100%!important;
  fill:none!important;stroke:currentColor!important;stroke-width:2.1!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
}
body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature-copy{
  display:flex!important;flex-direction:column!important;gap:4px!important;
  min-width:0!important;text-align:left!important;
}
body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature-copy strong{
  display:block!important;font-size:13px!important;line-height:1.15!important;
  font-weight:800!important;color:#123A60!important;overflow-wrap:anywhere!important;
}
body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature-copy small{
  display:block!important;font-size:10px!important;line-height:1.28!important;
  font-weight:500!important;color:#496477!important;overflow-wrap:anywhere!important;
}
body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m300-school{color:#0877D1!important;background:linear-gradient(145deg,#EAF6FF,#fff)!important}
body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m300-classroom{color:#F47721!important;background:linear-gradient(145deg,#FFF2E8,#fff)!important}
body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m300-reports{color:#159447!important;background:linear-gradient(145deg,#EAF9EF,#fff)!important}
body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m300-ai{color:#7542C8!important;background:linear-gradient(145deg,#F3EDFF,#fff)!important}
body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m243-actions{
  grid-area:actions!important;display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;width:100%!important;margin:8px 0 0!important;
}
body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m243-actions>a{
  width:100%!important;min-width:0!important;max-width:100%!important;
}
@media(max-width:767px){
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m243-hero-inner{
    grid-template-columns:minmax(0,1fr) minmax(145px,158px)!important;
    grid-template-areas:"copy icons" "actions actions"!important;
    column-gap:9px!important;row-gap:14px!important;
    padding:25px 8px 36px 13px!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m243-hero-copy h1{
    font-size:clamp(23px,5.6vw,31px)!important;line-height:1.08!important;
    margin-top:0!important;overflow:visible!important;letter-spacing:-.035em!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m243-lead{
    font-size:clamp(11px,2.9vw,13px)!important;line-height:1.45!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature-rail{
    gap:9px!important;width:100%!important;margin-right:0!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature{
    min-height:72px!important;padding:8px 7px!important;gap:7px!important;
    border-radius:14px!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature-symbol{
    width:30px!important;height:30px!important;flex-basis:30px!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature-copy strong{
    font-size:11px!important;line-height:1.12!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature-copy small{
    font-size:9px!important;line-height:1.2!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m243-actions{
    grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;gap:8px!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m243-actions>a{
    min-height:46px!important;padding:8px 6px!important;font-size:10px!important;
    line-height:1.2!important;white-space:normal!important;text-align:center!important;
  }
}
@media(max-width:380px){
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m243-hero-inner{
    grid-template-columns:minmax(0,1fr) minmax(132px,142px)!important;
    column-gap:7px!important;padding-left:10px!important;padding-right:6px!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature{
    min-height:68px!important;padding:7px 5px!important;gap:5px!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature-symbol{
    width:26px!important;height:26px!important;flex-basis:26px!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature-copy strong{font-size:10px!important}
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature-copy small{font-size:8px!important}
}
/* Account icon: saffron orange glyph on a light-blue button. */
body.shk-managed-home-active .shk-public-header .shk-header-account{
  color:#F58220!important;background:#E8F4FF!important;
  border:1px solid #C9E4FA!important;
}
body.shk-managed-home-active .shk-public-header .shk-header-account svg,
body.shk-managed-home-active .shk-public-header .shk-header-account svg path,
body.shk-managed-home-active .shk-public-header .shk-header-account svg circle{
  color:#F58220!important;stroke:#F58220!important;fill:none!important;
}
