body.hb-open{overflow:hidden!important}
.hb-panel{position:fixed;inset:0;z-index:100000;background:#f5f6f8;color:#24272c;font:14px/1.55 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;overflow:auto;overscroll-behavior:contain;-webkit-text-size-adjust:100%}
.hb-panel *{box-sizing:border-box}
.hb-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:8px 12px;background:#fff;border-bottom:1px solid #eee}
.hb-header h2{font-size:17px;font-weight:600;line-height:1.4;margin:0;text-align:center;flex:1}
.hb-header .hb-button{font-size:14px;width:auto;padding:4px 8px;min-height:36px;margin:0;border:0;background:transparent;color:#61666d}
.hb-content{max-width:600px;margin:0 auto;padding:14px 12px 36px;padding-bottom:max(36px,env(safe-area-inset-bottom))}
.hb-card{background:#fff;border-radius:12px;padding:18px 16px;margin-bottom:12px;box-shadow:0 2px 10px #192b4010}
.hb-card h3{font-size:16px;line-height:1.5;margin:0 0 12px;font-weight:600;overflow-wrap:anywhere}
.hb-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:8px}
.hb-card-head h3{margin:0;flex:1}
.hb-note{font-size:13px;line-height:1.7;color:#777f89;margin:9px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.hb-amount{display:block;font-size:30px;line-height:1.4;font-weight:650;color:#e85d37;margin:8px 0}
.hb-value{font-size:20px;color:#e85d37}
.hb-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #f1f2f4;font-size:14px}
.hb-line strong{font-size:14px;text-align:right;font-weight:500;overflow-wrap:anywhere}
.hb-button{display:block;width:100%;min-height:44px;padding:10px 14px;margin:12px 0 0;border:1px solid #0c9cf5;border-radius:8px;background:#0c9cf5;color:#fff;font:inherit;font-size:14px;line-height:1.5;cursor:pointer;-webkit-appearance:none}
.hb-secondary{background:#fff;color:#168fd4;border-color:#d7eaf7}
.hb-danger{background:#fff;color:#c82f23;border-color:#f3c4c0}
.hb-button:disabled{opacity:.45;cursor:default}
.hb-button:focus-visible,.hb-field input:focus-visible,.hb-field textarea:focus-visible,.hb-field select:focus-visible,.hb-seg-btn:focus-visible,.hb-tab:focus-visible{outline:2px solid #1478bf;outline-offset:3px}
.hb-field{display:block;font-size:14px;margin-top:14px}
.hb-field>span{display:block;margin-bottom:6px;color:#5b626c}
.hb-field input,.hb-field textarea,.hb-field select{width:100%;padding:10px 11px;border:1px solid #dfe3e8;border-radius:7px;background:#fff;color:#24272c;font:inherit;font-size:15px;line-height:1.5}
.hb-field textarea{height:110px;resize:vertical}
.hb-field input[type=file]{font-size:13px}
.hb-field input[readonly]{font-size:13px;background:#f7f8fa}
.hb-check{display:flex;align-items:center;gap:8px;margin:16px 0;font-size:14px;cursor:pointer}
.hb-check input{width:18px;height:18px;accent-color:#0c9cf5;flex-shrink:0}
.hb-check-inline{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#168fd4;cursor:pointer;white-space:nowrap;padding-top:2px}
.hb-check-inline input{width:18px;height:18px;accent-color:#0c9cf5}
.hb-payment{padding:14px;border-radius:8px;background:#f5f9fc;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;margin-top:12px}
.hb-payout-item{padding:10px 0;border-bottom:1px dashed #dce7f2}
.hb-payout-item:last-child{border-bottom:0;padding-bottom:0}
.hb-calc{margin-top:14px;padding:12px;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0;font-size:13px;line-height:1.7;color:#1e293b;overflow-wrap:anywhere}
.hb-calc-ok{color:#15803d;font-weight:600}
.hb-calc-err{color:#c82f23;font-weight:600}
.hb-banner{padding:12px 14px;border-radius:10px;border:1px solid #cbe6fa;background:#f0f8ff;color:#164e78;margin-bottom:12px;font-size:13px;line-height:1.65}
.hb-banner strong{display:block;font-size:14px;margin-bottom:2px}
.hb-banner-warn{background:#fff7ed;border-color:#fed7aa;color:#9a3412}
.hb-warn-box{padding:10px 12px;border-radius:8px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:13px;line-height:1.6;margin-top:10px}
.hb-badges{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 8px}
.hb-badge{display:inline-flex;align-items:center;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;background:#eef2f6;color:#475569}
.hb-badge-blue{background:#e6f4fe;color:#0c7cd5}
.hb-badge-red{background:#fdecec;color:#c82f23}
.hb-badge-green{background:#eafaf1;color:#15803d}
.hb-badge-amber{background:#fef3c7;color:#b45309}
.hb-seg{display:flex;gap:8px;margin-top:14px}
.hb-seg-btn{flex:1;min-height:38px;padding:7px 10px;border-radius:8px;border:1px solid #dfe3e8;background:#f8fafc;color:#475569;font:inherit;font-size:13px;cursor:pointer}
.hb-seg-btn.active{background:#0c9cf5;border-color:#0c9cf5;color:#fff;font-weight:600}
.hb-row-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.hb-row-actions .hb-button{flex:1 1 120px;margin:0;min-height:38px;padding:7px 10px;font-size:13px}
.hb-substore-item{padding:12px 0;border-bottom:1px solid #f1f2f4}
.hb-substore-item:last-child{border-bottom:0;padding-bottom:0}
.hb-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.hb-tab{padding:6px 12px;border-radius:999px;border:1px solid #d7eaf7;background:#fff;color:#475569;font-size:13px;cursor:pointer}
.hb-tab.active{background:#c82f23;border-color:#c82f23;color:#fff;font-weight:600}
.hb-proof{display:block;max-width:100%;max-height:260px;object-fit:contain;margin:12px auto;border:1px solid #eee;border-radius:6px}
.hb-proof[hidden]{display:none}
.hb-qr{display:block;width:min(100%,250px);height:auto;margin:10px auto;image-rendering:pixelated;-webkit-touch-callout:default}
.hb-pages{display:flex;align-items:center;gap:12px;justify-content:space-between;font-size:13px;padding:8px 0}
.hb-pages .hb-button{width:auto;margin:0;min-width:88px}
.hb-order-amount{display:block;color:#e85d37;font-size:22px;line-height:1.5;margin:6px 0;font-weight:600}
.hb-details{font-size:14px;margin-top:8px}
.hb-details summary{cursor:pointer;color:#168fd4;min-height:32px;padding:4px 0;font-weight:600}
@media(min-width:700px){.hb-content{padding-top:24px}.hb-header{padding-left:max(20px,calc((100vw - 600px)/2));padding-right:max(20px,calc((100vw - 600px)/2))}}

.hb-order-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.hb-order-thumb{width:54px;height:54px;border-radius:8px;object-fit:cover;border:1px solid #e2e8f0;flex-shrink:0;background:#f8fafc}
.hb-upload-mini{display:flex;align-items:center;gap:8px;margin-top:6px}
.hb-upload-mini .hb-button{flex:0 0 auto;width:auto;min-height:32px;padding:4px 10px;font-size:12px;margin:0}
