/* docs.stackship.se chrome. Page bodies are styled by @stackship/docs's docs.css (.stackship-doc). */
:root {
  --foreground: #1f2328;
  --muted-foreground: #59636e;
  --border: #d1d9e0;
  --muted: #f6f8fa;
  --primary: #0969da;
  --background: #ffffff;
  --ds-accent-bg: #ddf4ff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --foreground: #e6edf3;
    --muted-foreground: #9198a1;
    --border: #3d444d;
    --muted: #151b23;
    --primary: #4493f8;
    --background: #0d1117;
    --ds-accent-bg: #121d2f;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--primary); }
.ds-skip { position: absolute; left: -9999px; }
.ds-skip:focus { left: 1rem; top: 0.5rem; z-index: 10; background: var(--background); padding: 0.5rem; }

.ds-header {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 0.75rem 1.5rem;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}
.ds-brand { font-weight: 600; color: var(--foreground); text-decoration: none; }
.ds-search { flex: 1 1 18rem; min-width: 12rem; max-width: 36rem; }
.ds-version { font-size: 0.875rem; color: var(--muted-foreground); }
.ds-version select { font: inherit; color: var(--foreground); background: var(--background); border: 1px solid var(--border); border-radius: 6px; padding: 0.125rem 0.25rem; }
.ds-lang { font-size: 0.875rem; }
.ds-banner { padding: 0.5rem 1.5rem; background: var(--ds-accent-bg); border-bottom: 1px solid var(--border); font-size: 0.875rem; }

.ds-layout { display: grid; grid-template-columns: 17rem minmax(0, 1fr); max-width: 90rem; margin: 0 auto; }
.ds-nav { padding: 1.25rem 1rem; border-right: 1px solid var(--border); font-size: 0.875rem; position: sticky; top: 3.5rem; align-self: start; max-height: calc(100vh - 3.5rem); overflow-y: auto; }
.ds-nav-title { margin: 0 0 0.5rem; font-weight: 600; color: var(--muted-foreground); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.04em; }
.ds-nav ul { list-style: none; margin: 0; padding: 0; }
.ds-nav ul ul { padding-left: 0.875rem; }
.ds-nav li { margin: 0.125rem 0; }
.ds-nav a { color: var(--foreground); text-decoration: none; display: inline-block; padding: 0.125rem 0; }
.ds-nav a:hover { color: var(--primary); }
.ds-nav a[aria-current="page"] { color: var(--primary); font-weight: 600; }
.ds-module > a { font-weight: 500; }
.ds-audience > a, .ds-audience > span { color: var(--muted-foreground); font-size: 0.8125rem; }

.ds-main { display: grid; grid-template-columns: minmax(0, 1fr) 14rem; gap: 2rem; padding: 1.5rem 2rem 4rem; }
.ds-article { min-width: 0; max-width: 48rem; }
.ds-article h1 { font-size: 1.75rem; line-height: 1.25; margin: 0.25rem 0 0.75rem; }
.ds-article .stackship-doc { font-size: 1rem; }
.ds-meta { display: flex; gap: 0.75rem; margin: 0; font-size: 0.8125rem; color: var(--muted-foreground); }
.ds-machine { border: 1px solid var(--border); border-radius: 999px; padding: 0 0.5rem; }
.ds-lede { color: var(--muted-foreground); font-size: 1.0625rem; margin-top: 0; }
.ds-requires { font-size: 0.875rem; color: var(--muted-foreground); }
.ds-toc { position: sticky; top: 4.5rem; align-self: start; font-size: 0.8125rem; }
.ds-toc-title { font-weight: 600; margin: 0 0 0.5rem; }
.ds-toc ul { list-style: none; margin: 0; padding: 0; }
.ds-toc li { margin: 0.25rem 0; }
.ds-toc .ds-toc-3 { padding-left: 0.75rem; }
.ds-toc a { color: var(--muted-foreground); text-decoration: none; }
.ds-toc a:hover { color: var(--primary); }
.ds-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.ds-cards li { border: 1px solid var(--border); border-radius: 12px; padding: 1rem; }
.ds-cards a { font-weight: 600; }
.ds-cards p { margin: 0.375rem 0 0; color: var(--muted-foreground); font-size: 0.875rem; }
.ds-list li { margin: 0.375rem 0; }

/* Installation placeholders: the public example value, marked as "yours goes here". */
.stackship-doc var.doc-placeholder {
  font-style: normal;
  border-bottom: 1px dashed var(--primary);
  cursor: help;
}

@media (max-width: 64rem) {
  .ds-main { grid-template-columns: minmax(0, 1fr); }
  .ds-toc { display: none; }
}
@media (max-width: 48rem) {
  .ds-layout { grid-template-columns: minmax(0, 1fr); }
  .ds-nav { position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--border); }
  .ds-main { padding: 1rem; }
}
