.etf-shell {
    width: min(100% - 2rem, 1600px);
    margin: 1rem auto 2rem;
    color: #071b33;
}

.etf-shell svg:not(.etf-chart-svg) {
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    vertical-align: -0.125em;
}

.etf-hero,
.etf-panel,
.etf-detail-card {
    border: 1px solid #c9d8e8;
    background: #fff;
}

.etf-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    align-items: stretch;
    min-height: 210px;
}

.etf-hero-main {
    padding: 1.4rem 1.55rem;
}

.etf-kicker,
.etf-label {
    margin: 0 0 0.35rem;
    color: #4f6784;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.etf-hero h1 {
    margin: 0;
    max-width: 980px;
    font-size: clamp(2.4rem, 5vw, 5.5rem);
    line-height: 0.92;
    letter-spacing: 0;
}

.etf-hero p {
    max-width: 780px;
    margin: 0.9rem 0 0;
    color: #3a506e;
    font-weight: 700;
}

.etf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.etf-button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.35rem;
    padding: 0.52rem 0.8rem;
    border: 1px solid #b9cce1;
    background: #fff;
    color: #003b73;
    font-weight: 800;
    text-decoration: none;
}

.etf-button-primary {
    background: #003b73;
    color: #fff;
    border-color: #003b73;
}

.etf-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 1px solid #c9d8e8;
}

.etf-kpi {
    min-height: 104px;
    padding: 1.1rem;
    border-left: 3px solid #003b73;
    border-bottom: 1px solid #dbe5ef;
    background: #f8fbff;
}

.etf-kpi strong {
    display: block;
    font-size: 1.65rem;
    line-height: 1;
}

.etf-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.8rem 0;
}

.etf-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.62rem 0.8rem;
    border: 1px solid #c9d8e8;
    color: #003b73;
    font-weight: 800;
    text-decoration: none;
}

.etf-tabs a[aria-current="page"] {
    background: #003b73;
    color: #fff;
}

.etf-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.etf-radar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
    align-items: start;
}

.etf-panel {
    padding: 1rem;
}

.etf-panel h2,
.etf-panel h3 {
    margin: 0;
}

.etf-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 0.85rem;
}

.etf-panel-head p {
    margin: 0.25rem 0 0;
    color: #4a607c;
    font-weight: 700;
}

.etf-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.55rem;
    border: 1px solid #bcd1e7;
    background: #f3f8ff;
    color: #003b73;
}

.etf-panel-icon svg {
    width: 1rem;
    height: 1rem;
}

.etf-country-card,
.etf-list-row,
.etf-opportunity-card {
    border: 1px solid #c9d8e8;
    background: #fff;
}

.etf-country-card {
    display: block;
    min-height: 146px;
    padding: 0.9rem;
    color: inherit;
    text-decoration: none;
}

.etf-country-card:hover,
.etf-list-row:hover,
.etf-opportunity-card:hover {
    border-color: #003b73;
    box-shadow: 0 16px 34px rgba(0, 59, 115, 0.08);
}

.etf-flag {
    font-size: 1.65rem;
    line-height: 1;
}

.etf-country-card h3 {
    margin: 0.5rem 0 0.35rem;
}

.etf-metric-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: #39516f;
    font-weight: 800;
}

.etf-list {
    display: grid;
    gap: 0.45rem;
}

.etf-list-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(80px, auto);
    align-items: center;
    gap: 0.65rem;
    min-height: 3.75rem;
    padding: 0.65rem 0.75rem;
    color: inherit;
    text-decoration: none;
}

.etf-rank {
    display: inline-grid;
    place-items: center;
    width: 1.8rem;
    height: 1.8rem;
    background: #edf4fb;
    color: #003b73;
    font-weight: 900;
}

.etf-list-title {
    display: block;
    overflow-wrap: anywhere;
    font-weight: 900;
}

.etf-list-meta {
    display: block;
    margin-top: 0.15rem;
    color: #4e6481;
    font-size: 0.86rem;
    font-weight: 700;
}

.etf-value {
    font-weight: 900;
    text-align: right;
}

.etf-value.positive,
.etf-positive {
    color: #04713a;
}

.etf-value.negative,
.etf-negative {
    color: #b84e00;
}

.etf-bar {
    height: 0.48rem;
    margin-top: 0.35rem;
    background: #e9eef5;
}

.etf-fill {
    display: block;
    height: 100%;
    background: #147c45;
}

.etf-fill.negative {
    background: #c45a00;
}

.etf-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.65rem;
}

.etf-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.45rem;
    border: 1px solid #c9d8e8;
    background: #f8fbff;
    color: #314b69;
    font-size: 0.82rem;
    font-weight: 800;
}

.etf-wide-panel {
    margin-top: 0.75rem;
}

.etf-opportunity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.etf-opportunity-card {
    display: block;
    padding: 0.9rem;
    color: inherit;
    text-decoration: none;
}

.etf-opportunity-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.etf-opportunity-card h3 {
    margin: 0.5rem 0 0.35rem;
    font-size: 1.08rem;
}

.etf-table-wrap {
    overflow-x: auto;
    border: 1px solid #d7e3f0;
}

.etf-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
}

.etf-table th,
.etf-table td {
    padding: 0.72rem 0.78rem;
    border-bottom: 1px solid #d7e3f0;
    text-align: left;
    vertical-align: top;
}

.etf-table th {
    background: #f4f8fc;
    color: #526985;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.etf-table td:last-child,
.etf-table th:last-child {
    text-align: right;
}

.etf-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.etf-detail-card {
    padding: 1rem;
}

.etf-spark {
    width: 100%;
    height: 230px;
    background: linear-gradient(#eef4fa 1px, transparent 1px), linear-gradient(90deg, #eef4fa 1px, transparent 1px);
    background-size: 100% 25%, 12.5% 100%;
}

.etf-spark polyline {
    fill: none;
    stroke: #003b73;
    stroke-width: 2.4;
    vector-effect: non-scaling-stroke;
}

.etf-empty {
    padding: 1.5rem;
    border: 1px solid #d7e3f0;
    background: #f8fbff;
    color: #4a607c;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .etf-hero,
    .etf-detail-grid {
        grid-template-columns: 1fr;
    }

    .etf-kpi-grid {
        border-left: 0;
    }

    .etf-grid,
    .etf-radar-grid,
    .etf-opportunity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .etf-shell {
        width: min(100% - 1rem, 1600px);
    }

    .etf-hero-main,
    .etf-panel,
    .etf-detail-card {
        padding: 0.85rem;
    }

    .etf-kpi-grid,
    .etf-grid,
    .etf-radar-grid,
    .etf-opportunity-grid {
        grid-template-columns: 1fr;
    }

    .etf-list-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .etf-value {
        grid-column: 2;
        text-align: left;
    }
}

/* ETF Radar polish and responsive refinements */
.etf-hero-compact,
.etf-detail-hero {
    min-height: 0;
}

.etf-hero-compact .etf-hero-main,
.etf-detail-hero .etf-hero-main {
    padding: 1.1rem 1.35rem;
}

.etf-hero-compact h1,
.etf-detail-hero h1 {
    font-size: clamp(2.2rem, 4vw, 4.5rem);
}

.etf-detail-hero h1 {
    overflow-wrap: anywhere;
}

.etf-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: start;
}

.etf-grid-single > .etf-panel {
    grid-column: 1 / -1;
}

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

.etf-country-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
    min-height: 128px;
}

.etf-country-flag {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid #c9d8e8;
    background: #f4f8fc;
    font-size: 1.55rem;
}

.etf-country-arrow {
    color: #003b73;
    font-weight: 900;
}

.etf-country-card-rich {
    align-items: stretch;
}

.etf-country-spark {
    display: block;
    width: 100%;
    min-width: 0;
    height: 3rem;
    margin-top: 0.55rem;
    border: 1px solid #dce7f2;
    background:
        linear-gradient(#edf3f9 1px, transparent 1px),
        linear-gradient(90deg, #f1f5fa 1px, transparent 1px),
        #fff;
    background-size: 100% 50%, 25% 100%;
}

.etf-country-spark svg {
    display: block;
    width: 100%;
    height: 100%;
}

.etf-country-spark polyline {
    fill: none;
    stroke: #003b73;
    stroke-width: 2.2;
    vector-effect: non-scaling-stroke;
}

.etf-list-copy {
    min-width: 0;
}

.etf-list-score {
    min-width: 5rem;
}

.etf-list-row-static:hover {
    border-color: #c9d8e8;
    box-shadow: none;
}

.etf-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.etf-category-card {
    display: grid;
    gap: 0.4rem;
    border: 1px solid #c9d8e8;
    background: #fff;
    padding: 0.85rem;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.etf-category-card:hover,
.etf-category-card:focus-visible {
    border-color: #003b73;
    box-shadow: 0 12px 28px rgba(0, 59, 115, 0.1);
    transform: translateY(-1px);
}

.etf-category-card h3 {
    margin: 0.25rem 0 0.55rem;
}

.etf-category-card .etf-list-meta {
    margin-top: 0.45rem;
}

.etf-category-leader {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
}

.etf-category-open {
    color: #003b73;
    font-weight: 900;
}

.etf-category-leader .etf-trend {
    width: 1.15rem;
    height: 1.15rem;
}

.etf-category-leader svg {
    width: 0.75rem;
    height: 0.75rem;
}

.positive {
    color: #04713a;
}

.negative {
    color: #b84e00;
}

.negative-fill {
    background: #c45a00;
}

.etf-detail-spark {
    position: relative;
    display: grid;
    align-content: space-between;
    gap: 0.65rem;
    align-self: stretch;
    min-height: 190px;
    padding: 1rem;
    overflow: hidden;
    border-left: 1px solid #c9d8e8;
    background:
        linear-gradient(#e7eef7 1px, transparent 1px),
        linear-gradient(90deg, #edf3f9 1px, transparent 1px),
        linear-gradient(135deg, #ffffff 0%, #f5f9fd 100%);
    background-size: 100% 33%, 14.285% 100%, 100% 100%;
}

.etf-detail-spark svg {
    display: block;
    width: 100%;
    height: 118px;
}

.etf-detail-spark polyline {
    fill: none;
    stroke: #003b73;
    stroke-width: 2.7;
    vector-effect: non-scaling-stroke;
}

.etf-detail-spark-label {
    color: #526985;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.etf-detail-spark-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    color: #071b33;
}

.etf-detail-spark-bottom strong {
    display: block;
    font-size: 1.55rem;
    line-height: 1;
}

.etf-detail-spark-bottom small {
    display: block;
    margin-top: 0.18rem;
    color: #526985;
    font-weight: 800;
}

.etf-detail-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0;
    border-left: 0;
}

.etf-detail-kpis .etf-kpi {
    min-height: 96px;
}

.etf-detail-summary-grid {
    display: grid;
    grid-template-columns: minmax(24rem, 1.35fr) repeat(2, minmax(16rem, 0.85fr));
    gap: 0.75rem;
    align-items: start;
    margin-top: 0.75rem;
}

.etf-signal-panel .etf-panel-head {
    margin-bottom: 0.55rem;
}

.etf-peer-panel {
    margin-top: 0.75rem;
}

.etf-peer-panel .etf-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.etf-peer-panel .etf-list-row {
    min-height: 0;
}

.etf-event-panel {
    margin-top: 0.75rem;
}

.etf-insight-list {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
    color: #314b69;
    font-weight: 700;
}

.etf-insight-list li + li {
    margin-top: 0.35rem;
}

.etf-insight-copy {
    margin-top: 0.8rem;
    color: #314b69;
    font-weight: 700;
}

.etf-insight-copy p {
    margin: 0.5rem 0 0;
}

.etf-signal-state,
.etf-signal-chip {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    padding: 0.32rem 0.5rem;
    border: 1px solid #c9d8e8;
    background: #f8fbff;
    color: #314b69;
    font-size: 0.78rem;
    font-weight: 900;
}

.etf-signal-state {
    margin-top: 0.8rem;
}

.etf-state-good,
.etf-signal-good {
    border-color: #9acdb1;
    background: #effaf4;
    color: #04713a;
}

.etf-state-watch,
.etf-signal-watch {
    border-color: #e2c28f;
    background: #fff8ea;
    color: #8b4a00;
}

.etf-state-bad,
.etf-signal-bad {
    border-color: #e0ad92;
    background: #fff4ed;
    color: #b84e00;
}

.etf-line-chart,
.etf-index-chart {
    position: relative;
    width: 100%;
    min-height: 210px;
    border: 1px solid #d7e3f0;
    background:
        linear-gradient(#edf3f9 1px, transparent 1px),
        linear-gradient(90deg, #edf3f9 1px, transparent 1px),
        #fff;
    background-size: 100% 25%, 12.5% 100%;
}

.etf-index-chart {
    min-height: 112px;
}

.etf-index-strip {
    display: grid;
    gap: 0.75rem;
    border: 1px solid #d7e3f0;
    background: #fff;
    padding: 0.85rem;
}

.etf-index-strip h3 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.etf-index-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.etf-index-summary span {
    border: 1px solid #d7e3f0;
    background: #f7fbff;
    padding: 0.65rem;
}

.etf-index-summary small,
.etf-index-week small {
    display: block;
    color: #39516f;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.etf-index-summary strong {
    display: block;
    margin-top: 0.15rem;
    font-size: 1.35rem;
}

.etf-index-weeks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr));
    gap: 0.45rem;
}

.etf-index-week {
    display: grid;
    gap: 0.25rem;
    border: 1px solid #d7e3f0;
    padding: 0.55rem;
    background:
        linear-gradient(#edf3f9 1px, transparent 1px),
        #fff;
    background-size: 100% 50%;
}

.etf-index-week i {
    display: block;
    height: 0.4rem;
    min-width: 0.4rem;
    background: #147c45;
}

.etf-index-week-negative i {
    background: #c45a00;
}

.etf-index-week-flat i {
    background: #9db0c5;
}

.etf-index-week strong {
    color: #001f3f;
}

.etf-index-week-negative strong {
    color: #b84e00;
}

.etf-line-chart svg,
.etf-index-chart svg {
    display: block;
    width: 100%;
    height: 210px;
}

.etf-index-chart svg {
    height: 112px;
}

.etf-line-chart polyline,
.etf-index-chart polyline {
    fill: none;
    stroke-width: 3.2;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.etf-chart-price,
.etf-index-chart polyline {
    stroke: #003b73;
}

.etf-chart-price-area {
    fill: rgba(0, 59, 115, 0.1);
    stroke: none;
}

.etf-chart-trend {
    stroke: #147c45;
    stroke-width: 2.6 !important;
}

.etf-chart-fair {
    stroke: #b84e00;
    stroke-dasharray: 4 3;
    stroke-width: 2.4 !important;
}

.etf-chart-md {
    stroke: #003b73;
}

.etf-chart-rs {
    stroke: #147c45;
    stroke-dasharray: 5 3;
    stroke-width: 2.6 !important;
}

.etf-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.6rem;
    color: #526985;
    font-size: 0.82rem;
    font-weight: 800;
}

.etf-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.etf-chart-legend i {
    display: inline-block;
    width: 1rem;
    height: 0.18rem;
    background: #003b73;
}

.etf-legend-trend,
.etf-legend-rs {
    background: #147c45 !important;
}

.etf-legend-fair {
    background: #b84e00 !important;
}

.etf-legend-volume {
    height: 0.55rem !important;
    background: #9db0c5 !important;
}

.etf-volume-bars {
    display: flex;
    align-items: end;
    gap: 2px;
    height: 3.2rem;
    margin-top: 0.45rem;
    padding: 0.35rem;
    border: 1px solid #d7e3f0;
    background: #f8fbff;
}

.etf-volume-bars span {
    flex: 1 1 0;
    min-width: 2px;
    background: #9db0c5;
}

.etf-breadth-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.etf-breadth-strip div {
    position: relative;
    overflow: hidden;
    min-height: 4.2rem;
    padding: 0.8rem;
    border: 1px solid #d7e3f0;
    background: #fff;
}

.etf-breadth-strip span,
.etf-breadth-strip strong {
    position: relative;
    z-index: 1;
    display: block;
}

.etf-breadth-strip span {
    color: #526985;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.etf-breadth-strip strong {
    margin-top: 0.35rem;
    font-size: 1.4rem;
}

.etf-breadth-strip i {
    position: absolute;
    inset: auto auto 0 0;
    height: 0.32rem;
    background: #147c45;
}

.etf-country-radar-band,
.etf-dashboard-radar-band {
    margin-top: 1rem;
}

.etf-country-radar-band > .etf-panel-head,
.etf-dashboard-radar-band > .etf-panel-head {
    margin-bottom: 0.75rem;
    padding-top: 0.85rem;
    border-top: 1px solid #d7e3f0;
}

.etf-country-panel-grid,
.etf-dashboard-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: start;
}

.etf-country-panel-grid > .etf-panel:last-child:nth-child(odd),
.etf-dashboard-panel-grid > .etf-panel:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.etf-country-panel-grid > .etf-panel:last-child:nth-child(odd) .etf-list,
.etf-country-panel-grid-single .etf-list,
.etf-dashboard-panel-grid > .etf-panel:last-child:nth-child(odd) .etf-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.etf-dashboard-panel-grid-two > .etf-panel:last-child:nth-child(odd) {
    grid-column: auto;
}

.etf-dashboard-panel-grid-two > .etf-panel:last-child:nth-child(odd) .etf-list {
    grid-template-columns: 1fr;
}

.etf-country-risk-band .etf-panel,
.etf-dashboard-risk-band .etf-panel {
    box-shadow: 0 12px 30px rgba(184, 78, 0, 0.04);
}

.etf-heatmap {
    overflow-x: auto;
    border: 1px solid #d7e3f0;
    background: #fff;
}

.etf-heatmap-head,
.etf-heatmap-row {
    display: grid;
    grid-template-columns: minmax(7rem, 0.75fr) repeat(auto-fit, minmax(8rem, 1fr));
    min-width: 980px;
}

.etf-heatmap-head span,
.etf-heatmap-row strong,
.etf-heatmap-cell {
    padding: 0.58rem;
    border-right: 1px solid #d7e3f0;
    border-bottom: 1px solid #d7e3f0;
}

.etf-heatmap-head span,
.etf-heatmap-row strong {
    background: #f4f8fc;
    color: #526985;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.etf-heatmap-cell {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 0.45rem;
    min-height: 2.9rem;
    overflow: hidden;
    color: #071b33;
    font-weight: 900;
}

.etf-heatmap-cell span {
    position: absolute;
    inset: 0 auto 0 0;
    opacity: 0.22;
}

.etf-heatmap-cell b,
.etf-heatmap-cell small {
    position: relative;
    z-index: 1;
}

.etf-heatmap-cell small {
    color: #526985;
}

.etf-heatmap-positive span {
    background: #147c45;
}

.etf-heatmap-negative span {
    background: #c45a00;
}

.etf-heatmap-neutral span {
    background: #9db0c5;
}

.etf-event-list {
    display: grid;
    gap: 0.45rem;
}

.etf-event-row {
    display: grid;
    grid-template-columns: minmax(7rem, 0.35fr) minmax(0, 1fr) minmax(8rem, auto);
    gap: 0.75rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid #d7e3f0;
    background: #fff;
    font-weight: 800;
}

.etf-event-row span:last-child {
    color: #526985;
    text-align: right;
}

.etf-radar-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    align-items: start;
}

.etf-panel {
    box-shadow: 0 12px 32px rgba(0, 59, 115, 0.045);
}

.etf-panel-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.etf-panel-head p {
    max-width: 54rem;
    line-height: 1.45;
}

.etf-view-all {
    align-self: start;
    white-space: nowrap;
}

.etf-list-row {
    grid-template-columns: auto minmax(0, 1fr) minmax(4.8rem, auto);
    align-items: start;
    min-height: 5.2rem;
    overflow: hidden;
}

.etf-list-copy {
    display: grid;
    align-content: center;
    gap: 0.18rem;
    min-width: 0;
}

.etf-list-copy small {
    line-height: 1.3;
}

.etf-list-insight {
    margin-top: 0.18rem;
    padding-left: 0.55rem;
    border-left: 2px solid #c9d8e8;
    color: #304a67;
    font-size: 0.82rem;
}

.etf-list-score,
.etf-ranking-metrics {
    display: grid;
    align-content: center;
    justify-items: end;
    gap: 0.08rem;
    text-align: right;
}

.etf-list-row .etf-list-score {
    grid-column: 3;
    grid-row: 1;
    min-width: 4.8rem;
}

.etf-list-stat-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.etf-list-stat-strip small {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    border: 1px solid #d7e3f0;
    background: #f7fbff;
    padding: 0.18rem 0.35rem;
    color: #39516f;
    font-size: 0.72rem;
    font-weight: 900;
}

.etf-list-stat-strip b {
    color: #001f3f;
}

.etf-list-stat-strip b.positive {
    color: #04713a;
}

.etf-list-stat-strip b.negative {
    color: #b84e00;
}

.etf-trend {
    display: inline-grid;
    place-items: center;
    width: 1.6rem;
    height: 1.6rem;
    border: 1px solid #c9d8e8;
    background: #f8fbff;
}

.etf-trend svg {
    width: 0.9rem;
    height: 0.9rem;
}

.etf-trend-up {
    color: #04713a;
}

.etf-trend-down {
    color: #b84e00;
}

.etf-trend-flat {
    color: #526985;
}

.etf-ranking-list {
    display: grid;
    gap: 0.55rem;
}

.etf-ranking-row {
    display: grid;
    grid-template-columns: auto minmax(18rem, 1fr) minmax(7rem, auto);
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid #c9d8e8;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.etf-ranking-row:hover {
    border-color: #003b73;
    box-shadow: 0 16px 34px rgba(0, 59, 115, 0.08);
}

.etf-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.85rem;
}

.etf-pagination a,
.etf-pagination span {
    border: 1px solid #c9d8e8;
    background: #fff;
    padding: 0.45rem 0.65rem;
    color: #003b73;
    font-weight: 900;
}

.etf-pagination a:hover,
.etf-pagination a:focus-visible {
    border-color: #003b73;
    background: #f3f8ff;
}

.etf-pagination span {
    color: #001f3f;
}

.etf-ranking-main {
    display: grid;
    align-content: center;
    gap: 0.18rem;
    min-width: 0;
}

.etf-ranking-main strong,
.etf-ranking-main small,
.etf-ranking-main span,
.etf-list-copy strong,
.etf-list-copy small {
    overflow-wrap: anywhere;
}

@media (max-width: 1200px) {
    .etf-country-grid,
    .etf-category-grid,
    .etf-detail-summary-grid,
    .etf-peer-panel .etf-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .etf-signal-panel {
        grid-column: 1 / -1;
    }

    .etf-detail-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .etf-country-panel-grid,
    .etf-dashboard-panel-grid,
    .etf-country-panel-grid > .etf-panel:last-child:nth-child(odd) .etf-list,
    .etf-dashboard-panel-grid > .etf-panel:last-child:nth-child(odd) .etf-list,
    .etf-country-panel-grid-single .etf-list {
        grid-template-columns: 1fr;
    }

    .etf-country-panel-grid > .etf-panel:last-child:nth-child(odd),
    .etf-dashboard-panel-grid > .etf-panel:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .etf-category-grid,
    .etf-breadth-strip {
        grid-template-columns: 1fr;
    }

    .etf-panel-head {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .etf-panel-head > .etf-chip,
    .etf-panel-head > .etf-view-all {
        grid-column: 1 / -1;
        justify-self: start;
        white-space: normal;
    }
}

@media (max-width: 700px) {
    .etf-hero h1,
    .etf-hero-compact h1,
    .etf-detail-hero h1 {
        font-size: 2.25rem;
        line-height: 1;
    }

    .etf-grid-two,
    .etf-country-grid,
    .etf-category-grid,
    .etf-breadth-strip,
    .etf-detail-summary-grid,
    .etf-peer-panel .etf-list {
        grid-template-columns: 1fr;
    }

    .etf-signal-panel {
        grid-column: auto;
    }

    .etf-detail-kpis {
        grid-template-columns: 1fr;
    }

    .etf-country-card {
        min-height: 0;
    }

    .etf-panel-head {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .etf-panel-head .etf-view-all {
        grid-column: 1 / -1;
        width: max-content;
    }

    .etf-list-row,
    .etf-ranking-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .etf-list-score,
    .etf-ranking-metrics {
        grid-column: 2;
        min-width: 0;
        justify-items: start;
        text-align: left;
    }

    .etf-detail-spark {
        min-height: 150px;
        border-left: 0;
        border-top: 1px solid #c9d8e8;
    }

    .etf-detail-spark svg {
        height: 90px;
    }

    .etf-line-chart {
        min-height: 160px;
    }

    .etf-line-chart svg {
        height: 160px;
    }

    .etf-index-chart {
        min-height: 112px;
    }

    .etf-index-chart svg {
        height: 112px;
    }

    .etf-event-row {
        grid-template-columns: 1fr;
    }

    .etf-event-row span:last-child {
        text-align: left;
    }

    .etf-table {
        min-width: 0;
    }

    .etf-table thead {
        display: none;
    }

    .etf-table,
    .etf-table tbody,
    .etf-table tr,
    .etf-table td {
        display: block;
        width: 100%;
    }

    .etf-table tr {
        border-bottom: 1px solid #d7e3f0;
        padding: 0.7rem 0;
    }

    .etf-table td {
        display: grid;
        grid-template-columns: minmax(7rem, 0.45fr) minmax(0, 1fr);
        gap: 0.75rem;
        border-bottom: 0;
        padding: 0.34rem 0.75rem;
        text-align: left !important;
    }

    .etf-table td::before {
        content: attr(data-label);
        color: #526985;
        font-size: 0.72rem;
        font-weight: 900;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }
}
