/* Heron CS Backups — theme to match hcs-app (app.heroncs.co.uk).
   hcs-app brand palette (from its tailwind config):
     --brand       #047857   (emerald-700)
     --brand-light #10b981   (emerald-500)
     --brand-dark  #065f46   (emerald-800)
   Primary action buttons there are green-600 (#16a34a) -> hover green-700 (#15803d).
   Filebrowser drives its accent from --blue / --dark-blue / --icon-blue, so we
   remap those to green rather than restyling every component. */

:root {
  --blue: #16a34a;       /* green-600  — buttons, links, active nav, checkboxes */
  --dark-blue: #15803d;  /* green-700  — button hover */
  --icon-blue: #047857;  /* brand emerald — icons/spinner (iconPrimary = var(--icon-blue)) */
}

/* Dark mode is selected via :root.dark — lift the greens for contrast on dark surfaces,
   mirroring hcs-app's dark:bg-green-900 / text-green-400 usage. */
:root.dark {
  --blue: #10b981;       /* brand-light */
  --dark-blue: #059669;  /* emerald-600 */
  --icon-blue: #10b981;
}

/* hcs-app uses rounded-lg (~0.5rem) buttons; filebrowser ships .1em. Nudge to match. */
.button {
  border-radius: 0.375rem;
}

/* Match hcs-app's system-ui type stack (filebrowser's default is close; make it explicit). */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
