/* 运动消耗热量计算页专属样式 */

.yd-form {
    grid-template-columns: 1fr 1fr;
}

.form-group-full {
    grid-column: 1 / -1;
}

.yd-result {
    margin-top: 1.5rem;
}

/* 主要消耗数字 */
.yd-result-main {
    text-align: center;
    padding: 1.5rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.yd-main-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.yd-main-val {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Fira Code', monospace;
    color: #2563eb;
    line-height: 1.2;
}

.yd-main-unit {
    font-size: 0.9rem;
    color: #888;
    margin-top: 0.2rem;
}

/* 等效行 */
.yd-equiv-rows {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.yd-equiv-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid #f0f0f0;
}

.yd-equiv-row:last-child { border-bottom: none; }

.yd-equiv-label {
    font-size: 0.88rem;
    color: #666;
}

.yd-equiv-val {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.kl-food-table-wrap { overflow-x: auto; }

.kl-food-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.kl-food-table th {
    background: #f5f7fa;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    text-align: left;
    border-bottom: 2px solid #e0e0e0;
}

.kl-food-table td {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

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

@media (max-width: 640px) {
    .yd-form { grid-template-columns: 1fr; }
    .yd-main-val { font-size: 2.2rem; }
}
