/* Shared brand typography and page chrome, loaded after page-specific styles. */
:root, .vault-site {
  --paper: #fff;
  --forest: #111;
  --forest-dark: #000;
  --muted: #505050;
  --line: #dedede;
  --lime: #e8e8e8;
  --error: #111;
  --ink: #111;
  --tint: #f5f5f5;
  --sans: Helvetica, 'Helvetica Neue', Arial, sans-serif;
  --serif: var(--sans);
  --display: var(--sans);
  color-scheme: light;
  font-family: var(--sans);
}
.shared-header, .shared-footer {
  color: #111;
  background: #fff;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
.shell-wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.seo-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 24px; color: #505050; font-size: 13px; line-height: 1.6; }
.seo-breadcrumb a { color: inherit; text-underline-offset: 3px; }
.skip-link:focus { z-index: 31; }
.shared-header.site-header, .shared-header.vault-dialog-header {
  position: relative;
  z-index: 30;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  scrollbar-gutter: auto;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
}
.shell-header-row { display: flex; align-items: center; justify-content: space-between; min-height: 81px; gap: 24px; }
.shared-header .shell-brand, .shared-footer .shell-brand {
  display: inline-flex;
  align-items: baseline;
  flex-shrink: 0;
  padding-block: 8px;
  color: #111;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}
.shared-header nav { font-size: 14px; font-weight: 400; }
/* Preserve the navigation sizes previously supplied by the page styles. */
.vault-site .shared-header.site-header nav { font-weight: 500; }
.vault-site .shared-header.vault-dialog-header nav { font-size: 16px; }
.shared-header .shell-desktop-nav { display: flex; align-items: center; gap: 24px; }
.shared-header nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 10px; color: #333; font-weight: 600; text-decoration: none; }
.shared-header nav a[aria-current]:not(.shell-cta) { color: #111; text-decoration: underline; text-underline-offset: 6px; }
.shared-header nav .shell-cta { justify-content: center; padding: 12px 18px; border-radius: 6px; background: #111; color: #fff; font-weight: 700; }
.shared-header .shell-menu { display: none; margin: 0; padding: 0; border: 0; }
.shared-header .shell-menu summary {
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  padding: 0; border: 1px solid #dedede; border-radius: 8px; background: #fff; color: #111;
  cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent;
}
.shell-menu summary::-webkit-details-marker { display: none; }
.shell-menu summary::marker { content: ''; }
.shell-menu-icon { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.shell-menu .menu-cross, .shell-menu[open] .menu-bars { display: none; }
.shell-menu[open] .menu-cross { display: block; }
.shell-menu-panel { position: absolute; inset: 100% 0 auto; padding-block: 12px 20px; background: #fff; border-bottom: 1px solid #dedede; box-shadow: 0 12px 24px #0000000d; }
.shared-header .shell-menu-panel nav { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
.shared-header .shell-menu-panel nav a { min-height: 48px; padding: 12px 8px; font-size: 16px; }
.shared-header .shell-menu-panel nav .shell-cta { margin-top: 10px; }
.shared-header a:focus-visible, .shared-header summary:focus-visible, .shared-footer a:focus-visible { outline: 2px solid #111; outline-offset: 4px; }
.shared-header summary:active { background: #f2f2f2; }
.shared-footer.site-footer, .shared-footer.application-footer {
  display: block; width: 100%; padding: 44px 0 24px; margin: 0; border: 0; border-top: 1px solid #e5e5e5; background: #fff;
}
.shell-footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) 1fr 1fr; gap: 48px; }
.shared-footer .shell-footer-brand p { max-width: 32ch; margin: 12px 0 14px; font-size: 14px; line-height: 1.7; color: #505050; }
.shared-footer a { color: #333; text-decoration: none; }
.shared-footer .shell-contact { display: inline-block; padding-block: 8px; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.shared-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 14px; }
.vault-site .shared-footer nav { font-size: 16px; }
.shared-footer nav h2 { margin: 8px 0 10px; font: 700 14px/1.5 var(--sans); color: #111; letter-spacing: 0; }
.shared-footer nav a { display: inline-block; min-height: 36px; padding-block: 7px; font-size: 14px; line-height: 1.5; }
.shared-footer nav a[aria-current='page'] { text-decoration: underline; text-underline-offset: 4px; }
.shared-footer .shell-cookie-settings { display: inline-flex; align-items: center; min-height: 44px; padding: 7px 0; border: 0; background: transparent; color: #333; font: 400 14px/1.5 var(--sans); text-align: left; cursor: pointer; }
.shared-footer .shell-cookie-settings:focus-visible { outline: 2px solid #111; outline-offset: 4px; }
.shell-cookie-settings[hidden], .analytics-consent[hidden], .analytics-consent [hidden] { display: none !important; }
.shell-footer-bottom { display: flex; justify-content: space-between; gap: 12px 24px; margin-top: 32px; padding-top: 20px; border-top: 1px solid #eee; }
.shared-footer .shell-footer-bottom p { margin: 0; color: #505050; font-size: 12px; line-height: 1.6; }
.vault-site .vault-dialog { --application-header-height: 82px; }
.vault-site .vault-dialog .vault-form-room { padding-bottom: 0; }
.vault-site .vault-dialog .application-footer { width: auto; margin: 32px -32px 0; padding-top: 32px; }

/* Optional measurement never opens a modal or takes focus from the application. */
.analytics-consent { position: fixed; z-index: 60; inset: auto 16px 16px; width: min(680px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin-inline: auto; padding: 20px; overflow-y: auto; border: 1px solid #d5d5d5; border-radius: 10px; background: #fff; color: #111; box-shadow: 0 8px 32px #0000001a; font: 400 14px/1.6 var(--sans); }
.analytics-consent-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.analytics-consent .analytics-consent-heading h2 { margin: 0; color: #111; font: 700 18px/1.4 var(--sans); letter-spacing: -.01em; }
.analytics-consent .analytics-consent-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; margin: -8px -8px -8px 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #111; font: 400 26px/1 var(--sans); cursor: pointer; }
.analytics-consent p { margin: 0; color: #505050; font: 400 14px/1.6 var(--sans); }
.analytics-consent a { color: #111; text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent .analytics-consent-current { margin-top: 12px; font-size: 13px; }
.analytics-consent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.analytics-consent .analytics-consent-choice { min-height: 44px; padding: 10px 12px; border: 1px solid #111; border-radius: 6px; background: #111; color: #fff; font: 600 14px/1.5 var(--sans); cursor: pointer; }
.analytics-consent :is(a, button):focus-visible { outline: 2px solid #111; outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .shared-header nav a:not(.shell-cta):hover, .shared-footer nav a:hover { color: #111; text-decoration: underline; text-underline-offset: 4px; }
  .shared-header nav .shell-cta:hover { background: #333; color: #fff; }
  .shell-menu summary:hover { background: #f5f5f5; }
  .shared-footer .shell-cookie-settings:hover { color: #111; text-decoration: underline; text-underline-offset: 4px; }
  .analytics-consent .analytics-consent-choice:hover { background: #333; border-color: #333; }
  .analytics-consent .analytics-consent-close:hover { background: #f5f5f5; }
}
@media (max-width: 1100px) {
  .shared-header .shell-desktop-nav { display: none; }
  .shared-header .shell-menu { display: block; }
}
@media (max-width: 960px) {
  .shell-wrap { width: calc(100% - 40px); }
  .shell-header-row { min-height: 75px; gap: 16px; }
  .shared-header .shell-brand, .shared-footer .shell-brand { font-size: 26px; }
  .shared-header .shell-desktop-nav { display: none; }
  .shared-header .shell-menu { display: block; }
  .vault-site .vault-dialog { --application-header-height: 76px; }
  .vault-site .vault-dialog .vault-form-room { padding-inline: 20px; }
  .vault-site .vault-dialog .application-footer { margin-inline: -20px; }
  .shell-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .shell-footer-brand { grid-column: 1 / -1; }
  .shared-footer nav a { min-height: 44px; padding-block: 11px; }
  .shell-footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 540px) {
  .vault-site .shared-footer.site-footer .shell-footer-bottom p { max-width: 38ch; }
  .analytics-consent { padding: 16px; }
}
@media print { .shared-header, .shared-footer, .analytics-consent { display: none !important; } }
