#wpadminbar {
  /* display: none; */
}

h2 {
  margin-block-start: 0;
  margin-block-end: 0;
}

.arrow_svg_img {
  width: 24px !important;
  height: 24px !important;
}

.arrow_svg_img {
  color: #93a1c8;
}


.page_container__uqdSr {
  padding-bottom: 10px;
  gap: 1rem;
}

.ServiceList_wrapper__LUzai {
  overflow: visible !important;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.ServiceCard_card__nunig {
  flex: 1 0 240px;
  min-width: 200px;
}

.page_container__uqdSr.text_redactor .ServiceCard_card__nunig{
    background:#fff;      
}



.service-slider-controls {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  margin-left: auto;
  margin-right: auto;
}

.service-slider-controls button {
  background: var(--c-my-stylus-yellow-btn);
  height: 40px;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  padding: 10px 28px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 12px rgba(60, 70, 130, 0.10);
  cursor: pointer;
  outline: none;
  position: relative;
}

.service-slider-controls button:active {
  background: #181b22;
}

.service-slider-controls button:focus {
  box-shadow: 0 0 0 2px #93a1c8;
}

.service-slider-controls button[disabled] {
  background: #d4b661;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.65;
  box-shadow: none;
}

.page_container__uqdSr.text_redactor {
  border-radius: 2.5rem;
  background-color: #f5f5f0;
  padding: 32px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.breadcrumb {
  color: black;
}

.chat-input {
  width: 100%;
}

#bothub-chat-history {
  width: 100%;
}

/* Общий контейнер чата */
.page_chatInputCell__KnbVG {
  background: #f8fafc;
  border-radius: 18px;
  box-shadow: 0 4px 16px #0001;
  padding: 32px 22px 18px 22px;
  margin: 40px auto 40px auto;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}

/* История сообщений */
#bothub-chat-history {
  margin-bottom: 22px;
}

#bothub-chat-history>div {
  margin-bottom: 22px;
}

/* Блоки сообщения */
#bothub-chat-history .user,
#bothub-chat-history .ai,
#bothub-chat-history div[style*="background"] {
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 7px;
  font-size: 1.13em;
  box-shadow: 0 1px 6px #0001;
  font-family: inherit;
  line-height: 1.5;
}

/* Сообщение пользователя */
#bothub-chat-history .user,
#bothub-chat-history div[style*="background:#fff"] {
  background: #fff;
  border: 1px solid #ececec;
}

/* Сообщение AI */
#bothub-chat-history .ai,
#bothub-chat-history div[style*="background:#f4f4f9"] {
  background: #f4f4f9;
  border: 1px solid #ececec;
}

/* Заголовки (имя отправителя) */
#bothub-chat-history div[style*="font-weight:500"] {
  color: #1b2437;
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 3px !important;
  letter-spacing: 0.01em;
}

/* Форма ввода */
.chat-input {
  margin-top: 8px;
}

#bothub-chat-form {
  gap: 14px;
  padding: 0;
}

/* Селектор нейросети */
.ChatBotSelector_trigger__km7Te {
  border-radius: 9px;
  border: 1.5px solid #e2e8f0;
  background: #f6faff;
  transition: box-shadow .15s;
  font-size: 1.03em;
  font-family: inherit;
  box-shadow: 0 2px 8px #0001;
}

.ChatBotSelector_trigger__km7Te:hover {
  box-shadow: 0 4px 16px #0002;
  border-color: #b3e5fc;
}

#bothub-model-list {
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 6px 24px #0001;
  border-radius: 11px;
  font-family: inherit;
  font-size: 1.03em;
  margin-top: 4px;
}

#bothub-model-list li:hover {
  background: #f0faff;
}

/* Текстовое поле */
.ChatInput_textareaCell__SAfnu textarea,
.TextArea_textarea__0VMgW {
  border: 1.5px solid #d8dde7;
  border-radius: 11px;
  font-size: 1.13em;
  padding: 10px 14px;
  background: #fff;
  box-shadow: 0 2px 8px #0001;
  font-family: inherit;
  resize: vertical;
  min-height: 44px;
  transition: border .2s;
}

.ChatInput_textareaCell__SAfnu textarea:focus,
.TextArea_textarea__0VMgW:focus {
  border: 1.5px solid #ffe066;
  outline: none;
  box-shadow: 0 4px 18px #ffe06622;
}

/* Кнопка отправки */
#bothub-send,
.ui-kit-button {
  background: linear-gradient(95deg, #ffe066, #f7b801 70%);
  color: #212121;
  font-weight: 700;
  border: none;
  border-radius: 11px;
  box-shadow: 0 2px 10px #f7b80144;
  transition: background .17s, box-shadow .14s, transform .09s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 44px;
}

#bothub-send:hover {
  background: linear-gradient(90deg, #ffe066, #ffd54f 90%);
  box-shadow: 0 4px 18px #f7b80155;
  transform: translateY(-2px) scale(1.04);
}

/* Политика */
.PrivacyPolicy_text__zkGt9 {
  font-size: 0.98em;
  color: #6c7a95;
  text-align: center;
  display: block;
  margin-top: 18px;
}

.PrivacyPolicy_link__GycLX {
  color: #f7b801;
  text-decoration: underline;
}


/* Вся история — столбик */
#bothub-chat-history {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Одна пара сообщений (вопрос-ответ) */
.chat-history-message {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

/* "Ты:" и "ИИ:" */
.chat-label-user,
.chat-label-bot {
  font-size: 0.97em;
  color: #757575;
  margin-bottom: 1px;
  font-weight: 500;
}

/* Баллончик пользователя — справа */
.chat-bubble-user {
  align-self: flex-end;
  background: linear-gradient(92deg, #ffe066 80%, #fffbe7 100%);
  color: #232323;
  padding: 12px 16px;
  border-radius: 18px 7px 18px 18px;
  border: 1.5px solid #ffe066;
  max-width: 68%;
  font-size: 1.08em;
  line-height: 1.6;
  box-shadow: 0 1px 10px #ffe0661c;
  margin-bottom: 4px;
  word-break: break-word;
}

/* Баллончик ИИ — слева */
.chat-bubble-bot {
  align-self: flex-start;
  background: #f4f4f9;
  color: #232323;
  padding: 12px 16px;
  border-radius: 7px 18px 18px 18px;
  border: 1.5px solid #e5e7ed;
  max-width: 68%;
  font-size: 1.08em;
  line-height: 1.6;
  box-shadow: 0 1px 10px #bcc7e11c;
  margin-bottom: 4px;
  word-break: break-word;
}

@media (max-width: 600px) {

  .chat-bubble-user,
  .chat-bubble-bot {
    max-width: 96%;
    padding: 10px 11px;
    font-size: 1em;
  }
}



.wp-block-list {
  margin: 0 0 1.2em 1.4em;
  padding: 0;
  margin-bottom: 0;
}

.wp-block-list ul {
  margin-left: 1.4em;
}

.wp-block-list>li[style*="none"] {
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}

.wp-block-list>li[style*="none"]>ul.wp-block-list>li {
  list-style-type: disc !important;
}

.wp-block-list>li[style*="none"]>ul.wp-block-list>li>ul.wp-block-list>li {
  margin-bottom: .35em;
}

.wp-block-list li {
  list-style-position: inside;
}

/* =========  IA-generador | FAQ  ========= */

:root {
  --ia-bg: #f6f6f4;
  /* общий светлый фон блоков */
  --ia-primary: #ecff59;
  /* лаймовый акцент (карточки) */
  --ia-text: #000;
  --ia-muted: #606060;
}

.faq {
  background: var(--ia-bg);
  border-radius: 24px;
  margin: 4rem auto;
  padding: 3rem 1.5rem;
  max-width: var(--chat-max-width);
}

.faq__inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center
}

.faq__title {
  font: 700 clamp(1.75rem, 2.4vw+1rem, 2.25rem)/1.2 "Inter", sans-serif;
  color: var(--ia-text);
  margin-bottom: .5rem
}

.faq__desc {
  max-width: 520px;
  margin: 0 auto 2.5rem;
  color: var(--ia-muted);
  font-size: 1.05rem;
  line-height: 1.55
}

.faq__list {
  border-top: 1px solid var(--ia-muted)
}

.faq__item {
  border-bottom: 1px solid var(--ia-muted)
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.25rem 0;
  border: 0;
  background: none;
  font: 600 1.05rem/1.4 "Inter", sans-serif;
  color: var(--ia-text);
  cursor: pointer;
  transition: color .25s;
  padding-left: 10px;
  padding-right: 10px;
}

.faq__question:hover {
  color: #000000;
  background-color: #ecff59;
}
.faq__question:hover+.faq__answer {
  background-color: #ecff59;
}

.faq__question:hover+.faq__answer,
.faq__question:hover+.faq__answer p {
  color: #000;
}

.faq__icon {
  flex-shrink: 0;
  transition: transform .3s
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height .35s ease, padding .35s ease;
}

.faq__answer p {
  margin: 0;
  color: var(--ia-muted);
  line-height: 1.6
}

/* открытое состояние */
.faq__item.is-open .faq__icon {
  transform: rotate(180deg)
}

.faq__item.is-open .faq__answer {
  max-height: 600px;
  /* достаточно для длинных ответов */
  padding-bottom: 1.1rem;
  pointer-events: auto
}

/* фокус-видимый для доступности */
.faq__question:focus-visible {
  outline: 3px solid var(--ia-primary);
  outline-offset: 2px
}

p, li, tr{
  font-weight: 400;
}

.page_container__uqdSr.text_redactor table{
    width:100%;
    border-collapse:collapse;
    margin:2rem 0;
    font-size:1rem;
    line-height:1.55;
    overflow-x:auto;
    display:block;
}
.page_container__uqdSr.text_redactor table td{
    padding:12px 16px;
    border:1px solid #e3e3e3;
    vertical-align:top;
}
.page_container__uqdSr.text_redactor table tr:first-child td{
    background:#ecff59;
    color:#000;
    font-weight:600;
}
.page_container__uqdSr.text_redactor table tr:nth-child(even):not(:first-child){
    background:#fafafa;
}
.page_container__uqdSr.text_redactor table tr:not(:first-child):hover{
    background:#fefee8;
}
.page_container__uqdSr.text_redactor table td b{
    font-weight:600;
}
