
/* UKÁZKA ELEKTRONICKÉ EVIDENCE SPOTŘEBIČŮ */
.appliance-example { margin: 25px 0 5px; }
.appliance-example img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 5px 20px rgba(16,44,75,.07); }
.appliance-example figcaption { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); }

.spotrebice-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
    gap: 24px;
    align-items: center;
}

.spotrebice-layout > * {
  min-width: 0;
}

.spotrebice-layout .appliance-example {
    width: 80%;
    max-width: 280px;
    margin: 0 auto;
}

.spotrebice-layout img {
  width: 100%;
  height: auto;
  border: 1px solid #dce7f3;
  border-radius: 7px;
}

@media (max-width: 800px) {
  .spotrebice-layout {
    grid-template-columns: 1fr;
  }
}
/* Fotografie u výchozí revize */
#vychozi-revize .appliance-example {
    width: 80%;
    max-width: 280px;
    margin: 0 auto;
}

/* Správné zobrazení na mobilu */
@media (max-width: 800px) {
    #vychozi-revize .spotrebice-layout {
        grid-template-columns: 1fr;
    }
}

/* Náhled aktuálního záznamu bez tabulky historie */
#spotrebice-naradi .evidence-current-preview {
  aspect-ratio: 979 / 554;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(16,44,75,.07);
}
#spotrebice-naradi .evidence-current-preview img {
  width: 100%; height: auto; border: 0; border-radius: 0; box-shadow: none;
}
