/* =========================================================================
   BASIC_DARK.CSS — dark theme token overrides.
   Loaded by: write app, a/, p/ (pages that support theme toggling).
   Applies under the existing .darkTheme body class (JS unchanged).
   Most component rules flip automatically via these tokens.
   ========================================================================= */

.darkTheme{
  --bg:#1f160d;
  --panel:#2e2215;
  --panel-2:#3a2a1a;
  --panel-3:#493520;
  --ink:#d9b997;
  --ink-soft:#b8a28b;
  --ink-line:rgba(217,185,151,.3);
  --accent:#815028;
  --accent-strong:#a8682f;
  --good:#4caf50;
  --danger:#b3261e;
  --input-bg:#15100a;
  --placeholder:rgba(217,185,151,.5);
  --border-muted:#aa845b;
  --tint-bar:rgba(255,171,82,.10);
  --tint-float:rgba(46,34,21,.7);
  --tint-tabh:rgba(189,130,65,.3);
  --tint-taba:rgba(189,130,65,.2);
  --tint-row:#896c4c17;
  --tint-book:rgba(217,185,151,.12);
  --tint-drag:rgba(46,34,21,.5);
  --highlight-ins:rgba(76,175,80,.35);
  --highlight-del:rgba(179,38,30,.25);
  --ring-accent:rgba(189,130,65,.6);
  --shadow-accent:0 0 0 3px rgba(189,130,65,.4);
  --shadow-danger:0 0 0 3px rgba(179,38,30,.3);
  --shadow-depth:0 0 24px 6px rgba(0,0,0,.7);
  --panel-bg-image:none;
  --panel-bg-size:7%;
}
