/* Keep uploaded artwork at its original ratio in the app and editor preview. */
.customer .customer-grid .phone-card,
.preview-home .customer-grid .phone-card{
 display:block;align-self:start;min-height:0;height:auto;padding:0;overflow:hidden;
 background:transparent;border:0;color:inherit;box-shadow:none;
}
.customer .customer-grid .phone-card>img,
.preview-home .customer-grid .phone-card>img{
 display:block;width:100%;height:auto;min-height:0;max-height:none;
 aspect-ratio:auto;object-fit:contain;border-radius:17px;
}
.customer .customer-grid .phone-card>span,
.preview-home .customer-grid .phone-card>span{
 display:block;background:transparent;color:inherit;min-height:0;
 margin:0;padding:8px 0 0;overflow-wrap:anywhere;
}
.customer.show-no-names .customer-grid .phone-card>span,
.preview-home .customer-grid .phone-card>span[hidden]{display:none}
.customer .app-banner-carousel{align-items:flex-start}
.customer .app-banner-carousel>a,
.customer .app-banner-carousel>div{min-width:0;height:auto;background:transparent}
.customer .app-banner-carousel img,
.customer .customer-body>img.banner,
.preview-home #previewBanner{
 display:block;width:100%;height:auto;min-height:0;max-height:none;
 aspect-ratio:auto;object-fit:contain;background:transparent;
}

/* The reader keeps navigation compact and gives the document the available width. */
.customer .customer-body.content-reader{padding:12px 12px 24px}
.customer .content-reader>.button{margin:0 0 12px}
.customer .content-reader>.pdf-viewer{display:block;width:100%;max-width:100%;box-sizing:border-box;border:0;height:calc(100vh - 220px);height:calc(100dvh - 220px);min-height:360px}

/* Center product captions and allow complete titles on narrow screens. */
.customer .customer-grid .phone-card>span,
.preview-home .customer-grid .phone-card>span{
 width:100%;max-width:100%;box-sizing:border-box;text-align:center;
 white-space:normal;overflow:visible;text-overflow:clip;
 overflow-wrap:anywhere;word-break:normal;line-clamp:unset;
 -webkit-line-clamp:unset;height:auto;max-height:none;
 padding:8px 6px 4px;line-height:1.45;
}

.customer .copy-messages{display:grid;gap:16px;margin:20px 0}
.customer .copy-message{background:#fff;color:#202431;padding:18px;border-radius:16px;min-width:0;box-sizing:border-box}
.customer.theme-dark .copy-message{background:#252635;color:#f4f4f7}
.customer .copy-message h3{margin:0 0 12px;font-size:16px;line-height:1.4}
.customer .copy-message-text{white-space:pre-wrap;overflow-wrap:anywhere;user-select:text;-webkit-user-select:text;font-size:16px;line-height:1.65;margin-bottom:16px}
.customer .copy-message button{background:var(--appcolor,#6756d9);color:var(--buttontext,#fff);min-height:44px}
.customer .copy-message-status{font-size:13px;line-height:1.5;margin:8px 0 0}
.customer .copy-message-status:empty{display:none}

/* Branded conversation bubbles for copy-ready messages. */
.customer .copy-message{padding:18px;background:rgba(255,255,255,.96);border:1px solid #ffffff45;box-shadow:0 6px 20px #0000000a}
.customer .copy-message h3{font-size:12px;font-weight:650;letter-spacing:.3px;color:var(--appcolor,#6756d9);margin:0 0 14px}
.customer .copy-message-text{position:relative;background:#f2f3f6;border:1px solid #e8e9ed;border-radius:18px 18px 18px 5px;padding:16px 18px;margin:0 0 16px;color:#242733;line-height:1.7;font-size:16px}
.customer .copy-message button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:11px 16px;font-size:13px;font-weight:600;cursor:pointer}
.customer .copy-message button::before{content:'⧉';font-size:19px;line-height:1}
.customer .copy-message button:disabled{opacity:.65;cursor:wait}
.customer .copy-message button:focus-visible,.customer .copy-message-text:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.customer.theme-dark .copy-message{background:#252635;border-color:#ffffff18;box-shadow:0 6px 20px #00000015}
.customer.theme-dark .copy-message h3{color:#f4f4f7}
.customer.theme-dark .copy-message-text{background:#323447;border-color:#ffffff12;color:#f4f4f7}
