.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-conversation-message-list .wm-collaboration-message[aria-busy=true]>[aria-hidden=true]{display:none}.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-message-reference{display:flex;align-items:flex-start;gap:.65rem;min-width:0;margin:.25rem 0 .75rem;padding:.7rem .8rem;border:1px solid color-mix(in srgb,currentColor 22%,transparent);border-inline-start:3px solid currentColor;border-radius:.7rem;background:color-mix(in srgb,currentColor 7%,transparent);color:inherit}.workflow-message-reference__icon{display:grid;flex:0 0 auto;place-items:center;width:1.65rem;height:1.65rem;border-radius:.45rem;background:color-mix(in srgb,currentColor 12%,transparent)}.workflow-message-reference__icon svg{width:1rem;height:1rem}.workflow-message-reference__copy{display:grid;flex:1;min-width:0;gap:.3rem}.workflow-message-reference__heading{font-size:.8rem;line-height:1.5;overflow-wrap:anywhere}.workflow-message-reference__heading strong{font-size:inherit;font-weight:700}.workflow-message-reference p.workflow-message-reference__excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0;color:inherit;font-size:.85rem;line-height:1.5;overflow-wrap:anywhere}.workflow-message-reference__file{display:flex;align-items:center;min-width:0;gap:.4rem;font-size:.78rem}.workflow-message-reference__file svg{width:1rem;height:1rem;flex-shrink:0}.workflow-message-reference__file>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.workflow-message-reference.is-forward:not(.is-composing){margin:0 0 .6rem;padding:0;border:0;background:none}.workflow-message-reference.is-composing{margin:0 0 .65rem;color:var(--app-foreground);background:var(--app-secondary);border-color:var(--app-card-border);border-inline-start-color:var(--app-primary)}.workflow-message-reference.is-composing>button{align-self:center}.workflow-message-reference.is-navigable{width:100%;text-align:start;font:inherit;cursor:pointer;transition:background .15s ease}.workflow-message-reference.is-navigable:hover{background:color-mix(in srgb,currentColor 12%,transparent)}.workflow-message-reference.is-navigable:focus-visible{outline:2px solid currentColor;outline-offset:3px}.workflow-message-anchor{display:block;height:0;outline:none}.wm-collaboration-message:has([data-message-highlighted=true]){outline:3px solid var(--app-primary);outline-offset:3px;box-shadow:0 0 0 6px color-mix(in srgb,var(--app-primary) 18%,transparent)}.workflow-message-navigation-status{display:flex;align-items:center;gap:.5rem;flex:0 0 auto;margin:.25rem 0;font-size:.85rem}.workflow-message-navigation-status svg{width:1rem;height:1rem}.workflow-chat-title-button{cursor:pointer;border-radius:.3rem}.workflow-chat-title-button:hover{text-decoration:underline;text-underline-offset:.2rem}.workflow-chat-profile-link:focus-visible,.workflow-chat-title-button:focus-visible{outline:2px solid var(--app-primary);outline-offset:3px}.workflow-chat-profile-link{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;flex-shrink:0;padding:.5rem .65rem;border:1px solid var(--app-card-border);border-radius:.6rem;background:var(--app-secondary);color:var(--app-foreground);font-size:.85rem;text-decoration:none;white-space:nowrap}.workflow-chat-profile-link svg{width:1.1rem;height:1.1rem}.workflow-shared-media{display:grid;gap:1rem;min-width:0;color:var(--app-foreground)}.workflow-shared-media__filters{display:flex;flex-wrap:wrap;gap:.4rem}.workflow-shared-media__filters span{font-size:.75rem;opacity:.8}.workflow-shared-media__search{display:flex;align-items:center;gap:.75rem;min-width:0}.workflow-shared-media__search>svg{width:1rem;height:1rem;flex-shrink:0;color:var(--app-muted-foreground);pointer-events:none}.workflow-shared-media__search input{flex:1;min-width:0}.workflow-shared-media__layout{display:flex;align-items:flex-start;gap:1rem;min-width:0}.workflow-shared-media__files{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:.65rem;flex:1 1 0;min-width:0;max-height:45dvh;overflow-y:auto;padding:.2rem}.workflow-shared-media__file{display:flex;align-items:center;gap:.75rem;text-align:start;min-width:0;padding:.85rem;border:1px solid var(--app-card-border);border-radius:.7rem;background:var(--app-secondary);color:var(--app-foreground);cursor:pointer}.workflow-shared-media__file:hover,.workflow-shared-media__file[aria-pressed=true]{border-color:var(--app-primary)}.workflow-shared-media__file:focus-visible{outline:2px solid var(--app-primary);outline-offset:1px}.workflow-shared-media__file>svg{width:1.5rem;height:1.5rem;flex-shrink:0}.workflow-shared-media__file>span{display:grid;gap:.3rem;min-width:0}.workflow-shared-media__file strong{font-size:.88rem;overflow-wrap:anywhere}.workflow-shared-media__file small,.workflow-shared-media__hint{font-size:.78rem;color:var(--app-muted-foreground);overflow-wrap:anywhere}.workflow-shared-media__preview{flex:1 1 0;min-width:0;max-height:55dvh;overflow-y:auto}.workflow-shared-media__preview img{max-height:32dvh;object-fit:contain}.workflow-shared-media__empty{padding:1rem;border:1px dashed var(--app-card-border);border-radius:.75rem}@media (max-width:640px){.workflow-chat-profile-link span{display:none}.workflow-shared-media__layout{flex-direction:column}.workflow-shared-media__files,.workflow-shared-media__preview{width:100%;flex-basis:auto}.workflow-shared-media__files{max-height:25dvh}}.workflow-chat-forwarded-content{min-width:0}.workflow-chat-media-dialog{display:grid;gap:1rem;min-width:0}.workflow-chat-media-caption{display:grid;gap:.5rem;font-size:.9rem;font-weight:600}.workflow-chat-media-caption>span{color:var(--app-muted-foreground);font-size:.75rem;font-weight:400}.workflow-chat-media-dialog .workflow-chat-media-content{margin:0;padding:0;border:0}.workflow-chat-media-dialog .workflow-chat-media-preview{display:grid;justify-items:center;gap:.65rem;padding:.75rem;background:var(--app-secondary)}.workflow-chat-media-dialog .workflow-chat-media-preview img{max-height:min(36dvh,300px);width:auto}.workflow-chat-media-dialog .wm-collaboration-actions{justify-content:flex-end;gap:.65rem;padding-top:.5rem}.workflow-chat-voice__status{display:flex;align-items:center;gap:1rem;padding:1rem;border:1px solid var(--app-card-border);border-radius:.9rem;background:var(--app-secondary)}.workflow-chat-voice__status>div{display:grid;gap:.4rem;min-width:0}.workflow-chat-voice__status strong{color:var(--app-foreground);font-size:1.2rem;font-variant-numeric:tabular-nums}.workflow-chat-voice__status [role=status]{color:var(--app-muted-foreground);font-size:.85rem;line-height:1.5}.workflow-chat-voice__icon{display:grid;flex:0 0 auto;place-items:center;width:3rem;height:3rem;border:1px solid var(--app-card-border);border-radius:50%;color:var(--app-primary);background:var(--app-card)}.workflow-chat-voice__icon svg{width:1.3rem;height:1.3rem}.workflow-chat-voice__status.is-recording .workflow-chat-voice__icon{color:var(--app-danger);border-color:var(--app-danger)}.workflow-chat-voice__consent{display:flex;align-items:flex-start;gap:.65rem;padding:.8rem;border:1px solid var(--app-card-border);border-radius:.75rem;font-size:.85rem;line-height:1.6}.workflow-chat-voice__consent>[data-slot=checkbox]{flex:0 0 auto;width:1rem;height:1rem;min-height:1rem;margin-top:.2rem}.workflow-chat-voice>p{margin:0;color:var(--app-muted-foreground);font-size:.78rem;line-height:1.6}.workflow-assistant-progress{display:grid;gap:.75rem;max-width:42rem;padding:.85rem 1rem;border:1px solid var(--border);border-radius:.9rem;background:color-mix(in srgb,var(--muted) 62%,var(--background))}.workflow-assistant-progress-heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.workflow-assistant-progress-status{display:inline-flex;align-items:center;gap:.55rem;color:var(--foreground);font-size:.85rem;font-weight:650}.workflow-assistant-progress-spinner{width:1rem;height:1rem;flex:0 0 auto;color:var(--primary);animation:workflow-assistant-spin 1s linear infinite}.workflow-assistant-progress-steps{display:grid;gap:.45rem;margin:0;padding:0;list-style:none}.workflow-assistant-progress-steps li{display:flex;align-items:center;gap:.55rem;color:var(--muted-foreground);font-size:.75rem;line-height:1.4}.workflow-assistant-progress-steps li>span:first-child{width:1.2rem;height:1.2rem;display:grid;flex:0 0 auto;place-items:center;border:1px solid var(--border);border-radius:50%}.workflow-assistant-progress-steps li>span:first-child svg{width:.72rem;height:.72rem}.workflow-assistant-progress-steps li.is-current{color:var(--foreground);font-weight:600}.workflow-assistant-progress-steps li.is-current>span:first-child{border-color:var(--primary)}.workflow-assistant-progress-steps li.is-complete{color:var(--muted-foreground)}.workflow-assistant-progress-steps li.is-complete>span:first-child{color:var(--primary-foreground);border-color:var(--primary);background:var(--primary)}.workflow-assistant-sources{display:grid;gap:.45rem;margin-top:.55rem;padding-top:.65rem;border-top:1px solid var(--border)}.workflow-assistant-sources>strong{color:var(--muted-foreground);font-size:.72rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.workflow-assistant-sources ul{display:flex;flex-wrap:wrap;gap:.4rem;margin:0;padding:0;list-style:none}.workflow-assistant-sources a{min-width:0;display:inline-flex;align-items:center;gap:.4rem;max-width:100%;padding:.38rem .55rem;border:1px solid var(--border);border-radius:.65rem;color:var(--foreground);background:var(--background);font-size:.76rem;text-decoration:none}.workflow-assistant-sources a:hover{border-color:var(--primary);color:var(--primary)}.workflow-assistant-sources a svg{width:.85rem;height:.85rem;flex:0 0 auto}.workflow-assistant-sources a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes workflow-assistant-spin{to{transform:rotate(1turn)}}.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)}