/* Finance UI: scoped to the account card and embedded USDT content. */
.zhxx ul.fund { width: 240px; max-width: 100%; }
.zhxx .fund .finance-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.zhxx ul.fund .finance-actions > a,
.zhxx ul.fund .finance-actions > button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: auto; min-width: 102px; height: auto; min-height: 34px; padding: 6px 12px; margin: 0; border: 1px solid #ddd; border-radius: 4px; line-height: 20px; font-size: 14px; white-space: nowrap; text-decoration: none; }
.zhxx .fund .finance-actions > .finance-recharge { background: #348fe2; border-color: #348fe2; color: #fff; }
.zhxx .fund .finance-actions > .finance-recharge:hover { background: #2379c5; }
.zhxx .fund .finance-actions > button:disabled { background: #f7f7f7; color: #999; cursor: not-allowed; }
.usdt-panel { width: 100%; min-width: 0; margin: 0; color: #444; font-size: 14px; line-height: 1.75; }
.usdt-panel *, .usdt-panel *::before, .usdt-panel *::after { box-sizing: border-box; }
.usdt-panel .usdt-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px 20px; background: #fff; border-radius: 6px; }
.usdt-panel h1 { font-size: 20px; line-height: 1.5; font-weight: 600; margin: 4px 0 0; color: #333; }
.usdt-panel h1 span { display: inline-block; padding: 1px 8px; margin-left: 6px; background: #ecf5ff; color: #348fe2; border-radius: 4px; font-size: 12px; vertical-align: middle; }
.usdt-panel a { color: #348fe2; }
.usdt-panel a:hover { text-decoration: underline; }
.usdt-panel p { margin: 10px 0; overflow-wrap: anywhere; }
.usdt-panel .usdt-breadcrumb { margin: 0; color: #888; font-size: 12px; }
.usdt-panel .usdt-steps { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 12px 20px; color: #6784a1; }
.usdt-panel section { padding: 20px; margin: 12px 0; border-radius: 6px; background: #fff; }
.usdt-panel h2 { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; color: #333; font-size: 16px; font-weight: 600; line-height: 1.5; }
.usdt-panel .usdt-section-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.usdt-panel .usdt-section-heading h2 { border: 0; margin: 0; }
.usdt-panel .warning { padding: 10px 14px; border: 1px solid #f1d6af; border-radius: 4px; color: #ad6a20; background: #fffdf3; font-size: 13px; }
.usdt-panel .rate { margin: 16px 0; color: #348fe2; font-size: 22px; font-weight: 600; }
.usdt-panel label { display: block; margin: 18px 0 12px; }
.usdt-panel input:not([type="hidden"]), .usdt-panel textarea { display: block; width: 100%; max-width: 560px; min-height: 42px; margin-top: 6px; padding: 9px 12px; border: 1px solid #ddd; border-radius: 4px; background: #fff; color: #333; font: inherit; line-height: 22px; }
.usdt-panel input:focus, .usdt-panel textarea:focus { outline: 2px solid #b7d9fc; outline-offset: 1px; border-color: #348fe2; }
.usdt-panel button { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 40px; margin: 8px 8px 8px 0; padding: 9px 18px; border: 1px solid #348fe2; border-radius: 4px; background: #348fe2; color: #fff; font: inherit; line-height: 22px; white-space: normal; cursor: pointer; }
.usdt-panel button.secondary { border-color: #ddd; background: #fff; color: #666; }
.usdt-panel button:disabled { opacity: .55; cursor: wait; }
.usdt-panel code { display: block; padding: 12px; border: 1px solid #e4ecf5; background: #f5f8fc; border-radius: 4px; font-size: 14px; white-space: normal; overflow-wrap: anywhere; user-select: all; }
.usdt-panel .muted { color: #888; font-size: 13px; }
.usdt-panel .scroll { max-width: 100%; overflow-x: auto; }
.usdt-panel table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 13px; }
.usdt-panel th, .usdt-panel td { padding: 12px 10px; border-bottom: 1px solid #eee; text-align: left; vertical-align: top; }
.usdt-panel th { background: #fafafa; color: #666; font-weight: normal; }
.usdt-panel #feedback { white-space: pre-wrap; color: #b54708; overflow-wrap: anywhere; }
.usdt-panel #feedback:empty, .usdt-panel #amount-hint:empty { display: none; }
.usdt-member-layout::after { display: table; clear: both; content: ""; }
@media (max-width: 767px) {
  .zhxx .fund .finance-actions { margin-top: 12px; }
  .zhxx ul.fund .finance-actions > a, .zhxx ul.fund .finance-actions > button { min-height: 42px; flex: 1 1 120px; }
  .usdt-member-layout > .uright { padding: 0 !important; }
  .usdt-panel .usdt-heading, .usdt-panel section { padding: 16px; }
  .usdt-panel .usdt-steps { padding: 10px 4px; gap: 4px 12px; font-size: 12px; }
  .usdt-panel h1 { font-size: 19px; }
  .usdt-panel .rate { font-size: 20px; }
  .usdt-panel input:not([type="hidden"]), .usdt-panel textarea { font-size: 16px; }
  .usdt-panel button { min-height: 44px; }
}
