.integration-chamber.read-only .dev-toolbar,
.integration-chamber.read-only .dev-toolbar-container,
.integration-chamber.read-only .material-icons.dev-del,
.integration-chamber.read-only .material-icons-outlined,
.integration-chamber.read-only .dev-restore,
.integration-chamber.read-only .field-action,
.integration-chamber.read-only .phasedel,
.integration-chamber.read-only .phasesim {
  display: none;
}

.integration-chamber.read-only button,
.integration-chamber.read-only .e-btn {
  pointer-events: none;
  opacity: 0.6;
}

.integration-chamber.read-only .e-input,
.integration-chamber.read-only .e-input-group,
.integration-chamber.read-only .e-textbox,
.integration-chamber.read-only .e-numerictextbox,
.integration-chamber.read-only .e-float-input,
.integration-chamber.read-only .e-dropdownlist,
.integration-chamber.read-only .e-ddl,
.integration-chamber.read-only .e-multiselect,
.integration-chamber.read-only .e-checkbox-wrapper,
.integration-chamber.read-only .e-switch-wrapper,
.integration-chamber.read-only .e-date-wrapper,
.integration-chamber.read-only .e-datetime-wrapper,
.integration-chamber.read-only .e-time-wrapper {
  pointer-events: none;
  opacity: 0.85;
}

.integration-chamber {
  background: #f5f7fa;
  border: 1px solid #d7dee6;
  border-radius: 12px;
  padding: 16px;
}

.integration-chamber .chamber-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.integration-chamber .summary-item {
  background: #ffffff;
  border: 1px solid #e1e5ea;
  border-radius: 8px;
  padding: 10px 12px;
}

.integration-chamber .summary-label {
  color: #6b7280;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.integration-chamber .summary-value {
  color: #1f2937;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .integration-chamber .chamber-summary {
    grid-template-columns: 1fr;
  }
}

.integration-chamber .chamber-tab {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.integration-chamber .tab-intro {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.integration-chamber .tab-title {
  color: #1f2937;
  font-size: 1.05rem;
  font-weight: 600;
}

.integration-chamber .tab-subtitle {
  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 2px;
}

.integration-chamber .tab-meta {
  background: #eef2f6;
  border: 1px solid #d7dee6;
  border-radius: 999px;
  color: #475569;
  font-size: 0.8rem;
  padding: 2px 8px;
  white-space: nowrap;
}

.integration-chamber .tab-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.integration-chamber .pane-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.integration-chamber .details-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.integration-chamber .section-title {
  color: #1f2937;
  font-size: 0.9rem;
  font-weight: 600;
}

.integration-chamber .form-section {
  margin-bottom: 16px;
}

.integration-chamber .form-section__title {
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.integration-chamber .chamber-tab__label {
  color: #1f2937;
  font-size: 0.95rem;
  font-weight: 600;
}

.integration-chamber .program-heading {
  color: #1f2937;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 12px 0 6px;
  text-align: center;
}

.integration-chamber .chamber-tabs .e-tab-header .e-toolbar-items {
  background: #f1f5f9;
  border: 1px solid #d7dee6;
  border-radius: 10px 10px 0 0;
  padding: 4px;
}

.integration-chamber .chamber-tabs .e-tab-header .e-toolbar-item {
  border-radius: 8px;
}

.integration-chamber .chamber-tabs .e-tab-header .e-toolbar-item.e-active {
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.integration-chamber .chamber-tabs .e-content {
  background: #ffffff;
  border: 1px solid #d7dee6;
  border-radius: 0 0 10px 10px;
  padding: 16px;
}

.integration-chamber .chamber-subtabs .e-content {
  border-radius: 10px;
}

.integration-chamber .chamber-subtabs .e-tab-header .e-toolbar-items {
  background: #f8fafc;
  border: 1px solid #e1e5ea;
  border-radius: 8px 8px 0 0;
  padding: 4px;
}

.integration-chamber .chamber-subtabs .e-tab-header .e-toolbar-item.e-active {
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.integration-chamber .chamber-split {
  background: transparent;
  border: none;
  gap: 12px;
}

.integration-chamber .chamber-split .e-pane {
  background: #ffffff;
  border: 1px solid #e1e5ea;
  border-radius: 10px;
  overflow: hidden;
}

.integration-chamber .chamber-split .e-pane-header {
  background: #f5f7fa;
  border-bottom: 1px solid #e1e5ea;
  font-weight: 600;
  padding: 10px 12px;
}

.integration-chamber .chamber-split .e-pane-content {
  padding: 12px;
}

.integration-chamber .dev-toolbar-container {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e1e5ea;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  padding: 8px 10px;
}

.integration-chamber .dev-toolbar {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d7dee6;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.85rem;
  gap: 6px;
  margin-bottom: 8px;
  padding: 6px 10px;
}

.integration-chamber .dev-toolbar:hover {
  background: #eef2f6;
}

.integration-chamber .dev-toolbar-container .dev-toolbar {
  margin-bottom: 0;
}

.integration-chamber .dev-header,
.integration-chamber .dev-header_cursor {
  color: #1f2937;
  font-weight: 600;
}

.integration-chamber .dev-header_cursor {
  cursor: pointer;
}

.integration-chamber .device-container {
  margin-bottom: 12px;
}

.integration-chamber .devroot {
  background: #ffffff;
  border: 1px solid #e1e5ea;
  border-radius: 10px;
  display: block;
  margin-bottom: 12px;
  padding: 12px;
}

.integration-chamber .devroot.sub-devroot {
  border-left: 3px solid #a5b4fc;
  margin-left: 12px;
}

.integration-chamber .dev-root,
.integration-chamber .dev-root-sel {
  border-radius: 8px;
  padding: 8px;
}

.integration-chamber .dev-root {
  border: 1px solid transparent;
}

.integration-chamber .dev-root-sel {
  background: #eff6ff;
  border: 1px solid #60a5fa;
}

.integration-chamber .dev-description {
  align-items: center;
  display: flex;
  font-weight: 600;
  justify-content: space-between;
  margin-bottom: 4px;
}

.integration-chamber .description-sub {
  color: #4b5563;
  display: flex;
  font-size: 0.8rem;
  gap: 6px;
  margin-top: 2px;
  padding: 2px 6px;
  border-radius: 6px;
}

.integration-chamber .dev-list {
  background: #ffffff;
  border: 1px solid #e1e5ea;
  border-radius: 10px;
  padding: 8px;
}

.integration-chamber .dev-contents {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.integration-chamber .dev-contents > li {
  margin-bottom: 0;
}

.integration-chamber .dev-contents > * {
  width: 100%;
}

.integration-chamber .devzone {
  margin: 0 0 8px;
}

.integration-chamber .devzone .bi {
  cursor: pointer;
}

.integration-chamber .draggable,
.integration-chamber .draggable-sel {
  background: #f8fafc;
  border: 1px solid #d7dee6;
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
}

.integration-chamber .draggable-sel {
  background: #e0f2fe;
  border-color: #7dd3fc;
}

.integration-chamber .recipelocked {
  border-style: dashed;
  opacity: 0.75;
}

.integration-chamber .device-show {
  display: flex;
}

.integration-chamber .device-hide {
  display: none;
}

.integration-chamber .scroll80 {
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 4px;
}

.integration-chamber .scroll60 {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 4px;
}

.integration-chamber .enclosure-set {
  background: #f8fafc;
  border: 1px solid #e1e5ea;
  border-radius: 8px;
  padding: 8px;
}

.integration-chamber .dev-del {
  color: #b42318;
  cursor: pointer;
}

.integration-chamber .dev-restore {
  color: #2563eb;
  cursor: pointer;
}

.integration-chamber .headerrow {
  border-bottom: 1px solid #e1e5ea;
  color: #475569;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  padding-bottom: 6px;
  text-transform: uppercase;
}

.integration-chamber .procedure-item {
  background: #ffffff;
  border: 1px solid #e1e5ea;
  border-radius: 10px;
  margin-bottom: 12px;
  padding: 12px;
}

.integration-chamber .procedure-card__header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.integration-chamber .procedure-card__title {
  color: #1f2937;
  font-size: 0.95rem;
  font-weight: 600;
}

.integration-chamber .procedure-card__type {
  background: #eef2f6;
  border: 1px solid #d7dee6;
  border-radius: 999px;
  color: #475569;
  font-size: 0.75rem;
  margin-left: 8px;
  padding: 2px 8px;
}

.integration-chamber .procedure-card__meta {
  color: #6b7280;
  display: flex;
  gap: 8px;
  font-size: 0.8rem;
}

.integration-chamber .procedure-add-row {
  background: #f8fafc;
  border: 1px dashed #d7dee6;
  border-radius: 8px;
  margin-top: 12px;
  padding: 8px;
}

.integration-chamber .procedure-add-row > div {
  align-items: center;
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

.integration-chamber .procedure-add-row > div:last-child {
  margin-bottom: 0;
}

.integration-chamber .liquidlistrow {
  border-left: 4px solid #e07a5f;
}

.integration-chamber .airlistrow {
  border-left: 4px solid #3d8bfd;
}

.integration-chamber .primelistrow {
  border-left: 4px solid #5cb85c;
}

.integration-chamber .customfuncrow {
  border-left: 4px solid #6c757d;
}

.integration-chamber .listrow {
  border-left: 4px solid #94a3b8;
}

.integration-chamber .hmi-card {
  background: #ffffff;
  border: 1px solid #e1e5ea;
  border-radius: 10px;
  margin-bottom: 12px;
  padding: 12px;
}

.integration-chamber .primed-for-delete {
  background: #fff1f2;
  border-color: #fecdd3;
}

.integration-chamber .field-action {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d7dee6;
  border-radius: 6px;
  color: #1f2937;
  cursor: pointer;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.integration-chamber .field-action.danger {
  background: #fef3f2;
  border-color: #f4b4b4;
  color: #b42318;
}

.integration-chamber .checkbox-sim {
  margin-right: 4px;
}

.integration-chamber button:not(.e-btn) {
  background: #ffffff;
  border: 1px solid #d7dee6;
  border-radius: 6px;
  color: #1f2937;
  font-size: 0.85rem;
  padding: 6px 10px;
}

.integration-chamber .hmi-card button.active {
  background: #e0f2fe;
  border-color: #7dd3fc;
}

.integration-chamber button.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.integration-chamber .empty-state {
  background: #f8fafc;
  border: 1px dashed #d7dee6;
  border-radius: 8px;
  color: #6b7280;
  font-size: 0.9rem;
  padding: 16px;
  text-align: center;
}

.integration-chamber .job-save-card {
  background: #ffffff;
  border: 1px solid #e1e5ea;
  border-radius: 10px;
  max-width: 520px;
  padding: 16px;
}

.integration-chamber .job-save-hint {
  color: #6b7280;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
