:root {
  --jspu-ai-bg: #050817;
  --jspu-ai-card: #0a1026;
  --jspu-ai-card-2: #0d1630;
  --jspu-ai-line: rgba(116, 226, 255, .18);
  --jspu-ai-cyan: #62e7ff;
  --jspu-ai-blue: #7582ff;
  --jspu-ai-pink: #ed45ef;
  --jspu-ai-text: #f7f9ff;
  --jspu-ai-muted: #a8b1c8;
}

body.jspu-assistant-enabled #jsq-chat { display: none !important; }

.jspu-ai,
.jspu-ai * { box-sizing: border-box; }

.jspu-ai {
  position: fixed;
  right: 18px;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  z-index: 2147482000;
  color: var(--jspu-ai-text);
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

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

.jspu-ai button,
.jspu-ai input { font: inherit; }
.jspu-ai .screen-reader-text { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }

.jspu-ai__fab {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 224px;
  min-height: 64px;
  gap: 12px;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(99, 227, 255, .28);
  border-radius: 999px;
  color: var(--jspu-ai-text);
  background:
    radial-gradient(circle at 12% 15%, rgba(99, 227, 255, .2), transparent 38%),
    linear-gradient(135deg, rgba(12, 25, 54, .98), rgba(9, 10, 30, .98));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .42), 0 0 0 6px rgba(98, 231, 255, .04);
  cursor: pointer;
  isolation: isolate;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.jspu-ai__fab::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(98, 231, 255, .26), transparent 35%, rgba(237, 69, 239, .22));
  opacity: .65;
}

.jspu-ai__fab:hover,
.jspu-ai__fab:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(98, 231, 255, .58);
  box-shadow: 0 22px 58px rgba(0, 0, 0, .5), 0 0 28px rgba(98, 231, 255, .13);
  outline: none;
}

.jspu-ai__fab-orbit {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 1px solid rgba(98, 231, 255, .36);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(98, 231, 255, .18), rgba(117, 130, 255, .16));
  box-shadow: inset 0 0 18px rgba(98, 231, 255, .08), 0 0 18px rgba(98, 231, 255, .12);
}

.jspu-ai__fab-orbit::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 2px;
  width: 9px;
  height: 9px;
  border: 2px solid #081022;
  border-radius: 50%;
  background: #52f4bd;
  box-shadow: 0 0 12px rgba(82, 244, 189, .75);
}

.jspu-ai__fab-mascot { font-size: 25px; filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .32)); }
.jspu-ai__fab-chat-icon { display:none; width:27px; height:27px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.jspu-ai__fab-copy { display: grid; flex: 1; text-align: left; }
.jspu-ai__fab-copy strong { font-size: 14px; line-height: 1.25; letter-spacing: -.01em; }
.jspu-ai__fab-copy small { margin-top: 2px; color: #8edfbf; font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.jspu-ai__fab-arrow { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: #081022; background: linear-gradient(135deg, var(--jspu-ai-cyan), #9ca3ff); font-weight: 900; }

.jspu-ai__nudge {
  position: absolute;
  right: 0;
  bottom: 76px;
  display: flex;
	width: min(340px, calc(100vw - 36px));
	max-width: calc(100vw - 36px);
	min-height: 0 !important;
	align-items: flex-start;
	gap: 9px;
	padding: 11px 12px;
  border: 1px solid rgba(98, 231, 255, .25);
	border-radius: 16px 16px 4px 16px !important;
	color: #eefbff !important;
  background: linear-gradient(135deg, rgba(12, 23, 49, .98), rgba(14, 12, 39, .98));
  box-shadow: 0 16px 40px rgba(0, 0, 0, .36);
	cursor: pointer;
	text-align: left;
	white-space: normal !important;
	animation: jspuAiNudge .36s ease both;
	will-change: transform, opacity;
}

.jspu-ai__nudge-spark { flex:0 0 auto; color: var(--jspu-ai-cyan); font-size: 19px; line-height:1.25; text-shadow: 0 0 15px rgba(98, 231, 255, .6); }
#jspuAiNudgeText { display:block; min-width:0; flex:1; color:#eefbff !important; font-size:12.5px; font-weight:780; line-height:1.38; overflow-wrap:anywhere; white-space:normal !important; }
.jspu-ai__nudge-close { display:grid; width:22px; height:22px; flex:0 0 22px; place-items:center; margin:0 0 0 2px; border-radius:8px; color:var(--jspu-ai-muted); background:rgba(255,255,255,.04); font-size:15px; line-height:1; }
.jspu-ai__nudge.is-leaving { opacity:0; transform:translateY(6px) scale(.97); transition:opacity .2s ease,transform .2s ease; }

.jspu-ai__panel {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex;
  width: min(410px, calc(100vw - 28px));
  height: min(720px, calc(100dvh - 36px - env(safe-area-inset-top, 0px)));
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(98, 231, 255, .24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 7% -10%, rgba(98, 231, 255, .15), transparent 32%),
    radial-gradient(circle at 105% 28%, rgba(237, 69, 239, .11), transparent 34%),
    linear-gradient(180deg, rgba(7, 12, 29, .99), rgba(4, 7, 19, .99));
  box-shadow: 0 32px 100px rgba(0, 0, 0, .62), 0 0 0 1px rgba(255, 255, 255, .025) inset;
  isolation: isolate;
  animation: jspuAiPanelIn .28s cubic-bezier(.2, .8, .2, 1) both;
}

.jspu-ai__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .17;
  pointer-events: none;
  background-image: linear-gradient(rgba(98, 231, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(98, 231, 255, .05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.jspu-ai__header {
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-bottom: 1px solid rgba(98, 231, 255, .12);
  background: rgba(7, 12, 29, .75);
}

.jspu-ai__avatar {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  border: 1px solid rgba(98, 231, 255, .35);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(98, 231, 255, .17), rgba(117, 130, 255, .15));
  box-shadow: inset 0 0 20px rgba(98, 231, 255, .06), 0 0 24px rgba(98, 231, 255, .08);
}

.jspu-ai__avatar span { font-size: 29px; }
.jspu-ai__avatar i { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border: 3px solid #080d21; border-radius: 50%; background: #52f4bd; box-shadow: 0 0 10px rgba(82, 244, 189, .7); }
.jspu-ai__heading { min-width: 0; flex: 1; }
.jspu-ai__eyebrow { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; color: #72e7bd; font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.jspu-ai__eyebrow span { width: 5px; height: 5px; border-radius: 50%; background: #52f4bd; box-shadow: 0 0 8px rgba(82, 244, 189, .7); }
.jspu-ai__heading h2 { margin: 0 !important; color: var(--jspu-ai-text) !important; font-size: 17px !important; font-weight: 850 !important; line-height: 1.2 !important; letter-spacing: -.02em; }
.jspu-ai__heading p { overflow: hidden; margin: 4px 0 0 !important; color: var(--jspu-ai-muted) !important; font-size: 11px !important; line-height: 1.3 !important; text-overflow: ellipsis; white-space: nowrap; }
.jspu-ai__close { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border: 1px solid rgba(255, 255, 255, .1); border-radius: 13px; color: #c9d1e5; background: rgba(255, 255, 255, .035); cursor: pointer; transition: .18s ease; }
.jspu-ai__close:hover { color: #fff; border-color: rgba(98, 231, 255, .3); background: rgba(98, 231, 255, .08); }
.jspu-ai__close svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.jspu-ai__progress { position: relative; height: 3px; flex: 0 0 3px; overflow: hidden; background: rgba(255, 255, 255, .045); }
.jspu-ai__progress span { display: block; width: 8%; height: 100%; border-radius: 0 999px 999px 0; background: linear-gradient(90deg, var(--jspu-ai-cyan), var(--jspu-ai-blue), var(--jspu-ai-pink)); box-shadow: 0 0 14px rgba(98, 231, 255, .5); transition: width .45s cubic-bezier(.2, .8, .2, 1); }

.jspu-ai__body {
  min-height: 0;
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 17px 15px 22px;
  overscroll-behavior: contain;
  scrollbar-color: rgba(98, 231, 255, .24) transparent;
  scrollbar-width: thin;
}

.jspu-ai__body::-webkit-scrollbar { width: 5px; }
.jspu-ai__body::-webkit-scrollbar-thumb { border-radius: 10px; background: rgba(98, 231, 255, .22); }
.jspu-ai__message { display: flex; align-items: flex-end; gap: 8px; margin: 0 0 13px; animation: jspuAiMessageIn .25s ease both; }
.jspu-ai__message--user { justify-content: flex-end; }
.jspu-ai__message-content { max-width: calc(100% - 38px); }
.jspu-ai__bubble { padding: 11px 13px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 7px 18px 18px 18px; color: #eef3ff; background: linear-gradient(145deg, rgba(18, 30, 59, .9), rgba(10, 16, 37, .92)); box-shadow: 0 8px 22px rgba(0, 0, 0, .15); font-size: 13.5px; line-height: 1.5; white-space: pre-line; }
.jspu-ai__message--user .jspu-ai__message-content { max-width: 82%; }
.jspu-ai__message--user .jspu-ai__bubble { border-color: rgba(141, 122, 255, .28); border-radius: 18px 7px 18px 18px; background: linear-gradient(135deg, rgba(91, 73, 207, .55), rgba(64, 57, 145, .5)); }
.jspu-ai__mini-avatar { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border: 1px solid rgba(98, 231, 255, .22); border-radius: 10px; background: rgba(98, 231, 255, .08); font-size: 17px; }

.jspu-ai__typing { display: flex; min-width: 58px; align-items: center; gap: 5px; padding: 13px 14px; border: 1px solid rgba(98, 231, 255, .13); border-radius: 7px 18px 18px 18px; background: rgba(13, 23, 48, .9); }
.jspu-ai__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--jspu-ai-cyan); animation: jspuAiTyping 1s ease-in-out infinite; opacity: .4; }
.jspu-ai__typing i:nth-child(2) { animation-delay: .14s; }
.jspu-ai__typing i:nth-child(3) { animation-delay: .28s; }
.jspu-ai__typing--analysis { position:relative; min-width:190px; gap:8px; overflow:hidden; color:#dceaff; font-size:10.5px; font-weight:750; }
.jspu-ai__typing--analysis::after { content:""; position:absolute; right:0; bottom:0; left:0; height:2px; background:linear-gradient(90deg,var(--jspu-ai-cyan),var(--jspu-ai-blue),var(--jspu-ai-pink)); transform-origin:left; animation:jspuAiAnalyze 1.45s ease both; }
.jspu-ai__typing--analysis b { color:var(--jspu-ai-cyan); font-size:15px; text-shadow:0 0 12px rgba(98,231,255,.55); animation:jspuAiSpark .85s ease-in-out infinite alternate; }
.jspu-ai__typing--analysis span { animation:jspuAiStatus .24s ease both; }
.jspu-ai__system { margin: 10px 10px 14px; padding: 9px 11px; border: 1px solid rgba(255, 198, 102, .2); border-radius: 12px; color: #f5d7a2; background: rgba(255, 180, 73, .07); font-size: 11px; text-align: center; }

.jspu-ai__course { position: relative; overflow: hidden; margin-top: 10px; padding: 15px; border: 1px solid rgba(98, 231, 255, .24); border-radius: 19px; background: radial-gradient(circle at 100% 0, rgba(237, 69, 239, .15), transparent 42%), linear-gradient(145deg, rgba(11, 32, 61, .98), rgba(13, 14, 39, .98)); box-shadow: 0 14px 35px rgba(0, 0, 0, .24); }
.jspu-ai__course::after { content: ""; position: absolute; top: -45px; right: -45px; width: 100px; height: 100px; border: 1px solid rgba(98, 231, 255, .12); border-radius: 50%; box-shadow: 0 0 0 16px rgba(98, 231, 255, .025), 0 0 0 32px rgba(98, 231, 255, .02); pointer-events: none; }
.jspu-ai__course-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.jspu-ai__course-code { display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid rgba(98, 231, 255, .42); border-radius: 14px; color: #07101e; background: linear-gradient(135deg, var(--jspu-ai-cyan), #9c9eff); box-shadow: 0 0 22px rgba(98, 231, 255, .16); font-size: 15px; font-weight: 950; }
.jspu-ai__course-match { padding: 5px 9px; border: 1px solid rgba(83, 244, 189, .19); border-radius: 999px; color: #7aebc2; background: rgba(83, 244, 189, .07); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.jspu-ai__course h3 { margin: 13px 0 3px !important; color: #fff !important; font-size: 17px !important; font-weight: 850 !important; line-height: 1.24 !important; letter-spacing: -.025em; }
.jspu-ai__course-tagline { margin: 0 0 9px !important; color: var(--jspu-ai-cyan) !important; font-size: 11px !important; line-height: 1.35 !important; }
.jspu-ai__course-reason { margin: 0 0 13px !important; color: #bec8dd !important; font-size: 11.5px !important; line-height: 1.48 !important; }
.jspu-ai__course-link { display: flex; min-height: 40px; align-items: center; justify-content: space-between; padding: 8px 11px 8px 13px; border: 1px solid rgba(98, 231, 255, .25); border-radius: 13px; color: #effcff !important; background: rgba(98, 231, 255, .075); font-size: 11px; font-weight: 800; text-decoration: none !important; transition: .18s ease; }
.jspu-ai__course-link span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; color: #081022; background: var(--jspu-ai-cyan); }
.jspu-ai__course-link:hover { border-color: rgba(98, 231, 255, .5); background: rgba(98, 231, 255, .12); transform: translateY(-1px); }

.jspu-ai__footer { flex: 0 0 auto; padding: 11px 13px 12px; border-top: 1px solid rgba(98, 231, 255, .11); background: linear-gradient(180deg, rgba(6, 10, 25, .91), rgba(5, 8, 19, .99)); }
.jspu-ai__quick { display: flex; max-height: 112px; flex-wrap: wrap; gap: 7px; overflow-y: auto; margin-bottom: 9px; scrollbar-width: none; }
.jspu-ai__quick:empty { margin: 0; }
.jspu-ai__quick::-webkit-scrollbar { display: none; }
.jspu-ai__chip { min-height: 32px; padding: 6px 10px; border: 1px solid rgba(98, 231, 255, .17); border-radius: 999px; color: #e8f8ff; background: rgba(98, 231, 255, .055); font-size: 10.5px; font-weight: 700; line-height: 1.2; cursor: pointer; animation: jspuAiChipIn .25s calc(var(--chip-index) * 35ms) ease both; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.jspu-ai__chip:hover { transform: translateY(-1px); border-color: rgba(98, 231, 255, .42); background: rgba(98, 231, 255, .11); }
.jspu-ai__consent { display: flex; align-items: flex-start; gap: 8px; margin: 2px 2px 8px; color: #aeb8cd; font-size: 9.5px; line-height: 1.35; }
.jspu-ai__consent label { display: flex; min-width: 0; align-items: flex-start; gap: 7px; cursor: pointer; }
.jspu-ai__consent input { width: 14px; height: 14px; flex: 0 0 14px; margin: 0; accent-color: var(--jspu-ai-cyan); }
.jspu-ai__consent a { margin-left: auto; color: var(--jspu-ai-cyan) !important; font-weight: 700; text-decoration: none; }
.jspu-ai__consent.is-error { color: #ffc0bb; }
.jspu-ai__form { display: flex; align-items: center; gap: 7px; padding: 5px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 17px; background: rgba(255, 255, 255, .035); transition: border-color .16s ease, box-shadow .16s ease; }
.jspu-ai__form:focus-within { border-color: rgba(98, 231, 255, .38); box-shadow: 0 0 0 3px rgba(98, 231, 255, .07); }
.jspu-ai__input { width: 100%; min-width: 0; height: 38px; padding: 0 7px 0 9px; border: 0 !important; outline: 0 !important; color: #f7f9ff !important; background: transparent !important; box-shadow: none !important; font-size: 12px !important; }
.jspu-ai__input::placeholder { color: #79849e; opacity: 1; }
.jspu-ai__send { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border: 0; border-radius: 13px; color: #07101e; background: linear-gradient(135deg, var(--jspu-ai-cyan), #8995ff 63%, #e55be9); box-shadow: 0 7px 18px rgba(98, 231, 255, .16); cursor: pointer; }
.jspu-ai__send:disabled { cursor: wait; filter: saturate(.4); opacity: .65; }
.jspu-ai__send svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.jspu-ai__trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.jspu-ai__micro { margin-top: 7px; color: #6f7b93; font-size: 8.5px; font-weight: 650; letter-spacing: .02em; text-align: center; }

@keyframes jspuAiPanelIn { from { opacity: 0; transform: translateY(18px) scale(.975); } to { opacity: 1; transform: none; } }
@keyframes jspuAiMessageIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes jspuAiChipIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes jspuAiNudge { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes jspuAiTyping { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes jspuAiAnalyze { from { transform:scaleX(0); } to { transform:scaleX(1); } }
@keyframes jspuAiSpark { from { opacity:.55; transform:scale(.9) rotate(-8deg); } to { opacity:1; transform:scale(1.08) rotate(7deg); } }
@keyframes jspuAiStatus { from { opacity:.35; } to { opacity:1; } }

@media (max-width: 680px) {
  body.jspu-ai-chat-open { overflow: hidden !important; }
  .jspu-ai { right: 12px; bottom: calc(94px + env(safe-area-inset-bottom, 0px)); }
  .jspu-ai__fab { width:62px; min-width:62px; height:62px; min-height:62px; padding:6px; border-radius:21px; box-shadow:0 16px 40px rgba(0,0,0,.46),0 0 0 5px rgba(98,231,255,.05),0 0 25px rgba(98,231,255,.12); }
  .jspu-ai__fab-orbit { width:48px; height:48px; flex-basis:48px; border-radius:16px; color:#eefcff; background:radial-gradient(circle at 25% 18%,rgba(255,255,255,.16),transparent 30%),linear-gradient(145deg,rgba(32,185,214,.48),rgba(87,79,190,.52)); }
  .jspu-ai__fab-mascot { display:none; }
  .jspu-ai__fab-chat-icon { display:block; }
  .jspu-ai__fab-copy,
  .jspu-ai__fab-arrow { display: none; }
  .jspu-ai__nudge { right:0; bottom:70px; width:min(260px,calc(100vw - 24px)); max-width:calc(100vw - 24px); gap:7px; padding:9px 10px; border-color:rgba(98,231,255,.22); border-radius:14px 14px 4px 14px; box-shadow:0 12px 30px rgba(0,0,0,.34); white-space:normal !important; }
  .jspu-ai__nudge-spark { font-size:14px; text-shadow:0 0 10px rgba(98,231,255,.5); }
  #jspuAiNudgeText { font-size:11px; font-weight:760; line-height:1.35; }
  .jspu-ai__nudge-close { width:20px; height:20px; flex-basis:20px; font-size:13px; }
  .jspu-ai__panel { right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); left: 8px; width: auto; height: min(720px, calc(100dvh - 80px - env(safe-area-inset-top, 0px))); border-radius: 23px; }
  .jspu-ai__header { min-height: 80px; padding: 12px 13px; }
  .jspu-ai__avatar { width: 48px; height: 48px; flex-basis: 48px; border-radius: 16px; }
  .jspu-ai__avatar span { font-size: 25px; }
  .jspu-ai__heading h2 { font-size: 15px !important; }
  .jspu-ai__heading p { max-width: 220px; font-size: 9.5px !important; }
  .jspu-ai__close { width: 36px; height: 36px; flex-basis: 36px; }
  .jspu-ai__body { padding: 13px 11px 16px; }
  .jspu-ai__message { gap: 6px; margin-bottom: 10px; }
  .jspu-ai__mini-avatar { width: 27px; height: 27px; flex-basis: 27px; border-radius: 9px; font-size: 15px; }
  .jspu-ai__message-content { max-width: calc(100% - 33px); }
  .jspu-ai__message--user .jspu-ai__message-content { max-width: 87%; }
  .jspu-ai__bubble { padding: 9px 11px; font-size: 12.5px; line-height: 1.45; }
  .jspu-ai__course { margin-top: 8px; padding: 12px; border-radius: 17px; }
  .jspu-ai__course-code { width: 38px; height: 38px; border-radius: 12px; font-size: 13px; }
  .jspu-ai__course h3 { margin-top: 10px !important; font-size: 15px !important; }
  .jspu-ai__course-tagline { font-size: 10px !important; }
  .jspu-ai__course-reason { display: -webkit-box; overflow: hidden; margin-bottom: 10px !important; font-size: 10.5px !important; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .jspu-ai__footer { padding: 9px 10px 10px; }
  .jspu-ai__quick { max-height: 90px; gap: 5px; margin-bottom: 7px; }
  .jspu-ai__chip { min-height: 29px; padding: 5px 8px; font-size: 9.5px; }
  .jspu-ai__consent { font-size: 8.8px; }
  .jspu-ai__form { border-radius: 15px; }
  .jspu-ai__input { height: 35px; font-size: 11px !important; }
  .jspu-ai__send { width: 35px; height: 35px; flex-basis: 35px; border-radius: 11px; }
}

@media (max-width: 380px), (max-height: 650px) {
  .jspu-ai__panel { height: calc(100dvh - 68px - env(safe-area-inset-top, 0px)); }
  .jspu-ai__header { min-height: 70px; padding-block: 9px; }
  .jspu-ai__avatar { width: 42px; height: 42px; flex-basis: 42px; }
  .jspu-ai__heading p { display: none; }
  .jspu-ai__quick { max-height: 72px; }
  .jspu-ai__micro { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .jspu-ai *,
  .jspu-ai *::before,
  .jspu-ai *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 1.1.2 — accessibility/readability pass for assistant micro-copy. */
.jspu-ai__consent{
  gap:10px;
  margin:4px 2px 10px;
  color:#c2ccdf;
  font-size:13px;
  line-height:1.45;
}
.jspu-ai__consent label{gap:9px}
.jspu-ai__consent input{
  width:18px;
  height:18px;
  flex-basis:18px;
  margin-top:1px;
}
.jspu-ai__consent a{
  color:#72eaff!important;
  font-size:13px;
  font-weight:800;
  line-height:1.45;
}
.jspu-ai__micro{font-size:11px;line-height:1.4}
.jspu-ai__chip{font-size:12px}
.jspu-ai__input{font-size:14px!important}
.jspu-ai__heading p{font-size:12px}
.jspu-ai__nudge{font-size:14px;line-height:1.35}

@media(max-width:520px){
  .jspu-ai__consent{font-size:12px;line-height:1.42}
  .jspu-ai__consent a{font-size:12px}
  .jspu-ai__chip{font-size:11px}
  .jspu-ai__input{font-size:13px!important}
}
