/* =====================================================================
 * 05 酒店床虱检查 · 独立视觉：房间俯视热点 / 迹象勾选 / 风险环
 * 左勾选台 + 中房间平面图 + 右风险仪表，与同批其它页不同。
 * ===================================================================== */
.hc.hc--bh { --hc-a: #a35c3b; --hc-a-soft: #f5e9e2; }
:root[data-theme="dark"] .hc.hc--bh { --hc-a: #dda07a; --hc-a-soft: #35231a; }

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

.bh-form, .bh-read {
    padding: 18px; border: 1px solid var(--hc-line); border-radius: var(--hc-r);
    background: var(--hc-card); box-shadow: var(--hc-shadow);
}
.bh-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);
}
.bh-form .hc-fields { grid-template-columns: 1fr 1fr; gap: 11px; }
.bh-switches { display: grid; gap: 7px; margin-top: 12px; }
.bh-switches .hc-check { padding: 7px 9px; }
.bh-switches .hc-check b { font-size: 12px; }
.bh-signs, .bh-zones { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bh-sign, .bh-zone {
    display: flex; align-items: center; gap: 7px; padding: 7px 9px;
    border: 1px solid var(--hc-line); border-radius: 8px; background: var(--hc-card-2); cursor: pointer; transition: all .18s;
}
.bh-sign:hover, .bh-zone:hover { border-color: var(--hc-a); }
.bh-sign:has(input:checked), .bh-zone:has(input:checked) { border-color: var(--hc-a); background: var(--hc-a-soft); }
.bh-sign b { display: block; font-size: 11.5px; color: var(--hc-ink); }
.bh-sign small { display: block; font-size: 10px; color: var(--hc-muted); }
.bh-zone span { font-size: 11.5px; color: var(--hc-ink-2); }
.bh-form .hc-btn { flex: 1 1 auto; font-size: 12.5px; padding: 9px; }

/* ---------- 房间图 ---------- */
.bh-viz {
    border: 1px solid var(--hc-line); border-radius: var(--hc-r);
    background: var(--hc-card); box-shadow: var(--hc-shadow); overflow: hidden;
}
.bh-viz-head, .bh-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);
}
.bh-viz-head { border-bottom: 1px solid var(--hc-line-2); }
.bh-viz-foot { border-top: 1px solid var(--hc-line-2); font-family: var(--hc-sans); letter-spacing: 0; font-size: 11.5px; }
.bh-viz-head span:last-child, .bh-viz-foot span:last-child { font-family: var(--hc-sans); letter-spacing: 0; font-size: 12px; color: var(--hc-a); font-weight: 700; }
#bhSvg { display: block; width: 100%; height: auto; background: var(--hc-card-2); }
.bh-room { fill: var(--hc-card); stroke: var(--hc-ink-2); stroke-width: 2; }
.bh-bath { fill: var(--hc-a-soft); }
.bh-bed { fill: var(--hc-a-soft); stroke: var(--hc-a); stroke-width: 2; }
.bh-pillow { fill: var(--hc-card); stroke: var(--hc-line); stroke-width: 1; }
.bh-sofa, .bh-rack, .bh-carpet { fill: var(--hc-card-2); stroke: var(--hc-line); stroke-width: 1.5; }
.bh-room-t { fill: var(--hc-ink-2); font-size: 10px; }
.bh-cap { fill: var(--hc-muted); font-size: 10.5px; }
.bh-hot { cursor: pointer; }
.bh-hot circle { fill: var(--hc-card); stroke: var(--hc-muted); stroke-width: 2; transition: all .2s; }
.bh-hot.is-checked circle { fill: var(--hc-ok); stroke: var(--hc-ok); }
.bh-hot.is-risk circle { fill: var(--hc-danger); stroke: var(--hc-danger); }
.bh-hot.is-on circle { stroke: var(--hc-ink); stroke-width: 3; }
.bh-hot-t { fill: var(--hc-ink-2); font-size: 10px; font-weight: 650; }
.bh-key { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.bh-key--checked { background: var(--hc-ok); }
.bh-key--risk { background: var(--hc-danger); }
.bh-hot-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);
}
.bh-hot-info b { display: block; color: var(--hc-ink); }

/* ---------- 风险环 ---------- */
.bh-ring-svg { display: block; width: min(155px, 100%); margin: 4px auto 10px; }
.bh-ring-bg { fill: none; stroke: var(--hc-line-2); stroke-width: 12; }
.bh-ring-fg { fill: none; stroke: var(--hc-a); stroke-width: 12; stroke-linecap: round; transition: stroke-dasharray .3s, stroke .3s; }
.bh-ring-val { fill: var(--hc-a); font-size: 20px; font-weight: 700; }
.bh-ring-cap { fill: var(--hc-muted); font-size: 10px; }
.bh-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
.bh-kpis .hc-kpi { padding: 10px 11px; }
.bh-kpis .hc-kpi .v { font-size: 18px; }
.bh-kpis .hc-kpi .d { font-size: 10px; }
.bh-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); }
.bh-redline b { display: block; color: var(--hc-danger); }

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

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