/* =====================================================================
 * 09 弓箭拉距计算 · 独立视觉：拉弓俯视 / 臂展与箭长刻度
 * 左参数 + 中俯视拉弓图 + 右英寸读数，与同批其它页不同。
 * ===================================================================== */

.hc.hc--bl { --hc-a: #8a6b3d; --hc-a-soft: #f2eade; }
:root[data-theme="dark"] .hc.hc--bl { --hc-a: #d5ad70; --hc-a-soft: #322819; }

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

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

/* ---------- 拉弓图 ---------- */
.bl-viz {
    border: 1px solid var(--hc-line); border-radius: var(--hc-r);
    background: var(--hc-card); box-shadow: var(--hc-shadow); overflow: hidden;
}
.bl-viz-head, .bl-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);
}
.bl-viz-head { border-bottom: 1px solid var(--hc-line-2); }
.bl-viz-foot { border-top: 1px solid var(--hc-line-2); font-family: var(--hc-sans); letter-spacing: 0; font-size: 11.5px; }
.bl-viz-head span:last-child, .bl-viz-foot span:last-child { font-family: var(--hc-sans); letter-spacing: 0; font-size: 12px; color: var(--hc-a); font-weight: 700; }
#blSvg { display: block; width: 100%; height: auto; background: var(--hc-card-2); }
.bl-bow-limb { fill: none; stroke: var(--hc-a); stroke-width: 7; stroke-linecap: round; }
.bl-string { fill: none; stroke: var(--hc-ink-2); stroke-width: 1.8; }
.bl-arrow { stroke: var(--hc-warm); stroke-width: 3; stroke-linecap: round; }
.bl-head-dot { fill: var(--hc-a-soft); stroke: var(--hc-ink-2); stroke-width: 2; }
.bl-shoulder { fill: none; stroke: var(--hc-muted); stroke-width: 3; stroke-linecap: round; }
.bl-draw-line { stroke: var(--hc-a); stroke-width: 2; stroke-dasharray: 6 4; }
.bl-dim { stroke: var(--hc-muted); stroke-width: 1; }
.bl-dim-t { fill: var(--hc-ink-2); font-size: 10.5px; font-family: var(--hc-serif); }
.bl-cap { fill: var(--hc-muted); font-size: 10.5px; }
.bl-key { display: inline-block; width: 14px; height: 4px; border-radius: 2px; margin-right: 5px; vertical-align: 2px; }
.bl-key--bow { background: var(--hc-a); }
.bl-key--draw { background: var(--hc-warm); }

/* ---------- 读数 ---------- */
.bl-big { padding: 15px 16px; border-radius: var(--hc-r-sm); background: var(--hc-a); color: #fff; text-align: center; }
:root[data-theme="dark"] .bl-big { color: #291c09; }
.bl-big span { display: block; font-size: 11.5px; opacity: .9; }
.bl-big strong { display: block; font-family: var(--hc-serif); font-size: 32px; line-height: 1.3; }
.bl-big small { display: block; font-size: 12px; opacity: .9; }
.bl-kpis { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.bl-kpis .hc-kpi { padding: 10px 11px; }
.bl-kpis .hc-kpi .v { font-size: 18px; }
.bl-kpis .hc-kpi .d { font-size: 10px; }
.bl-scale { margin-top: 14px; }
.bl-scale-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--hc-muted); }
.bl-scale-head b { font-family: var(--hc-serif); font-size: 15px; color: var(--hc-a); }
.bl-scale-track { position: relative; height: 9px; margin: 8px 0 5px; border-radius: 6px; background: linear-gradient(90deg, var(--hc-a-soft), var(--hc-a)); border: 1px solid var(--hc-line); }
.bl-scale-track i { display: block; height: 100%; border-radius: 6px; background: var(--hc-ok); opacity: .5; transition: width .3s; }
.bl-scale-track u { position: absolute; top: -4px; width: 3px; height: 17px; background: var(--hc-ink); border-radius: 2px; transition: left .3s; }
.bl-scale-labels { display: flex; justify-content: space-between; font-size: 10px; color: var(--hc-muted); }

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

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