@layer components{.page-demos [data-row]{--spaced:var(--fg);--caelus:var(--fg)}.page-demos [data-row][data-open]{--spaced:#8372c1;--caelus:#8372c1}.core{container-type:inline-size;display:grid;justify-items:center;row-gap:clamp(12px,1.4cqw,20px)}.core-stage{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);gap:22px;width:100%;padding:18px;border:1px solid var(--rule);border-radius:12px;background:color-mix(in srgb,var(--fg) 3%,var(--bg));font-size:clamp(13px,1.05cqw,15px);line-height:1.35;-webkit-user-select:none;user-select:none}.core-stage[data-layout=tall]{grid-template-columns:minmax(0,1fr);padding:12px}.core-diagram{position:relative;align-self:start}.core-diagram svg{display:block;width:100%;height:auto;overflow:visible}.core-diagram text{fill:var(--fg);font-size:19px;font-weight:700;text-anchor:middle}.core-diagram .core-machine-label{fill:var(--muted);font-size:16px;font-weight:600;text-anchor:start}.core-machine{fill:none;stroke:var(--rule);stroke-width:2;stroke-dasharray:8 8}.core-link{stroke:color-mix(in srgb,var(--fg) 35%,var(--bg));stroke-width:3}.core-link[data-down]{stroke:var(--rule);stroke-dasharray:6 9}.core-service rect{fill:var(--bg);stroke:var(--muted);stroke-width:2;stroke-dasharray:6 6}.core-app rect{fill:var(--bg);stroke:var(--spaced);stroke-width:3}.core-app[data-app=caelus] rect{stroke:var(--caelus)}.core-app[data-asking] rect{stroke-width:6}.core-node circle{fill:var(--bg);stroke:var(--fg);stroke-width:4}.core-diagram .core-ghost-label,.core-diagram .core-version{fill:var(--muted);font-size:15px;font-weight:600}.core-node .core-work{fill:none;stroke-width:2;stroke-dasharray:4 8;transform-box:fill-box;transform-origin:center;animation:core-spin 5s linear infinite}.core-ghost circle{fill:var(--bg);stroke:var(--fg);stroke-width:3;stroke-dasharray:5 5}.core-ghost[data-passing]{animation:core-pass 1.6s ease-in both}.core-fail{fill:none;stroke:var(--fg);stroke-width:2;stroke-dasharray:3 7}.core-packet{fill:var(--fg)}.core-card{position:absolute;z-index:1;display:grid;row-gap:6px;width:max-content;max-width:230px;padding:10px 12px;translate:-50% 0;border:1px solid var(--fg);border-radius:12px;background:var(--bg);animation:core-in .25s ease-out both}.core-card p{margin:0}.core-card-title{font-weight:800}.core-card p:nth-child(2){color:var(--muted);font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:.9em}.core-card-actions,.core-row{display:flex;flex-wrap:wrap;gap:6px;margin:0}.core-stage button{padding:.42em .95em;border:1px solid var(--rule);border-radius:999px;background:transparent;color:var(--fg);font:inherit;font-weight:700;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:border-color .2s,background-color .2s,color .2s}.core-stage button:hover:enabled{border-color:var(--fg)}.core-stage button:disabled{color:var(--muted);cursor:default}.core-stage button:focus-visible{outline:2px solid var(--fg);outline-offset:2px}.core-card-actions button:first-child{background:var(--fg);color:var(--bg)}.core-controls{display:grid;align-content:start;row-gap:14px;min-width:0}.core-group{display:grid;row-gap:8px;padding-bottom:14px;border-bottom:1px solid var(--rule)}.core-group:last-child{padding-bottom:0;border-bottom:0}.core-group h3{margin:0;color:var(--muted);font-size:.8em;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.core-stage .core-switch{justify-self:start;display:inline-flex;align-items:center;gap:.6em;padding:0;border:0;font-weight:600}.core-switch:before{content:"";width:2.1em;height:1.2em;border:1px solid var(--rule);border-radius:999px;background:radial-gradient(circle at .6em 50%,var(--muted) .38em,transparent .42em);transition:background-color .2s,border-color .2s}.core-switch[aria-checked=true]:before{border-color:var(--fg);background:radial-gradient(circle at 1.5em 50%,var(--bg) .38em,transparent .42em) var(--fg)}.core-note{min-height:1.35em;margin:0;color:var(--muted)}.core-note[data-failed]{color:var(--fg)}.core-rules{width:100%;border-collapse:collapse;font-size:.88em}.core-rules td,.core-rules th{padding:3px 4px 3px 0;text-align:left;vertical-align:middle}.core-rules thead th{color:var(--muted);font-weight:600}.core-stage .core-pick{padding:.2em .55em;border-color:transparent;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-weight:600}.core-stage .core-pick[aria-checked=true]{border-color:var(--fg)}.core-segments{display:inline-flex;border:1px solid var(--rule);border-radius:999px;overflow:hidden}.core-stage .core-segments button{padding:.22em .5em;border:0;border-radius:0;color:var(--muted);font-size:.92em;font-weight:600}.core-stage .core-segments button[aria-checked=true]{background:color-mix(in srgb,var(--fg) 16%,var(--bg));color:var(--fg)}.core-stage:not([data-open]) .core-work,.core[data-still] *{animation:none}@keyframes core-spin{to{rotate:1turn}}@keyframes core-pass{to{opacity:0;translate:0 -12px}}@keyframes core-in{0%{opacity:0}}}