.quick-assignment > span { min-width: 0; }
.driver-acceptance { display: inline-flex; align-items: center; padding: 3px 7px; border-radius: 6px; font-size: 11px; line-height: 1.35; font-weight: 600; white-space: normal; }
.quick-assignment .driver-acceptance { display: block; margin-top: 3px; width: fit-content; }
.driver-acceptance--waiting { background: #fff3d1; color: #805819; }
.driver-acceptance--accepted { background: #e1f3e9; color: #236344; }
.driver-acceptance--complete { background: #eef0f5; color: #586275; }
.schedule-overlap-consent { display: flex; align-items: start; gap: 10px; margin: 12px 0 0; padding: 12px; background: #fff6e3; border: 1px solid #e5c886; border-radius: 9px; font-size: 13px; line-height: 1.5; color: #6d4c17; }
.schedule-overlap-consent input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; }
.schedule-overlap-consent[hidden] { display: none; }
#dialog-driver-notes { margin-top: 6px; }
label[for="dialog-driver-notes"] { display: block; margin-top: 22px; }
label[for="dialog-driver-notes"] small { display: block; font-weight: 400; margin-top: 3px; }
.driver-text-panel { grid-column: 1 / -1; grid-row: 1; width: 100%; min-width: 0; padding: 12px 16px; border: 1px solid #dfe6f0; border-radius: 12px; background: #fff; }
.driver-leg-details .driver-journey-facts { grid-column: 1; grid-row: 2; }
.driver-leg-details .driver-route-panel { grid-row: 2; }
.driver-text-panel summary { min-height: 44px; display: flex; gap: 10px; align-items: center; cursor: pointer; font-size: 15px; font-weight: 650; color: #233e80; }
.driver-text-panel p { font-size: 13px; line-height: 1.5; margin: 0 0 10px; color: #5d6d82; }
.driver-text-options { display: grid; gap: 8px; }
.driver-text-options button { min-height: 44px; padding: 10px 12px; border: 1px solid #dce3f2; border-radius: 9px; background: #f4f6fc; color: #233e80; font: inherit; font-size: 14px; text-align: left; }
.driver-text-options button:disabled { opacity: .55; cursor: wait; }
.driver-text-panel #driver-text-status { margin-top: 12px; }
.driver-progress { grid-column: 1 / -1; width: 100%; min-width: 0; padding: 14px 16px; border: 1px solid #dfe6f0; border-radius: 12px; background: #f7f9fd; }
.driver-progress ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.driver-progress li { position: relative; display: grid; justify-items: center; gap: 6px; min-width: 0; color: #8490a4; text-align: center; }
.driver-progress li:not(:last-child)::after { content: ""; position: absolute; top: 13px; left: calc(50% + 16px); width: calc(100% - 26px); height: 2px; background: #d8dfeb; }
.driver-progress li.is-done:not(:last-child)::after { background: #29458c; }
.driver-progress li > span { z-index: 1; display: grid; width: 28px; height: 28px; place-items: center; border: 2px solid #d8dfeb; border-radius: 50%; background: #fff; font-size: 12px; font-weight: 700; }
.driver-progress li > strong { overflow-wrap: anywhere; font-size: 11px; line-height: 1.35; }
.driver-progress li.is-done, .driver-progress li.is-current { color: #233e80; }
.driver-progress li.is-done > span { border-color: #29458c; color: #fff; background: #29458c; }
.driver-progress li.is-current > span { border-color: #29458c; box-shadow: 0 0 0 4px #e4eafb; }
.driver-progress > p { margin: 12px 0 0; color: #52617a; font-size: 12px; line-height: 1.5; text-align: center; }
@media (max-width: 760px) {
  .driver-leg-details .driver-text-panel,
  .driver-leg-details .driver-progress,
  .driver-leg-details .driver-journey-facts,
  .driver-leg-details .driver-route-panel { grid-column: 1; grid-row: auto; }
}
