/* Vertical tab navigation with animated active indicator */

.vtabs-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
  align-items: start;
  min-height: 60vh;
}
.vtabs-nav {
  position: sticky;
  top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(10, 14, 20, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.12);
  overflow: hidden;
}
.vtabs-nav::before {
  content: '';
  position: absolute;
  left: 0;
  top: var(--vt-indicator-top, 0);
  width: 3px;
  height: var(--vt-indicator-h, 40px);
  background: linear-gradient(180deg, var(--vt-color, #00e5ff), transparent);
  border-radius: 0 4px 4px 0;
  transition: top 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), height 0.25s ease;
  box-shadow: 0 0 12px var(--vt-color, #00e5ff);
}
.vtab-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s, background 0.25s, transform 0.2s;
  text-decoration: none;
}
.vtab-btn:hover {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(4px);
}
.vtab-btn.active {
  color: #fff;
  background: color-mix(in srgb, var(--vt-color, #00e5ff) 12%, transparent);
  text-shadow: 0 0 10px color-mix(in srgb, var(--vt-color, #00e5ff) 50%, transparent);
}
.vtab-icon { font-size: 1.1rem; flex-shrink: 0; }
.vtabs-content { min-width: 0; animation: vtabFadeIn 0.35s ease; }
@keyframes vtabFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* App sidebar layout */
.app-shell {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 100vh;
}
.app-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 1rem 0.65rem;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.98), rgba(12, 18, 28, 0.95));
  border-right: 1px solid rgba(148, 163, 184, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.app-sidebar-brand {
  padding: 0.5rem 0.75rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  margin-bottom: 0.5rem;
}
.app-sidebar-brand .brand-title { font-size: 0.65rem; letter-spacing: 0.12em; color: #64748b; margin: 0; }
.app-sidebar-brand .brand-name { font-size: 1rem; font-weight: 700; color: #e2e8f0; margin: 0.15rem 0 0; }
.app-sidebar-group { margin-bottom: 0.75rem; }
.app-sidebar-label {
  font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: #64748b; padding: 0.25rem 0.75rem; margin-bottom: 0.25rem;
}
.app-sidebar .nav-pill {
  display: flex; width: 100%; justify-content: flex-start;
  margin-bottom: 0.2rem; border-radius: 10px;
  animation: none;
}
.app-sidebar .nav-pill.active { animation: nav-pill-pulse 2.5s ease-in-out infinite; }

.persona-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0 0.5rem 0.75rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}
.persona-btn {
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(15, 23, 42, 0.6);
  color: #94a3b8;
  border-radius: 10px;
  padding: 0.45rem 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}
.persona-btn-ceo.active {
  color: #fcd34d;
  border-color: rgba(252, 211, 77, 0.45);
  background: rgba(252, 211, 77, 0.1);
  box-shadow: 0 0 20px rgba(252, 211, 77, 0.12);
}
.persona-btn-cto.active {
  color: #22d3ee;
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.1);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.12);
}
.persona-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  margin-right: 0.45rem;
  vertical-align: middle;
}
.persona-badge-ceo { color: #fcd34d; background: rgba(252, 211, 77, 0.12); border: 1px solid rgba(252, 211, 77, 0.25); }
.persona-badge-cto { color: #22d3ee; background: rgba(34, 211, 238, 0.12); border: 1px solid rgba(34, 211, 238, 0.25); }
.persona-nav { display: contents; }

.app-main { min-width: 0; }
.app-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.65rem 1.25rem; border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(8, 12, 18, 0.6);
}
.app-clock {
  font-family: ui-monospace, monospace; font-size: 0.85rem; color: #94a3b8;
}
.app-clock strong { color: #e2e8f0; }
.main-topnav { padding: 1rem 1.25rem; }

/* Mobile layout → see mobile.css */
