/* Compact contact layout with admin-only management menu. */
body #jobs .admin-job-row{display:block}
body #jobs :is(.admin-job-heading,.driver-job-heading){display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:6px;border-bottom:1px solid #edf0ed;margin:0 0 6px}
body #jobs :is(.admin-job-heading,.driver-job-heading)>div{display:flex;align-items:center;flex-wrap:wrap}
body #jobs .admin-job-heading>.job-heading-actions{flex-wrap:nowrap;flex-shrink:0;gap:4px}
body #jobs :is(.admin-job-detail,.driver-job-detail){display:block;margin:4px 0!important}
body #jobs :is(.admin-job-detail,.driver-job-detail) p{line-height:1.4!important;margin:0!important}
body #jobs :is(.admin-job-customer,.driver-contact){margin:4px 0 0!important}
body #jobs .admin-job-driver{border-top:1px solid #edf0ed;margin-top:5px;padding-top:4px}
body #jobs .admin-job-driver>small{font-size:11px;color:#6c7e72}
body #jobs .job-more{position:relative;flex:none;margin:0;padding:0;border:0;background:transparent;overflow:visible}
body #jobs .job-more>summary{display:flex;align-items:center;justify-content:center;list-style:none;width:40px;height:40px;min-height:40px;padding:0;border:0;border-radius:8px;background:#edf5ef;color:#204c39;font-size:24px;line-height:1;cursor:pointer}
body #jobs .job-more>summary::-webkit-details-marker{display:none}
body #jobs .job-more>summary::marker{content:''}
body #jobs .job-more>summary:before,body #jobs .job-more>summary:after{display:none}
body #jobs .job-more-panel{position:absolute;z-index:20;right:0;top:44px;min-width:120px;padding:5px;border:1px solid #cfddd4;border-radius:9px;background:white;box-shadow:0 5px 18px #17382b24}
body #jobs .job-more-panel button{width:100%;min-height:44px;color:#9b392f;border:0;background:#fff7f5;font-size:14px}
body #jobs .job-fee-note{display:block;font-size:11px;color:#6c7e72;margin:3px 0}
body #jobs .driver-job-bottom{display:flex;align-items:stretch;gap:8px;border-top:1px solid #edf0ed;padding-top:7px;margin-top:5px}
body #jobs .driver-job-bottom>:is(a,button){flex:1;display:flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;padding:6px 10px;font-size:14px;border-radius:8px;margin:0;line-height:1.3;white-space:nowrap}
body #jobs .driver-job-bottom>a{border:1px solid #426b55;text-decoration:none;color:#204c39;background:white}
body #jobs .job-more summary:focus-visible{outline:3px solid #d6be66;outline-offset:2px}
@media(max-width:360px){body #jobs .badge{font-size:9px;padding:3px 4px}body #jobs .job-more>summary{width:36px}body #jobs .halla-contact-name,body #jobs .halla-contact-link{font-size:16px!important}}

/* Only actionable numeric values receive the disclosure underline. */
.settlement-stats button[data-fees]>b,
.settlement-stats button[data-fees]>small,
.driver-fee-value[data-fees]>strong,
.fee-tree-row>.fee-count,
.fee-tree-row>strong,
.fee-day-group>summary .fee-day-summary>span:nth-child(2),
summary .fee-day-summary>span:nth-child(2),
summary .fee-day-summary>strong,
#filters button[aria-haspopup="dialog"]>b{
 text-decoration-line:underline!important;
 text-decoration-thickness:1px!important;
 text-underline-offset:4px!important;
}

/* Driver settlement sheet */
#myInfoDialog .info-date-search,#myInfoDialog .my-info-detail-title{display:none!important}
#myInfoDialog .my-info-fields{margin:0 0 18px;padding:8px 0;border:0;display:grid;gap:4px}
#myInfoDialog .my-info-fields>div{display:flex;gap:16px;align-items:center}
#myInfoDialog .my-info-fields dd{font-size:20px;font-weight:700;margin:0}
#myInfoDialog .my-info-fields a{color:#173d2c;text-underline-offset:4px}
.net-payment{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:22px 16px;background:#e1edda;border-radius:14px;margin:12px 0 18px;color:#123b29}
.net-payment b{font-size:19px}.net-payment small{display:block;font-size:13px;margin-top:7px}.net-payment>strong{font-size:clamp(24px,6vw,34px);white-space:nowrap}
.unpaid-link{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;background:white;border:2px solid #318145;border-radius:13px;padding:16px 12px;color:#183c29;text-align:left}
.unpaid-link>span:last-child{font-size:23px;font-weight:800;color:#1263ca;white-space:nowrap}.unpaid-link small{display:block;margin-top:5px;color:#58685d}.unpaid-link u{text-underline-offset:4px}
.settlement-line{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 8px;border-bottom:1px solid #dce2dd}.settlement-line strong{font-size:21px;white-space:nowrap}
.payout-history{width:100%;text-align:left;background:#edf0ed;padding:16px;border:0;border-radius:12px;font-weight:700;margin-top:16px;color:#173d2c}
#settlementDialog{width:min(96vw,560px);max-height:90dvh;padding:0;border:1px solid #365b43;border-radius:18px}#settlementDialog .fee-dialog-body{overflow:auto;max-height:75dvh;padding:16px}
#settlementDialog label{display:block;margin:12px 0}#settlementDialog input:not([type=checkbox]),#settlementDialog select{width:100%;box-sizing:border-box;padding:12px;border:1px solid #bfcfc3;border-radius:9px;font:inherit}
#settlementDialog .bonus-tax{display:flex;align-items:center;gap:8px}#settlementDialog .primary{width:100%;margin:12px 0;padding:14px}#bonusPending button{padding:8px;font-size:14px;color:#a33}
#myInfoFees .hint{font-size:12px;color:#647467}#feeRows .fee-day-group[open]{background:#eef4ea}#feeRows .fee-detail-row{background:#fff;border:1px solid #d7ded8;border-radius:12px;padding:12px;margin:8px 0}
