/* ============================================================================
 * 第十六章：《电压 电阻 · 高压无级调光稳压矩阵工坊》专属样式 (ch16-voltage-resistance.css)
 * 视觉风格：暖调手作科学工坊 · 解谜手账风（#EAE3D2 卡纸底色 + #222629 钢笔墨线）
 * ============================================================================ */

.ch16-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #FFF9E6;
    border: 2px solid #222629;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: #222629;
    box-shadow: 2px 2px 0 #222629;
}

.ch16-card {
    background: #FFFDF9;
    border: 2px solid #222629;
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 3px 3px 0 #222629;
}

.ch16-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.ch16-stat-box {
    background: #F6F1E4;
    border: 1.5px solid #222629;
    border-radius: 8px;
    padding: 6px 8px;
    text-align: center;
}

.ch16-stat-box .label {
    font-size: 11px;
    color: #5C646A;
    font-weight: 700;
}

.ch16-stat-box .val {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 900;
    color: #E05A47;
}

/* 第 3 关：滑动变阻器与电阻箱操控面板专属紧凑样式 */
.rheo-panel {
    background: #FFFDF9;
    border: 2px solid #222629;
    border-radius: 12px;
    padding: 8px 10px;
    box-shadow: 3px 3px 0 #222629;
}

.rheo-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 6px;
    padding-bottom: 5px;
    border-bottom: 1.5px dashed #CBD5E1;
}

.rheo-card-header .badge {
    padding: 2px 7px;
    background: #FEF3C7;
    border: 1.5px solid #222629;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 900;
    color: #92400E;
    white-space: nowrap;
}

.rheo-card-header h4 {
    font-size: 12.5px;
    font-weight: 900;
    color: #222629;
    margin: 0;
}

.rheo-box {
    border: 1.5px solid #222629;
    border-radius: 8px;
    padding: 6px 8px;
}

.rheo-panel .qc-btn {
    border: 1.5px solid #222629;
    border-radius: 8px;
    background: #FFFDF9;
    color: #222629;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 2px 2px 0 #222629;
    transition: all 0.12s ease;
}

.rheo-panel .qc-btn.active {
    background: #DBEAFE;
    border-color: #2563EB;
    color: #1E3A8A;
}

.rheo-panel .qc-btn-primary {
    padding: 8px 10px;
    background: #16804A;
    color: #FFFDF9;
    font-size: 12.5px;
    font-weight: 900;
}

.rheo-panel .qc-btn-primary:disabled {
    background: #CBD5E1;
    color: #64748B;
    cursor: not-allowed;
    box-shadow: none;
}

