/* 智落 · 公共顶部导航（workspace / track / join 统一） */
.ph-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #e3e9f2;
}
.ph-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 18px; }
.ph-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #0b1b33; flex: none; }
.ph-logo {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(145deg,#0ea5e9,#4f46e5); color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: 0 8px 18px -8px rgba(79,70,229,.6);
}
.ph-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.ph-brand-text b { font-size: 16px; letter-spacing: .12em; }
.ph-brand-text small { font-size: 10px; color: #5b6b85; letter-spacing: .06em; margin-top: 2px; }
.ph-nav { display: flex; align-items: center; gap: 2px; margin-left: 14px; }
.ph-nav a {
  text-decoration: none; color: #56657d; font-size: 13px; padding: 8px 12px; border-radius: 8px;
  transition: background .15s, color .15s; white-space: nowrap;
}
.ph-nav a:hover { color: #0b1b33; background: #f1f5f9; }
.ph-nav a.is-active { color: #0b1b33; background: #eef2f7; font-weight: 700; }
.ph-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ph-cta {
  height: 36px; padding: 0 16px; border-radius: 10px; background: #0b1b33; color: #fff !important;
  font-size: 12.5px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 7px;
}
.ph-cta:hover { background: #13294b; }
.ph-menu-toggle {
  display: none; width: 36px; height: 36px; border: 1px solid #e3e9f2; background: #fff; border-radius: 9px;
  padding: 9px 8px; flex-direction: column; justify-content: space-between; cursor: pointer;
}
.ph-menu-toggle span { display: block; height: 1.5px; border-radius: 2px; background: #334155; transition: transform .15s, opacity .15s; }
.ph-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.ph-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ph-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.ph-mobile-nav { display: none; border-top: 1px solid #e3e9f2; background: #fff; padding: 8px 16px 14px; }
.ph-mobile-nav a {
  display: flex; align-items: center; justify-content: space-between; padding: 11px 10px; border-radius: 8px;
  font-size: 13.5px; color: #334155; text-decoration: none;
}
.ph-mobile-nav a.is-active { background: #f1f5f9; color: #0b1b33; font-weight: 700; }
.ph-mobile-nav a.is-cta { background: #0b1b33; color: #fff; justify-content: center; margin-top: 6px; font-weight: 600; }
@media (max-width: 1080px) {
  .ph-nav { display: none; }
  .ph-menu-toggle { display: flex; margin-left: auto; }
  .ph-actions { margin-left: 0; }
  .ph-mobile-nav:not([hidden]) { display: block; }
}
@media (max-width: 560px) {
  .ph-wrap { width: calc(100% - 28px); height: 58px; gap: 12px; }
  .ph-cta { height: 32px; padding: 0 12px; font-size: 11.5px; }
  .ph-brand-text small { display: none; }
}
