/* FDS extension: read-only customer component gallery. */
.ss-customer-components-entry { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-block: 10px; min-height: 44px; border-radius: var(--fds-radius-pill); }
.ss-customer-components-entry svg { width: 14px; height: 14px; }
.ss-customer-components-dialog { width: min(960px, calc(100vw - 32px)); max-width: none; max-height: min(820px, calc(100dvh - 32px)); padding: 0; border: 1px solid var(--fds-border); border-radius: var(--fds-radius-md); background: var(--fds-bg-panel); color: var(--fds-text-primary); overflow-y: auto; overscroll-behavior: contain; box-shadow: var(--fds-shadow-1); }
.ss-customer-components-dialog::backdrop { background: rgb(15 23 42 / 45%); }
.ss-customer-dialog-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; background: var(--fds-bg-panel); border-bottom: 1px solid var(--fds-border); }
.ss-customer-dialog-head h2 { margin: 0; font-size: 20px; }
.ss-customer-dialog-head p { margin: 6px 0 0; color: var(--fds-text-secondary); font-size: 13px; }
.ss-customer-dialog-close { border-radius: var(--fds-radius-pill); min-height: 44px; flex-shrink: 0; }
.ss-customer-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 24px; }
.ss-customer-product { min-width: 0; border: 1px solid var(--fds-border); border-radius: var(--fds-radius-md); overflow: hidden; }
.ss-customer-product-art { aspect-ratio: 1; display: grid; place-items: center; background: #f7f8fa; padding: 16px; }
.ss-customer-product-art img, .ss-customer-product-art svg { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: contain; max-width: 100%; max-height: 100%; }
.ss-customer-product-caption { display: grid; gap: 6px; padding: 14px; font-size: 13px; }
.ss-customer-product-caption strong { font-size: 15px; }
.ss-customer-product-caption > span { color: var(--fds-text-secondary); overflow-wrap: anywhere; }
.ss-customer-product-count { justify-self: start; border-radius: var(--fds-radius-pill); background: var(--fds-blue-50); padding: 4px 10px; }
.ss-customer-products-empty { padding: 24px; }
@media (max-width: 767px) { .ss-customer-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; gap: 12px; } .ss-customer-dialog-head { padding: 16px; } }
@media (max-width: 359px) { .ss-customer-product-grid { grid-template-columns: 1fr; } }

/* FDS extension: anchored, noninteractive staff welcome caption. */
.ss-staff-greeting { position: absolute; z-index: 9; transform: translateX(-50%); pointer-events: none; max-width: calc(100% - 16px); padding: 8px 12px; border: 1px solid var(--fds-border); border-radius: var(--fds-radius-pill); background: var(--fds-bg-panel); color: var(--fds-text-primary); box-shadow: var(--fds-shadow-1); font-size: 13px; white-space: nowrap; }
.ss-staff-greeting[hidden] { display: none; }
