/* NeuralMill — GLASS SYSTEM.
   Derived from the product concept renders: translucent frosted panels floating in 3D over a
   near-black stage, lit from the top edge, with a cyan edge-glow frame and warm amber circuit
   traces behind. This is the "instrument in space" layer that sits on top of the flat lab-site UI. */
:root{
  /* ---- Glass fills (light-from-above: brighter at the top) ---- */
  --glass-fill:linear-gradient(160deg,rgba(255,255,255,.10),rgba(255,255,255,.042) 52%,rgba(255,255,255,.028));
  --glass-fill-raised:linear-gradient(160deg,rgba(255,255,255,.15),rgba(255,255,255,.06) 52%,rgba(255,255,255,.038));
  --glass-fill-sunken:linear-gradient(160deg,rgba(255,255,255,.055),rgba(255,255,255,.022));
  --glass-fill-solid:#2b2e33;   /* opaque graphite variant (dashboard tiles) */
  --glass-fill-solid-2:#34383e;

  /* ---- Glass edges ---- */
  --glass-border:rgba(255,255,255,.13);
  --glass-border-strong:rgba(255,255,255,.22);
  --glass-highlight:rgba(255,255,255,.38);  /* the bright 1px top rim */
  --glass-inner:inset 0 1px 0 rgba(255,255,255,.20); /* @kind shadow */

  /* ---- Blur & radius ---- */
  --glass-blur:20px;
  --glass-blur-sm:10px;
  --glass-radius:20px;
  --glass-radius-sm:14px;
  --glass-radius-lg:26px;

  /* ---- Elevation (floating in space) ---- */
  --glass-shadow:0 26px 70px -22px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.20);
  --glass-shadow-sm:0 14px 34px -14px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.16);
  --glass-shadow-hi:0 40px 90px -24px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.26);

  /* ---- Stage: cyan edge frame + warm traces ---- */
  --edge-cyan:#25c8e8;
  --edge-glow:0 0 60px rgba(37,200,232,.55), 0 0 140px rgba(37,200,232,.28);
  --trace-amber:#f0a44a;
  --trace-white:rgba(255,255,255,.85);
  --stage-bg:radial-gradient(900px 500px at 50% -10%, rgba(255,255,255,.10), transparent 62%), #050607;

  /* ---- Data-viz hues (desaturated, cool-leaning — from the renders) ---- */
  --viz-blue:#7c9ff5;
  --viz-indigo:#8b93f8;
  --viz-orange:#e8965a;
  --viz-amber:#e5b567;
  --viz-teal:#4ec9a0;
  --viz-green:#5ec98b;
  --viz-red:#e8735a;
  --viz-line:rgba(255,255,255,.92);      /* default chart stroke */
  --viz-track:rgba(255,255,255,.13);     /* gauge/bar track */
  --viz-grid:rgba(255,255,255,.07);

  /* ---- Delta pill tints ---- */
  --delta-up-fg:#5ec98b;
  --delta-up-bg:rgba(94,201,139,.14);
  --delta-down-fg:#e8735a;
  --delta-down-bg:rgba(232,115,90,.14);

  /* ---- Glass text ramp (brighter than the flat UI — reads over blur) ---- */
  --glass-ink:#f7f9fb;
  --glass-ink-2:#c3c9d2;
  --glass-ink-3:#8b929c;

  /* ---- 3D ---- */
  --stage-perspective:1600px;
  --tilt-x:6deg; /* @kind other */
  --tilt-y:-14deg; /* @kind other */
}
