/* ============================================================
   car-suite.css —— 汽车用车系列（第 6 批 131-145）全新视觉
   风格：车库仪表盘 / 技术规格单
   - 实心卡片 + 硬阴影 + 刻度线，区别于 neo 玻璃拟态、hc 青绿蓝图
   - 数字一律等宽，强调「仪表读数」的可信感
   - 黑夜模式随站点 [data-theme="dark"]
   作用域：.cs（前缀 cs-）
   ============================================================ */

.cs {
    --cs-bg: #f3efe8;
    --cs-panel: #fffdf9;
    --cs-panel-2: #f8f4ec;
    --cs-ink: #14181a;
    --cs-ink-2: #465055;
    --cs-ink-3: #7d888d;
    --cs-line: #e3dbd0;
    --cs-line-2: #efe9e0;
    --cs-accent: #c9480f;
    --cs-accent-2: #e8621f;
    --cs-accent-soft: #fbeade;
    --cs-petrol: #0e3b45;
    --cs-ok: #0f7a56;
    --cs-warn: #9a6a06;
    --cs-bad: #ac2318;
    --cs-ok-soft: #e4f4ec;
    --cs-warn-soft: #fbf1da;
    --cs-bad-soft: #fbe7e4;
    --cs-hero-bg: #14181a;
    --cs-shadow: 5px 5px 0 rgba(20, 24, 26, .07);
    --cs-shadow-sm: 3px 3px 0 rgba(20, 24, 26, .06);
    --cs-radius: 14px;
    --cs-radius-sm: 10px;
    --cs-mono: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
    color: var(--cs-ink);
    margin: 16px 0 0;
    font-variant-numeric: tabular-nums;
}

[data-theme="dark"] .cs {
    --cs-bg: #0d1013;
    --cs-panel: #151a1e;
    --cs-panel-2: #1a2126;
    --cs-ink: #eef1ef;
    --cs-ink-2: #b4bdc2;
    --cs-ink-3: #7f8a90;
    --cs-line: #2b353a;
    --cs-line-2: #232c31;
    --cs-accent: #ff7a34;
    --cs-accent-2: #ff9a5e;
    --cs-accent-soft: #2b1a10;
    --cs-petrol: #7fd3de;
    --cs-ok: #3ad39d;
    --cs-warn: #f2c14e;
    --cs-bad: #ff6f61;
    --cs-ok-soft: #10312a;
    --cs-warn-soft: #2f2611;
    --cs-bad-soft: #331a17;
    --cs-hero-bg: #161c20;
    --cs-shadow: 5px 5px 0 rgba(0, 0, 0, .38);
    --cs-shadow-sm: 3px 3px 0 rgba(0, 0, 0, .34);
}

/* ---------------- 顶部：车库横幅 ---------------- */
.cs-hero {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: var(--cs-hero-bg);
    color: #f4f2ec;
    padding: 24px 26px 22px;
    border: 1px solid #000;
    box-shadow: var(--cs-shadow);
    margin-bottom: 16px;
}

.cs-hero::before {
    /* 速度刻度线装饰 */
    content: "";
    position: absolute;
    right: -10px;
    top: 0;
    bottom: 0;
    width: 190px;
    background-image: repeating-linear-gradient(90deg,
            rgba(255, 255, 255, .16) 0 1px,
            transparent 1px 13px);
    transform: skewX(-14deg);
    opacity: .55;
    pointer-events: none;
}

.cs-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 58%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--cs-accent-2));
    pointer-events: none;
}

.cs-hero-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.cs-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #14181a;
    background: var(--cs-accent-2);
    padding: 4px 10px;
    border-radius: 5px;
}

.cs-hero-tag {
    font-family: var(--cs-mono);
    font-size: 11px;
    letter-spacing: .1em;
    color: rgba(244, 242, 236, .62);
    border: 1px solid rgba(244, 242, 236, .22);
    padding: 3px 9px;
    border-radius: 5px;
}

.cs-hero h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.32;
    color: #fff;
    letter-spacing: .2px;
}

.cs-hero p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 14px;
    line-height: 1.72;
    color: rgba(244, 242, 236, .78);
    max-width: 760px;
}

.cs-hero p b { color: #ffd9c0; }

.cs-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 16px;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(244, 242, 236, .16);
    padding-top: 12px;
}

.cs-strip-item {
    padding-right: 22px;
    margin-right: 22px;
    border-right: 1px solid rgba(244, 242, 236, .14);
    line-height: 1.35;
}
.cs-strip-item:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.cs-strip-item .k {
    display: block;
    font-family: var(--cs-mono);
    font-size: 10px;
    letter-spacing: .16em;
    color: rgba(244, 242, 236, .45);
    margin-bottom: 3px;
}
.cs-strip-item .v { font-size: 13px; font-weight: 700; color: #f4f2ec; }

/* ---------------- 主布局 ---------------- */
.cs-main {
    display: grid;
    grid-template-columns: minmax(340px, 1.02fr) 1fr;
    gap: 16px;
    align-items: start;
}

.cs-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* ---------------- 面板 ---------------- */
.cs-panel {
    background: var(--cs-panel);
    border: 1px solid var(--cs-line);
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow);
    padding: 18px 18px 20px;
    min-width: 0;
}

.cs-panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--cs-line);
}

.cs-panel-no {
    font-family: var(--cs-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--cs-accent);
    border: 1px solid var(--cs-accent);
    border-radius: 4px;
    padding: 2px 6px;
    flex: none;
}

.cs-panel-head h3 {
    margin: 0;
    font-size: 15.5px;
    font-weight: 800;
    letter-spacing: .2px;
}

.cs-panel-head .cs-sub {
    margin-left: auto;
    font-size: 11.5px;
    font-family: var(--cs-mono);
    color: var(--cs-ink-3);
    letter-spacing: .04em;
}

/* ---------------- 预设 ---------------- */
.cs-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 15px;
}

.cs-preset {
    border: 1px solid var(--cs-line);
    background: var(--cs-panel-2);
    color: var(--cs-ink-2);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 11px;
    border-radius: 999px;
    cursor: pointer;
    transition: all .16s;
}
.cs-preset:hover { border-color: var(--cs-accent); color: var(--cs-accent); }
.cs-preset.is-active {
    background: var(--cs-ink);
    border-color: var(--cs-ink);
    color: var(--cs-panel);
}

/* ---------------- 表单 ---------------- */
.cs-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 12px; }
.cs-field { min-width: 0; }
.cs-field--full { grid-column: 1 / -1; }

.cs-label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--cs-ink-2);
    margin-bottom: 6px;
    letter-spacing: .02em;
}
.cs-label b { color: var(--cs-accent); font-weight: 800; }

.cs-input-wrap { position: relative; display: flex; align-items: center; }

.cs-input,
.cs-select {
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--cs-ink);
    background: var(--cs-panel-2);
    border: 1px solid var(--cs-line);
    border-radius: var(--cs-radius-sm);
    padding: 10px 12px;
    outline: none;
    transition: border-color .16s, box-shadow .16s, background .16s;
}
.cs-input[type="number"] { font-family: var(--cs-mono); letter-spacing: .01em; }
.cs-input:hover, .cs-select:hover { border-color: var(--cs-line); background: var(--cs-panel); }
.cs-input:focus, .cs-select:focus {
    border-color: var(--cs-accent);
    background: var(--cs-panel);
    box-shadow: 0 0 0 3px var(--cs-accent-soft);
}
.cs-input.is-bad { border-color: var(--cs-bad); box-shadow: 0 0 0 3px var(--cs-bad-soft); }

.cs-input-wrap .cs-unit {
    position: absolute;
    right: 11px;
    font-size: 12px;
    color: var(--cs-ink-3);
    pointer-events: none;
    background: inherit;
}
.cs-input-wrap.has-unit .cs-input { padding-right: 46px; }

.cs-select {
    appearance: none;
    cursor: pointer;
    padding-right: 30px;
    background-image: linear-gradient(45deg, transparent 50%, var(--cs-ink-3) 50%),
        linear-gradient(135deg, var(--cs-ink-3) 50%, transparent 50%);
    background-position: calc(100% - 16px) calc(50% + 1px), calc(100% - 11px) calc(50% + 1px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.cs-help {
    margin: 5px 0 0;
    font-size: 11.5px;
    line-height: 1.55;
    color: var(--cs-ink-3);
}

/* 复选标签 */
.cs-checks { display: flex; flex-wrap: wrap; gap: 7px; }
.cs-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--cs-ink-2);
    border: 1px solid var(--cs-line);
    background: var(--cs-panel-2);
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    line-height: 1.4;
    transition: all .14s;
}
.cs-check:hover { border-color: var(--cs-accent); }
.cs-check input { margin: 0; accent-color: var(--cs-accent); }
.cs-check:has(input:checked) {
    border-color: var(--cs-accent);
    background: var(--cs-accent-soft);
    color: var(--cs-ink);
}
.cs-checks--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }

/* ---------------- 按钮 ---------------- */
.cs-btns { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 15px; }

.cs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 1;
    min-width: 130px;
    border: 1px solid #000;
    background: var(--cs-accent);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .02em;
    padding: 11px 16px;
    border-radius: var(--cs-radius-sm);
    cursor: pointer;
    box-shadow: var(--cs-shadow-sm);
    transition: transform .14s, box-shadow .14s, background .14s;
}
.cs-btn:hover { background: var(--cs-accent-2); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 rgba(20, 24, 26, .12); }
.cs-btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 rgba(20, 24, 26, .12); }
.cs-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.cs-btn--ghost {
    background: var(--cs-panel);
    color: var(--cs-ink);
    border-color: var(--cs-line);
    flex: 0 0 auto;
    min-width: 0;
    font-weight: 700;
    box-shadow: none;
}
.cs-btn--ghost:hover { background: var(--cs-panel-2); border-color: var(--cs-ink-3); color: var(--cs-ink); transform: none; box-shadow: none; }
.cs-btn--sm { flex: 0 0 auto; min-width: 0; padding: 7px 12px; font-size: 12.5px; border-radius: 8px; }

/* ---------------- 结果 ---------------- */
.cs-result { min-height: 120px; }

.cs-empty {
    text-align: center;
    padding: 34px 16px;
    color: var(--cs-ink-3);
    border: 1px dashed var(--cs-line);
    border-radius: var(--cs-radius-sm);
    background: var(--cs-panel-2);
}
.cs-empty .e { font-size: 34px; display: block; margin-bottom: 8px; opacity: .8; }
.cs-empty p { margin: 0; font-size: 13px; line-height: 1.6; }

.cs-err {
    border: 1px solid var(--cs-bad);
    background: var(--cs-bad-soft);
    color: var(--cs-bad);
    border-radius: var(--cs-radius-sm);
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 600;
}

/* 仪表盘 */
.cs-gauge {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 4px 0 2px;
    flex-wrap: wrap;
}
.cs-gauge svg { width: 210px; height: 124px; flex: none; display: block; }
.cs-gauge-track { stroke: var(--cs-line); }
.cs-gauge-fill { stroke: var(--cs-accent); transition: stroke-dashoffset .5s cubic-bezier(.22, 1, .36, 1); }
.cs-gauge-fill.is-ok { stroke: var(--cs-ok); }
.cs-gauge-fill.is-warn { stroke: var(--cs-warn); }
.cs-gauge-fill.is-bad { stroke: var(--cs-bad); }
.cs-gauge-tick { stroke: var(--cs-line); }
.cs-gauge-tick.major { stroke: var(--cs-ink-3); }
.cs-gauge-num { font-family: var(--cs-mono); font-weight: 800; fill: var(--cs-ink); }
.cs-gauge-unit { font-size: 10px; fill: var(--cs-ink-3); font-family: var(--cs-mono); letter-spacing: .08em; }
.cs-gauge-needle { stroke: var(--cs-ink); stroke-width: 2.5; stroke-linecap: round; transition: all .5s cubic-bezier(.22, 1, .36, 1); }
.cs-gauge-hub { fill: var(--cs-ink); }

.cs-gauge-side { flex: 1; min-width: 150px; }
.cs-gauge-side .lab {
    font-family: var(--cs-mono);
    font-size: 10.5px;
    letter-spacing: .16em;
    color: var(--cs-ink-3);
    margin-bottom: 5px;
}
.cs-gauge-side .val {
    font-family: var(--cs-mono);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.5px;
    word-break: break-all;
}
.cs-gauge-side .val small { font-size: 14px; font-weight: 700; color: var(--cs-ink-2); margin-left: 3px; letter-spacing: 0; }
.cs-gauge-side .sub { font-size: 12.5px; color: var(--cs-ink-2); line-height: 1.65; margin-top: 6px; }

/* 结论条 */
.cs-verdict {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 14px;
    padding: 11px 13px;
    border-radius: var(--cs-radius-sm);
    border: 1px solid var(--cs-line);
    background: var(--cs-panel-2);
    font-size: 13px;
    line-height: 1.75;
    color: var(--cs-ink-2);
}
.cs-verdict .ico { font-size: 16px; flex: none; line-height: 1.4; }
.cs-verdict b { display: block; color: var(--cs-ink); font-size: 12px; letter-spacing: .1em; font-family: var(--cs-mono); margin-bottom: 2px; text-transform: uppercase; }
.cs-verdict em { font-style: normal; font-weight: 800; color: var(--cs-accent); }
.cs-verdict.is-ok { border-color: color-mix(in srgb, var(--cs-ok) 42%, transparent); background: var(--cs-ok-soft); }
.cs-verdict.is-ok em { color: var(--cs-ok); }
.cs-verdict.is-warn { border-color: color-mix(in srgb, var(--cs-warn) 42%, transparent); background: var(--cs-warn-soft); }
.cs-verdict.is-warn em { color: var(--cs-warn); }
.cs-verdict.is-bad { border-color: color-mix(in srgb, var(--cs-bad) 42%, transparent); background: var(--cs-bad-soft); }
.cs-verdict.is-bad em { color: var(--cs-bad); }

/* KPI 规格格 */
.cs-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 8px;
    margin-top: 13px;
}
.cs-kpi {
    border: 1px solid var(--cs-line);
    border-radius: 9px;
    padding: 9px 10px;
    background: var(--cs-panel-2);
    min-width: 0;
}
.cs-kpi .k { font-size: 10.5px; color: var(--cs-ink-3); letter-spacing: .05em; margin-bottom: 4px; }
.cs-kpi .v { font-family: var(--cs-mono); font-size: 15px; font-weight: 800; word-break: break-all; line-height: 1.3; }
.cs-kpi .v.ok { color: var(--cs-ok); }
.cs-kpi .v.warn { color: var(--cs-warn); }
.cs-kpi .v.bad { color: var(--cs-bad); }

/* 横条对比 */
.cs-meters { margin-top: 15px; }
.cs-meters-head {
    font-family: var(--cs-mono);
    font-size: 10.5px;
    letter-spacing: .16em;
    color: var(--cs-ink-3);
    margin-bottom: 9px;
}
.cs-meter + .cs-meter { margin-top: 9px; }
.cs-meter-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
    color: var(--cs-ink-2);
    margin-bottom: 4px;
}
.cs-meter-top b { font-family: var(--cs-mono); color: var(--cs-ink); font-weight: 800; }
.cs-meter-track {
    height: 7px;
    border-radius: 4px;
    background: var(--cs-line-2);
    overflow: hidden;
    border: 1px solid var(--cs-line);
}
.cs-meter-track i {
    display: block;
    height: 100%;
    background: var(--cs-accent);
    border-radius: 3px;
    transition: width .45s cubic-bezier(.22, 1, .36, 1);
}
.cs-meter-track i.is-ok { background: var(--cs-ok); }
.cs-meter-track i.is-warn { background: var(--cs-warn); }
.cs-meter-track i.is-bad { background: var(--cs-bad); }
.cs-meter-track i.is-cool { background: var(--cs-petrol); }

/* 明细行 */
.cs-rows { list-style: none; margin: 14px 0 0; padding: 0; border: 1px solid var(--cs-line); border-radius: var(--cs-radius-sm); overflow: hidden; }
.cs-rows li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 12px;
    font-size: 13px;
    background: var(--cs-panel);
}
.cs-rows li:nth-child(even) { background: var(--cs-panel-2); }
.cs-rows li span { color: var(--cs-ink-2); }
.cs-rows li b { font-family: var(--cs-mono); font-weight: 700; text-align: right; word-break: break-all; }
.cs-rows li.is-sum { background: var(--cs-accent-soft); }
.cs-rows li.is-sum span { color: var(--cs-ink); font-weight: 700; }

/* 表格 */
.cs-table-wrap {
    margin-top: 14px;
    overflow-x: auto;
    border: 1px solid var(--cs-line);
    border-radius: var(--cs-radius-sm);
    -webkit-overflow-scrolling: touch;
}
.cs-table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 100%; }
.cs-table th {
    text-align: left;
    padding: 8px 10px;
    font-family: var(--cs-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--cs-ink-3);
    background: var(--cs-panel-2);
    border-bottom: 1px solid var(--cs-line);
    white-space: nowrap;
}
.cs-table td {
    padding: 9px 10px;
    border-bottom: 1px solid var(--cs-line-2);
    color: var(--cs-ink-2);
    line-height: 1.55;
    vertical-align: top;
}
.cs-table tr:last-child td { border-bottom: 0; }
.cs-table td:first-child { color: var(--cs-ink); font-weight: 700; }
.cs-table .num { font-family: var(--cs-mono); font-weight: 700; text-align: right; white-space: nowrap; color: var(--cs-ink); }
.cs-table tr.is-best td { background: var(--cs-ok-soft); }
.cs-table tr.is-best td:first-child { box-shadow: inset 3px 0 0 var(--cs-ok); }
.cs-table tr.is-weak td { background: var(--cs-bad-soft); }

/* 分组块 */
.cs-block { margin-top: 18px; }
.cs-block-head {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    color: var(--cs-ink);
    margin-bottom: 7px;
}
.cs-block-head::before {
    content: "";
    width: 4px;
    height: 13px;
    background: var(--cs-accent);
    border-radius: 1px;
    flex: none;
    transform: translateY(1px);
}
.cs-block-desc { font-size: 11.5px; color: var(--cs-ink-3); font-weight: 500; }

/* 提示 / 警告 */
.cs-note {
    margin-top: 13px;
    font-size: 12.5px;
    line-height: 1.75;
    color: var(--cs-ink-2);
    border-left: 3px solid var(--cs-accent);
    background: var(--cs-panel-2);
    padding: 9px 12px;
    border-radius: 0 8px 8px 0;
}
.cs-note b { color: var(--cs-ink); }
.cs-warn {
    margin-top: 13px;
    font-size: 12.5px;
    line-height: 1.75;
    color: var(--cs-bad);
    background: var(--cs-bad-soft);
    border: 1px solid color-mix(in srgb, var(--cs-bad) 32%, transparent);
    border-radius: var(--cs-radius-sm);
    padding: 10px 12px;
    font-weight: 600;
}
.cs-tagrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cs-tag {
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 5px;
    border: 1px solid var(--cs-line);
    background: var(--cs-panel-2);
    color: var(--cs-ink-2);
}
.cs-tag.is-ok { background: var(--cs-ok-soft); border-color: color-mix(in srgb, var(--cs-ok) 34%, transparent); color: var(--cs-ok); }
.cs-tag.is-warn { background: var(--cs-warn-soft); border-color: color-mix(in srgb, var(--cs-warn) 34%, transparent); color: var(--cs-warn); }
.cs-tag.is-bad { background: var(--cs-bad-soft); border-color: color-mix(in srgb, var(--cs-bad) 34%, transparent); color: var(--cs-bad); }

/* ---------------- AI ---------------- */
.cs-ai {
    margin-top: 16px;
    border: 1px solid var(--cs-line);
    border-radius: var(--cs-radius-sm);
    overflow: hidden;
    background: var(--cs-panel-2);
}
.cs-ai-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    font-family: var(--cs-mono);
    font-size: 10.5px;
    letter-spacing: .14em;
    font-weight: 700;
    color: var(--cs-accent);
    border-bottom: 1px solid var(--cs-line);
    background: var(--cs-accent-soft);
}
.cs-ai-body {
    padding: 12px 13px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--cs-ink-2);
    white-space: pre-wrap;
    word-break: break-word;
}
.cs-ai-body p { margin: 0 0 8px; }
.cs-ai-body p:last-child { margin-bottom: 0; }
.cs-ai-body.empty { color: var(--cs-ink-3); }
.cs-ai-body .cs-loading { display: flex; align-items: center; gap: 7px; color: var(--cs-ink-3); }
.cs-ai-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--cs-accent);
    animation: cs-blink 1s infinite;
}
.cs-ai-dot:nth-child(2) { animation-delay: .18s; }
.cs-ai-dot:nth-child(3) { animation-delay: .36s; }
@keyframes cs-blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.cs-ai-foot {
    display: flex;
    gap: 8px;
    padding: 0 13px 12px;
    flex-wrap: wrap;
}
.cs-ai-note {
    padding: 0 13px 11px;
    font-size: 11px;
    color: var(--cs-ink-3);
    line-height: 1.6;
}

/* toast */
.cs-toast {
    position: fixed;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%) translateY(14px);
    background: #14181a;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid var(--cs-accent, #c9480f);
    opacity: 0;
    pointer-events: none;
    transition: all .25s;
    z-index: 9999;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
}
.cs-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------------- 参考对照表（页面底部附加价值） ---------------- */
.cs-ref {
    margin-top: 16px;
    background: var(--cs-panel);
    border: 1px solid var(--cs-line);
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow);
    padding: 16px 18px 18px;
}
.cs-ref-head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 4px;
}
.cs-ref-head h3 { margin: 0; font-size: 15px; font-weight: 800; }
.cs-ref-head .cs-panel-no { flex: none; }
.cs-ref-desc { font-size: 12px; color: var(--cs-ink-3); line-height: 1.65; margin: 0 0 8px; }
.cs-ref .cs-table-wrap { margin-top: 10px; }

/* 免责声明 */
.cs-disclaim {
    margin: 14px 0 0;
    font-size: 12px;
    line-height: 1.75;
    color: var(--cs-ink-3);
    padding: 10px 12px;
    border-radius: var(--cs-radius-sm);
    background: var(--cs-panel-2);
    border: 1px dashed var(--cs-line);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
    .cs-main { grid-template-columns: 1fr; }
    .cs-hero h2 { font-size: 21px; }
    .cs-hero { padding: 20px 18px; }
    .cs-hero::before { width: 90px; opacity: .35; }
}

@media (max-width: 560px) {
    .cs-fields { grid-template-columns: 1fr; }
    .cs-checks--grid { grid-template-columns: 1fr; }
    .cs-gauge svg { width: 100%; height: auto; max-width: 240px; }
    .cs-gauge-side .val { font-size: 24px; }
    .cs-panel { padding: 15px 13px 17px; }
    .cs-strip-item { padding-right: 14px; margin-right: 14px; }
    .cs-strip-item .v { font-size: 12px; }
    .cs-btn { width: 100%; }
    .cs-table { font-size: 12px; }
    .cs-table th, .cs-table td { padding: 7px 8px; }
}

/* ---------------- 打印 ---------------- */
@media print {
    .cs-hero::before, .cs-hero::after { display: none; }
    .cs-hero { background: #14181a !important; color: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .cs-presets, .cs-btns, .cs-ai, .cs-ai-foot, .cs-ref, .cs-disclaim,
    .detail-tabs, .tab-panel, .related, .back-to-top, .detail-breadcrumb { display: none !important; }
    .cs-main { display: block; }
    .cs-panel { box-shadow: none !important; border-color: #bbb !important; margin-bottom: 12px; page-break-inside: avoid; }
    .cs { --cs-panel: #fff; --cs-panel-2: #f7f7f7; --cs-ink: #000; --cs-ink-2: #333; --cs-line: #ccc; }
    .cs-input, .cs-select { border: 1px solid #bbb; background: #fff !important; }
    .cs-table-wrap { overflow: visible; }
}
