/* Midnight — DeFi dashboard. Deep navy (cooler and bluer than Ledger
   Noir's ink or Ticker's warm near-black), electric-blue accent with a
   mint secondary for "up"/positive. Genuinely dark-background theme, so
   --ink is light and --accent-contrast is dark (white on this blue
   reads weak). --line-inverse/--muted-inverse are flipped to
   light-surface-appropriate values for the "inverted emphasis"
   elements, same convention as Ledger Noir and Ticker. */
:root{
  color-scheme:dark;
  --paper:#0A1020;
  --paper-card:#111A2E;
  --ink:#E6ECFA;
  --ink-soft:#AEB9D3;
  --muted:#7584A6;
  --accent:#5B9DFF;
  --accent-soft:#14284D;
  --accent-contrast:#04112B;
  --amber:#FBBF24;
  --amber-soft:#33270B;
  --moss:#34D399;
  --moss-soft:#0E2B25;
  --brick:#FB7185;
  --brick-soft:#33141C;
  --violet:#A78BFA;
  --violet-soft:#241C45;
  --line:#1F2B47;
  --line-strong:#2C3B5E;
  --line-inverse:#B9C6E6;
  --muted-inverse:#51608A;
  --font-display:'Sora', sans-serif;
  --font-body:'Inter', sans-serif;
  --font-mono:'JetBrains Mono', monospace;
  --radius:10px;
  --radius-lg:16px;
  --shadow-sm:0 1px 2px rgba(0,0,0,.35);
  --shadow-md:0 6px 20px rgba(0,0,0,.40);
  --shadow-lg:0 16px 40px rgba(0,0,0,.50);
}
body{background:radial-gradient(1200px 500px at 15% -10%, rgba(91,157,255,.10), transparent 60%), var(--paper);background-attachment:fixed;}
.btn-accent{box-shadow:0 2px 14px rgba(91,157,255,.28);}
.btn-accent:hover{box-shadow:0 4px 20px rgba(91,157,255,.42);}
.side-card, .form-card, .stat, .ledger-scroll{border-color:var(--line);}
/* The dateline strip normally inverts to var(--ink); on a dark theme
   that is a bright bar across the top. Keep it dark and quiet here. */
.dateline{background:var(--paper-card);color:var(--ink-soft);border-bottom:1px solid var(--line);}
.dateline-item{border-right-color:var(--line);}
