#root .gr-home-reference {
  --home-paper: #fff;
  --home-ink: #222;
  --home-muted: #666;
  --home-accent: #d6000f;
  --home-assist: #fbe6e7;
  --home-gutter: var(--gr-page-gutter);
  --home-inset: var(--gr-section-inset);
  background:
    linear-gradient(transparent calc(var(--gr-app-width) * .5), var(--gr-page-canvas) calc(var(--gr-app-width) * .64)),
    var(--gr-page-canvas) url("./home-reference-header.png") top center / 100% auto no-repeat;
  color: var(--home-ink);
  min-height: 100svh;
  overflow: clip;
}

#root .gr-home-reference button {
  cursor: pointer;
  font: inherit;
}

#root .gr-home-reference button:focus-visible {
  outline: 2px solid #a2000e;
  outline-offset: 2px;
}

#root .gr-home-ref-guest-access {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 12px;
  margin: 8px var(--home-gutter) 0;
  padding-inline: 12px;
  border-radius: 9px;
  background: #fff5ef;
  color: #62453d;
  font-size: .8125rem;
}

#root .gr-home-ref-guest-access a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  color: #a42832;
  font-weight: 650;
  text-decoration: none;
}

#root .gr-home-ref-guest-access a:focus-visible {
  outline: 2px solid #a42832;
  outline-offset: 2px;
}

#root .gr-home-ref-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 15;
  padding: max(7px, env(safe-area-inset-top, 0px)) var(--home-gutter) 12px;
  background: #bd1611 url("./home-reference-header.png") center top / 100% auto no-repeat;
}

#root .gr-home-ref-masthead {
  display: flex;
  min-height: var(--gr-pro-tap);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#root .gr-home-ref-masthead h1 {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #fff;
  font-size: var(--gr-page-title-size);
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

#root .gr-home-ref-masthead h1 img {
  flex: none;
  width: var(--gr-page-emblem-size);
  height: var(--gr-page-emblem-size);
  border-radius: 50%;
  object-fit: cover;
}

#root .gr-home-ref-capsule {
  display: grid;
  flex: none;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  width: 90px;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid #ead5d4;
  border-radius: 99px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #fff8f8;
  color: #252323;
}

#root .gr-home-ref-capsule > button {
  display: grid;
  position: relative;
  width: 100%;
  min-height: 44px;
  place-items: center;
  border: 0;
  background: transparent;
  color: inherit;
}

#root .gr-home-ref-capsule > button:focus-visible {
  outline-offset: -3px;
}

#root .gr-home-ref-menu span,
#root .gr-home-ref-menu span::before,
#root .gr-home-ref-menu span::after,
#root .gr-home-ref-notices span::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

#root .gr-home-ref-menu span { position: relative; }
#root .gr-home-ref-menu span::before,
#root .gr-home-ref-menu span::after {
  content: "";
  position: absolute;
  inset-block-start: 0;
}
#root .gr-home-ref-menu span::before { left: -7px; }
#root .gr-home-ref-menu span::after { right: -7px; }

#root .gr-home-ref-notices span {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
}

#root .gr-home-ref-notices span::after { content: ""; width: 6px; height: 6px; }

#root .gr-home-ref-notices i {
  position: absolute;
  top: 5px;
  right: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--home-accent);
}

#root .gr-home-ref-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 8px;
  margin-top: 7px;
}

#root .gr-home-ref-search {
  display: flex;
  width: 100%;
  min-height: var(--gr-search-height);
  align-items: center;
  gap: 6px;
  padding: 5px 0 5px 12px;
  overflow: hidden;
  border: 1px solid #fff7f7;
  border-radius: 99px;
  background: rgba(255, 255, 255, .91);
  color: #6e6363;
  text-align: left;
}

#root .gr-home-ref-search-row .gr-home-ref-ask-ai {
  min-width: 58px;
  padding: 0 9px;
  border: 1px solid #fff7f7;
  border-radius: 99px;
  background: #fff5e3;
  color: #9f180d;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}

#root .gr-home-ref-search > span {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: var(--gr-search-text-size);
  font-weight: 400;
  text-wrap: balance;
}

#root .gr-home-ref-search > strong {
  padding-inline: 10px;
  white-space: nowrap;
  border-inline-start: 1px solid #a69696;
  color: var(--home-accent);
  font-size: var(--gr-search-text-size);
  font-weight: 600;
}

#root .gr-home-ref-search img {
  flex: none;
  width: var(--gr-search-icon-size);
  height: var(--gr-search-icon-size);
  object-fit: contain;
}

#root .gr-home-ref-carousel {
  position: relative;
  margin: 15px var(--home-gutter) 0;
}

#root .gr-home-ref-carousel-frame { position: relative; }

#root .gr-home-ref-carousel-arrow {
  position: absolute;
  z-index: 2;
  inset-block-start: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--home-ink);
  cursor: pointer;
  transform: translateY(-50%);
}

#root .gr-home-ref-carousel-arrow::before {
  grid-area: 1 / 1;
  width: 23px;
  height: 23px;
  border: 1px solid rgb(117 83 76 / 22%);
  border-radius: 50%;
  background: rgb(255 250 248 / 94%);
  box-shadow: 0 1px 4px rgb(50 21 19 / 14%);
  content: "";
}

#root .gr-home-ref-carousel-arrow svg { grid-area: 1 / 1; }
#root .gr-home-ref-carousel-arrow.is-previous { inset-inline-start: -6px; }
#root .gr-home-ref-carousel-arrow.is-previous svg { transform: scaleX(-1); }
#root .gr-home-ref-carousel-arrow.is-next { inset-inline-end: -6px; }
#root .gr-home-ref-carousel-arrow:active::before { background: var(--home-assist); }
#root .gr-home-ref-carousel-arrow:focus-visible { outline: 2px solid var(--home-accent); outline-offset: -4px; }

@media (hover: hover) {
  #root .gr-home-ref-carousel-arrow:hover::before { border-color: var(--home-accent); }
}

#root .gr-home-ref-slides {
  --home-banner-height: clamp(113px, calc(var(--gr-app-width) * .352), 158px);
  display: flex;
  min-height: var(--home-banner-height);
  overflow-x: auto;
  border-radius: 8px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
}

#root .gr-home-ref-slides::-webkit-scrollbar { display: none; }

#root .gr-home-ref-slide {
  position: relative;
  display: grid;
  flex: 0 0 100%;
  min-width: 0;
  align-content: end;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: #f5eeee;
  scroll-snap-align: start;
  text-align: initial;
}

#root .gr-home-ref-slide:focus-visible { outline-offset: -3px; }

#root .gr-home-ref-cover {
  display: grid;
  place-items: center;
  position: relative;
  flex: none;
  overflow: hidden;
  background: #f7efed;
  color: #a9625a;
}

#root .gr-home-ref-cover img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#root .gr-home-ref-slide > .gr-home-ref-cover { position: absolute; inset: 0; }
#root .gr-home-ref-slide.is-ad .gr-home-ref-cover img { object-position: 55% center; }

#root .gr-home-ref-sponsor-cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: #f7efed;
}

#root .gr-home-ref-sponsor-tile {
  position: absolute;
  display: flex;
  align-items: center;
}

#root .gr-home-ref-sponsor-tile-image {
  position: relative;
  display: block;
  flex: none;
  width: min(100%, calc(var(--home-banner-height) * var(--sponsor-width-per-height)));
  aspect-ratio: var(--sponsor-tile-ratio);
  overflow: hidden;
}

#root .gr-home-ref-sponsor-tile-image img {
  position: absolute;
  display: block;
  height: auto;
  max-width: none;
  max-height: none;
}

#root .gr-home-ref-sponsor-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

#root dialog.gr-home-ref-sponsor-preview {
  box-sizing: border-box;
  width: min(960px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 8px;
  background: var(--gr-page-canvas);
  color: var(--home-ink);
}

#root .gr-home-ref-sponsor-preview::backdrop { background: rgb(40 18 19 / 70%); }

#root .gr-home-ref-sponsor-preview header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 12px;
}

#root .gr-home-ref-sponsor-preview h2 {
  margin: 0;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

#root .gr-home-ref-sponsor-preview button {
  flex: none;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 20px;
  background: var(--home-assist);
  color: var(--home-ink);
}

#root .gr-home-ref-sponsor-preview img {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 84px);
  object-fit: contain;
}

#root .gr-home-ref-slide-title {
  position: relative;
  z-index: 1;
  padding: 14px 12px 12px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .69), transparent);
  color: #fff;
  font-size: 0.75rem;
  overflow-wrap: anywhere;
  text-align: right;
}

#root .gr-home-ref-slide-label {
  display: inline-block;
  margin-inline-end: 6px;
  border: 1px solid currentColor;
  border-radius: 4px;
  padding: 1px 4px;
  font-size: .85em;
}

#root .gr-home-ref-notice-strip {
  width: calc(100% - var(--home-gutter, 16px) * 2);
  min-height: 44px;
  margin: 8px var(--home-gutter, 16px) 12px;
  border: 1px solid #eadbd8;
  border-radius: 9px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  text-align: left;
  background: #fffaf8;
  color: #9e2c26;
  font-size: 0.8125rem;
}

#root .gr-home-ref-notice-strip strong {
  overflow-wrap: anywhere;
  color: #442e2d;
  font-weight: 600;
}

#root .gr-chamber-notices .gb-tabs button[aria-pressed="true"] {
  background: #9e2429;
  color: #fff;
}

#root .gr-chamber-notice-list .gb-link-row {
  width: 100%;
  text-align: left;
}

#root .gr-chamber-notice-list time {
  display: block;
  margin-top: 4px;
}

#root .gr-chamber-notice-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

#root .gr-chamber-notice-article h2 {
  overflow-wrap: anywhere;
}

#root .gr-chamber-notice-empty .gb-btn {
  margin-top: 12px;
}

#root .gr-home-ref-slide.is-ad { align-content: center; }

#root .gr-home-ref-slide.is-ad::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(22, 18, 16, .4), transparent min(100%, max(63%, 9rem)));
  pointer-events: none;
}

#root .gr-home-ref-ad {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: min(calc(100% - 24px), max(48%, 8rem));
  margin-inline-start: 12px;
  padding-block: 10px;
  overflow-wrap: anywhere;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  color: #fff;
  line-height: 1.25;
}

#root .gr-home-ref-carousel-frame.has-controls .gr-home-ref-ad { margin-inline-start: 38px; }

#root .gr-home-ref-ad small {
  color: #f7e6ca;
  font-size: 0.5625rem;
}

#root .gr-home-ref-ad strong { font-size: clamp(1.125rem, 5.35vw, 1.5rem); font-weight: 650; }
#root .gr-home-ref-ad > span { font-size: 0.6875rem; }

#root .gr-home-ref-ad-link {
  display: inline-flex;
  align-items: center;
  margin-top: 3px;
  border-radius: 20px;
  padding: 4px 7px;
  background: rgba(255, 255, 255, .16);
  max-width: 100%;
}

#root .gr-home-ref-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto -4px;
}

#root .gr-home-ref-dots {
  display: flex;
  min-width: 0;
  gap: 1px;
}

#root .gr-home-ref-dots button {
  display: grid;
  flex: 0 1 44px;
  width: 44px;
  min-width: 24px;
  min-height: 44px;
  place-items: center;
  border: 0;
  padding: 0;
  background: transparent;
}

#root .gr-home-ref-dots button::before {
  width: 6px;
  height: 6px;
  border-radius: 20px;
  background: #a8918d;
  content: "";
}

#root .gr-home-ref-dots button[aria-pressed="true"]::before {
  width: 15px;
  background: var(--home-accent);
}

#root .gr-home-ref-slide-count {
  flex: none;
  min-inline-size: 7ch;
  color: var(--home-muted);
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
}

#root .gr-home-ref-slide-count strong { color: var(--home-accent); }

#root .gr-home-ref-shortcuts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(4rem, 25%)), 1fr));
  row-gap: clamp(10px, 3vw, 15px);
  margin: 8px var(--home-gutter) 15px;
}

#root .gr-home-ref-shortcuts button {
  display: flex;
  min-width: 0;
  min-height: 60px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--home-ink);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

#root .gr-home-ref-shortcut-icon {
  display: grid;
  width: clamp(33px, 10.13vw, 45px);
  height: clamp(33px, 10.13vw, 45px);
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(150deg, #fff1ec, #fbd9d5);
  color: #c2201b;
}

#root .gr-home-ref-shortcut-icon[data-tone="orange"] {
  background: linear-gradient(150deg, #fff3df, #f9e0c7);
  color: #ac581d;
}

#root .gr-home-ref-section {
  margin: 16px var(--home-inset);
  padding: 0 0 13px;
  background-color: var(--home-paper);
  border-radius: 8px;
}

#root .gr-home-ref-news-section {
  background-image: url("./home-reference-articles-bg.png");
  background-position: center top;
  background-size: 100% auto;
  background-repeat: no-repeat;
}

#root .gr-home-ref-entrepreneur-section {
  background-image: linear-gradient(180deg, #ebedf9 0, #fcfcff 50px, var(--home-paper) 78px);
}

#root .gr-home-reference .gr-home-ref-entrepreneurs {
  display: flex;
  gap: 11px;
  padding: 2px var(--home-inset) 3px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: var(--home-inset);
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #d4d5ea transparent;
}

#root .gr-home-ref-entrepreneurs > li {
  flex: 0 0 min(85%, max(6em, clamp(92px, calc((100% - 12px) / 3), 126px)));
  min-width: 0;
  scroll-snap-align: start;
}

#root .gr-home-ref-entrepreneurs button {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 143px;
  align-content: start;
  justify-items: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 14px 6px;
  background: linear-gradient(165deg, #e7e9f8, #f5f5fc);
  color: var(--home-ink);
  text-align: center;
}

#root .gr-home-ref-entrepreneurs button:focus-visible {
  outline-offset: -3px;
}

#root .gr-home-ref-entrepreneurs .gr-home-ref-cover {
  width: clamp(53px, 17vw, 74px);
  aspect-ratio: 1;
  border: 3px solid var(--home-paper);
  border-radius: 50%;
  background: #eeecfa;
  color: #696387;
}

#root .gr-home-ref-entrepreneurs .gr-home-ref-cover img {
  object-position: center 35%;
}

#root .gr-home-ref-entrepreneurs strong {
  max-width: 100%;
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

#root .gr-home-ref-entrepreneur-role {
  max-width: 100%;
  padding: 2px 7px;
  border-radius: 4px;
  background: #f4e7d1;
  color: #865015;
  font-size: 0.6875rem;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

#root .gr-home-ref-section-head {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 7px var(--home-inset) 6px;
}

#root .gr-home-ref-section-head h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: var(--gr-section-heading-size);
  font-weight: var(--gr-section-heading-weight);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

#root .gr-home-ref-section-head button {
  display: inline-flex;
  min-height: 44px;
  flex: none;
  align-items: center;
  gap: 4px;
  border: 0;
  padding: 0 0 0 10px;
  background: transparent;
  color: var(--home-muted);
  font-size: 0.8125rem;
}

#root .gr-home-reference ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#root .gr-home-ref-article-list > li + li { margin-top: 12px; }

#root .gr-home-ref-article {
  display: flex;
  width: 100%;
  gap: 10px;
  border: 0;
  padding: 0 var(--home-inset);
  background: transparent;
  color: var(--home-ink);
  text-align: start;
  text-decoration: none;
}

#root a.gr-home-ref-article:focus-visible {
  outline: 2px solid #a2000e;
  outline-offset: 2px;
}

#root .gr-home-ref-article-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
}

#root .gr-home-ref-article-channel {
  color: #9a1f28;
  font-size: .75rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

#root .gr-home-ref-article[data-empty] .gr-home-ref-article-copy { align-self: center; }

#root .gr-home-ref-article[data-empty] .gr-home-ref-article-copy strong {
  color: var(--home-muted);
  font-size: .875rem;
}

#root .gr-home-ref-article-copy strong {
  color: var(--home-ink);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

#root .gr-home-ref-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  color: var(--home-muted);
  font-size: .75rem;
}

#root .gr-home-ref-article .gr-home-ref-cover {
  width: clamp(62px, 21.33vw, 92px);
  height: clamp(62px, 21.33vw, 92px);
  border-radius: 4px;
}

#root .gr-home-ref-article-list .gr-home-ref-cover {
  flex: none;
  background: var(--home-assist);
  color: #9a1f28;
}

#root .gr-home-reference .gr-map-entry {
  margin: 16px var(--home-inset);
}

#root .gr-home-ref-empty {
  margin: 0;
  padding: 12px var(--home-inset) 9px;
  color: var(--home-muted);
  font-size: 0.8125rem;
  text-align: center;
}

#root .gr-home-ref-recommendations {
  padding: 0;
  background: transparent;
}

#root .gr-home-ref-recommendations .gr-home-ref-section-head {
  min-height: 48px;
  padding: 0 2px 4px;
}

#root .gr-home-ref-recommendations .gr-home-ref-section-head button {
  min-width: 44px;
  min-height: 44px;
}

#root .gr-home-reference .gr-home-ref-demand-list {
  display: grid;
  gap: 10px;
}

#root .gr-home-ref-demand-card {
  display: block;
  border: 1px solid #eeeef2;
  border-radius: 12px;
  padding: clamp(12px, 3.75vw, 16px);
  background: var(--home-paper);
  color: var(--home-ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

#root .gr-home-ref-demand-card:focus-visible {
  outline: 2px solid #a2000e;
  outline-offset: 2px;
}

#root .gr-home-ref-demand-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

#root .gr-home-ref-demand-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #f3e9e6;
  color: #8c3b32;
  font-size: 1.0625rem;
  font-weight: 650;
  object-fit: cover;
}

#root .gr-home-ref-demand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#root .gr-home-ref-demand-author-info {
  display: grid;
  min-width: 0;
  gap: 3px;
}

#root .gr-home-ref-demand-author-info strong {
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.35;
}

#root .gr-home-ref-demand-author-info > span {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  color: var(--home-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

#root .gr-home-ref-demand-author-info time {
  white-space: nowrap;
}

#root .gr-home-ref-demand-title {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 12px 0 0;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.45;
}

#root .gr-home-ref-demand-type {
  display: inline-grid;
  min-width: 22px;
  min-height: 23px;
  flex: none;
  place-items: center;
  padding: 2px 4px;
  border-radius: 4px;
  background: #fff0dd;
  color: #925016;
  font-size: 0.75rem;
  line-height: 1;
}

#root .gr-home-ref-demand-type[data-type="supply"] {
  background: #e6f2fc;
  color: #15558a;
}

#root .gr-home-ref-demand-summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 7px 0 0;
  color: #3d3a3b;
  font-size: 0.875rem;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

#root .gr-home-ref-demand-media {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

#root .gr-home-ref-demand-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 7px;
  background: #f3f3f6;
  object-fit: cover;
}

#root .gr-home-ref-demand-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 9px;
  margin-top: 12px;
  color: var(--home-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

#root .gr-home-ref-demand-category {
  padding: 3px 6px;
  border-radius: 4px;
  background: #f1f0f5;
  color: #615d6d;
}

#root .gr-home-ref-demand-city {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

#root .gr-home-ref-demand-views {
  display: flex;
  max-width: 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 9px;
  margin-inline-start: auto;
}

#root .gr-home-ref-demand-views > span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

#root .gr-home-ref-recommendations .gr-home-ref-demand-empty {
  padding-block: 16px;
  border: 1px solid #eeeef2;
  border-radius: 12px;
  background: var(--home-paper);
}

#root .gr-home-ref-footer {
  padding: 16px var(--home-gutter);
  color: var(--home-muted);
  font-size: 0.6875rem;
  text-align: center;
}

#root .gr-home-ref-menu-list,
#root .gr-home-ref-cities {
  display: grid;
  padding: 4px 0;
}

#root .gr-home-ref-menu-list button {
  display: flex;
  min-width: 0;
  min-height: 44px;
  flex-wrap: wrap;
  align-items: center;
  overflow-wrap: anywhere;
  gap: 9px;
  border: 0;
  border-bottom: 1px solid #f1eeee;
  background: #fff;
  color: #282424;
  font-size: 0.875rem;
  text-align: left;
}

#root .gr-home-ref-menu-list button > svg:first-child { color: var(--home-accent); }
#root .gr-home-ref-menu-list button > svg:last-child { margin-inline-start: auto; }
#root .gr-home-ref-menu-list button > small { color: #665e5e; }

#root .gr-home-ref-cities {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(4rem, calc((100% - 16px) / 3))), 1fr));
  gap: 8px;
}

#root .gr-home-ref-cities button {
  display: inline-flex;
  min-width: 0;
  min-height: 44px;
  overflow-wrap: anywhere;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid #eedfdf;
  border-radius: 8px;
  background: #fff;
  color: var(--home-ink);
  font-size: 0.875rem;
}

#root .gr-home-ref-cities button[aria-pressed="true"] {
  border-color: #eeb4b8;
  background: #fff4f5;
  color: var(--home-accent);
}

@media (max-width: 340px) {
  #root .gr-home-ref-masthead { gap: 8px; }
  #root .gr-home-ref-masthead h1 { gap: 6px; text-wrap: balance; }
}

@media (max-height: 400px) {
  #root .gr-home-ref-header { position: static; }
}
