.attachment-preview-wrap{position:relative;width:100%}.attachment-preview{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:10px 2px 6px}.attachment-preview::-webkit-scrollbar{display:none}.attachment-preview{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 0,#000 100%,transparent 0);mask-image:linear-gradient(90deg,transparent 0,#000 0,#000 100%,transparent 0)}.attachment-preview.is-scrolled{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 100%,transparent 0);mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 100%,transparent 0)}.attachment-preview.has-overflow{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 0,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 0,#000 calc(100% - 28px),transparent)}.attachment-preview.is-scrolled.has-overflow{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 calc(100% - 28px),transparent)}.attachment-preview--compact{gap:6px}.attachment-preview>*{flex-shrink:0}.attachment-preview__chip{display:flex;align-items:center;flex-shrink:0;overflow:visible}.attachment-preview__nav{position:absolute;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:24px;height:24px;background:#fff;border:1px solid #e5e5e5;border-radius:50%;color:#555;cursor:pointer;padding:0;z-index:3;box-shadow:0 1px 3px rgba(0,0,0,.08);transition:background .15s ease,color .15s ease,transform .15s ease}.attachment-preview__nav:hover{background:#f8f8f7;color:#111;transform:translateY(-50%) scale(1.05)}.attachment-preview__nav--left{left:-8px}.attachment-preview__nav--right{right:-8px}.attachment-card{position:relative;display:flex;align-items:center;gap:10px;height:48px;padding:6px 14px 6px 6px;background:#f5f5f4;border:none;border-radius:12px;cursor:default;transition:background .15s ease;font-family:Google Sans,-apple-system,BlinkMacSystemFont,sans-serif}.attachment-card:hover{background:#eeeeec}.attachment-card:hover .attachment-card__remove{opacity:1}.attachment-card--compact{height:40px;padding:4px 11px 4px 4px;gap:8px;border-radius:10px}.attachment-card__icon{position:relative;width:32px;height:36px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.attachment-card--compact .attachment-card__icon{width:28px;height:32px}.attachment-card__icon-page{width:100%;height:100%;display:block;filter:drop-shadow(0 1px 1px rgba(0,0,0,.04))}.attachment-card__icon-tag{position:absolute;left:50%;bottom:5px;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;height:11px;min-width:20px;padding:0 4px;border-radius:3px;font-size:7px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;line-height:1;box-shadow:0 1px 2px rgba(0,0,0,.12)}.attachment-card--compact .attachment-card__icon-tag{height:10px;min-width:18px;padding:0 3px;border-radius:2.5px;font-size:6.5px;bottom:4px}.attachment-card__meta{display:flex;flex-direction:column;gap:2px;min-width:0;max-width:140px}.attachment-card__name{font-size:12px;font-weight:500;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}.attachment-card--compact .attachment-card__name{font-size:11px;max-width:110px}.attachment-card__type{font-size:10px;font-weight:500;color:#9ca3af;text-transform:uppercase;letter-spacing:.04em;line-height:1}.attachment-card--compact .attachment-card__type{font-size:9px}.attachment-card--image{width:48px;height:48px;padding:0;border-radius:12px;overflow:visible}.attachment-card--image,.attachment-card--image:hover{background:rgba(0,0,0,0)}.attachment-card--image.attachment-card--compact{width:40px;height:40px;border-radius:10px}.attachment-card__thumb{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit;background:#f5f5f4}.attachment-card__remove{position:absolute;top:-6px;right:-6px;width:18px;height:18px;display:flex;align-items:center;justify-content:center;background:#1d1d1f;color:#fff;border:1.5px solid #fff;border-radius:50%;cursor:pointer;opacity:0;transition:opacity .15s ease,transform .15s ease,background .15s ease;padding:0;box-shadow:0 1px 3px rgba(0,0,0,.12);z-index:2}.attachment-card__remove:hover{background:#000;transform:scale(1.08)}.attachment-card--compact .attachment-card__remove{width:16px;height:16px;top:-5px;right:-5px}.attachment-card--image .attachment-card__remove{opacity:1}.skill-attachment{position:relative;display:flex;align-items:center;gap:8px;height:40px;padding:0 10px 0 52px;background:#f9fafb;border:none;border-radius:10px;transition:all .2s ease;cursor:default}.attachment-preview--default .skill-attachment{border:1px solid #e5e7eb}.attachment-preview--default .skill-attachment:hover{border-color:#d1d5db}.skill-attachment:hover{background:#f3f4f6}.skill-attachment:hover .skill-attachment__remove{opacity:1}.skill-attachment:hover .skill-attachment__card--1{transform:rotate(-12deg) translateY(-1px)}.skill-attachment:hover .skill-attachment__card--2{transform:rotate(-4deg)}.skill-attachment:hover .skill-attachment__card--3{transform:rotate(8deg) translateY(-1px)}.skill-attachment--memory{background:linear-gradient(135deg,#faf5ff,#f9fafb)}.attachment-preview--default .skill-attachment--memory{border-color:#e9d5ff}.attachment-preview--default .skill-attachment--memory:hover{border-color:#d8b4fe}.skill-attachment__cards{position:absolute;left:8px;top:50%;transform:translateY(-50%);width:40px;height:28px;display:flex;justify-content:center;align-items:center}.skill-attachment__title{font-size:12px;font-weight:500;color:#374151;white-space:nowrap;max-width:100px;overflow:hidden;text-overflow:ellipsis}.skill-attachment__logo{width:100%;height:100%;object-fit:contain;opacity:.85}.skill-attachment__card{position:absolute;width:20px;height:24px;background:#fff;border-radius:4px;border:1px solid rgba(0,0,0,.08);box-shadow:0 1px 3px rgba(0,0,0,.04);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:3px;transition:transform .25s cubic-bezier(.34,1.56,.64,1);overflow:hidden}.skill-attachment__card--1{transform:rotate(-8deg);z-index:1;left:0}.skill-attachment__card--2{transform:rotate(-2deg);z-index:2;left:9px}.skill-attachment__card--3{transform:rotate(5deg);z-index:3;left:18px}.skill-attachment__card--logo{z-index:10;box-shadow:0 2px 6px rgba(0,0,0,.08)}.mini-line{height:2px;background:#e5e7eb;border-radius:1px}.mini-line.w-100{width:100%}.mini-line.w-75{width:75%}.mini-line.w-66{width:66%}.mini-line.w-50{width:50%}.mini-line.w-33{width:33%}.mini-line.indent{margin-left:3px}.mini-line-row{display:flex;align-items:center;gap:2px}.mini-dot{width:2px;height:2px;background:#d1d5db;border-radius:50%;flex-shrink:0}.skill-attachment__remove{position:absolute;top:-6px;right:-6px;display:flex;align-items:center;justify-content:center;width:16px;height:16px;background:#1d1d1f;border:1.5px solid #fff;border-radius:50%;color:#fff;cursor:pointer;opacity:0;transition:all .15s ease;padding:0;box-shadow:0 1px 3px rgba(0,0,0,.1)}.skill-attachment__remove:hover{background:#000;transform:scale(1.1)}.attach-popover{position:absolute;width:max-content;max-width:calc(100vw - 32px);background:hsla(0,0%,100%,.8509803922);border:1px solid rgba(0,0,0,.06);border-radius:12px;max-height:280px;display:flex;flex-direction:column;box-shadow:0 0 0 1px rgba(0,0,0,.02),0 1px 3px rgba(0,0,0,.03),0 6px 16px rgba(0,0,0,.05);animation:attachPopIn .2s cubic-bezier(.16,1,.3,1);font-family:Google Sans,-apple-system,sans-serif;z-index:1000;backdrop-filter:blur(12px)}.attach-modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.25);backdrop-filter:blur(4px);z-index:9999;display:flex;align-items:center;justify-content:center;animation:attachBackdropIn .18s ease}@keyframes attachBackdropIn{0%{opacity:0}to{opacity:1}}.attach-modal{background:#fff;border-radius:18px;width:450px;max-height:70vh;display:flex;flex-direction:column;box-shadow:0 0 0 1px rgba(0,0,0,.04),0 8px 40px rgba(0,0,0,.12),0 2px 8px rgba(0,0,0,.06);animation:attachModalIn .25s cubic-bezier(.16,1,.3,1);overflow:hidden;font-family:Google Sans,-apple-system,sans-serif}.attach-modal .attach-popover__tabs{padding:9px 9px 7px;border-bottom:1px solid rgba(0,0,0,.06);animation:attachItemSlide .3s cubic-bezier(.16,1,.3,1) .05s both}.attach-modal .attach-popover__tab{padding:6px 12px;font-size:13px}.attach-modal .attach-popover__footer{padding:9px 13px;animation:attachItemSlide .3s cubic-bezier(.16,1,.3,1) .15s both}.attach-modal__list{max-height:370px;padding:7px;animation:attachItemSlide .35s cubic-bezier(.16,1,.3,1) .08s both}.attach-modal__list .attach-popover__item{padding:9px 10px;animation:attachItemFade .3s cubic-bezier(.16,1,.3,1) both}.attach-modal__list .attach-popover__item:first-child{animation-delay:.1s}.attach-modal__list .attach-popover__item:nth-child(2){animation-delay:.13s}.attach-modal__list .attach-popover__item:nth-child(3){animation-delay:.16s}.attach-modal__list .attach-popover__item:nth-child(4){animation-delay:.19s}.attach-modal__list .attach-popover__item:nth-child(5){animation-delay:.22s}.attach-modal__list .attach-popover__item:nth-child(6){animation-delay:.25s}.attach-modal__list .attach-popover__item:nth-child(7){animation-delay:.28s}.attach-modal__list .attach-popover__item:nth-child(8){animation-delay:.31s}@keyframes attachModalIn{0%{opacity:0;transform:scale(.95) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes attachItemSlide{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes attachItemFade{0%{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}@keyframes attachPopIn{0%{opacity:0;transform:translateY(-6px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes attachPopInTop{0%{opacity:0;transform:translateY(6px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.attach-popover--top{animation-name:attachPopInTop}.attach-popover__tabs{display:flex;align-items:center;gap:1px;padding:2px 6px;border-bottom:1px solid rgba(0,0,0,.04)}.attach-popover__tab{display:flex;align-items:center;gap:3px;padding:6px 8px;border-radius:7px;border:none;background:rgba(0,0,0,0);cursor:pointer;font-size:11.5px;font-weight:500;color:#78716c;font-family:inherit;white-space:nowrap;flex-shrink:0;transition:background .12s ease,color .12s ease}.attach-popover__tab:hover{background:#f7f7f6;color:#57534e}.attach-popover__tab--active{background:#f5f5f4;color:#1a1a1a;font-weight:600}.attach-popover__tab-count{font-size:10px;font-weight:600;color:#a8a29e;background:rgba(0,0,0,.04);padding:1px 6px;border-radius:50px;min-width:14px;text-align:center}.attach-popover__tab--active .attach-popover__tab-count{color:#57534e;background:rgba(0,0,0,.06)}.attach-popover__list{flex:1;overflow-y:auto;overflow-x:hidden;padding:3px;min-height:40px;width:0;min-width:100%;box-sizing:border-box;scrollbar-width:none;-ms-overflow-style:none}.attach-popover__list::-webkit-scrollbar{display:none}.attach-popover__item{display:flex;align-items:center;gap:9px;padding:7px 9px;border-radius:9px;cursor:pointer;transition:background .12s ease}.attach-popover__item--focused,.attach-popover__item:hover{background:#f5f5f4}.attach-popover__item:active{background:#efefee}.attach-popover__item--selected{background:#f5f5f4}.attach-popover__item--selected.attach-popover__item--focused,.attach-popover__item--selected:hover{background:#efefee}.attach-popover__item-icon{width:26px;height:26px;border-radius:7px;background:rgba(0,0,0,.03);display:flex;align-items:center;justify-content:center;flex-shrink:0}.attach-popover__item--selected .attach-popover__item-icon{background:rgba(0,0,0,.05)}.attach-popover__item-icon--agent{width:26px;height:26px;border-radius:7px;background:none}.attach-popover__agent-avatar{width:26px;height:26px;border-radius:7px;object-fit:cover}.attach-popover__integration-logo{width:18px;height:18px;border-radius:4px;object-fit:contain}.attach-popover__item-content{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.attach-popover__item-title{font-size:13px;font-weight:500;color:#57534e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;gap:5px;transition:color .12s ease;line-height:1.3}.attach-popover__item--selected .attach-popover__item-title,.attach-popover__item:hover .attach-popover__item-title{color:#1a1a1a;font-weight:600}.attach-popover__enabled-dot{width:4px;height:4px;border-radius:50%;background:#4ade80;flex-shrink:0}.attach-popover__item-meta{font-size:11px;font-weight:400;color:#a8a29e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}.attach-popover__item-badge{font-size:10.5px;font-weight:600;padding:2px 8px;border-radius:50px;background:rgba(0,0,0,.03);flex-shrink:0;letter-spacing:.2px;color:#78716c;text-transform:uppercase}.attach-popover__item--selected .attach-popover__item-badge{color:#57534e;background:rgba(0,0,0,.05)}.attach-popover__item-check{color:#8b5cf6;flex-shrink:0}.attach-popover__loading{display:flex;flex-direction:column;gap:4px;padding:4px}.attach-popover__skeleton{height:38px;border-radius:9px;background:linear-gradient(90deg,rgba(0,0,0,.02) 25%,rgba(0,0,0,.04) 50%,rgba(0,0,0,.02) 75%);background-size:200% 100%;animation:shimmer 1.5s infinite}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.attach-popover__empty{padding:14px 10px;text-align:center;font-size:11px;color:#a8a29e}.attach-popover__footer{display:flex;align-items:center;justify-content:center;gap:8px;padding:6px 10px;border-top:1px solid rgba(0,0,0,.04);width:0;min-width:100%;box-sizing:border-box;flex-wrap:wrap}.attach-popover__footer span{font-size:10.5px;color:#a8a29e;display:flex;align-items:center;gap:3px}.attach-popover__footer kbd{font-size:9.5px;font-weight:500;color:#78716c;background:rgba(0,0,0,.03);padding:1px 4px;border-radius:4px;font-family:SF Mono,Fira Code,monospace;border:1px solid rgba(0,0,0,.04)}.attach-popover__create-row{display:flex;align-items:center;justify-content:center;gap:5px;padding:5px 0;margin:6px 8px 4px;border-radius:6px;border:1px dashed #d6d3d1;cursor:pointer;text-decoration:none;color:#a8a29e;transition:border-color .15s ease,background .15s ease,color .15s ease}.attach-popover__create-row:hover{border-color:#a8a29e;background:rgba(0,0,0,.015);color:#78716c}.attach-popover__create-row span{font-size:12px;font-weight:500}