/* REmined shared theme fix — NEUTRALISED 2026-07-27.

   This file used to force DARK as the default on every page ("makes dark the
   beautiful default across EVERY page"). Dan retired the dark look: "no dark
   brown its hard to read". 52 pages still <link> this file, so instead of
   unlinking it everywhere it now simply agrees with the Warm Paper theme.

   Original kept at remined_theme_fix.css.darkbak
   The real theme lives in theme.css, which loads after this. */

:root{
  --bg:#faf7f2; --card:#ffffff; --surface-2:#ffffff; --border:#ded5c7;
  --text:#1a1a1a; --muted:#635b50; --accent:#6b5220;
  --good:#1f5f4a; --bad:#8a4b12; --track:#ded5c7;
}
html[data-theme="light"]{
  --bg:#faf7f2; --card:#ffffff; --surface-2:#ffffff; --border:#ded5c7;
  --text:#1a1a1a; --muted:#635b50; --accent:#6b5220;
  --good:#1f5f4a; --bad:#8a4b12; --track:#ded5c7;
}

/* Same values whether or not the old light toggle is set, so the toggle can no
   longer drop a page back into an unreadable state. */
input,select,textarea{
  background:#ffffff !important; color:#1a1a1a !important; border-color:#b8ae9e !important;
}
input::placeholder,textarea::placeholder{ color:#6d675e !important; }
option{ background:#ffffff !important; color:#1a1a1a !important; }

.header,.panel,.tablewrap,.bar{ background:#ffffff !important; border-color:#ded5c7 !important; }

.toggle button,.exp{
  background:#f5efe1 !important; color:#5c4a1f !important; border-color:#6b5220 !important;
}
.toggle button.on{ background:#f5efe1 !important; color:#5c4a1f !important; }
.filters button{ color:#2b2620 !important; }
tr.row:hover{ background:#f5efe4 !important; }
.legend{ background:#f2ede3 !important; color:#1a1a1a !important; border-color:#ded5c7 !important; }
th,td{ border-color:#ece5da !important; }
.sub{ color:#635b50 !important; }
