/* Shared frosted-glass tone. Broad, fading gradients keep the background soft. */
:root {
  --bg: #DFEDF5;
  --surface: rgba(255, 255, 255, .64);
  --surface-soft: rgba(255, 255, 255, .58);
  --surface-raised: rgba(255, 255, 255, .78);
  --surface-fixed: rgba(255, 255, 255, .72);
  --surface-sticky: rgba(244, 250, 253, .96);
  --hover: rgba(255, 255, 255, .82);
  --press: rgba(224, 237, 246, .85);
  --line: rgba(211, 227, 238, .64);
  --line-2: rgba(167, 191, 209, .64);
  --surface-line: rgba(255, 255, 255, .74);
  --surface-shadow: 0 4px 24px rgba(44, 76, 100, .045);
  --text: #172637;
  --text-2: #4D6072;
  --text-3: #4D5F72;
  --accent: #214EB1;
  --accent-bg: rgba(229, 238, 252, .92);
  --sk: rgba(213, 230, 241, .56);
  --sk-hi: rgba(255, 255, 255, .84);
  --glass-filter: blur(20px) saturate(140%);
}

html { background: var(--bg); }
body { min-height: 100vh; isolation: isolate; background: var(--bg); color: var(--text); }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48% 52% at 12% 8%, rgba(255, 255, 255, .92), transparent 100%),
    radial-gradient(ellipse 28% 48% at 58% 10%, rgba(255, 255, 255, .86), transparent 100%),
    radial-gradient(ellipse 48% 48% at 98% 28%, rgba(193, 221, 237, .7), transparent 100%),
    radial-gradient(ellipse 48% 56% at 6% 68%, rgba(190, 220, 235, .72), transparent 100%),
    radial-gradient(ellipse 32% 40% at 52% 80%, rgba(255, 255, 255, .94), transparent 100%),
    radial-gradient(ellipse 44% 48% at 98% 100%, rgba(226, 225, 242, .5), transparent 100%),
    #DFEDF5;
}

/* A high-opacity surface also works without a backdrop-filter implementation. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root {
    --surface: rgba(255, 255, 255, .92);
    --surface-soft: rgba(255, 255, 255, .92);
    --surface-raised: rgba(255, 255, 255, .96);
    --surface-fixed: rgba(255, 255, 255, .94);
    --surface-sticky: #F4FAFD;
  }
}
