/* ==========================================================================
   LedgerVault AI — Modern Design System & Stylesheet
   Theme: Midnight Slate & Cyber Emerald / Glassmorphic Tech
   ========================================================================== */

:root {
  /* Core Color Palette */
  --bg-primary: #090d16;
  --bg-secondary: #0f1523;
  --bg-card: rgba(18, 25, 41, 0.75);
  --bg-card-hover: rgba(24, 33, 54, 0.85);
  --bg-input: rgba(13, 19, 32, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.65);

  /* Accents & Hues */
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.25);
  --primary-hover: #4f46e5;
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.22);
  --emerald-dark: #064e3b;
  --cyan: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.2);
  --purple: #a855f7;
  --purple-glow: rgba(168, 85, 247, 0.2);
  --amber: #f59e0b;
  --rose: #f43f5e;

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --text-dark: #0f172a;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-focus: rgba(99, 102, 241, 0.55);
  --border-emerald: rgba(16, 185, 129, 0.4);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px var(--primary-glow);

  /* Layout & Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Atmospheric Glows */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.bg-glow-1 {
  width: 550px;
  height: 550px;
  top: -150px;
  left: -100px;
  background: radial-gradient(circle, #4f46e5 0%, #1e1b4b 70%, transparent 100%);
}

.bg-glow-2 {
  width: 600px;
  height: 600px;
  top: 40%;
  right: -150px;
  background: radial-gradient(circle, #059669 0%, #064e3b 60%, transparent 100%);
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 1.5rem;
  transition: all 0.25s ease;
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--emerald-glow);
  color: #ffffff;
  flex-shrink: 0;
}

.brand-logo .shield-icon {
  width: 24px;
  height: 24px;
}

.brand-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.4);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Engine Status Bar */
.engine-status-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.status-indicator-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--border-emerald);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: #34d399;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
}

.status-dot.pulsing {
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.privacy-lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-full);
  color: #94a3b8;
  font-size: 0.68rem;
  font-family: var(--font-mono);
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border-color: var(--border-medium);
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-btn.highlight-btn {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15));
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #e9d5ff;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-btn.highlight-btn:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(168, 85, 247, 0.3));
  border-color: rgba(168, 85, 247, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px var(--purple-glow);
}

.primary-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  padding: 0.5rem 1.05rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 12px var(--emerald-glow);
  transition: all 0.2s ease;
}

.primary-btn:hover {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--emerald-glow);
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.main-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem 1.5rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ==========================================================================
   KPI Metric Cards Section
   ========================================================================== */
.metrics-section {
  width: 100%;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.metric-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.metric-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.metric-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-blue { background: rgba(99, 102, 241, 0.12); color: #818cf8; }
.icon-emerald { background: rgba(16, 185, 129, 0.12); color: #34d399; }
.icon-purple { background: rgba(168, 85, 247, 0.12); color: #c084fc; }
.icon-cyan { background: rgba(6, 182, 212, 0.12); color: #22d3ee; }

.metric-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.metric-value {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.text-emerald { color: #34d399 !important; }
.text-purple { color: #c084fc !important; }
.text-cyan { color: #22d3ee !important; }
.text-danger { color: #fb7185 !important; }
.text-success { color: #34d399 !important; }

.metric-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.badge-neutral { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); }
.badge-emerald { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.badge-purple { background: rgba(168, 85, 247, 0.15); color: #d8b4fe; }
.badge-cyan { background: rgba(6, 182, 212, 0.15); color: #67e8f9; }

.metric-subtext {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

/* ==========================================================================
   Section Headers & Sample Pills
   ========================================================================== */
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.sample-pills-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sample-pills-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sample-pill-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sample-pill-btn:hover {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.45);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==========================================================================
   Scanner & Ingestion Studio Layout
   ========================================================================== */
.scanner-section {
  width: 100%;
}

.studio-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.studio-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
}

.card-bar-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.viewer-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.icon-tool-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.icon-tool-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Dropzone Target */
.dropzone-area {
  position: relative;
  background: var(--bg-input);
  border: 2px dashed rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
}

.dropzone-area:hover,
.dropzone-area.drag-over {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.04);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.15);
}

.file-input-hidden {
  display: none;
}

/* Dropzone Empty State */
.dropzone-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  gap: 0.85rem;
  max-width: 440px;
}

.upload-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.dropzone-area:hover .upload-icon-circle {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px var(--primary-glow);
}

.upload-primary-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.upload-secondary-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.upload-button-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.4rem;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-medium);
  color: #ffffff;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost {
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.privacy-guarantee-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: #34d399;
  background: rgba(16, 185, 129, 0.08);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  margin-top: 0.8rem;
}

/* Document Preview & Scanning Beam */
.document-preview-container {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #000000;
}

.preview-scroll-wrapper {
  flex: 1;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.image-bounding-wrapper {
  position: relative;
  display: inline-block;
  max-width: 100%;
  max-height: 360px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.preview-image {
  display: block;
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

/* Laser Scanning Beam */
.scan-beam-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #10b981, #06b6d4, transparent);
  box-shadow: 0 0 16px #10b981, 0 0 24px #06b6d4;
  z-index: 10;
  animation: scan-move 2s ease-in-out infinite alternate;
}

@keyframes scan-move {
  0% { top: 0%; opacity: 0.8; }
  100% { top: 100%; opacity: 0.8; }
}

/* Bounding Overlay & Dynamic AI Boxes */
.bounding-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.ai-box {
  position: absolute;
  border: 1.5px solid #10b981;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ai-box:hover, .ai-box.active {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.35);
  box-shadow: 0 0 12px var(--primary-glow);
  z-index: 5;
}

.ai-box-label {
  position: absolute;
  bottom: 100%;
  left: 0;
  background: #10b981;
  color: #000000;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 2px;
  white-space: nowrap;
  pointer-events: none;
}

.ai-box.active .ai-box-label {
  background: #6366f1;
  color: #ffffff;
}

.preview-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem;
}

.file-info-chip {
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-weight: 600;
}

.file-size-chip {
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.btn-micro {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-micro:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: #6366f1;
  color: #ffffff;
}

/* Local Inference Terminal */
.terminal-panel {
  margin-top: 1rem;
  background: #050811;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-family: var(--font-mono);
}

.terminal-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.4rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.terminal-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.terminal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.terminal-latency {
  color: #64748b;
  font-size: 0.68rem;
}

.terminal-body {
  padding: 0.75rem;
  max-height: 90px;
  overflow-y: auto;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #93c5fd;
  white-space: pre-wrap;
  word-break: break-all;
}

/* ==========================================================================
   Extraction Form & Schema Inspector
   ========================================================================== */
.confidence-pill {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.confidence-score {
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
}

.extraction-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.form-row {
  display: grid;
  gap: 0.85rem;
}

.form-row.two-col {
  grid-template-columns: 1fr 1fr;
}

.form-row.three-col {
  grid-template-columns: 1fr 0.8fr 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.info-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.15);
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius-full);
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon svg {
  position: absolute;
  left: 0.75rem;
  color: #64748b;
  pointer-events: none;
}

.input-with-icon .currency-symbol {
  position: absolute;
  left: 0.75rem;
  color: #10b981;
  font-weight: 700;
  font-family: var(--font-mono);
}

.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.75rem;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  transition: all 0.2s ease;
}

.input-with-icon .form-control {
  padding-left: 2.2rem;
}

.num-input {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #34d399;
}

.form-control:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
  background: rgba(18, 25, 41, 0.95);
}

select.form-control {
  cursor: pointer;
  appearance: auto;
}

/* Line Items Box */
.line-items-container {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.55rem;
  max-height: 110px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.line-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 0.55rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
}

.line-item-row.default-empty {
  color: #64748b;
  font-style: italic;
  justify-content: center;
  padding: 0.8rem;
}

.item-name {
  font-weight: 500;
  color: #e2e8f0;
}

.item-price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #34d399;
}

/* IRS Audit Risk Card */
.audit-risk-card {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.audit-risk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.risk-meter-indicator {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.risk-circle {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.risk-circle.low-risk { background: #10b981; box-shadow: 0 0 8px var(--emerald-glow); }
.risk-circle.medium-risk { background: #f59e0b; }
.risk-circle.high-risk { background: #f43f5e; }

.risk-level-text {
  font-size: 0.76rem;
  font-weight: 700;
  color: #34d399;
}

.deductible-amount-tag {
  font-size: 0.76rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.audit-explanation {
  font-size: 0.73rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* Form Action Buttons */
.form-actions-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn-primary-action {
  flex: 1;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--emerald-glow);
  transition: all 0.2s ease;
}

.btn-primary-action:hover {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--emerald-glow);
}

.btn-ghost-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ghost-action:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* ==========================================================================
   Visual Analytics & Deductions Breakdown
   ========================================================================== */
.analytics-section {
  width: 100%;
}

.analytics-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 1.5rem;
}

.analytics-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.chart-legend-hint {
  font-size: 0.72rem;
  color: var(--text-subtle);
}

.chart-content-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.donut-chart-box {
  position: relative;
  width: 160px;
  height: 160px;
  flex-shrink: 0;
}

.donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-segment {
  fill: transparent;
  stroke-width: 22;
  transition: stroke-width 0.25s ease, opacity 0.2s ease;
  cursor: pointer;
}

.donut-segment:hover {
  stroke-width: 26;
  opacity: 0.95;
}

.donut-center-stat {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.donut-center-amount {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.donut-center-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.donut-legend-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 160px;
  overflow-y: auto;
}

.legend-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  padding: 0.25rem 0.4rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease;
}

.legend-chip:hover {
  background: rgba(255, 255, 255, 0.05);
}

.legend-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.legend-color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-name {
  color: #e2e8f0;
}

.legend-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-muted);
}

/* Trend Bar Chart */
.chart-legend-keys {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.legend-key {
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.legend-key.key-gross::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #6366f1;
}

.legend-key.key-deductible::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #10b981;
}

.bar-chart-container {
  height: 160px;
  display: flex;
  align-items: flex-end;
  padding-top: 1rem;
}

.chart-bars-group {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.month-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  gap: 0.4rem;
}

.dual-bars {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 120px;
}

.bar-pill {
  width: 12px;
  border-radius: 4px 4px 0 0;
  transition: height 0.4s ease, opacity 0.2s ease;
  position: relative;
}

.bar-pill:hover {
  opacity: 0.85;
}

.bar-gross {
  background: linear-gradient(180deg, #818cf8 0%, #4f46e5 100%);
}

.bar-deductible {
  background: linear-gradient(180deg, #34d399 0%, #059669 100%);
}

.month-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-subtle);
}

/* Client Reimbursements Pipeline */
.client-pipeline-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.client-item-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.client-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

.client-name-bold {
  font-weight: 700;
  color: #f1f5f9;
}

.client-amount-bold {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #c084fc;
}

.client-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.client-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #a855f7, #6366f1);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

/* ==========================================================================
   Ledger Table & Audit Center
   ========================================================================== */
.ledger-section {
  width: 100%;
}

.ledger-header-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ledger-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.table-count-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.ledger-controls-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.search-box-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
  display: flex;
  align-items: center;
}

.search-box-wrap svg {
  position: absolute;
  left: 0.85rem;
  color: #64748b;
  pointer-events: none;
}

.search-box-wrap input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.85rem 0.55rem 2.35rem;
  color: #ffffff;
  font-size: 0.84rem;
  transition: all 0.2s ease;
}

.search-box-wrap input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.table-filter-select {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.85rem;
  color: #ffffff;
  font-size: 0.82rem;
  cursor: pointer;
}

/* Export Dropdown */
.export-dropdown-wrap {
  position: relative;
}

.export-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  width: 240px;
  background: #0f172a;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 0.4rem;
  box-shadow: var(--shadow-lg);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.export-item {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: background 0.15s ease;
}

.export-item strong {
  font-size: 0.82rem;
  color: #ffffff;
}

.export-item span {
  font-size: 0.72rem;
  color: var(--text-subtle);
}

.export-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Table Design */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  text-align: left;
}

.ledger-table th {
  padding: 0.75rem 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  user-select: none;
}

.ledger-table th:hover {
  color: #ffffff;
}

.ledger-table td {
  padding: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.ledger-table tbody tr {
  transition: background 0.15s ease;
}

.ledger-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.td-date {
  font-family: var(--font-mono);
  color: #94a3b8;
  white-space: nowrap;
}

.td-vendor {
  font-weight: 700;
  color: #ffffff;
}

.td-category-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
}

.td-client {
  color: #cbd5e1;
  font-weight: 500;
}

.td-deductible {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #34d399;
}

.td-total {
  font-family: var(--font-mono);
  font-weight: 800;
  color: #ffffff;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
}

.status-verified {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-review {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.row-actions-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.table-action-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.table-action-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.table-action-btn.btn-delete:hover {
  background: rgba(244, 63, 94, 0.2);
  border-color: rgba(244, 63, 94, 0.4);
  color: #f43f5e;
}

/* ==========================================================================
   Modals & Popups
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.2s ease;
}

.modal-window {
  background: #0d1322;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  animation: slideUp 0.25s ease;
}

.modal-window.large-modal {
  max-width: 860px;
}

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

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.modal-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #a5b4fc;
  letter-spacing: 0.05em;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.modal-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* Modal Tabs */
.modal-tab-bar {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
  padding: 0 1.5rem;
  overflow-x: auto;
}

.modal-tab {
  background: transparent;
  border: none;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.modal-tab:hover {
  color: #ffffff;
}

.modal-tab.active {
  color: #6366f1;
  border-bottom-color: #6366f1;
}

.modal-body-content {
  padding: 1.5rem;
  flex: 1;
}

.modal-tab-pane {
  display: none;
}

.modal-tab-pane.active {
  display: block;
}

/* Story Cards Grid */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.story-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.story-card-icon {
  font-size: 1.5rem;
}

.story-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.story-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.comparison-table th {
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  text-align: left;
  color: var(--text-muted);
  font-size: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Architecture ASCII Diagram */
.architecture-diagram-box {
  background: #050811;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  overflow-x: auto;
}

.ascii-diagram code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #38bdf8;
  line-height: 1.35;
}

/* DEV Post Draft Box */
.devpost-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.devpost-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.devpost-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.devpost-textarea {
  width: 100%;
  background: #050811;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.5;
  resize: vertical;
}

.modal-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Engine Settings Choices */
.engine-choice-cards {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.engine-choice-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.engine-choice-card:hover {
  background: rgba(255, 255, 255, 0.06);
}

.engine-choice-card.active {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.08);
}

.engine-choice-card input[type="radio"] {
  margin-top: 0.25rem;
  accent-color: #6366f1;
}

.engine-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.engine-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.badge-recommended {
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
}

.badge-power {
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(168, 85, 247, 0.2);
  color: #d8b4fe;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
}

.engine-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.ollama-config-panel {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.ollama-test-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ollama-status-msg {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.privacy-telemetry-box {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.privacy-telemetry-box h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #34d399;
  margin-bottom: 0.25rem;
}

.telemetry-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: #cbd5e1;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
}

.toast {
  background: #1e293b;
  border: 1px solid var(--border-medium);
  color: #ffffff;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  pointer-events: auto;
  animation: slideToast 0.25s ease;
  max-width: 380px;
}

.toast.toast-success {
  border-left: 4px solid #10b981;
}

.toast.toast-info {
  border-left: 4px solid #6366f1;
}

@keyframes slideToast {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Utilities */
.hidden {
  display: none !important;
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .studio-layout {
    grid-template-columns: 1fr;
  }
  .analytics-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .form-row.two-col,
  .form-row.three-col {
    grid-template-columns: 1fr;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Print Styles (IRS Schedule C Summary & Invoices)
   ========================================================================== */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .app-header,
  .metrics-section,
  .scanner-section,
  .analytics-section,
  .ledger-controls-row,
  .col-actions,
  .row-actions-group,
  .bg-glow,
  .modal-backdrop,
  .toast-container {
    display: none !important;
  }
  .main-content {
    padding: 0 !important;
  }
  .ledger-header-card {
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    color: #000000 !important;
  }
  .ledger-table th {
    background: #f1f5f9 !important;
    color: #000000 !important;
    border-bottom: 2px solid #cbd5e1 !important;
  }
  .ledger-table td {
    color: #000000 !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }
}
