:is(html:has([data-mobile-agent-create]),body:has([data-mobile-agent-create])){overscroll-behavior:none;overflow:hidden}[data-mobile-agent-create]{--agent-canvas:#080809;--agent-lime:#d1fe17;--agent-composer-bottom:max(8px, env(safe-area-inset-bottom,0px));inset:var(--agent-viewport-top,0px) 0 auto;height:var(--agent-viewport-height,100dvh);width:100%;min-height:0;padding-top:env(safe-area-inset-top);background:var(--agent-canvas);color:#fff;font-family:var(--font-sans);flex-direction:column;font-size:16px;line-height:24px;display:flex;position:fixed;overflow:hidden}[data-mobile-agent-create] button,[data-mobile-agent-create] a,[data-mobile-agent-create] textarea{-webkit-tap-highlight-color:transparent}.mobile-agent-content{width:100%;min-height:0;padding-bottom:calc(var(--agent-composer-height,100px) + var(--agent-composer-bottom));flex-direction:column;flex:1;display:flex;position:relative;overflow:hidden}.mobile-agent-composer-anchor{inset:auto 0 var(--agent-composer-bottom);z-index:30;background:0 0;width:100%;padding:0 16px;position:absolute}.mobile-agent-composer-anchor:before{inset:0 0 calc(-1 * var(--agent-composer-bottom));z-index:-1;pointer-events:none;content:"";background:linear-gradient(to bottom, transparent, var(--agent-canvas));position:absolute}.mobile-agent-history{flex:1;min-width:0;min-height:0;position:relative;overflow:hidden}.mobile-agent-history-scroll{overscroll-behavior-y:contain;scrollbar-width:none;position:absolute;inset:0;overflow:hidden auto}.mobile-agent-history-scroll::-webkit-scrollbar{display:none}.mobile-agent-history-error{text-align:center;color:#fff9;flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:100%;padding:24px;display:flex}.mobile-agent-history-error button{color:#fff;background:#ffffff1a;border-radius:999px;padding:8px 16px}.mobile-agent-history-fade{z-index:10;pointer-events:none;height:24px;position:absolute;inset-inline:0}.mobile-agent-history-fade[data-edge=top]{background:linear-gradient(to bottom, var(--agent-canvas), transparent);top:0}.mobile-agent-history-fade[data-edge=bottom]{background:linear-gradient(to top, var(--agent-canvas), transparent);bottom:0}.mobile-agent-history-list{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;align-items:start;gap:2px;width:100%;min-width:0;display:grid}.mobile-agent-history-card{aspect-ratio:1;background:0 0;border-radius:0;min-width:0;position:relative;overflow:hidden}.mobile-agent-history-image{background:#ffffff0d;position:absolute;inset:0;overflow:hidden}.mobile-agent-history-image img,.mobile-agent-history-image video{object-fit:cover;width:100%;height:100%;display:block}.mobile-agent-history-media-open{cursor:pointer;background:0 0;border:0;width:100%;height:100%;padding:0;display:block;position:absolute;inset:0}.mobile-agent-history-media-open:focus-visible{outline:2px solid var(--agent-lime);outline-offset:-2px}.mobile-agent-history-play{color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);pointer-events:none;z-index:2;background:#0006;border-radius:999px;justify-content:center;align-items:center;width:28px;height:28px;display:flex;position:absolute;bottom:8px;right:8px}.mobile-agent-failure-card{background:#ffffff0d;border-radius:0}.mobile-agent-failure-card-content{pointer-events:none;padding:12px}.mobile-agent-failure-status{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);height:24px;min-width:24px!important;min-height:24px!important;box-shadow:none!important;background:#ffffff1a!important;gap:4px!important;padding:0 6px!important;font-size:12px!important;line-height:16px!important}.mobile-agent-failure-status>span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden;display:block!important}.mobile-agent-failure-dialog-backdrop{z-index:3000;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);background:#000000b8;position:fixed;inset:0}.mobile-agent-failure-dialog{z-index:3001;color:#fff;background:#17191a;border:1px solid #ffffff14;border-radius:16px;outline:none;width:min(320px,100vw - 48px);padding:20px 16px 12px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 18px 60px #00000073}.mobile-agent-failure-dialog-title{margin:0;font-size:16px;font-weight:600;line-height:24px}.mobile-agent-failure-dialog-message{color:#ffffffeb;margin:20px 0 8px;font-size:14px;font-weight:600;line-height:20px}.mobile-agent-failure-dialog-actions{flex-direction:column;display:flex}.mobile-agent-failure-dialog-actions button{color:#fff;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;min-height:48px;font-size:14px;font-weight:600;line-height:20px;display:flex}.mobile-agent-failure-dialog-actions button:hover{background:#ffffff14}.mobile-agent-failure-card-open{transition:background-color .15s}.mobile-agent-failure-card-open:hover{background:#ffffff0a}.mobile-agent-failure-card-refunded{color:#ffffffc7;text-shadow:0 1px 8px #00000080;width:80px;font-size:12px;line-height:16px;position:absolute;bottom:12px;left:12px}.mobile-agent-composer{-webkit-backdrop-filter:blur(12px)saturate();backdrop-filter:blur(12px)saturate();z-index:1;background:#ffffff1a;border:0;border-radius:24px;flex-direction:column;justify-content:space-between;min-height:100px;display:flex;position:relative;box-shadow:0 2px 8px #00000029}.mobile-agent-composer:before{z-index:0;pointer-events:none;content:"";border-radius:inherit;position:absolute;inset:0;box-shadow:inset 1px 1px #ffffff21,inset -1px -1px #ffffff1a,inset 8px 8px 12px -8px #0003,inset -8px -8px 12px -8px #ffffff0d}.mobile-agent-prompt-wrap{padding:12px 0;position:relative}.mobile-agent-prompt{resize:none;color:#fff;width:100%;min-height:24px;max-height:144px;caret-color:var(--agent-lime);font:400 16px / 24px var(--font-sans);background:0 0;border:0;outline:none;padding:0 12px;display:block;overflow:hidden auto}.mobile-agent-prompt::placeholder{color:#ffffff80;opacity:1}.mobile-agent-mention-menu{z-index:40;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#191a1cfa;border:1px solid #ffffff1f;border-radius:14px;flex-direction:column;gap:2px;max-height:220px;padding:6px;display:flex;position:absolute;bottom:calc(100% - 4px);left:12px;right:12px;overflow-y:auto;box-shadow:0 16px 36px #0006}.mobile-agent-mention-option{color:#ffffffd6;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;min-height:44px;padding:6px 8px;display:flex}.mobile-agent-mention-option[data-active=true],.mobile-agent-mention-option:active{background:#ffffff1a}.mobile-agent-mention-thumb{color:#ffffffad;background:#ffffff1a;border-radius:8px;flex:0 0 32px;justify-content:center;align-items:center;width:32px;height:32px;font-size:13px;display:flex;overflow:hidden}.mobile-agent-mention-thumb img{object-fit:cover;width:100%;height:100%;display:block}.mobile-agent-mention-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;line-height:18px;overflow:hidden}.mobile-agent-controls{flex:none;align-items:center;gap:4px;min-width:0;height:52px;padding:8px;display:flex}.mobile-agent-add-reference,.mobile-agent-control,.mobile-agent-send{color:#fff;background:#ffffff0d;border:0;border-radius:999px;flex:none;justify-content:center;align-items:center;height:36px;transition:background-color .2s;display:flex}.mobile-agent-add-reference{width:36px}.mobile-agent-add-reference img{width:20px;height:20px}.mobile-agent-control{min-width:0;font:500 14px / 16px var(--font-sans);gap:4px;padding:6px 8px 6px 12px}.mobile-agent-control>span{white-space:nowrap;text-overflow:ellipsis;padding:0 4px;overflow:hidden}.mobile-agent-model{flex:0 auto;max-width:100%}.mobile-agent-model img,.mobile-agent-settings-trigger img{flex:none;width:16px;height:16px}.mobile-agent-aspect{position:relative}.mobile-agent-aspect select{opacity:0;cursor:pointer;appearance:none;width:100%;height:100%;position:absolute;inset:0}.mobile-agent-control:focus-visible,.mobile-agent-add-reference:focus-visible{outline:2px solid var(--agent-lime);outline-offset:2px}.mobile-agent-control:has(select:focus-visible){outline:2px solid var(--agent-lime);outline-offset:2px}.mobile-agent-control:hover,.mobile-agent-add-reference:hover{background:#ffffff1a}.mobile-agent-send{width:36px;color:var(--primary-foreground);background:var(--primary);margin-left:0}.mobile-agent-send img{width:24px;height:24px}.mobile-agent-send:disabled{opacity:1;cursor:not-allowed}.mobile-agent-send:not(:disabled):hover{background:var(--primary-hover)}.mobile-agent-sheet-overlay{z-index:1000;background:#00000080;position:fixed;inset:0}.mobile-agent-settings-sheet{z-index:1001;max-height:calc(100dvh - 64px);padding-bottom:max(16px, env(safe-area-inset-bottom));color:#fff;font-family:var(--font-sans);background:#111;border-radius:32px 32px 0 0;outline:none;flex-direction:column;display:flex;position:fixed;inset:auto 0 0}.mobile-agent-sheet-handle{justify-content:center;align-items:center;height:12px;display:flex}.mobile-agent-sheet-handle span{background:#fff3;border-radius:99px;width:28px;height:4px}.mobile-agent-settings-sheet header{justify-content:center;align-items:center;height:40px;font-size:14px;font-weight:600;display:flex;position:relative}.mobile-agent-settings-sheet header button{color:#ffffff80;background:#ffffff0d;border-radius:50%;place-items:center;width:32px;height:32px;display:grid;position:absolute;right:16px}.mobile-agent-setting-fields{flex-direction:column;gap:8px;padding:8px 16px 32px;display:flex;overflow-y:auto}.mobile-agent-setting-fields label{flex:none;justify-content:space-between;align-items:center;height:48px;font-size:14px;font-weight:600;display:flex}.mobile-agent-settings-apply{background:var(--primary);height:40px;color:var(--primary-foreground);border-radius:999px;flex:none;margin:0 16px;font-size:14px;font-weight:500}@media (prefers-reduced-motion:reduce){[data-mobile-agent-create] *{scroll-behavior:auto;transition:none}}html:has([data-mobile-agent-create]) .tsqd-open-btn-container{display:none}.mobile-agent-settings-trigger{width:36px;padding:0}.mobile-agent-model-icon img[src$=\.svg]{filter:brightness(0)invert()}.mobile-agent-add-reference:disabled{opacity:.4;cursor:not-allowed}.mobile-agent-setting-fields .mobile-agent-setting-switch{appearance:none;cursor:pointer;background:#333;border-radius:99px;width:36px;height:20px;padding:2px}.mobile-agent-setting-switch:before{content:"";background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .15s;display:block}.mobile-agent-setting-switch:checked{background:#d1fe17}.mobile-agent-settings-sheet header{line-height:16px}.mobile-agent-setting-fields label{gap:12px;line-height:16px}.mobile-agent-setting-label{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.mobile-agent-setting-label>svg,.mobile-agent-setting-label>[data-public-icon]{color:#ffffff80;flex:none}.mobile-agent-setting-label>span{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.mobile-agent-setting-select{flex:none;max-width:60%;height:36px;display:flex;position:relative}.mobile-agent-setting-select>select{z-index:1;appearance:none;opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.mobile-agent-setting-select>span{justify-content:flex-end;align-items:center;gap:8px;min-width:0;font-size:14px;font-weight:500;line-height:16px;display:flex}.mobile-agent-setting-chevron{color:#ffffff80;background:#ffffff0d;border-radius:50%;flex:none;place-items:center;width:24px;height:24px;display:grid}.mobile-agent-setting-select:has(select:focus-visible){outline-offset:2px;border-radius:6px;outline:2px solid #d1fe17}.mobile-agent-setting-label img{flex:none;width:16px;height:16px}.mobile-agent-duration-slider{background:#ffffff0d;border:1px solid #ffffff0d;border-radius:12px;flex:none;width:179px;height:36px;position:relative;overflow:hidden}.mobile-agent-duration-value{z-index:1;pointer-events:none;font-size:14px;font-weight:500;line-height:16px;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.mobile-agent-duration-fill{pointer-events:none;background:#ffffff26;border-radius:8px;max-width:100%;position:absolute;inset:0 auto 0 0}.mobile-agent-duration-fill:after{content:"";background:#fff;border-radius:99px;width:2px;height:12px;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.mobile-agent-duration-slider input{z-index:2;opacity:0;cursor:ew-resize;touch-action:none;width:100%;height:100%;position:absolute;inset:0}.mobile-agent-duration-slider:has(input:focus-visible){outline-offset:2px;outline:2px solid #d1fe17}.mobile-agent-setting-fields .mobile-agent-setting-switch{width:40px}.mobile-agent-setting-switch:checked:before{background:#fff;transform:translate(20px)}.mobile-agent-settings-apply{justify-content:center;align-items:center;gap:8px;display:flex}.mobile-agent-settings-apply:hover{background:var(--primary-hover)}.mobile-agent-setting-cost{font-variant-numeric:tabular-nums;align-items:center;gap:4px;display:inline-flex}.mobile-agent-end-actions{flex:1;justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.mobile-agent-model-settings{flex:0 auto;align-items:center;gap:4px;min-width:0;display:flex}.mobile-agent-model{gap:0}.mobile-agent-model>span{min-width:0;padding-inline:6px}.mobile-agent-send[data-cost=credits]{width:auto;min-width:36px;padding:0 12px 0 10px}.mobile-agent-send-cost{color:#1a1a1a;font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:2px;font-size:14px;font-weight:600;line-height:16px;display:flex}.mobile-agent-send .mobile-agent-send-cost img{flex:none;width:20px;height:20px}.mobile-agent-send-spinner{animation:.8s linear infinite mobile-agent-spin}@keyframes mobile-agent-spin{to{transform:rotate(360deg)}}.mobile-agent-reference-strip:has(+.mobile-agent-reference-slots){padding-bottom:4px}.mobile-agent-reference-slots{scrollbar-width:none;align-items:center;gap:6px;min-width:0;min-height:44px;padding:4px 4px 0 12px;display:flex;overflow-x:auto}.mobile-agent-reference-slots:after{content:"";flex:none;width:6px}.mobile-agent-reference-slot{background:#ffffff0d;border:.5px solid #ffffff0d;border-radius:999px;flex:none;align-items:center;width:fit-content;min-width:0;max-width:100%;height:36px;display:flex;position:relative}.mobile-agent-reference-slot[data-multiple=true]{flex:1}.mobile-agent-slot-open{color:#ffffff80;min-width:0;height:100%;font:500 14px / 16px var(--font-sans);border:0;border-radius:999px;flex:1;align-items:center;gap:6px;padding:0 8px 0 4px;display:flex;position:relative}.mobile-agent-reference-slot[data-filled=true] .mobile-agent-slot-open{color:#fff}.mobile-agent-slot-open:hover{background:#ffffff0d}.mobile-agent-slot-empty,.mobile-agent-slot-thumb-space{background:#ffffff0d;border-radius:50%;flex:0 0 28px;place-items:center;width:28px;height:28px;display:grid}.mobile-agent-slot-label{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.mobile-agent-slot-required{color:#ffffff59;font-size:10px}.mobile-agent-slot-preview{border-radius:50%;width:28px;height:28px;display:block;position:absolute;top:3.5px;left:4px;overflow:hidden}.mobile-agent-slot-preview img,.mobile-agent-slot-preview video{object-fit:cover;width:100%;height:100%;display:block}.mobile-agent-slot-remove{color:#ffffff80;border-radius:50%;flex:none;place-items:center;width:32px;height:100%;display:grid}.mobile-agent-slot-remove svg{background:#ffffff0d;border-radius:50%;padding:2px}.mobile-agent-slot-open:focus-visible,.mobile-agent-slot-preview:focus-visible,.mobile-agent-slot-remove:focus-visible{outline:2px solid var(--agent-lime);outline-offset:2px}
