.ux-preview {display:grid;grid-template-columns:1fr 1.08fr;gap:28px;align-items:start;margin-bottom:36px;color:#11192a}
.ux-preview[hidden], .ux-preview [hidden], .case-card[hidden] {display:none!important}
.ux-preview h2 {font-size:clamp(21px,2.4vw,29px);font-weight:700;line-height:1.12;margin:0 0 8px}
.ux-preview p {margin:0;color:#475569;line-height:1.45}
.ux-fields {display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:19px}
.ux-preview label {display:block;font-weight:600;font-size:14px;margin-bottom:5px}
.ux-preview select,.ux-preview textarea {width:100%;border:1px solid #d0d4db;background:#fff;color:#11192a;border-radius:10px;padding:10px 12px;font:inherit}
.ux-select {position:relative}
.ux-select::after {content:"";position:absolute;right:16px;top:50%;width:8px;height:8px;border-right:1.5px solid #475569;border-bottom:1.5px solid #475569;transform:translateY(-70%) rotate(45deg);pointer-events:none}
.ux-select select {appearance:none;padding-right:35px;cursor:pointer}
.ux-preview select:focus-visible,.ux-preview textarea:focus-visible,.ux-preview button:focus-visible,.ux-preview a:focus-visible {outline:2px solid var(--iskra-orange-500, #ea580c);outline-offset:3px}
.ux-filters,.ux-chat {padding:20px 22px;border-radius:20px;border:1px solid #dbe2eb;background:#fff;min-width:0}
@media(min-width:751px){.ux-preview:has(#ux-form:not([hidden])) .ux-filters {align-self:stretch}}
.ux-chat #ux-error {margin-top:8px;color:#92300d}
.ux-chat textarea {display:block;resize:vertical;margin:12px 0 0;min-height:66px}
.ux-actions {display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:12px}
.ux-preview button {font:inherit;cursor:pointer}
.ux-chat .ux-primary {color:#fff;padding:9px 16px;border:0;border-radius:999px;font-weight:650}
.ux-chat .ux-other-task {color:#9e3409;font-size:14px;text-decoration:underline;text-underline-offset:3px;padding:6px 0}
.ux-chat .ux-other-task:hover {color:#75270a}
.ux-chat button:disabled {opacity:.65;cursor:wait}
.ux-filters #ux-reset {font-size:13px;text-decoration:underline}
.ux-conversation {display:grid;gap:13px;margin-top:14px;scroll-margin-top:84px}
.ux-user-turn {justify-self:end;max-width:87%;padding:10px 12px;background:#ffe8d6;border-radius:18px 18px 6px 18px;overflow-wrap:anywhere}
.ux-user-turn strong {display:block;margin-bottom:4px;font-size:13px}
.ux-assistant-turn {min-width:0;scroll-margin-top:84px}
.ux-speaker {display:flex;align-items:center;gap:10px;margin:0 0 10px 3px;min-height:36px}
.ux-chat .ux-speaker h3 {margin:0;font-size:16px;font-weight:700}
.ux-avatar {width:34px;height:34px;border-radius:50%;object-fit:cover;flex:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #fed7aa}
.ux-reply {padding:12px 16px;background:#f4f6f9;border-radius:18px 18px 18px 6px;animation:ux-message-in .28s ease-out both}
.ux-reply #ux-step {white-space:pre-line}
.ux-reply p + p {margin-top:8px}
.ux-assistant-turn .ux-primary {max-width:100%;line-height:1.25;white-space:normal}
.ux-typing {display:inline-flex;gap:4px;padding:15px 17px;background:#f4f6f9;border-radius:18px 18px 18px 6px}
.ux-typing-dot {width:7px;height:7px;border-radius:50%;background:#64748b;animation:ux-typing-dot 1s ease-in-out infinite}
.ux-typing-dot:nth-child(2) {animation-delay:.15s}
.ux-typing-dot:nth-child(3) {animation-delay:.3s}
@keyframes ux-typing-dot {0%,80%,100%{opacity:.4;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
@keyframes ux-message-in {from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.ux-typing-dot,.ux-reply{animation:none}.ux-typing-dot{opacity:.7}}
@media(max-width:750px){.ux-reply{padding:10px 12px}.ux-conversation{gap:10px}}
.ux-filter-feedback {font-size:14px}
.ux-results-link {display:inline-flex;align-items:center;min-height:44px;color:var(--iskra-orange-500);font-weight:650;text-decoration:underline;text-underline-offset:3px}
.ux-results-link:hover {text-decoration-thickness:2px}
#ux-case-results {scroll-margin-top:84px}
@media(max-width:750px){.ux-preview{grid-template-columns:1fr;gap:14px}.ux-filters,.ux-chat{padding:17px}.ux-chat textarea{min-height:100px}.ux-fields{gap:8px}.ux-preview select{font-size:14px}}
@media(max-width:350px){.ux-fields{grid-template-columns:1fr}.ux-chat textarea{min-height:144px}}
