/* Varoriya dev — shared shell (sidebar + theme). Included by every page. */
:root {
  --v-bg:#ffffff; --v-fg:#1a1a1e; --v-muted:#6b7280; --v-line:#e9e9ee;
  --v-card:#fafafa; --v-card-hover:#f2f2f6; --v-accent:#eb4200; --v-accent-fg:#ffffff;
  --v-side-bg:#fbfbfc; --v-side-w:250px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --v-bg:#0b0b0f; --v-fg:#f2f2f5; --v-muted:#9ca3af; --v-line:#1e1e26;
    --v-card:#14141b; --v-card-hover:#1b1c26; --v-accent:#a78bfa; --v-accent-fg:#0b0b0f;
    --v-side-bg:#0e0e13;
  }
}
body.vshell { padding-left: var(--v-side-w); margin: 0; }

.vshell-sidebar,
.vshell-topbar { font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }

.vshell-sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--v-side-w);
  background: var(--v-side-bg); border-right: 1px solid var(--v-line);
  display: flex; flex-direction: column; padding: 18px 14px; z-index: 1000; overflow-y: auto;
}
.vshell-brand { font-family: "JetBrains Mono", monospace;display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; text-decoration: none; color: var(--v-fg); }
.vshell-brand img { width: 30px; height: 30px; border-radius: 7px; object-fit: cover; }
.vshell-brand .vb-txt { display: flex; flex-direction: column; line-height: 1.2;font-family: "JetBrains Mono", monospace; }
.vshell-brand b { font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; font-family: "JetBrains Mono", monospace; }
.vshell-brand i { font-size: 11px; color: var(--v-muted); font-style: normal; font-weight: 500; }

.vshell-nav { display: flex; flex-direction: column; gap: 2px; }
.vshell-nav a {
  display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 9px;
  color: var(--v-fg); text-decoration: none; font-size: 14px; opacity: .82;
  transition: background .14s, opacity .14s, color .14s;
}
.vshell-nav a .material-symbols-outlined { font-size: 20px; opacity: .9; }
.vshell-nav a:hover { background: var(--v-card-hover); opacity: 1; }
.vshell-nav a.active {
  background: color-mix(in srgb, var(--v-accent) 14%, transparent);
  color: var(--v-accent); opacity: 1; font-weight: 600;
}
.vshell-nav .ext { margin-left: auto; font-size: 12px; opacity: .5; }
.vshell-sep { height: 1px; background: var(--v-line); margin: 12px 6px; }
.vshell-foot { margin-top: auto; padding: 14px 10px 4px; font-size: 11px; color: var(--v-muted); }

/* mobile: sidebar becomes a drawer under a top bar */
.vshell-topbar, .vshell-backdrop, .vshell-toggle { display: none; }
@media (max-width: 900px) {
  body.vshell { padding-left: 0; padding-top: 56px; }
  .vshell-sidebar { transform: translateX(-100%); transition: transform .2s ease; width: 272px; box-shadow: 0 0 44px rgba(0,0,0,.35); }
  .vshell-sidebar.open { transform: none; }
  .vshell-topbar {
    display: flex; align-items: center; gap: 12px; position: fixed; top: 0; left: 0; right: 0; height: 56px;
    padding: 0 14px; background: var(--v-bg); border-bottom: 1px solid var(--v-line); z-index: 999;
  }
  .vshell-topbar b { font-size: 15px; font-weight: 700; }
  .vshell-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
    border: 1px solid var(--v-line); border-radius: 9px; background: var(--v-bg); color: var(--v-fg); cursor: pointer;
  }
  .vshell-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.42); z-index: 998; }
  .vshell-backdrop.open { display: block; }
}
