/* ---------- Design tokens ---------- */

/* The app is always dark, whatever the system theme. */
:root {
  --brand: #2bb3a8;
  --brand-strong: #4cc9bf;
  --brand-soft: #143533;
  --on-brand: #04201e;

  --bg: #12161c;
  --surface: #1a2028;
  --surface-muted: #212833;
  --border: #2c3542;
  --text: #e6eaef;
  --text-muted: #9aa6b4;

  --sidebar-bg: #0c1117;
  --sidebar-hover: #161e28;
  --sidebar-active: #1f2a37;
  --sidebar-text: #dde4ec;
  --sidebar-muted: #8494a7;

  --user-bubble: #1d5e5a;
  --on-user-bubble: #eef8f7;

  --error-bg: #2d1a1c;
  --error-border: #5a2b2f;
  --error-text: #f2b8b8;

  --excel: #3fae74;
  --excel-soft: #173225;

  --focus: #4cc9bf;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.25);

  --radius: 12px;
  --sidebar-width: 272px;
  --content-width: 780px;

  color-scheme: dark;
}

/* ---------- Base ---------- */

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

svg {
  display: block;
}

[hidden] {
  display: none !important;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ---------- Login ---------- */

.login {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 24px 16px;
}

.login__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 360px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.login__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  text-align: center;
}

.login__brand .welcome__mark {
  width: 56px;
  height: 56px;
  margin-bottom: 6px;
}

.login__title {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
}

.login__title strong {
  color: var(--brand);
}

.login__subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.login__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.login__field input {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 400;
}

.login__field input:focus {
  border-color: var(--focus);
  outline: none;
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.login__error {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--error-border);
  border-radius: 8px;
  background: var(--error-bg);
  color: var(--error-text);
  font-size: 13px;
}

.login__submit {
  padding: 11px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 600;
  transition: background 0.15s, opacity 0.15s;
}

.login__submit:hover:not(:disabled) {
  background: var(--brand-strong);
}

.login__submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* ---------- Layout ---------- */

.app {
  display: flex;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

/* ---------- Sidebar ---------- */

.sidebar {
  display: flex;
  flex-direction: column;
  flex: 0 0 var(--sidebar-width);
  width: var(--sidebar-width);
  padding: 16px 12px;
  background: var(--sidebar-bg);
  color: var(--sidebar-text);
}

.sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* The logo is taller than wide: keep its shape inside square boxes. */
.brand__mark,
.welcome__mark {
  display: block;
  object-fit: contain;
}

.brand__mark {
  width: 30px;
  height: 30px;
}

.brand__name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand__name strong {
  color: #5fd3c8;
  font-weight: 700;
}

.sidebar__close {
  display: none;
  color: var(--sidebar-muted);
}

.sidebar__close:hover {
  background: var(--sidebar-hover);
  color: var(--sidebar-text);
}

.new-chat-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--sidebar-text);
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s;
}

.new-chat-button:hover {
  background: var(--sidebar-hover);
  border-color: rgba(255, 255, 255, 0.24);
}

.new-chat-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.conversations {
  flex: 1;
  min-height: 0;
  margin-top: 22px;
  overflow-y: auto;
}

.conversations__label {
  margin: 0 8px 8px;
  color: var(--sidebar-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.conversations__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.conversation {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--sidebar-text);
  font-size: 14px;
  text-align: left;
}

.conversation:hover {
  background: var(--sidebar-hover);
}

.conversation.is-active {
  background: var(--sidebar-active);
  box-shadow: inset 3px 0 0 #5fd3c8;
}

.conversation__title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation__pending {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5fd3c8;
  animation: pulse 1.2s ease-in-out infinite;
}

.conversations__empty {
  margin: 4px 8px;
  color: var(--sidebar-muted);
  font-size: 13px;
}

.sidebar__footer {
  margin: 12px 8px 0;
  color: var(--sidebar-muted);
  font-size: 12px;
}

.backdrop {
  display: none;
}

/* ---------- Chat area ---------- */

.chat {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.topbar__menu {
  display: none;
  margin-left: -8px;
  color: var(--text-muted);
}

.topbar__menu:hover {
  background: var(--surface-muted);
}

.topbar__title {
  margin: 0;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar__user {
  display: flex;
  flex: none;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.topbar__username {
  max-width: 160px;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar__logout {
  margin-right: -8px;
  color: var(--text-muted);
}

.topbar__logout:hover {
  background: var(--surface-muted);
  color: var(--text);
}

.messages {
  flex: 1;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.messages.is-empty {
  display: grid;
  place-items: center;
}

.messages__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 28px 24px 12px;
}

/* ---------- Welcome ---------- */

.welcome {
  max-width: 620px;
  padding: 32px 24px;
  text-align: center;
}

.welcome__mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
}

.welcome__title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.welcome__text {
  margin: 0 auto 28px;
  max-width: 460px;
  color: var(--text-muted);
}

.welcome__suggestions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.suggestion {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  text-align: left;
  box-shadow: var(--shadow);
  transition: border-color 0.15s, transform 0.15s;
}

.suggestion:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

/* Icon of the suggestions that answer with a chart or an Excel file. */
.suggestion__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
}

.suggestion__icon--excel {
  background: var(--excel-soft);
  color: var(--excel);
}

.suggestion__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.suggestion__icon .bar {
  fill: currentColor;
  stroke: none;
}

/* ---------- Messages ---------- */

.message {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.message__avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--brand);
}

.message__avatar svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

/* The logo is already teal: no tile behind it. */
.message__avatar--brand {
  background: none;
}

.message__avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.message__body {
  min-width: 0;
  overflow-wrap: anywhere;
}

.message--user {
  justify-content: flex-end;
}

.message--user .message__body {
  max-width: 78%;
  padding: 10px 15px;
  border-radius: 16px 16px 4px 16px;
  background: var(--user-bubble);
  color: var(--on-user-bubble);
  white-space: pre-wrap;
}

.message--assistant .message__body {
  flex: 1;
  padding: 3px 0 0;
}

.message--error .message__avatar {
  background: var(--error-text);
}

.message--error .message__body {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--error-border);
  border-radius: var(--radius);
  background: var(--error-bg);
  color: var(--error-text);
}

/* Typing indicator */

.typing {
  display: inline-flex;
  gap: 5px;
  padding: 9px 0;
}

.typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typing 1.2s ease-in-out infinite;
}

.typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing {
  0%, 60%, 100% { opacity: 0.25; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.typing-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.typing-line__label {
  color: var(--text-muted);
  font-size: 14px;
}

/* Agent steps: the tools used while the answer is prepared */

.steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 2px 0 4px;
  list-style: none;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14px;
}

.step--new {
  animation: step-in 0.25s ease-out;
}

.step__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface-muted);
  color: var(--brand);
}

.step__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step--running {
  color: var(--text);
}

.step--running .step__icon {
  background: var(--brand-soft);
}

.step--running.step--export_excel .step__icon {
  background: var(--excel-soft);
  color: var(--excel);
}

.step--failed .step__icon {
  background: var(--error-bg);
  color: var(--error-text);
}

/* Running label: a light sweeps across the text. */
.step--running .step__label {
  background: linear-gradient(
    90deg,
    var(--text) 0%,
    var(--text) 35%,
    var(--text-muted) 50%,
    var(--text) 65%,
    var(--text) 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 1.8s linear infinite;
}

/* Database: the cylinder breathes. */
.step--running.step--execute_sql svg {
  animation: pulse 1.2s ease-in-out infinite;
}

/* Excel: the cells fill in one after another. */
.step__icon .cell,
.file-card__icon .cell {
  fill: currentColor;
  stroke: none;
}

.step--running .cell {
  opacity: 0;
  animation: cell-fill 1.6s ease-in-out infinite;
}

.step--running .cell:nth-of-type(3) { animation-delay: 0.2s; }
.step--running .cell:nth-of-type(4) { animation-delay: 0.4s; }
.step--running .cell:nth-of-type(5) { animation-delay: 0.6s; }

/* Chart: the bars grow and shrink. */
.step__icon .bar {
  fill: currentColor;
  stroke: none;
  transform-box: fill-box;
  transform-origin: bottom;
}

.step--running .bar {
  animation: bar-grow 1.1s ease-in-out infinite;
}

.step--running .bar:nth-of-type(2) { animation-delay: 0.15s; }
.step--running .bar:nth-of-type(3) { animation-delay: 0.3s; }

@keyframes step-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

@keyframes shimmer {
  from { background-position: 100% 0; }
  to { background-position: -150% 0; }
}

@keyframes cell-fill {
  0%, 15% { opacity: 0; }
  35%, 75% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes bar-grow {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}

/* Excel file card under an answer */

.file-card {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 480px;
  margin: 12px 0 0;
  padding: 10px 10px 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.file-card__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--excel);
  color: #ffffff;
}

.file-card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.file-card__info {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

/* Up to two lines: on a phone the name has little room. */
.file-card__name {
  display: -webkit-box;
  overflow: hidden;
  font-weight: 600;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.file-card__meta {
  color: var(--text-muted);
  font-size: 13px;
}

.file-card__meta.is-error {
  color: var(--error-text);
}

.file-card__download {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s, opacity 0.15s;
}

.file-card__download:hover:not(:disabled) {
  background: var(--brand-strong);
}

.file-card__download:disabled {
  opacity: 0.6;
  cursor: progress;
}

.file-card__download svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Formatted assistant text ---------- */

.prose > :first-child {
  margin-top: 0;
}

.prose > :last-child {
  margin-bottom: 0;
}

.prose p,
.prose ul,
.prose ol,
.prose pre,
.prose .table-wrap {
  margin: 0 0 12px;
}

.prose .chart {
  display: block;
  max-width: 100%;
  margin: 4px 0;
}

.prose .chart img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  /* The PNG has a white background, also in dark mode. */
  background: #ffffff;
  cursor: zoom-in;
  transition: box-shadow 0.15s;
}

.prose .chart:hover img {
  box-shadow: var(--shadow);
}

/* ---------- Chart zoom ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  padding: 56px 16px 16px;
  /* A chart taller than the window scrolls, without scrolling the page. */
  overflow: auto;
  overscroll-behavior: contain;
  background: rgba(10, 16, 24, 0.82);
  cursor: zoom-out;
  animation: lightbox-in 0.15s ease;
}

.lightbox__image {
  /* Auto margins center the chart and, unlike centering the flex box,
     keep its top reachable when it is taller than the window. */
  margin: auto;
  max-width: min(100%, 1400px);
  max-height: 100%;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

/* Set by app.js when fitting the whole chart in the window would make it
   too small to read (many rows): it keeps its width and scrolls instead. */
.lightbox--scroll .lightbox__image {
  max-height: none;
}

.lightbox__toolbar {
  /* Fixed: stays in place while a tall chart scrolls under it. */
  position: fixed;
  top: 10px;
  right: 12px;
  display: flex;
  gap: 4px;
  border-radius: 10px;
  background: rgba(10, 16, 24, 0.6);
}

.lightbox__button {
  color: #ffffff;
  cursor: pointer;
}

.lightbox__button:hover {
  background: rgba(255, 255, 255, 0.14);
}

@keyframes lightbox-in {
  from {
    opacity: 0;
  }
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li + li {
  margin-top: 4px;
}

.prose h3,
.prose h4 {
  margin: 18px 0 8px;
  line-height: 1.3;
}

.prose h3 {
  font-size: 17px;
}

.prose h4 {
  font-size: 15px;
}

.prose strong {
  font-weight: 600;
}

.prose hr {
  margin: 16px 0;
  border: 0;
  border-top: 1px solid var(--border);
}

.prose code {
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--surface-muted);
  font-family: Consolas, "SFMono-Regular", Menlo, monospace;
  font-size: 0.9em;
}

.prose pre {
  overflow-x: auto;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-muted);
}

.prose pre code {
  padding: 0;
  background: none;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.prose th,
.prose td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}

.prose th {
  background: var(--surface-muted);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.prose tbody tr:last-child td {
  border-bottom: 0;
}

.prose .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ---------- Composer ---------- */

.composer-area {
  padding: 12px 24px 14px;
  background: linear-gradient(to bottom, transparent, var(--bg) 18px);
}

.composer {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color 0.15s;
}

.composer:focus-within {
  border-color: var(--focus);
}

.composer.is-busy {
  opacity: 0.75;
}

.composer__input {
  flex: 1;
  min-height: 38px;
  max-height: 200px;
  padding: 8px 0;
  border: 0;
  outline: none;
  background: transparent;
  resize: none;
  line-height: 1.45;
}

.composer__input::placeholder {
  color: var(--text-muted);
}

.composer__input:disabled {
  cursor: not-allowed;
}

.composer__send {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: var(--on-brand);
  transition: background 0.15s, opacity 0.15s;
}

.composer__send:hover:not(:disabled) {
  background: var(--brand-strong);
}

.composer__send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.composer__send svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.composer-area__note {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
}

/* ---------- Mobile ---------- */

@media (max-width: 860px) {
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 20;
    width: min(var(--sidebar-width), 86vw);
    transform: translateX(-100%);
    transition: transform 0.2s ease;
  }

  .sidebar.is-open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
  }

  .sidebar__close,
  .topbar__menu {
    display: inline-grid;
  }

  .backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 10;
    background: rgba(10, 16, 24, 0.45);
  }

  .topbar {
    padding: 0 16px;
  }

  .messages__list {
    padding: 20px 16px 8px;
  }

  .message--user .message__body {
    max-width: 88%;
  }

  .composer-area {
    padding: 10px 16px 12px;
  }

  /* 16px keeps iOS from zooming into the input. */
  .login__field input,
  .composer__input {
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  .welcome__title {
    font-size: 21px;
  }

  .welcome__suggestions {
    grid-template-columns: 1fr;
  }

  .message__avatar {
    display: none;
  }

  .topbar__username {
    display: none;
  }
}

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