
  .repmap-network {
    --repmap-blue: #3C3B3A;
    --repmap-blue-2: #3C3B3A;
    --repmap-card: #3C3B3A;
    --repmap-accent: #94d500;
    --repmap-ink: #000000;
    --repmap-muted: #000000;
    font-family: inherit;
    color: var(--repmap-ink);
    width: 100%;
  }
  .repmap-network * { box-sizing: border-box; }
  .repmap-network__top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 22px;
  }
  .repmap-network__eyebrow {
    margin: 0 0 7px;
    color: var(--repmap-accent);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .12em;
  }
  .repmap-network h2 {
    margin: 0;
    color: var(--repmap-blue);
    font-size: clamp(27px, 3vw, 43px);
    line-height: 1.08;
    letter-spacing: -.025em;
  }
  .repmap-network__finder { min-width: min(330px, 100%); margin-inline: auto; }
  .repmap-network__finder input {
    width: 100%;
    min-height: 50px;
    padding: 0 45px 0 16px;
    border: 1px solid rgba(148,213,0,.38);
    border-radius: 2px;
    background: #3C3B3A;
    color: #fff;
    font: inherit;
    font-size: 15px;
    cursor: text;
  }
  .repmap-network__finder input::placeholder { color:#FFFFFF; opacity:.85; }
  .repmap-network__finder input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    cursor: pointer;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 4l10 10M14 4L4 14' fill='none' stroke='%2394d500' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
  }
  .repmap-network__map-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(148,213,0,.18);
    background: #FFFFFF;
    box-shadow: 0 18px 50px rgba(60,59,58,.18), inset 0 0 0 1px rgba(255,255,255,.4);
  }
  .repmap-canvas { width:100%; height:clamp(470px,62vw,700px); z-index:1; background:#FFFFFF; }
  .repmap-network__map-wrap::after {
    content:"";
    position:absolute;
    inset:0;
    z-index:2;
    pointer-events:none;
    background:
      linear-gradient(rgba(60,59,58,.022) 1px,transparent 1px),
      linear-gradient(90deg,rgba(60,59,58,.022) 1px,transparent 1px),
      linear-gradient(90deg,transparent calc(50% - .5px),rgba(148,213,0,.10) 50%,transparent calc(50% + .5px)),
      linear-gradient(transparent calc(50% - .5px),rgba(148,213,0,.10) 50%,transparent calc(50% + .5px));
    background-size:48px 48px,48px 48px,100% 100%,100% 100%;
  }
  .repmap-network__legend {
    position: absolute;
    z-index: 500;
    left: 18px;
    bottom: 18px;
    display: flex;
    gap: 18px;
    padding: 11px 14px;
    border:1px solid rgba(60,59,58,.12);
    border-radius: 2px;
    background:rgba(255,255,255,.94);
    box-shadow:0 8px 28px rgba(60,59,58,.16);
    color:#000000;
    font-size: 12px;
    font-weight: 650;
    backdrop-filter: blur(8px);
  }
  .repmap-network__gesture-hint {
    position:absolute;
    z-index:650;
    top:50%;
    left:50%;
    padding:10px 14px;
    border:1px solid rgba(148,213,0,.28);
    border-radius:3px;
    background:rgba(60,59,58,.9);
    box-shadow:0 8px 24px rgba(0,0,0,.2);
    color:#fff;
    font-size:12px;
    font-weight:650;
    opacity:0;
    pointer-events:none;
    transform:translate(-50%,-50%);
    transition:opacity .18s ease;
  }
  .repmap-network__gesture-hint.is-visible { opacity:1; }
  .repmap-legend-dot { display: inline-block; width: 10px; height: 10px; margin-right: 5px; border-radius: 50%; }
  .repmap-legend-dot--global { width:12px; height:12px; margin-bottom:-1px; border:2px solid #3C3B3A; background:var(--repmap-accent); box-shadow:0 0 0 1px #FFFFFF; }
  .repmap-legend-dot--office { background: var(--repmap-accent); box-shadow:0 0 9px rgba(148,213,0,.85); }
  .repmap-legend-dot--partner { background: #3C3B3A; }
  .repmap-network__hint { margin: 13px 0 0; color: var(--repmap-muted); font-size: 13px; }
  .repmap-network .screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
  .repmap-pin-wrap { background: none; border: 0; }
  .repmap-pin {
    position: relative;
    display: block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255,255,255,.9);
    border-radius: 50%;
    background: #3C3B3A;
    box-shadow: 0 0 0 4px rgba(60,59,58,.12), 0 3px 12px rgba(0,0,0,.5);
  }
  .repmap-pin--office { width:16px; height:16px; margin:-2px 0 0 -2px; border-color:#FFFFFF; background:var(--repmap-accent); box-shadow:0 0 0 5px rgba(148,213,0,.13),0 0 14px rgba(148,213,0,.72); }
  .repmap-pin--global-hq { width:20px; height:20px; margin:-4px 0 0 -4px; border:2px solid #3C3B3A; background:var(--repmap-accent); box-shadow:0 0 0 2px #FFFFFF,0 3px 10px rgba(60,59,58,.28); }
  .repmap-pin--global-hq::after { content:"HQ"; position:absolute; inset:0; display:grid; place-items:center; color:#000000; font:800 6px/1 Arial,sans-serif; letter-spacing:-.03em; }
  .repmap-network .marker-cluster-repmap { background:rgba(148,213,0,.22); }
  .repmap-network .marker-cluster-repmap div {
    background:var(--repmap-accent);
    border:1px solid #FFFFFF;
    color:#000000;
    box-shadow:0 0 18px rgba(148,213,0,.6);
    font-family:inherit;
    font-weight:700;
  }
  .repmap-network .marker-cluster-global-hq { background:rgba(60,59,58,.2); }
  .repmap-network .marker-cluster-global-hq div { border:3px solid #3C3B3A; background:var(--repmap-accent); color:#000000; box-shadow:0 0 0 3px #FFFFFF,0 0 0 7px rgba(148,213,0,.16); font-family:inherit; font-weight:800; }
  .repmap-network .marker-cluster-partner { background:rgba(60,59,58,.2); }
  .repmap-network .marker-cluster-partner div {
    background: #3C3B3A;
    border:1px solid rgba(148,213,0,.45);
    color: #fff;
    font-family: inherit;
    font-weight: 700;
  }
  .repmap-network .leaflet-popup-content-wrapper { padding:0; border:1px solid rgba(60,59,58,.13); border-radius:2px; background:#fff; box-shadow:0 18px 45px rgba(60,59,58,.28); color:#000000; }
  .repmap-network .leaflet-popup-tip { background:#fff; }
  .repmap-network .leaflet-popup-content { margin: 0; min-width: 245px; }
  .repmap-popup__head { padding:15px 17px 13px; border-radius:2px 2px 0 0; border-bottom:1px solid rgba(148,213,0,.18); background:#3C3B3A; color:#fff; }
  .repmap-popup__type { margin: 0 0 4px; color: var(--repmap-accent); font-size: 10px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
  .repmap-popup__head h3 { margin: 0; color: #fff; font-size: 17px; line-height: 1.25; }
  .repmap-popup__body { padding:14px 17px 16px; color:#000000; font-size:13px; line-height:1.5; }
  .repmap-popup__coverage { margin:12px 0 0; color:#000000; }
  .repmap-popup__person { margin:10px 0 0; color:#000000; font-weight:700; }
  .repmap-popup__body a { color:#000000; font-weight:700; text-decoration:none; }
  .repmap-popup__body a:hover { text-decoration: underline; }
  .repmap-popup__coverage, .repmap-popup__coverage a { font-weight:400; }
  .repmap-popup__coverage strong { font-weight:700; }
  .repmap-popup__details, .repmap-popup__details a { font-weight:400; }
  .repmap-popup__details > div { margin:0; padding:0; line-height:1.5; }
  .repmap-popup__address { white-space:pre-line; }
  .repmap-network .leaflet-bar { border:1px solid rgba(148,213,0,.2); box-shadow:none; }
  .repmap-network .leaflet-control-zoom a { border-color:#94D500 !important; background:#3C3B3A !important; color:#fff !important; }
  .repmap-network .leaflet-control-attribution { font-size: 9px; }
  .repmap-network .leaflet-control-attribution { background:rgba(255,255,255,.78) !important; color:#000000; }
  .repmap-network .leaflet-control-attribution a { color:#000000; }
  .repmap-network .leaflet-tile-pane { filter:saturate(.42) contrast(1.03) brightness(.97); }
  .repmap-network .repmap-network-line { stroke-dasharray:5 8; animation:repmapFlow 16s linear infinite; }
  @keyframes repmapFlow { to { stroke-dashoffset:-130; } }
  .repmap-fixed-zoom {
    position:fixed;
    z-index:99999;
    display:none;
    overflow:hidden;
    width:32px;
    margin:0;
    border:1px solid rgba(148,213,0,.25);
    border-radius:4px;
    background:#3C3B3A;
    box-shadow:0 6px 22px rgba(60,59,58,.28);
  }
  .repmap-fixed-zoom.is-visible { display:block; }
  .repmap-fixed-zoom button {
    display:block;
    width:30px;
    height:30px;
    padding:0;
    border:0;
    border-radius:0;
    background:#3C3B3A;
    color:#fff;
    font:700 20px/30px Arial,sans-serif;
    text-align:center;
    cursor:pointer;
  }
  .repmap-fixed-zoom button + button { border-top:1px solid #94D500; }
  .repmap-fixed-zoom button:disabled { color:#FFFFFF; cursor:default; }
  @media (prefers-reduced-motion:reduce) { .repmap-network .repmap-network-line { animation:none; } }
  @media (max-width: 767px) {
    .repmap-network__top { align-items: stretch; flex-direction: column; gap: 17px; }
    .repmap-network__finder { width: 100%; margin-inline: auto; }
    .repmap-canvas { height: 540px; }
    .repmap-network__legend { right:10px; bottom:10px; left:10px; justify-content:center; gap:13px; }
  }

.repmap-network .leaflet-popup-close-button { color:#FFFFFF !important; }
.repmap-network .leaflet-popup-content { max-width:calc(100vw - 70px); overflow-wrap:anywhere; }
.repmap-network .leaflet-control-zoom a.leaflet-disabled, .repmap-fixed-zoom button:disabled { color:rgba(255,255,255,.45) !important; }
.repmap-network__eyebrow { color:#000000; }

/* Compact, keyboard-accessible location type filter. */
.repmap-network__legend { flex-wrap:wrap; gap:4px 10px; max-width:calc(100% - 36px); }
.repmap-network__legend button {
  display:inline-flex; align-items:center; gap:7px; min-height:44px;
  padding:6px 8px; margin:0; border:1px solid transparent; border-radius:2px;
  background:transparent; color:#000000; font:inherit; line-height:1.25;
  letter-spacing:normal; text-transform:none; cursor:pointer; box-shadow:none;
}
.repmap-network__legend button[aria-pressed="true"] { border-color:#94D500; background:rgba(148,213,0,.13); }
.repmap-network__legend button:focus-visible { outline:2px solid #3C3B3A; outline-offset:2px; }
.repmap-network__legend button .repmap-pin { flex-shrink:0; margin:0; }
@media (max-width:767px) {
  .repmap-network__legend { max-width:calc(100% - 20px); padding:6px; gap:2px 4px; }
}

/* Keep theme button interaction colors within the Repmap palette. */
.repmap-network .repmap-network__legend button:focus {
  background:transparent !important;
  border-color:transparent !important;
  color:#000000 !important;
  box-shadow:none !important;
}
.repmap-network .repmap-network__legend button:hover,
.repmap-network .repmap-network__legend button:active {
  background:#94D500 !important;
  border-color:transparent !important;
  color:#000000 !important;
  box-shadow:none !important;
}
.repmap-network .repmap-network__legend button[aria-pressed="true"],
.repmap-network .repmap-network__legend button[aria-pressed="true"]:hover,
.repmap-network .repmap-network__legend button[aria-pressed="true"]:focus,
.repmap-network .repmap-network__legend button[aria-pressed="true"]:active {
  background:rgba(148,213,0,.13) !important;
  border-color:#94D500 !important;
}

/* Branch uses the existing selected-legend background and border colors. */
.repmap-pin--branch { background:rgba(148,213,0,.13); border-color:#94D500; }
@media (max-width:767px) {
  .repmap-network__legend { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .repmap-network__legend button { min-width:0; width:100%; justify-content:flex-start; }
}
