/* Ataroo's shared visual foundation. Both HTML entry points load this file. */
@font-face {
  font-family: Manrope;
  src: url("./vendor/manrope/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --at-mist: #faf8fb;
  --at-sidebar: #fcfbfd;
  --at-rust: #b4541b;
  --at-green: #2f7a55;
  --at-card-radius: 12px;
  --at-button-radius: 9px;
  --at-font: Manrope, system-ui, sans-serif;
  --at-paper: #faf8fb;
  --at-ivory: #ffffff;
  --at-sand: #f5f2f7;
  --at-line: #efebf2;
  --at-card-border: #eae5ee;
  --at-ink: #332c3b;
  --at-muted: #645a62;
  --at-accent: #574466;
  --at-accent-strong: #493655;
  --at-dark: #30243e;
  --at-on-dark: #fff9ee;
  --at-muted-on-dark: #dcd0e3;
  --at-lavender: #e9e0ed;
  --at-lilac: #bca5cf;
  --at-citron: #e9ef8d;
  --at-butter: #f4e2aa;
  --at-apricot: #f2d7c3;
  --at-gold: #c9a227;
  --at-error: #b42318;
  --at-shadow: none;
  --at-shadow-action: none;
  --at-ease: cubic-bezier(.2, .65, .3, 1);

  --tblr-font-sans-serif: var(--at-font);
  --tblr-body-font-family: var(--at-font);
  --tblr-body-color: var(--at-ink);
  --tblr-body-bg: var(--at-paper);
  --tblr-heading-color: var(--at-ink);
  --tblr-secondary-color: var(--at-muted);
  --tblr-primary: var(--at-accent);
  --tblr-primary-rgb: 87, 68, 102;
  --tblr-link-color: var(--at-accent);
  --tblr-link-hover-color: var(--at-accent-strong);
  --tblr-border-color: var(--at-line);
  --tblr-border-radius: var(--at-button-radius);
  --tblr-border-radius-sm: var(--at-button-radius);
  --tblr-border-radius-lg: var(--at-card-radius);
}

.brand-mark {
  box-sizing: border-box;
  display: inline-grid;
  flex: none;
  place-items: center;
  width: var(--mark-width, 72px);
  height: var(--mark-height, 48px);
  padding: 4px;
  border: 1px solid var(--at-card-border);
  border-radius: var(--at-button-radius);
  background: white;
  color: var(--at-accent);
  font: 750 13px/1 var(--at-font);
}
.brand-mark img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; }

::selection {
  color: var(--at-ink);
  background: var(--at-lavender);
}

:where(body, button, input, select, textarea) {
  font-family: var(--at-font);
}

:where(input, select, textarea) {
  accent-color: var(--at-accent);
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--at-accent);
  outline-offset: 4px;
}

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

.at-account { display: flex; align-items: center; gap: 8px; position: relative; font: 600 13px var(--at-font); }
.at-account :is(button, a) { text-decoration: none; white-space: nowrap; color: var(--at-ink); background: var(--at-ivory); border: 1px solid var(--at-card-border); padding: 8px 10px; cursor: pointer; font: inherit; }
.at-account :is(button, a):is(:focus-visible, :hover) { border-color: var(--at-accent); }
.at-account-name { max-width: 12em; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.at-account-error { position: absolute; z-index: 4; top: 100%; right: 0; width: min(250px, 80vw); padding: 8px; color: var(--at-error); background: var(--at-ivory); border: 1px solid var(--at-line); }
@media (max-width: 720px) {
  .at-account { flex-direction: column; gap: 0; font-size: 12px; }
  .at-account-name { max-width: 10em; }
}

.research-notice {
  margin: 8px 0;
  color: var(--at-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}
.rc-dock .research-notice { text-align: center; }

.fc-wordmark { display: block; width: 164px; max-width: 100%; height: auto; }
@media (max-width: 600px) {
  .fc-wordmark { width: 135px; }
}
