/* Motor Monitor (Anomaly Detection) - specific styles */

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

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

.score-display {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 12px 0;
}

.score-number {
    font-size: 2.5em;
    font-weight: 700;
    font-family: monospace;
    min-width: 120px;
    text-align: center;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.3s, color 0.3s;
}

.score-number.normal { background: rgba(0, 200, 80, 0.15); color: #44dd66; }
.score-number.warn { background: rgba(255, 180, 0, 0.2); color: #ffbb33; }
.score-number.alarm { background: rgba(255, 50, 50, 0.2); color: #ff4444; }

.score-label {
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.score-label.normal { color: #44dd66; }
.score-label.warn { color: #ffbb33; }
.score-label.alarm { color: #ff4444; }

.phase-indicator {
    font-size: 0.85em;
    color: #888;
    margin-left: auto;
}

/* Slider controls */
.slider-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.slider-group label {
    font-size: 0.85em;
    color: #aaa;
}
.slider-group input[type="range"] {
    width: 100%;
}
.slider-value {
    font-size: 0.8em;
    color: var(--primary);
    text-align: right;
}

/* Metrics help paragraphs */
.metrics-help p {
    font-size: 0.85em;
    line-height: 1.7;
    color: #bbb;
    margin-bottom: 8px;
}
.metrics-help strong { color: var(--primary); }
.metrics-help code { color: var(--log-text); }
