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

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

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

    margin: 22px 0 54px !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

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


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

.sp-product {
    width: 100% !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: 0;
}


/* ==========================================================
   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: 16px;

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


.sp-purchase-card {
    position: relative;

    width: min(420px,100%);

    padding: 20px;

    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));
    }
}

