body {
  font: 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f1f5f9;
  color: #0f172a;
  display: flex;
  flex-direction: column;
}
body * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* 无顶部导航：三条主视图切换独立成一个板块，宽度与下方内容（.wrap 1420px）严格一致 */
.navwrap {
  flex: 0 0 auto;
  background: transparent;
  padding: 12px 10px 0;
  display: flex;
  justify-content: center;
}
.navcard {
  width: 100%;
  max-width: 1380px;
  border-radius: 12px;
  padding: 10px 14px 4px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.navbrand {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.brand {
  font-weight: 700;
  font-size: 14px;
  color: #0f172a;
  white-space: nowrap;
}
.brand small {
  opacity: 0.5;
  font-weight: 400;
  font-size: 11.5px;
  margin-left: 6px;
}
.seg {
  display: inline-flex;
  border-radius: 10px;
  padding: 3px;
  gap: 8px;
}
.seg button {
  border: 0;
  background: transparent;
  color: #475569;
  padding: 7px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: 0.16s;
  white-space: nowrap;
  font-family: inherit;
}
.seg button:hover {
  background: #dae0e7;
  color: #0f172a;
}
.seg button.on {
  background: #0b6b39;
  color: #fff;
  box-shadow: 0 2px 8px rgba(11, 107, 57, 0.25);
}
.spacer {
  flex: 1;
}
.open {
  color: #0b6b39;
  text-decoration: none;
  font-size: 12.5px;
  border: 1px solid #cbd5e1;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  font-weight: 600;
}
.open:hover {
  background: #f0fdf4;
  border-color: #86efac;
}
.frame {
  width: 100%;
  border: 0;
  display: block;
  background: #f1f5f9;
}
@media (max-width: 1200px) {
  .navbrand .brand small {
    display: none;
  }
  .seg button {
    padding: 6px 12px;
    font-size: 12.5px;
  }
}
@media (max-width: 820px) {
  .navwrap {
    padding: 10px 10px 0;
  }
  .navcard {
    flex-wrap: wrap;
    gap: 8px;
  }
  .brand {
    display: none;
  }
  .open {
    display: none;
  }
  .seg {
    width: 100%;
    justify-content: space-between;
  }
  .seg button {
    flex: 1;
    padding: 6px 8px;
    font-size: 12px;
  }
}
/*# sourceMappingURL=stackup-impedance-calculation.css.map */