/* ===== 电池租用 vs 买断 ===== */
.blb-hero {
    background: linear-gradient(150deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
    border-radius: 22px;
    padding: 28px;
    margin-bottom: 26px;
    box-shadow: 0 12px 36px rgba(22, 101, 52, .10);
}
.blb-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.blb-logo {
    font-size: 28px; width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, #15803d 0%, #86efac 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(21, 128, 61, .3);
}
.blb-title { font-size: 20px; font-weight: 800; color: #14532d; }
.blb-sub { font-size: 13px; color: #64748b; margin-top: 2px; }

.blb-body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.blb-form {
    background: rgba(255,255,255,.92); border: 1px solid #86efac;
    border-radius: 16px; padding: 16px;
}
.blb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.blb-field { display: flex; flex-direction: column; gap: 4px; }
.blb-field > span { font-size: 12px; color: #64748b; font-weight: 600; }
.blb-field input, .blb-field select {
    border: 2px solid #dcfce7; border-radius: 10px; padding: 9px 12px;
    font-size: 14px; background: #fff; color: #0f172a; outline: none; transition: border-color .2s;
}
.blb-field input:focus, .blb-field select:focus { border-color: #16a34a; }

.blb-result {
    background: rgba(255,255,255,.92); border: 1px solid #e2e8f0;
    border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px;
}
.blb-compare { display: flex; flex-direction: column; gap: 8px; }
.blb-row { display: flex; align-items: center; gap: 8px; }
.blb-row > span { width: 34px; font-size: 12px; color: #64748b; font-weight: 700; flex-shrink: 0; }
.blb-track { flex: 1; height: 16px; border-radius: 999px; background: #f0fdf4; overflow: hidden; }
.blb-track i { display: block; height: 100%; width: 0; border-radius: 999px; transition: width .4s; }
.blb-buy { background: linear-gradient(90deg, #16a34a, #4ade80); }
.blb-rent { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.blb-row b { width: 76px; text-align: right; font-size: 13px; color: #0f172a; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.blb-breakeven { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.blb-breakeven > span { width: 68px; font-size: 11px; color: #94a3b8; flex-shrink: 0; }
.blb-be-track {
    position: relative; flex: 1; height: 6px; border-radius: 999px;
    background: repeating-linear-gradient(90deg, #e2e8f0 0 8px, transparent 8px 14px);
}
.blb-be-track i {
    position: absolute; top: -5px; left: 0; width: 4px; height: 16px; border-radius: 2px;
    background: #b91c1c; transition: left .4s;
}
.blb-breakeven b { font-size: 12px; color: #b91c1c; font-variant-numeric: tabular-nums; }
.blb-break { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.blb-break li {
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    background: #f0fdf4; border: 1px solid #dcfce7; border-radius: 10px;
    padding: 8px 12px; font-size: 13px; color: #15803d;
}
.blb-break li b { color: #0f172a; font-variant-numeric: tabular-nums; }
.blb-break li.ok { border-color: #16a34a; background: #dcfce7; color: #14532d; font-weight: 700; }
.blb-break li.ok.bad { border-color: #f59e0b; background: #fffbeb; color: #92400e; }
.blb-note { margin-top: 14px; font-size: 12px; color: #64748b; line-height: 1.7; }

@media (max-width: 860px) {
    .blb-body { grid-template-columns: 1fr; }
    .blb-hero { padding: 20px 14px; }
}

/* ===== 深色模式 ===== */
[data-theme="dark"] .blb-hero {
    background: linear-gradient(150deg, #052e16 0%, #0f172a 100%);
    border-color: rgba(134, 239, 172, .22);
}
[data-theme="dark"] .blb-title { color: #86efac; }
[data-theme="dark"] .blb-form, [data-theme="dark"] .blb-result {
    background: rgba(255,255,255,.05); border-color: rgba(134, 239, 172, .18);
}
[data-theme="dark"] .blb-field input, [data-theme="dark"] .blb-field select {
    background: rgba(255,255,255,.06); color: #e2e8f0; border-color: rgba(134,239,172,.25);
}
[data-theme="dark"] .blb-field > span { color: #94a3b8; }
[data-theme="dark"] .blb-track { background: rgba(255,255,255,.08); }
[data-theme="dark"] .blb-row b { color: #e2e8f0; }
[data-theme="dark"] .blb-breakeven b { color: #fca5a5; }
[data-theme="dark"] .blb-break li { background: rgba(255,255,255,.04); border-color: rgba(148,163,184,.2); color: #94a3b8; }
[data-theme="dark"] .blb-break li b { color: #e2e8f0; }
[data-theme="dark"] .blb-break li.ok { background: rgba(22,163,74,.18); border-color: rgba(74,222,128,.4); color: #86efac; }
[data-theme="dark"] .blb-break li.ok.bad { background: rgba(217,119,6,.18); border-color: rgba(251,191,36,.4); color: #fde68a; }
