.update-mode.has-actuals{border-color:#f59e0b;background:#fffbeb}
.edit-schedule-summary{display:flex;align-items:stretch;gap:.65rem;flex-wrap:wrap;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--line)}
.edit-schedule-summary>div{display:grid;gap:.15rem;min-width:9.5rem;padding:.65rem .8rem;border:1px solid #bfdbfe;border-radius:10px;background:#eff6ff}
.edit-schedule-summary small{color:var(--muted)}.edit-schedule-summary b{font-size:1.05rem;color:#1e3a8a}.edit-schedule-summary b.late{color:#b45309}
.edit-schedule-summary p{flex:1 1 100%;margin:0;color:var(--muted);font-size:.76rem}
.edit-stop-schedule{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:.7rem 0;padding:.6rem;border:1px solid #dbeafe;border-radius:10px;background:#f8fbff}
.edit-stop-schedule>span{display:grid;gap:.12rem}.edit-stop-schedule small{color:var(--muted);font-size:.7rem}.edit-stop-schedule b{font-size:.84rem;color:#1e3a8a}
.edit-stop-schedule.reserve-off{border-style:dashed;border-color:#e5c76b;background:#fffdf5}.edit-stop-schedule.reserve-off b{color:#8a5a00}
.edit-stop-schedule .schedule-warning{grid-column:1/-1;padding-top:.35rem;border-top:1px dashed #f59e0b;color:#9a3412}
.branch-card-status{display:flex;align-items:center;justify-content:flex-end;gap:.6rem;flex-wrap:wrap}.branch-name-editor{min-width:min(100%,14rem)}
.branch-name-editor>form{display:grid;grid-template-columns:minmax(10rem,1fr) auto;align-items:end;gap:.45rem;margin-top:.5rem}.branch-name-editor input{width:100%;min-width:0}
.branch-option-actions details{max-width:100%}.branch-option-edit-form{display:grid!important;grid-template-columns:minmax(12rem,1fr) minmax(10rem,auto) auto!important;width:min(100%,36rem)}
.branch-option-edit-form label input{width:100%;min-width:0}.branch-option-edit-form small{grid-column:1/-1}
.service-editor-actions{display:flex;gap:.45rem;flex-wrap:wrap;justify-content:flex-end}.service-editor-actions button{flex:none}
.route-location-keep{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.6rem .7rem;border:1px solid #bae6fd;border-radius:9px;background:#f0f9ff}.route-location-keep span{display:flex;align-items:center;gap:.45rem}.route-location-keep input{width:auto;min-height:0}.route-location-keep small{color:var(--muted)}
@media(max-width:760px){
  .branch-card-status{align-items:stretch;display:grid;justify-content:stretch}.branch-name-editor{width:100%;min-width:0}
  .branch-name-editor>form,.branch-option-edit-form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%;min-width:0}
  .branch-option-actions details{flex-basis:100%;width:100%;min-width:0}.branch-option-edit-form>*{width:100%;min-width:0}
  .service-editor-actions{display:grid;grid-template-columns:1fr;width:100%}.service-editor-actions button{width:100%}
  .route-location-keep{align-items:flex-start;display:grid}
}
@media(max-width:430px){.edit-schedule-summary{display:grid}.edit-schedule-summary>div{min-width:0}.edit-stop-schedule{grid-template-columns:1fr}}
