/* Compact transport controls retain natural artwork colors in all themes. */
#detail-route.transport-route{display:flex;align-items:center;flex-wrap:wrap;gap:3px 6px;overflow:visible}
.transport-city{display:inline-block;max-width:100%;overflow-wrap:anywhere}
.transport-button{display:inline-flex!important;align-items:center;justify-content:center;width:44px;min-width:44px;min-height:44px;padding:5px!important;border-radius:50%!important;vertical-align:middle;flex:0 0 44px}
.transport-button img{display:block;width:32px;height:32px;object-fit:contain}
.transport-button.is-empty span{font-size:20px;line-height:1;font-weight:400}
.transport-connector{display:flex;align-items:center;justify-content:center;gap:8px;padding:3px 0;margin:0}
.transport-connector::before,.transport-connector::after{content:"";width:24px;height:1px;background:currentColor;opacity:.2}
#transport-picker{width:min(430px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;overflow:auto}
#transport-picker .dialog-body{padding:24px 18px 20px}
#transport-picker h2{margin:0 36px 8px 0}
#transport-picker .transport-leg-title{margin:0 24px 8px 0;overflow-wrap:anywhere;font-size:15px;line-height:1.5}
#transport-picker .transport-hint{font-size:12px;opacity:.7;margin:0 0 16px}
.transport-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#transport-picker .transport-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:84px;padding:8px 3px;border-radius:12px}
.transport-choice img{width:40px;height:40px;object-fit:contain;filter:none}
.transport-choice>span:not(.transport-check){font-size:11px;line-height:1.25;overflow-wrap:anywhere;text-align:center}
#transport-picker .transport-choice[aria-pressed="true"]{border:2px solid #355c4c!important;box-shadow:inset 0 0 0 1px #355c4c;background:#f0f5ee!important}
.transport-check{position:absolute;top:2px;right:5px;color:#244d38;font-size:12px}
.trip-transport-marker{background:none!important;border:0!important;pointer-events:none!important}
.trip-transport-marker img{display:block;width:32px;height:32px;filter:drop-shadow(0 1px 2px #0004);transform-origin:center}
@media(max-width:350px){.transport-grid{gap:5px}#transport-picker .dialog-body{padding:22px 12px 16px}}
