/* Viruall Office Hub v4.0 — Theme 4: Swiss Mint Industrial (Locked PC + Mobile First) */

.vhub-root {
  --vhub-paper: #f4f4f0;
  --vhub-paper-2: #e6e6df;
  --vhub-surface: #ffffff;
  --vhub-surface-2: #ededeb;
  --vhub-field: #ffffff;
  --vhub-ink: #111111;
  --vhub-ink-2: #2e2e2e;
  --vhub-ink-3: #595959;
  --vhub-shadow: #111111;
  --vhub-line-soft: rgba(17, 17, 17, 0.14);
  --vhub-yellow: #facc15;
  --vhub-mint: #34d399;
  --vhub-acid: #a3e635;
  --vhub-blue: #60a5fa;
  --vhub-coral: #fb7185;
  --vhub-lavender: #a78bfa;
  --vhub-cyan: #22d3ee;
  --vhub-on-cat: #111111;
  --vhub-accent: #10b981;
  --vhub-bw: 2px;
  --vhub-r: 4px;
  --vhub-r-lg: 6px;
  --vhub-sh: 4px 4px 0 var(--vhub-shadow);
  --vhub-sh-sm: 2px 2px 0 var(--vhub-shadow);
  --vhub-sh-lg: 6px 6px 0 var(--vhub-shadow);

  background: var(--vhub-paper);
  color: var(--vhub-ink);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  min-height: 100vh;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}

.vhub-root *, .vhub-root *::before, .vhub-root *::after {
  box-sizing: border-box;
}

:where(.vhub-root a) {
  color: inherit;
  text-decoration: none;
}

.vhub-root button {
  font-family: inherit;
  touch-action: manipulation;
}

/* Desktop App-Shell Lock: Topbar + Left + Right fixed, ONLY Center scrolls */
.vhub-shell {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.vhub-sidebar {
  width: 248px;
  flex-shrink: 0;
  background: var(--vhub-paper);
  border-right: var(--vhub-bw) solid var(--vhub-ink);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  padding: 14px 12px;
  gap: 10px;
  z-index: 40;
}

.vhub-sidebar > * {
  flex-shrink: 0;
}

.vhub-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.vhub-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--vhub-ink);
}

.vhub-brand-grid {
  width: 28px;
  height: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 3px;
  background: var(--vhub-surface);
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: 4px;
  box-shadow: var(--vhub-sh-sm);
}

.vhub-brand-grid span {
  border-radius: 2px;
  border: 1px solid var(--vhub-ink);
}

.vhub-side-close {
  display: none;
  background: var(--vhub-surface);
  color: var(--vhub-ink);
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: var(--vhub-r);
  padding: 5px 11px;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
}

.vhub-side-search {
  position: relative;
}

.vhub-side-search input {
  width: 100%;
  padding: 9px 48px 9px 10px;
  background: var(--vhub-field);
  color: var(--vhub-ink);
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: var(--vhub-r);
  font-size: 13px;
  font-weight: 600;
}

.vhub-kbd {
  display: inline-block;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 6px;
  border: 1.5px solid var(--vhub-ink);
  border-radius: 3px;
  background: var(--vhub-surface-2);
  color: var(--vhub-ink);
}

.vhub-side-search .vhub-kbd {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.vhub-side-label {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vhub-ink-3);
  margin: 4px 4px 2px;
}

.vhub-nav-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.vhub-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--vhub-r);
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 13px;
  color: var(--vhub-ink);
  cursor: pointer;
  background: transparent;
  text-align: left;
  width: 100%;
  transition: transform 0.1s ease, background-color 0.1s ease;
}

.vhub-nav-link:hover {
  background: var(--vhub-surface);
  border-color: var(--vhub-ink);
}

.vhub-root .vhub-nav-link.active {
  background: var(--vhub-ink);
  color: var(--vhub-paper);
  border-color: var(--vhub-ink);
}

.vhub-nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.vhub-cat-sq {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  border: 1.5px solid var(--vhub-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  color: var(--vhub-on-cat);
  flex-shrink: 0;
}

.vhub-nav-cnt {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  color: var(--vhub-ink-3);
}

.vhub-nav-link.active .vhub-nav-cnt {
  color: var(--vhub-paper-2);
}

.vhub-side-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: var(--vhub-bw) solid var(--vhub-line-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Pro Top Navbar + Center Scrollable Area + Right Locked Rail */
.vhub-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: row;
  height: 100%;
  overflow: hidden;
}

.vhub-topbar {
  min-height: 58px;
  background: var(--vhub-surface);
  border-bottom: var(--vhub-bw) solid var(--vhub-ink);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  z-index: 45;
}

.vhub-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.vhub-menu-btn {
  display: none;
  padding: 6px 10px;
  background: var(--vhub-yellow);
  color: var(--vhub-on-cat);
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: var(--vhub-r);
  box-shadow: var(--vhub-sh-sm);
  font-weight: 900;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.vhub-top-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--vhub-ink);
}

.vhub-nav-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.vhub-top-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  background: var(--vhub-paper);
  color: var(--vhub-ink);
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: var(--vhub-r);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: var(--vhub-sh-sm);
  transition: transform 0.1s ease, background-color 0.1s ease;
}

.vhub-top-tab:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--vhub-sh);
  background: var(--vhub-yellow);
  color: var(--vhub-on-cat);
}

.vhub-root .vhub-top-tab.active {
  background: var(--vhub-ink);
  color: var(--vhub-paper);
}

.vhub-top-badge {
  padding: 1px 5px;
  border-radius: 3px;
  border: 1px solid var(--vhub-ink);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  color: var(--vhub-on-cat);
}

.vhub-topbar-right {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

@media (min-width: 1121px) {
  .vhub-root {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  body.admin-bar .vhub-root {
    height: calc(100vh - 32px);
  }
}

.vhub-local-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--vhub-mint);
  color: var(--vhub-on-cat);
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: 999px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

/* Tactile Pressable Buttons & Cards */
.vhub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 15px;
  background: var(--vhub-surface);
  color: var(--vhub-ink);
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: var(--vhub-r);
  box-shadow: var(--vhub-sh-sm);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  text-decoration: none;
  white-space: nowrap;
}

.vhub-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--vhub-sh);
}

.vhub-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--vhub-shadow);
}

.vhub-root .vhub-btn-yellow { background: var(--vhub-yellow); color: var(--vhub-on-cat); }
.vhub-root .vhub-btn-mint { background: var(--vhub-mint); color: var(--vhub-on-cat); }
.vhub-root .vhub-btn-blue { background: var(--vhub-blue); color: var(--vhub-on-cat); }
.vhub-root .vhub-btn-coral { background: var(--vhub-coral); color: var(--vhub-on-cat); }
.vhub-root .vhub-btn-ink { background: var(--vhub-ink); color: var(--vhub-paper); }
.vhub-root .vhub-btn-sm { padding: 7px 11px; font-size: 12px; }

/* Content Workspace: Scrollable Center Column + Locked Right Rail on PC */
.vhub-workspace {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.vhub-content-wrap {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.vhub-content {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.vhub-right-rail {
  width: 292px;
  flex-shrink: 0;
  height: 100%;
  overflow-y: auto;
  padding: 14px 14px 28px;
  border-left: var(--vhub-bw) solid var(--vhub-ink);
  background: var(--vhub-paper);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}

.vhub-right-rail > * {
  flex-shrink: 0;
}

.vhub-ad-slot {
  text-align: center;
  width: 100%;
  flex-shrink: 0;
  overflow: visible;
}

.vhub-ad-demo {
  background-color: color-mix(in srgb, var(--vhub-yellow) 12%, var(--vhub-surface));
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 8px,
    rgba(17, 17, 17, 0.045) 8px 10px
  );
  border: var(--vhub-bw) dashed var(--vhub-ink);
  border-radius: var(--vhub-r);
  padding: 12px 10px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  color: var(--vhub-ink-2);
  text-align: center;
  line-height: 1.4;
}

.vhub-ad-demo span {
  display: block;
  font-size: 10px;
  color: var(--vhub-ink-3);
  margin-top: 2px;
}

.vhub-hero-grid {
  display: block;
}

.vhub-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.vhub-eyebrow {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vhub-ink-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vhub-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vhub-mint);
  border: 1.5px solid var(--vhub-ink);
  display: inline-block;
}

.vhub-pill-badge {
  padding: 3px 9px;
  background: var(--vhub-yellow);
  color: var(--vhub-on-cat);
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: 999px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  box-shadow: var(--vhub-sh-sm);
}

.vhub-display {
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--vhub-ink);
}

.vhub-mark {
  display: inline-block;
  padding: 2px 10px 4px;
  background: var(--vhub-yellow);
  color: var(--vhub-on-cat);
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: var(--vhub-r);
  box-shadow: var(--vhub-sh);
  transform: rotate(-1.2deg);
  margin-top: 4px;
}

.vhub-hero-sub {
  font-size: 15px;
  color: var(--vhub-ink-2);
  margin: 0 0 14px;
  max-width: 600px;
}

.vhub-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

/* Striped Interactive Finder */
.vhub-stripes-box {
  background-color: color-mix(in srgb, var(--vhub-yellow) 16%, var(--vhub-surface));
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 8px,
    rgba(17, 17, 17, 0.05) 8px 10px
  );
  border: var(--vhub-bw) dashed var(--vhub-ink);
  border-radius: var(--vhub-r-lg);
  box-shadow: var(--vhub-sh);
  padding: 14px;
}

.vhub-drop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.vhub-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.vhub-micro-chip {
  padding: 4px 9px;
  background: var(--vhub-surface);
  color: var(--vhub-ink);
  border: 1.5px solid var(--vhub-ink);
  border-radius: 3px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.vhub-micro-chip:hover {
  background: var(--vhub-mint);
  color: var(--vhub-on-cat);
}

/* Telemetry 3-Column Strip */
.vhub-telemetry {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: var(--vhub-r);
  background: var(--vhub-surface);
  box-shadow: var(--vhub-sh-sm);
  overflow: hidden;
}

.vhub-tel-cell {
  padding: 9px 10px;
  border-right: var(--vhub-bw) solid var(--vhub-ink);
  text-align: center;
}

.vhub-tel-cell:last-child {
  border-right: 0;
}

.vhub-tel-lbl {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  color: var(--vhub-ink-3);
  text-transform: uppercase;
  display: block;
}

.vhub-tel-val {
  font-size: 20px;
  font-weight: 900;
  color: var(--vhub-ink);
  line-height: 1.15;
}

/* Cards & Directory */
.vhub-card {
  background: var(--vhub-surface);
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: var(--vhub-r-lg);
  box-shadow: var(--vhub-sh);
  padding: 16px;
  min-width: 0;
}

.vhub-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.vhub-mini-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 9px 10px;
  background: var(--vhub-paper);
  color: var(--vhub-ink);
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: var(--vhub-r);
  box-shadow: var(--vhub-sh-sm);
  cursor: pointer;
  transition: transform 0.1s ease;
  min-width: 0;
}

.vhub-mini-tile:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--vhub-sh);
}

/* Section Headers */
.vhub-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: var(--vhub-bw) solid var(--vhub-ink);
  margin-bottom: 16px;
}

.vhub-sec-num {
  display: inline-block;
  padding: 2px 8px;
  border: 1.5px solid var(--vhub-ink);
  border-radius: 3px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  color: var(--vhub-on-cat);
  margin-bottom: 6px;
}

.vhub-sec-head h2 {
  margin: 0;
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.vhub-sec-head p {
  margin: 4px 0 0;
  color: var(--vhub-ink-3);
  font-size: 13px;
}

/* Curated Numbered Index (01..12) */
.vhub-curated-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: var(--vhub-r-lg);
  background: var(--vhub-surface);
  box-shadow: var(--vhub-sh);
  overflow: hidden;
}

.vhub-cur-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-bottom: 1.5px solid var(--vhub-line-soft);
  border-right: 1.5px solid var(--vhub-line-soft);
  cursor: pointer;
  transition: background-color 0.1s ease;
}

.vhub-cur-item:hover {
  background: color-mix(in srgb, var(--vhub-yellow) 28%, var(--vhub-surface));
}

.vhub-cur-num {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  color: var(--vhub-ink-3);
  width: 22px;
  flex-shrink: 0;
}

/* Interactive Tool Workspace */
.vhub-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.vhub-tab-btn {
  padding: 8px 13px;
  background: var(--vhub-surface);
  color: var(--vhub-ink);
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: var(--vhub-r);
  box-shadow: var(--vhub-sh-sm);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}

.vhub-tab-btn.active {
  background: var(--vhub-yellow);
  color: var(--vhub-on-cat);
  transform: translate(-1px, -1px);
  box-shadow: var(--vhub-sh);
}

.vhub-panel { display: none; }
.vhub-panel.active { display: block; }

.vhub-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 16px;
}

.vhub-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--vhub-ink-2);
  margin-bottom: 10px;
}

.vhub-root input[type="text"],
.vhub-root input[type="number"],
.vhub-root input[type="search"],
.vhub-root select,
.vhub-root textarea {
  width: 100%;
  margin-top: 5px;
  padding: 10px 11px;
  background: var(--vhub-field);
  color: var(--vhub-ink);
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: var(--vhub-r);
  font-size: 14px;
  font-weight: 600;
}

.vhub-out-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.vhub-code {
  margin: 0 0 10px;
  padding: 12px;
  background: var(--vhub-paper);
  color: var(--vhub-ink);
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: var(--vhub-r);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  white-space: pre-wrap;
  word-break: break-word;
}

.vhub-tip {
  padding: 9px 12px;
  background: color-mix(in srgb, var(--vhub-yellow) 36%, var(--vhub-surface));
  color: var(--vhub-on-cat);
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: var(--vhub-r);
  font-size: 12px;
  font-weight: 700;
}

.vhub-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  align-items: center;
}

.vhub-btn-row select {
  width: auto;
  margin-top: 0;
}

.vhub-table-wrap {
  overflow-x: auto;
  max-height: 240px;
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: var(--vhub-r);
  background: var(--vhub-field);
}

.vhub-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.vhub-table-wrap th,
.vhub-table-wrap td {
  padding: 7px 9px;
  border-bottom: 1px solid var(--vhub-line-soft);
  text-align: left;
}

.vhub-table-wrap th {
  background: var(--vhub-surface-2);
  font-weight: 800;
}

.vhub-fin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.vhub-fin-tile {
  background: var(--vhub-paper);
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: var(--vhub-r);
  padding: 9px 10px;
}

.vhub-fin-tile span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--vhub-ink-3);
}

.vhub-fin-tile strong {
  font-size: 18px;
  font-weight: 900;
}

/* Search Bar & Category Pills */
.vhub-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 14px;
}

.vhub-search-group {
  display: flex;
  gap: 8px;
  flex: 1 1 280px;
  min-width: 0;
  align-items: stretch;
}

.vhub-search-group input {
  flex: 1 1 auto;
  min-width: 0;
  margin-top: 0 !important;
}

.vhub-inline-results {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 8px;
}

.vhub-mini-res {
  background: var(--vhub-surface);
  color: var(--vhub-ink);
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: var(--vhub-r);
  padding: 9px 10px;
  cursor: pointer;
  text-align: left;
  box-shadow: var(--vhub-sh-sm);
}

.vhub-mini-res:hover {
  background: var(--vhub-mint);
  color: var(--vhub-on-cat);
}

.vhub-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.vhub-pill, .vhub-dl-pill {
  padding: 7px 13px;
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: 999px;
  background: var(--vhub-surface);
  color: var(--vhub-ink);
  font-weight: 800;
  font-size: 12px;
  box-shadow: var(--vhub-sh-sm);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.vhub-pill.active, .vhub-dl-pill.active {
  background: var(--vhub-mint);
  color: var(--vhub-on-cat);
}

.vhub-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 14px;
}

.vhub-item-card {
  background: var(--vhub-surface);
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: var(--vhub-r-lg);
  box-shadow: var(--vhub-sh);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 9px;
  min-width: 0;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.vhub-item-card.clickable {
  cursor: pointer;
}

.vhub-item-card.clickable:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--vhub-sh-lg);
}

.vhub-tag-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--vhub-ink-3);
}

.vhub-app-pill {
  padding: 2px 8px;
  border: 1.5px solid var(--vhub-ink);
  border-radius: 3px;
  font-weight: 900;
  color: var(--vhub-on-cat);
}

.vhub-app-excel { background: var(--vhub-acid); }
.vhub-app-word { background: var(--vhub-blue); }

.vhub-item-code {
  display: block;
  padding: 7px 9px;
  background: var(--vhub-paper);
  color: var(--vhub-ink);
  border: 1.5px solid var(--vhub-ink);
  border-radius: var(--vhub-r);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  word-break: break-word;
}

.vhub-dl-list {
  margin: 0;
  padding-left: 16px;
  color: var(--vhub-ink-2);
  font-size: 12px;
}

/* Privacy Split Bento */
.vhub-privacy {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: var(--vhub-r-lg);
  box-shadow: var(--vhub-sh-lg);
  overflow: hidden;
}

.vhub-priv-left {
  background: #1b1b1a;
  color: #f8f5ee;
  padding: 24px;
}

.vhub-priv-left h3 {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 16px;
}

.vhub-priv-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.vhub-priv-badge {
  padding: 9px 10px;
  border: 1.5px solid rgba(248, 245, 238, 0.35);
  border-radius: var(--vhub-r);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
}

.vhub-priv-right {
  background: var(--vhub-surface);
  padding: 24px;
  border-left: var(--vhub-bw) solid var(--vhub-ink);
}

/* Footer */
.vhub-footer {
  border-top: var(--vhub-bw) solid var(--vhub-ink);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
}

.vhub-footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.vhub-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 16px;
  background: var(--vhub-yellow);
  color: var(--vhub-on-cat);
  border: var(--vhub-bw) solid var(--vhub-ink);
  border-radius: var(--vhub-r);
  box-shadow: var(--vhub-sh);
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 100005;
}

.vhub-toast.show {
  opacity: 1;
}

.vhub-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 100000;
}

.vhub-backdrop.open {
  display: block;
}

/* Stack Right Rail cleanly on Tablet & Mobile */
@media (max-width: 1120px) {
  .vhub-shell,
  .vhub-main,
  .vhub-workspace {
    flex-direction: column;
    height: auto;
    overflow: visible;
  }
  .vhub-topbar {
    position: sticky;
    top: 0;
  }
  .vhub-nav-pills,
  .vhub-top-hide-sm {
    display: none;
  }
  .vhub-content-wrap {
    height: auto;
    overflow: visible;
  }
  .vhub-right-rail {
    position: static;
    width: 100%;
    height: auto;
    overflow-y: visible;
    border-left: 0;
    border-top: var(--vhub-bw) solid var(--vhub-ink);
    padding: 20px 22px 32px;
  }
}

/* Tablet & Mobile Responsive */
@media (max-width: 960px) {
  .vhub-sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    bottom: 0;
    width: 265px;
    max-width: 82vw;
    transition: left 0.22s ease;
    box-shadow: var(--vhub-sh-lg);
    z-index: 100001;
  }
  .vhub-sidebar.open {
    left: 0;
  }
  .vhub-side-close,
  .vhub-menu-btn {
    display: inline-flex;
    align-items: center;
  }
  .vhub-hero-grid,
  .vhub-privacy {
    grid-template-columns: 1fr;
  }
  .vhub-priv-right {
    border-left: 0;
    border-top: var(--vhub-bw) solid var(--vhub-ink);
  }
}

@media (max-width: 640px) {
  .vhub-topbar {
    padding: 8px 10px;
    min-height: 50px;
    gap: 6px;
  }
  .vhub-top-title {
    font-size: 11.5px;
    gap: 5px;
  }
  .vhub-top-title .vhub-brand-grid {
    width: 22px;
    height: 22px;
    padding: 2px;
  }
  .vhub-top-links {
    display: none;
  }
  .vhub-content {
    padding: 16px 12px 24px;
    gap: 28px;
  }
  .vhub-right-rail {
    padding: 0 12px 28px;
  }
  .vhub-display {
    font-size: 28px;
  }
  .vhub-cta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .vhub-cta-row .vhub-btn {
    width: 100%;
    padding: 9px 6px;
    font-size: 12px;
  }
  .vhub-tab-btn {
    flex: 1 1 calc(50% - 4px);
    text-align: center;
    padding: 8px 6px;
    font-size: 12px;
    white-space: normal;
  }
  .vhub-search-group {
    flex: 1 1 100%;
    flex-wrap: wrap;
  }
  .vhub-search-group input {
    flex: 1 1 100%;
  }
  .vhub-search-group .vhub-btn {
    flex: 1 1 0;
  }
  /* Horizontal swipe pills on mobile so 41 Excel categories never push cards below the fold */
  #vhub-cat-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }
  .vhub-tel-lbl {
    font-size: 9px;
  }
  .vhub-tel-val {
    font-size: 18px;
  }
  .vhub-priv-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vhub-priv-left,
  .vhub-priv-right,
  .vhub-card {
    padding: 14px 12px;
  }
  .vhub-toast {
    left: 12px;
    right: 12px;
    text-align: center;
  }
}
