/* 酷联云进销存 · 移动端 H5（macOS 风格） */
:root{
    --blue:#0a84ff;
    --blue-2:#4aa8ff;
    --green:#30d158;
    --red:#ff453a;
    --orange:#ff9f0a;
    --text:#16181d;
    --text-2:rgba(22,24,29,.55);
    --text-3:rgba(22,24,29,.38);
    --line:rgba(60,60,67,.10);
    --card:rgba(255,255,255,.78);
    --radius:18px;
    --tabbar-h:60px;
    --safe-b:env(safe-area-inset-bottom,0px);
}
*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent;}
html,body{height:100%;}
body{
    font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Helvetica Neue",Arial,sans-serif;
    font-size:14px;color:var(--text);
    background:
        radial-gradient(680px 480px at 12% 2%, #bcd8ff 0%, rgba(188,216,255,0) 64%),
        radial-gradient(620px 440px at 96% 6%, #eecbff 0%, rgba(238,203,255,0) 60%),
        radial-gradient(700px 520px at 86% 96%, #b9f1db 0%, rgba(185,241,219,0) 62%),
        radial-gradient(560px 460px at 6% 92%, #ffddc2 0%, rgba(255,221,194,0) 60%),
        linear-gradient(170deg,#f6f9ff,#eff3fc 55%,#f7f4fc);
    background-attachment:fixed;
    overflow-x:hidden;
}
button,input,select,textarea{font-family:inherit;font-size:inherit;color:inherit;outline:none;border:none;background:none;}
button{cursor:pointer;}

/* =============== 登录 =============== */
.h5-login{
    min-height:100%;display:flex;flex-direction:column;justify-content:center;
    padding:0 20px calc(20px + var(--safe-b));
}
.h5-login-brand{display:flex;align-items:center;gap:11px;margin-bottom:26px;padding-left:4px;}
.h5-logo{
    width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;
    background:linear-gradient(160deg,#4aa8ff,#0a84ff);color:#fff;font-size:19px;font-weight:700;
    box-shadow:0 12px 24px -14px rgba(10,132,255,.95);
}
.h5-login-brand b{display:block;font-size:16px;font-weight:600;letter-spacing:.2px;}
.h5-login-brand span{display:block;font-size:11.5px;color:var(--text-2);margin-top:2px;}
.h5-login-card{
    padding:22px 20px;border-radius:22px;
    background:linear-gradient(180deg,rgba(255,255,255,.85),rgba(255,255,255,.62));
    -webkit-backdrop-filter:blur(34px) saturate(180%);backdrop-filter:blur(34px) saturate(180%);
    border:1px solid rgba(255,255,255,.9);
    box-shadow:0 1px 2px rgba(16,24,40,.05),0 26px 50px -32px rgba(16,24,40,.5);
}
.h5-login-card h2{font-size:19px;font-weight:600;letter-spacing:-.2px;}
.h5-login-card p{font-size:12.5px;color:var(--text-2);margin-top:6px;}
.h5-field{margin-top:14px;}
.h5-field label{display:block;font-size:11.5px;color:var(--text-3);margin-bottom:6px;padding-left:2px;}
.h5-field input{
    width:100%;height:46px;border-radius:13px;padding:0 14px;font-size:15px;
    background:rgba(255,255,255,.92);border:1px solid rgba(60,60,67,.12);
    transition:all .18s ease;
}
.h5-field input:focus{border-color:rgba(10,132,255,.6);box-shadow:0 0 0 4px rgba(10,132,255,.13);background:#fff;}
.h5-btn-primary{
    width:100%;height:48px;border-radius:13px;margin-top:20px;
    background:linear-gradient(180deg,#4aa8ff,#0a84ff);color:#fff;font-size:15px;font-weight:600;
    box-shadow:0 14px 26px -16px rgba(10,132,255,1);
    transition:transform .15s ease;
}
.h5-btn-primary:active{transform:scale(.98);}
.h5-login-tip{margin-top:16px;font-size:11px;color:var(--text-3);text-align:center;}

/* =============== 应用壳 =============== */
.h5-app{display:none;min-height:100%;flex-direction:column;}
.h5-app.on{display:flex;}
.h5-header{
    position:sticky;top:0;z-index:50;
    padding:calc(10px + env(safe-area-inset-top,0px)) 18px 10px;
    display:flex;align-items:center;gap:10px;
    background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(255,255,255,.55));
    -webkit-backdrop-filter:blur(30px) saturate(180%);backdrop-filter:blur(30px) saturate(180%);
    border-bottom:1px solid rgba(255,255,255,.7);
}
.h5-header .h5-h-title{flex:1;min-width:0;}
.h5-header .h5-h-title b{display:block;font-size:17px;font-weight:600;letter-spacing:-.2px;}
.h5-header .h5-h-title span{display:block;font-size:11.5px;color:var(--text-3);margin-top:1px;}
.h5-avatar{
    width:34px;height:34px;border-radius:11px;flex:none;
    background:linear-gradient(160deg,#8bd0ff,#0a84ff);color:#fff;
    display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;
}
.h5-main{
    flex:1;padding:14px 14px calc(var(--tabbar-h) + var(--safe-b) + 18px);
}
.h5-page{display:none;animation:h5fade .22s ease;}
.h5-page.on{display:block;}
@keyframes h5fade{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:none;}}

/* 卡片 */
.h5-card{
    background:var(--card);border:1px solid rgba(255,255,255,.8);border-radius:var(--radius);
    -webkit-backdrop-filter:blur(24px) saturate(180%);backdrop-filter:blur(24px) saturate(180%);
    box-shadow:0 1px 2px rgba(16,24,40,.04),0 16px 34px -28px rgba(16,24,40,.42);
    padding:16px;margin-bottom:12px;
}
.h5-card-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;}
.h5-card-title b{font-size:14px;font-weight:600;}
.h5-card-title a{font-size:12px;color:var(--blue);text-decoration:none;}

/* 首页英雄卡 */
.h5-hero{
    border-radius:22px;padding:18px;margin-bottom:12px;position:relative;overflow:hidden;
    background:linear-gradient(150deg,rgba(74,168,255,.95),rgba(10,132,255,.95) 58%,rgba(94,92,230,.95));
    color:#fff;box-shadow:0 20px 40px -26px rgba(10,132,255,.95);
}
.h5-hero::after{
    content:"";position:absolute;width:180px;height:180px;border-radius:50%;
    right:-60px;top:-70px;background:rgba(255,255,255,.16);
}
.h5-hero span{font-size:11.5px;opacity:.82;letter-spacing:.4px;}
.h5-hero b{display:block;font-size:30px;font-weight:600;letter-spacing:-.6px;margin:6px 0 2px;font-variant-numeric:tabular-nums;}
.h5-hero em{font-style:normal;font-size:11.5px;opacity:.8;}
.h5-hero .h5-hero-row{display:flex;gap:18px;margin-top:14px;position:relative;z-index:1;}
.h5-hero .h5-hero-row div{flex:1;}
.h5-hero .h5-hero-row div i{display:block;font-style:normal;font-size:10.5px;opacity:.75;}
.h5-hero .h5-hero-row div u{display:block;font-size:16px;font-weight:600;text-decoration:none;margin-top:2px;}

/* 数据格 */
.h5-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px;}
.h5-stat{
    background:var(--card);border:1px solid rgba(255,255,255,.8);border-radius:16px;
    -webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);
    padding:13px 14px;box-shadow:0 1px 2px rgba(16,24,40,.04);
}
.h5-stat i{font-style:normal;display:flex;align-items:center;gap:6px;font-size:11.5px;color:var(--text-3);}
.h5-stat i .dot{width:6px;height:6px;border-radius:50%;background:var(--blue);}
.h5-stat b{display:block;font-size:19px;font-weight:600;margin-top:7px;letter-spacing:-.3px;font-variant-numeric:tabular-nums;}

/* 快捷入口 */
.h5-entries{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;}
.h5-entry{
    display:flex;flex-direction:column;align-items:center;gap:7px;
    padding:12px 4px;border-radius:15px;background:rgba(255,255,255,.86);
    border:1px solid rgba(255,255,255,.85);text-decoration:none;color:var(--text);
    box-shadow:0 1px 2px rgba(16,24,40,.04);
    transition:transform .14s ease;
}
.h5-entry:active{transform:scale(.96);}
.h5-entry .ic{
    width:38px;height:38px;border-radius:11px;display:flex;align-items:center;justify-content:center;
    box-shadow:0 8px 16px -12px rgba(16,24,40,.7);
}
.h5-entry .ic svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:1.7;stroke-linecap:round;}
.h5-entry span{font-size:11.5px;color:var(--text-2);}

/* 列表 */
.h5-list{display:flex;flex-direction:column;gap:9px;}
.h5-row{
    display:flex;align-items:center;gap:11px;padding:12px 13px;border-radius:14px;
    background:rgba(255,255,255,.86);border:1px solid rgba(255,255,255,.85);
    box-shadow:0 1px 2px rgba(16,24,40,.03);
}
.h5-row .ic{width:36px;height:36px;border-radius:10px;flex:none;display:flex;align-items:center;justify-content:center;}
.h5-row .ic svg{width:19px;height:19px;fill:none;stroke:#fff;stroke-width:1.7;stroke-linecap:round;}
.h5-row .info{flex:1;min-width:0;}
.h5-row .info b{display:block;font-size:13.5px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.h5-row .info span{display:block;font-size:11px;color:var(--text-3);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.h5-row .val{flex:none;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;}
.h5-row .val small{display:block;font-size:10.5px;font-weight:400;color:var(--text-3);}
.h5-row.tap{cursor:pointer;}
.h5-row.tap:active{background:#fff;}

/* 空态 */
.h5-empty{padding:34px 0;text-align:center;color:var(--text-3);font-size:12.5px;}
.h5-empty svg{width:46px;height:46px;stroke:rgba(22,24,29,.2);fill:none;stroke-width:1.5;display:block;margin:0 auto 10px;}

/* 开单页 */
.h5-bill-head{display:flex;flex-direction:column;gap:9px;}
.h5-pick{
    display:flex;align-items:center;gap:10px;padding:13px 14px;border-radius:14px;
    background:rgba(255,255,255,.9);border:1px solid rgba(60,60,67,.09);
    box-shadow:0 1px 2px rgba(16,24,40,.03);
}
.h5-pick i{font-style:normal;font-size:11.5px;color:var(--text-3);width:52px;flex:none;}
.h5-pick .v{flex:1;min-width:0;font-size:13.5px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.h5-pick .v.placeholder{color:var(--text-3);}
.h5-pick .chev{width:8px;height:8px;border-right:1.6px solid rgba(60,60,67,.3);border-bottom:1.6px solid rgba(60,60,67,.3);transform:rotate(-45deg);flex:none;}
.h5-pick .chev.up{transform:rotate(135deg);}

.h5-items{display:flex;flex-direction:column;gap:9px;}
.h5-item{
    padding:12px 13px;border-radius:14px;background:rgba(255,255,255,.9);
    border:1px solid rgba(60,60,67,.08);
}
.h5-item .top{display:flex;align-items:flex-start;gap:8px;}
.h5-item .top b{flex:1;min-width:0;font-size:13px;font-weight:500;line-height:1.4;}
.h5-item .top .del{
    width:24px;height:24px;border-radius:7px;flex:none;background:rgba(255,69,58,.1);
    display:flex;align-items:center;justify-content:center;
}
.h5-item .top .del svg{width:13px;height:13px;stroke:var(--red);fill:none;stroke-width:1.8;}
.h5-item .meta{display:flex;align-items:center;gap:10px;margin-top:9px;}
.h5-item .meta .price{flex:1;font-size:11.5px;color:var(--text-3);}
.h5-item .meta .price input{
    width:64px;height:28px;border-radius:8px;border:1px solid rgba(60,60,67,.12);
    background:#fff;text-align:center;font-size:12.5px;margin-left:4px;
}
.h5-step{display:flex;align-items:center;gap:0;border-radius:9px;overflow:hidden;border:1px solid rgba(60,60,67,.12);background:#fff;}
.h5-step button{width:30px;height:28px;font-size:15px;color:var(--blue);background:rgba(10,132,255,.06);}
.h5-step input{width:42px;height:28px;text-align:center;font-size:12.5px;border:none;background:#fff;}
.h5-item .sum{margin-top:8px;text-align:right;font-size:12px;color:var(--text-2);}
.h5-item .sum b{font-size:14px;color:var(--blue);font-weight:600;}

.h5-totals{margin-top:14px;padding-top:12px;border-top:1px dashed rgba(60,60,67,.14);}
.h5-totals .line{display:flex;align-items:center;justify-content:space-between;font-size:12.5px;color:var(--text-2);padding:5px 0;}
.h5-totals .line b{font-size:15px;color:var(--text);font-weight:600;font-variant-numeric:tabular-nums;}
.h5-totals .line input{
    width:110px;height:32px;border-radius:9px;border:1px solid rgba(60,60,67,.12);
    background:#fff;text-align:right;padding:0 10px;font-size:13.5px;
}

.h5-add-item{
    width:100%;height:42px;border-radius:12px;margin-top:10px;
    border:1px dashed rgba(10,132,255,.4);color:var(--blue);font-size:13px;font-weight:500;
    background:rgba(10,132,255,.06);
}
.h5-submit{
    position:sticky;bottom:calc(var(--tabbar-h) + var(--safe-b) + 8px);z-index:20;
    margin-top:14px;
}
.h5-submit button{
    width:100%;height:48px;border-radius:14px;
    background:linear-gradient(180deg,#4aa8ff,#0a84ff);color:#fff;font-size:15px;font-weight:600;
    box-shadow:0 16px 30px -18px rgba(10,132,255,1);
}
.h5-submit button:disabled{opacity:.55;}

/* 搜索框 */
.h5-search{
    display:flex;align-items:center;gap:7px;height:38px;padding:0 12px;border-radius:11px;
    background:rgba(255,255,255,.9);border:1px solid rgba(60,60,67,.1);margin-bottom:10px;
}
.h5-search svg{width:14px;height:14px;stroke:rgba(22,24,29,.3);fill:none;stroke-width:1.8;}
.h5-search input{flex:1;font-size:13px;}

/* 底部导航 */
.h5-tabbar{
    position:fixed;left:0;right:0;bottom:0;z-index:60;
    height:calc(var(--tabbar-h) + var(--safe-b));
    padding-bottom:var(--safe-b);
    display:flex;align-items:center;
    background:rgba(255,255,255,.86);
    -webkit-backdrop-filter:blur(28px) saturate(180%);backdrop-filter:blur(28px) saturate(180%);
    border-top:1px solid rgba(255,255,255,.8);
    box-shadow:0 -10px 30px -24px rgba(16,24,40,.5);
}
.h5-tab{
    flex:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
    color:var(--text-3);font-size:10.5px;
    transition:color .16s ease;
}
.h5-tab svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;}
.h5-tab.on{color:var(--blue);font-weight:600;}

/* 底部弹层 */
.h5-mask{
    position:fixed;inset:0;z-index:100;background:rgba(16,24,40,.32);
    -webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);
    display:none;align-items:flex-end;
}
.h5-mask.on{display:flex;}
.h5-sheet{
    width:100%;max-height:82vh;display:flex;flex-direction:column;
    border-radius:20px 20px 0 0;
    background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,255,255,.92));
    -webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px);
    padding:8px 16px calc(14px + var(--safe-b));
    transform:translateY(100%);transition:transform .26s cubic-bezier(.32,.72,0,1);
}
.h5-mask.on .h5-sheet{transform:none;}
.h5-sheet .bar{width:38px;height:4px;border-radius:4px;background:rgba(60,60,67,.2);margin:4px auto 10px;}
.h5-sheet .head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;}
.h5-sheet .head b{font-size:15px;font-weight:600;}
.h5-sheet .head button{font-size:13px;color:var(--blue);}
.h5-sheet .body{flex:1;overflow:auto;-webkit-overflow-scrolling:touch;}
.h5-sheet .opt{
    display:flex;align-items:center;gap:10px;padding:13px 4px;border-bottom:1px solid var(--line);
}
.h5-sheet .opt:last-child{border-bottom:none;}
.h5-sheet .opt b{flex:1;min-width:0;font-size:13.5px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.h5-sheet .opt span{font-size:11.5px;color:var(--text-3);flex:none;}
.h5-sheet .opt.on b{color:var(--blue);}
.h5-sheet .frm{padding:2px 0 6px;}
.h5-sheet .frm .h5-field{margin-top:12px;}

/* toast */
.h5-toast{
    position:fixed;left:50%;top:50%;transform:translate(-50%,-50%) scale(.96);z-index:200;
    padding:11px 18px;border-radius:13px;max-width:76vw;text-align:center;
    background:rgba(28,28,32,.88);color:#fff;font-size:13px;line-height:1.5;
    opacity:0;pointer-events:none;transition:all .2s ease;
    -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
}
.h5-toast.on{opacity:1;transform:translate(-50%,-50%) scale(1);}
.h5-toast.err{background:rgba(255,69,58,.92);}
.h5-toast.ok{background:rgba(30,150,80,.92);}

/* 云盘（移动端） */
.h5-cloud-tools{display:flex;gap:9px;margin-bottom:12px;}
.h5-cloud-tools button{
    flex:1;height:42px;border-radius:12px;font-size:13px;font-weight:500;
    background:rgba(255,255,255,.9);border:1px solid rgba(60,60,67,.1);
    display:flex;align-items:center;justify-content:center;gap:6px;
}
.h5-cloud-tools button.primary{background:linear-gradient(180deg,#4aa8ff,#0a84ff);color:#fff;border-color:transparent;box-shadow:0 12px 22px -16px rgba(10,132,255,1);}
.h5-cloud-tools button svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8;}
.h5-cloud-usage{font-size:11px;color:var(--text-3);margin-bottom:10px;text-align:right;}

.h5-crumb{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--text-3);margin-bottom:10px;overflow:auto;white-space:nowrap;}
.h5-crumb a{color:var(--blue);text-decoration:none;}

/* 我的 */
.h5-me-head{display:flex;align-items:center;gap:13px;padding:18px;border-radius:20px;margin-bottom:12px;
    background:linear-gradient(150deg,rgba(255,255,255,.92),rgba(255,255,255,.7));
    border:1px solid rgba(255,255,255,.9);box-shadow:0 1px 2px rgba(16,24,40,.04);}
.h5-me-head .av{width:52px;height:52px;border-radius:15px;background:linear-gradient(160deg,#8bd0ff,#0a84ff);
    color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:600;}
.h5-me-head b{display:block;font-size:16px;font-weight:600;}
.h5-me-head span{display:block;font-size:11.5px;color:var(--text-3);margin-top:2px;}
.h5-menu{background:rgba(255,255,255,.86);border-radius:16px;border:1px solid rgba(255,255,255,.85);overflow:hidden;}
.h5-menu a{display:flex;align-items:center;gap:11px;padding:14px 15px;text-decoration:none;color:var(--text);border-bottom:1px solid var(--line);}
.h5-menu a:last-child{border-bottom:none;}
.h5-menu a .ic{width:30px;height:30px;border-radius:9px;display:flex;align-items:center;justify-content:center;}
.h5-menu a .ic svg{width:16px;height:16px;fill:none;stroke:#fff;stroke-width:1.8;}
.h5-menu a b{flex:1;font-size:13.5px;font-weight:500;}
.h5-menu a .chev{width:7px;height:7px;border-right:1.5px solid rgba(60,60,67,.3);border-bottom:1.5px solid rgba(60,60,67,.3);transform:rotate(-45deg);}

@media screen and (min-width:520px){
    body{max-width:480px;margin:0 auto;box-shadow:0 0 60px rgba(16,24,40,.12);}
    .h5-tabbar{max-width:480px;left:50%;transform:translateX(-50%);}
}

/* ============================================================
   第二轮：登录 LOGO / 顶部入口 / 快捷功能 / 库存筛选 / 悬浮导航
   ============================================================ */

/* 1) 登录 LOGO：修掉被 .h5-login-brand span 覆盖字号导致的 K 裁切 */
.h5-login-brand .h5-logo{
    display:flex!important;align-items:center;justify-content:center;
    width:44px!important;height:44px!important;flex:none;
    font-size:20px!important;font-weight:700!important;line-height:1!important;
    letter-spacing:0!important;color:#fff!important;
    overflow:hidden;text-align:center;
}
.h5-login-brand .h5-logo::after{content:none;}

/* 2) 顶部两个入口（豆包AI / 云盘） */
.h5-h-acts{display:flex;align-items:center;gap:8px;flex:none;}
.h5-h-act{
    display:flex;align-items:center;gap:5px;height:32px;padding:0 11px;border-radius:999px;
    font-size:11.5px;font-weight:500;text-decoration:none;color:#0a84ff;
    background:rgba(10,132,255,.09);
    border:1px solid rgba(10,132,255,.16);
    transition:all .16s ease;
}
.h5-h-act svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;}
.h5-h-act:active{transform:scale(.96);}
.h5-h-act.ai{color:#5e5ce6;background:rgba(94,92,230,.09);border-color:rgba(94,92,230,.18);}
.h5-h-act.ai svg{stroke-width:1.5;}

/* 3) 库存筛选条 */
.h5-filters{display:flex;align-items:center;gap:8px;margin-bottom:10px;}
.h5-filter{
    flex:1;min-width:0;display:flex;align-items:center;gap:6px;
    height:36px;padding:0 10px;border-radius:11px;
    background:rgba(255,255,255,.9);border:1px solid rgba(60,60,67,.1);
}
.h5-filter i{font-style:normal;font-size:11px;color:var(--text-3);flex:none;}
.h5-filter b{flex:1;min-width:0;font-size:12.5px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.h5-filter b.ph{color:var(--text-3);font-weight:400;}
.h5-filter .chev{width:7px;height:7px;flex:none;border-right:1.5px solid rgba(60,60,67,.32);border-bottom:1.5px solid rgba(60,60,67,.32);transform:rotate(-45deg);}
.h5-filter.on{border-color:rgba(10,132,255,.45);background:#fff;}
.h5-filter.on b{color:var(--blue);}
.h5-filter-go{
    flex:none;height:36px;padding:0 14px;border-radius:11px;font-size:12.5px;font-weight:600;color:#fff;
    background:linear-gradient(180deg,#4aa8ff,#0a84ff);
    box-shadow:0 10px 18px -14px rgba(10,132,255,1);
}
.h5-filter-go:active{transform:scale(.97);}

/* 4) 悬浮磨砂导航栏 */
.h5-tabbar{
    position:fixed;left:50%;transform:translateX(-50%);
    bottom:calc(10px + var(--safe-b));
    width:calc(100% - 26px);max-width:454px;
    height:60px;padding:0 6px;
    display:flex;align-items:center;gap:2px;
    border-radius:22px;
    background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(255,255,255,.52));
    -webkit-backdrop-filter:blur(30px) saturate(190%);backdrop-filter:blur(30px) saturate(190%);
    border:1px solid rgba(255,255,255,.85);
    box-shadow:0 12px 34px -18px rgba(16,24,40,.55),0 2px 6px rgba(16,24,40,.06);
}
.h5-tab{
    flex:1;height:46px;border-radius:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
    color:rgba(22,24,29,.45);font-size:10px;font-weight:500;
    transition:all .18s ease;
}
.h5-tab svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
.h5-tab.on{
    color:#0a84ff;font-weight:600;
    background:rgba(10,132,255,.12);
    box-shadow:inset 0 0 0 1px rgba(10,132,255,.16);
}
.h5-main{padding-bottom:calc(86px + var(--safe-b));}
.h5-submit{bottom:calc(84px + var(--safe-b));}
@media screen and (min-width:520px){
    .h5-tabbar{max-width:454px;left:50%;transform:translateX(-50%);}
}

/* 5) 详情弹层里的信息行 */
.h5-detail{padding:4px 2px 10px;}
.h5-detail .d-head{display:flex;align-items:center;gap:11px;padding:6px 2px 14px;border-bottom:1px solid var(--line);}
.h5-detail .d-head .ic{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex:none;}
.h5-detail .d-head .ic svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:1.7;stroke-linecap:round;}
.h5-detail .d-head b{display:block;font-size:14.5px;font-weight:600;line-height:1.35;}
.h5-detail .d-head span{display:block;font-size:11.5px;color:var(--text-3);margin-top:2px;}
.h5-detail .d-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 2px;border-bottom:1px solid var(--line);font-size:13px;}
.h5-detail .d-row:last-child{border-bottom:none;}
.h5-detail .d-row i{font-style:normal;color:var(--text-3);font-size:12px;flex:none;}
.h5-detail .d-row b{font-weight:500;text-align:right;word-break:break-all;}
.h5-detail .d-row b.big{font-size:19px;font-weight:600;color:var(--blue);font-variant-numeric:tabular-nums;}
.h5-detail .d-row b.warn{color:#ff453a;}
.h5-detail .d-acts{display:flex;gap:9px;margin-top:14px;}
.h5-detail .d-acts a{
    flex:1;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;
    font-size:13px;font-weight:500;text-decoration:none;
    background:rgba(10,132,255,.1);color:#0a84ff;border:1px solid rgba(10,132,255,.18);
}

/* 筛选按钮上的已激活小圆点 */
.h5-filter-go{position:relative;}
.h5-filter-go .fdot{
    position:absolute;top:6px;right:8px;width:7px;height:7px;border-radius:50%;
    background:#fff;box-shadow:0 0 0 2px rgba(255,255,255,.45);
}

/* 筛选面板 */
.h5-fsheet{padding:2px 0 4px;}
.h5-fsheet .f-item{border-bottom:1px solid var(--line);}
.h5-fsheet .f-item:last-of-type{border-bottom:none;}
.h5-fsheet .f-row{display:flex;align-items:center;gap:10px;padding:13px 2px;}
.h5-fsheet .f-row i{font-style:normal;font-size:12px;color:var(--text-3);width:66px;flex:none;}
.h5-fsheet .f-row b{flex:1;min-width:0;font-size:13.5px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.h5-fsheet .f-row b.ph{color:var(--text-3);font-weight:400;}
.h5-fsheet .f-row .chev{width:7px;height:7px;border-right:1.5px solid rgba(60,60,67,.32);border-bottom:1.5px solid rgba(60,60,67,.32);transform:rotate(-45deg);flex:none;}
.h5-fsheet .f-opts{display:none;flex-wrap:wrap;gap:7px;padding:0 2px 12px;}
.h5-fsheet .f-opts.on{display:flex;}
.h5-fsheet .f-chip{
    padding:6px 12px;border-radius:999px;font-size:12px;
    background:rgba(10,132,255,.08);color:#0a84ff;border:1px solid rgba(10,132,255,.14);
}
.h5-fsheet .f-chip.on{background:linear-gradient(180deg,#4aa8ff,#0a84ff);color:#fff;border-color:transparent;}
.h5-fsheet .f-input{
    width:100%;height:38px;border-radius:11px;padding:0 12px;font-size:13px;
    background:#fff;border:1px solid rgba(60,60,67,.12);margin:0 2px 12px;width:calc(100% - 4px);
}
.h5-fsheet .f-acts{display:flex;gap:10px;margin-top:8px;}
.h5-fsheet .f-acts button{flex:1;height:44px;border-radius:13px;font-size:14px;font-weight:500;}
.h5-fsheet .f-acts .reset{background:rgba(120,120,128,.12);color:var(--text-2);}
.h5-fsheet .f-acts .apply{background:linear-gradient(180deg,#4aa8ff,#0a84ff);color:#fff;font-weight:600;box-shadow:0 12px 22px -16px rgba(10,132,255,1);}

/* AI 开单面板 */
.h5-ai textarea{
    width:100%;min-height:96px;border-radius:14px;padding:12px 13px;font-size:13.5px;line-height:1.6;
    background:#fff;border:1px solid rgba(60,60,67,.12);resize:none;
}
.h5-ai .tip{font-size:11.5px;color:var(--text-3);margin:8px 2px 12px;line-height:1.6;}
.h5-ai .go{width:100%;height:46px;border-radius:13px;background:linear-gradient(180deg,#4aa8ff,#0a84ff);color:#fff;font-size:15px;font-weight:600;}
.h5-ai .out{font-size:12.5px;color:var(--text-2);margin-top:10px;line-height:1.6;}
