/* Shared Velaryum brand chrome — variants A (public), B (identity), C (workspace). */
[hidden],
.vx-is-hidden {
  display: none !important;
}
.vx-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line, #2a3542);
  background: rgba(11, 26, 47, 0.92);
  backdrop-filter: blur(10px);
}
.vx-header-start {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.vx-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--fg, var(--text, #e8eef4));
}
.vx-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 3px 8px;
  border-radius: 10px;
  background: linear-gradient(180deg, #243044, #1a2433);
  border: 1px solid #3a4a60;
  box-shadow: 0 0 0 1px rgba(61, 139, 253, 0.12);
}
.vx-brand-mark img {
  height: 38px;
  width: auto;
  display: block;
}
.vx-brand-name {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.vx-nav {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
}
.vx-nav-link {
  color: var(--muted, #8b9aab);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.vx-nav-link:hover,
.vx-nav-link.is-active {
  color: var(--fg, var(--text, #e8eef4));
}
.vx-account {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.vx-user-chip {
  color: var(--muted, #8b9aab);
  font-size: 0.88rem;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  font: inherit;
  cursor: pointer;
  border: 0;
  transition: transform 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
}
.vx-btn:hover {
  transform: translateY(-1px);
}
.vx-btn-primary {
  background: var(--accent, #3d8bfd);
  color: #fff;
}
.vx-btn-primary:hover {
  filter: brightness(1.08);
}
.vx-btn-ghost {
  border: 1px solid var(--line, var(--border, #2a3542));
  color: var(--fg, var(--text, #e8eef4));
  background: rgba(255, 255, 255, 0.03);
}
.vx-btn-ghost:hover {
  border-color: var(--accent, #3d8bfd);
}
.vx-cta-pending {
  opacity: 0.7;
  cursor: default;
  pointer-events: none;
}
.vx-header-B {
  justify-content: space-between;
}
.vx-header-B .vx-nav-b {
  gap: 0.75rem;
}


/* arreglo1: logo SVG en el header (reemplaza .vx-brand-mark / .vx-brand-name) */
.vx-brand-logo { height: 28px; width: auto; display: block; }
@media (max-width: 419px) { .vx-brand-logo { height: 30px; } }

/* mockup: fuentes locales */
@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url(/assets/fonts/dm-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 600; font-display: swap; src: url(/assets/fonts/dm-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-display: swap; src: url(/assets/fonts/dm-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif-latin-400-normal.woff2) format("woff2"); }

/* mockup: menú una fila + hamburguesa < 1100px */
.vx-header { min-height: 68px; }
.vx-nav-link { color: #b4c2d3; font-size: 0.95rem; padding: 0.35rem 0.1rem; }
.vx-nav-link.is-active { box-shadow: inset 0 -2px 0 var(--accent, #4f9bff); }
.vx-account { flex-wrap: nowrap; margin-left: 0.5rem; }
.vx-burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid #2b3f5c;
  background: rgba(255,255,255,0.04); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.vx-burger span { display: block; width: 20px; height: 2px; background: #e8eef4; border-radius: 2px; transition: transform .2s, opacity .2s; }
.vx-open .vx-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vx-open .vx-burger span:nth-child(2) { opacity: 0; }
.vx-open .vx-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1100px) {
  .vx-header-A .vx-burger, .vx-header-C .vx-burger { display: inline-flex; }
  .vx-header-A .vx-nav, .vx-header-C .vx-nav {
    display: none; position: fixed; inset: 68px 0 0 0; z-index: 40;
    flex-direction: column; align-items: stretch; gap: 0.25rem; white-space: normal;
    padding: 1.25rem clamp(1rem, 4vw, 2.5rem) 2rem; background: #0B1A2F; overflow-y: auto; }
  .vx-open .vx-nav { display: flex !important; }
  .vx-header-A .vx-nav-link, .vx-header-C .vx-nav-link { font-size: 1.15rem; padding: 0.9rem 0.25rem; border-bottom: 1px solid #1e3250; color: #e8eef4; }
  .vx-nav-link.is-active { box-shadow: inset 3px 0 0 var(--accent, #4f9bff); padding-left: 0.85rem; }
  .vx-account { margin: 1.25rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .vx-account .vx-btn { padding: 0.85rem 1rem; }
}
html.vx-lock { overflow: hidden; }
@media (max-width: 480px) { .vx-account { grid-template-columns: 1fr; } }
/* backdrop-filter convierte al header en contenedor de position:fixed; se quita bajo 1100px */
@media (max-width: 1100px) { .vx-header { backdrop-filter: none; background: rgba(11, 26, 47, 0.98); } }
