/* Microphone Test page */

.mt-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 14px;
}

.mt-status {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 8px 12px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    text-align: center;
}
.mt-status.ok  { color: var(--green); background: var(--green-soft); }
.mt-status.rec { color: var(--red); background: var(--red-soft); }
.mt-status.warn { color: var(--orange); background: var(--orange-soft); }

.mt-meter-wrap {
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    padding: 14px;
    border: 1px solid var(--border);
    margin-bottom: 14px;
}
.mt-meter-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-tertiary);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}
.mt-meter-track {
    height: 14px;
    background: var(--bg-input);
    border-radius: 7px;
    overflow: hidden;
}
.mt-meter-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3d8b5e 0%, #c49530 70%, #c4463a 100%);
    transition: width 0.08s linear;
}

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

.mt-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}
.mt-info-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
}
.mt-info-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}
.mt-info-value {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--text);
    word-break: break-all;
}
