/* Almajad CRM v3.6.50: display hotfix for confirmation cards and appointment workbench. */
body.app-body .crm3650-confirm{width:100%;max-width:100%;overflow:hidden;box-shadow:0 12px 32px rgba(23,70,91,.05)}
body.app-body .crm3650-confirm__card{transition:transform .18s ease,box-shadow .18s ease}
@media(hover:hover){body.app-body .crm3650-confirm__card:hover{transform:translateY(-2px);box-shadow:0 15px 32px rgba(23,70,91,.09)}}
body.app-body .v33-workbench-head,body.app-body .v33-queue-grid,body.app-body .v33-board{min-width:0;max-width:100%}
@media(max-width:720px){body.app-body .v33-board{min-width:0!important}body.app-body .v33-lead-list{min-width:0!important}}

/* 2026-11-28: receipt review styles (were an inline <style> in app/receipt_approvals_v360.php, blocked by the CSP) */
.crm3645-history{margin-top:18px;border:1px solid #d8e6eb;background:#f8fbfd;border-radius:16px;padding:0 16px 16px}
.crm3645-history>summary{cursor:pointer;padding:18px 4px;color:#194a68;font-size:16px;font-weight:850;list-style-position:inside}
.crm3645-history[open]>summary{border-bottom:1px solid #d8e6eb}
.crm3645-warning,.crm3645-error{display:flex;flex-direction:column;gap:6px;padding:14px 17px;border:1px solid #f2d4a9;border-radius:12px;background:#fffaef;color:#80531b;margin:13px 0;font-size:14px;line-height:1.7}
.crm3645-warning strong{font-size:15px}
.crm3645-ledger-note{background:#edf8f4;color:#1e664e;border:1px solid #c4e4d7;padding:11px 14px;border-radius:12px;margin:12px 0;font-size:14px}
.crm3645-repair{display:flex;align-items:flex-start;gap:10px;border:1px solid #e8c7a1;background:#fff6e9;padding:12px;border-radius:12px;margin:12px 0;font-size:14px;font-weight:750}
.crm3645-repair input{width:17px;min-height:17px!important;flex-shrink:0;margin:3px 0}
.crm3645-empty{grid-column:1/-1;text-align:center;background:#f5f9fb;border-radius:14px;padding:26px;color:#4d7184;font-weight:750}
@media(max-width:700px){.crm3645-history{padding:0 9px 12px}.crm3645-history>summary{font-size:14px}.crm3645-history .crm360-review-list{grid-template-columns:1fr!important}.crm3645-history .crm360-review-card{padding:12px}}

/* 2026-11-28: layout that was in style="" attributes (blocked by the CSP) */
.crm359-reviewed-history{margin-top:14px}
.crm359-reviewed-history>summary{cursor:pointer;font-weight:800;padding:12px}
.crm359-reviewed-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px;margin-top:12px}
.crm359-reviewed-card{border:1px solid #d8e9e9;border-radius:14px;padding:14px;background:#f8fcfc}
.crm359-reviewed-amt{margin:8px 0}
.crm3616-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:14px}
.crm359-appointment-pay-box{margin-top:14px;padding:20px;border:1px solid #c4ded7;background:#f4fbf8}
.crm359-mt10{margin-top:10px}

/* 2026-11-28 (EN-04): in English the phone menu opens from the left, the side of its button */
@media(max-width:900px){html[dir=ltr] .sidebar{right:auto!important;left:-285px;transition:left .22s}html[dir=ltr] .menu-open .sidebar{left:0}}
