/* =========================================================
   销售智舱 · Dashboard
   ========================================================= */
:root {
  --bg: #05080f;
  --bg-soft: #070d18;
  --panel: rgba(13, 21, 36, .78);
  --panel-strong: rgba(15, 25, 43, .92);
  --panel-soft: rgba(18, 29, 49, .5);
  --line: rgba(121, 165, 235, .13);
  --line-strong: rgba(121, 196, 255, .25);
  --text: #e8f1ff;
  --text-soft: #c3d5ec;
  --muted: #8ba1bd;
  --dim: #627a96;
  --cyan: #4fe3ff;
  --blue: #4b8dff;
  --violet: #8b7cff;
  --gold: #ffc76b;
  --green: #57e6b4;
  --rose: #ff7f9d;
  --radius: 20px;
  --font-sans: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-num: "Bahnschrift", "DIN Alternate", "Segoe UI", var(--font-sans);
  --shadow-panel: 0 24px 60px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .035);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: rgba(79, 227, 255, .25);
  color: #fff;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

h1, h2, h3, h4, p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .025);
}

::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 10px;
  background: rgba(120, 160, 210, .28);
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(120, 190, 255, .42);
  background-clip: padding-box;
}

/* ----------------------------- Ambient ----------------------------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 18% -5%, rgba(24, 74, 140, .34), transparent 58%),
    radial-gradient(ellipse 55% 45% at 92% 18%, rgba(94, 62, 180, .16), transparent 65%),
    radial-gradient(ellipse 70% 50% at 55% 105%, rgba(20, 94, 110, .17), transparent 65%),
    linear-gradient(180deg, #05080f 0%, #060b14 45%, #05080f 100%);
}

.ambient-orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  animation: orbFloat 18s ease-in-out infinite alternate;
}

.ambient-orb-a {
  top: -180px;
  left: 8%;
  width: 520px;
  height: 520px;
  background: rgba(38, 123, 218, .16);
}

.ambient-orb-b {
  top: 20%;
  right: -160px;
  width: 460px;
  height: 460px;
  background: rgba(123, 91, 255, .12);
  animation-delay: -7s;
}

.ambient-orb-c {
  bottom: -240px;
  left: 35%;
  width: 600px;
  height: 600px;
  background: rgba(37, 174, 184, .09);
  animation-delay: -12s;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(116, 163, 224, .032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 163, 224, .032) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 20%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 20%, #000 10%, transparent 75%);
}

.ambient-noise {
  position: absolute;
  inset: 0;
  opacity: .032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes orbFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(28px, 36px, 0) scale(1.08); }
}

/* ----------------------------- Layout ----------------------------- */
.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  width: 248px;
  padding: 26px 18px 20px;
  background:
    linear-gradient(180deg, rgba(9, 15, 27, .94) 0%, rgba(7, 12, 22, .88) 55%, rgba(5, 9, 17, .96) 100%);
  border-right: 1px solid rgba(121, 165, 235, .1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.sidebar::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 1px;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(79, 227, 255, .4), transparent);
  opacity: .55;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 8px 26px;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(28, 49, 82, .9), rgba(10, 19, 34, .95));
  border: 1px solid rgba(120, 190, 255, .19);
  box-shadow: 0 8px 26px rgba(16, 94, 170, .25), inset 0 1px 0 rgba(255, 255, 255, .09);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(79, 227, 255, .2), transparent 45%, rgba(139, 124, 255, .16));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  pointer-events: none;
}

.brand-mark svg {
  width: 30px;
  height: 30px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 17px;
  letter-spacing: .06em;
  font-weight: 700;
}

.brand-text small {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--dim);
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-label {
  padding: 10px 12px 7px;
  font-size: 10px;
  letter-spacing: .18em;
  color: #536987;
  font-weight: 600;
}

.nav-label-spaced {
  margin-top: 18px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  color: #90a6c3;
  font-size: 13.5px;
  letter-spacing: .02em;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.nav-item svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .9;
}

.nav-item:hover {
  color: #dcecff;
  background: rgba(100, 160, 235, .07);
}

.nav-item.is-active {
  color: #effaff;
  background: linear-gradient(90deg, rgba(46, 144, 255, .16), rgba(70, 210, 255, .045));
  box-shadow: inset 0 0 0 1px rgba(110, 200, 255, .12);
}

.nav-item.is-active::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 12px;
  width: 2px;
  height: 20px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 0 14px rgba(79, 227, 255, .7);
}

.nav-item.is-active svg {
  color: var(--cyan);
  filter: drop-shadow(0 0 6px rgba(79, 227, 255, .35));
}

.nav-dot {
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.nav-item-admin {
  border: 1px dashed rgba(121, 165, 235, .16);
  background: rgba(255, 255, 255, .012);
  margin-top: 2px;
}

.nav-item-admin em {
  margin-left: auto;
  font-size: 8px;
  font-style: normal;
  letter-spacing: .12em;
  color: #6685a8;
  border: 1px solid rgba(110, 160, 220, .18);
  border-radius: 4px;
  padding: 1px 4px;
}

.sidebar-lower {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-live {
  position: relative;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(89, 190, 255, .14);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(44, 167, 255, .12), transparent 60%),
    rgba(10, 21, 38, .62);
  overflow: hidden;
}

.side-live::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(121, 220, 255, .06) 45%, transparent 60%);
  transform: translateX(-100%);
  animation: scan 4.5s linear infinite;
  pointer-events: none;
}

@keyframes scan {
  to { transform: translateX(100%); }
}

.side-live-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  color: #cdeeff;
}

.side-live p {
  margin: 5px 0 12px 0;
  font-size: 10.5px;
  color: #6985a7;
}

.live-wave {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 13px;
}

.live-wave i {
  width: 2px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 6px rgba(79, 227, 255, .5);
  animation: wave 1.15s ease-in-out infinite;
}

.live-wave i:nth-child(1) { height: 5px; animation-delay: 0s; }
.live-wave i:nth-child(2) { height: 10px; animation-delay: .13s; }
.live-wave i:nth-child(3) { height: 7px; animation-delay: .26s; }
.live-wave i:nth-child(4) { height: 12px; animation-delay: .39s; }
.live-wave i:nth-child(5) { height: 6px; animation-delay: .52s; }

@keyframes wave {
  0%, 100% { transform: scaleY(.55); opacity: .55; }
  50% { transform: scaleY(1); opacity: 1; }
}

.side-live-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  border-top: 1px solid rgba(111, 162, 220, .1);
  font-family: var(--font-num);
}

.side-live-meta span {
  font-family: var(--font-sans);
  font-size: 8px;
  letter-spacing: .16em;
  color: #5a7391;
}

.side-live-meta b {
  font-size: 11px;
  font-weight: 500;
  color: #99dfff;
  letter-spacing: .04em;
}

.side-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.side-stats div {
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .018);
  border: 1px solid rgba(120, 160, 215, .08);
}

.side-stats span {
  display: block;
  font-size: 9px;
  color: #5b7391;
  letter-spacing: .05em;
}

.side-stats b {
  display: block;
  margin-top: 3px;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 500;
  color: #b9d4ef;
}

.side-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 6px;
}

.version-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(87, 230, 180, .6);
}

.side-foot p {
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: .14em;
  color: #445a75;
}

.side-foot small {
  font-size: 8px;
  letter-spacing: .1em;
  color: #34495f;
}

.main {
  width: calc(100% - 248px);
  max-width: 1720px;
  margin-left: 248px;
  padding: 30px 38px 24px;
}

/* ----------------------------- Topbar ----------------------------- */
.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 4px 2px 20px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-num);
  font-size: 9.5px;
  letter-spacing: .18em;
  color: #6885a6;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.eyebrow-slash {
  color: #35506c;
}

.topbar h1 {
  margin: 9px 0 5px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: .01em;
  font-weight: 700;
}

.text-gradient {
  margin-left: 6px;
  background: linear-gradient(100deg, #ffffff 0%, #9fe9ff 38%, #5fa8ff 72%, #9b8bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(56, 164, 255, .18));
}

.topbar-title > p {
  font-size: 12px;
  color: #738aa7;
  letter-spacing: .04em;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
}

.sync-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(94, 200, 255, .14);
  border-radius: 10px;
  background: rgba(9, 19, 34, .6);
  font-size: 11px;
  color: #88a3c1;
  white-space: nowrap;
}

.sync-pill b {
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 500;
  color: #b9e9ff;
  letter-spacing: .04em;
}

.sync-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(87, 230, 180, .09), 0 0 10px rgba(87, 230, 180, .6);
  animation: livePulse 2.2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.82); }
}

[data-live-status="reconnecting"] .sync-dot,
[data-live-status="offline"] .sync-dot {
  background: var(--gold);
  box-shadow: 0 0 10px rgba(255, 199, 107, .55);
  animation-duration: .9s;
}

[data-live-status="unsupported"] .sync-dot {
  background: var(--muted);
  box-shadow: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-ghost {
  border: 1px solid rgba(121, 165, 235, .2);
  background: rgba(17, 29, 48, .6);
  color: #c2d8f1;
}

.btn-ghost:hover {
  border-color: rgba(100, 205, 255, .38);
  background: rgba(25, 47, 78, .75);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  transform: translateY(-1px);
}

.btn-icon {
  width: 38px;
  padding: 0;
  border: 1px solid rgba(121, 165, 235, .16);
  background: rgba(255, 255, 255, .025);
  color: #8ea6c3;
}

.btn-icon:hover {
  color: var(--cyan);
  border-color: rgba(79, 227, 255, .32);
}

.btn-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----------------------------- Filters ----------------------------- */
.filterbar {
  position: sticky;
  top: 10px;
  z-index: 30;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(121, 165, 235, .14);
  border-radius: 16px;
  background: rgba(9, 16, 29, .8);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.filter-presets {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(4, 10, 20, .55);
  border: 1px solid rgba(121, 165, 235, .08);
}

.filter-presets button {
  height: 30px;
  padding: 0 11px;
  border-radius: 7px;
  font-size: 11.5px;
  color: #7d94b1;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.filter-presets button:hover {
  color: #cfe2f7;
}

.filter-presets button.is-active {
  color: #ecfbff;
  background: linear-gradient(135deg, rgba(46, 144, 255, .23), rgba(79, 227, 255, .09));
  box-shadow: inset 0 0 0 1px rgba(105, 203, 255, .2), 0 3px 12px rgba(18, 92, 170, .16);
}

.filter-divider {
  width: 1px;
  height: 24px;
  background: rgba(121, 165, 235, .1);
}

.filter-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.filter-field > span {
  font-size: 10px;
  color: #607a98;
  white-space: nowrap;
  letter-spacing: .04em;
}

.date-pair {
  display: flex;
  align-items: center;
  gap: 6px;
}

.date-pair i {
  font-style: normal;
  font-size: 10px;
  color: #4b6480;
}

input[type="date"],
select {
  height: 32px;
  border: 1px solid rgba(121, 165, 235, .13);
  border-radius: 8px;
  background: rgba(5, 13, 24, .66);
  color: #c6dcf3;
  font-size: 11px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

input[type="date"] {
  width: 122px;
  padding: 0 8px;
  color-scheme: dark;
  font-family: var(--font-num);
  letter-spacing: .01em;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: .45;
  cursor: pointer;
  filter: invert(80%) sepia(20%) saturate(500%) hue-rotate(170deg);
}

input[type="date"]:hover,
select:hover {
  border-color: rgba(121, 195, 255, .26);
}

input[type="date"]:focus,
select:focus {
  border-color: rgba(79, 227, 255, .46);
  box-shadow: 0 0 0 3px rgba(79, 227, 255, .08);
  background: rgba(7, 19, 34, .9);
}

.select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.select-wrap select {
  min-width: 104px;
  padding: 0 28px 0 10px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.select-wrap svg {
  position: absolute;
  right: 8px;
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #6d88a6;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

select option {
  background: #0b1626;
  color: #cfe2f7;
}

.filter-current {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding-left: 14px;
  border-left: 1px solid rgba(121, 165, 235, .1);
  min-height: 32px;
  font-size: 10.5px;
  color: #607a98;
  white-space: nowrap;
}

.filter-current b {
  font-size: 11px;
  font-weight: 500;
  color: #bfd8f1;
}

.filter-current em {
  font-style: normal;
  font-family: var(--font-num);
  font-size: 10px;
  color: var(--cyan);
  background: rgba(79, 227, 255, .08);
  border: 1px solid rgba(79, 227, 255, .13);
  border-radius: 5px;
  padding: 2px 6px;
}

/* ----------------------------- Panels ----------------------------- */
.panel {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 85% -10%, rgba(55, 118, 200, .09), transparent 55%),
    linear-gradient(155deg, rgba(18, 29, 49, .82) 0%, rgba(10, 17, 31, .88) 55%, rgba(8, 14, 26, .9) 100%);
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, .035), transparent 25%, transparent 75%, rgba(111, 193, 255, .025));
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 21px 22px 15px;
}

.panel-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-num);
  font-size: 8.5px;
  letter-spacing: .16em;
  color: #577392;
  text-transform: uppercase;
}

.panel-kicker > span {
  width: 12px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: .75;
}

.panel-head h2 {
  margin-top: 5px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: .02em;
  color: #e4f0ff;
}

.panel-head p {
  margin-top: 3px;
  font-size: 10.5px;
  color: #67809d;
  letter-spacing: .02em;
}

.panel-badge {
  display: inline-flex;
  align-items: center;
  height: 23px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid rgba(121, 165, 235, .14);
  background: rgba(79, 227, 255, .05);
  color: #80c5e6;
  font-family: var(--font-num);
  font-size: 9px;
  letter-spacing: .06em;
  white-space: nowrap;
}

.panel-badge-gold {
  color: var(--gold);
  border-color: rgba(255, 199, 107, .18);
  background: rgba(255, 199, 107, .06);
}

.panel-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mode-pill {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 9px;
  color: #7f9ab8;
  border: 1px solid rgba(121, 165, 235, .12);
  background: rgba(255, 255, 255, .018);
}

.chart-legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  color: #7892b0;
  white-space: nowrap;
}

.legend-swatch {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.legend-units { background: var(--cyan); box-shadow: 0 0 8px rgba(79, 227, 255, .5); }
.legend-profit { background: var(--gold); box-shadow: 0 0 8px rgba(255, 199, 107, .45); }

.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 22px 16px;
  border-top: 1px solid rgba(121, 165, 235, .08);
  font-size: 9.5px;
  color: #5d7694;
}

.panel-footer span:last-child {
  font-family: var(--font-num);
  color: #8ba7c5;
}

/* ----------------------------- Hero ----------------------------- */
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(340px, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  min-height: 552px;
}

.hero-panel::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 142, 255, .13), transparent 65%);
  pointer-events: none;
}

.hero-head {
  position: relative;
  z-index: 2;
  padding-bottom: 4px;
}

.hero-head h2 {
  font-size: 19px;
}

.scene-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.legend-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 27px;
  padding: 0 9px;
  border-radius: 7px;
  border: 1px solid rgba(121, 165, 235, .13);
  background: rgba(255, 255, 255, .018);
  color: #9db4cf;
  font-size: 10px;
  transition: opacity .2s ease, border-color .2s ease, background .2s ease;
}

.legend-btn:hover {
  border-color: rgba(121, 195, 255, .3);
}

.legend-btn.is-on {
  background: rgba(255, 255, 255, .045);
}

.legend-btn:not(.is-on) {
  opacity: .4;
  filter: saturate(.4);
}

.scene-stage {
  position: relative;
  flex: 1;
  min-height: 400px;
  margin: 2px 14px 0;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 65% 55% at 50% 65%, rgba(26, 83, 145, .2), transparent 68%),
    radial-gradient(ellipse 90% 80% at 50% 0%, rgba(21, 46, 84, .18), transparent 70%),
    linear-gradient(180deg, rgba(4, 10, 20, .1), rgba(4, 9, 17, .35));
}

.scene-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(112, 178, 238, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 178, 238, .035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 55%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 55%, #000, transparent 78%);
  pointer-events: none;
}

#scene3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

#scene3d.is-dragging {
  cursor: grabbing;
}

.scene-hud {
  position: absolute;
  top: 12px;
  z-index: 3;
  font-family: var(--font-num);
  font-size: 8px;
  letter-spacing: .16em;
  color: #587796;
  pointer-events: none;
}

.scene-hud-left {
  left: 14px;
}

.scene-hud-left span {
  color: var(--cyan);
}

.scene-hud-right {
  right: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #527394;
}

.scene-hud-right i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 7px rgba(87, 230, 180, .8);
}

.scene-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(111, 198, 255, .22);
  pointer-events: none;
}

.scene-corner-tl {
  top: 30px;
  left: 12px;
  border-right: 0;
  border-bottom: 0;
}

.scene-corner-br {
  right: 12px;
  bottom: 12px;
  border-left: 0;
  border-top: 0;
}

.scene-tip {
  position: absolute;
  z-index: 8;
  min-width: 152px;
  padding: 11px 13px;
  border: 1px solid rgba(116, 203, 255, .26);
  border-radius: 10px;
  background: rgba(7, 16, 29, .94);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: none;
  left: 0;
  top: 0;
  will-change: transform;
}

.scene-tip-kicker {
  font-family: var(--font-num);
  font-size: 8px;
  letter-spacing: .17em;
  color: #65b6dd;
}

.scene-tip-title {
  margin-top: 3px;
  font-family: var(--font-num);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 600;
  color: #f1fbff;
}

.scene-tip-title small {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  color: #84a5c2;
}

.scene-tip-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(121, 165, 235, .12);
  font-size: 10px;
  color: #7993af;
}

.scene-tip-meta b {
  font-family: var(--font-num);
  font-weight: 500;
  color: var(--gold);
}

.scene-tip-foot {
  margin-top: 3px;
  font-size: 8px;
  letter-spacing: .08em;
  color: #506a85;
}

.scene-months {
  position: relative;
  height: 16px;
  margin: 7px 14px 0;
  font-family: var(--font-num);
  font-size: 9.5px;
  color: rgba(141, 178, 218, .62);
  letter-spacing: .02em;
}

.scene-months span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
}

.scene-months.is-empty {
  visibility: hidden;
}

.scene-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 11px 22px 17px;
  border-top: 1px solid rgba(121, 165, 235, .08);
}

.scene-focus {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.scene-focus span {
  font-size: 9px;
  color: #5f7896;
  letter-spacing: .1em;
}

.scene-focus b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 500;
  color: #b9daf2;
  letter-spacing: .03em;
}

.scene-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #4f6a86;
  white-space: nowrap;
}

.scene-hint svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scene-coverage {
  margin-left: auto;
  padding-left: 14px;
  border-left: 1px solid rgba(121, 165, 235, .1);
  font-family: var(--font-num);
  font-size: 9px;
  color: #6c89a6;
  white-space: nowrap;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.kpi-card {
  position: relative;
  min-width: 0;
  padding: 15px 15px 12px;
  border: 1px solid rgba(121, 165, 235, .12);
  border-radius: 15px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(64, 127, 209, .08), transparent 65%),
    linear-gradient(155deg, rgba(20, 33, 55, .76), rgba(10, 17, 30, .84));
  box-shadow: 0 14px 30px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .03);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  transform-style: preserve-3d;
  z-index: 1;
}

.kpi-card.tilt:hover {
  border-color: rgba(100, 198, 255, .26);
  box-shadow: 0 20px 38px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .05);
  z-index: 2;
}

.kpi-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 0%), rgba(255, 255, 255, .09), transparent 44%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.kpi-card:hover::after {
  opacity: 1;
}

.kpi-top {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.kpi-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 7px;
  border: 1px solid rgba(121, 195, 255, .15);
  background: rgba(79, 227, 255, .06);
  color: #75dfff;
}

.kpi-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kpi-profit .kpi-icon { color: var(--gold); border-color: rgba(255, 199, 107, .16); background: rgba(255, 199, 107, .06); }
.kpi-revenue .kpi-icon { color: #a99aff; border-color: rgba(139, 124, 255, .17); background: rgba(139, 124, 255, .07); }
.kpi-avg .kpi-icon { color: var(--green); border-color: rgba(87, 230, 180, .16); background: rgba(87, 230, 180, .06); }

.kpi-label {
  font-size: 10.5px;
  color: #849bb6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kpi-delta {
  margin-left: auto;
  min-width: 0;
}

.kpi-delta .delta {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 19px;
  padding: 0 5px;
  border-radius: 5px;
  font-family: var(--font-num);
  font-size: 8.5px;
  white-space: nowrap;
}

.kpi-delta .delta em {
  display: none;
}

.kpi-delta .delta i {
  font-style: normal;
}

.delta-up {
  color: var(--green);
  background: rgba(87, 230, 180, .075);
  border: 1px solid rgba(87, 230, 180, .12);
}

.delta-down {
  color: var(--rose);
  background: rgba(255, 127, 157, .075);
  border: 1px solid rgba(255, 127, 157, .12);
}

.delta-flat {
  color: #728aa5;
  background: rgba(130, 160, 200, .06);
  border: 1px solid rgba(130, 160, 200, .1);
}

.kpi-value {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 9px 0 3px;
  line-height: 1;
  white-space: nowrap;
}

.kpi-value b {
  font-family: var(--font-num);
  font-size: clamp(26px, 2.2vw, 34px);
  font-weight: 600;
  letter-spacing: -.01em;
  color: #f0f9ff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 22px rgba(120, 210, 255, .16);
}

.kpi-units .kpi-value b { color: #c8f7ff; }
.kpi-profit .kpi-value b { color: #ffe1a3; }
.kpi-revenue .kpi-value b { color: #d6d0ff; }
.kpi-avg .kpi-value b { color: #c4ffe9; }

.kpi-value span {
  font-size: 9px;
  color: #6984a1;
}

.kpi-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  min-height: 30px;
}

.kpi-foot > span {
  font-size: 8.5px;
  color: #57708d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spark {
  width: 72px;
  height: 24px;
  flex: 0 0 72px;
  opacity: .85;
  overflow: visible;
}

.kpi-glow {
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(79, 227, 255, .09);
  filter: blur(22px);
  pointer-events: none;
}

.kpi-profit .kpi-glow { background: rgba(255, 199, 107, .09); }
.kpi-revenue .kpi-glow { background: rgba(139, 124, 255, .1); }
.kpi-avg .kpi-glow { background: rgba(87, 230, 180, .09); }

.insight-card {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.insight-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 15px 17px 10px;
}

.insight-head h3 {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 20px;
  padding: 0 7px;
  border-radius: 5px;
  border: 1px solid rgba(87, 230, 180, .14);
  background: rgba(87, 230, 180, .055);
  color: #7be9c4;
  font-family: var(--font-num);
  font-size: 8px;
  letter-spacing: .08em;
  white-space: nowrap;
}

.live-tag i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 7px rgba(87, 230, 180, .8);
  animation: livePulse 2s ease-in-out infinite;
}

.insight-list {
  display: flex;
  flex-direction: column;
  padding: 0 17px 8px;
}

.insight-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(121, 165, 235, .075);
}

.insight-rank {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 5px;
  border: 1px solid rgba(121, 165, 235, .12);
  font-family: var(--font-num);
  font-size: 8px;
  color: #5e7a9a;
}

.insight-row:first-child .insight-rank {
  color: var(--gold);
  border-color: rgba(255, 199, 107, .2);
  background: rgba(255, 199, 107, .06);
}

.insight-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.insight-copy em {
  font-style: normal;
  font-size: 8px;
  letter-spacing: .04em;
  color: #5e7895;
}

.insight-copy b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 500;
  color: #c7dcf2;
}

.insight-value {
  margin-left: auto;
  font-family: var(--font-num);
  font-size: 11px;
  color: #9cb8d4;
  white-space: nowrap;
}

/* ----------------------------- Dashboard grid ----------------------------- */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.span-4 { grid-column: span 4; }
.span-8 { grid-column: span 8; }

.trend-panel {
  display: flex;
  flex-direction: column;
}

.chart-summary {
  display: flex;
  align-items: flex-end;
  gap: 28px;
  padding: 2px 22px 2px;
}

.chart-summary > div:not(.chart-summary-note) {
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.chart-summary span {
  font-size: 9px;
  color: #58718e;
  margin-right: 2px;
}

.chart-summary b {
  font-family: var(--font-num);
  font-size: 20px;
  font-weight: 500;
  color: #d9ecff;
  font-variant-numeric: tabular-nums;
}

.chart-summary small {
  font-size: 8.5px;
  color: #5e7794;
}

.chart-summary-note {
  margin-left: auto;
  font-size: 9px;
  color: #55708d;
  text-align: right;
}

.trend-chart {
  position: relative;
  height: 320px;
  min-height: 300px;
  margin: 4px 12px 12px;
}

.trend-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-grid-line {
  stroke: rgba(123, 166, 220, .09);
  stroke-dasharray: 2 5;
  stroke-width: 1;
}

.chart-axis-line {
  stroke: rgba(123, 166, 220, .16);
  stroke-width: 1;
}

.chart-axis-text {
  fill: #5e7896;
  font-family: var(--font-num);
  font-size: 9px;
}

.chart-axis-title {
  fill: #5a7b9c;
  font-family: var(--font-sans);
  font-size: 8.5px;
  letter-spacing: .06em;
}

.chart-axis-title-gold {
  fill: #9a7f52;
}

.chart-x-label {
  fill: #617c9b;
  font-family: var(--font-num);
  font-size: 9px;
  letter-spacing: .02em;
}

.trend-bar {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: barRise .85s cubic-bezier(.2, .8, .25, 1) both;
}

@keyframes barRise {
  from { transform: scaleY(0); opacity: .2; }
  to { transform: scaleY(1); opacity: 1; }
}

.trend-profit-line {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: lineDraw 1.2s cubic-bezier(.3, .7, .3, 1) .15s forwards;
}

@keyframes lineDraw {
  to { stroke-dashoffset: 0; }
}

.trend-area {
  opacity: 0;
  animation: fadeIn .9s ease .3s forwards;
}

.trend-dot {
  animation: fadeIn .5s ease .8s both;
}

.trend-hover-line {
  stroke: rgba(151, 218, 255, .35);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}

.trend-hover-dot {
  fill: #08111f;
  stroke: var(--gold);
  stroke-width: 2;
  filter: drop-shadow(0 0 5px rgba(255, 199, 107, .7));
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.chart-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  color: #6c849f;
}

.chart-empty span {
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
  border-radius: 50%;
  border: 1px dashed rgba(121, 165, 235, .25);
  background: rgba(79, 227, 255, .04);
}

.chart-empty p {
  font-size: 12px;
  color: #8ba5c0;
}

.chart-empty small {
  font-size: 9px;
  color: #566f8b;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 150px;
  padding: 22px 14px;
  text-align: center;
}

.empty-state i {
  width: 28px;
  height: 28px;
  margin-bottom: 5px;
  border-radius: 50%;
  border: 1px dashed rgba(121, 165, 235, .25);
  background: rgba(79, 227, 255, .04);
}

.empty-state b {
  font-size: 11px;
  font-weight: 500;
  color: #8ba5c0;
}

.empty-state span {
  font-size: 9px;
  color: #566f8b;
}

.dept-row[role="button"] {
  cursor: pointer;
  border-radius: 8px;
  transition: background .2s ease;
}

.dept-row[role="button"]:hover {
  background: rgba(85, 159, 235, .045);
}

.dept-row.is-selected {
  background: rgba(79, 227, 255, .055);
  box-shadow: inset 0 0 0 1px rgba(79, 227, 255, .13);
}

body.is-refreshing .sync-dot {
  animation-duration: .8s;
}

/* Department */
.dept-list {
  display: flex;
  flex-direction: column;
  padding: 0 22px 6px;
}

.dept-row {
  position: relative;
  padding: 12px 0 11px;
  border-top: 1px solid rgba(121, 165, 235, .075);
}

.dept-row:first-child {
  border-top: 0;
}

.dept-topline {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.dept-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: #d2e4f6;
}

.dept-name i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--c);
  box-shadow: 0 0 9px color-mix(in srgb, var(--c) 55%, transparent);
}

.dept-share {
  font-family: var(--font-num);
  font-size: 9px;
  color: #5d7897;
}

.dept-units {
  margin-left: auto;
  font-family: var(--font-num);
  font-size: 17px;
  font-weight: 500;
  color: #e3f2ff;
  line-height: 1;
}

.dept-units small {
  margin-left: 2px;
  font-family: var(--font-sans);
  font-size: 8px;
  color: #65809d;
}

.dept-bar {
  position: relative;
  height: 5px;
  margin: 9px 0 7px;
  border-radius: 4px;
  background: rgba(120, 158, 208, .09);
  overflow: hidden;
}

.dept-bar span {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 40%, transparent), var(--c));
  box-shadow: 0 0 12px color-mix(in srgb, var(--c) 35%, transparent);
  transform-origin: left;
  animation: barGrow 1s cubic-bezier(.2, .8, .3, 1) both;
}

@keyframes barGrow {
  from { transform: scaleX(.05); opacity: .2; }
  to { transform: scaleX(1); opacity: 1; }
}

.dept-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: #5e7895;
}

.dept-meta b {
  font-family: var(--font-num);
  font-weight: 500;
  color: #8faac6;
}

.dept-row.is-top .dept-name::after {
  content: "TOP";
  margin-left: 1px;
  font-family: var(--font-num);
  font-size: 7px;
  letter-spacing: .08em;
  color: var(--gold);
  border: 1px solid rgba(255, 199, 107, .16);
  border-radius: 3px;
  padding: 0 3px;
  transform: translateY(-1px);
}

/* Rank */
.rank-list {
  display: flex;
  flex-direction: column;
  padding: 0 16px 12px;
}

.rank-row {
  display: grid;
  grid-template-columns: 24px 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 6px;
  border-radius: 9px;
  text-align: left;
  transition: background .2s ease;
}

.rank-row + .rank-row {
  border-top: 1px solid rgba(121, 165, 235, .06);
}

.rank-row:hover {
  background: rgba(85, 159, 235, .06);
}

.rank-row.is-selected {
  background: rgba(79, 227, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(79, 227, 255, .15);
}

.rank-no {
  font-family: var(--font-num);
  font-size: 10px;
  color: #55708d;
  text-align: center;
}

.rank-row:nth-child(1) .rank-no { color: #ffd786; }
.rank-row:nth-child(2) .rank-no { color: #b8d7ee; }
.rank-row:nth-child(3) .rank-no { color: #d6a47a; }

.rank-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(58, 132, 203, .34), rgba(25, 54, 93, .55));
  border: 1px solid rgba(121, 190, 255, .15);
  font-size: 11px;
  color: #d5eeff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.rank-row:nth-child(2) .rank-avatar { background: linear-gradient(145deg, rgba(139, 124, 255, .3), rgba(40, 38, 90, .5)); }
.rank-row:nth-child(3) .rank-avatar { background: linear-gradient(145deg, rgba(255, 199, 107, .22), rgba(88, 61, 30, .5)); }

.rank-main {
  min-width: 0;
}

.rank-name {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.rank-name b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 500;
  color: #cfe3f6;
}

.rank-dept {
  flex: 0 0 auto;
  padding: 0 4px;
  border-radius: 3px;
  background: rgba(121, 165, 235, .08);
  font-size: 7.5px;
  color: #7691ad;
  line-height: 1.65;
}

.rank-meter {
  height: 3px;
  margin-top: 5px;
  border-radius: 3px;
  background: rgba(120, 158, 208, .09);
  overflow: hidden;
}

.rank-meter span {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(79, 227, 255, .35), var(--cyan));
  opacity: .8;
}

.rank-val {
  text-align: right;
  white-space: nowrap;
}

.rank-val b {
  display: block;
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.1;
  color: #e0f1ff;
}

.rank-val b small {
  font-family: var(--font-sans);
  font-size: 7.5px;
  color: #657f9c;
  font-weight: 400;
}

.rank-val span {
  font-family: var(--font-num);
  font-size: 8.5px;
  color: #708ba7;
}

/* Donut */
.donut-box {
  padding: 0 18px 18px;
  min-height: 220px;
}

.donut-layout {
  display: grid;
  grid-template-columns: minmax(120px, 44%) minmax(0, 1fr);
  align-items: center;
  gap: 2px;
}

.donut-chart {
  aspect-ratio: 1;
  max-width: 190px;
  width: 100%;
  justify-self: center;
}

.donut-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.donut-seg {
  transition: opacity .2s ease, stroke-width .2s ease, filter .2s ease;
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--seg-color) 35%, transparent));
  animation: donutIn .7s ease both;
  cursor: pointer;
  outline: none;
}

.donut-seg:hover,
.donut-seg:focus {
  stroke-width: 20;
}

.donut-seg.is-dim {
  opacity: .24;
}

@keyframes donutIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.donut-center-value {
  fill: #edf9ff;
  font-family: var(--font-num);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.donut-center-unit {
  fill: #718ba7;
  font-family: var(--font-sans);
  font-size: 8.5px;
  letter-spacing: .04em;
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.donut-legend-row {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 5px 5px;
  border-radius: 6px;
  text-align: left;
  transition: background .2s ease;
}

.donut-legend-row:hover,
.donut-legend-row.is-active {
  background: rgba(255, 255, 255, .035);
}

.legend-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 6px color-mix(in srgb, var(--dot) 55%, transparent);
}

.legend-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  color: #94aec8;
}

.legend-value {
  font-family: var(--font-num);
  font-size: 10px;
  color: #c5daee;
}

.legend-value small {
  margin-left: 1px;
  font-family: var(--font-sans);
  font-size: 7px;
  color: #5c7692;
}

.legend-pct {
  width: 34px;
  text-align: right;
  font-family: var(--font-num);
  font-size: 8px;
  color: #647f9b;
}

/* Horizontal bars */
.hbar-box {
  padding: 0 20px 16px;
}

.hbar-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.hbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.hbar-name {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10.5px;
  color: #a7bfd7;
}

.hbar-name i {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 6px color-mix(in srgb, var(--dot) 50%, transparent);
}

.hbar-value {
  font-family: var(--font-num);
  font-size: 10px;
  color: #cfe3f6;
  white-space: nowrap;
}

.hbar-value small {
  margin-left: 1px;
  font-family: var(--font-sans);
  font-size: 7px;
  color: #5c7692;
}

.hbar-value em {
  margin-left: 6px;
  font-family: var(--font-num);
  font-style: normal;
  font-size: 8px;
  color: #5e7996;
}

.hbar-track {
  height: 4px;
  border-radius: 4px;
  background: rgba(120, 158, 208, .08);
  overflow: hidden;
}

.hbar-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--bar) 35%, transparent), var(--bar));
  box-shadow: 0 0 10px color-mix(in srgb, var(--bar) 40%, transparent);
  transition: width .9s cubic-bezier(.2, .8, .25, 1);
}

.hbar-list.is-ready .hbar-fill {
  width: var(--w);
}

.hbar-compact {
  padding: 0;
}

.hbar-compact .hbar-list {
  gap: 8px;
}

.hbar-compact .hbar-top {
  margin-bottom: 3px;
}

.hbar-compact .hbar-value em {
  display: none;
}

.hbar-compact .hbar-name {
  font-size: 9.5px;
}

/* Deals */
.deal-list {
  padding: 0 18px 14px;
}

.deal-head,
.deal-row {
  display: grid;
  grid-template-columns: minmax(130px, 1.1fr) minmax(130px, 1.2fr) minmax(90px, .7fr) 92px 84px;
  align-items: center;
  gap: 10px;
}

.deal-head {
  padding: 0 10px 8px;
  font-size: 8px;
  letter-spacing: .08em;
  color: #4e6783;
  text-transform: uppercase;
}

.deal-head span:last-child {
  text-align: right;
}

.deal-row {
  position: relative;
  padding: 9px 10px;
  border-top: 1px solid rgba(121, 165, 235, .06);
  border-radius: 8px;
  transition: background .2s ease;
}

.deal-row:hover {
  background: rgba(85, 159, 235, .05);
}

.deal-customer {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.deal-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 8px;
  border: 1px solid rgba(121, 190, 255, .13);
  background: linear-gradient(145deg, rgba(48, 113, 177, .3), rgba(18, 41, 70, .45));
  font-size: 10px;
  color: #bfe4ff;
}

.deal-person {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.deal-person b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10.5px;
  font-weight: 500;
  color: #cfe2f5;
}

.deal-person span {
  font-family: var(--font-num);
  font-size: 8px;
  color: #5c7693;
}

.deal-vehicle {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.deal-vehicle b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10.5px;
  font-weight: 400;
  color: #b9cfe5;
}

.deal-vehicle span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  color: #5c7692;
}

.deal-tag {
  display: inline-block;
  padding: 0 4px;
  border-radius: 3px;
  border: 1px solid rgba(121, 165, 235, .12);
  font-size: 7px;
  color: #728ca8;
}

.deal-tag.new {
  color: #7ce8c4;
  border-color: rgba(87, 230, 180, .16);
  background: rgba(87, 230, 180, .05);
}

.deal-person-dept {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.deal-person-dept b {
  font-size: 9.5px;
  font-weight: 400;
  color: #94aec8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deal-person-dept span {
  font-size: 8px;
  color: #5b7692;
}

.deal-price,
.deal-profit {
  text-align: right;
  font-family: var(--font-num);
  font-size: 10px;
  color: #93aec9;
  white-space: nowrap;
}

.deal-profit {
  color: #ffd88d;
  font-size: 10.5px;
}

.deal-profit.is-negative {
  color: var(--rose);
}

.deal-live {
  position: absolute;
  left: 3px;
  top: 15px;
  width: 3px;
  height: 12px;
  border-radius: 3px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(79, 227, 255, .55);
}

/* Vehicle */
.vehicle-donut {
  padding: 0 20px;
}

.vehicle-rings {
  display: flex;
  align-items: center;
  gap: 18px;
}

.vehicle-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 106px;
  height: 106px;
  flex: 0 0 106px;
  border-radius: 50%;
  background: conic-gradient(var(--c) calc(var(--pct) * 1%), rgba(121, 165, 235, .09) 0);
  box-shadow: 0 0 28px color-mix(in srgb, var(--c) 12%, transparent);
}

.vehicle-ring::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #0a1424;
  border: 1px solid rgba(121, 165, 235, .08);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, .5);
}

.vehicle-ring > div {
  position: relative;
  z-index: 1;
  text-align: center;
  line-height: 1.2;
}

.vehicle-ring b {
  display: block;
  font-family: var(--font-num);
  font-size: 24px;
  font-weight: 600;
  color: #e7f7ff;
}

.vehicle-ring span {
  font-size: 8px;
  color: #6e89a5;
}

.vehicle-legend {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.vehicle-legend-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #94aec8;
}

.vehicle-legend-row i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--dot);
}

.vehicle-legend-row b {
  margin-left: auto;
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 500;
  color: #d3e6f8;
}

.vehicle-legend-row small {
  font-family: var(--font-sans);
  font-size: 7.5px;
  color: #5f7995;
}

.vehicle-legend-row em {
  width: 38px;
  text-align: right;
  font-family: var(--font-num);
  font-style: normal;
  font-size: 8.5px;
  color: #617d9a;
}

.mini-section {
  margin: 14px 20px 0;
  padding-top: 12px;
  border-top: 1px solid rgba(121, 165, 235, .08);
}

.mini-title {
  display: block;
  margin-bottom: 9px;
  font-size: 8px;
  letter-spacing: .1em;
  color: #55708d;
}

.vehicle-mix-empty {
  display: grid;
  place-items: center;
  height: 110px;
  font-size: 10px;
  color: #5d7691;
}

/* Footer */
.page-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 16px 4px 6px;
  border-top: 1px solid rgba(121, 165, 235, .07);
  font-size: 9px;
  color: #4c647e;
  letter-spacing: .02em;
}

.page-foot > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-foot i {
  font-style: normal;
  color: #334a61;
}

.foot-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px rgba(87, 230, 180, .5);
}

/* ----------------------------- Toast / Tooltip ----------------------------- */
.toast-root {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 200px;
  max-width: 360px;
  padding: 10px 13px;
  border: 1px solid rgba(121, 195, 255, .2);
  border-radius: 10px;
  background: rgba(9, 19, 33, .95);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
  color: #cfe4f7;
  font-size: 11px;
  pointer-events: auto;
  animation: toastIn .25s ease both;
  backdrop-filter: blur(18px);
}

.toast-out {
  animation: toastOut .25s ease both;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toastOut {
  to { opacity: 0; transform: translateY(5px); }
}

.toast-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  background: rgba(79, 227, 255, .08);
  color: var(--cyan);
}

.toast-icon svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.toast-success .toast-icon { color: var(--green); background: rgba(87, 230, 180, .09); }
.toast-error .toast-icon { color: var(--rose); background: rgba(255, 127, 157, .09); }

.chart-tip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 110;
  min-width: 158px;
  padding: 10px 12px;
  border: 1px solid rgba(121, 203, 255, .22);
  border-radius: 9px;
  background: rgba(7, 16, 29, .95);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .45);
  pointer-events: none;
  backdrop-filter: blur(16px);
  will-change: transform;
}

.tip-kicker {
  margin-bottom: 5px;
  font-family: var(--font-num);
  font-size: 8px;
  letter-spacing: .1em;
  color: #64aed4;
}

.tip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 2px 0;
  font-size: 10px;
  color: #849db7;
}

.tip-row b {
  font-family: var(--font-num);
  font-weight: 500;
  color: #d9ecff;
}

.tip-row b.gold {
  color: var(--gold);
}

/* ----------------------------- Loader ----------------------------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(18, 51, 91, .6), transparent 55%),
    #05080f;
  transition: opacity .55s ease, visibility .55s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.loader-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 8px;
  border-radius: 17px;
  border: 1px solid rgba(121, 195, 255, .2);
  background: rgba(13, 27, 48, .8);
  box-shadow: 0 0 48px rgba(42, 150, 255, .18);
  animation: loaderFloat 2.2s ease-in-out infinite;
}

.loader-mark svg {
  width: 38px;
  height: 38px;
}

@keyframes loaderFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.loader-inner strong {
  font-size: 16px;
  letter-spacing: .16em;
  font-weight: 600;
  color: #dff4ff;
}

.loader-inner small {
  font-size: 9px;
  letter-spacing: .08em;
  color: #5f7b99;
}

.loader-track {
  position: relative;
  width: 150px;
  height: 2px;
  margin-top: 16px;
  border-radius: 2px;
  background: rgba(121, 165, 235, .12);
  overflow: hidden;
}

.loader-track i {
  position: absolute;
  inset: 0;
  width: 45%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: loaderScan 1.25s ease-in-out infinite;
}

@keyframes loaderScan {
  from { transform: translateX(-110%); }
  to { transform: translateX(330%); }
}

.noscript {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: #05080f;
  color: #cfe4f7;
}

/* ----------------------------- Responsive ----------------------------- */
@media (max-width: 1380px) {
  .main { padding: 26px 28px 22px; }
  .hero-layout { grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); }
  .kpi-value b { font-size: 30px; }
}

@media (max-width: 1180px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-panel { min-height: 520px; }
  .hero-side { display: grid; grid-template-columns: 1.45fr 1fr; align-items: stretch; }
  .kpi-grid { align-content: stretch; }
  .insight-card { height: 100%; }
  .insight-list { justify-content: center; flex: 1; }
  .span-8 { grid-column: span 12; }
  .span-4 { grid-column: span 6; }
  .deal-list .deal-head,
  .deal-list .deal-row { grid-template-columns: minmax(120px, 1fr) minmax(120px, 1.2fr) minmax(80px, .7fr) 90px 80px; }
}

@media (max-width: 1024px) {
  .sidebar { width: 82px; padding: 22px 12px 18px; }
  .brand { padding: 2px 8px 22px; justify-content: center; }
  .brand-text { display: none; }
  .nav-item { justify-content: center; padding: 0; height: 46px; }
  .nav-item span, .nav-item em, .nav-dot, .nav-label { display: none; }
  .nav-item.is-active::before { left: -12px; }
  .sidebar-lower { display: none; }
  .main { width: calc(100% - 82px); margin-left: 82px; padding: 24px 22px 20px; }
  .nav-item-admin { border-style: solid; margin-top: 1px; }
}

@media (max-width: 900px) {
  .sidebar {
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
    height: 66px;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(121, 165, 235, .1);
  }
  .sidebar::after { display: none; }
  .brand { padding: 0; margin-right: 8px; }
  .brand-mark { width: 36px; height: 36px; flex-basis: 36px; border-radius: 11px; }
  .brand-mark svg { width: 26px; height: 26px; }
  .brand-text { display: flex; }
  .brand-text strong { font-size: 14px; }
  .brand-text small { font-size: 8px; }
  .nav { flex-direction: row; flex: 1; gap: 2px; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav-item { flex: 0 0 auto; width: 44px; height: 38px; }
  .nav-item span, .nav-item em, .nav-dot, .nav-label { display: none; }
  .nav-item.is-active::before { left: 10px; right: 10px; top: auto; bottom: -12px; width: auto; height: 2px; border-radius: 2px 2px 0 0; }
  .nav-item-admin { display: none; }
  .sidebar-lower { display: none; }
  .main { width: 100%; margin-left: 0; padding: 82px 16px 20px; }
  .topbar { padding-bottom: 16px; }
  .topbar h1 { font-size: 30px; }
  .sync-pill { display: none; }
  .filterbar { position: static; }
  .hero-side { grid-template-columns: 1fr; }
  .insight-card { min-height: 190px; }
  .dashboard-grid { gap: 14px; }
}

@media (max-width: 720px) {
  .topbar { gap: 12px; }
  .topbar-title > p { display: none; }
  .topbar-actions { padding-top: 12px; }
  .btn-ghost { height: 34px; padding: 0 11px; font-size: 11px; }
  .filterbar { gap: 10px; padding: 10px; }
  .filter-divider { display: none; }
  .filter-presets { width: 100%; overflow-x: auto; }
  .filter-presets button { flex: 1 0 auto; }
  .filter-field { flex: 1 1 150px; justify-content: space-between; }
  .filter-field > span { min-width: 48px; }
  .filter-date { flex-basis: 100%; }
  .date-pair { flex: 1; }
  input[type="date"] { width: 100%; }
  .date-pair input { min-width: 0; }
  .select-wrap { flex: 1; }
  .select-wrap select { width: 100%; }
  .filter-current { width: auto; flex: 1 1 auto; margin-left: 0; padding: 7px 0 0; border-left: 0; border-top: 1px solid rgba(121, 165, 235, .08); }
  #resetFilters { margin-top: 7px; flex: 0 0 38px; }
  .hero-layout { margin-top: 14px; }
  .hero-panel { min-height: 480px; }
  .scene-stage { min-height: 330px; margin: 0 8px; }
  .scene-foot { flex-wrap: wrap; gap: 8px 14px; padding: 11px 16px 14px; }
  .scene-coverage { border-left: 0; padding-left: 0; margin-left: 0; width: 100%; }
  .kpi-grid { gap: 9px; }
  .kpi-card { padding: 12px 12px 10px; }
  .kpi-value b { font-size: 27px; }
  .span-4 { grid-column: span 12; }
  .dashboard-grid { margin-top: 14px; }
  .panel-head { padding: 18px 16px 12px; }
  .panel-head h2 { font-size: 16px; }
  .chart-summary { flex-wrap: wrap; gap: 12px 20px; padding: 0 16px; }
  .chart-summary-note { display: none; }
  .chart-summary b { font-size: 18px; }
  .trend-chart { height: 300px; margin: 2px 6px 8px; }
  .dept-list { padding: 0 16px 4px; }
  .hbar-box { padding: 0 16px 14px; }
  .donut-box { padding: 0 14px 14px; }
  .donut-layout { grid-template-columns: minmax(110px, 42%) minmax(0, 1fr); }
  .deal-list { padding: 0 10px 10px; }
  .deal-head { display: none; }
  .deal-list .deal-row { grid-template-columns: 1.15fr 1.2fr auto; gap: 7px; padding: 9px 8px; }
  .deal-list .deal-person-dept { display: none; }
  .deal-price { display: none; }
  .deal-profit { font-size: 10px; }
  .vehicle-rings { gap: 14px; }
  .page-foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  .toast-root { right: 12px; bottom: 12px; left: 12px; }
  .toast { max-width: none; }
}

@media (max-width: 520px) {
  .main { padding-left: 12px; padding-right: 12px; }
  .brand-text { display: none; }
  .brand { margin-right: 2px; }
  .topbar h1 { font-size: 27px; }
  .eyebrow { font-size: 8px; gap: 6px; }
  .eyebrow-line { width: 12px; }
  .topbar-actions { padding-top: 9px; }
  .topbar .btn-ghost { padding: 0 9px; }
  .topbar .btn-ghost svg { display: none; }
  .scene-legend { gap: 4px; }
  .legend-btn { padding: 0 7px; }
  .hero-head { flex-direction: column; gap: 8px; }
  .kpi-value b { font-size: 24px; }
  .kpi-icon { width: 21px; height: 21px; flex-basis: 21px; }
  .kpi-icon svg { width: 12px; height: 12px; }
  .kpi-label { font-size: 9.5px; }
  .kpi-foot > span { font-size: 7.5px; }
  .spark { width: 54px; flex-basis: 54px; }
  .chart-summary { gap: 10px 16px; }
  .chart-summary b { font-size: 16px; }
  .panel-tools .chart-legend { display: none; }
  .donut-layout { grid-template-columns: 1fr; }
  .donut-chart { max-width: 156px; }
  .donut-legend { margin-top: 4px; }
  .vehicle-rings { flex-direction: column; align-items: flex-start; }
  .vehicle-ring { width: 92px; height: 92px; flex-basis: 92px; }
  .vehicle-legend { width: 100%; }
  .page-foot { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .ambient-orb { animation: none; }
}
