/* Capability-based streaming topology. Server-rendered first; no JS required. */
.guide-system-topology {
    --topology-ink: #151515;
    --topology-muted: #656565;
    --topology-line: #d7d1c7;
    --topology-paper: #f4f0e9;
    --topology-card: #fff;
    --topology-lime: var(--stream-lime, #e4ff43);
    margin: 8px 0 48px;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid #d4cec4;
    background: var(--topology-paper);
    color: var(--topology-ink);
}

.guide-system-topology__header,
.guide-system-topology__section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .75fr);
    gap: clamp(22px, 4vw, 52px);
    align-items: end;
}

.guide-system-topology__header {
    margin-bottom: 20px;
}

.guide-system-topology__header h2 {
    max-width: 820px;
    margin: 7px 0 10px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.guide-system-topology__header > div:first-child > p,
.guide-system-topology__section-head > p {
    margin: 0;
    max-width: 760px;
    color: var(--topology-muted);
    line-height: 1.65;
}

.guide-system-topology__summary {
    padding: 18px;
    border: 1px solid #292929;
    background: #111;
    color: #fff;
}

.guide-system-topology__scenario,
.guide-system-topology__section-kicker,
.guide-system-topology__micro-label {
    display: block;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.guide-system-topology__scenario {
    color: var(--topology-lime);
}

.guide-system-topology__summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 13px 0;
    background: rgba(255,255,255,.14);
}

.guide-system-topology__summary-grid > div {
    padding: 12px;
    background: #191919;
}

.guide-system-topology__summary-grid strong,
.guide-system-topology__summary-grid span {
    display: block;
}

.guide-system-topology__summary-grid strong {
    font-size: 1.45rem;
    line-height: 1;
}

.guide-system-topology__summary-grid span {
    margin-top: 5px;
    color: #b8b8b8;
    font-size: .7rem;
    line-height: 1.35;
}

.guide-system-topology__summary > p {
    margin: 0;
    color: #aaa;
    font-size: .76rem;
    line-height: 1.5;
}

.guide-system-topology__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
    margin: 0 0 22px;
    padding: 11px 13px;
    border: 1px solid var(--topology-line);
    background: rgba(255,255,255,.66);
}

.guide-system-topology__legend span {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    color: #555;
    font-size: .72rem;
    font-weight: 750;
}

.guide-system-topology__legend b {
    width: 10px;
    height: 10px;
    border: 1px solid #777;
    border-radius: 999px;
    background: #fff;
}

.guide-system-topology__legend .is-core { background: #151515; border-color: #151515; }
.guide-system-topology__legend .is-conditional { background: #d6d6d6; }
.guide-system-topology__legend .is-optional { background: #fff; }
.guide-system-topology__legend .is-later { border-style: dashed; }
.guide-system-topology__legend .is-resolved { background: var(--topology-lime); border-color: #758000; }
.guide-system-topology__legend .is-missing { background: #f2d7d1; border-color: #a75b4c; }

.guide-system-topology__route-block,
.guide-system-topology__support-block,
.guide-system-topology__relationships {
    margin-top: 18px;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid var(--topology-line);
    background: rgba(255,255,255,.78);
}

.guide-system-topology__section-head {
    margin-bottom: 18px;
}

.guide-system-topology__section-head h3 {
    margin: 5px 0 0;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    line-height: 1.1;
    letter-spacing: -.025em;
}

.guide-system-topology__section-kicker {
    color: #747474;
}

.guide-system-topology__route {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.guide-system-topology__route-step {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    align-items: center;
}

.guide-system-topology__node {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 100%;
    padding: 15px;
    border: 1px solid #d7d7d7;
    border-top: 4px solid #777;
    background: var(--topology-card);
    box-shadow: 0 8px 20px rgba(30,24,18,.05);
}

.guide-system-topology__node--resolved { border-top-color: #84931d; }
.guide-system-topology__node--missing { border-top-color: #a85c4b; }
.guide-system-topology__node--customer { border-top-color: #4a6c83; }
.guide-system-topology__node--external { border-top-color: #6b5b84; }
.guide-system-topology__node--conditional { border-top-color: #a9a9a9; }
.guide-system-topology__node--optional { border-top-color: #c9c9c9; }
.guide-system-topology__node--later { border-top-style: dashed; border-top-color: #939393; }

.guide-system-topology__node-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 9px;
    color: #777;
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.guide-system-topology__node h4 {
    min-height: 2.45em;
    margin: 0 0 8px;
    font-size: clamp(.9rem, 1.45vw, 1.08rem);
    line-height: 1.22;
}

.guide-system-topology__state {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    margin-bottom: 9px;
    padding: 4px 7px;
    border: 1px solid #c8c8c8;
    background: #f4f4f4;
    font-size: .62rem;
    font-weight: 850;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: .045em;
}

.guide-system-topology__state--resolved { background: #eff8bd; border-color: #a4b34b; }
.guide-system-topology__state--missing { background: #f8e8e4; border-color: #d4a094; }
.guide-system-topology__state--customer { background: #e8f0f5; border-color: #9db4c3; }
.guide-system-topology__state--external { background: #eeeaf4; border-color: #b6a7c8; }

.guide-system-topology__node > p {
    margin: 0 0 12px;
    color: #686868;
    font-size: .73rem;
    line-height: 1.5;
}

.guide-system-topology__connector {
    flex: 0 0 64px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    padding: 5px;
    color: #575757;
    text-align: center;
}

.guide-system-topology__connector-type {
    font-size: .61rem;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.guide-system-topology__connector-arrow {
    font-size: 1.35rem;
    font-weight: 900;
    line-height: .9;
}

.guide-system-topology__connector-arrow--mobile { display: none; }

.guide-system-topology__connector small {
    max-width: 62px;
    color: #888;
    font-size: .55rem;
    line-height: 1.25;
}

.guide-system-topology__connector--supported { color: #647315; }
.guide-system-topology__connector--unknown { color: #8b6b17; }
.guide-system-topology__connector--blocked { color: #a1493b; }

.guide-system-topology__products {
    display: grid;
    gap: 7px;
    margin: 12px 0;
    padding: 9px;
    border: 1px solid #e4e0d9;
    background: #faf8f5;
}

.guide-system-topology__micro-label {
    color: #777;
    font-size: .58rem;
}

.guide-system-topology__product a,
.guide-system-topology__product strong {
    display: block;
    color: #1e1e1e;
    font-size: .75rem;
    font-weight: 850;
    line-height: 1.3;
}

.guide-system-topology__product > span {
    display: inline-flex;
    margin-top: 3px;
    padding: 2px 5px;
    background: #191919;
    color: var(--topology-lime);
    font-size: .55rem;
    font-weight: 800;
    text-transform: uppercase;
}

.guide-system-topology__product small {
    display: block;
    margin-top: 4px;
    color: #777;
    font-size: .65rem;
    line-height: 1.4;
}

.guide-system-topology__alternatives,
.guide-system-topology__companions {
    display: grid;
    gap: 7px;
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid #dedad3;
}

.guide-system-topology__companions {
    border-top-style: dashed;
}

.guide-system-topology__product.is-primary {
    padding: 8px;
    border: 1px solid #d9d4cb;
    background: #fff;
}

.guide-system-topology__product.is-alternative,
.guide-system-topology__product.is-companion {
    padding: 7px 8px;
    background: #fff;
}

.guide-system-topology__product.is-companion {
    border-left: 3px solid #9eaf2b;
}

.guide-system-topology__commerce-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 8px;
    align-items: center;
    margin-top: 5px;
    color: #666;
    font-size: .62rem;
    line-height: 1.3;
}

.guide-system-topology__commerce-meta b {
    color: #222;
    font-size: .7rem;
}

.guide-system-topology__commerce-meta span {
    display: inline-flex;
    padding: 2px 5px;
    border: 1px solid #d4d0c8;
    background: #f5f2ed;
    color: #555;
    font-size: .56rem;
    font-weight: 800;
    text-transform: uppercase;
}

.guide-system-topology__commerce-meta .is-stock-in_stock {
    border-color: #aab867;
    background: #f0f6cd;
    color: #5b6817;
}

.guide-system-topology__commerce-meta .is-stock-preorder {
    border-color: #c4ad72;
    background: #f8f0da;
    color: #725919;
}

.guide-system-topology__coverage-badge {
    display: inline-flex !important;
    margin-top: 6px !important;
    padding: 3px 6px !important;
    background: #171717 !important;
    color: var(--topology-lime) !important;
    font-size: .55rem !important;
    line-height: 1.25;
    text-transform: uppercase;
}

.guide-system-topology__category-fallback {
    display: grid;
    gap: 5px;
    margin: 10px 0 4px;
    padding: 8px 9px;
    border: 1px dashed #bdb6ab;
    background: #faf7f2;
}

.guide-system-topology__category-fallback > span {
    color: #806f57;
    font-size: .58rem;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.guide-system-topology__browse {
    display: inline-flex;
    margin: 3px 0 11px;
    padding-bottom: 2px;
    border-bottom: 1px solid #222;
    color: #222;
    font-size: .72rem;
    font-weight: 850;
    text-decoration: none;
}

.guide-system-topology__from-to {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
}

.guide-system-topology__from-to > div {
    padding-top: 8px;
    border-top: 1px solid #e8e5df;
}

.guide-system-topology__from-to dt {
    margin-bottom: 4px;
    color: #7a7a7a;
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.guide-system-topology__from-to dd {
    display: grid;
    gap: 3px;
    margin: 0;
    color: #333;
    font-size: .67rem;
    line-height: 1.35;
}

.guide-system-topology__from-to em {
    margin-left: 3px;
    color: #8a8a8a;
    font-size: .58rem;
    font-style: normal;
    text-transform: uppercase;
}

.guide-system-topology__support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.guide-system-topology__node--support {
    min-height: 0;
}

.guide-system-topology__node--support h4 {
    min-height: 0;
}

.guide-system-topology__relationship-list {
    display: grid;
    gap: 6px;
}

.guide-system-topology__relationship {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 28px minmax(0, 1.1fr) minmax(90px, .55fr) minmax(145px, .85fr);
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #dedbd5;
    background: #fff;
}

.guide-system-topology__relationship > div > span {
    display: block;
    margin-bottom: 2px;
    color: #8a8a8a;
    font-size: .56rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.guide-system-topology__relationship strong {
    display: block;
    color: #282828;
    font-size: .7rem;
    line-height: 1.3;
}

.guide-system-topology__relationship-arrow {
    color: #777;
    font-size: 1rem;
    font-weight: 900;
    text-align: center;
}

.guide-system-topology.is-enhanced .guide-system-topology__relationship {
    cursor: pointer;
    transition: opacity .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.guide-system-topology.is-enhanced .guide-system-topology__relationship:hover,
.guide-system-topology.is-enhanced .guide-system-topology__relationship:focus-visible,
.guide-system-topology.is-enhanced .guide-system-topology__relationship.is-selected {
    border-color: #171717;
    box-shadow: inset 4px 0 0 var(--topology-lime);
    outline: none;
}

.guide-system-topology.is-enhanced .guide-system-topology__relationship.is-related {
    border-color: #a8a8a8;
}

.guide-system-topology.is-enhanced .guide-system-topology__relationship.is-dimmed {
    opacity: .32;
}

.guide-system-topology__evidence--supported { color: #637019 !important; }
.guide-system-topology__evidence--unknown { color: #8a6817 !important; }
.guide-system-topology__evidence--blocked { color: #a0483b !important; }

.guide-system-topology__note,
.guide-system-topology__empty {
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid #2a2a2a;
    background: #111;
    color: #fff;
    font-size: .77rem;
    line-height: 1.55;
}

.guide-system-topology__note strong,
.guide-system-topology__note span,
.guide-system-topology__empty strong,
.guide-system-topology__empty span {
    display: block;
}

.guide-system-topology__note span,
.guide-system-topology__empty span {
    margin-top: 3px;
    color: #bbb;
}

@media (max-width: 1060px) {
    .guide-system-topology__route {
        display: grid;
        gap: 0;
    }

    .guide-system-topology__route-step {
        display: grid;
        grid-template-columns: 1fr;
    }

    .guide-system-topology__node h4 {
        min-height: 0;
    }

    .guide-system-topology__connector {
        width: auto;
        min-height: 66px;
        padding: 8px;
    }

    .guide-system-topology__connector-arrow--desktop { display: none; }
    .guide-system-topology__connector-arrow--mobile { display: inline; }

    .guide-system-topology__connector small {
        max-width: none;
    }
}

@media (max-width: 820px) {
    .guide-system-topology {
        padding: 22px 16px;
    }

    .guide-system-topology__header,
    .guide-system-topology__section-head {
        grid-template-columns: 1fr;
        gap: 14px;
    }

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

    .guide-system-topology__relationship {
        grid-template-columns: 1fr 24px 1fr;
    }

    .guide-system-topology__relationship > div:nth-child(4),
    .guide-system-topology__relationship > div:nth-child(5) {
        grid-column: 1 / -1;
        padding-top: 7px;
        border-top: 1px solid #ece8e1;
    }
}

@media (max-width: 560px) {
    .guide-system-topology__summary-grid,
    .guide-system-topology__support-grid {
        grid-template-columns: 1fr;
    }

    .guide-system-topology__legend {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guide-system-topology__relationship {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .guide-system-topology__relationship-arrow {
        text-align: left;
        transform: rotate(90deg);
        transform-origin: center;
        width: 18px;
    }

    .guide-system-topology__relationship > div:nth-child(4),
    .guide-system-topology__relationship > div:nth-child(5) {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .guide-system-topology * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}


/* Phase 3C progressive interaction layer. */
.guide-system-topology__scenario-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 18px;
}

.guide-system-topology__scenario-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid #cfc9bf;
    background: rgba(255,255,255,.74);
    color: #393939;
    font-size: .7rem;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
}

.guide-system-topology__scenario-nav a:hover,
.guide-system-topology__scenario-nav a:focus-visible,
.guide-system-topology__scenario-nav a[aria-current="true"] {
    border-color: #171717;
    background: #171717;
    color: #fff;
    outline: none;
}

.guide-system-topology__scenario-nav a[aria-current="true"]::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 999px;
    background: var(--topology-lime);
}

.guide-system-topology.is-enhanced .guide-system-topology__static {
    display: none;
}

.guide-system-topology__interactive {
    margin: 0 0 18px;
    padding: clamp(17px, 3vw, 26px);
    border: 1px solid #252525;
    background: #111;
    color: #fff;
}

.guide-system-topology__interactive-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 15px;
}

.guide-system-topology__interactive-head h3 {
    margin: 5px 0 0;
    color: #fff;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    letter-spacing: -.025em;
}

.guide-system-topology__interactive .guide-system-topology__section-kicker {
    color: #a7a7a7;
}

.guide-system-topology__live-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(115px, 1fr));
    gap: 1px;
    min-width: 270px;
    background: rgba(255,255,255,.15);
}

.guide-system-topology__live-summary > div {
    padding: 10px 12px;
    background: #1a1a1a;
}

.guide-system-topology__live-summary strong,
.guide-system-topology__live-summary span {
    display: block;
}

.guide-system-topology__live-summary strong {
    color: var(--topology-lime);
    font-size: 1.25rem;
    line-height: 1;
}

.guide-system-topology__live-summary span {
    margin-top: 4px;
    color: #aaa;
    font-size: .62rem;
    line-height: 1.3;
}

.guide-system-topology__ownership-summary {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin: 0 0 15px;
    padding: 12px 14px;
    border: 1px solid rgba(228,255,67,.28);
    background: #181a1b;
}

.guide-system-topology__ownership-summary > div {
    min-width: 0;
}

.guide-system-topology__ownership-summary strong,
.guide-system-topology__ownership-summary > div > span:last-child {
    display: block;
}

.guide-system-topology__ownership-summary strong {
    margin-top: 4px;
    color: #fff;
    font-size: .86rem;
    line-height: 1.3;
}

.guide-system-topology__ownership-summary > div > span:last-child {
    margin-top: 4px;
    color: #b7b7b7;
    font-size: .67rem;
    line-height: 1.45;
}

.guide-system-topology__ownership-summary button,
.guide-system-topology__ownership-button {
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid #6a6f72;
    background: #25282a;
    color: #fff;
    font-size: .65rem;
    font-weight: 850;
    line-height: 1.2;
    cursor: pointer;
}

.guide-system-topology__ownership-summary button:hover:not(:disabled),
.guide-system-topology__ownership-summary button:focus-visible,
.guide-system-topology__ownership-button:hover:not(:disabled),
.guide-system-topology__ownership-button:focus-visible {
    border-color: var(--topology-lime);
    outline: none;
}

.guide-system-topology__ownership-summary button:disabled,
.guide-system-topology__ownership-button:disabled {
    opacity: .45;
    cursor: default;
}

.guide-system-topology__ownership-button[aria-pressed="true"] {
    border-color: var(--topology-lime);
    background: var(--topology-lime);
    color: #111;
}

.guide-system-topology__ownership-button.is-product {
    border-style: dashed;
}

.guide-system-topology__ownership-controls {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(228,255,67,.2);
    background: #151718;
}

.guide-system-topology__ownership-status {
    margin: 6px 0 9px !important;
    color: #d0d0d0 !important;
}

.guide-system-topology__ownership-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.guide-system-topology__ownership-coverage,
.guide-system-topology__ownership-local-note {
    display: block;
    margin-top: 8px;
    color: #9ea3a5;
    font-size: .61rem;
    line-height: 1.45;
}

.guide-system-topology__ownership-coverage {
    color: var(--topology-lime);
}

.guide-system-topology__interactive-node-wrap.is-owned .guide-system-topology__interactive-node {
    border-color: #9eaf2b;
    background: #29301f;
    box-shadow: inset 0 0 0 1px rgba(228,255,67,.22), 0 12px 30px rgba(0,0,0,.24);
}

.guide-system-topology__owned-badge {
    display: inline-flex;
    margin-top: 6px;
    padding: 3px 6px;
    border-radius: 999px;
    background: var(--topology-lime);
    color: #111;
    font-size: .55rem;
    font-weight: 900;
    letter-spacing: .035em;
    line-height: 1.2;
    text-transform: uppercase;
}

.guide-system-topology__complete {
    margin: 0 0 15px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.14);
    background: #151718;
}

.guide-system-topology__complete-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 13px;
}

.guide-system-topology__complete-head h3 {
    margin: 4px 0 0;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.25;
}

.guide-system-topology__complete-status {
    max-width: 360px;
    padding: 9px 11px;
    border: 1px solid #595f62;
    background: #202325;
    color: #c8c8c8;
    font-size: .66rem;
    font-weight: 750;
    line-height: 1.45;
}

.guide-system-topology__complete-status.is-ready {
    border-color: #8ea02a;
    color: #dff35b;
}

.guide-system-topology__complete-status.is-preorder {
    border-color: #ad8c3e;
    color: #f0d27f;
}

.guide-system-topology__complete-status.is-blocked {
    border-color: #a85c4b;
    color: #efb4a8;
}

.guide-system-topology__complete-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.guide-system-topology__purchase-group {
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.1);
    background: #1c1f20;
}

.guide-system-topology__purchase-group.is-optional {
    border-style: dashed;
}

.guide-system-topology__purchase-group-head {
    margin-bottom: 8px;
}

.guide-system-topology__purchase-group-head strong,
.guide-system-topology__purchase-group-head span {
    display: block;
}

.guide-system-topology__purchase-group-head strong {
    color: #fff;
    font-size: .75rem;
}

.guide-system-topology__purchase-group-head span {
    margin-top: 3px;
    color: #969b9d;
    font-size: .58rem;
    line-height: 1.35;
}

.guide-system-topology__purchase-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 9px 0;
    border-top: 1px solid rgba(255,255,255,.08);
}

.guide-system-topology__purchase-row:first-child {
    border-top: 0;
}

.guide-system-topology__purchase-row a,
.guide-system-topology__purchase-row > div:first-child > strong {
    display: block;
    color: #fff;
    font-size: .72rem;
    font-weight: 850;
    line-height: 1.3;
}

.guide-system-topology__purchase-row > div:first-child > span {
    display: block;
    margin-top: 3px;
    color: #8f9598;
    font-size: .58rem;
    line-height: 1.35;
}

.guide-system-topology__purchase-row-meta {
    display: grid;
    justify-items: end;
    gap: 4px;
}

.guide-system-topology__purchase-row-meta strong {
    color: #fff;
    font-size: .72rem;
    white-space: nowrap;
}

.guide-system-topology__purchase-row-meta span {
    padding: 2px 5px;
    border: 1px solid #555b5d;
    color: #b8b8b8;
    font-size: .53rem;
    font-weight: 800;
    text-transform: uppercase;
}

.guide-system-topology__purchase-row-meta .is-stock-in_stock {
    border-color: #8fa032;
    color: #dff35b;
}

.guide-system-topology__purchase-row-meta .is-stock-preorder {
    border-color: #ad8c3e;
    color: #f0d27f;
}

.guide-system-topology__purchase-empty {
    margin: 0;
    padding: 10px 0;
    color: #92989a;
    font-size: .65rem;
    line-height: 1.45;
}

.guide-system-topology__subtotal {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.13);
}

.guide-system-topology__subtotal span {
    color: #9ca1a3;
    font-size: .62rem;
    font-weight: 750;
    text-transform: uppercase;
}

.guide-system-topology__subtotal strong {
    color: var(--topology-lime);
    font-size: .86rem;
}

.guide-system-topology__blockers {
    margin-top: 10px;
    padding: 11px 12px;
    border: 1px solid #a85c4b;
    background: #2a1c19;
}

.guide-system-topology__blockers strong {
    color: #efb4a8;
    font-size: .72rem;
}

.guide-system-topology__blockers ul {
    display: grid;
    gap: 4px;
    margin: 7px 0 0;
    padding-left: 18px;
    color: #c8aaa4;
    font-size: .63rem;
    line-height: 1.45;
}

.guide-system-topology__budget {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(150px, 220px) minmax(190px, 1fr);
    gap: 10px;
    align-items: center;
    margin-top: 10px;
    padding: 11px 12px;
    border: 1px solid rgba(255,255,255,.1);
    background: #1c1f20;
}

.guide-system-topology__budget label span,
.guide-system-topology__budget label small {
    display: block;
}

.guide-system-topology__budget label span {
    color: #fff;
    font-size: .68rem;
    font-weight: 850;
}

.guide-system-topology__budget label small {
    margin-top: 3px;
    color: #8f9598;
    font-size: .57rem;
    line-height: 1.35;
}

.guide-system-topology__budget > div {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    border: 1px solid #555b5d;
    background: #111;
}

.guide-system-topology__budget > div > span {
    padding-left: 9px;
    color: #9ca1a3;
    font-size: .65rem;
    font-weight: 850;
}

.guide-system-topology__budget input {
    min-width: 0;
    width: 100%;
    padding: 8px;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: .72rem;
    outline: none;
}

.guide-system-topology__budget > strong {
    color: #aaa;
    font-size: .64rem;
    line-height: 1.4;
}

.guide-system-topology__budget > strong.is-within {
    color: #dff35b;
}

.guide-system-topology__budget > strong.is-over,
.guide-system-topology__budget > strong.is-unavailable {
    color: #efb4a8;
}

.guide-system-topology__complete-note {
    margin: 10px 0 0;
    color: #858b8e;
    font-size: .58rem;
    line-height: 1.5;
}

.guide-system-topology__interactive-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.guide-system-topology__canvas {
    position: relative;
    min-height: 620px;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(255,255,255,.13);
    background:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
        #181a1b;
    background-size: 42px 42px;
    cursor: grab;
    scrollbar-color: #555b5d #151718;
    scrollbar-width: thin;
}

.guide-system-topology__canvas:focus-visible {
    outline: 2px solid var(--topology-lime);
    outline-offset: 2px;
}

.guide-system-topology__canvas.is-panning {
    cursor: grabbing;
    user-select: none;
}

.guide-system-topology__pan-hint {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 4;
    padding: 5px 7px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(17,19,20,.88);
    color: #bfc4c6;
    font-size: .58rem;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
    pointer-events: none;
}

.guide-system-topology__svg {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.guide-system-topology__svg marker path {
    fill: #8e9396;
}

.guide-system-topology__node-layer {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(6, minmax(156px, 1fr));
    grid-template-rows: repeat(3, minmax(150px, auto));
    gap: 42px 26px;
    min-width: 1140px;
    min-height: 620px;
    padding: 34px 28px;
    align-items: center;
}

.guide-system-topology__interactive-node-wrap {
    min-width: 0;
    align-self: center;
    transition: opacity .18s ease, transform .18s ease;
}

.guide-system-topology__interactive-node {
    width: 100%;
    min-height: 108px;
    padding: 12px;
    border: 1px solid #52575a;
    border-top: 4px solid #767b7e;
    border-radius: 8px;
    background: #25282a;
    color: #fff;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0,0,0,.24);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.guide-system-topology__interactive-node:hover,
.guide-system-topology__interactive-node:focus-visible,
.guide-system-topology__interactive-node-wrap.is-selected .guide-system-topology__interactive-node {
    border-color: var(--topology-lime);
    box-shadow: 0 0 0 2px var(--topology-lime), 0 16px 36px rgba(0,0,0,.34);
    outline: none;
    transform: translateY(-2px);
}

.guide-system-topology__interactive-node-wrap.is-related .guide-system-topology__interactive-node {
    border-color: #c0c0c0;
    background: #2c3032;
}

.guide-system-topology__interactive-node-wrap.is-dimmed {
    opacity: .26;
}

.guide-system-topology__interactive-node--resolved { border-top-color: var(--topology-lime); }
.guide-system-topology__interactive-node--missing { border-top-color: #d38170; }
.guide-system-topology__interactive-node--customer { border-top-color: #82a9c0; }
.guide-system-topology__interactive-node--external { border-top-color: #b19ac9; }
.guide-system-topology__interactive-node--conditional { border-top-color: #aaa; }
.guide-system-topology__interactive-node--optional { border-top-color: #767676; }
.guide-system-topology__interactive-node--later { border-top-style: dashed; }

.guide-system-topology__interactive-node-meta,
.guide-system-topology__interactive-node-state {
    display: block;
    color: #9ba0a3;
    font-size: .56rem;
    font-weight: 850;
    letter-spacing: .055em;
    line-height: 1.3;
    text-transform: uppercase;
}

.guide-system-topology__interactive-node strong {
    display: block;
    margin: 6px 0 8px;
    color: #fff;
    font-size: .88rem;
    line-height: 1.28;
}

.guide-system-topology__interactive-node-state {
    color: var(--topology-lime);
}

.guide-system-topology__interactive-node-more {
    color: #9ea5a8 !important;
    font-size: .57rem !important;
}

.guide-system-topology__interactive-node small {
    display: -webkit-box;
    margin-top: 7px;
    overflow: hidden;
    color: #c6c6c6;
    font-size: .62rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.guide-system-topology__edge-group {
    transition: opacity .18s ease;
}

.guide-system-topology__edge {
    fill: none;
    stroke: #8e9396;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
}

.guide-system-topology__edge-hit {
    fill: none;
    stroke: transparent;
    stroke-width: 18;
    vector-effect: non-scaling-stroke;
    pointer-events: stroke;
    cursor: pointer;
}

.guide-system-topology__edge-hit:focus {
    stroke: rgba(228,255,67,.22);
    outline: none;
}

.guide-system-topology__edge-group--audio .guide-system-topology__edge {
    stroke-dasharray: 7 5;
}

.guide-system-topology__edge-group--control .guide-system-topology__edge {
    stroke-dasharray: 3 5;
}

.guide-system-topology__edge-group--power .guide-system-topology__edge {
    stroke-dasharray: 2 7;
}

.guide-system-topology__edge-group--network .guide-system-topology__edge {
    stroke-dasharray: 10 5;
}

.guide-system-topology__edge-group--influence .guide-system-topology__edge {
    stroke-dasharray: 1 7;
}

.guide-system-topology__edge-group--supported .guide-system-topology__edge {
    stroke: #9eaf2b;
    stroke-width: 2.5;
}

.guide-system-topology__edge-group--unknown .guide-system-topology__edge {
    stroke: #bd912f;
    stroke-dasharray: 7 5;
}

.guide-system-topology__edge-group--blocked .guide-system-topology__edge {
    stroke: #d16c5b;
    stroke-width: 3;
}

.guide-system-topology__edge-group.is-related .guide-system-topology__edge,
.guide-system-topology__edge-group.is-selected .guide-system-topology__edge {
    stroke: var(--topology-lime);
    stroke-width: 3.5;
}

.guide-system-topology__edge-group.is-dimmed {
    opacity: .12;
}

.guide-system-topology__inspector {
    position: static;
    min-height: 0;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.15);
    background: #1b1d1e;
    color: #fff;
}

.guide-system-topology__inspector h3 {
    margin: 7px 0 9px;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.2;
}

.guide-system-topology__inspector > div > p,
.guide-system-topology__inspector-relations > p {
    margin: 0;
    color: #b9b9b9;
    font-size: .75rem;
    line-height: 1.55;
}

.guide-system-topology__inspector .guide-system-topology__state {
    margin-bottom: 10px;
    color: #111;
}

.guide-system-topology__inspector .guide-system-topology__browse {
    /*border-color: var(--topology-lime);*/
    /*color: var(--topology-lime);*/
}

.guide-system-topology__inspector-alternatives,
.guide-system-topology__inspector-companions {
    display: grid;
    gap: 8px;
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.guide-system-topology__inspector-companions {
    border-top-style: dashed;
}

.guide-system-topology__inspector-products,
.guide-system-topology__inspector-relations,
.guide-system-topology__inspector-edge-facts {
    margin-top: 16px;
    padding-top: 13px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.guide-system-topology__inspector-product {
    margin-top: 9px;
    padding: 10px;
    background: #25282a;
}

.guide-system-topology__inspector-product a,
.guide-system-topology__inspector-product strong {
    color: #fff;
    font-size: .78rem;
    font-weight: 850;
}

.guide-system-topology__inspector-product .guide-system-topology__commerce-meta {
    margin-top: 7px;
    color: #b8b8b8;
}

.guide-system-topology__inspector-product .guide-system-topology__commerce-meta b {
    color: #fff;
}

.guide-system-topology__inspector-product > span {
    display: inline-flex;
    margin-top: 5px;
    padding: 3px 5px;
    background: var(--topology-lime);
    color: #111;
    font-size: .55rem;
    font-weight: 900;
    text-transform: uppercase;
}

.guide-system-topology__inspector-product p,
.guide-system-topology__inspector-product small {
    display: block;
    margin: 5px 0 0;
    color: #bcbcbc;
    font-size: .68rem;
    line-height: 1.45;
}

.guide-system-topology__inspector-relations ul {
    display: grid;
    gap: 6px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.guide-system-topology__inspector-relations li {
    padding: 8px;
    background: #25282a;
}

.guide-system-topology__inspector-relations strong,
.guide-system-topology__inspector-relations span {
    display: block;
}

.guide-system-topology__inspector-relations strong {
    color: #fff;
    font-size: .72rem;
}

.guide-system-topology__inspector-relations span {
    margin-top: 3px;
    color: #a9a9a9;
    font-size: .62rem;
}

.guide-system-topology__inspector-edge-facts {
    display: grid;
    gap: 7px;
}

.guide-system-topology__inspector-edge-facts > div {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 8px;
}

.guide-system-topology__inspector-edge-facts dt {
    color: #8f9699;
    font-size: .62rem;
    font-weight: 850;
    text-transform: uppercase;
}

.guide-system-topology__inspector-edge-facts dd {
    margin: 0;
    color: #fff;
    font-size: .72rem;
    font-weight: 750;
}

.guide-system-topology__interactive-mobile-note {
    margin: 12px 0 0;
    color: #8e9497;
    font-size: .65rem;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .guide-system-topology__complete-head,
    .guide-system-topology__complete-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .guide-system-topology__complete-status {
        max-width: none;
    }

    .guide-system-topology__budget {
        grid-template-columns: 1fr;
    }

    .guide-system-topology__ownership-summary {
        display: grid;
    }

    .guide-system-topology__ownership-summary button {
        justify-self: start;
    }

    .guide-system-topology__interactive-layout {
        grid-template-columns: 1fr;
    }

    .guide-system-topology__canvas {
        min-height: 0;
        overflow: visible;
        border: 0;
        background: transparent;
        cursor: auto;
    }

    .guide-system-topology__pan-hint {
        display: none;
    }

    .guide-system-topology__svg {
        display: none;
    }

    .guide-system-topology__node-layer {
        display: flex;
        flex-direction: column;
        gap: 9px;
        min-width: 0;
        min-height: 0;
        padding: 0;
    }

    .guide-system-topology__interactive-node-wrap {
        width: 100%;
        opacity: 1 !important;
        transform: none !important;
    }

    .guide-system-topology__interactive-node {
        min-height: 0;
    }

    .guide-system-topology__inspector {
        position: static;
        min-height: 0;
    }
}

@media (max-width: 620px) {
    .guide-system-topology__purchase-row {
        grid-template-columns: 1fr;
    }

    .guide-system-topology__purchase-row-meta {
        justify-items: start;
    }

    .guide-system-topology__ownership-actions {
        display: grid;
    }

    .guide-system-topology__ownership-button {
        width: 100%;
        text-align: left;
    }

    .guide-system-topology__interactive {
        margin-left: -8px;
        margin-right: -8px;
        padding: 16px 10px;
    }

    .guide-system-topology__interactive-head {
        display: grid;
        gap: 12px;
    }

    .guide-system-topology__live-summary {
        min-width: 0;
    }

    .guide-system-topology__scenario-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guide-system-topology__scenario-nav a {
        justify-content: flex-start;
        white-space: normal;
    }
}
