/* Shared navigation for every public page; page content keeps its own styles. */
.site-unified-header, .site-unified-footer { font-family: "Segoe UI", "Microsoft YaHei", system-ui, sans-serif; }
.formal-site .site-unified-header {
  height: 70px;
  gap: 20px;
  background: rgba(251, 252, 250, .96);
  isolation: isolate;
}
.formal-site .site-unified-header .desktop-nav { display: flex; gap: 24px; white-space: nowrap; }
.formal-site .site-header-actions { display: flex; align-items: center; gap: 12px; margin-left: 0; }
.formal-site .site-unified-header .header-action { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
.site-contact { position: relative; color: #345e45; font-size: 13px; }
.site-contact > summary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 38px; padding: 8px 11px; list-style: none; cursor: pointer;
  border: 1px solid #d7e4da; border-radius: 10px; background: #fbfdfb;
  color: #345e45; font-weight: 700; white-space: nowrap;
}
.site-contact > summary::-webkit-details-marker { display: none; }
.site-contact > summary:hover, .site-contact[open] > summary { background: #edf5ef; border-color: #aac8b2; }
.site-contact-icon { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.site-contact-panel { position: absolute; z-index: 30; top: 100%; right: 0; width: 236px; padding-top: 10px; }
.site-contact-card {
  display: grid; justify-items: center; gap: 8px; padding: 15px;
  max-height: calc(100dvh - 88px); overflow-y: auto;
  border: 1px solid #d7e4da; border-radius: 14px;
  background: #fff; color: #345e45; box-shadow: 0 12px 36px #203e2c25;
}
.site-contact-card > img { display: block; width: 172px; max-width: 100%; height: auto; }
.site-contact-card > p { margin: 0; color: #4d6756; font-size: 12px; line-height: 1.6; }
.site-contact-account { display: flex; align-items: center; gap: 6px; width: 100%; font-size: 12px; }
.site-contact-account label { white-space: nowrap; }
.site-contact-account input { min-width: 0; width: 95px; flex: 1; padding: 4px 0; border: 0; background: transparent; color: #294c37; font: 600 14px/1.5 "Segoe UI", sans-serif; }
.site-contact-copy { display: grid; place-items: center; flex: none; width: 34px; height: 34px; padding: 6px; border: 1px solid #d5e3d9; border-radius: 8px; background: #f6faf7; color: #345e45; cursor: pointer; }
.site-contact-copy:hover { background: #eaf3ed; }
.site-contact-copy:disabled { opacity: .6; cursor: wait; }
.site-contact-card .site-contact-message { width: 100%; color: #4e6858; font-size: 12px; text-align: center; }
.site-contact-message:empty { display: none; }
.site-download-short { display: none; }
.formal-site .site-unified-footer .footer-main { grid-template-columns: minmax(190px, 1fr) minmax(260px, 1.35fr) auto; align-items: center; gap: 28px; }
.formal-site .site-unified-footer .footer-nav { align-items: center; gap: 10px 20px; font-size: 12px; }
.site-unified-footer .site-contact { display: inline-flex; }
.site-unified-footer .site-contact > summary { min-height: 30px; padding: 3px 0; border: 0; border-radius: 4px; background: transparent; color: #d1dbd5; font-size: 12px; font-weight: 400; }
.site-unified-footer .site-contact > summary:hover { color: #fff; }
.site-unified-footer .site-contact-panel { top: auto; right: auto; bottom: 100%; left: 0; padding-top: 0; padding-bottom: 10px; }
@media (max-width: 1100px) {
  .formal-site .site-unified-header .desktop-nav { display: none; }
  .formal-site .site-unified-header .site-header-actions { margin-left: auto; }
  .formal-site .site-unified-header .mobile-menu { display: block; position: relative; flex: none; }
  .formal-site .site-unified-header .mobile-menu summary { padding: 8px 10px; border: 1px solid #dce6dc; border-radius: 9px; background: white; color: #345e45; font-size: 13px; font-weight: 700; cursor: pointer; }
  .formal-site .site-unified-header .mobile-menu nav { position: absolute; top: calc(100% + 10px); right: 0; display: grid; min-width: 180px; max-height: calc(100dvh - 90px); overflow-y: auto; padding: 8px; border: 1px solid #dce6dc; border-radius: 12px; background: white; box-shadow: 0 12px 30px #1b302322; }
  .formal-site .site-unified-header .mobile-menu nav a { padding: 10px; border-radius: 7px; font-size: 14px; }
  .formal-site .site-unified-header .mobile-menu nav a:hover, .formal-site .site-unified-header .mobile-menu nav a.is-active { background: #edf5ec; color: #345e45; }
  .formal-site .site-unified-footer .footer-main { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .formal-site .site-unified-footer .footer-legal-nav { padding-left: 0; }
  .formal-site .site-unified-footer .footer-legal-nav::before { display: none; }
}
@media (max-width: 700px) {
  .formal-site .site-unified-header { height: 62px; gap: 8px; padding-inline: 15px; }
  .formal-site .site-header-actions { gap: 7px; }
  .formal-site .site-unified-header .header-action { padding: 8px 11px; min-height: 36px; font-size: 12px; }
  .site-download-full { display: none; }.site-download-short { display: inline; }
  .site-contact > summary { min-height: 36px; padding: 7px 8px; font-size: 12px; gap: 5px; }
  .site-contact > summary .site-contact-icon { width: 15px; height: 15px; }
  .site-header-actions .site-contact-panel { right: -55px; }
  .formal-site .site-unified-footer .footer-nav { gap: 10px 18px; }
}
