/* The ShuttleSCP user guide: plain pages, readable offline in any browser. Colours and
   type follow dsalvado.ca (warm surfaces, charcoal ink, Luna blue for what can be
   clicked, brick red only for a warning); the fonts fall back to the system's when
   Inter is not installed, since the pages download nothing. */
:root {
  --surface: #f7f5ee;
  --panel: #ece9d8;
  --ink: #312d2a;
  --muted: #625c55;
  --hairline: #cfc9b6;
  --accent: #245edc;
  --signal: #b83d2c;
  --mist: #d6e3f8;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #1b1917;
    --panel: #26231f;
    --ink: #f1eee6;
    --muted: #b0aaa0;
    --hairline: #3a3531;
    --accent: #6e9bff;
    --signal: #f08a78;
    --mist: #22304f;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font: 14.5px/1.5 Inter, system-ui, -apple-system, "Segoe UI", Ubuntu, sans-serif;
  color: var(--ink);
  background: var(--surface);
}
.page { display: flex; min-height: 100vh; }
nav {
  flex: 0 0 13rem;
  padding: 1.25rem 1rem;
  background: var(--panel);
  border-right: 1px solid var(--hairline);
  font-size: 13.5px;
}
nav .title {
  font: 600 14px/1.3 "Inter Tight", Inter, system-ui, sans-serif;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}
nav ul { list-style: none; padding: 0; margin: 0; }
nav li { margin: 0.2rem 0; }
nav a { color: var(--ink); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }
main { flex: 1; max-width: calc(62ch + 3rem); padding: 1.25rem 1.5rem 3rem; }
h1, h2, h3 {
  font-family: "Inter Tight", Inter, system-ui, sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
h1 { font-size: 1.45rem; font-weight: 600; margin: 0 0 0.75rem; }
h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--hairline);
}
h3 { font-size: 0.98rem; font-weight: 600; margin: 1.1rem 0 0.4rem; }
p, ul, ol, table { margin: 0.5rem 0; }
li { margin: 0.15rem 0; }
a { color: var(--accent); }
code, kbd {
  font: 0.88em "JetBrains Mono", ui-monospace, "Cascadia Mono", Menlo, monospace;
  padding: 0.05em 0.3em;
  background: var(--mist);
  border-radius: 4px;
}
.ui { font-weight: 600; }
.note, .warn {
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  margin: 0.75rem 0;
}
.note { background: var(--mist); }
.warn { background: var(--panel); border-left: 3px solid var(--signal); }
table { border-collapse: collapse; width: 100%; font-size: 0.95em; }
th, td {
  text-align: left;
  padding: 0.3rem 0.5rem;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}
th { color: var(--muted); font-weight: 600; }
figure { margin: 1rem 0; }
figure img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--hairline);
  border-radius: 8px;
}
figcaption {
  color: var(--muted);
  font: 12px/1.4 "JetBrains Mono", ui-monospace, Menlo, monospace;
  margin-top: 0.3rem;
}
@media (max-width: 40rem) {
  .page { display: block; }
  nav { border-right: 0; border-bottom: 1px solid var(--hairline); }
}
