/* Workspace revision 3. Layout rules are scoped so existing chat/result mechanics remain intact. */
.vr.vr-v3 {--ease:cubic-bezier(.2,.7,.2,1); -webkit-font-smoothing:antialiased}
.vr.vr-v3 button {transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.vr.vr-v3 button:focus-visible,.vr.vr-v3 input:focus-visible,.vr.vr-v3 textarea:focus-visible{outline:2px solid var(--accentText);outline-offset:3px}
.vr.vr-v3 .vr-side{padding:24px 16px 16px!important;gap:22px!important;flex-basis:256px;width:256px;border-right-color:var(--border)!important}
.vr.vr-v3 .vr-side>div:first-child{padding:0 6px!important}
.vr.vr-v3 .vr-side>button.vr-primary{border-radius:14px!important;min-height:48px!important;box-shadow:0 4px 12px #5932b71c;background:linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent),#36245f 16%))!important}
.vr.vr-v3 .vr-side>button.vr-primary:hover{transform:translateY(-1px);box-shadow:0 6px 18px #5932b72c}
.vr.vr-v3 .vr-side .vr-item{border-radius:10px!important;min-height:42px!important}
.vr.vr-v3 .vr-side .vr-sec{font-size:12px;letter-spacing:.025em;min-height:38px}
.vr.vr-v3 .vr-side-nav{min-height:64px;overflow:auto;scrollbar-width:thin;gap:4px!important}
.vr.vr-v3 .vr-side-bottom{gap:18px}
.vr.vr-v3 .vr-plan-card{padding:14px!important;border-radius:15px!important;box-shadow:none;border-color:var(--border)!important;gap:10px!important}
.vr.vr-v3 .vr-plan-card .vr-plan-sub{font-size:11px!important;line-height:1.5!important}
.vr.vr-v3 .vr-plan-card .vr-bar{border-radius:99px}
.vr.vr-v3 .gpt-chat>header{min-height:70px;flex-shrink:0;padding:14px 30px!important;border-bottom:1px solid color-mix(in srgb,var(--border),transparent 30%)!important}
.vr.vr-v3 .gpt-test-tag{background:transparent;border:1px solid var(--border);border-radius:8px;padding:5px 9px;color:var(--muted);font-size:11px;white-space:nowrap}
.vr.vr-v3 .gpt-test-tag:hover{background:var(--accentSoft);color:var(--accentText)}
.vr.vr-v3 .gpt-export{font-size:13px;border-radius:8px;min-height:32px;padding:0 9px}
.vr.vr-v3 .vr-balance{font-size:13px;min-height:32px;border:1px solid var(--border);background:var(--surface);border-radius:99px;padding:0 13px}
.vr.vr-v3 .gpt-chat{position:relative}
.vr.vr-v3 .gpt-chat-empty{background:radial-gradient(ellipse 65% 50% at 50% 30%,color-mix(in srgb,var(--accentSoft),transparent 35%),transparent 85%),var(--bg)!important}
.vr.vr-v3 .gpt-chat-empty .vr-msgs{flex:0 0 auto!important;overflow:visible;padding:26px 24px 24px!important;margin-top:clamp(6px,3vh,32px);gap:0!important}
.vr.vr-v3 .vr-hello{align-items:center!important;text-align:center!important;max-width:900px;gap:0!important;padding:0!important;margin:0 auto!important;position:relative}
.vr.vr-v3 .gpt-welcome-mark{width:60px;height:60px;display:grid;place-items:center;position:relative;margin-bottom:22px;border-radius:20px;background:linear-gradient(145deg,var(--surface),var(--accentSoft));box-shadow:inset 0 0 0 1px var(--surface),0 12px 35px #6340a819;transform:translate(var(--mx,0px),var(--my,0px)) rotate(-6deg);transition:transform .45s var(--ease)}
.vr.vr-v3 .gpt-welcome-mark img{width:47px;height:47px;object-fit:contain;transform:rotate(6deg)}
.vr.vr-v3 .gpt-mark-orbit{position:absolute;width:110px;height:40px;border:1px solid color-mix(in srgb,var(--accentText),transparent 75%);border-radius:50%;transform:rotate(-32deg);pointer-events:none}
.vr.vr-v3 .gpt-welcome-label{font-size:11px;line-height:1.5;letter-spacing:.15em;text-transform:uppercase;color:var(--accentText);font-weight:600;margin:0 0 12px}
.vr.vr-v3 .vr-hello-title{font:600 clamp(30px,3.2vw,46px)/1.18 Manrope,Inter,sans-serif!important;letter-spacing:-.045em!important;margin:0!important;max-width:100%;overflow-wrap:anywhere}
.vr.vr-v3 .vr-hello p{font-size:16px!important;line-height:1.65!important;margin:14px auto 0!important;color:var(--muted);max-width:57ch!important}
.vr.vr-v3 .gpt-compose-wrap{max-width:888px!important;flex:0 0 auto;gap:12px!important}
.vr.vr-v3 .gpt-chat-empty .gpt-compose-wrap{padding-bottom:22px!important}
.vr.vr-v3 .gpt-task-types{gap:8px!important;min-height:38px;align-items:center;flex-shrink:0}
.vr.vr-v3 .gpt-board-context{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted);padding:3px 0}
.vr.vr-v3 .gpt-board-context button{border:0;background:transparent;color:var(--accentText);font-size:12px;min-height:32px;padding:0 6px;border-radius:8px}
.vr.vr-v3 .gpt-chat-empty .gpt-task-types{justify-content:center}
.vr.vr-v3 .gpt-chat-empty .gpt-task-types button:last-child{display:none!important}
.vr.vr-v3 .gpt-task-types button{background:var(--surface)!important;border:1px solid var(--border)!important;border-radius:10px!important;min-height:36px!important;color:var(--muted)!important}
.vr.vr-v3 .gpt-task-types button:hover{background:var(--accentSoft)!important;color:var(--accentText)!important;border-color:color-mix(in srgb,var(--accentText),transparent 65%)!important;transform:translateY(-1px)}
.vr.vr-v3 .vr-composer{border-radius:22px!important;padding:17px 17px 12px 21px!important;border:1px solid color-mix(in srgb,var(--accentText),var(--border) 75%)!important;box-shadow:0 16px 48px #2920440c,0 2px 6px #29204406!important;gap:14px!important}
.vr.vr-v3 .vr-composer:focus-within{box-shadow:0 0 0 3px var(--accentSoft),0 16px 48px #29204410!important;border-color:color-mix(in srgb,var(--accentText),var(--border) 40%)!important}
.vr.vr-v3 #vr-input{font-size:16px!important;line-height:1.65!important;min-height:62px!important;max-height:220px;overflow:auto}
.vr.vr-v3 .gpt-composer-tools{gap:7px!important;min-width:0;position:relative;flex-wrap:wrap}
.vr.vr-v3 .gpt-attach{font-size:12px;min-width:63px;border-radius:10px!important;gap:6px!important;padding:0 8px!important}
.vr.vr-v3 .gpt-level-select{border:1px solid var(--border)!important;border-radius:11px!important;background:var(--surface2)!important;font-size:13px!important;gap:6px!important;min-height:38px!important;white-space:nowrap}
.vr.vr-v3 .gpt-level-label{font-size:12px;font-weight:400;color:var(--muted)}
.vr.vr-v3 .gpt-level-menu{bottom:48px!important;max-height:min(490px,65dvh);overflow-y:auto;box-shadow:0 18px 55px #15102024!important}
.vr.vr-v3 .gpt-level-menu .vr-item{min-height:60px!important}
.vr.vr-v3 .vr-attach-menu{width:340px;max-width:calc(100vw - 48px);padding:10px;box-shadow:0 18px 55px #15102024}
.vr.vr-v3 .vr-attach-menu button{gap:14px;padding:14px 10px;align-items:flex-start}
.vr.vr-v3 .vr-attach-menu button span{gap:6px;line-height:1.5}
.vr.vr-v3 .vr-send{border-radius:13px!important;width:42px!important;height:42px!important;flex-shrink:0}
.vr.vr-v3 .gpt-quick-starts{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;padding:5px 0 0}
.vr.vr-v3 .gpt-quick-starts button{font-size:12px;color:var(--muted);display:flex;gap:14px;align-items:center;border:0;border-radius:8px;padding:8px 11px;background:transparent}
.vr.vr-v3 .gpt-quick-starts button:hover{background:var(--accentSoft);color:var(--accentText)}
.vr.vr-v3 .gpt-quick-starts button>span:last-child{color:var(--accentText);font-size:16px}
.vr.vr-v3 .gpt-home-examples{margin:20px 0 10px;min-width:0}
.vr.vr-v3 .gpt-home-examples-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px;font-size:12px;color:var(--muted)}
.vr.vr-v3 .gpt-home-examples-head button{background:none;border:0;color:var(--accentText);font-size:12px;min-height:30px;white-space:nowrap}
.vr.vr-v3 .vr-hello-ideas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px!important;margin:0!important;width:100%}
.vr.vr-v3 .vr-hello-card{gap:9px!important;padding:0;border:0;background:none;min-width:0}
.vr.vr-v3 .vr-hello-thumb{width:100%;aspect-ratio:2.4!important;border-radius:14px!important;box-shadow:inset 0 0 0 1px #0001}
.vr.vr-v3 .vr-hello-thumb img{object-position:center 45%}
.vr.vr-v3 .vr-hello-name{font-size:12px!important;font-weight:500;line-height:1.5!important;color:var(--muted);display:block}
.vr.vr-v3 .gpt-example-arrow{position:absolute;bottom:9px;right:9px;width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#302343;opacity:0;transform:translateY(4px);transition:.2s ease}
.vr.vr-v3 .vr-hello-card:hover .gpt-example-arrow,.vr.vr-v3 .vr-hello-card:focus-visible .gpt-example-arrow{opacity:1;transform:none}
.vr.vr-v3 .gpt-compose-foot{font-size:10px!important;gap:4px 10px!important;line-height:1.7;margin-top:2px;color:var(--muted)}
.vr.vr-v3 .gpt-compose-foot button,.vr.vr-v3 .gpt-compose-foot a{font-size:10px!important}
.vr.vr-v3 .gpt-test-tools{border:1px solid var(--border);background:var(--surface);padding:18px;border-radius:16px}
.vr.vr-v3 .gpt-test-tools summary{font-size:14px!important;font-weight:600;min-height:30px!important}
.vr.vr-v3 .gpt-test-tools>div{margin-top:14px}
.vr.vr-v3 .gpt-test-tools>div:last-child{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
.vr.vr-v3 .gpt-test-tools button{min-height:42px!important;font-size:13px!important;border-radius:10px!important}
.vr.vr-v3 .gpt-project-page{padding:32px clamp(24px,4vw,64px) 48px!important}
.vr.vr-v3 .gpt-project-page>div{max-width:1140px!important;gap:26px!important}
.vr.vr-v3 .gpt-project-heading{padding-bottom:22px;border-bottom:1px solid var(--border)}
.vr.vr-v3 #vr-projname{font-weight:700!important;font-size:36px!important;line-height:1.4;padding:3px 0!important;border-radius:4px;letter-spacing:-.035em!important}
.vr.vr-v3 #vr-projname:hover{background:var(--hover)}
.vr.vr-v3 .gpt-project-heading>.vr-primary{border-radius:12px!important;min-height:46px!important}
.vr.vr-v3 .gpt-project-kickoff{padding:28px;border-radius:22px;background:linear-gradient(115deg,var(--accentSoft),var(--surface));border:1px solid color-mix(in srgb,var(--accentText),transparent 85%)}
.vr.vr-v3 .gpt-project-kickoff-title{display:flex;gap:18px;align-items:center;margin-bottom:24px}
.vr.vr-v3 .gpt-project-icon{display:grid;place-items:center;width:54px;height:54px;background:var(--surface);border-radius:16px;color:var(--accentText);font-size:28px;flex-shrink:0;box-shadow:0 3px 12px #3e28610a}
.vr.vr-v3 .gpt-project-kickoff h2{font:700 23px/1.3 Manrope,Inter,sans-serif;letter-spacing:-.025em;margin:0 0 8px}
.vr.vr-v3 .gpt-project-kickoff p{font-size:14px;line-height:1.65;max-width:70ch;margin:0;color:var(--muted)}
.vr.vr-v3 .gpt-project-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.vr.vr-v3 .gpt-project-actions button{display:flex;flex-direction:column;gap:10px;align-items:flex-start;text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:20px;min-width:0}
.vr.vr-v3 .gpt-project-actions button:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--accentText),transparent 50%);box-shadow:0 8px 18px #3020430c}
.vr.vr-v3 .gpt-project-action-kind{font-size:10px;letter-spacing:.05em;text-transform:uppercase;color:var(--accentText)}
.vr.vr-v3 .gpt-project-actions strong{font-size:15px;line-height:1.4;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%}
.vr.vr-v3 .gpt-project-actions button>span:last-child{font-size:12px;line-height:1.6;color:var(--muted)}
.vr.vr-v3 .gpt-project-columns{gap:24px!important}
.vr.vr-v3 .gpt-project-columns>div:first-child{flex:1.5 1 380px!important;gap:28px!important}
.vr.vr-v3 .gpt-project-columns>div:last-child{flex:1 1 300px!important;gap:18px!important}
.vr.vr-v3 .gpt-project-columns>div:last-child>div{padding:22px!important;border-radius:18px!important;gap:12px!important}
.vr.vr-v3 #vr-projinstr{background:var(--bg)!important;min-height:140px;border-radius:12px!important;padding:13px!important;line-height:1.65!important;width:100%;min-width:0}
.vr.vr-v3 .gpt-save-hint{font-size:10px;color:var(--muted)}
.vr.vr-v3 .gpt-library{padding:30px!important}
.vr.vr-v3 .gpt-library-inner{gap:16px!important;width:100%;max-width:1240px!important}
.vr.vr-v3 .gpt-library-canvas{overflow:hidden!important;display:flex;flex-direction:column;padding-bottom:22px!important}
.vr.vr-v3 .gpt-library-canvas .gpt-library-inner{height:100%;min-height:0;max-width:none!important;margin:0!important}
.vr.vr-v3 .gpt-library-canvas .gpt-library-inner>div,.vr.vr-v3 .gpt-library-canvas .gpt-library-inner>p{flex-shrink:0}
.vr.vr-v3 #vr-board-frame{display:block;height:100%!important;min-height:0!important;flex:1 1 0;width:100%;border:1px solid var(--border);border-radius:18px!important}
.vr.vr-v3 .gpt-library-canvas .gpt-library-inner>sc-if{display:contents}
.vr.vr-v3 .gpt-segment{border:1px solid var(--border);background:var(--surface2);border-radius:12px;padding:4px;align-self:flex-start}
.vr.vr-v3 .gpt-segment button{min-height:36px;padding:0 18px!important;font-size:13px!important;border-radius:8px}
.vr.vr-v3 .gpt-segment button[aria-pressed=true]{color:var(--accentText)}
.vr.vr-v3 .vr-set-wrap{gap:28px!important}
.vr.vr-v3 .vr-set-body>section{border-radius:18px!important;padding:24px!important}
@media(min-width:1600px) and (min-height:950px){.vr.vr-v3 .gpt-chat-empty .vr-msgs{margin-top:6vh}.vr.vr-v3 .gpt-home-examples{margin-top:30px}.vr.vr-v3 .vr-hello-thumb{aspect-ratio:2.1!important}}
@media(max-height:780px) and (min-width:900px){.vr.vr-v3 .gpt-chat-empty .vr-msgs{margin-top:0;padding-top:20px!important}.vr.vr-v3 .gpt-welcome-mark{width:58px;height:58px;margin-bottom:10px;border-radius:19px}.vr.vr-v3 .gpt-welcome-mark img{width:44px;height:44px}.vr.vr-v3 .gpt-welcome-label{margin-bottom:8px}.vr.vr-v3 .vr-hello-title{font-size:36px!important}.vr.vr-v3 .gpt-home-examples{margin-top:10px}.vr.vr-v3 .vr-hello-thumb{aspect-ratio:2.8!important}}
@media(max-width:1100px){.vr.vr-v3 .gpt-project-actions button{padding:16px}.vr.vr-v3 .gpt-project-actions{gap:10px}.vr.vr-v3 .gpt-project-kickoff{padding:22px}.vr.vr-v3 .gpt-project-actions strong{font-size:14px}}
@media(max-width:899px){.vr.vr-v3 .vr-side{width:min(300px,86vw);flex-basis:auto}.vr.vr-v3 .gpt-chat>header{min-height:60px;padding:10px 14px!important}.vr.vr-v3 .gpt-chat-empty .vr-msgs{padding:28px 18px 22px!important;margin-top:10px}.vr.vr-v3 .gpt-compose-wrap{padding-left:18px!important;padding-right:18px!important}.vr.vr-v3 .gpt-library{padding:20px 16px!important}.vr.vr-v3 .gpt-library-canvas .gpt-library-inner{gap:12px!important}.vr.vr-v3 .gpt-library-canvas .gpt-library-inner>p{font-size:13px;line-height:1.5!important}.vr.vr-v3 .gpt-project-page{padding:20px!important}.vr.vr-v3 .gpt-level-menu{position:fixed!important;left:max(16px,calc(50vw - 210px))!important;bottom:20px!important;transform:none!important;width:calc(100vw - 32px)!important;max-width:420px!important;z-index:55!important}.vr.vr-v3 .gpt-project-columns>div{flex:1 1 100%!important}}
@media(max-width:599px){.vr.vr-v3 .gpt-chat>header{gap:6px!important}.vr.vr-v3 .gpt-test-tag,.vr.vr-v3 .gpt-export{display:none}.vr.vr-v3 .gpt-chat>header h1{font-size:14px!important}.vr.vr-v3 .vr-balance{font-size:11px!important;padding:0 9px;gap:4px}.vr.vr-v3 .gpt-welcome-mark{width:62px;height:62px;border-radius:21px}.vr.vr-v3 .gpt-welcome-mark img{width:48px;height:48px}.vr.vr-v3 .gpt-welcome-label{font-size:9px;letter-spacing:.12em}.vr.vr-v3 .vr-hello-title{font-size:30px!important;line-height:1.22!important;max-width:340px}.vr.vr-v3 .vr-hello p{font-size:14px!important;line-height:1.6!important;max-width:30ch!important;margin-top:12px!important}.vr.vr-v3 .gpt-compose-wrap{gap:12px!important}.vr.vr-v3 .gpt-task-types{justify-content:flex-start!important;gap:6px!important}.vr.vr-v3 .gpt-task-types button{padding:0 9px!important;font-size:12px!important;min-height:35px!important}.vr.vr-v3 .vr-composer{padding:13px 12px 10px!important;border-radius:19px!important;gap:12px!important}.vr.vr-v3 #vr-input{font-size:14px!important;min-height:64px!important}.vr.vr-v3 .gpt-composer-tools{gap:3px!important}.vr.vr-v3 .gpt-attach{min-width:36px!important;width:36px!important;padding:0!important}.vr.vr-v3 .gpt-attach span{display:none}.vr.vr-v3 .gpt-level-select{padding:0 8px!important;font-size:12px!important;gap:4px!important}.vr.vr-v3 .gpt-level-label{display:none}.vr.vr-v3 .gpt-level-select::before{content:'Уровень';font-weight:400;color:var(--muted);font-size:10px}.vr.vr-v3 .gpt-level-select>span:first-child{display:none!important}.vr.vr-v3 .gpt-quick-starts{gap:1px;justify-content:space-between}.vr.vr-v3 .gpt-quick-starts button{font-size:10px;gap:4px;padding:7px 3px}.vr.vr-v3 .gpt-home-examples{margin-top:16px}.vr.vr-v3 .gpt-home-examples-head{font-size:11px;align-items:flex-start;max-width:100%;line-height:1.5}.vr.vr-v3 .gpt-home-examples-head>span{max-width:25ch}.vr.vr-v3 .vr-hello-ideas{gap:9px!important;grid-template-columns:repeat(3,minmax(0,1fr))}.vr.vr-v3 .vr-hello-thumb{aspect-ratio:1.3!important;border-radius:10px!important}.vr.vr-v3 .vr-hello-name{font-size:10px!important;line-height:1.4!important}.vr.vr-v3 .vr-hello-thumb .vr-kind{font-size:8px;padding:3px 5px;left:5px;top:5px}.vr.vr-v3 .gpt-compose-foot{font-size:9px!important}.vr.vr-v3 .gpt-compose-foot button,.vr.vr-v3 .gpt-compose-foot a{font-size:9px!important}.vr.vr-v3 #vr-projname{font-size:29px!important}.vr.vr-v3 .gpt-project-page{padding:18px 16px 32px!important}.vr.vr-v3 .gpt-project-page>div{gap:20px!important}.vr.vr-v3 .gpt-project-heading{gap:16px!important}.vr.vr-v3 .gpt-project-heading>.vr-primary{width:100%;justify-content:center}.vr.vr-v3 .gpt-project-kickoff{padding:18px;border-radius:18px}.vr.vr-v3 .gpt-project-icon{display:none}.vr.vr-v3 .gpt-project-kickoff h2{font-size:21px}.vr.vr-v3 .gpt-project-actions{grid-template-columns:1fr}.vr.vr-v3 .gpt-project-actions button{padding:15px;gap:7px}.vr.vr-v3 .gpt-project-columns>div:last-child>div{padding:18px!important}.vr.vr-v3 .gpt-library h1{font-size:25px!important}.vr.vr-v3 .gpt-library-canvas .gpt-library-inner>p{display:none}.vr.vr-v3 .gpt-library{padding:16px 12px!important}.vr.vr-v3 .gpt-segment{width:100%;display:flex}.vr.vr-v3 .gpt-segment button{flex:1}.vr.vr-v3 .gpt-test-tools{padding:16px}.vr.vr-v3 .vr-set-body>section{padding:18px!important}}
@media(prefers-reduced-motion:reduce){.vr.vr-v3 *{scroll-behavior:auto!important;transition:none!important}.vr.vr-v3 .gpt-welcome-mark{transform:rotate(-6deg)!important}.vr.vr-v3 button:hover{transform:none!important}}
@media(max-width:899px){.vr.vr-v3 .vr-backdrop{left:min(300px,86vw)}}
@media(max-width:599px){.vr.vr-v3 #vr-projname{text-overflow:ellipsis;font-size:26px!important}}

/* Keep the current task estimate visible next to the composer on phones. */
.gpt-mobile-estimate{display:none}
.vr.vr-v3 #vr-input:focus-visible{outline:none!important}
@media(max-width:899px){.vr.vr-v3 .gpt-mobile-estimate{display:block;font-size:12px;line-height:1.5;color:var(--muted);text-align:center;margin:0 8px}.vr.vr-v3 .gpt-mobile-estimate:empty{display:none}}
