/**
 * Elite Writer - Article Editor Styles
 * Clean Notion-like editor for journalistic writing
 */

/* ============================================
   WRITER LAYOUT
   ============================================ */

.writer-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--topbar-height) - 64px);
    margin: -32px;
    background: #fafafa;
}

.writer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    flex-shrink: 0;
}

.writer-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.writer-title-container {
    flex: 1;
    max-width: 600px;
}

.writer-title-input {
    width: 100%;
    background: transparent;
    border: none;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    outline: none;
    padding: 8px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.writer-title-input::placeholder {
    color: #9ca3af;
}

.writer-title-input:focus {
    border-bottom: 2px solid #2563eb;
}

.writer-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.writer-stats {
    display: flex;
    gap: 12px;
}

.stat-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f3f4f6;
    border-radius: 20px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.stat-pill i {
    font-size: 11px;
    color: #9ca3af;
}

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

.writer-actions .btn {
    font-size: 13px;
    padding: 8px 16px;
}

/* ============================================
   MAIN EDITOR AREA
   ============================================ */

.writer-main {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Left Sidebar */
.writer-sidebar {
    width: 260px;
    background: #ffffff;
    border-right: 1px solid #e5e5e5;
    padding: 16px;
    overflow-y: auto;
    flex-shrink: 0;
}

.sidebar-section {
    margin-bottom: 24px;
}

.sidebar-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sidebar-section-title i {
    font-size: 12px;
    color: #2563eb;
}

/* Publication Guide */
.publication-guide {
    margin-top: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #2563eb;
}

.pub-guide-content {
    font-size: 12px;
}

.pub-guide-item {
    margin-bottom: 8px;
    color: #6b7280;
    line-height: 1.4;
}

.pub-guide-item strong {
    color: #1f2937;
}

/* Research Notes */
.research-notes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.research-note {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    position: relative;
    border: 1px solid #e5e7eb;
}

.research-note-type {
    width: 100%;
    padding: 6px 10px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    font-size: 12px;
}

.research-note-content {
    width: 100%;
    min-height: 60px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    font-size: 13px;
    resize: vertical;
    font-family: inherit;
}

.research-note .btn-ghost {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    padding: 0;
    color: #9ca3af;
    background: transparent;
    border: none;
    cursor: pointer;
}

.research-note .btn-ghost:hover {
    color: #ef4444;
}

/* Empty State Mini */
.empty-state-mini {
    text-align: center;
    padding: 20px;
    color: #9ca3af;
    font-size: 13px;
}

.empty-state-mini p {
    margin-bottom: 12px;
}

/* ============================================
   EDITOR CONTAINER - Clean Writing Area
   ============================================ */

.writer-editor-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    overflow: hidden;
}

/* Editor Toolbar - Clean Notion-style */
.editor-toolbar {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    gap: 4px;
    flex-shrink: 0;
}

.toolbar-group {
    display: flex;
    gap: 2px;
}

.toolbar-divider {
    width: 1px;
    height: 20px;
    background: #e5e5e5;
    margin: 0 8px;
}

.toolbar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 14px;
}

.toolbar-btn:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.toolbar-btn.active {
    background: #e0e7ff;
    color: #2563eb;
}

.toolbar-btn span {
    font-size: 12px;
    font-weight: 600;
}

/* Dropdown for more options */
.toolbar-dropdown {
    position: relative;
}

.toolbar-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 4px;
    min-width: 160px;
    z-index: 100;
    display: none;
}

.toolbar-dropdown:hover .toolbar-dropdown-content {
    display: block;
}

.toolbar-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 13px;
    color: #374151;
    border-radius: 6px;
    cursor: pointer;
}

.toolbar-dropdown-item:hover {
    background: #f3f4f6;
}

/* Editor Wrapper - White Writing Surface */
.editor-wrapper {
    flex: 1;
    overflow-y: auto;
    padding: 48px;
    background: #ffffff;
}

/* Editor Content - Clean Typography */
.editor-content {
    max-width: 680px;
    margin: 0 auto;
    min-height: 600px;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.8;
    color: #1a1a1a;
    outline: none;
}

.editor-content:empty::before {
    content: attr(data-placeholder);
    color: #9ca3af;
    pointer-events: none;
    font-style: italic;
}

/* Typography - Journalistic Style */
.editor-content h1 {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin: 1.5em 0 0.5em 0;
    line-height: 1.2;
    color: #111827;
    letter-spacing: -0.02em;
}

.editor-content h2 {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin: 1.5em 0 0.5em 0;
    line-height: 1.3;
    color: #111827;
}

.editor-content h3 {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 1.25em 0 0.5em 0;
    line-height: 1.4;
    color: #111827;
}

.editor-content p {
    margin: 0 0 1.25em 0;
}

.editor-content ul,
.editor-content ol {
    margin: 1em 0;
    padding-left: 1.75em;
}

.editor-content li {
    margin: 0.5em 0;
}

.editor-content a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.editor-content a:hover {
    color: #1d4ed8;
}

/* Blockquote - Editorial Style */
.editor-content blockquote,
.editor-blockquote {
    margin: 1.5em 0;
    padding: 20px 24px;
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4b5563;
    font-size: 17px;
}

/* Pull Quote */
.editor-content .pullquote {
    font-size: 24px;
    font-weight: 500;
    color: #111827;
    border-left: none;
    border-top: 3px solid #2563eb;
    border-bottom: 3px solid #2563eb;
    padding: 24px 0;
    margin: 2em 0;
    text-align: center;
    font-style: normal;
    background: transparent;
}

/* Divider */
.editor-content hr,
.editor-divider {
    border: none;
    height: 1px;
    background: #e5e5e5;
    margin: 2.5em 0;
}

/* Code */
.editor-content code {
    font-family: 'SF Mono', 'Monaco', monospace;
    font-size: 0.9em;
    padding: 2px 6px;
    background: #f3f4f6;
    border-radius: 4px;
    color: #dc2626;
}

.editor-content pre {
    font-family: 'SF Mono', 'Monaco', monospace;
    font-size: 14px;
    padding: 16px;
    background: #1f2937;
    color: #f3f4f6;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5em 0;
}

/* Images */
.editor-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
}

/* Image Caption */
.editor-content figcaption {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

/* Selection */
.editor-content ::selection {
    background: #bfdbfe;
}

/* ============================================
   SLASH COMMAND MENU
   ============================================ */

.slash-menu {
    position: fixed;
    width: 300px;
    max-height: 400px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 1000;
}

.slash-menu-header {
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e5e5e5;
    background: #f9fafb;
}

.slash-menu-items {
    max-height: 350px;
    overflow-y: auto;
    padding: 8px;
}

.slash-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.1s ease;
}

.slash-menu-item:hover {
    background: #f3f4f6;
}

.slash-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 8px;
    color: #6b7280;
    font-size: 16px;
}

.slash-menu-item:hover .slash-icon {
    background: #e0e7ff;
    color: #2563eb;
}

.slash-content {
    flex: 1;
}

.slash-title {
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 2px;
}

.slash-desc {
    font-size: 12px;
    color: #9ca3af;
}

/* ============================================
   AI PANEL - Right Sidebar
   ============================================ */

.ai-panel {
    width: 320px;
    background: #ffffff;
    border-left: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
}

.ai-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #e5e5e5;
    background: #f9fafb;
}

.ai-panel-header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.ai-panel-header h3 i {
    color: #2563eb;
}

.ai-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

/* AI Action Cards */
.ai-action-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.ai-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.ai-action-card:hover {
    background: #f3f4f6;
    border-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.ai-action-card i {
    font-size: 20px;
    color: #2563eb;
}

.ai-action-card span {
    font-size: 12px;
    font-weight: 500;
    color: #4b5563;
}

/* Custom AI Prompt */
.ai-custom-prompt {
    margin-bottom: 16px;
}

.ai-custom-prompt .form-label {
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}

.ai-custom-prompt .form-textarea {
    font-size: 13px;
    min-height: 80px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 12px;
    width: 100%;
    resize: vertical;
    font-family: inherit;
}

.ai-custom-prompt .form-textarea:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* AI Output */
.ai-output {
    background: #f9fafb;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.ai-output-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    font-size: 13px;
    font-weight: 500;
    color: #1f2937;
}

.ai-output-content {
    padding: 16px;
    font-size: 13px;
    color: #4b5563;
    max-height: 300px;
    overflow-y: auto;
    line-height: 1.6;
}

.ai-output-content h1,
.ai-output-content h2,
.ai-output-content h3 {
    color: #1f2937;
    margin: 0.5em 0;
}

.ai-output-content strong {
    color: #1f2937;
}

/* Loading Indicator */
.loading-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    color: #6b7280;
    font-size: 13px;
}

/* ============================================
   WRITING STATS BAR
   ============================================ */

.writing-stats-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    background: #f9fafb;
    border-top: 1px solid #e5e5e5;
    font-size: 12px;
    color: #6b7280;
    flex-shrink: 0;
}

.stats-left,
.stats-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.writing-stat {
    display: flex;
    align-items: center;
    gap: 6px;
}

.writing-stat-label {
    color: #9ca3af;
}

.writing-stat-value {
    font-weight: 600;
    color: #374151;
}

/* Reading Level Indicator */
.reading-level {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reading-level-bar {
    width: 60px;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.reading-level-fill {
    height: 100%;
    background: #10b981;
    transition: width 0.3s ease, background 0.3s ease;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .writer-sidebar {
        width: 220px;
    }

    .ai-panel {
        width: 280px;
    }
}

@media (max-width: 1024px) {
    .writer-sidebar {
        display: none;
    }

    .ai-panel {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.2s ease;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    }

    .ai-panel:not(.hidden) {
        transform: translateX(0);
    }

    .writer-stats {
        display: none;
    }
}

@media (max-width: 768px) {
    .writer-header {
        flex-direction: column;
        gap: 12px;
        padding: 12px 16px;
    }

    .writer-header-left,
    .writer-header-right {
        width: 100%;
    }

    .writer-title-input {
        font-size: 20px;
    }

    .editor-wrapper {
        padding: 24px 16px;
    }

    .editor-content {
        font-size: 16px;
    }

    .editor-toolbar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 8px 12px;
    }

    .toolbar-divider {
        display: none;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .writer-header,
    .writer-sidebar,
    .ai-panel,
    .editor-toolbar,
    .writing-stats-bar {
        display: none !important;
    }

    .writer-container {
        height: auto;
        margin: 0;
        background: white;
    }

    .editor-wrapper {
        padding: 0;
    }

    .editor-content {
        max-width: none;
        color: black;
        font-size: 12pt;
    }
}

/* ============================================
   SUGGESTION CARDS
   ============================================ */

.ai-suggestions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.suggestion-card {
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 12px;
    border: 1px solid #e5e7eb;
}

.suggestion-card strong {
    display: block;
    color: #2563eb;
    margin-bottom: 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.suggestion-card p {
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* ============================================
   AI SCORING ACCORDION
   Compact ticker-tape style scoring panel
   ============================================ */

.scoring-accordion {
    border-top: 1px solid #e5e5e5;
    background: #ffffff;
    flex-shrink: 0;
}

/* Ticker Header - Always visible, compact */
.scoring-ticker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    cursor: pointer;
    transition: background 0.15s ease;
    min-height: 36px;
}

.scoring-ticker:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.ticker-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ticker-left i {
    font-size: 14px;
    color: #2563eb;
}

.ticker-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ticker-score {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    min-width: 32px;
}

.ticker-score.score-excellent { color: #10b981; }
.ticker-score.score-good { color: #3b82f6; }
.ticker-score.score-average { color: #f59e0b; }
.ticker-score.score-poor { color: #f97316; }
.ticker-score.score-critical { color: #ef4444; }

.ticker-trend {
    font-size: 12px;
    color: #10b981;
}

/* Mini dimension pills in ticker */
.ticker-dimensions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    max-width: 400px;
}

.ticker-dim-pill {
    font-size: 10px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #64748b;
    white-space: nowrap;
}

.ticker-dim-pill.score-excellent {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.ticker-dim-pill.score-good {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
}

.ticker-dim-pill.score-average {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.ticker-dim-pill.score-poor {
    background: rgba(249, 115, 22, 0.15);
    color: #ea580c;
}

.ticker-dim-pill.score-critical {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.ticker-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ticker-status {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
    padding: 3px 8px;
    background: #f1f5f9;
    border-radius: 4px;
}

.ticker-status.scoring {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
    animation: pulse 1.5s infinite;
}

.ticker-status.ready {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.ticker-status.error {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

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

.ticker-toggle {
    font-size: 12px;
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.ticker-toggle.expanded {
    transform: rotate(180deg);
}

/* Expanded Scoring Panel */
.scoring-panel {
    padding: 16px;
    border-top: 1px solid #e5e5e5;
    background: #fafafa;
    max-height: 300px;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
}

.scoring-panel.collapsed {
    max-height: 0;
    padding: 0 16px;
    opacity: 0;
    pointer-events: none;
}

/* Dimensions Grid - Compact 11-column */
.scoring-dimensions-grid {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.dimension-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 8px;
    text-align: center;
    min-width: 0;
}

.dimension-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-bottom: 6px;
}

.dimension-name {
    font-size: 9px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.dimension-score {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
}

.dimension-score.score-excellent { color: #10b981; }
.dimension-score.score-good { color: #3b82f6; }
.dimension-score.score-average { color: #f59e0b; }
.dimension-score.score-poor { color: #f97316; }
.dimension-score.score-critical { color: #ef4444; }

.dimension-bar {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}

.dimension-fill {
    height: 100%;
    background: #3b82f6;
    border-radius: 2px;
    transition: width 0.5s ease;
}

.dimension-fill.score-excellent { background: #10b981; }
.dimension-fill.score-good { background: #3b82f6; }
.dimension-fill.score-average { background: #f59e0b; }
.dimension-fill.score-poor { background: #f97316; }
.dimension-fill.score-critical { background: #ef4444; }

/* Suggestions Row */
.scoring-suggestions {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}

.suggestions-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 10px;
}

.suggestions-header i {
    color: #f59e0b;
}

.suggestions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-placeholder {
    font-size: 12px;
    color: #9ca3af;
    font-style: italic;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 3px solid #3b82f6;
    flex: 1 1 auto;
    min-width: 200px;
    max-width: 350px;
}

.suggestion-item.critical {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.suggestion-item.recommended {
    border-left-color: #3b82f6;
}

.suggestion-item.optional {
    border-left-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.suggestion-icon {
    font-size: 14px;
    color: #6b7280;
}

.suggestion-item.critical .suggestion-icon {
    color: #ef4444;
}

.suggestion-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.suggestion-title {
    font-size: 12px;
    font-weight: 500;
    color: #1f2937;
}

.suggestion-impact {
    font-size: 10px;
    color: #10b981;
    font-weight: 500;
}

/* Actions Row */
.scoring-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.scoring-meta {
    font-size: 11px;
    color: #9ca3af;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .scoring-dimensions-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 1024px) {
    .scoring-dimensions-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .ticker-dimensions {
        display: none;
    }
}

@media (max-width: 768px) {
    .scoring-dimensions-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .scoring-ticker {
        padding: 6px 12px;
    }

    .suggestion-item {
        min-width: 100%;
    }
}

@media print {
    .scoring-accordion {
        display: none !important;
    }
}
