/* Shared compact lists: loaded last to avoid older page-specific spacing overrides. */
body #driverJobsDialog>.fee-dialog-head{padding:8px 12px;gap:8px;min-height:54px}
body #driverJobsDialog>.fee-dialog-head h2{font-size:18px;line-height:1.3;margin:2px 0 0}
body #driverJobsDialog>.fee-dialog-head small{font-size:11px;line-height:1.3}
body #driverJobsDialog>.fee-dialog-head button{min-height:40px;padding:6px 10px;font-size:14px}
body #driverJobsDialog #driverJobsBody{padding:8px;min-height:0}
body.manager-view #driverJobsDialog #jobs{padding:0;background:transparent;border:0;border-radius:0}
body #jobs>.fee-day-group,body #feeRows>.fee-day-group{margin:0 0 6px;border-radius:9px;border:1px solid #dbe5df;overflow:hidden}
body #jobs>.fee-day-group>summary,body #feeRows>.fee-day-group>summary{display:flex;align-items:center;gap:7px;list-style:none;padding:10px;min-height:44px;box-sizing:border-box;line-height:1.35}
body :is(#jobs,#feeRows) .fee-day-group>summary::-webkit-details-marker{display:none}
body :is(#jobs,#feeRows) .fee-day-group>summary::marker{content:''}
body :is(#jobs,#feeRows) .fee-day-group>summary:before{content:'›';font-size:19px;line-height:1;flex:0 0 10px;transform:rotate(0deg)}
body :is(#jobs,#feeRows) .fee-day-group[open]>summary:before{transform:rotate(90deg)}
body #jobs .fee-day-summary,body #feeRows .fee-day-summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;width:auto;flex:1;min-width:0;gap:7px;font-size:13px;line-height:1.35}
body #jobs .fee-day-summary strong,body #feeRows .fee-day-summary strong{font-size:15px;white-space:nowrap}
body :is(#jobs,#feeRows) .fee-day-jobs{padding:6px;background:#fff}
body #jobs .fee-day-jobs article{margin:0 0 6px}
body #jobs .fee-day-jobs article:last-child{margin-bottom:0}
body #jobs :is(.admin-job-row,.driver-job-row){padding:10px!important;margin:0 0 7px!important;border:1px solid #dce5de!important;border-radius:10px!important;background:#fff}
body #jobs .admin-job-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;align-items:center}
body #jobs .admin-job-heading,body #jobs .admin-job-detail{grid-column:1/-1;margin:0;gap:8px}
body #jobs :is(.admin-job-heading,.driver-job-heading)>div{gap:6px;min-width:0}
body #jobs :is(.admin-job-heading,.driver-job-heading) strong{font-size:15px;line-height:1.35}
body #jobs :is(.admin-job-fee,.driver-job-fee){font-size:17px;white-space:nowrap}
body #jobs .badge{font-size:10px;padding:3px 6px;line-height:1.35}
body #jobs :is(.admin-job-detail,.driver-job-detail) p{font-size:13px;line-height:1.4;margin:0;overflow-wrap:anywhere}
body #jobs :is(.admin-job-detail,.driver-job-detail){margin:4px 0}
body #jobs :is(.admin-map-link,.driver-map-link){min-height:36px;font-size:12px;white-space:nowrap}
body #jobs .admin-job-driver{font-size:11px;line-height:1.4;margin:0;color:#6c7e72;overflow-wrap:anywhere}
body #jobs button[data-unassign]{min-height:40px;padding:6px 10px;font-size:13px;margin:0;justify-self:end}
body #jobs .driver-job-heading{margin:0 0 5px}
body #jobs .driver-job-bottom{margin:5px 0 0;padding:0;gap:8px}
body #jobs .driver-job-bottom button{min-height:40px;margin:0;padding:6px 12px;font-size:13px}
body #jobs .driver-job-bottom small{font-size:11px}
body #jobs .driver-contact{font-size:12px;margin:4px 0}
body.manager-view #driverJobsBody #assignmentPanel{padding:0!important;margin:0 0 8px!important;gap:6px 8px}
body #driverJobsBody #assignmentPanel>label{font-size:13px;margin:0}
body #driverJobsBody #assignmentDriver{min-height:42px;padding:6px 8px;margin:0}
body #driverJobsBody .assignment-selection{margin:0;padding:4px 0 6px;min-height:40px}
body #driverJobsBody .assignment-selection label{font-size:12px;gap:7px;margin:0;min-height:36px}
body #driverJobsBody :is(.assignment-selection,.job-selection) input[type=checkbox]{width:22px;height:22px;min-height:22px;flex:0 0 22px;margin:0}
body #driverJobsBody #selectedJobCount{font-size:12px}
body #driverJobsBody #assignmentMessage:empty{display:none}
body #driverJobsBody .job-selection{gap:7px;margin:0;min-height:32px}
body.manager-view #driverJobsDialog #dispatchFooter{padding:8px 10px max(8px,env(safe-area-inset-bottom))}
body #driverJobsDialog #sendSelected{min-height:44px;padding:8px 12px;font-size:14px}
@media(max-width:350px){body #jobs .fee-day-summary{gap:4px;font-size:12px}body #jobs .fee-day-summary strong{font-size:14px}}

.admin-job-row .admin-job-customer{grid-column:1/-1;margin:4px 0!important;font-size:13px;color:#536e60;overflow-wrap:anywhere}
/* Delivery addresses stay prominent even in compact cards and map details. */
body #jobs :is(.admin-job-detail,.driver-job-detail) p,
body #mapDetail>p{font-size:18px!important;font-weight:700;line-height:1.55!important;color:#193e2e;margin:4px 0!important;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;min-width:0}
body #jobs :is(.admin-job-detail,.driver-job-detail){min-width:0}
body #jobs .admin-job-detail{grid-template-columns:minmax(0,1fr) auto}
