.nav .account-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.account-email { overflow-wrap: anywhere; }
.site-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px 36px; flex-wrap: wrap; padding-block: 28px 32px;
  font-size: 12px; color: #64645d;
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #25271f; text-decoration: underline; text-underline-offset: 3px; }
.site-footer-name { font-weight: 600; }
.site-footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
@media (max-width: 760px) {
  .site-footer { align-items: flex-start; flex-direction: column; gap: 14px; padding-block: 24px; }
  .site-footer-links { gap: 10px 20px; }
  .site-footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
}
.nav a.button { white-space: nowrap; }
.browse-card, .tab, .cover-preview, .suggestion, .profile-report, .filter-chip { text-decoration: none; }
.tab[aria-current="true"] { color: #fff; background: var(--ink); }
.search-form [hidden], .suggestions[hidden] { display: none; }
.search-form [type="hidden"] { display: none; }
.quick-links a { white-space: nowrap; }
@media (min-width: 1151px) {
  .hero-stack {
    transform: scale(1.12);
    transform-origin: center;
  }
}
html { scroll-padding-top: 0; }
#main[aria-busy="true"] { overflow-anchor: none; }
.browse-card.is-shortcut-target {
  outline: 3px solid var(--brand, #fad436);
  outline-offset: 5px;
  background: #fff7cf;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.browse-card.is-shortcut-pressed {
  background: #fad436;
  transform: scale(.97);
  box-shadow: inset 0 0 0 2px var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  .browse-card.is-shortcut-target { transition: none; }
}
.company-title a { text-decoration: none; overflow-wrap: anywhere; }
.company-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.filters { align-self: start; }
.browse-card { grid-template-rows: auto auto; align-content: center; }
.coverage-card-group { position: relative; min-width: 0; }
.coverage-card-group:hover, .coverage-card-group:focus-within,
.coverage-card-group.is-coverage-open { z-index: 4; }
.browse-card.has-coverage { position: relative; isolation: isolate; height: 100%; }
.browse-card.has-coverage:hover { transform: none; }
.coverage-background {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: inherit; z-index: -1; pointer-events: none; background: #fff;
}
.coverage-background polygon { fill-opacity: .18; transition: fill-opacity 160ms ease; }
.coverage-card-group:hover .coverage-background polygon,
.coverage-card-group:focus-within .coverage-background polygon,
.coverage-card-group.is-coverage-open .coverage-background polygon { fill-opacity: .38; }
@media (prefers-reduced-motion: reduce) {
  .coverage-background polygon { transition: none; }
}
.has-coverage .browse-label, .has-coverage .browse-count {
  background: transparent; color: #25271f;
}
.has-coverage .browse-icon, .has-coverage .browse-arrow { background: transparent; color: #25271f; }
.has-coverage .browse-arrow { position: absolute; grid-column: auto; grid-row: auto; top: 8px; right: 13px; line-height: 1; font-size: 16px; }
.coverage-tooltip {
  position: absolute; inset: 0; color: #25271f;
  pointer-events: none; visibility: hidden;
}
.coverage-tooltip svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.coverage-tooltip polyline { stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.coverage-callout {
  position: absolute; left: var(--coverage-position); transform: translateX(-50%);
  width: calc(100% / var(--coverage-columns) - 6px); max-width: 170px;
  padding: 6px 5px; text-align: center; font-size: 11px; line-height: 1.35;
  background: color-mix(in srgb, var(--coverage-color) 7%, white);
  border: 1px solid color-mix(in srgb, var(--coverage-color) 25%, white);
  border-radius: 7px; box-shadow: 0 2px 5px #0000000d;
  pointer-events: auto;
}
.coverage-callout.is-above { bottom: calc(100% + 8px); }
.coverage-callout.is-below { top: calc(100% + 8px); }
.coverage-callout::before { content: ''; position: absolute; inset-inline: -1px; height: 10px; }
.coverage-callout.is-above::before { top: 100%; }
.coverage-callout.is-below::before { bottom: 100%; }
.coverage-callout-title { display: block; text-wrap: balance; }
.coverage-percent { display: block; margin-top: 2px; font-size: 12px; font-weight: 650; }
.coverage-empty {
  position: absolute; bottom: calc(100% + 8px); inset-inline: 0;
  padding: 8px; background: #fffdf5; border: 1px solid #deded7;
  border-radius: 7px; text-align: center; font-size: 12px; pointer-events: auto;
}
.coverage-card-group.is-coverage-open .coverage-tooltip { visibility: visible; }
.coverage-toggle {
  display: grid; place-items: center; position: absolute; bottom: 0; right: 0;
  width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 6px; background: transparent; color: #25271f; font-size: 19px;
}
.coverage-toggle:hover { background: #ffffff45; }
.coverage-toggle[aria-expanded="true"] { background: #ffffff75; }
@media (pointer: coarse) {
  .coverage-toggle { width: 44px; height: 44px; }
}
.filters > a { display: inline-block; }
.topic-select-panel .button { margin-top: 10px; }
.suggestion { display: flex; }
.results-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.simple-page, .standalone-detail { min-height: 50vh; padding-block: 35px 60px; }
.simple-page { max-width: 700px; }
.standalone-detail { max-width: 790px; position: relative; }
.standalone-detail > .dialog-close { position: absolute; top: 45px; right: 20px; }
.standalone-detail .dialog-body, #detail-dialog .dialog-body { padding-top: 28px; }
[data-detail-content] h1 { margin: 0; padding-right: 37px; font-size: clamp(24px, 4vw, 30px); line-height: 1.2; }
[data-detail-content] h2 { font-size: 17px; margin: 25px 0 10px; }
.login-form { display: grid; gap: 16px; max-width: 420px; }
.login-form .button { justify-self: start; }
.errorlist { color: #9c2020; padding-left: 1.4em; }
.footer-links a { font-size: 12px; }

@media (min-width: 761px) and (max-width: 1000px) {
  .nav .account-actions { flex-wrap: wrap; justify-content: end; gap: 5px; }
  .account-email { font-size: 11px; }
}

@media (max-width: 760px) {
  .site-header:not(.menu-open) .nav:focus-within { display: flex; }
  .site-header .nav { z-index: 5; }
  .site-header .nav .account-actions { flex-wrap: wrap; }
  .standalone-detail > .dialog-close { top: 36px; right: 6px; }
  .standalone-detail .dialog-body { padding-inline: 0; }
  #detail-dialog .dialog-body { padding-top: 23px; }
}
