/* EVOZO documentation: one stylesheet, no JavaScript. Light by default, dark by the visitor's setting. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #1b2330;
  --muted: #566274;
  --line: #d9dee7;
  --accent: #0b5cad;
  --accent-fg: #ffffff;
  --surface: #f4f6fa;
  --code-bg: #eef1f6;
  --notice-bg: #fff6df;
  --notice-line: #e2b44a;
  --preview-bg: #e8f1fd;
  --preview-line: #6aa3e6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11161d;
    --fg: #e6eaf0;
    --muted: #a3adbb;
    --line: #2c3644;
    --accent: #7db6f5;
    --accent-fg: #0b1220;
    --surface: #18202b;
    --code-bg: #1e2733;
    --notice-bg: #3a3014;
    --notice-line: #a3822c;
    --preview-bg: #15283f;
    --preview-line: #3f6fa6;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.wrap { width: 100%; max-width: 62rem; margin: 0 auto; padding: 0 1rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-fg); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 0; }
a { color: var(--accent); }
a:focus-visible, .table-wrap:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
/* Header: the front page's own design values (landing-nav.component.scss), light and dark. */
.site-header { --h-bg: rgba(255, 255, 255, 0.8); --h-hair: rgba(21, 25, 25, 0.09); --h-hair-strong: rgba(21, 25, 25, 0.14); --h-text: #151919; --h-text-2: #475569; --h-accent: #00aeff; --h-on-accent: #06202b; position: sticky; top: 0; z-index: 40; background: var(--h-bg); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--h-hair); font-family: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
@media (prefers-color-scheme: dark) {
  .site-header { --h-bg: rgba(21, 25, 25, 0.8); --h-hair: rgba(255, 255, 255, 0.1); --h-hair-strong: rgba(255, 255, 255, 0.16); --h-text: #f8fafc; --h-text-2: #cbd5e1; }
}
.hbar { max-width: 1240px; margin: 0 auto; padding: 0.85rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.hbrand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; flex: none; }
.hbrand picture, .hbrand img { display: block; }
.hicon { width: 26px; height: 26px; }
.hword { height: 17px; width: auto; }
.hlinks { display: flex; align-items: center; gap: 2rem; flex: 1; justify-content: center; }
.hlinks a, .hpanel nav a { position: relative; font-size: 0.85rem; font-weight: 500; color: var(--h-text-2); text-decoration: none; padding-bottom: 2px; transition: color 0.2s ease; }
.hlinks a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--h-accent); transition: right 0.25s ease; }
.hlinks a:hover, .hlinks a:focus-visible, .hlinks a[aria-current] { color: var(--h-text); }
.hlinks a:hover::after, .hlinks a:focus-visible::after, .hlinks a[aria-current]::after { right: 0; }
.site-header a:focus-visible, .site-header summary:focus-visible { outline: 3px solid var(--h-accent); outline-offset: 2px; }
.hactions { display: flex; align-items: center; gap: 0.6rem; flex: none; }
.btn { display: inline-block; font: 600 0.82rem/1.2 Poppins, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; padding: 0.6rem 1.1rem; border-radius: 4px; border: 1px solid transparent; text-decoration: none; text-align: center; white-space: nowrap; transition: transform 0.15s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.btn-ghost { background: transparent; color: var(--h-text); border-color: var(--h-hair-strong); }
.btn-ghost:hover { border-color: var(--h-accent); color: var(--h-accent); }
.btn-solid { background: var(--h-accent); color: var(--h-on-accent); }
.btn-solid:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -4px rgba(0, 174, 255, 0.45); }
.hmenu { display: none; }
.hmenu summary { list-style: none; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 36px; height: 36px; border-radius: 4px; border: 1px solid var(--h-hair-strong); cursor: pointer; }
.hmenu summary::-webkit-details-marker { display: none; }
.hline { display: block; width: 16px; height: 1.5px; background: var(--h-text); transition: transform 0.2s ease; }
.hmenu[open] .hline:first-child { transform: translateY(3.25px) rotate(45deg); }
.hmenu[open] .hline:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.hpanel { position: absolute; left: 0; right: 0; top: 100%; background: var(--h-bg); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--h-hair); border-top: 1px solid var(--h-hair); max-height: calc(100vh - 4rem); overflow-y: auto; }
.hpanel nav { display: flex; flex-direction: column; padding: 0.5rem 1.5rem 0; }
.hpanel nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--h-hair); font-size: 0.95rem; color: var(--h-text); }
.hpanel nav a[aria-current] { color: var(--h-accent); }
.hpanel-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; padding: 1rem 1.5rem 1.25rem; }
.hpanel-actions .btn { flex: 1; }
@media (max-width: 860px) {
  .hlinks, .hactions { display: none; }
  .hmenu { display: block; }
}
main { padding-top: 1.25rem; padding-bottom: 3rem; }
h1 { font-size: 1.85rem; line-height: 1.25; margin: 0.5rem 0 0.75rem; }
h2 { font-size: 1.35rem; line-height: 1.3; margin: 2rem 0 0.5rem; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 0.4rem; }
h4 { font-size: 1rem; margin: 1.25rem 0 0.3rem; }
p, ul, ol { margin: 0.6rem 0; }
li { margin: 0.25rem 0; }
li > ul, li > ol { margin: 0.25rem 0; }
.lead, .lead p { font-size: 1.125rem; color: var(--fg); }
.muted { color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem; padding: 0; margin: 0; font-size: 0.9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 0.25rem; }
.meta { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; padding: 0; margin: 0.25rem 0 1rem; font-size: 0.925rem; color: var(--muted); }
.meta .label { font-weight: 600; color: var(--fg); }
code { background: var(--code-bg); padding: 0.1em 0.35em; border-radius: 4px; font: 0.9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
pre { background: var(--code-bg); padding: 0.75rem 1rem; border-radius: 6px; overflow-x: auto; }
pre code { background: none; padding: 0; overflow-wrap: normal; }
.table-wrap { overflow-x: auto; margin: 1rem 0; border: 1px solid var(--line); border-radius: 6px; }
table { border-collapse: collapse; width: 100%; min-width: 28rem; }
th, td { text-align: left; vertical-align: top; padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--line); }
thead th { background: var(--surface); }
tbody tr:last-child td { border-bottom: 0; }
.a-center { text-align: center; }
.a-right { text-align: right; }
.diagram { margin: 1.25rem 0; }
.diagram-art { background: #ffffff; color: #1b2330; border: 1px solid var(--line); border-radius: 6px; padding: 0.75rem; overflow-x: auto; text-align: center; }
.diagram-art svg { max-width: 100%; height: auto; }
.diagram figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.4rem; }
.notice { border: 1px solid var(--notice-line); border-left-width: 6px; background: var(--notice-bg); padding: 0.6rem 0.9rem; border-radius: 6px; margin: 1rem 0; }
.notice[data-availability="preview"] { border-color: var(--preview-line); background: var(--preview-bg); }
.notice-label { margin-right: 0.35rem; }
.button { display: inline-block; background: var(--accent); color: var(--accent-fg); padding: 0.5rem 1rem; border-radius: 6px; text-decoration: none; font-weight: 600; }
.cards { list-style: none; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.cards li { border: 1px solid var(--line); border-radius: 8px; padding: 0.75rem 1rem; background: var(--surface); margin: 0; }
.cards li > a { font-weight: 600; }
.cards p { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.925rem; }
.tag { display: inline-block; font-size: 0.78rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 0.5rem; margin-left: 0.25rem; vertical-align: middle; }
.toc ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; padding: 0; }
.route { font: 0.85rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 1rem 0; font-size: 0.9rem; }
@media (max-width: 40rem) {
  h1 { font-size: 1.5rem; }
  .cards { grid-template-columns: 1fr; }
}
@media print { .site-header, .site-footer, .skip { display: none; } .diagram-art { border: 0; } }
