/* Homepage resource dossier: one editorial system for tools and buyer guides. */

html body.home-page[data-page-family="home"] main #home-resources {
  --resource-card-bg: var(--surface-default, #fff);
  --resource-section-bg: var(--surface-subtle, #f5f7fa);
  --resource-ink: var(--lifa-navy, #0f1e36);
  --resource-navy-raised: #132b4b;
  --resource-copy: var(--lifa-muted, #52667e);
  --resource-line: var(--lifa-line, #d7dfe8);
  --resource-gold: var(--lifa-gold, #eed47d);
  --resource-card-radius: 6px;
  --resource-card-padding: clamp(22px, 2vw, 28px);
  --resource-card-min-height: 390px;
  --resource-grid-gap: 16px;
  --resource-motion-duration: 360ms;
  --resource-motion-ease: cubic-bezier(.22, 1, .36, 1);
  --motion-distance-card: 12px;
  --motion-duration-card: var(--resource-motion-duration);
  --motion-stagger-step: 42ms;
  --motion-card-hover-y: -4px;
  --motion-card-shadow-active: 0 16px 34px rgba(15, 30, 54, .11);
  position: relative;
  overflow: hidden;
  background: var(--resource-section-bg);
  border-block: 1px solid rgba(15, 30, 54, .08);
}

html body.home-page[data-page-family="home"] main #home-resources::before {
  position: absolute;
  inset: 0 auto auto max(16px, calc((100vw - 1180px) / 2));
  width: 108px;
  height: 3px;
  content: "";
  background: var(--resource-gold);
}

html body.home-page[data-page-family="home"] main #home-resources .home-section-header {
  margin-bottom: clamp(30px, 4vw, 46px) !important;
}

html body.home-page[data-page-family="home"] main #home-resources .home-ai-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

html body.home-page[data-page-family="home"] main #home-resources .home-ai-section-heading > div {
  min-width: 0;
}

html body.home-page[data-page-family="home"] main #home-resources .home-ai-section-mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 1px solid var(--resource-gold);
  border-radius: 7px;
  background: var(--resource-ink);
}

html body.home-page[data-page-family="home"] main #home-resources .home-ai-section-mark .lifa-ai-logo {
  display: block;
  width: 30px;
  height: 30px;
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: clamp(34px, 5vw, 58px) !important;
  align-items: start !important;
}

/* The rail mirrors the sourcing dossier's selected-stage summary. */
html body.home-page[data-page-family="home"] main #home-resources .home-resource-status {
  position: relative;
  display: grid;
  grid-template-columns: minmax(118px, .42fr) minmax(210px, 1fr) minmax(260px, 1.25fr) auto;
  align-items: stretch;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  background: var(--resource-navy-raised);
  border: 1px solid rgba(238, 212, 125, .44);
  border-radius: var(--resource-card-radius);
  box-shadow: 0 22px 48px rgba(15, 30, 54, .16);
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-status > p {
  min-width: 0;
  margin: 0 !important;
  padding: 22px 26px 24px;
  border-right: 1px solid rgba(255, 255, 255, .14);
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-status-count {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-status-count strong {
  color: var(--resource-gold) !important;
  font: 400 clamp(2.6rem, 4.4vw, 4rem)/.95 var(--font-heading, Prata, Georgia, serif) !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0 !important;
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-status-count span {
  color: rgba(255, 255, 255, .72) !important;
  font: 600 .8rem/1 var(--font-ui, Montserrat, Arial, sans-serif) !important;
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-status-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-status-detail small {
  color: var(--resource-gold) !important;
  font: 700 .68rem/1.35 var(--font-ui, Montserrat, Arial, sans-serif) !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-status-detail strong {
  color: #fff !important;
  font: 600 .94rem/1.45 var(--font-reading, "Open Sans", Arial, sans-serif) !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-status-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 210px;
  min-height: 72px;
  padding: 20px 24px;
  color: var(--resource-gold) !important;
  font: 700 .78rem/1.4 var(--font-ui, Montserrat, Arial, sans-serif) !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  transition: background-color 220ms ease, color 220ms ease !important;
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-status-link span {
  font-size: 1.08rem;
  transition: transform 220ms var(--resource-motion-ease);
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-status-link:is(:hover, :focus-visible) {
  color: #fff !important;
  background: rgba(255, 255, 255, .07);
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-status-link:is(:hover, :focus-visible) span {
  transform: translate3d(4px, 0, 0);
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-status-link:focus-visible {
  outline: 3px solid var(--resource-gold) !important;
  outline-offset: -4px;
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-status-progress {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, .12);
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-status-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--resource-gold);
  transform: scaleX(0.1667);
  transform-origin: left center;
  transition: transform var(--resource-motion-duration) var(--resource-motion-ease);
}

/* Groups remain structural so cards never sit inside decorative cards. */
html body.home-page[data-page-family="home"] main #home-resources
  :is(.home-tool-panel, .home-knowledge-panel) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: var(--resource-grid-gap) !important;
  min-width: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.home-page[data-page-family="home"] main #home-resources .home-tool-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-column: 1 / -1;
  gap: var(--resource-grid-gap) !important;
  min-width: 0;
  border: 0 !important;
}

html body.home-page[data-page-family="home"] main #home-resources .home-panel-heading {
  display: flex !important;
  grid-column: 1 / -1;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 8px !important;
  padding: 0 0 17px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--resource-line) !important;
}

html body.home-page[data-page-family="home"] main #home-resources .home-panel-heading > span {
  color: var(--resource-ink) !important;
  font: 700 1rem/1.35 var(--font-ui, Montserrat, Arial, sans-serif) !important;
  letter-spacing: 0 !important;
}

html body.home-page[data-page-family="home"] main #home-resources .home-panel-heading > small {
  color: var(--resource-copy) !important;
  font: 600 .73rem/1.4 var(--font-ui, Montserrat, Arial, sans-serif) !important;
  letter-spacing: 0 !important;
  text-align: right;
  text-transform: uppercase;
}

/* The repeated id is a narrow cascade guard against legacy homepage layers. */
html body.home-page[data-page-family="home"] main
  #home-resources#home-resources#home-resources#home-resources
  :is(.home-tool-grid > a, .home-knowledge-panel > a) {
  position: relative;
  display: grid !important;
  grid-column: auto !important;
  grid-row: auto !important;
  grid-template-columns: 40px minmax(0, 1fr) !important;
  grid-template-rows: minmax(168px, 1fr) auto !important;
  column-gap: 18px !important;
  row-gap: 19px !important;
  align-items: start !important;
  justify-content: stretch !important;
  min-width: 0;
  min-height: var(--resource-card-min-height) !important;
  height: 100% !important;
  padding: var(--resource-card-padding) !important;
  overflow: hidden;
  isolation: isolate;
  color: var(--resource-ink) !important;
  -webkit-text-fill-color: var(--resource-ink) !important;
  text-align: left !important;
  text-decoration: none !important;
  touch-action: manipulation;
  background: var(--resource-card-bg) !important;
  border: 1px solid var(--resource-line) !important;
  border-radius: var(--resource-card-radius) !important;
  box-shadow: 0 10px 28px rgba(15, 30, 54, .075) !important;
  transition: border-color 220ms ease, box-shadow 220ms var(--resource-motion-ease), background-color 220ms ease !important;
}

html body.home-page[data-page-family="home"] main
  #home-resources#home-resources#home-resources#home-resources
  :is(.home-tool-grid > a, .home-knowledge-panel > a)::before {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 3px;
  content: "";
  background: var(--resource-gold);
  transform: scaleX(.18);
  transform-origin: left center;
  transition: transform 220ms var(--resource-motion-ease), opacity 220ms ease;
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-index {
  display: block !important;
  grid-column: 1;
  grid-row: 1;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  color: var(--resource-ink) !important;
  -webkit-text-fill-color: var(--resource-ink) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font: 400 1.2rem/1 var(--font-heading, Prata, Georgia, serif) !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0 !important;
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-main {
  display: block;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-main > small {
  display: block;
  margin: 0 0 13px;
  color: var(--resource-copy) !important;
  font: 600 .68rem/1.35 var(--font-ui, Montserrat, Arial, sans-serif) !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-main h3 {
  max-width: 22ch;
  margin: 0 0 13px !important;
  color: var(--resource-ink) !important;
  -webkit-text-fill-color: var(--resource-ink) !important;
  font: 400 clamp(1.22rem, 1.55vw, 1.5rem)/1.26 var(--font-heading, Prata, Georgia, serif) !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-main p {
  margin: 0 !important;
  color: var(--resource-copy) !important;
  -webkit-text-fill-color: var(--resource-copy) !important;
  font: 400 .93rem/1.63 var(--font-reading, "Open Sans", Arial, sans-serif) !important;
  letter-spacing: 0 !important;
  overflow-wrap: anywhere;
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-meta {
  display: grid;
  grid-column: 1 / -1;
  grid-row: 2;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: end;
  min-width: 0;
  padding-top: 17px;
  border-top: 1px solid var(--resource-line);
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-meta > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-meta small {
  color: var(--resource-copy) !important;
  font: 600 .66rem/1.35 var(--font-ui, Montserrat, Arial, sans-serif) !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-meta strong {
  color: var(--resource-ink) !important;
  -webkit-text-fill-color: var(--resource-ink) !important;
  font: 600 .9rem/1.35 var(--font-reading, "Open Sans", Arial, sans-serif) !important;
  letter-spacing: 0 !important;
}

html body.home-page[data-page-family="home"] main #home-resources .home-resource-meta em {
  color: var(--resource-copy) !important;
  font: italic 600 .7rem/1.45 var(--font-reading, "Open Sans", Arial, sans-serif) !important;
  letter-spacing: 0 !important;
  text-align: right;
}

html body.home-page[data-page-family="home"] main #home-resources .home-knowledge-footer {
  display: flex !important;
  grid-column: 1 / -1;
  align-items: center;
  gap: 28px;
  min-height: 44px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--resource-line);
}

html body.home-page[data-page-family="home"] main #home-resources .home-knowledge-footer a {
  color: var(--resource-ink) !important;
  font: 700 .74rem/1.4 var(--font-ui, Montserrat, Arial, sans-serif) !important;
  letter-spacing: 0 !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

html body.home-page[data-page-family="home"] main #home-resources .home-knowledge-footer a:focus-visible {
  outline: 3px solid var(--resource-gold) !important;
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  html.js body.home-page[data-page-family="home"] main #home-resources
    :is(.home-tool-grid > a, .home-knowledge-panel > a).home-motion.is-home-visible:is(:hover, :focus-visible),
  html body.home-page[data-page-family="home"] main #home-resources
    :is(.home-tool-grid > a, .home-knowledge-panel > a).active {
    border-color: rgba(238, 212, 125, .9) !important;
    background: #fff !important;
    box-shadow: 0 16px 34px rgba(15, 30, 54, .11) !important;
  }

  html body.home-page[data-page-family="home"] main #home-resources
    :is(.home-tool-grid > a, .home-knowledge-panel > a):is(:hover, :focus-visible, .active)::before {
    transform: scaleX(1);
  }

}

html body.home-page[data-page-family="home"] main #home-resources
  :is(.home-tool-grid > a, .home-knowledge-panel > a):focus-visible {
  outline: 3px solid var(--resource-gold) !important;
  outline-offset: 3px;
}

@media (max-width: 1000px) {
  html body.home-page[data-page-family="home"] main #home-resources .home-resource-status {
    grid-template-columns: 126px minmax(0, 1fr) minmax(0, 1.2fr);
  }

  html body.home-page[data-page-family="home"] main #home-resources .home-resource-status-link {
    grid-column: 1 / -1;
    min-width: 0;
    min-height: 58px;
    border-top: 1px solid rgba(255, 255, 255, .14);
  }

  html body.home-page[data-page-family="home"] main #home-resources
    :is(.home-tool-panel, .home-knowledge-panel),
  html body.home-page[data-page-family="home"] main #home-resources .home-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  html body.home-page[data-page-family="home"] main #home-resources {
    --resource-card-padding: 20px;
    --resource-card-min-height: 0px;
    --resource-grid-gap: 12px;
  }

  html body.home-page[data-page-family="home"] main #home-resources::before {
    left: 16px;
    width: 72px;
  }

  html body.home-page[data-page-family="home"] main #home-resources .home-ai-section-heading {
    gap: 12px;
  }

  html body.home-page[data-page-family="home"] main #home-resources .home-ai-section-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  html body.home-page[data-page-family="home"] main #home-resources .home-ai-section-mark .lifa-ai-logo {
    width: 26px;
    height: 26px;
  }

  html body.home-page[data-page-family="home"] main #home-resources .home-resource-status {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  html body.home-page[data-page-family="home"] main #home-resources .home-resource-status > p {
    padding: 18px 16px 20px;
  }

  html body.home-page[data-page-family="home"] main #home-resources .home-resource-status-detail:nth-of-type(3) {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, .14);
  }

  html body.home-page[data-page-family="home"] main #home-resources .home-resource-status-count strong {
    font-size: 2.25rem !important;
  }

  html body.home-page[data-page-family="home"] main #home-resources
    :is(.home-tool-panel, .home-knowledge-panel),
  html body.home-page[data-page-family="home"] main #home-resources .home-tool-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body.home-page[data-page-family="home"] main #home-resources .home-panel-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  html body.home-page[data-page-family="home"] main #home-resources .home-panel-heading > small {
    text-align: left;
  }

  html body.home-page[data-page-family="home"] main
    #home-resources#home-resources#home-resources#home-resources
    :is(.home-tool-grid > a, .home-knowledge-panel > a) {
    grid-template-columns: 34px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 22px 20px !important;
  }

  html body.home-page[data-page-family="home"] main #home-resources .home-resource-main h3 {
    max-width: none;
    font-size: 1.2rem !important;
  }

  html body.home-page[data-page-family="home"] main #home-resources .home-resource-meta {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  html body.home-page[data-page-family="home"] main #home-resources .home-resource-meta em {
    text-align: left;
  }

  html body.home-page[data-page-family="home"] main #home-resources .home-knowledge-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.home-page[data-page-family="home"] main #home-resources *,
  html body.home-page[data-page-family="home"] main #home-resources *::before,
  html body.home-page[data-page-family="home"] main #home-resources *::after {
    animation: none !important;
    transition: none !important;
  }

  html.motion-system-ready body.home-page[data-page-family="home"] main #home-resources
    :is(.home-tool-grid > a, .home-knowledge-panel > a)[data-motion-card] {
    opacity: 1 !important;
    transform: none !important;
    translate: 0 0 !important;
    scale: 1 !important;
  }
}

/* The comfort-palette layer carries an intentional high-specificity lock.
   This sentinel gives the inverse rail and white dossier surfaces final local
   authority without weakening that sitewide contrast contract. */
:is(#lifa-resource-a#lifa-resource-b#lifa-resource-c#lifa-resource-d#lifa-resource-e#lifa-resource-f#lifa-resource-g#lifa-resource-h#lifa-resource-i#lifa-resource-j#lifa-resource-k#lifa-resource-l, html)
body.home-page[data-page-family="home"] main #home-resources [data-resource-card] {
  background: var(--resource-card-bg) !important;
  background-color: var(--resource-card-bg) !important;
  background-image: none !important;
  border-color: var(--resource-line) !important;
  box-shadow: 0 10px 28px rgba(15, 30, 54, .075) !important;
}

:is(#lifa-resource-a#lifa-resource-b#lifa-resource-c#lifa-resource-d#lifa-resource-e#lifa-resource-f#lifa-resource-g#lifa-resource-h#lifa-resource-i#lifa-resource-j#lifa-resource-k#lifa-resource-l, html)
body.home-page[data-page-family="home"] main #home-resources [data-resource-card]::after {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  content: none !important;
}

:is(#lifa-resource-a#lifa-resource-b#lifa-resource-c#lifa-resource-d#lifa-resource-e#lifa-resource-f#lifa-resource-g#lifa-resource-h#lifa-resource-i#lifa-resource-j#lifa-resource-k#lifa-resource-l, html)
body.home-page[data-page-family="home"] main #home-resources [data-resource-card].active {
  border-color: rgba(238, 212, 125, .9) !important;
  box-shadow: 0 16px 34px rgba(15, 30, 54, .11) !important;
}

:is(#lifa-resource-a#lifa-resource-b#lifa-resource-c#lifa-resource-d#lifa-resource-e#lifa-resource-f#lifa-resource-g#lifa-resource-h#lifa-resource-i#lifa-resource-j#lifa-resource-k#lifa-resource-l, html)
body.home-page[data-page-family="home"] main #home-resources [data-resource-card].active::before {
  opacity: 1 !important;
  transform: scaleX(1) !important;
}

@media (hover: hover) and (pointer: fine) {
  :is(#lifa-resource-a#lifa-resource-b#lifa-resource-c#lifa-resource-d#lifa-resource-e#lifa-resource-f#lifa-resource-g#lifa-resource-h#lifa-resource-i#lifa-resource-j#lifa-resource-k#lifa-resource-l, html)
  body.home-page[data-page-family="home"] main #home-resources [data-resource-card]:is(:hover, :focus-visible) {
    border-color: rgba(238, 212, 125, .9) !important;
    box-shadow: 0 16px 34px rgba(15, 30, 54, .11) !important;
  }

  :is(#lifa-resource-a#lifa-resource-b#lifa-resource-c#lifa-resource-d#lifa-resource-e#lifa-resource-f#lifa-resource-g#lifa-resource-h#lifa-resource-i#lifa-resource-j#lifa-resource-k#lifa-resource-l, html)
  body.home-page[data-page-family="home"] main #home-resources [data-resource-card]:is(:hover, :focus-visible)::before {
    opacity: 1 !important;
    transform: scaleX(1) !important;
  }
}

:is(#lifa-resource-a#lifa-resource-b#lifa-resource-c#lifa-resource-d#lifa-resource-e#lifa-resource-f#lifa-resource-g#lifa-resource-h#lifa-resource-i#lifa-resource-j#lifa-resource-k#lifa-resource-l, html)
body.home-page[data-page-family="home"] main #home-resources .home-resource-status {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: var(--resource-navy-raised) !important;
  background-color: var(--resource-navy-raised) !important;
  background-image: none !important;
}

:is(#lifa-resource-a#lifa-resource-b#lifa-resource-c#lifa-resource-d#lifa-resource-e#lifa-resource-f#lifa-resource-g#lifa-resource-h#lifa-resource-i#lifa-resource-j#lifa-resource-k#lifa-resource-l, html)
body.home-page[data-page-family="home"] main #home-resources .home-resource-status :is([data-resource-current], small) {
  color: var(--resource-gold) !important;
  -webkit-text-fill-color: var(--resource-gold) !important;
}

:is(#lifa-resource-a#lifa-resource-b#lifa-resource-c#lifa-resource-d#lifa-resource-e#lifa-resource-f#lifa-resource-g#lifa-resource-h#lifa-resource-i#lifa-resource-j#lifa-resource-k#lifa-resource-l, html)
body.home-page[data-page-family="home"] main #home-resources .home-resource-status :is([data-resource-output], [data-resource-use]) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

:is(#lifa-resource-a#lifa-resource-b#lifa-resource-c#lifa-resource-d#lifa-resource-e#lifa-resource-f#lifa-resource-g#lifa-resource-h#lifa-resource-i#lifa-resource-j#lifa-resource-k#lifa-resource-l, html)
body.home-page[data-page-family="home"] main #home-resources [data-resource-current] {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  align-self: auto !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

:is(#lifa-resource-a#lifa-resource-b#lifa-resource-c#lifa-resource-d#lifa-resource-e#lifa-resource-f#lifa-resource-g#lifa-resource-h#lifa-resource-i#lifa-resource-j#lifa-resource-k#lifa-resource-l, html)
body.home-page[data-page-family="home"] main #home-resources :is(.home-tool-panel, .home-knowledge-panel) {
  height: auto !important;
  min-height: 0 !important;
  grid-template-rows: none !important;
  grid-auto-rows: auto !important;
  align-content: start !important;
}

:is(#lifa-resource-a#lifa-resource-b#lifa-resource-c#lifa-resource-d#lifa-resource-e#lifa-resource-f#lifa-resource-g#lifa-resource-h#lifa-resource-i#lifa-resource-j#lifa-resource-k#lifa-resource-l, html)
body.home-page[data-page-family="home"] main #home-resources .home-knowledge-footer {
  height: auto !important;
  min-height: 44px !important;
  align-self: start !important;
}
