.very-high-alarm,
.very-high-alarm_toggle span {
  background-color: var(--color-red-dark);
  border-color: var(--color-red-dark);
  color: var(--color-white);
}

.system-normal {
  /* green  total*/
  background-color: var(--color-green-dark);
  border: 1px solid var(--color-green-dark);
  color: var(--color-black);
}

.system-record-only {
  /* grey "record only" */
  background-color: var(--color-gray-light4);
  border: 1px solid var(--color-gray-light4);
  color: var(--color-black);
}

.system-control {
  /* low_control */
  background-color: var(--color-yellow-dark);
  border: 1px solid var(--color-yellow-dark);
  color: var(--color-black);
}

.system-medium {
  background-color: var(--color-orange-dark);
  border: 1px solid var(--color-orange-dark);
  color: var(--color-black);
}

.system-critical {
  background-color: var(--color-red-dark);
  border: 1px solid var(--color-red-dark);
  color: var(--color-black);
}

.system-normal-fill {
  /* green  total*/
  background-color: var(--color-green-dark);
  border: 1px solid var(--color-green-dark);
  color: var(--color-white);
}

.system-record-only-fill {
  /* grey "record only" */
  background-color: var(--color-gray-light4);
  border: 1px solid var(--color-gray-light4);
  color: var(--color-black);
}

.system-control-fill {
  /* low_control */
  background-color: var(--color-yellow-dark);
  border: 1px solid var(--color-yellow-dark);
  color: var(--color-black);
}

.system-medium-fill {
  background-color: var(--color-orange-dark);
  border: 1px solid var(--color-orange-dark);
  color: var(--color-white);
}

.system-critical-fill {
  background-color: var(--color-red-dark);
  border: 1px solid var(--color-red-dark);
  color: var(--color-white);
}

.very-high-alarm span,
.very-high-alarm * {
  color: var(--color-white);
}

.high-alarm,
.high-alarm_toggle span {
  background-color: var(--color-orange-dark);
  border-color: var(--color-orange-dark);
  color: var(--color-white);
}

.high-alarm span,
.high-alarm * {
  color: var(--color-white);
}

.high-control,
.high-control_toggle span {
  background-color: var(--color-yellow-dark);
  border-color: var(--color-yellow-dark);
  color: var(--color-black);
}

.high-control span,
.high-control * {
  color: var(--color-black);
}

.very-low-alarm,
.very-low-alarm_toggle span {
  background-color: var(--color-red-dark);
  border-color: var(--color-red-dark);
  color: var(--color-white);
}

.very-low-alarm span,
.very-low-alarm * {
  color: var(--color-white);
}

.low-alarm,
.low-alarm_toggle span {
  background-color: var(--color-orange-dark);
  border-color: var(--color-orange-dark);
  color: var(--color-white);
}

.low-alarm span,
.low-alarm * {
  color: var(--color-white);
}

.low-control,
.low-control_toggle span {
  background-color: var(--color-yellow-dark);
  border-color: var(--color-yellow-dark);
  color: var(--color-black);
}

.low-control span,
.low-control * {
  color: var(--color-black);
}

.valid-alarm,
.valid-alarm_toggle span {
  background-color: var(--color-green-dark);
  border-color: var(--color-green-dark);
  color: var(--color-white);
}

.valid-alarm span,
.valid-alarm * {
  color: var(--color-white);
}

.no-alarm {
  background-color: var(--color-white);
  color: var(--color-black);
}

.no-alarm span,
.no-alarm * {
  color: var(--color-black);
}

.default-alarm {
  background-color: var(--color-gray-light5) !important;
  color: var(--color-black) !important;
}

.default-alarm span,
.default-alarm * {
  color: var(--color-black) !important;
}


.page-break-candidate {
  position: relative;
  flex-direction: column;
  display: flex;
}

/* @media print {  */
.page-break-candidate {
  /* height: var(--print-page-height) !important;    */
}

/* } */

.report-header-scrolled .report-sticky-header {
  height: auto !important;
  overflow: initial !important;
  padding: 10px !important;
  margin-bottom: 10px !important;
  opacity: 1 !important;
  transition: opacity 0.3s ease, height 0.3s ease;
}

.text-overflow {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.report_group_container {
  margin-bottom: 30px;
  border-bottom: 1px solid var(--color-gray-light5);
}

.page-break-section {
  break-before: page;
  page-break-before: always;
}

.print-header {
  height: 60px;
  display: block;
}

.print-header-hidden {
  display: none;
}

a {
  cursor: pointer !important;
}

a * {
  cursor: pointer !important;
}

.report-header-content {
  display: flex;
  gap: 10px;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  font: var(--font-regular);
  font-size: 13px;
  color: var(--color-primary);
}

.report-header-content * {
  font: var(--font-regular);
  font-size: 13px;
  color: var(--color-black);
}

.margin-right-4 {
  margin-right: 4px;
}

sub {
  font-size: 75%;
  line-height: 0;
}

sup {
  font-size: 75%;
  line-height: 0;
}

.force-style * {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  /* font-weight: 600 !important; */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transform: translateZ(0);
}

.force-style {
  background-color: white;
}

.force-style #wk-body {
  background-color: white !important;
}

.force-style .print-content {
  flex: 1;
  padding: 20px;
  padding-top: 0;
  padding-bottom: 0;
  height: 100%;
  background-color: white !important;
}

.force-style .report-container {
  background-color: white !important;
  width: auto !important;
  margin: 0 auto;
  border: 0 !important;
  border-radius: 0px !important;
  ;
  transform-origin: top center;
  display: flex;
  flex-direction: column;
  padding-top: 50px !important;
  ;
}

html.phone,
html.phone body,
html.tablet body {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}


html.phone .phone-dropdown .aps-menu-closed,
html.phone .phone-dropdown .aps-menu-open,
html.tablet .phone-dropdown .aps-menu-closed,
html.tablet .phone-dropdown .aps-menu-open {
  border-radius: 100% !important;
}

html.phone .phone-dropdown .aps-menu-button,
html.tablet .phone-dropdown .aps-menu-button {
  left: 10px !important;
}

html.phone .phone-panel-button,
html.tablet .phone-panel-button {
  width: 100% !important;
  height: 46px !important;
  border-radius: 30px !important;
  z-index: 10003 !important;
  font: var(--font-medium) !important;
  font-size: 15px !important;
}

html.phone .aps-dropdown__menu,
html.tablet .aps-dropdown__menu {
  width: calc(100% - 20px);
}

html.phone .aps-dropdown__menu .aps-button,
html.tablet .aps-dropdown__menu .aps-button {
  width: 100%;
}


html.phone .trend-button,
html.tablet .trend-button {
  font: var(--font-medium);
  font-size: 12px !important;
  border-radius: 18px;
}

html.phone .display-phone-overflow,
html.tablet .display-phone-overflow {
  overflow: auto;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;

  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;

  &::-webkit-scrollbar {
    display: none;
  }
}

.template-active svg {
  fill: var(--color-green-dark) !important;
}

.template-not-active svg {
  fill: var(--color-gray-light5) !important;
}


html.phone .phone-panel-button-small-round,
html.tablet .phone-panel-button-small-round {
  width: 30px !important;
  height: 30px !important;
  border-radius: 100% !important;
}

html.phone .phone-size,
html.tablet .phone-size {
  height: auto !important;
  width: calc(100vw - 20px) !important;
}

html.phone .phone-size-alt,
html.tablet .phone-size-alt {
  height: auto !important;
  width: calc(100vw - 60px) !important;
}

html.phone .phone-size-paging,
html.tablet .phone-size-paging {
  height: auto !important;
  width: calc(100* - 36px) !important;
  border-radius: 10px;
  margin-top: 10px;
}

html.phone .phone-size-paging button,
html.tablet .phone-size-paging button {
  font-size: 13px;
  margin-right: 0px !important;
}

html.phone .phone-table,
html.tablet .phone-table {
  height: auto !important;
  overflow: auto !important;
  overflow-y: auto !important;
}

html.phone .phone-table-body,
html.tablet .phone-table-body {}

html.phone .phone-row-size,
html.tablet .phone-row-size {
  border-bottom: 1px solid var(--color-gray-light5);
}

html.phone .phone-row-size td,
html.tablet .phone-row-size td {
  padding-top: 14px;
  padding-bottom: 14px;
}

html.phone .phone-form-panel,
html.tablet .phone-form-panel {
  background-color: var(--color-white);
  margin-bottom: 10px;
}

html.phone .edit-create-form,
html.tablet .edit-create-form {
  background-color: var(--color-base-bg-color);
}

html.phone .phone-active-button,
html.tablet .phone-active-button {
  background-color: var(--color-green-dark) !important;
  border-color: var(--color-green-dark) !important;
}

html.phone .phone-inactive-button,
html.tablet .phone-inactive-button {
  background-color: var(--color-gray-light3) !important;
  border-color: var(--color-gray-light3) !important;
}

html.phone .phone-inactive-button *,
html.tablet .phone-inactive-button * {
  fill: var(--color-gray-dark3) !important;
}


.report-text-max-width {
  max-width: 100% !important;
  width: calc(100% - 20px) !important;
}