:root{
  --bg:#080704;--panel:#12100b;--panel2:#18140d;--line:#3d321d;
  --gold:#e4b94d;--gold2:#f4dc94;--text:#f4f1e8;--muted:#9c927c;
  --ok:#76d99b;--bad:#ff8f86;--warn:#f2c66b;
}
*{box-sizing:border-box}html,body{max-width:100%;overflow-x:hidden}body{margin:0;background:radial-gradient(circle at 80% 0,#241b08 0,#080704 35%);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.hidden{display:none!important}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px}
.login-card{width:min(420px,100%);padding:34px;background:linear-gradient(145deg,#18130b,#090806);border:1px solid #6a5223;border-radius:24px;box-shadow:0 30px 80px #0009}
.brand-mark{width:72px;height:72px;margin:auto;display:grid;place-items:center;border:1px solid #c89d35;border-radius:50%;color:var(--gold2);font-weight:900;font-size:25px;background:#0b0905;box-shadow:0 0 35px #c89d3522}.brand-mark.small{width:44px;height:44px;margin:0;font-size:16px}
.brand-name{text-align:center;margin-top:15px;font-size:25px;font-weight:900;letter-spacing:5px;color:var(--gold2)}.brand-sub{text-align:center;color:var(--muted);font-size:11px;letter-spacing:3px;margin-bottom:28px}
label{display:block;color:#c8b98e;font-size:13px;margin:14px 0 7px}input,select{width:100%;height:44px;border:1px solid var(--line);border-radius:10px;background:#090805;color:#fff;padding:0 12px;outline:none}input:focus,select:focus{border-color:#a88433}
.btn{height:44px;border-radius:10px;border:0;padding:0 18px;font-weight:800;cursor:pointer}.primary{width:100%;margin-top:20px;background:linear-gradient(90deg,#f4d36f,#c89122);color:#151005}.ghost{background:#17130c;border:1px solid #51401f;color:#e8d69f}.compact{height:38px}
.message{min-height:22px;margin-top:12px;color:var(--bad);font-size:13px}.security-note{margin-top:20px;color:#786f5e;font-size:11px;text-align:center}
.app-shell{min-height:100vh;display:grid;grid-template-columns:250px 1fr}.sidebar{position:sticky;top:0;height:100vh;background:#090805;border-right:1px solid #2d2516;padding:20px;display:flex;flex-direction:column}
.side-brand{display:flex;gap:12px;align-items:center;padding:5px 3px 24px}.side-brand strong{display:block;color:var(--gold2);letter-spacing:2px}.side-brand span{display:block;font-size:10px;color:#7d735f;margin-top:4px}
nav{display:grid;gap:6px}nav button{height:44px;text-align:left;padding:0 14px;border:1px solid transparent;border-radius:10px;background:transparent;color:#aaa08b;font-weight:700;cursor:pointer}nav button:hover,nav button.active{color:#f5d77e;border-color:#4b3b1c;background:#161108}
.side-footer{margin-top:auto}.admin-email{font-size:11px;color:#8a806d;word-break:break-all;margin-bottom:10px}.side-footer .btn{width:100%}
.main{min-width:0}.topbar{min-height:90px;padding:22px 30px;border-bottom:1px solid #2d2516;display:flex;align-items:center;justify-content:space-between;background:#090805cc;backdrop-filter:blur(10px);position:sticky;top:0;z-index:10}.topbar h1{margin:0;font-size:24px}.topbar p{margin:5px 0 0;color:var(--muted);font-size:12px}.top-actions{display:flex;align-items:center;gap:9px;color:#9f947e;font-size:12px}.status-dot{width:8px;height:8px;border-radius:50%;background:var(--ok);box-shadow:0 0 12px var(--ok)}
.content{padding:26px 30px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.stat{padding:20px;background:linear-gradient(145deg,#17130c,#0c0a07);border:1px solid #322919;border-radius:16px}.stat .label{font-size:12px;color:var(--muted)}.stat .value{font-size:27px;font-weight:900;color:var(--gold2);margin-top:10px}.stat .meta{font-size:11px;color:#716957;margin-top:8px}
.panel{margin-top:16px;padding:18px;background:linear-gradient(145deg,#151109,#0b0906);border:1px solid #322919;border-radius:16px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.panel h2{margin:0;font-size:17px}.toolbar{display:flex;gap:8px;align-items:center}.toolbar input,.toolbar select{width:auto;min-width:180px}
.table-wrap{overflow:auto;border:1px solid #2c2416;border-radius:12px}table{width:100%;border-collapse:collapse;min-width:900px}th,td{padding:12px 13px;border-bottom:1px solid #282116;text-align:left;font-size:12px}th{color:#a89d86;background:#0e0c08;position:sticky;top:0}td{color:#e9e2d2}.badge{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:800;border:1px solid currentColor}.ok{color:var(--ok)}.bad{color:var(--bad)}.warn{color:var(--warn)}.muted{color:#8c826f}.action-btn{height:30px;padding:0 10px;border-radius:8px;border:1px solid #5c4820;background:#19130a;color:#edcf79;cursor:pointer;font-size:11px}.empty{padding:35px;text-align:center;color:#746c5d}
.cards-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.toast{position:fixed;right:22px;bottom:22px;max-width:360px;padding:13px 16px;border-radius:10px;background:#1b160d;border:1px solid #6f5626;color:#f5dda0;opacity:0;transform:translateY(15px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:none}
@media(max-width:1050px){.stats{grid-template-columns:repeat(2,1fr)}.cards-2{grid-template-columns:1fr}}@media(max-width:760px){.app-shell{grid-template-columns:minmax(0,1fr)}.sidebar{display:none}.main,.content,.topbar{min-width:0;max-width:100%}.content{padding:14px}.topbar{padding:14px;align-items:flex-start;flex-direction:column;gap:12px}.top-actions{width:100%;max-width:100%;justify-content:flex-start;overflow-x:auto;padding-bottom:3px}.stats{grid-template-columns:1fr}.panel{padding:14px}.toolbar{max-width:100%;flex-wrap:wrap}.toolbar input,.toolbar select{width:100%;min-width:0}}


/* =========================================================
   YHpay Card Applications Center
   ========================================================= */

.yh-card-admin-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:16px;
}

.yh-card-admin-header h2{
  margin:0 0 5px;
}

.yh-card-admin-stats{
  margin-bottom:14px;
}

.yh-card-admin-panel{
  overflow:hidden;
}

.yh-card-admin-filter{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  padding-bottom:14px;
  border-bottom:1px solid #282116;
  margin-bottom:10px;
}

.yh-card-filter-btn{
  min-height:34px;
  padding:0 13px;
  border:1px solid rgba(202,163,81,.18);
  border-radius:10px;
  background:#0c1111;
  color:#9b907d;
  cursor:pointer;
}

.yh-card-filter-btn.active{
  border-color:rgba(218,177,91,.45);
  background:linear-gradient(
    135deg,
    rgba(112,75,24,.55),
    rgba(48,35,17,.48)
  );
  color:#e3c77e;
}

.yh-card-table-wrap{
  overflow:auto;
}

.yh-card-admin-table{
  width:100%;
  min-width:1050px;
  border-collapse:collapse;
}

.yh-card-admin-table th{
  padding:11px 10px;
  text-align:left;
  color:#8e826d;
  font-size:11px;
  font-weight:700;
  border-bottom:1px solid #302719;
  white-space:nowrap;
}

.yh-card-admin-table td{
  padding:12px 10px;
  border-bottom:1px solid rgba(48,39,25,.75);
  vertical-align:middle;
  font-size:12px;
}

.yh-card-admin-table tbody tr{
  transition:background .15s ease;
}

.yh-card-admin-table tbody tr:hover{
  background:rgba(23,26,22,.58);
}

.yh-card-app-no{
  color:#d3b566;
  font-size:11px;
}

.yh-card-small{
  margin-top:4px;
  font-size:10px;
}

.yh-card-kyc-mini{
  display:flex;
  align-items:center;
  gap:6px;
}

.yh-card-kyc-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#55baa5;
  box-shadow:0 0 0 3px rgba(85,186,165,.08);
}


/* Detail */

.yh-card-detail-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:13px;
}

.yh-card-detail-hero{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:14px;
  padding:20px;
  border:1px solid rgba(210,169,87,.16);
  border-radius:16px;
  background:
    radial-gradient(
      circle at 96% 5%,
      rgba(25,105,106,.11),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      #101716,
      #090d0d
    );
}

.yh-card-detail-kicker{
  margin-bottom:6px;
  color:#a98b49;
  font-size:9px;
  font-weight:800;
  letter-spacing:.15em;
}

.yh-card-detail-hero h2{
  margin:0 0 6px;
  color:#ead9a8;
}

.yh-card-detail-type{
  min-width:150px;
  padding:12px 14px;
  border:1px solid rgba(209,169,87,.12);
  border-radius:12px;
  background:rgba(5,12,12,.55);
  text-align:right;
}

.yh-card-detail-type small{
  display:block;
  color:#7e7565;
  font-size:10px;
}

.yh-card-detail-type strong{
  display:block;
  margin-top:4px;
  color:#d5bb74;
}

.yh-card-detail-grid{
  margin-bottom:14px;
}


/* KYC */

.yh-card-kyc-panel{
  margin-bottom:14px;
}

.yh-card-kyc-images{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:16px;
}

.yh-card-kyc-image-box{
  min-width:0;
}

.yh-card-kyc-image-label{
  margin-bottom:7px;
  color:#9b907c;
  font-size:11px;
  font-weight:700;
}

.yh-card-kyc-image-placeholder,
.yh-card-kyc-image-empty{
  aspect-ratio:1.45 / 1;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid rgba(205,164,82,.13);
  border-radius:13px;
  background:#070d0d;
  color:#746b5c;
  font-size:11px;
}

.yh-card-kyc-preview-btn{
  position:relative;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  background:none;
  cursor:pointer;
  overflow:hidden;
}

.yh-card-kyc-preview-btn img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.yh-card-kyc-preview-btn span{
  position:absolute;
  left:8px;
  right:8px;
  bottom:8px;
  padding:6px;
  border-radius:8px;
  background:rgba(0,0,0,.72);
  color:#dbc37f;
  font-size:10px;
}


/* Review */

.yh-card-review-admin-panel{
  margin-bottom:20px;
}

.yh-card-review-label{
  display:block;
  margin-top:12px;
  color:#a99a80;
  font-size:11px;
  font-weight:700;
}

.yh-card-review-label textarea{
  width:100%;
  min-height:90px;
  margin-top:7px;
  padding:11px 12px;
  box-sizing:border-box;
  resize:vertical;
  border:1px solid rgba(207,167,86,.18);
  border-radius:11px;
  outline:none;
  background:#090f0f;
  color:#e2d7bf;
}

.yh-card-review-label textarea:focus{
  border-color:rgba(70,184,159,.44);
  box-shadow:0 0 0 3px rgba(70,184,159,.06);
}

.yh-card-review-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-top:13px;
}

.yh-card-review-actions .danger{
  border-color:rgba(188,67,57,.45);
  color:#e2988e;
}

.yh-card-review-actions .primary{
  border-color:rgba(212,174,92,.55);
  background:linear-gradient(
    135deg,
    #75501d,
    #ad7d32
  );
  color:#171005;
}

.yh-card-review-note-existing{
  margin-top:10px;
  padding:12px;
  border:1px solid rgba(205,164,82,.12);
  border-radius:11px;
  background:#090f0f;
}

.yh-card-review-note-existing small{
  color:#857a68;
}

.yh-card-review-note-existing div{
  margin-top:5px;
  color:#ded1b7;
}

.yh-card-reviewed-time{
  margin-top:9px;
  font-size:10px;
}


@media(max-width:900px){

  .yh-card-kyc-images{
    grid-template-columns:1fr;
  }

  .yh-card-detail-hero{
    align-items:flex-start;
    flex-direction:column;
  }

  .yh-card-detail-type{
    text-align:left;
  }

}



/* =========================================================
   YHpay Payment Center Admin
   ========================================================= */

.yh-payment-admin-stats{
  margin-bottom:14px;
}

.yh-payment-admin-shell{
  overflow:hidden;
}

.yh-payment-admin-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:15px;
}

.yh-payment-admin-header h2{
  margin:0 0 5px;
}

.yh-payment-admin-tabs{
  display:flex;
  gap:7px;
  padding-bottom:14px;
  margin-bottom:14px;
  border-bottom:1px solid #282116;
}

.yh-payment-tab{
  min-height:35px;
  padding:0 14px;
  border:1px solid rgba(202,163,81,.18);
  border-radius:9px;
  background:#0d0b08;
  color:#978d79;
  font-weight:700;
  cursor:pointer;
}

.yh-payment-tab.active{
  border-color:#6d5424;
  background:linear-gradient(135deg,#241a0b,#171107);
  color:#f0d078;
}

.yh-payment-overview-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.yh-payment-inner-panel{
  margin-top:0;
}

.yh-payment-status-list{
  display:grid;
  gap:4px;
}

.yh-payment-status-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:40px;
  padding:0 10px;
  border-bottom:1px solid rgba(40,33,22,.75);
}

.yh-payment-status-row:last-child{
  border-bottom:0;
}

.yh-payment-flow-example{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  margin-top:14px;
}

.yh-payment-flow-example div{
  padding:8px 10px;
  border:1px solid #3a2f1c;
  border-radius:9px;
  background:#0d0b08;
  color:#d8c791;
  font-size:11px;
}

.yh-payment-flow-example span{
  color:#8d7440;
}

.yh-payment-biller-mini-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:9px;
}

.yh-payment-biller-mini{
  padding:12px;
  border:1px solid #302719;
  border-radius:11px;
  background:#0d0b08;
}

.yh-payment-biller-mini strong{
  display:block;
  color:#e8d39a;
  font-size:12px;
}

.yh-payment-biller-mini span{
  display:block;
  margin-top:5px;
  color:#756d5e;
  font-size:10px;
}

.yh-payment-order-table{
  min-width:1500px;
}

.yh-payment-biller-table{
  min-width:1100px;
}

.yh-payment-admin-note{
  margin-top:12px;
  padding:11px 12px;
  border:1px solid rgba(202,163,81,.10);
  border-radius:10px;
  background:#0b0907;
  color:#766e60;
  font-size:10.5px;
  line-height:1.6;
}

@media(max-width:1100px){
  .yh-payment-overview-grid{
    grid-template-columns:1fr;
  }

  .yh-payment-biller-mini-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}



/* Admin Sidebar Minimal Scroll Fix */
.sidebar{
  overflow-y:auto!important;
  overflow-x:hidden!important;
}


/* Payment Biller Editor */

.yh-payment-action-off{
  color:#d98d83!important;
  border-color:rgba(217,141,131,.35)!important;
}

.yh-payment-action-maint{
  color:#f2c66b!important;
  border-color:rgba(242,198,107,.40)!important;
}

.yh-payment-editor-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  padding:20px;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(8px);
}

.yh-payment-editor-card{
  width:min(480px,100%);
  max-height:90vh;
  overflow:auto;
  padding:22px;
  border:1px solid #59451f;
  border-radius:18px;
  background:linear-gradient(145deg,#17130c,#090806);
  box-shadow:0 30px 80px rgba(0,0,0,.65);
}

.yh-payment-editor-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  margin-bottom:14px;
}

.yh-payment-editor-head h2{
  margin:0 0 5px;
}

.yh-payment-editor-card label{
  margin-top:12px;
}

.yh-payment-editor-status-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:14px;
}

.yh-payment-switch-row{
  min-height:48px;
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  padding:0 12px;
  margin:0!important;
  border:1px solid #322919;
  border-radius:10px;
  background:#0d0b08;
}

.yh-payment-switch-row input{
  width:18px!important;
  height:18px!important;
}
.admin-turnstile-wrap{margin:14px 0 16px;min-height:72px;display:grid;place-items:center}
#adminTurnstileWidget{width:100%}
.admin-turnstile-status{margin-top:7px;color:#9d927a;font-size:12px;line-height:1.4;text-align:center}
.admin-turnstile-status[data-state="ready"]{color:#73c99a}
.admin-turnstile-status[data-state="error"]{color:#ff8c86}

/* YHpay Admin Blue / White UI 2026-09-09 */
:root{
  --bg:#f3f7fd;--panel:#ffffff;--panel2:#f7faff;--line:#d9e5f3;
  --gold:#1677ff;--gold2:#0b5fc6;--text:#10233f;--muted:#667b96;
  --ok:#13a66a;--bad:#e44b55;--warn:#e69a17;
}
body{background:linear-gradient(145deg,#eef5ff 0%,#f8fbff 52%,#edf4fc 100%);color:var(--text)}
.login-shell{background:radial-gradient(circle at 18% 12%,#dcecff 0,transparent 35%),linear-gradient(145deg,#f7fbff,#eaf3ff)}
.login-card{position:relative;width:min(460px,100%);padding:36px;background:#fff;border:1px solid #d7e5f5;border-radius:24px;box-shadow:0 24px 70px rgba(42,91,145,.18)}
.brand-mark{border-color:#4c9cff;color:#fff;background:linear-gradient(145deg,#1677ff,#0c5fc8);box-shadow:0 14px 30px rgba(22,119,255,.22)}
.brand-name,.side-brand strong{color:#12345b}.brand-sub,.security-note{color:#7287a2}
label{color:#304966;font-weight:700}input,select,textarea{border-color:#cfdeef!important;background:#fff!important;color:#142a45!important;box-shadow:none!important}
input:focus,select:focus,textarea:focus{border-color:#1677ff!important;box-shadow:0 0 0 3px rgba(22,119,255,.11)!important}
.primary{background:linear-gradient(90deg,#1677ff,#0865d8);color:#fff;box-shadow:0 9px 22px rgba(22,119,255,.2)}
.ghost,.btn.ghost{background:#fff;border:1px solid #bfd3eb;color:#175fae}
.app-shell{background:#f3f7fd}.sidebar{background:#fff;border-right:1px solid #dbe6f2;box-shadow:8px 0 30px rgba(40,80,120,.05)}
.side-brand{border-bottom:1px solid #e5edf6;margin-bottom:12px}.side-brand span,.admin-email{color:#7890aa}
nav button{color:#526a84}nav button:hover,nav button.active{color:#0865d8;border-color:#bfd9f8;background:#eaf4ff;box-shadow:0 5px 14px rgba(22,119,255,.08)}
.topbar{border-bottom:1px solid #dce6f1;background:rgba(255,255,255,.92);box-shadow:0 5px 20px rgba(40,80,120,.05)}
.topbar p,.top-actions,.muted{color:#6d8199}.content{background:#f3f7fd}
.stat,.panel{background:#fff;border-color:#dce7f2;box-shadow:0 8px 24px rgba(48,86,125,.07)}
.stat .label{color:#647b96}.stat .value{color:#1268ca}.stat .meta{color:#8a9bad}
.table-wrap{border-color:#dce6f1;background:#fff}th{color:#4d6784;background:#f2f7fd}td{color:#1e344e;border-bottom-color:#e8eff6}th,td{border-bottom-color:#e8eff6}
.action-btn{border-color:#bcd5f1;background:#f4f9ff;color:#0965c8;font-weight:700}.action-btn:hover{background:#e5f2ff}
.empty{color:#768aa1}.toast{background:#fff;border-color:#b8d3f1;color:#125da9;box-shadow:0 15px 40px rgba(34,76,120,.18)}
.login-tools{position:absolute;right:22px;top:20px}.language-switch,.login-tools{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid #d3e1f0;border-radius:10px;background:#f5f9fe}
.lang-btn{height:30px;border:0;border-radius:7px;padding:0 10px;background:transparent;color:#617a96;font-weight:750;cursor:pointer}.lang-btn.active{background:#1677ff;color:#fff;box-shadow:0 4px 10px rgba(22,119,255,.18)}
.pending-summary{display:flex;align-items:center;gap:5px;height:36px;padding:0 11px;border:1px solid #c8ddf4;border-radius:10px;background:#edf6ff;color:#0b67c9;font-weight:800}
.pending-summary.has-pending{border-color:#f1c776;background:#fff8e8;color:#b56b00;animation:yhPulse 1.8s infinite}.sound-toggle{white-space:nowrap}
@keyframes yhPulse{50%{box-shadow:0 0 0 5px rgba(230,154,23,.11)}}
.badge{background:#f8fbff}.ok{color:#098d58}.bad{color:#d83d49}.warn{color:#c77900}
.yh-card-admin-panel,.yh-card-detail-hero,.yh-card-detail-type,.yh-payment-switch-row,.yh-payment-biller-mini{background:#fff!important;border-color:#dce7f2!important;color:#18324e!important}
.yh-card-detail-hero h2,.yh-card-detail-type strong,.yh-card-app-no{color:#1468c9!important}.yh-card-detail-kicker{color:#5b7795!important}
.yh-card-filter-btn{background:#f5f9fe;color:#607994;border-color:#d4e3f2}.yh-card-filter-btn.active{background:#e7f3ff;color:#0865d8;border-color:#9fc9f5}
.yh-card-admin-table th{color:#526d89;border-bottom-color:#dfe8f2}.yh-card-admin-table td{border-bottom-color:#e7eef6}.yh-card-admin-table tbody tr:hover{background:#f5f9fe}
.admin-turnstile-status{color:#6d829b}.admin-turnstile-status[data-state="ready"]{color:#0c9b61}.admin-turnstile-status[data-state="error"]{color:#dc4651}
@media(max-width:900px){.top-actions{flex-wrap:wrap;justify-content:flex-end}.language-switch{order:-1}.pending-summary{display:none}}

/* Blue-white refinement: withdrawal details and bilingual controls */
.brand-name{font-size:29px;letter-spacing:.4px;text-transform:none}.brand-sub{letter-spacing:1.7px}
.sound-test{white-space:nowrap;color:#0871db!important;border-color:#9fc7ef!important;background:#edf6ff!important}
.funding-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:150px}
.funding-actions .detail-action{width:100%;border-color:#86baf0;background:#e8f4ff;color:#075fb7}
.withdraw-user-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}
.withdraw-user-summary>div{padding:14px 16px;border:1px solid #d6e5f4;border-radius:13px;background:linear-gradient(145deg,#f8fbff,#edf6ff)}
.withdraw-user-summary span{display:block;margin-bottom:6px;color:#71869e;font-size:12px;font-weight:700}
.withdraw-user-summary strong{display:block;color:#123e70;overflow-wrap:anywhere}
.withdrawal-payout-panel{display:grid;gap:14px}
.payout-method-option{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid #b9d7f5;border-radius:13px;background:#f4f9ff;cursor:pointer}
.payout-method-option input{margin-top:4px;accent-color:#0878e8}
.payout-method-option span{display:grid;gap:4px}.payout-method-option small{color:#657b93;line-height:1.45}
.payout-method-option.is-disabled{opacity:.5;cursor:not-allowed}
.withdrawal-payout-panel input[type="text"],.withdrawal-payout-panel input:not([type]){width:100%;height:44px;margin-top:6px;padding:0 12px;border:1px solid #b9d7f5;border-radius:10px;background:#fff;color:#123e70;box-sizing:border-box}
.manual-payout-confirm{display:flex;align-items:flex-start;gap:8px;color:#173c63;font-weight:700}
.manual-payout-confirm input{margin-top:3px;accent-color:#0878e8}
.payout-dialog-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}
.payout-dialog-actions .secondary{background:#edf4fb;color:#315b84;border-color:#c8dced}
.fee-settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;margin:18px 0}
.fee-setting-card{padding:16px;border:1px solid #d4e4f4;border-radius:14px;background:linear-gradient(145deg,#fbfdff,#f0f7ff)}
.fee-setting-card label,.fee-setting-note label{display:block;color:#173c63;font-weight:800;margin-bottom:9px}
.fee-setting-input{display:flex;align-items:center;overflow:hidden;border:1px solid #b9d7f5;border-radius:10px;background:#fff}
.fee-setting-input input{min-width:0;width:100%;height:46px;border:0;padding:0 12px;background:transparent;color:#123e70;font-size:18px;font-weight:800;outline:none}
.fee-setting-input span{align-self:stretch;display:flex;align-items:center;padding:0 12px;background:#e6f2ff;color:#126bc0;font-weight:800;white-space:nowrap}
.fee-setting-card small{display:block;margin-top:9px;color:#657b93;line-height:1.45}
.fee-setting-note textarea{width:100%;box-sizing:border-box;padding:12px;border:1px solid #b9d7f5;border-radius:10px;background:#fff;color:#123e70;resize:vertical}
.fee-settings-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:14px}
.modal-card,.modal-content,.detail-modal{background:#fff!important;color:#17314c!important;border-color:#d7e5f3!important}
.toolbar,.panel-head{color:#17314c}.panel-head h2{color:#123d6d}
.yh-payment-editor-overlay{background:rgba(22,48,78,.42)}
.yh-payment-editor-card{background:#fff;border-color:#d7e5f3;box-shadow:0 30px 80px rgba(30,71,113,.24)}
.yh-payment-switch-row,.yh-payment-biller-mini{background:#f8fbff!important;border-color:#d8e5f2!important}
@media(max-width:760px){.withdraw-user-summary{grid-template-columns:1fr}.funding-actions{min-width:120px}}

/* Finance and profit report */
.finance-date-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.finance-date-row .input{width:auto;min-width:150px;height:40px;padding:0 12px;border:1px solid #c9dced;border-radius:10px}.quick-filters{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.finance-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px}.rate-report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.rate-report-grid>div{padding:16px;border:1px solid #d8e6f3;border-radius:14px;background:linear-gradient(145deg,#f8fbff,#edf6ff)}.rate-report-grid span{display:block;color:#6b819b;font-size:12px;font-weight:750}.rate-report-grid b{display:block;margin-top:8px;color:#0e62bd;font-size:18px}.profit-note{border-left:4px solid #1677ff}.profit-note p{margin:8px 0 0;color:#647b96;line-height:1.65}
@media(max-width:1100px){.finance-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.rate-report-grid{grid-template-columns:1fr}}
@media(max-width:760px){.finance-stats{grid-template-columns:1fr}.finance-date-row{width:100%}.finance-date-row .input{flex:1;min-width:125px}}

/* Final removal of legacy black-gold modules */
.admin-modal-overlay{background:rgba(35,67,103,.42)!important;backdrop-filter:blur(8px)}
.admin-modal-card{background:#fff!important;border:1px solid #d4e3f2!important;box-shadow:0 24px 70px rgba(27,69,112,.25)!important;color:#17314c!important}
.modal-overlay{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:22px;background:rgba(7,29,57,.56);backdrop-filter:blur(8px)}
.modal-card{width:min(920px,calc(100vw - 36px));max-height:86vh;overflow:auto;padding:20px;border:1px solid #cbdced!important;border-radius:20px;background:#fff!important;box-shadow:0 26px 75px rgba(8,42,82,.28)!important;color:#17314c!important}
.select{min-height:40px;padding:0 36px 0 12px;border:1px solid #c6d9ed;border-radius:10px;background:#fff;color:#17314c;font-weight:700}
.action-btn.danger{border-color:#f0c8ce!important;background:#fff2f4!important;color:#c83248!important}
.yh-usdt-kpi,.yh-usdt-address,.yh-usdt-chain-value,.yh-usdt-detail-box,.yh-usdt-readonly,
.yh-ad-card,.yh-ad-perm,.yh-svc-card,.yh-payment-flow-example,
.yh-payment-admin-tabs .yh-payment-tab,
#content [style*="background:#0c0906"],#content [style*="background:#0d0b08"]{
  background:#fff!important;border-color:#d5e4f3!important;color:#17324f!important;box-shadow:0 7px 20px rgba(38,82,126,.07)!important
}
.yh-usdt-kpi strong,.yh-usdt-command-head h2,.yh-usdt-panel-title-row h2,.yh-ad-title h2,.yh-ad-card h3,.yh-svc-head h2,.yh-svc-card h3,
#content [style*="color:#e8c66e"]{color:#1268ca!important}
.yh-usdt-kpi span,.yh-usdt-kpi small,.yh-usdt-eyebrow,.yh-usdt-info-row span,.yh-ad-muted,.yh-ad-field label,.yh-svc-label,.yh-svc-muted{color:#647e99!important}
.yh-usdt-info-row{border-color:#e0eaf4!important}.yh-usdt-address{color:#115fae!important}
.yh-ad-tabs button,.yh-ad-btn,.yh-svc-btn,.yh-payment-tab{background:#f2f8ff!important;border:1px solid #bcd7f3!important;color:#0b63be!important}
.yh-ad-tabs button.active,.yh-ad-btn.gold,.yh-svc-btn.gold,.yh-payment-tab.active{background:#1677ff!important;border-color:#1677ff!important;color:#fff!important}
.yh-ad-table th,.yh-svc-table th{background:#eff6fd!important;color:#4d6885!important}.yh-ad-table td,.yh-svc-table td{color:#203a55!important;border-color:#e1eaf3!important}
.yh-ad-field input,.yh-ad-field select,.yh-ad-field textarea,.yh-svc-field input,.yh-svc-field select,.yh-svc-field textarea{background:#fff!important;color:#142a45!important;border-color:#cddff0!important}
#content [style*="background:#070604"],#content [style*="background:#080604"]{background:#fff!important;color:#142a45!important;border-color:#cddff0!important}
#content [style*="border:1px solid #352b1b"]{border-color:#d5e4f3!important;background:#f8fbff!important}
#content [style*="color:#e4b94d"],#content [style*="color:#e8c66e"]{color:#1268ca!important}
