.workflow-drawer.customer-onboarding-drawer{width:min(620px,96vw)}.customer-onboarding-drawer input{width:100%;min-width:0;margin-top:8px}.onboarding-note,.onboarding-delivery{overflow-wrap:anywhere;background:#f5f9fd;border:1px solid #dce8f3;border-radius:10px;padding:16px;font-size:13px;line-height:1.8}.onboarding-note{color:#52718c;margin-bottom:20px}.onboarding-delivery p{margin:8px 0 0}.onboarding-facts{margin:20px 0 12px;display:grid}.onboarding-facts>div{border-bottom:1px solid #e8eef4;grid-template-columns:90px minmax(0,1fr);gap:16px;padding:13px 0;font-size:13px;display:grid}.onboarding-facts dt{color:#73869a}.onboarding-facts dd{color:#234c6b;overflow-wrap:anywhere;margin:0}.onboarding-caption{font-size:12px;line-height:1.8}.onboarding-password{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.onboarding-password input{letter-spacing:2px;max-width:160px;margin:0;font-family:ui-monospace,monospace}.onboarding-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin:20px 0;display:flex}.onboarding-delivery{margin-top:24px}.onboarding-delivery button{margin-top:15px}.onboarding-entry{background:#f7fafd;border:1px solid #dce8f3;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin:18px 0;padding:15px;display:flex}.onboarding-entry p{color:#718398;margin:7px 0 0;font-size:13px}@media (max-width:480px){.workflow-drawer.customer-onboarding-drawer{padding:16px}.onboarding-facts>div{grid-template-columns:minmax(0,1fr);gap:8px}.onboarding-password input{max-width:none}.onboarding-actions>*,.onboarding-delivery button{flex:1;min-width:0}}
.customer-management .admin-filter{grid-template-columns:minmax(220px,1.4fr) minmax(200px,1fr) minmax(140px,.7fr) auto;align-items:end}.customer-management .card{border-radius:16px;padding:20px 24px;box-shadow:0 4px 20px #102a4308}.customer-management table{min-width:800px}.customer-management th{padding:17px 20px}.customer-management td{vertical-align:middle;padding:15px 20px}.customer-management th:first-child{width:30%}.customer-identity{min-width:175px;max-width:320px}.customer-remark-field{align-items:center;gap:6px;display:flex}.customer-remark-field input{width:100%;min-width:100px;height:32px;min-height:32px;color:var(--ink);background:0 0;border-color:#0000;border-radius:6px;margin:0;padding:4px 7px;font-size:14px;font-weight:600}.customer-remark-field input:hover,.customer-remark-field input:focus{background:#fff;border-color:#b5d3e6}.customer-remark-field input::placeholder{color:#8a9aab;font-weight:400}.customer-remark-actions{gap:4px;display:flex}.customer-remark-actions button{white-space:nowrap;min-height:30px;padding:3px 7px;font-size:12px}.customer-username{color:var(--muted);margin-top:3px;padding-left:7px;font-size:12px;display:block}.customer-balance-cell{font-variant-numeric:tabular-nums;white-space:nowrap;grid-template-columns:minmax(max-content,1fr) 25px;align-items:center;gap:8px;display:grid}.customer-balance-cell strong{text-align:right}.customer-balance-plus{width:25px;height:25px;min-height:25px;color:var(--brand);background:#e9f4fa;border-color:#d0e6f2;border-radius:50%;justify-content:center;align-items:center;padding:0;font-size:18px;line-height:1;display:inline-flex}.customer-balance-plus svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;width:13px;height:13px}.customer-balance-plus:hover{background:var(--brand);color:#fff}.customer-total-recharge{color:var(--brand);font-variant-numeric:tabular-nums;font-weight:600}.customer-list-button{color:var(--brand);white-space:nowrap;background:#f7fbfd;align-items:center;gap:9px;display:inline-flex}.customer-list-button span{color:#49728d;background:#e9f1f6;border-radius:5px;min-width:20px;padding:0 5px;font-size:12px}dialog.workflow-drawer.customer-modal{border:1px solid #d9e6ef;border-radius:20px;width:min(1040px,100vw - 48px);max-width:calc(100vw - 48px);height:fit-content;max-height:calc(100dvh - 64px);margin:auto;padding:0 28px 26px;inset:0;box-shadow:0 24px 90px #0c2a3e38}.customer-modal::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#09203261}html:has(dialog.customer-modal[open]){scrollbar-gutter:stable;overflow:hidden}.customer-modal>header{z-index:2;border-bottom:1px solid var(--line);background:#fff;margin-bottom:22px;padding:22px 0 18px;position:sticky;top:0}.customer-modal>header h2{margin:0;font-size:18px}.customer-modal>header button{min-height:32px;font-size:12px}.customer-modal table{min-width:620px;font-size:13px}.customer-modal .card{box-shadow:none;border-radius:12px;margin:0 0 18px;padding:18px}.customer-modal .card h2{font-size:16px}.customer-modal .admin-form{max-width:none}.customer-modal .admin-form fieldset{grid-template-columns:1fr;gap:12px;margin:0;display:grid}.customer-modal .admin-form fieldset>label{margin:0}.customer-modal .admin-form .form-actions{margin:2px 0 0}.customer-modal label{color:#536b7f;font-size:13px}.customer-modal input,.customer-modal select{min-height:40px;margin-top:7px}dialog.workflow-drawer.customer-modal-detail{border-radius:16px;width:min(1000px,100vw - 48px);padding:0 26px 24px}.customer-modal-detail>header{margin-bottom:0;padding:17px 0}.customer-modal-detail .customer-details-heading{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:16px 22px;padding:22px 0;display:flex}.customer-modal-detail .customer-details-person{flex:250px;align-items:center;gap:12px;min-width:0;display:flex}.customer-modal-detail .customer-avatar{height:44px;color:var(--brand);background:linear-gradient(135deg,#e1f0f8,#edf6fb);border-radius:11px;flex:0 0 44px;place-items:center;font-size:20px;font-weight:700;display:grid}.customer-modal-detail .customer-details-name{overflow-wrap:anywhere;min-width:0}.customer-modal-detail .customer-details-name h3{margin:0;font-size:16px;line-height:1.5}.customer-modal-detail .customer-details-name .muted{margin-top:4px;font-size:12px;display:block}.customer-modal-detail .customer-details-meta{flex-wrap:wrap;align-items:center;gap:10px 16px;margin:0;display:flex}.customer-modal-detail .customer-details-meta>div{border-left:1px solid #dce6ed;align-items:baseline;gap:8px;padding-left:16px;display:flex}.customer-modal-detail .customer-details-meta dt{color:var(--muted);flex-shrink:0;font-size:12px}.customer-modal-detail .customer-details-meta dd{overflow-wrap:anywhere;max-width:165px;margin:0;font-size:13px}.customer-modal-detail .customer-details-meta>div:last-child dd{font-variant-numeric:tabular-nums;max-width:none}.customer-modal-detail .onboarding-entry{margin:14px 0 0;padding:12px 14px}.customer-modal-detail .customer-setting-pair{border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr;display:grid}.customer-modal-detail .customer-setting{border-bottom:1px solid var(--line);grid-template-columns:136px minmax(0,1fr);align-items:center;gap:16px;min-width:0;padding:18px 0;display:grid}.customer-modal-detail .customer-setting h3{margin:0;font-size:14px;line-height:1.5}.customer-modal-detail .customer-setting-control{min-width:0}.customer-modal-detail .customer-setting-pair>.customer-setting{border-bottom:0;grid-template-columns:136px minmax(0,1fr)}.customer-modal-detail .customer-setting-fee{padding-right:28px}.customer-modal-detail .customer-setting-status{padding-left:36px;position:relative}.customer-modal-detail .customer-setting-status:before{content:"";background:var(--line);width:1px;position:absolute;top:22px;bottom:22px;left:0}.customer-modal-detail .customer-setting .admin-form fieldset{grid-template-columns:minmax(0,1fr) minmax(0,1.65fr) auto;align-items:end;gap:16px;display:grid}.customer-modal-detail .customer-setting-pair .admin-form fieldset{grid-template-columns:auto auto;justify-content:start;align-items:center;gap:14px}.customer-modal-detail .customer-setting-password .admin-form fieldset{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}.customer-modal-detail .customer-setting label{min-width:0;font-size:12px}.customer-modal-detail .customer-setting input,.customer-modal-detail .customer-setting select{border-color:#cddde9;border-radius:7px;height:38px;min-height:38px;margin-top:7px;padding:8px 11px;font-size:14px}.customer-modal-detail .customer-setting .form-actions{margin:0;padding:0}.customer-modal-detail .customer-setting button,.customer-modal-detail .customer-account-actions button{white-space:nowrap;border-radius:7px;min-height:38px;padding:7px 17px;font-size:13px;font-weight:500}.customer-modal-detail .customer-setting .form-actions button{min-width:68px}.customer-modal-detail .customer-setting-password .form-actions button{min-width:94px}.customer-modal-detail .customer-rate-field{width:110px;position:relative}.customer-modal-detail .customer-rate-field input{font-variant-numeric:tabular-nums;margin:0;padding-right:28px}.customer-modal-detail .customer-rate-suffix{color:#536b7f;pointer-events:none;position:absolute;top:50%;right:11px;transform:translateY(-50%)}.customer-modal-detail .customer-setting-status select{width:128px;margin:0}.customer-modal-detail .customer-field-label{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.customer-modal-detail .customer-account-actions{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:16px 0;display:flex}.customer-modal-detail .customer-account-actions strong{font-size:14px}.customer-modal-detail .customer-account-actions .actions{flex-wrap:wrap;gap:10px;margin:0}.customer-modal-detail .customer-account-actions .danger{color:#bb3440;border-color:#edc6ca}.customer-modal-detail .customer-account-actions .danger:hover{background:#fff5f5;border-color:#d9868e}.customer-modal-detail .customer-recent-orders{min-width:0;padding-top:18px}.customer-modal-detail .customer-section-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.customer-modal-detail .customer-section-title h3{margin:0;font-size:14px}.customer-modal-detail .customer-section-title>span{color:var(--muted);font-size:12px}.customer-modal-detail .customer-recent-orders .empty{background:#f2f7fb;border-radius:8px;place-items:center;min-height:46px;margin:0;padding:12px 16px;display:grid}.customer-modal-detail .customer-setting .empty{margin:0;padding:12px}.customer-order-number{overflow-wrap:anywhere;max-width:230px}dialog.workflow-drawer.customer-modal-balance,dialog.workflow-drawer.customer-recharge-modal{width:min(520px,100vw - 32px)}.customer-wallet-heading{background:linear-gradient(120deg,#edf6fb,#f6fafc);border:1px solid #d9eaf4;border-radius:12px;margin-bottom:20px;padding:18px 20px}.customer-wallet-heading span{color:#52748c;margin-bottom:7px;font-size:12px;display:block}.customer-wallet-heading strong{color:var(--brand);font-size:30px}.customer-recharge-account{background:#f3f8fc;border:1px solid #deebf3;border-radius:12px;gap:7px;margin:18px 0 23px;padding:15px 18px;display:grid}.customer-recharge-account span{color:var(--muted);font-size:13px}.customer-amount-label{margin-bottom:10px;display:block}.customer-principal-options{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.customer-principal-options button{font-weight:600}.customer-principal-options .selected{color:var(--brand);background:#e9f4fa;border-color:#4e91b2;box-shadow:inset 0 0 0 1px #4e91b2}.customer-quote-summary{gap:13px;margin:24px 0 20px;display:grid}.customer-quote-summary>div{justify-content:space-between;gap:15px;font-size:14px;display:flex}.customer-quote-summary dt{color:var(--muted)}.customer-quote-summary dd{margin:0;font-weight:500}.customer-quote-summary .customer-quote-total{border-top:1px solid var(--line);align-items:center;margin-top:4px;padding-top:18px}.customer-quote-total dd{color:var(--brand);font-size:27px;font-weight:700}.customer-recharge-submit{width:100%;min-height:46px}.customer-recharge-footnote{text-align:center;color:var(--muted);margin:15px 0 0;font-size:12px}@media (max-width:1000px){.customer-management .admin-filter{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:650px){.customer-management .admin-filter{grid-template-columns:1fr}dialog.workflow-drawer.customer-modal{border-radius:15px;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 24px);padding:0 16px 18px}}@media (max-width:850px){.customer-modal-detail .customer-details-meta{gap:10px 20px;width:100%}.customer-modal-detail .customer-details-meta>div{border-left:0;padding-left:0}.customer-modal-detail .customer-setting{grid-template-columns:116px minmax(0,1fr)}.customer-modal-detail .customer-setting-pair>.customer-setting{grid-template-columns:1fr;gap:10px}.customer-modal-detail .customer-setting-status{padding-left:22px}.customer-modal-detail .customer-setting .admin-form fieldset{gap:12px}}@media (max-width:600px){.customer-modal-detail .customer-details-heading{padding:18px 0}.customer-modal-detail .customer-setting,.customer-modal-detail .customer-setting .admin-form fieldset{grid-template-columns:minmax(0,1fr);gap:12px}.customer-modal-detail .customer-setting-pair{grid-template-columns:1fr}.customer-modal-detail .customer-setting-pair>.customer-setting{grid-template-columns:minmax(0,1fr) auto;padding-left:0;padding-right:0}.customer-modal-detail .customer-setting-pair>.customer-setting-fee{border-bottom:1px solid var(--line)}.customer-modal-detail .customer-setting-status:before{display:none}.customer-modal-detail .customer-setting-pair .admin-form fieldset{grid-template-columns:auto auto;gap:10px}.customer-modal-detail .customer-setting .form-actions{justify-self:end}.customer-modal-detail .customer-setting-status select{width:110px}.customer-modal-detail .customer-account-actions{flex-wrap:wrap}}.customer-identity-with-pin{align-items:flex-start;gap:2px;display:flex}.customer-identity-with-pin .customer-identity{flex:1;min-width:0}.customer-identity-with-pin .customer-remark-field input,.customer-identity-with-pin .customer-username{padding-left:3px}.customer-management .customer-pin-toggle{color:#9aaebb;width:24px;height:24px;min-height:24px;box-shadow:none;background:0 0;border:0;border-radius:7px;flex:0 0 24px;justify-content:center;align-items:center;margin-top:4px;padding:0;transition:color .16s,background .16s;display:inline-flex}.customer-management .customer-pin-toggle:hover:not(:disabled),.customer-management .customer-pin-toggle[aria-pressed=true]{color:var(--brand);background:#e6f2f6}.customer-pin-toggle svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.customer-pinned-row{background:#f7fbfd}.customer-pin-drawer{max-width:620px}.customer-pin-list{gap:8px;margin:20px 0;padding:0;list-style:none;display:grid}.customer-pin-list li{cursor:grab;background:#fff;border:1px solid #dce7ef;border-radius:10px;align-items:center;gap:12px;padding:12px 14px;transition:background .16s,border-color .16s;display:flex}.customer-pin-list li:hover{background:#f7fbfd;border-color:#a6cbdc}.customer-pin-list li.is-dragging{opacity:.45}.customer-pin-grip{color:#8ca4b4;font-size:22px}.customer-pin-number{font-variant-numeric:tabular-nums;color:#8298a8;min-width:18px;font-size:12px}.customer-pin-name{overflow-wrap:anywhere;flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.customer-pin-name small{color:#7e94a7}.customer-pin-move{gap:5px;display:flex}.customer-pin-move button{width:32px;height:32px;padding:0}.customer-pin-footer{border-top:1px solid #e2ebf1;justify-content:flex-end;padding-top:16px}
