/* =========================================================
   CandleStan Homepage v1 — Product Foundation
   Scoped to .candlestan-home to avoid parent-theme bleed.
   ========================================================= */

:root {
    --ch-navy: #061c45;
    --ch-navy-2: #0a2b5f;
    --ch-ink: #081a38;
    --ch-muted: #718099;
    --ch-line: #e4eaf2;
    --ch-surface: #ffffff;
    --ch-bg: #f7f9fc;
    --ch-teal: #0bc3b0;
    --ch-teal-dark: #079686;
    --ch-teal-soft: #e9fbf8;
    --ch-stock: #356fd3;
    --ch-gold: #dda51c;
    --ch-fx: #7d59c8;
    --ch-shadow: 0 18px 50px rgba( 16, 40, 78, .08 );
    --ch-radius-xl: 32px;
    --ch-radius-lg: 24px;
    --ch-radius-md: 18px;
}

body.home .primary-site-content {
    background: var(--ch-bg);
}

.candlestan-home,
.candlestan-home * {
    box-sizing: border-box;
}

.candlestan-home {
    direction: rtl;
    color: var(--ch-ink);
    background:
        radial-gradient(circle at 88% 3%, rgba(11, 195, 176, .08), transparent 20%),
        linear-gradient(180deg, #fbfcfe 0, #f7f9fc 52%, #fff 100%);
    overflow: hidden;
}

.ch-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.ch-section {
    padding: 84px 0;
}

.ch-kicker,
.ch-eyebrow {
    color: var(--ch-teal-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ch-hero {
    position: relative;
    padding: 82px 0 68px;
}

.ch-hero::before {
    content: "";
    position: absolute;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    top: -260px;
    right: -210px;
    background: rgba(11, 195, 176, .07);
    filter: blur(10px);
    pointer-events: none;
}

.ch-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    gap: 54px;
    align-items: center;
}

.ch-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: var(--ch-navy-2);
}

.ch-eyebrow__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ch-teal);
    box-shadow: 0 0 0 7px rgba(11,195,176,.12);
}

.ch-hero h1 {
    margin: 0;
    max-width: 720px;
    color: var(--ch-navy);
    font-size: clamp(48px, 5.4vw, 78px);
    line-height: 1.18;
    letter-spacing: -.035em;
    font-weight: 900;
}

.ch-hero h1 span {
    color: var(--ch-teal-dark);
}

.ch-hero__lead {
    max-width: 720px;
    margin: 26px 0 0;
    color: #53647c;
    font-size: 18px;
    line-height: 2;
}

.ch-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.ch-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 15px;
    padding: 0 22px;
    text-decoration: none !important;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ch-button:hover {
    transform: translateY(-2px);
}

.ch-button--primary {
    color: #fff !important;
    background: linear-gradient(135deg, var(--ch-navy), #0a3971);
    box-shadow: 0 14px 28px rgba(6,28,69,.18);
}

.ch-button--ghost {
    color: var(--ch-navy) !important;
    background: rgba(255,255,255,.72);
    border: 1px solid #dfe6ef;
}

.ch-hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 30px;
    color: #62728a;
    font-size: 13px;
    font-weight: 650;
}

.ch-hero__proof span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ch-hero__proof i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ch-teal);
}

.ch-radar {
    position: relative;
    overflow: hidden;
    min-height: 390px;
    padding: 28px;
    border: 1px solid rgba(19,63,113,.12);
    border-radius: var(--ch-radius-xl);
    background:
        linear-gradient(145deg, rgba(255,255,255,.96), rgba(242,248,255,.94));
    box-shadow: var(--ch-shadow);
}

.ch-radar::before,
.ch-radar::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ch-radar::before {
    width: 230px;
    height: 230px;
    left: -95px;
    bottom: -105px;
    border: 1px solid rgba(11,195,176,.16);
    box-shadow: 0 0 0 38px rgba(11,195,176,.04), 0 0 0 76px rgba(11,195,176,.025);
}

.ch-radar::after {
    width: 120px;
    height: 120px;
    left: -18px;
    top: -44px;
    background: rgba(11,195,176,.06);
}

.ch-radar__top,
.ch-radar__footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ch-radar__top h2 {
    margin: 5px 0 0;
    color: var(--ch-navy);
    font-size: 26px;
}

.ch-radar__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #087c70;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 11px;
    border-radius: 999px;
    background: var(--ch-teal-soft);
}

.ch-radar__status i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ch-teal);
    box-shadow: 0 0 0 5px rgba(11,195,176,.12);
}

.ch-radar__metrics {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
    margin-top: 30px;
}

.ch-radar__metric {
    padding: 18px;
    border: 1px solid #e7edf5;
    border-radius: 17px;
    background: rgba(255,255,255,.78);
}

.ch-radar__metric span,
.ch-radar__focus span,
.ch-radar__footer span {
    display: block;
    color: #8995a8;
    font-size: 12px;
    margin-bottom: 6px;
}

.ch-radar__metric strong {
    color: var(--ch-navy);
    font-size: 17px;
}

.ch-radar__focus {
    position: relative;
    z-index: 1;
    min-height: 116px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-content: center;
    margin-top: 12px;
    padding: 19px 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--ch-navy), #0b3870);
    color: #fff;
}

.ch-radar__focus span {
    grid-column: 1 / -1;
    color: #b9c9df;
}

.ch-radar__focus strong {
    font-size: 18px;
}

.ch-radar__focus b {
    color: #72eadc;
    font-size: 19px;
}

.ch-radar__footer {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e2e9f2;
}

.ch-radar__footer span {
    margin: 0;
}

.ch-radar__footer strong {
    color: var(--ch-navy);
    font-size: 13px;
}

.ch-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 34px;
}

.ch-section-heading h2,
.ch-trust-copy h2,
.ch-final-cta h2 {
    margin: 7px 0 0;
    color: var(--ch-navy);
    font-size: clamp(32px, 3.4vw, 48px);
    line-height: 1.3;
    letter-spacing: -.025em;
}

.ch-section-heading__side {
    max-width: 480px;
    text-align: left;
}

.ch-section-heading__side p,
.ch-section-heading--content > p {
    margin: 0 0 8px;
    color: var(--ch-muted);
    line-height: 1.8;
}

.ch-section-heading__side a,
.ch-text-link {
    color: var(--ch-teal-dark) !important;
    font-weight: 800;
    text-decoration: none !important;
}

.ch-market-section {
    padding-top: 64px;
}

.ch-market-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
}

.ch-market-card {
    --card-accent: var(--ch-teal);
    color: inherit;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    min-height: 240px;
    padding: 21px;
    border-radius: var(--ch-radius-lg);
    border: 1px solid #e1e7ef;
    background: #fff;
    box-shadow: 0 12px 30px rgba(13,40,75,.055);
    transition: transform .2s ease, box-shadow .2s ease;
}

.ch-market-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(13,40,75,.09);
}

.ch-market-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--card-accent);
}

.ch-market-card::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    left: -55px;
    bottom: -65px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--card-accent) 8%, transparent);
}

.ch-market-card--stock { --card-accent: var(--ch-stock); }
.ch-market-card--gold { --card-accent: var(--ch-gold); }
.ch-market-card--fx { --card-accent: var(--ch-fx); }

.ch-market-card__head,
.ch-market-card__identity,
.ch-market-card__meta {
    display: flex;
    align-items: center;
}

.ch-market-card__head {
    justify-content: space-between;
}

.ch-market-card__identity {
    gap: 11px;
}

.ch-market-card__icon {
    min-width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--card-accent) 11%, #fff);
    color: var(--card-accent);
    font-size: 18px;
    font-weight: 900;
}

.ch-market-card__identity h3 {
    margin: 0 0 3px;
    color: var(--ch-navy);
    font-size: 17px;
}

.ch-market-card__identity span {
    color: #9aa5b5;
    font-size: 11px;
    font-weight: 700;
}

.ch-market-card__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--card-accent);
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--card-accent) 11%, transparent);
}

.ch-market-card__value {
    margin-top: 35px;
}

.ch-market-card__value strong {
    display: block;
    color: var(--ch-navy);
    font-size: clamp(23px, 2vw, 30px);
    font-variant-numeric: tabular-nums;
    direction: ltr;
    text-align: right;
    white-space: nowrap;
}

.ch-market-card__change {
    display: inline-block;
    margin-top: 7px;
    font-size: 13px;
    font-weight: 900;
}

.ch-market-card__change--positive { color: #009d83; }
.ch-market-card__change--negative { color: #d94365; }
.ch-market-card__change--neutral { color: #8b97a8; }

.ch-market-card__meta {
    position: relative;
    z-index: 1;
    justify-content: space-between;
    gap: 8px;
    margin-top: 28px;
    padding-top: 17px;
    border-top: 1px solid #edf1f6;
}

.ch-state,
.ch-provider {
    font-size: 10.5px;
    font-weight: 750;
}

.ch-state {
    max-width: 70%;
    padding: 6px 8px;
    border-radius: 999px;
    color: #087d6f;
    background: #eafaf6;
}

.ch-state--closed,
.ch-state--last_valid {
    color: #946414;
    background: #fff6df;
}

.ch-state--stale {
    color: #9a5a16;
    background: #fff1df;
}

.ch-state--unavailable {
    color: #7b8798;
    background: #f1f3f7;
}

.ch-provider {
    color: #9aa5b3;
}

.ch-trust-section {
    background: linear-gradient(180deg, rgba(241,247,252,.72), rgba(255,255,255,.35));
    border-block: 1px solid #edf1f5;
}

.ch-trust-grid {
    display: grid;
    grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
    gap: 70px;
    align-items: center;
}

.ch-trust-copy p {
    margin: 22px 0 20px;
    color: #64748a;
    font-size: 16px;
    line-height: 2;
}

.ch-principles {
    display: grid;
    gap: 12px;
}

.ch-principles article {
    position: relative;
    padding: 22px 82px 22px 24px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: rgba(255,255,255,.84);
}

.ch-principles article > span {
    position: absolute;
    right: 22px;
    top: 20px;
    color: rgba(6,28,69,.1);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.ch-principles h3 {
    margin: 0 0 6px;
    color: var(--ch-navy);
    font-size: 18px;
}

.ch-principles p {
    margin: 0;
    color: #738196;
    font-size: 13.5px;
    line-height: 1.9;
}

.ch-content-section {
    background: #fff;
}

.ch-section-heading--content > p {
    max-width: 490px;
}

.ch-content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}

.ch-content-grid--1 { grid-template-columns: minmax(0, .65fr); }
.ch-content-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }

.ch-content-card {
    overflow: hidden;
    border: 1px solid #e2e8ef;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(13,40,75,.045);
}

.ch-content-card__image {
    height: 190px;
    display: block;
    overflow: hidden;
    background: linear-gradient(135deg, #effaf8, #edf2fb);
}

.ch-content-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.ch-content-card:hover .ch-content-card__image img {
    transform: scale(1.035);
}

.ch-content-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(6,28,69,.12);
    font-size: 72px;
    font-weight: 900;
}

.ch-content-card__body {
    padding: 22px;
}

.ch-content-card__meta {
    color: #9aa5b4;
    font-size: 11px;
}

.ch-content-card h3 {
    margin: 8px 0 10px;
    font-size: 20px;
    line-height: 1.7;
}

.ch-content-card h3 a {
    color: var(--ch-navy) !important;
    text-decoration: none !important;
}

.ch-content-card p {
    margin: 0;
    color: #718095;
    font-size: 13.5px;
    line-height: 1.9;
}

.ch-content-card__link {
    display: inline-flex;
    margin-top: 16px;
    color: var(--ch-teal-dark) !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
}

.ch-final-cta {
    padding: 42px 0 88px;
}

.ch-final-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: 44px 48px;
    overflow: hidden;
    position: relative;
    color: #fff;
    border-radius: 28px;
    background:
        radial-gradient(circle at 8% 15%, rgba(39,214,196,.23), transparent 24%),
        linear-gradient(135deg, #061c45, #0b336b);
    box-shadow: 0 20px 50px rgba(6,28,69,.2);
}

.ch-final-cta__inner::after {
    content: "";
    width: 240px;
    height: 240px;
    position: absolute;
    left: -90px;
    bottom: -150px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 0 0 38px rgba(255,255,255,.025), 0 0 0 76px rgba(255,255,255,.018);
}

.ch-final-cta .ch-kicker { color: #4fe5d5; }

.ch-final-cta h2 {
    color: #fff;
    font-size: clamp(28px, 3vw, 42px);
}

.ch-final-cta p {
    margin: 10px 0 0;
    color: #c0ccdd;
}

.ch-button--light {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    color: var(--ch-navy) !important;
    background: #fff;
}

@media (max-width: 1080px) {
    .ch-hero__grid {
        grid-template-columns: minmax(0,1fr) minmax(310px,.78fr);
        gap: 34px;
    }

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

    .ch-trust-grid {
        gap: 40px;
    }
}

@media (max-width: 820px) {
    .ch-shell {
        width: min(100% - 28px, 720px);
    }

    .ch-section {
        padding: 58px 0;
    }

    .ch-hero {
        padding: 48px 0 42px;
    }

    .ch-hero__grid,
    .ch-trust-grid {
        grid-template-columns: 1fr;
    }

    .ch-hero__grid {
        gap: 28px;
    }

    .ch-hero h1 {
        font-size: clamp(40px, 10vw, 60px);
    }

    .ch-hero__lead {
        font-size: 16px;
    }

    .ch-radar {
        min-height: 0;
    }

    .ch-section-heading {
        align-items: start;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 26px;
    }

    .ch-section-heading__side,
    .ch-section-heading--content > p {
        max-width: none;
        text-align: right;
    }

    .ch-trust-grid {
        gap: 28px;
    }

    .ch-content-grid,
    .ch-content-grid--1,
    .ch-content-grid--2 {
        grid-template-columns: 1fr;
    }

    .ch-final-cta__inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 34px 30px;
    }
}

@media (max-width: 560px) {
    .ch-shell {
        width: calc(100% - 24px);
    }

    .ch-hero {
        padding-top: 34px;
    }

    .ch-eyebrow {
        font-size: 9px;
        letter-spacing: .08em;
    }

    .ch-hero h1 {
        font-size: 42px;
        line-height: 1.25;
    }

    .ch-hero__lead {
        margin-top: 18px;
        font-size: 14px;
        line-height: 1.95;
    }

    .ch-hero__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 26px;
    }

    .ch-button {
        min-height: 48px;
        padding: 0 12px;
        font-size: 12px;
    }

    .ch-hero__proof {
        gap: 10px 16px;
        margin-top: 22px;
        font-size: 11px;
    }

    .ch-radar {
        padding: 21px;
        border-radius: 24px;
    }

    .ch-radar__top h2 {
        font-size: 22px;
    }

    .ch-radar__metrics {
        margin-top: 22px;
    }

    .ch-radar__metric {
        padding: 14px;
    }

    .ch-radar__metric strong {
        font-size: 14px;
    }

    .ch-radar__focus {
        min-height: 98px;
        padding: 16px;
    }

    .ch-radar__focus strong,
    .ch-radar__focus b {
        font-size: 15px;
    }

    .ch-section-heading h2,
    .ch-trust-copy h2 {
        font-size: 32px;
    }

    .ch-market-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 10px;
    }

    .ch-market-card {
        min-height: 210px;
        padding: 16px;
        border-radius: 20px;
    }

    .ch-market-card__icon {
        min-width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 15px;
    }

    .ch-market-card__identity {
        gap: 8px;
    }

    .ch-market-card__identity h3 {
        font-size: 14px;
    }

    .ch-market-card__identity span {
        font-size: 9px;
    }

    .ch-market-card__value {
        margin-top: 28px;
    }

    .ch-market-card__value strong {
        font-size: clamp(17px, 5.2vw, 23px);
        letter-spacing: -.025em;
    }

    .ch-market-card__change {
        font-size: 11px;
    }

    .ch-market-card__meta {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 20px;
        padding-top: 13px;
    }

    .ch-state {
        max-width: 100%;
        font-size: 9px;
    }

    .ch-provider {
        font-size: 9px;
    }

    .ch-principles article {
        padding: 20px 65px 20px 18px;
    }

    .ch-principles article > span {
        right: 18px;
        font-size: 25px;
    }

    .ch-content-card__image {
        height: 175px;
    }

    .ch-final-cta {
        padding: 30px 0 64px;
    }

    .ch-final-cta__inner {
        border-radius: 22px;
        padding: 28px 22px;
    }

    .ch-final-cta h2 {
        font-size: 29px;
    }
}

@media (max-width: 375px) {
    .ch-market-grid {
        grid-template-columns: 1fr;
    }

    .ch-market-card {
        min-height: 190px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .candlestan-home *,
    .candlestan-home *::before,
    .candlestan-home *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

/* =========================================================
   CandleStan Homepage v0.36 — product polish
   ========================================================= */

/* A single genuine article should look intentional, not like a missing grid. */
.ch-content-grid--1 {
    grid-template-columns: 1fr;
}

.ch-content-grid--1 .ch-content-card {
    display: grid;
    grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
    align-items: stretch;
}

.ch-content-grid--1 .ch-content-card__image {
    height: 100%;
    min-height: 285px;
}

.ch-content-grid--1 .ch-content-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 34px;
}

.ch-content-grid--1 .ch-content-card h3 {
    font-size: 24px;
}

.ch-content-grid--1 .ch-content-card__link {
    align-self: flex-start;
}

/* Slightly tighter rhythm now that the foundation is stable. */
@media (min-width: 821px) {
    .ch-section {
        padding-block: 76px;
    }

    .ch-final-cta {
        padding-top: 34px;
    }
}

@media (max-width: 820px) {
    .ch-content-grid--1 .ch-content-card {
        display: block;
    }

    .ch-content-grid--1 .ch-content-card__image {
        min-height: 0;
        height: 210px;
    }

    .ch-content-grid--1 .ch-content-card__body {
        display: block;
        padding: 23px;
    }

    .ch-content-grid--1 .ch-content-card h3 {
        font-size: 20px;
    }
}

@media (max-width: 560px) {
    .ch-content-grid--1 .ch-content-card__image {
        height: 175px;
    }

    .ch-content-grid--1 .ch-content-card__body {
        padding: 20px;
    }
}

/* =========================================================
   CandleStan v0.38 — Homepage Intelligence Layer I
   Real-data summary built exclusively from the current Market Engine output.
   ========================================================= */
.ch-intelligence-section {
    padding-top: 28px;
    padding-bottom: 78px;
}

.ch-intelligence-panel {
    position: relative;
    overflow: hidden;
    padding: 38px;
    border: 1px solid rgba(21, 63, 113, .10);
    border-radius: 30px;
    background:
        radial-gradient(circle at 92% 14%, rgba(36, 215, 198, .14), transparent 24%),
        radial-gradient(circle at 12% 100%, rgba(68, 115, 207, .13), transparent 30%),
        linear-gradient(135deg, #06172f 0%, #0a244b 52%, #0a2d55 100%);
    box-shadow: 0 24px 70px rgba(8, 30, 67, .13);
    color: #fff;
}

.ch-intelligence-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 86%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 86%);
}

.ch-intelligence-heading,
.ch-intelligence-grid {
    position: relative;
    z-index: 1;
}

.ch-intelligence-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 28px;
}

.ch-kicker--light {
    color: #63e6db;
}

.ch-intelligence-heading h2 {
    margin: 7px 0 0;
    color: #fff;
    font-size: clamp(32px, 3.4vw, 47px);
    line-height: 1.3;
    letter-spacing: -.025em;
}

.ch-intelligence-heading > p {
    max-width: 530px;
    margin: 0;
    color: #b9c7d9;
    font-size: 14px;
    line-height: 1.95;
}

.ch-intelligence-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
    gap: 20px;
    align-items: stretch;
}

.ch-intelligence-brief {
    min-height: 286px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 22px;
    background: rgba(255,255,255,.065);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ch-intelligence-brief__label {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid rgba(67,223,208,.20);
    border-radius: 999px;
    background: rgba(20,196,181,.08);
    color: #7cebe2;
    font-size: 11px;
    font-weight: 800;
}

.ch-intelligence-brief__label i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22cfbe;
    box-shadow: 0 0 0 5px rgba(34,207,190,.10);
}

.ch-intelligence-brief h3 {
    margin: 20px 0 12px;
    color: #fff;
    font-size: 25px;
    line-height: 1.4;
}

.ch-intelligence-brief__copy {
    display: grid;
    gap: 8px;
}

.ch-intelligence-brief__copy p {
    margin: 0;
    color: #d1dbea;
    font-size: 14px;
    line-height: 1.95;
}

.ch-intelligence-brief__copy p::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 9px;
    border-radius: 50%;
    background: rgba(73,223,210,.75);
    vertical-align: middle;
}

.ch-intelligence-brief__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.09);
}

.ch-intelligence-brief__footer span {
    color: #9eb0c7;
    font-size: 11.5px;
}

.ch-intelligence-brief__footer a {
    color: #62e3d8 !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
}

.ch-intelligence-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
}

.ch-intelligence-stat {
    --intel-accent: #20cbb9;
    position: relative;
    overflow: hidden;
    min-height: 136px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    color: #0b2347;
}

.ch-intelligence-stat::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--intel-accent);
}

.ch-intelligence-stat::after {
    content: "";
    position: absolute;
    width: 76px;
    height: 76px;
    left: -30px;
    bottom: -34px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--intel-accent) 10%, transparent);
}

.ch-intelligence-stat--negative { --intel-accent: #d64a69; }
.ch-intelligence-stat--neutral  { --intel-accent: #8e99aa; }
.ch-intelligence-stat--closed   { --intel-accent: #d3a137; }

.ch-intelligence-stat span {
    color: #65758d;
    font-size: 12px;
    font-weight: 750;
}

.ch-intelligence-stat strong {
    margin-top: 4px;
    color: #081f42;
    font-size: 34px;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}

.ch-intelligence-stat small {
    margin-top: 5px;
    color: #99a3b2;
    font-size: 10.5px;
}

@supports not (background: color-mix(in srgb, #000 10%, transparent)) {
    .ch-intelligence-stat::after {
        background: rgba(32,203,185,.08);
    }
}

@media (max-width: 980px) {
    .ch-intelligence-heading {
        align-items: start;
        flex-direction: column;
        gap: 12px;
    }

    .ch-intelligence-heading > p {
        max-width: 720px;
    }

    .ch-intelligence-grid {
        grid-template-columns: 1fr;
    }

    .ch-intelligence-stats {
        grid-template-columns: repeat(4, minmax(0,1fr));
    }

    .ch-intelligence-stat {
        min-height: 116px;
    }
}

@media (max-width: 820px) {
    .ch-intelligence-section {
        padding-top: 18px;
        padding-bottom: 54px;
    }

    .ch-intelligence-panel {
        padding: 24px;
        border-radius: 24px;
    }

    .ch-intelligence-heading h2 {
        font-size: 31px;
    }

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

@media (max-width: 560px) {
    .ch-intelligence-panel {
        padding: 18px;
        border-radius: 21px;
    }

    .ch-intelligence-heading {
        margin-bottom: 18px;
    }

    .ch-intelligence-heading h2 {
        font-size: 27px;
    }

    .ch-intelligence-heading > p {
        font-size: 12.5px;
        line-height: 1.9;
    }

    .ch-intelligence-brief {
        min-height: 0;
        padding: 20px;
        border-radius: 18px;
    }

    .ch-intelligence-brief h3 {
        font-size: 21px;
    }

    .ch-intelligence-brief__copy p {
        font-size: 12.5px;
    }

    .ch-intelligence-brief__footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .ch-intelligence-stat {
        min-height: 105px;
        padding: 14px;
        border-radius: 16px;
    }

    .ch-intelligence-stat strong {
        font-size: 29px;
    }
}


/* =========================================================
   v0.40 — Homepage Quick Tools
   Functional calculators, not placeholder cards.
   ========================================================= */

.ch-tools-section {
    padding-top: 70px;
    padding-bottom: 78px;
    background:
        radial-gradient(circle at 12% 18%, rgba(11,195,176,.055), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,.4), rgba(246,249,253,.78));
    border-block: 1px solid rgba(224,231,240,.68);
}

.ch-section-heading--tools {
    align-items: center;
}

.ch-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ch-tool-card {
    --tool-accent: var(--ch-teal);
    position: relative;
    overflow: hidden;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #dfe7f0;
    border-radius: 26px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 16px 38px rgba(13,40,75,.065);
}

.ch-tool-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--tool-accent);
}

.ch-tool-card::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    left: -78px;
    bottom: -92px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--tool-accent) 7%, transparent);
    pointer-events: none;
}

.ch-tool-card--gold { --tool-accent: var(--ch-gold); }
.ch-tool-card--fx { --tool-accent: var(--ch-fx); }
.ch-tool-card--return { --tool-accent: var(--ch-stock); }

.ch-tool-card__top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 13px;
}

.ch-tool-card__icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: var(--tool-accent);
    background: color-mix(in srgb, var(--tool-accent) 10%, white);
    font-size: 18px;
    font-weight: 900;
    direction: ltr;
}

.ch-tool-card__eyebrow {
    display: block;
    margin-bottom: 3px;
    color: #8b97a9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em;
}

.ch-tool-card h3 {
    margin: 0;
    color: var(--ch-navy);
    font-size: 20px;
    line-height: 1.45;
}

.ch-tool-card__description {
    position: relative;
    z-index: 1;
    min-height: 58px;
    margin: 18px 0 20px;
    color: #728096;
    font-size: 13px;
    line-height: 1.9;
}

.ch-tool-field {
    position: relative;
    z-index: 1;
    display: block;
    margin: 0;
}

.ch-tool-field > span:first-child {
    display: block;
    margin-bottom: 8px;
    color: #64748a;
    font-size: 12px;
    font-weight: 700;
}

.ch-tool-input-wrap {
    min-height: 50px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #dfe6ef;
    border-radius: 14px;
    background: #fbfcfe;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.ch-tool-input-wrap:focus-within {
    border-color: color-mix(in srgb, var(--tool-accent) 42%, #dfe6ef);
    background: #fff;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--tool-accent) 8%, transparent);
}

.ch-tool-input-wrap input {
    min-width: 0;
    flex: 1;
    height: 48px;
    padding: 0 14px;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: var(--ch-navy);
    font: inherit;
    font-size: 15px;
    font-weight: 750;
    direction: ltr;
    text-align: left;
}

.ch-tool-input-wrap input::placeholder {
    color: #a4adba;
    font-weight: 500;
}

.ch-tool-input-wrap b {
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border-right: 1px solid #e7ecf2;
    color: #7c899b;
    background: #f4f7fa;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.ch-tool-result {
    position: relative;
    z-index: 1;
    min-height: 92px;
    margin-top: 14px;
    padding: 15px 17px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--ch-navy), #0a356b);
    color: #fff;
}

.ch-tool-result > span {
    display: block;
    margin-bottom: 5px;
    color: #b8c7dc;
    font-size: 11px;
}

.ch-tool-result strong {
    display: block;
    color: #fff;
    font-size: 21px;
    font-weight: 900;
    direction: ltr;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.ch-tool-result small {
    display: block;
    margin-top: 5px;
    color: #b8c7dc;
    font-size: 11px;
}

.ch-tool-result.is-positive strong,
.ch-tool-result.is-positive small { color: #72eadc; }
.ch-tool-result.is-negative strong,
.ch-tool-result.is-negative small { color: #ffafbd; }

.ch-tool-card__source {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
    color: #8995a6;
    font-size: 10.5px;
}

.ch-tool-card__source b {
    color: var(--tool-accent);
    font-weight: 850;
}

.ch-tool-card__source--neutral {
    justify-content: flex-start;
}

.ch-tool-double-field {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ch-tool-unavailable {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    padding: 16px;
    border: 1px dashed #d9e0e9;
    border-radius: 14px;
    color: #7a8799;
    background: #f8fafc;
    font-size: 12px;
    line-height: 1.9;
}

.ch-tool-card.is-disabled {
    min-height: 330px;
}

.ch-tools-note {
    margin: 15px 0 0;
    color: #8995a6;
    font-size: 11px;
    line-height: 1.8;
}

@media (max-width: 980px) {
    .ch-tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ch-tool-card--return {
        grid-column: 1 / -1;
        min-height: 350px;
    }
}

@media (max-width: 680px) {
    .ch-tools-section {
        padding-top: 54px;
        padding-bottom: 58px;
    }

    .ch-section-heading--tools {
        align-items: flex-start;
    }

    .ch-tools-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ch-tool-card,
    .ch-tool-card--return {
        grid-column: auto;
        min-height: 0;
        padding: 18px;
        border-radius: 21px;
    }

    .ch-tool-card__description {
        min-height: 0;
        margin: 13px 0 16px;
    }

    .ch-tool-double-field {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ch-tool-result {
        min-height: 82px;
    }

    .ch-tool-card__source {
        margin-top: 12px;
        flex-wrap: wrap;
    }
}

/* =========================================================
   CandleStan v0.42 — Persian Numeral Presentation System
   Hybrid rule: Persian UI values, Latin market symbols/codes/global USD quote.
   ========================================================= */
.ch-tool-result strong {
    direction: rtl;
    unicode-bidi: plaintext;
    text-align: right;
}

.ch-tool-input-wrap input {
    font-variant-numeric: tabular-nums;
}

.ch-radar__metric strong,
.ch-radar__focus b,
.ch-intelligence-stat strong,
.ch-market-card__change,
.ch-tool-result strong {
    font-feature-settings: "tnum" 1;
}


/* =========================================================
   CandleStan v0.43 — Persian Numeral Typography Polish
   Persian UI numerals use proportional glyphs. Latin global quotes keep tabular digits.
   ========================================================= */

/* Persian digits in the current Persian font become unnaturally wide when
   tabular-number OpenType features are forced. Reset them at presentation level. */
.ch-radar__metric strong,
.ch-radar__focus b,
.ch-intelligence-stat strong,
.ch-market-card__change,
.ch-tool-input-wrap input,
.ch-tool-result strong,
.ch-market-card__value strong:not([dir="ltr"]) {
    font-variant-numeric: proportional-nums;
    font-feature-settings: "tnum" 0;
    letter-spacing: 0;
    font-kerning: normal;
}

/* Local Iranian market values are Persian/RTL text such as
   «۲۱٬۸۳۵٬۶۷۱ تومان». Keep the whole value in one bidi island. */
.ch-market-card__value strong:not([dir="ltr"]) {
    direction: rtl;
    unicode-bidi: plaintext;
    text-align: right;
}

/* Bitcoin's global USD quote intentionally stays Latin/LTR and may keep
   tabular figures because that convention is useful for market scanning. */
.ch-market-card__value strong[dir="ltr"] {
    direction: ltr;
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    letter-spacing: 0;
}

/* Percentage tokens contain sign + Persian digits + percent sign; isolate
   their direction so RTL prose cannot visually move the sign or percent mark. */
.ch-radar__focus b,
.ch-market-card__change {
    direction: ltr;
    unicode-bidi: isolate;
}

/* Form values stay LTR while typing for predictable caret behavior, but use
   proportional Persian glyphs so grouped values remain compact/readable. */
.ch-tool-input-wrap input {
    direction: ltr;
    text-align: left;
}

.ch-tool-result strong {
    direction: rtl;
    unicode-bidi: plaintext;
    text-align: right;
}

/* =========================================================
   v0.44 — market direction color semantics
   Direction is data, not decoration: positive = teal,
   negative = rose, neutral = muted. The radar highlight now
   follows the same semantic contract as market cards and the
   Intelligence counters.
   ========================================================= */
.ch-radar__focus .ch-direction--positive { color: #72eadc; }
.ch-radar__focus .ch-direction--negative { color: #ff9fb2; }
.ch-radar__focus .ch-direction--neutral  { color: #c9d5e6; }

/* v0.45 — Homepage gateway into the dedicated Tools Platform. */
.ch-tools-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 16px;
}

.ch-tools-footer .ch-tools-note {
    margin: 0;
}

.ch-tools-directory-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid #dbe5ee;
    border-radius: 13px;
    color: var(--ch-navy) !important;
    background: rgba(255,255,255,.82);
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 850;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ch-tools-directory-link:hover {
    transform: translateY(-2px);
    border-color: rgba(11,195,176,.38);
    box-shadow: 0 10px 24px rgba(13,40,75,.07);
}

@media (max-width: 680px) {
    .ch-tools-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .ch-tools-directory-link {
        justify-content: center;
    }
}

/* =========================================================
   CandleStan v0.46 — Persian text alignment polish
   Keep Persian supporting copy aligned with RTL reading flow,
   while preserving the existing section layout itself.
   ========================================================= */

/* Section-side copy can live on the visual left, but Persian text
   should still align to its logical reading edge (right). */
.ch-section-heading__side {
    direction: rtl;
    text-align: right;
}

/* Featured article excerpts are longer editorial copy; justify them
   for a cleaner magazine-like block without changing titles/meta/CTA. */
.ch-content-card p {
    direction: rtl;
    unicode-bidi: plaintext;
    text-align: justify;
    text-align-last: right;
    text-justify: inter-word;
    letter-spacing: 0;
    word-spacing: normal;
}

/* Keep the short heading-support sentence naturally RTL as well. */
.ch-section-heading--content > p {
    direction: rtl;
    text-align: right;
}


/* =========================================================
   CandleStan v0.54.2 — Homepage radar consistency
   Keep the asset label white on the navy surface and use a
   small high-contrast direction badge for the percentage.
   ========================================================= */
.ch-radar__focus strong {
    color: #fff !important;
}

.ch-radar__focus b.ch-direction {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 9px;
    border-radius: 999px;
}

.ch-radar__focus b.ch-direction--positive {
    color: #8af3e3 !important;
    background: rgba(92, 227, 208, .11);
}

.ch-radar__focus b.ch-direction--negative {
    color: #ffd1dc !important;
    background: rgba(255, 126, 159, .12);
}

.ch-radar__focus b.ch-direction--neutral {
    color: #e2e9f2 !important;
    background: rgba(255, 255, 255, .07);
}


/* =========================================================
   CandleStan v0.55 — Homepage News Layer
   Editorial news remains secondary to Market Intelligence and Tools.
   No placeholder stories are generated: the section renders only from
   genuine published posts attached to the site's real News category tree.
   ========================================================= */

.ch-news-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 2%, rgba(18, 193, 177, .075), transparent 25%),
        radial-gradient(circle at 8% 96%, rgba(104, 89, 191, .055), transparent 28%),
        linear-gradient(180deg, rgba(250,252,255,.90), rgba(255,255,255,1));
    border-block: 1px solid rgba(226, 233, 241, .82);
}

.ch-section-heading--news {
    align-items: end;
}

.ch-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
    gap: 18px;
    align-items: stretch;
}

.ch-news-layout--single {
    grid-template-columns: 1fr;
}

.ch-news-featured,
.ch-news-item {
    border: 1px solid #e0e7ef;
    background: rgba(255,255,255,.94);
    box-shadow: 0 14px 36px rgba(13,40,75,.055);
}

.ch-news-featured {
    min-height: 346px;
    display: grid;
    grid-template-columns: minmax(260px, .92fr) minmax(0, 1.08fr);
    overflow: hidden;
    border-radius: 26px;
}

.ch-news-featured__image {
    min-height: 346px;
    display: block;
    overflow: hidden;
    background: linear-gradient(145deg, #eaf9f7, #edf1fb);
}

.ch-news-featured__image img,
.ch-news-item__thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.ch-news-featured:hover .ch-news-featured__image img,
.ch-news-item:hover .ch-news-item__thumb img {
    transform: scale(1.035);
}

.ch-news-featured__body {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 34px;
}

.ch-news-featured__body::before {
    content: "";
    position: absolute;
    top: 0;
    right: 34px;
    width: 54px;
    height: 4px;
    border-radius: 0 0 8px 8px;
    background: var(--ch-teal);
}

.ch-news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 10px;
    color: #98a4b4;
    font-size: 10.5px;
    font-weight: 700;
}

.ch-news-meta__category {
    color: #0b8f82;
    font-weight: 850;
}

.ch-news-meta__important {
    padding: 3px 7px;
    border: 1px solid rgba(217, 67, 101, .13);
    border-radius: 999px;
    color: #c83356;
    background: #fff1f4;
    font-size: 9.5px;
    line-height: 1.25;
}

.ch-news-featured h3 {
    margin: 13px 0 11px;
    color: var(--ch-navy);
    font-size: clamp(24px, 2.35vw, 32px);
    line-height: 1.62;
    letter-spacing: -.018em;
}

.ch-news-featured h3 a,
.ch-news-item h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

.ch-news-featured p {
    margin: 0;
    color: #6f7e92;
    font-size: 13.5px;
    line-height: 1.95;
}

.ch-news-featured__link {
    align-self: flex-start;
    display: inline-flex;
    margin-top: 20px;
    color: var(--ch-teal-dark) !important;
    font-size: 12.5px;
    font-weight: 850;
    text-decoration: none !important;
}

.ch-news-list {
    display: grid;
    grid-template-rows: repeat(3, minmax(0,1fr));
    gap: 12px;
}

.ch-news-item {
    min-height: 106px;
    display: grid;
    grid-template-columns: minmax(0,1fr) 112px;
    overflow: hidden;
    border-radius: 20px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ch-news-item:hover {
    transform: translateY(-2px);
    border-color: #d7e3ec;
    box-shadow: 0 17px 38px rgba(13,40,75,.075);
}

.ch-news-item__body {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px 17px 15px 42px;
}

.ch-news-item h3 {
    margin: 7px 0 0;
    color: var(--ch-navy);
    font-size: 14.5px;
    line-height: 1.72;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.ch-news-item__link {
    position: absolute;
    left: 15px;
    bottom: 14px;
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e9f0;
    border-radius: 50%;
    color: var(--ch-navy) !important;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none !important;
}

.ch-news-item__thumb {
    min-height: 100%;
    display: block;
    overflow: hidden;
    background: linear-gradient(145deg, #effaf8, #eef2fb);
}

.ch-news-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: rgba(6,28,69,.19);
    background:
        radial-gradient(circle at 30% 25%, rgba(29,199,183,.22), transparent 28%),
        linear-gradient(145deg, #edf9f7, #eef1fb);
}

.ch-news-placeholder::before,
.ch-news-placeholder::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(8,42,81,.07);
}

.ch-news-placeholder::before {
    width: 180px;
    height: 180px;
    left: -48px;
    bottom: -78px;
}

.ch-news-placeholder::after {
    width: 100px;
    height: 100px;
    right: -28px;
    top: -42px;
}

.ch-news-placeholder b {
    position: relative;
    z-index: 1;
    font-size: 34px;
    letter-spacing: .12em;
    direction: ltr;
}

.ch-news-placeholder i {
    position: absolute;
    width: 9px;
    height: 9px;
    margin: 48px 92px 0 0;
    border-radius: 50%;
    background: var(--ch-teal);
    box-shadow: 0 0 0 7px rgba(18,193,177,.10);
}

.ch-news-placeholder--compact b {
    font-size: 23px;
}

@media (max-width: 1040px) {
    .ch-news-layout {
        grid-template-columns: 1fr;
    }

    .ch-news-list {
        grid-template-columns: repeat(3, minmax(0,1fr));
        grid-template-rows: none;
    }

    .ch-news-item {
        grid-template-columns: 1fr;
    }

    .ch-news-item__thumb {
        min-height: 118px;
        grid-row: 1;
    }

    .ch-news-item__body {
        min-height: 142px;
    }
}

@media (max-width: 820px) {
    .ch-news-featured {
        grid-template-columns: 1fr;
    }

    .ch-news-featured__image {
        min-height: 0;
        height: 250px;
    }

    .ch-news-featured__body {
        padding: 26px;
    }

    .ch-news-featured__body::before {
        right: 26px;
    }

    .ch-news-list {
        grid-template-columns: 1fr;
    }

    .ch-news-item {
        grid-template-columns: minmax(0,1fr) 128px;
    }

    .ch-news-item__thumb {
        min-height: 100%;
        grid-row: auto;
    }

    .ch-news-item__body {
        min-height: 112px;
    }
}

@media (max-width: 560px) {
    .ch-news-featured,
    .ch-news-item {
        border-radius: 18px;
    }

    .ch-news-featured__image {
        height: 205px;
    }

    .ch-news-featured__body {
        padding: 22px 20px;
    }

    .ch-news-featured__body::before {
        right: 20px;
    }

    .ch-news-featured h3 {
        font-size: 22px;
    }

    .ch-news-featured p {
        font-size: 12.5px;
    }

    .ch-news-item {
        grid-template-columns: minmax(0,1fr) 96px;
    }

    .ch-news-item__body {
        padding: 14px 14px 14px 38px;
    }

    .ch-news-item h3 {
        font-size: 13.5px;
    }

    .ch-news-item__link {
        left: 12px;
        bottom: 12px;
    }

    .ch-news-meta {
        font-size: 9.5px;
    }
}

/* =========================================================
   CandleStan v0.56.2 — Homepage Editorial Justification Polish
   Long-form editorial snippets follow the same Persian typesetting
   rule as News / Articles. Headlines and UI copy are intentionally
   excluded to avoid stretched titles and control labels.
   ========================================================= */
.ch-news-featured p,
.ch-section-heading--news > p,
.ch-content-card p,
.ch-section-heading--content > p {
    direction: rtl;
    unicode-bidi: plaintext;
    text-align: justify;
    text-align-last: right;
    text-justify: inter-word;
    letter-spacing: 0;
    word-spacing: normal;
}

@media (max-width: 420px) {
    .ch-section-heading--news > p,
    .ch-section-heading--content > p {
        text-align: right;
        text-align-last: auto;
    }
}

/* =========================================================
   CandleStan v0.59.1 — Market Movement Presentation
   Absolute move + percentage + direction in one compact scan line.
   ========================================================= */
.ch-market-card__change {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    max-width: 100%;
    direction: rtl;
    unicode-bidi: isolate;
    line-height: 1.7;
}

.ch-market-card__change > span,
.ch-market-card__change > i,
.ch-market-card__change > b {
    unicode-bidi: isolate;
    font-style: normal;
}

.ch-market-card__change > i {
    opacity: .46;
    font-size: 9px;
}

.ch-market-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
}

.ch-market-card__change.is-unavailable {
    font-weight: 750;
}

@media (max-width: 640px) {
    .ch-market-card__change {
        gap: 4px;
        font-size: 10.5px;
    }
}

/* =========================================================
   CandleStan v0.59.2 — Movement clarity
   Larger scan text, unambiguous separator, visible comparison window.
   ========================================================= */
.ch-market-card__change {
    font-size: 14px;
    gap: 6px;
    line-height: 1.6;
}

.ch-market-card__change > .ch-market-card__separator {
    opacity: .34;
    font-size: 12px;
    font-weight: 700;
    transform: translateY(-.5px);
}

.ch-market-card__change-basis {
    display: block;
    margin-top: 4px;
    color: #98a2b2;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.55;
}

.ch-radar__focus b {
    max-width: 100%;
    line-height: 1.55;
    text-align: left;
}

@media (max-width: 640px) {
    .ch-market-card__change {
        font-size: 11.75px;
        gap: 5px;
    }

    .ch-market-card__change-basis {
        font-size: 9.5px;
    }
}


/* =========================================================
   CandleStan v0.59.3 — Homepage radar bidi-safe movement
   Split amount / percent into isolated flex items so Persian
   currency text and signed percentages cannot visually reorder.
   ========================================================= */
.ch-radar__focus b.ch-radar__movement {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    direction: rtl;
    unicode-bidi: isolate;
    padding: 5px 9px;
}

.ch-radar__movement-arrow,
.ch-radar__movement-amount,
.ch-radar__movement-percent,
.ch-radar__movement-separator {
    display: inline-block;
    white-space: nowrap;
    unicode-bidi: isolate;
}

.ch-radar__movement-arrow {
    font-size: 1.05em;
    line-height: 1;
}

.ch-radar__movement-separator {
    opacity: .42;
    font-size: .86em;
}

.ch-radar__movement-percent {
    direction: ltr;
}

@media (max-width: 640px) {
    .ch-radar__focus b.ch-radar__movement {
        gap: 5px;
        font-size: 16px;
    }
}


/* =========================================================
   CandleStan v0.59.4 — Mover context + restrained micro-motion
   Make the radar answer three questions at a glance:
   which asset, current price, and how much it moved.
   Motion is entry-only and disabled for reduced-motion users.
   ========================================================= */
.ch-radar__focus {
    grid-template-columns: 1fr;
    min-height: 152px;
    align-content: center;
    gap: 5px;
}

.ch-radar__focus .ch-radar__focus-label {
    grid-column: 1;
    margin-bottom: 4px;
}

.ch-radar__mover-identity {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.ch-radar__mover-identity strong {
    font-size: 17px;
    line-height: 1.4;
}

.ch-radar__mover-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-style: normal;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    animation: chMoverBadgeIn .58s cubic-bezier(.2,.75,.25,1) both;
}

.ch-radar__mover-price {
    display: block;
    width: max-content;
    max-width: 100%;
    color: #fff;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.35;
    unicode-bidi: isolate;
}

.ch-radar__focus b.ch-radar__movement {
    width: max-content;
    max-width: 100%;
    margin-top: 1px;
    padding: 4px 8px;
    font-size: 14px;
}

.ch-radar__mover-basis {
    display: block;
    color: #9fb5d0;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.45;
}

.ch-radar__movement-arrow {
    animation: chMoverArrowUp .58s cubic-bezier(.2,.75,.25,1) both;
}

.ch-radar__focus--negative .ch-radar__movement-arrow {
    animation-name: chMoverArrowDown;
}

@keyframes chMoverBadgeIn {
    from { opacity: 0; transform: translateY(3px) scale(.94); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes chMoverArrowUp {
    from { opacity: .15; transform: translateY(3px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes chMoverArrowDown {
    from { opacity: .15; transform: translateY(-3px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .ch-radar__focus { min-height: 145px; }
    .ch-radar__mover-price { font-size: 18px; }
    .ch-radar__focus b.ch-radar__movement { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
    .ch-radar__mover-icon,
    .ch-radar__movement-arrow {
        animation: none !important;
    }
}

/* =========================================================
   CandleStan v0.59.5 — Homepage mover redesign
   Homepage scope is the four primary markets. Show one best
   rise + one best fall, with name on the right and quote on
   the left. Movement context sits underneath. Motion is
   visible but restrained: two short pulses, never perpetual.
   ========================================================= */
.ch-radar__movers {
    position: relative;
    z-index: 1;
    margin-top: 12px;
    padding: 12px;
    border-radius: 19px;
    background: linear-gradient(135deg, var(--ch-navy), #0b3870);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.ch-radar__movers-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 0 3px 9px;
    color: #fff;
}

.ch-radar__movers-head > span {
    font-size: 12px;
    font-weight: 900;
}

.ch-radar__movers-head > small {
    color: #9fb5d0;
    font-size: 9.5px;
    font-weight: 700;
}

.ch-radar__mover {
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.055);
}

.ch-radar__mover + .ch-radar__mover {
    margin-top: 8px;
}

.ch-radar__mover--positive {
    border-color: rgba(92,227,208,.20);
    background: linear-gradient(90deg, rgba(92,227,208,.085), rgba(255,255,255,.035));
}

.ch-radar__mover--negative {
    border-color: rgba(255,126,159,.22);
    background: linear-gradient(90deg, rgba(255,126,159,.085), rgba(255,255,255,.035));
}

.ch-radar__mover-label {
    display: block;
    margin-bottom: 7px;
    color: #a9bfd8;
    font-size: 10px;
    font-weight: 800;
}

.ch-radar__mover--positive .ch-radar__mover-label { color: #a8e6de; }
.ch-radar__mover--negative .ch-radar__mover-label { color: #efb4c3; }

.ch-radar__mover-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    direction: rtl;
}

.ch-radar__mover-identity {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.ch-radar__mover-identity strong {
    color: #fff !important;
    font-size: 14px;
    line-height: 1.35;
    white-space: nowrap;
}

.ch-radar__mover-icon {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    border-radius: 9px;
    font-size: 11px;
    animation: chMoverPulse .9s cubic-bezier(.2,.75,.25,1) .18s 2 both;
}

.ch-radar__mover-price {
    margin-inline-start: auto;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.3;
    white-space: nowrap;
    unicode-bidi: isolate;
}

.ch-radar__mover .ch-radar__movement {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    width: max-content;
    max-width: 100%;
    margin-top: 8px;
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.45;
    direction: rtl;
    unicode-bidi: isolate;
}

.ch-radar__mover--positive .ch-radar__movement {
    color: #8af3e3;
    background: rgba(92,227,208,.09);
}

.ch-radar__mover--negative .ch-radar__movement {
    color: #ffd1dc;
    background: rgba(255,126,159,.10);
}

.ch-radar__mover .ch-radar__movement-arrow {
    display: inline-block;
    animation: chMoverArrowPulseUp .9s cubic-bezier(.2,.75,.25,1) .18s 2 both;
}

.ch-radar__mover--negative .ch-radar__movement-arrow {
    animation-name: chMoverArrowPulseDown;
}

.ch-radar__mover-basis {
    display: block;
    margin-top: 5px;
    color: #9fb5d0;
    font-size: 9.5px;
    font-weight: 700;
    line-height: 1.4;
}

.ch-radar__mover-empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #c7d3e2;
}

.ch-radar__mover-empty strong { font-size: 13px; }
.ch-radar__mover-empty span { color: #8fa7c3; }

@keyframes chMoverPulse {
    0%   { opacity: .72; transform: scale(.94); box-shadow: 0 0 0 0 rgba(255,255,255,0); }
    55%  { opacity: 1; transform: scale(1.06); box-shadow: 0 0 0 5px rgba(255,255,255,.055); }
    100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

@keyframes chMoverArrowPulseUp {
    0%   { opacity: .35; transform: translateY(3px); }
    55%  { opacity: 1; transform: translateY(-2px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes chMoverArrowPulseDown {
    0%   { opacity: .35; transform: translateY(-3px); }
    55%  { opacity: 1; transform: translateY(2px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Regular cards stay calm; motion appears only on interaction. */
.ch-market-card__icon,
.ch-market-card__arrow {
    transition: transform .2s ease, box-shadow .2s ease;
}

.ch-market-card:hover .ch-market-card__icon,
.ch-market-card:focus-within .ch-market-card__icon {
    transform: translateY(-2px) scale(1.035);
}

.ch-market-card:hover .ch-market-card__change--positive .ch-market-card__arrow,
.ch-market-card:focus-within .ch-market-card__change--positive .ch-market-card__arrow {
    transform: translateY(-2px);
}

.ch-market-card:hover .ch-market-card__change--negative .ch-market-card__arrow,
.ch-market-card:focus-within .ch-market-card__change--negative .ch-market-card__arrow {
    transform: translateY(2px);
}

@media (max-width: 640px) {
    .ch-radar__movers-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }
    .ch-radar__mover-head { gap: 9px; }
    .ch-radar__mover-identity strong { font-size: 13px; }
    .ch-radar__mover-price { font-size: 13.5px; }
    .ch-radar__mover .ch-radar__movement { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    .ch-radar__mover-icon,
    .ch-radar__mover .ch-radar__movement-arrow,
    .ch-market-card__icon,
    .ch-market-card__arrow {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* v0.59.5 compact composition: two primary-market movers share one row. */
.ch-radar__movers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.ch-radar__movers-head {
    grid-column: 1 / -1;
}

.ch-radar__mover + .ch-radar__mover {
    margin-top: 0;
}

@media (max-width: 640px) {
    .ch-radar__movers { grid-template-columns: 1fr; }
    .ch-radar__movers-head { grid-column: 1; }
}


/* ==========================================================
 * CandleStan v0.59.6 — Ranking clarity + Intelligence readability
 * Homepage mover ranking explicitly excludes closed markets.
 * Intelligence summary cards get a restrained readability bump.
 * ========================================================== */
.ch-radar__movers-head > small {
    max-width: 280px;
    line-height: 1.55;
}

.ch-intelligence-stat {
    min-height: 148px;
    padding: 20px;
}

.ch-intelligence-stat span {
    font-size: 13px;
    line-height: 1.55;
}

.ch-intelligence-stat strong {
    margin-top: 6px;
    font-size: 40px;
    line-height: 1.08;
}

.ch-intelligence-stat small {
    margin-top: 7px;
    font-size: 11.5px;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .ch-intelligence-stat {
        min-height: 132px;
        padding: 17px;
    }
    .ch-intelligence-stat span { font-size: 12px; }
    .ch-intelligence-stat strong { font-size: 34px; }
    .ch-intelligence-stat small { font-size: 10.5px; }
}

/* =========================================================
   CandleStan v0.59.7 — Market Intelligence Command Center
   Rule-based, data-grounded homepage intelligence. The goal is to answer:
   what moved, what stands out, and what is worth following next.
   ========================================================= */
.ch-intelligence-command {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, .85fr);
    gap: 20px;
    align-items: stretch;
}

.ch-intelligence-command .ch-intelligence-brief {
    min-height: 330px;
}

.ch-intelligence-signals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ch-intel-card {
    --intel-card-accent: #47d8c9;
    position: relative;
    overflow: hidden;
    min-width: 0;
    min-height: 154px;
    padding: 17px 18px 16px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    background: rgba(255,255,255,.96);
    color: #0b2347;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}

.ch-intel-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--intel-card-accent);
}

.ch-intel-card::after {
    content: "";
    position: absolute;
    width: 92px;
    height: 92px;
    left: -40px;
    bottom: -44px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--intel-card-accent) 10%, transparent);
    pointer-events: none;
}

.ch-intel-card--positive { --intel-card-accent: #22bda9; }
.ch-intel-card--negative { --intel-card-accent: #d64a69; }
.ch-intel-card--note     { --intel-card-accent: #647fe1; }
.ch-intel-card--radar    { --intel-card-accent: #d3a137; }
.ch-intel-card--mixed    { --intel-card-accent: #8d75df; }
.ch-intel-card--neutral  { --intel-card-accent: #8e99aa; }

.ch-intel-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.ch-intel-card__label {
    color: #62728a;
    font-size: 11.5px;
    font-weight: 850;
}

.ch-intel-card__top i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--intel-card-accent) 12%, #fff);
    color: var(--intel-card-accent);
    font-size: 15px;
    font-style: normal;
    font-weight: 900;
}

.ch-intel-card__headline {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.ch-intel-card__headline strong {
    min-width: 0;
    color: #071e40;
    font-size: 15px;
    font-weight: 900;
    white-space: nowrap;
}

.ch-intel-card__headline bdi {
    min-width: 0;
    color: #17375f;
    font-size: 13px;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ch-intel-card__move {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 9px;
    font-size: 12px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.ch-intel-card__move span {
    color: #a0abba;
    font-weight: 500;
}

.ch-intel-card > small,
.ch-intel-card__note-detail {
    display: block;
    margin-top: 8px;
    color: #8a98aa;
    font-size: 10.5px;
    line-height: 1.75;
}

.ch-intel-card__empty {
    display: block;
    margin-top: 15px;
    color: #304766;
    font-size: 15px;
    font-weight: 900;
}

.ch-intel-card__note-title,
.ch-intel-card__radar-title {
    display: -webkit-box;
    overflow: hidden;
    color: #0b2347 !important;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.75;
    text-decoration: none !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ch-intel-card__radar-title:hover {
    color: #0d5f77 !important;
}

.ch-intelligence-why {
    margin-top: 18px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 14px;
    background: rgba(4,19,43,.18);
}

.ch-intelligence-why summary {
    position: relative;
    padding: 11px 14px;
    color: #9feee6;
    cursor: pointer;
    font-size: 11.5px;
    font-weight: 850;
    list-style: none;
}

.ch-intelligence-why summary::-webkit-details-marker { display: none; }
.ch-intelligence-why summary::after {
    content: "+";
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #8db4cc;
    font-size: 16px;
    font-weight: 600;
}

.ch-intelligence-why[open] summary::after { content: "−"; }

.ch-intelligence-why > div {
    display: grid;
    gap: 7px;
    padding: 0 14px 13px;
}

.ch-intelligence-why p {
    margin: 0;
    color: #aebdd0;
    font-size: 10.75px;
    line-height: 1.85;
}

.ch-intelligence-strip {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 14px;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: rgba(1,16,38,.22);
}

.ch-intelligence-strip__title {
    color: #aebed0;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.ch-intelligence-strip > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.ch-intelligence-pill {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 4px 9px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.055);
    color: #c1cddd;
    font-size: 10.5px;
    font-weight: 800;
}

.ch-intelligence-pill--positive { color: #87eadf; border-color: rgba(46,204,185,.18); }
.ch-intelligence-pill--negative { color: #ffc2cf; border-color: rgba(218,80,109,.20); }
.ch-intelligence-pill--closed   { color: #f0cf83; border-color: rgba(211,161,55,.22); }
.ch-intelligence-pill--unknown  { color: #b6c1d1; }

/* The trust manifesto now sits after editorial content, where it supports
   credibility without interrupting the homepage's market-to-news flow. */
.ch-content-section + .ch-trust-section,
.ch-news-section + .ch-content-section + .ch-trust-section {
    padding-top: 42px;
}

@supports not (background: color-mix(in srgb, #000 10%, transparent)) {
    .ch-intel-card::after { background: rgba(32,203,185,.08); }
    .ch-intel-card__top i { background: #f2f6f9; }
}

@media (max-width: 1060px) {
    .ch-intelligence-command {
        grid-template-columns: 1fr;
    }

    .ch-intelligence-command .ch-intelligence-brief {
        min-height: 0;
    }

    .ch-intelligence-signals {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .ch-intel-card {
        min-height: 146px;
    }

    .ch-intel-card__headline {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }
}

@media (max-width: 860px) {
    .ch-intelligence-signals {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ch-intel-card__headline {
        align-items: baseline;
        flex-direction: row;
    }
}

@media (max-width: 620px) {
    .ch-intelligence-heading > p {
        max-width: none;
    }

    .ch-intelligence-signals {
        grid-template-columns: 1fr;
    }

    .ch-intel-card {
        min-height: 0;
        padding: 15px;
        border-radius: 17px;
    }

    .ch-intel-card__headline strong { font-size: 14px; }
    .ch-intel-card__headline bdi   { font-size: 12.5px; }

    .ch-intelligence-strip {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .ch-intelligence-strip > div {
        justify-content: flex-start;
    }
}

/* =========================================================
   CandleStan v0.59.18 — Mover / Intelligence layout hardening
   Long Persian asset names and grouped prices must never collide.
   Numeric tokens use proportional figures here to avoid the artificial
   "2 0 6 ..." visual spacing that narrow cards can create with tabular nums.
   ========================================================= */
.ch-radar__mover-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 4px;
    width: 100%;
    direction: rtl;
}

.ch-radar__mover-identity {
    min-width: 0;
    max-width: 100%;
}

.ch-radar__mover-identity strong {
    min-width: 0;
    white-space: normal;
    overflow-wrap: normal;
    line-height: 1.55;
}

.ch-radar__mover-price {
    margin-inline-start: 0;
    max-width: 100%;
    direction: rtl;
    unicode-bidi: isolate;
    text-align: left;
    font-size: 13.5px;
    font-variant-numeric: proportional-nums;
    font-feature-settings: "pnum" 1;
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
}

.ch-radar__movement bdi,
.ch-intel-card__headline bdi,
.ch-intel-card__move bdi,
.ch-intel-card__market-context bdi {
    unicode-bidi: isolate;
    font-variant-numeric: proportional-nums;
    font-feature-settings: "pnum" 1;
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
}

/* Intelligence cards are intentionally narrow: stack asset and price rather
   than forcing two long RTL tokens onto one line. */
.ch-intel-card__headline {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    align-items: start;
    min-width: 0;
}

.ch-intel-card__headline strong {
    min-width: 0;
    white-space: normal;
    line-height: 1.55;
}

.ch-intel-card__headline bdi {
    display: block;
    width: 100%;
    direction: rtl;
    text-align: right;
    color: #17375f;
    font-size: 13.5px;
    font-weight: 900;
    line-height: 1.45;
    white-space: nowrap;
}

.ch-intel-card__move {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 7px;
    direction: rtl;
    font-variant-numeric: proportional-nums;
    font-feature-settings: "pnum" 1;
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
}

.ch-intel-card > small {
    line-height: 1.65;
}

@media (max-width: 1060px) {
    .ch-intel-card__headline {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }
}

@media (max-width: 620px) {
    .ch-radar__mover-head {
        grid-template-columns: minmax(0, 1fr);
    }

    .ch-radar__mover-price {
        text-align: right;
    }
}


/* =========================================================
   CandleStan v0.59.19 — Radar breathing room + mover alignment
   Give the homepage radar ~10% more desktop width so either mover can
   accommodate long Persian asset names without special-casing gain/loss.
   The fix applies symmetrically because tomorrow's long name may be the winner.
   ========================================================= */
@media (min-width: 1081px) {
    .ch-hero__grid {
        grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
    }
}

.ch-radar__mover-head {
    grid-template-columns: minmax(100px, 1fr) auto;
    column-gap: 8px;
}

.ch-radar__mover-identity {
    gap: 6px;
}

.ch-radar__mover-identity strong {
    font-size: 13px;
}

/* =========================================================
   CandleStan v0.59.20 — Movement Contract v2
   Keep comparison basis and quote recency visually separate.
   ========================================================= */
.ch-market-card__quote-time {
    display: block;
    margin-top: 1px;
    color: #b0b8c5;
    font-size: 9.75px;
    font-weight: 600;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .ch-market-card__quote-time {
        font-size: 9px;
    }
}

/* =========================================================
   CandleStan v0.64.2 — Radar apartment expansion
   Keep the two operational metrics compact and give each mover
   the full radar width. Long Persian names and grouped Toman
   values must never compete inside a half-width card.
   ========================================================= */
.ch-radar__metrics {
    grid-template-columns: repeat(2, minmax(0, 145px));
    justify-content: start;
    gap: 8px;
    margin-top: 16px;
}

.ch-radar__metric {
    min-width: 0;
    padding: 11px 13px;
    border-radius: 14px;
}

.ch-radar__metric span {
    margin-bottom: 4px;
    font-size: 10.5px;
}

.ch-radar__metric strong {
    display: block;
    font-size: 14px;
    line-height: 1.45;
    white-space: normal;
}

.ch-radar__movers {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.ch-radar__movers-head {
    grid-column: 1;
}

.ch-radar__mover + .ch-radar__mover {
    margin-top: 0;
}

.ch-radar__mover {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
}

.ch-radar__mover-head {
    grid-template-columns: minmax(120px, 1fr) auto;
    column-gap: 14px;
}

.ch-radar__mover-identity strong {
    font-size: 14px;
    line-height: 1.55;
}

.ch-radar__mover-price {
    font-size: 14.5px;
    line-height: 1.5;
}

.ch-radar__mover .ch-radar__movement {
    margin-top: 7px;
    font-size: 12px;
}

@media (max-width: 480px) {
    .ch-radar__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .ch-radar__mover-head {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 5px;
    }

    .ch-radar__mover-price {
        width: 100%;
        text-align: right;
    }
}

/* =========================================================
   CandleStan v0.64.4 | Final Home Visual Polish
   Real CSS pass: Radar hierarchy + visible signal badges.
   ========================================================= */
.ch-radar__top h2 {
    font-size: clamp(27px, 2.35vw, 35px);
    line-height: 1.18;
    letter-spacing: -.45px;
}

.ch-radar__metrics {
    gap: 10px;
}

.ch-radar__metric {
    min-height: 66px;
    padding: 10px 14px;
}

.ch-radar__metric span {
    font-size: 11px;
}

.ch-radar__metric strong {
    font-size: clamp(16px, 1.22vw, 19px);
    line-height: 1.35;
}

.ch-radar__movers {
    gap: 12px;
    padding: 16px;
}

.ch-radar__movers-head {
    align-items: center;
    padding: 2px 4px 11px;
}

.ch-radar__movers-head > span {
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 950;
    line-height: 1.3;
    letter-spacing: -.25px;
}

.ch-radar__movers-head > small {
    max-width: 390px;
    font-size: 10.5px;
    line-height: 1.65;
}

.ch-radar__mover {
    min-height: 138px;
    padding: 16px 18px 15px;
}

.ch-radar__mover-label {
    margin-bottom: 9px;
    font-size: 12px;
    font-weight: 900;
}

.ch-radar__mover-head {
    align-items: center;
    gap: 18px;
}

.ch-radar__mover-identity {
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.ch-radar__mover-identity strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: clamp(19px, 1.75vw, 24px);
    font-weight: 950;
    line-height: 1.38;
    letter-spacing: -.25px;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ch-radar__mover-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    font-size: 14px;
}

.ch-radar__mover-price {
    flex: 0 1 auto;
    max-width: 48%;
    font-size: clamp(18px, 1.68vw, 23px);
    font-weight: 950;
    line-height: 1.38;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
}

.ch-radar__mover .ch-radar__movement {
    margin-top: 12px;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: clamp(13.5px, 1.18vw, 16px);
    font-weight: 950;
    line-height: 1.45;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}

.ch-radar__mover-basis {
    margin-top: 8px;
    font-size: 10.5px;
}

/* Shared, unmistakable market-signal language. */
.ch-signal-badge {
    --signal-fg: #53647b;
    --signal-bg: #f2f5f8;
    --signal-border: #dce4eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: max-content;
    max-width: 100%;
    min-height: 30px;
    padding: 6px 11px;
    border: 1px solid var(--signal-border);
    border-radius: 999px;
    background: var(--signal-bg);
    color: var(--signal-fg) !important;
    font-size: 12px;
    font-weight: 950;
    line-height: 1.35;
    unicode-bidi: isolate;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 1px 2px rgba(16,38,63,.04);
}

.ch-signal-badge--positive {
    --signal-fg: #067567;
    --signal-bg: #e5f8f3;
    --signal-border: #bfeadd;
}

.ch-signal-badge--negative {
    --signal-fg: #ad2d50;
    --signal-bg: #fff0f3;
    --signal-border: #f2c9d4;
}

.ch-signal-badge--neutral {
    --signal-fg: #4e6076;
    --signal-bg: #f1f4f7;
    --signal-border: #dce3ea;
}

.ch-signal-badge--closed {
    --signal-fg: #82600f;
    --signal-bg: #fff7df;
    --signal-border: #ecd898;
}

.ch-signal-badge i {
    font-style: normal;
    font-size: 14px;
    line-height: 1;
}

.ch-intelligence-brief__signals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 14px;
}

.ch-intelligence-brief__signals .ch-signal-badge {
    min-height: 33px;
    padding: 7px 12px;
    font-size: 12.5px;
}

.ch-intel-card__move.ch-signal-badge {
    margin-top: 10px;
    gap: 7px;
    min-height: 32px;
    padding: 7px 11px;
    font-size: 12.5px;
}

.ch-intel-card__move.ch-signal-badge span {
    color: currentColor;
    opacity: .5;
}

.ch-intel-card__badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.ch-intel-card__badge-row .ch-signal-badge {
    min-height: 29px;
    padding: 5px 10px;
    font-size: 11.5px;
}

.ch-intel-card__market-context .ch-intel-card__badge-row {
    margin-top: 7px;
}

.ch-intel-card__market-context > bdi {
    display: inline-flex;
    margin-top: 7px;
    padding: 6px 10px;
    border: 1px solid #e0e6ed;
    border-radius: 999px;
    background: #f3f5f8;
    color: #526277;
    font-weight: 900;
}

@media (max-width: 980px) {
    .ch-radar__mover-price { max-width: 46%; }
    .ch-radar__mover-identity strong { font-size: clamp(18px, 2.2vw, 21px); }
    .ch-radar__mover-price { font-size: clamp(17px, 2.15vw, 20px); }
}

@media (max-width: 640px) {
    .ch-radar__top h2 { font-size: 27px; }
    .ch-radar__movers { padding: 13px; }
    .ch-radar__movers-head { display: block; }
    .ch-radar__movers-head > span { display: block; font-size: 18px; }
    .ch-radar__movers-head > small { display: block; margin-top: 5px; }
    .ch-radar__mover { min-height: 0; padding: 14px; }
    .ch-radar__mover-head { align-items: flex-start; gap: 10px; }
    .ch-radar__mover-identity strong { font-size: 17px; }
    .ch-radar__mover-icon { width: 34px; height: 34px; flex-basis: 34px; }
    .ch-radar__mover-price { max-width: 46%; font-size: 15px; }
    .ch-radar__mover .ch-radar__movement { font-size: 12.5px; padding: 7px 10px; }
    .ch-intelligence-brief__signals { gap: 6px; }
    .ch-signal-badge { font-size: 10.75px; min-height: 28px; padding: 5px 8px; }
}

@media (max-width: 480px) {
    .ch-radar__mover-head {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 7px;
    }

    .ch-radar__mover-price {
        width: 100%;
        max-width: 100%;
        text-align: right;
        font-size: 16px;
    }
}


/* =========================================================
   CandleStan v0.64.5 | Radar Composition & Intelligence Readability
   Final composition pass based on live-page review:
   - mover quotes stay atomic instead of breaking digit groups
   - operational metrics use their available visual weight
   - narrative intelligence uses compact inline tokens, not duplicate hero pills
   ========================================================= */

/* Radar header + compact operational windows. */
.ch-radar__top h2 {
    font-size: clamp(29px, 2.55vw, 37px);
    line-height: 1.14;
    letter-spacing: -.55px;
}

.ch-radar__metrics {
    grid-template-columns: repeat(2, minmax(0, 152px));
    justify-content: start;
    align-items: stretch;
    gap: 10px;
    margin-top: 18px;
}

.ch-radar__metric {
    min-height: 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 11px 15px;
}

.ch-radar__metric span {
    margin-bottom: 3px;
    font-size: 11.5px;
    font-weight: 750;
}

.ch-radar__metric strong {
    font-size: clamp(18px, 1.4vw, 21px);
    font-weight: 950;
    line-height: 1.25;
    white-space: nowrap;
}

/* The mover area owns the visual hierarchy. */
.ch-radar__movers {
    margin-top: 12px;
    padding: 17px;
    gap: 12px;
}

.ch-radar__movers-head {
    display: grid;
    grid-template-columns: minmax(145px, .72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: 14px;
    padding: 1px 4px 12px;
}

.ch-radar__movers-head > span {
    font-size: clamp(20px, 1.75vw, 25px);
    font-weight: 950;
    line-height: 1.28;
}

.ch-radar__movers-head > small {
    max-width: none;
    margin-top: 2px;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.72;
}

.ch-radar__mover {
    min-height: 142px;
    padding: 16px 18px 14px;
}

.ch-radar__mover-label {
    margin-bottom: 8px;
    font-size: 12px;
    letter-spacing: 0;
}

.ch-radar__mover-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: center;
    gap: 14px;
    width: 100%;
    direction: rtl;
}

.ch-radar__mover-identity {
    min-width: 0;
    gap: 9px;
}

.ch-radar__mover-identity strong {
    display: block;
    min-width: 0;
    overflow: visible;
    font-size: clamp(19px, 1.65vw, 23px);
    font-weight: 950;
    line-height: 1.35;
    letter-spacing: -.2px;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    -webkit-line-clamp: initial;
    -webkit-box-orient: initial;
}

.ch-radar__mover-icon {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    border-radius: 12px;
    font-size: 14px;
}

.ch-radar__mover-price {
    display: inline-block;
    width: auto;
    min-width: max-content;
    max-width: none;
    margin: 0;
    color: #fff;
    direction: rtl;
    unicode-bidi: isolate;
    text-align: left;
    font-size: clamp(17px, 1.42vw, 21px);
    font-weight: 950;
    line-height: 1.35;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    font-variant-numeric: proportional-nums;
    font-feature-settings: "pnum" 1;
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
}

.ch-radar__mover .ch-radar__movement {
    margin-top: 11px;
    min-height: 34px;
    padding: 7px 12px;
    font-size: clamp(13px, 1.08vw, 15px);
}

.ch-radar__mover-basis {
    margin-top: 7px;
    font-size: 10px;
}

/* Market Intelligence narrative: numbers are highlighted in place.
   The larger duplicate leader pills above the copy were removed in markup. */
.ch-intelligence-brief__copy {
    margin-top: 12px;
}

.ch-intelligence-brief__copy p {
    line-height: 2.05;
}

.ch-inline-signal {
    --inline-fg: #dce7f3;
    --inline-bg: rgba(255,255,255,.08);
    --inline-border: rgba(255,255,255,.13);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    margin: 0 3px;
    padding: 2px 7px 3px;
    border: 1px solid var(--inline-border);
    border-radius: 8px;
    background: var(--inline-bg);
    color: var(--inline-fg);
    font-size: .91em;
    font-weight: 900;
    line-height: 1.35;
    vertical-align: baseline;
    white-space: nowrap;
    unicode-bidi: isolate;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}


.ch-inline-signal-group {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-inline: 3px;
    vertical-align: baseline;
}

.ch-inline-signal--positive {
    --inline-fg: #7fe9da;
    --inline-bg: rgba(32,203,185,.10);
    --inline-border: rgba(73,222,205,.22);
}

.ch-inline-signal--negative {
    --inline-fg: #ffc0ce;
    --inline-bg: rgba(214,74,105,.11);
    --inline-border: rgba(255,143,169,.22);
}

.ch-inline-signal--neutral {
    --inline-fg: #d6e0ec;
    --inline-bg: rgba(185,201,221,.075);
    --inline-border: rgba(185,201,221,.16);
}

/* Keep card badges strong, but slightly calmer than the removed brief pills. */
.ch-intel-card__move.ch-signal-badge {
    min-height: 30px;
    padding: 6px 10px;
    font-size: 12px;
}

.ch-intel-card__badge-row .ch-signal-badge {
    min-height: 27px;
    padding: 4px 9px;
    font-size: 11px;
}

@media (max-width: 1080px) {
    .ch-radar__mover-head {
        grid-template-columns: minmax(0, 1fr) max-content;
        gap: 10px;
    }

    .ch-radar__mover-identity strong {
        font-size: clamp(17px, 2vw, 20px);
    }

    .ch-radar__mover-price {
        font-size: clamp(16px, 1.9vw, 18px);
    }
}

@media (max-width: 980px) {
    .ch-radar__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .ch-radar__movers-head {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .ch-radar__movers-head > span {
        font-size: 19px;
    }

    .ch-radar__mover-head {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .ch-radar__mover-price {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        text-align: right;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .ch-radar__top h2 { font-size: 27px; }
    .ch-radar__metric strong { font-size: 17px; }
    .ch-radar__mover { min-height: 0; padding: 14px; }
    .ch-radar__mover-identity strong { font-size: 17px; }
    .ch-radar__mover-price { font-size: 15.5px; }
    .ch-inline-signal { margin-inline: 2px; padding-inline: 6px; font-size: .88em; }
}

/* =========================================================
   CandleStan v0.64.7 — Home radar final alignment + dynamic market count
   Fixes the wrapped mover heading, lets the qualifier text breathe on the left,
   supports a fifth representative market card, and makes leader cards clickable.
   ========================================================= */
.ch-radar__movers-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: nowrap;
}

.ch-radar__movers-head > span {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.35;
}

.ch-radar__movers-head > small {
    flex: 1 1 auto;
    max-width: none;
    margin-inline-start: auto;
    text-align: left;
    font-size: 9.35px;
    line-height: 1.6;
}

.ch-market-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.ch-intel-card--link {
    display: block;
    color: inherit !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ch-intel-card--link:hover,
.ch-intel-card--link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(12, 32, 67, .08);
    border-color: rgba(12, 95, 119, .18);
}

.ch-intel-card--link:focus-visible {
    outline: 2px solid rgba(34, 189, 169, .28);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .ch-radar__movers-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .ch-radar__movers-head > span {
        white-space: normal;
    }

    .ch-radar__movers-head > small {
        text-align: right;
    }
}

/* =========================================================
   CandleStan v0.65.1 — Market card auto-fit + structural alignment
   All homepage representative cards share one vertical rhythm. Long titles
   and large quotes stay on one line and are fitted by the small JS guard.
   ========================================================= */
.ch-market-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}

.ch-market-card__head {
    min-height: 54px;
    align-items: flex-start;
}

.ch-market-card__identity {
    flex: 1 1 auto;
    min-width: 0;
    align-items: flex-start;
}

.ch-market-card__identity > div {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
}

.ch-market-card__identity h3 {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip;
    line-height: 1.45;
}

.ch-market-card__identity span {
    display: block;
    min-height: 16px;
}

.ch-market-card__value {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 136px;
    margin-top: 24px;
}

.ch-market-card__value strong {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.ch-market-card__change {
    min-height: 24px;
}

.ch-market-card__change-basis,
.ch-market-card__quote-time {
    flex: 0 0 auto;
}

.ch-market-card__meta {
    min-height: 50px;
    margin-top: auto;
    align-items: center;
}

.ch-state {
    flex: 0 0 auto;
    max-width: none;
    white-space: nowrap;
}

.ch-provider {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

@media (max-width: 1080px) {
    .ch-market-card__value {
        min-height: 128px;
    }
}

@media (max-width: 560px) {
    .ch-market-card__head {
        min-height: 50px;
    }

    .ch-market-card__value {
        min-height: 122px;
        margin-top: 20px;
    }

    .ch-market-card__meta {
        min-height: 0;
        align-items: flex-start;
    }

    .ch-state,
    .ch-provider {
        max-width: 100%;
        flex-basis: auto;
    }
}

/* =========================================================
   CandleStan v0.65.3 — Homepage asset icon containment fix
   v0.65.1's generic identity span rule also matched the icon span,
   overriding inline-flex and pushing the glyph to the corner.
   Keep every asset glyph centered and contained inside its badge.
   ========================================================= */
.ch-market-card__identity > .ch-market-card__icon {
    box-sizing: border-box;
    display: inline-flex !important;
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
    line-height: 1;
    color: var(--card-accent);
    font-size: 16px;
    font-weight: 900;
    text-align: center;
    vertical-align: middle;
}

/* Keep the market symbol/subtitle rule scoped to the text column only. */
.ch-market-card__identity > div > span {
    display: block;
    min-height: 16px;
    color: #9aa5b5;
    font-size: 11px;
    font-weight: 700;
}

@media (max-width: 560px) {
    .ch-market-card__identity > .ch-market-card__icon {
        flex-basis: 38px;
        width: 38px;
        min-width: 38px;
        max-width: 38px;
        height: 38px;
        min-height: 38px;
        max-height: 38px;
        border-radius: 12px;
        font-size: 14px;
    }
}

/* =========================================================
   CandleStan v0.65.4 — Mobile Home final polish
   Mobile-only correction for the News heading alignment and a measured
   compaction of Market Intelligence. Desktop/tablet rules remain untouched.
   ========================================================= */
@media (max-width: 560px) {
    /* News: the desktop `align-items: end` rule must not pull the heading
       to the physical left once the section heading becomes a column. */
    .ch-section-heading--news {
        align-items: flex-start;
        width: 100%;
        text-align: right;
    }

    .ch-section-heading--news > div:first-child,
    .ch-section-heading--news .ch-section-heading__side {
        width: 100%;
        max-width: none;
        text-align: right;
    }

    /* Market Intelligence: preserve all information, but reduce the mobile
       vertical footprint and bring typography back to the homepage rhythm. */
    .ch-intelligence-section {
        padding-top: 14px;
        padding-bottom: 46px;
    }

    .ch-intelligence-panel {
        padding: 15px;
        border-radius: 20px;
    }

    .ch-intelligence-heading {
        gap: 8px;
        margin-bottom: 15px;
    }

    .ch-intelligence-heading h2 {
        font-size: 24px;
        line-height: 1.38;
    }

    .ch-intelligence-heading > p {
        font-size: 12px;
        line-height: 1.82;
    }

    .ch-intelligence-brief {
        padding: 16px;
        border-radius: 16px;
    }

    .ch-intelligence-brief__label {
        gap: 7px;
        padding: 6px 9px;
        font-size: 10.5px;
    }

    .ch-intelligence-brief h3 {
        margin: 15px 0 9px;
        font-size: 19px;
    }

    .ch-intelligence-brief__copy {
        gap: 6px;
    }

    .ch-intelligence-brief__copy p {
        font-size: 12px;
        line-height: 1.82;
    }

    .ch-intelligence-brief__copy p::before {
        width: 5px;
        height: 5px;
        margin-left: 7px;
    }

    .ch-intelligence-brief__footer {
        gap: 7px;
        padding-top: 14px;
    }

    .ch-intelligence-signals {
        gap: 9px;
    }

    .ch-intel-card {
        padding: 13px 14px;
        border-radius: 15px;
    }

    .ch-intel-card__top {
        margin-bottom: 9px;
    }

    .ch-intel-card__label {
        font-size: 10.5px;
    }

    .ch-intel-card__top i {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        border-radius: 9px;
        font-size: 14px;
    }

    .ch-intel-card__headline strong {
        font-size: 13.5px;
    }

    .ch-intel-card__headline bdi {
        font-size: 12px;
    }

    .ch-intel-card__move {
        gap: 6px;
        margin-top: 7px;
        font-size: 11.5px;
    }

    .ch-intel-card > small,
    .ch-intel-card__note-detail {
        margin-top: 6px;
        font-size: 10px;
        line-height: 1.65;
    }

    .ch-intel-card__note-title,
    .ch-intel-card__radar-title {
        font-size: 13px;
        line-height: 1.65;
    }

    .ch-intelligence-strip {
        gap: 7px;
        margin-top: 10px;
        padding: 10px 12px;
        border-radius: 14px;
    }

    .ch-intelligence-strip__title {
        font-size: 10.5px;
    }

    .ch-intelligence-pill {
        min-height: 25px;
        padding: 3px 8px;
        font-size: 10px;
    }
}

/* =========================================================
   CandleStan v0.65.13 | Mobile Home radar mover alignment
   Match Market Pulse mobile hierarchy without touching desktop:
   label centered -> identity right / price left -> move centered -> basis centered.
   ========================================================= */
@media (max-width: 560px) {
    .ch-radar__mover-label {
        display: block;
        width: 100%;
        margin-bottom: 9px;
        text-align: center;
    }

    .ch-radar__mover-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "price identity";
        align-items: center;
        gap: 10px;
        width: 100%;
        direction: ltr;
    }

    .ch-radar__mover-identity {
        grid-area: identity;
        justify-self: end;
        justify-content: flex-end;
        min-width: 0;
        direction: rtl;
        text-align: right;
    }

    .ch-radar__mover-identity strong {
        text-align: right;
    }

    .ch-radar__mover-price {
        grid-area: price;
        justify-self: start;
        width: auto;
        min-width: 0;
        max-width: 100%;
        margin: 0;
        direction: rtl;
        unicode-bidi: isolate;
        text-align: left;
        white-space: nowrap !important;
    }

    .ch-radar__mover .ch-radar__movement {
        display: inline-flex;
        width: max-content;
        max-width: 100%;
        margin: 10px auto 0;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .ch-radar__mover-basis {
        display: block;
        width: 100%;
        margin-top: 7px;
        text-align: center;
    }
}

/* =========================================================
   CandleStan v0.65.14 | Mobile Home radar badge centering
   Inline flex ignores auto inline margins; use a shrink-to-fit flex box
   so the movement badge is physically centered on phones.
   ========================================================= */
@media (max-width: 560px) {
    .ch-radar__mover .ch-radar__movement {
        display: flex;
        width: fit-content;
        max-width: 100%;
        margin-inline: auto !important;
        margin-top: 10px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

/* =========================================================
   CandleStan v0.65.15 | Desktop homepage balance + calendar spotlight
   Requested desktop refinements are scoped to desktop. The new Economic
   Calendar and Tools Hub discovery surfaces are responsive across devices.
   ========================================================= */
@media (min-width: 981px) {
    /* Radar operational metrics: coverage remains on the physical right,
       markets remains on the physical left; only the market-state value is
       reduced one step so the metric does not overpower the radar title. */
    .ch-radar__metrics {
        direction: rtl;
    }

    .ch-radar__metric:nth-child(2) strong {
        font-size: 16.5px;
        line-height: 1.3;
    }

    /* Desktop mover hierarchy now matches the approved mobile composition. */
    .ch-radar__mover-label {
        display: block;
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }

    .ch-radar__mover-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "price identity";
        align-items: center;
        gap: 12px;
        width: 100%;
        direction: ltr;
    }

    .ch-radar__mover-identity {
        grid-area: identity;
        justify-self: end;
        justify-content: flex-end;
        min-width: 0;
        direction: rtl;
        text-align: right;
    }

    .ch-radar__mover-identity strong {
        text-align: right;
    }

    .ch-radar__mover-price {
        grid-area: price;
        justify-self: start;
        width: auto;
        min-width: 0;
        max-width: 100%;
        margin: 0;
        text-align: left;
        white-space: nowrap !important;
    }

    .ch-radar__mover .ch-radar__movement {
        display: flex;
        width: fit-content;
        max-width: 100%;
        margin: 11px auto 0;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .ch-radar__mover-basis {
        display: block;
        width: 100%;
        margin-top: 7px;
        text-align: center;
    }

    /* Market Now: movement, basis and quote-time rows read as one centered
       information stack while the main quote itself keeps its current layout. */
    .ch-market-card__change {
        align-self: center;
        justify-content: center;
        text-align: center;
    }

    .ch-market-card__change-basis,
    .ch-market-card__quote-time {
        width: 100%;
        text-align: center;
    }

    .ch-market-card__change.is-unavailable {
        width: 100%;
        max-width: 100%;
        padding-inline: 2px;
        font-size: 10.25px;
        line-height: 1.55;
        white-space: nowrap;
    }

    /* Intelligence signal cards: keep their labels/top row untouched, but
       center the actual leader/note information beneath it. */
    .ch-intel-card--positive .ch-intel-card__headline,
    .ch-intel-card--negative .ch-intel-card__headline {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        text-align: center;
    }

    .ch-intel-card--positive .ch-intel-card__headline strong,
    .ch-intel-card--positive .ch-intel-card__headline bdi,
    .ch-intel-card--negative .ch-intel-card__headline strong,
    .ch-intel-card--negative .ch-intel-card__headline bdi,
    .ch-intel-card--positive > small,
    .ch-intel-card--negative > small {
        text-align: center;
    }

    .ch-intel-card--positive .ch-intel-card__move,
    .ch-intel-card--negative .ch-intel-card__move {
        width: fit-content;
        margin-inline: auto;
        justify-content: center;
        text-align: center;
    }

    .ch-intel-card--note .ch-intel-card__note-title,
    .ch-intel-card--note .ch-intel-card__note-detail {
        text-align: center;
    }

    .ch-intel-card--note .ch-intel-card__badge-row {
        justify-content: center;
    }

    /* Keep the short Quick Tools support sentence on one desktop line. */
    .ch-section-heading--tools .ch-section-heading__side {
        max-width: 620px;
    }

    .ch-section-heading--tools .ch-section-heading__side p {
        white-space: nowrap;
    }
}

/* Narrative copy benefits from justification on both desktop and mobile. */
.ch-intelligence-brief__copy p {
    direction: rtl;
    text-align: justify;
    text-align-last: right;
    text-justify: inter-word;
}

/* ---------- Economic Calendar homepage spotlight ---------- */
.ch-calendar-section {
    padding-top: 66px;
    padding-bottom: 66px;
    background:
        radial-gradient(circle at 90% 5%, rgba(16,190,174,.08), transparent 29%),
        linear-gradient(180deg, #fbfdff 0%, #f6fafc 100%);
    border-bottom: 1px solid rgba(224,231,240,.72);
}

.ch-calendar-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
    gap: 24px;
    align-items: stretch;
    padding: 28px;
    border: 1px solid #dfe7ef;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(13,40,75,.06);
}

.ch-calendar-spotlight__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 8px 8px 8px 4px;
}

.ch-calendar-spotlight__copy h2 {
    margin: 8px 0 10px;
    color: var(--ch-navy);
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.3;
    letter-spacing: -.025em;
}

.ch-calendar-spotlight__copy > p {
    max-width: 690px;
    margin: 0;
    color: var(--ch-muted);
    font-size: 14px;
    line-height: 2;
    text-align: justify;
    text-align-last: right;
    text-justify: inter-word;
}

.ch-calendar-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.ch-calendar-features span {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 5px 10px;
    border: 1px solid #dfe8ee;
    border-radius: 999px;
    background: #f8fbfc;
    color: #56677e;
    font-size: 10.5px;
    font-weight: 800;
}

.ch-calendar-cta {
    align-self: flex-start;
    margin-top: 20px;
}

.ch-calendar-next {
    position: relative;
    overflow: hidden;
    min-width: 0;
    padding: 24px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 12% 8%, rgba(34,203,185,.16), transparent 35%),
        linear-gradient(145deg, #071f49 0%, #0a356d 100%);
    color: #fff;
}

.ch-calendar-next::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    left: -70px;
    bottom: -80px;
    border: 24px solid rgba(80,226,211,.07);
    border-radius: 50%;
    pointer-events: none;
}

.ch-calendar-next__eyebrow {
    position: relative;
    z-index: 1;
    display: block;
    color: #69e4d8;
    font-size: 11px;
    font-weight: 900;
}

.ch-calendar-next > strong {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 12px;
    color: #fff;
    font-size: 22px;
    line-height: 1.55;
    font-weight: 900;
}

.ch-calendar-next > p {
    position: relative;
    z-index: 1;
    margin: 12px 0 0;
    color: #bdcde1;
    font-size: 12px;
    line-height: 1.9;
}

.ch-calendar-next__time {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 0;
    border-block: 1px solid rgba(255,255,255,.11);
}

.ch-calendar-next__time b,
.ch-calendar-next__time span {
    display: block;
}

.ch-calendar-next__time b {
    color: #fff;
    font-size: 13px;
}

.ch-calendar-next__time span {
    color: #9fb5ce;
    font-size: 12px;
    font-weight: 800;
}

.ch-calendar-next__meta,
.ch-calendar-next__watch {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.ch-calendar-next__meta span,
.ch-calendar-next__watch span {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 4px 8px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 999px;
    background: rgba(255,255,255,.065);
    color: #cfdae8;
    font-size: 9.5px;
    font-weight: 800;
}

.ch-calendar-next__watch span {
    color: #7fe7db;
    border-color: rgba(99,226,211,.17);
    background: rgba(49,208,191,.07);
}

/* ---------- Stronger Tools Hub gateway ---------- */
.ch-tools-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

.ch-tools-footer .ch-tools-note {
    color: #8a96a7;
    font-size: 10.5px;
    line-height: 1.7;
}

.ch-tools-discovery {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 20px 22px;
    border: 1px solid #dce7ed;
    border-radius: 20px;
    background:
        radial-gradient(circle at 4% 50%, rgba(19,185,170,.10), transparent 25%),
        linear-gradient(135deg, #fff 0%, #f8fbfc 100%);
    box-shadow: 0 12px 30px rgba(13,40,75,.045);
}

.ch-tools-discovery__copy {
    min-width: 0;
}

.ch-tools-discovery__copy > span {
    display: block;
    margin-bottom: 5px;
    color: var(--ch-teal-dark);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
}

.ch-tools-discovery__copy > strong {
    display: block;
    color: var(--ch-navy);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 900;
}

.ch-tools-discovery__copy > p {
    max-width: 720px;
    margin: 6px 0 0;
    color: #718096;
    font-size: 11.5px;
    line-height: 1.85;
}

.ch-tools-discovery .ch-tools-directory-link {
    min-height: 46px;
    padding-inline: 18px;
    border-color: var(--ch-navy);
    background: var(--ch-navy);
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(7,31,73,.13);
}

.ch-tools-discovery .ch-tools-directory-link:hover {
    border-color: #0a356d;
    background: #0a356d;
    box-shadow: 0 13px 28px rgba(7,31,73,.18);
}

@media (max-width: 980px) {
    .ch-calendar-spotlight {
        grid-template-columns: 1fr;
    }

    .ch-calendar-next {
        min-height: 0;
    }

    .ch-tools-discovery {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

    .ch-tools-discovery .ch-tools-directory-link {
        align-self: flex-start;
    }
}

@media (max-width: 560px) {
    .ch-calendar-section {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .ch-calendar-spotlight {
        gap: 14px;
        padding: 15px;
        border-radius: 21px;
    }

    .ch-calendar-spotlight__copy {
        padding: 3px;
    }

    .ch-calendar-spotlight__copy h2 {
        font-size: 25px;
    }

    .ch-calendar-spotlight__copy > p {
        font-size: 12px;
        line-height: 1.9;
    }

    .ch-calendar-features {
        gap: 6px;
        margin-top: 14px;
    }

    .ch-calendar-features span {
        min-height: 28px;
        padding: 4px 8px;
        font-size: 9px;
    }

    .ch-calendar-cta {
        width: 100%;
        justify-content: center;
        margin-top: 16px;
    }

    .ch-calendar-next {
        padding: 18px;
        border-radius: 19px;
    }

    .ch-calendar-next > strong {
        font-size: 19px;
    }

    .ch-calendar-next__time {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .ch-tools-discovery {
        padding: 16px;
        border-radius: 17px;
    }

    .ch-tools-discovery__copy > strong {
        font-size: 14px;
    }

    .ch-tools-discovery__copy > p {
        font-size: 10.5px;
    }

    .ch-tools-discovery .ch-tools-directory-link {
        align-self: stretch;
        justify-content: center;
    }

    .ch-section-heading--tools .ch-section-heading__side p {
        white-space: normal;
    }
}

/* =========================================================
   CandleStan v0.65.16 | Homepage economic-calendar day preview
   Network-free next-business-day preview, capped to three events.
   ========================================================= */
.ch-calendar-next {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 22px;
}

.ch-calendar-next__header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,.11);
}

.ch-calendar-next__header > div {
    min-width: 0;
}

.ch-calendar-next__header strong {
    display: block;
    margin-top: 7px;
    color: #fff;
    font-size: 20px;
    line-height: 1.45;
    font-weight: 900;
}

.ch-calendar-next__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid rgba(101,228,216,.18);
    border-radius: 999px;
    background: rgba(42,205,190,.08);
    color: #80eadf;
    font-size: 10px;
    font-weight: 850;
    white-space: nowrap;
}

.ch-calendar-events {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 9px;
    margin-top: 14px;
}

.ch-calendar-event {
    --ch-calendar-impact:#9fb5ce;
    display: grid;
    gap: 10px;
    padding: 12px 13px;
    border: 1px solid rgba(255,255,255,.10);
    border-right: 3px solid var(--ch-calendar-impact);
    border-radius: 15px;
    background: rgba(255,255,255,.055);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.ch-calendar-event--high { --ch-calendar-impact:#ff8eac; }
.ch-calendar-event--medium { --ch-calendar-impact:#f4c85e; }
.ch-calendar-event--low { --ch-calendar-impact:#64dfd3; }

.ch-calendar-event__main {
    display: grid;
    grid-template-columns: 82px minmax(0,1fr);
    gap: 12px;
    align-items: center;
}

.ch-calendar-event__main > time {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 5px 7px;
    border-radius: 10px;
    background: rgba(255,255,255,.07);
    color: #e4edf8;
    font-size: 10px;
    font-weight: 850;
    direction: rtl;
    white-space: nowrap;
}

.ch-calendar-event__copy {
    min-width: 0;
    direction: rtl;
    text-align: right;
}

.ch-calendar-event__copy > strong {
    display: block;
    color: #fff;
    font-size: 13px;
    line-height: 1.65;
    font-weight: 900;
}

.ch-calendar-event__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 5px;
}

.ch-calendar-event__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 3px 7px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 999px;
    color: #afc0d5;
    font-size: 8.5px;
    font-weight: 750;
}

.ch-calendar-event__impact {
    color: var(--ch-calendar-impact) !important;
    border-color: color-mix(in srgb,var(--ch-calendar-impact) 34%,transparent) !important;
    background: color-mix(in srgb,var(--ch-calendar-impact) 8%,transparent);
}

.ch-calendar-event__numbers {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 6px;
}

.ch-calendar-event__numbers > span {
    min-width: 0;
    padding: 7px 8px;
    border-radius: 10px;
    background: rgba(255,255,255,.045);
    text-align: center;
}

.ch-calendar-event__numbers small,
.ch-calendar-event__numbers bdi {
    display: block;
}

.ch-calendar-event__numbers small {
    color: #8fa6c0;
    font-size: 8px;
    font-weight: 700;
}

.ch-calendar-event__numbers bdi {
    margin-top: 3px;
    color: #f3f7fc;
    font-size: 10px;
    font-weight: 900;
    unicode-bidi: isolate;
}

.ch-calendar-next__footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
}

.ch-calendar-next__footer > span {
    color: #90a6c0;
    font-size: 9px;
    line-height: 1.7;
}

.ch-calendar-next__footer > a,
.ch-calendar-next__empty > a {
    color: #6ce5da;
    text-decoration: none;
    font-size: 9.5px;
    font-weight: 900;
    white-space: nowrap;
}

.ch-calendar-next__footer > a:hover,
.ch-calendar-next__empty > a:hover {
    color: #fff;
}

.ch-calendar-next__empty {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    min-height: 190px;
    padding: 18px 4px 4px;
    text-align: right;
}

.ch-calendar-next__empty > strong {
    color: #fff;
    font-size: 17px;
    line-height: 1.65;
}

.ch-calendar-next__empty > p {
    margin: 8px 0 14px;
    color: #aebfd3;
    font-size: 11px;
    line-height: 1.9;
}

@media (max-width: 560px) {
    .ch-calendar-next {
        padding: 17px;
    }

    .ch-calendar-next__header {
        gap: 10px;
    }

    .ch-calendar-next__header strong {
        font-size: 17px;
    }

    .ch-calendar-next__count {
        min-height: 27px;
        padding: 4px 8px;
        font-size: 9px;
    }

    .ch-calendar-event {
        padding: 11px;
        border-radius: 13px;
    }

    .ch-calendar-event__main {
        grid-template-columns: 72px minmax(0,1fr);
        gap: 9px;
    }

    .ch-calendar-event__main > time {
        font-size: 9px;
    }

    .ch-calendar-event__copy > strong {
        font-size: 11.5px;
    }

    .ch-calendar-event__numbers bdi {
        font-size: 9px;
    }

    .ch-calendar-next__footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .ch-calendar-next__empty {
        min-height: 155px;
        padding-top: 12px;
    }
}
