#dashboard-analytics-plus {
  margin-top: 16px;
  color: #1d2129;
}
#dashboard-analytics-plus .dap-card {
  background: #fff;
  border: 1px solid #f0f1f4;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(29, 33, 41, .03), 0 4px 12px rgba(29, 33, 41, .03);
}
#dashboard-analytics-plus .dap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px 0;
}
#dashboard-analytics-plus .dap-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}
#dashboard-analytics-plus .dap-subtitle {
  margin-top: 4px;
  color: #86909c;
  font-size: 12px;
}
#dashboard-analytics-plus .dap-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 16px;
  padding: 14px 20px 20px;
}
#dashboard-analytics-plus .dap-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 126px;
}
#dashboard-analytics-plus .dap-field.dap-date-range {
  min-width: 285px;
}
#dashboard-analytics-plus .dap-field label {
  color: #4e5969;
  font-size: 12px;
}
#dashboard-analytics-plus select,
#dashboard-analytics-plus input[type="date"] {
  box-sizing: border-box;
  width: 100%;
  height: 34px;
  border: 1px solid #d9dde5;
  border-radius: 7px;
  background: #fff;
  color: #1d2129;
  padding: 0 10px;
  font-size: 13px;
  outline: none;
}
#dashboard-analytics-plus select:focus,
#dashboard-analytics-plus input[type="date"]:focus {
  border-color: #2932e1;
  box-shadow: 0 0 0 2px rgba(41, 50, 225, .08);
}
#dashboard-analytics-plus .dap-date-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}
#dashboard-analytics-plus .dap-refresh {
  height: 34px;
  border: 1px solid #2932e1;
  border-radius: 7px;
  background: #2932e1;
  color: #fff;
  padding: 0 18px;
  font-size: 13px;
  cursor: pointer;
}
#dashboard-analytics-plus .dap-refresh:hover {
  background: #1f27c7;
}
#dashboard-analytics-plus .dap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, 1fr);
  gap: 16px;
  margin-top: 16px;
}
#dashboard-analytics-plus .dap-panel {
  min-width: 0;
  padding: 16px 18px 18px;
}
#dashboard-analytics-plus .dap-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
#dashboard-analytics-plus .dap-panel-title {
  font-size: 14px;
  font-weight: 700;
}
#dashboard-analytics-plus .dap-metric-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
#dashboard-analytics-plus .dap-metric-tab {
  border: 1px solid #e5e6eb;
  border-radius: 6px;
  background: #f7f8fa;
  color: #4e5969;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
}
#dashboard-analytics-plus .dap-metric-tab.active {
  border-color: #2932e1;
  background: #eef0ff;
  color: #2932e1;
  font-weight: 600;
}
#dashboard-analytics-plus .dap-chart-wrap {
  position: relative;
  min-height: 340px;
}
#dashboard-analytics-plus .dap-chart {
  display: block;
  width: 100%;
  height: 340px;
}
#dashboard-analytics-plus .dap-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 8px 0 0;
  color: #4e5969;
  font-size: 12px;
}
#dashboard-analytics-plus .dap-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
#dashboard-analytics-plus .dap-legend-dot {
  width: 14px;
  height: 3px;
  border-radius: 2px;
}
#dashboard-analytics-plus .dap-funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0 4px;
}
#dashboard-analytics-plus .dap-funnel-stage {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 7px;
}
#dashboard-analytics-plus .dap-funnel-bar {
  min-width: 88px;
  border-radius: 4px;
  background: linear-gradient(90deg, #4f7cf6, #568af4);
  color: #fff;
  padding: 9px 4px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  clip-path: polygon(2% 0, 98% 0, 100% 100%, 0 100%);
}
#dashboard-analytics-plus .dap-funnel-stage:nth-child(2) .dap-funnel-bar {
  background: linear-gradient(90deg, #4389f7, #67b4f6);
}
#dashboard-analytics-plus .dap-funnel-stage:nth-child(3) .dap-funnel-bar {
  background: linear-gradient(90deg, #64b7f7, #73caf5);
}
#dashboard-analytics-plus .dap-rate {
  margin: 1px 0 8px;
  color: #4e5969;
  font-size: 12px;
}
#dashboard-analytics-plus .dap-table-wrap {
  max-height: 390px;
  overflow: auto;
  border: 1px solid #f0f1f4;
  border-radius: 8px;
}
#dashboard-analytics-plus table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
#dashboard-analytics-plus th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f7f8fa;
  color: #4e5969;
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid #e5e6eb;
  white-space: nowrap;
}
#dashboard-analytics-plus td {
  padding: 10px 8px;
  border-bottom: 1px solid #f2f3f5;
  color: #1d2129;
  white-space: nowrap;
}
#dashboard-analytics-plus tbody tr:hover {
  background: #fafbff;
}
#dashboard-analytics-plus .dap-keyword {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
}
#dashboard-analytics-plus .dap-action {
  border: 0;
  background: transparent;
  color: #2932e1;
  cursor: pointer;
  font-size: 12px;
}
#dashboard-analytics-plus .dap-empty,
#dashboard-analytics-plus .dap-loading {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #86909c;
  font-size: 13px;
}
#dashboard-analytics-plus .dap-warning {
  margin-top: 10px;
  color: #ff7d00;
  font-size: 12px;
}
@media (max-width: 1280px) {
  #dashboard-analytics-plus .dap-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  #dashboard-analytics-plus .dap-date-range {
    min-width: 100%;
  }
  #dashboard-analytics-plus .dap-date-inputs {
    flex-wrap: wrap;
  }
  #dashboard-analytics-plus .dap-field {
    flex: 1 1 140px;
  }
}

#dashboard-analytics-plus .dap-unit-field {
  position: relative;
  z-index: 20;
  flex: 1 1 300px;
  min-width: 280px;
  max-width: 360px;
}
#dashboard-analytics-plus .dap-multiselect {
  position: relative;
  width: 100%;
}
#dashboard-analytics-plus .dap-multiselect-control {
  box-sizing: border-box;
  width: 100%;
  min-height: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 3px 30px 3px 8px;
  border: 1px solid #d9dde5;
  border-radius: 7px;
  background: #fff;
  cursor: text;
  transition: border-color .2s, box-shadow .2s;
}
#dashboard-analytics-plus .dap-multiselect-control:hover,
#dashboard-analytics-plus .dap-multiselect-control:focus-within {
  border-color: #2932e1;
  box-shadow: 0 0 0 2px rgba(41, 50, 225, .08);
}
#dashboard-analytics-plus .dap-unit-placeholder {
  color: #86909c;
  font-size: 13px;
  line-height: 26px;
  white-space: nowrap;
}
#dashboard-analytics-plus .dap-unit-tags {
  display: contents;
}
#dashboard-analytics-plus .dap-unit-tag {
  max-width: 138px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0 4px 0 7px;
  border-radius: 5px;
  background: #f0f2f7;
  color: #4e5969;
  font-size: 12px;
}
#dashboard-analytics-plus .dap-unit-tag-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#dashboard-analytics-plus .dap-unit-tag button {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #86909c;
  padding: 0;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
#dashboard-analytics-plus .dap-unit-tag button:hover {
  background: #d9dde5;
  color: #4e5969;
}
#dashboard-analytics-plus .dap-unit-tag-more {
  color: #86909c;
  font-size: 12px;
}
#dashboard-analytics-plus .dap-unit-search {
  flex: 1 1 76px;
  min-width: 76px;
  height: 26px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1d2129;
  padding: 0 2px;
  font-size: 13px;
}
#dashboard-analytics-plus .dap-unit-search::placeholder {
  color: #86909c;
}
#dashboard-analytics-plus .dap-select-arrow {
  position: absolute;
  right: 11px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #86909c;
  transform: translateY(-40%);
  pointer-events: none;
}
#dashboard-analytics-plus .dap-multiselect-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  z-index: 1000;
  box-sizing: border-box;
  width: max(100%, 300px);
  max-height: 310px;
  overflow: auto;
  padding: 5px;
  border: 1px solid #e5e6eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(29, 33, 41, .14);
}
#dashboard-analytics-plus .dap-unit-clear,
#dashboard-analytics-plus .dap-unit-option {
  box-sizing: border-box;
  width: 100%;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #1d2129;
  text-align: left;
  cursor: pointer;
}
#dashboard-analytics-plus .dap-unit-clear {
  padding: 8px 10px;
  color: #4e5969;
  font-size: 13px;
}
#dashboard-analytics-plus .dap-unit-clear:hover,
#dashboard-analytics-plus .dap-unit-option:hover {
  background: #f0f2f7;
}
#dashboard-analytics-plus .dap-unit-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 5px 9px;
  font-size: 13px;
}
#dashboard-analytics-plus .dap-unit-option.selected {
  background: #eef0ff;
  color: #2932e1;
  font-weight: 600;
}
#dashboard-analytics-plus .dap-unit-check {
  width: 16px;
  color: #2932e1;
  text-align: center;
  flex: 0 0 16px;
}
#dashboard-analytics-plus .dap-unit-option-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#dashboard-analytics-plus .dap-unit-group {
  padding: 8px 10px 4px;
  color: #86909c;
  font-size: 11px;
}
#dashboard-analytics-plus .dap-unit-empty {
  padding: 18px 10px;
  color: #86909c;
  text-align: center;
  font-size: 12px;
}
@media (max-width: 760px) {
  #dashboard-analytics-plus .dap-unit-field {
    min-width: 100%;
    max-width: none;
  }
}

#dashboard-analytics-plus .dap-panel-note {
  margin: -2px 0 10px;
  color: #86909c;
  font-size: 11px;
  line-height: 17px;
}

#dashboard-analytics-plus .dap-date-range {
  position: relative;
  z-index: 24;
  flex: 1 1 360px;
  min-width: 340px;
  max-width: 420px;
}
#dashboard-analytics-plus .dap-range-picker {
  position: relative;
  width: 100%;
}
#dashboard-analytics-plus .dap-range-control {
  box-sizing: border-box;
  width: 100%;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #d9dde5;
  border-radius: 7px;
  background: #fff;
  color: #1d2129;
  padding: 0 10px 0 12px;
  font-size: 13px;
  cursor: pointer;
}
#dashboard-analytics-plus .dap-range-control:hover,
#dashboard-analytics-plus .dap-range-control:focus-visible {
  border-color: #2932e1;
  box-shadow: 0 0 0 2px rgba(41, 50, 225, .08);
  outline: none;
}
#dashboard-analytics-plus .dap-calendar-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border: 1px solid #86909c;
  border-radius: 3px;
}
#dashboard-analytics-plus .dap-calendar-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 3px;
  border-top: 1px solid #86909c;
}
#dashboard-analytics-plus .dap-calendar-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  top: -3px;
  width: 6px;
  height: 4px;
  border-left: 1px solid #86909c;
  border-right: 1px solid #86909c;
}
#dashboard-analytics-plus .dap-range-panel {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  z-index: 1100;
  display: flex;
  width: 650px;
  max-width: calc(100vw - 48px);
  border: 1px solid #e5e6eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(29, 33, 41, .16);
}
#dashboard-analytics-plus .dap-range-panel[hidden] {
  display: none;
}
#dashboard-analytics-plus .dap-range-shortcuts {
  width: 112px;
  flex: 0 0 112px;
  padding: 8px 6px;
  border-right: 1px solid #f0f1f4;
}
#dashboard-analytics-plus .dap-range-shortcuts button {
  width: 100%;
  height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #4e5969;
  text-align: left;
  padding: 0 10px;
  font-size: 13px;
  cursor: pointer;
}
#dashboard-analytics-plus .dap-range-shortcuts button:hover {
  background: #f0f2f7;
  color: #2932e1;
}
#dashboard-analytics-plus .dap-range-months {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px 12px 12px;
}
#dashboard-analytics-plus .dap-range-month {
  min-width: 0;
}
#dashboard-analytics-plus .dap-range-month-head {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #1d2129;
  font-size: 13px;
}
#dashboard-analytics-plus .dap-range-month-head button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #86909c;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
#dashboard-analytics-plus .dap-range-month-head button:hover {
  background: #f0f2f7;
  color: #2932e1;
}
#dashboard-analytics-plus .dap-range-weekdays,
#dashboard-analytics-plus .dap-range-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
#dashboard-analytics-plus .dap-range-weekdays span {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #86909c;
  font-size: 11px;
}
#dashboard-analytics-plus .dap-range-day {
  position: relative;
  height: 34px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #1d2129;
  font-size: 12px;
  cursor: pointer;
}
#dashboard-analytics-plus .dap-range-day:hover {
  background: #f0f2f7;
}
#dashboard-analytics-plus .dap-range-day.outside {
  color: #c9cdd4;
}
#dashboard-analytics-plus .dap-range-day.today::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: #2932e1;
}
#dashboard-analytics-plus .dap-range-day.in-range {
  background: #eef0ff;
  color: #2932e1;
  border-radius: 0;
}
#dashboard-analytics-plus .dap-range-day.range-start,
#dashboard-analytics-plus .dap-range-day.range-end {
  background: #2932e1;
  color: #fff;
  font-weight: 600;
}
#dashboard-analytics-plus .dap-range-day.range-start {
  border-radius: 4px 0 0 4px;
}
#dashboard-analytics-plus .dap-range-day.range-end {
  border-radius: 0 4px 4px 0;
}
@media (max-width: 760px) {
  #dashboard-analytics-plus .dap-date-range {
    min-width: 100%;
    max-width: none;
  }
  #dashboard-analytics-plus .dap-range-panel {
    flex-direction: column;
    width: min(94vw, 420px);
  }
  #dashboard-analytics-plus .dap-range-shortcuts {
    width: auto;
    flex: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-right: 0;
    border-bottom: 1px solid #f0f1f4;
  }
  #dashboard-analytics-plus .dap-range-shortcuts button {
    width: auto;
    flex: 1 0 72px;
  }
  #dashboard-analytics-plus .dap-range-months {
    grid-template-columns: 1fr;
  }
  #dashboard-analytics-plus .dap-range-month:nth-child(2) {
    display: none;
  }
}

#dashboard-analytics-plus .dap-keyword-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -2px 0 10px;
}
#dashboard-analytics-plus .dap-keyword-type-tabs button {
  height: 30px;
  border: 1px solid #e5e6eb;
  border-radius: 6px;
  background: #f7f8fa;
  color: #4e5969;
  padding: 0 12px;
  font-size: 12px;
  cursor: pointer;
}
#dashboard-analytics-plus .dap-keyword-type-tabs button:hover {
  border-color: #c9cdd4;
  color: #2932e1;
}
#dashboard-analytics-plus .dap-keyword-type-tabs button.active {
  border-color: #2932e1;
  background: #eef0ff;
  color: #2932e1;
  font-weight: 600;
}
#dashboard-analytics-plus .dap-keyword-type-tabs button span {
  margin-left: 3px;
  color: inherit;
}
#dashboard-analytics-plus .dap-table-wrap table {
  min-width: 820px;
}

#dashboard-analytics-plus .dap-unit-field {
  flex: 0 0 240px;
  min-width: 240px;
  max-width: 240px;
}
#dashboard-analytics-plus .dap-multiselect-control {
  height: 34px;
  min-height: 34px;
  flex-wrap: nowrap;
  overflow: hidden;
}
#dashboard-analytics-plus .dap-unit-tag {
  max-width: 92px;
  min-width: 0;
  flex: 0 1 auto;
}
#dashboard-analytics-plus .dap-unit-tag-label {
  max-width: 62px;
}
#dashboard-analytics-plus .dap-unit-tag-more {
  flex: 0 0 auto;
}
#dashboard-analytics-plus .dap-unit-search {
  flex: 1 1 48px;
  min-width: 48px;
}
@media (max-width: 760px) {
  #dashboard-analytics-plus .dap-unit-field {
    flex: 1 1 100%;
    min-width: 100%;
    max-width: none;
  }
}

#dashboard-analytics-plus .dap-single-field {
  flex: 0 0 150px;
  min-width: 150px;
  max-width: 150px;
}
#dashboard-analytics-plus .dap-single-select {
  position: relative;
  width: 100%;
}
#dashboard-analytics-plus .dap-single-control {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 34px;
  display: flex;
  align-items: center;
  border: 1px solid #d9dde5;
  border-radius: 7px;
  background: #fff;
  color: #1d2129;
  padding: 0 30px 0 12px;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
#dashboard-analytics-plus .dap-single-control:hover,
#dashboard-analytics-plus .dap-single-control:focus-visible {
  border-color: #2932e1;
  box-shadow: 0 0 0 2px rgba(41, 50, 225, .08);
  outline: none;
}
#dashboard-analytics-plus .dap-single-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  z-index: 1000;
  box-sizing: border-box;
  width: 100%;
  min-width: 140px;
  padding: 4px;
  border: 1px solid #e5e6eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(29, 33, 41, .14);
}
#dashboard-analytics-plus .dap-single-menu[hidden] {
  display: none;
}
#dashboard-analytics-plus .dap-single-option {
  box-sizing: border-box;
  width: 100%;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #1d2129;
  padding: 0 10px;
  font-size: 13px;
  cursor: pointer;
}
#dashboard-analytics-plus .dap-single-option:hover {
  background: #f0f2f7;
}
#dashboard-analytics-plus .dap-single-option.active {
  background: #eef0ff;
  color: #2932e1;
  font-weight: 600;
}
#dashboard-analytics-plus .dap-single-check {
  width: 16px;
  color: #2932e1;
  text-align: center;
}
@media (max-width: 760px) {
  #dashboard-analytics-plus .dap-single-field {
    flex: 1 1 140px;
    min-width: 140px;
    max-width: none;
  }
}
