/* ===== UPS 续航 · 电能紫主题（violet + 石板灰，区别于蓝/橙/青绿/绿主题） ===== */
.rc-card { background:#fff; border:1px solid #ddd6fe; border-top:4px solid #7c3aed; border-radius:14px; padding:22px 22px 24px; box-shadow:0 14px 38px rgba(124,58,237,.12); }
.rc-card--main { font-family:system-ui,-apple-system,"PingFang SC",sans-serif; }
.rc-card-head { display:flex; align-items:center; gap:14px; padding-bottom:16px; margin-bottom:18px; border-bottom:1px dashed #cbbcf7; }
.rc-logo { flex:0 0 auto; width:48px; height:48px; border-radius:12px; background:linear-gradient(135deg,#a78bfa,#6d28d9); color:#fff; font-size:24px; display:flex; align-items:center; justify-content:center; box-shadow:0 6px 16px rgba(124,58,237,.4); }
.rc-title { margin:0; font-size:24px; color:#14233a; letter-spacing:.3px; font-family:"Noto Serif SC","Songti SC",serif; }
.rc-sub { margin:4px 0 0; font-size:13px; color:#5b4b8a; }
.rc-row2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.rc-row3 { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.rc-field { margin-bottom:14px; }
.rc-field > label { display:block; font-weight:600; color:#4c1d95; margin-bottom:7px; font-size:14px; }
.rc-input, .rc-select { width:100%; padding:10px 12px; border:1px solid #cbbcf7; border-radius:9px; font-size:15px; color:#2e1065; background:#f6f4fe; font-family:inherit; transition:border-color .15s,box-shadow .15s; }
.rc-input:focus, .rc-select:focus { outline:none; border-color:#7c3aed; box-shadow:0 0 0 3px rgba(124,58,237,.15); background:#fff; }
.rc-input-wrap { position:relative; }
.rc-suffix { position:absolute; right:12px; top:50%; transform:translateY(-50%); color:#7c6bb0; font-size:14px; }
.rc-help { margin:8px 0 0; font-size:12.5px; line-height:1.6; color:#5b4b8a; }
.rc-help b { color:#6d28d9; }
.rc-quick { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.rc-quick button { border:1px solid #cbbcf7; background:#f6f4fe; color:#6d28d9; border-radius:20px; padding:4px 10px; font-size:12px; cursor:pointer; font-family:inherit; }
.rc-quick button:hover { background:#ece7fc; }
.rc-result-card { font-family:system-ui,-apple-system,"PingFang SC",sans-serif; }
.rc-detail-tag { display:inline-block; background:#7c3aed; color:#fff; font-size:13px; padding:5px 12px; border-radius:20px; margin-bottom:14px; }
.rc-ratio { display:flex; align-items:baseline; justify-content:space-between; background:#efebfe; border:1px solid #cbbcf7; border-radius:10px; padding:12px 15px; margin-bottom:12px; }
.rc-ratio span { color:#5b4b8a; font-size:14px; }
.rc-ratio b { color:#6d28d9; font-size:22px; font-family:"Noto Serif SC",serif; }
.rc-bill { list-style:none; margin:0 0 12px; padding:0; max-height:460px; overflow:auto; }
.rc-bill li { display:flex; justify-content:space-between; align-items:baseline; gap:10px; padding:9px 0; border-bottom:1px dashed #ddd3fb; font-size:14px; }
.rc-bill li .rc-bill-name { color:#2e1065; font-weight:600; }
.rc-bill li .rc-bill-val { color:#6d28d9; font-weight:700; white-space:nowrap; text-align:right; }
.rc-bill li .rc-bill-val small { display:block; font-size:11px; color:#7c6bb0; font-weight:600; }
.rc-disclaim { margin:0; font-size:12px; line-height:1.7; color:#4c2c8a; background:#efebfe; border-left:3px solid #7c3aed; padding:9px 12px; border-radius:0 8px 8px 0; }
.rc-note-ok { color:#15803d; font-weight:600; }
.rc-note-warn { color:#b45309; font-weight:600; }
.rc-note-bad { color:#d9472b; font-weight:700; }
.rc-ai-card { font-family:system-ui,-apple-system,"PingFang SC",sans-serif; margin-top:20px; }
.rc-ai-title { margin:0 0 6px; font-size:19px; color:#14233a; font-family:"Noto Serif SC",serif; }
.rc-textarea { width:100%; min-height:76px; padding:11px 12px; border:1px solid #cbbcf7; border-radius:9px; font-size:14px; color:#2e1065; resize:vertical; font-family:inherit; margin-bottom:10px; background:#f6f4fe; }
.rc-textarea:focus { outline:none; border-color:#7c3aed; box-shadow:0 0 0 3px rgba(124,58,237,.15); background:#fff; }
.rc-ai-row { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.rc-ai-status { font-size:13px; color:#5b4b8a; }
.rc-ai-status.is-err { color:#d9472b; }
.rc-ai-status.is-ok { color:#6d28d9; }
.rc-ai-result { margin-top:14px; background:#f6f4fe; border:1px solid #cbbcf7; border-radius:10px; padding:14px 16px; font-size:14px; line-height:1.75; color:#2e1065; white-space:pre-wrap; }
.rc-ref-card { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:18px; margin-top:20px; }
.rc-ref-block { background:#fff; border:1px solid #ddd6fe; border-top:4px solid #7c3aed; border-radius:14px; padding:18px; box-shadow:0 14px 38px rgba(124,58,237,.1); }
.rc-ref-title { margin:0 0 10px; font-size:15px; color:#6d28d9; font-family:"Noto Serif SC",serif; }
.rc-ref { width:100%; border-collapse:collapse; font-size:13px; }
.rc-ref th { text-align:left; background:#efebfe; color:#6d28d9; padding:8px 10px; font-weight:700; }
.rc-ref td { padding:8px 10px; border-top:1px solid #ece7fc; color:#2e1065; }
.rc-ref td:last-child { color:#5b4b8a; }
.rc-ref .hl { color:#6d28d9; font-weight:700; }
.rc-disclaim-bottom { font-family:system-ui,sans-serif; font-size:12.5px; line-height:1.8; color:#5b4b8a; background:#efebfe; border:1px solid #cbbcf7; border-radius:10px; padding:12px 16px; margin:18px 0 0; }
.calc-layout { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:20px; align-items:start; margin-bottom:20px; }
@media (max-width:960px){ .calc-layout{grid-template-columns:minmax(0,1fr);} .rc-row2,.rc-row3{grid-template-columns:1fr;} }
:root[data-theme="dark"] .rc-card { background:#1b1726; border-color:#33275c; border-top-color:#a78bfa; box-shadow:0 14px 38px rgba(0,0,0,.4); }
:root[data-theme="dark"] .rc-title { color:#ece5fb; }
:root[data-theme="dark"] .rc-sub { color:#b3a4e0; }
:root[data-theme="dark"] .rc-logo { box-shadow:0 6px 16px rgba(167,139,250,.45); }
:root[data-theme="dark"] .rc-field > label { color:#c9b8f5; }
:root[data-theme="dark"] .rc-input, :root[data-theme="dark"] .rc-select, :root[data-theme="dark"] .rc-textarea { background:#251f38; border-color:#33275c; color:#ece5fb; }
:root[data-theme="dark"] .rc-input:focus, :root[data-theme="dark"] .rc-select:focus, :root[data-theme="dark"] .rc-textarea:focus { border-color:#a78bfa; box-shadow:0 0 0 3px rgba(167,139,250,.25); }
:root[data-theme="dark"] .rc-help { color:#b3a4e0; }
:root[data-theme="dark"] .rc-help b { color:#c4b1f7; }
:root[data-theme="dark"] .rc-quick button { background:#251f38; border-color:#a78bfa; color:#a78bfa; }
:root[data-theme="dark"] .rc-quick button:hover { background:#2e2745; }
:root[data-theme="dark"] .rc-detail-tag { background:#a78bfa; color:#1a1226; }
:root[data-theme="dark"] .rc-ratio { background:#251f38; border-color:#33275c; }
:root[data-theme="dark"] .rc-ratio span { color:#b3a4e0; }
:root[data-theme="dark"] .rc-ratio b { color:#c4b1f7; }
:root[data-theme="dark"] .rc-bill li { border-bottom-color:#33275c; }
:root[data-theme="dark"] .rc-bill li .rc-bill-name { color:#ece5fb; }
:root[data-theme="dark"] .rc-bill li .rc-bill-val { color:#c4b1f7; }
:root[data-theme="dark"] .rc-bill li .rc-bill-val small { color:#b3a4e0; }
:root[data-theme="dark"] .rc-disclaim { background:#251f38; border-left-color:#a78bfa; color:#b3a4e0; }
:root[data-theme="dark"] .rc-ai-title { color:#ece5fb; }
:root[data-theme="dark"] .rc-ai-result { background:#251f38; border-color:#33275c; color:#ece5fb; }
:root[data-theme="dark"] .rc-ref-block { background:#1b1726; border-color:#33275c; border-top-color:#a78bfa; box-shadow:0 14px 38px rgba(0,0,0,.4); }
:root[data-theme="dark"] .rc-ref-title { color:#c4b1f7; }
:root[data-theme="dark"] .rc-ref th { background:#251f38; color:#c9b8f5; }
:root[data-theme="dark"] .rc-ref td { border-top-color:#33275c; color:#ece5fb; }
:root[data-theme="dark"] .rc-ref td:last-child { color:#b3a4e0; }
:root[data-theme="dark"] .rc-ref .hl { color:#c4b1f7; }
:root[data-theme="dark"] .rc-disclaim-bottom { background:#251f38; border-color:#33275c; color:#b3a4e0; }
.calc-info .detail-icon.t-orange { background:#7c3aed; color:#fff; }
.calc-info .badge.b-cat { background:#efebfe; color:#6d28d9; border:1px solid #cbbcf7; }
