/* Scoped layout; form controls and page typography retain theme styling. */
.atis-dymo-badge-label .atis-dymo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}
.atis-dymo-badge-label .atis-dymo-layout > form,
.atis-dymo-badge-label .atis-dymo-layout > aside { min-width: 0; }
.atis-dymo-badge-label .atis-dymo-layout input,
.atis-dymo-badge-label .atis-dymo-layout select { box-sizing: border-box; max-width: 100%; }
.atis-dymo-badge-label .atis-dymo-label-card {
    box-sizing: border-box;
    position: relative;
    container-type: inline-size;
    width: min(100%, 340px);
    aspect-ratio: 5760 / 3331;
    overflow: hidden;
    color: #101820;
    border: 1.5px solid #627386;
    border-radius: 8px;
    background: #fffefa;
    box-shadow: 0 12px 22px rgba(20, 42, 60, .12);
    font-family: Arial, sans-serif;
}
.atis-dymo-badge-label .atis-dymo-label-card > div {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    line-height: 1.05;
    left: 6.94%; width: 86.11%;
}
.atis-dymo-badge-label .atis-dymo-preview-name {
    top: 5.40%; height: 19.51%;
    font-size: 9.028cqw; font-weight: 700;
}
.atis-dymo-badge-label .atis-dymo-preview-organization {
    top: 27.62%; height: 12.01%;
    font-size: 4.861cqw; font-weight: 400; font-style: italic;
}
.atis-dymo-badge-label .atis-dymo-preview-logos {
    position: absolute;
    left: 22.57%; top: 66.35%; width: 54.86%; height: 22.24%;
    max-width: none; object-fit: contain;
    border: 0; border-radius: 0; box-shadow: none; margin: 0; padding: 0;
}
.atis-dymo-badge-label [data-status][data-printer-state="ready"] { color: #16845b; }
.atis-dymo-badge-label [data-status][data-printer-state="error"] { color: #bc2d35; }
@media (max-width: 760px) {
    .atis-dymo-badge-label .atis-dymo-layout { grid-template-columns: minmax(0, 1fr); }
}

.atis-dymo-badge-label [data-record-status][data-record-state="saved"] { color: #16845b; }
.atis-dymo-badge-label [data-record-status][data-record-state="pending"] { color: #8a4b00; }
.atis-dymo-badge-label [data-record-status][data-record-state="error"] { color: #bc2d35; }
