.wm-collaboration,.wm-collaboration-actions,.wm-collaboration-avatar,.wm-collaboration-identity,.wm-modal:has(.wm-collaboration){--background:var(--app-background);--foreground:var(--app-foreground);--card:var(--app-card);--card-foreground:var(--app-foreground);--popover:var(--app-card);--popover-foreground:var(--app-foreground);--primary:var(--app-primary);--primary-foreground:var(--app-primary-foreground);--secondary:var(--app-secondary);--secondary-foreground:var(--app-foreground);--muted:var(--app-muted-surface);--muted-foreground:var(--app-muted-foreground);--accent:var(--app-secondary);--accent-foreground:var(--app-foreground);--destructive:var(--app-danger-solid);--border:var(--app-card-border);--input:var(--app-input-border);--ring:var(--app-primary);--radius:0.75rem}.wm-collaboration{color:var(--foreground);min-width:0}.wm-collaboration-card{gap:1rem;border-radius:1rem;box-shadow:none}.wm-collaboration-section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.wm-collaboration-section-header>div{min-width:0}.wm-collaboration-file-entry,.wm-collaboration-identity{display:flex;align-items:center;gap:.75rem;min-width:0}.wm-collaboration-file-entry>div,.wm-collaboration-identity>div{min-width:0}.wm-collaboration-file-entry strong,.wm-collaboration-identity strong{overflow-wrap:anywhere}.wm-collaboration-file-entry small,.wm-collaboration-identity small{display:block;color:var(--muted-foreground)}.wm-collaboration-avatar{flex-shrink:0;width:2.5rem;height:2.5rem}.wm-collaboration-avatar [data-slot=avatar-fallback]{background:var(--muted);color:var(--foreground);font-weight:600}.wm-collaboration-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.wm-collaboration button.workflow-ui-button{min-height:2.75rem}.wm-collaboration .wm-icon-button,.wm-collaboration button.workflow-ui-button[data-size=icon]{min-width:2.75rem;min-height:2.75rem}.wm-collaboration-form{display:grid;gap:1rem}.wm-collaboration-form label{display:grid;gap:.5rem}.wm-collaboration-form input,.wm-collaboration-form textarea{font-size:1rem}.wm-collaboration-error{color:var(--destructive);margin-top:.75rem}.wm-collaboration-dropzone{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;padding:1rem;border:1px dashed var(--border);border-radius:.75rem;background:var(--muted)}.wm-collaboration-dropzone.is-dragging{border-color:var(--ring)}.wm-collaboration-dropzone>div{flex:1;min-width:10rem}.wm-collaboration-dropzone p{color:var(--muted-foreground);margin:.25rem 0 0}.wm-collaboration-file-entry{margin-top:.75rem}.wm-collaboration-file-entry>div{flex:1}.wm-collaboration-upload-status{display:grid;gap:.5rem;margin-top:.75rem;font-size:.875rem}.wm-collaboration-upload{width:100%}.wm-collaboration-activity-list{list-style:none;margin:0;padding:0}.wm-collaboration-activity-row{display:flex;gap:.75rem;padding:1rem 0;border-bottom:1px solid var(--border)}.wm-collaboration-activity-row:first-child{padding-top:0}.wm-collaboration-activity-row:last-child{padding-bottom:0;border-bottom:0}.wm-collaboration-activity-copy{flex:1;min-width:0;overflow-wrap:anywhere}.wm-collaboration-activity-avatar{flex-shrink:0}.wm-collaboration-row-heading{display:flex;align-items:flex-start;flex-wrap:wrap;gap:.5rem}.wm-collaboration-row-heading h3{margin:0;font-size:1rem;line-height:1.5;font-weight:600}.wm-collaboration-activity-body{margin-top:.375rem}.wm-collaboration-row-meta{display:flex;flex-wrap:wrap;gap:.75rem;margin:.5rem 0;color:var(--muted-foreground);font-size:.8125rem}.wm-collaboration-empty{padding:1rem 0;color:var(--muted-foreground)}.wm-collaboration-chat-list{display:flex;flex-direction:column;gap:1rem;max-height:36rem;overflow-y:auto;padding:.25rem}.wm-collaboration-message{align-self:flex-start;max-width:min(85%,48rem);padding:1rem;border-radius:.75rem;background:var(--muted);overflow-wrap:anywhere}.wm-collaboration-message.is-mine{align-self:flex-end;background:var(--secondary)}.wm-collaboration-message>header{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}.wm-collaboration-message>header>div{flex:1;min-width:0}.wm-collaboration-message time{display:block;color:var(--muted-foreground);font-size:.75rem}.wm-collaboration-message-body{min-width:0}.wm-collaboration-message-body pre,.wm-collaboration-message-body table{max-width:100%;overflow-x:auto}.wm-collaboration-message .workflow-chat-copy{opacity:1}.wm-collaboration-chat-input{display:grid;gap:.75rem;margin-top:1.25rem}.wm-collaboration-chat-input-footer{display:flex;justify-content:space-between;align-items:flex-end;gap:.75rem}.wm-collaboration-skeleton-row{display:flex;gap:.75rem;margin-bottom:1rem}.wm-collaboration-skeleton-row>div{display:grid;flex:1;gap:.5rem}.wm-collaboration-stack{display:grid;gap:1.25rem}.wm-collaboration-table{min-width:38rem}.wm-collaboration-table small{display:block;color:var(--muted-foreground)}.wm-collaboration-permissions{display:flex;flex-wrap:wrap;gap:.75rem}.wm-collaboration-permissions label{display:flex;align-items:center;gap:.5rem;min-height:2.75rem}.wm-collaboration-profile-avatar{width:5rem;height:5rem}.wm-collaboration-branding-preview{width:10rem;height:6rem;border-radius:.75rem}.wm-collaboration-branding-preview [data-slot=avatar-image]{object-fit:cover}.wm-collaboration-branding-preview [data-slot=avatar-fallback]{border-radius:.75rem}.wm-collaboration-profile-card{display:grid;gap:1rem}.workflow-conversation-card{display:flex;flex-direction:column;width:100%;height:min(78dvh,900px);min-height:480px;overflow:hidden}.workflow-conversation-card>[data-slot=card-header]{flex:0 0 auto}.workflow-conversation-content,.workflow-conversation-layout{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;overflow:hidden}.workflow-conversation-load-older{flex:0 0 auto;align-self:center;margin:0 0 .5rem}.workflow-conversation-message-list{flex:1 1 auto;min-height:0;max-height:none;overscroll-behavior:contain;scrollbar-gutter:stable}.workflow-chat-composer-dock{position:relative;z-index:1;flex:0 0 auto;padding-top:.75rem;background:var(--app-card)}.workflow-chat-composer-dock>p[role=status]{margin:.45rem .25rem 0;color:var(--app-muted-foreground);font-size:.75rem}.workflow-chat-message-actions{display:inline-flex;align-items:center;gap:.125rem;margin-left:auto}.workflow-chat-forwarded,.workflow-chat-reference{display:grid;gap:.35rem;min-width:0;margin:.2rem 0;padding:.65rem .8rem;border:1px solid var(--border);border-inline-start:3px solid var(--primary);border-radius:.75rem;background:color-mix(in srgb,var(--muted) 68%,transparent)}.workflow-chat-forwarded>strong,.workflow-chat-reference>strong{color:var(--foreground);font-size:.78rem}.workflow-chat-reference>small{color:var(--muted-foreground);overflow-wrap:anywhere}.workflow-chat-forwarded>small{display:flex;align-items:center;gap:.35rem;color:var(--muted-foreground);font-size:.72rem}.workflow-chat-forwarded>small svg{width:.9rem;height:.9rem}.workflow-chat-composer-context{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.5rem;padding:.55rem .75rem;border:1px solid var(--border);border-inline-start:3px solid var(--primary);border-radius:.75rem;background:var(--muted)}.workflow-chat-composer-context>span{display:grid;min-width:0;gap:.2rem}.workflow-chat-composer-context strong{font-size:.78rem}.workflow-chat-composer-context small{overflow:hidden;color:var(--muted-foreground);text-overflow:ellipsis;white-space:nowrap}.workflow-markdown a{color:var(--app-primary);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;overflow-wrap:anywhere}.workflow-markdown a:focus-visible{border-radius:2px;outline:2px solid var(--app-primary);outline-offset:2px}.workflow-chat-composer-dock .wm-collaboration-chat-input{gap:.5rem;padding:.65rem;box-shadow:0 8px 24px color-mix(in srgb,var(--app-shadow-base) 10%,transparent)}.workflow-chat-composer-dock .wm-collaboration-chat-input-footer{align-items:center}@media (max-width:640px){.wm-collaboration-section-header{flex-direction:column;align-items:stretch}.workflow-conversation-card{height:auto;min-height:0;overflow:visible}.workflow-conversation-content{padding-inline:.75rem}.workflow-conversation-content,.workflow-conversation-layout{overflow:visible}.workflow-conversation-layout{flex:0 0 auto}.workflow-conversation-message-list{flex:0 1 auto;min-height:12rem;max-height:min(48dvh,420px);padding:.25rem 0}.workflow-chat-composer-dock{margin-bottom:0}.workflow-chat-composer-dock .wm-collaboration-chat-input{padding:.5rem}.workflow-chat-composer-dock .wm-collaboration-chat-input-footer{flex-direction:row;align-items:center;gap:.375rem;padding:.375rem}.workflow-chat-composer-dock .wm-collaboration-chat-input-footer>.wm-collaboration-actions{flex:1 1 auto;gap:.125rem}.workflow-chat-composer-dock .wm-collaboration-chat-input-footer>.ui-tooltip:last-child>button{width:2.75rem;min-width:2.75rem;padding-inline:0}.workflow-chat-composer-dock .wm-collaboration-chat-input-footer>.ui-tooltip:last-child>button span{display:none}.workflow-chat-message-actions{gap:0}.workflow-chat-message-actions .wm-icon-button{width:2.25rem;min-width:2.25rem}.workflow-chat-composer-dock .wm-collaboration-chat-input textarea{max-height:min(28dvh,160px)}.wm-collaboration-message{max-width:100%;width:100%}.wm-collaboration-activity-avatar .wm-collaboration-avatar{width:2rem;height:2rem}.wm-collaboration-file-entry{flex-wrap:wrap}.wm-collaboration input,.wm-collaboration textarea{font-size:1rem}}@media (prefers-reduced-motion:reduce){.wm-collaboration *,.wm-collaboration :after,.wm-collaboration :before{animation:none!important;transition-duration:0s!important;scroll-behavior:auto!important}}.wm-collaboration-attachment-composer{margin-block:12px;padding:12px;border:1px solid var(--border);border-radius:12px;min-width:0}.wm-collaboration-attachment-composer progress{width:100%;accent-color:var(--primary)}.wm-collaboration-private-preview{margin:12px 0;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--muted);min-width:0}.wm-collaboration-private-preview figcaption{overflow-wrap:anywhere;margin-bottom:8px}.wm-collaboration-private-preview img{display:block;max-width:100%;max-height:480px;object-fit:contain;border-radius:8px}.wm-collaboration-pdf canvas{display:block;max-width:100%;height:auto;border-radius:8px;background:#fff}.wm-collaboration-pdf canvas[hidden]{display:none}.wm-collaboration-pdf nav{align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:12px;gap:12px}.wm-collaboration-private-preview a{display:inline-block;margin-top:8px;text-decoration:underline}.wm-collaboration-attachment-composer audio,.wm-collaboration-private-preview audio{display:block;width:min(100%,520px);min-height:40px}.wm-collaboration-attachment-composer input[type=checkbox]{flex:0 0 auto;margin-top:3px;accent-color:var(--primary)}