/* Visit Kamień · Zdrowie i apteki · 2026-11-03
   Unified clear, scalable SVG icons across all medical and care cards.
   Icons auto-traced from the approved no-text artwork; no hand-drawn substitutes. */
body.page-residents #zdrowie-mieszkaniec .resident-info-card>.vk-health-pictogram,
body.page-residents #zdrowie-mieszkaniec .resident-project-links .resident-link-card>.vk-health-pictogram{
  width:44px!important;height:44px!important;
  min-width:44px!important;min-height:44px!important;
  aspect-ratio:1 / 1!important;
  box-sizing:border-box!important;
  display:grid!important;place-items:center!important;
  padding:4px!important;border:1px solid rgba(29,76,62,.075)!important;
  border-radius:13px!important;
  background:var(--vk-health-bg,#eaf3ef)!important;
  overflow:hidden!important;
  font-size:initial!important;
  flex:0 0 44px!important;
  align-self:start!important;
}
body.page-residents #zdrowie-mieszkaniec .vk-health-pictogram svg{
  width:36px!important;height:36px!important;
  min-width:36px!important;min-height:36px!important;
  display:block!important;overflow:visible!important;
  margin:0 auto!important;flex:none!important;
}
body.page-residents #zdrowie-mieszkaniec .vk-health-pictogram--clinic{--vk-health-bg:linear-gradient(140deg,#e5f4ef,#e0f1e9)}
body.page-residents #zdrowie-mieszkaniec .vk-health-pictogram--pharmacy{--vk-health-bg:linear-gradient(140deg,#fff3df,#fff0d9)}
body.page-residents #zdrowie-mieszkaniec .vk-health-pictogram--pharmacy-late{--vk-health-bg:linear-gradient(140deg,#e6f3fd,#deeffb)}
body.page-residents #zdrowie-mieszkaniec .vk-health-pictogram--pharmacy-24{--vk-health-bg:linear-gradient(140deg,#fff1e8,#ffebe5)}
body.page-residents #zdrowie-mieszkaniec .vk-health-pictogram--pharmacy-schedule{--vk-health-bg:linear-gradient(140deg,#efedfe,#e8eafa)}
body.page-residents #zdrowie-mieszkaniec .vk-health-pictogram--hospital{--vk-health-bg:linear-gradient(140deg,#e7f3ff,#dfeffd)}
body.page-residents #zdrowie-mieszkaniec .vk-health-pictogram--care-home{--vk-health-bg:linear-gradient(140deg,#fff5e4,#fff0d9)}
body.page-residents #zdrowie-mieszkaniec .vk-health-pictogram--care-youth{--vk-health-bg:linear-gradient(140deg,#fbeaf0,#f9e3eb)}
body.page-residents #zdrowie-mieszkaniec .vk-health-pictogram--senior-club{--vk-health-bg:linear-gradient(140deg,#ebf6ed,#e3f2e8)}
body.page-residents #zdrowie-mieszkaniec .vk-health-pictogram--community{--vk-health-bg:linear-gradient(140deg,#e7f3ff,#ddedfb)}
/* Keep the existing three-column layout and button behavior. The same badge
   dimensions are preserved on mobile so icons stay balanced beside names. */
body.page-residents #zdrowie-mieszkaniec .resident-info-card{
  grid-template-columns:44px minmax(0,1fr)!important;
  align-items:start!important;gap:12px!important;
}
body.page-residents #zdrowie-mieszkaniec .resident-info-card>div{
  min-width:0!important;
}
body.page-residents #zdrowie-mieszkaniec .resident-project-links .resident-link-card{
  grid-template-columns:44px minmax(0,1fr) auto!important;
  gap:12px!important;
}
body.page-residents #zdrowie-mieszkaniec .resident-project-links .resident-link-card>div{
  min-width:0!important;
}
@media(max-width:760px){
 body.page-residents #zdrowie-mieszkaniec .resident-info-card{
   grid-template-columns:42px minmax(0,1fr)!important;gap:10px!important;
 }
 body.page-residents #zdrowie-mieszkaniec .resident-info-card>.vk-health-pictogram,
 body.page-residents #zdrowie-mieszkaniec .resident-project-links .resident-link-card>.vk-health-pictogram{
   width:42px!important;height:42px!important;min-width:42px!important;
   min-height:42px!important;flex-basis:42px!important;padding:5px!important;
 }
 body.page-residents #zdrowie-mieszkaniec .vk-health-pictogram svg{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important}
 body.page-residents #zdrowie-mieszkaniec .resident-project-links .resident-link-card{
   grid-template-columns:42px minmax(0,1fr) auto!important;gap:10px!important;
 }
}
