:host { all: initial; }
/* ИСПРАВЛЕНИЕ: mini теперь только размер launcher */
.mini { 
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial; 
  position: relative; 
  display: inline-block;
  width: 56px;
  height: 56px;
}
.launcher {
  width:56px; height:56px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background: #fff; color:#000; font-weight:700; box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  cursor:pointer; user-select:none; position:relative; z-index:3;
  font-size: 11px; line-height: 1.15; text-align: center; padding: 4px; box-sizing: border-box;
}
/* ИСПРАВЛЕНИЕ: Widget абсолютно позиционирован и НЕ влияет на размер mini */
.widget {
  width:360px; max-width:92vw; border-radius:14px; overflow:hidden; display:flex; flex-direction:column;
  background:linear-gradient(180deg,#0f0f0f,#0b0b0b); color:#fff; box-shadow:0 18px 50px rgba(0,0,0,0.6);
  border:1px solid rgba(255,255,255,0.04);
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  transform-origin: bottom right;
  z-index: 2;
  /* Добавлены переходы для плавной анимации */
  transform: scale(1); /* Дефолтное состояние для transform */
  transition: opacity 0.3s ease-out, transform 0.3s ease-out, width 0.3s ease, height 0.3s ease, border-radius 0.3s ease;
  min-height: 400px;
  max-height: 80vh;
  /* Ограничения для предотвращения выхода за границы экрана */
  max-width: min(360px, calc(100vw - 36px)); /* 18px справа + 18px отступ */
  max-height: min(80vh, calc(100vh - 100px)); /* Оставляем место сверху и снизу */
}
.panel{
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:0;
  flex: 1; /* Чтобы занимать все место в родительском flex-контейнере (.widget) */
  width: 100%; /* На всякий случай */
}
.widget.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none; /* Предотвратить взаимодействие при скрытии */
}
.header { display:flex; gap:12px; align-items:center; padding:12px 140px 12px 12px; border-bottom:1px solid rgba(255,255,255,0.03); position: relative; flex-shrink:0; }
.theme-toggle-btn {
  display: flex;
  position: absolute;
  right: 100px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  cursor: pointer;
  padding: 0;
  z-index: 10;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease, transform 0.1s ease, border-color 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.theme-toggle-btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}
.theme-toggle-btn:active {
  transform: translateY(-50%) scale(0.95);
}
.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
}
.theme-toggle-btn svg [fill="currentColor"] {
  fill: currentColor;
  stroke: none;
}
.reset-btn {
  display: flex;
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  z-index: 10;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease, transform 0.1s ease, border-color 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.reset-btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}
.reset-btn:active {
  transform: translateY(-50%) scale(0.95);
}
.reset-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
}
.close-btn {
  display: flex; /* Видно всегда на всех устройствах */
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  z-index: 10;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease, transform 0.1s ease, border-color 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.close-btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}
.close-btn:active {
  transform: translateY(-50%) scale(0.95);
}
.close-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
}
.avatar{width:40px;height:40px;border-radius:8px;background:#fff;color:#000;display:flex;align-items:center;justify-content:center;font-weight:700}
.title{font-weight:600}
.subtitle{font-size:12px;color:#bfbfbf;display:none}
.messages{padding:14px;display:flex;flex-direction:column;gap:10px;overflow-y:auto;overflow-x:hidden;max-height:360px;background:transparent;flex:1;min-height:0;position:relative}
.msg{max-width:78%;padding:10px 12px;border-radius:12px;font-size:14px;line-height:1.35}
.msg.user{align-self:flex-end;background:linear-gradient(180deg,#fff,#f2f2f2);color:#000;border-bottom-right-radius:6px}
.msg.bot{align-self:flex-start;background:linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));color:#cfcfcf;border-bottom-left-radius:6px;border:1px solid rgba(255,255,255,0.02)}
.msg.bot .md-content { word-wrap: break-word; overflow-wrap: break-word; }
.msg.bot .md-content p { margin: 0.4em 0; }
.msg.bot .md-content p:first-child { margin-top: 0; }
.msg.bot .md-content p:last-child { margin-bottom: 0; }
.msg.bot .md-content h1, .msg.bot .md-content h2, .msg.bot .md-content h3, .msg.bot .md-content h4, .msg.bot .md-content h5, .msg.bot .md-content h6 { margin: 0.5em 0 0.35em; font-weight: 600; line-height: 1.25; }
.msg.bot .md-content h1 { font-size: 1.25em; }
.msg.bot .md-content h2 { font-size: 1.15em; }
.msg.bot .md-content h3 { font-size: 1.08em; }
.msg.bot .md-content h4 { font-size: 1.02em; }
.msg.bot .md-content h5 { font-size: 0.98em; }
.msg.bot .md-content h6 { font-size: 0.94em; }
.msg.bot .md-content mark { background: rgba(255, 214, 0, 0.35); color: inherit; padding: 0 2px; border-radius: 2px; }
.msg.bot .md-content footer, .msg.bot .md-content figcaption { font-size: 12px; color: #bfbfbf; margin-top: 0.35em; }
.msg.bot .md-content blockquote cite, .msg.bot .md-content aside cite, .msg.bot .md-content figcaption cite { display: block; font-size: 11px; margin-top: 0.25em; opacity: 0.85; font-style: normal; }
.msg.bot .md-content aside { margin: 0.5em 0; padding: 8px 10px; border-left: 3px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.04); border-radius: 0 8px 8px 0; }
.msg.bot .md-content figure { margin: 0.5em 0; }
.msg.bot .md-content img, .msg.bot .md-content video { max-width: 100%; height: auto; border-radius: 8px; display: block; }
.msg.bot .md-content audio { width: 100%; max-width: 100%; margin: 0.35em 0; }
.msg.bot .md-content details { margin: 0.4em 0; padding: 6px 8px; border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; }
.msg.bot .md-content summary { cursor: pointer; font-weight: 600; }
.msg.bot .md-content li input[type="checkbox"] { margin-right: 0.45em; vertical-align: middle; }
.msg.bot .md-content table.tg-table-bordered th, .msg.bot .md-content table.tg-table-bordered td { border: 1px solid rgba(255,255,255,0.18); }
.msg.bot .md-content table.tg-table-striped tr:nth-child(even) { background: rgba(255,255,255,0.04); }
.msg.bot .md-content caption { caption-side: bottom; font-size: 12px; color: #bfbfbf; padding-top: 6px; }
.msg.bot .md-content .tg-spoiler { background: rgba(255,255,255,0.12); border-radius: 4px; padding: 0 4px; cursor: pointer; filter: blur(5px); transition: filter 0.2s ease; }
.msg.bot .md-content .tg-spoiler.revealed { filter: none; background: transparent; }
.msg.bot .md-content .tg-spoiler-media { filter: blur(14px); cursor: pointer; transition: filter 0.2s ease; }
.msg.bot .md-content .tg-spoiler-media.revealed { filter: none; }
.msg.bot .md-content .tg-reference { border-bottom: 1px dashed rgba(126,184,255,0.6); }
.msg.bot .md-content .tg-emoji, .msg.bot .md-content .tg-emoji-img { display: inline; vertical-align: middle; }
.msg.bot .md-content .tg-emoji-img { width: 1.25em; height: 1.25em; }
.msg.bot .md-content .tg-math { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-style: italic; }
.msg.bot .md-content .tg-math-block { display: block; margin: 0.5em 0; padding: 10px 12px; border-radius: 8px; background: rgba(0,0,0,0.25); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; text-align: center; overflow-x: auto; }
.msg.bot .md-content .tg-collage, .msg.bot .md-content .tg-slideshow { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 6px; margin: 0.5em 0; }
.msg.bot .md-content .tg-map a { word-break: break-word; }
.msg.bot .md-content ul, .msg.bot .md-content ol { margin: 0.35em 0; padding-left: 1.35em; }
.msg.bot .md-content li { margin: 0.2em 0; }
.msg.bot .md-content pre { margin: 0.5em 0; padding: 10px 12px; border-radius: 8px; background: rgba(0,0,0,0.35); overflow-x: auto; font-size: 13px; line-height: 1.45; }
.msg.bot .md-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 0.92em; }
.msg.bot .md-content :not(pre) > code { padding: 0.15em 0.4em; border-radius: 4px; background: rgba(0,0,0,0.25); }
.msg.bot .md-content pre code { background: none; padding: 0; font-size: inherit; }
.msg.bot .md-content blockquote { margin: 0.4em 0; padding-left: 0.75em; border-left: 3px solid rgba(255,255,255,0.2); color: #bfbfbf; }
.msg.bot .md-content a { color: #7eb8ff; text-decoration: underline; }
.msg.bot .md-content table { border-collapse: collapse; width: 100%; margin: 0.5em 0; font-size: 13px; }
.msg.bot .md-content th, .msg.bot .md-content td { border: 1px solid rgba(255,255,255,0.12); padding: 6px 8px; text-align: left; }
.msg.bot .md-content hr { border: none; border-top: 1px solid rgba(255,255,255,0.12); margin: 0.75em 0; }
.widget.theme-light { background: linear-gradient(180deg,#fafafa,#f0f0f0); color: #111; border-color: rgba(0,0,0,0.08); box-shadow: 0 18px 50px rgba(0,0,0,0.12); }
.widget.theme-light .header { border-bottom-color: rgba(0,0,0,0.08); }
.widget.theme-light .title { color: #111; }
.widget.theme-light .subtitle { color: #666; }
.widget.theme-light .theme-toggle-btn, .widget.theme-light .reset-btn, .widget.theme-light .close-btn {
  background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.15); color: #222;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.widget.theme-light .theme-toggle-btn:hover, .widget.theme-light .reset-btn:hover, .widget.theme-light .close-btn:hover {
  background: rgba(0,0,0,0.1); border-color: rgba(0,0,0,0.22);
}
.widget.theme-light .msg.bot { background: linear-gradient(180deg, #fff, #f5f5f5); color: #222; border-color: rgba(0,0,0,0.06); }
.widget.theme-light .msg.bot .md-content blockquote { border-left-color: rgba(0,0,0,0.15); color: #555; }
.widget.theme-light .msg.bot .md-content pre { background: rgba(0,0,0,0.06); }
.widget.theme-light .msg.bot .md-content :not(pre) > code { background: rgba(0,0,0,0.08); }
.widget.theme-light .msg.bot .md-content a { color: #0066cc; }
.widget.theme-light .msg.bot .md-content th, .widget.theme-light .msg.bot .md-content td { border-color: rgba(0,0,0,0.12); }
.widget.theme-light .msg.bot .md-content hr { border-top-color: rgba(0,0,0,0.12); }
.widget.theme-light .msg.bot .md-content mark { background: rgba(255, 214, 0, 0.45); }
.widget.theme-light .msg.bot .md-content footer, .widget.theme-light .msg.bot .md-content figcaption, .widget.theme-light .msg.bot .md-content caption { color: #666; }
.widget.theme-light .msg.bot .md-content aside { border-left-color: rgba(0,0,0,0.15); background: rgba(0,0,0,0.04); }
.widget.theme-light .msg.bot .md-content details { border-color: rgba(0,0,0,0.1); }
.widget.theme-light .msg.bot .md-content table.tg-table-striped tr:nth-child(even) { background: rgba(0,0,0,0.04); }
.widget.theme-light .msg.bot .md-content .tg-spoiler { background: rgba(0,0,0,0.1); }
.widget.theme-light .msg.bot .md-content .tg-math-block { background: rgba(0,0,0,0.06); }
.widget.theme-light .meta { color: #666; }
.widget.theme-light .input-area { border-top-color: rgba(0,0,0,0.08); background: transparent; }
.widget.theme-light .input { background: #fff; border-color: rgba(0,0,0,0.12); color: #111; }
.widget.theme-light .input::placeholder { color: rgba(0,0,0,0.4); }
.widget.theme-light .input:focus { border-color: rgba(0,0,0,0.22); background: #fff; }
.widget.theme-light .send-btn { background: rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.18); color: #111; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.widget.theme-light .send-btn:hover:not([disabled]) { background: rgba(0,0,0,0.12); border-color: rgba(0,0,0,0.25); }
.consent-modal.theme-light { background: linear-gradient(180deg,#fafafa,#f0f0f0); color: #111; border-color: rgba(0,0,0,0.08); }
.consent-modal.theme-light h3 { color: #111; }
.consent-modal.theme-light p { color: #555; }
.consent-modal.theme-light .consent-modal-actions button { color: #111; border-color: rgba(0,0,0,0.12); }
.consent-modal.theme-light .consent-modal-actions button:hover { background: rgba(0,0,0,0.05); }
.meta{font-size:11px;color:#bfbfbf;margin-top:6px}
.input-area{display:flex;gap:10px;padding:12px;border-top:1px solid rgba(255,255,255,0.02);align-items:flex-end;flex-shrink:0;margin-top:auto}
.input{flex:1;background:rgba(255,255,255,0.05);border-radius:8px;padding:9px 12px;border:1px solid rgba(255,255,255,0.08);outline:none;color:#fff;font-size:14px;min-height:40px;max-height:140px;line-height:1.4;font-family:inherit;overflow-y:auto;resize:none;box-sizing:border-box;}
.input::placeholder{color:rgba(255,255,255,0.4)}
.input:focus{border-color:rgba(255,255,255,0.15);background:rgba(255,255,255,0.07)}
.send-btn{
  background:rgba(255,255,255,0.2);
  border:1.5px solid rgba(255,255,255,0.4);
  padding:0;
  border-radius:50%;
  cursor:pointer;
  color:#ffffff;
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  transition:background-color 0.2s ease, transform 0.1s ease, border-color 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  position:relative;
}
.send-btn:hover:not([disabled]){
  background:rgba(255,255,255,0.25);
  border-color:rgba(255,255,255,0.3);
  transform:scale(1.05);
}
.send-btn:active:not([disabled]){
  transform:scale(0.95);
}
.send-btn[disabled]{opacity:0.45;cursor:default}
.send-btn svg{
  width:20px;
  height:20px;
  stroke:currentColor;
  stroke-width:3;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
  display:block;
  margin:0;
  flex-shrink:0;
}
.typing { display:inline-flex; gap:6px; align-items:center; }
.dot{width:6px;height:6px;border-radius:50%;background:#bfbfbf;opacity:0.3;animation:blink 1.2s infinite}
.dot:nth-child(2){animation-delay:0.15s} .dot:nth-child(3){animation-delay:0.3s}
@keyframes blink{50%{opacity:1}}
/* .hidden{display:none}  Теперь управляется opacity и transform */

/* Медиа-запрос для мобильных устройств (ширина до 420px) */
@media (max-width: 420px){
  /* Дефолтные размеры виджета для мобильных, когда он не в полноэкранном режиме */
  .widget{width:94vw;border-radius:10px;min-height:500px;max-height:90vh;}

  /* Полноэкранный режим для виджета на мобильных устройствах, когда он открыт */
  .widget:not(.hidden) { /* Когда виджет открыт (не скрыт) */
    position: fixed !important; /* Переопределить абсолютное позиционирование на фиксированное */
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    width: 100vw !important;
    height: 100vh !important; /* fallback */
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important; /* Отсутствие скругления углов для полноэкранного режима */
    transform: none !important; /* Сбросить трансформации */
    opacity: 1 !important;
    z-index: 2147483647 !important; /* Убедиться, что он находится поверх всего */
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    /* Фон остаётся фуллскрин */
    padding-bottom: 0 !important;
  }
  /* Контент (шапка/сообщения/инпут) живёт в visualViewport */
  .widget:not(.hidden) .panel{
    position:absolute;
    left:0;
    right:0;
    top: var(--n8n-vv-top, 0px);
    height: var(--n8n-vv-height, 100dvh);
    max-height: var(--n8n-vv-height, 100dvh);
    display:flex;
    flex-direction:column;
    min-height:0;
    /* небольшой запас под нижние системные зоны */
    padding-bottom: env(safe-area-inset-bottom, 0px);
    will-change: top, height;
  }
  .widget:not(.hidden) .messages {
    /* Корректировка максимальной высоты для полноэкранного режима */
    max-height: none;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* КРИТИЧНО: чтобы flex-элемент мог ужиматься при клавиатуре */
    min-height: 0;
    overscroll-behavior: contain;
  }
  /* Показать кнопки на мобильных устройствах всегда */
  .theme-toggle-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    right: 100px;
  }
  .reset-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    right: 56px;
  }
  .close-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  /* Скрыть лаунчер, когда виджет открыт на мобильном устройстве */
  .mini .widget:not(.hidden) + .launcher {
    display: none;
  }
  /* Убедиться, что input-area всегда внизу */
  .widget {
    display: flex;
    flex-direction: column;
  }
  .input-area {
    margin-top: auto;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
    padding-top: 12px;
    position: relative;
    z-index: 10;
    background: linear-gradient(180deg,#0f0f0f,#0b0b0b);
  }
  .widget.theme-light .input-area {
    background: linear-gradient(180deg,#fafafa,#f0f0f0);
  }
  /* Адаптивные размеры для мобильных */
  .header {
    padding: 14px 140px 14px 12px;
    min-height: 56px;
  }
  .avatar {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .title {
    font-size: 14px;
  }
  .subtitle {
    font-size: 11px;
    display: none;
  }
  .msg {
    font-size: 14px;
    padding: 12px 14px;
  }
  .input {
    font-size: 16px; /* Предотвращает зум на iOS */
    padding: 10px 12px;
    min-height: 44px;
    max-height: 160px;
    line-height: 1.4;
    border-radius: 8px;
    overflow-y: auto;
    resize: none;
    box-sizing: border-box;
  }
  .input-area {
    align-items: center;
    /* НЕ затираем padding-bottom, который учитывает клавиатуру */
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 12px;
  }
  .send-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  .send-btn svg {
    width: 22px;
    height: 22px;
    display: block;
    margin: 0 auto;
    flex-shrink: 0;
  }
  /* Модальное окно согласия на мобильных */
  .consent-modal {
    max-width: calc(100vw - 40px);
    padding: 24px 20px;
    margin: 20px;
  }
  .consent-modal h3 {
    font-size: 18px;
  }
  .consent-modal p {
    font-size: 14px;
  }
}

/* Стили для модального окна согласия */
.consent-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2147483647; /* Выше всех */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.consent-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.consent-modal {
  background: linear-gradient(180deg,#0f0f0f,#0b0b0b);
  color: #fff;
  padding: 20px;
  border-radius: 14px;
  max-width: 400px;
  margin: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.04);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.consent-modal-overlay.visible .consent-modal {
  transform: translateY(0);
  opacity: 1;
}
.consent-modal h3 {
  margin-top: 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.consent-modal p {
  font-size: 14px;
  line-height: 1.5;
  color: #bfbfbf;
  margin-bottom: 20px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.consent-modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.consent-modal-actions button {
  flex: 1;
  padding: 10px 15px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.06);
  background: transparent;
  color: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
}
.consent-modal-actions button:hover {
  background-color: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
.consent-modal-actions button.agree {
  background-color: #007bff; /* Или другой акцентный цвет */
  border-color: #007bff;
  color: #fff;
}
.consent-modal-actions button.agree:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}
.consent-modal-actions button.decline {
  background-color: #6c757d; /* Или нейтральный цвет */
  border-color: #6c757d;
  color: #fff;
}
.consent-modal-actions button.decline:hover {
  background-color: #5a6268;
  border-color: #5a6268;
}

