*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --g1:#18b955;--g2:#0fa048;--g3:#0d8a3e;
  --glight:#e8f8ef;--gdark:#0a6b30;
  --text:#1a1a1a;--text2:#555;--textm:#aaa;
  --card:#fff;--bg:#f2f7f4;
  --hdr-h:52px;--nav-h:58px;
  --radius:12px;--shadow:0 2px 8px rgba(0,0,0,.08);
}
html,body{height:100%;font-family:'Noto Sans SC',-apple-system,"PingFang SC",sans-serif;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}

/* === header === */
.hdr{position:fixed;top:0;left:0;right:0;height:var(--hdr-h);z-index:100;background:linear-gradient(135deg,var(--g1),var(--g2));display:flex;align-items:center;justify-content:space-between;padding:0 16px;box-shadow:0 2px 8px rgba(15,160,72,.3)}
.hdr-left{display:flex;align-items:center;gap:6px}
.hdr-icon{font-size:22px}
.hdr-title{font-size:18px;font-weight:700;color:#fff}
.hdr-city{font-size:13px;color:rgba(255,255,255,.85);background:rgba(255,255,255,.2);padding:3px 10px;border-radius:20px}

/* === main === */
.page-main{position:fixed;top:var(--hdr-h);bottom:var(--nav-h);left:0;right:0;overflow-y:auto;-webkit-overflow-scrolling:touch}
.page-main::-webkit-scrollbar{display:none}

/* === banner === */
.banner-wrap{position:relative;overflow:hidden}
.banner-track{display:flex;transition:transform .4s cubic-bezier(.4,0,.2,1);will-change:transform}
.banner-slide{flex:0 0 100%;height:175px;display:flex;align-items:center;justify-content:space-between;padding:20px 22px;overflow:hidden}
.slide-a{background:linear-gradient(135deg,#0d8a3e,#18b955)}
.slide-b{background:linear-gradient(135deg,#0a6b30,#0fa048)}
.slide-c{background:linear-gradient(135deg,#117a3d,#1cc962)}
.slide-content{flex:1}
.slide-sub{font-size:13px;color:rgba(255,255,255,.75);margin-bottom:6px;letter-spacing:.04em}
.slide-title{font-size:26px;font-weight:700;color:#fff;line-height:1.35;margin-bottom:8px}
.slide-desc{font-size:13px;color:rgba(255,255,255,.85);background:rgba(255,255,255,.15);display:inline-block;padding:3px 12px;border-radius:20px}
.slide-title{white-space:pre-line}
.slide-deco{font-size:64px;opacity:.2;flex-shrink:0;margin-left:10px;line-height:1}
.slide-media{width:108px;height:108px;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-left:10px}
.hero-image{max-width:108px;max-height:108px;border-radius:12px;object-fit:contain;display:block}
.banner-dots{position:absolute;bottom:10px;left:0;right:0;display:flex;justify-content:center;gap:5px}
.dot{width:6px;height:6px;border-radius:3px;background:rgba(255,255,255,.4);cursor:pointer;transition:all .25s}
.dot.active{width:18px;background:#fff}

/* === 公告区 === */
.notice-section{margin:14px 12px;background:#fff7f6;border:1.5px solid #ffd3cf;border-radius:var(--radius);box-shadow:0 3px 12px rgba(250,44,25,.12);overflow:hidden}
.notice-sec-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 10px;border-bottom:1px solid #ffe1de}
.notice-sec-tag{font-size:17px;font-weight:800;color:#fa2c19;display:flex;align-items:center;gap:5px}
.notice-sec-dots{display:flex;gap:5px;align-items:center}
.ndot{width:7px;height:7px;border-radius:50%;background:#ccc;cursor:pointer;transition:all .25s}
.ndot.active{background:#fa2c19;transform:scale(1.2)}

.notice-slides-wrap{overflow:hidden}
.notice-slides{display:flex;transition:transform .4s cubic-bezier(.4,0,.2,1)}
.notice-slide{flex:0 0 100%;padding:16px;font-size:17px;font-weight:700;color:#fa2c19;line-height:1.85;min-height:82px}

/* === 公司卡 === */
.company-card{margin:0 12px 12px;background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.company-header{display:flex;align-items:center;gap:12px;padding:14px 16px;background:linear-gradient(135deg,var(--g1),var(--g2))}
.company-icon{font-size:30px}
.company-name{font-size:16px;font-weight:700;color:#fff}
.company-sub{font-size:12px;color:rgba(255,255,255,.8);margin-top:2px}
.company-rows{padding:4px 0}
.company-row{display:flex;align-items:center;gap:8px;padding:11px 16px;border-bottom:1px solid #f0f8f3}
.company-row:last-child{border-bottom:none}
.co-icon{font-size:16px;width:22px;text-align:center;flex-shrink:0}
.co-label{font-size:13px;color:var(--textm);width:52px;flex-shrink:0}
.co-val{font-size:15px;color:var(--text);font-weight:500}

/* === 联系人卡片区 === */
.staff-section{margin:0 12px 12px;background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;padding-bottom:14px}
.staff-section-title{padding:13px 16px 0;font-size:15px;font-weight:700;color:var(--g3)}
.staff-track-wrap{overflow:hidden;margin-top:10px}
.staff-track{display:flex;transition:transform .4s cubic-bezier(.4,0,.2,1)}
.staff-card{flex:0 0 100%;padding:0 14px}

/* 员工卡内容 */
.sc-header{display:flex;align-items:center;gap:12px;padding:14px 14px 12px;background:linear-gradient(135deg,#f0faf4,#e0f5ea);border-radius:10px;margin-bottom:12px}
.sc-avatar{width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,var(--g1),var(--g2));display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;color:#fff;flex-shrink:0}
.sc-name-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sc-name{font-size:18px;font-weight:700;color:var(--g3)}
.sc-phone-link{font-size:17px;color:#fff;font-weight:800;text-decoration:none;background:linear-gradient(135deg,var(--g1),var(--g2));border:1px solid #0fa048;border-radius:20px;padding:6px 12px;white-space:nowrap;box-shadow:0 3px 10px rgba(24,185,85,.24)}
.sc-role{font-size:13px;color:var(--textm);margin-top:2px}
.sc-contacts{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}
.sc-contact-row{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#f8f8f8;border-radius:8px;font-size:15px;color:var(--text)}
.sc-contact-icon{font-size:18px;flex-shrink:0}
.sc-contact-val{flex:1;font-weight:500}
.sc-contact-copy{font-size:12px;color:var(--g1);border:1px solid var(--g1);border-radius:12px;padding:2px 8px;cursor:pointer;white-space:nowrap;flex-shrink:0;background:transparent}
.sc-qr-wrap{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px;background:#f0faf4;border-radius:10px}
.sc-qr-img{width:130px;height:130px;border-radius:8px;border:3px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.1)}
.sc-qr-label{font-size:13px;color:var(--textm)}

/* staff dots */
.staff-dots{display:flex;justify-content:center;gap:6px;margin-top:12px}

/* === 查价按钮 === */
.query-btn{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 12px 12px;height:50px;background:linear-gradient(135deg,var(--g1),var(--g2));color:#fff;text-decoration:none;border-radius:25px;font-size:17px;font-weight:700;box-shadow:0 4px 12px rgba(24,185,85,.35);transition:transform .1s}
.query-btn:active{transform:scale(.98)}

/* === 底部导航 === */
.bottom-nav{position:fixed;bottom:0;left:0;right:0;height:var(--nav-h);background:#fff;display:flex;border-top:1px solid #e8f2ec;box-shadow:0 -2px 8px rgba(0,0,0,.06)}
.nav-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:none;background:transparent;cursor:pointer;color:var(--text2);font-family:inherit;text-decoration:none;transition:color .15s}
.nav-item:active{color:var(--g1)}
.nav-icon{font-size:22px;line-height:1}
.nav-icon-gold{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#ffe08a,#f5b400 55%,#d99000);color:#7a3f00;font-size:26px;font-weight:900;line-height:1;box-shadow:0 2px 0 #fff4bf inset,0 3px 10px rgba(245,180,0,.42);text-shadow:0 1px 0 rgba(255,255,255,.45)}
.nav-label{font-size:13px;font-weight:500}
.nav-item-main{background:linear-gradient(135deg,var(--g1),var(--g2));color:#fff;flex:1.4}
.nav-item-main:active{opacity:.9}
.nav-item-main .nav-label{font-size:14px;font-weight:700}

/* === mine sheet === */
.mine-mask{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:300}
.mine-sheet{position:fixed;bottom:0;left:0;right:0;z-index:301;background:#fff;border-radius:20px 20px 0 0;padding:22px 16px 34px;text-align:left;max-height:82vh;overflow-y:auto}
.mine-title{font-size:18px;font-weight:700;margin-bottom:8px}
.mine-tip{font-size:14px;color:var(--text2);margin-bottom:14px;line-height:1.7}
.mine-login-state{margin-bottom:10px;padding:8px 10px;border-radius:8px;background:#f0faf4;color:var(--g3);font-size:13px;font-weight:600}
.mine-query{display:flex;gap:8px;margin-bottom:12px}
.mine-phone-input{flex:1;min-width:0;height:42px;border:1.5px solid #e1e8e4;border-radius:21px;padding:0 14px;font-size:15px;font-family:inherit;outline:none;background:#f8fbf9}
.mine-phone-input:focus{border-color:var(--g1);background:#fff}
.mine-query-btn{width:78px;height:42px;border:none;border-radius:21px;background:linear-gradient(135deg,var(--g1),var(--g2));color:#fff;font-size:15px;font-weight:700;font-family:inherit}
.mine-profile-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding:14px;background:linear-gradient(135deg,#f0faf4,#e0f5ea);border-radius:12px}
.mine-profile-label{font-size:13px;color:var(--textm);margin-bottom:3px}
.mine-profile-phone{font-size:20px;font-weight:800;color:var(--g3)}
.mine-logout-btn{width:64px;height:34px;border:1px solid #bfeacc;border-radius:17px;background:#fff;color:var(--g2);font-size:14px;font-family:inherit}
.mine-section{margin-bottom:14px}
.mine-section-title{font-size:15px;font-weight:800;color:var(--text);margin-bottom:8px;padding-left:3px}
.mine-orders{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}
.mine-empty{padding:14px;border-radius:10px;background:#f7faf8;color:var(--textm);text-align:center;font-size:14px}
.mine-order-card{border:1px solid #e6f2eb;border-radius:10px;padding:12px;background:#fbfdfc}
.mine-order-top{display:flex;justify-content:space-between;gap:8px;margin-bottom:7px}
.mine-order-no{font-size:13px;color:var(--textm)}
.mine-order-status{font-size:13px;font-weight:700;color:var(--g2);white-space:nowrap}
.mine-order-model{font-size:15px;font-weight:700;color:var(--text);line-height:1.45;margin-bottom:6px}
.mine-order-meta{font-size:13px;color:var(--text2);line-height:1.8}
.mine-order-price{color:#fa2c19;font-weight:700}

/* === AI 查询型号预留 === */
.ai-mask{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:320}
.ai-sheet{position:fixed;bottom:0;left:0;right:0;z-index:321;background:#fff;border-radius:20px 20px 0 0;padding:22px 16px 34px}
.ai-title{font-size:18px;font-weight:800;color:var(--text);margin-bottom:8px}
.ai-tip{font-size:14px;color:var(--text2);line-height:1.7;margin-bottom:14px}
.ai-warning{margin:0 0 14px;padding:10px 12px;border-radius:10px;background:#fff1f0;color:#fa2c19;font-size:14px;font-weight:800;line-height:1.65}
.ai-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
.ai-upload-card{display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center;min-height:96px;border:1.5px dashed #bfeacc;border-radius:12px;background:#f0faf4;color:var(--g3);font-size:15px;font-weight:700;text-align:center}
.ai-upload-card.selected{border-style:solid;background:#e7f8ee}
.ai-upload-title{font-size:16px;font-weight:800}
.ai-upload-sub{font-size:12px;color:#64748b;font-weight:600}
.ai-upload-card.selected .ai-upload-sub{color:var(--g2)}
.ai-upload-card input{display:none}
.ai-submit-btn{width:100%;height:46px;border:none;border-radius:23px;background:linear-gradient(135deg,var(--g1),var(--g2));color:#fff;font-size:16px;font-weight:800;font-family:inherit}
.ai-close-btn{width:100%;height:40px;margin-top:10px;border:1px solid #dce8e1;border-radius:20px;background:#fff;color:var(--textm);font-size:15px;font-family:inherit}
.ai-msg{min-height:20px;margin-top:10px;text-align:center;font-size:14px;color:#fa2c19}
.ai-result{margin-top:10px;padding:12px;border-radius:12px;background:#f8fafc;border:1px solid #e2e8f0;color:#1f2937;font-size:14px;line-height:1.8;white-space:pre-wrap;max-height:220px;overflow:auto}
.hidden{display:none!important}
