
/* ==========================================================
   NOYTRIX ACTIVITY V20
   ========================================================== */

#screen-analytics.active {
  overflow: hidden !important;
}


.activity-v20 {
  position: relative;

  width: 100%;
  height: 100%;

  min-width: 0;
  min-height: 0;

  display: grid;

  grid-template-rows:
    auto
    auto
    minmax(0,1.04fr)
    minmax(0,.92fr)
    auto;

  gap: 10px;

  overflow: hidden;

  padding: 4px 0 0;

  isolation: isolate;
}


.activity-v20::before {
  content: '';

  position: absolute;

  z-index: -1;

  top: -150px;
  left: 22%;

  width: 650px;
  height: 350px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(36,82,170,.10),
      transparent 70%
    );

  filter: blur(26px);

  pointer-events: none;
}


/* ==========================================================
   HEADER
   ========================================================== */

.activity-head-v20 {
  min-height: 95px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 30px;

  padding: 4px 3px 3px;
}


.activity-head-v20 > div:first-child {
  min-width: 0;
}


.activity-eyebrow-v20 {
  display: block;

  margin-bottom: 5px;

  color: #ffb725;

  font-size: 10px;

  font-weight: 850;

  letter-spacing: .095em;

  text-shadow:
    0 0 16px
    rgba(255,181,31,.10);
}


.activity-head-v20 h2 {
  margin: 0;

  color: #f3f6fa;

  font-size:
    clamp(28px,2.2vw,37px);

  line-height: 1.04;

  letter-spacing: -.04em;

  font-weight: 800;

  text-shadow:
    0 7px 20px
    rgba(0,0,0,.36),

    0 20px 40px
    rgba(0,0,0,.18);
}


.activity-head-v20 p {
  margin: 7px 0 0;

  color: #8e9caf;

  font-size: 11.5px;

  line-height: 1.4;
}


/* right */

.activity-head-actions-v20 {
  display: flex;

  align-items: center;

  gap: 9px;
}


.activity-period-v20 {
  height: 41px;

  min-width: 185px;

  display: flex;

  align-items: center;

  gap: 8px;

  padding: 0 10px;

  border:
    1px solid
    rgba(51,77,116,.92);

  border-radius: 8px;

  background:
    linear-gradient(
      145deg,
      rgba(9,24,48,.96),
      rgba(6,18,37,.98)
    );

  box-shadow:
    0 10px 27px
    rgba(0,0,0,.15),

    inset 0 1px 0
    rgba(255,255,255,.026);
}


.activity-period-v20 svg {
  width: 16px;
  height: 16px;

  fill: none;

  stroke: #d6deea;

  stroke-width: 1.7;

  stroke-linecap: round;
}


.activity-period-v20 select {
  min-width: 135px;

  border: 0;
  outline: 0;

  background: transparent;

  color: #d9e0eb;

  font-family: inherit;

  font-size: 10px;

  font-weight: 620;
}


.activity-period-v20 option {
  background: #08162c;
}


.activity-export-v20 {
  height: 41px;

  min-width: 115px;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 8px;

  border:
    1px solid
    #3574bb;

  border-radius: 8px;

  background:
    rgba(7,28,57,.38);

  color: #dce6f3;

  font-size: 10px;

  font-weight: 670;

  box-shadow:
    0 10px 25px
    rgba(0,0,0,.12);
}


.activity-export-v20 svg {
  width: 17px;
  height: 17px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.8;

  stroke-linecap: round;
  stroke-linejoin: round;
}


.activity-export-v20:hover {
  border-color: #59a0ed;

  background:
    rgba(12,44,85,.48);
}


/* ==========================================================
   KPI
   ========================================================== */

.activity-kpis-v20 {
  display: grid;

  grid-template-columns:
    repeat(4,minmax(0,1fr));

  gap: 11px;
}


.activity-kpi-v20 {
  min-width: 0;

  min-height: 89px;

  display: flex;

  align-items: center;

  gap: 14px;

  padding: 13px 15px;

  border:
    1px solid
    rgba(47,72,108,.84);

  border-radius: 9px;

  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(31,67,129,.09),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      rgba(8,23,47,.96),
      rgba(6,18,37,.97)
    );

  box-shadow:
    0 13px 35px
    rgba(0,0,0,.12),

    inset 0 1px 0
    rgba(255,255,255,.025);

  transition:
    transform .17s ease,
    border-color .17s ease,
    box-shadow .17s ease;
}


.activity-kpi-v20:hover {
  transform: translateY(-1px);

  border-color:
    rgba(63,94,139,.93);

  box-shadow:
    0 17px 42px
    rgba(0,0,0,.18),

    inset 0 1px 0
    rgba(255,255,255,.03);
}


.activity-kpi-icon-v20 {
  width: 46px;
  height: 46px;

  flex: 0 0 46px;

  display: grid;

  place-items: center;

  border:
    1px solid currentColor;

  border-radius: 50%;

  background:
    rgba(255,255,255,.018);
}


.activity-kpi-icon-v20 svg {
  width: 25px;
  height: 25px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.65;

  stroke-linecap: round;
  stroke-linejoin: round;
}


.activity-kpi-v20.blue
.activity-kpi-icon-v20 {
  color: #3e9eff;

  box-shadow:
    0 0 21px
    rgba(43,143,255,.08);
}


.activity-kpi-v20.red
.activity-kpi-icon-v20 {
  color: #f3444f;

  box-shadow:
    0 0 21px
    rgba(243,68,79,.08);
}


.activity-kpi-v20.gold
.activity-kpi-icon-v20 {
  color: #ffb400;

  box-shadow:
    0 0 21px
    rgba(255,180,0,.09);
}


.activity-kpi-v20.green
.activity-kpi-icon-v20 {
  color: #20c875;

  box-shadow:
    0 0 21px
    rgba(32,200,117,.08);
}


.activity-kpi-v20 small {
  display: block;

  color: #bcc5d3;

  font-size: 10px;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;
}


.activity-kpi-v20 strong {
  display: block;

  margin-top: 3px;

  color: #eef2f8;

  font-size: 26px;

  line-height: 1;

  font-weight: 770;
}


.activity-kpi-v20.red strong {
  color: #ff4d57;
}


.activity-kpi-v20.gold strong {
  color: #ffb400;
}


.activity-kpi-v20.green strong {
  color: #29d47f;
}


.activity-kpi-v20 em {
  display: block;

  margin-top: 5px;

  color: #8492a6;

  font-size: 8px;

  line-height: 1.25;

  font-style: normal;
}


.activity-kpi-v20 em.positive {
  color: #32d67f;
}


.activity-kpi-v20 em.negative {
  color: #ff6570;
}


/* ==========================================================
   GENERIC CARD
   ========================================================== */

.activity-card-v20 {
  min-width: 0;
  min-height: 0;

  border:
    1px solid
    rgba(47,72,108,.84);

  border-radius: 9px;

  background:
    radial-gradient(
      circle at 25% 0%,
      rgba(25,58,115,.07),
      transparent 38%
    ),
    linear-gradient(
      155deg,
      rgba(7,21,43,.96),
      rgba(5,16,34,.98)
    );

  box-shadow:
    0 14px 40px
    rgba(0,0,0,.11),

    inset 0 1px 0
    rgba(255,255,255,.022);

  overflow: hidden;
}


.activity-card-v20 h3 {
  margin: 0;

  color: #e5eaf2;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: -.01em;
}


/* ==========================================================
   MAIN ROW
   ========================================================== */

.activity-main-v20 {
  min-height: 0;

  display: grid;

  grid-template-columns:
    1.6fr
    .92fr;

  gap: 11px;
}


/* ==========================================================
   CHART
   ========================================================== */

.activity-chart-card-v20 {
  display: grid;

  grid-template-rows:
    41px
    minmax(0,1fr)
    30px;

  padding: 0 15px;
}


.activity-chart-card-v20 > header {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 15px;
}


.activity-chart-period-v20 {
  display: flex;

  align-items: center;

  border:
    1px solid
    rgba(47,70,104,.78);

  border-radius: 6px;

  overflow: hidden;
}


.activity-chart-period-v20 button {
  min-width: 65px;

  height: 27px;

  border: 0;

  border-right:
    1px solid
    rgba(47,70,104,.7);

  background:
    rgba(8,22,43,.74);

  color: #91a0b4;

  font-size: 8px;

  font-weight: 620;
}


.activity-chart-period-v20 button:last-child {
  border-right: 0;
}


.activity-chart-period-v20 button.active {
  background:
    linear-gradient(
      135deg,
      #ffd044,
      #ffad12
    );

  color: #10151e;

  font-weight: 760;

  box-shadow:
    inset 0 1px 0
    rgba(255,255,255,.45);
}


.activity-chart-v20 {
  min-height: 0;

  height: 100%;
}


.activity-chart-v20 svg {
  width: 100%;
  height: 100%;

  overflow: visible;
}


.chart-grid-line {
  stroke:
    rgba(74,95,128,.22);

  stroke-width: 1;

  stroke-dasharray: 3 4;
}


.chart-y-label,
.chart-x-label {
  fill: #66758b;

  font-family:
    Inter,Arial,sans-serif;

  font-size: 8px;
}


.activity-line-all {
  fill: none;

  stroke: #4aa4ff;

  stroke-width: 2;

  stroke-linecap: round;

  stroke-linejoin: round;
}


.activity-line-risk {
  fill: none;

  stroke: #f34444;

  stroke-width: 1.6;

  stroke-linecap: round;

  stroke-linejoin: round;
}


.activity-point-all {
  fill: #4ba6ff;

  stroke: #0b1a31;

  stroke-width: 1.3;
}


.activity-point-risk {
  fill: #f34444;

  stroke: #0b1a31;

  stroke-width: 1.2;
}


.activity-chart-legend-v20 {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 28px;

  color: #a2aec0;

  font-size: 8px;
}


.activity-chart-legend-v20 span {
  display: flex;

  align-items: center;

  gap: 6px;
}


.activity-chart-legend-v20 i {
  width: 7px;
  height: 7px;

  border-radius: 50%;
}


.activity-chart-legend-v20
.all i {
  background: #4ba6ff;
}


.activity-chart-legend-v20
.risk i {
  background: #f34444;
}


/* ==========================================================
   DONUT
   ========================================================== */

.activity-risk-card-v20 {
  display: grid;

  grid-template-rows:
    41px
    minmax(0,1fr)
    auto;

  padding: 0 15px 11px;
}


.activity-risk-card-v20 > h3 {
  display: flex;

  align-items: center;
}


.activity-risk-content-v20 {
  min-height: 0;

  display: grid;

  grid-template-columns:
    minmax(120px,.9fr)
    minmax(145px,1fr);

  align-items: center;

  gap: 15px;
}


.activity-donut-v20 {
  position: relative;

  width:
    min(145px,15vh);

  aspect-ratio: 1;

  margin: auto;

  border-radius: 50%;

  box-shadow:
    0 12px 35px
    rgba(0,0,0,.23),

    0 0 28px
    rgba(43,145,255,.025);
}


.activity-donut-v20::after {
  content: '';

  position: absolute;

  inset: 29%;

  border-radius: 50%;

  background:
    radial-gradient(
      circle at 40% 30%,
      #0d1d35,
      #07162b 72%
    );

  box-shadow:
    inset 0 1px 0
    rgba(255,255,255,.025),

    0 0 0 1px
    rgba(46,70,106,.45);
}


.activity-donut-v20 > div {
  position: absolute;

  z-index: 2;

  inset: 0;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;
}


.activity-donut-v20 strong {
  color: #edf2f8;

  font-size: 27px;

  line-height: 1;
}


.activity-donut-v20 span {
  margin-top: 4px;

  color: #b4bfce;

  font-size: 9px;
}


.activity-risk-legend-v20 {
  display: grid;

  gap: 14px;
}


.activity-risk-legend-v20 > div {
  display: grid;

  grid-template-columns:
    9px
    minmax(0,1fr)
    auto;

  align-items: center;

  gap: 8px;

  color: #b9c3d1;

  font-size: 9px;
}


.activity-risk-legend-v20 i {
  width: 8px;
  height: 8px;

  border-radius: 50%;
}


.activity-risk-legend-v20
i.safe {
  background: #24c875;
}


.activity-risk-legend-v20
i.medium {
  background: #ffad17;
}


.activity-risk-legend-v20
i.high {
  background: #f04444;
}


.activity-risk-legend-v20 strong {
  color: #dce4ed;

  font-size: 10px;
}


.activity-risk-summary-v20 {
  margin: 5px 0 0;

  color: #7e8da2;

  font-size: 8px;

  line-height: 1.4;
}


/* ==========================================================
   BOTTOM ROW
   ========================================================== */

.activity-bottom-v20 {
  min-height: 0;

  display: grid;

  grid-template-columns:
    .92fr
    1.05fr
    1.05fr;

  gap: 11px;
}


/* ==========================================================
   TYPES
   ========================================================== */

.activity-types-v20 {
  padding: 13px 15px;
}


.activity-types-v20 h3 {
  margin-bottom: 11px;
}


#activityTypesV20 {
  display: grid;

  gap: 8px;
}


.activity-type-row-v20 {
  display: grid;

  grid-template-columns:
    20px
    82px
    minmax(65px,1fr)
    20px
    26px;

  align-items: center;

  gap: 6px;
}


.activity-type-icon-v20 {
  display: grid;

  place-items: center;

  color: #b7c2d0;
}


.activity-type-icon-v20 svg {
  width: 15px;
  height: 15px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.7;

  stroke-linecap: round;
  stroke-linejoin: round;
}


.activity-type-row-v20 strong {
  color: #b8c2d1;

  font-size: 8.5px;

  font-weight: 590;
}


.activity-type-bar-v20 {
  position: relative;

  height: 6px;

  overflow: hidden;

  border-radius: 5px;

  background: #17305a;
}


.activity-type-bar-v20 i {
  position: absolute;

  inset: 0 auto 0 0;

  border-radius: 5px;

  background:
    linear-gradient(
      90deg,
      #ffd02d,
      #ffae12
    );

  box-shadow:
    0 0 10px
    rgba(255,180,18,.14);
}


.activity-type-count-v20 {
  color: #d1d9e5;

  font-size: 8.5px;

  text-align: right;
}


.activity-type-row-v20 small {
  color: #8996aa;

  font-size: 8px;

  text-align: right;
}


/* ==========================================================
   RECENT
   ========================================================== */

.activity-recent-v20 {
  display: grid;

  grid-template-rows:
    34px
    minmax(0,1fr)
    31px;

  padding: 9px 12px 8px;
}


.activity-recent-v20 h3 {
  display: flex;

  align-items: center;
}


.activity-recent-list-v20 {
  min-height: 0;

  overflow: hidden;
}


.activity-action-row-v20 {
  width: 100%;

  min-height: 37px;

  display: grid;

  grid-template-columns:
    28px
    minmax(0,1fr)
    auto;

  align-items: center;

  gap: 8px;

  padding: 3px 0;

  border: 0;

  background: transparent;

  text-align: left;

  color: inherit;
}


.activity-action-row-v20:hover {
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,.018),
      transparent
    );
}


.activity-action-icon-v20 {
  width: 26px;
  height: 26px;

  display: grid;

  place-items: center;

  border:
    1px solid
    rgba(56,83,121,.68);

  border-radius: 50%;

  color: #51a7ff;

  background:
    rgba(37,113,199,.05);
}


.activity-action-row-v20.risk
.activity-action-icon-v20 {
  color: #f3444f;

  border-color:
    rgba(243,68,79,.34);

  background:
    rgba(243,68,79,.05);
}


.activity-action-row-v20.changed
.activity-action-icon-v20 {
  color: #ffad17;

  border-color:
    rgba(255,173,23,.34);
}


.activity-action-row-v20.tracking
.activity-action-icon-v20 {
  color: #4d9fff;
}


.activity-action-icon-v20 svg {
  width: 14px;
  height: 14px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.7;

  stroke-linecap: round;
  stroke-linejoin: round;
}


.activity-action-copy-v20 {
  min-width: 0;
}


.activity-action-copy-v20 strong,
.activity-action-copy-v20 small {
  display: block;

  overflow: hidden;

  white-space: nowrap;

  text-overflow: ellipsis;
}


.activity-action-copy-v20 strong {
  color: #d8e0ea;

  font-size: 8.5px;

  font-weight: 650;
}


.activity-action-copy-v20 small {
  margin-top: 1px;

  color: #8290a5;

  font-size: 7.5px;
}


.activity-action-row-v20 time {
  color: #8c99ab;

  font-size: 7.5px;

  white-space: nowrap;
}


.activity-recent-empty-v20 {
  height: 100%;

  display: grid;

  place-items: center;

  color: #67768c;

  font-size: 8px;

  text-align: center;
}


.activity-secondary-v20 {
  height: 29px;

  border:
    1px solid #3471b6;

  border-radius: 5px;

  background:
    rgba(7,27,55,.34);

  color: #69aaff;

  font-size: 8px;

  font-weight: 650;
}


/* ==========================================================
   RECOMMENDATION
   ========================================================== */

.activity-recommend-v20 {
  display: grid;

  grid-template-rows:
    auto
    minmax(0,1fr)
    36px
    24px;

  padding: 13px 15px 8px;
}


.activity-recommend-v20 h3 {
  color: #ffc21f;

  text-shadow:
    0 0 13px
    rgba(255,183,25,.08);
}


.activity-recommend-body-v20 {
  min-height: 0;

  display: grid;

  grid-template-columns:
    51px
    minmax(0,1fr);

  align-items: center;

  gap: 13px;
}


.activity-bulb-v20 {
  width: 49px;
  height: 49px;

  display: grid;

  place-items: center;

  color: #ffc10e;
}


.activity-bulb-v20 svg {
  width: 43px;
  height: 43px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.35;

  stroke-linecap: round;
  stroke-linejoin: round;

  filter:
    drop-shadow(
      0 0 8px
      rgba(255,193,14,.10)
    );
}


.activity-recommend-body-v20 p {
  margin: 0;

  color: #c1cad6;

  font-size: 9px;

  line-height: 1.45;
}


.activity-recommend-action-v20 {
  height: 34px;

  border:
    1px solid
    rgba(255,214,85,.45);

  border-radius: 6px;

  background:
    linear-gradient(
      135deg,
      #ffd142,
      #ffae12
    );

  color: #121820;

  font-size: 9px;

  font-weight: 800;

  box-shadow:
    0 9px 24px
    rgba(255,173,18,.12),

    inset 0 1px 0
    rgba(255,255,255,.40);
}


.activity-recommend-action-v20:hover {
  transform: translateY(-1px);

  box-shadow:
    0 12px 28px
    rgba(255,173,18,.20);
}


.activity-dismiss-v20 {
  border: 0;

  background: transparent;

  color: #65a7ef;

  font-size: 8px;
}


.activity-recommend-v20.dismissed
.activity-recommend-body-v20,
.activity-recommend-v20.dismissed
.activity-recommend-action-v20,
.activity-recommend-v20.dismissed
.activity-dismiss-v20 {
  opacity: .22;

  pointer-events: none;
}


/* ==========================================================
   FOOTER
   ========================================================== */

.activity-footer-v20 {
  min-height: 58px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 7px 14px;

  border:
    1px solid
    rgba(47,72,108,.84);

  border-radius: 8px;

  background:
    linear-gradient(
      145deg,
      rgba(8,23,46,.96),
      rgba(6,18,37,.98)
    );

  box-shadow:
    0 12px 32px
    rgba(0,0,0,.10),

    inset 0 1px 0
    rgba(255,255,255,.02);
}


.activity-footer-v20 > div {
  min-width: 0;

  display: flex;

  align-items: center;

  gap: 11px;
}


.activity-footer-v20 > div > span {
  width: 31px;
  height: 31px;

  flex: 0 0 31px;

  display: grid;

  place-items: center;

  border:
    1px solid #e4ae18;

  border-radius: 50%;

  color: #ffc11b;
}


.activity-footer-v20 svg {
  width: 18px;
  height: 18px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.7;

  stroke-linecap: round;
}


.activity-footer-v20 p {
  min-width: 0;

  margin: 0;
}


.activity-footer-v20 strong,
.activity-footer-v20 small {
  display: block;

  overflow: hidden;

  white-space: nowrap;

  text-overflow: ellipsis;
}


.activity-footer-v20 strong {
  color: #dce3ec;

  font-size: 9.5px;
}


.activity-footer-v20 small {
  margin-top: 2px;

  color: #7e8da2;

  font-size: 8px;
}


.activity-footer-v20 > button {
  min-width: 150px;

  height: 33px;

  border:
    1px solid
    rgba(255,183,31,.54);

  border-radius: 6px;

  background:
    rgba(255,181,31,.035);

  color: #ffbd2f;

  font-size: 8.5px;

  font-weight: 670;
}


/* ==========================================================
   HISTORY MODAL
   ========================================================== */

.activity-history-modal-v20 {
  position: fixed;

  z-index: 4000;

  inset: 0;

  display: grid;

  place-items: center;
}


.activity-history-modal-v20[hidden] {
  display: none !important;
}


.activity-history-backdrop-v20 {
  position: absolute;

  inset: 0;

  background:
    rgba(1,6,15,.82);

  backdrop-filter:
    blur(10px);
}


.activity-history-panel-v20 {
  position: relative;

  z-index: 1;

  width:
    min(
      700px,
      calc(100vw - 30px)
    );

  max-height:
    min(
      680px,
      calc(100vh - 50px)
    );

  display: grid;

  grid-template-rows:
    auto
    minmax(0,1fr);

  overflow: hidden;

  border:
    1px solid
    #314b6c;

  border-radius:
    15px;

  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(35,77,153,.14),
      transparent 37%
    ),
    linear-gradient(
      145deg,
      #0a1a33,
      #061326
    );

  box-shadow:
    0 38px 110px
    rgba(0,0,0,.60),

    inset 0 1px 0
    rgba(255,255,255,.032);
}


.activity-history-panel-v20 > header {
  min-height: 75px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  padding: 15px 18px;

  border-bottom:
    1px solid
    #273d5b;
}


.activity-history-panel-v20
> header span {
  color: #ffb725;

  font-size: 8px;

  font-weight: 850;

  letter-spacing: .09em;
}


.activity-history-panel-v20
> header h3 {
  margin: 4px 0 0;

  color: #edf2f8;

  font-size: 18px;
}


.activity-history-panel-v20
> header button {
  width: 32px;
  height: 32px;

  border: 0;

  border-radius: 8px;

  background:
    rgba(255,255,255,.04);

  color: #8997aa;

  font-size: 20px;
}


.activity-history-list-v20 {
  min-height: 0;

  overflow-y: auto;

  padding: 8px;

  scrollbar-width: thin;

  scrollbar-color:
    rgba(70,94,129,.45)
    transparent;
}


.activity-history-row-v20 {
  width: 100%;

  min-height: 57px;

  display: grid;

  grid-template-columns:
    10px
    minmax(0,1fr)
    auto;

  align-items: center;

  gap: 10px;

  padding: 7px 11px;

  border: 0;

  border-bottom:
    1px solid
    rgba(42,64,95,.62);

  background: transparent;

  text-align: left;
}


.activity-history-row-v20:hover {
  background:
    rgba(255,255,255,.025);
}


.activity-history-row-v20 > i {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #ffad17;
}


.activity-history-row-v20.safe
> i {
  background: #27c979;
}


.activity-history-row-v20.high
> i,
.activity-history-row-v20.critical
> i {
  background: #f0444e;
}


.activity-history-row-v20
strong,
.activity-history-row-v20
small {
  display: block;
}


.activity-history-row-v20
strong {
  color: #dce4ef;

  font-size: 10px;
}


.activity-history-row-v20
small {
  margin-top: 3px;

  color: #74839a;

  font-size: 8px;
}


.activity-history-row-v20
b {
  color: #aeb9c8;

  font-size: 10px;
}


.activity-history-empty-v20 {
  min-height: 260px;

  display: grid;

  place-items: center;

  color: #6e7d93;

  font-size: 10px;
}


/* ==========================================================
   LAPTOP COMPACT
   ========================================================== */

@media (
  min-width: 761px
) and (
  max-height: 850px
) {

  .activity-v20 {
    gap: 7px;

    grid-template-rows:
      auto
      auto
      minmax(0,1fr)
      minmax(0,.88fr)
      auto;
  }


  .activity-head-v20 {
    min-height: 72px;
  }


  .activity-head-v20 h2 {
    font-size: 28px;
  }


  .activity-head-v20 p {
    margin-top: 4px;
  }


  .activity-kpi-v20 {
    min-height: 71px;

    padding-top: 9px;
    padding-bottom: 9px;
  }


  .activity-kpi-icon-v20 {
    width: 37px;
    height: 37px;

    flex-basis: 37px;
  }


  .activity-kpi-icon-v20 svg {
    width: 21px;
    height: 21px;
  }


  .activity-kpi-v20 strong {
    font-size: 22px;
  }


  .activity-kpi-v20 em {
    margin-top: 3px;
  }


  .activity-chart-card-v20 {
    grid-template-rows:
      36px
      minmax(0,1fr)
      25px;
  }


  .activity-risk-card-v20 {
    grid-template-rows:
      36px
      minmax(0,1fr)
      auto;
  }


  .activity-donut-v20 {
    width:
      min(120px,14vh);
  }


  .activity-type-row-v20 {
    gap: 4px;
  }


  #activityTypesV20 {
    gap: 5px;
  }


  .activity-action-row-v20 {
    min-height: 31px;
  }


  .activity-footer-v20 {
    min-height: 49px;
  }

}


/* ==========================================================
   NARROW DESKTOP
   ========================================================== */

@media(max-width:1250px) {

  .activity-kpi-v20 {
    gap: 9px;

    padding-left: 10px;
    padding-right: 10px;
  }


  .activity-kpi-icon-v20 {
    width: 39px;
    height: 39px;

    flex-basis: 39px;
  }


  .activity-bottom-v20 {
    grid-template-columns:
      .9fr
      1fr
      1fr;
  }


  .activity-type-row-v20 {
    grid-template-columns:
      18px
      68px
      minmax(45px,1fr)
      18px
      24px;
  }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media(max-width:760px) {

  #screen-analytics.active {
    overflow: auto !important;
  }


  .activity-v20 {
    height: auto;

    min-height: 100vh;

    display: block;

    overflow: visible;
  }


  .activity-head-v20 {
    flex-direction: column;

    align-items: flex-start;

    padding: 15px 0;
  }


  .activity-head-actions-v20 {
    width: 100%;
  }


  .activity-period-v20 {
    flex: 1;
  }


  .activity-kpis-v20 {
    grid-template-columns: 1fr;

    margin-bottom: 10px;
  }


  .activity-main-v20,
  .activity-bottom-v20 {
    grid-template-columns: 1fr;

    margin-bottom: 10px;
  }


  .activity-chart-card-v20 {
    min-height: 360px;
  }


  .activity-risk-card-v20 {
    min-height: 340px;
  }


  .activity-types-v20,
  .activity-recent-v20,
  .activity-recommend-v20 {
    min-height: 300px;
  }


  .activity-footer-v20 {
    flex-direction: column;

    align-items: stretch;
  }


  .activity-footer-v20 > button {
    width: 100%;
  }

}

