/* Deliveries: one reading order and clear, separated actions at phone widths. */
body.green-workday[data-view="materials"] .work-date-label{display:none}
body.green-workday[data-view="materials"] .jobbar{grid-template-columns:minmax(0,1fr);margin-bottom:24px}
body.green-workday[data-view="materials"] .jobbar label{width:100%;max-width:none}
body.green-workday[data-view="materials"] #due-reminder{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
body.green-workday[data-view="materials"] #due-reminder strong{flex:1 1 180px;min-width:0}
body.green-workday[data-view="materials"] #due-reminder button{min-height:44px;margin:0}
body.green-workday #screen .deliveries-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px}
body.green-workday #screen .deliveries-heading h2{font-size:28px;line-height:1.15;margin:0;color:#f2f7f4}
body.green-workday #screen .deliveries-heading p{font-size:13px;color:#adc7b9;margin:6px 0 0}
body.green-workday #screen .delivery-list{gap:16px;align-items:start}
body.green-workday #screen .delivery-card{padding:20px;margin:0;min-width:0;border-radius:18px}
body.green-workday #screen .delivery-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
body.green-workday #screen .delivery-card-head h3{min-width:0;margin:0;font-size:21px;line-height:1.3;overflow-wrap:anywhere}
body.green-workday .delivery-badge{flex-shrink:0;max-width:50%;padding:5px 9px;border:1px solid #476757;border-radius:99px;color:#d5e6dc;font-size:11px;line-height:1.4;text-align:center}
body.green-workday .delivery-badge-received{color:#80e3ad;border-color:#38825a;background:#1a4932}
body.green-workday .delivery-badge-partial{color:#f1d49e;border-color:#796343;background:#3a3325}
body.green-workday #screen .delivery-expected{display:flex;gap:6px 12px;flex-wrap:wrap;font-size:14px;line-height:1.5;margin:15px 0 0;color:#e1ece5}
body.green-workday .delivery-date-label{color:#acc4b6}
body.green-workday #screen .delivery-unconfirmed{font-size:12px;color:#b6c9be;margin:4px 0 0}
body.green-workday .delivery-items{margin-top:20px;border-top:1px solid #315343}
body.green-workday .delivery-item{padding:16px 0;border-bottom:1px solid #315343;min-width:0}
body.green-workday .delivery-item-name{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 10px;line-height:1.4;overflow-wrap:anywhere}
body.green-workday .delivery-item-name strong{font-size:17px;font-weight:650;min-width:0}
body.green-workday .delivery-item-name span{font-size:13px;color:#b3cbbd}
body.green-workday .delivery-quantities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:15px 0 0}
body.green-workday .delivery-quantities>div{min-width:0}
body.green-workday .delivery-quantities dt{color:#aac4b5;font-size:12px;margin:0 0 3px}
body.green-workday .delivery-quantities dd{margin:0;font-size:21px;font-weight:650;line-height:1.3;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
body.green-workday .delivery-quantities>div:last-child dd{color:#8be6b3}
body.green-workday #screen .delivery-actions{display:grid;gap:12px;margin:20px 0 0}
body.green-workday #screen .delivery-secondary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.green-workday #screen :is(.delivery-actions,.deliveries-heading) button{display:block;min-height:46px;min-width:0;margin:0;padding:12px 14px;border-radius:12px;font-size:14px;line-height:1.35;white-space:normal;text-align:center}
body.green-workday #screen .delivery-secondary>button{width:100%;max-width:100%;box-sizing:border-box}
body.green-workday #screen .delivery-actions>button{width:100%;font-weight:650}
html.atlas-charcoal body.green-workday #screen .delivery-secondary button{background:transparent!important;color:#d3e8db!important;border-color:#4c7560!important}
html.atlas-charcoal body.green-workday #screen .delivery-secondary button:hover{background:#1b3e2b!important;border-color:#77b58f!important}
body.green-workday #screen .delivery-section-title{font-size:16px;margin:24px 0 12px;color:#bbd1c3}
@media(max-width:600px){
 body.green-workday #screen .deliveries-heading{flex-direction:column;align-items:stretch;gap:14px}
 body.green-workday #screen .deliveries-heading>button{width:100%}
 body.green-workday #screen .delivery-list{grid-template-columns:minmax(0,1fr)}
 body.green-workday #screen .delivery-card{padding:18px}
 body.green-workday #screen .delivery-card-head h3{font-size:20px}
 body.green-workday .delivery-quantities{gap:8px}
 body.green-workday .delivery-quantities dd{font-size:20px}
}
@media(max-width:360px){
 body.green-workday #screen .delivery-card{padding:15px}
 body.green-workday .delivery-badge{font-size:10px;padding:5px 7px}
 body.green-workday .delivery-quantities dt{font-size:11px}
 body.green-workday .delivery-quantities dd{font-size:18px}
 body.green-workday #screen .delivery-secondary{gap:10px}
}
