.gotha-wrap,.gotha-info,.project-sources{width:min(1200px,calc(100% - 32px));margin:18px auto}
.gotha-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.gotha-tools .label{font-weight:700;margin-right:4px}
.gotha-tools button{border:1px solid #cbd5df;border-radius:8px;background:#fff;color:#182b3a;padding:8px 12px;cursor:pointer;font:inherit}
.gotha-tools button.active,.gotha-tools button[aria-pressed="true"]{background:#173a58;border-color:#173a58;color:#fff}
.gotha-tools label{display:flex;align-items:center;gap:6px;padding:6px}
.gotha-note{font-size:13px;color:#53616d;line-height:1.5}
#gt-error:not([hidden]){color:#90252c;background:#fff5f4;border:1px solid #f0cbca;border-radius:8px;padding:10px}
#gotha-map{height:min(67vh,680px);min-height:420px;width:100%;border:1px solid #dbe3e9;border-radius:12px;z-index:0}
.gotha-count{margin:10px 0 4px;font-weight:700;color:#384653}
.gotha-info{line-height:1.7}.gotha-info h2{margin-bottom:12px}
.project-sources{font-size:13px;line-height:1.6;color:#586471}
.tram-div-icon{background:none;border:0}.tram-marker{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:2px solid #87919b;border-radius:7px;background:#eeeeee;box-shadow:0 1px 5px #0004}.tram-marker .gt-line-sign{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:27px;height:27px;border:2px solid #303030;border-radius:3px;background:#f7f7f7;color:#181818;font-family:Arial,Helvetica,sans-serif;font-size:18px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}
.gt-popup{line-height:1.5}.gt-stops{max-height:220px;overflow:auto}.gt-stops table{width:100%;font-size:12px;border-collapse:collapse}.gt-stops th,.gt-stops td{padding:4px;border-bottom:1px solid #e4e8ed;text-align:left}
@media(max-width:620px){#gotha-map{height:60vh;min-height:340px}.gotha-wrap,.gotha-info,.project-sources{width:calc(100% - 20px)}}

/* Bedienzeile: alle Linien- und Ausschnitt-Buttons in einer Reihe */
.gotha-toolbar{display:flex;align-items:center;gap:14px;overflow-x:auto;white-space:nowrap;margin:0 0 12px;padding-bottom:3px;scrollbar-width:thin}
.gotha-toolbar .gotha-tools{display:flex;flex:0 0 auto;flex-wrap:nowrap;gap:7px;margin:0}
.gotha-toolbar .gotha-views{gap:7px}
.gotha-tools .gt-filter-sign,.gotha-tools .gt-filter-sign.active,.gotha-tools .gt-filter-sign[aria-pressed="true"]{box-sizing:border-box;min-width:34px;height:34px;padding:2px 6px;border:3px solid #8b949e;border-radius:7px;background:#f7f7f7;color:#171717;font-family:Arial,Helvetica,sans-serif;font-weight:700;font-size:17px;box-shadow:inset 0 0 0 2px #303030;line-height:1}
.gotha-tools .gt-filter-sign:not(.active){opacity:.42;box-shadow:inset 0 0 0 2px #777}
.gotha-tools .gt-filter-sign:hover{background:white;opacity:1}
.gotha-tools .gt-filter-sign:focus-visible,.gotha-views button:focus-visible{outline:3px solid #397abb;outline-offset:2px}
.gotha-history-sources{font-size:13px;color:#586471}
.gotha-info h3{margin:22px 0 8px;font-size:1.14rem}
.gotha-info p{margin:0 0 13px}

/* Linie einzeln anzeigen: helle Schilder; ausgewählte Linie mit ruhiger Kontur. */
.gotha-tools .gt-filter-sign{opacity:1!important;background:#f7f7f7!important;color:#171717!important;box-shadow:inset 0 0 0 2px #303030!important;border-color:#8b949e!important}
.gotha-tools .gt-filter-sign.active,.gotha-tools .gt-filter-sign[aria-pressed="true"]{background:#ffffff!important;color:#171717!important;border-color:#1c608c!important;box-shadow:inset 0 0 0 2px #303030,0 0 0 2px rgba(28,96,140,.2)!important}
