/*
 * Supplio v2 Dashboard — account.html replacement
 *
 * Per design handoff README §6 + dashboard-v2.jsx.
 * Width canvas 1280px (sidebar 240 + main 1040).
 * Loaded AFTER css/v2-tokens.css.
 */

/* ============================================================
   Layout shell — sidebar + main
   ============================================================ */
.v2-dash {
  background: var(--v2-bg);
  color: var(--v2-ink);
  min-height: 100vh;
  display: flex;
}

.v2-dash__sidebar {
  width: 240px;
  background: var(--v2-ink);
  color: #fff;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  flex-shrink: 0;
}

.v2-dash__main {
  flex: 1;
  padding: 24px 28px 40px;
  min-width: 0;
}
@media (min-width: 1400px) { .v2-dash__main { padding: 28px 40px 48px; } }
@media (min-width: 1800px) { .v2-dash__main { padding: 32px 56px 56px; } }

/* ============================================================
   Sidebar — header + workspace card
   ============================================================ */
/* Brand logo link — override `.v2 a:hover { color: var(--v2-ink) }` global rule */
.v2-dash__sidebar .v2-dash__brand,
.v2-dash__sidebar .v2-dash__brand:hover {
  padding: 0 20px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.v2-dash__brand-mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--v2-mint-soft);
  color: var(--v2-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}

.v2-dash__brand-name {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: #fff;
}

.v2-dash__brand-version {
  font-family: var(--v2-font-mono);
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.5);
}

.v2-dash__workspace {
  padding: 10px 16px;
  margin: 0 12px;
  background: #1a2520;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.v2-dash__workspace-avatar {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--v2-mint);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.v2-dash__workspace-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
}

.v2-dash__workspace-meta {
  font-size: 10px;
  font-family: var(--v2-font-mono);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

/* ============================================================
   Sidebar nav — WORKSPACE / INSIGHTS sections
   ============================================================ */
.v2-dash__nav-section {
  padding: 20px 12px 4px;
}

.v2-dash__nav-label {
  padding: 0 12px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

/* Sidebar nav links — specificity prefix `.v2-dash__sidebar` to beat
   the global `.v2 a:hover { color: var(--v2-ink) }` rule in v2-tokens.css
   which would otherwise paint hovered nav text near-black on the dark ink sidebar. */
.v2-dash__sidebar .v2-dash__nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  margin-bottom: 2px;
  cursor: pointer;
  transition: background var(--v2-trans-fast), color var(--v2-trans-fast);
}

.v2-dash__sidebar .v2-dash__nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
}

.v2-dash__sidebar .v2-dash__nav-link.is-active {
  background: #1a2520;
  color: #fff;
  font-weight: 600;
}

.v2-dash__sidebar .v2-dash__nav-link.is-active .v2-dash__nav-icon {
  color: var(--v2-mint-soft);
}

.v2-dash__nav-icon {
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  width: 16px; height: 16px;
}

.v2-dash__nav-label-text {
  flex: 1;
}

.v2-dash__nav-badge {
  font-family: var(--v2-font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.v2-dash__nav-badge--red {
  background: var(--v2-red);
  color: #fff;
}

.v2-dash__sidebar .v2-dash__nav-insight {
  padding: 8px 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  display: block;
  border-radius: 8px;
  transition: background var(--v2-trans-fast), color var(--v2-trans-fast);
}

.v2-dash__sidebar .v2-dash__nav-insight:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
}

/* ============================================================
   Sidebar footer — user identity
   ============================================================ */
.v2-dash__user {
  margin-top: auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.v2-dash__user-avatar {
  width: 30px; height: 30px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.v2-dash__user-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
}

.v2-dash__user-role {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.5);
}

.v2-dash__sidebar .v2-dash__user-settings {
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 4px;
  text-decoration: none;
  transition: color var(--v2-trans-fast);
}
.v2-dash__sidebar .v2-dash__user-settings:hover { color: #fff; }

/* ============================================================
   Main — top bar
   ============================================================ */
.v2-dash__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.v2-dash__topbar-date {
  font-size: 12px;
  font-family: var(--v2-font-mono);
  color: var(--v2-mute);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.v2-dash__topbar-date .v2-tag-v2 {
  color: var(--v2-mint);
  font-weight: 700;
}

.v2-dash__topbar-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--v2-ink);
  line-height: 1.1;
}

.v2-dash__topbar-sub {
  font-size: 13px;
  color: var(--v2-soft);
  margin-top: 4px;
}

.v2-dash__topbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.v2-dash__search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--v2-paper);
  border: 1px solid var(--v2-hair);
  border-radius: 10px;
  color: var(--v2-mute);
  font-size: 13px;
  min-width: 280px;
}

.v2-dash__search-key {
  font-family: var(--v2-font-mono);
  font-size: 10px;
  padding: 2px 6px;
  background: var(--v2-bg);
  border-radius: 4px;
  color: var(--v2-soft);
}

.v2-dash__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  background: var(--v2-ink);
  color: var(--v2-paper);
  border: 0;
  border-radius: 10px;
  font-family: var(--v2-font-body);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}

.v2-dash__btn-primary:hover {
  background: #1a2520;
  color: var(--v2-paper);
  text-decoration: none;
}

/* ============================================================
   Card primitive (dashboard variant)
   ============================================================ */
.v2-dash-card {
  background: var(--v2-paper);
  border: 1px solid var(--v2-hair);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}

.v2-dash-card__head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--v2-hair-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.v2-dash-card__head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v2-dash-card__head-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.v2-dash-card__head-icon--mint { background: var(--v2-mint-bg); color: var(--v2-mint); }
.v2-dash-card__head-icon--red  { background: var(--v2-red); color: #fff; width: 34px; height: 34px; border-radius: 9px; }

.v2-dash-card__head-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--v2-ink);
}

.v2-dash-card__head-sub {
  font-size: 11.5px;
  color: var(--v2-mute);
  margin-top: 1px;
}

.v2-dash-card__head-caps {
  font-size: 11px;
  font-weight: 700;
  color: var(--v2-red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   Today's Priorities — red-gradient hero
   ============================================================ */
.v2-priorities {
  border-color: rgba(192, 57, 43, 0.25);
}

.v2-priorities__head {
  background: linear-gradient(135deg, var(--v2-red-bg) 0%, transparent 50%);
}

.v2-priorities__sum {
  font-family: var(--v2-font-mono);
  font-size: 11px;
  color: var(--v2-mute);
}

.v2-priorities__sum-val {
  color: var(--v2-red);
  font-weight: 700;
}

.v2-priorities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.v2-priorities__item {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--v2-hair-soft);
}

.v2-priorities__item:last-child { border-right: 0; }

.v2-priorities__rank {
  font-family: var(--v2-font-mono);
  font-size: 10px;
  font-weight: 800;
  color: var(--v2-mute);
  letter-spacing: 0.08em;
}

.v2-priorities__urgency {
  font-family: var(--v2-font-mono);
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.v2-priorities__urgency--critical,
.v2-priorities__urgency--high { color: var(--v2-red); background: var(--v2-red-bg); }
.v2-priorities__urgency--medium { color: var(--v2-amber); background: var(--v2-amber-bg); }

.v2-priorities__company {
  font-size: 15px;
  font-weight: 800;
  color: var(--v2-ink);
  letter-spacing: -0.01em;
}

.v2-priorities__signal {
  font-size: 12.5px;
  color: var(--v2-soft);
  line-height: 1.45;
}

.v2-priorities__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: auto;
  padding-top: 8px;
}

.v2-priorities__exposure-label {
  font-family: var(--v2-font-mono);
  font-size: 9px;
  color: var(--v2-mute);
  font-weight: 700;
}

.v2-priorities__exposure-val {
  font-family: var(--v2-font-mono);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.v2-priorities__exposure-val--red { color: var(--v2-red); }
.v2-priorities__exposure-val--amber { color: var(--v2-amber); }

.v2-priorities__cta {
  padding: 6px 12px;
  background: var(--v2-ink);
  color: var(--v2-paper);
  border: 0;
  border-radius: 6px;
  font-family: var(--v2-font-body);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.v2-priorities__cta:hover { background: #1a2520; color: var(--v2-paper); text-decoration: none; }

.v2-priorities__why {
  font-family: var(--v2-font-mono);
  font-size: 10px;
  color: var(--v2-mute);
  margin-top: 2px;
}

/* ============================================================
   KPI strip — 5 tiles in a row
   ============================================================ */
.v2-kpi-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.v2-kpi {
  background: var(--v2-paper);
  border: 1px solid var(--v2-hair);
  border-radius: 12px;
  padding: 16px;
}

.v2-kpi__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--v2-mute);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.v2-kpi__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.v2-kpi__value {
  font-family: var(--v2-font-mono);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--v2-ink);
}

.v2-kpi__value--red { color: var(--v2-red); }

.v2-kpi__delta {
  font-size: 11px;
  font-weight: 600;
}

.v2-kpi__delta--mint { color: var(--v2-mint); }
.v2-kpi__delta--amber { color: var(--v2-amber); }
.v2-kpi__delta--red { color: var(--v2-red); }

.v2-kpi__sub {
  font-size: 11px;
  color: var(--v2-mute);
  margin-top: 8px;
}

/* ============================================================
   Anomaly feed — list of monitoring alerts
   ============================================================ */
.v2-anomaly__head-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--v2-red-bg);
  color: var(--v2-red);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.v2-anomaly__head-pill::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--v2-red);
  border-radius: 50%;
}

.v2-anomaly__view-all {
  font-size: 12px;
  font-weight: 700;
  color: var(--v2-mint);
  text-decoration: none;
}

.v2-anomaly__row {
  display: grid;
  grid-template-columns: 110px 36px 1fr 80px;
  padding: 14px 22px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--v2-hair-soft);
}

.v2-anomaly__row:last-child { border-bottom: 0; }

.v2-anomaly__row--new { background: rgba(13, 138, 106, 0.025); }

.v2-anomaly__when {
  font-family: var(--v2-font-mono);
  font-size: 11px;
  color: var(--v2-mute);
}

.v2-anomaly__when-new {
  color: var(--v2-mint);
  font-weight: 700;
  margin-left: 6px;
}

.v2-anomaly__icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-anomaly__icon--red    { background: rgba(192,57,43,0.12);  color: var(--v2-red); }
.v2-anomaly__icon--amber  { background: rgba(184,125,26,0.12); color: var(--v2-amber); }
.v2-anomaly__icon--mint   { background: var(--v2-mint-bg);     color: var(--v2-mint); }

.v2-anomaly__body { min-width: 0; }

.v2-anomaly__what {
  font-size: 13px;
  color: var(--v2-ink);
}

.v2-anomaly__what-who { font-weight: 700; }

.v2-anomaly__what-action--red    { color: var(--v2-red);   font-weight: 600; }
.v2-anomaly__what-action--amber  { color: var(--v2-amber); font-weight: 600; }
.v2-anomaly__what-action--mint   { color: var(--v2-mint);  font-weight: 600; }

.v2-anomaly__why {
  font-size: 11.5px;
  color: var(--v2-soft);
  margin-top: 2px;
}

.v2-anomaly__open {
  font-family: var(--v2-font-mono);
  font-size: 10.5px;
  color: var(--v2-ink);
  background: var(--v2-paper);
  border: 1px solid var(--v2-hair);
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.v2-anomaly__open:hover {
  background: var(--v2-paper-alt);
  color: var(--v2-ink);
  text-decoration: none;
}

.v2-anomaly__empty {
  padding: 40px 22px;
  text-align: center;
  color: var(--v2-mute);
  font-size: 13px;
}

/* ============================================================
   2-col grid: watchlist / sector exposure
   ============================================================ */
.v2-dash-grid-2 {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.v2-dash-grid-2--heatmap { grid-template-columns: 1.4fr 1fr; }

/* ============================================================
   Watchlist table — Top of watchlist (§6.9)
   ============================================================ */
.v2-watch-table { width: 100%; border-collapse: collapse; }
.v2-watch-table th {
  padding: 10px 22px;
  font-family: var(--v2-font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v2-mute);
  text-align: left;
  border-bottom: 1px solid var(--v2-hair);
  background: var(--v2-paper-alt);
}
.v2-watch-table th:nth-child(2),
.v2-watch-table th:nth-child(4),
.v2-watch-table th:nth-child(5) { text-align: right; }

.v2-watch-table td {
  padding: 13px 22px;
  font-size: 13px;
  color: var(--v2-ink);
  border-bottom: 1px solid var(--v2-hair-soft);
  vertical-align: middle;
}
.v2-watch-table tr:last-child td { border-bottom: 0; }

.v2-watch__co {
  display: flex;
  align-items: center;
  gap: 10px;
}
.v2-watch__avatar {
  width: 32px; height: 32px;
  border-radius: 7px;
  background: var(--v2-mint-bg);
  color: var(--v2-mint);
  font-family: var(--v2-font-body);
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.v2-watch__co-name { font-weight: 600; font-size: 13px; }
.v2-watch__co-nip { font-family: var(--v2-font-mono); font-size: 10.5px; color: var(--v2-mute); }

.v2-watch__score-pill {
  display: inline-block;
  font-family: var(--v2-font-mono);
  font-size: 13px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  min-width: 38px;
  text-align: center;
}
.v2-watch__score-pill--red    { background: var(--v2-red-bg);   color: var(--v2-red); }
.v2-watch__score-pill--amber  { background: var(--v2-amber-bg); color: var(--v2-amber); }
.v2-watch__score-pill--mint   { background: var(--v2-mint-bg);  color: var(--v2-mint); }

.v2-watch__status--red    { color: var(--v2-red);   font-weight: 600; }
.v2-watch__status--amber  { color: var(--v2-amber); font-weight: 600; }
.v2-watch__status--mint   { color: var(--v2-mint);  font-weight: 600; }

.v2-watch__last,
.v2-watch__delta {
  font-family: var(--v2-font-mono);
  font-size: 12px;
  text-align: right;
}
.v2-watch__delta--red    { color: var(--v2-red);   font-weight: 600; }
.v2-watch__delta--mint   { color: var(--v2-mint);  font-weight: 600; }
.v2-watch__delta--mute   { color: var(--v2-mute); }

/* ============================================================
   Sector exposure — stacked bar + rows (§6.7)
   ============================================================ */
.v2-sector__bar {
  display: flex;
  height: 28px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 18px;
}
.v2-sector__bar-seg { opacity: 0.85; }

.v2-sector__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--v2-hair-soft);
}
.v2-sector__row:last-child { border-bottom: 0; }

.v2-sector__dot {
  width: 10px; height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}
.v2-sector__label {
  flex: 1;
  font-size: 12.5px;
  color: var(--v2-ink);
  font-weight: 500;
}
.v2-sector__count {
  font-family: var(--v2-font-mono);
  font-size: 11px;
  color: var(--v2-mute);
}
.v2-sector__pct {
  font-family: var(--v2-font-mono);
  font-size: 12px;
  color: var(--v2-ink);
  font-weight: 700;
  min-width: 36px;
  text-align: right;
}

.v2-sector__callout {
  margin-top: 14px;
  padding: 12px;
  background: var(--v2-red-bg);
  border-radius: 8px;
  font-size: 12px;
  color: var(--v2-ink);
  line-height: 1.5;
}
.v2-sector__callout strong { color: var(--v2-red); }

/* ============================================================
   Risk concentration Pareto (§6.10)
   ============================================================ */
.v2-pareto__head-stat {
  display: flex;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid var(--v2-hair-soft);
}
.v2-pareto__stat-num {
  font-family: var(--v2-font-mono);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.v2-pareto__stat-num--red { color: var(--v2-red); }
.v2-pareto__stat-num--ink { color: var(--v2-ink); }

.v2-pareto__stat-label {
  font-size: 11px;
  color: var(--v2-mute);
  margin-top: 6px;
  line-height: 1.4;
}

.v2-pareto__chart { padding: 22px; position: relative; height: 180px; }

.v2-pareto__bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 100%;
}
.v2-pareto__bar { flex: 1; border-radius: 2px 2px 0 0; min-width: 0; }

.v2-pareto__callout {
  margin: 0 22px 22px;
  padding: 12px;
  background: var(--v2-amber-bg);
  border-radius: 8px;
  font-size: 12px;
  color: var(--v2-ink);
  line-height: 1.5;
}
.v2-pareto__callout strong { color: var(--v2-amber); }

/* ============================================================
   Risk velocity (§6.8) — losers + gainers two-column
   ============================================================ */
.v2-velocity__net {
  font-family: var(--v2-font-mono);
  font-size: 11px;
  color: var(--v2-mute);
}

.v2-velocity__net-val {
  font-weight: 700;
}

.v2-velocity__net-val--red  { color: var(--v2-red); }
.v2-velocity__net-val--mint { color: var(--v2-mint); }

.v2-velocity__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.v2-velocity__col {
  padding: 18px 22px;
  border-right: 1px solid var(--v2-hair-soft);
}
.v2-velocity__col:last-child { border-right: 0; }

.v2-velocity__col-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--v2-hair-soft);
}

.v2-velocity__col-head-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
}
.v2-velocity__col-head-dot--red  { background: var(--v2-red); }
.v2-velocity__col-head-dot--mint { background: var(--v2-mint); }

.v2-velocity__col-head-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v2-mute);
}

.v2-velocity__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.v2-velocity__row-co {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--v2-ink);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-velocity__row-why {
  font-family: var(--v2-font-mono);
  font-size: 10px;
  color: var(--v2-mute);
  margin-top: 2px;
}

.v2-velocity__row-range {
  font-family: var(--v2-font-mono);
  font-size: 11px;
  color: var(--v2-mute);
  white-space: nowrap;
}

.v2-velocity__row-delta {
  font-family: var(--v2-font-mono);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.v2-velocity__row-delta--red  { color: var(--v2-red); }
.v2-velocity__row-delta--mint { color: var(--v2-mint); }

.v2-velocity__callout {
  margin: 16px 22px 22px;
  padding: 12px;
  background: var(--v2-mint-bg);
  border-radius: 8px;
  font-size: 12px;
  color: var(--v2-ink);
  line-height: 1.5;
}
.v2-velocity__callout strong { color: var(--v2-mint); }

.v2-velocity__empty {
  padding: 40px 22px;
  text-align: center;
  color: var(--v2-mute);
  font-size: 13px;
}

/* ============================================================
   Stale checks (§6.11 left) — table
   ============================================================ */
.v2-stale__head-icon {
  background: var(--v2-amber-bg);
  color: var(--v2-amber);
}

.v2-stale__refresh-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--v2-amber);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-family: var(--v2-font-body);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.v2-stale__refresh-all:hover { background: #9e6a17; color: #fff; text-decoration: none; }

.v2-stale__row {
  display: grid;
  grid-template-columns: 1fr 60px 80px 90px;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--v2-hair-soft);
}
.v2-stale__row:last-child { border-bottom: 0; }

.v2-stale__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--v2-ink);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-stale__days {
  font-family: var(--v2-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--v2-amber);
  text-align: right;
}

.v2-stale__date {
  font-family: var(--v2-font-mono);
  font-size: 11px;
  color: var(--v2-mute);
  text-align: right;
}

.v2-stale__refresh {
  font-family: var(--v2-font-mono);
  font-size: 10.5px;
  color: var(--v2-ink);
  background: var(--v2-paper);
  border: 1px solid var(--v2-hair);
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}
.v2-stale__refresh:hover { background: var(--v2-paper-alt); color: var(--v2-ink); text-decoration: none; }

/* ============================================================
   Quarterly board pack (§6.11 right) — gradient mint
   ============================================================ */
.v2-pack {
  background: linear-gradient(135deg, var(--v2-mint-bg) 0%, var(--v2-paper) 80%);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.v2-pack__icon-wrap {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--v2-mint-bg);
  color: var(--v2-mint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-pack__title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--v2-ink);
}

.v2-pack__desc {
  font-size: 12.5px;
  color: var(--v2-soft);
  line-height: 1.5;
}

.v2-pack__next {
  background: var(--v2-paper);
  border: 1px solid var(--v2-hair);
  border-radius: 8px;
  padding: 12px 14px;
}

.v2-pack__next-label {
  font-family: var(--v2-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--v2-mute);
  margin-bottom: 6px;
}

.v2-pack__next-quarter {
  font-size: 14px;
  font-weight: 700;
  color: var(--v2-ink);
  margin-bottom: 6px;
}

.v2-pack__next-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 11.5px;
  color: var(--v2-soft);
}

.v2-pack__next-list li {
  padding: 2px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.v2-pack__next-list li::before {
  content: '·';
  color: var(--v2-mint);
  font-weight: 800;
}

.v2-pack__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 16px;
  background: var(--v2-ink);
  color: var(--v2-paper);
  border: 0;
  border-radius: 8px;
  font-family: var(--v2-font-body);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  margin-top: auto;
}
.v2-pack__cta:hover { background: #1a2520; color: var(--v2-paper); text-decoration: none; }

.v2-pack__sub-cta {
  font-size: 11px;
  color: var(--v2-mute);
  text-align: center;
  margin-top: -4px;
}
.v2-pack__sub-cta a { color: var(--v2-mint); font-weight: 600; }

/* ============================================================
   Responsive — collapse sidebar + main on tablet/mobile
   ============================================================ */
@media (max-width: 1024px) {
  .v2-dash__sidebar { width: 200px; }
  .v2-dash__main { padding: 20px; }
  .v2-kpi-strip { grid-template-columns: repeat(3, 1fr); }
  .v2-kpi-strip .v2-kpi:nth-child(n+4) { grid-column: span 1; }
}

@media (max-width: 1024px) {
  .v2-dash-grid-2,
  .v2-dash-grid-2--heatmap { grid-template-columns: 1fr; }
  .v2-anomaly__row { grid-template-columns: 90px 32px 1fr 70px; padding: 12px 16px; gap: 10px; }
}

@media (max-width: 768px) {
  .v2-dash { flex-direction: column; }
  .v2-dash__sidebar {
    width: 100%;
    height: auto;
    position: relative;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .v2-dash__nav-section { display: none; }
  .v2-dash__user { border-top: 0; padding: 0; }
  .v2-priorities__grid { grid-template-columns: 1fr; }
  .v2-priorities__item { border-right: 0; border-bottom: 1px solid var(--v2-hair-soft); }
  .v2-priorities__item:last-child { border-bottom: 0; }
  .v2-kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .v2-dash__topbar { flex-direction: column; align-items: flex-start; }
  .v2-dash__search { min-width: 0; flex: 1; }
  .v2-anomaly__row { grid-template-columns: 70px 28px 1fr; gap: 8px; padding: 10px 14px; }
  .v2-anomaly__open { display: none; }
  .v2-watch-table th, .v2-watch-table td { padding: 10px 14px; }
  .v2-watch-table th:nth-child(3), .v2-watch-table td:nth-child(3) { display: none; }
  .v2-watch-table th:nth-child(4), .v2-watch-table td:nth-child(4) { display: none; }
  .v2-velocity__grid { grid-template-columns: 1fr; }
  .v2-velocity__col { border-right: 0; border-bottom: 1px solid var(--v2-hair-soft); }
  .v2-velocity__col:last-child { border-bottom: 0; }
  .v2-stale__row { grid-template-columns: 1fr 50px 90px; gap: 8px; padding: 10px 14px; }
  .v2-stale__row .v2-stale__date { display: none; }
}

@media (max-width: 480px) {
  .v2-kpi-strip { grid-template-columns: 1fr; }
}
