/* utilzips shared site navigation */
.uz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 24px;
  font-family: "Instrument Sans", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
}

.uz-nav-brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: inherit;
  text-decoration: none;
}

.uz-nav-brand span { opacity: 0.55; font-weight: 600; }

.uz-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
}

.uz-nav-links a {
  font-size: 0.9rem;
  color: inherit;
  text-decoration: none;
  opacity: 0.55;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.uz-nav-links a:hover { opacity: 0.9; }

.uz-nav-links a.is-active {
  opacity: 1;
  font-weight: 600;
  border-bottom-color: currentColor;
}

/* Light pages (finance, productplan) */
.uz-nav--light {
  color: #0f172a;
  border-bottom: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 40;
  max-width: none;
  padding-left: max(24px, calc((100% - 1320px) / 2 + 24px));
  padding-right: max(24px, calc((100% - 1320px) / 2 + 24px));
}

.uz-nav--light .uz-nav-brand span { color: #64748b; opacity: 1; }
.uz-nav--light .uz-nav-links a.is-active { border-bottom-color: #0f172a; }

/* Reading layout (productplan) — Minimal paper bar */
.uz-nav--paper {
  color: #242424;
  border-bottom: 1px solid #f0f0f0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 40;
  max-width: none;
  padding: 14px max(24px, calc((100% - 680px) / 2 + 24px));
}

.uz-nav--paper .uz-nav-brand span { color: #8f8f8f; opacity: 1; }
.uz-nav--paper .uz-nav-links a.is-active { border-bottom-color: #1a8917; color: #1a8917; }

/* Hub (dark) */
.uz-nav--dark {
  color: #f3efe6;
  max-width: none;
  padding: 28px clamp(20px, 5vw, 56px) 0;
  background: transparent;
  border: none;
}

.uz-nav--dark .uz-nav-brand span { color: #e8a54b; opacity: 1; }
.uz-nav--dark .uz-nav-links a { opacity: 0.65; }
.uz-nav--dark .uz-nav-links a:hover { opacity: 1; }
.uz-nav--dark .uz-nav-links a.is-active {
  opacity: 1;
  border-bottom-color: #e8a54b;
}

.uz-nav-lang {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid currentColor;
  opacity: 0.35;
}

.uz-lang-btn {
  padding: 3px 7px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  background: transparent;
  color: inherit;
  transition: border-color 0.15s, opacity 0.15s;
  opacity: 0.6;
}

.uz-lang-btn:hover { opacity: 1; }
.uz-lang-btn.active { opacity: 1; border-color: currentColor; }

@media (max-width: 560px) {
  .uz-nav { padding-top: 14px; padding-bottom: 14px; }
  .uz-nav-links { gap: 4px 12px; }
  .uz-nav-links a { font-size: 0.85rem; }
}
