/* assets\theme.css
 *
 * One copy of the dashboard's colour tokens and the base rules every page
 * needs. A feature page lives in its own folder and links this, instead of
 * carrying a 4-line duplicate of the :root block that drifts from the others
 * the first time a colour changes (it already had: --panel was #0c121b in
 * three pages and #0d1420 in two).
 *
 * Served at /assets/theme.css by core\90-auth.ps1. Add a new shared file here
 * and it is reachable at /assets/<name> with no route to write - the extension
 * map in that route is the whitelist.
 *
 * A page that needs a different value keeps a small :root override in its own
 * <style> *after* this link; do not fork the whole block again.
 */

:root{
  --bg:#070a11;
  --panel:#0d1420;
  --panel2:#121b2a;
  --line:rgba(255,255,255,.085);
  --line-soft:rgba(255,255,255,.055);
  --txt:#e9eefb;
  --dim:#93a0bb;
  --dim2:#5f6d8a;
  --cyan:#22d3ee;
  --green:#34d399;
  --amber:#fbbf24;
  --red:#f87171;
  --orange:#fb923c;
  --mono:ui-monospace,Consolas,"Cascadia Mono",monospace;
  --sans:"Segoe UI",system-ui,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html,body{height:100%}
body{margin:0;background:var(--bg);color:var(--txt);font:14px var(--sans)}
::selection{background:rgba(34,211,238,.28)}

/* A page shown inside the dashboard's pane is an iframe (assets\embed.js sets
   data-embedded). Its "back to poweragent" link would nest the dashboard inside
   itself, so it goes; pop it out to get the link back. */
html[data-embedded] .back{display:none!important}
