[data-viddel-chat] .viddel-chat-attach__compose{align-items:stretch;display:flex;flex-direction:column;gap:.4rem}.viddel-chat-attach__attachment-strip{display:flex;justify-content:flex-start;width:100%}.viddel-chat-attach__attachment-strip.hidden{display:none}.viddel-chat-attach__attachment-list{display:flex;flex-wrap:wrap;gap:.45rem;justify-content:flex-start}.viddel-chat-attach__compose-row{align-items:center;display:grid;gap:.55rem;grid-template-columns:auto minmax(0,1fr) auto;width:100%}.viddel-chat-attach__compose .inline-chat-shell__compose-input{scrollbar-color:rgb(var(--composer-ink-secondary) / .4) transparent;scrollbar-width:thin}.viddel-chat-attach__compose:has(.inline-chat-shell__compose-input[data-chat-input-expanded]) .viddel-chat-attach__compose-row{grid-template-areas:"text text text" "attach . send";row-gap:.3rem}.viddel-chat-attach__compose:has(.inline-chat-shell__compose-input[data-chat-input-expanded]) .viddel-chat-attach__compose-input-wrap{grid-area:text}.viddel-chat-attach__compose:has(.inline-chat-shell__compose-input[data-chat-input-expanded]) .viddel-chat-attach__attach-wrap{grid-area:attach}.viddel-chat-attach__compose:has(.inline-chat-shell__compose-input[data-chat-input-expanded]) .inline-chat-shell__compose-send{grid-area:send}.viddel-chat-attach__compose:has(.inline-chat-shell__compose-input[data-chat-input-expanded]) .inline-chat-shell__compose-input{padding-left:.6rem}@media(min-width:641px){.viddel-chat-attach__compose:has(.inline-chat-shell__compose-input[data-chat-input-expanded]) .viddel-chat-attach__compose-row{grid-template-areas:"attach text send"}.viddel-chat-attach__compose:has(.inline-chat-shell__compose-input[data-chat-input-expanded]) .inline-chat-shell__compose-input{padding-left:0}}.viddel-chat-attach__attach-wrap{flex-shrink:0;position:relative}.viddel-chat-attach__attach{align-items:center;background:rgb(var(--surface-subtle) / .9);border:1px solid rgb(var(--border) / .45);border-radius:999px;color:rgb(var(--reading-ink-secondary));cursor:pointer;display:inline-flex;flex-shrink:0;height:2.35rem;justify-content:center;min-height:2.35rem;touch-action:manipulation;width:2.35rem}.viddel-chat-attach__attach:focus-visible{outline:2px solid rgb(var(--reading-accent-iris) / .42);outline-offset:2px}.viddel-chat-attach__attach svg{display:block;height:1.15rem;width:1.15rem}.viddel-chat-attach__attach-layer{inset:0;pointer-events:none;position:fixed;z-index:100}.viddel-chat-attach__attach-layer:not(.hidden){pointer-events:auto}.viddel-chat-attach__attach-layer.hidden{display:none;pointer-events:none;visibility:hidden}.viddel-chat-attach__attach-menu-backdrop{background:#0f172a47;inset:0;opacity:1;pointer-events:auto;position:fixed;visibility:visible;z-index:1}.viddel-chat-attach__attach-menu{background:rgb(var(--surface-elevated, var(--surface)));border:1px solid rgb(var(--border) / .42);border-radius:.85rem;box-shadow:0 10px 28px #0f172a1f;display:grid;gap:.2rem;left:0;min-width:10.5rem;opacity:1;padding:.35rem;pointer-events:auto;position:fixed;top:0;visibility:visible;z-index:2}.viddel-chat-attach__attach-menu.hidden,.viddel-chat-attach__attach-menu-backdrop.hidden{display:none;pointer-events:none;visibility:hidden}.viddel-chat-attach__attach-menu-item{background:transparent;border:0;border-radius:.6rem;color:rgb(var(--reading-ink));cursor:pointer;font:inherit;font-size:.92rem;padding:.55rem .7rem;text-align:start;width:100%}.viddel-chat-attach__attach-menu-item-content{align-items:center;display:inline-flex;gap:.55rem;width:100%}.viddel-chat-attach__attach-menu-chevron{color:rgb(var(--reading-ink-secondary));font-size:1.2rem;line-height:1;margin-left:auto}.viddel-chat-attach__attach-menu-back{align-items:center;background:transparent;border:0;color:rgb(var(--reading-ink-secondary));cursor:pointer;display:flex;font:inherit;font-size:.78rem;gap:.35rem;padding:.35rem .5rem .45rem;text-align:left;width:100%}.viddel-chat-attach__question-list{display:grid;gap:.2rem;list-style:none;margin:0;padding:0;width:min(20rem,calc(100vw - 2rem))}.viddel-chat-attach__question-item{background:transparent;border:0;border-radius:.6rem;color:rgb(var(--reading-ink));cursor:pointer;font:inherit;font-size:.8rem;line-height:1.4;padding:.55rem .7rem;text-align:left;width:100%}.viddel-chat-attach__question-item:hover{background:rgb(var(--surface-subtle) / .95)}.viddel-chat-attach__attach-menu-back:focus-visible,.viddel-chat-attach__question-item:focus-visible{outline:2px solid rgb(var(--reading-accent-iris) / .42);outline-offset:1px}.viddel-chat-attach__attach-menu-icon{color:rgb(var(--reading-ink-secondary));display:block;flex-shrink:0;height:1.15rem;width:1.15rem}.viddel-chat-attach__attach-menu-item:hover{background:rgb(var(--surface-subtle) / .95)}.viddel-chat-attach__attach-menu-item:focus-visible{outline:2px solid rgb(var(--reading-accent-iris) / .42);outline-offset:1px}@media(min-width:640px){.viddel-chat-attach__attach-layer:not(.hidden){pointer-events:none}.viddel-chat-attach__attach-menu{pointer-events:auto}.viddel-chat-attach__attach-menu-backdrop{display:none!important}.viddel-chat-attach__attach-menu-item--camera,.viddel-chat-attach__attach-menu-label--mobile{display:none}}@media(max-width:639px){.viddel-chat-attach__menu--sheet{border-radius:1rem;bottom:var(--viddel-chat-attach-sheet-bottom, 8rem);box-shadow:0 14px 38px #0f172a2e;left:1rem;margin:0 auto;max-width:none;min-width:0;padding:.45rem;right:1rem;top:auto;transform:none;width:auto;z-index:2}.viddel-chat-attach__attach-menu-label--desktop{display:none}.viddel-chat-attach__attach-menu-item{font-size:.95rem;padding:.7rem .8rem}.viddel-chat-attach__question-list{width:auto}}[data-viddel-chat] .viddel-chat-attach__compose-input-wrap{display:grid;min-width:0;overflow:hidden;position:relative;width:100%}[data-viddel-chat] .viddel-chat-attach__compose-input-wrap>.inline-chat-shell__compose-input{grid-area:1 / 1;width:100%}[data-viddel-chat] .inline-chat-shell[data-inline-chat-conversation=idle] .viddel-chat-attach__compose{overflow:hidden}[data-viddel-chat] .inline-chat-shell[data-inline-chat-conversation=idle] .viddel-chat-attach__compose .inline-chat-shell__compose-input{max-height:2.35rem;overflow:hidden}[data-viddel-chat] .inline-chat-shell[data-inline-chat-conversation=idle] .viddel-chat-attach__compose .inline-chat-shell__compose-input[data-chat-input-expanded]{max-height:min(9rem,32vh);overflow-y:auto}[data-viddel-chat] .inline-chat-shell[data-inline-chat-conversation=idle]:not(:has(.viddel-chat-attach__attachment-strip:not(.hidden))) .viddel-chat-attach__compose .inline-chat-shell__compose-input{overflow-y:hidden}[data-viddel-chat] .viddel-chat-attach__compose .inline-chat-shell__compose-input:not([data-chat-input-expanded]){overflow-y:hidden}[data-viddel-chat] .viddel-chat-attach__compose .inline-chat-shell__compose-input[data-chat-input-expanded]{max-height:min(9rem,32vh);overflow-y:auto}.viddel-chat-attach__attachment{display:block;flex-shrink:0;margin:0;position:relative;width:3.35rem}.viddel-chat-attach__thumb{border:1px solid rgb(var(--border) / .45);border-radius:999px;display:block;height:2.15rem;object-fit:cover;width:3.35rem}.viddel-chat-attach__remove-attachment{align-items:center;background:#0f172ae0;border:0;border-radius:999px;color:#fff;cursor:pointer;display:inline-flex;font-size:.72rem;font-weight:700;height:1.25rem;justify-content:center;line-height:1;position:absolute;right:-.3rem;top:-.3rem;width:1.25rem}.viddel-chat-attach__remove-attachment:focus-visible{outline:2px solid rgb(var(--reading-accent-iris) / .42);outline-offset:2px}.viddel-chat-attach__user-turn{align-items:flex-end;display:flex;flex-direction:column;gap:.35rem;margin-left:auto;width:var(--r1-ai-user-measure, min(100%, 28rem))}.viddel-chat-attach__user-turn .inline-chat-shell__message--user{margin-left:0;width:100%}.viddel-chat-attach__message-thumb{border:1px solid rgb(var(--border) / .4);border-radius:.55rem;display:block;flex-shrink:0;height:3.25rem;object-fit:cover;width:3.25rem}.inline-chat-shell[data-inline-chat-mode=progressive] .viddel-chat-attach__compose-row .inline-chat-shell__compose-send{align-self:flex-end}@media(max-width:639px){.inline-chat-shell[data-inline-chat-mode=progressive] .viddel-chat-attach__compose-row .inline-chat-shell__compose-send,.inline-chat-shell[data-inline-chat-mode=progressive] .viddel-chat-attach__attach{height:2.68rem;min-height:2.68rem;width:2.68rem}}.viddel-chat-standalone__mvp-note{color:rgb(var(--reading-ink-secondary));font-size:.78rem;line-height:1.4;margin-top:.55rem}[data-viddel-chat] .viddel-chat-attach__wait-dots{align-items:center;align-self:center;color:#3672e6;display:none;gap:.28rem;grid-area:1 / 1;height:1.5rem;justify-self:start;padding-left:.15rem;pointer-events:none;z-index:1}[data-viddel-chat] [data-chat-waiting] .viddel-chat-attach__wait-dots{display:inline-flex}[data-viddel-chat] [data-chat-waiting] .inline-chat-shell__compose-input::placeholder{color:transparent}[data-viddel-chat] .viddel-chat-attach__wait-dots span{animation:viddel-chat-wait-signal 1.1s ease-in-out infinite;background:currentColor;border-radius:999px;display:block;height:1.5rem;transform:scaleY(.3);width:.34rem}[data-viddel-chat] .viddel-chat-attach__wait-dots span:nth-child(2){animation-delay:.16s}[data-viddel-chat] .viddel-chat-attach__wait-dots span:nth-child(3){animation-delay:.32s}@keyframes viddel-chat-wait-signal{0%,to{transform:scaleY(.3);opacity:.55}45%{transform:scaleY(1);opacity:1}}@media(prefers-reduced-motion:reduce){[data-viddel-chat] .viddel-chat-attach__wait-dots span{animation:none;transform:scaleY(.6)}[data-viddel-chat] .viddel-chat-attach__wait-dots span:nth-child(2){transform:scaleY(1)}}
