/* VANTIQ Home Dashboard v2 — page-scoped ownership. */
.home-dashboard {
    --home-edge: clamp(18px, 2.25vw, 34px);
    --home-panel: rgba(5, 18, 32, 0.72);
    --home-panel-strong: rgba(5, 17, 31, 0.9);
    --home-line: rgba(133, 167, 194, 0.18);
    --home-green: #8ce245;
    position: relative;
    isolation: isolate;
    width: min(100%, 1720px);
    margin: 0 auto;
    padding: 0 var(--home-edge) 36px;
}

/* Full-bleed atmospheric field.  The photograph is not owned by the Hero box:
   it spans the viewport, rises under the utility navigation and fades into the
   canonical VANTIQ page background near the attention boundary. */
.home-dashboard-atmosphere {
    position: absolute;
    z-index: 0;
    top: -88px;
    left: 50%;
    width: 100vw;
    height: clamp(520px, 33.333vw, 700px);
    transform: translateX(-50%);
    overflow: hidden;
    pointer-events: none;
}

.home-dashboard-atmosphere__photo { position: relative; z-index: 0; }

.home-dashboard-atmosphere__photo,
.home-dashboard-atmosphere__photo img {
    display: block;
    width: 100%;
    height: 100%;
}

.home-dashboard-atmosphere__photo img {
    object-fit: cover;
    object-position: var(--hero-position, 50% 47%);
    /* Grade only the photograph. A gentle contrast reduction opens shadows;
       brightness restores midtones and saturation restores natural colour.
       Keep colour grading separate from the interface veils and masks. */
    filter: saturate(var(--hero-photo-saturation, 1.10))
        brightness(var(--hero-photo-brightness, 1.12))
        contrast(var(--hero-photo-contrast, 0.98));
}

/* Time-of-day grading is deliberately restrained: lift the photograph's
   midtones and chroma without changing the dark VANTIQ interface surface.
   The evening/night scenes need the largest shadow lift; daylight scenes stay
   below the point where clouds and snow begin to clip. */
.home-dashboard-atmosphere--morning {
    --hero-photo-saturation: 1.11;
    --hero-photo-brightness: 1.10;
    --hero-photo-contrast: 0.98;
}

.home-dashboard-atmosphere--day {
    --hero-photo-saturation: 1.11;
    --hero-photo-brightness: 1.11;
    --hero-photo-contrast: 0.99;
}

.home-dashboard-atmosphere--evening {
    --hero-photo-saturation: 1.16;
    --hero-photo-brightness: 1.14;
    --hero-photo-contrast: 0.98;
}

.home-dashboard-atmosphere--night {
    --hero-photo-saturation: 1.10;
    --hero-photo-brightness: 1.18;
    --hero-photo-contrast: 0.98;
}

/* Keep the authored left-hand negative space visible.  Only the physical
   canvas edges and lower third are dissolved; there is no radial mask over the
   scenic subject. */
.home-dashboard-atmosphere {
    /* Full-bleed means there is no physical canvas edge to hide.  A horizontal
       mask used to fade the first/last 5% of the viewport and produced a visible
       vertical band on narrow laptop widths.  Keep only the long vertical
       dissolve; the authored photographs already contain the required dark
       negative-space on the left. */
    -webkit-mask-image: linear-gradient(180deg,
        transparent 0%,
        rgba(0,0,0,0.12) 2%,
        rgba(0,0,0,0.34) 5%,
        rgba(0,0,0,0.64) 9%,
        rgba(0,0,0,0.88) 13%,
        #000 17%,
        #000 65%,
        rgba(0,0,0,0.94) 71%,
        rgba(0,0,0,0.80) 78%,
        rgba(0,0,0,0.60) 85%,
        rgba(0,0,0,0.38) 91%,
        rgba(0,0,0,0.16) 96%,
        transparent 100%);
    mask-image: linear-gradient(180deg,
        transparent 0%,
        rgba(0,0,0,0.12) 2%,
        rgba(0,0,0,0.34) 5%,
        rgba(0,0,0,0.64) 9%,
        rgba(0,0,0,0.88) 13%,
        #000 17%,
        #000 65%,
        rgba(0,0,0,0.94) 71%,
        rgba(0,0,0,0.80) 78%,
        rgba(0,0,0,0.60) 85%,
        rgba(0,0,0,0.38) 91%,
        rgba(0,0,0,0.16) 96%,
        transparent 100%);
}

/* Two non-rectangular veils: one keeps the greeting readable over the authored
   navy area; the other performs the final lower fade into the page surface. */
.home-dashboard-atmosphere::before,
.home-dashboard-atmosphere::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.home-dashboard-atmosphere::before {
    /* Preserve copy protection on the left, then ease out across the whole
       panorama. Avoid concentrating the fade at 48-65%: that reads as a
       vertical dark band in otherwise continuous sky. */
    background: linear-gradient(90deg,
        rgba(2, 10, 22, 0.68) 0%,
        rgba(2, 10, 22, 0.66) 10%,
        rgba(2, 10, 22, 0.62) 20%,
        rgba(2, 10, 22, 0.56) 30%,
        rgba(2, 10, 22, 0.49) 40%,
        rgba(2, 10, 22, 0.41) 50%,
        rgba(2, 10, 22, 0.32) 60%,
        rgba(2, 10, 22, 0.23) 70%,
        rgba(2, 10, 22, 0.14) 80%,
        rgba(2, 10, 22, 0.06) 90%,
        rgba(2, 10, 22, 0) 100%);
}

.home-dashboard-atmosphere::after {
    background: linear-gradient(180deg,
        rgba(2, 9, 18, 0.08) 0%,
        rgba(2, 10, 21, 0.15) 14%,
        rgba(2, 10, 21, 0.25) 28%,
        rgba(2, 10, 21, 0.34) 42%,
        rgba(2, 10, 21, 0.37) 58%,
        rgba(2, 10, 21, 0.37) 70%,
        rgba(2, 10, 21, 0.40) 80%,
        rgba(2, 10, 21, 0.52) 88%,
        rgba(2, 10, 21, 0.72) 95%,
        rgba(2, 10, 21, 0.95) 100%);
}

.home-dashboard-hero,
.home-dashboard-attention,
.home-dashboard-insight-grid,
.home-dashboard-market-dynamics,
.home-dashboard-personal {
    position: relative;
    z-index: 1;
}

.home-dashboard-hero {
    isolation: isolate;
    min-height: 0;
    margin: 0 calc(var(--home-edge) * -1) 8px;
    padding: clamp(20px, 2.4vw, 36px) var(--home-edge) 12px;
    overflow: visible;
    border: 0;
    background: transparent;
}

.home-dashboard-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: min(52%, 820px);
    height: 175px;
    pointer-events: none;
    background: transparent;
}

.home-dashboard-hero__copy {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.home-dashboard-hero__greeting {
    margin: 0;
    color: rgba(247, 250, 254, 0.98);
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.1rem, 4.1vw, 4rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.home-dashboard-hero__subtitle {
    margin: 8px 0 0;
    color: rgba(225, 234, 243, 0.86);
    font-size: clamp(1rem, 1.5vw, 1.35rem);
    line-height: 1.35;
}

.home-dashboard-hero__stage { display: none; }
.home-dashboard-hero__placeholder { display: none; }

@media (max-width: 1199px) {
    .home-dashboard-atmosphere__photo img { object-position: var(--hero-tablet-position); }
    .home-dashboard-atmosphere {
        top: -76px;
        height: clamp(500px, 48vw, 650px);
    }
}

@media (max-width: 767px) {
    .home-dashboard-atmosphere__photo img { object-position: var(--hero-mobile-position); }
    .home-dashboard {
        --home-edge: clamp(14px, 4.5vw, 20px);
        padding-bottom: 24px;
    }
    .home-dashboard-atmosphere {
        top: -58px;
        /* Keep the atmospheric field tall: it owns the long dissolve into the
           page.  Mobile photo scaling is handled by the child photo layer below,
           so the fade boundary never becomes a visible horizontal seam. */
        opacity: 1;
        -webkit-mask-image: linear-gradient(180deg,
            transparent 0%,
            rgba(0,0,0,0.16) 3%,
            rgba(0,0,0,0.48) 7%,
            rgba(0,0,0,0.82) 11%,
            #000 15%,
            #000 55%,
            rgba(0,0,0,0.92) 64%,
            rgba(0,0,0,0.75) 72%,
            rgba(0,0,0,0.54) 80%,
            rgba(0,0,0,0.32) 88%,
            rgba(0,0,0,0.14) 95%,
            transparent 100%);
        mask-image: linear-gradient(180deg,
            transparent 0%,
            rgba(0,0,0,0.16) 3%,
            rgba(0,0,0,0.48) 7%,
            rgba(0,0,0,0.82) 11%,
            #000 15%,
            #000 55%,
            rgba(0,0,0,0.92) 64%,
            rgba(0,0,0,0.75) 72%,
            rgba(0,0,0,0.54) 80%,
            rgba(0,0,0,0.32) 88%,
            rgba(0,0,0,0.14) 95%,
            transparent 100%);
    }
    /* Decouple the scenic crop from the atmosphere height.  A shorter inner
       photo layer shows a wider slice of the 3:1 panorama, while its own soft
       lower mask dissolves into the still-tall atmosphere instead of ending on
       a hard row. */
    .home-dashboard-atmosphere__photo {
        position: absolute;
        inset: 0 0 auto;
        height: clamp(300px, 52vw, 400px);
        -webkit-mask-image: linear-gradient(180deg,
            #000 0%,
            #000 56%,
            rgba(0,0,0,0.96) 62%,
            rgba(0,0,0,0.84) 70%,
            rgba(0,0,0,0.66) 78%,
            rgba(0,0,0,0.46) 86%,
            rgba(0,0,0,0.24) 93%,
            transparent 100%);
        mask-image: linear-gradient(180deg,
            #000 0%,
            #000 56%,
            rgba(0,0,0,0.96) 62%,
            rgba(0,0,0,0.84) 70%,
            rgba(0,0,0,0.66) 78%,
            rgba(0,0,0,0.46) 86%,
            rgba(0,0,0,0.24) 93%,
            transparent 100%);
    }
    /* A soft atmospheric veil protects only the left reading zone; there is no
       rectangular Hero scrim or card behind the greeting. */
    .home-dashboard-atmosphere::before {
        background: linear-gradient(90deg,
            rgba(2, 10, 22, 0.70) 0%,
            rgba(2, 10, 22, 0.67) 12%,
            rgba(2, 10, 22, 0.60) 25%,
            rgba(2, 10, 22, 0.50) 38%,
            rgba(2, 10, 22, 0.39) 52%,
            rgba(2, 10, 22, 0.27) 66%,
            rgba(2, 10, 22, 0.15) 80%,
            rgba(2, 10, 22, 0.06) 91%,
            rgba(2, 10, 22, 0) 100%);
    }
    .home-dashboard-atmosphere::after {
        background: linear-gradient(180deg,
            rgba(2, 9, 18, 0.05) 0%,
            rgba(2, 10, 21, 0.10) 15%,
            rgba(2, 10, 21, 0.18) 30%,
            rgba(2, 10, 21, 0.25) 48%,
            rgba(2, 10, 21, 0.30) 64%,
            rgba(2, 10, 21, 0.36) 78%,
            rgba(2, 10, 21, 0.50) 88%,
            rgba(2, 10, 21, 0.72) 96%,
            rgba(2, 10, 21, 0.94) 100%);
    }
    /* Mobile art-direction keeps the focal light/mountains on the right while
       preserving authored negative-space under the copy. */
    .home-dashboard-hero {
        padding-top: 24px;
        padding-bottom: 12px;
        margin-bottom: 4px;
    }
    .home-dashboard-hero::before {
        width: 100%;
        height: 170px;
        background: transparent;
    }
    .home-dashboard-hero__copy { max-width: 92%; }
    /* Preserve the approved phone scale while converging smoothly to the
       tablet rule at 768px instead of dropping from 48px to ~34px in 1px. */
    .home-dashboard-hero__greeting { font-size: clamp(2.1rem, calc(45px - 1.5vw), 2.35rem); }
}

/* Responsive crop coordinates are owned by hero_scene.py. */
@media (max-width: 359px) {
    .home-dashboard-atmosphere__photo img { object-position: var(--hero-narrow-position); }
}
@media (min-width: 360px) and (max-width: 479px) {
    .home-dashboard-atmosphere__photo img { object-position: var(--hero-phone-position); }
}
@media (min-width: 640px) and (max-width: 767px) {
    .home-dashboard-atmosphere__photo img { object-position: var(--hero-large-phone-position); }
}
@media (min-width: 768px) and (max-width: 949px) {
    .home-dashboard-atmosphere__photo img { object-position: var(--hero-small-tablet-position); }
}

@media (prefers-reduced-motion: reduce) {
    .home-dashboard *,
    .home-dashboard *::before,
    .home-dashboard *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* H2 — intelligence stage */
.home-dashboard-hero {
    min-height: 0;
    padding-bottom: 12px;
}

.home-dashboard-hero__stage { display: none; }
.home-dashboard-hero__intelligence {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 16px;
    margin-top: clamp(20px, 3vw, 34px);
}

.home-dashboard-panel {
    min-width: 0;
    border: 1px solid rgba(150, 181, 204, 0.20);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(4, 17, 31, 0.40), rgba(4, 15, 28, 0.20));
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(18px) saturate(1.10);
    backdrop-filter: blur(18px) saturate(1.10);
}

.home-dashboard-eyebrow {
    color: var(--home-green);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-dashboard-today {
    position: relative;
    min-height: 188px;
    overflow: hidden;
    container-type: inline-size;
}

.home-dashboard-today__viewport {
    display: grid;
    min-height: 188px;
}

.home-dashboard-today__slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(150px, 36%) minmax(0, 1fr);
    min-height: 188px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(8px);
    transition:
        opacity 180ms ease,
        transform 180ms ease,
        visibility 0s linear 180ms;
}

.home-dashboard-today__slide.is-active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0s;
}

.home-dashboard-today__visual {
    position: relative;
    min-width: 0;
    min-height: 188px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(13, 33, 49, 0.46), rgba(5, 17, 30, 0.40));
}

.home-dashboard-today__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(4, 16, 29, 0) 0%,
        rgba(4, 16, 29, 0.02) 58%,
        rgba(4, 16, 29, 0.19) 78%,
        rgba(4, 16, 29, 0.45) 100%
    );
}

.home-dashboard-today__picture,
.home-dashboard-today__picture img {
    display: block;
    width: 100%;
    height: 100%;
}

.home-dashboard-today__picture img {
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center;
}

/* Quiet temporary fallback until the approved issuer/event image library is
   generated. It intentionally contains no orb, logo, ticker or HTML label. */
.home-dashboard-today__visual-fallback {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(118deg, rgba(119, 155, 178, 0.04), transparent 44%),
        linear-gradient(145deg, rgba(18, 45, 66, 0.37), rgba(5, 17, 30, 0.46));
}
.home-dashboard-today__visual--banks .home-dashboard-today__visual-fallback { background: linear-gradient(135deg, rgba(25, 62, 94, 0.34), rgba(5, 17, 30, 0.47)); }
.home-dashboard-today__visual--energy .home-dashboard-today__visual-fallback { background: linear-gradient(135deg, rgba(79, 58, 29, 0.27), rgba(5, 17, 30, 0.47)); }
.home-dashboard-today__visual--metals .home-dashboard-today__visual-fallback { background: linear-gradient(135deg, rgba(57, 72, 82, 0.31), rgba(5, 17, 30, 0.47)); }
.home-dashboard-today__visual--sanctions .home-dashboard-today__visual-fallback { background: linear-gradient(135deg, rgba(83, 34, 40, 0.24), rgba(5, 17, 30, 0.47)); }
.home-dashboard-today__visual--technology .home-dashboard-today__visual-fallback { background: linear-gradient(135deg, rgba(45, 48, 104, 0.25), rgba(5, 17, 30, 0.47)); }

.home-dashboard-today__content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 17px 48px 38px 18px;
    background: linear-gradient(90deg, rgba(4, 16, 29, 0.44), rgba(4, 16, 29, 0.20));
}

.home-dashboard-today__content h2,
.home-dashboard-today__empty h2 {
    display: -webkit-box;
    overflow: hidden;
    margin: 7px 0 8px;
    color: rgba(249, 252, 255, 0.98);
    font-size: clamp(1.05rem, 1.45vw, 1.38rem);
    font-weight: 600;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-dashboard-today__content > p,
.home-dashboard-today__empty > p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: rgba(199, 212, 224, 0.8);
    font-size: 0.82rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-dashboard-today__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 10px;
    color: rgba(160, 179, 196, 0.68);
    font-size: 0.75rem;
}

.home-dashboard-today__footer a,
.home-dashboard-today__empty > a {
    color: var(--home-green);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.home-dashboard-today__footer a:hover,
.home-dashboard-today__empty > a:hover { text-decoration: underline; }

.home-dashboard-today__time {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 9px;
    white-space: nowrap;
}

.home-dashboard-today__time i {
    display: block;
    width: 1px;
    height: 13px;
    background: rgba(156, 181, 199, 0.32);
}
.home-dashboard-today__time time { color: inherit; }

.home-dashboard-today__arrow {
    position: absolute;
    top: 50%;
    z-index: 6;
    display: grid;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(4, 16, 29, 0.035);
    color: rgba(235, 244, 250, 0.52);
    box-shadow: none;
    -webkit-backdrop-filter: blur(7px) saturate(1.04);
    backdrop-filter: blur(7px) saturate(1.04);
    transform: translateY(-50%);
    transition: background-color 140ms ease, color 140ms ease, opacity 140ms ease, transform 140ms ease;
}
.home-dashboard-today__arrow span { margin-top: -3px; font-size: 1.78rem; font-weight: 400; line-height: 1; }
.home-dashboard-today__arrow--prev { left: 7px; }
.home-dashboard-today__arrow--next { right: 7px; }
.home-dashboard-today__arrow:hover,
.home-dashboard-today__arrow:focus-visible {
    background: rgba(7, 25, 38, 0.11);
    color: rgba(239, 248, 252, 0.9);
}
.home-dashboard-today__arrow:focus-visible { outline: 1px solid rgba(126, 220, 86, 0.42); outline-offset: -4px; }
.home-dashboard-today__arrow:active { transform: translateY(-50%) scale(0.96); }

.home-dashboard-today__navigation {
    position: absolute;
    left: 50%;
    bottom: 10px;
    z-index: 7;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transform: translateX(-50%);
}

.home-dashboard-today__dot {
    position: relative;
    display: grid;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}
.home-dashboard-today__dot > span {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(220, 233, 242, 0.26);
    box-shadow: 0 0 0 1px rgba(233, 242, 248, 0.035);
    transition: transform 150ms ease, background-color 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}
.home-dashboard-today__dot.is-active > span {
    background: rgba(128, 222, 77, 0.86);
    box-shadow: 0 0 10px rgba(126, 220, 76, 0.18);
    transform: scale(1.16);
}
.home-dashboard-today__dot:hover > span,
.home-dashboard-today__dot:focus-visible > span {
    background: rgba(231, 241, 247, 0.58);
    transform: scale(1.12);
}
.home-dashboard-today__dot.is-active:hover > span,
.home-dashboard-today__dot.is-active:focus-visible > span {
    background: rgba(139, 231, 86, 0.98);
}
.home-dashboard-today__dot:focus-visible { outline: 1px solid rgba(126, 220, 86, 0.42); outline-offset: -5px; }

.home-dashboard-today__status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.home-dashboard-today__empty {
    display: flex;
    min-height: 188px;
    flex-direction: column;
    justify-content: center;
    padding: 18px 20px;
}
.home-dashboard-today__empty > a { margin-top: 12px; align-self: flex-start; font-size: 0.75rem; }

.home-dashboard-market-pulse { min-height: 188px; padding: 12px 12px 10px; }
.home-dashboard-market-pulse__head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 0 3px 10px;
    border-bottom: 1px solid var(--home-line);
}
.home-dashboard-market-pulse__market, .home-dashboard-market-pulse__state {
    margin-left: 7px;
    color: rgba(181, 198, 211, 0.72);
    font-size: 0.75rem;
}
.home-dashboard-market-pulse__state { white-space: nowrap; }
.home-dashboard-market-pulse__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: calc(100% - 28px);
}
.home-dashboard-pulse-metric {
    position: relative;
    min-width: 0;
    padding: 12px 12px 7px;
    border-right: 1px solid var(--home-line);
}
.home-dashboard-pulse-metric:last-child { border-right: 0; }
.home-dashboard-pulse-metric > span {
    display: block;
    overflow: hidden;
    color: rgba(173, 193, 209, 0.7);
    font-size: 0.75rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.home-dashboard-pulse-metric > strong {
    display: block;
    margin-top: 7px;
    color: rgba(246, 250, 253, 0.98);
    font-size: clamp(0.92rem, 1.15vw, 1.16rem);
    line-height: 1.15;
}
.home-dashboard-pulse-metric > em {
    display: block;
    margin-top: 6px;
    min-height: 2.1em;
    font-size: 0.75rem;
    font-style: normal;
    line-height: 1.25;
}
.home-dashboard .is-positive { color: #7bdd4b !important; }
.home-dashboard .is-danger { color: #ff5f63 !important; }
.home-dashboard .is-warning { color: #e5b868 !important; }
.home-dashboard .is-neutral { color: rgba(207, 220, 230, 0.78) !important; }
.home-dashboard .is-muted { color: rgba(164, 182, 197, 0.64) !important; }
.home-dashboard-pulse-sparkline { width: 100%; height: 26px; margin-top: 2px; overflow: visible; }
.home-dashboard-pulse-sparkline polyline { stroke: #7bdd4b; stroke-width: 1.35; }
.home-dashboard-breadth-bar { height: 5px; margin-top: 8px; overflow: hidden; border-radius: 8px; background: rgba(255, 92, 97, 0.48); }
.home-dashboard-breadth-bar > span { display: block; width: var(--breadth); height: 100%; background: #78d94a; }
.home-dashboard-sentiment-icon {
    position: relative;
    width: 38px;
    height: 38px;
    margin-top: 7px;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: #7bdd4b;
    opacity: 0.85;
}
.home-dashboard-sentiment-icon.is-danger { color: #ff5f63; }
.home-dashboard-sentiment-icon.is-neutral { color: #aab9c7; }
.home-dashboard-sentiment-icon i { position: absolute; top: 11px; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.home-dashboard-sentiment-icon i:first-child { left: 10px; }
.home-dashboard-sentiment-icon i:nth-child(2) { right: 10px; }
.home-dashboard-sentiment-icon b { position: absolute; left: 10px; right: 10px; bottom: 9px; height: 6px; border-bottom: 1px solid currentColor; border-radius: 0 0 50% 50%; }

@media (max-width: 1199px) {
    .home-dashboard-hero { min-height: auto; }
    .home-dashboard-hero__intelligence { grid-template-columns: 1fr; }
    .home-dashboard-today, .home-dashboard-market-pulse { min-height: 190px; }
}

@media (max-width: 767px) {
    .home-dashboard-hero { min-height: auto; padding-bottom: 14px; }
    .home-dashboard-hero__intelligence { margin-top: 24px; gap: 10px; }
    .home-dashboard-today { min-height: 292px; }
    .home-dashboard-today__viewport { min-height: 292px; }
    .home-dashboard-today__slide { grid-template-columns: 112px minmax(0, 1fr); min-height: 292px; }
    .home-dashboard-today__visual { min-height: 292px; }
    .home-dashboard-today__content { padding: 14px 42px 50px 14px; }
    .home-dashboard-today__content h2 { -webkit-line-clamp: 4; }
    .home-dashboard-today__footer { align-items: flex-start; flex-direction: column; gap: 5px; }
    .home-dashboard-today__arrow { top: 44%; width: 44px; height: 44px; }
    .home-dashboard-today__arrow--prev { left: 4px; }
    .home-dashboard-today__arrow--next { right: 4px; }
    .home-dashboard-today__navigation { bottom: 9px; }
    .home-dashboard-market-pulse { min-height: 280px; }
    .home-dashboard-market-pulse__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-dashboard-pulse-metric { border-bottom: 1px solid var(--home-line); }
    .home-dashboard-pulse-metric:nth-child(2) { border-right: 0; }
    .home-dashboard-pulse-metric:nth-child(3), .home-dashboard-pulse-metric:nth-child(4) { border-bottom: 0; }
}

/* H3 — compact ratings and daily analysis */
.home-dashboard-insight-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.72fr);
    gap: 14px;
    margin: 18px var(--home-edge) 0;
}
.home-dashboard-module {
    min-width: 0;
    border-top: 1px solid rgba(128, 166, 194, 0.18);
    padding: 18px 2px 8px;
}
.home-dashboard-module__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}
.home-dashboard-module__head h2 {
    margin: 4px 0 0;
    color: rgba(247, 250, 253, 0.98);
    font-size: clamp(1.08rem, 1.45vw, 1.36rem);
    font-weight: 600;
    letter-spacing: -0.025em;
}
.home-dashboard-module__head > a,
.home-dashboard-module__meta {
    color: rgba(166, 190, 207, 0.72);
    font-size: 0.75rem;
    text-decoration: none;
    white-space: nowrap;
}
.home-dashboard-module__head > a:hover { color: var(--home-green); }
.home-dashboard-empty { margin: 14px 0; color: rgba(175, 193, 207, 0.68); font-size: 0.84rem; }

.home-dashboard-module__head > .home-dashboard-ratings__all-link {
    color: var(--home-green);
    font-weight: 700;
    text-decoration: none;
}
.home-dashboard-ratings__all-link:hover,
.home-dashboard-ratings__all-link:focus-visible {
    color: var(--home-green);
    text-decoration: underline;
}

.home-dashboard-ratings { grid-row: span 2; }
.home-dashboard-insight-grid--without-analysis .home-dashboard-ratings { grid-row: auto; }
.home-dashboard-ratings__table { display: grid; }
.home-dashboard-ratings__row {
    display: grid;
    grid-template-columns: 30px minmax(150px, 1fr) 128px 92px;
    align-items: center;
    min-height: 58px;
    gap: 10px;
    padding: 7px 8px;
    border-top: 1px solid rgba(122, 157, 181, 0.11);
    color: inherit;
    text-decoration: none;
    transition: background-color 140ms ease, transform 140ms ease;
}
.home-dashboard-ratings__row:not(.home-dashboard-ratings__row--head):hover {
    background: rgba(121, 217, 74, 0.055);
    transform: translateX(2px);
}
.home-dashboard-ratings__row--head {
    min-height: 30px;
    border-top: 0;
    color: rgba(151, 173, 190, 0.52);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.055em;
}
.home-dashboard-ratings__assessment-head,
.home-dashboard-ratings__change-head { text-align: right; }
.home-dashboard-ratings__rank { color: rgba(163, 184, 200, 0.55); font-size: 0.76rem; text-align: center; }
.home-dashboard-ratings__company { display: flex; align-items: center; min-width: 0; gap: 9px; }
.home-dashboard-ratings__company > span:last-child { display: grid; min-width: 0; }
.home-dashboard-ratings__company strong { display: block; overflow: hidden; color: rgba(244, 248, 251, 0.96); font-size: 0.84rem; text-overflow: ellipsis; white-space: nowrap; }
.home-dashboard-ratings__company small { overflow: hidden; color: rgba(164, 183, 198, 0.62); font-size: 0.75rem; text-overflow: ellipsis; white-space: nowrap; }
.home-dashboard-ratings__assessment {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    gap: 9px;
}
.home-dashboard-ratings__score {
    min-width: 30px;
    color: rgba(238, 244, 249, 0.94);
    font-size: 0.88rem;
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.home-dashboard-ratings__change {
    min-width: 0;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.home-dashboard-tier {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-height: 26px;
    border: 1px solid rgba(177, 197, 211, 0.2);
    border-radius: 7px;
    color: rgba(226, 235, 242, 0.9);
    font-size: 0.75rem;
    font-weight: 700;
}
.home-dashboard-tier--s { color: #ffe7a9; border-color: rgba(255, 216, 118, 0.35); background: rgba(255, 216, 118, 0.08); }
.home-dashboard-tier--a { color: #e7d3ff; border-color: rgba(190, 147, 255, 0.32); background: rgba(190, 147, 255, 0.07); }
.home-dashboard-tier--b { color: #8de1ff; border-color: rgba(105, 198, 233, 0.3); background: rgba(105, 198, 233, 0.07); }

/* Rating section uses the same tier color language as the full rating page,
   without changing tier badges used by other Home modules. */
.home-dashboard-rating-tier.home-dashboard-tier--s {
    color: #ffe7a9;
    border-color: rgba(255, 216, 118, 0.35);
    background: rgba(255, 216, 118, 0.08);
}
.home-dashboard-rating-tier.home-dashboard-tier--a {
    color: rgba(231, 211, 255, 0.98);
    border-color: rgba(169, 119, 255, 0.50);
    background: linear-gradient(135deg, rgba(137, 86, 255, 0.28), rgba(204, 107, 255, 0.14));
    box-shadow: inset 0 0 22px rgba(169, 119, 255, 0.09);
}
.home-dashboard-rating-tier.home-dashboard-tier--b {
    color: rgba(205, 226, 255, 0.98);
    border-color: rgba(93, 156, 255, 0.48);
    background: linear-gradient(135deg, rgba(62, 126, 255, 0.27), rgba(86, 182, 255, 0.13));
    box-shadow: inset 0 0 22px rgba(93, 156, 255, 0.08);
}
.home-dashboard-rating-tier.home-dashboard-tier--c {
    color: rgba(190, 255, 231, 0.96);
    border-color: rgba(74, 214, 173, 0.40);
    background: linear-gradient(135deg, rgba(29, 178, 137, 0.20), rgba(77, 211, 190, 0.10));
}
.home-dashboard-rating-tier.home-dashboard-tier--d {
    color: rgba(255, 220, 157, 0.96);
    border-color: rgba(226, 166, 78, 0.42);
    background: linear-gradient(135deg, rgba(197, 127, 52, 0.20), rgba(232, 186, 99, 0.10));
}
.home-dashboard-rating-tier.home-dashboard-tier--e {
    color: rgba(255, 190, 190, 0.96);
    border-color: rgba(255, 100, 115, 0.42);
    background: linear-gradient(135deg, rgba(195, 65, 86, 0.20), rgba(255, 101, 116, 0.10));
}

.home-dashboard-rating-changes { align-self: start; }
.home-dashboard-rating-changes__head { margin-bottom: 8px; }
.home-dashboard-rating-changes__table { display: grid; }
.home-dashboard-rating-change {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 98px 72px;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    padding: 7px 5px;
    border-top: 1px solid rgba(122, 157, 181, 0.11);
    color: inherit;
    text-decoration: none;
    transition: background-color 140ms ease, transform 140ms ease;
}
.home-dashboard-rating-change:not(.home-dashboard-rating-change--head):hover {
    background: rgba(121, 217, 74, 0.045);
    transform: translateX(2px);
}
.home-dashboard-rating-change--head {
    min-height: 30px;
    padding-top: 0;
    border-top: 0;
    color: rgba(151, 173, 190, 0.52);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}
.home-dashboard-rating-change--head > span:nth-child(2),
.home-dashboard-rating-change--head > span:nth-child(3) { text-align: right; }
.home-dashboard-rating-change__identity {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 9px;
}
.home-dashboard-rating-change__identity > span:last-child { display: grid; min-width: 0; }
.home-dashboard-rating-change__identity strong { display: block; overflow: hidden; color: rgba(245, 249, 252, 0.95); font-size: 0.84rem; text-overflow: ellipsis; white-space: nowrap; }
.home-dashboard-rating-change__identity small { overflow: hidden; color: rgba(157, 178, 195, 0.61); font-size: 0.75rem; text-overflow: ellipsis; white-space: nowrap; }
.home-dashboard-rating-change__tier {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    gap: 5px;
    white-space: nowrap;
}
.home-dashboard-rating-change__tier-arrow {
    color: rgba(174, 193, 207, 0.62);
    font-size: 0.78rem;
}
.home-dashboard-rating-change__delta {
    text-align: right;
    font-size: 0.84rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.home-dashboard-analysis { grid-column: 1 / -1; }
.home-dashboard-analysis__body { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.12fr) minmax(230px, 0.88fr); gap: 18px; }
.home-dashboard-analysis__identity {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    padding: 12px 0;
}
.home-dashboard-analysis__identity > div:nth-child(2) > strong { color: rgba(246, 250, 253, 0.96); font-size: 0.94rem; }
.home-dashboard-analysis__identity p { margin: 5px 0 0; color: rgba(173, 192, 207, 0.72); font-size: 0.78rem; line-height: 1.45; }
.home-dashboard-analysis__rating { display: flex; align-items: center; gap: 8px; }
.home-dashboard-analysis__rating > strong { color: rgba(240, 246, 250, 0.9); font-size: 0.88rem; }
.home-dashboard-analysis__chart {
    min-width: 0;
    padding: 11px 0 8px 14px;
    border-left: 1px solid rgba(129, 164, 189, 0.16);
}
.home-dashboard-analysis__chart-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 3px 10px; }
.home-dashboard-analysis__chart-head > span { grid-column: 1 / -1; color: rgba(153, 176, 193, 0.62); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.home-dashboard-analysis__chart-head > strong { color: rgba(244, 249, 253, 0.96); font-size: 0.92rem; }
.home-dashboard-analysis__chart-head > em { justify-self: end; font-size: 0.75rem; font-style: normal; font-weight: 700; }
.home-dashboard-analysis__chart svg { display: block; width: 100%; height: 62px; margin-top: 10px; overflow: visible; }
.home-dashboard-analysis__chart polyline { stroke: var(--home-green); stroke-width: 1.25; }
.home-dashboard-analysis__chart-empty { display: grid; place-items: center; min-height: 62px; margin-top: 10px; color: rgba(158, 178, 194, 0.58); font-size: 0.75rem; }

@media (max-width: 1199px) {
    .home-dashboard-analysis__body { grid-template-columns: 1fr 1fr; }
    .home-dashboard-analysis__chart { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid rgba(129, 164, 189, 0.14); }
}
@media (max-width: 1023px) {
    .home-dashboard-insight-grid { grid-template-columns: 1fr; }
    .home-dashboard-ratings { grid-row: auto; }
    .home-dashboard-analysis { grid-column: auto; }
}
@media (max-width: 767px) {
    .home-dashboard-insight-grid { margin-top: 12px; }
    .home-dashboard-module { padding-top: 15px; }
    .home-dashboard-ratings__row {
        grid-template-columns: 24px minmax(0, 1fr) 76px 64px;
        gap: 5px;
        padding-inline: 2px;
    }
    .home-dashboard-ratings__row--head { font-size: 0.75rem; letter-spacing: 0.015em; }
    .home-dashboard-ratings__assessment-head,
    .home-dashboard-ratings__change-head { line-height: 1.2; }
    .home-dashboard-ratings__company { gap: 7px; }
    .home-dashboard-ratings__company small { max-width: min(170px, 31vw); }
    .home-dashboard-ratings__assessment { gap: 5px; }
    .home-dashboard-rating-tier { width: 30px; min-height: 24px; border-radius: 6px; }
    .home-dashboard-ratings__score { min-width: 24px; font-size: 0.84rem; }
    .home-dashboard-ratings__change { white-space: nowrap; }
    .home-dashboard-rating-change {
        grid-template-columns: minmax(0, 1fr) 90px 64px;
        gap: 6px;
        padding-inline: 2px;
    }
    .home-dashboard-rating-change--head { font-size: 0.75rem; letter-spacing: 0.015em; }
    .home-dashboard-rating-change__identity { gap: 7px; }
    .home-dashboard-rating-change__tier { gap: 3px; }
    .home-dashboard-analysis__body { grid-template-columns: 1fr; }
    .home-dashboard-analysis__chart { grid-column: auto; }
}
@media (max-width: 359px) {
    .home-dashboard-ratings__row { grid-template-columns: 22px minmax(0, 1fr) 72px 58px; gap: 3px; }
    .home-dashboard-ratings__company { gap: 5px; }
    .home-dashboard-ratings__company small { max-width: 92px; }
    .home-dashboard-rating-change { grid-template-columns: minmax(0, 1fr) 86px 58px; gap: 4px; }
    .home-dashboard-rating-change__identity { gap: 5px; }
    .home-dashboard-rating-change__identity small { max-width: 80px; }
}

/* H4 — market dynamics */
.home-dashboard-market-dynamics { margin: 18px var(--home-edge) 0; }
.home-dashboard-market-dynamics__head { align-items: center; }
.home-dashboard-market-dynamics__actions { display: flex; align-items: center; gap: 10px; }
.home-dashboard-market-dynamics__actions > a { color: rgba(166, 190, 207, 0.72); font-size: 0.75rem; text-decoration: none; }
.home-dashboard-market-dynamics__actions > a:hover { color: var(--home-green); }
.home-dashboard-market-dynamics__grid {
    display: grid;
    grid-template-columns: minmax(210px, 0.72fr) minmax(360px, 1.3fr) minmax(210px, 0.72fr);
    gap: 18px;
    align-items: stretch;
}
.home-dashboard-market-dynamics__side { min-width: 0; }
.home-dashboard-market-dynamics__side h3 { margin: 0 0 8px; color: rgba(178, 196, 210, 0.68); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.045em; }
.home-dashboard-market-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 49px;
    border-top: 1px solid rgba(122, 157, 181, 0.11);
    color: inherit;
    text-decoration: none;
}
.home-dashboard-market-row__identity { display: grid; min-width: 0; }
.home-dashboard-market-row__identity strong { color: rgba(244, 248, 251, 0.95); font-size: 0.82rem; }
.home-dashboard-market-row__identity small { overflow: hidden; max-width: 150px; color: rgba(153, 175, 192, 0.6); font-size: 0.75rem; text-overflow: ellipsis; white-space: nowrap; }
.home-dashboard-market-row > span:last-child { flex: 0 0 auto; font-size: 0.79rem; font-weight: 700; }
.home-dashboard-market-chart {
    min-height: 190px;
    padding: 14px 16px 10px;
    border-left: 1px solid rgba(126, 158, 184, 0.13);
    border-right: 1px solid rgba(126, 158, 184, 0.13);
}
.home-dashboard-market-chart__head { display: flex; align-items: baseline; gap: 10px; }
.home-dashboard-market-chart__head span { color: rgba(153, 175, 192, 0.62); font-size: 0.75rem; }
.home-dashboard-market-chart__head strong { color: rgba(246, 250, 253, 0.97); font-size: 1.08rem; }
.home-dashboard-market-chart__head em { margin-left: auto; font-size: 0.78rem; font-style: normal; font-weight: 700; }
.home-dashboard-market-chart svg { display: block; width: 100%; height: 128px; margin-top: 14px; overflow: visible; }
.home-dashboard-market-chart polyline { stroke: var(--home-green); stroke-width: 1.2; }
.home-dashboard-market-chart__empty { display: grid; place-items: center; min-height: 128px; color: rgba(158, 178, 194, 0.58); font-size: 0.75rem; }
.home-dashboard-market-dynamics.is-loading [data-market-movers-content] { opacity: 0.55; transition: opacity 120ms ease; }

@media (max-width: 1023px) {
    .home-dashboard-market-dynamics__grid { grid-template-columns: 1fr 1fr; }
    .home-dashboard-market-chart { grid-column: 1 / -1; grid-row: 1; border-left: 0; border-right: 0; border-bottom: 1px solid rgba(126, 158, 184, 0.13); }
}
@media (max-width: 767px) {
    .home-dashboard-market-dynamics__head { align-items: flex-start; }
    .home-dashboard-market-dynamics__actions > a { display: none; }
    .home-dashboard-market-dynamics__grid { grid-template-columns: 1fr; gap: 12px; }
    .home-dashboard-market-chart { grid-column: auto; grid-row: 1; padding-inline: 0; }
    .home-dashboard-market-dynamics__side:nth-of-type(1) { grid-row: 2; }
    .home-dashboard-market-dynamics__side:nth-of-type(3) { grid-row: 3; }
    .home-dashboard-market-row__identity small { max-width: 230px; }
}

/* H5 — prioritized attention queue */
.home-dashboard-attention {
    margin: 18px var(--home-edge) 0;
    padding: 14px 0 17px;
}
.home-dashboard-attention__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 11px;
}
.home-dashboard-attention__head h2 {
    margin: 0;
    color: rgba(247, 250, 253, 0.98);
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    font-weight: 600;
    letter-spacing: -0.025em;
}
.home-dashboard-attention__head > span {
    color: rgba(164, 184, 201, 0.64);
    font-size: 0.75rem;
}
.home-dashboard-attention__items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}
.home-dashboard-attention-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-width: 0;
    min-height: 78px;
    padding: 10px 12px;
    border: 1px solid rgba(126, 160, 184, 0.14);
    border-radius: 10px;
    background: rgba(5, 16, 29, 0.46);
    transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}
.home-dashboard-attention-card:hover,
.home-dashboard-attention-card:focus-within {
    border-color: rgba(142, 180, 205, 0.28);
    background: rgba(7, 20, 34, 0.58);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
.home-dashboard-attention-card--danger:hover,
.home-dashboard-attention-card--danger:focus-within { border-color: rgba(255, 95, 99, 0.38); background: rgba(68, 19, 25, 0.22); }
.home-dashboard-attention-card--positive:hover,
.home-dashboard-attention-card--positive:focus-within { border-color: rgba(54, 209, 122, 0.36); background: rgba(18, 67, 44, 0.2); }
.home-dashboard-attention-card--danger { border-color: rgba(255, 95, 99, 0.24); background: rgba(68, 19, 25, 0.16); }
.home-dashboard-attention-card--warning { border-color: rgba(229, 184, 104, 0.22); background: rgba(74, 55, 20, 0.13); }
.home-dashboard-attention-card--positive { border-color: rgba(54, 209, 122, 0.24); background: rgba(18, 67, 44, 0.14); }
.home-dashboard-attention-card__visual {
    position: relative;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    min-width: 0;
}
.home-dashboard-attention-card__issuer-logo {
    --issuer-logo-image-scale: 1.04;
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 17px;
    border-color: rgba(142, 177, 202, 0.18);
    background: linear-gradient(145deg, rgba(14, 35, 51, 0.82), rgba(5, 16, 29, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 8px 18px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    color: rgba(228, 239, 247, 0.9);
    font-size: 0.86rem;
    letter-spacing: -0.025em;
}
.home-dashboard-attention-card__issuer-logo.issuer-logo--image {
    background: linear-gradient(145deg, rgba(15, 35, 50, 0.78), rgba(6, 18, 31, 0.92));
    border-color: rgba(151, 184, 207, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 8px 18px rgba(0, 0, 0, 0.16);
}
.home-dashboard-attention-card__issuer-logo > img {
    position: absolute;
    inset: 0;
    z-index: 1;
    object-fit: contain;
}
.home-dashboard-attention-card__issuer-initials {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}
.home-dashboard-attention-card__issuer-logo.issuer-logo--image > .home-dashboard-attention-card__issuer-initials {
    visibility: hidden;
}
.home-dashboard-attention-card__signal-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: rgba(168, 190, 206, 0.8);
}
.home-dashboard-attention-card__signal-icon svg {
    display: block;
    width: 29px;
    height: 29px;
    overflow: visible;
}
.home-dashboard-attention-card__signal-icon path:not(.home-dashboard-attention-card__icon-surface),
.home-dashboard-attention-card__status-badge path:last-of-type {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.home-dashboard-attention-card__signal-icon circle,
.home-dashboard-attention-card__status-badge circle { fill: currentColor; }
.home-dashboard-attention-card__icon-surface {
    fill: currentColor;
    fill-opacity: 0.055;
    stroke: currentColor;
    stroke-width: 1.15;
    stroke-linejoin: round;
}
.home-dashboard-attention-card--danger .home-dashboard-attention-card__signal-icon {
    color: #ff696c;
    filter: drop-shadow(0 0 5px rgba(255, 95, 99, 0.16));
}
.home-dashboard-attention-card--warning .home-dashboard-attention-card__signal-icon {
    color: #e5b868;
    filter: drop-shadow(0 0 5px rgba(229, 184, 104, 0.14));
}
.home-dashboard-attention-card--positive .home-dashboard-attention-card__signal-icon {
    color: var(--positive);
    filter: drop-shadow(0 0 5px rgba(54, 209, 122, 0.14));
}

.home-dashboard-attention-card__standalone-warning {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    background: transparent;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.42));
}
.home-dashboard-attention-card__standalone-warning svg {
    display: block;
    width: 31px;
    height: 31px;
    overflow: visible;
}
.home-dashboard-attention-card__standalone-warning .attention-warning__surface {
    fill: rgba(5, 13, 25, 0.98);
    stroke-width: 2.15;
    stroke-linejoin: round;
}
.home-dashboard-attention-card__standalone-warning .attention-warning__inner {
    fill: none;
    stroke: rgba(255, 177, 104, 0.34);
    stroke-width: 0.7;
    stroke-linejoin: round;
}
.home-dashboard-attention-card__standalone-warning .attention-warning__mark {
    fill: none;
    stroke: rgba(255, 250, 244, 0.98);
    stroke-width: 2.05;
    stroke-linecap: round;
}
.home-dashboard-attention-card__standalone-warning .attention-warning__dot {
    fill: rgba(255, 250, 244, 0.98);
}
.home-dashboard-attention-card__status-badge {
    position: absolute;
    left: -4px;
    bottom: -4px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    background: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.42));
}
.home-dashboard-attention-card__status-badge svg {
    display: block;
    width: 20px;
    height: 20px;
    overflow: visible;
}
.home-dashboard-attention-card__status-badge .attention-warning__surface {
    fill: rgba(5, 13, 25, 0.98);
    stroke: url(#attention-warning-gradient);
    stroke-width: 2.35;
    stroke-linejoin: round;
}
.home-dashboard-attention-card__status-badge .attention-warning__inner {
    fill: none;
    stroke: rgba(255, 177, 104, 0.34);
    stroke-width: 0.7;
    stroke-linejoin: round;
}
.home-dashboard-attention-card__status-badge .attention-warning__mark {
    fill: none;
    stroke: rgba(255, 250, 244, 0.98);
    stroke-width: 2.05;
    stroke-linecap: round;
}
.home-dashboard-attention-card__status-badge .attention-warning__dot {
    fill: rgba(255, 250, 244, 0.98);
}
.home-dashboard-attention-card__copy { min-width: 0; }
.home-dashboard-attention-card strong {
    display: -webkit-box;
    overflow: hidden;
    color: rgba(240, 247, 252, 0.94);
    font-size: 0.82rem;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.home-dashboard-attention-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 3px 0 0;
    color: rgba(172, 193, 209, 0.72);
    font-size: 0.75rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-dashboard-attention-card__rating-values {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 6px;
    font-variant-numeric: tabular-nums;
}
.home-dashboard-attention-card__rating-transition {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.home-dashboard-attention-card__rating-state {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.home-dashboard-attention-card__rating-score {
    display: inline-block !important;
    overflow: visible !important;
    color: rgba(232, 240, 246, 0.94) !important;
    font-family: "Exo 2", Manrope, sans-serif;
    font-size: 0.88rem !important;
    font-weight: 700;
    line-height: 1 !important;
    font-variant-numeric: tabular-nums;
    -webkit-line-clamp: unset !important;
}
.home-dashboard-attention-card__rating-arrow {
    color: rgba(151, 175, 193, 0.58);
    font-size: 0.82rem;
    font-weight: 600;
}
.home-dashboard-attention-card__rating-delta {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}
.home-dashboard-attention-card__rating-delta.is-danger { color: #ff696c; }
.home-dashboard-attention-card__rating-delta.is-positive { color: var(--positive); }
.home-dashboard-attention-card__rating-period {
    display: block;
    margin-top: 6px;
    color: rgba(151, 175, 193, 0.62);
    font-size: 0.75rem;
    line-height: 1.25;
}
.home-dashboard-attention-card__rating-reason {
    display: block !important;
    margin: 4px 0 0 !important;
    overflow: visible !important;
    color: rgba(220, 231, 239, 0.9) !important;
    font-size: 0.75rem !important;
    font-weight: 600;
    line-height: 1.3 !important;
    -webkit-line-clamp: unset !important;
}

.home-dashboard-attention-card > a {
    color: var(--home-green);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.home-dashboard-attention-card > a:hover { text-decoration: underline; }

/* H6 — personalized home surface */
.home-dashboard-personal {
    margin: 22px var(--home-edge) 0;
    padding-top: 18px;
    border-top: 1px solid rgba(128, 166, 194, 0.18);
}
.home-dashboard-personal__head { margin-bottom: 13px; }
.home-dashboard-personal__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.home-dashboard-personal-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 165px;
    padding: 15px 16px 14px;
    border: 1px solid rgba(126, 160, 184, 0.15);
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(6, 19, 33, 0.72), rgba(4, 14, 25, 0.48));
}
.home-dashboard-personal-card__label {
    margin-bottom: 11px;
    color: rgba(155, 180, 198, 0.66);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}
.home-dashboard-personal-card > strong {
    color: rgba(244, 249, 253, 0.96);
    font-size: 0.96rem;
    line-height: 1.3;
}
.home-dashboard-personal-card__value { font-size: clamp(1.25rem, 1.7vw, 1.65rem) !important; letter-spacing: -0.035em; }
.home-dashboard-personal-card__delta {
    margin-top: 5px;
    font-size: 0.75rem;
    font-weight: 700;
}
.home-dashboard-personal-card p {
    margin: 7px 0 0;
    color: rgba(170, 191, 207, 0.7);
    font-size: 0.75rem;
    line-height: 1.42;
}
.home-dashboard-personal-card > a,
.home-dashboard-personal__guest > a {
    margin-top: auto;
    padding-top: 12px;
    color: var(--home-green);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
}
.home-dashboard-personal-card > a:hover,
.home-dashboard-personal__guest > a:hover { text-decoration: underline; }
.home-dashboard-personal-card__changes {
    display: grid;
    gap: 8px;
    margin-top: 2px;
}
.home-dashboard-personal-card__changes span {
    color: rgba(173, 194, 209, 0.72);
    font-size: 0.75rem;
}
.home-dashboard-personal-card__changes b { min-width: 28px; color: rgba(232, 240, 246, 0.94); }
.home-dashboard-watchlist-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.home-dashboard-watchlist-chips a {
    padding: 5px 7px;
    border: 1px solid rgba(129, 164, 188, 0.17);
    border-radius: 6px;
    background: rgba(10, 27, 43, 0.72);
    color: rgba(231, 239, 246, 0.9);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
}
.home-dashboard-watchlist-chips a:hover { border-color: rgba(140, 226, 69, 0.38); color: var(--home-green); }
.home-dashboard-strategy-limits {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 8px;
    margin-top: 9px;
}
.home-dashboard-strategy-limits span {
    color: rgba(173, 195, 210, 0.72);
    font-size: 0.75rem;
}
.home-dashboard-personal__guest {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 90px;
    padding: 14px 17px;
    border: 1px solid rgba(126, 160, 184, 0.15);
    border-radius: 11px;
    background: rgba(6, 18, 31, 0.5);
}
.home-dashboard-personal__guest strong { color: rgba(243, 248, 252, 0.95); font-size: 0.9rem; }
.home-dashboard-personal__guest p { margin: 4px 0 0; color: rgba(173, 193, 208, 0.7); font-size: 0.75rem; }
.home-dashboard-personal__guest > a { margin-top: 0; padding-top: 0; white-space: nowrap; }

@media (max-width: 1199px) {
    .home-dashboard-attention__items { grid-template-columns: 1fr; }
    .home-dashboard-personal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .home-dashboard-attention,
    .home-dashboard-personal,
    .home-dashboard-insight-grid { margin-left: 0; margin-right: 0; }
    .home-dashboard-attention__head { align-items: flex-start; }
    .home-dashboard-attention-card { grid-template-columns: 48px minmax(0, 1fr); gap: 11px; min-height: 110px; }
    .home-dashboard-attention-card__visual,
    .home-dashboard-attention-card__issuer-logo { width: 48px; height: 48px; }
    .home-dashboard-attention-card__issuer-logo { border-radius: 14px; font-size: 0.76rem; }
    .home-dashboard-attention-card__standalone-warning { width: 29px; height: 29px; }
    .home-dashboard-attention-card__standalone-warning svg { width: 28px; height: 28px; }
    .home-dashboard-attention-card__status-badge { left: -3px; bottom: -3px; width: 18px; height: 18px; }
    .home-dashboard-attention-card__status-badge svg { width: 18px; height: 18px; }
    .home-dashboard-attention-card > a { grid-column: 2; padding-top: 2px; }
    .home-dashboard-attention-card--rating { min-height: 122px; align-items: start; }
    .home-dashboard-attention-card--rating .home-dashboard-attention-card__visual { margin-top: 2px; }
    .home-dashboard-attention-card__rating-values { gap: 3px 10px; margin-top: 5px; }
    .home-dashboard-attention-card__rating-reason { margin-top: 6px !important; }
    .home-dashboard-personal__grid { grid-template-columns: 1fr; }
    .home-dashboard-personal-card { min-height: 145px; }
    .home-dashboard-personal__guest { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
    .home-dashboard-today { min-height: 360px; }
    .home-dashboard-today__viewport { min-height: 360px; }
    .home-dashboard-today__slide {
        grid-template-columns: 1fr;
        grid-template-rows: 126px minmax(0, 1fr);
        min-height: 360px;
    }
    .home-dashboard-today__visual { min-height: 126px; }
    .home-dashboard-today__visual::after {
        background: linear-gradient(180deg, transparent 35%, rgba(4,16,29,0.19) 72%, rgba(4,16,29,0.46) 100%);
    }
    .home-dashboard-today__content {
        padding: 10px 42px 53px 14px;
        background: rgba(4, 16, 29, 0.72);
    }
    .home-dashboard-today__content h2 { margin-top: 5px; font-size: 1rem; line-height: 1.32; }
    .home-dashboard-today__content > p { font-size: 0.78rem; -webkit-line-clamp: 3; }
    .home-dashboard-today__arrow { top: 108px; }
    .home-dashboard-today__navigation { left: 50%; right: auto; bottom: 9px; }
}

@media (prefers-reduced-motion: reduce) {
    .home-dashboard-today__slide {
        transform: none !important;
        transition: none !important;
    }
}

/* Home glass pass — approved 2026-08-31.
   The two hero intelligence panels stay visually premium while letting the
   atmospheric artwork read through them more clearly. */
.home-dashboard-panel {
    background: linear-gradient(145deg, rgba(4, 17, 31, 0.20), rgba(4, 15, 28, 0.10));
    border-color: rgba(150, 181, 204, 0.18);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.025);
    -webkit-backdrop-filter: blur(20px) saturate(1.12);
    backdrop-filter: blur(20px) saturate(1.12);
}

.home-dashboard-today__content {
    background: linear-gradient(90deg, rgba(4, 16, 29, 0.22), rgba(4, 16, 29, 0.10));
}

/* Navigation hit areas remain 44px for accessibility, but are deliberately
   invisible: only the chevrons themselves should read on the card. */
.home-dashboard-today__arrow,
.home-dashboard-today__arrow:hover,
.home-dashboard-today__arrow:focus-visible {
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.home-dashboard-today__arrow {
    color: rgba(235, 244, 250, 0.48);
}
.home-dashboard-today__arrow:hover,
.home-dashboard-today__arrow:focus-visible {
    color: rgba(244, 251, 255, 0.88);
}
.home-dashboard-today__arrow span {
    filter: drop-shadow(0 2px 7px rgba(2, 10, 18, 0.56));
}
.home-dashboard-today__arrow:focus-visible span {
    filter: drop-shadow(0 0 6px rgba(126, 220, 86, 0.24)) drop-shadow(0 2px 7px rgba(2, 10, 18, 0.56));
}

@media (max-width: 480px) {
    .home-dashboard-today__content {
        background: rgba(4, 16, 29, 0.36);
    }
}

/* Home v1.3 — reference-grade hero glass.
   The Hero artwork is the visual surface; these panels only frost and dim it
   enough for text to remain readable.  Keep tint deliberately very low. */
.home-dashboard-panel {
    background: linear-gradient(145deg, rgba(3, 14, 27, 0.055), rgba(3, 12, 24, 0.022));
    border-color: rgba(174, 202, 222, 0.13);
    box-shadow:
        0 14px 38px rgba(0, 0, 0, 0.075),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
    -webkit-backdrop-filter: blur(13px) saturate(1.10) brightness(0.72);
    backdrop-filter: blur(13px) saturate(1.10) brightness(0.72);
}

.home-dashboard-today__visual {
    background: linear-gradient(135deg, rgba(12, 31, 47, 0.10), rgba(4, 16, 29, 0.035));
}
.home-dashboard-today__visual::after {
    background: linear-gradient(
        90deg,
        rgba(4, 16, 29, 0) 0%,
        rgba(4, 16, 29, 0.008) 58%,
        rgba(4, 16, 29, 0.045) 80%,
        rgba(4, 16, 29, 0.095) 100%
    );
}
.home-dashboard-today__visual-fallback,
.home-dashboard-today__visual--banks .home-dashboard-today__visual-fallback,
.home-dashboard-today__visual--energy .home-dashboard-today__visual-fallback,
.home-dashboard-today__visual--metals .home-dashboard-today__visual-fallback,
.home-dashboard-today__visual--sanctions .home-dashboard-today__visual-fallback,
.home-dashboard-today__visual--technology .home-dashboard-today__visual-fallback {
    background: linear-gradient(145deg, rgba(20, 48, 69, 0.075), rgba(4, 16, 29, 0.025));
}
.home-dashboard-today__content {
    background: linear-gradient(90deg, rgba(3, 14, 27, 0.075), rgba(3, 14, 27, 0.022));
}

.home-dashboard-today__headline-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: color 150ms ease, opacity 150ms ease;
}
.home-dashboard-today__headline-link:hover,
.home-dashboard-today__headline-link:focus-visible {
    color: rgba(255, 255, 255, 1);
    opacity: 0.90;
    outline: 0;
}
.home-dashboard-today__headline-link:focus-visible {
    text-shadow: 0 0 12px rgba(126, 220, 86, 0.15);
}
.home-dashboard-today__all-news {
    color: var(--home-green);
}

/* The 44px hit area stays accessible, but the visual chrome is literally absent. */
.home-dashboard-today__arrow,
.home-dashboard-today__arrow:hover,
.home-dashboard-today__arrow:focus-visible,
.home-dashboard-today__arrow:active {
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

@media (max-width: 480px) {
    .home-dashboard-panel {
        background: linear-gradient(145deg, rgba(3, 14, 27, 0.075), rgba(3, 12, 24, 0.035));
        -webkit-backdrop-filter: blur(11px) saturate(1.08) brightness(0.70);
        backdrop-filter: blur(11px) saturate(1.08) brightness(0.70);
    }
    .home-dashboard-today__visual::after {
        background: linear-gradient(180deg, transparent 38%, rgba(4, 16, 29, 0.025) 72%, rgba(4, 16, 29, 0.085) 100%);
    }
    .home-dashboard-today__content {
        background: rgba(3, 14, 27, 0.075);
    }
}

/* Home v1.4 — corrective thin-glass pass + data-driven Pulse visuals.
   Reference contract: the Hero remains visually legible through the panels;
   glass is only slightly darker/more diffuse than the uncovered artwork. */
.home-dashboard-panel {
    background: linear-gradient(145deg, rgba(3, 13, 25, 0.050), rgba(3, 12, 23, 0.024));
    border-color: rgba(190, 216, 234, 0.14);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.055),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
    -webkit-backdrop-filter: blur(4px) saturate(1.035) brightness(0.94);
    backdrop-filter: blur(4px) saturate(1.035) brightness(0.94);
}

.home-dashboard-today__visual {
    background: rgba(5, 18, 31, 0.025);
}
.home-dashboard-today__visual::after {
    background: linear-gradient(
        90deg,
        rgba(3, 13, 25, 0) 0%,
        rgba(3, 13, 25, 0.006) 64%,
        rgba(3, 13, 25, 0.024) 84%,
        rgba(3, 13, 25, 0.050) 100%
    );
}
.home-dashboard-today__visual-fallback,
.home-dashboard-today__visual--banks .home-dashboard-today__visual-fallback,
.home-dashboard-today__visual--energy .home-dashboard-today__visual-fallback,
.home-dashboard-today__visual--metals .home-dashboard-today__visual-fallback,
.home-dashboard-today__visual--sanctions .home-dashboard-today__visual-fallback,
.home-dashboard-today__visual--technology .home-dashboard-today__visual-fallback {
    background: linear-gradient(145deg, rgba(19, 46, 67, 0.040), rgba(3, 13, 25, 0.014));
}
.home-dashboard-today__content {
    background: linear-gradient(90deg, rgba(3, 13, 25, 0.048), rgba(3, 13, 25, 0.018));
}

/* Pulse cells remain optically part of one glass sheet; separators provide
   structure without introducing opaque sub-cards. */
.home-dashboard-market-pulse__head,
.home-dashboard-pulse-metric {
    background: transparent;
}
.home-dashboard-market-pulse__head,
.home-dashboard-pulse-metric {
    border-color: rgba(190, 216, 234, 0.11);
}

/* Home v1.5 — market-pulse visual rhythm.
   v1.4 anchored the turnover visual and sentiment gauge to the bottom via
   margin-top:auto. That created a second visual row below the already-correct
   MOEX sparkline / breadth bar. Keep the existing visualisations untouched,
   but place them immediately after the same text/meta rhythm as the first two
   cells. */
.home-dashboard-pulse-metric--turnover,
.home-dashboard-pulse-metric--sentiment {
    min-height: 0;
}

/* Home v1.6 — optical centering for the two compact visuals.
   The v1.5 vertical fix exposed a horizontal mismatch: turnover used the full
   cell width while the gauge stayed left-aligned. Anchor both visualisations
   to a max-content first grid track defined by their visible heading. Value
   and meta rows still span the complete cell, so data/text contracts remain
   unchanged. */
.home-dashboard-pulse-metric--turnover,
.home-dashboard-pulse-metric--sentiment {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    grid-auto-rows: max-content;
    align-content: start;
}
.home-dashboard-pulse-metric--turnover {
    container-type: inline-size;
    container-name: turnover-metric;
}
.home-dashboard-pulse-metric--turnover > span,
.home-dashboard-pulse-metric--sentiment > span {
    grid-column: 1;
}
.home-dashboard-pulse-metric--turnover > strong,
.home-dashboard-pulse-metric--turnover > em,
.home-dashboard-pulse-metric--sentiment > strong {
    grid-column: 1 / -1;
}
.home-dashboard-pulse-metric--turnover > em {
    min-height: 2.1em;
    margin-bottom: 0;
}
/* Home v1.9 — adaptive turnover geometry.
   The chart now uses the full metric cell instead of a fixed 220px canvas.
   Full day.month labels are kept only when the turnover cell has enough real
   inline space; compact day-only labels are used for narrow cells and mobile. */
/* Home v1.8 — truthful turnover histogram.
   Each column is one real MOEX trading-session total. Historical sessions are
   neutral; the latest session is highlighted, and the dashed reference line
   is the same 20-session median used by the product text "обычного". */
.home-dashboard-turnover-chart {
    grid-column: 1 / -1;
    width: calc(100% + 16px);
    min-width: 0;
    max-width: none;
    margin: 2px -8px 0;
}
.home-dashboard-turnover-chart__plot {
    position: relative;
    height: 48px;
    min-width: 0;
}
.home-dashboard-turnover-chart__bars,
.home-dashboard-turnover-chart__dates {
    display: grid;
    grid-template-columns: repeat(var(--turnover-columns), minmax(0, 1fr));
    column-gap: clamp(2px, 0.35vw, 5px);
    padding-inline: 6px;
}
.home-dashboard-turnover-chart__bars {
    position: relative;
    z-index: 2;
    height: 100%;
}
.home-dashboard-turnover-chart__slot {
    display: flex;
    min-width: 0;
    height: 100%;
    align-items: flex-end;
    justify-content: center;
}
.home-dashboard-turnover-chart__slot > i {
    display: block;
    width: clamp(4px, 0.46vw, 7px);
    max-width: 52%;
    height: var(--turnover-height);
    min-height: 4px;
    border-radius: 1.5px;
    background: rgba(126, 149, 170, 0.54);
    box-shadow: inset 0 0 0 1px rgba(205, 220, 231, 0.035);
}
.home-dashboard-turnover-chart__slot > i.is-history {
    background: linear-gradient(180deg, rgba(142, 164, 185, 0.62), rgba(91, 116, 139, 0.50));
}
.home-dashboard-turnover-chart__slot > i.is-positive {
    background: #7bdd4b;
    box-shadow: 0 0 8px rgba(123, 221, 75, 0.12);
}
.home-dashboard-turnover-chart__slot > i.is-danger {
    background: #e85b62;
    box-shadow: 0 0 8px rgba(232, 91, 98, 0.10);
}
.home-dashboard-turnover-chart__slot > i.is-neutral {
    background: #9fb1c0;
}
.home-dashboard-turnover-chart__baseline {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: var(--turnover-baseline);
    left: 0;
    height: 0;
    border-top: 1px dashed rgba(177, 198, 214, 0.58);
    pointer-events: none;
}
.home-dashboard-turnover-chart__baseline > small {
    position: absolute;
    right: 0;
    top: -3px;
    padding: 0;
    transform: translateY(-100%);
    background: transparent;
    text-shadow: 0 1px 2px rgba(6, 20, 35, 0.9);
    color: rgba(184, 202, 216, 0.68);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
}
.home-dashboard-turnover-chart__dates {
    margin-top: 4px;
}
.home-dashboard-turnover-chart__dates > small {
    min-width: 0;
    overflow: visible;
    color: rgba(165, 184, 199, 0.58);
    font-size: 0.75rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.025em;
    line-height: 1.05;
    text-align: center;
    white-space: nowrap;
}
.home-dashboard-turnover-chart__date-day,
.home-dashboard-turnover-chart__date-full {
    display: inline;
}
.home-dashboard-turnover-chart__date-day {
    display: none;
}
.home-dashboard-turnover-chart__dates > small.is-current {
    color: rgba(242, 247, 250, 0.95);
    font-weight: 700;
}

@container turnover-metric (max-width: 190px) {
    .home-dashboard-turnover-chart__date-day {
        display: inline;
    }
    .home-dashboard-turnover-chart__date-full {
        display: none;
    }
}

@media (max-width: 767px) {
    .home-dashboard-turnover-chart__date-day {
        display: inline;
    }
    .home-dashboard-turnover-chart__date-full {
        display: none;
    }
}

.home-dashboard-pulse-metric--sentiment > strong {
    max-width: 9.5rem;
    line-height: 1.18;
}
.home-dashboard-sentiment-icon { display: none !important; }
.home-dashboard-sentiment-gauge {
    --gauge-color: #7bdd4b;
    --gauge-glow: rgba(123, 221, 75, 0.16);
    position: relative;
    grid-column: 1;
    justify-self: center;
    width: 72px;
    height: 72px;
    /* Reserve the same meta row used by the other pulse metrics, then start
       the gauge in their common visualisation band. */
    margin-top: calc(6px + 2.1em + 2px);
    color: var(--gauge-color);
}
.home-dashboard-sentiment-gauge.is-danger { --gauge-color: #e85b62; --gauge-glow: rgba(232, 91, 98, 0.15); }
.home-dashboard-sentiment-gauge.is-warning { --gauge-color: #e0b45f; --gauge-glow: rgba(224, 180, 95, 0.15); }
.home-dashboard-sentiment-gauge.is-neutral { --gauge-color: #9fb1c0; --gauge-glow: rgba(159, 177, 192, 0.12); }
.home-dashboard-sentiment-gauge > svg {
    display: block;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    overflow: visible;
}
.home-dashboard-sentiment-gauge circle {
    fill: none;
    stroke-width: 8;
}
.home-dashboard-sentiment-gauge__track {
    stroke: rgba(148, 174, 195, 0.24);
}
.home-dashboard-sentiment-gauge__value {
    stroke: var(--gauge-color);
    stroke-linecap: round;
    stroke-dasharray: var(--sentiment-score) 100;
    filter: drop-shadow(0 0 4px var(--gauge-glow));
}
.home-dashboard-sentiment-gauge__label {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
    line-height: 1;
    pointer-events: none;
}
.home-dashboard-sentiment-gauge__label > div {
    display: flex;
    align-items: baseline;
    justify-content: center;
}
.home-dashboard-sentiment-gauge__label b {
    color: rgba(250, 252, 255, 0.98);
    font-size: 1.05rem;
    font-weight: 750;
}
.home-dashboard-sentiment-gauge__label span {
    margin-left: 1px;
    color: rgba(185, 201, 213, 0.72);
    font-size: 0.62rem;
    font-weight: 600;
}
.home-dashboard-sentiment-gauge__label small {
    margin-top: 4px;
    color: rgba(185, 201, 213, 0.68);
    font-size: 0.56rem;
    font-weight: 500;
}

@media (max-width: 767px) {
    .home-dashboard-panel {
        background: linear-gradient(145deg, rgba(3, 13, 25, 0.065), rgba(3, 12, 23, 0.030));
        -webkit-backdrop-filter: blur(3px) saturate(1.025) brightness(0.94);
        backdrop-filter: blur(3px) saturate(1.025) brightness(0.94);
    }
    .home-dashboard-today__content { background: rgba(3, 13, 25, 0.055); }
    .home-dashboard-market-pulse { min-height: 310px; }
    .home-dashboard-pulse-metric { min-height: 124px; }
    .home-dashboard-turnover-chart__plot { height: 44px; }
    .home-dashboard-turnover-chart__dates > small { font-size: 0.75rem; }
    .home-dashboard-sentiment-gauge { width: 68px; height: 68px; }
}

/* Home v1.7 — self-explaining market breadth.
   Keep the existing breadth formula and bar. The values now explain direction
   with lightweight semantic arrows while the screen-reader label exposes the
   meaning without reading decorative glyphs. */
.home-dashboard-breadth-values {
    display: inline-flex !important;
    align-items: baseline;
    width: max-content;
    max-width: 100%;
    gap: 0.38em;
    white-space: nowrap;
}
.home-dashboard-breadth-value {
    display: inline-flex;
    align-items: baseline;
    min-width: 0;
}
.home-dashboard-breadth-direction {
    position: relative;
    top: 0.04em;
    width: 0.76em;
    height: 0.76em;
    margin-left: 0.14em;
    flex: 0 0 auto;
    overflow: visible;
}
.home-dashboard-breadth-direction path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}
.home-dashboard-breadth-separator {
    color: rgba(178, 197, 212, 0.62);
    font-weight: 600;
}
.home-dashboard-breadth-values--empty {
    color: rgba(207, 220, 230, 0.78) !important;
}
@media (max-width: 430px) {
    .home-dashboard-breadth-values { gap: 0.28em; }
    .home-dashboard-breadth-direction { width: 0.7em; height: 0.7em; margin-left: 0.1em; }
}

/* AI Daily v2 — meaningful daily significance without bullet-style UI. */
.home-dashboard-analysis__body--daily {
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.5fr) minmax(230px, 0.72fr);
    align-items: stretch;
}
.home-dashboard-analysis__identity-copy { min-width: 0; }
.home-dashboard-analysis__narrative { min-width: 0; padding: 11px 0 8px 16px; border-left: 1px solid rgba(129, 164, 189, 0.16); }
.home-dashboard-analysis__today > span,
.home-dashboard-analysis__explainers section > span {
    color: rgba(153, 176, 193, 0.64);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}
.home-dashboard-analysis__today p {
    margin: 6px 0 0;
    color: rgba(235, 242, 247, 0.92);
    font-size: 0.86rem;
    line-height: 1.48;
}
.home-dashboard-analysis__thesis {
    margin: 14px 0 13px;
    padding: 1px 0 2px 14px;
    border-left: 2px solid rgba(121, 217, 74, 0.72);
    color: rgba(247, 250, 253, 0.98);
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.48;
}
.home-dashboard-analysis__explainers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.home-dashboard-analysis__explainers section { min-width: 0; padding-top: 10px; border-top: 1px solid rgba(129, 164, 189, 0.13); }
.home-dashboard-analysis__explainers p {
    margin: 6px 0 0;
    color: rgba(174, 192, 207, 0.75);
    font-size: 0.78rem;
    line-height: 1.45;
}
@media (max-width: 1199px) {
    .home-dashboard-analysis__body--daily { grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr); }
    .home-dashboard-analysis__body--daily .home-dashboard-analysis__chart {
        grid-column: 1 / -1;
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid rgba(129, 164, 189, 0.14);
    }
}
@media (max-width: 767px) {
    .home-dashboard-analysis__body--daily { grid-template-columns: 1fr; }
    .home-dashboard-analysis__body--daily .home-dashboard-analysis__identity { padding-bottom: 6px; }
    .home-dashboard-analysis__narrative { padding: 12px 0 2px; border-left: 0; border-top: 1px solid rgba(129, 164, 189, 0.14); }
    .home-dashboard-analysis__explainers { grid-template-columns: 1fr; gap: 4px; }
    .home-dashboard-analysis__explainers section { padding: 10px 0; }
    .home-dashboard-analysis__thesis { margin-block: 13px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .home-dashboard-analysis__explainers {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .home-dashboard-analysis__explainers section {
        padding: 10px 0;
    }
}

/* AI Daily v4 — editorial analytical spread. One surface, thin dividers, no boxed submodules. */
.home-dashboard-analysis--insight {
    padding-bottom: 2px;
}
.home-dashboard-analysis--insight .home-dashboard-analysis__head {
    align-items: end;
    margin-bottom: 16px;
}
.home-dashboard-analysis--insight .home-dashboard-analysis__head h2 {
    display: flex;
    align-items: baseline;
    min-width: 0;
    gap: 10px;
}
.home-dashboard-analysis__ticker { flex: 0 0 auto; }
.home-dashboard-analysis__title-separator {
    flex: 0 0 auto;
    color: rgba(197, 214, 226, 0.72);
    font-weight: 400;
}
.home-dashboard-analysis__issuer-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-dashboard-module__head > .home-dashboard-analysis__read-link {
    color: var(--home-green);
    font-weight: 700;
    text-decoration: none;
}
.home-dashboard-analysis__read-link:hover,
.home-dashboard-analysis__read-link:focus-visible {
    color: var(--home-green);
    text-decoration: underline;
}

.home-dashboard-analysis__layout {
    display: grid;
    grid-template-columns: minmax(0, 2.08fr) minmax(300px, 0.92fr);
    grid-template-areas:
        "insight chart"
        "explainers chart";
    column-gap: 30px;
    row-gap: 0;
    align-items: stretch;
}
.home-dashboard-analysis__insight {
    grid-area: insight;
    min-width: 0;
    padding: 0 2px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.home-dashboard-analysis__metrics {
    display: grid;
    grid-template-columns: 72px minmax(150px, 0.94fr) minmax(116px, 0.68fr) minmax(210px, 1.2fr) minmax(126px, 0.72fr);
    align-items: stretch;
    min-width: 0;
    padding: 5px 0 20px;
    border-bottom: 1px solid rgba(124, 158, 183, 0.13);
}
.home-dashboard-analysis__logo-cell {
    display: grid;
    place-items: center start;
    min-width: 0;
    padding: 8px 18px 8px 0;
}
.home-dashboard-analysis__metric {
    min-width: 0;
    padding: 4px 18px 2px;
    border-left: 1px solid rgba(124, 158, 183, 0.13);
}
.home-dashboard-analysis__metric-label,
.home-dashboard-analysis--insight .home-dashboard-analysis__chart-head > span {
    display: block;
    color: rgba(176, 195, 210, 0.66);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}
.home-dashboard-analysis__assessment-value {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 8px;
    min-width: 0;
}
.home-dashboard-analysis__assessment-value > strong {
    color: rgba(247, 250, 253, 0.98);
    font-size: 1.28rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.home-dashboard-analysis__assessment-value > em {
    margin-left: 2px;
    font-size: 1.08rem;
    font-style: normal;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.home-dashboard-analysis__metric > small,
.home-dashboard-analysis__quality > span,
.home-dashboard-analysis__chart-values small,
.home-dashboard-analysis__chart-period small {
    color: rgba(170, 189, 204, 0.62);
    font-size: 0.75rem;
    line-height: 1.35;
}
.home-dashboard-analysis__metric--assessment > small,
.home-dashboard-analysis__metric--today > small {
    display: block;
    margin-top: 4px;
}
.home-dashboard-analysis__market-delta {
    display: block;
    margin-top: 11px;
    font-size: 1.22rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.home-dashboard-analysis__trend-rows {
    display: grid;
    gap: 7px;
    margin-top: 8px;
}
.home-dashboard-analysis__trend-row {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.home-dashboard-analysis__trend-icon {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 1px 2px rgba(255, 86, 104, 0.12));
}
.home-dashboard-analysis__trend-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.home-dashboard-analysis__explainer-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.home-dashboard-analysis__trend-name {
    overflow: hidden;
    color: rgba(232, 239, 245, 0.9);
    font-size: 0.78rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-dashboard-analysis__trend-row > strong {
    justify-self: end;
    font-size: 1rem;
    font-weight: 700;
}
.home-dashboard-analysis__trend-row.is-positive .home-dashboard-analysis__trend-icon,
.home-dashboard-analysis__trend-row.is-danger .home-dashboard-analysis__trend-icon {
    opacity: 1;
}
.home-dashboard-analysis__trend-row.is-neutral .home-dashboard-analysis__trend-icon {
    opacity: 0.9;
    filter: saturate(0.9) brightness(0.96) drop-shadow(0 1px 2px rgba(255, 86, 104, 0.08));
}
.home-dashboard-analysis__trend-row.is-muted .home-dashboard-analysis__trend-icon {
    opacity: 0.42;
    filter: grayscale(0.18) saturate(0.7);
}
.home-dashboard-analysis__trend-row.is-muted .home-dashboard-analysis__trend-name,
.home-dashboard-analysis__trend-row.is-muted > strong {
    color: rgba(160, 180, 196, 0.46);
}

.home-dashboard-analysis__quality {
    display: grid;
    justify-items: center;
    gap: 3px;
    margin-top: 3px;
    --quality-color: var(--home-green);
}
.home-dashboard-analysis__quality--warning { --quality-color: #e4b33e; }
.home-dashboard-analysis__quality--danger { --quality-color: #ef5964; }
.home-dashboard-analysis__quality--neutral { --quality-color: rgba(158, 181, 199, 0.55); }
.home-dashboard-analysis__quality-ring {
    position: relative;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: conic-gradient(var(--quality-color) calc(var(--business-quality) * 1%), rgba(110, 139, 161, 0.18) 0);
}
.home-dashboard-analysis__quality-ring::before {
    position: absolute;
    inset: 6px;
    border-radius: inherit;
    background: #06131f;
    content: "";
}
.home-dashboard-analysis__quality-ring > strong,
.home-dashboard-analysis__quality-ring > small {
    position: relative;
    z-index: 1;
}
.home-dashboard-analysis__quality-ring > strong {
    color: rgba(248, 251, 253, 0.98);
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.home-dashboard-analysis__quality-ring > small {
    margin-top: -7px;
    color: rgba(175, 194, 208, 0.65);
    font-size: 0.75rem;
}
.home-dashboard-analysis__quality > span {
    color: var(--quality-color);
    font-weight: 600;
}

.home-dashboard-analysis__story {
    padding: 22px 0 21px;
}
.home-dashboard-analysis__why-today > span,
.home-dashboard-analysis--insight .home-dashboard-analysis__explainers section > span {
    display: block;
    color: var(--home-green);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}
.home-dashboard-analysis__why-today p {
    margin: 8px 0 0;
    color: rgba(239, 245, 249, 0.94);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.5;
}
.home-dashboard-analysis--insight .home-dashboard-analysis__thesis {
    margin: 18px 0 0;
    padding: 3px 0 4px 17px;
    border-left: 2px solid var(--home-green);
    color: rgba(248, 251, 253, 0.98);
    font-size: clamp(0.98rem, 1.13vw, 1.1rem);
    font-weight: 600;
    line-height: 1.5;
}

.home-dashboard-analysis--insight .home-dashboard-analysis__explainers {
    grid-area: explainers;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    min-width: 0;
    border-top: 1px solid rgba(124, 158, 183, 0.13);
}

.home-dashboard-analysis--insight .home-dashboard-analysis__explainers--1 { grid-template-columns: minmax(0, 1fr); }
.home-dashboard-analysis--insight .home-dashboard-analysis__explainers--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-dashboard-analysis--insight .home-dashboard-analysis__explainers--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.home-dashboard-analysis--insight .home-dashboard-analysis__explainers section {
    min-width: 0;
    padding: 18px 22px 2px 0;
    border: 0;
    background: transparent;
}
.home-dashboard-analysis--insight .home-dashboard-analysis__explainers section + section {
    padding-left: 22px;
    border-left: 1px solid rgba(124, 158, 183, 0.12);
}
.home-dashboard-analysis__explainer-lead {
    display: grid;
    grid-template-columns: clamp(64px, 4.8vw, 76px) minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-width: 0;
    margin-top: 11px;
}
.home-dashboard-analysis__explainer-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: clamp(64px, 4.8vw, 76px);
    height: clamp(64px, 4.8vw, 76px);
    padding: 0;
    border-radius: 0;
    color: rgba(205, 188, 255, 0.94);
    background: transparent;
    overflow: visible;
}
.home-dashboard-analysis__explainer-icon--importance {
    color: rgba(210, 196, 255, 0.92);
    background: transparent;
}
.home-dashboard-analysis__explainer-icon--risk {
    color: rgba(255, 184, 191, 0.94);
    background: transparent;
}
.home-dashboard-analysis__explainer-lead > strong {
    min-width: 0;
    color: rgba(244, 248, 251, 0.96);
    font-size: clamp(0.9rem, 0.88vw, 1.02rem);
    font-weight: 600;
    line-height: 1.28;
}
.home-dashboard-analysis--insight .home-dashboard-analysis__explainers p {
    margin: 14px 0 0;
    color: rgba(180, 197, 210, 0.74);
    font-size: clamp(0.84rem, 0.92vw, 0.95rem);
    line-height: 1.56;
}

.home-dashboard-analysis--insight .home-dashboard-analysis__chart {
    grid-area: chart;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 6px 0 2px 30px;
    border: 0;
    border-left: 1px solid rgba(124, 158, 183, 0.14);
    border-radius: 0;
    background: transparent;
}
.home-dashboard-analysis--insight .home-dashboard-analysis__chart-head {
    display: block;
}
.home-dashboard-analysis--insight .home-dashboard-analysis__chart-head > span {
    color: var(--home-green);
    font-weight: 700;
}
.home-dashboard-analysis__chart-values {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-top: 13px;
}
.home-dashboard-analysis__chart-values > strong {
    color: rgba(247, 250, 253, 0.98);
    font-size: clamp(1.2rem, 1.55vw, 1.5rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.home-dashboard-analysis__chart-values > div {
    display: grid;
    justify-items: end;
    gap: 2px;
}
.home-dashboard-analysis__chart-values em {
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.home-dashboard-analysis--insight .home-dashboard-analysis__chart svg {
    flex: 1 1 220px;
    width: 100%;
    min-height: 210px;
    max-height: 280px;
    margin: 19px 0 12px;
    overflow: visible;
}
.home-dashboard-analysis--insight .home-dashboard-analysis__chart polyline {
    stroke: var(--home-green);
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.home-dashboard-analysis__chart-period {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-top: auto;
}
.home-dashboard-analysis__chart-period > span {
    display: grid;
    gap: 4px;
}
.home-dashboard-analysis__chart-period > span:last-child {
    justify-items: end;
    text-align: right;
}
.home-dashboard-analysis__chart-period strong {
    color: rgba(236, 243, 248, 0.9);
    font-size: 0.86rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.home-dashboard-analysis--insight .home-dashboard-analysis__chart-empty {
    display: grid;
    flex: 1 1 180px;
    place-items: center;
    min-height: 180px;
    margin-top: 16px;
    color: rgba(158, 178, 194, 0.58);
    font-size: 0.75rem;
    text-align: center;
}
.home-dashboard-analysis__disclaimer {
    margin: 12px 1px 0;
    padding-top: 9px;
    border-top: 1px solid rgba(124, 158, 183, 0.09);
    color: rgba(154, 176, 192, 0.5);
}
.home-dashboard-analysis__disclaimer p {
    margin: 0;
    max-width: 980px;
    font-size: 0.75rem;
    line-height: 1.38;
}


@media (max-width: 1199px) {
    .home-dashboard-analysis__layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "insight"
            "explainers"
            "chart";
        gap: 0;
    }
    .home-dashboard-analysis--insight .home-dashboard-analysis__chart {
        margin-top: 22px;
        padding: 22px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(124, 158, 183, 0.13);
    }
    .home-dashboard-analysis--insight .home-dashboard-analysis__chart svg {
        flex-basis: 175px;
        min-height: 170px;
        max-height: 220px;
    }
    .home-dashboard-analysis--insight .home-dashboard-analysis__explainers {
        margin-top: 0;
    }
}

@media (max-width: 900px) {
    .home-dashboard-analysis__metrics {
        grid-template-columns: 60px minmax(145px, 1fr) minmax(112px, 0.72fr) minmax(180px, 1.15fr) 112px;
    }
    .home-dashboard-analysis__metric { padding-inline: 12px; }
    .home-dashboard-analysis--insight .home-dashboard-analysis__explainers {
        grid-template-columns: 1fr;
    }
    .home-dashboard-analysis--insight .home-dashboard-analysis__explainers section,
    .home-dashboard-analysis--insight .home-dashboard-analysis__explainers section + section {
        padding: 14px 0;
        border-left: 0;
        border-bottom: 1px solid rgba(124, 158, 183, 0.1);
    }
    .home-dashboard-analysis--insight .home-dashboard-analysis__explainers section:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 767px) {
    .home-dashboard-analysis--insight .home-dashboard-analysis__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
    .home-dashboard-analysis--insight .home-dashboard-analysis__head h2 {
        display: grid;
        grid-template-columns: auto auto minmax(0, 1fr);
        width: 100%;
        gap: 8px;
    }
    .home-dashboard-analysis__ticker {
        max-width: 38vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .home-dashboard-analysis__issuer-name {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal;
    }
    .home-dashboard-analysis__insight {
        padding-right: 0;
    }
    .home-dashboard-analysis__metrics {
        grid-template-columns: 54px minmax(0, 1fr) minmax(90px, 0.72fr);
        grid-template-areas:
            "logo assessment assessment"
            "today today quality"
            "trend trend trend";
        gap: 16px 14px;
        padding: 5px 0 18px;
    }
    .home-dashboard-analysis__logo-cell {
        grid-area: logo;
        padding: 1px 4px 0 0;
    }
    .home-dashboard-analysis__metric {
        padding: 0;
        border-left: 0;
    }
    .home-dashboard-analysis__metric--assessment { grid-area: assessment; }
    .home-dashboard-analysis__metric--today { grid-area: today; }
    .home-dashboard-analysis__metric--quality { grid-area: quality; }
    .home-dashboard-analysis__metric--trend { grid-area: trend; }
    .home-dashboard-analysis__trend-rows {
        grid-template-columns: 1fr;
        gap: 7px;
    }
    .home-dashboard-analysis__trend-row {
        grid-template-columns: 19px minmax(0, 1fr) 20px;
    }
    .home-dashboard-analysis__quality {
        grid-template-columns: auto;
        justify-content: start;
        justify-items: center;
        gap: 3px;
    }
    .home-dashboard-analysis__quality-ring {
        width: 50px;
        height: 50px;
    }
    .home-dashboard-analysis__quality-ring::before { inset: 5px; }
    .home-dashboard-analysis__quality-ring > strong { font-size: 1rem; }
    .home-dashboard-analysis__story {
        padding: 20px 0 18px;
    }
    .home-dashboard-analysis--insight .home-dashboard-analysis__thesis {
        margin-top: 15px;
        padding-left: 13px;
    }
    .home-dashboard-analysis--insight .home-dashboard-analysis__chart {
        margin-top: 18px;
        padding-top: 18px;
    }
    .home-dashboard-analysis--insight .home-dashboard-analysis__chart svg {
        min-height: 150px;
        max-height: 185px;
        margin-top: 16px;
    }
    .home-dashboard-analysis--insight .home-dashboard-analysis__explainers {
        margin-top: 18px;
    }
    .home-dashboard-analysis__disclaimer {
        margin-top: 9px;
        padding-top: 8px;
    }
}

@media (max-width: 430px) {
    .home-dashboard-analysis__metrics {
        grid-template-columns: 48px minmax(0, 1fr) 86px;
        column-gap: 11px;
    }
    .home-dashboard-analysis__assessment-value { gap: 7px; }
    .home-dashboard-analysis__assessment-value > strong { font-size: 1.12rem; }
    .home-dashboard-analysis__assessment-value > em { font-size: 0.94rem; }
    .home-dashboard-analysis__market-delta { font-size: 1.1rem; }
    .home-dashboard-analysis__trend-name { font-size: 0.78rem; }
    .home-dashboard-analysis__chart-values {
        align-items: start;
    }
    .home-dashboard-analysis__chart-values > strong { font-size: 1.16rem; }
    .home-dashboard-analysis__explainer-lead {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 10px;
        margin-top: 9px;
    }
    .home-dashboard-analysis__explainer-icon {
        width: 46px;
        height: 46px;
    }
    .home-dashboard-analysis__explainer-lead > strong {
        font-size: 0.92rem;
        line-height: 1.28;
    }
    .home-dashboard-analysis--insight .home-dashboard-analysis__explainers p {
        margin-top: 10px;
        font-size: 0.82rem;
        line-height: 1.5;
    }
}

/* AI Daily Product Pass v2 — shared semantics, open editorial presentation. */
.home-dashboard-analysis__tier-badge {
    flex: 0 0 auto;
    min-width: 34px;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 0.92rem;
}

.home-dashboard-analysis__quality {
    --quality-color: #7bdd4b;
    --quality-glow: rgba(123, 221, 75, 0.16);
}
.home-dashboard-analysis__quality--warning { --quality-color: #e0b45f; --quality-glow: rgba(224, 180, 95, 0.15); }
.home-dashboard-analysis__quality--danger { --quality-color: #e85b62; --quality-glow: rgba(232, 91, 98, 0.15); }
.home-dashboard-analysis__quality--neutral { --quality-color: #9fb1c0; --quality-glow: rgba(159, 177, 192, 0.12); }
.home-dashboard-analysis__quality-ring {
    position: relative;
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 0;
    background: transparent;
}
.home-dashboard-analysis__quality-ring::before { display: none; }
.home-dashboard-analysis__quality-ring > svg {
    display: block;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    overflow: visible;
}
.home-dashboard-analysis__quality-ring circle { fill: none; stroke-width: 8; }
.home-dashboard-analysis__quality-track { stroke: rgba(148, 174, 195, 0.24); }
.home-dashboard-analysis__quality-value {
    stroke: var(--quality-color);
    stroke-linecap: round;
    stroke-dasharray: var(--business-quality) 100;
    filter: drop-shadow(0 0 4px var(--quality-glow));
}
.home-dashboard-analysis__quality-label {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
    line-height: 1;
    pointer-events: none;
}
.home-dashboard-analysis__quality-label > div { display: flex; align-items: baseline; justify-content: center; }
.home-dashboard-analysis__quality-label b { color: rgba(250,252,255,.98); font-size: 1.05rem; font-weight: 750; }
.home-dashboard-analysis__quality-label span { margin-left: 1px; color: rgba(185,201,213,.72); font-size: 0.62rem; font-weight: 600; }
.home-dashboard-analysis__quality-label small { margin-top: 4px; color: rgba(185,201,213,.68); font-size: 0.56rem; font-weight: 500; }

.home-dashboard-analysis__explainer-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.home-dashboard-analysis__explainer-icon--change { color: rgba(140,226,69,.94); background: transparent; }
.home-dashboard-analysis__explainer-icon--importance { color: rgba(175,205,244,.94); background: transparent; }
.home-dashboard-analysis__explainer-icon--risk { color: #ff772d; background: transparent; }
.home-dashboard-analysis__explainer-icon--risk svg { stroke: none; }
.home-dashboard-analysis__explainer-icon--risk .attention-warning__surface { fill: rgba(255,106,42,.05); stroke-width: 1.35; }
.home-dashboard-analysis__explainer-icon--risk .attention-warning__inner { fill: rgba(255,84,42,.08); stroke: rgba(255,143,49,.24); stroke-width: .8; }
.home-dashboard-analysis__explainer-icon--risk .attention-warning__mark { fill: none; stroke: #ffb04a; stroke-width: 1.7; stroke-linecap: round; }
.home-dashboard-analysis__explainer-icon--risk .attention-warning__dot { fill: #ffb04a; stroke: none; }

.home-dashboard-analysis__chart-values { justify-content: flex-end; }
.home-dashboard-analysis__chart-values > div { justify-items: end; }
.home-dashboard-analysis__chart-values em { font-size: clamp(1.2rem, 1.55vw, 1.5rem); }
.home-dashboard-analysis__current-price { font-size: 1.05rem !important; font-weight: 700 !important; }
@media (max-width: 767px) {
    .home-dashboard-analysis__quality-ring { width: 68px; height: 68px; }
    .home-dashboard-analysis__quality-ring::before { display: none; }
    .home-dashboard-analysis__explainer-lead {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 12px;
    }
    .home-dashboard-analysis__explainer-icon {
        width: 54px;
        height: 54px;
    }
}

/* Home product pass v6 — textual separation uses only the minimal `|` glyph. */
.home-dashboard-attention-card__score-transition {
    color: rgba(183, 200, 213, 0.78);
    font-variant-numeric: tabular-nums;
}
.home-dashboard-attention-card__context-line {
    display: block;
    overflow: visible;
    margin-top: 6px;
    padding: 0;
    border: 0;
    color: rgba(181, 199, 213, 0.76);
    font-size: 0.75rem;
    line-height: 1.32;
    -webkit-line-clamp: unset;
}
@media (max-width: 767px) {
    .home-dashboard-attention-card__context-line { margin-top: 5px; }
}

@media (prefers-reduced-motion: reduce) {
}
