.dsp-peak-contact-workspace {
  margin: 0 0 14px;
  border: 1px solid #cfe2d7;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.dsp-peak-contact-workspace > summary {
  min-height: 82px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  background: #f7fbf9;
}

.dsp-peak-contact-workspace > summary::-webkit-details-marker {
  display: none;
}

.dsp-peak-contact-workspace > summary > span:first-child {
  display: grid;
  gap: 3px;
}

.dsp-peak-contact-workspace > summary strong {
  color: #133a2f;
  font-size: 18px;
  font-weight: 600;
}

.dsp-peak-contact-workspace > summary small,
.dsp-peak-contact-workspace > summary em,
.dsp-peak-contact-body > p {
  color: #688078;
  font-style: normal;
  font-size: 12px;
}

.dsp-peak-contact-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.dsp-peak-contact-summary b {
  color: #087d59;
  font-size: 13px;
}

.dsp-peak-contact-summary em {
  padding: 8px 11px;
  border: 1px solid #c8ded4;
  border-radius: 6px;
  color: #087d59 !important;
}

.dsp-peak-contact-body {
  padding: 16px 18px 18px;
  border-top: 1px solid #dceae3;
}

.dsp-peak-contact-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 13px;
}

.dsp-peak-contact-overview > span {
  min-height: 65px;
  padding: 10px 12px;
  display: grid;
  align-content: center;
  gap: 3px;
  border: 1px solid #e0ebe5;
  border-radius: 6px;
  background: #fbfdfc;
}

.dsp-peak-contact-overview small {
  color: #74877f;
  font-size: 11px;
}

.dsp-peak-contact-overview b {
  color: #173f33;
  font-size: 16px;
  font-weight: 600;
}

.dsp-peak-contact-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.dsp-peak-contact-form label {
  display: grid;
  gap: 6px;
  color: #425c53;
  font-size: 12px;
}

.dsp-peak-contact-form input[type="file"] {
  width: 100%;
  min-height: 42px;
  padding: 7px;
  border: 1px solid #c9dbd2;
  border-radius: 6px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
}

.dsp-peak-contact-form .dsp-primary-button {
  min-height: 42px;
  padding: 0 17px;
}

.dsp-hs-map-section {
  margin: 16px 0;
  padding: 18px;
  border: 1px solid #cfe1d8;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.dsp-hs-map-heading {
  align-items: flex-start !important;
}

.dsp-hs-map-heading h2 {
  margin-bottom: 2px !important;
}

.dsp-hs-map-heading small {
  color: #6c8179;
  font-size: 12px;
}

.dsp-hs-map-kpis {
  display: flex;
  gap: 8px;
}

.dsp-hs-map-kpis span {
  min-width: 118px;
  padding: 8px 10px;
  border: 1px solid #dce9e3;
  border-radius: 6px;
  background: #f8fbf9;
  color: #61776f;
  font-size: 11px;
  text-align: right;
}

.dsp-hs-map-kpis b {
  display: block;
  color: #087c58;
  font-size: 17px;
  font-weight: 600;
}

.dsp-hs-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(310px, .85fr);
  align-items: start;
  gap: 12px;
}

.dsp-hs-map-canvas {
  position: relative;
  height: 500px;
  border: 1px solid #d6e5dd;
  border-radius: 8px;
  background-color: #f4f8f5;
  background-image:
    linear-gradient(rgba(37, 91, 70, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 91, 70, .035) 1px, transparent 1px);
  background-size: 24px 24px;
  overflow: hidden;
}

.dsp-hs-map-map-view {
  width: 100%;
  height: 100%;
}

.dsp-hs-map-map-view[hidden],
.dsp-hs-district-analysis[hidden] {
  display: none !important;
}

.dsp-hs-map-canvas svg {
  width: 100%;
  height: 100%;
  display: block;
}

.dsp-map-regions path {
  stroke: #fff;
  stroke-width: 1.7;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  outline: none;
  transition: fill .18s ease, stroke .18s ease, filter .18s ease;
  fill-rule: evenodd;
}

.dsp-map-regions path:hover,
.dsp-map-regions path:focus,
.dsp-map-regions path.is-active {
  stroke: #143d31;
  stroke-width: 2.4;
  filter: brightness(1.03);
}

.dsp-map-regions path.is-territory-muted {
  fill: #d9e0dc !important;
  stroke: #eef2f0;
  opacity: .62;
  filter: saturate(.2);
}

.dsp-map-regions path.is-territory-active {
  stroke: #087d59;
  stroke-width: 3;
  opacity: 1;
  filter: saturate(1.12) brightness(1.02);
}

.dsp-map-labels {
  pointer-events: none;
}

.dsp-map-labels text {
  fill: #274a3f;
  font-family: Prompt, sans-serif;
  font-size: 8.2px;
  font-weight: 500;
  text-anchor: middle;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, .88);
  stroke-width: 2.3px;
  stroke-linejoin: round;
}

.dsp-map-labels text.is-territory-muted {
  opacity: .34;
}

.dsp-map-labels text.is-territory-active {
  fill: #063f2e;
  font-weight: 700;
}

.dsp-map-markers circle {
  fill: #139a68;
  stroke: #fff;
  stroke-width: 2.2px;
  cursor: pointer;
  outline: none;
  filter: drop-shadow(0 2px 2px rgba(17, 50, 40, .2));
  transition: r .16s ease, fill .16s ease;
}

.dsp-map-markers circle.is-idle {
  fill: #aab9b3;
}

.dsp-map-markers circle.is-member {
  stroke: #ffcf45;
  stroke-width: 2.8px;
}

.dsp-map-markers circle:hover,
.dsp-map-markers circle:focus,
.dsp-map-markers circle.is-active {
  r: 7px;
  fill: #202f2a;
}

.dsp-map-markers circle.is-territory-muted {
  opacity: .18;
  filter: none;
}

.dsp-map-markers circle.is-territory-active {
  opacity: 1;
}

.dsp-hs-map-canvas.is-shop-markers-hidden .dsp-map-markers {
  display: none;
}

.dsp-hs-map-overview-button {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 12px;
  min-height: 34px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #c7ddd3;
  border-radius: 7px;
  background: rgba(255,255,255,.94);
  color: #31594b;
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(24,64,50,.08);
}

.dsp-hs-map-overview-button.is-active {
  border-color: #0a8a60;
  background: #0a8a60;
  color: #fff;
}

.dsp-hs-map-top-controls {
  position: absolute;
  z-index: 7;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.dsp-hs-map-canvas.is-analysis-open .dsp-hs-map-top-controls {
  display: none;
}

.dsp-hs-map-sales-area {
  position: relative;
}

.dsp-hs-map-shop-toggle,
.dsp-hs-map-sales-area > button {
  min-height: 34px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #c7ddd3;
  border-radius: 7px;
  background: rgba(255,255,255,.96);
  color: #31594b;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(24,64,50,.08);
}

.dsp-hs-map-shop-toggle span {
  color: #139a68;
  font-size: 10px;
}

.dsp-hs-map-shop-toggle.is-markers-hidden {
  border-color: #ccd7d2;
  background: rgba(244,247,245,.96);
  color: #65776f;
}

.dsp-hs-map-shop-toggle.is-markers-hidden span {
  color: #aab6b1;
}

.dsp-hs-map-shop-toggle b,
.dsp-hs-map-sales-area > button b {
  max-width: 150px;
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dsp-hs-map-sales-area > button i {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dsp-hs-map-sales-area > button[aria-expanded="true"] {
  border-color: #0a8a60;
  color: #087d59;
}

.dsp-hs-map-sales-area-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 265px;
  max-height: 320px;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid #c9ddd3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(22,58,46,.16);
}

.dsp-hs-map-sales-area-menu[hidden] {
  display: none;
}

.dsp-hs-map-sales-area-menu button {
  width: 100%;
  min-height: 45px;
  padding: 6px 8px;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #264b3f;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.dsp-hs-map-sales-area-menu button:hover,
.dsp-hs-map-sales-area-menu button:focus,
.dsp-hs-map-sales-area-menu button.is-active {
  background: #e9f6ef;
  color: #087d59;
}

.dsp-hs-map-sales-area-menu img,
.dsp-hs-map-sales-area-menu button > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  object-fit: cover;
  background: #dff2e8;
  color: #087d59;
  font-size: 11px;
  font-weight: 600;
}

.dsp-hs-map-sales-area-menu .dsp-sales-territory-all {
  font-size: 16px;
}

.dsp-hs-map-sales-area-menu b {
  min-width: 0;
  overflow: hidden;
  font-size: 11px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dsp-hs-map-sales-area-menu small {
  color: #71837c;
  font-size: 9px;
  white-space: nowrap;
}

.dsp-hs-map-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #587168;
  font-size: 13px;
  background: #f4f8f5;
}

.dsp-hs-map-loading[hidden] {
  display: none;
}

.dsp-hs-map-legend {
  position: absolute;
  left: 12px;
  bottom: 11px;
  padding: 7px 9px;
  display: grid;
  grid-template-columns: auto 82px auto auto;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(194, 216, 205, .9);
  border-radius: 6px;
  background: rgba(255, 255, 255, .92);
  color: #667c74;
  font-size: 9px;
}

.dsp-hs-map-legend i {
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(90deg, #e7f0eb, #14a553);
}

.dsp-hs-map-insight {
  height: 500px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d6e5dd;
  border-radius: 8px;
  background: #fbfdfc;
}

.dsp-hs-map-insight-top {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

.dsp-hs-map-insight-title {
  min-width: 0;
}

.dsp-hs-map-salespeople {
  max-width: 185px;
  display: block;
}

.dsp-hs-map-salespeople[hidden] {
  display: none !important;
}

.dsp-hs-map-salespeople > div {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.dsp-hs-map-salespeople > div > span {
  min-width: 0;
  padding: 3px 7px 3px 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #dce9e3;
  border-radius: 999px;
  background: #fff;
}

.dsp-hs-map-salespeople img,
.dsp-hs-map-salespeople i {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  flex: 0 0 29px;
  border-radius: 50%;
  object-fit: cover;
  background: #dff3e9;
  color: #087d59;
  font-size: 10px;
  font-style: normal;
}

.dsp-hs-map-salespeople b {
  max-width: 105px;
  overflow: hidden;
  color: #24483b;
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dsp-hs-map-insight h3 {
  margin: 4px 0 2px;
  color: #123d30;
  font-size: 20px;
  font-weight: 600;
}

.dsp-hs-map-insight-title > p {
  min-height: 34px;
  margin: 0 0 12px;
  color: #72867e;
  font-size: 11px;
}

.dsp-hs-district-analysis {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 54px 18px 16px;
  display: flex;
  flex-direction: column;
  background: rgba(248, 252, 250, .94);
}

.dsp-hs-district-analysis-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.dsp-hs-district-analysis-heading h3 {
  margin: 3px 0 2px;
  color: #153e31;
  font-size: 18px;
  font-weight: 600;
}

.dsp-hs-district-analysis-heading p {
  margin: 0;
  color: #74877f;
  font-size: 10px;
}

.dsp-hs-district-analysis-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}

.dsp-hs-district-analysis-scope,
.dsp-hs-district-analysis-modes {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid #d7e6df;
  border-radius: 7px;
  background: #fff;
}

.dsp-hs-district-analysis-scope button,
.dsp-hs-district-analysis-modes button {
  min-height: 30px;
  padding: 4px 9px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #657b72;
  font: inherit;
  font-size: 9px;
  cursor: pointer;
}

.dsp-hs-district-analysis-scope button.is-active,
.dsp-hs-district-analysis-modes button.is-active {
  background: #e3f4ec;
  color: #087653;
  font-weight: 600;
}

.dsp-hs-district-analysis-body {
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(190px, .75fr) minmax(270px, 1.25fr);
  align-items: center;
  gap: 22px;
}

.dsp-hs-district-donut {
  position: relative;
  width: min(270px, 100%);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 12px 34px rgba(25, 73, 56, .12);
}

.dsp-hs-district-donut::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e1ebe6;
}

.dsp-hs-district-donut > span {
  position: relative;
  z-index: 1;
  width: 54%;
  display: grid;
  gap: 3px;
  text-align: center;
}

.dsp-hs-district-donut b {
  color: #153e31;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.dsp-hs-district-donut small {
  color: #758980;
  font-size: 9px;
}

.dsp-hs-analysis-profile {
  min-width: 0;
  margin: 0 auto 2px;
  display: grid;
  justify-items: center;
  gap: 3px;
}

.dsp-hs-analysis-profile[hidden] {
  display: none;
}

.dsp-hs-analysis-profile img,
.dsp-hs-analysis-profile > i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  background: #dff3e9;
  color: #087d59;
  font-size: 13px;
  font-style: normal;
  box-shadow: 0 3px 10px rgba(20, 72, 53, .16);
}

.dsp-hs-analysis-profile > b {
  max-width: 115px;
  overflow: hidden;
  font-size: 9px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dsp-hs-district-donut [data-dsp-analysis-secondary] {
  color: #667d74;
  font-size: 7.5px;
  font-style: normal;
  line-height: 1.35;
}

.dsp-hs-district-donut [data-dsp-analysis-secondary].is-up {
  color: #07835b;
}

.dsp-hs-district-donut [data-dsp-analysis-secondary].is-down {
  color: #d45750;
}

.dsp-hs-district-analysis.is-sales-scope .dsp-hs-district-donut::after {
  inset: 17%;
}

.dsp-hs-district-analysis.is-sales-scope .dsp-hs-district-donut > span {
  width: 66%;
}

.dsp-hs-district-share-list {
  max-height: 340px;
  display: grid;
  align-content: start;
  gap: 4px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.dsp-hs-district-share-list button {
  width: 100%;
  box-sizing: border-box;
  min-height: 43px;
  padding: 6px 8px;
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #25473b;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.dsp-hs-district-share-list [data-dsp-district-share],
.dsp-hs-district-share-list .dsp-hs-sales-district {
  min-height: 48px;
  grid-template-columns: 9px minmax(0, 1fr) 46px minmax(108px, auto);
}

.dsp-hs-district-share-list button:hover,
.dsp-hs-district-share-list button.is-active {
  border-color: #cee1d8;
  background: #fff;
}

.dsp-hs-district-share-list button > i {
  width: 9px;
  height: 28px;
  border-radius: 3px;
  background: var(--district-color);
}

.dsp-hs-district-share-list button > span {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.dsp-hs-district-share-list b {
  overflow: hidden;
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dsp-hs-district-share-list small {
  color: #7a8c85;
  font-size: 8px;
}

.dsp-hs-district-share-list em {
  color: #087653;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}

.dsp-hs-district-share-list .dsp-hs-share-result {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  white-space: nowrap;
}

.dsp-hs-share-list-head {
  position: sticky;
  z-index: 3;
  top: 0;
  min-height: 27px;
  padding: 4px 8px 4px 25px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px minmax(108px, auto);
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #dce9e3;
  background: rgba(248, 252, 250, .97);
  color: #6e847b;
  font-size: 8px;
  font-weight: 600;
}

.dsp-hs-share-list-head > span:nth-child(2) {
  text-align: center;
}

.dsp-hs-share-list-head > span:last-child {
  display: grid;
  grid-template-columns: 50px 58px;
  justify-content: end;
  gap: 7px;
  text-align: right;
}

.dsp-hs-share-list-head b {
  color: #6e847b;
  font-size: 8px;
  font-weight: 600;
}

.dsp-hs-district-share-list button > .dsp-hs-district-row-sales {
  width: 46px;
  min-width: 46px;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  overflow: visible;
  isolation: isolate;
}

.dsp-hs-district-row-sales img,
.dsp-hs-district-row-sales i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  background: #dff3e9;
  color: #087653;
  font-size: 9px;
  font-style: normal;
  box-shadow: 0 1px 5px rgba(20, 72, 53, .14);
  position: relative;
  z-index: 2;
}

.dsp-hs-district-row-sales img + img,
.dsp-hs-district-row-sales img + i,
.dsp-hs-district-row-sales i + img,
.dsp-hs-district-row-sales i + i {
  margin-left: -11px;
  z-index: 1;
}

.dsp-hs-district-row-sales.is-empty i {
  border-color: #e2ebe7;
  background: #f3f7f5;
  color: #93a29c;
  box-shadow: none;
}

.dsp-hs-district-share-list .dsp-hs-share-result > b {
  color: #087653;
  font-size: 10px;
  font-weight: 600;
}

.dsp-hs-district-share-list .dsp-hs-share-result > small {
  min-width: 67px;
  margin: 0;
  color: #73877e;
  font-size: 8px;
  font-weight: 500;
  text-align: left;
}

.dsp-hs-district-share-list .dsp-hs-share-result > small.is-up {
  color: #07835b;
}

.dsp-hs-district-share-list .dsp-hs-share-result > small.is-down {
  color: #d45750;
}

.dsp-hs-district-share-list .dsp-hs-sales-share {
  min-height: 54px;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 9px;
}

.dsp-hs-sales-share-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid var(--district-color);
  border-radius: 50%;
  overflow: hidden;
  background: #edf7f2;
}

.dsp-hs-sales-share-avatar img,
.dsp-hs-sales-share-avatar > i {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
  background: #edf7f2;
  color: #087653;
  font-size: 10px;
  font-style: normal;
}

.dsp-hs-district-share-list .dsp-hs-sales-share small {
  line-height: 1.4;
}

.dsp-hs-sales-share-mom.is-up {
  color: #07835b !important;
}

.dsp-hs-sales-share-mom.is-down {
  color: #d45750 !important;
}

.dsp-hs-sales-drilldown-head {
  min-height: 45px;
  margin-bottom: 3px;
  padding: 6px 8px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid #cfe2d8;
  border-radius: 7px;
  background: #fff;
}

.dsp-hs-sales-drilldown-head > .dsp-hs-sales-drilldown-back {
  width: auto;
  min-height: 28px;
  padding: 4px 8px;
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #c9ddd3;
  border-radius: 6px;
  background: #edf8f2;
  color: #087653;
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.dsp-hs-sales-drilldown-back > span {
  font-size: 12px;
  line-height: 1;
}

.dsp-hs-sales-drilldown-head > span {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.dsp-hs-sales-drilldown-head b {
  overflow: hidden;
  color: #21473a;
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dsp-hs-sales-drilldown-head small {
  color: #778c83;
  font-size: 8px;
}

.dsp-hs-district-share-list .dsp-hs-sales-district {
  grid-template-columns: 9px minmax(0, 1fr) 40px minmax(108px, auto);
}

.dsp-hs-district-share-list .dsp-hs-sales-district > i {
  width: 9px;
  height: 34px;
  border-radius: 3px;
  background: var(--district-color);
}

.dsp-hs-audit-district {
  width: max-content !important;
  max-width: 100% !important;
  margin: 4px 0 2px !important;
  padding: 3px 7px !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 999px !important;
  background: #eaf7f0 !important;
  color: #087653 !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

.dsp-hs-audit-district:empty {
  display: none !important;
}

.dsp-hs-audit-district:not(:empty) {
  white-space: nowrap !important;
}

.dsp-hs-audit-shop-title {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
}

.dsp-hs-audit-shop-title > strong {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.dsp-hs-audit-shop-title > .dsp-hs-audit-district {
  flex: 0 0 auto !important;
  margin: 0 !important;
}

.dsp-hs-map-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  flex: 0 0 auto;
  margin-bottom: 7px;
}

.dsp-hs-map-insight-grid span {
  min-height: 47px;
  padding: 7px 9px;
  display: grid;
  align-content: center;
  border: 1px solid #e0ebe5;
  border-radius: 6px;
  background: #fff;
}

.dsp-hs-map-insight-grid small {
  color: #7d8f88;
  font-size: 10px;
}

.dsp-hs-map-insight-grid b {
  margin-top: 2px;
  color: #103c2f;
  font-size: 13px;
  font-weight: 600;
}

.dsp-hs-map-insight-grid .dsp-hs-map-mom {
  display: block;
  margin-top: 2px;
  color: #7d8f88;
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.2;
}

.dsp-hs-map-insight-grid .dsp-hs-map-mom.is-up {
  color: #07845d;
}

.dsp-hs-map-insight-grid .dsp-hs-map-mom.is-down {
  color: #d35348;
}

.dsp-hs-map-insight-grid .dsp-hs-map-mom.is-new {
  color: #1769aa;
}

.dsp-hs-map-insight-grid .dsp-hs-map-mom.is-flat {
  color: #7d8f88;
}

.dsp-hs-map-insight-grid .dsp-hs-map-buying-ratio {
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.dsp-hs-map-buying-ratio > i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: conic-gradient(#139a68 0 var(--buying-ratio, 0deg), #dfe7e3 var(--buying-ratio, 0deg) 360deg);
  box-shadow: inset 0 0 0 8px #fff;
}

.dsp-hs-map-buying-ratio > em {
  min-width: 0;
  display: grid;
  font-style: normal;
}

.dsp-hs-map-top-shops {
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  align-content: start;
  gap: 6px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.dsp-hs-map-top-shops > p {
  margin: 8px 0 0;
  color: #7a8c85;
  font-size: 11px;
}

.dsp-hs-map-top-shops article {
  min-height: 49px;
  padding: 8px 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e5eee9;
}

.dsp-hs-map-top-shops article i {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e4f4ec;
  color: #087d59;
  font-size: 10px;
  font-style: normal;
}

.dsp-hs-map-top-shops article span {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.dsp-hs-map-top-shops article b {
  overflow: hidden;
  color: #263e36;
  font-size: 11px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dsp-hs-map-top-shops article small,
.dsp-hs-map-top-shops article em {
  color: #768a82;
  font-size: 9px;
  font-style: normal;
}

.dsp-hs-map-top-shops article > em {
  margin-left: auto;
  padding: 3px 6px;
  border-radius: 999px;
  background: #e6f6ee;
  color: #087d59;
  white-space: nowrap;
}

.dsp-hs-map-top-shops article.is-idle > em {
  background: #edf1ef;
  color: #74837d;
}

.dsp-sales-district-picker {
  border: 1px solid #dce8e2;
  border-radius: 6px;
  background: #f9fbfa;
}

.dsp-sales-district-picker > summary {
  padding: 9px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
}

.dsp-sales-district-picker > summary b {
  color: #087d59;
  font-size: 11px;
}

.dsp-sales-district-picker > div {
  max-height: 190px;
  padding: 8px 10px 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 10px;
  overflow-y: auto;
  border-top: 1px solid #e2ece7;
}

.dsp-sales-district-picker > div label {
  min-width: 0;
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 6px !important;
  font-size: 12px;
}

.dsp-sales-district-picker input {
  margin: 0;
}

.dsp-hs-map-note,
.dsp-hs-map-source {
  display: block;
  margin: 9px 0 0;
  color: #7a8d85;
  font-size: 10px;
}

.dsp-hs-shops-table-card {
  padding: 0 !important;
  overflow: hidden;
}

.dsp-hs-shops-table-card > summary {
  min-height: 76px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  background: #fff;
}

.dsp-hs-shops-table-card > summary::-webkit-details-marker {
  display: none;
}

.dsp-hs-shops-table-card > summary .dsp-section-heading {
  width: 100%;
  margin: 0 !important;
}

.dsp-hs-shops-table-card > summary svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: #087d59;
  stroke-width: 2;
  transition: transform .18s ease;
}

.dsp-hs-shops-table-card[open] > summary svg {
  transform: rotate(180deg);
}

.dsp-hs-shops-table-card > .dsp-hs-table-wrap {
  border-top: 1px solid #dce9e3;
}

@media (max-width: 900px) {
  .dsp-hs-map-layout {
    grid-template-columns: 1fr;
  }

  .dsp-hs-map-insight {
    height: auto;
    max-height: 520px;
  }
}

@media (max-width: 640px) {
  .dsp-peak-contact-workspace > summary,
  .dsp-peak-contact-body,
  .dsp-hs-map-section {
    padding: 13px;
  }

  .dsp-peak-contact-workspace > summary {
    align-items: flex-start;
  }

  .dsp-peak-contact-summary {
    display: grid;
    justify-items: end;
    gap: 5px;
  }

  .dsp-peak-contact-overview {
    grid-template-columns: 1fr;
  }

  .dsp-peak-contact-form {
    grid-template-columns: 1fr;
  }

  .dsp-hs-map-heading {
    display: grid !important;
    gap: 10px;
  }

  .dsp-hs-map-kpis {
    width: 100%;
  }

  .dsp-hs-map-kpis span {
    min-width: 0;
    flex: 1;
    text-align: left;
  }

  .dsp-hs-map-canvas,
  .dsp-hs-map-canvas svg,
  .dsp-hs-map-map-view {
    height: 370px;
    min-height: 0;
  }

  .dsp-hs-map-top-controls {
    top: 10px;
    right: 10px;
    gap: 5px;
  }

  .dsp-hs-map-shop-toggle,
  .dsp-hs-map-sales-area > button {
    min-height: 33px;
    padding: 5px 8px;
  }

  .dsp-hs-map-shop-toggle b {
    max-width: 90px;
  }

  .dsp-hs-map-sales-area > button b {
    max-width: 104px;
  }

  .dsp-hs-map-sales-area-menu {
    width: min(250px, calc(100vw - 48px));
    max-height: 270px;
  }

  .dsp-hs-district-analysis {
    padding: 52px 11px 11px;
  }

  .dsp-hs-district-analysis-heading {
    display: grid;
    gap: 8px;
  }

  .dsp-hs-district-analysis-controls {
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .dsp-hs-district-analysis-scope button,
  .dsp-hs-district-analysis-modes button {
    min-height: 27px;
    padding: 3px 7px;
    font-size: 8px;
  }

  .dsp-hs-district-analysis-body {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 8px;
  }

  .dsp-hs-district-donut {
    width: 112px;
  }

  .dsp-hs-district-donut b {
    font-size: 10px;
  }

  .dsp-hs-district-analysis.is-sales-scope .dsp-hs-district-donut::after {
    inset: 10%;
  }

  .dsp-hs-district-analysis.is-sales-scope .dsp-hs-district-donut > span {
    width: 78%;
    gap: 1px;
  }

  .dsp-hs-analysis-profile {
    margin-bottom: 0;
    gap: 1px;
  }

  .dsp-hs-analysis-profile img,
  .dsp-hs-analysis-profile > i {
    width: 35px;
    height: 35px;
  }

  .dsp-hs-analysis-profile > b {
    max-width: 76px;
    font-size: 7px;
  }

  .dsp-hs-district-donut [data-dsp-analysis-secondary] {
    font-size: 6px;
  }

  .dsp-hs-district-share-list .dsp-hs-sales-share {
    min-height: 48px;
    grid-template-columns: 29px minmax(0, 1fr) auto;
    gap: 6px;
    padding: 5px;
  }

  .dsp-hs-sales-share-avatar {
    width: 27px;
    height: 27px;
  }

  .dsp-hs-sales-drilldown-head {
    min-height: 41px;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 5px;
  }

  .dsp-hs-sales-drilldown-head > .dsp-hs-sales-drilldown-back {
    min-height: 26px;
    padding: 3px 6px;
    font-size: 7px;
  }

  .dsp-hs-district-share-list .dsp-hs-share-result {
    display: grid;
    justify-items: end;
    gap: 1px;
  }

  .dsp-hs-share-list-head {
    padding-left: 19px;
    grid-template-columns: minmax(0, 1fr) 34px 62px;
    gap: 4px;
    font-size: 6.5px;
  }

  .dsp-hs-share-list-head > span:last-child {
    grid-template-columns: 32px 28px;
    gap: 2px;
  }

  .dsp-hs-share-list-head b {
    font-size: 6.5px;
  }

  .dsp-hs-district-share-list [data-dsp-district-share],
  .dsp-hs-district-share-list .dsp-hs-sales-district {
    min-height: 43px;
    grid-template-columns: 7px minmax(0, 1fr) 34px 62px;
    gap: 4px;
  }

  .dsp-hs-district-share-list button > .dsp-hs-district-row-sales {
    width: 34px;
    min-width: 34px;
    min-height: 23px;
  }

  .dsp-hs-district-row-sales img,
  .dsp-hs-district-row-sales i {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    font-size: 7px;
  }

  .dsp-hs-district-row-sales img + img,
  .dsp-hs-district-row-sales img + i,
  .dsp-hs-district-row-sales i + img,
  .dsp-hs-district-row-sales i + i {
    margin-left: -10px;
  }

  .dsp-hs-district-share-list .dsp-hs-share-result > small {
    min-width: 0;
    font-size: 6.5px;
    text-align: right;
  }

  .dsp-hs-district-share-list {
    max-height: 245px;
  }

  .dsp-hs-map-insight-top {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .dsp-hs-map-salespeople {
    max-width: 125px;
  }

  .dsp-hs-map-salespeople b {
    max-width: 68px;
    font-size: 8px;
  }

  .dsp-map-labels text {
    font-size: 6.8px;
  }

  .dsp-hs-map-legend {
    grid-template-columns: auto 60px auto auto;
  }

  .dsp-hs-map-top-shops {
    max-height: 230px;
  }
}

@media (max-width: 360px) {
  .dsp-hs-map-top-controls {
    top: 49px;
  }
}

@media print {
  .dsp-hs-map-section {
    display: none !important;
  }
}
