.rbtx-flagship-stage[data-rbtx-system-view="interactive-bom-pyramid"] {
    --rbtx-ink: #061312;
    --rbtx-panel: #0a1c1b;
    --rbtx-panel-soft: #102624;
    --rbtx-line: rgba(199, 255, 241, 0.16);
    --rbtx-muted: #9bb5b0;
    --rbtx-text: #effbf8;
    --rbtx-accent: #42e6cf;
    --rbtx-accent-soft: #b9fff3;
    --rbtx-light-ink: #10211f;
    --rbtx-light-muted: #556a66;
    --rbtx-radius: 1.25rem;
    color: var(--rbtx-text);
    background:
        radial-gradient(circle at 72% 12%, rgba(66, 230, 207, 0.14), transparent 31rem),
        linear-gradient(145deg, #050d0d 0%, var(--rbtx-ink) 55%, #071918 100%);
    overflow: hidden;
}

.rbtx-flagship-stage *,
.rbtx-flagship-stage *::before,
.rbtx-flagship-stage *::after {
    box-sizing: border-box;
}

.rbtx-flagship-stage a {
    color: inherit;
}

.rbtx-flagship-shell {
    width: min(100% - 2rem, 88rem);
    margin-inline: auto;
}

.rbtx-flagship-hero {
    min-height: min(56rem, calc(100svh - 4rem));
    display: grid;
    grid-template-columns: minmax(18rem, 0.78fr) minmax(23rem, 1.22fr);
    gap: clamp(2rem, 5vw, 6rem);
    align-items: center;
    padding-block: clamp(3rem, 8vw, 7rem);
}

.rbtx-flagship-kicker,
.rbtx-flagship-stage .rbtx-eyebrow {
    margin: 0 0 1rem;
    color: var(--rbtx-accent);
    font: 700 0.72rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rbtx-concept-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    margin-bottom: 1.35rem;
    padding: 0.48rem 0.72rem;
    border: 1px solid rgba(185, 255, 243, 0.28);
    border-radius: 999px;
    color: var(--rbtx-accent-soft);
    background: rgba(185, 255, 243, 0.07);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.rbtx-concept-label::before {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--rbtx-accent);
    box-shadow: 0 0 1rem rgba(66, 230, 207, 0.9);
    content: "";
}

.rbtx-flagship-title {
    max-width: 11ch;
    margin: 0;
    font-size: clamp(3rem, 7vw, 6.6rem);
    line-height: 0.89;
    letter-spacing: -0.065em;
    text-wrap: balance;
}

.rbtx-flagship-lede {
    max-width: 40rem;
    margin: 1.6rem 0 0;
    color: #c3d6d2;
    font-size: clamp(1rem, 1.6vw, 1.24rem);
    line-height: 1.65;
}

.rbtx-flagship-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.rbtx-flagship-button,
.rbtx-flagship-stage button,
.rbtx-flagship-stage select {
    font: inherit;
}

.rbtx-flagship-button,
.rbtx-viewer-controls button,
[data-rbtx-build-brief],
[data-rbtx-copy-brief] {
    display: inline-flex;
    min-height: 2.9rem;
    align-items: center;
    justify-content: center;
    padding: 0.74rem 1.05rem;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #05201c;
    background: var(--rbtx-accent);
    box-shadow: 0 0.5rem 2rem rgba(66, 230, 207, 0.14);
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.rbtx-flagship-button:hover,
.rbtx-viewer-controls button:hover,
[data-rbtx-build-brief]:hover,
[data-rbtx-copy-brief]:hover {
    transform: translateY(-2px);
    background: var(--rbtx-accent-soft);
}

.rbtx-flagship-button--quiet,
.rbtx-viewer-controls button {
    border-color: rgba(239, 251, 248, 0.2);
    color: var(--rbtx-text);
    background: rgba(239, 251, 248, 0.06);
    box-shadow: none;
}

.rbtx-flagship-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 2.4rem 0 0;
    padding: 0;
    list-style: none;
}

.rbtx-flagship-metrics li {
    padding-top: 0.9rem;
    border-top: 1px solid var(--rbtx-line);
}

.rbtx-flagship-metrics strong {
    display: block;
    color: var(--rbtx-accent-soft);
    font-size: 1.35rem;
    letter-spacing: -0.04em;
}

.rbtx-flagship-metrics span {
    display: block;
    margin-top: 0.2rem;
    color: var(--rbtx-muted);
    font-size: 0.72rem;
    line-height: 1.35;
}

#system-viewer {
    position: relative;
    min-width: 0;
}

.rbtx-viewer-shell {
    position: relative;
    min-height: clamp(32rem, 68vw, 47rem);
    overflow: hidden;
    border: 1px solid rgba(185, 255, 243, 0.15);
    border-radius: clamp(1.25rem, 3vw, 2.25rem);
    background:
        radial-gradient(circle at 50% 36%, rgba(66, 230, 207, 0.13), transparent 40%),
        linear-gradient(180deg, #0c1b1a 0%, #050c0c 100%);
    box-shadow: 0 2.5rem 7rem rgba(0, 0, 0, 0.42);
    isolation: isolate;
}

.rbtx-viewer-shell::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(185, 255, 243, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(185, 255, 243, 0.025) 1px, transparent 1px);
    background-size: 3rem 3rem;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
    content: "";
}

.rbtx-canvas-wrap {
    position: absolute;
    inset: 0;
}

[data-rbtx-canvas],
[data-rbtx-canvas-fallback] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

[data-rbtx-canvas] {
    z-index: 2;
    display: block;
    touch-action: none;
    cursor: grab;
}

[data-rbtx-canvas]:active {
    cursor: grabbing;
}

[data-rbtx-canvas-fallback] {
    z-index: 1;
    object-fit: cover;
    object-position: 50% 46%;
    opacity: 1;
    transition: opacity 320ms ease;
}

.rbtx-viewer-ready [data-rbtx-canvas-fallback] {
    opacity: 0;
}

.rbtx-viewer-hotspots {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.rbtx-viewer-hotspots [data-rbtx-system] {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 9.5rem;
    padding: 0.52rem 0.68rem;
    border: 1px solid rgba(185, 255, 243, 0.2);
    border-radius: 0.72rem;
    color: var(--rbtx-text);
    background: rgba(6, 19, 18, 0.82);
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
    font-size: 0.68rem;
    font-weight: 750;
    line-height: 1.15;
    text-align: left;
    pointer-events: auto;
    transform: translate(-50%, -50%);
    transition: border-color 160ms ease, color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.rbtx-viewer-hotspots [data-rbtx-system]::before {
    display: inline-block;
    width: 0.38rem;
    height: 0.38rem;
    margin-right: 0.42rem;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0.25rem rgba(66, 230, 207, 0.09);
    content: "";
}

.rbtx-viewer-hotspots [data-rbtx-system]:hover,
.rbtx-viewer-hotspots [data-rbtx-system][aria-pressed="true"],
.rbtx-viewer-hotspots [data-rbtx-system].is-active {
    border-color: rgba(66, 230, 207, 0.75);
    color: var(--rbtx-accent-soft);
    transform: translate(-50%, -50%) scale(1.04);
}

.rbtx-viewer-controls {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 5;
    display: flex;
    gap: 0.45rem;
}

.rbtx-viewer-controls button {
    min-height: 2.45rem;
    padding: 0.55rem 0.82rem;
    background: rgba(6, 19, 18, 0.78);
    backdrop-filter: blur(10px);
    font-size: 0.72rem;
}

.rbtx-viewer-note {
    position: absolute;
    left: 1rem;
    bottom: 1.15rem;
    z-index: 3;
    max-width: 15rem;
    margin: 0;
    color: var(--rbtx-muted);
    font-size: 0.68rem;
    line-height: 1.45;
}

.rbtx-system-map,
.rbtx-bom-section,
.rbtx-mission-section {
    padding-block: clamp(4rem, 9vw, 8rem);
}

.rbtx-system-map {
    border-top: 1px solid var(--rbtx-line);
}

.rbtx-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.55fr);
    gap: 2rem;
    align-items: end;
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.rbtx-section-heading h2 {
    max-width: 14ch;
    margin: 0;
    font-size: clamp(2.35rem, 5.3vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.rbtx-section-heading > p {
    margin: 0;
    color: var(--rbtx-muted);
    line-height: 1.65;
}

.rbtx-system-layout {
    display: grid;
    grid-template-columns: minmax(16rem, 0.48fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 4vw, 4rem);
}

.rbtx-system-selector {
    display: grid;
    align-content: start;
    gap: 0.5rem;
}

.rbtx-system-selector [data-rbtx-system] {
    display: grid;
    grid-template-columns: 2.25rem 1fr auto;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
    padding: 0.85rem;
    border: 1px solid transparent;
    border-radius: 0.8rem;
    color: #adc2bd;
    background: transparent;
    font-size: 0.84rem;
    font-weight: 750;
    text-align: left;
    cursor: pointer;
}

.rbtx-system-selector [data-rbtx-system]::after {
    color: var(--rbtx-accent);
    content: "↗";
    opacity: 0;
}

.rbtx-system-selector [data-rbtx-system]:hover,
.rbtx-system-selector [data-rbtx-system][aria-pressed="true"],
.rbtx-system-selector [data-rbtx-system].is-active {
    border-color: rgba(185, 255, 243, 0.16);
    color: var(--rbtx-text);
    background: rgba(185, 255, 243, 0.06);
}

.rbtx-system-selector [data-rbtx-system][aria-pressed="true"]::after,
.rbtx-system-selector [data-rbtx-system].is-active::after {
    opacity: 1;
}

.rbtx-system-number {
    color: var(--rbtx-accent);
    font: 700 0.66rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.rbtx-system-detail {
    min-height: 30rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--rbtx-line);
    border-radius: var(--rbtx-radius);
    background: linear-gradient(145deg, rgba(185, 255, 243, 0.08), rgba(185, 255, 243, 0.025));
}

.rbtx-system-detail h3 {
    max-width: 16ch;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

[data-rbtx-detail-summary] {
    max-width: 42rem;
    margin: 1rem 0 2.5rem;
    color: #b5cac5;
    font-size: 1.02rem;
    line-height: 1.65;
}

.rbtx-detail-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.rbtx-detail-columns h4 {
    margin: 0 0 0.75rem;
    color: var(--rbtx-accent-soft);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

[data-rbtx-detail-assemblies],
[data-rbtx-detail-components] {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

[data-rbtx-detail-assemblies] li,
[data-rbtx-detail-components] li {
    padding: 0.65rem 0;
    border-top: 1px solid rgba(199, 255, 241, 0.11);
    color: #d8e8e4;
    font-size: 0.84rem;
}

.rbtx-bom-section,
.rbtx-mission-section {
    color: var(--rbtx-light-ink);
    background: #eff1eb;
}

.rbtx-bom-section .rbtx-eyebrow,
.rbtx-mission-section .rbtx-eyebrow {
    color: #087f71;
}

.rbtx-bom-section .rbtx-section-heading > p,
.rbtx-mission-section .rbtx-section-heading > p {
    color: var(--rbtx-light-muted);
}

.rbtx-bom-levels {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rbtx-bom-level {
    width: calc(46% + (var(--rbtx-level, 1) * 10%));
    margin-inline: auto;
}

.rbtx-bom-level details {
    border: 1px solid rgba(16, 33, 31, 0.13);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 0.75rem 2rem rgba(12, 30, 27, 0.05);
}

.rbtx-bom-level summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.2rem;
    cursor: pointer;
    list-style: none;
}

.rbtx-bom-level summary::-webkit-details-marker {
    display: none;
}

.rbtx-bom-level summary::after {
    color: #087f71;
    content: "+";
    font-size: 1.25rem;
    font-weight: 500;
}

.rbtx-bom-level details[open] summary::after {
    content: "−";
}

.rbtx-bom-level-index {
    color: #087f71;
    font: 800 0.66rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.rbtx-bom-level-name {
    font-weight: 800;
}

.rbtx-bom-level-count {
    color: #526763;
    font-size: 0.76rem;
}

.rbtx-bom-level-content {
    padding: 0 1.2rem 1.15rem 3.85rem;
    color: #516561;
    font-size: 0.8rem;
    line-height: 1.55;
}

.rbtx-bom-level-content ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
}

.rbtx-bom-level-content li {
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    color: #203b36;
    background: #e1e9e4;
}

.rbtx-mission-section {
    padding-top: 0;
}

.rbtx-mission-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    padding: clamp(1.5rem, 4vw, 3.5rem);
    border-radius: clamp(1.25rem, 3vw, 2rem);
    color: var(--rbtx-text);
    background: var(--rbtx-ink);
    box-shadow: 0 2rem 5rem rgba(16, 33, 31, 0.12);
}

#mission-profile {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

#mission-profile label {
    display: grid;
    gap: 0.45rem;
    color: #b9ccc8;
    font-size: 0.73rem;
    font-weight: 700;
}

#mission-profile select {
    width: 100%;
    min-height: 3rem;
    padding: 0.7rem 2.4rem 0.7rem 0.8rem;
    border: 1px solid rgba(199, 255, 241, 0.18);
    border-radius: 0.7rem;
    color: var(--rbtx-text);
    background: #102321;
}

#mission-profile option {
    color: #0c1f1c;
    background: #ffffff;
}

[data-rbtx-build-brief] {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 0.4rem;
}

[data-rbtx-brief-output] {
    display: grid;
    align-content: start;
    gap: 1rem;
    min-height: 14rem;
    padding: 1.35rem;
    border: 1px solid rgba(199, 255, 241, 0.16);
    border-radius: 1rem;
    background: rgba(199, 255, 241, 0.055);
}

[data-rbtx-brief-output] h3 {
    margin: 0;
    font-size: 1.45rem;
    letter-spacing: -0.03em;
}

[data-rbtx-brief-text] {
    margin: 0;
    color: #bfd1cd;
    line-height: 1.65;
    white-space: pre-line;
}

[data-rbtx-copy-brief] {
    width: fit-content;
    min-height: 2.55rem;
    margin-top: auto;
    padding: 0.55rem 0.8rem;
    font-size: 0.74rem;
}

[data-rbtx-copy-brief][hidden] {
    display: none;
}

.rbtx-flagship-stage :where(a, button, select, canvas, summary):focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(66, 230, 207, 0.5);
}

.rbtx-flagship-stage .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 68rem) {
    .rbtx-flagship-hero {
        grid-template-columns: 1fr;
    }

    .rbtx-flagship-title {
        max-width: 13ch;
    }

    #system-viewer {
        width: min(100%, 48rem);
        margin-inline: auto;
    }

    .rbtx-section-heading,
    .rbtx-system-layout,
    .rbtx-mission-panel {
        grid-template-columns: 1fr;
    }

    .rbtx-system-selector {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 44rem) {
    .rbtx-flagship-shell {
        width: min(100% - 1.25rem, 88rem);
    }

    .rbtx-flagship-hero {
        min-height: auto;
        padding-block: 2.5rem 4rem;
    }

    .rbtx-flagship-title {
        font-size: clamp(2.75rem, 15vw, 4.4rem);
    }

    .rbtx-flagship-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rbtx-viewer-shell {
        min-height: 36rem;
    }

    .rbtx-viewer-hotspots [data-rbtx-system] {
        max-width: 7.4rem;
        padding: 0.4rem 0.5rem;
        font-size: 0.6rem;
    }

    .rbtx-viewer-note {
        display: none;
    }

    .rbtx-system-selector,
    .rbtx-detail-columns,
    #mission-profile {
        grid-template-columns: 1fr;
    }

    .rbtx-bom-level {
        width: calc(86% + (var(--rbtx-level, 1) * 2.5%));
    }

    .rbtx-bom-level summary {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 0.6rem;
        padding: 0.85rem;
    }

    .rbtx-bom-level-count {
        display: none;
    }

    .rbtx-bom-level-content {
        padding: 0 0.9rem 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rbtx-flagship-stage *,
    .rbtx-flagship-stage *::before,
    .rbtx-flagship-stage *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

.rbtx-flagship-hero-section {
    position: relative;
}

.rbtx-flagship-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.rbtx-flagship-kicker > span:first-child {
    color: var(--rbtx-accent);
}

.rbtx-flagship-kicker .rbtx-concept-label {
    margin: 0;
}

.rbtx-flagship-button--primary {
    color: #05201c;
}

.rbtx-flagship-stage .rbtx-flagship-button--primary {
    color: #05201c;
}

.rbtx-bom-section .rbtx-eyebrow {
    color: #05685d;
}

.rbtx-mission-panel .rbtx-eyebrow {
    color: var(--rbtx-accent);
}

.rbtx-flagship-button--secondary {
    border-color: rgba(239, 251, 248, 0.24);
    color: var(--rbtx-text);
    background: rgba(239, 251, 248, 0.06);
    box-shadow: none;
}

.rbtx-flagship-counts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 2.5rem 0 0;
}

.rbtx-flagship-counts div {
    display: flex;
    flex-direction: column-reverse;
    gap: 0.3rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--rbtx-line);
}

.rbtx-flagship-counts dt {
    color: var(--rbtx-muted);
    font-size: 0.72rem;
}

.rbtx-flagship-counts dd {
    margin: 0;
    color: var(--rbtx-accent-soft);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.rbtx-flagship-art {
    position: relative;
    min-height: clamp(37rem, 66vw, 54rem);
    margin: 0;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.rbtx-flagship-art::after {
    position: absolute;
    right: 5%;
    bottom: 5%;
    left: 5%;
    z-index: -1;
    height: 13%;
    border-radius: 50%;
    background: rgba(66, 230, 207, 0.18);
    filter: blur(2.4rem);
    content: "";
}

.rbtx-flagship-art img {
    width: min(100%, 38rem);
    height: min(54rem, 76vw);
    object-fit: contain;
    border-radius: 2rem;
    filter: drop-shadow(0 2.5rem 4rem rgba(0, 0, 0, 0.58));
    mask-image:
        linear-gradient(to bottom, transparent 0%, black 8%, black 90%, transparent 100%),
        radial-gradient(ellipse at center, black 50%, transparent 76%);
    mask-composite: intersect;
}

.rbtx-flagship-halo {
    position: absolute;
    inset: 12% 9%;
    z-index: -1;
    border: 1px solid rgba(66, 230, 207, 0.25);
    border-radius: 50%;
    box-shadow:
        0 0 0 3.5rem rgba(66, 230, 207, 0.025),
        0 0 8rem rgba(66, 230, 207, 0.16);
}

.rbtx-art-callout {
    position: absolute;
    z-index: 2;
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(185, 255, 243, 0.22);
    border-radius: 0.7rem;
    color: #dff9f4;
    background: rgba(6, 19, 18, 0.78);
    backdrop-filter: blur(10px);
    font-size: 0.66rem;
    font-weight: 750;
}

.rbtx-art-callout--one {
    top: 23%;
    left: 0;
}

.rbtx-art-callout--two {
    right: 1%;
    bottom: 20%;
}

.rbtx-art-callout--three {
    bottom: 9%;
    left: 7%;
}

.rbtx-scroll-cue {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    width: fit-content;
    margin: -2.5rem 0 2.5rem;
    color: var(--rbtx-muted) !important;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
}

.rbtx-viewer-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 5;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    color: var(--rbtx-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rbtx-viewer-label span {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--rbtx-accent);
    box-shadow: 0 0 0.8rem rgba(66, 230, 207, 0.85);
}

.rbtx-system-layout {
    margin-top: 1.25rem;
}

.rbtx-system-detail-label {
    margin: 0 0 0.75rem;
    color: var(--rbtx-accent);
    font: 700 0.68rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rbtx-bom-section,
.rbtx-mission-section {
    box-shadow: 0 0 0 100vmax #eff1eb;
}

.rbtx-bom-pyramid > li {
    display: grid;
    grid-template-columns: 6rem minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    min-height: 4rem;
    margin-inline: auto;
    padding: 0.9rem 1.1rem;
    border: 1px solid rgba(16, 33, 31, 0.13);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 0.75rem 2rem rgba(12, 30, 27, 0.05);
}

.rbtx-bom-pyramid > li:nth-child(1) {
    width: 48%;
}

.rbtx-bom-pyramid > li:nth-child(2) {
    width: 59%;
}

.rbtx-bom-pyramid > li:nth-child(3) {
    width: 70%;
}

.rbtx-bom-pyramid > li:nth-child(4) {
    width: 81%;
}

.rbtx-bom-pyramid > li:nth-child(5) {
    width: 92%;
}

.rbtx-bom-pyramid span {
    color: #087f71;
    font: 800 0.66rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    text-transform: uppercase;
}

.rbtx-bom-pyramid strong {
    font-size: 0.95rem;
}

.rbtx-bom-pyramid b {
    color: #087f71;
    font-size: 1.35rem;
}

.rbtx-domain-worlds {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 4rem;
}

.rbtx-domain-worlds details {
    border: 1px solid rgba(16, 33, 31, 0.13);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.7);
}

.rbtx-domain-worlds summary {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
}

.rbtx-domain-worlds summary > span {
    color: #087f71;
    font: 800 0.66rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.rbtx-domain-worlds summary small {
    color: var(--rbtx-light-muted);
    font-size: 0.68rem;
}

.rbtx-world-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 0 1rem 1rem;
}

.rbtx-world-content h3 {
    margin: 0 0 0.5rem;
    color: #087f71;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rbtx-world-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rbtx-world-content li {
    padding: 0.5rem 0;
    border-top: 1px solid rgba(16, 33, 31, 0.1);
    color: #415753;
    font-size: 0.78rem;
}

.rbtx-material-families {
    display: grid;
    grid-template-columns: minmax(14rem, 0.42fr) minmax(0, 1fr);
    gap: 2rem;
    margin-top: 1rem;
    padding: clamp(1.3rem, 3vw, 2.2rem);
    border-radius: 1.2rem;
    color: var(--rbtx-text);
    background: var(--rbtx-ink);
}

.rbtx-material-families h3 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.rbtx-material-families ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rbtx-material-families li {
    height: fit-content;
    padding: 0.48rem 0.65rem;
    border: 1px solid rgba(185, 255, 243, 0.15);
    border-radius: 999px;
    color: #c9dcd8;
    background: rgba(185, 255, 243, 0.06);
    font-size: 0.73rem;
}

.rbtx-profile-intro h2 {
    max-width: 11ch;
    margin: 0;
    font-size: clamp(2.3rem, 5vw, 4.5rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
}

.rbtx-profile-intro > p:last-child {
    max-width: 34rem;
    color: #b7cbc6;
    line-height: 1.65;
}

.rbtx-mission-workspace {
    display: grid;
    gap: 1rem;
}

[data-rbtx-brief-output][hidden] {
    display: none;
}

@media (max-width: 68rem) {
    .rbtx-flagship-art {
        min-height: 42rem;
    }

    .rbtx-flagship-art img {
        height: 42rem;
    }

    .rbtx-art-callout--one {
        left: 8%;
    }
}

@media (max-width: 44rem) {
    .rbtx-flagship-counts {
        grid-template-columns: 1fr;
    }

    .rbtx-flagship-art {
        min-height: 34rem;
    }

    .rbtx-flagship-art img {
        height: 34rem;
        border-radius: 1.2rem;
    }

    .rbtx-art-callout {
        font-size: 0.58rem;
    }

    .rbtx-art-callout--one {
        left: 0;
    }

    .rbtx-bom-pyramid > li,
    .rbtx-bom-pyramid > li:nth-child(n) {
        grid-template-columns: 4.6rem minmax(0, 1fr) auto;
        width: 100%;
    }

    .rbtx-domain-worlds,
    .rbtx-world-content,
    .rbtx-material-families {
        grid-template-columns: 1fr;
    }

    .rbtx-domain-worlds summary {
        grid-template-columns: 2rem minmax(0, 1fr);
    }

    .rbtx-domain-worlds summary small {
        grid-column: 2;
    }
}
