.jl-as { --as-green: #00873e; --as-dark: #1f2a33; --as-border: #dde3df; --as-surface: #f6f8f6; font-family: "Nunito Sans", "Segoe UI", Arial, sans-serif; color: #333f48; font-size: 14px; line-height: 1.5; }
.jl-as__fab { position: fixed; right: 16px; bottom: 16px; z-index: 900; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border: 0; border-radius: 999px; background: var(--as-green); color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 10px 24px rgba(0, 135, 62, .35); transition: transform .15s, background .15s; }
.jl-as__fab:hover { background: #026531; transform: translateY(-1px); }
.jl-as.is-open .jl-as__fab { display: none; }
.jl-as__panel { position: fixed; right: 16px; bottom: 16px; z-index: 901; width: 420px; max-width: calc(100vw - 32px); height: 640px; max-height: calc(100vh - 32px); background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(31, 42, 51, .22); display: flex; flex-direction: column; overflow: hidden; }
.jl-as__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--as-green); color: #fff; }
.jl-as__avatar { width: 40px; height: 40px; border-radius: 999px; background: #fff; color: var(--as-green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.jl-as__titles { flex: 1; min-width: 0; }
.jl-as__title { font-weight: 800; font-size: 16px; }
.jl-as__sub { font-size: 12px; opacity: .9; display: flex; align-items: center; gap: 6px; }
.jl-as__dot { width: 8px; height: 8px; border-radius: 999px; background: #ffda6a; display: inline-block; }
.jl-as__lang { background: rgba(255, 255, 255, .18); color: #fff; border: 0; border-radius: 999px; padding: 4px 8px; font: inherit; font-weight: 700; font-size: 12px; }
.jl-as__lang option { color: #333; }
.jl-as__close { background: none; border: 0; color: #fff; width: 36px; height: 36px; border-radius: 999px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.jl-as__close:hover { background: rgba(255, 255, 255, .15); }
.jl-as__body { flex: 1; overflow-y: auto; padding: 16px; background: var(--as-surface); display: flex; flex-direction: column; gap: 10px; }
.jl-as__spacer { flex: 0 0 auto; height: 0; pointer-events: none; }
.jl-as__msg { max-width: 85%; padding: 11px 14px; border-radius: 12px; font-size: 14px; }
.jl-as__msg p { margin: 0 0 8px; } .jl-as__msg p:last-child { margin: 0; }
.jl-as__msg ul, .jl-as__msg ol { margin: 4px 0 8px; padding-left: 20px; } .jl-as__msg li { margin-bottom: 3px; }
.jl-as__msg--bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(31, 42, 51, .06); }
.jl-as__msg--user { align-self: flex-end; background: var(--as-dark); color: #fff; border-bottom-right-radius: 4px; }
.jl-as__msg a { color: var(--as-green); text-decoration: underline; }
.jl-as__thinking { color: #8a939c; animation: jl-as-pulse 1.2s infinite; }
@keyframes jl-as-pulse { 50% { opacity: .4; } }
.jl-as__sources { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--as-border); font-size: 12px; color: #6b7580; }
.jl-as__sources a { color: #6b7580; text-decoration: none; border-bottom: 1px solid #c5ccd2; }
.jl-as__sources a:hover { color: var(--as-green); }
.jl-as__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.jl-as__chip { background: #fff; border: 1px solid var(--as-border); border-radius: 999px; padding: 7px 11px; font: inherit; font-size: 12px; font-weight: 700; color: var(--as-dark); cursor: pointer; }
.jl-as__chip:hover { border-color: var(--as-green); color: var(--as-green); }
.jl-as__cb { align-self: flex-start; max-width: 92%; background: #fff8dd; border: 1px solid #ffda6a; border-radius: 12px; padding: 12px 14px; font-size: 13px; }
.jl-as__cb p { margin: 0 0 10px; }
.jl-as__cb form { display: flex; gap: 8px; }
.jl-as__cb input[type=tel] { flex: 1; min-width: 0; border: 1px solid var(--as-border); border-radius: 6px; padding: 9px 12px; font: inherit; }
.jl-as__cb-btn { background: var(--as-green); color: #fff; border: 0; border-radius: 6px; padding: 9px 14px; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.jl-as__cb-consent { display: flex; gap: 6px; align-items: flex-start; font-size: 11px; color: #6b7580; margin-top: 8px; cursor: pointer; }
.jl-as__cb-consent a { color: inherit; }
.jl-as__cb-ok { color: #026531; font-weight: 700; margin: 0 !important; }
.jl-as__form { display: flex; gap: 8px; padding: 12px 14px 8px; border-top: 1px solid #e6e9e7; background: #fff; }
.jl-as__input { flex: 1; min-width: 0; border: 1px solid var(--as-border); border-radius: 8px; padding: 12px 14px; font: inherit; font-size: 14px; }
.jl-as__input:focus { outline: 2px solid var(--as-green); border-color: var(--as-green); }
.jl-as__send { width: 44px; height: 44px; border: 0; border-radius: 8px; background: var(--as-green); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.jl-as__send:disabled { opacity: .5; cursor: default; }
.jl-as__foot { padding: 0 14px 12px; font-size: 11px; color: #8a939c; line-height: 1.4; background: #fff; }
.jl-as__foot a { color: #6b7580; }
.jl-as__reset { background: none; border: 0; padding: 0; font: inherit; font-size: 11px; color: var(--as-green); cursor: pointer; text-decoration: underline; }
@media (max-width: 600px) {
	.jl-as__panel { right: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
	.jl-as__fab span { display: none; }
	.jl-as__fab { padding: 14px; }
}
