/* =====================================================================
 * 08 热水器温度设置 · 独立视觉：双刻度温度计 / 防烫防菌边界
 * 左参数 + 中双温度计 + 右设定与能耗读数，与同批其它页不同。
 * ===================================================================== */
.hc.hc--wt { --hc-a: #c06a3c; --hc-a-soft: #f8eae1; }
:root[data-theme="dark"] .hc.hc--wt { --hc-a: #e2a077; --hc-a-soft: #38241a; }

.wt-hero { padding-top: 34px; }
.wt-head { max-width: 850px; }
.wt-bench { display: grid; grid-template-columns: minmax(250px, 1.05fr) minmax(0, 1.1fr) minmax(205px, .85fr); gap: 16px; margin-top: 26px; align-items: start; }

.wt-form, .wt-read {
    padding: 18px; border: 1px solid var(--hc-line); border-radius: var(--hc-r);
    background: var(--hc-card); box-shadow: var(--hc-shadow);
}
.wt-panel-title {
    font-family: var(--hc-serif); font-size: 11px; letter-spacing: .13em; text-transform: uppercase;
    color: var(--hc-a); padding-bottom: 9px; margin-bottom: 12px; border-bottom: 1px dashed var(--hc-line);
}
.wt-form .hc-fields { grid-template-columns: 1fr 1fr; gap: 11px; }
.wt-form .hc-field label b { color: var(--hc-danger); }
.wt-switches { display: grid; gap: 7px; margin-top: 13px; }
.wt-switches .hc-check { padding: 7px 9px; }
.wt-switches .hc-check b { font-size: 12px; }
.wt-form .hc-btn { flex: 1 1 auto; font-size: 12.5px; padding: 9px; }

/* ---------- 温度计 ---------- */
.wt-viz {
    border: 1px solid var(--hc-line); border-radius: var(--hc-r);
    background: var(--hc-card); box-shadow: var(--hc-shadow); overflow: hidden;
}
.wt-viz-head, .wt-viz-foot {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center;
    padding: 11px 17px; font-family: var(--hc-serif); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--hc-muted);
}
.wt-viz-head { border-bottom: 1px solid var(--hc-line-2); }
.wt-viz-foot { border-top: 1px solid var(--hc-line-2); font-family: var(--hc-sans); letter-spacing: 0; font-size: 11.5px; }
.wt-viz-head span:last-child, .wt-viz-foot span:last-child { font-family: var(--hc-sans); letter-spacing: 0; font-size: 12px; color: var(--hc-a); font-weight: 700; }
#wtSvg { display: block; width: 100%; height: auto; background: var(--hc-card-2); }
.wt-tube { fill: var(--hc-card); stroke: var(--hc-ink-2); stroke-width: 2; }
.wt-tank-fill { fill: var(--hc-a); transition: y .35s, height .35s; }
.wt-out-fill { fill: var(--hc-ok); transition: y .35s, height .35s; }
.wt-bulb { fill: var(--hc-a); }
.wt-bulb--out { fill: var(--hc-ok); }
.wt-bulb-t { fill: #fff; font-size: 13px; font-weight: 700; }
:root[data-theme="dark"] .wt-bulb-t { fill: #25150c; }
.wt-tick { stroke: var(--hc-muted); stroke-width: 1; }
.wt-tick-t { fill: var(--hc-muted); font-size: 9.5px; font-family: var(--hc-serif); }
.wt-mark { stroke-width: 1.5; stroke-dasharray: 5 4; }
.wt-mark--safe { stroke: var(--hc-ok); }
.wt-mark--bacteria { stroke: var(--hc-danger); }
.wt-mark-t { font-size: 9.5px; }
.wt-cap { fill: var(--hc-muted); font-size: 10.5px; }
.wt-key { display: inline-block; width: 12px; height: 8px; border-radius: 2px; margin-right: 5px; vertical-align: 1px; }
.wt-key--tank { background: var(--hc-a); }
.wt-key--out { background: var(--hc-ok); }

/* ---------- 读数 ---------- */
.wt-big { padding: 15px 16px; border-radius: var(--hc-r-sm); background: var(--hc-a); color: #fff; text-align: center; }
:root[data-theme="dark"] .wt-big { color: #2b1508; }
.wt-big span { display: block; font-size: 11.5px; opacity: .9; }
.wt-big strong { display: block; font-family: var(--hc-serif); font-size: 30px; line-height: 1.3; }
.wt-big small { display: block; font-size: 11.5px; opacity: .9; }
.wt-kpis { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.wt-kpis .hc-kpi { padding: 10px 11px; }
.wt-kpis .hc-kpi .v { font-size: 18px; }
.wt-kpis .hc-kpi .d { font-size: 10px; }
.wt-energy { margin-top: 14px; }
.wt-energy-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--hc-muted); }
.wt-energy-head b { font-family: var(--hc-serif); font-size: 15px; color: var(--hc-a); }
.wt-energy-track { height: 9px; margin: 7px 0; border-radius: 6px; background: var(--hc-line-2); overflow: hidden; }
.wt-energy-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--hc-ok), var(--hc-danger)); transition: width .3s; }
.wt-energy p { margin: 0; font-size: 10.5px; line-height: 1.6; color: var(--hc-muted); }

/* ---------- 结果 ---------- */
.wt-verdict { margin-top: 2px; }
.wt-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 15px; }
.wt-plan { padding: 18px 19px; border: 1px solid var(--hc-line-2); border-radius: var(--hc-r); background: var(--hc-card); box-shadow: var(--hc-shadow-sm); }
.wt-plan .tag { font-family: var(--hc-serif); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--hc-a); }
.wt-plan h3 { margin: 7px 0 9px; font-size: 17px; }
.wt-plan p { margin: 0; font-size: 13px; line-height: 1.75; color: var(--hc-ink-2); }
.wt-plan ul { margin: 10px 0 0; padding-left: 18px; font-size: 12.5px; color: var(--hc-ink-2); }
.wt-plan li { margin-bottom: 5px; }
.wt .hc-table tr.is-key { background: var(--hc-a-soft); }

@media (max-width: 1150px) {
    .wt-bench { grid-template-columns: 1fr 1fr; }
    .wt-read { grid-column: 1 / -1; }
    .wt-kpis { grid-template-columns: repeat(4, 1fr); }
    .wt-plans { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .wt-bench { grid-template-columns: 1fr; }
    .wt-read { grid-column: auto; }
    .wt-kpis { grid-template-columns: 1fr 1fr; }
    .wt-form, .wt-read { padding: 15px; }
}
@media (max-width: 480px) { .wt-form .hc-fields { grid-template-columns: 1fr; } }
