#transit-history-open{background:#e1eafa!important;color:#294654!important}#transit-history-panel{position:fixed;right:26px;top:175px;z-index:90;width:min(340px,calc(100vw - 210px));max-height:calc(100dvh - 240px);overflow:auto;padding:17px;border:1px solid #aec0b0;border-radius:18px;background:#faf9f0f5;box-shadow:0 8px 30px #283d2720;color:#29493d;font:13px/1.5 system-ui,sans-serif}#transit-history-panel[hidden]{display:none}.th-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.th-head button{font-size:23px;padding:2px 12px}#transit-history-legend{display:flex;flex-wrap:wrap;gap:7px 14px}#transit-history-legend span{display:inline-flex;align-items:center;gap:6px}#transit-history-legend i{width:10px;height:10px;border-radius:50%;display:inline-block}#transit-history-message{font-weight:650}#transit-history-period{color:#65766c;font-size:12px}#transit-history-panel button{border:1px solid #b3c9af;border-radius:10px;background:#e9efdf;color:#29493d;cursor:pointer;padding:7px 12px}@media(max-width:700px){#transit-history-panel{right:8px;top:160px;width:calc(100vw - 190px);padding:12px;max-height:calc(100dvh - 220px)}}

#transit-history-legend button{display:flex;align-items:center;gap:8px;width:100%;text-align:left;font:inherit;padding:8px 10px}#transit-history-legend button:hover{background:#dce8cf}#transit-history-legend button.th-selected{outline:2px solid #172f27;outline-offset:-2px}#transit-history-legend button:focus-visible{outline:3px solid #136bf0}#transit-history-legend i{flex-shrink:0}
