
/* v5.5 fixes: accessibility icon, shortcut return, wider/softer dashboard */

/* Accessibility: complete visible universal symbol, centered inside blue sticker */
body.ji-v54-dashboard .ji-accessibility,
body.ji-v53-clean .ji-accessibility{
  top:10px!important;
  right:14px!important;
  width:62px!important;
  height:62px!important;
  overflow:visible!important;
  z-index:14000!important;
}

body.ji-v54-dashboard .ji-accessibility__toggle,
body.ji-v53-clean .ji-accessibility__toggle{
  width:56px!important;
  height:56px!important;
  min-width:56px!important;
  min-height:56px!important;
  max-width:56px!important;
  max-height:56px!important;
  border-radius:50%!important;
  border:4px solid #ffffff!important;
  background:#1f6fff!important;
  box-shadow:0 10px 22px rgba(0,0,0,.20)!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
  line-height:1!important;
}

body.ji-v54-dashboard .ji-accessibility__icon,
body.ji-v53-clean .ji-accessibility__icon{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:44px!important;
  height:44px!important;
  border:0!important;
  border-radius:0!important;
  color:#ffffff!important;
  font-size:30px!important;
  line-height:1!important;
  transform:none!important;
  position:static!important;
  overflow:visible!important;
  font-family:"Segoe UI Symbol","Apple Color Emoji","Noto Color Emoji",Arial,sans-serif!important;
}

/* Dashboard width restored closer to previous feel */
body.ji-v54-dashboard .ji-clean-hero__shell{
  grid-template-columns:minmax(0,1fr) 380px!important;
  width:min(calc(100% - 32px), 1660px)!important;
}

body.ji-v54-dashboard .ji-clean-dashboard{
  padding:1.55rem 1.45rem 1.35rem!important;
}

body.ji-v54-dashboard .ji-clean-dashboard h2{
  font-size:2.55rem!important;
  line-height:1!important;
  margin:.25rem 0 1.15rem!important;
  font-weight:800!important;
  letter-spacing:-.035em!important;
}

body.ji-v54-dashboard .ji-clean-dashboard__search{
  min-height:52px!important;
  margin-bottom:1.15rem!important;
}

/* Pills: smaller, lighter, not bold-heavy */
body.ji-v54-dashboard .ji-clean-dashboard__pills{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:.7rem .75rem!important;
}

body.ji-v54-dashboard .ji-clean-dashboard__pills a{
  min-height:36px!important;
  padding:.45rem .6rem!important;
  font-size:.82rem!important;
  font-weight:600!important;
  line-height:1.15!important;
  letter-spacing:0!important;
  border-width:1.4px!important;
}

/* Restore the shortcuts under hero */
body.ji-v54-dashboard .ji-home-shortcuts--v55{
  display:block!important;
  background:#0f4d4a!important;
  margin:0!important;
  padding:0!important;
  position:relative!important;
  z-index:5!important;
}

body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-home-shortcuts__grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  width:100%!important;
}

body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 72px!important;
  align-items:center!important;
  min-height:92px!important;
  padding:1rem 1.35rem!important;
  background:#0d4a47!important;
  border-right:1px solid rgba(255,255,255,.12)!important;
  color:#ffffff!important;
  text-decoration:none!important;
  box-shadow:none!important;
  border-radius:0!important;
}

body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut:nth-child(2){
  background:#114f4b!important;
}

body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut:nth-child(3){
  background:#155752!important;
}

body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__text{
  color:#ffffff!important;
  font-size:1.25rem!important;
  font-weight:800!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
}

body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon{
  width:48px!important;
  height:48px!important;
  border:4px solid rgba(255,255,255,.7)!important;
  border-radius:50%!important;
  justify-self:end!important;
  opacity:.9!important;
}

body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut:hover{
  filter:brightness(1.08)!important;
}

/* Override old hide rule from v53/v54 */
body.ji-v54-dashboard .ji-home-shortcuts:not(.ji-home-shortcuts--v55){
  display:none!important;
}

@media (max-width:1200px){
  body.ji-v54-dashboard .ji-clean-hero__shell{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.ji-v54-dashboard .ji-clean-dashboard__pills{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}

@media (max-width:760px){
  body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-home-shortcuts__grid{
    grid-template-columns:1fr!important;
  }
  body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut{
    min-height:74px!important;
  }
  body.ji-v54-dashboard .ji-clean-dashboard__pills{
    grid-template-columns:1fr!important;
  }
}
