/* AiJia 爱家 · shared header (all pages) */
.aj-mode{margin:-4px 0 18px}.aj-mode .seg{display:inline-flex;gap:0;border:1px solid #e5d6cd;border-radius:999px;overflow:hidden;background:#fff}
.aj-mode .seg button{border:0;border-radius:0;padding:8px 18px;font-size:14px;background:transparent;cursor:pointer;color:#555}
.aj-mode .seg button.on{background:#d24e1e;color:#fff;font-weight:600}
.r5-filters{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.r5-filters label{display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:#666;flex:1 1 150px;min-width:0}
.r5-filters select{font-size:15px;padding:8px 10px;border:1px solid #dde1e6;border-radius:8px;background:#fff}
.r5-desc{font-size:13px;color:#666;margin:6px 0 0}.r5-sub{font-size:11.5px;color:#8a929c}.r5-good{color:#1a7f4b;font-weight:600}.r5-bad{color:#b4441c}
#rent5 h2{margin-top:0}
.aj-upd{display:inline-flex;align-items:center;gap:8px;margin:-6px 0 18px;padding:6px 12px;border-radius:12px;background:#fdf1ea;color:#8a3a16;font-size:13px;line-height:1.4}
.aj-upd::before{content:"";width:7px;height:7px;border-radius:50%;background:#2fa36b;flex:none}
.aj-upd[hidden]{display:none}
.aj-top{background:#fff;border-bottom:1px solid #ece6e2;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;color:#1f1a17;line-height:1.4}
.aj-in{max-width:1240px;margin:0 auto;padding:0 16px;display:flex;align-items:center;gap:14px;box-sizing:border-box}
.aj-bar{min-height:66px}
.aj-logo{flex:none;display:block}
.aj-logo img{height:36px;width:auto;display:block}
.aj-tag{font-size:13px;color:#4a4440;border-left:1px solid #ece6e2;padding-left:14px;line-height:1.35}
.aj-tag i{display:block;font-style:normal;font-size:11.5px;color:#8a817b}
.aj-buy{margin-left:auto;flex:none;background:#d24e1e;color:#fff!important;border-radius:999px;padding:9px 16px;font-size:13.5px;font-weight:600;text-decoration:none;white-space:nowrap}
.aj-buy:hover{background:#b8421a}
.aj-nav{border-top:1px solid #f3eeeb}
.aj-nav .aj-in{gap:0;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.aj-nav .aj-in::-webkit-scrollbar{display:none}
.aj-nav a{flex:none;display:block;padding:11px 12px 10px;font-size:14px;color:#4a4440;text-decoration:none;border-bottom:2px solid transparent;white-space:nowrap}
.aj-nav a:hover{color:#1f1a17}
.aj-nav a.on{color:#d24e1e;border-bottom-color:#d24e1e;font-weight:600}
.aj-nav .lk{font-size:10.5px;font-weight:600;background:#fdece4;color:#b8421a;border-radius:99px;padding:1px 6px;margin-left:5px;vertical-align:1px}
.aj-nav .sep{flex:none;width:1px;height:18px;background:#e6e0dc;margin:0 6px}
.aj-legal{font-size:12px;color:#8a817b;margin-top:14px;line-height:1.8}
.aj-legal a{color:#6b625c}
.ajp{padding-top:0!important}
.ajp .aj-top{margin:0 -16px 28px}
/* mobile fixes for the analysis pages */
.wrap section{overflow-x:auto}
@media(max-width:820px){.wrap>nav{margin-left:-10px!important;margin-right:-10px!important}}
/* 影响因子图表（预渲染 SVG）在宽屏上不要放得太大 */
.fac svg{max-width:780px}
/* 估价工具 / 条款等旧页面：字体、底色、卡片与分析页统一 */
.ajp{--bg:#f5f6f8;--rule:#e3e6ea;--grid:#eef0f3;--ink:#1b1f24;--ink2:#5b6470;--ink3:#8a929c;
 --display:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
 --body:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
 --mono:ui-monospace,SFMono-Regular,Menlo,monospace;background:#f5f6f8!important}
.ajp h1,.ajp h2,.ajp h3,.ajp .brand{font-family:var(--display)!important;letter-spacing:-.2px}
.ajp h1{font-weight:650!important;font-size:clamp(22px,3.4vw,28px)!important;line-height:1.3!important}
.ajp h2{font-weight:650!important}
.ajp .card{border-radius:12px;border-color:#e3e6ea;box-shadow:0 1px 2px rgba(16,24,40,.05),0 4px 14px rgba(16,24,40,.05)}
.ajt .wrap{max-width:1208px}
h1.pt{font-size:22px;margin:20px 0 4px;font-weight:650;letter-spacing:-.2px}
.mk-tabs{display:flex;gap:4px;margin:18px 0 0;border-bottom:2px solid #eef1f4;overflow-x:auto;scrollbar-width:none}
.mk-tabs::-webkit-scrollbar{display:none}
.mk-tabs a{flex:none;padding:9px 16px;font-size:14.5px;font-weight:600;color:#5b6470;text-decoration:none;border-bottom:3px solid transparent;margin-bottom:-2px;white-space:nowrap}
.mk-tabs a:hover{color:#1b1f24}
.mk-tabs a.on{color:#d24e1e!important;background:none!important;border-bottom-color:#d24e1e}
.mk-tabs+h1.pt{margin-top:14px}
@media(max-width:720px){.aj-tag{display:none}.aj-logo img{height:30px}.aj-buy{padding:8px 12px;font-size:12.5px}.aj-bar{min-height:58px}}
.flt{align-items:flex-end}.flt .fd label{line-height:1.3}.flt .fd select,.flt .ms>button,.flt .fd>.btn,.r5-filters select,.r5-filters .ms>button{-webkit-appearance:none;appearance:none;box-sizing:border-box;height:40px;margin:0;font:inherit;font-size:14px;line-height:38px;padding:0 30px 0 12px;border:1px solid var(--line,#dde1e6);border-radius:8px;background-color:#fff;color:var(--tx,#1b1f24);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:none;width:100%}.flt .fd select,.r5-filters select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238a929c' stroke-width='1.6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;background-size:10px 6px;cursor:pointer}.flt .fd select{min-width:150px}.flt .ms{min-width:150px}.flt .ms>button:after,.r5-filters .ms>button:after{content:'';position:absolute;right:11px;top:50%;width:10px;height:6px;margin-top:-3px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238a929c' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat}.flt .ms>button,.r5-filters .ms>button{display:block;position:relative}.flt .fd>.btn{width:auto;padding:0 18px}.flt .ck{height:40px;padding:0}@media(max-width:640px){.flt .fd select,.flt .ms>button,.flt .fd>.btn,.r5-filters select,.r5-filters .ms>button{font-size:16px;height:44px;line-height:42px}.flt .ck{height:44px}}.aj-asbn{display:block;margin:0 0 14px;padding:11px 14px;border-radius:12px;background:#fff3e8;border:1px solid #f3d5c0;color:#5b3a26;text-decoration:none;font-size:14px}.aj-asbn b{color:#d24e1e}.aj-asbn:hover{border-color:#d24e1e}.aj-fab{position:fixed;right:16px;bottom:16px;z-index:50;display:flex;align-items:center;gap:6px;background:#d24e1e;color:#fff;border-radius:999px;box-shadow:0 6px 18px rgba(0,0,0,.18);font-size:14px;font-weight:600;padding:10px 12px 10px 16px;text-decoration:none}.aj-fab button{border:0;background:rgba(255,255,255,.25);color:#fff;width:22px;height:22px;border-radius:50%;cursor:pointer;font-size:13px;line-height:22px;padding:0}@media(max-width:560px){.aj-fab{font-size:13px;right:10px;bottom:10px;padding:8px 10px 8px 13px}}@media print{.aj-fab{display:none}}.aj-lang{margin-left:auto;flex:none;font-size:13px;font-weight:600;color:#4a4440;text-decoration:none;border:1px solid #e6e0dc;border-radius:999px;padding:6px 12px;white-space:nowrap}
.aj-lang:hover{border-color:#d24e1e;color:#d24e1e}
.aj-lang+.aj-buy{margin-left:10px}
/* ---- phone layout ---- */
@media(max-width:600px){h1.pt{font-size:19px;margin:14px 0 2px;line-height:1.35}.wrap .sub{font-size:12.5px}.aj-nav a{padding:10px 10px 9px;font-size:13.5px}.wrap>nav a{padding:4px 9px;font-size:12px;margin-right:2px}section h2{font-size:16px}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}.k{padding:9px 10px}.k .v{font-size:16px}.k .t,.k .m{font-size:11px}.cw>svg{min-width:560px}table{font-size:12px}th,td{padding:6px 7px}.gate>.panel{order:-1}.dl-item .bt{width:100%}.val form.grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.val input,.val select{font-size:16px;padding:9px 10px}.val .actions{flex-direction:column!important;align-items:stretch!important}.val .actions label{flex:none!important;width:100%}.val .actions button{width:100%}.val label small{font-size:11px}.vtabs a{font-size:12.5px;padding:6px 10px}.pages{grid-template-columns:1fr}}
