#root .gr-home-service-request,
#root main.gb-page.gr-home-directory {
  --gb-member-ink: #222;
  --gb-member-action: #d6000f;
  --gb-member-link: #d6000f;
  --gb-member-soft: #fff0f1;
  --gb-member-white: #fff;
  --gb-member-edge: #efefef;
  --gb-member-line: #efefef;
  --gb-ink: #222;
  --gb-accent: #d6000f;
  background: #f6f6f6;
}

#root :is(.gr-home-service-request, .gr-home-directory) > .gb-header {
  min-height: calc(44px + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid #f1f1f1;
  background: #fff;
  box-shadow: none;
}

#root :is(.gr-home-service-request, .gr-home-directory) > .gb-header :is(h1, .gb-back) { color: #222; }
#root :is(.gr-home-service-request, .gr-home-directory) > .gb-card { border: 0; border-radius: 8px; background: #fff; box-shadow: none; }
#root .gr-home-service-request .gb-field :is(input, textarea) { border-color: #eee; border-radius: 6px; background: #f7f8fa; }
#root .gr-home-service-request .gb-btn:not(.secondary) { border-color: #d6000f; border-radius: 100vw; background: #d6000f; color: #fff; }

#root .gr-home-demand-compose > :first-child {
  min-height: 44px;
  border-bottom: 1px solid #f1f1f1;
  background: #fff !important;
}

#root .gr-home-demand-compose > :first-child > span {
  color: #222;
  font-size: 1.125rem;
  overflow-wrap: anywhere;
}

#root .gr-home-demand-compose > :first-child svg { color: #222 !important; fill: currentColor; }
#root .gr-home-demand-compose :is(input:not([type="file"]), textarea) { background: #f5f5f5; }
#root .gr-home-demand-compose .border-t > button { background: #d6000f !important; }

#root .gr-map-browser.gr-home-map-reference {
  --gr-map-paper: #fff;
  --gr-map-glass: rgb(255 255 255 / 96%);
  --gr-map-ink: #222;
  --gr-map-secondary: #626262;
  --gr-map-brand: #d6000f;
  --gr-map-border: rgb(34 34 34 / 12%);
  --gr-map-tint: #fff0f1;
  background: #f7f8fa !important;
}

#root .gr-home-map-reference .gr-map-appbar { background: #fff; }
#root .gr-home-map-reference .gr-map-appbar h1 { font-weight: 600; }
#root .gr-home-map-reference .gr-map-appbar button:first-child { color: #222; }

#root .gr-home-dynamic {
  min-height: 100dvh;
  background: #f7f8fa !important;
}

#root .gr-home-dynamic .gr-home-dynamic-heading {
  display: grid;
  min-height: calc(44px + env(safe-area-inset-top, 0px));
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  padding-top: env(safe-area-inset-top, 0px);
  background: #fff;
}

.gr-home-dynamic-heading h1 { grid-column: 2; margin: 0; color: #222; font-size: 1.125rem; font-weight: 600; text-align: center; overflow-wrap: anywhere; }
.gr-home-dynamic-heading button { display: grid; min-height: 44px; place-items: center; }

#root .gr-home-dynamic .gr-home-dynamic-tabs {
  border-bottom: 1px solid #eee;
  background: #fff !important;
}

.gr-home-dynamic-tabs button { position: relative; min-height: 44px; }

.gr-home-dynamic-tabs button[aria-pressed="true"]::after {
  position: absolute;
  right: 50%;
  bottom: 2px;
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: #d6000f;
  content: "";
  transform: translateX(50%);
}
