/* A lighter background (owner, 2026-11-12): trying it on everywhere.
   Every colour here is a step lighter than the apps' usual ones; the
   gradients stay. To roll it out everywhere, load this file on every page
   with the class on <html>; to roll it back, stop loading it. */
html.lite:not([data-theme="light"]) { background: #0E1A2D;
  --bg: #0F1C30;
  --panel: #16253C;
  --panel-2: #132136;
  --surface: #16253C;
  --surface-2: #1A2B45;
  --line: #24364F;
  --border: #2A3D5A;
}
html.lite:not([data-theme="light"]) body {
  background:
    radial-gradient(circle at 82% -8%, rgba(56, 120, 230, .26) 0, transparent 38%),
    radial-gradient(circle at 8% 108%, rgba(20, 160, 150, .16) 0, transparent 32%),
    linear-gradient(180deg, #102036, #0E1A2D) !important;
  background-attachment: fixed !important;
}
html.lite:not([data-theme="light"]) .wf-side-nav { background: linear-gradient(180deg, #0C1729, #12233B); border-right-color: rgba(255, 255, 255, .07); }
html.lite:not([data-theme="light"]) .wf-bar { background: rgba(16, 30, 50, .82); }
html.lite:not([data-theme="light"]) .wf-space, html.lite:not([data-theme="light"]) .wf-menu summary { background: rgba(255, 255, 255, .035); }
html.lite:not([data-theme="light"]) .customer-list, html.lite:not([data-theme="light"]) .workspace > .customer-list { background: #12203A !important; }
html.lite:not([data-theme="light"]) .customer-list li a:hover { background: #1A2C48; }
html.lite:not([data-theme="light"]) .list-handle, html.lite:not([data-theme="light"]) .wf-list-handle { background: #16253C; border-color: #34496A; }
html.lite:not([data-theme="light"]) .card, html.lite:not([data-theme="light"]) .wf-card, html.lite:not([data-theme="light"]) .tile, html.lite:not([data-theme="light"]) .mon-row, html.lite:not([data-theme="light"]) .wf-stat {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 50%), #16253C;
  border-color: #2A3D5A;
}
html.lite:not([data-theme="light"]) .mon-body, html.lite:not([data-theme="light"]) .dv-body { background: #111E33; border-color: #263852; }
html.lite:not([data-theme="light"]) input, html.lite:not([data-theme="light"]) textarea, html.lite:not([data-theme="light"]) select { background-color: #111E33; }
html.lite:not([data-theme="light"]) .site-footer { border-top-color: rgba(255, 255, 255, .07); }
html.lite:not([data-theme="light"]) .wf-cust-side { background: #12203A; }
html.lite:not([data-theme="light"]) .wf-hero, html.lite:not([data-theme="light"]) .wf-turn { background: linear-gradient(115deg, #16253C 50%, #143552); }
/* The About pages' PDFs: one plain lighter colour (a fixed gradient only
   paints the first screen of a PDF, which left darker bands). */
html.lite.pdf:not([data-theme="light"]), html.lite.pdf:not([data-theme="light"]) body { background: #0F1C30 !important; background-attachment: scroll !important; }
/* Printing the Privacy and Security pages (and their PDF): plain white paper,
   not the screen gradient, which would be drawn again on every page. */
@media print { html.lite:not([data-theme="light"]) body.legal-page { background: #FFFFFF !important; } }

/* Radio buttons and tick boxes: no text-box background behind them (Safari
   draws it as a square around the circle). */
input[type="radio"], input[type="checkbox"] { background-color: transparent !important; border: 0; box-shadow: none; padding: 0; }
