:root { --site-filing-height: 24px; }
.site-filing {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px 16px;
  margin: 0;
  padding: 3px 12px;
  color: #34483b;
  background: #f5f6ef;
  font: 11px/18px "PingFang SC", "Microsoft YaHei", sans-serif;
  text-align: center;
}
.site-filing--after-canvas {
  position: relative;
  z-index: 30;
  min-height: var(--site-filing-height);
  padding-bottom: calc(3px + env(safe-area-inset-bottom, 0px));
  color: #34483b;
  background: transparent;
  border: 0;
}
/* Reserve the canvas before JavaScript mounts so the footer never flashes in the first screen. */
body:has(> .site-filing--after-canvas) > #root { min-height: 100vh; }
/* Clip the draggable canvas without creating a second, programmatically scrollable viewport. */
main.home { overflow: clip; }
body:has(main.home) { background: #385e4b; }
body:has(main.home) .site-filing--after-canvas { color: #c1d0c3; background: #385e4b; }
body:has(main.home) .site-filing--after-canvas a:hover { color: #fff; }
.site-filing a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.site-filing a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-filing a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.site-filing img { display: block; width: 14px; height: 14px; flex-shrink: 0; }
.site-filing__signature { white-space: nowrap; }
.site-mobile-navigation {
  position: absolute !important;
  bottom: calc(32px + env(safe-area-inset-bottom, 0px)) !important;
}
@media (max-width: 540px) {
  :root { --site-filing-height: 60px; }
  .site-filing { flex-direction: column; gap: 0; }
}
