/*
 * Shared mobile navigation finish for every Sales & Marketing and Operations role.
 * Access remains controlled by core/access-registry.js; this file changes presentation only.
 */
@media (max-width:768px){
  body.employee-mobile-home-view,
  body.employee-mobile-home-view button,
  body.employee-mobile-home-view input,
  body.employee-mobile-home-view select,
  body.employee-mobile-home-view textarea{
    font-family:var(--app-type-family,"Poppins",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)!important;
  }

  body.employee-mobile-home-view #mobile-header-bar{
    position:sticky!important;
    top:0!important;
    z-index:1000!important;
    min-height:82px!important;
    padding:10px 17px!important;
    background:#fff!important;
    border-bottom:1px solid #e5eaf1!important;
    box-shadow:0 2px 10px rgba(15,34,66,.035)!important;
  }
  body.employee-mobile-home-view #mobile-header-bar .mobile-brand{
    align-items:center!important;
    gap:12px!important;
    max-width:calc(100% - 96px)!important;
  }
  body.employee-mobile-home-view #mobile-header-bar .mobile-brand img{
    width:126px!important;
    max-width:35vw!important;
    height:auto!important;
  }
  body.employee-mobile-home-view #mobile-header-bar .mobile-brand-text{
    position:relative;
    padding:0 0 0 13px!important;
  }
  body.employee-mobile-home-view #mobile-header-bar .mobile-brand-text::before{
    content:'';
    position:absolute;
    left:0;
    top:50%;
    width:1px;
    height:34px;
    background:#d8e0eb;
    transform:translateY(-50%);
  }
  body.employee-mobile-home-view #mobile-header-bar .mhb-title{
    color:#0c1c49!important;
    font-size:13px!important;
    font-weight:var(--app-type-weight-semibold,650)!important;
    letter-spacing:0!important;
    text-transform:uppercase!important;
  }
  body.employee-mobile-home-view #mhb-logout-btn{
    min-width:78px!important;
    min-height:40px!important;
    height:40px!important;
    padding:7px 13px!important;
    border:0!important;
    border-radius:12px!important;
    background:linear-gradient(135deg,#2d70f4,#315bea)!important;
    box-shadow:0 8px 18px rgba(38,97,235,.22)!important;
    font-size:12px!important;
    font-weight:var(--app-type-weight-semibold,650)!important;
  }

  body.employee-mobile-home-view .main-content{
    min-height:calc(100vh - 82px)!important;
    padding:22px 16px calc(104px + env(safe-area-inset-bottom,0px))!important;
    background:linear-gradient(180deg,#f5faff 0,#fff 52%,#f8fbff 100%)!important;
  }
  body.employee-mobile-home-view .main-content::before{
    display:none!important;
    background:none!important;
  }
  body.employee-mobile-home-view .main-content::after{
    background-image:none!important;
  }

  body.employee-mobile-home-view #page-heading-row{
    min-height:112px!important;
    margin:0 0 22px!important;
  }
  body.employee-mobile-home-view #page-heading-copy-wrap{gap:15px!important}
  body.employee-mobile-home-view #page-user-photo{
    width:82px!important;
    height:82px!important;
    flex-basis:82px!important;
    border-width:4px!important;
    font-size:23px!important;
  }
  body.employee-mobile-home-view #page-title>span:first-child{
    margin-bottom:4px!important;
    color:#5e6980!important;
    font-size:15px!important;
    font-weight:400!important;
  }
  body.employee-mobile-home-view #page-title>span:last-child{
    color:#0b1c48!important;
    font-size:22px!important;
    font-weight:var(--app-type-weight-semibold,650)!important;
    letter-spacing:.005em!important;
  }
  body.employee-mobile-home-view #page-designation{
    color:#13234d!important;
    font-size:14px!important;
    font-weight:var(--app-type-weight-medium,500)!important;
  }
  body.employee-mobile-home-view #page-date{
    color:#6b758b!important;
    font-size:12px!important;
    font-weight:400!important;
  }

  body.employee-mobile-home-view .employee-portal-launcher{
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
  }
  body.employee-mobile-home-view .employee-portal-launcher::before{display:none!important}
  body.employee-mobile-home-view .employee-portal-launcher .mobile-launcher-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
  }
  body.employee-mobile-home-view .employee-portal-launcher .mobile-launcher-tile{
    --portal-accent:#2388f4;
    position:relative!important;
    isolation:isolate!important;
    aspect-ratio:auto!important;
    min-height:206px!important;
    padding:25px 24px 24px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:space-between!important;
    gap:16px!important;
    overflow:hidden!important;
    border:1px solid #cce5fb!important;
    border-radius:22px!important;
    background:
      radial-gradient(circle at 100% 100%,transparent 0 25px,rgba(75,166,248,.10) 26px 39px,transparent 40px 48px,rgba(75,166,248,.07) 49px 58px,transparent 59px),
      linear-gradient(145deg,#f7fcff,#e8f5ff)!important;
    box-shadow:0 12px 28px rgba(23,71,125,.08)!important;
    text-align:left!important;
  }
  body.employee-mobile-home-view .employee-portal-launcher .mobile-launcher-tile[data-launcher-id="sales-home"]{
    --portal-accent:#7842eb;
    border-color:#ddd0ff!important;
    background:radial-gradient(circle at 100% 100%,transparent 0 25px,rgba(135,86,238,.10) 26px 39px,transparent 40px 48px,rgba(135,86,238,.07) 49px 58px,transparent 59px),linear-gradient(145deg,#fcfaff,#f0ebff)!important;
  }
  body.employee-mobile-home-view .employee-portal-launcher .mobile-launcher-tile[data-launcher-id="ta-da-home"]{
    --portal-accent:#f26736;
    border-color:#f6dec8!important;
    background:radial-gradient(circle at 100% 100%,transparent 0 25px,rgba(250,139,58,.11) 26px 39px,transparent 40px 48px,rgba(250,139,58,.07) 49px 58px,transparent 59px),linear-gradient(145deg,#fffdf9,#fff2e4)!important;
  }
  body.employee-mobile-home-view .employee-portal-launcher .mobile-launcher-tile[data-launcher-id="marketing-home"]{
    --portal-accent:#12aa62;
    border-color:#ccebd9!important;
    background:radial-gradient(circle at 100% 100%,transparent 0 25px,rgba(34,197,113,.10) 26px 39px,transparent 40px 48px,rgba(34,197,113,.07) 49px 58px,transparent 59px),linear-gradient(145deg,#f9fffb,#eaf9f0)!important;
  }
  body.employee-mobile-home-view .employee-portal-launcher .mobile-launcher-tile::before,
  body.employee-mobile-home-view .employee-portal-launcher .mobile-launcher-tile::after{
    display:none!important;
  }
  body.employee-mobile-home-view .employee-portal-launcher .mobile-launcher-icon{
    box-sizing:border-box!important;
    width:104px!important;
    min-width:104px!important;
    max-width:104px!important;
    height:104px!important;
    min-height:104px!important;
    max-height:104px!important;
    flex:0 0 104px!important;
    aspect-ratio:1/1!important;
    display:grid!important;
    place-items:center!important;
    opacity:1!important;
    border-radius:28px!important;
    color:var(--portal-accent)!important;
    background:rgba(255,255,255,.62)!important;
    box-shadow:inset 0 1px 0 #fff,0 8px 19px rgba(28,58,94,.04)!important;
  }
  body.employee-mobile-home-view .employee-portal-launcher .mobile-launcher-svg{
    width:84px!important;
    height:84px!important;
    flex:0 0 84px!important;
    transform:none!important;
  }
  body.employee-mobile-home-view .employee-portal-launcher .mobile-launcher-copy{
    position:relative!important;
    z-index:1!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  body.employee-mobile-home-view .employee-portal-launcher .mobile-launcher-name{
    color:#0b1c48!important;
    font-size:15px!important;
    line-height:1.18!important;
    font-weight:var(--app-type-weight-medium,500)!important;
    letter-spacing:-.015em!important;
  }
  body.employee-mobile-home-view .employee-portal-launcher .mobile-launcher-subtitle{display:none!important}
  body.employee-mobile-home-view .employee-portal-launcher .mobile-launcher-badge{z-index:2!important}

  body.employee-mobile-home-view .hrms-nav-tile-page{
    padding:20px!important;
    border:1px solid #e1e9f3!important;
    border-radius:24px!important;
    background:rgba(255,255,255,.9)!important;
    box-shadow:0 16px 34px rgba(30,66,109,.08)!important;
  }
  body.employee-mobile-home-view .hrms-nav-tile-page::before{
    display:none!important;
    content:none!important;
    background:none!important;
  }
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-eyebrow{
    font-size:12px!important;
    font-weight:var(--app-type-weight-semibold,650)!important;
    letter-spacing:.1em!important;
  }
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-title{
    font-size:21px!important;
    font-weight:var(--app-type-weight-regular,400)!important;
    letter-spacing:-.01em!important;
  }
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-tile,
  body.employee-mobile-home-view .nav-group-sales .mobile-launcher-tile,
  body.employee-mobile-home-view .nav-group-ta-da .mobile-launcher-tile,
  body.employee-mobile-home-view .nav-group-marketing .mobile-launcher-tile{
    --inside-accent:#2388f4;
    grid-column:auto!important;
    position:relative!important;
    isolation:isolate!important;
    min-height:166px!important;
    padding:19px 17px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:space-between!important;
    gap:14px!important;
    overflow:hidden!important;
    border:1px solid #cce5fb!important;
    border-radius:20px!important;
    background:radial-gradient(circle at 100% 100%,transparent 0 20px,rgba(75,166,248,.10) 21px 32px,transparent 33px 40px,rgba(75,166,248,.07) 41px 49px,transparent 50px),linear-gradient(145deg,#f7fcff,#e8f5ff)!important;
    box-shadow:0 10px 24px rgba(23,71,125,.07)!important;
    text-align:left!important;
  }
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-tile.tone-cyan{
    --inside-accent:#08a3bd;
    border-color:#bcebf2!important;
    background:radial-gradient(circle at 100% 100%,transparent 0 20px,rgba(17,181,207,.10) 21px 32px,transparent 33px 40px,rgba(17,181,207,.07) 41px 49px,transparent 50px),linear-gradient(145deg,#f5fdff,#e5f9fc)!important;
  }
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-tile.tone-violet,
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-tile.tone-indigo,
  body.employee-mobile-home-view .nav-group-sales .mobile-launcher-tile{
    --inside-accent:#7842eb;
    border-color:#ddd0ff!important;
    background:radial-gradient(circle at 100% 100%,transparent 0 20px,rgba(135,86,238,.10) 21px 32px,transparent 33px 40px,rgba(135,86,238,.07) 41px 49px,transparent 50px),linear-gradient(145deg,#fcfaff,#f0ebff)!important;
  }
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-tile.tone-amber,
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-tile.tone-orange,
  body.employee-mobile-home-view .nav-group-ta-da .mobile-launcher-tile{
    --inside-accent:#f26736;
    border-color:#f6dec8!important;
    background:radial-gradient(circle at 100% 100%,transparent 0 20px,rgba(250,139,58,.11) 21px 32px,transparent 33px 40px,rgba(250,139,58,.07) 41px 49px,transparent 50px),linear-gradient(145deg,#fffdf9,#fff2e4)!important;
  }
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-tile.tone-green,
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-tile.tone-emerald,
  body.employee-mobile-home-view .nav-group-marketing .mobile-launcher-tile{
    --inside-accent:#12aa62;
    border-color:#ccebd9!important;
    background:radial-gradient(circle at 100% 100%,transparent 0 20px,rgba(34,197,113,.10) 21px 32px,transparent 33px 40px,rgba(34,197,113,.07) 41px 49px,transparent 50px),linear-gradient(145deg,#f9fffb,#eaf9f0)!important;
  }
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-tile.tone-rose,
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-tile.tone-red{
    --inside-accent:#ec3f78;
    border-color:#f7cad8!important;
    background:radial-gradient(circle at 100% 100%,transparent 0 20px,rgba(244,75,126,.10) 21px 32px,transparent 33px 40px,rgba(244,75,126,.07) 41px 49px,transparent 50px),linear-gradient(145deg,#fffafd,#fff0f5)!important;
  }
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-tile.tone-slate{
    --inside-accent:#60708a;
    border-color:#d9e1eb!important;
    background:radial-gradient(circle at 100% 100%,transparent 0 20px,rgba(100,116,139,.09) 21px 32px,transparent 33px 40px,rgba(100,116,139,.06) 41px 49px,transparent 50px),linear-gradient(145deg,#fbfcfe,#f0f4f8)!important;
  }
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-tile::before,
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-tile::after{
    display:none!important;
  }
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-icon{
    box-sizing:border-box!important;
    width:76px!important;
    min-width:76px!important;
    max-width:76px!important;
    height:76px!important;
    min-height:76px!important;
    max-height:76px!important;
    flex:0 0 76px!important;
    aspect-ratio:1/1!important;
    display:grid!important;
    place-items:center!important;
    border-radius:22px!important;
    color:var(--inside-accent)!important;
    background:rgba(255,255,255,.68)!important;
    box-shadow:inset 0 1px 0 #fff,0 7px 17px rgba(28,58,94,.04)!important;
  }
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-svg{width:43px!important;height:43px!important}
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-name{
    font-size:15px!important;
    line-height:1.18!important;
    font-weight:var(--app-type-weight-medium,500)!important;
  }
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-subtitle{
    display:none!important;
  }
}

@media (max-width:390px){
  body.employee-mobile-home-view #mobile-header-bar .mobile-brand img{width:111px!important}
  body.employee-mobile-home-view #mobile-header-bar .mhb-title{font-size:12px!important}
  body.employee-mobile-home-view #mhb-logout-btn{min-width:72px!important;height:38px!important;min-height:38px!important;padding:6px 11px!important}
  body.employee-mobile-home-view .employee-portal-launcher .mobile-launcher-grid{gap:11px!important}
  body.employee-mobile-home-view .employee-portal-launcher .mobile-launcher-tile{min-height:188px!important;padding:20px 17px 20px!important}
  body.employee-mobile-home-view .employee-portal-launcher .mobile-launcher-icon{width:94px!important;min-width:94px!important;max-width:94px!important;height:94px!important;min-height:94px!important;max-height:94px!important;flex-basis:94px!important;border-radius:25px!important}
  body.employee-mobile-home-view .employee-portal-launcher .mobile-launcher-svg{width:78px!important;height:78px!important;flex-basis:78px!important}
  body.employee-mobile-home-view .employee-portal-launcher .mobile-launcher-name{font-size:15px!important}
  body.employee-mobile-home-view .hrms-nav-tile-page{padding:15px!important}
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-grid{gap:10px!important}
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-tile{min-height:154px!important;padding:16px 13px!important}
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-icon{width:68px!important;min-width:68px!important;max-width:68px!important;height:68px!important;min-height:68px!important;max-height:68px!important;flex-basis:68px!important;border-radius:20px!important}
  body.employee-mobile-home-view .hrms-nav-tile-page .mobile-launcher-svg{width:39px!important;height:39px!important}
}
