/* Shared by both host directories (M9-5); byte-identical in each. System
   fonts only, no third-party resource. Sizes are in rem so text scales; side
   padding is in px so larger text keeps its line width and words stay whole. */
:root {
  --bg: #fbf7f2;
  --surface: #ffffff;
  --text: #2b2420;
  --muted: #6b5f57;
  --accent: #b5532a;
  --accent-text: #ffffff;
  --line: #e6ddd3;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1815;
    --surface: #26211d;
    --text: #f3ece5;
    --muted: #b9aca1;
    --accent: #e58a5c;
    --accent-text: #1c1815;
    --line: #3a332d;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}
.brand {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1rem 16px 0;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--accent);
}
main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0.5rem 16px 2.5rem;
  overflow-wrap: anywhere;
}
h1 { font-size: 1.75rem; line-height: 1.2; margin: 0.75rem 0 0.25rem; }
h2 { font-size: 1.125rem; margin: 1.5rem 0 0.5rem; }
h3 { font-size: 1rem; margin: 1rem 0 0.25rem; color: var(--muted); }
ul, ol { margin: 0; padding-left: 1.25rem; }
li { margin: 0.25rem 0; }
.meta, .optional, .context, .attribution, .code-line, .install-line, .facts-note { color: var(--muted); }
.notice { font-size: 1.125rem; margin: 1.5rem 0 1rem; }
.attribution { margin-top: 1.5rem; padding-top: 0.75rem; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.attribution p { margin: 0.25rem 0; }
a { color: var(--accent); }
.actions {
  margin-top: 2rem;
  padding: 1rem 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}
.button {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.75rem 16px;
  border-radius: 0.625rem;
  font: inherit;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button.primary { background: var(--accent); color: var(--accent-text); border: 1px solid var(--accent); }
.button.secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); margin-top: 1rem; }
main > .button { margin-top: 1.5rem; }
.code {
  margin: 1rem 0 0.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-align: center;
}
.code-line, .install-line { margin: 0.25rem 0; font-size: 0.9375rem; text-align: center; }
.copy-status { margin: 0.5rem 0 0; min-height: 1.5rem; text-align: center; font-weight: 600; }
.copy-status:empty { display: none; }
