/* ==========================================================================
   19 · 家电能效等级对照 —— ENERGY LABEL SHEET
   独立设计：能效标识的蓝→绿→黄→橙→红箭头为首屏母题，
   标识卡是带蓝边框的白卡，累计电费差为横向色带柱，三品类为标签卡。
   ========================================================================== */
.eel {
    --hg-paper:      #f5f7f8;
    --hg-paper-2:    #e7edf0;
    --hg-card:       #ffffff;
    --hg-card-2:     #f1f5f7;
    --hg-ink:        #1c2a33;
    --hg-ink-2:      #465b67;
    --hg-ink-3:      #7e909b;
    --hg-line:       #d7e1e6;
    --hg-line-2:     #b6c8d1;
    --hg-brand:      #1f6fa8;
    --hg-brand-2:    #c07a2c;
    --hg-brand-soft: #e1eef7;
    --hg-on-brand:   #f7fbfe;
    --eel-1: #1a8a5a; --eel-2: #73b843; --eel-3: #e8c531; --eel-4: #e88a2c; --eel-5: #d6453e;
    background: var(--hg-paper);
}
:root[data-theme="dark"] .eel {
    --hg-paper:      #10171b;
    --hg-paper-2:    #19242a;
    --hg-card:       #162126;
    --hg-card-2:     #1e2c33;
    --hg-ink:        #e9f1f5;
    --hg-ink-2:      #b3c4cd;
    --hg-ink-3:      #8199a4;
    --hg-line:       #2a3b43;
    --hg-line-2:     #3b5360;
    --hg-brand:      #7cb9e3;
    --hg-brand-2:    #e0ae74;
    --hg-brand-soft: #1b3241;
    --hg-on-brand:   #0c1720;
}
.eel .hg2-btn { border-radius: 3px; }

/* ---------- 首屏：能效标识卡 ---------- */
.eel-hero { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); border-bottom: 2px solid var(--hg-line-2); }
.eel-hero-copy { padding: 44px 44px 46px 0; }
.eel-kicker { display: inline-block; font: 700 11.5px/1.5 var(--hg-mono); letter-spacing: .18em; color: var(--hg-brand); border-left: 3px solid var(--hg-brand); padding-left: 10px; margin-bottom: 22px; }
.eel-hero h1 { margin-bottom: 20px; }
.eel-lede { font-size: 16px; line-height: 1.92; max-width: 55ch; }
.eel-lede b { box-shadow: inset 0 -.4em 0 var(--hg-brand-soft); }
.eel-points { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--hg-line); }
.eel-points li { position: relative; padding: 9px 0 9px 22px; border-bottom: 1px solid var(--hg-line); font-size: 13.5px; line-height: 1.75; color: var(--hg-ink-2); margin: 0; }
.eel-points li::before { content: '▸'; position: absolute; left: 3px; top: 8px; color: var(--hg-brand); }
.eel-points b { color: var(--hg-ink); }
.eel-hero-note { margin: 20px 0 0; font-size: 12.5px; line-height: 1.8; color: var(--hg-ink-3); }

.eel-quick { padding: 26px 30px 32px; border-left: 1px solid var(--hg-line-2); background: var(--hg-card); }
.eel-quick-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; font: 700 11.5px/1.5 var(--hg-mono); letter-spacing: .1em; color: var(--hg-ink-3); }
.eel-quick-hd b { color: var(--hg-brand); border: 1px solid var(--hg-line-2); padding: 2px 8px; font-size: 11px; }
.eel-label { border: 2px solid var(--hg-brand); border-radius: 3px; background: #fff; padding: 10px 12px 12px; color: #1b2c36; }
:root[data-theme="dark"] .eel-label { background: #f7fafb; }
.eel-label-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-bottom: 2px solid #1f6fa8; padding-bottom: 6px; }
.eel-label-top span { font-weight: 800; font-size: 15px; letter-spacing: .04em; color: #1f6fa8; }
.eel-label-top small { font: 9px/1.4 var(--hg-mono); letter-spacing: .06em; color: #5b7484; }
.eel-label-name { font-size: 11.5px; color: #465b67; padding: 7px 0 8px; }
.eel-arrows { display: flex; flex-direction: column; gap: 3px; }
.eel-arrow { position: relative; display: flex; align-items: center; justify-content: space-between; height: 27px; padding: 0 12px 0 10px; border: 1px solid rgba(0, 0, 0, .12); border-radius: 2px; color: #fff; font: 800 12px/1 var(--hg-mono); cursor: pointer; transition: filter .15s, transform .15s; }
.eel-arrow:hover { filter: brightness(1.06); transform: translateX(2px); }
.eel-arrow.is-on { outline: 3px solid #1f6fa8; outline-offset: 1px; }
.eel-arrow b { font-size: 12px; }
.eel-arrow span { font-size: 10.5px; font-weight: 600; opacity: .92; }
.eel-arrow--1 { width: 56%; background: var(--eel-1); }
.eel-arrow--2 { width: 68%; background: var(--eel-2); }
.eel-arrow--3 { width: 80%; background: var(--eel-3); color: #4a3a00; }
.eel-arrow--4 { width: 90%; background: var(--eel-4); }
.eel-arrow--5 { width: 100%; background: var(--eel-5); }
.eel-label-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 10.5px; color: #5b7484; }
.eel-label-foot b { color: #1f6fa8; font: 800 11.5px/1.5 var(--hg-mono); }
.eel-quick-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.eel-quick-btns { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 16px; }
.eel-quick-btns .hg2-btn { flex: 1 1 auto; }
.eel-quick .hg2-hint { margin-top: 14px; }

/* ---------- 01 逐栏解读 ---------- */
.eel-read { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; }
.eel-read-figure { border: 1px solid var(--hg-line); background: var(--hg-card); padding: 16px; text-align: center; }
.eel-read-figure img { max-width: 100%; height: auto; display: block; margin: 0 auto 8px; }
.eel-read-figure span { font: 11.5px/1.6 var(--hg-mono); color: var(--hg-ink-3); letter-spacing: .04em; }
.eel-read-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--hg-line); background: var(--hg-card); }
.eel-read-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--hg-line); }
.eel-read-list li:last-child { border-bottom: 0; }
.eel-read-list b.rn { width: 26px; height: 26px; border: 1px solid var(--hg-line-2); display: flex; align-items: center; justify-content: center; font: 700 11px/1 var(--hg-mono); color: var(--hg-brand); }
.eel-read-list h4 { font-size: 14px; color: var(--hg-ink); margin-bottom: 3px; font-family: var(--hg-body); }
.eel-read-list p { font-size: 12.5px; line-height: 1.75; color: var(--hg-ink-2); margin: 0; }

/* ---------- 卡片与计算 ---------- */
.eel-card { background: var(--hg-card); border: 1px solid var(--hg-line); border-radius: 4px; padding: 20px 22px 22px; }
.eel-card-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--hg-line); }
.eel-card-hd h3 { font-family: var(--hg-display); font-size: 19px; }
.eel-card-hd span { font: 11.5px/1.5 var(--hg-mono); color: var(--hg-ink-3); }
.eel-calc, .eel-result-cols { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.eel-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.eel-diff { margin-top: 16px; padding: 13px 15px; background: var(--hg-brand-soft); border: 1px solid var(--hg-line-2); border-radius: 3px; font: 700 13.5px/1.8 var(--hg-mono); color: var(--hg-brand); }
.eel-diff.is-bad { color: var(--hg-bad); background: var(--hg-bad-bg); border-color: var(--hg-bad); }
.eel-btn-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; align-items: center; }
.eel-bars { display: flex; flex-direction: column; gap: 14px; padding: 6px 0; }
.eel-bar-row { display: grid; grid-template-columns: 60px 1fr 92px; align-items: center; gap: 10px; font: 12px/1.5 var(--hg-mono); color: var(--hg-ink-2); }
.eel-bar-track { height: 20px; background: var(--hg-card-2); border: 1px solid var(--hg-line); border-radius: 2px; overflow: hidden; }
.eel-bar-track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--eel-1), var(--hg-brand)); transition: width .35s; }
.eel-bar-row b { text-align: right; color: var(--hg-brand); }

/* ---------- 03 三品类 ---------- */
.eel-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.eel-cat { border: 1px solid var(--hg-line); border-top: 4px solid var(--hg-brand); background: var(--hg-card); padding: 18px 18px 20px; border-radius: 3px; }
.eel-cat:nth-child(2) { border-top-color: var(--eel-1); }
.eel-cat:nth-child(3) { border-top-color: var(--eel-4); }
.eel-cat h3 { font-family: var(--hg-display); font-size: 19px; margin-bottom: 6px; }
.eel-cat .eel-cat-metric { font: 700 12px/1.6 var(--hg-mono); color: var(--hg-brand); }
.eel-cat p { font-size: 12.5px; line-height: 1.8; color: var(--hg-ink-2); margin: 8px 0 0; }
.eel-cat ul { margin: 10px 0 0; padding-left: 1.15em; font-size: 12.5px; line-height: 1.8; color: var(--hg-ink-2); }

/* ---------- 04 结果 ---------- */
.eel-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hg-line); border: 1px solid var(--hg-line); margin-bottom: 18px; }
.eel-kpi { background: var(--hg-card); padding: 16px 18px; }
.eel-kpi span { display: block; font-size: 12px; color: var(--hg-ink-3); }
.eel-kpi strong { display: block; font: 700 22px/1.4 var(--hg-mono); color: var(--hg-brand); margin-top: 4px; }
.eel-kpi small { display: block; font-size: 11.5px; color: var(--hg-ink-3); }
.eel-todo { margin: 0; padding-left: 1.3em; font-size: 13.5px; line-height: 1.9; color: var(--hg-ink-2); }
.eel-todo li { margin-bottom: 8px; }
.eel-todo b, .eel-ask b { color: var(--hg-ink); }
.eel-ask p { padding-left: 14px; border-left: 2px solid var(--hg-brand-soft); margin-bottom: 9px; font-size: 13.5px; line-height: 1.85; }
.eel-result-btns { padding-top: 18px; border-top: 1px solid var(--hg-line); margin-top: 22px; }

/* ---------- 05 批量 ---------- */
.eel-batch { border: 1px solid var(--hg-line); background: var(--hg-card); padding: 20px 22px; }
.eel-clean { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 14px; }
.eel-clean > b { width: 100%; font-size: 12.5px; color: var(--hg-ink-2); }
.eel-preview { width: 100%; margin-top: 6px; padding: 8px 10px; background: var(--hg-card-2); font: 12px/1.7 var(--hg-mono); color: var(--hg-ink-3); word-break: break-all; }
.eel-batch-tbl { margin-top: 16px; }

@media (max-width: 980px) {
    .eel-hero, .eel-read, .eel-calc, .eel-result-cols { grid-template-columns: 1fr; }
    .eel-hero-copy { padding-right: 0; }
    .eel-quick { border-left: 0; border-top: 1px solid var(--hg-line-2); }
    .eel-cats, .eel-kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .eel-quick-fields, .eel-fields, .eel-cats, .eel-kpis { grid-template-columns: 1fr; }
    .eel-bar-row { grid-template-columns: 50px 1fr 76px; }
}
