/* Docker instructions page. Matches the Updates pages and the home page: light slate ground, Inter, the sky-blue brand colour. No scripts, no third-party requests. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/Inter-Variable-latin.woff2') format('woff2'); }
:root { --bg: #f8fafc; --panel: #ffffff; --ink: #0f172a; --text: #334155; --muted: #64748b; --line: #e2e8f0; --brand: #0284c7; --brand-ink: #075985; --tag-bg: #e0f2fe; --code-bg: #0f172a; --code-ink: #e2e8f0; --note-bg: #f0f9ff; --note-line: #bae6fd; --warn-bg: #fffbeb; --warn-line: #fde68a; }
* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--brand-ink); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
.bar { border-bottom: 1px solid var(--line); background: var(--panel); }
.bar-in, .wrap, .foot-in { max-width: 52rem; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 28px; height: 28px; }
.bar nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; font-weight: 500; }
.bar nav a { color: var(--muted); text-decoration: none; }
.bar nav a:hover, .bar nav a[aria-current] { color: var(--ink); }
.wrap { padding-top: 40px; padding-bottom: 56px; }
h1 { color: var(--ink); font-size: clamp(1.7rem, 4.5vw, 2.3rem); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 10px; text-wrap: balance; }
h2 { color: var(--ink); font-size: 1.35rem; line-height: 1.3; margin: 0 0 10px; letter-spacing: -0.01em; scroll-margin-top: 16px; }
h3 { color: var(--ink); font-size: 1.02rem; margin: 22px 0 6px; }
.lead { font-size: 1.08rem; max-width: 62ch; margin: 0 0 18px; }
p, ul, ol { max-width: 68ch; margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin: 0 0 6px; }
section { margin: 40px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; padding-top: 0; }
.tag { display: inline-block; background: var(--tag-bg); color: var(--brand-ink); border-radius: 999px; padding: 1px 10px; font-weight: 600; font-size: 12.5px; vertical-align: middle; margin-left: 8px; }
pre { margin: 6px 0 16px; padding: 14px 16px; background: var(--code-bg); color: var(--code-ink); border-radius: 10px; overflow-x: auto; font: 13.5px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace; white-space: pre-wrap; overflow-wrap: anywhere; max-width: none; user-select: all; -webkit-user-select: all; }
code { font: 0.92em ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace; background: #e8eef5; color: var(--ink); padding: 1px 6px; border-radius: 5px; }
pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.label { margin: 14px 0 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.note, .warn { max-width: 68ch; margin: 0 0 16px; padding: 12px 16px; border: 1px solid var(--note-line); background: var(--note-bg); border-radius: 10px; font-size: 15px; }
.warn { border-color: var(--warn-line); background: var(--warn-bg); }
.note p, .warn p { margin: 0 0 8px; }
.note p:last-child, .warn p:last-child { margin: 0; }
.steps { padding-left: 0; list-style: none; counter-reset: step; }
.steps > li { position: relative; padding-left: 40px; margin: 0 0 18px; counter-increment: step; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
details { max-width: 68ch; margin: 0 0 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 0 16px; }
summary { cursor: pointer; padding: 12px 0; font-weight: 600; color: var(--ink); }
details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 10px; }
details p:last-child, details pre:last-child { margin-bottom: 14px; }
table { border-collapse: collapse; width: 100%; max-width: 68ch; margin: 0 0 16px; font-size: 15px; }
th, td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
.cta { margin: 36px 0 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.btn { display: inline-block; background: var(--brand); color: #ffffff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 9px 18px; border-radius: 8px; }
.btn:hover { background: var(--brand-ink); }
.foot { border-top: 1px solid var(--line); background: var(--panel); }
.foot-in { padding-top: 28px; padding-bottom: 36px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.foot-in p { margin: 0 0 12px; max-width: none; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
@media (max-width: 640px) { .wrap { padding-top: 28px; } pre { font-size: 12.5px; } }

/* Sticky section bar: sits under the page header, scrolls sideways on its own so a narrow screen never gets a page-wide scrollbar. */
.jump-bar { position: sticky; top: 0; z-index: 20; background: rgba(248, 250, 252, 0.88); -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.jump { display: flex; flex-wrap: nowrap; justify-content: safe center; gap: 8px; max-width: none; margin: 0; padding: 10px max(20px, env(safe-area-inset-right, 0px)) 10px max(20px, env(safe-area-inset-left, 0px)); list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-behavior: smooth; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.jump li { margin: 0; flex: none; }
.jump a { display: block; padding: 5px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--ink); font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.jump a:hover { border-color: var(--brand); color: var(--brand-ink); }
h2 { scroll-margin-top: 72px; }
.wrap { padding-top: 28px; }
/* Copy buttons (added by docker.js). The block still selects with one click without the script. */
.codebox { position: relative; margin: 6px 0 16px; max-width: none; }
.codebox pre { margin: 0; padding-right: 92px; }
.copy { position: absolute; top: 8px; right: 8px; padding: 4px 11px; border: 1px solid #475569; border-radius: 7px; background: #1e293b; color: #e2e8f0; font: 600 12.5px/1.4 Inter, ui-sans-serif, system-ui, sans-serif; cursor: pointer; }
.copy:hover { background: #334155; border-color: #64748b; }
.copy:focus-visible { outline: 2px solid #7dd3fc; outline-offset: 2px; }
.copy[data-done] { background: #065f46; border-color: #34d399; color: #ecfdf5; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 640px) { .codebox pre { padding-right: 16px; padding-top: 44px; } }
