.regab-traffic-host { display: grid; gap: 16px; padding: 0 0 24px; font-family: "DM Sans", system-ui, sans-serif; }
.regab-traffic-loading {
  min-height: min(70vh, 640px);
  display: grid;
  place-items: center;
  align-content: center;
  justify-items: center;
  gap: 14px;
  color: #6e7f8f;
  text-align: center;
}
html.theme-dark .regab-traffic-loading { color: #9db0c4; }
.regab-traffic-loading p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}
.regab-traffic-logo-loading {
  width: 96px !important;
  height: 96px !important;
  border-radius: 20px;
  object-fit: contain;
}
/*
  Host-URL ist /projects?regabTrafficSafety=1 → React markiert „Aufträge“.
  Solange Verkehrssicherung offen ist, nur diesen Link aktiv wirken lassen.
*/
body.regab-traffic-active .sidebar nav a.active:not(.regab-traffic-nav-link) {
  color: #91a5b9 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.regab-traffic-active .sidebar nav a.regab-traffic-nav-link {
  color: white !important;
  background: #243d55 !important;
  box-shadow: inset 3px 0 #5a92f3 !important;
}
/* Klasse kommt aus dem frühen Boot-Skript, noch vor dem ersten Paint. */
html.regab-traffic-boot .page-content > :not(#regab-traffic-host) {
  display: none !important;
}
body.regab-traffic-active .page-content.regab-traffic-mounted > :not(#regab-traffic-host) {
  display: none !important;
}
body.regab-traffic-editor-open,
body.regab-traffic-editor-open .page-content {
  overflow: hidden !important;
}
/* Host sitzt unter der 76px-Topbar. 100vh am Host selbst schiebt die Karte aus dem Fenster. */
body.regab-traffic-editor-open .page-content {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 76px);
  height: calc(100dvh - 76px);
  max-height: calc(100vh - 76px);
  max-height: calc(100dvh - 76px);
  min-height: 0 !important;
  padding-bottom: 12px !important;
}
body.regab-traffic-editor-open #regab-traffic-host {
  flex: 1 1 auto;
  height: auto;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}
body.regab-traffic-editor-open .regab-traffic-editor-head {
  flex: 0 0 auto;
}
body.regab-traffic-editor-open .regab-traffic-editor {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  overflow: hidden;
  grid-template-rows: minmax(0, 1fr);
}
body.regab-traffic-editor-open .regab-traffic-dock {
  min-height: 0;
  max-height: 100%;
  overflow: auto;
}
body.regab-traffic-editor-open .regab-traffic-symbol-grid {
  max-height: none;
}
body.regab-traffic-editor-open .regab-traffic-map-wrap {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}
body.regab-traffic-editor-open .regab-traffic-map-toolbar,
body.regab-traffic-editor-open .regab-traffic-hint {
  flex: 0 0 auto;
}
body.regab-traffic-editor-open .regab-traffic-map-toolbar {
  position: relative;
  z-index: 1200;
  overflow: visible;
}
body.regab-traffic-editor-open .regab-traffic-map {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}
.regab-traffic-geosearch {
  position: relative;
  z-index: 3;
  overflow: visible;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: min(360px, 100%);
  box-sizing: border-box;
  /* Kartenfläche clippt mit overflow:hidden. Das Padding hält Rand und Fokusring im Sichtbereich. */
  padding: 4px 2px;
}
.regab-traffic-geosearch input,
.regab-traffic-geosearch > .secondary-button {
  box-sizing: border-box;
  height: 41px;
  min-height: 41px;
  max-height: 41px;
  margin: 0;
  align-self: center;
  line-height: 39px;
  font-size: 13px;
}
.regab-traffic-geosearch input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 30px 0 12px;
  border: 1px solid var(--detail-border, #e2e8ef);
  border-radius: 10px;
  background: #fff;
  color: #17212b;
  color-scheme: light;
  font-family: inherit;
  font-weight: inherit;
  -webkit-appearance: none;
  appearance: none;
  background-clip: padding-box;
}
.regab-traffic-geosearch input::-webkit-search-decoration,
.regab-traffic-geosearch input::-webkit-search-results-button,
.regab-traffic-geosearch input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.regab-traffic-geosearch input::-webkit-search-cancel-button {
  -webkit-appearance: searchfield-cancel-button;
  appearance: searchfield-cancel-button;
  cursor: pointer;
  margin-right: 2px;
}
.regab-traffic-geosearch > .secondary-button {
  flex: 0 0 auto;
  padding: 0 16px;
  border-radius: 10px;
}
.regab-traffic-geosearch input:focus,
.regab-traffic-geosearch input:focus-visible {
  outline: none;
  border-color: #5a9cff;
  box-shadow: 0 0 0 2px rgba(90, 156, 255, .9);
}
.regab-traffic-geosearch-hits {
  position: fixed;
  z-index: 4500;
  top: 0;
  left: 0;
  right: auto;
  width: min(420px, calc(100vw - 16px));
  max-height: min(280px, 46vh);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--detail-border, #e2e8ef);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .16);
}
.regab-traffic-geosearch-hits button {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-bottom: 1px solid #eef2f6;
  background: #fff;
  text-align: left;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.regab-traffic-geosearch-hits button:hover { background: #eef4ff; }
.regab-traffic-geosearch-hits p {
  margin: 0;
  padding: 8px 10px;
  font-size: 12px;
  color: #4b5e73;
}
.regab-traffic-head h1, .regab-traffic-editor-head h1, .regab-traffic-host .panel-head h2 { font-family: "Manrope", sans-serif; }
.regab-traffic-head h1 { margin: 2px 0 0; font-size: 28px; }
.regab-traffic-head p { margin: 8px 0 0; max-width: 62ch; color: var(--detail-muted, var(--muted, #728294)); }
.regab-traffic-brand,
.regab-traffic-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.regab-traffic-brand .eyebrow { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #5b6b7c; }
.regab-traffic-title-row { margin-top: 8px; }
.regab-traffic-title-row h1 { margin: 0; }
.regab-traffic-title-row p { margin: 2px 0 0; }
.regab-traffic-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(40, 104, 220, .22);
}
.regab-traffic-title-row .regab-traffic-logo { width: 44px; height: 44px; border-radius: 11px; }
.regab-traffic-library {
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--detail-border, #dfe7f0);
  border-radius: 18px;
  background: var(--detail-bg, #fff);
  box-shadow: 0 12px 34px rgba(15, 35, 60, .07);
}
.regab-traffic-library-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--detail-border, #e5ebf2);
}
.regab-traffic-library-head .primary-button { flex: 0 0 auto; min-height: 42px; white-space: nowrap; }
.regab-traffic-library-title { display: flex; align-items: center; gap: 13px; min-width: 0; }
.regab-traffic-library-title h2 { margin: 1px 0 2px; font-family: "Manrope", sans-serif; font-size: 20px; letter-spacing: -.015em; }
.regab-traffic-library-title p { margin: 0; color: var(--detail-muted, #718096); font-size: 12.5px; }
.regab-traffic-library-title .eyebrow { color: #3977ed; font-size: 9.5px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.regab-traffic-library-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #e8f1ff, #f4f8ff);
  color: #2868dd;
  font-size: 20px;
  box-shadow: inset 0 0 0 1px rgba(57,119,237,.1);
}
.regab-traffic-library-controls {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--detail-border, #e5ebf2);
  background: var(--detail-bg-soft, #f8fafc);
}
.regab-traffic-lib-meta { display: inline-flex; align-items: center; min-height: 25px; padding: 0 8px; border-radius: 999px; background: #edf3fb; color: #5c6f86; font-size: 10.5px; font-weight: 800; }
.regab-traffic-toolbar { display: flex; align-items: center; gap: 10px; margin: 0; }
.regab-traffic-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 280px;
  min-width: min(100%, 280px);
  max-width: none;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--detail-border, var(--line, #e4eaf0));
  border-radius: 11px;
  background: var(--detail-bg, #fff);
  color: var(--muted, #8b98a6);
}
.regab-traffic-search svg { flex: 0 0 auto; }
.regab-traffic-search input { width: 100%; height: 40px; border: 0; outline: 0; background: transparent; font: inherit; color: inherit; }
.regab-traffic-search:focus-within { border-color: #72a0f4; background: #fff; box-shadow: 0 0 0 3px rgba(57,119,237,.1); }
.regab-traffic-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; margin: 0; }
.regab-traffic-chips button {
  min-height: 29px;
  padding: 0 9px;
  border: 1px solid var(--detail-border, #d8e2ef);
  border-radius: 999px;
  background: var(--detail-bg, #fff);
  color: #4b5e73;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.regab-traffic-chips button:hover { border-color: #9ab8f7; background: #f2f6ff; color: #1f5fd4; }
.regab-traffic-chips button.is-active { border-color: #3d78ed; background: #eaf1ff; color: #1f5fd4; }
.regab-traffic-library-content {
  display: grid;
  grid-template-columns: minmax(310px, 400px) minmax(0, 1fr);
  min-height: 470px;
}
.regab-traffic-library-list {
  min-width: 0;
  padding: 15px;
  border-right: 1px solid var(--detail-border, #e5ebf2);
  background: var(--detail-bg-soft, #f8fafc);
}
.regab-traffic-list-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 2px 11px; }
.regab-traffic-list-head > strong { color: var(--detail-text, #17283d); font-size: 12.5px; }
.regab-traffic-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: min(58vh, 550px);
  overflow: auto;
  padding: 2px 5px 6px 1px;
  scrollbar-gutter: stable;
}
.regab-traffic-tile {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 11px;
  min-height: 0;
  padding: 9px 10px 9px 9px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--detail-border, #e5e7eb);
  border-radius: 13px;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
.regab-traffic-tile:hover { border-color: #abc2df; background: #fff; box-shadow: 0 6px 18px rgba(17, 42, 74, .07); transform: translateY(-1px); }
.regab-traffic-tile.is-active { border-color: #6698f4; box-shadow: 0 0 0 2px rgba(57,119,237,.12); background: #f3f7ff; }
.regab-traffic-tile-preview { display: block; width: 62px; height: 72px; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 8px; background: #eef2f7; }
.regab-traffic-tile-preview img, .regab-traffic-preview img { width: 100%; height: 100%; object-fit: contain; background: #f8fafc; }
.regab-traffic-tile-copy { display: grid; align-content: center; gap: 5px; min-width: 0; }
.regab-traffic-tile-badges,.regab-traffic-preview-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.regab-traffic-tile strong { min-width: 0; font-size: 13px; line-height: 1.28; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.regab-traffic-tile em { font-style: normal; color: var(--detail-muted, #6b7c8e); font-size: 12px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.regab-traffic-tile-arrow { color: #94a4b8; font-size: 22px; line-height: 1; transition: transform .16s ease; }
.regab-traffic-tile:hover .regab-traffic-tile-arrow,.regab-traffic-tile.is-active .regab-traffic-tile-arrow { color: #3977ed; transform: translateX(2px); }
.regab-traffic-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(57, 119, 237, .09);
  border: 1px solid rgba(57, 119, 237, .14);
  color: #2864d5;
  font-size: 10px;
  font-weight: 800;
  width: fit-content;
}
.regab-traffic-badge.is-category { background: transparent; border-color: var(--detail-border, #dbe3ec); color: var(--detail-muted, #687b91); }
.regab-traffic-preview {
  min-width: 0;
  min-height: 0;
  padding: 15px 17px 17px;
  background: var(--detail-bg, #fff);
}
.regab-traffic-preview-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 1px 11px; }
.regab-traffic-preview-head strong { color: var(--detail-text, #17283d); font-size: 12.5px; }
.regab-traffic-preview-head span { color: var(--detail-muted, #78899d); font-size: 10.5px; }
.regab-traffic-preview-body { display: grid; grid-template-columns: minmax(360px, 1.25fr) minmax(250px, .75fr); grid-template-rows: auto auto 1fr; gap: 13px 16px; min-height: 0; }
.regab-traffic-preview-frame {
  position: relative;
  grid-row: 1 / 4;
  display: grid;
  place-items: center;
  min-height: 0;
  height: clamp(390px, 47vh, 510px);
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%,#fff 0,#edf2f7 76%);
  border: 1px solid var(--detail-border, #e2e8ef);
}
.regab-traffic-preview-viewport {
  position: absolute;
  inset: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(92,111,134,.55) transparent;
}
.regab-traffic-preview-canvas {
  width: max-content;
  min-width: 100%;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 18px;
  box-sizing: border-box;
}
.regab-traffic-preview-frame img,
.regab-traffic-preview img {
  display: block;
  width: auto;
  max-width: none;
  height: auto;
  min-height: 0;
  border-radius: 3px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20,42,69,.18);
}
.regab-traffic-preview-page { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 5px 8px; border-radius: 7px; background: rgba(17,35,57,.82); color: #fff !important; font-size: 9.5px !important; font-weight: 800; }
.regab-traffic-preview-zoom {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  background: rgba(17,35,57,.88);
  box-shadow: 0 5px 15px rgba(15,23,42,.2);
  backdrop-filter: blur(8px);
}
.regab-traffic-preview-zoom button {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.regab-traffic-preview-zoom button:hover { background: rgba(255,255,255,.14); }
.regab-traffic-preview-zoom button:disabled { opacity: .35; cursor: default; }
.regab-traffic-preview-zoom span { width: 44px; color: #fff !important; font-size: 10px !important; font-weight: 800; text-align: center; }
.regab-traffic-preview-zoom .regab-traffic-preview-fit { margin-left: 2px; border-left: 1px solid rgba(255,255,255,.18); border-radius: 0 7px 7px 0; font-size: 10px; }
.regab-traffic-preview-meta { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 9px 2px 0; }
.regab-traffic-preview-meta strong { min-width: 0; font-family: "Manrope",sans-serif; font-size: 17px; line-height: 1.35; color: var(--detail-text, #17212b); overflow-wrap: anywhere; }
.regab-traffic-preview p { margin: 0; font-size: 13px; line-height: 1.45; }
.regab-traffic-preview span { color: var(--detail-muted, #5b6b7c); font-size: 12px; }
.regab-traffic-original-name { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.regab-traffic-preview-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: center; gap: 8px; align-self: start; padding-top: 12px; border-top: 1px solid var(--detail-border, #e5ebf2); }
.regab-traffic-preview-actions .secondary-button,
.regab-traffic-preview-actions .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: 100%;
  padding: 0 14px;
  border-radius: 9px;
  text-decoration: none;
}
.regab-traffic-preview-actions .primary-button { order: 1; }
.regab-traffic-preview-actions .secondary-button { order: 2; }
.regab-traffic-preview-actions .regab-traffic-delete-button { order: 3; }
.regab-traffic-delete-button,
.regab-traffic-danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #f0c5c5;
  border-radius: 9px;
  background: #fffafa;
  color: #b4232d;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.regab-traffic-delete-button {
  justify-self: end;
  min-height: 28px;
  padding: 0 7px;
  border-color: transparent;
  background: transparent;
  color: #a25860;
  font-size: 10.5px;
  font-weight: 750;
}
.regab-traffic-preview-actions .regab-traffic-delete-button { width: 100%; min-height: 40px; padding: 0 10px; border-radius: 9px; font-size: 12px; }
.regab-traffic-delete-button:hover,
.regab-traffic-danger-button:hover { border-color: #e18c92; background: #fff0f1; color: #991b24; }
.regab-traffic-danger-button { min-height: 42px; padding-inline: 18px; background: #c6323d; border-color: #c6323d; color: #fff; }
.regab-traffic-danger-button:hover { background: #ab2530; border-color: #ab2530; color: #fff; }
.regab-traffic-danger-button:disabled { opacity: .65; cursor: wait; }
.regab-traffic-delete-card { width: min(500px,100%); text-align: center; justify-items: center; }
.regab-traffic-delete-card .regab-traffic-modal-actions { width: 100%; }
.regab-traffic-delete-card .regab-traffic-delete-note { margin-top: -4px; color: var(--detail-muted,#718096); font-size: 12px; }
.regab-traffic-delete-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff0f1; color: #c6323d; font-size: 25px; }
.regab-traffic-upload-card { width: min(960px,calc(100vw - 32px)); gap: 20px; padding: 30px 32px 24px; overflow: visible; }
.regab-traffic-upload-heading { display: flex; align-items: center; gap: 14px; padding-right: 42px; }
.regab-traffic-upload-heading h2 { margin: 2px 0 1px; font-size: 21px; }
.regab-traffic-upload-heading p { margin: 0; color: var(--detail-muted,#718096); font-size: 12.5px; }
.regab-traffic-upload-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #eaf2ff;
  color: #2868dd;
}
.regab-traffic-upload-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.regab-traffic-upload-fields {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(200px, 1fr);
  gap: 14px 16px;
}
.regab-traffic-upload-fields > label:first-child { grid-column: 1 / -1; }
.regab-traffic-upload-form label small { margin-left: 4px; color: var(--detail-muted,#8b98a6); font-size: 10px; font-weight: 600; }
.regab-traffic-file-drop {
  min-height: 92px;
  grid-template-columns: 38px minmax(0,1fr) auto !important;
  align-items: center;
  gap: 12px !important;
  padding: 12px 14px;
  border: 1.5px dashed #aac2e8;
  border-radius: 12px;
  background: #f7faff;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.regab-traffic-file-drop:hover,
.regab-traffic-file-drop.is-dragging { border-color: #3977ed; background: #edf4ff; box-shadow: 0 0 0 3px rgba(57,119,237,.09); }
.regab-traffic-file-drop.has-file { border-style: solid; border-color: #77b79c; background: #f2fbf7; }
.regab-traffic-file-drop input { position: absolute; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.regab-traffic-file-drop-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #fff; color: #3977ed; box-shadow: 0 2px 8px rgba(24,56,95,.1); font-size: 21px; }
.regab-traffic-file-drop.has-file .regab-traffic-file-drop-icon { color: #23815d; }
.regab-traffic-file-drop-copy { min-width: 0; display: grid; gap: 3px; }
.regab-traffic-file-drop-copy strong { overflow: hidden; color: var(--detail-text,#17283d); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.regab-traffic-file-drop-copy small { margin: 0 !important; color: var(--detail-muted,#718096); font-size: 10.5px !important; }
.regab-traffic-file-browse { padding: 7px 10px; border: 1px solid #c9d8ed; border-radius: 8px; background: #fff; color: #2e65c7; font-size: 10.5px; font-weight: 800; }
.regab-traffic-upload-desc textarea { min-height: 78px; }
.regab-traffic-upload-card .regab-traffic-modal-actions { padding-top: 2px; }
.regab-traffic-upload-card .regab-traffic-modal-actions button { min-height: 40px; padding-inline: 16px; }
.regab-traffic-preview-empty { grid-column: 1 / -1; margin: 24px 0; color: var(--detail-muted, #728294); }
.regab-traffic-empty { grid-column: 1 / -1; padding: 18px 8px; color: var(--detail-muted, #728294); }
.regab-traffic-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, .46);
}
.regab-traffic-modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: min(88vh, 760px);
  overflow: auto;
  display: grid;
  gap: 12px;
  padding: 22px 22px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--detail-border, #e2e8ef);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
}
.regab-traffic-modal-card .eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #5b6b7c; }
.regab-traffic-modal-card h2 { margin: 0; font-family: "Manrope", sans-serif; font-size: 22px; }
.regab-traffic-modal-card > p { margin: 0; color: var(--detail-muted, #5b6b7c); font-size: 13px; line-height: 1.45; }
.regab-traffic-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #5b6b7c;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.regab-traffic-modal-close:hover { background: #f1f5f9; color: #17212b; }
.regab-traffic-upload-form,
.regab-traffic-modal-card label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--detail-muted, #6d7b8b);
}
.regab-traffic-upload-form { gap: 12px; }
.regab-traffic-upload-desc { grid-column: 1 / -1; }
.regab-traffic-upload-form textarea,
.regab-traffic-modal-card textarea {
  min-height: 84px;
  padding: 8px 10px;
  border: 1px solid var(--detail-border, #e2e8ef);
  border-radius: 8px;
  resize: vertical;
  font: inherit;
}
.regab-traffic-upload-form input,
.regab-traffic-upload-form select,
.regab-traffic-modal-card input,
.regab-traffic-create input {
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--detail-border, #e2e8ef);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
}
.regab-traffic-modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.regab-traffic-create label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; color: var(--detail-muted, #6d7b8b); }
.regab-traffic-create { display: grid; grid-template-columns: minmax(200px, 1.4fr) minmax(160px, 280px) auto; gap: 10px; align-items: end; margin: 0 0 14px; }
.regab-traffic-create .regab-traffic-project-hits { grid-column: 1 / -1; }
.regab-traffic-project-hits { display: grid; gap: 6px; }
.regab-traffic-project-hits button { text-align: left; padding: 8px 10px; border: 1px solid var(--detail-border, #e2e8ef); border-radius: 8px; background: #fff; cursor: pointer; }
.regab-traffic-project-hits button span { display: block; color: var(--detail-muted, #6d7b8b); font-size: 12px; }
.regab-traffic-table-wrap { overflow: auto; border: 1px solid var(--detail-border, #e4eaf0); border-radius: 13px; }
.regab-traffic-table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; background: var(--detail-bg-soft, #f8fafc); }
.regab-traffic-table th, .regab-traffic-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--detail-border, #e4eaf0); font-size: 13px; vertical-align: middle; }
.regab-traffic-table th { color: var(--detail-muted, #728294); text-transform: uppercase; letter-spacing: .055em; font-size: 10px; }
.regab-traffic-table tr:last-child td { border-bottom: 0; }
.regab-traffic-table td strong, .regab-traffic-table td small { display: block; }
.regab-traffic-table td small { margin-top: 2px; color: var(--detail-muted, #728294); }
.regab-traffic-table-actions { width: 140px; text-align: right; }

.regab-traffic-editor-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.regab-traffic-editor-head h1 { margin: 8px 0 4px; }
.regab-traffic-editor-head p { margin: 0 0 8px; color: var(--detail-muted, #728294); }
.regab-traffic-editor-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.regab-traffic-editor { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 12px; min-height: calc(100vh - 180px); }
.regab-traffic-dock { padding: 14px 12px; background: #fff; border: 1px solid var(--detail-border, #e2e8ef); border-radius: 14px; overflow: auto; }
.regab-traffic-dock > strong { display: block; font-size: 13px; }
.regab-traffic-lib-open {
  margin-top: 8px;
  height: 32px;
  width: 100%;
  border: 1px solid var(--detail-border, #e2e8ef);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #1f5fd4;
}
.regab-traffic-empty-cat { margin: 0; font-size: 11px; color: var(--detail-muted, #6d7b8b); }
.regab-traffic-dock > p { margin: 10px 0 0; color: var(--detail-muted, #6d7b8b); font-size: 11px; line-height: 1.4; }
.regab-traffic-dock-filter {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}
.regab-traffic-fav-btn {
  height: 36px;
  width: 100%;
  border: 1px solid var(--detail-border, #e2e8ef);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  color: #4b5e73;
}
.regab-traffic-fav-btn.is-active {
  background: #fff6e0;
  border-color: #e0a106;
  color: #8a5a00;
}
.regab-traffic-cat-label {
  display: grid;
  gap: 4px;
  font-size: 11px;
  font-weight: 800;
  color: var(--detail-muted, #6d7b8b);
}
.regab-traffic-cat-label select {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--detail-border, #e2e8ef);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #24384c;
}
.regab-traffic-symbol-cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.regab-traffic-symbol-cats button {
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--detail-border, #e2e8ef);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #4b5e73;
}
.regab-traffic-symbol-cats button.is-active { background: #e8f0fe; border-color: #3977ed; color: #1f5fd4; }
.regab-traffic-symbol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: calc(100vh - 340px); overflow: auto; }
.regab-traffic-dock input[type="search"] {
  width: 100%;
  box-sizing: border-box;
  height: 36px;
  margin: 0 0 8px;
  padding: 0 10px;
  border: 1px solid var(--detail-border, #e2e8ef);
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
}
.regab-traffic-symbol-grid button { display: grid; gap: 4px; justify-items: center; padding: 8px 4px; border: 1px solid var(--detail-border, #e2e8ef); border-radius: 10px; background: #f8fafc; cursor: grab; }
.regab-traffic-symbol-grid img { width: 42px; height: 42px; object-fit: contain; -webkit-user-drag: none; }
.regab-traffic-symbol-grid button.is-stamp { border-color: #3977ed; background: #e8f0fe; box-shadow: 0 0 0 2px #3977ed; }
.regab-traffic-hint { margin: 0 0 8px; color: var(--detail-muted, #6d7b8b); font-size: 12px; }
.regab-traffic-map-wrap { display: grid; grid-template-rows: auto auto minmax(0, 1fr); min-height: 0; position: relative; }
.regab-traffic-compass {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 900;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #d5dee8;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 6px 18px rgba(15, 23, 42, .18);
  cursor: grab;
  touch-action: none;
}
.regab-traffic-compass:active { cursor: grabbing; }
.regab-traffic-compass .vz-compass-needle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 16px;
  margin-left: -2px;
  margin-top: -18px;
  border-radius: 2px;
  background: #d1434b;
  transform-origin: 50% 18px;
  pointer-events: none;
}
.regab-traffic-compass::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #16324a;
  pointer-events: none;
}
.regab-traffic-map-extras { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 8px; font-size: 12px; font-weight: 700; color: #4b5e73; }
.regab-traffic-map-extras label { display: inline-flex; gap: 8px; align-items: center; }
.regab-traffic-symbol-upload {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 8px;
  border: 1px dashed var(--detail-border, #e2e8ef);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  color: #1f5fd4;
  text-align: center;
}
.regab-traffic-symbol-upload input { display: none; }
.regab-traffic-inspector {
  position: absolute;
  right: 16px;
  top: 108px;
  z-index: 800;
  width: 260px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--detail-border, #e2e8ef);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .16);
}
.regab-traffic-inspector-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 8px; }
.regab-traffic-inspector-head button, .regab-traffic-inspector-actions button {
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--detail-border, #e2e8ef);
  border-radius: 8px;
  background: #fff;
  color: #24384c;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}
.regab-traffic-inspector-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.vz-beside { display: flex; gap: 4px; }
.vz-beside button { width: 32px; padding: 0; }
.regab-traffic-inspector-actions button.danger { color: #b42318; border-color: #f3c2bf; }
.regab-traffic-inspector label { display: grid; gap: 4px; font-size: 11px; font-weight: 700; margin: 8px 0; color: #4b5e73; }
.regab-traffic-inspector label.regab-traffic-check { display: flex; gap: 8px; align-items: center; }
.regab-traffic-inspector input[type="text"] { height: 32px; padding: 0 8px; border: 1px solid var(--detail-border, #e2e8ef); border-radius: 8px; font: inherit; }
.vz-symbol-icon.is-selected img { box-shadow: 0 0 0 3px #3977ed; border-radius: 4px; }
.vz-text-icon.is-selected span { outline: 2px solid #3977ed; }
.regab-traffic-map-toolbar { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; position: relative; }
.regab-traffic-menu { position: relative; margin-left: auto; }
.regab-traffic-settings-btn {
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--detail-border, #e2e8ef);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #1f5fd4;
}
.regab-traffic-settings {
  position: absolute;
  right: 0;
  top: 42px;
  width: 320px;
  max-height: min(70vh, 560px);
  overflow: auto;
  z-index: 900;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--detail-border, #e2e8ef);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .18);
}
.regab-traffic-settings section { display: grid; gap: 8px; padding: 10px 0; border-top: 1px solid var(--detail-border, #e2e8ef); }
.regab-traffic-settings section:first-child { border-top: 0; padding-top: 0; }
.regab-traffic-settings strong { font-size: 12px; }
.regab-traffic-settings p { margin: 0; font-size: 11px; line-height: 1.4; color: var(--detail-muted, #6d7b8b); font-weight: 600; }
.vz-settings-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12px; font-weight: 700; color: #4b5e73; }
.vz-overlay-load { align-items: stretch; }
.vz-overlay-choices {
  display: flex;
  flex: 1 0 100%;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
  padding: 6px;
  background: #f4f7fb;
  border: 1px solid var(--detail-border, #e2e8ef);
  border-radius: 10px;
}
.vz-overlay-choices[hidden] { display: none !important; }
.vz-overlay-choices button {
  width: 100%;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--detail-border, #d9e1e8);
  border-radius: 8px;
  background: #fff;
  color: #1f5fd4;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}
.vz-overlay-choices button:hover {
  background: #eef4ff;
  border-color: #3977ed;
}
.vz-settings-row > span { min-width: 78px; }
.vz-settings-row input[type="range"] { flex: 1; }
.vz-settings-row input.vz-decimal {
  width: 76px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--detail-border, #d9e1e8);
  border-radius: 8px;
  background: #fff;
  color: #16324a;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}
.vz-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.vz-stepper button {
  width: 28px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--detail-border, #d9e1e8);
  border-radius: 8px;
  background: #fff;
  color: #1f5fd4;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}
.vz-stepper button:hover { background: #eef4ff; border-color: #3977ed; }
.regab-traffic-inspector .vz-stepper input[data-field="scale"] {
  width: 76px;
  max-width: none;
}
.regab-traffic-inspector input[data-field="scale"] {
  max-width: 140px;
  justify-self: start;
}
.vz-rot-btn {
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--detail-border, #d9e1e8);
  border-radius: 8px;
  background: #fff;
  color: #1f5fd4;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}
.vz-rot-btn:hover { background: #eef4ff; border-color: #3977ed; }
.vz-swatch, .regab-traffic-inspector .vz-swatch {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid #d7e0ea;
  box-shadow: inset 0 0 0 1px #fff;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  background: #fff;
}
.vz-swatch input[type="color"] {
  width: 48px;
  height: 48px;
  border: 0;
  padding: 0;
  background: none;
  transform: scale(1.6);
  cursor: pointer;
}
.vz-swatch-row { display: flex !important; align-items: center; justify-content: space-between; grid-template-columns: none !important; }
.vz-seg { display: flex; border: 1px solid var(--detail-border, #e2e8ef); border-radius: 8px; overflow: hidden; }
.vz-seg button {
  height: 28px;
  padding: 0 8px;
  border: 0;
  border-right: 1px solid var(--detail-border, #e2e8ef);
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  color: #4b5e73;
}
.vz-seg button:last-child { border-right: 0; }
.vz-seg button.is-active { background: #e8f0fe; color: #1f5fd4; }
.vz-check { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; }
.regab-traffic-host kbd {
  display: inline-block;
  padding: 0 5px;
  border: 1px solid #c5d0dc;
  border-bottom-width: 2px;
  border-radius: 4px;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
}
.vz-overlay-move { background: transparent !important; border: 0 !important; }
.vz-overlay-move span {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1f5fd4;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .3);
  cursor: move;
}
.leaflet-control-zoom a.regab-traffic-fit {
  font-size: 18px;
  line-height: 26px;
  text-decoration: none;
}
.leaflet-touch .leaflet-control-zoom a.regab-traffic-fit { line-height: 30px; }
.regab-traffic-minimap {
  position: absolute;
  z-index: 700;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .28);
  overflow: hidden;
}
.regab-traffic-minimap.is-off,
.regab-traffic-minimap[hidden] { display: none !important; }
.regab-traffic-minimap-bar {
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 800;
  color: #1f5fd4;
  background: #eef4ff;
  cursor: move;
}
.regab-traffic-minimap-map {
  position: relative;
  flex: 1 1 auto;
  min-height: 110px;
  height: calc(100% - 28px);
  overflow: hidden;
  background: #c5d4e3;
  cursor: grab;
}
.vz-mini-tile {
  position: absolute;
  pointer-events: none;
  user-select: none;
}
.vz-mini-view {
  position: absolute;
  border: 2px solid #1f5fd4;
  background: rgba(31, 95, 212, .12);
  pointer-events: none;
  box-sizing: border-box;
}
.regab-traffic-minimap-zoom { display: flex; gap: 4px; margin-left: auto; }
.regab-traffic-minimap-zoom button {
  width: 22px;
  height: 20px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: #1f5fd4;
  font-weight: 800;
  cursor: pointer;
}
.regab-traffic-minimap-map .leaflet-container { height: 100% !important; width: 100%; border: 0; min-height: 110px; }
.regab-traffic-minimap-map .leaflet-control-zoom { margin: 4px; transform: scale(.86); transform-origin: top left; }
.leaflet-image-layer.vz-map-overlay {
  background: transparent !important;
  outline: 1px dashed rgba(31, 95, 212, .55);
  cursor: default;
  pointer-events: none !important;
}
.regab-traffic-map-wrap.is-map-locked .leaflet-image-layer.vz-map-overlay,
.leaflet-image-layer.vz-map-overlay.is-locked {
  cursor: default;
}
.leaflet-vzOverlayEdit-pane { z-index: 660 !important; }
.regab-traffic-minimap-resize {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 16px;
  height: 16px;
  cursor: nwse-resize;
  background: linear-gradient(135deg, transparent 50%, #1f5fd4 50%);
}
#regab-traffic-map .leaflet-overlay-pane { z-index: 620 !important; }
#regab-traffic-map .leaflet-marker-pane { z-index: 640 !important; }
.leaflet-vzOverlay-pane { z-index: 500 !important; }
.leaflet-vzLabels-pane { z-index: 450 !important; pointer-events: none; }
.leaflet-vzLabelHalo-pane { z-index: 440 !important; pointer-events: none; }
.leaflet-vzLabels-pane canvas,
.leaflet-vzLabelHalo-pane canvas {
  background: transparent !important;
  filter: none !important;
}
.regab-traffic-seg { display: flex; flex-wrap: wrap; border: 1px solid var(--detail-border, #e2e8ef); border-radius: 10px; overflow: hidden; background: #fff; }
.regab-traffic-seg button {
  height: 36px;
  padding: 0 10px;
  border: 0;
  border-right: 1px solid var(--detail-border, #e2e8ef);
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #4b5e73;
}
#regab-traffic-history button {
  width: 36px;
  padding: 0;
  font-size: 16px;
}
#regab-traffic-history button:disabled {
  opacity: 0.35;
  cursor: default;
}
#regab-traffic-tools [data-tool] {
  width: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#regab-traffic-tools [data-tool] svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
#regab-traffic-tools [data-tool="select"] svg { fill: currentColor; stroke: none; }
#regab-traffic-tools [data-tool="polygon"] svg { fill: currentColor; fill-opacity: .22; }
#regab-traffic-tools [data-tool="polyline"] circle { fill: currentColor; stroke: none; }
.regab-traffic-seg button:last-child { border-right: 0; }
.regab-traffic-seg button.is-active { background: #e8f0fe; color: #1f5fd4; }
.regab-traffic-map-wrap {
  --vz-map-gray: 0;
  --vz-map-contrast: 1;
}
.regab-traffic-map-wrap .leaflet-tile-pane img.leaflet-tile,
.regab-traffic-map-wrap .leaflet-vzLabels-pane img.leaflet-tile,
.regab-traffic-map-wrap .leaflet-image-layer.vz-map-overlay {
  filter: grayscale(var(--vz-map-gray)) contrast(var(--vz-map-contrast));
}
.regab-traffic-map-wrap .leaflet-marker-pane,
.regab-traffic-map-wrap .leaflet-marker-pane .vz-symbol-icon,
.regab-traffic-map-wrap .leaflet-marker-pane .vz-symbol-icon img,
.regab-traffic-map-wrap .leaflet-overlay-pane .vz-symbol-icon,
.regab-traffic-map-wrap .leaflet-overlay-pane .vz-symbol-icon img,
.regab-traffic-map-wrap .vz-text-icon,
.regab-traffic-map-wrap .vz-text-icon img,
.regab-traffic-map-wrap .vz-geo-pulse,
.regab-traffic-map-wrap .vz-geo-pulse * {
  filter: none !important;
}
.vz-geo-pulse {
  background: transparent !important;
  border: 0 !important;
  pointer-events: none;
}
.vz-geo-pulse-core,
.vz-geo-pulse-wave {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  box-sizing: border-box;
}
.vz-geo-pulse-core {
  background: #1f5fd4;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(31, 95, 212, .45);
}
.vz-geo-pulse-wave {
  border: 2px solid #1f5fd4;
  animation: vz-geo-ripple 1.6s ease-out infinite;
}
.vz-geo-pulse-wave.is-delay { animation-delay: .8s; }
@keyframes vz-geo-ripple {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(4.5); opacity: 0; }
}
.regab-traffic-lock {
  width: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.regab-traffic-lock svg { width: 16px; height: 16px; display: block; }
.regab-traffic-map { height: calc(100vh - 220px); min-height: 480px; border-radius: 12px; overflow: hidden; border: 1px solid var(--detail-border, #e2e8ef); }
.regab-traffic-map .leaflet-container { height: 100%; width: 100%; border: 0; }
.leaflet-vzLabels-pane img {
  image-rendering: auto;
}
.regab-traffic-map .leaflet-bottom.leaflet-left { margin: 0; }
.regab-traffic-map .leaflet-bottom.leaflet-left .leaflet-control-zoom { margin: 0 0 10px 10px; }
.vz-symbol-icon { background: transparent !important; border: 0 !important; overflow: visible !important; box-sizing: border-box !important; }
.vz-fav {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  color: #9aa7b5;
}
.vz-fav.is-on { color: #e3a008; }
.vz-symbol-icon img,
.regab-traffic-map-wrap .leaflet-container .leaflet-marker-pane .vz-symbol-icon img {
  pointer-events: none;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
}
.vz-symbol-caption {
  position: absolute;
  inset: 16% 11%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-evenly;
  text-align: center;
  font-weight: 800;
  font-size: inherit;
  line-height: 1.1;
  color: #111;
  pointer-events: none;
  overflow: hidden;
}
.vz-symbol-caption span {
  display: block;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
}
.vz-symbol-icon.is-plate img,
.regab-traffic-map-wrap .leaflet-container .leaflet-marker-pane .vz-symbol-icon.is-plate img { object-fit: fill; }
.vz-line-fields { display: grid; gap: 4px; }
.vz-zusatz-picker { display: grid; gap: 8px; margin: 8px 0; padding: 8px; border: 1px solid var(--detail-border, #e2e8ef); border-radius: 10px; background: #f8fafc; }
.vz-zusatz-picker strong { font-size: 12px; }
.vz-zusatz-blanks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.vz-zusatz-blanks button,
.vz-zusatz-picker-grid button {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 6px;
  background: #fff;
  border: 1px solid #dfe8f1;
  border-radius: 8px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}
.vz-zusatz-blanks img,
.vz-zusatz-picker-grid img { width: 100%; height: 36px; object-fit: contain; }
.vz-zusatz-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  max-height: 220px;
  overflow: auto;
}
.regab-traffic-inspector textarea {
  min-height: 72px;
  padding: 8px;
  border: 1px solid var(--detail-border, #e2e8ef);
  border-radius: 8px;
  font: inherit;
  resize: vertical;
}
.vz-symbol-box { position: relative; width: 100%; height: 100%; box-sizing: border-box; transform-origin: 50% 50%; }
.vz-handle {
  position: absolute;
  left: 50%;
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  border: 2px solid #1f5fd4;
  background: #fff;
  pointer-events: auto;
  z-index: 3;
}
.vz-handle-scale { top: 0; transform: translate(-50%, -50%); cursor: ns-resize; }
.vz-handle-rotate {
  top: -26px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #1f5fd4;
  cursor: grab;
}
.vz-handle-rotate::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 12px;
  width: 2px;
  height: 12px;
  background: #1f5fd4;
  transform: translateX(-50%);
}
.vz-vertex { background: transparent !important; border: 0 !important; }
.vz-vertex span {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1f5fd4;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .35);
}
#regab-traffic-map .leaflet-overlay-pane { z-index: 620 !important; }
#regab-traffic-map .leaflet-marker-pane { z-index: 640 !important; }
.leaflet-vzOverlay-pane { z-index: 500 !important; }
.leaflet-vzLabels-pane { z-index: 450 !important; pointer-events: none; }
.leaflet-vzLabelHalo-pane { z-index: 440 !important; pointer-events: none; }
.leaflet-vzLabels-pane canvas,
.leaflet-vzLabelHalo-pane canvas {
  background: transparent !important;
  filter: none !important;
}
.vz-text-icon { background: transparent !important; border: 0 !important; }
.vz-arrow-head { background: transparent !important; border: 0 !important; pointer-events: none; }
.vz-draw-line {
  filter: drop-shadow(0 0 1px #000) drop-shadow(0 1px 1px rgba(0, 0, 0, .7));
}
.regab-traffic-settings-btn.is-active { background: #e8f0fe; border-color: #3977ed; }
.regab-traffic-lib-modal {
  position: absolute;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(15, 23, 42, .45);
}
.regab-traffic-lib-modal[hidden] { display: none !important; }
.regab-traffic-lib-modal.is-drag-through {
  visibility: hidden;
  pointer-events: none;
}
.regab-traffic-lib-dialog {
  width: min(1180px, 100%);
  height: min(860px, calc(100% - 16px));
  max-height: calc(100% - 16px);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  padding: 16px 16px 8px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, .28);
}
.regab-traffic-symbol-lib-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 10px; }
.regab-traffic-symbol-lib-head button {
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--detail-border, #e2e8ef);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}
.vz-lib-toolbar { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.vz-lib-toolbar input[type="search"] {
  flex: 1;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--detail-border, #e2e8ef);
  border-radius: 8px;
  font: inherit;
}
.vz-lib-table { min-height: 0; overflow: auto; padding: 4px 2px 12px; }
.vz-lib-sheet { display: grid; gap: 22px; }
.vz-lib-section h2 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #3d5166;
}
.vz-lib-section h2 small {
  margin-left: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #8a9aab;
}
.vz-lib-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 12px 10px;
}
.vz-lib-card {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 12px 8px 8px;
  border: 1px solid #e6edf3;
  border-radius: 12px;
  background: #fff;
}
.vz-lib-card.is-stamp { border-color: #3977ed; box-shadow: 0 0 0 2px #3977ed; }
.vz-lib-card .vz-fav {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 1;
}
.vz-lib-pick {
  width: 100%;
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.vz-lib-pick img { width: 92px; height: 92px; object-fit: contain; -webkit-user-drag: none; }
.vz-lib-code {
  font-size: 12px;
  font-weight: 800;
  color: #17212b;
}
.vz-lib-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  color: #5b6b7c;
}
.vz-lib-card-meta {
  display: grid;
  gap: 4px;
}
.vz-lib-card input[type="text"],
.vz-lib-card select {
  width: 100%;
  box-sizing: border-box;
  height: 30px;
  padding: 0 6px;
  border: 1px solid var(--detail-border, #e2e8ef);
  border-radius: 8px;
  font: inherit;
  font-size: 12px;
  background: #fff;
}
.vz-lib-card-meta button {
  height: 28px;
  padding: 0 6px;
  border: 1px solid var(--detail-border, #e2e8ef);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.vz-lib-card-meta button.danger { color: #b42318; border-color: #f3c2bf; }
.vz-lib-table p { margin: 8px 0; font-size: 12px; color: var(--detail-muted, #6d7b8b); }
.regab-traffic-lib-dialog > p { margin: 8px 0; font-size: 11px; color: var(--detail-muted, #6d7b8b); }

.regab-traffic-map-wrap.is-capturing .regab-traffic-minimap,
.regab-traffic-map-wrap.is-capturing .regab-traffic-map-toolbar,
.regab-traffic-map-wrap.is-capturing .regab-traffic-hint,
.regab-traffic-map-wrap.is-capturing .regab-traffic-inspector,
.regab-traffic-map-wrap.is-capturing .vz-pdf-frame,
.regab-traffic-map-wrap.is-capturing .vz-pdf-panel {
  visibility: hidden !important;
}
.vz-pdf-frame {
  position: absolute;
  z-index: 730;
  cursor: move;
  user-select: none;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .32);
}
.vz-pdf-frame[hidden] { display: none !important; }
.vz-pdf-page {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: 12.1% minmax(0, 1fr) 13.1%;
  background: rgba(244, 247, 251, var(--vz-pdf-opacity, .5));
  outline: 1px solid rgba(15, 23, 42, .4);
  font-size: 10px;
  line-height: 1.2;
  color: #17212b;
}
.vz-pdf-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: start;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, .72);
  overflow: hidden;
}
.vz-pdf-header-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}
.vz-pdf-footer {
  display: grid;
  gap: 1px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, .72);
  overflow: hidden;
}
.vz-pdf-logo {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  box-shadow: none;
}
.vz-pdf-header strong,
.vz-pdf-header span,
.vz-pdf-footer span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vz-pdf-header strong { font-size: 11px; }
.vz-pdf-hole {
  outline: 1px dashed rgba(31, 95, 212, .75);
  background: rgba(255, 255, 255, .08);
}
.vz-pdf-resize {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 16px;
  height: 16px;
  cursor: nwse-resize;
  background: linear-gradient(135deg, transparent 50%, #1f5fd4 50%);
}
.vz-pdf-panel {
  position: absolute;
  z-index: 840;
  left: 16px;
  top: 108px;
  width: min(340px, calc(100% - 24px));
  max-height: calc(100% - 130px);
  overflow: auto;
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--detail-border, #e2e8ef);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .18);
}
.vz-pdf-panel[hidden] { display: none !important; }
.vz-pdf-panel .vz-seg { width: 100%; }
.vz-pdf-panel .vz-seg button { flex: 1; }
.vz-pdf-panel label {
  display: grid;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #5b6b7c;
}
.vz-pdf-panel input,
.vz-pdf-panel textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 6px 8px;
  border: 1px solid var(--detail-border, #e2e8ef);
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #17212b;
}
.vz-pdf-panel p { margin: 0; font-size: 11px; color: #6d7b8b; }
.vz-pdf-panel-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }

@media (max-width: 1450px) {
  .regab-traffic-library-content { grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); }
  .regab-traffic-preview-body { grid-template-columns: minmax(0, 1fr); }
  .regab-traffic-preview-frame { grid-row: auto; height: clamp(320px, 43vh, 430px); }
  .regab-traffic-preview-actions { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 1100px) {
  .regab-traffic-split, .regab-traffic-editor { grid-template-columns: 1fr; }
  body.regab-traffic-editor-open .regab-traffic-editor {
    grid-template-rows: minmax(72px, 26%) minmax(0, 1fr);
  }
  .regab-traffic-library-controls { grid-template-columns: 1fr; }
  .regab-traffic-chips { justify-content: flex-start; }
  .regab-traffic-library-content { grid-template-columns: 1fr; }
  .regab-traffic-library-list { border-right: 0; border-bottom: 1px solid var(--detail-border, #e5ebf2); }
  .regab-traffic-grid { max-height: 330px; }
  .regab-traffic-preview { position: static; min-height: 0; }
  .regab-traffic-preview-body { grid-template-columns: minmax(320px, 1.25fr) minmax(230px, .75fr); }
  .regab-traffic-preview-frame { grid-row: 1 / 4; }
  .regab-traffic-preview-frame,
  .regab-traffic-preview-frame img,
  .regab-traffic-preview img { min-height: 0; height: 290px; }
  .regab-traffic-create { grid-template-columns: 1fr; }
  .regab-traffic-map { height: 52vh; }
}

@media (max-width: 620px) {
  .regab-traffic-library-head { align-items: flex-start; padding: 16px; }
  .regab-traffic-library-title p { display: none; }
  .regab-traffic-library-head .primary-button { min-height: 38px; padding-inline: 10px; }
  .regab-traffic-library-controls { padding: 12px; }
  .regab-traffic-toolbar { flex-wrap: wrap; }
  .regab-traffic-toolbar .primary-button { width: 100%; }
  .regab-traffic-preview-body { grid-template-columns: 1fr; }
  .regab-traffic-preview-frame { grid-row: auto; }
  .regab-traffic-preview-frame,
  .regab-traffic-preview-frame img,
  .regab-traffic-preview img { height: 240px; }
  .regab-traffic-preview-actions { grid-template-columns: 1fr; }
  .regab-traffic-upload-card { padding: 19px; overflow: auto; }
  .regab-traffic-upload-fields { grid-template-columns: 1fr; }
  .regab-traffic-file-drop { grid-template-columns: 36px minmax(0,1fr) !important; }
  .regab-traffic-file-browse { display: none; }
}

html.theme-dark .regab-traffic-tile,
body.theme-dark .regab-traffic-tile,
html.theme-dark .regab-traffic-library,
body.theme-dark .regab-traffic-library,
html.theme-dark .regab-traffic-preview,
body.theme-dark .regab-traffic-preview,
html.theme-dark .regab-traffic-dock,
body.theme-dark .regab-traffic-dock,
html.theme-dark .regab-traffic-search,
body.theme-dark .regab-traffic-search,
html.theme-dark .regab-traffic-table,
body.theme-dark .regab-traffic-table,
html.theme-dark .regab-traffic-inspector,
body.theme-dark .regab-traffic-inspector,
html.theme-dark .vz-lib-card,
body.theme-dark .vz-lib-card {
  background: #0b1724;
  border-color: #24384c;
}
html.theme-dark .regab-traffic-library-head,
body.theme-dark .regab-traffic-library-head {
  background: #0f1d2c;
  border-color: #24384c;
}
html.theme-dark .regab-traffic-library-controls,
body.theme-dark .regab-traffic-library-controls,
html.theme-dark .regab-traffic-library-list,
body.theme-dark .regab-traffic-library-list {
  background: #0b1724;
  border-color: #24384c;
}
html.theme-dark .regab-traffic-library-icon,
body.theme-dark .regab-traffic-library-icon {
  background: #172d47;
  color: #86aff9;
  box-shadow: inset 0 0 0 1px #294665;
}
html.theme-dark .regab-traffic-lib-meta,
body.theme-dark .regab-traffic-lib-meta {
  background: #17283b;
  color: #a9bad0;
}
html.theme-dark .regab-traffic-preview-frame,
body.theme-dark .regab-traffic-preview-frame {
  background: radial-gradient(circle at 50% 30%,#17283a 0,#08131f 76%);
}
html.theme-dark .vz-lib-code,
body.theme-dark .vz-lib-code { color: #dce7f2; }
html.theme-dark .vz-lib-name,
body.theme-dark .vz-lib-name { color: #9bb0c3; }
html.theme-dark .regab-traffic-lib-dialog,
body.theme-dark .regab-traffic-lib-dialog {
  background: #0b1724;
  color: #dce7f2;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .45);
}
html.theme-dark .regab-traffic-symbol-lib-head,
body.theme-dark .regab-traffic-symbol-lib-head,
html.theme-dark .regab-traffic-lib-dialog > p,
body.theme-dark .regab-traffic-lib-dialog > p,
html.theme-dark .vz-lib-section h2,
body.theme-dark .vz-lib-section h2 {
  color: #dce7f2;
}
html.theme-dark .vz-lib-section h2 small,
body.theme-dark .vz-lib-section h2 small,
html.theme-dark .vz-lib-table p,
body.theme-dark .vz-lib-table p {
  color: #9bb0c3;
}
html.theme-dark .regab-traffic-symbol-lib-head button,
body.theme-dark .regab-traffic-symbol-lib-head button,
html.theme-dark .vz-lib-toolbar input[type="search"],
body.theme-dark .vz-lib-toolbar input[type="search"],
html.theme-dark #regab-traffic-lib-upload,
body.theme-dark #regab-traffic-lib-upload {
  background: #102033;
  border: 1px solid #2b435b;
  color: #dce7f2;
  color-scheme: dark;
}
html.theme-dark .vz-lib-toolbar input[type="search"]::placeholder,
body.theme-dark .vz-lib-toolbar input[type="search"]::placeholder {
  color: #7890a8;
  opacity: 1;
}
html.theme-dark #regab-traffic-lib-upload:hover,
body.theme-dark #regab-traffic-lib-upload:hover,
html.theme-dark .regab-traffic-symbol-lib-head button:hover,
body.theme-dark .regab-traffic-symbol-lib-head button:hover {
  background: #172b40;
  border-color: #47627e;
  color: #eef5fc;
}
html.theme-dark .regab-traffic-lib-dialog .vz-lib-card,
body.theme-dark .regab-traffic-lib-dialog .vz-lib-card {
  background: #102033;
  border-color: #2b435b;
  color: #dce7f2;
}
html.theme-dark .regab-traffic-lib-dialog .vz-lib-card.is-stamp,
body.theme-dark .regab-traffic-lib-dialog .vz-lib-card.is-stamp {
  background: #17365a;
  border-color: #73a3ff;
  box-shadow: 0 0 0 2px rgba(115, 163, 255, .55);
}
html.theme-dark .regab-traffic-lib-dialog .regab-traffic-symbol-cats button,
body.theme-dark .regab-traffic-lib-dialog .regab-traffic-symbol-cats button {
  background: #102033;
  border-color: #2b435b;
  color: #dce7f2;
}
html.theme-dark .regab-traffic-lib-dialog .regab-traffic-symbol-cats button.is-active,
body.theme-dark .regab-traffic-lib-dialog .regab-traffic-symbol-cats button.is-active {
  background: #1c3a5c;
  border-color: #3977ed;
  color: #f1f6ff;
}
html.theme-dark .regab-traffic-lib-dialog .vz-lib-pick,
body.theme-dark .regab-traffic-lib-dialog .vz-lib-pick {
  background: transparent;
  color: #dce7f2;
}
html.theme-dark .vz-lib-card input,
body.theme-dark .vz-lib-card input,
html.theme-dark .vz-lib-card select,
body.theme-dark .vz-lib-card select,
html.theme-dark .vz-lib-card-meta button,
body.theme-dark .vz-lib-card-meta button {
  background: #102033;
  border-color: #24384c;
  color: #dce7f2;
}
html.theme-dark .regab-traffic-settings,
body.theme-dark .regab-traffic-settings,
html.theme-dark .regab-traffic-settings-btn,
body.theme-dark .regab-traffic-settings-btn,
html.theme-dark .regab-traffic-seg,
body.theme-dark .regab-traffic-seg,
html.theme-dark .vz-pdf-panel,
body.theme-dark .vz-pdf-panel,
html.theme-dark .regab-traffic-project-hits button,
body.theme-dark .regab-traffic-project-hits button {
  background: #102033;
  border-color: #24384c;
  color: #dce7f2;
}
html.theme-dark .regab-traffic-tile-preview,
body.theme-dark .regab-traffic-tile-preview,
html.theme-dark .regab-traffic-preview img,
body.theme-dark .regab-traffic-preview img { background: #0b1724; }
html.theme-dark .regab-traffic-chips button,
body.theme-dark .regab-traffic-chips button,
html.theme-dark .regab-traffic-symbol-cats button,
body.theme-dark .regab-traffic-symbol-cats button {
  background: #102033;
  border-color: #24384c;
  color: #dce7f2;
}
html.theme-dark .regab-traffic-fav-btn,
body.theme-dark .regab-traffic-fav-btn,
html.theme-dark .regab-traffic-cat-label select,
body.theme-dark .regab-traffic-cat-label select {
  background: #102033;
  border-color: #24384c;
  color: #dce7f2;
}
html.theme-dark .regab-traffic-lib-open,
body.theme-dark .regab-traffic-lib-open,
html.theme-dark .regab-traffic-dock input[type="search"],
body.theme-dark .regab-traffic-dock input[type="search"],
html.theme-dark .regab-traffic-symbol-grid button,
body.theme-dark .regab-traffic-symbol-grid button,
html.theme-dark .regab-traffic-seg button,
body.theme-dark .regab-traffic-seg button,
html.theme-dark .vz-seg button,
body.theme-dark .vz-seg button {
  background: #102033;
  border-color: #2b435b;
  color: #c9d7e5;
}
html.theme-dark .regab-traffic-lib-open:hover,
body.theme-dark .regab-traffic-lib-open:hover,
html.theme-dark .regab-traffic-symbol-grid button:hover,
body.theme-dark .regab-traffic-symbol-grid button:hover,
html.theme-dark .regab-traffic-seg button:hover,
body.theme-dark .regab-traffic-seg button:hover,
html.theme-dark .vz-seg button:hover,
body.theme-dark .vz-seg button:hover {
  background: #172b40;
  border-color: #47627e;
  color: #eef5fc;
}
html.theme-dark .regab-traffic-dock input[type="search"]::placeholder,
body.theme-dark .regab-traffic-dock input[type="search"]::placeholder { color: #7890a8; opacity: 1; }
html.theme-dark .regab-traffic-symbol-grid button span,
body.theme-dark .regab-traffic-symbol-grid button span { color: #aebed0; }
html.theme-dark .regab-traffic-symbol-grid img,
body.theme-dark .regab-traffic-symbol-grid img { background: transparent; filter: none; }
html.theme-dark .regab-traffic-symbol-grid button.is-stamp,
body.theme-dark .regab-traffic-symbol-grid button.is-stamp {
  background: #17365a;
  border-color: #73a3ff;
  box-shadow: 0 0 0 2px rgba(115,163,255,.55);
}
html.theme-dark .regab-traffic-symbol-grid button.is-stamp span,
body.theme-dark .regab-traffic-symbol-grid button.is-stamp span { color: #eef5ff; }
html.theme-dark .regab-traffic-seg button,
body.theme-dark .regab-traffic-seg button,
html.theme-dark .vz-seg button,
body.theme-dark .vz-seg button { border-right-color: #2b435b; }
html.theme-dark .regab-traffic-map-extras,
body.theme-dark .regab-traffic-map-extras,
html.theme-dark .regab-traffic-hint,
body.theme-dark .regab-traffic-hint,
html.theme-dark .regab-traffic-dock > p,
body.theme-dark .regab-traffic-dock > p,
html.theme-dark .regab-traffic-cat-label,
body.theme-dark .regab-traffic-cat-label { color: #9eb0c3; }
html.theme-dark .regab-traffic-minimap,
body.theme-dark .regab-traffic-minimap {
  background: #0d1b2a;
  border-color: #2b435b;
  box-shadow: 0 10px 28px rgba(0,0,0,.42);
}
html.theme-dark .regab-traffic-minimap-bar,
body.theme-dark .regab-traffic-minimap-bar {
  background: #14283c;
  color: #8eb4ff;
}
html.theme-dark .regab-traffic-minimap-zoom button,
body.theme-dark .regab-traffic-minimap-zoom button {
  background: #0b1724;
  color: #a9c6ff;
  border: 1px solid #304a65;
}
html.theme-dark .regab-traffic-fav-btn.is-active,
body.theme-dark .regab-traffic-fav-btn.is-active {
  background: #3a2d10;
  border-color: #e0a106;
  color: #ffd789;
}
html.theme-dark .regab-traffic-chips button.is-active,
body.theme-dark .regab-traffic-chips button.is-active,
html.theme-dark .regab-traffic-symbol-cats button.is-active,
body.theme-dark .regab-traffic-symbol-cats button.is-active,
html.theme-dark .regab-traffic-seg button.is-active,
body.theme-dark .regab-traffic-seg button.is-active,
html.theme-dark .vz-seg button.is-active,
body.theme-dark .vz-seg button.is-active {
  background: #1c3a5c;
  border-color: #3977ed;
  color: #f1f6ff;
}
html.theme-dark .regab-traffic-upload-form input,
body.theme-dark .regab-traffic-upload-form input,
html.theme-dark .regab-traffic-upload-form select,
body.theme-dark .regab-traffic-upload-form select,
html.theme-dark .regab-traffic-upload-form textarea,
body.theme-dark .regab-traffic-upload-form textarea,
html.theme-dark .regab-traffic-modal-card input,
body.theme-dark .regab-traffic-modal-card input,
html.theme-dark .regab-traffic-modal-card select,
body.theme-dark .regab-traffic-modal-card select,
html.theme-dark .regab-traffic-modal-card textarea,
body.theme-dark .regab-traffic-modal-card textarea,
html.theme-dark .regab-traffic-create input,
body.theme-dark .regab-traffic-create input {
  background: #102033;
  border-color: #24384c;
  color: #dce7f2;
}
html.theme-dark .regab-traffic-modal-card,
body.theme-dark .regab-traffic-modal-card {
  background: #0b1724;
  border-color: #24384c;
  color: #dce7f2;
}
html.theme-dark .regab-traffic-delete-button,
body.theme-dark .regab-traffic-delete-button {
  background: #231619;
  border-color: #69333a;
  color: #ff9aa2;
}
html.theme-dark .regab-traffic-delete-button:hover,
body.theme-dark .regab-traffic-delete-button:hover {
  background: #321a1e;
  border-color: #a34a54;
  color: #ffc1c6;
}
html.theme-dark .regab-traffic-delete-icon,
body.theme-dark .regab-traffic-delete-icon { background: #321a1e; color: #ff9aa2; }
html.theme-dark .regab-traffic-upload-icon,
body.theme-dark .regab-traffic-upload-icon { background: #172d47; color: #8eb4ff; }
html.theme-dark .regab-traffic-file-drop,
body.theme-dark .regab-traffic-file-drop { background: #102033; border-color: #365370; }
html.theme-dark .regab-traffic-file-drop:hover,
body.theme-dark .regab-traffic-file-drop:hover,
html.theme-dark .regab-traffic-file-drop.is-dragging,
body.theme-dark .regab-traffic-file-drop.is-dragging { background: #142942; border-color: #6398f3; }
html.theme-dark .regab-traffic-file-drop.has-file,
body.theme-dark .regab-traffic-file-drop.has-file { background: #102820; border-color: #3a8c69; }
html.theme-dark .regab-traffic-file-drop-icon,
body.theme-dark .regab-traffic-file-drop-icon,
html.theme-dark .regab-traffic-file-browse,
body.theme-dark .regab-traffic-file-browse { background: #0b1724; border-color: #304964; }
html.theme-dark .regab-traffic-tile.is-active,
body.theme-dark .regab-traffic-tile.is-active {
  background: #102033;
  border-color: #3977ed;
}
html.theme-dark .regab-traffic-tile.is-active,
body.theme-dark .regab-traffic-tile.is-active { border-color: #8eb4ff; box-shadow: 0 0 0 1px #8eb4ff; }

html.theme-dark .regab-traffic-inspector,
body.theme-dark .regab-traffic-inspector { color: #dce7f2; }
html.theme-dark .regab-traffic-inspector label,
body.theme-dark .regab-traffic-inspector label,
html.theme-dark .regab-traffic-inspector .regab-traffic-hint,
body.theme-dark .regab-traffic-inspector .regab-traffic-hint {
  color: #9bb0c3;
}
html.theme-dark .regab-traffic-inspector-head button,
html.theme-dark .regab-traffic-inspector-actions button,
body.theme-dark .regab-traffic-inspector-head button,
body.theme-dark .regab-traffic-inspector-actions button {
  background: #102033;
  border-color: #3a5168;
  color: #dce7f2;
}
html.theme-dark .regab-traffic-inspector-actions button.danger,
body.theme-dark .regab-traffic-inspector-actions button.danger {
  background: #2a1514;
  border-color: #7a3530;
  color: #ff9b93;
}
html.theme-dark .regab-traffic-inspector input[type="text"],
html.theme-dark .regab-traffic-inspector input[type="search"],
html.theme-dark .regab-traffic-inspector textarea,
body.theme-dark .regab-traffic-inspector input[type="text"],
body.theme-dark .regab-traffic-inspector input[type="search"],
body.theme-dark .regab-traffic-inspector textarea {
  background: #102033;
  border-color: #3a5168;
  color: #dce7f2;
}
html.theme-dark .regab-traffic-inspector kbd,
body.theme-dark .regab-traffic-inspector kbd,
html.theme-dark .regab-traffic-host kbd,
body.theme-dark .regab-traffic-host kbd {
  background: #102033;
  border-color: #3a5168;
  color: #dce7f2;
}
html.theme-dark .vz-zusatz-picker,
body.theme-dark .vz-zusatz-picker {
  background: #102033;
  border-color: #24384c;
}
html.theme-dark .vz-zusatz-picker button,
body.theme-dark .vz-zusatz-picker button {
  background: #0b1724;
  border-color: #24384c;
  color: #dce7f2;
}
html.theme-dark .vz-swatch,
html.theme-dark .regab-traffic-inspector .vz-swatch,
body.theme-dark .vz-swatch,
body.theme-dark .regab-traffic-inspector .vz-swatch {
  background: #102033;
  border-color: #3a5168;
  box-shadow: inset 0 0 0 1px #0b1724;
}
html.theme-dark .regab-traffic-hint,
body.theme-dark .regab-traffic-hint { color: #9bb0c3; }
html.theme-dark .regab-traffic-lib-open,
body.theme-dark .regab-traffic-lib-open {
  background: #102033;
  border-color: #3a5168;
  color: #8eb4ff;
}
html.theme-dark .regab-traffic-geosearch input,
body.theme-dark .regab-traffic-geosearch input {
  background: #102033;
  border-color: #2b435b;
  color: #e7eef6;
  color-scheme: dark;
}
html.theme-dark .regab-traffic-geosearch input:focus,
html.theme-dark .regab-traffic-geosearch input:focus-visible,
body.theme-dark .regab-traffic-geosearch input:focus,
body.theme-dark .regab-traffic-geosearch input:focus-visible {
  background: #102033;
  border-color: #5a9cff;
  color: #e7eef6;
  color-scheme: dark;
  outline: none;
  box-shadow: 0 0 0 2px rgba(90, 156, 255, .95);
}
html.theme-dark .regab-traffic-geosearch input::placeholder,
body.theme-dark .regab-traffic-geosearch input::placeholder {
  color: #7890a8;
  opacity: 1;
}
html.theme-dark .regab-traffic-geosearch .secondary-button,
body.theme-dark .regab-traffic-geosearch .secondary-button {
  background: #10243a;
  border: 1px solid #244260;
  color: #dbeafe;
}
html.theme-dark .regab-traffic-geosearch .secondary-button:hover,
body.theme-dark .regab-traffic-geosearch .secondary-button:hover {
  background: #17385a;
  border-color: #4d89de;
  color: #fff;
}
html.theme-dark .regab-traffic-geosearch-hits,
body.theme-dark .regab-traffic-geosearch-hits {
  background: #0b1724;
  border-color: #24384c;
  color: #dce7f2;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
}
html.theme-dark .regab-traffic-geosearch-hits button,
body.theme-dark .regab-traffic-geosearch-hits button {
  background: #0b1724;
  border-bottom-color: #24384c;
  color: #dce7f2;
}
html.theme-dark .regab-traffic-geosearch-hits button:hover,
body.theme-dark .regab-traffic-geosearch-hits button:hover {
  background: #172b40;
}
html.theme-dark .regab-traffic-geosearch-hits p,
body.theme-dark .regab-traffic-geosearch-hits p {
  color: #9eb0c3;
}
html.theme-dark .regab-traffic-lock,
body.theme-dark .regab-traffic-lock {
  background: #102033;
  border-color: #2b435b;
  color: #c9d7e5;
}
html.theme-dark .regab-traffic-lock.is-active,
body.theme-dark .regab-traffic-lock.is-active {
  background: #1c3a5c;
  border-color: #3977ed;
  color: #f1f6ff;
}
html.theme-dark .regab-traffic-settings .vz-overlay-choices,
body.theme-dark .regab-traffic-settings .vz-overlay-choices {
  background: #0b1724;
  border-color: #24384c;
  color: #dce7f2;
}
html.theme-dark .regab-traffic-settings .vz-overlay-choices button,
body.theme-dark .regab-traffic-settings .vz-overlay-choices button {
  background: #102033;
  border-color: #2b435b;
  color: #dce7f2;
}
html.theme-dark .regab-traffic-settings .vz-overlay-choices button:hover,
body.theme-dark .regab-traffic-settings .vz-overlay-choices button:hover {
  background: #172b40;
  border-color: #4d89de;
  color: #fff;
}
html.theme-dark .regab-traffic-settings .vz-settings-row,
body.theme-dark .regab-traffic-settings .vz-settings-row,
html.theme-dark .vz-pdf-panel .vz-settings-row,
body.theme-dark .vz-pdf-panel .vz-settings-row,
html.theme-dark .regab-traffic-settings .vz-check,
body.theme-dark .regab-traffic-settings .vz-check {
  color: #c9d7e5;
}
html.theme-dark .vz-settings-row input.vz-decimal,
html.theme-dark .regab-traffic-inspector input[data-field="scale"],
body.theme-dark .vz-settings-row input.vz-decimal,
body.theme-dark .regab-traffic-inspector input[data-field="scale"],
html.theme-dark .vz-rot-btn,
body.theme-dark .vz-rot-btn,
html.theme-dark .vz-stepper button,
body.theme-dark .vz-stepper button {
  background: #102033;
  border-color: #2b435b;
  color: #dce7f2;
}
html.theme-dark .vz-stepper button:hover,
body.theme-dark .vz-stepper button:hover {
  background: #172b40;
  border-color: #4d89de;
  color: #fff;
}
html.theme-dark .vz-rot-btn:hover,
body.theme-dark .vz-rot-btn:hover {
  background: #172b40;
  border-color: #4d89de;
  color: #fff;
}
html.theme-dark .regab-traffic-compass,
body.theme-dark .regab-traffic-compass {
  background: rgba(16, 32, 51, .94);
  border-color: #2b435b;
}
html.theme-dark .regab-traffic-compass::after,
body.theme-dark .regab-traffic-compass::after { background: #dce7f2; }
@media (max-width: 780px) {
  body.regab-traffic-editor-open .page-content {
    height: calc(100vh - 66px);
    height: calc(100dvh - 66px);
    max-height: calc(100vh - 66px);
    max-height: calc(100dvh - 66px);
  }
}

/* regab-vz-autosave-v1 */
.regab-traffic-editor-actions .regab-traffic-autosave {
  align-self: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  color: #5f7185;
  white-space: nowrap;
}
.regab-traffic-editor-actions .regab-traffic-autosave[data-state="saved"] {
  color: #1d7a46;
}
.regab-traffic-editor-actions .regab-traffic-autosave[data-state="error"] {
  color: #b42318;
}
#regab-traffic-save.is-saved { color: #1d7a46; border-color: #8fd0a8; }
#regab-traffic-save.is-error { color: #b42318; border-color: #f3c2bf; }
html.theme-dark #regab-traffic-save.is-saved,
body.theme-dark #regab-traffic-save.is-saved { color: #8fd0a8; border-color: #246b45; }
html.theme-dark #regab-traffic-save.is-error,
body.theme-dark #regab-traffic-save.is-error { color: #f0b4ae; border-color: #7a3530; }
html.theme-dark .regab-traffic-editor-actions .regab-traffic-autosave,
body.theme-dark .regab-traffic-editor-actions .regab-traffic-autosave,
html.theme-dark .regab-traffic-editor-actions .regab-traffic-autosave[data-state="saving"],
body.theme-dark .regab-traffic-editor-actions .regab-traffic-autosave[data-state="saving"] {
  color: #9eb0c3;
}
html.theme-dark .regab-traffic-editor-actions .regab-traffic-autosave[data-state="saved"],
body.theme-dark .regab-traffic-editor-actions .regab-traffic-autosave[data-state="saved"] {
  color: #8fd0a8;
}
html.theme-dark .regab-traffic-editor-actions .regab-traffic-autosave[data-state="error"],
body.theme-dark .regab-traffic-editor-actions .regab-traffic-autosave[data-state="error"] {
  color: #f0b4ae;
}
