/*
 * GENERATED from packages/ui/src/signed-out-chrome/chrome.css. DO NOT EDIT BY HAND:
 * UPDATE_CHROME_COPIES=1 pnpm --filter housing-market-group test signed-out-chrome
 *
 * Styles for the group header navigation and footer on the Ads and CRM signed-out pages. The colours are
 * variables with a light fallback; each app maps them to its own palette for light and dark (Ads:
 * css/hma-auth.css, CRM: the .hmgc-scope rule in styles/global.scss). Layout uses logical properties, so
 * dir="rtl" mirrors it.
 */
.hmgc-bar { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; min-height: 40px; }
.hmgc-bar, .hmgc-foot { font-family: inherit; font-size: 14px; line-height: 1.4; text-align: start; }
.hmgc-bar ul, .hmgc-foot ul { list-style: none; margin: 0; padding: 0; }
.hmgc-bar a, .hmgc-foot a { color: var(--hmgc-muted, #47606a); text-decoration: none; }
.hmgc-bar a:hover, .hmgc-foot a:hover { color: var(--hmgc-accent, #087384); text-decoration: underline; }
.hmgc-bar a:focus-visible, .hmgc-bar summary:focus-visible, .hmgc-foot a:focus-visible { outline: 2px solid var(--hmgc-accent, #087384); outline-offset: 2px; border-radius: 4px; }

/* Wide screen: the dropdown menus in a row. */
.hmgc-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
.hmgc-nav > ul > li { position: relative; }
.hmgc-nav > ul > li > a, .hmgc-drop > summary { display: inline-flex; align-items: center; gap: 5px; padding: 8px 10px; border-radius: 8px; font-weight: 600; color: var(--hmgc-ink, #0f1c21); cursor: pointer; list-style: none; user-select: none; }
.hmgc-nav > ul > li > a:hover, .hmgc-drop > summary:hover { background: var(--hmgc-subtle, #eef3f5); color: var(--hmgc-ink, #0f1c21); text-decoration: none; }
.hmgc-drop > summary::-webkit-details-marker { display: none; }
.hmgc-drop[open] > summary .hmgc-chev { transform: rotate(180deg); }
.hmgc-pop { position: absolute; inset-inline-start: 0; top: calc(100% + 4px); z-index: 50; min-width: 220px; padding: 6px; background: var(--hmgc-surface, #fff); border: 1px solid var(--hmgc-border, #dde6ea); border-radius: 12px; box-shadow: 0 14px 40px var(--hmgc-shadow, rgba(15, 28, 33, 0.14)); }
.hmgc-pop a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--hmgc-ink, #0f1c21); }
.hmgc-pop a:hover { background: var(--hmgc-subtle, #eef3f5); text-decoration: none; }

/* Narrow screen: one menu button, the sheet drops below it. */
.hmgc-menu { display: none; position: relative; }
.hmgc-menu > summary { padding: 8px; }
.hmgc-menu .hmgc-close { display: none; }
.hmgc-menu[open] .hmgc-close { display: block; }
.hmgc-menu[open] .hmgc-open { display: none; }
.hmgc-sheet { position: absolute; inset-inline-start: 0; top: calc(100% + 4px); z-index: 50; width: min(320px, calc(100vw - 32px)); max-height: 70vh; overflow-y: auto; padding: 10px; background: var(--hmgc-surface, #fff); border: 1px solid var(--hmgc-border, #dde6ea); border-radius: 12px; box-shadow: 0 14px 40px var(--hmgc-shadow, rgba(15, 28, 33, 0.14)); }
.hmgc-sheet ul { display: block; }
.hmgc-sheet a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--hmgc-ink, #0f1c21); }
.hmgc-sheet .hmgc-group p { margin: 10px 10px 2px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hmgc-faint, #5f7780); }
@media (max-width: 899px) {
  .hmgc-nav { display: none; }
  .hmgc-menu { display: block; }
}

/* Footer. */
.hmgc-foot { margin-top: 48px; border-top: 1px solid var(--hmgc-border, #dde6ea); background: var(--hmgc-subtle, #eef3f5); color: var(--hmgc-muted, #47606a); }
.hmgc-foot-inner { max-width: 1120px; margin: 0 auto; padding: 36px 24px 24px; }
.hmgc-net { margin: 0 0 24px; font-weight: 600; color: var(--hmgc-ink, #0f1c21); }
.hmgc-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px 24px; }
.hmgc-foot h2 { margin: 0 0 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hmgc-faint, #5f7780); }
.hmgc-foot .hmgc-col li { margin: 0 0 8px; }
.hmgc-catalogue { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--hmgc-border, #dde6ea); }
.hmgc-col-inline ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hmgc-col-inline li { margin: 0; }
.hmgc-contact { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--hmgc-border, #dde6ea); }
.hmgc-contact address { font-style: normal; display: grid; gap: 6px; }
.hmgc-legal { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--hmgc-border, #dde6ea); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; font-size: 13px; color: var(--hmgc-faint, #5f7780); }
.hmgc-legal nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
