/* Food, Bills & Essentials uses the completed Housing/REBUILD resource-card construction. */
#rebuild .rebuild-life-experience.essentials-resource-flow{
  --housing-ink:#17252c;
  --housing-muted:#566269;
  --housing-turquoise:#238f8c;
  --housing-border:rgba(91,80,69,.56);
  --housing-highlight:rgba(255,255,255,.96);
  --housing-bevel:rgba(91,80,69,.18);
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  scroll-padding-top:80px;
  background:radial-gradient(circle at 16% 7%,rgba(255,255,255,.5),transparent 31%),linear-gradient(164deg,#eee6de 0%,#e5dad1 48%,#dcd0c5 100%)!important;
  color:var(--housing-ink)!important;
}
#rebuild .essentials-resource-flow .rebuild-life-shell{
  width:min(720px,100%)!important;
  min-height:100dvh!important;
  background:transparent!important;
  color:var(--housing-ink)!important;
}
#rebuild .essentials-resource-flow .rebuild-life-topbar{
  position:sticky!important;
  top:0!important;
  z-index:6!important;
  display:grid!important;
  grid-template-columns:minmax(44px,1fr) auto minmax(44px,1fr)!important;
  align-items:center!important;
  box-sizing:border-box!important;
  height:64px!important;
  min-height:64px!important;
  padding:0 14px!important;
  border:0!important;
  border-bottom:1px solid rgba(78,69,61,.3)!important;
  background:#f7f0e7!important;
  box-shadow:inset 0 1px 0 #fff,0 4px 12px rgba(53,47,42,.12)!important;
}
#rebuild .essentials-resource-flow .rebuild-life-topbar button{
  justify-self:start!important;
  box-sizing:border-box!important;
  min-width:44px!important;
  min-height:44px!important;
  padding:0 4px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#26333a!important;
  font-size:13px!important;
  font-weight:950!important;
  letter-spacing:.025em!important;
}
#rebuild .essentials-resource-flow .rebuild-life-topbar button:focus-visible{
  border-radius:8px!important;
  outline:3px solid var(--housing-turquoise)!important;
  outline-offset:2px!important;
}
#rebuild .essentials-resource-flow .rebuild-life-topbar>span{min-width:0!important;line-height:1.08!important}
#rebuild .essentials-resource-flow .rebuild-life-topbar b{color:var(--housing-turquoise)!important;font-size:10px!important;letter-spacing:.12em!important}
#rebuild .essentials-resource-flow .rebuild-life-topbar small{margin-top:3px!important;color:var(--housing-ink)!important;font-size:12px!important;letter-spacing:.055em!important;line-height:1.15!important}
#rebuild .essentials-resource-flow .rebuild-life-topbar i[hidden]{display:none!important}
#rebuild .essentials-resource-flow .rebuild-life-screen{
  box-sizing:border-box!important;
  width:min(100%,640px)!important;
  margin-inline:auto!important;
  padding:24px 18px max(148px,calc(132px + env(safe-area-inset-bottom)))!important;
  color:var(--housing-ink)!important;
  overflow:visible!important;
}
#rebuild .essentials-resource-flow .rebuild-life-eyebrow{color:#177874!important;font-size:11px!important;line-height:1.3!important}
#rebuild .essentials-resource-flow .rebuild-life-screen>h1{
  margin:9px 0 12px!important;
  color:var(--housing-ink)!important;
  font-size:clamp(38px,11vw,52px)!important;
  line-height:.94!important;
  letter-spacing:-.055em!important;
}
#rebuild .essentials-resource-flow .rebuild-life-screen>h1:focus{outline:none!important}
#rebuild .essentials-resource-flow .rebuild-life-lead{max-width:48ch!important;color:var(--housing-muted)!important;font-size:16px!important;line-height:1.55!important}
#rebuild .essentials-resource-flow .rebuild-life-boundary{margin:18px 0 0;color:var(--housing-muted)!important;font-size:13px!important;line-height:1.45!important}
@media(max-width:360px){
  #rebuild .essentials-resource-flow .rebuild-life-screen{padding-inline:12px!important}
  #rebuild .essentials-resource-flow .rebuild-life-topbar{grid-template-columns:48px minmax(0,1fr) 16px!important;padding-inline:8px!important}
  #rebuild .essentials-resource-flow .rebuild-life-topbar button{font-size:10px!important;letter-spacing:0!important}
  #rebuild .essentials-resource-flow .rebuild-life-topbar small{font-size:10px!important;letter-spacing:.02em!important}
}
@media(prefers-reduced-motion:reduce){
  #rebuild .essentials-resource-flow *,#rebuild .essentials-resource-flow *::before,#rebuild .essentials-resource-flow *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
@media(forced-colors:active){
  #rebuild .essentials-resource-flow .rebuild-life-topbar{border:2px solid CanvasText!important;background:Canvas!important;color:CanvasText!important;box-shadow:none!important}
  #rebuild .essentials-resource-flow .rebuild-life-topbar button:focus-visible{outline-color:Highlight!important}
}

/* Existing Housing resource cards, organised by the help needed. */
#rebuild .essentials-resource-flow {--housing-ink:#25292d;}
#rebuild .essentials-resource-flow .housing-support-group {margin:22px 0 0;min-width:0;}
#rebuild .essentials-resource-flow .housing-support-group > summary {display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;cursor:pointer;list-style:none;border-bottom:1px solid rgba(35,143,140,.3);}
#rebuild .essentials-resource-flow .housing-support-group > summary::-webkit-details-marker {display:none;}
#rebuild .essentials-resource-flow .housing-support-group > summary h2 {margin:0;padding:10px 0;min-width:0;font-size:14px;font-weight:900;line-height:1.3;color:#238f8c;}
#rebuild .essentials-resource-flow .housing-support-group > summary > span {display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#e2efea;color:#238f8c;font-size:22px;line-height:1;}
#rebuild .essentials-resource-flow .housing-support-group[open] > summary > span {transform:rotate(45deg);}
#rebuild .essentials-resource-flow .housing-support-group .housing-resource-list {margin-top:14px!important;}
#rebuild .essentials-resource-flow .housing-support-group > summary:focus-visible {outline:3px solid #238f8c;outline-offset:4px;border-radius:8px;}
@media(forced-colors:active){#rebuild .essentials-resource-flow .housing-support-group > summary {border-color:CanvasText;}#rebuild .essentials-resource-flow .housing-support-group > summary > span {background:Canvas;color:ButtonText;border:1px solid ButtonText;}}
