:root {
  --bg: #fafafa;
  --bg-2: #ffffff;
  --text: #1a1d23;
  --text-2: #5c6470;
  --border: #e4e7eb;
  --accent: #3b6ea5;
  --accent-text: #ffffff;
  --danger: #b54545;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.06);
}

[data-theme="dark"] {
  --bg: #14161a;
  --bg-2: #1d2026;
  --text: #e8eaed;
  --text-2: #9aa1ab;
  --border: #2b2f37;
  --accent: #6b9bd1;
  --accent-text: #14161a;
  --shadow: 0 1px 3px rgba(0,0,0,.4);
}

body {
  background: var(--bg);
  color: var(--text);
  transition: background .25s, color .25s;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity .35s;
}

.splash.hide {
  opacity: 0;
  pointer-events: none;
}

.splash svg {
  width: 72px;
  height: 72px;
  animation: splash-pulse 1.2s ease-in-out infinite;
}

@keyframes splash-pulse {
  50% { opacity: .45; transform: scale(.94); }
}

.table-scroll {
  overflow-x: auto;
  max-width: 100%;
}
