
.erfurt-wrap{width:100%;max-width:none;margin:0;padding:0}
.erfurt-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:14px 16px 10px}
.erfurt-tools button{border:1px solid #c8d0d8;background:#fff;color:#17283b;border-radius:18px;padding:7px 11px;font-weight:700;cursor:pointer}
.erfurt-tools button.active{background:#17283b;color:#fff;border-color:#17283b}
.erfurt-tools .label{font-weight:700;margin-right:2px}
#erfurt-map{height:72vh;min-height:520px;width:100%;border-radius:0;overflow:hidden;background:#e8edf2}
.erfurt-note{font-size:.92rem;color:#596675;margin:10px 16px 0}
.tram-div-icon{background:transparent;border:0}
.tram-marker{position:relative;width:34px;height:34px}
.tram-marker img{position:absolute;left:5px;top:6px;width:24px;height:24px;object-fit:contain;filter:drop-shadow(0 1px 2px rgba(0,0,0,.45))}
.tram-marker .badge{position:absolute;right:-7px;top:-5px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#17283b;color:#fff;border:2px solid #fff;font:700 11px/18px system-ui;text-align:center;box-shadow:0 1px 3px rgba(0,0,0,.35)}
.leaflet-popup-content{line-height:1.4}
@media(max-width:700px){#erfurt-map{height:68vh;min-height:440px}.erfurt-wrap{padding:0}.erfurt-tools{margin-left:8px;margin-right:8px}.erfurt-note{margin-left:8px;margin-right:8px}}

.erfurt-info{max-width:1000px;margin:26px auto 10px;padding:0 22px;box-sizing:border-box}
.erfurt-info h2{margin:0 0 10px;font-size:24px;color:#1f2933}
.erfurt-info p{margin:0 0 12px;color:#4b5563;line-height:1.65}
.erfurt-info a{color:#17283b;font-weight:700}
.project-sources{width:100%;max-width:none;margin:0;padding:5px 12px;color:#68737d;font-size:11px;line-height:1.35;text-align:center;box-sizing:border-box}
.project-sources p{margin:2px 0;font-weight:400}
.project-sources a{color:#526475;font-weight:400;text-decoration:none}
.project-sources a:hover{text-decoration:underline}
@media(max-width:760px){.project-sources{padding:5px 8px;font-size:11px}}

#ef-error{background:#fff2d8;color:#704900;padding:12px;border-radius:8px}#ef-status{margin-bottom:10px}.erfurt-tools label{display:flex;gap:6px;align-items:center}.erfurt-tools button:focus-visible{outline:3px solid #177ba8;outline-offset:3px}.ef-popup{font:13px/1.5 system-ui;min-width:220px}.ef-popup strong{font-size:16px}.ef-stops{max-height:220px;overflow:auto;margin-top:12px}.ef-stops table{border-collapse:collapse;width:100%;font-size:12px}.ef-stops th,.ef-stops td{padding:4px;border-bottom:1px solid #dbe2e8;text-align:left}.ef-stops th{position:sticky;top:0;background:white}.ef-stops td:not(:first-child){white-space:nowrap}
