.schedule-date{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap}.schedule-date>div{flex:1;min-width:180px}.schedule-date input{margin-bottom:0}.schedule-row{display:grid;grid-template-columns:130px minmax(0,1fr) auto;gap:24px;padding:24px 0;border-top:1px solid #d4dadb}.schedule-time{display:flex;flex-direction:column;gap:4px}.schedule-time strong{font-size:1.2rem}.schedule-time span{font-size:.95rem;color:#526066}.schedule-job h3{margin:3px 0 8px}.schedule-job p{margin:6px 0;overflow-wrap:anywhere}.schedule-actions{display:flex;flex-direction:column;gap:10px;align-self:center}.schedule-warning{color:#6e4700;font-weight:650}.schedule-editor{border-top:5px solid #e7bb42}.schedule-available{padding:14px;background:#edf1f2;border-radius:10px}.schedule-editor select{max-width:100%}.schedule-job .eyebrow{font-size:.875rem}.schedule-row .badge{display:inline-block;margin-top:8px}@media(max-width:650px){.schedule-row{grid-template-columns:1fr;gap:12px}.schedule-time{flex-direction:row;align-items:baseline;flex-wrap:wrap}.schedule-actions{flex-direction:row;flex-wrap:wrap}.schedule-actions button{flex:1}.schedule-date>div{flex-basis:100%}}

.schedule-fleet{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}.schedule-truck{border:1px solid #d4dadb;border-radius:12px;padding:18px;min-width:0}.schedule-truck h3{margin:0 0 8px}.schedule-truck p{overflow-wrap:anywhere}.schedule-gaps{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.schedule-gaps span{background:#edf1f2;border-radius:6px;padding:7px 10px}.schedule-request,.schedule-check{padding:16px;border-left:4px solid #e7bb42;background:#f5f6f2;line-height:1.6}.schedule-check{margin:18px 0}

/* One focused truck assignment, with the driver paired to the saved truck. */
.schedule-focus{max-width:920px;margin:0 auto}.assignment-date{padding:20px 24px;background:#e8edef;border:1px solid #c8d2d7;border-radius:12px;margin-bottom:20px}.assignment-date label{margin-top:0}.schedule-editor{padding:28px;border:1px solid #c8d2d7;border-top:4px solid #ffd34e;border-radius:12px}.schedule-assignment-heading{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:24px}.schedule-assignment-heading h2{margin-bottom:0;font-size:27px}.schedule-assignment-heading button{font-size:13px;flex-shrink:0}.schedule-editor .schedule-request{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:16px 18px;border:0;border-radius:8px;background:#eef3f5;font-size:14px}.assignment-step{padding:24px 0;border-bottom:1px solid #d6e0e4}.assignment-step h3{font-size:21px;margin-bottom:8px}.assignment-step>p{color:#43545d;font-size:14px;max-width:660px}.schedule-time-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.schedule-time-fields input{width:100%;min-width:0;min-height:50px}.schedule-truck-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}.schedule-truck-choices .schedule-choice{display:flex;align-items:start;gap:12px;border:1px solid #bccbd2;border-radius:10px;padding:18px;margin:0;cursor:pointer;font-weight:400;background:#fff}.schedule-choice input[type=radio]{width:20px;min-width:20px;min-height:20px;height:20px;padding:0;margin:4px 0 0;accent-color:#172126}.schedule-choice-main{display:flex;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere}.schedule-choice-main strong{font-size:20px;color:#172126}.schedule-choice-main>span{font-size:14px;color:#43545d}.schedule-choice-main small{font-size:12px}.schedule-choice-state{font-weight:650;padding-top:8px}.schedule-choice-main .schedule-choice-free{font-size:12px;line-height:1.6}.schedule-truck-choices .schedule-choice.chosen{background:#fff9e5;border-color:#aa800e;box-shadow:0 0 0 1px #aa800e}.schedule-truck-choices .schedule-choice.unavailable{background:#f1f4f5;border-color:#d6e0e4;cursor:default}.schedule-choice.unavailable .schedule-choice-state{color:#8d3822}.schedule-choice:focus-within{outline:3px solid #4c788b;outline-offset:3px}.schedule-no-trucks{grid-column:1/-1;padding:24px;border:1px dashed #acbdc4;border-radius:10px}.schedule-no-trucks p{margin:10px 0 16px}.assignment-sites{margin:12px 0 0;padding:12px 0}.assignment-sites summary{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between}.assignment-sites summary::before{content:'+';font-weight:700;margin-right:4px}.assignment-sites[open] summary::before{content:'−'}.assignment-sites summary span{font-size:13px;font-weight:400;color:#43545d;margin-left:auto}.schedule-editor .schedule-check{padding:14px 16px;background:#eef3f5;border:0;border-radius:8px;font-size:14px}.assignment-confirm{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #d6e0e4;padding-top:24px;margin-top:24px}.assignment-confirm div{display:flex;flex-direction:column;gap:4px}.assignment-confirm strong{font-size:15px}.assignment-confirm .primary{background:#ffd34e;color:#172126;border-color:#ffd34e;min-height:50px}.assignment-confirm .primary:disabled{background:#e3e9ec;color:#61717a;border-color:#e3e9ec;opacity:1}.schedule-editor .form-error:empty{display:none}
@media(max-width:650px){.schedule-editor{padding:20px}.schedule-assignment-heading{flex-wrap:wrap}.schedule-truck-choices{grid-template-columns:1fr}.assignment-date{padding:18px}.assignment-confirm{flex-direction:column;align-items:stretch}.assignment-confirm button{width:100%}.assignment-step{padding:20px 0}.schedule-focus .heading h1{font-size:28px}.schedule-time-fields{gap:12px}}
