/* ===== AI JARGON BUSTER ===== */

/* Hero subtitle — allow single-line fit */
.page-header p {
    max-width: 900px;
}

/* ------------------------------------------------
   SPLIT SECTION — exact homepage panel values
   ------------------------------------------------ */
.jb-split {
    padding: 3rem 2rem 3rem;
}
.jb-split-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 2rem;
    align-items: start;
}

/* Panels — exact homepage values */
.jb-panel {
    padding: 2.5rem;
    background: #ffffff;
    border: 1px solid #E2E4ED;
    box-shadow: 0 2px 8px rgba(18, 21, 61, 0.06);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

/* ------------------------------------------------
   PANEL HEADER
   ------------------------------------------------ */
.jb-panel-header {
    margin-bottom: 1.25rem;
}
.jb-panel-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #12153D;
    margin: 0 0 1rem;
}
.jb-panel-title em {
    font-style: normal;
    color: #1EC86A;
}

/* ------------------------------------------------
   SEARCH BAR — inside left panel
   ------------------------------------------------ */
.jb-search-bar {
    display: flex;
    gap: 8px;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.jb-search-input-wrap {
    flex: 1;
    position: relative;
    min-width: 180px;
}
.jb-search-input,
.jb-news-input {
    width: 100%;
    background: #fff;
    border: 1px solid #D0D3E8;
    color: #12153D;
    border-radius: 6px;
    padding: 0.5rem 0.7rem;
    font-size: 0.88rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.15s;
}
.jb-search-input {
    padding-right: 68px;
}
.jb-search-input:focus,
.jb-news-input:focus {
    outline: none;
    border-color: #6C63FF;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.12);
}
.jb-search-input::placeholder,
.jb-news-input::placeholder {
    color: #8A8FAA;
}
.jb-clear-btn {
    position: absolute;
    right: 38px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #8A8FAA;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}
.jb-clear-btn:hover {
    color: #12153D;
}
.jb-suggestions-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #C8CAD8;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}
.jb-suggestions-toggle.active {
    color: #6C63FF;
}
.jb-search-btn {
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 700;
    background: #1EC86A;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    white-space: nowrap;
    transition: background 0.15s, transform 0.1s;
}
.jb-search-btn:hover {
    background: #19B55E;
    transform: translateY(-1px);
}

/* Suggestions dropdown */
.jb-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #D0D3E8;
    border-radius: 8px;
    margin-top: 4px;
    z-index: 50;
    max-height: 260px;
    overflow-y: auto;
    box-shadow: 0 4px 16px rgba(18,21,61,0.1);
}
.jb-suggestion {
    padding: 10px 14px;
    font-size: 0.88rem;
    color: #4A4E7A;
    cursor: pointer;
    transition: background 0.1s;
}
.jb-suggestion:hover {
    background: #F5F6FA;
    color: #12153D;
}
.jb-suggestion-active {
    background: #F0EFFE;
    color: #12153D;
}

/* ------------------------------------------------
   LEFT PANEL STATES
   ------------------------------------------------ */
.jb-default-state {
    color: #8A8FAA;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-top: 1rem;
}
.jb-default-state p {
    margin: 0;
    color: #8A8FAA;
}
.jb-loading {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 1rem 0;
}
.jb-loading p {
    color: #6C63FF;
    font-size: 0.92rem;
    margin: 0;
}
.jb-error {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 1rem 0;
}
.jb-error p {
    color: #C0392B;
    font-size: 0.92rem;
    margin: 0;
}

/* ------------------------------------------------
   ANSWER CARD
   ------------------------------------------------ */
.jb-answer-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 1.25rem;
    border: 1px solid #E2E4ED;
    border-left: 4px solid #1EC86A;
    box-shadow: 0 2px 8px rgba(18,21,61,0.06);
}
.jb-answer-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}
.jb-answer-term {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #12153D;
}
.jb-answer-abbr {
    font-size: 0.88rem;
    font-weight: 500;
    color: #6C63FF;
}
.jb-answer-cat {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6C63FF;
    background: rgba(108,99,255,0.1);
    padding: 2px 8px;
    border-radius: 100px;
}
.jb-answer-def {
    font-size: 0.92rem;
    color: #4A4E7A;
    line-height: 1.7;
    margin: 0.5rem 0;
}
.jb-answer-why {
    border-top: none;
    margin-top: 0.75rem;
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    color: #4A4E7A;
    line-height: 1.65;
    background: rgba(30, 200, 106, 0.06);
    border-radius: 8px;
    border-left: 3px solid #1EC86A;
}
.jb-answer-why-label {
    color: #1EC86A;
    font-weight: 600;
}
.jb-answer-example {
    border-top: 1px solid #E2E4ED;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    font-size: 0.82rem;
    color: #8A8FAA;
    line-height: 1.55;
}
.jb-answer-examples {
    border-top: 1px solid #E2E4ED;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
}
.jb-answer-examples-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #12153D;
    margin-bottom: 0.5rem;
}
.jb-answer-examples-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.jb-answer-examples-list li {
    font-size: 0.85rem;
    color: #4A4E7A;
    line-height: 1.6;
    padding: 0.4rem 0 0.4rem 1rem;
    border-left: 2px solid #E2E4ED;
    margin-bottom: 0.5rem;
}
.jb-answer-funnel {
    border-top: 1px solid #E2E4ED;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
}
.jb-answer-funnel a {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6C63FF;
    text-decoration: none;
}
.jb-answer-funnel a:hover {
    text-decoration: underline;
}

/* ------------------------------------------------
   RIGHT PANEL — NEWS
   ------------------------------------------------ */
.jb-news-search-bar {
    display: flex;
    align-items: center;
    border: 1px solid #D0D3E8;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #fff;
}
.jb-news-search-bar .jb-news-input {
    flex: 1;
    border: none;
    border-radius: 0;
    padding: 0.5rem 0.7rem;
    font-size: 0.88rem;
    outline: none;
    background: transparent;
}
.jb-news-search-bar .jb-news-input:focus {
    box-shadow: none;
}
.jb-news-time-filter {
    border: none;
    border-left: 1px solid #D0D3E8;
    padding: 0.5rem 0.6rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #12153D;
    background: #F5F6FA;
    cursor: pointer;
    appearance: auto;
    font-family: inherit;
    outline: none;
}
.jb-news-time-filter:focus {
    border-color: #6C63FF;
}
.jb-news-list {
    flex: 1;
    overflow-y: auto;
}
.jb-news-card {
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid #E2E4ED;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 1px 4px rgba(18, 21, 61, 0.04);
}
.jb-news-cat {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6C63FF;
    background: rgba(108, 99, 255, 0.1);
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 0.5rem;
}
.jb-news-headline {
    font-size: 1rem;
    font-weight: 700;
    color: #12153D;
    margin: 0 0 0.4rem;
    line-height: 1.35;
}
.jb-news-meta {
    font-size: 0.75rem;
    color: #8A8FAA;
    margin: 0 0 0.75rem;
}
.jb-news-source-name {
    font-weight: 600;
    color: #1EC86A;
}
.jb-news-synopsis {
    font-size: 0.85rem;
    color: #4A4E7A;
    line-height: 1.65;
    margin: 0 0 0.5rem;
}
.jb-news-expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    font-size: 0.78rem;
    font-weight: 600;
    color: #6C63FF;
    cursor: pointer;
    padding: 0;
    margin-bottom: 0.5rem;
}
.jb-news-expand-btn:hover {
    color: #1EC86A;
}
.jb-news-full-tldr {
    padding: 0.75rem;
    background: #F5F6FA;
    border-radius: 6px;
    border-left: 3px solid #1EC86A;
    margin-bottom: 0.5rem;
}
.jb-news-full-tldr p {
    font-size: 0.85rem;
    color: #4A4E7A;
    line-height: 1.6;
    margin: 0;
}
.jb-news-link-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
}
.jb-news-link-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #12153D;
    white-space: nowrap;
}
.jb-news-link-url {
    font-size: 0.78rem;
    font-weight: 400;
    color: #6C63FF;
    text-decoration: none;
}
.jb-news-link-url:hover {
    text-decoration: underline;
}
.jb-news-terms-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #E2E4ED;
}
.jb-news-terms-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #12153D;
    white-space: nowrap;
}
.jb-news-term-btn {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6C63FF;
    background: rgba(108, 99, 255, 0.08);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 100px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}
.jb-news-term-btn:hover {
    background: #6C63FF;
    color: #ffffff;
    border-color: #6C63FF;
}
.jb-jargon-link {
    color: #6C63FF;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
    cursor: pointer;
    font-weight: 500;
}
.jb-jargon-link:hover {
    color: #1EC86A;
}
.jb-news-empty,
.jb-news-loading {
    color: #8A8FAA;
    font-size: 0.88rem;
    text-align: center;
    padding: 2rem 0;
}

/* ------------------------------------------------
   MOBILE TABS
   ------------------------------------------------ */
.jb-mobile-tabs {
    display: none;
    background: #ffffff;
    border-top: 1px solid #E2E4ED;
    position: sticky;
    bottom: 0;
    z-index: 40;
}
.jb-mobile-tab {
    flex: 1;
    padding: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #8A8FAA;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.15s, border-color 0.15s;
}
.jb-mobile-tab.active {
    color: #12153D;
    border-bottom-color: #1EC86A;
}

/* ------------------------------------------------
   RESPONSIVE — MOBILE
   ------------------------------------------------ */
@media (max-width: 768px) {
    .jb-split {
        padding: 0;
    }
    .jb-split-container {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 0;
    }
    .jb-panel {
        border-radius: 12px;
        min-height: auto;
    }
    #jb-panel-right {
        display: none;
    }
    .jb-mobile-tabs {
        display: flex;
    }
    .jb-search-bar {
        flex-wrap: nowrap;
    }
}

/* ================================================
   SHARED LAYOUT: hero, container, badge
   (used by term, briefing, and archive pages)
   ================================================ */
.jb-hero {
    background: #1a1e4a;
    padding: 6rem 2rem 4rem;
    color: #fff;
}
.jb-hero-inner {
    max-width: 720px;
    margin: 0 auto;
}
.jb-hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem;
    line-height: 1.3;
}
.jb-hero h1 em {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}
.jb-hero-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}
.jb-section {
    background: #fff;
    padding: 2.5rem 2rem 3rem;
}
.jb-container {
    max-width: 720px;
    margin: 0 auto;
}
.jb-badge {
    display: inline-block;
    background: rgba(108, 99, 255, 0.2);
    color: #a8a3ff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
}
.jb-breadcrumb {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}
.jb-breadcrumb a {
    color: #6C63FF;
    text-decoration: none;
}
.jb-breadcrumb a:hover {
    color: #8B84FF;
    text-decoration: underline;
}

/* Shared layout mobile */
@media (max-width: 600px) {
    .jb-hero {
        padding: 4rem 1.25rem 2.5rem;
    }
    .jb-section {
        padding: 1.75rem 1.25rem 2rem;
    }
    .jb-hero h1 {
        font-size: 1.5rem;
    }
}

/* ================================================
   INDIVIDUAL TERM PAGE
   ================================================ */
.jb-term-content {
    background: #fff;
    padding: 2.5rem 2rem 3rem;
}
.jb-term-wrap {
    max-width: 860px;
    margin: 0 auto;
}

/* Definition card: overlaps hero */
.jb-term-card {
    background: #fff;
    border-radius: 14px;
    border: 0.5px solid #E2E4ED;
    box-shadow: 0 2px 12px rgba(18, 21, 61, 0.04);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.25rem;
}
.jb-term-overlap {
    margin-top: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 24px rgba(18, 21, 61, 0.06);
}
.jb-term-definition-card {
    padding: 2.5rem 2.5rem 2rem;
    background: rgba(30, 200, 106, 0.04);
    border-left: 3px solid #1EC86A;
}
.jb-term-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(108, 99, 255, 0.12);
    border: 1px solid rgba(108, 99, 255, 0.25);
    color: #6C63FF;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}
.jb-term-badge-dot {
    width: 6px;
    height: 6px;
    background: #6C63FF;
    border-radius: 50%;
    display: inline-block;
}
.jb-term-question {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.2rem);
    font-weight: 700;
    color: #12153D;
    line-height: 1.2;
    margin: 0 0 0.25rem;
}
.jb-term-question-link {
    color: #1EC86A;
    text-decoration: none;
}
.jb-term-question-link:hover {
    color: #18b35d;
}
.jb-term-accent {
    width: 40px;
    height: 3px;
    background: #1EC86A;
    border-radius: 2px;
    margin: 0.9rem 0 1.25rem;
}
.jb-term-definition {
    font-size: 1.05rem;
    color: #4A4E7A;
    line-height: 1.8;
    margin: 0;
}

/* Card content */
.jb-term-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #12153D;
    margin: 0 0 0.5rem;
}
.jb-term-card p {
    font-size: 0.88rem;
    color: #4A4E7A;
    line-height: 1.7;
    margin: 0;
}
.jb-term-card-sub {
    font-size: 0.75rem;
    color: #8A8FAA;
    margin: -0.25rem 0 0.75rem;
}

/* Two-column layout */
.jb-term-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}
.jb-term-two-col .jb-term-card {
    margin-bottom: 0;
}
.jb-term-card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}
.jb-term-card-header h3 {
    margin: 0;
}
.jb-term-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.jb-term-icon-green {
    background: rgba(30, 200, 106, 0.1);
}
.jb-term-icon-violet {
    background: rgba(108, 99, 255, 0.1);
}
.jb-term-example-text {
    font-style: italic;
}

/* Search bar: dark navy block */
.jb-term-search-block {
    margin-bottom: 1.25rem;
}
.jb-term-search-top {
    background: rgba(108, 99, 255, 0.06);
    border: 1px solid rgba(108, 99, 255, 0.15);
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    padding: 1.75rem 2.25rem 1.25rem;
}
.jb-term-search-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6C63FF;
    margin: 0 0 0.4rem;
}
.jb-term-search-top h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #12153D;
    margin: 0 0 0.3rem;
    line-height: 1.3;
}
.jb-term-search-top h3 em {
    font-style: normal;
    color: #1EC86A;
}
.jb-term-search-note {
    font-size: 0.78rem;
    color: #8A8FAA;
    margin: 0;
}
.jb-term-search-bottom {
    background: rgba(108, 99, 255, 0.04);
    border: 1px solid rgba(108, 99, 255, 0.15);
    border-top: none;
    border-radius: 0 0 14px 14px;
    padding: 1rem 2.25rem 1.5rem;
}

/* Term pills */
.jb-term-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.25rem;
}
.jb-term-pill {
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    background: #F0EFFE;
    color: #534AB7;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s;
}
.jb-term-pill:hover {
    background: #E0DDFC;
}

/* Briefing appearances */
.jb-term-appearances {
    display: flex;
    flex-direction: column;
}
.jb-term-appearance {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    padding: 0.5rem 0;
    border-bottom: 0.5px solid #F0F0F5;
    text-decoration: none;
    transition: background 0.15s;
}
.jb-term-appearance:last-child {
    border-bottom: none;
}
.jb-term-appearance:hover {
    background: #F9F9FC;
}
.jb-term-appearance-date {
    color: #1EC86A;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    min-width: 2.75rem;
}
.jb-term-appearance-text {
    color: #4A4E7A;
    font-size: 0.78rem;
    line-height: 1.45;
}

/* Commercial funnels: single dark card */
.jb-term-funnels {
    background: rgba(108, 99, 255, 0.06);
    border: 1px solid rgba(108, 99, 255, 0.15);
    border-radius: 14px;
    padding: 2rem 2.25rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    margin-bottom: 2rem;
}
.jb-term-funnel-item {
    text-decoration: none;
    display: block;
    transition: opacity 0.15s;
}
.jb-term-funnel-item:hover {
    opacity: 0.85;
}
.jb-term-funnel-divider {
    width: 1px;
    background: rgba(108, 99, 255, 0.15);
    margin: 0 1.5rem;
}
.jb-term-funnel-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}
.jb-term-funnel-header span {
    font-size: 0.88rem;
    font-weight: 700;
    color: #12153D;
}
.jb-term-funnel-item p {
    font-size: 0.78rem;
    color: #4A4E7A;
    line-height: 1.6;
    margin: 0 0 0.75rem;
}
.jb-term-funnel-cta {
    font-size: 0.82rem;
    font-weight: 600;
}
.jb-term-funnel-cta-violet {
    color: #6C63FF;
}
.jb-term-funnel-cta-green {
    color: #1EC86A;
}

/* Term page mobile */
@media (max-width: 700px) {
    .jb-term-content {
        padding: 0 1rem 2rem;
    }
    .jb-term-card {
        padding: 1.25rem 1.25rem;
    }
    .jb-term-definition-card {
        padding: 1.75rem 1.25rem 1.5rem;
    }
    .jb-term-overlap {
        margin-top: 0;
    }
    .jb-term-two-col {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .jb-term-question {
        font-size: 1.5rem;
    }
    .jb-term-search-top {
        padding: 1.25rem 1.25rem 1rem;
    }
    .jb-term-search-bottom {
        padding: 0.75rem 1.25rem 1.25rem;
    }
    .jb-term-search-card .jb-search-bar,
    .jb-term-search-bottom .jb-search-bar {
        flex-direction: column;
    }
    .jb-term-search-card .jb-search-btn,
    .jb-term-search-bottom .jb-search-btn {
        text-align: center;
        width: 100%;
    }
    .jb-term-funnels {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 1.5rem 1.25rem;
    }
    .jb-term-funnel-divider {
        width: 100%;
        height: 0.5px;
        margin: 1.25rem 0;
    }
}

/* Preserved: used by briefing.html navigation */
.jb-related {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0 2rem;
}
.jb-related a {
    padding: 0.35rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 600;
    background: #F5F6FA;
    color: #6C63FF;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s;
}
.jb-related a:hover {
    background: #E8E9F2;
}
.jb-back {
    display: inline-block;
    margin-top: 2rem;
    font-size: 0.88rem;
    color: #6C63FF;
    text-decoration: none;
    font-weight: 600;
}
.jb-back:hover {
    text-decoration: underline;
}

/* ================================================
   DAILY BRIEFING PAGE
   (preserves existing briefing.html styles)
   ================================================ */
.jb-briefing-intro {
    font-size: 1.1rem;
    color: #4A4E7A;
    line-height: 1.75;
    margin: 0 0 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #E2E4ED;
}
.jb-story-card {
    padding: 2rem 0;
    border-bottom: 1px solid #E2E4ED;
}
.jb-story-card:last-of-type {
    border-bottom: none;
}
.jb-story-source {
    font-size: 0.82rem;
    font-weight: 600;
    color: #8A8FAA;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}
.jb-story-headline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 1rem;
}
.jb-story-headline a {
    color: #12153D;
    text-decoration: none;
}
.jb-story-headline a:hover {
    color: #6C63FF;
}
.jb-story-excerpt {
    background: #F9F9FC;
    border: 1px solid #E2E4ED;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}
.jb-story-excerpt p {
    font-size: 0.9rem;
    color: #4A4E7A;
    line-height: 1.65;
    margin: 0;
}
.jb-story-tldr {
    background: #F5F6FA;
    border-left: 4px solid #1EC86A;
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}
.jb-tldr-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1EC86A;
    margin-bottom: 0.4rem;
}
.jb-story-tldr p {
    font-size: 0.95rem;
    color: #4A4E7A;
    line-height: 1.7;
    margin: 0;
}
.jb-inline-term {
    color: #6C63FF;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
    cursor: pointer;
    font-weight: 500;
    transition: text-decoration-style 0.2s;
}
.jb-inline-term:hover {
    text-decoration-style: solid;
}
.jb-story-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}
.jb-story-term-link {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    background: rgba(108,99,255,0.08);
    color: #6C63FF;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s;
}
.jb-story-term-link:hover {
    background: rgba(108,99,255,0.18);
}
.jb-story-monardx {
    display: block;
    font-size: 0.85rem;
    color: #6C63FF;
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.jb-story-monardx:hover {
    text-decoration: underline;
}
.jb-story-readmore {
    display: inline-block;
    font-size: 0.82rem;
    color: #8A8FAA;
    text-decoration: none;
}
.jb-story-readmore:hover {
    color: #6C63FF;
}
.jb-new-terms {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E2E4ED;
}
.jb-new-terms h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #12153D;
    margin: 0 0 0.75rem;
}
.jb-briefing-nav {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E2E4ED;
    flex-wrap: wrap;
}
.jb-pagination {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E2E4ED;
}
.jb-page-info {
    font-size: 0.85rem;
    color: #8A8FAA;
}

/* ------------------------------------------------
   BOOLEAN FILTER SYSTEM
   ------------------------------------------------ */
.jb-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem 0 0.5rem;
}
.jb-filter-chip-wrap {
    position: relative;
}
.jb-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #4A4E7A;
    background: #ffffff;
    border: 1px solid #D0D3E8;
    border-radius: 100px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}
.jb-filter-chip:hover {
    border-color: #6C63FF;
    color: #6C63FF;
}
.jb-filter-chip.jb-filter-active {
    color: #6C63FF;
    background: rgba(108, 99, 255, 0.08);
    border-color: rgba(108, 99, 255, 0.3);
}
.jb-filter-clear {
    font-size: 0.75rem;
    color: #8A8FAA;
    text-decoration: none;
    margin-left: 0.25rem;
}
.jb-filter-clear:hover {
    color: #6C63FF;
}
.jb-filter-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    max-height: 280px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #E2E4ED;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(18, 21, 61, 0.1);
    z-index: 60;
    margin-top: 4px;
    padding: 6px 0;
}
.jb-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 14px;
    font-size: 0.82rem;
    color: #12153D;
    cursor: pointer;
}
.jb-dropdown-item:hover {
    background: #F5F6FA;
}
.jb-dropdown-item input[type="checkbox"] {
    accent-color: #6C63FF;
    width: 15px;
    height: 15px;
    cursor: pointer;
}
.jb-dropdown-label {
    flex: 1;
}
.jb-dropdown-count {
    font-size: 0.72rem;
    color: #8A8FAA;
}
.jb-dropdown-empty {
    padding: 12px 14px;
    font-size: 0.82rem;
    color: #8A8FAA;
}
.jb-story-count {
    font-size: 0.75rem;
    color: #8A8FAA;
    margin: 0 0 0.75rem;
}

/* News predictive suggestions */
.jb-news-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #E2E4ED;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(18, 21, 61, 0.1);
    z-index: 50;
    margin-top: 4px;
    max-height: 250px;
    overflow-y: auto;
}
.jb-news-suggestion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    cursor: pointer;
    gap: 1rem;
}
.jb-news-suggestion:hover {
    background: #F5F6FA;
}
.jb-news-suggestion-title {
    font-size: 0.82rem;
    color: #12153D;
    flex: 1;
}
.jb-news-suggestion-source {
    font-size: 0.72rem;
    color: #8A8FAA;
    white-space: nowrap;
}
