@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap");

:root {
    --ws-bg: #080b0e;
    --ws-panel: #0e1318;
    --ws-panel-2: #121820;
    --ws-line: #26303a;
    --ws-line-2: #35414d;
    --ws-text: #e7ece9;
    --ws-soft: #bdc6c2;
    --ws-muted: #7f8a95;
    --ws-faint: #56626d;
    --ws-mint: #75e2bd;
    --ws-cyan: #72c8ff;
    --ws-violet: #aa96ff;
    --ws-amber: #e4a46c;
    --ws-rose: #ef899e;
    --ws-rail: 48px;
    --ws-tree: 236px;
    --ws-inspector: 286px;
    --ws-mono: "JetBrains Mono", "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    --ws-sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.workspace-v2 {
    margin: 0;
    background: var(--ws-bg);
    color: var(--ws-text);
    font-family: var(--ws-sans);
    overflow-x: hidden;
}

body.workspace-v2.ws-command-open {
    overflow: hidden;
}

.workspace-v2 a {
    color: inherit;
    text-decoration: none;
}

.workspace-v2 button,
.workspace-v2 input {
    font: inherit;
}

.ws-app {
    min-height: 100vh;
    background:
        radial-gradient(circle at 70% -10%, rgba(114, 200, 255, .06), transparent 26%),
        radial-gradient(circle at 20% 0%, rgba(170, 150, 255, .055), transparent 24%),
        linear-gradient(180deg, #090c10, #07090c 46%, #090c10);
}

.ws-topbar {
    position: fixed;
    z-index: 90;
    inset: 0 0 auto 0;
    height: 40px;
    display: grid;
    grid-template-columns: 1fr minmax(300px, 620px) 1fr;
    align-items: center;
    gap: 16px;
    padding: 0 10px;
    border-bottom: 1px solid var(--ws-line);
    background: rgba(8, 11, 14, .96);
    backdrop-filter: blur(16px);
    color: var(--ws-muted);
    font: 10px var(--ws-mono);
}

.ws-brand,
.ws-topbar__state {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.ws-brand__mark {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border: 1px solid #384550;
    border-radius: 6px;
    background: #141a20;
    color: var(--ws-mint);
    font-weight: 800;
}

.ws-muted {
    color: var(--ws-faint);
}

.ws-command-trigger {
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #333e48;
    border-radius: 6px;
    background: #14191f;
    color: #8c97a1;
    cursor: pointer;
    font: 10px var(--ws-mono);
}

.ws-command-trigger:hover,
.ws-command-trigger:focus-visible {
    border-color: #536270;
    color: var(--ws-text);
}

.ws-command-trigger kbd {
    padding: 1px 6px;
    border: 1px solid #3b4651;
    border-radius: 4px;
    color: #67727d;
    font: 9px var(--ws-mono);
}

.ws-topbar__state {
    justify-content: flex-end;
    white-space: nowrap;
}

.ws-live-dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: var(--ws-mint);
    box-shadow: 0 0 10px rgba(117, 226, 189, .65);
}

.ws-rail {
    position: fixed;
    z-index: 80;
    left: 0;
    top: 40px;
    bottom: 23px;
    width: var(--ws-rail);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
    border-right: 1px solid var(--ws-line);
    background: #0b0f13;
}

.ws-rail__button {
    position: relative;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #66727d;
    cursor: pointer;
    font: 14px var(--ws-mono);
}

.ws-rail__button svg {
    width: 18px;
    height: 18px;
}

.ws-rail__button:hover,
.ws-rail__button:focus-visible,
.ws-rail__button[aria-expanded="true"],
.ws-rail__button.is-active {
    background: #151b21;
    color: var(--ws-text);
    outline: none;
}

.ws-rail__button.is-active::before {
    content: "";
    position: absolute;
    left: -6px;
    width: 2px;
    height: 22px;
    background: var(--ws-mint);
}

.ws-rail__bottom {
    margin-top: auto;
}

.ws-rail__donate {
    --ws-donate-expanded: 208px;
    position: relative;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    margin-top: auto;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: #66727d;
    transform: translateX(0);
    transform-origin: left center;
    transition:
        width .34s cubic-bezier(.2, .82, .2, 1),
        transform .34s cubic-bezier(.2, .82, .2, 1),
        color .18s ease,
        border-color .18s ease,
        background-color .18s ease,
        box-shadow .24s ease;
    will-change: width, transform;
}

.ws-rail__donate[data-paypal-state="loading"],
.ws-rail__donate[data-paypal-state="ready"],
.ws-rail__donate[data-paypal-state="error"] {
    width: var(--ws-donate-expanded);
    transform: translateX(calc((var(--ws-donate-expanded) - 36px) / 2));
}

.ws-rail__donate[data-paypal-state="loading"] {
    border-color: rgba(117, 226, 189, .46);
    background: rgba(17, 28, 31, .97);
    color: #dc4f5b;
    box-shadow:
        0 0 0 1px rgba(117, 226, 189, .08),
        0 8px 26px rgba(0, 0, 0, .34);
}

.ws-rail__donate[data-paypal-state="ready"] {
    border-color: rgba(117, 226, 189, .66);
    background: rgba(17, 24, 29, .985);
    color: #dc4f5b;
    box-shadow:
        0 0 0 1px rgba(117, 226, 189, .1),
        0 10px 30px rgba(0, 0, 0, .38);
}

.ws-rail__donate[data-paypal-state="error"] {
    border-color: rgba(220, 79, 91, .55);
    background: rgba(42, 17, 22, .97);
    color: #dc4f5b;
}

.ws-rail__donate-visual {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.ws-rail__donate-visual svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: .35;
}

.ws-rail__donate-label {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 10px;
    bottom: 0;
    left: 36px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    color: #dce5e2;
    opacity: 0;
    transform: translateX(-9px);
    pointer-events: none;
    white-space: nowrap;
    transition:
        opacity .2s ease .05s,
        transform .28s cubic-bezier(.2, .82, .2, 1) .03s;
}

.ws-rail__donate-label-text {
    overflow: visible;
    font: 600 10px var(--ws-mono);
    letter-spacing: .01em;
}

.ws-rail__donate-binding {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex: 0 0 auto;
    opacity: 0;
    transition: opacity .18s ease;
}

.ws-rail__donate-binding i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--ws-mint);
    opacity: .28;
}

.ws-rail__donate[data-paypal-state="loading"] .ws-rail__donate-label,
.ws-rail__donate[data-paypal-state="ready"] .ws-rail__donate-label,
.ws-rail__donate[data-paypal-state="error"] .ws-rail__donate-label {
    opacity: 1;
    transform: translateX(0);
}

.ws-rail__donate[data-paypal-state="loading"] .ws-rail__donate-binding {
    opacity: 1;
}

.ws-rail__donate[data-paypal-state="ready"] .ws-rail__donate-binding,
.ws-rail__donate[data-paypal-state="error"] .ws-rail__donate-binding {
    display: none;
}

.ws-rail__donate[data-paypal-state="loading"] .ws-rail__donate-binding i {
    animation: ws-donate-binding .9s ease-in-out infinite;
}

.ws-rail__donate[data-paypal-state="loading"] .ws-rail__donate-binding i:nth-child(2) {
    animation-delay: .12s;
}

.ws-rail__donate[data-paypal-state="loading"] .ws-rail__donate-binding i:nth-child(3) {
    animation-delay: .24s;
}

.ws-rail__donate #donate-button,
.ws-rail__donate #donate-button iframe,
.ws-rail__donate #donate-button img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-width: 36px;
    min-height: 36px;
}

.ws-rail__donate #donate-button {
    z-index: 3;
}

.ws-rail__donate #donate-button iframe,
.ws-rail__donate #donate-button img {
    opacity: 0;
    pointer-events: none;
}

.ws-rail__donate[data-paypal-state="ready"] #donate-button iframe,
.ws-rail__donate[data-paypal-state="ready"] #donate-button img {
    pointer-events: auto;
}

.ws-rail__donate:hover,
.ws-rail__donate:focus-within {
    border-color: rgba(220, 79, 91, .38);
    background-color: rgba(110, 28, 38, .14);
    color: #dc4f5b;
}

.ws-rail__donate[data-paypal-state="loading"]:hover,
.ws-rail__donate[data-paypal-state="loading"]:focus-within,
.ws-rail__donate[data-paypal-state="ready"]:hover,
.ws-rail__donate[data-paypal-state="ready"]:focus-within {
    border-color: rgba(117, 226, 189, .78);
    background-color: rgba(20, 31, 34, .99);
}

.ws-rail__donate:focus-within {
    outline: 2px solid var(--ws-mint);
    outline-offset: 1px;
}

.ws-rail__donate:hover .ws-rail__donate-visual svg,
.ws-rail__donate:focus-within .ws-rail__donate-visual svg,
.ws-rail__donate[data-paypal-state="loading"] .ws-rail__donate-visual svg {
    animation: ws-donate-heartbeat 1.15s ease-in-out infinite;
}

.ws-mobile-nav__donate-slot {
    display: none;
}

@keyframes ws-donate-heartbeat {
    0%, 18%, 36%, 100% { transform: scale(1); }
    10% { transform: scale(1.15); }
    28% { transform: scale(1.10); }
}

@keyframes ws-donate-binding {
    0%, 100% { opacity: .24; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-2px); }
}

.ws-rail__divider {
    width: 24px;
    height: 1px;
    margin: 5px 0 4px;
    background: #26313a;
    opacity: .9;
}

.ws-rail-menu {
    position: fixed;
    z-index: 95;
    left: calc(var(--ws-rail) + 8px);
    top: 48px;
    width: 250px;
    max-height: min(70vh, 620px);
    overflow: auto;
    border: 1px solid #34414b;
    border-radius: 8px;
    background: rgba(12, 17, 22, .985);
    box-shadow: 0 22px 60px rgba(0,0,0,.48);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font: 9px var(--ws-mono);
}

.ws-rail-menu[hidden] {
    display: none;
}

.ws-rail-menu section[hidden] {
    display: none;
}

.ws-rail-menu header {
    padding: 13px 14px 11px;
    border-bottom: 1px solid #26313a;
    background: #10161c;
}

.ws-rail-menu header span {
    display: block;
    margin-bottom: 4px;
    color: var(--ws-violet);
    text-transform: uppercase;
    letter-spacing: .11em;
    font-size: 8px;
}

.ws-rail-menu header strong {
    color: #dce2df;
    font-weight: 600;
}

.ws-rail-menu nav {
    display: grid;
    padding: 7px;
}

.ws-rail-menu nav a {
    display: flex;
    align-items: center;
    min-height: 31px;
    padding: 6px 10px;
    border-radius: 5px;
    color: #87939c;
}

.ws-rail-menu nav a:hover,
.ws-rail-menu nav a:focus-visible {
    background: #151c22;
    color: #eef2ef;
    outline: none;
}

.ws-rail-menu nav a::before {
    content: "";
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    margin-right: 9px;
    border-radius: 50%;
    background: #59656f;
}

.ws-rail-menu nav a:hover::before,
.ws-rail-menu nav a:focus-visible::before {
    background: var(--ws-mint);
    box-shadow: 0 0 7px rgba(117,226,189,.45);
}

.ws-rail-menu--context {
    width: min(310px, calc(100vw - var(--ws-rail) - 24px));
    max-height: min(78vh, 720px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.ws-rail-menu--context:hover,
.ws-rail-menu--context:focus-within {
    scrollbar-color: rgba(117,226,189,.38) transparent;
}

.ws-rail-menu--context::-webkit-scrollbar {
    width: 5px;
}

.ws-rail-menu--context::-webkit-scrollbar-track {
    background: transparent;
}

.ws-rail-menu--context::-webkit-scrollbar-thumb {
    min-height: 32px;
    border-radius: 999px;
    background: transparent;
}

.ws-rail-menu--context:hover::-webkit-scrollbar-thumb,
.ws-rail-menu--context:focus-within::-webkit-scrollbar-thumb {
    background: rgba(117,226,189,.34);
}

.ws-rail-menu--context::-webkit-scrollbar-thumb:hover {
    background: rgba(117,226,189,.58);
}

.ws-rail-menu header small {
    display: block;
    margin-top: 5px;
    color: #596670;
    font: 8px/1.4 var(--ws-mono);
    letter-spacing: .04em;
    text-transform: lowercase;
}

.ws-rail-menu__dynamic {
    display: grid;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid #222b33;
}

.ws-rail-menu nav a[data-rail-depth="1"] {
    min-height: 28px;
    padding-left: 24px;
    color: #76838c;
    font-size: 8.5px;
}

.ws-rail-menu nav a[data-rail-depth="2"] {
    min-height: 26px;
    padding-left: 38px;
    color: #65727c;
    font-size: 8px;
}

.ws-rail-menu nav a[data-rail-depth="1"]::before,
.ws-rail-menu nav a[data-rail-depth="2"]::before {
    width: 4px;
    height: 4px;
    flex-basis: 4px;
    background: #47545e;
}

.ws-rail-menu nav a.is-current,
.ws-rail-menu nav a[aria-current="location"] {
    background:
        linear-gradient(90deg, rgba(117,226,189,.08), transparent 82%);
    color: #e8f5ef;
}

.ws-rail-menu nav a.is-current::before,
.ws-rail-menu nav a[aria-current="location"]::before {
    background: var(--ws-mint);
    box-shadow: 0 0 7px rgba(117,226,189,.45);
}

.ws-rail-menu__empty {
    padding: 10px;
    color: #5f6b75;
    font: 8px/1.5 var(--ws-mono);
}

.ws-explorer,
.ws-inspector {
    position: fixed;
    z-index: 70;
    top: 40px;
    bottom: 23px;
    overflow: auto;
    background: #0c1014;
    font: 10px var(--ws-mono);
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.ws-explorer:hover,
.ws-explorer:focus-within,
.ws-inspector:hover,
.ws-inspector:focus-within {
    scrollbar-color: rgba(117, 226, 189, .36) transparent;
}

.ws-explorer::-webkit-scrollbar,
.ws-inspector::-webkit-scrollbar {
    width: 5px;
}

.ws-explorer::-webkit-scrollbar-track,
.ws-inspector::-webkit-scrollbar-track {
    background: transparent;
}

.ws-explorer::-webkit-scrollbar-thumb,
.ws-inspector::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: transparent;
}

.ws-explorer:hover::-webkit-scrollbar-thumb,
.ws-explorer:focus-within::-webkit-scrollbar-thumb,
.ws-inspector:hover::-webkit-scrollbar-thumb,
.ws-inspector:focus-within::-webkit-scrollbar-thumb {
    background: rgba(117, 226, 189, .34);
}

.ws-explorer {
    left: var(--ws-rail);
    width: var(--ws-tree);
    border-right: 1px solid var(--ws-line);
}

.ws-inspector {
    right: 0;
    width: var(--ws-inspector);
    border-left: 1px solid var(--ws-line);
}

.ws-panel-title {
    height: 32px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-bottom: 1px solid #20272f;
    color: #8b969f;
    text-transform: uppercase;
    letter-spacing: .09em;
    font: 9px var(--ws-mono);
}

.ws-tree-group {
    padding: 7px 0 10px;
    border-bottom: 1px solid #1f262d;
}

.ws-tree-group h2 {
    margin: 0;
    padding: 5px 11px;
    color: #b7c0c6;
    font: 700 9px var(--ws-mono);
    text-transform: lowercase;
}

.ws-tree-item {
    width: 100%;
    display: grid;
    grid-template-columns: 7px minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    min-height: 27px;
    padding: 5px 11px 5px 18px;
    border: 0;
    background: transparent;
    color: #78838d;
    text-align: left;
    cursor: pointer;
    font: 9px var(--ws-mono);
}

.ws-tree-item:hover,
.ws-tree-item:focus-visible,
.ws-tree-item.is-inspected {
    background: #141a20;
    color: #dce2df;
    outline: none;
}

.ws-tree-item.is-inspected {
    box-shadow: inset 2px 0 0 var(--ws-mint);
}

.ws-tree-item span:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ws-tree-item small {
    color: #515d67;
    font: 8px var(--ws-mono);
}

.ws-tree-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #58636d;
}

.ws-tree-dot--live {
    background: var(--ws-mint);
    box-shadow: 0 0 7px rgba(117, 226, 189, .5);
}

.ws-inspector__section {
    padding: 11px 13px;
    border-bottom: 1px solid #20272f;
}

.ws-inspector__section h2 {
    margin: 0 0 9px;
    color: #74808a;
    text-transform: uppercase;
    letter-spacing: .12em;
    font: 8px var(--ws-mono);
}

.ws-inspector__section dl {
    margin: 0;
}

.ws-inspector__section dl div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin: 5px 0;
}

.ws-inspector dt {
    color: #747f89;
}

.ws-inspector dd {
    margin: 0;
    color: #c4cbc7;
    text-align: right;
}

.ws-inspector p {
    margin: 12px 0 0;
    color: #7f8b94;
    line-height: 1.6;
}

.ws-inspector__technical[hidden] {
    display: none;
}

.ws-inspector__technical > h2:not(:first-child) {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #20272f;
}

.ws-inspector__technical p {
    margin-top: 6px;
}

.ws-inspector__role {
    color: #aeb9b4 !important;
}

.ws-inspector__tech div {
    align-items: start;
    grid-template-columns: 62px minmax(0, 1fr) !important;
}

.ws-inspector__tech dd {
    overflow-wrap: anywhere;
    color: #9fb0aa;
    text-align: left;
    line-height: 1.45;
}

.ws-inspector__version,
.ws-inspector__pattern-title {
    color: var(--ws-mint) !important;
    font-weight: 700;
}

.ws-inspector__pattern-description,
.ws-inspector__notes {
    color: #7f8b94;
}

.ws-inspector__code-panel {
    position: relative;
    margin-top: 7px;
    border: 1px solid #29343d;
    border-radius: 6px;
    background: #080d11;
    box-shadow: inset 0 1px 0 rgba(114, 200, 255, .04);
}

.ws-inspector__code-panel button {
    position: absolute;
    z-index: 1;
    top: 6px;
    right: 6px;
    min-width: 46px;
    padding: 4px 6px;
    border: 1px solid #33414b;
    border-radius: 4px;
    background: #10171c;
    color: #82918e;
    cursor: pointer;
    font: 7px var(--ws-mono);
    letter-spacing: .08em;
}

.ws-inspector__code-panel button:hover,
.ws-inspector__code-panel button:focus-visible {
    border-color: rgba(117, 226, 189, .48);
    color: var(--ws-mint);
    outline: none;
    box-shadow: 0 0 9px rgba(117, 226, 189, .10);
}

.ws-inspector__code-panel pre {
    max-height: 250px;
    margin: 0;
    padding: 34px 10px 11px;
    overflow: auto;
    color: #b7c9c3;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.ws-inspector__code-panel pre:hover,
.ws-inspector__code-panel pre:focus-within {
    scrollbar-color: rgba(114, 200, 255, .42) transparent;
}

.ws-inspector__code-panel pre::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.ws-inspector__code-panel pre::-webkit-scrollbar-track {
    background: transparent;
}

.ws-inspector__code-panel pre::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: transparent;
}

.ws-inspector__code-panel pre:hover::-webkit-scrollbar-thumb {
    background: rgba(114, 200, 255, .38);
}

.ws-inspector__code-panel code {
    white-space: pre;
    font: 8px/1.55 var(--ws-mono);
}

.ws-inspector__actions {
    display: grid;
    gap: 5px;
}

.ws-inspector__actions a {
    padding: 6px 7px;
    border: 1px solid #29343d;
    border-radius: 4px;
    color: #8ca9ba;
    font: 8px/1.4 var(--ws-mono);
}

.ws-inspector__actions a:hover,
.ws-inspector__actions a:focus-visible {
    border-color: rgba(114, 200, 255, .42);
    color: var(--ws-cyan);
    outline: none;
}

.ws-inspector__copy-fallback {
    position: fixed;
    left: -10000px;
    top: 0;
}

.is-ok { color: var(--ws-mint) !important; }
.is-warn { color: var(--ws-amber) !important; }
.is-deny { color: var(--ws-rose) !important; }

.ws-main {
    min-height: 100vh;
    margin-left: calc(var(--ws-rail) + var(--ws-tree));
    margin-right: var(--ws-inspector);
    padding-top: 40px;
    padding-bottom: 23px;
}

.ws-tabs {
    position: sticky;
    z-index: 50;
    top: 40px;
    height: 35px;
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    border-bottom: 1px solid var(--ws-line);
    background: #0a0e12;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.ws-tabs::-webkit-scrollbar {
    height: 4px;
}

.ws-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.ws-tabs::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: transparent;
}

.ws-tabs.is-scrolling,
.ws-tabs:hover,
.ws-tabs:focus-within {
    scrollbar-color: rgba(117, 226, 189, .48) transparent;
}

.ws-tabs.is-scrolling::-webkit-scrollbar-thumb,
.ws-tabs:hover::-webkit-scrollbar-thumb,
.ws-tabs:focus-within::-webkit-scrollbar-thumb {
    background: rgba(117, 226, 189, .44);
    box-shadow: 0 0 8px rgba(117, 226, 189, .10);
}

.ws-tabs.is-scrolling::-webkit-scrollbar-thumb:hover,
.ws-tabs:hover::-webkit-scrollbar-thumb:hover {
    background: rgba(117, 226, 189, .68);
}

.ws-tabs a {
    min-width: max-content;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    border-right: 1px solid #222a32;
    color: #737e88;
    font: 9px var(--ws-mono);
}

.ws-tabs a:hover,
.ws-tabs a:focus-visible,
.ws-tabs a.is-active {
    background: #11171d;
    color: #dfe4e1;
}

.ws-tabs a.is-active {
    box-shadow: inset 0 1px 0 var(--ws-mint);
}

.ws-content {
    min-width: 0;
}

.ws-page-dock {
    position: fixed;
    z-index: 120;
    right: calc(var(--ws-inspector) + 22px);
    bottom: 38px;
    width: 3.6rem;
    display: grid;
    grid-template-rows: 1.4rem 2.55rem 1.4rem;
    place-items: center;
    gap: .12rem;
    padding: .3rem;
    color: var(--ws-mint);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px) scale(.96);
    transition:
        opacity .28s ease,
        transform .32s cubic-bezier(.2, .75, .2, 1),
        visibility 0s linear .32s;
}

.ws-page-dock.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
}

.ws-page-dock__step {
    width: 1.4rem;
    height: 1.4rem;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #8b969f;
    cursor: pointer;
}

.ws-page-dock__step svg {
    width: .9rem;
    height: .9rem;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .15s ease;
}

.ws-page-dock__step:hover,
.ws-page-dock__step:focus-visible {
    color: var(--ws-mint);
    outline: none;
}

.ws-page-dock__step:focus-visible {
    filter: drop-shadow(0 0 5px rgba(117, 226, 189, .5));
}

.ws-page-dock__step--previous:hover svg,
.ws-page-dock__step--previous:focus-visible svg {
    transform: translateY(-2px) scale(1.14);
}

.ws-page-dock__step--next:hover svg,
.ws-page-dock__step--next:focus-visible svg {
    transform: translateY(2px) scale(1.14);
}

.ws-page-dock__core {
    position: relative;
    width: 2.55rem;
    height: 2.55rem;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #3c4a54;
    border-radius: 50%;
    background: rgba(12, 17, 22, .94);
    color: var(--ws-mint);
    box-shadow: 0 14px 38px rgba(0, 0, 0, .42);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.ws-page-dock__core:hover,
.ws-page-dock__core:focus-visible {
    border-color: var(--ws-mint);
    outline: none;
    box-shadow:
        0 0 0 1px rgba(117, 226, 189, .12),
        0 14px 38px rgba(0, 0, 0, .42),
        0 0 18px rgba(117, 226, 189, .1);
}

.ws-page-dock__core > svg {
    width: 1.7rem;
    height: 1.7rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
}

.ws-page-dock__core .ws-page-dock__core-dot {
    fill: currentColor;
    stroke: none;
}

.ws-page-dock__core small {
    position: absolute;
    right: calc(100% + 9px);
    padding: 5px 7px;
    border: 1px solid #33404a;
    border-radius: 4px;
    background: #10161b;
    color: #7d8992;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    font: 7px var(--ws-mono);
    transition: opacity .15s ease;
}

.ws-page-dock__core:hover small,
.ws-page-dock__core:focus-visible small {
    opacity: 1;
}

.ws-hero {
    min-height: 690px;
    display: grid;
    grid-template-columns: minmax(360px, .82fr) minmax(540px, 1.18fr);
    border-bottom: 1px solid var(--ws-line);
}

.ws-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 58px 44px 42px;
    background: linear-gradient(160deg, #0e1318, #0a0e12);
}

.ws-breadcrumb,
.ws-eyebrow {
    font-family: var(--ws-mono);
    font-size: 9px;
}

.ws-breadcrumb {
    margin: 0 0 23px;
    color: #59656f;
}

.ws-breadcrumb strong {
    color: var(--ws-cyan);
    font-weight: 500;
}

.ws-eyebrow {
    margin: 0 0 17px;
    color: var(--ws-mint);
    text-transform: uppercase;
    letter-spacing: .12em;
}

.ws-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(46px, 5.4vw, 78px);
    font-weight: 650;
    line-height: .95;
    letter-spacing: -.055em;
}

.ws-hero h1 em,
.ws-section h2 em {
    color: var(--ws-amber);
    font-style: normal;
    font-weight: 450;
}

.ws-lede {
    max-width: 680px;
    margin: 25px 0 28px;
    color: #a1abb3;
    font-size: 15px;
    line-height: 1.7;
}

.ws-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ws-button {
    padding: 9px 12px;
    border: 1px solid #35414b;
    border-radius: 6px;
    background: #141a20;
    color: #b8c1c7;
    font: 9px var(--ws-mono);
}

.ws-button:hover,
.ws-button:focus-visible {
    border-color: #596a78;
    color: #fff;
}

.ws-button--primary {
    border-color: #dce2dd;
    background: #dce2dd;
    color: #101418;
    font-weight: 700;
}

.ws-button--primary:hover,
.ws-button--primary:focus-visible {
    border-color: var(--ws-mint);
    background: var(--ws-mint);
    color: #07110d;
    outline: none;
    box-shadow:
        0 0 0 2px rgba(117, 226, 189, .10),
        0 0 18px rgba(117, 226, 189, .12);
}

.ws-hero__meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 36px 0 0;
    padding-top: 18px;
    border-top: 1px solid #252e36;
}

.ws-hero__meta div {
    min-width: 0;
}

.ws-hero__meta dt {
    margin-bottom: 6px;
    color: #66717b;
    text-transform: uppercase;
    font: 8px var(--ws-mono);
}

.ws-hero__meta dd {
    margin: 0;
    color: #d0d6d2;
    font: 10px var(--ws-mono);
}

.ws-runtime {
    padding: 18px;
    background:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
        #0a0e12;
    background-size: 28px 28px;
}

.ws-runtime > header,
.ws-runtime section > h2 {
    color: #75818b;
    font: 8px var(--ws-mono);
    text-transform: uppercase;
    letter-spacing: .09em;
}

.ws-runtime > header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 9px 10px;
    border: 1px solid #2d3740;
    background: #121820;
}

.ws-runtime > header strong {
    color: #c4cbc7;
    font-weight: 500;
}

.ws-runtime__mission,
.ws-runtime__grid > section,
.ws-trace {
    border: 1px solid #2b3540;
    background: rgba(15, 20, 25, .95);
}

.ws-runtime__mission {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 8px;
    padding: 12px;
    color: #bac2c7;
    font: 10px/1.55 var(--ws-mono);
}

.ws-runtime__mission p {
    margin: 0;
}

.ws-runtime__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

.ws-runtime__grid > section {
    min-height: 270px;
    padding: 12px;
}

.ws-runtime section > h2 {
    margin: 0 0 12px;
}

.ws-runtime__grid button {
    width: 100%;
    display: grid;
    grid-template-columns: 22px 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 9px 6px;
    border: 0;
    border-bottom: 1px solid #232b33;
    background: transparent;
    color: #c7ceca;
    cursor: pointer;
    text-align: left;
    font: 9px var(--ws-mono);
}

.ws-runtime__grid button:hover,
.ws-runtime__grid button:focus-visible {
    background: #151c22;
    outline: none;
}

.ws-runtime__grid button b {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border: 1px solid #394550;
    border-radius: 4px;
    color: var(--ws-violet);
    font-weight: 500;
}

.ws-runtime__grid button small {
    color: #59656f;
}

.ws-runtime ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: plan;
    font: 9px var(--ws-mono);
}

.ws-runtime li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 7px;
    padding: 6px 0;
    color: #697580;
    counter-increment: plan;
}

.ws-runtime li::before {
    content: "○";
    color: #59656f;
}

.ws-runtime li.is-done {
    color: #aab3b8;
}

.ws-runtime li.is-done::before {
    content: "✓";
    color: var(--ws-mint);
}

.ws-runtime li.is-active {
    color: #e5e9e6;
}

.ws-runtime li.is-active::before {
    content: "→";
    color: var(--ws-amber);
}

.ws-trace {
    min-height: 125px;
    margin-top: 8px;
    padding: 10px 12px;
    font: 9px/1.55 var(--ws-mono);
}

.ws-trace p {
    display: flex;
    gap: 10px;
    margin: 2px 0;
    color: #7c8791;
}

.ws-trace time {
    min-width: 55px;
    color: #4f5b65;
}

.ws-trace b {
    color: #c3cac6;
    font-weight: 500;
}

.ws-trace em {
    color: var(--ws-mint);
    font-style: normal;
}

.ws-section {
    padding: 72px 42px;
    border-bottom: 1px solid var(--ws-line);
    background: #0b0f13;
}

.ws-section:nth-of-type(even) {
    background: #0c1015;
}

.ws-section__header {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 420px);
    gap: 40px;
    margin-bottom: 28px;
}

.ws-section__header > div > p {
    margin: 0 0 10px;
    color: var(--ws-violet);
    font: 8px var(--ws-mono);
}

.ws-section h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 55px);
    line-height: 1;
    letter-spacing: -.045em;
}

.ws-section__header > p {
    align-self: end;
    margin: 0;
    color: #8d98a1;
    font-size: 12px;
    line-height: 1.65;
}

.ws-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.ws-card {
    position: relative;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    padding: 18px;
    border: 1px solid #2b3540;
    background: #11171d;
}

.ws-card:hover,
.ws-card:focus-visible,
.ws-context-card:hover,
.ws-context-card:focus-visible,
.ws-artifact-list a:hover,
.ws-artifact-list a:focus-visible {
    border-color: #51606d;
    background: #151c23;
    outline: none;
}

.ws-card > span {
    color: #5d6873;
    font: 8px var(--ws-mono);
}

.ws-card > strong {
    margin-top: 30px;
    font-size: 21px;
}

.ws-card > p {
    margin: 9px 0 18px;
    color: #8d98a2;
    font-size: 11px;
    line-height: 1.6;
}

.ws-card ul {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: auto 0 16px;
    padding: 0;
    list-style: none;
}

.ws-card li {
    padding: 3px 6px;
    border: 1px solid #303b45;
    border-radius: 999px;
    color: #7f8a94;
    font: 7px var(--ws-mono);
}

.ws-card > b {
    color: var(--ws-cyan);
    font: 8px var(--ws-mono);
}

/* =========================================================
ZOMNIVERSE LIVE FLAGSHIP
Restored from the legacy flagship as a native v2 system surface.
========================================================= */

.ws-flagship {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--ws-line);
    background:
        radial-gradient(circle at 72% 34%, rgba(114, 200, 255, .09), transparent 30%),
        radial-gradient(circle at 20% 48%, rgba(117, 226, 189, .07), transparent 34%),
        linear-gradient(180deg, #09111b, #08101a 58%, #090d12);
}

.ws-flagship::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(114, 200, 255, .024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(114, 200, 255, .024) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.ws-flagship__bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 42px;
    border-bottom: 1px solid #263646;
    background: rgba(8, 15, 24, .88);
    font: 8px var(--ws-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ws-flagship__bar > div:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ws-flagship__bar span {
    color: var(--ws-violet);
}

.ws-flagship__bar strong {
    color: #9eaeb9;
    font-weight: 500;
}

.ws-flagship__status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ws-flagship__status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ws-mint);
    box-shadow: 0 0 12px rgba(117, 226, 189, .72);
    animation: wsFlagshipPulse 1.8s ease-in-out infinite;
}

.ws-flagship__status span {
    color: var(--ws-mint);
}

.ws-flagship__status small {
    color: #586877;
    font: inherit;
}

.ws-flagship__stage {
    position: relative;
    z-index: 1;
    min-height: min(880px, calc(100vh - 92px));
    display: grid;
    grid-template-columns: minmax(350px, .72fr) minmax(560px, 1.28fr);
    gap: clamp(36px, 4vw, 72px);
    align-items: center;
    padding: clamp(62px, 7vw, 110px) 42px;
}

.ws-flagship__copy {
    min-width: 0;
}

.ws-flagship__eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    color: #7e93a4;
    font: 8px var(--ws-mono);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ws-flagship__eyebrow > span {
    width: 26px;
    height: 1px;
    background: var(--ws-mint);
    box-shadow: 0 0 8px rgba(117, 226, 189, .22);
}

.ws-flagship__brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ws-flagship__brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.ws-flagship__brand h2 {
    margin: 0;
    color: #edf3f1;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 5vw, 68px);
    line-height: .9;
    letter-spacing: -.05em;
}

.ws-flagship__lede {
    max-width: 590px;
    margin: 22px 0 0;
    color: #9fb1bf;
    font-size: 13px;
    line-height: 1.72;
}

.ws-flagship__stack {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 25px;
}

.ws-flagship__stack span {
    padding: 5px 9px;
    border: 1px solid rgba(117, 226, 189, .18);
    border-radius: 999px;
    background: rgba(117, 226, 189, .045);
    color: var(--ws-mint);
    font: 8px var(--ws-mono);
}

.ws-flagship__capabilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 24px 0 0;
    border-top: 1px solid #263849;
    border-left: 1px solid #263849;
}

.ws-flagship__capabilities div {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 7px;
    align-items: center;
    min-height: 42px;
    padding: 8px 10px;
    border-right: 1px solid #263849;
    border-bottom: 1px solid #263849;
    background: rgba(10, 18, 28, .55);
}

.ws-flagship__capabilities dt {
    color: var(--ws-mint);
    font: 7px var(--ws-mono);
}

.ws-flagship__capabilities dd {
    margin: 0;
    color: #a9bac6;
    font: 8px/1.4 var(--ws-mono);
}

.ws-flagship__products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 24px;
}

.ws-flagship-product {
    position: relative;
    min-width: 0;
    min-height: 84px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    padding: 11px;
    border: 1px solid #304559;
    border-radius: 7px;
    background:
        linear-gradient(145deg, rgba(114, 200, 255, .035), transparent 62%),
        rgba(9, 17, 27, .88);
    transition:
        transform .16s ease,
        border-color .16s ease,
        background-color .16s ease;
}

.ws-flagship-product:hover,
.ws-flagship-product:focus-visible {
    transform: translateY(-2px);
    border-color: #4e748c;
    background: #0d1925;
    outline: none;
}

.ws-flagship-product__mark,
.ws-flagship-product__image {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    object-fit: contain;
}

.ws-flagship-product__mark .genebean-logo {
    width: 100%;
    height: 100%;
}

.ws-flagship-product > span:nth-child(2) {
    min-width: 0;
}

.ws-flagship-product strong,
.ws-flagship-product small {
    display: block;
}

.ws-flagship-product strong {
    color: #eef3f1;
    font: 700 9px var(--ws-mono);
}

.ws-flagship-product small {
    margin-top: 4px;
    color: #677b8a;
    font: 7px/1.4 var(--ws-mono);
}

.ws-flagship-product > b {
    color: #607585;
    font: 10px var(--ws-mono);
}

.ws-flagship-product--genebean strong {
    color: #72c8ff;
}

.ws-flagship-product--marss strong {
    color: var(--ws-mint);
}

.ws-flagship-product--zar strong {
    color: #b5a4ff;
}

.ws-flagship-product__detail {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 9px);
    z-index: 8;
    padding: 10px 11px;
    border: 1px solid #425569;
    border-radius: 6px;
    background: rgba(8, 15, 23, .98);
    color: #aab9c4;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .4);
    font: 8px/1.55 var(--ws-mono);
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition:
        opacity .16s ease,
        transform .16s ease,
        visibility .16s ease;
    pointer-events: none;
}

.ws-flagship-product:hover .ws-flagship-product__detail,
.ws-flagship-product:focus-visible .ws-flagship-product__detail {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ws-flagship__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 23px;
}

.ws-button--flagship {
    border-color: var(--ws-mint);
    background: var(--ws-mint);
    color: #07110d;
    font-weight: 700;
}

.ws-button--flagship:hover,
.ws-button--flagship:focus-visible {
    border-color: #b0f7dd;
    background: #b0f7dd;
    color: #07110d;
    box-shadow: 0 0 22px rgba(117, 226, 189, .14);
}

.ws-flagship-demo {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid #37516a;
    border-radius: 9px;
    background: #07101a;
    box-shadow:
        0 38px 90px rgba(0, 0, 0, .42),
        0 0 0 1px rgba(114, 200, 255, .025);
}

.ws-flagship-demo::after {
    content: "";
    position: absolute;
    inset: 30px 0 28px;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(114, 200, 255, .05), transparent 12%, transparent 88%, rgba(117, 226, 189, .03)),
        repeating-linear-gradient(
            180deg,
            rgba(255,255,255,.018) 0,
            rgba(255,255,255,.018) 1px,
            transparent 1px,
            transparent 4px
        );
    mix-blend-mode: screen;
    opacity: .5;
}

.ws-flagship-demo__chrome {
    height: 31px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border-bottom: 1px solid #2b4054;
    background: #152235;
}

.ws-flagship-demo__chrome > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #65778a;
}

.ws-flagship-demo__chrome > span:first-child {
    background: #ef899e;
}

.ws-flagship-demo__chrome > span:nth-child(2) {
    background: #e4bd67;
}

.ws-flagship-demo__chrome > span:nth-child(3) {
    background: var(--ws-mint);
}

.ws-flagship-demo__chrome small {
    margin-left: auto;
    color: #64788b;
    font: 7px var(--ws-mono);
}

.ws-flagship-demo__screen {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0b1520;
}

.ws-flagship-demo video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ws-flagship-demo__hud {
    position: absolute;
    inset: 12px 12px auto auto;
    z-index: 3;
    display: grid;
    gap: 4px;
    justify-items: end;
    padding: 7px 8px;
    border: 1px solid rgba(117, 226, 189, .18);
    border-radius: 5px;
    background: rgba(6, 13, 20, .74);
    backdrop-filter: blur(8px);
}

.ws-flagship-demo__hud span {
    color: var(--ws-mint);
    font: 7px var(--ws-mono);
    letter-spacing: .08em;
}

.ws-flagship-demo__hud b {
    color: #97a9b6;
    font: 7px var(--ws-mono);
    font-weight: 500;
}

.ws-flagship-demo figcaption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 29px;
    padding: 0 12px;
    color: #718394;
    font: 7px var(--ws-mono);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.ws-flagship-demo figcaption i {
    color: var(--ws-mint);
    font-style: normal;
}

@keyframes wsFlagshipPulse {
    0%, 100% {
        opacity: .55;
        transform: scale(.9);
    }
    50% {
        opacity: 1;
        transform: scale(1.12);
    }
}

.ws-context-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.ws-context-card {
    min-height: 190px;
    padding: 18px;
    border: 1px solid #2b3540;
    background: #10161b;
}

.ws-context-card > span {
    color: #5e6a74;
    font: 8px var(--ws-mono);
}

.ws-context-card > strong {
    display: block;
    margin: 34px 0 8px;
    font-size: 20px;
}

.ws-context-card p {
    margin: 0;
    color: #8b969f;
    font-size: 11px;
    line-height: 1.6;
}

.ws-artifact-list {
    border: 1px solid #2b3540;
    background: #10151a;
}

.ws-artifact-list a {
    display: grid;
    grid-template-columns: 170px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 14px;
    border-bottom: 1px solid #26303a;
}

.ws-artifact-list a:last-child {
    border-bottom: 0;
}

.ws-artifact-list strong {
    font: 10px var(--ws-mono);
}

.ws-artifact-list span {
    color: #7f8a94;
    font-size: 10px;
}

.ws-artifact-list b {
    color: var(--ws-cyan);
    font: 8px var(--ws-mono);
}

/* =========================================================
ZAC PRIVATE DEVELOPER-AI R&D
========================================================= */

.ws-zac {
    position: relative;
    isolation: isolate;
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr);
    gap: clamp(48px, 7vw, 110px);
    align-items: center;
    overflow: hidden;
    padding: clamp(72px, 8vw, 118px) 42px;
    border-bottom: 1px solid #29424b;
    background:
        radial-gradient(circle at 12% 42%, rgba(117,226,189,.09), transparent 33%),
        radial-gradient(circle at 82% 18%, rgba(114,200,255,.08), transparent 28%),
        linear-gradient(135deg, #0b1e23, #102438 68%, #0f2030);
}

.ws-zac::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(rgba(117,226,189,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(117,226,189,.018) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.6) 55%, transparent);
}

.ws-zac__watermark {
    position: absolute;
    z-index: -1;
    right: -2vw;
    bottom: -4.5vw;
    color: rgba(221, 239, 234, .035);
    font-family: var(--ws-sans);
    font-size: clamp(92px, 15vw, 240px);
    font-weight: 900;
    letter-spacing: -.07em;
    line-height: .75;
    white-space: nowrap;
    user-select: none;
}

.ws-zac__identity,
.ws-zac__summary {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.ws-zac__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: #b2c6d0;
    font: 700 9px var(--ws-mono);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ws-zac__eyebrow > span {
    width: 30px;
    height: 1px;
    background: var(--ws-mint);
    box-shadow: 0 0 10px rgba(117,226,189,.28);
}

.ws-zac__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 18px;
}

.ws-zac__title-row h2 {
    margin: 0;
    color: #f1f5f3;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(88px, 10vw, 152px);
    font-weight: 700;
    line-height: .78;
    letter-spacing: -.075em;
}

.ws-zac__status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    padding: 7px 11px;
    border: 1px solid rgba(117,226,189,.34);
    border-radius: 999px;
    background: rgba(117,226,189,.055);
    color: var(--ws-mint);
    font: 700 8px var(--ws-mono);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ws-zac__status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ws-mint);
    box-shadow: 0 0 9px rgba(117,226,189,.6);
    animation: wsZacPulse 1.9s ease-in-out infinite;
}

.ws-zac__name {
    margin: 26px 0 0;
    color: #c7d4db;
    font: 700 12px var(--ws-mono);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ws-zac__authority {
    max-width: 460px;
    margin: 34px 0 0;
    border-top: 1px solid rgba(151, 180, 195, .22);
}

.ws-zac__authority div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(151, 180, 195, .14);
}

.ws-zac__authority dt {
    color: #637b87;
    font: 8px var(--ws-mono);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.ws-zac__authority dd {
    margin: 0;
    color: #b9c8cf;
    font: 9px var(--ws-mono);
}

.ws-zac__lead {
    max-width: 760px;
    margin: 0;
    color: #edf3f1;
    font-size: clamp(28px, 3.35vw, 49px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.035em;
}

.ws-zac__body {
    max-width: 730px;
    margin: 22px 0 0;
    color: #a7bbc6;
    font-size: 15px;
    line-height: 1.7;
}

.ws-zac__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.ws-zac__tags li {
    padding: 7px 11px;
    border: 1px solid rgba(151,180,195,.24);
    border-radius: 999px;
    background: rgba(7,17,24,.18);
    color: #b8c8d0;
    font: 8px var(--ws-mono);
}

.ws-zac__principle {
    max-width: 780px;
    margin: 30px 0 0;
    padding: 14px 0 14px 20px;
    border-left: 3px solid var(--ws-mint);
}

.ws-zac__principle span {
    display: block;
    margin-bottom: 7px;
    color: var(--ws-mint);
    font: 700 7px var(--ws-mono);
    letter-spacing: .1em;
}

.ws-zac__principle p {
    margin: 0;
    color: #f0f4f2;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.ws-zac__trace {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 30px;
    border-top: 1px solid rgba(151,180,195,.20);
    border-left: 1px solid rgba(151,180,195,.20);
}

.ws-zac__trace div {
    min-height: 96px;
    display: grid;
    align-content: start;
    gap: 5px;
    padding: 12px;
    border-right: 1px solid rgba(151,180,195,.20);
    border-bottom: 1px solid rgba(151,180,195,.20);
    background: rgba(6, 15, 21, .16);
}

.ws-zac__trace span {
    color: var(--ws-mint);
    font: 7px var(--ws-mono);
}

.ws-zac__trace b {
    color: #e1e9e5;
    font: 700 9px var(--ws-mono);
    text-transform: uppercase;
}

.ws-zac__trace small {
    color: #76909c;
    font: 7px/1.45 var(--ws-mono);
}

.ws-zac__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.ws-button--zac {
    border-color: var(--ws-mint);
    background: var(--ws-mint);
    color: #07110d;
    font-weight: 700;
}

.ws-button--zac:hover,
.ws-button--zac:focus-visible {
    border-color: #b0f7dd;
    background: #b0f7dd;
    color: #07110d;
    box-shadow: 0 0 22px rgba(117,226,189,.13);
}

@keyframes wsZacPulse {
    0%, 100% {
        opacity: .55;
        transform: scale(.9);
    }
    50% {
        opacity: 1;
        transform: scale(1.12);
    }
}

.ws-permission-card {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 0;
    border: 1px solid #303a44;
    background: #10151b;
}

.ws-permission-card > div,
.ws-permission-card > dl {
    padding: 22px;
}

.ws-permission-card > div {
    border-right: 1px solid #29323b;
    background:
        radial-gradient(circle at 0 0, rgba(117, 226, 189, .08), transparent 45%),
        #111712;
}

.ws-permission-card span {
    color: var(--ws-mint);
    font: 8px var(--ws-mono);
}

.ws-permission-card h3 {
    margin: 50px 0 0;
    font: 20px var(--ws-mono);
}

.ws-permission-card dl {
    margin: 0;
}

.ws-permission-card dl div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
    padding: 9px 0;
    border-bottom: 1px solid #252e37;
    color: #7d8892;
    font: 9px var(--ws-mono);
}

.ws-permission-card dd {
    margin: 0;
    color: #c4cbc8;
}

.ws-permission-card > a {
    grid-column: 1 / -1;
    padding: 11px 22px;
    border-top: 1px solid #29323b;
    color: var(--ws-cyan);
    font: 9px var(--ws-mono);
}

.ws-footer {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 34px;
    padding: 46px 42px 58px;
    border-top: 1px solid var(--ws-line);
    background: #090d11;
    color: #7f8a94;
    font: 9px/1.7 var(--ws-mono);
}

.ws-footer__intro strong {
    display: block;
    color: #e2e7e4;
    font-size: 14px;
}

.ws-footer__intro span {
    color: #596570;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.ws-footer__intro p {
    max-width: 330px;
    margin-top: 18px;
}

.ws-footer nav {
    display: grid;
    align-content: start;
    gap: 6px;
}

.ws-footer nav h2 {
    margin: 0 0 8px;
    color: #d6dcda;
    text-transform: uppercase;
    letter-spacing: .12em;
    font: 8px var(--ws-mono);
}

.ws-footer a:hover,
.ws-footer a:focus-visible {
    color: #fff;
}

.ws-footer__bottom {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto auto minmax(260px, 1fr);
    align-items: center;
    gap: 20px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #252d35;
    color: #5e6973;
}

.ws-footer__provenance {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-left: 18px;
    border-left: 1px solid #252d35;
    color: #596570;
}

.ws-footer__provenance > span {
    flex: 0 0 auto;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 8px;
}

.ws-footer__provenance a {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 7px;
    border: 1px solid transparent;
    border-radius: 5px;
    color: #81908d;
    text-decoration: none;
    transition:
        color 160ms ease,
        border-color 160ms ease,
        background-color 160ms ease;
}

.ws-footer__provenance a > span:last-child {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.ws-footer__provenance strong,
.ws-footer__provenance small {
    overflow-wrap: anywhere;
}

.ws-footer__provenance strong {
    color: inherit;
    font: 9px/1.35 var(--ws-mono);
}

.ws-footer__provenance small {
    color: #596570;
    font: 8px/1.35 var(--ws-mono);
}

.ws-footer__guardian {
    flex: 0 0 auto;
    color: var(--ws-violet);
    font-size: 13px;
}

.ws-footer__provenance a:hover,
.ws-footer__provenance a:focus-visible {
    border-color: rgba(117, 226, 189, .35);
    background: rgba(139, 120, 255, .07);
    color: var(--ws-mint);
    outline: none;
}

.ws-footer__provenance a:hover small,
.ws-footer__provenance a:focus-visible small {
    color: #9d91d6;
}

.ws-statusbar {
    position: fixed;
    z-index: 100;
    left: 0;
    right: 0;
    bottom: 0;
    height: 23px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 9px 0 58px;
    border-top: 1px solid #2a333c;
    background: #14191e;
    color: #7c8791;
    font: 9px var(--ws-mono);
}

.ws-statusbar__right {
    margin-left: auto;
}

.ws-command[hidden] {
    display: none;
}

.ws-command {
    position: fixed;
    z-index: 200;
    inset: 0;
}

.ws-command__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 4, 7, .76);
    backdrop-filter: blur(8px);
}

.ws-command__dialog {
    position: relative;
    width: min(760px, calc(100vw - 32px));
    max-height: min(680px, calc(100vh - 60px));
    margin: 50px auto 0;
    overflow: hidden;
    border: 1px solid #45535f;
    border-radius: 10px;
    background: #0e1318;
    box-shadow: 0 28px 100px rgba(0,0,0,.62);
}

.ws-command__dialog > header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 16px;
    border-bottom: 1px solid #26313a;
}

.ws-command__dialog header span,
.ws-command__hint {
    color: #63707a;
    font: 8px var(--ws-mono);
    letter-spacing: .08em;
}

.ws-command__dialog h2 {
    margin: 4px 0 0;
    font-size: 17px;
}

.ws-command__dialog header button {
    align-self: center;
    padding: 5px 8px;
    border: 1px solid #35424d;
    border-radius: 5px;
    background: #151b21;
    color: #7f8b95;
    cursor: pointer;
    font: 9px var(--ws-mono);
}

.ws-command__input {
    display: block;
    padding: 12px 14px 8px;
}

.ws-command__input input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #35424d;
    border-radius: 7px;
    outline: 0;
    background: #080c10;
    color: var(--ws-text);
    font: 12px var(--ws-mono);
}

.ws-command__input input:focus {
    border-color: var(--ws-cyan);
    box-shadow: 0 0 0 2px rgba(114, 200, 255, .08);
}

.ws-command__hint,
.ws-command__empty {
    margin: 0;
    padding: 0 16px 10px;
}

.ws-command__results {
    max-height: 470px;
    overflow: auto;
    padding: 5px 8px 10px;
}

.ws-command__result {
    display: grid;
    grid-template-columns: 110px 170px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #8b969f;
    font: 9px var(--ws-mono);
}

.ws-command__result:hover,
.ws-command__result.is-active {
    border-color: #33404a;
    background: #151c22;
    color: #dce2df;
}

.ws-command__result > span {
    color: var(--ws-violet);
    text-transform: uppercase;
}

.ws-command__result > strong {
    color: #d6dcda;
    font-weight: 500;
}

.ws-command__result > small {
    overflow: hidden;
    color: #66717b;
    text-overflow: ellipsis;
    white-space: nowrap;
    font: 8px var(--ws-mono);
}

@media (max-width: 1280px) {
    .ws-zac {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .ws-flagship__stage {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .ws-flagship-demo {
        width: 100%;
        max-width: 1100px;
    }
    :root {
        --ws-inspector: 0px;
    }

    .ws-inspector {
        display: none;
    }

    .ws-main {
        margin-right: 0;
    }

    .ws-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {
    .ws-zac {
        padding-left: 28px;
        padding-right: 28px;
    }

    .ws-zac__trace {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ws-flagship__bar {
        padding-left: 28px;
        padding-right: 28px;
    }

    .ws-flagship__stage {
        padding: 62px 28px;
    }

    .ws-flagship__products {
        grid-template-columns: 1fr;
    }
    :root {
        --ws-tree: 0px;
    }

    .ws-explorer {
        display: none;
    }

    .ws-main {
        margin-left: var(--ws-rail);
    }

    .ws-topbar {
        grid-template-columns: 1fr minmax(240px, 1fr);
    }

    .ws-topbar__state {
        display: none;
    }

    .ws-card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ws-section__header,
    .ws-permission-card {
        grid-template-columns: 1fr;
    }

    .ws-permission-card > div {
        border-right: 0;
        border-bottom: 1px solid #29323b;
    }

    .ws-footer {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {
    .ws-zac {
        padding: 56px 22px;
    }

    .ws-zac__title-row h2 {
        font-size: 86px;
    }

    .ws-zac__trace {
        grid-template-columns: 1fr;
    }

    .ws-zac__authority div {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    .ws-flagship__bar {
        align-items: flex-start;
        flex-direction: column;
        padding: 10px 22px;
    }

    .ws-flagship__stage {
        padding: 48px 22px;
    }

    .ws-flagship__brand h2 {
        font-size: 46px;
    }

    .ws-flagship__capabilities {
        grid-template-columns: 1fr;
    }

    .ws-flagship-demo figcaption {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 5px;
        padding: 8px 10px;
    }
    :root {
        --ws-rail: 0px;
    }

    .ws-rail,
    .ws-rail-menu {
        display: none !important;
    }

    .ws-main {
        margin-left: 0;
    }

    .ws-page-dock {
        right: 14px;
        bottom: 34px;
    }

    .ws-topbar {
        grid-template-columns: 1fr;
    }

    .ws-brand {
        display: none;
    }

    .ws-command-trigger {
        width: 100%;
    }

    .ws-hero__copy,
    .ws-section {
        padding: 42px 22px;
    }

    .ws-runtime {
        padding: 10px;
    }

    .ws-runtime__grid,
    .ws-card-grid,
    .ws-context-grid,
    .ws-footer {
        grid-template-columns: 1fr;
    }

    .ws-hero h1 {
        font-size: 44px;
    }

    .ws-hero__meta {
        grid-template-columns: 1fr;
    }

    .ws-artifact-list a {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .ws-footer {
        padding: 36px 22px 55px;
    }

    .ws-footer__bottom {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ws-footer__provenance {
        align-items: flex-start;
        justify-content: flex-start;
        flex-wrap: wrap;
        margin-top: 2px;
        padding: 14px 0 0;
        border-top: 1px solid #252d35;
        border-left: 0;
    }

    .ws-statusbar {
        padding-left: 8px;
    }

    .ws-statusbar span:nth-child(n+3) {
        display: none;
    }

    .ws-command__result {
        grid-template-columns: 85px 1fr;
    }

    .ws-command__result small {
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ws-page-dock,
    .ws-page-dock__step svg {
        transition: none;
    }

    .ws-zac__status i {
        animation: none;
    }
    .ws-flagship__status i {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* =========================================================
PROTECTED HOME CTA CONTRAST CONTRACT
These two high-value CTAs intentionally stay dark in every state.
Do not fold them back into generic primary-button fill rules.
========================================================= */

.ws-button.ws-button--system-graph,
.ws-button.ws-button--zomniverse-launch,
.ws-button.ws-button--zac-overview {
    border-color: #5f9483 !important;
    background: rgba(8, 18, 20, .82) !important;
    color: #e4f4ee !important;
    font-weight: 700;
    text-shadow: none !important;
    box-shadow: none;
}

.ws-button.ws-button--system-graph:hover,
.ws-button.ws-button--system-graph:focus-visible,
.ws-button.ws-button--zomniverse-launch:hover,
.ws-button.ws-button--zomniverse-launch:focus-visible,
.ws-button.ws-button--zac-overview:hover,
.ws-button.ws-button--zac-overview:focus-visible {
    border-color: var(--ws-mint) !important;
    background: rgba(117, 226, 189, .09) !important;
    color: #ffffff !important;
    outline: none;
    box-shadow:
        0 0 0 2px rgba(117, 226, 189, .08),
        0 0 18px rgba(117, 226, 189, .10);
}

.ws-button.ws-button--system-graph:active,
.ws-button.ws-button--zomniverse-launch:active,
.ws-button.ws-button--zac-overview:active {
    background: rgba(117, 226, 189, .14) !important;
    color: #ffffff !important;
}

/* =========================================================
MOBILE NAVIGATION CONTRACT
Desktop inspector remains unchanged. On phones its visual language
becomes a right-side site navigator. Universal scrollbar treatments
remain in base scope so responsive boundaries cannot expose native UI.
========================================================= */

.ws-mobile-nav-trigger,
.ws-mobile-nav__header,
.ws-inspector__mobile-nav,
.ws-mobile-nav-backdrop {
    display: none;
}

@media (max-width: 650px) {
    body.workspace-v2.ws-mobile-nav-open {
        overflow: hidden;
    }

    .ws-topbar {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

    .ws-command-trigger {
        min-width: 0;
        width: 100%;
        padding: 0 9px;
        justify-content: flex-start;
    }

    .ws-command-trigger > span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ws-command-trigger kbd {
        margin-left: auto;
        flex: 0 0 auto;
    }

    .ws-mobile-nav-trigger {
        width: 38px;
        height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid #34414b;
        border-radius: 6px;
        background: #11171d;
        color: #87939c;
        cursor: pointer;
    }

    .ws-mobile-nav-trigger__ship {
        width: 27px;
        height: 22px;
        display: block;
        overflow: visible;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.35;
        stroke-linecap: round;
        stroke-linejoin: round;
        vector-effect: non-scaling-stroke;
    }

    .ws-mobile-nav-trigger__ship-fill {
        fill: rgba(114, 200, 255, .08);
    }

    .ws-mobile-nav-trigger:hover,
    .ws-mobile-nav-trigger:focus-visible,
    .ws-mobile-nav-trigger[aria-expanded="true"] {
        border-color: #557064;
        background: #151d20;
        color: var(--ws-mint);
        outline: none;
        box-shadow: 0 0 14px rgba(117, 226, 189, .10);
    }

    .ws-tabs {
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
    }

    .ws-inspector {
        display: block !important;
        z-index: 122;
        top: 40px;
        right: 0;
        bottom: 23px;
        left: auto;
        width: min(88vw, 360px);
        max-width: 360px;
        overflow-y: auto;
        border-left: 1px solid #34414b;
        background:
            linear-gradient(180deg, rgba(15, 22, 28, .985), rgba(9, 14, 18, .995));
        box-shadow: -24px 0 60px rgba(0, 0, 0, .46);
        transform: translateX(calc(100% + 12px));
        transition: transform .22s ease;
        visibility: hidden;
        pointer-events: none;
        padding-bottom: 58px;
    }

    .ws-inspector.is-mobile-nav-open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .ws-rail__donate {
        display: none;
        position: fixed;
        z-index: 124;
        right: 12px;
        bottom: 35px;
        left: auto;
        margin: 0;
        background: #11171d;
        transform-origin: right center;
    }

    .ws-rail__donate[data-paypal-state="loading"],
    .ws-rail__donate[data-paypal-state="ready"],
    .ws-rail__donate[data-paypal-state="error"] {
        transform: none;
    }

    .ws-mobile-nav__donate-slot {
        display: block;
    }

    body.workspace-v2.ws-mobile-nav-open .ws-rail__donate {
        display: block;
    }

    .ws-mobile-nav__header {
        position: sticky;
        z-index: 2;
        top: 0;
        min-height: 54px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 10px 12px;
        border-bottom: 1px solid #26313a;
        background: rgba(12, 17, 22, .98);
        backdrop-filter: blur(12px);
    }

    .ws-mobile-nav__header div {
        min-width: 0;
    }

    .ws-mobile-nav__header span,
    .ws-mobile-nav__header strong {
        display: block;
    }

    .ws-mobile-nav__header span {
        color: var(--ws-violet);
        font: 7px var(--ws-mono);
        letter-spacing: .1em;
        text-transform: uppercase;
    }

    .ws-mobile-nav__header strong {
        margin-top: 3px;
        color: #e0e6e3;
        font: 600 11px var(--ws-mono);
    }

    .ws-mobile-nav__header button {
        width: 30px;
        height: 30px;
        display: grid;
        place-items: center;
        border: 1px solid #34414b;
        border-radius: 5px;
        background: #11171d;
        color: #82909a;
        cursor: pointer;
        font: 17px/1 var(--ws-mono);
    }

    .ws-mobile-nav__header button:hover,
    .ws-mobile-nav__header button:focus-visible {
        border-color: var(--ws-mint);
        color: #fff;
        outline: none;
    }

    .ws-inspector > .ws-panel-title,
    .ws-inspector > .ws-inspector__section:not(.ws-inspector__mobile-nav) {
        display: none;
    }

    .ws-inspector__mobile-nav {
        display: block;
        padding: 0;
        border-bottom: 0;
    }

    .ws-inspector__mobile-nav > h2 {
        margin: 0;
        padding: 11px 12px 9px;
        border-bottom: 1px solid #202a32;
        color: #687781;
        font: 700 7px var(--ws-mono);
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .ws-mobile-nav-tree {
        display: grid;
    }

    .ws-mobile-nav-group {
        border-bottom: 1px solid #202a32;
        background: rgba(10, 15, 20, .74);
    }

    .ws-mobile-nav-group summary {
        min-height: 49px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 6px 12px;
        padding: 8px 12px;
        cursor: pointer;
        list-style: none;
    }

    .ws-mobile-nav-group summary::-webkit-details-marker {
        display: none;
    }

    .ws-mobile-nav-group summary > span {
        grid-column: 1;
        color: #61717d;
        font: 7px var(--ws-mono);
        letter-spacing: .06em;
    }

    .ws-mobile-nav-group summary > strong {
        grid-column: 1;
        color: #b7c2c8;
        font: 600 10px var(--ws-mono);
    }

    .ws-mobile-nav-group summary > i {
        grid-column: 2;
        grid-row: 1 / span 2;
        color: #65737d;
        font: 13px var(--ws-mono);
        font-style: normal;
        transition: transform .15s ease, color .15s ease;
    }

    .ws-mobile-nav-group[open] summary {
        background:
            linear-gradient(90deg, rgba(117, 226, 189, .065), transparent 78%);
    }

    .ws-mobile-nav-group[open] summary > strong {
        color: #edf4f0;
    }

    .ws-mobile-nav-group[open] summary > i {
        color: var(--ws-mint);
        transform: rotate(180deg);
    }

    .ws-mobile-nav-group nav,
    .ws-mobile-nav-dynamic {
        display: grid;
    }

    .ws-mobile-nav-group nav {
        padding: 5px 7px 9px;
        border-top: 1px solid #202a32;
    }

    .ws-mobile-nav-group nav a {
        min-height: 36px;
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 7px 9px;
        border-radius: 5px;
        color: #7f8b94;
        font: 9px/1.35 var(--ws-mono);
    }

    .ws-mobile-nav-group nav a::before {
        content: "";
        width: 5px;
        height: 5px;
        flex: 0 0 5px;
        border-radius: 50%;
        background: #47545e;
    }

    .ws-mobile-nav-group nav a:hover,
    .ws-mobile-nav-group nav a:focus-visible,
    .ws-mobile-nav-group nav a.is-current,
    .ws-mobile-nav-group nav a[aria-current="location"] {
        background: rgba(117, 226, 189, .065);
        color: #e5f1ec;
        outline: none;
    }

    .ws-mobile-nav-group nav a:hover::before,
    .ws-mobile-nav-group nav a:focus-visible::before,
    .ws-mobile-nav-group nav a.is-current::before,
    .ws-mobile-nav-group nav a[aria-current="location"]::before {
        background: var(--ws-mint);
        box-shadow: 0 0 7px rgba(117, 226, 189, .42);
    }

    .ws-mobile-nav-dynamic {
        margin-top: 3px;
        padding-top: 3px;
        border-top: 1px solid #202a32;
    }

    .ws-mobile-nav-dynamic a[data-rail-depth="1"] {
        padding-left: 22px;
        color: #74828b;
    }

    .ws-mobile-nav-dynamic a[data-rail-depth="2"] {
        padding-left: 34px;
        color: #66747e;
        font-size: 8px;
    }

    .ws-mobile-nav-backdrop {
        position: fixed;
        z-index: 121;
        inset: 40px 0 23px;
        display: block;
        border: 0;
        background: rgba(2, 6, 9, .54);
        backdrop-filter: blur(2px);
        cursor: default;
    }

    .ws-mobile-nav-backdrop[hidden] {
        display: none;
    }
}

@media (max-width: 650px) and (prefers-reduced-motion: reduce) {
    .ws-inspector {
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ws-rail__donate,
    .ws-rail__donate-label {
        transition-duration: .01ms;
    }

    .ws-rail__donate:hover .ws-rail__donate-visual svg,
    .ws-rail__donate:focus-within .ws-rail__donate-visual svg,
    .ws-rail__donate[data-paypal-state="loading"] .ws-rail__donate-visual svg,
    .ws-rail__donate[data-paypal-state="loading"] .ws-rail__donate-binding i {
        animation: none;
    }
}

/* =========================================================
COMMAND PALETTE FULL-TEXT + SCROLL CONTRACT
Search results keep a quiet themed scrollbar and reveal it only while
scrolling / interacting. Full-text records remain visually subordinate
to curated entity records while using the same keyboard result model.
========================================================= */

.ws-command__results {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    overscroll-behavior: contain;
}

.ws-command__results::-webkit-scrollbar {
    width: 5px;
}

.ws-command__results::-webkit-scrollbar-track {
    background: transparent;
}

.ws-command__results::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: transparent;
}

.ws-command__results.is-scrolling,
.ws-command__results:hover,
.ws-command__results:focus-within {
    scrollbar-color: rgba(114, 200, 255, .42) transparent;
}

.ws-command__results.is-scrolling::-webkit-scrollbar-thumb,
.ws-command__results:hover::-webkit-scrollbar-thumb,
.ws-command__results:focus-within::-webkit-scrollbar-thumb {
    background: rgba(114, 200, 255, .38);
    box-shadow: 0 0 8px rgba(114, 200, 255, .08);
}

.ws-command__results.is-scrolling::-webkit-scrollbar-thumb:hover,
.ws-command__results:hover::-webkit-scrollbar-thumb:hover {
    background: rgba(117, 226, 189, .62);
}

.ws-command__result[data-command-source="fulltext"] > span {
    color: #72a7c8;
}

.ws-command__result[data-command-source="fulltext"] > strong {
    color: #cbd5d7;
}

.ws-command__result[data-command-source="fulltext"] > small {
    color: #71808a;
}

/* =========================================================
GITHUB-SCALE TYPOGRAPHY CONTRACT
The workspace chrome uses a GitHub-like readable UI scale:
14px for primary interface text, 12px for metadata, and no
sub-12px text in interactive/navigation surfaces. Desktop and
mobile share the same baseline so responsive changes do not
collapse labels back to micro-type.
========================================================= */

:root {
    --ws-ui-font: 14px;
    --ws-ui-small: 12px;
    --ws-ui-compact: 13px;
    --ws-ui-line: 1.45;
}

body.workspace-v2 {
    font-size: var(--ws-ui-font);
    line-height: var(--ws-ui-line);
}

/* Desktop workspace chrome */
.ws-topbar,
.ws-command-trigger,
.ws-rail-menu,
.ws-explorer,
.ws-inspector {
    font-size: var(--ws-ui-font);
}

.ws-brand,
.ws-topbar__state,
.ws-panel-title,
.ws-tree-group h2,
.ws-tree-item,
.ws-inspector__section,
.ws-inspector dt,
.ws-inspector dd,
.ws-inspector p,
.ws-inspector__actions a,
.ws-tabs a,
.ws-footer,
.ws-command__result {
    font-size: var(--ws-ui-font);
    line-height: var(--ws-ui-line);
}

/* Metadata stays compact but remains comfortably readable. */
.ws-command-trigger kbd,
.ws-rail-menu header span,
.ws-rail-menu header small,
.ws-rail-menu nav a[data-rail-depth="1"],
.ws-rail-menu nav a[data-rail-depth="2"],
.ws-rail-menu__empty,
.ws-tree-item small,
.ws-inspector__section h2,
.ws-inspector__code-panel button,
.ws-inspector__actions small,
.ws-footer__provenance small,
.ws-statusbar,
.ws-command__dialog header span,
.ws-command__hint,
.ws-command__dialog header button,
.ws-command__result > small {
    font-size: var(--ws-ui-small);
    line-height: var(--ws-ui-line);
}

.ws-rail-menu nav a,
.ws-inspector__tech dd,
.ws-inspector__version,
.ws-inspector__pattern-title,
.ws-inspector__pattern-description,
.ws-inspector__notes,
.ws-footer__provenance strong {
    font-size: var(--ws-ui-compact);
    line-height: var(--ws-ui-line);
}

/* Code should read like normal source, not microcopy. */
.ws-inspector__code-panel code {
    font-size: 12px;
    line-height: 1.55;
}

.ws-command__input input {
    font-size: var(--ws-ui-font);
    line-height: var(--ws-ui-line);
}

/* Give the larger desktop type enough breathing room. */
@media (min-width: 1281px) {
    :root {
        --ws-tree: 264px;
        --ws-inspector: 324px;
    }

    .ws-tree-item {
        min-height: 32px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .ws-panel-title {
        min-height: 36px;
    }
}

/* Mobile keeps the same readable scale instead of shrinking to 7–10px. */
@media (max-width: 650px) {
    .ws-mobile-nav__header span,
    .ws-inspector__mobile-nav > h2,
    .ws-mobile-nav-group summary > span {
        font-size: var(--ws-ui-small);
        line-height: var(--ws-ui-line);
    }

    .ws-mobile-nav__header strong,
    .ws-mobile-nav-group summary > strong,
    .ws-mobile-nav-group nav a,
    .ws-mobile-nav-dynamic a[data-rail-depth="1"],
    .ws-mobile-nav-dynamic a[data-rail-depth="2"] {
        font-size: var(--ws-ui-font);
        line-height: var(--ws-ui-line);
    }

    .ws-mobile-nav-group summary {
        min-height: 58px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .ws-mobile-nav-group nav a {
        min-height: 42px;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .ws-command-trigger,
    .ws-command-trigger kbd {
        font-size: var(--ws-ui-small);
    }

    .ws-statusbar {
        font-size: var(--ws-ui-small);
    }
}



/* =========================================================
AGENT EXPLORER LABEL + MARQUEE CONTRACT
Primary agent names stay fully readable. Secondary role metadata
uses the remaining row width and gently pans to reveal overflow.
========================================================= */

.ws-tree-item--agent {
    grid-template-columns: 7px max-content minmax(0, 1fr);
}

.ws-tree-item--agent .ws-tree-item__label {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
}

.ws-tree-item__agent-meta {
    min-width: 0;
    width: 100%;
    overflow: hidden;
    color: #59656f;
    white-space: nowrap;
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0,
        #000 8px,
        #000 calc(100% - 8px),
        transparent 100%
    );
    mask-image: linear-gradient(
        90deg,
        transparent 0,
        #000 8px,
        #000 calc(100% - 8px),
        transparent 100%
    );
}

.ws-tree-item__agent-meta > span {
    display: inline-block;
    padding: 0 8px;
    will-change: transform;
    animation: ws-agent-meta-pan 10s ease-in-out infinite alternate;
}

.ws-tree-item--agent:hover .ws-tree-item__agent-meta,
.ws-tree-item--agent:focus-visible .ws-tree-item__agent-meta,
.ws-tree-item--agent.is-inspected .ws-tree-item__agent-meta {
    color: #6f7c86;
}

@keyframes ws-agent-meta-pan {
    0%,
    18% {
        transform: translateX(0);
    }

    82%,
    100% {
        transform: translateX(-32%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ws-tree-item__agent-meta > span {
        animation: none;
        transform: none;
    }
}


/* =========================================================
ARCHITECTURE TRACE READABILITY CONTRACT
Keeps the runtime demo legible on desktop and mobile without
changing its layout, hierarchy, or interaction model.
========================================================= */

.ws-runtime > header,
.ws-runtime section > h2 {
    font-size: 12px;
    line-height: 1.45;
}

.ws-runtime__mission {
    font-size: 13px;
    line-height: 1.6;
}

.ws-runtime__grid button,
.ws-runtime ol,
.ws-trace {
    font-size: 13px;
    line-height: 1.55;
}

.ws-runtime__grid button small {
    font-size: 12px;
    line-height: 1.45;
}

.ws-trace time {
    font-size: 12px;
}

@media (max-width: 650px) {
    .ws-runtime > header,
    .ws-runtime section > h2 {
        font-size: 12px;
    }

    .ws-runtime__mission,
    .ws-runtime__grid button,
    .ws-runtime ol,
    .ws-trace {
        font-size: 14px;
    }

    .ws-runtime__grid button small,
    .ws-trace time {
        font-size: 12px;
    }
}


/* =========================================================
SYSTEMS REGISTRY CODE TYPOGRAPHY CONTRACT
The registry reads like an engineering workspace rather than an
editorial spread, with larger legible metadata on desktop and mobile.
========================================================= */

#systems {
    font-family: var(--ws-mono);
}

#systems .ws-section__header > div > p {
    font: 600 12px/1.45 var(--ws-mono);
    letter-spacing: .04em;
}

#systems .ws-section__header h2 {
    font-family: var(--ws-mono);
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -.055em;
}

#systems .ws-section__header h2 em {
    font-family: inherit;
    font-style: normal;
    font-weight: 500;
}

#systems .ws-section__header > p {
    font-family: var(--ws-mono);
    font-size: 14px;
    line-height: 1.65;
}

#systems .ws-card {
    font-family: var(--ws-mono);
}

#systems .ws-card > span {
    font: 11px/1.45 var(--ws-mono);
}

#systems .ws-card > strong {
    font: 700 23px/1.25 var(--ws-mono);
    letter-spacing: -.025em;
}

#systems .ws-card > p {
    font: 13px/1.65 var(--ws-mono);
}

#systems .ws-card li {
    font: 10px/1.35 var(--ws-mono);
}

#systems .ws-card > b {
    font: 600 11px/1.45 var(--ws-mono);
}

@media (max-width: 650px) {
    #systems .ws-section__header h2 {
        font-size: clamp(30px, 9vw, 42px);
        line-height: 1.08;
        letter-spacing: -.045em;
    }

    #systems .ws-section__header > div > p {
        font-size: 12px;
    }

    #systems .ws-section__header > p {
        font-size: 14px;
        line-height: 1.6;
    }

    #systems .ws-card > span {
        font-size: 12px;
    }

    #systems .ws-card > strong {
        font-size: 22px;
    }

    #systems .ws-card > p {
        font-size: 14px;
        line-height: 1.65;
    }

    #systems .ws-card li {
        font-size: 11px;
    }

    #systems .ws-card > b {
        font-size: 12px;
    }
}


/* =========================================================
JETBRAINS MONO DISPLAY + CARD CONTRACT
Large workspace headings and card surfaces use one developer-facing
type system so the home surface reads as software, not editorial print.
========================================================= */

.ws-hero h1,
.ws-section h2,
.ws-flagship__brand h2,
.ws-zac__title-row h2 {
    font-family: var(--ws-mono);
}

.ws-hero h1 em,
.ws-section h2 em {
    font-family: inherit;
}

.ws-card,
.ws-context-card,
.ws-artifact-list a,
.ws-flagship-product,
.ws-permission-card,
.ws-runtime__grid > section,
.ws-runtime__mission,
.ws-trace,
.ws-zac__trace {
    font-family: var(--ws-mono);
}

.ws-context-card > strong,
.ws-context-card p,
.ws-artifact-list span,
.ws-flagship__lede,
.ws-flagship-product strong,
.ws-flagship-product small {
    font-family: var(--ws-mono);
}


/* =========================================================
GLOBAL PAGE NAVIGATOR CONTENT-STOP CONTRACT
Home previous/next lands at the visible start of each section/card.
Rows collapse to one vertical stop on desktop and expand naturally
when their cards stack on narrower viewports.
========================================================= */

.ws-content [data-page-nav-stop] {
    scroll-margin-top: 92px;
}


/* =========================================================
HOME DISPLAY TYPOGRAPHY RESTORE
Large home-page display headings return to the original Georgia
editorial voice. Cards and technical interface surfaces remain
JetBrains Mono.
========================================================= */

#workspace-content .ws-hero h1,
#workspace-content .ws-section h2,
#workspace-content .ws-flagship__brand h2,
#workspace-content .ws-zac__title-row h2,
#workspace-content #systems .ws-section__header h2 {
    font-family: Georgia, "Times New Roman", serif;
}

#workspace-content .ws-hero h1 em,
#workspace-content .ws-section h2 em {
    font-family: inherit;
}


/* =========================================================
CONTEXT INSPECTOR COMPACT TYPOGRAPHY RESTORE
Dense technical metadata and source snippets return to the original
micro-UI scale without shrinking the rest of the workspace.
========================================================= */

.ws-inspector {
    font-size: 10px;
    line-height: 1.45;
}

.ws-inspector .ws-panel-title {
    font-size: 9px;
    line-height: 1.45;
}

.ws-inspector__section,
.ws-inspector dt,
.ws-inspector dd,
.ws-inspector p,
.ws-inspector__tech dd,
.ws-inspector__version,
.ws-inspector__pattern-title,
.ws-inspector__pattern-description,
.ws-inspector__notes {
    font-size: 10px;
}

.ws-inspector__section h2 {
    font-size: 8px;
    line-height: 1.45;
}

.ws-inspector__code-panel button {
    font-size: 7px;
    line-height: 1.45;
}

.ws-inspector__code-panel code {
    font-size: 8px;
    line-height: 1.55;
}

.ws-inspector__actions a,
.ws-inspector__actions small {
    font-size: 8px;
    line-height: 1.45;
}
