html {
  font-size: 12px;
}

#search-results > div {
  border: 1px solid red;
}
#searchliste {
  max-height: 65vh;
  overflow: scroll;
}

#search-result-header {
  background-color: white;
  z-index: 2;
}

.orderposition:nth-child(2n),
.searchpositionen:nth-child(2n),
.oldorders:nth-child(2n) {
  background-color: #dcdcdc;
}

#viewport canvas {
  display: none;
}

.retoure {
  background-color: #ffcccc !important;
}
.io-row-action,
.io-article-action-row {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.io-row-action:hover,
.io-article-action-row:hover,
.io-row-action:focus-visible,
.io-article-action-row:focus-visible {
  filter: brightness(0.985);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.09), inset 0 0 0 1px rgba(100, 116, 139, 0.2);
  outline: none;
}

.io-row-action:active,
.io-article-action-row:active {
  transform: scale(0.995);
}

/* Umbau-Assistent: dauerhaft geladene Schrittanzeige (auch in HTMX-Modals). */
.io-refit .io-refit-progress-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 9px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.io-refit .io-refit-head-branch {
  color: #64748b;
  font-weight: 700;
}

.io-refit .io-refit-head {
  position: relative;
  padding-right: 56px;
}

.io-refit .io-refit-head > .io-refit-refresh {
  position: absolute;
  top: 0;
  right: 43px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #dbe3eb;
  border-radius: 11px;
  background: #fff;
  color: #526379;
  cursor: pointer;
}

.io-refit .io-refit-head > .io-refit-refresh:hover,
.io-refit .io-refit-head > .io-refit-refresh:focus-visible {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d6fb8;
  outline: none;
}

/* Umbauten im Hauptlager: Filialauswahl und kompakte Arbeitsliste. */
.io-refit .io-refit-warehouse-label {
  margin: 2px 0 9px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.io-refit .io-refit-branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.io-refit .io-refit-branch-tile {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 9px;
  min-height: 78px;
  padding: 12px;
  border: 1px solid #dfe6ee;
  border-radius: 15px;
  background: #fff;
  color: #334155;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.035);
}

.io-refit .io-refit-branch-tile.is-active {
  border-color: #3b82f6;
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.11);
}

.io-refit .io-refit-branch-inline-panel {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 2px 0 8px;
  padding: 13px;
  border: 1px solid #bfdbfe;
  border-radius: 17px;
  background: #f4f9ff;
}

.io-refit .io-refit-branch-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #eef2ff;
  color: #4f46e5;
}

.io-refit .io-refit-branch-copy {
  min-width: 0;
}

.io-refit .io-refit-branch-copy strong {
  display: block;
  color: #1e293b;
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.io-refit .io-refit-branch-copy small {
  display: block;
  margin-top: 3px;
  color: #718096;
  font-size: 11px;
  font-weight: 700;
}

.io-refit .io-refit-branch-count {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  background: #4f46e5;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.io-refit .io-refit-branch-chevron {
  color: #94a3b8;
}

.io-refit .io-refit-branch-tile.is-active .io-refit-branch-chevron {
  color: #2563eb;
  transform: rotate(90deg);
}

.io-refit .io-refit-warehouse-hint {
  margin: 4px 0 18px;
  padding: 17px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  color: #64748b;
  text-align: center;
  font-weight: 700;
}

.io-refit .io-refit-work-id {
  color: #1e293b;
  font-size: 15px;
  font-weight: 900;
}

.io-refit .io-refit-work-item {
  padding: 0;
  overflow: hidden;
}

.io-refit .io-refit-work-summary {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto 20px;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 14px;
  border: 0;
  background: #fff;
  color: inherit;
  text-align: left;
  cursor: pointer;
  list-style: none;
}

.io-refit .io-refit-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 0 34px 14px 0;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5eaf0;
}

.io-refit .io-refit-detail-head h2 {
  margin: 2px 0 3px;
  color: #172033;
  font-size: 25px;
  font-weight: 900;
}

.io-refit .io-refit-detail-head .io-refit-detail-title {
  font-size: 20px;
  line-height: 1.2;
}

.io-refit-work-detail-modal .uk-modal-close-default {
  top: 18px;
  right: 18px;
}

.io-refit-work-detail-modal .uk-modal-dialog {
  width: min(760px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  border-radius: 20px;
}

.io-refit .io-refit-ean-line {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 5px;
  white-space: nowrap;
}

.io-refit .io-refit-copy-ean {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 30px;
  padding: 3px 8px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.io-refit .io-refit-work-summary::-webkit-details-marker {
  display: none;
}

.io-refit .io-refit-work-location {
  display: grid;
  place-items: center;
  align-content: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #eaf3ff;
  color: #185fa9;
  line-height: 1.1;
}

.io-refit .io-refit-work-location strong {
  font-size: 15px;
  font-weight: 900;
}

.io-refit .io-refit-work-location small {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 800;
}

.io-refit .io-refit-work-summary-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.io-refit .io-refit-work-summary-copy > strong {
  color: #26384f;
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.io-refit .io-refit-work-summary-copy > small {
  color: #7b8ba1;
  font-size: 11px;
  font-weight: 700;
}

.io-refit .io-refit-work-chevron {
  color: #94a3b8;
  transition: transform 0.18s;
}

.io-refit .io-refit-work-item[open] .io-refit-work-chevron {
  transform: rotate(180deg);
}

.io-refit .io-refit-work-body {
  padding: 4px 15px 15px;
}

.io-refit .io-refit-work-body > .io-refit-swap {
  margin-top: 4px;
}

.io-refit .io-refit-detail-card {
  overflow: visible;
}

.io-refit .io-refit-swap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 2px;
}

.io-refit .io-refit-article {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e8edf3;
  border-radius: 13px;
  background: #f8fafc;
}

.io-refit .io-refit-article--old {
  display: flex;
  align-items: center;
  gap: 9px;
}

.io-refit .io-refit-article > strong,
.io-refit .io-refit-article--old > span:last-child > strong,
.io-refit .io-refit-article--new > span > strong {
  display: block;
  color: #26384f;
  font-size: 14px;
  line-height: 1.3;
}

.io-refit .io-refit-article--new {
  display: flex;
  align-items: center;
  gap: 11px;
}

.io-refit .io-refit-article-label {
  display: block;
  margin-bottom: 4px;
  color: #8492a6;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.io-refit .io-refit-meta {
  display: block;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.io-refit .io-refit-arrow {
  color: #2563eb;
  font-size: 24px;
  font-weight: 900;
}

.io-refit .io-refit-work-product-lightbox {
  flex: 0 0 auto;
}

.io-refit .io-refit-work-product-visual {
  display: grid;
  justify-items: center;
  gap: 5px;
  flex: 0 0 auto;
}

.io-refit .io-refit-work-product-price {
  display: grid;
  justify-items: center;
  gap: 1px;
  color: inherit;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.io-refit .io-refit-work-product-tax {
  color: #7b8798;
  font-size: 10px;
  font-weight: 800;
}

.io-refit .io-refit-work-product-link {
  position: relative;
  display: block;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 1px solid #e5eaf0;
  border-radius: 12px;
  background: #fff;
}

.io-refit .io-refit-work-product-link--old {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.io-refit .io-refit-work-product-image {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: #fff;
  object-fit: contain;
}

.io-refit .io-refit-work-product-link > i {
  position: absolute;
  right: 5px;
  bottom: 5px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #334155;
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.18);
  pointer-events: none;
}

.io-refit .io-refit-work-product-link--old > i {
  z-index: 2;
  right: 2px;
  bottom: 2px;
  width: 22px;
  height: 22px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.3);
}

.io-refit .io-refit-work-product-link--old > i svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}

.io-refit .io-refit-work-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 11px;
}

.io-refit .io-refit-work-facts > span {
  display: grid;
  gap: 3px;
  padding: 10px 11px;
  border: 1px solid #e8edf3;
  border-radius: 11px;
  background: #fff;
}

.io-refit .io-refit-work-facts small {
  color: #8492a6;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.io-refit .io-refit-work-facts strong {
  color: #26384f;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
}

.io-refit .io-refit-fact-affix {
  color: #94a3b8;
  font-size: 0.82em;
  font-weight: 800;
}

.io-refit .io-refit-work-photos {
  margin-top: 13px;
  padding: 11px;
  border-radius: 12px;
  background: #f8fafc;
}

.io-refit .io-refit-work-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 7px;
}

.io-refit .io-refit-work-photo {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #dbe5ef;
  border-radius: 12px;
  background: #eaf0f5;
}

.io-refit .io-refit-work-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.io-refit .io-refit-work-photo > span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.io-refit .io-refit-work-photo > i {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #334155;
}

.io-refit .io-refit-action-label {
  margin-top: 16px;
  color: #64748b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.io-refit .io-refit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.io-refit .io-refit-unclear-form {
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  width: 100%;
  margin-top: 9px;
}

.io-refit .io-refit-unclear-form.is-open {
  display: grid;
}

.io-refit .io-refit-unclear-form .uk-input {
  height: 46px;
  border-radius: 11px;
}

.io-refit .io-refit-work-item .io-refit-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.io-refit .io-refit-work-item .io-refit-actions form,
.io-refit .io-refit-work-item .io-refit-actions > button {
  display: flex;
  width: 100%;
  min-width: 0;
}

.io-refit .io-refit-work-item .io-refit-actions .uk-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  white-space: normal;
}

.io-refit .io-refit-work-item .io-refit-actions form:first-child .uk-button {
  border: 1px solid #91d4ae;
  background: #eaf8f0;
  color: #147a45;
}

.io-refit .io-refit-work-item .io-refit-actions > .uk-button-default {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #475569;
}

.io-refit .io-refit-work-item .io-refit-actions .uk-button-danger {
  border: 1px solid #efb2b8;
  background: #fff4f5;
  color: #b4232c;
}

.io-refit .io-refit-article-label {
  display: block;
  margin-bottom: 4px;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.io-refit .io-refit-fill-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid #e5eaf0;
  color: #526379;
  font-size: 12px;
}

@media (max-width: 640px) {
  .io-refit .io-refit-branch-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .io-refit .io-refit-branch-tile {
    min-height: 70px;
  }

  .io-refit .io-refit-branch-inline-panel {
    margin: 0 0 7px;
    padding: 9px;
  }

  .io-refit .io-refit-work-summary {
    grid-template-columns: 50px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 82px;
    padding: 11px;
  }

  .io-refit .io-refit-swap {
    grid-template-columns: 1fr;
  }

  .io-refit .io-refit-arrow {
    justify-self: center;
    line-height: 1;
    transform: rotate(90deg);
  }

  .io-refit .io-refit-article--new {
    align-items: flex-start;
  }

  .io-refit .io-refit-work-location {
    width: 50px;
    height: 50px;
  }

  .io-refit .io-refit-work-chevron {
    display: none;
  }

  .io-refit .io-refit-work-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .io-refit .io-refit-work-item .io-refit-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .io-refit .io-refit-work-item .io-refit-actions .uk-button {
    min-height: 54px;
    padding: 8px;
  }

  .io-refit .io-refit-work-item .io-refit-actions .uk-button svg {
    width: 22px;
    height: 22px;
  }

  .io-refit .io-refit-work-item .io-refit-action-text {
    display: none;
  }

  .io-refit .io-refit-unclear-form {
    grid-template-columns: 1fr;
  }

  .io-refit-work-detail-modal .uk-modal-dialog {
    width: calc(100vw - 18px);
    max-height: calc(100vh - 18px);
    padding: 17px 13px calc(18px + env(safe-area-inset-bottom));
  }

  .io-refit .io-refit-work-body {
    padding: 2px 12px 12px;
  }

  .io-refit-work-detail-modal .uk-modal-close-default {
    top: 22px;
    right: 17px;
  }

  .io-refit .io-refit-detail-head .io-refit-detail-title {
    font-size: 18px;
  }
}

.io-refit .io-refit-progress-stage {
  color: #1f3f64;
  font-size: 12px;
}

.io-refit ol.io-refit-stepper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.io-refit .io-refit-stepper-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: #94a3b8;
  text-align: center;
  list-style: none;
}

.io-refit .io-refit-stepper-step::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 15px;
  right: 50%;
  width: 100%;
  height: 3px;
  background: #e2e8f0;
  transition: background 0.2s ease;
}

.io-refit .io-refit-stepper-step:first-child::before {
  display: none;
}

.io-refit .io-refit-stepper-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 2px solid #d8e1eb;
  border-radius: 50%;
  background: #fff;
  color: #8291a5;
  font-size: 12px;
  font-weight: 900;
  transition: all 0.2s ease;
}

.io-refit .io-refit-stepper-label {
  max-width: 100%;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.io-refit .io-refit-stepper-step.is-complete::before,
.io-refit .io-refit-stepper-step.is-active::before {
  background: #61b98a;
}

.io-refit .io-refit-stepper-step.is-complete .io-refit-stepper-dot {
  border-color: #48ad78;
  background: #48ad78;
  color: #fff;
}

.io-refit .io-refit-stepper-step.is-complete {
  color: #34855b;
}

.io-refit .io-refit-stepper-step.is-active .io-refit-stepper-dot {
  border-color: #1e87f0;
  background: #1e87f0;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(30, 135, 240, 0.14);
  transform: scale(1.04);
}

.io-refit .io-refit-stepper-step.is-active {
  color: #176fc1;
}

@media (max-width: 640px) {
  .io-refit .io-refit-stepper-label {
    display: none;
  }
}

/* Umbau-Assistent: Eingabestufe und Kamera bleiben auch im HTMX-Modal stabil. */
.io-refit .io-refit-capacity-fields {
  display: grid;
  gap: 14px;
  margin-top: 13px;
}

.io-refit .io-refit-field-label {
  display: block;
  margin-bottom: 6px;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.io-refit .io-refit-current-fill {
  height: 52px;
  max-width: 220px;
  border-radius: 12px;
  font-size: 18px;
}

.io-refit .io-refit-capacity-choice .is-selected {
  border-color: #1e87f0;
  box-shadow: 0 0 0 3px rgba(30, 135, 240, 0.12);
}

.io-refit .io-refit-slot-control {
  display: flex;
  overflow: hidden;
  height: 52px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
}

.io-refit .io-refit-slot-control:focus-within {
  border-color: #1e87f0;
  box-shadow: 0 0 0 3px rgba(30, 135, 240, 0.12);
}

.io-refit .io-refit-slot-prefix {
  display: grid;
  place-items: center;
  width: 48px;
  border-right: 1px solid #e1e7ee;
  background: #f4f7fa;
  color: #334155;
  font-size: 18px;
  font-weight: 900;
}

.io-refit .io-refit-slot-control .uk-input {
  height: 50px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.io-refit .io-refit-camera-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  width: min(100%, 320px);
  margin: 12px auto 0;
}

.io-refit .io-refit-camera-stage {
  position: relative;
  display: none;
  width: min(100%, 320px);
  aspect-ratio: 1 / 1;
  margin: 12px auto 0;
  overflow: hidden;
  border-radius: 14px;
  background: #0f172a;
}

.io-refit .io-refit-camera-stage.is-active {
  display: block;
}

.io-refit .io-refit-camera-capture {
  min-width: 190px;
}

.io-refit .io-refit-camera-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.io-refit .io-refit-camera-previews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 150px));
  justify-content: center;
  gap: 9px;
  margin-top: 11px;
}

.io-refit .io-refit-camera-preview {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #fff;
}

.io-refit .io-refit-camera-preview img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.io-refit .io-refit-camera-preview.has-photo img {
  display: block;
}

.io-refit .io-refit-sticky-action {
  position: sticky;
  z-index: 12;
  bottom: 0;
  margin-top: 12px;
  padding: 12px 0 calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 18px);
}

.io-refit .io-refit-review {
  display: grid;
  gap: 0;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid #e1e7ee;
  border-radius: 14px;
  background: #fff;
}

.io-refit .io-refit-review-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1.4fr);
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #edf1f5;
}

.io-refit .io-refit-review-row:last-child {
  border-bottom: 0;
}

.io-refit .io-refit-review-label {
  color: #718096;
  font-size: 12px;
  font-weight: 800;
}

.io-refit .io-refit-review-value {
  color: #26384f;
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.io-refit .io-refit-review-product {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.io-refit .io-refit-review-product img {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border: 1px solid #edf1f5;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
}

.io-refit .io-refit-search-card {
  padding: 12px;
  border: 1px solid #e8edf3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.io-refit .io-refit-search .uk-input {
  height: 54px;
  border: 1px solid #e8edf3;
  border-radius: 14px;
  background: #f8fafc;
  box-shadow: none;
}

/* Einheitliche Umbau-Suchergebnisse bei Erstaufruf und nach dem Absenden. */
.io-refit-results {
  display: grid;
  gap: 8px;
  margin-top: 9px;
  max-height: 310px;
  overflow: auto;
  overscroll-behavior: contain;
}

.io-refit-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #334155;
  text-align: left;
  cursor: pointer;
}

.io-refit-result.has-image {
  grid-template-columns: 108px minmax(0, 1fr);
}

.io-refit-result:hover,
.io-refit-result:focus {
  border-color: #60a5fa;
  background: #eff6ff;
  outline: none;
}

.io-refit-result img {
  display: block;
  width: 108px;
  height: 108px;
  border-radius: 11px;
  object-fit: contain;
  background: #fff;
}

.io-refit-result-title {
  display: inline-block;
  color: #1e5fa8;
  font-weight: 800;
  line-height: 1.25;
}

.io-refit-result .io-refit-meta {
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .io-refit .io-refit-search-card {
    padding: 10px;
    border-radius: 14px;
  }

  .io-refit .io-refit-search .uk-input {
    height: 50px;
    border-radius: 12px;
  }

  .io-refit-result.has-image {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .io-refit-result img {
    width: 96px;
    height: 96px;
  }

  .io-refit .io-refit-review-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
