/* Shared identity for the two storefronts, independent of page templates. */
:root {
  --family-ui: "Segoe UI Variable Text","Segoe UI",Arial,sans-serif;
  --family-wordmark: 700 23px/1.1 var(--family-ui);
  --family-wordmark-spacing: -.043em;
  --family-link-ink: #244f3b;
  --family-link-line: #b7c8b8;
  --family-link-bg: #edf2e6;
  --family-link-hover: #dce9d8;
}
:root[data-theme="dark"] {
  --family-link-ink: #d7e9cb; --family-link-line: #59715d;
  --family-link-bg: #283d2c; --family-link-hover: #354e38;
}
:root[data-edition="b"] {
  --family-link-ink: #213eae; --family-link-line: #bccbf1;
  --family-link-bg: #edf2ff; --family-link-hover: #dee7ff;
}
:root[data-edition="b"][data-theme="dark"] {
  --family-link-ink: #d8e3ff; --family-link-line: #526994;
  --family-link-bg: #273651; --family-link-hover: #33486b;
}
html body :is(.site-wordmark, .sidebar .brand-copy strong) {
  display: block;
  font: var(--family-wordmark);
  letter-spacing: var(--family-wordmark-spacing);
  text-transform: none;
  white-space: nowrap;
}
html body :is(.brand .brand-caption, .sidebar .brand-copy small) {
  margin-top: 3px;
  font: 400 12px/1.35 var(--family-ui);
  letter-spacing: normal;
}
html body :is(.brand .brand-symbol, .sidebar .brand-mark, .site-brand-mark) {
  width: 32px; height: 32px;
  flex: 0 0 32px;
}
html:root header:is(.topbar, .index-header, .folio-header) a.site-family-link {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; flex: none; min-height: 36px;
  padding: 6px 11px; border: 1px solid var(--family-link-line); border-radius: 6px;
  background: var(--family-link-bg); color: var(--family-link-ink);
  font: 600 14px/1.2 var(--family-ui);
  white-space: nowrap; letter-spacing: normal; text-decoration: none;
}
html:root header:is(.topbar, .index-header, .folio-header) a.site-family-link:hover {
  background: var(--family-link-hover); color: var(--family-link-ink);
  border-color: var(--family-link-line);
  text-decoration: none;
}
html:root header:is(.topbar, .index-header, .folio-header) a.site-family-link:focus-visible {
  outline: 3px solid var(--family-link-ink); outline-offset: 2px;
}
html:root header:is(.topbar, .index-header, .folio-header) a.site-family-link svg { width: 15px; height: 15px; flex: none; }
html:root[data-dns-hosted="false"] header.topbar .dns-home-link { display: none; }
html[data-edition="b"] .analytics-consent {
  box-sizing: border-box;
  border-color: var(--ix-line, var(--line));
  border-radius: 6px;
  color: var(--ix-ink, var(--text));
  background: var(--ix-surface, var(--surface));
  max-height: 65vh; overflow-y: auto;
}
html[data-edition="b"] .analytics-consent button {
  border-color: var(--ix-line, var(--line));
  background: var(--ix-tint, var(--surface-soft));
  color: var(--ix-ink, var(--text));
}
html[data-edition="b"] .analytics-consent a {
  color: var(--ix-brand, var(--accent)); text-decoration: underline;
}
@media (min-width: 1051px) {
  html[data-edition="b"][data-dns-hosted="true"] { --sidebar: 216px; }
  html[data-edition="b"] body :is(.sidebar, .dashboard-sidebar) { padding-top: 12px; }
  html[data-edition="b"] body :is(.sidebar, .dashboard-sidebar) .brand {
    flex-shrink: 0; min-height: 55px; padding: 0 6px 10px; gap: 10px;
    border-bottom: 1px solid #394760;
  }
  html[data-edition="b"] body .topbar { min-height: 67px; }
}
@media (max-width: 620px) {
  html:root header:is(.topbar, .index-header, .folio-header) a.site-family-link { padding: 5px 8px; min-height: 32px; font-size: 13px; gap: 4px; }
  html body .topbar .mobile-brand .site-wordmark { font-size: 18px; }
}
@media (max-width: 380px) {
  html body .topbar .mobile-brand .site-wordmark { font-size: 16px; }
  html body :is(.folio-nav,.index-bar nav) { gap: 13px; }
}
