/*html{scrollbar-gutter:stable}
body,html{height:100%}body.hidden{overflow:hidden}.logo img,.logo svg{display:block}*/
.turbotext_gpt_mwrapper p{margin-top:0;margin-bottom:15px}
.turbotext_gpt_mwrapper circle,.turbotext_gpt_mwrapper path,.turbotext_gpt_mwrapper rect{-webkit-transition:all .35s ease;transition:all .35s ease}
body.gptframe_active{font-size:14px;line-height:1.71;min-width:320px;position:relative;font-family:Montserrat,serif;color:#000;margin:0;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}
::-webkit-input-placeholder{color:#666;opacity:1}
::-moz-placeholder{color:#666;opacity:1}:-ms-input-placeholder{color:#666;opacity:1}
::-ms-input-placeholder{color:#666;opacity:1}::placeholder{color:#666;opacity:1}
::-moz-selection{background:#b3d4fc;text-shadow:none}
::selection{background:#b3d4fc;text-shadow:none}
.turbotext_gpt_mwrapper address{font-style:normal}

.turbotext_gpt_mwrapper *,::after,::before{-webkit-box-sizing:border-box;box-sizing:border-box}
.turbotext_gpt_mwrapper a{color:inherit;-webkit-transition:all .35s ease;transition:all .35s ease;text-decoration:none;outline:0}
.turbotext_gpt_mwrapper img,.turbotext_gpt_mwrapper video{display:block;max-width:100%;height:auto}
.turbotext_gpt_mwrapper iframe{display:block;border:none}
.turbotext_gpt_mwrapper button{cursor:pointer;}
.turbotext_gpt_mwrapper select{-webkit-appearance:none;-moz-appearance:none;appearance:none}
.turbotext_gpt_mwrapper select::-ms-expand{display:none}
.turbotext_gpt_mwrapper textarea{resize:none}

.ttgpt-message__box{max-width:749px;margin-left:auto;margin-right:auto;}

.ttgpt-message__box code{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace!important;font-weight:500;padding:.15rem .3rem;font-size:.875em;border-radius:.25rem;color:#000;}.ttgpt-message__box a{color:#2964aa;text-decoration:underline}.ttgpt-message__box a:hover{text-decoration:none}.ttgpt-message__box p{margin-bottom:8px;margin-top:8px}.ttgpt-message__box li,.ttgpt-message__box p{font-size:16px;line-height:1.75}.ttgpt-message__box ol{padding-left:20px;margin-bottom:8px;margin-top:8px}.ttgpt-message__box ol li{list-style:decimal}.ttgpt-message__box ol li::marker{color:#5d5d5d;font-weight:600}.ttgpt-message__box ul{padding-left:20px;margin-bottom:8px;margin-top:8px}.ttgpt-message__box ul li{list-style:disc}.ttgpt-message__box ul li::marker{color:#5d5d5d;font-weight:600}.ttgpt-message__box b,.ttgpt-message__box strong{font-weight:600}.ttgpt-message__box h2{font-size:24px;font-weight:600;line-height:1.6;margin-bottom:12px;margin-top:24px}.ttgpt-message__box h2:first-of-type{margin-top:0}.ttgpt-message__box h3{font-size:20px;font-weight:600;line-height:1.6;margin-bottom:8px;margin-top:16px}.ttgpt-message__box h3:first-of-type{margin-top:0}.ttgpt-message__box h4{font-size:18px;font-weight:600;line-height:1.6;margin-bottom:8px;margin-top:16px}.ttgpt-message__box h4:first-of-type{margin-top:0}

.ttgpt-message__box pre{border:1px solid #d9d9d9;border-radius:6px;padding:12px;font-size:14px;line-height:1.2;white-space:normal;min-height:119px;margin-top:20px;margin-bottom:30px;position:relative}



.ttgpt-message__box hr{background:#ccc;float:left;width:100%;margin:10px 0}.ttgpt-message__message{background:#f4f4f4;padding:18px 20px;border-radius:20px;margin-left:auto;white-space:pre-wrap;overflow-wrap:break-word;text-align:start;max-width:70%;height:auto;-moz-tab-size:0;-o-tab-size:0;tab-size:0;font-size:16px;line-height:24px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.ttgpt-result{width:100%;padding:0 15px;margin:0 auto;margin-top:10px;background:#fff}.ttgpt-result__link{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:10px;color:#515151;font-size:14px;border-bottom:1px solid #f0eded;padding:11.5px 20px;font-weight:400}.ttgpt-result__link:hover{color:#000;border-bottom-color:#000}.modal-backdrop{background:0 0}


.turbotext_gpt_mwrapper .header{padding:25px 0}
.turbotext_gpt_mwrapper .header-row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}
@media screen and (max-width:1023px){.main-nav{position:absolute;width:100%;height:100dvh;background-color:#f2f2f2;left:0;top:0;-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);-webkit-transition:height .25s linear,-webkit-transform .35s ease;transition:height .25s linear,-webkit-transform .35s ease;transition:transform .35s ease,height .25s linear;transition:transform .35s ease,height .25s linear,-webkit-transform .35s ease;padding:30px 30px;z-index:100}.main-nav.open{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}}.main-list{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:24px}.main-list a{position:relative;display:inline-block;border-bottom:1px solid transparent}.main-list a:hover{border-bottom-color:#000}.hamburger{display:none;cursor:pointer}@media screen and (max-width:1023px){.hamburger{display:-webkit-box;display:-ms-flexbox;display:flex}}.footer{padding:30px 0;background:#000;margin-top:auto}.footer-logo{margin-bottom:24px}.footer-logo img,.footer-logo svg{display:block}.footer-contacts__row{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:12px}.footer-contacts__icon img,.footer-contacts__icon svg{-ms-flex-negative:0;flex-shrink:0}.footer-contacts__text{font-size:16px}.footer-contacts__link{border-bottom:1px solid transparent;color:#fff}.footer-contacts__link:hover{border-bottom-color:#fff}.footer-top__row{display:-webkit-box;display:-ms-flexbox;display:flex;margin:0 -15px}.footer-top__item{width:25%;padding:0 15px}.footer-top__head{margin-bottom:12px;color:#fff}.footer-top__list li+li{margin-top:8px}.footer-top__list a{display:inline-block;border-bottom:1px solid transparent;color:#fff}.footer-top__list a:hover{border-bottom-color:#fff}.copyright{font-size:16px}.form-input,.form-textarea{display:block;width:100%;font-family:Montserrat,serif;font-size:16px;color:#000;-webkit-transition:all .35s ease;transition:all .35s ease;-webkit-appearance:none;border-radius:0;padding:10px 15px;background:#fff}.form-input::-webkit-input-placeholder,.form-textarea::-webkit-input-placeholder{font-size:16px;color:#000;font-family:Montserrat,serif}.form-input::-moz-placeholder,.form-textarea::-moz-placeholder{font-size:16px;color:#000;font-family:Montserrat,serif}.form-input:-ms-input-placeholder,.form-textarea:-ms-input-placeholder{font-size:16px;color:#000;font-family:Montserrat,serif}.form-input::-ms-input-placeholder,.form-textarea::-ms-input-placeholder{font-size:16px;color:#000;font-family:Montserrat,serif}.form-input::placeholder,.form-textarea::placeholder{font-size:16px;color:#000;font-family:Montserrat,serif}.form-input:focus,.form-input:hover,.form-textarea:focus,.form-textarea:hover{border-color:red}.form-textarea{min-height:140px}.form-row{margin-bottom:15px}.form-checkbox input[type=checkbox]{display:none}.form-checkbox input[type=checkbox]+label{position:relative;cursor:pointer;display:block;padding-left:30px;font-size:14px;color:#333}.form-checkbox input[type=checkbox]+label::before{content:"";position:absolute;width:16px;height:16px;top:1px;left:0;border:1px solid #333;border-radius:2px}.form-checkbox input[type=checkbox]:checked+label::after{content:"";position:absolute;width:5px;height:8px;border-bottom:1px solid #333;border-right:1px solid #333;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);left:6px;top:4px}.select2{display:block}.select2.select2-container{width:100%!important}.select2-results__option{padding:9px 20px;-webkit-transition:all .35s ease;transition:all .35s ease;height:40px;font-size:14px}.select2-dropdown{border:1px solid #d9d9d9;border-radius:4px}.select2-container{z-index:1100}.select2-container--open .select2-selection__arrow::before{-webkit-transform:translate(-50%,-50%) rotate(180deg)!important;-ms-transform:translate(-50%,-50%) rotate(180deg)!important;transform:translate(-50%,-50%) rotate(180deg)!important}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#f0f7f6;color:#000}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#f0f7f6;color:#000}.select2-container--default .select2-selection{border:1px solid #d9d9d9;-webkit-transition:all .35s ease;transition:all .35s ease}.select2-container--default .select2-selection:hover{border-color:#000}.select2-container--default .select2-selection--single .select2-selection__arrow{height:100%;border-left:1px solid rgba(217,217,217,.05);width:44px}.select2-container--default .select2-selection--single .select2-selection__arrow b{display:none}.select2-container--default .select2-selection--single .select2-selection__arrow::before{content:"";position:absolute;width:12px;height:8px;background:url(../icon/select-arrow.svg) no-repeat center center;background-size:contain;top:50%;left:50%;-webkit-transition:all .35s ease;transition:all .35s ease;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.select2-container--default .select2-selection--single .select2-selection__rendered{padding:6px 0;padding-left:12px;padding-right:12px;color:#000;font-size:14px}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#000}.select2-container .select2-selection--single{height:auto}.select2-selection{outline:0!important}.select2-selection__rendered{padding:8px 0;padding-left:12px;padding-right:12px}.select2-search{display:none}


.turbotext_gpt_mwrapper .btn{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;gap:8px;-webkit-transition:all .35s ease;transition:all .35s ease;font-size:16px;font-family:Montserrat,serif;text-align:center;border-radius:0}.btn-blue{background-color:#000}.btn-blue:hover{background-color:#000}.h1{font-size:56px}.h2{font-size:42px}.h3{font-size:24px}body.hidden{overflow:hidden}body.hidden::before{content:"";position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(249,249,249,.5);z-index:100}.turbochatgpt{height:100%;background:#fff}.turbochatgpt .h1{font-weight:600;font-size:28px;text-align:center;color:#000;margin:0}@media screen and (max-width:767px){.turbochatgpt .h1{font-size:24px}}#editHistory li:last-child .dropdown-item{color:#ff0004}#editHistory li:last-child .dropdown-item svg{color:#ff0004}.ttgpt-pre__nav{position:absolute;right:0;top:0}.ttgpt-pre__btn{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:10px;border:none;background:0 0;font-family:Montserrat,serif;font-size:15px;color:#515151}.ttgpt-theme-switcher{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:fixed;z-index:40;right:16px;bottom:16px;background:#16202a;border-radius:30px;width:55px;height:30px;-webkit-transition:all .35s ease;transition:all .35s ease;cursor:pointer}.ttgpt-theme-switcher__item{display:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:6px}.ttgpt-theme-switcher__item svg{-ms-flex-negative:0;flex-shrink:0;-webkit-transition:all .35s ease;transition:all .35s ease}.ttgpt-theme-switcher__item.active{display:-webkit-box;display:-ms-flexbox;display:flex}.ttgpt-theme-switcher__item:last-child svg:first-child{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.ttgpt-tooltip .tooltip-inner{white-space:nowrap;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;max-width:none}.ttgpt-dropdown{padding:16px;border:1px solid #e0e0e0;-webkit-box-shadow:0 10px 20px 0 #dbdbdb;box-shadow:0 10px 20px 0 #dbdbdb;background:#fff;border-radius:15px}.ttgpt-dropdown hr{border-top-color:#e0e0e0;opacity:1}@media screen and (max-width:767px){.ttgpt-dropdown hr{margin:8px 0}}.ttgpt-dropdown>li{margin-bottom:5px}@media screen and (max-width:767px){.ttgpt-dropdown>li{margin-bottom:6px}}.ttgpt-dropdown>li:last-child{margin-bottom:0}.ttgpt-dropdown--small{padding:8px}.ttgpt-dropdown--small li{margin-bottom:4px}.ttgpt-dropdown--small li .dropdown-item{font-size:14px;gap:8px;border-radius:6px;padding:4px 8px}@media screen and (max-width:767px){.ttgpt-dropdown--small li .dropdown-item{padding:4px 4px}}.ttgpt-dropdown--small li .dropdown-item__icon{width:16px;height:16px}.ttgpt-dropdown--small li:last-child{margin-bottom:0}.ttgpt-dropdown .dropdown-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:16px;border-radius:12px;font-size:18px;-webkit-transition:all .35s ease;transition:all .35s ease}@media screen and (max-width:767px){.ttgpt-dropdown .dropdown-item{padding:4px 4px;font-size:14px}}.ttgpt-dropdown .dropdown-item:active,.ttgpt-dropdown .dropdown-item:hover{background:#f2f2f2;color:#000}.ttgpt-dropdown .dropdown-item__icon{-ms-flex-negative:0;flex-shrink:0;width:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ttgpt-dropdown .dropdown-item__file-icon{width:29px;-ms-flex-negative:0;flex-shrink:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@media screen and (max-width:767px){.ttgpt-dropdown .dropdown-item__file-icon{width:24px}}.ttgpt-dropdown .dropdown-item__file label{cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:12px}.ttgpt-dropdown .dropdown-item__file label svg{-ms-flex-negative:0;flex-shrink:0;width:18px}.ttgpt-edit{-webkit-box-shadow:0 4px 10px 0 #d9d9d9;box-shadow:0 4px 10px 0 #d9d9d9;background:#fff;border:1px solid #d9d9d9;border-radius:20px;width:100%;padding:12px 12px;position:relative}.ttgpt-edit__scroll{position:absolute;width:36px;height:36px;top:-43px;background:#fff;border:1px solid #d0d0d0;border-radius:50%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);left:50%}.ttgpt-edit__scroll svg{display:block}.ttgpt-edit__info{font-size:14px;color:#515151;margin-top:15px;text-align:center}@media screen and (max-width:767px){.ttgpt-edit__info{max-width:310px;font-size:12px;margin-left:auto;margin-right:auto;line-height:1.4}}.ttgpt-edit .dropdown-menu{width:320px;padding:12px}@media screen and (max-width:767px){.ttgpt-edit .dropdown-menu{padding:4px;width:240px}}.ttgpt-edit .dropdown-item{gap:12px;white-space:initial;font-size:14px;line-height:1.25;padding:10px 12px;border-radius:6px}@media screen and (max-width:767px){.ttgpt-edit .dropdown-item{padding:4px 4px}}.ttgpt-edit .dropdown-item__icon{width:29px}@media screen and (max-width:767px){.ttgpt-edit .dropdown-item__icon{width:24px}}.ttgpt-edit__footer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;gap:10px;margin-top:12px}.ttgpt-edit__btn{min-width:35px;border-radius:100px;border:1px solid #d9d9d9;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:35px;white-space:nowrap;padding:8px 10px;gap:8px;font-size:14px;line-height:1;font-weight:600;color:#262626;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transition:all .35s ease;transition:all .35s ease}


.ttgpt-edit__btn div{display:none}
.__version_models_gpt_filter{display:none;}
.__version_models_gpt_filter.active{display:block;}
@media screen and (max-width:767px){
  .ttgpt-edit__btn span{display:none}
.ttgpt-edit__btn div{display:block}
}

.ttgpt-edit__btn--black{border-color:#000;background:#000}.ttgpt-edit__btn--black svg{color:#fff}.ttgpt-edit__btn--black:hover{opacity:.7}.ttgpt-edit__btn--blue svg{-webkit-transition:all .35s ease;transition:all .35s ease}.ttgpt-edit__btn--blue.active{background:#daeeff;border-color:#daeeff;color:#2e9aff}.ttgpt-edit__btn--blue.active svg{color:#2e9aff}.ttgpt-edit__btn.show{background:#e5e5e5}.ttgpt-edit__content{min-height:48px;overflow-y:auto;scrollbar-color:#ececec transparent;scrollbar-width:thin;padding:0 12px;position:relative;overflow-x:hidden;max-height:90px}.ttgpt-edit__content.active::before{opacity:0}.ttgpt-edit__content p{margin:0;font-size:16px;line-height:1.2}.ttgpt-edit__content::before{content:attr(data-placeholder);position:absolute;top:2px;left:12px;width:100%;color:#707070;font-size:16px;line-height:1.2;white-space:nowrap;pointer-events:none}.ttgpt-edit__content:focus{outline:0}.ttgpt-button{width:40px;height:40px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:all .35s ease;transition:all .35s ease;border-radius:8px}.ttgpt-button:hover{background:rgba(0,0,0,.0705882353)}.ttgpt-menu__btn{border:1px solid #e0e0e0;border-radius:100px;padding:3px 13px;font-size:16px}.ttgpt-menu__choose{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:10px;font-size:16px;font-weight:600}@media screen and (max-width:767px){.ttgpt-menu__choose{font-size:14px;line-height:14px;}}.ttgpt-menu__choose.active svg{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}.ttgpt-menu__choose svg{-ms-flex-negative:0;flex-shrink:0;-webkit-transition:all .35s ease;transition:all .35s ease;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.ttgpt-wrap{height:100%}.ttgpt-sidebar{width:275px;position:fixed;left:0;top:0;height:100%;background:#f9f9f9;overflow-y:auto;scrollbar-color:#ececec transparent;z-index:20}@media screen and (max-width:767px){.ttgpt-sidebar{z-index:200;-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);-webkit-transition:all .35s ease;transition:all .35s ease}.ttgpt-sidebar.active{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}}.ttgpt-sidebar__history{padding:0 12px}.ttgpt-sidebar__history-edit{position:absolute;right:0;height:100%;padding-right:8px;top:0;-webkit-transition:all .35s ease;transition:all .35s ease;opacity:0;visibility:hidden}

.ttgpt-sidebar__history-item{position:relative}.ttgpt-sidebar__history-item.active .ttgpt-sidebar__history-link,.ttgpt-sidebar__history-item.current .ttgpt-sidebar__history-link{background:#e3e3e3}
.ttgpt-sidebar__history-item.active .ttgpt-sidebar__history-edit,.ttgpt-sidebar__history-item.current .ttgpt-sidebar__history-edit{opacity:1;visibility:visible}
.ttgpt-sidebar__history-item:hover .ttgpt-sidebar__history-edit{opacity:1;visibility:visible}.ttgpt-sidebar__history-item:hover .ttgpt-sidebar__history-link{background:#e3e3e3}
.ttgpt-sidebar__history-item:hover .ttgpt-sidebar__history-link:hover{background:#e3e3e3}
.ttgpt-sidebar__history-link{display:block;font-size:14px;padding:8.5px 8px;border-radius:6px;line-height:1.215;background:#fff;margin-bottom:2px}
.ttgpt-sidebar__history-link:last-child{margin-bottom:0}
.ttgpt-sidebar__history-box{margin-top:32px}.ttgpt-sidebar__history-box:first-child{margin-top:0}.ttgpt-sidebar__history-title{font-weight:600;font-size:12px;color:#000;margin-bottom:6px;line-height:1.2;position:sticky;top:52px;text-overflow:ellipsis;background:#f9f9f9;padding:6px 12px;z-index:5}.ttgpt-sidebar__toggler svg{display:block}.ttgpt-sidebar__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;gap:24px;position:sticky;top:0;background:#f9f9f9;padding:6px 12px;z-index:10}.ttgpt-sidebar__header-nav{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:4px}.ttgpt-sidebar__header-nav svg{display:block}.ttgpt-sidebar__menu{margin-bottom:50px;padding:0 12px}.ttgpt-sidebar__menu>li{margin-bottom:4px}.ttgpt-sidebar__menu>li:last-child{margin-bottom:0}.ttgpt-sidebar__menu-link{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:10px;font-size:15px;-webkit-transition:all .35s ease;transition:all .35s ease;border-radius:6px;padding:8px 8px}.ttgpt-sidebar__menu-link:hover{background:#e3e3e3}.ttgpt-sidebar__menu-icon{-ms-flex-negative:0;flex-shrink:0;width:24px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ttgpt-content{height:100%;width:calc(100% - 275px);margin-left:auto;position:relative;z-index:20;-webkit-transition:width .2s linear;transition:width .2s linear;background:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media screen and (max-width:767px){.ttgpt-content{width:100%}}.ttgpt-content.active{width:100%}.ttgpt-content.active .ttgpt-content__header .ttgpt-button{display:-webkit-box;display:-ms-flexbox;display:flex}.ttgpt-content__header{padding:8px 20px;position:sticky;top:0;z-index:200;background:#fff;border-bottom:1px solid #f2f2f2}.ttgpt-content__header .ttgpt-button{display:none}.ttgpt-content__body{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;bottom:58px;width:100%;padding-left:20px;padding-right:20px}.ttgpt-content__box{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;padding-bottom:30px;background:#fff;border-radius:20px 20px 0 0;max-width:750px;margin-left:auto;margin-right:auto}.ttgpt-modal{background:0 0}.ttgpt-modal .modal-dialog{max-width:676px;width:100%}.ttgpt-modal .modal-content{-webkit-box-shadow:0 4px 40px 10px rgba(54,54,54,.25);box-shadow:0 4px 40px 10px rgba(54,54,54,.25);background:#fff;border-radius:15px;border:1px solid #bfbfbf}.ttgpt-modal__header{padding:25px 25px 15px;border-bottom:1px solid #e0e0e0}.ttgpt-modal__body{padding:8px;max-height:360px;overflow-y:auto;scrollbar-color:#ececec transparent;scrollbar-width:thin}.ttgpt-modal__close{-ms-flex-negative:0;flex-shrink:0}.ttgpt-modal__close svg{display:block;-webkit-transition:all .35s ease;transition:all .35s ease;color:#8f8f8f}.ttgpt-modal__close:hover svg{color:#000}.ttgpt-modal__search-link{padding:9px 30px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:6px;gap:26px;color:#515151;font-size:14px;font-weight:600;margin-bottom:4px}.ttgpt-modal__search-link:last-child{margin-bottom:0}.ttgpt-modal__search-link-icon{width:15px;-ms-flex-negative:0;flex-shrink:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ttgpt-modal__search-link:hover{background:#f3f3f3}.ttgpt-modal__search-label{font-weight:600;font-size:12px;color:#515151;padding-left:30px;margin-bottom:8px}.ttgpt-modal__search-box{margin-bottom:30px}.ttgpt-modal__search-box:last-child{margin-bottom:0}.ttgpt-modal__search-input{border:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background:0 0;font-size:16px;line-height:1.2;padding:0;padding-right:28px}.ttgpt-modal__search-input:focus{outline:0;-webkit-box-shadow:none;box-shadow:none}.ttgpt-modal__search-input::-webkit-input-placeholder{color:#999393;font-size:16px;line-height:1.2;opacity:1;-webkit-transition:all .35s ease;transition:all .35s ease}.ttgpt-modal__search-input::-moz-placeholder{color:#999393;font-size:16px;line-height:1.2;opacity:1;-moz-transition:all .35s ease;transition:all .35s ease}.ttgpt-modal__search-input:-ms-input-placeholder{color:#999393;font-size:16px;line-height:1.2;opacity:1;-ms-transition:all .35s ease;transition:all .35s ease}.ttgpt-modal__search-input::-ms-input-placeholder{color:#999393;font-size:16px;line-height:1.2;opacity:1;-ms-transition:all .35s ease;transition:all .35s ease}.ttgpt-modal__search-input::placeholder{color:#999393;font-size:16px;line-height:1.2;opacity:1;-webkit-transition:all .35s ease;transition:all .35s ease}

.ttgpt-message{margin:0 auto;width:100%;padding-top:30px;padding-bottom:30px;padding-left:20px;padding-right:20px}
.ttgpt-message__nav{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:6px;margin-top:12px}.ttgpt-message__nav-btn{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:8px}.ttgpt-message__nav-item{min-width:30px;min-height:30px;border-radius:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-transition:all .35s ease;transition:all .35s ease;cursor:pointer;padding:4px}.ttgpt-message__nav-item:hover{background:#f9f9f9}.ttgpt-message__box blockquote{padding-left:16px;padding-top:4px;padding-bottom:4px;padding-right:8px;border-left:3px solid #d9d9d9;margin-top:8px;margin-bottom:8px;font-size:16px;color:#000}




.circular-loader {
    position: absolute;
    top: 10px;
    left: 13px;
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circular-loader svg {
    width: 38px;
    height: 38px;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring__bg {
    fill: none;
    stroke: #f3f3f3;
    stroke-width: 4;
}

.progress-ring__circle {
    fill: none;
    stroke: #3498db;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 87.96; /* 2 × π × r = 2 × 3.14 × 14 */
    stroke-dashoffset: 87.96;
    transition: stroke-dashoffset 0.3s ease;
}

.__gptattachments ._attach{width:60px;height:60px;position:relative;margin-bottom:20px;border-radius:7px;overflow:hidden;}
.__gptattachments ._attach img{width:60px;height:60px;}


.ttgpt-sidebar__menu > li {
  margin-bottom: 2px;
}
.gptframe_active:not(.gptframe_active_header) .line_of_methods_wrap{display:none;}
.gptframe_active:not(.gptframe_active_header) .method_groups_line{display:none;}

.gptframe_active .turbotext_gpt_mwrapper{position:relative;}

.gptframe_active .editor-wrp{display:none !important;}
.gptframe_active .__inter_content_form{display:none !important;}
.gptframe_active .__inter_content_form.active{display:none !important;}
.gptframe_active .nchat{display:none !important}
.turbotext_gpt_mwrapper{display:none;}
.gptframe_active .turbotext_gpt_mwrapper{display:block;}
.gptframe_active .turbochatgpt{display:block;height:100dvh;}




.gptframe_active .turbochatgpt .ttgpt-message{height:calc(100dvh - 240px);overflow:auto;}
.opened_top_row.gptframe_active .turbochatgpt .ttgpt-message{height:calc(100dvh - 270px);overflow:auto;}
.gptframe_active_header.gptframe_active .turbochatgpt .ttgpt-message{height:calc(100dvh - 440px);overflow:auto;}


.ttgpt-content{max-height:calc(100dvh - 60px);}
.gptframe_active_header .ttgpt-content{max-height:calc(100dvh - 240px);}



.opened_top_row .ttgpt-content{max-height:calc(100dvh - 85px);}

.gptframe_active .ttgpt-sidebar{position: absolute;}

.gptframe_active .turbochatgpt .ttgpt-message.free_space_active{display:none;height: calc(50dvh - 150px);}
.gptframe_active .turbochatgpt .ttgpt-message .gpt_free_space{ display:none;}
.gptframe_active .turbochatgpt .ttgpt-message.free_space_active .gpt_free_space{display:block; margin:auto;font-size:20px; text-align:center;}

.ttgpt-sidebar__menu-link.active{background:#e3e3e3}
.ttgpt-edit__content{max-height:30dvh;}

.ttgpt-edit__content:empty:before {
	content: attr(data-placeholder);
	color: #aaa;
}
.ttgpt-message__message{margin-bottom:20px;}

.pre-wrap-output {
	white-space: pre-line; 
	word-wrap: break-word;
	font-family: monospace;
}
.ttgpt-content__box{padding-bottom:0;}

.ttgpt-message__box pre{min-height:80px;margin-top: 10px;
  margin-bottom: 10px;}

.ttgpt-message__box pre,.ttgpt-message__box h1,.ttgpt-message__box h2,.ttgpt-message__box h3,.ttgpt-message__box h4,.ttgpt-message__box h5{float:left;width:100%;}
.ttgpt-message__box h4{ margin-top:6px;margin-bottom:5px;}

.__gptattachments{display:flex;flex-wrap: wrap;
	gap: 0.5rem; /* gx-2 */}
.__gptattachments>*{flex: 0 0 auto;}

.gpt_remove_attach{display:none; position:absolute;top:3px;right:3px;background:url(/templates/turbotext/photo_ai/gpt/img/remove.png) no-repeat center center;background-size:100% 100%;width:20px;height:20px;}

.ttgpt-message__box:last-child{padding-bottom: 50px;}

.ttgpt-sidebar__history-link{max-width: 86%; /* Установи нужную ширину */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 100%;
  padding: 6px 10px;
  border-radius: 10px;
  font-family: monospace;
  font-size: 14px;
  display: inline-block;}


  .ttgpt-edit .dropdown-item{display: flex;gap: 1px;
  flex-direction: column;
  text-align: left;
  align-items: baseline;}
  ._selectmethodulgpt span{ font-size: 12px;}

  @media screen and (max-width:1000px){
    .ttgpt-content__body{bottom: 104px;}
  }

  #gpt_form{width:100%;max-width:750px;}