/* Wariatric shared hub icon rollout v1.4.44.208
   Presentation-only: shared diet phase, lifelong supplement and pregnancy icons.
   Surgical topology assets are explicitly out of scope. */
:root{--hub-shared-icon-slot:72px;--hub-shared-icon-radius:18px}
.hub-shared-phase-icon{grid-column:1/-1!important;grid-row:1!important;width:100%;height:72px;display:grid;place-items:center;margin:0 0 8px;overflow:hidden;border-radius:14px;background:linear-gradient(145deg,#fbfefd,#f2f8f6);border:1px solid #e1eeeb}
.hub-shared-phase-icon img{display:block;width:68px!important;height:68px!important;max-width:68px!important;max-height:68px!important;object-fit:contain!important;object-position:center!important;transform:none!important;filter:none!important}
.rygb-diet-phases article.hub-shared-phase-card,.oagb-phases article.hub-shared-phase-card,.sasi-phases article.hub-shared-phase-card,.sadi-phases article.hub-shared-phase-card,.sasj-phases article.hub-shared-phase-card{grid-template-rows:72px auto auto!important;align-content:start!important}
.rygb-diet-phases article.hub-shared-phase-card>b,.oagb-phases article.hub-shared-phase-card>b,.sasi-phases article.hub-shared-phase-card>b,.sadi-phases article.hub-shared-phase-card>b,.sasj-phases article.hub-shared-phase-card>b{grid-column:1!important;grid-row:2/4!important;align-self:center!important}
.rygb-diet-phases article.hub-shared-phase-card>strong,.oagb-phases article.hub-shared-phase-card>strong,.sasi-phases article.hub-shared-phase-card>strong,.sadi-phases article.hub-shared-phase-card>strong,.sasj-phases article.hub-shared-phase-card>strong{grid-column:2!important;grid-row:2!important}
.rygb-diet-phases article.hub-shared-phase-card>small,.oagb-phases article.hub-shared-phase-card>small,.sasi-phases article.hub-shared-phase-card>small,.sadi-phases article.hub-shared-phase-card>small,.sasj-phases article.hub-shared-phase-card>small{grid-column:2!important;grid-row:3!important}
.sg-stage-grid.five article.hub-shared-phase-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;min-width:0!important}
.sg-stage-grid.five .hub-shared-phase-icon{width:100%!important;height:88px!important;flex:0 0 88px!important;margin-bottom:10px!important}
.sg-stage-grid.five .hub-shared-phase-icon img{width:84px!important;height:84px!important;max-width:84px!important;max-height:84px!important}
.hub-shared-topic-icon{display:grid;place-items:center;width:66px;height:66px;flex:0 0 66px;border:1px solid #d7e9e5;border-radius:16px;background:#fbfefd;overflow:hidden}
.hub-shared-topic-icon img{display:block;width:58px!important;height:58px!important;max-width:58px!important;max-height:58px!important;object-fit:contain!important;object-position:center!important;transform:none!important;filter:none!important}
.sg-cards article>.hub-shared-topic-icon{float:right;margin:0 0 8px 12px;width:62px;height:62px}
.sg-cards article>.hub-shared-topic-icon img{width:54px!important;height:54px!important;max-width:54px!important;max-height:54px!important}
@media(max-width:760px){
  :root{--hub-shared-icon-slot:64px}
  .hub-shared-phase-icon{height:66px}
  .hub-shared-phase-icon img{width:62px!important;height:62px!important;max-width:62px!important;max-height:62px!important}
  .rygb-diet-phases article.hub-shared-phase-card,.oagb-phases article.hub-shared-phase-card,.sasi-phases article.hub-shared-phase-card,.sadi-phases article.hub-shared-phase-card,.sasj-phases article.hub-shared-phase-card{grid-template-rows:66px auto auto!important}
}
@media(prefers-reduced-motion:reduce){.hub-shared-phase-icon img,.hub-shared-topic-icon img{transition:none!important}}

/* V211 BPD-DS shared phase icon registration */
.bpd-phases .hub-shared-phase-icon{display:grid!important}
