/* 38.9: one full-width row for every admin request */
.premium-list{grid-template-columns:1fr!important}
.premium-list .admin-request-row{width:100%;min-height:128px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
.premium-list .admin-request-row>div{padding-inline-start:0!important;padding-inline-end:150px}
.premium-list .admin-request-row>.status{top:18px;left:18px}
.premium-list .admin-request-row:after{align-self:end;justify-self:end}
@media(max-width:600px){.premium-list .admin-request-row{min-height:145px;grid-template-columns:1fr}.premium-list .admin-request-row>div{padding:52px 0 0!important}.premium-list .admin-request-row:after{justify-self:start}}
.telegram-event-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:17px;border:1px solid #285b82;border-radius:20px;background:#071b30}.telegram-event-choices>div{grid-column:1/-1}.telegram-event-choices h3{margin:3px 0}.telegram-event-option{position:relative;min-height:76px;padding:13px 15px;border:1px solid #28516f;border-radius:16px;background:#0d2d49;display:flex!important;align-items:center;gap:11px;cursor:pointer}.telegram-event-option input{position:absolute;opacity:0}.telegram-event-option span{display:flex;flex-direction:column}.telegram-event-option small{color:#91aec4}.telegram-event-option i{width:44px;height:25px;margin-inline-start:auto;border-radius:20px;background:#526779;position:relative;flex:none}.telegram-event-option i:after{content:'';position:absolute;top:4px;right:4px;width:17px;height:17px;border-radius:50%;background:#fff;transition:.2s}.telegram-event-option:has(input:checked){border-color:#e97526;background:#3e2817}.telegram-event-option input:checked~i{background:var(--orange)}.telegram-event-option input:checked~i:after{transform:translateX(-19px)}.telegram-form-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.telegram-form-actions button{min-height:56px;border-radius:15px;font:inherit;font-weight:900;cursor:pointer}.telegram-test-button{border:1px solid #34a6e7;background:#0d3f61;color:#8bd5ff;display:flex;align-items:center;justify-content:center;gap:8px}.telegram-test-button svg{width:21px}@media(max-width:600px){.telegram-event-choices,.telegram-form-actions{grid-template-columns:1fr}.telegram-event-option{min-height:70px}}
 .request-page-size{display:flex;justify-content:flex-start;align-items:center;margin:12px 0;}.request-page-size label{display:flex;align-items:center;gap:10px;color:var(--muted);font-weight:800;font-size:12px;}.request-page-size select{min-height:42px;padding:8px 30px 8px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit;font-weight:800}.admin-pagination{display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap;margin:18px 0 12px}.admin-pagination a{min-width:42px;min-height:42px;padding:9px 12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);font-weight:900}.admin-pagination a.active{background:var(--orange);border-color:var(--orange);color:#fff}.admin-pagination a:hover{border-color:var(--orange)}

.request-group-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.7em;padding:2px 7px;margin-inline-start:5px;border-radius:999px;background:rgba(255,255,255,.16);font-size:.85em;line-height:1.4;font-variant-numeric:tabular-nums}.customer-device-row{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;padding:15px 0;border-top:1px solid #24364a}.customer-device-row>div{min-width:0;flex:1 1 250px}.customer-device-row small{display:block;overflow-wrap:anywhere;margin-top:7px}.customer-device-row form{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.customer-devices>p{line-height:1.8}
/* Request cards and staff execution tools, 39.55 */
.admin-request-list .request-detail-card{display:block!important;width:100%;padding:20px;text-align:right;color:inherit;border-radius:20px;cursor:pointer;text-decoration:none;box-sizing:border-box}
.request-detail-card .request-card-content{width:100%;min-width:0}.request-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.request-client-title{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.request-client-title b{font-size:1.08rem;overflow-wrap:anywhere}.request-client-title small{color:#95abc1;font-size:.78rem}.request-card-position{display:inline-flex;align-items:center;justify-content:center;background:#183e59;color:#87d1ff;font-style:normal;min-width:26px;height:26px;border-radius:9px}.request-detail-card .status{position:static!important;flex-shrink:0}.request-card-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.request-card-facts>span{display:flex;flex-direction:column;gap:7px;padding:12px;background:rgba(4,16,28,.24);border-radius:12px;min-width:0}.request-card-facts small,.request-card-footer small{font-size:.78rem;color:#9fb4c9}.request-card-facts strong{font-size:.98rem;overflow-wrap:anywhere;font-weight:700}.request-card-facts [dir=ltr]{text-align:right}.request-card-footer{border-top:1px solid #23445d;display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:16px;padding-top:14px}.request-card-footer>span:first-child{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.request-detail-card .request-card-footer code{display:inline!important;margin:0;color:#4cbcff;font-size:.86rem;overflow-wrap:anywhere}.request-card-date{color:#acc1d4;font-size:.82rem}.request-card-open{margin-inline-start:auto;font-size:.86rem;color:#69c6ff;font-weight:700}.request-has-note{border:1px solid #b47b23;border-radius:8px;padding:4px 9px;font-size:.76rem;color:#ffd081;background:#503c172e}.staff-instructions-panel{margin-bottom:20px;border-color:#916922!important}.staff-note-callout{border-inline-start:4px solid #f0b855;background:#f0b8550e;padding:14px 18px;margin:14px 0;border-radius:10px}.staff-note-callout p{font-size:1rem;line-height:1.9;overflow-wrap:anywhere;white-space:normal}.staff-note-callout small{color:#9fb4c9}.staff-app-note-link{display:inline-block;margin-top:12px;color:#69c6ff}.request-copy-panel{margin-bottom:20px}.request-copy-panel p{line-height:1.8}.request-copy-result{display:block;width:100%;box-sizing:border-box;margin-top:14px;border:1px solid #294b69;border-radius:12px;background:#071727;color:#e9f3fc;padding:14px;line-height:1.8;resize:vertical;unicode-bidi:plaintext}.request-copy-result[hidden],.request-copy-again[hidden]{display:none}.request-copy-again{margin-top:10px}.request-copy-feedback{color:#b8d9ef}.wa-choice-page{min-height:80vh;display:grid;place-items:center;padding:24px}.wa-choice-card{width:min(100%,440px);box-sizing:border-box;border:1px solid #294c68;border-radius:24px;background:#0b2236;padding:28px;box-shadow:0 18px 60px #0004;text-align:center}.wa-choice-card h1{font-size:1.5rem;margin:12px 0}.wa-choice-card p{color:#b4c8da;line-height:1.8}.wa-choice-card>a{display:block;padding:15px;margin:12px 0;border-radius:12px;text-decoration:none;color:#fff;font-weight:700}.wa-choice-card a small{display:block;margin-top:5px;font-size:.8rem;opacity:.8}.wa-choice-business{background:#0f8b67}.wa-choice-regular{background:#165a46}.wa-choice-web{border:1px solid #3d6886;background:#112f47}.wa-phone{display:block;color:#8bdfc9;margin:18px 0}.wa-choice-card button{padding:10px 14px;margin:6px;border:1px solid #3d6886;border-radius:10px;background:#102d44;color:#d6eaf9}.wa-platform-note{font-size:.85rem}
@media(max-width:800px){.request-card-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.request-card-heading{gap:8px}.admin-request-list .request-detail-card{padding:15px}.request-card-footer{gap:10px}.request-card-open{margin-inline-start:0}.request-client-title{align-items:flex-start}.request-client-title b{font-size:1rem}}
.premium-list .request-detail-card>.request-card-content{padding:0!important;gap:0!important}.premium-list .request-detail-card:after{display:none!important;content:none!important}
/* Compact execution note and immediate copy, 39.56 */
.request-tools-compact{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px!important;margin-bottom:18px;border-color:#35526a!important}.request-tools-note{flex:1;min-width:0}.request-tools-note>small{color:#ffc779;font-weight:700;font-size:.78rem}.request-tools-note>p{margin:5px 0 0;line-height:1.7;font-size:.9rem;overflow-wrap:anywhere}.request-tools-copy{display:flex;flex-direction:column;align-items:center;gap:5px;flex-shrink:0}.request-tools-copy .admin-primary{padding:10px 16px!important;min-height:0!important;white-space:nowrap;font-size:.85rem!important}.request-tools-copy .request-copy-feedback{font-size:.78rem;min-height:0;line-height:1.3}.blocked-page{min-height:90vh;display:grid;place-items:center;padding:22px;box-sizing:border-box}.blocked-account-card{width:min(100%,470px);box-sizing:border-box;border:1px solid #714445;background:linear-gradient(160deg,#10263a,#081724);border-radius:24px;padding:30px;text-align:center;box-shadow:0 18px 65px #0005}.blocked-logo{width:76px;height:76px;object-fit:contain;display:block;margin:0 auto 18px}.blocked-symbol{display:inline-grid;place-items:center;border-radius:50%;width:50px;height:50px;background:#b73a3a22;color:#ff8e8e;border:1px solid #ba555577;font-size:1.9rem;font-weight:700}.blocked-account-card h1{font-size:1.35rem;line-height:1.7;margin:16px 0 7px;color:#ffe2e2}.blocked-account-card>p{font-size:.94rem;line-height:1.8;color:#b8cadd}.blocked-account-details{margin:22px 0;text-align:right;background:#071625;border-radius:14px;padding:5px 16px}.blocked-account-details>div{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid #263c51}.blocked-account-details>div:last-child{border:0}.blocked-account-details dt{color:#97afc5;font-size:.85rem;flex-shrink:0}.blocked-account-details dd{margin:0;color:#e8f2fc;font-size:.92rem;overflow-wrap:anywhere;text-align:left}.blocked-whatsapp{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;box-sizing:border-box;background:#138d66;color:white!important;border-radius:13px;padding:14px;font-size:.9rem;font-weight:700;text-decoration:none}.blocked-whatsapp svg{width:21px;height:21px}.blocked-support-empty{color:#ffc779!important}
@media(max-width:520px){.request-tools-compact{gap:12px;flex-wrap:wrap}.request-tools-copy{align-items:flex-start}.blocked-account-card{padding:24px 18px}.blocked-page{padding:16px}}

/* Application editor: full-width sections with readable pricing, 39.57 */
.app-editor{max-width:1120px;margin-inline:auto;padding-bottom:32px}
.app-editor .admin-heading.compact{padding:22px 26px!important;min-height:0!important;margin-bottom:20px!important;border-radius:20px!important}
.app-editor .admin-heading h1{font-size:1.8rem!important;margin:10px 0!important}
.app-editor .manager-columns{display:flex!important;flex-direction:column;gap:20px!important}
.app-editor .admin-panel{width:100%;min-width:0;box-sizing:border-box;margin:0 0 20px!important;padding:24px!important}
.app-editor .manager-columns>.admin-panel{margin:0!important}
.app-editor .admin-form{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start;gap:18px 22px!important}
.app-editor .admin-form>h2,.app-editor .admin-form>.panel-title,.app-editor .rate-profit-head,.app-editor .rate-profit-row,.app-editor .pricing-safe-note{grid-column:1/-1!important}
.app-editor h2{font-size:1.25rem!important;margin:0 0 8px!important}
.app-editor label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:.92rem}
.app-editor label small{line-height:1.6;color:var(--muted)}
.app-editor input,.app-editor textarea,.app-editor select{box-sizing:border-box;min-width:0;width:100%;font-size:.95rem!important}
.app-editor input[type=file]{padding:10px!important;overflow:hidden}
.app-editor input[type=file]::file-selector-button{margin-inline-end:10px;max-width:110px}
.app-editor .check-line,.app-editor .admin-check{flex-direction:row!important;align-items:center!important;gap:10px!important}
.app-editor input[type=checkbox]{width:18px!important;height:18px!important;min-height:18px!important;flex:0 0 18px}
.app-editor .rate-profit-head,.app-editor .rate-profit-row{display:grid!important;grid-template-columns:70px minmax(0,1fr) minmax(0,1fr) minmax(110px,.7fr)!important;gap:14px!important;align-items:center!important}
.app-editor .rate-profit-head{padding:0 16px;font-size:.85rem;color:var(--muted);text-align:center}
.app-editor .rate-profit-row{padding:14px 16px!important;border-radius:14px}
.app-editor .rate-profit-row strong{text-align:center}
.app-editor .rate-profit-row input{text-align:center;direction:ltr;padding:10px!important}
.app-editor .rate-profit-row output{white-space:nowrap;text-align:center;padding:12px 8px!important;font-size:.95rem!important}
.app-editor .pricing-safe-note{font-size:.85rem;line-height:1.7;padding:12px 16px}
.app-editor .field-form{grid-template-columns:minmax(0,2fr) minmax(0,1fr) 90px 120px 90px!important;gap:12px!important;align-items:center;margin-top:16px}
.app-editor .field-form .check-line{margin:0}
.app-editor .field-form+form{margin:10px 0 20px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.app-editor .app-delete-safe{display:flex!important;align-items:center;justify-content:space-between;gap:20px;border-color:#734343!important;background:#281a20!important}
.app-editor .app-delete-safe p{margin:6px 0 0;line-height:1.7;font-size:.85rem}
.app-editor .app-delete-safe h2{font-size:1rem!important;margin:4px 0!important}
.app-editor .app-delete-safe button{flex-shrink:0;white-space:normal;max-width:240px}
@media(max-width:650px){
.app-editor .admin-panel{padding:18px!important}
.app-editor .admin-form{grid-template-columns:minmax(0,1fr)!important}
.app-editor .admin-heading.compact{padding:18px!important}
.app-editor .rate-profit-head{display:none!important}
.app-editor .rate-profit-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.app-editor .rate-profit-row strong{grid-column:1/-1;text-align:right}
.app-editor .rate-profit-row:before{content:'يستلم العميل';grid-column:1;grid-row:2;font-size:.8rem;color:var(--muted)}
.app-editor .rate-profit-row:after{content:'القيمة الفعلية لك';grid-column:2;grid-row:2;font-size:.8rem;color:var(--muted)}
.app-editor .rate-profit-row input{grid-row:3}
.app-editor .rate-profit-row output{grid-column:1/-1;text-align:right}
.app-editor .rate-profit-row output:before{content:'فرق الربح: ';font-size:.8rem}
.app-editor .field-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.app-editor .field-form>input[name=label],.app-editor .field-form>button{grid-column:1/-1}
.app-editor .app-delete-safe{flex-direction:column!important;align-items:stretch}
.app-editor .app-delete-safe button{max-width:none}
}

/* Compact customer administration, 39.58 */
.customer-editor{max-width:1120px;margin-inline:auto;padding-bottom:110px}
.customer-editor .customer-profile-hero{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:16px;padding:22px!important;min-height:0!important;margin-bottom:18px}
.customer-editor .customer-profile-main{display:flex;align-items:center;gap:16px;flex-wrap:wrap;min-width:0}
.customer-editor .customer-profile-main>div{flex:1;min-width:180px}
.customer-editor .customer-profile-main h1{font-size:1.5rem!important;line-height:1.5;margin:4px 0 8px!important}
.customer-editor .customer-profile-avatar{width:54px!important;height:54px!important;border-radius:16px!important;flex-shrink:0}
.customer-editor .customer-account-state{min-width:0!important;padding:10px 14px!important;font-size:.85rem!important}
.customer-editor .customer-primary-actions{display:flex!important;flex-wrap:wrap;gap:10px}
.customer-editor .customer-primary-actions a,.customer-editor .customer-primary-actions button{padding:10px 16px!important;min-height:0!important;font-size:.9rem!important;border-radius:12px!important;white-space:nowrap}
.customer-editor .customer-balance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}
.customer-editor .customer-balance-grid article{display:flex!important;flex-direction:column;gap:10px;padding:18px!important;min-width:0}
.customer-editor .customer-balance-grid strong{display:block;font-size:1.6rem!important;text-align:right;overflow-wrap:anywhere}
.customer-editor .customer-balance-grid article>a{display:block;align-self:flex-start;font-size:.8rem!important;padding:6px 10px;border:1px solid var(--line);border-radius:8px;text-decoration:none}
.customer-editor-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px;border-bottom:1px solid var(--line);padding-bottom:12px}
.customer-editor-tabs button{font:inherit;font-weight:700;color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:11px 18px;cursor:pointer}
.customer-editor-tabs button[aria-pressed=true]{background:#123e5b;color:#fff;border-color:#2695d0}
.customer-editor [data-customer-panel][hidden]{display:none!important}
.customer-editor .admin-panel{padding:20px!important;box-sizing:border-box;min-width:0;margin-bottom:18px}
.customer-editor h2{font-size:1.15rem!important;margin:4px 0!important}
.customer-editor .panel-title{gap:12px;flex-wrap:wrap}
.customer-editor .security-note,.customer-editor .customer-devices p{font-size:.85rem!important;line-height:1.8;margin:10px 0 16px}
.customer-editor .admin-data{padding:8px 14px!important;margin:0}
.customer-editor .admin-data>div{align-items:start;flex-wrap:wrap}
.customer-editor .admin-data dd{margin:0;overflow-wrap:anywhere}
.customer-editor .admin-form{gap:14px!important}
.customer-editor .admin-primary,.customer-editor .danger-button{font-size:.9rem!important;padding:12px 16px!important;min-height:0!important}
.customer-editor .security-actions>div,.customer-editor .customer-password-tools{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.customer-editor .customer-danger-zone{padding:18px!important;background:#271b24!important;border:1px solid #733e46!important;display:flex;align-items:center;justify-content:space-between;gap:18px}
.customer-editor .customer-danger-zone p{font-size:.85rem;line-height:1.7;margin:8px 0 0}
.customer-editor .customer-action-zero{font:inherit;font-size:.85rem;background:#8e2837;color:#fff;border:1px solid #b34855;border-radius:11px;padding:10px 14px;cursor:pointer;white-space:nowrap}
.customer-editor .customer-device-row{gap:12px;flex-wrap:wrap}
.customer-editor .customer-device-row small{overflow-wrap:anywhere}
.customer-editor .admin-section-title{margin-top:26px}
.customer-editor .customer-movements{margin-top:22px}
.customer-movement-list article{display:flex;justify-content:space-between;gap:18px;padding:14px 0;border-bottom:1px solid var(--line)}
.customer-movement-list article:last-child{border:0}
.customer-movement-list article>div{display:flex;flex-direction:column;gap:6px;min-width:0}
.customer-movement-list small{font-size:.8rem;color:var(--muted)}
.customer-movement-list b{overflow-wrap:anywhere}
@media(max-width:650px){.customer-editor .customer-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-editor .customer-profile-layout{grid-template-columns:1fr!important}.customer-editor .customer-danger-zone{flex-direction:column;align-items:stretch}.customer-editor .customer-profile-main>div{min-width:0;flex-basis:65%}.customer-editor .customer-account-state{margin-inline-start:70px}.customer-editor-tabs button{padding:10px 12px;font-size:.85rem}.customer-movement-list article{flex-direction:column;gap:10px}.customer-editor .customer-primary-actions a{flex:1;text-align:center}.customer-editor .customer-primary-actions a:last-of-type{flex-basis:100%}}

.zaffa-settings .security-note{font-size:.85rem;line-height:1.8;margin:10px 0 16px}.zaffa-verification{display:flex;flex-direction:column;gap:9px;padding:16px 18px!important;border-color:#765b27!important}.zaffa-verification>small{color:#b7c7d8;font-size:.8rem}.zaffa-verification.verified{border-color:#21936b!important;background:#0c302b!important}.zaffa-verification>div{display:flex;flex-wrap:wrap;gap:10px 24px;font-size:.85rem}.zaffa-list-badge{font-size:.8rem;color:#7ce0b6;margin:8px 0;padding:7px 10px;background:#0d392b;border-radius:9px}
