@import '_content/AiPersonalization.UI/AiPersonalization.UI.258u9mo63j.bundle.scp.css';

/* /Pages/ArticleEdit.razor.rz.scp.css */
.aip-product-row[b-7h64hfywt5] {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
}

.aip-product-row + .aip-product-row[b-7h64hfywt5] {
    border-top: 1px solid var(--xa-border);
}

.aip-product-thumbnail[b-7h64hfywt5] {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    overflow: hidden;
    border-radius: 8px;
    color: var(--xa-muted);
    background: var(--xa-selected-background);
    font-size: 12px;
}

.aip-product-thumbnail img[b-7h64hfywt5] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.aip-product-description[b-7h64hfywt5] {
    display: grid;
    gap: 8px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.aip-product-title[b-7h64hfywt5] {
    line-height: 1.5;
}

.aip-product-details[b-7h64hfywt5] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    color: var(--xa-muted);
    font-size: 13px;
    line-height: 1.5;
}

.aip-product-price[b-7h64hfywt5] {
    color: var(--xa-text);
    font-weight: 600;
}

.aip-product-select[b-7h64hfywt5] {
    justify-self: end;
}

.aip-article-connection[b-7h64hfywt5] {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.aip-article-main[b-7h64hfywt5],
.aip-article-inputs[b-7h64hfywt5] {
    display: grid;
    min-width: 0;
    gap: 20px;
}

.aip-article-help[b-7h64hfywt5],
.aip-article-input-option p[b-7h64hfywt5] {
    margin: 0 0 20px;
    color: var(--xa-muted);
}

.aip-connected-product[b-7h64hfywt5] {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    margin-bottom: 24px;
    border: 1px solid var(--xa-border);
    border-radius: 8px;
}

.aip-connected-product img[b-7h64hfywt5] {
    width: 140px;
    height: 110px;
    object-fit: contain;
    border-radius: 6px;
}

.aip-connected-description[b-7h64hfywt5] {
    display: grid;
    justify-items: start;
    gap: 12px;
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.aip-article-shopify-note[b-7h64hfywt5] {
    margin: 24px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--xa-border);
    color: var(--xa-muted);
}

.aip-article-variants[b-7h64hfywt5] {
    border: 1px solid var(--xa-border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.aip-article-variant[b-7h64hfywt5] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    min-height: 80px;
}

.aip-article-variant + .aip-article-variant[b-7h64hfywt5] {
    border-top: 1px solid var(--xa-border);
}

.aip-article-variant img[b-7h64hfywt5] {
    width: 84px;
    height: 64px;
    object-fit: contain;
    border-radius: 4px;
}

.aip-article-input-option[b-7h64hfywt5] {
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--xa-border);
    border-radius: 8px;
}

.aip-article-input-option p[b-7h64hfywt5] {
    margin: 8px 0 10px;
}

.aip-article-input-help[b-7h64hfywt5] {
    padding: 16px;
    border: 1px solid var(--xa-border);
    border-radius: 8px;
    background: var(--xa-selected-background);
}

@media (max-width: 1000px) {
    .aip-article-connection[b-7h64hfywt5] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .aip-connected-product[b-7h64hfywt5] {
        flex-wrap: wrap;
    }

    .aip-connected-product img[b-7h64hfywt5] {
        width: 84px;
        height: 80px;
    }

    .aip-product-row[b-7h64hfywt5] {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
    }

    .aip-product-thumbnail[b-7h64hfywt5] {
        grid-row: span 2;
        width: 48px;
        height: 48px;
        align-self: start;
    }

    .aip-product-select[b-7h64hfywt5] {
        grid-column: 2;
    }
}
.aip-print-diagram[b-7h64hfywt5] {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid var(--xa-border);
    background: white;
}
.aip-print-diagram > div[b-7h64hfywt5] {
    height: 100%;
    min-height: 40px;
    background: var(--xa-selected-background);
    border: 1px dashed var(--xa-primary);
    display: grid;
    place-items: center;
}
/* /Pages/Articles.razor.rz.scp.css */
.aip-article-list[b-os5ovy9ete] {
    background: var(--xa-surface);
    border: 1px solid var(--xa-border);
    border-radius: var(--xa-card-radius);
    overflow: hidden;
}

.aip-article-search[b-os5ovy9ete] {
    display: grid;
    padding: 10px 16px;
    border-bottom: 1px solid var(--xa-border);
}

.aip-article-name[b-os5ovy9ete] {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 230px;
    color: var(--xa-text);
    font-weight: 600;
    text-decoration: none;
}

.aip-article-name:hover span[b-os5ovy9ete] {
    text-decoration: underline;
}

.aip-article-name img[b-os5ovy9ete],
.aip-article-placeholder[b-os5ovy9ete] {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    object-fit: contain;
    border: 1px solid var(--xa-border);
    border-radius: 6px;
    background: #fafafa;
    flex-shrink: 0;
}

.aip-article-edit[b-os5ovy9ete] {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    color: var(--xa-muted);
    font-size: 28px;
    text-decoration: none;
}

.aip-article-name:focus-visible[b-os5ovy9ete],
.aip-article-edit:focus-visible[b-os5ovy9ete] {
    outline: 3px solid var(--xa-focus);
    outline-offset: 3px;
    border-radius: 6px;
}

.aip-article-empty[b-os5ovy9ete] {
    padding: 48px 16px;
    text-align: center;
    color: var(--xa-muted);
}

.aip-article-loading[b-os5ovy9ete] {
    padding: 12px 16px;
    color: var(--xa-muted);
}
/* /Pages/Orders.razor.rz.scp.css */
.aip-order-list[b-pebuoprfar] {
    background: var(--xa-surface);
    border: 1px solid var(--xa-border);
    border-radius: var(--xa-card-radius);
    overflow: hidden;
    min-width: 0;
}

.aip-order-filters[b-pebuoprfar] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    padding: 16px;
    border-bottom: 1px solid var(--xa-border);
}

.aip-order-reference[b-pebuoprfar] {
    min-width: 210px;
}

.aip-order-reference strong[b-pebuoprfar],
.aip-order-reference span[b-pebuoprfar] {
    display: block;
}

.aip-order-reference span[b-pebuoprfar] {
    margin-top: 4px;
    color: var(--xa-muted);
    font-size: 12px;
}

.aip-order-date[b-pebuoprfar] {
    white-space: nowrap;
}

.aip-order-empty[b-pebuoprfar] {
    padding: 32px 16px;
    text-align: center;
    color: var(--xa-muted);
}

@media (max-width: 700px) {
    .aip-order-filters[b-pebuoprfar] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Pages/Templates.razor.rz.scp.css */
.aip-raw-preview[b-sqljy8pyhk] {
    display: block;
    width: 180px;
    max-height: 200px;
    object-fit: contain;
}
small[b-sqljy8pyhk] {
    overflow-wrap: anywhere;
    color: var(--xa-muted);
}
.aip-template-list[b-sqljy8pyhk] {
    background: var(--xa-surface);
    border: 1px solid var(--xa-border);
    border-radius: var(--xa-card-radius);
    overflow: hidden;
}

.aip-template-search[b-sqljy8pyhk] {
    display: grid;
    padding: 10px 16px;
    border-bottom: 1px solid var(--xa-border);
}

.aip-template-name[b-sqljy8pyhk] {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 230px;
}

.aip-template-name img[b-sqljy8pyhk],
.aip-template-placeholder[b-sqljy8pyhk] {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    object-fit: contain;
    border: 1px solid var(--xa-border);
    border-radius: 6px;
    background: #fafafa;
    flex-shrink: 0;
}

.aip-template-empty[b-sqljy8pyhk] {
    padding: 48px 16px;
    text-align: center;
    color: var(--xa-muted);
}

.aip-template-loading[b-sqljy8pyhk] {
    padding: 12px 16px;
    color: var(--xa-muted);
}

.aip-template-test[b-sqljy8pyhk] {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 24px;
}

.aip-template-test-settings[b-sqljy8pyhk] {
    display: grid;
    gap: 24px;
}

.aip-template-test-margins[b-sqljy8pyhk] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 900px) {
    .aip-template-test-margins[b-sqljy8pyhk] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .aip-template-test-margins[b-sqljy8pyhk] {
        grid-template-columns: minmax(0, 1fr);
    }
}


.aip-template-intro[b-sqljy8pyhk] {
    color: var(--xa-muted);
    margin-block: -8px 20px;
}

.aip-template-test-options[b-sqljy8pyhk] {
    margin-block: 0;
}

.aip-template-test-options summary[b-sqljy8pyhk],
.aip-template-settings summary[b-sqljy8pyhk] {
    cursor: pointer;
    padding: 12px 0;
    font-weight: 600;
}

.aip-template-workspace[b-sqljy8pyhk] {
    display: grid;
    grid-template-columns: minmax(190px, .85fr) minmax(320px, 2fr) minmax(280px, 1fr);
    align-items: start;
    gap: 16px;
    margin-block: 0;
}

.aip-template-workspace > *[b-sqljy8pyhk],
.aip-template-photo-tile > span[b-sqljy8pyhk] {
    min-width: 0;
}

.aip-template-workspace.aip-template-flat[b-sqljy8pyhk] {
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
}

.aip-template-flat .aip-template-settings[b-sqljy8pyhk] {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
}

.aip-template-photo-list[b-sqljy8pyhk],
.aip-template-settings[b-sqljy8pyhk] {
    display: grid;
    gap: 12px;
}

.aip-template-approval[b-sqljy8pyhk] {
    grid-column: -2 / -1;
}

.aip-template-photo-tile[b-sqljy8pyhk] {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    text-align: left;
    width: 100%;
    overflow-wrap: anywhere;
}

.aip-template-photo-tile img[b-sqljy8pyhk] {
    display: block;
    width: 92px;
    height: 104px;
    object-fit: contain;
    border-radius: 6px;
    background: var(--xa-subtle);
}

.aip-template-canvas-heading[b-sqljy8pyhk],
.aip-template-canvas-heading > div:first-child[b-sqljy8pyhk] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.aip-template-empty-stage[b-sqljy8pyhk] {
    display: grid;
    place-items: center;
    min-height: 400px;
    padding: 32px;
    background: var(--xa-subtle);
    border: 1px dashed var(--xa-border);
    color: var(--xa-muted);
    text-align: center;
}

.aip-template-helper[b-sqljy8pyhk] {
    font-size: 13px;
    color: var(--xa-muted);
    line-height: 1.5;
}

.aip-template-coordinate-fields[b-sqljy8pyhk],
.aip-template-advanced[b-sqljy8pyhk] {
    display: grid;
    gap: 24px;
    padding-block: 12px;
}

.aip-template-coordinate-fields[b-sqljy8pyhk] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aip-template-motif[b-sqljy8pyhk] {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-wrap: anywhere;
}

.aip-template-motif img[b-sqljy8pyhk] {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 1px solid var(--xa-border);
    border-radius: 8px;
}

@media (max-width: 1250px) {
    .aip-template-workspace[b-sqljy8pyhk] {
        grid-template-columns: minmax(150px, .65fr) minmax(300px, 2fr);
    }

    .aip-template-settings[b-sqljy8pyhk] {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .aip-template-photo-tile[b-sqljy8pyhk] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 700px) {
    .aip-template-workspace.aip-template-flat[b-sqljy8pyhk] {
        grid-template-columns: minmax(0, 1fr);
    }

    .aip-template-flat .aip-template-canvas[b-sqljy8pyhk] {
        grid-row: auto;
    }

    .aip-template-workspace[b-sqljy8pyhk],
    .aip-template-settings[b-sqljy8pyhk] {
        grid-template-columns: minmax(0, 1fr);
    }

    .aip-template-photo-list[b-sqljy8pyhk] {
        display: flex;
        overflow-x: auto;
        padding: 5px;
        scroll-snap-type: x proximity;
    }

    .aip-template-photo-tile[b-sqljy8pyhk] {
        width: 112px;
        justify-items: center;
        text-align: center;
        scroll-snap-align: start;
    }

    .aip-template-canvas[b-sqljy8pyhk] {
        grid-row: 2;
    }
}
/* /Shared/XaGenerationResult.razor.rz.scp.css */
.aip-preview-grid[b-9wnqvjieuu] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
figure[b-9wnqvjieuu] {
    margin: 0;
    text-align: center;
}
img[b-9wnqvjieuu] {
    width: 100%;
    border: 1px solid var(--xa-border);
    border-radius: 10px;
}
.aip-failed-motif[b-9wnqvjieuu] {
    max-width: 600px;
}
small[b-9wnqvjieuu] {
    display: block;
    overflow-wrap: anywhere;
    color: var(--xa-muted);
    margin-top: 16px;
}
pre[b-9wnqvjieuu] {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
