body.public-body {
    margin: 0 !important;
    padding: 0 !important;
    background: var(--bg-main);
}

body.public-body > .app-shell {
    margin: 0 !important;
    padding: 0 !important;
    background: var(--bg-main) !important;
}

body.public-body .rbx-public-header,
body.public-body .public-header,
body.public-body .rbx-public-header-landing {
    top: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: auto !important;
}

body.public-body .public-header-inner,
body.public-body .rbx-public-header-inner {
    padding-block: .42rem !important;
    margin-block: 0 !important;
    min-height: auto !important;
}

body.public-body .public-header-brand .rbx-public-brand-logo,
body.public-body .public-brand-link .rbx-public-brand-logo {
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    object-fit: contain;
}
/* Public branding and bidirectional alignment overrides.
   Kept outside Vite so logo/alignment fixes remain active when local npm is unavailable. */
.app-logo-lockup {
    color: var(--text-main);
    text-align: start;
}

.app-logo-lockup__text strong {
    color: var(--text-main);
}

.app-logo-lockup__text small {
    color: var(--text-muted);
}

.rbx-public-header {
    background: color-mix(in srgb, var(--nav-bg) 92%, transparent) !important;
    border-color: var(--border-soft) !important;
}

html[data-theme="dark"] .rbx-public-header {
    background: rgba(6, 24, 38, .74) !important;
    border-color: rgba(125, 211, 252, .16) !important;
}

.public-research-surface {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: calc(100vh - 170px);
}

.public-research-surface > :not(.landing-motif) {
    position: relative;
    z-index: 1;
}

.public-research-surface .landing-motif,
.public-research-surface .research-landing::before,
.public-research-surface .research-landing::after,
.public-research-surface .hero-card::before {
    display: none !important;
}

.rbx-public-header,
.field-public-footer,
.rbx-public-header-landing,
.glass-card,
.hero-card,
.field-panel,
.field-public-nav,
.survey-step-actions {
    backdrop-filter: none !important;
}

.public-research-surface .glass-card,
.public-research-surface .hero-card,
.public-research-surface .landing-feature-strip,
.public-research-surface .login-identity-panel,
.public-research-surface .login-form-card,
.public-research-surface .survey-shell,
.public-research-surface .question-card {
    box-shadow: 0 8px 22px rgba(15, 118, 110, .08) !important;
}

@media (max-width: 768px) {
    .public-research-surface::before,
    .public-research-surface::after,
    .public-research-surface .landing-motif,
    .public-research-surface .hero-watermark {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

html[data-theme="light"] .public-research-surface,
html[data-appearance="light"] .public-research-surface,
html:not([data-theme="dark"]):not([data-appearance="dark"]) .public-research-surface {
    background-color: #f8fffd;
    background-image: linear-gradient(180deg, #f8fffd 0%, #eefbf9 100%);
    color: #102a36;
}

html[data-theme="light"] .public-research-surface::before,
html[data-appearance="light"] .public-research-surface::before,
html:not([data-theme="dark"]):not([data-appearance="dark"]) .public-research-surface::before,
html[data-theme="light"] .public-research-surface::after,
html[data-appearance="light"] .public-research-surface::after,
html:not([data-theme="dark"]):not([data-appearance="dark"]) .public-research-surface::after {
    content: "";
    display: none;
}

.rbx-public-header-inner {
    direction: inherit;
    grid-template-areas: "controls links brand";
    max-width: 100%;
}

html[dir="ltr"] .rbx-public-header-inner {
    grid-template-areas: "brand links controls";
}

.rbx-public-controls {
    grid-area: controls;
    justify-self: end;
    min-width: 0;
}

html[dir="rtl"] .rbx-public-controls {
    justify-self: start;
}

.rbx-public-links {
    grid-area: links;
    direction: inherit;
    min-width: 0;
}

.public-header-links .nav-icon {
    display: none;
    flex: 0 0 auto;
}

.public-header-links .nav-label-short {
    display: none;
}

.public-header-controls .control-label-short {
    display: none;
}

.rbx-public-academic-brand {
    grid-area: brand;
    direction: inherit;
    justify-self: start;
    text-align: start;
    color: var(--text-main) !important;
    min-width: 0;
}

html[dir="rtl"] .rbx-public-academic-brand {
    justify-self: end;
}

.rbx-glass-control,
.field-control-button {
    background: color-mix(in srgb, var(--nav-bg) 78%, transparent);
    color: var(--text-main);
    min-height: 44px;
    max-width: 100%;
}

.rbx-glass-control:hover,
.rbx-glass-control:focus-visible,
.field-control-button:hover,
.field-control-button:focus-visible {
    background: color-mix(in srgb, var(--nav-bg) 88%, var(--accent) 12%);
    color: var(--text-main);
}

html[dir="ltr"] .research-landing,
html[dir="ltr"] .login-research-page,
html[dir="ltr"] .hero-copy,
html[dir="ltr"] .section-heading,
html[dir="ltr"] .landing-title,
html[dir="ltr"] .landing-subtitle,
html[dir="ltr"] .landing-muted,
html[dir="ltr"] .glass-card,
html[dir="ltr"] .login-identity-panel,
html[dir="ltr"] .login-form-card {
    text-align: start;
}

html[dir="rtl"] .research-landing,
html[dir="rtl"] .login-research-page,
html[dir="rtl"] .hero-copy,
html[dir="rtl"] .section-heading,
html[dir="rtl"] .landing-title,
html[dir="rtl"] .landing-subtitle,
html[dir="rtl"] .landing-muted,
html[dir="rtl"] .glass-card,
html[dir="rtl"] .login-identity-panel,
html[dir="rtl"] .login-form-card {
    text-align: start;
}

@media (max-width: 768px) {
    .rbx-public-header-inner,
    .public-header-inner {
        grid-template-areas:
            "brand"
            "controls"
            "links";
        grid-template-columns: 1fr !important;
        gap: .75rem;
    }

    html[dir="rtl"] .rbx-public-header-inner,
    html[dir="rtl"] .public-header-inner {
        grid-template-areas:
            "brand"
            "controls"
            "links";
    }

    .rbx-public-controls,
    .rbx-public-links,
    .rbx-public-academic-brand,
    .public-header-controls,
    .public-header-links,
    .public-header-brand {
        justify-self: stretch;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .rbx-public-header,
    .public-header {
        overflow-x: clip;
    }

    .rbx-public-header-inner,
    .public-header-inner {
        width: min(100% - .75rem, 100%);
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "brand"
            "controls"
            "links" !important;
        align-items: stretch;
        gap: .7rem;
        padding: .75rem .25rem .85rem !important;
    }

    html[dir="rtl"] .rbx-public-header-inner,
    html[dir="rtl"] .public-header-inner,
    html[dir="ltr"] .rbx-public-header-inner,
    html[dir="ltr"] .public-header-inner {
        grid-template-areas:
            "brand"
            "controls"
            "links" !important;
    }

    .rbx-public-academic-brand,
    .public-header-brand,
    html[dir="rtl"] .public-brand-link,
    html[dir="ltr"] .public-brand-link {
        justify-self: center;
        justify-content: center;
        width: 100%;
        gap: .55rem;
        text-align: center;
        white-space: normal;
    }

    .public-header-brand .rbx-public-brand-logo,
    .rbx-public-academic-brand .rbx-public-brand-logo {
        width: 48px;
        height: 48px;
    }

    .public-header-brand span,
    .rbx-public-academic-brand span {
        display: -webkit-box;
        max-width: min(100%, 18rem);
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-height: 1.2;
        text-align: center;
        overflow-wrap: normal;
        word-break: normal;
    }

    .rbx-public-controls,
    .public-header-controls,
    html[dir="rtl"] .public-header-controls,
    html[dir="ltr"] .public-header-controls {
        justify-self: stretch;
        justify-content: stretch;
        width: 100%;
        max-width: 28rem;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .5rem;
    }

    .public-header-controls .dropdown,
    .public-header-controls .field-control-button,
    .rbx-public-controls .dropdown,
    .rbx-public-controls .field-control-button {
        width: 100%;
        min-width: 0;
    }

    .public-header-controls .field-control-button,
    .rbx-public-controls .field-control-button {
        min-height: 44px;
        padding: .45rem .5rem;
        gap: .35rem;
        font-size: .82rem;
        line-height: 1.15;
        white-space: nowrap;
    }

    .public-header-controls .field-control-button span,
    .rbx-public-controls .field-control-button span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .public-header-controls .control-label-full {
        display: none;
    }

    .public-header-controls .control-label-short {
        display: inline;
    }

    .rbx-public-links,
    .public-header-links,
    html[dir="rtl"] .public-header-links,
    html[dir="ltr"] .public-header-links {
        justify-self: stretch;
        justify-content: stretch;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .45rem;
        overflow-x: visible;
        overflow-y: hidden;
        overscroll-behavior-inline: auto;
        scrollbar-width: none;
        padding: .1rem 0 .25rem;
    }

    .rbx-public-links::-webkit-scrollbar,
    .public-header-links::-webkit-scrollbar {
        display: none;
    }

    .public-header-links a,
    .rbx-public-links a {
        flex: initial;
        width: 100%;
        min-width: 0;
        min-height: 40px;
        max-width: none;
        padding: .55rem .45rem;
        gap: .28rem;
        font-size: .78rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow-wrap: normal;
        word-break: normal;
    }

    .public-header-links .nav-icon {
        display: inline-flex;
        font-size: .95em;
    }

    .public-header-links .nav-label-full {
        display: none;
    }

    .public-header-links .nav-label-short {
        display: inline;
        min-width: 0;
    }
}

@media (max-width: 575.98px) {
    .rbx-public-header-inner {
        grid-template-areas:
            "brand"
            "controls"
            "links";
    }

    html[dir="rtl"] .rbx-public-header-inner {
        grid-template-areas:
            "brand"
            "controls"
            "links";
    }

    .rbx-public-controls,
    .rbx-public-links,
    .rbx-public-academic-brand {
        justify-self: stretch;
        justify-content: center;
    }
}

/* Deployment page Arabic clarity refinements */
.deployment-diagram-note {
    margin: -.45rem 0 1rem;
    color: var(--landing-muted);
    font-size: .95rem;
    line-height: 1.8;
    max-width: 64rem;
}

.deployment-flow-node,
.deployment-institution-row div {
    min-width: 0;
    word-break: normal;
    overflow-wrap: anywhere;
}

html[dir="rtl"] .deployment-simple-diagram h2,
html[dir="rtl"] .deployment-simple-diagram p {
    text-align: right;
}

html[dir="rtl"] .deployment-flow-line {
    direction: rtl;
}

html[dir="rtl"] .deployment-flow-node:not(:last-child)::after {
    inset-inline-start: auto;
    inset-inline-end: calc(100% + .18rem);
    transform: translateY(-50%) rotate(225deg);
}

html[dir="rtl"] .deployment-institution-row div,
html[dir="rtl"] .deployment-flow-node {
    font-size: .98rem;
    line-height: 1.45;
}

@media (min-width: 992px) {
    html[dir="rtl"] .deployment-diagram-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(320px, .9fr);
    }
}

@media (max-width: 991.98px) {
    html[dir="rtl"] .deployment-flow-node:not(:last-child)::after {
        top: calc(100% + .12rem);
        inset-inline-end: auto;
        inset-inline-start: 50%;
        transform: translateX(-50%) rotate(135deg);
    }
}

/* Deployment method section redesign */
.deployment-method-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .9fr);
    gap: clamp(1rem, 2.4vw, 1.35rem);
    align-items: stretch;
}

.deployment-method-panel {
    border: 1px solid color-mix(in srgb, var(--border-soft) 74%, var(--rbx-accent) 26%);
    border-radius: 8px;
    background: color-mix(in srgb, var(--bg-card) 82%, transparent);
    box-shadow: var(--rbx-shadow-soft);
    padding: clamp(1rem, 2.5vw, 1.45rem);
}

.deployment-method-header {
    display: grid;
    gap: .45rem;
    margin-bottom: 1rem;
}

.deployment-method-label {
    width: fit-content;
    border: 1px solid color-mix(in srgb, var(--field-accent) 35%, var(--border-soft) 65%);
    border-radius: 999px;
    background: color-mix(in srgb, var(--field-accent) 10%, transparent);
    color: var(--field-accent);
    font-size: .78rem;
    font-weight: 900;
    padding: .28rem .65rem;
}

.deployment-method-header h2 {
    color: var(--text-main);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 900;
    line-height: 1.5;
    margin: 0;
}

.deployment-method-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .75rem;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: deployment-step;
}

.deployment-method-steps li {
    position: relative;
    display: grid;
    align-content: start;
    gap: .6rem;
    min-height: 7.75rem;
    border: 1px solid color-mix(in srgb, var(--field-accent) 28%, var(--border-soft) 72%);
    border-radius: 8px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--field-accent) 7%, var(--bg-card) 93%), color-mix(in srgb, var(--bg-card) 95%, transparent));
    color: var(--text-main);
    padding: .85rem .75rem;
}

.deployment-method-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    inset-inline-start: calc(100% + .18rem);
    width: .42rem;
    height: .42rem;
    border-top: 2px solid var(--field-accent);
    border-right: 2px solid var(--field-accent);
    transform: translateY(-50%) rotate(45deg);
}

html[dir="rtl"] .deployment-method-steps li:not(:last-child)::after {
    inset-inline-start: auto;
    inset-inline-end: calc(100% + .18rem);
    transform: translateY(-50%) rotate(225deg);
}

.deployment-step-index {
    display: inline-grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    background: var(--field-accent);
    color: #fff;
    font-size: .8rem;
    font-weight: 900;
}

.deployment-method-steps strong {
    font-size: .96rem;
    line-height: 1.55;
    font-weight: 900;
}

.deployment-role-list {
    display: grid;
    gap: .75rem;
}

.deployment-role-item {
    border: 1px solid color-mix(in srgb, var(--field-accent) 22%, var(--border-soft) 78%);
    border-radius: 8px;
    background: color-mix(in srgb, var(--field-accent) 5%, transparent);
    padding: .85rem .95rem;
}

.deployment-role-item strong {
    display: block;
    color: var(--text-main);
    font-weight: 900;
    margin-bottom: .35rem;
}

.deployment-role-item p {
    color: var(--landing-muted);
    line-height: 1.75;
    margin: 0;
}

html[dir="rtl"] .deployment-method-header,
html[dir="rtl"] .deployment-role-item,
html[dir="rtl"] .deployment-method-steps li {
    text-align: right;
}

@media (max-width: 991.98px) {
    .deployment-method-grid,
    .deployment-method-steps {
        grid-template-columns: 1fr;
    }

    .deployment-method-steps li {
        min-height: auto;
    }

    .deployment-method-steps li:not(:last-child)::after,
    html[dir="rtl"] .deployment-method-steps li:not(:last-child)::after {
        top: calc(100% + .12rem);
        inset-inline-start: 50%;
        inset-inline-end: auto;
        transform: translateX(-50%) rotate(135deg);
    }
}

/* Deployment method arrows correction */
.deployment-method-steps li:not(:last-child)::after {
    content: "ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢";
    display: grid;
    place-items: center;
    width: 1.4rem;
    height: 1.4rem;
    border: 0;
    color: var(--field-accent);
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    top: 50%;
    inset-inline-start: calc(100% + .16rem);
    transform: translateY(-50%);
    background: color-mix(in srgb, var(--bg-card) 78%, transparent);
    border-radius: 999px;
    z-index: 2;
}

html[dir="rtl"] .deployment-method-steps li:not(:last-child)::after {
    content: "ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â";
    inset-inline-start: auto;
    inset-inline-end: calc(100% + .16rem);
    transform: translateY(-50%);
}

@media (max-width: 991.98px) {
    .deployment-method-steps li:not(:last-child)::after,
    html[dir="rtl"] .deployment-method-steps li:not(:last-child)::after {
        content: "ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“";
        top: calc(100% + .18rem);
        inset-inline-start: 50%;
        inset-inline-end: auto;
        transform: translateX(-50%);
    }
}

/* Deployment method explicit arrows */
.deployment-method-steps {
    display: flex;
    align-items: stretch;
    gap: .45rem;
}

.deployment-method-steps li:not(:last-child)::after,
html[dir="rtl"] .deployment-method-steps li:not(:last-child)::after {
    content: none !important;
    display: none !important;
}

.deployment-method-step {
    position: relative;
    display: grid;
    align-content: start;
    gap: .6rem;
    flex: 1 1 0;
    min-width: 0;
    min-height: 7.75rem;
    border: 1px solid color-mix(in srgb, var(--field-accent) 28%, var(--border-soft) 72%);
    border-radius: 8px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--field-accent) 7%, var(--bg-card) 93%), color-mix(in srgb, var(--bg-card) 95%, transparent));
    color: var(--text-main);
    padding: .85rem .75rem;
    text-align: center;
}

.deployment-step-arrow {
    align-self: center;
    display: grid;
    place-items: center;
    flex: 0 0 1.4rem;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-card) 78%, transparent);
    color: var(--field-accent);
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
}

.deployment-step-arrow::before {
    content: "ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢";
}

html[dir="rtl"] .deployment-step-arrow::before {
    content: "ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â";
}

html[dir="rtl"] .deployment-method-step {
    text-align: right;
}

@media (max-width: 991.98px) {
    .deployment-method-steps {
        flex-direction: column;
    }

    .deployment-method-step {
        min-height: auto;
    }

    .deployment-step-arrow {
        align-self: center;
        transform: none;
    }

    .deployment-step-arrow::before,
    html[dir="rtl"] .deployment-step-arrow::before {
        content: "ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“";
    }
}

.field-control-button .field-control-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.05rem;
    height: 1.05rem;
    color: currentColor;
}

.field-control-button .field-control-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.field-control-button::after {
    flex: 0 0 auto;
}
@media (min-width: 769px) {
    body.public-body .rbx-public-header,
    body.public-body .public-header,
    body.public-body .rbx-public-header-landing {
        height: 72px !important;
        min-height: 72px !important;
        max-height: 72px !important;
        display: flex;
        align-items: center;
    }

    body.public-body .public-header-inner,
    body.public-body .rbx-public-header-inner {
        height: 72px !important;
        min-height: 72px !important;
        max-height: 72px !important;
    }
}
/* Stable CSS-drawn arrows for the deployment method path. */
.deployment-method-steps li:not(:last-child)::after,
html[dir="rtl"] .deployment-method-steps li:not(:last-child)::after {
    content: none !important;
    display: none !important;
}

.deployment-step-arrow {
    align-self: center;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.35rem;
    width: 1.35rem;
    height: 1.35rem;
    color: var(--field-accent);
    font-size: 0 !important;
    line-height: 1;
    transform: none !important;
}

.deployment-step-arrow::before,
html[dir="rtl"] .deployment-step-arrow::before {
    content: "" !important;
    display: block;
    width: .56rem;
    height: .56rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

html[dir="ltr"] .deployment-step-arrow::before {
    transform: rotate(-45deg);
}

html[dir="rtl"] .deployment-step-arrow::before {
    transform: rotate(135deg);
}

@media (max-width: 991.98px) {
    .deployment-step-arrow,
    html[dir="rtl"] .deployment-step-arrow {
        align-self: center;
        transform: none !important;
    }

    .deployment-step-arrow::before,
    html[dir="rtl"] .deployment-step-arrow::before,
    html[dir="ltr"] .deployment-step-arrow::before {
        transform: rotate(45deg);
    }
}
/* Architecture hero visual balance */
.system-doc-hero {
    grid-template-columns: minmax(0, .95fr) minmax(320px, .72fr);
    align-items: center;
    min-height: clamp(360px, 46vh, 520px);
}

.system-doc-hero > div:first-child {
    align-self: center;
}

.system-doc-hero-visual {
    display: grid;
    align-content: end;
    gap: 1rem;
    min-width: 0;
}

.architecture-orbit-panel {
    position: relative;
    min-height: 245px;
    border: 1px solid color-mix(in srgb, var(--field-accent) 30%, var(--border-soft) 70%);
    border-radius: 8px;
    overflow: hidden;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--field-accent) 9%, transparent), transparent 48%),
        radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--field-accent) 14%, transparent), transparent 35%),
        color-mix(in srgb, var(--bg-card) 74%, transparent);
    box-shadow: 0 18px 42px color-mix(in srgb, var(--field-accent) 10%, transparent);
    isolation: isolate;
}

.architecture-orbit-panel::before,
.architecture-orbit-panel::after {
    content: "";
    position: absolute;
    inset: 17%;
    border: 1px solid color-mix(in srgb, var(--field-accent) 24%, transparent);
    border-radius: 50%;
    z-index: -1;
}

.architecture-orbit-panel::after {
    inset: 31% 24%;
    border-color: color-mix(in srgb, var(--accent) 26%, transparent);
}

.architecture-orbit-core {
    position: absolute;
    inset-inline-start: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    gap: .25rem;
    width: 9.4rem;
    min-height: 6.8rem;
    padding: .9rem;
    border: 1px solid color-mix(in srgb, var(--field-accent) 34%, var(--border-soft) 66%);
    border-radius: 8px;
    background: color-mix(in srgb, var(--bg-card) 88%, transparent);
    color: var(--text-main);
    text-align: center;
    transform: translate(-50%, -50%);
    box-shadow: var(--rbx-shadow-soft);
}

html[dir="rtl"] .architecture-orbit-core {
    transform: translate(50%, -50%);
}

.architecture-orbit-core i {
    color: var(--field-accent);
    font-size: 1.35rem;
    line-height: 1;
}

.architecture-orbit-core strong {
    font-size: .98rem;
    font-weight: 950;
    line-height: 1.25;
}

.architecture-orbit-core span {
    color: var(--landing-muted);
    font-size: .78rem;
    font-weight: 780;
    line-height: 1.35;
}

.architecture-orbit-nodes {
    position: absolute;
    inset: 1rem;
}

.architecture-orbit-nodes span {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    max-width: 8.5rem;
    padding: .38rem .7rem;
    border: 1px solid color-mix(in srgb, var(--field-accent) 28%, var(--border-soft) 72%);
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-card) 82%, transparent);
    color: var(--text-main);
    font-size: .82rem;
    font-weight: 850;
    line-height: 1.25;
    text-align: center;
    box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 8%, transparent);
}

.architecture-orbit-nodes span:nth-child(1) { top: .15rem; inset-inline-start: 50%; transform: translateX(-50%); }
.architecture-orbit-nodes span:nth-child(2) { top: 25%; inset-inline-end: .15rem; }
.architecture-orbit-nodes span:nth-child(3) { bottom: 18%; inset-inline-end: 1rem; }
.architecture-orbit-nodes span:nth-child(4) { bottom: .15rem; inset-inline-start: 50%; transform: translateX(-50%); }
.architecture-orbit-nodes span:nth-child(5) { bottom: 18%; inset-inline-start: 1rem; }
.architecture-orbit-nodes span:nth-child(6) { top: 25%; inset-inline-start: .15rem; }

html[dir="rtl"] .architecture-orbit-nodes span:nth-child(1),
html[dir="rtl"] .architecture-orbit-nodes span:nth-child(4) {
    transform: translateX(50%);
}

.system-doc-hero-visual .system-doc-hero-actions {
    justify-content: flex-start;
}

html[dir="rtl"] .system-doc-hero-visual .system-doc-hero-actions {
    justify-content: flex-end;
}

@media (max-width: 1199.98px) {
    .system-doc-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .system-doc-hero-visual {
        align-content: start;
    }
}

@media (max-width: 640px) {
    .architecture-orbit-panel {
        min-height: 310px;
    }

    .architecture-orbit-nodes span {
        max-width: 7rem;
        font-size: .76rem;
    }

    .system-doc-hero-visual .system-doc-hero-actions,
    html[dir="rtl"] .system-doc-hero-visual .system-doc-hero-actions {
        justify-content: stretch;
    }

    .system-doc-hero-visual .system-doc-hero-actions .btn {
        width: 100%;
    }
}
/* Research-system hero visual: field evidence to human stewardship. */
.research-system-visual {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    padding: 1rem;
    border: 1px solid color-mix(in srgb, var(--field-accent) 30%, var(--border-soft) 70%);
    border-radius: 8px;
    overflow: hidden;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--field-accent) 8%, transparent), transparent 42%),
        linear-gradient(180deg, color-mix(in srgb, var(--bg-card) 88%, transparent), color-mix(in srgb, var(--bg-card) 64%, transparent));
    box-shadow: 0 18px 42px color-mix(in srgb, var(--field-accent) 10%, transparent);
    isolation: isolate;
}

.research-system-visual::before {
    content: "";
    position: absolute;
    inset: 1rem;
    border: 1px dashed color-mix(in srgb, var(--accent) 22%, transparent);
    border-radius: 8px;
    pointer-events: none;
    z-index: -1;
}

.research-system-visual__rail {
    position: absolute;
    inset-block-start: 4.1rem;
    inset-inline: 3.5rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--field-accent) 52%, transparent), transparent);
    z-index: 0;
}

.research-system-visual__node {
    position: relative;
    z-index: 1;
    display: grid;
    gap: .3rem;
    min-height: 7rem;
    padding: .8rem;
    border: 1px solid color-mix(in srgb, var(--border-soft) 70%, var(--field-accent) 30%);
    border-radius: 8px;
    background: color-mix(in srgb, var(--bg-card) 86%, transparent);
    color: var(--text-main);
    box-shadow: var(--rbx-shadow-soft);
}

.research-system-visual__node::after {
    content: "";
    position: absolute;
    top: 50%;
    inset-inline-end: -.48rem;
    width: .62rem;
    height: .62rem;
    border-top: 2px solid var(--field-accent);
    border-right: 2px solid var(--field-accent);
    transform: translateY(-50%) rotate(45deg);
    background: color-mix(in srgb, var(--bg-card) 86%, transparent);
}

html[dir="rtl"] .research-system-visual__node::after {
    inset-inline-end: auto;
    inset-inline-start: -.48rem;
    transform: translateY(-50%) rotate(-135deg);
}

.research-system-visual__node--analytics::after,
.research-system-visual__node--publication::after {
    display: none;
}

.research-system-visual__node i {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--field-accent) 15%, transparent);
    color: var(--field-accent);
    font-size: 1rem;
}

.research-system-visual__node strong {
    font-size: .98rem;
    font-weight: 950;
    line-height: 1.3;
}

.research-system-visual__node span,
.research-system-visual__governance span {
    color: var(--landing-muted);
    font-size: .82rem;
    font-weight: 760;
    line-height: 1.45;
}

.research-system-visual__governance {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem;
    border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--border-soft) 66%);
    border-radius: 8px;
    background: color-mix(in srgb, var(--accent) 8%, var(--bg-card) 76%);
    color: var(--text-main);
}

.research-system-visual__governance i {
    display: inline-grid;
    place-items: center;
    flex: 0 0 2.35rem;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent) 16%, transparent);
    color: var(--accent);
}

.research-system-visual__governance strong {
    display: block;
    font-size: .98rem;
    font-weight: 950;
    line-height: 1.35;
}

@media (max-width: 640px) {
    .research-system-visual {
        grid-template-columns: 1fr;
    }

    .research-system-visual__rail,
    .research-system-visual__node::after {
        display: none;
    }
}
/* Lightweight homepage living system brain map. CSS + SVG only; no runtime JS. */
.living-system-panel {
    display: grid;
    gap: 1rem;
    width: min(100%, 880px);
    margin-inline: auto;
    padding: clamp(1rem, 2.4vw, 1.5rem);
    border: 1px solid color-mix(in srgb, var(--landing-card-border) 86%, var(--accent) 14%);
    border-radius: 8px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--landing-card-bg) 88%, transparent), color-mix(in srgb, var(--bg-card) 94%, var(--accent) 6%));
}

.living-system-panel__header {
    display: grid;
    gap: .35rem;
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
}

.living-system-panel__kicker {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: .28rem .72rem;
    border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
    border-radius: 999px;
    color: var(--landing-accent-text);
    background: color-mix(in srgb, var(--accent) 9%, transparent);
    font-weight: 800;
    font-size: .82rem;
}

.living-system-panel__header p {
    margin: 0;
    color: var(--landing-muted);
    font-size: clamp(.95rem, 1.15vw, 1.05rem);
    line-height: 1.7;
}

.living-system-map {
    display: block;
    width: min(100%, 760px);
    height: auto;
    margin-inline: auto;
    overflow: visible;
}

.living-system-map__links line {
    stroke: color-mix(in srgb, var(--landing-accent-text) 70%, var(--accent) 30%);
    stroke-width: 1.2;
    stroke-opacity: .28;
    vector-effect: non-scaling-stroke;
}

.living-system-node {
    opacity: .42;
    animation: pulseSoft 5.5s ease-in-out infinite;
    animation-delay: var(--pulse-delay, 0s);
    outline: none;
}

.living-system-node__halo {
    fill: url(#livingNodeTeal);
    opacity: .18;
    filter: blur(3px);
}

.living-system-node__core {
    fill: url(#livingNodeTeal);
    stroke: color-mix(in srgb, #ffffff 72%, var(--accent) 28%);
    stroke-width: 2;
}

.living-system-node--validation .living-system-node__halo,
.living-system-node--validation .living-system-node__core,
.living-system-node--output .living-system-node__halo,
.living-system-node--output .living-system-node__core {
    fill: url(#livingNodeBlue);
}

.living-system-node--future .living-system-node__halo,
.living-system-node--future .living-system-node__core,
.living-system-node--stewardship .living-system-node__halo,
.living-system-node--stewardship .living-system-node__core,
.living-system-node--deployment .living-system-node__halo,
.living-system-node--deployment .living-system-node__core {
    fill: url(#livingNodeAmber);
}

.living-system-node__code,
.living-system-node__label {
    fill: var(--text-main);
    text-anchor: middle;
    paint-order: stroke;
    stroke: color-mix(in srgb, var(--bg-card) 92%, transparent);
    stroke-width: 4px;
    stroke-linejoin: round;
}

.living-system-node__code {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0;
}

.living-system-node__label {
    font-size: 13px;
    font-weight: 750;
}

.living-system-panel:has(.living-system-node:hover) .living-system-node,
.living-system-panel:has(.living-system-node:focus-visible) .living-system-node {
    opacity: .24;
}

.living-system-panel .living-system-node:hover,
.living-system-panel .living-system-node:focus-visible {
    opacity: 1;
}

.living-system-list {
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

.living-system-list li {
    display: grid;
    gap: .2rem;
    padding: .85rem 1rem;
    border: 1px solid color-mix(in srgb, var(--landing-card-border) 84%, transparent);
    border-radius: 8px;
    background: color-mix(in srgb, var(--bg-card) 88%, transparent);
}

.living-system-list strong {
    color: var(--text-main);
    font-size: .95rem;
}

.living-system-list span {
    color: var(--landing-muted);
    font-size: .88rem;
    line-height: 1.55;
}

@keyframes pulseSoft {
    0% { opacity: .4; }
    50% { opacity: .9; }
    100% { opacity: .4; }
}

@media (prefers-reduced-motion: reduce) {
    .living-system-node {
        animation: none !important;
        opacity: .86;
    }
}

@media (max-width: 768px) {
    .living-system-panel {
        padding: 1rem;
    }

    .living-system-panel__header {
        text-align: start;
    }

    .living-system-panel__kicker {
        justify-self: start;
    }

    .living-system-map {
        max-height: 330px;
    }

    .living-system-node {
        animation: none !important;
        opacity: .88;
    }

    .living-system-node__code {
        font-size: 13px;
    }

    .living-system-node__label {
        display: none;
    }

    .living-system-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: .55rem;
    }
}
/* Lightweight architecture page brain map. Static SVG + opacity micro-animation only. */
.architecture-brain-shell {
    align-content: start;
}

.architecture-brain-map {
    display: grid;
    gap: 1rem;
    width: min(100%, 820px);
    margin-inline: auto;
    padding: clamp(1rem, 2vw, 1.35rem);
    border: 1px solid color-mix(in srgb, var(--landing-card-border) 82%, var(--accent) 18%);
    border-radius: 8px;
    background: color-mix(in srgb, var(--bg-card) 91%, var(--accent) 9%);
}

.architecture-brain-map__intro {
    display: grid;
    gap: .45rem;
    text-align: center;
}

.architecture-brain-map__kicker {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: .28rem .7rem;
    border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
    border-radius: 999px;
    color: var(--landing-accent-text);
    background: color-mix(in srgb, var(--accent) 9%, transparent);
    font-size: .8rem;
    font-weight: 850;
}

.architecture-brain-map__intro p {
    max-width: 40rem;
    margin: 0 auto;
    color: var(--landing-muted);
    font-size: .95rem;
    line-height: 1.65;
}

.architecture-brain-map__svg {
    display: block;
    width: min(100%, 720px);
    height: auto;
    margin-inline: auto;
    overflow: visible;
}

.architecture-brain-map__links line {
    stroke: var(--landing-accent-text);
    stroke-width: 1.15;
    stroke-opacity: .23;
    vector-effect: non-scaling-stroke;
}

.architecture-brain-node {
    opacity: .62;
    animation: softPulse 5.8s ease-in-out infinite;
    animation-delay: var(--pulse-delay, 0s);
    outline: none;
}

.architecture-brain-node__ring {
    fill: color-mix(in srgb, var(--accent) 10%, transparent);
    stroke: color-mix(in srgb, var(--accent) 34%, transparent);
    stroke-width: 1.2;
}

.architecture-brain-node__core {
    fill: color-mix(in srgb, var(--accent) 72%, var(--bg-card) 28%);
    stroke: color-mix(in srgb, #ffffff 70%, var(--accent) 30%);
    stroke-width: 2;
    filter: drop-shadow(0 0 7px color-mix(in srgb, var(--accent) 35%, transparent));
}

.architecture-brain-node--core .architecture-brain-node__ring {
    fill: color-mix(in srgb, var(--field-accent) 16%, transparent);
    stroke: color-mix(in srgb, var(--field-accent) 46%, transparent);
}

.architecture-brain-node--core .architecture-brain-node__core {
    fill: var(--field-accent);
}

.architecture-brain-node--validation .architecture-brain-node__core,
.architecture-brain-node--review .architecture-brain-node__core,
.architecture-brain-node--output .architecture-brain-node__core {
    fill: color-mix(in srgb, #38bdf8 68%, var(--accent) 32%);
}

.architecture-brain-node--future .architecture-brain-node__core,
.architecture-brain-node--stewardship .architecture-brain-node__core,
.architecture-brain-node--deployment .architecture-brain-node__core {
    fill: color-mix(in srgb, #fbbf24 72%, var(--accent) 28%);
}

.architecture-brain-node__code,
.architecture-brain-node__label {
    fill: var(--text-main);
    text-anchor: middle;
    paint-order: stroke;
    stroke: color-mix(in srgb, var(--bg-card) 94%, transparent);
    stroke-width: 4px;
    stroke-linejoin: round;
}

.architecture-brain-node__code {
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 0;
}

.architecture-brain-node__label {
    font-size: 12.5px;
    font-weight: 780;
}

.architecture-brain-node:hover,
.architecture-brain-node:focus-visible {
    opacity: 1;
}

.architecture-brain-node:hover .architecture-brain-node__ring,
.architecture-brain-node:focus-visible .architecture-brain-node__ring {
    stroke-opacity: .9;
}

.architecture-brain-list {
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

.architecture-brain-list li {
    display: grid;
    gap: .2rem;
    padding: .8rem .9rem;
    border: 1px solid color-mix(in srgb, var(--landing-card-border) 84%, transparent);
    border-radius: 8px;
    background: color-mix(in srgb, var(--bg-card) 86%, transparent);
}

.architecture-brain-list strong {
    color: var(--text-main);
    font-size: .93rem;
}

.architecture-brain-list span {
    color: var(--landing-muted);
    font-size: .84rem;
    line-height: 1.5;
}

@keyframes softPulse {
    0% { opacity: .6; }
    50% { opacity: 1; }
    100% { opacity: .6; }
}

@media (prefers-reduced-motion: reduce) {
    .architecture-brain-node {
        animation: none !important;
        opacity: .9;
    }
}

@media (max-width: 768px) {
    .architecture-brain-map {
        padding: 1rem;
    }

    .architecture-brain-map__intro {
        text-align: start;
    }

    .architecture-brain-map__kicker {
        justify-self: start;
    }

    .architecture-brain-map__svg {
        max-height: 315px;
    }

    .architecture-brain-node {
        animation: none !important;
        opacity: .9;
    }

    .architecture-brain-node__ring {
        r: 26px;
    }

    .architecture-brain-node__label {
        display: none;
    }

    .architecture-brain-list {
        display: grid;
        gap: .55rem;
    }
}
/* Screenshot-inspired architecture orbit hero. Static SVG, CSS-only opacity pulse. */
.architecture-showcase-section {
    padding-top: clamp(2rem, 4vw, 4.5rem) !important;
}

.architecture-showcase-shell {
    width: min(100% - 2rem, 1220px);
}

.architecture-showcase-hero {
    grid-template-columns: minmax(420px, .98fr) minmax(420px, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    min-height: clamp(520px, 68vh, 720px);
}

.architecture-hero-copy {
    display: grid;
    align-content: center;
    justify-items: start;
    max-width: 620px;
}

html[dir="rtl"] .architecture-hero-copy {
    justify-items: end;
}

.architecture-hero-copy .landing-title {
    max-width: 11ch;
    font-size: clamp(2.7rem, 5vw, 4.75rem);
    line-height: 1.16;
}

.architecture-hero-copy .landing-subtitle {
    max-width: 34rem;
    font-size: clamp(1.05rem, 1.45vw, 1.35rem);
    line-height: 1.9;
}

.architecture-hero-assurances {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    width: min(100%, 520px);
    margin-block: .35rem 1.75rem;
}

.architecture-hero-assurances span {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .1rem .55rem;
    align-items: center;
    min-height: 64px;
    padding: .75rem .9rem;
    border: 1px solid color-mix(in srgb, var(--landing-card-border) 76%, transparent);
    border-radius: 8px;
    background: color-mix(in srgb, var(--bg-card) 86%, transparent);
    box-shadow: 0 10px 22px rgba(15, 118, 110, .055);
}

.architecture-hero-assurances i {
    grid-row: span 2;
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    color: var(--landing-accent-text);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.architecture-hero-assurances strong {
    color: var(--text-main);
    font-size: .9rem;
    font-weight: 900;
    line-height: 1.25;
}

.architecture-hero-assurances small {
    color: var(--landing-muted);
    font-size: .78rem;
    font-weight: 750;
    line-height: 1.35;
}

.architecture-hero-actions {
    justify-content: flex-start !important;
}

html[dir="rtl"] .architecture-hero-actions {
    justify-content: flex-end !important;
}

.architecture-orbit-shell {
    align-content: center;
}

.architecture-orbit-showcase {
    display: grid;
    gap: .9rem;
    justify-items: center;
    width: min(100%, 650px);
    margin-inline: auto;
}

.architecture-orbit-showcase__svg {
    display: block;
    width: min(100%, 640px);
    height: auto;
    overflow: visible;
}

.architecture-orbit-showcase__field {
    fill: color-mix(in srgb, var(--accent) 7%, var(--bg-card) 93%);
    stroke: color-mix(in srgb, var(--accent) 10%, transparent);
    stroke-width: 1;
}

.architecture-orbit-showcase__orbit,
.architecture-orbit-showcase__orbit--inner {
    fill: none;
    stroke: color-mix(in srgb, var(--landing-accent-text) 36%, transparent);
    stroke-width: 1;
    stroke-dasharray: 4 8;
    stroke-opacity: .34;
}

.architecture-orbit-showcase__orbit--inner {
    stroke: color-mix(in srgb, #38bdf8 32%, transparent);
    stroke-opacity: .26;
}

.architecture-orbit-showcase__spokes line {
    stroke: color-mix(in srgb, var(--landing-accent-text) 40%, transparent);
    stroke-width: 1;
    stroke-opacity: .12;
    vector-effect: non-scaling-stroke;
}

.architecture-orbit-brain path:first-child {
    fill: color-mix(in srgb, var(--bg-card) 84%, var(--accent) 16%);
    stroke: color-mix(in srgb, var(--landing-accent-text) 28%, transparent);
    stroke-width: 1.3;
}

.architecture-orbit-brain path:nth-child(2) {
    fill: none;
    stroke: color-mix(in srgb, #3b82f6 46%, #14b8a6 54%);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.architecture-orbit-brain circle {
    fill: color-mix(in srgb, #7c3aed 48%, #14b8a6 52%);
    opacity: .9;
}

.architecture-orbit-node {
    opacity: .64;
    animation: softPulse 5.8s ease-in-out infinite;
    animation-delay: var(--pulse-delay, 0s);
    outline: none;
}

.architecture-orbit-node__halo {
    fill: color-mix(in srgb, var(--node-color, var(--accent)) 12%, transparent);
    stroke: color-mix(in srgb, var(--node-color, var(--accent)) 38%, transparent);
    stroke-width: 1;
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--node-color, var(--accent)) 30%, transparent));
}

.architecture-orbit-node__disc {
    fill: color-mix(in srgb, var(--bg-card) 88%, var(--node-color, var(--accent)) 12%);
    stroke: color-mix(in srgb, var(--node-color, var(--accent)) 70%, transparent);
    stroke-width: 1.6;
}

.architecture-orbit-node__icon {
    fill: var(--node-color, var(--landing-accent-text));
    text-anchor: middle;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: 0;
}

.architecture-orbit-node__label,
.architecture-orbit-node__sub {
    text-anchor: middle;
    paint-order: stroke;
    stroke: color-mix(in srgb, var(--bg-main) 96%, transparent);
    stroke-width: 4px;
    stroke-linejoin: round;
}

.architecture-orbit-node__label {
    fill: var(--text-main);
    font-size: 13px;
    font-weight: 950;
}

.architecture-orbit-node__sub {
    fill: var(--landing-muted);
    font-size: 9px;
    font-weight: 760;
}

.architecture-orbit-node--r { --node-color: #a855f7; }
.architecture-orbit-node--ontology { --node-color: #4f46e5; }
.architecture-orbit-node--validation { --node-color: #2563eb; }
.architecture-orbit-node--review { --node-color: #0891b2; }
.architecture-orbit-node--publication { --node-color: #10b981; }
.architecture-orbit-node--thesis { --node-color: #eab308; }
.architecture-orbit-node--simulation { --node-color: #f97316; }
.architecture-orbit-node--ethics { --node-color: #c026d3; }
.architecture-orbit-node--deployment { --node-color: #4338ca; }
.architecture-orbit-node--governance { --node-color: #0f766e; }

.architecture-orbit-node:hover,
.architecture-orbit-node:focus-visible {
    opacity: 1;
}

.architecture-orbit-caption {
    width: min(100%, 380px);
    min-height: 48px;
    display: grid;
    place-items: center;
    padding: .75rem 1rem;
    border: 1px solid color-mix(in srgb, var(--landing-card-border) 82%, transparent);
    border-radius: 8px;
    color: var(--landing-accent-text);
    background: color-mix(in srgb, var(--bg-card) 88%, transparent);
    box-shadow: 0 10px 22px rgba(15, 118, 110, .06);
    text-align: center;
    font-size: .88rem;
    font-weight: 850;
}

@media (prefers-reduced-motion: reduce) {
    .architecture-orbit-node {
        animation: none !important;
        opacity: .9;
    }
}

@media (max-width: 1199.98px) {
    .architecture-showcase-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .architecture-hero-copy,
    html[dir="rtl"] .architecture-hero-copy {
        justify-items: center;
        max-width: 760px;
        margin-inline: auto;
        text-align: center;
    }

    .architecture-hero-actions,
    html[dir="rtl"] .architecture-hero-actions {
        justify-content: center !important;
    }

    .architecture-hero-copy .landing-title,
    .architecture-hero-copy .landing-subtitle {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .architecture-showcase-section {
        padding-top: 1.5rem !important;
    }

    .architecture-hero-assurances {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .architecture-orbit-showcase__svg {
        max-height: 390px;
    }

    .architecture-orbit-node {
        animation: none !important;
        opacity: .9;
    }

    .architecture-orbit-node__sub {
        display: none;
    }

    .architecture-orbit-node__label {
        font-size: 11px;
    }

    .architecture-orbit-caption {
        width: 100%;
    }
}
/* Architecture orbit hero layout refinement: balanced academic composition. */
.architecture-showcase-hero {
    grid-template-columns: minmax(500px, .98fr) minmax(520px, 1.02fr);
    gap: clamp(1.75rem, 4vw, 4rem);
    align-items: center;
}

.architecture-hero-copy {
    max-width: 690px;
}

.architecture-hero-copy .landing-eyebrow {
    margin-block-end: 1rem !important;
}

.architecture-hero-copy .landing-title {
    max-width: 13.8ch;
    margin-block-end: 1.35rem !important;
    font-size: clamp(2.85rem, 4.45vw, 4.25rem);
    line-height: 1.12;
}

.architecture-hero-copy .landing-subtitle {
    max-width: 36rem;
    margin-block-end: 1.5rem !important;
    font-size: clamp(1rem, 1.25vw, 1.22rem);
    line-height: 1.85;
}

.architecture-hero-assurances {
    width: min(100%, 560px);
    margin-block: .15rem 1.45rem;
    gap: .7rem;
}

.architecture-hero-assurances span {
    min-height: 58px;
    padding: .68rem .82rem;
}

.architecture-hero-actions {
    gap: .75rem;
    flex-wrap: wrap;
}

.architecture-hero-actions .btn {
    min-width: 150px;
    justify-content: center;
}

.architecture-orbit-showcase {
    width: min(100%, 690px);
    transform: translateY(.25rem);
}

.architecture-orbit-showcase__svg {
    width: min(100%, 670px);
}

.architecture-orbit-caption {
    width: min(100%, 420px);
    margin-block-start: -.15rem;
}

@media (min-width: 1200px) {
    html[dir="rtl"] .architecture-hero-copy {
        padding-inline-end: clamp(.5rem, 1.5vw, 1.5rem);
    }

    html[dir="rtl"] .architecture-orbit-shell {
        padding-inline-start: clamp(.25rem, 1vw, 1rem);
    }
}

@media (max-width: 1199.98px) {
    .architecture-showcase-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .architecture-hero-copy .landing-title {
        max-width: 15ch;
    }
}

@media (max-width: 768px) {
    .architecture-hero-copy .landing-title {
        max-width: 100%;
        font-size: clamp(2.05rem, 10vw, 3.2rem);
    }

    .architecture-hero-assurances {
        margin-block-end: 1rem;
    }

    .architecture-hero-actions .btn {
        width: 100%;
    }

    .architecture-orbit-showcase {
        transform: none;
    }
}
/* Architecture hero unified composition: make text, badges, actions, and orbit read as one visual system. */
.architecture-showcase-section {
    padding-block: clamp(2rem, 3.5vw, 3.6rem) clamp(1.25rem, 2vw, 2.2rem) !important;
}

.architecture-showcase-shell {
    width: min(100% - 2rem, 1280px);
}

.architecture-showcase-hero {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(2rem, 4.5vw, 4.8rem);
    min-height: min(700px, calc(100vh - 148px));
    align-items: center;
}

.architecture-hero-copy {
    max-width: 720px;
    align-content: center;
}

.architecture-hero-copy .landing-eyebrow {
    margin-block-end: 1.05rem !important;
}

.architecture-hero-copy .landing-title {
    max-width: 17ch;
    margin-block-end: 1.1rem !important;
    font-size: clamp(2.55rem, 3.95vw, 3.95rem);
    line-height: 1.14;
    text-wrap: balance;
}

.architecture-hero-copy .landing-subtitle {
    max-width: 39rem;
    margin-block-end: 1.35rem !important;
    font-size: clamp(1rem, 1.12vw, 1.16rem);
    line-height: 1.82;
    text-wrap: pretty;
}

.architecture-hero-assurances {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 590px);
    margin-block: 0 1.35rem;
    gap: .65rem;
}

.architecture-hero-assurances span {
    min-height: 56px;
    padding: .62rem .72rem;
    border-radius: 8px;
}

.architecture-hero-assurances i {
    width: 1.9rem;
    height: 1.9rem;
    font-size: .95rem;
}

.architecture-hero-assurances strong {
    font-size: .86rem;
}

.architecture-hero-assurances small {
    font-size: .74rem;
}

.architecture-hero-actions {
    width: min(100%, 420px);
    align-items: center;
}

.architecture-hero-actions .btn {
    min-width: 0;
    flex: 1 1 0;
    min-height: 48px;
    padding-inline: 1rem;
}

.architecture-orbit-shell {
    justify-self: center;
    width: 100%;
}

.architecture-orbit-showcase {
    width: min(100%, 620px);
    gap: .55rem;
    transform: none;
}

.architecture-orbit-showcase__svg {
    width: min(100%, 600px);
    max-height: 520px;
}

.architecture-orbit-caption {
    width: min(100%, 390px);
    min-height: 44px;
    margin-block-start: -.3rem;
    padding-block: .62rem;
    font-size: .84rem;
}

.architecture-orbit-node__halo {
    r: 28px;
}

.architecture-orbit-node__disc {
    r: 23px;
}

.architecture-orbit-node__icon {
    font-size: 21px;
}

.architecture-orbit-node__label {
    font-size: 11.8px;
}

.architecture-orbit-node__sub {
    font-size: 8.4px;
}

@media (min-width: 1200px) {
    html[dir="rtl"] .architecture-hero-copy {
        padding-inline-end: 0;
    }

    html[dir="rtl"] .architecture-orbit-shell {
        padding-inline-start: 0;
    }
}

@media (max-width: 1199.98px) {
    .architecture-showcase-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 2.25rem;
    }

    .architecture-hero-copy,
    html[dir="rtl"] .architecture-hero-copy {
        max-width: 760px;
        justify-items: center;
        text-align: center;
    }

    .architecture-hero-copy .landing-title {
        max-width: 18ch;
    }

    .architecture-hero-copy .landing-subtitle {
        max-width: 44rem;
    }

    .architecture-hero-actions,
    html[dir="rtl"] .architecture-hero-actions {
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .architecture-showcase-shell {
        width: min(100% - 1rem, 1280px);
    }

    .architecture-showcase-hero {
        gap: 1.5rem;
    }

    .architecture-hero-copy .landing-title {
        max-width: 100%;
        font-size: clamp(2rem, 9vw, 3rem);
        line-height: 1.18;
    }

    .architecture-hero-copy .landing-subtitle {
        font-size: .98rem;
        line-height: 1.75;
    }

    .architecture-hero-assurances {
        grid-template-columns: 1fr;
        gap: .55rem;
    }

    .architecture-hero-actions {
        width: 100%;
    }

    .architecture-hero-actions .btn {
        flex-basis: 100%;
    }

    .architecture-orbit-showcase__svg {
        max-height: 360px;
    }
}
/* Architecture hero stable composition: explicit areas to stop visual drift. */
.architecture-showcase-section {
    padding-block: clamp(2rem, 3vw, 3.25rem) clamp(1.5rem, 2.5vw, 2.75rem) !important;
}

.architecture-showcase-shell {
    width: min(100% - 2rem, 1240px) !important;
}

.architecture-showcase-hero {
    display: grid !important;
    grid-template-columns: minmax(440px, 560px) minmax(480px, 1fr) !important;
    grid-template-areas: "visual copy" !important;
    align-items: center !important;
    gap: clamp(2.25rem, 4vw, 4.25rem) !important;
    min-height: auto !important;
}

html[dir="ltr"] .architecture-showcase-hero {
    grid-template-areas: "copy visual" !important;
}

.architecture-orbit-shell {
    grid-area: visual !important;
    width: 100% !important;
    justify-self: center !important;
    align-self: center !important;
    padding: 0 !important;
}

.architecture-hero-copy {
    grid-area: copy !important;
    display: grid !important;
    align-content: center !important;
    justify-items: start !important;
    max-width: 660px !important;
    padding: 0 !important;
    text-align: start !important;
}

html[dir="rtl"] .architecture-hero-copy {
    justify-items: end !important;
    text-align: start !important;
}

.architecture-hero-copy .landing-eyebrow {
    margin-block-end: .95rem !important;
}

.architecture-hero-copy .landing-title {
    width: 100% !important;
    max-width: 12.5ch !important;
    margin-block-end: 1.15rem !important;
    font-size: clamp(3.1rem, 4.45vw, 4.65rem) !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    text-align: inherit !important;
}

.architecture-hero-copy .landing-subtitle {
    width: 100% !important;
    max-width: 36rem !important;
    margin-block-end: 1.35rem !important;
    font-size: clamp(1rem, 1.18vw, 1.18rem) !important;
    line-height: 1.85 !important;
    text-align: inherit !important;
}

.architecture-hero-assurances {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: min(100%, 560px) !important;
    gap: .7rem !important;
    margin-block: 0 1.35rem !important;
}

.architecture-hero-assurances span {
    min-height: 58px !important;
    padding: .68rem .78rem !important;
    border-radius: 8px !important;
}

.architecture-hero-actions {
    display: flex !important;
    width: min(100%, 390px) !important;
    gap: .75rem !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
}

html[dir="rtl"] .architecture-hero-actions {
    justify-content: flex-end !important;
}

.architecture-hero-actions .btn {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding-inline: .9rem !important;
    white-space: nowrap !important;
    justify-content: center !important;
}

.architecture-orbit-showcase {
    display: grid !important;
    justify-items: center !important;
    gap: .75rem !important;
    width: min(100%, 560px) !important;
    margin-inline: auto !important;
    transform: none !important;
}

.architecture-orbit-showcase__svg {
    display: block !important;
    width: min(100%, 540px) !important;
    max-height: none !important;
    overflow: visible !important;
}

.architecture-orbit-caption {
    width: min(100%, 380px) !important;
    min-height: 44px !important;
    margin-block-start: .1rem !important;
    padding: .65rem .9rem !important;
}

@media (max-width: 1100px) {
    .architecture-showcase-hero,
    html[dir="ltr"] .architecture-showcase-hero {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "copy"
            "visual" !important;
        gap: 2rem !important;
    }

    .architecture-hero-copy,
    html[dir="rtl"] .architecture-hero-copy {
        justify-items: center !important;
        text-align: center !important;
        max-width: 760px !important;
        margin-inline: auto !important;
    }

    .architecture-hero-copy .landing-title {
        max-width: 14ch !important;
    }

    .architecture-hero-copy .landing-subtitle {
        max-width: 42rem !important;
    }

    .architecture-hero-actions,
    html[dir="rtl"] .architecture-hero-actions {
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .architecture-showcase-shell {
        width: min(100% - 1rem, 1240px) !important;
    }

    .architecture-hero-copy .landing-title {
        max-width: 100% !important;
        font-size: clamp(2.1rem, 10vw, 3.1rem) !important;
        line-height: 1.18 !important;
    }

    .architecture-hero-assurances {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    .architecture-hero-actions {
        width: 100% !important;
        flex-wrap: wrap !important;
    }

    .architecture-hero-actions .btn {
        flex-basis: 100% !important;
    }

    .architecture-orbit-showcase__svg {
        width: min(100%, 390px) !important;
    }
}
/* Homepage layered system map: composed reference layout. */
.system-diagram-band--home {
    display: grid;
    gap: 1.6rem;
    padding: clamp(1.25rem, 2vw, 1.7rem);
    border: 1px solid color-mix(in srgb, var(--landing-card-border) 88%, var(--accent) 12%);
    border-radius: 8px;
    background: color-mix(in srgb, var(--bg-card) 92%, transparent);
}

.system-diagram-band--home > .section-heading {
    margin: 0 auto .45rem;
    max-width: 920px;
    text-align: center;
}

.system-diagram-band--home > .section-heading h2 {
    margin-bottom: .6rem;
    font-size: clamp(2rem, 3.2vw, 3.25rem);
    line-height: 1.15;
    text-wrap: balance;
}

.system-diagram-band--home > .section-heading .landing-muted {
    max-width: 820px;
    margin-inline: auto;
    font-size: clamp(.98rem, 1.1vw, 1.1rem);
    line-height: 1.8;
}

.living-system-panel--composed {
    direction: ltr;
    display: grid;
    grid-template-columns: minmax(250px, .78fr) minmax(430px, 1.45fr) minmax(210px, .58fr);
    grid-template-areas:
        "explainer map legend"
        "quality quality quality";
    align-items: stretch;
    gap: 1.25rem;
    width: 100%;
    max-width: none;
    padding: 0;
    border: 0;
    background: transparent;
}

.living-system-explainer,
.living-system-map-card,
.living-system-legend__box,
.living-system-legend__note,
.living-system-quality-strip {
    border: 1px solid color-mix(in srgb, var(--landing-card-border) 84%, transparent);
    border-radius: 8px;
    background: color-mix(in srgb, var(--bg-card) 90%, transparent);
    box-shadow: 0 10px 24px rgba(15, 118, 110, .055);
}

.living-system-explainer {
    grid-area: explainer;
    direction: rtl;
    display: grid;
    align-content: start;
    gap: .85rem;
    padding: 1rem;
    min-width: 0;
}

html[dir="ltr"] .living-system-explainer {
    direction: ltr;
}

.living-system-explainer h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin: 0;
    color: var(--text-main);
    font-size: clamp(1rem, 1.2vw, 1.18rem);
    font-weight: 950;
}

.living-system-explainer h3 i {
    color: var(--landing-accent-text);
}

.living-system-explainer ol {
    display: grid;
    gap: .34rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.living-system-explainer__item {
    --node-color: var(--accent);
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: .65rem;
    align-items: center;
    min-height: 3.3rem;
    padding: .55rem .65rem;
    border: 1px solid color-mix(in srgb, var(--landing-card-border) 74%, transparent);
    border-radius: 8px;
    background: color-mix(in srgb, var(--bg-main) 58%, transparent);
}

.living-system-explainer__item > span {
    display: inline-grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    color: #fff;
    background: color-mix(in srgb, var(--node-color) 78%, var(--accent) 22%);
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: 0;
}

.living-system-explainer__item strong {
    display: block;
    color: var(--landing-accent-text);
    font-size: .82rem;
    font-weight: 950;
    line-height: 1.25;
}

.living-system-explainer__item small {
    display: -webkit-box;
    overflow: hidden;
    color: var(--landing-muted);
    font-size: .68rem;
    font-weight: 740;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.living-system-explainer__item--foundation,
.living-system-explainer__item--analysis { --node-color: #0f9f8f; }
.living-system-explainer__item--validation,
.living-system-explainer__item--output { --node-color: #2f9be6; }
.living-system-explainer__item--future,
.living-system-explainer__item--stewardship,
.living-system-explainer__item--deployment { --node-color: #f2b841; }

.living-system-map-card {
    grid-area: map;
    direction: ltr;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: .75rem;
    min-width: 0;
    padding: clamp(1rem, 1.5vw, 1.35rem);
}

.living-system-map-card .living-system-panel__header {
    max-width: 560px;
}

.living-system-map-card .living-system-panel__kicker {
    color: #087a70;
    font-weight: 950;
}

.living-system-map-card .living-system-panel__header p {
    max-width: 540px;
    font-size: .9rem;
    line-height: 1.65;
}

.living-system-map {
    width: min(100%, 620px);
    max-height: 560px;
}

.living-system-map__orbit {
    fill: none;
    stroke: color-mix(in srgb, var(--landing-accent-text) 42%, transparent);
    stroke-width: 1.25;
    stroke-opacity: .55;
}

.living-system-map__brain-field {
    fill: color-mix(in srgb, var(--accent) 7%, transparent);
    stroke: color-mix(in srgb, var(--accent) 20%, transparent);
    stroke-width: 1;
}

.living-system-map__links line {
    stroke: color-mix(in srgb, var(--landing-accent-text) 64%, transparent);
    stroke-width: 1.15;
    stroke-opacity: .32;
}

.living-system-map__links .living-system-map__axis {
    stroke-dasharray: 5 7;
    stroke-opacity: .28;
}

.living-system-map__brain path:first-child {
    fill: color-mix(in srgb, var(--bg-card) 70%, var(--accent) 30%);
    stroke: var(--landing-accent-text);
    stroke-width: 2;
    opacity: .92;
}

.living-system-map__brain path:nth-child(2) {
    fill: none;
    stroke: var(--landing-accent-text);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.living-system-node {
    opacity: .85;
}

.living-system-node__halo {
    opacity: .28;
    filter: drop-shadow(0 0 9px color-mix(in srgb, #38bdf8 42%, transparent));
}

.living-system-node__core {
    stroke-width: 2.2;
}

.living-system-node__code {
    font-size: 10px;
    font-weight: 950;
}

.living-system-node__label {
    font-size: 11px;
    font-weight: 850;
}

.living-system-legend {
    grid-area: legend;
    direction: rtl;
    display: grid;
    align-content: center;
    gap: 1rem;
    min-width: 0;
}

html[dir="ltr"] .living-system-legend {
    direction: ltr;
}

.living-system-legend__box,
.living-system-legend__note {
    padding: 1rem;
}

.living-system-legend__box h3 {
    margin: 0 0 .85rem;
    color: var(--text-main);
    font-size: .98rem;
    font-weight: 950;
}

.living-system-legend__box ul {
    display: grid;
    gap: .62rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.living-system-legend__box li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .6rem;
    color: var(--landing-muted);
    font-size: .78rem;
    font-weight: 760;
}

html[dir="ltr"] .living-system-legend__box li {
    grid-template-columns: auto minmax(0, 1fr);
}

.legend-dot {
    width: .8rem;
    height: .8rem;
    border-radius: 50%;
    box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 15%, transparent);
}
.legend-dot--teal { color: #14b8a6; background: #14b8a6; }
.legend-dot--blue { color: #38bdf8; background: #38bdf8; }
.legend-dot--amber { color: #f2b841; background: #f2b841; }
.legend-line {
    width: 1.7rem;
    height: 0;
    border-top: 2px solid color-mix(in srgb, var(--landing-accent-text) 56%, transparent);
}
.legend-line--dashed {
    border-top-style: dashed;
}

.living-system-legend__note {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .65rem;
    align-items: start;
    background: color-mix(in srgb, var(--accent) 6%, var(--bg-card) 94%);
}

.living-system-legend__note i {
    color: var(--landing-accent-text);
    font-size: 1.05rem;
}

.living-system-legend__note p {
    margin: 0;
    color: var(--landing-muted);
    font-size: .78rem;
    font-weight: 760;
    line-height: 1.65;
}

.living-system-quality-strip {
    grid-area: quality;
    direction: rtl;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    padding: .95rem .9rem;
}

html[dir="ltr"] .living-system-quality-strip {
    direction: ltr;
}

.living-system-quality-strip span {
    display: grid;
    justify-items: center;
    gap: .28rem;
    min-height: 5.6rem;
    padding: .45rem .75rem;
    text-align: center;
    border-inline-start: 1px solid color-mix(in srgb, var(--landing-card-border) 70%, transparent);
}

.living-system-quality-strip span:first-child {
    border-inline-start: 0;
}

.living-system-quality-strip i {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    color: var(--landing-accent-text);
    font-size: 1.25rem;
}

.living-system-quality-strip strong {
    color: var(--text-main);
    font-size: .9rem;
    font-weight: 950;
}

.living-system-quality-strip small {
    color: var(--landing-muted);
    font-size: .75rem;
    font-weight: 740;
    line-height: 1.45;
}

@media (max-width: 1180px) {
    .living-system-panel--composed {
        grid-template-columns: minmax(260px, .85fr) minmax(460px, 1.35fr);
        grid-template-areas:
            "map map"
            "explainer legend"
            "quality quality";
    }
}

@media (max-width: 768px) {
    .system-diagram-band--home {
        padding: 1rem;
    }

    .living-system-panel--composed {
        grid-template-columns: 1fr;
        grid-template-areas:
            "map"
            "explainer"
            "legend"
            "quality";
        gap: .9rem;
    }

    .living-system-map {
        max-height: 360px;
    }

    .living-system-quality-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .living-system-quality-strip span:nth-child(odd) {
        border-inline-start: 0;
    }
}
/* Prevent lower map labels from colliding in Arabic. */
.living-system-node--stewardship .living-system-node__label,
.living-system-node--deployment .living-system-node__label {
    font-size: 10px;
}

@media (max-width: 768px) {
    .living-system-node--stewardship .living-system-node__label,
    .living-system-node--deployment .living-system-node__label {
        display: none;
    }
}
/* Keep English hero status pills on one line. */
html[dir="ltr"] .hero-card .hero-status-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: .55rem !important;
    width: 100%;
}

html[dir="ltr"] .hero-card .hero-status-row .hero-pill {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    min-height: 2rem;
    padding: .38rem .62rem;
    white-space: nowrap !important;
    font-size: clamp(.74rem, .95vw, .86rem);
    line-height: 1.15;
}

@media (max-width: 390px) {
    html[dir="ltr"] .hero-card .hero-status-row {
        flex-wrap: wrap !important;
    }
}
