:root {
  color-scheme: light;
  --raps-charcoal: #142222;
  --raps-ink: #1c2524;
  --raps-red: #f04b50;
  --raps-green: #a2ef69;
  --raps-link: #18551c;
  --raps-panel: #eeeadd;
  --raps-line: #cbd3cd;
}
body { background: #dce2dc; color: var(--raps-ink); }
header {
  background: repeating-linear-gradient(0deg, #ffffff05 0 1px, transparent 1px 5px), var(--raps-charcoal);
  color: #fcf3d8;
  border-bottom: 3px solid #62a642;
}
header p, header .intro p { color: #e0e8e2; }
header nav a, header label, header :is(.rapsmx-language, .site-language) a { color: var(--raps-green); }
header nav strong a { color: #ff777a; }
main, main.shell, main.wrap { background: #fcf8ec; }
main a, footer a { color: var(--raps-link); }
main :is(section, article, hr) { border-color: var(--raps-line); }
main :is(.options article, .reference, .chip, .notice, pre) { background: var(--raps-panel); }
main :is(.download, .chat-actions .download, a.button) {
  background: #d9f5ca; color: #17351b; border: 1px solid #719166;
  border-bottom-width: 3px;
}
main :is(.download, a.button):hover { background: #c4ecae; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid #bd3e48; outline-offset: 4px; }
.rapsmx-masthead { margin: 0 0 1.4rem; }
.rapsmx-banner { display: block; width: 100%; height: auto; border-radius: .5rem .5rem 0 0; }
.rapsmx-masthead figcaption {
  background: #0c1717;
  border-top: 2px solid var(--raps-red);
  border-radius: 0 0 .5rem .5rem;
  padding: .45rem .75rem;
  text-align: center;
}
.rapsmx-masthead a { color: var(--raps-green); font: 600 .96rem/1.5 ui-monospace, monospace; }
.aimx-guide-logo { display: block; width: clamp(70px, 13vw, 118px); height: auto; margin-bottom: .8rem; }
header > :is(.wrap, .shell) { position: relative; }
header > .wrap { display: flex; flex-direction: column; }
header > .wrap > .rapsmx-language {
  order: -1;
  align-self: flex-end;
  margin: 0 0 .8rem;
}
header > .shell {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  flex-wrap: wrap;
}
header > .shell > .rapsmx-language { margin: 0 0 0 auto; }
