/* ===== 种植牙费用对比 ===== */
.impl-hero {
    background: linear-gradient(150deg, #f0fdfa 0%, #ecfeff 100%);
    border: 1px solid #5eead4;
    border-radius: 22px;
    padding: 28px;
    margin-bottom: 26px;
    box-shadow: 0 12px 36px rgba(19, 78, 74, .10);
}
.impl-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.impl-logo {
    font-size: 28px; width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, #0f766e 0%, #5eead4 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(15, 118, 110, .3);
}
.impl-title { font-size: 20px; font-weight: 800; color: #134e4a; }
.impl-sub { font-size: 13px; color: #64748b; margin-top: 2px; }

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

.impl-result {
    background: rgba(255,255,255,.92); border: 1px solid #e2e8f0;
    border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px;
}
.impl-bars { display: flex; flex-direction: column; gap: 8px; }
.impl-bar-row { display: flex; align-items: center; gap: 8px; }
.impl-bar-row > span { width: 44px; font-size: 12px; color: #64748b; font-weight: 700; flex-shrink: 0; }
.impl-track { flex: 1; height: 16px; border-radius: 999px; background: #f0fdfa; overflow: hidden; }
.impl-track i { display: block; height: 100%; width: 0; border-radius: 999px; transition: width .4s; }
.impl-a { background: linear-gradient(90deg, #0f766e, #2dd4bf); }
.impl-b { background: linear-gradient(90deg, #0ea5e9, #7dd3fc); }
.impl-c { background: linear-gradient(90deg, #f59e0b, #fcd34d); }
.impl-bar-row b { width: 80px; text-align: right; font-size: 13px; color: #0f172a; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.impl-break { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.impl-break li {
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    background: #f0fdfa; border: 1px solid #ccfbf1; border-radius: 10px;
    padding: 8px 12px; font-size: 13px; color: #0f766e;
}
.impl-break li b { color: #0f172a; font-variant-numeric: tabular-nums; }
.impl-break li.ok { border-color: #0d9488; background: #ccfbf1; color: #134e4a; font-weight: 700; }
.impl-break li.ok.bad { border-color: #f59e0b; background: #fffbeb; color: #92400e; }
.impl-note { margin-top: 14px; font-size: 12px; color: #64748b; line-height: 1.7; }

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

/* ===== 深色模式 ===== */
[data-theme="dark"] .impl-hero {
    background: linear-gradient(150deg, #042f2e 0%, #0f172a 100%);
    border-color: rgba(94, 234, 212, .22);
}
[data-theme="dark"] .impl-title { color: #5eead4; }
[data-theme="dark"] .impl-form, [data-theme="dark"] .impl-result {
    background: rgba(255,255,255,.05); border-color: rgba(94, 234, 212, .18);
}
[data-theme="dark"] .impl-field input, [data-theme="dark"] .impl-field select {
    background: rgba(255,255,255,.06); color: #e2e8f0; border-color: rgba(94,234,212,.25);
}
[data-theme="dark"] .impl-field > span { color: #94a3b8; }
[data-theme="dark"] .impl-track { background: rgba(255,255,255,.08); }
[data-theme="dark"] .impl-bar-row b { color: #e2e8f0; }
[data-theme="dark"] .impl-break li { background: rgba(255,255,255,.04); border-color: rgba(148,163,184,.2); color: #94a3b8; }
[data-theme="dark"] .impl-break li b { color: #e2e8f0; }
[data-theme="dark"] .impl-break li.ok { background: rgba(13,148,136,.2); border-color: rgba(45,212,191,.4); color: #5eead4; }
[data-theme="dark"] .impl-break li.ok.bad { background: rgba(217,119,6,.18); border-color: rgba(251,191,36,.4); color: #fde68a; }
