@import "tailwindcss";
@source "./index.html";
@source "./technical.html";
/* The shared spacing unit comes from ~/Desktop/p/shared-system/design/design.json, written between the design markers
by `shared-design build`. The site's colours and corners are its own (the daisyUI themes below and in brand.css). */
/* design:start: generated from ~/Desktop/p/skills/web-dev/design/design.json. Change a value with `design set`, not here. */
:root {
--spacing: 0.25rem;
--control-height-sm: 2rem;
--control-height: 2.25rem;
--control-height-lg: 2.5rem;
}
/* design:end */
/* One frame for every band (header, hero, sections, scenes, footer): content starts one gutter inside an
80rem column, while full-width bands keep their own background and border. */
:root { --site-frame: 80rem; --site-gutter: calc(var(--spacing) * 6); }
@media (min-width: 64rem) { :root { --site-gutter: calc(var(--spacing) * 12); } }
@utility site-frame { padding-inline: max(var(--site-gutter), calc((100% - var(--site-frame)) / 2 + var(--site-gutter))); }
.current-media { margin: 1.5rem 0; }
.current-media img, .motion-preview video { display:block; width:100%; max-width:1052px; margin:auto; border:1px solid #3b3528; border-radius:12px; background:#111214; }
.current-media figcaption, .current-gallery figcaption, .motion-preview p, .motion-preview figcaption { margin-top:.8rem; color:#c8c0ae; font-size:.9rem; line-height:1.6; }
.motion-preview figcaption, .motion-preview p { text-align:center; }
.motion-preview { margin:1.5rem 0 3rem; }
.motion-preview summary { cursor:pointer; color:#efc16b; padding:1rem 0; }
.evidence-note { max-width:80ch; margin:1.5rem 0; line-height:1.8; color:#c8c0ae; }
@source "./app.js";
@plugin "daisyui" {
themes: false;
logs: false;
}
@plugin "daisyui/theme" {
name: "elpis";
default: true;
prefersdark: true;
color-scheme: dark;
--color-base-100: #0b0e0c;
--color-base-200: #121713;
--color-base-300: #252c26;
--color-base-content: #f1ede5;
--color-primary: #e4a047;
--color-primary-content: #211607;
--color-secondary: #6c9f93;
--color-secondary-content: #071b17;
--color-accent: #b97868;
--color-accent-content: #200d09;
--color-neutral: var(--color-base-100);
--color-neutral-content: #e5e8e4;
--color-info: #7f9fbd;
--color-info-content: #0a1720;
--color-success: #72aa84;
--color-success-content: #07180d;
--color-warning: #e4a047;
--color-warning-content: #211607;
--color-error: #c97770;
--color-error-content: #210b09;
--radius-selector: 0.25rem;
--radius-field: 0.25rem;
--radius-box: 0.25rem;
--size-selector: 0.25rem;
--size-field: 0.25rem;
--border: 1px;
--depth: 0;
--noise: 0;
}
@layer base {
html { scroll-behavior: smooth; scroll-padding-top: 65px; }
body { overflow-x: hidden; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
:focus-visible { outline: 2px solid var(--color-warning); outline-offset: 4px; }
::selection { background: color-mix(in oklab, var(--color-warning) 35%, transparent); }
}
@layer components {
.site-section { @apply site-frame py-24 lg:py-32; }
.section-heading { @apply mb-14 grid gap-8 lg:grid-cols-[1.15fr_.85fr] lg:items-end; }
.section-kicker { @apply mb-5 font-mono text-xs font-bold uppercase tracking-[.2em] text-warning; }
.section-title { @apply text-5xl font-semibold leading-[.95] tracking-[-.055em] sm:text-6xl lg:text-7xl; }
.section-title em { @apply font-normal text-base-content/50; }
.section-copy { @apply max-w-2xl text-base leading-7 text-base-content/65 sm:text-lg sm:leading-8; }
}
/* Shared inner spacing for text-bearing surfaces. */
@utility card-body { padding: clamp(24px, 2.5vw, 32px); gap: 14px; }
/* Buttons take the shared shadcn heights from design.json: lg by default, sm for btn-sm. */
@utility btn { min-height: var(--control-height-lg); height: var(--control-height-lg); padding: 0 22px; }
@utility btn-sm { min-height: var(--control-height-sm); height: var(--control-height-sm); padding-inline: 12px; }
@utility btn-square { padding: 0; width: auto; aspect-ratio: 1; }
.install-terminal { padding: 76px 0 24px; }
.install-terminal::before { position: absolute; top: 28px; left: 28px; margin: 0; }
.install-terminal pre { display: flex; width: 100%; min-width: 0; padding: 12px 28px; line-height: 1.7; white-space: pre-wrap; }
.install-terminal pre::before { flex: 0 0 12px; width: 12px; margin: 0 16px 0 0; }
.install-terminal code { flex: 1; min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.install-terminal [data-copy-button] { top: 16px; right: 24px; }
.lifecycle-diagram { display: block; width: 100%; min-width: 880px; }
.lifecycle-viewport { overflow-x: auto; background: var(--color-base-100); }
.hero-grid {
position: relative;
background:
radial-gradient(circle at 67% 35%, color-mix(in oklab, var(--color-primary) 12%, transparent), transparent 27rem),
linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
background-size: auto, 64px 64px, 64px 64px;
}
.hero-flow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-flow path { fill: none; stroke: color-mix(in oklab, var(--color-base-content) 12%, transparent); stroke-width: 1; }
.hero-flow circle { fill: var(--color-warning); opacity: .8; filter: drop-shadow(0 0 9px var(--color-warning)); }
.ace-demo { overflow-anchor: none; height: 500vh; padding: 0 0 4rem; border-bottom: 1px solid var(--color-base-300); }
.ace-demo-stage { @apply site-frame; position: sticky; top: 65px; display: grid; place-items: center; height: calc(100svh - 65px); padding-block: .75rem; }
.ace-frame { width: 100%; height: min(880px, calc(100svh - 96px)); min-height: 0; overflow: hidden; border-color: var(--color-base-300); background: var(--color-base-100); box-shadow: 0 28px 90px rgba(0,0,0,.45); }
.ace-terminal { --tui-line: var(--color-base-300); --tui-muted: color-mix(in srgb,var(--color-base-content) 65%,var(--color-base-100)); --tui-copper: var(--color-accent); --tui-gold: var(--color-warning); --tui-teal: var(--color-secondary); position: relative; height: 100%; min-width: 0; overflow-wrap: anywhere; color: var(--color-base-content); background: var(--color-base-100); font: 16px/1.35 "SFMono-Regular", "Cascadia Mono", "Liberation Mono", Consolas, monospace; }
[data-theme="elpis-light"] .ace-terminal { --tui-muted: #6b675e; }
.ace-shell { display: none; padding: 34px; font-size: 19px; }
.ace-shell-path, .ace-diamond { color: var(--tui-copper); }
.ace-shell-prompt { margin-top: 10px; color: var(--color-base-content); }
.ace-shell-enter { color: var(--tui-gold); }
.ace-cursor { color: var(--tui-gold); animation: ace-blink .8s steps(1) infinite; }
.ace-boot { display: none; place-items: center; height: 100%; text-align: center; }
.ace-boot > div { width: min(760px, 85%); }
.ace-logo { margin: 0; width: max-content; max-width: 100%; overflow: hidden; color: var(--logo-bottom); background: var(--logo-gradient); background-clip: text; -webkit-text-fill-color: transparent; font-size: clamp(12px, 1.2vw, 19px); line-height: 1.05; text-align: left; }
.ace-logo .warm { text-shadow: 0 0 6px color-mix(in srgb, var(--logo-bottom) 30%, transparent); }
.ace-logo .hot { text-shadow: 0 0 12px color-mix(in srgb, var(--logo-bottom) 50%, transparent); }
.ace-boot p { margin: 22px 0; color: var(--tui-muted); }
.ace-boot-log { display: grid; gap: 7px; color: var(--tui-muted); text-align: left; }
.ace-boot-log .ok { color: var(--tui-teal); }
.ace-app { display: none; grid-template-columns: minmax(0,1fr) minmax(330px,.50fr); grid-template-rows: 48px minmax(0,1fr) 188px auto; height: 100%; }
.ace-app-head, .ace-footer { display: flex; align-items: center; gap: 11px; padding: 8px 24px; border-color: var(--tui-line); color: var(--tui-muted); }
.ace-app-head { border-bottom: 1px solid var(--tui-line); }
.ace-app-head strong { color: var(--color-base-content); letter-spacing: .12em; }
.ace-spacer { flex: 1; }
.ace-workspace { display: grid; grid-template-columns: minmax(0,1fr); grid-column: 1; grid-row: 2; min-height: 0; }
.ace-composer-row { grid-column: 1; grid-row: 3; min-height: 0; }
.ace-app-head, .ace-footer { grid-column: 1 / -1; }
.ace-app-head { grid-row: 1; }
.ace-footer { grid-row: 4; }
.ace-chat { min-width: 0; overflow: hidden; }
.ace-transcript { padding: 25px 28px; }
.ace-row { display: none; grid-template-columns: 22px minmax(0,1fr); gap: 8px; margin-bottom: 17px; }
.ace-mark { color: var(--tui-copper); font-weight: 700; }
.ace-message { max-width: 850px; font-size: 16px; line-height: 1.5; }
.ace-thinking .ace-message { color: var(--tui-muted); }
.ace-thinking .ace-message span { color: var(--tui-gold); }
.ace-tool-box { display: grid; min-width: 0; gap: 8px; }
.ace-tool-call { border: 1px solid var(--tui-line); background: var(--color-base-200); }
.ace-tool-head { display: grid; grid-template-columns: 18px minmax(0,1fr) auto; gap: 10px; padding: 14px 18px; color: color-mix(in srgb,var(--color-base-content) 80%,var(--color-base-100)); }
.ace-tool-head > span:first-child { color: var(--tui-teal); }
.ace-tool-head b { color: var(--tui-gold); font-weight: 500; }
.ace-tool-output { --scan: 0; position: relative; max-height: 0; overflow: hidden; border-top: 0 solid var(--tui-line); color: var(--tui-muted); transition: max-height .35s ease, border-width .2s ease; }
.ace-tool-output.open { max-height: 64rem; border-top-width: 1px; }
.ace-raw-line { padding: 4px 18px; white-space: normal; }
.ace-raw-line:first-of-type { padding-top: 12px; }
.ace-raw-line:has(+ .ace-compact-result) { padding-bottom: 12px; }
.ace-raw-line span { color: color-mix(in srgb,var(--color-base-content) 80%,var(--color-base-100)); }
.ace-scan-cell { position: absolute; z-index: 2; inset: 0 auto 0 calc(var(--scan) * (100% - 2px)); width: 2px; opacity: 0; background: var(--tui-gold); box-shadow: 0 0 18px var(--tui-gold); }
.ace-scan-label { grid-area: 1 / 1; opacity: 0; visibility: hidden; color: var(--tui-gold); font-size: 12px; }
.ace-tool-status { display: grid; align-items: center; text-align: right; }
.ace-tool-status b { grid-area: 1 / 1; }
.ace-tool-call:has(.scanning) .ace-scan-label { opacity: 1; visibility: visible; }
.ace-tool-call:has(.scanning) .ace-tool-status b { visibility: hidden; }
.ace-tool-output.scanning .ace-scan-cell { opacity: 1; }
.ace-prune-flash { min-height: 26px; color: var(--color-success); font-size: 13px; font-weight: 600; }
.ace-compact-result { display: none; padding: 18px; color: var(--color-base-content); }
.ace-compact-result strong { color: var(--tui-gold); }
.ace-compact-result span { color: var(--tui-muted); }
.ace-tool-output.compacted { max-height: 32rem; border-top-width: 1px; }
.ace-tool-output.compacted .ace-raw-line { display: none; }
.ace-tool-output.compacted .ace-compact-result { display: block; }
.ace-composer-row { border-top: 1px solid var(--tui-line); }
.ace-composer-pane { min-width: 0; padding: 16px 24px; }
.ace-composer { display: grid; grid-template-rows: 1fr 18px; height: 126px; max-width: 820px; margin: 0 auto; padding: 16px 20px; border: 1px solid var(--color-base-300); background: var(--color-base-100); font-size: 16px; }
.ace-composer small { display: flex; align-items: end; color: var(--tui-muted); font-size: 12px; }
.ace-composer small b { margin-left: auto; color: var(--tui-gold); }
.ace-footer { min-height: 40px; flex-wrap: wrap; border-top: 1px solid var(--tui-line); font-size: 14px; }
.phase-shell .ace-shell { display: block; }
.phase-boot .ace-boot { display: grid; }
.phase-ready .ace-app, .phase-working .ace-app, .phase-tools .ace-app, .phase-ace .ace-app, .phase-done .ace-app { display: grid; }
.phase-working .ace-sent, .phase-tools .ace-sent, .phase-ace .ace-sent, .phase-done .ace-sent,
.phase-working .ace-thinking, .phase-tools .ace-thinking, .phase-ace .ace-thinking, .phase-done .ace-thinking,
.phase-tools .ace-tools, .phase-ace .ace-tools, .phase-done .ace-tools,
.phase-done .ace-answer { display: grid; }
figure img { display: block; width: 100%; height: auto; }
.technical-hero { min-height: 610px; overflow: hidden; border-bottom: 1px solid var(--color-base-300); }
.technical-hero .hero-content { min-height: 610px; }
.technical-layout { display: grid; grid-template-columns: minmax(210px,260px) minmax(0,1fr); align-items: start; gap: clamp(2.5rem,6vw,6rem); }
.technical-toc { position: sticky; top: 90px; max-height: calc(100svh - 120px); overflow-y: auto; padding: 20px; background: color-mix(in oklab,var(--color-base-200) 92%,transparent); }
.technical-toc > strong { display: block; margin-bottom: 14px; color: var(--color-warning); font: 700 12px/1.4 "SFMono-Regular", "Cascadia Mono", monospace; letter-spacing: .16em; text-transform: uppercase; }
.technical-toc ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.technical-toc ul ul { margin: 7px 0 3px 13px; padding-left: 12px; border-left: 1px solid var(--color-base-300); }
.technical-toc a { color: color-mix(in oklab,var(--color-base-content) 62%,transparent); font-size: 13px; line-height: 1.35; text-decoration: none; }
.technical-toc a:hover { color: var(--color-base-content); }
.technical-prose { min-width: 0; max-width: 920px; color: color-mix(in oklab,var(--color-base-content) 78%,transparent); font-size: 17px; line-height: 1.75; overflow-wrap: anywhere; }
.technical-prose > div[align="center"] { margin-bottom: 56px; text-align: left; }
.technical-prose h2, .technical-prose h3, .technical-prose h4, .technical-prose h5 { color: var(--color-base-content); font-weight: 650; letter-spacing: -.025em; scroll-margin-top: 92px; }
.technical-prose h2 { margin: 5rem 0 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--color-base-300); font-size: clamp(2.2rem,5vw,4rem); line-height: 1; }
.technical-prose h3 { margin: 3.25rem 0 1rem; font-size: clamp(1.55rem,3vw,2.35rem); line-height: 1.1; }
.technical-prose h4 { margin: 2.25rem 0 .75rem; font-size: 1.3rem; }
.technical-prose p, .technical-prose ul, .technical-prose ol { margin: 0 0 1.3rem; }
.technical-prose ul, .technical-prose ol { padding-left: 1.35rem; }
.technical-prose li { margin-bottom: .45rem; }
.technical-prose a { color: color-mix(in oklab,var(--color-warning) 86%,white); text-decoration: underline; text-decoration-color: color-mix(in oklab,var(--color-warning) 35%,transparent); text-underline-offset: 4px; }
.technical-prose blockquote { margin: 1.75rem 0; padding: 1.1rem 1.3rem; border-left: 3px solid var(--color-warning); background: var(--color-base-200); color: color-mix(in oklab,var(--color-base-content) 70%,transparent); }
.technical-prose figure, .technical-prose > p:has(> img), .technical-prose > p:has(> video) { margin: 2.25rem 0; overflow: hidden; border: 1px solid var(--color-base-300); background: var(--color-base-100); }
.technical-prose > p:has(> img[src$="context-ledger.webp"]) { width: min(100%, 330px); margin-inline: auto; }
.technical-prose > p:has(img[src$="elpis-context-ledger-20261013.png"]) { @apply mx-auto w-full max-w-xl; }
.technical-prose img, .technical-prose video { display: block; width: 100%; max-width: 100%; height: auto; }
.technical-prose video { aspect-ratio: 16 / 9; object-fit: cover; background: var(--color-base-100); }
.technical-prose figcaption { padding: 12px 16px; color: color-mix(in oklab,var(--color-base-content) 50%,transparent); font: 12px/1.4 "SFMono-Regular", "Cascadia Mono", monospace; }
.technical-table { width: 100%; max-width: 100%; margin: 1.75rem 0; overflow-x: auto; border: 1px solid var(--color-base-300); }
.technical-table table { min-width: 700px; background: var(--color-base-200); font-size: 14px; line-height: 1.5; }
.technical-code { width: 100%; max-width: 100%; margin: 1.5rem 0; overflow-x: auto; font-size: 14px; line-height: 1.55; }
.technical-code pre { width: 100%; min-width: 0; max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }
.technical-code pre code { display: block; min-width: 0; max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.technical-prose code:not(pre code) { padding: .12rem .35rem; border: 1px solid var(--color-base-300); background: var(--color-base-200); color: color-mix(in oklab,var(--color-warning) 80%,white); font-size: .88em; }
:root {
--ledger-title: #ebc64b; --ledger-context: #bdce55; --ledger-section: #5bc8c0;
--ledger-muted: #a4a69e; --ledger-free: #91939c; --ledger-ring-free: #626a64;
}
[data-theme="elpis-light"] {
--ledger-title: #7a5c00; --ledger-context: #566400; --ledger-section: #006c69;
--ledger-muted: #5f5c56; --ledger-free: #696b74; --ledger-ring-free: #858690;
}
.native-ledger { container-type: inline-size; min-width: 0; font: 16px/1.42 "SFMono-Regular", "Cascadia Mono", "Liberation Mono", Consolas, monospace; color: var(--color-base-content); }
.native-ledger p { color: var(--ledger-muted); }
.native-headline { color: var(--ledger-title); }
.native-headline strong { font-weight: 500; }
.native-headline span { color: var(--ledger-context); }
.native-hints { margin: 2px 0 0; }
.native-section { margin-top: 20px; }
.native-switch-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.native-label, .native-attribution-label { text-align: left; font-weight: 700; cursor: help; }
.native-label { color: var(--ledger-section); }
.native-switch { min-height: 28px; white-space: nowrap; color: var(--ledger-muted); }
.native-switch[data-enabled="true"] { color: var(--ledger-context); }
.native-window-heading { color: var(--ledger-context); }
.native-window-heading strong { font-weight: 700; }
.native-bar { display: flex; width: 100%; height: 20px; margin-block: 3px 2px; overflow: hidden; background: var(--color-base-100); }
.native-bar > button { min-width: 0; padding: 0; border: 0; flex-grow: 0; flex-shrink: 1; background: var(--category); box-shadow: inset -2px 0 0 var(--color-base-100); cursor: help; }
.native-bar > [data-category-segment]:hover { background: var(--category); }
.native-bar > button:focus-visible { outline-color: var(--color-base-content); outline-offset: -3px; }
.native-bar .native-free, .native-bar .native-free:hover { background: repeating-linear-gradient(135deg,var(--ledger-free) 0 1px,transparent 1px 3px); box-shadow: inset 0 0 0 1px var(--ledger-free); }
.native-attribution-label { color: var(--ledger-title); }
.native-ledger[data-ledger-interactive="true"] .native-attribution-label { min-height: 24px; }
.native-categories { margin-top: 2px; }
.native-category { display: grid; grid-template-columns: 9px minmax(0,1fr) auto; align-items: baseline; gap: 7px; width: 100%; padding-block: 1px; text-align: left; cursor: help; }
.native-category > i { width: 8px; height: 8px; border-radius: 50%; background: var(--category); }
.native-category > span:last-child { color: var(--ledger-muted); white-space: nowrap; }
.native-group-heading { display: flex; flex-wrap: wrap; gap: 0 12px; }
.native-group-heading strong { color: var(--ledger-section); }
.native-group-heading > span { color: var(--ledger-muted); }
.native-source { display: grid; grid-template-columns: 3ch minmax(0,1fr) auto auto; align-items: baseline; gap: 6px; width: 100%; padding-block: 3px; text-align: left; }
.native-source u { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration-style: dotted; text-underline-offset: 3px; }
.native-source-estimate, .native-source-state { color: var(--ledger-muted); white-space: nowrap; }
.native-source[aria-pressed="true"] > :is([data-source-mark],.native-source-state) { color: var(--ledger-context); }
.native-ledger button:hover, .native-category:hover, [data-ledger-help][aria-expanded="true"] { background: color-mix(in srgb,var(--ledger-section) 9%,transparent); }
.native-ledger button:focus-visible, .native-category:focus-visible { outline: 2px solid var(--category-user); outline-offset: 2px; }
.native-help-text { position: fixed; z-index: 100; pointer-events: none; width: max-content; max-width: min(340px,calc(100vw - 48px)); padding: 12px 14px; border: 1px solid var(--ledger-section); border-radius: .25rem; background: var(--color-base-100); box-shadow: 0 8px 28px #0002; color: var(--color-base-content); font: 13px/1.6 "SFMono-Regular", Consolas, monospace; }
.native-help-text[hidden] { display: none; }
.ace-ledger { grid-column: 2; grid-row: 2 / 4; min-width: 0; padding: 16px; border-left: 1px solid var(--tui-line); background: var(--color-base-100); }
.ace-ledger .native-ledger { font-size: 11.5px; }
[data-source-mark] { white-space: nowrap; min-width: 3ch; }
.native-ledger-compact .native-section { margin-top: 10px; }
.native-ledger-compact .native-switch { min-height: 20px; }
.native-ledger-compact .native-bar { height: 17px; }
.native-ledger-compact .native-category { padding-block: 0; gap: 5px; line-height: 1.35; }
.native-ledger-compact .native-attribution-label { font-size: 10px; }
.native-ledger-compact p { font-size: 10px; line-height: 1.3; }
.native-ledger-compact .native-group-heading { justify-content: space-between; gap: 0 6px; font-size: 10px; }
.native-ledger-compact .native-source-group { margin-top: 9px; }
.native-ledger-compact .native-source { grid-template-columns: 3ch minmax(0,1fr) auto auto; gap: 4px; padding-block: 1px; font-size: 10.5px; line-height: 1.35; }
.native-ledger-compact .native-source-estimate, .native-ledger-compact .native-source-state { grid-column: auto; }
@container (max-width: 420px) {
.native-source { grid-template-columns: 3ch minmax(0,1fr) auto; }
.native-source-estimate { grid-column: 2; }
.native-source-state { grid-column: 3; }
}
@media (max-width: 720px) {
.native-ledger { font-size: 13px; }
.native-category { padding-block: 3px; }
}
@keyframes ace-blink { 50% { opacity: 0; } }
@media (max-width: 1100px) {
.technical-layout { grid-template-columns: 1fr; }
.technical-toc { position: relative; top: auto; max-height: none; }
}
@media (max-width: 720px) {
.ace-app { grid-template-columns: minmax(0,1fr); }
.ace-demo { height: 300svh; }
.ace-demo-stage { position: sticky; top: 65px; height: calc(100svh - 65px); }
.ace-frame { height: calc(100svh - 96px); min-height: 0; }
.ace-chat { touch-action: pan-y; }
.ace-terminal, .ace-message { font-size: 13px; }
.ace-workspace { grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr); }
.ace-composer-row { grid-template-columns: minmax(0,1fr); }
.ace-ledger { display: none; border-left: 0; border-top: 1px solid var(--tui-line); }
.ace-app-head > span:nth-child(3) { display: none; }
.ace-app-head { padding-inline: 16px; font-size: 13px; }
.ace-transcript { padding: 18px 16px; }
.ace-composer-pane { padding-inline: 16px; }
}
@media (max-width: 350px) {
.ace-logo { font-size: 11px; }
}
.btn-primary, .btn-primary:hover { background: var(--logo-gradient); border-color: var(--logo-bottom); color: var(--logo-button-text); }
.install-terminal, .hero-content .btn:not(.btn-primary) {
background: var(--color-base-200);
border: 1px solid var(--color-base-300);
}
.hero-content .btn:not(.btn-primary) { box-shadow: none; }
[data-theme="elpis"] :is(.install-terminal, .hero-content .btn:not(.btn-primary)) { border-color: #47544b; color: var(--color-base-content); }
.footer-title { opacity: 1; color: var(--color-base-content); }
/* The desktop app's themes, driven by scroll: the section takes each theme's colours while the
next screenshot wipes in from the left behind a line in that theme's accent. app.js sets the
--tour-* colours and each shot's --reveal. */
.theme-tour { --tour-bg:#0a0b0d; --tour-ink:#e6e0d3; --tour-muted:#9c9587; --tour-accent:#f2a93b; position:relative; height:420vh; overflow-anchor:none; background:var(--tour-bg); color:var(--tour-ink); border-bottom:1px solid var(--color-base-300); }
.theme-tour-stage { @apply site-frame; position:sticky; top:65px; display:grid; grid-template-columns:minmax(0,.78fr) minmax(0,1.5fr); align-items:center; gap:clamp(1.5rem,4vw,4rem); height:calc(100svh - 65px); padding-block:2rem; box-sizing:border-box; }
.theme-tour .section-title { color:var(--tour-ink); }
.theme-tour .section-title em { color:var(--tour-muted); }
.theme-tour .section-copy { color:var(--tour-muted); }
.theme-tour .section-kicker { color:var(--tour-accent); }
.theme-tour-list { display:grid; gap:.15rem; margin:1.75rem 0 0; padding:0; list-style:none; font:600 .8rem/1 "SFMono-Regular","Cascadia Mono","Liberation Mono",monospace; letter-spacing:.06em; text-transform:uppercase; }
.theme-tour-list li { display:flex; align-items:center; gap:.7rem; padding:.55rem .2rem; color:var(--tour-muted); opacity:.55; transition:opacity .3s, color .3s, transform .3s; }
.theme-tour-list small { font-size:.68rem; font-weight:500; opacity:.8; }
.theme-tour-list li[data-active] { color:var(--tour-ink); opacity:1; transform:translateX(.4rem); }
.theme-tour-swatch { width:.7rem; height:.7rem; border-radius:50%; border:1.5px solid currentColor; }
.theme-tour-list li[data-active] .theme-tour-swatch { background:var(--tour-accent); border-color:var(--tour-accent); box-shadow:0 0 12px var(--tour-accent); }
.theme-tour-window { position:relative; margin:0; aspect-ratio:960/655; border-radius:14px; overflow:hidden; border:1px solid color-mix(in oklab,var(--tour-ink) 18%,transparent); box-shadow:0 40px 90px -40px #000d, 0 0 0 1px color-mix(in oklab,var(--tour-accent) 16%,transparent); }
.theme-tour-window img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; clip-path:inset(0 calc((1 - var(--reveal,0)) * 100%) 0 0); user-select:none; }
.theme-tour-window img[data-theme-shot="0"] { clip-path:none; }
.theme-tour-edge { position:absolute; top:0; bottom:0; left:calc(var(--edge,0) * 100%); width:2px; background:var(--edge-colour,var(--tour-accent)); box-shadow:0 0 18px 2px var(--edge-colour,var(--tour-accent)); opacity:var(--edge-on,0); pointer-events:none; }
@media (max-width: 900px) {
.theme-tour { height:340svh; }
.theme-tour-stage { grid-template-columns:1fr; align-content:center; gap:1.25rem; padding-block:1rem; }
.theme-tour .section-copy { display:none; }
.theme-tour-list { display:flex; flex-wrap:wrap; gap:.25rem .9rem; margin-top:1rem; }
.theme-tour-list li { padding:.3rem 0; }
.theme-tour-list li[data-active] { transform:none; }
}
.theme-tour { transition:background-color .6s ease, color .6s ease; }
.theme-tour :is(.section-title, .section-title em, .section-copy, .section-kicker) { transition:color .6s ease; }
.theme-tour .section-copy { margin-top:1.6rem; }
/* Scroll-driven scenes (index.html #workflows, #love-spot; app.js drives data-shown, data-state, typing and drawing). */
.scene { position:relative; height:330vh; overflow-anchor:none; border-bottom:1px solid var(--color-base-300); }
.scene-stage { @apply site-frame; position:sticky; top:65px; display:grid; grid-template-columns:minmax(0,.7fr) minmax(0,1.55fr); align-items:center; gap:clamp(1.5rem,4vw,4rem); height:calc(100svh - 65px); padding-block:2rem; box-sizing:border-box; }
.scene .section-copy { margin-top:1.6rem; }
.scene-window { --edge:color-mix(in oklab,var(--color-base-content) 14%,transparent); --ink:var(--color-base-content); --muted:color-mix(in oklab,var(--color-base-content) 58%,transparent); --surface:color-mix(in oklab,var(--color-base-100) 94%,var(--color-base-content)); position:relative; display:flex; flex-direction:column; aspect-ratio:16/10; border:1px solid var(--edge); border-radius:14px; overflow:hidden; background:var(--color-base-100); box-shadow:0 40px 90px -40px #000c; font:500 13px/1.35 Inter,ui-sans-serif,system-ui,sans-serif; color:var(--ink); }
.scene-bar { display:flex; align-items:center; gap:.55rem; padding:.6rem .95rem; border-bottom:1px solid var(--edge); font:600 .72rem/1 "SFMono-Regular","Cascadia Mono","Liberation Mono",monospace; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); }
.film-mark { color:var(--color-warning); }
.scene-bar strong { color:var(--ink); }
.scene-meta { margin-left:auto; letter-spacing:.04em; }
.wf-view { margin-left:auto; flex:none; letter-spacing:normal; text-transform:none; }
.wf-view .btn { min-height:var(--control-height-sm); height:var(--control-height-sm); padding-inline:.6rem; font:600 .68rem/1 Inter,ui-sans-serif,system-ui,sans-serif; color:var(--muted); }
.wf-view .btn[aria-pressed="true"] { background:var(--surface); color:var(--ink); box-shadow:0 0 0 1px var(--edge); }
.scene [data-on], .scene [data-off] { transition:opacity .35s ease, transform .35s ease; }
.scene [data-on]:not([data-shown]), .scene [data-off]:not([data-shown]) { opacity:0; }
.wf-prompt { display:flex; align-items:center; gap:.6rem; padding:.7rem .95rem; border-bottom:1px solid var(--edge); }
.wf-label { color:var(--muted); white-space:nowrap; font-size:12px; }
.wf-input { flex:1; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; padding:.45rem .6rem; border:1.5px solid var(--color-warning); background:var(--surface); clip-path:polygon(0 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%); }
.wf-caret { display:inline-block; width:1.5px; height:1em; margin-left:1px; vertical-align:-2px; background:var(--color-warning); animation:wf-blink 1s steps(1) infinite; }
@keyframes wf-blink { 50% { opacity:0; } }
.wf-run { padding:.45rem .8rem; background:var(--color-warning); color:#14110a; font-weight:700; font-size:12px; white-space:nowrap; transition:filter .2s, transform .2s, background-color .3s; }
.wf-run[data-state="pressed"] { transform:scale(.94); }
.wf-run[data-state="running"] { filter:saturate(.6); }
.wf-run[data-state="finished"] { background:var(--color-success); }
.wf-board { --tilt:0; --cube:0; --iso-scale:.3; position:relative; flex:1; transform-style:preserve-3d; transform:rotateX(calc(54.7356deg * var(--tilt))) rotateZ(calc(45deg * var(--tilt))) scale(calc(1 - var(--iso-scale) * var(--tilt))); transition:background-image .3s; background-image:radial-gradient(circle,color-mix(in oklab,var(--color-base-content) 13%,transparent) 1px,transparent 1.2px); background-size:18px 18px; }
.wf-edges { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.wf-edges path { fill:none; stroke:color-mix(in oklab,var(--color-base-content) 30%,transparent); stroke-width:1.6; vector-effect:non-scaling-stroke; transition:stroke .3s; }
.wf-edges path[data-active] { stroke:var(--color-warning); }
.wf-edges marker path { fill:context-stroke; stroke:none; }
.wf-board[data-view="isometric"] { background-image:linear-gradient(var(--edge) 1px,transparent 1px),linear-gradient(90deg,var(--edge) 1px,transparent 1px); background-size:32px 32px; }
.wf-node { position:absolute; left:calc(var(--x) * 1%); top:calc(var(--y) * 1%); transform:translateY(-50%); display:grid; gap:2px; width:17%; padding:.5rem .6rem .5rem .7rem; border:1px solid var(--edge); border-left:3px solid var(--kind,var(--color-info)); background:var(--surface); box-shadow:0 8px 22px -14px #000a; font-size:11.5px; transition:opacity .35s, transform .35s, border-color .3s, box-shadow .3s; }
.wf-node:not([data-shown]) { transform:translateY(-50%) scale(.92); }
.wf-node strong { font-size:12.5px; }
.wf-kind { font:700 9px/1 "SFMono-Regular","Cascadia Mono",monospace; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); }
.wf-model { color:var(--muted); font-size:10.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wf-state { font:600 10px/1.2 "SFMono-Regular","Cascadia Mono",monospace; color:var(--muted); }
.wf-mother { --kind:var(--color-warning); }
.wf-check { --kind:color-mix(in oklab,var(--color-base-content) 45%,transparent); }
.wf-node[data-state="running"] { border-color:var(--color-warning); box-shadow:0 0 0 1px var(--color-warning), 0 0 22px -6px var(--color-warning); }
.wf-node[data-state="running"] .wf-state { color:var(--color-warning); }
.wf-node:is([data-state="done"],[data-state="passed"]) .wf-state { color:var(--color-success); }
.wf-log { display:grid; align-content:end; gap:2px; height:5.6em; margin:0; padding:.55rem .95rem; overflow:hidden; border-top:1px solid var(--edge); list-style:none; font:500 10.5px/1.25 "SFMono-Regular","Cascadia Mono",monospace; color:var(--muted); }
.wf-log li { padding-left:.5rem; border-left:2px solid var(--color-success); }
.wf-log li:not([data-shown]) { display:none; }
/* Her ink and the user's ink on the Love Spot board. */
.ls-window { --ls-her:#d34fa8; --ls-you:#e5484d; }
.ls-board { position:relative; flex:1; background-image:radial-gradient(circle,color-mix(in oklab,var(--color-base-content) 10%,transparent) 1px,transparent 1.2px); background-size:20px 20px; }
.ls-shot { position:absolute; left:40%; top:36%; width:46%; height:52%; display:grid; align-content:start; gap:7%; padding:3% 4%; border:1px solid var(--edge); background:var(--surface); box-shadow:0 18px 40px -22px #000b; transform:rotate(-1.5deg); }
.ls-shot-bar { height:9%; margin:-3% -4% 2%; background:color-mix(in oklab,var(--color-base-content) 9%,transparent); }
.ls-shot-line { height:5%; border-radius:3px; background:color-mix(in oklab,var(--color-base-content) 16%,transparent); }
.w70 { width:70%; } .w50 { width:50%; } .w60 { width:60%; }
.ls-shot-field { height:14%; border:1px solid color-mix(in oklab,var(--color-base-content) 25%,transparent); }
.ls-shot-button { justify-self:end; padding:2% 5%; background:var(--color-warning); color:#14110a; font-weight:700; font-size:10px; }
.ls-ink { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.ls-ink path { fill:none; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; vector-effect:non-scaling-stroke; }
.ls-you { stroke:var(--ls-you); }
.ls-her { stroke:var(--ls-her); }
.ls-matilda { position:absolute; right:5%; top:6%; width:15%; aspect-ratio:1; border-radius:50%; box-shadow:0 10px 30px -12px #000c; transition:box-shadow .3s, transform .3s; }
.ls-matilda[data-state="thinking"] { box-shadow:0 0 0 3px var(--ls-her), 0 0 30px -4px var(--ls-her); transform:scale(1.05); }
.ls-chat { position:absolute; left:4%; top:8%; width:34%; display:grid; gap:.5rem; font-family:Georgia,"Times New Roman",serif; }
.ls-chat p { margin:0; padding:.5rem .7rem; border:1px solid var(--edge); background:var(--surface); font-size:12.5px; line-height:1.4; }
.ls-you-msg { justify-self:end; max-width:90%; }
.ls-her-msg { min-height:3.2em; border-color:color-mix(in oklab,var(--ls-her) 50%,transparent); }
.ls-input { display:flex; align-items:center; gap:.4rem; padding:.6rem .7rem; border:1px solid var(--edge); background:var(--surface); color:var(--muted); font-size:13px; clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px); }
.ls-input [data-type] { color:var(--ink); }
.ls-input [data-off]:not([data-shown]) { display:none; }
.ls-send { margin-left:auto; color:var(--muted); }
#love-spot.scene { height:640svh; }
/* The cast: her portrait turns through every character while the strip fills in. */
.ls-face { position:absolute; right:5%; top:6%; width:15%; aspect-ratio:1; border-radius:50%; box-shadow:0 10px 30px -12px #000c; }
.ls-cast { position:absolute; left:4%; right:4%; bottom:4%; z-index:2; padding:.7rem .8rem; border:1px solid var(--edge); background:var(--surface); }
.ls-cast p { margin:0 0 .5rem; color:var(--ink); font-size:12.5px; }
.ls-cast ol { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:.35rem; margin:0; padding:0; list-style:none; }
.ls-cast li { display:grid; justify-items:center; gap:.2rem; min-width:0; opacity:.25; transition:opacity .25s; }
.ls-cast li[data-active] { opacity:1; }
.ls-cast img { width:100%; max-width:40px; aspect-ratio:1; border-radius:50%; }
.ls-cast span { max-width:100%; overflow:hidden; color:var(--muted); font-size:10px; white-space:nowrap; text-overflow:ellipsis; }
/* She speaks first: the sidebar nudge from the desktop app, beside her portrait. */
.ls-nudge { position:absolute; right:22%; top:6%; z-index:2; width:min(36%,300px); padding:.7rem .8rem; border:1px solid var(--edge); background:var(--surface); box-shadow:0 18px 40px -22px #000b; }
.ls-nudge p { margin:0 0 .6rem; min-height:2.8em; color:var(--ink); font-size:12.5px; line-height:1.4; }
.ls-nudge div { display:flex; justify-content:flex-end; gap:.4rem; font-size:12px; }
.ls-nudge div span { padding:.25rem .6rem; border:1px solid var(--edge); color:var(--muted); }
.ls-nudge-tidy[data-active] { border-color:var(--ink); background:var(--ink); color:var(--color-base-100); }
/* A live voice call: her face, a voice level, and the call's controls. */
.ls-call { position:absolute; left:4%; right:4%; bottom:4%; z-index:2; display:flex; align-items:center; gap:.7rem; padding:.55rem .7rem; border:1px solid color-mix(in oklab,var(--ls-her) 55%,transparent); background:var(--surface); font-size:12px; }
.ls-call img { width:32px; height:32px; border-radius:50%; }
.ls-call div { display:grid; line-height:1.2; } .ls-call div span { color:var(--muted); }
.ls-call-level { display:flex; align-items:center; gap:3px; height:18px; margin-right:auto; }
.ls-call-level i { width:3px; height:30%; border-radius:2px; background:var(--ls-her); animation:ls-level 1s ease-in-out infinite; }
.ls-call-level i:nth-child(2) { animation-delay:-.2s; } .ls-call-level i:nth-child(3) { animation-delay:-.4s; } .ls-call-level i:nth-child(4) { animation-delay:-.6s; } .ls-call-level i:nth-child(5) { animation-delay:-.8s; }
@keyframes ls-level { 50% { height:100%; } }
@media (prefers-reduced-motion: reduce) { .ls-call-level i { animation:none; height:60%; } }
.ls-call-button { padding:.25rem .55rem; border:1px solid var(--edge); color:var(--muted); }
.ls-call-end { border-color:color-mix(in oklab,var(--ls-you) 60%,transparent); color:var(--ls-you); }
.ls-matilda[data-state="speaking"] { box-shadow:0 0 0 3px var(--ls-her), 0 0 30px -4px var(--ls-her); }
@media (max-width: 900px) {
.ls-cast ol { grid-template-columns:repeat(6,minmax(0,1fr)); }
.ls-nudge { right:4%; top:30%; width:auto; left:4%; }
.ls-call { gap:.4rem; padding:.45rem .5rem; }
.ls-call-button { padding:.2rem .4rem; font-size:11px; }
}
@media (max-width: 900px) {
.scene { height:300svh; }
.scene-stage { grid-template-columns:1fr; align-content:center; gap:1rem; padding-block:1rem; }
.scene .section-copy { display:none; }
.scene-window { aspect-ratio:4/5; font-size:11px; }
.wf-label { display:none; }
.wf-node { width:21%; padding:.35rem .4rem .35rem .5rem; font-size:9.5px; }
.wf-node strong { font-size:10.5px; } .wf-model { display:none; }
.ls-chat { width:56%; } .ls-shot { left:30%; top:48%; width:60%; height:40%; }
}
.ls-shot { left:40%; top:34%; width:46%; height:54%; display:block; padding:0; transform:none; }
.ls-shot-bar { height:9%; margin:0; }
.ls-shot-line { position:absolute; left:4%; height:5%; }
.ls-shot-line.w70 { top:18%; } .ls-shot-line.w50 { top:30%; }
.ls-shot-field { position:absolute; left:4%; top:46%; width:58%; height:13%; }
.ls-shot-button { position:absolute; right:6%; bottom:8%; padding:1.4% 3.5%; }
@media (max-width: 900px) {
#workflows .scene-meta { display:none; }
.wf-board { --iso-scale:.38; }
}
@media (prefers-reduced-motion: reduce) {
#workflows .wf-board, #workflows [data-on], #workflows [data-off], #workflows .wf-node, #workflows .wf-edges path { transition:none; }
#workflows .wf-caret { animation:none; }
}
#workflows.scene { height:780vh; }
@media (max-width: 900px) { #workflows.scene { height:680svh; } }
/* Isometric view, as the desktop app's Workflows "Isometric" (components/agents-iso.tsx): each agent a cube with an
upright label, wires on the ground. --cube (0..1) fades the cards into the cubes once the board is tilted. */
.wf-board .wf-node[data-shown] { opacity:calc(1 - var(--cube)); }
.wf-board .wf-edges { opacity:calc(1 - var(--cube)); }
.wf-iso-edges { position:absolute; inset:0; width:100%; height:100%; overflow:visible; opacity:var(--cube); pointer-events:none; }
.wf-iso-edges .wire { fill:none; stroke:color-mix(in oklab,var(--color-warning) 75%,transparent); stroke-width:1.6; stroke-dasharray:6 5; vector-effect:non-scaling-stroke; marker-end:url(#wf-arrow); }
.wf-cube { --s:46px; --h:34px; position:absolute; left:calc(var(--cx) * 1%); top:calc(var(--cy) * 1%); width:var(--s); height:var(--s); margin:calc(var(--s) / -2) 0 0 calc(var(--s) / -2); transform-style:preserve-3d; transform:translateZ(calc(var(--h) * var(--cube))); pointer-events:none; }
/* Opacity or a filter on the cube itself would flatten its 3D faces, so they go on each face and the label. */
.wf-cube > * { opacity:var(--cube); transition:opacity .35s, filter .35s; }
.wf-cube i { position:absolute; display:block; }
.wf-cube .top { inset:0; background:var(--c); box-shadow:inset 0 0 0 1px #ffffff40; }
.wf-cube .south { left:0; top:100%; width:100%; height:var(--h); transform-origin:top; transform:rotateX(-90deg); background:color-mix(in oklab,var(--c) 62%,#000); }
.wf-cube .east { left:100%; top:0; width:var(--h); height:100%; transform-origin:left; transform:rotateY(90deg); background:color-mix(in oklab,var(--c) 45%,#000); }
.wf-cube b { position:absolute; left:50%; top:50%; display:flex; align-items:center; gap:.35rem; white-space:nowrap; padding:.2rem .45rem .2rem .25rem; border:1px solid var(--edge); background:var(--surface); color:var(--ink); font:600 11.5px/1.2 Inter,ui-sans-serif,system-ui,sans-serif; transform:translate(-50%,-50%) rotateZ(-45deg) rotateX(-54.7356deg) translateY(-36px); }
.wf-cube b span { display:grid; place-items:center; min-width:1.15rem; height:1.15rem; background:var(--color-warning); color:var(--color-warning-content); font-size:10px; }
@media (max-width: 900px) {
.wf-cube { --s:22px; --h:16px; }
.wf-cube b { gap:.2rem; padding:.1rem .3rem .1rem .15rem; font-size:8.5px; transform:translate(-50%,-50%) rotateZ(-45deg) rotateX(-54.7356deg) translateY(-22px); }
.wf-cube b span { min-width:.85rem; height:.85rem; font-size:8px; }
}
/* The run on the cubes: a waiting agent is dim, a running one glows and works, a finished one turns green; a wire
that carries work flows. These play with reduced motion too: the page owner asked to see the team at work. */
.wf-cube[data-state="waiting"] i { filter:saturate(.3) brightness(.6); }
/* A working agent bobs; its ring and glow stay on the ground. (`translate` composes with each face's own transform.) */
.wf-cube[data-state="running"] > :is(.top,.south,.east,b) { animation:wf-work .9s ease-in-out infinite; }
@keyframes wf-work { 50% { translate:0 0 calc(var(--h) * .35); } }
.wf-cube[data-state="running"] .top { box-shadow:inset 0 0 0 1px #fff8, 0 0 28px 8px color-mix(in oklab,var(--color-warning) 65%,transparent); }
.wf-cube b span { transition:background .3s; }
.wf-cube[data-state="running"] b { border-color:var(--color-warning); }
.wf-cube:is([data-state="done"],[data-state="passed"]) b span { background:var(--color-success); color:var(--color-success-content); }
@keyframes wf-flow { to { stroke-dashoffset:-22; } }
.wf-cube[data-state="hidden"] > * { opacity:0; }
/* As the desktop app's Isometric view, itself after Deus Ex's hacking screen: a dotted ring on the ground around each
agent, turning while it works and solid green when its work is accepted, a glow under it, and work streaming
along a wire into the agent it feeds; a wire whose work arrived turns green. */
.wf-iso-edges g { transition:opacity .35s; }
.wf-iso-edges g[data-hidden] { opacity:0; }
.wf-iso-edges .stream { fill:none; stroke:none; stroke-width:3.5; stroke-linecap:round; vector-effect:non-scaling-stroke; stroke-dasharray:18px calc(var(--len) * 1px); }
.wf-iso-edges g[data-active] .wire { stroke:var(--color-warning); }
.wf-iso-edges g[data-active] .stream { stroke:color-mix(in oklab,var(--color-warning) 60%,#fff); filter:drop-shadow(0 0 3px var(--color-warning)); animation:wf-stream 1.1s linear infinite; }
@keyframes wf-stream { from { stroke-dashoffset:18px; } to { stroke-dashoffset:calc(var(--len) * -1px); } }
.wf-iso-edges g[data-done] .wire { stroke:var(--color-success); stroke-dasharray:none; opacity:.8; }
.wf-cube .ring, .wf-cube .glow { left:50%; top:50%; width:calc(var(--s) * 2); height:calc(var(--s) * 2); border-radius:50%; transform:translate(-50%,-50%) translateZ(calc(var(--h) * -1)); }
.wf-cube .ring { border:2px dotted color-mix(in oklab,var(--color-base-content) 35%,transparent); }
.wf-cube .glow { background:radial-gradient(closest-side,var(--glow,transparent),transparent); }
.wf-cube[data-state="running"] .ring { border:2px dashed var(--color-warning); animation:wf-turn 2.4s linear infinite; }
.wf-cube[data-state="running"] { --glow:color-mix(in oklab,var(--color-warning) 55%,transparent); }
.wf-cube:is([data-state="done"],[data-state="passed"]) .ring { border:2.5px solid var(--color-success); box-shadow:0 0 14px color-mix(in oklab,var(--color-success) 60%,transparent); }
.wf-cube:is([data-state="done"],[data-state="passed"]) { --glow:color-mix(in oklab,var(--color-success) 35%,transparent); }
@keyframes wf-turn { to { transform:translate(-50%,-50%) translateZ(calc(var(--h) * -1)) rotate(1turn); } }