/* SPDX-FileCopyrightText: 2026 Progmasoft */ /* SPDX-License-Identifier: AGPL-3.0-or-later WITH AdditionRef-Progmasoft-Patent-Grant-1.1 */ @font-face { font-family: "Fira Sans"; src: url("/fonts/FiraSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; } @font-face { font-family: "Fira Sans"; src: url("/fonts/FiraSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; } @font-face { font-family: "Fira Sans"; src: url("/fonts/FiraSans-SemiBold.woff2") format("woff2"); font-weight: 600 800; font-display: swap; } :root, :root[data-theme="dark"] { color-scheme: dark; --bg: #12111b; --panel: #191723; --text: #f3f0f8; --muted: #b7b1c2; --quiet: #928b9e; --border: #34303d; --accent: #c4a4ff; --accent-contrast: #20132f; } :root[data-theme="light"] { color-scheme: light; --bg: #faf9fc; --panel: #fff; --text: #211c2a; --muted: #625c6b; --quiet: #777080; --border: #ddd9e4; --accent: #6740b2; --accent-contrast: #fff; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: "Fira Sans", sans-serif; } button, select { font: inherit; } a { color: inherit; text-decoration: none; } img { max-width: 100%; } h1, h2, h3, p { margin-top: 0; } p { line-height: 1.7; } ::selection { background: var(--accent); color: var(--accent-contrast); } :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; } .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; } .skip-link { position: absolute; z-index: 50; top: -50px; left: 12px; padding: 10px; background: var(--accent); color: var(--accent-contrast); } .skip-link:focus { top: 8px; } .site-header { display: flex; align-items: center; gap: 30px; min-height: 66px; padding: 10px max(24px, calc((100vw - 1050px) / 2)); border-bottom: 1px solid var(--border); } .brand { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: 17px; font-weight: 700; } .brand img { width: 31px; height: 31px; object-fit: contain; } .primary-nav { display: flex; gap: 23px; margin-left: auto; white-space: nowrap; } .primary-nav a, .footer-links a { color: var(--muted); font-size: 13px; } .primary-nav a:hover, .primary-nav a.router-link-exact-active, .footer-links a:hover { color: var(--accent); } .header-tools { display: flex; gap: 8px; align-items: center; } .language-control select, .icon-button { height: 32px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg); color: var(--text); cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease; } .language-control select:hover, .icon-button:hover { border-color: var(--accent); background: var(--panel); } .language-control select { padding: 0 10px; font-size: 12px; } .icon-button { width: 32px; } .source-link { color: var(--accent); font-size: 13px; white-space: nowrap; } .source-link:hover, .inline-link:hover { text-decoration: underline; } .doc-actions { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 10px; margin-top: 27px; } .button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 41px; padding: 0 15px; border-radius: 5px; font-size: 13px; font-weight: 700; transition: background-color 0.15s ease, border-color 0.15s ease; } .button-primary { background: var(--accent); color: var(--accent-contrast); } .button-primary:hover { filter: brightness(1.08); } .button-quiet { border: 1px solid var(--border); } .button-quiet:hover { border-color: var(--accent); } .inline-link { color: var(--accent); font-size: 13px; font-weight: 700; } .doc-code { overflow-x: auto; margin: 0; padding: 22px; font: 13px/1.85 ui-monospace, Consolas, monospace; } .doc-content h1 { margin: 13px 0 21px; font-size: clamp(34px, 4vw, 48px); letter-spacing: -0.04em; } .doc-content h2 { margin: 39px 0 13px; font-size: 24px; letter-spacing: -0.025em; } .doc-content h3 { margin-bottom: 6px; font-size: 17px; } .doc-content p { color: var(--muted); } .doc-content .doc-lead { font-size: 18px; } .doc-points section { margin-top: 21px; padding-top: 21px; border-top: 1px solid var(--border); } .doc-pipeline { counter-reset: stage; list-style: none; padding: 0; } .doc-pipeline li { counter-increment: stage; position: relative; padding: 16px 0 16px 46px; border-top: 1px solid var(--border); } .doc-pipeline li::before { content: counter(stage, decimal-leading-zero); position: absolute; left: 0; color: var(--accent); font: 600 12px ui-monospace, Consolas, monospace; } .doc-pipeline p, .doc-boundaries dd { margin-bottom: 0; } .doc-boundaries { margin: 0; } .doc-boundaries div { display: grid; grid-template-columns: minmax(0, 180px) minmax(0, 1fr); gap: 18px; padding: 15px 0; border-top: 1px solid var(--border); } .doc-boundaries dt { font-weight: 600; } .doc-boundaries dd { color: var(--muted); } .doc-code { border: 1px solid var(--border); border-radius: 5px; background: var(--panel); } .doc-note { margin-top: 32px; padding: 18px; border-left: 3px solid var(--accent); background: var(--panel); } .doc-note p { margin-bottom: 0; } .doc-resource-list { display: grid; gap: 0; margin-top: 27px; border-bottom: 1px solid var(--border); } .doc-resource-list a { display: flex; flex-direction: column; gap: 5px; padding: 15px 0; border-top: 1px solid var(--border); } .doc-resource-list a strong { color: var(--text); font-size: 14px; } .doc-resource-list a:hover strong { color: var(--accent); } .doc-resource-list a > span { color: var(--muted); font-size: 13px; } .doc-next { margin-top: 50px; border-top: 1px solid var(--border); } .doc-actions { justify-content: flex-start; } .site-footer { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 24px; padding: 43px max(24px, calc((100vw - 1050px) / 2)); border-top: 1px solid var(--border); } .footer-wordmark { font-size: 18px; font-weight: 700; } .site-footer p, .site-footer small { margin: 7px 0 0; color: var(--quiet); font-size: 12px; } .footer-links { display: flex; flex-wrap: wrap; gap: 20px; } @media (max-width: 860px) { .site-header { flex-wrap: wrap; gap: 12px; } .primary-nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; padding: 7px 0; } .header-tools { margin-left: auto; } .doc-boundaries div { grid-template-columns: 1fr; gap: 4px; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } } /* * Right-to-left text. Only the text follows the direction of the language: * the page layout, the navigation and code keep their left-to-right * arrangement. Blocks of prose run right to left, and short pieces such as * links, buttons and list items take the direction of their own first * letter, so a product name on its own still reads left to right. */ [data-text-direction="rtl"] :is(h1, h2, h3, h4, h5, h6, p, blockquote, figcaption, dt, dd) { direction: rtl; } [data-text-direction="rtl"] :is(a, button, label, li, small, strong, span, option) { unicode-bidi: plaintext; } [data-text-direction="rtl"] :is(code, pre, kbd, samp) { direction: ltr; unicode-bidi: isolate; } /* Landing pages: one headline, two ways in, the Why tabs and a row of next links. */ .landing { width: min(100% - 48px, 960px); margin: 0 auto; } .landing-hero { padding: 88px 0 56px; } .landing-brand { margin-bottom: 14px; color: var(--accent); font-size: 15px; font-weight: 600; } .landing-hero h1 { max-width: 16ch; margin-bottom: 20px; font-size: clamp(36px, 6vw, 58px); line-height: 1.06; letter-spacing: -0.02em; } .landing-lead { max-width: 60ch; margin-bottom: 30px; color: var(--muted); font-size: 19px; } .landing-actions { display: flex; flex-wrap: wrap; gap: 12px; } .landing-why, .landing-next { padding: 40px 0; } .landing-why h2, .landing-next h2 { margin-bottom: 20px; font-size: 28px; } .why-tablist { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--border); scrollbar-width: thin; } .why-tablist button { flex: none; padding: 10px 14px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); cursor: pointer; font-size: 15px; } .why-tablist button:hover { color: var(--text); } .why-tablist button[aria-selected="true"] { border-bottom-color: var(--accent); color: var(--text); font-weight: 600; } .why-panel { padding-top: 18px; } .why-caption { max-width: 70ch; margin-bottom: 16px; color: var(--muted); } .why-code { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); } .why-code-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; border-bottom: 1px solid var(--border); color: var(--quiet); font-size: 13px; } .why-copy { padding: 4px 10px; border: 1px solid var(--border); border-radius: 7px; background: none; color: var(--muted); cursor: pointer; font-size: 12px; } .why-copy:hover { border-color: var(--accent); color: var(--text); } .why-code pre { margin: 0; padding: 18px; overflow-x: auto; font-size: 14px; line-height: 1.6; } .landing-next ul { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; list-style: none; } .landing-next a { color: var(--accent); } .landing-next a:hover { text-decoration: underline; } .status-badge { padding: 3px 9px; border: 1px solid var(--border); border-radius: 999px; color: var(--quiet); font-size: 12px; white-space: nowrap; } @media (max-width: 720px) { .landing { width: calc(100% - 32px); } .landing-hero { padding: 48px 0 32px; } .landing-lead { font-size: 17px; } .status-badge { display: none; } } /* Documentation: the topics, the page in a readable column, and its headings. */ .docs { display: grid; grid-template-columns: 210px minmax(0, 720px) 190px; justify-content: center; gap: 48px; width: min(100% - 48px, 1240px); margin: 0 auto; padding: 36px 0 72px; } .docs-nav-toggle > summary { display: none; } .docs-nav nav { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 2px; } .docs-nav-site { margin-bottom: 8px; color: var(--text); font-weight: 600; } .docs-nav a { padding: 6px 10px; border-radius: 7px; color: var(--muted); font-size: 14px; } .docs-nav a:hover { background: var(--panel); color: var(--text); } .docs-nav a[aria-current="page"] { background: var(--panel); color: var(--accent); font-weight: 600; } .docs-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: var(--quiet); font-size: 13px; } .docs-crumbs a:hover { color: var(--accent); } .docs-main .doc-content h1 { margin-bottom: 14px; font-size: clamp(30px, 4vw, 40px); line-height: 1.15; } .docs-main .doc-content h2 { scroll-margin-top: 20px; } .docs-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); } .docs-pager a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; } .docs-pager a:hover { border-color: var(--accent); } .docs-pager span { color: var(--quiet); font-size: 13px; } .docs-pager-next { grid-column: 2; text-align: end; } .docs-edit { margin-top: 18px; font-size: 13px; } .docs-edit a { color: var(--quiet); } .docs-edit a:hover { color: var(--accent); } .docs-toc { position: sticky; top: 24px; align-self: start; display: flex; flex-direction: column; gap: 8px; font-size: 13px; } .docs-toc p { margin-bottom: 4px; color: var(--text); font-weight: 600; } .docs-toc a { color: var(--muted); line-height: 1.4; } .docs-toc a:hover { color: var(--accent); } @media (max-width: 1100px) { .docs { grid-template-columns: 200px minmax(0, 1fr); } .docs-toc { display: none; } } @media (max-width: 760px) { .docs { grid-template-columns: minmax(0, 1fr); gap: 20px; width: calc(100% - 32px); padding-top: 20px; } .docs-nav-toggle { border: 1px solid var(--border); border-radius: 10px; } .docs-nav-toggle > summary { display: block; padding: 10px 14px; cursor: pointer; font-weight: 600; } .docs-nav nav { position: static; padding: 0 8px 10px; } .docs-pager { grid-template-columns: 1fr; } .docs-pager-next { grid-column: 1; } }