:root{
  --bg:#0f3a6e; --surface:#fff; --ink:#13233a; --ink-2:#46546a; --muted:#7a8698; --line:rgba(19,35,58,.14);
  --accent:#1f5fa8; --accent-ink:#fff; --accent-soft:#e8f0fb; --gold:#f2d48a;
  --hero-a:#1d4f8f; --hero-b:#16807f; --crit:#b3352c; --good:#1f7a45;
  --f-ui:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",sans-serif; --f-display:"IBM Plex Serif",Georgia,serif;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--f-ui);font-size:14px;line-height:1.5}

/* full-page analytics backdrop */
.stage{position:fixed;inset:0;overflow:hidden;background:linear-gradient(135deg,#0c3166 0%,var(--hero-a) 45%,var(--hero-b) 100%)}
.stage::before{content:"";position:absolute;inset:0;background:
  radial-gradient(circle at 88% 8%,rgba(255,255,255,.16),transparent 36%),
  radial-gradient(circle at 8% 96%,rgba(242,212,138,.2),transparent 34%)}
.stage::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 55% 60% at 50% 50%,rgba(8,28,58,.62),rgba(8,28,58,.1) 70%,transparent)}
.board{position:absolute;inset:0}
.w{position:absolute;transform:rotate(var(--r,0deg));will-change:transform;border-radius:16px;padding:16px 18px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.18);
  box-shadow:0 18px 40px -22px rgba(0,0,0,.5);overflow:hidden;display:flex;flex-direction:column;animation:wIn .9s cubic-bezier(.2,.7,.2,1) backwards,wFloat var(--t,9s) ease-in-out infinite alternate;animation-delay:calc(var(--d,0) * 90ms),calc(var(--d,0) * -1.3s)}
.w .t{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.7);font-weight:600}
.w .sk{height:18px;width:46%;border-radius:6px;background:rgba(255,255,255,.34);margin:10px 0 0}
.w .sk.s{height:9px;width:30%;background:rgba(242,212,138,.55);margin-top:8px}
.w svg{display:block;width:100%;flex:1;min-height:0}
.k1{left:4%;top:14%;width:18%;height:18%;--r:-4deg;--t:8s;--dx:10px;--dy:-14px}
.k2{left:24%;top:5%;width:16%;height:17%;--r:3deg;--t:11s;--dx:-8px;--dy:12px;filter:blur(1.2px);opacity:.75}
.k3{right:21%;top:6%;width:16%;height:17%;--r:-3deg;--t:10s;--dx:12px;--dy:10px;filter:blur(1px);opacity:.8}
.k4{right:4%;top:18%;width:17%;height:18%;--r:4deg;--t:9s;--dx:-10px;--dy:-12px}
.w-line{left:3%;top:35%;width:33%;height:31%;--r:-3deg;--t:12s;--dx:14px;--dy:-10px}
.w-donut{right:5%;top:47%;width:20%;height:29%;--r:3deg;--t:10s;--dx:-12px;--dy:14px}
.w-hbar{right:25%;bottom:4%;width:19%;height:26%;--r:-2deg;--t:13s;--dx:8px;--dy:-14px;filter:blur(1.5px);opacity:.7}
.w-cols{left:11%;bottom:3%;width:34%;height:28%;--r:2deg;--t:9s;--dx:-10px;--dy:-12px}
.w-rows{right:3%;bottom:4%;width:19%;height:20%;--r:-3deg;--t:11s;--dx:10px;--dy:-10px;filter:blur(1px);opacity:.8}
.orb{position:absolute;border-radius:50%;background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.35),rgba(255,255,255,.04) 70%);border:1px solid rgba(255,255,255,.14);animation:wFloat var(--t,12s) ease-in-out infinite alternate}
.o1{left:38%;top:30%;width:70px;height:70px;--dx:20px;--dy:-30px}
.o2{right:30%;top:58%;width:46px;height:46px;--t:9s;--dx:-16px;--dy:24px;background:radial-gradient(circle at 35% 30%,rgba(242,212,138,.55),rgba(242,212,138,.05) 70%)}
.o3{left:2%;bottom:30%;width:34px;height:34px;--t:8s;--dx:14px;--dy:-18px}
.o4{right:2%;top:8%;width:90px;height:90px;--t:14s;--dx:-18px;--dy:22px}.w .grid{stroke:#fff;stroke-opacity:.1;fill:none;vector-effect:non-scaling-stroke}
.w .ln{fill:none;stroke:var(--gold);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;stroke-dasharray:1;stroke-dashoffset:1;animation:wDraw 2.6s .5s ease forwards}
.w .ln2{stroke:#fff;stroke-opacity:.55;animation-delay:.9s}
.w .ar{fill:url(#gA);animation:wFade 1.6s .8s ease backwards}
.w .bar{fill:#fff;fill-opacity:.28;transform-box:fill-box;transform-origin:bottom;animation:wGrow 1.1s cubic-bezier(.2,.7,.2,1) backwards;animation-delay:calc(var(--i) * 70ms + .3s)}
.w .bar.g{fill:var(--gold);fill-opacity:.6}
.w .hb{fill:#fff;fill-opacity:.3;transform-box:fill-box;transform-origin:left;animation:wGrowX 1.1s cubic-bezier(.2,.7,.2,1) backwards;animation-delay:calc(var(--i) * 90ms + .4s)}
.w .hb.g{fill:var(--gold);fill-opacity:.65}
.w .dn circle{fill:none;stroke-width:20;stroke:#fff;stroke-opacity:.25}
.w .dn circle.g{stroke:var(--gold);stroke-opacity:.7}
.w .dn{animation:wFade 1.4s .6s ease backwards}
.w .row{height:12px;border-radius:6px;background:rgba(255,255,255,.2);margin-top:14px}
.w .row:nth-child(odd){background:rgba(255,255,255,.3)}
.w .row.g{background:rgba(242,212,138,.45)}
.float{animation:wFloat 9s ease-in-out infinite}
@keyframes wIn{from{opacity:0;transform:translateY(14px)}}
@keyframes wGrow{from{transform:scaleY(0)}}
@keyframes wGrowX{from{transform:scaleX(0)}}
@keyframes wDraw{to{stroke-dashoffset:0}}
@keyframes wFade{from{opacity:0}}
@keyframes wFloat{to{transform:translate(var(--dx,0px),var(--dy,-12px)) rotate(calc(var(--r,0deg) * -.6))}}

/* foreground */
.top{position:fixed;top:22px;left:4vw;z-index:2}
.logo{display:flex;align-items:center;gap:12px;color:#fff}
.logo svg{width:42px;height:42px;border-radius:12px;box-shadow:0 8px 18px -8px rgba(0,0,0,.45)}
.logo b{display:block;font-family:var(--f-display);font-size:18px;font-weight:600}
.logo span{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.75)}
.foot-note{position:fixed;bottom:18px;left:0;right:0;text-align:center;z-index:2;font-size:12px;color:rgba(255,255,255,.7)}
.wrap{position:relative;z-index:1;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:96px 20px 64px}

/* sign-in card */
.card{width:100%;max-width:420px;background:var(--surface);border-radius:20px;padding:36px 34px 28px;
  box-shadow:0 40px 80px -30px rgba(4,18,40,.75),0 0 0 1px rgba(255,255,255,.4);animation:wIn .8s .15s cubic-bezier(.2,.7,.2,1) backwards}
.eyebrow{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);font-weight:600;margin-bottom:8px}
.card h2{margin:0;font-family:var(--f-display);font-size:28px;font-weight:600;letter-spacing:-.005em}
.card .sub{margin:6px 0 24px;color:var(--ink-2)}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
label{font-size:12px;font-weight:500;color:var(--ink-2)}
.input{position:relative}
.input svg.lead{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:17px;height:17px;color:var(--muted);pointer-events:none}
input[type=text],input[type=password],input[type=email]{width:100%;font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:12px 44px 12px 40px;
  box-shadow:0 1px 2px rgba(19,35,58,.04);transition:border-color .15s,box-shadow .15s}
input::placeholder{color:#a3adbb}
input:hover{border-color:rgba(19,35,58,.28)}
input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 4px rgba(31,95,168,.14)}
.toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:0;background:none;color:var(--muted);cursor:pointer;width:34px;height:34px;border-radius:8px;display:grid;place-items:center}
.toggle:hover{color:var(--accent);background:var(--accent-soft)}
.toggle:focus-visible{outline:2px solid var(--accent)}
.toggle svg{width:18px;height:18px}
.row{display:flex;align-items:center;justify-content:space-between;margin:2px 0 22px;font-size:13px}
.check{display:flex;align-items:center;gap:8px;color:var(--ink-2);cursor:pointer}
.check input{width:16px;height:16px;accent-color:var(--accent)}
a{color:var(--accent);text-decoration:none;font-weight:500}
a:hover{text-decoration:underline}
.btn{width:100%;font:inherit;font-weight:600;color:var(--accent-ink);background:linear-gradient(135deg,var(--hero-a),var(--accent));border:0;border-radius:10px;padding:13px 16px;cursor:pointer;
  box-shadow:0 10px 20px -10px rgba(31,95,168,.7);transition:transform .15s,box-shadow .15s,filter .15s}
.btn:hover{transform:translateY(-1px);box-shadow:0 14px 24px -10px rgba(31,95,168,.75);filter:brightness(1.05)}
.btn:active{transform:none}
.btn:focus-visible{outline:3px solid rgba(31,95,168,.35);outline-offset:2px}
.btn[disabled]{opacity:.7;cursor:progress}
.msg{display:none;margin-bottom:16px;padding:10px 12px;border-radius:10px;font-size:13px;border:1px solid currentColor}
.msg.err{display:block;color:var(--crit);background:#fdf0ef}
.msg.ok{display:block;color:var(--good);background:#eef8f2}
.fine{margin-top:22px;text-align:center;font-size:12px;color:var(--muted)}
.back{margin-top:22px;text-align:center;font-size:13px;color:var(--ink-2)}
.fine svg{width:13px;height:13px;vertical-align:-2px;margin-right:4px}

@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}.w .ln{stroke-dashoffset:0}}
.panel{width:100%;display:flex;justify-content:center}

.w .h{display:flex;justify-content:space-between;align-items:center;gap:8px}
.w .v{font-family:var(--f-display);font-size:24px;font-weight:600;color:#fff;margin:6px 0 4px;white-space:nowrap}
.w .dl{font-family:var(--f-ui);font-size:12px;font-weight:600;margin-left:4px}
.w .up{color:#9be7bd}.w .dnc{color:#ffb7ae}
.w .ax{font-size:9px;fill:rgba(255,255,255,.7);font-family:var(--f-ui)}
.w .ax.lg{font-size:9.5px;fill:rgba(255,255,255,.85)}
.w svg{margin-top:6px}
.w .ln.dash{stroke-dasharray:.02 .02;stroke:#fff;stroke-opacity:.6;stroke-width:1.5;animation:none;stroke-dashoffset:0}
.w .ar{fill:url(#gA)}
.lgd{font-size:10.5px;color:rgba(255,255,255,.8);white-space:nowrap}
.lgd i{display:inline-block;width:9px;height:9px;border-radius:2px;background:var(--gold);margin:0 4px 0 8px;vertical-align:-1px}
.lgd i.d{background:none;border-top:2px dashed rgba(255,255,255,.7);height:0;border-radius:0;vertical-align:3px}
.lgd i.w2{background:rgba(255,255,255,.4)}
.w .tr{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:rgba(255,255,255,.9);padding:8px 0;border-top:1px solid rgba(255,255,255,.12);margin-top:0}
.w .tr:first-of-type{margin-top:8px}
.w .pill{font-size:10px;padding:2px 9px;border-radius:99px;background:rgba(255,255,255,.18);color:#fff}
.w .kpi svg,.kpi svg{flex:1;min-height:0}
/* ---- visual polish: aurora, frosted glass, glow ---- */
@property --a{syntax:'<angle>';initial-value:0deg;inherits:false}
.stage{background:radial-gradient(120% 100% at 50% 0%,#0d2350 0%,#081633 55%,#050c1f 100%)}
.stage::before{inset:-25%;background:
  radial-gradient(38% 40% at 18% 28%,rgba(56,189,248,.55),transparent 70%),
  radial-gradient(34% 40% at 82% 18%,rgba(139,92,246,.48),transparent 70%),
  radial-gradient(40% 45% at 72% 88%,rgba(20,184,166,.52),transparent 70%),
  radial-gradient(30% 34% at 14% 86%,rgba(242,212,138,.3),transparent 70%);
  filter:blur(44px);animation:aurora 24s ease-in-out infinite alternate}
.stage::after{background:radial-gradient(ellipse 50% 56% at 50% 50%,rgba(4,12,30,.6),rgba(4,12,30,.12) 72%,transparent)}
.board::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.16) 1px,transparent 1.2px);background-size:30px 30px;
  -webkit-mask-image:radial-gradient(ellipse at center,#000 25%,transparent 78%);mask-image:radial-gradient(ellipse at center,#000 25%,transparent 78%)}
@keyframes aurora{to{transform:translate(5%,-4%) rotate(8deg) scale(1.1)}}

.w{background:linear-gradient(150deg,rgba(255,255,255,.17),rgba(255,255,255,.05));
  -webkit-backdrop-filter:blur(16px) saturate(150%);backdrop-filter:blur(16px) saturate(150%);
  border:1px solid rgba(255,255,255,.2);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 24px 50px -24px rgba(0,0,0,.65),0 0 40px -18px rgba(94,234,212,.35)}
.w .ln{filter:drop-shadow(0 0 5px rgba(242,212,138,.75));stroke:#ffd98a}
.w .ln.dash{filter:none}
.w .bar{fill:#9cc7ff;fill-opacity:.55}
.w .bar.g{fill:#ffd98a;fill-opacity:.9;filter:drop-shadow(0 0 4px rgba(255,217,138,.55))}
.w .hb{fill:#8fd8ff;fill-opacity:.55}
.w .hb.g{fill:#ffd98a;fill-opacity:.9;filter:drop-shadow(0 0 4px rgba(255,217,138,.5))}
.w .dn circle.g{filter:drop-shadow(0 0 5px rgba(255,217,138,.6))}
.w .v{background:linear-gradient(90deg,#fff,#b9dcff);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.w .dl{-webkit-text-fill-color:currentColor;padding:2px 8px;border-radius:99px;background:rgba(155,231,189,.16)}
.w .dnc{background:rgba(255,183,174,.16)}
.orb{box-shadow:0 0 40px -6px rgba(125,211,252,.55),inset 0 0 18px rgba(255,255,255,.18);backdrop-filter:blur(3px)}

.card{position:relative;box-shadow:0 50px 100px -30px rgba(2,10,30,.85),0 0 90px -20px rgba(94,234,212,.35)}
.card::before{content:"";position:absolute;inset:-2px;border-radius:22px;padding:2px;pointer-events:none;
  background:conic-gradient(from var(--a),transparent 0 62%,#5eead4 76%,#ffd98a 88%,transparent 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);animation:spin 7s linear infinite}
@keyframes spin{to{--a:360deg}}
.eyebrow{background:linear-gradient(90deg,#1f5fa8,#16a394);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;display:inline-block}
.btn{position:relative;overflow:hidden;background:linear-gradient(135deg,#1d4f8f 0%,#1f6fd0 55%,#16a394 100%);background-size:160% 100%;transition:background-position .4s,transform .15s,box-shadow .15s,filter .15s}
.btn:hover{background-position:100% 0}
.btn::after{content:"";position:absolute;top:0;bottom:0;width:40%;left:-60%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.35),transparent);transform:skewX(-20deg)}
.btn:hover::after{left:130%;transition:left .7s}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important}.card::before{display:none}}
/* ---- sign-in card: dark frosted glass ---- */
.card{max-width:430px;padding:38px 36px 28px;color:#fff;
  background:linear-gradient(160deg,rgba(255,255,255,.16),rgba(255,255,255,.05) 45%),rgba(9,21,46,.62);
  -webkit-backdrop-filter:blur(28px) saturate(160%);backdrop-filter:blur(28px) saturate(160%);
  border:1px solid rgba(255,255,255,.2);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 50px 100px -30px rgba(2,10,30,.9),0 0 90px -20px rgba(94,234,212,.35)}
.badge{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;margin-bottom:18px;
  background:linear-gradient(135deg,#1f6fd0,#16a394);box-shadow:0 14px 26px -10px rgba(22,163,148,.85),inset 0 1px 0 rgba(255,255,255,.45)}
.badge svg{width:28px;height:28px}
.eyebrow{background:linear-gradient(90deg,#7dd3fc,#5eead4);-webkit-background-clip:text;background-clip:text}
.card h2{color:#fff;font-size:30px}
.card .sub{color:rgba(255,255,255,.72)}
.card label{color:rgba(255,255,255,.82)}
.card input[type=text],.card input[type=password],.card input[type=email]{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);color:#fff;box-shadow:none}
.card input::placeholder{color:rgba(255,255,255,.42)}
.card input:hover{border-color:rgba(255,255,255,.4)}
.card input:focus{border-color:#5eead4;background:rgba(255,255,255,.12);box-shadow:0 0 0 4px rgba(94,234,212,.2),0 0 24px -6px rgba(94,234,212,.5)}
.card input:-webkit-autofill{-webkit-text-fill-color:#fff;caret-color:#fff;box-shadow:0 0 0 40px #17315a inset}
.card .input svg.lead{color:rgba(255,255,255,.55)}
.card .toggle{color:rgba(255,255,255,.6)}
.card .toggle:hover{color:#fff;background:rgba(255,255,255,.12)}
.card .check{color:rgba(255,255,255,.78)}
.card .check input{accent-color:#16a394}
.card a{color:#7dd3fc}
.card .fine{color:rgba(255,255,255,.55)}
.card .msg.err{color:#ffb7ae;background:rgba(179,53,44,.2)}
.card .msg.ok{color:#9be7bd;background:rgba(31,122,69,.22)}
.card .btn{padding:14px 16px;font-size:15px;box-shadow:0 14px 28px -12px rgba(31,111,208,.9)}
/* card: opaque so the charts behind it do not show through */
.card{background:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,0) 40%),linear-gradient(180deg,#0f2147,#0a1733);
  -webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid rgba(255,255,255,.14)}
.stage::after{background:radial-gradient(ellipse 34% 52% at 50% 50%,rgba(4,12,30,.75),rgba(4,12,30,.2) 75%,transparent)}
/* keep the panels clear of the centred card */
.w-line{left:2.5%;width:30%}
.w-cols{left:2.5%;width:30%;bottom:3%;height:27%}
.k2{left:19%;width:15%}
.k3{right:19%;width:15%}
.w-hbar{display:none}
.w-donut{right:3%;width:21%}
.k1{width:16.5%}.k2{left:22%;width:13%;top:4%}

/* ---- card: light (white) for contrast with the dark backdrop ---- */
.card{background:#fff;color:var(--ink);border:1px solid rgba(255,255,255,.7);
  box-shadow:0 50px 100px -30px rgba(2,10,30,.9),0 0 0 6px rgba(255,255,255,.08),0 0 90px -20px rgba(94,234,212,.4)}
.card h2{color:var(--ink)}
.card .sub{color:var(--ink-2)}
.card label{color:var(--ink-2)}
.card .eyebrow{background:linear-gradient(90deg,#1f5fa8,#16a394);-webkit-background-clip:text;background-clip:text}
.card input[type=text],.card input[type=password],.card input[type=email]{background:#f6f9fd;border:1px solid #d6deea;color:var(--ink)}
.card input::placeholder{color:#a3adbb}
.card input:hover{border-color:#aebbd0}
.card input:focus{background:#fff;border-color:var(--accent);box-shadow:0 0 0 4px rgba(31,95,168,.15)}
.card input:-webkit-autofill{-webkit-text-fill-color:var(--ink);caret-color:var(--ink);box-shadow:0 0 0 40px #eef4fc inset}
.card .input svg.lead{color:var(--muted)}
.card .toggle{color:var(--muted)}
.card .toggle:hover{color:var(--accent);background:var(--accent-soft)}
.card .check{color:var(--ink-2)}
.card a{color:var(--accent)}
.card .fine{color:var(--muted)}
.card .msg.err{color:var(--crit);background:#fdf0ef}
.card .msg.ok{color:var(--good);background:#eef8f2}

/* ---- extra panels so the backdrop covers the whole screen ---- */
.k5{left:39%;top:3%;width:19%;height:13%;--r:-2deg;--t:10s;--dx:8px;--dy:10px}
.s1{left:37%;bottom:6.5%;width:26%;height:7.5%;--r:1.5deg;--t:12s;--dx:-10px;--dy:-8px}
.w-renew{right:20.5%;top:40%;width:13.5%;--r:2.5deg;--t:11s;--dx:8px;--dy:-12px}
.w-agents{right:20.5%;bottom:4%;width:13.5%;--r:-2.5deg;--t:13s;--dx:-8px;--dy:10px}
.strip{flex-direction:row;align-items:center;justify-content:space-between;gap:14px;padding:10px 18px}
.strip .v{margin:2px 0 0;font-size:20px}
.strip svg{flex:0 0 36%;margin:0;height:70%}
.w-donut{width:18%}
.w-rows{width:17%}


/* footer note sits under the card (in flow) so nothing can cover it */
.wrap{flex-direction:column;gap:18px}
.foot-note{position:relative;left:auto;right:auto;bottom:auto;z-index:2;text-align:center;color:rgba(255,255,255,.85);text-shadow:0 1px 8px rgba(0,0,0,.6)}
.s1{bottom:2%}
.k5{top:2%;height:11.5%;width:17%;left:40%}
.w-renew{right:22%;width:12.5%}
.w-agents{right:22%;width:12.5%}

/* ---- card: transparent frosted glass with a clear border ---- */
.card{background:linear-gradient(160deg,rgba(255,255,255,.2),rgba(255,255,255,.06) 55%),rgba(8,20,45,.34);
  -webkit-backdrop-filter:blur(34px) saturate(170%);backdrop-filter:blur(34px) saturate(170%);
  border:1.5px solid rgba(255,255,255,.42);color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),inset 0 0 0 1px rgba(255,255,255,.06),0 40px 90px -30px rgba(2,10,30,.8),0 0 70px -20px rgba(94,234,212,.35)}
.card h2{color:#fff;text-shadow:0 1px 12px rgba(0,0,0,.35)}
.card .sub{color:rgba(255,255,255,.85)}
.card label{color:rgba(255,255,255,.9)}
.card .eyebrow{background:linear-gradient(90deg,#9fe0ff,#7ff0dc);-webkit-background-clip:text;background-clip:text}
.card input[type=text],.card input[type=password],.card input[type=email]{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.38);color:#fff}
.card input::placeholder{color:rgba(255,255,255,.55)}
.card input:hover{border-color:rgba(255,255,255,.6)}
.card input:focus{background:rgba(255,255,255,.18);border-color:#7ff0dc;box-shadow:0 0 0 4px rgba(127,240,220,.22),0 0 24px -6px rgba(127,240,220,.5)}
.card input:-webkit-autofill{-webkit-text-fill-color:#fff;caret-color:#fff;box-shadow:0 0 0 40px #1c3a68 inset}
.card .input svg.lead{color:rgba(255,255,255,.7)}
.card .toggle{color:rgba(255,255,255,.75)}
.card .toggle:hover{color:#fff;background:rgba(255,255,255,.15)}
.card .check{color:rgba(255,255,255,.88)}
.card .check input{accent-color:#16a394}
.card a{color:#a8e4ff}
.card .fine{color:rgba(255,255,255,.7)}
.card .msg.err{color:#ffc2ba;background:rgba(179,53,44,.28)}
.card .msg.ok{color:#a9efc8;background:rgba(31,122,69,.3)}

/* ---- make the card clearly stand out from the backdrop ---- */
.card{background:linear-gradient(165deg,rgba(255,255,255,.3),rgba(255,255,255,.12) 50%,rgba(255,255,255,.08)),rgba(10,26,56,.5);
  border:2px solid rgba(255,255,255,.6);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6),
    0 0 0 8px rgba(255,255,255,.07),0 0 0 9px rgba(255,255,255,.2),
    0 0 120px 10px rgba(94,234,212,.28),0 50px 110px -20px rgba(2,10,30,.95)}
.card::before{inset:-4px;border-radius:24px;padding:3px}
.stage::after{background:radial-gradient(ellipse 36% 60% at 50% 50%,rgba(3,10,26,.82),rgba(3,10,26,.35) 70%,transparent)}
.card .btn{box-shadow:0 14px 30px -10px rgba(31,111,208,.95),0 0 0 1px rgba(255,255,255,.25)}

/* ---- palette: indigo base, electric blue + cyan accent, amber highlight ---- */
:root{--cy:#4de2ff;--bl:#3b7bff;--vi:#7c5cff;--am:#ffb84d}
.stage{background:radial-gradient(120% 100% at 50% 0%,#14246b 0%,#0a1347 52%,#050924 100%)}
.stage::before{background:
  radial-gradient(38% 42% at 16% 26%,rgba(59,123,255,.6),transparent 70%),
  radial-gradient(34% 40% at 84% 16%,rgba(124,92,255,.55),transparent 70%),
  radial-gradient(40% 45% at 74% 88%,rgba(34,211,238,.42),transparent 70%),
  radial-gradient(30% 34% at 12% 88%,rgba(255,184,77,.2),transparent 70%)}
.w{border-color:rgba(170,205,255,.26);background:linear-gradient(150deg,rgba(150,185,255,.2),rgba(255,255,255,.04));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 24px 50px -24px rgba(0,0,10,.7),0 0 40px -18px rgba(77,226,255,.35)}
.w .ln{stroke:var(--cy);filter:drop-shadow(0 0 6px rgba(77,226,255,.8))}
.w .ln.dash{filter:none;stroke:#fff}
.w .bar{fill:#7aa7ff;fill-opacity:.75}
.w .bar.g{fill:var(--am);fill-opacity:.95;filter:drop-shadow(0 0 4px rgba(255,184,77,.5))}
.w .hb{fill:#7aa7ff;fill-opacity:.7}
.w .hb.g{fill:var(--am);fill-opacity:.95}
.w .dn circle.g{stroke:var(--am);filter:drop-shadow(0 0 5px rgba(255,184,77,.55))}
.w [fill="#f2d48a"]{fill:var(--am)}
.w circle[fill="#f2d48a"]{fill:var(--cy)}
.w-line .lgd i:not(.d){background:var(--cy)}
.w-cols .lgd i{background:var(--am)}
.w-cols .lgd i.w2{background:#7aa7ff}
.w .v{background:linear-gradient(90deg,#fff,#a9d4ff);-webkit-background-clip:text;background-clip:text}
.orb{background:radial-gradient(circle at 35% 30%,rgba(160,200,255,.5),rgba(80,120,255,.06) 70%);box-shadow:0 0 40px -6px rgba(77,160,255,.6),inset 0 0 18px rgba(255,255,255,.2)}
.o2{background:radial-gradient(circle at 35% 30%,rgba(255,184,77,.6),rgba(255,184,77,.05) 70%)}

.card{background:linear-gradient(165deg,rgba(255,255,255,.26),rgba(255,255,255,.08) 55%),rgba(24,40,120,.5);
  border-color:rgba(205,225,255,.7);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 0 0 8px rgba(160,190,255,.09),0 0 0 9px rgba(190,215,255,.28),0 0 130px 10px rgba(77,160,255,.35),0 50px 110px -20px rgba(2,4,30,.95)}
.card::before{background:conic-gradient(from var(--a),transparent 0 58%,var(--bl) 70%,var(--cy) 82%,var(--vi) 92%,transparent 100%)}
.badge{background:linear-gradient(135deg,#3b7bff,#22d3ee);box-shadow:0 14px 28px -10px rgba(59,123,255,.9),inset 0 1px 0 rgba(255,255,255,.5)}
.badge svg path:last-child{stroke:#fff}
.eyebrow{background:linear-gradient(90deg,#9fd0ff,#6df0ff);-webkit-background-clip:text;background-clip:text}
.card input:focus{border-color:var(--cy);box-shadow:0 0 0 4px rgba(77,226,255,.22),0 0 24px -6px rgba(77,226,255,.55)}
.card input:-webkit-autofill{box-shadow:0 0 0 40px #20378f inset}
.card .check input{accent-color:var(--bl)}
.card a{color:#a8dcff}
.btn,.card .btn{background:linear-gradient(135deg,#3b6cff 0%,#2f8cff 55%,#22c7ee 100%);background-size:160% 100%;box-shadow:0 14px 30px -10px rgba(59,123,255,.95),0 0 0 1px rgba(255,255,255,.3)}
.stage::after{background:radial-gradient(ellipse 36% 60% at 50% 50%,rgba(3,6,32,.8),rgba(3,6,32,.3) 70%,transparent)}

/* ---- charts float directly on the background: no boxes ---- */
.w{background:none!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;padding:0;overflow:visible}
.w .t{color:rgba(255,255,255,.82);text-shadow:0 1px 8px rgba(0,0,20,.6)}
.w .v{font-size:28px}
.w .ax{fill:rgba(255,255,255,.8)}.w .ax.lg{fill:rgba(255,255,255,.92)}
.w .grid{stroke:rgba(255,255,255,.16)}
.w .tr{color:rgba(255,255,255,.92);border-top-color:rgba(255,255,255,.18);text-shadow:0 1px 6px rgba(0,0,20,.6)}
.w .pill{background:rgba(255,255,255,.2);color:#fff}
.lgd{color:rgba(255,255,255,.88)}
/* ================= FIT ANY SCREEN, NO PAGE SCROLL ================= */
html,body{height:100%;overflow:hidden;overscroll-behavior:none}
.wrap{height:100vh;height:100dvh;min-height:0;padding:12px 16px;gap:clamp(6px,1.4vh,14px);justify-content:center}
.panel{width:100%;max-width:430px;margin:0 auto}
.card{max-width:430px;padding:clamp(16px,3.2vh,38px) clamp(18px,3vw,36px) clamp(12px,2.4vh,28px)}
.badge{width:clamp(40px,6vh,54px);height:clamp(40px,6vh,54px);margin-bottom:clamp(8px,1.8vh,18px)}
.card h2{font-size:clamp(21px,3.3vh,28px)}
.card .sub{margin:6px 0 clamp(10px,2.4vh,24px)}
.field{margin-bottom:clamp(8px,1.7vh,16px)}
.card input[type=text],.card input[type=password],.card input[type=email]{padding-top:clamp(8px,1.4vh,12px);padding-bottom:clamp(8px,1.4vh,12px)}
.row{margin:2px 0 clamp(10px,2.2vh,22px)}
.btn{padding:clamp(10px,1.7vh,14px) 16px}
.fine{margin-top:clamp(8px,1.8vh,22px)}

/* short windows: shrink the whole card + footer instead of scrolling */
@media (max-height:700px){.panel,.foot-note{zoom:.93}}
@media (max-height:640px){.panel,.foot-note{zoom:.85}}
@media (max-height:580px){.panel,.foot-note{zoom:.77}}
@media (max-height:520px){.panel,.foot-note{zoom:.69}}
@media (max-height:460px){.panel,.foot-note{zoom:.61}}
@media (max-height:400px){.panel,.foot-note{zoom:.53}}
@media (max-height:340px){.panel,.foot-note{zoom:.45}}

/* narrower windows: drop the chart panels that would run under the card */

@media (max-width:420px){.wrap{padding:10px}.card{border-radius:16px}.row{flex-wrap:wrap;gap:8px}}

/* centre only the card's header: badge, label, title, intro */
.card .badge{margin-left:auto;margin-right:auto}
.card .eyebrow{display:block;text-align:center}
.card h2,.card .sub{text-align:center}

/* forgot-password: readable "Remembered it?" line on the dark card */
.card .back{color:rgba(255,255,255,.85);margin-top:clamp(10px,2vh,22px)}

/* ---- top-left brand: larger, brighter, on a glass pill so it stands out ---- */
.top{top:clamp(10px,2.4vh,22px);left:clamp(12px,2.6vw,36px);z-index:4}
.top .logo{gap:12px;padding:8px 20px 8px 9px;border-radius:18px;color:#fff;
  background:linear-gradient(135deg,rgba(255,255,255,.26),rgba(255,255,255,.1));
  border:1px solid rgba(255,255,255,.5);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 14px 30px -12px rgba(4,10,60,.7),0 0 30px -8px rgba(110,200,255,.5)}
.top .logo svg{width:clamp(38px,5.4vh,50px);height:clamp(38px,5.4vh,50px);border-radius:13px;
  background:linear-gradient(135deg,#2f7bff,#18d0e8);box-shadow:0 8px 18px -6px rgba(20,90,240,.9)}
.top .logo svg rect{fill:none}
.top .logo b{font-size:clamp(18px,2.9vh,24px);font-weight:600;letter-spacing:.01em;color:#fff;text-shadow:0 2px 12px rgba(4,10,60,.6)}
.top .logo span{margin-top:2px;font-size:clamp(10px,1.4vh,11.5px);letter-spacing:.16em;color:#d5ecff;font-weight:600}
@media (max-width:420px){.top .logo{padding:6px 14px 6px 7px}.top .logo b{font-size:17px}}

/* ---- card border highlight: vivid rotating multi-colour ring ---- */
.card::before{inset:-5px;border-radius:25px;padding:3px;opacity:1;
  background:conic-gradient(from var(--a),#22d3ee,#3b82f6,#8b5cf6,#ec4899,#f59e0b,#22d3ee);
  filter:drop-shadow(0 0 10px rgba(139,92,246,.55)) drop-shadow(0 0 18px rgba(34,211,238,.35))}
.card input:focus{border-color:#22d3ee;box-shadow:0 0 0 4px rgba(34,211,238,.22),0 0 24px -6px rgba(139,92,246,.55)}
.card::before{inset:-12px;border-radius:30px;padding:4px}

/* ---- backdrop scales with the window instead of disappearing ---- */
:root{--s:1}
.board{inset:auto;top:0;left:0;width:calc(100vw / var(--s));height:calc(100vh / var(--s));transform:scale(var(--s));transform-origin:0 0}
@media (max-width:1279px){:root{--s:.86}}
@media (max-width:1099px){:root{--s:.72}}
@media (max-width:899px){:root{--s:.6}}
@media (max-width:699px){:root{--s:.5}}
@media (max-width:499px){:root{--s:.42}}@media (max-width:899px){.top .logo{transform:scale(.78);transform-origin:0 0}}
@media (max-width:599px){.top .logo{transform:scale(.64)}}

/* ---- card border: two bright comets of colour running around the edge ---- */
.card::before{inset:-7px;border-radius:27px;padding:4px;opacity:1;display:block;
  background:conic-gradient(from var(--a),
    rgba(34,211,238,0) 0,#22d3ee 6%,#3b82f6 14%,#8b5cf6 22%,#ec4899 30%,rgba(236,72,153,0) 38%,
    rgba(255,255,255,0) 50%,#f59e0b 56%,#ec4899 64%,#8b5cf6 72%,#22d3ee 80%,rgba(34,211,238,0) 88%,rgba(255,255,255,0) 100%);
  filter:drop-shadow(0 0 8px rgba(139,92,246,.75)) drop-shadow(0 0 18px rgba(34,211,238,.6));
  animation:spin 4.5s linear infinite,ringGlow 3s ease-in-out infinite alternate}
/* a dim full ring underneath, so the border never disappears between comets */
.card::after{content:"";position:absolute;inset:-7px;border-radius:27px;pointer-events:none;
  border:2px solid rgba(255,255,255,.2);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
@keyframes ringGlow{from{filter:drop-shadow(0 0 5px rgba(139,92,246,.55)) drop-shadow(0 0 12px rgba(34,211,238,.4))}to{filter:drop-shadow(0 0 12px rgba(236,72,153,.85)) drop-shadow(0 0 26px rgba(34,211,238,.75))}}
/* people who ask for less motion still see the border, running slowly instead of stopped */
@media (prefers-reduced-motion:reduce){.card::before{display:block!important;animation:spin 18s linear infinite!important}}

/* ---- top-left logo: a running, colour-blinking border like the sign-in card ---- */
.top .logo{position:relative;border-radius:18px;isolation:isolate}
.top .logo::before{content:"";position:absolute;inset:-4px;border-radius:22px;padding:3px;pointer-events:none;z-index:-1;
  background:conic-gradient(from var(--a),#22d3ee,#3b82f6,#8b5cf6,#ec4899,#f59e0b,#22d3ee);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
  animation:spin 3.5s linear infinite,logoBlink 1.6s ease-in-out infinite alternate}
.top .logo svg{animation:tileBlink 1.6s ease-in-out infinite alternate}
@keyframes logoBlink{
  0%{filter:hue-rotate(0deg) brightness(1.15) drop-shadow(0 0 6px rgba(34,211,238,.8))}
  50%{filter:hue-rotate(70deg) brightness(1.5) drop-shadow(0 0 14px rgba(139,92,246,.95))}
  100%{filter:hue-rotate(150deg) brightness(1.2) drop-shadow(0 0 20px rgba(236,72,153,.9))}}
@keyframes tileBlink{
  0%{box-shadow:0 8px 18px -6px rgba(20,90,240,.9),0 0 0 0 rgba(34,211,238,.0)}
  100%{box-shadow:0 8px 18px -6px rgba(236,72,153,.9),0 0 18px 2px rgba(245,158,11,.65)}}
@media (prefers-reduced-motion:reduce){.top .logo::before{animation:spin 18s linear infinite,logoBlink 4s ease-in-out infinite alternate!important}.top .logo svg{animation:none!important}}

/* ---- white theme for the sign-in pages (Login and Forgot password): the dashboard graphs stay, restyled for a white page.
        The suite login keeps its own theme. Everything is scoped to body.light-login. ---- */
body.light-login{background:#fff}
body.light-login .stage{background:#fff}
body.light-login .stage::before{filter:blur(60px);animation:none;
  background:radial-gradient(38% 42% at 14% 26%,rgba(59,123,255,.10),transparent 70%),radial-gradient(34% 40% at 86% 16%,rgba(124,92,255,.07),transparent 70%),
             radial-gradient(40% 45% at 74% 88%,rgba(22,163,148,.10),transparent 70%),radial-gradient(30% 34% at 12% 88%,rgba(224,166,42,.08),transparent 70%)}
body.light-login .stage::after{background:none}
body.light-login .board::before{background-image:radial-gradient(rgba(19,35,58,.10) 1px,transparent 1.2px)}
/* the graphs sit softly out of focus behind the card (the card, brand and footer stay sharp) */
body.light-login .board{filter:blur(3.4px)}
body.light-login .orb{background:radial-gradient(circle at 35% 30%,rgba(59,123,255,.22),rgba(59,123,255,.03) 70%);box-shadow:none;border-color:rgba(31,95,168,.12)}
body.light-login .o2{background:radial-gradient(circle at 35% 30%,rgba(224,166,42,.35),rgba(224,166,42,.04) 70%)}

/* the graphs: white cards with dark ink and the dashboard colours */
body.light-login .w{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important}
body.light-login .w .t{color:var(--muted);text-shadow:none}
body.light-login .w .v{background:none;-webkit-text-fill-color:var(--ink);color:var(--ink);text-shadow:none;font-size:24px}
body.light-login .w .up{color:var(--good-ink,#1f7a45);-webkit-text-fill-color:currentColor;background:#e9f6ee}
body.light-login .w .dnc{color:var(--crit);-webkit-text-fill-color:currentColor;background:#fdeeec}
body.light-login .w .ax{fill:#7a8698}
body.light-login .w .ax.lg{fill:#46546a}
body.light-login .w .grid{stroke:#e4e9f0}
body.light-login .w .ar{fill:rgba(31,95,168,.10)}
body.light-login .w .ln{stroke:#1f5fa8;filter:none}
body.light-login .w .ln.dash{stroke:#9aa8bb;stroke-opacity:1}
body.light-login .w .bar{fill:#9cc0ea;fill-opacity:1;filter:none}
body.light-login .w .bar.g{fill:#e0a62a;fill-opacity:1;filter:none}
body.light-login .w .hb{fill:#9cc0ea;fill-opacity:1}
body.light-login .w .hb.g{fill:#e0a62a;fill-opacity:1;filter:none}
body.light-login .w .dn circle{stroke:#1f5fa8}
body.light-login .w .dn circle.g{stroke:#e0a62a;filter:none}
body.light-login .w svg text[style*="fill:#fff"]{fill:var(--ink)!important}
body.light-login .w svg rect[fill="#fff"]{fill:#1f5fa8}
body.light-login .w svg rect[fill="#f2d48a"]{fill:#e0a62a}
body.light-login .w svg circle[fill="#f2d48a"]{fill:#e0a62a}
body.light-login .w-line svg rect[fill="#fff"]{fill:#fff;stroke:#d6deea}
body.light-login .w .tr{color:var(--ink-2);border-top-color:#eef2f7;text-shadow:none}
body.light-login .w .pill{background:var(--accent-soft);color:var(--accent)}
body.light-login .lgd{color:var(--ink-2)}
body.light-login .lgd i{background:#1f5fa8}
body.light-login .lgd i.d{background:none;border-top-color:#9aa8bb}
body.light-login .lgd i.w2{background:#9cc0ea}
body.light-login .w-cols .lgd i{background:#e0a62a}
body.light-login .w-cols .lgd i.w2{background:#9cc0ea}
body.light-login .w-line .lgd i:not(.d){background:#1f5fa8}

/* sign-in card: white, with a thin border and a soft shadow */
body.light-login .card{background:#fff;color:var(--ink);border:1px solid #e3e8ef;border-radius:18px;
  -webkit-backdrop-filter:none;backdrop-filter:none;
  box-shadow:0 30px 70px -30px rgba(19,35,58,.38),0 2px 8px rgba(19,35,58,.08)}
/* the card border: a bright ring of blue, teal and gold runs around the card so the eye goes straight to the sign-in */
body.light-login .card{border-color:#cfe0f5}
body.light-login .card::before{display:block!important;inset:-5px;border-radius:23px;padding:3px;opacity:1;
  background:conic-gradient(from var(--a),rgba(31,95,168,0) 0,#1f5fa8 9%,#16a394 22%,#f2c14e 33%,rgba(242,193,78,0) 44%,rgba(255,255,255,0) 52%,#16a394 60%,#1f5fa8 74%,rgba(31,95,168,0) 88%,rgba(255,255,255,0) 100%);
  filter:drop-shadow(0 0 6px rgba(31,95,168,.4)) drop-shadow(0 0 14px rgba(22,163,148,.3));animation:spin 5s linear infinite,ringGlow 3s ease-in-out infinite alternate}
/* a faint full ring underneath, so the border never disappears between the bright runs */
body.light-login .card::after{display:block!important;inset:-5px;border-radius:23px;border:2px solid rgba(31,95,168,.14);box-shadow:none}
body.light-login .card h2{color:var(--ink);text-shadow:none}
body.light-login .card .sub{color:var(--ink-2)}
body.light-login .card label{color:var(--ink-2)}
body.light-login .card .eyebrow{background:linear-gradient(90deg,#1f5fa8,#16a394);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
body.light-login .card input[type=text],body.light-login .card input[type=password],body.light-login .card input[type=email]{background:#f6f9fd;border:1px solid #d6deea;color:var(--ink)}
body.light-login .card input::placeholder{color:#a3adbb}
body.light-login .card input:hover{border-color:#aebbd0}
body.light-login .card input:focus{background:#fff;border-color:var(--accent);box-shadow:0 0 0 4px rgba(31,95,168,.15)}
body.light-login .card input:-webkit-autofill{-webkit-text-fill-color:var(--ink);caret-color:var(--ink);box-shadow:0 0 0 40px #eef4fc inset}
body.light-login .card .input svg.lead{color:var(--muted)}
body.light-login .card .toggle{color:var(--muted)}
body.light-login .card .toggle:hover{color:var(--accent);background:var(--accent-soft)}
body.light-login .card .check{color:var(--ink-2)}
body.light-login .card .check input{accent-color:var(--accent)}
body.light-login .card a{color:var(--accent)}
body.light-login .card .fine{color:var(--muted)}
body.light-login .card .back{color:var(--ink-2)}
body.light-login .card .msg.err{color:var(--crit);background:#fdf0ef}
body.light-login .card .msg.ok{color:var(--good);background:#eef8f2}
body.light-login .card .btn{box-shadow:0 10px 22px -10px rgba(31,95,168,.6),0 0 0 1px rgba(31,95,168,.15)}

/* the brand, top left, and the footer line */
body.light-login .top .logo{background:none;border:0;padding:0;color:var(--ink);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
body.light-login .top .logo::before{display:none}
body.light-login .top .logo svg{animation:none;box-shadow:0 6px 14px -6px rgba(31,95,168,.55)}
body.light-login .top .logo b{color:var(--ink);text-shadow:none}
body.light-login .top .logo span{color:var(--muted)}
body.light-login .foot-note{color:var(--muted);text-shadow:none}