@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600;700&display=swap');

:root {
  --brand-primary: #064e3b;
  --brand-dark: #022c22;
  --brand-accent: #d97706;
  --surface-bg: #f1f5f9;
  --card-border: #cbd5e1;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  background: radial-gradient(circle at top right, #e2e8f0 0%, #f1f5f9 45%, #f8fafc 100%) !important;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}

.font-mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace !important;
  font-variant-numeric: tabular-nums;
}
header.bg-slate-900 {
  background: linear-gradient(135deg, #022c22 0%, #064e3b 55%, #0f172a 100%) !important;
  border-bottom: 2px solid #d97706 !important;
  box-shadow: 0 4px 12px -2px rgba(2, 44, 34, 0.25);
}

nav.bg-white {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

nav a.border-slate-900 {
  border-color: #064e3b !important;
  color: #064e3b !important;
  background: linear-gradient(to top, rgba(6, 78, 59, 0.07), transparent);
}

.bg-white.border.border-slate-300 {
  border-radius: 8px !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  overflow: hidden;
}

.bg-slate-800.text-white {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%) !important;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }

.ledger-input {
  width: 100%; border: 1px solid #cbd5e1; border-radius: 5px;
  padding: 4px 8px; font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 600; text-align: right; background: #fff;
  transition: all 0.15s ease;
}
.ledger-input:focus {
  outline: none; border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15); background: #f0fdf4;
}

.excel-cell {
  width: 100%; border: none; padding: 5px 7px; font-size: 12px;
  background: transparent; transition: background 0.12s ease;
}
.excel-cell:focus {
  outline: 2px solid #059669; outline-offset: -2px; background: #ecfdf5;
}

tr.bg-slate-900.text-white, tfoot.bg-slate-900.text-white {
  background: linear-gradient(90deg, #064e3b 0%, #0f172a 100%) !important;
}

button.bg-slate-900 {
  background: linear-gradient(135deg, #059669 0%, #064e3b 100%) !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 6px rgba(6, 78, 59, 0.25);
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}
button.bg-slate-900:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(6, 78, 59, 0.35);
}

.lg\:col-span-4 > div:nth-child(1) { border-top: 3px solid #059669 !important; }
.lg\:col-span-4 > div:nth-child(2) { border-top: 3px solid #2563eb !important; }
.lg\:col-span-4 > div:nth-child(3) { border-top: 3px solid #d97706 !important; }
@media print {
  .no-print { display: none !important; }
  body { background: #fff !important; font-size: 11px !important; }
  .bg-white.border.border-slate-300 { box-shadow: none !important; border-radius: 0 !important; }
  .print-full { width: 100% !important; max-width: 100% !important; border: none !important; }
  .print-only { display: block !important; }
}
