.ai-widget { position: fixed; right: 24px; bottom: 24px; z-index: 80; font-family: inherit; }

.ai-compact-shell { display: none; }

.ai-toggle { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(13, 59, 102, .18); border-radius: 999px; padding: 10px 16px 10px 10px; color: #10213a; background: rgba(255, 255, 255, .96); box-shadow: 0 18px 40px rgba(19, 43, 76, .18); cursor: pointer; font-weight: 850; letter-spacing: -.01em; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }

.ai-toggle:hover { transform: translateY(-2px); border-color: rgba(13, 59, 102, .28); box-shadow: 0 22px 48px rgba(19, 43, 76, .22); }

.ai-toggle-avatar,
.ai-avatar { position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 28%, rgba(255,255,255,.95), transparent 26px),
    linear-gradient(145deg, #e9f3ff, #d8e8fb 48%, #f9e0a6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 20px rgba(13,59,102,.16); }

.ai-toggle-avatar { width: 38px; height: 38px; }

.ai-panel { position: absolute; right: 0; bottom: 64px; width: min(425px, calc(100vw - 32px)); max-height: min(720px, calc(100vh - 116px)); display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(28, 45, 73, .16); border-radius: 24px; background: rgba(255,255,255,.98); box-shadow: 0 30px 80px rgba(20, 41, 70, .22); }

.ai-panel-header { display: flex; align-items: center; gap: 12px; padding: 16px 16px 12px; border-bottom: 1px solid rgba(28,45,73,.12); background: linear-gradient(180deg, rgba(248,251,255,.96), rgba(255,255,255,.95)); }

.ai-avatar { width: 50px; height: 50px; }

.ai-avatar::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 1px solid rgba(246,179,33,.28); opacity: .8; animation: aiPulse 2.8s ease-in-out infinite; }

.ai-widget.is-listening .ai-avatar::after,
.ai-widget.is-thinking .ai-avatar::after { border-color: rgba(13, 59, 102, .32); animation-duration: 1.2s; }

.ai-waveform { position: absolute; right: -2px; bottom: -1px; display: none; align-items: end; gap: 2px; padding: 4px; border-radius: 999px; background: #fff; box-shadow: 0 5px 12px rgba(13,59,102,.15); }

.ai-waveform i { width: 3px; height: 7px; border-radius: 999px; background: var(--blue); animation: aiWave 700ms ease-in-out infinite; }

.ai-waveform i:nth-child(2) { animation-delay: 120ms; }
.ai-waveform i:nth-child(3) { animation-delay: 240ms; }
.ai-widget.is-speaking .ai-waveform,
.ai-widget.is-listening .ai-waveform { display: inline-flex; }

.ai-panel-title { min-width: 0; flex: 1; }

.ai-panel-title strong { display: block; color: #10213a; font-size: 15px; letter-spacing: -.01em; }

.ai-panel-title small { display: block; color: #607189; margin-top: 2px; font-size: 12px; }

.ai-close { border: 0; width: 34px; height: 34px; border-radius: 50%; background: rgba(13,59,102,.08); color: #26364d; cursor: pointer; font-size: 22px; line-height: 1; }

.ai-disclaimer { margin: 0; padding: 12px 16px; color: #614711; background: linear-gradient(180deg, rgba(255,244,214,.9), rgba(255,249,233,.92)); border-bottom: 1px solid rgba(246,179,33,.22); font-size: 12px; line-height: 1.42; }

.ai-quick-actions { display: flex; flex-wrap: wrap; gap: 7px; padding: 12px 16px 8px; }

.ai-quick-actions button { border: 1px solid rgba(13,59,102,.14); border-radius: 999px; padding: 7px 10px; color: #25415f; background: #f6f9fd; cursor: pointer; font-size: 12px; font-weight: 750; }

.ai-quick-actions button:hover { background: #eef5fc; border-color: rgba(13,59,102,.24); }

.ai-messages { flex: 1; overflow: auto; padding: 10px 16px 12px; display: flex; flex-direction: column; gap: 10px; min-height: 150px; }

.ai-message { display: flex; flex-direction: column; gap: 6px; max-width: 88%; }

.ai-message.user { align-self: flex-end; align-items: flex-end; }

.ai-message.assistant,
.ai-message.system { align-self: flex-start; align-items: flex-start; }

.ai-bubble { border-radius: 18px; padding: 10px 12px; font-size: 14px; line-height: 1.42; white-space: pre-wrap; }

.ai-message.user .ai-bubble { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-2)); border-bottom-right-radius: 6px; }

.ai-message.assistant .ai-bubble { color: #1d2d44; background: #f2f6fb; border: 1px solid rgba(28,45,73,.10); border-bottom-left-radius: 6px; }

.ai-message.system .ai-bubble { color: #68490e; background: #fff7df; border: 1px solid rgba(246,179,33,.22); }

.ai-speak { border: 0; border-radius: 999px; padding: 5px 9px; color: #40536e; background: rgba(13,59,102,.08); cursor: pointer; font-size: 12px; }

.ai-input-row { display: grid; grid-template-columns: 36px 1fr 38px; gap: 8px; align-items: end; padding: 12px 16px; border-top: 1px solid rgba(28,45,73,.12); background: #fff; }

.ai-input-row textarea { width: 100%; min-height: 44px; max-height: 120px; resize: vertical; border: 1px solid rgba(28,45,73,.18); border-radius: 14px; padding: 10px 11px; font-family: inherit; font-size: 14px; line-height: 1.35; color: #1b2a40; outline: none; }

.ai-input-row textarea:focus { border-color: rgba(13,59,102,.42); box-shadow: 0 0 0 3px rgba(13,59,102,.08); }

.ai-voice,
.ai-send { border: 0; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-weight: 900; }

.ai-voice { color: #28435f; background: #eef4fb; }

.ai-voice[disabled] { opacity: .45; cursor: not-allowed; }

.ai-send { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-2)); }

.ai-send[disabled] { opacity: .55; cursor: wait; }

.ai-speech-toggle { border: 0; padding: 6px 9px; border-radius: 999px; color: #506178; background: #f1f5fa; cursor: pointer; font-size: 12px; font-weight: 750; }

.ai-voice-note { color: #748299; font-size: 11px; line-height: 1.3; text-align: right; }

.ai-thinking-dots { display: inline-flex; gap: 4px; padding: 12px; }

.ai-thinking-dots i { width: 6px; height: 6px; border-radius: 50%; background: #6d7d92; animation: aiDots 900ms ease-in-out infinite; }

.ai-thinking-dots i:nth-child(2) { animation-delay: 120ms; }
.ai-thinking-dots i:nth-child(3) { animation-delay: 240ms; }

@keyframes aiPulse {
  0%, 100% { transform: scale(.96); opacity: .55; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes aiWave {
  0%, 100% { height: 5px; }
  50% { height: 13px; }
}

@keyframes aiDots {
  0%, 100% { transform: translateY(0); opacity: .45; }
  50% { transform: translateY(-4px); opacity: 1; }
}

@media (max-width: 640px) {
  .ai-widget { right: 14px; bottom: 14px; }

  .ai-panel { right: -2px;
    bottom: 58px;
    width: calc(100vw - 28px);
    max-height: calc(100vh - 92px); }

  .ai-toggle-text { display: none; }

  .ai-toggle { padding: 9px; }}

@media (min-width: 1101px) {
  .ai-panel { width: min(360px, calc(100vw - 32px)) !important; right: 0 !important; }}

.ai-widget.is-open .ai-toggle { opacity: 0 !important; pointer-events: none !important; transform: translateY(8px) scale(.98); }

.ai-quick-actions { position: relative; z-index: 3; }

.ai-quick-actions button { pointer-events: auto !important; user-select: none; }

.ai-mic-icon { width: 18px; height: 18px; display: block; fill: currentColor; }

.ai-voice { display: inline-grid; place-items: center; color: #0d3b66 !important; background: #e8f1fb !important; border: 1px solid rgba(13,59,102,.14) !important; }

.ai-voice:not([disabled]):hover { background: #dcebf8 !important; box-shadow: 0 0 0 3px rgba(13,59,102,.08); }
.ai-toggle-avatar,
.ai-avatar { background: radial-gradient(circle at 38% 28%, rgba(255,255,255,.9), transparent 24px), linear-gradient(145deg, #f0f6fc, #dfeaf5 56%, #f7dba2) !important; }

@media (min-width: 1101px) {
  .ai-disclaimer { font-size: 11.5px !important; line-height: 1.36 !important; }

  .ai-quick-actions { gap: 6px !important; }

  .ai-quick-actions button { font-size: 11.5px !important; padding: 6px 8px !important; }

  .ai-bubble { font-size: 13.5px !important; }}
.ai-widget { right: 18px; }

.ai-panel { right: -2px; width: min(336px, calc(100vw - 22px)); }

.ai-toggle-avatar,
.ai-avatar { overflow: hidden; background: #f7fbff; }

.ai-toggle-avatar { width: 40px; height: 40px; }

.ai-avatar { width: 54px; height: 54px; }

.ai-avatar-image { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 50%; }
.ai-avatar-image-small { transform: scale(1.02); }
.ai-panel-header { gap: 10px; }
.ai-disclaimer { padding: 12px 15px; }

.ai-quick-actions { gap: 6px; padding: 11px 15px 7px; }

.ai-quick-actions button { padding: 7px 9px; font-size: 11.5px; }
.ai-messages { padding: 10px 15px 10px; }
.ai-input-row { padding: 0 15px 12px; }
.ai-input-row textarea { min-height: 58px; }

.ai-speech-toggle { border: 0;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  transition: background .18s ease, color .18s ease, opacity .18s ease, transform .18s ease; }

.ai-speech-toggle { color: #506178; background: #f1f5fa; }

.ai-speech-toggle:not([disabled]):not([aria-disabled="true"])[aria-pressed="true"] { color: #10213a; background: #ffe3a6; }
.ai-speech-toggle:hover,
.ai-speak:hover { transform: translateY(-1px); }

.ai-voice-note { padding-top: 4px; flex: 1; }

.ai-waveform { right: -3px; bottom: -1px; }

@media (min-width: 1101px) {
  .ai-panel { width: 332px; max-height: min(720px, calc(100vh - 110px)); }}

@media (max-width: 1100px) {
  .ai-widget { right: 14px; bottom: 16px; }

  .ai-panel { right: 0; width: min(360px, calc(100vw - 20px)); }

  

  .ai-voice-note { padding-top: 0; text-align: left; }}

@media (min-width: 1101px) {
  .ai-widget { right: max(14px, calc((100vw - var(--container)) / 2 + 8px)) !important; bottom: 18px !important; }

  .ai-panel { right: 0 !important; width: 298px !important; max-height: min(700px, calc(100vh - 92px)) !important; }

  .ai-panel-header { padding: 13px 14px 12px !important; }

  .ai-disclaimer,
.ai-quick-actions,
.ai-messages,
.ai-input-row { padding-left: 14px !important;
    padding-right: 14px !important; }

  .ai-disclaimer { font-size: 11.25px !important; line-height: 1.38 !important; }

  .ai-quick-actions { gap: 5px !important; padding-top: 10px !important; padding-bottom: 7px !important; }

  .ai-quick-actions button { font-size: 11.1px !important; padding: 6px 8px !important; }

  .ai-messages { padding-top: 9px !important; padding-bottom: 8px !important; }

  .ai-bubble { font-size: 13.2px !important; line-height: 1.45 !important; }

  .ai-input-row textarea { min-height: 54px !important; }

  .ai-voice-note { font-size: 10.5px !important; }}

@media (max-width: 1100px) {
  .ai-widget { right: 12px !important; bottom: 14px !important; }

  .ai-panel { right: 0 !important; width: min(314px, calc(100vw - 18px)) !important; }

  .ai-quick-actions button { font-size: 11.3px !important; }}
.ai-toggle-avatar,
.ai-avatar { background: radial-gradient(circle at 34% 24%, rgba(255,255,255,.92), transparent 25px), linear-gradient(155deg, #eef6ff, #dbe9f7 58%, #f5d59f) !important; }
.ai-avatar-image,
.ai-avatar-image-small { object-position: center 42%; }

@media (min-width: 1101px) {
  .ai-widget { right: 18px !important; bottom: 18px !important; }

  .ai-panel { right: 0 !important; width: 286px !important; max-height: min(700px, calc(100vh - 92px)) !important; }

  .ai-panel-header { padding: 13px 13px 11px !important; }

  .ai-disclaimer,
.ai-quick-actions,
.ai-messages,
.ai-input-row { padding-left: 13px !important;
    padding-right: 13px !important; }

  .ai-disclaimer { font-size: 11.05px !important; line-height: 1.36 !important; }

  .ai-panel-title strong { font-size: 14px !important; }

  .ai-panel-title small { font-size: 11.5px !important; }

  .ai-quick-actions { gap: 5px !important; }

  .ai-quick-actions button { font-size: 10.9px !important; padding: 6px 7px !important; }

  .ai-bubble { font-size: 13px !important; line-height: 1.43 !important; }

  .ai-input-row { grid-template-columns: 34px 1fr 36px !important; gap: 7px !important; }

  .ai-voice,
.ai-send { width: 34px !important; height: 34px !important; }

  .ai-input-row textarea { min-height: 52px !important; font-size: 13.2px !important; }}

@media (min-width: 1600px) {
  .ai-widget { right: 22px !important; }}

@media (max-width: 1100px) {
  .ai-panel { width: min(304px, calc(100vw - 18px)) !important; }}

.ai-toggle-avatar picture,
.ai-avatar picture { width: 100%; height: 100%; display: block; border-radius: 50%; overflow: hidden; }

.ai-avatar-image { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center center !important; border-radius: 50% !important; }
.ai-avatar-image-small { transform: none !important; }

@media (min-width: 1101px) {
  .ai-widget { right: 10px !important; bottom: 12px !important; }

  .ai-panel { position: fixed !important;
    top: clamp(148px, 15.2vh, 210px) !important;
    right: 10px !important;
    bottom: 18px !important;
    width: 342px !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    display: flex !important; }

.ai-panel-header { flex: 0 0 auto !important;
    padding: 14px 15px 12px !important; }

  .ai-disclaimer { flex: 0 0 auto !important;
    padding: 12px 15px !important;
    font-size: 11.4px !important;
    line-height: 1.36 !important; }

  .ai-quick-actions { flex: 0 0 auto !important; padding: 11px 15px 8px !important; gap: 6px !important; }

  .ai-quick-actions button { font-size: 11.35px !important; padding: 6px 8px !important; white-space: nowrap !important; }

  .ai-messages { flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    padding: 10px 15px 10px !important; }

  .ai-input-row { flex: 0 0 auto !important;
    grid-template-columns: 36px 1fr 38px !important;
    gap: 8px !important;
    padding: 12px 15px 10px !important; }

  .ai-input-row textarea { min-height: 58px !important; max-height: 96px !important; font-size: 13.6px !important; }

  .ai-panel-title strong { font-size: 14.5px !important; }

  .ai-panel-title small,
.ai-voice-note { font-size: 11px !important; }

  .ai-bubble { font-size: 13.4px !important; line-height: 1.43 !important; }}

@media (min-width: 1500px) {
  .ai-panel { right: 14px !important; width: 352px !important; }

  .ai-widget { right: 14px !important; }}

@media (max-width: 1100px) {
  .ai-panel { position: fixed !important;
    top: 116px !important;
    right: 10px !important;
    bottom: 14px !important;
    width: min(342px, calc(100vw - 20px)) !important;
    height: auto !important;
    max-height: none !important; }

.ai-messages { flex: 1 1 auto !important; min-height: 0 !important; overflow-y: auto !important; }}

@media (max-width: 640px) {
  .ai-panel { top: 84px !important;
    right: 8px !important;
    bottom: 10px !important;
    width: calc(100vw - 16px) !important; }}

@media (min-width: 1600px) {

  .ai-widget { position: fixed !important;
    top: 0 !important;
    right: var(--ai-dock-right-pad) !important;
    bottom: 0 !important;
    width: var(--ai-dock-width) !important;
    z-index: 80 !important;
    pointer-events: none; }

  .ai-widget .ai-toggle,
.ai-widget .ai-panel,
.ai-widget .ai-close { pointer-events: auto; }

  .ai-widget.is-open .ai-toggle { opacity: 0 !important; pointer-events: none !important; }

  .ai-panel { position: fixed !important;
    top: var(--ai-dock-top) !important;
    right: var(--ai-dock-right-pad) !important;
    bottom: var(--ai-dock-bottom) !important;
    width: var(--ai-dock-width) !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    display: flex !important; }

  .ai-disclaimer { flex: 0 0 auto !important;
    padding: 12px 16px !important;
    font-size: 11.55px !important;
    line-height: 1.38 !important; }

    .ai-quick-actions button { font-size: 11.45px !important; padding: 6px 8px !important; white-space: nowrap !important; }

  .ai-messages { flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    padding: 10px 16px 10px !important; }

  .ai-bubble { font-size: 13.5px !important; line-height: 1.45 !important; }

    .ai-input-row textarea { min-height: 58px !important; max-height: 96px !important; font-size: 13.6px !important; }

    .ai-toggle { position: fixed !important; right: var(--ai-dock-right-pad) !important; bottom: var(--ai-dock-bottom) !important; }}
@media (max-width: 1599px) {
  .ai-widget { width: auto !important; pointer-events: auto !important; }}

@media (min-width: 1600px) {

  .ai-widget { position: fixed !important;
    top: 0 !important;
    right: var(--ai-dock-right-pad) !important;
    bottom: 0 !important;
    width: var(--ai-dock-width) !important;
    z-index: 80 !important;
    pointer-events: none !important; }

    .ai-panel { position: fixed !important;
    top: var(--ai-dock-panel-top) !important;
    right: var(--ai-dock-right-pad) !important;
    bottom: auto !important;
    width: var(--ai-dock-width) !important;
    height: var(--ai-dock-panel-height) !important;
    max-height: none !important;
    min-height: 0 !important;
    display: flex !important; }

.ai-panel-header { flex: 0 0 auto !important;
    padding: 14px 16px 12px !important; }

  .ai-disclaimer { flex: 0 0 auto !important;
    padding: 12px 16px !important;
    font-size: 11.65px !important;
    line-height: 1.38 !important; }

  .ai-quick-actions { flex: 0 0 auto !important; padding: 11px 16px 8px !important; gap: 6px !important; }

    .ai-messages { flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    padding: 12px 16px 12px !important; }

  .ai-message { max-width: 96% !important; }

    .ai-bubble { font-size: 13.65px !important; line-height: 1.46 !important; padding: 11px 13px !important; }

  .ai-input-row { flex: 0 0 auto !important;
    grid-template-columns: 36px 1fr 38px !important;
    gap: 8px !important;
    padding: 12px 16px 10px !important; }

  .ai-input-row textarea { min-height: 62px !important; max-height: 110px !important; font-size: 13.8px !important; }

  

  .ai-toggle { position: fixed !important; right: var(--ai-dock-right-pad) !important; bottom: 18px !important; }

  .ai-speak { display: none !important; }

  .ai-widget { position: fixed !important;
    left: var(--ai-dock-panel-left) !important;
    right: auto !important;
    top: 0 !important;
    bottom: 0 !important;
    width: var(--ai-dock-panel-width) !important;
    z-index: 80 !important;
    pointer-events: none !important; }

  .ai-panel { position: fixed !important;
    left: var(--ai-dock-panel-left) !important;
    right: auto !important;
    top: var(--ai-dock-panel-top) !important;
    bottom: auto !important;
    width: var(--ai-dock-panel-width) !important;
    height: var(--ai-dock-panel-height) !important;
    max-height: none !important;
    min-height: 0 !important;
    display: flex !important; }

  .ai-toggle { position: fixed !important;
    left: var(--ai-dock-panel-left) !important;
    right: auto !important;
    bottom: 18px !important; }

.ai-widget .ai-toggle,
.ai-widget .ai-panel,
.ai-widget .ai-close,
.ai-widget button,
.ai-widget textarea { pointer-events: auto !important; }

    .ai-speech-toggle[disabled],
.ai-speech-toggle[aria-disabled="true"] { opacity: .45 !important; cursor: default !important; transform: none !important; }

  .ai-voice-note { max-width: 118px !important; }

  .ai-widget { position: fixed !important;
    inset: 0 0 0 auto !important;
    height: 100vh !important;
    z-index: 90 !important;
    background:
      radial-gradient(circle at 50% 10%, rgba(246,179,33,.10), transparent 18rem),
      linear-gradient(180deg, rgba(248,251,255,.98), rgba(238,246,255,.94)) !important;
    border-left: 1px solid rgba(28,45,73,.18);
    box-shadow: -16px 0 38px rgba(20, 41, 70, .055);
    pointer-events: auto !important; }

  .ai-widget::before { content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(13,59,102,.18);
    pointer-events: none; }

  .ai-panel { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100vh !important; max-height: none !important; min-height: 0 !important; display: flex !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; }

  .ai-panel[hidden] { display: none !important; }

  .ai-widget.is-open .ai-toggle { display: none !important; }

  .ai-panel-header { flex: 0 0 auto !important; padding: 18px 18px 14px !important; background: rgba(255,255,255,.72) !important; }

  .ai-disclaimer { flex: 0 0 auto !important;
    padding: 14px 18px !important;
    font-size: 11.7px !important;
    line-height: 1.38 !important; }

  .ai-quick-actions { flex: 0 0 auto !important; padding: 13px 18px 10px !important; gap: 7px !important; }

  .ai-quick-actions button { font-size: 11.55px !important; padding: 6px 8px !important; white-space: nowrap !important; }

  .ai-messages { flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    padding: 14px 18px !important; }

  .ai-message { max-width: 97% !important; }

  .ai-message.user { max-width: 90% !important; }

  .ai-bubble { font-size: 13.7px !important; line-height: 1.46 !important; padding: 12px 14px !important; }

  .ai-input-row { flex: 0 0 auto !important;
    grid-template-columns: 38px 1fr 40px !important;
    gap: 9px !important;
    padding: 14px 18px 10px !important;
    background: rgba(255,255,255,.72) !important;
    border-top: 1px solid rgba(28,45,73,.12); }

  .ai-input-row textarea { min-height: 64px !important; max-height: 118px !important; font-size: 13.8px !important; }

  

  .ai-toggle { position: absolute !important; right: 18px !important; bottom: 18px !important; }}

@media (min-width: 1600px) {

  html.ai-rail-enabled .ai-widget { position: fixed !important;
    inset: 0 0 0 auto !important;
    height: 100vh !important;
    z-index: 90 !important;
    background:
      radial-gradient(circle at 50% 10%, rgba(246,179,33,.10), transparent 18rem),
      linear-gradient(180deg, rgba(248,251,255,.98), rgba(238,246,255,.94)) !important;
    border-left: 1px solid rgba(28,45,73,.18);
    box-shadow: -16px 0 38px rgba(20,41,70,.055);
    pointer-events: auto !important; }

  html.ai-rail-enabled .ai-panel { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100vh !important; max-height: none !important; min-height: 0 !important; display: flex !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; overflow: hidden !important; overscroll-behavior: contain !important; }

  html.ai-rail-enabled .ai-panel[hidden] { display: flex !important; }

  html.ai-rail-enabled .ai-widget.is-open .ai-toggle { display: none !important; }

  html.ai-rail-enabled .ai-panel-header { flex: 0 0 auto !important;
    padding: 18px 18px 14px !important;
    background: rgba(255,255,255,.76) !important;
    border-bottom: 1px solid rgba(28,45,73,.10); }

  html.ai-rail-enabled .ai-close { width: auto !important;
    height: 32px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important; }

  html.ai-rail-enabled .ai-disclaimer { flex: 0 0 auto !important;
    padding: 14px 18px !important;
    font-size: 11.7px !important;
    line-height: 1.38 !important; }

  html.ai-rail-enabled .ai-quick-actions { flex: 0 0 auto !important; padding: 13px 18px 10px !important; gap: 7px !important; }

  html.ai-rail-enabled .ai-quick-actions button { font-size: 11.55px !important; padding: 6px 8px !important; white-space: nowrap !important; }

  html.ai-rail-enabled .ai-messages { flex: 1 1 auto !important; min-height: 0 !important; overflow-y: auto !important; overscroll-behavior: contain !important; padding: 14px 18px !important; }

  html.ai-rail-enabled .ai-message { max-width: 97% !important; }

  html.ai-rail-enabled .ai-message.user { max-width: 90% !important; }

  html.ai-rail-enabled .ai-bubble { font-size: 13.7px !important; line-height: 1.46 !important; padding: 12px 14px !important; }

  html.ai-rail-enabled .ai-input-row { flex: 0 0 auto !important;
    grid-template-columns: 38px 1fr 40px !important;
    gap: 9px !important;
    padding: 14px 18px 10px !important;
    background: rgba(255,255,255,.76) !important;
    border-top: 1px solid rgba(28,45,73,.12); }

  html.ai-rail-enabled .ai-input-row textarea { min-height: 64px !important; max-height: 118px !important; font-size: 13.8px !important; }

  html.ai-rail-collapsed .ai-widget { position: fixed !important;
    top: 122px !important;
    right: 18px !important;
    bottom: auto !important;
    left: auto !important;
    width: min(320px, calc(100vw - 36px)) !important;
    height: auto !important;
    z-index: 90 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    pointer-events: auto !important; }

  html.ai-rail-collapsed .ai-panel { position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: flex !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    background: rgba(255,255,255,.96) !important;
    border: 1px solid rgba(28,45,73,.12) !important;
    box-shadow: 0 18px 44px rgba(20,41,70,.12) !important; }

  html.ai-rail-collapsed .ai-panel[hidden] { display: flex !important; }

  html.ai-rail-collapsed .ai-panel-header { flex: 0 0 auto !important; width: 100% !important; padding: 13px 14px !important; background: rgba(255,255,255,.96) !important; border-bottom: 0 !important; }

  html.ai-rail-collapsed .ai-close { width: auto !important;
    height: 32px !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    background: #f6b321 !important;
    color: #0b2340 !important; }

  html.ai-rail-collapsed .ai-disclaimer,
html.ai-rail-collapsed .ai-quick-actions,
html.ai-rail-collapsed .ai-messages,
html.ai-rail-collapsed .ai-input-row,
html.ai-rail-collapsed .ai-toggle { display: none !important; }}

.ai-input-row textarea { min-height: 86px !important; max-height: 180px !important; }

@media (min-width: 1600px) {
  html.ai-rail-enabled .ai-input-row { grid-template-columns: 38px 1fr 40px !important; align-items: center !important; }

  html.ai-rail-enabled .ai-speech-toggle:not([disabled]):not([aria-disabled="true"])[aria-pressed="true"] { color: #10213a !important; background: #ffe3a6 !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.72); }}

@media (max-width: 1599px) {
  .ai-input-row textarea { min-height: 82px !important; max-height: 160px !important; }}

html.ai-rail-enabled .ai-widget,
html.ai-rail-enabled .ai-panel,
html.ai-rail-enabled .ai-messages { scrollbar-width: none !important; -ms-overflow-style: none !important; }

html.ai-rail-enabled .ai-widget::-webkit-scrollbar,
html.ai-rail-enabled .ai-panel::-webkit-scrollbar,
html.ai-rail-enabled .ai-messages::-webkit-scrollbar { width: 0 !important; height: 0 !important; display: none !important; }
.ai-panel-title small { display: none !important; }
.ai-panel-title { gap: 0 !important; }

@media (min-width: 1600px) {
  html.ai-rail-enabled .ai-panel-title strong,
html.ai-rail-collapsed .ai-panel-title strong { line-height: 1.15 !important; }}
.ai-panel,
.ai-panel * { box-sizing: border-box; }

.ai-panel-header { align-items: center !important; gap: 11px !important; }

.ai-panel-title { display: flex !important; align-items: center !important; min-width: 0 !important; }
.ai-panel-title strong { white-space: nowrap !important; }

.ai-close { flex: 0 0 auto !important; width: auto !important; height: 32px !important; min-width: 68px !important; padding: 0 13px !important; border: 1px solid rgba(13,59,102,.12) !important; border-radius: 999px !important; color: #18324f !important; background: rgba(255,255,255,.82) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.80) !important; font-size: 12px !important; font-weight: 850 !important; line-height: 1 !important; }

.ai-close:hover,
.ai-close:focus-visible { background: #fff !important; border-color: rgba(246,179,33,.42) !important; outline: none !important; }

.ai-disclaimer { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 12px 18px !important; color: #5d430c !important; background: linear-gradient(180deg, rgba(255,244,214,.94), rgba(255,249,233,.96)) !important; border-top: 1px solid rgba(246,179,33,.18) !important; border-bottom: 1px solid rgba(246,179,33,.24) !important; }

.ai-input-row { display: flex !important; flex: 0 0 auto !important; flex-direction: column !important; align-items: stretch !important; gap: 8px !important; padding: 12px 18px 14px !important; background: rgba(255,255,255,.78) !important; border-top: 1px solid rgba(28,45,73,.12) !important; }

.ai-input-row textarea { width: 100% !important; min-height: 92px !important; max-height: 180px !important; resize: vertical !important; }

.ai-input-actions { display: flex !important; align-items: center !important; gap: 8px !important; width: 100% !important; min-width: 0 !important; }

.ai-voice,
.ai-speech-toggle,
.ai-send { min-height: 32px !important; border-radius: 999px !important; box-shadow: none !important; font-size: 12px !important; line-height: 1 !important; }

.ai-voice { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 6px !important; flex: 0 1 auto !important; width: auto !important; height: 32px !important; min-width: 0 !important; padding: 0 10px !important; color: #24415f !important; background: rgba(13,59,102,.055) !important; border: 1px solid rgba(13,59,102,.13) !important; font-weight: 780 !important; white-space: nowrap !important; }

.ai-voice .ai-mic-icon { width: 14px !important; height: 14px !important; flex: 0 0 auto !important; }

.ai-voice:not([disabled]):hover,
.ai-voice:not([disabled]):focus-visible,
.ai-speech-toggle:not([disabled]):hover,
.ai-speech-toggle:not([disabled]):focus-visible { background: rgba(13,59,102,.085) !important; border-color: rgba(13,59,102,.22) !important; transform: none !important; outline: none !important; }

.ai-voice[disabled] { opacity: .45 !important; cursor: not-allowed !important; }

.ai-speech-toggle { display: inline-flex !important; align-items: center !important; justify-content: center !important; height: 32px !important; min-width: 0 !important; padding: 0 10px !important; border: 1px solid rgba(13,59,102,.13) !important; color: #435672 !important; background: rgba(13,59,102,.045) !important; font-weight: 760 !important; white-space: nowrap !important; }
.ai-speech-toggle { flex: 1 1 auto !important; }

.ai-speech-toggle span { min-width: 0 !important; overflow: hidden !important; text-overflow: ellipsis !important; }

.ai-speech-toggle:not([disabled]):not([aria-disabled="true"])[aria-pressed="true"] { color: #10213a !important; background: rgba(246,179,33,.22) !important; border-color: rgba(246,179,33,.38) !important; }

.ai-speech-toggle[disabled],
.ai-speech-toggle[aria-disabled="true"] { opacity: .50 !important; cursor: default !important; }

.ai-send { display: inline-flex !important; align-items: center !important; justify-content: center !important; flex: 0 0 34px !important; width: 34px !important; height: 32px !important; padding: 0 !important; margin-left: auto !important; color: #fff !important; background: linear-gradient(135deg, var(--blue), var(--blue-2)) !important; border: 0 !important; font-size: 16px !important; font-weight: 900 !important; }

.ai-send:not([disabled]):hover,
.ai-send:not([disabled]):focus-visible { filter: brightness(1.03); outline: none !important; }

.ai-send[disabled] { opacity: .58 !important; cursor: wait !important; }
.ai-voice-note { display: none !important; }

@media (min-width: 1600px) {
  html.ai-rail-enabled .ai-panel-header { padding: 18px 18px 14px !important; }

  html.ai-rail-enabled .ai-disclaimer { padding: 12px 18px !important; font-size: 11.7px !important; line-height: 1.38 !important; }

  html.ai-rail-enabled .ai-input-row { grid-template-columns: none !important; padding: 12px 18px 16px !important; }

  html.ai-rail-enabled .ai-input-row textarea { min-height: 104px !important; max-height: 190px !important; line-height: 1.42 !important; }}

@media (max-width: 420px) {
  .ai-input-row { padding-left: 14px !important; padding-right: 14px !important; }

  .ai-input-actions { gap: 6px !important; }

  .ai-voice,
.ai-speech-toggle { padding-left: 8px !important; padding-right: 8px !important; font-size: 11.5px !important; }

  .ai-send { flex-basis: 32px !important; width: 32px !important; }}
.ai-input-actions { gap: 6px !important; }

.ai-voice,
.ai-speech-toggle { padding-left: 8px !important; padding-right: 8px !important; font-size: 11.5px !important; }

.ai-voice .ai-mic-icon { width: 13px !important; height: 13px !important; }
.ai-speech-toggle { flex: 0 0 auto !important; }

.ai-speech-toggle span { overflow: visible !important; text-overflow: clip !important; }

.ai-voice { color: #24415f !important; background: #fff !important; border-color: rgba(13,59,102,.16) !important; }

.ai-voice[aria-pressed="true"],
.ai-widget.is-listening .ai-voice { color: #10213a !important; background: rgba(246,179,33,.22) !important; border-color: rgba(246,179,33,.38) !important; }

.ai-voice[disabled],
.ai-voice[aria-disabled="true"] { background: #fff !important; opacity: .48 !important; }

.ai-voice:not([disabled])[aria-pressed="false"]:hover,
.ai-voice:not([disabled])[aria-pressed="false"]:focus-visible { background: #fff !important; border-color: rgba(13,59,102,.24) !important; }

.ai-voice-choice { display: flex !important; flex-direction: column !important; gap: 6px !important; padding: 8px 10px !important; border: 1px solid rgba(13,59,102,.12) !important; border-radius: 14px !important; background: rgba(255,255,255,.92) !important; color: #3f4f68 !important; font-size: 11.5px !important; line-height: 1.28 !important; }
.ai-voice-choice[hidden] { display: none !important; }

.ai-voice-choice-buttons { display: flex !important; gap: 6px !important; width: 100% !important; }

.ai-voice-choice-buttons button { flex: 1 1 0 !important; min-height: 28px !important; padding: 0 8px !important; border: 1px solid rgba(13,59,102,.14) !important; border-radius: 999px !important; color: #24415f !important; background: #fff !important; font-size: 11.5px !important; font-weight: 760 !important; line-height: 1 !important; box-shadow: none !important; cursor: pointer !important; }

.ai-voice-choice-buttons button:hover,
.ai-voice-choice-buttons button:focus-visible { background: rgba(246,179,33,.18) !important; border-color: rgba(246,179,33,.34) !important; outline: none !important; }

.ai-input-row textarea { resize: none !important; overflow-y: hidden !important; max-height: 320px !important; transition: height .12s ease !important; }
.ai-input-row textarea.is-expanded { overflow-y: auto !important; }

@media (min-width: 1600px) {
  html.ai-rail-enabled .ai-input-row textarea { max-height: 320px !important; }}

@media (max-width: 640px) {
  .ai-input-row textarea { max-height: 240px !important; }}

.ai-translate-prompt { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 8px !important; margin: 6px 0 8px !important; padding: 8px 10px !important; border: 1px solid rgba(13,59,102,.12) !important; border-radius: 14px !important; background: rgba(255,255,255,.92) !important; color: #3f4f68 !important; font-size: 11.5px !important; line-height: 1.3 !important; box-shadow: 0 8px 18px rgba(13,59,102,.06) !important; }

.ai-translate-prompt > span { flex: 1 1 auto !important; min-width: 0 !important; }

.ai-translate-actions { display: flex !important; align-items: center !important; gap: 6px !important; flex: 0 0 auto !important; }

.ai-translate-actions button { min-height: 28px !important; padding: 0 9px !important; border: 1px solid rgba(13,59,102,.14) !important; border-radius: 999px !important; color: #24415f !important; background: #fff !important; font-size: 11.5px !important; font-weight: 760 !important; line-height: 1 !important; box-shadow: none !important; cursor: pointer !important; }

.ai-translate-actions button:first-child { background: rgba(246,179,33,.18) !important; border-color: rgba(246,179,33,.34) !important; color: #10213a !important; }

.ai-translate-actions button:hover,
.ai-translate-actions button:focus-visible { background: rgba(246,179,33,.24) !important; border-color: rgba(246,179,33,.42) !important; outline: none !important; }

.ai-translate-actions button[disabled] { opacity: .55 !important; cursor: default !important; }

@media (max-width: 640px) {
  .ai-translate-prompt { align-items: stretch !important; flex-direction: column !important; }
  .ai-translate-actions { width: 100% !important; }
  .ai-translate-actions button { flex: 1 1 0 !important; }}

.ai-input-field { position: relative !important; width: 100% !important; min-width: 0 !important; }

.ai-input-field textarea { display: block !important; padding-right: 42px !important; }

.ai-input-clear { position: absolute !important;
  top: 9px !important;
  right: 9px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  height: 26px !important;
  padding: 0 !important;
  border: 1px solid rgba(13,59,102,.14) !important;
  border-radius: 999px !important;
  color: #42566f !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 3px 10px rgba(13,59,102,.08) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  z-index: 2 !important; }
.ai-input-clear[hidden] { display: none !important; }

.ai-input-clear:hover,
.ai-input-clear:focus-visible { color: #10213a !important; background: #fff !important; border-color: rgba(246,179,33,.38) !important; outline: none !important; }

.ai-translate-prompt { box-sizing: border-box !important; display: flex !important; flex-direction: column !important; align-items: stretch !important; width: 100% !important; max-width: 100% !important; gap: 7px !important; margin: 6px 0 8px !important; overflow: hidden !important; }

.ai-translate-prompt > span { display: block !important; width: 100% !important; min-width: 0 !important; overflow-wrap: anywhere !important; }

.ai-translate-actions { display: flex !important; justify-content: flex-end !important; width: 100% !important; min-width: 0 !important; flex-wrap: wrap !important; }

.ai-translate-actions button { flex: 0 1 auto !important; max-width: 100% !important; }

.ai-translation-note { margin-top: 8px !important; padding-top: 7px !important; border-top: 1px solid rgba(13,59,102,.10) !important; color: rgba(36,65,95,.68) !important; font-size: 10.7px !important; font-weight: 700 !important; line-height: 1.25 !important; }

@media (max-width: 420px) {
  .ai-translate-actions { justify-content: stretch !important; }
  .ai-translate-actions button { flex: 1 1 0 !important; }}

.ai-translate-prompt { box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  row-gap: 8px !important;
  width: auto !important;
  max-width: none !important;
  margin: 7px 16px 10px !important;
  padding: 9px 10px !important;
  border: 1px solid rgba(13,59,102,.12) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.96) !important;
  color: #3f4f68 !important;
  font-size: 11.5px !important;
  line-height: 1.32 !important;
  box-shadow: 0 8px 18px rgba(13,59,102,.06) !important;
  overflow: visible !important; }
.ai-translate-prompt[hidden] { display: none !important; }

.ai-translate-prompt .ai-translate-copy,
.ai-translate-prompt [data-ai-translate-text] { display: block !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important; white-space: pre-wrap !important; overflow-wrap: anywhere !important; word-break: normal !important; }

.ai-translate-prompt .ai-translate-actions { display: flex !important; flex-wrap: wrap !important; align-items: center !important; justify-content: flex-end !important; gap: 7px !important; width: 100% !important; min-width: 0 !important; }

.ai-translate-prompt .ai-translate-actions button { display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 29px !important;
  padding: 0 11px !important;
  border: 1px solid rgba(13,59,102,.14) !important;
  border-radius: 999px !important;
  color: #24415f !important;
  background: #fff !important;
  font-size: 11.5px !important;
  font-weight: 760 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  white-space: nowrap !important; }

.ai-translate-prompt .ai-translate-actions button[data-ai-translate-run] { background: rgba(246,179,33,.20) !important; border-color: rgba(246,179,33,.40) !important; color: #10213a !important; }

.ai-translate-prompt .ai-translate-actions button:hover,
.ai-translate-prompt .ai-translate-actions button:focus-visible { background: rgba(246,179,33,.24) !important; border-color: rgba(246,179,33,.44) !important; outline: none !important; }

.ai-translate-prompt .ai-translate-actions button[disabled] { opacity: .55 !important; cursor: default !important; }

@media (max-width: 420px) {
  .ai-translate-prompt { margin-left: 12px !important; margin-right: 12px !important; }
  .ai-translate-prompt .ai-translate-actions { justify-content: stretch !important; }
  .ai-translate-prompt .ai-translate-actions button { flex: 1 1 0 !important; }}

.ai-panel > .ai-translate-prompt,
.ai-widget .ai-panel .ai-translate-prompt[data-ai-translate-prompt] { box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: stretch !important;
  width: calc(100% - 32px) !important;
  max-width: calc(100% - 32px) !important;
  margin: 8px 16px 10px !important;
  padding: 9px 10px !important;
  border: 1px solid rgba(13,59,102,.12) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.96) !important;
  color: #3f4f68 !important;
  font-size: 11.5px !important;
  line-height: 1.32 !important;
  box-shadow: 0 8px 18px rgba(13,59,102,.06) !important;
  overflow: hidden !important; }
.ai-panel > .ai-translate-prompt[hidden],
.ai-widget .ai-panel .ai-translate-prompt[data-ai-translate-prompt][hidden] { display: none !important; }
.ai-widget .ai-panel .ai-translate-prompt .ai-translate-copy,
.ai-widget .ai-panel .ai-translate-prompt [data-ai-translate-text] { display: block !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important; white-space: pre-wrap !important; overflow-wrap: anywhere !important; word-break: normal !important; }
.ai-widget .ai-panel .ai-translate-prompt .ai-translate-actions { display: flex !important; flex-wrap: wrap !important; align-items: center !important; justify-content: flex-end !important; gap: 7px !important; width: 100% !important; min-width: 0 !important; visibility: visible !important; opacity: 1 !important; }
.ai-widget .ai-panel .ai-translate-prompt .ai-translate-actions button { display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 29px !important;
  padding: 0 11px !important;
  border: 1px solid rgba(13,59,102,.14) !important;
  border-radius: 999px !important;
  color: #24415f !important;
  background: #fff !important;
  font-size: 11.5px !important;
  font-weight: 760 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  visibility: visible !important;
  opacity: 1 !important; }
.ai-widget .ai-panel .ai-translate-prompt .ai-translate-actions button[data-ai-translate-run] { background: rgba(246,179,33,.20) !important; border-color: rgba(246,179,33,.40) !important; color: #10213a !important; }
@media (max-width: 420px) {
  .ai-panel > .ai-translate-prompt,
.ai-widget .ai-panel .ai-translate-prompt[data-ai-translate-prompt] { width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin-left: 12px !important;
    margin-right: 12px !important; }
  .ai-widget .ai-panel .ai-translate-prompt .ai-translate-actions { justify-content: stretch !important; }
  .ai-widget .ai-panel .ai-translate-prompt .ai-translate-actions button { flex: 1 1 0 !important; }}

.ai-widget .ai-message .ai-translation-note { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 8px !important; flex-wrap: wrap !important; margin-top: 10px !important; padding: 7px 8px !important; border: 1px solid rgba(13,59,102,.16) !important; border-radius: 10px !important; background: rgba(13,59,102,.055) !important; color: #1f3857 !important; font-size: 11px !important; font-weight: 760 !important; line-height: 1.25 !important; }

.ai-widget .ai-message.user .ai-translation-note { border-color: rgba(255,255,255,.30) !important; background: rgba(255,255,255,.16) !important; color: #fff !important; }

.ai-widget .ai-translation-note-label { display: inline-block !important; flex: 1 1 auto !important; min-width: 0 !important; overflow-wrap: anywhere !important; }

.ai-widget .ai-translation-toggle { display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-height: 24px !important;
  padding: 0 9px !important;
  border: 1px solid rgba(13,59,102,.18) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #173453 !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  white-space: nowrap !important; }

.ai-widget .ai-message.user .ai-translation-toggle { border-color: rgba(255,255,255,.40) !important; background: rgba(255,255,255,.94) !important; color: #163757 !important; }

.ai-widget .ai-translation-toggle:hover,
.ai-widget .ai-translation-toggle:focus-visible { border-color: rgba(246,179,33,.50) !important; background: rgba(246,179,33,.18) !important; outline: none !important; }

.ai-widget .ai-message.user .ai-translation-toggle:hover,
.ai-widget .ai-message.user .ai-translation-toggle:focus-visible { background: #fff !important; border-color: rgba(246,179,33,.82) !important; }

.ai-widget .ai-panel [data-ai-translate-prompt].ai-translate-prompt { box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  row-gap: 8px !important;
  width: calc(100% - 32px) !important;
  max-width: calc(100% - 32px) !important;
  margin: 8px 16px 10px !important;
  padding: 9px 10px !important;
  overflow: visible !important; }
.ai-widget .ai-panel [data-ai-translate-prompt].ai-translate-prompt[hidden] { display: none !important; }
.ai-widget .ai-panel [data-ai-translate-prompt].ai-translate-prompt [data-ai-translate-text] { display: block !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; overflow-wrap: anywhere !important; white-space: normal !important; }
.ai-widget .ai-panel [data-ai-translate-prompt].ai-translate-prompt .ai-translate-actions { position: static !important; display: flex !important; flex-wrap: wrap !important; justify-content: flex-end !important; align-items: center !important; gap: 7px !important; width: 100% !important; height: auto !important; max-height: none !important; min-height: 29px !important; overflow: visible !important; visibility: visible !important; opacity: 1 !important; }
.ai-widget .ai-panel [data-ai-translate-prompt].ai-translate-prompt .ai-translate-actions button { position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 29px !important;
  height: auto !important;
  max-height: none !important;
  padding: 7px 11px !important;
  overflow: visible !important;
  visibility: visible !important;
  opacity: 1 !important;
  white-space: nowrap !important; }
@media (max-width: 420px) {
  .ai-widget .ai-panel [data-ai-translate-prompt].ai-translate-prompt { width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin-left: 12px !important;
    margin-right: 12px !important; }
  .ai-widget .ai-panel [data-ai-translate-prompt].ai-translate-prompt .ai-translate-actions { justify-content: stretch !important; }
  .ai-widget .ai-panel [data-ai-translate-prompt].ai-translate-prompt .ai-translate-actions button { flex: 1 1 0 !important; }}

@media (min-width: 1600px) {
  html.ai-rail-enabled .ai-panel-header { min-height: 80px !important; padding: 13px 18px !important; }

  html.ai-rail-enabled .ai-disclaimer { padding: 9px 18px 8px !important; font-size: 11.35px !important; line-height: 1.30 !important; }}

@media (min-width: 1101px) and (max-width: 1599px) {
  .ai-disclaimer { padding-top: 9px !important;
    padding-bottom: 8px !important;
    font-size: 11.15px !important;
    line-height: 1.30 !important; }}

@media (min-width: 1600px) {
  html.ai-rail-enabled .ai-widget { background:
      radial-gradient(circle at 50% 10%, rgba(246,179,33,.055), transparent 16rem),
      linear-gradient(180deg, rgba(249,252,255,.96), rgba(242,248,255,.91)) !important;
    border-left-color: rgba(28,45,73,.12) !important;
    box-shadow: -10px 0 26px rgba(20,41,70,.038) !important; }

  html.ai-rail-enabled .ai-panel-header { min-height: 80px !important; padding: 12px 16px !important; background: rgba(255,255,255,.62) !important; }

  html.ai-rail-enabled .ai-disclaimer { padding: 7px 16px 7px !important;
    color: #6a4d12 !important;
    background: linear-gradient(180deg, rgba(255,246,222,.74), rgba(255,250,237,.80)) !important;
    border-top-color: rgba(246,179,33,.10) !important;
    border-bottom-color: rgba(246,179,33,.16) !important;
    font-size: 11.05px !important;
    line-height: 1.27 !important; }

  html.ai-rail-enabled .ai-quick-actions { padding: 8px 16px 7px !important; gap: 5px !important; background: rgba(255,255,255,.36) !important; }

  html.ai-rail-enabled .ai-quick-actions button { padding: 5px 7px !important; font-size: 11px !important; background: rgba(246,249,253,.78) !important; }

  html.ai-rail-enabled .ai-messages { padding-top: 11px !important; }}

@media (min-width: 1600px) {

  html.ai-rail-collapsed .ai-widget { display: block !important;
    position: fixed !important;
    inset: 0 0 0 auto !important;
    width: var(--ai-rail-collapsed-width) !important;
    height: 100vh !important;
    z-index: 90 !important;
    background:
      radial-gradient(circle at 50% 8%, rgba(246,179,33,.075), transparent 10rem),
      linear-gradient(180deg, rgba(250,252,255,.97), rgba(241,247,254,.94)) !important;
    border-left: 1px solid rgba(28,45,73,.13) !important;
    box-shadow: -8px 0 20px rgba(20,41,70,.035) !important;
    pointer-events: auto !important; }

  html.ai-rail-collapsed .ai-widget::before { display: none !important; }

  html.ai-rail-collapsed .ai-panel { display: none !important; }

  html.ai-rail-collapsed .ai-toggle { display: flex !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 18px 7px 16px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #18324f !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer !important;
    white-space: nowrap !important; }

  html.ai-rail-collapsed .ai-toggle:hover,
html.ai-rail-collapsed .ai-toggle:focus-visible { transform: none !important; background: rgba(255,255,255,.42) !important; outline: none !important; }

  html.ai-rail-collapsed .ai-toggle-avatar { width: 36px !important; height: 36px !important; box-shadow: 0 0 0 1px rgba(13,59,102,.10), 0 6px 14px rgba(13,59,102,.12) !important; }

  html.ai-rail-collapsed .ai-toggle-text { writing-mode: vertical-rl;
    transform: rotate(180deg);
    max-height: calc(100vh - 86px);
    overflow: hidden;
    color: #314966;
    font-size: 12px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: .02em;
    text-overflow: ellipsis; }}

@media (max-width: 1599px) {
  html.ai-rail-collapsed .ai-widget { display: block; }}

@media (min-width: 1600px) {

  html.ai-rail-enabled .ai-rail-handle,
html.ai-rail-collapsed .ai-rail-handle { display: inline-flex !important; }

  .ai-rail-handle { display: none;
    position: absolute;
    z-index: 8;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(28,45,73,.16);
    color: #18324f;
    background:
      linear-gradient(180deg, rgba(255,255,255,.96), rgba(244,249,255,.92));
    box-shadow: -8px 10px 24px rgba(20,41,70,.08), inset 0 1px 0 rgba(255,255,255,.82);
    cursor: pointer;
    font: inherit;
    font-size: 11.7px;
    font-weight: 880;
    letter-spacing: .025em;
    line-height: 1;
    transition: background .18s ease, box-shadow .18s ease, border-color .18s ease, transform .18s ease; }

  .ai-rail-handle:hover,
.ai-rail-handle:focus-visible { background: #fff;
    border-color: rgba(246,179,33,.42);
    box-shadow: -10px 12px 28px rgba(20,41,70,.11), inset 0 1px 0 rgba(255,255,255,.86);
    outline: none; }

  html.ai-rail-enabled .ai-rail-handle { left: calc(var(--ai-rail-handle-width) * -1 + 1px);
    top: 98px;
    width: var(--ai-rail-handle-width);
    min-height: 118px;
    padding: 12px 0;
    border-right: 0;
    border-radius: 15px 0 0 15px; }

      html.ai-rail-collapsed .ai-widget { display: block !important;
    position: fixed !important;
    inset: 0 0 0 auto !important;
    width: var(--ai-rail-collapsed-width) !important;
    height: 100vh !important;
    z-index: 90 !important;
    background:
      radial-gradient(circle at 50% 8%, rgba(246,179,33,.06), transparent 10rem),
      linear-gradient(180deg, rgba(250,252,255,.97), rgba(241,247,254,.94)) !important;
    border-left: 1px solid rgba(28,45,73,.13) !important;
    box-shadow: -8px 0 20px rgba(20,41,70,.035) !important;
    pointer-events: auto !important; }

  html.ai-rail-collapsed .ai-rail-handle { left: 0;
    top: 86px;
    width: var(--ai-rail-collapsed-width);
    min-height: 214px;
    padding: 14px 0;
    border-right: 0;
    border-radius: 16px 0 0 16px;
    background:
      radial-gradient(circle at 50% 12%, rgba(246,179,33,.16), transparent 42%),
      linear-gradient(180deg, rgba(255,255,255,.98), rgba(240,247,255,.94));
    box-shadow: -10px 12px 28px rgba(20,41,70,.08), inset 0 1px 0 rgba(255,255,255,.86); }

  html.ai-rail-collapsed .ai-rail-handle span { max-height: calc(100vh - 128px); overflow: hidden; text-overflow: ellipsis; }

  .ai-rail-handle { display: none;
    position: absolute;
    z-index: 12;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(28,45,73,.14);
    color: #18324f;
    background:
      linear-gradient(180deg, rgba(250,252,255,.96), rgba(241,247,254,.94));
    box-shadow: -4px 8px 16px rgba(20,41,70,.045), inset 0 1px 0 rgba(255,255,255,.82);
    cursor: pointer;
    font: inherit;
    font-size: 11.5px;
    font-weight: 880;
    letter-spacing: .02em;
    line-height: 1;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease; }

  .ai-rail-handle:hover,
.ai-rail-handle:focus-visible { background: #fff;
    border-color: rgba(246,179,33,.40);
    box-shadow: -6px 10px 18px rgba(20,41,70,.07), inset 0 1px 0 rgba(255,255,255,.88);
    outline: none; }

  .ai-rail-handle span { writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    user-select: none; }

  html.ai-rail-enabled .ai-rail-handle { display: inline-flex !important;
    left: calc(var(--ai-rail-handle-width) * -1);
    top: 96px;
    width: var(--ai-rail-handle-width);
    min-height: 178px;
    padding: 14px 0;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    background:
      linear-gradient(180deg, rgba(250,252,255,.94), rgba(241,247,254,.91));
    box-shadow: -3px 8px 14px rgba(20,41,70,.035), inset 0 1px 0 rgba(255,255,255,.80); }

  html.ai-rail-enabled .ai-rail-handle span { max-height: 150px; overflow: hidden; text-overflow: ellipsis; }

      html.ai-rail-collapsed .ai-widget { display: block !important;
    position: fixed !important;
    inset: 0 0 0 auto !important;
    width: var(--ai-rail-collapsed-width) !important;
    height: 100vh !important;
    z-index: 90 !important;
    background:
      linear-gradient(180deg, rgba(250,252,255,.97), rgba(241,247,254,.94)) !important;
    border-left: 1px solid rgba(28,45,73,.13) !important;
    box-shadow: -6px 0 16px rgba(20,41,70,.032) !important;
    pointer-events: auto !important; }

    html.ai-rail-collapsed .ai-rail-handle { display: inline-flex !important;
    left: 0;
    top: 88px;
    width: var(--ai-rail-collapsed-width);
    min-height: 236px;
    padding: 16px 0;
    border-right: 0;
    border-radius: 12px 0 0 12px;
    background:
      radial-gradient(circle at 50% 10%, rgba(246,179,33,.10), transparent 40%),
      linear-gradient(180deg, rgba(255,255,255,.98), rgba(240,247,255,.94));
    box-shadow: -8px 10px 22px rgba(20,41,70,.06), inset 0 1px 0 rgba(255,255,255,.86); }

  html.ai-rail-collapsed .ai-rail-handle span { max-height: calc(100vh - 140px); overflow: hidden; text-overflow: ellipsis; }

        html.ai-rail-enabled .ai-rail-handle,
html.ai-rail-collapsed .ai-rail-handle { display: flex !important;
    position: absolute !important;
    z-index: 20 !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #213a57 !important;
    background:
      linear-gradient(180deg, rgba(248,251,255,.96), rgba(236,245,254,.92)) !important;
    box-shadow:
      inset -1px 0 0 rgba(28,45,73,.12),
      inset 1px 0 0 rgba(255,255,255,.64) !important;
    cursor: pointer !important;
    font: inherit !important;
    font-size: 11.5px !important;
    font-weight: 880 !important;
    letter-spacing: .025em !important;
    line-height: 1 !important;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease !important; }

  html.ai-rail-enabled .ai-rail-handle:hover,
html.ai-rail-enabled .ai-rail-handle:focus-visible,
html.ai-rail-collapsed .ai-rail-handle:hover,
html.ai-rail-collapsed .ai-rail-handle:focus-visible { color: #10213a !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.98), rgba(241,248,255,.96)) !important;
    box-shadow:
      inset -1px 0 0 rgba(246,179,33,.30),
      inset 1px 0 0 rgba(255,255,255,.80),
      -4px 0 14px rgba(20,41,70,.045) !important;
    outline: none !important; }

  html.ai-rail-enabled .ai-rail-handle span,
html.ai-rail-collapsed .ai-rail-handle span { writing-mode: vertical-rl !important;
    transform: rotate(180deg) !important;
    white-space: nowrap !important;
    user-select: none !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important; }

  html.ai-rail-enabled .ai-rail-handle { left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: var(--ai-rail-handle-width) !important;
    min-height: 0 !important;
    padding: 0 !important; }

  html.ai-rail-enabled .ai-rail-handle span { max-height: min(190px, calc(100vh - 180px)) !important; }

      html.ai-rail-collapsed .ai-widget { display: block !important;
    position: fixed !important;
    inset: 0 0 0 auto !important;
    width: var(--ai-rail-collapsed-width) !important;
    height: 100vh !important;
    z-index: 90 !important;
    background:
      linear-gradient(180deg, rgba(249,252,255,.98), rgba(239,247,255,.95)) !important;
    border-left: 1px solid rgba(28,45,73,.13) !important;
    box-shadow: -6px 0 16px rgba(20,41,70,.032) !important;
    pointer-events: auto !important; }

    html.ai-rail-collapsed .ai-rail-handle { left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: var(--ai-rail-collapsed-width) !important;
    min-height: 0 !important;
    padding: 0 !important;
    background:
      radial-gradient(circle at 50% 9%, rgba(246,179,33,.10), transparent 12rem),
      linear-gradient(180deg, rgba(255,255,255,.98), rgba(238,247,255,.95)) !important;
    box-shadow:
      inset 1px 0 0 rgba(255,255,255,.72),
      -6px 0 16px rgba(20,41,70,.035) !important; }

  html.ai-rail-collapsed .ai-rail-handle span { max-height: min(270px, calc(100vh - 140px)) !important; }
  html.ai-rail-enabled .ai-panel-header,
html.ai-rail-enabled .ai-disclaimer,
html.ai-rail-enabled .ai-quick-actions,
html.ai-rail-enabled .ai-messages,
html.ai-rail-enabled .ai-input-row { padding-left: calc(var(--ai-rail-handle-width) + 16px) !important; }

  html.ai-rail-enabled .ai-rail-handle,
html.ai-rail-collapsed .ai-rail-handle { width: var(--ai-rail-handle-width) !important;
    font-size: 10.25px !important;
    letter-spacing: .012em !important;
    color: #203954 !important;
    background:
      linear-gradient(180deg, rgba(250,252,255,.92), rgba(237,246,255,.88)) !important;
    box-shadow:
      inset -1px 0 0 rgba(28,45,73,.10),
      inset 1px 0 0 rgba(255,255,255,.58) !important; }

  html.ai-rail-enabled .ai-rail-handle { left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    border-radius: 0 !important; }

  html.ai-rail-enabled .ai-rail-handle span { max-height: min(230px, calc(100vh - 170px)) !important; }

        html.ai-rail-collapsed .ai-rail-handle { left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: var(--ai-rail-collapsed-width) !important;
    min-height: 0 !important;
    border-radius: 0 !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.97), rgba(239,247,255,.93)) !important;
    box-shadow:
      inset 1px 0 0 rgba(255,255,255,.62),
      -4px 0 10px rgba(20,41,70,.028) !important; }

  html.ai-rail-collapsed .ai-rail-handle span { max-height: min(300px, calc(100vh - 120px)) !important; }

  html.ai-rail-enabled .ai-rail-handle:hover,
html.ai-rail-enabled .ai-rail-handle:focus-visible,
html.ai-rail-collapsed .ai-rail-handle:hover,
html.ai-rail-collapsed .ai-rail-handle:focus-visible { background:
      linear-gradient(180deg, rgba(255,255,255,.99), rgba(242,249,255,.96)) !important;
    box-shadow:
      inset -1px 0 0 rgba(246,179,33,.26),
      inset 1px 0 0 rgba(255,255,255,.76),
      -3px 0 9px rgba(20,41,70,.04) !important; }

  html.ai-rail-enabled .ai-rail-handle,
html.ai-rail-collapsed .ai-rail-handle { width: var(--ai-rail-handle-width) !important; font-size: 11.65px !important; line-height: 1 !important; letter-spacing: .008em !important; font-weight: 880 !important; }

  html.ai-rail-collapsed .ai-rail-handle { width: var(--ai-rail-collapsed-width) !important; }

  html.ai-rail-enabled .ai-rail-handle span { max-height: min(260px, calc(100vh - 150px)) !important; }

  html.ai-rail-collapsed .ai-rail-handle span { max-height: min(330px, calc(100vh - 110px)) !important; }

  html.ai-rail-enabled .ai-panel-header { min-height: 80px !important; padding: 12px 16px !important; }

  html.ai-rail-enabled .ai-disclaimer { padding: 7px 16px 7px !important; }

  html.ai-rail-enabled .ai-quick-actions { padding: 8px 16px 7px !important; }

  html.ai-rail-enabled .ai-messages { padding-left: 16px !important; padding-right: 16px !important; }

  html.ai-rail-enabled .ai-input-row { padding: 12px 18px 16px !important; }

  

    html.ai-rail-enabled .ai-rail-handle,
html.ai-rail-collapsed .ai-rail-handle { display: block !important;
    position: absolute !important;
    z-index: 26 !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    font: inherit !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    color: #27415f !important; }

    html.ai-rail-enabled .ai-rail-handle::after,
html.ai-rail-collapsed .ai-rail-handle::after { content: attr(data-tooltip);
    position: absolute;
    z-index: 28;
    top: 50%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) translateX(4px);
    pointer-events: none;
    white-space: nowrap;
    padding: 7px 10px;
    border: 1px solid rgba(28,45,73,.14);
    border-radius: 999px;
    color: #18324f;
    background: rgba(255,255,255,.97);
    box-shadow: 0 8px 22px rgba(20,41,70,.12);
    font-size: 12px;
    font-weight: 820;
    line-height: 1;
    transition: opacity .16s ease, visibility .16s ease, transform .16s ease; }

  html.ai-rail-enabled .ai-rail-handle:hover::after,
html.ai-rail-enabled .ai-rail-handle:focus-visible::after,
html.ai-rail-collapsed .ai-rail-handle:hover::after,
html.ai-rail-collapsed .ai-rail-handle:focus-visible::after { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }

  html.ai-rail-enabled .ai-rail-handle { left: 0 !important;
    top: 50% !important;
    bottom: auto !important;
    width: 26px !important;
    height: 86px !important;
    min-height: 0 !important;
    transform: translateY(-50%) !important; }

  html.ai-rail-enabled .ai-rail-handle::before { content: "›";
    position: absolute;
    inset: 0 auto 0 0;
    width: 24px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 3px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    color: rgba(29,58,91,.34);
    background: rgba(13,59,102,.045);
    box-shadow:
      inset 1px 0 0 rgba(255,255,255,.70),
      inset -1px 0 0 rgba(28,45,73,.08);
    font-size: 19px;
    font-weight: 900;
    line-height: 1;
    transition: background .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease; }

  html.ai-rail-enabled .ai-rail-handle:hover::before,
html.ai-rail-enabled .ai-rail-handle:focus-visible::before { color: rgba(13,59,102,.84);
    background: rgba(246,179,33,.16);
    box-shadow:
      inset 1px 0 0 rgba(255,255,255,.82),
      inset -1px 0 0 rgba(246,179,33,.32),
      0 6px 16px rgba(20,41,70,.08);
    transform: translateX(1px); }

  html.ai-rail-enabled .ai-rail-handle::after { left: 32px; }

  html.ai-rail-enabled .ai-rail-handle:focus-visible { outline: none !important; }

  html.ai-rail-collapsed .ai-widget { display: block !important; position: fixed !important; inset: 0 0 0 auto !important; width: var(--ai-rail-collapsed-width) !important; height: 100vh !important; z-index: 90 !important; overflow: visible !important; background:
      linear-gradient(180deg, rgba(250,252,255,.96), rgba(239,247,255,.92)) !important; border-left: 1px solid rgba(28,45,73,.10) !important; box-shadow: -4px 0 10px rgba(20,41,70,.026) !important; pointer-events: auto !important; }

    html.ai-rail-collapsed .ai-rail-handle { left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: var(--ai-rail-collapsed-width) !important;
    height: 100vh !important;
    min-height: 0 !important; }

  html.ai-rail-collapsed .ai-rail-handle::before { content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 86px;
    transform: translateY(-50%);
    display: block;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
    background: rgba(13,59,102,.072);
    box-shadow:
      inset -1px 0 0 rgba(255,255,255,.74),
      inset 1px 0 0 rgba(28,45,73,.11);
    transition: background .16s ease, box-shadow .16s ease, transform .16s ease; }

  html.ai-rail-collapsed .ai-rail-handle:hover::before,
html.ai-rail-collapsed .ai-rail-handle:focus-visible::before { background: rgba(246,179,33,.19);
    box-shadow:
      inset -1px 0 0 rgba(255,255,255,.84),
      inset 1px 0 0 rgba(246,179,33,.36),
      -5px 0 14px rgba(20,41,70,.045);
    transform: translateY(-50%) translateX(-1px); }

  html.ai-rail-collapsed .ai-rail-handle::after { right: 34px; left: auto; transform: translateY(-50%) translateX(-4px); }

  html.ai-rail-collapsed .ai-rail-handle:hover::after,
html.ai-rail-collapsed .ai-rail-handle:focus-visible::after { transform: translateY(-50%) translateX(0); }

  html.ai-rail-collapsed .ai-rail-handle:focus-visible { outline: none !important; }}

@media (max-width: 1599px) {
  .ai-rail-handle { display: none !important; }}

@media (min-width: 1600px) {
  html.ai-rail-enabled .ai-rail-handle { left: 0 !important;
    top: 50% !important;
    bottom: auto !important;
    width: 14px !important;
    height: 86px !important;
    min-height: 0 !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important; }

  html.ai-rail-enabled .ai-rail-handle::before { content: "" !important;
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    width: 12px !important;
    height: 86px !important;
    display: block !important;
    clip-path: polygon(0 0, 100% 50%, 0 100%) !important;
    background: rgba(13,59,102,.072) !important;
    box-shadow:
      inset 1px 0 0 rgba(255,255,255,.74),
      inset -1px 0 0 rgba(28,45,73,.11) !important;
    border: 0 !important;
    border-radius: 0 !important;
    transition: background .16s ease, box-shadow .16s ease, transform .16s ease !important; }

  html.ai-rail-enabled .ai-rail-handle:hover::before,
html.ai-rail-enabled .ai-rail-handle:focus-visible::before { background: rgba(246,179,33,.19) !important;
    box-shadow:
      inset 1px 0 0 rgba(255,255,255,.84),
      inset -1px 0 0 rgba(246,179,33,.36),
      0 6px 16px rgba(20,41,70,.08) !important;
    transform: translateX(1px) !important; }

  html.ai-rail-enabled .ai-rail-handle::after { left: 20px !important; }

  html.ai-rail-enabled .ai-rail-handle:hover,
html.ai-rail-enabled .ai-rail-handle:focus-visible { background: transparent !important; box-shadow: none !important; outline: none !important; }
  html.ai-rail-enabled .ai-rail-handle { left: 2px !important; width: 16px !important; height: 86px !important; }

  html.ai-rail-enabled .ai-rail-handle::before { content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 12px !important;
    height: 86px !important;
    display: block !important;
    clip-path: polygon(0 0, 100% 50%, 0 100%) !important;
    background: linear-gradient(180deg, rgba(248, 239, 210, .96), rgba(234, 242, 252, .94)) !important;
    box-shadow:
      inset 1px 0 0 rgba(255,255,255,.88),
      inset -1px 0 0 rgba(181,157,88,.38),
      0 0 0 1px rgba(28,45,73,.04) !important;
    border: 0 !important;
    border-radius: 0 !important;
    transition: background .16s ease, box-shadow .16s ease, transform .16s ease, opacity .16s ease !important; }

  html.ai-rail-enabled .ai-rail-handle:hover::before,
html.ai-rail-enabled .ai-rail-handle:focus-visible::before { background: linear-gradient(180deg, rgba(249, 230, 176, .98), rgba(242, 247, 255, .96)) !important;
    box-shadow:
      inset 1px 0 0 rgba(255,255,255,.92),
      inset -1px 0 0 rgba(246,179,33,.44),
      0 6px 16px rgba(20,41,70,.09) !important;
    transform: translateX(1px) !important; }

  html.ai-rail-enabled .ai-rail-handle::after { left: 22px !important; }

  html.ai-rail-collapsed .ai-rail-handle { width: var(--ai-rail-collapsed-width) !important; background: transparent !important; box-shadow: none !important; }

  html.ai-rail-collapsed .ai-rail-handle::before { content: "" !important;
    position: absolute !important;
    left: 2px !important;
    top: 50% !important;
    width: 12px !important;
    height: 86px !important;
    transform: translateY(-50%) !important;
    display: block !important;
    clip-path: polygon(100% 0, 0 50%, 100% 100%) !important;
    background: linear-gradient(180deg, rgba(248, 239, 210, .96), rgba(234, 242, 252, .94)) !important;
    box-shadow:
      inset -1px 0 0 rgba(255,255,255,.88),
      inset 1px 0 0 rgba(181,157,88,.38),
      0 0 0 1px rgba(28,45,73,.04) !important;
    transition: background .16s ease, box-shadow .16s ease, transform .16s ease, opacity .16s ease !important; }

  html.ai-rail-collapsed .ai-rail-handle:hover::before,
html.ai-rail-collapsed .ai-rail-handle:focus-visible::before { background: linear-gradient(180deg, rgba(249, 230, 176, .98), rgba(242, 247, 255, .96)) !important;
    box-shadow:
      inset -1px 0 0 rgba(255,255,255,.92),
      inset 1px 0 0 rgba(246,179,33,.44),
      -5px 0 14px rgba(20,41,70,.05) !important;
    transform: translateY(-50%) translateX(-1px) !important; }

  html.ai-rail-collapsed .ai-rail-handle::after { right: 32px !important; }
  html.ai-rail-enabled .ai-rail-handle::before { background: linear-gradient(180deg, rgba(246,179,33,.34), rgba(226,236,248,.98)) !important;
    box-shadow:
      inset 1px 0 0 rgba(255,255,255,.92),
      inset -1px 0 0 rgba(126,103,45,.48),
      0 0 0 1px rgba(28,45,73,.095) !important; }

  html.ai-rail-enabled .ai-rail-handle:hover::before,
html.ai-rail-enabled .ai-rail-handle:focus-visible::before { background: linear-gradient(180deg, rgba(246,179,33,.52), rgba(238,245,255,.98)) !important;
    box-shadow:
      inset 1px 0 0 rgba(255,255,255,.96),
      inset -1px 0 0 rgba(246,179,33,.70),
      0 7px 18px rgba(20,41,70,.12) !important; }

  html.ai-rail-collapsed .ai-rail-handle::before { background: linear-gradient(180deg, rgba(246,179,33,.34), rgba(226,236,248,.98)) !important;
    box-shadow:
      inset -1px 0 0 rgba(255,255,255,.92),
      inset 1px 0 0 rgba(126,103,45,.48),
      0 0 0 1px rgba(28,45,73,.095) !important; }

  html.ai-rail-collapsed .ai-rail-handle:hover::before,
html.ai-rail-collapsed .ai-rail-handle:focus-visible::before { background: linear-gradient(180deg, rgba(246,179,33,.52), rgba(238,245,255,.98)) !important;
    box-shadow:
      inset -1px 0 0 rgba(255,255,255,.96),
      inset 1px 0 0 rgba(246,179,33,.70),
      -6px 0 16px rgba(20,41,70,.08) !important; }
  html.ai-rail-collapsed .ai-rail-handle::before { left: 4px !important; width: 16px !important; height: 86px !important; }}

@media (min-width: 1600px) {
  html.ai-rail-enabled .ai-close,
html.ai-rail-collapsed .ai-close { display: none !important; }

  html.ai-rail-enabled .ai-rail-handle,
html.ai-rail-collapsed .ai-rail-handle { display: block !important; position: absolute !important; z-index: 26 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; overflow: visible !important; cursor: pointer !important; outline: none !important; }

  html.ai-rail-enabled .ai-rail-handle [data-ai-rail-handle-text],
html.ai-rail-collapsed .ai-rail-handle [data-ai-rail-handle-text] { display: block !important; }

  html.ai-rail-enabled .ai-rail-handle { left: 0 !important;
    top: 50% !important;
    bottom: auto !important;
    width: 28px !important;
    height: 88px !important;
    min-height: 0 !important;
    transform: translateY(-50%) !important;
    background: transparent url("../images/ai-inner-notch-open-small.svg") left center / 28px 88px no-repeat !important; }

  html.ai-rail-enabled .ai-rail-handle::before { content: none !important; }

  html.ai-rail-enabled .ai-rail-handle:hover,
html.ai-rail-enabled .ai-rail-handle:focus-visible { background: transparent url("../images/ai-inner-notch-open-small.svg") left center / 28px 88px no-repeat !important; filter: brightness(1.02) saturate(1.04) !important; box-shadow: none !important; }

  html.ai-rail-enabled .ai-rail-handle::after { left: 34px !important; }

  html.ai-rail-collapsed .ai-widget { width: var(--ai-rail-collapsed-width) !important;
    background: linear-gradient(180deg, rgba(250,252,255,.96), rgba(239,247,255,.92)) !important;
    border-left: 1px solid rgba(28,45,73,.10) !important;
    box-shadow: -4px 0 10px rgba(20,41,70,.026) !important; }

  html.ai-rail-collapsed .ai-rail-handle { left: 0 !important;
    top: 50% !important;
    bottom: auto !important;
    width: 28px !important;
    height: 88px !important;
    min-height: 0 !important;
    transform: translateY(-50%) !important;
    background: transparent url("../images/ai-inner-notch-collapsed-small.svg") left center / 28px 88px no-repeat !important; }

  html.ai-rail-collapsed .ai-rail-handle::before { content: none !important; }

  html.ai-rail-collapsed .ai-rail-handle:hover,
html.ai-rail-collapsed .ai-rail-handle:focus-visible { background: transparent url("../images/ai-inner-notch-collapsed-small.svg") left center / 28px 88px no-repeat !important; filter: brightness(1.02) saturate(1.04) !important; box-shadow: none !important; }

  html.ai-rail-collapsed .ai-rail-handle::after { right: 34px !important; left: auto !important; }
  html.ai-rail-enabled .ai-rail-handle,
html.ai-rail-collapsed .ai-rail-handle { width: 22px !important; height: 84px !important; min-height: 0 !important; }

  html.ai-rail-enabled .ai-rail-handle { background: transparent url("../images/ai-inner-notch-open-small.svg") left center / 22px 84px no-repeat !important; }

  html.ai-rail-enabled .ai-rail-handle:hover,
html.ai-rail-enabled .ai-rail-handle:focus-visible { background: transparent url("../images/ai-inner-notch-open-small.svg") left center / 22px 84px no-repeat !important; }

  html.ai-rail-collapsed .ai-rail-handle { background: transparent url("../images/ai-inner-notch-collapsed-small.svg") left center / 22px 84px no-repeat !important; }

  html.ai-rail-collapsed .ai-rail-handle:hover,
html.ai-rail-collapsed .ai-rail-handle:focus-visible { background: transparent url("../images/ai-inner-notch-collapsed-small.svg") left center / 22px 84px no-repeat !important; }

  html.ai-rail-enabled .ai-rail-handle::after { left: 28px !important; }

  html.ai-rail-collapsed .ai-rail-handle::after { right: 28px !important; left: auto !important; }
  html.ai-rail-enabled .ai-rail-handle,
html.ai-rail-collapsed .ai-rail-handle { width: 18px !important; height: 84px !important; }

  html.ai-rail-enabled .ai-rail-handle { background: transparent url("../images/ai-inner-notch-open-small.svg") left center / 18px 84px no-repeat !important; }

  html.ai-rail-enabled .ai-rail-handle:hover,
html.ai-rail-enabled .ai-rail-handle:focus-visible { background: transparent url("../images/ai-inner-notch-open-small.svg") left center / 18px 84px no-repeat !important; }

  html.ai-rail-collapsed .ai-rail-handle { background: transparent url("../images/ai-inner-notch-collapsed-small.svg") left center / 18px 84px no-repeat !important; }

  html.ai-rail-collapsed .ai-rail-handle:hover,
html.ai-rail-collapsed .ai-rail-handle:focus-visible { background: transparent url("../images/ai-inner-notch-collapsed-small.svg") left center / 18px 84px no-repeat !important; }

  html.ai-rail-enabled .ai-rail-handle::after { left: 24px !important; }

  html.ai-rail-collapsed .ai-rail-handle::after { right: 24px !important; left: auto !important; }
  html.ai-rail-enabled .ai-rail-handle,
html.ai-rail-collapsed .ai-rail-handle { width: 18px !important; height: 60px !important; min-height: 0 !important; }

  html.ai-rail-enabled .ai-rail-handle { background: transparent url("../images/ai-inner-notch-open-small.svg") left center / 18px 60px no-repeat !important; }

  html.ai-rail-enabled .ai-rail-handle:hover,
html.ai-rail-enabled .ai-rail-handle:focus-visible { background: transparent url("../images/ai-inner-notch-open-small.svg") left center / 18px 60px no-repeat !important; }

  html.ai-rail-collapsed .ai-rail-handle { background: transparent url("../images/ai-inner-notch-collapsed-small.svg") left center / 18px 60px no-repeat !important; }

  html.ai-rail-collapsed .ai-rail-handle:hover,
html.ai-rail-collapsed .ai-rail-handle:focus-visible { background: transparent url("../images/ai-inner-notch-collapsed-small.svg") left center / 18px 60px no-repeat !important; }}

@media (min-width: 1600px) {
  html.ai-rail-enabled .ai-panel-header { padding: 12px 18px 10px !important; }

  html.ai-rail-enabled .ai-disclaimer { padding-top: 12px !important; padding-bottom: 12px !important; }

  html.ai-rail-collapsed .ai-widget { top: 110px !important; }

  html.ai-rail-collapsed .ai-panel-header { padding: 11px 14px 10px !important; }}

@media (min-width: 1600px) {
  html.ai-rail-enabled .ai-panel-header { min-height: 64px !important; padding: 8px 18px 8px !important; }

  html.ai-rail-enabled .ai-avatar { width: 44px !important; height: 44px !important; }

  html.ai-rail-enabled .ai-panel-title { font-size: 14px !important; line-height: 1.18 !important; }

  html.ai-rail-enabled .ai-disclaimer { padding-top: 10px !important; padding-bottom: 10px !important; }

  html.ai-rail-collapsed .ai-widget { top: 98px !important; }}

@media (min-width: 1600px) {
  html.ai-rail-enabled .ai-panel-header { min-height: 60px !important; padding: 6px 18px 6px !important; }

  html.ai-rail-enabled .ai-avatar { width: 42px !important; height: 42px !important; }

  html.ai-rail-enabled .ai-panel-title { font-size: 14px !important; line-height: 1.16 !important; }

  html.ai-rail-enabled .ai-disclaimer { padding-top: 9px !important; padding-bottom: 9px !important; }

  html.ai-rail-collapsed .ai-widget { position: fixed !important; inset: 0 0 0 auto !important; top: 0 !important; right: 0 !important; bottom: 0 !important; left: auto !important; width: var(--ai-rail-collapsed-width) !important; height: 100vh !important; min-height: 100vh !important; max-height: none !important; overflow: visible !important; }

  html.ai-rail-collapsed .ai-rail-handle { position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    bottom: auto !important;
    width: 18px !important;
    height: 60px !important;
    min-height: 0 !important;
    max-height: 60px !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
    background: transparent url("../images/ai-inner-notch-collapsed-small.svg") left center / 18px 60px no-repeat !important; }}

.ai-quick-actions button { position: relative;
  box-shadow: 0 6px 14px rgba(31,52,83,.06);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background .18s ease,
    color .18s ease; }

.ai-quick-actions button:hover,
.ai-quick-actions button:focus-visible { transform: translateY(-2px); background: #fff; border-color: rgba(246,179,33,.48); box-shadow: 0 14px 28px rgba(31,52,83,.13); color: #173a5c; outline: none; }

.ai-quick-actions button:active { transform: translateY(0); box-shadow: 0 7px 16px rgba(31,52,83,.09); }

@media (min-width: 1600px) {

  html.ai-rail-enabled .ai-widget { width: var(--ai-rail-width) !important; }}
.ai-messages { gap: 12px !important; }

.ai-message { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
.ai-message.user,
.ai-message.assistant,
.ai-message.system { align-self: stretch !important; }
.ai-message.assistant,
.ai-message.system { align-items: flex-start !important; }

.ai-message .ai-bubble { box-sizing: border-box !important; max-width: 100% !important; }

.ai-message.user .ai-bubble { max-width: 92% !important; margin-left: auto !important; margin-right: 0 !important; }

.ai-message.assistant .ai-bubble,
.ai-message.system .ai-bubble { max-width: 100% !important; margin-left: 0 !important; margin-right: auto !important; }
.ai-message.ai-message-new { animation: aiMessageSoftIn 280ms ease-out both; }

@media (prefers-reduced-motion: reduce) {
  .ai-message.ai-message-new { animation: none !important; }}

.ai-message.user,
.ai-message.assistant,
.ai-message.system { width: 100% !important; max-width: 100% !important; align-self: stretch !important; }

.ai-message.assistant .ai-bubble,
.ai-message.system .ai-bubble { width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important; }
.ai-message.user { align-items: flex-end !important; }

.ai-message.user .ai-bubble { max-width: 86% !important; margin-left: auto !important; margin-right: 0 !important; }

html.ai-rail-enabled .ai-messages,
.ai-messages { padding-left: 18px !important; padding-right: 18px !important; }

html.ai-rail-enabled .ai-message,
.ai-message,
html.ai-rail-enabled .ai-message.user,
html.ai-rail-enabled .ai-message.assistant,
html.ai-rail-enabled .ai-message.system,
.ai-message.user,
.ai-message.assistant,
.ai-message.system { width: 100% !important; max-width: 100% !important; flex: 0 0 auto !important; align-self: stretch !important; box-sizing: border-box !important; }
html.ai-rail-enabled .ai-message.assistant,
html.ai-rail-enabled .ai-message.system,
.ai-message.assistant,
.ai-message.system { align-items: stretch !important; }

html.ai-rail-enabled .ai-message.assistant .ai-bubble,
html.ai-rail-enabled .ai-message.system .ai-bubble,
.ai-message.assistant .ai-bubble,
.ai-message.system .ai-bubble { display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important; }
html.ai-rail-enabled .ai-message.user,
.ai-message.user { align-items: flex-end !important; }

html.ai-rail-enabled .ai-message.user .ai-bubble,
.ai-message.user .ai-bubble { max-width: 86% !important; margin-left: auto !important; margin-right: 0 !important; box-sizing: border-box !important; }

@media (max-width: 820px) {

  html:not(.ai-rail-enabled) .ai-widget,
html.ai-rail-enabled .ai-widget,
html.ai-rail-collapsed .ai-widget,
.ai-widget { position: fixed !important; left: auto !important; top: auto !important; right: 16px !important; bottom: 16px !important; width: auto !important; height: auto !important; min-height: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; z-index: 80 !important; pointer-events: none !important; }

  .ai-widget::before,
html.ai-rail-enabled .ai-widget::before,
html.ai-rail-collapsed .ai-widget::before { content: none !important; display: none !important; }

  .ai-widget .ai-toggle,
.ai-widget .ai-panel,
.ai-widget .ai-close,
.ai-widget button,
.ai-widget textarea { pointer-events: auto !important; }

  .ai-widget .ai-toggle,
html.ai-rail-enabled .ai-widget .ai-toggle,
html.ai-rail-collapsed .ai-widget .ai-toggle { position: fixed !important;
    left: auto !important;
    top: auto !important;
    right: 16px !important;
    bottom: 16px !important;
    display: inline-flex !important;
    opacity: 1 !important;
    pointer-events: auto !important; }

  .ai-widget:not(.is-open) .ai-panel,
.ai-widget:not(.is-open) .ai-panel[hidden],
html.ai-rail-enabled .ai-widget:not(.is-open) .ai-panel,
html.ai-rail-enabled .ai-widget:not(.is-open) .ai-panel[hidden] { display: none !important; }

  .ai-widget.is-open { inset: 0 !important;
    width: 100vw !important;
    height: 100svh !important;
    z-index: 130 !important;
    pointer-events: auto !important;
    background: rgba(248,251,255,.98) !important; }

  .ai-widget.is-open .ai-panel { position: fixed !important;
    inset: 10px !important;
    width: auto !important;
    height: calc(100svh - 20px) !important;
    max-height: none !important;
    display: flex !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    background: #fff !important; }

  .ai-widget.is-open .ai-toggle { display: none !important; }}

@supports not (height: 100svh) {
  @media (max-width: 820px) {
    .ai-widget.is-open { height: 100vh !important; }
    .ai-widget.is-open .ai-panel { height: calc(100vh - 20px) !important; }}}

@media (max-width: 820px) {
  .ai-widget.is-open { top: var(--mobile-header-height) !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: calc(100svh - var(--mobile-header-height)) !important;
    z-index: 130 !important;
    pointer-events: auto !important;
    background: rgba(248,251,255,.98) !important; }

  .ai-widget.is-open .ai-panel { position: fixed !important;
    top: calc(var(--mobile-header-height) + 10px) !important;
    right: 10px !important;
    bottom: 10px !important;
    left: 10px !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important; }}

@supports (height: 100dvh) {
  @media (max-width: 820px) {
    .ai-widget.is-open { height: calc(100dvh - var(--mobile-header-height)) !important; }}}

@supports not (height: 100svh) {
  @media (max-width: 820px) {
    .ai-widget.is-open { height: calc(100vh - var(--mobile-header-height)) !important; }}}

@media (max-width: 820px) {

  html.mobile-ai-panel-open .ai-widget.is-open { top: var(--mobile-assistant-header-height) !important; height: calc(100svh - var(--mobile-assistant-header-height)) !important; }

  html.mobile-ai-panel-open .ai-widget.is-open .ai-panel { top: calc(var(--mobile-assistant-header-height) + 10px) !important;
    right: 10px !important;
    bottom: 10px !important;
    left: 10px !important; }}

@supports (height: 100dvh) {
  @media (max-width: 820px) {
    html.mobile-ai-panel-open .ai-widget.is-open { height: calc(100dvh - var(--mobile-assistant-header-height)) !important; }}}

@supports not (height: 100svh) {
  @media (max-width: 820px) {
    html.mobile-ai-panel-open .ai-widget.is-open { height: calc(100vh - var(--mobile-assistant-header-height)) !important; }}}

@media (max-width: 820px) {
  .ai-widget:not(.is-open) .ai-onboarding-hint { position: fixed !important;
    right: 78px !important;
    bottom: 33px !important;
    z-index: 82 !important;
    display: block !important;
    width: max-content !important;
    max-width: min(220px, calc(100vw - 126px)) !important;
    padding: 10px 13px !important;
    border: 1px solid rgba(181, 198, 216, .92) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 14px 34px rgba(20, 45, 75, .18) !important;
    color: #17304d !important;
    font-weight: 800 !important;
    font-size: 12.2px !important;
    line-height: 1.25 !important;
    letter-spacing: -.01em !important;
    text-align: left !important;
    pointer-events: none !important; }

  html[lang="ru"] .ai-widget:not(.is-open) .ai-onboarding-hint { max-width: min(174px, calc(100vw - 160px)) !important; }

  html[lang="en"] .ai-widget:not(.is-open) .ai-onboarding-hint { max-width: min(214px, calc(100vw - 132px)) !important; }

  html[lang="es"] .ai-widget:not(.is-open) .ai-onboarding-hint { max-width: min(202px, calc(100vw - 144px)) !important; }

  .ai-widget:not(.is-open) .ai-onboarding-hint::after { content: "" !important;
    position: absolute !important;
    right: -7px !important;
    bottom: 13px !important;
    width: 12px !important;
    height: 12px !important;
    transform: rotate(45deg) !important;
    background: rgba(255, 255, 255, .98) !important;
    border-top: 1px solid rgba(181, 198, 216, .92) !important;
    border-right: 1px solid rgba(181, 198, 216, .92) !important; }

  .ai-widget.is-open .ai-onboarding-hint,
.ai-widget .ai-onboarding-hint { display: none !important; }

  html[lang="ru"] .ai-onboarding-hint .ai-hint-lang:not([data-ai-hint-lang="ru"]),
html[lang="en"] .ai-onboarding-hint .ai-hint-lang:not([data-ai-hint-lang="en"]),
html[lang="es"] .ai-onboarding-hint .ai-hint-lang:not([data-ai-hint-lang="es"]) { display: none !important; }}

@media (max-width: 390px) {
  .ai-widget:not(.is-open) .ai-onboarding-hint { right: 72px !important; bottom: 30px !important; max-width: min(198px, calc(100vw - 116px)) !important; padding: 9px 12px !important; font-size: 11.6px !important; }

  html[lang="ru"] .ai-widget:not(.is-open) .ai-onboarding-hint { max-width: min(166px, calc(100vw - 140px)) !important; }

  html[lang="en"] .ai-widget:not(.is-open) .ai-onboarding-hint { max-width: min(194px, calc(100vw - 120px)) !important; }

  html[lang="es"] .ai-widget:not(.is-open) .ai-onboarding-hint { max-width: min(188px, calc(100vw - 126px)) !important; }}

@media (max-width: 820px) {
  .ai-widget:not(.is-open) .ai-onboarding-hint { animation: aiOnboardingHintAutoFadeV433 6.4s ease-in-out .9s 1 both !important; will-change: opacity, transform, visibility !important; }}

@media (max-width: 820px) and (prefers-reduced-motion: reduce) {
  .ai-widget:not(.is-open) .ai-onboarding-hint { animation: aiOnboardingHintReducedFadeV433 6s linear .5s 1 both !important; will-change: auto !important; }}

@media (max-width: 820px) {

  html.mobile-ai-panel-open .ai-widget.is-open { position: fixed !important; top: var(--mobile-assistant-header-height) !important; right: 0 !important; bottom: 0 !important; left: 0 !important; width: auto !important; height: auto !important; min-height: 0 !important; max-height: none !important; overflow: hidden !important; background: #aeb9c5 !important; z-index: 140 !important; pointer-events: auto !important; }

  html.mobile-ai-panel-open .ai-widget.is-open .ai-panel { position: absolute !important; top: 10px !important; right: 10px !important; bottom: 10px !important; left: 10px !important; width: auto !important; height: auto !important; max-height: none !important; display: flex !important; background: #fff !important; z-index: 2 !important; }}

@media (min-width: 3200px) and (max-height: 1599px) {

  html.ai-rail-enabled .ai-widget { width: var(--ai-rail-width) !important; }

  .ai-panel-header { min-height: clamp(68px, 2vw, 86px) !important; }

  .ai-disclaimer,
.ai-quick-actions button,
.ai-message .ai-bubble { font-size: clamp(13px, .36vw, 16px) !important; }

  .ai-quick-actions { gap: clamp(7px, .22vw, 10px) !important; }}

@media (min-width: 3200px) and (min-height: 1600px) {

  html.ai-rail-enabled .ai-widget { width: var(--ai-rail-width) !important; }

  .ai-panel-header { min-height: clamp(86px, 2.2vw, 112px) !important; }

  .ai-avatar { width: clamp(48px, 1.25vw, 62px) !important; height: clamp(48px, 1.25vw, 62px) !important; }

  .ai-disclaimer,
.ai-quick-actions button,
.ai-message .ai-bubble { font-size: clamp(16px, .43vw, 21px) !important; }

  .ai-disclaimer { line-height: 1.45 !important; padding: clamp(18px, .5vw, 24px) clamp(20px, .55vw, 28px) !important; }

  .ai-quick-actions { gap: clamp(10px, .28vw, 14px) !important; }

  .ai-quick-actions button { padding: clamp(8px, .22vw, 12px) clamp(12px, .34vw, 17px) !important; }}

@media (min-width: 2200px) {

  html.ai-rail-enabled .ai-widget { width: var(--ai-rail-width) !important; }

  html.ai-rail-enabled .ai-panel-header { min-height: clamp(84px, 3.25vw, 96px) !important; padding: clamp(14px, .58vw, 18px) clamp(18px, .78vw, 24px) !important; }

  html.ai-rail-enabled .ai-avatar { width: clamp(38px, 1.45vw, 46px) !important; height: clamp(38px, 1.45vw, 46px) !important; }

  html.ai-rail-enabled .ai-panel-title strong { font-size: clamp(14px, .58vw, 17px) !important; line-height: 1.18 !important; }

  html.ai-rail-enabled .ai-panel-title small { font-size: clamp(11.2px, .44vw, 13px) !important; line-height: 1.25 !important; }

  html.ai-rail-enabled .ai-disclaimer { padding: clamp(10px, .44vw, 14px) clamp(18px, .78vw, 24px) !important; font-size: clamp(12px, .47vw, 14px) !important; line-height: 1.36 !important; }

  html.ai-rail-enabled .ai-quick-actions { padding: clamp(9px, .38vw, 12px) clamp(18px, .78vw, 24px) clamp(8px, .34vw, 11px) !important; gap: clamp(6px, .28vw, 9px) !important; }

  html.ai-rail-enabled .ai-quick-actions button { padding: clamp(5px, .24vw, 8px) clamp(8px, .34vw, 12px) !important; font-size: clamp(11.4px, .45vw, 13.4px) !important; line-height: 1.15 !important; }

  html.ai-rail-enabled .ai-messages { padding: clamp(14px, .62vw, 20px) clamp(18px, .78vw, 24px) !important; gap: clamp(12px, .5vw, 16px) !important; }

  html.ai-rail-enabled .ai-bubble,
html.ai-rail-enabled .ai-message .ai-bubble { padding: clamp(12px, .52vw, 16px) clamp(14px, .62vw, 20px) !important;
    font-size: clamp(14px, .55vw, 16.4px) !important;
    line-height: 1.48 !important;
    border-radius: clamp(16px, .7vw, 22px) !important; }

  html.ai-rail-enabled .ai-translate-prompt,
html.ai-rail-enabled .ai-message .ai-translation-note { font-size: clamp(12px, .47vw, 14px) !important; }

  html.ai-rail-enabled .ai-input-row { padding: clamp(12px, .56vw, 17px) clamp(18px, .78vw, 24px) clamp(14px, .62vw, 19px) !important; gap: clamp(8px, .34vw, 12px) !important; }

  html.ai-rail-enabled .ai-input-row textarea { min-height: clamp(100px, 4.1vw, 128px) !important;
    max-height: clamp(180px, 7vw, 230px) !important;
    padding: clamp(12px, .52vw, 16px) clamp(13px, .58vw, 18px) !important;
    font-size: clamp(13.8px, .55vw, 16.5px) !important;
    line-height: 1.44 !important;
    border-radius: clamp(16px, .7vw, 22px) !important; }

  html.ai-rail-enabled .ai-input-actions { gap: clamp(7px, .3vw, 11px) !important; }

  html.ai-rail-enabled .ai-voice,
html.ai-rail-enabled .ai-speech-toggle,
html.ai-rail-enabled .ai-send { min-height: clamp(34px, 1.35vw, 42px) !important;
    font-size: clamp(11.8px, .46vw, 14px) !important; }

  html.ai-rail-enabled .ai-voice,
html.ai-rail-enabled .ai-speech-toggle { padding-left: clamp(9px, .38vw, 13px) !important;
    padding-right: clamp(9px, .38vw, 13px) !important; }

  html.ai-rail-enabled .ai-send { width: clamp(34px, 1.35vw, 42px) !important; flex-basis: clamp(34px, 1.35vw, 42px) !important; }}

@media (min-width: 3200px) and (max-height: 1599px) {

  html.ai-rail-enabled .ai-panel-header { min-height: clamp(88px, 2.75vw, 104px) !important; }

  html.ai-rail-enabled .ai-panel-title strong { font-size: clamp(15px, .48vw, 18px) !important; }

  html.ai-rail-enabled .ai-disclaimer,
html.ai-rail-enabled .ai-bubble,
html.ai-rail-enabled .ai-message .ai-bubble,
html.ai-rail-enabled .ai-input-row textarea { font-size: clamp(14px, .42vw, 16.8px) !important; }

  html.ai-rail-enabled .ai-quick-actions button { font-size: clamp(12.2px, .36vw, 14.4px) !important; }}

@media (min-width: 3200px) and (min-height: 1600px) {

  html.ai-rail-enabled .ai-panel-header { min-height: clamp(100px, 2.75vw, 126px) !important; padding: clamp(18px, .55vw, 24px) clamp(22px, .68vw, 32px) !important; }

  html.ai-rail-enabled .ai-avatar { width: clamp(48px, 1.35vw, 64px) !important; height: clamp(48px, 1.35vw, 64px) !important; }

  html.ai-rail-enabled .ai-panel-title strong { font-size: clamp(18px, .55vw, 25px) !important; line-height: 1.18 !important; }

  html.ai-rail-enabled .ai-panel-title small { font-size: clamp(13px, .38vw, 17px) !important; }

  html.ai-rail-enabled .ai-disclaimer { padding: clamp(16px, .48vw, 23px) clamp(22px, .68vw, 32px) !important; font-size: clamp(15px, .43vw, 19px) !important; line-height: 1.42 !important; }

  html.ai-rail-enabled .ai-quick-actions { padding: clamp(13px, .38vw, 18px) clamp(22px, .68vw, 32px) clamp(11px, .32vw, 16px) !important; gap: clamp(9px, .28vw, 13px) !important; }

  html.ai-rail-enabled .ai-quick-actions button { padding: clamp(7px, .22vw, 11px) clamp(11px, .34vw, 16px) !important; font-size: clamp(14px, .4vw, 18px) !important; }

  html.ai-rail-enabled .ai-messages { padding: clamp(18px, .56vw, 26px) clamp(22px, .68vw, 32px) !important; gap: clamp(14px, .42vw, 20px) !important; }

  html.ai-rail-enabled .ai-bubble,
html.ai-rail-enabled .ai-message .ai-bubble { padding: clamp(16px, .48vw, 22px) clamp(18px, .56vw, 28px) !important;
    font-size: clamp(16px, .46vw, 21px) !important;
    line-height: 1.48 !important;
    border-radius: clamp(20px, .58vw, 28px) !important; }

  html.ai-rail-enabled .ai-translate-prompt,
html.ai-rail-enabled .ai-message .ai-translation-note { font-size: clamp(14px, .4vw, 18px) !important; }

  html.ai-rail-enabled .ai-input-row { padding: clamp(16px, .5vw, 24px) clamp(22px, .68vw, 32px) clamp(18px, .56vw, 26px) !important; gap: clamp(10px, .3vw, 15px) !important; }

  html.ai-rail-enabled .ai-input-row textarea { min-height: clamp(122px, 3.5vw, 168px) !important; max-height: clamp(220px, 6.2vw, 300px) !important; padding: clamp(16px, .48vw, 22px) clamp(18px, .56vw, 26px) !important; font-size: clamp(16px, .46vw, 21px) !important; border-radius: clamp(20px, .58vw, 28px) !important; }

  html.ai-rail-enabled .ai-input-actions { gap: clamp(10px, .3vw, 15px) !important; }

  html.ai-rail-enabled .ai-voice,
html.ai-rail-enabled .ai-speech-toggle,
html.ai-rail-enabled .ai-send { min-height: clamp(40px, 1.12vw, 54px) !important;
    font-size: clamp(14px, .4vw, 18px) !important; }

  html.ai-rail-enabled .ai-voice,
html.ai-rail-enabled .ai-speech-toggle { padding-left: clamp(12px, .34vw, 18px) !important;
    padding-right: clamp(12px, .34vw, 18px) !important; }

  html.ai-rail-enabled .ai-send { width: clamp(40px, 1.12vw, 54px) !important; flex-basis: clamp(40px, 1.12vw, 54px) !important; }}

@media (min-width: 1600px) {
  html.ai-rail-enabled .ai-rail-handle::after,
html.ai-rail-collapsed .ai-rail-handle::after { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }

  html.ai-rail-enabled .ai-rail-handle:focus-visible::after,
html.ai-rail-enabled .ai-rail-handle:active::after,
html.ai-rail-collapsed .ai-rail-handle:focus-visible::after,
html.ai-rail-collapsed .ai-rail-handle:active::after { opacity: 0 !important; visibility: hidden !important; }}

@media (min-width: 1600px) and (hover: hover) and (pointer: fine) {
  html.ai-rail-enabled .ai-rail-handle:hover::after,
html.ai-rail-collapsed .ai-rail-handle:hover::after { opacity: 1 !important; visibility: visible !important; transform: translateY(-50%) translateX(0) !important; }}

@media (min-width: 1600px) and (hover: none),
       (min-width: 1600px) and (pointer: coarse) {
  html.ai-rail-enabled .ai-rail-handle::after,
html.ai-rail-enabled .ai-rail-handle:hover::after,
html.ai-rail-enabled .ai-rail-handle:focus-visible::after,
html.ai-rail-enabled .ai-rail-handle:active::after,
html.ai-rail-collapsed .ai-rail-handle::after,
html.ai-rail-collapsed .ai-rail-handle:hover::after,
html.ai-rail-collapsed .ai-rail-handle:focus-visible::after,
html.ai-rail-collapsed .ai-rail-handle:active::after { opacity: 0 !important; visibility: hidden !important; }}

.ai-dialog-mode { display: inline-flex !important; align-items: center !important; justify-content: center !important; flex: 0 0 32px !important; width: 32px !important; height: 32px !important; min-width: 32px !important; min-height: 32px !important; padding: 0 !important; border-radius: 999px !important; border: 1px solid rgba(13,59,102,.13) !important; background: #fff !important; box-shadow: none !important; cursor: pointer !important; }

.ai-dialog-icon { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 2px !important; width: 24px !important; height: 24px !important; border-radius: 999px !important; background: #0d0f14 !important; transition: background .16s ease, transform .16s ease !important; }

.ai-dialog-icon i { display: block !important; width: 2px !important; border-radius: 999px !important; background: #fff !important; }

.ai-dialog-icon i:nth-child(1) { height: 8px !important; }
.ai-dialog-icon i:nth-child(2) { height: 13px !important; }
.ai-dialog-icon i:nth-child(3) { height: 8px !important; }

.ai-dialog-mode:not([disabled]):hover,
.ai-dialog-mode:not([disabled]):focus-visible { border-color: rgba(13,59,102,.24) !important; outline: none !important; }

.ai-dialog-mode[aria-pressed="true"] { background: rgba(246,179,33,.22) !important; border-color: rgba(246,179,33,.38) !important; }
.ai-dialog-mode[aria-pressed="true"] .ai-dialog-icon { background: linear-gradient(135deg, var(--blue), var(--blue-2)) !important; }

.ai-dialog-mode[disabled],
.ai-dialog-mode[aria-disabled="true"] { opacity: .48 !important; cursor: not-allowed !important; }

@media (max-width: 420px) {
  .ai-dialog-mode { flex-basis: 30px !important; width: 30px !important; height: 30px !important; min-width: 30px !important; min-height: 30px !important; }
  .ai-dialog-icon { width: 22px !important; height: 22px !important; }}
.ai-input-actions .ai-speech-toggle { margin-left: 10px !important; }
html.ai-rail-enabled .ai-input-actions .ai-speech-toggle { margin-left: clamp(9px, .36vw, 14px) !important; }

@media (max-width: 420px) {
  .ai-input-actions .ai-speech-toggle { margin-left: 4px !important; }}

.ai-dialog-mode { gap: 5px !important; flex: 0 0 auto !important; width: auto !important; min-width: 72px !important; padding: 0 8px !important; color: #24415f !important; font-size: 11.5px !important; font-weight: 820 !important; white-space: nowrap !important; }
.ai-dialog-label { display: inline-block !important; max-width: 82px !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; line-height: 1 !important; }
.ai-dialog-mode.is-active,
.ai-dialog-mode[aria-pressed="true"] { min-width: 92px !important; color: #10213a !important; background: rgba(246,179,33,.22) !important; border-color: rgba(246,179,33,.38) !important; }
.ai-dialog-mode.is-active .ai-dialog-label,
.ai-dialog-mode[aria-pressed="true"] .ai-dialog-label { max-width: 88px !important; }
@media (max-width: 420px) {
  .ai-dialog-mode { min-width: 62px !important; gap: 4px !important; padding-left: 6px !important; padding-right: 6px !important; font-size: 11px !important; }
  .ai-dialog-mode.is-active,
.ai-dialog-mode[aria-pressed="true"] { min-width: 82px !important; }
  .ai-dialog-label { max-width: 68px !important; }
  .ai-dialog-mode.is-active .ai-dialog-label,
.ai-dialog-mode[aria-pressed="true"] .ai-dialog-label { max-width: 72px !important; }}

.ai-dialog-mode { flex: 0 0 32px !important; width: 32px !important; min-width: 32px !important; padding: 0 !important; }
.ai-dialog-label { display: none !important; }
.ai-dialog-mode.is-active,
.ai-dialog-mode[aria-pressed="true"] { flex-basis: auto !important; width: auto !important; min-width: 92px !important; padding: 0 8px !important; gap: 5px !important; }
.ai-dialog-mode.is-active .ai-dialog-label,
.ai-dialog-mode[aria-pressed="true"] .ai-dialog-label { display: inline-block !important; max-width: 78px !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
@media (max-width: 430px) {
  .ai-input-actions { gap: 5px !important; }
  .ai-voice,
.ai-speech-toggle { padding-left: 7px !important; padding-right: 7px !important; font-size: 11px !important; }
  .ai-dialog-mode { flex-basis: 30px !important; width: 30px !important; min-width: 30px !important; }
  .ai-dialog-mode.is-active,
.ai-dialog-mode[aria-pressed="true"] { min-width: 84px !important; padding-left: 6px !important; padding-right: 6px !important; }
  .ai-dialog-mode.is-active .ai-dialog-label,
.ai-dialog-mode[aria-pressed="true"] .ai-dialog-label { max-width: 62px !important; }
  .ai-speech-toggle span { overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }}
.ai-widget.is-dialog-mode .ai-input-actions { gap: 7px !important; }
.ai-widget.is-dialog-mode .ai-send { display: none !important; }
.ai-widget.is-dialog-mode .ai-voice { flex: 0 1 auto !important; }
.ai-widget.is-dialog-mode .ai-dialog-mode.is-active,
.ai-widget.is-dialog-mode .ai-dialog-mode[aria-pressed="true"] { flex: 0 0 auto !important; min-width: 94px !important; }
.ai-widget.is-dialog-mode .ai-speech-toggle { flex: 1 1 auto !important; margin-left: 8px !important; min-width: 0 !important; }
@media (max-width: 430px) {
  .ai-widget.is-dialog-mode .ai-input-actions { gap: 5px !important; }
  .ai-widget.is-dialog-mode .ai-voice { flex: 0 1 auto !important; max-width: 118px !important; }
  .ai-widget.is-dialog-mode .ai-voice span,
.ai-widget.is-dialog-mode .ai-speech-toggle span { overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
  .ai-widget.is-dialog-mode .ai-dialog-mode.is-active,
.ai-widget.is-dialog-mode .ai-dialog-mode[aria-pressed="true"] { min-width: 84px !important; flex: 0 0 84px !important; }
  .ai-widget.is-dialog-mode .ai-speech-toggle { margin-left: 3px !important;
    flex: 1 1 auto !important; }}
.ai-input-actions .ai-speech-toggle,
.ai-widget.is-dialog-mode .ai-speech-toggle { margin-left: clamp(12px, 2.2vw, 18px) !important; }
@media (max-width: 430px) {
  .ai-input-actions .ai-speech-toggle,
.ai-widget.is-dialog-mode .ai-speech-toggle { margin-left: 7px !important; }}

/* v761: subtle attention pulse when the assistant posts the first welcome message. */
.ai-widget.ai-attention .ai-panel,
html.ai-rail-enabled .ai-widget.ai-attention .ai-panel {
  animation: aiAssistantAttentionPulse 1200ms ease-out 1;
}
.ai-widget.ai-attention .ai-toggle,
html.ai-rail-collapsed .ai-widget.ai-attention .ai-toggle {
  animation: aiAssistantAttentionPulse 1200ms ease-out 1;
}
@keyframes aiAssistantAttentionPulse {
  0% { box-shadow: 0 0 0 0 rgba(216,161,58,.0); }
  22% { box-shadow: 0 0 0 4px rgba(246,179,33,.22), 0 18px 44px rgba(13,59,102,.24); }
  100% { box-shadow: 0 0 0 0 rgba(216,161,58,.0); }
}
@media (prefers-reduced-motion: reduce) {
  .ai-widget.ai-attention .ai-panel,
  html.ai-rail-enabled .ai-widget.ai-attention .ai-panel,
  .ai-widget.ai-attention .ai-toggle,
  html.ai-rail-collapsed .ai-widget.ai-attention .ai-toggle {
    animation: none !important;
  }
}
