/* Mobile-only app shell. Desktop keeps the existing dispatcher layout. */
/* Rental profile cards have no avatar: their name must not occupy the 46px avatar column. */
body.admin-workspace #customerRequestsHistory .rental-inbox-card>.crm-request-identity{display:block;min-width:0;width:100%}
body.admin-workspace #customerRequestsHistory .rental-inbox-card>.crm-request-identity>h3{width:100%;max-width:100%;min-width:0;white-space:normal;word-break:normal;overflow-wrap:break-word;hyphens:none;line-height:1.3;letter-spacing:-.015em;margin:0 0 12px}
@media(max-width:700px){body.admin-workspace .crm-secondary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}body.admin-workspace .crm-secondary-actions button{min-width:0;min-height:48px;font-size:14px;line-height:1.3;white-space:normal;word-break:normal;overflow-wrap:break-word;padding:12px}}
@media(max-width:700px){body.admin-workspace #customerDetail .rental-flow-money{grid-template-columns:repeat(auto-fit,minmax(min(100%,96px),1fr))}body.admin-workspace #customerDetail .rental-flow-money strong{font-size:20px;white-space:nowrap;overflow-wrap:normal}}
@media(max-width:700px){body.admin-workspace #refreshCustomerProfile{flex:none;white-space:nowrap;word-break:normal;font-size:13px;padding:10px 12px}body.admin-workspace .crm-detail-title h1{min-width:0;line-height:1.3}}
@media(max-width:700px){body.admin-workspace .customer-tabs button{min-width:0;padding:10px 8px!important;white-space:nowrap;word-break:normal;font-size:13px!important}}
.mobile-request-summary,.mobile-request-intro,#mobileRequestNotifications,.crm-bottom-nav .mobile-request-tab,#crmMoreDialog .mobile-more-jobs{display:none}
body.admin-workspace .crm-bottom-nav .mobile-request-tab{display:none}
.crm-bottom-nav .mobile-home-tab,#mobileHome,.mobile-fab,.mobile-traffic,.crm-bottom-nav.mobile-rental-nav,.rental-mobile-customer{display:none}
.mobile-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:700px){
 body.admin-workspace{background:#f5f7f3;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#18372c;-webkit-tap-highlight-color:transparent}
 body.admin-workspace.crm-mode main{width:auto;min-width:0;margin:0 18px calc(108px + env(safe-area-inset-bottom));padding:0}
 body.admin-workspace #customersPanel{padding:0;min-width:0}
 body.admin-workspace button,body.admin-workspace input,body.admin-workspace select,body.admin-workspace textarea{font-family:inherit}
 body.admin-workspace :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px;min-height:48px;max-width:100%;box-sizing:border-box;border-radius:12px}
 body.admin-workspace :is(button,a.secondary){min-height:44px;touch-action:manipulation}
 body.admin-workspace :is(button,input,select,textarea,a):focus-visible{outline:3px solid #91b8a4;outline-offset:3px}
 body.mobile-home-active .crm-brand,body.mobile-home-active #crmRequestInbox,body.mobile-home-active #customerImport{display:none!important}
 body.mobile-home-active #mobileHome{display:block}
 #mobileHome[hidden],.mobile-fab[hidden],.mobile-traffic[hidden],#mobileHome [hidden],#mobileCreateSheet [hidden]{display:none!important}
 #mobileHome{padding-top:max(8px,env(safe-area-inset-top));padding-bottom:14px}
 #mobileHome h1,#mobileHome h2,#mobileHome h3,#mobileHome p{margin:0;letter-spacing:-.025em}
 .mobile-home-brand{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px}
 .mobile-home-brand img{display:block;width:132px;height:58px;object-fit:contain}
 body.admin-workspace #mobileNotifications{position:relative;width:46px;height:46px;padding:11px;background:#fff;color:#18372c;border:1px solid #dce5df;border-radius:50%;box-shadow:0 2px 6px #1a382a03}
 #mobileNotifications svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
 #mobileNotificationCount{position:absolute;right:-2px;top:-3px;min-width:18px;height:18px;border-radius:20px;background:#eab64e;color:#18372c;font-size:10px;display:grid;place-items:center;border:2px solid #f5f7f3}
 #mobileHome .mobile-greeting h1{font-size:30px;font-weight:730;line-height:1.25;color:#18372c}
 .mobile-greeting h1 span{color:#52685d}
 #mobileHome .mobile-greeting p{font-size:14px;color:#52685d;margin-top:5px;text-transform:none}
 .mobile-home-search{display:flex;align-items:center;gap:10px;background:white;border:1px solid #dce5df;border-radius:15px;margin:22px 0 18px;padding:0 14px;box-shadow:0 3px 9px #1a382a03}
 .mobile-home-search>.crm-icon{width:20px;height:20px;color:#52685d;flex:none}
 body.admin-workspace #mobileHomeSearch{width:100%;border:0;background:transparent;box-shadow:none;padding:14px 0;color:#18372c;min-height:52px;outline-offset:0}
 #mobileHomeSearch::placeholder{color:#52685d;font-size:14px}
 .mobile-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 body.admin-workspace #mobileHome .mobile-metrics>button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;border:1px solid #dce5df;background:#edf3ef;color:#155b45;border-radius:15px;padding:14px 13px;text-align:left;min-width:0}
 .mobile-metrics strong{font-size:27px;line-height:1.1;font-weight:700}
 .mobile-metrics span{color:inherit;font-size:12px;font-weight:450;letter-spacing:0}
 body.admin-workspace #mobileHome .mobile-metrics>button:nth-child(2){background:#edf3ef;border-color:#dce5df}
 body.admin-workspace #mobileHome .mobile-metrics>button:nth-child(3){background:#edf3ef;border-color:#dce5df}
 body.admin-workspace #mobileHome .mobile-metrics>button[aria-pressed=true]{border-color:#155b45;box-shadow:0 0 0 1px #155b45}
 .mobile-section-title{display:flex;align-items:center;gap:12px;margin:25px 0 13px}
 #mobileHome .mobile-section-title h2{font-size:20px;line-height:1.25;flex:1;font-weight:700}
 body.admin-workspace #mobileHome .mobile-section-title>button{background:transparent;color:#52685d;padding:5px 0;font-size:12px;font-weight:550;min-height:44px}
 body.admin-workspace #mobileHome #mobileHomeRefresh{font-size:24px;padding:0;width:32px}
 #mobileHomeStatus{font-size:12px;color:#52685d;line-height:1.5;margin:4px 0 10px!important}
 #mobileHomeStatus:empty{display:none}
 .mobile-task-list{display:grid;gap:12px}
 .mobile-task{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:start;gap:9px 12px;padding:17px 15px;background:#fff;border:1px solid #dce5df;border-radius:17px;box-shadow:0 3px 12px #213b2804;min-width:0}
 .mobile-task-icon{display:grid;place-items:center;width:46px;height:48px;border-radius:12px;background:#edf3ef;color:#155b45}
 .mobile-task-icon svg{width:25px;height:25px}
 .mobile-task-copy{grid-column:2/-1;min-width:0}
 #mobileHome .mobile-task h3{font-size:16px;font-weight:670;line-height:1.35;color:#18372c;overflow-wrap:anywhere}
 #mobileHome .mobile-task p{font-size:13px;color:#52685d;margin-top:4px}
 .mobile-task-copy small{display:block;font-size:11px;color:#52685d;margin-top:6px}
 #mobileHome .mobile-task-status{grid-column:1/3;align-self:center;justify-self:start;font-size:10px;line-height:1.4;background:#edf3ef;border:1px solid #dce5df;color:#155b45;padding:5px 8px;border-radius:6px;max-width:100%;box-sizing:border-box}
 body.admin-workspace #mobileHome .mobile-task-open{grid-column:3;justify-self:end;background:#edf3ef;color:#155b45;border:1px solid #dce5df;border-radius:9px;font-size:12px;font-weight:600;padding:8px 12px;min-height:38px;margin-top:0;white-space:nowrap}
 .mobile-task-status+.mobile-task-open{grid-row:2}
 .mobile-empty{padding:28px 18px;text-align:center;background:#fff;border:1px solid #e3ebe3;border-radius:17px;color:#8da283}
 .mobile-empty>.crm-icon{height:34px;width:34px;margin-bottom:12px}
 #mobileHome .mobile-empty h3{font-size:17px;color:#155b45}
 #mobileHome .mobile-empty p{font-size:13px;line-height:1.6;color:#7e8d80;margin:8px auto 0;max-width:260px}
 .mobile-customer-result{display:flex!important;align-items:center;gap:12px!important;background:white!important;color:#155b45!important;border:1px solid #dce5df!important;border-radius:13px!important;padding:12px!important;text-align:left!important;width:100%;font-size:15px!important;min-width:0}
 .mobile-customer-result>span:nth-child(2){min-width:0;flex:1;overflow-wrap:anywhere}
 .mobile-customer-result small{display:block;font-size:12px;color:#52685d;margin-top:4px}
 .mobile-customer-result>.crm-icon{transform:rotate(180deg);width:18px;height:18px}
 .mobile-avatar{width:38px;height:38px;flex:none;border-radius:50%;display:grid;place-items:center;background:#edf3ef;color:#155b45;font-size:13px;font-weight:600}
 body.admin-workspace .crm-bottom-nav{box-sizing:border-box;left:0;right:0;bottom:0;border:0;border-top:1px solid #dce5df;border-radius:0;background:#fffffff5;backdrop-filter:blur(18px);gap:0;padding:7px 8px max(8px,env(safe-area-inset-bottom));box-shadow:0 -4px 20px #24413005;min-height:72px;z-index:20}
 body.admin-workspace .crm-bottom-nav button{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:5px;max-width:none;min-width:0;min-height:54px;padding:6px 2px;background:transparent;color:#99a395;font-weight:450;border:0;border-radius:12px}
 body.admin-workspace .crm-bottom-nav .mobile-home-tab{display:flex}
 body.admin-workspace .crm-bottom-nav button span{font-family:inherit;font-size:10px!important;font-weight:inherit}
 body.admin-workspace .crm-bottom-nav button .crm-icon{width:23px;height:23px;stroke-width:1.6}
 body.admin-workspace .crm-bottom-nav button[aria-pressed=true]{color:#155b45;font-weight:650}
 body.admin-workspace .mobile-fab{display:grid;place-items:center;position:fixed;right:22px;bottom:calc(90px + env(safe-area-inset-bottom));height:54px;width:54px;padding:0;border:0;border-radius:50%;background:#155b45;color:white;font-size:32px;line-height:1;font-weight:300;box-shadow:0 5px 17px #33592b38;z-index:19}
 body.admin-workspace .mobile-traffic{display:block;margin:28px 0 10px;border-top:1px solid #dce5df}
 .mobile-traffic>summary{padding:18px 2px;color:#52685d;font-size:13px;cursor:pointer}
 body.admin-workspace #mobileCreateSheet{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:100%;max-height:85dvh;box-sizing:border-box;border:0;border-radius:25px 25px 0 0;padding:9px 22px calc(24px + env(safe-area-inset-bottom));background:#f5f7f3;color:#155b45;overflow:auto}
 #mobileCreateSheet::backdrop{background:#142b2459;backdrop-filter:blur(3px)}
 .mobile-sheet-handle{height:4px;width:35px;background:#dce5df;border-radius:3px;margin:0 auto 15px}
 #mobileCreateSheet .crm-dialog-head{margin-bottom:14px}
 #mobileCreateSheet h2{font-size:20px;line-height:1.4;letter-spacing:-.03em}
 #mobileCreateSheet [data-close]{padding:8px 0 8px 12px;font-size:12px;background:transparent;color:#155b45;border:0}
 #mobileCreateOptions{display:grid;gap:9px}
 #mobileCreateOptions>button{display:flex;align-items:center;gap:14px;padding:15px;background:white;color:#18372c;border:1px solid #dce5df;border-radius:14px;text-align:left;font-size:16px;line-height:1.3}
 #mobileCreateOptions small{display:block;font-size:12px;color:#52685d;font-weight:400;margin-top:4px}
 .mobile-create-symbol{display:grid;place-items:center;width:38px;height:40px;flex:none;border-radius:10px;background:#edf3ef;color:#155b45;font-size:25px;font-weight:400}
 #mobileChooseClient label{font-size:13px;color:#52685d}
 #mobileClientSearch{display:block;width:100%;margin:8px 0 14px;padding:12px;border:1px solid #dce5df;background:#fff;border-radius:12px;font:inherit}
 #mobileClientChoices{display:grid;gap:8px;max-height:48dvh;overflow:auto;margin-bottom:15px}
 /* Full-height documents with large controls and a familiar back action. */
 body.admin-workspace :is(#rentalManageDialog,#rentalCreateDialog,#customerInvoiceDialog,#directReceiptDialog,#requestWorkflowDialog){position:fixed;inset:0;width:100%;height:100dvh;max-width:100%;max-height:100dvh;margin:0;border:0;border-radius:0;padding:calc(12px + env(safe-area-inset-top)) 20px calc(30px + env(safe-area-inset-bottom));background:#f5f7f3;overflow:auto;box-sizing:border-box;color:#18372c}
 body.admin-workspace #rentalManageDialog{padding-bottom:calc(98px + env(safe-area-inset-bottom))}
 #rentalManageDialog>.crm-dialog-head{min-height:48px;flex-direction:row-reverse;justify-content:flex-end;margin:0 0 16px}
 #rentalManageDialog .crm-dialog-head h2{font-size:0;flex:1;text-align:center;margin:0 44px 0 0}
 #rentalManageDialog .crm-dialog-head h2::after{content:'Detalle de renta';font-size:17px;font-weight:650;color:#18372c}
 #rentalManageDialog .crm-dialog-head [data-close]{font-size:0;width:38px;height:44px;min-width:38px;padding:0;background:transparent;color:#155b45;border:0}
 #rentalManageDialog .crm-dialog-head [data-close]::after{content:'‹';font-size:35px;line-height:1;font-weight:300}
 #rentalManageDialog>[data-rental-customer]{display:none}
 #rentalManageDialog .rental-flow-card{padding:0;border:0;background:transparent;border-radius:0;display:flex;flex-direction:column}
 #rentalManageDialog .rental-flow-heading{display:contents}
 #rentalManageDialog .rental-flow-heading-copy{order:0}
 #rentalManageDialog .rental-flow-heading-copy small{display:none}
 #rentalManageDialog .rental-flow-heading-copy h3{font-size:27px;letter-spacing:-.04em;font-weight:700;margin:0 0 17px;line-height:1.2}
 #rentalManageDialog .rental-mobile-customer{order:1;display:flex;align-items:center;gap:10px;font-size:14px;color:#52685d;margin-bottom:12px}
 #rentalManageDialog .rental-mobile-customer>span{color:inherit}
#rentalManageDialog .rental-mobile-customer .mobile-avatar{width:30px;height:30px;font-size:11px}
 #rentalManageDialog .rental-flow-description{display:none}
 #rentalManageDialog .rental-flow-dates{order:2;margin:0 0 12px;font-size:13px;color:#52685d}
 #rentalManageDialog .rental-flow-state{order:3;align-self:flex-start;font-size:11px;font-weight:500;color:#155b45;background:#edf3ef;border-color:#dce5df;padding:7px 11px;border-radius:7px;line-height:1.5}
 #rentalManageDialog .rental-flow-steps{order:4;display:flex;flex-direction:column;gap:0;padding:5px 18px;margin:18px 0 13px;border:1px solid #dce5df;border-radius:16px;background:white}
 #rentalManageDialog .rental-flow-steps li{position:relative;display:flex;flex-direction:row;align-items:center;border:0;gap:13px;min-height:44px;padding:3px 0;font-size:14px;color:#52685d}
 #rentalManageDialog .rental-flow-steps li+li{border-top:1px solid #f0f3eb}
 #rentalManageDialog .rental-flow-steps li strong{font-weight:500}
 #rentalManageDialog .rental-flow-steps li>span{width:23px;height:23px;font-size:14px;flex:none;background:#edf3ef;color:#a5b391}
 #rentalManageDialog .rental-flow-steps li.done{color:#155b45}
 #rentalManageDialog .rental-flow-steps li.done>span{background:#edf3ef;color:#155b45}
 #rentalManageDialog .rental-flow-money{order:5;padding:17px 12px;background:white;border:1px solid #dce5df;border-radius:14px;gap:6px;margin-bottom:12px}
 #rentalManageDialog .rental-flow-money>div+div{border-left:1px solid #dce5df;padding-left:10px}
 #rentalManageDialog .rental-flow-money small{font-size:11px;color:#52685d;margin-bottom:5px}
 #rentalManageDialog .rental-flow-money strong{font-size:21px;letter-spacing:-.03em;font-weight:650;color:#155b45}
 #rentalManageDialog .rental-signature-note,#rentalManageDialog .rental-active-note{display:none}
 #rentalManageDialog .rental-flow-note{order:6;font-size:11px;color:#52685d;margin:4px 0;line-height:1.5}
 #rentalManageDialog .rental-flow-actions{order:7;display:flex;flex-direction:column;gap:9px;margin-top:18px}
 body.admin-workspace #rentalManageDialog .rental-flow-actions>:is(button,a){width:100%;min-height:49px;font-size:13px;border-radius:12px;line-height:1.4;background:white;color:#155b45;border:1px solid #dce5df;justify-content:flex-start;padding:13px 15px;text-align:left}
 #rentalManageDialog .rental-flow-actions .rental-action-document{order:-2}
 #rentalManageDialog .rental-flow-actions .rental-action-document::before{content:'▤';font-size:20px;margin-right:10px;color:#52685d}
 #rentalManageDialog .rental-flow-actions .rental-action-payment{order:-1}
 body.admin-workspace #rentalManageDialog .rental-flow-actions .rental-action-pickup{order:2;background:#155b45;color:#fff;border-color:#155b45;justify-content:center;text-align:center;font-weight:600;min-height:51px;margin:9px 0 5px;box-shadow:0 3px 7px #345d2920}
 body.admin-workspace #rentalManageDialog .mobile-rental-nav{display:flex;position:fixed;z-index:1}
 #rentalManageDialog [data-payment]{background:white!important;border:1px solid #dce5df;border-radius:15px!important;padding:16px!important}
 #rentalManageDialog>[data-status]{font-size:13px;line-height:1.6;color:#52685d}
 #rentalManageDialog>[data-reload]{width:100%;margin-top:12px;background:transparent;color:#52685d;border:0;font-size:12px}
 body.admin-workspace #crmMoreDialog{position:fixed;inset:auto 0 0;width:100%;max-width:100%;max-height:85dvh;margin:0;padding:18px 22px calc(24px + env(safe-area-inset-bottom));border:0;border-radius:22px 22px 0 0;box-sizing:border-box;background:#f5f7f3}
 #crmMoreDialog .crm-more-links{gap:9px}
 #crmMoreDialog .crm-more-links :is(a,button){background:white;border:1px solid #dce5df;border-radius:13px;padding:14px}
 .rental-job-card{width:100%;box-sizing:border-box;min-width:0}
 body.admin-workspace .workspace-section-heading h1{font-size:27px}
 body.admin-workspace .workspace-section-heading{flex-wrap:wrap}
 body.admin-workspace #crmOperationsTitle{font-size:28px;letter-spacing:-.03em}
 body.admin-workspace #workspaceDirectory .workspace-section-heading{gap:14px}
 body.admin-workspace #workspaceDirectory .workspace-section-heading label{width:100%}
 body.admin-workspace .workspace-client-row{border:1px solid #dce5df;border-radius:16px;box-shadow:0 2px 6px #23402003}
 body.admin-workspace .customer-form-grid{grid-template-columns:minmax(0,1fr)}
 body.admin-workspace .customer-actions{gap:9px;max-width:100%}
 body.admin-workspace .crm-primary-actions button{min-height:48px}
}
@media(max-width:360px){
 body.admin-workspace.crm-mode main{margin-left:14px;margin-right:14px}
 body.admin-workspace .crm-brand{margin-left:-14px;margin-right:-14px}
 .mobile-metrics{gap:7px}.mobile-metrics span{font-size:11px}
 body.admin-workspace #mobileHome .mobile-metrics>button{padding:13px 10px}
 #rentalManageDialog .rental-flow-money strong{font-size:18px}
 .mobile-task{padding:15px 12px;gap:9px}
}

/* Shared dispatcher palette and visible work totals across every section. */
body.admin-workspace{--crm-primary:#155b45;--crm-soft:#edf3ef;--crm-surface:#f5f7f3;--crm-line:#dce5df}
body.admin-workspace #customersPanel :is(.crm-avatar,.crm-list-avatar,.crm-request-avatar){background:var(--crm-soft);color:var(--crm-primary)!important}
body.admin-workspace #customersPanel .customer-pill{background:var(--crm-soft);color:var(--crm-primary);border:1px solid var(--crm-line)}
body.admin-workspace #customersPanel .estimate-totals{background:var(--crm-soft)}
body.admin-workspace #customersPanel :is(button,a,summary,input,select,textarea):focus-visible{outline:3px solid #699d86;outline-offset:3px}
body.admin-workspace #workspaceDirectory [data-workspace-trigger=newCustomer]{display:none}
body.admin-workspace #customersList .workspace-client-history{justify-self:start;display:block;padding:7px 10px;margin:5px 0;font-size:13px;font-weight:650;line-height:1.5;color:var(--crm-primary);background:var(--crm-soft);border:1px solid var(--crm-line);border-radius:8px;overflow-wrap:anywhere}
body.admin-workspace #customersPanel .flow-complete-request{background:var(--crm-primary);color:#fff;min-height:44px;white-space:normal}
body.admin-workspace .workspace-job-card>.flow-complete-request{margin-top:14px}
body.admin-workspace #requestCompleteDialog{box-sizing:border-box;width:min(540px,calc(100% - 32px));max-height:85dvh;overflow:auto;padding:24px;border:1px solid var(--crm-line);border-radius:17px;background:var(--crm-surface);color:#18372c}
#requestCompleteDialog .crm-dialog-head h2{font-size:22px}
#requestCompleteDialog [data-summary]{font-weight:600;overflow-wrap:anywhere}
#requestCompleteDialog p{font-size:14px;line-height:1.6}
#requestCompleteDialog [data-complete]{width:100%;min-height:49px;margin-top:12px;background:#155b45;color:white}
#requestCompleteDialog::backdrop{background:#18372c66}
@media(max-width:700px){
 body.admin-workspace #workOrderDialog.flow-finish-mode{width:calc(100% - 28px);max-height:90dvh;padding:20px 17px;background:#f5f7f3;border-radius:18px}
 body.admin-workspace #workOrderDialog.flow-finish-mode :is(input:not([type=checkbox]),select){min-height:48px;font-size:16px}
 body.admin-workspace #workOrderDialog.flow-finish-mode .flow-payment-balance{background:#edf3ef;color:#18372c}
 body.admin-workspace #mobileHome .mobile-metrics span{color:inherit}
}

/* Approved mobile presentation: one navigation system, real CRM data and actions. */
@media(max-width:700px){
 body.admin-workspace{--mobile-amber:#fff1d8;--mobile-amber-ink:#805116}
 body.admin-workspace.crm-mode main{padding-top:8px}
 #mobileHome .mobile-home-brand{margin-bottom:8px}
 #mobileHome .mobile-home-date{font-size:12px;color:#62756a;line-height:1.5;margin:0 0 8px;text-transform:capitalize;letter-spacing:0}
 #mobileHome .mobile-greeting h1{font-size:30px;line-height:1.2;letter-spacing:-.04em}
 #mobileHome .mobile-greeting p{font-size:15px;margin-top:6px;color:#18372c;letter-spacing:-.015em}
 .mobile-home-search{margin:20px 0 14px;border-radius:14px}
 body.admin-workspace #mobileHome .mobile-metrics>button{flex-direction:row;justify-content:flex-start;align-items:center;gap:7px;background:white!important;border-color:#dce5df!important;border-radius:13px;padding:13px 9px;min-height:73px}
 #mobileHome .mobile-metric-icon{display:grid;place-items:center;flex:none;width:27px;height:36px;border-radius:9px;background:#edf3ef;color:#155b45}
 #mobileHome .mobile-metric-icon .crm-icon{width:20px;height:20px;stroke-width:1.7}
 #mobileHome #mobilePickups .mobile-metric-icon{background:var(--mobile-amber);color:var(--mobile-amber-ink)}
 #mobileHome .mobile-metric-copy{display:flex;flex-direction:column;gap:4px;min-width:0;text-align:left}
 #mobileHome .mobile-metric-copy strong{font-size:25px;line-height:1;letter-spacing:-.035em;font-weight:700;color:#18372c}
 #mobileHome .mobile-metric-copy>span{font-size:10px;color:#52685d;line-height:1.25;letter-spacing:0}
 #mobileHome .mobile-metrics>button[aria-pressed=true]{box-shadow:0 0 0 2px #155b45}
 .mobile-section-title{margin:24px 0 12px}
 #mobileHome .mobile-section-title h2{font-size:20px}
 .mobile-task{grid-template-columns:40px minmax(0,1fr) 44px;align-items:start;gap:10px;padding:16px 13px;border-radius:16px}
 .mobile-task-icon{width:40px;height:44px;border-radius:50%}
 .mobile-task-icon svg{width:25px;height:25px}
 .mobile-task-pickup .mobile-task-icon{background:var(--mobile-amber);color:var(--mobile-amber-ink)}
 .mobile-task-copy{grid-column:2;min-width:0}
 #mobileHome .mobile-task h3{font-size:15px;line-height:1.35;font-weight:650}
 #mobileHome .mobile-task p{font-size:13px;line-height:1.4;margin-top:4px}
 .mobile-task-copy small{font-size:12px;line-height:1.45;margin-top:3px;overflow-wrap:anywhere}
 #mobileHome .mobile-task-status{display:inline-block;grid-column:auto;max-width:100%;margin-top:8px;padding:4px 9px;border:0;border-radius:20px;font-size:11px;line-height:1.4;background:#e2f0e5;color:#155b45;overflow-wrap:anywhere}
 #mobileHome .mobile-task-pickup .mobile-task-status{background:var(--mobile-amber);color:var(--mobile-amber-ink)}
 body.admin-workspace #mobileHome .mobile-task-open{grid-column:3;grid-row:1;align-self:center;justify-self:end;min-width:44px;width:44px;min-height:48px;padding:0;border:0;background:transparent;box-shadow:none;font-size:0;white-space:normal;color:#52685d}
 #mobileHome .mobile-task-open::after{content:'›';font-size:28px;font-weight:400;line-height:1}
 body.admin-workspace .crm-bottom-nav{padding:7px 12px max(8px,env(safe-area-inset-bottom));gap:4px;background:#fffffff5}
 body.admin-workspace .crm-bottom-nav button{color:#52616c;gap:5px;min-height:54px;border-radius:13px;font-weight:450}
 body.admin-workspace .crm-bottom-nav button .crm-icon{width:23px;height:23px;stroke-width:1.8}
 body.admin-workspace .crm-bottom-nav button span{font-size:10px!important;letter-spacing:-.015em}
 body.admin-workspace .crm-bottom-nav button[aria-pressed=true]{color:#155b45;background:#dfeedd;font-weight:650}
 body.admin-workspace.mobile-app-ready .crm-bottom-nav .mobile-request-tab{display:flex}
 body.admin-workspace.mobile-app-ready .crm-bottom-nav .mobile-jobs-tab{display:none}
 body.admin-workspace .mobile-fab{height:54px;width:54px;right:20px;bottom:calc(89px + env(safe-area-inset-bottom));background:#155b45;box-shadow:0 4px 12px #18372c26}
 #crmMoreDialog .mobile-more-jobs{display:block}
 body.mobile-requests-active .crm-brand{height:64px;min-height:64px;margin:0 0 12px;padding:0;border:0;background:#f5f7f3;position:relative}
 body.mobile-requests-active .crm-brand img{width:132px;height:58px}
 body.mobile-requests-active .crm-brand #crmMenu{display:none}
 body.mobile-requests-active #mobileRequestNotifications{display:grid;place-items:center;position:relative;width:44px;height:44px;padding:10px;background:#fff;border:1px solid #dce5df;border-radius:50%;color:#18372c}
 #mobileRequestNotifications svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
 #mobileRequestNotificationCount{position:absolute;right:-2px;top:-3px;min-width:18px;height:18px;display:grid;place-items:center;border:2px solid #f5f7f3;border-radius:20px;background:#eab64e;color:#18372c;font-size:10px}
 #mobileRequestNotificationCount[hidden]{display:none}
 body.mobile-requests-active #crmRequestInbox>.workspace-section-heading,body.mobile-requests-active #crmRequestCounts,body.mobile-requests-active #crmRequestInbox>.flow-home-tabs{display:none}
 body.mobile-requests-active .mobile-request-intro{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 20px}
 .mobile-request-intro h1{font-size:30px;line-height:1.2;letter-spacing:-.04em;margin:0 0 7px;color:#18372c}
 .mobile-request-intro p{font-size:14px;line-height:1.5;margin:0;color:#52685d;letter-spacing:-.015em}
 body.admin-workspace #mobileRequestRefresh{width:44px;min-width:44px;min-height:44px;font-size:24px;padding:0;color:#52685d;background:transparent;border:0}
 body.mobile-requests-active .workspace-inbox-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:15px;margin:0 0 18px}
 body.mobile-requests-active .customer-toolbar{width:100%}
 body.mobile-requests-active #customerSearch{font-size:16px;min-height:50px;padding:13px 14px;border:1px solid #dce5df;border-radius:14px;background:white;box-shadow:none}
 body.mobile-requests-active .crm-request-filters{display:flex;width:100%;box-sizing:border-box;gap:3px;margin:0;padding:3px;background:#e6ece8;border-radius:12px}
 body.mobile-requests-active #crmRequestInbox .crm-request-filters button{flex:1;min-width:0;min-height:44px!important;padding:10px 8px!important;border:0;border-radius:9px;font-size:13px;font-weight:500;background:transparent!important;color:#18372c!important}
 body.mobile-requests-active #crmRequestInbox .crm-request-filters button[aria-pressed=true]{background:#155b45!important;color:white!important;box-shadow:0 2px 4px #18372c12}
 body.mobile-requests-active #crmRequestsList{grid-template-columns:minmax(0,1fr);gap:10px}
 body.mobile-requests-active #crmRequestsList>section>h2{font-size:13px;font-weight:600;color:#52685d;margin:0 0 12px;letter-spacing:0}
 body.mobile-requests-active #crmRequestsList .crm-request-card{background:#fff;border:1px solid #dce5df;border-radius:16px;padding:15px;margin:0 0 12px;box-shadow:0 2px 8px #18372c03}
 body.mobile-requests-active #crmRequestsList .mobile-request-summary{display:grid;grid-template-columns:40px minmax(0,1fr);gap:7px 12px;align-items:start;position:relative;margin:0 0 13px;min-width:0}
 .mobile-request-service-icon{display:grid;place-items:center;grid-row:1/3;width:40px;height:44px;border-radius:50%;color:#155b45;background:#edf3ef}
 .mobile-request-service-icon svg{width:25px;height:25px;stroke-width:1.7}
 .mobile-request-copy{min-width:0}
 body.mobile-requests-active .mobile-request-copy h3{font-size:16px;line-height:1.4;letter-spacing:-.02em;font-weight:650;margin:0 0 4px;color:#18372c;overflow-wrap:anywhere}
 body.mobile-requests-active .mobile-request-copy p{font-size:13px;line-height:1.45;margin:3px 0 0;color:#52685d;overflow-wrap:anywhere}
 body.mobile-requests-active #customersPanel .mobile-request-state{grid-column:2;justify-self:start;margin:2px 0 0;padding:4px 9px;max-width:100%;box-sizing:border-box;border:0;border-radius:20px;font-size:11px;line-height:1.4;color:#155b45;background:#e2f0e5}
 body.mobile-requests-active .crm-pending-request .mobile-request-state{background:var(--mobile-amber)!important;color:var(--mobile-amber-ink)!important}
 body.mobile-requests-active #crmRequestsList .flow-request-card>.flow-card-title,body.mobile-requests-active #crmRequestsList .flow-request-card>.flow-card-service,body.mobile-requests-active #crmRequestsList .flow-request-card>small{display:none}
 body.mobile-requests-active #crmRequestsList .flow-next-action{display:flex;flex-direction:column;align-items:stretch;gap:9px;border:0;padding:0;margin:12px 0 0}
 body.mobile-requests-active #crmRequestsList .flow-next-action>div{display:none}
 body.mobile-requests-active #customersPanel .flow-next-action>button:not(.flow-complete-request){display:flex;align-items:center;justify-content:space-between;width:100%;min-height:47px;font-size:14px;font-weight:600;padding:12px 14px;background:#155b45;color:#fff;border:0;border-radius:11px;text-align:left}
 body.mobile-requests-active .flow-next-action>button:not(.flow-complete-request)::after{content:'›';font-size:22px;font-weight:400;line-height:1}
 body.mobile-requests-active #customersPanel .flow-next-action>.flow-complete-request{width:100%;min-height:44px;background:#edf3ef;color:#155b45;border:1px solid #dce5df;border-radius:10px}
 body.mobile-requests-active .flow-request-card:not(:has(>.flow-request-detail[open])) .flow-next-action>.flow-complete-request{display:none}
 body.mobile-requests-active .flow-request-detail{margin:12px 0 0;border:0;padding:0}
 body.mobile-requests-active .flow-request-detail:not([open]){margin:0}
 body.mobile-requests-active .flow-request-detail:not([open])>summary{display:none}
 body.mobile-requests-active .mobile-has-work-order .flow-request-detail:not([open])>summary{display:list-item}
 body.mobile-requests-active .mobile-has-work-order:not(:has(>.flow-request-detail[open])) .flow-next-action>.flow-complete-request{display:block}
 body.mobile-requests-active .flow-request-detail>summary{padding:10px 0;min-height:44px;box-sizing:border-box;font-size:13px}
 body.mobile-requests-active .flow-request-detail .customer-actions{display:flex;flex-direction:column}
 body.mobile-requests-active .flow-request-detail .customer-actions button{flex:auto;width:100%;min-height:46px}
 body.mobile-requests-active .rental-inbox-card>.crm-request-identity{display:none}
 body.mobile-requests-active .rental-inbox-card .rental-flow-card{border:0;padding:0;box-shadow:none}
 body.mobile-requests-active .rental-inbox-card .rental-flow-heading-copy h3{font-size:18px}
 body.mobile-requests-active .rental-inbox-card .rental-flow-card :is(.rental-flow-heading,.rental-flow-steps,.rental-flow-money,.rental-signature-note,.rental-active-note,.rental-flow-description){display:none}
 body.mobile-requests-active .rental-inbox-card .rental-flow-dates{font-size:12px;color:#52685d;margin:0 0 10px}
 body.mobile-requests-active .rental-inbox-card .rental-flow-actions{margin:0}
 body.mobile-requests-active #customersPanel .rental-inbox-card .rental-flow-actions button{width:100%;min-height:47px;padding:12px 14px;font-size:14px;border:0;border-radius:11px;background:#155b45;color:#fff;text-align:left}
 body.mobile-requests-active .flow-empty{background:#fff;border:1px dashed #d0ded4;border-radius:14px;font-size:13px;line-height:1.6}
 body.admin-workspace #mobileCreateSheet{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
}
@media(max-width:360px){
 body.admin-workspace #mobileHome .mobile-metrics>button{padding:12px 7px;gap:5px}
 #mobileHome .mobile-metric-icon{width:23px;height:32px}
 #mobileHome .mobile-metric-copy strong{font-size:23px}
 #mobileHome .mobile-metric-copy>span{font-size:9px}
 .mobile-task{grid-template-columns:34px minmax(0,1fr) 44px;gap:8px;padding:14px 11px}
 .mobile-task-icon{width:34px;height:40px}
}

@media (max-width: 820px){
  #mobileHome .mobile-push-setup{display:block;width:100%;min-height:46px;margin:10px 0 4px;border-radius:12px;font-weight:700}
  #mobileHome .mobile-push-status{margin:4px 0 10px;font-size:13px;line-height:1.35}
}
