.label-template-sml {
    --sml-ink: #1a1a1a;
    --sml-muted: #333;
    --sml-line: #1a1a1a;
    width: min(100%, 330px);
    aspect-ratio: 1;
    margin: 0 auto;
    padding: 5% 5%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--sml-ink);
    color: var(--sml-ink);
    font-family: Helvetica, Arial, Inter, Roboto, sans-serif;
    font-size: 11px;
    line-height: 1.2;
}
.sml-header {
    display: grid;
    grid-template-columns: 25% minmax(0, 1fr);
    align-items: center;
    gap: 4%;
    flex: 0 0 auto;
    padding-bottom: 3%;
}
.sml-logo {
    min-width: 0;
}
.sml-logo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.sml-company {
    min-width: 0;
    text-align: left;
    line-height: 1.2;
}
.sml-company strong {
    display: block;
    margin-bottom: 2%;
    font-size: .82em;
    font-weight: 600;
    line-height: 1.15;
}
.sml-company address {
    color: var(--sml-muted);
    font-size: .62em;
    font-style: normal;
    line-height: 1.2;
    overflow-wrap: break-word;
}
.sml-product {
    flex: 0 0 auto;
    margin: 4% 0 2%;
    text-align: center;
    font-size: 1.45em;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.1;
    overflow-wrap: break-word;
}
.sml-details {
    margin: 0;
    padding: 0;
    width: 100%;
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-rows: repeat(5, minmax(min-content, auto));
    align-content: space-evenly;
    row-gap: 1%;
}
.sml-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: baseline;
    column-gap: .3em;
    min-width: 0;
    font-size: 1em;
    line-height: 1.15;
}
.sml-row dt {
    min-width: 0;
    margin: 0;
    text-align: right;
    overflow-wrap: break-word;
}
.sml-row .sml-colon {
    text-align: center;
}
.sml-row dd {
    min-width: 0;
    margin: 0;
    text-align: left;
    font-weight: 400;
    overflow-wrap: break-word;
}
@media print {
    .label-template-sml {
        width: 100mm;
        height: 100mm;
        aspect-ratio: auto;
        margin: 0;
        padding: 5mm;
        border-width: .3mm;
        border-radius: 0;
        font-size: 8.5pt;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .sml-header { grid-template-columns: 25% minmax(0, 1fr); gap: 4mm; padding-bottom: 3mm; }
    .sml-company strong { margin-bottom: 1mm; font-size: 8pt; }
    .sml-company address { font-size: 6pt; line-height: 1.2; }
    .sml-product { margin: 4mm 0 2mm; font-size: 14pt; line-height: 1.1; }
    .sml-details { row-gap: 1mm; }
    .sml-row { font-size: 8.5pt; line-height: 1.15; }
}
