/* v14 Money Cockpit styles */

#v14-cockpit-root { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.v14-panel { padding: 20px; border-radius: 22px; }

.v14-banner {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(135deg, #ffd166, #ef476f);
  color: #2b1640; padding: 14px 18px; border-radius: 14px;
  box-shadow: 0 10px 30px rgba(239, 71, 111, 0.35);
  margin-bottom: 8px; font-size: 15px;
}

.v14-northstar {
  font-size: clamp(40px, 6vw, 64px); font-weight: 800;
  background: linear-gradient(135deg, #00c2a8, #7c5cff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -1px;
}
.v14-yvt { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 10px; }
.v14-yvt strong { font-size: 22px; margin-left: 6px; }

.v14-health {
  padding: 6px 14px; border-radius: 999px;
  background: rgba(0,0,0,0.05); font-weight: 700; font-size: 13px;
}
.v14-health.good { background: rgba(16, 185, 129, 0.18); color: #047857; }
.v14-health.warn { background: rgba(245, 158, 11, 0.18); color: #92400e; }
.v14-health.bad  { background: rgba(239, 68, 68, 0.18);  color: #991b1b; }

.v14-deposit-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 12px;
}
.v14-deposit-card {
  background: rgba(255,255,255,0.6); border: 1px solid rgba(124,92,255,0.18);
  border-radius: 18px; padding: 14px;
}
.v14-deposit-total {
  margin-top: 14px; padding: 12px 16px; border-radius: 14px;
  background: linear-gradient(135deg, #00c2a8 0%, #7c5cff 100%);
  color: white; font-size: 18px;
}
.v14-deposit-total strong { font-size: 26px; margin-left: 8px; }
.v14-tax-today {
  margin-top: 8px; padding: 10px 14px; border-radius: 12px;
  background: rgba(124, 92, 255, 0.08);
}

.v14-lane-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.v14-lane {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 16px;
  background: rgba(255,255,255,0.5); border: 1px solid rgba(124,92,255,0.18);
  flex-wrap: wrap;
}
.v14-lane-live   { border-left: 5px solid #10b981; }
.v14-lane-asking { border-left: 5px solid #f59e0b; background: rgba(245,158,11,0.08); }
.v14-lane-pending { border-left: 5px solid #94a3b8; }
.v14-lane-name { font-weight: 700; font-size: 16px; }
.v14-lane-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.v14-lane-status { font-weight: 700; padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,0.05); }

.v14-ops-grid {
  display: grid; gap: 12px; margin-top: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.v14-ops-card {
  background: rgba(255,255,255,0.6); border: 1px solid rgba(124,92,255,0.18);
  border-radius: 18px; padding: 16px;
}
.v14-big { font-size: 30px; font-weight: 800; margin: 6px 0; }
.refund-green  { color: #047857; }
.refund-yellow { color: #92400e; }
.refund-red    { color: #991b1b; }

.v14-table-wrap { overflow-x: auto; margin-top: 12px; }
.v14-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.v14-table th, .v14-table td {
  padding: 8px 10px; text-align: right; border-bottom: 1px solid rgba(124,92,255,0.12);
}
.v14-table th:first-child, .v14-table td:first-child { text-align: left; }
.v14-table th { font-weight: 700; background: rgba(124,92,255,0.06); }

.v14-letter {
  margin-top: 12px; padding: 16px; border-radius: 16px;
  background: rgba(255,255,255,0.55); border: 1px solid rgba(124,92,255,0.18);
  white-space: pre-wrap; font-family: inherit; line-height: 1.55;
}

.v14-celebrate {
  position: fixed; inset: 0; background: rgba(10,8,40,0.7); z-index: 200;
  display: flex; align-items: center; justify-content: center;
  animation: v14fadein 0.3s ease;
}
.v14-celebrate > div {
  background: white; padding: 40px 48px; border-radius: 28px; text-align: center;
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
}
.v14-celebrate h2 { font-size: 40px; margin: 0 0 12px; color: #047857; }

body.v14-killed { box-shadow: inset 0 0 0 6px #ef4444; }
body.v14-killed::before {
  content: '⏻ KILL SWITCH ACTIVE — live activity halted';
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  background: #ef4444; color: white; padding: 8px;
  text-align: center; font-weight: 700; font-size: 13px;
}

@keyframes v14fadein { from { opacity: 0; } to { opacity: 1; } }
