.pdf-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
    margin: 16px 0;
    align-items: start;
}
.pdf-image-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--site-border, #ddd);
    border-radius: 10px;
    padding: 12px;
    background: var(--site-surface, #fff);
    min-width: 0;
    position: relative;
}
.pdf-image-card input {
    align-self: flex-start;
    min-width: 20px;
    min-height: 20px;
    accent-color: #2563eb;
}
.pdf-image-card img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    background: repeating-conic-gradient(#ddd 0% 25%, white 0% 50%) 0/12px 12px;
}
.pdf-image-card span {
    font-size: 13px;
    overflow-wrap: anywhere;
    align-self: stretch;
}
#pti-app details {
    margin: 16px 0;
}
#pti-app summary {
    cursor: pointer;
    padding: 12px 0;
    font-weight: 600;
}
#pti-app select {
    appearance: none;
    min-height: 46px;
    height: 46px;
}
#pti-app progress {
    width: 100%;
}

#pti-app select {
    padding-right: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%23777' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
