/* 20261019-inv2: 私下过账 invoice 上传弹窗 + 卡片按钮。不使用 overflow:hidden；滚动条沿用 VtAlert sb2 灰色细滚动条 */
.vt-invoice-popup{width:min(480px,calc(100vw - 24px))!important;max-width:480px}
.vt-invoice-popup .vt-alert__html{text-align:left;display:block;max-height:min(62vh,560px);overflow-y:auto}
.vt-inv{display:flex;flex-direction:column;gap:12px;font-size:.9rem;color:#334155}
.vt-inv__job{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:12px;background:#f1f5f9;color:#0f172a;font-weight:600;line-height:1.35;word-break:break-word}
.vt-inv__job i{color:#6366f1;flex:0 0 auto}
.vt-inv__hint{margin:0;line-height:1.55;color:#475569}
.vt-inv__hint b{color:#b45309}
.vt-inv__prev{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:12px;background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46}
.vt-inv__prev>i{font-size:1.05rem;margin-top:1px}
.vt-inv__prev-t{font-weight:700;word-break:break-all}
.vt-inv__prev-s{font-size:.78rem;color:#047857;margin-top:2px}
.vt-inv-drop{position:relative;display:block;margin:0;cursor:pointer;border:2px dashed #c7d2fe;border-radius:16px;background:#f8faff;padding:22px 14px;text-align:center;transition:border-color .2s,background .2s}
.vt-inv-drop:hover,.vt-inv-drop:focus-within{border-color:#6366f1;background:#eef2ff}
.vt-inv-drop.has-file{border-style:solid;border-color:#10b981;background:#f0fdf4}
.vt-inv-drop__input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.vt-inv-drop__body{display:flex;flex-direction:column;align-items:center;gap:6px}
.vt-inv-drop__icon{width:52px;height:52px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:1.6rem;color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6);box-shadow:0 6px 16px rgba(99,102,241,.28)}
.vt-inv-drop__icon.is-file{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 6px 16px rgba(16,185,129,.28)}
.vt-inv-drop__main{font-weight:700;color:#0f172a;font-size:.95rem}
.vt-inv-drop__name{word-break:break-all;max-width:100%}
.vt-inv-drop__sub{font-size:.78rem;color:#64748b;line-height:1.45}
.vt-inv-drop__sub u{color:#4f46e5;text-decoration:none;font-weight:600}
/* card button + badge */
.vt-inv-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:999px;padding:8px 14px;font-size:.82rem;font-weight:700;line-height:1.2;color:#fff;background:linear-gradient(135deg,#f59e0b,#d97706);box-shadow:0 4px 12px rgba(245,158,11,.3);cursor:pointer;white-space:nowrap}
.vt-inv-btn.is-done{background:#fff;color:#047857;border:1px solid #6ee7b7;box-shadow:none}
.vt-inv-btn--block{display:flex;width:100%;padding:10px 14px;font-size:.88rem}
.vt-inv-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;font-size:.72rem;font-weight:700;white-space:nowrap}
.vt-inv-badge.is-need{background:#fef3c7;color:#b45309}
.vt-inv-badge.is-done{background:#d1fae5;color:#047857}
.inf-jr-inv-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px}
.inf-jr-inv-detail{margin-top:10px;padding:12px;border-radius:14px;background:#fffbeb;border:1px solid #fde68a;display:flex;flex-direction:column;gap:10px}
.inf-jr-inv-detail.is-done{background:#f0fdf4;border-color:#bbf7d0}
.inf-jr-inv-detail p{margin:0;font-size:.82rem;color:#475569;line-height:1.5}
@media (max-width:767.98px){
  .vt-invoice-popup .vt-alert__html{max-height:min(58vh,520px)}
  .vt-inv-drop{padding:18px 12px}
}
/* 20261019-wprog1: single centred submit (no 取消 on any screen size; close with the ✕) */
.vt-invoice-popup .vt-alert__actions,.vt-invoice-popup .swal2-actions{justify-content:center!important}
.vt-invoice-popup .vt-alert__btn--primary,.vt-invoice-popup .swal2-confirm{min-width:200px;max-width:100%}
