/* =====================================================================
 * 05 户外净水方式 · 独立视觉：处理链流程 / 滤芯分层剖面 / 浊度环
 * 左参数 + 中横向处理链与剖面 + 右环形仪表，三栏结构与同批其它页不同。
 * ===================================================================== */

.hc.hc--wp { --hc-a: #267c78; --hc-a-soft: #e0f0ee; }
:root[data-theme="dark"] .hc.hc--wp { --hc-a: #6ecbc2; --hc-a-soft: #16302e; }

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

.wp-form, .wp-read {
    padding: 18px; border: 1px solid var(--hc-line); border-radius: var(--hc-r);
    background: var(--hc-card); box-shadow: var(--hc-shadow);
}
.wp-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);
}
.wp-form .hc-fields { grid-template-columns: 1fr 1fr; gap: 11px; }
.wp-form .hc-field label b { color: var(--hc-danger); }
.wp-switches { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.wp-switches .hc-check { padding: 7px 9px; }
.wp-switches .hc-check b { font-size: 12px; }
.wp-risk { margin-top: 8px; }
.wp-form .hc-btn { flex: 1 1 auto; font-size: 12.5px; padding: 9px; }

/* ---------- 处理链 ---------- */
.wp-viz {
    border: 1px solid var(--hc-line); border-radius: var(--hc-r);
    background: var(--hc-card); box-shadow: var(--hc-shadow); overflow: hidden;
}
.wp-viz-head {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
    padding: 11px 17px; border-bottom: 1px solid var(--hc-line-2);
    font-family: var(--hc-serif); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--hc-muted);
}
.wp-viz-head span:last-child { font-family: var(--hc-sans); letter-spacing: 0; font-size: 12px; color: var(--hc-a); font-weight: 700; }
#wpSvg, #wpFilterSvg { display: block; width: 100%; height: auto; }
#wpSvg { background: var(--hc-card-2); }
.wp-node { transition: opacity .25s; }
.wp-node.is-off { opacity: .28; }
.wp-node rect { fill: var(--hc-card); stroke: var(--hc-a); stroke-width: 2; }
.wp-node.is-key rect { fill: var(--hc-a-soft); stroke-width: 3; }
.wp-node.is-danger rect { fill: var(--hc-danger-soft); stroke: var(--hc-danger); }
.wp-node-t { fill: var(--hc-ink); font-size: 12px; font-weight: 700; }
.wp-node-s { fill: var(--hc-muted); font-size: 9.5px; }
.wp-flow { stroke: var(--hc-a); stroke-width: 2.5; stroke-dasharray: 6 5; marker-end: url(#wpArrow); color: var(--hc-a); fill: none; }
#wpArrow path { fill: var(--hc-a); }
.wp-tiny { fill: var(--hc-muted); font-size: 10px; }
.wp-filter { padding: 10px 16px 14px; border-top: 1px solid var(--hc-line-2); }
.wp-filter-head { font-size: 12.5px; font-weight: 700; margin-bottom: 4px; }
.wp-housing { fill: var(--hc-card-2); stroke: var(--hc-ink-2); stroke-width: 1.5; }
.wp-layer { stroke: var(--hc-ink-2); stroke-width: 1; }
.wp-layer--1 { fill: var(--hc-a-soft); }
.wp-layer--2 { fill: var(--hc-muted); opacity: .45; }
.wp-layer--3 { fill: var(--hc-a); opacity: .55; }
.wp-layer--4 { fill: var(--hc-card); }
.wp-layer-t { fill: var(--hc-ink); font-size: 10px; font-weight: 650; }

/* ---------- 浊度环 ---------- */
.wp-ring-svg { display: block; width: min(160px, 100%); margin: 4px auto 10px; }
.wp-ring-bg { fill: none; stroke: var(--hc-line-2); stroke-width: 12; }
.wp-ring-fg { fill: none; stroke: var(--hc-a); stroke-width: 12; stroke-linecap: round; transition: stroke-dasharray .3s, stroke .3s; }
.wp-ring-val { fill: var(--hc-a); font-size: 20px; font-weight: 700; }
.wp-ring-cap { fill: var(--hc-muted); font-size: 10px; }
.wp-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
.wp-kpis .hc-kpi { padding: 10px 11px; }
.wp-kpis .hc-kpi .v { font-size: 19px; }
.wp-kpis .hc-kpi .d { font-size: 10px; }
.wp-redline { margin-top: 13px; padding: 11px 13px; border-radius: var(--hc-r-sm); background: var(--hc-danger-soft); border-left: 3px solid var(--hc-danger); font-size: 12px; line-height: 1.7; color: var(--hc-ink-2); }
.wp-redline b { display: block; color: var(--hc-danger); }

/* ---------- 结果 ---------- */
.wp-verdict { margin-top: 2px; }
.wp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 15px; }
.wp-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); }
.wp-plan .tag { font-family: var(--hc-serif); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--hc-a); }
.wp-plan h3 { margin: 7px 0 9px; font-size: 17px; }
.wp-plan p { margin: 0; font-size: 13px; line-height: 1.75; color: var(--hc-ink-2); }
.wp-plan ol, .wp-plan ul { margin: 10px 0 0; padding-left: 19px; font-size: 12.5px; color: var(--hc-ink-2); }
.wp-plan li { margin-bottom: 6px; }
.wp-ai { border-left: 3px solid var(--hc-warm); }

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