/* ====== 空调不制冷自查工具 · anc- 前缀 ====== */
.anc-page { --anc-bg:#0a1020; --anc-bg-2:#0f1a35; --anc-accent:#38bdf8; --anc-accent-2:#06b6d4; --anc-bad:#ef4444; --anc-warn:#f97316; --anc-ok:#22c55e; --anc-text:#e2e8f0; --anc-muted:#94a3b8; --anc-card:#142246; --anc-border:#1c3060; padding:28px 0 40px; color:var(--anc-text); }

/* Hero 空调 SVG */
.anc-hero { position:relative; display:grid; grid-template-columns:240px 1fr 240px; gap:24px; align-items:center; padding:32px; background:linear-gradient(135deg, var(--anc-bg) 0%, var(--anc-bg-2) 100%); border-radius:20px; border:1px solid var(--anc-border); overflow:hidden; margin-bottom:20px; }
.anc-ac { height:120px; display:flex; align-items:center; }
.anc-ac-svg { width:100%; height:100%; filter:drop-shadow(0 4px 16px rgba(56,189,248,.25)); }
.anc-ac-body { fill:#1e3a8a; stroke:#3b82f6; stroke-width:2; }
.anc-ac-slot { fill:#60a5fa; }
.anc-ac-label { x:140; y:130; text-anchor:middle; fill:var(--anc-accent); font-size:12px; font-weight:700; }
.anc-kicker { display:inline-block; padding:4px 12px; background:rgba(56,189,248,.15); color:var(--anc-accent); border-radius:999px; font-size:12px; font-weight:600; letter-spacing:1px; margin-bottom:12px; }
.anc-hero h1 { font-size:28px; font-weight:800; margin:0 0 10px; }
.anc-hero-sub { color:var(--anc-muted); margin:0 0 14px; line-height:1.6; }
.anc-hero-sub b { color:var(--anc-accent); }
.anc-hero-chips { display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin:0; }
.anc-hero-chips li { padding:4px 10px; background:rgba(255,255,255,.06); border-radius:999px; font-size:12px; color:var(--anc-muted); }
.anc-hero-readout { background:linear-gradient(135deg, var(--anc-accent), var(--anc-accent-2)); color:#fff; padding:20px; border-radius:16px; text-align:center; box-shadow:0 8px 28px rgba(56,189,248,.3); }
.anc-readout-label { font-size:12px; opacity:.85; }
.anc-readout-num { display:block; font-size:20px; font-weight:900; margin:4px 0; }
.anc-readout-avg { font-size:12px; opacity:.9; }

/* 症状区 */
.anc-symptoms { margin-bottom:20px; }
.anc-section-head { margin-bottom:12px; }
.anc-section-kicker { display:inline-block; font-size:11px; font-weight:700; color:var(--anc-accent); letter-spacing:2px; }
.anc-section-head h2 { font-size:20px; margin:4px 0 0; color:#fff; }
.anc-symptom-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:10px; }
.anc-symptom { background:rgba(255,255,255,.04); border:1px solid var(--anc-border); border-radius:12px; padding:14px 12px; cursor:pointer; display:flex; flex-direction:column; align-items:center; gap:6px; transition:all .2s; position:relative; }
.anc-symptom:hover { border-color:var(--anc-accent); background:rgba(56,189,248,.06); }
.anc-symptom input { position:absolute; opacity:0; }
.anc-symptom:has(input:checked) { border-color:var(--anc-accent); background:rgba(56,189,248,.1); box-shadow:0 0 0 3px rgba(56,189,248,.2); }
.anc-sym-icon { font-size:26px; }
.anc-sym-text { font-size:12px; color:var(--anc-muted); text-align:center; }

/* 计算区 */
.anc-calc { display:grid; grid-template-columns:1.6fr 1fr; gap:24px; }
.anc-input-col { display:flex; flex-direction:column; gap:18px; }
.anc-panel { background:var(--anc-card); border:1px solid var(--anc-border); border-radius:16px; padding:22px; }
.anc-panel-head { display:flex; gap:14px; align-items:center; margin-bottom:16px; }
.anc-step { width:36px; height:36px; border-radius:10px; background:var(--anc-accent); color:#0a1020; font-weight:800; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.anc-panel-head h2 { font-size:17px; margin:0 0 2px; }
.anc-panel-head p { font-size:12px; color:var(--anc-muted); margin:0; }
.anc-grid2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }

/* 表单 */
.anc-field { display:flex; flex-direction:column; gap:4px; position:relative; }
.anc-label { font-size:12px; color:var(--anc-muted); }
.anc-input { width:100%; padding:10px 12px; background:rgba(0,0,0,.25); border:1px solid var(--anc-border); border-radius:10px; color:var(--anc-text); font-size:14px; transition:border-color .2s; appearance:none; }
.anc-input:focus { outline:none; border-color:var(--anc-accent); }
select.anc-input { background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center; padding-right:32px; }

/* 故障列表 */
.anc-fault-list { display:flex; flex-direction:column; gap:8px; }
.anc-fault { display:flex; align-items:center; justify-content:space-between; padding:10px 14px; background:rgba(0,0,0,.2); border:1px solid var(--anc-border); border-radius:10px; cursor:pointer; font-size:13px; transition:all .2s; }
.anc-fault:hover { border-color:var(--anc-accent); }
.anc-fault input { margin-right:10px; }
.anc-fault em { font-style:normal; font-size:11px; color:var(--anc-accent-2); }

/* DIY 步骤 */
.anc-diy-panel { border-color:rgba(34,197,94,.3); }
.anc-diy-steps { margin:0; padding-left:22px; font-size:13px; color:var(--anc-muted); line-height:2; }
.anc-diy-steps b { color:var(--anc-text); }
.anc-diy-note { margin-top:12px; padding:10px 14px; background:rgba(239,68,68,.1); border:1px solid rgba(239,68,68,.3); border-radius:8px; font-size:12px; color:#fca5a5; }

/* 结果列 */
.anc-result-col { position:sticky; top:20px; display:flex; flex-direction:column; gap:14px; align-self:flex-start; }
.anc-result-hero { background:linear-gradient(135deg, #0ea5e9, #38bdf8); color:#fff; padding:22px; border-radius:16px; text-align:center; box-shadow:0 8px 28px rgba(56,189,248,.3); }
.anc-result-hero.bad { background:linear-gradient(135deg, #dc2626, #ef4444); box-shadow:0 8px 28px rgba(239,68,68,.3); }
.anc-result-hero.warn { background:linear-gradient(135deg, #ea580c, #f97316); box-shadow:0 8px 28px rgba(249,115,22,.3); }
.anc-rh-label { font-size:12px; opacity:.9; }
.anc-rh-num { display:block; font-size:24px; font-weight:900; margin:4px 0; line-height:1.2; }
.anc-rh-sub { font-size:12px; opacity:.9; }
.anc-kpis { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.anc-kpi { background:rgba(255,255,255,.04); border:1px solid var(--anc-border); border-radius:10px; padding:10px 12px; }
.anc-kpi span { display:block; font-size:11px; color:var(--anc-muted); }
.anc-kpi b { font-size:14px; color:var(--anc-accent); }
.anc-mini-card { background:rgba(255,255,255,.04); border:1px solid var(--anc-border); border-radius:12px; padding:14px 16px; }
.anc-mini-card h3 { margin:0 0 10px; font-size:14px; }
.anc-price-table { width:100%; border-collapse:collapse; font-size:13px; }
.anc-price-table th { text-align:left; padding:6px 0; color:var(--anc-muted); border-bottom:1px solid var(--anc-border); font-weight:600; font-size:12px; }
.anc-price-table td { padding:6px 0; border-bottom:1px dashed var(--anc-border); }
.anc-price-table td:last-child { color:var(--anc-accent-2); text-align:right; }
.anc-warning-list { margin:0; padding-left:20px; font-size:12px; color:var(--anc-muted); line-height:1.9; }
.anc-warning-list b { color:#fca5a5; }
.anc-check-card ul { margin:0; padding-left:18px; font-size:12px; color:var(--anc-muted); line-height:1.9; }
.anc-check-card ul b { color:var(--anc-text); }

/* FAQ */
.anc-faq { margin-top:28px; }
.faq-list .faq-item { background:var(--anc-card); border:1px solid var(--anc-border); border-radius:10px; margin-bottom:8px; padding:0; overflow:hidden; }
.faq-list summary { padding:14px 16px; cursor:pointer; font-weight:600; font-size:14px; list-style:none; display:flex; justify-content:space-between; align-items:center; color:var(--anc-text); }
.faq-list summary::after { content:'+'; font-size:18px; color:var(--anc-accent); }
.faq-list .faq-item[open] summary::after { content:'−'; }
.faq-list .faq-a { padding:0 16px 14px; font-size:13px; color:var(--anc-muted); line-height:1.7; }

.anc-top { position:fixed; right:20px; bottom:40px; width:44px; height:44px; border-radius:50%; background:var(--anc-accent); color:#0a1020; border:none; font-size:18px; font-weight:700; cursor:pointer; box-shadow:0 4px 16px rgba(0,0,0,.4); opacity:0; pointer-events:none; transition:opacity .3s; z-index:99; }
.anc-top.show { opacity:1; pointer-events:auto; }

@media (prefers-color-scheme: light) {
    .anc-page { --anc-bg:#f8fafc; --anc-bg-2:#eef6ff; --anc-text:#0f172a; --anc-muted:#64748b; --anc-card:#fff; --anc-border:#dbeafe; }
    .anc-input { background:#f1f5f9; color:#0f172a; }
}
[data-theme="light"] .anc-page { --anc-bg:#f8fafc; --anc-bg-2:#eef6ff; --anc-text:#0f172a; --anc-muted:#64748b; --anc-card:#fff; --anc-border:#dbeafe; }

@media (max-width: 900px) {
    .anc-hero { grid-template-columns:1fr; }
    .anc-ac { order:-1; height:90px; }
    .anc-calc { grid-template-columns:1fr; }
    .anc-result-col { position:static; }
    .anc-symptom-grid { grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .anc-grid2 { grid-template-columns:1fr; }
    .anc-symptom-grid { grid-template-columns:1fr; }
}
