/* 二手车估价网 gujia.net.cn - 窄版简洁风格
   移动端优先 (max-width 420px 容器) 风格参照 ykiw.com / zhusu.net.cn
   小而精：窄版居中、简洁卡片、内容一条条 */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;-webkit-font-smoothing:antialiased}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"PingFang SC","Microsoft YaHei",sans-serif;background:#f5f7f9;color:#334155;line-height:1.6;min-height:100vh}
a{color:#0e7490;text-decoration:none}
a:hover{color:#155e75}

/* ===== 顶栏 ===== */
.header{background:#ffffff;border-bottom:3px solid #0f766e}
.header-inner{max-width:420px;margin:0 auto;padding:0 14px;display:flex;align-items:center;height:50px;justify-content:space-between}
.logo{font-size:18px;font-weight:800;color:#0f766e;display:flex;align-items:center;gap:6px;letter-spacing:.5px;white-space:nowrap}
.nav{display:flex;align-items:center;gap:2px}
.nav a{color:#0f766e;padding:5px 8px;border-radius:8px;font-size:13px;font-weight:600;white-space:nowrap}
.nav a.active,.nav a:hover{background:#f0fdfa;color:#115e59}

/* ===== 主容器 ===== */
.wrap{max-width:420px;margin:0 auto;padding:14px}
.wrap-narrow{max-width:420px;margin:0 auto;padding:14px}

/* 页头横幅 */
.page-header{background:linear-gradient(135deg,#0f766e,#0e7490);color:#fff;padding:24px 14px}
.page-header h1{font-size:22px;font-weight:800;margin-bottom:4px;max-width:420px;margin-left:auto;margin-right:auto}
.page-header .breadcrumb{font-size:13px;color:#a7f3d0;max-width:420px;margin-left:auto;margin-right:auto}
.breadcrumb a{color:#a7f3d0}

/* ===== 卡片 ===== */
.card{background:#fff;border-radius:12px;padding:18px;margin-bottom:14px;box-shadow:0 1px 3px rgba(0,0,0,.06);border:1px solid #e8f0ef}
.card h2{font-size:16px;font-weight:700;color:#0f172a;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #eef2f5;display:flex;align-items:center;gap:8px}
.card h2::before{content:'';width:4px;height:16px;background:#0f766e;border-radius:2px}
.card h3{font-size:15px;font-weight:700;color:#0f172a;margin:12px 0 8px}

/* ===== 表单 ===== */
.tool-form label{display:block;font-size:13px;font-weight:600;color:#475569;margin:12px 0 4px}
.tool-form input,.tool-form select{width:100%;padding:9px 12px;border:1.5px solid #d1d5db;border-radius:8px;font-size:14px;margin-top:4px;background:#fff}
.tool-form input:focus,.tool-form select:focus{outline:none;border-color:#0f766e}
.tool-form small{display:block;color:#94a3b8;font-size:12px;margin-top:3px}

/* ===== 按钮 ===== */
.btn{display:inline-block;padding:10px 22px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer}
.btn-primary{background:#0f766e;color:#fff;width:100%;margin-top:16px}
.btn-primary:hover{background:#115e59}
.btn-ghost{background:#f1f5f9;color:#334155}

/* ===== 结果 ===== */
.result-box{background:#f0fdfa;border:1px solid #99f6e4;border-radius:10px;padding:14px;margin-top:12px}
.result-row{display:flex;justify-content:space-between;padding:7px 0;border-bottom:1px dashed #ccfbf1;font-size:14px}
.result-row:last-child{border-bottom:none}
.result-row span{color:#64748b}
.result-row b{color:#0f766e;font-size:15px}
.box{background:#fee2e2;border:1px solid #fecaca;color:#b91c1c;border-radius:8px;padding:12px;font-size:14px}
.box.red{background:#fef2f2;border-left:4px solid #dc2626;border-radius:0 8px 8px 0}
.box.green{background:#f0fdf4;border-left:4px solid #0e9f6e}
.empty{color:#94a3b8;font-size:14px;text-align:center;padding:20px}

/* ===== 价格大头 ===== */
.price-hero{text-align:center;padding:8px 0 4px}
.price-hero .num{font-size:40px;font-weight:900;color:#0f766e}
.price-hero .unit{font-size:16px;color:#64748b}
.price-range{display:flex;justify-content:center;gap:10px;margin-top:10px;flex-wrap:wrap}
.price-range .r{background:#f0fdfa;border:1px solid #99f6e4;border-radius:8px;padding:6px 14px;font-size:13px;color:#0f766e}

/* ===== 列表 ===== */
.list-item{padding:12px 0;border-bottom:1px dashed #eef2f5}
.list-item:last-child{border-bottom:none}
.list-item .t{font-size:15px;font-weight:600;color:#0f172a}
.list-item .s{font-size:12px;color:#94a3b8;margin-top:2px}

/* ===== 工具入口网格 ===== */
.tool-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:14px}
.tool-item{background:#fff;border:1px solid #e8f0ef;border-radius:12px;padding:16px 12px;text-align:center;text-decoration:none}
.tool-item:hover{border-color:#0f766e;box-shadow:0 2px 8px rgba(15,118,110,.08)}
.tool-icon{font-size:26px}
.tool-name{font-size:14px;font-weight:700;color:#0f766e;margin-top:6px}
.tool-desc{font-size:11px;color:#6b7280;margin-top:4px;line-height:1.4}

/* ===== 步骤条 ===== */
.steps{display:flex;gap:8px;flex-wrap:wrap}
.step{flex:1;min-width:130px;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:10px;padding:10px;text-align:center;font-size:12px;color:#64748b;cursor:pointer}
.step.active{border-color:#0f766e;background:#f0fdfa;color:#0f766e;font-weight:700}

/* ===== 页脚 ===== */
.footer{background:#0f172a;color:#94a3b8;margin-top:30px;padding:24px 14px}
.footer .wrap{max-width:420px}
.footer-links{display:flex;gap:14px;flex-wrap:wrap;font-size:13px;margin-bottom:8px}
.footer-links a{color:#94a3b8}
.footer-links a:hover{color:#fff}
.footer-mark{display:flex;gap:14px;font-size:12px;margin-bottom:8px}
.footer-mark a{color:#64748b}
.footer-mark a:hover{color:#fff}
.copyright{font-size:12px;color:#64748b}
.disclaimer{font-size:12px;color:#475569;margin-top:4px}
