
/* v1.15.3 — responsive recovery + simplified tool visuals + transparent mobile/tablet covers */
body.syh-v1153-home #syh-app.syh-home-v1153{
  --syh-v1153-shell-pad: clamp(14px, 2.2vw, 28px);
}
body.syh-v1153-home #syh-app.syh-home-v1153 :is(.syh-parent-category-grid,.syh-library-grid,.syh-tool-grid,.syh-learning-feature-grid){
  align-items:stretch!important;
  min-width:0!important;
}
body.syh-v1153-home #syh-app.syh-home-v1153 .syh-tool-grid,
body.syh-v1153-home #syh-app.syh-home-v1153 .syh-learning-feature-grid,
body.syh-v1153-home #syh-app.syh-home-v1153 .syh-library-section .syh-library-grid,
body.syh-v1153-home #syh-app.syh-home-v1153 .syh-parent-category-grid{
  width:100%!important;
}

/* Clinical tools: remove abstract mini-graphics, keep subtle wave-gradient accent like other modules */
body.syh-v1153-home #syh-app.syh-home-v1153 .syh-tools-section .syh-tool-card{
  min-height:296px!important;
}
body.syh-v1153-home #syh-app.syh-home-v1153 .syh-tools-section .syh-tool-visual{
  position:relative!important;
  display:block!important;
  overflow:hidden!important;
  min-height:88px!important;
  height:auto!important;
  padding:0!important;
  margin:12px 0 16px!important;
  border-radius:18px!important;
  border:1px solid rgba(194,214,228,.95)!important;
  background:
    radial-gradient(140% 96% at 12% 100%, color-mix(in srgb,var(--tool-accent,#2b7aa7) 14%, white), rgba(255,255,255,0) 55%),
    radial-gradient(120% 92% at 88% 0%, rgba(70,151,197,.10), rgba(70,151,197,0) 46%),
    linear-gradient(180deg,#f8fbfe 0%,#eef4f9 100%)!important;
}
body.syh-v1153-home #syh-app.syh-home-v1153 .syh-tools-section .syh-tool-visual::before,
body.syh-v1153-home #syh-app.syh-home-v1153 .syh-tools-section .syh-tool-visual::after{
  content:"";
  position:absolute;
  left:16px; right:16px;
  height:36px;
  border-radius:999px;
  pointer-events:none;
}
body.syh-v1153-home #syh-app.syh-home-v1153 .syh-tools-section .syh-tool-visual::before{
  bottom:-22px;
  border:2px solid color-mix(in srgb,var(--tool-accent,#2b7aa7) 22%, white);
  opacity:.6;
}
body.syh-v1153-home #syh-app.syh-home-v1153 .syh-tools-section .syh-tool-visual::after{
  bottom:-8px;
  border:1.5px solid color-mix(in srgb,var(--tool-accent,#2b7aa7) 14%, white);
  opacity:.45;
}
body.syh-v1153-home #syh-app.syh-home-v1153 .syh-tools-section .syh-tool-visual > *{display:none!important}

/* Keep emphasis on title and stats instead of abstract decoration */
body.syh-v1153-home #syh-app.syh-home-v1153 .syh-tools-section .syh-tool-card-title{font-weight:800!important}
body.syh-v1153-home #syh-app.syh-home-v1153 .syh-tools-section .syh-tool-stat{box-shadow:none!important}

/* Transparent cover stages on mobile/tablet to remove white trays / wasted space */
@media (max-width: 1024px){
  body.syh-v1153-home #syh-app.syh-home-v1153 :is(.syh-tools-section,.syh-learning-entry-section,.syh-clinical-qa-section,.syh-library-section) > .syh-shell,
  body.syh-v1153-home #syh-app.syh-home-v1153 > footer.syh-footer > .syh-shell{
    padding:var(--syh-v1153-shell-pad)!important;
    margin-inline:auto!important;
  }

  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-tools-section .syh-tool-grid,
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-learning-feature-grid,
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-library-section .syh-library-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-parent-category-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }

  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-library-section .syh-library-card .syh-book-cover{
    background:transparent!important;
    padding:6px 6px 0!important;
    height:clamp(172px,34vw,250px)!important;
    align-items:center!important;
  }
  body.syh-v1153-home #syh-app.syh-home-v1153.syh-app .syh-library-section .syh-library-card .syh-book-cover > img.syh-book-cover-primary{
    background:transparent!important;
    box-shadow:0 12px 24px rgba(18,54,82,.12)!important;
    max-width:min(88%,210px)!important;
    height:100%!important;
    object-fit:contain!important;
  }

  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-parent-category-card-media{
    background:transparent!important;
    height:clamp(106px,18vw,150px)!important;
  }
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-parent-category-card-media .syh-category-deck{
    background:transparent!important;
    padding:0 6px!important;
    gap:0!important;
  }
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-parent-category-card-media .syh-category-deck::before,
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-parent-category-card-media .syh-category-deck-ghost{display:none!important}
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-parent-category-card-media .syh-category-deck-cover,
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-parent-category-card-media .syh-category-deck-cover:is(:only-child,:first-child:nth-last-child(2),:last-child:nth-child(2),.syh-category-deck-cover--1,.syh-category-deck-cover--2,.syh-category-deck-cover--3){
    width:min(42%,92px)!important;
    height:auto!important;
    aspect-ratio:0.72!important;
    object-fit:cover!important;
    object-position:center top!important;
    border-radius:10px!important;
    box-shadow:0 10px 20px rgba(18,54,82,.10)!important;
  }
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-parent-category-card-media .syh-category-deck--count-3 .syh-category-deck-cover--1{transform:translateX(-98%) rotate(-11deg)!important}
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-parent-category-card-media .syh-category-deck--count-3 .syh-category-deck-cover--2{transform:translateX(-50%) rotate(0deg)!important}
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-parent-category-card-media .syh-category-deck--count-3 .syh-category-deck-cover--3{transform:translateX(-2%) rotate(10deg)!important}
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-parent-category-card-media .syh-category-deck--count-2 .syh-category-deck-cover--1,
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-parent-category-card-media .syh-category-deck--count-2 .syh-category-deck-cover:first-child{transform:translateX(-72%) rotate(-8deg)!important}
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-parent-category-card-media .syh-category-deck--count-2 .syh-category-deck-cover--2,
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-parent-category-card-media .syh-category-deck--count-2 .syh-category-deck-cover:last-child{transform:translateX(-24%) rotate(8deg)!important}
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-parent-category-card-media .syh-category-deck--count-1 .syh-category-deck-cover{width:min(52%,108px)!important;transform:translateX(-50%) rotate(-2deg)!important}
}

/* Foldables / small tablets */
@media (min-width: 641px) and (max-width: 1024px){
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-library-section .syh-library-card:not([hidden]),
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-tools-section .syh-tool-card,
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-learning-entry-section .syh-learning-feature{
    min-height:0!important;
  }
}

/* Mobile */
@media (max-width: 640px){
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-tools-section .syh-tool-grid,
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-learning-feature-grid,
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-library-section .syh-library-grid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:10px!important;
  }
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-parent-category-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
  }
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-tools-section .syh-tool-card{
    min-height:0!important;
    padding:16px!important;
  }
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-tools-section .syh-tool-visual{min-height:72px!important;margin:10px 0 12px!important}
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-library-section .syh-library-card .syh-book-cover{
    height:clamp(196px,63vw,248px)!important;
    padding:4px 0 0!important;
  }
  body.syh-v1153-home #syh-app.syh-home-v1153.syh-app .syh-library-section .syh-library-card .syh-book-cover > img.syh-book-cover-primary{
    max-width:min(92%,210px)!important;
  }
  body.syh-v1153-home #syh-app.syh-home-v1153 .syh-parent-category-card-media{
    height:clamp(94px,34vw,128px)!important;
  }
}
