.intel-shell {
    width: min(100% - 2rem, var(--site-width));
    margin: 0 auto;
    padding: 1rem 0 2.5rem;
}

.intel-hero,
.intel-panel,
.intel-card {
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.intel-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: end;
    padding: clamp(1.1rem, 2.5vw, 1.55rem);
    background:
        linear-gradient(115deg, rgb(255 255 255 / 0.97), rgb(246 250 253 / 0.96)),
        radial-gradient(circle at 92% 12%, rgb(0 51 102 / 0.12), transparent 18rem);
}

.intel-kicker {
    margin: 0;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.intel-hero h1,
.intel-panel h2,
.intel-card h3 {
    margin: 0.15rem 0 0;
}

.intel-hero h1 {
    font-size: clamp(2rem, 4.2vw, 4rem);
    line-height: 0.94;
}

.intel-hero p:not(.intel-kicker),
.intel-panel p,
.intel-card p {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.intel-meta {
    display: grid;
    min-width: 14rem;
    gap: 0.25rem;
    padding: 0.85rem;
    border: 1px solid #cbd8e6;
    background: #f8fbfe;
}

.intel-meta strong {
    color: var(--brand-deep);
    font-size: 1.15rem;
}

.intel-grid,
.intel-triple {
    display: grid;
    gap: 0.85rem;
    margin-top: 0.85rem;
}

.intel-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.intel-triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intel-panel {
    min-width: 0;
    padding: 1rem;
}

.intel-read-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.45fr);
    gap: 1rem;
    align-items: center;
    margin-top: 0.85rem;
    padding: 1rem;
    border: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgb(0 51 102 / 0.045), transparent 62%),
        #ffffff;
    box-shadow: var(--shadow-soft);
}

.intel-read-strip h2 {
    margin: 0.15rem 0 0.35rem;
}

.intel-read-strip p:not(.intel-kicker) {
    max-width: 74rem;
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.intel-panel-head {
    display: flex;
    gap: 0.75rem;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.intel-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.intel-table th,
.intel-table td {
    padding: 0.55rem 0.45rem;
    border-top: 1px solid #dce6ef;
    text-align: left;
    vertical-align: top;
}

.intel-table th {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.intel-symbol {
    color: var(--brand-deep);
    font-weight: 900;
    text-decoration: none;
}

.intel-symbol:hover,
.intel-symbol:focus {
    text-decoration: underline;
}

.intel-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.45rem;
}

.intel-row-actions a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-height: 1.75rem;
    padding: 0.22rem 0.42rem;
    border: 1px solid #cbd9e7;
    background: #f8fbfe;
    color: var(--brand);
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.intel-row-actions a:hover,
.intel-row-actions a:focus {
    border-color: var(--brand);
    background: #eef5fb;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.intel-row-actions .bi {
    width: 0.8rem;
    height: 0.8rem;
}

.intel-positive {
    color: #04713a;
    font-weight: 900;
}

.intel-negative {
    color: #c04a00;
    font-weight: 900;
}

.intel-muted {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.intel-cycle-switcher,
.intel-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.65rem;
}

.intel-cycle-switcher a,
.intel-pagination a,
.intel-pagination span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-height: 2rem;
    padding: 0.35rem 0.55rem;
    border: 1px solid #cbd9e7;
    background: #ffffff;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
}

.intel-cycle-switcher a[aria-current="page"],
.intel-cycle-switcher a:hover,
.intel-cycle-switcher a:focus,
.intel-pagination a:hover,
.intel-pagination a:focus {
    border-color: var(--brand);
    background: #eef5fb;
}

.intel-pagination span {
    color: var(--muted);
    background: #f8fbfe;
}

.active-movers-cycle-note {
    margin-top: 0.75rem;
}

.intel-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0.85rem;
}

.intel-stat-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
}

.intel-stat {
    padding: 0.75rem;
    border: 1px solid #d8e3ee;
    background: #f8fbfe;
}

.intel-stat span {
    display: block;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.intel-stat strong {
    display: block;
    margin-top: 0.2rem;
    color: var(--brand-deep);
    font-size: 1.15rem;
}

.intel-list {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.intel-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.55rem 0;
    border-top: 1px solid #e1eaf2;
    color: var(--brand-deep);
    font-weight: 800;
}

.intel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.intel-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    padding: 0.4rem 0.7rem;
    border: 1px solid var(--brand);
    color: var(--brand);
    background: #ffffff;
    font-weight: 900;
    text-decoration: none;
}

.intel-actions a:hover,
.intel-actions a:focus {
    background: var(--brand);
    color: #ffffff;
}

@media (max-width: 1100px) {
    .intel-hero,
    .intel-read-strip,
    .intel-grid,
    .intel-triple {
        grid-template-columns: 1fr;
    }

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

    .intel-stat-grid--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .intel-shell {
        width: min(100% - 1rem, var(--site-width));
    }

    .intel-panel {
        padding: 0.85rem;
    }

    .intel-table {
        display: block;
        overflow-x: auto;
    }

    .intel-table th,
    .intel-table td {
        min-width: 7.5rem;
    }

    .intel-stat-grid {
        grid-template-columns: 1fr;
    }

    .intel-stat-grid--compact {
        grid-template-columns: 1fr;
    }
}
