/* /agentic-erp/ · one glow for every product surface (2026-10-21).
   Saife, pointing at the Admin desk and the Workspace window beside the use-case cards: "its not glowing like here go check
   all the cards and ui to see thats they are glowing similar to this". The reference is .uc__slab and .uc__card in data.css
   (the temporary glow rule in layer-glow.css): a dark glass slab with a clear rim, a neon top and left edge, light from inside
   and a halo off it. Shells take the slab; the cards inside them take the card. Loaded last. */

/* ---------------------------------------------------------------- shells: the windows and the form */
.erp .wsx, .erp .vm__frame, .erp #desk .win, .erp #board .win, .erp .book {
  border: 1px solid rgb(255 255 255 / .2);
  background: radial-gradient(70% 45% at 30% 0%, color-mix(in oklab, var(--glow) 16%, transparent), transparent 70%),
    radial-gradient(50% 40% at 85% 100%, color-mix(in oklab, var(--glow) 10%, transparent), transparent 70%), linear-gradient(180deg, #10131c 0%, #07080d 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .32), inset 0 0 0 8px rgb(255 255 255 / .02), inset 0 0 70px -28px color-mix(in oklab, var(--glow) 60%, transparent),
    0 0 70px -22px color-mix(in oklab, var(--glow) 60%, transparent), 0 34px 70px -30px rgb(0 0 0 / .7);
}
.erp .wsx, .erp #desk .win, .erp #board .win, .erp .book { position: relative; }
.erp .wsx::after, .erp .vm__frame::after, .erp #desk .win::after, .erp #board .win::after, .erp .book::after {
  content: ""; position: absolute; inset: 0; z-index: 9; border-radius: inherit; pointer-events: none;
  background: linear-gradient(90deg, transparent 12%, var(--neon) 50%, transparent 88%) top / 100% 1px no-repeat,
    linear-gradient(180deg, transparent 20%, color-mix(in oklab, var(--neon) 75%, transparent) 55%, transparent 90%) left / 1px 100% no-repeat;
  filter: drop-shadow(0 0 5px var(--glow));
}
.erp .book { border-radius: 24px; }
/* the worked-example cards already carry the slab; they gain its left edge, inner light and halo */
.erp .st3__card { border-color: rgb(255 255 255 / .2);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .32), inset 0 0 0 7px rgb(255 255 255 / .02), inset 0 0 60px -26px color-mix(in oklab, var(--glow) 60%, transparent),
    0 0 60px -22px color-mix(in oklab, var(--glow) 60%, transparent), 0 30px 60px -24px rgb(0 0 0 / .6); }
.erp .st3__card::after { background: linear-gradient(90deg, transparent 12%, var(--neon) 50%, transparent 88%) top / 100% 1px no-repeat,
  linear-gradient(180deg, transparent 20%, color-mix(in oklab, var(--neon) 75%, transparent) 55%, transparent 90%) left / 1px 100% no-repeat; filter: drop-shadow(0 0 5px var(--glow)); opacity: 1; }

/* ---------------------------------------------------------------- cards inside them */
.erp :is(.st3__vis, .vm__win) {
  border: 1px solid rgb(255 255 255 / .16);
  background: linear-gradient(90deg, transparent 12%, color-mix(in oklab, var(--neon) 70%, transparent) 50%, transparent 88%) top / 100% 1px no-repeat,
    radial-gradient(80% 70% at 50% 0%, color-mix(in oklab, var(--glow) 14%, transparent), transparent 72%),
    linear-gradient(180deg, rgb(255 255 255 / .045), rgb(255 255 255 / .012));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), inset 0 0 36px -18px color-mix(in oklab, var(--glow) 55%, transparent),
    0 0 26px -14px color-mix(in oklab, var(--glow) 65%, transparent);
}

/* the Admin desk and the board inside their glowing shells: the Workspace sidebar's quiet look, in ws-quiet.css */
