:root {
    --sffc-cream: #f5efe3;
    --sffc-ink: #0b1f27;
    --sffc-ink-subtle: rgba(11, 31, 39, 0.65);
    --sffc-accent: #0d353e;
    --sffc-mint: #97ffd5;
    --sffc-card: #fffdf7;
    --sffc-card-elevated: #ffffff;
    --sffc-panel: #faf7ef;
    --sffc-muted: rgba(11, 31, 39, 0.6);
    --sffc-font-serif: 'RecifeDisplay-Book', 'NotoSerif-TC', 'NotoSerif-SC', serif;
    --sffc-font-body: 'Amplitude', 'Inter', sans-serif;
    --shadow-soft: 0 12px 34px rgba(5, 12, 20, 0.08);
    --shadow-medium: 0 20px 60px rgba(5, 12, 20, 0.14);
    --shadow-deep: 0 40px 120px rgba(5, 12, 20, 0.18);
}

.sffc-dashboard-container {
    max-width: 1440px;
    margin: 0 auto 40px;
}

.sffc-feed-shell {
    background: var(--sffc-panel);
    border-radius: 36px;
    padding: 48px;
    border: 1px solid rgba(13, 53, 62, 0.08);
    box-shadow: var(--shadow-deep);
    font-family: var(--sffc-font-body);
    max-width: 100%;
    margin: 0;
    color: var(--sffc-ink);
}

.sffc-global-header-bar {
    background: linear-gradient(135deg, #0d353e, #142b3a);
    width: 100%;
    margin: 0;
    box-shadow: 0 22px 60px rgba(6, 11, 18, 0.35);
}

.sffc-global-header {
    color: #fffefb;
    padding: 12px 32px;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.sffc-global-header__brand {
    font-family: var(--sffc-font-serif);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 12px;
    flex: 0 0 auto;
}

.sffc-global-logo {
    font-weight: 600;
}

.sffc-global-header__search {
    flex: 1;
}

.sffc-dashboard-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.sffc-dashboard-search input {
    flex: 1;
    border: none;
    background: transparent;
    color: #fffefb;
    font-size: 16px;
    font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', sans-serif;
}

.sffc-dashboard-search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.sffc-dashboard-search input:focus {
    outline: none;
}

.sffc-search-icon {
    width: 18px;
    height: 18px;
    opacity: 0.8;
    display: block;
    pointer-events: none;
}

.sffc-search-icon path {
    stroke: currentColor;
}

.sffc-search-clear {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: none;
}

.sffc-search-clear.is-visible {
    display: inline-flex;
}

.sffc-search-suggestions {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: #fffefb;
    color: #0b1f27;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(9, 21, 33, 0.25);
    display: none;
    flex-direction: column;
    z-index: 20;
}

.sffc-search-suggestions.is-visible {
    display: flex;
}

.sffc-search-suggestion {
    border: none;
    background: transparent;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-size: 15px;
}

.sffc-search-suggestion + .sffc-search-suggestion {
    border-top: 1px solid rgba(13, 53, 62, 0.08);
}

.sffc-search-suggestion__title {
    color: #0b1f27;
    font-weight: 600;
}

.sffc-search-suggestion__meta {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(13, 53, 62, 0.55);
}

.sffc-global-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sffc-join-btn {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 22px;
    color: #fffefb;
    text-decoration: none;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 12px;
}

.sffc-user-menu {
    position: relative;
}

.sffc-user-toggle {
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fffefb;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 4px 14px;
    transition: background-color 0.2s ease;
    cursor: pointer;
    font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', sans-serif;
}

.sffc-user-toggle:hover,
.sffc-user-menu.is-open .sffc-user-toggle {
    background: rgba(255, 255, 255, 0.15);
}

.sffc-global-header .sffc-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
}

.sffc-user-label {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

.sffc-user-label span {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.8;
}

.sffc-user-caret {
    font-size: 12px;
    opacity: 0.8;
}

.sffc-user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: #fffefb;
    color: #0b1f27;
    border-radius: 16px;
    box-shadow: 0 25px 45px rgba(6, 16, 27, 0.25);
    min-width: 220px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 25;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.sffc-user-menu.is-open .sffc-user-dropdown {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.sffc-user-dropdown a {
    padding: 12px 18px;
    text-decoration: none;
    color: inherit;
    font-size: 14px;
}

.sffc-user-dropdown a + a {
    border-top: 1px solid rgba(13, 53, 62, 0.08);
}

.sffc-user-dropdown__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(13, 53, 62, 0.08);
    background: rgba(13, 53, 62, 0.03);
}

.sffc-user-avatar--menu {
    background: rgba(13, 53, 62, 0.1);
    color: var(--sffc-ink);
}

.sffc-user-dropdown__meta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.sffc-user-dropdown__meta strong {
    font-size: 14px;
    color: var(--sffc-ink);
}

.sffc-user-dropdown__meta span {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(13, 53, 62, 0.6);
}

.sffc-user-dropdown__links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
}

.sffc-user-dropdown__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
    background: transparent;
    transition: background 0.2s ease;
    text-decoration: none;
    font-weight: 600;
    color: var(--sffc-ink);
}

.sffc-user-dropdown__link:hover,
.sffc-user-dropdown__link:focus-visible {
    background: rgba(13, 53, 62, 0.07);
}

.sffc-user-dropdown__chevron {
    font-size: 18px;
    color: rgba(13, 53, 62, 0.4);
}

.sffc-user-dropdown__empty {
    margin: 0;
    font-size: 13px;
    color: rgba(13, 53, 62, 0.6);
    padding: 12px 16px;
}

.sffc-feed-card.is-highlighted {
    box-shadow: 0 0 0 3px rgba(13, 53, 62, 0.35);
}


.sffc-ticker-bar {
    overflow: hidden;
    border-radius: 18px;
    padding: 12px 8px;
    background: #f4f8f7;
    border: 1px solid rgba(13, 53, 62, 0.08);
    margin-bottom: 28px;
}

.sffc-ticker-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: sffcTicker 80s linear infinite;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.sffc-ticker-entry {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    font-size: 16px;
    line-height: 1.4;
    color: var(--sffc-ink);
    padding: 0 18px;
}

.sffc-ticker-entry + .sffc-ticker-entry {
    border-left: 1px solid rgba(13, 53, 62, 0.12);
}

.sffc-ticker-entry a {
    color: inherit;
    text-decoration: none;
    font-family: var(--sffc-font-serif);
}

.sffc-ticker-badge {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 4px 10px;
    border: 1px solid transparent;
}

.sffc-ticker-badge.is-deal {
    background: rgba(13, 53, 62, 0.85);
    border-color: rgba(13, 53, 62, 0.85);
    color: #fffdf7;
}

.sffc-ticker-badge.is-news {
    background: rgba(0, 92, 120, 0.12);
    border-color: rgba(0, 92, 120, 0.4);
    color: #005c78;
}

.sffc-ticker-badge.is-research {
    background: rgba(255, 196, 93, 0.18);
    border-color: rgba(196, 140, 30, 0.4);
    color: #a05a00;
}

.sffc-ticker-badge.is-job {
    background: rgba(92, 45, 145, 0.12);
    border-color: rgba(92, 45, 145, 0.35);
    color: #5c2d91;
}

@keyframes sffcTicker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.text-display1 {
    font-family: 'Rastanty Cortez', 'Playfair Display', var(--sffc-font-serif);
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: 0.08em;
    font-weight: 400;
    color: #0d353e;
}

.text-h3 {
    font-family: var(--sffc-font-serif);
    font-size: 30px;
    line-height: 1.3;
}

.text-body1 {
    font-family: 'RecifeText', var(--sffc-font-body);
    font-size: 18px;
    line-height: 1.5;
}

.text-body2,
.text-eyebrow2 {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a267b;
}

.sffc-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.sffc-top-bar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sffc-upgrade-btn--desktop {
    display: none;
}

.sffc-upgrade-btn--mobile {
    display: inline-flex;
}

.sffc-user-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sffc-user-avatar {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: #fffdf7;
    border: 1px solid rgba(13, 53, 62, 0.12);
    box-shadow: inset 0 0 20px rgba(13, 53, 62, 0.06);
    color: var(--sffc-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sffc-avatar-letter {
    font-family: var(--sffc-font-serif);
}

.sffc-avatar-dot {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--sffc-mint);
    box-shadow: 0 0 8px rgba(151, 255, 213, 0.8);
}

.sffc-user-subtitle {
    margin-top: 6px;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(11, 31, 39, 0.6);
}

.sffc-tab-controls {
    display: flex;
    gap: 12px;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.sffc-filter-toggle {
    border: 1px solid rgba(13, 53, 62, 0.2);
    border-radius: 999px;
    padding: 8px 18px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    background: transparent;
    color: #000000;
    display: none;
}

.sffc-tab-btn {
    border: 1px solid rgba(13, 53, 62, 0.2);
    border-radius: 999px;
    padding: 10px 24px;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: #fff;
    color: var(--sffc-ink);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-soft);
}

.sffc-tab-btn.is-active {
    background: var(--sffc-accent);
    color: #fff;
    border-color: var(--sffc-accent);
}

.sffc-tab-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    background: currentColor;
    mask-size: cover;
    -webkit-mask-size: cover;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
}

.sffc-tab-icon--insights {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M5 12h14M5 7h9M5 17h6"/></svg>');
}

.sffc-tab-icon--article {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M4 4h16v2H4zm0 5h16v2H4zm0 5h10v2H4z"/></svg>');
}

.sffc-tab-icon--jobs {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M7 7V5a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2h3a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2zm2-2h6v2H9zm13 6H4v7h18z"/></svg>');
}

.sffc-tab-icon--saved {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="m12 17.27-6.18 3.73 1.64-7.03L2 9.24l7.19-.61L12 2l2.81 6.63 7.19.61-5.46 4.73 1.64 7.03z"/></svg>');
}

.sffc-tab-icon--research {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M9 3h10v2H9zM5 3h2v2H5zm0 4h14v2H5zm0 4h14v2H5zm0 4h14v2H5zm0 4h14v2H5z"/></svg>');
}

.sffc-tab-icon--messages {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M4 4h16v12H5.17L4 17.17V4zm0-2a2 2 0 0 0-2 2v19l4-4h14a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2z"/></svg>');
}

.sffc-tab-label {
    font-size: inherit;
    letter-spacing: inherit;
}

.sffc-upgrade-btn {
    border-radius: 999px;
    border: none;
    padding: 12px 28px;
    background: var(--sffc-accent);
    color: #fff;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.sffc-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 320px;
    gap: 28px;
}

.sffc-column {
    display: flex;
    flex-direction: column;
}

.sffc-filter-overlay {
    display: none;
}

.sffc-filter-overlay.is-visible {
    display: block;
}

.sffc-filter-stack {
    display: none;
    gap: 18px;
}

.sffc-filter-stack.is-active {
    display: flex;
    flex-direction: column;
}

.sffc-filter-section,
.sffc-panel,
.sffc-feed-card,
.sffc-analytics-card {
    background: var(--sffc-card);
    border-radius: 28px;
    padding: 20px;
    border: 1px solid rgba(13, 53, 62, 0.12);
    margin-bottom: 20px;
}

.sffc-section-label {
    border-bottom: 1px solid rgba(13, 53, 62, 0.08);
    padding-bottom: 10px;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sffc-filter-section + .sffc-filter-section,
.sffc-panel + .sffc-panel {
    border-top: 1px solid rgba(13, 53, 62, 0.08);
    padding-top: 24px;
}

.sffc-filter-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.sffc-filter-btn {
    border-radius: 16px;
    border: 1px solid rgba(13, 53, 62, 0.15);
    background: #fff;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    overflow: hidden;
}

.sffc-filter-btn span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sffc-filter-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    color: #0d353e;
    fill: currentColor;
}

.sffc-filter-btn:not(.is-active) .sffc-filter-icon svg {
    color: #0d353e;
}

.sffc-filter-btn.is-active {
    background: var(--sffc-accent);
    color: #fff;
    border-color: var(--sffc-accent);
}

.sffc-filter-icon {
    font-size: 18px;
}

.sffc-feed-tabs {
    background: rgba(255, 255, 255, 0.55);
    border-radius: 30px;
    padding: 24px;
    border: 1px solid rgba(13, 53, 62, 0.08);
}

.sffc-load-more {
    display: none;
    margin: 16px auto 0;
    padding: 10px 28px;
    border: 1px solid rgba(13, 53, 62, 0.25);
    border-radius: 999px;
    background: transparent;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 11px;
    cursor: pointer;
    color: var(--sffc-ink);
}

.sffc-load-more.is-visible {
    display: inline-flex;
}

.sffc-feed-tab {
    display: none;
}

.sffc-feed-tab.is-active {
    display: block;
}

.sffc-feed-card {
    background: var(--sffc-card);
    border-radius: 30px;
    padding: 22px 26px;
    border: 1px solid rgba(13, 53, 62, 0.08);
    box-shadow: var(--shadow-soft);
    margin-bottom: 20px;
}

.sffc-feed-shell.is-article-mode .sffc-layout {
    grid-template-columns: minmax(220px, 20%) minmax(0, 1fr);
}

.sffc-feed-shell.is-article-mode .sffc-column--right {
    display: none;
}

.sffc-column--left .sffc-panel,
.sffc-column--left .sffc-article-toc-panel,
.sffc-column--left .sffc-article-highlights {
    background: #fff;
    border-radius: 28px;
    padding: 24px;
    border: 1px solid rgba(13, 53, 62, 0.08);
    box-shadow: var(--shadow-soft);
}

.sffc-article-panel {
    background: var(--sffc-card-elevated);
    border: 1px solid rgba(13, 53, 62, 0.12);
    border-radius: 36px;
    padding: 36px;
    box-shadow: var(--shadow-deep);
    margin-bottom: 32px;
}

.sffc-article-panel__eyebrow {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(13, 53, 62, 0.6);
    margin-bottom: 8px;
}

.sffc-article-panel__title {
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #0d353e;
}

.sffc-article-panel__excerpt {
    font-size: 18px;
    color: rgba(13, 53, 62, 0.85);
    margin-bottom: 20px;
}

.sffc-article-panel__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--sffc-ink-subtle);
    margin-bottom: 20px;
}

.sffc-article-panel__author {
    font-weight: 600;
}

.sffc-article-panel__role {
    margin-left: 8px;
    color: rgba(13, 53, 62, 0.6);
}

.sffc-article-panel__signal {
    margin-left: auto;
    text-align: right;
    border: 1px solid rgba(13, 53, 62, 0.2);
    border-radius: 12px;
    padding: 6px 12px;
    font-weight: 600;
}

.sffc-article-panel__figure {
    border-radius: 26px;
    overflow: hidden;
    margin: 10px 0 0;
}

.sffc-article-panel__figure img {
    width: 100%;
    display: block;
}

.sffc-article-panel__highlights {
    margin: 28px 0;
    padding: 24px;
    border: 1px solid rgba(13, 53, 62, 0.08);
    border-radius: 20px;
    background: rgba(13, 53, 62, 0.02);
}

.sffc-article-panel__highlights h4 {
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.sffc-article-panel__highlights ul {
    list-style: disc;
    padding-left: 20px;
    color: rgba(13, 53, 62, 0.85);
}

.sffc-article-panel__body {
    font-size: 16px;
    line-height: 1.8;
    color: #0b1f27;
    column-gap: 40px;
}

.sffc-article-panel__body p {
    margin-bottom: 16px;
}

.sffc-article-panel__footer {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sffc-article-panel__cta {
    border-radius: 999px;
    border: 1px solid #0d353e;
    padding: 10px 22px;
    text-decoration: none;
    color: #0d353e;
    font-weight: 600;
}

.sffc-article-panel__prompts {
    margin-top: 24px;
    border-top: 1px solid rgba(13, 53, 62, 0.08);
    padding-top: 16px;
}

.sffc-article-highlights ul {
    list-style: disc;
    padding-left: 20px;
    color: rgba(13, 53, 62, 0.8);
}

.sffc-article-toc {
    list-style: decimal;
    padding-left: 20px;
    color: rgba(13, 53, 62, 0.8);
}

.sffc-article-toc__label {
    display: block;
    margin: 6px 0;
}

.sffc-chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

/* Premium Chart Cards - Matching Dashboard Theme */
.sffc-chart-card {
    border: 1px solid rgba(13, 53, 62, 0.08);
    border-radius: 20px;
    padding: 22px;
    background: var(--sffc-card, #fffdf7);
    box-shadow: 0 4px 16px rgba(11, 31, 39, 0.04);
    transition: all 0.25s ease;
}

.sffc-chart-card:hover {
    box-shadow: 0 8px 28px rgba(11, 31, 39, 0.08);
}

.sffc-chart-card h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--sffc-ink, #0b1f27);
    margin-bottom: 18px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* Insight Commentary - Premium Quote Style */
.sffc-insight-commentary {
    margin-bottom: 24px;
    padding: 22px 26px;
    border-radius: 16px;
    background: rgba(13, 53, 62, 0.03);
    border-left: 3px solid var(--sffc-accent, #0d353e);
    font-size: 15px;
    line-height: 1.7;
    color: var(--sffc-ink, #0b1f27);
    font-family: var(--sffc-font-serif, Georgia, serif);
    font-style: italic;
}

/* Premium Bar Charts - Monochromatic Teal Palette */
.sffc-chart-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sffc-chart-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(13, 53, 62, 0.04);
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}

.sffc-chart-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--bar-width, 50%);
    background: var(--sffc-accent, #0d353e);
    opacity: 0.12;
    border-radius: 10px 0 0 10px;
    transition: all 0.3s ease;
}

.sffc-chart-bar:hover::before {
    opacity: 0.18;
}

.sffc-chart-bar span {
    font-size: 13px;
    font-weight: 500;
    color: var(--sffc-ink, #0b1f27);
    z-index: 1;
}

.sffc-chart-bar strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--sffc-accent, #0d353e);
    z-index: 1;
    font-family: var(--sffc-font-body, 'Inter', sans-serif);
}

/* Highlighted bar - uses mint accent */
.sffc-chart-bar[data-highlighted="true"] {
    background: rgba(151, 255, 213, 0.15);
    border-left: 3px solid var(--sffc-mint, #97ffd5);
}

.sffc-chart-bar[data-highlighted="true"]::before {
    background: var(--sffc-accent, #0d353e);
    opacity: 0.2;
}

.sffc-chart-bar[data-highlighted="true"] strong {
    color: #0d353e;
}

/* Premium Line Charts */
.sffc-chart-line {
    display: flex;
    gap: 6px;
    align-items: flex-end;
    height: 90px;
    padding: 10px 0;
    position: relative;
}

.sffc-chart-line::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(13, 53, 62, 0.08);
}

.sffc-chart-line span {
    flex: 1;
    display: block;
    background: var(--sffc-accent, #0d353e);
    border-radius: 6px 6px 0 0;
    height: calc(var(--point-value, 50) * 1%);
    min-height: 6px;
    position: relative;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.sffc-chart-line span:hover {
    opacity: 1;
}

.sffc-chart-line span::after {
    content: attr(data-label);
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    color: var(--sffc-muted, rgba(11, 31, 39, 0.5));
    white-space: nowrap;
}

/* Premium Stacked Charts - Graduated Teal */
.sffc-chart-card--stacked .sffc-chart-stacked__row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.sffc-chart-card--stacked .sffc-chart-stacked__row span:first-child {
    min-width: 80px;
    font-size: 12px;
    font-weight: 500;
    color: var(--sffc-ink-subtle, rgba(11, 31, 39, 0.65));
}

.sffc-chart-stacked__bar {
    flex: 1;
    display: flex;
    height: 20px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(13, 53, 62, 0.05);
}

.sffc-chart-stacked__bar span {
    display: block;
    transition: all 0.2s ease;
}

/* Graduated teal palette for stacked bars */
.sffc-chart-stacked__bar span:nth-child(1) { background: #0d353e; }
.sffc-chart-stacked__bar span:nth-child(2) { background: #1a5a68; }
.sffc-chart-stacked__bar span:nth-child(3) { background: #2d7a8a; }
.sffc-chart-stacked__bar span:nth-child(4) { background: #4a9b8c; }

/* Premium Pie/Legend Charts */
.sffc-chart-pie {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}

.sffc-chart-pie span {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(13, 53, 62, 0.03);
    transition: all 0.2s ease;
    color: var(--sffc-ink, #0b1f27);
}

.sffc-chart-pie span:hover {
    background: rgba(13, 53, 62, 0.06);
}

.sffc-chart-pie span::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

/* Graduated teal palette for pie legend */
.sffc-chart-pie span:nth-child(1)::before { background: #0d353e; }
.sffc-chart-pie span:nth-child(2)::before { background: #1a5a68; }
.sffc-chart-pie span:nth-child(3)::before { background: #2d7a8a; }
.sffc-chart-pie span:nth-child(4)::before { background: #4a9b8c; }
.sffc-chart-pie span:nth-child(5)::before { background: #6bb5a5; }

/* Premium Heatmap */
.sffc-chart-card--heatmap .sffc-chart-heatmap__row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.sffc-chart-card--heatmap .sffc-chart-heatmap__row > span:first-child {
    min-width: 90px;
    font-size: 12px;
    font-weight: 500;
    color: var(--sffc-ink-subtle, rgba(11, 31, 39, 0.65));
}

.sffc-chart-heatmap__cells {
    flex: 1;
    display: flex;
    gap: 4px;
}

.sffc-chart-heatmap__cells span {
    flex: 1;
    height: 28px;
    border-radius: 6px;
    background: rgba(13, 53, 62, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}

.sffc-chart-heatmap__cells span:hover {
    transform: scale(1.02);
}

.sffc-chart-heatmap__cells span::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: var(--sffc-accent, #0d353e);
    opacity: calc(var(--heat-value, 40) / 100);
}

/* Premium Research Cards - Matching Dashboard Theme */
.sffc-research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.sffc-research-card {
    border: 1px solid rgba(13, 53, 62, 0.08);
    border-radius: 18px;
    padding: 22px;
    background: var(--sffc-card, #fffdf7);
    box-shadow: 0 4px 14px rgba(11, 31, 39, 0.04);
    transition: all 0.25s ease;
}

.sffc-research-card:hover {
    box-shadow: 0 8px 24px rgba(11, 31, 39, 0.08);
}

.sffc-research-card h5 {
    font-size: 12px;
    font-weight: 600;
    color: var(--sffc-ink, #0b1f27);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.6;
}

.sffc-research-card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--sffc-ink, #0b1f27);
    margin-bottom: 16px;
}

.sffc-research-card ul {
    margin-top: 14px;
    padding-left: 0;
    list-style: none;
}

.sffc-research-card li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--sffc-ink-subtle, rgba(11, 31, 39, 0.75));
}

.sffc-research-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 2px;
    background: var(--sffc-accent, #0d353e);
    opacity: 0.4;
}

.sffc-research-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 8px 14px;
    border-radius: 16px;
    background: rgba(13, 53, 62, 0.06);
    font-size: 11px;
    font-weight: 600;
    color: var(--sffc-accent, #0d353e);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.sffc-research-card__cta:hover {
    background: rgba(13, 53, 62, 0.12);
}

/* ============================================
   PREMIUM RESEARCH LAYOUT - Bloomberg Style
   ============================================ */

.sffc-research-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Research Header */
.sffc-research-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(13, 53, 62, 0.08);
    margin-bottom: 24px;
}

.sffc-research-header__badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--sffc-accent, #0d353e);
    color: #fff;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sffc-research-header__badge svg {
    opacity: 0.8;
}

.sffc-research-header__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--sffc-muted, rgba(11, 31, 39, 0.6));
}

.sffc-research-header__divider {
    opacity: 0.3;
}

/* Research Sections */
.sffc-research-section {
    padding: 24px 0;
    border-bottom: 1px solid rgba(13, 53, 62, 0.06);
}

.sffc-research-section:last-of-type {
    border-bottom: none;
}

.sffc-research-section__header {
    margin-bottom: 18px;
}

.sffc-research-section__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sffc-ink, #0b1f27);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0;
}

.sffc-research-section__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(13, 53, 62, 0.06);
    border-radius: 8px;
    color: var(--sffc-accent, #0d353e);
}

.sffc-research-section__content {
    padding-left: 42px;
}

/* Summary Text */
.sffc-research-summary-text,
.sffc-research-outlook-text {
    font-size: 15px;
    line-height: 1.75;
    color: var(--sffc-ink, #0b1f27);
    margin: 0 0 20px 0;
    font-family: var(--sffc-font-serif, Georgia, serif);
}

/* Key Takeaways */
.sffc-research-takeaways {
    margin-top: 20px;
    padding: 20px;
    background: rgba(13, 53, 62, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(13, 53, 62, 0.06);
}

.sffc-research-takeaways__title {
    font-size: 11px;
    font-weight: 600;
    color: var(--sffc-muted, rgba(11, 31, 39, 0.6));
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 16px 0;
}

.sffc-research-takeaways__grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sffc-research-takeaway {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.sffc-research-takeaway__number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    background: var(--sffc-accent, #0d353e);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
}

.sffc-research-takeaway__text {
    font-size: 14px;
    line-height: 1.55;
    color: var(--sffc-ink, #0b1f27);
    flex: 1;
}

/* Monitor Items (What to Watch) */
.sffc-research-monitors {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.sffc-research-monitor {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--sffc-card, #fffdf7);
    border: 1px solid rgba(13, 53, 62, 0.06);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.sffc-research-monitor:hover {
    border-color: rgba(13, 53, 62, 0.12);
    box-shadow: 0 2px 8px rgba(11, 31, 39, 0.04);
}

.sffc-research-monitor__indicator {
    width: 8px;
    height: 8px;
    background: var(--sffc-mint, #97ffd5);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(151, 255, 213, 0.2);
}

.sffc-research-monitor__text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--sffc-ink, #0b1f27);
}

/* Compact Cards Row */
.sffc-research-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.sffc-research-card-compact {
    padding: 18px;
    background: var(--sffc-card, #fffdf7);
    border: 1px solid rgba(13, 53, 62, 0.06);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.sffc-research-card-compact:hover {
    border-color: rgba(13, 53, 62, 0.12);
    box-shadow: 0 4px 12px rgba(11, 31, 39, 0.05);
}

.sffc-research-card-compact h4 {
    font-size: 12px;
    font-weight: 600;
    color: var(--sffc-ink, #0b1f27);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 10px 0;
    opacity: 0.7;
}

.sffc-research-card-compact p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--sffc-ink, #0b1f27);
    margin: 0;
}

.sffc-research-card-compact__cta {
    display: inline-block;
    margin-top: 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--sffc-accent, #0d353e);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.6;
}

/* Research Footer */
.sffc-research-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 0;
    margin-top: 24px;
    border-top: 1px solid rgba(13, 53, 62, 0.06);
}

.sffc-research-footer__disclaimer {
    font-size: 11px;
    color: var(--sffc-muted, rgba(11, 31, 39, 0.5));
    font-style: italic;
}

.sffc-research-footer__actions {
    display: flex;
    gap: 8px;
}

.sffc-research-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(13, 53, 62, 0.04);
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--sffc-accent, #0d353e);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sffc-research-action:hover {
    background: rgba(13, 53, 62, 0.08);
}

.sffc-research-action svg {
    opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sffc-research-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .sffc-research-section__content {
        padding-left: 0;
        margin-top: 16px;
    }

    .sffc-research-section__title {
        font-size: 13px;
    }

    .sffc-research-takeaways {
        padding: 16px;
    }

    .sffc-research-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .sffc-research-footer__actions {
        width: 100%;
    }

    .sffc-research-action {
        flex: 1;
        justify-content: center;
    }
}

.sffc-article-panel__prompt-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sffc-article-panel__prompt {
    border-radius: 14px;
    border: 1px solid rgba(13, 53, 62, 0.2);
    padding: 8px 14px;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
}

.sffc-feed-card.is-hidden {
    display: none;
}

.sffc-feed-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.sffc-feed-card__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sffc-meta-label {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sffc-muted);
}

.sffc-feed-pill {
    border-radius: 999px;
    padding: 6px 16px;
    letter-spacing: 0.18em;
}

.sffc-feed-pill.is-deal {
    background: var(--sffc-accent);
    color: #fff;
}

.sffc-feed-pill.is-news {
    background: var(--sffc-mint);
    color: var(--sffc-accent);
}

.sffc-feed-pill.is-job {
    background: #ffe7c8;
    color: var(--sffc-ink);
}

.sffc-feed-pill.is-research {
    background: rgba(13, 53, 62, 0.12);
    color: var(--sffc-accent);
}

.sffc-feed-pill.is-message {
    background: rgba(0, 92, 120, 0.1);
    color: #0d353e;
}

.sffc-feed-card h3 a {
    color: inherit;
    text-decoration: none;
}

.sffc-feed-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.sffc-job-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 18px;
    margin-top: 16px;
    align-items: stretch;
}

.sffc-job-main {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sffc-job-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sffc-job-badge {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: 999px;
    border: 1px solid rgba(13, 53, 62, 0.2);
    padding: 6px 12px;
    background: rgba(13, 53, 62, 0.05);
}

.sffc-job-company {
    margin: 0;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(13, 53, 62, 0.7);
}

.sffc-job-snapshot {
    border: 1px solid rgba(13, 53, 62, 0.12);
    border-radius: 16px;
    padding: 14px;
    background: rgba(13, 53, 62, 0.02);
}

.sffc-job-snapshot ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sffc-job-snapshot-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(13, 53, 62, 0.65);
}

.sffc-job-snapshot-value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--sffc-ink);
}

.sffc-job-footer {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(13, 53, 62, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sffc-job-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sffc-tailor-btn {
    border-radius: 14px;
    border: none;
    background: #0d353e;
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 10px 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.sffc-tailor-btn:hover,
.sffc-tailor-btn:focus-visible {
    background: #0e6e6c;
    color: #fff;
}

.sffc-tailor-btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.sffc-job-cta {
    border-radius: 999px;
    border: 1px solid var(--sffc-accent);
    padding: 8px 18px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 11px;
    color: var(--sffc-accent);
    text-decoration: none;
}

.sffc-messages-panel {
    background: var(--sffc-card);
    border-radius: 30px;
    padding: 24px;
    border: 1px solid rgba(13, 53, 62, 0.08);
    min-height: 300px;
}

.sffc-save-btn {
    border-radius: 999px;
    border: 1px solid rgba(13, 53, 62, 0.3);
    padding: 8px 16px;
    letter-spacing: 0.2em;
    font-size: 12px;
    text-transform: uppercase;
    background: transparent;
}

.sffc-save-btn.is-saved {
    background: var(--sffc-accent);
    color: #fff;
    border-color: var(--sffc-accent);
}

.sffc-messages-cta {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}

.sffc-icon-button {
    border: 1px solid rgba(13, 53, 62, 0.3);
    border-radius: 999px;
    padding: 10px 22px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 11px;
    background: transparent;
    color: #0d353e;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sffc-icon-button:hover {
    background: #0d353e;
    color: #fffefb;
    border-color: #0d353e;
}

.sffc-messages-cta .sffc-icon-button {
    border: 1px solid rgba(13, 53, 62, 0.28);
    border-radius: 999px;
    padding: 10px 22px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sffc-ink);
    background: transparent;
}

/* Ask Senna Widget */
.sffc-ask-senna-widget {
    font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', sans-serif;
}

.sffc-ask-senna-widget.sffc-ask-senna-widget--floating {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
}

.sffc-ask-senna-widget .sffc-ask-senna-toggle {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.sffc-ask-senna-widget .sffc-ask-senna-toggle-inner {
    background: #0d353e;
    border-radius: 26px;
    padding: 16px 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 70px rgba(6, 21, 31, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
}

.sffc-ask-senna-widget .sffc-ask-senna-toggle.is-hidden,
.sffc-ask-senna-widget .sffc-ask-senna-toggle.is-hidden .sffc-ask-senna-toggle-inner {
    opacity: 0;
    pointer-events: none;
}

.sffc-ask-senna-widget .sffc-ask-senna-toggle:hover .sffc-ask-senna-toggle-inner,
.sffc-ask-senna-widget.is-hover .sffc-ask-senna-toggle-inner {
    transform: translateY(-3px);
    box-shadow: 0 30px 80px rgba(6, 21, 31, 0.35);
}

.sffc-ask-senna-widget .sffc-ask-senna-toggle-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', sans-serif;
    font-size: 20px;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.sffc-ask-senna-widget .sffc-ask-senna-toggle-eyebrow {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.72;
    font-weight: 600;
}

.sffc-ask-senna-widget .sffc-ask-senna-toggle-label {
    margin: 2px 0 0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: none;
}


.sffc-ask-senna-widget .sffc-ask-senna-panel {
    position: fixed;
    bottom: 16px;
    right: 22px;
    width: 460px;
    height: 640px;
    border-radius: 26px;
    border: 1px solid rgba(13, 34, 45, 0.12);
    background: linear-gradient(180deg, #fdfcf8 0%, #ffffff 65%);
    box-shadow: 0 55px 140px rgba(4, 10, 18, 0.32);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(6px);
}

.sffc-ask-senna-widget .sffc-ask-senna-panel.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sffc-ask-senna-widget .sffc-ask-senna-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 30px 20px;
    border-bottom: 1px solid rgba(13, 53, 62, 0.08);
    gap: 20px;
    background: linear-gradient(135deg, rgba(13, 53, 62, 0.05), rgba(13, 53, 62, 0.12));
}

.sffc-ask-senna-widget .sffc-ask-senna-header .text-eyebrow2 {
    font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #0f2533;
    flex: 1;
    text-align: left;
    margin: 0;
}

.sffc-ask-senna-widget .sffc-ask-senna-avatar {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(13, 53, 62, 0.12);
    box-shadow: 0 12px 30px rgba(6, 21, 31, 0.12);
}

.sffc-ask-senna-widget .sffc-ask-senna-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sffc-ask-senna-widget .sffc-ask-senna-subtitle {
    margin: 2px 0 0;
    font-size: 13px;
    letter-spacing: 0.06em;
    color: rgba(13, 53, 62, 0.65);
}

.sffc-ask-senna-widget .sffc-ask-senna-close {
    border: none;
    background: rgba(13, 53, 62, 0.08);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #0d353e;
    border-radius: 50%;
    padding: 6px;
}

.sffc-ask-senna-widget .sffc-ask-senna-messages {
    flex: 1;
    min-height: 460px;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #fffefb;
}

.sffc-ask-senna-widget .sffc-ask-senna-message {
    display: flex;
    gap: 12px;
}

.sffc-ask-senna-widget .sffc-ask-senna-message.is-user {
    justify-content: flex-end;
}

.sffc-ask-senna-widget .sffc-ask-senna-message.is-user .sffc-ask-senna-bubble {
    background: var(--sffc-accent);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.sffc-ask-senna-widget .sffc-ask-senna-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    background: rgba(13, 53, 62, 0.06);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    max-width: 240px;
}

.sffc-ask-senna-widget .sffc-ask-senna-message.is-senna .sffc-ask-senna-bubble {
    font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.sffc-ask-senna-widget .sffc-ask-senna-status .sffc-ask-senna-bubble {
    background: rgba(13, 53, 62, 0.05);
    font-size: 13px;
    font-weight: 500;
    max-width: 260px;
}

.sffc-ask-senna-widget .sffc-ask-senna-templates {
    padding: 10px 20px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sffc-ask-senna-widget .sffc-ask-senna-templates button {
    border-radius: 12px;
    border: 1px solid rgba(13, 53, 62, 0.2);
    background: rgba(13, 53, 62, 0.05);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 10px;
    cursor: pointer;
}

.sffc-ask-senna-widget .sffc-ask-senna-templates button:hover {
    border-color: var(--sffc-accent);
}

.sffc-ask-senna-widget .sffc-ask-senna-form {
    padding: 4px 10px 22px;
    border-top: 1px solid rgba(13, 53, 62, 0.08);
    display: flex;
    gap: 12px;
    align-items: center;
}

.sffc-ask-senna-widget .sffc-ask-senna-form textarea {
    flex: 1;
    border: 1px solid rgba(13, 53, 62, 0.18);
    border-radius: 14px;
    padding: 10px 18px;
    resize: none;
    font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', sans-serif;
    font-size: 16px;
}

.sffc-ask-senna-widget .sffc-ask-senna-send {
    border: none;
    background: #0d353e;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(13, 53, 62, 0.3);
}

.sffc-ask-senna-widget .sffc-ask-senna-send svg {
    width: 20px;
    height: 20px;
}

.sffc-ask-senna-widget .sffc-ask-senna-greeting {
    display: none;
}

.sffc-ask-senna-widget .sffc-ask-senna-greeting img {
    display: none;
}

.sffc-ask-senna-widget .sffc-ask-senna-greeting.is-visible {
    display: none;
}

.sffc-ask-senna-widget .sffc-ask-senna-news {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.sffc-ask-senna-widget .sffc-ask-senna-news-group {
    border: 1px solid rgba(13, 53, 62, 0.12);
    border-radius: 14px;
    padding: 12px;
    background: rgba(13, 53, 62, 0.02);
}

.sffc-ask-senna-widget .sffc-ask-senna-news-heading {
    margin: 0 0 8px;
    font-size: 11px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(13, 53, 62, 0.7);
}

.sffc-ask-senna-widget .sffc-ask-senna-news-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 6px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--sffc-ink);
    transition: background 0.2s ease;
}

.sffc-ask-senna-widget .sffc-ask-senna-news-item:hover {
    background: rgba(13, 53, 62, 0.06);
}

.sffc-ask-senna-widget .sffc-ask-senna-news-title {
    font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 14px;
}

.sffc-ask-senna-widget .sffc-ask-senna-news-meta {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(13, 53, 62, 0.7);
}

.sffc-ask-senna-widget .sffc-ask-senna-typing .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(13, 53, 62, 0.4);
    margin-right: 4px;
    animation: askSennaBlink 1s infinite ease-in-out;
}

.sffc-ask-senna-widget .sffc-ask-senna-typing .dot:nth-child(2) {
    animation-delay: 0.15s;
}

.sffc-ask-senna-widget .sffc-ask-senna-typing .dot:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes askSennaBlink {
    0%, 80%, 100% {
        opacity: 0.2;
    }
    40% {
        opacity: 1;
    }
}

.sffc-ask-senna-widget .sffc-ask-senna-jobs {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sffc-ask-senna-widget .sffc-ask-senna-job {
    border: 1px solid rgba(13, 53, 62, 0.12);
    border-radius: 14px;
    padding: 12px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--sffc-ink);
    position: relative;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.sffc-ask-senna-widget .sffc-ask-senna-job:hover {
    border-color: var(--sffc-accent);
    transform: translateY(-1px);
}

.sffc-ask-senna-widget .sffc-ask-senna-job-title {
    font-family: var(--sffc-font-serif);
    font-size: 15px;
}

.sffc-ask-senna-widget .sffc-ask-senna-job-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(13, 53, 62, 0.7);
    font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', sans-serif;
}

.sffc-ask-senna-widget .sffc-ask-senna-job-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}

@media (max-width: 1024px) {
    body.sffc-filters-open {
        overflow: hidden;
    }

    .sffc-feed-shell {
        padding-bottom: 120px;
    }

    .sffc-global-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .sffc-global-header__actions {
        width: 100%;
        justify-content: space-between;
    }

    .sffc-global-header__search,
    .sffc-dashboard-search {
        width: 100%;
    }

    .sffc-tab-controls {
        position: fixed;
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
        width: 92%;
        background: rgba(248, 247, 244, 0.95);
        border: 1px solid rgba(13, 53, 62, 0.08);
        border-radius: 28px;
        padding: 12px 16px;
        z-index: 9000;
        backdrop-filter: blur(20px);
        box-shadow: 0 16px 45px rgba(6, 17, 25, 0.18);
        display: flex;
        gap: 10px;
    }

    .sffc-tab-btn {
        flex: 1;
        padding: 10px 0;
        border-radius: 18px;
        justify-content: center;
        background: rgba(255, 255, 255, 0.75);
        border: 1px solid rgba(13, 53, 62, 0.08);
        box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.4);
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .sffc-tab-btn .sffc-tab-icon {
        width: 22px;
        height: 22px;
        opacity: 0.75;
    }

    .sffc-tab-btn .sffc-tab-label {
        display: none;
    }

    .sffc-tab-btn.is-active {
        background: #0d353e;
        color: #fff;
        border-color: transparent;
        box-shadow: 0 12px 25px rgba(6, 15, 24, 0.22);
    }

    .sffc-tab-btn.is-active .sffc-tab-icon {
        opacity: 1;
    }
    
    .sffc-tab-btn.is-active .sffc-tab-icon--bell path {
        fill: #ffffff !important;
    }
    
    .sffc-tab-btn.is-active svg {
        color: #ffffff !important;
    }

    .sffc-filter-toggle {
        display: inline-flex;
        align-items: center;
        margin-left: auto;
    }

    .sffc-ask-senna-widget {
        right: 20px;
        bottom: 20px;
    }

    .sffc-ask-senna-widget .sffc-ask-senna-panel {
        width: calc(100vw - 40px);
        max-width: 420px;
        height: 520px;
    }

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

    .sffc-column--left {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 82vw;
        max-width: 360px;
        background: #fffefb;
        padding: 24px 20px 90px;
        overflow-y: auto;
        transform: translateX(-110%);
        transition: transform 0.3s ease;
        z-index: 10001;
    }

    .sffc-feed-shell.filters-open .sffc-column--left,
    .sffc-column--left.is-open {
        transform: translateX(0);
    }

    .sffc-filter-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(3, 13, 20, 0.45);
        z-index: 10000;
        display: none;
    }

    .sffc-feed-shell.filters-open .sffc-filter-overlay {
        display: block;
    }
}

@media (max-width: 640px) {
    .sffc-ask-senna-widget .sffc-ask-senna-panel {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .sffc-ask-senna-widget {
        display: none;
    }

    .sffc-ask-senna-widget .sffc-ask-senna-form {
        padding: 12px 16px 28px;
    }

    .sffc-ask-senna-widget .sffc-ask-senna-send {
        width: 48px;
        height: 48px;
        border-radius: 50%;
    }

    .sffc-global-header-bar {
        padding: 0;
    }

    .sffc-global-header {
        padding: 10px 12px;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 8px;
    }

    .sffc-user-card {
        grid-column: 1 / span 2;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0;
    }

    .sffc-user-card > div {
        display: flex;
        flex-direction: column;
        line-height: 1.1;
    }

    .sffc-user-card .text-eyebrow2 {
        font-size: 11px;
        margin: 0;
        text-transform: uppercase;
    }

    .sffc-user-card .text-display1 {
        margin: 0;
        font-size: 18px;
        letter-spacing: 0.08em;
    }

    .sffc-user-card .sffc-user-avatar {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .sffc-global-header__search,
    .sffc-dashboard-search {
        width: 100%;
    }

    .sffc-dashboard-search {
        padding: 4px 10px;
        border-radius: 999px;
        min-height: 38px;
    }

    .sffc-dashboard-search input {
        font-size: 12px;
        padding: 2px 4px;
    }

    .sffc-search-icon {
        width: 16px;
        height: 16px;
    }

    .sffc-search-clear {
        font-size: 18px;
        margin-left: 2px;
    }

    .sffc-global-header__actions {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        width: auto;
    }

    .sffc-top-bar-actions {
        display: flex;
        gap: 8px;
        justify-content: flex-end;
    }

    .sffc-filter-toggle,
    .sffc-upgrade-btn {
        flex: 1 1 auto;
        min-width: 0;
        padding: 10px;
        font-size: 12px;
    }
}

.sffc-trending-views {
    position: relative;
}

.sffc-trending-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    flex-direction: column;
    gap: 14px;
}

.sffc-trending-list.is-active {
    display: flex;
}

.sffc-trending-meta a {
    font-family: var(--sffc-font-serif);
    font-size: 18px;
    text-decoration: none;
    color: inherit;
}

.sffc-trending-stats {
    font-size: 13px;
    color: var(--sffc-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sffc-trending-empty {
    font-size: 14px;
    color: rgba(13, 53, 62, 0.6);
}

.sffc-plan-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 4000;
}

.sffc-plan-modal.is-open {
    display: flex;
}

.sffc-plan-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 20, 31, 0.7);
}

.sffc-plan-modal__dialog {
    position: relative;
    background: #fffefb;
    border-radius: 24px;
    max-width: 960px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 45px 120px rgba(5, 13, 18, 0.35);
    display: flex;
    flex-direction: column;
}

.sffc-plan-modal__header {
    padding: 28px 32px 12px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.sffc-plan-modal__header h3 {
    margin: 0 0 6px;
    font-size: 24px;
}

.sffc-plan-modal__header p {
    margin: 0;
    color: rgba(13, 53, 62, 0.65);
}

.sffc-plan-close {
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: rgba(13, 53, 62, 0.6);
}

.sffc-plan-modal__body {
    padding: 0 32px 32px;
    overflow-y: auto;
}

.sffc-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.sffc-plan-card {
    border: 1px solid rgba(13, 53, 62, 0.12);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    color: var(--sffc-ink);
}

.sffc-plan-card__head h4 {
    margin: 0;
    font-size: 18px;
}

.sffc-plan-card__price {
    margin: 6px 0 0;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.sffc-plan-card__price-value {
    font-weight: 700;
}

.sffc-plan-card__cycle {
    font-size: 13px;
    color: rgba(13, 53, 62, 0.7);
    text-transform: lowercase;
}

.sffc-plan-card__tagline {
    margin: 4px 0 0;
    color: rgba(13, 53, 62, 0.7);
    font-size: 14px;
}

.sffc-plan-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}

.sffc-plan-card__list li::before {
    content: '✓';
    color: var(--sffc-accent);
    margin-right: 6px;
}

.sffc-plan-card__audience {
    font-size: 13px;
    color: rgba(13, 53, 62, 0.7);
}

.sffc-plan-select {
    margin-top: auto;
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    background: #0d353e;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.2em;
}

.sffc-plan-card.is-active {
    border-color: #0d353e;
    box-shadow: 0 15px 35px rgba(13, 53, 62, 0.15);
}

.sffc-plan-checkout {
    border: 1px solid rgba(13, 53, 62, 0.12);
    border-radius: 18px;
    padding: 18px;
    background: rgba(13, 53, 62, 0.02);
}

.sffc-plan-checkout[hidden] {
    display: none;
}

.sffc-plan-checkout iframe {
    width: 100%;
    min-height: 420px;
    border: none;
    border-radius: 12px;
    background: #fff;
}

.sffc-plan-form {
    background: #fff;
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 16px;
}

.sffc-plan-form[hidden] {
    display: none;
}

.sffc-plan-external {
    margin-top: 12px;
    text-align: right;
}

.sffc-plan-external a {
    color: var(--sffc-accent);
    text-decoration: none;
    font-weight: 600;
}

body.sffc-modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .sffc-plan-modal__dialog {
        width: 94%;
        border-radius: 18px;
    }
    .sffc-plan-modal__body {
        padding: 0 20px 24px;
    }
    .sffc-plan-card {
        padding: 16px;
    }
}

.sffc-trending-pill {
    border-radius: 999px;
    padding: 4px 12px;
    background: rgba(13, 53, 62, 0.08);
    font-size: 12px;
    letter-spacing: 0.12em;
}

.sffc-analytics-card {
    text-align: left;
}

.sffc-analytics-summary {
    font-size: 16px;
    margin-bottom: 12px;
}

.sffc-analytics-updated {
    font-size: 12px;
    color: var(--sffc-muted);
    margin-bottom: 12px;
}

.sffc-empty-state {
    padding: 20px;
    text-align: center;
    color: var(--sffc-muted);
}

@media (max-width: 1180px) {
    .sffc-feed-shell {
        padding: 32px;
    }

    .sffc-layout {
        grid-template-columns: 1fr;
    }

    .sffc-top-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .sffc-tab-controls {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .sffc-feed-shell {
        padding: 20px;
    }

    .sffc-filter-grid {
        grid-template-columns: 1fr;
    }

    .sffc-feed-card,
    .sffc-panel,
    .sffc-filter-section {
        padding: 18px;
    }
}
    .sffc-upgrade-btn--desktop {
        display: none;
    }

    .sffc-upgrade-btn--mobile {
        display: inline-flex;
    }
@media (min-width: 1025px) {
    .sffc-upgrade-btn--desktop {
        display: inline-flex;
    }

    .sffc-upgrade-btn--mobile {
        display: none;
    }
}

.sffc-donut-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(13, 53, 62, 0.08);
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 24px;
}

.sffc-donut-visual {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 16px;
    position: relative;
}

.sffc-donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fffefb;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 6px rgba(13, 53, 62, 0.1);
}

.sffc-donut-center strong {
    font-size: 22px;
    font-weight: 700;
    color: var(--sffc-ink);
}

.sffc-donut-center span {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(13, 53, 62, 0.65);
}

.sffc-donut-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sffc-donut-segment {
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    font-size: 13px;
    color: var(--sffc-ink);
}

.sffc-donut-segment.is-active {
    font-weight: 700;
}

.sffc-donut-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-flex;
}


/* --- Article Mode Enhancements --- */
.sffc-feed-shell.is-article-mode .sffc-layout {
    grid-template-columns: minmax(220px, 20%) minmax(0, 1fr);
}
.sffc-feed-shell.is-article-mode .sffc-column--right {
    display: none;
}
.sffc-article-panel {
    background: #fffefb;
    border: 1px solid rgba(13, 53, 62, 0.12);
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0 45px 90px rgba(6, 13, 18, 0.15);
    margin-bottom: 24px;
}
.sffc-article-panel__eyebrow {
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(13, 53, 62, 0.6);
}
.sffc-article-panel__title {
    font-size: 34px;
    line-height: 1.2;
    margin: 8px 0 12px;
}
.sffc-article-panel__excerpt {
    font-size: 18px;
    color: rgba(13, 53, 62, 0.85);
    margin-bottom: 18px;
}
.sffc-article-panel__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: rgba(13, 53, 62, 0.7);
    margin-bottom: 16px;
}
.sffc-article-panel__signal {
    margin-left: auto;
    text-align: right;
    border: 1px solid rgba(13, 53, 62, 0.18);
    border-radius: 12px;
    padding: 8px 14px;
}
.sffc-article-panel__figure {
    margin: 18px 0 0;
    border-radius: 24px;
    overflow: hidden;
}
.sffc-article-panel__body {
    font-size: 16px;
    line-height: 1.75;
    color: #0b1f27;
}
.sffc-article-panel__body p {
    margin-bottom: 16px;
}
.sffc-article-panel__prompts {
    margin-top: 24px;
    border-top: 1px solid rgba(13, 53, 62, 0.08);
    padding-top: 16px;
}
.sffc-article-panel__prompt-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.sffc-article-panel__prompt {
    border-radius: 14px;
    border: 1px solid rgba(13, 53, 62, 0.18);
    background: #fff;
    padding: 8px 16px;
    cursor: pointer;
}
.sffc-article-toc-panel ul,
.sffc-article-toc {
    list-style: decimal;
    padding-left: 20px;
    color: rgba(13, 53, 62, 0.8);
}
.sffc-article-toc__label {
    display: block;
    margin: 4px 0;
}
.sffc-article-highlights ul {
    list-style: disc;
    padding-left: 20px;
    color: rgba(13, 53, 62, 0.8);
}
.sffc-chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}
.sffc-chart-card {
    border: 1px solid rgba(13, 53, 62, 0.12);
    border-radius: 20px;
    padding: 18px;
    background: #fff;
}
.sffc-insight-commentary {
    margin-bottom: 20px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(13, 53, 62, 0.05);
    font-size: 15px;
    color: rgba(13, 53, 62, 0.85);
}
.sffc-chart-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sffc-chart-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(13, 53, 62, 0.05);
}
.sffc-chart-line {
    display: flex;
    gap: 6px;
    align-items: flex-end;
    height: 80px;
}
.sffc-chart-line span {
    flex: 1;
    display: block;
    background: linear-gradient(180deg, rgba(13, 53, 62, 0.9), rgba(13, 53, 62, 0.2));
    border-radius: 6px 6px 0 0;
    height: calc(var(--point-value, 50) * 1%);
    min-height: 6px;
}
.sffc-chart-card--stacked .sffc-chart-stacked__row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.sffc-chart-stacked__bar {
    flex: 1;
    display: flex;
    height: 18px;
    border-radius: 40px;
    overflow: hidden;
}
.sffc-chart-stacked__bar span {
    display: block;
    background: linear-gradient(135deg, rgba(13, 53, 62, 0.9), rgba(13, 53, 62, 0.4));
}
.sffc-chart-pie {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}
.sffc-chart-card--heatmap .sffc-chart-heatmap__row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.sffc-chart-heatmap__cells {
    flex: 1;
    display: flex;
    gap: 6px;
}
.sffc-chart-heatmap__cells span {
    flex: 1;
    height: 28px;
    border-radius: 6px;
    background: rgba(13, 53, 62, 0.08);
    position: relative;
    overflow: hidden;
}
.sffc-chart-heatmap__cells span::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0d353e, #1a6070);
    opacity: calc(var(--heat-value, 40) / 100);
}
.sffc-research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
.sffc-research-card {
    border: 1px solid rgba(13, 53, 62, 0.12);
    border-radius: 18px;
    padding: 16px;
    background: rgba(13, 53, 62, 0.02);
}
.sffc-research-card ul {
    margin-top: 10px;
    padding-left: 20px;
    color: rgba(13, 53, 62, 0.8);
}
@media (max-width: 640px) {
    .sffc-feed-shell.is-article-mode .sffc-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .sffc-column--left,
    .sffc-column--feed {
        width: 100%;
    }

    .sffc-column--left {
        order: 2;
        margin-top: 24px;
    }

    .sffc-column--feed {
        order: 1;
    }
}

/* --- Ask Senna Analyst Refresh --- */
.sffc-ask-senna-widget .sffc-ask-senna-panel {
  border-radius: 26px;
  border: 1px solid rgba(13,34,45,0.12);
  background: linear-gradient(180deg, #fdfcf8 0%, #ffffff 65%);
  box-shadow: 0 55px 140px rgba(4,10,18,0.32);
}
.sffc-ask-senna-widget .sffc-ask-senna-header {
  padding: 28px 30px 20px;
  background: linear-gradient(135deg, rgba(13,53,62,0.05), rgba(13,53,62,0.12));
  gap: 20px;
}
.sffc-ask-senna-widget .sffc-ask-senna-header .text-eyebrow2 {
  font-size: 22px;
  font-weight: 600;
  color: #0f2533;
  text-align: left;
  letter-spacing: 0.02em;
}
.sffc-ask-senna-widget .sffc-ask-senna-avatar {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(13,53,62,0.12);
  box-shadow: 0 12px 30px rgba(6,21,31,0.12);
}
.sffc-ask-senna-widget .sffc-ask-senna-close {
  background: rgba(13,53,62,0.08);
  color: #0d353e;
  border-radius: 50%;
  font-size: 20px;
  padding: 6px;
}
.sffc-ask-senna-widget .sffc-ask-senna-messages {
  padding: 18px 30px 12px;
  gap: 18px;
  background: transparent;
}
.sffc-ask-senna-widget .sffc-ask-senna-bubble {
  border-radius: 22px;
  padding: 14px 18px;
  max-width: 92%;
  box-shadow: 0 12px 28px rgba(5,10,18,0.08);
  line-height: 1.5;
  font-size: 14px;
}
.sffc-ask-senna-widget .sffc-ask-senna-message.is-user .sffc-ask-senna-bubble {
  background: #0d353e;
  color: #fffdfa;
}
.sffc-ask-senna-widget .sffc-ask-senna-templates {
  padding: 18px 30px 0;
  gap: 12px;
}
.sffc-ask-senna-widget .sffc-ask-senna-templates button {
  border-radius: 18px;
  background: rgba(13,53,62,0.03);
  letter-spacing: 0.12em;
  padding: 10px 16px;
}
.sffc-ask-senna-widget .sffc-ask-senna-form {
  padding: 10px 28px 24px;
  background: linear-gradient(180deg, rgba(13,53,62,0.02), rgba(13,53,62,0.08));
}
.sffc-ask-senna-widget .sffc-ask-senna-form textarea {
  border-radius: 18px;
  padding: 12px 18px;
  min-height: 48px;
  font-size: 15px;
  background: #fff;
}
.sffc-ask-senna-widget .sffc-ask-senna-send {
  width: 46px;
  height: 46px;
  border-radius: 18px;
  background: #0d353e;
  box-shadow: 0 15px 30px rgba(6,21,31,0.25);
}

/* ============================================
   Enhanced Message Preview for Non-Logged Users
============================================ */

.sffc-messages-preview {
    padding: 20px 0;
}

.sffc-message-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sffc-message-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.12);
}

.sffc-message-card.sffc-message-unread {
    background: linear-gradient(to right, #f0f9ff 0%, #ffffff 100%);
    border-left: 3px solid #0066cc;
}

/* Blurred Avatar */
.sffc-message-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.sffc-avatar-blur {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: blur(8px) !important;
    -webkit-filter: blur(8px) !important;
    transform: scale(1.2) !important;
}

/* Message Content */
.sffc-message-content {
    flex: 1;
    min-width: 0;
}

.sffc-message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.sffc-message-sender {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 14px;
}

.sffc-message-time {
    font-size: 12px;
    color: #666;
}

.sffc-message-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.sffc-message-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Message Meta */
.sffc-message-meta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.sffc-message-category {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    background: #f0f0f0;
    color: #555;
    font-weight: 500;
}

/* Category-specific colors */
.sffc-category-market-news {
    background: #e8f4fd;
    color: #0066cc;
}

.sffc-category-research {
    background: #f0e8ff;
    color: #6b46c1;
}

.sffc-category-opportunities {
    background: #e8f5e8;
    color: #16a34a;
}

.sffc-category-events {
    background: #fff4e8;
    color: #ea580c;
}

.sffc-category-deal-alert {
    background: #ffe8e8;
    color: #dc2626;
}

.sffc-category-coaching {
    background: #fef3c7;
    color: #d97706;
}

.sffc-category-portfolio {
    background: #e0e7ff;
    color: #4f46e5;
}

.sffc-category-networking {
    background: #fce7f3;
    color: #ec4899;
}

/* New Badge */
.sffc-message-badge {
    background: #dc2626;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Messages Footer */
.sffc-messages-footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 20px;
}

.sffc-messages-teaser {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
    font-style: italic;
}

.sffc-unlock-messages {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.sffc-unlock-messages:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Slide-in Animation */
.sffc-messages-preview[data-preview-mode="true"] .sffc-message-card {
    animation: slideInMessage 0.5s ease forwards;
    opacity: 0;
}

.sffc-messages-preview[data-preview-mode="true"] .sffc-message-card:nth-child(1) { animation-delay: 0.1s; }
.sffc-messages-preview[data-preview-mode="true"] .sffc-message-card:nth-child(2) { animation-delay: 0.2s; }
.sffc-messages-preview[data-preview-mode="true"] .sffc-message-card:nth-child(3) { animation-delay: 0.3s; }
.sffc-messages-preview[data-preview-mode="true"] .sffc-message-card:nth-child(4) { animation-delay: 0.4s; }
.sffc-messages-preview[data-preview-mode="true"] .sffc-message-card:nth-child(5) { animation-delay: 0.5s; }
.sffc-messages-preview[data-preview-mode="true"] .sffc-message-card:nth-child(6) { animation-delay: 0.6s; }
.sffc-messages-preview[data-preview-mode="true"] .sffc-message-card:nth-child(7) { animation-delay: 0.7s; }
.sffc-messages-preview[data-preview-mode="true"] .sffc-message-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes slideInMessage {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Modal Trigger Overlay */
.sffc-message-card[data-trigger-modal="true"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}


/* Alert cards for non-logged-in preview */
.sffc-alerts-preview .sffc-alert-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.sffc-alerts-preview .sffc-alert-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.sffc-alert-sender {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sffc-alert-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden !important;
    position: relative;
    flex-shrink: 0;
}

.sffc-avatar-blur {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: blur(8px) !important;
    -webkit-filter: blur(8px) !important;
    transform: scale(1.2) !important;
}

.sffc-alert-from {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sffc-sender-name {
    font-weight: 600;
    color: var(--sffc-heading);
    font-size: 14px;
}

.sffc-alert-time {
    font-size: 12px;
    color: rgba(13, 53, 62, 0.6);
}

.sffc-alert-body h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--sffc-heading);
}

.sffc-alert-body h3:hover {
    color: var(--sffc-accent);
}

.sffc-alert-actions {
    display: flex;
    gap: 8px;
}

.sffc-alert-actions button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.sffc-alert-actions button:hover {
    background: var(--sffc-accent);
    color: white;
    border-color: var(--sffc-accent);
}

.sffc-alert-actions svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Priority badge colors */
.sffc-badge-urgent {
    background: #dc2626 !important;
    color: white !important;
    animation: urgentPulse 1.5s infinite;
}

.sffc-badge-high {
    background: #ea580c !important;
    color: white !important;
}

.sffc-badge-new {
    background: var(--sffc-accent) !important;
    color: white !important;
    animation: newPulse 2s infinite;
}

@keyframes urgentPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

@keyframes newPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sffc-alert-card {
        padding: 16px !important;
    }
    
    .sffc-alert-avatar {
        width: 36px;
        height: 36px;
    }
    
    .sffc-alert-footer {
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .sffc-alert-actions {
        width: 100%;
        justify-content: space-between;
    }
}
/* ============================================
   MOBILE-OPTIMIZED GLOBAL HEADER
   ============================================ */

/* Base Mobile Styles (Mobile First Approach) */
@media screen and (max-width: 768px) {
    /* Header Bar Container */
    .sffc-global-header-bar {
        position: sticky;
        top: 0;
        z-index: 9999;
        background: linear-gradient(135deg, #0d353e, #142b3a);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
    
    /* Main Header */
    .sffc-global-header {
        padding: 8px 12px;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        min-height: 56px; /* Standard mobile header height */
    }
    
    /* Brand/Logo */
    .sffc-global-header__brand {
        flex: 0 0 auto;
        font-size: 11px;
        letter-spacing: 0.15em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px;
    }
    
    /* Search Section */
    .sffc-global-header__search {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 100%;
    }
    
    .sffc-dashboard-search {
        position: relative;
        display: flex;
        align-items: center;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 999px;
        padding: 0;
        min-height: 36px;
        transition: all 0.3s ease;
    }
    
    .sffc-dashboard-search:focus-within {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
    }
    
    /* Search Icon */
    .sffc-search-icon {
        position: absolute;
        left: 12px;
        width: 16px;
        height: 16px;
        color: rgba(255, 255, 255, 0.7);
        pointer-events: none;
    }
    
    /* Search Input */
    #sffc-dashboard-search-input {
        flex: 1;
        background: transparent;
        border: none;
        color: #fff;
        padding: 8px 36px 8px 36px;
        font-size: 14px;
        outline: none;
        width: 100%;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    
    #sffc-dashboard-search-input::placeholder {
        color: rgba(255, 255, 255, 0.5);
        font-size: 13px;
    }
    
    /* Clear Button */
    .sffc-search-clear {
        position: absolute;
        right: 8px;
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: #fff;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        cursor: pointer;
        transition: all 0.2s ease;
        padding: 0;
    }
    
    .sffc-search-clear:active {
        transform: scale(0.95);
        background: rgba(255, 255, 255, 0.3);
    }
    
    /* Search Suggestions */
    .sffc-search-suggestions {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        background: white;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        max-height: 60vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1000;
    }
    
    .sffc-search-suggestion {
        padding: 12px 16px;
        border-bottom: 1px solid #eee;
        cursor: pointer;
        touch-action: manipulation;
    }
    
    .sffc-search-suggestion:active {
        background: #f0f0f0;
    }
    
    /* Actions Section */
    .sffc-global-header__actions {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    /* Join Button */
    .sffc-join-btn {
        padding: 6px 12px;
        font-size: 13px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        background: transparent;
        color: #fff;
        white-space: nowrap;
        cursor: pointer;
        transition: all 0.2s ease;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .sffc-join-btn:active {
        background: rgba(255, 255, 255, 0.1);
        transform: scale(0.98);
    }
    
    /* User Menu */
    .sffc-user-menu {
        position: relative;
    }
    
    .sffc-user-toggle {
        padding: 8px;
        background: transparent;
        border: none;
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .sffc-user-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 600;
        color: #fff;
        transition: all 0.2s ease;
    }
    
    .sffc-user-toggle:active .sffc-user-avatar {
        transform: scale(0.95);
        background: rgba(255, 255, 255, 0.3);
    }
    
    /* User Dropdown */
    .sffc-user-dropdown {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        min-width: 200px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        z-index: 1000;
        transform-origin: top right;
        transition: all 0.2s ease;
    }
    
    .sffc-user-dropdown a {
        display: block;
        padding: 12px 16px;
        color: #333;
        text-decoration: none;
        font-size: 14px;
        border-bottom: 1px solid #eee;
        touch-action: manipulation;
    }
    
    .sffc-user-dropdown a:active {
        background: #f0f0f0;
    }
    
    .sffc-user-dropdown a:last-child {
        border-bottom: none;
    }
}

/* Small Mobile Devices (< 375px) */
@media screen and (max-width: 374px) {
    .sffc-global-header {
        padding: 8px;
        gap: 6px;
    }
    
    .sffc-global-header__brand {
        font-size: 10px;
        max-width: 80px;
    }
    
    #sffc-dashboard-search-input {
        font-size: 13px;
        padding: 6px 32px;
    }
    
    .sffc-join-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .sffc-user-avatar {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* Landscape Mode Optimization */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .sffc-global-header-bar {
        position: relative; /* Prevent sticky in landscape to save space */
    }
    
    .sffc-global-header {
        min-height: 48px;
        padding: 6px 12px;
    }
}

/* Touch and Accessibility Improvements */
@media (hover: none) and (pointer: coarse) {
    /* Ensure all interactive elements are at least 44x44px for touch */
    .sffc-search-clear,
    .sffc-user-toggle {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .sffc-join-btn {
        min-height: 36px;
        padding: 8px 16px;
    }
    
    /* Increase tap target size */
    .sffc-search-suggestion {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .sffc-user-dropdown a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* iOS Specific Fixes */
@supports (-webkit-touch-callout: none) {
    .sffc-global-header-bar {
        /* Account for iOS safe areas */
        padding-top: env(safe-area-inset-top);
    }
    
    /* Prevent iOS zoom on input focus */
    #sffc-dashboard-search-input {
        font-size: 16px;
    }
}

/* Android Specific Optimizations */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    /* Improve rendering on Android devices */
    .sffc-global-header-bar {
        -webkit-font-smoothing: antialiased;
    }
}

/* Search Results Styling */
.sffc-search-loading {
    padding: 20px;
    text-align: center;
    background: rgba(13, 53, 62, 0.05);
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #0d353e;
}

.sffc-search-results-marker {
    padding: 15px 20px;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border-left: 4px solid #0d353e;
    margin-bottom: 20px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sffc-search-results-marker strong {
    color: #0d353e;
    font-size: 14px;
}

.sffc-clear-search {
    background: #fff;
    color: #0d353e;
    border: 1px solid #0d353e;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
}

.sffc-clear-search:hover {
    background: #0d353e;
    color: #fff;
}

.sffc-no-results,
.sffc-search-error {
    padding: 40px 20px;
    text-align: center;
    background: rgba(13, 53, 62, 0.02);
    border-radius: 8px;
    margin: 20px 0;
}

.sffc-no-results p,
.sffc-search-error p {
    margin: 10px 0;
    color: #666;
}

.sffc-no-results p:first-child,
.sffc-search-error p:first-child {
    font-size: 16px;
    color: #0d353e;
    font-weight: 500;
}

/* Hidden cards during search */
.sffc-feed-card.sffc-hidden-by-search {
    display: none !important;
}

/* Highlight search results */
.sffc-feed-card.sffc-search-result {
    border: 2px solid rgba(13, 53, 62, 0.2);
    background: linear-gradient(to right, rgba(224, 242, 254, 0.1) 0%, transparent 100%);
}

/* Feed card meta styling */
.sffc-feed-meta {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(13, 53, 62, 0.1);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.sffc-meta-item {
    font-size: 13px;
    color: #666;
}

.sffc-meta-item strong {
    color: #0d353e;
    margin-right: 5px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .sffc-dashboard-search {
        border: 2px solid rgba(255, 255, 255, 0.8);
    }
    
    .sffc-join-btn {
        border: 2px solid rgba(255, 255, 255, 0.8);
    }
}

/* Dark Mode Support - Removed for search suggestions to maintain consistent light theme */

/* Performance Optimizations */
@media screen and (max-width: 768px) {
    /* Use transform for animations instead of position */
    .sffc-global-header-bar * {
        will-change: auto;
    }
    
    /* Optimize repaints */
    .sffc-dashboard-search,
    .sffc-join-btn,
    .sffc-user-avatar {
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
}

/* Enhanced Avatar Blur Effect - More Specific */
.sffc-alert-avatar img.sffc-avatar-blur,
.sffc-alerts-preview .sffc-avatar-blur,
.sffc-feed-card .sffc-avatar-blur {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: blur(8px) !important;
    -webkit-filter: blur(8px) !important;
    transform: scale(1.2) !important;
}

/* Ensure blur container has overflow hidden */
.sffc-alert-avatar {
    overflow: hidden !important;
    position: relative !important;
}

/* Mobile specific blur fix */
@media (max-width: 768px) {
    .sffc-alert-avatar img.sffc-avatar-blur {
        filter: blur(8px) !important;
        -webkit-filter: blur(8px) !important;
    }
}

/* Safari specific fixes */
@supports (-webkit-backdrop-filter: none) {
    .sffc-avatar-blur {
        -webkit-filter: blur(8px) !important;
        filter: blur(8px) !important;
    }
}

/* Fix Ask Senna Messages Header Visibility */
.sffc-ask-senna-widget .sffc-ask-senna-messages {
    flex: 1;
    min-height: 0 !important; /* Allow shrinking */
    max-height: calc(100% - 200px) !important; /* Leave space for header and input */
    overflow-y: auto !important;
    padding: 20px 24px !important;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Ensure panel has proper flex layout */
.sffc-ask-senna-widget .sffc-ask-senna-panel {
    display: flex !important;
    flex-direction: column !important;
}

/* Header should not be pushed */
.sffc-ask-senna-widget .sffc-ask-senna-header {
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Templates section */
.sffc-ask-senna-widget .sffc-ask-senna-templates {
    flex-shrink: 0 !important;
}

/* Form section */
.sffc-ask-senna-widget .sffc-ask-senna-form {
    flex-shrink: 0 !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .sffc-ask-senna-widget .sffc-ask-senna-messages {
        max-height: calc(100vh - 250px) !important;
    }
}

/* Enhanced Filter Functionality */
.sffc-feed-tab.is-loading {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

.sffc-feed-tab.is-loading::after {
    content: "Searching all content...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 12px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 10;
    font-weight: 600;
    color: var(--sffc-accent);
}

.sffc-clear-filters {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 999px;
    cursor: pointer;
    margin-top: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sffc-clear-filters:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.sffc-tab-count {
    display: inline-block;
    background: var(--sffc-accent);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 6px;
    min-width: 20px;
    text-align: center;
    vertical-align: top;
}

/* Empty state styling */
.sffc-empty-state {
    padding: 40px 20px;
    text-align: center;
    color: #6b7280;
}

.sffc-empty-state p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Filter active state improvements */
.sffc-filter-btn.is-active {
    background: var(--sffc-accent);
    color: white;
    border-color: var(--sffc-accent);
    font-weight: 600;
}

.sffc-filter-btn.is-active:hover {
    background: #0a2830;
    border-color: #0a2830;
}

/* ============================================
   PREMIUM MOBILE APP EXPERIENCE
   iOS/Android Native Feel
   ============================================ */

@media screen and (max-width: 768px) {
    /* Root Variables for Mobile */
    :root {
        --mobile-header-height: 56px;
        --mobile-nav-height: 64px;
        --mobile-safe-area-bottom: env(safe-area-inset-bottom, 0px);
        --mobile-safe-area-top: env(safe-area-inset-top, 0px);
    }

    /* Full-screen App Container */
    .sffc-dashboard-container {
        margin: 0;
        padding: 0;
        max-width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        background: #f8f6f1;
    }

    /* Remove Desktop Shell Styling */
    .sffc-feed-shell {
        border-radius: 0;
        padding: 0;
        border: none;
        box-shadow: none;
        background: transparent;
        margin: 0;
    }

    /* Premium App Header - Fixed */
    .sffc-global-header-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: linear-gradient(135deg, #0d353e 0%, #1a4a54 100%);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
        padding-top: var(--mobile-safe-area-top);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        backdrop-filter: saturate(180%) blur(20px);
    }

    .sffc-global-header {
        height: var(--mobile-header-height);
        padding: 0 16px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    /* Brand Logo - Minimal */
    .sffc-global-header__brand {
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.12em;
        color: #fff;
        flex-shrink: 0;
    }

    /* Expandable Search Bar */
    .sffc-global-header__search {
        flex: 1;
        max-width: none;
    }

    .sffc-dashboard-search {
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        padding: 0 14px;
        height: 40px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .sffc-dashboard-search:focus-within {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.3);
        box-shadow: 0 0 0 3px rgba(151, 255, 213, 0.2);
    }

    .sffc-dashboard-search input {
        font-size: 15px;
        font-weight: 400;
        padding: 8px 4px;
    }

    .sffc-dashboard-search input::placeholder {
        color: rgba(255, 255, 255, 0.55);
        font-size: 14px;
    }

    /* User Avatar - Premium Touch */
    .sffc-user-avatar {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        background: linear-gradient(135deg, #97ffd5 0%, #5dd9a3 100%);
        color: #0d353e;
        font-weight: 700;
        font-size: 14px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    /* Content Area with Header Offset */
    .sffc-feed-tabs {
        margin-top: calc(var(--mobile-header-height) + var(--mobile-safe-area-top));
        padding: 0;
        background: transparent;
        border: none;
        border-radius: 0;
    }

    /* Premium Tab Navigation - iOS Style */
    .sffc-tab-bar {
        position: sticky;
        top: calc(var(--mobile-header-height) + var(--mobile-safe-area-top));
        z-index: 100;
        background: rgba(248, 246, 241, 0.95);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        backdrop-filter: saturate(180%) blur(20px);
        padding: 12px 16px;
        display: flex;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border-bottom: 1px solid rgba(13, 53, 62, 0.08);
    }

    .sffc-tab-bar::-webkit-scrollbar {
        display: none;
    }

    .sffc-tab-button {
        flex-shrink: 0;
        padding: 10px 18px;
        border-radius: 100px;
        font-size: 14px;
        font-weight: 600;
        background: #fff;
        color: #0d353e;
        border: 1px solid rgba(13, 53, 62, 0.1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        transition: all 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .sffc-tab-button.is-active {
        background: #0d353e;
        color: #fff;
        border-color: #0d353e;
        box-shadow: 0 4px 12px rgba(13, 53, 62, 0.25);
    }

    .sffc-tab-button:active {
        transform: scale(0.96);
    }

    /* Filter Panel - Bottom Sheet Style */
    .sffc-filter-stack {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 75vh;
        background: #fff;
        border-radius: 24px 24px 0 0;
        padding: 0 0 calc(20px + var(--mobile-safe-area-bottom));
        z-index: 10000;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
        overflow: hidden;
    }

    .sffc-filter-stack.is-active {
        transform: translateY(0);
    }

    /* Bottom Sheet Handle */
    .sffc-filter-stack::before {
        content: '';
        display: block;
        width: 36px;
        height: 5px;
        background: rgba(0, 0, 0, 0.15);
        border-radius: 100px;
        margin: 12px auto 8px;
    }

    /* Filter Sections Inside Sheet */
    .sffc-filter-section {
        background: transparent;
        border-radius: 0;
        padding: 16px 20px;
        margin: 0;
        border: none;
        border-bottom: 1px solid rgba(13, 53, 62, 0.06);
    }

    .sffc-filter-section + .sffc-filter-section {
        border-top: none;
        padding-top: 16px;
    }

    .sffc-section-label {
        border-bottom: none;
        padding-bottom: 8px;
        margin-bottom: 12px;
    }

    .sffc-section-label .text-eyebrow2 {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.08em;
        color: #0d353e;
        text-transform: uppercase;
    }

    /* Horizontal Scrolling Filter Chips */
    .sffc-filter-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .sffc-filter-grid::-webkit-scrollbar {
        display: none;
    }

    /* Premium Filter Chips */
    .sffc-filter-btn {
        flex-shrink: 0;
        padding: 10px 16px;
        border-radius: 100px;
        font-size: 14px;
        font-weight: 500;
        background: #f8f6f1;
        border: 1px solid rgba(13, 53, 62, 0.1);
        color: #0d353e;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .sffc-filter-btn:active {
        transform: scale(0.96);
    }

    .sffc-filter-btn.is-active {
        background: linear-gradient(135deg, #0d353e 0%, #1a4a54 100%);
        color: #fff;
        border-color: transparent;
        box-shadow: 0 4px 12px rgba(13, 53, 62, 0.2);
    }

    .sffc-filter-icon {
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sffc-filter-btn.is-active .sffc-filter-icon svg {
        color: #97ffd5;
    }

    /* Filter Overlay */
    .sffc-filter-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
    }

    .sffc-filter-overlay.is-visible {
        opacity: 1;
        visibility: visible;
    }

    /* Premium Feed Cards */
    .sffc-feed-card {
        background: #fff;
        border-radius: 20px;
        padding: 20px;
        margin: 12px 16px;
        border: none;
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
        transition: all 0.2s ease;
    }

    .sffc-feed-card:active {
        transform: scale(0.98);
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
    }

    /* Card Header */
    .sffc-feed-card__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
    }

    /* Premium Pills/Badges */
    .sffc-feed-pill {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        padding: 6px 12px;
        border-radius: 100px;
        text-transform: uppercase;
    }

    .sffc-feed-pill.is-news {
        background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
        color: #2e7d32;
    }

    .sffc-feed-pill.is-deal {
        background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
        color: #1565c0;
    }

    .sffc-feed-pill.is-signal {
        background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
        color: #e65100;
    }

    .sffc-feed-pill.is-job {
        background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
        color: #7b1fa2;
    }

    /* Card Title */
    .sffc-feed-card .text-h3,
    .sffc-feed-card h3 {
        font-size: 17px;
        font-weight: 600;
        line-height: 1.35;
        color: #0d353e;
        margin: 0 0 10px;
    }

    .sffc-feed-card .text-h3 a,
    .sffc-feed-card h3 a {
        color: inherit;
        text-decoration: none;
    }

    /* Card Excerpt */
    .sffc-feed-card .text-body1,
    .sffc-feed-card p {
        font-size: 14px;
        line-height: 1.55;
        color: rgba(13, 53, 62, 0.7);
        margin: 0;
    }

    /* Card Meta */
    .sffc-feed-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid rgba(13, 53, 62, 0.06);
    }

    .sffc-meta-label {
        font-size: 12px;
        color: rgba(13, 53, 62, 0.55);
        font-weight: 500;
    }

    /* Save Button - Subtle */
    .sffc-save-btn {
        padding: 8px 14px;
        border-radius: 100px;
        font-size: 12px;
        font-weight: 600;
        background: rgba(13, 53, 62, 0.06);
        border: none;
        color: #0d353e;
        transition: all 0.2s ease;
    }

    .sffc-save-btn.is-saved {
        background: linear-gradient(135deg, #97ffd5 0%, #5dd9a3 100%);
        color: #0d353e;
    }

    .sffc-save-btn:active {
        transform: scale(0.94);
    }

    /* Job Cards - Premium Layout */
    .sffc-job-layout {
        margin-top: 14px;
    }

    .sffc-job-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 10px;
    }

    .sffc-job-badge {
        font-size: 11px;
        font-weight: 600;
        padding: 5px 10px;
        border-radius: 6px;
        background: rgba(13, 53, 62, 0.06);
        color: #0d353e;
    }

    .sffc-job-company {
        font-size: 14px;
        font-weight: 600;
        color: #0d353e;
        margin: 0;
    }

    .sffc-job-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid rgba(13, 53, 62, 0.06);
    }

    .sffc-job-actions {
        display: flex;
        gap: 8px;
    }

    .sffc-tailor-btn {
        padding: 10px 16px;
        border-radius: 100px;
        font-size: 13px;
        font-weight: 600;
        background: rgba(13, 53, 62, 0.08);
        border: none;
        color: #0d353e;
    }

    .sffc-job-cta {
        padding: 10px 18px;
        border-radius: 100px;
        font-size: 13px;
        font-weight: 600;
        background: linear-gradient(135deg, #0d353e 0%, #1a4a54 100%);
        color: #fff;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
    }

    /* Load More Button */
    .sffc-load-more {
        margin: 20px auto 100px;
        padding: 14px 32px;
        border-radius: 100px;
        font-size: 14px;
        font-weight: 600;
        background: #fff;
        border: 1px solid rgba(13, 53, 62, 0.12);
        color: #0d353e;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    }

    .sffc-load-more:active {
        transform: scale(0.96);
    }

    /* Filter Toggle Button - Floating */
    .sffc-filter-toggle {
        position: fixed;
        bottom: calc(20px + var(--mobile-safe-area-bottom));
        right: 16px;
        width: 56px;
        height: 56px;
        border-radius: 16px;
        background: linear-gradient(135deg, #0d353e 0%, #1a4a54 100%);
        color: #fff;
        border: none;
        box-shadow: 0 6px 24px rgba(13, 53, 62, 0.35);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .sffc-filter-toggle:active {
        transform: scale(0.92);
    }

    .sffc-filter-toggle svg {
        width: 24px;
        height: 24px;
    }

    /* Filter Active Indicator */
    .sffc-filter-toggle.has-active::after {
        content: '';
        position: absolute;
        top: -4px;
        right: -4px;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #97ffd5;
        border: 3px solid #0d353e;
    }

    /* Empty States */
    .sffc-feed-tab.is-empty::after {
        content: 'No results found';
        display: block;
        text-align: center;
        padding: 60px 20px;
        color: rgba(13, 53, 62, 0.5);
        font-size: 16px;
        font-weight: 500;
    }

    /* Pull to Refresh Indicator */
    .sffc-refresh-indicator {
        position: fixed;
        top: calc(var(--mobile-header-height) + var(--mobile-safe-area-top) + 10px);
        left: 50%;
        transform: translateX(-50%) scale(0);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 50;
        transition: transform 0.3s ease;
    }

    .sffc-refresh-indicator.is-visible {
        transform: translateX(-50%) scale(1);
    }

    /* Skeleton Loading States */
    .sffc-skeleton {
        background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
        background-size: 200% 100%;
        animation: skeleton-shimmer 1.5s ease-in-out infinite;
        border-radius: 8px;
    }

    @keyframes skeleton-shimmer {
        0% { background-position: 200% 0; }
        100% { background-position: -200% 0; }
    }

    /* Smooth Scrolling */
    .sffc-feed-tab {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Hide Desktop Elements */
    .sffc-user-card > div,
    .sffc-upgrade-btn,
    .sffc-top-bar-actions {
        display: none;
    }

    /* Smooth Page Transitions */
    .sffc-feed-tab {
        opacity: 1;
        transition: opacity 0.2s ease;
    }

    .sffc-feed-tab[hidden] {
        display: none;
    }

    /* Panel Cards - Simplified */
    .sffc-panel {
        background: #fff;
        border-radius: 20px;
        padding: 20px;
        margin: 12px 16px;
        border: none;
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    }

    /* Analytics Cards */
    .sffc-analytics-card {
        background: #fff;
        border-radius: 20px;
        padding: 20px;
        margin: 12px 16px;
        border: none;
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    }

    /* Quick Assist Panel */
    .sffc-ask-senna-widget {
        display: block;
    }

    .sffc-ask-senna-panel {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 85vh;
        border-radius: 24px 24px 0 0;
    }
}

/* Small Mobile Devices */
@media screen and (max-width: 375px) {
    .sffc-feed-card {
        margin: 10px 12px;
        padding: 16px;
    }

    .sffc-feed-card .text-h3,
    .sffc-feed-card h3 {
        font-size: 16px;
    }

    .sffc-filter-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .sffc-tab-button {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* Landscape Mode */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .sffc-global-header {
        height: 48px;
    }

    .sffc-filter-stack {
        max-height: 85vh;
    }

    .sffc-feed-tabs {
        margin-top: calc(48px + var(--mobile-safe-area-top));
    }

    .sffc-tab-bar {
        top: calc(48px + var(--mobile-safe-area-top));
    }
}

/* Touch Feedback */
@media (hover: none) and (pointer: coarse) {
    .sffc-feed-card:active,
    .sffc-filter-btn:active,
    .sffc-tab-button:active,
    .sffc-save-btn:active {
        opacity: 0.85;
    }
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
    .sffc-filter-stack,
    .sffc-filter-overlay,
    .sffc-feed-card,
    .sffc-filter-btn,
    .sffc-tab-button {
        transition: none;
    }

    @keyframes skeleton-shimmer {
        0%, 100% { background-position: 0 0; }
    }
}

/* Dark Mode Support for Mobile */
@media screen and (max-width: 768px) and (prefers-color-scheme: dark) {
    /* Base Background */
    .sffc-dashboard-container {
        background: #0a1a1f;
    }

    .sffc-feed-shell {
        background: transparent;
    }

    /* Tab Bar */
    .sffc-tab-bar {
        background: rgba(10, 26, 31, 0.95);
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }

    .sffc-tab-button {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        border-color: rgba(255, 255, 255, 0.1);
    }

    .sffc-tab-button.is-active {
        background: #97ffd5;
        color: #0d353e;
    }

    /* Feed Cards */
    .sffc-feed-card,
    .sffc-panel,
    .sffc-analytics-card,
    .sffc-filter-section {
        background: #142328;
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.06);
    }

    /* Card Text - Titles */
    .sffc-feed-card .text-h3,
    .sffc-feed-card h3,
    .sffc-feed-card .text-h3 a,
    .sffc-feed-card h3 a,
    .sffc-panel h3,
    .sffc-analytics-card h3 {
        color: #fff !important;
    }

    /* Card Text - Body */
    .sffc-feed-card .text-body1,
    .sffc-feed-card p,
    .sffc-panel p,
    .sffc-analytics-card p {
        color: rgba(255, 255, 255, 0.75) !important;
    }

    /* Filter Stack (Bottom Sheet) */
    .sffc-filter-stack {
        background: #1a2e35;
    }

    .sffc-filter-stack::before {
        background: rgba(255, 255, 255, 0.25);
    }

    /* Filter Buttons */
    .sffc-filter-btn {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        border-color: rgba(255, 255, 255, 0.12);
    }

    .sffc-filter-btn.is-active {
        background: #97ffd5;
        color: #0d353e;
        border-color: #97ffd5;
    }

    .sffc-filter-btn.is-active .sffc-filter-icon svg {
        color: #0d353e;
    }

    /* Filter Icons */
    .sffc-filter-icon svg {
        color: rgba(255, 255, 255, 0.8);
    }

    /* Overlay */
    .sffc-filter-overlay {
        background: rgba(0, 0, 0, 0.6);
    }

    /* Section Labels */
    .sffc-section-label .text-eyebrow2,
    .sffc-section-label span {
        color: rgba(255, 255, 255, 0.7) !important;
    }

    /* Meta Labels */
    .sffc-meta-label {
        color: rgba(255, 255, 255, 0.5) !important;
    }

    .sffc-feed-meta {
        border-top-color: rgba(255, 255, 255, 0.08);
    }

    /* Save Button */
    .sffc-save-btn {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    .sffc-save-btn.is-saved {
        background: #97ffd5;
        color: #0d353e;
    }

    /* Job Badges */
    .sffc-job-badge {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    /* Job Company */
    .sffc-job-company {
        color: #fff;
    }

    /* Job Footer */
    .sffc-job-footer {
        border-top-color: rgba(255, 255, 255, 0.08);
    }

    /* Job Actions */
    .sffc-tailor-btn {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    .sffc-job-cta {
        background: #97ffd5;
        color: #0d353e;
    }

    /* Load More */
    .sffc-load-more {
        background: #142328;
        border-color: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    /* Pills/Badges - Keep colorful but adjust for dark mode */
    .sffc-feed-pill.is-news {
        background: rgba(46, 125, 50, 0.2);
        color: #81c784;
    }

    .sffc-feed-pill.is-deal {
        background: rgba(21, 101, 192, 0.2);
        color: #64b5f6;
    }

    .sffc-feed-pill.is-signal {
        background: rgba(230, 81, 0, 0.2);
        color: #ffb74d;
    }

    .sffc-feed-pill.is-job {
        background: rgba(123, 31, 162, 0.2);
        color: #ba68c8;
    }

    .sffc-feed-pill.is-research {
        background: rgba(0, 131, 143, 0.2);
        color: #4dd0e1;
    }

    /* Search */
    .sffc-search-suggestions {
        background: #1a2e35;
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .sffc-search-suggestion {
        color: #fff;
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }

    .sffc-search-suggestion:active {
        background: rgba(255, 255, 255, 0.1);
    }

    /* User Dropdown */
    .sffc-user-dropdown {
        background: #1a2e35;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .sffc-user-dropdown a {
        color: #fff;
        border-bottom-color: rgba(255, 255, 255, 0.08);
    }

    .sffc-user-dropdown a:active {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Filter Toggle FAB */
    .sffc-filter-toggle {
        background: #97ffd5;
        color: #0d353e;
    }

    .sffc-filter-toggle svg {
        color: #0d353e;
    }

    /* Empty State */
    .sffc-feed-tab.is-empty::after {
        color: rgba(255, 255, 255, 0.5);
    }

    /* Trending */
    .sffc-trending-meta a {
        color: #fff;
    }

    .sffc-trending-stats {
        color: rgba(255, 255, 255, 0.5);
    }

    /* Job Snapshot */
    .sffc-job-snapshot {
        background: rgba(255, 255, 255, 0.05);
    }

    .sffc-job-snapshot-label {
        color: rgba(255, 255, 255, 0.5);
    }

    .sffc-job-snapshot-value {
        color: #fff;
    }

    /* Analytics */
    .sffc-stat-value {
        color: #fff;
    }

    .sffc-stat-label {
        color: rgba(255, 255, 255, 0.6);
    }

    /* Alerts */
    .sffc-alert-card {
        background: #142328;
        border-color: rgba(255, 255, 255, 0.06);
    }

    .sffc-alert-title {
        color: #fff;
    }

    .sffc-alert-excerpt {
        color: rgba(255, 255, 255, 0.7);
    }
}
