/* Scoped to the private Dispatcher. Public pages and other workspaces are unchanged. */
.admin-workspace[data-workspace-screen=home] .customer-head,.admin-workspace[data-workspace-screen=requests] .customer-head{display:none}
.admin-workspace[data-workspace-screen=home] #customersCount,.admin-workspace[data-workspace-screen=requests] #customersCount{visibility:hidden;height:0;margin:0}
.admin-workspace .flow-order-identity{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.admin-workspace .flow-order-identity h3{margin:0;font-size:20px}
.admin-workspace .flow-profile-heading{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:8px}
.admin-workspace .flow-profile-heading h2{margin:0}
.admin-workspace .flow-profile-heading #customerDetailContact{position:static;display:flex;gap:8px;flex-wrap:wrap;margin:0;padding:0}
.admin-workspace #customersPanel .flow-home-tabs{display:flex;gap:12px;border-bottom:1px solid #dce5df;margin:12px 0 22px;padding-bottom:10px;flex-wrap:wrap}
.admin-workspace #customersPanel .flow-home-tabs button{background:transparent;color:#155b45;min-height:40px;padding:8px 12px;font-size:13px;border:1px solid #dce5df}
.admin-workspace[data-workspace-screen=home] .workspace-directory,.admin-workspace[data-workspace-screen=requests] .workspace-directory,.admin-workspace #crmRequestInbox>.workspace-table-head{display:none}
.admin-workspace #crmRequestInbox{background:transparent;border:0;box-shadow:none;padding:0}
.admin-workspace #crmRequestsList{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:22px;border:0;background:transparent;overflow:visible}
.admin-workspace #crmRequestsList>section{min-width:0}
.admin-workspace #crmRequestsList>section>h2{font-size:19px;margin:0 0 14px}
.admin-workspace #crmRequestsList .flow-request-card{background:white;padding:18px;border:1px solid #dce5df;border-radius:10px;box-shadow:none;margin:0 0 14px}
.admin-workspace .flow-card-title{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}
.admin-workspace .flow-card-title h3{font-size:17px;margin:0}
.admin-workspace .flow-request-card .flow-card-service{font-size:12px;margin:5px 0}
.admin-workspace .flow-request-card>small{font-size:11px;color:#62756a}
.admin-workspace .flow-next-action{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e2ebe4;margin-top:16px;padding-top:13px}
.admin-workspace .flow-next-action small{font-size:10px;color:#62756a}
.admin-workspace .flow-next-action p{font-size:12px;margin:3px 0}
.admin-workspace #customersPanel .flow-next-action button{flex:none;min-height:42px;font-size:12px;padding:10px 12px;border-radius:7px}
.admin-workspace .flow-card-money{font-size:12px;background:#edf3ef;border-radius:6px;padding:10px;line-height:1.8}
.admin-workspace .flow-request-detail{border-top:1px solid #e5ebe5;padding-top:12px;margin-top:13px}
.admin-workspace .flow-request-detail>summary{font-size:11px;color:#155b45;cursor:pointer}
.admin-workspace .flow-request-detail>div{padding-top:14px}
.admin-workspace .flow-empty{border:1px dashed #c8d8ce;border-radius:9px;padding:20px;font-size:13px}
.admin-workspace #customersList{display:grid;gap:12px;border:0;background:transparent}
.admin-workspace #customersList .workspace-client-row{display:grid;grid-template-columns:minmax(0,1fr) auto;border:1px solid #dce5df;border-radius:9px;padding:17px;gap:8px;background:white}
.admin-workspace #customersList .workspace-client-name{grid-column:1/-1;flex-wrap:wrap;gap:10px}
.admin-workspace #customersList .workspace-client-name h3{font-size:17px}
.admin-workspace #customersList .workspace-client-phone,.admin-workspace #customersList .workspace-client-email,.admin-workspace #customersList .workspace-client-city{grid-column:1;grid-row:auto}
.admin-workspace #customersList .workspace-client-history{grid-column:1;grid-row:auto}
.admin-workspace #customersList .workspace-client-row>button{grid-column:2;grid-row:auto}
.admin-workspace #workspaceDirectory>.workspace-table-head{display:none}
.admin-workspace .client-contact-actions{display:inline-flex;gap:6px;flex-wrap:nowrap}
.admin-workspace #customersPanel .client-contact-action{display:grid;place-items:center;width:40px;height:40px;min-width:40px;border:1px solid #cdded1;border-radius:7px;background:#f2f7f2;color:#155b45;text-decoration:none}
.admin-workspace .client-contact-action svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.admin-workspace #customersPanel .client-contact-action[aria-disabled=true]{color:#b7c2b8;background:#f7f8f6;border-color:#e4e9e3}
.admin-workspace .client-contact-action:focus-visible{outline:3px solid #155b45;outline-offset:3px}
.admin-workspace .flow-directory-note{font-size:12px;margin:4px 0 18px}
.admin-workspace #customerCreateDocuments{background:#edf3ef;border:1px solid #d7e2d8;border-radius:10px;padding:18px;margin-bottom:18px}
.admin-workspace #customerCreateDocuments h3{font-size:16px;margin:0 0 12px}
.admin-workspace #customerCreateDocuments p{font-size:11px;margin:10px 0 0}
.admin-workspace #customerCreateDocuments .crm-primary-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;justify-content:stretch}
.admin-workspace #customerCreateDocuments .crm-primary-actions button{width:100%;min-height:46px!important}
.admin-workspace .crm-secondary-actions{margin-bottom:18px;flex-wrap:wrap}
.admin-workspace #customerWorkReceipts{border-top:1px solid #dce5df;padding-top:18px;margin:22px 0}
.admin-workspace #customerWorkReceipts h3{font-size:18px}
.admin-workspace #customerWorkReceipts .customer-event{margin:12px 0;padding:16px;box-shadow:none}
.admin-workspace .flow-order-quick{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.admin-workspace #customersPanel .flow-order-quick button{font-size:12px;min-height:42px;padding:10px 12px}
.admin-workspace .flow-order-customer{margin:0 0 6px;font-size:19px}
.admin-workspace .flow-closed-receipts{border-top:1px solid #dce5df;padding-top:12px;margin-top:12px}
.admin-workspace .flow-closed-receipts h4{font-size:14px;margin:0 0 10px}
.admin-workspace .flow-closed-receipts a{display:block;font-size:12px;overflow-wrap:anywhere;margin-top:8px}
.admin-workspace #clientReceiptChooser{width:min(580px,calc(100% - 24px));max-height:85vh;overflow:auto;background:white;color:#18372c;border:1px solid #dce5df;border-radius:12px;padding:24px}
.admin-workspace #clientReceiptChooser h2{font-size:22px}
.admin-workspace #clientReceiptChooser::backdrop{background:#18372c77}
.admin-workspace .flow-receipt-choices{display:grid;gap:10px;margin:20px 0}
.admin-workspace #clientReceiptChooser button{text-align:left;min-height:44px;font-size:13px;white-space:normal}
.admin-workspace #workOrderDialog.flow-payment-mode{width:min(600px,calc(100% - 24px));background:white}
.admin-workspace #workOrderDialog.flow-payment-mode #workOrderDocuments{display:none}
.admin-workspace #workOrderDialog.flow-payment-mode #workPaymentForm{padding:0;border:0;background:transparent}
.admin-workspace .flow-payment-balance{padding:18px;background:#edf3ef;border:1px solid #dce5df;border-radius:9px;line-height:1.8;font-size:15px;margin:18px 0}
.admin-workspace #flowPaymentMore{border-bottom:1px solid #dce5df;padding:12px 0;margin-bottom:18px}
.admin-workspace #flowPaymentMore summary{cursor:pointer;font-size:13px;color:#52685d}
.admin-workspace #recordWorkPayment{width:100%;min-height:52px;font-size:15px}
.admin-workspace #workOrderDialog .flow-payment-confirm{display:flex;align-items:flex-start;gap:9px;margin:20px 0}
.admin-workspace #workOrderDialog .flow-payment-confirm input{margin-top:3px;min-width:18px;height:18px}
.admin-workspace.crm-estimate-mode #customerCreateDocuments{display:none}
@media(max-width:1000px){.admin-workspace #crmRequestsList{grid-template-columns:1fr}.admin-workspace #customersList .workspace-client-name{grid-column:1/-1}.admin-workspace #customerCreateDocuments .crm-primary-actions{grid-template-columns:1fr}.admin-workspace .flow-next-action{flex-wrap:wrap}.admin-workspace .crm-customer-identity{grid-template-columns:54px minmax(0,1fr)}.admin-workspace #customerDetailContact{grid-column:2;position:static;flex-wrap:wrap}.admin-workspace #customersList .workspace-client-row>button{grid-column:1/-1;justify-self:start}}
