.commute-panel{background:linear-gradient(120deg,#e8eff2,#f9f8f4);border:1px solid #d5dfe3;border-top:3px solid #a58b64;border-radius:9px;padding:30px;margin-bottom:24px}.commute-panel h2{font-size:27px;margin:12px 0 4px}.commute-panel>p{color:#576a78}.commute-panel form{padding:18px 0 0}.commute-fields{display:grid;grid-template-columns:1.3fr 1fr 1fr auto;gap:16px;align-items:end}.commute-fields label{display:grid;gap:8px;font-size:14px}.commute-fields input,.commute-fields select{width:100%;min-height:46px}.commute-fields button{min-height:46px}.commute-help,.commute-method{font-size:13px;color:#586c7b;margin:14px 0}.commute-method summary{cursor:pointer}.commute-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.commute-station{background:#fff;border:1px solid #dbe3e7;border-radius:6px;padding:20px;display:flex;flex-direction:column;align-items:start;gap:8px}.commute-station h3{font-size:20px;margin:0}.commute-station p{margin:0}.commute-station small,.commute-small{color:#64717c;font-size:12px}.commute-station strong{font-size:16px;color:#18344a}.commute-station button{margin-top:auto;min-height:40px}.commute-station a,.commute-detail a{font-size:13px;display:block;margin-top:6px;color:#285c77}.commute-summary{font-size:14px;font-weight:600}.saved-bar{display:flex;align-items:center;gap:16px;margin:22px 0 6px}.saved-bar span{font-size:12px;color:#64717c}.saved-bar button{white-space:nowrap;min-height:44px}.saved-bar button[aria-pressed=true],.favorite-button[aria-pressed=true]{background:#e9e2d4;color:#684d28;border-color:#b79b72}#favorites-status{font-size:13px;color:#785b33}.favorite-button{border:1px solid #d5dfe5;border-radius:5px;background:#fff;padding:8px 12px;color:#18344a;min-height:40px;margin-top:12px}.commute-detail{margin-top:20px;padding:20px;background:#edf2f4;border-radius:6px}.commute-detail h3{margin-top:0}.commute-detail dl{display:grid;grid-template-columns:1fr 1.5fr;gap:12px;font-size:14px}.commute-detail dd{margin:0}.commute-detail dt{color:#64717c}.commute-detail p{font-size:13px}.detail-actions{flex-wrap:wrap}
@media(max-width:900px){.commute-fields{grid-template-columns:1fr 1fr}.commute-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.commute-panel{padding:21px 17px}.commute-panel h2{font-size:23px}.commute-fields{grid-template-columns:1fr}.commute-grid{grid-template-columns:1fr}.saved-bar{align-items:start;flex-direction:column;gap:8px}.commute-detail dl{grid-template-columns:1fr}.commute-detail dd{margin-bottom:7px}}
/* Compact entry keeps the rental filters above the fold. */
.commute-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 20px;background:#eaf0f2;border:1px solid #dce4e8;border-radius:7px;margin-bottom:18px}.commute-entry strong{font-size:16px}.commute-entry span{margin-left:16px;font-size:13px;color:#667984}.commute-entry button{white-space:nowrap;min-height:40px}#commute-dialog{width:min(940px,94vw);max-height:90dvh;padding:24px;overflow:auto}#commute-dialog .commute-panel{border:0;background:none;margin:0;padding:12px 0}#commute-dialog .commute-panel h2{font-size:25px}#commute-dialog .eyebrow{display:none}#commute-dialog .commute-fields{grid-template-columns:1.1fr 1fr 1fr auto;gap:10px}#commute-dialog .commute-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#commute-dialog .commute-station{padding:10px 12px;display:grid;grid-template-columns:1fr auto;gap:4px 8px}#commute-dialog .station-choice{grid-column:1/-1;border:0;padding:0;background:none;display:flex;justify-content:space-between;align-items:center;width:100%;color:#18344a;text-align:left;min-height:40px;margin:0}#commute-dialog .station-choice strong{font-size:18px}#commute-dialog .station-choice span{font-size:12px;white-space:nowrap;color:#627581}#commute-dialog .commute-station a{margin:0;font-size:12px}#commute-dialog .commute-station small{align-self:center;font-size:11px}.destination-choices{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}.destination-choices button{padding:7px 13px;border:1px solid #d2dce2;background:#fff;border-radius:4px;color:#344d60;min-height:38px}.destination-choices button[aria-pressed=true]{background:#18344a;color:white}#close-commute{background:none;border:0;font-size:26px;min-width:42px;min-height:42px}
@media(max-width:760px){.commute-entry span{display:block;margin:4px 0 0}.commute-entry{padding:13px;gap:10px}.commute-entry button{padding:9px 12px;font-size:13px}#commute-dialog{padding:18px}#commute-dialog .commute-fields{grid-template-columns:1fr 1fr}#commute-dialog .commute-fields label:first-child{grid-column:1/-1}#commute-dialog .commute-fields>.primary{grid-column:1/-1}#commute-dialog .commute-grid{grid-template-columns:1fr 1fr}#commute-dialog .station-choice{align-items:start;flex-direction:column;gap:3px}#commute-dialog .commute-station{grid-template-columns:1fr}#commute-dialog .commute-station a{justify-self:end}.saved-bar{margin-top:12px}}

/* More choices remain inside the dialog, collapsed and paged by default. */
.destination-choices{display:block}.destination-choices summary{font-size:13px;cursor:pointer;color:#36546a;padding:8px 0}.destination-choices button{margin:3px}.commute-line-choices{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.commute-line-choices button{border:1px solid #d3dfe5;border-radius:20px;background:#fff;color:#36546a;padding:7px 11px;font-size:12px;min-height:36px}.commute-line-choices button[aria-pressed=true]{background:#18344a;color:#fff;border-color:#18344a}.commute-more{display:block;margin:16px auto;padding:10px 18px;background:#fff;border:1px solid #c6d4dd;border-radius:5px;color:#234459}.commute-help{line-height:1.7}

.destination-choices input[type=search]{width:100%;min-height:42px;margin:8px 0;padding:9px 12px;border:1px solid #ccd8df;border-radius:5px}.destination-groups{display:flex;flex-wrap:wrap;gap:4px;padding:5px 0 10px}.destination-groups button{font-size:12px;padding:6px 10px;min-height:34px}.destination-list{max-height:210px;overflow:auto;overscroll-behavior:contain;display:flex;flex-wrap:wrap;align-content:start;gap:4px;padding:4px 0 10px;border-bottom:1px solid #e3eaee}.destination-list button{margin:0;min-height:38px}.destination-list p{font-size:13px;color:#64717c}@media(max-width:560px){.destination-list{max-height:180px}.destination-groups{gap:2px}}
