/* The Bridge — mission-control home deck. All selectors scoped #view-home.
   Leans on the shared design system; only bespoke layout lives here. */

#view-home .hub-kpis { margin-bottom: 6px; }
#view-home .hub-stat { transition: border-color .15s, transform .15s; }
#view-home .hub-stat:hover { border-color: var(--border-light); transform: translateY(-2px); }
#view-home .hub-stat .stat-sub { display: flex; align-items: baseline; gap: 6px; }

/* ── Fleet cards ─────────────────────────────────────────────── */
#view-home .hub-op { cursor: pointer; display: flex; flex-direction: column; }
#view-home .hub-op-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
#view-home .hub-op-glyph {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 19px; color: var(--mint);
  background: var(--teal-glow); border: 1px solid rgba(95,176,137,0.32);
  box-shadow: inset 0 0 14px -8px rgba(95,176,137,0.6);
}
#view-home .hub-op-id { flex: 1; min-width: 0; }
#view-home .hub-op-name { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--text); letter-spacing: .01em; }
#view-home .hub-op-role { font-size: 11px; margin-top: 3px; letter-spacing: .02em; }
#view-home .hub-op-blurb { font-size: 12.7px; line-height: 1.55; flex: 1; margin-bottom: 14px; min-height: 58px; }
#view-home .hub-op-foot { display: flex; }
#view-home .hub-op-foot .btn-ghost { padding-left: 12px; padding-right: 12px; }
#view-home .hub-op:hover .hub-op-glyph { box-shadow: inset 0 0 14px -6px rgba(95,176,137,0.8), 0 0 18px -8px rgba(95,176,137,0.55); }

/* ── Active fronts ───────────────────────────────────────────── */
#view-home .hub-fronts { display: flex; flex-direction: column; gap: 4px; }
#view-home .hub-front {
  display: flex; align-items: flex-start; gap: 13px; padding: 14px 12px;
  border-radius: 10px; cursor: pointer; transition: background .12s;
  border-bottom: 1px solid var(--border);
}
#view-home .hub-front:last-child { border-bottom: none; }
#view-home .hub-front:hover { background: var(--card-hover); }
#view-home .hub-front-glyph {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 16px; color: var(--mint);
  background: var(--bg-elevated); border: 1px solid var(--border); margin-top: 1px;
}
#view-home .hub-front-main { flex: 1; min-width: 0; }
#view-home .hub-front-head { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; flex-wrap: wrap; }
#view-home .hub-front-title { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--text); }
#view-home .hub-front-pct { margin-left: auto; color: var(--mint); font-size: 12.5px; font-weight: 600; }
#view-home .hub-front .bar { margin-bottom: 9px; }
#view-home .hub-front-desc { font-size: 12px; line-height: 1.5; }
#view-home .hub-front-go { color: var(--text-faint); flex-shrink: 0; display: flex; margin-top: 8px; transition: color .12s, transform .15s; }
#view-home .hub-front:hover .hub-front-go { color: var(--mint); transform: translateX(2px); }

/* ── Platform-at-a-glance rail ───────────────────────────────── */
#view-home .hub-glance { display: flex; flex-direction: column; }
#view-home .hub-glance-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 2px; border-bottom: 1px solid var(--border);
}
#view-home .hub-glance-row:last-child { border-bottom: none; }
#view-home .hub-glance-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
#view-home .hub-glance-sub { font-size: 10.5px; margin-top: 2px; letter-spacing: .02em; }
#view-home .hub-glance-val { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }

/* ── Unified feed tweaks ─────────────────────────────────────── */
#view-home .hub-feed-item { cursor: pointer; transition: background .12s; border-radius: 9px; padding-left: 10px; padding-right: 10px; margin: 0 -10px; }
#view-home .hub-feed-item:hover { background: var(--card-hover); }
#view-home .hub-feed-item:hover .feed-icon { color: #06231b; background: var(--mint); border-color: transparent; }
#view-home .hub-feed-item .feed-icon { transition: all .12s; }

/* ── Jump-to grid ────────────────────────────────────────────── */
#view-home .hub-jumps { gap: 12px; }
#view-home .hub-jump {
  display: flex; align-items: center; gap: 12px; padding: 14px 14px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  cursor: pointer; text-align: left; font-family: var(--font-body); color: var(--text);
  transition: transform .15s, border-color .15s, box-shadow .15s, background .15s;
}
#view-home .hub-jump:hover {
  transform: translateY(-3px); border-color: rgba(95,176,137,0.4);
  box-shadow: 0 12px 30px -16px rgba(0,0,0,.8); background: var(--card-hover);
}
#view-home .hub-jump-glyph {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 17px; color: var(--mint);
  background: var(--bg-elevated); border: 1px solid var(--border); transition: all .15s;
}
#view-home .hub-jump:hover .hub-jump-glyph { color: #06231b; background: var(--mint); border-color: transparent; }
#view-home .hub-jump-main { flex: 1; min-width: 0; }
#view-home .hub-jump-name { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--text); }
#view-home .hub-jump-sub { font-size: 10.5px; margin-top: 2px; letter-spacing: .02em; }
#view-home .hub-jump-go { color: var(--text-faint); flex-shrink: 0; display: flex; transition: color .12s, transform .15s; }
#view-home .hub-jump:hover .hub-jump-go { color: var(--mint); transform: translateX(2px); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 960px){
  #view-home .hub-split { grid-template-columns: 1fr !important; }
}
@media (max-width: 760px){
  #view-home .hub-op-blurb { min-height: 0; }
}
