.sw-chat {
    --sw-blue: #4287f5;
    --sw-blue-dark: #2f70df;
    --sw-navy: #111b31;
    --sw-navy-soft: #1a2947;
    --sw-ink: #0a1425;
    --sw-muted: #667085;
    --sw-warm: #f8f7f4;
    --sw-line: #e8e5df;
    --sw-mint: #79eeb6;
    --sw-red: #c7250e;
    --sw-safe-bottom: env(safe-area-inset-bottom, 0px);
    --sw-launcher-bottom: 0px;
    color: var(--sw-ink);
    font-family: "Manrope", "Inter", "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.45;
    position: relative;
    z-index: 2147482000;
}

.sw-chat[data-runtime-state="checking"],
.sw-chat[data-runtime-state="off"] {
    display: none;
}

.sw-chat *,
.sw-chat *::before,
.sw-chat *::after {
    box-sizing: border-box;
}

.sw-chat [hidden] {
    display: none !important;
}

.sw-chat button,
.sw-chat textarea,
.sw-chat input {
    font: inherit;
}

.sw-chat button {
    -webkit-tap-highlight-color: transparent;
}

.sw-systemowiec-mark {
    display: block;
    height: 100%;
    object-fit: contain;
    overflow: visible;
    width: 100%;
}

.sw-chat__launcher {
    align-items: center;
    background: var(--sw-navy);
    border: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    bottom: calc(var(--sw-launcher-bottom) + var(--sw-safe-bottom));
    box-shadow: 0 18px 45px rgba(17, 27, 49, .24);
    color: #fff;
    cursor: pointer;
    display: flex;
    gap: 9px;
    min-height: 58px;
    padding: 8px 11px 8px 9px;
    position: fixed;
    right: 20px;
    transition: background-color .2s ease, box-shadow .2s ease, transform .25s ease;
}

.sw-chat__launcher:hover {
    background: var(--sw-navy-soft);
    box-shadow: 0 20px 52px rgba(17, 27, 49, .34);
    transform: translateY(-3px);
}

.sw-chat__launcher:focus-visible,
.sw-chat__teaser button:focus-visible,
.sw-chat__panel button:focus-visible,
.sw-chat__panel a:focus-visible,
.sw-chat__panel textarea:focus-visible,
.sw-chat__panel input:focus-visible {
    outline: 3px solid rgba(66, 135, 245, .42);
    outline-offset: 3px;
}

.sw-chat__launcher-mark {
    align-items: center;
    background: #fff;
    border-radius: 13px;
    display: flex;
    height: 40px;
    justify-content: center;
    padding: 4px;
    width: 40px;
}

.sw-chat__launcher-label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
}

.sw-chat__launcher-arrow {
    align-items: center;
    background: rgba(255, 255, 255, .09);
    border-radius: 50%;
    display: flex;
    height: 28px;
    justify-content: center;
    margin-left: 2px;
    transition: background-color .2s ease, transform .25s ease;
    width: 28px;
}

.sw-chat__launcher:hover .sw-chat__launcher-arrow {
    background: rgba(255, 255, 255, .15);
    transform: translateY(-2px);
}

.sw-chat__launcher-arrow svg {
    fill: none;
    height: 16px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 16px;
}

.sw-chat__launcher-status {
    background: var(--sw-mint);
    border: 3px solid var(--sw-navy);
    border-radius: 50%;
    height: 11px;
    position: absolute;
    right: 7px;
    top: 6px;
    width: 11px;
}

.sw-chat__teaser {
    align-items: center;
    animation: sw-teaser-in .44s cubic-bezier(.22, 1, .36, 1) both;
    background: #fff;
    border: 1px solid rgba(17, 27, 49, .1);
    border-radius: 20px;
    bottom: calc(var(--sw-launcher-bottom) + 78px + var(--sw-safe-bottom));
    box-shadow: 0 22px 60px rgba(17, 27, 49, .19);
    display: flex;
    max-width: calc(100vw - 32px);
    padding: 6px;
    position: fixed;
    right: 20px;
    width: 300px;
}

.sw-chat__teaser::after {
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 10px solid #fff;
    bottom: -9px;
    content: "";
    position: absolute;
    right: 29px;
}

.sw-chat__teaser-main {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--sw-ink);
    cursor: pointer;
    display: flex;
    flex: 1;
    gap: 12px;
    min-width: 0;
    padding: 7px;
    text-align: left;
}

.sw-chat__teaser-avatar {
    align-items: center;
    background: #f5f7fb;
    border-radius: 14px;
    display: flex;
    flex: 0 0 46px;
    height: 46px;
    justify-content: center;
    padding: 5px;
}

.sw-chat__teaser-main strong,
.sw-chat__teaser-main small {
    display: block;
}

.sw-chat__teaser-main strong {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.sw-chat__teaser-main small {
    color: var(--sw-muted);
    font-size: 11px;
    margin-top: 3px;
}

.sw-chat__teaser-close,
.sw-chat__end {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
}

.sw-chat__teaser-close {
    align-self: flex-start;
    color: #89909e;
    height: 32px;
    margin: 2px 2px 0 0;
    width: 32px;
}

.sw-chat__teaser-close:hover {
    background: #f2f4f7;
    color: var(--sw-ink);
}

.sw-chat__teaser-close svg,
.sw-chat__end svg {
    fill: none;
    height: 17px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
    width: 17px;
}

.sw-chat__panel {
    background: #fff;
    border: 1px solid rgba(17, 27, 49, .1);
    border-bottom: 0;
    border-radius: 26px 26px 0 0;
    bottom: var(--sw-safe-bottom);
    box-shadow: 0 35px 90px rgba(17, 27, 49, .27);
    display: flex;
    flex-direction: column;
    height: min(690px, calc(100dvh - 40px - var(--sw-safe-bottom)));
    max-height: 840px;
    overflow: hidden;
    position: fixed;
    right: 20px;
    transform-origin: right bottom;
    width: min(420px, calc(100vw - 40px));
}

.sw-chat__panel.is-opening {
    animation: sw-panel-in .38s cubic-bezier(.22, 1, .36, 1) both;
}

.sw-chat__mobile-handle {
    display: none;
}

.sw-chat__header {
    align-items: center;
    background:
        radial-gradient(circle at 82% 15%, rgba(66, 135, 245, .28), transparent 38%),
        var(--sw-navy);
    color: #fff;
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
    min-height: 86px;
    padding: 15px 16px 15px 18px;
}

.sw-chat__header-avatar {
    align-items: center;
    background: #fff;
    border-radius: 16px;
    display: flex;
    flex: 0 0 51px;
    height: 51px;
    justify-content: center;
    padding: 5px;
}

.sw-chat__identity {
    display: block;
    min-width: 0;
}

.sw-chat__identity strong,
.sw-chat__identity small {
    display: block;
}

.sw-chat__identity strong {
    font-size: 17px;
    font-weight: 850;
    letter-spacing: -.02em;
}

.sw-chat__identity small {
    align-items: center;
    color: #c6d0e2;
    display: flex;
    font-size: 11px;
    gap: 7px;
    margin-top: 3px;
}

.sw-chat__identity small i {
    background: var(--sw-mint);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(121, 238, 182, .1);
    height: 7px;
    width: 7px;
}

.sw-chat__end {
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    height: 40px;
    margin-left: auto;
    width: 40px;
}

.sw-chat__end:hover {
    background: rgba(255, 255, 255, .1);
}

.sw-chat__conversation {
    background:
        linear-gradient(180deg, rgba(234, 242, 255, .5), transparent 180px),
        var(--sw-warm);
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 22px 18px 18px;
    scrollbar-color: #c8d4e6 transparent;
    scrollbar-width: thin;
}

.sw-chat__welcome {
    padding: 2px 2px 8px;
}

.sw-chat__eyebrow {
    color: var(--sw-blue-dark) !important;
    font-size: 10px !important;
    font-weight: 850 !important;
    letter-spacing: .16em !important;
    margin: 0 0 7px !important;
    text-transform: uppercase;
}

.sw-chat__welcome h2 {
    color: var(--sw-ink);
    font-size: 23px;
    font-weight: 850;
    letter-spacing: -.045em;
    line-height: 1.12;
    margin: 0 0 10px;
}

.sw-chat__welcome > p:not(.sw-chat__eyebrow) {
    color: #596477;
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
}

.sw-chat__quick-start {
    display: grid;
    gap: 8px;
    margin-top: 20px;
}

.sw-chat__quick-start button {
    align-items: center;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    color: var(--sw-ink);
    cursor: pointer;
    display: flex;
    font-size: 12px;
    font-weight: 750;
    gap: 10px;
    min-height: 45px;
    padding: 9px 12px;
    text-align: left;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sw-chat__quick-start button:hover {
    border-color: #aacaff;
    box-shadow: 0 9px 20px rgba(66, 135, 245, .1);
    transform: translateY(-1px);
}

.sw-chat__quick-start svg {
    fill: none;
    flex: 0 0 20px;
    height: 20px;
    stroke: var(--sw-blue);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    width: 20px;
}

.sw-chat__messages {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.sw-chat__message {
    display: flex;
    flex-direction: column;
    max-width: 88%;
}

.sw-chat__message--assistant {
    align-self: flex-start;
}

.sw-chat__message--user {
    align-items: flex-end;
    align-self: flex-end;
}

.sw-chat__message--wide {
    max-width: 100%;
    width: 100%;
}

.sw-chat__bubble {
    border-radius: 17px;
    font-size: 13px;
    line-height: 1.55;
    overflow-wrap: anywhere;
    padding: 11px 13px;
}

.sw-chat__message--assistant .sw-chat__bubble {
    background: #fff;
    border: 1px solid #e5e8ed;
    border-bottom-left-radius: 5px;
    box-shadow: 0 7px 20px rgba(17, 27, 49, .06);
    color: #273247;
    white-space: normal;
}

.sw-chat__message--user .sw-chat__bubble {
    background: var(--sw-blue);
    border-bottom-right-radius: 5px;
    color: #fff;
    white-space: pre-wrap;
}

.sw-chat__stream-cursor {
    animation: sw-stream-cursor .85s infinite steps(1, end);
    background: var(--sw-blue);
    border-radius: 2px;
    display: inline-block;
    height: 1.05em;
    margin-left: 3px;
    opacity: .9;
    vertical-align: -.15em;
    width: 2px;
}

.sw-chat__markdown > :first-child {
    margin-top: 0;
}

.sw-chat__markdown > :last-child {
    margin-bottom: 0;
}

.sw-chat__markdown p {
    margin: 0 0 9px;
}

.sw-chat__markdown h3,
.sw-chat__markdown h4,
.sw-chat__markdown h5,
.sw-chat__markdown h6 {
    color: var(--sw-ink);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: -.01em;
    line-height: 1.35;
    margin: 13px 0 6px;
}

.sw-chat__markdown strong {
    color: var(--sw-ink);
    font-weight: 850;
}

.sw-chat__markdown a {
    color: #266aca;
    font-weight: 750;
    text-decoration: underline;
    text-decoration-color: rgba(38, 106, 202, .35);
    text-underline-offset: 2px;
}

.sw-chat__markdown code {
    background: #eef4fd;
    border: 1px solid #dce8f8;
    border-radius: 5px;
    color: #1f579e;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .88em;
    padding: 1px 4px;
}

.sw-chat__markdown ul,
.sw-chat__markdown ol {
    display: grid;
    gap: 5px;
    margin: 6px 0 10px;
    padding-left: 20px;
}

.sw-chat__markdown li {
    padding-left: 2px;
}

.sw-chat__markdown li::marker {
    color: var(--sw-blue);
    font-weight: 850;
}

.sw-chat__markdown blockquote {
    background: #f3f7fd;
    border-left: 3px solid var(--sw-blue);
    border-radius: 0 9px 9px 0;
    color: #526177;
    margin: 9px 0;
    padding: 8px 10px;
}

.sw-chat__markdown-table-wrap {
    border: 1px solid #dfe6ef;
    border-radius: 12px;
    margin: 9px 0 11px;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-color: #b7c7dc transparent;
    scrollbar-width: thin;
}

.sw-chat__markdown table {
    border-collapse: collapse;
    font-size: 10px;
    line-height: 1.4;
    min-width: 100%;
    width: max-content;
}

.sw-chat__markdown th,
.sw-chat__markdown td {
    border-bottom: 1px solid #e7ebf1;
    max-width: 210px;
    min-width: 112px;
    padding: 8px 9px;
    text-align: left;
    vertical-align: top;
}

.sw-chat__markdown th {
    background: #eef4fd;
    color: #234c83;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.sw-chat__markdown tbody tr:nth-child(even) td {
    background: #fafbfd;
}

.sw-chat__markdown tr:last-child td {
    border-bottom: 0;
}

.sw-chat__message-meta {
    color: #8a94a4;
    font-size: 9px;
    margin: 5px 4px 0;
}

.sw-chat__grounding-note {
    align-items: flex-start;
    background: #fff7e8;
    border: 1px solid #f3ddb5;
    border-radius: 12px;
    color: #7b5a1f;
    display: flex;
    font-size: 10px;
    gap: 7px;
    line-height: 1.45;
    margin-top: 8px;
    padding: 8px 9px;
}

.sw-chat__grounding-note svg {
    fill: none;
    flex: 0 0 15px;
    height: 15px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 15px;
}

.sw-chat__citations {
    margin-top: 7px;
}

.sw-chat__citations summary {
    color: var(--sw-blue-dark);
    cursor: pointer;
    font-size: 10px;
    font-weight: 750;
}

.sw-chat__citations ul {
    color: var(--sw-muted);
    font-size: 10px;
    margin: 7px 0 0;
    padding-left: 17px;
}

.sw-chat__typing {
    align-items: center;
    background: #fff;
    border: 1px solid #e5e8ed;
    border-radius: 15px 15px 15px 5px;
    display: flex;
    gap: 9px;
    margin-top: 13px;
    min-height: 42px;
    padding: 11px 15px;
    width: max-content;
}

.sw-chat__typing-text {
    color: #5f6c7e;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}

.sw-chat__typing-dots {
    align-items: center;
    display: inline-flex;
    gap: 3px;
}

.sw-chat__typing-dots span {
    animation: sw-thinking-dot 1.15s infinite ease-in-out;
    background: var(--sw-blue);
    border-radius: 50%;
    height: 4px;
    opacity: .35;
    width: 4px;
}

.sw-chat__typing-dots span:nth-child(2) {
    animation-delay: .14s;
}

.sw-chat__typing-dots span:nth-child(3) {
    animation-delay: .28s;
}

.sw-chat__blocks {
    display: grid;
    gap: 9px;
    margin-top: 9px;
}

.sw-chat__product-card {
    align-items: center;
    background: #fff;
    border: 1px solid #e1e6ee;
    border-radius: 16px;
    color: inherit;
    display: grid;
    gap: 11px;
    grid-template-columns: 72px minmax(0, 1fr) 30px;
    padding: 9px;
    text-decoration: none !important;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sw-chat__product-card--static {
    grid-template-columns: 72px minmax(0, 1fr);
}

.sw-chat__product-card:hover {
    border-color: #9fc2fb;
    box-shadow: 0 12px 25px rgba(66, 135, 245, .12);
    color: inherit;
    transform: translateY(-1px);
}

.sw-chat__product-media {
    align-items: center;
    background: #fff;
    border: 1px solid #ece9e3;
    border-radius: 12px;
    display: flex;
    height: 72px;
    justify-content: center;
    overflow: hidden;
    padding: 6px;
}

.sw-chat__product-media img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.sw-chat__product-media--empty {
    background:
        radial-gradient(circle at 24% 20%, rgba(66, 135, 245, .18), transparent 42%),
        linear-gradient(145deg, #f7faff, #eef4fd);
    border-color: #dbe7f7;
}

.sw-chat__product-media svg {
    fill: none;
    height: 30px;
    stroke: var(--sw-blue);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
    width: 28px;
}

.sw-chat__product-copy {
    min-width: 0;
}

.sw-chat__product-copy > small,
.sw-chat__product-copy > strong,
.sw-chat__product-copy > span {
    display: block;
}

.sw-chat__product-copy > small {
    color: var(--sw-blue-dark);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.sw-chat__product-copy > strong {
    color: var(--sw-ink);
    font-size: 11.5px;
    line-height: 1.32;
    margin-top: 3px;
}

.sw-chat__product-details {
    align-items: center;
    display: flex !important;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 4px;
}

.sw-chat__product-price {
    color: var(--sw-ink);
    font-size: 11px;
    font-weight: 850;
}

.sw-chat__product-availability {
    align-items: center;
    background: #f1f5fa;
    border-radius: 999px;
    color: #5f6c7e;
    display: inline-flex !important;
    font-size: 8px;
    font-weight: 750;
    line-height: 1.2;
    padding: 4px 7px;
}

.sw-chat__product-availability::before {
    background: currentColor;
    border-radius: 50%;
    content: "";
    height: 5px;
    margin-right: 5px;
    width: 5px;
}

.sw-chat__product-availability.is-available {
    background: #e9f8ef;
    color: #218254;
}

.sw-chat__product-availability.is-order {
    background: #fff5e5;
    color: #9b6718;
}

.sw-chat__product-cta {
    color: #266aca;
    font-size: 9px;
    font-weight: 850;
    margin-top: 6px;
}

.sw-chat__product-arrow {
    align-items: center;
    background: #e9f2ff;
    border-radius: 10px;
    color: var(--sw-blue);
    display: flex;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.sw-chat__product-arrow svg,
.sw-chat__block-link svg {
    fill: none;
    height: 14px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 14px;
}

.sw-chat__reply-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sw-chat__reply-list button {
    background: #fff;
    border: 1px solid #b8d2fb;
    border-radius: 999px;
    color: #265eae;
    cursor: pointer;
    font-size: 10px;
    font-weight: 750;
    padding: 7px 10px;
}

.sw-chat__reply-list button:hover {
    background: #eaf2ff;
}

.sw-chat__block-link {
    align-items: center;
    background: var(--sw-navy);
    border-radius: 13px;
    color: #fff !important;
    display: flex;
    font-size: 11px;
    font-weight: 800;
    justify-content: space-between;
    min-height: 43px;
    padding: 10px 12px;
    text-decoration: none !important;
}

.sw-chat__contact-card {
    background: #fff;
    border: 1px solid #dfe5ee;
    border-radius: 16px;
    padding: 12px;
}

.sw-chat__contact-card strong,
.sw-chat__contact-card small {
    display: block;
}

.sw-chat__contact-card strong {
    color: var(--sw-ink);
    font-size: 12px;
}

.sw-chat__contact-card small {
    color: var(--sw-muted);
    font-size: 9px;
    line-height: 1.5;
    margin-top: 3px;
}

.sw-chat__contact-fields {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.sw-chat__contact-fields input {
    background: #f9fafb;
    border: 1px solid #dfe3e8;
    border-radius: 11px;
    color: var(--sw-ink);
    flex: 1;
    font-size: 11px;
    min-width: 0;
    outline: 0;
    padding: 9px 10px;
}

.sw-chat__contact-fields input:focus {
    border-color: var(--sw-blue);
    box-shadow: 0 0 0 3px rgba(66, 135, 245, .12);
}

.sw-chat__contact-fields button {
    background: var(--sw-blue);
    border: 0;
    border-radius: 11px;
    color: #fff;
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
    padding: 9px 11px;
}

.sw-chat__confirmation {
    align-items: flex-start;
    background: #ecfbf3;
    border: 1px solid #bcecd2;
    border-radius: 15px;
    color: #1b6846;
    display: flex;
    font-size: 11px;
    gap: 9px;
    line-height: 1.45;
    padding: 11px;
}

.sw-chat__confirmation svg {
    fill: none;
    flex: 0 0 20px;
    height: 20px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 20px;
}

.sw-chat__composer {
    background: #fff;
    border-top: 1px solid var(--sw-line);
    flex: 0 0 auto;
    margin: 0;
    padding: 12px 14px calc(10px + var(--sw-safe-bottom));
}

.sw-chat__composer-row {
    align-items: flex-end;
    background: #f7f8fa;
    border: 1px solid #dfe3e8;
    border-radius: 17px;
    display: flex;
    min-height: 50px;
    padding: 4px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.sw-chat__composer-row:focus-within {
    border-color: var(--sw-blue);
    box-shadow: 0 0 0 4px rgba(66, 135, 245, .1);
}

.sw-chat__upload,
.sw-chat__send {
    align-items: center;
    border: 0;
    border-radius: 13px;
    display: flex;
    flex: 0 0 40px;
    height: 40px;
    justify-content: center;
}

.sw-chat__upload {
    background: transparent;
    color: #b2b8c2;
    cursor: not-allowed;
}

.sw-chat__send {
    background: var(--sw-blue);
    box-shadow: 0 8px 18px rgba(66, 135, 245, .24);
    color: #fff;
    cursor: pointer;
    transition: background-color .18s ease, transform .18s ease;
}

.sw-chat__send:hover {
    background: var(--sw-blue-dark);
    transform: translateY(-1px);
}

.sw-chat__send:disabled {
    background: #afc8ef;
    box-shadow: none;
    cursor: default;
    transform: none;
}

.sw-chat__upload svg,
.sw-chat__send svg {
    fill: none;
    height: 19px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 19px;
}

.sw-chat__composer textarea {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--sw-ink);
    flex: 1;
    font-size: 12px;
    line-height: 1.4;
    max-height: 96px;
    min-height: 40px;
    outline: 0;
    overflow-y: auto;
    padding: 11px 6px 8px;
    resize: none;
    width: 100%;
}

.sw-chat__composer textarea::placeholder {
    color: #8a93a0;
    opacity: 1;
}

.sw-chat__composer > p {
    align-items: center;
    color: #8992a0;
    display: flex;
    font-size: 8px;
    gap: 5px;
    justify-content: center;
    line-height: 1.35;
    margin: 7px 0 0;
    text-align: center;
}

.sw-chat__composer > p svg {
    fill: none;
    flex: 0 0 12px;
    height: 12px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 12px;
}

body.sw-chat-is-open {
    overflow: auto;
}

@keyframes sw-panel-in {
    from {
        opacity: 0;
        transform: translateY(32px) scale(.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes sw-teaser-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes sw-thinking-dot {
    0%, 60%, 100% {
        opacity: .3;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

@keyframes sw-stream-cursor {
    0%, 48% {
        opacity: .95;
    }
    49%, 100% {
        opacity: .18;
    }
}

@media (min-width: 768px) {
    body.has-systemowiec-chat #scroll-top {
        bottom: calc(78px + env(safe-area-inset-bottom, 0px));
        border-radius: 14px;
        right: 24px;
    }
}

@media (max-width: 991px) {
    .sw-chat__panel {
        height: min(680px, calc(100dvh - 28px - var(--sw-safe-bottom)));
        right: 14px;
        width: min(390px, calc(100vw - 28px));
    }
}

@media (max-width: 767px) {
    .sw-chat__launcher {
        border-radius: 17px 17px 0 0;
        bottom: var(--sw-safe-bottom);
        left: auto;
        min-height: 54px;
        padding: 7px 9px 7px 8px;
        right: 12px;
    }

    .sw-chat__launcher:hover {
        transform: none;
    }

    .sw-chat__launcher-mark {
        border-radius: 12px;
        height: 38px;
        width: 38px;
    }

    .sw-chat__teaser {
        bottom: calc(72px + var(--sw-safe-bottom));
        left: auto;
        right: 12px;
        width: min(306px, calc(100vw - 28px));
    }

    .sw-chat__teaser::after {
        left: auto;
        right: 29px;
    }

    body.has-systemowiec-chat #scroll-top {
        bottom: calc(70px + env(safe-area-inset-bottom, 0px));
        right: 16px;
        top: auto;
    }

    .sw-chat__panel {
        border-bottom: 0;
        border-radius: 27px 27px 0 0;
        bottom: 0;
        height: min(76dvh, 720px);
        left: 0;
        max-height: calc(100dvh - 12px);
        right: 0;
        transform-origin: center bottom;
        width: auto;
    }

    .sw-chat__panel.is-opening {
        animation-name: sw-panel-mobile-in;
    }

    .sw-chat__mobile-handle {
        background: var(--sw-navy);
        display: block;
        height: 14px;
        left: 0;
        position: absolute;
        right: 0;
        top: 0;
        z-index: 2;
    }

    .sw-chat__mobile-handle::after {
        background: rgba(255, 255, 255, .52);
        border-radius: 999px;
        content: "";
        height: 4px;
        left: 50%;
        position: absolute;
        top: 7px;
        transform: translateX(-50%);
        width: 40px;
    }

    .sw-chat__header {
        min-height: 81px;
        padding: 20px 14px 12px;
    }

    .sw-chat__header-avatar {
        border-radius: 14px;
        flex-basis: 46px;
        height: 46px;
    }

    .sw-chat__conversation {
        padding: 18px 15px 14px;
    }

    .sw-chat__welcome h2 {
        font-size: 21px;
    }

    .sw-chat__composer {
        padding: 10px 11px calc(8px + var(--sw-safe-bottom));
    }

    body.sw-chat-is-open {
        overflow: hidden;
    }
}

@media (max-width: 389px) {
    .sw-chat__quick-start {
        display: flex;
        margin-left: -2px;
        margin-right: -2px;
        overflow-x: auto;
        padding: 2px 2px 8px;
        scroll-snap-type: x proximity;
    }

    .sw-chat__quick-start button {
        flex: 0 0 auto;
        scroll-snap-align: start;
        white-space: nowrap;
    }

    .sw-chat__contact-fields {
        flex-direction: column;
    }
}

@keyframes sw-panel-mobile-in {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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