/* Revision297: removed obsolete fixed-width configuration-register rules.
   Their rows now consume the shared register; map, lineage and receipt rules retained. */
/* Revision296.3: shared hero rules extracted; deployment body, state/data and artwork composition preserved. */
/* Revision293.2: restored pre-293 presentation; unavailable ledger summaries remain neutral. */
/* Environmental Solution Deployment Details
   Real implementation control: scope -> assets -> evidence -> method -> ledger. */

.deployment-details-page,
.deployment-details-page * {
    box-sizing: border-box;
}

.deployment-details-page {
    --deployment-panel: rgba(3, 24, 39, .94);
    --deployment-panel-soft: rgba(5, 36, 52, .72);
    --deployment-line: rgba(82, 217, 255, .2);
    --deployment-copy: #c8dbe5;
    --deployment-muted: #92aebb;
}

.deployment-emblem > span::after {
    position: absolute;
    inset: 9px;
    border: 1px dashed rgba(82, 217, 255, .48);
    border-radius: 10px;
    content: "";
}

.deployment-evidence-launch {
    position: relative;
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    overflow: hidden;
    padding: 10px 13px 10px 15px;
    border: 1px solid rgba(85, 238, 155, .58);
    border-radius: 7px;
    color: #eafff1;
    background:
        linear-gradient(90deg, rgba(31, 190, 116, .18), rgba(7, 49, 61, .74)),
        rgba(3, 28, 39, .9);
    box-shadow:
        inset 3px 0 0 rgba(85, 238, 155, .88),
        0 0 22px rgba(32, 208, 128, .07);
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.deployment-evidence-launch::after {
    position: absolute;
    right: -38px;
    width: 105px;
    height: 105px;
    border: 1px solid rgba(82, 217, 255, .13);
    border-radius: 50%;
    content: "";
}

.deployment-evidence-launch > span,
.deployment-evidence-launch > b {
    position: relative;
    z-index: 1;
}

.deployment-evidence-launch > span {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.deployment-evidence-launch small {
    color: #69dfff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
}

.deployment-evidence-launch strong {
    overflow: hidden;
    color: #f2fff7;
    font-size: 12px;
    font-weight: 820;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.deployment-evidence-launch > b {
    flex: 0 0 auto;
    color: #68f0a0;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .07em;
}

.deployment-evidence-launch:hover {
    border-color: rgba(85, 238, 155, .92);
    color: #fff;
    background:
        linear-gradient(90deg, rgba(31, 190, 116, .28), rgba(9, 67, 76, .83)),
        rgba(3, 31, 43, .94);
    box-shadow:
        inset 3px 0 0 #55ee9b,
        0 0 26px rgba(32, 208, 128, .12);
}

.deployment-evidence-launch:focus-visible {
    outline: 2px solid rgba(120, 234, 255, .82);
    outline-offset: 2px;
}

.deployment-readout-strip {
    display: grid;
    grid-template-columns: 1.2fr repeat(5, minmax(112px, 1fr));
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--deployment-line);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(82, 217, 255, .045), transparent 45%, rgba(85, 238, 155, .035)),
        rgba(3, 23, 37, .92);
}

.deployment-readout-strip > div {
    position: relative;
    min-width: 0;
    min-height: 86px;
    padding: 14px 14px 12px;
}

.deployment-readout-strip > div + div {
    border-left: 1px solid rgba(82, 217, 255, .15);
}

.deployment-readout-strip > div::before {
    position: absolute;
    top: 0;
    right: 14px;
    left: 14px;
    height: 1px;
    opacity: .7;
    background: linear-gradient(90deg, var(--solutions-cyan), transparent);
    content: "";
}

.deployment-readout-strip > div.accounted::before {
    background: linear-gradient(90deg, var(--solutions-green), transparent);
}

.deployment-readout-strip span,
.deployment-readout-strip small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.deployment-readout-strip span {
    color: #8fb2c1;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .075em;
}

.deployment-readout-strip strong {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    color: var(--solutions-cyan);
    font-family: var(--eco-font-heading);
    font-size: 22px;
    font-weight: 680;
    letter-spacing: -.025em;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.deployment-readout-strip .accounted strong {
    color: var(--solutions-green);
}

.deployment-readout-strip small {
    margin-top: 6px;
    color: #a8bec9;
    font-size: 12px;
}

.deployment-section-header {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(82, 217, 255, .15);
    background:
        linear-gradient(90deg, rgba(82, 217, 255, .055), transparent 47%),
        rgba(2, 20, 33, .66);
}

.deployment-section-header > div {
    min-width: 0;
}

.deployment-section-header > div > span {
    display: block;
    color: var(--solutions-cyan);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
}

.deployment-section-header h2 {
    margin: 5px 0 0;
    color: #f7fcff;
    font-size: clamp(20px, 1.9vw, 27px);
    font-weight: 690;
    letter-spacing: -.03em;
    line-height: 1.08;
}

.deployment-section-header p {
    max-width: 780px;
    margin: 7px 0 0;
    color: var(--deployment-copy);
    font-size: 12px;
    line-height: 1.5;
}

.deployment-section-header > b,
.deployment-asof {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid rgba(82, 217, 255, .28);
    border-radius: 5px;
    color: #9be8ff;
    background: rgba(4, 45, 63, .42);
    font-size: 12px;
    letter-spacing: .075em;
    white-space: nowrap;
}

.deployment-section-header dl,
.deployment-section-header dl div {
    margin: 0;
}

.deployment-section-header dl {
    display: flex;
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid rgba(82, 217, 255, .2);
    border-radius: 6px;
}

.deployment-section-header dl div {
    min-width: 78px;
    padding: 8px 11px;
    text-align: center;
}

.deployment-section-header dl div + div {
    border-left: 1px solid rgba(82, 217, 255, .14);
}

.deployment-section-header dt {
    color: #8ca8b5;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
}

.deployment-section-header dd {
    margin: 3px 0 0;
    color: var(--solutions-cyan);
    font-size: 17px;
    font-weight: 760;
}

.deployment-command-map {
    position: relative;
    overflow: hidden;
}

.deployment-command-map::after {
    position: absolute;
    inset: 82px 0 0;
    pointer-events: none;
    opacity: .28;
    background-image:
        linear-gradient(rgba(82, 217, 255, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(82, 217, 255, .08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
    content: "";
}

.deployment-flow-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(145px, 1fr) 34px minmax(145px, 1fr) 34px minmax(145px, 1fr) 34px minmax(145px, 1fr) 34px minmax(145px, 1fr);
    min-width: 0;
    align-items: stretch;
    padding: 30px 20px 28px;
}

.deployment-flow-node {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 176px;
    flex-direction: column;
    padding: 18px 15px 15px;
    overflow: hidden;
    border: 1px solid rgba(82, 217, 255, .22);
    border-radius: 8px;
    background:
        radial-gradient(circle at 100% 0, rgba(82, 217, 255, .11), transparent 45%),
        rgba(3, 27, 42, .91);
    box-shadow: inset 0 1px 0 rgba(157, 235, 255, .04), 0 12px 24px rgba(0, 7, 14, .16);
}

.deployment-flow-node::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: #708998;
    content: "";
}

.deployment-flow-node.is-ready {
    border-color: rgba(85, 238, 155, .32);
    background:
        radial-gradient(circle at 100% 0, rgba(85, 238, 155, .12), transparent 45%),
        rgba(3, 34, 40, .93);
}

.deployment-flow-node.is-ready::after {
    background: var(--solutions-green);
    box-shadow: 0 0 12px rgba(85, 238, 155, .62);
}

.deployment-flow-node.is-warning {
    border-color: rgba(245, 200, 76, .36);
    background: radial-gradient(circle at 100% 0, rgba(245, 200, 76, .11), transparent 45%), rgba(34, 29, 14, .91);
}

.deployment-flow-node.is-warning::after {
    background: var(--solutions-gold);
}

.flow-index {
    position: absolute;
    top: 13px;
    right: 13px;
    color: rgba(135, 213, 235, .55);
    font-family: var(--eco-font-heading);
    font-size: 19px;
}

.flow-light {
    width: 11px;
    height: 11px;
    margin-bottom: 21px;
    border: 2px solid rgba(132, 165, 178, .52);
    border-radius: 50%;
    background: #78909b;
}

.is-ready > .flow-light {
    border-color: rgba(85, 238, 155, .38);
    background: var(--solutions-green);
    box-shadow: 0 0 14px rgba(85, 238, 155, .84);
}

.is-warning > .flow-light {
    border-color: rgba(245, 200, 76, .4);
    background: var(--solutions-gold);
    box-shadow: 0 0 12px rgba(245, 200, 76, .7);
}

.deployment-flow-node small {
    color: #88b5c6;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.deployment-flow-node > strong {
    margin-top: 6px;
    overflow: hidden;
    color: #f3fbff;
    font-size: 13px;
    line-height: 1.3;
    text-overflow: ellipsis;
}

.deployment-flow-node p {
    margin: 7px 0 12px;
    color: #a8c0cb;
    font-size: 12px;
    line-height: 1.45;
}

.deployment-flow-node > b {
    margin-top: auto;
    color: #a9bbc4;
    font-size: 12px;
    letter-spacing: .065em;
}

.deployment-flow-node.is-ready > b {
    color: var(--solutions-green-soft);
}

.deployment-flow-node.is-warning > b {
    color: #ffe07c;
}

/* Reporting navigation stays readable when the control map becomes cards. */
.deployment-details-page .deployment-report-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    min-height: 44px;
    margin-top: 12px;
    padding-top: 9px;
    border-top: 1px solid rgba(82, 217, 255, .25);
    color: #93eaff;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
    text-decoration: none;
}
.deployment-details-page .deployment-report-link > span:first-child { min-width: 0; }
.deployment-details-page .deployment-report-link > span:last-child { flex: 0 0 auto; }
.deployment-details-page .deployment-report-link:hover { color: #f5fbff; text-decoration: underline; }

.deployment-flow-link {
    position: relative;
    display: grid;
    min-width: 0;
    place-items: center;
    color: var(--solutions-cyan);
}

.deployment-flow-link i {
    position: absolute;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(82, 217, 255, .2), rgba(82, 217, 255, .8));
}

.deployment-flow-link b {
    position: relative;
    z-index: 1;
    padding: 3px;
    background: #052033;
    font-size: 15px;
    font-weight: 400;
}

.deployment-map-rule {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px;
    border-top: 1px solid rgba(82, 217, 255, .14);
    background: rgba(2, 18, 30, .82);
}

.deployment-map-rule span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #a8c0cc;
    font-size: 12px;
    font-weight: 720;
}

.deployment-map-rule span i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--solutions-cyan);
    box-shadow: 0 0 8px rgba(82, 217, 255, .58);
}

.deployment-map-rule span.ready i {
    background: var(--solutions-green);
}

.deployment-map-rule > b {
    color: #5c8c9e;
    font-weight: 450;
}
.deployment-lineage {
    min-width: 0;
}
.deployment-lineage-list {
    display: grid;
}
.deployment-lineage-row + .deployment-lineage-row {
    border-top: 1px solid rgba(82, 217, 255, .13);
}
.lineage-state {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 8px;
    border: 1px solid rgba(128, 153, 164, .24);
    border-radius: 999px;
    color: #b2c3ca;
    background: rgba(38, 51, 58, .4);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .055em;
    white-space: nowrap;
}

.deployment-section-header.compact {
    min-height: 138px;
    align-items: flex-start;
}

.deployment-section-header.compact h2 {
    max-width: 560px;
    font-size: 21px;
}

.deployment-empty-state {
    display: flex;
    min-height: 90px;
    align-items: center;
    gap: 13px;
    padding: 18px 20px;
    color: #a9bdc7;
}

.deployment-empty-state.prominent {
    min-height: 130px;
    justify-content: center;
    text-align: center;
}

.deployment-empty-state > i {
    width: 11px;
    height: 11px;
    flex: 0 0 auto;
    border: 2px solid rgba(245, 200, 76, .35);
    border-radius: 50%;
    background: var(--solutions-gold);
    box-shadow: 0 0 12px rgba(245, 200, 76, .65);
}

.deployment-empty-state strong,
.deployment-empty-state small {
    display: block;
}

.deployment-empty-state strong {
    color: #edf8fc;
    font-size: 13px;
}

.deployment-empty-state small {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.45;
}

.lineage-header {
    align-items: flex-end;
}

.lineage-filter {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) minmax(130px, 1fr) auto;
    flex: 0 1 440px;
    align-items: end;
    gap: 8px;
}

.lineage-filter label span {
    display: block;
    margin-bottom: 4px;
    color: #8eacb9;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .07em;
}

.lineage-filter input,
.lineage-filter button {
    width: 100%;
    min-height: 36px;
    border: 1px solid rgba(82, 217, 255, .24);
    border-radius: 5px;
    color: #dff6ff;
    background: rgba(3, 32, 48, .82);
    font: inherit;
    font-size: 12px;
}

.lineage-filter input {
    padding: 7px 9px;
    color-scheme: dark;
}

.lineage-filter button {
    padding: 7px 12px;
    color: #032231;
    background: var(--solutions-cyan);
    font-weight: 850;
    cursor: pointer;
}

.lineage-filter input:focus-visible,
.lineage-filter button:focus-visible,
.lineage-pagination a:focus-visible {
    outline: 2px solid var(--solutions-cyan-soft);
    outline-offset: 2px;
}

.deployment-lineage-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 30px minmax(180px, 1fr) 30px minmax(180px, 1fr) auto;
    min-width: 0;
    align-items: center;
    gap: 8px;
    padding: 15px 18px;
    background: linear-gradient(90deg, rgba(82, 217, 255, .025), transparent 60%);
}

.deployment-lineage-row::before {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 0;
    width: 2px;
    background: var(--solutions-cyan);
    content: "";
}

.deployment-lineage-row.is-accounted::before {
    background: var(--solutions-green);
    box-shadow: 0 0 9px rgba(85, 238, 155, .55);
}

.lineage-source,
.lineage-run,
.lineage-ledger {
    min-width: 0;
    min-height: 92px;
    padding: 11px 12px;
    border: 1px solid rgba(82, 217, 255, .14);
    border-radius: 5px;
    background: rgba(3, 29, 44, .62);
}

.deployment-lineage-row.is-accounted .lineage-ledger {
    border-color: rgba(85, 238, 155, .3);
    background: rgba(4, 48, 40, .44);
}

.deployment-lineage-row small,
.deployment-lineage-row strong,
.deployment-lineage-row p,
.deployment-lineage-row em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.deployment-lineage-row small {
    color: #87a9b7;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .075em;
}

.deployment-lineage-row strong {
    margin-top: 5px;
    color: #effaff;
    font-size: 12px;
}

.deployment-lineage-row p,
.deployment-lineage-row em {
    margin: 4px 0 0;
    color: #a5bcc7;
    font-size: 12px;
    font-style: normal;
}

.deployment-lineage-row em {
    color: #7fabbc;
}

.lineage-arrow {
    color: var(--solutions-cyan);
    font-size: 16px;
    text-align: center;
}

.deployment-lineage-row.is-accounted .lineage-state {
    border-color: rgba(85, 238, 155, .28);
    color: var(--solutions-green-soft);
    background: rgba(7, 61, 44, .38);
}

.lineage-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 18px;
    border-top: 1px solid rgba(82, 217, 255, .13);
    background: rgba(2, 18, 30, .7);
}

.lineage-pagination > span {
    color: #8faeba;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
}

.lineage-pagination > div {
    display: flex;
    gap: 8px;
}

.lineage-pagination a {
    padding: 7px 10px;
    border: 1px solid rgba(82, 217, 255, .25);
    border-radius: 4px;
    color: #a9edff;
    background: rgba(4, 43, 60, .46);
    font-size: 12px;
    font-weight: 780;
    text-decoration: none;
}

.deployment-continuation-gate {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(560px, 1.6fr);
    min-width: 0;
    align-items: center;
    gap: 20px;
    padding: 15px 18px;
    overflow: hidden;
    border: 1px solid rgba(82, 217, 255, .21);
    border-radius: 8px;
    background:
        radial-gradient(circle at 100% 0, rgba(85, 238, 155, .07), transparent 36%),
        rgba(3, 22, 36, .92);
}

.deployment-continuation-gate > div {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

.deployment-continuation-gate > div > i {
    width: 11px;
    height: 11px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--solutions-green);
    box-shadow: 0 0 13px rgba(85, 238, 155, .8);
}

.deployment-continuation-gate small,
.deployment-continuation-gate strong,
.deployment-continuation-gate p {
    display: block;
}

.deployment-continuation-gate small {
    color: #83a7b7;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .075em;
}

.deployment-continuation-gate strong {
    margin-top: 3px;
    color: #f2fbff;
    font-size: 12px;
}

.deployment-continuation-gate p {
    max-width: 530px;
    margin: 4px 0 0;
    color: #a7bdc7;
    font-size: 12px;
    line-height: 1.4;
}

.deployment-continuation-gate nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
    gap: 8px;
}

.deployment-next-action {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 71px;
    padding: 10px 11px;
    border: 1px solid rgba(82, 217, 255, .19);
    border-radius: 5px;
    background: rgba(4, 34, 50, .58);
}

.deployment-next-action strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.deployment-next-action > b {
    display: block;
    margin-top: 7px;
    color: var(--solutions-gold);
    font-size: 12px;
    letter-spacing: .055em;
}

.deployment-next-action.is-disabled {
    cursor: not-allowed;
    opacity: .78;
}

@container (max-width: 1180px) {
    .deployment-readout-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .deployment-readout-strip > div:nth-child(4) {
        border-left: 0;
    }

    .deployment-readout-strip > div:nth-child(n + 4) {
        border-top: 1px solid rgba(82, 217, 255, .15);
    }

    .deployment-flow-grid {
        grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
        grid-template-areas:
            "scope link1 assets link2 evidence"
            ". . link3 . ."
            ". . method link4 result";
        gap: 12px 0;
    }

    .deployment-flow-node.scope { grid-area: scope; }
    .deployment-flow-node.assets { grid-area: assets; }
    .deployment-flow-node.evidence { grid-area: evidence; }
    .deployment-flow-node.method { grid-area: method; }
    .deployment-flow-node.result { grid-area: result; }
    .deployment-flow-link:nth-of-type(1) { grid-area: link1; }
    .deployment-flow-link:nth-of-type(2) { grid-area: link2; }
    .deployment-flow-link:nth-of-type(3) { grid-area: link3; transform: rotate(90deg); }
    .deployment-flow-link:nth-of-type(4) { grid-area: link4; }

    .deployment-section-header.compact {
        min-height: auto;
    }

    .deployment-lineage-row {
        grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr);
    }

    .deployment-lineage-row .lineage-state {
        grid-column: 1 / -1;
        justify-self: end;
    }

    .deployment-continuation-gate {
        grid-template-columns: minmax(0, 1fr);
    }
}

@container (max-width: 930px) {

    .deployment-flow-grid {
        grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
        grid-template-areas:
            "scope link1 assets"
            ". link2 evidence"
            "method link3 evidence"
            "method link4 result";
    }

    .deployment-flow-link:nth-of-type(2),
.deployment-flow-link:nth-of-type(3) {
        transform: none;
    }

    .deployment-flow-link:nth-of-type(2) {
        transform: rotate(90deg);
    }

    .deployment-map-rule {
        flex-wrap: wrap;
        justify-content: center;
    }

    .lineage-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .lineage-filter {
        width: 100%;
        flex-basis: auto;
    }

    .deployment-lineage-row {
        grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
    }

    .deployment-lineage-row .lineage-source { grid-column: 1; }
    .deployment-lineage-row .lineage-arrow:nth-of-type(1) { grid-column: 2; }
    .deployment-lineage-row .lineage-run { grid-column: 3; }
    .deployment-lineage-row .lineage-arrow:nth-of-type(2) { grid-column: 2; grid-row: 2; transform: rotate(90deg); }
    .deployment-lineage-row .lineage-ledger { grid-column: 3; grid-row: 2; }
    .deployment-lineage-row .lineage-state { grid-column: 1; grid-row: 2; justify-self: start; }
}

@container (max-width: 700px) {
    .deployment-readout-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .deployment-readout-strip > div:nth-child(odd) {
        border-left: 0;
    }

    .deployment-readout-strip > div:nth-child(n + 3) {
        border-top: 1px solid rgba(82, 217, 255, .15);
    }

    .deployment-section-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px;
    }

    .deployment-flow-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "scope"
            "link1"
            "assets"
            "link2"
            "evidence"
            "link3"
            "method"
            "link4"
            "result";
        gap: 0;
        padding: 18px 14px;
    }

    .deployment-flow-node {
        min-height: 138px;
    }

    .deployment-flow-link {
        width: 1px;
        height: 24px;
        justify-self: center;
        transform: rotate(90deg) !important;
    }

    .deployment-flow-link i {
        right: -12px;
        left: -12px;
    }

    .deployment-map-rule > b {
        display: none;
    }

    .deployment-map-rule span {
        flex: 1 1 42%;
    }

    .lineage-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lineage-filter button {
        grid-column: 1 / -1;
    }

    .deployment-lineage-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 7px;
    }

    .deployment-lineage-row .lineage-source,
.deployment-lineage-row .lineage-run,
.deployment-lineage-row .lineage-ledger,
.deployment-lineage-row .lineage-state {
        grid-column: 1;
        grid-row: auto;
    }

    .deployment-lineage-row .lineage-arrow:nth-of-type(1),
.deployment-lineage-row .lineage-arrow:nth-of-type(2) {
        grid-column: 1;
        grid-row: auto;
        transform: rotate(90deg);
    }

    .deployment-lineage-row .lineage-state {
        justify-self: start;
    }

    .deployment-continuation-gate nav {
        grid-template-columns: minmax(0, 1fr);
    }
}

@container (max-width: 520px) {

    .deployment-readout-strip strong {
        font-size: 19px;
    }

    .deployment-map-rule {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .deployment-map-rule span {
        min-height: 26px;
    }

    .lineage-filter {
        grid-template-columns: minmax(0, 1fr);
    }

    .lineage-filter button {
        grid-column: auto;
    }

    .lineage-pagination {
        align-items: flex-start;
        flex-direction: column;
    }

    .deployment-continuation-gate {
        padding: 14px;
    }
}

@media (forced-colors: active) {
.deployment-evidence-launch,
.deployment-readout-strip,
.deployment-flow-node,
.lineage-source,
.lineage-run,
.lineage-ledger,
.deployment-continuation-gate,
.deployment-next-action {
        border-color: CanvasText;
        color: CanvasText;
        background: Canvas;
        box-shadow: none;
    }
.flow-light,
.deployment-continuation-gate > div > i {
        forced-color-adjust: none;
        background: Highlight;
        box-shadow: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .deployment-evidence-launch,
.deployment-flow-node,
.deployment-next-action,
.lineage-filter button {
        transition: none;
    }
}

/* Readable, scoped Environmental Solutions standard. No global component overrides. */
.deployment-details-page { container: deployment-page / inline-size; color: #deedf5; font-size: var(--eco-font-size-body); line-height: var(--eco-line-height-body); --deployment-line: var(--eco-border-color-strong); }
.deployment-details-page :is(header,section,article,aside,nav,form,dl,div) { min-width: 0; }
.deployment-details-page :is(a,button,input,select,summary):focus-visible { outline: 2px solid #a5eaff; outline-offset: 3px; }
.deployment-details-page .deployment-readout-strip { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); border: 1px solid var(--deployment-line); border-radius: 8px; background: linear-gradient(105deg,#031724,#05222d); overflow: hidden; }
.deployment-details-page .deployment-readout-strip > div { min-height: 99px; padding: 13px 16px; border: 0; border-left: 1px solid var(--deployment-line); gap: 5px; }
.deployment-details-page .deployment-readout-strip > div:first-child { border-left: 0; }
.deployment-details-page .deployment-readout-strip > div > span { font-size: 11px; color: #bfdeed; line-height: 1.4; }
.deployment-details-page .deployment-readout-strip strong { font-size: 28px; line-height: 1.15; color: #59d9ff; font-variant-numeric: tabular-nums; white-space: normal; overflow-wrap: anywhere; }
.deployment-details-page .deployment-readout-strip > div:first-child strong { font-size: 17px; }
.deployment-details-page .deployment-readout-strip > div:nth-child(2n):not(.is-unavailable) strong { color: #67efad; }
.deployment-details-page .deployment-readout-strip > div.is-unavailable strong { color: var(--solutions-muted); font-size: 17px; }
.deployment-details-page .deployment-readout-strip small { font-size: 12px; line-height: 1.45; color: #a9c3d0; white-space: normal; }
.deployment-details-page .solutions-register { border-color: var(--deployment-line); background: #041d2c; }
.deployment-details-page .deployment-section-header { padding: 16px 18px; flex-wrap: wrap; gap: 14px; background: linear-gradient(90deg,rgba(82,217,255,.025) 1px,transparent 1px) 0 0 / 46px 46px,#082332; }
.deployment-details-page .deployment-section-header h2 { margin: 4px 0; font-size: 22px; line-height: 1.25; }
.deployment-details-page .deployment-section-header p { font-size: 13px; line-height: 1.55; }
.deployment-details-page .deployment-section-header > div > span { font-size: 11px; color: #79dfff; letter-spacing: .06em; }
.deployment-details-page .deployment-text-action { display: inline-flex; gap: 12px; align-items: center; font-size: 13px; color: #88ddff; text-decoration: none; }
.deployment-details-page .deployment-overline { display: block; color: #82dcff; font-size: 11px; font-weight: 750; letter-spacing: .055em; }
.deployment-details-page .deployment-location { scroll-margin-top: 85px; overflow: hidden; }
.deployment-location-selector { display: grid; grid-template-columns: minmax(140px,.28fr) minmax(0,1fr); gap: 15px; margin: 0 18px; padding: 15px 0; border-bottom: 1px solid var(--deployment-line); align-items: center; }
.deployment-location-selector label { color: #93dcf5; font-size: 13px; font-weight: 650; }
.deployment-location-selector label small { display: block; color: #9ebac8; font-size: 12px; font-weight: 400; }
.deployment-location-selector > div { display: grid; grid-template-columns: minmax(0,1fr) max-content; }
.deployment-location-selector select { width: 100%; min-width: 0; height: 44px; border: 1px solid #397186; border-radius: 6px 0 0 6px; color: #e0f1f8; background: #062335; padding: 0 12px; font: inherit; font-size: 14px; text-overflow: ellipsis; color-scheme: dark; }
.deployment-location-selector button { display: inline-flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 44px; padding: 10px 15px; border: 1px solid #62b9d9; border-radius: 0 6px 6px 0; color: #aeebff; background: #0a2a3d; font: inherit; font-weight: 650; font-size: 13px; cursor: pointer; }
.deployment-location-selector :is(select,button):hover { border-color: #93dcf5; background: #10374b; }
.deployment-location-layout { display: grid; grid-template-columns: minmax(0,2fr) minmax(290px,1fr); }
.deployment-position-panel { display: flex; flex-direction: column; gap: 22px; padding: 22px; background: radial-gradient(ellipse at 14% 22%,rgba(27,129,165,.1),transparent 70%),#031c2e; }
.deployment-position-head { display: flex; align-items: flex-start; gap: 18px; }
.deployment-position-glyph { width: 76px; flex: 0 0 76px; fill: none; stroke: #62cceb; stroke-width: 1; }
.deployment-position-head h3 { font-size: 24px; line-height: 1.2; margin: 6px 0 10px; color: #ecf6fc; }
.deployment-position-head p { color: #b8d2df; margin: 0; font-size: 14px; max-width: 65ch; }
.deployment-coordinates { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 0; padding: 16px 0; border-block: 1px solid var(--deployment-line); }
.deployment-coordinates dt { color: #a9cbdc; font-size: 12px; }
.deployment-coordinates dd { color: #67ddff; font-size: clamp(20px,2cqw,30px); font-weight: 500; line-height: 1.5; margin: 2px 0 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.deployment-coordinates dd small { color: #a9cbdc; font-size: 12px; margin-left: 6px; }
.deployment-location-meta { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; margin: 0; }
.deployment-location-meta dt { color: #86bad1; font-size: 12px; }
.deployment-location-meta dd { margin: 4px 0 0; color: #d9ecf5; font-size: 13px; font-variant-numeric: tabular-nums; }
.deployment-position-footer { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--deployment-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; }
.deployment-position-footer > span { color: #9dbbca; }
.deployment-position-footer i { display: inline-block; width: 6px; height: 6px; border: 1px solid #83c6dd; border-radius: 50%; margin-right: 5px; }
.deployment-details-page :is(.deployment-location,.deployment-continue) a { color: #8bdeff; text-decoration: none; }
.deployment-details-page :is(.deployment-location,.deployment-continue) a:hover { color: #d4f5ff; text-decoration: underline; }
.deployment-evidence-snapshot { padding: 22px; border-left: 1px solid var(--deployment-line); background: #082635; }
.deployment-evidence-snapshot > .deployment-overline { color: #83e7b4; }
.deployment-evidence-snapshot h3 { font-size: 19px; margin: 6px 0 16px; line-height: 1.3; }
.deployment-evidence-snapshot dl { margin: 0; }
.deployment-evidence-snapshot dl > div { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--deployment-line); }
.deployment-evidence-snapshot dt { font-size: 13px; font-weight: 400; }
.deployment-evidence-snapshot dd { font-size: 24px; line-height: 1.3; font-variant-numeric: tabular-nums; margin: 0; }
.deployment-review-state { display: grid; gap: 2px; margin-top: 16px; padding-left: 12px; border-left: 2px solid #f6ca59; }
.deployment-review-state strong { font-size: 14px; color: #f4d581; }
.deployment-review-state small { font-size: 12px; color: #a7c1cd; }
.deployment-evidence-snapshot nav { display: grid; gap: 8px; margin-top: 18px; font-size: 13px; }
.deployment-location :is(.deployment-location-history,.deployment-location-notes) { margin: 0; border-top: 1px solid var(--deployment-line); }
.deployment-location summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; color: #99dfff; font-size: 13px; font-weight: 650; }
.deployment-location summary::-webkit-details-marker { display: none; }
.deployment-location summary small { color: #a1bdcc; margin-left: 8px; font-size: 12px; font-weight: 400; }
.deployment-location details[open] > summary .deployment-disclosure-mark { transform: rotate(180deg); }
.deployment-location summary:hover { background: #0a2b3d; }
.deployment-history-note { margin: 0; padding: 0 18px 14px; color: #a9c8d5; font-size: 12px; }
.deployment-gps-table { padding: 0 18px 16px; }
.deployment-gps-heading,
.deployment-gps-row { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1.5fr) minmax(0,1fr) minmax(0,.6fr); gap: 18px; padding: 12px 14px; }
.deployment-gps-heading { color: #94b9cd; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.deployment-gps-row { border: 1px solid var(--deployment-line); border-radius: 6px; margin-top: 7px; background: #082534; align-items: start; }
.deployment-gps-row > div { display: grid; gap: 5px; }
.deployment-gps-row strong { font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.deployment-gps-row small,
.deployment-gps-row a { font-size: 12px; color: #adc8d7; line-height: 1.5; }
.deployment-gps-row .gps-status.positive { color: #7ae4ae; }
.deployment-gps-row .gps-status.review { color: #f5d17a; }
.deployment-gps-row .gps-field-label { display: none; }
.deployment-location-notes > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; padding: 0 18px 18px; }
.deployment-location-notes h4 { font-size: 14px; color: #cae9f5; margin: 0 0 7px; }
.deployment-location-notes p { margin: 0 0 8px; color: #a8c6d4; font-size: 13px; }
.deployment-details-page .deployment-continue { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 18px; background: #082333; border: 1px solid var(--deployment-line); border-radius: 8px; }
.deployment-continue h2 { margin: 4px 0; font-size: 20px; }
.deployment-continue p { margin: 0; font-size: 13px; color: #b6cedb; }
.deployment-continue nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; }
@container deployment-page (max-width: 1100px) {
    .deployment-details-page .deployment-readout-strip { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .deployment-details-page .deployment-readout-strip > div:nth-child(3n+1) { border-left: 0; }
    .deployment-details-page .deployment-readout-strip > div:nth-child(n+4) { border-top: 1px solid var(--deployment-line); }
    .deployment-location-layout { grid-template-columns: minmax(0,1fr); }
    .deployment-evidence-snapshot { border-left: 0; border-top: 1px solid var(--deployment-line); }
    .deployment-evidence-snapshot dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
    .deployment-evidence-snapshot dl > div { flex-wrap: wrap; }
    .deployment-gps-heading { display: none; }
    .deployment-gps-row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
    .deployment-gps-row .gps-field-label { display: block; color: #80b9d0; font-size: 11px; }
}
@container deployment-page (max-width: 640px) {
    .deployment-details-page .deployment-readout-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .deployment-details-page .deployment-readout-strip > div { border-left: 1px solid var(--deployment-line); }
    .deployment-details-page .deployment-readout-strip > div:nth-child(2n+1) { border-left: 0; }
    .deployment-details-page .deployment-readout-strip > div:nth-child(n+3) { border-top: 1px solid var(--deployment-line); }
    .deployment-location-selector { grid-template-columns: minmax(0,1fr); gap: 8px; }
    .deployment-position-head { gap: 12px; }
    .deployment-position-glyph { width: 45px; flex-basis: 45px; }
    .deployment-position-head h3 { font-size: 21px; }
    .deployment-position-panel,
.deployment-evidence-snapshot { padding: 18px; }
    .deployment-location-meta,
.deployment-coordinates,
.deployment-location-notes > div,
.deployment-gps-row,
.deployment-evidence-snapshot dl { grid-template-columns: minmax(0,1fr); }
    .deployment-coordinates > div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
    .deployment-location summary small { display: block; margin: 4px 0 0; }
}
@container deployment-page (max-width: 420px) {
    .deployment-location-selector > div { grid-template-columns: minmax(0,1fr); gap: 8px; }
    .deployment-location-selector select,
.deployment-location-selector button { border-radius: 6px; }
}
@media print {
    .deployment-location-selector,
.deployment-position-footer a,
.deployment-location summary { display: none; }
    .deployment-position-panel,
.deployment-evidence-snapshot,
.deployment-gps-row { background: white; color: black; }
}
@media (forced-colors: active) {
    .deployment-location :is(select,button,article,aside,summary) { border-color: CanvasText; background: Canvas; color: CanvasText; }
    .deployment-position-glyph { stroke: CanvasText; }
}
