
html.kcMachineRecordOpenV108R6A4,
html.kcMachineRecordOpenV108R6A4 body {
  overflow: hidden;
}

.kcMachineRecordOverlayV108R6A4 {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(12, 18, 28, .52);
  overflow: auto;
  padding: 22px;
}

.kcMachineRecordOverlayV108R6A4[hidden] {
  display: none !important;
}

.kcMachineRecordShellV108R6A4 {
  width: min(1500px, 100%);
  min-height: calc(100vh - 44px);
  margin: 0 auto;
  background: var(--panel, #fff);
  border-radius: 16px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .26);
  overflow: hidden;
}

.kcMachineRecordBodyV108R6A4 {
  min-height: calc(100vh - 44px);
}

.kcMachineRecordHeaderV108R6A4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border, #dfe3e8);
  background: var(--panel, #fff);
}

.kcMachineRecordHeaderMainV108R6A4 {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.kcMachineRecordImageButtonV108R6A4 {
  width: 112px;
  height: 84px;
  padding: 0;
  border: 1px solid var(--border, #dfe3e8);
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
}

.kcMachineRecordImageButtonV108R6A4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kcMachineRecordImagePlaceholderV108R6A4 {
  width: 112px;
  height: 84px;
  border-radius: 10px;
  background: var(--surface-muted, #eef1f4);
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 700;
  flex: 0 0 auto;
}

.kcMachineRecordTitleV108R6A4 {
  min-width: 0;
}

.kcMachineRecordEyebrowV108R6A4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .62;
  margin-bottom: 3px;
}

.kcMachineRecordTitleV108R6A4 h2 {
  margin: 0;
  font-size: clamp(21px, 3vw, 30px);
}

.kcMachineRecordSubtitleV108R6A4 {
  margin-top: 5px;
  opacity: .72;
}

.kcMachineRecordHeaderBadgesV108R6A4 {
  margin-top: 8px;
}

.kcMachineRecordHeaderActionsV108R6A4 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.kcMachineRecordTabsV108R6A4 {
  display: flex;
  gap: 5px;
  padding: 10px 18px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border, #dfe3e8);
  background: var(--panel, #fff);
}

.kcMachineRecordTabsV108R6A4 button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
}

.kcMachineRecordTabsV108R6A4 button:hover,
.kcMachineRecordTabsV108R6A4 button.active {
  background: var(--surface-muted, #eef1f4);
}

.kcMachineRecordTabsV108R6A4 button.active {
  font-weight: 700;
}

.kcMachineRecordTabsV108R6A4 button span {
  display: inline-flex;
  margin-left: 5px;
  min-width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(0,0,0,.08);
  font-size: 11px;
}

.kcMachineRecordContentV108R6A4 {
  padding: 22px;
  background: var(--background, #f6f7f9);
  min-height: 560px;
}

.kcMachineRecordMetricsV108R6A4 {
  display: grid;
  grid-template-columns: repeat(6, minmax(125px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.kcMachineRecordMetricV108R6A4,
.kcMachineRecordSectionV108R6A4 {
  background: var(--panel, #fff);
  border: 1px solid var(--border, #dfe3e8);
  border-radius: 12px;
}

.kcMachineRecordMetricV108R6A4 {
  padding: 15px;
}

.kcMachineRecordMetricValueV108R6A4 {
  font-size: 22px;
  font-weight: 750;
}

.kcMachineRecordMetricLabelV108R6A4 {
  margin-top: 4px;
  font-size: 13px;
}

.kcMachineRecordSectionV108R6A4 {
  padding: 18px;
  margin-bottom: 16px;
}

.kcMachineRecordSectionHeadV108R6A4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.kcMachineRecordSectionHeadV108R6A4 h3 {
  margin: 0;
  font-size: 17px;
}

.kcMachineRecordFieldsV108R6A4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 14px;
}

.kcMachineRecordFieldV108R6A4 {
  min-width: 0;
}

.kcMachineRecordFieldLabelV108R6A4 {
  font-size: 12px;
  opacity: .62;
  margin-bottom: 3px;
}

.kcMachineRecordFieldValueV108R6A4 {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.kcMachineRecordListV108R6A4 {
  display: grid;
  gap: 8px;
}

.kcMachineRecordListRowV108R6A4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 12px;
  border: 1px solid var(--border, #e2e5e9);
  border-radius: 9px;
}

.kcMachineRecordRowTitleV108R6A4 {
  font-weight: 650;
}

.kcMachineRecordRowActionsV108R6A4 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.kcMachineRecordBadgeV108R6A4 {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  background: #edf0f3;
}

.kcMachineRecordBadgeV108R6A4.is-ok {
  background: #e6f5ea;
}

.kcMachineRecordBadgeV108R6A4.is-open {
  background: #fff3d9;
}

.kcMachineRecordBadgeV108R6A4.is-danger {
  background: #fde7e7;
}

.kcMachineRecordBadgeV108R6A4.is-muted {
  opacity: .62;
}

.kcMachineRecordTimelineV108R6A4 {
  background: var(--panel, #fff);
  border: 1px solid var(--border, #dfe3e8);
  border-radius: 12px;
  padding: 18px;
}

.kcMachineRecordTimelineRowV108R6A4 {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  padding: 0 0 18px;
}

.kcMachineRecordTimelineRowV108R6A4:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 13px;
  bottom: 0;
  width: 1px;
  background: var(--border, #dfe3e8);
}

.kcMachineRecordTimelineDotV108R6A4 {
  width: 13px;
  height: 13px;
  margin-top: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: .4;
}

.kcMachineRecordTimelineDetailV108R6A4 {
  margin: 4px 0;
}

.kcMachineRecordEmptyV108R6A4,
.kcMachineRecordLoadingV108R6A4,
.kcMachineRecordErrorV108R6A4 {
  background: var(--panel, #fff);
  border: 1px solid var(--border, #dfe3e8);
  border-radius: 12px;
  padding: 24px;
}

.kcMachineRecordLoadingV108R6A4,
.kcMachineRecordErrorV108R6A4 {
  margin: 22px;
}

.kcMachineRecordFooterActionV108R6A4 {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

@media (max-width: 1100px) {
  .kcMachineRecordMetricsV108R6A4 {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }

  .kcMachineRecordFieldsV108R6A4 {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
}

@media (max-width: 720px) {
  .kcMachineRecordOverlayV108R6A4 {
    padding: 0;
  }

  .kcMachineRecordShellV108R6A4 {
    min-height: 100vh;
    border-radius: 0;
  }

  .kcMachineRecordHeaderV108R6A4 {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }

  .kcMachineRecordHeaderActionsV108R6A4 {
    width: 100%;
    justify-content: flex-start;
  }

  .kcMachineRecordImageButtonV108R6A4,
  .kcMachineRecordImagePlaceholderV108R6A4 {
    width: 78px;
    height: 64px;
  }

  .kcMachineRecordContentV108R6A4 {
    padding: 12px;
  }

  .kcMachineRecordMetricsV108R6A4 {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .kcMachineRecordFieldsV108R6A4 {
    grid-template-columns: 1fr;
  }

  .kcMachineRecordListRowV108R6A4 {
    align-items: flex-start;
    flex-direction: column;
  }
}
