.favorites-pinned{position:sticky;top:0;z-index:8;background:#fff;padding:8px 0 14px;border-bottom:1px solid #edf0f5;margin-bottom:8px}
.favorites-pinned .favorites-heading{margin-bottom:12px}
.favorites-commute-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.favorites-commute-actions button{min-height:44px;border:0;border-radius:10px;background:#edf3ff;color:#235dd4;font:inherit;font-size:13px;font-weight:650;padding:10px 8px;white-space:nowrap}
.favorites-commute-actions button:hover{background:#e2ecff}
#favorites-panel #auto-schedules-panel{margin-top:24px}
#saved-routes .saved-route{display:grid;grid-template-columns:28px minmax(0,1fr) 44px 44px 44px;gap:4px;align-items:center;padding:16px 0}
#saved-routes .saved-main{min-width:0}
#saved-routes .saved-number{width:28px;height:28px;margin:0}
#saved-routes .rename-saved,#saved-routes .remove-saved{margin:0;padding:0;min-width:0;width:44px;min-height:44px}
.schedule-saved{min-width:44px;min-height:44px;background:none;border:0;color:#235dd4;font:inherit;font-size:12px;padding:0;white-space:nowrap}
.favorite-save-dialog{max-width:420px;width:calc(100% - 32px);box-sizing:border-box}
.favorite-save-dialog h2{font-size:22px}
.favorite-save-route{color:#627086;margin:10px 0 20px}
.favorite-save-dialog label[for=favorite-save-name]{display:block;font-size:14px;margin-bottom:8px}
.favorite-save-dialog label[for=favorite-save-name] span{color:#7b8492;font-size:12px}
.favorite-save-dialog #favorite-save-name{width:100%;box-sizing:border-box;min-height:46px;border:1px solid #dbe2ee;border-radius:10px;font:inherit;font-size:max(16px,1em);padding:10px 12px}
.favorite-save-schedule{display:flex;align-items:flex-start;gap:10px;padding:18px 0;font-size:14px}
.favorite-save-schedule input{width:18px;height:18px;accent-color:#235dd4;margin-top:2px;flex:none}
.favorite-save-schedule small{display:block;color:#737f90;font-size:12px;margin-top:6px;line-height:1.6}
@media(min-width:761px){.favorites-pinned{top:72px}}
@media(max-width:440px){#saved-routes .saved-route{gap:6px}#saved-routes .saved-main{min-width:0}#saved-routes .saved-stations{overflow-wrap:anywhere}.favorite-save-dialog h2{font-size:20px}}
.favorites-commute-actions button:disabled{background:#edf0f5;color:#8b97a7;border-color:#e7ebf1;cursor:default;box-shadow:none}
.favorites-commute-actions button:disabled:hover{background:#edf0f5;color:#8b97a7}
.schedule-presets button:disabled{opacity:.45;cursor:default}
