/* 理发器刀头与续航选择器 · 独立主题（石墨黑 + 亮青） */
:root {
  --hc-a: #111827;
  --hc-a2: #06b6d4;
  --hc-a-soft: #cffafe;
  --hc-bg: #f3f6f8;
  --hc-card: #ffffff;
  --hc-card2: #f7fafc;
  --hc-txt: #0b1220;
  --hc-txt2: #475569;
  --hc-txt3: #7d8ba0;
  --hc-line: #dfe7ee;
  --hc-line2: #eef3f8;
  --hc-ok: #15803d;
  --hc-warn: #b45309;
  --hc-bad: #b91c1c;
  --hc-shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 12px 30px -16px rgba(17, 24, 39, .3);
  --hc-r: 16px;
  --hc-r2: 11px;
}

[data-theme='dark'] .hc {
  --hc-a: #e5edf6;
  --hc-a2: #22d3ee;
  --hc-a-soft: #0e3a44;
  --hc-bg: #090e16;
  --hc-card: #111927;
  --hc-card2: #0c141f;
  --hc-txt: #e8eff7;
  --hc-txt2: #a6b5c8;
  --hc-txt3: #71829a;
  --hc-line: #233043;
  --hc-line2: #182333;
  --hc-ok: #4ade80;
  --hc-warn: #fbbf24;
  --hc-bad: #f87171;
  --hc-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 12px 30px -16px rgba(0, 0, 0, .75);
  --hc-r: 16px;
  --hc-r2: 11px;
}

.hc { background: var(--hc-bg); color: var(--hc-txt); padding: 26px 0 46px; }
.hc-inner { width: min(1140px, calc(100% - 44px)); max-width: none; margin: 0 auto; }

/* ---------- Hero ---------- */
.hc-hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 24px; align-items: center; padding: 30px 30px 26px; border-radius: 22px;
  background:
    radial-gradient(760px 300px at 88% 8%, rgba(6, 182, 212, .2), transparent 66%),
    linear-gradient(135deg, var(--hc-card), var(--hc-card2));
  border: 1px solid var(--hc-line); box-shadow: var(--hc-shadow);
}
.hc-kicker {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .4px; color: var(--hc-a2); background: color-mix(in srgb, var(--hc-a2) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--hc-a2) 28%, transparent);
  padding: 5px 11px; border-radius: 999px;
}
.hc-hero h1 { margin: 14px 0 0; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; letter-spacing: -.6px; font-weight: 800; }
.hc-hero h1 em {
  font-style: normal; display: inline-block; margin-top: 4px; color: var(--hc-a2);
  background: linear-gradient(180deg, transparent 62%, rgba(6, 182, 212, .2) 62%); padding: 0 2px;
}
.hc-sub { margin: 12px 0 0; font-size: 14.5px; line-height: 1.85; color: var(--hc-txt2); max-width: 66ch; }
.hc-sub b { color: var(--hc-txt); font-weight: 700; }
.hc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hc-tag {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; padding: 5px 10px;
  border-radius: 8px; background: var(--hc-card2); border: 1px solid var(--hc-line); color: var(--hc-txt2);
}
.hc-tag i { color: var(--hc-a2); font-style: normal; font-weight: 800; }

/* 纯 CSS 理发器插画 */
.hc-hero-art { position: relative; height: 232px; }
.hc-clipper { position: absolute; left: 50%; top: 40px; transform: translateX(-50%) rotate(-8deg); width: 176px; height: 142px; }
.hc-clipper-body {
  position: absolute; left: 18px; top: 18px; width: 128px; height: 68px; border-radius: 26px 26px 18px 18px;
  background: linear-gradient(160deg, #475569, #1f2937 58%, #111827);
  box-shadow: inset 0 -8px 16px -10px rgba(0, 0, 0, .6), 0 12px 26px -14px rgba(0, 0, 0, .8);
}
.hc-clipper-grip {
  position: absolute; left: 40px; top: 78px; width: 86px; height: 58px; border-radius: 10px 10px 22px 22px;
  background: linear-gradient(180deg, #334155, #111827); box-shadow: inset 0 6px 10px -6px rgba(255, 255, 255, .18);
}
.hc-clipper-head {
  position: absolute; left: 8px; top: 4px; width: 148px; height: 26px; border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #94a3b8, #64748b 55%, #334155);
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .3);
}
.hc-clipper-teeth { display: flex; gap: 3px; padding: 6px 8px 0; }
.hc-clipper-teeth s { flex: 1; height: 20px; background: linear-gradient(180deg, #e2e8f0, #94a3b8); border-radius: 2px 2px 1px 1px; }
.hc-clipper-teeth s:nth-child(odd) { animation: hcTeeth 1.4s ease-in-out infinite alternate; }
@keyframes hcTeeth { from { transform: translateY(0); } to { transform: translateY(3px); } }
.hc-clipper-led {
  position: absolute; right: 44px; top: 46px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--hc-a2); box-shadow: 0 0 14px rgba(6, 182, 212, .9); animation: hcLed 2s ease-in-out infinite;
}
@keyframes hcLed { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
.hc-art-hair { position: absolute; width: 6px; border-radius: 6px; background: linear-gradient(180deg, #64748b, transparent); opacity: .5; }
.hc-art-hair.h1 { left: 26%; top: 60px; height: 34px; transform: rotate(-16deg); animation: hcHair 3s ease-in-out infinite; }
.hc-art-hair.h2 { left: 30%; top: 84px; height: 28px; transform: rotate(9deg); animation: hcHair 3s ease-in-out .5s infinite; }
.hc-art-hair.h3 { right: 24%; top: 92px; height: 24px; transform: rotate(14deg); animation: hcHair 3s ease-in-out 1s infinite; }
@keyframes hcHair { 0%, 100% { opacity: .35; transform: translateY(0) rotate(-10deg); } 50% { opacity: .7; transform: translateY(-8px) rotate(-10deg); } }
.hc-chip {
  position: absolute; font-size: 11.5px; padding: 5px 10px; border-radius: 8px;
  background: var(--hc-card); border: 1px solid var(--hc-line); color: var(--hc-txt2);
  box-shadow: var(--hc-shadow); white-space: nowrap; animation: hcFloat 4s ease-in-out infinite;
}
.hc-chip b { color: var(--hc-a2); }
.hc-chip.c1 { left: 0; top: 100px; }
.hc-chip.c2 { right: 0; top: 156px; animation-delay: .7s; }
@keyframes hcFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- 步骤指示条 ---------- */
.hc-stepper {
  display: flex; align-items: center; gap: 10px; margin-top: 18px;
  padding: 12px 16px; border-radius: 14px; background: var(--hc-card);
  border: 1px solid var(--hc-line); box-shadow: var(--hc-shadow);
}
.hc-stepbtn {
  flex: 1; display: flex; align-items: center; gap: 10px; border: 0; background: transparent;
  padding: 8px 10px; border-radius: 10px; cursor: pointer; text-align: left; color: var(--hc-txt2);
  transition: background .2s, color .2s;
}
.hc-stepbtn:hover { background: var(--hc-line2); }
.hc-stepbtn.on { background: color-mix(in srgb, var(--hc-a2) 12%, transparent); color: var(--hc-txt); }
.hc-stepbtn.done .hc-stepnum { background: color-mix(in srgb, var(--hc-ok) 18%, transparent); color: var(--hc-ok); border-color: transparent; }
.hc-stepnum {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; border: 1.5px solid var(--hc-line); color: var(--hc-txt3); background: var(--hc-card2);
}
.hc-stepbtn.on .hc-stepnum { background: var(--hc-a2); border-color: var(--hc-a2); color: #06232a; }
.hc-steptxt { display: flex; flex-direction: column; min-width: 0; }
.hc-steptxt b { font-size: 13px; font-weight: 700; }
.hc-steptxt small { font-size: 11px; color: var(--hc-txt3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-stepline { flex: none; width: 28px; height: 2px; background: var(--hc-line); border-radius: 2px; }

/* ---------- 主体 ---------- */
.hc-body { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 18px; margin-top: 18px; align-items: start; }
.hc-left { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hc-right { position: sticky; top: 82px; min-width: 0; }
.hc-card {
  background: var(--hc-card); border: 1px solid var(--hc-line); border-radius: var(--hc-r);
  box-shadow: var(--hc-shadow); padding: 20px 22px 22px; min-width: 0;
}
.hc-card-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.hc-card-h h2 { margin: 0; font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.hc-card-h small { font-size: 11.5px; color: var(--hc-txt3); }
.hc-no { font-size: 11px; font-weight: 800; letter-spacing: .5px; color: #fff; background: var(--hc-a); padding: 3px 7px; border-radius: 6px; }
[data-theme='dark'] .hc .hc-no { color: #090e16; }
.hc-plans-card { margin-top: 18px; }

.hc-wizard { padding-bottom: 16px; }
.hc-panel { display: none; }
.hc-panel.on { display: block; }
.hc-panel .hc-card-h { margin-bottom: 14px; }

.hc-field { margin-bottom: 15px; }
.hc-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.hc-label label { font-size: 13.5px; font-weight: 600; color: var(--hc-txt); }
.hc-label label b { color: var(--hc-bad); }
.hc-hint { font-size: 11.5px; color: var(--hc-txt3); text-align: right; }
.hc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.hc-seg { display: flex; gap: 6px; background: var(--hc-line2); padding: 4px; border-radius: var(--hc-r2); flex-wrap: wrap; }
.hc-segbtn {
  flex: 1 1 70px; border: 0; background: transparent; color: var(--hc-txt2); font-size: 12.5px; font-weight: 600;
  padding: 9px 8px; border-radius: 8px; cursor: pointer; transition: background .18s, color .18s, box-shadow .18s;
}
.hc-segbtn.on { background: var(--hc-card); color: var(--hc-a2); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.hc-segbtn:hover { color: var(--hc-a2); }

.hc-control { border: 1px solid var(--hc-line); border-radius: var(--hc-r2); background: var(--hc-card2); }
.hc-control select {
  width: 100%; border: 0; background: transparent; color: var(--hc-txt); font-size: 13.5px;
  padding: 10px 11px; outline: none; cursor: pointer; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--hc-txt3) 50%), linear-gradient(135deg, var(--hc-txt3) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.hc-range-row { display: grid; grid-template-columns: 1fr 132px; gap: 12px; align-items: center; }
.hc-range-row input[type='range'] { -webkit-appearance: none; appearance: none; height: 6px; border-radius: 999px; background: var(--hc-line); outline: none; }
.hc-range-row input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--hc-a2); border: 3px solid var(--hc-card); box-shadow: 0 0 0 1px var(--hc-a2); cursor: pointer;
}
.hc-range-row input[type='range']::-moz-range-thumb { width: 16px; height: 16px; border: none; border-radius: 50%; background: var(--hc-a2); cursor: pointer; }
.hc-numbox { display: flex; align-items: center; border: 1px solid var(--hc-line); border-radius: var(--hc-r2); background: var(--hc-card2); overflow: hidden; }
.hc-numbox input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--hc-txt); font-size: 15px; font-weight: 700; padding: 9px 10px; outline: none; }
.hc-numbox span { padding: 0 9px; font-size: 11.5px; color: var(--hc-txt3); background: var(--hc-line2); align-self: stretch; display: flex; align-items: center; }
.hc-numbox.wide { width: 100%; }
.hc-err { display: none; margin-top: 6px; font-size: 12px; color: var(--hc-bad); }
.hc-err.on { display: block; }
.hc-field.bad .hc-numbox, .hc-field.bad .hc-control { border-color: var(--hc-bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hc-bad) 14%, transparent); }

.hc-switch-row { display: flex; align-items: center; gap: 9px; height: 40px; }
.hc-switch { appearance: none; width: 42px; height: 24px; border-radius: 999px; background: var(--hc-line); position: relative; cursor: pointer; transition: background .2s; flex: none; }
.hc-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.hc-switch:checked { background: var(--hc-a2); }
.hc-switch:checked::after { transform: translateX(18px); }
.hc-switch-txt { font-size: 12.5px; color: var(--hc-txt2); }

.hc-presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hc-preset {
  border: 1px solid var(--hc-line); border-radius: 10px; background: var(--hc-card2); color: var(--hc-txt2);
  font-size: 12px; font-weight: 600; padding: 9px 8px; cursor: pointer; transition: border-color .18s, color .18s;
}
.hc-preset:hover { border-color: var(--hc-a2); color: var(--hc-a2); }

.hc-tip { margin: 10px 0 0; font-size: 12px; line-height: 1.75; color: var(--hc-txt3); background: var(--hc-line2); border-left: 3px solid var(--hc-a2); padding: 9px 12px; border-radius: 0 8px 8px 0; }

.hc-wizard-foot { display: flex; align-items: center; gap: 9px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--hc-line2); flex-wrap: wrap; }
.hc-foot-hint { flex: 1; font-size: 11.5px; color: var(--hc-txt3); text-align: center; min-width: 140px; }
.hc-btn {
  border: 1px solid var(--hc-line); background: var(--hc-card); color: var(--hc-txt);
  font-size: 12.5px; font-weight: 600; padding: 9px 14px; border-radius: 10px; cursor: pointer;
  transition: transform .12s, box-shadow .18s;
}
.hc-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .5); }
.hc-btn.primary { background: var(--hc-a2); border-color: var(--hc-a2); color: #06232a; }
.hc-btn.ghost { background: transparent; color: var(--hc-txt2); }
.hc-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.hc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hc-actions.tight { margin-top: 10px; }
.hc-msg { font-size: 12px; line-height: 1.7; color: var(--hc-txt3); margin-top: 2px; }

/* ---------- 结果卡 ---------- */
.hc-result-card { background: var(--hc-card); border: 1px solid var(--hc-line); border-radius: var(--hc-r); box-shadow: var(--hc-shadow); overflow: hidden; }
.hc-result-h { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--hc-line2); }
.hc-result-h h2 { margin: 0; font-size: 15px; font-weight: 800; }
.hc-badge { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--hc-line2); color: var(--hc-txt3); }
.hc-badge.ok { background: color-mix(in srgb, var(--hc-ok) 16%, transparent); color: var(--hc-ok); }
.hc-badge.warn { background: color-mix(in srgb, var(--hc-warn) 18%, transparent); color: var(--hc-warn); }
.hc-verdict { padding: 18px 18px 14px; text-align: center; background: linear-gradient(180deg, color-mix(in srgb, var(--hc-a2) 9%, transparent), transparent); }
.hc-verdict-label { display: block; font-size: 11.5px; color: var(--hc-txt3); letter-spacing: .4px; }
.hc-verdict-num { display: inline-block; font-size: 48px; line-height: 1.05; font-weight: 800; color: var(--hc-a2); letter-spacing: -1.5px; margin-top: 2px; }
.hc-verdict-unit { font-size: 12.5px; color: var(--hc-txt2); }
.hc-verdict-sub { margin: 5px 0 0; font-size: 12px; color: var(--hc-txt2); }
.hc-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--hc-line2); }
.hc-kpi { background: var(--hc-card); padding: 10px 12px; }
.hc-kpi span { display: block; font-size: 10.5px; color: var(--hc-txt3); }
.hc-kpi b { display: inline-block; font-size: 15px; font-weight: 800; color: var(--hc-txt); margin-top: 2px; }
.hc-kpi small { font-size: 10px; color: var(--hc-txt3); margin-left: 1px; }
.hc-kpis2 { border-top: 1px solid var(--hc-line2); }

.hc-viz { padding: 12px 18px 4px; border-top: 1px solid var(--hc-line2); }
.hc-viz-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.hc-viz-h h3 { margin: 0; font-size: 12.5px; font-weight: 700; }
.hc-viz-h span { font-size: 11px; color: var(--hc-a2); font-weight: 700; }

.hc-scale { padding-bottom: 6px; }
.hc-scale-track, .hc-speed-track { position: relative; height: 10px; border-radius: 999px; background: var(--hc-line2); }
.hc-scale-zone { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 999px; background: linear-gradient(90deg, #67e8f9, var(--hc-a2) 55%, #0e7490); opacity: .45; }
.hc-scale-marker { position: absolute; top: -6px; width: 3px; height: 22px; background: var(--hc-a); border-radius: 2px; transition: left .35s ease; }
[data-theme='dark'] .hc .hc-scale-marker { background: #f8fafc; }
.hc-scale-marker i { position: absolute; left: 50%; top: -18px; transform: translateX(-50%); font-style: normal; font-size: 9.5px; color: var(--hc-txt2); white-space: nowrap; }
.hc-scale-ticks { display: flex; justify-content: space-between; margin-top: 9px; font-size: 9.5px; color: var(--hc-txt3); }
.hc-speed { padding-bottom: 6px; }
.hc-speed-band { position: absolute; top: 0; bottom: 0; left: 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, #22d3ee, #0891b2); opacity: .55; transition: width .35s ease, left .35s ease; }
.hc-speed-marker { position: absolute; top: -6px; width: 3px; height: 22px; background: var(--hc-a); border-radius: 2px; transition: left .35s ease; }
[data-theme='dark'] .hc .hc-speed-marker { background: #f8fafc; }
.hc-scale-ticks span { flex: 1; }

.hc-advice { padding: 12px 18px 14px; border-top: 1px solid var(--hc-line2); }
.hc-advice h3 { margin: 0 0 8px; font-size: 12.5px; font-weight: 700; }
.hc-advice ul { margin: 0; padding-left: 17px; }
.hc-advice li { font-size: 12px; line-height: 1.75; color: var(--hc-txt2); margin-bottom: 4px; }
.hc-risk {
  margin: 0 14px 16px; padding: 10px 12px; border-radius: 10px; font-size: 12px; line-height: 1.7;
  background: color-mix(in srgb, var(--hc-bad) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--hc-bad) 30%, transparent); color: var(--hc-txt2);
}
.hc-risk strong { color: var(--hc-bad); margin-right: 6px; }

/* ---------- 三档方案 ---------- */
.hc-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hc-plan {
  border: 1.5px solid var(--hc-line); border-radius: 14px; background: var(--hc-card2);
  padding: 16px 16px 14px; position: relative; transition: border-color .2s, box-shadow .2s;
}
.hc-plan.rec { border-color: var(--hc-a2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hc-a2) 16%, transparent); background: var(--hc-card); }
.hc-plan-tag { position: absolute; right: 12px; top: -10px; font-size: 10.5px; font-weight: 800; color: #06232a; background: var(--hc-a2); padding: 3px 9px; border-radius: 999px; }
.hc-plan h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.4px; }
.hc-plan h3 span { font-size: 11.5px; color: var(--hc-txt3); font-weight: 500; margin-left: 4px; }
.hc-plan p { margin: 4px 0 10px; font-size: 12px; line-height: 1.65; color: var(--hc-txt3); }
.hc-plan dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 5px 10px; font-size: 12px; }
.hc-plan dt { color: var(--hc-txt3); }
.hc-plan dd { margin: 0; text-align: right; font-weight: 600; color: var(--hc-txt); }
.hc-plan-note { margin-top: 10px; font-size: 11.5px; line-height: 1.7; color: var(--hc-txt3); }
.hc-plan-pick { margin-top: 11px; width: 100%; border: 0; border-radius: 9px; padding: 8px; font-size: 12px; font-weight: 700; cursor: pointer; background: var(--hc-line2); color: var(--hc-txt2); }
.hc-plan.rec .hc-plan-pick { background: var(--hc-a2); color: #06232a; }

/* ---------- 表格 / 步骤 / 批量 / 历史 ---------- */
.hc-table-wrap { overflow-x: auto; border: 1px solid var(--hc-line); border-radius: 12px; }
.hc-table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 580px; }
.hc-table th, .hc-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--hc-line2); }
.hc-table th { background: var(--hc-line2); font-size: 11.5px; color: var(--hc-txt2); font-weight: 700; }
.hc-table td:last-child { color: var(--hc-txt3); font-size: 11.5px; }
.hc-table tr:last-child td { border-bottom: 0; }

.hc-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hc-steps li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 12.5px; line-height: 1.8; color: var(--hc-txt2); }
.hc-steps li b { color: var(--hc-txt); }
.hc-steps li em { display: block; font-style: normal; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: var(--hc-a2); margin-top: 3px; }

.hc-tip code, .hc-textarea code { font-size: 11.5px; background: var(--hc-card); padding: 1px 5px; border-radius: 4px; color: var(--hc-a2); }
.hc-textarea {
  width: 100%; min-height: 112px; resize: vertical; border: 1px solid var(--hc-line);
  border-radius: 12px; background: var(--hc-card2); color: var(--hc-txt);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 1.7; padding: 12px;
}
.hc-history { display: flex; flex-direction: column; gap: 8px; }
.hc-hist-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--hc-line); border-radius: 10px; padding: 9px 12px; background: var(--hc-card2);
  font-size: 12px; color: var(--hc-txt2);
}
.hc-hist-item button { border: 0; background: color-mix(in srgb, var(--hc-a2) 12%, transparent); color: var(--hc-a2); font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 7px; cursor: pointer; flex: none; }
.hc-empty { font-size: 12px; color: var(--hc-txt3); margin: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hc-hero { grid-template-columns: 1fr; }
  .hc-hero-art { display: none; }
  .hc-body { grid-template-columns: 1fr; }
  .hc-right { position: static; }
  .hc-plans { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hc-inner { width: calc(100% - 28px); }
  .hc-hero { padding: 22px 18px; border-radius: 16px; }
  .hc-card { padding: 16px 16px 18px; }
  .hc-stepper { flex-direction: column; align-items: stretch; gap: 6px; padding: 10px; }
  .hc-stepline { display: none; }
  .hc-grid2, .hc-range-row { grid-template-columns: 1fr; }
  .hc-presets { grid-template-columns: 1fr; }
  .hc-actions .hc-btn { flex: 1 1 44%; }
  .hc-wizard-foot .hc-btn { flex: 1 1 40%; }
  .hc-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hc-verdict-num { font-size: 40px; }
}

/* ---------- 打印 ---------- */
@media print {
  .hc-actions, .hc-textarea, .hc-history, .hc-msg, .hc-stepper, .hc-wizard-foot, .hc-tip, .tsk-crumb-bar { display: none !important; }
  .hc { padding: 0; background: #fff; }
  .hc-card, .hc-result-card { box-shadow: none; border-color: #ddd; break-inside: avoid; }
  .hc-hero { box-shadow: none; }
  .hc-right { position: static; }
  .hc-panel { display: block !important; }
}

/* ---------- 全局对齐：面包屑 / 内容 / 底部区块统一 ---------- */
.tsk-crumb-bar-in{width:min(1140px,calc(100% - 44px))!important;max-width:none!important;margin:0 auto!important;padding:11px 0!important}
@media (max-width:700px){.tsk-crumb-bar-in{width:calc(100% - 28px)!important;padding:9px 0!important}}
