/* MOx e-nose RNN - specific styles (mirrors motor.css with sensor-grid layout) */

.loss-canvas {
    width: 100%;
    height: 120px;
    background: var(--log-bg);
    border-radius: 4px;
    margin-top: 8px;
}

.signal-canvas {
    width: 100%;
    height: 220px;
    background: var(--log-bg);
    border-radius: 4px;
    margin-top: 8px;
}

.confusion-table {
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.85em;
    width: 100%;
    max-width: 500px;
}

.confusion-table th,
.confusion-table td {
    border: 1px solid var(--panel-border);
    padding: 8px 12px;
    text-align: center;
    min-width: 70px;
}

.confusion-table th {
    background: var(--input-bg);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85em;
}

.confusion-table td.row-label {
    background: var(--input-bg);
    color: var(--primary);
    font-weight: 600;
    text-align: left;
    font-size: 0.85em;
}

.metrics-help p {
    font-size: 0.85em;
    line-height: 1.7;
    color: #bbb;
    margin-bottom: 8px;
}

.metrics-help strong { color: var(--primary); }
.metrics-help em { color: #d8a8ff; font-style: normal; }
.metrics-help code { color: var(--log-text); }

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 12px;
}

.results-grid .result-section {
    background: var(--log-bg);
    border-radius: 4px;
    padding: 12px;
}

.results-grid .result-section h3 {
    font-size: 0.9em;
    color: var(--primary);
    margin-bottom: 8px;
}

@media (max-width: 700px) {
    .results-grid { grid-template-columns: 1fr; }
}

/* Preset description helper shown under the dropdown */
.preset-info {
    font-size: 0.8em;
    color: #aaa;
    margin-top: 6px;
    line-height: 1.5;
    max-width: 640px;
}
.preset-info strong { color: var(--primary); }

/* Header row for the Training Log panel with action buttons aligned right */
.log-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}
.log-header h2 { margin: 0; }

.log-actions {
    display: flex;
    gap: 6px;
}

.log-copy-btn {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--text-muted);
    font-size: 0.75em;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.log-copy-btn:hover {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.2);
}
.log-copy-btn.copied {
    color: var(--success);
    border-color: var(--success);
}
