/*
 * Übersicht: hide native order-detail panels only (not tabs / heading / BA chrome).
 * Use html.regab-view-overview — NOT .regab-simple-overview (shell uses display:grid).
 */
html.regab-view-overview .project-summary-panel,
html.regab-view-overview .project-detail-grid,
html.regab-view-overview .project-info-grid,
html.regab-view-overview .project-doc-panel,
html.regab-view-overview .document-timeline-panel,
html.regab-view-overview .project-detail-page > section.panel,
html.regab-view-overview .project-detail-page > .panel {
  display: none !important;
}

/* With Bauabschnitte: section view hides the overview host. */
html.regab-view-section #regab-sections-simple-overview,
html.regab-view-section #regab-sections-map-overview {
  display: none !important;
}

.regab-section-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin: 0 0 18px; padding: 10px 12px;
  border: 1px solid #dfe5ed; border-radius: 12px; background: #f8fafc;
}
.regab-section-tab {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 0 12px; border: 1px solid transparent; border-radius: 9px;
  background: transparent; color: #243247; font-weight: 700; cursor: pointer;
}
.regab-section-tab:hover { background: #eef4fd; border-color: #cbd9ef; }
.regab-section-tab.is-active { background: #eaf2ff; border-color: #b9d0f4; color: #205bb6; }
.regab-section-tab-swatch { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.regab-section-tab-add { border-style: dashed; border-color: #aebed6; color: #2f6fd8; }
.regab-section-tab-archived {
  margin-left: auto;
  border-color: #d8c4a4;
  background: #fff8ee;
  color: #8a5a12;
}
.regab-section-tab-archived:hover { background: #fff1da; border-color: #c9a56a; }

.regab-archived-picker-backdrop {
  position: fixed; inset: 0; z-index: 12000;
  display: grid; place-items: center;
  background: rgba(16, 29, 42, .42);
  padding: 20px;
}
.regab-archived-picker {
  width: min(480px, 100%);
  max-height: min(80vh, 640px);
  overflow: auto;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(16, 29, 42, .22);
  padding: 18px;
  display: grid;
  gap: 12px;
}
.regab-archived-picker-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.regab-archived-picker-head h2 { margin: 0; font-size: 17px; }
.regab-archived-picker-hint { margin: 0; color: #5b6b7c; font-size: 13px; }
.regab-archived-picker-list { display: grid; gap: 8px; }
.regab-archived-picker-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid #e3e9f0; border-radius: 10px;
  background: #f8fafc; cursor: pointer;
}
.regab-archived-picker-row:hover { background: #eef4fd; border-color: #cbd9ef; }
.regab-archived-picker-actions {
  display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px;
}
.regab-archived-picker-close,
.regab-archived-picker-cancel,
.regab-archived-picker-submit {
  min-height: 36px; padding: 0 14px; border-radius: 9px; border: 1px solid #c9d4e2;
  background: #fff; font-weight: 700; cursor: pointer;
}
.regab-archived-picker-submit {
  border-color: #2f6fd8; background: #2f6fd8; color: #fff;
}
.regab-archived-picker-submit:disabled { opacity: .5; cursor: not-allowed; }

#regab-sections-simple-overview {
  color: #172235;
  font: 14px/1.45 ui-sans-serif, system-ui, sans-serif;
  margin: 0 0 24px;
}
.regab-simple-overview { display: grid; gap: 16px; }
.regab-simple-map-card,
.regab-simple-tiles,
.regab-simple-note {
  border: 1px solid #dfe5ed; border-radius: 14px; background: #fff;
  padding: 16px 18px; box-shadow: 0 8px 24px rgba(28, 49, 77, .06);
}
.regab-simple-map-card h2,
.regab-simple-tiles h2,
.regab-simple-note h2 {
  margin: 0 0 12px; font-size: 15px;
}
.regab-simple-map-hint {
  margin: -4px 0 12px; color: #6e7c90; font-size: 12px;
}

.regab-simple-map-chrome {
  position: absolute;
  z-index: 2500;
  top: 10px;
  left: 10px;
  right: 10px;
  display: grid;
  gap: 8px;
  pointer-events: none;
}
.regab-simple-map-chrome > *,
.regab-simple-map-chrome button,
.regab-simple-map-chrome .regab-simple-map-edit-panel,
.regab-simple-map-chrome .regab-simple-map-menu {
  pointer-events: auto;
}

.regab-simple-map-chrome-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.regab-simple-map-chrome-tools {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.regab-simple-map-segment {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid #d5dee9;
  box-shadow: 0 6px 18px rgba(23, 34, 53, .12);
}
.regab-simple-map-seg {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #475569;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}
.regab-simple-map-seg.is-active {
  background: #eaf2ff;
  color: #205bb6;
}

.regab-simple-map-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 38px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #d5dee9;
  border-radius: 11px;
  background: rgba(255, 255, 255, .98);
  color: #243247;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(23, 34, 53, .12);
}
.regab-simple-map-icon-btn:hover,
.regab-simple-map-icon-btn.is-active {
  border-color: #8eb4eb;
  background: #eaf2ff;
  color: #205bb6;
}
.regab-simple-map-edit-btn {
  width: 42px;
  padding: 0;
}
.regab-simple-map-edit-btn.is-active {
  background: #2f6fd8;
  border-color: #2f6fd8;
  color: #fff;
}

.regab-simple-map-menu-wrap { position: relative; z-index: 3; }
.regab-simple-map-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 150px;
  padding: 6px;
  border: 1px solid #d5dee9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 34, 53, .16);
  display: none;
  gap: 2px;
  z-index: 5;
}
.regab-simple-map-menu.is-open,
.regab-simple-map-menu:not([hidden]).is-open {
  display: grid;
}
.regab-simple-map-menu[hidden] {
  display: none !important;
}
.regab-simple-map-menu-item {
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  padding: 8px 10px;
  font-weight: 700;
  font-size: 13px;
  color: #243247;
  cursor: pointer;
}
.regab-simple-map-menu-item:hover { background: #eaf2ff; color: #205bb6; }

.regab-simple-map-edit-panel {
  justify-self: end;
  width: min(380px, 100%);
  padding: 12px;
  border: 1px solid #d5dee9;
  border-radius: 12px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 14px 32px rgba(23, 34, 53, .18);
  display: none;
  gap: 10px;
  z-index: 4;
  position: relative;
}
.regab-simple-map-edit-panel.is-open {
  display: grid;
}
.regab-simple-map-edit-panel[hidden] {
  display: none !important;
}
.regab-simple-map-edit-title {
  font-size: 13px;
  color: #172235;
}
.regab-simple-map-ba,
.regab-simple-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.regab-simple-map-chip,
.regab-simple-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #d5dee9;
  border-radius: 8px;
  background: #fff;
  color: #243247;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}
.regab-simple-map-chip:hover,
.regab-simple-map-btn:hover { border-color: #b9d0f4; background: #eaf2ff; }
.regab-simple-map-chip.is-active,
.regab-simple-map-btn.is-active {
  border-color: #8eb4eb;
  background: #eaf2ff;
  color: #205bb6;
}
.regab-simple-map-btn.is-primary {
  border-color: #2f6fd8;
  background: #2f6fd8;
  color: #fff;
}
.regab-simple-map-btn.is-save {
  border-color: #1f8c60;
  background: #1f8c60;
  color: #fff;
}
.regab-simple-map-btn:disabled {
  opacity: .45;
  cursor: default;
}
.regab-simple-map-status {
  font-size: 12px;
  color: #6e7c90;
}

.regab-simple-map-stage {
  position: relative;
  border-radius: 12px;
  overflow: visible;
  border: 1px solid #e4ebf3;
  background: #e9eef3;
}

#regab-simple-map-leaflet {
  width: 100%;
  height: 380px;
  min-height: 380px;
  background: #e9eef3;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: height .38s cubic-bezier(.22, 1, .36, 1), min-height .38s cubic-bezier(.22, 1, .36, 1);
}
#regab-simple-map-leaflet.is-expanded,
.regab-simple-map-stage.is-expanded #regab-simple-map-leaflet {
  height: 560px;
  min-height: 560px;
}
#regab-simple-map-leaflet.is-drawing,
#regab-simple-map-leaflet.is-drawing .leaflet-container {
  cursor: crosshair;
}
#regab-simple-map-leaflet.is-drawing {
  box-shadow: inset 0 0 0 2px #2f6fd8;
}
.regab-simple-map-empty {
  height: 380px;
  display: grid;
  place-content: center;
  gap: 6px;
  text-align: center;
  color: #62778b;
  background: #e9eef3;
  transition: height .38s cubic-bezier(.22, 1, .36, 1);
}
.regab-simple-map-stage.is-expanded .regab-simple-map-empty {
  height: 560px;
}
.regab-simple-map-empty strong { color: #172235; }
.regab-simple-map-empty p { margin: 0; font-size: 13px; }

.leaflet-tooltip.regab-simple-map-label {
  padding: 2px 8px;
  border: 0;
  border-radius: 999px;
  background: #172235;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  box-shadow: 0 4px 12px rgba(23, 34, 53, .25);
}
.leaflet-tooltip.regab-simple-map-label.is-focused { background: #205bb6; }
.leaflet-tooltip.regab-simple-map-label::before { display: none; }

.regab-simple-map-midlabel {
  background: transparent !important;
  border: 0 !important;
}
.regab-simple-map-midlabel span {
  display: inline-block;
  transform: translate(-50%, -50%);
  padding: 3px 9px;
  border-radius: 999px;
  background: #172235;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(23, 34, 53, .28);
  pointer-events: auto;
}
.regab-simple-map-midlabel.is-focused span {
  background: #205bb6;
}
.regab-simple-map-midlabel.is-muted span {
  background: #94a3b8;
  color: #f8fafc;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(23, 34, 53, .18);
  opacity: 0.92;
}

.regab-simple-vertex {
  background: transparent !important;
  border: 0 !important;
}
.regab-simple-vertex span {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-sizing: border-box;
  background: #fff;
  border: 3px solid var(--vertex-color, #2f6fd8);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .95), 0 4px 10px rgba(23, 34, 53, .35);
  cursor: grab;
}
.regab-simple-vertex span:active {
  cursor: grabbing;
}

.regab-simple-tiles-hint {
  margin: -4px 0 12px;
  color: #6e7c90;
  font-size: 12px;
}
.regab-simple-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.regab-simple-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 14px;
  border: 1px solid #dfe5ed;
  border-radius: 12px;
  background: #f8fafc;
  text-align: left;
  cursor: grab;
  font-weight: 700;
  color: #172235;
}
.regab-simple-tile.is-dragging {
  opacity: 0.45;
  cursor: grabbing;
}
.regab-simple-tile.is-drop-target {
  border-color: #2f6fd8;
  box-shadow: 0 0 0 2px rgba(47, 111, 216, .22);
}
.regab-section-tab.regab-section-draggable {
  cursor: grab;
}
.regab-section-tab.regab-section-draggable.is-dragging {
  opacity: 0.45;
  cursor: grabbing;
}
.regab-section-tab.regab-section-draggable.is-drop-target {
  border-color: #2f6fd8;
  background: #eaf2ff;
}
.regab-simple-tile:hover,
.regab-simple-tile.is-focused {
  border-color: #b9d0f4;
  background: #eaf2ff;
}
.regab-simple-tile:hover .regab-simple-tile-cta,
.regab-simple-tile.is-focused .regab-simple-tile-cta { color: #205bb6; }
.regab-simple-tile-swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.regab-simple-tile-body {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.regab-simple-tile-body strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.regab-simple-tile-cta {
  font-size: 11px;
  font-weight: 700;
  color: #6e7c90;
  letter-spacing: .02em;
}
.regab-simple-tile-open {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #c9d7ea;
  background: #fff;
  color: #205bb6;
  font-size: 12px;
  font-weight: 700;
}
.regab-simple-tile-open:hover { background: #eaf2ff; }

.regab-simple-note-hint { margin: 0 0 10px; color: #6e7c90; font-size: 12px; }
.regab-simple-note-input {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  box-sizing: border-box;
  border: 1px solid #d5dee9;
  border-radius: 10px;
  padding: 12px;
  font: inherit;
}
.regab-simple-note-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.regab-simple-note-status { color: #6e7c90; font-size: 12px; }
.regab-simple-note-save {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #2f6fd8;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.regab-simple-note-save:disabled { opacity: .6; cursor: default; }

@media (max-width: 899px) {
  .regab-section-tabs { overflow-x: auto; flex-wrap: nowrap; }
  .regab-section-tab { flex: 0 0 auto; }
  #regab-simple-map-leaflet,
  .regab-simple-map-empty { height: 300px; min-height: 300px; }
  #regab-simple-map-leaflet.is-expanded,
  .regab-simple-map-stage.is-expanded #regab-simple-map-leaflet,
  .regab-simple-map-stage.is-expanded .regab-simple-map-empty {
    height: 440px;
    min-height: 440px;
  }
  .regab-simple-map-edit-panel { width: calc(100% - 4px); justify-self: stretch; }
}

/* In-page map print preview + dialog */
.regab-map-print-root {
  position: fixed;
  inset: 0;
  z-index: 120000;
  display: grid;
  place-items: center;
  padding: 16px;
  box-sizing: border-box;
  background: rgba(15, 23, 36, 0.72);
  overflow: auto;
}
.regab-map-print-sheet {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(1120px, 96vw);
  height: min(720px, calc(96vw * 210 / 297), 90vh);
  aspect-ratio: 297 / 210;
  max-height: 90vh;
  min-height: 420px;
  padding: 12px 14px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}
.regab-map-print-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
}
.regab-map-print-sheet h1 {
  margin: 0;
  font-size: 16px;
  color: #172235;
  line-height: 1.2;
}
.regab-map-print-sub {
  margin: 4px 0 0;
  color: #526277;
  font-size: 12px;
  max-width: 52ch;
}
.regab-map-print-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}
.regab-map-print-btn {
  appearance: none;
  border: 1px solid #c9d4e2;
  background: #fff;
  color: #24384d;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.regab-map-print-btn.is-primary {
  background: #205bb6;
  border-color: #205bb6;
  color: #fff;
}
.regab-map-print-leaflet {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  border: 1px solid #dfe5ed;
  border-radius: 10px;
  overflow: hidden;
  background: #edf2f7;
  cursor: grab;
}
.regab-map-print-leaflet .leaflet-container {
  width: 100%;
  height: 100%;
}
.regab-map-print-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  flex: 0 0 auto;
}
.regab-map-print-legend li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #24384d;
}
.regab-map-print-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

@media print {
  /* Explicit landscape; keep margins small so content fits one page. */
  @page {
    size: A4 landscape;
    margin: 6mm;
  }

  html, body {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    overflow: hidden !important;
  }

  body.regab-map-printing > *:not(#regab-map-print-root) {
    display: none !important;
  }

  .regab-map-print-root {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    overflow: hidden !important;
    box-shadow: none !important;
  }

  .regab-map-print-sheet {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    page-break-after: avoid !important;
    page-break-inside: avoid !important;
    break-after: avoid !important;
    break-inside: avoid !important;
  }

  .no-print,
  .regab-map-print-actions,
  .regab-map-print-sub {
    display: none !important;
  }

  .regab-map-print-head {
    display: block !important;
    margin: 0 0 2mm !important;
    padding: 0 !important;
  }

  .regab-map-print-sheet h1 {
    margin: 0 !important;
    font-size: 12pt !important;
    line-height: 1.15 !important;
  }

  /* Fixed map box well under landscape printable height (~198mm with 6mm margins). */
  .regab-map-print-leaflet {
    display: block !important;
    width: 100% !important;
    height: 155mm !important;
    max-height: 155mm !important;
    min-height: 155mm !important;
    margin: 0 0 2mm !important;
    border: 1px solid #cfd8e3 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .regab-map-print-leaflet .leaflet-container {
    width: 100% !important;
    height: 100% !important;
  }

  .regab-map-print-leaflet .leaflet-control-container {
    display: none !important;
  }

  .regab-map-print-legend {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1.5mm 4mm !important;
    margin: 0 !important;
    padding: 0 !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .regab-map-print-legend li {
    font-size: 8pt !important;
  }

  .regab-simple-map-midlabel span {
    box-shadow: none !important;
  }
}

/* Keep the BA workspace coherent with the surrounding dark application. */
@media screen {
  :is(html.theme-dark, html[data-theme="dark"], body.theme-dark, body.force-dark) #regab-sections-simple-overview {
    color: #edf6ff;
  }

  :is(html.theme-dark, html[data-theme="dark"], body.theme-dark, body.force-dark) :is(
    .regab-section-tabs,
    .regab-simple-map-card,
    .regab-simple-tiles,
    .regab-simple-note,
    .regab-archived-picker
  ) {
    background: #0d2438;
    border-color: #284b6b;
    color: #edf6ff;
    box-shadow: none;
  }

  :is(html.theme-dark, html[data-theme="dark"], body.theme-dark, body.force-dark) :is(
    .regab-simple-map-hint,
    .regab-simple-tiles-hint,
    .regab-simple-note-hint,
    .regab-simple-note-status,
    .regab-archived-picker-hint
  ) {
    color: #9fb5cc;
  }

  :is(html.theme-dark, html[data-theme="dark"], body.theme-dark, body.force-dark) :is(
    .regab-section-tab,
    .regab-simple-tile,
    .regab-simple-tile-open,
    .regab-archived-picker-row,
    .regab-archived-picker-close,
    .regab-archived-picker-cancel
  ) {
    background: #102b43;
    border-color: #315776;
    color: #edf6ff;
  }

  :is(html.theme-dark, html[data-theme="dark"], body.theme-dark, body.force-dark) :is(
    .regab-section-tab:hover,
    .regab-section-tab.is-active,
    .regab-simple-tile:hover,
    .regab-simple-tile.is-focused,
    .regab-simple-tile-open:hover,
    .regab-archived-picker-row:hover
  ) {
    background: rgba(90, 146, 243, .2);
    border-color: rgba(90, 146, 243, .48);
    color: #b5ceff;
  }

  :is(html.theme-dark, html[data-theme="dark"], body.theme-dark, body.force-dark) .regab-section-tab-archived {
    background: rgba(181, 104, 0, .18);
    border-color: rgba(224, 161, 62, .48);
    color: #f2c879;
  }

  :is(html.theme-dark, html[data-theme="dark"], body.theme-dark, body.force-dark) .regab-simple-note-input {
    background: #071827;
    border-color: #284b6b;
    color: #edf6ff;
  }

  :is(html.theme-dark, html[data-theme="dark"], body.theme-dark, body.force-dark) .regab-simple-note-input::placeholder {
    color: #7890a8;
    opacity: 1;
  }

  /* The map tiles stay unchanged; only floating controls follow the dark shell. */
  :is(html.theme-dark, html[data-theme="dark"], body.theme-dark, body.force-dark) :is(
    .regab-simple-map-segment,
    .regab-simple-map-icon-btn,
    .regab-simple-map-menu,
    .regab-simple-map-edit-panel,
    .regab-simple-map-chip,
    .regab-simple-map-btn
  ) {
    background: rgba(13, 36, 56, .97);
    border-color: #315776;
    color: #edf6ff;
  }

  :is(html.theme-dark, html[data-theme="dark"], body.theme-dark, body.force-dark) :is(
    .regab-simple-map-seg,
    .regab-simple-map-menu-item,
    .regab-simple-map-edit-title,
    .regab-simple-map-status
  ) {
    color: #c8d9e9;
  }

  :is(html.theme-dark, html[data-theme="dark"], body.theme-dark, body.force-dark) :is(
    .regab-simple-map-seg.is-active,
    .regab-simple-map-menu-item:hover,
    .regab-simple-map-chip:hover,
    .regab-simple-map-chip.is-active,
    .regab-simple-map-btn:hover,
    .regab-simple-map-btn.is-active
  ) {
    background: #1a3a57;
    border-color: #527da3;
    color: #b5ceff;
  }
}
