/* Image-edit tool — multi-source (up to 14), kodkonem orange/blue */
.mk-tool-ie__status.is-busy {
  color: #B8612F;
}
.mk-tool-ie__status.is-error {
  color: #a33;
}
.mk-tool-ie__source-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.mk-tool-ie__source-head .mk-tool-text__label {
  margin: 0;
}
.mk-tool-ie__clear-all {
  appearance: none;
  border: 0;
  background: transparent;
  color: #1a2744;
  font: inherit;
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  padding: 0;
  opacity: 0.75;
}
.mk-tool-ie__clear-all:hover {
  color: #B8612F;
  opacity: 1;
}
.mk-tool-ie__file-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.5rem 0;
  padding: 0;
  list-style: none;
}
.mk-tool-ie__file-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(26, 39, 68, 0.12);
  border-radius: 10px;
  background: #fff;
}
.mk-tool-ie__file-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(26, 39, 68, 0.1);
  background: #F7F4EF;
  flex-shrink: 0;
}
.mk-tool-ie__file-meta {
  flex: 1 1 auto;
  min-width: 0;
}
.mk-tool-ie__file-label {
  display: block;
  font-weight: 600;
  color: #1a2744;
  font-size: 0.95rem;
}
.mk-tool-ie__file-name {
  display: block;
  font-size: 0.8rem;
  color: rgba(26, 39, 68, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mk-tool-ie__file-remove {
  appearance: none;
  border: 1px solid rgba(26, 39, 68, 0.18);
  background: #F7F4EF;
  color: #1a2744;
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  flex-shrink: 0;
}
.mk-tool-ie__file-remove:hover {
  border-color: #B8612F;
  color: #B8612F;
}
.mk-tool-ie__add-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.35rem;
  padding: 0.85rem 1rem;
  border: 1.5px dashed rgba(26, 39, 68, 0.28);
  border-radius: 10px;
  background: #F7F4EF;
  color: #1a2744;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 140ms ease, color 140ms ease, background 140ms ease;
}
.mk-tool-ie__add-more:hover:not(:disabled) {
  border-color: #B8612F;
  color: #B8612F;
  background: rgba(184, 97, 47, 0.06);
}
.mk-tool-ie__add-more:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.mk-tool-ie__source-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mk-tool-ie__result {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(26, 39, 68, 0.08);
  padding-top: 1.25rem;
}
.mk-tool-ie__result-title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: #1a2744;
}
.mk-tool-ie__preview {
  margin: 0 auto;
  max-width: 420px;
  border: 1px solid rgba(26, 39, 68, 0.12);
  border-radius: 12px;
  background: #F7F4EF;
  overflow: hidden;
  text-align: center;
}
.mk-tool-ie__preview img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(420px, 55vh);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
.mk-tool-ie__result-actions {
  margin: 0.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.mk-tool-ie__form {
  gap: 0.75rem;
}
/* select height align (same as image-create) */
.mk-tool-ie .mk-tool-text__row > .mk-tool-text__field {
  align-content: start;
}
.mk-tool-ie .mk-tool-text__select {
  box-sizing: border-box;
  height: 2.85rem;
  min-height: 2.85rem;
  max-height: 2.85rem;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 2.75rem;
  align-self: start;
}
