:root { color-scheme: light dark; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  margin: 0;
}
main { max-width: 36rem; margin: 4rem auto; padding: 0 1.25rem; }
code { font-size: 0.95em; }
a { color: inherit; }
[hidden] { display: none !important; }
.agent h1:focus { outline: none; }
.agent label { display: block; margin: 1rem 0; }
.agent input { display: block; width: 100%; box-sizing: border-box; padding: 0.5rem; font: inherit; margin-top: 0.25rem; }
.agent button { font: inherit; padding: 0.5rem 1rem; margin: 0 0.5rem 0.5rem 0; cursor: pointer; }
.who { padding: 0.5rem 0.75rem; border: 1px solid; border-radius: 0.375rem; }
.who[data-signed-in="false"] { border-style: dashed; }
.fine { font-size: 0.875rem; }
.warning { font-weight: 600; }
.error { color: #b00020; }
@media (prefers-color-scheme: dark) { .error { color: #ff8a80; } }
body.dropping main { outline: 2px dashed; outline-offset: 0.5rem; }

/* The account fixtures (designs/minion-town-multiple-accounts.md § 2): six
   colors, each readable as a ring on the chrome in both schemes, for the
   shell's corner and menu and /adopt's Adopt into row. */
:root {
  --fx-red: #c62828;
  --fx-amber: #a86400;
  --fx-green: #2e7d32;
  --fx-teal: #00796b;
  --fx-blue: #1565c0;
  --fx-violet: #7b1fa2;
  --fx-ink: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-scheme="light"]) {
    --fx-red: #f08080; --fx-amber: #f0b54a; --fx-green: #7cc97f;
    --fx-teal: #5fc9bb; --fx-blue: #82b4f0; --fx-violet: #c99cec; --fx-ink: #1d1f24;
  }
}
:root[data-scheme="dark"] {
  --fx-red: #f08080; --fx-amber: #f0b54a; --fx-green: #7cc97f;
  --fx-teal: #5fc9bb; --fx-blue: #82b4f0; --fx-violet: #c99cec; --fx-ink: #1d1f24;
}
[data-fixture="red"] { --fixture: var(--fx-red); }
[data-fixture="amber"] { --fixture: var(--fx-amber); }
[data-fixture="green"] { --fixture: var(--fx-green); }
[data-fixture="teal"] { --fixture: var(--fx-teal); }
[data-fixture="blue"] { --fixture: var(--fx-blue); }
[data-fixture="violet"] { --fixture: var(--fx-violet); }
.swatch { display: inline-block; width: 0.8em; height: 0.8em; border-radius: 50%; background: var(--fixture, transparent); margin-right: 0.4em; vertical-align: -0.05em; }
.adopt-into { border: 0; padding: 0; margin: 1rem 0; }
.adopt-into legend { padding: 0; font-weight: 600; }
.agent .adopt-into .chip { border: 1.5px solid var(--fixture, currentColor); border-radius: 999px; background: transparent; color: inherit; padding: 0.25rem 0.75rem; }
.agent .adopt-into .chip[aria-checked="true"] { background: var(--fixture, currentColor); color: var(--fx-ink); font-weight: 600; }
