/* Shared foundation for standalone Auraudit pages. */
:root {
  color-scheme: light;
  --text-main: #111827;
  --text-muted: #5f6f86;
  --primary: #5f9dae;
  --primary-dark: #4a7f90;
  --accent: #2563eb;
  --accent-warm: #f59e0b;
  --accent-rose: #e11d48;
  --ui-blue: #0071e3;
  --ui-ink: #1d1d1f;
  --ui-muted: #6e6e73;
  --ui-bg: #f6f8fa;
  --ui-surface: #fff;
  --ui-surface-soft: #f2f2f4;
  --ui-line: rgba(29, 29, 31, 0.1);
  --ui-shadow: 0 2px 14px rgba(0, 0, 0, 0.045);
  --ui-shadow-hover: 0 24px 58px rgba(0, 0, 0, 0.1);
  --bg-body:
    linear-gradient(115deg, rgba(37, 99, 235, 0.10), transparent 36%),
    linear-gradient(245deg, rgba(15, 118, 110, 0.16), transparent 38%),
    linear-gradient(0deg, rgba(245, 158, 11, 0.08), transparent 34%),
    linear-gradient(135deg, #f8fbff 0%, #edf9f7 52%, #fffaf3 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--text-main);
  background: var(--bg-body);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}
button, input, select, textarea { font: inherit; }
.site-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.glass-card { background: var(--ui-surface); border: 1px solid transparent; border-radius: 28px; box-shadow: var(--ui-shadow); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 700; font-family: inherit; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); box-shadow: 0 12px 28px rgba(15, 118, 110, .28); }
.btn-primary:hover { box-shadow: 0 16px 34px rgba(15, 118, 110, .36); }
.btn-ghost { color: var(--ui-ink); background: var(--ui-surface); border-color: var(--ui-line); box-shadow: 0 4px 14px rgba(0, 0, 0, .04); }
.btn-ghost:hover { border-color: rgba(0, 113, 227, .35); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.user-avatar { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: 14px; font-weight: 760; }
.user-avatar-sm { width: 28px; height: 28px; font-size: 12px; }
