.resource-chat[data-v-ffe01cbd]{--conversation-accent:var(--primary, var(--color-marketplace));--conversation-accent-rgb:var(--primary-rgb, var(--color-marketplace-rgb, 15, 118, 110));display:flex;min-height:0;flex-direction:column;border:1px solid color-mix(in srgb,var(--border-color) 80%,transparent);border-radius:8px;background:color-mix(in srgb,var(--bg-card) 96%,var(--bg-primary));color:var(--text-primary);box-shadow:inset 0 1px color-mix(in srgb,#fff 14%,transparent),0 14px 32px #0f172a0f}.resource-chat__header[data-v-ffe01cbd],.resource-chat__send[data-v-ffe01cbd],.resource-chat__title[data-v-ffe01cbd],.resource-chat__toggle[data-v-ffe01cbd]{display:flex;align-items:center}.resource-chat__header[data-v-ffe01cbd]{justify-content:space-between;gap:1rem;padding:1rem}.resource-chat__title[data-v-ffe01cbd]{gap:.75rem;min-width:0}.resource-chat__title>svg[data-v-ffe01cbd]{flex:0 0 auto;color:var(--conversation-accent)}.resource-chat__title p[data-v-ffe01cbd]{margin:0;color:var(--conversation-accent);font-size:.74rem;font-weight:950;letter-spacing:0;text-transform:uppercase}.resource-chat__title h2[data-v-ffe01cbd]{margin:.15rem 0 0;color:var(--text-primary);font-size:1rem;line-height:1.2;overflow-wrap:anywhere}.resource-chat__send[data-v-ffe01cbd],.resource-chat__toggle[data-v-ffe01cbd]{border:0;border-radius:8px;font-weight:900;cursor:pointer}.resource-chat__toggle[data-v-ffe01cbd]{flex:0 0 auto;gap:.4rem;min-height:38px;padding:.55rem .75rem;color:var(--text-primary);background:color-mix(in srgb,var(--conversation-accent) 9%,var(--bg-secondary))}.resource-chat__body[data-v-ffe01cbd]{display:grid;gap:.75rem;min-height:0;padding:0 1rem 1rem}.resource-chat__empty[data-v-ffe01cbd],.resource-chat__notice[data-v-ffe01cbd]{border-radius:8px;background:color-mix(in srgb,var(--conversation-accent) 7%,var(--bg-secondary))}.resource-chat__empty svg[data-v-ffe01cbd]{color:var(--conversation-accent)}.resource-chat__empty p[data-v-ffe01cbd]{margin:.2rem 0 0;color:var(--text-secondary);line-height:1.45}.resource-chat__notice[data-v-ffe01cbd]{padding:.8rem;color:var(--text-secondary)}.resource-chat__notice--error[data-v-ffe01cbd]{color:color-mix(in srgb,var(--color-danger,#dc2626) 86%,var(--text-primary))}.resource-chat__notice--locked[data-v-ffe01cbd]{border:1px solid color-mix(in srgb,var(--conversation-accent) 18%,var(--border-color));background:color-mix(in srgb,var(--conversation-accent) 8%,var(--bg-card));color:var(--text-secondary);font-size:.84rem;font-weight:750}.resource-chat__messages[data-v-ffe01cbd]{position:relative;display:grid;align-content:start;gap:.7rem;min-height:180px;max-height:360px;overflow-y:auto;padding:.7rem;border:1px solid color-mix(in srgb,var(--border-color) 75%,transparent);border-radius:8px;background:color-mix(in srgb,var(--bg-secondary) 74%,var(--bg-card))}.resource-chat--compact .resource-chat__messages[data-v-ffe01cbd]{max-height:300px}.resource-chat--compact .resource-chat__bubble[data-v-ffe01cbd]{width:min(88%,360px)}.resource-chat__empty[data-v-ffe01cbd]{display:grid;place-items:center;align-content:center;gap:.55rem;min-height:160px;padding:1rem;color:var(--text-secondary);text-align:center}.resource-chat__send svg.resource-chat__spinner[data-v-ffe01cbd],.resource-chat__switching svg[data-v-ffe01cbd]{animation:resource-chat-spin-ffe01cbd .85s linear infinite}.resource-chat__switching[data-v-ffe01cbd]{position:absolute;top:.65rem;right:.65rem;z-index:2;display:inline-flex;align-items:center;gap:.4rem;min-height:2rem;border:1px solid color-mix(in srgb,var(--conversation-accent) 18%,var(--border-color));border-radius:999px;background:color-mix(in srgb,var(--bg-card) 92%,transparent);box-shadow:0 10px 24px #0f172a14;color:var(--text-secondary);font-size:.74rem;font-weight:850;padding:0 .7rem;pointer-events:none}.resource-chat__message[data-v-ffe01cbd]{display:flex;align-items:flex-end;gap:.65rem;justify-content:flex-start}.resource-chat__message.is-mine[data-v-ffe01cbd]{justify-content:flex-start;flex-direction:row-reverse}.resource-chat__avatar[data-v-ffe01cbd]{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border-radius:999px;color:var(--conversation-accent);background:color-mix(in srgb,var(--conversation-accent) 14%,var(--bg-card));border:1px solid color-mix(in srgb,var(--conversation-accent) 18%,transparent);font-size:.74rem;font-weight:900;overflow:hidden}.resource-chat__avatar img[data-v-ffe01cbd]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.resource-chat__bubble[data-v-ffe01cbd]{width:min(82%,460px);border:1px solid color-mix(in srgb,var(--border-color) 70%,transparent);border-radius:8px;padding:.8rem .9rem;background:var(--bg-card);box-shadow:0 10px 22px #0f172a0d}.resource-chat__message.is-mine .resource-chat__bubble[data-v-ffe01cbd]{border-color:color-mix(in srgb,var(--conversation-accent) 34%,var(--border-color));background:color-mix(in srgb,rgba(var(--conversation-accent-rgb),.09),var(--bg-card))}.resource-chat__message.is-mine .resource-chat__avatar[data-v-ffe01cbd]{color:#fff;background:var(--conversation-accent);border-color:transparent}.resource-chat__bubble-head[data-v-ffe01cbd]{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:.45rem}.resource-chat__bubble-head span[data-v-ffe01cbd],.resource-chat__bubble-head strong[data-v-ffe01cbd]{font-size:.75rem;line-height:1}.resource-chat__bubble-head strong[data-v-ffe01cbd]{color:var(--text-primary)}.resource-chat__bubble-head span[data-v-ffe01cbd]{color:var(--text-tertiary);white-space:nowrap}.resource-chat__bubble-meta[data-v-ffe01cbd],.resource-chat__delete-confirmation>div[data-v-ffe01cbd],.resource-chat__message-editor-actions[data-v-ffe01cbd]{display:inline-flex;align-items:center;gap:.35rem}.resource-chat__delete-confirmation button[data-v-ffe01cbd],.resource-chat__message-action[data-v-ffe01cbd],.resource-chat__message-editor-actions button[data-v-ffe01cbd]{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;border:0;border-radius:6px;color:var(--text-secondary);background:color-mix(in srgb,var(--bg-secondary) 72%,transparent);cursor:pointer}.resource-chat__delete-confirmation button[data-v-ffe01cbd]:hover:not(:disabled),.resource-chat__message-action[data-v-ffe01cbd]:hover:not(:disabled),.resource-chat__message-editor-actions button[data-v-ffe01cbd]:hover:not(:disabled){color:var(--conversation-accent);background:color-mix(in srgb,var(--conversation-accent) 12%,var(--bg-secondary))}.resource-chat__delete-confirmation button[data-v-ffe01cbd]:last-child:hover:not(:disabled),.resource-chat__message-action--danger[data-v-ffe01cbd]:hover:not(:disabled){color:var(--color-danger,#dc2626);background:color-mix(in srgb,var(--color-danger,#dc2626) 10%,var(--bg-secondary))}.resource-chat__delete-confirmation button[data-v-ffe01cbd]:disabled,.resource-chat__message-action[data-v-ffe01cbd]:disabled,.resource-chat__message-editor-actions button[data-v-ffe01cbd]:disabled{cursor:not-allowed;opacity:.48}.resource-chat__bubble p[data-v-ffe01cbd]{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.48}.resource-chat__message-body--deleted[data-v-ffe01cbd]{color:var(--text-secondary);font-style:italic}.resource-chat__message-edited[data-v-ffe01cbd]{margin-top:.35rem;color:var(--text-tertiary);font-size:.64rem;font-style:italic;line-height:1}.resource-chat__message-editor[data-v-ffe01cbd]{display:grid;gap:.5rem}.resource-chat__message-editor textarea[data-v-ffe01cbd]{width:100%;min-height:68px;resize:vertical;border:1px solid color-mix(in srgb,var(--conversation-accent) 35%,var(--border-color));border-radius:6px;padding:.55rem .65rem;color:var(--text-primary);background:var(--bg-secondary);font:inherit;line-height:1.4}.resource-chat__delete-confirmation>div[data-v-ffe01cbd],.resource-chat__message-editor-actions[data-v-ffe01cbd]{justify-content:flex-end}.resource-chat__message-editor-actions button[data-v-ffe01cbd]{gap:.28rem;padding:0 .55rem;font-size:.72rem;font-weight:800}.resource-chat__message-editor-actions button[data-v-ffe01cbd]:last-child{color:#fff;background:var(--conversation-accent)}.resource-chat__delete-confirmation[data-v-ffe01cbd]{display:grid;gap:.45rem;margin-top:.65rem;padding-top:.6rem;border-top:1px solid color-mix(in srgb,var(--border-color) 72%,transparent);color:var(--text-secondary);font-size:.72rem;font-weight:750}.resource-chat__delete-confirmation button[data-v-ffe01cbd]{padding:0 .55rem;font-size:.7rem;font-weight:800}.resource-chat__bubble footer[data-v-ffe01cbd]{display:flex;justify-content:flex-end;margin-top:.55rem}.resource-chat__read[data-v-ffe01cbd]{display:inline-flex;align-items:center;gap:.25rem;color:var(--conversation-accent);font-size:.72rem;font-weight:800}.resource-chat__composer[data-v-ffe01cbd]{display:block}.resource-chat__composer-surface[data-v-ffe01cbd]{display:grid;gap:.7rem;padding:.8rem;border:1px solid color-mix(in srgb,var(--border-color) 76%,transparent);border-radius:8px;background:var(--bg-card);box-shadow:inset 0 1px color-mix(in srgb,#fff 12%,transparent);transition:border-color .16s,box-shadow .16s}.resource-chat__composer-surface[data-v-ffe01cbd]:focus-within{border-color:color-mix(in srgb,var(--conversation-accent) 36%,var(--border-color));box-shadow:0 0 0 3px color-mix(in srgb,rgba(var(--conversation-accent-rgb),.12),transparent)}.resource-chat__composer textarea[data-v-ffe01cbd]{width:100%;min-height:92px;max-height:168px;resize:vertical;border:0;border-radius:6px;padding:.25rem .1rem;color:var(--text-primary);background:transparent;font:inherit;line-height:1.5}.resource-chat__composer textarea[data-v-ffe01cbd]:focus{outline:0}.resource-chat__composer textarea[data-v-ffe01cbd]:disabled{cursor:not-allowed;opacity:.72}.resource-chat__composer-actions[data-v-ffe01cbd]{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.resource-chat__composer-hint[data-v-ffe01cbd]{color:var(--text-tertiary);font-size:.78rem;font-weight:700}.resource-chat__send[data-v-ffe01cbd]{display:inline-flex;align-items:center;gap:.45rem;justify-content:center;min-width:120px;height:44px;padding:0 .95rem;color:#fff;background:var(--conversation-accent);box-shadow:0 14px 26px color-mix(in srgb,var(--conversation-accent) 22%,transparent)}.resource-chat__send span[data-v-ffe01cbd]{font-size:.84rem;font-weight:900}.resource-chat__send[data-v-ffe01cbd]:disabled,.resource-chat__toggle[data-v-ffe01cbd]:disabled{cursor:not-allowed;opacity:.55}.resource-chat--embedded[data-v-ffe01cbd]{border:0;background:transparent;box-shadow:none}.resource-chat--embedded .resource-chat__body[data-v-ffe01cbd]{padding:0}.resource-chat--embedded .resource-chat__messages[data-v-ffe01cbd]{min-height:150px;max-height:280px;border-color:color-mix(in srgb,var(--border-color) 54%,transparent);background:color-mix(in srgb,var(--bg-card) 72%,var(--bg-secondary))}.resource-chat--embedded .resource-chat__empty[data-v-ffe01cbd]{min-height:130px;background:transparent}.resource-chat--order[data-v-ffe01cbd]{--conversation-accent:var(--orders-accent, var(--color-marketplace, var(--primary)));--conversation-accent-rgb:var(--orders-accent-rgb, var(--color-marketplace-rgb, var(--primary-rgb)));min-width:0}.resource-chat--order.resource-chat--embedded[data-v-ffe01cbd]{padding:.85rem;border:1px solid var(--header-surface-border,var(--glass-border));border-radius:var(--orders-radius-shell,1.25rem);background:linear-gradient(180deg,color-mix(in srgb,var(--glass-bg) 90%,transparent),color-mix(in srgb,var(--bg-layer-item,var(--bg-card)) 82%,transparent)),var(--orders-panel-bg,var(--bg-card));box-shadow:var(--header-surface-shadow,var(--shadow-sm));backdrop-filter:var(--header-surface-backdrop,blur(18px));-webkit-backdrop-filter:var(--header-surface-backdrop,blur(18px))}.resource-chat--order .resource-chat__header[data-v-ffe01cbd]{align-items:center;min-height:2.4rem;padding:0;margin-bottom:.75rem}.resource-chat--order .resource-chat__title>div[data-v-ffe01cbd]{display:grid;gap:.18rem}.resource-chat--order .resource-chat__title p[data-v-ffe01cbd]{color:var(--conversation-accent);font-size:.68rem;font-weight:850;letter-spacing:.08em;line-height:1}.resource-chat--order .resource-chat__title h2[data-v-ffe01cbd]{margin:0;color:color-mix(in srgb,var(--conversation-accent) 18%,var(--text-primary));font-size:1.04rem;font-weight:800;line-height:1.1}.resource-chat--order .resource-chat__toggle[data-v-ffe01cbd]{min-height:2rem;padding:.45rem;border:1px solid var(--header-surface-border,var(--glass-border));background:var(--orders-row-bg,var(--bg-secondary));color:var(--conversation-accent)}.resource-chat--order .resource-chat__composer-surface[data-v-ffe01cbd],.resource-chat--order .resource-chat__messages[data-v-ffe01cbd]{border-color:var(--header-surface-border,var(--glass-border));border-radius:var(--orders-radius-card,1.05rem);background:var(--orders-row-bg,var(--bg-secondary))}@keyframes resource-chat-spin-ffe01cbd{to{transform:rotate(1turn)}}@media(max-width:760px){.resource-chat--order .resource-chat__title p[data-v-ffe01cbd]{display:none}}@media(max-width:640px){.resource-chat__header[data-v-ffe01cbd]{grid-template-columns:1fr;align-items:stretch}.resource-chat__toggle[data-v-ffe01cbd]{justify-content:center}.resource-chat__composer-actions[data-v-ffe01cbd]{align-items:stretch;flex-direction:column}.resource-chat__send[data-v-ffe01cbd]{width:100%}.resource-chat__bubble[data-v-ffe01cbd]{width:calc(100% - 2.8rem)}}
