.customers > header > div { display: flex; align-items: center; gap: 8px; }
.customers .new-customer-button { display: inline-flex; align-items: center; gap: 3px; min-height: 30px; padding: 0 9px; border: 1px solid #c8d4ca; border-radius: 9px; color: var(--green); background: #fff; font-size: 10px; font-weight: 800; cursor: pointer; }
.customers .new-customer-button i { font-size: 15px; font-style: normal; font-weight: 400; line-height: 1; }
.customers .new-customer-button:hover { border-color: var(--green); background: #eef5ef; }
.customers .new-customer-button:disabled { opacity: .45; cursor: not-allowed; }

.provision-overlay { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; background: rgba(12, 18, 14, .64); backdrop-filter: blur(8px); }
.provision-dialog { width: min(760px, 100%); max-height: calc(100vh - 48px); overflow: auto; border: 1px solid rgba(255, 255, 255, .65); border-radius: 22px; background: #f7f9f6; box-shadow: 0 32px 100px rgba(8, 16, 10, .34); }
.provision-head { position: relative; display: flex; justify-content: space-between; gap: 24px; padding: 27px 30px 24px; color: #f5faf6; background: radial-gradient(circle at 82% 12%, rgba(223,255,56,.14) 0 18%, transparent 18.5%), #172019; }
.provision-head span { color: var(--lime); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.provision-head h1 { margin: 8px 0 6px; font-size: 26px; letter-spacing: -.04em; }
.provision-head p { margin: 0; color: #aebbb1; font-size: 12px; }
.provision-head > button { flex: 0 0 auto; width: 34px; height: 34px; border: 1px solid #3d493f; border-radius: 50%; color: #d8e0da; background: #222c25; font-size: 22px; line-height: 1; cursor: pointer; }

.provision-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 22px 30px 28px; }
.provision-steps { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 0 2px 5px; color: #556259; font-size: 10px; font-weight: 800; }
.provision-steps span { display: flex; align-items: center; gap: 7px; }
.provision-steps b { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 8px; }
.provision-steps i { height: 1px; background: #d7dfd8; }
.provision-card { display: grid; align-content: start; gap: 14px; padding: 18px; border: 1px solid #dbe2dc; border-radius: 15px; background: #fff; box-shadow: 0 10px 28px rgba(26, 40, 29, .05); }
.provision-card > header { display: flex; align-items: center; gap: 10px; padding-bottom: 13px; border-bottom: 1px solid #edf0ed; }
.provision-card > header > i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--green); background: #eaf2eb; font-style: normal; font-weight: 900; }
.provision-card.account-card > header > i { color: #30390d; background: #efffa8; }
.provision-card header b, .provision-card header small { display: block; }
.provision-card header b { font-size: 13px; }
.provision-card header small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.provision-card label { display: grid; gap: 7px; }
.provision-card label > span { font-size: 11px; font-weight: 800; }
.provision-card label > span em { color: #8a948c; font-size: 9px; font-style: normal; font-weight: 500; }
.provision-card input, .provision-card select { width: 100%; height: 43px; padding: 0 11px; border: 1px solid #ccd6ce; border-radius: 9px; color: var(--ink); background: #fbfcfb; }
.provision-card input:focus { border-color: var(--green); background: #fff; }
.provision-card label > small { min-height: 24px; color: #7b877e; font-size: 9px; line-height: 1.45; }
.provision-error { grid-column: 1 / -1; min-height: 16px; color: var(--danger); font-size: 11px; }
.provision-form > footer { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 10px; }
.provision-form > footer > button { min-height: 46px; border-radius: 11px; cursor: pointer; }
.provision-form > footer .secondary { padding: 0 20px; }
.provision-submit { min-width: 230px; padding: 8px 18px; border: 0; color: #172019; background: var(--lime); text-align: left; font-weight: 900; }
.provision-submit span, .provision-submit small { display: block; }
.provision-submit small { margin-top: 2px; color: #536016; font-size: 8px; font-weight: 600; }
.provision-submit:disabled { opacity: .55; cursor: wait; }

.provision-success { position: relative; padding: 44px 36px 36px; text-align: center; }
.success-stamp { position: absolute; top: 22px; right: 25px; padding: 7px 10px; border: 2px solid #42805a; border-radius: 4px; color: #326b49; transform: rotate(3deg); }
.success-stamp span, .success-stamp small { display: block; font-weight: 900; }
.success-stamp span { font-size: 10px; }
.success-stamp small { margin-top: 2px; font-size: 6px; letter-spacing: .12em; }
.success-mark { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 17px; border-radius: 18px; color: #172019; background: var(--lime); box-shadow: 0 10px 30px rgba(145, 176, 18, .22); font-size: 26px; font-style: normal; font-weight: 900; }
.provision-success h2 { margin: 0; font-size: 23px; letter-spacing: -.03em; }
.provision-success > p { margin: 9px auto 20px; color: var(--muted); font-size: 12px; }
.provision-success > p b { color: var(--ink); }
.success-notice { max-width: 500px; margin: 0 auto 22px; padding: 13px 15px; border: 1px solid #d4dfd5; border-radius: 11px; color: #375d43; background: #edf5ee; text-align: left; }
.success-notice b, .success-notice small { display: block; }
.success-notice b { font-size: 11px; }
.success-notice small { margin-top: 4px; color: #69776c; font-size: 9px; line-height: 1.45; }
#provision-open-customer { min-height: 44px; padding: 0 24px; border: 0; border-radius: 10px; color: #fff; background: var(--green); font-weight: 800; cursor: pointer; }

.workspace-head-tools { display: flex; align-items: stretch; gap: 10px; }
#manage-merchant-accounts { display: flex; align-items: center; gap: 9px; min-width: 135px; padding: 9px 12px; border: 1px solid #d5ddd6; border-radius: 10px; color: var(--ink); background: #fff; text-align: left; cursor: pointer; }
#manage-merchant-accounts > i { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; color: #34420e; background: #efffa8; font-style: normal; font-weight: 900; }
#manage-merchant-accounts span, #manage-merchant-accounts b, #manage-merchant-accounts small { display: block; }
#manage-merchant-accounts b { font-size: 10px; }
#manage-merchant-accounts small { margin-top: 3px; color: var(--muted); font-size: 8px; }
#manage-merchant-accounts:hover { border-color: var(--green); }
#manage-merchant-accounts:disabled { opacity: .45; cursor: not-allowed; }
#edit-merchant-profile { display: flex; align-items: center; gap: 9px; min-width: 135px; padding: 9px 12px; border: 1px solid #d5ddd6; border-radius: 10px; color: var(--ink); background: #fff; text-align: left; cursor: pointer; }
#edit-merchant-profile > i { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--green); font-style: normal; font-weight: 900; }
#edit-merchant-profile span, #edit-merchant-profile b, #edit-merchant-profile small { display: block; }
#edit-merchant-profile b { font-size: 10px; }
#edit-merchant-profile small { margin-top: 3px; color: var(--muted); font-size: 8px; }
#edit-merchant-profile:hover { border-color: var(--green); }
#edit-merchant-profile:disabled { opacity: .45; cursor: not-allowed; }
.merchant-profile-dialog { width: min(850px, 100%); }
.merchant-account-dialog { width: min(650px, 100%); }
.merchant-account-body { padding: 22px 28px 28px; }
.account-boundary { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border: 1px solid #d8e2d8; border-radius: 11px; color: #36533f; background: #edf4ed; }
.account-boundary > i { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-style: normal; font-weight: 900; }
.account-boundary span, .account-boundary b, .account-boundary small { display: block; }
.account-boundary b { font-size: 11px; }
.account-boundary small { margin-top: 3px; color: #657168; font-size: 9px; }
.account-loading { padding: 28px 0 10px; color: var(--muted); font-size: 11px; text-align: center; }
.merchant-account-list { display: grid; gap: 11px; margin: 16px 0 0; padding: 0; list-style: none; }
.merchant-account-list > li { padding: 16px; border: 1px solid #dce2dd; border-radius: 13px; background: #fff; }
.merchant-account-list header { display: flex; align-items: center; gap: 11px; }
.merchant-account-list header > i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: var(--green); background: #eaf2eb; font-style: normal; font-weight: 900; }
.merchant-account-list header > div { min-width: 0; flex: 1; }
.merchant-account-list header b, .merchant-account-list header small { display: block; }
.merchant-account-list header b { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.merchant-account-list header small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.account-state { padding: 5px 8px; border-radius: 99px; color: #2f6b47; background: #eaf5ed; font-size: 8px; font-style: normal; font-weight: 900; }
.password-reset-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #edf0ed; }
.password-reset-row input { min-width: 0; height: 40px; padding: 0 11px; border: 1px solid #ccd6ce; border-radius: 9px; background: #fbfcfb; }
.password-reset-row button { padding: 0 15px; border: 1px solid var(--green); border-radius: 9px; color: #fff; background: var(--green); font-size: 10px; font-weight: 800; cursor: pointer; }
.password-reset-row button:disabled { opacity: .5; cursor: wait; }
.password-reset-row small { grid-column: 1 / -1; color: #7b877e; font-size: 9px; }

@media (max-width: 720px) {
  .customers > header { align-items: flex-start; }
  .customers > header > div { align-items: flex-end; flex-direction: column-reverse; gap: 5px; }
  .provision-overlay { align-items: end; padding: 0; }
  .provision-dialog { width: 100%; max-height: 94vh; border-radius: 22px 22px 0 0; }
  .provision-head { padding: 22px 20px 19px; }
  .provision-head h1 { padding-right: 28px; font-size: 22px; }
  .provision-form { grid-template-columns: 1fr; padding: 18px 18px 24px; }
  .provision-steps, .provision-error, .provision-form > footer { grid-column: auto; }
  .provision-form > footer { position: sticky; bottom: 0; padding-top: 4px; background: #f7f9f6; }
  .provision-submit { min-width: 0; flex: 1; }
  .provision-success { padding: 54px 22px 30px; }
  .workspace-head-tools { width: 100%; flex-wrap: wrap; }
  #manage-merchant-accounts, #edit-merchant-profile { flex: 1; }
  .workspace-head-tools .summary { flex: 1; }
  .merchant-account-body { padding: 18px; }
  .password-reset-row { grid-template-columns: 1fr; }
  .password-reset-row button { min-height: 40px; }
  .password-reset-row small { grid-column: auto; }
}
