/* 狐臭分级与处理方向计算器 · 独立主题（深青仪表盘） */
:root {
  --ao-a: #164e63;
  --ao-a2: #0e7490;
  --ao-a3: #67e8f9;
  --ao-soft: #dff4f8;
  --ao-bg: #eef5f7;
  --ao-card: #ffffff;
  --ao-card2: #f8fcfd;
  --ao-txt: #0d2a33;
  --ao-txt2: #48636c;
  --ao-txt3: #7c959d;
  --ao-line: #d4e4e9;
  --ao-line2: #e9f2f4;
  --ao-ok: #15803d;
  --ao-warn: #b45309;
  --ao-bad: #be123c;
  --ao-shadow: 0 1px 2px rgba(10, 40, 50, .05), 0 12px 28px -18px rgba(10, 50, 60, .32);
  --ao-r: 14px;
  --ao-r2: 9px;
}

[data-theme='dark'] .ao {
  --ao-a: #67e8f9;
  --ao-a2: #22d3ee;
  --ao-a3: #164e63;
  --ao-soft: #103641;
  --ao-bg: #071419;
  --ao-card: #0e2128;
  --ao-card2: #0b1a20;
  --ao-txt: #e2f4f8;
  --ao-txt2: #a9c4cc;
  --ao-txt3: #72929b;
  --ao-line: #1e3a44;
  --ao-line2: #142b33;
  --ao-ok: #4ade80;
  --ao-warn: #fbbf24;
  --ao-bad: #fb7185;
  --ao-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 12px 28px -18px rgba(0, 0, 0, .7);
}

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

/* ---------- 免责条 ---------- */
.ao-disclaim {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  padding: 11px 16px; margin-bottom: 16px;
  border: 1px solid color-mix(in srgb, var(--ao-a) 38%, transparent);
  border-left: 4px solid var(--ao-a);
  border-radius: var(--ao-r);
  background: color-mix(in srgb, var(--ao-a) 8%, var(--ao-card));
  font-size: 13px; line-height: 1.6;
}
.ao-disclaim strong { color: var(--ao-a); font-size: 12.5px; letter-spacing: .3px; }
.ao-disclaim span { color: var(--ao-txt); font-weight: 700; }
.ao-disclaim em { font-style: normal; color: var(--ao-txt3); font-size: 12px; }

/* ---------- Hero ---------- */
.ao-hero {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 26px; align-items: center; padding: 30px 30px 26px;
  border-radius: var(--ao-r);
  background:
    radial-gradient(620px 260px at 88% 8%, rgba(34, 211, 238, .18), transparent 65%),
    repeating-linear-gradient(0deg, rgba(22, 78, 99, .04) 0 1px, transparent 1px 30px),
    var(--ao-card);
  border: 1px solid var(--ao-line);
  box-shadow: var(--ao-shadow);
}
.ao-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .4px;
  color: var(--ao-a); background: var(--ao-soft);
  border: 1px solid color-mix(in srgb, var(--ao-a) 24%, transparent);
  padding: 5px 11px; border-radius: 6px;
}
.ao-hero h1 { margin: 14px 0 0; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.22; letter-spacing: -.6px; font-weight: 800; }
.ao-hero h1 em {
  font-style: normal; display: inline-block; margin-top: 4px; color: var(--ao-a);
  background: linear-gradient(180deg, transparent 64%, rgba(34, 211, 238, .32) 64%);
  padding: 0 2px;
}
.ao-sub { margin: 12px 0 0; font-size: 14.5px; line-height: 1.85; color: var(--ao-txt2); max-width: 66ch; }
.ao-sub b { color: var(--ao-txt); font-weight: 700; }
.ao-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ao-tag {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px;
  padding: 5px 10px; border-radius: 6px; background: var(--ao-card2);
  border: 1px solid var(--ao-line); color: var(--ao-txt2);
}
.ao-tag i { color: var(--ao-a2); font-style: normal; font-weight: 800; }

/* 纯 CSS 止汗瓶插画 */
.ao-hero-art { position: relative; height: 240px; }
.ao-bottle { position: absolute; left: 50%; top: 26px; transform: translateX(-50%); width: 92px; height: 158px; }
.ao-body {
  position: absolute; left: 0; right: 0; bottom: 0; height: 120px; border-radius: 14px 14px 18px 18px;
  background: linear-gradient(160deg, #0e7490, #164e63 62%, #0b3b4b);
  box-shadow: inset 0 12px 22px -16px rgba(255, 255, 255, .8), 0 16px 28px -18px rgba(6, 40, 50, .8);
}
.ao-cap {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 62px; height: 30px; border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #67e8f9, #22d3ee);
  box-shadow: 0 4px 10px -6px rgba(6, 40, 50, .7);
}
.ao-roller {
  position: absolute; left: 50%; top: 26px; transform: translateX(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #f0fdff, #a5f3fc 55%, #22d3ee 100%);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, .8), 0 0 0 6px rgba(34, 211, 238, .16);
}
.ao-label {
  position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%);
  font-size: 22px; font-weight: 800; letter-spacing: 2px; color: #cffafe;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .3);
}
.ao-wave { position: absolute; border: 2px solid rgba(14, 116, 144, .26); border-radius: 50%; }
.ao-wave.w1 { width: 120px; height: 120px; left: 6px; top: 56px; }
.ao-wave.w2 { width: 160px; height: 160px; left: -14px; top: 36px; border-color: rgba(14, 116, 144, .16); }
.ao-wave.w3 { width: 200px; height: 200px; right: -34px; top: 16px; border-color: rgba(14, 116, 144, .1); }
.ao-chip {
  position: absolute; font-size: 11px; padding: 5px 9px; border-radius: 6px;
  background: var(--ao-card); border: 1px solid var(--ao-line);
  color: var(--ao-txt2); box-shadow: var(--ao-shadow); white-space: nowrap;
}
.ao-chip.c1 { left: 0; bottom: 22px; }
.ao-chip.c2 { right: 0; bottom: 52px; }

/* ---------- 顶部 KPI 横条 ---------- */
.ao-kpis {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px;
  margin-top: 16px; background: var(--ao-line);
  border: 1px solid var(--ao-line); border-radius: var(--ao-r); overflow: hidden;
  box-shadow: var(--ao-shadow);
}
.ao-kpi { background: var(--ao-card); padding: 12px 14px; border-top: 3px solid transparent; }
.ao-kpi:nth-child(1) { border-top-color: var(--ao-a); }
.ao-kpi:nth-child(2) { border-top-color: var(--ao-a2); }
.ao-kpi:nth-child(3) { border-top-color: #06b6d4; }
.ao-kpi:nth-child(4) { border-top-color: #22d3ee; }
.ao-kpi:nth-child(5) { border-top-color: #67e8f9; }
.ao-kpi:nth-child(6) { border-top-color: var(--ao-a); }
.ao-kpi span { display: block; font-size: 11px; color: var(--ao-txt3); letter-spacing: .3px; }
.ao-kpi b { display: inline-block; margin-top: 3px; font-size: 21px; font-weight: 800; letter-spacing: -.5px; color: var(--ao-txt); font-variant-numeric: tabular-nums; }
.ao-kpi small { font-size: 10.5px; color: var(--ao-txt3); margin-left: 3px; }

/* ---------- 左右分栏 ---------- */
.ao-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; align-items: start; }
.ao-left { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ao-right { position: sticky; top: 82px; min-width: 0; }
.ao-card {
  background: var(--ao-card); border: 1px solid var(--ao-line);
  border-radius: var(--ao-r); box-shadow: var(--ao-shadow); padding: 19px 20px 20px; min-width: 0;
}
.ao-card-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.ao-card-h h2 { margin: 0; font-size: 15.5px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.ao-no {
  font-size: 10.5px; font-weight: 800; letter-spacing: .5px; color: #fff;
  background: var(--ao-a); padding: 3px 6px; border-radius: 4px;
}
[data-theme='dark'] .ao .ao-no { color: #071419; }
.ao-card-h small { font-size: 11.5px; color: var(--ao-txt3); }

.ao-field { margin-bottom: 15px; }
.ao-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.ao-label label { font-size: 13px; font-weight: 600; color: var(--ao-txt); }
.ao-label label b { color: var(--ao-bad); }
.ao-hint { font-size: 11px; color: var(--ao-txt3); }
.ao-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

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

.ao-numbox { display: flex; align-items: center; border: 1px solid var(--ao-line); border-radius: var(--ao-r2); background: var(--ao-card2); overflow: hidden; }
.ao-numbox input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ao-txt); font-size: 15px; font-weight: 700; padding: 9px 10px; outline: none; font-variant-numeric: tabular-nums; }
.ao-numbox span { padding: 0 10px; font-size: 11.5px; color: var(--ao-txt3); background: var(--ao-line2); align-self: stretch; display: flex; align-items: center; white-space: nowrap; }
.ao-numbox.wide { width: 100%; }
.ao-err { display: none; margin-top: 5px; font-size: 11.5px; color: var(--ao-bad); }
.ao-err.on { display: block; }
.ao-field.bad .ao-numbox { border-color: var(--ao-bad); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ao-bad) 14%, transparent); }

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

.ao-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ao-segbtn {
  border: 1px solid var(--ao-line); background: var(--ao-card2); color: var(--ao-txt2);
  font-size: 11.5px; padding: 9px 6px; border-radius: 7px; cursor: pointer; line-height: 1.35;
  transition: background .16s, border-color .16s, color .16s;
}
.ao-segbtn.on { background: var(--ao-a); border-color: var(--ao-a); color: #fff; font-weight: 700; }
[data-theme='dark'] .ao .ao-segbtn.on { color: #071419; }

.ao-checks { display: grid; gap: 7px; }
.ao-check {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1px solid var(--ao-line); border-radius: var(--ao-r2); padding: 8px 10px;
  font-size: 12px; color: var(--ao-txt2); background: var(--ao-card2);
}
.ao-check input { appearance: none; width: 16px; height: 16px; border: 1.5px solid var(--ao-line); border-radius: 3px; flex: none; position: relative; cursor: pointer; }
.ao-check input:checked { background: var(--ao-a2); border-color: var(--ao-a2); }
.ao-check input:checked::after { content: '✓'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 10.5px; font-weight: 800; }
[data-theme='dark'] .ao .ao-check input:checked::after { color: #071419; }
.ao-check:has(input:checked) { border-color: var(--ao-a2); background: var(--ao-soft); color: var(--ao-txt); }

.ao-tip { margin: 11px 0 0; font-size: 12px; line-height: 1.7; color: var(--ao-txt3); background: var(--ao-line2); border-left: 3px solid var(--ao-a2); padding: 8px 11px; border-radius: 0 6px 6px 0; }
.ao-tip b { color: var(--ao-a); }
.ao-tip code { font-size: 11.5px; background: var(--ao-card); padding: 1px 4px; border-radius: 3px; color: var(--ao-a2); }

.ao-flagbox {
  margin-top: 10px; padding: 10px 12px; border-radius: var(--ao-r2);
  background: color-mix(in srgb, var(--ao-bad) 8%, var(--ao-card2));
  border: 1px solid color-mix(in srgb, var(--ao-bad) 34%, transparent);
}
.ao-flagbox strong { display: block; color: var(--ao-bad); font-size: 12px; margin-bottom: 3px; letter-spacing: .3px; }
.ao-flagbox p { margin: 0; font-size: 11.5px; line-height: 1.7; color: var(--ao-txt2); }

.ao-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.ao-actions.tight { margin-top: 10px; }
.ao-btn {
  border: 1px solid var(--ao-line); background: var(--ao-card); color: var(--ao-txt);
  font-size: 12.5px; font-weight: 600; padding: 9px 14px; border-radius: var(--ao-r2); cursor: pointer;
  transition: transform .12s, box-shadow .18s, background .18s;
}
.ao-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .5); }
.ao-btn.primary { background: var(--ao-a); border-color: var(--ao-a); color: #fff; }
[data-theme='dark'] .ao .ao-btn.primary { color: #071419; }
.ao-btn.ghost { background: transparent; color: var(--ao-txt2); }
.ao-msg { margin-top: 10px; font-size: 12px; color: var(--ao-txt3); }

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

.ao-verdict { padding: 16px 18px 14px; text-align: center; background: linear-gradient(180deg, var(--ao-soft), transparent); }
.ao-verdict-label { display: block; font-size: 11.5px; color: var(--ao-txt3); letter-spacing: .4px; }
.ao-verdict-num { display: inline-block; font-size: 42px; line-height: 1.1; font-weight: 800; color: var(--ao-a); letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.ao-verdict-unit { display: block; font-size: 14px; font-weight: 700; color: var(--ao-txt); margin-top: 2px; }
.ao-verdict-sub { margin: 4px 0 0; font-size: 11.5px; color: var(--ao-txt3); }

.ao-scale { padding: 12px 18px 12px; border-top: 1px solid var(--ao-line2); }
.ao-scale h3, .ao-rings-wrap h3, .ao-ladder-wrap h3, .ao-advice h3 { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; }
.ao-scale h3 small { font-size: 10.5px; color: var(--ao-txt3); font-weight: 400; margin-left: 5px; }
.ao-scale-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); height: 34px; border-radius: 8px; overflow: hidden; }
.ao-scale-zone { display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.ao-scale-zone.z0 { background: #f0fdfa; color: #115e59; }
.ao-scale-zone.z1 { background: #a5f3fc; color: #155e75; }
.ao-scale-zone.z2 { background: #22d3ee; color: #083344; }
.ao-scale-zone.z3 { background: #164e63; color: #ecfeff; }
[data-theme='dark'] .ao .ao-scale-zone.z0 { background: #103641; color: #99f6e4; }
[data-theme='dark'] .ao .ao-scale-zone.z1 { background: #155e75; color: #ecfeff; }
[data-theme='dark'] .ao .ao-scale-zone.z2 { background: #22d3ee; color: #083344; }
[data-theme='dark'] .ao .ao-scale-zone.z3 { background: #164e63; color: #ecfeff; }
.ao-scale-marker {
  position: absolute; top: -2px; left: 25%; width: 3px; height: 38px;
  background: var(--ao-bad); box-shadow: 0 0 6px rgba(190, 18, 60, .5);
  transform: translateX(-50%); transition: left .35s ease; z-index: 2;
}
.ao-scale-marker::after {
  content: ''; position: absolute; top: -5px; left: -4px;
  border: 5.5px solid transparent; border-top-color: var(--ao-bad);
}
.ao-scale-labels { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 6px; font-size: 10px; color: var(--ao-txt3); }
.ao-scale-labels span:nth-child(2), .ao-scale-labels span:nth-child(3) { text-align: center; }
.ao-scale-labels span:last-child { text-align: right; }
.ao-scale-note { margin: 8px 0 0; font-size: 10.5px; line-height: 1.65; color: var(--ao-txt3); }

.ao-rings-wrap { padding: 4px 18px 12px; }
.ao-rings {
  position: relative; height: 176px; border-radius: 10px;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 24%, var(--ao-line2) 24% 24.6%, transparent 24.6% 48%, var(--ao-line2) 48% 48.6%, transparent 48.6% 72%, var(--ao-line2) 72% 72.6%, transparent 72.6% 92%, var(--ao-line2) 92% 92.6%, transparent 92.6%),
    var(--ao-card2);
  overflow: hidden;
}
.ao-ring {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  border: 1px dashed color-mix(in srgb, var(--ao-a2) 35%, transparent); border-radius: 50%;
  display: flex; align-items: flex-end; justify-content: center;
}
.ao-ring i { font-style: normal; font-size: 9px; color: var(--ao-txt3); transform: translateY(6px); background: var(--ao-card2); padding: 0 3px; }
.ao-ring.r10 { width: 26%; height: 30%; }
.ao-ring.r30 { width: 58%; height: 62%; }
.ao-ring.r60 { width: 80%; height: 84%; }
.ao-ring.r100 { width: 96%; height: 96%; }
.ao-center { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--ao-a); }
.ao-range-dot {
  position: absolute; left: 50%; top: 50%; width: 12px; height: 12px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--ao-a2); border: 2px solid var(--ao-card);
  box-shadow: 0 0 0 2px var(--ao-a2); transition: left .35s ease; z-index: 3;
}
.ao-range-label {
  position: absolute; right: 8px; bottom: 6px; font-size: 10px;
  color: var(--ao-a2); font-weight: 700; background: var(--ao-card); padding: 2px 6px; border-radius: 4px;
}
.ao-rings-note { margin: 7px 0 0; font-size: 10.5px; line-height: 1.65; color: var(--ao-txt3); }

.ao-ladder-wrap { padding: 2px 18px 10px; }
.ao-ladder { display: flex; flex-direction: column; gap: 5px; }
.ao-step {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 9px; align-items: center;
  border: 1px solid var(--ao-line); border-left: 3px solid var(--ao-line);
  border-radius: 7px; background: var(--ao-card2); padding: 7px 9px;
  opacity: .55;
}
.ao-step.on { opacity: 1; border-left-color: var(--ao-a2); background: var(--ao-card); }
.ao-step.rec { border-left-color: var(--ao-a); box-shadow: 0 0 0 2px color-mix(in srgb, var(--ao-a) 14%, transparent); }
.ao-step-n { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 800; background: var(--ao-line2); color: var(--ao-txt2); }
.ao-step.on .ao-step-n { background: var(--ao-a); color: #fff; }
[data-theme='dark'] .ao .ao-step.on .ao-step-n { color: #071419; }
.ao-step-t b { display: block; font-size: 11.5px; color: var(--ao-txt); }
.ao-step-t span { display: block; font-size: 9.5px; color: var(--ao-txt3); line-height: 1.4; }
.ao-step-fee { font-size: 10px; color: var(--ao-a2); font-weight: 700; white-space: nowrap; }
.ao-ladder-note { margin: 7px 0 0; font-size: 10.5px; line-height: 1.65; color: var(--ao-txt3); }

.ao-advice { padding: 2px 18px 14px; }
.ao-advice ul { margin: 0; padding-left: 16px; }
.ao-advice li { font-size: 11.5px; line-height: 1.75; color: var(--ao-txt2); margin-bottom: 4px; }
.ao-risk { margin: 0 14px 14px; padding: 9px 10px; border-radius: 7px; background: color-mix(in srgb, var(--ao-bad) 9%, transparent); border: 1px solid color-mix(in srgb, var(--ao-bad) 30%, transparent); font-size: 11.5px; line-height: 1.65; color: var(--ao-txt2); }
.ao-risk strong { color: var(--ao-bad); margin-right: 5px; }

/* ---------- 三档 ---------- */
.ao-plans-card { margin-top: 18px; }
.ao-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ao-plan { border: 1.5px solid var(--ao-line); border-radius: var(--ao-r); background: var(--ao-card2); padding: 15px 15px 13px; position: relative; }
.ao-plan.rec { border-color: var(--ao-a); background: var(--ao-card); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ao-a) 14%, transparent); }
.ao-plan-tag { position: absolute; right: 11px; top: -10px; font-size: 10px; font-weight: 800; color: #fff; background: var(--ao-a); padding: 3px 8px; border-radius: 4px; }
[data-theme='dark'] .ao .ao-plan-tag { color: #071419; }
.ao-plan h3 { margin: 0; font-size: 16px; font-weight: 800; }
.ao-plan p { margin: 5px 0 10px; font-size: 11.5px; color: var(--ao-txt3); line-height: 1.6; }
.ao-plan dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 5px 9px; font-size: 11.5px; }
.ao-plan dt { color: var(--ao-txt3); }
.ao-plan dd { margin: 0; text-align: right; font-weight: 600; color: var(--ao-txt); }
.ao-plan .ao-plan-pick { margin-top: 10px; width: 100%; border: 0; border-radius: 6px; padding: 7px; font-size: 12px; font-weight: 700; cursor: pointer; background: var(--ao-line2); color: var(--ao-txt2); }
.ao-plan.rec .ao-plan-pick { background: var(--ao-a); color: #fff; }
[data-theme='dark'] .ao .ao-plan.rec .ao-plan-pick { color: #071419; }

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

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

.ao-textarea {
  width: 100%; min-height: 116px; resize: vertical; border: 1px solid var(--ao-line);
  border-radius: var(--ao-r2); background: var(--ao-card2); color: var(--ao-txt);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 1.7; padding: 11px;
}

.ao-history { display: flex; flex-direction: column; gap: 8px; }
.ao-hist-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--ao-line); border-radius: var(--ao-r2); padding: 9px 11px; background: var(--ao-card2); font-size: 12px; }
.ao-hist-item button { border: 0; background: var(--ao-soft); color: var(--ao-a2); font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 5px; cursor: pointer; }
.ao-empty { font-size: 12px; color: var(--ao-txt3); margin: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .ao-hero { grid-template-columns: 1fr; }
  .ao-hero-art { display: none; }
  .ao-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ao-body { grid-template-columns: 1fr; }
  .ao-right { position: static; }
  .ao-plans { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .ao-inner { width: calc(100% - 28px); }
  .ao-hero { padding: 22px 18px; }
  .ao-card { padding: 15px 15px 17px; }
  .ao-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ao-grid2 { grid-template-columns: 1fr; }
  .ao-rangerow { grid-template-columns: 1fr; }
  .ao-seg { grid-template-columns: 1fr; }
  .ao-actions .ao-btn { flex: 1 1 44%; }
  .ao-disclaim { flex-direction: column; align-items: flex-start; }
}

/* ---------- 打印 ---------- */
@media print {
  .ao-actions, .ao-textarea, .ao-history, .tsk-crumb-bar, .ao-disclaim em { display: none !important; }
  .ao { padding: 0; background: #fff; }
  .ao-card, .ao-result { box-shadow: none; border-color: #ddd; break-inside: avoid; }
  .ao-hero, .ao-kpis { box-shadow: none; }
}

/* ---------- 全局对齐：面包屑 / 内容 / 底部区块统一 ---------- */
.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}}
