.ds-home .ds-hero {
    display: grid;
    gap: 16px;
    margin-bottom: 22px;
}

.ds-home .ds-hero__banner {
    min-height: 220px;
}

.ds-home .ds-hero__banner .ds-kicker {
    color: #bfdbfe;
}

.ds-home .ds-hero__banner h1 {
    margin: 8px 0 0;
    color: #fff !important;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.04em;
}

.ds-home .ds-hero__banner p {
    max-width: 640px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.88);
}

.ds-home .ds-kpi {
    min-height: 148px;
}

.ds-home .ds-spark {
    display: block;
    margin-top: 10px;
    width: 100%;
    height: 36px;
}

.ds-home .ds-gauge {
    display: block;
    margin-top: 10px;
    width: 120px;
    height: 58px;
}

.ds-home .ds-market-chart {
    width: 100%;
    height: 200px;
}

.ds-home .ds-market-chart .ds-spark {
    width: 100%;
    height: 200px;
}

.ds-home .ds-market-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 14px;
    margin-bottom: 22px;
}

.ds-home .ds-board {
    display: grid;
    grid-template-columns: 1.6fr 0.9fr 0.9fr;
    gap: 14px;
}

.ds-home .ds-market-rail {
    display: grid;
    gap: 14px;
    align-content: start;
}

.ds-home .ds-market-rail .ds-list em {
    margin-left: 6px;
    font-style: normal;
    font-weight: 800;
}

.ds-home .ds-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ds-home .ds-list li,
.ds-home .ds-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.ds-home .ds-ticker {
    overflow: hidden;
    margin-bottom: 22px;
}

.ds-home .ds-ticker__track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: ds-marquee 42s linear infinite;
}

.ds-home .ds-ticker__item {
    display: flex;
    gap: 8px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
}

.ds-home .ds-cat-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.ds-home .ds-cat-card {
    display: block;
    overflow: hidden;
    text-decoration: none !important;
}

.ds-home .ds-cat-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    background: #e2e8f0;
}

.ds-home .ds-cat-card div {
    padding: 12px;
}

@keyframes ds-marquee {
    to { transform: translateX(-50%); }
}

@media (max-width: 1100px) {
    .ds-home .ds-market-stage,
    .ds-home .ds-board,
    .ds-home .ds-cat-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .ds-home .ds-hero__banner {
        min-height: 180px;
        padding: 24px 18px;
    }

    .ds-home .ds-kpi-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ds-home .ds-market-stage,
    .ds-home .ds-board,
    .ds-home .ds-cat-cards {
        grid-template-columns: 1fr;
    }
}

/* Let the home dashboard use the viewport while leaving other redesigned pages capped. */
html.ds-theme body.sd-rd--home .sd-main {
    width: auto !important;
    max-width: none !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 767px) {
    html.ds-theme body.sd-rd--home .sd-main {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
}

/* The eight-page redesign is opt-in. Keep the public home overrides inside its body scope. */
body.sd-rd--home .ds-home {
    padding: 0 0 56px;
}

body.sd-rd--home .ds-home > .ds-wrap {
    display: grid;
    gap: 18px;
}

body.sd-rd--home .ds-home .ds-hero {
    gap: 10px;
    margin: 0;
}

body.sd-rd--home .ds-home .ds-hero__banner {
    min-height: 148px;
    padding: 23px 28px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(5, 24, 57, .95) 0%, rgba(8, 37, 81, .89) 42%, rgba(11, 47, 96, .18) 100%), url("../img/ds-hero-mountain.jpg") center 45% / cover no-repeat;
}

body.sd-rd--home .ds-home .ds-hero__banner .ds-kicker {
    margin: 0;
    color: #c2ddff;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .12em;
}

body.sd-rd--home .ds-home .ds-hero__banner h1 {
    margin: 7px 0 0;
    color: #fff !important;
    font-size: clamp(23px, 2.35vw, 34px);
    line-height: 1.23;
    letter-spacing: -.055em;
}

body.sd-rd--home .ds-home .ds-hero__banner p:not(.ds-kicker) {
    margin: 8px 0 0;
    color: #e6f1ff;
    font-size: 12px;
}

body.sd-rd--home .ds-home .ds-hero__note {
    position: absolute;
    right: 30px;
    bottom: 22px;
    color: #fff;
    font-size: 12px;
    font-weight: 750;
    text-shadow: 0 2px 12px #061936;
}

body.sd-rd--home .ds-home .ds-kpi-grid {
    gap: 8px;
}

body.sd-rd--home .ds-home .ds-kpi {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    grid-template-rows: auto auto auto;
    align-items: center;
    min-height: 90px;
    padding: 12px 15px;
    border-radius: 9px;
    box-shadow: 0 3px 13px rgba(25, 50, 82, .06);
}

body.sd-rd--home .ds-home .ds-kpi .ds-kicker {
    grid-column: 1;
    align-self: end;
    color: #375277;
    font-size: 11px;
}

body.sd-rd--home .ds-home .ds-kpi .sd-market-value {
    grid-column: 1;
    font-size: 19px;
    line-height: 1.14;
    font-variant-numeric: tabular-nums;
}

body.sd-rd--home .ds-home .ds-kpi .sd-market-chg,
body.sd-rd--home .ds-home .ds-kpi > .ds-chg {
    grid-column: 1;
    font-size: 10px;
    line-height: 1.1;
}

body.sd-rd--home .ds-home .ds-kpi .ds-spark,
body.sd-rd--home .ds-home .ds-kpi .ds-gauge {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    justify-self: end;
    width: 88px;
    height: 42px;
    margin: 0;
}

body.sd-rd--home .ds-home .ds-kpi .is-up,
body.sd-rd--home .ds-home .is-up,
body.sd-rd--home .ds-home .sd-chg-up {
    color: #0caa8c !important;
}

body.sd-rd--home .ds-home .ds-kpi .is-down,
body.sd-rd--home .ds-home .is-down,
body.sd-rd--home .ds-home .sd-chg-down {
    color: #ed455a !important;
}

body.sd-rd--home .ds-home .ds-market-status {
    margin: 0;
}

body.sd-rd--home .ds-home .ds-market-status span,
body.sd-rd--home .ds-home .ds-market-status .ds-chip {
    min-height: 28px;
    border-radius: 6px;
    font-size: 11px;
}

body.sd-rd--home .ds-home .ds-market-stage {
    grid-template-columns: minmax(0, 1fr) 244px;
    gap: 8px;
    margin: 0;
}

body.sd-rd--home .ds-home .ds-board {
    grid-template-columns: minmax(0, 1.55fr) repeat(2, minmax(0, .76fr));
    gap: 9px;
}

body.sd-rd--home .ds-home .ds-market-rail {
    gap: 8px;
}

body.sd-rd--home .ds-home .ds-market-stage .ds-card,
body.sd-rd--home .ds-home .ds-split > .ds-card {
    min-width: 0;
    padding: 11px 13px;
    border-radius: 9px;
    box-shadow: 0 2px 12px rgba(25, 50, 82, .04);
}

body.sd-rd--home .ds-home .ds-section-title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.04em;
}

body.sd-rd--home .ds-home .ds-page-head {
    align-items: flex-start;
    margin: 0 0 11px;
}

body.sd-rd--home .ds-home .ds-market-head .ds-lead {
    margin: 4px 0 0;
    font-size: 10px;
}

body.sd-rd--home .ds-home .ds-market-tabs {
    gap: 3px;
    margin: 0 0 9px;
}

body.sd-rd--home .ds-home .ds-market-tabs a {
    min-height: 27px;
    padding: 4px 9px;
    border-radius: 5px;
    font-size: 11px;
}

body.sd-rd--home .ds-home .ds-market-chart {
    display: grid;
    place-items: center;
    min-height: 154px;
    height: 154px;
    border-bottom: 1px solid #dce7f2;
    background: repeating-linear-gradient(to bottom, transparent 0, transparent 46px, #e9eff7 47px, transparent 48px);
}

body.sd-rd--home .ds-home .ds-market-chart .ds-spark {
    width: 100%;
    height: 150px;
    margin: 0;
}

body.sd-rd--home .ds-home .sd-timeline-chart { height: 125px !important; }

body.sd-rd--home .ds-home .ds-market-chart__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    padding-top: 9px;
    font-size: 12px;
}

body.sd-rd--home .ds-home .ds-market-stage .ds-list {
    gap: 0;
}

body.sd-rd--home .ds-home .ds-market-stage .ds-list li {
    min-height: 26px;
    border-bottom: 1px solid #edf1f6;
    font-size: 11px;
}

body.sd-rd--home .ds-home .ds-market-stage .ds-list li:last-child {
    border-bottom: 0;
}

body.sd-rd--home .ds-home .ds-market-rail .ds-list li > span:last-child {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

body.sd-rd--home .ds-home .ds-ticker {
    margin: 0;
    padding: 10px 13px;
    border-radius: 8px;
}

body.sd-rd--home .ds-home .ds-ticker__track {
    gap: 26px;
}

body.sd-rd--home .ds-home .ds-ticker:hover .ds-ticker__track,
body.sd-rd--home .ds-home .ds-ticker:focus-within .ds-ticker__track {
    animation-play-state: paused;
}

body.sd-rd--home .ds-home .ds-ai-band {
    grid-template-columns: minmax(0, 1.55fr) minmax(250px, .65fr);
    gap: 15px;
    padding: 20px 24px;
    border-radius: 9px;
    background: linear-gradient(115deg, #0a3475 0%, #0a4b9a 68%, #07366d 100%);
}

body.sd-rd--home .ds-home .ds-ai-band .ds-section-title {
    margin: 4px 0;
    font-size: 22px;
}

body.sd-rd--home .ds-home .ds-ai-band p:not(.ds-kicker) {
    margin: 0;
    font-size: 12px;
}

body.sd-rd--home .ds-home .ds-ai-band form {
    margin-top: 10px !important;
}

body.sd-rd--home .ds-home .ds-ai-band input {
    height: 38px;
}

body.sd-rd--home .ds-home .ds-ai-points {
    align-content: center;
    font-size: 11px;
}

body.sd-rd--home .ds-home .ds-split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 9px;
    margin-top: 0 !important;
}

body.sd-rd--home .ds-home .ds-home-news {
    padding: 18px 18px 20px;
}

body.sd-rd--home .ds-home-news .ds-home-news__head {
    align-items: center;
    margin-bottom: 13px;
}

body.sd-rd--home .ds-home-news .ds-home-news__brief {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    margin-bottom: 18px;
    padding: 13px 15px;
    border: 1px solid #dce8fa;
    border-left: 3px solid #2672cf;
    border-radius: 9px;
    background: #f5f9ff;
}

body.sd-rd--home .ds-home-news .ds-home-news__brief > span {
    padding-top: 2px;
    color: #1855a0;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

body.sd-rd--home .ds-home-news .ds-home-news__brief p {
    margin: 0;
    color: #344b69;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

body.sd-rd--home .ds-home-news .ds-home-news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    align-items: start;
    gap: 20px;
}

body.sd-rd--home .ds-home-news .ds-home-news__column {
    min-width: 0;
}

body.sd-rd--home .ds-home-news .ds-home-news__column-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 9px;
    color: #243d60;
    font-size: 13px;
    font-weight: 800;
}

body.sd-rd--home .ds-home-news .ds-home-news__column-title::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3175d0;
    content: '';
}

body.sd-rd--home .ds-home-news .ds-home-news__column-title.is-global::before {
    background: #0f92a6;
}

body.sd-rd--home .ds-home-news .ds-home-news__list {
    display: grid;
    gap: 8px;
}

body.sd-rd--home .ds-home-news .ds-home-news__item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    gap: 11px;
    min-width: 0;
    padding: 11px;
    border: 1px solid #e2eaf5;
    border-radius: 9px;
    background: #fff;
    color: #192f4d;
    text-decoration: none;
    transition: border-color .15s ease, background-color .15s ease;
}

body.sd-rd--home .ds-home-news .ds-home-news__item:hover,
body.sd-rd--home .ds-home-news .ds-home-news__item:focus-visible {
    border-color: #9ac0f0;
    background: #f7faff;
    color: #192f4d;
    text-decoration: none;
}

body.sd-rd--home .ds-home-news .ds-home-news__item:focus-visible {
    outline: 2px solid #2672cf;
    outline-offset: 2px;
}

body.sd-rd--home .ds-home-news .ds-home-news__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 9px;
    font-size: 19px;
}

body.sd-rd--home .ds-home-news .ds-home-news__icon.is-domestic {
    background: #e9f1ff;
    color: #1b5eb2;
}

body.sd-rd--home .ds-home-news .ds-home-news__icon.is-global {
    background: #e6f5f6;
    color: #147d8e;
}

body.sd-rd--home .ds-home-news .ds-home-news__copy {
    display: block;
    min-width: 0;
}

body.sd-rd--home .ds-home-news .ds-home-news__source {
    display: block;
    margin: 1px 0 4px;
    color: #517197;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

body.sd-rd--home .ds-home-news .ds-home-news__item strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #142d4e;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

body.sd-rd--home .ds-home-news .ds-home-news__excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-top: 5px;
    color: #64758b;
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    body.sd-rd--home .ds-home .ds-home-news {
        padding: 15px 13px 17px;
    }

    body.sd-rd--home .ds-home-news .ds-home-news__brief {
        display: block;
        padding: 11px 12px;
    }

    body.sd-rd--home .ds-home-news .ds-home-news__brief > span {
        display: block;
        margin-bottom: 5px;
    }
}

body.sd-rd--home .ds-home .ds-cat-cards {
    gap: 9px;
}

body.sd-rd--home .ds-home .ds-cat-card img {
    height: 96px;
}

@media (max-width: 1120px) {
    body.sd-rd--home .ds-home .ds-market-stage {
        grid-template-columns: minmax(0, 1fr) 220px;
    }
    body.sd-rd--home .ds-home .ds-board {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    body.sd-rd--home .ds-home .ds-board > :first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 800px) {
    body.sd-rd--home .ds-home .ds-market-stage,
    body.sd-rd--home .ds-home .ds-split {
        grid-template-columns: minmax(0, 1fr);
    }
    body.sd-rd--home .ds-home .ds-market-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body.sd-rd--home .ds-home .ds-cat-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    body.sd-rd--home .ds-home .ds-hero__banner {
        min-height: 150px;
        padding: 20px;
    }
    body.sd-rd--home .ds-home .ds-hero__note {
        display: none;
    }
    body.sd-rd--home .ds-home .ds-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body.sd-rd--home .ds-home .ds-kpi {
        grid-template-columns: minmax(0, 1fr) 60px;
        padding: 11px;
    }
    body.sd-rd--home .ds-home .ds-kpi .ds-spark,
    body.sd-rd--home .ds-home .ds-kpi .ds-gauge {
        width: 58px;
    }
    body.sd-rd--home .ds-home .ds-board,
    body.sd-rd--home .ds-home .ds-market-rail,
    body.sd-rd--home .ds-home .ds-cat-cards,
    body.sd-rd--home .ds-home .ds-ai-band {
        grid-template-columns: minmax(0, 1fr);
    }
    body.sd-rd--home .ds-home .ds-board > :first-child {
        grid-column: auto;
    }
    body.sd-rd--home .ds-home .ds-market-chart {
        height: 178px;
    }
    body.sd-rd--home .ds-home .ds-ai-band {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.sd-rd--home .ds-home .ds-ticker__track {
        animation: none;
    }
}

/* Historical index chart and full-market stock movers. */
body.sd-rd--home .ds-home .ds-market-ranges,
body.sd-rd--home .ds-home .ds-mover-markets {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
}
body.sd-rd--home .ds-home .ds-market-ranges {
    justify-content: flex-end;
    margin: -3px 0 7px;
}
body.sd-rd--home .ds-home .ds-market-ranges a,
body.sd-rd--home .ds-home .ds-mover-markets a {
    padding: 4px 7px;
    border: 1px solid #dbe7f3;
    border-radius: 5px;
    background: #fff;
    color: #415a7b;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}
body.sd-rd--home .ds-home .ds-market-ranges a.is-active,
body.sd-rd--home .ds-home .ds-mover-markets a.is-active {
    border-color: #1758ae;
    background: #1758ae;
    color: #fff;
}
body.sd-rd--home .ds-home .ds-market-chart {
    height: 222px;
    min-height: 222px;
}
body.sd-rd--home .ds-home .ds-market-chart .ds-spark {
    height: 218px;
}
body.sd-rd--home .ds-home .ds-market-chart__axis {
    display: flex;
    justify-content: space-between;
    padding-top: 4px;
    color: #6c7e96;
    font-size: 10px;
    font-variant-numeric: tabular-nums;
}
body.sd-rd--home .ds-home .ds-market-chart__foot small {
    color: #64748b;
}
body.sd-rd--home .ds-home .ds-mover-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px;
}
body.sd-rd--home .ds-home .ds-mover-head small,
body.sd-rd--home .ds-home .ds-mover-source {
    color: #71839b;
    font-size: 9px;
    line-height: 1.4;
}
body.sd-rd--home .ds-home .ds-mover-markets {
    margin: 8px 0 4px;
}
body.sd-rd--home .ds-home .ds-mover-list li a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 5px;
    min-height: 36px;
    padding: 4px 0;
}
body.sd-rd--home .ds-home .ds-mover-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}
body.sd-rd--home .ds-home .ds-mover-name small {
    display: block;
    color: #8291a6;
    font-size: 9px;
    font-weight: 500;
}
body.sd-rd--home .ds-home .ds-mover-quote {
    display: grid;
    justify-items: end;
    gap: 1px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
body.sd-rd--home .ds-home .ds-mover-quote strong,
body.sd-rd--home .ds-home .ds-mover-quote em {
    font-size: 10px;
    font-style: normal;
    line-height: 1.2;
}
body.sd-rd--home .ds-home .ds-mover-list li.is-extra {
    display: none;
}
body.sd-rd--home .ds-home .ds-mover-list.is-expanded li.is-extra {
    display: list-item;
}
body.sd-rd--home .ds-home .ds-mover-toggle {
    width: 100%;
    margin-top: 6px;
    padding: 6px 0;
    border: 1px solid #d8e5f3;
    border-radius: 5px;
    background: #f7faff;
    color: #1758ae;
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
}
body.sd-rd--home .ds-home .ds-mover-source {
    margin: 7px 0 0;
}
@media (max-width: 600px) {
    body.sd-rd--home .ds-home .ds-market-chart { height: 190px; min-height: 190px; }
    body.sd-rd--home .ds-home .ds-market-chart .ds-spark { height: 186px; }
    body.sd-rd--home .ds-home .ds-mover-list li a { min-height: 40px; }
}

/* Reference board v2: the illustration, ranking density and direction colors. */
html.ds-theme body.sd-rd--home .ds-home .ds-hero__banner {
    min-height: 154px;
    background: linear-gradient(90deg, rgba(7, 31, 68, .97), rgba(9, 44, 96, .82) 46%, rgba(9, 48, 101, .2)),
        url("../../img/ds-redesign-mountain.webp") 72% 46% / cover no-repeat;
}
body.sd-rd--home .ds-home .ds-kpi-grid {
    position: relative;
    z-index: 1;
    margin-top: -16px;
    padding: 0 10px;
}
body.sd-rd--home .ds-home .ds-kpi {
    border-color: #dce7f3;
    box-shadow: 0 8px 18px rgba(13, 38, 77, .09);
}
body.sd-rd--home .ds-home .ds-market-chart {
    display: block;
    overflow: hidden;
    border-bottom: 1px solid #e7edf6;
    background: #fff;
}
body.sd-rd--home .ds-home .ds-market-history-svg {
    display: block;
    width: 100%;
    height: 100%;
}
body.sd-rd--home .ds-home .ds-ticker {
    order: 10;
}
body.sd-rd--home .ds-home .ds-ai-band {
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, .8fr);
    min-height: 128px;
    align-items: center;
    background: linear-gradient(105deg, #0b3472 0%, #0e54a8 63%, #082e67 100%);
}
html.ds-theme body.sd-rd--home .ds-home .ds-ai-band .ds-kicker {
    color: #bcdcff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}
html.ds-theme body.sd-rd--home .ds-home .ds-ai-band .ds-section-title {
    color: #fff !important;
    font-size: 21px;
}
html.ds-theme body.sd-rd--home .ds-home .ds-ai-band p:not(.ds-kicker) { color: #e3efff !important; }
body.sd-rd--home .ds-home .ds-ai-band .ds-section-title span {
    font-size: 15px;
    font-weight: 500;
}
body.sd-rd--home .ds-home .ds-ai-points {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    align-items: center;
}
body.sd-rd--home .ds-home .ds-ai-points a {
    display: grid;
    justify-items: center;
    gap: 5px;
    padding: 6px 3px;
    border-left: 1px solid rgba(255, 255, 255, .13);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 10px;
    line-height: 1.3;
}
body.sd-rd--home .ds-home .ds-ai-points a:hover,
body.sd-rd--home .ds-home .ds-ai-points a:focus-visible {
    background: rgba(255, 255, 255, .1);
    outline: 2px solid rgba(255, 255, 255, .55);
    outline-offset: -2px;
}
body.sd-rd--home .ds-home .ds-ai-points i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    background: rgba(255, 255, 255, .09);
    font-size: 14px;
}
body.sd-rd--home .ds-home .is-up,
body.sd-rd--home .ds-home .sd-chg-up,
body.sd-rd--home .ds-home .ds-kpi .is-up {
    color: #e84558 !important;
}
body.sd-rd--home .ds-home .is-down,
body.sd-rd--home .ds-home .sd-chg-down,
body.sd-rd--home .ds-home .ds-kpi .is-down {
    color: #3478ef !important;
}
@media (max-width: 800px) {
    body.sd-rd--home .ds-home .ds-ai-band { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    body.sd-rd--home .ds-home .ds-kpi-grid { padding: 0 2px; }
    body.sd-rd--home .ds-home .ds-ai-band .ds-section-title span { display: block; margin-top: 4px; }
    body.sd-rd--home .ds-home .ds-ai-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Market stock logos, compact preview and accessible full-list dialogs. */
body.sd-rd--home .ds-home .ds-mover-list li a {
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 7px;
}
body.sd-rd--home .ds-home .ds-stock-icon {
    position: relative;
    display: inline-grid;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(20, 53, 91, .08);
    border-radius: 8px;
    background: #e8f2ff;
    color: #1c63ba;
    vertical-align: middle;
}
body.sd-rd--home .ds-home .ds-stock-icon img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 2px;
    background: #fff;
    object-fit: contain;
    opacity: 0;
}
body.sd-rd--home .ds-home .ds-stock-icon.has-logo img { opacity: 1; }
body.sd-rd--home .ds-home .ds-stock-icon.has-logo .ds-stock-icon__fallback { visibility: hidden; }
body.sd-rd--home .ds-home .ds-stock-icon__fallback { font-size: 11px; font-weight: 800; line-height: 1; }
body.sd-rd--home .ds-home .ds-stock-icon--1 { background: #eef7ef; color: #187f5b; }
body.sd-rd--home .ds-home .ds-stock-icon--2 { background: #fff0e9; color: #b46b27; }
body.sd-rd--home .ds-home .ds-stock-icon--3 { background: #f3edff; color: #7950bb; }
body.sd-rd--home .ds-home .ds-stock-icon--4 { background: #eaf7f8; color: #0e7d91; }
body.sd-rd--home .ds-home .ds-stock-icon--5 { background: #fff0f3; color: #bd5276; }
body.sd-rd--home .ds-home .ds-rail-stock-name { display: inline-flex; min-width: 0; align-items: center; gap: 7px; }
body.sd-rd--home .ds-home .ds-rail-stock-name .ds-stock-icon { flex-basis: 21px; width: 21px; height: 21px; }
body.sd-rd--home .ds-home .ds-mover-dialog {
    width: min(640px, calc(100vw - 24px));
    max-width: none;
    max-height: min(82vh, 800px);
    overflow: hidden;
    padding: 0;
    border: 1px solid #d6e3f3;
    border-radius: 14px;
    background: #fff;
    color: #102344;
    box-shadow: 0 25px 70px rgba(4, 23, 52, .28);
}
body.sd-rd--home .ds-home .ds-mover-dialog::backdrop { background: rgba(11, 28, 54, .58); backdrop-filter: blur(3px); }
body.sd-rd--home .ds-home .ds-mover-dialog__panel { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; max-height: min(82vh, 800px); }
body.sd-rd--home .ds-home .ds-mover-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 20px 22px 16px; border-bottom: 1px solid #e4ebf5; }
body.sd-rd--home .ds-home .ds-mover-dialog__head h2 { margin: 4px 0; font-size: 23px; letter-spacing: -.035em; }
body.sd-rd--home .ds-home .ds-mover-dialog__head p { margin: 0; color: #687d99; font-size: 12px; }
body.sd-rd--home .ds-home .ds-mover-dialog__close { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border: 1px solid #dce7f4; border-radius: 9px; background: #f6f9fe; color: #314c72; cursor: pointer; font-size: 24px; line-height: 1; }
body.sd-rd--home .ds-home .ds-mover-dialog__close:hover,
body.sd-rd--home .ds-home .ds-mover-dialog__close:focus-visible { background: #eaf2ff; outline: 2px solid #3677d5; outline-offset: 2px; }
body.sd-rd--home .ds-home .ds-mover-dialog__list { min-height: 0; margin: 0; padding: 4px 20px; overflow-y: auto; overscroll-behavior: contain; list-style: none; }
body.sd-rd--home .ds-home .ds-mover-dialog__list li { border-bottom: 1px solid #ecf1f7; }
body.sd-rd--home .ds-home .ds-mover-dialog__list li:last-child { border-bottom: 0; }
body.sd-rd--home .ds-home .ds-mover-dialog__list a { display: grid; grid-template-columns: 28px 28px minmax(0, 1fr) auto; align-items: center; gap: 11px; min-height: 54px; padding: 6px 3px; color: inherit; text-decoration: none; }
body.sd-rd--home .ds-home .ds-mover-dialog__list a:hover,
body.sd-rd--home .ds-home .ds-mover-dialog__list a:focus-visible { background: #f4f8ff; outline: none; }
body.sd-rd--home .ds-home .ds-mover-dialog__rank { color: #8a9bb1; font-size: 12px; font-weight: 800; text-align: center; }
body.sd-rd--home .ds-home .ds-mover-dialog__name { display: grid; min-width: 0; gap: 2px; }
body.sd-rd--home .ds-home .ds-mover-dialog__name strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
body.sd-rd--home .ds-home .ds-mover-dialog__name small { color: #71849b; font-size: 10px; }
body.sd-rd--home .ds-home .ds-mover-dialog__quote { display: grid; justify-items: end; gap: 2px; white-space: nowrap; font-variant-numeric: tabular-nums; }
body.sd-rd--home .ds-home .ds-mover-dialog__quote strong { font-size: 13px; }
body.sd-rd--home .ds-home .ds-mover-dialog__quote em { font-size: 11px; font-style: normal; }
body.sd-rd--home .ds-home .ds-mover-dialog__source { margin: 0; padding: 11px 22px 15px; border-top: 1px solid #e4ebf5; color: #71849b; font-size: 11px; }
@media (max-width: 600px) {
    body.sd-rd--home .ds-home .ds-mover-dialog__head { padding: 17px 15px 13px; }
    body.sd-rd--home .ds-home .ds-mover-dialog__list { padding: 3px 11px; }
    body.sd-rd--home .ds-home .ds-mover-dialog__list a { grid-template-columns: 20px 24px minmax(0, 1fr) auto; gap: 6px; }
    body.sd-rd--home .ds-home .ds-mover-dialog__quote strong { font-size: 11px; }
    body.sd-rd--home .ds-home .ds-mover-dialog__quote em { font-size: 9px; }
}

html.ds-theme.is-mover-dialog-open { overflow-x: hidden !important; overflow-y: scroll !important; overscroll-behavior: none; scrollbar-gutter: stable; }
html.ds-theme body.sd-home-body.is-mover-dialog-open { position: fixed !important; top: var(--ds-mover-scroll-top, 0); left: 0; right: 0; width: auto; overflow: hidden !important; }

body.sd-rd--home .sd-market-asof{grid-column:1/-1;font-size:10px;color:#71829a;line-height:1.5;margin-top:6px;overflow-wrap:anywhere}

/* Focused central frame: spacing and density use the actual reading width. */
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame { display: grid; gap: 16px; min-width: 0; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame > * { min-width: 0; margin-top: 0; margin-bottom: 0; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-intro { align-items: center; min-height: 36px; gap: 12px; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-intro h1 { font-size: 24px; line-height: 1.4; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-hero { gap: 8px; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-kpi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-kpi { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 86px; padding: 10px 12px; box-shadow: none; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-kpi .sd-market-value { font-size: 20px; line-height: 1.25; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-kpi .sd-market-chg,
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-kpi > .ds-chg { font-size: 12px; line-height: 1.4; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-kpi .ds-spark,
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-kpi .ds-gauge { display: none; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-kpi .sd-market-asof { margin-top: 4px; line-height: 1.4; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-market-status { gap: 8px 12px; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-movers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-movers .ds-card { padding: 14px 16px; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-movers .ds-section-title { font-size: 17px; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-mover-list { gap: 0; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-mover-list li a { min-height: 44px; padding: 5px 0; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-mover-list li { border-bottom: 1px solid var(--ds-border, #e5eaf1); }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-mover-list li:last-child { border-bottom: 0; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-mover-markets a,
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-market-ranges a { min-height: 36px; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-mover-toggle { min-height: 40px; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-more { border: 1px solid var(--ds-border, #e5eaf1); border-radius: 10px; background: var(--ds-surface, #fff); }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-more > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; min-height: 48px; padding: 12px 16px; color: var(--ds-navy, #0b3d91); font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-more > summary::-webkit-details-marker { display: none; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-more > summary::before { content: '+'; font-size: 18px; font-weight: 700; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-more[open] > summary::before { content: '−'; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-more > summary span { color: var(--ds-text-muted, #64748b); font-size: 12px; font-weight: 400; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-more[open] > summary { border-bottom: 1px solid var(--ds-border, #e5eaf1); }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-market-more > .ds-card { border: 0; border-radius: 0 0 10px 10px; box-shadow: none; padding: 16px; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-market-more .ds-market-head .ds-lead { font-size: 12px; line-height: 1.5; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-more .ds-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-analysis-more .ds-ai-band { margin: 12px; padding: 16px; min-height: 0; grid-template-columns: minmax(0, 1fr); gap: 16px; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-analysis-more .ds-ai-band form { flex-wrap: wrap; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-analysis-more .ds-ai-band input { flex: 1 1 200px; min-width: 0; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-cat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .sd-personal-home { margin: 0; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .sd-personal-home--guest { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid var(--ds-border, #e5eaf1); border-radius: 9px; background: var(--ds-surface, #fff); }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .sd-personal-home--guest p { margin: 0; color: var(--ds-text-muted, #64748b); font-size: 13px; line-height: 1.5; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .sd-personal-home--guest .ds-chip { flex-shrink: 0; min-height: 40px; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .sd-personal-home__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .sd-personal-home__head .ds-section-title { font-size: 17px; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .sd-personal-home__head > div { display: flex; flex-wrap: wrap; gap: 6px; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .sd-personal-home__details > summary { min-height: 44px; padding: 10px 0; color: var(--ds-navy, #0b3d91); font-size: 13px; cursor: pointer; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .sd-personal-home__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame :where(.ds-home-more > summary, .sd-personal-home__details > summary):focus-visible { outline: 2px solid var(--ds-blue, #2563eb); outline-offset: 2px; }
@container ds-home-content (min-width: 760px) {
    html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .sd-personal-home__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container ds-home-content (min-width: 600px) {
    html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-movers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container ds-home-content (min-width: 820px) {
    html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-more .ds-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-cat-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container ds-home-content (max-width: 479px) {
    html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-intro { align-items: flex-start; flex-wrap: wrap; }
    html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-intro h1 { font-size: 22px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-home-movers .ds-card { padding: 12px 14px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-cat-cards { grid-template-columns: minmax(0, 1fr); }
    html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-market-ranges a,
    html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-mover-markets a { min-height: 44px; }
}

/* Market overview: saved prices, daily history and regular-session status. */
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-market-overview { padding: 16px 20px; }
html.ds-theme body.sd-home-panels .ds-home .ds-market-overview__heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; }
html.ds-theme body.sd-home-panels .ds-home .ds-market-overview__heading time { color: #6a7a90; font-size: 13px; white-space: nowrap; }
html.ds-theme body.sd-home-panels .ds-home .ds-market-overview__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
html.ds-theme body.sd-home-panels .ds-home .ds-market-sessions { display: flex; flex-wrap: wrap; gap: 6px; }
html.ds-theme body.sd-home-panels .ds-home .ds-market-session { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 4px 9px; border: 1px solid #e4eaf1; border-radius: 7px; background: #f6f8fb; color: #66758b; font-size: 11px; font-weight: 600; text-decoration: none; white-space: nowrap; }
html.ds-theme body.sd-home-panels .ds-home .ds-market-session > span:first-child { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
html.ds-theme body.sd-home-panels .ds-home .ds-market-session.is-open { color: #16825e; background: #eef9f4; border-color: #d5eee1; }
html.ds-theme body.sd-home-panels .ds-home .ds-market-session.is-waiting { color: #3c6bb1; background: #f1f6fd; border-color: #dce7f6; }
html.ds-theme body.sd-home-panels .ds-home .ds-market-overview__briefing { color: #123f7c; font-size: 12px; font-weight: 650; text-decoration: none; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-kpi--detailed { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 14px; min-height: 200px; border-radius: 11px; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; margin-bottom: 5px; color: #173c6c; text-decoration: none; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-heading .ds-kicker { font-size: 12px; font-weight: 700; line-height: 1.4; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-heading i { color: #8393aa; font-size: 13px; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-heading:hover { color: #2563eb; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-heading:hover i { color: #2563eb; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-quote { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; min-height: 30px; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-kpi--detailed .sd-market-value { font-size: 23px; font-weight: 800; line-height: 1.3; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-unit { color: #8391a5; font-size: 11px; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-change { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; min-height: 23px; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-change > span { font-size: 12px; font-weight: 650; line-height: 1.5; font-variant-numeric: tabular-nums; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-change > small { color: #8190a4; font-size: 10px; line-height: 1.5; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-change .sd-chg-up { color: #ed455a; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-change .sd-chg-down { color: #3478ef; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-change :is(.sd-chg-flat, .is-flat) { color: #71829a; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-trend { min-height: 56px; margin: 7px 0 9px; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-trend__caption { display: flex; align-items: baseline; justify-content: space-between; gap: 4px; margin-bottom: 6px; color: #8593a6; font-size: 10px; line-height: 1.5; white-space: nowrap; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-kpi--detailed .ds-kpi-trend .ds-spark { display: block; grid-column: auto; grid-row: auto; width: 100%; height: 34px; margin: 0; overflow: visible; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-trend--empty { display: flex; align-items: center; justify-content: center; border-radius: 6px; background: #f7f9fc; color: #8190a4; font-size: 11px; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-sentiment { align-self: center; margin-left: 2px; padding: 3px 6px; border-radius: 5px; font-size: 11px; font-weight: 650; line-height: 1.4; white-space: nowrap; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-sentiment.is-fear { color: #3769b4; background: #edf4ff; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-sentiment.is-neutral { color: #657287; background: #f0f3f7; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-sentiment.is-greed { color: #b24a4a; background: #fff0f0; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-gauge { position: relative; height: 7px; margin: 12px 0 7px; border-radius: 4px; background: linear-gradient(to right, #8daedc 0% 20%, #bccfea 20% 40%, #e0e5ec 40% 60%, #f1caca 60% 80%, #df939b 80% 100%); }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-gauge--empty { background: #e7edf4; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-gauge__marker { position: absolute; top: -4px; width: 5px; height: 15px; border: 1px solid #fff; border-radius: 3px; background: #173c6c; box-shadow: 0 1px 3px rgba(18,49,92,.18); transform: translateX(-50%); }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-gauge__labels { display: flex; justify-content: space-between; color: #8190a4; font-size: 10px; line-height: 1.4; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-footnote { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 7px; border-top: 1px solid #eef2f7; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-source { min-height: 14px; color: #667992; font-size: 10px; line-height: 1.4; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-kpi--detailed .sd-market-asof { margin: 0; color: #8593a6; font-size: 10px; line-height: 1.5; }
html.ds-theme body.sd-home-panels .ds-home :where(.ds-kpi-heading, .ds-market-session, .ds-market-overview__briefing):focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; border-radius: 5px; }
@container ds-home-content (max-width: 479px) {
    html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-market-overview { padding: 14px; gap: 12px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-market-overview__heading { width: 100%; justify-content: space-between; gap: 6px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-market-overview__heading time { font-size: 11px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-market-overview__actions { width: 100%; align-items: flex-start; gap: 10px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-kpi--detailed { min-height: 191px; padding: 9px 10px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-kpi--detailed .sd-market-value { font-size: 20px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-kpi-heading { min-height: 28px; margin-bottom: 3px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-kpi-heading .ds-kicker { font-size: 11px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-kpi-trend__caption { font-size: 9px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-kpi--detailed .ds-kpi-trend .ds-spark { height: 30px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-kpi-sentiment { font-size: 10px; padding: 2px 5px; }
}


/* Market-specific stock lists: stable previews and native full-list dialogs. */
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks {
    display: grid;
    gap: 8px;
    min-width: 0;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 16px;
    min-width: 0;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks__head h2 {
    margin: 0;
    color: var(--ds-text, #102344);
    font-size: 18px;
    font-weight: 750;
    line-height: 1.4;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks__head p,
html.ds-theme body.sd-home-panels .ds-home [data-stock-preview-source] {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    color: #708198;
    font-size: 11px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
html.ds-theme body.sd-home-panels .ds-home .ds-stock-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border: 1px solid #d8e3f0;
    border-radius: 9px;
    background: #fff;
    min-width: 0;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks--major .ds-stock-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
html.ds-theme body.sd-home-panels .ds-home .ds-stock-tabs button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 40px;
    padding: 8px 4px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #f5f8fc;
    color: #475e7c;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
html.ds-theme body.sd-home-panels .ds-home .ds-stock-tabs button:hover {
    background: #edf3fc;
    color: var(--ds-navy, #0b3d91);
}
html.ds-theme body.sd-home-panels .ds-home .ds-stock-tabs button[aria-pressed="true"] {
    border-color: var(--ds-navy, #0b3d91);
    background: var(--ds-navy, #0b3d91);
    color: #fff;
}
html.ds-theme body.sd-home-panels .ds-home .ds-movers-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 16px;
    min-width: 0;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks .ds-movers-grid > .ds-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding: 16px;
    box-shadow: none;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks .ds-mover-head {
    align-items: center;
    margin: 0;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks [data-stock-preview-title] {
    margin: 0;
    color: var(--ds-text, #102344);
    font-size: 16px;
    line-height: 1.4;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks .ds-stock-preview {
    display: grid;
    gap: 0;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks .ds-stock-preview__item {
    min-width: 0;
    margin: 0;
    border-bottom: 1px solid #e9eef5;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks .ds-stock-preview__item:last-child {
    border-bottom: 0;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks .ds-stock-preview__link {
    display: grid;
    width: 100%;
    grid-template-columns: 18px 24px minmax(0, 1fr) minmax(80px, max-content);
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    min-height: 54px;
    padding: 8px 0;
    border-radius: 5px;
    color: var(--ds-text, #102344);
    text-decoration: none;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks .ds-stock-preview__link:hover {
    background: #f5f8fd;
}
html.ds-theme body.sd-home-panels .ds-home .ds-stock-preview__rank,
html.ds-theme body.sd-home-panels .ds-home .ds-stock-preview-rank {
    min-width: 0;
    color: #8798af;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks .ds-stock-preview__logo {
    width: 24px;
    height: 24px;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks .ds-stock-preview__name {
    display: grid;
    gap: 4px;
    min-width: 0;
    overflow: visible;
    white-space: normal;
    font-weight: 650;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks .ds-stock-preview__name strong {
    display: block;
    min-width: 0;
    overflow: visible;
    color: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
    white-space: normal;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks .ds-stock-preview__name small {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #7c8da4;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks .ds-stock-preview__quote {
    display: grid;
    justify-items: end;
    gap: 4px;
    min-width: 0;
    max-width: 140px;
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: normal;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks .ds-stock-preview__quote strong {
    color: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks .ds-stock-preview__quote em {
    max-width: 100%;
    font-size: 11px;
    font-style: normal;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks .is-flat {
    color: #708198;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks [data-stock-open] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 40px;
    width: 100%;
    margin-top: 0;
    padding: 8px 12px;
    border: 1px solid #d8e4f3;
    border-radius: 7px;
    background: #f5f8fd;
    color: var(--ds-navy, #0b3d91);
    font: inherit;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.4;
    cursor: pointer;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks [data-stock-open]:hover {
    border-color: #b9cdea;
    background: #edf3fc;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks [data-stock-open]:disabled {
    opacity: .6;
    cursor: default;
}
html.ds-theme body.sd-home-panels .ds-home .ds-stock-list-empty {
    grid-column: 1 / -1;
    min-width: 0;
}
html.ds-theme body.sd-home-panels .ds-home .ds-stock-list-empty .ds-empty {
    margin: 4px 0;
    padding: 16px 12px;
    font-size: 12px;
    line-height: 1.6;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks--major {
    padding: 16px;
    border: 1px solid var(--ds-border, #dfe8f3);
    border-radius: 11px;
    background: var(--ds-card, #fff);
    box-shadow: none;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks--major .ds-market-stocks__head > div {
    flex: 1 1 176px;
    min-width: 0;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks--major .ds-market-stocks__head [data-stock-open] {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    padding-inline: 12px;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks--major .ds-stock-preview {
    gap: 0 16px;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks--major .ds-stock-preview__item {
    padding: 0;
    border: 0;
    border-bottom: 1px solid #e3ebf5;
    border-radius: 0;
    background: transparent;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks--major .ds-stock-preview__item:last-child {
    border-bottom: 1px solid #e3ebf5;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks--major .ds-stock-preview__link:hover {
    background: #f5f8fd;
}
html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks [hidden] {
    display: none !important;
}
html.ds-theme body.sd-home-panels .ds-home :where(.ds-stock-tabs button, [data-stock-open], .ds-stock-preview__link):focus-visible {
    outline: 2px solid var(--ds-blue, #2563eb);
    outline-offset: 2px;
}

/* Only the expanded stock dialog gets a search row; its existing scroll lock stays intact. */
html.ds-theme body.sd-home-panels .ds-home .ds-mover-dialog:has(.ds-stock-dialog-tools) .ds-mover-dialog__panel {
    grid-template-rows: auto auto minmax(0, 1fr) auto;
}
html.ds-theme body.sd-home-panels .ds-home .ds-stock-dialog-tools {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 12px;
    min-width: 0;
    padding: 12px 24px;
    border-bottom: 1px solid #e4ebf5;
    background: #f8fafd;
}
html.ds-theme body.sd-home-panels .ds-home .ds-stock-dialog-tools label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}
html.ds-theme body.sd-home-panels .ds-home .ds-stock-dialog-tools input[type="search"] {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #cddbec;
    border-radius: 7px;
    background: #fff;
    color: var(--ds-text, #102344);
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
}
html.ds-theme body.sd-home-panels .ds-home .ds-stock-dialog-tools [data-stock-dialog-count],
html.ds-theme body.sd-home-panels .ds-home .ds-stock-dialog-tools .ds-stock-dialog-count {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0;
    color: #7587a1;
    font-size: 11px;
    line-height: 1.5;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
html.ds-theme body.sd-home-panels .ds-home .ds-stock-dialog-tools input:focus-visible {
    border-color: var(--ds-blue, #2563eb);
    outline: 2px solid var(--ds-blue, #2563eb);
    outline-offset: 2px;
}
html.ds-theme body.sd-home-panels .ds-home .ds-mover-dialog:has(.ds-stock-dialog-tools) .ds-mover-dialog__list a {
    min-height: 56px;
    grid-template-columns: 24px 28px minmax(0, 1fr) minmax(90px, max-content);
    gap: 8px;
}
html.ds-theme body.sd-home-panels .ds-home .ds-mover-dialog:has(.ds-stock-dialog-tools) .ds-mover-dialog__name strong {
    min-width: 0;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 14px;
    line-height: 1.4;
}
html.ds-theme body.sd-home-panels .ds-home .ds-mover-dialog:has(.ds-stock-dialog-tools) .ds-mover-dialog__name small {
    overflow: hidden;
    font-size: 11px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}
html.ds-theme body.sd-home-panels .ds-home .ds-mover-dialog:has(.ds-stock-dialog-tools) .ds-mover-dialog__quote {
    min-width: 0;
    max-width: 160px;
    text-align: right;
    white-space: normal;
}
html.ds-theme body.sd-home-panels .ds-home .ds-mover-dialog:has(.ds-stock-dialog-tools) .ds-mover-dialog__quote strong {
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
}
html.ds-theme body.sd-home-panels .ds-home .ds-mover-dialog:has(.ds-stock-dialog-tools) .ds-mover-dialog__quote em {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
}
html.ds-theme body.sd-home-panels .ds-home .ds-mover-dialog:has(.ds-stock-dialog-tools) .ds-mover-dialog__list a:focus-visible {
    border-radius: 5px;
    outline: 2px solid var(--ds-blue, #2563eb);
    outline-offset: -2px;
    background: #f2f6fd;
}
@container ds-home-content (min-width: 600px) {
    html.ds-theme body.sd-home-panels .ds-home .ds-movers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks--major .ds-stock-preview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks--major .ds-stock-preview__link {
        grid-template-columns: 18px 24px minmax(0, 1fr);
        gap: 4px 8px;
        padding-block: 8px;
    }
    html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks--major .ds-stock-preview__quote {
        grid-column: 2 / -1;
        display: flex;
        align-items: baseline;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 4px 8px;
        max-width: none;
        text-align: left;
    }
    html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks--major .ds-stock-preview__quote strong {
        font-size: 14px;
    }
}
@container ds-home-content (min-width: 760px) {
    html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks--major .ds-stock-preview {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@container ds-home-content (max-width: 479px) {
    html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks__head h2 {
        font-size: 17px;
    }
    html.ds-theme body.sd-home-panels .ds-home .ds-stock-tabs {
        gap: 4px;
        padding: 4px;
    }
    html.ds-theme body.sd-home-panels .ds-home .ds-stock-tabs button {
        min-height: 40px;
        padding-inline: 4px;
        font-size: 12px;
    }
    html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks .ds-movers-grid > .ds-card,
    html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks--major {
        padding: 12px;
    }
    html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks .ds-stock-preview__link {
        grid-template-columns: 16px 24px minmax(0, 1fr);
        gap: 4px 8px;
    }
    html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks .ds-stock-preview__quote {
        grid-column: 3 / -1;
        display: flex;
        align-items: baseline;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 4px 8px;
        max-width: none;
        text-align: left;
    }
    html.ds-theme body.sd-home-panels .ds-home .ds-market-stocks--major .ds-stock-preview__item {
        padding-inline: 0;
    }
}
@media (max-width: 600px) {
    html.ds-theme body.sd-home-panels .ds-home .ds-stock-dialog-tools {
        padding: 12px 16px;
        gap: 8px;
    }
    html.ds-theme body.sd-home-panels .ds-home .ds-mover-dialog:has(.ds-stock-dialog-tools) .ds-mover-dialog__list a {
        grid-template-columns: 20px 24px minmax(0, 1fr) minmax(90px, max-content);
        gap: 8px;
    }
    html.ds-theme body.sd-home-panels .ds-home .ds-mover-dialog:has(.ds-stock-dialog-tools) .ds-mover-dialog__quote {
        max-width: 144px;
    }
    html.ds-theme body.sd-home-panels .ds-home .ds-mover-dialog:has(.ds-stock-dialog-tools) .ds-mover-dialog__name strong,
    html.ds-theme body.sd-home-panels .ds-home .ds-mover-dialog:has(.ds-stock-dialog-tools) .ds-mover-dialog__quote strong {
        font-size: 13px;
    }
    html.ds-theme body.sd-home-panels .ds-home .ds-mover-dialog:has(.ds-stock-dialog-tools) .ds-mover-dialog__quote em {
        font-size: 11px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html.ds-theme body.sd-home-panels .ds-home .ds-stock-tabs button {
        transition: none;
    }
}

/* Stock-list controls use the shared icon set and retain a 40px touch target. */
html.ds-theme body.sd-home-panels .ds-home :where(.ds-market-stocks, .ds-stock-dialog) .ds-stock-icon__fallback .bi {
    font-size: 14px;
    line-height: 1;
}
html.ds-theme body.sd-home-panels .ds-home .ds-stock-dialog .ds-mover-dialog__close {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 16px;
    line-height: 1;
}
html.ds-theme body.sd-home-panels .ds-home .ds-stock-dialog .ds-mover-dialog__close :where(.bi, svg) {
    width: 16px;
    height: 16px;
    font-size: 16px;
    line-height: 1;
}

/* In-page home chart controls. */
html.ds-theme body.sd-home-panels .ds-home #sdContent { scroll-margin-top: 76px; }
html.ds-theme body.sd-home-panels .ds-home button.ds-kpi-heading { width: 100%; padding: 0; border: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; }
html.ds-theme body.sd-home-panels .ds-home .ds-market-tabs button,
html.ds-theme body.sd-home-panels .ds-home .ds-market-ranges button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 6px 10px; border: 1px solid var(--ds-border, #dbe7f3); border-radius: 6px; background: var(--ds-surface, #fff); color: var(--ds-text-sub, #60728d); font: inherit; font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap; cursor: pointer; }
html.ds-theme body.sd-home-panels .ds-home .ds-market-tabs button.is-active,
html.ds-theme body.sd-home-panels .ds-home .ds-market-ranges button.is-active { border-color: #1758ae; background: #1758ae; color: #fff; }
html.ds-theme body.sd-home-panels .ds-home [data-home-chart] button:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
html.ds-theme body.sd-home-panels .ds-home [data-chart-status]:not(:empty) { padding: 8px 0; color: var(--ds-text-sub, #60728d); font-size: 12px; }
html.ds-theme body.sd-home-panels .ds-home [data-chart-retry] { margin: 0 0 8px; font: inherit; font-size: 12px; cursor: pointer; }
html.ds-theme body.sd-home-panels .ds-home [data-chart-view][hidden],
html.ds-theme body.sd-home-panels .ds-home [data-chart-retry][hidden] { display: none; }
@media (max-width: 640px) {
    html.ds-theme body.sd-home-panels .ds-home .ds-market-tabs { flex-wrap: wrap; overflow: visible; }
    html.ds-theme body.sd-home-panels .ds-home .ds-market-tabs button,
    html.ds-theme body.sd-home-panels .ds-home .ds-market-ranges button { min-height: 44px; }
}

/* Market overview: retain all values and timestamps while bringing the news closer. */
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-market-overview { padding: 12px 16px; gap: 8px 16px; }
html.ds-theme body.sd-home-panels .ds-home .ds-market-overview__actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-kpi-grid { gap: 8px; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-kpi--detailed { min-height: 164px; padding: 8px 12px; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-heading { min-height: 28px; margin-bottom: 2px; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-change { min-height: 18px; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-trend { min-height: 42px; margin: 4px 0 6px; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-trend__caption { margin-bottom: 2px; color: #61738b; font-size: 11px; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-kpi--detailed .ds-kpi-trend .ds-spark { height: 24px; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-gauge { margin: 4px 0 2px; }
html.ds-theme body.sd-home-panels .ds-home :is(.ds-kpi-gauge__labels, .ds-kpi-source) { color: #61738b; font-size: 11px; }
html.ds-theme body.sd-home-panels .ds-home .ds-kpi-footnote { flex-direction: row; flex-wrap: wrap; align-items: baseline; padding-top: 5px; gap: 1px 6px; }
html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-kpi--detailed .sd-market-asof { color: #61738b; font-size: 11px; }
@container ds-home-content (max-width: 479px) {
    html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-market-overview { padding: 10px 12px; gap: 6px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-market-overview__actions { gap: 4px 8px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-market-overview__heading time { font-size: 12px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-content-frame .ds-kpi--detailed { min-height: 160px; padding: 8px 10px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-kpi-heading { min-height: 32px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-kpi-heading .ds-kicker { font-size: 12px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-kpi-trend__caption { font-size: 10px; }
    html.ds-theme body.sd-home-panels .ds-home .ds-kpi-change > small { color: #61738b; font-size: 11px; }
}
