.df-chat{--chat-gold:#8b712e;--chat-ink:#292d25;--chat-line:#e5dece;--chat-soft:#f7f5ee;color:var(--chat-ink);font-family:inherit;font-size:14px;line-height:1.5;background:#fff;display:flex;flex-direction:column;min-height:0;height:100%;text-align:left}.df-chat *{box-sizing:border-box}.df-chat button,.df-chat textarea,.df-chat select,.df-chat input{font:inherit}.df-chat button,.df-chat select{cursor:pointer}.df-chat button:focus-visible,.df-chat textarea:focus-visible,.df-chat select:focus-visible,.df-chat input:focus-visible,.df-chat-launch:focus-visible{outline:2px solid var(--chat-gold,#8b712e);outline-offset:2px}.df-chat button:disabled{opacity:.6;cursor:default}.df-chat button{border:1px solid var(--chat-line);background:#fff;color:var(--chat-ink);border-radius:4px;padding:8px 12px;line-height:20px}.df-chat button:hover:not(:disabled){background:var(--chat-soft)}.df-chat button:active:not(:disabled){background:#eee8d8}.df-chat-heading{font-size:20px;line-height:28px;font-weight:600;margin:0}.df-chat-caption{font-size:12px;line-height:16px;color:#77786f;margin:4px 0 0}.df-chat-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 24px;border-bottom:1px solid var(--chat-line);flex-shrink:0}.df-chat-icon{width:24px;height:24px;display:block}.df-chat .df-chat-close{padding:8px;border:0}.df-chat-context{background:var(--chat-soft);padding:8px 24px;font-size:12px;line-height:20px;border-bottom:1px solid var(--chat-line);overflow-wrap:anywhere}.df-chat-context:empty{display:none}.df-chat-context a{color:var(--chat-gold);text-decoration:underline}.df-chat-log{flex:1;min-height:120px;overflow-y:auto;overscroll-behavior:contain;padding:16px 24px;background:#fcfbf8;scroll-behavior:auto}.df-chat-empty{text-align:center;margin:48px 0;color:#77786f}.df-chat-message{max-width:88%;margin:0 auto 16px 0;overflow-wrap:anywhere}.df-chat-message.own{margin-right:0;margin-left:auto}.df-chat-message-meta{font-size:12px;line-height:16px;color:#77786f;margin-bottom:4px}.df-chat-message.own .df-chat-message-meta{text-align:right}.df-chat-bubble{background:#fff;border:1px solid var(--chat-line);border-radius:8px;padding:12px 16px;white-space:pre-wrap}.df-chat-message.own .df-chat-bubble{background:#f2ecd9;border-color:#dfd2ac}.df-chat-original{margin:0}.df-chat-translation{border-top:1px solid var(--chat-line);margin-top:8px;padding-top:8px;font-size:14px;line-height:24px}.df-chat-translation small{display:block;font-size:12px;line-height:16px;color:var(--chat-gold);margin-bottom:4px}.df-chat-translation-note{font-size:12px;line-height:20px;color:#77786f;padding-top:8px;white-space:normal}.df-chat .df-chat-retry{padding:2px 8px;font-size:12px;margin-left:8px}.df-chat-history{text-align:center;margin-bottom:16px}.df-chat-compose{padding:12px 24px 16px;border-top:1px solid var(--chat-line);background:#fff;flex-shrink:0}.df-chat-consent{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:20px;margin-bottom:8px;color:#73756c}.df-chat-consent input{margin:4px 0 0;accent-color:var(--chat-gold);flex-shrink:0}.df-chat textarea{display:block;width:100%;height:80px;min-height:64px;max-height:160px;resize:vertical;padding:8px 12px;border:1px solid var(--chat-line);border-radius:4px;color:var(--chat-ink);background:#fff}.df-chat-compose-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}.df-chat-compose select{max-width:180px;border:1px solid var(--chat-line);border-radius:4px;padding:8px;background:#fff;color:#575a50}.df-chat .df-chat-send{background:var(--chat-gold);color:#fff;border-color:var(--chat-gold);min-width:80px;font-weight:600}.df-chat .df-chat-send:hover:not(:disabled){background:#725c25}.df-chat-error{color:#9b3526;font-size:12px;line-height:20px;margin:8px 0 0;overflow-wrap:anywhere}.df-chat-error:empty{display:none}.df-chat-notice{font-size:12px;line-height:16px;color:#77786f;margin:8px 0 0}.df-chat-skeleton{height:48px;background:#f0eee7;border-radius:4px;margin-bottom:16px;max-width:80%}.df-chat-launch{position:fixed;right:24px;bottom:24px;z-index:60;display:flex;align-items:center;gap:8px;padding:12px 16px;border:1px solid #8b712e;border-radius:9999px;background:#8b712e;color:#fff;font:600 14px/24px inherit;box-shadow:0 4px 16px #292d251a;cursor:pointer}.df-chat-launch:hover{background:#725c25}.df-chat-count{min-width:20px;height:20px;padding:0 4px;border-radius:9999px;background:#fff;color:#725c25;font-size:12px;line-height:20px;text-align:center}.df-chat-dialog{padding:0;border:1px solid #e5dece;border-radius:12px;width:480px;max-width:calc(100vw - 32px);height:720px;max-height:calc(100dvh - 32px);margin:auto;overflow:hidden;box-shadow:0 24px 64px #292d2533}.df-chat-dialog::backdrop{background:#22251f66}.df-chat-dialog[open]{display:flex;flex-direction:column}.df-chat-dialog-host{height:100%;min-height:0;width:100%}.df-chat-inbox{display:grid;grid-template-columns:320px minmax(0,1fr);border:1px solid #e5dece;border-radius:8px;background:#fff;overflow:hidden;height:calc(100dvh - 240px);min-height:520px;max-height:840px}.df-chat-queue{border-right:1px solid #e5dece;overflow-y:auto;background:#faf9f5}.df-chat-queue-head{padding:16px;border-bottom:1px solid #e5dece}.df-chat-queue-head input,.df-chat-queue-head select{width:100%;font:inherit;padding:8px 12px;border:1px solid #e5dece;border-radius:4px;background:#fff;margin-bottom:8px}.df-chat-queue-head p{font-size:12px;line-height:20px;color:#77786f;margin:0}.df-chat-thread{display:block;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid #e5dece;padding:16px;color:#292d25;cursor:pointer}.df-chat-thread:hover{background:#f0ecdF}.df-chat-thread[aria-current=true]{background:#eee5cc;box-shadow:inset 4px 0 #8b712e}.df-chat-thread strong{font-size:14px;line-height:20px;display:flex;justify-content:space-between;gap:8px}.df-chat-thread small{display:block;color:#77786f;font-size:12px;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px}.df-chat-thread .df-chat-count{background:#8b712e;color:#fff}.df-chat-inbox-pane{min-width:0;min-height:0}.df-chat-inbox-placeholder{text-align:center;color:#77786f;padding:80px 24px}.df-chat-admin-error{padding:8px 16px;margin:0;color:#9b3526;font-size:12px}.df-chat-queue-empty{padding:24px 16px;color:#77786f;font-size:14px}.df-chat-admin-toolbar{display:flex;align-items:center;gap:8px}.df-chat-admin-toolbar button{white-space:nowrap}
@media(max-width:767px){.df-chat-launch{right:16px;bottom:16px;padding:8px 12px;max-width:calc(100vw - 32px)}.df-chat-dialog{max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:8px}.df-chat-header{padding:12px 16px}.df-chat-context{padding:8px 16px}.df-chat-log{padding:16px}.df-chat-compose{padding:12px 16px}.df-chat-heading{font-size:18px;line-height:28px}.df-chat-message{max-width:94%}.df-chat-bubble{padding:8px 12px}.df-chat-inbox{grid-template-columns:1fr;height:auto;max-height:none;min-height:0}.df-chat-queue{border-right:0;border-bottom:1px solid #e5dece;max-height:280px}.df-chat-inbox-pane{height:640px;max-height:85dvh;min-height:440px}.df-chat-admin-toolbar{flex-wrap:wrap;justify-content:flex-end}.df-chat-admin-toolbar button{padding:4px 8px}.df-chat-compose select{max-width:150px}}

.df-chat [hidden],.df-chat-launch [hidden]{display:none!important}.df-chat-launch{font-family:inherit;font-size:14px;line-height:24px;font-weight:600}
.df-chat-enquiry-context{white-space:pre-line;max-height:120px;overflow:auto;font-size:.875rem;line-height:1.6;margin:8px 0 0;padding:8px 12px;border:1px solid #dfd3b4;border-radius:4px;background:#faf8ef}

.df-chat-attachment-tools{margin:8px 0}.df-chat-attachment-tools>button{font-size:14px}.df-chat-image-preview{display:flex;align-items:center;gap:8px;padding:8px;background:var(--chat-soft);border:1px solid var(--chat-line);border-radius:4px;margin-top:8px}.df-chat-image-preview img{width:72px;height:72px;object-fit:contain;background:#fff}.df-chat-image-preview span{flex:1;font-size:14px}.df-chat-payment-image{display:block;max-width:280px;color:var(--chat-gold);font-size:14px;line-height:20px;text-decoration:none;margin:0 0 8px;white-space:normal}.df-chat-payment-image img{display:block;width:100%;height:auto;max-height:320px;object-fit:contain;background:#fff;border:8px solid #fff;border-radius:4px}.df-chat-payment-image span{display:block;margin-top:4px}

.df-chat-payment-image img{height:min(280px,30dvh);max-height:none;object-fit:contain}

.df-chat-order-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px;margin-top:8px}.df-chat .df-chat-order-card{display:grid;gap:4px;text-align:left;font-size:14px;line-height:20px;overflow-wrap:anywhere}.df-chat-order-card strong{font-weight:600}.df-chat-order-card>span:last-child{color:var(--chat-gold);text-decoration:underline}.df-chat-paid{color:#2a643d}.df-chat-unpaid{color:#8b712e}.df-chat-context:has(.df-chat-order-list){max-height:200px;overflow:auto}.chat-order-items{overflow-x:auto;margin:16px 0}.chat-receipt-confirm{display:flex;align-items:flex-start;gap:8px;padding:12px;background:#f7f2e3;border:1px solid #d9c997;border-radius:4px;margin:12px 0}.chat-receipt-confirm input{width:auto;margin-top:4px}.chat-order-total{font-size:18px;font-weight:600;margin:16px 0}.chat-order-error{color:#a03226;font-size:14px;line-height:24px}.chat-order-error:empty{display:none}


#chat-order-editor .form-grid>label{display:grid;gap:8px;font-size:14px;line-height:22px;color:#292d25}#chat-order-editor .form-grid input:not([type=hidden]),#chat-order-editor .form-grid select{width:100%;min-height:44px;padding:8px 12px;font:inherit;color:#292d25;background:#fff;border:1px solid #dfd8c7;border-radius:4px;box-sizing:border-box}#chat-order-editor .form-grid input[readonly]{background:#f7f5ee}#chat-order-editor .form-grid input:focus,#chat-order-editor .form-grid select:focus{outline:2px solid #8b712e;outline-offset:2px}
