/* Shared by the Cloud portal and the independent lastAI website build. */
[data-astryx-theme="neutral"].lastai-astryx {
  --lastai-paper: light-dark(#f4f7fb, #0e1118);
  --lastai-sidebar: light-dark(#eaf0f7, #101624);
  --lastai-surface: light-dark(#fff, #171d29);
  --lastai-ink: light-dark(#17243a, #f2f6ff);
  --lastai-muted: light-dark(#50617b, #abb9ce);
  --lastai-line: light-dark(#d9e1ec, #323e52);
  --lastai-input: light-dark(#bfcde0, #495875);
  --lastai-action: light-dark(#244fb6, #b3cbff);
  --lastai-action-ink: light-dark(#fff, #15203b);
  --lastai-download-fill: #f4f7fc;
  --lastai-download-hover: #cfdef9;
  --lastai-download-active: #afc9f8;
  --lastai-download-highlight: #b5ceff;
  --lastai-download-shadow: 0 9px 24px #719fff59;
  --lastai-motion-ease: cubic-bezier(.2, .75, .3, 1);
  --lastai-download-ink: #101a2b;
  --lastai-tint: light-dark(#e7eefb, #233451);
  --lastai-danger: light-dark(#aa2d3e, #ffa0af);
  --lastai-radius: .85rem;
  --lastai-shadow: 0 12px 42px -24px #02060f80;
  --lastai-font: Arial, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --lastai-glow: radial-gradient(ellipse at 25% 0%, #416891 0%, transparent 58%),
    radial-gradient(ellipse at 90% 16%, #283b64 0%, transparent 64%),
    linear-gradient(160deg, #1a3353, #101725 62%, #0e1118 92%);
  --site-border: var(--lastai-line);
  --site-text-secondary: var(--lastai-muted);
  --site-accent: var(--lastai-action);
  --color-background-surface: var(--lastai-surface);
  --color-text-primary: var(--lastai-ink);
  --color-text-secondary: var(--lastai-muted);
  --color-accent: var(--lastai-action);
  --color-on-accent: var(--lastai-action-ink);
  --color-accent-muted: var(--lastai-tint);
  --font-family-heading: var(--lastai-font);
  --font-family-body: var(--lastai-font);
}

html.lastai-astryx { color-scheme: dark; }

.lastai-astryx .astryx-button[data-variant="primary"] {
  color: var(--lastai-action-ink);
  background: var(--lastai-action);
}
.lastai-astryx .astryx-button[data-variant="primary"]:hover:not(:disabled) {
  background: color-mix(in srgb, var(--lastai-action) 86%, var(--lastai-action-ink));
}
.lastai-astryx .astryx-button[data-variant="secondary"] {
  color: var(--lastai-ink);
  background: var(--lastai-surface);
  border-color: var(--lastai-line);
}
.lastai-astryx .astryx-button[data-variant="secondary"]:hover:not(:disabled) {
  background: var(--lastai-tint);
}
.lastai-astryx :is(a, button, input, summary, textarea, select):focus-visible {
  outline: 2px solid var(--lastai-action);
  outline-offset: 3px;
}
