/* =====================================================================
 * 09 智能马桶适配 · 独立视觉：俯视尺寸标注 / 水电点位
 * 左参数 + 中俯视安装图 + 右适配判断，与同批其它页不同。
 * ===================================================================== */
.hc.hc--st { --hc-a: #3a8392; --hc-a-soft: #e3f0f2; }
:root[data-theme="dark"] .hc.hc--st { --hc-a: #7cc6d1; --hc-a-soft: #173034; }

.st-hero { padding-top: 34px; }
.st-head { max-width: 850px; }
.st-bench { display: grid; grid-template-columns: minmax(250px, 1.06fr) minmax(0, 1.02fr) minmax(210px, .9fr); gap: 16px; margin-top: 26px; align-items: start; }

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

/* ---------- 俯视图 ---------- */
.st-viz {
    border: 1px solid var(--hc-line); border-radius: var(--hc-r);
    background: var(--hc-card); box-shadow: var(--hc-shadow); overflow: hidden;
}
.st-viz-head, .st-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);
}
.st-viz-head { border-bottom: 1px solid var(--hc-line-2); }
.st-viz-foot { border-top: 1px solid var(--hc-line-2); font-family: var(--hc-sans); letter-spacing: 0; font-size: 11.5px; }
.st-viz-head span:last-child, .st-viz-foot span:last-child { font-family: var(--hc-sans); letter-spacing: 0; font-size: 12px; color: var(--hc-a); font-weight: 700; }
#stSvg { display: block; width: min(320px, 100%); margin: 8px auto; background: var(--hc-card-2); }
.st-wall { fill: var(--hc-ink-2); opacity: .7; }
.st-wall-t { fill: var(--hc-card); font-size: 10px; }
.st-body { fill: var(--hc-card); stroke: var(--hc-a); stroke-width: 2.5; }
.st-seat { fill: var(--hc-a-soft); stroke: var(--hc-a); stroke-width: 2; }
.st-drain { fill: var(--hc-warm); cursor: pointer; }
.st-drain-t { fill: #fff; font-size: 9px; font-weight: 700; }
.st-power { fill: var(--hc-warm); cursor: pointer; }
.st-power.is-bad { fill: var(--hc-danger); }
.st-valve { fill: var(--hc-ok); cursor: pointer; }
.st-point-t { fill: var(--hc-ink-2); font-size: 9.5px; }
.st-dim { stroke: var(--hc-muted); stroke-width: 1; }
.st-dim-t { fill: var(--hc-ink-2); font-size: 10px; font-family: var(--hc-serif); }
.st-cap { fill: var(--hc-muted); font-size: 10.5px; }
.st-key { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.st-key--power { background: var(--hc-warm); }
.st-key--drain { background: var(--hc-warm); opacity: .6; }
.st-point-info {
    margin: 0 16px 16px; padding: 11px 14px; border-left: 3px solid var(--hc-a);
    background: var(--hc-card-2); border-radius: 0 var(--hc-r-sm) var(--hc-r-sm) 0;
    font-size: 12.5px; line-height: 1.7; color: var(--hc-ink-2);
}
.st-point-info b { display: block; color: var(--hc-ink); }

/* ---------- 读数 ---------- */
.st-grade { padding: 13px 14px; border: 1px solid var(--hc-line); border-radius: var(--hc-r-sm); background: var(--hc-a-soft); }
.st-grade > span:first-child { display: block; font-size: 11.5px; color: var(--hc-muted); }
.st-grade strong { display: block; font-size: 20px; line-height: 1.4; margin: 2px 0 6px; }
.st-grade p { margin: 9px 0 0; font-size: 12px; line-height: 1.7; color: var(--hc-ink-2); }
.st-kpis { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.st-kpis .hc-kpi { padding: 10px 11px; }
.st-kpis .hc-kpi .v { font-size: 18px; }
.st-kpis .hc-kpi .d { font-size: 10px; }
.st-margin { margin-top: 15px; }
.st-margin-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--hc-ink-2); }
.st-margin-row b { font-family: var(--hc-serif); font-size: 14px; color: var(--hc-a); }
.st-bar { height: 8px; border-radius: 5px; background: var(--hc-line-2); overflow: hidden; margin: 5px 0 9px; }
.st-bar i { display: block; height: 100%; background: var(--hc-ok); transition: width .3s, background .3s; }
.st-bar i.is-short { background: var(--hc-danger); }

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

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