/* Header - dark theme to match preview page */
    .header {
        background: rgba(13, 8, 31, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 12px 24px;
        position: sticky;
        top: 0;
        z-index: 100;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 2px 12px rgba(0,0,0,0.1);
        min-height: 56px;
        height: 56px;
        box-sizing: border-box;
        flex-shrink: 0;
    }
    
    .header-left {
        display: flex;
        align-items: center;
        gap: 16px;
    }
    
    .back-button {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        background: rgba(255,255,255,0.15);
        border: none;
        border-radius: 8px;
        color: rgba(255,255,255,0.95);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.2s;
    }
    
    .back-button:hover {
        background: rgba(255,255,255,0.25);
        color: white;
    }
    
    .idea-title-header {
        font-size: 18px;
        font-weight: 500;
        color: rgba(255,255,255,0.95);
        max-width: 350px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .info-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background: rgba(255,255,255,0.15);
        border: none;
        border-radius: 6px;
        color: rgba(255,255,255,0.95);
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .info-button:hover {
        background: rgba(255,255,255,0.25);
        color: white;
    }
    
    .header-right {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .save-button, .menu-button {
        padding: 6px 12px;
        margin-bottom: 5px;
        background: #1a73e8;
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
    }
    .menu-button {
        margin-bottom: 0;
    }
    
    .menu-button.download-button-report {
        background: #FF3366;
        box-shadow: 0 2px 8px rgba(255,51,102,0.3);
    }
    .menu-button.download-button-report:hover {
        background: #ff1f57;
        box-shadow: 0 4px 12px rgba(255,51,102,0.4);
    }
    
    .save-button:hover {
        background: #1557b0;
    }
    
    .save-button:disabled {
        background: #dadce0;
        cursor: not-allowed;
    }
    
    .create-report-button {
        padding: 8px 16px;
        background: #10b981;
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    
    .create-report-button:hover {
        background: #059669;
        text-decoration: none;
        color: white;
    }
    
    /* Profile icon and dropdown trigger on dark header */
    .header .relative button {
        color: rgba(255,255,255,0.9);
    }
    .header .relative button:hover {
        color: white;
        background: rgba(255,255,255,0.15);
    }
    .header .relative img {
        border-color: rgba(255,255,255,0.4);
    }
    
    /* Header Add dropdown (circle-plus: + Report / + Presentation) */
    .header-add-dropdown-wrapper {
        position: relative;
    }
    .header-add-dropdown-trigger {
        cursor: pointer;
    }
    .header-add-dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        margin-top: 4px;
        min-width: 180px;
        background: white;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 200;
        padding: 4px 0;
    }
    .header-add-dropdown-menu.header-add-dropdown-open {
        display: block;
    }
    .header-add-dropdown-item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        font-size: 14px;
        color: #202124;
        text-decoration: none;
        cursor: pointer;
        transition: background 0.15s;
        border: none;
        background: none;
        width: 100%;
        text-align: left;
    }
    .header-add-dropdown-item:hover {
        background: #f1f3f4;
    }
    .header-add-dropdown-item-disabled {
        color: #9ca3af;
        cursor: not-allowed;
    }
    .header-add-dropdown-item-disabled:hover {
        background: transparent;
    }
    
    /* Tab Navigation */
    .tab-nav {
        background: white;
        border-bottom: 1px solid #dadce0;
        padding: 0 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: sticky;
        top: 56px;
        z-index: 99;
        min-height: 56px;
        box-sizing: border-box;
        flex-shrink: 0;
        flex-wrap: nowrap;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    .tab-nav-left {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        flex-shrink: 0;
        min-width: 0;
        overflow-x: auto;
    }
    
    .tab-nav-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
        margin-left: auto;
        flex-shrink: 0;
    }
    
    .tab-button {
        padding: 12px 24px;
        background: transparent;
        border: none;
        border-bottom: 2px solid transparent;
        color: #5f6368;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .tab-button:hover {
        color: #202124;
        background: #f8f9fa;
    }
    
    .tab-button.active {
        color: #1a73e8;
        border-bottom-color: #1a73e8;
        background: #f8f9fa;
    }
    
    /* Main Content */
    .main-content {
        display: flex;
        min-height: calc(100vh - 112px);
        position: relative;
    }
    
    .sidebar {
        width: 350px;
        background: white;
        border-right: 1px solid #dadce0;
        padding: 12px;
        overflow-y: auto;
        height: calc(100vh - 112px);
        position: fixed;
        top: 112px;
        left: 0;
        padding-bottom: 80px; /* Add space for footer */
    }
    
    /* Report view page: sidebar in flow on desktop (not fixed) */
    .reports-management-view .sidebar {
        position: static;
        width: 20rem;
        flex-shrink: 0;
        height: auto;
        min-height: 100vh;
        top: auto;
        left: auto;
        padding-bottom: 1rem;
    }
    .reports-management-view .content-area {
        margin-left: 0;
    }
    
    .sidebar-section {
        margin-bottom: 24px;
    }
    
    .sidebar-title {
        font-size: 14px;
        font-weight: 500;
        color: #5f6368;
        margin-bottom: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .idea-info {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .idea-title {
        font-size: 16px;
        font-weight: 500;
        color: #202124;
        margin-bottom: 8px;
    }
    
    .idea-description {
        font-size: 14px;
        color: #5f6368;
        line-height: 1.4;
    }
    
    /* Sharing Information Styles */
    .sharing-info {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .sharing-section {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 16px;
    }
    
    .sharing-section-title {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: 600;
        color: #5f6368;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 12px;
    }
    
    .sharing-section-title i {
        color: #8b5cf6;
        font-size: 12px;
    }
    
    .sharing-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 8px 0;
    }
    
    .sharing-avatar {
        width: 32px;
        height: 32px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 600;
        font-size: 14px;
        flex-shrink: 0;
    }
    
    .sharing-avatar.consultant {
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    }
    
    .sharing-avatar.team {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        font-size: 12px;
    }
    
    .sharing-details {
        flex: 1;
        min-width: 0;
    }
    
    .sharing-name {
        font-size: 14px;
        font-weight: 500;
        color: #202124;
        margin-bottom: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .sharing-role {
        font-size: 12px;
        color: #5f6368;
        margin-bottom: 2px;
    }
    
    .sharing-description {
        font-size: 12px;
        color: #5f6368;
        margin-bottom: 2px;
        line-height: 1.3;
    }
    
    .sharing-date {
        font-size: 11px;
        color: #9aa0a6;
    }
    
    .no-sharing-info {
        text-align: center;
        padding: 24px 16px;
        color: #5f6368;
    }
    
    .no-sharing-info i {
        font-size: 24px;
        margin-bottom: 8px;
        opacity: 0.5;
    }
    
    .no-sharing-info p {
        font-size: 14px;
        margin: 0;
    }
    
    .metrics {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .metric {
        background: #f8f9fa;
        border-radius: 6px;
        padding: 12px;
        text-align: center;
    }
    
    .metric-value {
        font-size: 18px;
        font-weight: 500;
        color: #1a73e8;
    }
    
    .metric-label {
        font-size: 12px;
        color: #5f6368;
        margin-top: 4px;
    }
    
    /* AI Assistant in Main Content - Compact and Collapsible */
    .ai-assistant-compact {
        background: white;
        border: 1px solid #dadce0;
        border-radius: 8px;
        margin-bottom: 16px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    
    .ai-assistant-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        background: #f8f9fa;
        cursor: pointer;
        transition: all 0.2s;
        border-bottom: 1px solid #dadce0;
    }
    
    .ai-assistant-toggle:hover {
        background: #e8eaed;
    }
    
    .ai-assistant-toggle-left {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: 500;
        color: #202124;
    }
    
    .ai-assistant-toggle-left i {
        color: #8b5cf6;
        font-size: 16px;
    }
    
    .ai-assistant-toggle-right {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .ai-assistant-toggle-right .ai-assistant-chevron {
        color: #5f6368;
        font-size: 12px;
        transition: transform 0.2s;
    }
    
    .ai-assistant-toggle.expanded .ai-assistant-toggle-right .ai-assistant-chevron {
        transform: rotate(180deg);
    }
    
    .ai-assistant-header-btn {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 4px 10px;
        border: none;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
        white-space: nowrap;
    }
    
    .ai-assistant-header-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }
    
    .ai-assistant-header-btn .spinner {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }
    
    .ai-assistant-header-btn-context {
        background: #10b981;
        color: white;
    }
    
    .ai-assistant-header-btn-context:hover:not(:disabled) {
        background: #059669;
    }
    
    .ai-assistant-header-btn-generate {
        background: #8b5cf6;
        color: white;
    }
    
    .ai-assistant-header-btn-generate:hover:not(:disabled) {
        background: #7c3aed;
    }
    
    .ai-assistant-content {
        padding: 16px;
        background: white;
    }
    
    /* AI Assistant pills (AI Editor | Analyze) */
    .ai-assistant-pills {
        display: flex;
        gap: 4px;
        flex-wrap: wrap;
    }
    .ai-assistant-pill {
        padding: 6px 14px;
        font-size: 13px;
        font-weight: 500;
        border: 1px solid #dadce0;
        border-radius: 9999px;
        background: #f8f9fa;
        color: #5f6368;
        cursor: pointer;
        transition: background 0.2s, color 0.2s, border-color 0.2s;
    }
    .ai-assistant-pill:hover {
        background: #e8eaed;
        color: #202124;
    }
    .ai-assistant-pill.active {
        background: #8b5cf6;
        color: white;
        border-color: #8b5cf6;
    }
    .ai-assistant-panel {
        margin-top: 0;
    }
    .ai-analyze-form label {
        display: block;
    }
    
    /* Section Analyses collapsible */
    .section-analyses-compact {
        background: white;
        border: 1px solid #dadce0;
        border-radius: 8px;
        margin-bottom: 16px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    .section-analyses-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        background: #f8f9fa;
        cursor: pointer;
        transition: background 0.2s;
        border-bottom: 1px solid transparent;
    }
    .section-analyses-toggle:hover {
        background: #e8eaed;
    }
    .section-analyses-toggle-left {
        display: flex;
        align-items: center;
        font-size: 14px;
        font-weight: 500;
        color: #202124;
    }
    .section-analyses-toggle-left i {
        color: #8b5cf6;
        margin-right: 8px;
        font-size: 16px;
    }
    .section-analyses-chevron {
        color: #5f6368;
        font-size: 12px;
        transition: transform 0.2s;
    }
    .section-analyses-compact.expanded .section-analyses-chevron {
        transform: rotate(180deg);
    }
    .section-analyses-content {
        padding: 16px;
        background: white;
        border-top: 1px solid #dadce0;
    }
    
    .ai-edit-panel-compact {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        align-items: flex-end;
    }
    
    .ai-edit-textarea-compact {
        flex: 1;
        min-height: 60px;
        max-height: 120px;
        padding: 8px 12px;
        border: 1px solid #dadce0;
        border-radius: 6px;
        font-size: 14px;
        font-family: inherit;
        resize: vertical;
        background: white;
    }
    
    .ai-edit-textarea-compact:focus {
        outline: none;
        border-color: #1a73e8;
        box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
    }
    
    .ai-edit-button-compact {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 8px 16px;
        background: #8b5cf6;
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
        white-space: nowrap;
        height: 36px;
    }
    
    .ai-edit-button-compact:hover {
        background: #7c3aed;
    }
    
    .ai-edit-button-compact:disabled {
        background: #dadce0;
        cursor: not-allowed;
    }
    
    .ai-edit-panel {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 8px;
    }
    
    .ai-edit-textarea {
        width: 100%;
        min-height: 100px;
        padding: 8px;
        border: 1px solid #dadce0;
        border-radius: 4px;
        font-size: 12px;
        font-family: inherit;
        resize: vertical;
        background: white;
        margin-bottom: 8px;
    }
    
    .ai-edit-textarea:focus {
        outline: none;
        border-color: #1a73e8;
        box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
    }
    
    .ai-edit-button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        padding: 8px 12px;
        background: #8b5cf6;
        color: white;
        border: none;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .ai-edit-button:hover {
        background: #7c3aed;
    }
    
    .ai-edit-button:disabled {
        background: #dadce0;
        cursor: not-allowed;
    }
    
    /* Agentic AI Styles */
    .ai-assistant-options {
        margin-top: 8px;
        margin-bottom: 8px;
    }
    
    .ai-assistant-options-agentic {
        display: block;
        flex-basis: 100%;
        width: 100%;
        margin-top: 10px;
        margin-bottom: 4px;
    }
    
    .agentic-ai-checkbox-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        color: #5f6368;
        cursor: pointer;
    }
    
    .agentic-ai-checkbox-label input[type="checkbox"] {
        cursor: pointer;
    }
    
    .agentic-cost-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 2px 6px;
        font-size: 11px;
        font-weight: 600;
        color: #b45309;
        background: #fef3c7;
        border-radius: 4px;
    }
    
    .agentic-ai-modal {
        display: block;
        position: fixed;
        z-index: 10000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        overflow-y: auto;
    }
    
    .agentic-ai-modal-content {
        background-color: white;
        margin: 40px auto;
        padding: 0;
        border-radius: 8px;
        width: 90%;
        max-width: 900px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        max-height: calc(100vh - 80px);
    }
    
    .agentic-ai-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 24px;
        border-bottom: 1px solid #dadce0;
    }
    
    .agentic-ai-modal-header h2 {
        margin: 0;
        font-size: 20px;
        font-weight: 500;
        color: #202124;
    }
    
    .agentic-ai-close {
        background: none;
        border: none;
        font-size: 28px;
        color: #5f6368;
        cursor: pointer;
        padding: 0;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
        transition: all 0.2s;
    }
    
    .agentic-ai-close:hover {
        background: #f1f3f4;
        color: #202124;
    }
    
    .agentic-ai-modal-body {
        padding: 24px;
        overflow-y: auto;
        flex: 1;
    }
    
    .agentic-ai-loading {
        text-align: center;
        padding: 40px;
        color: #5f6368;
    }
    
    .agentic-ai-loading i {
        font-size: 32px;
        margin-bottom: 16px;
        color: #8b5cf6;
    }
    
    .agentic-ai-questions {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .agentic-ai-question-block {
        border: 1px solid #dadce0;
        border-radius: 8px;
        padding: 16px;
        background: white;
        transition: all 0.2s;
    }
    
    .agentic-ai-question-block.question-disabled {
        opacity: 0.5;
        background: #f8f9fa;
    }
    
    .agentic-ai-question-header {
        margin-bottom: 12px;
    }
    
    .agentic-ai-question-checkbox {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: 500;
        color: #202124;
        cursor: pointer;
    }
    
    .agentic-ai-question-checkbox input[type="checkbox"] {
        cursor: pointer;
    }
    
    .agentic-ai-question-text {
        font-size: 15px;
        color: #202124;
        margin: 12px 0;
        line-height: 1.5;
    }
    
    .agentic-ai-answer-section {
        margin-top: 12px;
    }
    
    .agentic-ai-answer-options {
        display: flex;
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .agentic-ai-answer-btn,
    .agentic-ai-manual-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 16px;
        background: #f1f3f4;
        border: 1px solid #dadce0;
        border-radius: 6px;
        font-size: 14px;
        color: #202124;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .agentic-ai-answer-btn:hover,
    .agentic-ai-manual-btn:hover {
        background: #e8eaed;
        border-color: #bdc1c6;
    }
    
    .agentic-ai-answer-container {
        margin-top: 12px;
    }
    
    .agentic-ai-loading-answer {
        text-align: center;
        padding: 20px;
        color: #5f6368;
    }
    
    .agentic-ai-loading-answer i {
        font-size: 20px;
        margin-right: 8px;
        color: #8b5cf6;
    }
    
    .agentic-ai-answer-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .agentic-ai-answer-card {
        border: 2px solid #dadce0;
        border-radius: 8px;
        padding: 16px;
        cursor: pointer;
        transition: all 0.2s;
        background: white;
    }
    
    .agentic-ai-answer-card:hover {
        border-color: #8b5cf6;
        box-shadow: 0 2px 4px rgba(139, 92, 246, 0.2);
    }
    
    .agentic-ai-answer-card.selected {
        border-color: #8b5cf6;
        background: #f3f4f6;
        box-shadow: 0 2px 4px rgba(139, 92, 246, 0.3);
    }
    
    .agentic-ai-answer-card-header {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: 500;
        color: #202124;
        margin-bottom: 12px;
    }
    
    .agentic-ai-answer-card-header i {
        color: #8b5cf6;
    }
    
    .agentic-ai-answer-card-content {
        font-size: 14px;
        color: #5f6368;
        line-height: 1.5;
    }
    
    .agentic-ai-manual-answer {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .agentic-ai-manual-textarea {
        width: 100%;
        min-height: 100px;
        padding: 12px;
        border: 1px solid #dadce0;
        border-radius: 6px;
        font-size: 14px;
        font-family: inherit;
        resize: vertical;
    }
    
    .agentic-ai-manual-textarea:focus {
        outline: none;
        border-color: #1a73e8;
        box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
    }
    
    .agentic-ai-save-manual-btn {
        align-self: flex-start;
        padding: 8px 16px;
        background: #1a73e8;
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .agentic-ai-save-manual-btn:hover {
        background: #1557b0;
    }
    
    .agentic-ai-manual-saved {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        background: #e8f5e9;
        border-radius: 6px;
        font-size: 14px;
        color: #2e7d32;
        margin-bottom: 8px;
    }
    
    .agentic-ai-manual-saved i {
        color: #4caf50;
    }
    
    .agentic-ai-edit-manual-btn {
        margin-left: auto;
        padding: 4px 12px;
        background: white;
        border: 1px solid #dadce0;
        border-radius: 4px;
        font-size: 12px;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .agentic-ai-edit-manual-btn:hover {
        background: #f1f3f4;
    }
    
    .agentic-ai-manual-answer-display {
        padding: 12px;
        background: #f8f9fa;
        border-radius: 6px;
        font-size: 14px;
        color: #202124;
        line-height: 1.5;
    }
    
    .agentic-ai-error {
        padding: 12px;
        background: #ffebee;
        border: 1px solid #ef5350;
        border-radius: 6px;
        color: #c62828;
        font-size: 14px;
    }
    
    .agentic-ai-modal-footer {
        display: flex;
        justify-content: flex-end;
        gap: 12px;
        padding: 20px 24px;
        border-top: 1px solid #dadce0;
    }
    
    .agentic-ai-btn-primary,
    .agentic-ai-btn-secondary {
        padding: 10px 20px;
        border: none;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .agentic-ai-btn-primary {
        background: #8b5cf6;
        color: white;
    }
    
    .agentic-ai-btn-primary:hover:not(:disabled) {
        background: #7c3aed;
    }
    
    .agentic-ai-btn-primary:disabled {
        background: #dadce0;
        cursor: not-allowed;
    }
    
    .agentic-ai-btn-secondary {
        background: #f1f3f4;
        color: #202124;
    }
    
    .agentic-ai-btn-secondary:hover {
        background: #e8eaed;
    }
    
    @media (max-width: 768px) {
        .agentic-ai-modal-content {
            width: 95%;
            margin: 20px auto;
            max-height: calc(100vh - 40px);
        }
        
        .agentic-ai-answer-cards {
            grid-template-columns: 1fr;
        }
    }
    
    .sidebar-tabs {
        display: flex;
        border-bottom: 1px solid #dadce0;
        margin-bottom: 20px;
    }
    
    .sidebar-tab {
        flex: 1;
        padding: 8px 12px;
        background: transparent;
        border: none;
        border-bottom: 2px solid transparent;
        color: #5f6368;
        font-size: 12px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
    }
    
    .sidebar-tab:hover {
        color: #202124;
        background: #f8f9fa;
    }
    
    .sidebar-tab.active {
        color: #1a73e8;
        border-bottom-color: #1a73e8;
        background: #f8f9fa;
    }
    
    .sidebar-tab-content {
        display: none;
    }
    
    .sidebar-tab-content.active {
        display: block;
    }
    
    .sections-list {
        max-height: 400px;
        overflow-y: auto;
    }
    
    .section-link {
        display: block;
        padding: 12px;
        background: #f8f9fa;
        border-radius: 6px;
        color: #202124;
        text-decoration: none;
        margin-bottom: 8px;
        transition: all 0.2s;
        border: 1px solid transparent;
    }
    
    .section-link:hover {
        background: #e8eaed;
        border-color: #dadce0;
    }
    
    .section-link.active {
        background: #e3f2fd;
        border-color: #1a73e8;
        color: #1a73e8;
    }
    
    .section-link-title {
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 4px;
    }
    
    .section-link-summary {
        font-size: 12px;
        color: #5f6368;
        line-height: 1.3;
    }
    
    .content-area {
        flex: 1;
        margin-left: 350px;
        background: #f8f9fa;
        min-height: calc(100vh - 112px);
        padding: 6px 24px;
        padding-bottom: 80px; /* Add space for footer */
    }
    
    .content-container {
        background: white;
        border-radius: 8px;
        padding: 32px;
        padding-bottom: 120px; /* Add extra bottom padding to account for status bar */
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        min-height: 500px;
    }

    /* Edit tab: reduce top padding so rating stars sit near top of panel */
    .content-container.edit-tab-active {
        padding-top: 16px;
    }

    .content-container.edit-tab-active .template-ratings-container {
        margin-top: 0;
        padding-top: 0;
    }

    /* Template rating stars: spacing from content above (View) and space below before textarea */
    .template-ratings-container {
        margin-bottom: 1rem;
    }
    
    .preview-content {
        line-height: 1.6;
        color: #202124;
        font-size: 16px;
        padding-bottom: 40px; /* Add bottom padding to ensure last paragraph is visible */
    }
    
    .preview-content h1 {
        font-size: 28px;
        font-weight: 700;
        color: #202124;
        margin-bottom: 16px;
        margin-top: 0;
        line-height: 1.2;
    }
    
    .preview-content h2 {
        font-size: 24px;
        font-weight: 600;
        color: #202124;
        margin-bottom: 12px;
        margin-top: 24px;
    }
    
    .preview-content h3 {
        font-size: 20px;
        font-weight: 600;
        color: #202124;
        margin-bottom: 8px;
        margin-top: 10px;
    }
    
    .preview-content p {
        margin-bottom: 16px;
    }
    
    .preview-content > *:last-child {
        margin-bottom: 32px; /* Ensure last element has enough bottom margin */
    }
    
    .preview-content ul, .preview-content ol {
        margin-bottom: 16px;
        padding-left: 24px;
    }
    
    .preview-content li {
        margin-bottom: 8px;
    }
    
    .preview-content strong {
        font-weight: 600;
        color: #202124;
    }
    
    .preview-content em {
        font-style: italic;
        color: #5f6368;
    }
    
    .preview-content a {
        color: #1a73e8;
        text-decoration: none;
        border-bottom: 1px solid transparent;
        transition: border-color 0.2s;
    }
    
    .preview-content a:hover {
        border-bottom-color: #1a73e8;
    }
    
    .preview-content mark {
        background: #fef3c7;
        color: #92400e;
        padding: 2px 4px;
        border-radius: 2px;
    }
    
    .preview-content blockquote {
        border-left: 4px solid #1a73e8;
        padding-left: 16px;
        margin: 16px 0;
        color: #5f6368;
        font-style: italic;
        background: #f8f9fa;
        padding: 12px 16px;
        border-radius: 0 4px 4px 0;
    }
    
    .preview-content table.preview-content-table,
    .preview-content .preview-content-table {
        width: 100%;
        border-collapse: collapse;
        margin: 16px 0;
        font-size: 15px;
    }
    
    .preview-content .preview-content-table th,
    .preview-content .preview-content-table td {
        border: 1px solid #e5e7eb;
        padding: 10px 14px;
        text-align: left;
    }
    
    .preview-content .preview-content-table th {
        background: #f8f9fa;
        font-weight: 600;
        color: #202124;
    }
    
    .preview-content .preview-content-table tr:nth-child(even) {
        background: #fafafa;
    }
    
    .preview-content .preview-content-table tbody tr:hover {
        background: #f1f3f4;
    }
    
    .preview-content ol {
        counter-reset: item;
        list-style: none;
    }
    
    .preview-content ol > li {
        counter-increment: item;
        margin-bottom: 12px;
        position: relative;
    }
    
    .preview-content ol > li::before {
        content: counter(item);
        position: absolute;
        left: -32px;
        top: 0;
        background: #1a73e8;
        color: white;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 600;
    }
    
    .preview-content ol > li ul {
        margin-top: 8px;
        margin-left: 16px;
    }
    
    .preview-content ol > li ul > li {
        margin-bottom: 4px;
        position: relative;
    }
    
    .preview-content ol > li ul > li::before {
        content: "•";
        position: absolute;
        left: -16px;
        color: #1a73e8;
        font-weight: bold;
    }
    
    .preview-content ol > li > strong {
        display: block;
        font-size: 16px;
        font-weight: 600;
        color: #202124;
        margin-bottom: 4px;
    }
    
    .preview-content ul:not(ol li ul) {
        list-style: none;
        padding-left: 0;
    }
    
    .preview-content ul:not(ol li ul) > li {
        margin-bottom: 8px;
        position: relative;
        padding-left: 20px;
    }
    
    .preview-content ul:not(ol li ul) > li::before {
        content: "•";
        position: absolute;
        left: 0;
        color: #1a73e8;
        font-weight: bold;
    }
    
    .preview-content .section-group {
        margin-bottom: 24px;
    }
    
    .preview-content .section-subtitle {
        font-size: 18px;
        font-weight: 600;
        color: #202124;
        margin-bottom: 12px;
        border-bottom: 2px solid #e8eaed;
        padding-bottom: 8px;
    }
    
    .preview-content .section-bullets {
        list-style: none;
        padding-left: 0;
    }
    
    .preview-content .section-bullets > li {
        margin-bottom: 12px;
        position: relative;
        padding-left: 24px;
    }
    
    .preview-content .section-bullets > li::before {
        content: "→";
        position: absolute;
        left: 0;
        color: #1a73e8;
        font-weight: bold;
    }
    
    .preview-content h4 {
        font-size: 18px;
        font-weight: 600;
        color: #202124;
        margin-bottom: 8px;
        margin-top: 16px;
    }
    
    .preview-content h5 {
        font-size: 16px;
        font-weight: 600;
        color: #202124;
        margin-bottom: 6px;
        margin-top: 12px;
    }
    
    .edit-content {
        display: none;
    }
    
    .edit-textarea {
        width: 100%;
        min-height: 500px;
        padding: 16px;
        border: 1px solid #dadce0;
        border-radius: 8px;
        font-size: 16px;
        font-family: inherit;
        line-height: 1.6;
        resize: vertical;
        background: white;
    }
    
    .edit-textarea:focus {
        outline: none;
        border-color: #1a73e8;
        box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
    }
    
    .status-bar {
        position: fixed;
        bottom: 20px;
        left: 280px; /* Account for sidebar width */
        right: 20px;
        background: white;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 12px 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 13px;
        color: #6b7280;
        z-index: 100;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(8px);
        background: rgba(255, 255, 255, 0.95);
    }
    
    .status-left {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    
    .status-item {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 4px 8px;
        border-radius: 6px;
        transition: all 0.2s ease;
    }
    
    .status-item:hover {
        background: #f3f4f6;
    }
    
    .status-item i {
        font-size: 11px;
    }
    
    .status-item span {
        font-weight: 500;
    }
    
    /* Mobile responsive styles for status bar */
    @media (max-width: 768px) {
        .status-bar {
            left: 0;
            padding: 10px 16px;
            font-size: 12px;
            bottom: 56px; /* Above fixed site footer (~50px on mobile) */
        }
        
        .status-left {
            gap: 12px;
        }
        
        .status-item {
            gap: 4px;
            padding: 3px 6px;
        }
        
        .status-item span {
            font-size: 11px;
        }
    }
    
    @media (max-width: 480px) {
        .status-bar {
            padding: 8px 12px;
            flex-wrap: nowrap;
            align-items: center;
            gap: 8px;
            bottom: 56px; /* Above fixed site footer */
        }
        
        .status-left {
            gap: 8px;
            flex-shrink: 0;
        }
        
        .status-item {
            font-size: 10px;
            white-space: nowrap;
            flex-shrink: 0;
        }
    }
    
    /* Ensure content doesn't get hidden behind status bar */
    .content-area {
        padding-bottom: 100px;
    }
    
    /* Status bar animations */
    .status-bar {
        animation: slideUp 0.3s ease-out;
    }
    
    @keyframes slideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
    
    /* Modal Styles */
    .modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }
    
    .modal-content {
        background: white;
        border-radius: 12px;
        max-width: 500px;
        width: 90%;
        max-height: 80vh;
        overflow-y: auto;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }
    
    .modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 24px;
        border-bottom: 1px solid #dadce0;
    }
    
    .modal-header h3 {
        font-size: 18px;
        font-weight: 600;
        color: #202124;
        margin: 0;
    }
    
    .modal-close {
        background: none;
        border: none;
        font-size: 18px;
        color: #5f6368;
        cursor: pointer;
        padding: 4px;
        border-radius: 4px;
        transition: all 0.2s;
    }
    
    .modal-close:hover {
        background: #f1f3f4;
        color: #202124;
    }
    
    .modal-body {
        padding: 24px;
    }
    
    .idea-detail-section {
        margin-bottom: 20px;
    }
    
    .idea-detail-section h4 {
        font-size: 14px;
        font-weight: 600;
        color: #5f6368;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 8px;
    }
    
    .idea-detail-section p {
        font-size: 16px;
        color: #202124;
        line-height: 1.5;
        margin: 0;
    }
    
    .idea-metrics {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .idea-metric {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 12px;
        background: #f8f9fa;
        border-radius: 6px;
    }
    
    .idea-metric .metric-label {
        font-size: 14px;
        color: #5f6368;
        margin: 0;
    }
    
    .idea-metric .metric-value {
        font-size: 14px;
        font-weight: 600;
        color: #1a73e8;
        margin: 0;
    }
    
    @media (max-width: 1024px) {
        .sidebar {
            width: 250px;
        }
        
        .content-area {
            margin-left: 250px;
        }
        
        .content-container {
            padding: 24px;
        }
    }
    
    /* Mobile Menu Button */
    .mobile-menu-button {
        display: none;
        position: fixed;
        top: 95px;
        left: 16px;
        z-index: 1000;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        background: #1a73e8;
        color: white;
        border: none;
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .mobile-menu-toggle:hover {
        background: #1557b0;
        transform: scale(1.05);
    }
    
    /* Mobile Drawer Overlay */
    .mobile-drawer-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-drawer-overlay-active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Mobile Drawer Close Button */
    .mobile-drawer-close {
        display: none;
        position: absolute;
        top: 16px;
        right: 16px;
        z-index: 1001;
    }
    
    .mobile-close-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background: #f1f3f4;
        color: #5f6368;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .mobile-close-button:hover {
        background: #e8eaed;
        color: #202124;
    }
    
    @media (max-width: 768px) {
        .mobile-menu-button {
            display: block;
        }
        
        .main-content {
            flex-direction: column;
        }
        
        .sidebar {
            position: fixed;
            top: 0;
            left: -300px;
            width: 300px;
            height: 100vh;
            background: white;
            border-right: 1px solid #dadce0;
            padding: 16px;
            overflow-y: auto;
            z-index: 1000;
            transition: transform 0.3s ease;
            box-shadow: 2px 0 8px rgba(0,0,0,0.1);
        }
        
        .sidebar.mobile-drawer-open {
            transform: translateX(300px);
        }
        
        .mobile-drawer-close {
            display: block;
        }
        
        .content-area {
            margin-left: 0;
            padding: 16px;
            width: 100%;
        }
        
        .content-container {
            padding: 16px;
            padding-bottom: 120px; /* Add extra bottom padding to account for status bar */
        }
        
        .header {
            padding: 8px 0px;
        }
        
        /* Adjust tab navigation for mobile - keep single row, tabs scroll if needed */
        .tab-nav {
            flex-direction: row;
            flex-wrap: nowrap;
            gap: 0;
        }
        
        .tab-nav-left {
            flex-wrap: nowrap;
            gap: 4px;
        }
        
        .tab-nav-right {
            justify-content: flex-end;
        }
        
        .tab-button {
            font-size: 12px;
            padding: 6px 10px;
        }
        
        /* Mobile sidebar content optimizations */
        .sidebar-section {
            padding-top: 60px; /* Make room for close button */
        }
        
        .sections-list {
            max-height: calc(100vh - 200px);
            overflow-y: auto;
        }
        
        .section-item {
            padding: 8px 0;
        }
        
        .section-link {
            padding: 8px 12px;
        }
        
        .sharing-item {
            padding: 8px 0;
        }
        
        /* Reports management create page: prevent menu overlap, compact sections */
        .reports-management-create .content-area {
            padding-top: 16px;
            padding-left: 12px;
            padding-right: 12px;
            padding-bottom: 12px;
        }
        .reports-management-create .content-container {
            padding: 12px;
            padding-top: 8px;
        }
        .reports-management-create .template-tabs-wrap {
            margin-bottom: 1rem;
        }
        .reports-management-create .template-tabs-wrap .inline-flex {
            max-width: 100%;
        }
        .reports-management-create .template-tab {
            padding: 6px 10px;
            font-size: 13px;
        }
        .reports-management-create .template-tab-badge {
            min-width: 1.1rem;
            height: 1.1rem;
            font-size: 0.65rem;
        }
        .reports-management-create .template-cards-grid {
            gap: 12px;
        }
        
        /* Report view page: mobile drawer + main panel spacing */
        .reports-management-view .sidebar {
            position: fixed;
            top: 0;
            left: -300px;
            width: 300px;
            height: 100vh;
            background: #f9fafb;
            border-right: 1px solid #e5e7eb;
            padding: 16px;
            overflow-y: auto;
            z-index: 1000;
            transition: transform 0.3s ease;
            box-shadow: 2px 0 8px rgba(0,0,0,0.1);
        }
        .reports-management-view .sidebar.mobile-drawer-open {
            transform: translateX(300px);
        }
        .reports-management-view .content-area {
            padding-top: 72px;
            padding-left: 52px;
            padding-right: 12px;
            padding-bottom: 12px;
            width: 100%;
        }
        .reports-management-view .report-view-breadcrumb {
            padding-left: 52px;
            padding-right: 12px;
            padding-top: 8px;
            padding-bottom: 8px;
        }
        .reports-management-view .report-view-breadcrumb .breadcrumb {
            flex-wrap: wrap;
            font-size: 0.8rem;
        }
        .reports-management-view .report-view-sidebar .sidebar-section {
            padding-top: 48px;
        }
    }
    
    .loading {
        opacity: 0.6;
        pointer-events: none;
    }
    
    .spinner {
        width: 16px;
        height: 16px;
        border: 2px solid transparent;
        border-top: 2px solid currentColor;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        display: none;
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    .loading .spinner {
        display: inline-block;
    }
    
    .section-bullets {
        list-style: none;
        padding-left: 0;
    }
    
    .section-paragraphs {
        margin-bottom: 16px;
    }
    
    .section-paragraphs p {
        margin-bottom: 12px;
        line-height: 1.6;
    }
    
    .section-item {

        margin-bottom: 3px;
    }
    .section-item-inner {
        display: flex;
        align-items: center;
    }
    
    .section-item:hover {
        background: #f8f9fa;
        border-radius: 6px;
    }
    
    .drag-handle {
        cursor: grab;
        color: #9aa0a6;
        padding: 4px;
        border-radius: 4px;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .drag-handle:hover {
        background: #e8eaed;
        color: #5f6368;
    }
    
    .section-item:hover .drag-handle {
        color: #5f6368;
    }
    
    .sortable-ghost {
        opacity: 0.5;
        background: #f8f9fa;
    }
    
    .sortable-drag {
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        border-radius: 6px;
        transform: rotate(5deg);
    }
    
    .sortable-chosen {
        background: #e3f2fd;
    }
    
    .sortable-fallback {
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        border-radius: 6px;
    }
    
    /* Section content wrapper and actions */
    .section-content-wrapper {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }
    
    .section-link-container {
        flex: 1;
        min-width: 0;
    }
    
    .section-link {
        display: block;
        padding: 12px;
        background: #f8f9fa;
        border-radius: 6px;
        color: #202124;
        text-decoration: none;
        margin-bottom: 8px;
        transition: all 0.2s;
        border: 1px solid transparent;
        width: 100%;
    }
    
    .section-link:hover {
        background: #e8eaed;
        border-color: #dadce0;
    }
    
    .section-link.active {
        background: #e3f2fd;
        border-color: #1a73e8;
        color: #1a73e8;
    }
    
    .section-link.active .section-link-title {
        color: #1a73e8;
    }
    
    .section-link.active .section-link-summary {
        color: #1a73e8;
        opacity: 0.8;
    }
    
    .section-actions {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 4px;
        flex-shrink: 0;
        align-items: center;
    }
    
    .section-dropdown-wrapper {
        position: relative;
        flex-shrink: 0;
        z-index: 25;
    }
    
    .section-dropdown-menu {
        z-index: 1060;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }
    
    .section-dropdown-trigger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid #e5e7eb;
        border-radius: 4px;
        cursor: pointer;
        flex-shrink: 0;
    }
    
    .edit-section-title-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid #e5e7eb;
        border-radius: 4px;
        color: #6b7280;
        font-size: 12px;
        cursor: pointer;
        transition: all 0.2s;
        flex-shrink: 0;
    }
    
    .edit-section-title-btn:hover {
        background: #f3f4f6;
        color: #3b82f6;
        border-color: #d1d5db;
    }
    
    .section-generate-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background: #8b5cf6;
        color: white;
        border: none;
        border-radius: 4px;
        font-size: 12px;
        cursor: pointer;
        transition: all 0.2s;
        flex-shrink: 0;
    }
    
    .section-generate-btn:hover {
        background: #7c3aed;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
    }
    
    .section-generate-btn:disabled {
        background: #9ca3af;
        cursor: not-allowed;
        transform: none;
    }
    
    .section-generate-btn.muted {
        background: #d1d5db;
        color: #6b7280;
        cursor: pointer;
    }
    
    .section-generate-btn.muted:hover {
        background: #9ca3af;
        color: #4b5563;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(156, 163, 175, 0.3);
    }
    
    .section-generate-btn .spinner {
        width: 12px;
        height: 12px;
        border: 1px solid transparent;
        border-top: 1px solid currentColor;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
    
    .section-generate-btn i {
        font-size: 12px;
    }
    
    /* Reports Sidebar Styles */
    .reports-sidebar {
        width: 320px;
        flex-shrink: 0;
    }
    
    .reports-sidebar .bg-gray-800 {
        background-color: #1f2937;
        border: 1px solid #374151;
        border-radius: 8px;
    }
    
    .reports-sidebar .bg-gray-700 {
        background-color: #374151;
        border: 1px solid #4b5563;
    }
    
    .reports-sidebar .bg-gray-650 {
        background-color: #4b5563;
    }
    
    .reports-sidebar .bg-blue-600 {
        background-color: #2563eb;
        border-color: #3b82f6;
    }
    
    .reports-sidebar .text-white {
        color: #ffffff;
    }
    
    .reports-sidebar .text-white\/60 {
        color: rgba(255, 255, 255, 0.6);
    }
    
    .reports-sidebar .text-white\/40 {
        color: rgba(255, 255, 255, 0.4);
    }
    
    .reports-sidebar .text-blue-100 {
        color: #dbeafe;
    }
    
    .reports-sidebar .text-blue-200 {
        color: #bfdbfe;
    }
    
    .reports-sidebar .border-gray-600 {
        border-color: #4b5563;
    }
    
    .reports-sidebar .border-gray-500 {
        border-color: #6b7280;
    }
    
    .reports-sidebar .border-blue-500 {
        border-color: #3b82f6;
    }
    
    .reports-sidebar .hover\:bg-gray-650:hover {
        background-color: #4b5563;
    }
    
    .reports-sidebar .hover\:border-gray-500:hover {
        border-color: #6b7280;
    }
    
    .reports-sidebar .transition-colors {
        transition: all 0.2s ease-in-out;
    }
    
    .reports-sidebar .truncate {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .reports-sidebar .min-w-0 {
        min-width: 0;
    }
    
    /* Responsive adjustments for reports layout */
    @media (max-width: 1024px) {
        .reports-sidebar {
            width: 280px;
        }
    }
    
    @media (max-width: 768px) {
        .reports-sidebar {
            width: 100%;
            margin-bottom: 1rem;
        }
        
        .flex.gap-6 {
            flex-direction: column;
        }
    }
    
    /* Business Idea Steps Animation */
    @keyframes pulse {
        0% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
        }
        70% {
            transform: scale(1.05);
            box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
        }
        100% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
        }
    }

    /* Section Template Modal Styles */
    #sectionTemplateModal {
        backdrop-filter: blur(4px);
    }
    
    #sectionTemplateModal .bg-white {
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    }
    
    #sectionTemplateList .border-gray-200:hover {
        border-color: #3b82f6;
        box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
    }
    
    #sectionTemplateList button:disabled {
        cursor: not-allowed;
    }
    
    #sectionTemplateList button:not(:disabled):hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    /* Section content wrapper and actions */
    .section-content-wrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: relative;
    }

    .section-link-container {
        flex: 1;
        width: 100%;
        min-width: 0;
    }

    .section-link {
        display: block;
        padding: 12px;
        background: #f8f9fa;
        border-radius: 6px;
        color: #202124;
        text-decoration: none;
        margin-bottom: 8px;
        transition: all 0.2s;
        border: 1px solid transparent;
        width: 100%;
    }

    .section-link:hover {
        background: #e8eaed;
        border-color: #dadce0;
    }

    .section-link.active {
        background: #e3f2fd;
        border-color: #1a73e8;
        color: #1a73e8;
    }

    .section-link.active .section-link-title {
        color: #1a73e8;
    }

    .section-link.active .section-link-summary {
        color: #1a73e8;
        opacity: 0.8;
    }

    .section-actions {
        position: absolute;
        top: 4px;
        right: 4px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 4px;
        z-index: 10;
    }
    
    .section-dropdown-wrapper {
        position: relative;
        flex-shrink: 0;
        z-index: 25;
    }
    
    .section-dropdown-menu {
        z-index: 1060;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }
    
    .section-dropdown-trigger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid #e5e7eb;
        border-radius: 4px;
        cursor: pointer;
        flex-shrink: 0;
        font-size: 10px;
    }

    .edit-section-title-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid #e5e7eb;
        border-radius: 4px;
        color: #6b7280;
        font-size: 10px;
        cursor: pointer;
        transition: all 0.2s;
        flex-shrink: 0;
    }

    .edit-section-title-btn:hover {
        background: #f3f4f6;
        color: #3b82f6;
        border-color: #d1d5db;
    }

    .section-generate-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background: #8b5cf6;
        color: white;
        border: 2px solid #8b5cf6;
        border-radius: 50%;
        font-size: 12px;
        cursor: pointer;
        transition: all 0.2s;
        flex-shrink: 0;
    }

    .section-generate-btn:hover {
        background: #7c3aed;
        color: white;
        border-color: #7c3aed;
        transform: translateY(-1px) scale(1.05);
        box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    }

    .section-generate-btn:disabled {
        background: #f3f4f6;
        color: #9ca3af;
        border-color: #d1d5db;
        cursor: not-allowed;
        transform: none;
    }

    .section-generate-btn.muted {
        background: white;
        color: #8b5cf6;
        border-color: #8b5cf6;
        cursor: pointer;
    }

    .section-generate-btn.muted:hover {
        background: #f3e8ff;
        color: #7c3aed;
        border-color: #7c3aed;
        transform: translateY(-1px) scale(1.05);
        box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    }

    .section-generate-btn .spinner {
        width: 14px;
        height: 14px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-top: 2px solid white;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
    
    .section-generate-btn.muted .spinner {
        border: 2px solid rgba(139, 92, 246, 0.3);
        border-top: 2px solid #8b5cf6;
    }

    .section-generate-btn i {
        font-size: 14px;
    }
    
    /* Section title editing styles */
    .section-link-container input[type="text"] {
        position: relative;
        z-index: 10;
        background: white !important;
        border: 2px solid #3b82f6 !important;
        box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
    }
    
    .section-link-container input[type="text"]:focus {
        outline: none;
        border-color: #2563eb !important;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }
    
    /* Version History Section Styles */
    .version-history-compact {
        background: white;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        margin-bottom: 16px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    .version-history-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        background: #f9fafb;
        cursor: pointer;
        transition: all 0.2s;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .version-history-toggle:hover {
        background: #f3f4f6;
    }
    
    .version-history-toggle.expanded {
        background: #f0f9ff;
        border-color: #3b82f6;
    }
    
    .version-history-toggle-left {
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 500;
        color: #374151;
    }
    
    .version-history-toggle-left i {
        color: #8b5cf6;
    }
    
    .version-history-toggle-right i {
        transition: transform 0.2s;
        color: #6b7280;
    }
    
    .version-history-toggle.expanded .version-history-toggle-right i {
        transform: rotate(180deg);
    }
    
    .version-history-content {
        padding: 16px;
        background: white;
    }
    
    .version-history-panel {
        max-height: 400px;
        overflow-y: auto;
    }
    
    .version-item {
        border: 1px solid #e5e7eb;
        border-radius: 6px;
        margin-bottom: 12px;
        overflow: hidden;
    }
    
    .version-item.current {
        border-color: #3b82f6;
        background: #f0f9ff;
    }
    
    .version-header {
        padding: 12px 16px;
        background: #f9fafb;
        border-bottom: 1px solid #e5e7eb;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .version-content {
        padding: 16px;
        background: white;
        max-height: 200px;
        overflow-y: auto;
        white-space: pre-wrap;
        font-family: monospace;
        font-size: 14px;
        line-height: 1.5;
    }
    
    .version-meta {
        font-size: 12px;
        color: #6b7280;
        margin-bottom: 8px;
    }
    
    /* Toast Notification Styles */
    @keyframes slide-in {
        from {
            opacity: 0;
            transform: translateX(100%);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .animate-slide-in {
        animation: slide-in 0.3s ease-out;
    }
    
    #toast-notification {
        transition: all 0.3s ease-out;
    }
    
    /* Empty Content Help Modal Styles */
    .empty-help-modal {
        position: relative;
        margin-top: 2rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 28rem;
        background: linear-gradient(to bottom right, #faf5ff, #eff6ff);
        border: 2px solid #a855f7;
        border-radius: 0.5rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        padding: 1.5rem;
        z-index: 10;
        animation: fadeIn 0.3s ease-in;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .empty-help-modal.hidden {
        display: none !important;
    }
    
    /* AI Context Modal Styles */
    #aiContextModal {
        backdrop-filter: blur(4px);
    }
    
    #aiContextModal .bg-white {
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }
    
    #questionsList, #faqsList, #relevantList {
        max-height: 400px;
        overflow-y: auto;
    }
    
    #questionsList .border, #faqsList .border, #relevantList .border {
        transition: all 0.2s ease;
    }
    
    #questionsList .border:hover, #faqsList .border:hover, #relevantList .border:hover {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    /* Section title edit wrapper styles */
    .section-title-edit-wrapper {
        width: -webkit-fill-available;
        margin-right: 3rem;
    }