/* ==========================================================
   11SECTORS — REUSABLE SECTOR PRODUCT TEMPLATE
   ========================================================== */

#sector-products-zone {
    grid-column: 1 / -1 !important;
    clear: both !important;

    width: 100% !important;
    max-width: none !important;

    margin: -72px 0 72px !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

.sector-product-host {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* ==========================================================
   PRODUCT FRAME
   ========================================================== */

.sp-product {
    width: min(1280px, calc(100vw - 32px)) !important;

    margin: 0 auto;

    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);

    border: 1px solid #173640;

    background: #030b10;

    color: #eaf4f8;

    box-sizing: border-box;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    position: relative;

    left: -18px;
}


/* ==========================================================
   LEFT PRODUCT PANEL
   ========================================================== */

.sp-sidebar {
    min-width: 0;

    padding: 18px 16px 4px;

    border-right: 1px solid #173640;

    background: #061016;
}


.sp-product-id {
    display: flex;

    align-items: center;

    gap: 12px;
}


.sp-product-id span {
    color: #8cff00;

    font-size: 21px;
    line-height: 1;

    font-weight: 900;
}


.sp-product-id strong {
    color: #f5fafc;

    font-size: 22px;
    line-height: 1.08;

    font-weight: 900;
}


.sp-subtitle {
    margin: 7px 0 0 34px;

    color: #8cff00;

    font-size: 11px;
    line-height: 1.1;

    font-weight: 900;

    letter-spacing: .06em;

    text-transform: uppercase;
}


.sp-description {
    margin: 28px 0 16px;

    color: #b4c5ce;

    font-size: 13px;
    line-height: 1.48;
}


.sp-type-pill {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 30px;

    padding: 0 12px;

    border: 1px solid #245260;

    color: #00d8ff;

    font-size: 10px;
    line-height: 1;

    font-weight: 900;

    text-transform: uppercase;
}


/* ==========================================================
   FOUR INFORMATION BOXES
   ========================================================== */

.sp-stats {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 7px;

    margin: 14px 0;
}


.sp-stat {
    min-height: 72px;

    padding: 12px;

    border: 1px solid #173640;

    background: #050e13;

    box-sizing: border-box;
}


.sp-stat strong {
    display: block;

    margin-bottom: 8px;

    color: #f5fafc;

    font-size: 20px;
    line-height: 1;

    font-weight: 900;
}


.sp-stat span {
    display: block;

    color: #7d96a2;

    font-size: 9px;
    line-height: 1;

    font-weight: 800;

    letter-spacing: .08em;

    text-transform: uppercase;
}


/* ==========================================================
   PURCHASE AREA
   ========================================================== */

.sp-delivery {
    margin-bottom: 12px;

    border: 1px solid #173640;

    background: #050e13;
}


.sp-delivery-title {
    padding: 12px 12px 6px;

    color: #00d8ff;

    font-size: 14px;
    line-height: 1.15;

    font-weight: 900;

    text-transform: uppercase;
}


.sp-delivery-copy {
    padding: 0 12px 11px;

    border-bottom: 1px solid #173640;

    color: #f3f8fa;

    font-size: 10px;
    line-height: 1.35;

    font-weight: 700;

    white-space: nowrap;

    overflow: visible;
}


.sp-broker-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding: 12px;
}


.sp-broker-row span {
    display: block;

    margin-bottom: 5px;

    color: #00d8ff;

    font-size: 8px;

    font-weight: 800;

    text-transform: uppercase;
}


.sp-broker-row strong {
    display: block;

    color: #8cff00;

    font-size: 18px;

    font-weight: 900;
}


.sp-broker-btn {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 34px;

    padding: 0 12px;

    border: 1px solid #8cff00;

    color: #8cff00;

    text-decoration: none;

    font-size: 9px;

    font-weight: 900;

    white-space: nowrap;
}


.sp-pay-btn {
    width: 100%;

    min-height: 50px;

    border: 0;

    background: #8cff00;

    color: #001008;

    font-size: 14px;

    font-weight: 950;

    cursor: pointer;
}


/* ==========================================================
   LEFT INFORMATION ROWS
   ========================================================== */

.sp-side-row {
    display: grid;

    grid-template-columns:
        128px minmax(0, 1fr);

    gap: 10px;

    align-items: center;

    padding: 12px 0;

    border-top: 1px solid #173640;
}


.sp-side-row > strong {
    color: #f5fafc;

    font-size: 10px;

    font-weight: 900;

    text-transform: uppercase;
}


.sp-side-row p {
    margin: 0;

    color: #a8bac4;

    font-size: 11px;
    line-height: 1.45;
}


.sp-tags {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 5px;
}


.sp-tags span {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 25px;

    padding: 0 5px;

    border: 1px solid #1e4652;

    color: #dce8ed;

    font-size: 8px;

    font-weight: 800;

    text-align: center;

    text-transform: uppercase;
}


/* ==========================================================
   RIGHT MARKET PANEL
   ========================================================== */

.sp-main {
    min-width: 0;

    display: flex;
    flex-direction: column;

    background: #02090d;
}


/* ==========================================================
   TOP LIVE FEED
   ========================================================== */

.sp-feed-head {
    border-bottom: 1px solid #173640;
}


.sp-feed-brand {
    padding: 12px 12px 4px;

    color: #00d8ff;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: .08em;
}


.sp-title-row {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 12px;

    padding: 0 12px 8px;
}


.sp-feed-title {
    color: #8cff00;

    font-size: 15px;
    line-height: 1;

    font-weight: 950;

    letter-spacing: .03em;

    text-transform: uppercase;
}


.sp-feed-title em {
    color: #00d8ff;

    font-style: normal;
}


.sp-session {
    display: flex;
    flex-direction: column;

    align-items: flex-end;

    gap: 3px;

    font-size: 9px;

    font-weight: 900;

    min-width: 112px;

    text-align: right;
}


.sp-session span {
    opacity: .22;

    display: block;

    width: 100%;

    text-align: right;
}


.sp-session .is-on {
    color: #8cff00;

    opacity: .72;
}


.sp-session .is-off {
    color: #ff4f70;

    opacity: 1;
}


/* ==========================================================
   GRAPH CONTROLS
   ========================================================== */

.sp-controls {
    display: grid;

    grid-template-columns:
        auto auto auto
        1fr
        auto
        minmax(190px, 230px)
        auto;

    gap: 7px;

    align-items: center;

    padding: 0 12px 8px;
}


.sp-control {
    min-height: 31px;

    padding: 0 12px;

    border: 1px solid #214b57;

    background: #061016;

    color: #c9d8df;

    font-size: 9px;

    font-weight: 900;

    text-transform: uppercase;

    cursor: pointer;
}


.sp-control.is-active {
    border-color: #00d8ff;

    color: #00d8ff;
}


.sp-select-label {
    justify-self: end;

    color: #00d8ff;

    font-size: 8px;

    font-weight: 900;

    text-transform: uppercase;
}


.sp-select {
    height: 31px;

    min-width: 0;

    border: 1px solid #214b57;

    background: #061016;

    color: #f4f8fa;

    font-size: 10px;

    padding: 0 8px;
}


.sp-updated {
    color: #f2fbff;

    font-size: 9px;

    font-weight: 900;

    white-space: nowrap;
}


/* ==========================================================
   CAPITAL FLOW TOP PULSE
   ========================================================== */

.sp-pulse {
    display: flex;

    align-items: center;

    gap: 14px;

    min-height: 30px;

    padding: 0 12px;

    border-top: 1px solid #173640;

    background: #061016;

    overflow: hidden;

    white-space: nowrap;

    color: #9eb1bb;

    font-size: 8px;

    font-weight: 800;

    text-transform: uppercase;
}


.sp-pulse span {
    display: inline-flex;

    align-items: center;

    gap: 4px;
}


.sp-pulse span:first-child b {
    color: #00d8ff;
}


/* ==========================================================
   GRAPH
   ========================================================== */

.sp-chart-block {
    padding: 8px 12px 0;
}


.sp-chart-label {
    display: flex;

    align-items: center;

    gap: 8px;

    height: 20px;

    color: #8198a3;

    font-size: 8px;

    text-transform: uppercase;
}


.sp-chart-label span {
    color: #f4f8fa;

    font-size: 10px;

    font-weight: 900;
}


.sp-chart {
    width: 100%;

    height: 276px;

    overflow: hidden;

    border-top: 1px solid #173640;
    border-left: 1px solid #0d2a33;

    background-color: #020b10;

    background-image:
        linear-gradient(
            rgba(0,216,255,.055) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0,216,255,.055) 1px,
            transparent 1px
        );

    background-size:
        100% 54px,
        74px 100%;
}


.sp-chart svg {
    display: block;

    width: 100%;
    height: 100%;
}


/* ==========================================================
   SELECTED COMPANY INTELLIGENCE
   ========================================================== */

.sp-intelligence {
    padding: 8px 12px 0;
}


.sp-intelligence-head {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 10px;

    padding: 0 0 7px;
}


.sp-intelligence-head div span {
    display: block;

    margin-bottom: 3px;

    color: #00d8ff;

    font-size: 8px;

    font-weight: 900;

    text-transform: uppercase;
}


.sp-intelligence-head div strong {
    font-size: 15px;

    font-weight: 900;
}


.sp-intelligence-head > b {
    color: #8cff00;

    font-size: 8px;
}


.sp-intelligence-grid {
    display: grid;

    grid-template-columns:
        1.3fr
        repeat(5, minmax(0, 1fr));

    gap: 1px;

    background: #173640;
}


.sp-intelligence-grid > div {
    min-width: 0;

    padding: 9px 10px;

    background: #041016;
}


.sp-intelligence-grid span {
    display: block;

    margin-bottom: 6px;

    color: #00d8ff;

    font-size: 7px;

    font-weight: 900;

    text-transform: uppercase;
}


.sp-intelligence-grid strong {
    display: block;

    font-size: 10px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* ==========================================================
   BOTTOM LIVE BUSINESS FEED
   ========================================================== */

.sp-business-feed {
    padding: 8px 12px 12px;
}


.sp-business-head {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 0 0 7px;
}


.sp-business-head strong {
    color: #f3f8fa;

    font-size: 10px;

    font-weight: 900;
}


.sp-business-head span {
    color: #7f96a2;

    font-size: 7px;

    text-transform: uppercase;
}


/*
   SINGLE-LINE GRID SYSTEM.
   No doubled borders.
   No stacked vertical lines.
*/

.sp-cards {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 1px;

    padding: 1px;

    background: #173640;
}


.sp-card {
    min-width: 0;

    min-height: 100px;

    padding: 9px;

    border: 0;

    background: #030c11;

    color: #eaf4f8;

    text-align: left;

    cursor: pointer;

    box-sizing: border-box;
}


.sp-card:hover,
.sp-card.is-active {
    background: #07161d;

    box-shadow:
        inset 0 0 0 1px #2a6574;
}


.sp-card-head {
    display: grid;

    grid-template-columns:
        auto minmax(0,1fr) auto;

    gap: 6px;

    align-items: center;

    margin-bottom: 9px;
}


.sp-card-head > b {
    color: #00d8ff;

    font-size: 10px;

    font-weight: 900;
}


.sp-card-head > strong {
    min-width: 0;

    color: #f4f8fa;

    font-size: 11px;

    font-weight: 900;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


.sp-card-head > span {
    color: #78919c;

    font-size: 6px;

    font-weight: 900;

    text-transform: uppercase;

    white-space: nowrap;
}


.sp-card-data {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0,1fr));

    gap: 5px;
}


.sp-card-data > div {
    min-width: 0;
}


.sp-card-data span {
    display: block;

    margin-bottom: 4px;

    color: #718b97;

    font-size: 6px;

    font-weight: 900;

    text-transform: uppercase;
}


.sp-card-data strong {
    display: block;

    font-size: 10px;

    font-weight: 900;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


.sp-pos {
    color: #8cff00 !important;
}


.sp-neg {
    color: #ff4f70 !important;
}


.sp-neutral {
    color: #f4f8fa !important;
}


/* ==========================================================
   PAY PANEL
   ========================================================== */

.sp-purchase-modal {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: grid;

    place-items: center;

    padding: 20px;

    background: rgba(0,0,0,.76);
}


.sp-purchase-card {
    position: relative;

    width: min(420px,100%);

    padding: 24px;

    border: 1px solid #1e5361;

    background: #061016;

    color: #f2f8fa;
}


.sp-purchase-close {
    position: absolute;

    right: 10px;
    top: 8px;

    border: 0;

    background: transparent;

    color: #ffffff;

    font-size: 24px;

    cursor: pointer;
}


.sp-purchase-kicker {
    color: #00d8ff;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: .08em;
}


.sp-purchase-title {
    margin-top: 12px;

    font-size: 22px;

    font-weight: 900;
}


.sp-purchase-price {
    margin: 8px 0;

    color: #8cff00;

    font-size: 30px;

    font-weight: 950;
}


.sp-purchase-copy {
    color: #a9bbc4;

    font-size: 12px;
    line-height: 1.5;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1380px) {

    .sp-product {
        grid-template-columns:
            330px minmax(0,1fr);
    }

    .sp-cards {
        grid-template-columns:
            repeat(4,minmax(0,1fr));
    }

    .sp-controls {
        grid-template-columns:
            auto auto auto
            1fr
            minmax(180px,220px)
            auto;
    }

    .sp-select-label {
        display: none;
    }
}


@media (max-width: 1040px) {

    .sp-product {
        grid-template-columns: 1fr;
    }

    .sp-sidebar {
        border-right: 0;

        border-bottom:
            1px solid #173640;
    }

    .sp-cards {
        grid-template-columns:
            repeat(3,minmax(0,1fr));
    }

    .sp-intelligence-grid {
        grid-template-columns:
            repeat(3,minmax(0,1fr));
    }
}


@media (max-width: 760px) {

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

    .sp-control-spacer {
        display: none;
    }

    .sp-select,
    .sp-updated {
        grid-column: 1 / -1;

        width: 100%;
    }

    .sp-pulse {
        gap: 10px;

        overflow-x: auto;
    }

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

    .sp-card-data {
        grid-template-columns:
            repeat(3,minmax(0,1fr));
    }

    .sp-side-row {
        grid-template-columns: 1fr;
    }

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

/* CF_FRAME_LOCK_START
   ============================================================
   CAPITAL FLOW — PERMANENT FRAME GEOMETRY

   This is intentionally CSS, not click-time JavaScript.

   Business-card selection may rerender data, but it cannot
   change these dimensions or the left-panel structure.
   ============================================================ */


/* ------------------------------------------------------------
   ENTIRE PRODUCT:
   Shift exactly LEFT while preserving current width.

   Screenshot measurement:
   product was approximately 26px too far right.
   ------------------------------------------------------------ */

#capital-flow-sector .sp-product,
.sp-product[data-sector-id="capital-flow"] {
    position: relative !important;

    left: 0 !important;
    right: auto !important;

    transform: none !important;

    width: 100% !important;
    max-width: none !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    box-sizing: border-box !important;

    display: grid !important;

    grid-template-columns:
        minmax(340px, 30.5%)
        minmax(0, 69.5%) !important;

    align-items: stretch !important;

    column-gap: 0 !important;

    overflow: visible !important;
}


/* ------------------------------------------------------------
   LEFT PANEL:
   It is now physically embedded into the product frame.

   It stretches with the right side but its internal positions
   no longer depend on JavaScript or which company is selected.
   ------------------------------------------------------------ */

#capital-flow-sector .sp-sidebar,
.sp-product[data-sector-id="capital-flow"] .sp-sidebar {
    display: flex !important;

    flex-direction: column !important;

    align-self: stretch !important;

    box-sizing: border-box !important;

    height: auto !important;
    min-height: 100% !important;

    padding-top: 12px !important;
    padding-bottom: 10px !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* ------------------------------------------------------------
   Do not allow individual sidebar blocks to collapse.
   ------------------------------------------------------------ */

#capital-flow-sector .sp-sidebar > *,
.sp-product[data-sector-id="capital-flow"] .sp-sidebar > * {
    flex-shrink: 0 !important;
}


/* ------------------------------------------------------------
   CAPITAL FLOW STRATEGY ENGINE PARAGRAPH

   Give this paragraph the breathing room you requested.
   ------------------------------------------------------------ */

#capital-flow-sector .sp-description,
.sp-product[data-sector-id="capital-flow"] .sp-description {
    margin-top: 10px !important;

    margin-bottom: 16px !important;

    line-height: 1.55 !important;
}


/* ------------------------------------------------------------
   STANDARD SIDEBAR SECTIONS

   Enough spacing to fill the panel cleanly, but not the huge
   exaggerated spaces from the earlier version.
   ------------------------------------------------------------ */

#capital-flow-sector .sp-sidebar .sp-side-row,
.sp-product[data-sector-id="capital-flow"] .sp-sidebar .sp-side-row {
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding-top: 13px !important;
    padding-bottom: 13px !important;

    box-sizing: border-box !important;
}


/* ------------------------------------------------------------
   PERFORMANCE

   THIS IS THE IMPORTANT LOCK.

   Performance is pushed to the bottom by CSS every time the
   product exists — including after clicking Exxon, Goldman,
   Morgan Stanley, etc.

   No JavaScript has to reposition it.
   ------------------------------------------------------------ */

#capital-flow-sector .sp-sidebar .sp-side-row:last-of-type,
.sp-product[data-sector-id="capital-flow"] .sp-sidebar .sp-side-row:last-of-type {
    margin-top: auto !important;

    margin-bottom: 0 !important;

    padding-top: 16px !important;
    padding-bottom: 4px !important;
}


/* Performance paragraph itself ends cleanly at bottom. */

#capital-flow-sector .sp-sidebar .sp-side-row:last-of-type p,
.sp-product[data-sector-id="capital-flow"] .sp-sidebar .sp-side-row:last-of-type p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;

    line-height: 1.58 !important;
}


/* ------------------------------------------------------------
   RIGHT PRODUCT AREA

   Prevent a company selection from changing column geometry.
   ------------------------------------------------------------ */

#capital-flow-sector .sp-main,
#capital-flow-sector .sp-content,
.sp-product[data-sector-id="capital-flow"] .sp-main,
.sp-product[data-sector-id="capital-flow"] .sp-content {
    min-width: 0 !important;

    width: auto !important;

    margin-bottom: 0 !important;
    padding-bottom: 0 !important;

    box-sizing: border-box !important;
}


/* ------------------------------------------------------------
   16-BUSINESS FEED

   Keep four columns permanently.
   ------------------------------------------------------------ */

#capital-flow-sector .sp-cards,
.sp-product[data-sector-id="capital-flow"] .sp-cards {
    display: grid !important;

    grid-template-columns:
        repeat(4, minmax(0, 1fr)) !important;

    grid-template-rows:
        repeat(4, minmax(100px, 1fr)) !important;

    grid-auto-rows:
        minmax(100px, 1fr) !important;

    width: 100% !important;

    margin-bottom: 0 !important;
    padding-bottom: 0 !important;

    box-sizing: border-box !important;

    align-content: stretch !important;
}


/* Business cards cannot alter the grid dimensions. */

#capital-flow-sector .sp-card,
.sp-product[data-sector-id="capital-flow"] .sp-card {
    min-width: 0 !important;

    box-sizing: border-box !important;

    overflow: hidden !important;
}


/* Selected state may change color/border only — never size. */

#capital-flow-sector .sp-card:hover,
#capital-flow-sector .sp-card:focus,
#capital-flow-sector .sp-card.active,
#capital-flow-sector .sp-card.selected,
.sp-product[data-sector-id="capital-flow"] .sp-card:hover,
.sp-product[data-sector-id="capital-flow"] .sp-card:focus,
.sp-product[data-sector-id="capital-flow"] .sp-card.active,
.sp-product[data-sector-id="capital-flow"] .sp-card.selected {
    transform: none !important;

    width: auto !important;

    margin: 0 !important;

    box-sizing: border-box !important;
}


/* ------------------------------------------------------------
   MOBILE:
   Do NOT shift the product left on small screens.
   ------------------------------------------------------------ */

@media (max-width: 900px) {

    #capital-flow-sector .sp-product,
    .sp-product[data-sector-id="capital-flow"] {
        left: 0 !important;

        width: 100% !important;

        grid-template-columns:
            1fr !important;
    }

    #capital-flow-sector .sp-cards,
    .sp-product[data-sector-id="capital-flow"] .sp-cards {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        grid-template-rows:
            auto !important;

        grid-auto-rows:
            minmax(100px, auto) !important;
    }
}


/* CF_FRAME_LOCK_END */


/* MASTER_PAGE_RAIL_START
   ============================================================
   ONE DESKTOP LEFT / RIGHT RAIL
   ============================================================ */

:root {
    --eleven-site-rail: 1280px;
    --eleven-site-gutter: 32px;
}


/* ------------------------------------------------------------
   DESKTOP ONLY

   Every MAJOR OUTER SECTION uses the same width.
   Internal product geometry is deliberately untouched.
   ------------------------------------------------------------ */

@media (min-width: 901px) {

    /* -------------------------------
       TOP MARKET / STAT AREA
       ------------------------------- */

    .market-stats,
    .stats-grid,
    .market-facts-grid,
    .live-market-pulse,
    .market-pulse,
    [class*="market-pulse"] {
        width: min(
            var(--eleven-site-rail),
            calc(100vw - (var(--eleven-site-gutter) * 2))
        ) !important;

        max-width: var(--eleven-site-rail) !important;

        margin-left: auto !important;
        margin-right: auto !important;

        box-sizing: border-box !important;
    }


    /* -------------------------------
       SECTORS / STRATEGIES / ETC BAR
       ------------------------------- */

    .sectors-links,
    .sectors-links-row,
    .section-links-row,
    .overview-links-row,
    .links-strip,
    .links-row,
    #sectors-links,
    #sectors-nav-links {
        width: min(
            var(--eleven-site-rail),
            calc(100vw - (var(--eleven-site-gutter) * 2))
        ) !important;

        max-width: var(--eleven-site-rail) !important;

        margin-left: auto !important;
        margin-right: auto !important;

        box-sizing: border-box !important;
    }


    /* -------------------------------
       BUY → LOAD → GET PAID
       ------------------------------- */

    #buy-flow,
    .buy-flow,
    .buy-flow-row,
    .purchase-flow,
    .purchase-row,
    .cta-flow,
    .cta-row,
    .hero-cta-row {
        width: min(
            var(--eleven-site-rail),
            calc(100vw - (var(--eleven-site-gutter) * 2))
        ) !important;

        max-width: var(--eleven-site-rail) !important;

        margin-left: auto !important;
        margin-right: auto !important;

        box-sizing: border-box !important;
    }


    /* -------------------------------
       11 SECTORS COMPLETE AREA
       ------------------------------- */

    #sectors-overview,
    .sectors-overview,
    .overview-panel,
    .overview-section {
        width: min(
            var(--eleven-site-rail),
            calc(100vw - (var(--eleven-site-gutter) * 2))
        ) !important;

        max-width: var(--eleven-site-rail) !important;

        margin-left: auto !important;
        margin-right: auto !important;

        box-sizing: border-box !important;
    }


    /* Make the three definition boxes use ALL of that rail. */

    #sectors-overview .sectors-overview__grid,
    .sectors-overview .sectors-overview__grid,
    #sectors-overview .sectors-overview-grid,
    .sectors-overview .sectors-overview-grid {
        width: 100% !important;
        max-width: 100% !important;

        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        box-sizing: border-box !important;
    }


    /* -------------------------------
       CAPITAL FLOW OUTER SECTION
       ------------------------------- */

    #capital-flow-sector,
    .capital-flow-sector,
    .section-capital-flow {
        width: min(
            var(--eleven-site-rail),
            calc(100vw - (var(--eleven-site-gutter) * 2))
        ) !important;

        max-width: var(--eleven-site-rail) !important;

        margin-left: auto !important;
        margin-right: auto !important;

        position: relative !important;

        left: 0 !important;
        right: auto !important;
        transform: none !important;

        box-sizing: border-box !important;
    }


    /* Product fills its OUTER Capital Flow rail.
       No change to internal sidebar/main percentages. */

    #capital-flow-sector .sp-product,
    .capital-flow-sector .sp-product,
    .section-capital-flow .sp-product,
    .sp-product[data-sector-id="capital-flow"] {
        width: 100% !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        left: 0 !important;
        right: auto !important;
        transform: none !important;

        box-sizing: border-box !important;
    }
}


/* ------------------------------------------------------------
   PHONE / TABLET

   INTENTIONALLY LEAVE EXISTING MOBILE DESIGN ALONE.
   You said it already looks correct on the phone.
   ------------------------------------------------------------ */

@media (max-width: 900px) {

    #capital-flow-sector,
    .capital-flow-sector,
    .section-capital-flow,
    #capital-flow-sector .sp-product,
    .capital-flow-sector .sp-product,
    .section-capital-flow .sp-product,
    .sp-product[data-sector-id="capital-flow"] {
        left: 0 !important;
        transform: none !important;
    }
}


/* MASTER_PAGE_RAIL_END */
