/**
 * optimization-workbench.css - Process Optimization Workbench Styling
 *
 * Uses BPRboard CSS variables from base.css:
 * - Backgrounds: --bg-primary, --bg-secondary, --bg-tertiary, --bg-card
 * - Borders: --border-color, --border-primary, --border-accent
 * - Text: --text-primary, --text-secondary, --text-muted
 * - Accents: --accent-primary, --success, --warning, --error
 *
 * NO emojis, NO icon fonts, NO gradients, NO images.
 * NO transform/translateY hover effects.
 */

/* =========================================================================
   MAIN CONTAINER
   ========================================================================= */

.opt-container {
    padding: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* =========================================================================
   NAVIGATION TABS
   ========================================================================= */

.opt-nav {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.25rem;
}

.opt-nav-tab {
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.opt-nav-tab:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.opt-nav-tab.active {
    color: var(--accent-primary);
    background: var(--bg-tertiary);
    font-weight: 500;
}

/* =========================================================================
   STATS CARDS
   ========================================================================= */

.opt-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.opt-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.opt-stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.opt-stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.opt-stat-value.warning {
    color: var(--warning);
}

.opt-stat-value.success {
    color: var(--success);
}

.opt-stat-value.danger {
    color: var(--error);
}

.opt-stat-value.highlight {
    color: var(--accent-primary);
}

/* =========================================================================
   ACTION CARDS
   ========================================================================= */

.opt-actions {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.opt-actions h3 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.opt-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.opt-action-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1rem;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.opt-action-card:hover {
    border-color: var(--accent-primary);
}

.opt-action-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.opt-action-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* =========================================================================
   SUMMARY SECTION
   ========================================================================= */

.opt-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.opt-summary h3 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.opt-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.opt-summary-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1rem;
}

.opt-summary-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.opt-summary-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.opt-summary-value.success {
    color: var(--success);
}

.opt-summary-value.warning {
    color: var(--warning);
}

.opt-summary-value.highlight {
    color: var(--accent-primary);
}

/* =========================================================================
   REFERENCES SECTION
   ========================================================================= */

.opt-references {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.opt-references h3 {
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.opt-ref-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.opt-ref-item {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.opt-ref-authors {
    color: var(--text-secondary);
    font-weight: 500;
}

.opt-ref-title {
    font-style: italic;
    margin-left: 0.5rem;
}

/* =========================================================================
   TOOLBAR
   ========================================================================= */

.opt-toolbar {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

/* =========================================================================
   EMPTY STATE
   ========================================================================= */

.opt-empty {
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
}

.opt-empty h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.opt-empty p {
    color: var(--text-secondary);
}

/* =========================================================================
   SCENARIO LIST & CARDS
   ========================================================================= */

.opt-scenario-list {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
}

.opt-scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.opt-scenario-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1rem;
}

.opt-scenario-card.simulated {
    border-color: var(--success);
}

.opt-scenario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.opt-scenario-header h4 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.opt-scenario-status {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.opt-scenario-card.simulated .opt-scenario-status {
    background: var(--success);
    color: var(--bg-primary);
}

.opt-scenario-params {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.opt-param-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-radius: 4px;
}

.opt-scenario-results {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.opt-result-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    color: var(--text-secondary);
}

.opt-result-item:last-child {
    margin-bottom: 0;
}

.opt-result-item .improvement {
    color: var(--success);
    font-weight: 500;
}

.opt-result-item .degradation {
    color: var(--error);
    font-weight: 500;
}

.opt-scenario-actions {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.opt-scenario-actions button {
    flex: 1;
    padding: 0.5rem;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.opt-scenario-actions button:hover:not(:disabled) {
    border-color: var(--accent-primary);
}

.opt-scenario-actions button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* =========================================================================
   MODAL
   ========================================================================= */

.opt-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.opt-modal.hidden {
    display: none;
}

.opt-modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.opt-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.opt-modal-header h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.opt-modal-close {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    width: 28px;
    height: 28px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.opt-modal-close:hover {
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

.opt-modal-body {
    padding: 1rem;
}

.opt-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-tertiary);
}

/* =========================================================================
   FORM GROUPS
   ========================================================================= */

.opt-form-group {
    margin-bottom: 1rem;
}

.opt-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
}

.opt-form-group input[type="text"],
.opt-form-group input[type="number"] {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.opt-form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.opt-form-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* =========================================================================
   TABLES
   ========================================================================= */

.opt-table-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.opt-table-section h3 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.opt-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.opt-table th,
.opt-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.opt-table th {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.opt-table td {
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.opt-table tr:last-child td {
    border-bottom: none;
}

.opt-table tr:hover td {
    background: var(--bg-tertiary);
}

/* =========================================================================
   UTILIZATION BAR
   ========================================================================= */

.opt-util-bar {
    position: relative;
    height: 22px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.opt-util-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    transition: width 0.3s ease;
}

.opt-util-fill.optimal {
    background: var(--success);
}

.opt-util-fill.overloaded {
    background: var(--error);
}

.opt-util-fill.underutilized {
    background: var(--warning);
}

.opt-util-bar span {
    position: relative;
    z-index: 1;
    padding-left: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-primary);
    line-height: 22px;
    font-weight: 500;
}

/* =========================================================================
   STATUS BADGE
   ========================================================================= */

.opt-status {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.opt-status.success {
    background: var(--success);
    color: var(--bg-primary);
}

.opt-status.warning {
    background: var(--warning);
    color: var(--bg-primary);
}

.opt-status.danger {
    background: var(--error);
    color: white;
}

/* =========================================================================
   OBJECTIVES SECTION
   ========================================================================= */

.opt-objectives {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.opt-objectives h3 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.opt-obj-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.opt-obj-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1rem;
}

.opt-obj-card.disabled {
    opacity: 0.5;
}

.opt-obj-header {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.opt-obj-header input[type="checkbox"] {
    margin-right: 0.5rem;
}

.opt-obj-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.opt-obj-weight {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.opt-obj-weight label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.opt-weight-val {
    color: var(--accent-primary);
    font-weight: 600;
}

.opt-weight-slider {
    width: 100%;
}

/* =========================================================================
   PARETO SECTION
   ========================================================================= */

.opt-pareto-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.opt-pareto-section h3 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.opt-chart {
    height: 300px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

/* =========================================================================
   RECOMMENDATIONS
   ========================================================================= */

.opt-rec-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.opt-rec-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    border-left: 4px solid var(--border-color);
}

.opt-rec-card.priority-high {
    border-left-color: var(--error);
}

.opt-rec-card.priority-medium {
    border-left-color: var(--warning);
}

.opt-rec-card.priority-low {
    border-left-color: var(--success);
}

.opt-rec-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.opt-rec-header h4 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.opt-rec-priority {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.opt-rec-priority.high {
    background: var(--error);
    color: white;
}

.opt-rec-priority.medium {
    background: var(--warning);
    color: var(--bg-primary);
}

.opt-rec-priority.low {
    background: var(--success);
    color: var(--bg-primary);
}

.opt-rec-card > p {
    color: var(--text-secondary);
    margin: 0 0 0.75rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.opt-rec-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.85rem;
}

.opt-rec-metrics span {
    color: var(--text-secondary);
}

.opt-rec-metrics .improvement {
    color: var(--success);
    font-weight: 500;
}

.opt-rec-rationale {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.opt-rec-actions {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.opt-rec-actions button {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.opt-rec-actions button:hover {
    border-color: var(--accent-primary);
}

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

@media (max-width: 768px) {
    .opt-nav {
        flex-wrap: wrap;
    }

    .opt-nav-tab {
        flex: 1;
        min-width: 80px;
        text-align: center;
        padding: 0.6rem 0.75rem;
        font-size: 0.8rem;
    }

    .opt-action-grid {
        grid-template-columns: 1fr;
    }

    .opt-obj-grid {
        grid-template-columns: 1fr;
    }

    .opt-summary-grid {
        grid-template-columns: 1fr;
    }

    .opt-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================================================
   HEURISTICS VIEW - Redesign Heuristics (Dumas et al. 2018)
   ========================================================================= */

.opt-heuristics-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.opt-heuristics-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.opt-heuristic-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
}

.opt-category-header {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-primary);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.opt-heuristic-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
}

.opt-heuristic-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.opt-heuristic-card:hover {
    border-color: var(--accent-primary);
}

.opt-heuristic-card.selected {
    border-color: var(--success);
    background: rgba(var(--success-rgb, 76, 175, 80), 0.1);
}

.opt-heuristic-header {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.opt-heuristic-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.opt-heuristic-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.opt-heuristic-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.opt-heuristic-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 0.5rem 0;
}

.opt-heuristic-example {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0 0 0.75rem 0;
    padding: 0.5rem;
    background: var(--bg-secondary);
    border-radius: 4px;
}

.opt-heuristic-impact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.impact-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-family: monospace;
}

.impact-badge.impact-strong-positive {
    background: var(--success);
    color: var(--bg-primary);
}

.impact-badge.impact-positive {
    background: rgba(var(--success-rgb, 76, 175, 80), 0.3);
    color: var(--success);
}

.impact-badge.impact-neutral {
    background: var(--bg-secondary);
    color: var(--text-muted);
}

.impact-badge.impact-negative {
    background: rgba(var(--warning-rgb, 255, 152, 0), 0.3);
    color: var(--warning);
}

.impact-badge.impact-strong-negative {
    background: var(--error);
    color: white;
}

/* Devil's Quadrangle */
.opt-quadrangle-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.opt-quadrangle-section h3 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.opt-quadrangle {
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.quadrangle-svg {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.quadrangle-label {
    font-size: 12px;
    fill: var(--text-secondary);
    font-weight: 500;
}

/* Highlight card on dashboard */
.opt-action-card.highlight {
    border-color: var(--accent-primary);
    background: rgba(var(--accent-rgb, 100, 180, 255), 0.1);
}

.opt-action-card.highlight .opt-action-title {
    color: var(--accent-primary);
}

/* Responsive for heuristics */
@media (max-width: 768px) {
    .opt-heuristic-list {
        grid-template-columns: 1fr;
    }

    .opt-heuristics-summary {
        grid-template-columns: repeat(2, 1fr);
    }
}
