.szai-launcher,
.szai-panel,
.szai-panel * { box-sizing: border-box; }

:root {
  --szai-ink: var(--sez-dark, #20252b);
  --szai-paper: var(--sez-white, #fff);
  --szai-surface: var(--sez-paper, #f5f6f7);
  --szai-muted: var(--sez-muted, #69727b);
  --szai-line: var(--sez-line, #d8dde1);
  --szai-brand: var(--sez-accent, #ec5429);
  --szai-rainbow: conic-gradient(from 0deg, #ff2d2d, #ff9500, #ffd60a, #00c7be, #0a84ff, #bf5af2, #ff2d78, #ff2d2d);
  --szai-font: "Open Sans", Arial, sans-serif;
  --szai-right: 158px;
  --szai-bottom: 18px;
}

.szai-launcher { position: fixed; z-index: 9998; right: var(--szai-right); bottom: var(--szai-bottom); display: block; width: 66px; height: 66px; visibility: visible; opacity: 1; pointer-events: auto; }
.szai-glow { position: absolute; z-index: 0; inset: -5px; background: var(--szai-rainbow); filter: blur(15px); opacity: .9; animation: szai-glow 7s ease-in-out infinite; }
.szai-orb { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 22px; background: transparent; cursor: pointer; }
.szai-icon { position: relative; z-index: 2; display: block; width: 100%; height: 100%; }
.szai-launcher .szai-star path { fill: #fff; stroke: rgb(32 37 43 / 50%); stroke-width: 1.5; }
.szai-star { transform-origin: center; }
.sA { animation: szai-star 5s ease-in-out infinite; }
.sB { animation: szai-star 5s ease-in-out .6s infinite; }
.sC { animation: szai-star 5s ease-in-out 1.2s infinite; }

@keyframes szai-glow {
  0% { filter: blur(15px) hue-rotate(0); transform: scale(1); opacity: .82; }
  50% { filter: blur(21px) hue-rotate(180deg); transform: scale(1.1); opacity: 1; }
  100% { filter: blur(15px) hue-rotate(360deg); transform: scale(1); opacity: .82; }
}
@keyframes szai-star { 0%, 100% { transform: translateY(2px) scale(.96); } 50% { transform: translateY(-2px) scale(1.06); } }

.szai-panel {
  position: fixed;
  z-index: 9999;
  right: var(--szai-right);
  bottom: calc(var(--szai-bottom) + 80px);
  display: flex;
  width: min(560px, calc(100vw - 40px));
  height: min(720px, calc(100dvh - 140px));
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--szai-line);
  border-radius: 24px;
  background: var(--szai-paper);
  box-shadow: 0 24px 70px rgb(32 37 43 / 22%);
  font-family: var(--szai-font);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .22s ease, transform .22s ease;
}
.szai-panel[hidden] { display: none; }
.szai-panel.is-open { opacity: 1; pointer-events: auto; transform: none; }
.szai-backdrop { display: none; }

.szai-head { display: flex; min-height: 74px; flex: 0 0 auto; align-items: center; gap: 13px; padding: 13px 16px; border-bottom: 1px solid var(--szai-line); background: linear-gradient(135deg, #fff, #f7f9fb); color: var(--szai-ink); }
.szai-mini { position: relative; width: 42px; height: 42px; flex: 0 0 42px; }
.szai-mini::before { position: absolute; z-index: 0; inset: -3px; background: var(--szai-rainbow); content: ""; filter: blur(7px); opacity: .82; animation: szai-glow 7s ease-in-out infinite; }
.szai-mini .szai-star path { fill: var(--szai-ink); stroke: rgb(255 255 255 / 74%); }
.szai-id { display: grid; gap: 3px; }
.szai-id strong { font-family: "Montserrat", var(--szai-font); font-size: 16px; line-height: 1.15; }
.szai-id small { display: flex; align-items: center; gap: 6px; color: var(--szai-muted); font-size: 11px; }
.szai-id small i { width: 6px; height: 6px; border-radius: 50%; background: #45c784; box-shadow: 0 0 0 3px rgb(69 199 132 / 13%); }
.szai-manager { margin-left: auto; padding: 9px 12px; border: 1px solid var(--szai-line); border-radius: 11px; background: #fff; color: var(--szai-ink); font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.szai-manager:hover { border-color: var(--szai-brand); background: var(--szai-brand); color: #fff; }
.szai-x { display: grid; width: 42px; height: 42px; margin-left: 0; place-items: center; padding: 0; border: 1px solid var(--szai-line); border-radius: 12px; background: transparent; color: var(--szai-ink); cursor: pointer; }
.szai-x span { font: 27px/1 Arial, sans-serif; transform: translateY(-1px); }
.szai-x:hover { border-color: var(--szai-ink); background: var(--szai-ink); color: #fff; }

.szai-body { display: flex; min-height: 0; flex: 1; overflow-y: auto; flex-direction: column; gap: 14px; padding: 18px; background: linear-gradient(160deg, #f8fafc 0%, #fff 48%, #f6f7f8 100%); scrollbar-width: thin; scrollbar-color: var(--szai-line) transparent; }
.szai-msg { max-width: 88%; padding: 15px 17px; border-radius: 17px; font-size: 14px; line-height: 1.58; overflow-wrap: anywhere; }
.szai-bot { align-self: flex-start; border: 1px solid var(--szai-line); border-bottom-left-radius: 5px; background: #fff; color: var(--szai-ink); box-shadow: 0 8px 22px rgb(32 37 43 / 7%); }
.szai-me { align-self: flex-end; border: 1px solid var(--szai-ink); border-bottom-right-radius: 5px; background: var(--szai-ink); color: #fff; }
.szai-msg strong { font-weight: 700; }
.szai-list-item { display: block; padding-left: 15px; position: relative; }
.szai-list-item::before { position: absolute; left: 1px; color: var(--szai-brand); content: "•"; font-size: 14px; top: -1px; }

.szai-suggestions { display: flex; flex-wrap: wrap; align-self: flex-start; gap: 7px; max-width: 92%; }
.szai-suggestions button { min-height: 40px; padding: 9px 13px; border: 1px solid var(--szai-line); border-radius: 999px; background: #fff; color: var(--szai-ink); cursor: pointer; font-size: 12px; box-shadow: 0 4px 12px rgb(32 37 43 / 5%); }
.szai-suggestions button:hover { border-color: var(--szai-brand); color: var(--szai-brand); }

.szai-welcome { max-width: 500px; padding: 4px 3px 8px; }
.szai-welcome__label { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 7px; color: var(--szai-brand); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.szai-welcome__label::before { width: 16px; height: 2px; background: currentColor; content: ""; }
.szai-welcome h3 { margin: 0 0 7px; color: var(--szai-ink); font-family: "Montserrat", var(--szai-font); font-size: 25px; line-height: 1.15; letter-spacing: -.03em; }
.szai-welcome p { max-width: 460px; margin: 0; color: var(--szai-muted); font-size: 13px; line-height: 1.55; }

.szai-start-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; width: 100%; padding: 2px 0 12px; perspective: 900px; }
.szai-start-card { position: relative; min-height: 142px; overflow: hidden; padding: 17px 78px 16px 16px; border: 1px solid #e1e6ea; border-radius: 18px; background: rgb(255 255 255 / 94%); color: var(--szai-ink); cursor: pointer; text-align: left; box-shadow: 0 10px 26px rgb(32 37 43 / 7%); transform: translate3d(0, 0, 0); animation: szai-float-card 6s ease-in-out infinite; transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease; }
.szai-start-card:nth-child(2) { animation-delay: -.9s; }
.szai-start-card:nth-child(3) { animation-delay: -1.8s; }
.szai-start-card:nth-child(4) { animation-delay: -2.7s; }
.szai-start-card:nth-child(5) { animation-delay: -3.6s; }
.szai-start-card--wide { grid-column: 1 / -1; min-height: 152px; padding-right: 150px; background: linear-gradient(125deg, #20252b 0%, #313944 100%); color: #fff; }
.szai-start-card::after { position: absolute; right: -28px; bottom: -40px; width: 118px; height: 118px; border-radius: 50%; background: rgb(236 84 41 / 8%); content: ""; }
.szai-start-card--wide::after { right: 28px; bottom: -70px; width: 210px; height: 210px; background: rgb(255 255 255 / 6%); }
.szai-start-card__number { display: block; margin-bottom: 19px; color: var(--szai-brand); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.szai-start-card strong { position: relative; z-index: 2; display: block; margin-bottom: 5px; font-family: "Montserrat", var(--szai-font); font-size: 14px; line-height: 1.22; }
.szai-start-card small { position: relative; z-index: 2; display: block; color: var(--szai-muted); font-size: 10px; line-height: 1.38; }
.szai-start-card--wide small { color: rgb(255 255 255 / 65%); font-size: 11px; }
.szai-start-card img { position: absolute; z-index: 1; right: 12px; bottom: 9px; width: 72px; height: 72px; object-fit: contain; opacity: .88; transition: transform .3s ease, opacity .3s ease; }
.szai-start-card--wide img { right: 27px; bottom: 9px; width: 122px; height: 122px; }
.szai-start-card:hover { z-index: 2; border-color: rgb(236 84 41 / 55%); box-shadow: 0 18px 38px rgb(32 37 43 / 14%); transform: translateY(-5px) rotateX(1.5deg); animation-play-state: paused; }
.szai-start-card:hover img { opacity: 1; transform: translateY(-3px) scale(1.05) rotate(-2deg); }
@keyframes szai-float-card {
  0%, 100% { transform: translate3d(0, 0, 0) rotateZ(0); }
  50% { transform: translate3d(0, -4px, 0) rotateZ(.18deg); }
}

.szai-typing { display: inline-flex; align-items: center; gap: 4px; }
.szai-typing i { width: 6px; height: 6px; background: var(--szai-brand); animation: szai-dot 1.2s ease-in-out infinite; }
.szai-typing i:nth-child(2) { animation-delay: .2s; }
.szai-typing i:nth-child(3) { animation-delay: .4s; }
.szai-typing span { margin-left: 6px; color: var(--szai-muted); font-size: 11px; }
@keyframes szai-dot { 0%, 80%, 100% { opacity: .35; transform: scale(.65); } 40% { opacity: 1; transform: scale(1); } }

.szai-results { display: grid; gap: 8px; width: 100%; }
.szai-results__head { display: flex; align-items: center; justify-content: space-between; color: var(--szai-ink); font-size: 12px; }
.szai-results__head span { color: var(--szai-brand); font-weight: 700; }
.szai-cards { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 3px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.szai-cards::-webkit-scrollbar { display: none; }
.szai-card { position: relative; display: flex; overflow: hidden; flex: 0 0 260px; flex-direction: column; border: 1px solid var(--szai-line); background: #fff; color: var(--szai-ink); text-decoration: none; scroll-snap-align: start; scroll-snap-stop: always; transition: border-color .22s ease; }
.szai-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; flex: 0 0 auto; background: #fff; }
.szai-card__media--empty { display: grid; place-items: center; background: var(--szai-ink); color: #fff; font-family: "Montserrat", var(--szai-font); font-size: 28px; font-weight: 700; }
.szai-card__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity .2s ease; }
.szai-card__slide.is-active { opacity: 1; }
.szai-card__media-nav { position: absolute; z-index: 2; right: 8px; bottom: 8px; left: 8px; display: flex; align-items: center; justify-content: space-between; color: #fff; font-size: 10px; }
.szai-card__media-nav button { position: relative; display: grid; width: 30px; height: 30px; place-items: center; padding: 0; border: 1px solid rgb(255 255 255 / 65%); border-radius: 0; background: rgb(32 37 43 / 82%); color: #fff; cursor: pointer; }
.szai-card__media-nav button::before { width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; content: ""; transform: rotate(45deg); }
.szai-card__media-nav [data-card-prev]::before { transform: rotate(-135deg); }
.szai-card__media-nav span { padding: 4px 7px; background: rgb(32 37 43 / 82%); }
.szai-card__body { display: flex; min-height: 168px; flex: 1; flex-direction: column; padding: 16px; background: var(--szai-paper); color: var(--szai-ink); transition: background-color .22s ease, color .22s ease; }
.szai-card__label { margin-bottom: 10px; color: var(--szai-muted); font-size: 9px; font-weight: 700; }
.szai-card h3 { display: -webkit-box; overflow: hidden; margin: 0 0 8px; color: var(--szai-ink); font-family: "Montserrat", var(--szai-font); font-size: 15px; line-height: 1.28; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.szai-card p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--szai-muted); font-size: 11px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.szai-card__meta { display: flex; min-height: 22px; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; color: var(--szai-muted); font-size: 10px; }
.szai-card__meta strong { color: var(--szai-ink); font-size: 12px; }
.szai-card__corner { position: absolute; z-index: 4; right: 16px; bottom: 16px; width: 12px; height: 12px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; opacity: 0; transition: opacity .2s ease; }
.szai-card:hover { border-color: var(--szai-ink); }
.szai-card:hover .szai-card__body { background: var(--szai-ink); color: #fff; }
.szai-card:hover :is(h3, p, .szai-card__label, .szai-card__meta, .szai-card__meta strong) { color: #fff; }
.szai-card:hover .szai-card__corner { color: #fff; opacity: 1; }
.szai-card--service .szai-card__media, .szai-card--case .szai-card__media { background: var(--szai-ink); }
.szai-card--service .szai-card__slide, .szai-card--case .szai-card__slide { object-fit: cover; }

.szai-contacts { display: grid; width: min(100%, 420px); align-self: flex-start; border-top: 1px solid var(--szai-line); border-left: 1px solid var(--szai-line); background: #fff; }
.szai-contacts > * { display: grid; gap: 4px; padding: 11px 13px; border-right: 1px solid var(--szai-line); border-bottom: 1px solid var(--szai-line); color: var(--szai-ink); text-decoration: none; }
.szai-contacts span { color: var(--szai-muted); font-size: 9px; text-transform: uppercase; }
.szai-contacts strong { font-size: 12px; line-height: 1.35; }
.szai-actions { display: grid; width: 100%; grid-template-columns: 1fr 1fr; gap: 8px; }
.szai-actions > * { display: grid; min-height: 48px; place-items: center; padding: 10px 13px; border: 1px solid var(--szai-ink); border-radius: 12px; background: var(--szai-ink); color: #fff; cursor: pointer; font: 700 12px var(--szai-font); text-align: center; text-decoration: none; box-shadow: 0 7px 18px rgb(32 37 43 / 13%); }
.szai-actions > *:first-child { border-color: var(--szai-brand); background: var(--szai-brand); }
.szai-actions > *:hover { filter: brightness(.9); }

.szai-foot { display: flex; flex: 0 0 auto; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid var(--szai-line); background: #fff; }
.szai-foot textarea { min-width: 0; min-height: 46px; max-height: 112px; flex: 1; resize: none; padding: 12px 14px; border: 1px solid var(--szai-line); border-radius: 14px; outline: 0; background: #fff; color: var(--szai-ink); font: 14px/1.45 var(--szai-font); }
.szai-foot textarea:focus { border-color: var(--szai-brand); box-shadow: none; }
.szai-foot textarea::placeholder { color: var(--szai-muted); opacity: .72; }
.szai-send { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; padding: 0; border: 0; border-radius: 14px; background: var(--szai-ink); cursor: pointer; }
.szai-send svg { stroke: #fff; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
.szai-send:hover { background: var(--szai-brand); }
.szai-send:disabled { cursor: wait; opacity: .55; }

@media (min-width: 1680px) {
  .szai-panel { width: 620px; }
  .szai-card { flex-basis: 260px; }
}

@media (min-width: 2100px) {
  :root { --szai-right: 178px; --szai-bottom: 36px; }
  .szai-launcher { width: 96px; height: 96px; }
  .szai-panel { bottom: 150px; width: min(820px, 38vw); height: min(900px, calc(100dvh - 190px)); }
  .szai-card { flex-basis: 330px; }
  .szai-msg { font-size: 16px; }
}

@media (max-width: 1200px) {
  :root { --szai-right: 12px; --szai-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
  .szai-launcher { width: 54px; height: 54px; }
  .szai-panel { bottom: calc(140px + env(safe-area-inset-bottom, 0px)); width: min(520px, calc(100vw - 24px)); height: min(620px, calc(100dvh - 190px)); }
}

@media (max-width: 600px) {
  body.szai-open { overflow: hidden; }
  body.szai-open .szai-launcher { opacity: 0; pointer-events: none; }
  .szai-panel { z-index: 2147483000; inset: auto 0 auto 0; top: var(--szai-visual-top, 0px); right: auto; bottom: auto; width: 100dvw; max-width: none; height: var(--szai-visual-height, 100dvh); max-height: none; border: 0; box-shadow: none; transform: translateY(100%); }
  .szai-panel.is-open { transform: none; }
  .szai-head { min-height: 62px; padding: 9px 11px; }
  .szai-mini { width: 36px; height: 36px; flex-basis: 36px; }
  .szai-id strong { font-size: 14px; }
  .szai-id small { display: none; }
  .szai-manager { padding: 8px 9px; font-size: 9px; }
  .szai-body { gap: 12px; padding: 12px; }
  .szai-welcome h3 { font-size: 22px; }
  .szai-welcome p { font-size: 12px; }
  .szai-start-grid { gap: 8px; }
  .szai-start-card { min-height: 126px; padding: 14px 60px 13px 13px; border-radius: 15px; }
  .szai-start-card--wide { min-height: 138px; padding-right: 116px; }
  .szai-start-card__number { margin-bottom: 13px; }
  .szai-start-card strong { font-size: 12px; }
  .szai-start-card small { font-size: 9px; }
  .szai-start-card img { right: 7px; width: 58px; height: 58px; }
  .szai-start-card--wide img { right: 14px; width: 96px; height: 96px; }
  .szai-msg { max-width: 91%; padding: 10px 11px; font-size: 12px; }
  .szai-card { flex-basis: min(72vw, 260px); }
  .szai-card__body { min-height: 168px; padding: 12px; }
  .szai-actions > * { min-height: 40px; font-size: 10px; }
  .szai-foot { padding: 9px 9px calc(9px + env(safe-area-inset-bottom, 0px)); }
  .szai-foot textarea { min-height: 42px; font-size: 16px; line-height: 1.35; }
  .szai-send { width: 42px; height: 42px; flex-basis: 42px; }
}

/* 5.1: visual answers, product CTAs and answer feedback. */
.szai-body { scroll-behavior: smooth; }
.szai-msg { animation: szai-message-in .34s cubic-bezier(.2,.75,.25,1) both; }
.szai-bot {
  position: relative;
  margin-left: 38px;
  transform-origin: left bottom;
}
.szai-bot::before {
  position: absolute;
  top: 2px;
  left: -40px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #d8dde1;
  border-radius: 10px;
  background: #20252b;
  color: #fff;
  content: "✦";
  font: 18px/1 Georgia, serif;
  box-shadow: 0 6px 16px rgb(32 37 43 / 12%);
  animation: szai-assistant-icon 3.8s ease-in-out infinite;
}
.szai-bot--revised { border-color: rgb(236 84 41 / 55%); }
@keyframes szai-message-in {
  from { opacity: 0; transform: translateY(9px) scale(.985); }
  to { opacity: 1; transform: none; }
}
@keyframes szai-assistant-icon {
  0%, 100% { color: #fff; background: #20252b; transform: translateY(0); }
  50% { color: #20252b; background: #fff; transform: translateY(-2px); }
}

.szai-results { animation: szai-section-in .38s .06s cubic-bezier(.2,.75,.25,1) both; }
.szai-results__head {
  padding: 9px 11px;
  border-left: 3px solid var(--szai-brand);
  background: #fff;
}
.szai-card {
  animation: szai-card-in .4s cubic-bezier(.2,.75,.25,1) both;
  animation-delay: calc(var(--szai-card-index, 0) * 55ms + 100ms);
}
.szai-card--product .szai-card__slide,
.szai-card--sez_product .szai-card__slide { object-fit: contain; padding: 10px; background: #fff; }
@keyframes szai-section-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes szai-card-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

.szai-actions { gap: 10px; }
.szai-actions > .szai-action {
  position: relative;
  display: flex;
  min-height: 94px;
  overflow: hidden;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 94px 16px 16px;
  border-radius: 14px;
  text-align: left;
  isolation: isolate;
  transition: color .24s ease, background-color .24s ease, border-color .24s ease, transform .24s ease;
  animation: szai-section-in .4s .12s cubic-bezier(.2,.75,.25,1) both;
}
.szai-action__copy { position: relative; z-index: 2; display: grid; gap: 5px; }
.szai-action__copy strong { font: 800 13px/1.18 "Montserrat",var(--szai-font); }
.szai-action__copy small { color: inherit; font: 500 9px/1.35 var(--szai-font); opacity: .68; }
.szai-action img {
  position: absolute;
  z-index: 1;
  right: 7px;
  bottom: 1px;
  width: 86px;
  height: 86px;
  object-fit: contain;
  pointer-events: none;
  animation: szai-product-float 5s ease-in-out infinite;
  transition: transform .28s ease;
}
.szai-action > i {
  position: absolute;
  z-index: 3;
  top: 13px;
  right: 13px;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: .65;
}
.szai-actions > .szai-action--custom { border-color: #d8dde1; background: #fff; color: #20252b; }
.szai-actions > .szai-action--shop { border-color: #20252b; background: #20252b; color: #fff; }
.szai-actions > .szai-action--lead { min-height: 52px; padding: 12px 18px; border-color: var(--szai-brand); background: var(--szai-brand); color: #fff; }
.szai-actions > .szai-action:hover { border-color: var(--szai-brand); background: var(--szai-brand); color: #fff; transform: translateY(-2px); }
.szai-action:hover img { transform: translateY(-5px) scale(1.08) rotate(-2deg); }
@keyframes szai-product-float { 0%,100% { transform: translateY(2px); } 50% { transform: translateY(-4px); } }

.szai-feedback {
  display: flex;
  width: min(100%, 440px);
  align-self: flex-start;
  align-items: center;
  gap: 7px;
  margin-left: 38px;
  padding: 2px 0 6px;
  color: var(--szai-muted);
  font-size: 10px;
  animation: szai-section-in .32s .18s ease both;
}
.szai-feedback span { margin-right: 2px; }
.szai-feedback button {
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--szai-line);
  border-radius: 999px;
  background: #fff;
  color: var(--szai-ink);
  cursor: pointer;
  font: 700 9px var(--szai-font);
}
.szai-feedback button:hover { border-color: var(--szai-brand); color: var(--szai-brand); }
.szai-feedback.is-complete { opacity: .72; }
.szai-feedback.is-complete button { display: none; }

@media (min-width: 1201px) {
  .szai-actions { width: min(100%, 720px); grid-template-columns: repeat(2,minmax(0,1fr)); }
  .szai-actions > .szai-action--lead { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .szai-bot { margin-left: 32px; }
  .szai-bot::before { left: -34px; width: 26px; height: 26px; border-radius: 8px; font-size: 15px; }
  .szai-actions { grid-template-columns: 1fr; }
  .szai-actions > .szai-action { min-height: 78px; padding: 12px 76px 12px 12px; }
  .szai-action img { width: 70px; height: 70px; }
  .szai-feedback { margin-left: 32px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .szai-msg, .szai-bot::before, .szai-results, .szai-card, .szai-action, .szai-action img, .szai-feedback { animation: none !important; }
}

body.sez-menu-open .szai-launcher,
body.sez-menu-open .szai-panel,
body.sez-modal-open .szai-launcher,
body.sez-modal-open .szai-panel { opacity: 0 !important; pointer-events: none !important; }

/* 4.3: спокойный интерфейс без декоративного движения */
.szai-mini::before,
.szai-start-card::after { display: none; }
.szai-star,
.szai-start-card { animation: none !important; }
.szai-id { gap: 0; }
.szai-manager {
  margin-left: auto;
  padding: 10px 13px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(115deg, #7638ff, #6557ff, #437df5, #32a9f2, #4d5ee8);
  background-size: 220% 220%;
  color: #fff !important;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgb(83 83 235 / 24%);
  animation: szai-max-gradient 7s ease-in-out infinite;
}
.szai-manager:hover { color: #fff !important; filter: brightness(1.08); }
@keyframes szai-max-gradient { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.szai-body { gap: 12px; background: #f7f8fa; }
.szai-start-grid { gap: 10px; padding-bottom: 10px; perspective: none; }
.szai-start-card {
  min-height: 116px;
  padding: 16px 70px 15px 15px;
  border: 1px solid #e0e4e8;
  border-radius: 16px;
  background: #fff;
  color: var(--szai-ink);
  box-shadow: none;
  transform: none !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.szai-start-card--wide { min-height: 124px; padding-right: 130px; background: #20252b; color: #fff; }
.szai-start-card img { right: 12px; bottom: 12px; width: 62px; height: 62px; opacity: .78; filter: none; transform: none !important; transition: none; }
.szai-start-card--wide img { right: 22px; bottom: 10px; width: 104px; height: 104px; }
.szai-start-card:hover { border-color: var(--szai-ink); background: var(--szai-ink); color: #fff; box-shadow: none; transform: none; }
.szai-start-card:hover small { color: rgb(255 255 255 / 74%); }
.szai-start-card--wide:hover { border-color: var(--szai-brand); background: var(--szai-brand); }
.szai-attach { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; padding: 0; border: 1px solid var(--szai-line); border-radius: 14px; background: #fff; color: var(--szai-ink); cursor: pointer; }
.szai-attach svg { stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.szai-attach:hover, .szai-attach.has-file { border-color: var(--szai-brand); color: var(--szai-brand); }

/* 4.3.1: строгая геометрия и полноценные вложения */
.szai-panel { width: min(600px, calc(100vw - 40px)); border-radius: 4px; }
.szai-head { min-height: 70px; padding: 14px 18px; }
.szai-manager,
.szai-x,
.szai-start-card,
.szai-msg,
.szai-actions > *,
.szai-foot textarea,
.szai-attach,
.szai-send { border-radius: 2px; }
.szai-body { gap: 16px; padding: 22px; }
.szai-welcome { padding: 2px 0 5px; }
.szai-welcome h3 { margin-bottom: 8px; font-size: 24px; }
.szai-start-grid { gap: 12px; }
.szai-start-card { min-height: 104px; padding: 18px 72px 17px 17px; }
.szai-start-card--wide { min-height: 112px; padding-right: 126px; }
.szai-start-card img { right: 15px; bottom: 15px; width: 54px; height: 54px; }
.szai-start-card--wide img { right: 24px; bottom: 8px; width: 96px; height: 96px; }
.szai-start-card strong { margin-bottom: 7px; }
.szai-file-preview {
  display: flex;
  min-height: 66px;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border-top: 1px solid var(--szai-line);
  background: #fff;
}
.szai-file-preview[hidden] { display: none; }
.szai-file-preview__media { display: grid; width: 48px; height: 48px; flex: 0 0 48px; overflow: hidden; place-items: center; border: 1px solid var(--szai-line); background: #f2f4f6; color: var(--szai-muted); font-size: 10px; font-weight: 800; }
.szai-file-preview__media img { width: 100%; height: 100%; object-fit: cover; }
.szai-file-preview__info { display: grid; min-width: 0; flex: 1; gap: 3px; }
.szai-file-preview__info strong { overflow: hidden; color: var(--szai-ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.szai-file-preview__info small { color: var(--szai-muted); font-size: 10px; }
.szai-file-preview > button { width: 32px; height: 32px; padding: 0; border: 1px solid var(--szai-line); border-radius: 0; background: #fff; color: var(--szai-ink); cursor: pointer; font: 21px/1 Arial, sans-serif; }
.szai-file-preview > button:hover { border-color: var(--szai-brand); color: var(--szai-brand); }
.szai-message-file { display: flex; min-width: 220px; align-items: center; gap: 9px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgb(255 255 255 / 25%); }
.szai-message-file > img,
.szai-file-icon { display: grid; width: 64px; height: 52px; flex: 0 0 64px; place-items: center; object-fit: cover; background: rgb(255 255 255 / 14%); color: #fff; font-size: 10px; font-weight: 800; }
.szai-message-file > span:last-child { display: grid; min-width: 0; gap: 3px; }
.szai-message-file strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.szai-message-file small { color: rgb(255 255 255 / 68%); font-size: 9px; }

/* 4.4: фирменная чёрно-белая палитра с оранжевым акцентом */
.szai-panel { border-color: #cfd3d7; box-shadow: 0 22px 54px rgb(32 37 43 / 18%); }
.szai-head { background: #fff; }
.szai-manager {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #6257e8;
  color: #fff !important;
  box-shadow: none;
  animation: none;
}
.szai-manager::before,
.szai-manager::after {
  position: absolute;
  z-index: -1;
  width: 130%;
  height: 190%;
  border-radius: 50%;
  content: "";
  filter: blur(13px);
  will-change: transform;
}
.szai-manager::before {
  top: -100%;
  left: -38%;
  background:
    radial-gradient(circle at 30% 35%, #27c5ff 0 18%, transparent 42%),
    radial-gradient(circle at 72% 68%, #8148ff 0 22%, transparent 48%);
  animation: szai-max-lava-a 8.5s cubic-bezier(.45, .05, .55, .95) infinite;
}
.szai-manager::after {
  right: -42%;
  bottom: -105%;
  background:
    radial-gradient(circle at 36% 62%, #4f7cff 0 20%, transparent 46%),
    radial-gradient(circle at 74% 28%, #b34bff 0 18%, transparent 44%),
    radial-gradient(circle at 52% 86%, #2faeea 0 16%, transparent 40%);
  animation: szai-max-lava-b 11s cubic-bezier(.37, .08, .63, .92) infinite;
}
.szai-manager span { position: relative; z-index: 2; }
.szai-manager:hover { background: var(--szai-brand); color: #fff !important; box-shadow: none; filter: none; }
.szai-manager:hover::before,
.szai-manager:hover::after { opacity: 0; }
@keyframes szai-max-lava-a {
  0% { transform: translate(-8%, -4%) rotate(0deg) scale(.94); }
  23% { transform: translate(22%, 18%) rotate(63deg) scale(1.16); }
  51% { transform: translate(4%, 42%) rotate(151deg) scale(.88); }
  76% { transform: translate(-18%, 15%) rotate(247deg) scale(1.12); }
  100% { transform: translate(-8%, -4%) rotate(360deg) scale(.94); }
}
@keyframes szai-max-lava-b {
  0% { transform: translate(8%, 7%) rotate(12deg) scale(1.08); }
  29% { transform: translate(-24%, -19%) rotate(96deg) scale(.9); }
  58% { transform: translate(-5%, -38%) rotate(204deg) scale(1.2); }
  82% { transform: translate(19%, -12%) rotate(296deg) scale(.96); }
  100% { transform: translate(8%, 7%) rotate(372deg) scale(1.08); }
}
.szai-body { background: #f5f6f7; }
.szai-start-card img { filter: grayscale(1) brightness(0); opacity: .86; }
.szai-start-card--wide img { filter: grayscale(1) brightness(0) invert(1); }
.szai-start-card:hover img { filter: grayscale(1) brightness(0) invert(1); }
.szai-start-card--wide:hover { border-color: #fff; background: #fff; color: var(--szai-ink); }
.szai-start-card--wide:hover small { color: var(--szai-muted); }
.szai-start-card--wide:hover img { filter: grayscale(1) brightness(0); }
.szai-welcome h3::after { display: none; content: none; }
.szai-msg blockquote {
  border-left-color: var(--szai-brand);
  background: rgb(236 84 41 / 7%);
  color: var(--szai-ink);
}
.szai-msg u { text-decoration-color: var(--szai-brand); }
.szai-msg mark { border-radius: 0; background: rgb(236 84 41 / 14%); }
.szai-bot { border: 1px solid var(--szai-line); box-shadow: none; }
.szai-contacts { border-color: #cfd3d7; }
.szai-actions > * { border-color: var(--szai-ink); background: var(--szai-ink); }
.szai-actions > *:first-child { border-color: var(--szai-ink); background: #fff; color: var(--szai-ink); }
.szai-actions > *:hover { border-color: var(--szai-ink); background: var(--szai-ink); color: #fff; filter: none; }

@media (min-width: 1201px) {
  .szai-backdrop {
    position: fixed;
    z-index: 9997;
    inset: 0 min(50vw, 820px) 0 0;
    display: block;
    padding: 0;
    border: 0;
    background: rgb(15 18 22 / 0%);
    cursor: default;
    opacity: 0;
    pointer-events: none;
    transition: background-color .24s ease, opacity .24s ease;
  }
  body.szai-open .szai-backdrop {
    background: rgb(15 18 22 / 58%);
    cursor: pointer;
    opacity: 1;
    pointer-events: auto;
  }
  .szai-panel {
    inset: 0 0 0 auto;
    width: 50vw;
    max-width: 820px;
    height: 100dvh;
    max-height: none;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 0;
    transform: translateX(24px);
  }
  .szai-panel.is-open { transform: none; }
  .szai-actions { width: min(88%, 560px); align-self: flex-start; grid-template-columns: 1fr; }
  .szai-actions > * { width: 100%; }
}

.szai-msg p { margin: 0 0 9px; }
.szai-msg p:last-child { margin-bottom: 0; }
.szai-msg .szai-list {
  display: grid;
  gap: 6px;
  margin: 10px 0;
  padding: 0;
  list-style: none;
}
.szai-msg .szai-list li {
  position: relative;
  padding-left: 17px;
}
.szai-msg .szai-list li::before {
  position: absolute;
  top: .7em;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--szai-brand);
  content: "";
  transform: translateY(-50%);
}
.szai-msg blockquote {
  margin: 10px 0;
  padding: 8px 11px;
  border-left: 3px solid var(--szai-brand);
  background: rgb(236 84 41 / 7%);
  color: var(--szai-ink);
}
.szai-msg em { color: #59677c; }
.szai-msg h4 {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.szai-msg u {
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: var(--szai-brand);
}
.szai-msg mark {
  padding: 1px 4px;
  border-radius: 0;
  background: rgb(236 84 41 / 14%);
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .szai-glow,
  .szai-star,
  .szai-mini::before,
  .szai-typing i,
  .szai-start-card { animation: none !important; }
  .szai-panel,
  .szai-card__slide { transition: none; }
}

/* 4.5: mobile is a real full-screen workspace, not a narrowed desktop panel. */
@media (max-width: 600px) {
  .szai-panel {
    inset: 0 !important;
    right: auto !important;
    bottom: auto !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    min-height: 100dvh;
    max-height: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .szai-head {
    min-height: 54px;
    gap: 8px;
    padding: 7px 9px;
  }

  .szai-mini {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .szai-id strong { font-size: 12px; }
  .szai-manager { padding: 7px 8px; font-size: 8px; }
  .szai-x { width: 36px; height: 36px; }
  .szai-x span { font-size: 23px; }

  .szai-body {
    gap: 9px;
    padding: 9px;
    overscroll-behavior: contain;
  }

  .szai-welcome { padding: 0 0 3px; }
  .szai-welcome__label { margin-bottom: 4px; font-size: 8px; }
  .szai-welcome h3 { margin-bottom: 4px; font-size: 18px; }
  .szai-welcome p { font-size: 10px; line-height: 1.4; }

  .szai-start-grid { gap: 6px; padding-bottom: 5px; }
  .szai-start-card {
    min-height: 82px;
    padding: 10px 46px 9px 9px;
    border-radius: 2px;
  }
  .szai-start-card--wide {
    min-height: 92px;
    padding-right: 86px;
  }
  .szai-start-card__number { margin-bottom: 7px; font-size: 7px; }
  .szai-start-card strong { margin-bottom: 3px; font-size: 10px; line-height: 1.18; }
  .szai-start-card small { font-size: 8px; line-height: 1.28; }
  .szai-start-card img {
    right: 7px;
    bottom: 7px;
    width: 38px;
    height: 38px;
  }
  .szai-start-card--wide img {
    right: 10px;
    bottom: 5px;
    width: 70px;
    height: 70px;
  }

  .szai-msg {
    max-width: 94%;
    padding: 8px 9px;
    border-radius: 2px;
    font-size: 11px;
    line-height: 1.42;
  }
  .szai-msg h4 { margin-bottom: 7px; font-size: 13px; }
  .szai-msg p { margin-bottom: 6px; }
  .szai-suggestions { gap: 5px; max-width: 100%; }
  .szai-suggestions button { min-height: 32px; padding: 7px 9px; font-size: 9px; }

  .szai-card { flex-basis: min(68vw, 220px); }
  .szai-card__body { min-height: 132px; padding: 10px; }
  .szai-card h3 { font-size: 12px; }
  .szai-card p { font-size: 9px; }

  .szai-actions { gap: 6px; }
  .szai-actions > * { min-height: 36px; padding: 7px 9px; font-size: 9px; }
  .szai-contacts > * { padding: 8px 9px; }

  .szai-file-preview {
    min-height: 52px;
    gap: 8px;
    padding: 6px 9px;
  }
  .szai-file-preview__media { width: 38px; height: 38px; flex-basis: 38px; }

  .szai-foot {
    gap: 6px;
    padding: 7px 7px calc(7px + env(safe-area-inset-bottom, 0px));
  }
  .szai-foot textarea {
    min-height: 38px;
    max-height: 88px;
    padding: 9px 10px;
    /* iOS Safari zooms the page when a focused field is smaller than 16px. */
    font-size: 16px;
    line-height: 1.35;
  }
  .szai-attach,
  .szai-send {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}

/* Keep the 5.1 action cards above legacy compatibility overrides. */
.szai-actions > .szai-action--custom { border-color: #d8dde1; background: #fff; color: #20252b; }
.szai-actions > .szai-action--shop { border-color: #20252b; background: #20252b; color: #fff; }
.szai-actions > .szai-action--lead { min-height: 52px; padding: 12px 18px; border-color: var(--szai-brand); background: var(--szai-brand); color: #fff; }
.szai-actions > .szai-action:hover { border-color: var(--szai-brand); background: var(--szai-brand); color: #fff; filter: none; }
@media (min-width: 1201px) {
  .szai-actions { width: min(100%,720px); grid-template-columns: repeat(2,minmax(0,1fr)); }
  .szai-actions > .szai-action--lead { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .szai-actions { width: 100%; grid-template-columns: 1fr; }
}

/* 5.3: brand blob launcher, logo avatars and inline AI lead form. */
.szai-brand--sez {
  --szai-blob-gradient: conic-gradient(from 205deg, #ef4b2f, #ff9a32, #f6d85d, #df59d7, #7658f4, #3e8df1, #33c5d7, #ef4b2f);
}
.szai-brand--sebl {
  --szai-brand: #dc3035;
  --szai-blob-gradient: conic-gradient(from 215deg, #c9202d, #f04b3e, #ff9c44, #e05acb, #7356e8, #3f8adf, #c9202d);
}
.szai-launcher {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 16px 27px rgb(52 39 100 / 23%)) drop-shadow(0 5px 11px rgb(236 84 41 / 13%));
  transform-origin: right center;
  transition: width .72s cubic-bezier(.22,.78,.18,1), filter .3s ease;
}
.szai-glow,
.szai-icon,
.szai-stars { display: none !important; }
.szai-orb {
  display: grid;
  overflow: visible;
  place-items: center;
  border-radius: 0;
  background: transparent !important;
  isolation: isolate;
}
.szai-liquid-orb {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: #f36b43;
  box-shadow: inset 10px 11px 23px rgb(255 255 255 / 28%), inset -13px -15px 25px rgb(41 23 82 / 23%), 0 0 0 1px rgb(255 255 255 / 45%);
  --szai-cloud-blur: 12px;
}
.szai-liquid-orb::before {
  position: absolute;
  z-index: 5;
  inset: 5%;
  border-radius: inherit;
  background: radial-gradient(circle at 27% 20%, rgb(255 255 255 / 86%) 0 4%, rgb(255 255 255 / 23%) 12%, transparent 34%), radial-gradient(circle at 72% 78%, rgb(255 255 255 / 12%), transparent 43%);
  content: "";
  pointer-events: none;
}
.szai-liquid-orb::after {
  position: absolute;
  z-index: 6;
  inset: 0;
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}
.szai-liquid-orb__cloud {
  position: absolute;
  z-index: 1;
  display: block;
  border-radius: 50%;
  filter: blur(var(--szai-cloud-blur));
  opacity: .88;
  will-change: transform;
}
.szai-liquid-orb__cloud--a {
  top: -24%;
  left: -22%;
  width: 96%;
  height: 86%;
  background: #ff334f;
  animation: szai-cloud-a 7.4s ease-in-out infinite alternate;
}
.szai-liquid-orb__cloud--b {
  top: 1%;
  right: -31%;
  width: 93%;
  height: 89%;
  background: #7a50ff;
  animation: szai-cloud-b 8.8s ease-in-out -2.1s infinite alternate;
}
.szai-liquid-orb__cloud--c {
  bottom: -29%;
  left: 3%;
  width: 92%;
  height: 76%;
  background: #ffbf37;
  animation: szai-cloud-c 6.9s ease-in-out -1.3s infinite alternate;
}
.szai-liquid-orb__cloud--d {
  right: 8%;
  bottom: 2%;
  width: 66%;
  height: 58%;
  background: #31c7d9;
  opacity: .66;
  animation: szai-cloud-d 9.6s ease-in-out -4s infinite alternate;
}
.szai-blob {
  position: absolute;
  z-index: -1;
  inset: 2px;
  border-radius: 52% 48% 49% 51% / 51% 48% 52% 49%;
  animation: szai-liquid-morph 9s cubic-bezier(.45,.05,.55,.95) infinite;
  transition: inset .68s cubic-bezier(.22,.78,.18,1), border-radius .68s cubic-bezier(.22,.78,.18,1), filter .25s ease, transform .25s ease;
}
.szai-orb__label {
  position: relative;
  z-index: 8;
  color: #fff;
  font: 800 13px/1.15 "Montserrat", var(--szai-font);
  letter-spacing: -.01em;
  opacity: 0;
  text-shadow: 0 1px 7px rgb(55 18 40 / 36%);
  transform: translateX(10px) scale(.96);
  transition: opacity .24s ease .24s, transform .35s ease .2s;
  white-space: nowrap;
}
.szai-orb:hover .szai-blob,
.szai-orb:focus-visible .szai-blob {
  filter: saturate(1.08) brightness(1.04);
  transform: scale(1.045);
}
.szai-launcher.is-nudging {
  width: 286px;
  filter: drop-shadow(0 18px 34px rgb(52 39 100 / 26%));
}
.szai-launcher.is-nudging .szai-blob {
  inset: 2px;
  border-radius: 36px 36px 36px 13px;
  animation: szai-nudge-morph 2.8s ease-in-out infinite alternate;
  transform: none;
}
.szai-launcher.is-nudging .szai-orb__label { opacity: 1; transform: none; }
@keyframes szai-liquid-morph {
  0%,100% { border-radius: 52% 48% 49% 51% / 51% 48% 52% 49%; transform: scale(.985); }
  33% { border-radius: 48% 52% 53% 47% / 49% 54% 46% 51%; transform: scale(1.02); }
  66% { border-radius: 54% 46% 47% 53% / 53% 46% 54% 47%; transform: scale(.995); }
}
@keyframes szai-nudge-morph {
  from { border-radius: 36px 36px 36px 13px; }
  to { border-radius: 34px 38px 32px 18px; }
}
@keyframes szai-cloud-a { to { transform: translate(42%, 34%) scale(1.18) rotate(24deg); } }
@keyframes szai-cloud-b { to { transform: translate(-48%, 27%) scale(.9) rotate(-31deg); } }
@keyframes szai-cloud-c { to { transform: translate(19%, -52%) scale(1.12) rotate(38deg); } }
@keyframes szai-cloud-d { to { transform: translate(-39%, -42%) scale(1.25) rotate(-28deg); } }

.szai-mini {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.szai-mini::before { display: none !important; }
.szai-mini i {
  position: relative;
  display: block;
  overflow: hidden;
  width: 38px;
  height: 38px;
  border: 1px solid rgb(255 255 255 / 44%);
  border-radius: 52% 48% 49% 51% / 51% 48% 52% 49%;
  background: var(--szai-blob-gradient);
  box-shadow: inset 5px 5px 10px rgb(255 255 255 / 22%), inset -6px -7px 11px rgb(43 25 81 / 18%), 0 5px 12px rgb(62 53 112 / 14%);
  animation: szai-liquid-morph 6s ease-in-out infinite;
  --szai-cloud-blur: 6px;
}
.szai-mini i::after {
  position: absolute;
  inset: 7%;
  border-radius: inherit;
  background: radial-gradient(circle at 28% 20%, rgb(255 255 255 / 78%) 0 5%, rgb(255 255 255 / 18%) 16%, transparent 38%);
  content: "";
}

.szai-body--welcome {
  justify-content: center;
  gap: 18px;
  overflow: hidden;
  padding-block: 28px 22px;
}
.szai-welcome {
  display: grid;
  width: 100%;
  max-width: none;
  justify-items: center;
  padding: 0;
  text-align: center;
}
.szai-welcome-orb {
  width: 162px;
  height: 162px;
  margin-bottom: 23px;
  border-radius: 54% 46% 49% 51% / 50% 47% 53% 50%;
  --szai-cloud-blur: 25px;
  animation: szai-liquid-morph 10.5s cubic-bezier(.45,.05,.55,.95) infinite;
}
.szai-body--welcome .szai-welcome h3 { margin-bottom: 7px; font-size: 27px; }
.szai-body--welcome .szai-welcome p { font-size: 12px; }

.szai-start-marquee {
  display: grid;
  width: calc(100% + 44px);
  gap: 7px;
  overflow: hidden;
  margin-inline: -22px;
  padding: 2px 0 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.szai-start-row { width: 100%; overflow: hidden; }
.szai-start-track { display: flex; width: max-content; will-change: transform; }
.szai-start-group { display: flex; flex: 0 0 auto; gap: 7px; padding-right: 7px; }
.szai-start-row--left .szai-start-track { animation: szai-start-left 28s linear infinite; }
.szai-start-row--right .szai-start-track { animation: szai-start-right 31s linear infinite; }
.szai-start-row:hover .szai-start-track,
.szai-start-row:focus-within .szai-start-track { animation-play-state: paused; }
.szai-start-message {
  min-height: 33px;
  padding: 7px 11px;
  border: 1px solid #d8dde1;
  border-radius: 13px 13px 13px 3px;
  background: #fff;
  color: var(--szai-ink);
  cursor: pointer;
  font: 650 10px/1.15 var(--szai-font);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgb(32 37 43 / 5%);
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.szai-start-row--right .szai-start-message { border-radius: 13px 13px 3px 13px; }
.szai-start-message:hover,
.szai-start-message:focus-visible { border-color: var(--szai-brand); background: var(--szai-brand); color: #fff; outline: none; }
@keyframes szai-start-left { to { transform: translateX(-50%); } }
@keyframes szai-start-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

@media (max-width: 600px) {
  .szai-start-marquee { width: calc(100% + 18px); margin-inline: -9px; gap: 6px; padding-bottom: 6px; }
  .szai-start-group { gap: 6px; padding-right: 6px; }
  .szai-start-message { min-height: 29px; padding: 6px 9px; border-radius: 11px 11px 11px 3px; font-size: 9px; }
  .szai-start-row--right .szai-start-message { border-radius: 11px 11px 3px 11px; }
}
.szai-bot::before {
  border: 1px solid var(--szai-line);
  border-radius: 50%;
  background: #fff var(--szai-logo-image) center / 82% auto no-repeat;
  color: transparent;
  content: "";
  animation: none;
}

.szai-card__corner,
.szai-action > i { display: none !important; }
.szai-card:hover .szai-card__corner { opacity: 0 !important; }
.szai-actions > .szai-action--lead,
.szai-inline-lead__submit { border-radius: 0 !important; }

.szai-inline-lead {
  display: grid;
  width: 100%;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--szai-line);
  background: #fff;
  color: var(--szai-ink);
  animation: szai-section-in .35s ease both;
}
.szai-inline-lead__head { display: grid; gap: 3px; }
.szai-inline-lead__head strong { font: 800 16px/1.2 "Montserrat", var(--szai-font); }
.szai-inline-lead__head span { color: var(--szai-muted); font-size: 10px; }
.szai-inline-lead__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.szai-inline-lead label { display: grid; gap: 5px; color: var(--szai-muted); font-size: 9px; font-weight: 700; }
.szai-inline-lead :is(input,select,textarea) {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--szai-line);
  border-radius: 0;
  outline: 0;
  background: #fff;
  color: var(--szai-ink);
  font: 12px/1.4 var(--szai-font);
}
.szai-inline-lead :is(input,select) { min-height: 40px; padding: 9px 10px; }
.szai-inline-lead textarea { min-height: 84px; resize: vertical; padding: 10px; }
.szai-inline-lead :is(input,select,textarea):focus { border-color: var(--szai-brand); }
.szai-inline-lead__consent { display: flex !important; align-items: center; gap: 7px !important; font-weight: 500 !important; }
.szai-inline-lead__consent input { width: 16px; min-height: 16px; flex: 0 0 16px; accent-color: var(--szai-brand); }
.szai-inline-lead__submit {
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--szai-brand);
  background: var(--szai-brand);
  color: #fff;
  cursor: pointer;
  font: 800 11px/1 var(--szai-font);
  text-transform: uppercase;
}
.szai-inline-lead__submit:hover { background: var(--szai-ink); border-color: var(--szai-ink); }
.szai-inline-lead__submit:disabled { cursor: wait; opacity: .65; }
.szai-inline-lead__status { min-height: 14px; color: #b42318; font-size: 10px; }
.szai-inline-lead__success { display: grid; gap: 8px; }
.szai-inline-lead__success strong { color: #16844b; font: 800 16px/1.2 "Montserrat",var(--szai-font); }
.szai-inline-lead__success p { margin: 0; color: var(--szai-muted); font-size: 11px; }
.szai-inline-lead__success a { color: var(--szai-brand); font-size: 11px; font-weight: 800; }

@media (max-width: 600px) {
  .szai-launcher { width: 58px; height: 58px; }
  .szai-body--welcome { gap: 14px; padding-block: 20px 16px; }
  .szai-welcome-orb { width: 132px; height: 132px; margin-bottom: 18px; --szai-cloud-blur: 20px; }
  .szai-body--welcome .szai-welcome h3 { font-size: 24px; }
  .szai-mini i { width: 30px; height: 30px; }
  .szai-inline-lead { gap: 9px; padding: 11px; }
  .szai-inline-lead__grid { grid-template-columns: 1fr; gap: 7px; }
  .szai-inline-lead :is(input,select,textarea) { font-size: 16px; }
  .szai-inline-lead :is(input,select) { min-height: 38px; padding: 7px 8px; }
  .szai-inline-lead textarea { min-height: 72px; padding: 8px; }
}

@media (max-height: 650px) {
  .szai-body--welcome { gap: 10px; padding-block: 12px; }
  .szai-welcome-orb { width: 96px; height: 96px; margin-bottom: 10px; --szai-cloud-blur: 14px; }
  .szai-body--welcome .szai-welcome h3 { font-size: 21px; }
  .szai-body--welcome .szai-welcome p { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .szai-blob,
  .szai-mini i,
  .szai-welcome-orb,
  .szai-liquid-orb__cloud,
  .szai-start-track { animation: none !important; }
  .szai-start-row {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .szai-start-row::-webkit-scrollbar { display: none; }
}
