.client-body {
  color-scheme: light;
  color: #25342a;
  background: #f5f7f2;
  --ink: #25342a;
  --muted: #526658;
  --line: #d8e2d6;
  --white: #fff;
  --surface: #edf3e9;
  --accent: #32623f;
  --accent-hover: #214b2f;
  --soft: #e6f0e3;
  --error: #a03429;
  scrollbar-color: #788f7b #edf3e9;
}
.client-body ::selection { background: #ddefd8; color: #24382b; }
.client-body :focus-visible { outline-color: #416e4b; }
.client-body .primary { background: #32623f; color: #fff; }
.client-body .primary:hover:not(:disabled) { background: #214b2f; }
.client-body .secondary { background: #fff; color: #32593b; border-color: #9caf9a; }
.client-body :is(.quiet,.secondary):hover:not(:disabled) { background: #e6f0e3; color: #243b2a; }
.client-body :is(input,select,textarea) { color: #24382a; background-color: #fff; border-color: #788d7a; }
.client-body :is(input,textarea)::placeholder { color: #596d5d; }
.client-body select {
  background-image: linear-gradient(45deg, transparent 50%, #526658 50%), linear-gradient(135deg, #526658 50%, transparent 50%);
}
.client-body .login-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.client-body .login-story {
  background: #e8f1e5;
  color: #253c2a;
  justify-content: center;
  gap: 1.35rem;
  padding-inline: max(1.5rem, calc((100vw - 74rem) / 2));
}
.client-body .login-story::after { content: none; }
.client-body .login-story .brand { margin-bottom: 0; }
.client-body .login-art { position: static; order: -1; z-index: auto; width: min(35%, 9rem); height: auto; align-self: flex-start; border-radius: 50%; }
.client-body .login-story .brand { order: -2; }
.client-body .story-inner h1 { font-size: clamp(2.4rem, 4.8vw, 4.25rem); }
.client-body .story-inner p { max-width: 38ch; }
.client-body .story-inner p, .client-body .conversation-example span { color: #496652; }
.client-body .conversation-example, .client-body .conversation-example div { border-color: #b5c9b6; }
.client-body .conversation-example div:nth-child(2) strong { color: #2e653e; }
.client-body :is(.login-panel,.consent-layout) { background: #fbfcfa; }
.client-body .login-content { width: min(100%, 25.5rem); }
.client-body .login-content h2 { margin-top: 0; font-size: 2.15rem; }
.client-body .login-content > p { margin-top: .5rem; }
.client-body .login-content form { margin-top: .9rem; }
.client-body .login-content form > button { width: 100%; }
.google-method { margin-top: 1.35rem; }
.google-button {
  display: grid;
  grid-template-columns: 18px 1fr 18px;
  align-items: center;
  gap: .65rem;
  width: 100%;
  min-height: 44px;
  padding: .55rem .75rem;
  background: #fff;
  border: 1px solid #747775;
  border-radius: 4px;
  color: #1f1f1f;
  font: 500 .875rem/1.4 Roboto, Arial, sans-serif;
}
.google-button:hover:not(:disabled) { background: #f3f6fc; }
.google-button:disabled { opacity: .62; }
.google-button img { display: block; }
.google-button span { justify-self: center; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-block: 1rem .3rem;
  font-size: .875rem;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; border-top: 1px solid #d0dccf; }
.auth-message { font-size: .9rem; }
.auth-message:not(:empty) { margin-top: .65rem; }
.auth-message[data-error] { color: var(--error); }
#auth-switch { display: flex; align-items: center; gap: .24rem; margin-top: .7rem; color: var(--muted); font-size: .94rem; }
#auth-toggle { min-height: 2.4rem; padding: .25rem .4rem; color: var(--accent); text-decoration: underline; text-underline-offset: .16em; }
#account-visibility { max-width: 47ch; font-size: .85rem; }
.client-body .topbar { background: #fbfcfa; }
.client-body .workspace-nav { background: #edf3e9; }
.client-body .workspace-nav button:hover, .client-body .workspace-nav button[aria-current='page'] {
  color: #2a5034; background: #dbead8; border-color: #c7d9c4;
}
.client-body .notice { background: #e8f1e4; color: #35563c; border-color: #bccfb9; }
.client-body .segments { background: #edf3e9; }
.client-body .segments button[aria-pressed='true'] { background: #fff; color: #32623f; border-color: #a5bca6; }
.client-body :is(.connect-card,.prompt-card,.atlas-board,.atlas-inspector) { background: #fff; border-color: #cfddcf; }
.client-body .prompt-card p, .client-body .copy-row code { color: #496653; }
.client-body .copy-row code, .client-body blockquote { background: #f1f6ef; border-color: #cad9c9; }
.client-body .atlas-toolbar, .client-body .atlas-bottom { border-color: #d7e4d6; }
.client-body .atlas-inspector h2 { color: #294732; }
.client-body .atlas-legend, .client-body .atlas-page, .client-body .live-state { color: #47604c; }
.client-body .live-state[data-state='ready'] span { background: #45845a; }
.client-body .atlas-legend span::before { border: 1px solid #657964; }
.client-body .node-list { border-color: #d7e4d6; }
.client-body .node-list summary { color: #32593b; }
.client-body .node-list button[aria-pressed='true'] { color: #294732; background: #deecdb; }
.client-body .atlas-stage { background: radial-gradient(ellipse at center, #1e3821, #101d13 51%, #0d1710 90%); }
.client-body .atlas-stage :focus-visible { outline-color: #cafc93; }
.client-body .atlas-zoom .quiet:hover:not(:disabled) { background: #284121; color: #f1faed; }
.client-body .atlas-next { margin-top: 1rem; }
.connection-pending { max-width: 43rem; padding: 1.35rem; }
.connection-pending p { max-width: 56ch; margin-top: .5rem; }
.connection-pending button { margin-top: .9rem; }
.dashboard-memory-layout {
  display: grid;
  grid-template-columns: minmax(0, 36rem) minmax(0, 22rem);
  gap: 1rem;
  align-items: start;
}
.memory-preview {
  min-width: 0;
  padding: .85rem;
  border: 1px solid #cfddcf;
  border-radius: .9rem;
  background: #fff;
}
.memory-preview-header { display: flex; justify-content: space-between; align-items: center; gap: .65rem; margin-bottom: .75rem; flex-wrap: wrap; }
.memory-preview-header h2 { font-size: 1.15rem; }
.memory-preview-header p { margin-top: .15rem; font-size: .85rem; }
.memory-preview-header button { min-height: 2.45rem; font-size: .88rem; }
.atlas-preview :is(.atlas-toolbar, .atlas-zoom, .atlas-orbit-hint, .atlas-bottom, .atlas-inspector) { display: none; }
.atlas-preview .atlas-board { border: 0; border-radius: 0; }
.client-body .atlas-preview .atlas-stage { height: 13rem; border-radius: .6rem; cursor: default; touch-action: auto; }
.atlas-preview .atlas-root { width: 2.95rem; height: 2.95rem; }
.atlas-preview .atlas-group { font-size: .65rem; padding: .17rem .34rem; }
.atlas-preview .atlas-point { width: 1.55rem; height: 1.55rem; }
.atlas-preview .atlas-empty { bottom: .65rem; width: fit-content; padding: .35rem .6rem; font-size: .8rem; }
.atlas-preview .atlas-message:not(:empty) { padding: .5rem .15rem 0; }
#full-memory-graph { display: grid; grid-template-columns: minmax(0, 1fr) minmax(13.5rem, 16rem); gap: .85rem; align-items: start; }
.memory-view-switch { margin-block: 0 .85rem; }
#memory-panel .editor, #memory-feedback:not(:empty) { margin-bottom: .85rem; }
.first-memory {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid #cadbc8;
  border-radius: .95rem;
  background: #fff;
}
.first-memory-content h2 { font-size: 1.45rem; }
.first-memory-content p { max-width: 45ch; margin-top: .48rem; }
.first-memory .button-row { flex-wrap: wrap; gap: .55rem; }
.first-memory-example {
  display: flex;
  align-items: center;
  gap: .85rem;
  align-self: stretch;
  padding: 1rem;
  background: #edf4eb;
  border-radius: .78rem;
}
.first-memory-example img { flex: 0 0 auto; border-radius: 50%; }
.first-memory-example strong { color: #31553a; font-size: .88rem; }
.first-memory-example p { margin-top: .2rem; }
@media (max-width: 76rem) {
  #full-memory-graph { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 61rem) {
  .dashboard-memory-layout { grid-template-columns: minmax(0, 36rem); }
}
@media (max-width: 46rem) {
  .client-body .login-layout { grid-template-columns: 1fr; }
  .client-body .login-story { gap: .65rem; }
  .client-body .login-art { width: 3.8rem; align-self: flex-end; margin-top: -2.85rem; }
  .client-body .story-inner h1 { font-size: 2.1rem; }
  .client-body .login-content h2 { font-size: 1.78rem; }
  .first-memory-content h2 { font-size: 1.43rem; }
  .first-memory-example { gap: .65rem; }
  .client-body .atlas-preview .atlas-stage { height: 11.5rem; }
}
