/* ==========================================================================
   油烟机清洗周期与费用 —— 专属样式（油污表 + 三层周期 + 方案对比）
   依赖 biz-kit.css v2 的变量与骨架
   ========================================================================== */

/* ---------- 油污表 ---------- */
.rh-gauge { padding: 10px 4px 4px; }

.rh-gauge-track {
    position: relative;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, #9fd8a8, #f2cf6c 55%, #f0906c);
    border: 1px solid var(--bk-line);
}

.rh-gauge-pin {
    position: absolute;
    top: -12px;
    transform: translateX(-50%);
    width: 4px;
    height: 42px;
    border-radius: 3px;
    background: var(--bk-ink);
    transition: left .3s ease;
}

.rh-gauge-pin::after {
    content: attr(data-label);
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--bk-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--bk-ink);
    white-space: nowrap;
}

.rh-gauge-marks {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 11px;
    color: var(--bk-ink3);
    font-family: var(--bk-mono);
}

/* ---------- 三层周期 ---------- */
.rh-cycles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }

.rh-cycle {
    border: 1px solid var(--bk-line);
    border-radius: 10px;
    background: var(--bk-card);
    padding: 13px 15px;
    display: grid;
    gap: 5px;
}

.rh-cycle-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.rh-cycle-head i {
    width: 8px; height: 8px; border-radius: 3px;
    background: var(--c1, var(--bk-accent));
    flex: none;
}

.rh-cycle-freq { font-family: var(--bk-mono); font-size: 17px; font-weight: 700; color: var(--bk-accent); font-variant-numeric: tabular-nums; }
.rh-cycle-freq small { font-size: 10px; font-weight: 400; color: var(--bk-ink3); margin-left: 3px; }
.rh-cycle-desc { font-size: 11.5px; line-height: 1.7; color: var(--bk-ink3); }

/* ---------- 方案对比 ---------- */
.rh-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }

.rh-plan {
    border: 1px solid var(--bk-line);
    border-radius: 12px;
    background: var(--bk-card);
    padding: 15px 17px;
    display: grid;
    gap: 9px;
    transition: border-color .16s ease, background .16s ease;
}

.rh-plan.is-win { border-color: var(--bk-accent); background: var(--bk-accent-soft); }

.rh-plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rh-plan-head b { font-size: 14px; font-weight: 800; }

.rh-plan-tag {
    font-size: 10px; font-weight: 700;
    padding: 3px 9px; border-radius: 999px;
    background: var(--bk-accent); color: #fff;
}

.rh-plan-cost { font-family: var(--bk-mono); font-size: 21px; font-weight: 700; color: var(--bk-ink); font-variant-numeric: tabular-nums; }
.rh-plan.is-win .rh-plan-cost { color: var(--bk-accent); }
.rh-plan-cost small { font-size: 10px; font-weight: 400; color: var(--bk-ink3); margin-left: 4px; }

.rh-plan-rows { display: grid; gap: 4px; }
.rh-plan-rows div { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; color: var(--bk-ink2); }
.rh-plan-rows b { font-family: var(--bk-mono); font-variant-numeric: tabular-nums; color: var(--bk-ink); white-space: nowrap; }

.rh-plan-fit { font-size: 11.5px; line-height: 1.7; color: var(--bk-ink3); border-top: 1px dashed var(--bk-line); padding-top: 8px; }

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