/* ===== VERKEHRSMODELL-FACHMODUL ===== */
.tnet-traffic-maptip {
  position: absolute;
  z-index: 910;
  max-width: min(280px, calc(100% - 16px));
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 6px;
  background: #203f4d;
  color: #fff;
  box-shadow: 0 3px 14px rgba(0,0,0,.2);
  font: 12px/1.5 Arial, sans-serif;
  pointer-events: none;
}
.tnet-traffic-maptip[hidden] { display: none; }
.tnet-traffic-maptip strong { display: block; margin-bottom: 4px; }
.tnet-traffic-maptip-direction,
.tnet-traffic-maptip small { color: #d3e2e8; font-size: 11px; }
.tnet-traffic-check[hidden] { display: none; }
.tnet-traffic { color: #203847; font: 13px/1.45 Arial, sans-serif; }
.tnet-traffic-controls { display: grid; gap: 9px; }
.tnet-traffic-field { display: grid; gap: 4px; font-size: 12px; }
.tnet-traffic-field > span,
.tnet-traffic-heading { color: #4a606b; font-size: 11px; font-weight: 700; }
.tnet-traffic-field input,
.tnet-traffic-field select,
.tnet-traffic-modes button,
.tnet-traffic-actions button,
.tnet-traffic-reverse {
  box-sizing: border-box;
  min-width: 0;
  border: 1px solid #c8d5dc;
  border-radius: 4px;
  background: #fff;
  color: #203847;
  font: inherit;
  padding: 6px 7px;
}
.tnet-traffic-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.tnet-traffic-modes button { cursor: pointer; font-size: 11px; }
.tnet-traffic-modes button[aria-pressed="true"] { background: #dcebed; border-color: #4b7b81; font-weight: 700; }
.tnet-traffic-check { display: flex; align-items: center; gap: 6px; font-size: 11px; }
.tnet-traffic-results { max-height: 190px; overflow: auto; border: 1px solid #dce4e7; }
.tnet-traffic-results p { margin: 0; padding: 6px; font-size: 11px; }
.tnet-traffic-results button { display: block; width: 100%; padding: 6px; border: 0; border-bottom: 1px solid #e6ecee; background: #fff; text-align: left; cursor: pointer; }
.tnet-traffic-results small { display: block; color: #627780; font-size: 10px; }
.tnet-traffic-selection { position: relative; padding: 8px; border: 1px solid #dce4e7; border-radius: 4px; }
.tnet-traffic-selection h3 { margin: 4px 20px 3px 0; font-size: 14px; overflow-wrap: anywhere; }
.tnet-traffic-selection p { margin: 4px 0; }
.tnet-traffic-eyebrow { color: #627780; font-size: 10px; font-weight: 700; }
.tnet-traffic-direction,
.tnet-traffic-muted { color: #627780; font-size: 11px; }
.tnet-traffic-close { position: absolute; top: 3px; right: 4px; border: 0; background: transparent; font-size: 18px; cursor: pointer; }
.tnet-traffic-values { width: 100%; border-collapse: collapse; font-size: 11px; }
.tnet-traffic-values td { padding: 4px 0; border-bottom: 1px solid #edf1f2; }
.tnet-traffic-values td:last-child { text-align: right; font-weight: 700; }
.tnet-traffic-reverse { width: 100%; margin-top: 7px; cursor: pointer; }
.tnet-traffic-actions { display: flex; gap: 6px; }
.tnet-traffic-actions button { flex: 1; cursor: pointer; }
.tnet-traffic-status,
.tnet-traffic-source { margin: 6px 0; color: #627780; font-size: 10px; }
.tnet-traffic-error { margin: 6px 0; padding: 7px; border: 1px solid #b95438; border-radius: 4px; background: #fff4ee; color: #842d1d; font-size: 11px; }
