/* VANCE CEYLON — ADMIN FINANCE ADD-ON ONLY */
#vanceProductCosts,
#vanceFinanceRevenue { padding-bottom: 48px; }

.vf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.vf-stat {
  min-width: 0;
}

.vf-stat span {
  display: block;
  font-size: 12px;
  opacity: .68;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}

.vf-stat strong {
  display: block;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.vf-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  margin: 16px 0;
}

.vf-toolbar label {
  margin: 0;
  min-width: 170px;
}

.vf-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
}

.vf-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.vf-table th,
.vf-table td {
  padding: 13px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.11);
  vertical-align: middle;
}

.vf-table th {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .65;
}

.vf-table input,
.vf-table select {
  width: 100%;
  min-width: 120px;
}

.vf-money-positive { font-weight: 800; }
.vf-money-negative { font-weight: 800; }

.vf-warning {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  padding: 13px 15px;
  margin: 14px 0;
  line-height: 1.5;
}

.vf-expense-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 12px;
  align-items: end;
}

.vf-expense-form .vf-wide { grid-column: span 2; }

.vf-section-space { margin-top: 24px; }

.vf-pill {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  opacity: .8;
}

@media (max-width: 1000px) {
  .vf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vf-expense-form { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .vf-expense-form .vf-wide { grid-column: span 2; }
}

@media (max-width: 620px) {
  .vf-grid { grid-template-columns: 1fr; }
  .vf-expense-form { grid-template-columns: 1fr; }
  .vf-expense-form .vf-wide { grid-column: auto; }
  .vf-toolbar { align-items: stretch; }
  .vf-toolbar > * { width: 100%; }
}
