diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..002ea26 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# Project memory for whoever works next (see docs/product-rules.md section 13). Never committed. +/handover/ diff --git a/README.md b/README.md index 3c73c83..582c8f9 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,9 @@ The Space Works design system: brand guidelines, logo masters, icons, fonts, design tokens and the UX pattern specs. Use it as a git submodule in any Space Works project so every surface draws from one source. +**Version: Space Works Design System v2.0** (`VERSION` = `2.0.0`), which ships alongside SpaceWorks 0.12.0. What +changed is in [`docs/whats-new-v2.0.md`](docs/whats-new-v2.0.md). + ```bash git submodule add https://github.com/SpaceWorks-Labs/SpaceWorks-Design-System.git design ``` @@ -23,7 +26,7 @@ masters, colours, type, voice, every design token and the UI specs, published fr | Folder | What it holds | |---|---| -| `brand/` | `space-works-brand-guidelines-v1.pdf` — the source of truth for logo, colour, type, icons and voice | +| `brand/` | `space-works-brand-guidelines-v2.pdf` (current, 50 pages, built from `brand/guidelines-v2/`) and `space-works-brand-guidelines-v1.pdf` — the source of truth for logo, colour, type, icons and voice; where they differ, v2 wins | | `logo/` | Ten vector masters exported directly from Figma, with matching 4× PNGs: `symbol`, `symbol-reversed`, `symbol-one-colour-ink`, `lockup-stacked`, `lockup-stacked-reversed`, `lockup-stacked-one-colour-ink`, `lockup-horizontal`, `lockup-horizontal-reversed`, `lockup-horizontal-one-colour-ink`, `app-icon` | | `mascot/` | **Patch**, the painted wolf mascot, cut from the approved concept sheets in `mascot/concept/` and traced to vector SVG: `patch.svg` (hero), `patch-animated.webp`/`.svg`/`.gif` (the 7-second sneeze loop) and its eight `frames/`, plus `walk/` (the walking pose, walk cycle and its frames) and `walk-left/` (the approved left-facing walk), with high-resolution PNGs. `mascot/original/` keeps every piece's exact pixels from the sheets (lossless) and `mascot/compressed/` has lighter SVGs, `.svgz` and small WebPs. `mascot/dark/` is every piece with a thin Warm Cream sticker border for dark surfaces only (full SVGs, lossless PNGs, WebPs and GIFs, plus lite SVGs, `.svgz` and small WebPs in `dark/compressed/`). Story and usage rules in `mascot/README.md` | | `icons/` | `favicon.svg`, PNG app icons (16, 32, 180, 192, 512) and the 1200×630 social card | @@ -31,11 +34,12 @@ masters, colours, type, voice, every design token and the UI specs, published fr | `tokens/` | `tokens.css` (`@font-face` + light/dark colour variables as RGB triplets) and `tokens.json` (the same colours as hex, plus the seven brand colours) | | `motion/box-open/` | The **box-open loader**, the loading animation used everywhere in Space Works: `box-open.css`, the SVG markup, a standalone `demo.html` and the React components (`LogoLoader`, `BoxSpinner`, `BoxArt`). Usage, sizes, timing and accessibility in `motion/box-open/README.md` | | `motion/theme-reveal/` | The **theme reveal**, the light/dark switch animation (circle growing from the toggle, 720 ms, cross-fade fallback, instant under reduced motion): `theme-reveal.css`, framework-free `theme-reveal.js`, a standalone `demo.html`, the app's React files and an animated preview. Usage in `motion/theme-reveal/README.md` | +| `motion/README.md` | The **motion kit index**: every animation in the product (49 rows) mapped to a reusable folder (`route-transition/`, `page-enter/`, `scroll-reveal/`, `overlays/`, `toast/`, `sidebar/`, `collapse/`, `skeleton/`, `hover-press/`, `feedback/`, `delight/`, `kiosk-display/`, plus `box-open/`, `theme-reveal/`, `search/`). Each folder has framework-free CSS from the app, `react/` copies, a light/dark `demo.html`, animated previews and a README (where, why, tokens, trigger, reduced motion, dark, do and don't) | | `docs/` | `motion.md` (**every animation in the product**: where, why, tokens, plus the "which animation to use" guide and the logo hover rule), `theming.md` (**how to implement the light/dark switch** with these tokens: tokens, `html.dark`, pre-paint script, React and plain-JS examples), `ui-brand-spec.md` (token derivations, contrast ratios, states, status pills, type scale, logo use), `ux-spec.md` (**Space Works UX**: our interaction patterns, reusable layouts, navigation and screen specs), `ux-screens-longtail.md` (remaining screens) | -| `docs/` (more) | `product-rules.md` (rules the product enforces in its UI), `lessons-learned.md` (what went wrong and what we do now) and `design-changes-0.12.0.md` (every design change in the 0.12.0 release) | +| `docs/` (more) | `product-rules.md` (the product and engineering rules every SpaceWorks-Labs product follows, with a per-product checklist), `decisions.md` (every design decision and its reason), `lessons-learned.md` (what went wrong and what we do now) and `whats-new-v2.0.md` (what's new in Design System v2.0, which ships alongside SpaceWorks 0.12.0) | | `tokens/previews/` | Rendered previews of the colour tokens, light and dark | | `screenshots/ux/` | Screenshots of Space Works UX in Space Works Events (light, dark and phone), used by the site's UX pages | -| `site/` | The Starlight website published to GitHub Pages; `scripts/sync-kit.mjs` copies the kit in at build time | +| `site/` | The Starlight website published to GitHub Pages; `scripts/sync-kit.mjs` copies the kit in at build time, and `scripts/split-docs.mjs` lists which long docs are published as an overview plus one page per part (the Markdown here stays one file) | | `references/yuyu/` | The reference boards from [Yuyu](https://github.com/twilighty-abhi/yuyu) that inspired Space Works UX | ## Brand at a glance @@ -68,11 +72,12 @@ Add the class `dark` to `` for dark mode. The font URLs in `tokens.css` ar ## Changelog +- **Motion kit added in Design System v2.0** in `motion/`: twelve new animation families (route transition, page enter, scroll reveal and pinned hero, overlays, toast, sidebar indicator, collapse and chevrons, skeleton and progress, hover and press, feedback, delight, kiosk and display), each reusable like the box-open loader (CSS copied from the app, `react/` copies, `demo.html`, animated previews checked by `scripts/check-previews.mjs`, README), indexed in `motion/README.md`. `docs/motion.md` gains the animations the audit found missing (splash flight, chevrons, card tilt, logo flap pop and others). The site has a page per family under Motion, plus a "Design decisions" page from `docs/decisions.md`. - **Theme reveal template** added in `motion/theme-reveal/`: the light-to-dark circle reveal as a reusable template (CSS, framework-free JS with `switchTheme(next, originEl)`, `demo.html`, the app's React files, animated preview checked by `scripts/check-previews.mjs`). `docs/theming.md` gains a "Switch animation" section; the design site's own theme toggle and the Theming demo now use it, and there is a new Motion page, Theme switch. -### SpaceWorks 0.12.0 token sync +### v2.0 token sync (ships alongside SpaceWorks 0.12.0) -- **README banner** added: `brand/readme/banner-light.svg` and `banner-dark.svg` (1280×320, rounded corners, the lockup masters, the seven brand colours; text uses a system-font fallback stack, no external references), shown through a `` that follows the reader's colour scheme. +- **README banner** added: `brand/readme/banner-light.svg` and `banner-dark.svg` (1280×320, rounded corners, the lockup masters, the seven brand colours; text is outlined from Gilroy ExtraBold and Outfit by `brand/readme/make-banner.py`, so GitHub shows the brand fonts; no external references), shown through a `` that follows the reader's colour scheme. - **`docs/motion.md` and `docs/theming.md` added.** `motion.md` catalogues every shipped animation (where, why, tokens, trigger, reduced motion, dark), gives the "which animation to use where" defaults and the rules, including the new logo rule: **the Space Works mark opens (one-shot box opening, 1600 ms) on hover and keyboard focus everywhere it appears; it never loops except as the loader; tenant logos never animate; no hover animation on touch; reduced motion shows the static mark.** `theming.md` documents the light/dark switch (token layer, `html.dark`, system preference, pre-paint script, meta theme-color, React and plain examples). `motion/box-open/` documents the hover/focus one-shot usage. - **Dark theme is one solid black family** (decision 316, superseding the green-tinted dark of 275/300). Neutral surfaces only, no green or teal tint; teal, Citron and orange stay accents. diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..227cea2 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +2.0.0 diff --git a/brand/guidelines-v2/README.md b/brand/guidelines-v2/README.md new file mode 100644 index 0000000..a099e49 --- /dev/null +++ b/brand/guidelines-v2/README.md @@ -0,0 +1,54 @@ +# Brand guidelines v2 (Space Works Design System v2.0): source + +`../space-works-brand-guidelines-v2.pdf` (50 pages, 1440 × 1000 px pages, the same 1080 × 750 pt size as v1) is +built from the HTML and CSS in this folder. Brand guidelines v1 (`../space-works-brand-guidelines-v1.pdf`, +`../guidelines/`) is kept unchanged; v2 supersedes it wherever the two differ. The book ships alongside SpaceWorks 0.12.0. + +## Rebuild + +From the repository root, on Windows with Microsoft Edge installed: + +```bash +node brand/guidelines-v2/build.mjs # src/index.html, the PDF and png/NN.png +node brand/guidelines-v2/build.mjs --html # src/index.html only (open it in a browser to preview) +``` + +The script starts headless Edge with a throwaway profile, prints the PDF through the DevTools protocol +(`Page.printToPDF`, `@page` size from `src/styles.css`), screenshots each page into `png/`, then closes Edge +and deletes the profile. It also prints a font check (Gilroy 300 and 800, Outfit, Unbounded must all say +`true`) and lists any element that crosses the page margins. Edge's path is set in `build.mjs` (`EDGE`). + +## Files + +| Path | What it is | +|---|---| +| `build.mjs` | Assembles the pages, resolves placeholders, renders the PDF and PNGs | +| `src/shell.html` | Document shell: links `tokens/tokens.css` (fonts and tokens), `motion/box-open/box-open.css`, `generated.css`, `styles.css` | +| `src/styles.css` | Page grid (header, footer, margins), page types (`cream`, `citron`, `ink`, `black`, `split`) and the mock components | +| `src/pages/NN-*.html` | One file per section; each `
` is one page. `data-toc` puts a section in the contents | +| `src/qr/*.svg` | Pre-generated QR codes for the hosted site pages (Deep Ink on transparent) | +| `src/generated.css`, `src/index.html` | Written by the build; do not edit | +| `png/NN.png` | Page renders at 1440 × 1000 | + +## Placeholders resolved by the build + +- `{{cr:light.ink/light.bg}}`: WCAG contrast ratio of two colours from `tokens/tokens.json` (or `#hex`), two decimals. +- `{{hex:dark.accent-ink}}`: a token's hex value. +- `{{box}}`: the box-open SVG markup from `motion/box-open/box-open-markup.html`. +- `{{strip:once|loop|hov:light|dark:0|Label,200,…}}`: a row of box-open frames frozen from the shipped CSS + (a negative `animation-delay` with the animation paused), at the listed times in ms. +- `{{ladder:light|dark}}`, `{{fam:light|dark}}`: the neutral ladder and the accent and status families. +- `{{svg:path}}`, `{{qr:name}}`, `{{toc}}`. + +Colours only come from `tokens/tokens.json`: `generated.css` turns it into `.th-light` / `.th-dark` blocks and +the brand, chart, loader and card variables. The only literal colours are the old teal-lit dark values on the +"From green-black to solid black" page, which document the palette that was replaced. After a token change, +rebuild: every swatch and ratio follows. + +## QR codes + +The QR SVGs are committed so the build needs no packages. To regenerate one (for example after a URL change): + +```bash +npx qrcode@1.5.4 -t svg -e M -q 0 -d 142C2AFF -l 00000000 -o brand/guidelines-v2/src/qr/site.svg "https://spaceworks-labs.github.io/SpaceWorks-Design-System/" +``` diff --git a/brand/guidelines-v2/build.mjs b/brand/guidelines-v2/build.mjs new file mode 100644 index 0000000..2561e6c --- /dev/null +++ b/brand/guidelines-v2/build.mjs @@ -0,0 +1,216 @@ +// Builds Space Works brand guidelines v2. +// node brand/guidelines-v2/build.mjs -> src/index.html, the PDF and png/NN.png +// node brand/guidelines-v2/build.mjs --html -> src/index.html only +// Pages live in src/pages/*.html (sorted by name). Placeholders resolved here: +// {{box}} box-open markup (motion/box-open/box-open-markup.html) +// {{svg:path}} inline an SVG from the repo root (width/height stripped) +// {{cr:A/B}} WCAG contrast of A on B, 2 decimals. A, B = token path +// (light.ink, dark.panel, brand.citron, chart.dark.info, loader.light.under) or #hex +// {{hex:path}} a token's hex value +// {{qr:name}} inline src/qr/name.svg +// {{toc}} contents list +// Header and footer of each
are injected with the page number. +import { readFileSync, writeFileSync, readdirSync, mkdirSync, rmSync, statSync, existsSync } from "node:fs"; +import { spawn } from "node:child_process"; +import { tmpdir } from "node:os"; +import { join, dirname, resolve } from "node:path"; +import { fileURLToPath, pathToFileURL } from "node:url"; + +const here = dirname(fileURLToPath(import.meta.url)); +const root = resolve(here, "../.."); +const src = join(here, "src"); +const tokens = JSON.parse(readFileSync(join(root, "tokens/tokens.json"), "utf8")); +const FOOTER = "Design System v2.0 · Brand guidelines v2"; + +// ---------- colour maths ---------- +const hexOf = (ref) => { + if (ref.startsWith("#")) return ref.toUpperCase(); + const v = ref.split(".").reduce((o, k) => o?.[k], tokens); + if (typeof v !== "string" || !v.startsWith("#")) throw new Error(`no colour token ${ref}`); + return v.toUpperCase(); +}; +const lum = (hex) => { + const c = [1, 3, 5].map((i) => parseInt(hex.slice(i, i + 2), 16) / 255) + .map((v) => (v <= 0.04045 ? v / 12.92 : ((v + 0.055) / 1.055) ** 2.4)); + return 0.2126 * c[0] + 0.7152 * c[1] + 0.0722 * c[2]; +}; +export const contrast = (a, b) => { + const [x, y] = [lum(hexOf(a)), lum(hexOf(b))].sort((p, q) => q - p); + return (x + 0.05) / (y + 0.05); +}; +const triplet = (hex) => [1, 3, 5].map((i) => parseInt(hex.slice(i, i + 2), 16)).join(" "); + +// ---------- generated theme CSS (colours only from tokens.json) ---------- +function themeCss() { + const block = (name, set, chart, loader) => { + const lines = Object.entries(set).map(([k, v]) => ` --color-${k}: ${triplet(v)};`); + Object.entries(chart).forEach(([k, v]) => lines.push(` --chart-${k}: ${triplet(v)};`)); + Object.entries(loader).forEach(([k, v]) => lines.push(` --loader-${k}: ${triplet(v)};`)); + return `.${name} {\n${lines.join("\n")}\n}`; + }; + const brand = Object.entries(tokens.brand).map(([k, v]) => ` --b-${k}: ${triplet(v)};`).join("\n"); + const cards = ["light", "dark"].map((t) => `.card-${t} {\n${Object.entries(tokens.cards.aurora[t]) + .map(([k, v]) => ` --card-${k}: ${triplet(v)};`).join("\n")}\n}`).join("\n"); + const dk = ["line", "ink", "muted"].map((k) => ` --dk-${k}: ${triplet(tokens.dark[k])};`).join("\n"); + return `/* Generated by build.mjs from tokens/tokens.json. Do not edit. */\n:root {\n${brand}\n${dk}\n}\n` + + block("th-light", tokens.light, tokens.chart.light, tokens.loader.light) + "\n" + + block("th-dark", tokens.dark, tokens.chart.dark, tokens.loader.dark) + "\n" + cards + "\n"; +} + +// ---------- assemble ---------- +function assemble() { + const box = readFileSync(join(root, "motion/box-open/box-open-markup.html"), "utf8").trim(); + const files = readdirSync(join(src, "pages")).filter((f) => f.endsWith(".html")).sort(); + let body = files.map((f) => readFileSync(join(src, "pages", f), "utf8")).join("\n"); + let n = 0; + const toc = []; + body = body.replace(/
]*)>/g, (m, cls, attrs) => { + n += 1; + const sec = /data-sec="([^"]*)"/.exec(attrs)?.[1] ?? ""; + const tocName = /data-toc="([^"]*)"/.exec(attrs)?.[1]; + if (tocName) toc.push([sec.split(" / ")[0], tocName, n]); + const num = String(n).padStart(2, "0"); + return `
` + + `
space works / brand guidelines${sec.toUpperCase()}
` + + `
${FOOTER}${num}
`; + }); + const tocHtml = toc.map(([no, name, p]) => + `
  • ${no}${name}${String(p).padStart(2, "0")}
  • `).join(""); + // {{strip:once|loop|hov:light|dark|mono:0|Label,200,...}} -> a row of frozen frames from the real box-open CSS + body = body.replace(/\{\{strip:([a-z]+):([a-z]+):([^}]+)\}\}/g, (m, mode, ground, list) => { + const frames = list.split(",").map((s) => s.split("|")); + const g = ground === "mono" ? "g-light mono" : `g-${ground}`; + return `
    ` + frames.map(([t, k]) => + `
    {{box}}
    ` + + `${Number(t) >= 1000 ? (Number(t) / 1000).toLocaleString("en", { minimumFractionDigits: 1 }) + " s" : t + " ms"}` + + `${k ?? ""}
    `).join("") + "
    "; + }); + // {{ladder:light|dark}} neutral roles; {{fam:light|dark}} accent and status families + const LADDER = [["bg", "Page"], ["surface", "Layer 1 · sidebar in dark"], ["panel", "Cards, dialogs"], ["hover", "Hover fill"], + ["line", "Divider, decorative"], ["outline", "Control edges, at least 3:1"], ["muted", "Secondary text"], ["ink", "Text"], + ["focus", "Focus ring"], ["scrim", "Dialog backdrop"]]; + body = body.replace(/\{\{ladder:(light|dark)\}\}/g, (m, th) => `` + LADDER.map(([k, role]) => { + const vs = ["ink", "muted", "outline", "line", "focus"].includes(k) ? `${contrast(`${th}.${k}`, `${th}.bg`).toFixed(2)} : 1` : ""; + return `` + + ``; + }).join("") + `
    ${k}${hexOf(`${th}.${k}`)}${role}${vs}
    `); + const FAMS = [["accent", ["accent", "accent-hover", "accent-active", "accent-soft", "accent-ink"], "on-accent"], + ["emphasis", ["emphasis", "emphasis-hover", "emphasis-active", "emphasis-soft"], "on-emphasis"], + ["success", ["success", "success-hover", "success-active", "success-soft", "success-ink"], "on-success"], + ["warn", ["warn", "warn-hover", "warn-active", "warn-soft", "warn-ink"], "on-warn"], + ["info", ["info", "info-hover", "info-active", "info-soft", "info-ink"], "on-info"], + ["danger", ["danger", "danger-hover", "danger-active", "danger-line"], "on-danger"]]; + body = body.replace(/\{\{fam:(light|dark)\}\}/g, (m, th) => `
    ` + FAMS.map(([name, keys, on]) => + `
    ${name}
    ` + keys.map((k) => { + const isInk = k.endsWith("-ink"); + const isFill = !k.includes("soft") && !isInk && !k.endsWith("line"); + const inner = isFill ? `Aa` : isInk ? `Aa` : ""; + const bgc = isInk ? "panel" : k; + return `
    ${inner}
    ` + + `
    ${k.replace(name + "-", "") === name ? "fill" : k.replace(name + "-", "")}
    ${hexOf(`${th}.${k}`)}
    `; + }).join("") + `
    `).join("") + `
    `); + // {{chart}}: sample bars and lines drawn with the chart tokens (1 px edge on fills, 4 px casing under 2 px lines) + const bars = [120, 92, 150, 70, 104].map((h, i) => + ``).join(""); + const lines = [["1", "", "150 120 128 92 100 70 64 44"], ["2", "8 4", "170 160 150 152 130 128 112 100"], ["4", "10 3 2 3", "186 182 176 178 168 160 162 150"]] + .map(([k, dash, ys]) => { + const pts = ys.split(" ").map((y, j) => `${262 + j * 36},${y}`).join(" "); + const da = dash ? ` stroke-dasharray="${dash}"` : ""; + return `` + + ``; + }).join(""); + const chart = `` + + `${bars}${lines}` + + `
    Bars: 1 px edge on every fillLines: 2 px over a 4 px casing
    `; + body = body.replace(/\{\{chart\}\}/g, chart); + body = body + .replace(/\{\{toc\}\}/g, tocHtml) + .replace(/\{\{box\}\}/g, box) + .replace(/\{\{svg:([^}]+)\}\}/g, (m, p) => readFileSync(join(root, p), "utf8") + .replace(/<\?xml[^>]*>/, "").replace(/]*?)\s(width|height)="[^"]*"/g, "]*?)\s(width|height)="[^"]*"/g, " readFileSync(join(src, "qr", `${p}.svg`), "utf8").replace(/<\?xml[^>]*>/, "")) + .replace(/\{\{cr:([^/}]+)\/([^}]+)\}\}/g, (m, a, b) => contrast(a, b).toFixed(2)) + .replace(/\{\{hex:([^}]+)\}\}/g, (m, p) => hexOf(p)); + const left = body.match(/\{\{[^}]*\}\}/); + if (left) throw new Error(`unresolved placeholder ${left[0]}`); + writeFileSync(join(src, "generated.css"), themeCss()); + const html = readFileSync(join(src, "shell.html"), "utf8").replace("", body); + writeFileSync(join(src, "index.html"), html); + return n; +} + +// ---------- render with headless Edge over the DevTools protocol ---------- +const EDGE = "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe"; +const sleep = (ms) => new Promise((r) => setTimeout(r, ms)); + +async function render(pages) { + const profile = join(tmpdir(), `sw-guidelines-edge-${process.pid}`); + const port = 9300 + (process.pid % 500); + const edge = spawn(EDGE, ["--headless=new", "--disable-gpu", "--hide-scrollbars", "--no-first-run", + `--remote-debugging-port=${port}`, `--user-data-dir=${profile}`, "about:blank"], { stdio: "ignore" }); + try { + let target; + for (let i = 0; i < 50 && !target; i += 1) { + await sleep(200); + try { target = (await (await fetch(`http://127.0.0.1:${port}/json/list`)).json()).find((t) => t.type === "page"); } catch { /* not up yet */ } + } + if (!target) throw new Error("Edge did not start"); + const ws = new WebSocket(target.webSocketDebuggerUrl); + await new Promise((r, j) => { ws.onopen = r; ws.onerror = j; }); + let id = 0; + const waiting = new Map(); + ws.onmessage = (e) => { const m = JSON.parse(e.data); if (m.id && waiting.has(m.id)) { waiting.get(m.id)(m); waiting.delete(m.id); } }; + const cmd = (method, params = {}) => new Promise((r, j) => { + id += 1; waiting.set(id, (m) => (m.error ? j(new Error(`${method}: ${m.error.message}`)) : r(m.result))); + ws.send(JSON.stringify({ id, method, params })); + }); + const evaluate = async (expression) => (await cmd("Runtime.evaluate", { expression, awaitPromise: true, returnByValue: true })).result.value; + + await cmd("Page.enable"); + await cmd("Emulation.setDeviceMetricsOverride", { width: 1440, height: 1000, deviceScaleFactor: 1, mobile: false }); + await cmd("Page.navigate", { url: pathToFileURL(join(src, "index.html")).href }); + for (let i = 0; i < 100; i += 1) { await sleep(150); if ((await evaluate("document.readyState")) === "complete") break; } + await evaluate("document.fonts.ready.then(() => true)"); + await evaluate("Promise.all([...document.images].map(i => i.complete ? 1 : new Promise(r => { i.onload = i.onerror = r; })))"); + await sleep(800); + const fonts = await evaluate(`[["800 20px Gilroy"],["300 20px Gilroy"],["400 20px Outfit"],["600 20px Unbounded"]].map(([f]) => f + ":" + document.fonts.check(f)).join(" ")`); + const loaded = await evaluate(`[...document.fonts].filter(f => f.status === "loaded").map(f => f.family + " " + f.weight).join(", ")`); + console.log("font check:", fonts, "| loaded:", loaded); + const overflow = await evaluate(`[...document.querySelectorAll('.pg')].map((p, i) => { + const r = p.getBoundingClientRect(); const bad = []; + p.querySelectorAll('*').forEach(el => { const b = el.getBoundingClientRect(); + if (b.width && !el.closest('.bleed,.hd,.ft') && (b.right > r.right - 63.5 || b.bottom > r.top + 912 || b.left < r.left + 63.5)) bad.push(String(el.className && el.className.baseVal !== undefined ? el.className.baseVal : el.className) || el.tagName); }); + return bad.length ? (i + 1) + ': ' + [...new Set(bad)].slice(0, 4).join(' | ') : null; }).filter(Boolean)`); + if (overflow.length) console.log("overflow:", overflow); + + const pngDir = join(here, "png"); + rmSync(pngDir, { recursive: true, force: true }); + mkdirSync(pngDir, { recursive: true }); + for (let i = 0; i < pages; i += 1) { + const shot = await cmd("Page.captureScreenshot", { format: "png", captureBeyondViewport: true, + clip: { x: 0, y: i * 1000, width: 1440, height: 1000, scale: 1 } }); + writeFileSync(join(pngDir, `${String(i + 1).padStart(2, "0")}.png`), Buffer.from(shot.data, "base64")); + } + const pdf = await cmd("Page.printToPDF", { printBackground: true, preferCSSPageSize: true, + displayHeaderFooter: false, marginTop: 0, marginBottom: 0, marginLeft: 0, marginRight: 0, generateTaggedPDF: true }); + const out = join(root, "brand/space-works-brand-guidelines-v2.pdf"); + writeFileSync(out, Buffer.from(pdf.data, "base64")); + console.log(`PDF ${out} ${(statSync(out).size / 1048576).toFixed(2)} MB, ${pages} pages`); + await cmd("Browser.close").catch(() => {}); + ws.close(); + } finally { + const exited = new Promise((r) => (edge.exitCode !== null ? r() : edge.once("exit", r))); + await Promise.race([exited, sleep(3000)]); + if (edge.exitCode === null) { edge.kill(); await Promise.race([exited, sleep(3000)]); } + // Edge's helper processes can hold the profile for a moment after the browser exits. + for (let i = 0; i < 20; i += 1) { + try { rmSync(profile, { recursive: true, force: true }); break; } catch { await sleep(500); } + } + if (existsSync(profile)) console.warn(`could not remove ${profile}; delete it by hand`); + } +} + +const pages = assemble(); +console.log(`assembled ${pages} pages`); +if (!process.argv.includes("--html")) await render(pages); diff --git a/brand/guidelines-v2/png/01.png b/brand/guidelines-v2/png/01.png new file mode 100644 index 0000000..d752386 Binary files /dev/null and b/brand/guidelines-v2/png/01.png differ diff --git a/brand/guidelines-v2/png/02.png b/brand/guidelines-v2/png/02.png new file mode 100644 index 0000000..b5786be Binary files /dev/null and b/brand/guidelines-v2/png/02.png differ diff --git a/brand/guidelines-v2/png/03.png b/brand/guidelines-v2/png/03.png new file mode 100644 index 0000000..92f9d64 Binary files /dev/null and b/brand/guidelines-v2/png/03.png differ diff --git a/brand/guidelines-v2/png/04.png b/brand/guidelines-v2/png/04.png new file mode 100644 index 0000000..7ccbf5e Binary files /dev/null and b/brand/guidelines-v2/png/04.png differ diff --git a/brand/guidelines-v2/png/05.png b/brand/guidelines-v2/png/05.png new file mode 100644 index 0000000..f966043 Binary files /dev/null and b/brand/guidelines-v2/png/05.png differ diff --git a/brand/guidelines-v2/png/06.png b/brand/guidelines-v2/png/06.png new file mode 100644 index 0000000..39e0f94 Binary files /dev/null and b/brand/guidelines-v2/png/06.png differ diff --git a/brand/guidelines-v2/png/07.png b/brand/guidelines-v2/png/07.png new file mode 100644 index 0000000..04d1aa3 Binary files /dev/null and b/brand/guidelines-v2/png/07.png differ diff --git a/brand/guidelines-v2/png/08.png b/brand/guidelines-v2/png/08.png new file mode 100644 index 0000000..613237d Binary files /dev/null and b/brand/guidelines-v2/png/08.png differ diff --git a/brand/guidelines-v2/png/09.png b/brand/guidelines-v2/png/09.png new file mode 100644 index 0000000..850e83e Binary files /dev/null and b/brand/guidelines-v2/png/09.png differ diff --git a/brand/guidelines-v2/png/10.png b/brand/guidelines-v2/png/10.png new file mode 100644 index 0000000..b97e3ae Binary files /dev/null and b/brand/guidelines-v2/png/10.png differ diff --git a/brand/guidelines-v2/png/11.png b/brand/guidelines-v2/png/11.png new file mode 100644 index 0000000..5a267ec Binary files /dev/null and b/brand/guidelines-v2/png/11.png differ diff --git a/brand/guidelines-v2/png/12.png b/brand/guidelines-v2/png/12.png new file mode 100644 index 0000000..1aa914f Binary files /dev/null and b/brand/guidelines-v2/png/12.png differ diff --git a/brand/guidelines-v2/png/13.png b/brand/guidelines-v2/png/13.png new file mode 100644 index 0000000..c1c4f8e Binary files /dev/null and b/brand/guidelines-v2/png/13.png differ diff --git a/brand/guidelines-v2/png/14.png b/brand/guidelines-v2/png/14.png new file mode 100644 index 0000000..349246b Binary files /dev/null and b/brand/guidelines-v2/png/14.png differ diff --git a/brand/guidelines-v2/png/15.png b/brand/guidelines-v2/png/15.png new file mode 100644 index 0000000..a5e2415 Binary files /dev/null and b/brand/guidelines-v2/png/15.png differ diff --git a/brand/guidelines-v2/png/16.png b/brand/guidelines-v2/png/16.png new file mode 100644 index 0000000..8a0e0ee Binary files /dev/null and b/brand/guidelines-v2/png/16.png differ diff --git a/brand/guidelines-v2/png/17.png b/brand/guidelines-v2/png/17.png new file mode 100644 index 0000000..2a0bb7e Binary files /dev/null and b/brand/guidelines-v2/png/17.png differ diff --git a/brand/guidelines-v2/png/18.png b/brand/guidelines-v2/png/18.png new file mode 100644 index 0000000..16d483e Binary files /dev/null and b/brand/guidelines-v2/png/18.png differ diff --git a/brand/guidelines-v2/png/19.png b/brand/guidelines-v2/png/19.png new file mode 100644 index 0000000..822b906 Binary files /dev/null and b/brand/guidelines-v2/png/19.png differ diff --git a/brand/guidelines-v2/png/20.png b/brand/guidelines-v2/png/20.png new file mode 100644 index 0000000..dd35a3b Binary files /dev/null and b/brand/guidelines-v2/png/20.png differ diff --git a/brand/guidelines-v2/png/21.png b/brand/guidelines-v2/png/21.png new file mode 100644 index 0000000..6f5654f Binary files /dev/null and b/brand/guidelines-v2/png/21.png differ diff --git a/brand/guidelines-v2/png/22.png b/brand/guidelines-v2/png/22.png new file mode 100644 index 0000000..78b3148 Binary files /dev/null and b/brand/guidelines-v2/png/22.png differ diff --git a/brand/guidelines-v2/png/23.png b/brand/guidelines-v2/png/23.png new file mode 100644 index 0000000..d7462dc Binary files /dev/null and b/brand/guidelines-v2/png/23.png differ diff --git a/brand/guidelines-v2/png/24.png b/brand/guidelines-v2/png/24.png new file mode 100644 index 0000000..8fcf702 Binary files /dev/null and b/brand/guidelines-v2/png/24.png differ diff --git a/brand/guidelines-v2/png/25.png b/brand/guidelines-v2/png/25.png new file mode 100644 index 0000000..5a11668 Binary files /dev/null and b/brand/guidelines-v2/png/25.png differ diff --git a/brand/guidelines-v2/png/26.png b/brand/guidelines-v2/png/26.png new file mode 100644 index 0000000..0a07de3 Binary files /dev/null and b/brand/guidelines-v2/png/26.png differ diff --git a/brand/guidelines-v2/png/27.png b/brand/guidelines-v2/png/27.png new file mode 100644 index 0000000..6114a45 Binary files /dev/null and b/brand/guidelines-v2/png/27.png differ diff --git a/brand/guidelines-v2/png/28.png b/brand/guidelines-v2/png/28.png new file mode 100644 index 0000000..e4f5005 Binary files /dev/null and b/brand/guidelines-v2/png/28.png differ diff --git a/brand/guidelines-v2/png/29.png b/brand/guidelines-v2/png/29.png new file mode 100644 index 0000000..df1744d Binary files /dev/null and b/brand/guidelines-v2/png/29.png differ diff --git a/brand/guidelines-v2/png/30.png b/brand/guidelines-v2/png/30.png new file mode 100644 index 0000000..d54b1b3 Binary files /dev/null and b/brand/guidelines-v2/png/30.png differ diff --git a/brand/guidelines-v2/png/31.png b/brand/guidelines-v2/png/31.png new file mode 100644 index 0000000..e46bc10 Binary files /dev/null and b/brand/guidelines-v2/png/31.png differ diff --git a/brand/guidelines-v2/png/32.png b/brand/guidelines-v2/png/32.png new file mode 100644 index 0000000..bdec433 Binary files /dev/null and b/brand/guidelines-v2/png/32.png differ diff --git a/brand/guidelines-v2/png/33.png b/brand/guidelines-v2/png/33.png new file mode 100644 index 0000000..75844b2 Binary files /dev/null and b/brand/guidelines-v2/png/33.png differ diff --git a/brand/guidelines-v2/png/34.png b/brand/guidelines-v2/png/34.png new file mode 100644 index 0000000..c29ba68 Binary files /dev/null and b/brand/guidelines-v2/png/34.png differ diff --git a/brand/guidelines-v2/png/35.png b/brand/guidelines-v2/png/35.png new file mode 100644 index 0000000..0ba6c11 Binary files /dev/null and b/brand/guidelines-v2/png/35.png differ diff --git a/brand/guidelines-v2/png/36.png b/brand/guidelines-v2/png/36.png new file mode 100644 index 0000000..393199d Binary files /dev/null and b/brand/guidelines-v2/png/36.png differ diff --git a/brand/guidelines-v2/png/37.png b/brand/guidelines-v2/png/37.png new file mode 100644 index 0000000..f9e330f Binary files /dev/null and b/brand/guidelines-v2/png/37.png differ diff --git a/brand/guidelines-v2/png/38.png b/brand/guidelines-v2/png/38.png new file mode 100644 index 0000000..aa21b2c Binary files /dev/null and b/brand/guidelines-v2/png/38.png differ diff --git a/brand/guidelines-v2/png/39.png b/brand/guidelines-v2/png/39.png new file mode 100644 index 0000000..4b8d340 Binary files /dev/null and b/brand/guidelines-v2/png/39.png differ diff --git a/brand/guidelines-v2/png/40.png b/brand/guidelines-v2/png/40.png new file mode 100644 index 0000000..f4e55f6 Binary files /dev/null and b/brand/guidelines-v2/png/40.png differ diff --git a/brand/guidelines-v2/png/41.png b/brand/guidelines-v2/png/41.png new file mode 100644 index 0000000..5fa76cf Binary files /dev/null and b/brand/guidelines-v2/png/41.png differ diff --git a/brand/guidelines-v2/png/42.png b/brand/guidelines-v2/png/42.png new file mode 100644 index 0000000..ee7dd4f Binary files /dev/null and b/brand/guidelines-v2/png/42.png differ diff --git a/brand/guidelines-v2/png/43.png b/brand/guidelines-v2/png/43.png new file mode 100644 index 0000000..365bb30 Binary files /dev/null and b/brand/guidelines-v2/png/43.png differ diff --git a/brand/guidelines-v2/png/44.png b/brand/guidelines-v2/png/44.png new file mode 100644 index 0000000..5f8c4cd Binary files /dev/null and b/brand/guidelines-v2/png/44.png differ diff --git a/brand/guidelines-v2/png/45.png b/brand/guidelines-v2/png/45.png new file mode 100644 index 0000000..4212385 Binary files /dev/null and b/brand/guidelines-v2/png/45.png differ diff --git a/brand/guidelines-v2/png/46.png b/brand/guidelines-v2/png/46.png new file mode 100644 index 0000000..092bb6e Binary files /dev/null and b/brand/guidelines-v2/png/46.png differ diff --git a/brand/guidelines-v2/png/47.png b/brand/guidelines-v2/png/47.png new file mode 100644 index 0000000..7bd91e1 Binary files /dev/null and b/brand/guidelines-v2/png/47.png differ diff --git a/brand/guidelines-v2/png/48.png b/brand/guidelines-v2/png/48.png new file mode 100644 index 0000000..8652547 Binary files /dev/null and b/brand/guidelines-v2/png/48.png differ diff --git a/brand/guidelines-v2/png/49.png b/brand/guidelines-v2/png/49.png new file mode 100644 index 0000000..1b6214a Binary files /dev/null and b/brand/guidelines-v2/png/49.png differ diff --git a/brand/guidelines-v2/png/50.png b/brand/guidelines-v2/png/50.png new file mode 100644 index 0000000..9f44d3e Binary files /dev/null and b/brand/guidelines-v2/png/50.png differ diff --git a/brand/guidelines-v2/src/generated.css b/brand/guidelines-v2/src/generated.css new file mode 100644 index 0000000..a08177d --- /dev/null +++ b/brand/guidelines-v2/src/generated.css @@ -0,0 +1,161 @@ +/* Generated by build.mjs from tokens/tokens.json. Do not edit. */ +:root { + --b-deep-ink: 20 44 42; + --b-maker-teal: 0 110 99; + --b-workshop-orange: 255 116 71; + --b-citron: 223 255 143; + --b-sky-blue: 181 205 255; + --b-warm-yellow: 255 212 71; + --b-warm-cream: 255 244 232; + --dk-line: 44 44 44; + --dk-ink: 255 244 232; + --dk-muted: 172 172 172; +} +.th-light { + --color-bg: 255 244 232; + --color-surface: 246 236 224; + --color-panel: 255 255 255; + --color-hover: 239 230 219; + --color-line: 213 208 198; + --color-outline: 130 138 131; + --color-ink: 20 44 42; + --color-muted: 91 104 99; + --color-focus: 0 110 99; + --color-accent: 0 110 99; + --color-accent-hover: 2 103 93; + --color-accent-active: 4 97 88; + --color-on-accent: 255 244 232; + --color-accent-soft: 224 238 236; + --color-accent-ink: 0 110 99; + --color-brand: 0 110 99; + --color-brand-hover: 2 103 93; + --color-brand-active: 4 97 88; + --color-on-brand: 255 244 232; + --color-brand-soft: 224 238 236; + --color-brand-ink: 0 110 99; + --color-brand-boundary: 0 110 99; + --color-emphasis: 255 116 71; + --color-emphasis-hover: 255 129 87; + --color-emphasis-active: 255 142 103; + --color-on-emphasis: 20 44 42; + --color-emphasis-soft: 255 238 233; + --color-success: 223 255 143; + --color-success-hover: 203 234 133; + --color-success-active: 182 213 123; + --color-on-success: 20 44 42; + --color-success-soft: 251 255 242; + --color-success-ink: 83 109 73; + --color-warn: 255 212 71; + --color-warn-hover: 232 195 68; + --color-warn-active: 208 178 65; + --color-on-warn: 20 44 42; + --color-warn-soft: 255 250 233; + --color-warn-ink: 105 104 52; + --color-info: 181 205 255; + --color-info-hover: 165 189 234; + --color-info-active: 149 173 212; + --color-on-info: 20 44 42; + --color-info-soft: 246 249 255; + --color-info-ink: 81 105 123; + --color-danger: 185 28 28; + --color-danger-hover: 153 27 27; + --color-danger-active: 133 30 29; + --color-on-danger: 255 244 232; + --color-danger-line: 252 165 165; + --color-sidebar: 223 255 143; + --color-sidebar-hover: 242 255 210; + --color-sidebar-active: 0 110 99; + --color-scrim: 20 44 42; + --chart-1: 0 110 99; + --chart-2: 255 116 71; + --chart-3: 223 255 143; + --chart-4: 181 205 255; + --chart-5: 255 212 71; + --chart-edge: 20 44 42; + --chart-danger: 185 28 28; + --loader-under: 53 72 69; + --loader-spark: 20 44 42; + --loader-seam: 20 44 42; +} +.th-dark { + --color-bg: 0 0 0; + --color-surface: 11 11 11; + --color-panel: 20 20 20; + --color-hover: 28 28 28; + --color-line: 44 44 44; + --color-outline: 120 120 120; + --color-ink: 255 244 232; + --color-muted: 172 172 172; + --color-focus: 223 255 143; + --color-accent: 0 110 99; + --color-accent-hover: 2 103 93; + --color-accent-active: 4 97 88; + --color-on-accent: 255 244 232; + --color-accent-soft: 18 29 28; + --color-accent-ink: 128 177 166; + --color-brand: 0 110 99; + --color-brand-hover: 2 103 93; + --color-brand-active: 4 97 88; + --color-on-brand: 255 244 232; + --color-brand-soft: 18 29 28; + --color-brand-ink: 128 177 166; + --color-brand-boundary: 128 177 166; + --color-emphasis: 255 116 71; + --color-emphasis-hover: 255 129 87; + --color-emphasis-active: 255 142 103; + --color-on-emphasis: 20 44 42; + --color-emphasis-soft: 34 26 23; + --color-success: 223 255 143; + --color-success-hover: 203 234 133; + --color-success-active: 182 213 123; + --color-on-success: 20 44 42; + --color-success-soft: 32 34 27; + --color-success-ink: 233 252 170; + --color-warn: 255 212 71; + --color-warn-hover: 232 195 68; + --color-warn-active: 208 178 65; + --color-on-warn: 20 44 42; + --color-warn-soft: 34 32 23; + --color-warn-ink: 255 222 119; + --color-info: 181 205 255; + --color-info-hover: 165 189 234; + --color-info-active: 149 173 212; + --color-on-info: 20 44 42; + --color-info-soft: 30 31 34; + --color-info-ink: 203 217 248; + --color-danger: 252 165 165; + --color-danger-hover: 253 185 182; + --color-danger-active: 253 201 195; + --color-on-danger: 20 44 42; + --color-danger-line: 124 98 97; + --color-sidebar: 11 11 11; + --color-sidebar-hover: 28 28 28; + --color-sidebar-active: 0 110 99; + --color-scrim: 0 0 0; + --chart-1: 0 110 99; + --chart-2: 255 116 71; + --chart-3: 223 255 143; + --chart-4: 181 205 255; + --chart-5: 255 212 71; + --chart-edge: 255 244 232; + --chart-danger: 252 165 165; + --loader-under: 102 98 93; + --loader-spark: 255 244 232; + --loader-seam: 0 0 0; +} +.card-light { + --card-background: 255 244 232; + --card-text: 20 44 42; + --card-label: 0 110 99; + --card-header: 0 110 99; + --card-ribbon: 223 255 143; + --card-tail: 255 116 71; +} +.card-dark { + --card-background: 20 44 42; + --card-text: 255 244 232; + --card-label: 223 255 143; + --card-header: 0 110 99; + --card-ribbon: 223 255 143; + --card-tail: 255 116 71; +} diff --git a/brand/guidelines-v2/src/index.html b/brand/guidelines-v2/src/index.html new file mode 100644 index 0000000..3ec9693 --- /dev/null +++ b/brand/guidelines-v2/src/index.html @@ -0,0 +1,1692 @@ + + + + +Space Works Design System v2.0 · Brand guidelines v2 + + + + + + + + +
    space works / brand guidelinesIDENTITY SYSTEM
    Design System v2.0 · Brand guidelines v201
    +
    + space works +
    +
    Less searching.
    More making.
    +
    +
    +
    +
    +
    +
    Design System v2.0
    +
    Brand guidelines v2 · November 2026
    +
    Supersedes brand guidelines v1 wherever the two differ.
    +
    +
    + Ships alongside SpaceWorks 0.12.0
    Light and dark · Motion · Product +
    +
    +
    + + +
    space works / brand guidelinesCONTENTS
    Design System v2.0 · Brand guidelines v202
    +
    +

    Contents.

    +

    Everything from v1 that is still true, and everything that changed alongside SpaceWorks 0.12.0.

    +
    +
    1. 01Brand idea and voice04
    2. 02Logo07
    3. 03Logo in motion and loader12
    4. 04Colour, status and charts17
    5. 05Typography and the font limitation25
    6. 06Light and dark theming30
    7. 07Motion32
    8. 08Graphics, icons and imagery36
    9. 09Mascot: Patch39
    10. 10Components, UX, rules and accessibility41
    11. 11Applications45
    12. 12Resources and colophon49
    +
    How to read the pages
    +
    +

    Cream pages show rules and the light theme.

    +

    Black pages show the dark theme, as it ships.

    +

    Split pages put the same thing in light and dark, side by side.

    +

    Citron pages are principles; Deep Ink pages are brand and print.

    +
    +
    +
    +
    + + +
    space works / brand guidelinesWHAT'S NEW IN V2
    Design System v2.0 · Brand guidelines v203
    +
    +

    What changed since v1.

    +

    Brand guidelines v2 follow the product as it ships in SpaceWorks 0.12.0. Where v1 and v2 differ, v2 wins.

    +
    + + + + + + + + + + + + + +
    Areav1 saidv2 saysDecision
    TypographyGilroy Regular to Bold for everything; Unbounded for accents.Only the free Gilroy weights ship: ExtraBold 800 for display, Light 300 for light display text. Outfit (OFL) for body, labels and controls. Unbounded stays for one phrase.299
    Dark themeDeep Ink and teal as dark surfaces.One solid black neutral family: page #000000, layers 11, 20, 28. Teal, Citron and Orange are accents only.225, 316
    LogoStatic masters only.Same masters. The mark now folds shut and opens on hover and keyboard focus (600 + 1600 ms). Tenant logos never animate.362
    LoadingNot covered.One loader everywhere: the box that opens. Cold-start splash, page loader, inline spinner, mono in buttons.313, 322
    MotionNot covered.Three durations, three curves, distance tokens, a which-animation-where table and a reduced-motion floor.323
    Colour rolesSeven colours and four tested pairs.Product tokens for both themes: fills vs inks, line vs outline, status softs, scrim, chart series and loader colours.316, 363
    ChartsNot covered.Five bright brand colours as series, the same hex in both themes; a 1 px edge on fills and a 4 px casing under lines carry the contrast.SW-380
    StatusAdd a word or icon.The word is mandatory. Small marks are solid in both themes; large callouts go soft in dark.D6
    New sections17 pages.Logo in motion, theming, charts, mascot Patch, components, UX patterns, product rules, accessibility, ID cards, signage and social.
    +

    Unchanged: the purpose and personality, the seven brand colours, the logo masters, clear space (H ÷ 4), minimum sizes and the voice.

    +
    +
    +
    + + +
    space works / brand guidelines01 / BRAND
    Design System v2.0 · Brand guidelines v204
    +
    +

    Less searching. More making.

    +

    Free, open software for the people running makerspaces and tool libraries.

    +
    +
    Find it.
    Use it.
    Make something.
    +
    +
    Our purpose
    +

    Help teams keep shared parts, tools and materials organised, and prove every handover.

    +
    Our personality
    +

    Clear. Capable.
    Curious. Playful.

    +

    Carried over from v1 unchanged. What grew is the product: loans, machines, events, bookings and membership now sit under the same name.

    +
    +
    +
    +
    + + +
    space works / brand guidelines01 / BRAND
    Design System v2.0 · Brand guidelines v205
    +
    +

    An open invitation.

    +

    A familiar box, built for a space full of possibilities. In v2 the box also moves.

    +
    + +
    +
    Open
    +

    Four flaps invite the next project.

    +
    Organised
    +

    A clear structure gives every part a place.

    +
    Energetic
    +

    Teal grounds it. Orange gets it moving.

    +
    Alive New
    +

    The box opens when something loads, and when you point at it.

    +
    +
    +
    +
    + + +
    space works / brand guidelines01 / BRAND
    Design System v2.0 · Brand guidelines v206
    +
    +

    Sound like a helpful maker.

    +

    Clear, warm and specific. Make the next step easy.

    +
    +
    Say
    Skip
    + + + + + + + + + +
    Find the right part.Optimise your asset ecosystem.
    No parts added yet. Add your first item.Inventory database is empty.
    Couldn't save. Try again.Oops! Something went horribly wrong.
    Filters, 3 activeFilters (3)
    Areas and add-onsModules, capabilities, tenant settings
    Partly returned · 2 leftpartially_returned · 409
    +
    +

    Whole sentences. Translate full sentences with real plurals, never fragments glued together.

    +

    No internal words. People never see “tenant”, “module key” or a raw status code.

    +

    Names. In copy: Space Works. Wordmark: space works. One name per thing.

    +
    +
    +
    +
    + + +
    space works / brand guidelines02 / LOGO
    Design System v2.0 · Brand guidelines v207
    +
    +

    One name. A flexible family.

    +

    Use the supplied masters in logo/. Keep the spelling and the lowercase wordmark intact.

    +
    +
    +
    + +
    Primary / lockup-stacked
    +
    +
    + +
    Symbol / recognition at a glance
    +
    +
    + +
    Horizontal / narrow headers
    +
    +
    + +
    Reversed / dark theme and Deep Ink
    +
    +
    +

    Ten masters: symbol, stacked and horizontal lockups, each in full colour, reversed Cream and one-colour Deep Ink, plus the app icon. SVG with matching 4× PNG. Wordmarks are outlined, so no font is needed to draw the logo.

    +
    +
    +
    + + +
    space works / brand guidelines02 / LOGO
    Design System v2.0 · Brand guidelines v208
    +
    +

    Room to breathe.

    +

    Keep the lockup together. Measure visible artwork.

    +
    +
    +
    X
    +
    X
    + +

    H = symbol height. Scale the supplied master as one object.

    +
    +
    1.25×

    Symbol / stacked wordmark height

    +
    H ÷ 6

    Gap between symbol and wordmark

    +
    H ÷ 4

    Clear space on every side

    +

    The animated mark keeps this box. It opens inside the symbol's own frame and never changes size or shifts layout.

    +
    +
    +
    +
    + + +
    space works / brand guidelines02 / LOGO
    Design System v2.0 · Brand guidelines v209
    +
    +

    Keep it legible.

    +

    Minimums from v1, and where each master sits in the product today.

    +
    +
    +
    +
    48 px

    Symbol height

    +
    180 px

    Stacked lockup width

    +
    +
    In print
    +
    12 mm symbol / 40 mm lockup
    +

    Proof at actual size before production.

    +
    App icon
    +
    + +

    Symbol about 62 % of the tile on a Warm Cream field. Favicons and PWA icons are rasterised from app-icon.svg.

    +
    +
    +
    + + + + + + + + + + + + + +
    PlacementMaster (light / dark)Size
    Console sidebar, 1024 px and uplockup-stacked / -reversed180 px wide
    Phone top barsymbol / symbol-reversed48 px
    Public header, 768 px and uplockup-horizontal / -reversedsymbol 48 px
    Public header, phonessymbol / symbol-reversed48 px
    Sign-in brand panellockup-stacked on Cream240–320 px
    Control plane sidebarlockup-horizontal / -reversed288 px
    Email headerlockup-stacked PNG @2×180 px
    Social cardlockup-stacked on Cream 1200 × 630600 px
    Touch icon / PWAapp-icon, maskable180 · 192 · 512
    +

    Below 48 px (favicons at 16 and 32) test a dedicated small-size asset. The logo component clamps its size to these minimums and takes no colour or transform overrides.

    +
    +
    +
    +
    + + +
    space works / brand guidelines02 / LOGO
    Design System v2.0 · Brand guidelines v210
    +
    +

    Choose the right background.

    +

    Full colour on light grounds. Reversed Cream on dark grounds. One colour for single-colour print.

    +
    +
    +
    01 Full colour / Warm Cream
    +
    02 One colour / Deep Ink on white
    +
    03 Full colour / Citron
    +
    04 Reversed / Deep Ink (print)
    +
    05 Reversed / dark theme black New
    +
    06 Reversed / Maker Teal
    +
    +

    In the product the logo component picks the master from the painted theme, and takes a ground override for a surface that is always dark, such as an ink island in a light page.

    +
    +
    +
    + + +
    space works / brand guidelines02 / LOGO
    Design System v2.0 · Brand guidelines v211
    +
    +

    Keep the system intact.

    +

    The box is a fixed piece of artwork. Treat it as one recognisable unit, in every theme.

    +
    +
    +
    01 Don't stretch
    +
    02 Don't rotate
    +
    + + + + + + + +
    03 Don't recolour panels
    +
    04 Don't lose dark panels
    +
    05 Don't add effects
    +
    Space
    Works
    06 Don't change the type
    +
    07 Don't put full colour on black
    +
    Since 2019
    08 Don't crowd the clear space
    +
    +

    Also never: fork the box geometry or keyframes, loop the mark outside the loader, or animate a tenant (makerspace) logo.

    +
    +
    +
    + + +
    space works / brand guidelines03 / LOGO IN MOTION
    Design System v2.0 · Brand guidelines v212
    +
    +

    The box opens.

    +

    One piece of artwork, generated from the logo masters, plays three jobs. Nothing else in the brand moves like this.

    +
    +
    +
    +
    +
    Splash · once per cold load
    +
    1600 ms
    +

    On a cold page load the box opens, then flies into the header logo. The first screen is never blank.

    +
    +
    +
    +
    Loader · loops while loading
    +
    4400 ms
    +

    Open, hold, fold shut, repeat. The only loading indicator in the product, from a page down to a button.

    +
    +
    +
    +
    Hover and focus · once
    +
    600 + 1600 ms
    +

    Point at the mark, or tab to it, and it folds shut and opens back. Every Space Works logo, never a tenant's.

    +
    +
    +
    + + +

    See all three play: spaceworks-labs.github.io/SpaceWorks-Design-System/motion/box-open/
    Frames on the following pages are frozen from the shipped CSS, motion/box-open/box-open.css, not redrawn.

    +
    +
    +
    +
    + + +
    space works / brand guidelines03 / LOGO IN MOTION
    Design System v2.0 · Brand guidelines v213
    +
    +

    Splash: one opening.

    +

    Plays once on a cold load, before the app mounts. Flaps open bottom-left, top-left, bottom-right, top-right.

    +
    +
    Light · on Warm Cream
    +
    0 msClosed
    200 ms
    400 msFlaps lift
    600 ms
    800 msOpen
    1.0 sSettle
    1.2 sSparks
    1.4 s
    1.6 sOpen logo
    +
    Dark · on #000
    +
    0 msClosed
    200 ms
    400 msFlaps lift
    600 ms
    800 msOpen
    1.0 sSettle
    1.2 sSparks
    1.4 s
    1.6 sOpen logo
    +
    +

    Inline, before the app. A generated block in index.html shows it, so a slow first load still shows the brand, then hands off to the header logo.

    +

    Background follows the theme. Warm Cream #FFF4E8 in light, #000000 in dark; the meta theme colour matches.

    +

    Reduced motion. The still, open logo shows at once. Total time on screen is about 1.2 to 1.6 s, never a wall.

    +
    +
    +
    +
    + + +
    space works / brand guidelines03 / LOGO IN MOTION
    Design System v2.0 · Brand guidelines v214
    +
    +

    Loader: open, hold, fold, repeat.

    +

    A 4400 ms cycle for anything that loads for an unknown time. It replaces ring spinners and skeleton shimmer.

    +
    +
    0 msClosed
    400 msOpening
    800 ms
    1.2 s
    1.6 sOpen
    2.0 sHold
    2.4 s
    2.8 sFolding
    3.2 s
    3.6 s
    4.0 sClosed
    +
    0 msClosed
    400 msOpening
    800 ms
    1.2 s
    1.6 sOpen
    2.0 sHold
    2.4 s
    2.8 sFolding
    3.2 s
    3.6 s
    4.0 sClosed
    +
    +
    +
    +
    Open · flap by flap
    +
    Hold open
    +
    Fold shut
    +
    Rest
    +
    +
    01.4 s2.8 s3.7 s4.4 s
    +
    +
    +

    Flaps are stepped, never interpolated. Each flap's matrix() is sampled 160 times per cycle and played with steps(1, end). Browsers glitch when they blend two matrices near edge-on.

    +

    Colours per theme. Box faces are the masters' own colours. Under-face #354845 light, #66625D dark; spark #142C2A / #FFF4E8; the dark seam is the page colour so it vanishes on black.

    +

    Fixed aspect 136 : 126. Width = height × 136 ÷ 126. The box never changes size while it plays, so nothing around it moves.

    +
    +
    +
    +
    + + +
    space works / brand guidelines03 / LOGO IN MOTION
    Design System v2.0 · Brand guidelines v215
    +
    +

    Hover and focus: fold, then open.

    +

    From the resting logo the box folds shut in 600 ms and opens back in 1600 ms. No hold, no snap at either end.

    +
    +
    +
    Fold shut · 600 ms · the loader's fold
    +
    Open · 1600 ms · the splash opening
    +
    +
    0 msResting logo
    150 ms
    300 ms
    450 ms
    600 msShut
    800 ms
    1.0 s
    1.2 s
    1.4 s
    1.6 s
    1.9 s
    2.2 sResting logo
    +
    0 msReversed
    150 ms
    300 ms
    450 ms
    600 msShut
    800 ms
    1.0 s
    1.2 s
    1.4 s
    1.6 s
    1.9 s
    2.2 sReversed
    +
    +

    Starts on pointer-enter of a mouse or pen, or on keyboard :focus-visible. Never on touch: gate on @media (hover: hover).

    +

    Always finishes. Leaving mid-way lets it finish; re-entering while it plays does not restart it. It never loops.

    +

    Reduced motion shows the still mark. The mark never takes focus itself and never changes size.

    +

    One component (AnimatedLogoMark) draws every placement; a guard test fails the build otherwise. Tenant logos never animate.

    +
    +
    +
    +
    + + +
    space works / brand guidelines03 / LOGO IN MOTION
    Design System v2.0 · Brand guidelines v216
    +
    +

    One loader, four sizes.

    +

    Use the box wherever something loads. Never a generic spinner.

    +
    +
    +
    +
    LogoLoader · page or panel · 72 px
    +
    +
    +

    Loading inventory…

    +

    role="status" with a polite label

    +
    +
    +
    +
    Same loader in dark
    +
    +
    +

    Loading inventory…

    +

    Reversed artwork, seam in the page colour

    +
    +
    +
    +
    +
    +
    BoxSpinner · rows and fields · 16–24 px
    +
    +
    Arduino UnoChecking stock… +
    +
    +
    Search parts
    +
    +
    +
    +
    BoxSpinner mono · inside a button
    +
    + Saving + Paying + Deleting + Loading +
    +

    Drawn in currentColor, at the label size. The button keeps its width and sets aria-busy="true".

    +
    +
    +
    +

    Don't ring spinners, progress bars for unknown time, shimmer sweeps, a spinner on every row at once.

    +

    Do pair a Skeleton shape with one box for lists; the still open logo under reduced motion.

    +
    +
    +
    +
    + + +
    space works / brand guidelines04 / COLOUR
    Design System v2.0 · Brand guidelines v217
    +
    +

    Seven colours. One clear system.

    +

    Exact sRGB values, unchanged from v1. Three core colours, three accents and a warm canvas.

    +
    +
    +
    Deep Ink
    #142C2A
    RGB 20, 44, 42
    Text · structure · depth · print dark
    +
    Maker Teal
    #006E63
    RGB 0, 110, 99
    Primary brand · actions
    +
    Workshop Orange
    #FF7447
    RGB 255, 116, 71
    Energy · one bold moment
    +
    +
    +
    Citron
    #DFFF8F
    RGB 223, 255, 143
    Success · light sidebar · dark focus
    +
    Sky Blue
    #B5CDFF
    RGB 181, 205, 255
    Info · supporting
    +
    Warm Yellow
    #FFD447
    RGB 255, 212, 71
    Warn · small highlights
    +
    Warm Cream
    #FFF4E8
    RGB 255, 244, 232
    Light canvas · dark-mode text
    +
    +

    New in v2: each brand colour now has a named job in the product tokens (bottom line of each card). The palette has no red; danger is a sampled red used only for errors and destructive actions.

    +
    +
    +
    + + +
    space works / brand guidelines04 / COLOUR
    Design System v2.0 · Brand guidelines v218
    +
    +

    The product, in light.

    +

    Warm Cream page, white cards, a Citron sidebar. Every value is a token in tokens/tokens.json.

    +
    +
    +
    Neutrals · ratio against the page
    bg#FFF4E8Page
    surface#F6ECE0Layer 1 · sidebar in dark
    panel#FFFFFFCards, dialogs
    hover#EFE6DBHover fill
    line#D5D0C6Divider, decorative1.42 : 1
    outline#828A83Control edges, at least 3:13.27 : 1
    muted#5B6863Secondary text5.37 : 1
    ink#142C2AText13.60 : 1
    focus#006E63Focus ring5.68 : 1
    scrim#142C2ADialog backdrop
    +

    “Aa” on a fill is its fixed on-* label. “Aa” on white is the *-ink text colour. In light, accent-ink equals the fill; the status inks are darkened so they reach 4.5 : 1.

    +
    Accent and status families · fill, hover, active, soft, ink
    accent
    Aa
    fill
    #006E63
    Aa
    hover
    #02675D
    Aa
    active
    #046158
    soft
    #E0EEEC
    Aa
    ink
    #006E63
    emphasis
    Aa
    fill
    #FF7447
    Aa
    hover
    #FF8157
    Aa
    active
    #FF8E67
    soft
    #FFEEE9
    success
    Aa
    fill
    #DFFF8F
    Aa
    hover
    #CBEA85
    Aa
    active
    #B6D57B
    soft
    #FBFFF2
    Aa
    ink
    #536D49
    warn
    Aa
    fill
    #FFD447
    Aa
    hover
    #E8C344
    Aa
    active
    #D0B241
    soft
    #FFFAE9
    Aa
    ink
    #696834
    info
    Aa
    fill
    #B5CDFF
    Aa
    hover
    #A5BDEA
    Aa
    active
    #95ADD4
    soft
    #F6F9FF
    Aa
    ink
    #51697B
    danger
    Aa
    fill
    #B91C1C
    Aa
    hover
    #991B1B
    Aa
    active
    #851E1D
    line
    #FCA5A5
    +
    +
    +
    +
    +
    + + +
    space works / brand guidelines04 / COLOUR
    Design System v2.0 · Brand guidelines v219
    +
    +

    The product, in dark.

    +

    One solid black neutral family. Page #000, layers step up 11, 20, 28. No green anywhere in a surface.

    +
    +
    +
    Neutrals · ratio against the page
    bg#000000Page
    surface#0B0B0BLayer 1 · sidebar in dark
    panel#141414Cards, dialogs
    hover#1C1C1CHover fill
    line#2C2C2CDivider, decorative1.50 : 1
    outline#787878Control edges, at least 3:14.76 : 1
    muted#ACACACSecondary text9.25 : 1
    ink#FFF4E8Text19.36 : 1
    focus#DFFF8FFocus ring18.84 : 1
    scrim#000000Dialog backdrop
    +

    Fills keep their light-theme hex, so a Citron pill is the same Citron in both themes. What changes is every colour that is read as text: inks lift (teal text becomes #80B1A6), danger flips to a soft red with a Deep Ink label, and focus becomes Citron.

    +
    Accent and status families · fill, hover, active, soft, ink
    accent
    Aa
    fill
    #006E63
    Aa
    hover
    #02675D
    Aa
    active
    #046158
    soft
    #121D1C
    Aa
    ink
    #80B1A6
    emphasis
    Aa
    fill
    #FF7447
    Aa
    hover
    #FF8157
    Aa
    active
    #FF8E67
    soft
    #221A17
    success
    Aa
    fill
    #DFFF8F
    Aa
    hover
    #CBEA85
    Aa
    active
    #B6D57B
    soft
    #20221B
    Aa
    ink
    #E9FCAA
    warn
    Aa
    fill
    #FFD447
    Aa
    hover
    #E8C344
    Aa
    active
    #D0B241
    soft
    #222017
    Aa
    ink
    #FFDE77
    info
    Aa
    fill
    #B5CDFF
    Aa
    hover
    #A5BDEA
    Aa
    active
    #95ADD4
    soft
    #1E1F22
    Aa
    ink
    #CBD9F8
    danger
    Aa
    fill
    #FCA5A5
    Aa
    hover
    #FDB9B6
    Aa
    active
    #FDC9C3
    line
    #7C6261
    +
    +
    +
    +
    +
    + + +
    space works / brand guidelines04 / COLOUR
    Design System v2.0 · Brand guidelines v220
    +
    +

    From green-black to solid black.

    +

    Dark was redone three times in one month. Each step fixed a real problem and exposed the next.

    +
    +
    +
    To 15 Oct

    Grey-green, then teal-lit panels. Teal text measured about 1.76 : 1 on the lit panel.

    +
    10 Nov · decision 225

    True black page for OLED, but the layers above it stayed teal-lit.

    +
    11 Nov am · 275, 300

    Black page with teal-tinted surfaces and borders. Surfaces seamed against the page.

    +
    11 Nov · decision 316 · ships

    One neutral black family. Brand colours become accents only.

    +
    +
    + + + + + + + + + + + + +
    TokenBefore (teal-lit)After (solid black)Hex
    bg20 44 420 0 0#000000
    surface25 57 5311 11 11#0B0B0B
    panel31 67 6320 20 20#141414
    line77 109 10344 44 44#2C2C2C
    outline147 161 152120 120 120#787878
    muted199 196 186172 172 172#ACACAC
    accent-ink171 200 188128 177 166#80B1A6
    accent-soft26 74 6918 29 28#121D1C
    +
    +
    Why
    +
      +
    1. 01Two families on one screen fight. Black beside dark green reads as a mistake.
    2. +
    3. 02Tinted surfaces cost contrast. Teal on a teal-lit panel is dim; on neutral black it reads.
    4. +
    5. 03Brand colour works as an accent, not a floor. Teal, Citron and Orange now stand out.
    6. +
    7. 04True black is calmer and cheaper on OLED phones.
    8. +
    +

    Token names never changed, so no screen needed edits. Ink, focus, accent and status fills are unchanged.

    +
    +
    +
    +
    +
    + + +
    space works / brand guidelines04 / COLOUR
    Design System v2.0 · Brand guidelines v221
    +
    +
    +

    Fills are not inks.

    +

    A fill is a background with its own label. An ink is a colour you read. Never use one for the other.

    +
    +
    +
    Light
    +
    +
    Issue itemon-accent on accent · 5.68
    +
    View public pageaccent-ink on panel · 6.16
    +
    2 leftink on Orange · 5.51
    +
    Orange textNo on cream · 2.47
    +
    +
    Two label families
    +

    on-* is fixed. Deep Ink on Citron, Yellow, Sky and Orange; Cream on teal and light danger. Only for text on that tone's solid fill.

    +

    *-ink follows the theme. For standalone text and for text on a *-soft tint. Mixing the two made Citron pills unreadable in dark once.

    +
    +
    +
    Dark
    +
    +
    Issue itemsame fill, same label · 5.68
    +
    View public pageaccent-ink on panel · 7.68
    +
    View public pageNo teal fill as text · 2.99
    +
    Deletedanger flips: Ink on soft red · 7.77
    +
    +
    On black
    +

    Teal as a fill is 3.41 : 1 on the page and 2.99 : 1 on a panel. A selected teal fill always carries a label or a second cue.

    +

    Text, icons and chart marks use accent-ink #80B1A6: teal mixed 50 % with Cream.

    +
    +
    +
    +
    + + +
    space works / brand guidelines04 / COLOUR
    Design System v2.0 · Brand guidelines v222
    +
    +
    +

    Status: a word first.

    +

    Colour helps you scan. The word carries the meaning. Never colour alone.

    +
    +
    +
    Small marks · solid in both themes
    +
    + ReturnedPending approvalAcceptedIssued2 leftClosed with issueDraft +
    +
    Large callouts · solid fill in light
    +
    4 people are waiting for approval. 1 event is still a draft.
    +
    Returned. Photo and remark saved to the record.
    + + + + + + + + + +
    ToneMeans
    successDone, available, paid, returned
    warnWaiting on someone, unpaid, maintenance
    infoAccepted, reserved, waitlisted, completed
    accentIn progress: issued, checked out, running
    emphasisAttention: low stock, counters. Never danger.
    +
    +
    +
    Small marks · identical in dark
    +
    + ReturnedPending approvalAcceptedIssued2 leftClosed with issueDraft +
    +
    Large callouts · soft fill and ink in dark
    +
    4 people are waiting for approval. 1 event is still a draft.
    +
    Returned. Photo and remark saved to the record.
    +
    +

    Why the split? A soft pill in dark looked dim beside the same pill in light, so a table scanned differently per theme. But a full-width pastel slab glares on black.

    +

    Ratios: Citron 13.23, Yellow 10.37, Sky 9.23 with the Deep Ink label. Dark callouts: success 14.52, warn 12.41, info 11.63.

    +

    Danger is only for errors and destructive actions: a panel pill with a danger-line border and danger text.

    +
    +
    +
    +
    +
    + + +
    space works / brand guidelines04 / COLOUR
    Design System v2.0 · Brand guidelines v223
    +
    +

    Readable by design.

    +

    Every ratio below is computed from tokens.json with the WCAG 2.x formula. Text needs 4.5, large text and UI edges 3.

    +
    + + + + + + + + + + + + + + + + + + + +
    PairLightDarkNeeds
    ink on bg / panel13.60 / 14.7519.36 / 16.984.5
    muted on bg / hover5.37 / 4.729.25 / 7.514.5
    accent-ink on panel6.167.684.5
    on-accent on accent5.685.684.5
    on-accent on accent-active6.786.784.5
    on-emphasis on emphasis5.515.514.5
    on-success · on-warn · on-info13.23 · 10.37 · 9.23same fills4.5
    success-ink on success-soft5.6714.524.5
    warn-ink on warn-soft5.5412.414.5
    info-ink on hover (worst light cell)4.6512.034.5
    danger on panel6.479.714.5
    on-danger on danger5.967.774.5
    focus ring on bg5.6818.843
    outline (control edge) on bg / panel3.27 / 3.554.76 / 4.173
    line, decorative only1.421.50none
    +
    +
    Brand pairs (from v1)
    +
    +
    AaCream on teal · 5.68
    +
    AaInk on cream · 13.60
    +
    AaInk on orange · 5.51
    +
    AaInk on citron · 13.23
    +
    AaInk on sky · 9.23
    +
    AaInk on yellow · 10.37
    +
    +

    Never orange text on cream: 2.47 : 1. No translucent text, ever.

    +
    +
    +
    +
    + + +
    space works / brand guidelines04 / COLOUR
    Design System v2.0 · Brand guidelines v224
    +
    +
    +

    Chart colours.

    +

    Five bright brand colours, the same in both themes. An edge carries the contrast, so no fill is ever dulled.

    +
    +
    +
    Bars: 1 px edge on every fillLines: 2 px over a 4 px casing
    + + + + + + + + + + +
    SeriesHex, both themesDashfill on panel
    1 · teal#006E63solid6.16
    2 · orange#FF74478 42.68
    3 · citron#DFFF8F2 41.11
    4 · sky#B5CDFF10 3 2 31.60
    5 · yellow#FFD447solid1.42
    edge#142C2A Deep Ink1 px · 4 px14.75
    +
    +
    +
    Bars: 1 px edge on every fillLines: 2 px over a 4 px casing
    + + + + + + + + +
    In darkHexfill on panel
    1 · teal#006E63 same2.99
    3 · citron#DFFF8F same16.53
    edge#FFF4E8 Cream16.98
    danger#FCA5A5 (light #B91C1C)9.71
    +
      +
    • Edge: 1 px on every filled mark (bars, dots, slices), a 4 px casing under every 2 px line.
    • +
    • Danger is not a series. Use it on purpose for a bad or negative value.
    • +
    • Colour follows the series identity (hashed), plus a dash per series, so it survives sorting and is never the only cue.
    • +
    +
    +
    +
    +
    + + +
    space works / brand guidelines05 / TYPOGRAPHY
    Design System v2.0 · Brand guidelines v225
    +
    +

    Two free weights. No exceptions.

    +

    Only the free Gilroy weights ship. Everything else is set in Outfit. This replaces the four-weight Gilroy of v1.

    +
    +
    +
    Gilroy ExtraBold · 800 · free
    +
    Ready to make.
    +
    Gilroy Light · 300 · free
    +
    Everything in its place.
    +
    Withdrawn · paid weights, no licence held
    +
    + Regular 400 + Medium 500 + SemiBold 600 + Bold 700 +
    +
    +
    +
    Why
    +

    Gilroy is a commercial family. Its author releases Light and ExtraBold free, under an EULA that allows websites (@font-face), graphics, print and embedding in software. Regular to Bold are paid. The project does not hold that licence, so those files were removed from every repository (decision 299, 11 November 2026) and are never re-added.

    +
    What fills the gap
    +

    Outfit (SIL OFL, variable 400–700) takes every role between the two Gilroy weights: body, labels, buttons, table text, numbers and IDs. Unbounded (OFL) keeps its one accent phrase.

    +
    Never
    +
      +
    • Ask the browser for a Gilroy weight that does not ship. Set font-synthesis: none.
    • +
    • Fake a middle weight with a stroke, a shadow or faux bold.
    • +
    • Download a paid weight “just for a mock-up”.
    • +
    +
    +
    +
    +
    + + +
    space works / brand guidelines05 / TYPOGRAPHY
    Design System v2.0 · Brand guidelines v226
    +
    +

    Three families. Clear roles.

    +

    Gilroy for the big moment, Outfit for the work, Unbounded for one phrase.

    +
    +
    +
    +
    Display · Gilroy
    +
    Gilroy
    +
    Everything in its place.
    +
    Less searching, more making.
    +

    800 for display headings, landing heroes and section heads. 300 for light display text such as sub-lines on big pages. Never under 24 px.

    +

    var(--font-display) · fonts/Gilroy-ExtraBold.woff2, Gilroy-Light.woff2

    +
    +
    +
    Interface · Outfit
    +
    Outfit
    +
    +
    Regular 400 · body and inputs
    +
    Medium 500 · labels and nav
    +
    SemiBold 600 · titles, buttons
    +
    Bold 700 · inline strong
    +
    +

    Every interface word. IDs and codes too: ARD-001 · 0042 with tabular figures, never a monospace family.

    +

    var(--font-sans) · fonts/Outfit-Variable.woff2 · OFL

    +
    +
    +
    Accent · Unbounded
    +
    Unbounded
    +
    Make
    room.
    +

    500–600, one short phrase per layout: the landing hero, the sign-in brand panel, an empty-state hero. Never in staff chrome, never a paragraph.

    +

    var(--font-accent) · fonts/Unbounded-Variable.woff2 · OFL

    +
    +
    +
    Weight map · who covers which weight
    +
    +
    Aa300Gilroy Light
    +
    Aa400Outfit
    +
    Aa500Outfit
    +
    Aa600Outfit
    +
    Aa700Outfit
    +
    Aa800Gilroy ExtraBold
    +
    +
    +
    +
    + + +
    space works / brand guidelines05 / TYPOGRAPHY
    Design System v2.0 · Brand guidelines v227
    +
    +

    Fallbacks, per platform.

    +

    Same roles everywhere. Ship the files in fonts/, and know what shows when a face cannot load.

    +
    + + + + + + + + + + +
    PlatformHow the faces shipStack / fallbackWatch for
    WebSelf-hosted WOFF2 through tokens/tokens.css (@font-face, font-display: swap). Gilroy registered at 300 and 800 only."Gilroy", sans-serif
    "Outfit", sans-serif
    "Unbounded", "Outfit", sans-serif
    font-synthesis: none so a 600 heading never fakes Gilroy; use Outfit 600 instead.
    AndroidBundle Outfit and Unbounded (OFL) and the two free Gilroy files as font resources; map display 800 / 300, sans 400–700.Missing face: the system sans (Roboto). Never let display fall to a serif.Compose / XML weights must name 300 and 800 for Gilroy; anything else is Outfit.
    iOSBundle the same files and register them in the app; Dynamic Type scales the roles, not the families.Missing face: San Francisco (system).Do not let the system substitute a Gilroy weight; request Outfit for 400–700.
    PDF and printEmbed the free Gilroy files where the engine allows.Where Gilroy cannot be embedded: Outfit for every role (lesson 22).Card Studio and badges: proof the printed PDF, not the screen.
    EmailWeb fonts are unreliable in mail clients.Outfit if it loads, else the system sans stack; logo always as a PNG @2×.Never set the wordmark in live text.
    LogoOutlined vectors in logo/: no font needed anywhere.n/aNever retype “space works” in any font.
    +
    +

    Licences live beside the files: fonts/LICENSES/Gilroy-Free-Font-EULA.txt, OFL-Outfit.txt, OFL-Unbounded.txt. Read the Gilroy EULA before using the face outside a Space Works product; Outfit and Unbounded are free to use anywhere under the OFL.

    + + +
    +
    +
    +
    + + +
    space works / brand guidelines05 / TYPOGRAPHY
    Design System v2.0 · Brand guidelines v228
    +
    +

    A lean type scale.

    +

    Desktop and phone sizes (size / line height in px). Under 640 px the display sizes drop.

    +
    + + + + + + + + + + + + + +
    RoleDesktopPhoneFaceSample
    Display72 / 7644 / 48Gilroy 800Ready to make.
    Heading48 / 5234 / 40Gilroy 800Everything in its place.
    Accent48 / 5632 / 40Unbounded 500Make room.
    Display sub32 / 3824 / 30Outfit 400Find the right part.
    Page title32 / 3826 / 32Outfit 600Inventory
    Panel title20 / 2820 / 28Outfit 600Recent handovers
    Body16 / 2416 / 24Outfit 400Manage the parts, tools and materials in your space.
    Label · button14 / 2014 / 20Outfit 500 · 600Location View inventory
    Caption · eyebrow12 / 1612 / 16Outfit 500 · 600Updated 2 min ago Electronics
    +

    Stat numbers use Outfit 600 with tabular figures (32 / 38, hero stats 48 / 52). Give phone headers enough height for a two-line title.

    +
    +
    +
    + + +
    space works / brand guidelines05 / TYPOGRAPHY
    Design System v2.0 · Brand guidelines v229
    +
    +

    Type, done right.

    +

    The mistakes that came up most while moving off the paid weights.

    +
    +
    +
    Do
    Book a laser slot.

    Gilroy 800 for the one big heading.

    Display role

    +
    Don't
    Gilroy Light as body text. At reading sizes the thin strokes fade on cream and vanish on black, and long paragraphs tire the eye quickly.

    Light is for display sizes only (24 px and up)

    +
    Don't
    Inventory overview

    Mixing 800 and 300 in one line to fake a hierarchy.

    Use size and Outfit, not a weight clash

    +
    Do
    ARD-001 · Shelf A-03
    Qty 0012 · 0108 · 1440

    IDs in Outfit with tabular figures.

    No monospace family anywhere

    +
    Don't
    Make room.
    Book a bench.
    Settings · Members

    Unbounded twice, or in staff chrome

    +
    Don't
    Couldn't save. Try again.

    Translucent text. Its real colour depends on what is under it.

    Use the opaque muted token

    +
    +
    +
    +
    + + +
    space works / brand guidelines06 / LIGHT AND DARK
    Design System v2.0 · Brand guidelines v230
    +
    +
    +

    Both themes, always.

    +

    The same screen, one class apart. Light is the default; dark is a saved choice or the system setting.

    +
    +
    +
    +
    + +
    +
    +
    +
    Inventory
    + Add item
    +
    Search parts, tools or materials
    +
    +
    ItemLocationStock
    +
    Arduino Uno
    ARD-001
    A-0312 available
    +
    Raspberry Pi 4
    RPI-004
    A-042 left
    +
    Soldering station
    SOL-002
    B-01Issued
    +
    +
    +
    +
      +
    • Citron sidebar, white cards on Warm Cream, no borders needed.
    • +
    • Citron search field with a Deep Ink label.
    • +
    +
    +
    +
    +
    + +
    +
    +
    +
    Inventory
    + Add item
    +
    Search parts, tools or materials
    +
    +
    ItemLocationStock
    +
    Arduino Uno
    ARD-001
    A-0312 available
    +
    Raspberry Pi 4
    RPI-004
    A-042 left
    +
    Soldering station
    SOL-002
    B-01Issued
    +
    +
    +
    +
      +
    • Sidebar is the surface layer with a 1 px line edge; cards get a border, never a shadow.
    • +
    • Search becomes a surface field with a Citron edge, not a glaring slab.
    • +
    +
    +
    +
    +
    + + +
    space works / brand guidelines06 / LIGHT AND DARK
    Design System v2.0 · Brand guidelines v231
    +
    +

    Theming rules.

    +

    What changes between themes is values, artwork and edges. Names, layout and motion stay the same.

    +
    +
    +
    01 · One class

    Dark is html.dark. Every colour is a token redefined under :root.dark. Components read tokens, never hex.

    +
    02 · No flash

    A pre-paint script reads the saved choice before first paint. theme-color is #FFF4E8 light and #000000 dark.

    +
    03 · Artwork per theme

    Logo: full colour on light, reversed Cream on dark. Patch: mascot/dark/. Box: the .dk drawing. Illustrations ship as twins.

    +
    04 · Inks, not fills

    Coloured text and icons use *-ink. Teal as text on black is #80B1A6, never #006E63.

    +
    05 · Edges on black

    Cards and the sidebar get a 1 px line. Anything a person must find (inputs, segmented controls) uses outline, at least 3 : 1.

    +
    06 · Layers, not glow

    Raise by one lightness step: 0, 11, 20, 28. Never skip a step to make something pop, and never add a custom “elevated” grey.

    +
    07 · Islands rejoin

    A Deep Ink panel inside a light page (.sw-island-dark) becomes the black family when the page goes dark. No green fields on black.

    +
    08 · Scrims and shadows

    Scrim is Deep Ink in light, black in dark. A dark dialog separates by being a raised panel with a line, not by its shadow.

    +
    +
    +
    Light
    Email address

    outline 3.55 : 1 on panel

    +
    Dark
    Email address

    outline 4.17 : 1 on panel

    +
    Don't
    Email address

    line 1.32 : 1, the field disappears

    +
    Don't
    Search

    a full Citron slab glares on black

    +
    +

    Checklist for every new page: tokens only · open it in light, dark and system with the OS flipped · themed logo and artwork · no flash on reload · charts use --chart-* · new motion checked in both themes and under reduced motion.

    +
    +
    +
    + + +
    space works / brand guidelines07 / MOTION
    Design System v2.0 · Brand guidelines v232
    +
    +

    Motion shows what changed.

    +

    It never decorates. If removing an animation loses no information, keep it short or drop it.

    +
    +
      +
    1. 01Animate content, not chrome. On a page change only the main area moves; sidebar and top bar stay still.
    2. +
    3. 02Transform and opacity only. No layout properties. Collapses use grid rows 0fr to 1fr, never height.
    4. +
    5. 03Enter decelerates, exit accelerates, and exits are shorter than entrances.
    6. +
    7. 04Nothing on an interaction path runs longer than 240 ms. Longer motion is page- or brand-level and never blocks input.
    8. +
    9. 05Hover is colour only, 120 ms. No lift, scale or shadow. The Space Works mark is the single exception.
    10. +
    +
      +
    1. 06One loader: the box that opens. Never loop anything else, except two decorative touches that reduced motion switches off.
    2. +
    3. 07Reduced motion is a floor, not a flag. Every animation has a still version that carries the same information.
    4. +
    5. 08No hover animation on touch. Gate on @media (hover: hover); keyboard focus still plays.
    6. +
    7. 09Both themes, every time. Motion is colour-neutral, so it behaves the same in light and dark.
    8. +
    9. 10Never block navigation on an animation. A slow page settles after 160 ms and the route goes on.
    10. +
    +
    +
    +
    + + +
    space works / brand guidelines07 / MOTION
    Design System v2.0 · Brand guidelines v233
    +
    +

    Three durations. Three curves.

    +

    Tokens in tokens/tokens.css and under motion in tokens.json. Use names, not numbers.

    +
    +
    +
    +
    --sw-ease-standardmost movement
    + + + + + + +
    cubic-bezier(0.2, 0, 0, 1)
    +
    +
    +
    --sw-ease-enterarrivals, decelerate
    + + + + + + +
    cubic-bezier(0.16, 1, 0.3, 1)
    +
    +
    +
    --sw-ease-exitdepartures, accelerate
    + + + + + + +
    cubic-bezier(0.4, 0, 1, 1)
    +
    +
    +
    +
    +
    Durations · interface
    +
    +
    --sw-dur-fast
    120 mspress, hover, exits, menus
    +
    --sw-dur-base
    180 msoverlays, indicators
    +
    --sw-dur-slow
    240 msroute settle, drawers
    +
    +
    +
    +
    Distances · zero on kiosk, TV and reduced motion
    + + + +
    --sw-enter-y8 pxarrival rise--sw-pop-scale0.98dialog pop
    --sw-pop-offset4 pxmenu drop--sw-slide-x100 %drawer slide
    +

    Brand-level motion is longer on purpose and never on the input path: theme reveal 720 ms, splash 1600 ms, mark 2200 ms, loader 4400 ms.

    +
    +
    +
    Anatomy of a dialog · open, then close
    +
    +
    Scrim fade · 180 · standard
    +
    Pop in · 180 · enter
    +
    Open: focus inside, layer interactive
    +
    Out · 120 · exit
    +
    Scrim · 120
    +

    Arrives from 0.98 scale and 4 px; leaves faster than it came. While closing it stays mounted but inert, so nothing can focus it.

    +
    +
    +
    +
    + + +
    space works / brand guidelines07 / MOTION
    Design System v2.0 · Brand guidelines v234
    +
    +

    Which animation, where.

    +

    When the situation occurs, use the listed default. Don't invent a new animation for a situation that has one.

    +
    + + + + + + + + + + + + + + + + + +
    SituationUseTimingDon't
    Page or panel loadingLogoLoader, 72 px, centred, with a label4400 ms loopGeneric spinner, progress bar
    Button busyBoxSpinner mono, aria-busy16–24 px, currentColorChange the button width
    Route changeView Transition on the main area onlyout 90 ms · in 240 ms + 8 px riseAnimate sidebar or top bar
    Sidebar or tab switchOne sliding indicator box180 ms · standardRepaint each item
    Dialog · drawer · menu · toastpop · drawer · menu · toast, scrim fadesenter 120–240 ms · exit 120–180 msUnmount without the exit
    Expand a groupCollapse (grid rows)180 ms open · 120 ms closeAnimate height
    List first appearsStagger rise, first eight items200 ms, 30 ms apart, 6 pxRe-run on every refetch
    Marketing scrollReveal once on entry640 msReplay on scroll back up
    Hover on anythingColour only120 msTranslate, scale, lift
    The Space Works logoAnimatedLogoMark: fold, then open600 + 1600 ms, onceLoop it, animate a tenant logo
    SuccessStatus toast · verify stamp180 ms in · stamp 420 msConfetti in staff or kiosk flows
    Theme switchCircle reveal from the toggle720 ms; cross-fade fallbackFade surfaces one by one
    Kiosk and TVFades only; slide fade on displays400 msAnything that repaints while idle
    +

    Never animated: layout properties, text swaps in forms, validation errors, focus rings, tables on sort or filter, anything while a person types.

    +
    +
    +
    + + +
    space works / brand guidelines07 / MOTION
    Design System v2.0 · Brand guidelines v235
    +
    +

    Still is a design too.

    +

    Reduced motion, touch screens and shared displays each get their own, equally finished version.

    +
    +
    +
    +
    Reduced motion
    +
    +
    +

    Loader, splash and mark show the still, open logo.

    +
    +
      +
    • Durations drop to 0, distances to 0; only fades remain.
    • +
    • Scroll is instant; View Transitions are skipped.
    • +
    • The scroll story becomes a plain page, top to bottom.
    • +
    • Patch shows frame one; the 404 “z” stops.
    • +
    +

    @media (prefers-reduced-motion: reduce)

    +
    +
    +
    Touch
    +
    +
    +

    A tap never starts the mark's hover opening.

    +
    +
      +
    • Hover effects stick on touch, so gate them on (hover: hover).
    • +
    • Pointer-enter from pointerType "touch" is ignored.
    • +
    • Keyboard :focus-visible still plays it.
    • +
    • Phone sheets rise from the edge they dock to.
    • +
    +

    Applies to the web app on tablets and to the native apps.

    +
    +
    +
    Kiosk and TV
    +
    +
    400 ms
    fade
    +

    Shared screens never slide, scale or loop.

    +
    +
      +
    • .sw-kiosk and .sw-tv zero every distance token.
    • +
    • Display slides cross-fade once, so a Raspberry Pi stays idle between slides.
    • +
    • No confetti, no delight touches in kiosk flows.
    • +
    • No mascot loops on shared screens.
    • +
    +

    Distances: 0 px, scale 1, slide 0 %.

    +
    +
    +
    + + +

    Every animation in the product (where, why, tokens, trigger, reduced motion, dark): spaceworks-labs.github.io/SpaceWorks-Design-System/motion/principles/ and docs/motion.md.

    +
    +
    +
    +
    + + +
    space works / brand guidelines08 / GRAPHIC SYSTEM
    Design System v2.0 · Brand guidelines v236
    +
    +

    Built from the box.

    +

    Use flap shapes as quiet accents. Keep the logo itself intact.

    +
    +
    +
    Make
    room.
    + + + + +
    +
    +
      +
    1. 01Use one bold moment.
    2. +
    3. 02Align to a simple grid.
    4. +
    5. 03Let empty space do its job.
    6. +
    7. 04Flaps are flat shapes. No gradients, no shadows, no outlines.
    8. +
    9. 05In dark artwork the flaps sit on Deep Ink or black, never on a green-tinted grey.
    10. +
    +
    +
    +
    Colour balance · neutral first, accent second
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    In the dark theme
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + +
    space works / brand guidelines08 / GRAPHIC SYSTEM
    Design System v2.0 · Brand guidelines v237
    +
    +

    Useful icons. Text-only nav.

    +

    A 24 px grid, 2 px stroke, round ends. Icons appear only where they earn it; the sidebar never has them.

    +
    +
    +
    SearchSearch fields
    +
    ArchiveStorage
    +
    CpuParts
    +
    MapPinLocation
    +
    Plus“+ Add item”
    +
    ArrowLeft“← All items”
    +
    ArrowUpRightView public page
    +
    ChevronsUpDownSpace switcher
    +
    InfoCallouts
    +
    TriangleAlertWarnings
    +
    CircleCheckSuccess
    +
    EllipsisOverflow menu
    +
    SunLight theme
    +
    MoonDark theme
    +
    LogOutSign out
    +
    +
    +

    Lucide, pinned. The product draws icons with lucide, which already meets the v1 spec: 24 grid, 2 px stroke, round caps and joins. Render at 20 or 16 px.

    +

    Label the unfamiliar. Icon-only buttons need an aria-label and a tooltip; the SVG is aria-hidden.

    +

    Colour follows text. Icons use currentColor, so they take ink, muted or an *-ink in both themes. Never a fill colour.

    +
    +
    + + +

    Neither the brand's own product mock nor the UX reference puts icons in the sidebar, and the phone tabs follow the same rule. Words are faster to scan than a column of look-alike glyphs, and they translate.

    +
    +
    +
    +
    + + +
    space works / brand guidelines08 / GRAPHIC SYSTEM
    Design System v2.0 · Brand guidelines v238
    +
    +
    +

    Show the real space.

    +

    Parts, hands and shared benches. Soft daylight. Honest materials. Never recoloured.

    +
    +
    +
    Illustration twins · light
    +
    + +
    SK
    +
    +

    Plain artwork on light. A tenant logo shown as supplied.

    +
    Photography
    +
      +
    • Real objects and real people at real benches; keep the work in focus.
    • +
    • Soft daylight, honest materials. Avoid staged tech clichés and busy backdrops.
    • +
    • Evidence photos are records, not imagery: never cropped for style, filtered or reused in marketing.
    • +
    +
    +
    +
    Illustration twins · dark
    +
    + +
    SK
    +
    +

    -dark artwork with the Cream sticker border. A tenant logo gets a line edge if it would merge with black.

    +
    On black
    +
      +
    • Every illustration, empty-state glyph and landing graphic ships as a light and dark pair, picked by theme so only one downloads.
    • +
    • Dark artwork keeps its Deep Ink content; it does not turn teal-tinted.
    • +
    • Uploaded photos and tenant logos are never recoloured or inverted.
    • +
    +
    +
    +
    +
    + + +
    space works / brand guidelines09 / MASCOT
    Design System v2.0 · Brand guidelines v239
    +
    +

    Meet Patch.

    +

    A painted wolf with a wrench: the friendly face for empty states and onboarding. The box stays the logo.

    +
    + Patch, the Space Works mascot +
    + + + + + + + + + +
    What painted wolves doWhat it says about Space Works
    No two coats are alike.Very different makers, all one pack.
    They vote by sneezing. Enough sneezes and the pack moves.The community decides together. Everyone gets a voice.
    They look after everyone. Pups eat first; food is brought back to the sick and old.A commons: access for everyone, nobody left behind.
    They succeed as a team.Collaboration over lone genius.
    They are endangered.A real story and a cause worth telling.
    +
    +

    Why “Patch”. The patchwork coat, patching things up, a software patch. Easy to say in any language.

    +

    Honest detail. Sneeze votes are not equal; say “everyone gets a voice”, not “one dog, one vote”.

    +

    Anatomy. Huge round ears, kind dark eyes, silver wrench, Maker Teal badge with a Warm Yellow orbit. Never fierce, never mirrored.

    +
    +
    +
    +
    +
    + + +
    space works / brand guidelines09 / MASCOT
    Design System v2.0 · Brand guidelines v240
    +
    +
    +

    Patch on light and dark.

    +

    On dark surfaces use mascot/dark/: the same art with a thin Warm Cream sticker border.

    +
    +
    +
    + +
    Plain files · light surfaces

    Warm Cream, white and the light brand colours. Patch's dark outline reads at 6 to 14.5 : 1 on cream.

    +
    +
    The sneeze loop · 7 s · eight frames
    +
    +
    0.0 s
    +
    2.0
    +
    3.5
    +
    4.0
    +
    5.3
    +
    5.6
    +
    6.0
    +
    6.6
    +
    +

    Idle, blink, left ear, right ear, sneeze prep, sneeze (the vote), recover, back to idle.

    +
    Where Patch goes
    +
      +
    • Empty states, the 404 page, onboarding, a few still moments, merch.
    • +
    • Never in staff chrome; never looping beside work or on shared screens.
    • +
    +
    +
    +
    + +
    mascot/dark/ · dark surfaces only

    The outline alone measures about 1.0 to 2.3 : 1 on Deep Ink and vanishes. The Cream border (4 px per 256 px) is the one approved outline.

    +
    +
    The same frames, dark set
    +
    +
    0.0 s
    +
    2.0
    +
    3.5
    +
    4.0
    +
    5.3
    +
    5.6
    +
    6.0
    +
    6.6
    +
    +

    Same canvas as the light twin, so a dark file drops in and frames still line up.

    +
    Rules
    +
      +
    • Pick the file from the page theme, so only one downloads.
    • +
    • Reduced motion shows the idle frame only.
    • +
    • Coat browns and the silver wrench belong to the art; never use them as UI colours.
    • +
    +
    +
    +
    +
    + + +
    space works / brand guidelines10 / PRODUCT
    Design System v2.0 · Brand guidelines v241
    +
    +
    +

    Components, calm.

    +

    44 px controls, 10 px corners, 16 px cards, round pills. No shadows except on layers that float.

    +
    +
    +
    Buttons · rest
    +
    SaveCancelEditJoin nowDeleteDisabled
    +
    Fields
    +
    Item name
    Arduino|
    +
    Tabs · segmented · pills
    +
    +
    OverviewHistoryEvidence
    +
    WeekMonth
    +
    +
    AvailableReservedMaintenance3
    +
    Card
    +
    Laser cutterRunning

    Booked until 16:30 · Bay 2

    +
    Primary · rest, hover, active
    +
    SaveSaveSavelabel 5.68 · 6.24 · 6.78
    +
    +
    +
    Buttons · rest
    +
    SaveCancelEditJoin nowDeleteDisabled
    +
    Fields
    +
    Item name
    Arduino|
    +
    Tabs · segmented · pills
    +
    +
    OverviewHistoryEvidence
    +
    WeekMonth
    +
    +
    AvailableReservedMaintenance3
    +
    Card
    +
    Laser cutterRunning

    Booked until 16:30 · Bay 2

    +
    Primary · rest, hover, active
    +
    SaveSaveSavelabel 5.68 · 6.24 · 6.78
    +
    +
    +
    +
    + + +
    space works / brand guidelines10 / PRODUCT
    Design System v2.0 · Brand guidelines v242
    +
    +

    Patterns that carry over.

    +

    What SpaceWorks 0.12.0 settled. Every Space Works app copies these rather than reinventing them.

    +
    +
    +
    Ask areas, not modules

    Setup asks which areas a space runs. What is off is hidden everywhere. Never show internal words.

    +
    Settings by intent

    Seven groups (Space, People, Areas, Money, Communication, Integrations, Administration), search over all, one line of help per row.

    +
    Views per role

    Each area manager sees their whole area; the Space Manager sees it all, grouped by area with totals.

    +
    Five states, not one

    Design loading, empty, no results, offline and error-with-retry for every list, in both themes.

    +
    Shared pager and confirm

    Every list uses the one pager; every destructive action a real confirm dialog with a close button.

    +
    Dialogs that stay put

    Close on the backdrop only if press and release both land there, so a text selection dragged out never closes it.

    +
    Scroll that remembers

    Back restores the position; a new page starts at the top. Focus moves only on a real page change.

    +
    Bulk actions

    A sticky bar appears with the count and a “Clear selection” action.

    +
    Search knows synonyms

    The palette matches both names of a page: Home and dashboard, Notifications and Inbox.

    +
    Colours that fix themselves

    A space picks two colours; the product shows where they apply, checks both themes and offers a one-click fix instead of refusing.

    +
    Simple and advanced

    Card Studio offers Quick and Advanced modes on the same document, and shows the photo consent notice where the photo is taken.

    +
    Motion with a fallback

    A scroll story always has a static version for reduced motion and phones.

    +
    +
    + + +

    Layouts, navigation and screen specs, with screenshots in light, dark and phone: spaceworks-labs.github.io/SpaceWorks-Design-System/ux/patterns/

    +
    +
    +
    +
    + + +
    space works / brand guidelines10 / PRODUCT
    Design System v2.0 · Brand guidelines v243
    +
    +

    Product rules, in short.

    +

    What every Space Works product follows, from the main app to the phone apps.

    +
    +
    +
    Areas

    Everything optional is an area with one registry key. Off means gone everywhere. Switching off keeps data; purge is a separate, deliberate step.

    +
    Role views

    Permissions are actions, not role names. Each person sees only what their role holds; the server refuses too.

    +
    One space, one scope

    Every record belongs to one space and every query is scoped. Public pages never show locations, QR codes or evidence.

    +
    Audit trail

    Every state change writes an append-only audit entry. Evidence is immutable. No issue without a scan and a photo.

    +
    Money

    Record the debt first, add a payment rail second. Minor units with currency, never floats. Idempotent, and the ledger is permanent.

    +
    Analytics

    Counts only: how many, by channel and day, never who. Web, iOS, Android and API clients are tagged.

    +
    API

    Every endpoint in OpenAPI with typed errors. The same authority on web and native tokens; 429 with Retry-After.

    +
    Code size

    About 200 lines per file, 300 at most. Split by responsibility behind a thin barrel; split first, then add.

    +
    Install in one line

    One command asks every question first, changes nothing until you confirm, and runs again to update.

    +
    Hosted or hybrid

    One space, many spaces, or a platform. The website can live here or elsewhere with this as the API.

    +
    Words

    Every string translated as a whole sentence with real plurals. Error codes stay stable; messages translate.

    +
    Tests

    Test what people can observe. The baseline is zero failures, and no test is ever deleted.

    +
    +
    + Installcurl -fsSL https://github.com/SpaceWorks-Labs/SpaceWorks/releases/latest/download/install.sh | sh +
    +
    +
    +
    + + +
    space works / brand guidelines10 / PRODUCT
    Design System v2.0 · Brand guidelines v244
    +
    +

    The accessibility floor.

    +

    Not a target to aim at. The level nothing ships below, in light and dark, with no allow-list.

    +
    +
    +
    4.5 : 1

    Text against every surface it can sit on, including hover and soft fills.

    +
    3 : 1

    Icons, control edges (outline) and focus rings.

    +
    44 px

    Every control's height. One checkbox and radio size.

    +
    2 + 2

    Focus ring: 2 px wide, 2 px offset, opaque focus token.

    +
    +
    +
      +
    • A word for every status. Colour is never the only cue; charts add a dash per series.
    • +
    • No translucent text, and never focus:outline-none.
    • +
    • Everything works from the keyboard. The skip link target always renders; collapsed content is unmounted.
    • +
    • Accessible names match the visible label. Icon-only buttons are named.
    • +
    +
      +
    • Reduced motion is honoured everywhere, with a still version that carries the same information.
    • +
    • Loaders speak: role="status" with a polite label; busy buttons set aria-busy; error toasts are alerts.
    • +
    • Both themes are tested: axe in component tests, and a browser suite (WCAG 2.1 AA, light and dark journeys) fails the build on any violation.
    • +
    • Tenant colours are proven readable in both themes before they render.
    • +
    +
    +
    + Focused button +
    Focused in dark
    +

    Teal ring on light (5.68 : 1), Citron ring on dark (18.84 : 1).

    +
    +
    +
    +
    + + +
    space works / brand guidelines11 / APPLICATIONS
    Design System v2.0 · Brand guidelines v245
    +
    +

    Calm where it counts.

    +

    In the product, the inventory takes the lead. Phones get the same palette, OLED black in dark.

    +
    +
    +
    +
    My loans
    +
    Return by Friday.
    Soldering station · SOL-002
    +
    Arduino UnoIssued
    ARD-001 · since Mon
    +
    Laser slotConfirmed
    Thu 18:00 · Bay 2
    +
    MembershipUnpaid
    INR 500 due 1 Dec
    +
    HomeBorrowBookMe
    +
    +
    +
    My loans
    +
    Return by Friday.
    Soldering station · SOL-002
    +
    Arduino UnoIssued
    ARD-001 · since Mon
    +
    Laser slotConfirmed
    Thu 18:00 · Bay 2
    +
    MembershipUnpaid
    INR 500 due 1 Dec
    +
    HomeBorrowBookMe
    +
    +
    +
    +

    Loading your loans…

    +
    +
    +
    +
    On phones
    +
      +
    • Display 44 / 48, heading 34 / 40, accent 32 / 40.
    • +
    • Member tabs are text-only, like the console sidebar.
    • +
    • Large callouts go soft in dark; pills stay solid.
    • +
    • Sheets rise from the bottom edge.
    • +
    • No hover animation. The loader is the same box.
    • +
    • Use the platform's reduce-motion setting.
    • +
    • Superadmin stays in the browser; the apps refuse it.
    • +
    • Never the platform's automatic dark inversion: two colour sets with the same role names.
    • +
    +
    +
    +
    +
    + + +
    space works / brand guidelines11 / APPLICATIONS
    Design System v2.0 · Brand guidelines v246
    +
    +

    Cards and badges.

    +

    Member cards, staff IDs, event badges and tickets come from Card Studio. Built-in looks ship in light and dark.

    +
    +
    +
    +
    +
    MEMBER
    +
    AN
    +
    Ann Mathew
    +
    Space Works Kochi
    +
    Member ID
    SWK-0042
    Valid to
    Nov 2027
    +
    +
    +
    +
    +
    STAFF
    +
    SA
    +
    Sana Ali
    +
    Inventory Manager
    +
    Staff ID
    SWK-S-007
    Valid to
    Nov 2027
    +
    +
    +
    +
    +
    Aurora look · tokens cards.aurora
    + + + + + + + + + +
    PartLightDark
    Background#FFF4E8#142C2A
    Text#142C2A#FFF4E8
    Labels#006E63#DFFF8F
    Header#006E63 Maker Teal, both
    Ribbon · tail#DFFF8F Citron · #FF7447 Workshop Orange
    +
      +
    • Printed cards keep Deep Ink as their dark ground: print artwork never uses the screen's black.
    • +
    • In dark, only the text that sits on the card background is recoloured.
    • +
    • Quick mode for a fast start, Advanced for a full canvas with bleed and safe zone; print-ready PDF out.
    • +
    • Seven barcode types; the verify page stamps a valid card once (420 ms).
    • +
    • Ask before removing a photo background, and show the opt-out where the photo is taken.
    • +
    +

    The two cards here show the palette; the layout is illustrative.

    +
    +
    +
    +
    + + +
    space works / brand guidelines11 / APPLICATIONS
    Design System v2.0 · Brand guidelines v247
    +
    +

    From the screen to the shelf.

    +

    Name first, details second. Test size and contrast at the real viewing distance.

    +
    +
    + +
    Arduino Uno
    +
    ARD-001Shelf A-03
    +
    Electronics · scan to borrow or return
    +
    +
    +
    +
    Shelf label · 90 × 50 mm
    +
    +
    Box · BOX-0042
    +
    Soldering kit
    +

    Scan the box, take a photo, add a remark. Every handover leaves evidence.

    +
    +
    + +
    Return
    here.
    +

    Put it back where you found it. Staff will check it in.

    + +
    A3 poster
    +
    +
    +
    TV · 18:02
    +
    Open now
    +
    3 machines freeWorkshop 19:00
    +

    Slides fade once, 400 ms. Nothing moves while idle.

    +
    +
    +
    Print and signage
    +
      +
    • Print keeps Deep Ink as the dark ground; screens use black.
    • +
    • Proof at actual size: symbol at least 12 mm, lockup 40 mm.
    • +
    • One accent phrase per poster, in Unbounded.
    • +
    • Labels in Outfit with tabular figures for IDs.
    • +
    +
    +
    +
    +
    + + +
    space works / brand guidelines11 / APPLICATIONS
    Design System v2.0 · Brand guidelines v248
    +
    +

    Social card and banners.

    +

    Derived from the masters. Light and dark twins wherever the reader's theme can change.

    +
    +
    +
    + +
    Social card · 1200 × 630 · icons/og-1200x630.png
    +

    Warm Cream field, stacked lockup 600 px wide, centred, clear space H ÷ 4. Used for Open Graph and Twitter cards.

    +
    + + + + + +

    App and favicon sizes 512, 192, 180, 32, 16, from app-icon.svg.

    +
    +
    +
    + +
    README banner · light
    + +
    README banner · dark
    +

    Shown through a <picture> element that follows the reader's colour scheme. 1280 × 320, the lockup masters and the seven brand colours.

    +
    +
    +
    +
    +
    + + +
    space works / brand guidelines12 / RESOURCES
    Design System v2.0 · Brand guidelines v249
    +
    +

    Everything, in one place.

    +

    The design system site and repository hold every file in this book, and the live versions of every animation.

    +
    + +
    + + + + + + + + + + + + + + + + +
    PathWhat it holds
    brand/This PDF, brand guidelines v1, page renders, logo reference sheets, README banners
    logo/Ten masters (SVG and 4× PNG): symbol, stacked, horizontal × full colour, reversed, one colour; app icon
    tokens/tokens.json · tokens.cssEvery colour for light and dark, chart, loader, card and motion tokens; @font-face
    fonts/Gilroy Light and ExtraBold (free), Outfit and Unbounded (OFL), with licences
    motion/box-open/Loader CSS, SVG markup, demo page, React LogoLoader, BoxSpinner, AnimatedLogoMark
    mascot/ · mascot/dark/Patch: hero, sneeze loop, walk cycles; full, original and compressed; dark sticker set
    icons/favicon.svg, app icons 16 to 512, social card 1200 × 630
    docs/ui-brand-spec.mdToken derivations, contrast matrices, states, status pills, type scale, logo use
    docs/theming.md · motion.mdHow to build the light/dark switch; every animation and the which-where table
    docs/lessons-learned.md38 lessons from light and dark, with the pairing table for mobile apps
    docs/whats-new-v2.0.mdWhat's new in v2.0 and what each app must change
    docs/product-rules.md · ux-spec.mdProduct and engineering rules; UX patterns, layouts and screens
    +

    Add the repository to a project as a git submodule so every surface draws from one source. Tokens are the single source: generate from them, never retype a hex.

    +
    +
    +
    +
    + + +
    space works / brand guidelinesCOLOPHON
    Design System v2.0 · Brand guidelines v250
    +
    + space works +
    Ready to make.
    +
    +
    Version
    +

    Space Works Design System v2.0 · Brand guidelines v2, November 2026. Ships alongside SpaceWorks 0.12.0. Supersedes brand guidelines v1 wherever the two differ; everything v1 says that this book does not change still stands.

    +
    Sources
    +

    Colours, ratios and motion values are read from tokens/tokens.json when the book is built. Frames of the box are frozen from motion/box-open/box-open.css. Decisions cited: 225, 299, 313, 316, 322, 323, 362.

    +
    +
    +
    Set in
    +

    Gilroy ExtraBold and Gilroy Light (free weights), Outfit and Unbounded (SIL OFL).

    +
    Built from
    +

    HTML and CSS in brand/guidelines-v2/src/, rendered with headless Microsoft Edge. Rebuild with node brand/guidelines-v2/build.mjs.

    +
    Licence
    +

    Space Works design assets: AGPL-3.0-or-later. Fonts keep their own licences.

    +
    +
    +
    + + + diff --git a/brand/guidelines-v2/src/pages/00-front.html b/brand/guidelines-v2/src/pages/00-front.html new file mode 100644 index 0000000..01320ab --- /dev/null +++ b/brand/guidelines-v2/src/pages/00-front.html @@ -0,0 +1,63 @@ + +
    +
    + space works +
    +
    Less searching.
    More making.
    +
    +
    +
    {{box}}
    +
    +
    +
    Design System v2.0
    +
    Brand guidelines v2 · November 2026
    +
    Supersedes brand guidelines v1 wherever the two differ.
    +
    +
    + Ships alongside SpaceWorks 0.12.0
    Light and dark · Motion · Product +
    +
    +
    + + +
    +
    +

    Contents.

    +

    Everything from v1 that is still true, and everything that changed alongside SpaceWorks 0.12.0.

    +
    +
      {{toc}}
    +
    How to read the pages
    +
    +

    Cream pages show rules and the light theme.

    +

    Black pages show the dark theme, as it ships.

    +

    Split pages put the same thing in light and dark, side by side.

    +

    Citron pages are principles; Deep Ink pages are brand and print.

    +
    +
    +
    +
    + + +
    +
    +

    What changed since v1.

    +

    Brand guidelines v2 follow the product as it ships in SpaceWorks 0.12.0. Where v1 and v2 differ, v2 wins.

    +
    + + + + + + + + + + + + + +
    Areav1 saidv2 saysDecision
    TypographyGilroy Regular to Bold for everything; Unbounded for accents.Only the free Gilroy weights ship: ExtraBold 800 for display, Light 300 for light display text. Outfit (OFL) for body, labels and controls. Unbounded stays for one phrase.299
    Dark themeDeep Ink and teal as dark surfaces.One solid black neutral family: page #000000, layers 11, 20, 28. Teal, Citron and Orange are accents only.225, 316
    LogoStatic masters only.Same masters. The mark now folds shut and opens on hover and keyboard focus (600 + 1600 ms). Tenant logos never animate.362
    LoadingNot covered.One loader everywhere: the box that opens. Cold-start splash, page loader, inline spinner, mono in buttons.313, 322
    MotionNot covered.Three durations, three curves, distance tokens, a which-animation-where table and a reduced-motion floor.323
    Colour rolesSeven colours and four tested pairs.Product tokens for both themes: fills vs inks, line vs outline, status softs, scrim, chart series and loader colours.316, 363
    ChartsNot covered.Five bright brand colours as series, the same hex in both themes; a 1 px edge on fills and a 4 px casing under lines carry the contrast.SW-380
    StatusAdd a word or icon.The word is mandatory. Small marks are solid in both themes; large callouts go soft in dark.D6
    New sections17 pages.Logo in motion, theming, charts, mascot Patch, components, UX patterns, product rules, accessibility, ID cards, signage and social.
    +

    Unchanged: the purpose and personality, the seven brand colours, the logo masters, clear space (H ÷ 4), minimum sizes and the voice.

    +
    +
    +
    diff --git a/brand/guidelines-v2/src/pages/01-brand.html b/brand/guidelines-v2/src/pages/01-brand.html new file mode 100644 index 0000000..05dad30 --- /dev/null +++ b/brand/guidelines-v2/src/pages/01-brand.html @@ -0,0 +1,64 @@ + +
    +
    +

    Less searching. More making.

    +

    Free, open software for the people running makerspaces and tool libraries.

    +
    +
    Find it.
    Use it.
    Make something.
    +
    +
    Our purpose
    +

    Help teams keep shared parts, tools and materials organised, and prove every handover.

    +
    Our personality
    +

    Clear. Capable.
    Curious. Playful.

    +

    Carried over from v1 unchanged. What grew is the product: loans, machines, events, bookings and membership now sit under the same name.

    +
    +
    +
    +
    + + +
    +
    +

    An open invitation.

    +

    A familiar box, built for a space full of possibilities. In v2 the box also moves.

    +
    + +
    +
    Open
    +

    Four flaps invite the next project.

    +
    Organised
    +

    A clear structure gives every part a place.

    +
    Energetic
    +

    Teal grounds it. Orange gets it moving.

    +
    Alive New
    +

    The box opens when something loads, and when you point at it.

    +
    +
    +
    +
    + + +
    +
    +

    Sound like a helpful maker.

    +

    Clear, warm and specific. Make the next step easy.

    +
    +
    Say
    Skip
    + + + + + + + + + +
    Find the right part.Optimise your asset ecosystem.
    No parts added yet. Add your first item.Inventory database is empty.
    Couldn't save. Try again.Oops! Something went horribly wrong.
    Filters, 3 activeFilters (3)
    Areas and add-onsModules, capabilities, tenant settings
    Partly returned · 2 leftpartially_returned · 409
    +
    +

    Whole sentences. Translate full sentences with real plurals, never fragments glued together.

    +

    No internal words. People never see “tenant”, “module key” or a raw status code.

    +

    Names. In copy: Space Works. Wordmark: space works. One name per thing.

    +
    +
    +
    +
    diff --git a/brand/guidelines-v2/src/pages/02-logo.html b/brand/guidelines-v2/src/pages/02-logo.html new file mode 100644 index 0000000..8950436 --- /dev/null +++ b/brand/guidelines-v2/src/pages/02-logo.html @@ -0,0 +1,130 @@ + +
    +
    +

    One name. A flexible family.

    +

    Use the supplied masters in logo/. Keep the spelling and the lowercase wordmark intact.

    +
    +
    +
    + +
    Primary / lockup-stacked
    +
    +
    + +
    Symbol / recognition at a glance
    +
    +
    + +
    Horizontal / narrow headers
    +
    +
    + +
    Reversed / dark theme and Deep Ink
    +
    +
    +

    Ten masters: symbol, stacked and horizontal lockups, each in full colour, reversed Cream and one-colour Deep Ink, plus the app icon. SVG with matching 4× PNG. Wordmarks are outlined, so no font is needed to draw the logo.

    +
    +
    +
    + + +
    +
    +

    Room to breathe.

    +

    Keep the lockup together. Measure visible artwork.

    +
    +
    +
    X
    +
    X
    + +

    H = symbol height. Scale the supplied master as one object.

    +
    +
    1.25×

    Symbol / stacked wordmark height

    +
    H ÷ 6

    Gap between symbol and wordmark

    +
    H ÷ 4

    Clear space on every side

    +

    The animated mark keeps this box. It opens inside the symbol's own frame and never changes size or shifts layout.

    +
    +
    +
    +
    + + +
    +
    +

    Keep it legible.

    +

    Minimums from v1, and where each master sits in the product today.

    +
    +
    +
    +
    48 px

    Symbol height

    +
    180 px

    Stacked lockup width

    +
    +
    In print
    +
    12 mm symbol / 40 mm lockup
    +

    Proof at actual size before production.

    +
    App icon
    +
    + +

    Symbol about 62 % of the tile on a Warm Cream field. Favicons and PWA icons are rasterised from app-icon.svg.

    +
    +
    +
    + + + + + + + + + + + + + +
    PlacementMaster (light / dark)Size
    Console sidebar, 1024 px and uplockup-stacked / -reversed180 px wide
    Phone top barsymbol / symbol-reversed48 px
    Public header, 768 px and uplockup-horizontal / -reversedsymbol 48 px
    Public header, phonessymbol / symbol-reversed48 px
    Sign-in brand panellockup-stacked on Cream240–320 px
    Control plane sidebarlockup-horizontal / -reversed288 px
    Email headerlockup-stacked PNG @2×180 px
    Social cardlockup-stacked on Cream 1200 × 630600 px
    Touch icon / PWAapp-icon, maskable180 · 192 · 512
    +

    Below 48 px (favicons at 16 and 32) test a dedicated small-size asset. The logo component clamps its size to these minimums and takes no colour or transform overrides.

    +
    +
    +
    +
    + + +
    +
    +

    Choose the right background.

    +

    Full colour on light grounds. Reversed Cream on dark grounds. One colour for single-colour print.

    +
    +
    +
    01 Full colour / Warm Cream
    +
    02 One colour / Deep Ink on white
    +
    03 Full colour / Citron
    +
    04 Reversed / Deep Ink (print)
    +
    05 Reversed / dark theme black New
    +
    06 Reversed / Maker Teal
    +
    +

    In the product the logo component picks the master from the painted theme, and takes a ground override for a surface that is always dark, such as an ink island in a light page.

    +
    +
    +
    + + +
    +
    +

    Keep the system intact.

    +

    The box is a fixed piece of artwork. Treat it as one recognisable unit, in every theme.

    +
    +
    +
    01 Don't stretch
    +
    02 Don't rotate
    +
    {{svg:logo/symbol-one-colour-ink.svg}}
    03 Don't recolour panels
    +
    04 Don't lose dark panels
    +
    05 Don't add effects
    +
    Space
    Works
    06 Don't change the type
    +
    07 Don't put full colour on black
    +
    Since 2019
    08 Don't crowd the clear space
    +
    +

    Also never: fork the box geometry or keyframes, loop the mark outside the loader, or animate a tenant (makerspace) logo.

    +
    +
    +
    diff --git a/brand/guidelines-v2/src/pages/03-motion-logo.html b/brand/guidelines-v2/src/pages/03-motion-logo.html new file mode 100644 index 0000000..e7df1b8 --- /dev/null +++ b/brand/guidelines-v2/src/pages/03-motion-logo.html @@ -0,0 +1,154 @@ + +
    +
    +

    The box opens.

    +

    One piece of artwork, generated from the logo masters, plays three jobs. Nothing else in the brand moves like this.

    +
    +
    +
    +
    {{box}}
    +
    Splash · once per cold load
    +
    1600 ms
    +

    On a cold page load the box opens, then flies into the header logo. The first screen is never blank.

    +
    +
    +
    {{box}}
    +
    Loader · loops while loading
    +
    4400 ms
    +

    Open, hold, fold shut, repeat. The only loading indicator in the product, from a page down to a button.

    +
    +
    +
    {{box}}
    +
    Hover and focus · once
    +
    600 + 1600 ms
    +

    Point at the mark, or tab to it, and it folds shut and opens back. Every Space Works logo, never a tenant's.

    +
    +
    +
    + {{qr:boxopen}} +

    See all three play: spaceworks-labs.github.io/SpaceWorks-Design-System/motion/box-open/
    Frames on the following pages are frozen from the shipped CSS, motion/box-open/box-open.css, not redrawn.

    +
    +
    +
    +
    + + +
    +
    +

    Splash: one opening.

    +

    Plays once on a cold load, before the app mounts. Flaps open bottom-left, top-left, bottom-right, top-right.

    +
    +
    Light · on Warm Cream
    +
    {{strip:once:light:0|Closed,200,400|Flaps lift,600,800|Open,1000|Settle,1200|Sparks,1400,1600|Open logo}}
    +
    Dark · on #000
    +
    {{strip:once:dark:0|Closed,200,400|Flaps lift,600,800|Open,1000|Settle,1200|Sparks,1400,1600|Open logo}}
    +
    +

    Inline, before the app. A generated block in index.html shows it, so a slow first load still shows the brand, then hands off to the header logo.

    +

    Background follows the theme. Warm Cream {{hex:light.bg}} in light, {{hex:dark.bg}} in dark; the meta theme colour matches.

    +

    Reduced motion. The still, open logo shows at once. Total time on screen is about 1.2 to 1.6 s, never a wall.

    +
    +
    +
    +
    + + +
    +
    +

    Loader: open, hold, fold, repeat.

    +

    A 4400 ms cycle for anything that loads for an unknown time. It replaces ring spinners and skeleton shimmer.

    +
    +
    {{strip:loop:light:0|Closed,400|Opening,800,1200,1600|Open,2000|Hold,2400,2800|Folding,3200,3600,4000|Closed}}
    +
    {{strip:loop:dark:0|Closed,400|Opening,800,1200,1600|Open,2000|Hold,2400,2800|Folding,3200,3600,4000|Closed}}
    +
    +
    +
    +
    Open · flap by flap
    +
    Hold open
    +
    Fold shut
    +
    Rest
    +
    +
    01.4 s2.8 s3.7 s4.4 s
    +
    +
    +

    Flaps are stepped, never interpolated. Each flap's matrix() is sampled 160 times per cycle and played with steps(1, end). Browsers glitch when they blend two matrices near edge-on.

    +

    Colours per theme. Box faces are the masters' own colours. Under-face {{hex:loader.light.under}} light, {{hex:loader.dark.under}} dark; spark {{hex:loader.light.spark}} / {{hex:loader.dark.spark}}; the dark seam is the page colour so it vanishes on black.

    +

    Fixed aspect 136 : 126. Width = height × 136 ÷ 126. The box never changes size while it plays, so nothing around it moves.

    +
    +
    +
    +
    + + +
    +
    +

    Hover and focus: fold, then open.

    +

    From the resting logo the box folds shut in 600 ms and opens back in 1600 ms. No hold, no snap at either end.

    +
    +
    +
    Fold shut · 600 ms · the loader's fold
    +
    Open · 1600 ms · the splash opening
    +
    +
    {{strip:hov:light:0|Resting logo,150,300,450,600|Shut,800,1000,1200,1400,1600,1900,2200|Resting logo}}
    +
    {{strip:hov:dark:0|Reversed,150,300,450,600|Shut,800,1000,1200,1400,1600,1900,2200|Reversed}}
    +
    +

    Starts on pointer-enter of a mouse or pen, or on keyboard :focus-visible. Never on touch: gate on @media (hover: hover).

    +

    Always finishes. Leaving mid-way lets it finish; re-entering while it plays does not restart it. It never loops.

    +

    Reduced motion shows the still mark. The mark never takes focus itself and never changes size.

    +

    One component (AnimatedLogoMark) draws every placement; a guard test fails the build otherwise. Tenant logos never animate.

    +
    +
    +
    +
    + + +
    +
    +

    One loader, four sizes.

    +

    Use the box wherever something loads. Never a generic spinner.

    +
    +
    +
    +
    LogoLoader · page or panel · 72 px
    +
    +
    {{box}}
    +

    Loading inventory…

    +

    role="status" with a polite label

    +
    +
    +
    +
    Same loader in dark
    +
    +
    {{box}}
    +

    Loading inventory…

    +

    Reversed artwork, seam in the page colour

    +
    +
    +
    +
    +
    +
    BoxSpinner · rows and fields · 16–24 px
    +
    +
    {{box}}
    Arduino UnoChecking stock… +
    +
    +
    Search parts
    {{box}}
    +
    +
    +
    +
    BoxSpinner mono · inside a button
    +
    + {{box}}Saving + {{box}}Paying + {{box}}Deleting + {{box}}Loading +
    +

    Drawn in currentColor, at the label size. The button keeps its width and sets aria-busy="true".

    +
    +
    +
    +

    Don't ring spinners, progress bars for unknown time, shimmer sweeps, a spinner on every row at once.

    +

    Do pair a Skeleton shape with one box for lists; the still open logo under reduced motion.

    +
    +
    +
    +
    diff --git a/brand/guidelines-v2/src/pages/04-colour.html b/brand/guidelines-v2/src/pages/04-colour.html new file mode 100644 index 0000000..33fefc2 --- /dev/null +++ b/brand/guidelines-v2/src/pages/04-colour.html @@ -0,0 +1,257 @@ + +
    +
    +

    Seven colours. One clear system.

    +

    Exact sRGB values, unchanged from v1. Three core colours, three accents and a warm canvas.

    +
    +
    +
    Deep Ink
    {{hex:brand.deep-ink}}
    RGB 20, 44, 42
    Text · structure · depth · print dark
    +
    Maker Teal
    {{hex:brand.maker-teal}}
    RGB 0, 110, 99
    Primary brand · actions
    +
    Workshop Orange
    {{hex:brand.workshop-orange}}
    RGB 255, 116, 71
    Energy · one bold moment
    +
    +
    +
    Citron
    {{hex:brand.citron}}
    RGB 223, 255, 143
    Success · light sidebar · dark focus
    +
    Sky Blue
    {{hex:brand.sky-blue}}
    RGB 181, 205, 255
    Info · supporting
    +
    Warm Yellow
    {{hex:brand.warm-yellow}}
    RGB 255, 212, 71
    Warn · small highlights
    +
    Warm Cream
    {{hex:brand.warm-cream}}
    RGB 255, 244, 232
    Light canvas · dark-mode text
    +
    +

    New in v2: each brand colour now has a named job in the product tokens (bottom line of each card). The palette has no red; danger is a sampled red used only for errors and destructive actions.

    +
    +
    +
    + + +
    +
    +

    The product, in light.

    +

    Warm Cream page, white cards, a Citron sidebar. Every value is a token in tokens/tokens.json.

    +
    +
    +
    Neutrals · ratio against the page
    {{ladder:light}}
    +

    “Aa” on a fill is its fixed on-* label. “Aa” on white is the *-ink text colour. In light, accent-ink equals the fill; the status inks are darkened so they reach 4.5 : 1.

    +
    Accent and status families · fill, hover, active, soft, ink
    {{fam:light}}
    +
    +
    +
    +
    +
    + + +
    +
    +

    The product, in dark.

    +

    One solid black neutral family. Page #000, layers step up 11, 20, 28. No green anywhere in a surface.

    +
    +
    +
    Neutrals · ratio against the page
    {{ladder:dark}}
    +

    Fills keep their light-theme hex, so a Citron pill is the same Citron in both themes. What changes is every colour that is read as text: inks lift (teal text becomes {{hex:dark.accent-ink}}), danger flips to a soft red with a Deep Ink label, and focus becomes Citron.

    +
    Accent and status families · fill, hover, active, soft, ink
    {{fam:dark}}
    +
    +
    +
    +
    +
    + + +
    +
    +

    From green-black to solid black.

    +

    Dark was redone three times in one month. Each step fixed a real problem and exposed the next.

    +
    +
    +
    To 15 Oct

    Grey-green, then teal-lit panels. Teal text measured about 1.76 : 1 on the lit panel.

    +
    10 Nov · decision 225

    True black page for OLED, but the layers above it stayed teal-lit.

    +
    11 Nov am · 275, 300

    Black page with teal-tinted surfaces and borders. Surfaces seamed against the page.

    +
    11 Nov · decision 316 · ships

    One neutral black family. Brand colours become accents only.

    +
    +
    + + + + + + + + + + + + +
    TokenBefore (teal-lit)After (solid black)Hex
    bg20 44 420 0 0{{hex:dark.bg}}
    surface25 57 5311 11 11{{hex:dark.surface}}
    panel31 67 6320 20 20{{hex:dark.panel}}
    line77 109 10344 44 44{{hex:dark.line}}
    outline147 161 152120 120 120{{hex:dark.outline}}
    muted199 196 186172 172 172{{hex:dark.muted}}
    accent-ink171 200 188128 177 166{{hex:dark.accent-ink}}
    accent-soft26 74 6918 29 28{{hex:dark.accent-soft}}
    +
    +
    Why
    +
      +
    1. 01Two families on one screen fight. Black beside dark green reads as a mistake.
    2. +
    3. 02Tinted surfaces cost contrast. Teal on a teal-lit panel is dim; on neutral black it reads.
    4. +
    5. 03Brand colour works as an accent, not a floor. Teal, Citron and Orange now stand out.
    6. +
    7. 04True black is calmer and cheaper on OLED phones.
    8. +
    +

    Token names never changed, so no screen needed edits. Ink, focus, accent and status fills are unchanged.

    +
    +
    +
    +
    +
    + + +
    +
    +
    +

    Fills are not inks.

    +

    A fill is a background with its own label. An ink is a colour you read. Never use one for the other.

    +
    +
    +
    Light
    +
    +
    Issue itemon-accent on accent · {{cr:light.on-accent/light.accent}}
    +
    View public pageaccent-ink on panel · {{cr:light.accent-ink/light.panel}}
    +
    2 leftink on Orange · {{cr:light.on-emphasis/light.emphasis}}
    +
    Orange textNo on cream · {{cr:light.emphasis/light.bg}}
    +
    +
    Two label families
    +

    on-* is fixed. Deep Ink on Citron, Yellow, Sky and Orange; Cream on teal and light danger. Only for text on that tone's solid fill.

    +

    *-ink follows the theme. For standalone text and for text on a *-soft tint. Mixing the two made Citron pills unreadable in dark once.

    +
    +
    +
    Dark
    +
    +
    Issue itemsame fill, same label · {{cr:dark.on-accent/dark.accent}}
    +
    View public pageaccent-ink on panel · {{cr:dark.accent-ink/dark.panel}}
    +
    View public pageNo teal fill as text · {{cr:dark.accent/dark.panel}}
    +
    Deletedanger flips: Ink on soft red · {{cr:dark.on-danger/dark.danger}}
    +
    +
    On black
    +

    Teal as a fill is {{cr:dark.accent/dark.bg}} : 1 on the page and {{cr:dark.accent/dark.panel}} : 1 on a panel. A selected teal fill always carries a label or a second cue.

    +

    Text, icons and chart marks use accent-ink {{hex:dark.accent-ink}}: teal mixed 50 % with Cream.

    +
    +
    +
    +
    + + +
    +
    +
    +

    Status: a word first.

    +

    Colour helps you scan. The word carries the meaning. Never colour alone.

    +
    +
    +
    Small marks · solid in both themes
    +
    + ReturnedPending approvalAcceptedIssued2 leftClosed with issueDraft +
    +
    Large callouts · solid fill in light
    +
    4 people are waiting for approval. 1 event is still a draft.
    +
    Returned. Photo and remark saved to the record.
    + + + + + + + + + +
    ToneMeans
    successDone, available, paid, returned
    warnWaiting on someone, unpaid, maintenance
    infoAccepted, reserved, waitlisted, completed
    accentIn progress: issued, checked out, running
    emphasisAttention: low stock, counters. Never danger.
    +
    +
    +
    Small marks · identical in dark
    +
    + ReturnedPending approvalAcceptedIssued2 leftClosed with issueDraft +
    +
    Large callouts · soft fill and ink in dark
    +
    4 people are waiting for approval. 1 event is still a draft.
    +
    Returned. Photo and remark saved to the record.
    +
    +

    Why the split? A soft pill in dark looked dim beside the same pill in light, so a table scanned differently per theme. But a full-width pastel slab glares on black.

    +

    Ratios: Citron {{cr:light.on-success/light.success}}, Yellow {{cr:light.on-warn/light.warn}}, Sky {{cr:light.on-info/light.info}} with the Deep Ink label. Dark callouts: success {{cr:dark.success-ink/dark.success-soft}}, warn {{cr:dark.warn-ink/dark.warn-soft}}, info {{cr:dark.info-ink/dark.info-soft}}.

    +

    Danger is only for errors and destructive actions: a panel pill with a danger-line border and danger text.

    +
    +
    +
    +
    +
    + + +
    +
    +

    Readable by design.

    +

    Every ratio below is computed from tokens.json with the WCAG 2.x formula. Text needs 4.5, large text and UI edges 3.

    +
    + + + + + + + + + + + + + + + + + + + +
    PairLightDarkNeeds
    ink on bg / panel{{cr:light.ink/light.bg}} / {{cr:light.ink/light.panel}}{{cr:dark.ink/dark.bg}} / {{cr:dark.ink/dark.panel}}4.5
    muted on bg / hover{{cr:light.muted/light.bg}} / {{cr:light.muted/light.hover}}{{cr:dark.muted/dark.bg}} / {{cr:dark.muted/dark.hover}}4.5
    accent-ink on panel{{cr:light.accent-ink/light.panel}}{{cr:dark.accent-ink/dark.panel}}4.5
    on-accent on accent{{cr:light.on-accent/light.accent}}{{cr:dark.on-accent/dark.accent}}4.5
    on-accent on accent-active{{cr:light.on-accent/light.accent-active}}{{cr:dark.on-accent/dark.accent-active}}4.5
    on-emphasis on emphasis{{cr:light.on-emphasis/light.emphasis}}{{cr:dark.on-emphasis/dark.emphasis}}4.5
    on-success · on-warn · on-info{{cr:light.on-success/light.success}} · {{cr:light.on-warn/light.warn}} · {{cr:light.on-info/light.info}}same fills4.5
    success-ink on success-soft{{cr:light.success-ink/light.success-soft}}{{cr:dark.success-ink/dark.success-soft}}4.5
    warn-ink on warn-soft{{cr:light.warn-ink/light.warn-soft}}{{cr:dark.warn-ink/dark.warn-soft}}4.5
    info-ink on hover (worst light cell){{cr:light.info-ink/light.hover}}{{cr:dark.info-ink/dark.hover}}4.5
    danger on panel{{cr:light.danger/light.panel}}{{cr:dark.danger/dark.panel}}4.5
    on-danger on danger{{cr:light.on-danger/light.danger}}{{cr:dark.on-danger/dark.danger}}4.5
    focus ring on bg{{cr:light.focus/light.bg}}{{cr:dark.focus/dark.bg}}3
    outline (control edge) on bg / panel{{cr:light.outline/light.bg}} / {{cr:light.outline/light.panel}}{{cr:dark.outline/dark.bg}} / {{cr:dark.outline/dark.panel}}3
    line, decorative only{{cr:light.line/light.bg}}{{cr:dark.line/dark.bg}}none
    +
    +
    Brand pairs (from v1)
    +
    +
    AaCream on teal · {{cr:brand.warm-cream/brand.maker-teal}}
    +
    AaInk on cream · {{cr:brand.deep-ink/brand.warm-cream}}
    +
    AaInk on orange · {{cr:brand.deep-ink/brand.workshop-orange}}
    +
    AaInk on citron · {{cr:brand.deep-ink/brand.citron}}
    +
    AaInk on sky · {{cr:brand.deep-ink/brand.sky-blue}}
    +
    AaInk on yellow · {{cr:brand.deep-ink/brand.warm-yellow}}
    +
    +

    Never orange text on cream: {{cr:brand.workshop-orange/brand.warm-cream}} : 1. No translucent text, ever.

    +
    +
    +
    +
    + + +
    +
    +
    +

    Chart colours.

    +

    Five bright brand colours, the same in both themes. An edge carries the contrast, so no fill is ever dulled.

    +
    +
    +
    {{chart}}
    + + + + + + + + + + +
    SeriesHex, both themesDashfill on panel
    1 · teal{{hex:chart.light.1}}solid{{cr:chart.light.1/light.panel}}
    2 · orange{{hex:chart.light.2}}8 4{{cr:chart.light.2/light.panel}}
    3 · citron{{hex:chart.light.3}}2 4{{cr:chart.light.3/light.panel}}
    4 · sky{{hex:chart.light.4}}10 3 2 3{{cr:chart.light.4/light.panel}}
    5 · yellow{{hex:chart.light.5}}solid{{cr:chart.light.5/light.panel}}
    edge{{hex:chart.light.edge}} Deep Ink1 px · 4 px{{cr:chart.light.edge/light.panel}}
    +
    +
    +
    {{chart}}
    + + + + + + + + +
    In darkHexfill on panel
    1 · teal{{hex:chart.dark.1}} same{{cr:chart.dark.1/dark.panel}}
    3 · citron{{hex:chart.dark.3}} same{{cr:chart.dark.3/dark.panel}}
    edge{{hex:chart.dark.edge}} Cream{{cr:chart.dark.edge/dark.panel}}
    danger{{hex:chart.dark.danger}} (light {{hex:chart.light.danger}}){{cr:chart.dark.danger/dark.panel}}
    +
      +
    • Edge: 1 px on every filled mark (bars, dots, slices), a 4 px casing under every 2 px line.
    • +
    • Danger is not a series. Use it on purpose for a bad or negative value.
    • +
    • Colour follows the series identity (hashed), plus a dash per series, so it survives sorting and is never the only cue.
    • +
    +
    +
    +
    +
    diff --git a/brand/guidelines-v2/src/pages/05-type.html b/brand/guidelines-v2/src/pages/05-type.html new file mode 100644 index 0000000..0eb57a5 --- /dev/null +++ b/brand/guidelines-v2/src/pages/05-type.html @@ -0,0 +1,150 @@ + +
    +
    +

    Two free weights. No exceptions.

    +

    Only the free Gilroy weights ship. Everything else is set in Outfit. This replaces the four-weight Gilroy of v1.

    +
    +
    +
    Gilroy ExtraBold · 800 · free
    +
    Ready to make.
    +
    Gilroy Light · 300 · free
    +
    Everything in its place.
    +
    Withdrawn · paid weights, no licence held
    +
    + Regular 400 + Medium 500 + SemiBold 600 + Bold 700 +
    +
    +
    +
    Why
    +

    Gilroy is a commercial family. Its author releases Light and ExtraBold free, under an EULA that allows websites (@font-face), graphics, print and embedding in software. Regular to Bold are paid. The project does not hold that licence, so those files were removed from every repository (decision 299, 11 November 2026) and are never re-added.

    +
    What fills the gap
    +

    Outfit (SIL OFL, variable 400–700) takes every role between the two Gilroy weights: body, labels, buttons, table text, numbers and IDs. Unbounded (OFL) keeps its one accent phrase.

    +
    Never
    +
      +
    • Ask the browser for a Gilroy weight that does not ship. Set font-synthesis: none.
    • +
    • Fake a middle weight with a stroke, a shadow or faux bold.
    • +
    • Download a paid weight “just for a mock-up”.
    • +
    +
    +
    +
    +
    + + +
    +
    +

    Three families. Clear roles.

    +

    Gilroy for the big moment, Outfit for the work, Unbounded for one phrase.

    +
    +
    +
    +
    Display · Gilroy
    +
    Gilroy
    +
    Everything in its place.
    +
    Less searching, more making.
    +

    800 for display headings, landing heroes and section heads. 300 for light display text such as sub-lines on big pages. Never under 24 px.

    +

    var(--font-display) · fonts/Gilroy-ExtraBold.woff2, Gilroy-Light.woff2

    +
    +
    +
    Interface · Outfit
    +
    Outfit
    +
    +
    Regular 400 · body and inputs
    +
    Medium 500 · labels and nav
    +
    SemiBold 600 · titles, buttons
    +
    Bold 700 · inline strong
    +
    +

    Every interface word. IDs and codes too: ARD-001 · 0042 with tabular figures, never a monospace family.

    +

    var(--font-sans) · fonts/Outfit-Variable.woff2 · OFL

    +
    +
    +
    Accent · Unbounded
    +
    Unbounded
    +
    Make
    room.
    +

    500–600, one short phrase per layout: the landing hero, the sign-in brand panel, an empty-state hero. Never in staff chrome, never a paragraph.

    +

    var(--font-accent) · fonts/Unbounded-Variable.woff2 · OFL

    +
    +
    +
    Weight map · who covers which weight
    +
    +
    Aa300Gilroy Light
    +
    Aa400Outfit
    +
    Aa500Outfit
    +
    Aa600Outfit
    +
    Aa700Outfit
    +
    Aa800Gilroy ExtraBold
    +
    +
    +
    +
    + + +
    +
    +

    Fallbacks, per platform.

    +

    Same roles everywhere. Ship the files in fonts/, and know what shows when a face cannot load.

    +
    + + + + + + + + + + +
    PlatformHow the faces shipStack / fallbackWatch for
    WebSelf-hosted WOFF2 through tokens/tokens.css (@font-face, font-display: swap). Gilroy registered at 300 and 800 only."Gilroy", sans-serif
    "Outfit", sans-serif
    "Unbounded", "Outfit", sans-serif
    font-synthesis: none so a 600 heading never fakes Gilroy; use Outfit 600 instead.
    AndroidBundle Outfit and Unbounded (OFL) and the two free Gilroy files as font resources; map display 800 / 300, sans 400–700.Missing face: the system sans (Roboto). Never let display fall to a serif.Compose / XML weights must name 300 and 800 for Gilroy; anything else is Outfit.
    iOSBundle the same files and register them in the app; Dynamic Type scales the roles, not the families.Missing face: San Francisco (system).Do not let the system substitute a Gilroy weight; request Outfit for 400–700.
    PDF and printEmbed the free Gilroy files where the engine allows.Where Gilroy cannot be embedded: Outfit for every role (lesson 22).Card Studio and badges: proof the printed PDF, not the screen.
    EmailWeb fonts are unreliable in mail clients.Outfit if it loads, else the system sans stack; logo always as a PNG @2×.Never set the wordmark in live text.
    LogoOutlined vectors in logo/: no font needed anywhere.n/aNever retype “space works” in any font.
    +
    +

    Licences live beside the files: fonts/LICENSES/Gilroy-Free-Font-EULA.txt, OFL-Outfit.txt, OFL-Unbounded.txt. Read the Gilroy EULA before using the face outside a Space Works product; Outfit and Unbounded are free to use anywhere under the OFL.

    + {{qr:type}} +
    +
    +
    +
    + + +
    +
    +

    A lean type scale.

    +

    Desktop and phone sizes (size / line height in px). Under 640 px the display sizes drop.

    +
    + + + + + + + + + + + + + +
    RoleDesktopPhoneFaceSample
    Display72 / 7644 / 48Gilroy 800Ready to make.
    Heading48 / 5234 / 40Gilroy 800Everything in its place.
    Accent48 / 5632 / 40Unbounded 500Make room.
    Display sub32 / 3824 / 30Outfit 400Find the right part.
    Page title32 / 3826 / 32Outfit 600Inventory
    Panel title20 / 2820 / 28Outfit 600Recent handovers
    Body16 / 2416 / 24Outfit 400Manage the parts, tools and materials in your space.
    Label · button14 / 2014 / 20Outfit 500 · 600Location View inventory
    Caption · eyebrow12 / 1612 / 16Outfit 500 · 600Updated 2 min ago Electronics
    +

    Stat numbers use Outfit 600 with tabular figures (32 / 38, hero stats 48 / 52). Give phone headers enough height for a two-line title.

    +
    +
    +
    + + +
    +
    +

    Type, done right.

    +

    The mistakes that came up most while moving off the paid weights.

    +
    +
    +
    Do
    Book a laser slot.

    Gilroy 800 for the one big heading.

    Display role

    +
    Don't
    Gilroy Light as body text. At reading sizes the thin strokes fade on cream and vanish on black, and long paragraphs tire the eye quickly.

    Light is for display sizes only (24 px and up)

    +
    Don't
    Inventory overview

    Mixing 800 and 300 in one line to fake a hierarchy.

    Use size and Outfit, not a weight clash

    +
    Do
    ARD-001 · Shelf A-03
    Qty 0012 · 0108 · 1440

    IDs in Outfit with tabular figures.

    No monospace family anywhere

    +
    Don't
    Make room.
    Book a bench.
    Settings · Members

    Unbounded twice, or in staff chrome

    +
    Don't
    Couldn't save. Try again.

    Translucent text. Its real colour depends on what is under it.

    Use the opaque muted token

    +
    +
    +
    +
    diff --git a/brand/guidelines-v2/src/pages/06-theming.html b/brand/guidelines-v2/src/pages/06-theming.html new file mode 100644 index 0000000..961091f --- /dev/null +++ b/brand/guidelines-v2/src/pages/06-theming.html @@ -0,0 +1,81 @@ + +
    +
    +
    +

    Both themes, always.

    +

    The same screen, one class apart. Light is the default; dark is a saved choice or the system setting.

    +
    +
    +
    +
    + +
    +
    +
    +
    Inventory
    + Add item
    +
    Search parts, tools or materials
    +
    +
    ItemLocationStock
    +
    Arduino Uno
    ARD-001
    A-0312 available
    +
    Raspberry Pi 4
    RPI-004
    A-042 left
    +
    Soldering station
    SOL-002
    B-01Issued
    +
    +
    +
    +
      +
    • Citron sidebar, white cards on Warm Cream, no borders needed.
    • +
    • Citron search field with a Deep Ink label.
    • +
    +
    +
    +
    +
    + +
    +
    +
    +
    Inventory
    + Add item
    +
    Search parts, tools or materials
    +
    +
    ItemLocationStock
    +
    Arduino Uno
    ARD-001
    A-0312 available
    +
    Raspberry Pi 4
    RPI-004
    A-042 left
    +
    Soldering station
    SOL-002
    B-01Issued
    +
    +
    +
    +
      +
    • Sidebar is the surface layer with a 1 px line edge; cards get a border, never a shadow.
    • +
    • Search becomes a surface field with a Citron edge, not a glaring slab.
    • +
    +
    +
    +
    +
    + + +
    +
    +

    Theming rules.

    +

    What changes between themes is values, artwork and edges. Names, layout and motion stay the same.

    +
    +
    +
    01 · One class

    Dark is html.dark. Every colour is a token redefined under :root.dark. Components read tokens, never hex.

    +
    02 · No flash

    A pre-paint script reads the saved choice before first paint. theme-color is {{hex:light.bg}} light and {{hex:dark.bg}} dark.

    +
    03 · Artwork per theme

    Logo: full colour on light, reversed Cream on dark. Patch: mascot/dark/. Box: the .dk drawing. Illustrations ship as twins.

    +
    04 · Inks, not fills

    Coloured text and icons use *-ink. Teal as text on black is {{hex:dark.accent-ink}}, never {{hex:dark.accent}}.

    +
    05 · Edges on black

    Cards and the sidebar get a 1 px line. Anything a person must find (inputs, segmented controls) uses outline, at least 3 : 1.

    +
    06 · Layers, not glow

    Raise by one lightness step: 0, 11, 20, 28. Never skip a step to make something pop, and never add a custom “elevated” grey.

    +
    07 · Islands rejoin

    A Deep Ink panel inside a light page (.sw-island-dark) becomes the black family when the page goes dark. No green fields on black.

    +
    08 · Scrims and shadows

    Scrim is Deep Ink in light, black in dark. A dark dialog separates by being a raised panel with a line, not by its shadow.

    +
    +
    +
    Light
    Email address

    outline {{cr:light.outline/light.panel}} : 1 on panel

    +
    Dark
    Email address

    outline {{cr:dark.outline/dark.panel}} : 1 on panel

    +
    Don't
    Email address

    line {{cr:dark.line/dark.panel}} : 1, the field disappears

    +
    Don't
    Search

    a full Citron slab glares on black

    +
    +

    Checklist for every new page: tokens only · open it in light, dark and system with the OS flipped · themed logo and artwork · no flash on reload · charts use --chart-* · new motion checked in both themes and under reduced motion.

    +
    +
    +
    diff --git a/brand/guidelines-v2/src/pages/07-motion.html b/brand/guidelines-v2/src/pages/07-motion.html new file mode 100644 index 0000000..3a06a3e --- /dev/null +++ b/brand/guidelines-v2/src/pages/07-motion.html @@ -0,0 +1,179 @@ + +
    +
    +

    Motion shows what changed.

    +

    It never decorates. If removing an animation loses no information, keep it short or drop it.

    +
    +
      +
    1. 01Animate content, not chrome. On a page change only the main area moves; sidebar and top bar stay still.
    2. +
    3. 02Transform and opacity only. No layout properties. Collapses use grid rows 0fr to 1fr, never height.
    4. +
    5. 03Enter decelerates, exit accelerates, and exits are shorter than entrances.
    6. +
    7. 04Nothing on an interaction path runs longer than 240 ms. Longer motion is page- or brand-level and never blocks input.
    8. +
    9. 05Hover is colour only, 120 ms. No lift, scale or shadow. The Space Works mark is the single exception.
    10. +
    +
      +
    1. 06One loader: the box that opens. Never loop anything else, except two decorative touches that reduced motion switches off.
    2. +
    3. 07Reduced motion is a floor, not a flag. Every animation has a still version that carries the same information.
    4. +
    5. 08No hover animation on touch. Gate on @media (hover: hover); keyboard focus still plays.
    6. +
    7. 09Both themes, every time. Motion is colour-neutral, so it behaves the same in light and dark.
    8. +
    9. 10Never block navigation on an animation. A slow page settles after 160 ms and the route goes on.
    10. +
    +
    +
    +
    + + +
    +
    +

    Three durations. Three curves.

    +

    Tokens in tokens/tokens.css and under motion in tokens.json. Use names, not numbers.

    +
    +
    +
    +
    --sw-ease-standardmost movement
    + + + + + + +
    cubic-bezier(0.2, 0, 0, 1)
    +
    +
    +
    --sw-ease-enterarrivals, decelerate
    + + + + + + +
    cubic-bezier(0.16, 1, 0.3, 1)
    +
    +
    +
    --sw-ease-exitdepartures, accelerate
    + + + + + + +
    cubic-bezier(0.4, 0, 1, 1)
    +
    +
    +
    +
    +
    Durations · interface
    +
    +
    --sw-dur-fast
    120 mspress, hover, exits, menus
    +
    --sw-dur-base
    180 msoverlays, indicators
    +
    --sw-dur-slow
    240 msroute settle, drawers
    +
    +
    +
    +
    Distances · zero on kiosk, TV and reduced motion
    + + + +
    --sw-enter-y8 pxarrival rise--sw-pop-scale0.98dialog pop
    --sw-pop-offset4 pxmenu drop--sw-slide-x100 %drawer slide
    +

    Brand-level motion is longer on purpose and never on the input path: theme reveal 720 ms, splash 1600 ms, mark 2200 ms, loader 4400 ms.

    +
    +
    +
    Anatomy of a dialog · open, then close
    +
    +
    Scrim fade · 180 · standard
    +
    Pop in · 180 · enter
    +
    Open: focus inside, layer interactive
    +
    Out · 120 · exit
    +
    Scrim · 120
    +

    Arrives from 0.98 scale and 4 px; leaves faster than it came. While closing it stays mounted but inert, so nothing can focus it.

    +
    +
    +
    +
    + + +
    +
    +

    Which animation, where.

    +

    When the situation occurs, use the listed default. Don't invent a new animation for a situation that has one.

    +
    + + + + + + + + + + + + + + + + + +
    SituationUseTimingDon't
    Page or panel loadingLogoLoader, 72 px, centred, with a label4400 ms loopGeneric spinner, progress bar
    Button busyBoxSpinner mono, aria-busy16–24 px, currentColorChange the button width
    Route changeView Transition on the main area onlyout 90 ms · in 240 ms + 8 px riseAnimate sidebar or top bar
    Sidebar or tab switchOne sliding indicator box180 ms · standardRepaint each item
    Dialog · drawer · menu · toastpop · drawer · menu · toast, scrim fadesenter 120–240 ms · exit 120–180 msUnmount without the exit
    Expand a groupCollapse (grid rows)180 ms open · 120 ms closeAnimate height
    List first appearsStagger rise, first eight items200 ms, 30 ms apart, 6 pxRe-run on every refetch
    Marketing scrollReveal once on entry640 msReplay on scroll back up
    Hover on anythingColour only120 msTranslate, scale, lift
    The Space Works logoAnimatedLogoMark: fold, then open600 + 1600 ms, onceLoop it, animate a tenant logo
    SuccessStatus toast · verify stamp180 ms in · stamp 420 msConfetti in staff or kiosk flows
    Theme switchCircle reveal from the toggle720 ms; cross-fade fallbackFade surfaces one by one
    Kiosk and TVFades only; slide fade on displays400 msAnything that repaints while idle
    +

    Never animated: layout properties, text swaps in forms, validation errors, focus rings, tables on sort or filter, anything while a person types.

    +
    +
    +
    + + +
    +
    +

    Still is a design too.

    +

    Reduced motion, touch screens and shared displays each get their own, equally finished version.

    +
    +
    +
    +
    Reduced motion
    +
    +
    {{box}}
    +

    Loader, splash and mark show the still, open logo.

    +
    +
      +
    • Durations drop to 0, distances to 0; only fades remain.
    • +
    • Scroll is instant; View Transitions are skipped.
    • +
    • The scroll story becomes a plain page, top to bottom.
    • +
    • Patch shows frame one; the 404 “z” stops.
    • +
    +

    @media (prefers-reduced-motion: reduce)

    +
    +
    +
    Touch
    +
    +
    +

    A tap never starts the mark's hover opening.

    +
    +
      +
    • Hover effects stick on touch, so gate them on (hover: hover).
    • +
    • Pointer-enter from pointerType "touch" is ignored.
    • +
    • Keyboard :focus-visible still plays it.
    • +
    • Phone sheets rise from the edge they dock to.
    • +
    +

    Applies to the web app on tablets and to the native apps.

    +
    +
    +
    Kiosk and TV
    +
    +
    400 ms
    fade
    +

    Shared screens never slide, scale or loop.

    +
    +
      +
    • .sw-kiosk and .sw-tv zero every distance token.
    • +
    • Display slides cross-fade once, so a Raspberry Pi stays idle between slides.
    • +
    • No confetti, no delight touches in kiosk flows.
    • +
    • No mascot loops on shared screens.
    • +
    +

    Distances: 0 px, scale 1, slide 0 %.

    +
    +
    +
    + {{qr:motion}} +

    Every animation in the product (where, why, tokens, trigger, reduced motion, dark): spaceworks-labs.github.io/SpaceWorks-Design-System/motion/principles/ and docs/motion.md.

    +
    +
    +
    +
    diff --git a/brand/guidelines-v2/src/pages/08-graphics.html b/brand/guidelines-v2/src/pages/08-graphics.html new file mode 100644 index 0000000..bedc59d --- /dev/null +++ b/brand/guidelines-v2/src/pages/08-graphics.html @@ -0,0 +1,123 @@ + +
    +
    +

    Built from the box.

    +

    Use flap shapes as quiet accents. Keep the logo itself intact.

    +
    +
    +
    Make
    room.
    + + + + +
    +
    +
      +
    1. 01Use one bold moment.
    2. +
    3. 02Align to a simple grid.
    4. +
    5. 03Let empty space do its job.
    6. +
    7. 04Flaps are flat shapes. No gradients, no shadows, no outlines.
    8. +
    9. 05In dark artwork the flaps sit on Deep Ink or black, never on a green-tinted grey.
    10. +
    +
    +
    +
    Colour balance · neutral first, accent second
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    In the dark theme
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + +
    +
    +

    Useful icons. Text-only nav.

    +

    A 24 px grid, 2 px stroke, round ends. Icons appear only where they earn it; the sidebar never has them.

    +
    +
    +
    SearchSearch fields
    +
    ArchiveStorage
    +
    CpuParts
    +
    MapPinLocation
    +
    Plus“+ Add item”
    +
    ArrowLeft“← All items”
    +
    ArrowUpRightView public page
    +
    ChevronsUpDownSpace switcher
    +
    InfoCallouts
    +
    TriangleAlertWarnings
    +
    CircleCheckSuccess
    +
    EllipsisOverflow menu
    +
    SunLight theme
    +
    MoonDark theme
    +
    LogOutSign out
    +
    +
    +

    Lucide, pinned. The product draws icons with lucide, which already meets the v1 spec: 24 grid, 2 px stroke, round caps and joins. Render at 20 or 16 px.

    +

    Label the unfamiliar. Icon-only buttons need an aria-label and a tooltip; the SVG is aria-hidden.

    +

    Colour follows text. Icons use currentColor, so they take ink, muted or an *-ink in both themes. Never a fill colour.

    +
    +
    + + +

    Neither the brand's own product mock nor the UX reference puts icons in the sidebar, and the phone tabs follow the same rule. Words are faster to scan than a column of look-alike glyphs, and they translate.

    +
    +
    +
    +
    + + +
    +
    +
    +

    Show the real space.

    +

    Parts, hands and shared benches. Soft daylight. Honest materials. Never recoloured.

    +
    +
    +
    Illustration twins · light
    +
    + +
    SK
    +
    +

    Plain artwork on light. A tenant logo shown as supplied.

    +
    Photography
    +
      +
    • Real objects and real people at real benches; keep the work in focus.
    • +
    • Soft daylight, honest materials. Avoid staged tech clichés and busy backdrops.
    • +
    • Evidence photos are records, not imagery: never cropped for style, filtered or reused in marketing.
    • +
    +
    +
    +
    Illustration twins · dark
    +
    + +
    SK
    +
    +

    -dark artwork with the Cream sticker border. A tenant logo gets a line edge if it would merge with black.

    +
    On black
    +
      +
    • Every illustration, empty-state glyph and landing graphic ships as a light and dark pair, picked by theme so only one downloads.
    • +
    • Dark artwork keeps its Deep Ink content; it does not turn teal-tinted.
    • +
    • Uploaded photos and tenant logos are never recoloured or inverted.
    • +
    +
    +
    +
    +
    diff --git a/brand/guidelines-v2/src/pages/09-mascot.html b/brand/guidelines-v2/src/pages/09-mascot.html new file mode 100644 index 0000000..e2b3930 --- /dev/null +++ b/brand/guidelines-v2/src/pages/09-mascot.html @@ -0,0 +1,85 @@ + +
    +
    +

    Meet Patch.

    +

    A painted wolf with a wrench: the friendly face for empty states and onboarding. The box stays the logo.

    +
    + Patch, the Space Works mascot +
    + + + + + + + + + +
    What painted wolves doWhat it says about Space Works
    No two coats are alike.Very different makers, all one pack.
    They vote by sneezing. Enough sneezes and the pack moves.The community decides together. Everyone gets a voice.
    They look after everyone. Pups eat first; food is brought back to the sick and old.A commons: access for everyone, nobody left behind.
    They succeed as a team.Collaboration over lone genius.
    They are endangered.A real story and a cause worth telling.
    +
    +

    Why “Patch”. The patchwork coat, patching things up, a software patch. Easy to say in any language.

    +

    Honest detail. Sneeze votes are not equal; say “everyone gets a voice”, not “one dog, one vote”.

    +

    Anatomy. Huge round ears, kind dark eyes, silver wrench, Maker Teal badge with a Warm Yellow orbit. Never fierce, never mirrored.

    +
    +
    +
    +
    +
    + + +
    +
    +
    +

    Patch on light and dark.

    +

    On dark surfaces use mascot/dark/: the same art with a thin Warm Cream sticker border.

    +
    +
    +
    + +
    Plain files · light surfaces

    Warm Cream, white and the light brand colours. Patch's dark outline reads at 6 to 14.5 : 1 on cream.

    +
    +
    The sneeze loop · 7 s · eight frames
    +
    +
    0.0 s
    +
    2.0
    +
    3.5
    +
    4.0
    +
    5.3
    +
    5.6
    +
    6.0
    +
    6.6
    +
    +

    Idle, blink, left ear, right ear, sneeze prep, sneeze (the vote), recover, back to idle.

    +
    Where Patch goes
    +
      +
    • Empty states, the 404 page, onboarding, a few still moments, merch.
    • +
    • Never in staff chrome; never looping beside work or on shared screens.
    • +
    +
    +
    +
    + +
    mascot/dark/ · dark surfaces only

    The outline alone measures about 1.0 to 2.3 : 1 on Deep Ink and vanishes. The Cream border (4 px per 256 px) is the one approved outline.

    +
    +
    The same frames, dark set
    +
    +
    0.0 s
    +
    2.0
    +
    3.5
    +
    4.0
    +
    5.3
    +
    5.6
    +
    6.0
    +
    6.6
    +
    +

    Same canvas as the light twin, so a dark file drops in and frames still line up.

    +
    Rules
    +
      +
    • Pick the file from the page theme, so only one downloads.
    • +
    • Reduced motion shows the idle frame only.
    • +
    • Coat browns and the silver wrench belong to the art; never use them as UI colours.
    • +
    +
    +
    +
    +
    diff --git a/brand/guidelines-v2/src/pages/10-product.html b/brand/guidelines-v2/src/pages/10-product.html new file mode 100644 index 0000000..137330c --- /dev/null +++ b/brand/guidelines-v2/src/pages/10-product.html @@ -0,0 +1,132 @@ + +
    +
    +
    +

    Components, calm.

    +

    44 px controls, 10 px corners, 16 px cards, round pills. No shadows except on layers that float.

    +
    +
    +
    Buttons · rest
    +
    SaveCancelEditJoin nowDeleteDisabled
    +
    Fields
    +
    Item name
    Arduino|
    +
    Tabs · segmented · pills
    +
    +
    OverviewHistoryEvidence
    +
    WeekMonth
    +
    +
    AvailableReservedMaintenance3
    +
    Card
    +
    Laser cutterRunning

    Booked until 16:30 · Bay 2

    +
    Primary · rest, hover, active
    +
    SaveSaveSavelabel {{cr:light.on-accent/light.accent}} · {{cr:light.on-accent/light.accent-hover}} · {{cr:light.on-accent/light.accent-active}}
    +
    +
    +
    Buttons · rest
    +
    SaveCancelEditJoin nowDeleteDisabled
    +
    Fields
    +
    Item name
    Arduino|
    +
    Tabs · segmented · pills
    +
    +
    OverviewHistoryEvidence
    +
    WeekMonth
    +
    +
    AvailableReservedMaintenance3
    +
    Card
    +
    Laser cutterRunning

    Booked until 16:30 · Bay 2

    +
    Primary · rest, hover, active
    +
    SaveSaveSavelabel {{cr:dark.on-accent/dark.accent}} · {{cr:dark.on-accent/dark.accent-hover}} · {{cr:dark.on-accent/dark.accent-active}}
    +
    +
    +
    +
    + + +
    +
    +

    Patterns that carry over.

    +

    What SpaceWorks 0.12.0 settled. Every Space Works app copies these rather than reinventing them.

    +
    +
    +
    Ask areas, not modules

    Setup asks which areas a space runs. What is off is hidden everywhere. Never show internal words.

    +
    Settings by intent

    Seven groups (Space, People, Areas, Money, Communication, Integrations, Administration), search over all, one line of help per row.

    +
    Views per role

    Each area manager sees their whole area; the Space Manager sees it all, grouped by area with totals.

    +
    Five states, not one

    Design loading, empty, no results, offline and error-with-retry for every list, in both themes.

    +
    Shared pager and confirm

    Every list uses the one pager; every destructive action a real confirm dialog with a close button.

    +
    Dialogs that stay put

    Close on the backdrop only if press and release both land there, so a text selection dragged out never closes it.

    +
    Scroll that remembers

    Back restores the position; a new page starts at the top. Focus moves only on a real page change.

    +
    Bulk actions

    A sticky bar appears with the count and a “Clear selection” action.

    +
    Search knows synonyms

    The palette matches both names of a page: Home and dashboard, Notifications and Inbox.

    +
    Colours that fix themselves

    A space picks two colours; the product shows where they apply, checks both themes and offers a one-click fix instead of refusing.

    +
    Simple and advanced

    Card Studio offers Quick and Advanced modes on the same document, and shows the photo consent notice where the photo is taken.

    +
    Motion with a fallback

    A scroll story always has a static version for reduced motion and phones.

    +
    +
    + {{qr:ux}} +

    Layouts, navigation and screen specs, with screenshots in light, dark and phone: spaceworks-labs.github.io/SpaceWorks-Design-System/ux/patterns/

    +
    +
    +
    +
    + + +
    +
    +

    Product rules, in short.

    +

    What every Space Works product follows, from the main app to the phone apps.

    +
    +
    +
    Areas

    Everything optional is an area with one registry key. Off means gone everywhere. Switching off keeps data; purge is a separate, deliberate step.

    +
    Role views

    Permissions are actions, not role names. Each person sees only what their role holds; the server refuses too.

    +
    One space, one scope

    Every record belongs to one space and every query is scoped. Public pages never show locations, QR codes or evidence.

    +
    Audit trail

    Every state change writes an append-only audit entry. Evidence is immutable. No issue without a scan and a photo.

    +
    Money

    Record the debt first, add a payment rail second. Minor units with currency, never floats. Idempotent, and the ledger is permanent.

    +
    Analytics

    Counts only: how many, by channel and day, never who. Web, iOS, Android and API clients are tagged.

    +
    API

    Every endpoint in OpenAPI with typed errors. The same authority on web and native tokens; 429 with Retry-After.

    +
    Code size

    About 200 lines per file, 300 at most. Split by responsibility behind a thin barrel; split first, then add.

    +
    Install in one line

    One command asks every question first, changes nothing until you confirm, and runs again to update.

    +
    Hosted or hybrid

    One space, many spaces, or a platform. The website can live here or elsewhere with this as the API.

    +
    Words

    Every string translated as a whole sentence with real plurals. Error codes stay stable; messages translate.

    +
    Tests

    Test what people can observe. The baseline is zero failures, and no test is ever deleted.

    +
    +
    + Installcurl -fsSL https://github.com/SpaceWorks-Labs/SpaceWorks/releases/latest/download/install.sh | sh +
    +
    +
    +
    + + +
    +
    +

    The accessibility floor.

    +

    Not a target to aim at. The level nothing ships below, in light and dark, with no allow-list.

    +
    +
    +
    4.5 : 1

    Text against every surface it can sit on, including hover and soft fills.

    +
    3 : 1

    Icons, control edges (outline) and focus rings.

    +
    44 px

    Every control's height. One checkbox and radio size.

    +
    2 + 2

    Focus ring: 2 px wide, 2 px offset, opaque focus token.

    +
    +
    +
      +
    • A word for every status. Colour is never the only cue; charts add a dash per series.
    • +
    • No translucent text, and never focus:outline-none.
    • +
    • Everything works from the keyboard. The skip link target always renders; collapsed content is unmounted.
    • +
    • Accessible names match the visible label. Icon-only buttons are named.
    • +
    +
      +
    • Reduced motion is honoured everywhere, with a still version that carries the same information.
    • +
    • Loaders speak: role="status" with a polite label; busy buttons set aria-busy; error toasts are alerts.
    • +
    • Both themes are tested: axe in component tests, and a browser suite (WCAG 2.1 AA, light and dark journeys) fails the build on any violation.
    • +
    • Tenant colours are proven readable in both themes before they render.
    • +
    +
    +
    + Focused button +
    Focused in dark
    +

    Teal ring on light ({{cr:light.focus/light.bg}} : 1), Citron ring on dark ({{cr:dark.focus/dark.bg}} : 1).

    +
    +
    +
    +
    diff --git a/brand/guidelines-v2/src/pages/11-applications.html b/brand/guidelines-v2/src/pages/11-applications.html new file mode 100644 index 0000000..e3abb25 --- /dev/null +++ b/brand/guidelines-v2/src/pages/11-applications.html @@ -0,0 +1,172 @@ + +
    +
    +

    Calm where it counts.

    +

    In the product, the inventory takes the lead. Phones get the same palette, OLED black in dark.

    +
    +
    +
    +
    My loans
    +
    Return by Friday.
    Soldering station · SOL-002
    +
    Arduino UnoIssued
    ARD-001 · since Mon
    +
    Laser slotConfirmed
    Thu 18:00 · Bay 2
    +
    MembershipUnpaid
    INR 500 due 1 Dec
    +
    HomeBorrowBookMe
    +
    +
    +
    My loans
    +
    Return by Friday.
    Soldering station · SOL-002
    +
    Arduino UnoIssued
    ARD-001 · since Mon
    +
    Laser slotConfirmed
    Thu 18:00 · Bay 2
    +
    MembershipUnpaid
    INR 500 due 1 Dec
    +
    HomeBorrowBookMe
    +
    +
    +
    {{box}}
    +

    Loading your loans…

    +
    +
    +
    +
    On phones
    +
      +
    • Display 44 / 48, heading 34 / 40, accent 32 / 40.
    • +
    • Member tabs are text-only, like the console sidebar.
    • +
    • Large callouts go soft in dark; pills stay solid.
    • +
    • Sheets rise from the bottom edge.
    • +
    • No hover animation. The loader is the same box.
    • +
    • Use the platform's reduce-motion setting.
    • +
    • Superadmin stays in the browser; the apps refuse it.
    • +
    • Never the platform's automatic dark inversion: two colour sets with the same role names.
    • +
    +
    +
    +
    +
    + + +
    +
    +

    Cards and badges.

    +

    Member cards, staff IDs, event badges and tickets come from Card Studio. Built-in looks ship in light and dark.

    +
    +
    +
    +
    +
    MEMBER
    +
    AN
    +
    Ann Mathew
    +
    Space Works Kochi
    +
    Member ID
    SWK-0042
    Valid to
    Nov 2027
    +
    +
    +
    +
    +
    STAFF
    +
    SA
    +
    Sana Ali
    +
    Inventory Manager
    +
    Staff ID
    SWK-S-007
    Valid to
    Nov 2027
    +
    +
    +
    +
    +
    Aurora look · tokens cards.aurora
    + + + + + + + + + +
    PartLightDark
    Background{{hex:cards.aurora.light.background}}{{hex:cards.aurora.dark.background}}
    Text{{hex:cards.aurora.light.text}}{{hex:cards.aurora.dark.text}}
    Labels{{hex:cards.aurora.light.label}}{{hex:cards.aurora.dark.label}}
    Header{{hex:cards.aurora.light.header}} Maker Teal, both
    Ribbon · tail{{hex:cards.aurora.light.ribbon}} Citron · {{hex:cards.aurora.light.tail}} Workshop Orange
    +
      +
    • Printed cards keep Deep Ink as their dark ground: print artwork never uses the screen's black.
    • +
    • In dark, only the text that sits on the card background is recoloured.
    • +
    • Quick mode for a fast start, Advanced for a full canvas with bleed and safe zone; print-ready PDF out.
    • +
    • Seven barcode types; the verify page stamps a valid card once (420 ms).
    • +
    • Ask before removing a photo background, and show the opt-out where the photo is taken.
    • +
    +

    The two cards here show the palette; the layout is illustrative.

    +
    +
    +
    +
    + + +
    +
    +

    From the screen to the shelf.

    +

    Name first, details second. Test size and contrast at the real viewing distance.

    +
    +
    + +
    Arduino Uno
    +
    ARD-001Shelf A-03
    +
    Electronics · scan to borrow or return
    +
    {{qr:label}}
    +
    +
    Shelf label · 90 × 50 mm
    +
    +
    Box · BOX-0042
    +
    Soldering kit
    +

    Scan the box, take a photo, add a remark. Every handover leaves evidence.

    +
    +
    + +
    Return
    here.
    +

    Put it back where you found it. Staff will check it in.

    + +
    A3 poster
    +
    +
    +
    TV · 18:02
    +
    Open now
    +
    3 machines freeWorkshop 19:00
    +

    Slides fade once, 400 ms. Nothing moves while idle.

    +
    +
    +
    Print and signage
    +
      +
    • Print keeps Deep Ink as the dark ground; screens use black.
    • +
    • Proof at actual size: symbol at least 12 mm, lockup 40 mm.
    • +
    • One accent phrase per poster, in Unbounded.
    • +
    • Labels in Outfit with tabular figures for IDs.
    • +
    +
    +
    +
    +
    + + +
    +
    +

    Social card and banners.

    +

    Derived from the masters. Light and dark twins wherever the reader's theme can change.

    +
    +
    +
    + +
    Social card · 1200 × 630 · icons/og-1200x630.png
    +

    Warm Cream field, stacked lockup 600 px wide, centred, clear space H ÷ 4. Used for Open Graph and Twitter cards.

    +
    + + + + + +

    App and favicon sizes 512, 192, 180, 32, 16, from app-icon.svg.

    +
    +
    +
    + +
    README banner · light
    + +
    README banner · dark
    +

    Shown through a <picture> element that follows the reader's colour scheme. 1280 × 320, the lockup masters and the seven brand colours.

    +
    +
    +
    +
    +
    diff --git a/brand/guidelines-v2/src/pages/12-resources.html b/brand/guidelines-v2/src/pages/12-resources.html new file mode 100644 index 0000000..187e79f --- /dev/null +++ b/brand/guidelines-v2/src/pages/12-resources.html @@ -0,0 +1,60 @@ + +
    +
    +

    Everything, in one place.

    +

    The design system site and repository hold every file in this book, and the live versions of every animation.

    +
    + +
    + + + + + + + + + + + + + + + + +
    PathWhat it holds
    brand/This PDF, brand guidelines v1, page renders, logo reference sheets, README banners
    logo/Ten masters (SVG and 4× PNG): symbol, stacked, horizontal × full colour, reversed, one colour; app icon
    tokens/tokens.json · tokens.cssEvery colour for light and dark, chart, loader, card and motion tokens; @font-face
    fonts/Gilroy Light and ExtraBold (free), Outfit and Unbounded (OFL), with licences
    motion/box-open/Loader CSS, SVG markup, demo page, React LogoLoader, BoxSpinner, AnimatedLogoMark
    mascot/ · mascot/dark/Patch: hero, sneeze loop, walk cycles; full, original and compressed; dark sticker set
    icons/favicon.svg, app icons 16 to 512, social card 1200 × 630
    docs/ui-brand-spec.mdToken derivations, contrast matrices, states, status pills, type scale, logo use
    docs/theming.md · motion.mdHow to build the light/dark switch; every animation and the which-where table
    docs/lessons-learned.md38 lessons from light and dark, with the pairing table for mobile apps
    docs/whats-new-v2.0.mdWhat's new in v2.0 and what each app must change
    docs/product-rules.md · ux-spec.mdProduct and engineering rules; UX patterns, layouts and screens
    +

    Add the repository to a project as a git submodule so every surface draws from one source. Tokens are the single source: generate from them, never retype a hex.

    +
    +
    +
    +
    + + +
    +
    + space works +
    Ready to make.
    +
    +
    Version
    +

    Space Works Design System v2.0 · Brand guidelines v2, November 2026. Ships alongside SpaceWorks 0.12.0. Supersedes brand guidelines v1 wherever the two differ; everything v1 says that this book does not change still stands.

    +
    Sources
    +

    Colours, ratios and motion values are read from tokens/tokens.json when the book is built. Frames of the box are frozen from motion/box-open/box-open.css. Decisions cited: 225, 299, 313, 316, 322, 323, 362.

    +
    +
    +
    Set in
    +

    Gilroy ExtraBold and Gilroy Light (free weights), Outfit and Unbounded (SIL OFL).

    +
    Built from
    +

    HTML and CSS in brand/guidelines-v2/src/, rendered with headless Microsoft Edge. Rebuild with node brand/guidelines-v2/build.mjs.

    +
    Licence
    +

    Space Works design assets: AGPL-3.0-or-later. Fonts keep their own licences.

    +
    +
    +
    diff --git a/brand/guidelines-v2/src/qr/boxopen.svg b/brand/guidelines-v2/src/qr/boxopen.svg new file mode 100644 index 0000000..9601db8 --- /dev/null +++ b/brand/guidelines-v2/src/qr/boxopen.svg @@ -0,0 +1 @@ + diff --git a/brand/guidelines-v2/src/qr/colour.svg b/brand/guidelines-v2/src/qr/colour.svg new file mode 100644 index 0000000..6e68288 --- /dev/null +++ b/brand/guidelines-v2/src/qr/colour.svg @@ -0,0 +1 @@ + diff --git a/brand/guidelines-v2/src/qr/label.svg b/brand/guidelines-v2/src/qr/label.svg new file mode 100644 index 0000000..24795a4 --- /dev/null +++ b/brand/guidelines-v2/src/qr/label.svg @@ -0,0 +1 @@ + diff --git a/brand/guidelines-v2/src/qr/lessons.svg b/brand/guidelines-v2/src/qr/lessons.svg new file mode 100644 index 0000000..a0c2a8f --- /dev/null +++ b/brand/guidelines-v2/src/qr/lessons.svg @@ -0,0 +1 @@ + diff --git a/brand/guidelines-v2/src/qr/mascot.svg b/brand/guidelines-v2/src/qr/mascot.svg new file mode 100644 index 0000000..86f4131 --- /dev/null +++ b/brand/guidelines-v2/src/qr/mascot.svg @@ -0,0 +1 @@ + diff --git a/brand/guidelines-v2/src/qr/motion.svg b/brand/guidelines-v2/src/qr/motion.svg new file mode 100644 index 0000000..3d3b7a2 --- /dev/null +++ b/brand/guidelines-v2/src/qr/motion.svg @@ -0,0 +1 @@ + diff --git a/brand/guidelines-v2/src/qr/mtokens.svg b/brand/guidelines-v2/src/qr/mtokens.svg new file mode 100644 index 0000000..98ed337 --- /dev/null +++ b/brand/guidelines-v2/src/qr/mtokens.svg @@ -0,0 +1 @@ + diff --git a/brand/guidelines-v2/src/qr/repo.svg b/brand/guidelines-v2/src/qr/repo.svg new file mode 100644 index 0000000..564733a --- /dev/null +++ b/brand/guidelines-v2/src/qr/repo.svg @@ -0,0 +1 @@ + diff --git a/brand/guidelines-v2/src/qr/rules.svg b/brand/guidelines-v2/src/qr/rules.svg new file mode 100644 index 0000000..7a89386 --- /dev/null +++ b/brand/guidelines-v2/src/qr/rules.svg @@ -0,0 +1 @@ + diff --git a/brand/guidelines-v2/src/qr/site.svg b/brand/guidelines-v2/src/qr/site.svg new file mode 100644 index 0000000..113505c --- /dev/null +++ b/brand/guidelines-v2/src/qr/site.svg @@ -0,0 +1 @@ + diff --git a/brand/guidelines-v2/src/qr/theming.svg b/brand/guidelines-v2/src/qr/theming.svg new file mode 100644 index 0000000..6ca0807 --- /dev/null +++ b/brand/guidelines-v2/src/qr/theming.svg @@ -0,0 +1 @@ + diff --git a/brand/guidelines-v2/src/qr/type.svg b/brand/guidelines-v2/src/qr/type.svg new file mode 100644 index 0000000..e6be14e --- /dev/null +++ b/brand/guidelines-v2/src/qr/type.svg @@ -0,0 +1 @@ + diff --git a/brand/guidelines-v2/src/qr/ux.svg b/brand/guidelines-v2/src/qr/ux.svg new file mode 100644 index 0000000..e64682f --- /dev/null +++ b/brand/guidelines-v2/src/qr/ux.svg @@ -0,0 +1 @@ + diff --git a/brand/guidelines-v2/src/shell.html b/brand/guidelines-v2/src/shell.html new file mode 100644 index 0000000..b5cb0d9 --- /dev/null +++ b/brand/guidelines-v2/src/shell.html @@ -0,0 +1,15 @@ + + + + +Space Works Design System v2.0 · Brand guidelines v2 + + + + + + + + + + diff --git a/brand/guidelines-v2/src/styles.css b/brand/guidelines-v2/src/styles.css new file mode 100644 index 0000000..55593a1 --- /dev/null +++ b/brand/guidelines-v2/src/styles.css @@ -0,0 +1,241 @@ +/* Space Works brand guidelines v2: page system. Colours come only from tokens.css / generated.css. */ +@page { size: 1440px 1000px; margin: 0; } +* { box-sizing: border-box; } +html, body { margin: 0; padding: 0; background: rgb(var(--b-warm-cream)); } +body { + font-family: var(--font-sans); font-weight: 400; font-synthesis: none; + -webkit-print-color-adjust: exact; print-color-adjust: exact; + font-variant-numeric: tabular-nums; +} +a { color: inherit; text-decoration: none; } +p { margin: 0; } +ul, ol { margin: 0; padding: 0; list-style: none; } + +/* ---------- pages ---------- */ +.pg { + position: relative; width: 1440px; height: 1000px; overflow: hidden; + break-after: page; page-break-after: always; + background: rgb(var(--pg-bg)); color: rgb(var(--pg-ink)); +} +.pg:last-of-type { break-after: auto; page-break-after: auto; } +.pg.cream { --pg-bg: var(--color-bg); --pg-ink: var(--color-ink); --pg-rule: var(--color-line); --pg-label: var(--color-accent-ink); --pg-muted: var(--color-muted); } +.pg.citron { --pg-bg: var(--b-citron); --pg-ink: var(--color-ink); --pg-rule: var(--color-outline); --pg-label: var(--color-accent-ink); --pg-muted: var(--color-muted); } +.pg.ink { --pg-bg: var(--b-deep-ink); --pg-ink: var(--b-warm-cream); --pg-rule: var(--color-muted); --pg-label: var(--b-citron); --pg-muted: var(--b-warm-cream); } +.pg.black { --pg-bg: var(--color-bg); --pg-ink: var(--color-ink); --pg-rule: var(--color-line); --pg-label: var(--color-accent-ink); --pg-muted: var(--color-muted); } +.pg.split { --pg-bg: var(--color-bg); --pg-ink: var(--color-ink); --pg-rule: var(--color-line); --pg-label: var(--color-accent-ink); --pg-muted: var(--color-muted); } + +/* a themed block inside a page re-derives the page helpers from its own tokens */ +.th-dark:not(.pg), .th-light:not(.pg) { --pg-label: var(--color-accent-ink); --pg-muted: var(--color-muted); --pg-rule: var(--color-line); --pg-ink: var(--color-ink); color: rgb(var(--color-ink)); } + +.hd { + position: absolute; left: 64px; right: 64px; top: 0; height: 75px; padding-top: 34px; + display: flex; justify-content: space-between; font-size: 13px; letter-spacing: 0.01em; + border-bottom: 1px solid rgb(var(--pg-rule)); z-index: 2; +} +.ft { + position: absolute; left: 64px; right: 64px; top: 928px; height: 72px; padding-top: 22px; + display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; + border-top: 1px solid rgb(var(--pg-rule)); z-index: 2; +} +.ft b { font-weight: 600; font-size: 22px; } + +.in { position: absolute; left: 64px; right: 64px; top: 120px; bottom: 100px; display: flex; flex-direction: column; } +h1, .h1 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 60px; line-height: 1.04; letter-spacing: -0.02em; } +.sub { margin-top: 16px; font-family: var(--font-display); font-weight: 300; font-size: 24px; line-height: 1.3; } +.ct { flex: 1; margin-top: 48px; position: relative; min-height: 0; } + +/* ---------- type helpers ---------- */ +.lbl { font-size: 13px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: rgb(var(--pg-label)); } +.lbl-ink { font-size: 13px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; } +.d800 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; } +.d300 { font-family: var(--font-display); font-weight: 300; } +.acc { font-family: var(--font-accent); font-weight: 500; letter-spacing: -0.01em; } +.h2 { font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 1.08; letter-spacing: -0.015em; margin: 0; } +.h3 { font-weight: 600; font-size: 22px; line-height: 1.25; margin: 0; } +.h4 { font-weight: 600; font-size: 17px; line-height: 1.3; margin: 0; } +.big { font-size: 22px; line-height: 1.4; } +.body { font-size: 17px; line-height: 1.5; } +.sm { font-size: 15px; line-height: 1.45; } +.xs { font-size: 13px; line-height: 1.4; } +.mut { color: rgb(var(--pg-muted)); } +.ink-acc { color: rgb(var(--color-accent-ink)); } +.code { font-variant-numeric: tabular-nums slashed-zero; letter-spacing: 0.02em; } +.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; } .mt40 { margin-top: 40px; } + +/* ---------- layout ---------- */ +.row { display: flex; gap: 24px; } +.col { display: flex; flex-direction: column; } +.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; } +.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; } +.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; } +.fill { position: absolute; inset: 0; } +.rule-t { border-top: 1px solid rgb(var(--pg-rule)); } +.rule-b { border-bottom: 1px solid rgb(var(--pg-rule)); } +.vr { border-left: 1px solid rgb(var(--pg-rule)); } + +/* ---------- cards and surfaces ---------- */ +.card { border-radius: 20px; padding: 24px; background: rgb(var(--color-panel)); color: rgb(var(--color-ink)); position: relative; } +.card.line { border: 1px solid rgb(var(--color-line)); } +.card.ol { border: 1px solid rgb(var(--color-ink)); } +.th-dark.card, .th-dark .card { border: 1px solid rgb(var(--color-line)); } +.pane { border-radius: 20px; background: rgb(var(--color-bg)); color: rgb(var(--color-ink)); position: relative; overflow: hidden; } +.th-dark.pane { border: 1px solid rgb(var(--color-line)); } +.cap { position: absolute; left: 24px; bottom: 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; } + +/* ---------- product components (read the theme tokens) ---------- */ +.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 10px; font-size: 15px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; } +.btn.primary { background: rgb(var(--color-accent)); color: rgb(var(--color-on-accent)); } +.btn.neutral { background: rgb(var(--color-panel)); color: rgb(var(--color-ink)); border-color: rgb(var(--color-outline)); } +.btn.ghost { color: rgb(var(--color-accent-ink)); } +.btn.emph { background: rgb(var(--color-emphasis)); color: rgb(var(--color-on-emphasis)); } +.btn.danger { background: rgb(var(--color-danger)); color: rgb(var(--color-on-danger)); } +.btn.dis { background: rgb(var(--color-surface)); color: rgb(var(--color-muted)); border-color: rgb(var(--color-line)); } +.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; } +.pill.success { background: rgb(var(--color-success)); color: rgb(var(--color-on-success)); } +.pill.warn { background: rgb(var(--color-warn)); color: rgb(var(--color-on-warn)); } +.pill.info { background: rgb(var(--color-info)); color: rgb(var(--color-on-info)); } +.pill.emph { background: rgb(var(--color-emphasis)); color: rgb(var(--color-on-emphasis)); } +.pill.accent { background: rgb(var(--color-accent-soft)); color: rgb(var(--color-accent-ink)); } +.pill.danger { background: rgb(var(--color-panel)); color: rgb(var(--color-danger)); border: 1px solid rgb(var(--color-danger-line)); } +.pill.neutral { background: rgb(var(--color-surface)); color: rgb(var(--color-ink)); border: 1px solid rgb(var(--color-line)); } +.field { height: 44px; border-radius: 10px; border: 1px solid rgb(var(--color-outline)); background: rgb(var(--color-panel)); color: rgb(var(--color-muted)); display: flex; align-items: center; padding: 0 14px; font-size: 15px; gap: 10px; } +.field.focus { border-color: rgb(var(--color-accent)); outline: 2px solid rgb(var(--color-focus)); outline-offset: 2px; color: rgb(var(--color-ink)); } + +/* ---------- swatches ---------- */ +.sw { border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; position: relative; } +.sw .n { font-weight: 600; font-size: 17px; } +.sw .v { font-size: 14px; line-height: 1.4; } +.chip { width: 100%; border-radius: 12px; } + +.fams { display: grid; gap: 12px; } +.fam { display: grid; grid-template-columns: 96px repeat(5, 1fr); gap: 10px; align-items: start; } +.fam-n { font-weight: 600; font-size: 15px; padding-top: 12px; } +.fcs { height: 40px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 17px; border-radius: 10px; } +.fc .xs { margin-top: 4px; line-height: 1.2; } +.ladder td { padding-top: 6px; padding-bottom: 6px; font-size: 14px; vertical-align: middle; } + +/* ---------- tables ---------- */ +.tb { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.35; } +.tb th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: rgb(var(--pg-label)); padding: 0 16px 10px 0; border-bottom: 1px solid rgb(var(--pg-rule)); } +.tb td { padding: 10px 16px 10px 0; border-bottom: 1px solid rgb(var(--pg-rule)); vertical-align: top; } +.tb td.num, .tb th.num { text-align: right; } +.tb .dot { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 8px; } + +/* ---------- box-open frames (frozen from the real CSS) ---------- */ +.frz, .frz * { animation-play-state: paused !important; } +.frz * { animation-delay: calc(var(--t, 0) * -1ms) !important; } +.boxf { position: relative; width: 100%; aspect-ratio: 136 / 126; } +.strip { display: grid; gap: 0; } +.strip .fr { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 6px 12px; position: relative; } +.strip .fr + .fr { border-left: 1px solid rgb(var(--color-line)); } +.strip .fr .sw-box { width: 100%; max-width: 104px; } +.strip .t { font-size: 13px; font-weight: 600; } +.strip .k { font-size: 12px; color: rgb(var(--color-muted)); text-align: center; line-height: 1.3; min-height: 16px; } + +.recol svg, .inl svg { width: 100%; height: auto; display: block; } +.recol path { fill: rgb(var(--b-sky-blue)) !important; } + +/* timeline bars */ +.tl { position: relative; height: 40px; border-radius: 10px; overflow: hidden; display: flex; } +.tl > div { display: flex; align-items: center; padding: 0 12px; font-size: 13px; font-weight: 600; white-space: nowrap; } +.ticks { position: relative; height: 22px; font-size: 12px; color: rgb(var(--pg-muted)); } +.ticks span { position: absolute; top: 4px; transform: translateX(-50%); white-space: nowrap; } + +/* do / don't */ +.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; } +.tag.do::before, .tag.dont::before { content: ""; width: 10px; height: 10px; border-radius: 999px; } +.tag.do::before { background: rgb(var(--color-accent-ink)); } +.tag.dont::before { background: rgb(var(--color-danger)); } + +/* lists */ +.num-list li { display: grid; grid-template-columns: 44px 1fr; padding: 13px 0; border-top: 1px solid rgb(var(--pg-rule)); } +.num-list li:last-child { border-bottom: 1px solid rgb(var(--pg-rule)); } +.num-list .no { color: rgb(var(--pg-label)); font-size: 15px; font-weight: 600; padding-top: 2px; } +.bul li { position: relative; padding-left: 20px; margin-top: 8px; } +.bul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 2px; background: rgb(var(--pg-label)); } + +/* icons (lucide geometry: 24 grid, 2 px stroke, round caps) */ +.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; } + +/* contents */ +.toc { columns: 2; column-gap: 64px; } +.toc li { display: grid; grid-template-columns: 56px 1fr 40px; align-items: baseline; padding: 15px 0; border-top: 1px solid rgb(var(--pg-rule)); break-inside: avoid; font-size: 22px; } +.toc-no { font-size: 15px; font-weight: 600; color: rgb(var(--pg-label)); } +.toc-name { font-weight: 500; } +.toc-pg { text-align: right; font-size: 17px; font-weight: 600; } + +/* QR */ +.qr { display: block; width: 116px; height: 116px; padding: 8px; border-radius: 12px; background: rgb(var(--b-warm-cream)); } +.qr svg { display: block; width: 100%; height: 100%; } +.qr-row { display: flex; gap: 18px; align-items: center; } + +/* split pages: light left half, dark right half (x >= 720) */ +.pg.split .hd, .pg.split .ft { border-color: transparent; } +.pg.split .hd::after, .pg.split .ft::before { content: ""; position: absolute; left: 0; right: 0; height: 1px; + background: linear-gradient(90deg, rgb(var(--color-line)) 0 656px, rgb(var(--dk-line)) 656px 100%); } +.pg.split .hd::after { bottom: -1px; } +.pg.split .ft::before { top: -1px; } +.pg.split .hd span:last-child, .pg.split .ft b { color: rgb(var(--dk-ink)); } + +/* console mock (reads theme tokens) */ +.con { display: grid; grid-template-columns: 150px 1fr; border-radius: 16px; overflow: hidden; background: rgb(var(--color-bg)); border: 1px solid rgb(var(--color-line)); color: rgb(var(--color-ink)); height: 400px; } +.con-side { background: rgb(var(--color-sidebar)); padding: 16px 12px; } +.th-dark .con-side { border-right: 1px solid rgb(var(--color-line)); } +.th-light .lg-d { display: none; } .th-dark .lg-d { display: inline; } .th-dark .lg-l { display: none; } +.nav { height: 32px; border-radius: 8px; padding: 0 10px; font-size: 13px; font-weight: 500; display: flex; align-items: center; margin-top: 4px; } +.nav.on { background: rgb(var(--color-sidebar-active)); color: rgb(var(--color-on-accent)); font-weight: 600; } +.con-main { padding: 18px 18px; } +.srch { height: 36px; border-radius: 8px; background: rgb(var(--color-sidebar)); color: rgb(var(--color-muted)); display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 13px; } +.th-dark .srch { background: rgb(var(--color-surface)); border: 1px solid rgb(var(--color-focus)); } +.th-dark .srch .ic { color: rgb(var(--color-focus)); } +.con-tb { background: rgb(var(--color-panel)); border-radius: 12px; padding: 4px 14px; } +.th-dark .con-tb { border: 1px solid rgb(var(--color-line)); } +.con-r { display: grid; grid-template-columns: 1.6fr 0.8fr 1fr; align-items: center; padding: 9px 0; font-size: 13px; line-height: 1.3; border-top: 1px solid rgb(var(--color-line)); } +.con-r.con-h { border-top: 0; font-weight: 600; color: rgb(var(--color-accent-ink)); font-size: 12px; } + +/* icon grid */ +.icg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid rgb(var(--pg-rule)); } +.icg > div { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 18px 12px 18px 0; border-bottom: 1px solid rgb(var(--pg-rule)); } +.icg .ic { width: 32px; height: 32px; grid-row: 1 / 3; } +.icg b { font-weight: 600; font-size: 16px; } +.icg span { font-size: 13px; color: rgb(var(--pg-muted)); } +/* mascot frames */ +.pstrip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; } +.pstrip figure { margin: 0; text-align: center; } +.pstrip img { width: 100%; display: block; } +.pstrip figcaption { font-size: 12px; margin-top: 4px; } +.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: rgb(var(--color-surface)); border: 1px solid rgb(var(--color-line)); font-size: 14px; } +.seg span { padding: 6px 14px; border-radius: 8px; color: rgb(var(--color-muted)); } +.seg span.on { background: rgb(var(--color-panel)); border: 1px solid rgb(var(--color-outline)); color: rgb(var(--color-ink)); font-weight: 600; } +.cmp .btn { height: 40px; padding: 0 14px; font-size: 14px; } + +/* phone mock */ +.phone { width: 290px; height: 600px; border-radius: 40px; padding: 10px; background: rgb(var(--b-warm-cream)); } +.phone.th-dark { background: rgb(var(--dk-line)); } +.ph-scr { width: 100%; height: 100%; border-radius: 31px; overflow: hidden; background: rgb(var(--color-bg)); color: rgb(var(--color-ink)); padding: 22px 14px 0; position: relative; } +.ph-top { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.01em; margin-bottom: 14px; } +.ph-card { background: rgb(var(--color-panel)); border-radius: 14px; padding: 12px 14px; margin-top: 10px; font-size: 14px; line-height: 1.5; } +.th-dark .ph-card { border: 1px solid rgb(var(--color-line)); } +.ph-tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 62px; display: flex; justify-content: space-around; align-items: center; font-size: 13px; font-weight: 500; background: rgb(var(--color-panel)); border-top: 1px solid rgb(var(--color-line)); color: rgb(var(--color-muted)); } +.ph-tabs .on { color: rgb(var(--color-accent-ink)); font-weight: 600; } + +/* id card mock (colours from cards.aurora) */ +.idc { width: 300px; height: 500px; border-radius: 18px; overflow: hidden; position: relative; background: rgb(var(--card-background)); color: rgb(var(--card-text)); border: 1px solid rgb(var(--color-line)); } +.idc-h { height: 92px; background: rgb(var(--card-header)); display: flex; align-items: center; padding: 0 22px; } +.idc-rb { background: rgb(var(--card-ribbon)); color: rgb(var(--b-deep-ink)); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; padding: 7px 22px; } +.idc-ph { width: 108px; height: 108px; border-radius: 999px; margin: 26px 0 0 22px; background: rgb(var(--card-header)); color: rgb(var(--b-warm-cream)); display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 600; } +.idc-n { font-family: var(--font-display); font-weight: 800; font-size: 32px; margin: 18px 22px 0; letter-spacing: -0.01em; } +.idc-l { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgb(var(--card-label)); margin: 4px 22px 0; } +.idc-row { display: flex; gap: 0; margin-top: 18px; } +.idc-row .idc-l { margin-left: 22px; } +.idc-v { font-size: 17px; font-weight: 600; margin: 2px 22px 0; font-variant-numeric: tabular-nums; } +.idc-tail { position: absolute; right: 0; bottom: 0; width: 0; height: 0; border-left: 90px solid transparent; border-bottom: 90px solid rgb(var(--card-tail)); } + +.wmap { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; } +.wm { border-radius: 12px; padding: 12px 14px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; } +.wm > span:first-child { grid-row: 1 / 3; } +.wm b { font-size: 15px; } .wm span:last-child { font-size: 12px; } +.wm.g { background: rgb(var(--b-deep-ink)); color: rgb(var(--b-warm-cream)); } +.wm.o { background: rgb(var(--color-panel)); border: 1px solid rgb(var(--color-line)); } +.navdemo { width: 250px; } +.nd { margin-top: 10px; background: rgb(var(--color-sidebar)); border-radius: 14px; padding: 10px; } diff --git a/brand/space-works-brand-guidelines-v2.pdf b/brand/space-works-brand-guidelines-v2.pdf new file mode 100644 index 0000000..e3f7898 Binary files /dev/null and b/brand/space-works-brand-guidelines-v2.pdf differ diff --git a/docs/decisions.md b/docs/decisions.md new file mode 100644 index 0000000..9a73a2d --- /dev/null +++ b/docs/decisions.md @@ -0,0 +1,903 @@ +# Design decisions, with the reason for each + +This file keeps every decision that shapes how Space Works looks, moves and is built, **together with the +reason behind it**, so the reason is not lost when the people involved move on. + +How to read it: + +- **SW-nnn** is the number of the decision in the SpaceWorks decisions ledger (the main product's record of + everything the owner decided). The numbers match, so you can look the decision up there for the full text. + A later decision wins over an earlier one; replaced decisions are listed again under + [Superseded decisions](#superseded-decisions) and are never deleted. +- **DS-n** is a decision that belongs only to this design repository and has no ledger number. +- "The owner" is the project owner. Quotes are the owner's own words from the ledger. +- Where the ledger or the commit history gives no reason, the entry says **Reason not recorded** rather than + guessing. +- Dates are 2026. App paths (for example `frontend/src/index.css`) point into the main SpaceWorks repository; + every other path is in this repository. +- Written 13 November 2026, covering decisions up to SW-385. + +## Index + +| Number | Title | Status | +|---|---|---| +| SW-385 | Design site v2.0: grouped sections, long pages split, wide layout | current | +| SW-383 | Pipelines, versions and releases page (`docs/delivery.md`) | current | +| SW-382 | This release is "Space Works Design System v2.0" | current | +| SW-381 | Logo box animation: one orange face when shut, no holes in dark, frame-checked | current | +| SW-380 | One bright chart palette in light and dark; contrast from edges | current | +| SW-379 | Push to main now; every change ships with tests; this decisions file | current | +| SW-378 | Search field animation | current (template in progress) | +| SW-377 | Every animation becomes a reusable template | current (in progress) | +| SW-376 | Theme-switch animation as a template | current | +| SW-375 | Org-wide rules: hybrid per part, mobile analytics SDKs | current | +| SW-374 | Rename to SpaceWorks-Design-System; dev, then PR, then main; owner-only commits | current | +| SW-373 | Brand guidelines v2 | current | +| SW-372 | README banner with rounded corners and the logo | current | +| DS-1 | Banner text is outlined, not live fonts | current | +| SW-371 | Preview freshness check | current | +| SW-370 | Design images follow the new palette | current (screenshots in progress) | +| SW-369 | Product rules apply to every SpaceWorks-Labs product | current | +| SW-368 | Product and engineering rules page | current | +| SW-367 | Logo hover: fold shut, then open | current | +| SW-366 | "What changed in 0.12.0" page | current | +| SW-365 | Lessons-learned page | current | +| SW-364 | Motion guide and theming guide | current | +| SW-363 | Design site shows the real palette, generated from tokens | current | +| SW-362 | The logo opens on hover and focus, everywhere | current (refined by SW-367) | +| SW-323 | Motion pass across the app | current | +| SW-322 | One loader everywhere: the opening box | current | +| SW-317 | Aurora ID card uses brand colours; loader built from the storyboard | current | +| SW-316 | Dark theme is one solid black family | current | +| SW-313 | Cold-start splash: the box opens and flies to the navbar | current | +| SW-306 | Patch on landing pages (rules) | current | +| SW-300 | Landing scroll story, symbol background, restrained motion | current (dark values superseded by SW-316) | +| SW-299 | Only the free Gilroy weights ship | current | +| SW-277 | The landing page is original, in the app's own design language | current | +| SW-275 | Spaces home and directory with brand character; richer dark palette | partly superseded by SW-316 | +| SW-273 | Settings grouped by task (senior UX pass outcome) | current | +| SW-255 | A senior UX and product review before release | current | +| SW-247 | Tagline "Run the space, not spreadsheets."; "Lending" becomes "Inventory" | current | +| SW-245 | Professional README banner in the main repo | current | +| SW-235 | Ease-of-use pass; design repo synced to the black palette | current | +| SW-225 | Dark mode becomes true black | partly superseded by SW-316 | +| SW-222 | Free Gilroy weights: licence risk accepted | current (restated by SW-299) | +| SW-220 | Designer font is a real Outfit family | current | +| SW-219 | Release 0.12.0 owner choices: fonts | current (dark clause superseded by SW-225) | +| SW-210 | Public makerspace header shows the space's own logo | current | +| SW-204 | Light mode is the default | current | +| SW-168 | README in the Events style, with Patch peeking from a corner | current | +| SW-152 | README banner: Patch only if it still looks professional | superseded by SW-168 | +| SW-151 | README banner: no mascot | superseded by SW-152 | +| SW-128 | Card font library (cards only) | current | +| SW-106 | README poster banner and screenshots | partly superseded | +| SW-57 | Patch on the 404 page only; delight effects | partly superseded by SW-306 and SW-362 | +| SW-56 | Patch for dark surfaces: Warm Cream sticker border | current | +| SW-55 | Patch keeps a Warm Cream card in dark mode | superseded by SW-56 | +| SW-54 | Patch is sourced only from this repo; left-facing walk approved | current | +| SW-51 | Delight effects on by default; dark transition always on | current | +| SW-32 | Original Space Works artwork only | current | +| SW-31 | Everything is built only in the Space Works theme | current (Gilroy 400 to 700 clause superseded by SW-299) | +| SW-22 | Event accent: brand-palette presets only | current | +| SW-12 | Adopt Yuyu's fun elements, redone in our brand | current | +| DS-2 | AGPL-3.0-or-later licence | current | +| DS-3 | Starlight design site on GitHub Pages | current | +| DS-4 | Mobile UX spec and mobile motion stay in the app repos | current | +| DS-5 | Space Works UX is our own spec, inspired by Yuyu | current | +| DS-6 | Patch, the painted wolf mascot | current | +| DS-7 | Brand kit v1 and Figma exports are the source of truth | current | +| DS-8 | Dark token retune, then "teal-lit" dark | superseded by SW-225 then SW-316 | +| DS-9 | Links and Pages move to the SpaceWorks-Labs organisation | current | + +Count: 67 entries, 58 from the ledger (SW-) and 9 design-only (DS-). Ledger decisions 219, 220, 222 and the +other fonts and dark-mode steps are listed separately because each one changed the rules at a different date. + +--- + +## Decisions, newest first + +### SW-385 — Design site v2.0: grouped sections, long pages split, wide layout +- **Date:** 13 November +- **Decision:** The site is organised like an established design system: Start here, Brand, Foundations, Motion, + Components and patterns, Content, Rules and Reference, each group collapsed until you open it. Long docs are + published as an overview (the doc's introduction plus an "On this topic" list) and one page per part; the + Markdown sources stay single files, the split is defined in `site/scripts/split-docs.mjs`, and links to an anchor + that moved are rewritten. The content column is wide (76rem) so tables, swatches, demos and matrices use the + room, while running text keeps a ~72-character line; between 72rem and 90rem the right-hand contents column folds + into the "On this page" bar so the content is not squeezed; wide matrices pin their first column and scroll + sideways only when they cannot fit. No content was removed: a content inventory of every heading, paragraph, + table row, image and link before and after the change matched. +- **Why:** The owner said: "break long pages into splits, proper grouping, and some pages, even though the screen + has room, look squished; fix that in the design system. A proper v2 update", and "make it a proper design + system: don't remove any content, but well placed". The rules, decisions and UX spec pages were single walls of + 20,000 to 50,000 pixels, and the reading column was about 690 px wide on a 1280 px laptop. +- **Status:** current. +- **Implemented in:** `site/astro.config.mjs` (sidebar), `site/scripts/split-docs.mjs`, `site/scripts/sync-split.mjs`, + `site/src/styles/custom.css` (layout), `site/src/content/docs/index.mdx` (home), `site/src/content/docs/foundations.mdx`. + +### SW-383 — Pipelines, versions and releases page +- **Date:** 13 November +- **Decision:** `docs/delivery.md` records how every SpaceWorks-Labs repository checks, versions and releases its + work: the general rules (dev, then PR, then main; required checks; nothing merges red; semver in `VERSION`; + releases built by CI only when a new `VERSION` reaches main; secrets only in GitHub), the pipeline of each of + the five stacks, a table of where each repository stands today, and the gaps to close. It is published on the + site next to the product rules. +- **Why:** The owner said: "in the design system also mention the pipeline — GitHub Actions and workflows, + version, release and all — per stack". The product rules said what to do in one line; nobody could see which + repository actually did it, so gaps (no version-bump check on the Next.js apps, no signed Android or iOS + releases, no CI on the website) stayed invisible. +- **Status:** current. +- **Implemented in:** `docs/delivery.md`, `docs/product-rules.md` (section 12 pointer), `site/scripts/sync-extra.mjs`, + `site/astro.config.mjs` (sidebar entry). + +### SW-382 — This release is "Space Works Design System v2.0" +- **Date:** 13 November +- **Decision:** The design system has its own version: this release is **Space Works Design System v2.0** + (`VERSION` = `2.0.0`), which ships alongside SpaceWorks 0.12.0. The app's version is named only when describing + the app. "What changed in 0.12.0" becomes "What's new in v2.0": `docs/whats-new-v2.0.md` (the old + `docs/design-changes-0.12.0.md` stays as a pointer) and the site page `/whats-new-v2/` (the old `/whats-new/` + redirects). The site header shows the version. +- **Why:** The design system ships on its own schedule and is used by several products, so tying its name to one + app's release number confused which version of the kit a product followed. Reason beyond that not recorded. +- **Status:** current. +- **Implemented in:** `VERSION`, `docs/whats-new-v2.0.md`, `README.md` (changelog heading), `site/astro.config.mjs` + (redirect), `site/src/components/SiteTitle.astro` (badge). + +### SW-381 — Logo box animation: one orange face when shut, no holes in dark, frame-checked +- **Date:** 13 November +- **Decision:** The box animation (logo hover `hov`, loader `loop`, splash `once`, `mono`, the forced grounds) + has defined states and a frame check. Rest is the static logo exactly; shut is one solid cube whose lid is the + outer pair (top-right over bottom-left), so in light it shows exactly one orange face; a flap changes colour only + edge-on, showing its outer face past it; the reversed (dark) artwork shows a cream cap behind the front flaps + from the first moving frame; moving flaps are outlined in the ground colour; flaps are painted in depth order + (top-right drawn in two layers); the fold is staggered so no flap passes through another. Timings are unchanged + except the fold's stagger inside the same 600 ms (hover) and 968 ms (loader). +- **Why:** The owner reported two bugs: in dark, "blank black areas" (holes in the box) appeared while the flaps + moved; in light, "when the box is closed there are two orange faces; closed should show one orange, open shows + two". Root causes: the reversed master cuts its side faces short under the front flaps and the cap that fills + them only appeared when the box was nearly shut; the bottom-left flap swapped to teal at 105 degrees instead of + at edge-on (56), so its orange showed while the lid was still closed, and it was painted under the lid it rises + in front of; the shut flaps did not reach each other, leaving a slot; and folding all four flaps together made + neighbours pass through each other. The owner asked to make it "accurate" and checked frame by frame. +- **Status:** current. +- **Implemented in:** `motion/box-open/` (generated `box-open.css` and markup, `react/boxOpen/`, README "Known-good + states"), `scripts/check-box-frames.mjs`, `docs/motion.md`, `docs/lessons-learned.md` (lesson 39). App: + `frontend/src/components/boxOpen/` (generator and `boxOpen.frames.test.ts`), `components/brand/`, the + `index.html` splash. + +### SW-380 — One bright chart palette in light and dark; contrast from edges +- **Date:** 13 November +- **Decision:** Chart series use the five bright brand colours (teal, orange, citron, sky, yellow), the same hex + in light and dark (`--chart-1` to `--chart-5`). The 3:1 contrast for graphics comes from `--chart-edge`: a 1px + edge on every filled mark and a 4px casing under every 2px line (Deep Ink in light, Warm Cream in dark), with + the dash patterns kept so colour is never the only cue. Danger red is not a series colour. +- **Why:** The owner said: "use the same bright colours in light and dark too, the bright colours SpaceWorks + uses, like in charts". One brand palette should look the same everywhere; the old chart set dulled the + colours (ink shades in light, a mix in dark) to pass contrast. Contrast is solved with edges, not by dulling + colours. +- **Status:** current. Changes the chart rule of lesson 13 (history kept there). +- **Implemented in:** `tokens/tokens.css`, `tokens/tokens.json` (`chart`), `docs/theming.md`, + `docs/lessons-learned.md`, `docs/ui-brand-spec.md`, `site/src/components/ThemeDemo.astro`; app + `frontend/src/styles/chrome.css` and the report chart components. + +### SW-379 — Push to main now; every change ships with tests; this decisions file +- **Date:** 13 November +- **Decision:** Push what is finished in this repo to `main` now (dev, then PR, then merge); work still in + progress follows in later PRs. The product rules state that every change ships with its tests, by change + type. This file records every design decision with its reason. +- **Why:** The owner wanted the finished work published without waiting for the unfinished lanes, and wanted + the reasoning kept ("so that the reason is not lost"). Reasons are the first thing lost in a fast build. +- **Status:** current. +- **Implemented in:** `docs/decisions.md` (this file); the testing rule is in `docs/product-rules.md`. + +### SW-378 — Search field animation +- **Date:** 13 November +- **Decision:** One shared search field with a focus ring and icon nudge, a shortcut chip that fades on + focus, the magnifier becoming the small box spinner while loading, a clear button that fades in (Escape + also clears), and results that fade in with a 4 px rise and at most six staggered items. Reduced motion + means colour change only. +- **Why:** About 46 search inputs in the app each behaved a little differently. One component removes the + differences and gives the design system one reference template. Reason beyond that not recorded. +- **Status:** current. In progress: `motion/search/` is not in this repo yet. +- **Implemented in:** app: shared `SearchField` (all search inputs migrated, with a guard test). Design repo + (planned): `motion/search/`, a preview, a site page and a row in `docs/motion.md`. + +### SW-377 — Every animation becomes a reusable template +- **Date:** 13 November +- **Decision:** `docs/motion.md` is checked against the app, and every animation family (route change, page + enter, scroll reveal, overlays, toast, sidebar, skeleton, hover and press, feedback, kiosk and TV display) + gets its own `motion//` folder with token-based CSS and JS, React copies, a light and dark demo, a + README, animated previews covered by the freshness check, and a site page. +- **Why:** Other apps (Android, iOS, sibling web apps) must be able to copy an animation and get exactly the + same feel; a description alone drifts. Reason in the ledger is brief; this is the intent of the template + folders. +- **Status:** current. In progress: only `motion/box-open/` and `motion/theme-reveal/` exist so far. +- **Implemented in:** `motion/`, `docs/motion.md`, `scripts/check-previews.mjs`. + +### SW-376 — Theme-switch animation as a template +- **Date:** 13 November +- **Decision:** The light/dark switch animation (a circle growing from the toggle, 720 ms, plain cross-fade + where unsupported, instant under reduced motion) ships as a copy-paste template, and the design site's own + toggle uses it. +- **Why:** It is the app's signature theme moment; shipping it as a template lets every product switch theme + the same way, and using it on the site keeps the template honest. The held final frame exists so the old + theme never flashes (lesson 29 in `docs/lessons-learned.md`). +- **Status:** current. +- **Implemented in:** `motion/theme-reveal/` (CSS, plain JS, React, demo, preview), `docs/theming.md`, + `docs/motion.md`. App: the theme toggle component. + +### SW-375 — Org-wide rules: hybrid per part, mobile analytics SDKs +- **Date:** 13 November +- **Decision:** For every product, "hybrid" hosting means a choice per part (database, Redis, storage, email, + website each local or outside), and the installer asks about and checks each. Android and iOS must support + the same optional analytics providers as the web where an official mobile SDK exists: off by default, set + per deployment, no personal data, with a client tag. Every gap found becomes a required rule plus a + per-product "bring up to the rules" checklist; products are updated after 0.12.0. +- **Why:** The products had drifted: the web offered analytics providers the phone apps did not, and "hybrid" + meant different things in different places. Reason beyond that not recorded. +- **Status:** current. +- **Implemented in:** `docs/product-rules.md` (rules and per-product status matrix). + +### SW-374 — Rename to SpaceWorks-Design-System; dev, then PR, then main; owner-only commits +- **Date:** 13 November +- **Decision:** The repository is `SpaceWorks-Labs/SpaceWorks-Design-System` (site at + `spaceworks-labs.github.io/SpaceWorks-Design-System/`). Work is committed on `dev` by the owner with **no AI + co-author trailers**, pushed, a pull request is opened to `main`, and for this repository the owner has + authorised merging it. The site base path and every link move to the new name. +- **Why:** The new name says what the repo is (a system, not just a "design" folder) and matches the org's + other repos. The pull-request step means the site build and checks run before anything reaches `main`. + The no-trailer rule (also stated in SW-235 and SW-299) is the owner's choice for this repo; reason not + recorded. Older commits that already carry trailers are left as they are, history is not rewritten. +- **Status:** current. +- **Implemented in:** `.github/workflows/deploy-site.yml` (builds on pull requests, publishes on push to + `main`), `site/astro.config.mjs`, `README.md`. + +### SW-373 — Brand guidelines v2 +- **Date:** 13 November +- **Decision:** A second guidelines PDF, same visual family as v1, updated for release 0.12.0: the solid black + dark palette and the shift, logo in motion, colour with real contrast ratios, free fonts only, theming, + motion, Patch on dark, UX and product-rule summaries, accessibility. v1 is kept, not replaced. +- **Why:** v1 predates the black dark theme, the loader and the font change, so it would mislead anyone using + it alone. Keeping v1 preserves the original approved record. The v2 source is HTML so it can be rebuilt. +- **Status:** current. Files exist in the working tree but were not yet committed when this was written. +- **Implemented in:** `brand/space-works-brand-guidelines-v2.pdf`, `brand/guidelines-v2/`; + `brand/space-works-brand-guidelines-v1.pdf` stays. + +### SW-372 — README banner with rounded corners and the logo +- **Date:** 13 November +- **Decision:** The design repo README gets a rounded-corner banner with the logo (light version on Warm + Cream, dark version on solid black, switched with a `` element), a tidied intro and a complete + Contents table. +- **Why:** The README is the first thing people see on GitHub; the owner asked for a professional first + impression. Light and dark versions follow the reader's colour scheme. +- **Status:** current. +- **Implemented in:** `brand/readme/banner-light.svg`, `banner-dark.svg`, `make-banner.py`, `README.md`. + +### DS-1 — Banner text is outlined, not live fonts +- **Date:** 12 to 13 November +- **Decision:** The banner generator converts the Gilroy and Outfit text into outlined paths instead of + relying on installed fonts. +- **Why:** GitHub displays SVGs without custom fonts, so live text would fall back to a system font and lose + the brand type. Outlines show the brand fonts with no font dependency (stated in `make-banner.py`). The + README changelog's mention of a "system-font fallback stack" describes an earlier approach. +- **Status:** current. +- **Implemented in:** `brand/readme/make-banner.py` (needs `fonttools`), the two banner SVGs. + +### SW-371 — Preview freshness check +- **Date:** 13 November +- **Decision:** A lock file holds hashes of `tokens/tokens.json` and `motion/box-open/box-open.css` (and the + other sources). A check fails if a preview image no longer matches its source. It runs in the deploy + workflow, next to the site's token-drift check and link validator. +- **Why:** Preview images (palette cards, animated loaders) are generated files; without a check they quietly + go stale after a token change and the site shows colours the product no longer uses. +- **Status:** current. +- **Implemented in:** `scripts/make-previews.mjs`, `scripts/check-previews.mjs`, `scripts/lib-previews.mjs`, + `scripts/previews.lock.json`, `.github/workflows/deploy-site.yml`. + +### SW-370 — Design images follow the new palette +- **Date:** 13 November +- **Decision:** Palette previews (light, dark, side by side) are generated from `tokens.json`; the box loader + and the fold-then-open logo hover get animated previews rendered from the real CSS; the 24-plus Space + Works UX screenshots are recaptured from 0.12.0 under the same file names. Brand guidelines v1 page images + stay as the original. +- **Why:** Images that are drawn by hand or captured once drift from the real palette. Generating them from + the tokens and the real CSS means they cannot disagree with the product. +- **Status:** current. Palette and animation previews exist; the screenshot recapture was still in progress. +- **Implemented in:** `tokens/previews/`, `motion/**/preview*`, `screenshots/ux/` (list in + `screenshots/ux/RECAPTURE.md`). + +### SW-369 — Product rules apply to every SpaceWorks-Labs product +- **Date:** 13 November +- **Decision:** `docs/product-rules.md` is widened from one product to all of them (SpaceWorks, Workspace, + Events, Machines, Inventory, Bookings, Organization, Android, iOS, website, docs): stack, one-line install + and VPS default, self-host, managed and hybrid, areas and modules, role-based views, file size, money, + audit trails, analytics, API and mobile parity, tenancy, languages, accessibility, themes, motion, testing + and release, with a per-product status table checked against the org repos. +- **Why:** The rules were being re-learned product by product. One shared set, with an honest status per + product, shows where each one still falls short. +- **Status:** current. +- **Implemented in:** `docs/product-rules.md`; site page "Rules". + +### SW-368 — Product and engineering rules page +- **Date:** 13 November +- **Decision:** `docs/product-rules.md` records the rules every Space Works product follows (file size about + 200 lines with a 300 ceiling, areas switched off are hidden everywhere, role-based views, tenancy and + privacy, audit and evidence, API rules, money, languages, accessibility, themes, motion, tokens, testing and + release). Each rule says why it exists, how to apply it and how SpaceWorks enforces it. +- **Why:** So a new app or contributor can follow the same rules without reading the whole codebase, and so + each rule carries its reason. +- **Status:** current (widened by SW-369). +- **Implemented in:** `docs/product-rules.md`. + +### SW-367 — Logo hover: fold shut, then open +- **Date:** 13 November +- **Decision:** On hover, starting from the resting open logo, the box folds shut and then opens (no hold at + the end). Leaving mid-way lets the cycle finish, so nothing snaps. The mark's box-open is the one + hover-motion exception named in the UI spec. +- **Why:** Reason not recorded in the ledger beyond "softened"; the point of the rule is no jump or snap in + either direction. +- **Status:** current. +- **Implemented in:** `motion/box-open/`, `docs/motion.md`, `docs/ui-brand-spec.md` section E. + +### SW-366 — "What changed in 0.12.0" page +- **Date:** 13 November +- **Decision:** A page for designers and the other app teams: the dark-mode shift with before and after per + token, logo animation, every animation and where it is used, and the UX improvements to copy. +- **Why:** The Android, iOS and sibling web teams need to know exactly what to change to match 0.12.0. +- **Status:** current. +- **Implemented in:** `docs/whats-new-v2.0.md` (first published as `docs/design-changes-0.12.0.md`); site page "What's new in v2.0". + +### SW-365 — Lessons-learned page +- **Date:** 13 November +- **Decision:** Every design lesson from the build, written as a rule with the problem, rule, values, how it + is enforced and its source, plus a light and dark pairing table with contrast ratios. Colour matching in + light and dark is the main subject. +- **Why:** Dark mode was redone three times in a month and several contrast mistakes were repeated; writing + the lesson next to the rule stops the next app repeating them. +- **Status:** current. +- **Implemented in:** `docs/lessons-learned.md`; site page. + +### SW-364 — Motion guide and theming guide +- **Date:** 13 November +- **Decision:** `docs/motion.md` says which animation to use where (sensible defaults, and what not to + animate); `docs/theming.md` says how to build the light, dark and system switch with these palettes + (tokens, `html.dark`, a script that runs before first paint so there is no flash, `theme-color`, logo, chart + and loader variants, HTML, JS and React examples). The site gets a Theming page with a live switch and + light and dark side by side on the colour page. +- **Why:** Having tokens without guidance on using them leads to inconsistent motion and flash-of-wrong-theme + bugs in other apps. +- **Status:** current. +- **Implemented in:** `docs/motion.md`, `docs/theming.md`, site Theming and Motion pages. + +### SW-363 — Design site shows the real palette, generated from tokens +- **Date:** 13 November +- **Decision:** The site shows the solid black dark family and the current light set on every page, generated + from the tokens so it cannot drift, and shows the motion (header logo opens on hover and focus, a Motion + section with the catalogue, live loader demos and motion tokens). +- **Why:** The site had been showing the old green-tinted dark palette after the app moved on. Colours typed + by hand into a site are the usual source of this; generating them from the tokens, plus a build check that + `tokens.css` and `tokens.json` agree value for value, makes drift fail the build. +- **Status:** current. +- **Implemented in:** `site/scripts/sync-kit.mjs`, `site/scripts/check-tokens.mjs`, `site/src/`, `tokens/`. + +### SW-362 — The logo opens on hover and focus, everywhere +- **Date:** 13 November +- **Decision:** The Space Works mark plays a one-shot box opening (1600 ms) on pointer hover and keyboard + focus wherever it appears, through one shared component. It never loops except as the loader. Tenant logos + never animate. No hover animation on touch devices. Reduced motion shows the still mark. +- **Why:** A small brand moment that is the same everywhere. Touch is excluded because hover effects stick + after a tap; tenant logos are excluded because they belong to the makerspace, not to us; reduced motion is a + designed state, not an afterthought. +- **Status:** current (softened by SW-367). +- **Implemented in:** `motion/box-open/`, `docs/motion.md`. App: `AnimatedLogoMark`. + +### SW-323 — Motion pass across the app +- **Date:** 11 November +- **Decision:** Route changes use the View Transitions API (content cross-fades with a short upward settle + while the sidebar and top bar stay still); the sidebar's active marker slides; drawers, dialogs, menus, + toasts, tabs and accordions share enter and exit motion; one set of timing tokens (120, 180, 240 ms and + the brand curves); hover and press feedback is colour only. No new dependency, no shadows, gradients or + glass, transform and opacity only, nothing on the critical path over 240 ms, all off under reduced motion, + kiosk and TV get fades only. +- **Why:** The owner wanted the experience to feel "peak everywhere" when moving between screens. The + restrictions keep it fast, accessible and on-brand. +- **Status:** current. +- **Implemented in:** `tokens/tokens.json` (`motion`), `docs/motion.md`, `docs/ui-brand-spec.md` section E. + App: `frontend/src/index.css`, route transition code. + +### SW-322 — One loader everywhere: the opening box +- **Date:** 11 November +- **Decision:** Every loading state uses the box-opening animation. Pages, panels, dialogs and fallbacks use + the full loader; buttons, table rows and fields use a compact inline box that follows the text colour. + Ring spinners and grey skeleton blocks used as loading states are removed. Reduced motion shows the still + open logo; every loader keeps a polite `role="status"` label. +- **Why:** The owner's instruction was to "keep the box opening loading animation everywhere". It gives one + brand-owned loading cue instead of two looks, and the old ring had its own dark-mode bugs. +- **Status:** current. +- **Implemented in:** `motion/box-open/` (CSS, SVG markup, React `LogoLoader`, `BoxSpinner`, `BoxArt`). + App: `components/boxOpen/css.ts`. + +### SW-317 — Aurora ID card uses brand colours; loader built from the storyboard +- **Date:** 11 November +- **Decision:** The shipped Aurora card template's default colours become the brand palette (Maker Teal + header, Citron ribbon, Warm Cream body, Deep Ink text, Workshop Orange tail); layout unchanged. The loader + is finished from the owner's 8-frame storyboard, to be retimed if a video arrives. +- **Why:** Cards should look like Space Works out of the box in every space. Other reasons not recorded. +- **Status:** current. +- **Implemented in:** `tokens/tokens.json` (`cards.aurora`, `loader`), `motion/box-open/`. + +### SW-316 — Dark theme is one solid black family +- **Date:** 11 November +- **Decision:** Dark is one neutral family everywhere (landing, spaces, features, docs, sign-in, member area, + staff console, `/control/`, display screens): page `#000000`, surface `#0B0B0B`, panel `#141414`, hover + `#1C1C1C`, line `#2C2C2C`, Cream text, muted greys at AA contrast. Teal, Citron and orange are accents only + (buttons, focus, status, highlights). Token names are unchanged. A correction added the shipped line colour + as `#2C2C2C`, not the `#262626` first written. +- **Why:** The owner said mixing pure black with green-tinted surfaces "is not working out". Two families on + one screen looked like a mistake; tinted surfaces cost contrast (teal on the lit panel was about 1.76:1); + brand colour works better as an accent than as a floor; black is calmer on OLED phones. +- **Status:** current. Supersedes the green-tinted values of SW-275 and SW-300 and the surface part of SW-225. +- **Implemented in:** `tokens/tokens.css`, `tokens/tokens.json` (`dark`), `docs/ui-brand-spec.md`, + `docs/whats-new-v2.0.md` (before and after per token). App: `frontend/src/index.css`. + +### SW-313 — Cold-start splash: the box opens and flies to the navbar +- **Date:** 11 November +- **Decision:** On a cold page load the box unfolds and then flies into the header logo position, once per + page load, about 1.2 to 1.6 s, shown by a small inline block before the app mounts. Reduced motion gives a + still image and a fade. +- **Why:** The owner asked for a loading animation of "the SpaceWorks logo closed to open and moving to the + navbar". The inline block means the first load is never blank. +- **Status:** current. +- **Implemented in:** `docs/motion.md`, `docs/whats-new-v2.0.md`. App: `index.html` inline splash. + +### SW-306 — Patch on landing pages (rules) +- **Date:** 11 November +- **Decision:** Patch appears on the landing pages (home, features, spaces where it fits) under the brand + rules: never inside or beside the box symbol (so not over the tiled-symbol background), counts as the + section's one bold moment, decorative beside real copy, a still frame under reduced motion, light and dark + versions from the design system, never recoloured or flipped by CSS. +- **Why:** The owner asked to "use the mascot Patch in landing pages and all". The rules keep the mascot from + competing with the logo. +- **Status:** current. Replaces the "404 only" scope of SW-57. +- **Implemented in:** `mascot/` and `mascot/dark/`. App: `frontend/public/brand/patch/`. + +### SW-300 — Landing scroll story, symbol background, restrained motion +- **Date:** 11 November +- **Decision:** The landing page gets a scroll-driven story (pinned hero scene, product preview rising into + frame, a sticky stage beside scrolling steps, reveal on scroll), with a full static version for reduced + motion, short screens and phones. A low-opacity tiled Space Works symbol sits behind the hero and + overview, edges masked so the centre stays clean. The scroll story favours restraint: calm motion, + whitespace, one accent at a time. The dark palette is reviewed as one system. +- **Why:** The owner found the landing page lacked the scrolling feel of the SpaceWorks website and asked + for it to be "professional, clean". Behaviour was modelled on the website; nothing was copied (SW-277). +- **Status:** current, except the green-tinted dark values, replaced by SW-316. +- **Implemented in:** `docs/motion.md` (scroll reveal), `docs/ui-brand-spec.md`. App: landing page. + +### SW-299 — Only the free Gilroy weights ship +- **Date:** 11 November (first decided 9 November in SW-219, licence accepted in SW-222) +- **Decision:** Only the free Gilroy weights are used: Light (300) and ExtraBold (800), for light display + text and display headings. Every other weight, and any place the free files cannot be embedded, uses + Outfit (SIL Open Font Licence). Unbounded stays as the one accent face. The paid weights (Regular, Medium, + SemiBold, Bold) are removed and are never to be re-added. Fallback if the free licence ever becomes a + problem: Outfit everywhere. +- **Why:** The project does not hold a licence for the paid Gilroy weights and the owner is "not planning to + buy" one. SW-222 recorded that the owner accepts the redistribution risk of the free licence. A note in the + ledger (SW-276) flags that the free licence restricts making the font files available to third parties, + which a public repository may do, and that the paid files remain in older git history (history is not + rewritten). +- **Status:** current. +- **Implemented in:** `fonts/` (Gilroy Light and ExtraBold, Outfit, Unbounded, `fonts/LICENSES/`), + `tokens/tokens.css` (`@font-face`), `site/public/kit/fonts/`. Commit `7dca9a4`. + +### SW-277 — The landing page is original, in the app's own design language +- **Date:** 11 November +- **Decision:** The hub home page is an original landing page built in the app's design language (brand + guidelines, tokens, colour fields, existing illustrations). Nothing is ported or copied from the separate + SpaceWorks website repository. Docs are promoted from it. +- **Why:** The owner corrected an earlier plan to port the website: "don't work on SpaceWorks-Website in this + repo, make a proper landing page for this with the design language." +- **Status:** current (supersedes the first half of SW-277). +- **Implemented in:** App: landing page. Design repo: the tokens and rules it draws on. + +### SW-275 — Spaces home and directory with brand character; richer dark palette +- **Date:** 11 November +- **Decision:** The public home is built around the makerspace listing: a compact hero with search, then a + grid of space cards above the fold with loading, empty, no-results and error states. Cards lead with the + space's own cover image and logo and show what the space offers, with brand colour only as a fallback. The + page must be "cool": brand character, hover and focus lift that respects reduced motion, brand + illustrations in empty states, a sticky search on phones, an equally polished dark version. +- **Why:** The owner wanted a proper main page like the makerspace listing, and later that "Find a space" + list only makerspaces with image and logo (no "borrow a tool" wording). +- **Status:** partly superseded: the "teal-tinted dark surfaces" part is replaced by SW-316. +- **Implemented in:** App: spaces pages. Design repo: `docs/ux-spec.md` listing patterns. + +### SW-273 — Settings grouped by task (senior UX pass outcome) +- **Date:** 11 November +- **Decision:** Space settings are in seven groups (Space, People, Areas, Money, Communication, Integrations, + Administration) with search and one line of help per page, from one translated catalogue. "Modules" is + shown as "Areas & add-ons" in user-facing text only. One name per place. +- **Why:** Outcome of the review in SW-255; settings were hard to find. A test enforces help coverage so new + pages cannot skip it. +- **Status:** current. +- **Implemented in:** `docs/ux-spec.md`. App: `/admin/settings/
    `. + +### SW-255 — A senior UX and product review before release +- **Date:** 10 November +- **Decision:** After every feature lands and before the browser pass, a research-backed review of settings + and admin information architecture and usability heuristics, with proper grouping of settings. +- **Why:** The owner asked that UX and UI be "proper" "like a senior UX designer / product engineer" once + all features existed. +- **Status:** current (outcome recorded in SW-273). +- **Implemented in:** Design repo: `docs/ux-spec.md`, `docs/ux-screens-longtail.md`. + +### SW-247 — Tagline "Run the space, not spreadsheets."; "Lending" becomes "Inventory" +- **Date:** 10 November +- **Decision:** The product tagline is "Run the space, not spreadsheets.", used as the README banner headline + and tagline, in the official brand colours (tokens from this repo). User-facing "Lending" becomes + "Inventory" everywhere. +- **Why:** The owner asked: "change lending everywhere to inventory, also follow the brand colour and tagline". + The product manages inventory as a whole; lending is one part of it (SW-349 repeats this for the README). +- **Status:** current. +- **Implemented in:** `brand/readme/` banner, `docs/ui-brand-spec.md` voice notes. App: copy and navigation. + +### SW-245 — Professional README banner in the main repo +- **Date:** 10 November +- **Decision:** The main repo README gets a professional banner with the logo and rounded corners. +- **Why:** Owner request ("a proper professional README banner with logo, rounded corners and all"). The same + treatment was later applied to this repo (SW-372). +- **Status:** current. +- **Implemented in:** App: `docs/readme/`. Design repo: `brand/readme/`. + +### SW-235 — Ease-of-use pass; design repo synced to the black palette +- **Date:** 10 November +- **Decision:** An ease-of-use pass before release (minimal installer questions, guided first-run setup, + optional features hidden until switched on, plain-language labels, one-line help). Part (c): sync this + repo's tokens to the true-black palette, commit as the owner with no trailers, and push to the default + branch. +- **Why:** The owner asked to "make it easier for users and all". The sync keeps this repo from showing a + palette the product no longer uses. +- **Status:** current. +- **Implemented in:** `tokens/`, commit `7dca9a4`. + +### SW-225 — Dark mode becomes true black +- **Date:** 10 November +- **Decision:** Dark mode uses a `#000` page with near-black raised surfaces, keeping the Maker Teal accent, + Citron focus and AA contrast. The owner clarified: "keep the dark theme to somewhat that", meaning keep + its look, hue and hierarchy and only deepen it toward black (smallest token change, no redesign). +- **Why:** Reason not recorded beyond the owner's request; the design-changes page notes true black is + cheaper and calmer on OLED phones. +- **Status:** partly superseded: the layers above the black page stayed teal-tinted until SW-316 made the + whole family neutral. Dark `line` stayed as before at this step. +- **Implemented in:** `tokens/tokens.css`, `docs/whats-new-v2.0.md`. + +### SW-222 — Free Gilroy weights: licence risk accepted +- **Date:** 9 November +- **Decision:** Use only the free Gilroy weights with Outfit and Unbounded. No commercial licence will be + purchased. The owner accepts the redistribution risk of the free licence; the fallback is Outfit + everywhere. +- **Why:** The owner's call after the licence question was raised; no budget for the paid weights. +- **Status:** current (restated by SW-299). +- **Implemented in:** `fonts/README.md`, `fonts/LICENSES/`. + +### SW-220 — Designer font is a real Outfit family +- **Date:** 9 November +- **Decision:** The card and certificate designer offers a real `Outfit` font family. A data migration moves + stored designs from `Gilroy` to `Outfit`. +- **Why:** So the font name in the picker matches what is actually drawn, since the paid Gilroy weights are + gone. +- **Status:** current. +- **Implemented in:** App: designer font list and a data migration. + +### SW-219 — Release 0.12.0 owner choices: fonts +- **Date:** 9 November +- **Decision:** Part (a): free Gilroy weights for display, Outfit for body and interface, Unbounded as the one + accent face; commercial Gilroy weights removed; dark mode keeps the shipped token palette. +- **Why:** Same as SW-299. The dark-mode clause was then replaced by SW-225. +- **Status:** current for fonts; dark clause superseded by SW-225 and then SW-316. +- **Implemented in:** `fonts/`, `tokens/`. + +### SW-210 — Public makerspace header shows the space's own logo +- **Date:** 7 November +- **Decision:** When a makerspace has uploaded a logo, the shared public header shows it instead of the + Space Works symbol plus the makerspace name, keeping an accessible home name and correct links. Without an + uploaded image it shows the Space Works symbol and the name. +- **Why:** Reason not recorded. It matches the rule that tenant logos belong to the makerspace and never + animate (SW-362). +- **Status:** current. +- **Implemented in:** `docs/ui-brand-spec.md` (logo use). App: shared public tenant header. + +### SW-204 — Light mode is the default +- **Date:** 7 November +- **Decision:** Space Works starts in light mode. A saved light or dark choice is respected, including across + tabs and when storage is blocked. A visitor whose system is dark but who has no saved choice still starts + light. +- **Why:** Reason not recorded. Tests labelled dark must actually select dark. +- **Status:** current. +- **Implemented in:** `docs/theming.md`, `docs/lessons-learned.md` (lesson 29). App: theme provider and the + pre-paint script. + +### SW-168 — README in the Events style, with Patch peeking from a corner +- **Date:** 2 November +- **Decision:** The main README is rebuilt in the style of the sibling Events README: a banner in the brand + palette with Patch peeking from a corner (the official art, light and dark), a tagline, palette swatches, + no contributors wall. The banner generator is kept out of the repo. +- **Why:** The owner wanted the README done now, in a familiar proven style, rather than last. +- **Status:** current. Supersedes SW-151 and SW-152 on the mascot question. +- **Implemented in:** `mascot/`, `mascot/dark/` (the art). App: `docs/readme/`. + +### SW-152 — README banner: Patch only if it still looks professional +- **Date:** 31 October +- **Decision:** Render two banners, with and without a small Patch; ship the Patch one only if it still + reads as polished. +- **Why:** The owner left room for the mascot as long as quality held. +- **Status:** superseded by SW-168. +- **Implemented in:** n/a. + +### SW-151 — README banner: no mascot +- **Date:** 31 October +- **Decision:** No mascot on the README banner unless the owner later asks. +- **Why:** The owner wanted a clean, professional banner. Superseded the mascot parts of SW-106. +- **Status:** superseded by SW-152. +- **Implemented in:** n/a. + +### SW-128 — Card font library (cards only) +- **Date:** 28 October +- **Decision:** The ID card and certificate designer has a font library, including Indic scripts, as the one + exception to the brand-fonts rule, for cards only (item C-21; the full Google Fonts catalogue, self-hosted). +- **Why:** Cards are printed for people whose names and languages need scripts the brand fonts do not cover. +- **Status:** current. SW-299 still applies to everything that is not a card. +- **Implemented in:** App: card designer. + +### SW-106 — README poster banner and screenshots +- **Date:** 25 October +- **Decision:** The README gets a wide poster banner (wordmark, tagline, strip of real product shots, light and + dark) and a screenshot gallery, done last. +- **Why:** Reason not recorded beyond the owner's request for a "proper poster/banner". +- **Status:** partly superseded: the mascot and "last" parts by SW-151, SW-152 and SW-168. +- **Implemented in:** App: `docs/readme/`. + +### SW-57 — Patch on the 404 page only; delight effects +- **Date:** 20 October +- **Decision:** Patch appears only on the 404 page (light and dark sticker). Elsewhere the design system's SVG + illustrations (loader, moods, companion) are used. The delight effects added then: logo unfold on hover or + click, seven clicks for Maker mode, brand-shaped confetti on an on-time return, a `sudo make` easter egg, + first-load stagger, all behind the delight switches, honouring reduced motion, and excluded from kiosk, + scanner, checkout and payment screens. +- **Why:** The mascot is the "one bold moment", so it was held back until the brand rules were proven. The + exclusions protect screens where speed and clarity matter. +- **Status:** partly superseded: the "404 only" scope by SW-306; the logo effect by SW-362 and SW-367. +- **Implemented in:** `mascot/README.md` usage rules. + +### SW-56 — Patch for dark surfaces: Warm Cream sticker border +- **Date:** 20 October +- **Decision:** The official dark-background Patch has a thin Warm Cream (`#FFF4E8`) die-cut sticker border, + about 4 px at the 256 px walk-frame size and scaled with size, with the art otherwise untouched. In the + app's dark mode it replaces the cream card. +- **Why:** The painted coat has dark areas that vanish on black; a light edge keeps Patch readable. It is the + approved exception to the "no outlines" rule, for dark surfaces only. +- **Status:** current. +- **Implemented in:** `mascot/dark/`, `site/scripts/dark-mascot.mjs`, `mascot/README.md`. Commits `89e618b`, + `b93db0a`. + +### SW-55 — Patch keeps a Warm Cream card in dark mode +- **Date:** 20 October +- **Decision:** In dark mode, keep the Warm Cream card that travels with Patch (contrast rule). +- **Why:** Contrast for the light-coloured art on a dark page. +- **Status:** superseded by SW-56 (a sticker border replaces the card). +- **Implemented in:** n/a. + +### SW-54 — Patch is sourced only from this repo; left-facing walk approved +- **Date:** 20 October +- **Decision:** The app takes Patch only from this repository's main branch. The left-facing walk cycle, + which the owner fixed here, is the approved one. +- **Why:** One source of truth for the mascot art. Reason for the left-facing walk beyond "approved" not + recorded. +- **Status:** current. +- **Implemented in:** `mascot/walk-left/`. Commits `e7b74a3`, `62a9b9e`. + +### SW-51 — Delight effects on by default; dark transition always on +- **Date:** 20 October +- **Decision:** Delight effects and easter eggs are on by default for new and existing spaces and each space + may switch them off. Reduced motion is still honoured. The dark-mode transition is always on. +- **Why:** Reason not recorded. +- **Status:** current. +- **Implemented in:** `docs/motion.md`. App: delight switches. + +### SW-32 — Original Space Works artwork only +- **Date:** 18 October +- **Decision:** Every illustration and glyph is original Space Works artwork (SVG, light and dark variants) + built from the brand symbol and tokens: mood glyphs, loader, 404 tag, empty-state illustrations, default + certificate and card templates. No third-party or Yuyu assets. Decorative art is hidden from screen + readers; meaningful art has alt text. +- **Why:** Brand consistency and licensing safety (no borrowed artwork). +- **Status:** current. +- **Implemented in:** `mascot/`, `logo/`, `icons/`. App: `frontend/src/assets/illustrations/`. + +### SW-31 — Everything is built only in the Space Works theme +- **Date:** 18 October +- **Decision:** All new work uses only the Space Works theme: brand guidelines, CSS-variable tokens (light and + dark), the brand fonts with one Unbounded accent per layout, lucide icons, the app shell, existing + components, the accessibility floor and the colour vocabulary. No look, fonts, palettes, illustrations or + copy from Yuyu or any other product. +- **Why:** So the product reads as one brand and nothing borrowed ships by accident. A frontend design review + checks this explicitly. +- **Status:** current. The clause "Gilroy 400 to 700" was replaced by SW-299. +- **Implemented in:** `tokens/`, `docs/ui-brand-spec.md`. + +### SW-22 — Event accent: brand-palette presets only +- **Date:** 18 October +- **Decision:** An event's accent colour is chosen from brand-palette presets, not a free colour picker. +- **Why:** Reason not recorded; it follows from keeping every colour contrast-checked in light and dark + (compare the tenant-colour lesson in `docs/lessons-learned.md`). +- **Status:** current. +- **Implemented in:** `tokens/tokens.json` brand colours. + +### SW-12 — Adopt Yuyu's fun elements, redone in our brand +- **Date:** 18 October +- **Decision:** Adopt Yuyu's new and fun elements, including easter eggs, rebuilt in the Space Works brand. +- **Why:** The owner wanted the delight without the look; see SW-31 and DS-5. +- **Status:** current. +- **Implemented in:** `docs/ux-spec.md`; `references/yuyu/`. + +### DS-9 — Links and Pages move to the SpaceWorks-Labs organisation +- **Date:** 26 October +- **Decision:** Documentation links and the Pages site point at the SpaceWorks-Labs GitHub organisation. +- **Why:** The organisation was renamed (from an earlier HQ name); links to the old name would break or + mislead. +- **Status:** current. +- **Implemented in:** `README.md`, `site/astro.config.mjs`. Commit `de06880`. + +### DS-6 — Patch, the painted wolf mascot +- **Date:** 19 to 20 October +- **Decision:** The mascot is Patch, an African painted wolf with a wrench, inside a Maker Teal badge. It is + cut from the approved concept sheets and traced to vector without redrawing; the exact original pixels are + kept (lossless) alongside lighter compressed copies. Patch is the friendly face for empty states, + onboarding and merch; the box symbol stays the logo. +- **Why:** Painted wolves match the product's values: no two coats alike (a community of different makers), + they vote by sneezing (the community decides together), they look after the whole pack (a commons, nobody + left behind), they succeed as a team, and they are endangered. The name "Patch" nods to the patchwork coat, + to repair and maker culture, and to a software patch. Other animals were already taken by other brands. +- **Status:** current. +- **Implemented in:** `mascot/` (see `mascot/README.md`). Commits `114a64b`, `fc22f06`, `8cad666`. + +### DS-5 — Space Works UX is our own spec, inspired by Yuyu +- **Date:** 15 and 19 October +- **Decision:** The UX pattern specs are named Space Works UX and written in our own words and screens, with + Yuyu credited as the inspiration and its reference boards kept under `references/yuyu/`. Screenshots of + Space Works UX in the Events app, light, dark and phone, feed the site's UX pages. +- **Why:** Reason not recorded beyond the commit message: "Make the UX spec our own". The intent is to learn + from a good reference without copying it (see SW-31). Note that later decisions SW-129 to SW-131 and SW-130 + settle how code from the same reference may be reused in the app; they do not change this spec. +- **Status:** current. +- **Implemented in:** `docs/ux-spec.md`, `docs/ux-screens-longtail.md`, `screenshots/ux/`, `references/yuyu/`. + Commits `d4907b0`, `3661b75`, `85064b5`, `c9bf941`. + +### DS-4 — Mobile UX spec and mobile motion stay in the app repos +- **Date:** 16 October +- **Decision:** The mobile-only UX specification and mobile motion additions are removed from this repo and + kept in the app repositories. Brand assets and tokens are unchanged. +- **Why:** At the owner's request; reason beyond that not recorded. Mobile apps are built separately (the + Android and iOS repos) and own their own behaviour. +- **Status:** current. +- **Implemented in:** Commit `6bcbd0a` (removal); commit `3c61599` added them first. + +### DS-3 — Starlight design site on GitHub Pages +- **Date:** 16 October +- **Decision:** The design system is browsable as a Starlight website published to GitHub Pages from `site/` + on every push to `main`. The site copies the kit in at build time. +- **Why:** Reason not recorded beyond the commit. In practice it makes the logo masters, colours, type, voice, + tokens and specs viewable without cloning, and later (SW-363) keeps the displayed palette in step with the + tokens. +- **Status:** current. +- **Implemented in:** `site/`, `.github/workflows/deploy-site.yml`, `site/scripts/sync-kit.mjs`. Commit `fd28f82`. + +### DS-2 — AGPL-3.0-or-later licence +- **Date:** 16 October +- **Decision:** The design system is licensed under AGPL-3.0-or-later. +- **Why:** Reason not recorded in the commit or the ledger. It matches the main product's licence. +- **Status:** current. +- **Implemented in:** `LICENSE`. Commit `a13c512`. + +### DS-7 — Brand kit v1 and Figma exports are the source of truth +- **Date:** 15 October +- **Decision:** The approved brand kit (guidelines v1 PDF, ten logo masters exported from Figma, icons, fonts, + tokens and UX specs) is published here, and projects use the repo as a git submodule so every surface draws + from one source. +- **Why:** One place for the brand, so apps do not keep private copies that drift. Seven brand colours, + "neutral first, accent second", and "never orange text on cream" come from the same kit. +- **Status:** current (v1 kept when v2 was added, see SW-373). +- **Implemented in:** `brand/`, `logo/`, `icons/`, `tokens/`, `README.md`. Commits `a15a280`, `0ff2c38`, + `8225ce1`. + +--- + +## Superseded decisions + +These are kept so the history and the reasons for each change stay visible. Each links to what replaced it. + +### The dark theme chain: grey-green, teal-lit, true black, solid black + +| Step | Decision | What it was | Replaced by | +|---|---|---|---| +| 1 | Early tokens (before 15 October) | A grey-green dark palette | the DS-8 retune | +| 2 | DS-8 (15 October, `894cf8c`) | Dark tokens retuned for contrast | the teal-lit set | +| 3 | DS-8 (16 October, `5cf062e`) | "Teal-lit" dark: Deep Ink `#142C2A` page, lit teal panels `#193935` and `#1F433F`, Citron focus | SW-225 | +| 4 | SW-225 (10 November) | Page goes true black `#000`, but layers above it stay teal-tinted | SW-316 | +| 5 | SW-275 and SW-300 addendum (11 November, morning) | Black page with teal-tinted surfaces and borders, desaturated accents | SW-316 | +| 6 | **SW-316 (11 November)** | **One solid black neutral family (current)** | nothing | + +- **DS-8 — Dark token retune, then "teal-lit" dark** (15 and 16 October). *Why:* the first dark values had + low contrast in places, so they were retuned, then the dark mode was given a brand look with Deep Ink and + Maker Teal surfaces. *What went wrong:* teal marks were about 1.76:1 on the lit panel, so teal text and + charts were too dim and many status pills became dim soft fills. *Status:* superseded by SW-225, then + SW-316. +- **Why each step changed:** the black page (SW-225) was meant as the smallest change to the teal-lit look, + but putting black next to green-tinted layers made surfaces seam against the page. The morning pass of + 11 November kept the tint and had to lift the dark `line` just to make button borders readable (2.97:1). + SW-316 then split the roles properly (`line` for quiet dividers, `outline` for control edges) and removed + every green tint from surfaces. + +### The font chain: paid Gilroy weights removed + +- **SW-31 (18 October)** said "Gilroy 400 to 700 with one Unbounded accent per layout". **Superseded by + SW-219(a), SW-222 and SW-299:** the paid weights (Regular, Medium, SemiBold, Bold) are removed; only + Light 300 and ExtraBold 800 ship, with Outfit for everything else. *Why:* no licence for the paid weights + and no plan to buy one (see SW-299). +- **SW-128 (28 October)** keeps its card-only font-library exception; it was not replaced. + +### The mascot and banner chain + +- **SW-55** (keep the Warm Cream card in dark mode) is replaced by **SW-56** (a thin sticker border). +- **SW-57's** "Patch on the 404 page only" is replaced in part by **SW-306** (landing pages under brand rules). +- **SW-151** (no mascot on the banner) was refined by **SW-152** (only if it looks professional), then + settled by **SW-168** (Patch peeking from a corner). +- **SW-106's** "banner last" was replaced by **SW-168** (README now). + +### Other replaced details + +- **SW-225** (true black) and **SW-219(a)** ("dark keeps the shipped palette") are replaced on their palette + values by **SW-316**. +- **SW-277** first said to port the SpaceWorks website's landing page into the app; its own correction in the + same decision says not to copy anything and to build an original page. +- **SW-362** (logo opens on hover) was softened by **SW-367** (fold shut, then open; no hold). +- **DS-1** replaces the earlier README-banner text approach (system-font fallback stack) described in the + README changelog. +- The guidelines v1 PDF (15 October) is **not** superseded; v2 (SW-373) sits beside it. The v1 + PDF predates SW-299 and SW-316, and `docs/ui-brand-spec.md` says so. + +--- + +## How to record a decision + +Add every new design decision here, in the same change that makes it, so the reason is written down while +people still remember it. + +**Format.** Copy an existing entry and keep these fields, in this order: + +``` +### SW-nnn or DS-n — Short title +- **Date:** day and month (all dates are in the current year; add the year if not) +- **Decision:** one or two plain sentences. What is now true. +- **Why:** the reason. This is the point of the file. If you do not know the reason, write + "Reason not recorded" instead of guessing. +- **Status:** current, or "superseded by SW-xxx / DS-n", or "partly superseded by ...". +- **Implemented in:** design repo paths, and app paths if the app changed too. +``` + +**Numbering.** +- A decision that is also in the SpaceWorks decisions ledger keeps **its ledger number** with the prefix + `SW-`, so the two files can be cross-referenced. +- A decision that belongs only to this design repo and has no ledger number is numbered **DS-1, DS-2, ...**, + continuing from the highest DS number in this file (the next is **DS-10**). DS numbers are never reused. +- Also add a row to the [Index](#index) and update the count. + +**Rules.** +- **Always record the reason**, in plain English. Quote the owner where the words explain the choice. +- **Never delete or rewrite a decision.** When one is replaced, change its status to "superseded by ..." and + list it under [Superseded decisions](#superseded-decisions) with what replaced it and why. +- Explain any internal word the first time ("ledger", "lane", "token") in one short phrase. +- No private data: no emails, secrets or personal names (the GitHub organisation name is fine). +- Prefer the ledger's own words for the reason. If the reason is only in a commit message or a chat, copy the + essential sentence into the entry. +- A change that adds or changes a rule also updates the matching doc (`docs/ui-brand-spec.md`, + `docs/motion.md`, `docs/theming.md`, `docs/product-rules.md`) in the same pull request. diff --git a/docs/delivery.md b/docs/delivery.md new file mode 100644 index 0000000..0790031 --- /dev/null +++ b/docs/delivery.md @@ -0,0 +1,243 @@ +# Pipelines, versions and releases + +How every SpaceWorks-Labs repository checks, versions and ships its work, with the rules that all of them +follow, the way each kind of stack does it, and an honest table of where each repository stands today. + +Researched 13 November 2026 from the live GitHub organisation (workflows, branch protection, releases) and, +for the main SpaceWorks repository, from the current integration branch, which is one release ahead of +`main` (it has the `version-bump` check, the signed installer assets and `docs/release-0.12.0.md`; `main` +on GitHub is still at 0.9.3). Where something could not be verified it says **not checked**. + +Plain words used below: a **workflow** is a script GitHub runs for us (GitHub Actions); a **job** is one +step-group inside it; a **required check** is a job that must be green before GitHub allows a merge; +**ghcr.io** is GitHub's container registry, where our Docker images live; a **tag** is a permanent label on one +commit; **semver** is the three-number version `MAJOR.MINOR.PATCH`. + +## 1. Rules every product follows + +| Rule | What it means | +|---|---| +| **Branch model** | Work happens on a branch from `dev`. A pull request (PR) goes into `dev`. The maintainer promotes `dev` to `main` with a second PR. Nobody pushes to `main`. | +| **Checks run on every PR** | A PR into `dev` or `main` runs the repository's checks. Nothing merges red. | +| **Required checks are named and stable** | Branch protection matches job names, so a job that is required is never renamed casually. | +| **Zero reds** | A failing test is a new regression, never "background noise". Tests are kept; a test for an unshipped feature is skipped with a written reason, never deleted. | +| **Semver in a `VERSION` file** | The root `VERSION` file holds `MAJOR.MINOR.PATCH`. It is raised (strictly higher than `main`) on every PR into `main`. | +| **A release note per version** | `docs/release-.md` (SpaceWorks) or the changelog entry says what changed, in plain English. | +| **Tags are `vX.Y.Z-main..`** | The build tag combines the series, the CI run number and the commit. Servers pin that exact tag, so an update always means one known build. The person-facing title is ` X.Y.Z`. | +| **Releases are built by CI only** | The first time a new `VERSION` reaches `main`, CI builds the images and creates the GitHub Release. Nobody builds or uploads a release by hand. | +| **Artifacts per kind** | Server products: two Docker images (backend, frontend) for `linux/amd64` and `linux/arm64`, plus installer files. Android: APK and app bundle. iOS: an app build. Static sites: a Pages deployment. | +| **Security audits** | Dependencies are audited in CI (`pip-audit` for Python, `npm audit` for Node), on PRs and weekly where the dependency files rarely change. | +| **Caching** | Every workflow caches its package manager or build layers so a PR check stays fast. The cache is never the source of truth. | +| **Secrets only in GitHub** | Tokens and keys live in GitHub secrets and environments, never in a file. Test keys are generated fresh in each run. Releases are signed without a stored key where possible (keyless signing). | +| **Least permission** | Workflows start with `contents: read` and ask for more (`packages: write`, `pages: write`) only in the one job that needs it. | +| **Concurrency** | A newer run on the same branch cancels the older check run. A release run never cancels itself halfway. | +| **Maintainer merges** | `CODEOWNERS` asks the maintainer to review every path, and branch protection (applied to admins too) lets only the maintainer merge or push to `main`. Agents prepare the merge and stop. | +| **Pages deploys** | Static sites build on every PR (to catch broken pages) and publish to GitHub Pages only from `main`. | + +### The flow, end to end + +```mermaid +flowchart LR + feat["Feature or fix branch from dev"] -- "pull request" --> dev["dev"] + dev --> pr_checks["PR checks: build, lint, types, tests, audit"] + pr_checks -- "all green" --> promote["Maintainer opens PR dev to main"] + promote --> bump["version-bump check: VERSION strictly higher, release note exists"] + bump -- "green" --> merge["Maintainer merges to main"] + pr_checks -. "red: fix and push again" .-> feat + merge --> release["Release workflow on main"] + release --> new{"New VERSION?"} + new -- "yes" --> images["Build and push images to ghcr.io"] + images --> assets["Installer files, signed checksums"] + assets --> gh["GitHub Release created"] + gh --> latest["Marked latest, rolling tags promoted"] + latest --> deploy["Optional: deploy to our own server"] + new -- "no" --> imgonly["Images only, no GitHub Release"] +``` + +## 2. Stack 1: Django, DRF and React (SpaceWorks) + +The main product, with the most complete pipeline. Four workflows in `.github/workflows/`. + +### Checks (`checks.yml`) + +Runs on PRs into `main` or `dev`, on pushes to `dev`, and by hand. Fast checks only, no test suites. Job +names are the required checks. + +| Job | What it checks | +|---|---| +| `frontend` | Node 22, `npm ci`, TypeScript (`tsc -b`), production build including the PWA verify script. npm cache. | +| `backend` | Python 3.12, `pip install`, Django `manage.py check`, and `makemigrations --check` (no missing migrations). Throwaway keys come from `scripts/ci/throwaway_keys.py`. pip cache. | +| `contracts` | The OpenAPI snapshot `frontend/openapi-schema.json` matches the code, the generated client `frontend/src/generated/api.ts` matches the snapshot, and the tenant-dump catalogue digest is valid. | +| `rules` | `scripts/ci/check_rules.py`: the 300-line file ceiling and `CLAUDE.md` equals `AGENTS.md`. | +| `version-bump` | PRs into `main` only: `scripts/ci/check_version_bump.py` compares `VERSION` with the base branch and existing tags. | + +### Tests (`tests.yml`) + +The full committed suites (decision 244: CI runs the committed tests). Backend pytest is split into **6 shards** +and each shard runs in the same isolated Docker runner as local work (`scripts/dev.sh test`, throwaway +Postgres 16, Redis and object store). Frontend runs the whole vitest suite plus two `node:test` suites (website +serving, documentation contracts). Not in the required list yet. + +### Security audit (`security-audit.yml`) + +`pip-audit` against `backend/requirements.txt`, enforcing (a vulnerable dependency fails the check). Runs when +the requirements change, on PRs, and **weekly (Monday 03:23 UTC)**. + +### Continuous release (`release.yml`) + +Runs on every push to `main` (and by hand). Every commit on `main` builds images; **a GitHub Release is cut +only when `VERSION` is new**. + +| Job | What it does | +|---|---| +| `prepare` | Reads `VERSION`, refuses a non-semver value, refuses a push that did not raise it (or a tag that already exists), builds the identifiers: image tag `X.Y.Z-main..<12-char sha>`, git tag `v` plus that. | +| `publish` | Builds and pushes **two images**, `spaceworks-backend` and `spaceworks-frontend`, to `ghcr.io/spaceworks-labs/`, for `linux/amd64` and `linux/arm64`, with GitHub Actions layer cache, then verifies the published manifest. | +| `assets` | `scripts/release-assets.sh` builds `install.sh`, the deploy bundle `spaceworks-.tar.gz`, `release.json` and `SHA256SUMS`. **cosign** signs the checksums keylessly with the workflow's GitHub identity (`SHA256SUMS.sig`, `.pem`). | +| `github-release` | Creates the release titled `SpaceWorks ` with generated notes (from merged PRs), the images list and the assets. Created **not** latest at first. | +| `promote-latest` | Only if this is still the head of `main`: promotes images to the rolling tags, marks the release **latest** (which is what `releases/latest/download/install.sh` serves), prunes old image versions (release history kept forever) and checks the immutable images pull. | +| `deploy` | Optional, runs only when the repository variable `SPACEWORKS_DEPLOY` is `true`: a self-hosted runner on our server (environment `production`) runs `scripts/update.sh` for that exact version. | + +### Version rule (CLAUDE.md and `docs/project/release-process.md`) + +Every merge or push to `main` raises `VERSION` strictly. Strings that must match: `SPECTACULAR_SETTINGS["VERSION"]`, +`info.version` in the OpenAPI snapshot, and the README badge. `sh scripts/bump-version.sh ` updates +them, creates `docs/release-.md` from a template and runs the check. Releases so far: 0.9.1, 0.9.2, +0.9.3 (latest published); 0.12.0 is prepared. + +### Other files + +`.github/CODEOWNERS` (`* @Shaan-Shoukath`), `CHANGELOG.md`, issue and PR templates, `scripts/ghcr-retention.py`. + +## 3. Stack 2: Next.js and Prisma (Workspace, Events, Machines, Inventory, Bookings, Organization) + +Six products on the same shape: Node 22, Prisma on PostgreSQL 16, Redis, Playwright browser tests, two images +(`spaceworks--backend`, `spaceworks--frontend`), a one-command VPS installer. + +### Quality and CI workflows + +| Repo | Workflows | What they check | +|---|---|---| +| **Workspace** | `quality.yml` ("Quality gate", on PRs and pushes to `main`/`dev`) calls `ci.yml`; `release.yml` | `ci.yml`: lint, typecheck, unit tests, build, Prisma validate, frontend typecheck and build; PostgreSQL + Redis + object-storage integration tests; `npm audit` (advisory, non-blocking); **hosting smoke** with Playwright on a `split` and a `vps` matrix. Quality gate adds deployment-script and Helm chart lint, the isolated Cloudflare cron package audit and dry run, and a **two-image installer smoke** (install and restore on empty volumes). | +| **Inventory** | `quality.yml` ("Quality gate") calls `ci.yml`; `release.yml` | The same pattern as Workspace. | +| **Events** | `ci.yml`, `quality.yml` ("Quality gate"), `release.yml`, `yuyu-upstream.yml` | Lint, generated help index and frontend catalogue freshness, typecheck, unit and coverage tests, integration, `npm audit` (blocking, high), **migration integrity** (`db:deploy`, `db:verify`, schema diff), production check, container build and smoke test, Playwright (production flows and a fake payment provider). Actions are pinned to commit hashes. A weekly job lists new commits in the upstream project it was derived from. | +| **Machines, Bookings, Organization** | `tests.yml`, `security-audit.yml`, `release.yml` | `tests.yml`: `CLAUDE.md` equals `AGENTS.md`; lint, Prisma validate, typecheck, unit tests, frontend catalogue check, build; PostgreSQL + Redis integration and Playwright end to end (failure uploads the report, kept 7 days); `shellcheck` on installers; compose files resolve in every layer; **images build and the bundled stack runs** (compose smoke, installer and encrypted recovery). `security-audit.yml`: `npm audit --omit=dev --audit-level=high` on PRs. | + +### Release workflows + +| Repo | Trigger | Behaviour | +|---|---|---| +| Workspace, Events, Inventory | Runs after the Quality gate succeeds on `main` (`workflow_run`), or by hand | `prepare` decides by **state**: the first `main` build of a `VERSION` makes a release; reruns and later commits of the same `VERSION` publish images only. Builds each architecture on its own runner (`amd64` and `arm64`), pushes by digest, then `publish` merges a multi-platform manifest and tags `X.Y.Z-main..`, `sha-<12>`, and for releases `main`, `latest` and the series. A manual run on another branch makes a **pre-release** ("test build"). Inventory also publishes `dev` images from the `dev` branch. Release notes include the one-line installer. Workspace also publishes the secrets CLI and Node SDK to GitHub Packages. | +| Machines, Bookings, Organization | Push to `main` or `dev`, or by hand; calls `tests.yml` first | Same four-job shape as SpaceWorks: `prepare`, `build` (per architecture), `publish`, `github-release`, `promote-latest`. A `main` push publishes both images and a release, then promotes to `latest`, `main` and the series. A `dev` push publishes images tagged `dev` and `-dev..` and never makes a release, `latest` or a deploy. Release notes are generated from merged PRs. | +| All six | Optional | A `deploy` job on a self-hosted runner with the `production` environment (Bookings, Events and others), opt-in. | + +Differences from the Django stack: **no `version-bump` check on PRs** and **no cosign-signed installer +assets** (the installer is `install.sh` in the repository, pinned by tag). Releases are still decided by +`VERSION`, but a PR that forgets to raise it is not stopped before merge: the release simply does not happen. +Versions today: Workspace 0.10.0 (latest release 0.6.7), Events 0.12.0, Machines 0.6.0, Inventory 0.6.0, +Bookings 0.6.0, Organization 0.8.1. Note Workspace's `VERSION` is ahead of its last release. + +## 4. Stack 3: Android (Kotlin, Gradle) + +One workflow, `android.yml`, on every push, PR and by hand. Actions are pinned to commit hashes, `persist-credentials` is off, and design submodules are fetched recursively. + +| Job | What it does | +|---|---| +| `build` (required) | Temurin Java 21, Android SDK, Gradle with cache (read-only for forked PRs). `./gradlew lint test assembleDebug assembleRelease bundleRelease`. Then checks the native libraries and APK for **16 KB page alignment** (`scripts/check_native_packaging.py`). Uploads lint reports, debug and release APKs, the release bundle and the R8 mapping file as an artifact. | +| `ui` (required: `UI (phone)`, `UI (tablet)`) | Android emulator (API 35, KVM) runs the native UI journeys on a phone and a tablet profile. A **manual run** widens the matrix to ten device sizes. Reports and screenshots are uploaded. | + +Versioning: `versionCode` and `versionName` come from Gradle properties `spaceworks.versionCode` and +`spaceworks.versionName`, defaulting to `1` and `0.1.0`; the build script comments that store uploads inject +fresh values without editing source. A `signingConfig` named `upload` is looked up when present. **No workflow +signs the APK or publishes a GitHub Release today**; CI builds the unsigned release APK and bundle. The product +rule is that apps are distributed through GitHub Releases, so a signed-APK release workflow is a gap. + +## 5. Stack 4: iOS (Swift, Xcode) + +One workflow, `ios.yml`, on every push, PR and by hand (manual diagnostics are opt-in inputs). Runs on +`macos-15` with Xcode 26.2 pinned. + +| Step group | What it does | +|---|---| +| Tooling | Verifies the pinned Xcode and SDK, installs `xcodegen` and `librsvg`, checks build tools. | +| Caches | Swift package sources and compiled intermediates, keyed by Xcode and SDK identity and the package files. Saved only after validation passes. | +| Generate and validate | `scripts/generate.py`, Python unit tests, `scripts/lint.py`, `xcodegen generate`, then a reviewed dependency lock check. | +| Build and test | `build-for-testing`, built bundle metadata check (families, orientations, single scene), native state and API tests, then UI journeys, on `phone` and `tablet` simulators (required: `Build and test (phone)` and `(tablet)`). A manual run widens to six device profiles. | +| Release compile | On the phone job only: an **unsigned Release** build for a physical device and a bundle resource audit. | +| Evidence | Uploads results, screenshots and validation JSON, kept 7 days. | + +Versioning: `project.yml` carries `MARKETING_VERSION: 0.1.0` and `CURRENT_PROJECT_VERSION: 1`. CI never signs, +archives or uploads a `.ipa`, and **no GitHub Release is created** today. Both mobile repos run PR checks with +`strict` up-to-date branches, which the server repos do not. + +## 6. Stack 5: static sites (Website, Docs, Design System) + +| Site | Workflow | What it does | +|---|---|---| +| **Design System** (`SpaceWorks-Design-System`) | `deploy-site.yml` | On PRs: builds only, so a broken page or link fails before `main`. First runs `scripts/check-previews.mjs` (animated previews match the token and motion sources), then in `site/` runs `npm ci` and `npm run build`, which syncs the kit, runs `check-tokens.mjs` (site colours equal the tokens) and the Astro link validation. On `main`: uploads `site/dist` and deploys to GitHub Pages (environment `github-pages`, concurrency group `pages`). Site URL from the `DESIGN_SITE_URL` variable. | +| **Docs** (`SpaceWorks-Docs`) | `deploy.yml` | Astro build on PRs; on `main` uploads `dist` and deploys to Pages. Site URL from `DOCS_SITE_URL`. Has `CODEOWNERS`. | +| **Website** (`SpaceWorks-Labs-Website`) | none | Plain static files (`build.py` generates pages, `test_*.cjs` tests) served by GitHub Pages. No workflow runs the build or the tests, so a broken page is not caught before it publishes. | + +Design System version: the kit is **Design System v2.0** (named in `README.md` and in the motion-kit note); +there is **no `VERSION` file, no git tag and no GitHub Release yet**. The product release it tracks is the +SpaceWorks release it was synced to (for example "0.12.0 token sync"). Rule going forward: tag the repository +`v2.0.0` when a wave is complete, and bump the minor for added tokens or motion families. + +## 7. Where each repo stands + +Legend: **yes**, **partial**, **no**, **n/a**, **not checked**. Checked on 13 November 2026. + +| Repo | CI on PRs | Version-bump check | Release on new VERSION | Docker images | GitHub Releases | Pages | CODEOWNERS | Branch protection on `main` | Security audit | +|---|---|---|---|---|---|---|---|---|---| +| **SpaceWorks** | yes (`checks.yml`; `tests.yml` on the integration branch) | yes (required; integration branch, `main` at 0.9.3 does not have the job yet) | yes, plus signed installer assets | yes, 2 images, amd64+arm64 | yes (0.9.1 to 0.9.3) | n/a | yes on the integration branch; **none on `main`** | yes: 5 required checks, admins enforced, maintainer-only push | yes, `pip-audit` weekly and on PRs | +| **Workspace** | yes (Quality gate, CI) | **no** | yes (state-based) | yes, 2 images | yes (0.6.7 latest) | n/a | yes | partial: maintainer-only push, admins enforced, **no required checks** | partial: `npm audit` advisory | +| **Events** | yes (CI, Quality gate) | **no** | yes | yes, 2 images | yes (0.12.0) | n/a | yes | partial (as Workspace) | yes, blocking `npm audit` | +| **Machines** | yes (`tests.yml`) | **no** | yes | yes, 2 images (+`dev`) | yes (0.6.0) | n/a | yes | partial | yes (`security-audit.yml`) | +| **Inventory** | yes (Quality gate, CI) | **no** | yes | yes, 2 images (+`dev`) | yes (0.6.0) | n/a | yes | partial | partial: advisory in CI, blocking in the cron package | +| **Bookings** | yes (`tests.yml`) | **no** | yes | yes, 2 images (+`dev`) | yes (0.6.0) | n/a | yes | partial | yes | +| **Organization** | yes (`tests.yml`) | **no** | yes | yes, 2 images (+`dev`) | yes (0.8.1) | n/a | **no** | yes (maintainer-only on `main` and `dev`, since 2026-11-13) | yes | +| **Android** | yes (build, 2 UI jobs) | no (no `VERSION` file) | **no** | n/a | **no** (none published) | n/a | **no** | yes: 3 required checks, strict, admins enforced, maintainer-only | **no** | +| **iOS** | yes (build and test x2) | no | **no** | n/a | **no** | n/a | **no** | yes: 2 required checks, strict, admins enforced, maintainer-only | **no** | +| **Website** | **no** | n/a | n/a | n/a | n/a | yes (served, no workflow) | **no** | partial: maintainer-only push, no checks | n/a | +| **Docs** | yes (build on PR) | n/a | n/a | n/a | n/a | yes (workflow) | yes | partial: maintainer-only push, no checks | **not checked** | +| **Design System** | yes (build, previews, tokens) | no (no `VERSION`) | no (no tag) | n/a | **no** | yes (workflow) | **no** | partial: maintainer-only push, no checks | n/a | +| **.github** | no workflows | n/a | n/a | n/a | n/a | n/a | n/a (community health files) | partial: maintainer-only push | n/a | + +"Partial" on branch protection means `main` is protected from force-push and limited to the maintainer (admins +included) but GitHub is not told which checks must be green. Required checks on Docker/Next.js repos are a +setting to apply, not code to write. + +## 8. Bringing each repo up to the rules + +Ordered by how much risk each gap leaves open. + +| Repo | Gap | Fix | +|---|---|---| +| **All server repos** | Cannot verify here that the integration branch's `version-bump` and signed assets are on `main` | Merge the integration branch to `main` (maintainer) so SpaceWorks `main` has `version-bump`, `tests.yml`, cosign signing and `CODEOWNERS`; the live protection already requires `version-bump`, so until the job exists on `main` a PR into `main` will wait on a check that never reports. Land it first. | +| **Workspace, Events, Machines, Inventory, Bookings** | `main` has no required status checks | In branch protection, require the PR jobs by name (`Lint, typecheck, unit tests, build`, `PostgreSQL integration tests` or the Quality gate job, `shellcheck` and `images` where present) and enable "require branches to be up to date" as the mobile repos do. | +| **Organization** | No `CODEOWNERS` and no required checks (branch protection added 2026-11-13: maintainer-only `main` and `dev`) | Add required checks and `.github/CODEOWNERS` with `* @Shaan-Shoukath`. | +| **Next.js repos (6)** | No `version-bump` check, so a forgotten `VERSION` raise silently skips the release | Add a `version-bump` job and a `check_version_bump.py` like SpaceWorks, require it on PRs into `main`, and make "release note exists" part of it. Workspace's `VERSION` (0.10.0) is ahead of its last release (0.6.7); decide whether those versions were published or skipped and write that down. | +| **Next.js repos (6)** | Installer assets are not signed | Extend the release workflow with the `release-assets.sh` and cosign `SHA256SUMS` steps from SpaceWorks so `install.sh` has the same verification story. | +| **Android** | No version scheme, no signed release, no GitHub Release | Add a `VERSION` file; in a release workflow on `main`, derive `versionName` from it and `versionCode` from the run number, sign with an `upload` keystore stored as GitHub secrets (environment-protected), build the APK and bundle, and attach them with checksums to a GitHub Release titled `SpaceWorks Android X.Y.Z`. Add the `version-bump` check, `CODEOWNERS` and a dependency audit (Gradle dependency verification or an OSV scan). | +| **iOS** | Same: no version scheme, no archive, no release | Add `VERSION`; feed `MARKETING_VERSION` and `CURRENT_PROJECT_VERSION` from it and the run number; add a release workflow that archives and exports a signed build (certificate and provisioning in secrets) and attaches it to a GitHub Release. Add the `version-bump` check, `CODEOWNERS`, and a Swift package audit. | +| **Website** | No CI at all; the build and its tests never run before publish | Add a workflow that runs `python build.py` and the `test_*.cjs` tests on PRs, then deploys to Pages from `main` like Docs and the Design System. Add `CODEOWNERS`. | +| **Docs** | Required checks not set; audit not checked | Require the `build` job; add `npm audit` to the build job. | +| **Design System** | No `VERSION`, tag or release; no `CODEOWNERS`; no required checks | Add a `VERSION` file (start at `2.0.0`), tag `v2.0.0`, and a small workflow that creates a GitHub Release when `VERSION` changes. Add `CODEOWNERS`, and require the `build` job. | +| **Machines, Bookings, Organization** | Security audit and tests run as separate PR workflows with no shared required list | Require `Lint, typecheck, unit tests, build`, `Integration and end-to-end tests` and `npm-audit` together. | +| **Every repo** | The weekly audit exists only in SpaceWorks | Add a weekly `schedule:` trigger to each `npm audit` workflow so new advisories surface without a PR. | + +### Checklist for a new repository + +1. `dev` and `main` branches; `main` protected (maintainer-only, admins enforced, no force-push). +2. A PR workflow whose job names are the required checks. +3. A `VERSION` file, a `version-bump` job and a release note per version. +4. A release workflow that triggers on `main`, builds the artifacts, tags `vX.Y.Z-main..` and creates the GitHub Release. +5. `.github/CODEOWNERS` with `* @Shaan-Shoukath`. +6. A dependency audit on PRs and weekly. +7. Secrets and signing keys only in GitHub secrets or environments. + +## Branch protection across the org (applied 2026-11-13) + +In every SpaceWorks-Labs repository, `main` and (where it exists) `dev` are protected: only `Shaan-Shoukath` may +push or merge, the rule applies to admins too, and force-pushes and deletion are blocked. Required status checks are +unchanged (they are listed per repository above); adding the missing ones is part of the CI/CD rule in +[product rules section 14](product-rules.md), not yet applied. diff --git a/docs/design-changes-0.12.0.md b/docs/design-changes-0.12.0.md index 3771aca..21e2d92 100644 --- a/docs/design-changes-0.12.0.md +++ b/docs/design-changes-0.12.0.md @@ -1,236 +1,4 @@ -# What changed in design and UX in 0.12.0 +# What changed in design and UX in 0.12.0 (moved) -For designers and the teams building the other Space Works apps (Android, iOS, sibling web apps). It says what -moved in release 0.12.0, why, and what each app should change to match. For the reasons behind the colour rules -read [`lessons-learned.md`](lessons-learned.md); for every animation in detail read [`motion.md`](motion.md); for -how to wire up the theme switch read [`theming.md`](theming.md). - -Decision numbers (for example 316) refer to the build's decisions ledger. Commit hashes are in this repo unless -marked "app". - ---- - -## 1. The dark-mode shift - -### The story - -Dark mode was redone three times in one month. Each step fixed a real problem and created the next one. - -| When | Decision / commit | Dark look | What was wrong | -|---|---|---|---| -| Before 15 Oct 2026 | early tokens | Grey-green dark | Contrast was too low in places; `894cf8c` (15 Oct) retuned the dark tokens for contrast. | -| 15 to 16 Oct | `5cf062e`; app `a770d92b0` | **Teal-lit**: Deep Ink `#142C2A` page, teal-lit panels (`#193935`, `#1F433F`), Citron focus | Teal marks were about 1.76:1 on the lit panel, so teal text and charts were too dim. Many status pills turned into dim soft fills. | -| 10 Nov | decision 225 | **True black (AMOLED)** page `#000`, but the layers above it stayed teal-lit | Owner: "keep the dark theme to somewhat that", only deepen it. | -| 11 Nov (morning) | decision 275, 300 | Black page, teal-tinted surfaces and borders, desaturated accents | A mix of pure black and green-tinted layers: surfaces seamed against the page. The UX pass also had to lift dark `line` for button borders (it measured 2.97:1 on the panel); decision 316 then split roles properly: `line` quiet, `outline` for control edges. | -| 11 Nov | **decision 316**; `8060ba0` | **One solid black neutral family**, no green anywhere in a surface | This is what ships. Owner: mixing pure black with green-tinted surfaces "is not working out". | - -### Why it changed, in plain words - -1. **Two families on one screen fight.** Black next to dark green looks like a mistake, not a design. -2. **Tinted surfaces cost contrast.** Teal on a teal-lit panel is dim; teal on neutral black is better and the - lifted `accent-ink` fixes the rest. -3. **Brand colour works better as an accent than as a floor.** Teal, Citron and Orange now only appear in - buttons, focus rings, links and status, so they stand out against neutral black. -4. **True black is cheaper and calmer on OLED phones**, which matters most for the mobile apps. - -### Before and after, every dark token - -Values are RGB triplets as in `tokens/tokens.css`; hex is in `tokens/tokens.json`. "Old" is the green-black dark -the app and this repo shipped before decision 316. - -| Token | Old (teal-lit) | New (solid black) | New hex | -|---|---|---|---| -| `bg` | 20 44 42 | 0 0 0 | `#000000` | -| `surface` | 25 57 53 | 11 11 11 | `#0B0B0B` | -| `panel` | 31 67 63 | 20 20 20 | `#141414` | -| `hover` | 37 77 72 | 28 28 28 | `#1C1C1C` | -| `line` | 77 109 103 | 44 44 44 | `#2C2C2C` | -| `outline` | 147 161 152 | 120 120 120 | `#787878` | -| `muted` | 199 196 186 | 172 172 172 | `#ACACAC` | -| `sidebar` | 17 53 50 | 11 11 11 | `#0B0B0B` | -| `sidebar-hover` | 37 77 72 | 28 28 28 | `#1C1C1C` | -| `accent-soft`, `brand-soft` | 26 74 69 | 18 29 28 | `#121D1C` | -| `accent-ink`, `brand-ink`, `brand-boundary` | 171 200 188 | 128 177 166 | `#80B1A6` | -| `emphasis-soft` | 47 70 64 | 34 26 23 | `#221A17` | -| `success-soft` | 44 80 69 | 32 34 27 | `#20221B` | -| `success-ink` | 223 255 143 | 233 252 170 | `#E9FCAA` | -| `warn-soft` | 47 77 64 | 34 32 23 | `#222017` | -| `warn-ink` | 255 212 71 | 255 222 119 | `#FFDE77` | -| `info-soft` | 42 77 76 | 30 31 34 | `#1E1F22` | -| `info-ink` | 181 205 255 | 203 217 248 | `#CBD9F8` | -| `shadow-color` | 20 44 42 | 0 0 0 | `#000000` | -| `scrim` (new token) | n/a | 0 0 0 | `#000000` (light: `#142C2A`) | - -### What stayed the same - -`ink` (Cream `#FFF4E8`), `focus` (Citron `#DFFF8F`), the accent fills (Maker Teal `#006E63`, hover -`#02675D`, active `#046158`), `emphasis` (Workshop Orange `#FF7447`), the solid status fills (Citron, Warm -Yellow, Sky Blue) and their Deep Ink labels, and danger (`#FCA5A5` in dark). Token **names** are unchanged, so -code that uses names needs no edits. The whole light palette is also unchanged. - -New in the same release: chart series tokens and loader colours for both themes (`a1869a2`, see -`tokens/tokens.json`), and the `scrim` token. - -### What every app must change to follow - -1. **Replace the dark values** with the table above. Do not keep any green-tinted surface or border. -2. **Page is `#000`**, layers step up 11, 20, 28. Do not add a custom "elevated" grey. -3. **Text and icons use `*-ink`**, not the fill (teal text on dark is `#80B1A6`). -4. **Controls get `outline`**, not `line`. `line` is a quiet divider (1.5:1). -5. **Status chips**: solid fill plus dark label for small marks in both themes; soft plus ink only for large - banners in dark. -6. **Charts** use the `chart.dark` list, with a dash pattern per series. -7. **Logo**: reversed Cream lockups on dark; **Patch**: `mascot/dark/` with the Cream sticker border. -8. **Dark illustrations and print artwork keep Deep Ink**; the Deep Ink "island" (a dark panel inside a light page) - re-joins the black family when the page is dark. -9. **Mobile**: use the system dark switch as the default signal only if the product wants it (the web app defaults - to light and respects a saved choice); follow the black values on OLED. -10. Re-run your contrast checks (lesson 35) and check every screen in both themes (lesson 34). - -### Screenshots - -Folders in the main checkout under `handover/screenshots-0.12.0/` (not copied here): -- `dark-black/`: the final solid-black dark on the home, spaces, features, docs, sign-in and display screens, - at 1440 and 390 px. -- `home-and-dark/`: "after" captures of the console (dashboard, list, drawer, dialog, settings) and the spaces - page in states (loading, error, no results, offline), light and dark. -- `hub-scroll/`: the landing scroll story in light, dark, phone and reduced motion, plus - `console-dashboard-dark-before.png` and `console-dashboard-dark-after.png` for a direct before and after. -- `loader/`: the box loader in both themes. - ---- - -## 2. Logo animation - -Three related things, all from the same artwork (the box symbol that opens): - -1. **Cold-start splash.** On a cold page load the box opens, then flies into the header logo. An inline block in - `index.html` shows it so the first load is never blank. Once per page load, about 1.2 to 1.6 s. (Decision 313.) -2. **Box loader.** The loop (4400 ms: open, hold, fold shut, repeat) is the one loading indicator everywhere. - Pages and panels use the full `LogoLoader`; buttons, rows and fields use the compact `BoxSpinner`, with a - `mono` variant that draws in the text colour. Replaces ring spinners and skeleton-as-loading. (Decision 322.) -3. **Hover and focus opening (the logo rule).** The Space Works mark plays the one-shot opening (1600 ms) on - pointer hover and keyboard focus, everywhere it appears: navbar, landing header and footer, console sidebar, - member header, auth panel, docs, mobile bar and error pages, through one shared component - (`AnimatedLogoMark`). (Decision 362.) - -**The rules for the hover opening** -- It plays once and returns to the still mark. It never loops except as the loader. -- **Reduced motion:** the mark stays static (and the loader shows the still, open logo). -- **Touch:** no hover animation on touch devices. Gate on `@media (hover: hover)`, so there is no stuck state. -- **Tenant logos never animate.** Only the Space Works mark does. -- Correct in light and dark: the artwork follows the theme (under-face `#354845` light, `#66625D` dark). -- The flap transforms are played with `steps(1, end)` so the browser never interpolates matrices (lesson 24). - -Details: [`motion.md`](motion.md) and [`../motion/box-open/README.md`](../motion/box-open/README.md). - ---- - -## 3. Every animation, and where it is used - -A compact index. The full catalogue (files, tokens, trigger, reduced motion, dark notes) is in -[`motion.md`](motion.md). - -Tokens: durations 120 / 180 / 240 ms; curves standard `(0.2,0,0,1)`, enter `(0.16,1,0.3,1)`, exit `(0.4,0,1,1)`. -Reduced motion zeroes durations and distances and leaves fades only. Kiosk and TV zero distances. - -| Animation | Used in | Why | -|---|---|---| -| Box loader (loop) | Page, panel, dialog and Suspense loading | One brand-owned loading cue | -| Box spinner (mono) | Buttons, table rows, fields | Inline busy state that follows text colour | -| Cold-start splash | First paint of a cold load | Never a blank first screen | -| Logo hover and focus opening | Every Space Works mark | Brand moment, one-shot, never on touch | -| Route transition | Main content area only; sidebar and top bar stay still | A page change reads as one move | -| Scroll restoration | Every navigation | Back returns to where you were; a new page starts at the top | -| Sliding indicator | Sidebar and tabs | Shows the section by moving one box | -| Collapse / disclosure | Sidebar groups, settings sections | Neighbours stay in view | -| Theme switch | Theme toggle | Circular reveal; cross-fade fallback; instant if reduced motion | -| Fade, pop, sheet, drawer, menu, toast | Scrims, dialogs, phone sheets, side panels, menus, status toasts | Layers arrive from where they dock | -| Press and hover colour | Buttons, links, rows | Colour only, 120 ms; no lift or shadow | -| Stagger rise | First load of lists and dashboards | Reads as assembled in order; first eight items only | -| Skeleton | Placeholder shapes in lists | Reserves layout; shape plus the box loader | -| Landing scroll story | `/` (pinned hero, sticky handover record, reveal on scroll, areas panel) | Walks a visitor from promise to the real console | -| Sign-in brand facets | Sign-in screens | One entrance, never on hover | -| Display slide fade | TV and space display | One 400 ms fade, so a Pi stays idle | -| Kiosk and TV tokens | `.sw-kiosk`, `.sw-tv` | No slide, scale or loops on shared screens | -| Delight (opt-in) | Return confetti, pass tear, Patch on the 404 | Small human moments; never in staff or kiosk flows | - ---- - -## 4. UX improvements in 0.12.0 - -Each item: what the user now experiences, then the pattern other apps should copy. - -**1. Easier to start (decision 235).** The installer asks the fewest questions, with Enter-defaults and one clear -finish; the first admin gets a guided setup (name, logo, hours, areas, invite staff) and a "next steps" checklist; -optional features stay hidden until switched on; labels are plain language with one-line help; the docs lead -with a five-minute quickstart. *Copy:* ask areas not modules, hide what is off, never show internal words -("tenant", "capability", "module key"). - -**2. Settings grouped by the owner's mental model (decisions 255, 273).** Space settings are in seven groups -(Space, People, Areas, Money, Communication, Integrations, Administration) with search and one line of help per -page, from one translated catalogue (a test enforces coverage). Pages that live on their own tab appear in their -group as links; area pages and Settings link to each other. "Modules" became "Areas and add-ons" in user-facing -text only. Platform settings use the same grouping. *Copy:* group by what the person is trying to do, help text -on every row, search over all settings, one name per thing (the repair shelf had five names). - -**3. Area views per role (decision 241).** Inventory, Machine, Event and Booking managers see their whole area -(finance, to-buy, consumables, repairs, warranties, reports, audit), grouped by machine type then machine; the -Space Manager sees the same combined, grouped by area with totals and an area filter. *Copy:* narrow the console -to the role, but give each role everything for its own area. - -**4. One loader everywhere (decision 322).** Every loading state is the box opening; inline spots use the small -version. *Copy:* one loading indicator, with a polite status label and a still version for reduced motion. - -**5. Page transitions and scroll behaviour (decision 323).** Content cross-fades with a short upward settle while -the sidebar and top bar stay still; the active sidebar item slides to the new one; going back restores your scroll -position and a new page starts at the top; the mobile drawer, dialogs, menus, popovers and toasts share the same -enter and exit motion. Focus moves to the page only on a real page change, so typing in a search box is no -longer interrupted by a query change. *Copy:* animate content, not chrome; restore scroll on back, reset on forward; -transform and opacity only; never block navigation on an animation. - -**6. A scrolling product page, and a features page (decisions 300, 340a).** The front page tells a sample loan -step by step with a pinned hero, a sticky record and reveal on scroll; it becomes a plain static page for reduced -motion and phones. The "Find a space near you" section left the page (the Spaces link and `/spaces` stay). A -Features page lists every area and module, built from the app's own catalogue so it cannot drift. A switch -(`HUB_LANDING_ENABLED`) lets a space show its own home instead. *Copy:* a motion-rich story always has a static -fallback. - -**7. A better spaces list (decision 275).** A compact hero with search, a responsive grid visible above the fold, -a sticky search on phones, and real loading, empty, no-results, offline and error-with-retry states, in both -themes (see `home-and-dark/`). *Copy:* design all five states, not only the full one. - -**8. Machine service for every machine type (decision 340b).** The separate Printing module is gone; 3D printers, -lasers, CNC and cutters are machine types inside one Machine service, with consumables per type and one "Add a -machine type" setup. *Copy:* one workflow with types beats one module per machine. - -**9. Card Studio (decisions 344, 345).** One designer for member cards, staff IDs, badges, tickets and -certificates: Quick mode for a fast start, Advanced for a full canvas (layers, guides and snapping, rulers, bleed -and safe zone, undo and redo, version compare), uploaded backgrounds, bulk photo matching by file name, an -optional background eraser run by the space itself with a member opt-out notice, seven barcode types, and -print-ready PDF. Built-in looks come in light and dark. *Copy:* offer a simple mode and an advanced mode on the -same document, and show the consent notice where the photo is taken. - -**10. Web and app use in analytics (decision 357).** Counts-only daily activity per channel (web, iOS, Android, -API client) in a platform report and a space-manager variant that shows phone channels only when the mobile -module is on. *Copy:* tag every telemetry event with a `client`, and report counts, not people. - -**11. Colour settings that fix themselves (decision 324, lesson 15).** A space picks two colours; the product -shows which surfaces use them (staff: none; members and public: derived; printed and TV: link colour), checks -both themes, and offers a one-click fix. *Copy:* explain where a setting applies, and fix rather than refuse. - -**12. Shared patterns, copy and accessibility (UX pass, decision 255).** Highlights: a shared `Pagination` and -`ConfirmDialog` replaced ad-hoc pagers and native confirms; whole translated sentences with plurals instead of -fragments; no raw status codes (labels with a word); sticky bulk-action bar with "Clear selection"; dialogs -close only when the press and release both land on the backdrop (dragging a text selection out no longer closes -them) and always show a close button; error toasts announced as alerts; the Filters button names its active -count ("Filters, 3 active"); routed tabs are plain links; one checkbox and radio size; interactive borders use -`outline`; search placeholders are visibly lighter than typed text. *Copy:* every list uses the shared pager, -every destructive action a real confirm dialog, every error a retry. - -**13. Command palette and search.** The palette matches both names of a page ("Home" and "dashboard", -"Notifications" and "Inbox") and the settings search covers every page including tab pages. *Copy:* search -matches synonyms, not only the label. - -Source for items 2, 5 and 12: `handover/reports/UX-PASS-0.12.0.md` in the main checkout; release notes in -`docs/release-0.12.0.md` of the app repository. +This page is now [`whats-new-v2.0.md`](whats-new-v2.0.md): **What's new in v2.0**. Space Works Design System +v2.0 ships alongside SpaceWorks 0.12.0. The file is kept so old links keep working; edit the new one. diff --git a/docs/lessons-learned.md b/docs/lessons-learned.md index 98ace93..53a7ee6 100644 --- a/docs/lessons-learned.md +++ b/docs/lessons-learned.md @@ -60,11 +60,9 @@ platform colour type) and not re-derive them. | Sidebar | `#DFFF8F` (Citron) | `#0B0B0B` | 13.23 | 18.14 | `ink` on the sidebar | | Sidebar active item | `#006E63` | `#006E63` | 5.68 | 5.68 | `on-accent` label on it | | Scrim (dialog backdrop) | `#142C2A` | `#000000` | n/a | n/a | see lesson 17 | -| Chart: accent | `#006E63` | `#80B1A6` | 6.16 | 7.68 | `panel` | -| Chart: info | `#51697B` | `#B5CDFF` | 5.74 | 11.53 | `panel` | -| Chart: success | `#536D49` | `#DFFF8F` | 5.75 | 16.53 | `panel` | -| Chart: warn | `#696834` | `#FFD447` | 5.78 | 12.95 | `panel` | -| Chart: danger | `#B91C1C` | `#FCA5A5` | 6.47 | 9.71 | `panel` | +| Chart edge (SW-380) | `#142C2A` | `#FFF4E8` | 14.75 | 16.98 | `panel` (12.64 / 18.14 on `surface`, 13.60 / 19.36 on `bg`); the mark boundary | +| Chart fills 1-5 (SW-380) | same bright brand colours | same | 1.11 to 6.16 | 2.99 to 16.53 | `panel`; fills alone may miss 3:1, the edge carries it | +| Chart: danger | `#B91C1C` | `#FCA5A5` | 6.47 | 9.71 | `panel`; not a series colour | | Loader: box under-face | `#354845` | `#66625D` | 9.70 | 3.04 | `panel` (8.94 / 3.47 on `bg`) | | Loader: spark | `#142C2A` | `#FFF4E8` | 14.75 | 16.98 | `panel` | | Loader: seam | `#142C2A` | `#000000` | 14.75 | n/a | `panel`; in dark the seam is the page colour on purpose (lesson 24) | @@ -217,14 +215,19 @@ Things this table shows at a glance: - *Problem.* The chart default used the same fills as the UI, and dark charts reused light-mode inks, which are dim on black. Teal marks on the dark panel were too weak, and a colour-blind reader could not tell two series apart. -- *Rule.* Series colours come from a chart token set, one list for light and one for dark. Light uses the - `*-ink` shades (darker, readable on white); dark uses the brighter fills or `accent-ink`. A series' colour is - chosen by hashing its identity so it does not change when sorted or filtered, and each series also gets a - dash pattern so colour is never the only cue. -- *Values.* See the pairing table. Order: accent, info, success, warn, danger. Dashes: solid, `8 4`, `2 4`, - `10 3 2 3`. -- *Enforced.* `tokens.json` `chart`; `chrome.css` maps `--chart-*` per theme. +- *Rule.* Series colours come from a chart token set. A series' colour is chosen by hashing its identity so it + does not change when sorted or filtered, and each series also gets a dash pattern so colour is never the only + cue. +- *Values.* Dashes: solid, `8 4`, `2 4`, `10 3 2 3`. +- *Enforced.* `tokens.json` `chart`; `chrome.css` defines `--chart-*`. - *Source.* Design repo `a1869a2`; app `chrome.css`. +- *Updated by SW-380 (Design System v2.0): same brights plus an edge.* The original rule (light uses the dull + `*-ink` shades, dark uses `accent-ink` and the brighter fills) is replaced. Series 1-5 are now the five bright + brand colours (teal, orange, citron, sky, yellow), identical in light and dark, because one brand palette + should look the same everywhere. The 3:1 graphics contrast that the dull inks used to buy now comes from + `--chart-edge` instead: a 1px edge on every filled mark and a 4px casing under 2px lines (Deep Ink in light, + Warm Cream in dark, at least 12:1 on every chart background). Never dull a fill to pass contrast; add or + strengthen the edge. Red is not a series colour. The `accent-ink` rule in lesson 5 still holds for text. ### Tenant and custom brand colours @@ -274,7 +277,7 @@ Things this table shows at a glance: get the one overlay shadow. - *Values.* `scrim` light `#142C2A`, dark `#000000`; `--shadow-color` light `20 44 42`, dark `0 0 0`; overlay shadow `0 2px 6px rgb(var(--shadow-color)/.06), 0 12px 32px rgb(var(--shadow-color)/.10)`. -- *Source.* Design repo `tokens.json`, README changelog (scrim added 0.12.0); design spec E. +- *Source.* Design repo `tokens.json`, README changelog (scrim added in v2.0); design spec E. **18. The mascot on dark gets a thin Cream sticker border.** - *Problem.* Patch's thick dark outline nearly vanishes on dark surfaces: 1.0 to 2.3:1 against Deep Ink, against @@ -468,6 +471,21 @@ Things this table shows at a glance: theme, add the assertion that would have caught it before fixing the screen. - *Source.* App `docs/INVARIANTS.md`. +**39. Define an animation's states and check its frames, not only its curves.** +- *Problem.* The logo box animation had smooth curves and passing tests, yet in dark black holes opened in the + side of the box while the flaps moved, and in light the closed box showed two orange faces. Each piece was right + on its own: the dark master cuts its faces short under the front flaps (a cap filled them, but only near shut); + a flap's colour switched at a chosen angle instead of when it turned edge-on; the rising flap was painted under + the lid it stands in front of; and four flaps folding together passed through each other. Nobody had written + down what a correct frame looks like, so nothing failed. +- *Rule.* Write the states down first (rest = the static logo exactly; shut = one solid shape, one orange face; + colour changes only edge-on; paint order = depth order) and test them on rendered frames in both themes: exact + frames (pause, rewind with a negative `animation-delay`), the whole cycle at 60 fps, on a loud page colour so + transparency shows. A shape drawn in two masters (light and reversed) must be checked in both: what one master + covers, the other may leave open. +- *Enforced.* `scripts/check-box-frames.mjs` (headless Edge); app `boxOpen.frames.test.ts`. +- *Source.* Decision 381; design repo `motion/box-open/README.md` "Known-good states". + --- ## For Android, iOS and sibling apps diff --git a/docs/motion.md b/docs/motion.md index aec6127..5da35f5 100644 --- a/docs/motion.md +++ b/docs/motion.md @@ -81,10 +81,11 @@ bounce), focus rings, data tables on sort or filter, anything while a person is | Name | Where (files) | Why | Tokens / timing | Trigger | Reduced motion | Dark | |---|---|---|---|---|---|---| -| **Mark opening on hover / focus** | Every Space Works logo: public header (`components/layouts/PublicHeader.tsx`), hub header and footer (`features/hub/HubHeader.tsx`, `HubFooter.tsx`), staff and member sidebar (`components/shell/Sidebar.tsx`), mobile top bar (`shell/MobileTopBar.tsx`), sign-in and centred-card layouts (`layouts/AuthLayout.tsx`, `CenteredCardLayout.tsx`), kiosk header (`layouts/KioskLayout.tsx`), public footers (`layouts/PublicLayout.tsx`, `components/SiteFooter.tsx`), space brand fallback (`components/MakerspaceBrand.tsx`), stats TV (`features/stats/PublicStatsTvPage.tsx`), card verify (`features/cards/CardVerifyPage.tsx`), space picker badge (`features/staff/MakerspacePicker.tsx`). One component: `components/brand/AnimatedLogoMark.tsx` | The mark is the product's signature: the box is what Space Works hands out, and opening it confirms the link is live without moving layout | 2200 ms, once: the box starts at the resting logo, folds shut (600 ms, the loader's fold curve), then opens (1600 ms, the splash opening) back to the resting logo; flaps open bottom-left, top-left, bottom-right, top-right with arcs and sparks; flap matrices are sampled and stepped, never interpolated. Fixed box, no size change | JS starts it on pointer-enter (mouse or pen, never touch) or keyboard focus-visible of the mark or its link or button; removed on `animationend`. Leaving mid-way lets the cycle finish; re-entering while it runs does not restart it | Never starts; the still mark | Reversed artwork (cream, `.dk`) is chosen from the surface; the overlay uses the same choice (`g-light` / `g-dark`) | +| **Mark opening on hover / focus** | Every Space Works logo: public header (`components/layouts/PublicHeader.tsx`), hub header and footer (`features/hub/HubHeader.tsx`, `HubFooter.tsx`), staff and member sidebar (`components/shell/Sidebar.tsx`), mobile top bar (`shell/MobileTopBar.tsx`), sign-in and centred-card layouts (`layouts/AuthLayout.tsx`, `CenteredCardLayout.tsx`), kiosk header (`layouts/KioskLayout.tsx`), public footers (`layouts/PublicLayout.tsx`, `components/SiteFooter.tsx`), space brand fallback (`components/MakerspaceBrand.tsx`), stats TV (`features/stats/PublicStatsTvPage.tsx`), card verify (`features/cards/CardVerifyPage.tsx`), space picker badge (`features/staff/MakerspacePicker.tsx`). One component: `components/brand/AnimatedLogoMark.tsx` | The mark is the product's signature: the box is what Space Works hands out, and opening it confirms the link is live without moving layout | 2200 ms, once: the box starts at the resting logo, folds shut (600 ms, staggered: top-left and bottom-right, then bottom-left, then top-right, so no flap passes through another), then opens (1600 ms, the splash opening: top-right, bottom-left, then top-left and bottom-right) back to the resting logo, with arcs and sparks; shut it is one solid cube whose lid shows one orange face; faces change colour only edge-on; flap matrices are sampled and stepped, never interpolated. Frame-checked by `scripts/check-box-frames.mjs`. Fixed box, no size change | JS starts it on pointer-enter (mouse or pen, never touch) or keyboard focus-visible of the mark or its link or button; removed on `animationend`. Leaving mid-way lets the cycle finish; re-entering while it runs does not restart it | Never starts; the still mark | Reversed artwork (cream, `.dk`) is chosen from the surface; the overlay uses the same choice (`g-light` / `g-dark`) | | **Cold-start splash** | `index.html` (generated block), `lib/splash.ts` | First paint of a cold load: the box opens, then flies into the header logo (`data-sw-logo-target`) | Same 1600 ms opening | Page load | Still open logo | Follows `html.dark` (cream on `#FFF4E8`, or on `#000`) | | **Box loader (loop)** | `components/LogoLoader.tsx` (route fallbacks in `App.tsx`, card designer, query loading states) | Something is loading for an unknown time; one brand-owned indicator | 4400 ms: open, hold, fold shut, repeat | Mounted while loading | Still open logo | Reversed artwork in dark | | **Box spinner / BoxArt (mono)** | `components/BoxSpinner.tsx` (about 370 use sites: buttons, rows, fields, placeholders) | Inline and in-button busy state | Same cycle, 16 to 24 px, `mono` = `currentColor` | While busy | Still logo | `currentColor`: follows the button text in both themes | +| **Search field** | `components/ui/SearchField.tsx` + `SearchField.css` (one shared field; used by `FilterBar` on `/spaces`, the landing hero and the organization directory, the docs palette `features/docs/DocsSearchPalette.tsx`, the staff palette `features/staff/CommandPalette.tsx`, help, features, settings hub, member directory, makerspace discovery, public inventory, galleries, event and booking discovery, and every staff picker and filter, 50+ sites) | One search input everywhere, so focus, loading and clearing feel the same: the border and magnifier answer focus, the box spinner answers a running query, and the clear button and Escape make resetting one gesture | Focus: border to the focus token, magnifier to `accent-ink` with a 2 px nudge (180 ms, `--sw-ease-enter`), shortcut chip fades out (120 ms); loading: magnifier fades out and the 16 px mono `BoxSpinner` fades in (120 ms); clear button fades and scales 0.9 to 1 (120 ms); dropdown rises 4 px and fades (`--sw-dur-base`, enter), first six rows stagger 20 ms, "No results" fades in; optional width grow 72 % to 100 % of a reserved slot (240 ms) | Focus-within, a query in flight (`loading`), text present, Escape clears | Colour changes only: no nudge, scale, rise, stagger or width change; the spinner swap stays (it is the loader) | Tokens only: focus border is Citron in dark, teal in light | | **Logo flap wobble (delight)** | `components/delight/logoUnfold.css` (`LogoDelight.tsx`) | Optional playful extra when interface effects are on; the hidden-while-opening static flaps keep it from clashing | 460 ms spring, rotation only | Hover, focus-visible, click, only with delight on | None | Same | ### Navigation and page change @@ -143,7 +144,7 @@ inert while closing. Styles: `styles/motionOverlay.css`. ### Found in the audit (small, easy to miss) -Every motion rule in the app source was swept for `@keyframes`, `animation`, `transition`, View Transitions, `animate()`, the motion tokens, Tailwind `transition-*`, IntersectionObserver and `scrollIntoView`. These were not listed above. (The count: 56 distinct animations and transitions in the two tables and the catalogue, listed in [`motion/README.md`](../motion/README.md).) +Every motion rule in the app source was swept for `@keyframes`, `animation`, `transition`, View Transitions, `animate()`, the motion tokens, Tailwind `transition-*`, IntersectionObserver and `scrollIntoView`. These were not listed above. (Every animation, one row each with its kit folder, is listed in [`motion/README.md`](../motion/README.md): 49 in all.) | Name | Where (files) | Why | Tokens / timing | Trigger | Reduced motion | Dark | |---|---|---|---|---|---|---| diff --git a/docs/product-rules.md b/docs/product-rules.md index 21a7a93..f17b335 100644 --- a/docs/product-rules.md +++ b/docs/product-rules.md @@ -10,7 +10,7 @@ today, and where one does not follow the rule yet). A rule that says "not checke the code for that product; it is not a claim either way. Related pages: [`theming.md`](theming.md), [`motion.md`](motion.md), [`lessons-learned.md`](lessons-learned.md), -[`design-changes-0.12.0.md`](design-changes-0.12.0.md), [`ui-brand-spec.md`](ui-brand-spec.md), +[`whats-new-v2.0.md`](whats-new-v2.0.md), [`ui-brand-spec.md`](ui-brand-spec.md), [`ux-spec.md`](ux-spec.md). The products, for short: @@ -474,6 +474,23 @@ second permission system for phones would drift. - Document every route: request and response types, auth requirement, typed errors. Keep the snapshot in the repository and regenerate it and the generated client types whenever routes or models change; CI fails on any difference. Next.js apps publish `/api/v1/openapi.json`. +- **API reference for people, from the same spec.** Every product with an API publishes: + - the **OpenAPI 3.1** document (JSON, and YAML where useful) at a stable URL (`/api/schema/` or + `/api/v1/openapi.json`) and as a committed snapshot; + - **Swagger UI** (try-it-out, at `/api/docs/` or `/docs/`) and **ReDoc** (readable reference, at `/redoc/`), both + served from that document, both behind the same auth rules as the API (public in self-host by default, can be + turned off in production by a setting); + - the reference on the product's docs site too (rendered with Redocly/ReDoc), next to guides for auth, errors, + pagination, rate limits, webhooks and versioning. +- **Spec quality.** Every operation has an `operationId` (stable, no `_2` suffixes), a summary and description, tags + that match the areas, request/response schemas with examples, every error response (400/401/403/404/409/422/429) + with the shared error schema, the security scheme (session, bearer, device token, API client HMAC), and + pagination parameters. Enums are named. Breaking changes need a new version prefix (`/api/v2/`) and a note in the + changelog. +- **Lint the spec with Redocly CLI** (`redocly lint` with the org ruleset: operationId required and unique, tags + declared, no unused components, 4xx responses documented, examples valid) and bundle it (`redocly bundle`) for the + docs site. In CI this runs in the contract stage (section 14) and fails on errors. +- Generated clients (TypeScript, Kotlin, Swift) come from the same snapshot; nobody hand-writes request types. - Errors have a stable, untranslated code and a translated message, in one consistent body. - **Throttle** abuse-prone routes. Answer **429 with `Retry-After`**; clients back off. - **Native tokens:** device grants (App Attest on iOS, Play Integrity on Android) refuse platform-admin @@ -492,7 +509,9 @@ second permission system for phones would drift. device grants. Machines, Inventory, Bookings: `/api/v1/openapi.json`, API keys, signed webhooks. Events: machine API v1 and a mobile API spec, webhooks. Workspace: bearer API tokens, integration webhooks, MCP. Organization: OpenAPI endpoint **not found** in the tree; **not checked**. Android and iOS: generated -client from `api/openapi.json`. +client from `api/openapi.json`. Swagger UI and ReDoc: SpaceWorks serves both (`/docs/`, `/redoc/`, schema at +`/schema/`) from drf-spectacular; Redocly lint is not yet in any pipeline; the Next.js apps' Swagger/ReDoc pages are +**not checked**. --- @@ -604,7 +623,10 @@ the code are worse than none. - **Commits.** One logical change per commit, one-line conventional subject (`feat(area): ...`, `fix: ...`). Credit a co-author only on work they actually wrote. - **Branches.** Branch from `dev`; one feature per branch where used; open a pull request into `dev`. Never - push to `main`. + push to `main`. **Only the maintainer (GitHub `Shaan-Shoukath`) can push to or merge into `main` and `dev`** in + every repository: branch protection restricts both branches to that one account, applies to admins too, and + forbids force-pushes and deletion (applied across the org on 2026-11-13). Everyone else works on feature branches + and opens pull requests. - **Version.** `VERSION` is raised (strictly higher than `main`) on every pull request into `main`, with a release note (`docs/release-.md`) and the version strings updated. A release is cut by CI the first time a new `VERSION` reaches `main`; images are built and published by CI, not by hand. @@ -616,6 +638,8 @@ the code are worse than none. - CI required checks cover backend, contracts (OpenAPI regeneration), frontend, the rules guards and the version bump; a security audit workflow runs on the Next.js apps. - Never read, print or commit secrets in tests either: use fake ids. +- **Pipelines and releases.** The full pipeline per stack (checks, version bump, release builds, signing, Pages) and + where each repository stands is in [Pipelines, versions and releases](delivery.md). **Across the org.** SpaceWorks: required CI checks `backend`, `contracts`, `frontend`, `rules`, `version-bump`; `CODEOWNERS`. Events, Inventory, Workspace: CI, quality and release workflows, @@ -628,6 +652,84 @@ SpaceWorks-Labs.) --- +## 13. Decisions and handover (project memory) + +**Rule.** Every repository keeps two kinds of project memory: + +1. **`docs/decisions.md` — committed.** Every decision that shapes the product, its design or its process, with + its **reason**. Numbered, dated, newest first, with an index table, a status (current, or superseded by N) and + where it is implemented. A decision is never deleted: a later one supersedes it and both stay. +2. **A `handover/` folder — git-ignored, never committed.** It lets whoever works next (a person or an agent, on any + machine or account) carry on without losing context: + - `handover/CONTINUE-HERE.md` — read first: the current state (branch, what is pushed, what is uncommitted, open + pull requests), the work in progress, and the next steps in order. + - `handover/TODO.md` — the live checklist (`[x]` done, `[~]` in progress, `[ ]` queued). + - optional working notes, logs and reports next to them. + +**Why.** Code shows *what* was built, not *why*. Reasons that live only in chat or in someone's head are lost, and +the next person repeats old debates or undoes a deliberate choice. A handover that is updated as work happens means +a session can stop at any moment and the next one continues from the exact state. + +**How to apply.** +- Ignore the folder: add `/handover/` to `.gitignore` (or `.git/info/exclude` when the ignore file must not change). + Never put secrets, tokens or personal data in it either. +- Update `CONTINUE-HERE.md` and `TODO.md` **after every change**: each merge, push, lane or task report and + decision. Put the newest state at the top; older blocks stay below as history. +- Record each decision in `docs/decisions.md` in the same change that implements it, with the reason. If a reason + was never written down, write "Reason not recorded" rather than inventing one. +- Number decisions per repository; when a decision comes from another repository's ledger, keep its original + number as a prefix (for example `SW-380`) so they can be cross-referenced. +- Agent instruction files (`CLAUDE.md` / `AGENTS.md`) point at both files so every new session reads them first. + +**Across the org.** SpaceWorks: decisions ledger and handover kept in a git-ignored `handover/` folder (the +committed `docs/decisions.md` is still to add). SpaceWorks-Design-System: `docs/decisions.md` committed; handover +folder to add. Every other repository: verify, and add both. + +--- + +## 14. CI/CD pipeline + +**Rule.** Every repository has the same shape of pipeline, written as GitHub Actions workflows in the repository, +and nothing reaches `main` or a user without passing it. The full detail per stack, and where each repository +stands today, is in [Pipelines, versions and releases](delivery.md). + +**Why.** A release is only as trustworthy as the checks in front of it. One pipeline shape across the org means a +contributor who knows one repository knows them all, and a gap is visible at a glance. + +**The pipeline, in order.** Each stage is a separate, named job so branch protection can require it. + +| Stage | What runs | When | +|---|---|---| +| 1. Lint and format | language linters, formatter check, the file-size rule (300 lines), untranslated-string guard, colour-token guard | every push and pull request | +| 2. Type check | `tsc --noEmit`, mypy/pyright where used, Kotlin and Swift compile | every push and pull request | +| 3. Unit tests | backend unit tests, frontend component tests, view-model tests on mobile | every push and pull request | +| 4. Integration tests | tests against a disposable database, cache and object store started by the job (never a shared or real one) | every push and pull request | +| 5. Contract checks | OpenAPI snapshot regenerated and diffed, `redocly lint` (org ruleset) and `redocly bundle`, generated client types up to date, webhook and event schemas | every push and pull request | +| 6. Guard tests | the invariant guards: module registry, audit, tenancy scoping, migrations graph, docs links, design tokens and previews | every push and pull request | +| 7. End-to-end | browser tests for the main flows per role, both themes, phone and desktop widths; mobile UI tests on phone and tablet | pull requests into `dev` and `main` | +| 8. Security | dependency audit (blocking on high and critical), secret scan, static analysis, container image scan | every pull request, and weekly on a schedule | +| 9. Build | production build of every artifact (images, web bundle, APK/AAB, iOS archive, static site) with no warnings | every pull request | +| 10. Version check | `VERSION` raised above `main`, release notes file present, version strings in sync | pull requests into `main` | +| 11. Release | only when a new `VERSION` reaches `main`: build multi-architecture images, sign them and the installer (cosign), attach an SBOM and provenance, create the `vX.Y.Z` tag and GitHub Release with the notes, publish `latest` last | push to `main` | +| 12. Deploy | staging first, a smoke test, then production; Pages sites deploy from `main` after the build job | after release | + +**How to apply.** +- Pull request builds never publish anything; only `main` (or a manual dispatch) releases. +- Required checks on `main` and `dev`: every stage above that applies to the stack, by job name; branches must be + up to date; admins included; only the maintainer merges to `main` (section 12). +- Cache dependencies per lockfile; pin actions to a version (or a SHA for third-party actions); give each workflow + the least `permissions` it needs; secrets only in GitHub secrets or environments, never in logs or artifacts. +- Mobile: signing keys live in GitHub environments; release builds are signed; the APK/AAB and iOS build are + attached to the GitHub Release (the apps ship through GitHub Releases). +- A red pipeline is fixed or the change is reverted; no "merge anyway", no skipping hooks. +- Workflow changes are reviewed like code and listed in the release notes. + +**Across the org.** See the matrix and the gaps list in [Pipelines, versions and releases](delivery.md). These are +the rules to reach; they are **not yet applied** to the repositories (maintainer decision, 2026-11-13: add the +rules now, change the repositories later). + +--- + ## New-feature checklist 1. Is it an **area** with a registry key, a default (off unless core) and an "off" behaviour (hidden, refused, @@ -636,7 +738,7 @@ SpaceWorks-Labs.) what the role cannot use? 3. Does every state change write an **audit entry**, go through the one workflow or availability module, and respect immutable evidence? -4. Is every endpoint in **OpenAPI** with typed errors, throttles with `Retry-After`, and the same authority for +4. Is every endpoint in **OpenAPI** (shown in Swagger UI and ReDoc, passing `redocly lint`) with typed errors, throttles with `Retry-After`, and the same authority for web and native? Are the generated types regenerated? 5. Does money record first, in **minor units with currency**, idempotently, with webhook verification and Stripe, Razorpay and offline paths? Are secrets write-only and encrypted? @@ -649,6 +751,9 @@ SpaceWorks-Labs.) and the merge left to the maintainer? 11. Does the installer or update path still work: one-line install, backup first, rollback, and (if it adds a service) the hybrid and no-Redis choices? +12. Is the decision recorded in `docs/decisions.md` with its reason, and are `handover/CONTINUE-HERE.md` and + `handover/TODO.md` updated? +13. Does the pipeline cover it (lint, types, unit, integration, contract, guards, e2e, security, build), all green? --- @@ -676,6 +781,8 @@ code was not read; it is not a claim either way. "n/a" means the rule does not a ## Bring each product up to the rules +**Every repository:** add a committed `docs/decisions.md` and a git-ignored `handover/` folder with `CONTINUE-HERE.md` and `TODO.md` (section 13), and point the agent instruction files at them. + Every gap found while writing this page is now a **required** rule above. This is the per-product list of what each repository must add or change. "Verify" means we have not read that code yet: check it, then either tick it or turn it into a change. Products will be updated later; this list is the work order. diff --git a/docs/theming.md b/docs/theming.md index 3017b55..b17d080 100644 --- a/docs/theming.md +++ b/docs/theming.md @@ -199,6 +199,29 @@ Call `initializeTheme()` in `main.tsx` before `createRoot(...).render`. - **Never hard-code a hex** where a token exists. A component that needs a dark-only or light-only look uses an island (`.sw-island-dark`), not a one-off colour. +## The bright brand colours are the same in both themes + +Space Works keeps its bright colours identical in light and dark. Only the neutrals (page, surfaces, lines, text) +switch. Do not invent a "dark version" of a brand colour. + +| Role | Light | Dark | Same? | +|---|---|---|---| +| Accent / brand fill (Maker Teal) | `#006E63` | `#006E63` | yes | +| Emphasis (Workshop Orange) | `#FF7447` | `#FF7447` | yes | +| Success (Citron) | `#DFFF8F` | `#DFFF8F` | yes | +| Warn (Warm Yellow) | `#FFD447` | `#FFD447` | yes | +| Info (Sky Blue) | `#B5CDFF` | `#B5CDFF` | yes | +| Chart series 1-5 (teal, orange, citron, sky, yellow) | `#006E63` `#FF7447` `#DFFF8F` `#B5CDFF` `#FFD447` | the same | same (with an edge for contrast) | +| Chart edge (`--chart-edge`) | Deep Ink `#142C2A` | Warm Cream `#FFF4E8` | no: the edge is the neutral that carries contrast, so it flips with the page | +| Text on those fills (`on-*`) | Deep Ink / Warm Cream | the same | yes | +| Danger | `#B91C1C` | `#FCA5A5` | no: red is not a brand colour; dark uses a lighter red so it stays readable | +| Focus ring | Maker Teal | Citron | no: teal is too faint on black, Citron is the dark focus colour | +| Sidebar | Citron field | near black `#0B0B0B` | no: a large Citron field on black glares; the dark sidebar is a neutral surface | + +What changes in dark is how a colour is used as **text or a thin mark**: use the `*-ink` tokens (for example +`accent-ink` `#80B1A6`, `success-ink` `#E9FCAA`) because the fill colours are too dark or too bright to read as +text on black. Fills, buttons, pills, chart bars and illustrations keep the bright brand colours. + ## 6. Artwork per theme - **Logo**: two drawings, full colour on light (`symbol`, `lockup-*`) and reversed cream on dark @@ -208,8 +231,10 @@ Call `initializeTheme()` in `main.tsx` before `createRoot(...).render`. `.g-dark` / `.g-light` force a ground. `mono` variants use `currentColor`. See `motion/box-open/`. - **Illustrations and Patch**: ship a `-dark` file for each (`/brand/patch/name.webp`, `name-dark.webp`); pick by theme. Teal and Citron fields are identical in both themes. -- **Charts**: `--chart-accent`, `--chart-info`, `--chart-success`, `--chart-warn`, `--chart-danger` are defined for - both themes (light uses ink variants for contrast, dark uses the fills). Use `rgb(var(--chart-accent))`. +- **Charts** (Design System v2.0, SW-380): `--chart-1` to `--chart-5` are the five bright brand colours, the same + hex in light and dark. Contrast comes from `--chart-edge`: a 1px edge on every filled mark (bars, slices, + points, legend swatches) and a 4px casing under every 2px line. Do not dull a series colour. Danger + (`--chart-danger`) is not a series; use it explicitly for a bad or negative value. Use `rgb(var(--chart-1))`. - **Splash and meta colour**: splash background `#FFF4E8` (light) and `#000` (dark); `theme-color` follows. ## 7. Contrast rules @@ -222,5 +247,5 @@ alone for state. ## 8. Checklist for a new page or component 1. Only tokens, no hex. 2. Open it in light and dark (and with `system` plus the OS flipped). 3. Logo and illustration -use the themed variant. 4. No flash on reload in dark (the pre-paint script is present). 5. Charts use `--chart-*`. +use the themed variant. 4. No flash on reload in dark (the pre-paint script is present). 5. Charts use `--chart-1` to `--chart-5` plus `--chart-edge`. 6. New animations behave the same in both themes and under reduced motion. diff --git a/docs/ui-brand-spec.md b/docs/ui-brand-spec.md index 9e18901..954f9ac 100644 --- a/docs/ui-brand-spec.md +++ b/docs/ui-brand-spec.md @@ -679,8 +679,11 @@ PINs (keep `tracking-widest`), versions and public codes. They include 8 inputs: - `statusToneMap`: `issued` and `checked_out` change `danger` → `accent`. Add every status in C. - The dashboard and stats tiles become `StatCard`: a neutral panel with the tone carried by the number (UX spec P4). -- `OperationsReportCharts` marks need ≥3:1 on panel. Light: teal 6.16, info-ink 5.74, success-ink 5.75, - warn-ink 5.78, danger 6.47. Dark: the brand fills. Orange and the pastels in light mode only appear with a 1 px ink stroke. +- `OperationsReportCharts` marks need ≥3:1 on panel (SW-380, Design System v2.0, replaces the old ink shades). + Series fills are the five bright brand colours in both themes; the mark boundary reaches 3:1 through + `--chart-edge` (1 px edge on every filled mark, 4 px casing under 2 px lines): Deep Ink 14.75:1 on the light + panel, Warm Cream 16.98:1 on the dark panel. Fills alone are 1.11 to 6.16 (light) and 2.99 to 16.53 (dark). + Danger is not a series colour. - The PLAN's "theme (Light/Dark/System)" in the user menu becomes **Light/Dark** (D11). --- diff --git a/docs/whats-new-v2.0.md b/docs/whats-new-v2.0.md new file mode 100644 index 0000000..0107393 --- /dev/null +++ b/docs/whats-new-v2.0.md @@ -0,0 +1,238 @@ +# What's new in v2.0 + +What changed in design and UX in **Space Works Design System v2.0**, which ships alongside SpaceWorks 0.12.0. + +For designers and the teams building the other Space Works apps (Android, iOS, sibling web apps). It says what +moved in release 0.12.0, why, and what each app should change to match. For the reasons behind the colour rules +read [`lessons-learned.md`](lessons-learned.md); for every animation in detail read [`motion.md`](motion.md); for +how to wire up the theme switch read [`theming.md`](theming.md). + +Decision numbers (for example 316) refer to the build's decisions ledger. Commit hashes are in this repo unless +marked "app". + +--- + +## 1. The dark-mode shift + +### The story + +Dark mode was redone three times in one month. Each step fixed a real problem and created the next one. + +| When | Decision / commit | Dark look | What was wrong | +|---|---|---|---| +| Before 15 Oct 2026 | early tokens | Grey-green dark | Contrast was too low in places; `894cf8c` (15 Oct) retuned the dark tokens for contrast. | +| 15 to 16 Oct | `5cf062e`; app `a770d92b0` | **Teal-lit**: Deep Ink `#142C2A` page, teal-lit panels (`#193935`, `#1F433F`), Citron focus | Teal marks were about 1.76:1 on the lit panel, so teal text and charts were too dim. Many status pills turned into dim soft fills. | +| 10 Nov | decision 225 | **True black (AMOLED)** page `#000`, but the layers above it stayed teal-lit | Owner: "keep the dark theme to somewhat that", only deepen it. | +| 11 Nov (morning) | decision 275, 300 | Black page, teal-tinted surfaces and borders, desaturated accents | A mix of pure black and green-tinted layers: surfaces seamed against the page. The UX pass also had to lift dark `line` for button borders (it measured 2.97:1 on the panel); decision 316 then split roles properly: `line` quiet, `outline` for control edges. | +| 11 Nov | **decision 316**; `8060ba0` | **One solid black neutral family**, no green anywhere in a surface | This is what ships. Owner: mixing pure black with green-tinted surfaces "is not working out". | + +### Why it changed, in plain words + +1. **Two families on one screen fight.** Black next to dark green looks like a mistake, not a design. +2. **Tinted surfaces cost contrast.** Teal on a teal-lit panel is dim; teal on neutral black is better and the + lifted `accent-ink` fixes the rest. +3. **Brand colour works better as an accent than as a floor.** Teal, Citron and Orange now only appear in + buttons, focus rings, links and status, so they stand out against neutral black. +4. **True black is cheaper and calmer on OLED phones**, which matters most for the mobile apps. + +### Before and after, every dark token + +Values are RGB triplets as in `tokens/tokens.css`; hex is in `tokens/tokens.json`. "Old" is the green-black dark +the app and this repo shipped before decision 316. + +| Token | Old (teal-lit) | New (solid black) | New hex | +|---|---|---|---| +| `bg` | 20 44 42 | 0 0 0 | `#000000` | +| `surface` | 25 57 53 | 11 11 11 | `#0B0B0B` | +| `panel` | 31 67 63 | 20 20 20 | `#141414` | +| `hover` | 37 77 72 | 28 28 28 | `#1C1C1C` | +| `line` | 77 109 103 | 44 44 44 | `#2C2C2C` | +| `outline` | 147 161 152 | 120 120 120 | `#787878` | +| `muted` | 199 196 186 | 172 172 172 | `#ACACAC` | +| `sidebar` | 17 53 50 | 11 11 11 | `#0B0B0B` | +| `sidebar-hover` | 37 77 72 | 28 28 28 | `#1C1C1C` | +| `accent-soft`, `brand-soft` | 26 74 69 | 18 29 28 | `#121D1C` | +| `accent-ink`, `brand-ink`, `brand-boundary` | 171 200 188 | 128 177 166 | `#80B1A6` | +| `emphasis-soft` | 47 70 64 | 34 26 23 | `#221A17` | +| `success-soft` | 44 80 69 | 32 34 27 | `#20221B` | +| `success-ink` | 223 255 143 | 233 252 170 | `#E9FCAA` | +| `warn-soft` | 47 77 64 | 34 32 23 | `#222017` | +| `warn-ink` | 255 212 71 | 255 222 119 | `#FFDE77` | +| `info-soft` | 42 77 76 | 30 31 34 | `#1E1F22` | +| `info-ink` | 181 205 255 | 203 217 248 | `#CBD9F8` | +| `shadow-color` | 20 44 42 | 0 0 0 | `#000000` | +| `scrim` (new token) | n/a | 0 0 0 | `#000000` (light: `#142C2A`) | + +### What stayed the same + +`ink` (Cream `#FFF4E8`), `focus` (Citron `#DFFF8F`), the accent fills (Maker Teal `#006E63`, hover +`#02675D`, active `#046158`), `emphasis` (Workshop Orange `#FF7447`), the solid status fills (Citron, Warm +Yellow, Sky Blue) and their Deep Ink labels, and danger (`#FCA5A5` in dark). Token **names** are unchanged, so +code that uses names needs no edits. The whole light palette is also unchanged. + +New in the same release: chart series tokens and loader colours for both themes (`a1869a2`, see +`tokens/tokens.json`), and the `scrim` token. + +### What every app must change to follow + +1. **Replace the dark values** with the table above. Do not keep any green-tinted surface or border. +2. **Page is `#000`**, layers step up 11, 20, 28. Do not add a custom "elevated" grey. +3. **Text and icons use `*-ink`**, not the fill (teal text on dark is `#80B1A6`). +4. **Controls get `outline`**, not `line`. `line` is a quiet divider (1.5:1). +5. **Status chips**: solid fill plus dark label for small marks in both themes; soft plus ink only for large + banners in dark. +6. **Charts** use the `chart.dark` list, with a dash pattern per series. +7. **Logo**: reversed Cream lockups on dark; **Patch**: `mascot/dark/` with the Cream sticker border. +8. **Dark illustrations and print artwork keep Deep Ink**; the Deep Ink "island" (a dark panel inside a light page) + re-joins the black family when the page is dark. +9. **Mobile**: use the system dark switch as the default signal only if the product wants it (the web app defaults + to light and respects a saved choice); follow the black values on OLED. +10. Re-run your contrast checks (lesson 35) and check every screen in both themes (lesson 34). + +### Screenshots + +Folders in the main checkout under `handover/screenshots-0.12.0/` (not copied here): +- `dark-black/`: the final solid-black dark on the home, spaces, features, docs, sign-in and display screens, + at 1440 and 390 px. +- `home-and-dark/`: "after" captures of the console (dashboard, list, drawer, dialog, settings) and the spaces + page in states (loading, error, no results, offline), light and dark. +- `hub-scroll/`: the landing scroll story in light, dark, phone and reduced motion, plus + `console-dashboard-dark-before.png` and `console-dashboard-dark-after.png` for a direct before and after. +- `loader/`: the box loader in both themes. + +--- + +## 2. Logo animation + +Three related things, all from the same artwork (the box symbol that opens): + +1. **Cold-start splash.** On a cold page load the box opens, then flies into the header logo. An inline block in + `index.html` shows it so the first load is never blank. Once per page load, about 1.2 to 1.6 s. (Decision 313.) +2. **Box loader.** The loop (4400 ms: open, hold, fold shut, repeat) is the one loading indicator everywhere. + Pages and panels use the full `LogoLoader`; buttons, rows and fields use the compact `BoxSpinner`, with a + `mono` variant that draws in the text colour. Replaces ring spinners and skeleton-as-loading. (Decision 322.) +3. **Hover and focus opening (the logo rule).** The Space Works mark plays the one-shot opening (1600 ms) on + pointer hover and keyboard focus, everywhere it appears: navbar, landing header and footer, console sidebar, + member header, auth panel, docs, mobile bar and error pages, through one shared component + (`AnimatedLogoMark`). (Decision 362.) + +**The rules for the hover opening** +- It plays once and returns to the still mark. It never loops except as the loader. +- **Reduced motion:** the mark stays static (and the loader shows the still, open logo). +- **Touch:** no hover animation on touch devices. Gate on `@media (hover: hover)`, so there is no stuck state. +- **Tenant logos never animate.** Only the Space Works mark does. +- Correct in light and dark: the artwork follows the theme (under-face `#354845` light, `#66625D` dark). +- The flap transforms are played with `steps(1, end)` so the browser never interpolates matrices (lesson 24). + +Details: [`motion.md`](motion.md) and [`../motion/box-open/README.md`](../motion/box-open/README.md). + +--- + +## 3. Every animation, and where it is used + +A compact index. The full catalogue (files, tokens, trigger, reduced motion, dark notes) is in +[`motion.md`](motion.md). + +Tokens: durations 120 / 180 / 240 ms; curves standard `(0.2,0,0,1)`, enter `(0.16,1,0.3,1)`, exit `(0.4,0,1,1)`. +Reduced motion zeroes durations and distances and leaves fades only. Kiosk and TV zero distances. + +| Animation | Used in | Why | +|---|---|---| +| Box loader (loop) | Page, panel, dialog and Suspense loading | One brand-owned loading cue | +| Box spinner (mono) | Buttons, table rows, fields | Inline busy state that follows text colour | +| Cold-start splash | First paint of a cold load | Never a blank first screen | +| Logo hover and focus opening | Every Space Works mark | Brand moment, one-shot, never on touch | +| Route transition | Main content area only; sidebar and top bar stay still | A page change reads as one move | +| Scroll restoration | Every navigation | Back returns to where you were; a new page starts at the top | +| Sliding indicator | Sidebar and tabs | Shows the section by moving one box | +| Collapse / disclosure | Sidebar groups, settings sections | Neighbours stay in view | +| Theme switch | Theme toggle | Circular reveal; cross-fade fallback; instant if reduced motion | +| Fade, pop, sheet, drawer, menu, toast | Scrims, dialogs, phone sheets, side panels, menus, status toasts | Layers arrive from where they dock | +| Press and hover colour | Buttons, links, rows | Colour only, 120 ms; no lift or shadow | +| Stagger rise | First load of lists and dashboards | Reads as assembled in order; first eight items only | +| Skeleton | Placeholder shapes in lists | Reserves layout; shape plus the box loader | +| Landing scroll story | `/` (pinned hero, sticky handover record, reveal on scroll, areas panel) | Walks a visitor from promise to the real console | +| Sign-in brand facets | Sign-in screens | One entrance, never on hover | +| Display slide fade | TV and space display | One 400 ms fade, so a Pi stays idle | +| Kiosk and TV tokens | `.sw-kiosk`, `.sw-tv` | No slide, scale or loops on shared screens | +| Delight (opt-in) | Return confetti, pass tear, Patch on the 404 | Small human moments; never in staff or kiosk flows | + +--- + +## 4. UX improvements in 0.12.0 + +Each item: what the user now experiences, then the pattern other apps should copy. + +**1. Easier to start (decision 235).** The installer asks the fewest questions, with Enter-defaults and one clear +finish; the first admin gets a guided setup (name, logo, hours, areas, invite staff) and a "next steps" checklist; +optional features stay hidden until switched on; labels are plain language with one-line help; the docs lead +with a five-minute quickstart. *Copy:* ask areas not modules, hide what is off, never show internal words +("tenant", "capability", "module key"). + +**2. Settings grouped by the owner's mental model (decisions 255, 273).** Space settings are in seven groups +(Space, People, Areas, Money, Communication, Integrations, Administration) with search and one line of help per +page, from one translated catalogue (a test enforces coverage). Pages that live on their own tab appear in their +group as links; area pages and Settings link to each other. "Modules" became "Areas and add-ons" in user-facing +text only. Platform settings use the same grouping. *Copy:* group by what the person is trying to do, help text +on every row, search over all settings, one name per thing (the repair shelf had five names). + +**3. Area views per role (decision 241).** Inventory, Machine, Event and Booking managers see their whole area +(finance, to-buy, consumables, repairs, warranties, reports, audit), grouped by machine type then machine; the +Space Manager sees the same combined, grouped by area with totals and an area filter. *Copy:* narrow the console +to the role, but give each role everything for its own area. + +**4. One loader everywhere (decision 322).** Every loading state is the box opening; inline spots use the small +version. *Copy:* one loading indicator, with a polite status label and a still version for reduced motion. + +**5. Page transitions and scroll behaviour (decision 323).** Content cross-fades with a short upward settle while +the sidebar and top bar stay still; the active sidebar item slides to the new one; going back restores your scroll +position and a new page starts at the top; the mobile drawer, dialogs, menus, popovers and toasts share the same +enter and exit motion. Focus moves to the page only on a real page change, so typing in a search box is no +longer interrupted by a query change. *Copy:* animate content, not chrome; restore scroll on back, reset on forward; +transform and opacity only; never block navigation on an animation. + +**6. A scrolling product page, and a features page (decisions 300, 340a).** The front page tells a sample loan +step by step with a pinned hero, a sticky record and reveal on scroll; it becomes a plain static page for reduced +motion and phones. The "Find a space near you" section left the page (the Spaces link and `/spaces` stay). A +Features page lists every area and module, built from the app's own catalogue so it cannot drift. A switch +(`HUB_LANDING_ENABLED`) lets a space show its own home instead. *Copy:* a motion-rich story always has a static +fallback. + +**7. A better spaces list (decision 275).** A compact hero with search, a responsive grid visible above the fold, +a sticky search on phones, and real loading, empty, no-results, offline and error-with-retry states, in both +themes (see `home-and-dark/`). *Copy:* design all five states, not only the full one. + +**8. Machine service for every machine type (decision 340b).** The separate Printing module is gone; 3D printers, +lasers, CNC and cutters are machine types inside one Machine service, with consumables per type and one "Add a +machine type" setup. *Copy:* one workflow with types beats one module per machine. + +**9. Card Studio (decisions 344, 345).** One designer for member cards, staff IDs, badges, tickets and +certificates: Quick mode for a fast start, Advanced for a full canvas (layers, guides and snapping, rulers, bleed +and safe zone, undo and redo, version compare), uploaded backgrounds, bulk photo matching by file name, an +optional background eraser run by the space itself with a member opt-out notice, seven barcode types, and +print-ready PDF. Built-in looks come in light and dark. *Copy:* offer a simple mode and an advanced mode on the +same document, and show the consent notice where the photo is taken. + +**10. Web and app use in analytics (decision 357).** Counts-only daily activity per channel (web, iOS, Android, +API client) in a platform report and a space-manager variant that shows phone channels only when the mobile +module is on. *Copy:* tag every telemetry event with a `client`, and report counts, not people. + +**11. Colour settings that fix themselves (decision 324, lesson 15).** A space picks two colours; the product +shows which surfaces use them (staff: none; members and public: derived; printed and TV: link colour), checks +both themes, and offers a one-click fix. *Copy:* explain where a setting applies, and fix rather than refuse. + +**12. Shared patterns, copy and accessibility (UX pass, decision 255).** Highlights: a shared `Pagination` and +`ConfirmDialog` replaced ad-hoc pagers and native confirms; whole translated sentences with plurals instead of +fragments; no raw status codes (labels with a word); sticky bulk-action bar with "Clear selection"; dialogs +close only when the press and release both land on the backdrop (dragging a text selection out no longer closes +them) and always show a close button; error toasts announced as alerts; the Filters button names its active +count ("Filters, 3 active"); routed tabs are plain links; one checkbox and radio size; interactive borders use +`outline`; search placeholders are visibly lighter than typed text. *Copy:* every list uses the shared pager, +every destructive action a real confirm dialog, every error a retry. + +**13. Command palette and search.** The palette matches both names of a page ("Home" and "dashboard", +"Notifications" and "Inbox") and the settings search covers every page including tab pages. *Copy:* search +matches synonyms, not only the label. + +Source for items 2, 5 and 12: `handover/reports/UX-PASS-0.12.0.md` in the main checkout; release notes in +`docs/release-0.12.0.md` of the app repository. diff --git a/motion/README.md b/motion/README.md new file mode 100644 index 0000000..42832a1 --- /dev/null +++ b/motion/README.md @@ -0,0 +1,100 @@ +# Space Works motion kit + +Part of Design System v2.0. Values are copied from the app as shipped in SpaceWorks 0.12.0. + +Every animation in the product as a reusable, framework-free template: one folder per family, each with the CSS +(copied unchanged from the app, using the tokens in [`../tokens/tokens.css`](../tokens/tokens.css)), `react/` copies +of the real app files, a standalone `demo.html` (light and dark, honours reduced motion), animated `previews/` +(WebP and GIF) and a README that says what it is, where the app uses it, why, the timing and easing tokens, the +trigger, reduced-motion and dark behaviour, do and don't, and copy-paste usage. + +The full catalogue with every trigger and reduced-motion note is [`../docs/motion.md`](../docs/motion.md). The +rules behind it: transform and opacity only, enter decelerates and exit accelerates, nothing on an interaction path +over 240 ms, hover is colour only, reduced motion is a floor, never loop outside a loader, check both themes. + +## Folders + +| Folder | What it covers | +|---|---| +| [`box-open/`](box-open/README.md) | The box loader (loop), the inline spinner, the in-button mono spinner, the logo hover and focus opening, the cold-start splash opening | +| [`theme-reveal/`](theme-reveal/README.md) | The light/dark switch: a circle growing from the toggle | +| [`search/`](search/README.md) | The shared animated search field | +| [`route-transition/`](route-transition/README.md) | Page change: old out, new in, only the main region | +| [`page-enter/`](page-enter/README.md) | List stagger, sign-in facets and showcase, areas panel and proof | +| [`scroll-reveal/`](scroll-reveal/README.md) | Landing story: pinned hero, handover steps beside a sticky record, reveal on scroll | +| [`overlays/`](overlays/README.md) | Scrim fade, dialog pop, phone sheet, side drawers, menus and popovers | +| [`toast/`](toast/README.md) | Status toast in and out | +| [`sidebar/`](sidebar/README.md) | Sliding section and tab indicator | +| [`collapse/`](collapse/README.md) | Height collapse via grid rows, disclosure chevrons | +| [`skeleton/`](skeleton/README.md) | Still loading placeholders and the progress width | +| [`hover-press/`](hover-press/README.md) | Colour-only hover, press sink, card, row and link hover | +| [`feedback/`](feedback/README.md) | Verify stamp, result arrive, pass tear, logbook, return confetti | +| [`delight/`](delight/README.md) | Logo flap spring and pop, Patch, companion walk, glyph tilt, card tilt and flip | +| [`kiosk-display/`](kiosk-display/README.md) | Display slide fade and the kiosk and TV token override | + +## Every animation, where it lives + +| Animation | Folder | Where | Why | +|---|---|---|---| +| Mark opening on hover and focus | `box-open/` | Every Space Works logo placement (`AnimatedLogoMark`) | The brand signature; shows the link is live without moving layout | +| Cold-start splash opening | `box-open/` | `index.html`, `lib/splash.ts` | First paint hands over to the header logo | +| Cold-start splash flight and fade | `box-open/` | `lib/splash.ts` | The mark flies to the header logo (520 ms), then the splash fades (200 ms) | +| Box loader (loop) | `box-open/` | `LogoLoader` route fallbacks and panels | One brand loading indicator | +| Box spinner and mono | `box-open/` | `BoxSpinner` (buttons, rows, fields) | Inline and in-button busy state | +| Theme switch reveal | `theme-reveal/` | `themeReveal.ts`, `themeTransition.ts` | The new theme grows from the toggle | +| Animated search field | `search/` | Shared search field | See its README | +| Route transition (View Transition) | `route-transition/` | `lib/motion/*`, `motionRoute.css` | A page change reads as one move; chrome stays still | +| Route fallback fade (`sw-route-enter`) | `route-transition/` | Back and forward, unwrapped links | Same move without the API | +| Scroll restoration | `route-transition/` | `ScrollManager.tsx` | Back returns to where you were | +| Root cross-fade | `route-transition/` | `delight.css` | Non-route View Transitions fade the page (180 ms) | +| Stagger rise | `page-enter/` | `StaggerGroup`, `layouts.css` | First load reads as assembled in order | +| Facet entrance | `page-enter/` | `BrandFacets`, `fields.css` | Sign-in panel entrance, once | +| Showcase rise | `page-enter/` | `fields.css` (`sw-auth-showcase`) | Sign-in cards arrive in turn | +| Areas panel wipe | `page-enter/` | `AreasSection`, `hub.css` | A switched area is noticed | +| Story proof rise | `page-enter/` | `StorySections`, `hub.css` | A new proof row lands | +| Handover wizard step change | `page-enter/` | `HandoverWizard.tsx` | Shared fade and rise tokens | +| Pinned hero sequence | `scroll-reveal/` | `HeroSection`, `useScrollSequence` | Promise to console to overview in one scene | +| Handover steps beside sticky record | `scroll-reveal/` | `HandoverScrolly` | The evidence trail forms as steps pass | +| Reveal on scroll | `scroll-reveal/` | `data-reveal` blocks | Sections arrive once | +| Smooth scroll to target | `scroll-reveal/` | `HandoverScrolly`, `JoinButton`, kiosk recovery, print request | Bring the result into view | +| Scrim fade | `overlays/` | Dialogs, drawers, docs drawer scrim | The layer arrives without a jump | +| Dialog pop | `overlays/` | `Modal`, `FilterPopover`, `PresenceCheckInSheet` | Arrives from just in front | +| Bottom sheet | `overlays/` | Dialogs under 640 px | Rises from the edge it docks to | +| Drawer (right and left) | `overlays/` | `DetailDrawer`, `SidebarDrawer`, `DocsLayout` | Slides from its own edge | +| Menu and popover | `overlays/` | `OverflowMenu`, user menu, popovers | Drops 4 px from the trigger | +| Presence (exit keeps mounted) | `overlays/` | `usePresence.ts` | Exits can play and the layer is inert while closing | +| Status toast | `toast/` | `ToastHost` | Status without stealing focus | +| Sliding indicator (sidebar) | `sidebar/` | `Sidebar`, `useSlideIndicator` | One box shows the current section | +| Tab underline slide | `sidebar/` | Staff panel tabs | Same hook on tabs | +| Section collapse | `collapse/` | `Collapse`, `Disclosure`, sidebar "More" | A group opens without losing neighbours | +| Disclosure chevrons | `collapse/` | Sidebar, collapsible and inspector sections, FAQ, docs nav | The arrow reports the state | +| Skeleton placeholder | `skeleton/` | `Skeleton`, DataTable loading rows | Reserves the shape; box spinner inside | +| Progress width | `skeleton/` | `cardJobs.tsx` | Progress eases to its value | +| Press and hover colour | `hover-press/` | Buttons, tabs, nav items (`motion.css`) | The control answers; press sinks to 0.98 | +| Hover colour on cards, rows, links, tabs | `hover-press/` | Space cards, hub, docs, directory, settings nav | Same colour-only rule | +| Hover opacity and drag dim | `hover-press/` | Analytics bars, crew rows | Marks the hovered or dragged item | +| Card verify stamp | `feedback/` | `CardVerifyPage` | A valid check lands with one stamp | +| Return confetti | `feedback/` | `ReturnConfetti` | Celebrates a completed return (delight on only) | +| Result arrive, pass tear, logbook open | `feedback/` | `delight.css` | Small human moments (delight on only) | +| Logo flap spring and pop | `delight/` | `logoUnfold.css` | Playful flaps (delight on only) | +| Patch: pet walk, naps, paw prints | `delight/` | `NotFoundPatch` | The 404 pet | +| Patch moment trot | `delight/` | `PatchMoment` | Still moment that trots once | +| Patch "z" | `delight/` | `patch.css` | Sleeping decoration (loops, decorative) | +| Companion walk | `delight/` | `Companion` | Decorative walk (loops, decorative) | +| Glyph tilt | `delight/` | `delight.css` | -3 deg under the pointer | +| Card tilt and flip | `delight/` | `HolographicCard` | The printed card follows the pointer | +| Display slide fade | `kiosk-display/` | `spaceDisplay/display.css` | One fade per slide; a Pi stays idle | +| Kiosk and TV token override | `kiosk-display/` | `.sw-kiosk`, `.sw-tv` | Fades only on shared screens | + +## Previews and checks + +Animated WebP and GIF previews (light and dark, each under 400 KB) are in every folder's `previews/`. They are +rendered in headless Edge from the same CSS by `node scripts/make-previews.mjs motion-kit`, with every CSS +animation and transition paused and seeked to an exact time per frame. `node scripts/check-previews.mjs` fails when +any family's CSS, demo page or preview is stale or missing. + +## Using a family + +1. Link `tokens/tokens.css` (it defines the motion tokens and both themes: dark is the class `dark` on ``). +2. Link the family stylesheet and copy the markup from its `demo.html`. +3. Check it in light and dark, and with `prefers-reduced-motion: reduce`. diff --git a/motion/box-open/README.md b/motion/box-open/README.md index 21829c5..4c19ebf 100644 --- a/motion/box-open/README.md +++ b/motion/box-open/README.md @@ -32,12 +32,13 @@ Open [`demo.html`](demo.html) in a browser to see every variant. Use the "Toggle ## The logo opens on hover and focus -The same artwork plays once (`sw-box hov`, 2200 ms) over the Space Works mark whenever it is hovered or keyboard-focused, everywhere it appears. It starts on the resting (open) logo, folds shut (600 ms, the loader's fold curve), then opens (1600 ms, the splash opening) back to the resting logo: no hold, no snap at either end. +The same artwork plays once (`sw-box hov`, 2200 ms) over the Space Works mark whenever it is hovered or keyboard-focused, everywhere it appears. It starts on the resting (open) logo, folds shut (600 ms, the loader's fold), then opens (1600 ms, the splash opening) back to the resting logo: no hold, no snap at either end. - In the app every placement uses `components/brand/AnimatedLogoMark.tsx`; a guard test fails if the mark is drawn any other way. - Without React: on pointer-enter (not `pointerType === "touch"`) or `focusin` that matches `:focus-visible` on the logo's link, mount `
    ` + the markup over the logo's symbol and hide the static symbol paths; remove both on `animationend` of `sw-boxh-w`. Leaving mid-way lets the cycle finish; entering while it runs does not restart it. - Skip it entirely when `prefers-reduced-motion: reduce` matches (the still mark shows). Touch never starts it. - Add `g-dark` or `g-light` to force the artwork for a surface that is always dark or light; otherwise it follows `html.dark`. +- Set `--sw-ground` on the container to the colour behind the mark when it is not the page colour (`#FFF4E8` light, `#000` dark): moving flaps are outlined in it, like the gaps in the logo. The React overlay reads it from the first opaque background up the tree. - The `hov` CSS is in `box-open.css` (generated with the loop; the splash only carries `once`). It never loops outside the loader, tenant logos never animate, and the box never changes size. Full rules, and every other animation in the product: [`../../docs/motion.md`](../../docs/motion.md). @@ -57,10 +58,43 @@ Use the box loader everywhere something loads. Don't use a generic spinner. - Opening (one-shot, on the cold-start splash): **1600 ms**. - Loader cycle (open, hold, fold shut, repeat): **4400 ms**. -- Flaps open in the order bottom-left, top-left, bottom-right, top-right. +- Opening: the top-right flap lifts first, then bottom-left, then top-left and bottom-right together. +- Folding shut is staggered in the reverse order, each flap over half the fold: top-left and bottom-right first, then bottom-left, then top-right. Folding all four together made neighbouring flaps pass through each other. - Flap transforms are sampled per frame and played with `steps(1, end)`. Browsers glitch when they interpolate between two `matrix()` values near edge-on, so flap matrices are never interpolated; only opacity is. - **Reduced motion:** under `prefers-reduced-motion: reduce` every animation stops and the still, open logo shows. +## Known-good states + +These are checked frame by frame (see "Checking the frames" below); a change that breaks one is a bug. + +- **Rest** (the start and end of the hover cycle, the end of the opening, the loader's hold): the static logo + exactly, `symbol` in light and `symbol-reversed` in dark. Nothing extra is drawn: no cap, no outline, no wall. +- **Shut** (the start of the opening, the loader's closed hold, the middle of the hover cycle): one solid cube. The + lid is the outer pair, top-right over bottom-left, with the inner pair (top-left, bottom-right) hidden under it. + In light the lid shows **exactly one orange face** (the top-right flap's half) and one teal half; in dark it is + cream with black cut lines. No hole anywhere inside the cube. +- **Open** (rest): two orange flaps in light (top-right, bottom-left), as in the logo. +- **In between:** + - A flap changes colour only when it turns edge-on (it has no area then, so the change cannot be seen). The face + you see past edge-on is its outer face: orange for top-right, teal for the others, cream in dark. + - The back flaps shade smoothly towards the dark under-colour while standing up. + - The reversed (dark) artwork cuts its side faces short under the front flaps, so a cream cap (the light + master's full faces) shows behind them from the first frame anything moves. That is what fixed the black + holes. + - Moving flaps are outlined in the ground colour so a flap never melts into the face behind it: from the first + moving frame in dark (with the cap), faded in over the first 12 degrees in light. + - Flaps are painted in depth order. The top-right flap is drawn twice (`.z0` under the others, `.z1` on + top) and swaps layer only while it overlaps nothing. + +## Checking the frames + +`node scripts/check-box-frames.mjs` (from the repo root; optional locally, needs Microsoft Edge like +`make-previews.mjs`) renders exact frames of `box-open.css` and `box-open-markup.html` in light and dark, +for `hov`, `loop`, `once`, the forced grounds and `mono`, and fails on a hole inside the cube, more than one +orange face while shut, a shut frame that differs from a reference box drawn from the geometry, or a resting +frame that differs from the static logo. `--strips ` also writes frame strips. In the app the same rules run +as unit tests (`frontend/src/components/boxOpen/boxOpen.frames.test.ts`). + ## Accessibility - The wrapper has `role="status"` and an `aria-label` (default "Loading"), with matching visually hidden text. @@ -71,7 +105,9 @@ Use the box loader everywhere something loads. Don't use a generic spinner. The generators live in the SpaceWorks app at `frontend/src/components/boxOpen/`. Its `boxOpen.sync.test.ts` keeps the copy inlined in `index.html` (the splash) in step with them. The files here are generated from that -code for SpaceWorks 0.12.0. Regenerate them after any change to the generators or the logo masters. +code for SpaceWorks 0.12.0 (Design System v2.0): `box-open.css` is `boxOpenCss()`, `boxMonoCss()` and +`boxGroundCss()`; `box-open-markup.html` is `boxOpenSvg()`. Regenerate them after any change to the generators +or the logo masters, never by hand. The React components use Lingui (`t`) for the label and Tailwind utility classes for layout. Swap those for your own i18n and CSS if you use them outside the app. diff --git a/motion/box-open/box-open-markup.html b/motion/box-open/box-open-markup.html index ca457f6..92c81e4 100644 --- a/motion/box-open/box-open-markup.html +++ b/motion/box-open/box-open-markup.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/motion/box-open/box-open.css b/motion/box-open/box-open.css index 3fb3d34..ab8ff2f 100644 --- a/motion/box-open/box-open.css +++ b/motion/box-open/box-open.css @@ -1,9 +1,11 @@ -.sw-box{position:relative;--sw-under:#354845;--sw-spark:#142C2A;--sw-seam:#142C2A} -html.dark .sw-box{--sw-under:#66625D;--sw-spark:#FFF4E8;--sw-seam:#000} +.sw-box{position:relative;--sw-under:#354845;--sw-spark:#142C2A} +html.dark .sw-box{--sw-under:#66625D;--sw-spark:#FFF4E8} .sw-box svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible} .sw-box .dk,html.dark .sw-box .lt{display:none} html.dark .sw-box .dk{display:block} -.sw-box .f{transform-origin:0 0} +.sw-box .f{transform-origin:0 0;stroke:var(--sw-ground,#FFF4E8);stroke-width:0;stroke-linejoin:round;paint-order:stroke;--sw-gap-w:0px;--sw-ramp-w:3.8px} +.sw-box .dk .f{stroke:var(--sw-ground,#000);--sw-gap-w:3.8px;--sw-ramp-w:0px} +.sw-box .f.z1{opacity:0} .sw-box .w{fill:#354845;opacity:0} html.dark .sw-box .w{fill:#FFF4E8;fill-opacity:.14} .sw-box .a,.sw-box .k,.sw-box .r,.sw-box .p{opacity:0} @@ -12,18 +14,18 @@ html.dark .sw-box .w{fill:#FFF4E8;fill-opacity:.14} @keyframes sw-box-spark{0%,66%{opacity:0;transform:scale(.3)}77%{opacity:1;transform:scale(1.15)}85%{transform:scale(1)}91%{opacity:1}100%{opacity:0;transform:scale(1)}} @keyframes sw-box-tick{0%,64%{opacity:0}74%,88%{opacity:1}100%{opacity:0}} @media (prefers-reduced-motion:reduce){.sw-box .f,.sw-box .w,.sw-box .p,.sw-box .a,.sw-box .k,.sw-box .r{animation:none!important}} -.sw-box.once .f-tl{animation:sw-box-tl 1600ms steps(1,end) both}.sw-box.once .a-tl{animation:sw-box-a-tl 1600ms linear both}.sw-box.once .f-tr{animation:sw-box-tr 1600ms steps(1,end) both}.sw-box.once .a-tr{animation:sw-box-a-tr 1600ms linear both}.sw-box.once .f-bl{animation:sw-box-bl 1600ms steps(1,end) both}.sw-box.once .a-bl{animation:sw-box-a-bl 1600ms linear both}.sw-box.once .f-br{animation:sw-box-br 1600ms steps(1,end) both}.sw-box.once .a-br{animation:sw-box-a-br 1600ms linear both}.sw-box.once .w{animation:sw-box-w 1600ms linear both}.sw-box.once .p{animation:sw-box-p 1600ms linear both}.sw-box.once .k{animation:sw-box-spark 1600ms ease-out both}.sw-box.once .r{animation:sw-box-tick 1600ms linear both}@keyframes sw-box-tl{0%{transform:matrix(-0.0727,-0.761,-1.5046,-0.0673,92.77,64.21);fill:var(--c)}25%{transform:matrix(-0.0717,-0.7558,-1.5031,-0.06,92.68,63.78);fill:var(--c)}26.04%{transform:matrix(-0.0627,-0.7169,-1.4905,-0.0055,91.9,60.6);fill:var(--c)}27.08%{transform:matrix(-0.0285,-0.6083,-1.4425,0.1469,88.94,51.69);fill:var(--c)}28.13%{transform:matrix(0.0487,-0.4414,-1.3342,0.3809,82.27,38.04);fill:var(--c)}29.17%{transform:matrix(0.0895,-0.3572,-1.2771,0.4991,78.74,30.89);fill:var(--c)}30.21%{transform:matrix(0.1025,-0.3303,-1.2587,0.5368,77.61,28.56);fill:var(--c)}31.25%{transform:matrix(0.1177,-0.3009,-1.2374,0.578,76.3,26.02);fill:var(--c)}32.29%{transform:matrix(0.1844,-0.1891,-1.144,0.7348,70.53,16.35);fill:var(--c)}33.33%{transform:matrix(0.262,-0.0828,-1.0351,0.8839,63.82,7.16);fill:var(--sw-under)}34.38%{transform:matrix(0.3468,0.0132,-0.9161,1.0185,56.49,-1.14);fill:var(--sw-under)}35.42%{transform:matrix(0.435,0.0952,-0.7925,1.1335,48.86,-8.23);fill:var(--sw-under)}36.46%{transform:matrix(0.5226,0.1608,-0.6696,1.2255,41.29,-13.91);fill:var(--sw-under)}37.5%{transform:matrix(0.6062,0.2091,-0.5523,1.2932,34.06,-18.08);fill:var(--sw-under)}38.54%{transform:matrix(0.6833,0.2402,-0.4443,1.3369,27.39,-20.78);fill:var(--sw-under)}39.58%{transform:matrix(0.7519,0.2556,-0.348,1.3585,21.45,-22.1);fill:var(--c)}40.63%{transform:matrix(0.8112,0.2571,-0.2648,1.3606,16.33,-22.23);fill:var(--c)}41.67%{transform:matrix(0.8608,0.2471,-0.1953,1.3465,12.04,-21.37);fill:var(--c)}42.71%{transform:matrix(0.901,0.2281,-0.1389,1.32,8.56,-19.73);fill:var(--c)}43.75%{transform:matrix(0.9326,0.2027,-0.0946,1.2843,5.83,-17.53);fill:var(--c)}44.79%{transform:matrix(0.9565,0.173,-0.0611,1.2426,3.77,-14.96);fill:var(--c)}45.83%{transform:matrix(0.9738,0.1409,-0.0367,1.1976,2.26,-12.19);fill:var(--c)}46.88%{transform:matrix(0.9858,0.1082,-0.0199,1.1517,1.23,-9.35);fill:var(--c)}47.92%{transform:matrix(0.9934,0.076,-0.0092,1.1066,0.57,-6.57);fill:var(--c)}48.96%{transform:matrix(0.9978,0.0453,-0.0031,1.0635,0.19,-3.92);fill:var(--c)}50%{transform:matrix(0.9997,0.0168,-0.0004,1.0236,0.03,-1.46);fill:var(--c)}51.04%{transform:matrix(0.9999,-0.009,-0.0001,0.9874,0.01,0.78);fill:var(--c)}52.08%{transform:matrix(0.999,-0.0319,-0.0014,0.9553,0.08,2.76);fill:var(--c)}53.13%{transform:matrix(0.9975,-0.0517,-0.0035,0.9274,0.22,4.47);fill:var(--c)}54.17%{transform:matrix(0.9957,-0.0686,-0.0061,0.9038,0.37,5.93);fill:var(--c)}55.21%{transform:matrix(0.9938,-0.0825,-0.0086,0.8842,0.53,7.14);fill:var(--c)}56.25%{transform:matrix(0.9922,-0.0937,-0.011,0.8686,0.68,8.1);fill:var(--c)}57.29%{transform:matrix(0.9907,-0.1022,-0.013,0.8566,0.8,8.84);fill:var(--c)}58.33%{transform:matrix(0.9897,-0.1084,-0.0145,0.8479,0.89,9.38);fill:var(--c)}59.38%{transform:matrix(0.9889,-0.1124,-0.0155,0.8423,0.96,9.72);fill:var(--c)}60.42%{transform:matrix(0.9885,-0.1146,-0.0161,0.8393,0.99,9.91);fill:var(--c)}61.46%{transform:matrix(0.9884,-0.115,-0.0162,0.8387,1,9.94);fill:var(--c)}62.5%{transform:matrix(0.9886,-0.1139,-0.0159,0.8402,0.98,9.85);fill:var(--c)}63.54%{transform:matrix(0.9891,-0.1117,-0.0153,0.8434,0.95,9.66);fill:var(--c)}64.58%{transform:matrix(0.9897,-0.1084,-0.0145,0.848,0.89,9.37);fill:var(--c)}65.63%{transform:matrix(0.9904,-0.1042,-0.0135,0.8539,0.83,9.01);fill:var(--c)}66.67%{transform:matrix(0.9912,-0.0993,-0.0123,0.8607,0.76,8.59);fill:var(--c)}67.71%{transform:matrix(0.9921,-0.094,-0.0111,0.8682,0.68,8.13);fill:var(--c)}68.75%{transform:matrix(0.993,-0.0883,-0.0098,0.8762,0.61,7.63);fill:var(--c)}69.79%{transform:matrix(0.9939,-0.0823,-0.0086,0.8846,0.53,7.12);fill:var(--c)}70.83%{transform:matrix(0.9947,-0.0762,-0.0074,0.8932,0.46,6.59);fill:var(--c)}71.88%{transform:matrix(0.9955,-0.07,-0.0063,0.9018,0.39,6.05);fill:var(--c)}72.92%{transform:matrix(0.9962,-0.0639,-0.0053,0.9104,0.33,5.53);fill:var(--c)}73.96%{transform:matrix(0.9969,-0.0579,-0.0044,0.9188,0.27,5.01);fill:var(--c)}75%{transform:matrix(0.9975,-0.0521,-0.0036,0.927,0.22,4.5);fill:var(--c)}76.04%{transform:matrix(0.998,-0.0465,-0.0029,0.9349,0.18,4.02);fill:var(--c)}77.08%{transform:matrix(0.9984,-0.0411,-0.0022,0.9424,0.14,3.55);fill:var(--c)}78.13%{transform:matrix(0.9988,-0.036,-0.0017,0.9495,0.11,3.11);fill:var(--c)}79.17%{transform:matrix(0.9991,-0.0312,-0.0013,0.9562,0.08,2.7);fill:var(--c)}80.21%{transform:matrix(0.9993,-0.0268,-0.001,0.9624,0.06,2.32);fill:var(--c)}81.25%{transform:matrix(0.9995,-0.0226,-0.0007,0.9683,0.04,1.96);fill:var(--c)}82.29%{transform:matrix(0.9997,-0.0188,-0.0005,0.9736,0.03,1.63);fill:var(--c)}83.33%{transform:matrix(0.9998,-0.0153,-0.0003,0.9785,0.02,1.33);fill:var(--c)}84.38%{transform:matrix(0.9999,-0.0121,-0.0002,0.983,0.01,1.05);fill:var(--c)}85.42%{transform:matrix(0.9999,-0.0093,-0.0001,0.987,0.01,0.8);fill:var(--c)}86.46%{transform:matrix(1,-0.0067,-0.0001,0.9906,0,0.58);fill:var(--c)}87.5%{transform:matrix(1,-0.0044,0,0.9938,0,0.38);fill:var(--c)}88.54%{transform:matrix(1,-0.0024,0,0.9966,0,0.21);fill:var(--c)}89.58%{transform:matrix(1,-0.0006,0,0.9991,0,0.06);fill:var(--c)}90.63%{transform:none;fill:var(--c)}100%{transform:none;fill:var(--c)}}@keyframes sw-box-a-tl{0%{opacity:0}1.04%{opacity:0}2.08%{opacity:0}3.13%{opacity:0}4.17%{opacity:0}5.21%{opacity:0}6.25%{opacity:0}7.29%{opacity:0}8.33%{opacity:0}9.38%{opacity:0}10.42%{opacity:0}11.46%{opacity:0}12.5%{opacity:0}13.54%{opacity:0}14.58%{opacity:0}15.63%{opacity:0}16.67%{opacity:0}17.71%{opacity:0}18.75%{opacity:0}19.79%{opacity:0}20.83%{opacity:0}21.88%{opacity:0}22.92%{opacity:0}23.96%{opacity:0}25%{opacity:0}26.04%{opacity:0.229}27.08%{opacity:0.74}28.13%{opacity:0.491}29.17%{opacity:0.067}30.21%{opacity:0}31.25%{opacity:0.498}32.29%{opacity:0.503}33.33%{opacity:0.499}34.38%{opacity:0.487}35.42%{opacity:0.469}36.46%{opacity:0.446}37.5%{opacity:0.419}38.54%{opacity:0.388}39.58%{opacity:0.355}40.63%{opacity:0.32}41.67%{opacity:0.284}42.71%{opacity:0.247}43.75%{opacity:0.21}44.79%{opacity:0.173}45.83%{opacity:0.138}46.88%{opacity:0.103}47.92%{opacity:0.069}48.96%{opacity:0.037}50%{opacity:0.007}51.04%{opacity:0}52.08%{opacity:0}53.13%{opacity:0}54.17%{opacity:0}55.21%{opacity:0}56.25%{opacity:0}57.29%{opacity:0}58.33%{opacity:0}59.38%{opacity:0}60.42%{opacity:0}61.46%{opacity:0}62.5%{opacity:0}63.54%{opacity:0}64.58%{opacity:0}65.63%{opacity:0}66.67%{opacity:0}67.71%{opacity:0}68.75%{opacity:0}69.79%{opacity:0}70.83%{opacity:0}71.88%{opacity:0}72.92%{opacity:0}73.96%{opacity:0}75%{opacity:0}76.04%{opacity:0}77.08%{opacity:0}78.13%{opacity:0}79.17%{opacity:0}80.21%{opacity:0}81.25%{opacity:0}82.29%{opacity:0}83.33%{opacity:0}84.38%{opacity:0}85.42%{opacity:0}86.46%{opacity:0}87.5%{opacity:0}88.54%{opacity:0}89.58%{opacity:0}90.63%{opacity:0}91.67%{opacity:0}92.71%{opacity:0}93.75%{opacity:0}94.79%{opacity:0}95.83%{opacity:0}96.88%{opacity:0}97.92%{opacity:0}98.96%{opacity:0}100%{opacity:0}}@keyframes sw-box-tr{0%{transform:matrix(-0.0727,0.761,1.5046,-0.0673,52.36,-38.74);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}7.29%{transform:matrix(-0.0727,0.7609,1.5045,-0.0672,52.36,-38.74);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}8.33%{transform:matrix(-0.0722,0.7585,1.5039,-0.0639,52.34,-38.61);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}9.38%{transform:matrix(-0.0699,0.7472,1.5005,-0.048,52.22,-38.01);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}10.42%{transform:matrix(-0.0635,0.72,1.4916,-0.0098,51.91,-36.56);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}11.46%{transform:matrix(-0.0494,0.6695,1.4718,0.0609,51.22,-33.87);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}12.5%{transform:matrix(-0.0211,0.5889,1.4321,0.174,49.84,-29.57);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}13.54%{transform:matrix(0.0262,0.4839,1.3658,0.3213,47.53,-23.96);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}14.58%{transform:matrix(0.0665,0.409,1.3093,0.4263,45.57,-19.96);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}15.63%{transform:matrix(0.0862,0.3641,1.2816,0.4893,44.6,-17.77);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}16.67%{transform:matrix(0.0978,0.3399,1.2654,0.5233,44.04,-16.59);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}17.71%{transform:matrix(0.1027,0.33,1.2585,0.5372,43.8,-16.11);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}18.75%{transform:matrix(0.1037,0.3279,1.2571,0.54,43.75,-16.01);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}19.79%{transform:matrix(0.1461,0.2502,1.1976,0.649,41.68,-12.21);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}20.83%{transform:matrix(0.211,0.1502,1.1066,0.7894,38.51,-7.33);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}21.88%{transform:matrix(0.2839,0.0562,1.0043,0.9212,34.95,-2.74);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}22.92%{transform:matrix(0.3619,-0.0285,0.8949,1.0399,31.14,1.39);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}23.96%{transform:matrix(0.4421,-0.1011,0.7825,1.1418,27.23,4.93);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}25%{transform:matrix(0.5215,-0.1601,0.671,1.2246,23.35,7.82);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}26.04%{transform:matrix(0.5978,-0.2049,0.5642,1.2873,19.63,10);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}27.08%{transform:matrix(0.6687,-0.2354,0.4646,1.3302,16.17,11.49);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}28.13%{transform:matrix(0.733,-0.2527,0.3744,1.3544,13.03,12.33);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}29.17%{transform:matrix(0.7897,-0.258,0.2949,1.3619,10.26,12.59);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}30.21%{transform:matrix(0.8385,-0.2531,0.2265,1.355,7.88,12.35);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}31.25%{transform:matrix(0.8794,-0.2398,0.1692,1.3363,5.89,11.71);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}32.29%{transform:matrix(0.9127,-0.22,0.1224,1.3086,4.26,10.74);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}33.33%{transform:matrix(0.9392,-0.1956,0.0853,1.2743,2.97,9.55);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}34.38%{transform:matrix(0.9596,-0.168,0.0567,1.2357,1.97,8.2);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}35.42%{transform:matrix(0.9748,-0.1388,0.0354,1.1947,1.23,6.77);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}36.46%{transform:matrix(0.9855,-0.1091,0.0203,1.1529,0.71,5.32);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}37.5%{transform:matrix(0.9927,-0.0798,0.0102,1.1119,0.36,3.89);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}38.54%{transform:matrix(0.9971,-0.0516,0.0041,1.0724,0.14,2.52);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}39.58%{transform:matrix(0.9993,-0.0252,0.0009,1.0354,0.03,1.23);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}40.63%{transform:matrix(1,-0.0009,0,1.0013,0,0.05);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}41.67%{transform:matrix(0.9996,0.0211,0.0006,0.9705,0.02,-1.03);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}42.71%{transform:matrix(0.9984,0.0406,0.0022,0.9431,0.08,-1.98);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}43.75%{transform:matrix(0.9969,0.0576,0.0043,0.9192,0.15,-2.81);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}44.79%{transform:matrix(0.9952,0.0721,0.0067,0.8988,0.23,-3.52);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}45.83%{transform:matrix(0.9936,0.0843,0.009,0.8818,0.31,-4.11);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}46.88%{transform:matrix(0.9921,0.0942,0.0111,0.8679,0.39,-4.6);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}47.92%{transform:matrix(0.9908,0.1019,0.0129,0.857,0.45,-4.98);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}48.96%{transform:matrix(0.9898,0.1077,0.0143,0.8489,0.5,-5.26);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}50%{transform:matrix(0.9891,0.1117,0.0154,0.8433,0.53,-5.45);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}51.04%{transform:matrix(0.9886,0.1141,0.016,0.84,0.56,-5.57);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}52.08%{transform:matrix(0.9884,0.115,0.0162,0.8387,0.56,-5.61);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}53.13%{transform:matrix(0.9885,0.1146,0.0161,0.8392,0.56,-5.6);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}54.17%{transform:matrix(0.9888,0.1132,0.0157,0.8413,0.55,-5.52);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}55.21%{transform:matrix(0.9892,0.1107,0.0151,0.8447,0.53,-5.41);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}56.25%{transform:matrix(0.9898,0.1075,0.0143,0.8492,0.5,-5.25);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}57.29%{transform:matrix(0.9905,0.1036,0.0133,0.8547,0.46,-5.06);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}58.33%{transform:matrix(0.9913,0.0992,0.0123,0.8609,0.43,-4.84);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}59.38%{transform:matrix(0.9921,0.0943,0.0111,0.8677,0.39,-4.6);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}60.42%{transform:matrix(0.9929,0.0891,0.01,0.875,0.35,-4.35);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}61.46%{transform:matrix(0.9937,0.0837,0.0089,0.8825,0.31,-4.09);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}62.5%{transform:matrix(0.9944,0.0782,0.0078,0.8903,0.27,-3.82);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}63.54%{transform:matrix(0.9952,0.0726,0.0068,0.8981,0.24,-3.55);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}64.58%{transform:matrix(0.9959,0.0671,0.0058,0.9059,0.2,-3.27);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}65.63%{transform:matrix(0.9965,0.0615,0.0049,0.9137,0.17,-3);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}66.67%{transform:matrix(0.9971,0.0561,0.0041,0.9213,0.14,-2.74);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}67.71%{transform:matrix(0.9976,0.0509,0.0034,0.9286,0.12,-2.48);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}68.75%{transform:matrix(0.998,0.0458,0.0028,0.9357,0.1,-2.24);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}69.79%{transform:matrix(0.9984,0.041,0.0022,0.9425,0.08,-2);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}70.83%{transform:matrix(0.9987,0.0364,0.0018,0.949,0.06,-1.78);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}71.88%{transform:matrix(0.999,0.032,0.0014,0.9551,0.05,-1.56);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}72.92%{transform:matrix(0.9992,0.0279,0.0011,0.9609,0.04,-1.36);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}73.96%{transform:matrix(0.9994,0.024,0.0008,0.9663,0.03,-1.17);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}75%{transform:matrix(0.9996,0.0205,0.0006,0.9713,0.02,-1);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}76.04%{transform:matrix(0.9997,0.0172,0.0004,0.9759,0.01,-0.84);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}77.08%{transform:matrix(0.9998,0.0141,0.0003,0.9802,0.01,-0.69);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}78.13%{transform:matrix(0.9999,0.0113,0.0002,0.9841,0.01,-0.55);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}79.17%{transform:matrix(0.9999,0.0088,0.0001,0.9877,0,-0.43);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}80.21%{transform:matrix(1,0.0065,0.0001,0.9909,0,-0.32);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}81.25%{transform:matrix(1,0.0044,0,0.9938,0,-0.22);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}82.29%{transform:matrix(1,0.0026,0,0.9964,0,-0.13);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}83.33%{transform:matrix(1,0.0009,0,0.9987,0,-0.05);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}84.38%{transform:none;fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}100%{transform:none;fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}}@keyframes sw-box-a-tr{0%{opacity:0}1.04%{opacity:0}2.08%{opacity:0}3.13%{opacity:0}4.17%{opacity:0}5.21%{opacity:0}6.25%{opacity:0}7.29%{opacity:0}8.33%{opacity:0}9.38%{opacity:0}10.42%{opacity:0.171}11.46%{opacity:0.421}12.5%{opacity:0.735}13.54%{opacity:0.64}14.58%{opacity:0.344}15.63%{opacity:0.112}16.67%{opacity:0}17.71%{opacity:0}18.75%{opacity:0}19.79%{opacity:0.8}20.83%{opacity:0.8}21.88%{opacity:0.8}22.92%{opacity:0.8}23.96%{opacity:0.789}25%{opacity:0.757}26.04%{opacity:0.721}27.08%{opacity:0.68}28.13%{opacity:0.636}29.17%{opacity:0.59}30.21%{opacity:0.542}31.25%{opacity:0.493}32.29%{opacity:0.443}33.33%{opacity:0.394}34.38%{opacity:0.345}35.42%{opacity:0.297}36.46%{opacity:0.25}37.5%{opacity:0.205}38.54%{opacity:0.162}39.58%{opacity:0.12}40.63%{opacity:0.081}41.67%{opacity:0.044}42.71%{opacity:0.01}43.75%{opacity:0}44.79%{opacity:0}45.83%{opacity:0}46.88%{opacity:0}47.92%{opacity:0}48.96%{opacity:0}50%{opacity:0}51.04%{opacity:0}52.08%{opacity:0}53.13%{opacity:0}54.17%{opacity:0}55.21%{opacity:0}56.25%{opacity:0}57.29%{opacity:0}58.33%{opacity:0}59.38%{opacity:0}60.42%{opacity:0}61.46%{opacity:0}62.5%{opacity:0}63.54%{opacity:0}64.58%{opacity:0}65.63%{opacity:0}66.67%{opacity:0}67.71%{opacity:0}68.75%{opacity:0}69.79%{opacity:0}70.83%{opacity:0}71.88%{opacity:0}72.92%{opacity:0}73.96%{opacity:0}75%{opacity:0}76.04%{opacity:0}77.08%{opacity:0}78.13%{opacity:0}79.17%{opacity:0}80.21%{opacity:0}81.25%{opacity:0}82.29%{opacity:0}83.33%{opacity:0}84.38%{opacity:0}85.42%{opacity:0}86.46%{opacity:0}87.5%{opacity:0}88.54%{opacity:0}89.58%{opacity:0}90.63%{opacity:0}91.67%{opacity:0}92.71%{opacity:0}93.75%{opacity:0}94.79%{opacity:0}95.83%{opacity:0}96.88%{opacity:0}97.92%{opacity:0}98.96%{opacity:0}100%{opacity:0}}@keyframes sw-box-bl{0%{transform:matrix(-0.075,0.7551,1.5162,-0.065,-51.36,34.48);fill:var(--alt)}19.79%{transform:matrix(-0.0741,0.758,1.515,-0.0691,-51.32,34.63);fill:var(--alt)}20.83%{transform:matrix(-0.0632,0.7888,1.4996,-0.1126,-50.8,36.32);fill:var(--alt)}21.88%{transform:matrix(-0.0132,0.8633,1.4291,-0.2177,-48.41,40.54);fill:var(--alt)}22.92%{transform:matrix(0.07,0.9135,1.3117,-0.2885,-44.44,43.65);fill:var(--alt)}23.96%{transform:matrix(0.0976,0.9339,1.2728,-0.3172,-43.12,44.62);fill:var(--alt)}25%{transform:matrix(0.1018,0.9364,1.2668,-0.3207,-42.91,44.74);fill:var(--alt)}26.04%{transform:matrix(0.1766,0.96,1.1614,-0.354,-39.34,45.87);fill:var(--alt)}27.08%{transform:matrix(0.2721,0.9547,1.0266,-0.3465,-34.78,45.61);fill:var(--alt)}28.13%{transform:matrix(0.3827,0.9166,0.8707,-0.2929,-29.5,43.8);fill:var(--c)}29.17%{transform:matrix(0.5001,0.8473,0.705,-0.1951,-23.88,40.49);fill:var(--c)}30.21%{transform:matrix(0.6156,0.7524,0.5422,-0.0612,-18.37,35.95);fill:var(--c)}31.25%{transform:matrix(0.721,0.6404,0.3934,0.0968,-13.33,30.6);fill:var(--c)}32.29%{transform:matrix(0.8109,0.5207,0.2667,0.2656,-9.03,24.88);fill:var(--c)}33.33%{transform:matrix(0.8822,0.402,0.1661,0.433,-5.63,19.21);fill:var(--c)}34.38%{transform:matrix(0.9345,0.291,0.0924,0.5896,-3.13,13.9);fill:var(--c)}35.42%{transform:matrix(0.9694,0.1921,0.0432,0.729,-1.46,9.18);fill:var(--c)}36.46%{transform:matrix(0.9896,0.1077,0.0146,0.8481,-0.5,5.14);fill:var(--c)}37.5%{transform:matrix(0.9986,0.038,0.002,0.9464,-0.07,1.81);fill:var(--c)}38.54%{transform:matrix(0.9997,-0.0178,0.0005,1.0251,-0.02,-0.85);fill:var(--c)}39.58%{transform:matrix(0.9958,-0.0612,0.0059,1.0863,-0.2,-2.92);fill:var(--c)}40.63%{transform:matrix(0.9894,-0.094,0.015,1.1327,-0.51,-4.49);fill:var(--c)}41.67%{transform:matrix(0.9823,-0.1183,0.025,1.1668,-0.85,-5.65);fill:var(--c)}42.71%{transform:matrix(0.9757,-0.1355,0.0343,1.1911,-1.16,-6.47);fill:var(--c)}43.75%{transform:matrix(0.9704,-0.147,0.0418,1.2074,-1.41,-7.03);fill:var(--c)}44.79%{transform:matrix(0.9668,-0.1541,0.0468,1.2173,-1.59,-7.36);fill:var(--c)}45.83%{transform:matrix(0.965,-0.1574,0.0494,1.222,-1.67,-7.52);fill:var(--c)}46.88%{transform:matrix(0.9649,-0.1576,0.0496,1.2223,-1.68,-7.53);fill:var(--c)}47.92%{transform:matrix(0.9662,-0.1553,0.0477,1.219,-1.62,-7.42);fill:var(--c)}48.96%{transform:matrix(0.9686,-0.1507,0.0443,1.2125,-1.5,-7.2);fill:var(--c)}50%{transform:matrix(0.9718,-0.1442,0.0398,1.2034,-1.35,-6.89);fill:var(--c)}51.04%{transform:matrix(0.9754,-0.136,0.0347,1.1919,-1.17,-6.5);fill:var(--c)}52.08%{transform:matrix(0.9793,-0.1266,0.0293,1.1785,-0.99,-6.05);fill:var(--c)}53.13%{transform:matrix(0.983,-0.116,0.0239,1.1636,-0.81,-5.54);fill:var(--c)}54.17%{transform:matrix(0.9865,-0.1046,0.019,1.1476,-0.64,-5);fill:var(--c)}55.21%{transform:matrix(0.9897,-0.0927,0.0145,1.1308,-0.49,-4.43);fill:var(--c)}56.25%{transform:matrix(0.9924,-0.0806,0.0107,1.1137,-0.36,-3.85);fill:var(--c)}57.29%{transform:matrix(0.9946,-0.0685,0.0076,1.0966,-0.26,-3.27);fill:var(--c)}58.33%{transform:matrix(0.9964,-0.0567,0.0051,1.0799,-0.17,-2.71);fill:var(--c)}59.38%{transform:matrix(0.9978,-0.0453,0.0032,1.0639,-0.11,-2.16);fill:var(--c)}60.42%{transform:matrix(0.9987,-0.0346,0.0018,1.0488,-0.06,-1.65);fill:var(--c)}61.46%{transform:matrix(0.9994,-0.0247,0.0009,1.0348,-0.03,-1.18);fill:var(--c)}62.5%{transform:matrix(0.9997,-0.0157,0.0004,1.0222,-0.01,-0.75);fill:var(--c)}63.54%{transform:matrix(0.9999,-0.0077,0.0001,1.0109,0,-0.37);fill:var(--c)}64.58%{transform:matrix(1,-0.0008,0,1.0011,0,-0.04);fill:var(--c)}65.63%{transform:matrix(1,0.0051,0,0.9928,0,0.25);fill:var(--c)}66.67%{transform:matrix(0.9999,0.01,0.0001,0.9859,0,0.48);fill:var(--c)}67.71%{transform:matrix(0.9998,0.0138,0.0003,0.9805,-0.01,0.66);fill:var(--c)}68.75%{transform:matrix(0.9997,0.0167,0.0004,0.9764,-0.01,0.8);fill:var(--c)}69.79%{transform:matrix(0.9997,0.0187,0.0005,0.9736,-0.02,0.9);fill:var(--c)}70.83%{transform:matrix(0.9996,0.0199,0.0006,0.9719,-0.02,0.95);fill:var(--c)}71.88%{transform:matrix(0.9996,0.0204,0.0006,0.9712,-0.02,0.97);fill:var(--c)}72.92%{transform:matrix(0.9996,0.0202,0.0006,0.9715,-0.02,0.97);fill:var(--c)}73.96%{transform:matrix(0.9996,0.0195,0.0005,0.9726,-0.02,0.93);fill:var(--c)}75%{transform:matrix(0.9997,0.0182,0.0005,0.9743,-0.02,0.87);fill:var(--c)}76.04%{transform:matrix(0.9997,0.0166,0.0004,0.9766,-0.01,0.79);fill:var(--c)}77.08%{transform:matrix(0.9998,0.0146,0.0003,0.9794,-0.01,0.7);fill:var(--c)}78.13%{transform:matrix(0.9998,0.0124,0.0002,0.9825,-0.01,0.59);fill:var(--c)}79.17%{transform:matrix(0.9999,0.0099,0.0001,0.986,0,0.48);fill:var(--c)}80.21%{transform:matrix(0.9999,0.0074,0.0001,0.9896,0,0.35);fill:var(--c)}81.25%{transform:matrix(1,0.0047,0,0.9934,0,0.22);fill:var(--c)}82.29%{transform:matrix(1,0.0019,0,0.9973,0,0.09);fill:var(--c)}83.33%{transform:none;fill:var(--c)}100%{transform:none;fill:var(--c)}}@keyframes sw-box-a-bl{0%{opacity:0}1.04%{opacity:0}2.08%{opacity:0}3.13%{opacity:0}4.17%{opacity:0}5.21%{opacity:0}6.25%{opacity:0}7.29%{opacity:0}8.33%{opacity:0}9.38%{opacity:0}10.42%{opacity:0}11.46%{opacity:0}12.5%{opacity:0}13.54%{opacity:0}14.58%{opacity:0}15.63%{opacity:0}16.67%{opacity:0}17.71%{opacity:0}18.75%{opacity:0}19.79%{opacity:0}20.83%{opacity:0.283}21.88%{opacity:0.8}22.92%{opacity:0.283}23.96%{opacity:0}25%{opacity:0.479}26.04%{opacity:0.533}27.08%{opacity:0.564}28.13%{opacity:0.574}29.17%{opacity:0.567}30.21%{opacity:0.546}31.25%{opacity:0.512}32.29%{opacity:0.469}33.33%{opacity:0.419}34.38%{opacity:0.364}35.42%{opacity:0.305}36.46%{opacity:0.246}37.5%{opacity:0.186}38.54%{opacity:0.127}39.58%{opacity:0.071}40.63%{opacity:0.018}41.67%{opacity:0}42.71%{opacity:0}43.75%{opacity:0}44.79%{opacity:0}45.83%{opacity:0}46.88%{opacity:0}47.92%{opacity:0}48.96%{opacity:0}50%{opacity:0}51.04%{opacity:0}52.08%{opacity:0}53.13%{opacity:0}54.17%{opacity:0}55.21%{opacity:0}56.25%{opacity:0}57.29%{opacity:0}58.33%{opacity:0}59.38%{opacity:0}60.42%{opacity:0}61.46%{opacity:0}62.5%{opacity:0}63.54%{opacity:0}64.58%{opacity:0}65.63%{opacity:0}66.67%{opacity:0}67.71%{opacity:0}68.75%{opacity:0}69.79%{opacity:0}70.83%{opacity:0}71.88%{opacity:0}72.92%{opacity:0}73.96%{opacity:0}75%{opacity:0}76.04%{opacity:0}77.08%{opacity:0}78.13%{opacity:0}79.17%{opacity:0}80.21%{opacity:0}81.25%{opacity:0}82.29%{opacity:0}83.33%{opacity:0}84.38%{opacity:0}85.42%{opacity:0}86.46%{opacity:0}87.5%{opacity:0}88.54%{opacity:0}89.58%{opacity:0}90.63%{opacity:0}91.67%{opacity:0}92.71%{opacity:0}93.75%{opacity:0}94.79%{opacity:0}95.83%{opacity:0}96.88%{opacity:0}97.92%{opacity:0}98.96%{opacity:0}100%{opacity:0}}@keyframes sw-box-br{0%{transform:matrix(-0.075,-0.7551,-1.5162,-0.065,196.8,136.64);fill:var(--c)}25%{transform:matrix(-0.0739,-0.7587,-1.5147,-0.0701,196.6,137.32);fill:var(--c)}26.04%{transform:matrix(-0.0649,-0.7847,-1.502,-0.1067,194.95,142.25);fill:var(--c)}27.08%{transform:matrix(-0.0307,-0.8444,-1.4537,-0.1909,188.68,153.67);fill:var(--c)}28.13%{transform:matrix(0.0467,-0.9012,-1.3445,-0.2711,174.52,164.85);fill:var(--c)}29.17%{transform:matrix(0.0876,-0.9275,-1.2869,-0.3081,167.04,169.79);fill:var(--c)}30.21%{transform:matrix(0.1007,-0.9357,-1.2685,-0.3198,164.64,171.3);fill:var(--c)}31.25%{transform:matrix(0.118,-0.9444,-1.244,-0.3321,161.47,172.9);fill:var(--c)}32.29%{transform:matrix(0.1997,-0.9616,-1.1287,-0.3563,146.5,176.05);fill:var(--c)}33.33%{transform:matrix(0.3018,-0.9474,-0.9848,-0.3362,127.82,173.43);fill:var(--c)}34.38%{transform:matrix(0.4172,-0.8991,-0.8219,-0.2682,106.69,164.61);fill:var(--c)}35.42%{transform:matrix(0.5371,-0.8199,-0.653,-0.1564,84.75,150.09);fill:var(--c)}36.46%{transform:matrix(0.652,-0.7166,-0.4908,-0.0108,63.71,131.2);fill:var(--c)}37.5%{transform:matrix(0.7544,-0.599,-0.3463,0.1552,44.96,109.65);fill:var(--c)}38.54%{transform:matrix(0.8393,-0.4766,-0.2266,0.3277,29.42,87.26);fill:var(--c)}39.58%{transform:matrix(0.9045,-0.3581,-0.1347,0.4949,17.48,65.56);fill:var(--c)}40.63%{transform:matrix(0.9505,-0.2496,-0.0698,0.6479,9.07,45.7);fill:var(--c)}41.67%{transform:matrix(0.9795,-0.1549,-0.029,0.7815,3.76,28.36);fill:var(--c)}42.71%{transform:matrix(0.9947,-0.0754,-0.0074,0.8936,0.97,13.81);fill:var(--c)}43.75%{transform:matrix(0.9999,-0.011,-0.0002,0.9845,0.02,2.01);fill:var(--c)}44.79%{transform:matrix(0.9983,0.0397,-0.0024,1.056,0.31,-7.27);fill:var(--c)}45.83%{transform:matrix(0.9928,0.0785,-0.0101,1.1107,1.31,-14.37);fill:var(--c)}46.88%{transform:matrix(0.9858,0.1073,-0.0201,1.1514,2.61,-19.65);fill:var(--c)}47.92%{transform:matrix(0.9787,0.1281,-0.0301,1.1806,3.91,-23.45);fill:var(--c)}48.96%{transform:matrix(0.9726,0.1424,-0.0386,1.2008,5.01,-26.06);fill:var(--c)}50%{transform:matrix(0.9682,0.1515,-0.0449,1.2136,5.83,-27.73);fill:var(--c)}51.04%{transform:matrix(0.9656,0.1564,-0.0486,1.2206,6.31,-28.63);fill:var(--c)}52.08%{transform:matrix(0.9647,0.1579,-0.0497,1.2227,6.46,-28.9);fill:var(--c)}53.13%{transform:matrix(0.9655,0.1565,-0.0486,1.2207,6.31,-28.64);fill:var(--c)}54.17%{transform:matrix(0.9676,0.1526,-0.0457,1.2153,5.94,-27.94);fill:var(--c)}55.21%{transform:matrix(0.9706,0.1467,-0.0415,1.2069,5.39,-26.85);fill:var(--c)}56.25%{transform:matrix(0.9742,0.1389,-0.0364,1.196,4.73,-25.44);fill:var(--c)}57.29%{transform:matrix(0.978,0.1297,-0.031,1.1829,4.02,-23.74);fill:var(--c)}58.33%{transform:matrix(0.9819,0.1193,-0.0255,1.1682,3.31,-21.83);fill:var(--c)}59.38%{transform:matrix(0.9856,0.1079,-0.0203,1.1522,2.64,-19.75);fill:var(--c)}60.42%{transform:matrix(0.9889,0.0959,-0.0157,1.1353,2.03,-17.56);fill:var(--c)}61.46%{transform:matrix(0.9918,0.0836,-0.0116,1.1179,1.5,-15.31);fill:var(--c)}62.5%{transform:matrix(0.9942,0.0713,-0.0082,1.1005,1.07,-13.05);fill:var(--c)}63.54%{transform:matrix(0.9961,0.0591,-0.0055,1.0834,0.72,-10.83);fill:var(--c)}64.58%{transform:matrix(0.9975,0.0475,-0.0035,1.067,0.45,-8.69);fill:var(--c)}65.63%{transform:matrix(0.9986,0.0364,-0.002,1.0514,0.26,-6.67);fill:var(--c)}66.67%{transform:matrix(0.9993,0.0262,-0.001,1.037,0.13,-4.8);fill:var(--c)}67.71%{transform:matrix(0.9997,0.0169,-0.0004,1.0239,0.05,-3.1);fill:var(--c)}68.75%{transform:matrix(0.9999,0.0087,-0.0001,1.0122,0.01,-1.58);fill:var(--c)}69.79%{transform:matrix(1,0.0015,0,1.0021,0,-0.27);fill:var(--c)}70.83%{transform:matrix(1,-0.0046,0,0.9934,0,0.85);fill:var(--c)}71.88%{transform:matrix(0.9999,-0.0097,-0.0001,0.9864,0.02,1.77);fill:var(--c)}72.92%{transform:matrix(0.9998,-0.0137,-0.0003,0.9807,0.03,2.5);fill:var(--c)}73.96%{transform:matrix(0.9997,-0.0166,-0.0004,0.9765,0.05,3.05);fill:var(--c)}75%{transform:matrix(0.9997,-0.0187,-0.0005,0.9736,0.06,3.43);fill:var(--c)}76.04%{transform:matrix(0.9996,-0.0199,-0.0006,0.9719,0.07,3.65);fill:var(--c)}77.08%{transform:matrix(0.9996,-0.0204,-0.0006,0.9712,0.08,3.73);fill:var(--c)}78.13%{transform:matrix(0.9996,-0.0202,-0.0006,0.9715,0.07,3.7);fill:var(--c)}79.17%{transform:matrix(0.9996,-0.0194,-0.0005,0.9726,0.07,3.55);fill:var(--c)}80.21%{transform:matrix(0.9997,-0.0181,-0.0005,0.9744,0.06,3.32);fill:var(--c)}81.25%{transform:matrix(0.9997,-0.0164,-0.0004,0.9768,0.05,3.01);fill:var(--c)}82.29%{transform:matrix(0.9998,-0.0144,-0.0003,0.9797,0.04,2.63);fill:var(--c)}83.33%{transform:matrix(0.9999,-0.0121,-0.0002,0.9829,0.03,2.21);fill:var(--c)}84.38%{transform:matrix(0.9999,-0.0096,-0.0001,0.9865,0.02,1.76);fill:var(--c)}85.42%{transform:matrix(1,-0.0069,-0.0001,0.9902,0.01,1.27);fill:var(--c)}86.46%{transform:matrix(1,-0.0042,0,0.9941,0,0.77);fill:var(--c)}87.5%{transform:matrix(1,-0.0014,0,0.9981,0,0.25);fill:var(--c)}88.54%{transform:none;fill:var(--c)}100%{transform:none;fill:var(--c)}}@keyframes sw-box-a-br{0%{opacity:0}1.04%{opacity:0}2.08%{opacity:0}3.13%{opacity:0}4.17%{opacity:0}5.21%{opacity:0}6.25%{opacity:0}7.29%{opacity:0}8.33%{opacity:0}9.38%{opacity:0}10.42%{opacity:0}11.46%{opacity:0}12.5%{opacity:0}13.54%{opacity:0}14.58%{opacity:0}15.63%{opacity:0}16.67%{opacity:0}17.71%{opacity:0}18.75%{opacity:0}19.79%{opacity:0}20.83%{opacity:0}21.88%{opacity:0}22.92%{opacity:0}23.96%{opacity:0}25%{opacity:0}26.04%{opacity:0.229}27.08%{opacity:0.74}28.13%{opacity:0.491}29.17%{opacity:0.067}30.21%{opacity:0}31.25%{opacity:0.614}32.29%{opacity:0.671}33.33%{opacity:0.701}34.38%{opacity:0.707}35.42%{opacity:0.693}36.46%{opacity:0.663}37.5%{opacity:0.618}38.54%{opacity:0.564}39.58%{opacity:0.501}40.63%{opacity:0.434}41.67%{opacity:0.363}42.71%{opacity:0.292}43.75%{opacity:0.221}44.79%{opacity:0.152}45.83%{opacity:0.086}46.88%{opacity:0.025}47.92%{opacity:0}48.96%{opacity:0}50%{opacity:0}51.04%{opacity:0}52.08%{opacity:0}53.13%{opacity:0}54.17%{opacity:0}55.21%{opacity:0}56.25%{opacity:0}57.29%{opacity:0}58.33%{opacity:0}59.38%{opacity:0}60.42%{opacity:0}61.46%{opacity:0}62.5%{opacity:0}63.54%{opacity:0}64.58%{opacity:0}65.63%{opacity:0}66.67%{opacity:0}67.71%{opacity:0}68.75%{opacity:0}69.79%{opacity:0}70.83%{opacity:0}71.88%{opacity:0}72.92%{opacity:0}73.96%{opacity:0}75%{opacity:0}76.04%{opacity:0}77.08%{opacity:0}78.13%{opacity:0}79.17%{opacity:0}80.21%{opacity:0}81.25%{opacity:0}82.29%{opacity:0}83.33%{opacity:0}84.38%{opacity:0}85.42%{opacity:0}86.46%{opacity:0}87.5%{opacity:0}88.54%{opacity:0}89.58%{opacity:0}90.63%{opacity:0}91.67%{opacity:0}92.71%{opacity:0}93.75%{opacity:0}94.79%{opacity:0}95.83%{opacity:0}96.88%{opacity:0}97.92%{opacity:0}98.96%{opacity:0}100%{opacity:0}}@keyframes sw-box-w{0%{opacity:0}1.04%{opacity:0}2.08%{opacity:0}3.13%{opacity:0}4.17%{opacity:0}5.21%{opacity:0}6.25%{opacity:0}7.29%{opacity:0}8.33%{opacity:0}9.38%{opacity:0}10.42%{opacity:0}11.46%{opacity:0}12.5%{opacity:0}13.54%{opacity:0}14.58%{opacity:0}15.63%{opacity:0.026}16.67%{opacity:0.049}17.71%{opacity:0.058}18.75%{opacity:0.06}19.79%{opacity:0.137}20.83%{opacity:0.273}21.88%{opacity:0.493}22.92%{opacity:0.738}23.96%{opacity:0.887}25%{opacity:0.995}26.04%{opacity:1}27.08%{opacity:1}28.13%{opacity:1}29.17%{opacity:1}30.21%{opacity:1}31.25%{opacity:1}32.29%{opacity:1}33.33%{opacity:1}34.38%{opacity:1}35.42%{opacity:1}36.46%{opacity:1}37.5%{opacity:1}38.54%{opacity:1}39.58%{opacity:0.911}40.63%{opacity:0.654}41.67%{opacity:0.425}42.71%{opacity:0.225}43.75%{opacity:0.052}44.79%{opacity:0}45.83%{opacity:0}46.88%{opacity:0}47.92%{opacity:0}48.96%{opacity:0}50%{opacity:0}51.04%{opacity:0}52.08%{opacity:0}53.13%{opacity:0}54.17%{opacity:0}55.21%{opacity:0}56.25%{opacity:0}57.29%{opacity:0}58.33%{opacity:0}59.38%{opacity:0}60.42%{opacity:0}61.46%{opacity:0}62.5%{opacity:0}63.54%{opacity:0}64.58%{opacity:0}65.63%{opacity:0}66.67%{opacity:0}67.71%{opacity:0}68.75%{opacity:0}69.79%{opacity:0}70.83%{opacity:0}71.88%{opacity:0}72.92%{opacity:0}73.96%{opacity:0}75%{opacity:0}76.04%{opacity:0}77.08%{opacity:0}78.13%{opacity:0}79.17%{opacity:0}80.21%{opacity:0}81.25%{opacity:0}82.29%{opacity:0}83.33%{opacity:0}84.38%{opacity:0}85.42%{opacity:0}86.46%{opacity:0}87.5%{opacity:0}88.54%{opacity:0}89.58%{opacity:0}90.63%{opacity:0}91.67%{opacity:0}92.71%{opacity:0}93.75%{opacity:0}94.79%{opacity:0}95.83%{opacity:0}96.88%{opacity:0}97.92%{opacity:0}98.96%{opacity:0}100%{opacity:0}}@keyframes sw-box-p{0%{opacity:1}1.04%{opacity:1}2.08%{opacity:1}3.13%{opacity:1}4.17%{opacity:1}5.21%{opacity:1}6.25%{opacity:1}7.29%{opacity:1}8.33%{opacity:1}9.38%{opacity:1}10.42%{opacity:1}11.46%{opacity:1}12.5%{opacity:1}13.54%{opacity:1}14.58%{opacity:1}15.63%{opacity:1}16.67%{opacity:1}17.71%{opacity:1}18.75%{opacity:1}19.79%{opacity:1}20.83%{opacity:1}21.88%{opacity:1}22.92%{opacity:1}23.96%{opacity:1}25%{opacity:1}26.04%{opacity:1}27.08%{opacity:1}28.13%{opacity:0.169}29.17%{opacity:0}30.21%{opacity:0}31.25%{opacity:0}32.29%{opacity:0}33.33%{opacity:0}34.38%{opacity:0}35.42%{opacity:0}36.46%{opacity:0}37.5%{opacity:0}38.54%{opacity:0}39.58%{opacity:0}40.63%{opacity:0}41.67%{opacity:0}42.71%{opacity:0}43.75%{opacity:0}44.79%{opacity:0}45.83%{opacity:0}46.88%{opacity:0}47.92%{opacity:0}48.96%{opacity:0}50%{opacity:0}51.04%{opacity:0}52.08%{opacity:0}53.13%{opacity:0}54.17%{opacity:0}55.21%{opacity:0}56.25%{opacity:0}57.29%{opacity:0}58.33%{opacity:0}59.38%{opacity:0}60.42%{opacity:0}61.46%{opacity:0}62.5%{opacity:0}63.54%{opacity:0}64.58%{opacity:0}65.63%{opacity:0}66.67%{opacity:0}67.71%{opacity:0}68.75%{opacity:0}69.79%{opacity:0}70.83%{opacity:0}71.88%{opacity:0}72.92%{opacity:0}73.96%{opacity:0}75%{opacity:0}76.04%{opacity:0}77.08%{opacity:0}78.13%{opacity:0}79.17%{opacity:0}80.21%{opacity:0}81.25%{opacity:0}82.29%{opacity:0}83.33%{opacity:0}84.38%{opacity:0}85.42%{opacity:0}86.46%{opacity:0}87.5%{opacity:0}88.54%{opacity:0}89.58%{opacity:0}90.63%{opacity:0}91.67%{opacity:0}92.71%{opacity:0}93.75%{opacity:0}94.79%{opacity:0}95.83%{opacity:0}96.88%{opacity:0}97.92%{opacity:0}98.96%{opacity:0}100%{opacity:0}} -.sw-box.loop .f-tl{animation:sw-boxl-tl 4400ms steps(1,end) infinite}.sw-box.loop .f-tr{animation:sw-boxl-tr 4400ms steps(1,end) infinite}.sw-box.loop .f-bl{animation:sw-boxl-bl 4400ms steps(1,end) infinite}.sw-box.loop .f-br{animation:sw-boxl-br 4400ms steps(1,end) infinite}.sw-box.loop .w{animation:sw-boxl-w 4400ms linear infinite}.sw-box.loop .p{animation:sw-boxl-p 4400ms linear infinite}@keyframes sw-boxl-tl{0%{transform:matrix(-0.0727,-0.761,-1.5046,-0.0673,92.77,64.21);fill:var(--c)}8.75%{transform:matrix(-0.0727,-0.7608,-1.5045,-0.0671,92.77,64.19);fill:var(--c)}9.38%{transform:matrix(-0.0627,-0.7169,-1.4905,-0.0055,91.9,60.6);fill:var(--c)}10%{transform:matrix(0.0232,-0.4898,-1.37,0.313,84.47,42);fill:var(--c)}10.63%{transform:matrix(0.096,-0.3435,-1.2679,0.5182,78.18,29.71);fill:var(--c)}11.25%{transform:matrix(0.1177,-0.3009,-1.2374,0.578,76.3,26.02);fill:var(--c)}11.88%{transform:matrix(0.2351,-0.1173,-1.0728,0.8355,66.15,10.14);fill:var(--sw-under)}12.5%{transform:matrix(0.376,0.0422,-0.8751,1.0592,53.96,-3.65);fill:var(--sw-under)}13.13%{transform:matrix(0.5226,0.1608,-0.6696,1.2255,41.29,-13.91);fill:var(--sw-under)}13.75%{transform:matrix(0.6584,0.2317,-0.4791,1.325,29.54,-20.04);fill:var(--sw-under)}14.38%{transform:matrix(0.7727,0.2575,-0.3187,1.3612,19.65,-22.27);fill:var(--c)}15%{transform:matrix(0.8608,0.2471,-0.1953,1.3465,12.04,-21.37);fill:var(--c)}15.63%{transform:matrix(0.9229,0.2117,-0.1081,1.297,6.66,-18.31);fill:var(--c)}16.25%{transform:matrix(0.9629,0.1624,-0.052,1.2278,3.21,-14.05);fill:var(--c)}16.88%{transform:matrix(0.9858,0.1082,-0.0199,1.1517,1.23,-9.35);fill:var(--c)}17.5%{transform:matrix(0.9967,0.0553,-0.0047,1.0776,0.29,-4.78);fill:var(--c)}18.13%{transform:matrix(0.9999,0.0079,-0.0001,1.0111,0.01,-0.69);fill:var(--c)}18.75%{transform:matrix(0.999,-0.0319,-0.0014,0.9553,0.08,2.76);fill:var(--c)}19.38%{transform:matrix(0.9963,-0.0633,-0.0052,0.9112,0.32,5.48);fill:var(--c)}20%{transform:matrix(0.9933,-0.0866,-0.0095,0.8786,0.58,7.48);fill:var(--c)}20.63%{transform:matrix(0.9907,-0.1022,-0.013,0.8566,0.8,8.84);fill:var(--c)}21.25%{transform:matrix(0.9891,-0.1113,-0.0153,0.8439,0.94,9.63);fill:var(--c)}21.88%{transform:matrix(0.9885,-0.1149,-0.0162,0.8389,1,9.93);fill:var(--c)}22.5%{transform:matrix(0.9886,-0.1139,-0.0159,0.8402,0.98,9.85);fill:var(--c)}23.13%{transform:matrix(0.9894,-0.1096,-0.0148,0.8463,0.91,9.47);fill:var(--c)}23.75%{transform:matrix(0.9907,-0.1026,-0.0131,0.856,0.81,8.88);fill:var(--c)}24.38%{transform:matrix(0.9921,-0.094,-0.0111,0.8682,0.68,8.13);fill:var(--c)}25%{transform:matrix(0.9936,-0.0843,-0.009,0.8818,0.55,7.29);fill:var(--c)}25.63%{transform:matrix(0.995,-0.0741,-0.007,0.8961,0.43,6.41);fill:var(--c)}26.25%{transform:matrix(0.9962,-0.0639,-0.0053,0.9104,0.33,5.53);fill:var(--c)}26.88%{transform:matrix(0.9973,-0.054,-0.0038,0.9243,0.24,4.67);fill:var(--c)}27.5%{transform:matrix(0.9981,-0.0446,-0.0026,0.9374,0.16,3.86);fill:var(--c)}28.13%{transform:matrix(0.9988,-0.036,-0.0017,0.9495,0.11,3.11);fill:var(--c)}28.75%{transform:matrix(0.9992,-0.0282,-0.0011,0.9604,0.07,2.44);fill:var(--c)}29.38%{transform:matrix(0.9996,-0.0213,-0.0006,0.9701,0.04,1.84);fill:var(--c)}30%{transform:matrix(0.9998,-0.0153,-0.0003,0.9785,0.02,1.33);fill:var(--c)}30.63%{transform:matrix(0.9999,-0.0102,-0.0001,0.9857,0.01,0.88);fill:var(--c)}31.25%{transform:matrix(1,-0.0059,0,0.9917,0,0.51);fill:var(--c)}31.88%{transform:matrix(1,-0.0024,0,0.9966,0,0.21);fill:var(--c)}32.5%{transform:none;fill:var(--c)}63.13%{transform:matrix(1,0.0008,0,1.0012,0,-0.07);fill:var(--c)}63.75%{transform:matrix(1,0.0032,0,1.0044,0,-0.27);fill:var(--c)}64.38%{transform:matrix(0.9999,0.0079,-0.0001,1.011,0.01,-0.68);fill:var(--c)}65%{transform:matrix(0.9997,0.0158,-0.0004,1.0221,0.02,-1.36);fill:var(--c)}65.63%{transform:matrix(0.9992,0.0275,-0.0011,1.0386,0.07,-2.38);fill:var(--c)}66.25%{transform:matrix(0.9979,0.0438,-0.0029,1.0614,0.18,-3.79);fill:var(--c)}66.88%{transform:matrix(0.9953,0.0648,-0.0066,1.0909,0.4,-5.61);fill:var(--c)}67.5%{transform:matrix(0.9904,0.0907,-0.0135,1.1272,0.83,-7.85);fill:var(--c)}68.13%{transform:matrix(0.9817,0.121,-0.0257,1.1696,1.58,-10.46);fill:var(--c)}68.75%{transform:matrix(0.9673,0.1544,-0.0458,1.2165,2.82,-13.35);fill:var(--c)}69.38%{transform:matrix(0.9449,0.1889,-0.0773,1.2649,4.77,-16.33);fill:var(--c)}70%{transform:matrix(0.9112,0.2211,-0.1245,1.3101,7.68,-19.12);fill:var(--c)}70.63%{transform:matrix(0.863,0.2463,-0.1921,1.3455,11.85,-21.3);fill:var(--c)}71.25%{transform:matrix(0.7968,0.2579,-0.285,1.3617,17.57,-22.3);fill:var(--c)}71.88%{transform:matrix(0.7097,0.2477,-0.4072,1.3474,25.11,-21.42);fill:var(--sw-under)}72.5%{transform:matrix(0.6006,0.2063,-0.5602,1.2893,34.54,-17.84);fill:var(--sw-under)}73.13%{transform:matrix(0.4722,0.1249,-0.7403,1.1752,45.64,-10.8);fill:var(--sw-under)}73.75%{transform:matrix(0.3506,0.0171,-0.9108,1.024,56.16,-1.48);fill:var(--sw-under)}74.38%{transform:matrix(0.2503,-0.0975,-1.0515,0.8633,64.83,8.43);fill:var(--sw-under)}75%{transform:matrix(0.1718,-0.2084,-1.1616,0.7077,71.62,18.02);fill:var(--c)}75.63%{transform:matrix(0.1132,-0.3095,-1.2438,0.5659,76.69,26.77);fill:var(--c)}76.25%{transform:matrix(0.0712,-0.3978,-1.3027,0.4421,80.32,34.4);fill:var(--c)}76.88%{transform:matrix(0.0306,-0.4753,-1.3596,0.3334,83.83,40.8);fill:var(--c)}77.5%{transform:matrix(-0.0018,-0.5429,-1.4051,0.2386,86.63,46.34);fill:var(--c)}78.13%{transform:matrix(-0.0253,-0.5998,-1.438,0.1588,88.66,51);fill:var(--c)}78.75%{transform:matrix(-0.0419,-0.6461,-1.4613,0.0939,90.1,54.79);fill:var(--c)}79.38%{transform:matrix(-0.0533,-0.6826,-1.4773,0.0427,91.09,57.79);fill:var(--c)}80%{transform:matrix(-0.061,-0.7104,-1.4881,0.0037,91.75,60.06);fill:var(--c)}80.63%{transform:matrix(-0.0661,-0.7306,-1.4952,-0.0248,92.19,61.72);fill:var(--c)}81.25%{transform:matrix(-0.0693,-0.7446,-1.4997,-0.0443,92.47,62.87);fill:var(--c)}81.88%{transform:matrix(-0.0712,-0.7534,-1.5024,-0.0567,92.63,63.59);fill:var(--c)}82.5%{transform:matrix(-0.0722,-0.7583,-1.5038,-0.0636,92.72,63.99);fill:var(--c)}83.13%{transform:matrix(-0.0726,-0.7604,-1.5044,-0.0665,92.76,64.16);fill:var(--c)}83.75%{transform:matrix(-0.0727,-0.7609,-1.5045,-0.0673,92.77,64.2);fill:var(--c)}84.38%{transform:matrix(-0.0727,-0.761,-1.5046,-0.0673,92.77,64.21);fill:var(--c)}100%{transform:matrix(-0.0727,-0.761,-1.5046,-0.0673,92.77,64.21);fill:var(--c)}}@keyframes sw-boxl-tr{0%{transform:matrix(-0.0727,0.761,1.5046,-0.0673,52.36,-38.74);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}3.13%{transform:matrix(-0.0717,0.7561,1.5032,-0.0605,52.31,-38.48);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}3.75%{transform:matrix(-0.0635,0.72,1.4916,-0.0098,51.91,-36.56);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}4.38%{transform:matrix(-0.0326,0.6195,1.4483,0.1311,50.41,-31.2);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}5%{transform:matrix(0.0413,0.455,1.3446,0.3619,46.8,-22.41);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}5.63%{transform:matrix(0.0862,0.3641,1.2816,0.4893,44.6,-17.77);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}6.25%{transform:matrix(0.1016,0.3321,1.26,0.5342,43.85,-16.21);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}6.88%{transform:matrix(0.1086,0.3184,1.2503,0.5534,43.51,-15.54);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}7.5%{transform:matrix(0.211,0.1502,1.1066,0.7894,38.51,-7.33);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}8.13%{transform:matrix(0.3355,-0.0015,0.9319,1.0021,32.43,0.07);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}8.75%{transform:matrix(0.4688,-0.1223,0.745,1.1716,25.93,5.97);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}9.38%{transform:matrix(0.5978,-0.2049,0.5642,1.2873,19.63,10);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}10%{transform:matrix(0.7124,-0.2483,0.4034,1.3483,14.04,12.12);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}10.63%{transform:matrix(0.8069,-0.2574,0.2709,1.361,9.43,12.56);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}11.25%{transform:matrix(0.8794,-0.2398,0.1692,1.3363,5.89,11.71);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}11.88%{transform:matrix(0.9311,-0.2041,0.0967,1.2863,3.36,9.96);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}12.5%{transform:matrix(0.9652,-0.1584,0.0488,1.2222,1.7,7.73);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}13.13%{transform:matrix(0.9855,-0.1091,0.0203,1.1529,0.71,5.32);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}13.75%{transform:matrix(0.9959,-0.0608,0.0057,1.0853,0.2,2.97);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}14.38%{transform:matrix(0.9997,-0.0169,0.0004,1.0237,0.01,0.82);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}15%{transform:matrix(0.9996,0.0211,0.0006,0.9705,0.02,-1.03);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}15.63%{transform:matrix(0.9974,0.0522,0.0036,0.9268,0.12,-2.55);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}16.25%{transform:matrix(0.9947,0.0764,0.0075,0.8928,0.26,-3.73);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}16.88%{transform:matrix(0.9921,0.0942,0.0111,0.8679,0.39,-4.6);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}17.5%{transform:matrix(0.9901,0.106,0.0139,0.8513,0.48,-5.17);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}18.13%{transform:matrix(0.9889,0.1127,0.0156,0.842,0.54,-5.5);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}18.75%{transform:matrix(0.9884,0.115,0.0162,0.8387,0.56,-5.61);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}19.38%{transform:matrix(0.9887,0.1138,0.0159,0.8404,0.55,-5.55);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}20%{transform:matrix(0.9894,0.1097,0.0149,0.8461,0.52,-5.36);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}20.63%{transform:matrix(0.9905,0.1036,0.0133,0.8547,0.46,-5.06);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}21.25%{transform:matrix(0.9918,0.096,0.0115,0.8654,0.4,-4.68);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}21.88%{transform:matrix(0.9931,0.0874,0.0096,0.8775,0.34,-4.26);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}22.5%{transform:matrix(0.9944,0.0782,0.0078,0.8903,0.27,-3.82);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}23.13%{transform:matrix(0.9956,0.0689,0.0061,0.9033,0.21,-3.36);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}23.75%{transform:matrix(0.9967,0.0597,0.0046,0.9162,0.16,-2.92);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}24.38%{transform:matrix(0.9976,0.0509,0.0034,0.9286,0.12,-2.48);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}25%{transform:matrix(0.9983,0.0426,0.0024,0.9403,0.08,-2.08);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}25.63%{transform:matrix(0.9988,0.0349,0.0016,0.9511,0.06,-1.7);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}26.25%{transform:matrix(0.9992,0.0279,0.0011,0.9609,0.04,-1.36);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}26.88%{transform:matrix(0.9995,0.0216,0.0006,0.9697,0.02,-1.06);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}27.5%{transform:matrix(0.9997,0.0161,0.0004,0.9774,0.01,-0.79);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}28.13%{transform:matrix(0.9999,0.0113,0.0002,0.9841,0.01,-0.55);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}28.75%{transform:matrix(0.9999,0.0072,0.0001,0.9899,0,-0.35);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}29.38%{transform:matrix(1,0.0038,0,0.9947,0,-0.18);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}30%{transform:matrix(1,0.0009,0,0.9987,0,-0.05);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}30.63%{transform:none;fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}63.13%{transform:matrix(1,-0.0008,0,1.0012,0,0.04);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}63.75%{transform:matrix(1,-0.0032,0,1.0044,0,0.15);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}64.38%{transform:matrix(0.9999,-0.0079,0.0001,1.011,0,0.38);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}65%{transform:matrix(0.9997,-0.0158,0.0004,1.0221,0.01,0.77);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}65.63%{transform:matrix(0.9992,-0.0275,0.0011,1.0386,0.04,1.34);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}66.25%{transform:matrix(0.9979,-0.0438,0.0029,1.0614,0.1,2.14);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}66.88%{transform:matrix(0.9953,-0.0648,0.0066,1.0909,0.23,3.16);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}67.5%{transform:matrix(0.9904,-0.0907,0.0135,1.1272,0.47,4.43);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}68.13%{transform:matrix(0.9817,-0.121,0.0257,1.1696,0.89,5.9);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}68.75%{transform:matrix(0.9673,-0.1544,0.0458,1.2165,1.59,7.54);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}69.38%{transform:matrix(0.9449,-0.1889,0.0773,1.2649,2.69,9.22);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}70%{transform:matrix(0.9112,-0.2211,0.1245,1.3101,4.33,10.79);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}70.63%{transform:matrix(0.863,-0.2463,0.1921,1.3455,6.69,12.02);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}71.25%{transform:matrix(0.7968,-0.2579,0.285,1.3617,9.92,12.59);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}71.88%{transform:matrix(0.7097,-0.2477,0.4072,1.3474,14.17,12.09);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}72.5%{transform:matrix(0.6006,-0.2063,0.5602,1.2893,19.5,10.07);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}73.13%{transform:matrix(0.4722,-0.1249,0.7403,1.1752,25.76,6.1);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}73.75%{transform:matrix(0.3506,-0.0171,0.9108,1.024,31.7,0.83);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}74.38%{transform:matrix(0.2503,0.0975,1.0515,0.8633,36.59,-4.76);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}75%{transform:matrix(0.1718,0.2084,1.1616,0.7077,40.43,-10.17);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}75.63%{transform:matrix(0.1132,0.3095,1.2438,0.5659,43.29,-15.11);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}76.25%{transform:matrix(0.0712,0.3978,1.3027,0.4421,45.34,-19.42);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}76.88%{transform:matrix(0.0306,0.4753,1.3596,0.3334,47.32,-23.49);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}77.5%{transform:matrix(-0.0018,0.5429,1.4051,0.2386,48.9,-27.11);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}78.13%{transform:matrix(-0.0253,0.5998,1.438,0.1588,50.05,-30.14);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}78.75%{transform:matrix(-0.0419,0.6461,1.4613,0.0939,50.86,-32.61);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}79.38%{transform:matrix(-0.0533,0.6826,1.4773,0.0427,51.41,-34.56);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}80%{transform:matrix(-0.061,0.7104,1.4881,0.0037,51.79,-36.04);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}80.63%{transform:matrix(-0.0661,0.7306,1.4952,-0.0248,52.04,-37.13);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}81.25%{transform:matrix(-0.0693,0.7446,1.4997,-0.0443,52.19,-37.87);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}81.88%{transform:matrix(-0.0712,0.7534,1.5024,-0.0567,52.29,-38.34);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}82.5%{transform:matrix(-0.0722,0.7583,1.5038,-0.0636,52.34,-38.6);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}83.13%{transform:matrix(-0.0726,0.7604,1.5044,-0.0665,52.36,-38.72);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}83.75%{transform:matrix(-0.0727,0.7609,1.5045,-0.0673,52.36,-38.74);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}84.38%{transform:matrix(-0.0727,0.761,1.5046,-0.0673,52.36,-38.74);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}100%{transform:matrix(-0.0727,0.761,1.5046,-0.0673,52.36,-38.74);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}}@keyframes sw-boxl-bl{0%{transform:matrix(-0.075,0.7551,1.5162,-0.065,-51.36,34.48);fill:var(--alt)}7.5%{transform:matrix(-0.0632,0.7888,1.4996,-0.1126,-50.8,36.32);fill:var(--alt)}8.13%{transform:matrix(0.0494,0.9022,1.3408,-0.2725,-45.42,43);fill:var(--alt)}8.75%{transform:matrix(0.1006,0.9357,1.2686,-0.3197,-42.98,44.71);fill:var(--alt)}9.38%{transform:matrix(0.1766,0.96,1.1614,-0.354,-39.34,45.87);fill:var(--alt)}10%{transform:matrix(0.3446,0.933,0.9244,-0.3159,-31.31,44.58);fill:var(--alt)}10.63%{transform:matrix(0.5393,0.8181,0.6498,-0.1539,-22.01,39.09);fill:var(--c)}11.25%{transform:matrix(0.721,0.6404,0.3934,0.0968,-13.33,30.6);fill:var(--c)}11.88%{transform:matrix(0.8606,0.441,0.1966,0.378,-6.66,21.07);fill:var(--c)}12.5%{transform:matrix(0.9479,0.2565,0.0734,0.6382,-2.49,12.26);fill:var(--c)}13.13%{transform:matrix(0.9896,0.1077,0.0146,0.8481,-0.5,5.14);fill:var(--c)}13.75%{transform:matrix(1,-0.0007,0,1.0009,0,-0.03);fill:var(--c)}14.38%{transform:matrix(0.9938,-0.0732,0.0087,1.1032,-0.29,-3.5);fill:var(--c)}15%{transform:matrix(0.9823,-0.1183,0.025,1.1668,-0.85,-5.65);fill:var(--c)}15.63%{transform:matrix(0.972,-0.1437,0.0395,1.2027,-1.34,-6.87);fill:var(--c)}16.25%{transform:matrix(0.966,-0.1555,0.0479,1.2194,-1.62,-7.43);fill:var(--c)}16.88%{transform:matrix(0.9649,-0.1576,0.0496,1.2223,-1.68,-7.53);fill:var(--c)}17.5%{transform:matrix(0.9677,-0.1524,0.0456,1.215,-1.55,-7.28);fill:var(--c)}18.13%{transform:matrix(0.9729,-0.1416,0.0382,1.1998,-1.29,-6.77);fill:var(--c)}18.75%{transform:matrix(0.9793,-0.1266,0.0293,1.1785,-0.99,-6.05);fill:var(--c)}19.38%{transform:matrix(0.9854,-0.1085,0.0206,1.153,-0.7,-5.18);fill:var(--c)}20%{transform:matrix(0.9907,-0.0887,0.0132,1.1251,-0.45,-4.24);fill:var(--c)}20.63%{transform:matrix(0.9946,-0.0685,0.0076,1.0966,-0.26,-3.27);fill:var(--c)}21.25%{transform:matrix(0.9974,-0.049,0.0037,1.0692,-0.13,-2.34);fill:var(--c)}21.88%{transform:matrix(0.999,-0.0312,0.0015,1.044,-0.05,-1.49);fill:var(--c)}22.5%{transform:matrix(0.9997,-0.0157,0.0004,1.0222,-0.01,-0.75);fill:var(--c)}23.13%{transform:matrix(1,-0.003,0,1.0042,0,-0.14);fill:var(--c)}23.75%{transform:matrix(1,0.0069,0.0001,0.9903,0,0.33);fill:var(--c)}24.38%{transform:matrix(0.9998,0.0138,0.0003,0.9805,-0.01,0.66);fill:var(--c)}25%{transform:matrix(0.9997,0.0182,0.0005,0.9744,-0.02,0.87);fill:var(--c)}25.63%{transform:matrix(0.9996,0.0202,0.0006,0.9716,-0.02,0.96);fill:var(--c)}26.25%{transform:matrix(0.9996,0.0202,0.0006,0.9715,-0.02,0.97);fill:var(--c)}26.88%{transform:matrix(0.9997,0.0187,0.0005,0.9737,-0.02,0.89);fill:var(--c)}27.5%{transform:matrix(0.9997,0.016,0.0004,0.9775,-0.01,0.76);fill:var(--c)}28.13%{transform:matrix(0.9998,0.0124,0.0002,0.9825,-0.01,0.59);fill:var(--c)}28.75%{transform:matrix(0.9999,0.0082,0.0001,0.9884,0,0.39);fill:var(--c)}29.38%{transform:matrix(1,0.0037,0,0.9947,0,0.18);fill:var(--c)}30%{transform:none;fill:var(--c)}63.13%{transform:matrix(1,0.0008,0,0.9988,0,0.04);fill:var(--c)}63.75%{transform:matrix(1,0.0031,0,0.9956,0,0.15);fill:var(--c)}64.38%{transform:matrix(0.9999,0.0079,0.0001,0.9889,0,0.38);fill:var(--c)}65%{transform:matrix(0.9997,0.016,0.0004,0.9775,-0.01,0.76);fill:var(--c)}65.63%{transform:matrix(0.9992,0.0284,0.0011,0.9599,-0.04,1.36);fill:var(--c)}66.25%{transform:matrix(0.9979,0.0463,0.0029,0.9346,-0.1,2.21);fill:var(--c)}66.88%{transform:matrix(0.9953,0.0709,0.0066,0.9,-0.22,3.39);fill:var(--c)}67.5%{transform:matrix(0.9903,0.1036,0.0136,0.8539,-0.46,4.95);fill:var(--c)}68.13%{transform:matrix(0.9816,0.1458,0.0259,0.7943,-0.88,6.97);fill:var(--c)}68.75%{transform:matrix(0.9673,0.1992,0.0462,0.7191,-1.56,9.52);fill:var(--c)}69.38%{transform:matrix(0.9448,0.265,0.0779,0.6262,-2.64,12.66);fill:var(--c)}70%{transform:matrix(0.9111,0.3444,0.1255,0.5143,-4.25,16.46);fill:var(--c)}70.63%{transform:matrix(0.8627,0.4373,0.1936,0.3833,-6.56,20.89);fill:var(--c)}71.25%{transform:matrix(0.7964,0.542,0.2872,0.2355,-9.73,25.9);fill:var(--c)}71.88%{transform:matrix(0.7091,0.6545,0.4104,0.0769,-13.9,31.27);fill:var(--c)}72.5%{transform:matrix(0.5997,0.767,0.5645,-0.0818,-19.12,36.65);fill:var(--c)}73.13%{transform:matrix(0.4711,0.867,0.746,-0.2229,-25.27,41.43);fill:var(--c)}73.75%{transform:matrix(0.3493,0.9311,0.9178,-0.3133,-31.09,44.49);fill:var(--alt)}74.38%{transform:matrix(0.2487,0.9587,1.0596,-0.3522,-35.9,45.81);fill:var(--alt)}75%{transform:matrix(0.1701,0.9591,1.1706,-0.3528,-39.65,45.83);fill:var(--alt)}75.63%{transform:matrix(0.1113,0.9414,1.2534,-0.3277,-42.46,44.98);fill:var(--alt)}76.25%{transform:matrix(0.0693,0.9129,1.3127,-0.2875,-44.47,43.62);fill:var(--alt)}76.88%{transform:matrix(0.0286,0.8931,1.3701,-0.2597,-46.41,42.38);fill:var(--alt)}77.5%{transform:matrix(-0.0039,0.8716,1.4159,-0.2294,-47.97,41.04);fill:var(--alt)}78.13%{transform:matrix(-0.0274,0.8483,1.4491,-0.1964,-49.09,39.66);fill:var(--alt)}78.75%{transform:matrix(-0.044,0.8257,1.4725,-0.1645,-49.88,38.37);fill:var(--alt)}79.38%{transform:matrix(-0.0555,0.8055,1.4887,-0.1361,-50.43,37.24);fill:var(--alt)}80%{transform:matrix(-0.0632,0.7888,1.4996,-0.1125,-50.8,36.32);fill:var(--alt)}80.63%{transform:matrix(-0.0683,0.7758,1.5068,-0.0942,-51.04,35.61);fill:var(--alt)}81.25%{transform:matrix(-0.0715,0.7665,1.5113,-0.0811,-51.2,35.1);fill:var(--alt)}81.88%{transform:matrix(-0.0734,0.7604,1.514,-0.0725,-51.29,34.77);fill:var(--alt)}82.5%{transform:matrix(-0.0744,0.757,1.5154,-0.0677,-51.34,34.58);fill:var(--alt)}83.13%{transform:matrix(-0.0749,0.7555,1.516,-0.0655,-51.36,34.5);fill:var(--alt)}83.75%{transform:matrix(-0.075,0.7551,1.5162,-0.065,-51.36,34.48);fill:var(--alt)}100%{transform:matrix(-0.075,0.7551,1.5162,-0.065,-51.36,34.48);fill:var(--alt)}}@keyframes sw-boxl-br{0%{transform:matrix(-0.075,-0.7551,-1.5162,-0.065,196.8,136.64);fill:var(--c)}8.75%{transform:matrix(-0.0749,-0.7552,-1.5161,-0.0652,196.79,136.66);fill:var(--c)}9.38%{transform:matrix(-0.0649,-0.7847,-1.502,-0.1067,194.95,142.25);fill:var(--c)}10%{transform:matrix(0.0212,-0.8891,-1.3806,-0.254,179.19,162.4);fill:var(--c)}10.63%{transform:matrix(0.0941,-0.9318,-1.2777,-0.3142,165.84,170.58);fill:var(--c)}11.25%{transform:matrix(0.118,-0.9444,-1.244,-0.3321,161.47,172.9);fill:var(--c)}11.88%{transform:matrix(0.2659,-0.9559,-1.0354,-0.3482,134.39,174.99);fill:var(--c)}12.5%{transform:matrix(0.4572,-0.8759,-0.7656,-0.2354,99.38,160.35);fill:var(--c)}13.13%{transform:matrix(0.652,-0.7166,-0.4908,-0.0108,63.71,131.2);fill:var(--c)}13.75%{transform:matrix(0.8132,-0.5174,-0.2635,0.2703,34.2,94.71);fill:var(--c)}14.38%{transform:matrix(0.9219,-0.3206,-0.1102,0.5478,14.3,58.69);fill:var(--c)}15%{transform:matrix(0.9795,-0.1549,-0.029,0.7815,3.76,28.36);fill:var(--c)}15.63%{transform:matrix(0.9991,-0.0309,-0.0013,0.9565,0.17,5.65);fill:var(--c)}16.25%{transform:matrix(0.9968,0.0538,-0.0045,1.0759,0.59,-9.86);fill:var(--c)}16.88%{transform:matrix(0.9858,0.1073,-0.0201,1.1514,2.61,-19.65);fill:var(--c)}17.5%{transform:matrix(0.9745,0.1382,-0.036,1.195,4.67,-25.31);fill:var(--c)}18.13%{transform:matrix(0.9671,0.1535,-0.0464,1.2166,6.03,-28.11);fill:var(--c)}18.75%{transform:matrix(0.9647,0.1579,-0.0497,1.2227,6.46,-28.9);fill:var(--c)}19.38%{transform:matrix(0.9668,0.1541,-0.0469,1.2174,6.08,-28.22);fill:var(--c)}20%{transform:matrix(0.9717,0.1443,-0.0399,1.2035,5.18,-26.41);fill:var(--c)}20.63%{transform:matrix(0.978,0.1297,-0.031,1.1829,4.02,-23.74);fill:var(--c)}21.25%{transform:matrix(0.9844,0.1118,-0.022,1.1576,2.86,-20.46);fill:var(--c)}21.88%{transform:matrix(0.9899,0.0918,-0.0142,1.1295,1.85,-16.81);fill:var(--c)}22.5%{transform:matrix(0.9942,0.0713,-0.0082,1.1005,1.07,-13.05);fill:var(--c)}23.13%{transform:matrix(0.9971,0.0513,-0.0041,1.0724,0.53,-9.39);fill:var(--c)}23.75%{transform:matrix(0.9988,0.0329,-0.0016,1.0464,0.21,-6.03);fill:var(--c)}24.38%{transform:matrix(0.9997,0.0169,-0.0004,1.0239,0.05,-3.1);fill:var(--c)}25%{transform:matrix(1,0.0037,0,1.0053,0,-0.68);fill:var(--c)}25.63%{transform:matrix(1,-0.0064,-0.0001,0.9909,0.01,1.18);fill:var(--c)}26.25%{transform:matrix(0.9998,-0.0137,-0.0003,0.9807,0.03,2.5);fill:var(--c)}26.88%{transform:matrix(0.9997,-0.0181,-0.0005,0.9744,0.06,3.32);fill:var(--c)}27.5%{transform:matrix(0.9996,-0.0202,-0.0006,0.9716,0.07,3.69);fill:var(--c)}28.13%{transform:matrix(0.9996,-0.0202,-0.0006,0.9715,0.07,3.7);fill:var(--c)}28.75%{transform:matrix(0.9997,-0.0186,-0.0005,0.9738,0.06,3.4);fill:var(--c)}29.38%{transform:matrix(0.9998,-0.0158,-0.0004,0.9777,0.05,2.89);fill:var(--c)}30%{transform:matrix(0.9999,-0.0121,-0.0002,0.9829,0.03,2.21);fill:var(--c)}30.63%{transform:matrix(0.9999,-0.0078,-0.0001,0.9889,0.01,1.43);fill:var(--c)}31.25%{transform:matrix(1,-0.0033,0,0.9954,0,0.6);fill:var(--c)}31.88%{transform:none;fill:var(--c)}63.13%{transform:matrix(1,-0.0008,0,0.9988,0,0.15);fill:var(--c)}63.75%{transform:matrix(1,-0.0031,0,0.9956,0,0.58);fill:var(--c)}64.38%{transform:matrix(0.9999,-0.0079,-0.0001,0.9889,0.01,1.44);fill:var(--c)}65%{transform:matrix(0.9997,-0.016,-0.0004,0.9775,0.05,2.93);fill:var(--c)}65.63%{transform:matrix(0.9992,-0.0284,-0.0011,0.9599,0.15,5.21);fill:var(--c)}66.25%{transform:matrix(0.9979,-0.0463,-0.0029,0.9346,0.38,8.48);fill:var(--c)}66.88%{transform:matrix(0.9953,-0.0709,-0.0066,0.9,0.86,12.98);fill:var(--c)}67.5%{transform:matrix(0.9903,-0.1036,-0.0136,0.8539,1.77,18.96);fill:var(--c)}68.13%{transform:matrix(0.9816,-0.1458,-0.0259,0.7943,3.36,26.69);fill:var(--c)}68.75%{transform:matrix(0.9673,-0.1992,-0.0462,0.7191,5.99,36.46);fill:var(--c)}69.38%{transform:matrix(0.9448,-0.265,-0.0779,0.6262,10.11,48.52);fill:var(--c)}70%{transform:matrix(0.9111,-0.3444,-0.1255,0.5143,16.28,63.05);fill:var(--c)}70.63%{transform:matrix(0.8627,-0.4373,-0.1936,0.3833,25.13,80.05);fill:var(--c)}71.25%{transform:matrix(0.7964,-0.542,-0.2872,0.2355,37.28,99.23);fill:var(--c)}71.88%{transform:matrix(0.7091,-0.6545,-0.4104,0.0769,53.26,119.82);fill:var(--c)}72.5%{transform:matrix(0.5997,-0.767,-0.5645,-0.0818,73.28,140.42);fill:var(--c)}73.13%{transform:matrix(0.4711,-0.867,-0.746,-0.2229,96.83,158.73);fill:var(--c)}73.75%{transform:matrix(0.3493,-0.9311,-0.9178,-0.3133,119.13,170.47);fill:var(--c)}74.38%{transform:matrix(0.2487,-0.9587,-1.0596,-0.3522,137.53,175.51);fill:var(--c)}75%{transform:matrix(0.1701,-0.9591,-1.1706,-0.3528,151.94,175.59);fill:var(--c)}75.63%{transform:matrix(0.1113,-0.9414,-1.2534,-0.3277,162.69,172.33);fill:var(--c)}76.25%{transform:matrix(0.0693,-0.9129,-1.3127,-0.2875,170.39,167.12);fill:var(--c)}76.88%{transform:matrix(0.0286,-0.8931,-1.3701,-0.2597,177.83,163.21);fill:var(--c)}77.5%{transform:matrix(-0.0039,-0.8716,-1.4159,-0.2294,183.78,158.96);fill:var(--c)}78.13%{transform:matrix(-0.0274,-0.8483,-1.4491,-0.1964,188.09,154.42);fill:var(--c)}78.75%{transform:matrix(-0.044,-0.8257,-1.4725,-0.1645,191.13,150.08);fill:var(--c)}79.38%{transform:matrix(-0.0555,-0.8055,-1.4887,-0.1361,193.23,146.22);fill:var(--c)}80%{transform:matrix(-0.0632,-0.7888,-1.4996,-0.1125,194.65,143.03);fill:var(--c)}80.63%{transform:matrix(-0.0683,-0.7758,-1.5068,-0.0942,195.57,140.56);fill:var(--c)}81.25%{transform:matrix(-0.0715,-0.7665,-1.5113,-0.0811,196.16,138.79);fill:var(--c)}81.88%{transform:matrix(-0.0734,-0.7604,-1.514,-0.0725,196.51,137.64);fill:var(--c)}82.5%{transform:matrix(-0.0744,-0.757,-1.5154,-0.0677,196.7,136.99);fill:var(--c)}83.13%{transform:matrix(-0.0749,-0.7555,-1.516,-0.0655,196.78,136.71);fill:var(--c)}83.75%{transform:matrix(-0.075,-0.7551,-1.5162,-0.065,196.8,136.64);fill:var(--c)}100%{transform:matrix(-0.075,-0.7551,-1.5162,-0.065,196.8,136.64);fill:var(--c)}}@keyframes sw-boxl-w{0%{opacity:0}1.04%{opacity:0}2.08%{opacity:0}3.13%{opacity:0}4.17%{opacity:0}5.21%{opacity:0}6.25%{opacity:0.056}7.29%{opacity:0.19}8.33%{opacity:0.778}9.38%{opacity:1}10.42%{opacity:1}11.46%{opacity:1}12.5%{opacity:1}13.54%{opacity:1}14.58%{opacity:0.681}15.63%{opacity:0.107}16.67%{opacity:0}17.71%{opacity:0}18.75%{opacity:0}19.79%{opacity:0}20.83%{opacity:0}21.88%{opacity:0}22.92%{opacity:0}23.96%{opacity:0}25%{opacity:0}26.04%{opacity:0}27.08%{opacity:0}28.13%{opacity:0}29.17%{opacity:0}30.21%{opacity:0}31.25%{opacity:0}32.29%{opacity:0}33.33%{opacity:0}34.38%{opacity:0}35.42%{opacity:0}36.46%{opacity:0}37.5%{opacity:0}38.54%{opacity:0}39.58%{opacity:0}40.63%{opacity:0}41.67%{opacity:0}42.71%{opacity:0}43.75%{opacity:0}44.79%{opacity:0}45.83%{opacity:0}46.88%{opacity:0}47.92%{opacity:0}48.96%{opacity:0}50%{opacity:0}51.04%{opacity:0}52.08%{opacity:0}53.13%{opacity:0}54.17%{opacity:0}55.21%{opacity:0}56.25%{opacity:0}57.29%{opacity:0}58.33%{opacity:0}59.38%{opacity:0}60.42%{opacity:0}61.46%{opacity:0}62.5%{opacity:0}63.54%{opacity:0.01}64.58%{opacity:0.047}65.63%{opacity:0.129}66.67%{opacity:0.275}67.71%{opacity:0.503}68.75%{opacity:0.832}69.79%{opacity:1}70.83%{opacity:1}71.88%{opacity:1}72.92%{opacity:1}73.96%{opacity:1}75%{opacity:1}76.04%{opacity:1}77.08%{opacity:0.575}78.13%{opacity:0.228}79.17%{opacity:0}80.21%{opacity:0}81.25%{opacity:0}82.29%{opacity:0}83.33%{opacity:0}84.38%{opacity:0}85.42%{opacity:0}86.46%{opacity:0}87.5%{opacity:0}88.54%{opacity:0}89.58%{opacity:0}90.63%{opacity:0}91.67%{opacity:0}92.71%{opacity:0}93.75%{opacity:0}94.79%{opacity:0}95.83%{opacity:0}96.88%{opacity:0}97.92%{opacity:0}98.96%{opacity:0}100%{opacity:0}}@keyframes sw-boxl-p{0%{opacity:1}1.04%{opacity:1}2.08%{opacity:1}3.13%{opacity:1}4.17%{opacity:1}5.21%{opacity:1}6.25%{opacity:1}7.29%{opacity:1}8.33%{opacity:1}9.38%{opacity:1}10.42%{opacity:0}11.46%{opacity:0}12.5%{opacity:0}13.54%{opacity:0}14.58%{opacity:0}15.63%{opacity:0}16.67%{opacity:0}17.71%{opacity:0}18.75%{opacity:0}19.79%{opacity:0}20.83%{opacity:0}21.88%{opacity:0}22.92%{opacity:0}23.96%{opacity:0}25%{opacity:0}26.04%{opacity:0}27.08%{opacity:0}28.13%{opacity:0}29.17%{opacity:0}30.21%{opacity:0}31.25%{opacity:0}32.29%{opacity:0}33.33%{opacity:0}34.38%{opacity:0}35.42%{opacity:0}36.46%{opacity:0}37.5%{opacity:0}38.54%{opacity:0}39.58%{opacity:0}40.63%{opacity:0}41.67%{opacity:0}42.71%{opacity:0}43.75%{opacity:0}44.79%{opacity:0}45.83%{opacity:0}46.88%{opacity:0}47.92%{opacity:0}48.96%{opacity:0}50%{opacity:0}51.04%{opacity:0}52.08%{opacity:0}53.13%{opacity:0}54.17%{opacity:0}55.21%{opacity:0}56.25%{opacity:0}57.29%{opacity:0}58.33%{opacity:0}59.38%{opacity:0}60.42%{opacity:0}61.46%{opacity:0}62.5%{opacity:0}63.54%{opacity:0}64.58%{opacity:0}65.63%{opacity:0}66.67%{opacity:0}67.71%{opacity:0}68.75%{opacity:0}69.79%{opacity:0}70.83%{opacity:0}71.88%{opacity:0}72.92%{opacity:0}73.96%{opacity:0}75%{opacity:0}76.04%{opacity:0}77.08%{opacity:0.508}78.13%{opacity:1}79.17%{opacity:1}80.21%{opacity:1}81.25%{opacity:1}82.29%{opacity:1}83.33%{opacity:1}84.38%{opacity:1}85.42%{opacity:1}86.46%{opacity:1}87.5%{opacity:1}88.54%{opacity:1}89.58%{opacity:1}90.63%{opacity:1}91.67%{opacity:1}92.71%{opacity:1}93.75%{opacity:1}94.79%{opacity:1}95.83%{opacity:1}96.88%{opacity:1}97.92%{opacity:1}98.96%{opacity:1}100%{opacity:1}} -.sw-box.hov .f-tl{animation:sw-boxh-tl 2200ms steps(1,end) both}.sw-box.hov .a-tl{animation:sw-boxh-a-tl 2200ms linear both}.sw-box.hov .f-tr{animation:sw-boxh-tr 2200ms steps(1,end) both}.sw-box.hov .a-tr{animation:sw-boxh-a-tr 2200ms linear both}.sw-box.hov .f-bl{animation:sw-boxh-bl 2200ms steps(1,end) both}.sw-box.hov .a-bl{animation:sw-boxh-a-bl 2200ms linear both}.sw-box.hov .f-br{animation:sw-boxh-br 2200ms steps(1,end) both}.sw-box.hov .a-br{animation:sw-boxh-a-br 2200ms linear both}.sw-box.hov .w{animation:sw-boxh-w 2200ms linear both}.sw-box.hov .p{animation:sw-boxh-p 2200ms linear both}.sw-box.hov .k{animation:sw-boxh-spark 2200ms ease-out both}.sw-box.hov .r{animation:sw-boxh-tick 2200ms linear both}@keyframes sw-boxh-spark{0%,75.27%{opacity:0;transform:scale(.3)}83.27%{opacity:1;transform:scale(1.15)}89.09%{transform:scale(1)}93.45%{opacity:1}100%{opacity:0;transform:scale(1)}}@keyframes sw-boxh-tick{0%,73.82%{opacity:0}81.09%,91.27%{opacity:1}100%{opacity:0}}@keyframes sw-boxh-tl{0%{transform:none;fill:var(--c)}0.76%{transform:matrix(1,0.0001,0,1.0002,0,-0.01);fill:var(--c)}1.52%{transform:matrix(1,0.0011,0,1.0015,0,-0.09);fill:var(--c)}2.27%{transform:matrix(1,0.0036,0,1.0051,0,-0.31);fill:var(--c)}3.03%{transform:matrix(0.9999,0.0086,-0.0001,1.012,0.01,-0.74);fill:var(--c)}3.79%{transform:matrix(0.9997,0.0166,-0.0004,1.0233,0.02,-1.44);fill:var(--c)}4.55%{transform:matrix(0.9992,0.0285,-0.0012,1.0399,0.07,-2.46);fill:var(--c)}5.3%{transform:matrix(0.9979,0.0446,-0.003,1.0626,0.18,-3.86);fill:var(--c)}6.06%{transform:matrix(0.9952,0.0654,-0.0067,1.0917,0.41,-5.65);fill:var(--c)}6.82%{transform:matrix(0.9904,0.0907,-0.0135,1.1272,0.83,-7.85);fill:var(--c)}7.58%{transform:matrix(0.9819,0.1202,-0.0253,1.1686,1.56,-10.4);fill:var(--c)}8.33%{transform:matrix(0.9681,0.1528,-0.0447,1.2144,2.76,-13.22);fill:var(--c)}9.09%{transform:matrix(0.9467,0.1866,-0.0748,1.2617,4.61,-16.14);fill:var(--c)}9.85%{transform:matrix(0.9148,0.2185,-0.1195,1.3064,7.37,-18.89);fill:var(--c)}10.61%{transform:matrix(0.8692,0.2441,-0.1834,1.3423,11.31,-21.11);fill:var(--c)}11.36%{transform:matrix(0.8068,0.2574,-0.271,1.361,16.71,-22.26);fill:var(--c)}12.12%{transform:matrix(0.7247,0.2511,-0.3862,1.3521,23.81,-21.71);fill:var(--sw-under)}12.88%{transform:matrix(0.6215,0.2163,-0.5308,1.3034,32.73,-18.71);fill:var(--sw-under)}13.64%{transform:matrix(0.4987,0.1445,-0.7031,1.2026,43.35,-12.49);fill:var(--sw-under)}14.39%{transform:matrix(0.3759,0.0421,-0.8753,1.059,53.97,-3.64);fill:var(--sw-under)}15.15%{transform:matrix(0.2728,-0.0695,-1.0199,0.9025,62.89,6.01);fill:var(--sw-under)}15.91%{transform:matrix(0.1907,-0.1796,-1.1351,0.7481,69.99,15.53);fill:var(--sw-under)}16.67%{transform:matrix(0.1282,-0.2816,-1.2227,0.6051,75.39,24.35);fill:var(--c)}17.42%{transform:matrix(0.0827,-0.3718,-1.2866,0.4786,79.33,32.15);fill:var(--c)}18.18%{transform:matrix(0.0438,-0.4504,-1.3411,0.3683,82.69,38.77);fill:var(--c)}18.94%{transform:matrix(0.0086,-0.5201,-1.3905,0.2706,85.74,44.47);fill:var(--c)}19.7%{transform:matrix(-0.0173,-0.5795,-1.4268,0.1872,87.98,49.34);fill:var(--c)}20.45%{transform:matrix(-0.0359,-0.6288,-1.4529,0.1181,89.59,53.37);fill:var(--c)}21.21%{transform:matrix(-0.049,-0.6683,-1.4713,0.0627,90.72,56.61);fill:var(--c)}21.97%{transform:matrix(-0.058,-0.699,-1.4838,0.0196,91.49,59.13);fill:var(--c)}22.73%{transform:matrix(-0.064,-0.7221,-1.4923,-0.0127,92.01,61.02);fill:var(--c)}23.48%{transform:matrix(-0.0679,-0.7385,-1.4978,-0.0358,92.35,62.37);fill:var(--c)}24.24%{transform:matrix(-0.0703,-0.7495,-1.5012,-0.0512,92.56,63.27);fill:var(--c)}25%{transform:matrix(-0.0717,-0.7561,-1.5032,-0.0605,92.68,63.81);fill:var(--c)}25.76%{transform:matrix(-0.0724,-0.7595,-1.5041,-0.0653,92.74,64.09);fill:var(--c)}26.52%{transform:matrix(-0.0727,-0.7608,-1.5045,-0.067,92.76,64.19);fill:var(--c)}27.27%{transform:matrix(-0.0727,-0.761,-1.5046,-0.0673,92.77,64.21);fill:var(--c)}45.45%{transform:matrix(-0.0717,-0.7558,-1.5031,-0.06,92.68,63.78);fill:var(--c)}46.21%{transform:matrix(-0.0627,-0.7169,-1.4905,-0.0055,91.9,60.6);fill:var(--c)}46.97%{transform:matrix(-0.0285,-0.6083,-1.4425,0.1469,88.94,51.69);fill:var(--c)}47.73%{transform:matrix(0.0487,-0.4414,-1.3342,0.3809,82.27,38.04);fill:var(--c)}48.48%{transform:matrix(0.0895,-0.3572,-1.2771,0.4991,78.74,30.89);fill:var(--c)}49.24%{transform:matrix(0.1025,-0.3303,-1.2587,0.5368,77.61,28.56);fill:var(--c)}50%{transform:matrix(0.1177,-0.3009,-1.2374,0.578,76.3,26.02);fill:var(--c)}50.76%{transform:matrix(0.1844,-0.1891,-1.144,0.7348,70.53,16.35);fill:var(--c)}51.52%{transform:matrix(0.262,-0.0828,-1.0351,0.8839,63.82,7.16);fill:var(--sw-under)}52.27%{transform:matrix(0.3468,0.0132,-0.9161,1.0185,56.49,-1.14);fill:var(--sw-under)}53.03%{transform:matrix(0.435,0.0952,-0.7925,1.1335,48.86,-8.23);fill:var(--sw-under)}53.79%{transform:matrix(0.5226,0.1608,-0.6696,1.2255,41.29,-13.91);fill:var(--sw-under)}54.55%{transform:matrix(0.6062,0.2091,-0.5523,1.2932,34.06,-18.08);fill:var(--sw-under)}55.3%{transform:matrix(0.6833,0.2402,-0.4443,1.3369,27.39,-20.78);fill:var(--sw-under)}56.06%{transform:matrix(0.7519,0.2556,-0.348,1.3585,21.45,-22.1);fill:var(--c)}56.82%{transform:matrix(0.8112,0.2571,-0.2648,1.3606,16.33,-22.23);fill:var(--c)}57.58%{transform:matrix(0.8608,0.2471,-0.1953,1.3465,12.04,-21.37);fill:var(--c)}58.33%{transform:matrix(0.901,0.2281,-0.1389,1.32,8.56,-19.73);fill:var(--c)}59.09%{transform:matrix(0.9326,0.2027,-0.0946,1.2843,5.83,-17.53);fill:var(--c)}59.85%{transform:matrix(0.9565,0.173,-0.0611,1.2426,3.77,-14.96);fill:var(--c)}60.61%{transform:matrix(0.9738,0.1409,-0.0367,1.1976,2.26,-12.19);fill:var(--c)}61.36%{transform:matrix(0.9858,0.1082,-0.0199,1.1517,1.23,-9.35);fill:var(--c)}62.12%{transform:matrix(0.9934,0.076,-0.0092,1.1066,0.57,-6.57);fill:var(--c)}62.88%{transform:matrix(0.9978,0.0453,-0.0031,1.0635,0.19,-3.92);fill:var(--c)}63.64%{transform:matrix(0.9997,0.0168,-0.0004,1.0236,0.03,-1.46);fill:var(--c)}64.39%{transform:matrix(0.9999,-0.009,-0.0001,0.9874,0.01,0.78);fill:var(--c)}65.15%{transform:matrix(0.999,-0.0319,-0.0014,0.9553,0.08,2.76);fill:var(--c)}65.91%{transform:matrix(0.9975,-0.0517,-0.0035,0.9274,0.22,4.47);fill:var(--c)}66.67%{transform:matrix(0.9957,-0.0686,-0.0061,0.9038,0.37,5.93);fill:var(--c)}67.42%{transform:matrix(0.9938,-0.0825,-0.0086,0.8842,0.53,7.14);fill:var(--c)}68.18%{transform:matrix(0.9922,-0.0937,-0.011,0.8686,0.68,8.1);fill:var(--c)}68.94%{transform:matrix(0.9907,-0.1022,-0.013,0.8566,0.8,8.84);fill:var(--c)}69.7%{transform:matrix(0.9897,-0.1084,-0.0145,0.8479,0.89,9.38);fill:var(--c)}70.45%{transform:matrix(0.9889,-0.1124,-0.0155,0.8423,0.96,9.72);fill:var(--c)}71.21%{transform:matrix(0.9885,-0.1146,-0.0161,0.8393,0.99,9.91);fill:var(--c)}71.97%{transform:matrix(0.9884,-0.115,-0.0162,0.8387,1,9.94);fill:var(--c)}72.73%{transform:matrix(0.9886,-0.1139,-0.0159,0.8402,0.98,9.85);fill:var(--c)}73.48%{transform:matrix(0.9891,-0.1117,-0.0153,0.8434,0.95,9.66);fill:var(--c)}74.24%{transform:matrix(0.9897,-0.1084,-0.0145,0.848,0.89,9.37);fill:var(--c)}75%{transform:matrix(0.9904,-0.1042,-0.0135,0.8539,0.83,9.01);fill:var(--c)}75.76%{transform:matrix(0.9912,-0.0993,-0.0123,0.8607,0.76,8.59);fill:var(--c)}76.52%{transform:matrix(0.9921,-0.094,-0.0111,0.8682,0.68,8.13);fill:var(--c)}77.27%{transform:matrix(0.993,-0.0883,-0.0098,0.8762,0.61,7.63);fill:var(--c)}78.03%{transform:matrix(0.9939,-0.0823,-0.0086,0.8846,0.53,7.12);fill:var(--c)}78.79%{transform:matrix(0.9947,-0.0762,-0.0074,0.8932,0.46,6.59);fill:var(--c)}79.55%{transform:matrix(0.9955,-0.07,-0.0063,0.9018,0.39,6.05);fill:var(--c)}80.3%{transform:matrix(0.9962,-0.0639,-0.0053,0.9104,0.33,5.53);fill:var(--c)}81.06%{transform:matrix(0.9969,-0.0579,-0.0044,0.9188,0.27,5.01);fill:var(--c)}81.82%{transform:matrix(0.9975,-0.0521,-0.0036,0.927,0.22,4.5);fill:var(--c)}82.58%{transform:matrix(0.998,-0.0465,-0.0029,0.9349,0.18,4.02);fill:var(--c)}83.33%{transform:matrix(0.9984,-0.0411,-0.0022,0.9424,0.14,3.55);fill:var(--c)}84.09%{transform:matrix(0.9988,-0.036,-0.0017,0.9495,0.11,3.11);fill:var(--c)}84.85%{transform:matrix(0.9991,-0.0312,-0.0013,0.9562,0.08,2.7);fill:var(--c)}85.61%{transform:matrix(0.9993,-0.0268,-0.001,0.9624,0.06,2.32);fill:var(--c)}86.36%{transform:matrix(0.9995,-0.0226,-0.0007,0.9683,0.04,1.96);fill:var(--c)}87.12%{transform:matrix(0.9997,-0.0188,-0.0005,0.9736,0.03,1.63);fill:var(--c)}87.88%{transform:matrix(0.9998,-0.0153,-0.0003,0.9785,0.02,1.33);fill:var(--c)}88.64%{transform:matrix(0.9999,-0.0121,-0.0002,0.983,0.01,1.05);fill:var(--c)}89.39%{transform:matrix(0.9999,-0.0093,-0.0001,0.987,0.01,0.8);fill:var(--c)}90.15%{transform:matrix(1,-0.0067,-0.0001,0.9906,0,0.58);fill:var(--c)}90.91%{transform:matrix(1,-0.0044,0,0.9938,0,0.38);fill:var(--c)}91.67%{transform:matrix(1,-0.0024,0,0.9966,0,0.21);fill:var(--c)}92.42%{transform:matrix(1,-0.0006,0,0.9991,0,0.06);fill:var(--c)}93.18%{transform:none;fill:var(--c)}100%{transform:none;fill:var(--c)}}@keyframes sw-boxh-a-tl{0%{opacity:0}0.76%{opacity:0}1.52%{opacity:0}2.27%{opacity:0}3.03%{opacity:0}3.79%{opacity:0}4.55%{opacity:0}5.3%{opacity:0}6.06%{opacity:0}6.82%{opacity:0}7.58%{opacity:0}8.33%{opacity:0}9.09%{opacity:0}9.85%{opacity:0}10.61%{opacity:0}11.36%{opacity:0}12.12%{opacity:0}12.88%{opacity:0}13.64%{opacity:0}14.39%{opacity:0}15.15%{opacity:0}15.91%{opacity:0}16.67%{opacity:0}17.42%{opacity:0}18.18%{opacity:0}18.94%{opacity:0}19.7%{opacity:0}20.45%{opacity:0}21.21%{opacity:0}21.97%{opacity:0}22.73%{opacity:0}23.48%{opacity:0}24.24%{opacity:0}25%{opacity:0}25.76%{opacity:0}26.52%{opacity:0}27.27%{opacity:0}28.03%{opacity:0}28.79%{opacity:0}29.55%{opacity:0}30.3%{opacity:0}31.06%{opacity:0}31.82%{opacity:0}32.58%{opacity:0}33.33%{opacity:0}34.09%{opacity:0}34.85%{opacity:0}35.61%{opacity:0}36.36%{opacity:0}37.12%{opacity:0}37.88%{opacity:0}38.64%{opacity:0}39.39%{opacity:0}40.15%{opacity:0}40.91%{opacity:0}41.67%{opacity:0}42.42%{opacity:0}43.18%{opacity:0}43.94%{opacity:0}44.7%{opacity:0}45.45%{opacity:0}46.21%{opacity:0.253}46.97%{opacity:0.778}47.73%{opacity:0.475}48.48%{opacity:0.056}49.24%{opacity:0}50%{opacity:0.506}50.76%{opacity:0.51}51.52%{opacity:0.506}52.27%{opacity:0.494}53.03%{opacity:0.476}53.79%{opacity:0.452}54.55%{opacity:0.424}55.3%{opacity:0.393}56.06%{opacity:0.359}56.82%{opacity:0.324}57.58%{opacity:0.287}58.33%{opacity:0.25}59.09%{opacity:0.213}59.85%{opacity:0.176}60.61%{opacity:0.14}61.36%{opacity:0.104}62.12%{opacity:0.071}62.88%{opacity:0.038}63.64%{opacity:0.008}64.39%{opacity:0}65.15%{opacity:0}65.91%{opacity:0}66.67%{opacity:0}67.42%{opacity:0}68.18%{opacity:0}68.94%{opacity:0}69.7%{opacity:0}70.45%{opacity:0}71.21%{opacity:0}71.97%{opacity:0}72.73%{opacity:0}73.48%{opacity:0}74.24%{opacity:0}75%{opacity:0}75.76%{opacity:0}76.52%{opacity:0}77.27%{opacity:0}78.03%{opacity:0}78.79%{opacity:0}79.55%{opacity:0}80.3%{opacity:0}81.06%{opacity:0}81.82%{opacity:0}82.58%{opacity:0}83.33%{opacity:0}84.09%{opacity:0}84.85%{opacity:0}85.61%{opacity:0}86.36%{opacity:0}87.12%{opacity:0}87.88%{opacity:0}88.64%{opacity:0}89.39%{opacity:0}90.15%{opacity:0}90.91%{opacity:0}91.67%{opacity:0}92.42%{opacity:0}93.18%{opacity:0}93.94%{opacity:0}94.7%{opacity:0}95.45%{opacity:0}96.21%{opacity:0}96.97%{opacity:0}97.73%{opacity:0}98.48%{opacity:0}99.24%{opacity:0}100%{opacity:0}}@keyframes sw-boxh-tr{0%{transform:none;fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}0.76%{transform:matrix(1,-0.0001,0,1.0002,0,0.01);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}1.52%{transform:matrix(1,-0.0011,0,1.0015,0,0.05);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}2.27%{transform:matrix(1,-0.0036,0,1.0051,0,0.18);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}3.03%{transform:matrix(0.9999,-0.0086,0.0001,1.012,0,0.42);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}3.79%{transform:matrix(0.9997,-0.0166,0.0004,1.0233,0.01,0.81);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}4.55%{transform:matrix(0.9992,-0.0285,0.0012,1.0399,0.04,1.39);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}5.3%{transform:matrix(0.9979,-0.0446,0.003,1.0626,0.1,2.18);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}6.06%{transform:matrix(0.9952,-0.0654,0.0067,1.0917,0.23,3.19);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}6.82%{transform:matrix(0.9904,-0.0907,0.0135,1.1272,0.47,4.43);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}7.58%{transform:matrix(0.9819,-0.1202,0.0253,1.1686,0.88,5.87);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}8.33%{transform:matrix(0.9681,-0.1528,0.0447,1.2144,1.56,7.46);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}9.09%{transform:matrix(0.9467,-0.1866,0.0748,1.2617,2.6,9.11);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}9.85%{transform:matrix(0.9148,-0.2185,0.1195,1.3064,4.16,10.66);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}10.61%{transform:matrix(0.8692,-0.2441,0.1834,1.3423,6.38,11.91);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}11.36%{transform:matrix(0.8068,-0.2574,0.271,1.361,9.43,12.56);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}12.12%{transform:matrix(0.7247,-0.2511,0.3862,1.3521,13.44,12.25);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}12.88%{transform:matrix(0.6215,-0.2163,0.5308,1.3034,18.47,10.56);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}13.64%{transform:matrix(0.4987,-0.1445,0.7031,1.2026,24.47,7.05);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}14.39%{transform:matrix(0.3759,-0.0421,0.8753,1.059,30.46,2.05);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}15.15%{transform:matrix(0.2728,0.0695,1.0199,0.9025,35.5,-3.39);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}15.91%{transform:matrix(0.1907,0.1796,1.1351,0.7481,39.5,-8.77);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}16.67%{transform:matrix(0.1282,0.2816,1.2227,0.6051,42.55,-13.74);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}17.42%{transform:matrix(0.0827,0.3718,1.2866,0.4786,44.78,-18.15);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}18.18%{transform:matrix(0.0438,0.4504,1.3411,0.3683,46.67,-22.16);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}18.94%{transform:matrix(0.0086,0.5201,1.3905,0.2706,48.39,-25.89);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}19.7%{transform:matrix(-0.0173,0.5795,1.4268,0.1872,49.66,-29.07);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}20.45%{transform:matrix(-0.0359,0.6288,1.4529,0.1181,50.57,-31.69);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}21.21%{transform:matrix(-0.049,0.6683,1.4713,0.0627,51.2,-33.8);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}21.97%{transform:matrix(-0.058,0.699,1.4838,0.0196,51.64,-35.44);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}22.73%{transform:matrix(-0.064,0.7221,1.4923,-0.0127,51.93,-36.67);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}23.48%{transform:matrix(-0.0679,0.7385,1.4978,-0.0358,52.13,-37.54);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}24.24%{transform:matrix(-0.0703,0.7495,1.5012,-0.0512,52.25,-38.13);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}25%{transform:matrix(-0.0717,0.7561,1.5032,-0.0605,52.31,-38.49);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}25.76%{transform:matrix(-0.0724,0.7595,1.5041,-0.0653,52.35,-38.67);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}26.52%{transform:matrix(-0.0727,0.7608,1.5045,-0.067,52.36,-38.73);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}27.27%{transform:matrix(-0.0727,0.761,1.5046,-0.0673,52.36,-38.74);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}32.58%{transform:matrix(-0.0727,0.7609,1.5045,-0.0672,52.36,-38.74);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}33.33%{transform:matrix(-0.0722,0.7585,1.5039,-0.0639,52.34,-38.61);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}34.09%{transform:matrix(-0.0699,0.7472,1.5005,-0.048,52.22,-38.01);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}34.85%{transform:matrix(-0.0635,0.72,1.4916,-0.0098,51.91,-36.56);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}35.61%{transform:matrix(-0.0494,0.6695,1.4718,0.0609,51.22,-33.87);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}36.36%{transform:matrix(-0.0211,0.5889,1.4321,0.174,49.84,-29.57);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}37.12%{transform:matrix(0.0262,0.4839,1.3658,0.3213,47.53,-23.96);fill:var(--c);stroke:var(--sw-seam);stroke-width:0.45px;stroke-linejoin:round}37.88%{transform:matrix(0.0665,0.409,1.3093,0.4263,45.57,-19.96);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}38.64%{transform:matrix(0.0862,0.3641,1.2816,0.4893,44.6,-17.77);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}39.39%{transform:matrix(0.0978,0.3399,1.2654,0.5233,44.04,-16.59);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}40.15%{transform:matrix(0.1027,0.33,1.2585,0.5372,43.8,-16.11);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}40.91%{transform:matrix(0.1037,0.3279,1.2571,0.54,43.75,-16.01);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}41.67%{transform:matrix(0.1461,0.2502,1.1976,0.649,41.68,-12.21);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}42.42%{transform:matrix(0.211,0.1502,1.1066,0.7894,38.51,-7.33);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}43.18%{transform:matrix(0.2839,0.0562,1.0043,0.9212,34.95,-2.74);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}43.94%{transform:matrix(0.3619,-0.0285,0.8949,1.0399,31.14,1.39);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}44.7%{transform:matrix(0.4421,-0.1011,0.7825,1.1418,27.23,4.93);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}45.45%{transform:matrix(0.5215,-0.1601,0.671,1.2246,23.35,7.82);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}46.21%{transform:matrix(0.5978,-0.2049,0.5642,1.2873,19.63,10);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}46.97%{transform:matrix(0.6687,-0.2354,0.4646,1.3302,16.17,11.49);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}47.73%{transform:matrix(0.733,-0.2527,0.3744,1.3544,13.03,12.33);fill:var(--sw-under);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}48.48%{transform:matrix(0.7897,-0.258,0.2949,1.3619,10.26,12.59);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}49.24%{transform:matrix(0.8385,-0.2531,0.2265,1.355,7.88,12.35);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}50%{transform:matrix(0.8794,-0.2398,0.1692,1.3363,5.89,11.71);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}50.76%{transform:matrix(0.9127,-0.22,0.1224,1.3086,4.26,10.74);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}51.52%{transform:matrix(0.9392,-0.1956,0.0853,1.2743,2.97,9.55);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}52.27%{transform:matrix(0.9596,-0.168,0.0567,1.2357,1.97,8.2);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}53.03%{transform:matrix(0.9748,-0.1388,0.0354,1.1947,1.23,6.77);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}53.79%{transform:matrix(0.9855,-0.1091,0.0203,1.1529,0.71,5.32);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}54.55%{transform:matrix(0.9927,-0.0798,0.0102,1.1119,0.36,3.89);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}55.3%{transform:matrix(0.9971,-0.0516,0.0041,1.0724,0.14,2.52);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}56.06%{transform:matrix(0.9993,-0.0252,0.0009,1.0354,0.03,1.23);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}56.82%{transform:matrix(1,-0.0009,0,1.0013,0,0.05);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}57.58%{transform:matrix(0.9996,0.0211,0.0006,0.9705,0.02,-1.03);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}58.33%{transform:matrix(0.9984,0.0406,0.0022,0.9431,0.08,-1.98);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}59.09%{transform:matrix(0.9969,0.0576,0.0043,0.9192,0.15,-2.81);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}59.85%{transform:matrix(0.9952,0.0721,0.0067,0.8988,0.23,-3.52);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}60.61%{transform:matrix(0.9936,0.0843,0.009,0.8818,0.31,-4.11);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}61.36%{transform:matrix(0.9921,0.0942,0.0111,0.8679,0.39,-4.6);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}62.12%{transform:matrix(0.9908,0.1019,0.0129,0.857,0.45,-4.98);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}62.88%{transform:matrix(0.9898,0.1077,0.0143,0.8489,0.5,-5.26);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}63.64%{transform:matrix(0.9891,0.1117,0.0154,0.8433,0.53,-5.45);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}64.39%{transform:matrix(0.9886,0.1141,0.016,0.84,0.56,-5.57);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}65.15%{transform:matrix(0.9884,0.115,0.0162,0.8387,0.56,-5.61);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}65.91%{transform:matrix(0.9885,0.1146,0.0161,0.8392,0.56,-5.6);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}66.67%{transform:matrix(0.9888,0.1132,0.0157,0.8413,0.55,-5.52);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}67.42%{transform:matrix(0.9892,0.1107,0.0151,0.8447,0.53,-5.41);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}68.18%{transform:matrix(0.9898,0.1075,0.0143,0.8492,0.5,-5.25);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}68.94%{transform:matrix(0.9905,0.1036,0.0133,0.8547,0.46,-5.06);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}69.7%{transform:matrix(0.9913,0.0992,0.0123,0.8609,0.43,-4.84);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}70.45%{transform:matrix(0.9921,0.0943,0.0111,0.8677,0.39,-4.6);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}71.21%{transform:matrix(0.9929,0.0891,0.01,0.875,0.35,-4.35);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}71.97%{transform:matrix(0.9937,0.0837,0.0089,0.8825,0.31,-4.09);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}72.73%{transform:matrix(0.9944,0.0782,0.0078,0.8903,0.27,-3.82);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}73.48%{transform:matrix(0.9952,0.0726,0.0068,0.8981,0.24,-3.55);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}74.24%{transform:matrix(0.9959,0.0671,0.0058,0.9059,0.2,-3.27);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}75%{transform:matrix(0.9965,0.0615,0.0049,0.9137,0.17,-3);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}75.76%{transform:matrix(0.9971,0.0561,0.0041,0.9213,0.14,-2.74);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}76.52%{transform:matrix(0.9976,0.0509,0.0034,0.9286,0.12,-2.48);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}77.27%{transform:matrix(0.998,0.0458,0.0028,0.9357,0.1,-2.24);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}78.03%{transform:matrix(0.9984,0.041,0.0022,0.9425,0.08,-2);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}78.79%{transform:matrix(0.9987,0.0364,0.0018,0.949,0.06,-1.78);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}79.55%{transform:matrix(0.999,0.032,0.0014,0.9551,0.05,-1.56);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}80.3%{transform:matrix(0.9992,0.0279,0.0011,0.9609,0.04,-1.36);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}81.06%{transform:matrix(0.9994,0.024,0.0008,0.9663,0.03,-1.17);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}81.82%{transform:matrix(0.9996,0.0205,0.0006,0.9713,0.02,-1);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}82.58%{transform:matrix(0.9997,0.0172,0.0004,0.9759,0.01,-0.84);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}83.33%{transform:matrix(0.9998,0.0141,0.0003,0.9802,0.01,-0.69);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}84.09%{transform:matrix(0.9999,0.0113,0.0002,0.9841,0.01,-0.55);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}84.85%{transform:matrix(0.9999,0.0088,0.0001,0.9877,0,-0.43);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}85.61%{transform:matrix(1,0.0065,0.0001,0.9909,0,-0.32);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}86.36%{transform:matrix(1,0.0044,0,0.9938,0,-0.22);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}87.12%{transform:matrix(1,0.0026,0,0.9964,0,-0.13);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}87.88%{transform:matrix(1,0.0009,0,0.9987,0,-0.05);fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}88.64%{transform:none;fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}100%{transform:none;fill:var(--c);stroke:var(--sw-seam);stroke-width:0px;stroke-linejoin:round}}@keyframes sw-boxh-a-tr{0%{opacity:0}0.76%{opacity:0}1.52%{opacity:0}2.27%{opacity:0}3.03%{opacity:0}3.79%{opacity:0}4.55%{opacity:0}5.3%{opacity:0}6.06%{opacity:0}6.82%{opacity:0}7.58%{opacity:0}8.33%{opacity:0}9.09%{opacity:0}9.85%{opacity:0}10.61%{opacity:0}11.36%{opacity:0}12.12%{opacity:0}12.88%{opacity:0}13.64%{opacity:0}14.39%{opacity:0}15.15%{opacity:0}15.91%{opacity:0}16.67%{opacity:0}17.42%{opacity:0}18.18%{opacity:0}18.94%{opacity:0}19.7%{opacity:0}20.45%{opacity:0}21.21%{opacity:0}21.97%{opacity:0}22.73%{opacity:0}23.48%{opacity:0}24.24%{opacity:0}25%{opacity:0}25.76%{opacity:0}26.52%{opacity:0}27.27%{opacity:0}28.03%{opacity:0}28.79%{opacity:0}29.55%{opacity:0}30.3%{opacity:0}31.06%{opacity:0}31.82%{opacity:0}32.58%{opacity:0}33.33%{opacity:0}34.09%{opacity:0}34.85%{opacity:0.181}35.61%{opacity:0.434}36.36%{opacity:0.751}37.12%{opacity:0.626}37.88%{opacity:0.333}38.64%{opacity:0.103}39.39%{opacity:0}40.15%{opacity:0}40.91%{opacity:0.081}41.67%{opacity:0.8}42.42%{opacity:0.8}43.18%{opacity:0.8}43.94%{opacity:0.8}44.7%{opacity:0.787}45.45%{opacity:0.756}46.21%{opacity:0.719}46.97%{opacity:0.679}47.73%{opacity:0.634}48.48%{opacity:0.588}49.24%{opacity:0.54}50%{opacity:0.491}50.76%{opacity:0.441}51.52%{opacity:0.391}52.27%{opacity:0.343}53.03%{opacity:0.295}53.79%{opacity:0.248}54.55%{opacity:0.203}55.3%{opacity:0.16}56.06%{opacity:0.118}56.82%{opacity:0.079}57.58%{opacity:0.043}58.33%{opacity:0.008}59.09%{opacity:0}59.85%{opacity:0}60.61%{opacity:0}61.36%{opacity:0}62.12%{opacity:0}62.88%{opacity:0}63.64%{opacity:0}64.39%{opacity:0}65.15%{opacity:0}65.91%{opacity:0}66.67%{opacity:0}67.42%{opacity:0}68.18%{opacity:0}68.94%{opacity:0}69.7%{opacity:0}70.45%{opacity:0}71.21%{opacity:0}71.97%{opacity:0}72.73%{opacity:0}73.48%{opacity:0}74.24%{opacity:0}75%{opacity:0}75.76%{opacity:0}76.52%{opacity:0}77.27%{opacity:0}78.03%{opacity:0}78.79%{opacity:0}79.55%{opacity:0}80.3%{opacity:0}81.06%{opacity:0}81.82%{opacity:0}82.58%{opacity:0}83.33%{opacity:0}84.09%{opacity:0}84.85%{opacity:0}85.61%{opacity:0}86.36%{opacity:0}87.12%{opacity:0}87.88%{opacity:0}88.64%{opacity:0}89.39%{opacity:0}90.15%{opacity:0}90.91%{opacity:0}91.67%{opacity:0}92.42%{opacity:0}93.18%{opacity:0}93.94%{opacity:0}94.7%{opacity:0}95.45%{opacity:0}96.21%{opacity:0}96.97%{opacity:0}97.73%{opacity:0}98.48%{opacity:0}99.24%{opacity:0}100%{opacity:0}}@keyframes sw-boxh-bl{0%{transform:none;fill:var(--c)}0.76%{transform:matrix(1,0.0001,0,0.9998,0,0.01);fill:var(--c)}1.52%{transform:matrix(1,0.0011,0,0.9985,0,0.05);fill:var(--c)}2.27%{transform:matrix(1,0.0036,0,0.9949,0,0.17);fill:var(--c)}3.03%{transform:matrix(0.9999,0.0086,0.0001,0.9879,0,0.41);fill:var(--c)}3.79%{transform:matrix(0.9997,0.0169,0.0004,0.9762,-0.01,0.81);fill:var(--c)}4.55%{transform:matrix(0.9992,0.0294,0.0012,0.9585,-0.04,1.41);fill:var(--c)}5.3%{transform:matrix(0.9979,0.0473,0.003,0.9333,-0.1,2.26);fill:var(--c)}6.06%{transform:matrix(0.9952,0.0716,0.0067,0.8991,-0.23,3.42);fill:var(--c)}6.82%{transform:matrix(0.9903,0.1036,0.0136,0.8539,-0.46,4.95);fill:var(--c)}7.58%{transform:matrix(0.9819,0.1448,0.0255,0.7958,-0.87,6.92);fill:var(--c)}8.33%{transform:matrix(0.9681,0.1965,0.045,0.7228,-1.53,9.39);fill:var(--c)}9.09%{transform:matrix(0.9466,0.2602,0.0754,0.633,-2.55,12.43);fill:var(--c)}9.85%{transform:matrix(0.9146,0.3368,0.1205,0.525,-4.08,16.09);fill:var(--c)}10.61%{transform:matrix(0.8689,0.4263,0.1849,0.3987,-6.26,20.37);fill:var(--c)}11.36%{transform:matrix(0.8064,0.5275,0.2731,0.256,-9.25,25.2);fill:var(--c)}12.12%{transform:matrix(0.7241,0.6368,0.3892,0.1019,-13.18,30.42);fill:var(--c)}12.88%{transform:matrix(0.6207,0.7475,0.5349,-0.0543,-18.12,35.71);fill:var(--c)}13.64%{transform:matrix(0.4977,0.8491,0.7085,-0.1975,-24,40.57);fill:var(--c)}14.39%{transform:matrix(0.3746,0.9204,0.8821,-0.2981,-29.88,43.98);fill:var(--c)}15.15%{transform:matrix(0.2713,0.9548,1.0278,-0.3467,-34.82,45.62);fill:var(--alt)}15.91%{transform:matrix(0.189,0.9611,1.1439,-0.3556,-38.75,45.92);fill:var(--alt)}16.67%{transform:matrix(0.1264,0.9479,1.2321,-0.3369,-41.74,45.29);fill:var(--alt)}17.42%{transform:matrix(0.0808,0.9225,1.2965,-0.3011,-43.92,44.08);fill:var(--alt)}18.18%{transform:matrix(0.0418,0.8992,1.3515,-0.2683,-45.78,42.79);fill:var(--alt)}18.94%{transform:matrix(0.0065,0.8796,1.4012,-0.2407,-47.47,41.53);fill:var(--alt)}19.7%{transform:matrix(-0.0195,0.8571,1.4379,-0.2089,-48.71,40.18);fill:var(--alt)}20.45%{transform:matrix(-0.0381,0.8345,1.4642,-0.177,-49.6,38.87);fill:var(--alt)}21.21%{transform:matrix(-0.0512,0.8136,1.4826,-0.1476,-50.23,37.7);fill:var(--alt)}21.97%{transform:matrix(-0.0602,0.7958,1.4953,-0.1224,-50.66,36.7);fill:var(--alt)}22.73%{transform:matrix(-0.0662,0.7814,1.5038,-0.1021,-50.94,35.91);fill:var(--alt)}23.48%{transform:matrix(-0.0701,0.7706,1.5093,-0.0869,-51.13,35.32);fill:var(--alt)}24.24%{transform:matrix(-0.0726,0.7631,1.5128,-0.0763,-51.25,34.92);fill:var(--alt)}25%{transform:matrix(-0.074,0.7585,1.5148,-0.0698,-51.32,34.66);fill:var(--alt)}25.76%{transform:matrix(-0.0747,0.7561,1.5158,-0.0665,-51.35,34.53);fill:var(--alt)}26.52%{transform:matrix(-0.0749,0.7552,1.5161,-0.0652,-51.36,34.49);fill:var(--alt)}27.27%{transform:matrix(-0.075,0.7551,1.5162,-0.065,-51.36,34.48);fill:var(--alt)}41.67%{transform:matrix(-0.0741,0.758,1.515,-0.0691,-51.32,34.63);fill:var(--alt)}42.42%{transform:matrix(-0.0632,0.7888,1.4996,-0.1126,-50.8,36.32);fill:var(--alt)}43.18%{transform:matrix(-0.0132,0.8633,1.4291,-0.2177,-48.41,40.54);fill:var(--alt)}43.94%{transform:matrix(0.07,0.9135,1.3117,-0.2885,-44.44,43.65);fill:var(--alt)}44.7%{transform:matrix(0.0976,0.9339,1.2728,-0.3172,-43.12,44.62);fill:var(--alt)}45.45%{transform:matrix(0.1018,0.9364,1.2668,-0.3207,-42.91,44.74);fill:var(--alt)}46.21%{transform:matrix(0.1766,0.96,1.1614,-0.354,-39.34,45.87);fill:var(--alt)}46.97%{transform:matrix(0.2721,0.9547,1.0266,-0.3465,-34.78,45.61);fill:var(--alt)}47.73%{transform:matrix(0.3827,0.9166,0.8707,-0.2929,-29.5,43.8);fill:var(--c)}48.48%{transform:matrix(0.5001,0.8473,0.705,-0.1951,-23.88,40.49);fill:var(--c)}49.24%{transform:matrix(0.6156,0.7524,0.5422,-0.0612,-18.37,35.95);fill:var(--c)}50%{transform:matrix(0.721,0.6404,0.3934,0.0968,-13.33,30.6);fill:var(--c)}50.76%{transform:matrix(0.8109,0.5207,0.2667,0.2656,-9.03,24.88);fill:var(--c)}51.52%{transform:matrix(0.8822,0.402,0.1661,0.433,-5.63,19.21);fill:var(--c)}52.27%{transform:matrix(0.9345,0.291,0.0924,0.5896,-3.13,13.9);fill:var(--c)}53.03%{transform:matrix(0.9694,0.1921,0.0432,0.729,-1.46,9.18);fill:var(--c)}53.79%{transform:matrix(0.9896,0.1077,0.0146,0.8481,-0.5,5.14);fill:var(--c)}54.55%{transform:matrix(0.9986,0.038,0.002,0.9464,-0.07,1.81);fill:var(--c)}55.3%{transform:matrix(0.9997,-0.0178,0.0005,1.0251,-0.02,-0.85);fill:var(--c)}56.06%{transform:matrix(0.9958,-0.0612,0.0059,1.0863,-0.2,-2.92);fill:var(--c)}56.82%{transform:matrix(0.9894,-0.094,0.015,1.1327,-0.51,-4.49);fill:var(--c)}57.58%{transform:matrix(0.9823,-0.1183,0.025,1.1668,-0.85,-5.65);fill:var(--c)}58.33%{transform:matrix(0.9757,-0.1355,0.0343,1.1911,-1.16,-6.47);fill:var(--c)}59.09%{transform:matrix(0.9704,-0.147,0.0418,1.2074,-1.41,-7.03);fill:var(--c)}59.85%{transform:matrix(0.9668,-0.1541,0.0468,1.2173,-1.59,-7.36);fill:var(--c)}60.61%{transform:matrix(0.965,-0.1574,0.0494,1.222,-1.67,-7.52);fill:var(--c)}61.36%{transform:matrix(0.9649,-0.1576,0.0496,1.2223,-1.68,-7.53);fill:var(--c)}62.12%{transform:matrix(0.9662,-0.1553,0.0477,1.219,-1.62,-7.42);fill:var(--c)}62.88%{transform:matrix(0.9686,-0.1507,0.0443,1.2125,-1.5,-7.2);fill:var(--c)}63.64%{transform:matrix(0.9718,-0.1442,0.0398,1.2034,-1.35,-6.89);fill:var(--c)}64.39%{transform:matrix(0.9754,-0.136,0.0347,1.1919,-1.17,-6.5);fill:var(--c)}65.15%{transform:matrix(0.9793,-0.1266,0.0293,1.1785,-0.99,-6.05);fill:var(--c)}65.91%{transform:matrix(0.983,-0.116,0.0239,1.1636,-0.81,-5.54);fill:var(--c)}66.67%{transform:matrix(0.9865,-0.1046,0.019,1.1476,-0.64,-5);fill:var(--c)}67.42%{transform:matrix(0.9897,-0.0927,0.0145,1.1308,-0.49,-4.43);fill:var(--c)}68.18%{transform:matrix(0.9924,-0.0806,0.0107,1.1137,-0.36,-3.85);fill:var(--c)}68.94%{transform:matrix(0.9946,-0.0685,0.0076,1.0966,-0.26,-3.27);fill:var(--c)}69.7%{transform:matrix(0.9964,-0.0567,0.0051,1.0799,-0.17,-2.71);fill:var(--c)}70.45%{transform:matrix(0.9978,-0.0453,0.0032,1.0639,-0.11,-2.16);fill:var(--c)}71.21%{transform:matrix(0.9987,-0.0346,0.0018,1.0488,-0.06,-1.65);fill:var(--c)}71.97%{transform:matrix(0.9994,-0.0247,0.0009,1.0348,-0.03,-1.18);fill:var(--c)}72.73%{transform:matrix(0.9997,-0.0157,0.0004,1.0222,-0.01,-0.75);fill:var(--c)}73.48%{transform:matrix(0.9999,-0.0077,0.0001,1.0109,0,-0.37);fill:var(--c)}74.24%{transform:matrix(1,-0.0008,0,1.0011,0,-0.04);fill:var(--c)}75%{transform:matrix(1,0.0051,0,0.9928,0,0.25);fill:var(--c)}75.76%{transform:matrix(0.9999,0.01,0.0001,0.9859,0,0.48);fill:var(--c)}76.52%{transform:matrix(0.9998,0.0138,0.0003,0.9805,-0.01,0.66);fill:var(--c)}77.27%{transform:matrix(0.9997,0.0167,0.0004,0.9764,-0.01,0.8);fill:var(--c)}78.03%{transform:matrix(0.9997,0.0187,0.0005,0.9736,-0.02,0.9);fill:var(--c)}78.79%{transform:matrix(0.9996,0.0199,0.0006,0.9719,-0.02,0.95);fill:var(--c)}79.55%{transform:matrix(0.9996,0.0204,0.0006,0.9712,-0.02,0.97);fill:var(--c)}80.3%{transform:matrix(0.9996,0.0202,0.0006,0.9715,-0.02,0.97);fill:var(--c)}81.06%{transform:matrix(0.9996,0.0195,0.0005,0.9726,-0.02,0.93);fill:var(--c)}81.82%{transform:matrix(0.9997,0.0182,0.0005,0.9743,-0.02,0.87);fill:var(--c)}82.58%{transform:matrix(0.9997,0.0166,0.0004,0.9766,-0.01,0.79);fill:var(--c)}83.33%{transform:matrix(0.9998,0.0146,0.0003,0.9794,-0.01,0.7);fill:var(--c)}84.09%{transform:matrix(0.9998,0.0124,0.0002,0.9825,-0.01,0.59);fill:var(--c)}84.85%{transform:matrix(0.9999,0.0099,0.0001,0.986,0,0.48);fill:var(--c)}85.61%{transform:matrix(0.9999,0.0074,0.0001,0.9896,0,0.35);fill:var(--c)}86.36%{transform:matrix(1,0.0047,0,0.9934,0,0.22);fill:var(--c)}87.12%{transform:matrix(1,0.0019,0,0.9973,0,0.09);fill:var(--c)}87.88%{transform:none;fill:var(--c)}100%{transform:none;fill:var(--c)}}@keyframes sw-boxh-a-bl{0%{opacity:0}0.76%{opacity:0}1.52%{opacity:0}2.27%{opacity:0}3.03%{opacity:0}3.79%{opacity:0}4.55%{opacity:0}5.3%{opacity:0}6.06%{opacity:0}6.82%{opacity:0}7.58%{opacity:0}8.33%{opacity:0}9.09%{opacity:0}9.85%{opacity:0}10.61%{opacity:0}11.36%{opacity:0}12.12%{opacity:0}12.88%{opacity:0}13.64%{opacity:0}14.39%{opacity:0}15.15%{opacity:0}15.91%{opacity:0}16.67%{opacity:0}17.42%{opacity:0}18.18%{opacity:0}18.94%{opacity:0}19.7%{opacity:0}20.45%{opacity:0}21.21%{opacity:0}21.97%{opacity:0}22.73%{opacity:0}23.48%{opacity:0}24.24%{opacity:0}25%{opacity:0}25.76%{opacity:0}26.52%{opacity:0}27.27%{opacity:0}28.03%{opacity:0}28.79%{opacity:0}29.55%{opacity:0}30.3%{opacity:0}31.06%{opacity:0}31.82%{opacity:0}32.58%{opacity:0}33.33%{opacity:0}34.09%{opacity:0}34.85%{opacity:0}35.61%{opacity:0}36.36%{opacity:0}37.12%{opacity:0}37.88%{opacity:0}38.64%{opacity:0}39.39%{opacity:0}40.15%{opacity:0}40.91%{opacity:0}41.67%{opacity:0}42.42%{opacity:0.313}43.18%{opacity:0.8}43.94%{opacity:0.266}44.7%{opacity:0}45.45%{opacity:0.49}46.21%{opacity:0.544}46.97%{opacity:0.574}47.73%{opacity:0.584}48.48%{opacity:0.576}49.24%{opacity:0.554}50%{opacity:0.519}50.76%{opacity:0.475}51.52%{opacity:0.424}52.27%{opacity:0.368}53.03%{opacity:0.309}53.79%{opacity:0.248}54.55%{opacity:0.188}55.3%{opacity:0.129}56.06%{opacity:0.072}56.82%{opacity:0.018}57.58%{opacity:0}58.33%{opacity:0}59.09%{opacity:0}59.85%{opacity:0}60.61%{opacity:0}61.36%{opacity:0}62.12%{opacity:0}62.88%{opacity:0}63.64%{opacity:0}64.39%{opacity:0}65.15%{opacity:0}65.91%{opacity:0}66.67%{opacity:0}67.42%{opacity:0}68.18%{opacity:0}68.94%{opacity:0}69.7%{opacity:0}70.45%{opacity:0}71.21%{opacity:0}71.97%{opacity:0}72.73%{opacity:0}73.48%{opacity:0}74.24%{opacity:0}75%{opacity:0}75.76%{opacity:0}76.52%{opacity:0}77.27%{opacity:0}78.03%{opacity:0}78.79%{opacity:0}79.55%{opacity:0}80.3%{opacity:0}81.06%{opacity:0}81.82%{opacity:0}82.58%{opacity:0}83.33%{opacity:0}84.09%{opacity:0}84.85%{opacity:0}85.61%{opacity:0}86.36%{opacity:0}87.12%{opacity:0}87.88%{opacity:0}88.64%{opacity:0}89.39%{opacity:0}90.15%{opacity:0}90.91%{opacity:0}91.67%{opacity:0}92.42%{opacity:0}93.18%{opacity:0}93.94%{opacity:0}94.7%{opacity:0}95.45%{opacity:0}96.21%{opacity:0}96.97%{opacity:0}97.73%{opacity:0}98.48%{opacity:0}99.24%{opacity:0}100%{opacity:0}}@keyframes sw-boxh-br{0%{transform:none;fill:var(--c)}0.76%{transform:matrix(1,-0.0001,0,0.9998,0,0.02);fill:var(--c)}1.52%{transform:matrix(1,-0.0011,0,0.9985,0,0.2);fill:var(--c)}2.27%{transform:matrix(1,-0.0036,0,0.9949,0,0.66);fill:var(--c)}3.03%{transform:matrix(0.9999,-0.0086,-0.0001,0.9879,0.01,1.58);fill:var(--c)}3.79%{transform:matrix(0.9997,-0.0169,-0.0004,0.9762,0.05,3.09);fill:var(--c)}4.55%{transform:matrix(0.9992,-0.0294,-0.0012,0.9585,0.16,5.39);fill:var(--c)}5.3%{transform:matrix(0.9979,-0.0473,-0.003,0.9333,0.39,8.66);fill:var(--c)}6.06%{transform:matrix(0.9952,-0.0716,-0.0067,0.8991,0.87,13.1);fill:var(--c)}6.82%{transform:matrix(0.9903,-0.1036,-0.0136,0.8539,1.77,18.96);fill:var(--c)}7.58%{transform:matrix(0.9819,-0.1448,-0.0255,0.7958,3.32,26.5);fill:var(--c)}8.33%{transform:matrix(0.9681,-0.1965,-0.045,0.7228,5.85,35.98);fill:var(--c)}9.09%{transform:matrix(0.9466,-0.2602,-0.0754,0.633,9.78,47.64);fill:var(--c)}9.85%{transform:matrix(0.9146,-0.3368,-0.1205,0.525,15.64,61.65);fill:var(--c)}10.61%{transform:matrix(0.8689,-0.4263,-0.1849,0.3987,23.99,78.04);fill:var(--c)}11.36%{transform:matrix(0.8064,-0.5275,-0.2731,0.256,35.45,96.57);fill:var(--c)}12.12%{transform:matrix(0.7241,-0.6368,-0.3892,0.1019,50.51,116.57);fill:var(--c)}12.88%{transform:matrix(0.6207,-0.7475,-0.5349,-0.0543,69.43,136.84);fill:var(--c)}13.64%{transform:matrix(0.4977,-0.8491,-0.7085,-0.1975,91.96,155.44);fill:var(--c)}14.39%{transform:matrix(0.3746,-0.9204,-0.8821,-0.2981,114.49,168.49);fill:var(--c)}15.15%{transform:matrix(0.2713,-0.9548,-1.0278,-0.3467,133.41,174.8);fill:var(--c)}15.91%{transform:matrix(0.189,-0.9611,-1.1439,-0.3556,148.47,175.96);fill:var(--c)}16.67%{transform:matrix(0.1264,-0.9479,-1.2321,-0.3369,159.93,173.53);fill:var(--c)}17.42%{transform:matrix(0.0808,-0.9225,-1.2965,-0.3011,168.29,168.88);fill:var(--c)}18.18%{transform:matrix(0.0418,-0.8992,-1.3515,-0.2683,175.42,164.45);fill:var(--c)}18.94%{transform:matrix(0.0065,-0.8796,-1.4012,-0.2407,181.88,160.53);fill:var(--c)}19.7%{transform:matrix(-0.0195,-0.8571,-1.4379,-0.2089,186.63,156.14);fill:var(--c)}20.45%{transform:matrix(-0.0381,-0.8345,-1.4642,-0.177,190.05,151.77);fill:var(--c)}21.21%{transform:matrix(-0.0512,-0.8136,-1.4826,-0.1476,192.44,147.78);fill:var(--c)}21.97%{transform:matrix(-0.0602,-0.7958,-1.4953,-0.1224,194.09,144.36);fill:var(--c)}22.73%{transform:matrix(-0.0662,-0.7814,-1.5038,-0.1021,195.19,141.63);fill:var(--c)}23.48%{transform:matrix(-0.0701,-0.7706,-1.5093,-0.0869,195.91,139.58);fill:var(--c)}24.24%{transform:matrix(-0.0726,-0.7631,-1.5128,-0.0763,196.36,138.16);fill:var(--c)}25%{transform:matrix(-0.074,-0.7585,-1.5148,-0.0698,196.62,137.28);fill:var(--c)}25.76%{transform:matrix(-0.0747,-0.7561,-1.5158,-0.0665,196.74,136.83);fill:var(--c)}26.52%{transform:matrix(-0.0749,-0.7552,-1.5161,-0.0652,196.79,136.66);fill:var(--c)}27.27%{transform:matrix(-0.075,-0.7551,-1.5162,-0.065,196.8,136.64);fill:var(--c)}45.45%{transform:matrix(-0.0739,-0.7587,-1.5147,-0.0701,196.6,137.32);fill:var(--c)}46.21%{transform:matrix(-0.0649,-0.7847,-1.502,-0.1067,194.95,142.25);fill:var(--c)}46.97%{transform:matrix(-0.0307,-0.8444,-1.4537,-0.1909,188.68,153.67);fill:var(--c)}47.73%{transform:matrix(0.0467,-0.9012,-1.3445,-0.2711,174.52,164.85);fill:var(--c)}48.48%{transform:matrix(0.0876,-0.9275,-1.2869,-0.3081,167.04,169.79);fill:var(--c)}49.24%{transform:matrix(0.1007,-0.9357,-1.2685,-0.3198,164.64,171.3);fill:var(--c)}50%{transform:matrix(0.118,-0.9444,-1.244,-0.3321,161.47,172.9);fill:var(--c)}50.76%{transform:matrix(0.1997,-0.9616,-1.1287,-0.3563,146.5,176.05);fill:var(--c)}51.52%{transform:matrix(0.3018,-0.9474,-0.9848,-0.3362,127.82,173.43);fill:var(--c)}52.27%{transform:matrix(0.4172,-0.8991,-0.8219,-0.2682,106.69,164.61);fill:var(--c)}53.03%{transform:matrix(0.5371,-0.8199,-0.653,-0.1564,84.75,150.09);fill:var(--c)}53.79%{transform:matrix(0.652,-0.7166,-0.4908,-0.0108,63.71,131.2);fill:var(--c)}54.55%{transform:matrix(0.7544,-0.599,-0.3463,0.1552,44.96,109.65);fill:var(--c)}55.3%{transform:matrix(0.8393,-0.4766,-0.2266,0.3277,29.42,87.26);fill:var(--c)}56.06%{transform:matrix(0.9045,-0.3581,-0.1347,0.4949,17.48,65.56);fill:var(--c)}56.82%{transform:matrix(0.9505,-0.2496,-0.0698,0.6479,9.07,45.7);fill:var(--c)}57.58%{transform:matrix(0.9795,-0.1549,-0.029,0.7815,3.76,28.36);fill:var(--c)}58.33%{transform:matrix(0.9947,-0.0754,-0.0074,0.8936,0.97,13.81);fill:var(--c)}59.09%{transform:matrix(0.9999,-0.011,-0.0002,0.9845,0.02,2.01);fill:var(--c)}59.85%{transform:matrix(0.9983,0.0397,-0.0024,1.056,0.31,-7.27);fill:var(--c)}60.61%{transform:matrix(0.9928,0.0785,-0.0101,1.1107,1.31,-14.37);fill:var(--c)}61.36%{transform:matrix(0.9858,0.1073,-0.0201,1.1514,2.61,-19.65);fill:var(--c)}62.12%{transform:matrix(0.9787,0.1281,-0.0301,1.1806,3.91,-23.45);fill:var(--c)}62.88%{transform:matrix(0.9726,0.1424,-0.0386,1.2008,5.01,-26.06);fill:var(--c)}63.64%{transform:matrix(0.9682,0.1515,-0.0449,1.2136,5.83,-27.73);fill:var(--c)}64.39%{transform:matrix(0.9656,0.1564,-0.0486,1.2206,6.31,-28.63);fill:var(--c)}65.15%{transform:matrix(0.9647,0.1579,-0.0497,1.2227,6.46,-28.9);fill:var(--c)}65.91%{transform:matrix(0.9655,0.1565,-0.0486,1.2207,6.31,-28.64);fill:var(--c)}66.67%{transform:matrix(0.9676,0.1526,-0.0457,1.2153,5.94,-27.94);fill:var(--c)}67.42%{transform:matrix(0.9706,0.1467,-0.0415,1.2069,5.39,-26.85);fill:var(--c)}68.18%{transform:matrix(0.9742,0.1389,-0.0364,1.196,4.73,-25.44);fill:var(--c)}68.94%{transform:matrix(0.978,0.1297,-0.031,1.1829,4.02,-23.74);fill:var(--c)}69.7%{transform:matrix(0.9819,0.1193,-0.0255,1.1682,3.31,-21.83);fill:var(--c)}70.45%{transform:matrix(0.9856,0.1079,-0.0203,1.1522,2.64,-19.75);fill:var(--c)}71.21%{transform:matrix(0.9889,0.0959,-0.0157,1.1353,2.03,-17.56);fill:var(--c)}71.97%{transform:matrix(0.9918,0.0836,-0.0116,1.1179,1.5,-15.31);fill:var(--c)}72.73%{transform:matrix(0.9942,0.0713,-0.0082,1.1005,1.07,-13.05);fill:var(--c)}73.48%{transform:matrix(0.9961,0.0591,-0.0055,1.0834,0.72,-10.83);fill:var(--c)}74.24%{transform:matrix(0.9975,0.0475,-0.0035,1.067,0.45,-8.69);fill:var(--c)}75%{transform:matrix(0.9986,0.0364,-0.002,1.0514,0.26,-6.67);fill:var(--c)}75.76%{transform:matrix(0.9993,0.0262,-0.001,1.037,0.13,-4.8);fill:var(--c)}76.52%{transform:matrix(0.9997,0.0169,-0.0004,1.0239,0.05,-3.1);fill:var(--c)}77.27%{transform:matrix(0.9999,0.0087,-0.0001,1.0122,0.01,-1.58);fill:var(--c)}78.03%{transform:matrix(1,0.0015,0,1.0021,0,-0.27);fill:var(--c)}78.79%{transform:matrix(1,-0.0046,0,0.9934,0,0.85);fill:var(--c)}79.55%{transform:matrix(0.9999,-0.0097,-0.0001,0.9864,0.02,1.77);fill:var(--c)}80.3%{transform:matrix(0.9998,-0.0137,-0.0003,0.9807,0.03,2.5);fill:var(--c)}81.06%{transform:matrix(0.9997,-0.0166,-0.0004,0.9765,0.05,3.05);fill:var(--c)}81.82%{transform:matrix(0.9997,-0.0187,-0.0005,0.9736,0.06,3.43);fill:var(--c)}82.58%{transform:matrix(0.9996,-0.0199,-0.0006,0.9719,0.07,3.65);fill:var(--c)}83.33%{transform:matrix(0.9996,-0.0204,-0.0006,0.9712,0.08,3.73);fill:var(--c)}84.09%{transform:matrix(0.9996,-0.0202,-0.0006,0.9715,0.07,3.7);fill:var(--c)}84.85%{transform:matrix(0.9996,-0.0194,-0.0005,0.9726,0.07,3.55);fill:var(--c)}85.61%{transform:matrix(0.9997,-0.0181,-0.0005,0.9744,0.06,3.32);fill:var(--c)}86.36%{transform:matrix(0.9997,-0.0164,-0.0004,0.9768,0.05,3.01);fill:var(--c)}87.12%{transform:matrix(0.9998,-0.0144,-0.0003,0.9797,0.04,2.63);fill:var(--c)}87.88%{transform:matrix(0.9999,-0.0121,-0.0002,0.9829,0.03,2.21);fill:var(--c)}88.64%{transform:matrix(0.9999,-0.0096,-0.0001,0.9865,0.02,1.76);fill:var(--c)}89.39%{transform:matrix(1,-0.0069,-0.0001,0.9902,0.01,1.27);fill:var(--c)}90.15%{transform:matrix(1,-0.0042,0,0.9941,0,0.77);fill:var(--c)}90.91%{transform:matrix(1,-0.0014,0,0.9981,0,0.25);fill:var(--c)}91.67%{transform:none;fill:var(--c)}100%{transform:none;fill:var(--c)}}@keyframes sw-boxh-a-br{0%{opacity:0}0.76%{opacity:0}1.52%{opacity:0}2.27%{opacity:0}3.03%{opacity:0}3.79%{opacity:0}4.55%{opacity:0}5.3%{opacity:0}6.06%{opacity:0}6.82%{opacity:0}7.58%{opacity:0}8.33%{opacity:0}9.09%{opacity:0}9.85%{opacity:0}10.61%{opacity:0}11.36%{opacity:0}12.12%{opacity:0}12.88%{opacity:0}13.64%{opacity:0}14.39%{opacity:0}15.15%{opacity:0}15.91%{opacity:0}16.67%{opacity:0}17.42%{opacity:0}18.18%{opacity:0}18.94%{opacity:0}19.7%{opacity:0}20.45%{opacity:0}21.21%{opacity:0}21.97%{opacity:0}22.73%{opacity:0}23.48%{opacity:0}24.24%{opacity:0}25%{opacity:0}25.76%{opacity:0}26.52%{opacity:0}27.27%{opacity:0}28.03%{opacity:0}28.79%{opacity:0}29.55%{opacity:0}30.3%{opacity:0}31.06%{opacity:0}31.82%{opacity:0}32.58%{opacity:0}33.33%{opacity:0}34.09%{opacity:0}34.85%{opacity:0}35.61%{opacity:0}36.36%{opacity:0}37.12%{opacity:0}37.88%{opacity:0}38.64%{opacity:0}39.39%{opacity:0}40.15%{opacity:0}40.91%{opacity:0}41.67%{opacity:0}42.42%{opacity:0}43.18%{opacity:0}43.94%{opacity:0}44.7%{opacity:0}45.45%{opacity:0}46.21%{opacity:0.253}46.97%{opacity:0.778}47.73%{opacity:0.475}48.48%{opacity:0.056}49.24%{opacity:0}50%{opacity:0.626}50.76%{opacity:0.683}51.52%{opacity:0.712}52.27%{opacity:0.717}53.03%{opacity:0.702}53.79%{opacity:0.67}54.55%{opacity:0.625}55.3%{opacity:0.569}56.06%{opacity:0.506}56.82%{opacity:0.437}57.58%{opacity:0.366}58.33%{opacity:0.294}59.09%{opacity:0.222}59.85%{opacity:0.153}60.61%{opacity:0.087}61.36%{opacity:0.025}62.12%{opacity:0}62.88%{opacity:0}63.64%{opacity:0}64.39%{opacity:0}65.15%{opacity:0}65.91%{opacity:0}66.67%{opacity:0}67.42%{opacity:0}68.18%{opacity:0}68.94%{opacity:0}69.7%{opacity:0}70.45%{opacity:0}71.21%{opacity:0}71.97%{opacity:0}72.73%{opacity:0}73.48%{opacity:0}74.24%{opacity:0}75%{opacity:0}75.76%{opacity:0}76.52%{opacity:0}77.27%{opacity:0}78.03%{opacity:0}78.79%{opacity:0}79.55%{opacity:0}80.3%{opacity:0}81.06%{opacity:0}81.82%{opacity:0}82.58%{opacity:0}83.33%{opacity:0}84.09%{opacity:0}84.85%{opacity:0}85.61%{opacity:0}86.36%{opacity:0}87.12%{opacity:0}87.88%{opacity:0}88.64%{opacity:0}89.39%{opacity:0}90.15%{opacity:0}90.91%{opacity:0}91.67%{opacity:0}92.42%{opacity:0}93.18%{opacity:0}93.94%{opacity:0}94.7%{opacity:0}95.45%{opacity:0}96.21%{opacity:0}96.97%{opacity:0}97.73%{opacity:0}98.48%{opacity:0}99.24%{opacity:0}100%{opacity:0}}@keyframes sw-boxh-w{0%{opacity:0}0.76%{opacity:0.001}1.52%{opacity:0.005}2.27%{opacity:0.017}3.03%{opacity:0.04}3.79%{opacity:0.077}4.55%{opacity:0.133}5.3%{opacity:0.212}6.06%{opacity:0.316}6.82%{opacity:0.45}7.58%{opacity:0.617}8.33%{opacity:0.822}9.09%{opacity:1}9.85%{opacity:1}10.61%{opacity:1}11.36%{opacity:1}12.12%{opacity:1}12.88%{opacity:1}13.64%{opacity:1}14.39%{opacity:1}15.15%{opacity:1}15.91%{opacity:1}16.67%{opacity:1}17.42%{opacity:1}18.18%{opacity:0.747}18.94%{opacity:0.502}19.7%{opacity:0.297}20.45%{opacity:0.13}21.21%{opacity:0}21.97%{opacity:0}22.73%{opacity:0}23.48%{opacity:0}24.24%{opacity:0}25%{opacity:0}25.76%{opacity:0}26.52%{opacity:0}27.27%{opacity:0}28.03%{opacity:0}28.79%{opacity:0}29.55%{opacity:0}30.3%{opacity:0}31.06%{opacity:0}31.82%{opacity:0}32.58%{opacity:0}33.33%{opacity:0}34.09%{opacity:0}34.85%{opacity:0}35.61%{opacity:0}36.36%{opacity:0}37.12%{opacity:0}37.88%{opacity:0}38.64%{opacity:0.026}39.39%{opacity:0.049}40.15%{opacity:0.058}40.91%{opacity:0.06}41.67%{opacity:0.137}42.42%{opacity:0.273}43.18%{opacity:0.493}43.94%{opacity:0.738}44.7%{opacity:0.887}45.45%{opacity:0.995}46.21%{opacity:1}46.97%{opacity:1}47.73%{opacity:1}48.48%{opacity:1}49.24%{opacity:1}50%{opacity:1}50.76%{opacity:1}51.52%{opacity:1}52.27%{opacity:1}53.03%{opacity:1}53.79%{opacity:1}54.55%{opacity:1}55.3%{opacity:1}56.06%{opacity:0.911}56.82%{opacity:0.654}57.58%{opacity:0.425}58.33%{opacity:0.225}59.09%{opacity:0.052}59.85%{opacity:0}60.61%{opacity:0}61.36%{opacity:0}62.12%{opacity:0}62.88%{opacity:0}63.64%{opacity:0}64.39%{opacity:0}65.15%{opacity:0}65.91%{opacity:0}66.67%{opacity:0}67.42%{opacity:0}68.18%{opacity:0}68.94%{opacity:0}69.7%{opacity:0}70.45%{opacity:0}71.21%{opacity:0}71.97%{opacity:0}72.73%{opacity:0}73.48%{opacity:0}74.24%{opacity:0}75%{opacity:0}75.76%{opacity:0}76.52%{opacity:0}77.27%{opacity:0}78.03%{opacity:0}78.79%{opacity:0}79.55%{opacity:0}80.3%{opacity:0}81.06%{opacity:0}81.82%{opacity:0}82.58%{opacity:0}83.33%{opacity:0}84.09%{opacity:0}84.85%{opacity:0}85.61%{opacity:0}86.36%{opacity:0}87.12%{opacity:0}87.88%{opacity:0}88.64%{opacity:0}89.39%{opacity:0}90.15%{opacity:0}90.91%{opacity:0}91.67%{opacity:0}92.42%{opacity:0}93.18%{opacity:0}93.94%{opacity:0}94.7%{opacity:0}95.45%{opacity:0}96.21%{opacity:0}96.97%{opacity:0}97.73%{opacity:0}98.48%{opacity:0}99.24%{opacity:0}100%{opacity:0}}@keyframes sw-boxh-p{0%{opacity:0}0.76%{opacity:0}1.52%{opacity:0}2.27%{opacity:0}3.03%{opacity:0}3.79%{opacity:0}4.55%{opacity:0}5.3%{opacity:0}6.06%{opacity:0}6.82%{opacity:0}7.58%{opacity:0}8.33%{opacity:0}9.09%{opacity:0}9.85%{opacity:0}10.61%{opacity:0}11.36%{opacity:0}12.12%{opacity:0}12.88%{opacity:0}13.64%{opacity:0}14.39%{opacity:0}15.15%{opacity:0}15.91%{opacity:0}16.67%{opacity:0}17.42%{opacity:0}18.18%{opacity:0.222}18.94%{opacity:0.631}19.7%{opacity:0.971}20.45%{opacity:1}21.21%{opacity:1}21.97%{opacity:1}22.73%{opacity:1}23.48%{opacity:1}24.24%{opacity:1}25%{opacity:1}25.76%{opacity:1}26.52%{opacity:1}27.27%{opacity:1}28.03%{opacity:1}28.79%{opacity:1}29.55%{opacity:1}30.3%{opacity:1}31.06%{opacity:1}31.82%{opacity:1}32.58%{opacity:1}33.33%{opacity:1}34.09%{opacity:1}34.85%{opacity:1}35.61%{opacity:1}36.36%{opacity:1}37.12%{opacity:1}37.88%{opacity:1}38.64%{opacity:1}39.39%{opacity:1}40.15%{opacity:1}40.91%{opacity:1}41.67%{opacity:1}42.42%{opacity:1}43.18%{opacity:1}43.94%{opacity:1}44.7%{opacity:1}45.45%{opacity:1}46.21%{opacity:1}46.97%{opacity:1}47.73%{opacity:0.169}48.48%{opacity:0}49.24%{opacity:0}50%{opacity:0}50.76%{opacity:0}51.52%{opacity:0}52.27%{opacity:0}53.03%{opacity:0}53.79%{opacity:0}54.55%{opacity:0}55.3%{opacity:0}56.06%{opacity:0}56.82%{opacity:0}57.58%{opacity:0}58.33%{opacity:0}59.09%{opacity:0}59.85%{opacity:0}60.61%{opacity:0}61.36%{opacity:0}62.12%{opacity:0}62.88%{opacity:0}63.64%{opacity:0}64.39%{opacity:0}65.15%{opacity:0}65.91%{opacity:0}66.67%{opacity:0}67.42%{opacity:0}68.18%{opacity:0}68.94%{opacity:0}69.7%{opacity:0}70.45%{opacity:0}71.21%{opacity:0}71.97%{opacity:0}72.73%{opacity:0}73.48%{opacity:0}74.24%{opacity:0}75%{opacity:0}75.76%{opacity:0}76.52%{opacity:0}77.27%{opacity:0}78.03%{opacity:0}78.79%{opacity:0}79.55%{opacity:0}80.3%{opacity:0}81.06%{opacity:0}81.82%{opacity:0}82.58%{opacity:0}83.33%{opacity:0}84.09%{opacity:0}84.85%{opacity:0}85.61%{opacity:0}86.36%{opacity:0}87.12%{opacity:0}87.88%{opacity:0}88.64%{opacity:0}89.39%{opacity:0}90.15%{opacity:0}90.91%{opacity:0}91.67%{opacity:0}92.42%{opacity:0}93.18%{opacity:0}93.94%{opacity:0}94.7%{opacity:0}95.45%{opacity:0}96.21%{opacity:0}96.97%{opacity:0}97.73%{opacity:0}98.48%{opacity:0}99.24%{opacity:0}100%{opacity:0}} -.sw-box.mono{--sw-under:color-mix(in srgb,currentColor 35%,transparent)!important;--sw-spark:currentColor;--sw-seam:currentColor} +.sw-box.once .f-tl{animation:sw-box-tl 1600ms steps(1,end) both}.sw-box.once .f-tr{animation:sw-box-tr 1600ms steps(1,end) both}.sw-box.once .f-bl{animation:sw-box-bl 1600ms steps(1,end) both}.sw-box.once .f-br{animation:sw-box-br 1600ms steps(1,end) both}.sw-box.once .f-tr.z0{animation:sw-box-tr 1600ms steps(1,end) both,sw-box-tr-z0 1600ms steps(1,end) both}.sw-box.once .f-tr.z1{animation:sw-box-tr 1600ms steps(1,end) both,sw-box-tr-z1 1600ms steps(1,end) both}.sw-box.once .w{animation:sw-box-w 1600ms linear both}.sw-box.once .p{animation:sw-box-p 1600ms steps(1,end) both}@keyframes sw-box-tl{0%{transform:matrix(-0.108,-0.786,-1.554,-0.1024,95.82,66.37);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}25%{transform:matrix(-0.1064,-0.7802,-1.5518,-0.0942,95.68,65.89);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}26.04%{transform:matrix(-0.0935,-0.7367,-1.5336,-0.0333,94.56,62.31);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}27.08%{transform:matrix(-0.048,-0.6176,-1.4698,0.1338,90.63,52.5);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}28.13%{transform:matrix(0.0461,-0.4419,-1.3379,0.3802,82.49,38.08);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}29.17%{transform:matrix(0.0895,-0.3572,-1.2771,0.4991,78.74,30.89);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}30.21%{transform:matrix(0.1025,-0.3303,-1.2587,0.5368,77.61,28.56);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}31.25%{transform:matrix(0.1177,-0.3009,-1.2374,0.578,76.3,26.02);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}32.29%{transform:matrix(0.1844,-0.1891,-1.144,0.7348,70.53,16.35);fill:var(--alt);stroke-width:calc(0.269 * var(--sw-gap-w) + 0.269 * var(--sw-ramp-w))}33.33%{transform:matrix(0.262,-0.0828,-1.0351,0.8839,63.82,7.16);fill:var(--sw-under);stroke-width:calc(0.486 * var(--sw-gap-w) + 0.486 * var(--sw-ramp-w))}34.38%{transform:matrix(0.3468,0.0132,-0.9161,1.0185,56.49,-1.14);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}35.42%{transform:matrix(0.435,0.0952,-0.7925,1.1335,48.86,-8.23);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}36.46%{transform:matrix(0.5226,0.1608,-0.6696,1.2255,41.29,-13.91);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}37.5%{transform:matrix(0.6062,0.2091,-0.5523,1.2932,34.06,-18.08);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}38.54%{transform:matrix(0.6833,0.2402,-0.4443,1.3369,27.39,-20.78);fill:color-mix(in srgb,var(--sw-under) 98.8%,var(--c));stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}39.58%{transform:matrix(0.7519,0.2556,-0.348,1.3585,21.45,-22.1);fill:color-mix(in srgb,var(--sw-under) 62.8%,var(--c));stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}40.63%{transform:matrix(0.8112,0.2571,-0.2648,1.3606,16.33,-22.23);fill:color-mix(in srgb,var(--sw-under) 16.5%,var(--c));stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}41.67%{transform:matrix(0.8608,0.2471,-0.1953,1.3465,12.04,-21.37);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}42.71%{transform:matrix(0.901,0.2281,-0.1389,1.32,8.56,-19.73);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}43.75%{transform:matrix(0.9326,0.2027,-0.0946,1.2843,5.83,-17.53);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}44.79%{transform:matrix(0.9565,0.173,-0.0611,1.2426,3.77,-14.96);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}45.83%{transform:matrix(0.9738,0.1409,-0.0367,1.1976,2.26,-12.19);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}46.88%{transform:matrix(0.9858,0.1082,-0.0199,1.1517,1.23,-9.35);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}47.92%{transform:matrix(0.9934,0.076,-0.0092,1.1066,0.57,-6.57);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.773 * var(--sw-ramp-w))}48.96%{transform:matrix(0.9978,0.0453,-0.0031,1.0635,0.19,-3.92);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.448 * var(--sw-ramp-w))}50%{transform:matrix(0.9997,0.0168,-0.0004,1.0236,0.03,-1.46);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.163 * var(--sw-ramp-w))}51.04%{transform:matrix(0.9999,-0.009,-0.0001,0.9874,0.01,0.78);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.085 * var(--sw-ramp-w))}52.08%{transform:matrix(0.999,-0.0319,-0.0014,0.9553,0.08,2.76);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.298 * var(--sw-ramp-w))}53.13%{transform:matrix(0.9975,-0.0517,-0.0035,0.9274,0.22,4.47);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.478 * var(--sw-ramp-w))}54.17%{transform:matrix(0.9957,-0.0686,-0.0061,0.9038,0.37,5.93);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.628 * var(--sw-ramp-w))}55.21%{transform:matrix(0.9938,-0.0825,-0.0086,0.8842,0.53,7.14);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.749 * var(--sw-ramp-w))}56.25%{transform:matrix(0.9922,-0.0937,-0.011,0.8686,0.68,8.1);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.846 * var(--sw-ramp-w))}57.29%{transform:matrix(0.9907,-0.1022,-0.013,0.8566,0.8,8.84);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.919 * var(--sw-ramp-w))}58.33%{transform:matrix(0.9897,-0.1084,-0.0145,0.8479,0.89,9.38);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.972 * var(--sw-ramp-w))}59.38%{transform:matrix(0.9889,-0.1124,-0.0155,0.8423,0.96,9.72);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}60.42%{transform:matrix(0.9885,-0.1146,-0.0161,0.8393,0.99,9.91);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}61.46%{transform:matrix(0.9884,-0.115,-0.0162,0.8387,1,9.94);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}62.5%{transform:matrix(0.9886,-0.1139,-0.0159,0.8402,0.98,9.85);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}63.54%{transform:matrix(0.9891,-0.1117,-0.0153,0.8434,0.95,9.66);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.999 * var(--sw-ramp-w))}64.58%{transform:matrix(0.9897,-0.1084,-0.0145,0.848,0.89,9.37);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.971 * var(--sw-ramp-w))}65.63%{transform:matrix(0.9904,-0.1042,-0.0135,0.8539,0.83,9.01);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.936 * var(--sw-ramp-w))}66.67%{transform:matrix(0.9912,-0.0993,-0.0123,0.8607,0.76,8.59);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.894 * var(--sw-ramp-w))}67.71%{transform:matrix(0.9921,-0.094,-0.0111,0.8682,0.68,8.13);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.848 * var(--sw-ramp-w))}68.75%{transform:matrix(0.993,-0.0883,-0.0098,0.8762,0.61,7.63);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.799 * var(--sw-ramp-w))}69.79%{transform:matrix(0.9939,-0.0823,-0.0086,0.8846,0.53,7.12);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.747 * var(--sw-ramp-w))}70.83%{transform:matrix(0.9947,-0.0762,-0.0074,0.8932,0.46,6.59);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.694 * var(--sw-ramp-w))}71.88%{transform:matrix(0.9955,-0.07,-0.0063,0.9018,0.39,6.05);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.64 * var(--sw-ramp-w))}72.92%{transform:matrix(0.9962,-0.0639,-0.0053,0.9104,0.33,5.53);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.586 * var(--sw-ramp-w))}73.96%{transform:matrix(0.9969,-0.0579,-0.0044,0.9188,0.27,5.01);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.533 * var(--sw-ramp-w))}75%{transform:matrix(0.9975,-0.0521,-0.0036,0.927,0.22,4.5);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.481 * var(--sw-ramp-w))}76.04%{transform:matrix(0.998,-0.0465,-0.0029,0.9349,0.18,4.02);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.43 * var(--sw-ramp-w))}77.08%{transform:matrix(0.9984,-0.0411,-0.0022,0.9424,0.14,3.55);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.382 * var(--sw-ramp-w))}78.13%{transform:matrix(0.9988,-0.036,-0.0017,0.9495,0.11,3.11);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.336 * var(--sw-ramp-w))}79.17%{transform:matrix(0.9991,-0.0312,-0.0013,0.9562,0.08,2.7);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.292 * var(--sw-ramp-w))}80.21%{transform:matrix(0.9993,-0.0268,-0.001,0.9624,0.06,2.32);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.251 * var(--sw-ramp-w))}81.25%{transform:matrix(0.9995,-0.0226,-0.0007,0.9683,0.04,1.96);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.213 * var(--sw-ramp-w))}82.29%{transform:matrix(0.9997,-0.0188,-0.0005,0.9736,0.03,1.63);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.177 * var(--sw-ramp-w))}83.33%{transform:matrix(0.9998,-0.0153,-0.0003,0.9785,0.02,1.33);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.145 * var(--sw-ramp-w))}84.38%{transform:matrix(0.9999,-0.0121,-0.0002,0.983,0.01,1.05);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.115 * var(--sw-ramp-w))}85.42%{transform:matrix(0.9999,-0.0093,-0.0001,0.987,0.01,0.8);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.088 * var(--sw-ramp-w))}86.46%{transform:matrix(1,-0.0067,-0.0001,0.9906,0,0.58);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.064 * var(--sw-ramp-w))}87.5%{transform:matrix(1,-0.0044,0,0.9938,0,0.38);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.042 * var(--sw-ramp-w))}88.54%{transform:matrix(1,-0.0024,0,0.9966,0,0.21);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.023 * var(--sw-ramp-w))}89.58%{transform:matrix(1,-0.0006,0,0.9991,0,0.06);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.006 * var(--sw-ramp-w))}90.63%{transform:none;fill:var(--c);stroke-width:0}100%{transform:none;fill:var(--c);stroke-width:0}}@keyframes sw-box-tr{0%{transform:matrix(-0.0637,0.8176,1.6165,-0.0578,47.84,-44.41);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}8.33%{transform:matrix(-0.0632,0.8146,1.6151,-0.0543,47.85,-44.24);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}9.38%{transform:matrix(-0.0611,0.801,1.6081,-0.038,47.88,-43.42);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}10.42%{transform:matrix(-0.0554,0.7681,1.5904,0.0013,47.92,-41.47);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}11.46%{transform:matrix(-0.0424,0.7078,1.5543,0.0731,47.87,-37.88);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}12.5%{transform:matrix(-0.0158,0.6129,1.4886,0.1859,47.5,-32.23);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}13.54%{transform:matrix(0.0287,0.4924,1.3884,0.3281,46.55,-24.98);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}14.58%{transform:matrix(0.0665,0.409,1.3093,0.4263,45.57,-19.96);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}15.63%{transform:matrix(0.0862,0.3641,1.2816,0.4893,44.6,-17.77);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}16.67%{transform:matrix(0.0978,0.3399,1.2654,0.5233,44.04,-16.59);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}17.71%{transform:matrix(0.1027,0.33,1.2585,0.5372,43.8,-16.11);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}18.75%{transform:matrix(0.1037,0.3279,1.2571,0.54,43.75,-16.01);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}19.79%{transform:matrix(0.1461,0.2502,1.1976,0.649,41.68,-12.21);fill:var(--alt);stroke-width:calc(0.683 * var(--sw-gap-w) + 0.683 * var(--sw-ramp-w))}20.83%{transform:matrix(0.211,0.1502,1.1066,0.7894,38.51,-7.33);fill:var(--sw-under);stroke-width:calc(0.001 * var(--sw-gap-w) + 0.001 * var(--sw-ramp-w))}21.88%{transform:matrix(0.2839,0.0562,1.0043,0.9212,34.95,-2.74);fill:var(--sw-under);stroke-width:calc(0.684 * var(--sw-gap-w) + 0.684 * var(--sw-ramp-w))}22.92%{transform:matrix(0.3619,-0.0285,0.8949,1.0399,31.14,1.39);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}23.96%{transform:matrix(0.4421,-0.1011,0.7825,1.1418,27.23,4.93);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}25%{transform:matrix(0.5215,-0.1601,0.671,1.2246,23.35,7.82);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}26.04%{transform:matrix(0.5978,-0.2049,0.5642,1.2873,19.63,10);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}27.08%{transform:matrix(0.6687,-0.2354,0.4646,1.3302,16.17,11.49);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}28.13%{transform:matrix(0.733,-0.2527,0.3744,1.3544,13.03,12.33);fill:color-mix(in srgb,var(--sw-under) 76.5%,var(--c));stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}29.17%{transform:matrix(0.7897,-0.258,0.2949,1.3619,10.26,12.59);fill:color-mix(in srgb,var(--sw-under) 32.4%,var(--c));stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}30.21%{transform:matrix(0.8385,-0.2531,0.2265,1.355,7.88,12.35);fill:color-mix(in srgb,var(--sw-under) 2.4%,var(--c));stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}31.25%{transform:matrix(0.8794,-0.2398,0.1692,1.3363,5.89,11.71);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}32.29%{transform:matrix(0.9127,-0.22,0.1224,1.3086,4.26,10.74);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}33.33%{transform:matrix(0.9392,-0.1956,0.0853,1.2743,2.97,9.55);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}34.38%{transform:matrix(0.9596,-0.168,0.0567,1.2357,1.97,8.2);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}35.42%{transform:matrix(0.9748,-0.1388,0.0354,1.1947,1.23,6.77);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}36.46%{transform:matrix(0.9855,-0.1091,0.0203,1.1529,0.71,5.32);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}37.5%{transform:matrix(0.9927,-0.0798,0.0102,1.1119,0.36,3.89);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.815 * var(--sw-ramp-w))}38.54%{transform:matrix(0.9971,-0.0516,0.0041,1.0724,0.14,2.52);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.514 * var(--sw-ramp-w))}39.58%{transform:matrix(0.9993,-0.0252,0.0009,1.0354,0.03,1.23);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.246 * var(--sw-ramp-w))}40.63%{transform:matrix(1,-0.0009,0,1.0013,0,0.05);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.009 * var(--sw-ramp-w))}41.67%{transform:matrix(0.9996,0.0211,0.0006,0.9705,0.02,-1.03);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.198 * var(--sw-ramp-w))}42.71%{transform:matrix(0.9984,0.0406,0.0022,0.9431,0.08,-1.98);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.377 * var(--sw-ramp-w))}43.75%{transform:matrix(0.9969,0.0576,0.0043,0.9192,0.15,-2.81);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.53 * var(--sw-ramp-w))}44.79%{transform:matrix(0.9952,0.0721,0.0067,0.8988,0.23,-3.52);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.659 * var(--sw-ramp-w))}45.83%{transform:matrix(0.9936,0.0843,0.009,0.8818,0.31,-4.11);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.765 * var(--sw-ramp-w))}46.88%{transform:matrix(0.9921,0.0942,0.0111,0.8679,0.39,-4.6);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.85 * var(--sw-ramp-w))}47.92%{transform:matrix(0.9908,0.1019,0.0129,0.857,0.45,-4.98);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.916 * var(--sw-ramp-w))}48.96%{transform:matrix(0.9898,0.1077,0.0143,0.8489,0.5,-5.26);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.966 * var(--sw-ramp-w))}50%{transform:matrix(0.9891,0.1117,0.0154,0.8433,0.53,-5.45);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}51.04%{transform:matrix(0.9886,0.1141,0.016,0.84,0.56,-5.57);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}52.08%{transform:matrix(0.9884,0.115,0.0162,0.8387,0.56,-5.61);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}53.13%{transform:matrix(0.9885,0.1146,0.0161,0.8392,0.56,-5.6);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}54.17%{transform:matrix(0.9888,0.1132,0.0157,0.8413,0.55,-5.52);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}55.21%{transform:matrix(0.9892,0.1107,0.0151,0.8447,0.53,-5.41);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.992 * var(--sw-ramp-w))}56.25%{transform:matrix(0.9898,0.1075,0.0143,0.8492,0.5,-5.25);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.964 * var(--sw-ramp-w))}57.29%{transform:matrix(0.9905,0.1036,0.0133,0.8547,0.46,-5.06);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.931 * var(--sw-ramp-w))}58.33%{transform:matrix(0.9913,0.0992,0.0123,0.8609,0.43,-4.84);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.893 * var(--sw-ramp-w))}59.38%{transform:matrix(0.9921,0.0943,0.0111,0.8677,0.39,-4.6);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.851 * var(--sw-ramp-w))}60.42%{transform:matrix(0.9929,0.0891,0.01,0.875,0.35,-4.35);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.807 * var(--sw-ramp-w))}61.46%{transform:matrix(0.9937,0.0837,0.0089,0.8825,0.31,-4.09);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.76 * var(--sw-ramp-w))}62.5%{transform:matrix(0.9944,0.0782,0.0078,0.8903,0.27,-3.82);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.712 * var(--sw-ramp-w))}63.54%{transform:matrix(0.9952,0.0726,0.0068,0.8981,0.24,-3.55);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.663 * var(--sw-ramp-w))}64.58%{transform:matrix(0.9959,0.0671,0.0058,0.9059,0.2,-3.27);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.614 * var(--sw-ramp-w))}65.63%{transform:matrix(0.9965,0.0615,0.0049,0.9137,0.17,-3);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.565 * var(--sw-ramp-w))}66.67%{transform:matrix(0.9971,0.0561,0.0041,0.9213,0.14,-2.74);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.517 * var(--sw-ramp-w))}67.71%{transform:matrix(0.9976,0.0509,0.0034,0.9286,0.12,-2.48);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.47 * var(--sw-ramp-w))}68.75%{transform:matrix(0.998,0.0458,0.0028,0.9357,0.1,-2.24);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.425 * var(--sw-ramp-w))}69.79%{transform:matrix(0.9984,0.041,0.0022,0.9425,0.08,-2);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.381 * var(--sw-ramp-w))}70.83%{transform:matrix(0.9987,0.0364,0.0018,0.949,0.06,-1.78);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.339 * var(--sw-ramp-w))}71.88%{transform:matrix(0.999,0.032,0.0014,0.9551,0.05,-1.56);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.299 * var(--sw-ramp-w))}72.92%{transform:matrix(0.9992,0.0279,0.0011,0.9609,0.04,-1.36);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.261 * var(--sw-ramp-w))}73.96%{transform:matrix(0.9994,0.024,0.0008,0.9663,0.03,-1.17);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.226 * var(--sw-ramp-w))}75%{transform:matrix(0.9996,0.0205,0.0006,0.9713,0.02,-1);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.193 * var(--sw-ramp-w))}76.04%{transform:matrix(0.9997,0.0172,0.0004,0.9759,0.01,-0.84);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.162 * var(--sw-ramp-w))}77.08%{transform:matrix(0.9998,0.0141,0.0003,0.9802,0.01,-0.69);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.133 * var(--sw-ramp-w))}78.13%{transform:matrix(0.9999,0.0113,0.0002,0.9841,0.01,-0.55);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.107 * var(--sw-ramp-w))}79.17%{transform:matrix(0.9999,0.0088,0.0001,0.9877,0,-0.43);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.083 * var(--sw-ramp-w))}80.21%{transform:matrix(1,0.0065,0.0001,0.9909,0,-0.32);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.062 * var(--sw-ramp-w))}81.25%{transform:matrix(1,0.0044,0,0.9938,0,-0.22);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.042 * var(--sw-ramp-w))}82.29%{transform:matrix(1,0.0026,0,0.9964,0,-0.13);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.024 * var(--sw-ramp-w))}83.33%{transform:matrix(1,0.0009,0,0.9987,0,-0.05);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.009 * var(--sw-ramp-w))}84.38%{transform:none;fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0 * var(--sw-ramp-w))}90.63%{transform:none;fill:var(--c);stroke-width:0}100%{transform:none;fill:var(--c);stroke-width:0}}@keyframes sw-box-bl{0%{transform:matrix(-0.0717,0.8073,1.6211,-0.061,-58.29,31.95);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}19.79%{transform:matrix(-0.0709,0.8098,1.6187,-0.0654,-58.17,32.15);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}20.83%{transform:matrix(-0.0603,0.8357,1.5892,-0.1123,-56.72,34.26);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}21.88%{transform:matrix(-0.0111,0.8904,1.4746,-0.2215,-51.45,39.61);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}22.92%{transform:matrix(0.07,0.9135,1.3117,-0.2885,-44.44,43.65);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}23.96%{transform:matrix(0.0976,0.9339,1.2728,-0.3172,-43.12,44.62);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}25%{transform:matrix(0.1018,0.9364,1.2668,-0.3207,-42.91,44.74);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}26.04%{transform:matrix(0.1766,0.96,1.1614,-0.354,-39.34,45.87);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}27.08%{transform:matrix(0.2721,0.9547,1.0266,-0.3465,-34.78,45.61);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}28.13%{transform:matrix(0.3827,0.9166,0.8707,-0.2929,-29.5,43.8);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}29.17%{transform:matrix(0.5001,0.8473,0.705,-0.1951,-23.88,40.49);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}30.21%{transform:matrix(0.6156,0.7524,0.5422,-0.0612,-18.37,35.95);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}31.25%{transform:matrix(0.721,0.6404,0.3934,0.0968,-13.33,30.6);fill:var(--alt);stroke-width:calc(0.607 * var(--sw-gap-w) + 0.607 * var(--sw-ramp-w))}32.29%{transform:matrix(0.8109,0.5207,0.2667,0.2656,-9.03,24.88);fill:var(--c);stroke-width:calc(0.255 * var(--sw-gap-w) + 0.255 * var(--sw-ramp-w))}33.33%{transform:matrix(0.8822,0.402,0.1661,0.433,-5.63,19.21);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}34.38%{transform:matrix(0.9345,0.291,0.0924,0.5896,-3.13,13.9);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}35.42%{transform:matrix(0.9694,0.1921,0.0432,0.729,-1.46,9.18);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}36.46%{transform:matrix(0.9896,0.1077,0.0146,0.8481,-0.5,5.14);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.973 * var(--sw-ramp-w))}37.5%{transform:matrix(0.9986,0.038,0.002,0.9464,-0.07,1.81);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.356 * var(--sw-ramp-w))}38.54%{transform:matrix(0.9997,-0.0178,0.0005,1.0251,-0.02,-0.85);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.173 * var(--sw-ramp-w))}39.58%{transform:matrix(0.9958,-0.0612,0.0059,1.0863,-0.2,-2.92);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.619 * var(--sw-ramp-w))}40.63%{transform:matrix(0.9894,-0.094,0.015,1.1327,-0.51,-4.49);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.984 * var(--sw-ramp-w))}41.67%{transform:matrix(0.9823,-0.1183,0.025,1.1668,-0.85,-5.65);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}42.71%{transform:matrix(0.9757,-0.1355,0.0343,1.1911,-1.16,-6.47);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}43.75%{transform:matrix(0.9704,-0.147,0.0418,1.2074,-1.41,-7.03);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}44.79%{transform:matrix(0.9668,-0.1541,0.0468,1.2173,-1.59,-7.36);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}45.83%{transform:matrix(0.965,-0.1574,0.0494,1.222,-1.67,-7.52);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}46.88%{transform:matrix(0.9649,-0.1576,0.0496,1.2223,-1.68,-7.53);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}47.92%{transform:matrix(0.9662,-0.1553,0.0477,1.219,-1.62,-7.42);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}48.96%{transform:matrix(0.9686,-0.1507,0.0443,1.2125,-1.5,-7.2);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}50%{transform:matrix(0.9718,-0.1442,0.0398,1.2034,-1.35,-6.89);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}51.04%{transform:matrix(0.9754,-0.136,0.0347,1.1919,-1.17,-6.5);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}52.08%{transform:matrix(0.9793,-0.1266,0.0293,1.1785,-0.99,-6.05);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}53.13%{transform:matrix(0.983,-0.116,0.0239,1.1636,-0.81,-5.54);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}54.17%{transform:matrix(0.9865,-0.1046,0.019,1.1476,-0.64,-5);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}55.21%{transform:matrix(0.9897,-0.0927,0.0145,1.1308,-0.49,-4.43);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.969 * var(--sw-ramp-w))}56.25%{transform:matrix(0.9924,-0.0806,0.0107,1.1137,-0.36,-3.85);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.831 * var(--sw-ramp-w))}57.29%{transform:matrix(0.9946,-0.0685,0.0076,1.0966,-0.26,-3.27);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.698 * var(--sw-ramp-w))}58.33%{transform:matrix(0.9964,-0.0567,0.0051,1.0799,-0.17,-2.71);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.571 * var(--sw-ramp-w))}59.38%{transform:matrix(0.9978,-0.0453,0.0032,1.0639,-0.11,-2.16);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.452 * var(--sw-ramp-w))}60.42%{transform:matrix(0.9987,-0.0346,0.0018,1.0488,-0.06,-1.65);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.342 * var(--sw-ramp-w))}61.46%{transform:matrix(0.9994,-0.0247,0.0009,1.0348,-0.03,-1.18);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.242 * var(--sw-ramp-w))}62.5%{transform:matrix(0.9997,-0.0157,0.0004,1.0222,-0.01,-0.75);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.153 * var(--sw-ramp-w))}63.54%{transform:matrix(0.9999,-0.0077,0.0001,1.0109,0,-0.37);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.075 * var(--sw-ramp-w))}64.58%{transform:matrix(1,-0.0008,0,1.0011,0,-0.04);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.007 * var(--sw-ramp-w))}65.63%{transform:matrix(1,0.0051,0,0.9928,0,0.25);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.049 * var(--sw-ramp-w))}66.67%{transform:matrix(0.9999,0.01,0.0001,0.9859,0,0.48);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.095 * var(--sw-ramp-w))}67.71%{transform:matrix(0.9998,0.0138,0.0003,0.9805,-0.01,0.66);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.132 * var(--sw-ramp-w))}68.75%{transform:matrix(0.9997,0.0167,0.0004,0.9764,-0.01,0.8);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.159 * var(--sw-ramp-w))}69.79%{transform:matrix(0.9997,0.0187,0.0005,0.9736,-0.02,0.9);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.178 * var(--sw-ramp-w))}70.83%{transform:matrix(0.9996,0.0199,0.0006,0.9719,-0.02,0.95);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.189 * var(--sw-ramp-w))}71.88%{transform:matrix(0.9996,0.0204,0.0006,0.9712,-0.02,0.97);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.194 * var(--sw-ramp-w))}72.92%{transform:matrix(0.9996,0.0202,0.0006,0.9715,-0.02,0.97);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.192 * var(--sw-ramp-w))}73.96%{transform:matrix(0.9996,0.0195,0.0005,0.9726,-0.02,0.93);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.185 * var(--sw-ramp-w))}75%{transform:matrix(0.9997,0.0182,0.0005,0.9743,-0.02,0.87);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.173 * var(--sw-ramp-w))}76.04%{transform:matrix(0.9997,0.0166,0.0004,0.9766,-0.01,0.79);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.158 * var(--sw-ramp-w))}77.08%{transform:matrix(0.9998,0.0146,0.0003,0.9794,-0.01,0.7);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.139 * var(--sw-ramp-w))}78.13%{transform:matrix(0.9998,0.0124,0.0002,0.9825,-0.01,0.59);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.118 * var(--sw-ramp-w))}79.17%{transform:matrix(0.9999,0.0099,0.0001,0.986,0,0.48);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.095 * var(--sw-ramp-w))}80.21%{transform:matrix(0.9999,0.0074,0.0001,0.9896,0,0.35);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.07 * var(--sw-ramp-w))}81.25%{transform:matrix(1,0.0047,0,0.9934,0,0.22);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.045 * var(--sw-ramp-w))}82.29%{transform:matrix(1,0.0019,0,0.9973,0,0.09);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.018 * var(--sw-ramp-w))}83.33%{transform:none;fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0 * var(--sw-ramp-w))}90.63%{transform:none;fill:var(--c);stroke-width:0}100%{transform:none;fill:var(--c);stroke-width:0}}@keyframes sw-box-br{0%{transform:matrix(-0.1103,-0.7799,-1.566,-0.1,203.27,141.18);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}25%{transform:matrix(-0.1087,-0.7835,-1.5638,-0.105,202.98,141.85);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}26.04%{transform:matrix(-0.0958,-0.8083,-1.5455,-0.1401,200.6,146.58);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}27.08%{transform:matrix(-0.0502,-0.8625,-1.4812,-0.2165,192.26,157);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}28.13%{transform:matrix(0.0441,-0.9044,-1.3483,-0.2756,175,165.44);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}29.17%{transform:matrix(0.0876,-0.9275,-1.2869,-0.3081,167.04,169.79);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}30.21%{transform:matrix(0.1007,-0.9357,-1.2685,-0.3198,164.64,171.3);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}31.25%{transform:matrix(0.118,-0.9444,-1.244,-0.3321,161.47,172.9);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}32.29%{transform:matrix(0.1997,-0.9616,-1.1287,-0.3563,146.5,176.05);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}33.33%{transform:matrix(0.3018,-0.9474,-0.9848,-0.3362,127.82,173.43);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}34.38%{transform:matrix(0.4172,-0.8991,-0.8219,-0.2682,106.69,164.61);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}35.42%{transform:matrix(0.5371,-0.8199,-0.653,-0.1564,84.75,150.09);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}36.46%{transform:matrix(0.652,-0.7166,-0.4908,-0.0108,63.71,131.2);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}37.5%{transform:matrix(0.7544,-0.599,-0.3463,0.1552,44.96,109.65);fill:var(--alt);stroke-width:calc(0.301 * var(--sw-gap-w) + 0.301 * var(--sw-ramp-w))}38.54%{transform:matrix(0.8393,-0.4766,-0.2266,0.3277,29.42,87.26);fill:var(--c);stroke-width:calc(0.557 * var(--sw-gap-w) + 0.557 * var(--sw-ramp-w))}39.58%{transform:matrix(0.9045,-0.3581,-0.1347,0.4949,17.48,65.56);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}40.63%{transform:matrix(0.9505,-0.2496,-0.0698,0.6479,9.07,45.7);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}41.67%{transform:matrix(0.9795,-0.1549,-0.029,0.7815,3.76,28.36);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}42.71%{transform:matrix(0.9947,-0.0754,-0.0074,0.8936,0.97,13.81);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.692 * var(--sw-ramp-w))}43.75%{transform:matrix(0.9999,-0.011,-0.0002,0.9845,0.02,2.01);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.105 * var(--sw-ramp-w))}44.79%{transform:matrix(0.9983,0.0397,-0.0024,1.056,0.31,-7.27);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.394 * var(--sw-ramp-w))}45.83%{transform:matrix(0.9928,0.0785,-0.0101,1.1107,1.31,-14.37);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.807 * var(--sw-ramp-w))}46.88%{transform:matrix(0.9858,0.1073,-0.0201,1.1514,2.61,-19.65);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}47.92%{transform:matrix(0.9787,0.1281,-0.0301,1.1806,3.91,-23.45);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}48.96%{transform:matrix(0.9726,0.1424,-0.0386,1.2008,5.01,-26.06);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}50%{transform:matrix(0.9682,0.1515,-0.0449,1.2136,5.83,-27.73);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}51.04%{transform:matrix(0.9656,0.1564,-0.0486,1.2206,6.31,-28.63);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}52.08%{transform:matrix(0.9647,0.1579,-0.0497,1.2227,6.46,-28.9);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}53.13%{transform:matrix(0.9655,0.1565,-0.0486,1.2207,6.31,-28.64);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}54.17%{transform:matrix(0.9676,0.1526,-0.0457,1.2153,5.94,-27.94);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}55.21%{transform:matrix(0.9706,0.1467,-0.0415,1.2069,5.39,-26.85);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}56.25%{transform:matrix(0.9742,0.1389,-0.0364,1.196,4.73,-25.44);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}57.29%{transform:matrix(0.978,0.1297,-0.031,1.1829,4.02,-23.74);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}58.33%{transform:matrix(0.9819,0.1193,-0.0255,1.1682,3.31,-21.83);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}59.38%{transform:matrix(0.9856,0.1079,-0.0203,1.1522,2.64,-19.75);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}60.42%{transform:matrix(0.9889,0.0959,-0.0157,1.1353,2.03,-17.56);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}61.46%{transform:matrix(0.9918,0.0836,-0.0116,1.1179,1.5,-15.31);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.865 * var(--sw-ramp-w))}62.5%{transform:matrix(0.9942,0.0713,-0.0082,1.1005,1.07,-13.05);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.728 * var(--sw-ramp-w))}63.54%{transform:matrix(0.9961,0.0591,-0.0055,1.0834,0.72,-10.83);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.597 * var(--sw-ramp-w))}64.58%{transform:matrix(0.9975,0.0475,-0.0035,1.067,0.45,-8.69);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.474 * var(--sw-ramp-w))}65.63%{transform:matrix(0.9986,0.0364,-0.002,1.0514,0.26,-6.67);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.361 * var(--sw-ramp-w))}66.67%{transform:matrix(0.9993,0.0262,-0.001,1.037,0.13,-4.8);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.257 * var(--sw-ramp-w))}67.71%{transform:matrix(0.9997,0.0169,-0.0004,1.0239,0.05,-3.1);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.165 * var(--sw-ramp-w))}68.75%{transform:matrix(0.9999,0.0087,-0.0001,1.0122,0.01,-1.58);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.084 * var(--sw-ramp-w))}69.79%{transform:matrix(1,0.0015,0,1.0021,0,-0.27);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.014 * var(--sw-ramp-w))}70.83%{transform:matrix(1,-0.0046,0,0.9934,0,0.85);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.045 * var(--sw-ramp-w))}71.88%{transform:matrix(0.9999,-0.0097,-0.0001,0.9864,0.02,1.77);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.092 * var(--sw-ramp-w))}72.92%{transform:matrix(0.9998,-0.0137,-0.0003,0.9807,0.03,2.5);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.13 * var(--sw-ramp-w))}73.96%{transform:matrix(0.9997,-0.0166,-0.0004,0.9765,0.05,3.05);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.158 * var(--sw-ramp-w))}75%{transform:matrix(0.9997,-0.0187,-0.0005,0.9736,0.06,3.43);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.178 * var(--sw-ramp-w))}76.04%{transform:matrix(0.9996,-0.0199,-0.0006,0.9719,0.07,3.65);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.189 * var(--sw-ramp-w))}77.08%{transform:matrix(0.9996,-0.0204,-0.0006,0.9712,0.08,3.73);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.194 * var(--sw-ramp-w))}78.13%{transform:matrix(0.9996,-0.0202,-0.0006,0.9715,0.07,3.7);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.192 * var(--sw-ramp-w))}79.17%{transform:matrix(0.9996,-0.0194,-0.0005,0.9726,0.07,3.55);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.184 * var(--sw-ramp-w))}80.21%{transform:matrix(0.9997,-0.0181,-0.0005,0.9744,0.06,3.32);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.172 * var(--sw-ramp-w))}81.25%{transform:matrix(0.9997,-0.0164,-0.0004,0.9768,0.05,3.01);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.156 * var(--sw-ramp-w))}82.29%{transform:matrix(0.9998,-0.0144,-0.0003,0.9797,0.04,2.63);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.137 * var(--sw-ramp-w))}83.33%{transform:matrix(0.9999,-0.0121,-0.0002,0.9829,0.03,2.21);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.115 * var(--sw-ramp-w))}84.38%{transform:matrix(0.9999,-0.0096,-0.0001,0.9865,0.02,1.76);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.092 * var(--sw-ramp-w))}85.42%{transform:matrix(1,-0.0069,-0.0001,0.9902,0.01,1.27);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.066 * var(--sw-ramp-w))}86.46%{transform:matrix(1,-0.0042,0,0.9941,0,0.77);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.04 * var(--sw-ramp-w))}87.5%{transform:matrix(1,-0.0014,0,0.9981,0,0.25);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.013 * var(--sw-ramp-w))}88.54%{transform:none;fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0 * var(--sw-ramp-w))}90.63%{transform:none;fill:var(--c);stroke-width:0}100%{transform:none;fill:var(--c);stroke-width:0}}@keyframes sw-box-tr-z0{0%{opacity:0}23.96%{opacity:1}100%{opacity:1}}@keyframes sw-box-tr-z1{0%{opacity:1}23.96%{opacity:0}100%{opacity:0}}@keyframes sw-box-p{0%{opacity:1}90.63%{opacity:0}100%{opacity:0}}@keyframes sw-box-w{0%{opacity:0}1.04%{opacity:0}2.08%{opacity:0}3.13%{opacity:0}4.17%{opacity:0}5.21%{opacity:0}6.25%{opacity:0}7.29%{opacity:0}8.33%{opacity:0}9.38%{opacity:0}10.42%{opacity:0}11.46%{opacity:0}12.5%{opacity:0}13.54%{opacity:0}14.58%{opacity:0}15.63%{opacity:0.026}16.67%{opacity:0.049}17.71%{opacity:0.058}18.75%{opacity:0.06}19.79%{opacity:0.137}20.83%{opacity:0.273}21.88%{opacity:0.493}22.92%{opacity:0.738}23.96%{opacity:0.887}25%{opacity:0.995}26.04%{opacity:1}27.08%{opacity:1}28.13%{opacity:1}29.17%{opacity:1}30.21%{opacity:1}31.25%{opacity:1}32.29%{opacity:1}33.33%{opacity:1}34.38%{opacity:1}35.42%{opacity:1}36.46%{opacity:1}37.5%{opacity:1}38.54%{opacity:1}39.58%{opacity:0.911}40.63%{opacity:0.654}41.67%{opacity:0.425}42.71%{opacity:0.225}43.75%{opacity:0.052}44.79%{opacity:0}45.83%{opacity:0}46.88%{opacity:0}47.92%{opacity:0}48.96%{opacity:0}50%{opacity:0}51.04%{opacity:0}52.08%{opacity:0}53.13%{opacity:0}54.17%{opacity:0}55.21%{opacity:0}56.25%{opacity:0}57.29%{opacity:0}58.33%{opacity:0}59.38%{opacity:0}60.42%{opacity:0}61.46%{opacity:0}62.5%{opacity:0}63.54%{opacity:0}64.58%{opacity:0}65.63%{opacity:0}66.67%{opacity:0}67.71%{opacity:0}68.75%{opacity:0}69.79%{opacity:0}70.83%{opacity:0}71.88%{opacity:0}72.92%{opacity:0}73.96%{opacity:0}75%{opacity:0}76.04%{opacity:0}77.08%{opacity:0}78.13%{opacity:0}79.17%{opacity:0}80.21%{opacity:0}81.25%{opacity:0}82.29%{opacity:0}83.33%{opacity:0}84.38%{opacity:0}85.42%{opacity:0}86.46%{opacity:0}87.5%{opacity:0}88.54%{opacity:0}89.58%{opacity:0}90.63%{opacity:0}91.67%{opacity:0}92.71%{opacity:0}93.75%{opacity:0}94.79%{opacity:0}95.83%{opacity:0}96.88%{opacity:0}97.92%{opacity:0}98.96%{opacity:0}100%{opacity:0}}.sw-box.once .a-tl{animation:sw-box-a-tl 1600ms linear both}.sw-box.once .a-tr{animation:sw-box-a-tr 1600ms linear both}.sw-box.once .a-bl{animation:sw-box-a-bl 1600ms linear both}.sw-box.once .a-br{animation:sw-box-a-br 1600ms linear both}.sw-box.once .k{animation:sw-box-spark 1600ms ease-out both}.sw-box.once .r{animation:sw-box-tick 1600ms linear both}@keyframes sw-box-a-tl{0%{opacity:0}1.04%{opacity:0}2.08%{opacity:0}3.13%{opacity:0}4.17%{opacity:0}5.21%{opacity:0}6.25%{opacity:0}7.29%{opacity:0}8.33%{opacity:0}9.38%{opacity:0}10.42%{opacity:0}11.46%{opacity:0}12.5%{opacity:0}13.54%{opacity:0}14.58%{opacity:0}15.63%{opacity:0}16.67%{opacity:0}17.71%{opacity:0}18.75%{opacity:0}19.79%{opacity:0}20.83%{opacity:0}21.88%{opacity:0}22.92%{opacity:0}23.96%{opacity:0}25%{opacity:0}26.04%{opacity:0.229}27.08%{opacity:0.74}28.13%{opacity:0.491}29.17%{opacity:0.067}30.21%{opacity:0}31.25%{opacity:0.498}32.29%{opacity:0.503}33.33%{opacity:0.499}34.38%{opacity:0.487}35.42%{opacity:0.469}36.46%{opacity:0.446}37.5%{opacity:0.419}38.54%{opacity:0.388}39.58%{opacity:0.355}40.63%{opacity:0.32}41.67%{opacity:0.284}42.71%{opacity:0.247}43.75%{opacity:0.21}44.79%{opacity:0.173}45.83%{opacity:0.138}46.88%{opacity:0.103}47.92%{opacity:0.069}48.96%{opacity:0.037}50%{opacity:0.007}51.04%{opacity:0}52.08%{opacity:0}53.13%{opacity:0}54.17%{opacity:0}55.21%{opacity:0}56.25%{opacity:0}57.29%{opacity:0}58.33%{opacity:0}59.38%{opacity:0}60.42%{opacity:0}61.46%{opacity:0}62.5%{opacity:0}63.54%{opacity:0}64.58%{opacity:0}65.63%{opacity:0}66.67%{opacity:0}67.71%{opacity:0}68.75%{opacity:0}69.79%{opacity:0}70.83%{opacity:0}71.88%{opacity:0}72.92%{opacity:0}73.96%{opacity:0}75%{opacity:0}76.04%{opacity:0}77.08%{opacity:0}78.13%{opacity:0}79.17%{opacity:0}80.21%{opacity:0}81.25%{opacity:0}82.29%{opacity:0}83.33%{opacity:0}84.38%{opacity:0}85.42%{opacity:0}86.46%{opacity:0}87.5%{opacity:0}88.54%{opacity:0}89.58%{opacity:0}90.63%{opacity:0}91.67%{opacity:0}92.71%{opacity:0}93.75%{opacity:0}94.79%{opacity:0}95.83%{opacity:0}96.88%{opacity:0}97.92%{opacity:0}98.96%{opacity:0}100%{opacity:0}}@keyframes sw-box-a-tr{0%{opacity:0}1.04%{opacity:0}2.08%{opacity:0}3.13%{opacity:0}4.17%{opacity:0}5.21%{opacity:0}6.25%{opacity:0}7.29%{opacity:0}8.33%{opacity:0}9.38%{opacity:0}10.42%{opacity:0.171}11.46%{opacity:0.421}12.5%{opacity:0.735}13.54%{opacity:0.64}14.58%{opacity:0.344}15.63%{opacity:0.112}16.67%{opacity:0}17.71%{opacity:0}18.75%{opacity:0}19.79%{opacity:0.8}20.83%{opacity:0.8}21.88%{opacity:0.8}22.92%{opacity:0.8}23.96%{opacity:0.789}25%{opacity:0.757}26.04%{opacity:0.721}27.08%{opacity:0.68}28.13%{opacity:0.636}29.17%{opacity:0.59}30.21%{opacity:0.542}31.25%{opacity:0.493}32.29%{opacity:0.443}33.33%{opacity:0.394}34.38%{opacity:0.345}35.42%{opacity:0.297}36.46%{opacity:0.25}37.5%{opacity:0.205}38.54%{opacity:0.162}39.58%{opacity:0.12}40.63%{opacity:0.081}41.67%{opacity:0.044}42.71%{opacity:0.01}43.75%{opacity:0}44.79%{opacity:0}45.83%{opacity:0}46.88%{opacity:0}47.92%{opacity:0}48.96%{opacity:0}50%{opacity:0}51.04%{opacity:0}52.08%{opacity:0}53.13%{opacity:0}54.17%{opacity:0}55.21%{opacity:0}56.25%{opacity:0}57.29%{opacity:0}58.33%{opacity:0}59.38%{opacity:0}60.42%{opacity:0}61.46%{opacity:0}62.5%{opacity:0}63.54%{opacity:0}64.58%{opacity:0}65.63%{opacity:0}66.67%{opacity:0}67.71%{opacity:0}68.75%{opacity:0}69.79%{opacity:0}70.83%{opacity:0}71.88%{opacity:0}72.92%{opacity:0}73.96%{opacity:0}75%{opacity:0}76.04%{opacity:0}77.08%{opacity:0}78.13%{opacity:0}79.17%{opacity:0}80.21%{opacity:0}81.25%{opacity:0}82.29%{opacity:0}83.33%{opacity:0}84.38%{opacity:0}85.42%{opacity:0}86.46%{opacity:0}87.5%{opacity:0}88.54%{opacity:0}89.58%{opacity:0}90.63%{opacity:0}91.67%{opacity:0}92.71%{opacity:0}93.75%{opacity:0}94.79%{opacity:0}95.83%{opacity:0}96.88%{opacity:0}97.92%{opacity:0}98.96%{opacity:0}100%{opacity:0}}@keyframes sw-box-a-bl{0%{opacity:0}1.04%{opacity:0}2.08%{opacity:0}3.13%{opacity:0}4.17%{opacity:0}5.21%{opacity:0}6.25%{opacity:0}7.29%{opacity:0}8.33%{opacity:0}9.38%{opacity:0}10.42%{opacity:0}11.46%{opacity:0}12.5%{opacity:0}13.54%{opacity:0}14.58%{opacity:0}15.63%{opacity:0}16.67%{opacity:0}17.71%{opacity:0}18.75%{opacity:0}19.79%{opacity:0}20.83%{opacity:0.283}21.88%{opacity:0.8}22.92%{opacity:0.283}23.96%{opacity:0}25%{opacity:0.479}26.04%{opacity:0.533}27.08%{opacity:0.564}28.13%{opacity:0.574}29.17%{opacity:0.567}30.21%{opacity:0.546}31.25%{opacity:0.512}32.29%{opacity:0.469}33.33%{opacity:0.419}34.38%{opacity:0.364}35.42%{opacity:0.305}36.46%{opacity:0.246}37.5%{opacity:0.186}38.54%{opacity:0.127}39.58%{opacity:0.071}40.63%{opacity:0.018}41.67%{opacity:0}42.71%{opacity:0}43.75%{opacity:0}44.79%{opacity:0}45.83%{opacity:0}46.88%{opacity:0}47.92%{opacity:0}48.96%{opacity:0}50%{opacity:0}51.04%{opacity:0}52.08%{opacity:0}53.13%{opacity:0}54.17%{opacity:0}55.21%{opacity:0}56.25%{opacity:0}57.29%{opacity:0}58.33%{opacity:0}59.38%{opacity:0}60.42%{opacity:0}61.46%{opacity:0}62.5%{opacity:0}63.54%{opacity:0}64.58%{opacity:0}65.63%{opacity:0}66.67%{opacity:0}67.71%{opacity:0}68.75%{opacity:0}69.79%{opacity:0}70.83%{opacity:0}71.88%{opacity:0}72.92%{opacity:0}73.96%{opacity:0}75%{opacity:0}76.04%{opacity:0}77.08%{opacity:0}78.13%{opacity:0}79.17%{opacity:0}80.21%{opacity:0}81.25%{opacity:0}82.29%{opacity:0}83.33%{opacity:0}84.38%{opacity:0}85.42%{opacity:0}86.46%{opacity:0}87.5%{opacity:0}88.54%{opacity:0}89.58%{opacity:0}90.63%{opacity:0}91.67%{opacity:0}92.71%{opacity:0}93.75%{opacity:0}94.79%{opacity:0}95.83%{opacity:0}96.88%{opacity:0}97.92%{opacity:0}98.96%{opacity:0}100%{opacity:0}}@keyframes sw-box-a-br{0%{opacity:0}1.04%{opacity:0}2.08%{opacity:0}3.13%{opacity:0}4.17%{opacity:0}5.21%{opacity:0}6.25%{opacity:0}7.29%{opacity:0}8.33%{opacity:0}9.38%{opacity:0}10.42%{opacity:0}11.46%{opacity:0}12.5%{opacity:0}13.54%{opacity:0}14.58%{opacity:0}15.63%{opacity:0}16.67%{opacity:0}17.71%{opacity:0}18.75%{opacity:0}19.79%{opacity:0}20.83%{opacity:0}21.88%{opacity:0}22.92%{opacity:0}23.96%{opacity:0}25%{opacity:0}26.04%{opacity:0.229}27.08%{opacity:0.74}28.13%{opacity:0.491}29.17%{opacity:0.067}30.21%{opacity:0}31.25%{opacity:0.614}32.29%{opacity:0.671}33.33%{opacity:0.701}34.38%{opacity:0.707}35.42%{opacity:0.693}36.46%{opacity:0.663}37.5%{opacity:0.618}38.54%{opacity:0.564}39.58%{opacity:0.501}40.63%{opacity:0.434}41.67%{opacity:0.363}42.71%{opacity:0.292}43.75%{opacity:0.221}44.79%{opacity:0.152}45.83%{opacity:0.086}46.88%{opacity:0.025}47.92%{opacity:0}48.96%{opacity:0}50%{opacity:0}51.04%{opacity:0}52.08%{opacity:0}53.13%{opacity:0}54.17%{opacity:0}55.21%{opacity:0}56.25%{opacity:0}57.29%{opacity:0}58.33%{opacity:0}59.38%{opacity:0}60.42%{opacity:0}61.46%{opacity:0}62.5%{opacity:0}63.54%{opacity:0}64.58%{opacity:0}65.63%{opacity:0}66.67%{opacity:0}67.71%{opacity:0}68.75%{opacity:0}69.79%{opacity:0}70.83%{opacity:0}71.88%{opacity:0}72.92%{opacity:0}73.96%{opacity:0}75%{opacity:0}76.04%{opacity:0}77.08%{opacity:0}78.13%{opacity:0}79.17%{opacity:0}80.21%{opacity:0}81.25%{opacity:0}82.29%{opacity:0}83.33%{opacity:0}84.38%{opacity:0}85.42%{opacity:0}86.46%{opacity:0}87.5%{opacity:0}88.54%{opacity:0}89.58%{opacity:0}90.63%{opacity:0}91.67%{opacity:0}92.71%{opacity:0}93.75%{opacity:0}94.79%{opacity:0}95.83%{opacity:0}96.88%{opacity:0}97.92%{opacity:0}98.96%{opacity:0}100%{opacity:0}} +.sw-box.loop .f-tl{animation:sw-boxl-tl 4400ms steps(1,end) infinite}.sw-box.loop .f-tr{animation:sw-boxl-tr 4400ms steps(1,end) infinite}.sw-box.loop .f-bl{animation:sw-boxl-bl 4400ms steps(1,end) infinite}.sw-box.loop .f-br{animation:sw-boxl-br 4400ms steps(1,end) infinite}.sw-box.loop .f-tr.z0{animation:sw-boxl-tr 4400ms steps(1,end) infinite,sw-boxl-tr-z0 4400ms steps(1,end) infinite}.sw-box.loop .f-tr.z1{animation:sw-boxl-tr 4400ms steps(1,end) infinite,sw-boxl-tr-z1 4400ms steps(1,end) infinite}.sw-box.loop .w{animation:sw-boxl-w 4400ms linear infinite}.sw-box.loop .p{animation:sw-boxl-p 4400ms steps(1,end) infinite}@keyframes sw-boxl-tl{0%{transform:matrix(-0.108,-0.786,-1.554,-0.1024,95.82,66.37);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}8.75%{transform:matrix(-0.108,-0.7858,-1.554,-0.1021,95.81,66.36);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}9.38%{transform:matrix(-0.0935,-0.7367,-1.5336,-0.0333,94.56,62.31);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}10%{transform:matrix(0.0158,-0.4919,-1.3803,0.3101,85.11,42.18);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}10.63%{transform:matrix(0.096,-0.3435,-1.2679,0.5182,78.18,29.71);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}11.25%{transform:matrix(0.1177,-0.3009,-1.2374,0.578,76.3,26.02);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}11.88%{transform:matrix(0.2351,-0.1173,-1.0728,0.8355,66.15,10.14);fill:var(--sw-under);stroke-width:calc(0.235 * var(--sw-gap-w) + 0.235 * var(--sw-ramp-w))}12.5%{transform:matrix(0.376,0.0422,-0.8751,1.0592,53.96,-3.65);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}13.13%{transform:matrix(0.5226,0.1608,-0.6696,1.2255,41.29,-13.91);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}13.75%{transform:matrix(0.6584,0.2317,-0.4791,1.325,29.54,-20.04);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}14.38%{transform:matrix(0.7727,0.2575,-0.3187,1.3612,19.65,-22.27);fill:color-mix(in srgb,var(--sw-under) 46.2%,var(--c));stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}15%{transform:matrix(0.8608,0.2471,-0.1953,1.3465,12.04,-21.37);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}15.63%{transform:matrix(0.9229,0.2117,-0.1081,1.297,6.66,-18.31);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}16.25%{transform:matrix(0.9629,0.1624,-0.052,1.2278,3.21,-14.05);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}16.88%{transform:matrix(0.9858,0.1082,-0.0199,1.1517,1.23,-9.35);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}17.5%{transform:matrix(0.9967,0.0553,-0.0047,1.0776,0.29,-4.78);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.552 * var(--sw-ramp-w))}18.13%{transform:matrix(0.9999,0.0079,-0.0001,1.0111,0.01,-0.69);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.076 * var(--sw-ramp-w))}18.75%{transform:matrix(0.999,-0.0319,-0.0014,0.9553,0.08,2.76);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.298 * var(--sw-ramp-w))}19.38%{transform:matrix(0.9963,-0.0633,-0.0052,0.9112,0.32,5.48);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.581 * var(--sw-ramp-w))}20%{transform:matrix(0.9933,-0.0866,-0.0095,0.8786,0.58,7.48);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.784 * var(--sw-ramp-w))}20.63%{transform:matrix(0.9907,-0.1022,-0.013,0.8566,0.8,8.84);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.919 * var(--sw-ramp-w))}21.25%{transform:matrix(0.9891,-0.1113,-0.0153,0.8439,0.94,9.63);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.997 * var(--sw-ramp-w))}21.88%{transform:matrix(0.9885,-0.1149,-0.0162,0.8389,1,9.93);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}22.5%{transform:matrix(0.9886,-0.1139,-0.0159,0.8402,0.98,9.85);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}23.13%{transform:matrix(0.9894,-0.1096,-0.0148,0.8463,0.91,9.47);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.982 * var(--sw-ramp-w))}23.75%{transform:matrix(0.9907,-0.1026,-0.0131,0.856,0.81,8.88);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.923 * var(--sw-ramp-w))}24.38%{transform:matrix(0.9921,-0.094,-0.0111,0.8682,0.68,8.13);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.848 * var(--sw-ramp-w))}25%{transform:matrix(0.9936,-0.0843,-0.009,0.8818,0.55,7.29);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.765 * var(--sw-ramp-w))}25.63%{transform:matrix(0.995,-0.0741,-0.007,0.8961,0.43,6.41);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.676 * var(--sw-ramp-w))}26.25%{transform:matrix(0.9962,-0.0639,-0.0053,0.9104,0.33,5.53);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.586 * var(--sw-ramp-w))}26.88%{transform:matrix(0.9973,-0.054,-0.0038,0.9243,0.24,4.67);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.498 * var(--sw-ramp-w))}27.5%{transform:matrix(0.9981,-0.0446,-0.0026,0.9374,0.16,3.86);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.414 * var(--sw-ramp-w))}28.13%{transform:matrix(0.9988,-0.036,-0.0017,0.9495,0.11,3.11);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.336 * var(--sw-ramp-w))}28.75%{transform:matrix(0.9992,-0.0282,-0.0011,0.9604,0.07,2.44);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.264 * var(--sw-ramp-w))}29.38%{transform:matrix(0.9996,-0.0213,-0.0006,0.9701,0.04,1.84);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.201 * var(--sw-ramp-w))}30%{transform:matrix(0.9998,-0.0153,-0.0003,0.9785,0.02,1.33);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.145 * var(--sw-ramp-w))}30.63%{transform:matrix(0.9999,-0.0102,-0.0001,0.9857,0.01,0.88);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.097 * var(--sw-ramp-w))}31.25%{transform:matrix(1,-0.0059,0,0.9917,0,0.51);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.056 * var(--sw-ramp-w))}31.88%{transform:matrix(1,-0.0024,0,0.9966,0,0.21);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.023 * var(--sw-ramp-w))}32.5%{transform:none;fill:var(--c);stroke-width:0}62.5%{transform:matrix(1,0.0006,0,1.0008,0,-0.05);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.006 * var(--sw-ramp-w))}63.13%{transform:matrix(1,0.0067,-0.0001,1.0094,0,-0.58);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.064 * var(--sw-ramp-w))}63.75%{transform:matrix(0.9994,0.0248,-0.0009,1.0348,0.06,-2.15);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.242 * var(--sw-ramp-w))}64.38%{transform:matrix(0.996,0.0602,-0.0056,1.0845,0.35,-5.21);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.604 * var(--sw-ramp-w))}65%{transform:matrix(0.9838,0.1146,-0.0227,1.1607,1.4,-9.91);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}65.63%{transform:matrix(0.9502,0.182,-0.0699,1.2553,4.31,-15.74);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}66.25%{transform:matrix(0.874,0.2421,-0.1767,1.3396,10.9,-20.94);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}66.88%{transform:matrix(0.7288,0.2519,-0.3803,1.3533,23.45,-21.78);fill:color-mix(in srgb,var(--sw-under) 79.3%,var(--c));stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}67.5%{transform:matrix(0.4987,0.1445,-0.7031,1.2026,43.35,-12.49);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}68.13%{transform:matrix(0.2686,-0.0746,-1.0258,0.8954,63.25,6.45);fill:var(--sw-under);stroke-width:calc(0.547 * var(--sw-gap-w) + 0.547 * var(--sw-ramp-w))}68.75%{transform:matrix(0.1234,-0.2903,-1.2294,0.5929,75.8,25.1);fill:var(--alt);stroke-width:calc(0.946 * var(--sw-gap-w) + 0.946 * var(--sw-ramp-w))}69.38%{transform:matrix(0.0339,-0.4615,-1.355,0.3528,83.55,39.68);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}70%{transform:matrix(-0.0387,-0.5971,-1.4568,0.1625,89.83,50.82);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}70.63%{transform:matrix(-0.0779,-0.6915,-1.5118,0.0302,93.21,58.58);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}71.25%{transform:matrix(-0.0971,-0.7481,-1.5387,-0.0492,94.87,63.25);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}71.88%{transform:matrix(-0.1052,-0.7759,-1.5501,-0.0883,95.58,65.54);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}72.5%{transform:matrix(-0.1078,-0.7851,-1.5537,-0.1011,95.8,66.3);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}73.13%{transform:matrix(-0.108,-0.786,-1.554,-0.1024,95.82,66.37);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}100%{transform:matrix(-0.108,-0.786,-1.554,-0.1024,95.82,66.37);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}}@keyframes sw-boxl-tr{0%{transform:matrix(-0.0637,0.8176,1.6165,-0.0578,47.84,-44.41);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}3.13%{transform:matrix(-0.0628,0.8117,1.6136,-0.0508,47.86,-44.06);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}3.75%{transform:matrix(-0.0554,0.7681,1.5904,0.0013,47.92,-41.47);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}4.38%{transform:matrix(-0.0267,0.6487,1.5147,0.1434,47.68,-34.36);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}5%{transform:matrix(0.0429,0.4598,1.3579,0.3662,46.21,-23.01);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}5.63%{transform:matrix(0.0862,0.3641,1.2816,0.4893,44.6,-17.77);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}6.25%{transform:matrix(0.1016,0.3321,1.26,0.5342,43.85,-16.21);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}6.88%{transform:matrix(0.1086,0.3184,1.2503,0.5534,43.51,-15.54);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}7.5%{transform:matrix(0.211,0.1502,1.1066,0.7894,38.51,-7.33);fill:var(--sw-under);stroke-width:calc(0.001 * var(--sw-gap-w) + 0.001 * var(--sw-ramp-w))}8.13%{transform:matrix(0.3355,-0.0015,0.9319,1.0021,32.43,0.07);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}8.75%{transform:matrix(0.4688,-0.1223,0.745,1.1716,25.93,5.97);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}9.38%{transform:matrix(0.5978,-0.2049,0.5642,1.2873,19.63,10);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}10%{transform:matrix(0.7124,-0.2483,0.4034,1.3483,14.04,12.12);fill:color-mix(in srgb,var(--sw-under) 88.7%,var(--c));stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}10.63%{transform:matrix(0.8069,-0.2574,0.2709,1.361,9.43,12.56);fill:color-mix(in srgb,var(--sw-under) 19.5%,var(--c));stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}11.25%{transform:matrix(0.8794,-0.2398,0.1692,1.3363,5.89,11.71);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}11.88%{transform:matrix(0.9311,-0.2041,0.0967,1.2863,3.36,9.96);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}12.5%{transform:matrix(0.9652,-0.1584,0.0488,1.2222,1.7,7.73);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}13.13%{transform:matrix(0.9855,-0.1091,0.0203,1.1529,0.71,5.32);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}13.75%{transform:matrix(0.9959,-0.0608,0.0057,1.0853,0.2,2.97);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.61 * var(--sw-ramp-w))}14.38%{transform:matrix(0.9997,-0.0169,0.0004,1.0237,0.01,0.82);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.163 * var(--sw-ramp-w))}15%{transform:matrix(0.9996,0.0211,0.0006,0.9705,0.02,-1.03);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.198 * var(--sw-ramp-w))}15.63%{transform:matrix(0.9974,0.0522,0.0036,0.9268,0.12,-2.55);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.482 * var(--sw-ramp-w))}16.25%{transform:matrix(0.9947,0.0764,0.0075,0.8928,0.26,-3.73);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.696 * var(--sw-ramp-w))}16.88%{transform:matrix(0.9921,0.0942,0.0111,0.8679,0.39,-4.6);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.85 * var(--sw-ramp-w))}17.5%{transform:matrix(0.9901,0.106,0.0139,0.8513,0.48,-5.17);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.951 * var(--sw-ramp-w))}18.13%{transform:matrix(0.9889,0.1127,0.0156,0.842,0.54,-5.5);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}18.75%{transform:matrix(0.9884,0.115,0.0162,0.8387,0.56,-5.61);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}19.38%{transform:matrix(0.9887,0.1138,0.0159,0.8404,0.55,-5.55);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}20%{transform:matrix(0.9894,0.1097,0.0149,0.8461,0.52,-5.36);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.983 * var(--sw-ramp-w))}20.63%{transform:matrix(0.9905,0.1036,0.0133,0.8547,0.46,-5.06);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.931 * var(--sw-ramp-w))}21.25%{transform:matrix(0.9918,0.096,0.0115,0.8654,0.4,-4.68);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.865 * var(--sw-ramp-w))}21.88%{transform:matrix(0.9931,0.0874,0.0096,0.8775,0.34,-4.26);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.791 * var(--sw-ramp-w))}22.5%{transform:matrix(0.9944,0.0782,0.0078,0.8903,0.27,-3.82);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.712 * var(--sw-ramp-w))}23.13%{transform:matrix(0.9956,0.0689,0.0061,0.9033,0.21,-3.36);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.63 * var(--sw-ramp-w))}23.75%{transform:matrix(0.9967,0.0597,0.0046,0.9162,0.16,-2.92);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.549 * var(--sw-ramp-w))}24.38%{transform:matrix(0.9976,0.0509,0.0034,0.9286,0.12,-2.48);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.47 * var(--sw-ramp-w))}25%{transform:matrix(0.9983,0.0426,0.0024,0.9403,0.08,-2.08);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.395 * var(--sw-ramp-w))}25.63%{transform:matrix(0.9988,0.0349,0.0016,0.9511,0.06,-1.7);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.326 * var(--sw-ramp-w))}26.25%{transform:matrix(0.9992,0.0279,0.0011,0.9609,0.04,-1.36);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.261 * var(--sw-ramp-w))}26.88%{transform:matrix(0.9995,0.0216,0.0006,0.9697,0.02,-1.06);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.204 * var(--sw-ramp-w))}27.5%{transform:matrix(0.9997,0.0161,0.0004,0.9774,0.01,-0.79);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.152 * var(--sw-ramp-w))}28.13%{transform:matrix(0.9999,0.0113,0.0002,0.9841,0.01,-0.55);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.107 * var(--sw-ramp-w))}28.75%{transform:matrix(0.9999,0.0072,0.0001,0.9899,0,-0.35);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.069 * var(--sw-ramp-w))}29.38%{transform:matrix(1,0.0038,0,0.9947,0,-0.18);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.036 * var(--sw-ramp-w))}30%{transform:matrix(1,0.0009,0,0.9987,0,-0.05);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.009 * var(--sw-ramp-w))}30.63%{transform:none;fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0 * var(--sw-ramp-w))}32.5%{transform:none;fill:var(--c);stroke-width:0}62.5%{transform:none;fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0 * var(--sw-ramp-w))}73.75%{transform:matrix(1,-0.002,0,1.0028,0,0.1);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.019 * var(--sw-ramp-w))}74.38%{transform:matrix(0.9998,-0.0122,0.0002,1.0171,0.01,0.59);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.117 * var(--sw-ramp-w))}75%{transform:matrix(0.9986,-0.0367,0.002,1.0515,0.07,1.79);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.361 * var(--sw-ramp-w))}75.63%{transform:matrix(0.9927,-0.0798,0.0102,1.1119,0.36,3.9);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.815 * var(--sw-ramp-w))}76.25%{transform:matrix(0.9739,-0.1407,0.0366,1.1974,1.27,6.87);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}76.88%{transform:matrix(0.9262,-0.2088,0.1034,1.2928,3.6,10.19);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}77.5%{transform:matrix(0.8256,-0.2554,0.2445,1.3582,8.51,12.47);fill:color-mix(in srgb,var(--sw-under) 7.8%,var(--c));stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}78.13%{transform:matrix(0.6468,-0.2272,0.4954,1.3186,17.24,11.09);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}78.75%{transform:matrix(0.3969,-0.0618,0.8459,1.0866,29.44,3.02);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}79.38%{transform:matrix(0.2007,0.165,1.1211,0.7686,39.02,-8.05);fill:var(--alt);stroke-width:calc(0.102 * var(--sw-gap-w) + 0.102 * var(--sw-ramp-w))}80%{transform:matrix(0.0862,0.3641,1.2816,0.4893,44.6,-17.77);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}80.63%{transform:matrix(0.0135,0.5302,1.4219,0.2837,46.9,-27.26);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}81.25%{transform:matrix(-0.0298,0.6596,1.5223,0.1305,47.72,-35.01);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}81.88%{transform:matrix(-0.0507,0.7444,1.5767,0.0295,47.92,-40.06);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}82.5%{transform:matrix(-0.0596,0.7918,1.6033,-0.0271,47.9,-42.88);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}83.13%{transform:matrix(-0.0629,0.8125,1.614,-0.0517,47.86,-44.11);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}83.75%{transform:matrix(-0.0636,0.8175,1.6165,-0.0576,47.84,-44.41);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}84.38%{transform:matrix(-0.0637,0.8176,1.6165,-0.0578,47.84,-44.41);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}100%{transform:matrix(-0.0637,0.8176,1.6165,-0.0578,47.84,-44.41);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}}@keyframes sw-boxl-bl{0%{transform:matrix(-0.0717,0.8073,1.6211,-0.061,-58.29,31.95);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}6.88%{transform:matrix(-0.0717,0.8074,1.6211,-0.061,-58.29,31.95);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}7.5%{transform:matrix(-0.0603,0.8357,1.5892,-0.1123,-56.72,34.26);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}8.13%{transform:matrix(0.0499,0.9068,1.3478,-0.2735,-45.89,42.86);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}8.75%{transform:matrix(0.1006,0.9357,1.2686,-0.3197,-42.98,44.71);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}9.38%{transform:matrix(0.1766,0.96,1.1614,-0.354,-39.34,45.87);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}10%{transform:matrix(0.3446,0.933,0.9244,-0.3159,-31.31,44.58);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}10.63%{transform:matrix(0.5393,0.8181,0.6498,-0.1539,-22.01,39.09);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}11.25%{transform:matrix(0.721,0.6404,0.3934,0.0968,-13.33,30.6);fill:var(--alt);stroke-width:calc(0.607 * var(--sw-gap-w) + 0.607 * var(--sw-ramp-w))}11.88%{transform:matrix(0.8606,0.441,0.1966,0.378,-6.66,21.07);fill:var(--c);stroke-width:calc(0.795 * var(--sw-gap-w) + 0.795 * var(--sw-ramp-w))}12.5%{transform:matrix(0.9479,0.2565,0.0734,0.6382,-2.49,12.26);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}13.13%{transform:matrix(0.9896,0.1077,0.0146,0.8481,-0.5,5.14);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.973 * var(--sw-ramp-w))}13.75%{transform:matrix(1,-0.0007,0,1.0009,0,-0.03);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.006 * var(--sw-ramp-w))}14.38%{transform:matrix(0.9938,-0.0732,0.0087,1.1032,-0.29,-3.5);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.749 * var(--sw-ramp-w))}15%{transform:matrix(0.9823,-0.1183,0.025,1.1668,-0.85,-5.65);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}15.63%{transform:matrix(0.972,-0.1437,0.0395,1.2027,-1.34,-6.87);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}16.25%{transform:matrix(0.966,-0.1555,0.0479,1.2194,-1.62,-7.43);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}16.88%{transform:matrix(0.9649,-0.1576,0.0496,1.2223,-1.68,-7.53);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}17.5%{transform:matrix(0.9677,-0.1524,0.0456,1.215,-1.55,-7.28);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}18.13%{transform:matrix(0.9729,-0.1416,0.0382,1.1998,-1.29,-6.77);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}18.75%{transform:matrix(0.9793,-0.1266,0.0293,1.1785,-0.99,-6.05);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}19.38%{transform:matrix(0.9854,-0.1085,0.0206,1.153,-0.7,-5.18);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}20%{transform:matrix(0.9907,-0.0887,0.0132,1.1251,-0.45,-4.24);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.923 * var(--sw-ramp-w))}20.63%{transform:matrix(0.9946,-0.0685,0.0076,1.0966,-0.26,-3.27);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.698 * var(--sw-ramp-w))}21.25%{transform:matrix(0.9974,-0.049,0.0037,1.0692,-0.13,-2.34);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.491 * var(--sw-ramp-w))}21.88%{transform:matrix(0.999,-0.0312,0.0015,1.044,-0.05,-1.49);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.307 * var(--sw-ramp-w))}22.5%{transform:matrix(0.9997,-0.0157,0.0004,1.0222,-0.01,-0.75);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.153 * var(--sw-ramp-w))}23.13%{transform:matrix(1,-0.003,0,1.0042,0,-0.14);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.029 * var(--sw-ramp-w))}23.75%{transform:matrix(1,0.0069,0.0001,0.9903,0,0.33);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.066 * var(--sw-ramp-w))}24.38%{transform:matrix(0.9998,0.0138,0.0003,0.9805,-0.01,0.66);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.132 * var(--sw-ramp-w))}25%{transform:matrix(0.9997,0.0182,0.0005,0.9744,-0.02,0.87);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.173 * var(--sw-ramp-w))}25.63%{transform:matrix(0.9996,0.0202,0.0006,0.9716,-0.02,0.96);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.191 * var(--sw-ramp-w))}26.25%{transform:matrix(0.9996,0.0202,0.0006,0.9715,-0.02,0.97);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.192 * var(--sw-ramp-w))}26.88%{transform:matrix(0.9997,0.0187,0.0005,0.9737,-0.02,0.89);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.177 * var(--sw-ramp-w))}27.5%{transform:matrix(0.9997,0.016,0.0004,0.9775,-0.01,0.76);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.152 * var(--sw-ramp-w))}28.13%{transform:matrix(0.9998,0.0124,0.0002,0.9825,-0.01,0.59);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.118 * var(--sw-ramp-w))}28.75%{transform:matrix(0.9999,0.0082,0.0001,0.9884,0,0.39);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.079 * var(--sw-ramp-w))}29.38%{transform:matrix(1,0.0037,0,0.9947,0,0.18);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.036 * var(--sw-ramp-w))}30%{transform:none;fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0 * var(--sw-ramp-w))}32.5%{transform:none;fill:var(--c);stroke-width:0}62.5%{transform:none;fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0 * var(--sw-ramp-w))}68.13%{transform:matrix(1,0.0011,0,0.9984,0,0.05);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.011 * var(--sw-ramp-w))}68.75%{transform:matrix(0.9999,0.0092,0.0001,0.987,0,0.44);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.088 * var(--sw-ramp-w))}69.38%{transform:matrix(0.999,0.0315,0.0014,0.9555,-0.05,1.51);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.297 * var(--sw-ramp-w))}70%{transform:matrix(0.9945,0.0768,0.0077,0.8917,-0.26,3.67);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.704 * var(--sw-ramp-w))}70.63%{transform:matrix(0.9793,0.1555,0.0292,0.7806,-0.99,7.43);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}71.25%{transform:matrix(0.939,0.2798,0.086,0.6054,-2.91,13.37);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}71.88%{transform:matrix(0.851,0.4573,0.2101,0.3549,-7.12,21.85);fill:var(--c);stroke-width:calc(0.687 * var(--sw-gap-w) + 0.687 * var(--sw-ramp-w))}72.5%{transform:matrix(0.6889,0.6773,0.4387,0.0447,-14.86,32.36);fill:var(--alt);stroke-width:calc(0.888 * var(--sw-gap-w) + 0.888 * var(--sw-ramp-w))}73.13%{transform:matrix(0.4452,0.8832,0.7825,-0.2457,-26.51,42.2);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}73.75%{transform:matrix(0.2313,0.9607,1.0842,-0.3549,-36.73,45.9);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}74.38%{transform:matrix(0.1017,0.9363,1.267,-0.3206,-42.92,44.74);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}75%{transform:matrix(0.0227,0.9036,1.4033,-0.2569,-48.3,41.67);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}75.63%{transform:matrix(-0.0288,0.8776,1.5137,-0.1933,-53.21,38.14);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}76.25%{transform:matrix(-0.0545,0.8463,1.5744,-0.1318,-56.02,35.17);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}76.88%{transform:matrix(-0.066,0.8231,1.6046,-0.0893,-57.47,33.22);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}77.5%{transform:matrix(-0.0704,0.8111,1.6174,-0.0678,-58.1,32.25);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}78.13%{transform:matrix(-0.0716,0.8075,1.6209,-0.0614,-58.28,31.97);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}78.75%{transform:matrix(-0.0717,0.8073,1.6211,-0.061,-58.29,31.95);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}100%{transform:matrix(-0.0717,0.8073,1.6211,-0.061,-58.29,31.95);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}}@keyframes sw-boxl-br{0%{transform:matrix(-0.1103,-0.7799,-1.566,-0.1,203.27,141.18);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}8.75%{transform:matrix(-0.1103,-0.78,-1.566,-0.1002,203.26,141.2);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}9.38%{transform:matrix(-0.0958,-0.8083,-1.5455,-0.1401,200.6,146.58);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}10%{transform:matrix(0.0138,-0.8974,-1.391,-0.2657,180.55,163.92);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}10.63%{transform:matrix(0.0941,-0.9318,-1.2777,-0.3142,165.84,170.58);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}11.25%{transform:matrix(0.118,-0.9444,-1.244,-0.3321,161.47,172.9);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}11.88%{transform:matrix(0.2659,-0.9559,-1.0354,-0.3482,134.39,174.99);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}12.5%{transform:matrix(0.4572,-0.8759,-0.7656,-0.2354,99.38,160.35);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}13.13%{transform:matrix(0.652,-0.7166,-0.4908,-0.0108,63.71,131.2);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}13.75%{transform:matrix(0.8132,-0.5174,-0.2635,0.2703,34.2,94.71);fill:var(--c);stroke-width:calc(0.278 * var(--sw-gap-w) + 0.278 * var(--sw-ramp-w))}14.38%{transform:matrix(0.9219,-0.3206,-0.1102,0.5478,14.3,58.69);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}15%{transform:matrix(0.9795,-0.1549,-0.029,0.7815,3.76,28.36);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}15.63%{transform:matrix(0.9991,-0.0309,-0.0013,0.9565,0.17,5.65);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.291 * var(--sw-ramp-w))}16.25%{transform:matrix(0.9968,0.0538,-0.0045,1.0759,0.59,-9.86);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.541 * var(--sw-ramp-w))}16.88%{transform:matrix(0.9858,0.1073,-0.0201,1.1514,2.61,-19.65);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}17.5%{transform:matrix(0.9745,0.1382,-0.036,1.195,4.67,-25.31);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}18.13%{transform:matrix(0.9671,0.1535,-0.0464,1.2166,6.03,-28.11);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}18.75%{transform:matrix(0.9647,0.1579,-0.0497,1.2227,6.46,-28.9);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}19.38%{transform:matrix(0.9668,0.1541,-0.0469,1.2174,6.08,-28.22);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}20%{transform:matrix(0.9717,0.1443,-0.0399,1.2035,5.18,-26.41);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}20.63%{transform:matrix(0.978,0.1297,-0.031,1.1829,4.02,-23.74);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}21.25%{transform:matrix(0.9844,0.1118,-0.022,1.1576,2.86,-20.46);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}21.88%{transform:matrix(0.9899,0.0918,-0.0142,1.1295,1.85,-16.81);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.958 * var(--sw-ramp-w))}22.5%{transform:matrix(0.9942,0.0713,-0.0082,1.1005,1.07,-13.05);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.728 * var(--sw-ramp-w))}23.13%{transform:matrix(0.9971,0.0513,-0.0041,1.0724,0.53,-9.39);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.514 * var(--sw-ramp-w))}23.75%{transform:matrix(0.9988,0.0329,-0.0016,1.0464,0.21,-6.03);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.325 * var(--sw-ramp-w))}24.38%{transform:matrix(0.9997,0.0169,-0.0004,1.0239,0.05,-3.1);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.165 * var(--sw-ramp-w))}25%{transform:matrix(1,0.0037,0,1.0053,0,-0.68);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.036 * var(--sw-ramp-w))}25.63%{transform:matrix(1,-0.0064,-0.0001,0.9909,0.01,1.18);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.062 * var(--sw-ramp-w))}26.25%{transform:matrix(0.9998,-0.0137,-0.0003,0.9807,0.03,2.5);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.13 * var(--sw-ramp-w))}26.88%{transform:matrix(0.9997,-0.0181,-0.0005,0.9744,0.06,3.32);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.172 * var(--sw-ramp-w))}27.5%{transform:matrix(0.9996,-0.0202,-0.0006,0.9716,0.07,3.69);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.191 * var(--sw-ramp-w))}28.13%{transform:matrix(0.9996,-0.0202,-0.0006,0.9715,0.07,3.7);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.192 * var(--sw-ramp-w))}28.75%{transform:matrix(0.9997,-0.0186,-0.0005,0.9738,0.06,3.4);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.177 * var(--sw-ramp-w))}29.38%{transform:matrix(0.9998,-0.0158,-0.0004,0.9777,0.05,2.89);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.15 * var(--sw-ramp-w))}30%{transform:matrix(0.9999,-0.0121,-0.0002,0.9829,0.03,2.21);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.115 * var(--sw-ramp-w))}30.63%{transform:matrix(0.9999,-0.0078,-0.0001,0.9889,0.01,1.43);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.075 * var(--sw-ramp-w))}31.25%{transform:matrix(1,-0.0033,0,0.9954,0,0.6);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.031 * var(--sw-ramp-w))}31.88%{transform:none;fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0 * var(--sw-ramp-w))}32.5%{transform:none;fill:var(--c);stroke-width:0}62.5%{transform:matrix(1,-0.0006,0,0.9992,0,0.11);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.006 * var(--sw-ramp-w))}63.13%{transform:matrix(1,-0.0067,-0.0001,0.9905,0.01,1.23);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.064 * var(--sw-ramp-w))}63.75%{transform:matrix(0.9994,-0.0255,-0.0009,0.964,0.12,4.68);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.242 * var(--sw-ramp-w))}64.38%{transform:matrix(0.996,-0.0654,-0.0057,0.9077,0.73,11.97);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.604 * var(--sw-ramp-w))}65%{transform:matrix(0.9838,-0.1365,-0.0229,0.8074,2.97,24.99);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}65.63%{transform:matrix(0.9501,-0.2508,-0.0705,0.6463,9.14,45.91);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}66.25%{transform:matrix(0.8737,-0.4176,-0.1781,0.4109,23.11,76.46);fill:var(--c);stroke-width:calc(0.949 * var(--sw-gap-w) + 0.949 * var(--sw-ramp-w))}66.88%{transform:matrix(0.7283,-0.6317,-0.3832,0.109,49.74,115.64);fill:var(--alt);stroke-width:calc(0.542 * var(--sw-gap-w) + 0.542 * var(--sw-ramp-w))}67.5%{transform:matrix(0.4977,-0.8491,-0.7085,-0.1975,91.96,155.44);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}68.13%{transform:matrix(0.2671,-0.9557,-1.0337,-0.3479,134.18,174.95);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}68.75%{transform:matrix(0.1216,-0.946,-1.2389,-0.3342,160.81,173.18);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}69.38%{transform:matrix(0.0319,-0.9022,-1.3655,-0.2724,177.24,164.93);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}70%{transform:matrix(-0.0409,-0.8698,-1.4681,-0.2268,190.56,158.41);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}70.63%{transform:matrix(-0.0801,-0.8313,-1.5235,-0.1725,197.74,150.98);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}71.25%{transform:matrix(-0.0993,-0.8021,-1.5505,-0.1313,201.26,145.39);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}71.88%{transform:matrix(-0.1076,-0.786,-1.5621,-0.1086,202.76,142.34);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}72.5%{transform:matrix(-0.1101,-0.7805,-1.5657,-0.1008,203.22,141.29);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}73.13%{transform:matrix(-0.1103,-0.7799,-1.566,-0.1,203.27,141.18);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}100%{transform:matrix(-0.1103,-0.7799,-1.566,-0.1,203.27,141.18);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}}@keyframes sw-boxl-tr-z0{0%{opacity:0}8.75%{opacity:1}78.75%{opacity:0}100%{opacity:0}}@keyframes sw-boxl-tr-z1{0%{opacity:1}8.75%{opacity:0}78.75%{opacity:1}100%{opacity:1}}@keyframes sw-boxl-p{0%{opacity:1}32.5%{opacity:0}62.5%{opacity:1}100%{opacity:1}}@keyframes sw-boxl-w{0%{opacity:0}0.63%{opacity:0}1.25%{opacity:0}1.88%{opacity:0}2.5%{opacity:0}3.13%{opacity:0}3.75%{opacity:0}4.38%{opacity:0}5%{opacity:0}5.63%{opacity:0.026}6.25%{opacity:0.056}6.88%{opacity:0.069}7.5%{opacity:0.273}8.13%{opacity:0.669}8.75%{opacity:0.924}9.38%{opacity:1}10%{opacity:1}10.63%{opacity:1}11.25%{opacity:1}11.88%{opacity:1}12.5%{opacity:1}13.13%{opacity:1}13.75%{opacity:1}14.38%{opacity:0.822}15%{opacity:0.425}15.63%{opacity:0.107}16.25%{opacity:0}16.88%{opacity:0}17.5%{opacity:0}18.13%{opacity:0}18.75%{opacity:0}19.38%{opacity:0}20%{opacity:0}20.63%{opacity:0}21.25%{opacity:0}21.88%{opacity:0}22.5%{opacity:0}23.13%{opacity:0}23.75%{opacity:0}24.38%{opacity:0}25%{opacity:0}25.63%{opacity:0}26.25%{opacity:0}26.88%{opacity:0}27.5%{opacity:0}28.13%{opacity:0}28.75%{opacity:0}29.38%{opacity:0}30%{opacity:0}30.63%{opacity:0}31.25%{opacity:0}31.88%{opacity:0}32.5%{opacity:0}33.13%{opacity:0}33.75%{opacity:0}34.38%{opacity:0}35%{opacity:0}35.63%{opacity:0}36.25%{opacity:0}36.88%{opacity:0}37.5%{opacity:0}38.13%{opacity:0}38.75%{opacity:0}39.38%{opacity:0}40%{opacity:0}40.63%{opacity:0}41.25%{opacity:0}41.88%{opacity:0}42.5%{opacity:0}43.13%{opacity:0}43.75%{opacity:0}44.38%{opacity:0}45%{opacity:0}45.63%{opacity:0}46.25%{opacity:0}46.88%{opacity:0}47.5%{opacity:0}48.13%{opacity:0}48.75%{opacity:0}49.38%{opacity:0}50%{opacity:0}50.63%{opacity:0}51.25%{opacity:0}51.88%{opacity:0}52.5%{opacity:0}53.13%{opacity:0}53.75%{opacity:0}54.38%{opacity:0}55%{opacity:0}55.63%{opacity:0}56.25%{opacity:0}56.88%{opacity:0}57.5%{opacity:0}58.13%{opacity:0}58.75%{opacity:0}59.38%{opacity:0}60%{opacity:0}60.63%{opacity:0}61.25%{opacity:0}61.88%{opacity:0}62.5%{opacity:0.001}63.13%{opacity:0.015}63.75%{opacity:0.058}64.38%{opacity:0.145}65%{opacity:0.292}65.63%{opacity:0.515}66.25%{opacity:0.831}66.88%{opacity:1}67.5%{opacity:1}68.13%{opacity:1}68.75%{opacity:1}69.38%{opacity:1}70%{opacity:1}70.63%{opacity:1}71.25%{opacity:1}71.88%{opacity:1}72.5%{opacity:1}73.13%{opacity:1}73.75%{opacity:1}74.38%{opacity:1}75%{opacity:1}75.63%{opacity:1}76.25%{opacity:1}76.88%{opacity:1}77.5%{opacity:0.992}78.13%{opacity:0.752}78.75%{opacity:0.463}79.38%{opacity:0.215}80%{opacity:0.026}80.63%{opacity:0}81.25%{opacity:0}81.88%{opacity:0}82.5%{opacity:0}83.13%{opacity:0}83.75%{opacity:0}84.38%{opacity:0}85%{opacity:0}85.63%{opacity:0}86.25%{opacity:0}86.88%{opacity:0}87.5%{opacity:0}88.13%{opacity:0}88.75%{opacity:0}89.38%{opacity:0}90%{opacity:0}90.63%{opacity:0}91.25%{opacity:0}91.88%{opacity:0}92.5%{opacity:0}93.13%{opacity:0}93.75%{opacity:0}94.38%{opacity:0}95%{opacity:0}95.63%{opacity:0}96.25%{opacity:0}96.88%{opacity:0}97.5%{opacity:0}98.13%{opacity:0}98.75%{opacity:0}99.38%{opacity:0}100%{opacity:0}} +.sw-box.hov .f-tl{animation:sw-boxh-tl 2200ms steps(1,end) both}.sw-box.hov .f-tr{animation:sw-boxh-tr 2200ms steps(1,end) both}.sw-box.hov .f-bl{animation:sw-boxh-bl 2200ms steps(1,end) both}.sw-box.hov .f-br{animation:sw-boxh-br 2200ms steps(1,end) both}.sw-box.hov .f-tr.z0{animation:sw-boxh-tr 2200ms steps(1,end) both,sw-boxh-tr-z0 2200ms steps(1,end) both}.sw-box.hov .f-tr.z1{animation:sw-boxh-tr 2200ms steps(1,end) both,sw-boxh-tr-z1 2200ms steps(1,end) both}.sw-box.hov .w{animation:sw-boxh-w 2200ms linear both}.sw-box.hov .p{animation:sw-boxh-p 2200ms steps(1,end) both}@keyframes sw-boxh-tl{0%{transform:none;fill:var(--c);stroke-width:0}0.76%{transform:matrix(1,0.0011,0,1.0015,0,-0.09);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.01 * var(--sw-ramp-w))}1.52%{transform:matrix(0.9999,0.0086,-0.0001,1.012,0.01,-0.74);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.082 * var(--sw-ramp-w))}2.27%{transform:matrix(0.9992,0.0285,-0.0012,1.0399,0.07,-2.46);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.278 * var(--sw-ramp-w))}3.03%{transform:matrix(0.9952,0.0654,-0.0067,1.0917,0.41,-5.65);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.658 * var(--sw-ramp-w))}3.79%{transform:matrix(0.9819,0.1202,-0.0253,1.1686,1.56,-10.4);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}4.55%{transform:matrix(0.9467,0.1866,-0.0748,1.2617,4.61,-16.14);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}5.3%{transform:matrix(0.8692,0.2441,-0.1834,1.3423,11.31,-21.11);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}6.06%{transform:matrix(0.7247,0.2511,-0.3862,1.3521,23.81,-21.71);fill:color-mix(in srgb,var(--sw-under) 81.9%,var(--c));stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}6.82%{transform:matrix(0.4987,0.1445,-0.7031,1.2026,43.35,-12.49);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}7.58%{transform:matrix(0.2728,-0.0695,-1.0199,0.9025,62.89,6.01);fill:var(--sw-under);stroke-width:calc(0.584 * var(--sw-gap-w) + 0.584 * var(--sw-ramp-w))}8.33%{transform:matrix(0.1282,-0.2816,-1.2227,0.6051,75.39,24.35);fill:var(--alt);stroke-width:calc(0.889 * var(--sw-gap-w) + 0.889 * var(--sw-ramp-w))}9.09%{transform:matrix(0.0403,-0.4511,-1.346,0.3673,82.99,38.83);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}9.85%{transform:matrix(-0.0338,-0.5867,-1.45,0.1771,89.4,49.96);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}10.61%{transform:matrix(-0.0747,-0.683,-1.5074,0.0421,92.94,57.88);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}11.36%{transform:matrix(-0.0953,-0.7424,-1.5362,-0.0413,94.72,62.78);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}12.12%{transform:matrix(-0.1044,-0.7731,-1.549,-0.0843,95.51,65.31);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}12.88%{transform:matrix(-0.1076,-0.7844,-1.5534,-0.1001,95.78,66.24);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}13.64%{transform:matrix(-0.108,-0.786,-1.554,-0.1024,95.82,66.37);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}45.45%{transform:matrix(-0.1064,-0.7802,-1.5518,-0.0942,95.68,65.89);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}46.21%{transform:matrix(-0.0935,-0.7367,-1.5336,-0.0333,94.56,62.31);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}46.97%{transform:matrix(-0.048,-0.6176,-1.4698,0.1338,90.63,52.5);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}47.73%{transform:matrix(0.0461,-0.4419,-1.3379,0.3802,82.49,38.08);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}48.48%{transform:matrix(0.0895,-0.3572,-1.2771,0.4991,78.74,30.89);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}49.24%{transform:matrix(0.1025,-0.3303,-1.2587,0.5368,77.61,28.56);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}50%{transform:matrix(0.1177,-0.3009,-1.2374,0.578,76.3,26.02);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}50.76%{transform:matrix(0.1844,-0.1891,-1.144,0.7348,70.53,16.35);fill:var(--alt);stroke-width:calc(0.269 * var(--sw-gap-w) + 0.269 * var(--sw-ramp-w))}51.52%{transform:matrix(0.262,-0.0828,-1.0351,0.8839,63.82,7.16);fill:var(--sw-under);stroke-width:calc(0.486 * var(--sw-gap-w) + 0.486 * var(--sw-ramp-w))}52.27%{transform:matrix(0.3468,0.0132,-0.9161,1.0185,56.49,-1.14);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}53.03%{transform:matrix(0.435,0.0952,-0.7925,1.1335,48.86,-8.23);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}53.79%{transform:matrix(0.5226,0.1608,-0.6696,1.2255,41.29,-13.91);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}54.55%{transform:matrix(0.6062,0.2091,-0.5523,1.2932,34.06,-18.08);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}55.3%{transform:matrix(0.6833,0.2402,-0.4443,1.3369,27.39,-20.78);fill:color-mix(in srgb,var(--sw-under) 98.8%,var(--c));stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}56.06%{transform:matrix(0.7519,0.2556,-0.348,1.3585,21.45,-22.1);fill:color-mix(in srgb,var(--sw-under) 62.8%,var(--c));stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}56.82%{transform:matrix(0.8112,0.2571,-0.2648,1.3606,16.33,-22.23);fill:color-mix(in srgb,var(--sw-under) 16.5%,var(--c));stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}57.58%{transform:matrix(0.8608,0.2471,-0.1953,1.3465,12.04,-21.37);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}58.33%{transform:matrix(0.901,0.2281,-0.1389,1.32,8.56,-19.73);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}59.09%{transform:matrix(0.9326,0.2027,-0.0946,1.2843,5.83,-17.53);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}59.85%{transform:matrix(0.9565,0.173,-0.0611,1.2426,3.77,-14.96);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}60.61%{transform:matrix(0.9738,0.1409,-0.0367,1.1976,2.26,-12.19);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}61.36%{transform:matrix(0.9858,0.1082,-0.0199,1.1517,1.23,-9.35);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}62.12%{transform:matrix(0.9934,0.076,-0.0092,1.1066,0.57,-6.57);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.773 * var(--sw-ramp-w))}62.88%{transform:matrix(0.9978,0.0453,-0.0031,1.0635,0.19,-3.92);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.448 * var(--sw-ramp-w))}63.64%{transform:matrix(0.9997,0.0168,-0.0004,1.0236,0.03,-1.46);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.163 * var(--sw-ramp-w))}64.39%{transform:matrix(0.9999,-0.009,-0.0001,0.9874,0.01,0.78);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.085 * var(--sw-ramp-w))}65.15%{transform:matrix(0.999,-0.0319,-0.0014,0.9553,0.08,2.76);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.298 * var(--sw-ramp-w))}65.91%{transform:matrix(0.9975,-0.0517,-0.0035,0.9274,0.22,4.47);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.478 * var(--sw-ramp-w))}66.67%{transform:matrix(0.9957,-0.0686,-0.0061,0.9038,0.37,5.93);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.628 * var(--sw-ramp-w))}67.42%{transform:matrix(0.9938,-0.0825,-0.0086,0.8842,0.53,7.14);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.749 * var(--sw-ramp-w))}68.18%{transform:matrix(0.9922,-0.0937,-0.011,0.8686,0.68,8.1);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.846 * var(--sw-ramp-w))}68.94%{transform:matrix(0.9907,-0.1022,-0.013,0.8566,0.8,8.84);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.919 * var(--sw-ramp-w))}69.7%{transform:matrix(0.9897,-0.1084,-0.0145,0.8479,0.89,9.38);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.972 * var(--sw-ramp-w))}70.45%{transform:matrix(0.9889,-0.1124,-0.0155,0.8423,0.96,9.72);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}71.21%{transform:matrix(0.9885,-0.1146,-0.0161,0.8393,0.99,9.91);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}71.97%{transform:matrix(0.9884,-0.115,-0.0162,0.8387,1,9.94);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}72.73%{transform:matrix(0.9886,-0.1139,-0.0159,0.8402,0.98,9.85);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}73.48%{transform:matrix(0.9891,-0.1117,-0.0153,0.8434,0.95,9.66);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.999 * var(--sw-ramp-w))}74.24%{transform:matrix(0.9897,-0.1084,-0.0145,0.848,0.89,9.37);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.971 * var(--sw-ramp-w))}75%{transform:matrix(0.9904,-0.1042,-0.0135,0.8539,0.83,9.01);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.936 * var(--sw-ramp-w))}75.76%{transform:matrix(0.9912,-0.0993,-0.0123,0.8607,0.76,8.59);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.894 * var(--sw-ramp-w))}76.52%{transform:matrix(0.9921,-0.094,-0.0111,0.8682,0.68,8.13);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.848 * var(--sw-ramp-w))}77.27%{transform:matrix(0.993,-0.0883,-0.0098,0.8762,0.61,7.63);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.799 * var(--sw-ramp-w))}78.03%{transform:matrix(0.9939,-0.0823,-0.0086,0.8846,0.53,7.12);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.747 * var(--sw-ramp-w))}78.79%{transform:matrix(0.9947,-0.0762,-0.0074,0.8932,0.46,6.59);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.694 * var(--sw-ramp-w))}79.55%{transform:matrix(0.9955,-0.07,-0.0063,0.9018,0.39,6.05);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.64 * var(--sw-ramp-w))}80.3%{transform:matrix(0.9962,-0.0639,-0.0053,0.9104,0.33,5.53);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.586 * var(--sw-ramp-w))}81.06%{transform:matrix(0.9969,-0.0579,-0.0044,0.9188,0.27,5.01);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.533 * var(--sw-ramp-w))}81.82%{transform:matrix(0.9975,-0.0521,-0.0036,0.927,0.22,4.5);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.481 * var(--sw-ramp-w))}82.58%{transform:matrix(0.998,-0.0465,-0.0029,0.9349,0.18,4.02);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.43 * var(--sw-ramp-w))}83.33%{transform:matrix(0.9984,-0.0411,-0.0022,0.9424,0.14,3.55);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.382 * var(--sw-ramp-w))}84.09%{transform:matrix(0.9988,-0.036,-0.0017,0.9495,0.11,3.11);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.336 * var(--sw-ramp-w))}84.85%{transform:matrix(0.9991,-0.0312,-0.0013,0.9562,0.08,2.7);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.292 * var(--sw-ramp-w))}85.61%{transform:matrix(0.9993,-0.0268,-0.001,0.9624,0.06,2.32);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.251 * var(--sw-ramp-w))}86.36%{transform:matrix(0.9995,-0.0226,-0.0007,0.9683,0.04,1.96);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.213 * var(--sw-ramp-w))}87.12%{transform:matrix(0.9997,-0.0188,-0.0005,0.9736,0.03,1.63);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.177 * var(--sw-ramp-w))}87.88%{transform:matrix(0.9998,-0.0153,-0.0003,0.9785,0.02,1.33);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.145 * var(--sw-ramp-w))}88.64%{transform:matrix(0.9999,-0.0121,-0.0002,0.983,0.01,1.05);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.115 * var(--sw-ramp-w))}89.39%{transform:matrix(0.9999,-0.0093,-0.0001,0.987,0.01,0.8);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.088 * var(--sw-ramp-w))}90.15%{transform:matrix(1,-0.0067,-0.0001,0.9906,0,0.58);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.064 * var(--sw-ramp-w))}90.91%{transform:matrix(1,-0.0044,0,0.9938,0,0.38);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.042 * var(--sw-ramp-w))}91.67%{transform:matrix(1,-0.0024,0,0.9966,0,0.21);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.023 * var(--sw-ramp-w))}92.42%{transform:matrix(1,-0.0006,0,0.9991,0,0.06);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.006 * var(--sw-ramp-w))}93.18%{transform:none;fill:var(--c);stroke-width:0}100%{transform:none;fill:var(--c);stroke-width:0}}@keyframes sw-boxh-tr{0%{transform:none;fill:var(--c);stroke-width:0}0.76%{transform:none;fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0 * var(--sw-ramp-w))}14.39%{transform:matrix(1,-0.0011,0,1.0015,0,0.05);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.01 * var(--sw-ramp-w))}15.15%{transform:matrix(0.9999,-0.0086,0.0001,1.012,0,0.42);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.082 * var(--sw-ramp-w))}15.91%{transform:matrix(0.9992,-0.0285,0.0012,1.0399,0.04,1.39);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.278 * var(--sw-ramp-w))}16.67%{transform:matrix(0.9952,-0.0654,0.0067,1.0917,0.23,3.19);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.658 * var(--sw-ramp-w))}17.42%{transform:matrix(0.9819,-0.1202,0.0253,1.1686,0.88,5.87);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}18.18%{transform:matrix(0.9467,-0.1866,0.0748,1.2617,2.6,9.11);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}18.94%{transform:matrix(0.8692,-0.2441,0.1834,1.3423,6.38,11.91);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}19.7%{transform:matrix(0.7247,-0.2511,0.3862,1.3521,13.44,12.25);fill:color-mix(in srgb,var(--sw-under) 81.9%,var(--c));stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}20.45%{transform:matrix(0.4987,-0.1445,0.7031,1.2026,24.47,7.05);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}21.21%{transform:matrix(0.2728,0.0695,1.0199,0.9025,35.5,-3.39);fill:var(--sw-under);stroke-width:calc(0.584 * var(--sw-gap-w) + 0.584 * var(--sw-ramp-w))}21.97%{transform:matrix(0.1282,0.2816,1.2227,0.6051,42.55,-13.74);fill:var(--alt);stroke-width:calc(0.889 * var(--sw-gap-w) + 0.889 * var(--sw-ramp-w))}22.73%{transform:matrix(0.0452,0.4546,1.353,0.3722,46.15,-22.69);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}23.48%{transform:matrix(-0.0123,0.6021,1.4804,0.1988,47.43,-31.58);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}24.24%{transform:matrix(-0.0421,0.7063,1.5534,0.0749,47.86,-37.79);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}25%{transform:matrix(-0.0559,0.7705,1.5917,-0.0017,47.92,-41.62);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}25.76%{transform:matrix(-0.0616,0.8036,1.6095,-0.0412,47.88,-43.59);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}26.52%{transform:matrix(-0.0634,0.8158,1.6157,-0.0557,47.85,-44.31);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}27.27%{transform:matrix(-0.0637,0.8176,1.6165,-0.0578,47.84,-44.41);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}33.33%{transform:matrix(-0.0632,0.8146,1.6151,-0.0543,47.85,-44.24);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}34.09%{transform:matrix(-0.0611,0.801,1.6081,-0.038,47.88,-43.42);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}34.85%{transform:matrix(-0.0554,0.7681,1.5904,0.0013,47.92,-41.47);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}35.61%{transform:matrix(-0.0424,0.7078,1.5543,0.0731,47.87,-37.88);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}36.36%{transform:matrix(-0.0158,0.6129,1.4886,0.1859,47.5,-32.23);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}37.12%{transform:matrix(0.0287,0.4924,1.3884,0.3281,46.55,-24.98);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}37.88%{transform:matrix(0.0665,0.409,1.3093,0.4263,45.57,-19.96);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}38.64%{transform:matrix(0.0862,0.3641,1.2816,0.4893,44.6,-17.77);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}39.39%{transform:matrix(0.0978,0.3399,1.2654,0.5233,44.04,-16.59);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}40.15%{transform:matrix(0.1027,0.33,1.2585,0.5372,43.8,-16.11);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}40.91%{transform:matrix(0.1037,0.3279,1.2571,0.54,43.75,-16.01);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}41.67%{transform:matrix(0.1461,0.2502,1.1976,0.649,41.68,-12.21);fill:var(--alt);stroke-width:calc(0.683 * var(--sw-gap-w) + 0.683 * var(--sw-ramp-w))}42.42%{transform:matrix(0.211,0.1502,1.1066,0.7894,38.51,-7.33);fill:var(--sw-under);stroke-width:calc(0.001 * var(--sw-gap-w) + 0.001 * var(--sw-ramp-w))}43.18%{transform:matrix(0.2839,0.0562,1.0043,0.9212,34.95,-2.74);fill:var(--sw-under);stroke-width:calc(0.684 * var(--sw-gap-w) + 0.684 * var(--sw-ramp-w))}43.94%{transform:matrix(0.3619,-0.0285,0.8949,1.0399,31.14,1.39);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}44.7%{transform:matrix(0.4421,-0.1011,0.7825,1.1418,27.23,4.93);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}45.45%{transform:matrix(0.5215,-0.1601,0.671,1.2246,23.35,7.82);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}46.21%{transform:matrix(0.5978,-0.2049,0.5642,1.2873,19.63,10);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}46.97%{transform:matrix(0.6687,-0.2354,0.4646,1.3302,16.17,11.49);fill:var(--sw-under);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}47.73%{transform:matrix(0.733,-0.2527,0.3744,1.3544,13.03,12.33);fill:color-mix(in srgb,var(--sw-under) 76.5%,var(--c));stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}48.48%{transform:matrix(0.7897,-0.258,0.2949,1.3619,10.26,12.59);fill:color-mix(in srgb,var(--sw-under) 32.4%,var(--c));stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}49.24%{transform:matrix(0.8385,-0.2531,0.2265,1.355,7.88,12.35);fill:color-mix(in srgb,var(--sw-under) 2.4%,var(--c));stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}50%{transform:matrix(0.8794,-0.2398,0.1692,1.3363,5.89,11.71);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}50.76%{transform:matrix(0.9127,-0.22,0.1224,1.3086,4.26,10.74);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}51.52%{transform:matrix(0.9392,-0.1956,0.0853,1.2743,2.97,9.55);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}52.27%{transform:matrix(0.9596,-0.168,0.0567,1.2357,1.97,8.2);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}53.03%{transform:matrix(0.9748,-0.1388,0.0354,1.1947,1.23,6.77);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}53.79%{transform:matrix(0.9855,-0.1091,0.0203,1.1529,0.71,5.32);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}54.55%{transform:matrix(0.9927,-0.0798,0.0102,1.1119,0.36,3.89);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.815 * var(--sw-ramp-w))}55.3%{transform:matrix(0.9971,-0.0516,0.0041,1.0724,0.14,2.52);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.514 * var(--sw-ramp-w))}56.06%{transform:matrix(0.9993,-0.0252,0.0009,1.0354,0.03,1.23);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.246 * var(--sw-ramp-w))}56.82%{transform:matrix(1,-0.0009,0,1.0013,0,0.05);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.009 * var(--sw-ramp-w))}57.58%{transform:matrix(0.9996,0.0211,0.0006,0.9705,0.02,-1.03);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.198 * var(--sw-ramp-w))}58.33%{transform:matrix(0.9984,0.0406,0.0022,0.9431,0.08,-1.98);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.377 * var(--sw-ramp-w))}59.09%{transform:matrix(0.9969,0.0576,0.0043,0.9192,0.15,-2.81);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.53 * var(--sw-ramp-w))}59.85%{transform:matrix(0.9952,0.0721,0.0067,0.8988,0.23,-3.52);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.659 * var(--sw-ramp-w))}60.61%{transform:matrix(0.9936,0.0843,0.009,0.8818,0.31,-4.11);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.765 * var(--sw-ramp-w))}61.36%{transform:matrix(0.9921,0.0942,0.0111,0.8679,0.39,-4.6);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.85 * var(--sw-ramp-w))}62.12%{transform:matrix(0.9908,0.1019,0.0129,0.857,0.45,-4.98);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.916 * var(--sw-ramp-w))}62.88%{transform:matrix(0.9898,0.1077,0.0143,0.8489,0.5,-5.26);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.966 * var(--sw-ramp-w))}63.64%{transform:matrix(0.9891,0.1117,0.0154,0.8433,0.53,-5.45);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}64.39%{transform:matrix(0.9886,0.1141,0.016,0.84,0.56,-5.57);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}65.15%{transform:matrix(0.9884,0.115,0.0162,0.8387,0.56,-5.61);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}65.91%{transform:matrix(0.9885,0.1146,0.0161,0.8392,0.56,-5.6);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}66.67%{transform:matrix(0.9888,0.1132,0.0157,0.8413,0.55,-5.52);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}67.42%{transform:matrix(0.9892,0.1107,0.0151,0.8447,0.53,-5.41);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.992 * var(--sw-ramp-w))}68.18%{transform:matrix(0.9898,0.1075,0.0143,0.8492,0.5,-5.25);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.964 * var(--sw-ramp-w))}68.94%{transform:matrix(0.9905,0.1036,0.0133,0.8547,0.46,-5.06);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.931 * var(--sw-ramp-w))}69.7%{transform:matrix(0.9913,0.0992,0.0123,0.8609,0.43,-4.84);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.893 * var(--sw-ramp-w))}70.45%{transform:matrix(0.9921,0.0943,0.0111,0.8677,0.39,-4.6);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.851 * var(--sw-ramp-w))}71.21%{transform:matrix(0.9929,0.0891,0.01,0.875,0.35,-4.35);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.807 * var(--sw-ramp-w))}71.97%{transform:matrix(0.9937,0.0837,0.0089,0.8825,0.31,-4.09);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.76 * var(--sw-ramp-w))}72.73%{transform:matrix(0.9944,0.0782,0.0078,0.8903,0.27,-3.82);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.712 * var(--sw-ramp-w))}73.48%{transform:matrix(0.9952,0.0726,0.0068,0.8981,0.24,-3.55);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.663 * var(--sw-ramp-w))}74.24%{transform:matrix(0.9959,0.0671,0.0058,0.9059,0.2,-3.27);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.614 * var(--sw-ramp-w))}75%{transform:matrix(0.9965,0.0615,0.0049,0.9137,0.17,-3);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.565 * var(--sw-ramp-w))}75.76%{transform:matrix(0.9971,0.0561,0.0041,0.9213,0.14,-2.74);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.517 * var(--sw-ramp-w))}76.52%{transform:matrix(0.9976,0.0509,0.0034,0.9286,0.12,-2.48);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.47 * var(--sw-ramp-w))}77.27%{transform:matrix(0.998,0.0458,0.0028,0.9357,0.1,-2.24);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.425 * var(--sw-ramp-w))}78.03%{transform:matrix(0.9984,0.041,0.0022,0.9425,0.08,-2);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.381 * var(--sw-ramp-w))}78.79%{transform:matrix(0.9987,0.0364,0.0018,0.949,0.06,-1.78);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.339 * var(--sw-ramp-w))}79.55%{transform:matrix(0.999,0.032,0.0014,0.9551,0.05,-1.56);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.299 * var(--sw-ramp-w))}80.3%{transform:matrix(0.9992,0.0279,0.0011,0.9609,0.04,-1.36);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.261 * var(--sw-ramp-w))}81.06%{transform:matrix(0.9994,0.024,0.0008,0.9663,0.03,-1.17);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.226 * var(--sw-ramp-w))}81.82%{transform:matrix(0.9996,0.0205,0.0006,0.9713,0.02,-1);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.193 * var(--sw-ramp-w))}82.58%{transform:matrix(0.9997,0.0172,0.0004,0.9759,0.01,-0.84);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.162 * var(--sw-ramp-w))}83.33%{transform:matrix(0.9998,0.0141,0.0003,0.9802,0.01,-0.69);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.133 * var(--sw-ramp-w))}84.09%{transform:matrix(0.9999,0.0113,0.0002,0.9841,0.01,-0.55);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.107 * var(--sw-ramp-w))}84.85%{transform:matrix(0.9999,0.0088,0.0001,0.9877,0,-0.43);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.083 * var(--sw-ramp-w))}85.61%{transform:matrix(1,0.0065,0.0001,0.9909,0,-0.32);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.062 * var(--sw-ramp-w))}86.36%{transform:matrix(1,0.0044,0,0.9938,0,-0.22);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.042 * var(--sw-ramp-w))}87.12%{transform:matrix(1,0.0026,0,0.9964,0,-0.13);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.024 * var(--sw-ramp-w))}87.88%{transform:matrix(1,0.0009,0,0.9987,0,-0.05);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.009 * var(--sw-ramp-w))}88.64%{transform:none;fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0 * var(--sw-ramp-w))}93.18%{transform:none;fill:var(--c);stroke-width:0}100%{transform:none;fill:var(--c);stroke-width:0}}@keyframes sw-boxh-bl{0%{transform:none;fill:var(--c);stroke-width:0}0.76%{transform:none;fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0 * var(--sw-ramp-w))}7.58%{transform:matrix(1,0.0011,0,0.9985,0,0.05);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.01 * var(--sw-ramp-w))}8.33%{transform:matrix(0.9999,0.0086,0.0001,0.9879,0,0.41);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.082 * var(--sw-ramp-w))}9.09%{transform:matrix(0.9992,0.0294,0.0012,0.9585,-0.04,1.41);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.278 * var(--sw-ramp-w))}9.85%{transform:matrix(0.9952,0.0716,0.0067,0.8991,-0.23,3.42);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.658 * var(--sw-ramp-w))}10.61%{transform:matrix(0.9819,0.1448,0.0255,0.7958,-0.87,6.92);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}11.36%{transform:matrix(0.9466,0.2602,0.0754,0.633,-2.55,12.43);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}12.12%{transform:matrix(0.8689,0.4263,0.1849,0.3987,-6.26,20.37);fill:var(--c);stroke-width:calc(0.892 * var(--sw-gap-w) + 0.892 * var(--sw-ramp-w))}12.88%{transform:matrix(0.7241,0.6368,0.3892,0.1019,-13.18,30.42);fill:var(--alt);stroke-width:calc(0.58 * var(--sw-gap-w) + 0.58 * var(--sw-ramp-w))}13.64%{transform:matrix(0.4977,0.8491,0.7085,-0.1975,-24,40.57);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}14.39%{transform:matrix(0.2713,0.9548,1.0278,-0.3467,-34.82,45.62);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}15.15%{transform:matrix(0.1264,0.9479,1.2321,-0.3369,-41.74,45.29);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}15.91%{transform:matrix(0.0426,0.9065,1.3625,-0.2699,-46.53,42.58);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}16.67%{transform:matrix(-0.0172,0.8866,1.4879,-0.2127,-52.04,39.14);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}17.42%{transform:matrix(-0.0485,0.8555,1.5596,-0.1494,-55.32,36);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}18.18%{transform:matrix(-0.0632,0.8296,1.597,-0.101,-57.1,33.75);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}18.94%{transform:matrix(-0.0694,0.8142,1.6142,-0.0733,-57.95,32.5);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}19.7%{transform:matrix(-0.0714,0.8082,1.6202,-0.0626,-58.25,32.02);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}20.45%{transform:matrix(-0.0717,0.8073,1.6211,-0.061,-58.29,31.95);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}41.67%{transform:matrix(-0.0709,0.8098,1.6187,-0.0654,-58.17,32.15);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}42.42%{transform:matrix(-0.0603,0.8357,1.5892,-0.1123,-56.72,34.26);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}43.18%{transform:matrix(-0.0111,0.8904,1.4746,-0.2215,-51.45,39.61);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}43.94%{transform:matrix(0.07,0.9135,1.3117,-0.2885,-44.44,43.65);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}44.7%{transform:matrix(0.0976,0.9339,1.2728,-0.3172,-43.12,44.62);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}45.45%{transform:matrix(0.1018,0.9364,1.2668,-0.3207,-42.91,44.74);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}46.21%{transform:matrix(0.1766,0.96,1.1614,-0.354,-39.34,45.87);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}46.97%{transform:matrix(0.2721,0.9547,1.0266,-0.3465,-34.78,45.61);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}47.73%{transform:matrix(0.3827,0.9166,0.8707,-0.2929,-29.5,43.8);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}48.48%{transform:matrix(0.5001,0.8473,0.705,-0.1951,-23.88,40.49);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}49.24%{transform:matrix(0.6156,0.7524,0.5422,-0.0612,-18.37,35.95);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}50%{transform:matrix(0.721,0.6404,0.3934,0.0968,-13.33,30.6);fill:var(--alt);stroke-width:calc(0.607 * var(--sw-gap-w) + 0.607 * var(--sw-ramp-w))}50.76%{transform:matrix(0.8109,0.5207,0.2667,0.2656,-9.03,24.88);fill:var(--c);stroke-width:calc(0.255 * var(--sw-gap-w) + 0.255 * var(--sw-ramp-w))}51.52%{transform:matrix(0.8822,0.402,0.1661,0.433,-5.63,19.21);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}52.27%{transform:matrix(0.9345,0.291,0.0924,0.5896,-3.13,13.9);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}53.03%{transform:matrix(0.9694,0.1921,0.0432,0.729,-1.46,9.18);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}53.79%{transform:matrix(0.9896,0.1077,0.0146,0.8481,-0.5,5.14);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.973 * var(--sw-ramp-w))}54.55%{transform:matrix(0.9986,0.038,0.002,0.9464,-0.07,1.81);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.356 * var(--sw-ramp-w))}55.3%{transform:matrix(0.9997,-0.0178,0.0005,1.0251,-0.02,-0.85);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.173 * var(--sw-ramp-w))}56.06%{transform:matrix(0.9958,-0.0612,0.0059,1.0863,-0.2,-2.92);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.619 * var(--sw-ramp-w))}56.82%{transform:matrix(0.9894,-0.094,0.015,1.1327,-0.51,-4.49);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.984 * var(--sw-ramp-w))}57.58%{transform:matrix(0.9823,-0.1183,0.025,1.1668,-0.85,-5.65);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}58.33%{transform:matrix(0.9757,-0.1355,0.0343,1.1911,-1.16,-6.47);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}59.09%{transform:matrix(0.9704,-0.147,0.0418,1.2074,-1.41,-7.03);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}59.85%{transform:matrix(0.9668,-0.1541,0.0468,1.2173,-1.59,-7.36);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}60.61%{transform:matrix(0.965,-0.1574,0.0494,1.222,-1.67,-7.52);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}61.36%{transform:matrix(0.9649,-0.1576,0.0496,1.2223,-1.68,-7.53);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}62.12%{transform:matrix(0.9662,-0.1553,0.0477,1.219,-1.62,-7.42);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}62.88%{transform:matrix(0.9686,-0.1507,0.0443,1.2125,-1.5,-7.2);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}63.64%{transform:matrix(0.9718,-0.1442,0.0398,1.2034,-1.35,-6.89);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}64.39%{transform:matrix(0.9754,-0.136,0.0347,1.1919,-1.17,-6.5);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}65.15%{transform:matrix(0.9793,-0.1266,0.0293,1.1785,-0.99,-6.05);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}65.91%{transform:matrix(0.983,-0.116,0.0239,1.1636,-0.81,-5.54);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}66.67%{transform:matrix(0.9865,-0.1046,0.019,1.1476,-0.64,-5);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}67.42%{transform:matrix(0.9897,-0.0927,0.0145,1.1308,-0.49,-4.43);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.969 * var(--sw-ramp-w))}68.18%{transform:matrix(0.9924,-0.0806,0.0107,1.1137,-0.36,-3.85);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.831 * var(--sw-ramp-w))}68.94%{transform:matrix(0.9946,-0.0685,0.0076,1.0966,-0.26,-3.27);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.698 * var(--sw-ramp-w))}69.7%{transform:matrix(0.9964,-0.0567,0.0051,1.0799,-0.17,-2.71);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.571 * var(--sw-ramp-w))}70.45%{transform:matrix(0.9978,-0.0453,0.0032,1.0639,-0.11,-2.16);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.452 * var(--sw-ramp-w))}71.21%{transform:matrix(0.9987,-0.0346,0.0018,1.0488,-0.06,-1.65);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.342 * var(--sw-ramp-w))}71.97%{transform:matrix(0.9994,-0.0247,0.0009,1.0348,-0.03,-1.18);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.242 * var(--sw-ramp-w))}72.73%{transform:matrix(0.9997,-0.0157,0.0004,1.0222,-0.01,-0.75);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.153 * var(--sw-ramp-w))}73.48%{transform:matrix(0.9999,-0.0077,0.0001,1.0109,0,-0.37);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.075 * var(--sw-ramp-w))}74.24%{transform:matrix(1,-0.0008,0,1.0011,0,-0.04);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.007 * var(--sw-ramp-w))}75%{transform:matrix(1,0.0051,0,0.9928,0,0.25);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.049 * var(--sw-ramp-w))}75.76%{transform:matrix(0.9999,0.01,0.0001,0.9859,0,0.48);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.095 * var(--sw-ramp-w))}76.52%{transform:matrix(0.9998,0.0138,0.0003,0.9805,-0.01,0.66);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.132 * var(--sw-ramp-w))}77.27%{transform:matrix(0.9997,0.0167,0.0004,0.9764,-0.01,0.8);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.159 * var(--sw-ramp-w))}78.03%{transform:matrix(0.9997,0.0187,0.0005,0.9736,-0.02,0.9);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.178 * var(--sw-ramp-w))}78.79%{transform:matrix(0.9996,0.0199,0.0006,0.9719,-0.02,0.95);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.189 * var(--sw-ramp-w))}79.55%{transform:matrix(0.9996,0.0204,0.0006,0.9712,-0.02,0.97);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.194 * var(--sw-ramp-w))}80.3%{transform:matrix(0.9996,0.0202,0.0006,0.9715,-0.02,0.97);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.192 * var(--sw-ramp-w))}81.06%{transform:matrix(0.9996,0.0195,0.0005,0.9726,-0.02,0.93);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.185 * var(--sw-ramp-w))}81.82%{transform:matrix(0.9997,0.0182,0.0005,0.9743,-0.02,0.87);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.173 * var(--sw-ramp-w))}82.58%{transform:matrix(0.9997,0.0166,0.0004,0.9766,-0.01,0.79);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.158 * var(--sw-ramp-w))}83.33%{transform:matrix(0.9998,0.0146,0.0003,0.9794,-0.01,0.7);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.139 * var(--sw-ramp-w))}84.09%{transform:matrix(0.9998,0.0124,0.0002,0.9825,-0.01,0.59);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.118 * var(--sw-ramp-w))}84.85%{transform:matrix(0.9999,0.0099,0.0001,0.986,0,0.48);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.095 * var(--sw-ramp-w))}85.61%{transform:matrix(0.9999,0.0074,0.0001,0.9896,0,0.35);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.07 * var(--sw-ramp-w))}86.36%{transform:matrix(1,0.0047,0,0.9934,0,0.22);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.045 * var(--sw-ramp-w))}87.12%{transform:matrix(1,0.0019,0,0.9973,0,0.09);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.018 * var(--sw-ramp-w))}87.88%{transform:none;fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0 * var(--sw-ramp-w))}93.18%{transform:none;fill:var(--c);stroke-width:0}100%{transform:none;fill:var(--c);stroke-width:0}}@keyframes sw-boxh-br{0%{transform:none;fill:var(--c);stroke-width:0}0.76%{transform:matrix(1,-0.0011,0,0.9985,0,0.2);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.01 * var(--sw-ramp-w))}1.52%{transform:matrix(0.9999,-0.0086,-0.0001,0.9879,0.01,1.58);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.082 * var(--sw-ramp-w))}2.27%{transform:matrix(0.9992,-0.0294,-0.0012,0.9585,0.16,5.39);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.278 * var(--sw-ramp-w))}3.03%{transform:matrix(0.9952,-0.0716,-0.0067,0.8991,0.87,13.1);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.658 * var(--sw-ramp-w))}3.79%{transform:matrix(0.9819,-0.1448,-0.0255,0.7958,3.32,26.5);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}4.55%{transform:matrix(0.9466,-0.2602,-0.0754,0.633,9.78,47.64);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}5.3%{transform:matrix(0.8689,-0.4263,-0.1849,0.3987,23.99,78.04);fill:var(--c);stroke-width:calc(0.892 * var(--sw-gap-w) + 0.892 * var(--sw-ramp-w))}6.06%{transform:matrix(0.7241,-0.6368,-0.3892,0.1019,50.51,116.57);fill:var(--alt);stroke-width:calc(0.58 * var(--sw-gap-w) + 0.58 * var(--sw-ramp-w))}6.82%{transform:matrix(0.4977,-0.8491,-0.7085,-0.1975,91.96,155.44);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}7.58%{transform:matrix(0.2713,-0.9548,-1.0278,-0.3467,133.41,174.8);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}8.33%{transform:matrix(0.1264,-0.9479,-1.2321,-0.3369,159.93,173.53);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}9.09%{transform:matrix(0.0383,-0.9034,-1.3564,-0.2742,176.06,165.22);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}9.85%{transform:matrix(-0.036,-0.8733,-1.4612,-0.2317,189.66,159.09);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}10.61%{transform:matrix(-0.077,-0.8353,-1.519,-0.1781,197.16,151.74);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}11.36%{transform:matrix(-0.0976,-0.8052,-1.548,-0.1357,200.93,145.99);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}12.12%{transform:matrix(-0.1068,-0.7877,-1.561,-0.111,202.61,142.66);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}12.88%{transform:matrix(-0.1099,-0.7809,-1.5654,-0.1014,203.19,141.37);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}13.64%{transform:matrix(-0.1103,-0.7799,-1.566,-0.1,203.27,141.18);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}45.45%{transform:matrix(-0.1087,-0.7835,-1.5638,-0.105,202.98,141.85);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}46.21%{transform:matrix(-0.0958,-0.8083,-1.5455,-0.1401,200.6,146.58);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}46.97%{transform:matrix(-0.0502,-0.8625,-1.4812,-0.2165,192.26,157);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}47.73%{transform:matrix(0.0441,-0.9044,-1.3483,-0.2756,175,165.44);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}48.48%{transform:matrix(0.0876,-0.9275,-1.2869,-0.3081,167.04,169.79);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}49.24%{transform:matrix(0.1007,-0.9357,-1.2685,-0.3198,164.64,171.3);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}50%{transform:matrix(0.118,-0.9444,-1.244,-0.3321,161.47,172.9);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}50.76%{transform:matrix(0.1997,-0.9616,-1.1287,-0.3563,146.5,176.05);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}51.52%{transform:matrix(0.3018,-0.9474,-0.9848,-0.3362,127.82,173.43);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}52.27%{transform:matrix(0.4172,-0.8991,-0.8219,-0.2682,106.69,164.61);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}53.03%{transform:matrix(0.5371,-0.8199,-0.653,-0.1564,84.75,150.09);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}53.79%{transform:matrix(0.652,-0.7166,-0.4908,-0.0108,63.71,131.2);fill:var(--alt);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}54.55%{transform:matrix(0.7544,-0.599,-0.3463,0.1552,44.96,109.65);fill:var(--alt);stroke-width:calc(0.301 * var(--sw-gap-w) + 0.301 * var(--sw-ramp-w))}55.3%{transform:matrix(0.8393,-0.4766,-0.2266,0.3277,29.42,87.26);fill:var(--c);stroke-width:calc(0.557 * var(--sw-gap-w) + 0.557 * var(--sw-ramp-w))}56.06%{transform:matrix(0.9045,-0.3581,-0.1347,0.4949,17.48,65.56);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}56.82%{transform:matrix(0.9505,-0.2496,-0.0698,0.6479,9.07,45.7);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}57.58%{transform:matrix(0.9795,-0.1549,-0.029,0.7815,3.76,28.36);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}58.33%{transform:matrix(0.9947,-0.0754,-0.0074,0.8936,0.97,13.81);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.692 * var(--sw-ramp-w))}59.09%{transform:matrix(0.9999,-0.011,-0.0002,0.9845,0.02,2.01);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.105 * var(--sw-ramp-w))}59.85%{transform:matrix(0.9983,0.0397,-0.0024,1.056,0.31,-7.27);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.394 * var(--sw-ramp-w))}60.61%{transform:matrix(0.9928,0.0785,-0.0101,1.1107,1.31,-14.37);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.807 * var(--sw-ramp-w))}61.36%{transform:matrix(0.9858,0.1073,-0.0201,1.1514,2.61,-19.65);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}62.12%{transform:matrix(0.9787,0.1281,-0.0301,1.1806,3.91,-23.45);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}62.88%{transform:matrix(0.9726,0.1424,-0.0386,1.2008,5.01,-26.06);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}63.64%{transform:matrix(0.9682,0.1515,-0.0449,1.2136,5.83,-27.73);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}64.39%{transform:matrix(0.9656,0.1564,-0.0486,1.2206,6.31,-28.63);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}65.15%{transform:matrix(0.9647,0.1579,-0.0497,1.2227,6.46,-28.9);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}65.91%{transform:matrix(0.9655,0.1565,-0.0486,1.2207,6.31,-28.64);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}66.67%{transform:matrix(0.9676,0.1526,-0.0457,1.2153,5.94,-27.94);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}67.42%{transform:matrix(0.9706,0.1467,-0.0415,1.2069,5.39,-26.85);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}68.18%{transform:matrix(0.9742,0.1389,-0.0364,1.196,4.73,-25.44);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}68.94%{transform:matrix(0.978,0.1297,-0.031,1.1829,4.02,-23.74);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}69.7%{transform:matrix(0.9819,0.1193,-0.0255,1.1682,3.31,-21.83);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}70.45%{transform:matrix(0.9856,0.1079,-0.0203,1.1522,2.64,-19.75);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}71.21%{transform:matrix(0.9889,0.0959,-0.0157,1.1353,2.03,-17.56);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 1 * var(--sw-ramp-w))}71.97%{transform:matrix(0.9918,0.0836,-0.0116,1.1179,1.5,-15.31);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.865 * var(--sw-ramp-w))}72.73%{transform:matrix(0.9942,0.0713,-0.0082,1.1005,1.07,-13.05);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.728 * var(--sw-ramp-w))}73.48%{transform:matrix(0.9961,0.0591,-0.0055,1.0834,0.72,-10.83);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.597 * var(--sw-ramp-w))}74.24%{transform:matrix(0.9975,0.0475,-0.0035,1.067,0.45,-8.69);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.474 * var(--sw-ramp-w))}75%{transform:matrix(0.9986,0.0364,-0.002,1.0514,0.26,-6.67);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.361 * var(--sw-ramp-w))}75.76%{transform:matrix(0.9993,0.0262,-0.001,1.037,0.13,-4.8);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.257 * var(--sw-ramp-w))}76.52%{transform:matrix(0.9997,0.0169,-0.0004,1.0239,0.05,-3.1);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.165 * var(--sw-ramp-w))}77.27%{transform:matrix(0.9999,0.0087,-0.0001,1.0122,0.01,-1.58);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.084 * var(--sw-ramp-w))}78.03%{transform:matrix(1,0.0015,0,1.0021,0,-0.27);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.014 * var(--sw-ramp-w))}78.79%{transform:matrix(1,-0.0046,0,0.9934,0,0.85);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.045 * var(--sw-ramp-w))}79.55%{transform:matrix(0.9999,-0.0097,-0.0001,0.9864,0.02,1.77);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.092 * var(--sw-ramp-w))}80.3%{transform:matrix(0.9998,-0.0137,-0.0003,0.9807,0.03,2.5);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.13 * var(--sw-ramp-w))}81.06%{transform:matrix(0.9997,-0.0166,-0.0004,0.9765,0.05,3.05);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.158 * var(--sw-ramp-w))}81.82%{transform:matrix(0.9997,-0.0187,-0.0005,0.9736,0.06,3.43);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.178 * var(--sw-ramp-w))}82.58%{transform:matrix(0.9996,-0.0199,-0.0006,0.9719,0.07,3.65);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.189 * var(--sw-ramp-w))}83.33%{transform:matrix(0.9996,-0.0204,-0.0006,0.9712,0.08,3.73);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.194 * var(--sw-ramp-w))}84.09%{transform:matrix(0.9996,-0.0202,-0.0006,0.9715,0.07,3.7);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.192 * var(--sw-ramp-w))}84.85%{transform:matrix(0.9996,-0.0194,-0.0005,0.9726,0.07,3.55);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.184 * var(--sw-ramp-w))}85.61%{transform:matrix(0.9997,-0.0181,-0.0005,0.9744,0.06,3.32);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.172 * var(--sw-ramp-w))}86.36%{transform:matrix(0.9997,-0.0164,-0.0004,0.9768,0.05,3.01);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.156 * var(--sw-ramp-w))}87.12%{transform:matrix(0.9998,-0.0144,-0.0003,0.9797,0.04,2.63);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.137 * var(--sw-ramp-w))}87.88%{transform:matrix(0.9999,-0.0121,-0.0002,0.9829,0.03,2.21);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.115 * var(--sw-ramp-w))}88.64%{transform:matrix(0.9999,-0.0096,-0.0001,0.9865,0.02,1.76);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.092 * var(--sw-ramp-w))}89.39%{transform:matrix(1,-0.0069,-0.0001,0.9902,0.01,1.27);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.066 * var(--sw-ramp-w))}90.15%{transform:matrix(1,-0.0042,0,0.9941,0,0.77);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.04 * var(--sw-ramp-w))}90.91%{transform:matrix(1,-0.0014,0,0.9981,0,0.25);fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0.013 * var(--sw-ramp-w))}91.67%{transform:none;fill:var(--c);stroke-width:calc(1 * var(--sw-gap-w) + 0 * var(--sw-ramp-w))}93.18%{transform:none;fill:var(--c);stroke-width:0}100%{transform:none;fill:var(--c);stroke-width:0}}@keyframes sw-boxh-tr-z0{0%{opacity:1}21.21%{opacity:0}44.7%{opacity:1}100%{opacity:1}}@keyframes sw-boxh-tr-z1{0%{opacity:0}21.21%{opacity:1}44.7%{opacity:0}100%{opacity:0}}@keyframes sw-boxh-p{0%{opacity:0}0.76%{opacity:1}93.18%{opacity:0}100%{opacity:0}}@keyframes sw-boxh-w{0%{opacity:0}0.76%{opacity:0.002}1.52%{opacity:0.02}2.27%{opacity:0.067}3.03%{opacity:0.158}3.79%{opacity:0.309}4.55%{opacity:0.533}5.3%{opacity:0.847}6.06%{opacity:1}6.82%{opacity:1}7.58%{opacity:1}8.33%{opacity:1}9.09%{opacity:1}9.85%{opacity:1}10.61%{opacity:1}11.36%{opacity:1}12.12%{opacity:1}12.88%{opacity:1}13.64%{opacity:1}14.39%{opacity:1}15.15%{opacity:1}15.91%{opacity:1}16.67%{opacity:1}17.42%{opacity:1}18.18%{opacity:1}18.94%{opacity:1}19.7%{opacity:0.849}20.45%{opacity:0.58}21.21%{opacity:0.312}21.97%{opacity:0.103}22.73%{opacity:0}23.48%{opacity:0}24.24%{opacity:0}25%{opacity:0}25.76%{opacity:0}26.52%{opacity:0}27.27%{opacity:0}28.03%{opacity:0}28.79%{opacity:0}29.55%{opacity:0}30.3%{opacity:0}31.06%{opacity:0}31.82%{opacity:0}32.58%{opacity:0}33.33%{opacity:0}34.09%{opacity:0}34.85%{opacity:0}35.61%{opacity:0}36.36%{opacity:0}37.12%{opacity:0}37.88%{opacity:0}38.64%{opacity:0.026}39.39%{opacity:0.049}40.15%{opacity:0.058}40.91%{opacity:0.06}41.67%{opacity:0.137}42.42%{opacity:0.273}43.18%{opacity:0.493}43.94%{opacity:0.738}44.7%{opacity:0.887}45.45%{opacity:0.995}46.21%{opacity:1}46.97%{opacity:1}47.73%{opacity:1}48.48%{opacity:1}49.24%{opacity:1}50%{opacity:1}50.76%{opacity:1}51.52%{opacity:1}52.27%{opacity:1}53.03%{opacity:1}53.79%{opacity:1}54.55%{opacity:1}55.3%{opacity:1}56.06%{opacity:0.911}56.82%{opacity:0.654}57.58%{opacity:0.425}58.33%{opacity:0.225}59.09%{opacity:0.052}59.85%{opacity:0}60.61%{opacity:0}61.36%{opacity:0}62.12%{opacity:0}62.88%{opacity:0}63.64%{opacity:0}64.39%{opacity:0}65.15%{opacity:0}65.91%{opacity:0}66.67%{opacity:0}67.42%{opacity:0}68.18%{opacity:0}68.94%{opacity:0}69.7%{opacity:0}70.45%{opacity:0}71.21%{opacity:0}71.97%{opacity:0}72.73%{opacity:0}73.48%{opacity:0}74.24%{opacity:0}75%{opacity:0}75.76%{opacity:0}76.52%{opacity:0}77.27%{opacity:0}78.03%{opacity:0}78.79%{opacity:0}79.55%{opacity:0}80.3%{opacity:0}81.06%{opacity:0}81.82%{opacity:0}82.58%{opacity:0}83.33%{opacity:0}84.09%{opacity:0}84.85%{opacity:0}85.61%{opacity:0}86.36%{opacity:0}87.12%{opacity:0}87.88%{opacity:0}88.64%{opacity:0}89.39%{opacity:0}90.15%{opacity:0}90.91%{opacity:0}91.67%{opacity:0}92.42%{opacity:0}93.18%{opacity:0}93.94%{opacity:0}94.7%{opacity:0}95.45%{opacity:0}96.21%{opacity:0}96.97%{opacity:0}97.73%{opacity:0}98.48%{opacity:0}99.24%{opacity:0}100%{opacity:0}}.sw-box.hov .a-tl{animation:sw-boxh-a-tl 2200ms linear both}.sw-box.hov .a-tr{animation:sw-boxh-a-tr 2200ms linear both}.sw-box.hov .a-bl{animation:sw-boxh-a-bl 2200ms linear both}.sw-box.hov .a-br{animation:sw-boxh-a-br 2200ms linear both}.sw-box.hov .k{animation:sw-boxh-spark 2200ms ease-out both}.sw-box.hov .r{animation:sw-boxh-tick 2200ms linear both}@keyframes sw-boxh-spark{0%,75.27%{opacity:0;transform:scale(.3)}83.27%{opacity:1;transform:scale(1.15)}89.09%{transform:scale(1)}93.45%{opacity:1}100%{opacity:0;transform:scale(1)}}@keyframes sw-boxh-tick{0%,73.82%{opacity:0}81.09%,91.27%{opacity:1}100%{opacity:0}}@keyframes sw-boxh-a-tl{0%{opacity:0}0.76%{opacity:0}1.52%{opacity:0}2.27%{opacity:0}3.03%{opacity:0}3.79%{opacity:0}4.55%{opacity:0}5.3%{opacity:0}6.06%{opacity:0}6.82%{opacity:0}7.58%{opacity:0}8.33%{opacity:0}9.09%{opacity:0}9.85%{opacity:0}10.61%{opacity:0}11.36%{opacity:0}12.12%{opacity:0}12.88%{opacity:0}13.64%{opacity:0}14.39%{opacity:0}15.15%{opacity:0}15.91%{opacity:0}16.67%{opacity:0}17.42%{opacity:0}18.18%{opacity:0}18.94%{opacity:0}19.7%{opacity:0}20.45%{opacity:0}21.21%{opacity:0}21.97%{opacity:0}22.73%{opacity:0}23.48%{opacity:0}24.24%{opacity:0}25%{opacity:0}25.76%{opacity:0}26.52%{opacity:0}27.27%{opacity:0}28.03%{opacity:0}28.79%{opacity:0}29.55%{opacity:0}30.3%{opacity:0}31.06%{opacity:0}31.82%{opacity:0}32.58%{opacity:0}33.33%{opacity:0}34.09%{opacity:0}34.85%{opacity:0}35.61%{opacity:0}36.36%{opacity:0}37.12%{opacity:0}37.88%{opacity:0}38.64%{opacity:0}39.39%{opacity:0}40.15%{opacity:0}40.91%{opacity:0}41.67%{opacity:0}42.42%{opacity:0}43.18%{opacity:0}43.94%{opacity:0}44.7%{opacity:0}45.45%{opacity:0}46.21%{opacity:0.253}46.97%{opacity:0.778}47.73%{opacity:0.475}48.48%{opacity:0.056}49.24%{opacity:0}50%{opacity:0.506}50.76%{opacity:0.51}51.52%{opacity:0.506}52.27%{opacity:0.494}53.03%{opacity:0.476}53.79%{opacity:0.452}54.55%{opacity:0.424}55.3%{opacity:0.393}56.06%{opacity:0.359}56.82%{opacity:0.324}57.58%{opacity:0.287}58.33%{opacity:0.25}59.09%{opacity:0.213}59.85%{opacity:0.176}60.61%{opacity:0.14}61.36%{opacity:0.104}62.12%{opacity:0.071}62.88%{opacity:0.038}63.64%{opacity:0.008}64.39%{opacity:0}65.15%{opacity:0}65.91%{opacity:0}66.67%{opacity:0}67.42%{opacity:0}68.18%{opacity:0}68.94%{opacity:0}69.7%{opacity:0}70.45%{opacity:0}71.21%{opacity:0}71.97%{opacity:0}72.73%{opacity:0}73.48%{opacity:0}74.24%{opacity:0}75%{opacity:0}75.76%{opacity:0}76.52%{opacity:0}77.27%{opacity:0}78.03%{opacity:0}78.79%{opacity:0}79.55%{opacity:0}80.3%{opacity:0}81.06%{opacity:0}81.82%{opacity:0}82.58%{opacity:0}83.33%{opacity:0}84.09%{opacity:0}84.85%{opacity:0}85.61%{opacity:0}86.36%{opacity:0}87.12%{opacity:0}87.88%{opacity:0}88.64%{opacity:0}89.39%{opacity:0}90.15%{opacity:0}90.91%{opacity:0}91.67%{opacity:0}92.42%{opacity:0}93.18%{opacity:0}93.94%{opacity:0}94.7%{opacity:0}95.45%{opacity:0}96.21%{opacity:0}96.97%{opacity:0}97.73%{opacity:0}98.48%{opacity:0}99.24%{opacity:0}100%{opacity:0}}@keyframes sw-boxh-a-tr{0%{opacity:0}0.76%{opacity:0}1.52%{opacity:0}2.27%{opacity:0}3.03%{opacity:0}3.79%{opacity:0}4.55%{opacity:0}5.3%{opacity:0}6.06%{opacity:0}6.82%{opacity:0}7.58%{opacity:0}8.33%{opacity:0}9.09%{opacity:0}9.85%{opacity:0}10.61%{opacity:0}11.36%{opacity:0}12.12%{opacity:0}12.88%{opacity:0}13.64%{opacity:0}14.39%{opacity:0}15.15%{opacity:0}15.91%{opacity:0}16.67%{opacity:0}17.42%{opacity:0}18.18%{opacity:0}18.94%{opacity:0}19.7%{opacity:0}20.45%{opacity:0}21.21%{opacity:0}21.97%{opacity:0}22.73%{opacity:0}23.48%{opacity:0}24.24%{opacity:0}25%{opacity:0}25.76%{opacity:0}26.52%{opacity:0}27.27%{opacity:0}28.03%{opacity:0}28.79%{opacity:0}29.55%{opacity:0}30.3%{opacity:0}31.06%{opacity:0}31.82%{opacity:0}32.58%{opacity:0}33.33%{opacity:0}34.09%{opacity:0}34.85%{opacity:0.181}35.61%{opacity:0.434}36.36%{opacity:0.751}37.12%{opacity:0.626}37.88%{opacity:0.333}38.64%{opacity:0.103}39.39%{opacity:0}40.15%{opacity:0}40.91%{opacity:0.081}41.67%{opacity:0.8}42.42%{opacity:0.8}43.18%{opacity:0.8}43.94%{opacity:0.8}44.7%{opacity:0.787}45.45%{opacity:0.756}46.21%{opacity:0.719}46.97%{opacity:0.679}47.73%{opacity:0.634}48.48%{opacity:0.588}49.24%{opacity:0.54}50%{opacity:0.491}50.76%{opacity:0.441}51.52%{opacity:0.391}52.27%{opacity:0.343}53.03%{opacity:0.295}53.79%{opacity:0.248}54.55%{opacity:0.203}55.3%{opacity:0.16}56.06%{opacity:0.118}56.82%{opacity:0.079}57.58%{opacity:0.043}58.33%{opacity:0.008}59.09%{opacity:0}59.85%{opacity:0}60.61%{opacity:0}61.36%{opacity:0}62.12%{opacity:0}62.88%{opacity:0}63.64%{opacity:0}64.39%{opacity:0}65.15%{opacity:0}65.91%{opacity:0}66.67%{opacity:0}67.42%{opacity:0}68.18%{opacity:0}68.94%{opacity:0}69.7%{opacity:0}70.45%{opacity:0}71.21%{opacity:0}71.97%{opacity:0}72.73%{opacity:0}73.48%{opacity:0}74.24%{opacity:0}75%{opacity:0}75.76%{opacity:0}76.52%{opacity:0}77.27%{opacity:0}78.03%{opacity:0}78.79%{opacity:0}79.55%{opacity:0}80.3%{opacity:0}81.06%{opacity:0}81.82%{opacity:0}82.58%{opacity:0}83.33%{opacity:0}84.09%{opacity:0}84.85%{opacity:0}85.61%{opacity:0}86.36%{opacity:0}87.12%{opacity:0}87.88%{opacity:0}88.64%{opacity:0}89.39%{opacity:0}90.15%{opacity:0}90.91%{opacity:0}91.67%{opacity:0}92.42%{opacity:0}93.18%{opacity:0}93.94%{opacity:0}94.7%{opacity:0}95.45%{opacity:0}96.21%{opacity:0}96.97%{opacity:0}97.73%{opacity:0}98.48%{opacity:0}99.24%{opacity:0}100%{opacity:0}}@keyframes sw-boxh-a-bl{0%{opacity:0}0.76%{opacity:0}1.52%{opacity:0}2.27%{opacity:0}3.03%{opacity:0}3.79%{opacity:0}4.55%{opacity:0}5.3%{opacity:0}6.06%{opacity:0}6.82%{opacity:0}7.58%{opacity:0}8.33%{opacity:0}9.09%{opacity:0}9.85%{opacity:0}10.61%{opacity:0}11.36%{opacity:0}12.12%{opacity:0}12.88%{opacity:0}13.64%{opacity:0}14.39%{opacity:0}15.15%{opacity:0}15.91%{opacity:0}16.67%{opacity:0}17.42%{opacity:0}18.18%{opacity:0}18.94%{opacity:0}19.7%{opacity:0}20.45%{opacity:0}21.21%{opacity:0}21.97%{opacity:0}22.73%{opacity:0}23.48%{opacity:0}24.24%{opacity:0}25%{opacity:0}25.76%{opacity:0}26.52%{opacity:0}27.27%{opacity:0}28.03%{opacity:0}28.79%{opacity:0}29.55%{opacity:0}30.3%{opacity:0}31.06%{opacity:0}31.82%{opacity:0}32.58%{opacity:0}33.33%{opacity:0}34.09%{opacity:0}34.85%{opacity:0}35.61%{opacity:0}36.36%{opacity:0}37.12%{opacity:0}37.88%{opacity:0}38.64%{opacity:0}39.39%{opacity:0}40.15%{opacity:0}40.91%{opacity:0}41.67%{opacity:0}42.42%{opacity:0.313}43.18%{opacity:0.8}43.94%{opacity:0.266}44.7%{opacity:0}45.45%{opacity:0.49}46.21%{opacity:0.544}46.97%{opacity:0.574}47.73%{opacity:0.584}48.48%{opacity:0.576}49.24%{opacity:0.554}50%{opacity:0.519}50.76%{opacity:0.475}51.52%{opacity:0.424}52.27%{opacity:0.368}53.03%{opacity:0.309}53.79%{opacity:0.248}54.55%{opacity:0.188}55.3%{opacity:0.129}56.06%{opacity:0.072}56.82%{opacity:0.018}57.58%{opacity:0}58.33%{opacity:0}59.09%{opacity:0}59.85%{opacity:0}60.61%{opacity:0}61.36%{opacity:0}62.12%{opacity:0}62.88%{opacity:0}63.64%{opacity:0}64.39%{opacity:0}65.15%{opacity:0}65.91%{opacity:0}66.67%{opacity:0}67.42%{opacity:0}68.18%{opacity:0}68.94%{opacity:0}69.7%{opacity:0}70.45%{opacity:0}71.21%{opacity:0}71.97%{opacity:0}72.73%{opacity:0}73.48%{opacity:0}74.24%{opacity:0}75%{opacity:0}75.76%{opacity:0}76.52%{opacity:0}77.27%{opacity:0}78.03%{opacity:0}78.79%{opacity:0}79.55%{opacity:0}80.3%{opacity:0}81.06%{opacity:0}81.82%{opacity:0}82.58%{opacity:0}83.33%{opacity:0}84.09%{opacity:0}84.85%{opacity:0}85.61%{opacity:0}86.36%{opacity:0}87.12%{opacity:0}87.88%{opacity:0}88.64%{opacity:0}89.39%{opacity:0}90.15%{opacity:0}90.91%{opacity:0}91.67%{opacity:0}92.42%{opacity:0}93.18%{opacity:0}93.94%{opacity:0}94.7%{opacity:0}95.45%{opacity:0}96.21%{opacity:0}96.97%{opacity:0}97.73%{opacity:0}98.48%{opacity:0}99.24%{opacity:0}100%{opacity:0}}@keyframes sw-boxh-a-br{0%{opacity:0}0.76%{opacity:0}1.52%{opacity:0}2.27%{opacity:0}3.03%{opacity:0}3.79%{opacity:0}4.55%{opacity:0}5.3%{opacity:0}6.06%{opacity:0}6.82%{opacity:0}7.58%{opacity:0}8.33%{opacity:0}9.09%{opacity:0}9.85%{opacity:0}10.61%{opacity:0}11.36%{opacity:0}12.12%{opacity:0}12.88%{opacity:0}13.64%{opacity:0}14.39%{opacity:0}15.15%{opacity:0}15.91%{opacity:0}16.67%{opacity:0}17.42%{opacity:0}18.18%{opacity:0}18.94%{opacity:0}19.7%{opacity:0}20.45%{opacity:0}21.21%{opacity:0}21.97%{opacity:0}22.73%{opacity:0}23.48%{opacity:0}24.24%{opacity:0}25%{opacity:0}25.76%{opacity:0}26.52%{opacity:0}27.27%{opacity:0}28.03%{opacity:0}28.79%{opacity:0}29.55%{opacity:0}30.3%{opacity:0}31.06%{opacity:0}31.82%{opacity:0}32.58%{opacity:0}33.33%{opacity:0}34.09%{opacity:0}34.85%{opacity:0}35.61%{opacity:0}36.36%{opacity:0}37.12%{opacity:0}37.88%{opacity:0}38.64%{opacity:0}39.39%{opacity:0}40.15%{opacity:0}40.91%{opacity:0}41.67%{opacity:0}42.42%{opacity:0}43.18%{opacity:0}43.94%{opacity:0}44.7%{opacity:0}45.45%{opacity:0}46.21%{opacity:0.253}46.97%{opacity:0.778}47.73%{opacity:0.475}48.48%{opacity:0.056}49.24%{opacity:0}50%{opacity:0.626}50.76%{opacity:0.683}51.52%{opacity:0.712}52.27%{opacity:0.717}53.03%{opacity:0.702}53.79%{opacity:0.67}54.55%{opacity:0.625}55.3%{opacity:0.569}56.06%{opacity:0.506}56.82%{opacity:0.437}57.58%{opacity:0.366}58.33%{opacity:0.294}59.09%{opacity:0.222}59.85%{opacity:0.153}60.61%{opacity:0.087}61.36%{opacity:0.025}62.12%{opacity:0}62.88%{opacity:0}63.64%{opacity:0}64.39%{opacity:0}65.15%{opacity:0}65.91%{opacity:0}66.67%{opacity:0}67.42%{opacity:0}68.18%{opacity:0}68.94%{opacity:0}69.7%{opacity:0}70.45%{opacity:0}71.21%{opacity:0}71.97%{opacity:0}72.73%{opacity:0}73.48%{opacity:0}74.24%{opacity:0}75%{opacity:0}75.76%{opacity:0}76.52%{opacity:0}77.27%{opacity:0}78.03%{opacity:0}78.79%{opacity:0}79.55%{opacity:0}80.3%{opacity:0}81.06%{opacity:0}81.82%{opacity:0}82.58%{opacity:0}83.33%{opacity:0}84.09%{opacity:0}84.85%{opacity:0}85.61%{opacity:0}86.36%{opacity:0}87.12%{opacity:0}87.88%{opacity:0}88.64%{opacity:0}89.39%{opacity:0}90.15%{opacity:0}90.91%{opacity:0}91.67%{opacity:0}92.42%{opacity:0}93.18%{opacity:0}93.94%{opacity:0}94.7%{opacity:0}95.45%{opacity:0}96.21%{opacity:0}96.97%{opacity:0}97.73%{opacity:0}98.48%{opacity:0}99.24%{opacity:0}100%{opacity:0}} +.sw-box.mono{--sw-under:color-mix(in srgb,currentColor 35%,transparent)!important;--sw-spark:currentColor} .sw-box.mono .dk{display:none!important}.sw-box.mono .lt{display:block!important} .sw-box.mono svg>path:not(.f){fill:currentColor!important} .sw-box.mono svg>path:not(.f):nth-child(1){fill-opacity:.45}.sw-box.mono svg>path:not(.f):nth-child(2){fill-opacity:.7} .sw-box.mono .c{fill-opacity:1} -.sw-box.mono .f{--c:currentColor!important;--alt:color-mix(in srgb,currentColor 60%,transparent)!important} +.sw-box.mono .f{--c:currentColor!important;--alt:currentColor!important;--sw-gap-w:0px;--sw-ramp-w:0px} .sw-box.mono .w{fill:currentColor!important;fill-opacity:.25} -/* Ground overrides for the logo hover cycle: force the artwork for a surface that is always dark (g-dark) or light (g-light). */ -.sw-box.g-dark{--sw-under:#66625D;--sw-spark:#FFF4E8;--sw-seam:#000} +/* Ground overrides for the logo hover cycle (boxGroundCss): force the artwork for a surface that is always dark (g-dark) or light (g-light). */ +.sw-box.g-dark{--sw-under:#66625D;--sw-spark:#FFF4E8} .sw-box.g-dark .lt{display:none}.sw-box.g-dark .dk{display:block}.sw-box.g-dark .w{fill:#FFF4E8;fill-opacity:.14} -html.dark .sw-box.g-light{--sw-under:#354845;--sw-spark:#142C2A;--sw-seam:#142C2A} +html.dark .sw-box.g-light{--sw-under:#354845;--sw-spark:#142C2A} html.dark .sw-box.g-light .dk{display:none}html.dark .sw-box.g-light .lt{display:block}html.dark .sw-box.g-light .w{fill:#354845;fill-opacity:1} diff --git a/motion/box-open/demo.html b/motion/box-open/demo.html index 0d45e20..9db46d8 100644 --- a/motion/box-open/demo.html +++ b/motion/box-open/demo.html @@ -19,11 +19,11 @@

    Box-open loader

    Page / panel loader (LogoLoader, 72px)

    -
    Loading
    +
    Loading

    Inline spinner (BoxSpinner, 16 / 20 / 24px)

    -
    +

    Inside a button (mono, takes the text colour)

    -
    +

    Under prefers-reduced-motion: reduce every size shows the still, open logo.

    diff --git a/motion/box-open/previews/button-saving-dark.gif b/motion/box-open/previews/button-saving-dark.gif index a035b14..bc8fdf9 100644 Binary files a/motion/box-open/previews/button-saving-dark.gif and b/motion/box-open/previews/button-saving-dark.gif differ diff --git a/motion/box-open/previews/button-saving-dark.webp b/motion/box-open/previews/button-saving-dark.webp index 1dcec9b..66a54a3 100644 Binary files a/motion/box-open/previews/button-saving-dark.webp and b/motion/box-open/previews/button-saving-dark.webp differ diff --git a/motion/box-open/previews/button-saving-light.gif b/motion/box-open/previews/button-saving-light.gif index 4bc0ffd..c71bd07 100644 Binary files a/motion/box-open/previews/button-saving-light.gif and b/motion/box-open/previews/button-saving-light.gif differ diff --git a/motion/box-open/previews/button-saving-light.webp b/motion/box-open/previews/button-saving-light.webp index 526eb8a..11a5318 100644 Binary files a/motion/box-open/previews/button-saving-light.webp and b/motion/box-open/previews/button-saving-light.webp differ diff --git a/motion/box-open/previews/inline-row-dark.gif b/motion/box-open/previews/inline-row-dark.gif index f1f5538..96b81d3 100644 Binary files a/motion/box-open/previews/inline-row-dark.gif and b/motion/box-open/previews/inline-row-dark.gif differ diff --git a/motion/box-open/previews/inline-row-dark.webp b/motion/box-open/previews/inline-row-dark.webp index 0fd5d28..cb7f81a 100644 Binary files a/motion/box-open/previews/inline-row-dark.webp and b/motion/box-open/previews/inline-row-dark.webp differ diff --git a/motion/box-open/previews/inline-row-light.gif b/motion/box-open/previews/inline-row-light.gif index 23ee640..3c5b9fd 100644 Binary files a/motion/box-open/previews/inline-row-light.gif and b/motion/box-open/previews/inline-row-light.gif differ diff --git a/motion/box-open/previews/inline-row-light.webp b/motion/box-open/previews/inline-row-light.webp index 3a555e8..77536d5 100644 Binary files a/motion/box-open/previews/inline-row-light.webp and b/motion/box-open/previews/inline-row-light.webp differ diff --git a/motion/box-open/previews/loader-dark.gif b/motion/box-open/previews/loader-dark.gif index 5dd42ce..a5dac07 100644 Binary files a/motion/box-open/previews/loader-dark.gif and b/motion/box-open/previews/loader-dark.gif differ diff --git a/motion/box-open/previews/loader-dark.webp b/motion/box-open/previews/loader-dark.webp index 9e8027f..9d22c38 100644 Binary files a/motion/box-open/previews/loader-dark.webp and b/motion/box-open/previews/loader-dark.webp differ diff --git a/motion/box-open/previews/loader-light.gif b/motion/box-open/previews/loader-light.gif index d02c883..867abd4 100644 Binary files a/motion/box-open/previews/loader-light.gif and b/motion/box-open/previews/loader-light.gif differ diff --git a/motion/box-open/previews/loader-light.webp b/motion/box-open/previews/loader-light.webp index ed7b4cf..defa344 100644 Binary files a/motion/box-open/previews/loader-light.webp and b/motion/box-open/previews/loader-light.webp differ diff --git a/motion/box-open/previews/logo-hover-dark.gif b/motion/box-open/previews/logo-hover-dark.gif index 8c5d99c..ef9ce46 100644 Binary files a/motion/box-open/previews/logo-hover-dark.gif and b/motion/box-open/previews/logo-hover-dark.gif differ diff --git a/motion/box-open/previews/logo-hover-dark.webp b/motion/box-open/previews/logo-hover-dark.webp index 464a1ef..ccc1d0b 100644 Binary files a/motion/box-open/previews/logo-hover-dark.webp and b/motion/box-open/previews/logo-hover-dark.webp differ diff --git a/motion/box-open/previews/logo-hover-light.gif b/motion/box-open/previews/logo-hover-light.gif index 9d099ff..ffae29e 100644 Binary files a/motion/box-open/previews/logo-hover-light.gif and b/motion/box-open/previews/logo-hover-light.gif differ diff --git a/motion/box-open/previews/logo-hover-light.webp b/motion/box-open/previews/logo-hover-light.webp index 67aafce..5d8537e 100644 Binary files a/motion/box-open/previews/logo-hover-light.webp and b/motion/box-open/previews/logo-hover-light.webp differ diff --git a/motion/box-open/react/boxOpen/css.ts b/motion/box-open/react/boxOpen/css.ts index 87f7638..f31fc59 100644 --- a/motion/box-open/react/boxOpen/css.ts +++ b/motion/box-open/react/boxOpen/css.ts @@ -1,5 +1,6 @@ import { - FLAP_KEYS, arcOpacity, capOpacity, flapFace, flapTransform, hoverAngle, loopAngle, openAngle, wallOpacity, type FlapKey, + FLAP_KEYS, arcOpacity, flapArea, flapFace, flapLayer, flapTransform, hoverAngle, loopAngle, moving, openAngle, wallOpacity, + type FlapKey, } from "./geometry"; /** Duration of the one-shot opening (ms) and of one loader cycle (ms). */ @@ -11,28 +12,66 @@ export const HOVER_MS = FOLD_MS + OPEN_MS; /** * Flap keyframes are dense (one per frame at 60 fps for the opening) and played with steps(1,end): browsers * interpolate two matrix() values by decomposing them, which drifts the hinge and glitches near edge-on, so - * no flap matrix is ever interpolated. Opacity curves interpolate linearly. + * no flap matrix is ever interpolated. The cap and the tr layer swap are steps on the same grid, so they change + * on exactly the frame the flaps do. Only the wall and arc opacities interpolate linearly. */ const SAMPLES = 96; const LOOP_SAMPLES = 160; const pct = (i: number, n = SAMPLES) => `${Math.round((i / n) * 10000) / 100}%`; type AngleFn = (key: FlapKey, t: number) => number; +const anglesAt = (angle: AngleFn, t: number) => FLAP_KEYS.map(key => angle(key, t)); +const n3 = (value: number) => String(Math.round(value * 1000) / 1000); + +/** Inner face: the logo colour, shaded towards the under-colour; outer face: `--alt`. */ +function fill(key: FlapKey, deg: number): string { + const { side, shade } = flapFace(key, deg); + if (side === "outer") return "var(--alt)"; + if (shade <= 0) return "var(--c)"; + if (shade >= 1) return "var(--sw-under)"; + return `color-mix(in srgb,var(--sw-under) ${Math.round(shade * 1000) / 10}%,var(--c))`; +} + +/** + * A moving flap is outlined in the ground colour (`--sw-ground`), drawn under its fill (paint-order: stroke), the + * way both masters separate their parts with ground-coloured gaps; without it a teal flap melts into the teal + * face behind it, and a cream flap into the cream cap. The reversed artwork switches it on with its cap, on the + * first frame anything moves (`--sw-gap-w`); the light artwork has no cap and fades it in over the first + * RAMP_DEG degrees (`--sw-ramp-w`), so the resting logo and the first frames match. Both thin out near edge-on, + * where the flap is a sliver and a full outline would read as a cut. + */ +const RAMP_DEG = 12; +function strokeWidth(key: FlapKey, deg: number, live: boolean): string { + const thin = Math.min(1, Math.abs(flapArea(key, deg)) / 0.3); + const gap = live ? thin : 0; + const ramp = Math.min(1, Math.abs(deg) / RAMP_DEG) * thin; + if (!gap && !ramp) return "0"; + return `calc(${n3(gap)} * var(--sw-gap-w) + ${n3(ramp)} * var(--sw-ramp-w))`; +} function flapKeyframes(name: string, key: FlapKey, angle: AngleFn, n: number): string { const rows: string[] = []; let previous = ""; for (let i = 0; i <= n; i++) { - const deg = angle(key, i / n); - const face = flapFace(key, deg); - // The orange lid half gets a thin ink seam line while shut; at rest the stroke width is 0 (nothing painted). - const seam = key === "tr" ? `;stroke:var(--sw-seam);stroke-width:${deg > 150 ? 0.45 : 0}px;stroke-linejoin:round` : ""; - const body = `transform:${flapTransform(key, deg)};fill:var(--${face === "c" ? "c" : face === "alt" ? "alt" : "sw-under"})${seam}`; + const t = i / n, deg = angle(key, t); + const body = `transform:${flapTransform(key, deg)};fill:${fill(key, deg)};stroke-width:${strokeWidth(key, deg, moving(anglesAt(angle, t)))}`; if (body !== previous || i === n) rows.push(`${pct(i, n)}{${body}}`); previous = body; } return `@keyframes ${name}-${key}{${rows.join("")}}`; } +/** Opacity 0/1 keyframes (played with steps), emitted only where the value changes. */ +function stepKeyframes(name: string, on: (t: number) => boolean, n: number): string { + const rows: string[] = []; + let previous: boolean | undefined; + for (let i = 0; i <= n; i++) { + const value = on(i / n); + if (value !== previous || i === n) rows.push(`${pct(i, n)}{opacity:${value ? 1 : 0}}`); + previous = value; + } + return `@keyframes ${name}{${rows.join("")}}`; +} + // Every sample is emitted: opacity keyframes interpolate linearly, so dropping unchanged samples would smear a ramp across the gap. function curveKeyframes(name: string, value: (t: number) => number, n = SAMPLES): string { const rows: string[] = []; @@ -40,8 +79,7 @@ function curveKeyframes(name: string, value: (t: number) => number, n = SAMPLES) return `@keyframes ${name}{${rows.join("")}}`; } -const meanCap = (angle: AngleFn) => (t: number) => capOpacity((["tl", "br"] as const).map(key => angle(key, t))); -const meanWall = (angle: AngleFn) => (t: number) => wallOpacity(FLAP_KEYS.map(key => angle(key, t))); +const meanWall = (angle: AngleFn) => (t: number) => wallOpacity(anglesAt(angle, t)); function arcCurve(key: FlapKey, angle: AngleFn = openAngle, from = 0) { const dt = 1 / 400; const speed = (t: number) => Math.abs(angle(key, t + dt) - angle(key, t)) / dt; @@ -51,12 +89,26 @@ function arcCurve(key: FlapKey, angle: AngleFn = openAngle, from = 0) { return (t: number) => (t > 0.97 || t < from ? 0 : arcOpacity(speed(t), peak)); } -const BASE = `.sw-box{position:relative;--sw-under:#354845;--sw-spark:#142C2A;--sw-seam:#142C2A} -html.dark .sw-box{--sw-under:#66625D;--sw-spark:#FFF4E8;--sw-seam:#000} +/** Flaps, tr's two layers, the cap and the wall of one cycle: every channel sampled on the same grid. */ +function cycle(name: string, mode: string, ms: number, iteration: string, angle: AngleFn, n: number): string { + const steps = `${ms}ms steps(1,end) ${iteration}`; + const run = FLAP_KEYS.map(key => `.sw-box.${mode} .f-${key}{animation:${name}-${key} ${steps}}`).join("") + + ([0, 1] as const).map(z => `.sw-box.${mode} .f-tr.z${z}{animation:${name}-tr ${steps},${name}-tr-z${z} ${steps}}`).join("") + + `.sw-box.${mode} .w{animation:${name}-w ${ms}ms linear ${iteration}}.sw-box.${mode} .p{animation:${name}-p ${steps}}`; + const frames = FLAP_KEYS.map(key => flapKeyframes(name, key, angle, n)).join("") + + ([0, 1] as const).map(z => stepKeyframes(`${name}-tr-z${z}`, t => flapLayer(angle("tr", t)) === z, n)).join("") + + stepKeyframes(`${name}-p`, t => moving(anglesAt(angle, t)), n) + curveKeyframes(`${name}-w`, meanWall(angle), n); + return run + frames; +} + +const BASE = `.sw-box{position:relative;--sw-under:#354845;--sw-spark:#142C2A} +html.dark .sw-box{--sw-under:#66625D;--sw-spark:#FFF4E8} .sw-box svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible} .sw-box .dk,html.dark .sw-box .lt{display:none} html.dark .sw-box .dk{display:block} -.sw-box .f{transform-origin:0 0} +.sw-box .f{transform-origin:0 0;stroke:var(--sw-ground,#FFF4E8);stroke-width:0;stroke-linejoin:round;paint-order:stroke;--sw-gap-w:0px;--sw-ramp-w:3.8px} +.sw-box .dk .f{stroke:var(--sw-ground,#000);--sw-gap-w:3.8px;--sw-ramp-w:0px} +.sw-box .f.z1{opacity:0} .sw-box .w{fill:#354845;opacity:0} html.dark .sw-box .w{fill:#FFF4E8;fill-opacity:.14} .sw-box .a,.sw-box .k,.sw-box .r,.sw-box .p{opacity:0} @@ -67,20 +119,14 @@ html.dark .sw-box .w{fill:#FFF4E8;fill-opacity:.14} @media (prefers-reduced-motion:reduce){.sw-box .f,.sw-box .w,.sw-box .p,.sw-box .a,.sw-box .k,.sw-box .r{animation:none!important}}`; function once(): string { - const run = FLAP_KEYS.map(key => `.sw-box.once .f-${key}{animation:sw-box-${key} ${OPEN_MS}ms steps(1,end) both}` - + `.sw-box.once .a-${key}{animation:sw-box-a-${key} ${OPEN_MS}ms linear both}`).join(""); - const fx = `.sw-box.once .w{animation:sw-box-w ${OPEN_MS}ms linear both}` - + `.sw-box.once .p{animation:sw-box-p ${OPEN_MS}ms linear both}` - + `.sw-box.once .k{animation:sw-box-spark ${OPEN_MS}ms ease-out both}.sw-box.once .r{animation:sw-box-tick ${OPEN_MS}ms linear both}`; - const frames = FLAP_KEYS.map(key => flapKeyframes("sw-box", key, openAngle, SAMPLES) - + curveKeyframes(`sw-box-a-${key}`, arcCurve(key))).join("") + curveKeyframes("sw-box-w", meanWall(openAngle)) + curveKeyframes("sw-box-p", meanCap(openAngle)); - return run + fx + frames; + const arcs = FLAP_KEYS.map(key => `.sw-box.once .a-${key}{animation:sw-box-a-${key} ${OPEN_MS}ms linear both}`).join("") + + `.sw-box.once .k{animation:sw-box-spark ${OPEN_MS}ms ease-out both}.sw-box.once .r{animation:sw-box-tick ${OPEN_MS}ms linear both}` + + FLAP_KEYS.map(key => curveKeyframes(`sw-box-a-${key}`, arcCurve(key))).join(""); + return cycle("sw-box", "once", OPEN_MS, "both", openAngle, SAMPLES) + arcs; } function loop(): string { - const run = FLAP_KEYS.map(key => `.sw-box.loop .f-${key}{animation:sw-boxl-${key} ${LOOP_MS}ms steps(1,end) infinite}`).join("") - + `.sw-box.loop .w{animation:sw-boxl-w ${LOOP_MS}ms linear infinite}.sw-box.loop .p{animation:sw-boxl-p ${LOOP_MS}ms linear infinite}`; - return run + FLAP_KEYS.map(key => flapKeyframes("sw-boxl", key, loopAngle, LOOP_SAMPLES)).join("") + curveKeyframes("sw-boxl-w", meanWall(loopAngle)) + curveKeyframes("sw-boxl-p", meanCap(loopAngle)); + return cycle("sw-boxl", "loop", LOOP_MS, "infinite", loopAngle, LOOP_SAMPLES); } /** @@ -92,16 +138,12 @@ function hover(): string { const angle: AngleFn = (key, t) => hoverAngle(key, t, fold); const at = (p: number) => `${Math.round((fold + (1 - fold) * p) * 10000) / 100}%`; const N = 132; - const run = FLAP_KEYS.map(key => `.sw-box.hov .f-${key}{animation:sw-boxh-${key} ${HOVER_MS}ms steps(1,end) both}` - + `.sw-box.hov .a-${key}{animation:sw-boxh-a-${key} ${HOVER_MS}ms linear both}`).join("") - + `.sw-box.hov .w{animation:sw-boxh-w ${HOVER_MS}ms linear both}.sw-box.hov .p{animation:sw-boxh-p ${HOVER_MS}ms linear both}` + const fx = FLAP_KEYS.map(key => `.sw-box.hov .a-${key}{animation:sw-boxh-a-${key} ${HOVER_MS}ms linear both}`).join("") + `.sw-box.hov .k{animation:sw-boxh-spark ${HOVER_MS}ms ease-out both}.sw-box.hov .r{animation:sw-boxh-tick ${HOVER_MS}ms linear both}`; const sparks = `@keyframes sw-boxh-spark{0%,${at(0.66)}{opacity:0;transform:scale(.3)}${at(0.77)}{opacity:1;transform:scale(1.15)}${at(0.85)}{transform:scale(1)}${at(0.91)}{opacity:1}100%{opacity:0;transform:scale(1)}}` + `@keyframes sw-boxh-tick{0%,${at(0.64)}{opacity:0}${at(0.74)},${at(0.88)}{opacity:1}100%{opacity:0}}`; - const frames = FLAP_KEYS.map(key => flapKeyframes("sw-boxh", key, angle, N) - + curveKeyframes(`sw-boxh-a-${key}`, arcCurve(key, angle, fold), N)).join("") - + curveKeyframes("sw-boxh-w", meanWall(angle), N) + curveKeyframes("sw-boxh-p", meanCap(angle), N); - return run + sparks + frames; + const arcs = FLAP_KEYS.map(key => curveKeyframes(`sw-boxh-a-${key}`, arcCurve(key, angle, fold), N)).join(""); + return cycle("sw-boxh", "hov", HOVER_MS, "both", angle, N) + fx + sparks + arcs; } /** All box CSS. `mode` limits it to what a host needs (index.html only plays the one-shot). */ @@ -118,11 +160,23 @@ ${hover()}` : ""].join("\n"); */ export function boxMonoCss(): string { const mix = (n: number) => `color-mix(in srgb,currentColor ${n}%,transparent)`; - return `.sw-box.mono{--sw-under:${mix(35)}!important;--sw-spark:currentColor;--sw-seam:currentColor} + return `.sw-box.mono{--sw-under:${mix(35)}!important;--sw-spark:currentColor} .sw-box.mono .dk{display:none!important}.sw-box.mono .lt{display:block!important} .sw-box.mono svg>path:not(.f){fill:currentColor!important} .sw-box.mono svg>path:not(.f):nth-child(1){fill-opacity:.45}.sw-box.mono svg>path:not(.f):nth-child(2){fill-opacity:.7} .sw-box.mono .c{fill-opacity:1} -.sw-box.mono .f{--c:currentColor!important;--alt:${mix(60)}!important} +.sw-box.mono .f{--c:currentColor!important;--alt:currentColor!important;--sw-gap-w:0px;--sw-ramp-w:0px} .sw-box.mono .w{fill:currentColor!important;fill-opacity:.25}`; } + +/** + * Forced grounds for the logo hover cycle: `g-dark` draws the reversed artwork on a surface that is always dark, + * `g-light` the light artwork on a surface that is always light, whatever `html.dark` says. The flap outlines + * follow the artwork (`.lt`/`.dk`), so only the theme colours need forcing here. + */ +export function boxGroundCss(): string { + return `.sw-box.g-dark{--sw-under:#66625D;--sw-spark:#FFF4E8} +.sw-box.g-dark .lt{display:none}.sw-box.g-dark .dk{display:block}.sw-box.g-dark .w{fill:#FFF4E8;fill-opacity:.14} +html.dark .sw-box.g-light{--sw-under:#354845;--sw-spark:#142C2A} +html.dark .sw-box.g-light .dk{display:none}html.dark .sw-box.g-light .lt{display:block}html.dark .sw-box.g-light .w{fill:#354845;fill-opacity:1}`; +} diff --git a/motion/box-open/react/boxOpen/geometry.ts b/motion/box-open/react/boxOpen/geometry.ts index 7ffd55c..d98001f 100644 --- a/motion/box-open/react/boxOpen/geometry.ts +++ b/motion/box-open/react/boxOpen/geometry.ts @@ -14,9 +14,19 @@ export type FlapKey = "tl" | "tr" | "bl" | "br"; type Pt = readonly [number, number]; type Hinge = { h1: Pt; h2: Pt; m: Pt }; -/** Bottom-to-top draw order while closed: tr (orange) ends up on top of the folded lid. */ -export const FLAP_ORDER: readonly FlapKey[] = ["bl", "tl", "br", "tr"]; export const FLAP_KEYS: readonly FlapKey[] = ["tl", "tr", "bl", "br"]; +/** + * Document (paint) order, bottom to top. Shut, the box closes like a real one: the inner pair (tl, br) lies + * under the outer pair (bl, then tr), so the lid shows tr's orange half and bl's teal half — one orange face. + * Opened, tr lies at the back, where the front flaps and a lifting tl/br must cover it, so tr is drawn twice: + * layer 0 (bottom) while it is at most LAYER_DEG, layer 1 (top) beyond. The swap happens while tr overlaps + * no other flap, so it never shows. + */ +export const FLAP_SLOTS: readonly { key: FlapKey; layer?: 0 | 1 }[] = [ + { key: "tr", layer: 0 }, { key: "tl" }, { key: "br" }, { key: "bl" }, { key: "tr", layer: 1 }, +]; +const LAYER_DEG = 100; +export const flapLayer = (deg: number): 0 | 1 => (deg > LAYER_DEG ? 1 : 0); const LIFT = 20.25; const rad = (deg: number) => (deg * Math.PI) / 180; @@ -28,47 +38,115 @@ export const HINGES: Record = { }; const num = (value: number) => Math.round(value * 1000) / 1000; +const sub = (a: Pt, b: Pt): Pt => [a[0] - b[0], a[1] - b[1]]; +const cross = (a: Pt, b: Pt) => a[0] * b[1] - a[1] * b[0]; /** - * While shut the lid must be one clean rhombus: opposing flaps overlap slightly at the seam (`k` stretches the - * flap depth from 0.452 to 0.515 of the box side), so no interior shows, and the lid rides 1.6 units above the body - * so the cream edge line between lid and faces stays visible. Both ease in over the last 30 degrees of the fold. + * Shut, opposing flaps must overlap or the interior shows through a slot down the middle of the lid. The hinges + * sit a little outside the rim, so a flap folded at its own depth reaches only 47.1 of the 55.9 units between + * opposite hinges. SHUT_K stretches the flap depth until each opposite pair overlaps by SHUT_OVERLAP. + */ +const SHUT_OVERLAP = 1.2; +function reachNeeded(a: FlapKey, b: FlapKey): number { + const dir = sub(HINGES[a].h2, HINGES[a].h1); + const n: Pt = [-dir[1] / Math.hypot(...dir), dir[0] / Math.hypot(...dir)]; + const dot = (p: Pt) => p[0] * n[0] + p[1] * n[1]; + const gap = Math.abs(dot(sub(HINGES[b].h1, HINGES[a].h1))); + return (gap + SHUT_OVERLAP) / (Math.abs(dot(HINGES[a].m)) + Math.abs(dot(HINGES[b].m))); +} +export const SHUT_K = Math.max(reachNeeded("tl", "br"), reachNeeded("tr", "bl")); + +/** + * While shut the lid must be one clean rhombus: opposing flaps overlap at the seam (SHUT_K) and the lid rides 1.6 + * units above the body so the edge line between lid and faces stays visible. Both ease in over the last 30 degrees. */ const closedness = (deg: number) => Math.min(1, Math.max(0, (deg - 150) / 30)); +/** + * The hinges stop short of the rim's corners, so a shut outer flap (bl, tr) would leave a strip of the inner flap + * under it showing along the rim, a double edge. Shut, each outer flap is widened along its hinge up to where the + * neighbouring inner hinge lines cross it: `[before h1, after h2]` in box units. + */ +const OUTER: readonly FlapKey[] = ["bl", "tr"]; +function widen(key: FlapKey): readonly [number, number] { + const { h1, h2 } = HINGES[key]; + const h = sub(h2, h1), len = Math.hypot(...h); + const reach = (end: Pt) => { + let best = 0; + for (const other of FLAP_KEYS) { + if (OUTER.includes(other)) continue; + const o = HINGES[other], d = sub(o.h2, o.h1); + if (Math.min(Math.hypot(...sub(o.h1, end)), Math.hypot(...sub(o.h2, end))) > 6) continue; + // Parameter along h where this hinge line crosses the other one. + const s = cross(sub(o.h1, h1), d) / cross(h, d); + best = Math.max(best, end === h1 ? -s * len : (s - 1) * len); + } + return best; + }; + return [reach(h1), reach(h2)]; +} +const WIDEN = Object.fromEntries(FLAP_KEYS.map(key => [key, OUTER.includes(key) ? widen(key) : [0, 0]])) as Record; + /** `matrix(a,b,c,d,e,f)` swinging the flap `deg` about its hinge, or "none" when it is at rest. */ export function flapTransform(key: FlapKey, deg: number): string { if (Math.abs(deg) < 0.01) return "none"; const { h1, h2, m } = HINGES[key]; - const h: Pt = [h2[0] - h1[0], h2[1] - h1[1]]; - const c = Math.cos(rad(deg)); - const sn = Math.sin(rad(deg)); - const shut = closedness(deg); - const k = 1 + 0.14 * shut; - return affine(h, m, [k * m[0] * c, k * (m[1] * c - LIFT * sn)], h1, -1.6 * shut); + const shut = closedness(deg), h = sub(h2, h1), len = Math.hypot(...h); + const [before, after] = WIDEN[key].map(v => v * shut); + const hp: Pt = [h[0] * (1 + (before + after) / len), h[1] * (1 + (before + after) / len)]; + const k = 1 + (SHUT_K - 1) * shut; + return affine(h, hp, m, swung(key, deg, k), h1, [-h[0] / len * before, -h[1] / len * before - 1.6 * shut]); } +const swung = (key: FlapKey, deg: number, k = 1): Pt => { + const { m } = HINGES[key]; + return [k * m[0] * Math.cos(rad(deg)), k * (m[1] * Math.cos(rad(deg)) - LIFT * Math.sin(rad(deg)))]; +}; -/** Linear map L with L h = h and L m = mp, as a CSS matrix pivoting on `origin`. */ -function affine(h: Pt, m: Pt, mp: Pt, origin: Pt, dy = 0): string { +/** Linear map L with L h = hp and L m = mp, as a CSS matrix pivoting on `origin`, then shifted by `shift`. */ +function affine(h: Pt, hp: Pt, m: Pt, mp: Pt, origin: Pt, shift: Pt): string { const det = h[0] * m[1] - m[0] * h[1]; // Inverse of [h m] (columns): (1/det) [[m1, -m0], [-h1, h0]]. const i00 = m[1] / det, i01 = -m[0] / det, i10 = -h[1] / det, i11 = h[0] / det; - // L = [h mp] * inverse. - const a = h[0] * i00 + mp[0] * i10; - const c = h[0] * i01 + mp[0] * i11; - const b = h[1] * i00 + mp[1] * i10; - const d = h[1] * i01 + mp[1] * i11; - const e = origin[0] - (a * origin[0] + c * origin[1]); - const f = origin[1] - (b * origin[0] + d * origin[1]) + dy; + // L = [hp mp] * inverse. + const a = hp[0] * i00 + mp[0] * i10; + const c = hp[0] * i01 + mp[0] * i11; + const b = hp[1] * i00 + mp[1] * i10; + const d = hp[1] * i01 + mp[1] * i11; + const e = origin[0] - (a * origin[0] + c * origin[1]) + shift[0]; + const f = origin[1] - (b * origin[0] + d * origin[1]) + shift[1]; const dp = (value: number, places: number) => String(Number(value.toFixed(places))); return `matrix(${[a, b, c, d].map(v => dp(v, 4)).join(",")},${dp(e, 2)},${dp(f, 2)})`; } +/** + * Signed on-screen area of the swung flap relative to its resting area: 1 at rest, 0 edge-on, negative once the + * other face is turned to the viewer. Back flaps (tl, tr) go edge-on near 126 degrees, front flaps (bl, br) near 56. + */ +export function flapArea(key: FlapKey, deg: number): number { + const h = sub(HINGES[key].h2, HINGES[key].h1); + return cross(h, swung(key, deg)) / cross(h, HINGES[key].m); +} + const clamp = (value: number, lo = 0, hi = 1) => Math.min(hi, Math.max(lo, value)); const easeInOut = (p: number) => (p < 0.5 ? 4 * p * p * p : 1 - Math.pow(-2 * p + 2, 3) / 2); +const smooth = (p: number) => { const x = clamp(p); return x * x * (3 - 2 * x); }; +/** Back flaps shade between these angles (degrees) on the way up: short, so the orange passes its darker mixes quickly. */ +const SHADE_FROM = 45, SHADE_TO = 70; + +/** + * The face a flap shows, decided by which side is turned to the viewer, so it only ever changes edge-on (where the + * flap has no area, so the change cannot be seen). The inner face is the logo's colour; back flaps standing up + * shade towards the dark under-colour smoothly (`shade` 0..1). The outer face is `--alt`: orange for tr (the one + * orange half of the shut lid), teal for the others; one cream in the reversed artwork. + */ +export function flapFace(key: FlapKey, deg: number): { side: "inner" | "outer"; shade: number } { + if (flapArea(key, deg) <= 0) return { side: "outer", shade: 0 }; + const back = key === "tl" || key === "tr"; + return { side: "inner", shade: back ? num(smooth((deg - SHADE_FROM) / (SHADE_TO - SHADE_FROM))) : 0 }; +} type Schedule = { lift: number; spring: number; end: number; decay: number; cycles: number }; -/** The orange flaps (tr, then bl) start first, alone; the teal pair (tl, br) follows. Back flaps wobble less than front ones. */ +/** The top flap (tr) starts first, alone, then bl (now on top); the inner pair (tl, br) follows. Back flaps wobble less than front ones. */ const SCHEDULE: Record = { tr: { lift: 0.07, spring: 0.19, end: 0.84, decay: 4.2, cycles: 0.75 }, bl: { lift: 0.19, spring: 0.25, end: 0.83, decay: 4.6, cycles: 1.1 }, @@ -90,42 +168,42 @@ export function openAngle(key: FlapKey, t: number): number { return (180 - LIFT_DEG) * (1 - g); } -/** Loader cycle: open (the one-shot), hold open, fold shut together, hold shut. */ +/** + * Folding shut, a flap at the same angle as its neighbour would pass through it (two flaps past 90 degrees on + * adjacent edges intersect), so the fold is staggered in paint order: the inner pair (tl, br) is down before bl + * passes upright, and bl is down before tr does. Each flap folds over half of the fold time. + */ +const FOLD: Record = { tl: [0, 0.5], br: [0, 0.5], bl: [0.25, 0.75], tr: [0.5, 1] }; +export function foldAngle(key: FlapKey, p: number): number { + const [from, to] = FOLD[key]; + return 180 * easeInOut(clamp((p - from) / (to - from))); +} + +/** Loader cycle: open (the one-shot), hold open, fold shut, hold shut. */ export function loopAngle(key: FlapKey, t: number): number { if (t < 0.36) return openAngle(key, t / 0.36); if (t < 0.62) return 0; - if (t < 0.84) return 180 * easeInOut((t - 0.62) / 0.22); + if (t < 0.84) return foldAngle(key, (t - 0.62) / 0.22); return 180; } /** - * Hover/focus cycle: starts at the resting (open) logo, folds shut (the loader's fold curve, shorter), - * then plays the one-shot opening, ending on the resting logo again. No hold, so no snap at either end. + * Hover/focus cycle: starts at the resting (open) logo, folds shut (the loader's fold, shorter), then plays the + * one-shot opening, ending on the resting logo again. No hold, so no snap at either end. * `fold` is the fraction of the cycle spent folding. */ export function hoverAngle(key: FlapKey, t: number, fold: number): number { - if (t < fold) return 180 * easeInOut(t / fold); + if (t < fold) return foldAngle(key, t / fold); return openAngle(key, (t - fold) / (1 - fold)); } - -/** The face a flap shows at an angle: its brand colour, the dark inner face (back flaps standing up), or teal (bl folded over). */ -export function flapFace(key: FlapKey, deg: number): "c" | "under" | "alt" { - if ((key === "tl" || key === "tr") && deg > 62 && deg < 128) return "under"; - if (key === "bl" && deg > 105) return "alt"; - return "c"; -} - /** The lighter interior wall shows while the box is part open and fades to nothing at rest and when shut. */ export function wallOpacity(angles: number[]): number { const mean = angles.reduce((sum, value) => sum + value, 0) / angles.length; return num(clamp(mean / 25) * clamp((172 - mean) / 25)); } -/** The reversed (dark) body has no top face, so while the lid is shut a cream cap fills the gap under it; it goes once the teal pair (tl, br) opens. */ -export function capOpacity(angles: number[]): number { - const mean = angles.reduce((sum, value) => sum + value, 0) / angles.length; - return num(clamp((mean - 150) / 15)); -} +/** True when any flap has left its resting place (the reversed artwork then needs its cap and flap outlines). */ +export const moving = (angles: number[]) => angles.some(deg => Math.abs(deg) >= 0.01); /** Motion arcs follow how fast a flap is turning (restrained: at most 0.8). */ export function arcOpacity(speed: number, peak: number): number { diff --git a/motion/box-open/react/boxOpen/markup.ts b/motion/box-open/react/boxOpen/markup.ts index e546d5c..6c6987d 100644 --- a/motion/box-open/react/boxOpen/markup.ts +++ b/motion/box-open/react/boxOpen/markup.ts @@ -1,5 +1,5 @@ import { logoMasters } from "../spaceWorksLogoPaths"; -import { FLAP_KEYS, FLAP_ORDER, type FlapKey } from "./geometry"; +import { FLAP_KEYS, FLAP_SLOTS, type FlapKey } from "./geometry"; /** * The animated box as one SVG string, built from the brand masters (`symbol`, `symbol-reversed`) so the @@ -7,7 +7,11 @@ import { FLAP_KEYS, FLAP_ORDER, type FlapKey } from "./geometry"; * by LogoLoader. Both themes are present; CSS shows the one for `html.dark`. */ const VIEW_BOX = "0 0 136 126"; -/** The light master's two full-height faces: while shut, the reversed box needs them to read as a solid cube. */ +/** + * The light master's two full-height faces. The reversed master cuts its faces short under the front flaps, so the + * moment a flap leaves its resting place the reversed box shows this cap (cream) behind it: no black hole opens in + * the side of the box, and shut it reads as a solid cube. + */ const CAP_FACES = logoMasters.symbol.paths.slice(0, 2); const WALL = "67.5,17.2 111.5,47.8 67.5,78.9"; const star = (x: number, y: number, r: number) => @@ -33,14 +37,16 @@ function variant(kind: "lt" | "dk"): string { const flapFill = (key: FlapKey) => flaps[FLAP_KEYS.indexOf(key)].fill; const body = master.slice(0, -4).map((path, index) => ``).join(""); - const alt = kind === "lt" ? flapFill("tl") : flapFill("bl"); - const flap = (key: FlapKey) => { + // The outer face (seen once a flap turns past edge-on): orange only for tr, so the shut lid has one orange half. + const outer = (key: FlapKey) => (kind === "dk" || key === "tr" ? flapFill(key) : flapFill("tl")); + const flap = ({ key, layer }: (typeof FLAP_SLOTS)[number]) => { const path = flaps[FLAP_KEYS.indexOf(key)]; - return ``; + const z = layer === undefined ? "" : ` z${layer}`; + return ``; }; const arcs = FLAP_KEYS.map(key => ``).join(""); return ``; + + `${kind === "dk" ? `${CAP_FACES.map(face => ``).join("")}` : ""}${FLAP_SLOTS.map(flap).join("")}${arcs}${SPARKS}`; } /** `
    ` markup for the given mode (no wrapper sizing: the host sets width/height). */ diff --git a/motion/box-open/react/boxOpen/shared.ts b/motion/box-open/react/boxOpen/shared.ts index c13cba6..255a4b9 100644 --- a/motion/box-open/react/boxOpen/shared.ts +++ b/motion/box-open/react/boxOpen/shared.ts @@ -1,4 +1,4 @@ -import { boxMonoCss, boxOpenCss } from "./css"; +import { boxGroundCss, boxMonoCss, boxOpenCss } from "./css"; import { boxOpenSvg } from "./markup"; /** Both themes' artwork, built once from the brand masters; CSS shows the one for `html.dark`. */ @@ -10,6 +10,7 @@ export function ensureBoxCss() { const style = document.createElement("style"); style.id = "sw-box-css"; style.textContent = `${boxOpenCss()} -${boxMonoCss()}`; +${boxMonoCss()} +${boxGroundCss()}`; document.head.append(style); } diff --git a/motion/box-open/react/brand/LogoBoxOverlay.tsx b/motion/box-open/react/brand/LogoBoxOverlay.tsx index 6ac1c4f..a391719 100644 --- a/motion/box-open/react/brand/LogoBoxOverlay.tsx +++ b/motion/box-open/react/brand/LogoBoxOverlay.tsx @@ -1,4 +1,4 @@ -import { useEffect, useRef, useState } from "react"; +import { useEffect, useRef, useState, type CSSProperties } from "react"; import { BOX, ensureBoxCss } from "../boxOpen/shared"; import { HOVER_MS } from "../boxOpen/css"; @@ -11,6 +11,20 @@ const SYMBOL_BOX = { const reduced = () => { try { return window.matchMedia("(prefers-reduced-motion: reduce)").matches; } catch { return false; } }; const focusVisible = (target: EventTarget | null) => { try { return target instanceof Element && target.matches(":focus-visible"); } catch { return false; } }; +/** + * The colour behind the mark: the first opaque background up the tree. The moving flaps are outlined in it (as the + * masters separate their parts with gaps of ground), so a sidebar or island ground shows no halo. + */ +function groundColour(start: Element | null): string | undefined { + for (let node = start; node; node = node.parentElement) { + const colour = getComputedStyle(node).backgroundColor; + if (!colour || colour === "transparent") continue; + // The last component of rgb()/rgba()/"... / a)" is the alpha only when there are four; three means opaque. + const parts = /\(([^)]*)\)$/.exec(colour)?.[1].split(/[\s,/]+/).filter(Boolean) ?? []; + if (parts.length < 4 || Number(parts[3]) >= 0.99) return colour; + } + return undefined; +} /** * The hover/focus cycle laid over the symbol part of a mark: the box folds shut from the resting logo, then @@ -26,12 +40,13 @@ export function LogoBoxOverlay({ shape, width, height, offset, surface, oneColou const root = useRef(null); const [playing, setPlaying] = useState(false); const running = useRef(false); + const [ground, setGround] = useState(undefined); useEffect(() => { const mark = root.current?.parentElement; if (!mark) return; const host = mark.closest("a, button") ?? mark; - const start = () => { if (!running.current && !reduced()) { running.current = true; setPlaying(true); } }; + const start = () => { if (!running.current && !reduced()) { running.current = true; setGround(groundColour(mark)); setPlaying(true); } }; const onEnter = (event: Event) => { if ((event as PointerEvent).pointerType !== "touch") start(); }; const onFocus = (event: Event) => { if (focusVisible(event.target)) start(); }; const overlay = root.current; @@ -55,6 +70,6 @@ export function LogoBoxOverlay({ shape, width, height, offset, surface, oneColou return
    + ); +} diff --git a/motion/collapse/react/Disclosure.tsx b/motion/collapse/react/Disclosure.tsx new file mode 100644 index 0000000..3fd88ba --- /dev/null +++ b/motion/collapse/react/Disclosure.tsx @@ -0,0 +1,31 @@ +import { useEffect, useId, useRef, useState, type ReactNode } from "react"; +import { useLocation } from "react-router-dom"; +import { usePresence } from "../../lib/motion"; +import { focusRing } from "./types"; + +// A disclosure keeps ordinary button/link semantics and normal Tab navigation. +export function Disclosure({ label, children, above = false }: { label: ReactNode; children: ReactNode; above?: boolean }) { + const [open, setOpen] = useState(false); + const root = useRef(null); + const trigger = useRef(null); + const id = useId(); + const presence = usePresence(open); + const location = useLocation(); + useEffect(() => { setOpen(false); }, [location]); + useEffect(() => { + if (!open) return; + const outside = (event: PointerEvent) => { if (event.target instanceof Node && !root.current?.contains(event.target)) setOpen(false); }; + document.addEventListener("pointerdown", outside); + return () => document.removeEventListener("pointerdown", outside); + }, [open]); + return
    { if (open && !event.currentTarget.contains(event.relatedTarget as Node | null)) setOpen(false); }} + onKeyDown={event => { + if (event.key === "Escape" && open) { event.preventDefault(); event.stopPropagation(); setOpen(false); trigger.current?.focus(); } + }}> + + {presence.present ?
    { if ((event.target as HTMLElement).closest("a,button")) { setOpen(false); trigger.current?.focus(); } }}>{children}
    : null} +
    ; +} diff --git a/motion/collapse/react/FaqSection.tsx b/motion/collapse/react/FaqSection.tsx new file mode 100644 index 0000000..047ee19 --- /dev/null +++ b/motion/collapse/react/FaqSection.tsx @@ -0,0 +1,39 @@ +import { t } from "@lingui/core/macro"; +import { Plus } from "lucide-react"; +import { Link } from "react-router-dom"; +import { DOCS_LINKS } from "../hubLinks"; + +function questions() { + return [ + { q: t`Is Space Works really free?`, + a: t`Yes. It is free software under the GNU Affero General Public License, version 3 or later. You can use it, study it and change it, with no licence fee. If you offer a changed version to other people over a network, you share your changes under the same licence.` }, + { q: t`Do I need to be a developer to run it?`, + a: t`No. You need a Linux server (or a Mac to try it out) and a web address. The installer asks plain questions and explains each one; updating is the same command again.` }, + { q: t`Can several makerspaces share one server?`, + a: t`Yes. Each space has its own inventory, team, public page, notifications and audit trail, and staff only ever see the spaces they belong to. Hosting other people’s spaces is a separate switch the server owner turns on.` }, + { q: t`What happens to the handover photos?`, + a: t`They are kept in private storage and shown through short-lived links. A space can let photo files expire after a retention period; the record of the scan, the remark and who did what stays.` }, + { q: t`Can we take payments?`, + a: t`Money owed is tracked even without a payment provider, and staff can record cash or bank transfers with a receipt. Online checkout through Stripe or Razorpay is optional.` }, + { q: t`Is there a mobile app?`, + a: t`Space Works works in the browser on any phone today, and members can install their member area to the home screen. The native Android and iOS apps are released too: download them from GitHub Releases.` }, + ]; +} + +/** Native disclosure widgets: keyboard and screen-reader behaviour for free, and they print open. */ +export function FaqSection() { + return
    +
    +
    +

    {t`Questions people ask first.`}

    +

    {t`Anything else is in the docs.`} {t`Browse the documentation`}

    +
    +
    + {questions().map(({ q, a }) =>
    + {q} +

    {a}

    +
    )} +
    +
    +
    ; +} diff --git a/motion/collapse/react/README.md b/motion/collapse/react/README.md new file mode 100644 index 0000000..8ac45e9 --- /dev/null +++ b/motion/collapse/react/README.md @@ -0,0 +1,14 @@ +# React copies + +Unmodified copies of the app files for this family (SpaceWorks 0.12.0; paths are relative to `frontend/src/`). They are reference code: they import app modules, Lingui (`t`) and Tailwind utility classes, so swap those for your own, or use the framework-free CSS one folder up, which is all the motion needs. + +| File | App path | Imports to provide or replace | +|---|---|---| +| `Collapse.tsx` | `components/ui/Collapse.tsx` | `../../lib/motion` | +| `CollapsibleSection.tsx` | `components/ui/CollapsibleSection.tsx` | `@lingui/core/macro`, `./Collapse` | +| `SidebarSection.tsx` | `components/shell/SidebarSection.tsx` | `@lingui/core/macro`, `lucide-react`, `../ui/Collapse`, `../../lib/safeStorage`, `./SidebarItem`, `./types` | +| `Disclosure.tsx` | `components/shell/Disclosure.tsx` | `../../lib/motion`, `./types` | +| `FaqSection.tsx` | `features/hub/landing/FaqSection.tsx` | `@lingui/core/macro`, `lucide-react`, `../hubLinks` | +| `usePresence.ts` | `lib/motion/usePresence.ts` | `./motion` | +| `motion.ts` | `lib/motion/motion.ts` | none | +| `motion.css` | `styles/motion.css` | none | diff --git a/motion/collapse/react/SidebarSection.tsx b/motion/collapse/react/SidebarSection.tsx new file mode 100644 index 0000000..ad06b88 --- /dev/null +++ b/motion/collapse/react/SidebarSection.tsx @@ -0,0 +1,33 @@ +import { t } from "@lingui/core/macro"; +import { useId, useState } from "react"; +import { ChevronDown } from "lucide-react"; +import { Collapse } from "../ui/Collapse"; +import { readStorage, writeStorage } from "../../lib/safeStorage"; +import { SidebarItem } from "./SidebarItem"; +import { focusRing, type ShellSection } from "./types"; + +export function SidebarSection({ section, activeKey, owner, onNavigate }: { + section: ShellSection; activeKey: string; owner: string; onNavigate?: () => void; +}) { + const id = useId(); + const storageKey = `sidebar:${owner}:${section.key}`; + const [expanded, setExpanded] = useState(() => readStorage(storageKey) === "open"); + const all = [...section.items, ...section.more ?? []]; + const flat = all.length <= 4; + const containsActive = all.some(item => item.key === activeKey || item.children?.some(child => child.key === activeKey)); + const open = expanded || containsActive; + if (!all.length) return null; + return
    + {section.label ?

    {section.label}

    : null} + {section.caption ?

    {section.caption}

    : null} +
      {(flat ? all : section.items).map(item => )}
    + {!flat && section.more?.length ? <> + +
      {section.more.map(item => )}
    + : null} +
    ; +} diff --git a/motion/collapse/react/motion.css b/motion/collapse/react/motion.css new file mode 100644 index 0000000..e82a0a2 --- /dev/null +++ b/motion/collapse/react/motion.css @@ -0,0 +1,52 @@ +/* Shared motion: reduced-motion floor, press/hover feel, sliding indicators, height collapse. + Transform and opacity only (height is the one exception, via grid rows, because a section that + opens must push the page down). No shadows, gradients or glass. Tokens are in index.css. */ + +/* Reduced motion: nothing moves. Overrides every animation and transition in the app, including + third-party ones, and the JS side (src/lib/motion) skips View Transitions and exit delays. */ +@media (prefers-reduced-motion: reduce) { + *, *::before, *::after { + animation-duration: 0.01ms !important; + animation-delay: 0s !important; + animation-iteration-count: 1 !important; + transition-duration: 0.01ms !important; + transition-delay: 0s !important; + scroll-behavior: auto !important; + } + ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } +} + +/* Buttons: colours ease in 120 ms; pressing sinks the control to 0.98. Focus rings are untouched. */ +:is(.desk-button, .desk-button-primary, .desk-button-brand, .desk-button-emphasis, .desk-button-success, + .desk-button-warn, .desk-button-danger, .desk-button-ghost, .desk-button-danger-outline, .desk-tab, .desk-nav-item) { + transition-property: color, background-color, border-color, transform; + transition-duration: var(--sw-dur-fast); + transition-timing-function: var(--sw-ease-standard); +} +@media (prefers-reduced-motion: no-preference) { + :is(.desk-button, .desk-button-primary, .desk-button-brand, .desk-button-emphasis, .desk-button-success, + .desk-button-warn, .desk-button-danger, .desk-button-ghost, .desk-button-danger-outline):active:not(:disabled, [aria-disabled="true"]) { + transform: scale(0.98); + } +} + +/* Sliding indicator (sidebar item, tab underline): one absolutely placed box moved by + useSlideIndicator. While it is placed, the item's own highlight steps aside. */ +.sw-indicator { + position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; opacity: 0; + transition: transform var(--sw-dur-base) var(--sw-ease-standard); +} +[data-slide] a[aria-current="page"].sw-slide-item { background-color: transparent; border-color: transparent; } +[data-slide] .desk-tab-active { border-bottom-color: transparent; } +.sw-tab-indicator { border-bottom: 2px solid rgb(var(--color-accent-ink)); } + +/* Height collapse: grid rows 1fr <-> 0fr, with a fade. The inner padding/margin pair keeps + focus rings of edge items from being clipped by overflow:hidden. */ +.sw-collapse { display: grid; grid-template-rows: 1fr; } +.sw-collapse-inner { min-height: 0; min-width: 0; overflow: hidden; padding: 4px; margin: -4px; } +@media (prefers-reduced-motion: no-preference) { + .sw-collapse[data-state="open"] { animation: sw-collapse-open var(--sw-dur-base) var(--sw-ease-standard); } + .sw-collapse[data-state="closed"] { animation: sw-collapse-close var(--sw-dur-fast) var(--sw-ease-exit) forwards; } +} +@keyframes sw-collapse-open { from { grid-template-rows: 0fr; opacity: 0; } } +@keyframes sw-collapse-close { to { grid-template-rows: 0fr; opacity: 0; } } diff --git a/motion/collapse/react/motion.ts b/motion/collapse/react/motion.ts new file mode 100644 index 0000000..0a4ad92 --- /dev/null +++ b/motion/collapse/react/motion.ts @@ -0,0 +1,15 @@ +// Motion constants shared by every hook here. The CSS twins live in src/index.css (--sw-dur-*), +// keep the two in step: a JS exit timer shorter than its CSS exit animation would cut it off. +export const MOTION_MS = { fast: 120, base: 180, slow: 240, exit: 120 } as const; + +export function prefersReducedMotion(): boolean { + return typeof window !== "undefined" && (window.matchMedia?.("(prefers-reduced-motion: reduce)").matches ?? false); +} + +/** + * True only where animations really run. jsdom has no Web Animations API, so unit tests see + * `false` and every exit unmounts immediately; reduced-motion users get the same instant path. + */ +export function canAnimate(): boolean { + return typeof document !== "undefined" && typeof document.getAnimations === "function" && !prefersReducedMotion(); +} diff --git a/motion/collapse/react/usePresence.ts b/motion/collapse/react/usePresence.ts new file mode 100644 index 0000000..c8c17bc --- /dev/null +++ b/motion/collapse/react/usePresence.ts @@ -0,0 +1,65 @@ +import { useEffect, useRef, useState, type AnimationEvent } from "react"; +import { canAnimate, MOTION_MS } from "./motion"; + +/** + * Keeps an overlay mounted while its exit animation plays. + * + * `present` replaces the `if (!open) return null` guard; `closing` is true during the exit (put it + * on `data-state`, and make the layer inert so it cannot take focus or clicks). Without animation + * support (tests, reduced motion) `present === open`, so unmounting stays immediate. The timer is + * the safety net: `onAnimationEnd` finishes early, the timeout finishes if no animation ever ran. + */ +export function usePresence(open: boolean, exitMs: number = MOTION_MS.exit) { + const [kept, setKept] = useState(open); + if (open && !kept) setKept(true); + const animated = canAnimate(); + useEffect(() => { + if (open || !kept) return; + if (!animated) { setKept(false); return; } + const timer = setTimeout(() => setKept(false), exitMs + 80); + return () => clearTimeout(timer); + }, [open, kept, animated, exitMs]); + const present = open || (kept && animated); + const closing = !open && present; + const onAnimationEnd = (event: AnimationEvent) => { + if (closing && event.target === event.currentTarget) setKept(false); + }; + return { present, closing, state: closing ? "closed" : "open", onAnimationEnd } as const; +} + +type Exiting = { item: T; leaving: boolean }; + +/** Like usePresence for a list: rows that vanish from `items` stay, flagged `leaving`, until their exit ends. */ +export function useExitingItems(items: readonly T[], keyOf: (item: T) => string | number, exitMs: number = MOTION_MS.exit): Exiting[] { + const animated = canAnimate(); + const [view, setView] = useState[]>(() => items.map(item => ({ item, leaving: false }))); + const timers = useRef(new Map>()); + const keyRef = useRef(keyOf); + keyRef.current = keyOf; + useEffect(() => { + if (!animated) return; + setView(previous => { + const live = new Map(items.map(item => [keyRef.current(item), item] as const)); + const merged: Exiting[] = []; + const seen = new Set(); + for (const row of previous) { + const key = keyRef.current(row.item); + const current = live.get(key); + if (current !== undefined) { merged.push({ item: current, leaving: false }); seen.add(key); } + else merged.push({ item: row.item, leaving: true }); + } + for (const item of items) if (!seen.has(keyRef.current(item))) merged.push({ item, leaving: false }); + merged.filter(row => row.leaving).forEach(row => { + const key = keyRef.current(row.item); + if (timers.current.has(key)) return; + timers.current.set(key, setTimeout(() => { + timers.current.delete(key); + setView(current => current.filter(entry => keyRef.current(entry.item) !== key || !entry.leaving)); + }, exitMs + 80)); + }); + return merged; + }); + }, [items, animated, exitMs]); + useEffect(() => () => { timers.current.forEach(clearTimeout); }, []); + return animated ? view : items.map(item => ({ item, leaving: false })); +} diff --git a/motion/delight/README.md b/motion/delight/README.md new file mode 100644 index 0000000..229b333 --- /dev/null +++ b/motion/delight/README.md @@ -0,0 +1,68 @@ +# Delight: logo flaps, Patch, card tilt + +The optional playful layer, shown only when interface effects ("delight") are on and motion is allowed, never on kiosk, scanner, checkout or payment paths: the logo's four flaps springing on hover or click, the 404 pet Patch (walk, nap, paw prints, a still moment that trots), a small companion walk, a glyph tilt and the member card that tilts with the pointer and flips. + +Open [`demo.html`](demo.html) in a browser (it links `../../tokens/tokens.css`) and use "Toggle dark" to check both themes. + +## Files + +| File | What it is | +|---|---| +| `delight.css` | Logo flap spring and pop (`logoUnfold.css`), Patch (`patch.css`), companion walk and glyph tilt (`delight.css`) verbatim, plus the holographic card transition. | +| `demo.html` | A standalone page with the live animation in light and dark, replayable. | +| `react/` | Copies of the real app files (see `react/README.md` for the imports to replace). | +| `previews/` | Animated WebP and GIF previews, light and dark (regenerated by `scripts/make-previews.mjs`). | + +## Where the app uses it + +- Logo flaps: `components/delight/LogoDelight.tsx`, `logoUnfold.css` (the real logo's `data-logo` paths; the demo uses a four-square stand-in). +- Patch: `NotFoundPatch.tsx` (the 404 pet, walks with `requestAnimationFrame`), `PatchMoment.tsx` (a still frame that trots when scrolled into view), `patch.css`. +- Companion walk, glyph tilt: `components/delight/Companion.tsx`, `delight.css`. +- Card tilt and flip: `features/members/wallet/HolographicCard.tsx`. + +## Why + +Small human moments that make a workshop tool feel friendly, kept out of staff chrome and every flow where speed or trust matters. They carry no information; removing them loses nothing. + +## Timing, easing and distance + +| Animation | Value | +|---|---| +| Flap hover | 460 ms `cubic-bezier(0.34,1.56,0.64,1)`; rotate 7, 7, 5, 5 deg | +| Flap pop (click) | 560 ms, same curve, overshoot 13, 13, 9, 9 deg at 40 % | +| Patch trot | 960 ms `steps(8)` x 2, then rests on frame 0 | +| Patch "z" | 2400 ms ease-in-out, loops (decorative) | +| Paw print | 1600 ms ease-out fade | +| Companion walk | 4 s ease-in-out, infinite, 16 px | +| Glyph tilt | 120 ms, -3 deg | +| Card tilt / flip | 650 ms `cubic-bezier(0.32,0.72,0,1)`, rotate up to 9 deg, perspective 1200 px | + +## Trigger + +Hover, focus-visible, click or pointer move, only with `data-sw-delight` on `` and (for the pointer ones) a hover-capable device; the card tilts on pointer move (not touch) and device orientation (coarse pointer, permission asked). + +## Reduced motion + +Not mounted or `animation: none`: the still mark, the still Patch frame and a flat card with an instant flip. + +## Dark theme + +Patch uses the `-dark` sprite sheets (never recoloured or mirrored by hand); the card and flaps read from tokens. + +## Do and don't + +- Do gate it on interface effects and motion allowed. +- Do keep Patch and the flaps rotation-only (never recolour, stretch or skew). +- Do not loop outside the two decorative exceptions (the "z" and the companion walk). +- Do not use it in staff chrome, kiosk, scanner, checkout or payment flows. + +## Copy-paste usage + +```html + + … …… +``` + +See `demo.html` for the flaps, the "z", the companion walk and the tilting card. + +Every other animation in the product, and the rules behind them: [`../../docs/motion.md`](../../docs/motion.md). Index of the kit: [`../README.md`](../README.md). diff --git a/motion/delight/delight.css b/motion/delight/delight.css new file mode 100644 index 0000000..98823bb --- /dev/null +++ b/motion/delight/delight.css @@ -0,0 +1,64 @@ +/* Space Works motion kit. Values are copied unchanged from the app (SpaceWorks 0.12.0), `components/delight/logoUnfold.css`, `components/delight/patch.css`, `components/delight/delight.css`, `features/members/wallet/HolographicCard.tsx`. + Tokens (--sw-dur-*, --sw-ease-*, --sw-enter-y, --sw-pop-*, --sw-slide-x) come from ../../tokens/tokens.css. */ +/* Box logo unfold. The four flap paths SpaceWorksLogo tags turn on their own hinge corner (the + corner nearest the box), so the box opens a little and springs shut. Rotation only: never a + recolour, stretch or skew, and at rest the logo is the master. Runs only while ProgrammeDelight + marks the page (delight on, not kiosk/scanner/checkout/payment) and motion is allowed. */ +.sw-logo-flap { transform-box: fill-box; } +.sw-logo-flap-tl { transform-origin: 100% 100%; } +.sw-logo-flap-tr { transform-origin: 0% 100%; } +.sw-logo-flap-bl { transform-origin: 100% 0%; } +.sw-logo-flap-br { transform-origin: 0% 0%; } +@media (prefers-reduced-motion: no-preference) { + :root[data-sw-delight] .sw-logo-flap { transition: transform 460ms cubic-bezier(0.34, 1.56, 0.64, 1); } + :root[data-sw-delight] :is(a, button, [data-logo]):is(:hover, :focus-visible) .sw-logo-flap-tl { transform: rotate(-7deg); } + :root[data-sw-delight] :is(a, button, [data-logo]):is(:hover, :focus-visible) .sw-logo-flap-tr { transform: rotate(7deg); } + :root[data-sw-delight] :is(a, button, [data-logo]):is(:hover, :focus-visible) .sw-logo-flap-bl { transform: rotate(5deg); } + :root[data-sw-delight] :is(a, button, [data-logo]):is(:hover, :focus-visible) .sw-logo-flap-br { transform: rotate(-5deg); } + :root[data-sw-delight] [data-logo-pop] .sw-logo-flap { animation: 560ms cubic-bezier(0.34, 1.56, 0.64, 1); } + :root[data-sw-delight] [data-logo-pop] .sw-logo-flap-tl { animation-name: sw-flap-tl; } + :root[data-sw-delight] [data-logo-pop] .sw-logo-flap-tr { animation-name: sw-flap-tr; } + :root[data-sw-delight] [data-logo-pop] .sw-logo-flap-bl { animation-name: sw-flap-bl; } + :root[data-sw-delight] [data-logo-pop] .sw-logo-flap-br { animation-name: sw-flap-br; } +} +@keyframes sw-flap-tl { 40% { transform: rotate(-13deg); } } +@keyframes sw-flap-tr { 40% { transform: rotate(13deg); } } +@keyframes sw-flap-bl { 40% { transform: rotate(9deg); } } +@keyframes sw-flap-br { 40% { transform: rotate(-9deg); } } +/* Flaps may swing a little past the viewBox while open; at rest nothing reaches it. */ +:root[data-sw-delight] [data-logo] svg { overflow: visible; } + +/* Patch: the 404 pet (NotFoundPatch) and the public pages' still moments (PatchMoment). Patch is never + recoloured, mirrored, stretched or given effects (SpaceWorks-Design mascot/README.md); dark mode uses the dark/ sheets. */ +.sw-patch-pet { position: fixed; inset-inline: 0; bottom: 0; height: 112px; pointer-events: none; overflow: hidden; z-index: 30; } +.sw-patch-pet-body { position: absolute; left: 0; bottom: 8px; will-change: transform; } +.sw-patch-pet-sprite { display: block; width: 128px; height: 88px; background-repeat: no-repeat; background-size: 1024px 88px; background-position: var(--sw-patch-frame, 0px) 0; } +.sw-patch-print { position: absolute; bottom: 6px; color: rgb(var(--color-muted)); animation: sw-patch-print 1600ms ease-out forwards; } +@keyframes sw-patch-print { from { opacity: 0.7; } to { opacity: 0; } } +.sw-patch-z { position: absolute; top: -10px; right: 22px; color: rgb(var(--color-muted)); font-weight: 600; animation: sw-patch-z 2400ms ease-in-out infinite; } +@keyframes sw-patch-z { from { opacity: 0; transform: translateY(6px); } 50% { opacity: 1; } to { opacity: 0; transform: translateY(-10px); } } +@media (prefers-reduced-motion: reduce) { + .sw-patch-print, .sw-patch-z { animation: none; } +} + +/* PatchMoment: a 160x110 frame of the 256x176 sheet (never upscaled). Frame 0 stands; [data-trot] plays the + eight walk frames twice on the spot, once, and comes back to rest on frame 0. */ +.sw-patch-moment { display: block; width: 160px; height: 110px; flex-shrink: 0; pointer-events: none; background-repeat: no-repeat; + background-size: 1280px 110px; background-position: 0 0; } +@keyframes sw-patch-trot { from { background-position: 0 0; } to { background-position: -1280px 0; } } +@media (prefers-reduced-motion: no-preference) { + .sw-patch-moment[data-trot] { animation: sw-patch-trot 960ms steps(8) 2; } +} + +/* Companion walk and glyph tilt. */ +@keyframes sw-companion-walk { 50% { transform: translateX(16px); } } +.sw-delight-walk { animation: sw-companion-walk 4s ease-in-out infinite; } +@media (hover: hover) and (prefers-reduced-motion: no-preference) { + .sw-delight-glyph:hover { transform: rotate(-3deg); transition: transform 120ms; } +} +@media (prefers-reduced-motion: reduce) { .sw-delight-walk { animation: none; } } + +/* Holographic card: HolographicCard.tsx sets transform inline: + perspective(1200px) rotateX(-tilt.y*9deg) rotateY((flipped?180:0)+tilt.x*9deg), transition transform 650ms cubic-bezier(0.32,0.72,0,1). */ +.sw-holo { transition: transform 650ms cubic-bezier(0.32, 0.72, 0, 1); transform-style: preserve-3d; } +@media (prefers-reduced-motion: reduce) { .sw-holo { transition: none; } } diff --git a/motion/delight/demo.html b/motion/delight/demo.html new file mode 100644 index 0000000..f4bade9 --- /dev/null +++ b/motion/delight/demo.html @@ -0,0 +1,40 @@ + + + + + +Delight: logo flaps, Patch, card tilt + + + + + +
    +

    Delight: logo flaps, Patch, card tilt

    +
    +

    This page turns delight on (data-sw-delight on html). Hover the mark, click it for the pop, move over the card. Under prefers-reduced-motion: reduce the motion is removed and the end state shows at once.

    +
    Four-square stand-in for the logo flaps: hover or click
    +
    +
    z
    +
    Companion walk Glyph
    +
    + + + diff --git a/motion/delight/previews/card-tilt-dark.gif b/motion/delight/previews/card-tilt-dark.gif new file mode 100644 index 0000000..34a2275 Binary files /dev/null and b/motion/delight/previews/card-tilt-dark.gif differ diff --git a/motion/delight/previews/card-tilt-dark.webp b/motion/delight/previews/card-tilt-dark.webp new file mode 100644 index 0000000..ac65f98 Binary files /dev/null and b/motion/delight/previews/card-tilt-dark.webp differ diff --git a/motion/delight/previews/card-tilt-light.gif b/motion/delight/previews/card-tilt-light.gif new file mode 100644 index 0000000..94d509c Binary files /dev/null and b/motion/delight/previews/card-tilt-light.gif differ diff --git a/motion/delight/previews/card-tilt-light.webp b/motion/delight/previews/card-tilt-light.webp new file mode 100644 index 0000000..c744f06 Binary files /dev/null and b/motion/delight/previews/card-tilt-light.webp differ diff --git a/motion/delight/previews/logo-flaps-dark.gif b/motion/delight/previews/logo-flaps-dark.gif new file mode 100644 index 0000000..4d31a23 Binary files /dev/null and b/motion/delight/previews/logo-flaps-dark.gif differ diff --git a/motion/delight/previews/logo-flaps-dark.webp b/motion/delight/previews/logo-flaps-dark.webp new file mode 100644 index 0000000..9079bba Binary files /dev/null and b/motion/delight/previews/logo-flaps-dark.webp differ diff --git a/motion/delight/previews/logo-flaps-light.gif b/motion/delight/previews/logo-flaps-light.gif new file mode 100644 index 0000000..4950c36 Binary files /dev/null and b/motion/delight/previews/logo-flaps-light.gif differ diff --git a/motion/delight/previews/logo-flaps-light.webp b/motion/delight/previews/logo-flaps-light.webp new file mode 100644 index 0000000..2f199a1 Binary files /dev/null and b/motion/delight/previews/logo-flaps-light.webp differ diff --git a/motion/delight/react/Companion.tsx b/motion/delight/react/Companion.tsx new file mode 100644 index 0000000..2755893 --- /dev/null +++ b/motion/delight/react/Companion.tsx @@ -0,0 +1,30 @@ +import { t } from "@lingui/core/macro"; +import { useEffect, useState } from "react"; +import { DelightArt } from "./Artwork"; +import { useDelight, useReducedMotion } from "./DelightProvider"; + +export function Companion() { + const [on, setOn] = useState(false); + const [pose, setPose] = useState<"companionWalk" | "companionFollow" | "companionNap" | "companionPrint">("companionWalk"); + const [position, setPosition] = useState(50); + const { enabled } = useDelight(); + const reduced = useReducedMotion(); + useEffect(() => { + if (!on || !enabled || reduced) return; + const nap = window.setTimeout(() => setPose("companionNap"), 6000); + return () => window.clearTimeout(nap); + }, [on, enabled, reduced, pose, position]); + if (!enabled) return null; + return
    + + {on ? <>
    { + if (reduced) return; + const bounds = event.currentTarget.getBoundingClientRect(); + setPosition(Math.max(0, Math.min(80, (event.clientX - bounds.left) / Math.max(1, bounds.width) * 100))); + setPose("companionFollow"); + }}>
    + + {pose === "companionPrint" ? t`The workshop companion printed a tiny layer stack.` : ""} : null} +
    ; +} diff --git a/motion/delight/react/HolographicCard.tsx b/motion/delight/react/HolographicCard.tsx new file mode 100644 index 0000000..1692ac6 --- /dev/null +++ b/motion/delight/react/HolographicCard.tsx @@ -0,0 +1,96 @@ +// The printed card with tilt, sheen and flip: the design drawn in the browser from its document +// (CardFaces); the server PNG is the fallback when that cannot load. Tilt and sheen run only +// with interface effects on and motion allowed; otherwise flip is an instant swap. +import { t } from "@lingui/core/macro"; +import { useEffect, useId, useRef, useState, type PointerEvent } from "react"; + +import { useDelight, useReducedMotion } from "../../../components/delight/DelightProvider"; +import { useCardImage, type MyCard } from "./api"; +import { CardFaceSvg, describeFace, faceAspect, useCardFace, useCardFaceFonts } from "./CardFaces"; + +type OrientationRequest = { requestPermission?: () => Promise<"granted" | "denied"> }; + +export function HolographicCard({ card }: { card: MyCard }) { + const delight = useDelight(); + const reduced = useReducedMotion(); + const motion = delight.enabled && !reduced; + const [flipped, setFlipped] = useState(false); + const [tilt, setTilt] = useState({ x: 0, y: 0 }); + const [needsPermission, setNeedsPermission] = useState(false); + const frame = useRef(0); + const drawn = useCardFace(card, true); + useCardFaceFonts(card, drawn.data); + const fallback = drawn.isError; + const front = useCardImage(card, "front", fallback); + const back = useCardImage(card, "back", fallback && card.has_back); + const name = `${card.title} for ${card.name}, ${flipped ? "back" : "front"}`; + const descriptionId = useId(); + const description = drawn.data ? describeFace(drawn.data, flipped && card.has_back ? "back" : "front") : ""; + + const schedule = (next: { x: number; y: number }) => { + cancelAnimationFrame(frame.current); + frame.current = requestAnimationFrame(() => setTilt(next)); + }; + useEffect(() => () => cancelAnimationFrame(frame.current), []); + useEffect(() => { + if (!motion || !window.matchMedia?.("(pointer: coarse)").matches) return; + const request = (window.DeviceOrientationEvent as unknown as OrientationRequest | undefined)?.requestPermission; + if (typeof request === "function") { setNeedsPermission(true); return; } + const onOrientation = (event: DeviceOrientationEvent) => { + const clampUnit = (value: number) => Math.max(-1, Math.min(1, value)); + schedule({ x: clampUnit((event.gamma ?? 0) / 30), y: clampUnit(((event.beta ?? 45) - 45) / 30) }); + }; + window.addEventListener("deviceorientation", onOrientation); + return () => window.removeEventListener("deviceorientation", onOrientation); + }, [motion]); + + function onPointerMove(event: PointerEvent) { + if (!motion || event.pointerType === "touch") return; + const box = event.currentTarget.getBoundingClientRect(); + schedule({ x: ((event.clientX - box.left) / box.width) * 2 - 1, y: ((event.clientY - box.top) / box.height) * 2 - 1 }); + } + + const transform = motion + ? `perspective(1200px) rotateX(${-tilt.y * 9}deg) rotateY(${(flipped ? 180 : 0) + tilt.x * 9}deg)` + : undefined; + const face = "absolute inset-0 grid place-items-center overflow-hidden rounded-[4%] [backface-visibility:hidden]"; + const image = (url: string | undefined, label: string) => url + ? + : {label}; + + return
    + {description ?

    {description}

    : null} + +
    + {card.has_back ? : null} + {needsPermission ? : null} +
    +
    ; +} diff --git a/motion/delight/react/LogoDelight.tsx b/motion/delight/react/LogoDelight.tsx new file mode 100644 index 0000000..1f5b936 --- /dev/null +++ b/motion/delight/react/LogoDelight.tsx @@ -0,0 +1,37 @@ +import { useEffect } from "react"; +import { eggsAllowed, useDelight, useReducedMotion } from "./DelightProvider"; +import "./logoUnfold.css"; + +/** + * The box logo unfold. Marks the page so logoUnfold.css may open the logo's flaps on hover and + * focus, and plays one open-and-shut spring on each logo click. `onLogoClick` receives every + * click on a `[data-logo]` (Maker mode counts them). Nothing here is announced or focusable. + */ +export function LogoDelight({ pathname, onLogoClick }: { pathname: string; onLogoClick?: () => void }) { + const { enabled } = useDelight(); + const reduced = useReducedMotion(); + const active = enabled && eggsAllowed(pathname); + useEffect(() => { + if (!active) return; + const root = document.documentElement; + root.setAttribute("data-sw-delight", ""); + return () => root.removeAttribute("data-sw-delight"); + }, [active]); + useEffect(() => { + const timers = new Set(); + const clicked = (event: MouseEvent) => { + const logo = event.target instanceof Element ? event.target.closest("[data-logo]") : null; + if (!logo) return; + onLogoClick?.(); + if (!active || reduced) return; + // Restart the spring when clicks come quickly: drop the mark, force a style flush, set it again. + logo.removeAttribute("data-logo-pop"); + void logo.offsetWidth; + logo.setAttribute("data-logo-pop", ""); + timers.add(window.setTimeout(() => logo.removeAttribute("data-logo-pop"), 600)); + }; + document.addEventListener("click", clicked); + return () => { document.removeEventListener("click", clicked); timers.forEach(clearTimeout); }; + }, [active, reduced, onLogoClick]); + return null; +} diff --git a/motion/delight/react/NotFoundPatch.tsx b/motion/delight/react/NotFoundPatch.tsx new file mode 100644 index 0000000..4fca4de --- /dev/null +++ b/motion/delight/react/NotFoundPatch.tsx @@ -0,0 +1,102 @@ +import { useEffect, useRef, useState, useSyncExternalStore } from "react"; +import { PawPrint } from "lucide-react"; +import { currentTheme, subscribeTheme } from "../../lib/theme"; +import { useReducedMotion } from "./DelightProvider"; +import "./patch.css"; + +// Patch, the mascot, appears only here. Walk sheets: eight 256x176 frames side by side, built from +// SpaceWorks-Design mascot/walk*/ (light) and mascot/dark/walk*/ (the dark theme's sticker border). +// Frame 6 (index 5) has the eyes closed, so it doubles as the nap. Never recolour or flip them. +const sheet = (name: string) => ({ light: `/brand/patch/${name}.webp`, dark: `/brand/patch/${name}-dark.webp` }); +export const PATCH = { walkRight: sheet("patch-walk-right"), walkLeft: sheet("patch-walk-left") } as const; +const PATCH_WALK = { frames: 8, frameMs: 120, napFrame: 5 } as const; + +type Facing = "left" | "right"; +type Print = { id: number; x: number; facing: Facing }; +const WIDTH = 128; // half the 256 px frame: crisp on 2x screens, never upscaled +const SPEED = 0.18; // px per ms, a trot +const WANDER_AFTER = 4000; // idle ms before Patch strolls off on its own +const NAP_AFTER = 15000; // idle ms before Patch naps on walk frame 6 (eyes closed, as drawn) +const PRINT_EVERY = 40; // px walked between paw prints +const MAX_PRINTS = 6; + +/** + * The 404 page's pet. Patch trots along the bottom of the screen towards the pointer or a tap, + * using the approved left-facing sheet when heading left (never a CSS flip), wanders when left + * alone and then naps. Decorative only: hidden from assistive tech, no pointer events, and still + * under reduced motion. The behaviour is adapted from AGPL-3.0 code; the attribution is in NOTICE. + */ +export function NotFoundPatch() { + const reduced = useReducedMotion(); + // Only the current theme's sheet is set, so only it downloads. + const theme = useSyncExternalStore(subscribeTheme, currentTheme, () => "light" as const); + const body = useRef(null); + const [facing, setFacing] = useState("right"); + const [napping, setNapping] = useState(false); + const [prints, setPrints] = useState([]); + + useEffect(() => { + if (reduced) return; + const limit = () => Math.max(0, window.innerWidth - WIDTH); + let x = Math.min(limit(), window.innerWidth * 0.15), target = x; + let last: number | null = null, lastInput = 0, stride = 0, travelled = 0, nextPrint = 0, raf = 0; + let face: Facing = "right", asleep = false; + // Positions and frames are written straight to the DOM each frame; React state changes + // only when the facing, the nap or the paw prints change. + const aim = (centre: number) => { + target = Math.max(0, Math.min(limit(), centre - WIDTH / 2)); + if (Math.abs(target - x) < 2) return; + const next: Facing = target < x ? "left" : "right"; + if (next !== face) { face = next; setFacing(next); } + }; + const follow = (event: PointerEvent) => { + lastInput = last ?? 0; + if (asleep) { asleep = false; setNapping(false); } + aim(event.clientX); + }; + const tick = (now: number) => { + const dt = last === null ? 0 : Math.min(64, now - last); + if (last === null) lastInput = now; + last = now; + const idle = now - lastInput, arrived = Math.abs(target - x) < 0.5; + if (arrived && !asleep && idle > NAP_AFTER) { asleep = true; setNapping(true); } + else if (arrived && !asleep && idle > WANDER_AFTER && Math.random() < dt / 2000) aim(Math.random() * window.innerWidth); + const step = Math.sign(target - x) * Math.min(Math.abs(target - x), SPEED * dt); + x += step; + let frame = asleep ? PATCH_WALK.napFrame : 0; + if (step !== 0) { + stride += dt; travelled += Math.abs(step); + frame = Math.floor(stride / PATCH_WALK.frameMs) % PATCH_WALK.frames; + if (travelled >= PRINT_EVERY) { + travelled = 0; + const print = { id: nextPrint++, x: x + WIDTH / 2, facing: face }; + setPrints(list => [...list.slice(1 - MAX_PRINTS), print]); + } + } + if (body.current) { + body.current.style.transform = `translateX(${x}px)`; + body.current.style.setProperty("--sw-patch-frame", `${-frame * WIDTH}px`); + } + raf = requestAnimationFrame(tick); + }; + window.addEventListener("pointermove", follow, { passive: true }); + window.addEventListener("pointerdown", follow, { passive: true }); + raf = requestAnimationFrame(tick); + return () => { + cancelAnimationFrame(raf); + window.removeEventListener("pointermove", follow); + window.removeEventListener("pointerdown", follow); + }; + }, [reduced]); + + const walkSheet = (facing === "left" ? PATCH.walkLeft : PATCH.walkRight)[theme]; + return ; +} diff --git a/motion/delight/react/PatchMoment.tsx b/motion/delight/react/PatchMoment.tsx new file mode 100644 index 0000000..f948dc7 --- /dev/null +++ b/motion/delight/react/PatchMoment.tsx @@ -0,0 +1,31 @@ +import { useEffect, useRef, useState, useSyncExternalStore } from "react"; +import { currentTheme, subscribeTheme } from "../../lib/theme"; +import { PATCH } from "./NotFoundPatch"; +import { useReducedMotion } from "./DelightProvider"; +import "./patch.css"; + +/** + * Patch standing beside a section's copy: the section's one bold moment (docs/brand/README.md, + * "Patch, the mascot"). Decorative only (aria-hidden, no pointer events). It trots on the spot twice + * the first time it scrolls into view, then stands still; under reduced motion it is a still frame + * from the start. Uses the shipped light or dark walk sheet as supplied: never recoloured or flipped. + * Never place it inside or beside the box symbol (so never over the tiled-symbol backgrounds). + */ +export function PatchMoment({ facing = "right", className = "" }: { facing?: "left" | "right"; className?: string }) { + const theme = useSyncExternalStore(subscribeTheme, currentTheme, () => "light" as const); + const reduced = useReducedMotion(); + const node = useRef(null); + const [trot, setTrot] = useState(false); + useEffect(() => { + const target = node.current; + if (reduced || !target || typeof window.IntersectionObserver !== "function") return; + const observer = new IntersectionObserver(entries => { + if (entries.some(entry => entry.isIntersecting)) { setTrot(true); observer.disconnect(); } + }, { threshold: 0.6 }); + observer.observe(target); + return () => observer.disconnect(); + }, [reduced]); + const sheet = (facing === "left" ? PATCH.walkLeft : PATCH.walkRight)[theme]; + return
    )) } diff --git a/site/src/components/GuidelineGallery.astro b/site/src/components/GuidelineGallery.astro index e25fa6e..178d7bd 100644 --- a/site/src/components/GuidelineGallery.astro +++ b/site/src/components/GuidelineGallery.astro @@ -1,15 +1,19 @@ --- -// All 17 pages of the brand guidelines, in presentation order, each opening at full size. +// Every page of a brand guidelines book, in presentation order, each opening at full size. +// v1: 17 pages in kit/brand/guidelines/ +// import { kitUrl } from './kit-url'; -const pages = Array.from({ length: 17 }, (_, i) => String(i + 1).padStart(2, '0')); +interface Props { dir?: string; count?: number; label?: string } +const { dir = 'brand/guidelines', count = 17, label = 'Brand guidelines' } = Astro.props; +const pages = Array.from({ length: count }, (_, i) => String(i + 1).padStart(2, '0')); ---
    { pages.map((n) => ( - - {`Brand + + {`${label} Page {n} )) diff --git a/site/src/components/SiteTitle.astro b/site/src/components/SiteTitle.astro index fc7a76b..8e6f585 100644 --- a/site/src/components/SiteTitle.astro +++ b/site/src/components/SiteTitle.astro @@ -3,13 +3,21 @@ // (never on touch; reduced motion keeps it still). The wordmark is the last path of the lockup master. import BoxMark from './BoxMark.astro'; import Wordmark from './Wordmark.astro'; +import { readFileSync } from 'node:fs'; +import { join } from 'node:path'; const base = import.meta.env.BASE_URL; +// The design system version (VERSION at the repository root, e.g. 2.0.0) shown as "v2.0", linking to what changed. +const [major, minor] = readFileSync(join(process.cwd(), '..', 'VERSION'), 'utf8').trim().split('.'); +const version = `v${major}.${minor}`; --- - - - - + + + + + + {version} + Space Works palette, darkSURFACES AND TEXTbg#000000surface#0B0B0Bpanel#141414hover#1C1C1Cline#2C2C2Coutline#787878ink#FFF4E8muted#ACACACfocus#DFFF8FACCENTaccent#006E63accent-hover#02675Daccent-active#046158on-accent#FFF4E8accent-soft#121D1Caccent-ink#80B1A6BRANDbrand#006E63brand-hover#02675Dbrand-active#046158on-brand#FFF4E8brand-soft#121D1Cbrand-ink#80B1A6brand-boundary#80B1A6EMPHASISemphasis#FF7447emphasis-hover#FF8157emphasis-active#FF8E67on-emphasis#142C2Aemphasis-soft#221A17SUCCESSsuccess#DFFF8Fsuccess-hover#CBEA85success-active#B6D57Bon-success#142C2Asuccess-soft#20221Bsuccess-ink#E9FCAAWARNwarn#FFD447warn-hover#E8C344warn-active#D0B241on-warn#142C2Awarn-soft#222017warn-ink#FFDE77INFOinfo#B5CDFFinfo-hover#A5BDEAinfo-active#95ADD4on-info#142C2Ainfo-soft#1E1F22info-ink#CBD9F8DANGERdanger#FCA5A5danger-hover#FDB9B6danger-active#FDC9C3on-danger#142C2Adanger-line#7C6261SIDEBARsidebar#0B0B0Bsidebar-hover#1C1C1Csidebar-active#006E63SCRIMscrim#000000CHART SERIESaccent#80B1A6info#B5CDFFsuccess#DFFF8Fwarn#FFD447danger#FCA5A5LOADERunder#66625Dspark#FFF4E8seam#000000 \ No newline at end of file +Space Works palette, darkSURFACES AND TEXTbg#000000surface#0B0B0Bpanel#141414hover#1C1C1Cline#2C2C2Coutline#787878ink#FFF4E8muted#ACACACfocus#DFFF8FACCENTaccent#006E63accent-hover#02675Daccent-active#046158on-accent#FFF4E8accent-soft#121D1Caccent-ink#80B1A6BRANDbrand#006E63brand-hover#02675Dbrand-active#046158on-brand#FFF4E8brand-soft#121D1Cbrand-ink#80B1A6brand-boundary#80B1A6EMPHASISemphasis#FF7447emphasis-hover#FF8157emphasis-active#FF8E67on-emphasis#142C2Aemphasis-soft#221A17SUCCESSsuccess#DFFF8Fsuccess-hover#CBEA85success-active#B6D57Bon-success#142C2Asuccess-soft#20221Bsuccess-ink#E9FCAAWARNwarn#FFD447warn-hover#E8C344warn-active#D0B241on-warn#142C2Awarn-soft#222017warn-ink#FFDE77INFOinfo#B5CDFFinfo-hover#A5BDEAinfo-active#95ADD4on-info#142C2Ainfo-soft#1E1F22info-ink#CBD9F8DANGERdanger#FCA5A5danger-hover#FDB9B6danger-active#FDC9C3on-danger#142C2Adanger-line#7C6261SIDEBARsidebar#0B0B0Bsidebar-hover#1C1C1Csidebar-active#006E63SCRIMscrim#000000CHART SERIES1#006E632#FF74473#DFFF8F4#B5CDFF5#FFD447edge#FFF4E8LOADERunder#66625Dspark#FFF4E8seam#000000 \ No newline at end of file diff --git a/tokens/previews/palette-light-vs-dark.png b/tokens/previews/palette-light-vs-dark.png index 11d2932..d71eb10 100644 Binary files a/tokens/previews/palette-light-vs-dark.png and b/tokens/previews/palette-light-vs-dark.png differ diff --git a/tokens/previews/palette-light-vs-dark.svg b/tokens/previews/palette-light-vs-dark.svg index 0871b42..f09a5a3 100644 --- a/tokens/previews/palette-light-vs-dark.svg +++ b/tokens/previews/palette-light-vs-dark.svg @@ -1 +1 @@ -Space Works palette, lightSURFACES AND TEXTbg#FFF4E8surface#F6ECE0panel#FFFFFFhover#EFE6DBline#D5D0C6outline#828A83ink#142C2Amuted#5B6863focus#006E63ACCENTaccent#006E63accent-hover#02675Daccent-active#046158on-accent#FFF4E8accent-soft#E0EEECaccent-ink#006E63BRANDbrand#006E63brand-hover#02675Dbrand-active#046158on-brand#FFF4E8brand-soft#E0EEECbrand-ink#006E63brand-boundary#006E63EMPHASISemphasis#FF7447emphasis-hover#FF8157emphasis-active#FF8E67on-emphasis#142C2Aemphasis-soft#FFEEE9SUCCESSsuccess#DFFF8Fsuccess-hover#CBEA85success-active#B6D57Bon-success#142C2Asuccess-soft#FBFFF2success-ink#536D49WARNwarn#FFD447warn-hover#E8C344warn-active#D0B241on-warn#142C2Awarn-soft#FFFAE9warn-ink#696834INFOinfo#B5CDFFinfo-hover#A5BDEAinfo-active#95ADD4on-info#142C2Ainfo-soft#F6F9FFinfo-ink#51697BDANGERdanger#B91C1Cdanger-hover#991B1Bdanger-active#851E1Don-danger#FFF4E8danger-line#FCA5A5SIDEBARsidebar#DFFF8Fsidebar-hover#F2FFD2sidebar-active#006E63SCRIMscrim#142C2ACHART SERIESaccent#006E63info#51697Bsuccess#536D49warn#696834danger#B91C1CLOADERunder#354845spark#142C2Aseam#142C2ASpace Works palette, darkSURFACES AND TEXTbg#000000surface#0B0B0Bpanel#141414hover#1C1C1Cline#2C2C2Coutline#787878ink#FFF4E8muted#ACACACfocus#DFFF8FACCENTaccent#006E63accent-hover#02675Daccent-active#046158on-accent#FFF4E8accent-soft#121D1Caccent-ink#80B1A6BRANDbrand#006E63brand-hover#02675Dbrand-active#046158on-brand#FFF4E8brand-soft#121D1Cbrand-ink#80B1A6brand-boundary#80B1A6EMPHASISemphasis#FF7447emphasis-hover#FF8157emphasis-active#FF8E67on-emphasis#142C2Aemphasis-soft#221A17SUCCESSsuccess#DFFF8Fsuccess-hover#CBEA85success-active#B6D57Bon-success#142C2Asuccess-soft#20221Bsuccess-ink#E9FCAAWARNwarn#FFD447warn-hover#E8C344warn-active#D0B241on-warn#142C2Awarn-soft#222017warn-ink#FFDE77INFOinfo#B5CDFFinfo-hover#A5BDEAinfo-active#95ADD4on-info#142C2Ainfo-soft#1E1F22info-ink#CBD9F8DANGERdanger#FCA5A5danger-hover#FDB9B6danger-active#FDC9C3on-danger#142C2Adanger-line#7C6261SIDEBARsidebar#0B0B0Bsidebar-hover#1C1C1Csidebar-active#006E63SCRIMscrim#000000CHART SERIESaccent#80B1A6info#B5CDFFsuccess#DFFF8Fwarn#FFD447danger#FCA5A5LOADERunder#66625Dspark#FFF4E8seam#000000 \ No newline at end of file +Space Works palette, lightSURFACES AND TEXTbg#FFF4E8surface#F6ECE0panel#FFFFFFhover#EFE6DBline#D5D0C6outline#828A83ink#142C2Amuted#5B6863focus#006E63ACCENTaccent#006E63accent-hover#02675Daccent-active#046158on-accent#FFF4E8accent-soft#E0EEECaccent-ink#006E63BRANDbrand#006E63brand-hover#02675Dbrand-active#046158on-brand#FFF4E8brand-soft#E0EEECbrand-ink#006E63brand-boundary#006E63EMPHASISemphasis#FF7447emphasis-hover#FF8157emphasis-active#FF8E67on-emphasis#142C2Aemphasis-soft#FFEEE9SUCCESSsuccess#DFFF8Fsuccess-hover#CBEA85success-active#B6D57Bon-success#142C2Asuccess-soft#FBFFF2success-ink#536D49WARNwarn#FFD447warn-hover#E8C344warn-active#D0B241on-warn#142C2Awarn-soft#FFFAE9warn-ink#696834INFOinfo#B5CDFFinfo-hover#A5BDEAinfo-active#95ADD4on-info#142C2Ainfo-soft#F6F9FFinfo-ink#51697BDANGERdanger#B91C1Cdanger-hover#991B1Bdanger-active#851E1Don-danger#FFF4E8danger-line#FCA5A5SIDEBARsidebar#DFFF8Fsidebar-hover#F2FFD2sidebar-active#006E63SCRIMscrim#142C2ACHART SERIES1#006E632#FF74473#DFFF8F4#B5CDFF5#FFD447edge#142C2ALOADERunder#354845spark#142C2Aseam#142C2ASpace Works palette, darkSURFACES AND TEXTbg#000000surface#0B0B0Bpanel#141414hover#1C1C1Cline#2C2C2Coutline#787878ink#FFF4E8muted#ACACACfocus#DFFF8FACCENTaccent#006E63accent-hover#02675Daccent-active#046158on-accent#FFF4E8accent-soft#121D1Caccent-ink#80B1A6BRANDbrand#006E63brand-hover#02675Dbrand-active#046158on-brand#FFF4E8brand-soft#121D1Cbrand-ink#80B1A6brand-boundary#80B1A6EMPHASISemphasis#FF7447emphasis-hover#FF8157emphasis-active#FF8E67on-emphasis#142C2Aemphasis-soft#221A17SUCCESSsuccess#DFFF8Fsuccess-hover#CBEA85success-active#B6D57Bon-success#142C2Asuccess-soft#20221Bsuccess-ink#E9FCAAWARNwarn#FFD447warn-hover#E8C344warn-active#D0B241on-warn#142C2Awarn-soft#222017warn-ink#FFDE77INFOinfo#B5CDFFinfo-hover#A5BDEAinfo-active#95ADD4on-info#142C2Ainfo-soft#1E1F22info-ink#CBD9F8DANGERdanger#FCA5A5danger-hover#FDB9B6danger-active#FDC9C3on-danger#142C2Adanger-line#7C6261SIDEBARsidebar#0B0B0Bsidebar-hover#1C1C1Csidebar-active#006E63SCRIMscrim#000000CHART SERIES1#006E632#FF74473#DFFF8F4#B5CDFF5#FFD447edge#FFF4E8LOADERunder#66625Dspark#FFF4E8seam#000000 \ No newline at end of file diff --git a/tokens/previews/palette-light.png b/tokens/previews/palette-light.png index 40a093e..ee337ad 100644 Binary files a/tokens/previews/palette-light.png and b/tokens/previews/palette-light.png differ diff --git a/tokens/previews/palette-light.svg b/tokens/previews/palette-light.svg index c1368b8..46aa169 100644 --- a/tokens/previews/palette-light.svg +++ b/tokens/previews/palette-light.svg @@ -1 +1 @@ -Space Works palette, lightSURFACES AND TEXTbg#FFF4E8surface#F6ECE0panel#FFFFFFhover#EFE6DBline#D5D0C6outline#828A83ink#142C2Amuted#5B6863focus#006E63ACCENTaccent#006E63accent-hover#02675Daccent-active#046158on-accent#FFF4E8accent-soft#E0EEECaccent-ink#006E63BRANDbrand#006E63brand-hover#02675Dbrand-active#046158on-brand#FFF4E8brand-soft#E0EEECbrand-ink#006E63brand-boundary#006E63EMPHASISemphasis#FF7447emphasis-hover#FF8157emphasis-active#FF8E67on-emphasis#142C2Aemphasis-soft#FFEEE9SUCCESSsuccess#DFFF8Fsuccess-hover#CBEA85success-active#B6D57Bon-success#142C2Asuccess-soft#FBFFF2success-ink#536D49WARNwarn#FFD447warn-hover#E8C344warn-active#D0B241on-warn#142C2Awarn-soft#FFFAE9warn-ink#696834INFOinfo#B5CDFFinfo-hover#A5BDEAinfo-active#95ADD4on-info#142C2Ainfo-soft#F6F9FFinfo-ink#51697BDANGERdanger#B91C1Cdanger-hover#991B1Bdanger-active#851E1Don-danger#FFF4E8danger-line#FCA5A5SIDEBARsidebar#DFFF8Fsidebar-hover#F2FFD2sidebar-active#006E63SCRIMscrim#142C2ACHART SERIESaccent#006E63info#51697Bsuccess#536D49warn#696834danger#B91C1CLOADERunder#354845spark#142C2Aseam#142C2A \ No newline at end of file +Space Works palette, lightSURFACES AND TEXTbg#FFF4E8surface#F6ECE0panel#FFFFFFhover#EFE6DBline#D5D0C6outline#828A83ink#142C2Amuted#5B6863focus#006E63ACCENTaccent#006E63accent-hover#02675Daccent-active#046158on-accent#FFF4E8accent-soft#E0EEECaccent-ink#006E63BRANDbrand#006E63brand-hover#02675Dbrand-active#046158on-brand#FFF4E8brand-soft#E0EEECbrand-ink#006E63brand-boundary#006E63EMPHASISemphasis#FF7447emphasis-hover#FF8157emphasis-active#FF8E67on-emphasis#142C2Aemphasis-soft#FFEEE9SUCCESSsuccess#DFFF8Fsuccess-hover#CBEA85success-active#B6D57Bon-success#142C2Asuccess-soft#FBFFF2success-ink#536D49WARNwarn#FFD447warn-hover#E8C344warn-active#D0B241on-warn#142C2Awarn-soft#FFFAE9warn-ink#696834INFOinfo#B5CDFFinfo-hover#A5BDEAinfo-active#95ADD4on-info#142C2Ainfo-soft#F6F9FFinfo-ink#51697BDANGERdanger#B91C1Cdanger-hover#991B1Bdanger-active#851E1Don-danger#FFF4E8danger-line#FCA5A5SIDEBARsidebar#DFFF8Fsidebar-hover#F2FFD2sidebar-active#006E63SCRIMscrim#142C2ACHART SERIES1#006E632#FF74473#DFFF8F4#B5CDFF5#FFD447edge#142C2ALOADERunder#354845spark#142C2Aseam#142C2A \ No newline at end of file diff --git a/tokens/tokens.css b/tokens/tokens.css index b710fed..89b5007 100644 --- a/tokens/tokens.css +++ b/tokens/tokens.css @@ -180,18 +180,18 @@ :root { --sw-dur-fast: 0ms; --sw-dur-base: 0ms; --sw-dur-slow: 0ms; --sw-enter-y: 0px; --sw-pop-scale: 1; --sw-pop-offset: 0px; --sw-slide-x: 0%; } } -/* Chart series tokens (SpaceWorks 0.12.0, mirrors frontend/src/styles/chrome.css). Values are RGB triplets - like the colour tokens: use rgb(var(--chart-accent)). Dark switches to the ink/fill variants for contrast. */ +/* Chart tokens (Design System v2.0, SW-380; mirrors frontend/src/styles/chrome.css). RGB triplets like the colour + tokens: use rgb(var(--chart-1)). Series 1-5 are the five bright brand colours, identical in light and dark; + --chart-edge (a 1px mark edge / 4px line casing) carries the 3:1 contrast. Danger is not a series colour. */ :root { - --chart-accent: var(--color-accent); - --chart-info: var(--color-info-ink); - --chart-success: var(--color-success-ink); - --chart-warn: var(--color-warn-ink); + --chart-1: 0 110 99; + --chart-2: 255 116 71; + --chart-3: 223 255 143; + --chart-4: 181 205 255; + --chart-5: 255 212 71; + --chart-edge: 20 44 42; --chart-danger: var(--color-danger); } :root.dark { - --chart-accent: var(--color-accent-ink); - --chart-info: var(--color-info); - --chart-success: var(--color-success); - --chart-warn: var(--color-warn); + --chart-edge: 255 244 232; } diff --git a/tokens/tokens.json b/tokens/tokens.json index 5884e10..57cc728 100644 --- a/tokens/tokens.json +++ b/tokens/tokens.json @@ -173,27 +173,32 @@ }, "chart": { "light": { - "accent": "#006E63", - "info": "#51697B", - "success": "#536D49", - "warn": "#696834", + "1": "#006E63", + "2": "#FF7447", + "3": "#DFFF8F", + "4": "#B5CDFF", + "5": "#FFD447", + "edge": "#142C2A", "danger": "#B91C1C" }, "dark": { - "accent": "#80B1A6", - "info": "#B5CDFF", - "success": "#DFFF8F", - "warn": "#FFD447", + "1": "#006E63", + "2": "#FF7447", + "3": "#DFFF8F", + "4": "#B5CDFF", + "5": "#FFD447", + "edge": "#FFF4E8", "danger": "#FCA5A5" }, "order": [ - "accent", - "info", - "success", - "warn", - "danger" + "1", + "2", + "3", + "4", + "5", + "edge" ], - "note": "Series colour is chosen by hashing the series identity, so a series keeps its colour when sorted or filtered; each series also gets a dash pattern (solid, 8 4, 2 4, 10 3 2 3) so colour is never the only cue. Dark uses the ink/fill variants because teal marks are 1.76:1 on the dark panel." + "note": "Design System v2.0, SW-380: series 1-5 are the five bright brand colours (teal, orange, citron, sky, yellow), the SAME hex in light and dark. Contrast is carried by `edge` (a 1px edge on every filled mark, a 4px casing under every 2px line), never by dulling a fill. Danger is not a series colour: use it explicitly for a bad or negative value. Series colour is chosen by hashing the series identity; each series also gets a dash pattern (solid, 8 4, 2 4, 10 3 2 3) so colour is never the only cue." }, "loader": { "light": {