/* 电吹风功率与风速选择器 · 独立主题（玫红） */
.hd {
  --hd-a: #be123c;
  --hd-a2: #fb7185;
  --hd-soft: #ffe4e6;
  --hd-bg: #fff7f9;
  --hd-card: #ffffff;
  --hd-card2: #fffafb;
  --hd-txt: #331018;
  --hd-txt2: #6f3b46;
  --hd-txt3: #a5808b;
  --hd-line: #f2dbe1;
  --hd-line2: #fbeef1;
  --hd-ok: #15803d;
  --hd-warn: #b45309;
  --hd-bad: #b91c1c;
  --hd-shadow: 0 1px 2px rgba(190, 18, 60, .05), 0 12px 32px -18px rgba(190, 18, 60, .38);
  --hd-r: 18px;
  --hd-r2: 12px;

  background: var(--hd-bg);
  color: var(--hd-txt);
  padding: 28px 0 48px;
}

[data-theme='dark'] .hd {
  --hd-a: #fb7185;
  --hd-a2: #fda4af;
  --hd-soft: #4a1220;
  --hd-bg: #190b10;
  --hd-card: #271219;
  --hd-card2: #1f0d13;
  --hd-txt: #ffeef2;
  --hd-txt2: #dfb0bb;
  --hd-txt3: #a87a86;
  --hd-line: #452029;
  --hd-line2: #2f151c;
  --hd-ok: #4ade80;
  --hd-warn: #fbbf24;
  --hd-bad: #f87171;
  --hd-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 12px 32px -18px rgba(0, 0, 0, .75);
}

.hd-inner { width: min(1140px, calc(100% - 44px)); max-width: none; margin: 0 auto; }

/* ---------- Hero ---------- */
.hd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 24px; align-items: center;
  padding: 30px 32px 28px; border-radius: 26px;
  background:
    radial-gradient(760px 280px at 92% 2%, rgba(251, 113, 133, .24), transparent 62%),
    radial-gradient(480px 220px at 6% 100%, rgba(190, 18, 60, .08), transparent 66%),
    linear-gradient(140deg, var(--hd-card) 0%, var(--hd-card2) 100%);
  border: 1px solid var(--hd-line);
  box-shadow: var(--hd-shadow);
}
.hd-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .4px;
  color: var(--hd-a); background: var(--hd-soft);
  border: 1px solid color-mix(in srgb, var(--hd-a) 25%, transparent);
  padding: 5px 11px; border-radius: 999px;
}
.hd-hero h1 {
  margin: 14px 0 0; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.22;
  font-weight: 800; letter-spacing: -.8px;
}
.hd-hero h1 em {
  font-style: normal; color: var(--hd-a);
  background: linear-gradient(180deg, transparent 64%, rgba(251, 113, 133, .34) 64%);
  padding: 0 2px;
}
.hd-sub { margin: 12px 0 0; font-size: 14.5px; line-height: 1.85; color: var(--hd-txt2); max-width: 66ch; }
.hd-sub b { color: var(--hd-txt); }
.hd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hd-tag {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px;
  padding: 5px 10px; border-radius: 8px;
  background: var(--hd-card); border: 1px solid var(--hd-line); color: var(--hd-txt2);
}
.hd-tag i { color: var(--hd-a); font-style: normal; font-weight: 800; }

/* 纯 CSS 吹风机 + 风流动画 */
.hd-hero-art { position: relative; height: 250px; }
.hd-dryer { position: absolute; left: 46%; top: 58px; transform: translateX(-50%) rotate(-8deg); width: 200px; }
.hd-dryer-head { position: relative; display: flex; align-items: center; }
.hd-dryer-nozzle {
  width: 26px; height: 46px; border-radius: 8px 2px 2px 8px;
  background: linear-gradient(90deg, #ffe4e6, #fda4af 60%, #fb7185);
  border: 1px solid #f43f5e; flex: none;
}
.hd-dryer-body {
  position: relative; width: 152px; height: 62px; margin-left: -2px;
  border-radius: 30px 34px 34px 30px;
  background: linear-gradient(180deg, #fff1f2, #fecdd3 55%, #fda4af);
  border: 2px solid #f43f5e;
  box-shadow: inset 0 -8px 14px -10px rgba(136, 19, 55, .5);
}
.hd-dryer-dot {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #ffffff, #fb7185 65%, #be123c);
  border: 1px solid #f43f5e;
}
.hd-dryer-handle {
  width: 46px; height: 96px; margin: -8px auto 0 78px;
  border-radius: 10px 10px 18px 18px;
  background: linear-gradient(180deg, #fda4af, #fb7185 60%, #be123c);
  border: 1px solid #f43f5e;
  position: relative;
}
.hd-dryer-handle::after {
  content: ''; position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  width: 22px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .75);
}
.hd-dryer-cord {
  position: absolute; left: 100px; bottom: -42px;
  width: 10px; height: 54px; border-radius: 999px;
  background: #4c0519; transform: rotate(-14deg); transform-origin: top center;
}
.hd-wind { position: absolute; left: -74px; top: 4px; width: 74px; height: 48px; }
.hd-wind-line {
  position: absolute; left: 0; height: 3px; border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(251, 113, 133, .85));
  animation: hdWind 1.8s linear infinite;
}
.hd-wind-line.w1 { top: 4px; width: 40px; animation-delay: 0s; }
.hd-wind-line.w2 { top: 18px; width: 58px; animation-delay: .35s; }
.hd-wind-line.w3 { top: 32px; width: 34px; animation-delay: .7s; }
.hd-wind-line.w4 { top: 44px; width: 48px; animation-delay: 1.05s; }
@keyframes hdWind {
  0% { transform: translateX(0) scaleX(.4); opacity: 0; }
  35% { opacity: .95; }
  100% { transform: translateX(-62px) scaleX(1.4); opacity: 0; }
}
.hd-chip {
  position: absolute; font-size: 11.5px; padding: 5px 10px; border-radius: 9px;
  background: var(--hd-card); border: 1px solid var(--hd-line);
  color: var(--hd-txt2); box-shadow: var(--hd-shadow);
  line-height: 1.5; max-width: 178px;
}
.hd-chip b { color: var(--hd-a); }
.hd-chip.c1 { left: 0; top: 70px; animation: hdFloat 4.2s ease-in-out infinite; }
.hd-chip.c2 { right: 0; top: 182px; animation: hdFloat 4.2s ease-in-out .7s infinite; }
@keyframes hdFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- 向导 + 结果 ---------- */
.hd-body {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, .68fr);
  gap: 18px; margin-top: 18px; align-items: start;
}
.hd-wizard {
  background: var(--hd-card); border: 1px solid var(--hd-line);
  border-radius: var(--hd-r); box-shadow: var(--hd-shadow);
  padding: 20px 22px; min-width: 0;
}
.hd-side { position: sticky; top: 84px; min-width: 0; }

.hd-wizard-h { margin-bottom: 18px; }
.hd-progress { height: 7px; border-radius: 999px; background: var(--hd-line2); overflow: hidden; }
.hd-progress-fill { height: 100%; width: 33.33%; border-radius: 999px; background: linear-gradient(90deg, var(--hd-a2), var(--hd-a)); transition: width .35s ease; }
.hd-step-meta { display: flex; align-items: baseline; justify-content: space-between; margin-top: 8px; }
.hd-step-now { font-size: 11.5px; color: var(--hd-txt3); letter-spacing: .3px; }
.hd-step-name { font-size: 12.5px; font-weight: 800; color: var(--hd-a); }

.hd-panel { display: none; }
.hd-panel.on { display: block; animation: hdPanelIn .28s ease; }
@keyframes hdPanelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hd-card-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.hd-card-h h2 { margin: 0; font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.hd-no {
  font-size: 10.5px; font-weight: 800; letter-spacing: .5px; color: #fff;
  background: var(--hd-a); padding: 3px 7px; border-radius: 6px;
}
[data-theme='dark'] .hd .hd-no { color: #30060f; }
.hd-card-h small { font-size: 11.5px; color: var(--hd-txt3); }

.hd-field { margin-bottom: 15px; }
.hd-field:last-child { margin-bottom: 0; }
.hd-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.hd-label label { font-size: 13px; font-weight: 600; }
.hd-label label b { color: var(--hd-bad); }
.hd-hint { font-size: 11px; color: var(--hd-txt3); }

.hd-seg { display: flex; gap: 5px; flex-wrap: wrap; background: var(--hd-line2); padding: 4px; border-radius: var(--hd-r2); }
.hd-segbtn {
  flex: 1 1 auto; min-width: 74px; border: 0; background: transparent; color: var(--hd-txt2);
  font-size: 12px; font-weight: 600; padding: 8px 8px; border-radius: 8px; cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
}
.hd-segbtn.on { background: var(--hd-card); color: var(--hd-a); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.hd-segbtn:hover { color: var(--hd-a); }

.hd-range-row { display: grid; grid-template-columns: 1fr 112px; gap: 12px; align-items: center; }
.hd-range-row input[type='range'] { -webkit-appearance: none; appearance: none; height: 6px; border-radius: 999px; background: var(--hd-line); outline: none; }
.hd-range-row input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--hd-a); border: 3px solid var(--hd-card);
  box-shadow: 0 0 0 1px var(--hd-a); cursor: pointer;
}
.hd-range-row input[type='range']::-moz-range-thumb { width: 16px; height: 16px; border: none; border-radius: 50%; background: var(--hd-a); cursor: pointer; }

.hd-numbox { display: flex; align-items: center; border: 1px solid var(--hd-line); border-radius: var(--hd-r2); background: var(--hd-card2); overflow: hidden; }
.hd-numbox input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--hd-txt); font-size: 14px; font-weight: 700; padding: 9px 9px; outline: none; }
.hd-numbox span { padding: 0 9px; font-size: 11.5px; color: var(--hd-txt3); background: var(--hd-line2); align-self: stretch; display: flex; align-items: center; }
.hd-err { display: none; margin-top: 6px; font-size: 11.5px; color: var(--hd-bad); }
.hd-err.on { display: block; }
.hd-field.bad .hd-numbox, .hd-field.bad .hd-control { border-color: var(--hd-bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hd-bad) 13%, transparent); }

.hd-control { border: 1px solid var(--hd-line); border-radius: var(--hd-r2); background: var(--hd-card2); }
.hd-control select {
  width: 100%; border: 0; background: transparent; color: var(--hd-txt);
  font-size: 12.5px; padding: 10px 30px 10px 11px; outline: none; cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--hd-txt3) 50%), linear-gradient(135deg, var(--hd-txt3) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}

.hd-switch-row { display: flex; align-items: center; gap: 9px; height: 38px; }
.hd-switch { appearance: none; width: 42px; height: 24px; border-radius: 999px; background: var(--hd-line); position: relative; cursor: pointer; transition: background .2s; flex: none; }
.hd-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); }
.hd-switch:checked { background: var(--hd-a); }
.hd-switch:checked::after { transform: translateX(18px); }
.hd-switch-txt { font-size: 12px; color: var(--hd-txt2); }

.hd-summary {
  margin-top: 16px; padding: 10px 12px; border-radius: 10px;
  background: var(--hd-line2); border-left: 3px solid var(--hd-a2);
  font-size: 12px; line-height: 1.7; color: var(--hd-txt2);
}

.hd-presets {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin-top: 14px; padding-top: 13px; border-top: 1px dashed var(--hd-line);
}
.hd-presets-label { font-size: 11.5px; color: var(--hd-txt3); }
.hd-preset {
  border: 1px solid var(--hd-line); background: var(--hd-card2); color: var(--hd-txt2);
  font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.hd-preset:hover { border-color: var(--hd-a); color: var(--hd-a); background: var(--hd-soft); }

.hd-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hd-actions.tight { margin-top: 11px; }
.hd-btn {
  border: 1px solid var(--hd-line); background: var(--hd-card); color: var(--hd-txt);
  font-size: 12.5px; font-weight: 600; padding: 9px 14px; border-radius: 10px; cursor: pointer;
  transition: transform .12s, box-shadow .18s, background .18s;
}
.hd-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgba(190, 18, 60, .7); }
.hd-btn.primary { background: var(--hd-a); border-color: var(--hd-a); color: #fff; }
[data-theme='dark'] .hd .hd-btn.primary { color: #30060f; }
.hd-btn.ghost { background: transparent; color: var(--hd-txt2); }
.hd-msg { font-size: 11.5px; color: var(--hd-txt3); line-height: 1.6; text-align: center; flex: 1; }

.hd-wizard-foot {
  display: flex; align-items: center; gap: 10px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hd-line2);
}

/* ---------- 结果卡 + 仪表盘 ---------- */
.hd-result-card {
  background: var(--hd-card); border: 1px solid var(--hd-line);
  border-radius: var(--hd-r); box-shadow: var(--hd-shadow); overflow: hidden;
}
.hd-result-h { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--hd-line2); }
.hd-result-h h2 { margin: 0; font-size: 14.5px; font-weight: 800; }
.hd-badge { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--hd-line2); color: var(--hd-txt3); }
.hd-badge.ok { background: color-mix(in srgb, var(--hd-ok) 16%, transparent); color: var(--hd-ok); }
.hd-badge.warn { background: color-mix(in srgb, var(--hd-warn) 18%, transparent); color: var(--hd-warn); }

.hd-gauge { position: relative; width: 246px; height: 158px; margin: 16px auto 0; }
.hd-gauge-arc {
  position: absolute; left: 0; top: 0; width: 246px; height: 123px;
  border-radius: 246px 246px 0 0;
  background: conic-gradient(from 270deg at 50% 100%, #be123c 0deg, #fb7185 60deg, #f472b6 105deg, #fda4af 150deg, #fecdd3 180deg);
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent 0 84px, #000 85px);
          mask: radial-gradient(circle at 50% 100%, transparent 0 84px, #000 85px);
}
.hd-needle {
  position: absolute; left: 50%; bottom: 0; width: 3px; height: 86px;
  margin-left: -1.5px; border-radius: 2px;
  background: var(--hd-txt); transform-origin: 50% 100%;
  transform: rotate(-45deg); transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}
.hd-needle::after {
  content: ''; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%; background: var(--hd-txt);
}
.hd-gauge-center {
  position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%);
  text-align: center; width: 150px;
}
.hd-gauge-center strong { font-size: 34px; font-weight: 800; color: var(--hd-a); letter-spacing: -1.5px; }
.hd-gauge-center span { font-size: 12px; color: var(--hd-txt2); margin-left: 2px; }
.hd-gauge-center p { margin: 2px 0 0; font-size: 11.5px; color: var(--hd-txt3); }
.hd-gauge-scale {
  position: absolute; left: 0; right: 0; bottom: 58px;
  display: flex; justify-content: space-between;
  font-size: 9.5px; color: var(--hd-txt3);
}
.hd-gauge-scale span { transform: translateY(14px); }
.hd-gauge-scale span:first-child { transform: translate(-4px, 14px); }
.hd-gauge-scale span:last-child { transform: translate(4px, 14px); }

.hd-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--hd-line2); margin-top: 8px; }
.hd-kpi { background: var(--hd-card); padding: 11px 14px; }
.hd-kpi span { display: block; font-size: 11px; color: var(--hd-txt3); }
.hd-kpi b { display: inline-block; font-size: 16px; font-weight: 800; margin-top: 2px; letter-spacing: -.3px; }
.hd-kpi small { font-size: 10.5px; color: var(--hd-txt3); margin-left: 2px; }

.hd-advice { padding: 12px 18px 14px; }
.hd-advice h3 { margin: 0 0 7px; font-size: 12.5px; font-weight: 700; }
.hd-advice ul { margin: 0; padding-left: 17px; }
.hd-advice li { font-size: 12px; line-height: 1.8; color: var(--hd-txt2); margin-bottom: 3px; }
.hd-risk {
  margin: 0 14px 14px; padding: 9px 11px; border-radius: 10px;
  background: color-mix(in srgb, var(--hd-warn) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--hd-warn) 36%, transparent);
  font-size: 12px; line-height: 1.7; color: var(--hd-txt2);
}
.hd-risk strong { color: var(--hd-warn); margin-right: 5px; }

/* ---------- 四档方案 ---------- */
.hd-plans-card { margin-top: 17px; }
.hd-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.hd-plan {
  position: relative; border: 1.5px solid var(--hd-line); border-radius: 15px;
  background: var(--hd-card2); padding: 16px 16px 14px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.hd-plan:hover { transform: translateY(-2px); }
.hd-plan.rec {
  border-color: var(--hd-a); background: var(--hd-card);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hd-a) 14%, transparent);
}
.hd-plan-tag {
  position: absolute; right: 12px; top: -10px; font-size: 10.5px; font-weight: 800;
  color: #fff; background: var(--hd-a); padding: 3px 9px; border-radius: 999px;
}
[data-theme='dark'] .hd .hd-plan-tag { color: #30060f; }
.hd-plan h3 { margin: 0; font-size: 23px; font-weight: 800; letter-spacing: -.8px; }
.hd-plan h3 span { font-size: 11.5px; color: var(--hd-txt3); font-weight: 500; margin-left: 4px; }
.hd-plan p { margin: 3px 0 11px; font-size: 11.5px; color: var(--hd-txt3); }
.hd-plan dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 5px 8px; font-size: 12px; }
.hd-plan dt { color: var(--hd-txt3); }
.hd-plan dd { margin: 0; text-align: right; font-weight: 600; }
.hd-plan-gb { margin-top: 10px; font-size: 11.5px; line-height: 1.7; color: var(--hd-txt3); }
.hd-plan-gb div { margin-top: 2px; }
.hd-plan-pick {
  margin-top: 11px; width: 100%; border: 0; border-radius: 9px; padding: 8px;
  font-size: 12px; font-weight: 700; cursor: pointer;
  background: var(--hd-line2); color: var(--hd-txt2);
}
.hd-plan.rec .hd-plan-pick { background: var(--hd-a); color: #fff; }
[data-theme='dark'] .hd .hd-plan.rec .hd-plan-pick { color: #30060f; }

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

.hd-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.hd-steps li { display: grid; grid-template-columns: 24px 1fr; gap: 11px; align-items: start; font-size: 12.5px; line-height: 1.8; color: var(--hd-txt2); }
.hd-steps li > b {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; background: var(--hd-soft);
  color: var(--hd-a); font-size: 11.5px; font-weight: 800;
}
.hd-steps li em { display: block; font-style: normal; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: var(--hd-a); margin-top: 2px; }

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

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hd-hero { grid-template-columns: 1fr; }
  .hd-hero-art { display: none; }
  .hd-body { grid-template-columns: 1fr; }
  .hd-side { position: static; }
  .hd-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .hd-inner { width: calc(100% - 28px); }
  .hd-hero { padding: 22px 18px; border-radius: 18px; }
  .hd-wizard { padding: 16px 16px 18px; }
  .hd-seg { flex-direction: column; }
  .hd-range-row { grid-template-columns: 1fr; }
  .hd-plans { grid-template-columns: 1fr; }
  .hd-gauge { width: 220px; height: 146px; }
  .hd-gauge-arc { width: 220px; height: 110px; }
  .hd-gauge-center strong { font-size: 30px; }
  .hd-wizard-foot { flex-wrap: wrap; }
  .hd-actions .hd-btn { flex: 1 1 44%; }
}

/* ---------- 打印 ---------- */
@media print {
  .hd-actions, .hd-textarea, .hd-history, .hd-presets, .hd-wizard-foot, .tsk-crumb-bar { display: none !important; }
  .hd { padding: 0; background: #fff; }
  .hd-card, .hd-wizard, .hd-result-card { box-shadow: none; border-color: #ddd; break-inside: avoid; }
  .hd-hero { box-shadow: none; }
  .hd-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}}
