/**
 * Skill Farm Finance Career - ULTRA PREMIUM Frontend Styles
 * Vogue & Harrods Level Premium Experience
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@200;300;400;500&display=swap');

:root {
    /* Premium Cream Palette */
    --sffc-cream: #FAF8F3;
    --sffc-cream-light: #FDFCF8;
    --sffc-cream-warm: #F7F3EC;
    --sffc-cream-depth: #F2EDE4;
    
    /* Navy & Accents */
    --sffc-navy: #1B3B2F;
    --sffc-navy-soft: #2A4A3E;
    --sffc-gold: #C9A961;
    --sffc-gold-light: #E4D4A8;
    
    /* Typography */
    --sffc-text-primary: #1B3B2F;
    --sffc-text-secondary: #4A5D57;
    --sffc-text-light: #7A8B85;
    
    /* Spacing for Premium Feel */
    --sffc-space-xs: 8px;
    --sffc-space-sm: 16px;
    --sffc-space-md: 32px;
    --sffc-space-lg: 48px;
    --sffc-space-xl: 64px;
    --sffc-space-2xl: 96px;
    --sffc-space-3xl: 128px;
    
    /* Premium Shadows */
    --sffc-shadow-subtle: 0 2px 20px rgba(27, 59, 47, 0.03);
    --sffc-shadow-elegant: 0 10px 40px rgba(27, 59, 47, 0.06);
    --sffc-shadow-luxury: 0 20px 60px rgba(27, 59, 47, 0.08);
    --sffc-shadow-deep: 0 30px 80px rgba(27, 59, 47, 0.12);
}

* {
    box-sizing: border-box;
}

/* Main Wrapper - Full Premium Experience */
.sffc-main-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    background: var(--sffc-cream);
    color: var(--sffc-text-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Header - Minimal and Elegant */
.sffc-main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 248, 243, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(27, 59, 47, 0.06);
    z-index: 1000;
    padding: 24px 48px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.sffc-main-header.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.sffc-header-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sffc-header-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sffc-header-logo {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 400;
    color: var(--sffc-navy);
    letter-spacing: -0.02em;
}

.sffc-header-brand-name {
    font-size: 18px;
    font-weight: 300;
    color: var(--sffc-text-secondary);
    letter-spacing: 0.02em;
}

/* Hero Container - Premium Landing */
.sffc-hero-container {
    padding: calc(var(--sffc-space-3xl) + 80px) var(--sffc-space-xl) var(--sffc-space-2xl);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--sffc-cream-light) 0%, var(--sffc-cream) 100%);
}

.sffc-hero-section {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.sffc-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 300;
    line-height: 1.1;
    color: var(--sffc-navy);
    margin-bottom: var(--sffc-space-sm);
    letter-spacing: -0.03em;
}

.sffc-hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    color: var(--sffc-text-secondary);
    margin-bottom: var(--sffc-space-xl);
    letter-spacing: 0.02em;
}

/* Search Section - Premium Entry Point */
.sffc-search-section {
    margin-bottom: var(--sffc-space-2xl);
}

.sffc-search-wrapper {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.sffc-search-container {
    display: flex;
    background: var(--sffc-cream-light);
    border: 1px solid rgba(27, 59, 47, 0.08);
    border-radius: 100px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: var(--sffc-shadow-elegant);
}

.sffc-search-container.focused {
    border-color: var(--sffc-navy);
    box-shadow: var(--sffc-shadow-luxury);
    transform: translateY(-2px);
}

.sffc-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 28px 40px;
    font-size: 18px;
    font-weight: 300;
    background: transparent;
    color: var(--sffc-navy);
    letter-spacing: 0.01em;
}

.sffc-search-input::placeholder {
    color: var(--sffc-text-light);
}

.sffc-search-button {
    background: var(--sffc-navy);
    color: var(--sffc-cream-light);
    border: none;
    padding: 28px 48px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.sffc-search-button:hover {
    background: var(--sffc-navy-soft);
    padding-right: 56px;
}

/* Premium Dropdown Suggestions */
.sffc-search-suggestions {
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    right: 0;
    background: var(--sffc-cream-light);
    border-radius: 24px;
    box-shadow: var(--sffc-shadow-deep);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 100;
}

.sffc-search-suggestions.active {
    max-height: 520px;
    opacity: 1;
    overflow-y: auto;
}

.sffc-suggestion-group {
    padding: 24px 0;
}

.sffc-suggestion-label {
    padding: 0 32px;
    font-size: 12px;
    font-weight: 500;
    color: var(--sffc-text-light);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}

.sffc-suggestion-item {
    display: flex;
    align-items: center;
    padding: 20px 32px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sffc-suggestion-item:hover {
    background: var(--sffc-cream-warm);
    padding-left: 40px;
}

.sffc-suggestion-icon {
    width: 48px;
    height: 48px;
    background: var(--sffc-navy);
    color: var(--sffc-cream-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 24px;
    font-size: 20px;
}

.sffc-suggestion-content {
    flex: 1;
}

.sffc-suggestion-title {
    font-size: 16px;
    font-weight: 400;
    color: var(--sffc-navy);
    margin-bottom: 4px;
}

.sffc-suggestion-subtitle {
    font-size: 14px;
    font-weight: 300;
    color: var(--sffc-text-secondary);
}

/* Mode Cards - Premium Selection */
.sffc-tools-section {
    margin-top: var(--sffc-space-xl);
}

.sffc-section-title {
    font-size: 12px;
    font-weight: 500;
    color: var(--sffc-text-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--sffc-space-md);
}

.sffc-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.sffc-tool-card {
    background: var(--sffc-cream-light);
    border: 1px solid rgba(27, 59, 47, 0.06);
    border-radius: 20px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0; /* Prevent overflow */
}

.sffc-tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sffc-shadow-luxury);
    border-color: var(--sffc-navy);
    background: white;
}

.sffc-tool-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--sffc-navy);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sffc-cream-light);
    font-size: 24px;
    flex-shrink: 0;
}

.sffc-tool-info {
    flex: 1;
    text-align: left;
    min-width: 0; /* Prevent text overflow */
}

.sffc-tool-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--sffc-navy);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sffc-tool-desc {
    font-size: 14px;
    font-weight: 300;
    color: var(--sffc-text-secondary);
    line-height: 1.4;
    white-space: normal;
    word-wrap: break-word;
}

/* SESSION CONTAINER - ULTRA PREMIUM CHAT */
.sffc-session-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--sffc-cream);
    z-index: 2000;
}

.sffc-session-container.active {
    display: flex;
    animation: elegantFadeIn 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes elegantFadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Floating Elegant Sidebar */
.sffc-session-sidebar {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    max-height: 80vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: var(--sffc-shadow-luxury);
    overflow-y: hidden; /* Hide scrollbar */
    z-index: 2010;
}

/* Inner scrollable container */
.sffc-session-sidebar:hover {
    overflow-y: auto;
}

.sffc-session-sidebar::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.sffc-session-header {
    margin-bottom: var(--sffc-space-lg);
}

.sffc-session-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--sffc-navy);
    margin-bottom: 8px;
}

.sffc-session-subtitle {
    font-size: 14px;
    font-weight: 300;
    color: var(--sffc-text-secondary);
}

/* Mode Toggle - Premium Style */
.sffc-mode-toggle {
    display: flex;
    background: var(--sffc-cream);
    border-radius: 16px;
    padding: 4px;
    margin-bottom: var(--sffc-space-lg);
}

.sffc-mode-option {
    flex: 1;
    padding: 14px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: var(--sffc-text-secondary);
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.sffc-mode-option.active {
    background: var(--sffc-navy);
    color: var(--sffc-cream-light);
}

/* Progress Steps - Minimal */
.sffc-progress-section {
    margin-bottom: var(--sffc-space-lg);
}

.sffc-progress-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    margin-bottom: 8px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.sffc-progress-step:hover {
    background: var(--sffc-cream);
    transform: translateX(4px);
}

.sffc-progress-step.active {
    background: var(--sffc-cream);
}

.sffc-step-icon {
    width: 36px;
    height: 36px;
    background: var(--sffc-navy);
    color: var(--sffc-cream-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.sffc-progress-step.active .sffc-step-icon {
    background: var(--sffc-gold);
    color: var(--sffc-navy);
}

.sffc-step-text {
    font-size: 14px;
    color: var(--sffc-text-primary);
}

/* CHAT PANEL - ULTRA PREMIUM - FIXED Viewport */
.sffc-chat-panel {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* FIXED: Changed from height to min-height */
    background: var(--sffc-cream);
    position: relative;
    margin-left: 360px; /* Space for floating sidebar */
    margin-right: 40px;
}

/* Chat Header - Minimal Elegance */
.sffc-chat-header {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 24px;
}

.sffc-close-session {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(250, 248, 243, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(27, 59, 47, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--sffc-text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.sffc-close-session:hover {
    opacity: 1;
    background: var(--sffc-navy);
    color: var(--sffc-cream-light);
    transform: scale(1.05);
}

/* Messages Container - FIXED Viewport */
.sffc-messages-container {
    flex: 1;
    overflow-y: auto; /* Allow scroll but controlled */
    overflow-x: hidden;
    padding: 40px var(--sffc-space-2xl) 120px; /* REDUCED padding to keep content in view */
    max-width: 1400px; /* MUCH WIDER for better visual cards readability */
    margin: 0 auto;
    width: 100%;
    scroll-behavior: smooth;
    /* Prevent scroll bounce and over-scrolling */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    /* Ensure scroll starts at top */
    scroll-padding-top: 0;
    /* FIXED: Ensure minimum content area is visible */
    min-height: calc(100vh - 200px);
}

/* Completely hide scrollbar even when scrolling */
.sffc-messages-container {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.sffc-messages-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

/* Message Styles - Magazine Quality */
.sffc-message {
    margin-bottom: var(--sffc-space-lg); /* Good spacing between messages */
    animation: messageElegance 0.6s ease;
}

/* FIXED: Google Results Visibility */
.sffc-google-results {
    background: var(--sffc-cream-light);
    border: 1px solid var(--sffc-gold-light);
    border-radius: 16px;
    padding: var(--sffc-space-md);
    margin: var(--sffc-space-md) 0;
    box-shadow: var(--sffc-shadow-subtle);
    max-height: 400px;
    overflow-y: auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

@keyframes messageElegance {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Senna Messages - Premium Typography */
.sffc-message-senna {
    display: flex;
    gap: 24px; /* Proportional gap */
    align-items: flex-start;
    max-width: 760px; /* Wider for magazine feel */
    margin: 0 auto var(--sffc-space-lg); /* Consistent vertical space */
    position: relative;
}

/* Ensure all Senna text meets premium standards */
.sffc-message-senna p,
.sffc-message-senna span,
.sffc-message-senna div:not(.sffc-message-visual):not(.sffc-message-actions) {
    color: var(--sffc-navy);
    font-size: 20px;
    line-height: 1.7;
    font-weight: 400;
}

/* First Senna message - prominent positioning */
.sffc-message-senna:first-of-type {
    margin-top: 0;
    padding-top: 10px;
}

/* Message Actions - Subtle Above Each Message */
.sffc-message-actions {
    position: absolute;
    top: -24px;
    right: 0;
    display: flex;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sffc-message-senna:hover .sffc-message-actions {
    opacity: 1;
}

.sffc-action-btn {
    font-size: 11px;
    color: var(--sffc-text-light);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.sffc-action-btn:hover {
    background: rgba(27, 59, 47, 0.06);
    color: var(--sffc-navy);
}

.sffc-message-avatar {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
    border: 2px solid var(--sffc-gold-light);
    box-shadow: 0 6px 20px rgba(27, 59, 47, 0.08);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

/* Premium avatar effects */
.sffc-message-avatar:hover {
    transform: scale(1.05);
    border-color: var(--sffc-gold);
    box-shadow: 0 8px 24px rgba(27, 59, 47, 0.12);
}

/* Subtle glow effect for active avatar */
.sffc-message-senna .sffc-message-avatar {
    animation: avatarIntro 0.6s ease-out;
}

@keyframes avatarIntro {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Avatar fallback styling */
.sffc-avatar-fallback {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--sffc-gold-light) 0%, var(--sffc-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sffc-navy);
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 500;
    border: 2px solid var(--sffc-gold-light);
    box-shadow: 0 6px 20px rgba(27, 59, 47, 0.08);
}

/* Active conversation indicator */
.typing-active + .sffc-message-content .sffc-message-avatar::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: var(--sffc-gold);
    border: 2px solid white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.sffc-message-content {
    flex: 1;
    max-width: 640px; /* Wider for magazine */
}

/* Premium Senna message text - Navy blue 18px+ as specified */
.sffc-message-text {
    font-family: 'Playfair Display', serif;
    color: var(--sffc-navy); /* Navy blue #1B3B2F */
    font-size: 22px; /* Exceeds 18px+ requirement for premium feel */
    line-height: 1.8; /* Spacious reading experience */
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 28px;
    text-align: left;
    word-wrap: break-word;
    hyphens: auto;
    
    /* Premium text rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    
    /* Subtle text shadow for depth */
    text-shadow: 0 1px 2px rgba(27, 59, 47, 0.1);
}

/* Responsive font sizing maintaining 18px+ minimum */
@media (max-width: 768px) {
    .sffc-message-text {
        font-size: 20px; /* Still exceeds 18px+ on mobile */
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .sffc-message-text {
        font-size: 19px; /* Minimum premium size above 18px */
        line-height: 1.6;
        margin-bottom: 20px;
    }
}

/* Visual Cards - Integrated Magazine Style */
.sffc-message-visual {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-top: 20px;
    border-left: 2px solid var(--sffc-gold-light);
    padding-left: 24px;
    animation: cardReveal 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Welcome Visual Card - Removed per requirements */

/* Skills Visual Card - Integrated */
.sffc-skills-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.sffc-skill-card {
    padding: 20px;
    background: transparent;
    border: 1px solid rgba(27, 59, 47, 0.08);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.sffc-skill-card:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: var(--sffc-gold-light);
}

.sffc-skill-icon {
    width: 48px;
    height: 48px;
    background: var(--sffc-gold);
    color: var(--sffc-navy);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}

.sffc-skill-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--sffc-navy);
    margin-bottom: 8px;
}

.sffc-skill-level {
    font-size: 14px;
    color: var(--sffc-text-secondary);
}

/* Market Visual Card */
.sffc-market-visual {
    padding: 28px;
    background: linear-gradient(180deg, white 0%, var(--sffc-cream) 100%);
}

.sffc-market-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--sffc-navy);
    margin-bottom: 24px;
}

.sffc-market-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(27, 59, 47, 0.08);
}

.sffc-market-metric:last-child {
    border-bottom: none;
}

.sffc-metric-label {
    font-size: 15px;
    color: var(--sffc-text-secondary);
}

.sffc-metric-value {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--sffc-navy);
    font-weight: 500;
}

.sffc-metric-positive {
    color: var(--sffc-gold);
}

.sffc-metric-negative {
    color: #c94b4b;
}

.sffc-opportunities-visual {
    display: grid;
    gap: 12px;
}

.sffc-opp-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    background: transparent;
    border-bottom: 1px solid rgba(27, 59, 47, 0.05);
    transition: all 0.3s ease;
}

.sffc-opp-item:last-child {
    border-bottom: none;
}

.sffc-opp-item:hover {
    padding-left: 12px;
}

.sffc-opp-firm {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--sffc-navy);
    font-weight: 500;
}

.sffc-opp-role {
    font-size: 14px;
    color: var(--sffc-text-secondary);
    margin-top: 4px;
}

.sffc-opp-match {
    font-size: 16px;
    color: var(--sffc-gold);
    font-weight: 500;
}

/* User Messages - Integrated Design */
.sffc-message-user {
    max-width: 760px;
    margin: 0 auto var(--sffc-space-lg); /* Consistent vertical space */
    padding-left: 72px; /* Align with Senna's messages (48px avatar + 24px gap) */
    position: relative;
}

.sffc-user-indicator {
    position: absolute;
    left: 0;
    top: 4px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--sffc-gold-light) 0%, var(--sffc-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sffc-navy);
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 500;
}

.sffc-message-bubble {
    background: transparent;
    color: var(--sffc-text-primary);
    padding: 0;
    font-size: 19px; /* Slightly smaller for balance */
    font-weight: 400;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
    border-left: 3px solid var(--sffc-gold-light);
    padding-left: 32px;
    margin-left: 0;
}

/* Floating Input - Ultra Premium */
.sffc-input-area {
    position: fixed;
    bottom: 40px;
    left: 360px; /* Align with chat panel margin */
    right: 40px; /* Match right margin */
    max-width: 1400px; /* Match wider messages container */
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(27, 59, 47, 0.08);
    border-radius: 32px;
    padding: 8px;
    box-shadow: var(--sffc-shadow-luxury);
}

.sffc-input-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sffc-message-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 20px 28px;
    font-size: 16px;
    font-weight: 300;
    color: var(--sffc-navy);
    font-family: 'Inter', sans-serif;
}

.sffc-message-input::placeholder {
    color: var(--sffc-text-light);
}

.sffc-send-button {
    background: var(--sffc-navy);
    color: var(--sffc-cream-light);
    border: none;
    padding: 16px 36px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.sffc-send-button:hover:not(:disabled) {
    background: var(--sffc-gold);
    color: var(--sffc-navy);
    transform: scale(1.05);
}

.sffc-send-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Typing Indicator - Elegant */
.sffc-typing-indicator {
    position: absolute;
    bottom: 100%;
    left: 28px;
    background: white;
    padding: 14px 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    box-shadow: var(--sffc-shadow-elegant);
}

.sffc-typing-dot {
    width: 8px;
    height: 8px;
    background: var(--sffc-navy);
    border-radius: 50%;
    opacity: 0.3;
    animation: typingDot 1.4s infinite;
}

.sffc-typing-dot:nth-child(1) { animation-delay: 0s; }
.sffc-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.sffc-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    30% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.sffc-typing-text {
    font-size: 13px;
    color: var(--sffc-text-secondary);
    margin-left: 4px;
}


/* Responsive - Maintain Premium on Mobile */
@media (max-width: 768px) {
    .sffc-tools-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .sffc-session-sidebar {
        left: 20px;
        width: 260px;
    }
    
    .sffc-chat-panel {
        margin-left: 300px;
        margin-right: 20px;
    }
    
    .sffc-input-area {
        left: 300px;
        right: 20px;
        max-width: 700px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .sffc-hero-title {
        font-size: 48px;
    }
    
    .sffc-session-container.active {
        grid-template-columns: 1fr;
    }
    
    .sffc-session-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: none;
        width: 100%;
        max-height: 200px;
        border-radius: 24px 24px 0 0;
        padding: 24px;
    }
    
    .sffc-chat-panel {
        margin-left: 0;
        padding-bottom: 220px;
    }
    
    .sffc-input-area {
        left: 20px;
        right: 20px;
        bottom: 240px;
    }
    
    .sffc-messages-container {
        padding: var(--sffc-space-lg) var(--sffc-space-md) 200px; /* FIXED: Reduced mobile padding */
        min-height: calc(100vh - 300px); /* FIXED: Better mobile viewport */
    }
}

/* Premium Animations */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.sffc-loading {
    background: linear-gradient(90deg, 
        var(--sffc-cream) 0%, 
        var(--sffc-cream-light) 50%, 
        var(--sffc-cream) 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Career Visual Styles */
.sffc-career-visual {
    padding: 24px 0;
}

.sffc-visual-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--sffc-navy);
    margin-bottom: 20px;
}

.sffc-career-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sffc-career-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(27, 59, 47, 0.06);
    transition: all 0.3s ease;
}

.sffc-career-item:last-child {
    border-bottom: none;
}

.sffc-career-item:hover {
    padding-left: 8px;
}

.sffc-career-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.sffc-career-content strong {
    display: block;
    color: var(--sffc-navy);
    font-weight: 500;
    margin-bottom: 4px;
}

.sffc-career-content p {
    color: var(--sffc-text-secondary);
    font-size: 14px;
    margin: 0;
}

.sffc-market-note {
    font-size: 12px;
    color: var(--sffc-text-light);
    margin-top: 16px;
    text-align: right;
}

/* Premium Visual Cards */
.sffc-market-dashboard {
    padding: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(250,248,243,0.95) 100%);
    border-radius: 16px;
    margin-top: 20px;
}

.sffc-market-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.sffc-market-metric-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(27, 59, 47, 0.05);
}

.sffc-metric-label {
    font-size: 12px;
    color: var(--sffc-text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.sffc-metric-value {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--sffc-navy);
    margin-bottom: 4px;
}

.sffc-metric-value.positive {
    color: #46b450;
}

.sffc-metric-value.negative {
    color: #dc3232;
}

.sffc-metric-change {
    font-size: 14px;
    color: var(--sffc-text-secondary);
}

.sffc-metric-change.positive {
    color: #46b450;
}

.sffc-metric-change.negative {
    color: #dc3232;
}

/* Opportunities Visual */
.sffc-opportunities-list {
    padding: 20px 0;
}

.sffc-opportunity-card {
    background: white;
    border: 1px solid rgba(27, 59, 47, 0.08);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.sffc-opportunity-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(27, 59, 47, 0.08);
}

.sffc-opp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.sffc-opp-firm {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--sffc-navy);
    font-weight: 500;
}

.sffc-match-score {
    background: var(--sffc-gold);
    color: var(--sffc-navy);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.sffc-opp-role {
    font-size: 16px;
    color: var(--sffc-text-primary);
    margin-bottom: 8px;
    font-weight: 500;
}

.sffc-opp-location {
    font-size: 14px;
    color: var(--sffc-text-secondary);
    margin-bottom: 12px;
}

.sffc-opp-comp {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--sffc-navy);
    margin-bottom: 8px;
}

.sffc-opp-urgency {
    font-size: 13px;
    color: var(--sffc-gold);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Career Progression */
.sffc-career-progression {
    padding: 24px;
    background: linear-gradient(135deg, white 0%, var(--sffc-cream) 100%);
    border-radius: 16px;
    margin-top: 20px;
}

.sffc-progression-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    margin-bottom: 24px;
}

.sffc-current-level, .sffc-next-level {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--sffc-navy);
    font-weight: 500;
}

.sffc-arrow {
    font-size: 24px;
    color: var(--sffc-gold);
}

.sffc-timeline {
    margin-left: auto;
    padding: 8px 16px;
    background: var(--sffc-navy);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.sffc-milestones h5, .sffc-comp-trajectory h5 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: var(--sffc-navy);
    margin-bottom: 16px;
}

.sffc-milestones ul {
    list-style: none;
    padding: 0;
}

.sffc-milestones li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    color: var(--sffc-text-primary);
    border-bottom: 1px solid rgba(27, 59, 47, 0.06);
}

.sffc-milestones li:last-child {
    border-bottom: none;
}

.sffc-milestones li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sffc-gold);
    font-weight: 600;
}

.sffc-comp-level {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(27, 59, 47, 0.06);
}

.sffc-comp-level:last-child {
    border-bottom: none;
}

.sffc-level {
    color: var(--sffc-text-secondary);
    font-size: 14px;
}

.sffc-comp {
    font-family: 'Playfair Display', serif;
    color: var(--sffc-navy);
    font-size: 16px;
    font-weight: 500;
}

/* Valuation Methods */
.sffc-valuation-methods {
    padding: 20px 0;
}

.sffc-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.sffc-method-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(27, 59, 47, 0.08);
    transition: all 0.3s ease;
}

.sffc-method-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(27, 59, 47, 0.08);
}

.sffc-method-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.sffc-method-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--sffc-navy);
    margin-bottom: 8px;
}

.sffc-method-reliability {
    font-size: 13px;
    color: var(--sffc-gold);
    margin-bottom: 8px;
}

.sffc-method-usage {
    font-size: 13px;
    color: var(--sffc-text-secondary);
    line-height: 1.4;
}

/* LBO Model */
.sffc-lbo-model {
    padding: 24px;
    background: linear-gradient(135deg, white 0%, var(--sffc-cream) 100%);
    border-radius: 16px;
    margin-top: 20px;
}

.sffc-lbo-section {
    margin-bottom: 24px;
    padding: 20px;
    background: white;
    border-radius: 12px;
}

.sffc-lbo-section h5 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: var(--sffc-navy);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--sffc-gold-light);
}

.sffc-lbo-items {
    display: grid;
    gap: 12px;
}

.sffc-lbo-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.sffc-lbo-key {
    color: var(--sffc-text-secondary);
    font-size: 14px;
}

.sffc-lbo-value {
    font-family: 'Playfair Display', serif;
    color: var(--sffc-navy);
    font-size: 15px;
    font-weight: 500;
}

/* DCF Model */
.sffc-dcf-model {
    padding: 24px;
    background: white;
    border-radius: 16px;
    margin-top: 20px;
    border: 1px solid rgba(27, 59, 47, 0.08);
}

.sffc-dcf-components {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.sffc-dcf-component {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--sffc-cream);
    border-radius: 8px;
}

.sffc-component-name {
    font-weight: 500;
    color: var(--sffc-navy);
    min-width: 140px;
}

.sffc-component-desc {
    color: var(--sffc-text-secondary);
    font-size: 14px;
}

/* Insights Card */
.sffc-insights-card {
    background: linear-gradient(135deg, var(--sffc-navy) 0%, var(--sffc-navy-soft) 100%);
    color: white;
    padding: 24px;
    border-radius: 16px;
    margin-top: 20px;
}

.sffc-insights-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 20px;
}

.sffc-insights-list {
    list-style: none;
    padding: 0;
}

.sffc-insight-item {
    padding: 12px 0;
    padding-left: 24px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sffc-insight-item:last-child {
    border-bottom: none;
}

.sffc-insight-item:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--sffc-gold);
}

/* Opportunities Showcase */
.sffc-opportunities-showcase {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.sffc-match-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid var(--sffc-gold-light);
    transition: all 0.3s ease;
}

.sffc-match-card:hover {
    border-color: var(--sffc-gold);
    transform: translateX(8px);
}

.sffc-match-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.sffc-match-firm {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--sffc-navy);
}

.sffc-match-percentage {
    background: var(--sffc-gold);
    color: var(--sffc-navy);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.sffc-match-role {
    font-size: 16px;
    color: var(--sffc-text-primary);
    margin-bottom: 8px;
}

.sffc-match-comp {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--sffc-navy);
    margin-bottom: 12px;
}

.sffc-match-why {
    font-size: 14px;
    color: var(--sffc-text-secondary);
    font-style: italic;
}

/* Visual Card Animations */
.sffc-visual-card-enter, .sffc-visual-enter {
    animation: cardReveal 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Premium Focus States */
*:focus {
    outline: none;
}

button:focus {
    outline: none;
}

input:focus,
textarea:focus {
    outline: none;
    box-shadow: none;
}

/* System Messages */
.sffc-message-system {
    text-align: center;
    margin: var(--sffc-space-md) 0;
}

.sffc-system-text {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(27, 59, 47, 0.05);
    border-radius: 100px;
    font-size: 14px;
    color: var(--sffc-text-secondary);
}

/* Premium Typing Effect */
.typing-active::after {
    content: '|';
    color: var(--sffc-navy);
    animation: typingCursor 1.2s infinite;
    font-weight: 300;
    margin-left: 2px;
}

@keyframes typingCursor {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Typing indicator improvements */
.sffc-typing-indicator {
    position: absolute;
    bottom: 100%;
    left: 28px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 24px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    box-shadow: var(--sffc-shadow-elegant);
    border: 1px solid rgba(27, 59, 47, 0.06);
}

.sffc-typing-dot {
    width: 8px;
    height: 8px;
    background: var(--sffc-navy);
    border-radius: 50%;
    opacity: 0.3;
    animation: premiumTypingDot 1.6s infinite ease-in-out;
}

.sffc-typing-dot:nth-child(1) { animation-delay: 0s; }
.sffc-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.sffc-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes premiumTypingDot {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    30% {
        opacity: 1;
        transform: scale(1.3);
    }
}

.sffc-typing-text {
    font-size: 13px;
    color: var(--sffc-text-secondary);
    margin-left: 8px;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* FIXED: Senna Avatar Wrapper Styles */
.sffc-senna-avatar-wrapper {
    position: relative;
    width: 32px;
    height: 32px;
    margin-right: 16px;
    flex-shrink: 0;
}

.sffc-message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--sffc-cream-warm);
    border: 2px solid var(--sffc-gold-light);
}

/* Hide broken images */
.sffc-message-avatar[src=""],
.sffc-message-avatar:not([src]),
.sffc-message-avatar[src*="undefined"] {
    display: none;
}

/* Show fallback when image is hidden */
.sffc-message-avatar:not([src]) + .sffc-avatar-fallback,
.sffc-message-avatar[src=""] + .sffc-avatar-fallback,
.sffc-message-avatar[src*="undefined"] + .sffc-avatar-fallback {
    display: flex !important;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--sffc-gold);
    color: white;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 16px;
}

/* ========================================
   NEW: CONTEXTUAL RESPONSE VISUAL STYLES
   ======================================== */

/* Financial Model Types Visual - Build Skills Mode */
.sffc-financial-models-visual {
    background: var(--sffc-cream-light);
    border-radius: 16px;
    padding: var(--sffc-space-lg);
    margin: var(--sffc-space-md) 0;
    box-shadow: var(--sffc-shadow-luxury);
    border: 1px solid rgba(201, 169, 97, 0.15);
}

.sffc-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--sffc-space-md);
    margin-top: var(--sffc-space-md);
}

.sffc-model-card {
    background: white;
    border-radius: 12px;
    padding: var(--sffc-space-lg);
    box-shadow: var(--sffc-shadow-elegant);
    border: 1px solid rgba(27, 59, 47, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.sffc-model-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sffc-shadow-deep);
    border-color: var(--sffc-gold);
}

.sffc-model-icon {
    font-size: 28px;
    color: var(--sffc-gold);
    margin-bottom: var(--sffc-space-sm);
    text-align: center;
}

.sffc-model-content {
    text-align: center;
}

.sffc-model-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--sffc-navy);
    margin-bottom: var(--sffc-space-sm);
}

.sffc-model-complexity,
.sffc-model-usage,
.sffc-model-duration {
    font-size: 13px;
    color: var(--sffc-text-secondary);
    margin-bottom: 6px;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.sffc-model-usage {
    font-style: italic;
    color: var(--sffc-text-light);
}

/* Job Listings Visual - Opportunities Mode */
.sffc-job-listings-visual {
    background: var(--sffc-cream-light);
    border-radius: 16px;
    padding: var(--sffc-space-lg);
    margin: var(--sffc-space-md) 0;
    box-shadow: var(--sffc-shadow-luxury);
    border: 1px solid rgba(201, 169, 97, 0.15);
}

.sffc-jobs-list {
    margin-top: var(--sffc-space-md);
}

.sffc-job-card {
    background: white;
    border-radius: 12px;
    padding: var(--sffc-space-lg);
    margin-bottom: var(--sffc-space-md);
    box-shadow: var(--sffc-shadow-elegant);
    border: 1px solid rgba(27, 59, 47, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.sffc-job-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--sffc-shadow-deep);
    border-color: var(--sffc-gold);
}

.sffc-job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--sffc-space-sm);
    border-bottom: 1px solid rgba(27, 59, 47, 0.06);
    padding-bottom: var(--sffc-space-sm);
}

.sffc-job-firm {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--sffc-navy);
}

.sffc-job-match {
    background: var(--sffc-gold);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.sffc-job-role {
    font-size: 16px;
    font-weight: 500;
    color: var(--sffc-text-primary);
    margin-bottom: var(--sffc-space-xs);
}

.sffc-job-location,
.sffc-job-comp {
    font-size: 14px;
    color: var(--sffc-text-secondary);
    margin-bottom: var(--sffc-space-xs);
    font-weight: 300;
}

.sffc-job-requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: var(--sffc-space-sm) 0;
}

.sffc-requirement {
    background: var(--sffc-cream-warm);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    color: var(--sffc-text-secondary);
    font-weight: 300;
}

.sffc-job-urgency {
    font-size: 13px;
    color: var(--sffc-gold);
    font-weight: 500;
    font-style: italic;
    margin-top: var(--sffc-space-sm);
}

/* Market Headlines Card - Implementation Plan V2 Style */
.sffc-market-headlines-card {
    background: #FFFFFF;
    border-left: 4px solid var(--sffc-gold);
    padding: 0;
    margin: 20px 0;
}

.sffc-headlines-header {
    padding: 20px 24px;
    border-bottom: 2px solid var(--sffc-cream-depth);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sffc-headlines-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--sffc-navy);
    margin: 0;
}

.sffc-headlines-timestamp {
    font-size: 13px;
    color: var(--sffc-text-light);
    font-style: italic;
}

.sffc-headline-item {
    padding: 20px 24px;
    border-bottom: 1px solid var(--sffc-cream-warm);
    transition: all 0.3s ease;
}

.sffc-headline-item:hover {
    background: var(--sffc-cream-light);
    padding-left: 28px;
}

.sffc-headline-category {
    display: inline-block;
    padding: 4px 10px;
    background: var(--sffc-navy);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.sffc-category-breaking {
    background: #DC2626;
}

.sffc-category-fund-raise {
    background: var(--sffc-gold);
    color: var(--sffc-navy);
}

.sffc-category-talent-move {
    background: #059669;
}

.sffc-headline-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--sffc-navy);
    margin-bottom: 8px;
    line-height: 1.4;
}

.sffc-headline-summary {
    font-size: 14px;
    color: var(--sffc-text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.sffc-headline-impact {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: var(--sffc-cream-light);
    border-radius: 6px;
    font-size: 13px;
    color: var(--sffc-navy);
    margin-bottom: 12px;
}

.sffc-impact-icon {
    margin-right: 8px;
    color: var(--sffc-gold);
    font-weight: bold;
}

.sffc-headline-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--sffc-text-light);
}

.sffc-headline-firms {
    font-weight: 500;
    color: var(--sffc-navy-soft);
}

.sffc-headline-time {
    font-style: italic;
}

/* ULTRA PREMIUM Market Intelligence Feed - Financial Times/Bloomberg Style */
.sffc-market-intelligence-feed {
    background: linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%);
    border: 1px solid #E5E5E5;
    border-radius: 0; /* Sharp edges for newspaper feel */
    margin: var(--sffc-space-md) 0;
    font-family: 'Georgia', 'Times New Roman', serif; /* Classic financial publication font */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sffc-sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--sffc-space-md);
    margin-top: var(--sffc-space-md);
}

.sffc-sector-card {
    background: white;
    border-radius: 12px;
    padding: var(--sffc-space-lg);
    box-shadow: var(--sffc-shadow-elegant);
    border: 1px solid rgba(27, 59, 47, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.sffc-sector-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sffc-shadow-deep);
    border-color: var(--sffc-gold);
}

.sffc-sector-positive {
    border-left: 4px solid #22c55e;
}

.sffc-sector-negative {
    border-left: 4px solid #ef4444;
}

.sffc-sector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--sffc-space-md);
    border-bottom: 1px solid rgba(27, 59, 47, 0.06);
    padding-bottom: var(--sffc-space-sm);
}

.sffc-sector-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--sffc-navy);
}

.sffc-sector-performance {
    font-size: 16px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    background: var(--sffc-cream-warm);
}

.sffc-sector-positive .sffc-sector-performance {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.sffc-sector-negative .sffc-sector-performance {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.sffc-sector-metrics {
    margin-bottom: var(--sffc-space-sm);
}

.sffc-sector-metric {
    font-size: 14px;
    color: var(--sffc-text-secondary);
    margin-bottom: 6px;
    font-weight: 300;
}

.sffc-sector-trend {
    font-size: 13px;
    color: var(--sffc-text-light);
    font-style: italic;
    padding: var(--sffc-space-sm);
    background: var(--sffc-cream-warm);
    border-radius: 8px;
}

/* Pros/Cons Table Visual - Career Mode */
.sffc-proscons-visual {
    background: var(--sffc-cream-light);
    border-radius: 16px;
    padding: var(--sffc-space-lg);
    margin: var(--sffc-space-md) 0;
    box-shadow: var(--sffc-shadow-luxury);
    border: 1px solid rgba(201, 169, 97, 0.15);
}

.sffc-proscons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sffc-space-lg);
    margin-top: var(--sffc-space-md);
}

@media (max-width: 768px) {
    .sffc-proscons-grid {
        grid-template-columns: 1fr;
        gap: var(--sffc-space-md);
    }
}

.sffc-pros-section,
.sffc-cons-section {
    background: white;
    border-radius: 12px;
    padding: var(--sffc-space-lg);
    box-shadow: var(--sffc-shadow-elegant);
}

.sffc-pros-section {
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-left: 4px solid #22c55e;
}

.sffc-cons-section {
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-left: 4px solid #ef4444;
}

.sffc-pros-title,
.sffc-cons-title {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--sffc-space-md);
    color: var(--sffc-navy);
}

.sffc-pros-title {
    color: #22c55e;
}

.sffc-cons-title {
    color: #ef4444;
}

.sffc-pros-list,
.sffc-cons-list {
    space-y: var(--sffc-space-xs);
}

.sffc-pro-item,
.sffc-con-item {
    font-size: 14px;
    color: var(--sffc-text-secondary);
    margin-bottom: var(--sffc-space-xs);
    font-weight: 300;
    line-height: 1.6;
    padding-left: var(--sffc-space-sm);
}

.sffc-proscons-recommendation {
    background: var(--sffc-gold-light);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 12px;
    padding: var(--sffc-space-lg);
    margin-top: var(--sffc-space-lg);
    font-size: 15px;
    color: var(--sffc-navy);
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
}

/* Common Visual Title Styling */
.sffc-visual-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--sffc-navy);
    text-align: center;
    margin-bottom: var(--sffc-space-md);
    letter-spacing: -0.02em;
}

/* Responsive Design for New Visuals */
@media (max-width: 1024px) {
    .sffc-models-grid,
    .sffc-sectors-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--sffc-space-sm);
    }
    
    .sffc-financial-models-visual,
    .sffc-job-listings-visual,
    .sffc-market-sectors-visual,
    .sffc-proscons-visual {
        padding: var(--sffc-space-md);
        margin: var(--sffc-space-sm) 0;
    }
}

@media (max-width: 768px) {
    .sffc-models-grid,
    .sffc-sectors-grid {
        grid-template-columns: 1fr;
    }
    
    .sffc-job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sffc-space-xs);
    }
    
    .sffc-job-requirements {
        flex-direction: column;
        gap: 4px;
    }
    
    .sffc-sector-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sffc-space-xs);
    }
    
    .sffc-visual-title {
        font-size: 20px;
    }
}