/* Focused workspace layout. Existing dialogs/handlers remain reachable. */
.product-chat .ai-thinking-steps>.thinking-step{display:none!important}.product-chat .ai-thinking-steps{animation:none!important;transition:none!important;font:13px/1.7 "Segoe UI",sans-serif!important;min-height:0!important;height:auto!important;position:relative!important;inset:auto!important}.product-loading-label{display:block;padding:10px 0;color:#adc0ae}.product-chat #authSubmitBtn{background:#caedaa!important;color:#172016!important;box-shadow:none!important}.product-chat .auth-form-side a{color:#caedaa!important}
html body.product-chat #authModal .auth-form-side{z-index:1!important}html body.product-chat #authModal #product-auth-close{z-index:2147483647!important;display:flex!important}
html body.product-chat #upgradeModal.modal-overlay.custom-modal{z-index:2147483400!important}
.product-chat #authModal #product-auth-close{z-index:100000!important}.product-chat .main-content .animated-chat-container .animated-input-box{position:relative!important;inset:auto!important;width:100%!important;max-width:none!important;transform:none!important}.product-chat .main-content .animated-chat-container .chat-suggestion-buttons{position:relative!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important}
.product-chat #authModal{background:#101415!important;align-items:center!important;justify-content:center!important}.product-chat .auth-art-side{display:none!important}.product-chat .auth-form-side{width:min(520px,100%)!important;min-width:0!important;max-width:100%!important;background:#16211a!important;border:1px solid #3b4e3e!important;max-height:calc(100dvh - 36px)!important;border-radius:12px;padding:24px!important}.product-chat #product-auth-close{z-index:100000!important}.product-chat #authModal button{transition:background .16s!important}.product-chat #authModal [onmouseover]{transform:none!important}
.product-chat #product-auth-close{position:fixed!important;top:16px!important;right:18px!important;z-index:10!important;min-width:44px;min-height:44px}.product-chat #drawer-close{z-index:1000!important}.product-chat #sidebar .empty-library{color:#aebdb1!important}
.product-chat .custom-modal,.product-chat #authModal{z-index:2147483100!important}.product-chat .suggestion-group #deepBtn span:first-child{display:none!important}
.product-chat #deepBtn::before,.product-chat #deepBtn::after{content:none!important}.product-chat.code-is-open .chat-task-bar{visibility:hidden}.product-chat .main-content{background:#101415!important}.product-chat .product-drawer-backdrop{cursor:pointer}.product-chat .modal-overlay{z-index:2147483100!important}.product-chat .chat-suggestion-buttons{flex-direction:row!important;align-items:center!important;flex-wrap:wrap!important}.product-chat .action-icon-btn{min-width:44px!important}.product-chat .chat-suggestion-buttons .suggestion-btn{min-height:44px!important}.product-chat #deepBtn{font-size:11px!important}
body.product-chat{padding-top:68px!important;background:#101415!important;height:100dvh;color:#edf2ed}.product-chat .product-bar{position:fixed;inset:0 0 auto;z-index:2147483000}.product-chat .product-brand,.product-chat .product-nav a{opacity:1!important;filter:none!important}.product-chat .legacy-code-launch{border:0;background:none;display:block!important;font-size:13px;padding:13px 15px}.product-chat .app-layout{height:calc(100dvh - 68px)!important;min-height:0!important;padding:0!important}.product-chat .main-content{padding:0!important;margin:0!important;min-width:0;width:100%;display:flex!important;flex-direction:column!important;height:100%!important}.product-chat .app-header{height:0!important;min-height:0!important;padding:0!important;margin:0!important}.product-chat .tubelight-navbar,.product-chat #animatedChatHeader,.product-chat .quick-pills,.product-chat .quick-cards,.product-chat #ghostText{display:none!important}.product-chat .chat-task-bar{height:65px;flex-shrink:0;border-bottom:1px solid #2c3933;margin:0 32px;display:flex;align-items:center;justify-content:space-between;gap:20px}.chat-task-bar>span{display:flex;align-items:center;gap:13px}.chat-task-bar strong{font:500 16px "Segoe UI",sans-serif;color:#dfebdf}.chat-task-bar small{font:12px "Segoe UI",sans-serif;color:#7f9886}.chat-task-bar button{font:12px "Segoe UI",sans-serif;background:#1c2a20;color:#c8dfbc;border:1px solid #3c5140;border-radius:6px;padding:10px 14px;min-height:42px;cursor:pointer}.product-chat .chat-wrapper{flex:1!important;min-height:0!important;overflow-y:auto!important;margin:0!important;padding:0 24px!important;display:flex;flex-direction:column;scroll-padding-bottom:20px}.product-chat .welcome-screen{flex:1;min-height:230px!important;height:auto!important;display:flex;justify-content:center;align-items:center;padding:32px 0!important;margin:0!important}.product-chat.chat-has-messages .welcome-screen{display:none!important}#chat-onboarding{text-align:center;max-width:650px;margin:auto;padding:15px 0 20px;font-family:"Segoe UI",Arial,sans-serif}.chat-eyebrow{font:10px Consolas,monospace!important;color:#96b18c!important;letter-spacing:1.5px!important;margin-bottom:18px!important}#chat-onboarding h1{font:500 38px/1.2 "Segoe UI",Arial,sans-serif;color:#eef3ed;letter-spacing:-1.1px;margin:0 0 17px}#chat-onboarding>p:not(.chat-eyebrow){font:14px/1.8 "Segoe UI",Arial,sans-serif;color:#a2b4a5;margin:0}.prompt-starts{display:flex;justify-content:center;gap:9px;margin:27px 0 0}.prompt-starts button{background:#19251d;border:1px solid #394b3d;border-radius:7px;min-height:47px;padding:12px 16px;font:12px "Segoe UI",sans-serif;color:#c6d7c1;cursor:pointer;display:flex;align-items:center;gap:18px;transition:background .16s}.prompt-starts button:hover{background:#2b3c29}.prompt-starts button span{color:#cceaae}.product-chat .animated-chat-container{position:relative!important;bottom:auto!important;left:auto!important;transform:none!important;width:calc(100% - 48px)!important;max-width:850px!important;margin:0 auto 14px!important;flex-shrink:0!important;padding:0!important}.product-chat .animated-input-box{border:1px solid #485d49!important;border-radius:12px!important;background:#16211c!important;box-shadow:0 12px 40px #0002!important;padding:12px 14px!important;opacity:1!important;transform:none!important}.product-chat .chat-textarea{min-height:80px!important;max-height:190px!important;padding:9px 4px!important;color:#e0ecda!important;font:14px/1.7 "Segoe UI",sans-serif!important;background:transparent!important}.product-chat .chat-textarea::placeholder{color:#899f8c!important}.product-chat .chat-bottom-controls{border-top:1px solid #354738!important;padding-top:11px!important;gap:12px!important}.product-chat .left-actions{gap:6px!important}.product-chat .right-actions{gap:9px!important}.product-chat .action-icon-btn{width:42px!important;height:42px!important;min-height:42px!important;color:#aac2a6!important;background:#213226!important;border-radius:6px!important;opacity:1!important;filter:none!important}.product-chat .action-icon-btn:hover{background:#334832!important}.product-chat #sendBtn{height:44px!important;min-width:120px!important;border-radius:6px!important;background:#caedaa!important;border-color:#caedaa!important;color:#192216!important;font:600 13px "Segoe UI",sans-serif!important;box-shadow:none!important;opacity:1!important;gap:20px!important;padding:10px 15px!important}.product-chat #sendBtn.active{animation:none!important}.product-chat #modelMiniBtn{font-size:11px!important;height:44px!important;border-radius:6px!important;padding:0 10px!important;background:#1d2d22!important;border-color:#40563e!important}.product-chat .chat-suggestion-buttons{display:flex!important;justify-content:space-between!important;gap:12px!important;margin:10px 0 0!important;padding:0!important;max-width:none!important}.product-chat .suggestion-group{border:0!important;background:none!important;padding:0!important;box-shadow:none!important;gap:5px!important}.product-chat .suggestion-btn{font:12px "Segoe UI",sans-serif!important;color:#afc7a7!important;min-height:40px!important;padding:8px 10px!important;opacity:1!important}.product-chat .suggestion-btn:hover{color:#d8edca!important;background:#213125!important}.product-chat .suggestion-spacer{display:none!important}.product-chat #local-service-note{position:static!important;transform:none!important;width:auto!important;max-height:none!important;padding:4px 8px!important;margin:3px 0 0!important;background:transparent!important;text-align:center;font:10px/1.6 "Segoe UI",sans-serif!important;color:#849c89!important;pointer-events:auto!important}.product-chat .messages-list{max-width:850px;width:100%;margin:auto;padding-bottom:20px!important}.product-chat .mmd-dropdown{background:#1a281d!important;border-color:#4b6146!important;border-radius:8px!important}.product-chat .mmd-pro-badge{background:#41503b!important;color:#d7e4ce!important;border-radius:4px!important}.product-chat #deepSearchMenu{background:#17231c!important;border:1px solid #465b43!important;border-radius:10px!important;max-height:60dvh!important;overflow:auto!important}.product-chat .dsm-cmd-desc{color:#9db09f!important}.product-chat .dsm-cmd-title{font-family:"Segoe UI",sans-serif!important}.product-chat #sidebar{position:fixed!important;top:68px!important;bottom:0!important;left:0!important;width:330px!important;max-width:90vw!important;height:calc(100dvh - 68px)!important;z-index:2147482800!important;background:#17211b!important;transform:translateX(-110%)!important;transition:transform .2s!important}.product-chat.product-drawer-open #sidebar{transform:translateX(0)!important}.product-chat #sidebar .sidebar-content{display:none!important}.product-chat #sidebar .chat-panel,.product-chat #sidebar .library-panel{padding-top:52px!important;background:#17211b!important}.product-chat #sidebar .library-header{padding-top:18px!important}.product-chat #drawer-close{position:absolute;top:9px;right:12px;z-index:20;border:1px solid #40513d;border-radius:5px;padding:9px 13px;min-height:40px;background:#243423;color:#d3e6c6;font:12px "Segoe UI",sans-serif;cursor:pointer}.product-drawer-backdrop{display:none;position:fixed;inset:68px 0 0;z-index:2147482700;background:#0008;border:0}.product-drawer-open .product-drawer-backdrop{display:block}.product-chat #presentation-screen{top:68px!important;height:calc(100dvh - 68px)!important;z-index:2147482900!important}.product-chat .ide-statusbar{background:#304b32!important;color:#d9e9d2!important}.product-chat #ide-topbar-v2{background:#17201b!important;border-color:#354737!important}.product-chat .ide-run-btn{background:#caedaa!important;color:#182414!important;border-radius:5px!important;box-shadow:none!important}.product-chat .ide-close-btn{color:#bfcfbd!important;border-color:#465842!important}.product-chat .code-is-open .chat-task-bar{visibility:hidden}.product-chat [hidden]{display:none!important}.product-chat button:focus-visible,.product-chat a:focus-visible,.product-chat textarea:focus-visible,.product-chat summary:focus-visible{outline:2px solid #caedaa!important;outline-offset:3px!important}.product-chat .product-popover{z-index:1}.product-chat .product-brand small{font-size:9px!important}
@media(max-width:820px){body.product-chat{padding-top:62px!important}.product-chat .app-layout{height:calc(100dvh - 62px)!important}.product-chat #sidebar{top:62px!important;height:calc(100dvh - 62px)!important}.product-drawer-backdrop{top:62px}.product-chat #presentation-screen{top:62px!important;height:calc(100dvh - 62px)!important}.product-chat .legacy-code-launch{padding:14px 12px!important}.product-chat .chat-task-bar{margin:0 20px;height:59px}.product-chat .chat-wrapper{padding:0 18px!important}.product-chat .animated-chat-container{width:calc(100% - 32px)!important}#chat-onboarding h1{font-size:32px}.prompt-starts{flex-wrap:wrap;gap:7px}.prompt-starts button{padding:11px 12px;font-size:11px;gap:10px}.product-chat .welcome-screen{padding:22px 0!important;min-height:200px!important}.product-chat .product-popover{right:-56px}.product-chat .chat-textarea{min-height:75px!important}.product-chat #local-service-note{font-size:9px!important}}
@media(max-width:500px){.product-chat .chat-task-bar{margin:0 17px;height:55px}.chat-task-bar small{display:none}.chat-task-bar strong{font-size:14px}.chat-task-bar button{font-size:11px}.product-chat .chat-wrapper{padding:0 14px!important}#chat-onboarding{padding:10px 0}#chat-onboarding h1{font-size:29px;letter-spacing:-1px;margin-bottom:13px}#chat-onboarding>p:not(.chat-eyebrow){font-size:12px}.chat-eyebrow{font-size:9px!important;margin-bottom:12px!important}.prompt-starts{margin-top:19px;gap:6px}.prompt-starts button{font-size:10px;padding:10px 9px;gap:6px;min-height:44px}.product-chat .animated-chat-container{width:calc(100% - 24px)!important;margin-bottom:8px!important}.product-chat .animated-input-box{padding:9px 10px!important}.product-chat .chat-textarea{font-size:16px!important;min-height:72px!important;max-height:150px!important}.product-chat .chat-bottom-controls{flex-wrap:wrap!important;padding-top:8px!important;gap:8px!important}.product-chat .right-actions{gap:6px!important;margin-left:auto!important}.product-chat #modelMiniBtn{font-size:10px!important;padding:0 7px!important;gap:5px!important}.product-chat #sendBtn{min-width:86px!important;font-size:11px!important;padding:10px!important;gap:9px!important}.product-chat .action-icon-btn{width:36px!important;min-width:36px!important;height:44px!important}.product-chat .left-actions{gap:4px!important}.product-chat .suggestion-btn{font-size:11px!important;padding:7px 8px!important;min-height:40px!important}.product-chat #local-service-note{font-size:9px!important;line-height:1.5!important}.product-chat #deepSearchMenu{width:calc(100vw - 24px)!important;max-height:58dvh!important;right:0!important}.product-chat .dsm-cmd{padding:10px!important}.product-chat .dsm-cmd-title{font-size:12px!important}.product-chat .dsm-cmd-desc{font-size:10px!important}}
@media(prefers-reduced-motion:reduce){.product-chat *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* v6 — warm minimal chat; specificity protects it from the retained legacy theme. */
html body.product-chat{--chat-theme-ready:1;background:#f7f4ee!important;color:#30271f!important;color-scheme:light}
body.product-chat .app-layout,body.product-chat .main-content,body.product-chat .chat-wrapper{background:#f7f4ee!important;box-shadow:none!important}
body.product-chat .app-layout{margin:0!important;width:100%!important}
body.product-chat .chat-task-bar{border-color:#dfd3c1;margin-inline:36px}
body.product-chat .chat-task-bar strong{color:#453425;font-size:15px;font-weight:500}
body.product-chat .chat-task-bar small{color:#85725b}
body.product-chat .chat-task-bar button{background:transparent;border-color:#cbb99b;color:#674b2e;border-radius:24px;min-height:44px;padding-inline:18px}
body.product-chat .chat-task-bar button:hover{background:#eee3d0;border-color:#a9895a}
body.product-chat .chat-eyebrow{color:#937040!important;letter-spacing:2px!important;font-weight:500!important}
body.product-chat .chat-eyebrow::before{content:"";display:block;width:19px;height:19px;margin:0 auto 24px;transform:rotate(45deg);border:1px solid #bc995d;box-shadow:inset 0 0 0 4px #f7f4ee,inset 0 0 0 5px #ceb990}
body.product-chat #chat-onboarding h1{font:400 48px/1.18 Georgia,"Times New Roman",serif;letter-spacing:-1.6px;color:#4a3525;margin-bottom:20px}
body.product-chat #chat-onboarding>p:not(.chat-eyebrow){color:#8a765e;font-size:14px;line-height:1.8}
body.product-chat .prompt-starts{gap:10px;margin-top:28px}
body.product-chat .prompt-starts button{background:transparent;border-color:#d4c4a9;border-radius:24px;color:#715637;font-size:12px;padding:12px 19px;gap:20px;min-height:46px}
body.product-chat .prompt-starts button:hover{background:#eee2cd;border-color:#b29569}
body.product-chat .prompt-starts button span{color:#a67d3e}
body.product-chat .animated-chat-container{max-width:820px!important}
body.product-chat .animated-input-box{border:1px solid #cfc0a5!important;border-radius:18px!important;background:#fffdf8!important;box-shadow:0 8px 30px #77532608!important;padding:14px 16px!important}
body.product-chat .chat-textarea{color:#3c3024!important;font-size:15px!important;background:transparent!important}
body.product-chat .chat-textarea::placeholder{color:#9b8870!important}
body.product-chat .chat-bottom-controls{border-color:#e8dece!important}
body.product-chat .action-icon-btn{background:transparent!important;color:#876843!important;border:1px solid #e0d4bf!important;border-radius:50%!important;width:44px!important;min-width:44px!important;height:44px!important}
body.product-chat .action-icon-btn:hover{background:#eee1c9!important;color:#5e4326!important}
body.product-chat #sendBtn{background:#33271f!important;color:#fff6e5!important;border:1px solid #33271f!important;border-radius:24px!important;min-width:125px!important;padding:10px 18px!important;font-weight:500!important;box-shadow:none!important}
body.product-chat #sendBtn:hover{background:#6d4c30!important;border-color:#6d4c30!important}
body.product-chat #sendBtn>span:last-child{color:#e2c389;font-size:18px;font-weight:400}
body.product-chat #modelMiniBtn{background:#f4ecdf!important;color:#785b39!important;border:1px solid #daceb7!important;border-radius:22px!important;padding:0 13px!important;box-shadow:none!important}
body.product-chat #modelMiniBtn span,body.product-chat #modelMiniBtn i{color:#785b39!important}
body.product-chat .suggestion-btn{color:#89704c!important;border-radius:6px!important;font-size:11px!important}
body.product-chat .suggestion-btn:hover{color:#573b1f!important;background:#eee2cd!important}
body.product-chat #local-service-note{color:#958169!important}
body.product-chat .mmd-dropdown{background:#fffaf1!important;border-color:#d7c6a7!important;box-shadow:0 12px 28px #79552b1c!important;color:#4e3b27!important;border-radius:12px!important}
body.product-chat .mmd-option{color:#5b442b!important}.product-chat .mmd-option:hover{background:#eee0c6!important}
body.product-chat .mmd-option span,body.product-chat .mmd-option i{color:inherit!important}
body.product-chat .mmd-option.active{background:#ede1cc!important}
body.product-chat .mmd-pro-badge{background:#e8d7b3!important;color:#71521f!important}
body.product-chat #deepSearchMenu{background:#fffaf1!important;border-color:#cfb990!important;box-shadow:0 12px 30px #62441f24!important}
body.product-chat .dsm-header,body.product-chat .dsm-cmd-title{color:#543b23!important}
body.product-chat .dsm-cmd-desc{color:#8a7254!important}
body.product-chat .dsm-cmd:hover{background:#efe2c9!important}.product-chat .dsm-cmd-icon{color:#9d7437!important;background:#f2e5cd!important}
body.product-chat .message{color:#3e3023!important}
body.product-chat .user-message{background:#e9dfcf!important;border:1px solid #dacbb2!important;border-radius:18px 18px 5px 18px!important;color:#4b3824!important}
body.product-chat .ai-message{background:transparent!important}
body.product-chat .message .text,body.product-chat .message p,body.product-chat .message li,body.product-chat .message h1,body.product-chat .message h2,body.product-chat .message h3{color:#4a3827!important}
body.product-chat .message pre{background:#302922!important;color:#ead7b6!important;border:1px solid #67533c!important}
body.product-chat .message pre code{color:#ead7b6!important}
body.product-chat .message button{color:#856841!important;background:#f4ead9!important;border-color:#d8c5a4!important;box-shadow:none!important}
body.product-chat .message .file-preview,body.product-chat .message .file-attachment{background:#f7efdf!important;color:#6f5331!important;border-color:#d4be9a!important}
body.product-chat .product-loading-label{color:#8c704d}
body.product-chat #sidebar,body.product-chat #sidebar .chat-panel,body.product-chat #sidebar .library-panel{background:#f5eddf!important;color:#554027!important;border-color:#d9c5a4!important}
body.product-chat #sidebar .library-header{border-color:#dfceb2!important}
body.product-chat #sidebar .library-header h2{color:#624829!important;font-size:16px;font-weight:500}
body.product-chat #sidebar .empty-library{color:#957950!important}
body.product-chat #sidebar .back-btn{background:#e9d9be!important;color:#735129!important}
body.product-chat #sidebar #drawer-close{background:#fdf7eb!important;color:#6b4d29!important;border-color:#c7ac80!important;border-radius:22px!important}
body.product-chat #sidebar .chat-history-item,body.product-chat #sidebar .history-item{background:#e9dcc6!important;color:#644929!important;border-color:#d5bd96!important}
body.product-chat .product-drawer-backdrop{background:#392a1859}
body.product-chat .custom-modal .modal-content{background:#30271f!important;color:#e6d1af!important;border:1px solid #8c704b!important;border-radius:14px!important;box-shadow:0 18px 70px #33231438!important}
body.product-chat .custom-modal .modal-header{border-color:#715839!important}
body.product-chat .custom-modal .close-modal{color:#dcc199!important;border-color:#8a6c46!important}
html body.product-chat #authModal{background:#f7f4ee!important}
html body.product-chat #authModal .auth-form-side{background:#fffaf0!important;border-color:#d3bd99!important;color:#50391e!important;border-radius:16px!important}
html body.product-chat #authModal h2{color:#513b23!important;font-family:Georgia,serif!important;font-weight:400!important}
html body.product-chat #authModal p,html body.product-chat #authModal label{color:#8a704b!important}
html body.product-chat #authModal input:not([type=checkbox]){background:#fbf3e4!important;color:#563b1d!important;border-color:#d1b78a!important;box-shadow:none!important;border-radius:8px!important}
html body.product-chat #authModal input::placeholder{color:#a48a63!important}
html body.product-chat #authModal button:not(#authSubmitBtn){background:#ebdcc0!important;color:#6b4c25!important;border-color:#c8ac7d!important;box-shadow:none!important}
html body.product-chat #authModal #authSubmitBtn{background:#3b2b1f!important;color:#fff1d6!important;border-radius:24px!important;box-shadow:none!important}
html body.product-chat #authModal a{color:#80571f!important}
body.product-chat #ide-topbar-v2{background:#30271f!important;border-color:#6b5438!important}
body.product-chat .ide-statusbar{background:#5c432b!important;color:#e6cfaa!important}
body.product-chat .ide-run-btn{background:#d6b474!important;color:#382818!important;border-radius:20px!important}
body.product-chat .ide-close-btn{color:#d2b58d!important;border-color:#8b6e47!important;border-radius:20px!important}
body.product-chat #presentation-screen .ide-layout-btn.active{color:#e0be83!important;background:#5a432b!important}
body.product-chat button:focus-visible,body.product-chat a:focus-visible,body.product-chat textarea:focus-visible,body.product-chat summary:focus-visible{outline:2px solid #91611f!important;outline-offset:3px!important}
@media(max-width:820px){body.product-chat .chat-task-bar{margin-inline:20px}body.product-chat #chat-onboarding h1{font-size:40px}}
@media(max-width:500px){body.product-chat .chat-task-bar{margin-inline:18px}body.product-chat .chat-task-bar button{padding-inline:13px}body.product-chat #chat-onboarding h1{font-size:34px;letter-spacing:-1px}body.product-chat #chat-onboarding>p:not(.chat-eyebrow){font-size:12px}body.product-chat .chat-eyebrow::before{width:16px;height:16px;margin-bottom:18px}body.product-chat .prompt-starts{gap:6px;flex-wrap:wrap}body.product-chat .prompt-starts button{font-size:10px;padding:10px 11px;gap:7px;min-height:44px}body.product-chat .animated-input-box{padding:10px 12px!important;border-radius:14px!important}body.product-chat .chat-textarea{font-size:16px!important}body.product-chat #sendBtn{min-width:99px!important;padding:10px 14px!important;font-size:12px!important}body.product-chat #modelMiniBtn{padding:0 9px!important}.product-chat .right-actions{gap:7px!important}}
/* Final contrast and edge cleanup after desktop/mobile browser inspection. */
html:has(body.product-chat){background:#f7f4ee!important}
html body.product-chat{padding:68px 0 0!important}
body.product-chat .app-layout{height:calc(100dvh - 68px)!important;border:0!important;border-radius:0!important;transition:none!important}
body.product-chat .animated-chat-container{animation:none!important;transition:none!important}
body.product-chat .animated-input-box{animation:none!important;transition:border-color .16s,box-shadow .16s!important}
body.product-chat #chat-onboarding>p:not(.chat-eyebrow),body.product-chat #local-service-note{color:#7b6a52!important}
body.product-chat .chat-textarea::placeholder{color:#7b6a52!important}
body.product-chat .suggestion-btn{color:#785d38!important}
body.product-chat .chat-eyebrow{color:#816137!important}
body.product-chat .mmd-option.locked,body.product-chat .dsm-cmd.locked{opacity:1!important}
body.product-chat #deepSearchMenu{transition:opacity .12s!important;backdrop-filter:none!important}
@media(max-width:820px){html body.product-chat{padding:62px 0 0!important}body.product-chat .app-layout{height:calc(100dvh - 62px)!important}}
/* Hidden document drawer must not cast a shadow onto the chat. */
body.product-chat #artifactPanel{background:#f8f1e5!important;border-color:#d4c0a0!important;box-shadow:none!important;color:#564029!important}
body.product-chat #artifactPanel .artifact-header{background:#eee1cd!important;border-color:#d4c0a0!important}
body.product-chat #artifactPanel .artifact-btn{background:#f9f0df!important;color:#73542e!important;border-color:#cdb38b!important;animation:none!important;box-shadow:none!important}
body.product-chat #deepBtn.deep-active{background:#e9d8b7!important;color:#65451e!important}
body.product-chat #deepBtn.deep-active i{color:#8d6229!important}
body.product-chat #ide-explorer,body.product-chat #ide-tabs-v2,body.product-chat #ide-preview-v2{background:#29231d!important;border-color:#55432f!important}
body.product-chat .ide-tab-v2{color:#b49c7b!important;border-color:#4c3b29!important}
body.product-chat .ide-tab-v2.active{background:#352b21!important;color:#e6c591!important;border-top-color:#bc9356!important}
body.product-chat #presentation-screen .CodeMirror{background:#28231e!important;color:#ede0cb!important}
body.product-chat #presentation-screen .CodeMirror-gutters{background:#211c17!important;border-color:#493a28!important}
body.product-chat #presentation-screen .CodeMirror-linenumber{color:#957e5e!important}
body.product-chat #ide-preview-v2 button{background:#d6b474!important;color:#352517!important;box-shadow:none!important;border-radius:18px!important}
/* v7 — explicit workspace hierarchy and contextual controls. */
body.product-chat .app-layout{display:flex!important;flex-direction:row!important}
body.product-chat .main-content{width:auto!important;flex:1;min-width:0}
.workspace-rail{width:224px;flex:0 0 224px;display:flex;flex-direction:column;padding:28px 18px 22px;gap:20px;border-right:1px solid #e2d9cc;background:#f0ebe2;font:13px/1.5 "Segoe UI",sans-serif}
.workspace-rail .rail-label{font-size:9px;letter-spacing:1.25px;color:#80715e;margin:0 10px 0;white-space:nowrap}
.workspace-rail button,.workspace-rail a{font:13px/1.4 "Segoe UI",sans-serif;cursor:pointer;color:#625341;text-decoration:none}
.workspace-rail button{display:flex!important;align-items:center;gap:11px;min-height:46px;padding:11px 12px;border:0;border-radius:9px;background:transparent;text-align:left;transition:background .16s,color .16s,transform .16s}
.workspace-rail svg,.chat-workarea button svg{width:19px;height:19px;flex-shrink:0;display:block}
.workspace-rail button:hover{background:#e7ddce;color:#33271f}
.workspace-rail #product-new-chat{background:#33271f;color:#fff5e5;border:1px solid #33271f;justify-content:center;border-radius:10px}
.workspace-rail #product-new-chat:hover{background:#5e442f}
.workspace-rail #product-new-chat:disabled{opacity:.5;cursor:wait}
.workspace-links{display:grid;gap:5px}
.rail-tool{border-top:1px solid #dcd1c0;padding-top:22px}
.rail-tool .rail-label{margin-bottom:8px}
.rail-tool>p:last-child{font-size:11px;line-height:1.8;color:#7d705f;margin:5px 12px 0 42px}
.rail-about{margin-top:auto;padding:14px 10px 0;border-top:1px solid #dcd1c0;font-size:11px!important}
.workspace-mobile{display:none}
body.product-chat .chat-task-bar{height:65px;margin-inline:32px;border-bottom:0}
body.product-chat .chat-task-bar strong{font-size:15px;color:#3e3125;font-weight:600}
body.product-chat .chat-task-bar small{font-size:12px}
.chat-context{font:11px "Segoe UI",sans-serif;color:#8a7b68}
.chat-workarea{position:relative;display:flex;flex:1;min-height:0;flex-direction:column;justify-content:center;padding:0 0 70px;overflow-y:auto}
body.product-chat:not(.chat-has-messages) .chat-wrapper{flex:0 0 auto!important;overflow:visible!important;min-height:0!important;padding:0 24px!important}
body.product-chat .welcome-screen{flex:0 0 auto!important;min-height:0!important;padding:0 0 27px!important}
body.product-chat:not(.chat-has-messages) #messagesContainer{display:none!important}
body.product-chat .workspace-rail .legacy-code-launch{display:flex!important;padding:11px 12px!important;width:100%}
body.product-chat #chat-onboarding{padding:0;margin:0;animation:workspace-arrive .35s ease-out both}
body.product-chat .chat-eyebrow{font-size:9px!important;letter-spacing:1.5px!important;margin-bottom:17px!important}
body.product-chat .chat-eyebrow::before{width:16px;height:16px;margin-bottom:22px}
body.product-chat #chat-onboarding h1{font-size:46px;line-height:1.2;margin:0 0 16px;letter-spacing:-1.5px}
body.product-chat #chat-onboarding>p:not(.chat-eyebrow){font-size:14px;line-height:1.75}
body.product-chat .animated-chat-container{max-width:760px!important;width:calc(100% - 80px)!important;margin:0 auto!important}
body.product-chat .animated-input-box{border-color:#d2c3ad!important;border-radius:16px!important;padding:15px!important;box-shadow:0 6px 24px #6b452709!important}
body.product-chat .animated-input-box:focus-within{border-color:#a6834d!important;box-shadow:0 0 0 3px #ba924913,0 10px 30px #6b45270a!important}
body.product-chat .chat-textarea{min-height:86px!important;padding:8px 5px 14px!important;line-height:1.65!important}
body.product-chat .chat-bottom-controls{gap:8px!important;padding-top:12px!important;flex-wrap:nowrap!important}
body.product-chat .left-actions{gap:5px!important}
body.product-chat .right-actions{gap:8px!important}
body.product-chat #attach-trigger,body.product-chat #deepBtn{width:auto!important;min-width:0!important;gap:7px;display:inline-flex!important;align-items:center;justify-content:center;min-height:42px!important;height:42px!important;padding:0 11px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#625039!important;font:12px "Segoe UI",sans-serif!important}
body.product-chat #attach-trigger:hover,body.product-chat #deepBtn:hover{background:#efe5d5!important}
body.product-chat #micBtn,body.product-chat #stopBtn{width:40px!important;min-width:40px!important;height:42px!important;border:0!important;border-radius:8px!important;justify-content:center}
body.product-chat #modelMiniBtn{background:transparent!important;border:0!important;border-radius:8px!important;padding:0 8px!important;font-size:11px!important;gap:7px!important}
body.product-chat #modelMiniBtn:hover,body.product-chat #modelMiniBtn.open{background:#f0e6d6!important}
body.product-chat #modelMiniBtn>.ph-cpu{display:none!important}
body.product-chat #sendBtn{border-radius:9px!important;min-width:118px!important;gap:12px!important;font-size:12px!important;height:44px!important;padding:10px 14px!important}
body.product-chat #sendBtn svg{color:#e2c389;width:17px;height:17px}
body.product-chat .chat-suggestion-buttons{display:none!important}
body.product-chat .prompt-starts{margin:12px 0 0;gap:8px}
body.product-chat .prompt-starts button{font-size:11px;min-height:40px;padding:10px 14px;gap:16px;border-radius:8px;border:1px solid #e1d6c5;background:transparent;color:#756045}
body.product-chat .prompt-starts button:hover{background:#eee3d1;border-color:#c9b18b}
body.product-chat #local-service-note{padding:0!important;margin:18px 0 0!important;font-size:10px!important;line-height:1.6!important;color:#837460!important}
.composer-meta{display:flex;justify-content:space-between;gap:12px;padding:9px 4px 0;color:#8a7c6a;font:10px/1.5 "Segoe UI",sans-serif}
.keyboard-hint span{margin:0 6px}
#input-counter{white-space:nowrap;margin-left:auto}
#input-counter.near-limit{color:#92521e;font-weight:600}
body.product-chat.chat-has-messages .chat-workarea{justify-content:flex-start;padding-bottom:14px;overflow:hidden}
body.product-chat.chat-has-messages .chat-wrapper{flex:1!important}
body.product-chat.chat-has-messages .messages-list{max-width:760px;margin:0 auto;padding-top:12px}
body.product-chat.chat-has-messages .prompt-starts{display:none}
body.product-chat.chat-has-messages #local-service-note{margin-top:8px!important}
body.product-chat.chat-has-messages .chat-textarea{min-height:64px!important}
#jump-latest{position:absolute;bottom:calc(var(--composer-height, 230px) + 26px);left:50%;transform:translateX(-50%);z-index:30;border:1px solid #cdbb9e;background:#fffaf1;color:#634b2e;border-radius:22px;padding:11px 17px;font:12px "Segoe UI",sans-serif;box-shadow:0 4px 18px #4a30251a;cursor:pointer;white-space:nowrap}
.popover-label{font:9px/1.6 "Segoe UI",sans-serif;letter-spacing:1px;color:#8a7356;margin:8px 12px}
.composer-popover{position:fixed;z-index:2147482600;padding:7px;background:#fffaf1;border:1px solid #d4c2a4;border-radius:12px;box-shadow:0 10px 35px #51361b26}
.composer-popover button{display:flex;align-items:center;gap:11px;width:100%;min-height:46px;padding:10px 12px;border:0;border-radius:7px;background:transparent;color:#584632;font:13px "Segoe UI",sans-serif;text-align:left;cursor:pointer}
.composer-popover button:hover{background:#ede0cb}
.composer-popover svg{width:19px;height:19px;flex-shrink:0}
body.product-chat .messages-list{gap:24px!important;justify-content:flex-start!important}
body.product-chat .ai-message{padding:10px 4px!important;margin-right:0!important;max-width:100%!important;width:100%!important}
body.product-chat .user-message{max-width:85%!important;width:fit-content!important;margin-left:auto!important;margin-right:0!important}
body.product-chat .ai-message>.text{white-space:normal!important}
body.product-chat .ai-message .typed-content{white-space:pre-wrap!important}
body.product-chat .ai-message .dock-container,body.product-chat .ai-message .dock-inner{white-space:normal!important}
body.product-chat .dock-container{height:auto!important;min-height:0!important;padding:0!important;margin:12px 0 0!important;perspective:none!important;transform:none!important}
body.product-chat .dock-inner{background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;padding:0!important;gap:6px!important;transform:none!important;border-radius:0!important;justify-content:flex-start!important;flex-wrap:wrap!important}
body.product-chat .dock-reflection{display:none!important}
body.product-chat .message .dock-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:auto!important;min-width:38px;min-height:40px;height:auto!important;padding:8px 10px!important;border:0!important;border-radius:7px!important;background:transparent!important;box-shadow:none!important;color:#826c4d!important;transform:none!important;font:11px "Segoe UI",sans-serif!important}
body.product-chat .message .dock-btn:hover{background:#ede2d1!important;color:#5b4328!important}
body.product-chat .message .dock-btn svg{width:16px;height:16px}
body.product-chat .product-file-card{background:#f6efe3!important;border:1px solid #d8c6a9!important;box-shadow:none!important;border-radius:9px!important;max-width:100%!important;margin:0 0 8px!important;padding:10px 12px!important}
body.product-chat .product-file-card span,body.product-chat .product-file-card i{color:#68523a!important;filter:none!important}
body.product-chat #deepSearchMenu,body.product-chat #modelMiniDropdown,body.product-chat #attachment-options{position:fixed!important;left:var(--popup-left, 12px)!important;top:var(--popup-top, 100px)!important;right:auto!important;bottom:auto!important;width:var(--popup-width, 300px)!important;max-height:var(--popup-height, 450px)!important;min-width:0!important;overflow:auto!important;transform:none!important;z-index:2147482600!important}
body.product-chat #deepSearchMenu{border-radius:12px!important}
body.product-chat .dsm-header{padding:14px 16px!important}
body.product-chat .dsm-cmd{padding:12px!important}
body.product-chat .dsm-cmd-title{font-size:13px!important}
body.product-chat .dsm-cmd-desc{font-size:11px!important}
body.product-chat .dsm-cmd-icon{width:34px!important;height:34px!important}
body.product-chat .dsm-close{width:36px;height:36px;min-width:36px;color:#785e39!important}
body.product-chat .workspace-rail .product-popover{z-index:2147482600;right:0;top:calc(100% + 10px)}
body.product-chat #ide-topbar-v2{gap:12px!important}
body.product-chat .ide-title-center{margin:0 auto 0 0!important}
body.product-chat .ide-title-center svg{stroke:#d6b474}
body.product-chat .ide-project-name>span{color:#bda98a!important;font-size:11px}
body.product-chat .ide-run-btn,body.product-chat .ide-close-btn{min-height:38px;border-radius:8px!important;font:12px "Segoe UI",sans-serif!important}
@keyframes workspace-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes workspace-reveal{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:no-preference){
 body.product-chat button{transition:background .16s,color .16s,border-color .16s,box-shadow .16s!important}
 body.product-chat .workspace-rail button:active,body.product-chat .prompt-starts button:active,body.product-chat #sendBtn:active{transform:translateY(1px)}
 body.product-chat .product-popover,body.product-chat #attachment-options:not([hidden]),body.product-chat #modelMiniDropdown.open,body.product-chat #deepSearchMenu{animation:workspace-reveal .18s ease-out!important}
 body.product-chat .product-drawer-backdrop{animation:workspace-reveal .2s ease-out}
 body.product-chat .message{animation:workspace-arrive .24s ease-out!important}
 body.product-chat #sidebar{transition:transform .24s cubic-bezier(.2,.8,.2,1)!important}
 body.product-chat .product-loading-label::before{content:"";display:inline-block;width:6px;height:6px;background:#a57b39;border-radius:50%;margin:0 9px 1px 0;animation:workspace-reveal .9s ease-in-out infinite alternate}
}
@media(max-width:1100px){.workspace-rail{width:200px;flex-basis:200px;padding-inline:12px}body.product-chat .animated-chat-container{width:calc(100% - 44px)!important}body.product-chat #attach-trigger,body.product-chat #deepBtn{padding-inline:8px!important}.chat-context{display:none}}
@media(max-width:960px){
 body.product-chat .app-layout{flex-direction:column!important}
 .workspace-rail{position:relative;z-index:100;flex:0 0 auto;width:auto;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;padding:10px 20px;border-right:0;border-bottom:1px solid #e4dacb;background:#f7f4ee}
 .workspace-rail>.rail-label,.workspace-links,.rail-tool,.rail-about{display:none}
 .workspace-rail #product-new-chat{font-size:12px;min-height:40px;padding:9px 12px;border-radius:8px;gap:7px}
 .workspace-rail svg{width:17px;height:17px}
 .workspace-mobile{display:block;position:relative}
 .workspace-mobile summary{display:flex;align-items:center;gap:8px;min-height:42px;color:#756045;font:12px "Segoe UI",sans-serif;cursor:pointer;list-style:none}
 .workspace-mobile summary::-webkit-details-marker{display:none}
 body.product-chat .chat-task-bar{display:none}
 body.product-chat .main-content{height:auto!important}
 .chat-workarea{padding-bottom:40px}
 body.product-chat .animated-chat-container{width:calc(100% - 44px)!important}
 body.product-chat #chat-onboarding h1{font-size:42px}
 body.product-chat .ide-project-name>span{display:none}
}
@media(max-width:600px){
 body.product-chat #ide-topbar-v2{height:auto!important;padding:8px 10px!important}
 body.product-chat .ide-topbar-right{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;width:100%!important}
 body.product-chat .ide-layout-group{grid-column:1/-1;display:flex!important}
 body.product-chat .ide-layout-btn{flex:1;min-height:34px;white-space:nowrap}
 body.product-chat .ide-run-btn,body.product-chat .ide-close-btn{width:100%!important;min-height:40px!important;white-space:nowrap;justify-content:center}
 .workspace-rail{padding:9px 14px}
 .workspace-mobile summary{font-size:11px;gap:5px}
 body.product-chat .animated-chat-container{width:calc(100% - 28px)!important}
 body.product-chat .animated-input-box{padding:12px!important}
 body.product-chat .chat-bottom-controls{flex-wrap:wrap!important;gap:7px!important;padding-top:7px!important}
 body.product-chat .left-actions{width:100%;gap:4px!important}
 body.product-chat .right-actions{width:100%;justify-content:space-between!important;margin-left:0!important}
 body.product-chat #micBtn{margin-left:auto!important}
 body.product-chat #sendBtn{min-width:115px!important}
 body.product-chat .chat-textarea{min-height:80px!important;max-height:140px!important}
 body.product-chat .welcome-screen{padding-bottom:25px!important}
 body.product-chat #chat-onboarding h1{font-size:36px;letter-spacing:-1px}
 body.product-chat #chat-onboarding>p:not(.chat-eyebrow){font-size:12px}
 body.product-chat .chat-eyebrow{font-size:8px!important;margin-bottom:14px!important}
 body.product-chat .chat-eyebrow::before{width:13px;height:13px;margin-bottom:17px}
 body.product-chat .prompt-starts{flex-wrap:wrap;gap:6px;margin-top:10px}
 body.product-chat .prompt-starts button{font-size:10px;padding:9px 10px;gap:7px;min-height:38px}
 .keyboard-hint{display:none}
 .composer-meta{padding-top:7px;font-size:9px}
 body.product-chat #local-service-note{font-size:9px!important;margin:15px 8px 0!important}
 body.product-chat.chat-has-messages .chat-workarea{padding-bottom:10px}
 body.product-chat.chat-has-messages .chat-textarea{min-height:55px!important}
 body.product-chat.chat-has-messages .messages-list{padding-top:20px}
}
@media(max-height:700px){.chat-workarea{justify-content:flex-start;padding:24px 0}.chat-workarea #chat-onboarding .chat-eyebrow::before{display:none}body.product-chat #chat-onboarding h1{font-size:30px}body.product-chat .welcome-screen{padding-bottom:20px!important}body.product-chat.chat-has-messages .chat-workarea{padding-top:0}}
@media(prefers-reduced-motion:reduce){
 body.product-chat *,body.product-chat *::before,body.product-chat *::after,
 html body.product-chat #sidebar,html body.product-chat #chat-onboarding,
 html body.product-chat #attachment-options,html body.product-chat #modelMiniDropdown,
 html body.product-chat #deepSearchMenu,html body.product-chat .animated-input-box,
 html body.product-chat .message,html body.product-chat .product-popover,
 html body.product-chat .product-loading-label::before,html body.product-chat button{
  animation:none!important;transition:none!important;scroll-behavior:auto!important
 }
}
/* v8 — smaller visual weight, three restrained accents; behaviour is unchanged. */
body.product-chat .workspace-rail{gap:18px;padding-top:24px;background:#f0ece3}
body.product-chat .workspace-rail button{min-height:40px;padding:9px 11px;font-size:12px}
body.product-chat .workspace-rail #product-new-chat{min-height:38px;align-self:flex-start;padding:8px 12px;gap:8px;border-radius:7px;border:1px solid #ddc782;background:var(--product-honey-soft);color:#624719;box-shadow:0 1px 2px #69502908;white-space:nowrap}
body.product-chat .workspace-rail #product-new-chat:hover{background:#ebd58f;border-color:#cdb15e}
body.product-chat .workspace-rail svg{width:17px;height:17px}
body.product-chat .workspace-links [data-workspace=history] svg{color:var(--product-rust)}
body.product-chat .workspace-links [data-workspace=library] svg{color:var(--product-sage)}
body.product-chat .workspace-links [data-workspace=history]:hover{background:#efdfd4;color:#814932}
body.product-chat .workspace-links [data-workspace=library]:hover{background:#e1e9dc;color:#425d48}
body.product-chat .workspace-rail .legacy-code-launch{padding:9px 11px!important}
body.product-chat .workspace-rail .legacy-code-launch svg{color:#997629}
body.product-chat .rail-tool{padding-top:18px}
body.product-chat .rail-tool>p:last-child{margin-left:39px}
body.product-chat .chat-eyebrow{color:var(--product-rust)!important}
body.product-chat .chat-eyebrow::before{border-color:#a16b4d;background:#f3e5b7;box-shadow:inset 0 0 0 4px #f7f4ee,inset 0 0 0 5px #c39a57}
body.product-chat .animated-input-box{padding:12px 14px!important;border-color:#d7cbbb!important;border-radius:14px!important;box-shadow:0 5px 20px #73513708!important}
body.product-chat .animated-input-box:focus-within{border-color:#a89578!important;box-shadow:0 0 0 3px #c9ad7317,0 6px 22px #7351370b!important}
body.product-chat .chat-textarea{min-height:74px!important;padding:7px 4px 12px!important}
body.product-chat .chat-bottom-controls{padding-top:9px!important;border-color:#e9e0d3!important}
body.product-chat #attach-trigger,body.product-chat #deepBtn{height:36px!important;min-height:36px!important;padding:0 9px!important;border-radius:7px!important;gap:6px!important}
body.product-chat #attach-trigger{color:var(--product-sage)!important}
body.product-chat #attach-trigger:hover,body.product-chat #attach-trigger[aria-expanded=true]{background:var(--product-sage-soft)!important}
body.product-chat #deepBtn{color:var(--product-rust)!important}
body.product-chat #deepBtn:hover,body.product-chat #deepBtn.deep-active{background:var(--product-rust-soft)!important;color:#84462d!important}
body.product-chat #micBtn,body.product-chat #stopBtn{height:36px!important;min-height:36px!important;width:36px!important;min-width:36px!important}
body.product-chat #modelMiniBtn{height:36px!important;border-radius:7px!important;padding-inline:8px!important}
body.product-chat #modelMiniBtn:hover,body.product-chat #modelMiniBtn.open{background:#f3e9cf!important}
body.product-chat #sendBtn{background:var(--product-rust)!important;color:#fffaf2!important;border-color:var(--product-rust)!important;border-radius:7px!important;height:38px!important;min-height:38px!important;min-width:106px!important;padding:8px 12px!important;gap:9px!important;font-weight:500!important}
body.product-chat #sendBtn:hover{background:#81452e!important;border-color:#81452e!important}
body.product-chat #sendBtn svg{color:#ffedcb;width:15px;height:15px}
body.product-chat .prompt-starts{gap:8px;margin-top:10px}
body.product-chat .prompt-starts button{min-height:34px;padding:8px 12px;border-radius:7px;gap:12px;font-size:11px}
body.product-chat .prompt-starts [data-start=text]{background:var(--product-rust-soft);border-color:#e8cdbc;color:#80492f}
body.product-chat .prompt-starts [data-start=file]{background:var(--product-sage-soft);border-color:#ccd9c5;color:#405b45}
body.product-chat .prompt-starts [data-start=idea]{background:var(--product-honey-soft);border-color:#e5d395;color:#72551e}
body.product-chat .prompt-starts [data-start=text]:hover{background:#ebcbb9;border-color:#cfa689}
body.product-chat .prompt-starts [data-start=file]:hover{background:#d1dfc9;border-color:#acbea2}
body.product-chat .prompt-starts [data-start=idea]:hover{background:#ecda9c;border-color:#cbb368}
body.product-chat .prompt-starts button span{color:inherit;opacity:.8}
body.product-chat .user-message{background:#ece5d7!important;border-color:#ddd0b9!important}
body.product-chat .product-file-card{background:#e4ecdf!important;border-color:#c6d3be!important}
body.product-chat .product-file-card span,body.product-chat .product-file-card i{color:#425d48!important}
body.product-chat #attachment-options button:hover{background:var(--product-sage-soft);color:#405b45}
body.product-chat #attachment-options button svg{color:var(--product-sage)}
body.product-chat .dsm-cmd:nth-child(3n+1) .dsm-cmd-icon{background:var(--product-rust-soft)!important;color:var(--product-rust)!important}
body.product-chat .dsm-cmd:nth-child(3n+2) .dsm-cmd-icon{background:var(--product-sage-soft)!important;color:var(--product-sage)!important}
body.product-chat .dsm-cmd:nth-child(3n) .dsm-cmd-icon{background:var(--product-honey-soft)!important;color:var(--product-honey)!important}
body.product-chat .mmd-option.active{background:var(--product-sage-soft)!important;color:var(--product-sage)!important}
body.product-chat .message .dock-btn{min-height:34px;padding:7px 8px!important}
body.product-chat .message .response-download{color:var(--product-sage)!important}
body.product-chat #jump-latest{background:#edf1e7;border-color:#cbd6bf;color:var(--product-sage)}
/* Keep touch targets comfortable even though the desktop controls are lighter. */
@media(max-width:960px),(pointer:coarse){
 body.product-chat .workspace-rail{padding-top:9px}
 body.product-chat .workspace-rail #product-new-chat,body.product-chat .workspace-rail button{min-height:44px}
 body.product-chat #attach-trigger,body.product-chat #deepBtn,body.product-chat #micBtn,body.product-chat #stopBtn,body.product-chat #modelMiniBtn,body.product-chat #sendBtn{min-height:44px!important;height:44px!important}
 body.product-chat #micBtn,body.product-chat #stopBtn{min-width:44px!important;width:44px!important}
 body.product-chat .prompt-starts button{min-height:44px;padding:8px 10px}
 body.product-chat .message .dock-btn{min-height:44px}
 body.product-chat .product-actions>details>summary{min-height:44px;display:flex;align-items:center}
}
@media(max-width:600px){
 body.product-chat .animated-input-box{padding:10px 12px!important}
 body.product-chat .chat-textarea{min-height:66px!important}
 body.product-chat #sendBtn{min-width:108px!important}
 body.product-chat .prompt-starts{gap:6px}
 body.product-chat .prompt-starts button{font-size:10px;gap:6px}
}
@media(max-width:360px){
 body.product-chat .workspace-rail #product-new-chat{font-size:11px;padding-inline:9px;gap:5px}
 body.product-chat .workspace-mobile summary{font-size:10px;gap:4px}
}

/* Membership belongs to the same paper / coffee / clay system as the chat. */
html body.product-chat #upgradeModal {
 position:fixed!important;inset:0!important;padding:0!important;margin:0!important;
 align-items:center!important;justify-content:center!important;background:#28221e80!important;
 backdrop-filter:blur(5px)!important;overflow:hidden!important;color:#28231f!important;
 font-family:"Segoe UI",Arial,sans-serif!important;opacity:1!important;
}
#upgradeModal .sp-dialog,#upgradeModal .sp-dialog *{box-sizing:border-box;text-shadow:none!important;letter-spacing:normal;filter:none!important}
#upgradeModal .sp-dialog{width:100%;height:100dvh;max-height:100dvh;display:flex;flex-direction:column;min-height:0;margin:0;background:#f7f4ee;border:0;border-radius:0;box-shadow:none;overflow:hidden;animation:sp-enter .2s ease-out}
#upgradeModal .sp-header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 24px;border-bottom:1px solid #e3dcd1;background:#f7f4ee}
#upgradeModal .sp-brand{display:flex;gap:9px;align-items:center;color:#28231f;font:650 22px/1 "Segoe UI",sans-serif;text-decoration:none;min-height:44px}
#upgradeModal .sp-brand>span{color:#9d773f;font-size:30px;font-weight:400}
#upgradeModal .sp-brand small{margin-left:8px;padding-left:15px;border-left:1px solid #d8cfc2;color:#766757;font-size:9px;font-weight:500;letter-spacing:1.5px}
#upgradeModal .sp-close{width:44px;height:44px;flex-shrink:0;border:1px solid #ded6cb;border-radius:50%;background:#fffdf9;color:#594a3d;font:400 27px/1 "Segoe UI",sans-serif;cursor:pointer;box-shadow:none}
#upgradeModal .sp-close:hover{background:#eadfd1}
#upgradeModal .sp-scroll{padding:clamp(28px,5vh,60px) max(24px,calc((100% - 1100px)/2)) 32px;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c5b6a2 transparent}
#upgradeModal .sp-intro{text-align:center;margin:0 auto 22px;max-width:610px}
#upgradeModal .sp-eyebrow{color:#89543a;font:500 10px/1.5 "Segoe UI",sans-serif;letter-spacing:1.6px;margin:0 0 10px}
#upgradeModal #sp-title{font:400 clamp(28px,3.5vw,43px)/1.17 Georgia,"Times New Roman",serif;letter-spacing:-1px;color:#30271f;margin:0 0 12px;padding:0}
#upgradeModal #sp-description{font:14px/1.7 "Segoe UI",sans-serif;color:#716557;margin:0}
#upgradeModal .sp-billing{display:flex;align-items:center;justify-content:center;gap:4px;width:max-content;max-width:100%;margin:0 auto 26px;padding:4px;border:1px solid #dfd6c9;border-radius:10px;background:#ece5da;font:12px/1.5 "Segoe UI",sans-serif}
#upgradeModal .sp-billing>span{padding:9px 15px;border-radius:7px}
#upgradeModal .sp-billing-active{background:#fffdf9;color:#3d3127;box-shadow:0 1px 3px #48311c0d}
#upgradeModal .sp-billing-unavailable{color:#756b60;display:flex;gap:7px;align-items:center}
#upgradeModal .sp-billing small{color:#665321;font:10px "Segoe UI",sans-serif;padding:3px 6px;border-radius:4px;background:#f3e5b7}
#upgradeModal .sp-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
#upgradeModal .sp-plan{--plan-ink:#425d48;--plan-tint:#e1e9dc;padding:22px;border:1px solid #ded6cb;border-radius:13px;background:#fffdf9;color:#30271f;position:relative;min-width:0;transition:border-color .16s,box-shadow .16s}
#upgradeModal .sp-plan-max{--plan-ink:#995438;--plan-tint:#f2dfd4;background:#faf0e7;border-color:#cdad95}
#upgradeModal .sp-plan-alpha{--plan-ink:#edcf90;--plan-tint:#4c3e2e;background:#30271f;border-color:#30271f;color:#f7f0e4}
#upgradeModal .sp-plan-top{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:10px}
#upgradeModal .sp-plan h2{font:600 21px/1.2 "Segoe UI",sans-serif;color:inherit;margin:0;padding:0}
#upgradeModal .sp-plan-index{font:11px Consolas,monospace;color:var(--plan-ink);background:var(--plan-tint);border-radius:5px;padding:5px 7px}
#upgradeModal .sp-plan-description{font:12px/1.6 "Segoe UI",sans-serif;color:#796958;margin:0 0 20px}
#upgradeModal .sp-plan-alpha .sp-plan-description{color:#c9b9a4}
#upgradeModal .sp-amount{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px;margin-bottom:20px}
#upgradeModal .sp-amount strong{font:500 clamp(30px,3vw,37px)/1.2 "Segoe UI",sans-serif;color:inherit;letter-spacing:-1.6px}
#upgradeModal .sp-amount span{font:12px "Segoe UI",sans-serif;color:#746353}
#upgradeModal .sp-amount small{width:100%;font:11px/1.6 "Segoe UI",sans-serif;color:#796958;margin-top:2px}
#upgradeModal .sp-plan-alpha .sp-amount span,#upgradeModal .sp-plan-alpha .sp-amount small{color:#c9b9a4}
#upgradeModal .sp-choose{width:100%;min-height:44px;padding:11px 14px;display:flex;justify-content:center;align-items:center;border-radius:7px;border:1px solid #c5cebf;background:#e1e9dc;color:#364e3b;box-shadow:none;font:600 12px/1.5 "Segoe UI",sans-serif;cursor:pointer;transition:background .15s,box-shadow .15s}
#upgradeModal .sp-plan-max .sp-choose{background:#995438;color:#fffdf9;border-color:#995438}
#upgradeModal .sp-plan-alpha .sp-choose{background:#edcf90;color:#382b1e;border-color:#edcf90}
#upgradeModal .sp-choose:hover{box-shadow:inset 0 0 0 50px #2b20120d}
#upgradeModal .sp-choose:disabled{opacity:.55;cursor:not-allowed}
#upgradeModal .sp-features{list-style:none;display:grid;gap:13px;margin:22px 0 0;padding:20px 0 0;border-top:1px solid #e3d9cc;font:12px/1.65 "Segoe UI",sans-serif;color:#5d5247}
#upgradeModal .sp-features li{position:relative;padding:0 0 0 21px;margin:0;overflow-wrap:anywhere}
#upgradeModal .sp-features li::before{content:'✓';position:absolute;left:0;top:0;color:var(--plan-ink);font-size:13px}
#upgradeModal .sp-plan-alpha .sp-features{border-color:#5b4b3c;color:#dfd2c2}
#upgradeModal .sp-selected{box-shadow:0 0 0 2px #a57b39}
#upgradeModal .sp-checkout[hidden]{display:none!important}
#upgradeModal .sp-checkout{margin-top:20px;padding:20px;border:1px solid #d1bd9d;border-radius:12px;background:#eee5d5;display:flex;align-items:center;justify-content:space-between;gap:22px;scroll-margin:16px}
#upgradeModal .sp-checkout h2{font:600 18px/1.4 "Segoe UI",sans-serif;color:#30271f;margin:0 0 5px}
#upgradeModal .sp-checkout p:not(.sp-eyebrow){max-width:450px;font:12px/1.6 "Segoe UI",sans-serif;color:#736250;margin:0}
#upgradeModal .sp-checkout-actions{display:grid;gap:5px;flex-shrink:0}
#upgradeModal .sp-continue{display:flex;align-items:center;justify-content:center;min-height:44px;padding:11px 15px;border-radius:7px;background:#59412f;color:#fff9ef;text-decoration:none;font:600 12px/1.5 "Segoe UI",sans-serif}
#upgradeModal .sp-cancel,#upgradeModal .sp-return{border:0;background:transparent;min-height:44px;padding:10px 12px;color:#624932;font:12px/1.5 "Segoe UI",sans-serif;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
#upgradeModal .sp-footer{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;margin:23px 0 0}
#upgradeModal .sp-footer p{color:#766757;font:11px/1.7 "Segoe UI",sans-serif;max-width:680px;margin:0}
#upgradeModal .sp-return{display:flex;gap:16px;align-items:center;text-decoration:none}
#upgradeModal .sp-return:hover,#upgradeModal .sp-cancel:hover{text-decoration:underline}
#upgradeModal .sp-dialog :is(button,a):focus-visible{outline:2px solid #a57b39!important;outline-offset:4px!important}
@keyframes sp-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){
 html body.product-chat #upgradeModal{padding:0!important}
 #upgradeModal .sp-dialog{max-height:100dvh;border-radius:0}
 #upgradeModal .sp-header{padding:10px 16px}
 #upgradeModal .sp-scroll{padding:24px 18px 20px}
 #upgradeModal .sp-plans{grid-template-columns:1fr;gap:14px}
 #upgradeModal .sp-plan{padding:22px}
 #upgradeModal .sp-plan-description{margin-bottom:16px}
 #upgradeModal .sp-checkout{flex-direction:column;align-items:stretch;gap:16px}
 #upgradeModal .sp-brand small{font-size:8px;padding-left:10px}
 #upgradeModal .sp-billing>span{padding:8px 10px}
}
@media(prefers-reduced-motion:reduce){#upgradeModal .sp-dialog,#upgradeModal .sp-dialog *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Document actions must not sit underneath the global fixed navigation. */
body.product-chat #artifactPanel{top:var(--chat-header-height,68px)!important;height:calc(100dvh - var(--chat-header-height,68px))!important;width:min(820px,70vw)!important;min-width:0!important;max-width:100vw!important;z-index:2147482850!important}
body.product-chat #artifactPanel:not(.open){visibility:hidden;pointer-events:none}
body.product-chat #artifactPanel .artifact-header{padding:12px 16px;flex-shrink:0;gap:12px;min-height:64px}
body.product-chat #artifactPanel .artifact-title{min-width:0;flex:1;font:600 13px/1.4 "Segoe UI",sans-serif;color:#54402e}
body.product-chat #artifactTitleText{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.product-chat #artifactPanel .artifact-title i{color:#9c7047;font-size:22px}
body.product-chat #artifactPanel .artifact-actions{flex-shrink:0;gap:6px}
body.product-chat #artifactPanel .artifact-btn{min-height:42px;padding:10px 12px;font-size:12px;white-space:nowrap}
body.product-chat #artifactPanel .artifact-body{min-height:0;flex:1;overflow:auto;background:#e9e1d5}
body.product-chat #documentEditorWrapper{background:#e9e1d5;padding:24px;overflow:auto}
body.product-chat #documentEditorPage{color:#262626;box-sizing:border-box}
body.product-chat #documentEditorPage table{border-collapse:collapse;width:100%;margin:16px 0;font-size:13px}
body.product-chat #documentEditorPage :is(th,td){border:1px solid #cfcfcf;padding:8px;text-align:left}
body.product-chat #documentEditorPage th{background:#efefed}
body.product-chat .doc-card{background:#fffdf9!important;border:1px solid #cbbba6!important;box-shadow:none!important;color:#493524!important}
body.product-chat .doc-card-title{color:#493524!important}
body.product-chat .doc-card-subtitle{color:#85715a!important}
@media(max-width:760px){
 body.product-chat #artifactPanel{width:100vw!important;border-left:0!important}
 body.product-chat #artifactPanel .artifact-header{flex-wrap:wrap;gap:8px;padding:10px 12px}
 body.product-chat #artifactPanel .artifact-title{flex-basis:100%;font-size:12px}
 body.product-chat #artifactPanel .artifact-actions{width:100%;justify-content:flex-end}
 body.product-chat #documentEditorWrapper{padding:14px}
 body.product-chat #documentEditorPage{padding:22px!important;width:100%!important;min-width:0!important}
}

/* Device-local history: small controls with clear status and keyboard access. */
body.product-chat #chat-storage-status{font-size:11px;color:#65735b;max-width:240px;text-align:right;line-height:1.5}
body.product-chat #chat-storage-status[data-error=true]{color:#a0442f}
body.product-chat .local-history-note{font:11px/1.6 "Segoe UI",sans-serif;color:#7b6a57;margin:10px 4px 12px}
body.product-chat #history-search{width:100%;min-height:42px;border:1px solid #d7cbbb;border-radius:8px;padding:10px 12px;margin-bottom:14px;background:#fffdf9;color:#352a20;font:13px "Segoe UI",sans-serif}
body.product-chat .local-history-item{display:flex;gap:3px;align-items:center;border:1px solid #e1d7ca;border-radius:9px;margin-bottom:8px;padding:4px;background:#fffdf9;min-width:0}
body.product-chat .local-history-item[data-current=true]{border-color:#b4bda6;background:#eef1e7}
body.product-chat .local-history-item button{border:0;background:transparent;box-shadow:none;color:#544532;cursor:pointer;min-height:44px;border-radius:6px}
body.product-chat .local-history-open{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;padding:8px;font:13px/1.5 "Segoe UI",sans-serif}
body.product-chat .local-history-open small{display:block;font:10px/1.5 "Segoe UI",sans-serif;color:#88755f;margin-top:3px}
body.product-chat .local-history-star,body.product-chat .local-history-delete{width:36px;flex-shrink:0;font-size:19px}
body.product-chat .local-history-star[aria-pressed=true]{color:#966b24}
body.product-chat .local-history-item button:hover{background:#e8dfd1}
body.product-chat .local-history-item button:focus-visible,body.product-chat #history-search:focus-visible{outline:2px solid #936e43;outline-offset:2px}
body.product-chat .local-file-missing{display:block;padding:12px;border:1px solid #d6b694;border-radius:8px;color:#865530;font:12px/1.6 "Segoe UI",sans-serif;background:#faf0df}
body.product-chat .local-retry{background:none;border:0;color:#8c5237;text-decoration:underline;text-underline-offset:3px;font-size:11px;cursor:pointer}
body.product-chat .local-retry[hidden]{display:none!important}
body.product-chat .composer-meta:has(.local-retry:not([hidden])){flex-wrap:wrap}
@media(max-width:600px){body.product-chat #chat-storage-status{display:block;max-width:150px;font-size:10px}}

/* Files are durable objects, not unlabeled links or decorative upload chips. */
body.product-chat .local-file-card{display:flex;align-items:center;gap:13px;width:min(100%,560px);box-sizing:border-box;padding:16px;margin:10px 0;background:#fffdf9;border:1px solid #d9cdbd;border-radius:12px;text-align:left;color:#493524;overflow:hidden}
body.product-chat .local-file-badge{flex-shrink:0;display:grid;place-items:center;width:46px;height:54px;border:1px solid #d5bea0;border-radius:7px;background:#efe3cf;color:#785737;font:650 10px/1 "Segoe UI",sans-serif;letter-spacing:.4px}
body.product-chat .local-file-thumbnail{width:54px;height:54px;object-fit:cover;flex-shrink:0;border-radius:7px}
body.product-chat .local-file-details{flex:1;min-width:0}
body.product-chat .local-file-details strong{display:block;font:600 13px/1.5 "Segoe UI",sans-serif;overflow-wrap:anywhere;color:#493524}
body.product-chat .local-file-details small{display:block;margin-top:4px;font:11px/1.5 "Segoe UI",sans-serif;color:#7d6d59}
body.product-chat .local-file-actions{display:flex;flex-wrap:wrap;gap:5px;flex-shrink:0}
body.product-chat .local-file-actions :is(a,button){display:flex;align-items:center;justify-content:center;min-height:40px;padding:8px 11px;border:1px solid #ded1bf;border-radius:7px;background:#f4ede2;color:#624932;font:600 11px/1.4 "Segoe UI",sans-serif;text-decoration:none;box-sizing:border-box;cursor:pointer;box-shadow:none}
body.product-chat .local-file-actions :is(a,button):hover{background:#e9ddca}
body.product-chat .local-file-actions :is(a,button):focus-visible,body.product-chat .local-attachment-remove:focus-visible{outline:2px solid #956d3b;outline-offset:3px}
body.product-chat #imagePreviewContainer{flex-wrap:wrap;gap:8px;max-height:140px;overflow:auto}
body.product-chat .local-attachment-draft{display:flex;align-items:center;gap:8px;max-width:100%;padding:5px 6px 5px 11px;border:1px solid #d9c7ac;border-radius:8px;background:#f1e6d5;color:#624932}
body.product-chat .local-attachment-draft>span{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:12px/1.5 "Segoe UI",sans-serif}
body.product-chat .local-attachment-draft img{width:34px;height:34px;object-fit:cover;border-radius:4px}
body.product-chat .local-attachment-remove{flex-shrink:0;width:34px;min-height:34px;border:0;border-radius:5px;background:transparent;color:#785737;font:22px/1 "Segoe UI",sans-serif;cursor:pointer}
body.product-chat .local-attachment-remove:hover{background:#e5d5bf}
@media(max-width:600px){body.product-chat .local-file-card{flex-wrap:wrap;padding:13px;gap:10px}body.product-chat .local-file-actions{width:100%;padding-left:56px;box-sizing:border-box}body.product-chat .local-attachment-draft>span{max-width:180px}}

/* Motion v12 — quick, finite, layout-safe. Never transform containers which
   anchor fixed menus. The interface is visible even if this enhancement fails. */
html body.product-chat {--motion-ease:cubic-bezier(.2,.75,.25,1);--motion-quick:150ms;--motion-enter:260ms}
html body.product-chat #chat-onboarding{animation:none!important}
#motion-preference.motion-setting{display:flex;align-items:center;justify-content:space-between;gap:10px}
#motion-preference small{font:10px/1.5 "Segoe UI",sans-serif;padding:3px 6px;border-radius:5px;background:#ede5da;color:#71604e}
#motion-preference[aria-pressed="true"] small{background:#e1e9dc;color:#425d48}
#motion-preference:disabled{opacity:.7;cursor:default}
html body.product-chat .animated-input-box[data-has-draft="true"]{border-color:#b99873!important}
html body.product-chat .animated-input-box:focus-within{border-color:#a17945!important;box-shadow:0 0 0 3px #b88c4916,0 10px 28px #6b45270d!important}

@media(prefers-reduced-motion:no-preference){
 /* 1. Welcome appears in a short sequence after the warm boot screen is gone. */
 html body.product-chat.motion-ready:not([data-motion="reduce"]) #chat-onboarding>.chat-eyebrow{animation:solifon-rise 300ms var(--motion-ease) both!important}
 html body.product-chat.motion-ready:not([data-motion="reduce"]) #chat-onboarding>h1{animation:solifon-rise 340ms 45ms var(--motion-ease) both!important}
 html body.product-chat.motion-ready:not([data-motion="reduce"]) #chat-onboarding>p:not(.chat-eyebrow){animation:solifon-rise 340ms 90ms var(--motion-ease) both!important}
 html body.product-chat.motion-ready:not([data-motion="reduce"]) .chat-eyebrow::before{animation:solifon-diamond 550ms var(--motion-ease) both!important}
 html body.product-chat.motion-ready:not([data-motion="reduce"]) .prompt-starts button{animation:solifon-rise 280ms 120ms var(--motion-ease) backwards!important}
 html body.product-chat.motion-ready:not([data-motion="reduce"]) .prompt-starts button:nth-child(2){animation-delay:160ms!important}
 html body.product-chat.motion-ready:not([data-motion="reduce"]) .prompt-starts button:nth-child(3){animation-delay:200ms!important}

 /* 2. Press/release and icon feedback, without changing the hit target/layout. */
 html body.product-chat:not([data-motion="reduce"]) :is(.workspace-rail button,.prompt-starts button,#attach-trigger,#deepBtn,#modelMiniBtn,#micBtn,#stopBtn,#sendBtn,.sp-choose,.sp-close,.sp-cancel,.sp-return,.sp-continue,.product-actions summary){transition:background-color 150ms,color 150ms,border-color 180ms,box-shadow 180ms,scale 150ms var(--motion-ease),translate 150ms var(--motion-ease)!important}
 html body.product-chat:not([data-motion="reduce"]) :is(.workspace-rail button,.prompt-starts button,#attach-trigger,#deepBtn,#modelMiniBtn,#micBtn,#stopBtn,#sendBtn,.sp-choose,.sp-close,.sp-cancel,.sp-return,.sp-continue,.product-actions summary):active{scale:.975;translate:0 1px}
 html body.product-chat:not([data-motion="reduce"]) :is(.workspace-rail button,.chat-bottom-controls button) svg{transition:translate 180ms var(--motion-ease),rotate 180ms var(--motion-ease)!important}
 html body.product-chat:not([data-motion="reduce"]) #deepBtn[aria-expanded="true"] svg{rotate:45deg}
 html body.product-chat:not([data-motion="reduce"]) .workspace-mobile summary svg{transition:rotate 180ms var(--motion-ease)}
 html body.product-chat:not([data-motion="reduce"]) .workspace-mobile[open] summary svg{rotate:180deg}
 html body.product-chat:not([data-motion="reduce"]) .animated-input-box{transition:border-color 220ms,box-shadow 220ms!important}
 html body.product-chat:not([data-motion="reduce"]) .animated-input-box[data-has-draft="true"] #sendBtn svg{translate:0 -2px}
 html body.product-chat:not([data-motion="reduce"]) #input-counter.near-limit{animation:solifon-attention 300ms ease-out!important}

 /* 3. Popovers reveal inside their existing bounds. Closing stays immediate. */
 html body.product-chat:not([data-motion="reduce"]) :is(.product-popover,#attachment-options:not([hidden]),#modelMiniDropdown.open,#deepSearchMenu){animation:solifon-menu 180ms var(--motion-ease)!important}
 html body.product-chat:not([data-motion="reduce"]) :is(.product-popover,#attachment-options,#modelMiniDropdown,#deepSearchMenu) :is(button,a,.mmd-option,.dsm-cmd){transition:background-color 130ms,color 130ms,box-shadow 130ms!important}
 html body.product-chat:not([data-motion="reduce"]) #sidebar{transition:transform 260ms var(--motion-ease)!important}
 html body.product-chat.product-drawer-open:not([data-motion="reduce"]) #sidebar .empty-library{animation:solifon-rise 300ms 60ms var(--motion-ease) backwards!important}
 html body.product-chat:not([data-motion="reduce"]) #jump-latest:not([hidden]){animation:solifon-rise 180ms var(--motion-ease)!important}
 html body.product-chat:not([data-motion="reduce"]) .message{animation:solifon-message 240ms var(--motion-ease)!important}
 html body.product-chat:not([data-motion="reduce"]) .product-file-card{animation:solifon-rise 200ms var(--motion-ease)!important}
 html body.product-chat:not([data-motion="reduce"]) .dock-btn:focus-visible{transition:background-color 150ms!important}

 /* 4. Subscription: dialog, cards, feature marks and selected-plan feedback. */
 html body.product-chat:not([data-motion="reduce"]) #upgradeModal .sp-dialog{animation:solifon-dialog 240ms var(--motion-ease)!important}
 html body.product-chat:not([data-motion="reduce"]) #upgradeModal .sp-intro{animation:solifon-rise 300ms 40ms var(--motion-ease) backwards}
 html body.product-chat:not([data-motion="reduce"]) #upgradeModal .sp-billing{animation:solifon-rise 300ms 75ms var(--motion-ease) backwards}
 html body.product-chat:not([data-motion="reduce"]) #upgradeModal .sp-plan{transition:box-shadow 180ms,border-color 180ms,translate 180ms var(--motion-ease)!important}
 html body.product-chat:not([data-motion="reduce"]) #upgradeModal .sp-plan.motion-in-view{animation:solifon-rise 300ms 50ms var(--motion-ease) backwards}
 html body.product-chat:not([data-motion="reduce"]) #upgradeModal .sp-plan.motion-in-view:nth-child(2){animation-delay:95ms}
 html body.product-chat:not([data-motion="reduce"]) #upgradeModal .sp-plan.motion-in-view:nth-child(3){animation-delay:140ms}
 html body.product-chat:not([data-motion="reduce"]) #upgradeModal .sp-plan-index{transition:rotate 180ms var(--motion-ease),background-color 180ms}
 html body.product-chat:not([data-motion="reduce"]) #upgradeModal .sp-selected .sp-plan-index{animation:solifon-attention 280ms var(--motion-ease)}
 html body.product-chat:not([data-motion="reduce"]) #upgradeModal .motion-in-view .sp-features li::before{animation:solifon-check 220ms 130ms var(--motion-ease) backwards}
 html body.product-chat:not([data-motion="reduce"]) #upgradeModal .motion-in-view .sp-features li:nth-child(2)::before{animation-delay:160ms}
 html body.product-chat:not([data-motion="reduce"]) #upgradeModal .motion-in-view .sp-features li:nth-child(3)::before{animation-delay:190ms}
 html body.product-chat:not([data-motion="reduce"]) #upgradeModal .motion-in-view .sp-features li:nth-child(4)::before{animation-delay:220ms}
 html body.product-chat:not([data-motion="reduce"]) #upgradeModal .motion-in-view .sp-features li:nth-child(5)::before{animation-delay:250ms}
 html body.product-chat:not([data-motion="reduce"]) #upgradeModal .sp-checkout:not([hidden]){animation:solifon-rise 240ms var(--motion-ease)}
 html body.product-chat:not([data-motion="reduce"]) #upgradeModal .sp-close{transition:rotate 180ms var(--motion-ease),background-color 180ms!important}
}

@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 html body.product-chat:not([data-motion="reduce"]) .product-brand>span svg{transition:rotate 300ms var(--motion-ease)}
 html body.product-chat:not([data-motion="reduce"]) .product-brand:hover>span svg{rotate:8deg}
 html body.product-chat:not([data-motion="reduce"]) .product-nav a{transition:background-color 180ms,color 180ms!important}
 html body.product-chat:not([data-motion="reduce"]) .product-nav a::after{content:'';position:absolute;left:15px;right:15px;bottom:6px;height:1px;background:var(--nav-ink,#a57b39);scale:0 1;transform-origin:left;transition:scale 180ms var(--motion-ease)}
 html body.product-chat:not([data-motion="reduce"]) .product-nav a:is(:hover,[aria-current])::after{scale:1 1}
 html body.product-chat:not([data-motion="reduce"]) :is(.workspace-rail button,.prompt-starts button):hover{translate:0 -1px}
 html body.product-chat:not([data-motion="reduce"]) .workspace-rail button:hover svg{translate:1px 0}
 html body.product-chat:not([data-motion="reduce"]) #attach-trigger:hover svg{rotate:-9deg}
 html body.product-chat:not([data-motion="reduce"]) #sendBtn:hover svg{translate:0 -3px}
 html body.product-chat:not([data-motion="reduce"]) .prompt-starts button span{display:inline-block;transition:translate 180ms var(--motion-ease)}
 html body.product-chat:not([data-motion="reduce"]) .prompt-starts button:hover span{translate:2px -1px}
 html body.product-chat:not([data-motion="reduce"]) #upgradeModal .sp-plan:hover{translate:0 -2px;box-shadow:0 8px 20px #51361b10}
 html body.product-chat:not([data-motion="reduce"]) #upgradeModal .sp-selected:hover{box-shadow:0 0 0 2px #a57b39,0 8px 20px #51361b10}
 html body.product-chat:not([data-motion="reduce"]) #upgradeModal .sp-plan:hover .sp-plan-index{rotate:-4deg}
 html body.product-chat:not([data-motion="reduce"]) #upgradeModal .sp-close:hover{rotate:90deg}
}

@keyframes solifon-rise{from{opacity:0;translate:0 7px}to{opacity:1;translate:0 0}}
@keyframes solifon-diamond{from{opacity:0;rotate:-35deg;scale:.8}to{opacity:1;rotate:0deg;scale:1}}
@keyframes solifon-menu{from{opacity:0;clip-path:inset(0 0 8% 0 round 12px)}to{opacity:1;clip-path:inset(0 round 12px)}}
@keyframes solifon-message{from{opacity:.35;translate:0 5px}to{opacity:1;translate:0 0}}
@keyframes solifon-dialog{from{opacity:0;translate:0 8px;scale:.99}to{opacity:1;translate:0 0;scale:1}}
@keyframes solifon-attention{0%,100%{scale:1}45%{scale:1.07}}
@keyframes solifon-check{from{opacity:0;scale:.7;translate:-2px 1px}to{opacity:1;scale:1;translate:0 0}}

/* Runtime preference also disables legacy motion and decorative pseudo-elements. */
html body.product-chat[data-motion="reduce"] *,html body.product-chat[data-motion="reduce"] *::before,html body.product-chat[data-motion="reduce"] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important;translate:none!important;scale:none!important;rotate:none!important}
/* Match the retained ID-scoped !important rules as well as the new selectors. */
html body.product-chat[data-motion="reduce"] :is(#sidebar,#chat-onboarding,#attachment-options,#modelMiniDropdown,#deepSearchMenu,#jump-latest,#sendBtn,#upgradeModal,.animated-input-box,.message,.product-popover,button,svg),
html body.product-chat[data-motion="reduce"] #upgradeModal *,
html body.product-chat[data-motion="reduce"] #chat-onboarding *{animation:none!important;transition:none!important;scroll-behavior:auto!important;translate:none!important;scale:none!important;rotate:none!important}
html body.product-chat.motion-paused *,html body.product-chat.motion-paused *::before,html body.product-chat.motion-paused *::after{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){
 html body.product-chat *,html body.product-chat *::before,html body.product-chat *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important;translate:none!important;scale:none!important;rotate:none!important}
}
