/**
 * Athenian Unya 2.0 — Public Styles Loader
 *
 * This file simply imports modular UI layers.
 */

@import url('ui-core.css');
@import url('layout-main.css');
@import url('components-panels.css');
@import url('components-forms.css');
@import url('components-tables.css');
@import url('components-kpis.css');
@import url('components-modal.css');

/* ============================================================
   Unya 2.0 — Theme Token Bridge Overrides
   (Runs after imports → wins in cascade)
   ============================================================ */

:where(.unya-main-interface) {
  /* Map from global tokens → Unya aliases */
  --unya-bg:              var(--surface-2, #0f0405);
  --unya-bg-panel:        var(--surface-3, #160707);
  --unya-bg-panel-light:  color-mix(in oklch, var(--surface-3, #160707) 88%, transparent);

  --unya-text:            var(--text-high, #fff6f4);
  --unya-text-muted:      var(--text-low,  #b89488);

  /* Accent from primary control color */
  --unya-accent:        var(--ctl-c1, oklch(0.91 0.16 30));
  --unya-accent-soft:   color-mix(in oklch, var(--ctl-c1, oklch(0.91 0.16 30)) 18%, transparent);

  /* Optional: keep these in sync too if you use them later */
  --unya-border:        var(--border, #ffffff17);
}
