/* Independent index layers: conversation surface, title, accepted avatar GIF. */
.hasera-assistant-module.hasera-assistant-module {
    --hasera-dialog-left: 7.8vw;
    --hasera-dialog-width: 48.4vw;
    --hasera-dialog-bottom: 5vh;
    --hasera-dialog-height: 12.7vh;
}
.hasera-assistant-module.hasera-assistant-module .hasera-index-dialog-layer {
    position: fixed;
    left: var(--hasera-dialog-left);
    bottom: var(--hasera-dialog-bottom);
    width: var(--hasera-dialog-width);
    height: var(--hasera-dialog-height);
    z-index: 4;
    background: rgba(180, 180, 180, .58);
    border: 0;
    border-radius: 0;
    box-sizing: border-box;
}
.hasera-assistant-module.hasera-assistant-module .hasera-index-dialog-input {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 10px 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    color: #171717;
    font: 16px/1.4 Arial, sans-serif;
    box-sizing: border-box;
    resize: none;
}
.hasera-assistant-module.hasera-assistant-module .hasera-index-dialog-input:focus {
    outline: 1px solid rgba(210, 210, 210, .65);
    outline-offset: -1px;
}
.hasera-assistant-module.hasera-assistant-module .hasera-index-dialog-title {
    position: fixed;
    left: var(--hasera-dialog-left);
    bottom: calc(var(--hasera-dialog-bottom) + var(--hasera-dialog-height) + 1.8vh);
    width: var(--hasera-dialog-width);
    z-index: 5;
    margin: 0;
    padding-right: 1.3vw;
    box-sizing: border-box;
    font-family: Haettenschweiler, 'Arial Narrow', Impact, sans-serif;
    font-size: clamp(24px, 2.55vw, 48px);
    font-weight: 400;
    line-height: 1;
    color: rgba(160, 155, 155, .7);
    text-align: right;
    pointer-events: none;
}
.hasera-assistant-module.hasera-assistant-module .hasera-index-avatar-layer {
    position: fixed;
    left: calc(var(--hasera-dialog-left) + .6vw);
    bottom: calc(var(--hasera-dialog-bottom) + var(--hasera-dialog-height));
    width: 13.2vw;
    z-index: 6;
    pointer-events: none;
}
.hasera-assistant-module.hasera-assistant-module .hasera-index-avatar {
    display: block;
    width: 100%;
    height: auto;
    opacity: 1;
    filter: none;
    user-select: none;
}
@media (max-width: 900px) {
    .hasera-assistant-module.hasera-assistant-module {
        --hasera-dialog-left: 6vw;
        --hasera-dialog-width: 88vw;
        --hasera-dialog-bottom: 5vh;
        --hasera-dialog-height: clamp(70px, 12.7vh, 110px);
    }
    .hasera-assistant-module.hasera-assistant-module .hasera-index-avatar-layer {
        left: var(--hasera-dialog-left);
        width: clamp(100px, 26vw, 160px);
        max-width: 32vh;
    }
    .hasera-assistant-module.hasera-assistant-module .hasera-index-dialog-title {
        bottom: calc(var(--hasera-dialog-bottom) + var(--hasera-dialog-height) + 12px);
        padding-right: 2vw;
        font-size: clamp(20px, 4.5vw, 30px);
    }
}

.hasera-assistant-module.hasera-assistant-module .hasera-index-dialog-title > img {
    display: block;
    width: 27vw;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    opacity: 1;
    filter: none;
}
@media (max-width: 900px) {
    .hasera-assistant-module.hasera-assistant-module .hasera-index-dialog-title > img { width: 66%; }
}

.hasera-assistant-module.hasera-assistant-module .hasera-index-avatar[hidden] { display: none; }
.hasera-assistant-module.hasera-assistant-module .hasera-avatar-draggable { pointer-events: auto; cursor: grab; touch-action: none; }
.hasera-assistant-module.hasera-assistant-module .hasera-avatar-draggable:hover { outline: 1px dashed rgba(240,210,120,.8); }
.hasera-assistant-module.hasera-assistant-module .hasera-avatar-draggable.is-dragging { cursor: grabbing; }
.avatar-editor-controls { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:20px; margin:24px 0; }
.avatar-editor-controls label { display:flex; flex-direction:column; gap:8px; }
.avatar-editor-controls output { color:#d7bd73; }
.avatar-editor-controls small { color:#a8a8a8; }
.avatar-editor-actions { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:24px; }
.avatar-editor-preview { position:relative; width:100%; overflow:hidden; background:#151515; border:1px solid #695f40; }
.avatar-editor-preview iframe { display:block; border:0; transform-origin:top left; max-width:none; position:absolute; left:0; top:0; }

/* Avatar conversation staging: no model requests or generated voice at this stage. */
.hasera-assistant-module.hasera-assistant-module { --hasera-response-left: 23.1vw; --hasera-response-width: 33.1vw; }
.hasera-assistant-module.hasera-assistant-module .hasera-index-dialog-input { padding: 12px 44px 12px 14px; color:#fff; }
.hasera-conversation-placeholder { position:absolute; left:14px; right:12px; bottom:9px; color:white; font:14px/1.3 Arial,sans-serif; pointer-events:none; opacity:1; transition:opacity .25s ease; }
.hasera-conversation-placeholder > span { animation:hasera-conversation-invitation 2.4s ease-in-out infinite; }
.hasera-index-dialog-layer:hover .hasera-conversation-placeholder,
.hasera-index-dialog-layer.has-input .hasera-conversation-placeholder { opacity:0; }
@keyframes hasera-conversation-invitation { 0%,100% {opacity:.35} 50% {opacity:1} }
.hasera-assistant-module.hasera-assistant-module .hasera-conversation-send { position:absolute; right:8px; bottom:8px; width:30px; height:30px; padding:0; border:0; border-radius:0; background:transparent; color:#fff; font:26px/1 Arial,sans-serif; cursor:pointer; }
.hasera-assistant-module.hasera-assistant-module .hasera-conversation-send[hidden] { display:none; }
.hasera-assistant-module.hasera-assistant-module .hasera-conversation-heading { position:fixed; left:var(--hasera-response-left); width:var(--hasera-response-width); bottom:calc(var(--hasera-dialog-bottom) + var(--hasera-dialog-height) + 35vh); z-index:7; color:#fff; font:400 clamp(25px,2.55vw,38px)/1.2 Arial,sans-serif; text-align:center; transform:translateY(22vh); transition:transform .85s cubic-bezier(.22,.61,.36,1); pointer-events:none; }
.hasera-assistant-module.hasera-assistant-module.has-conversation .hasera-conversation-heading { transform:translateY(0); }
.hasera-assistant-module.hasera-assistant-module .hasera-conversation-responses { position:fixed; left:var(--hasera-response-left); width:var(--hasera-response-width); top:calc(100vh - var(--hasera-dialog-bottom) - var(--hasera-dialog-height) - 35vh + 12px); bottom:calc(var(--hasera-dialog-bottom) + var(--hasera-dialog-height) + 9vh); z-index:7; margin:0; padding:0 0 40px; box-sizing:border-box; overflow:auto; scrollbar-width:none; border:0; background:transparent; box-shadow:none; color:#fff; font:600 clamp(16px,1.55vw,22px)/1.14 Arial,sans-serif; opacity:0; transition:opacity .45s ease; mask-image:linear-gradient(to bottom,#000 0%,#000 63%,rgba(0,0,0,.5) 86%,transparent 100%); -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 63%,rgba(0,0,0,.5) 86%,transparent 100%); }
.hasera-assistant-module.hasera-assistant-module.has-conversation .hasera-conversation-responses { opacity:1; }
.hasera-conversation-responses::-webkit-scrollbar { display:none; }
.hasera-conversation-reply { margin:0 0 12px; padding:0; }
.hasera-conversation-word { color:#fff; font-weight:600; animation:hasera-conversation-word-in .2s ease-out both; transition:color .2s ease; }
.hasera-conversation-word.is-current { color:#ff7c24; font-weight:900; }
@keyframes hasera-conversation-word-in { from {opacity:0} to {opacity:1} }
.hasera-conversation-status { position:fixed; z-index:8; display:flex; justify-content:center; align-items:center; gap:4px; pointer-events:none; }
.hasera-conversation-online { display:inline-block; padding:2px 5px; border:1px solid rgba(70,183,127,.6); border-radius:3px; background:rgba(0,23,15,.8); color:#54dfa0; font:800 8px/1 Arial,sans-serif; white-space:nowrap; }
.hasera-assistant-module.hasera-assistant-module .hasera-conversation-status button { display:inline-block; min-width:49px; padding:3px 6px; margin:0; border:1px solid #317ba0; border-radius:10px; background:rgba(6,33,47,.86); color:#80d0ed; font:800 8px/1 Arial,sans-serif; cursor:pointer; pointer-events:auto; white-space:nowrap; }
@media(max-width:900px) {
 .hasera-assistant-module.hasera-assistant-module { --hasera-response-left:35vw; --hasera-response-width:59vw; }
 .hasera-assistant-module.hasera-assistant-module .hasera-conversation-heading { font-size:clamp(19px,4.8vw,27px); bottom:calc(var(--hasera-dialog-bottom) + var(--hasera-dialog-height) + 29vh); transform:translateY(14vh); }
 .hasera-assistant-module.hasera-assistant-module.has-conversation .hasera-conversation-heading { transform:translateY(0); }
 .hasera-assistant-module.hasera-assistant-module .hasera-conversation-responses { top:calc(100vh - var(--hasera-dialog-bottom) - var(--hasera-dialog-height) - 29vh + 12px); bottom:calc(var(--hasera-dialog-bottom) + var(--hasera-dialog-height) + 8vh); font-size:15px; line-height:1.18; }
 .hasera-conversation-placeholder { font-size:11px; left:12px; right:12px; }
 .hasera-conversation-status { gap:2px; }
 .hasera-conversation-online { font-size:7px; padding:2px 3px; }
 .hasera-assistant-module.hasera-assistant-module .hasera-conversation-status button { min-width:45px; font-size:7px; padding:3px 4px; }
}

/* Mobile: keep the example transcript out of the public layout. */
@media (max-width:900px) {
 .hasera-assistant-module.hasera-assistant-module .hasera-index-dialog-layer { background:rgba(48,48,48,.72); }
 .hasera-assistant-module.hasera-assistant-module .hasera-conversation-responses { display:none; }
}

/* Fit the invitation inside equal 6 mm side margins. */
.hasera-assistant-module.hasera-assistant-module .hasera-conversation-placeholder { left:6mm; right:6mm; color:#fff; font-weight:700; line-height:1.25; text-shadow:0 1px 2px rgba(0,0,0,.38); }
.hasera-assistant-module.hasera-assistant-module .hasera-conversation-placeholder > span { display:block; }
@keyframes hasera-conversation-invitation { 0%,100% { opacity:.82; } 50% { opacity:1; } }

.hasera-assistant-module.hasera-assistant-module .hasera-conversation-placeholder > span { white-space:nowrap; text-align:center; transform-origin:center; }
@keyframes hasera-conversation-invitation { 0%,100% { opacity:.86; font-weight:600; transform:scale(1); } 50% { opacity:1; font-weight:800; transform:scale(1.025); } }

/* A slower, more visible breathing cycle. */
.hasera-assistant-module.hasera-assistant-module .hasera-conversation-placeholder > span { animation-duration:4s; animation-timing-function:cubic-bezier(.45,0,.55,1); will-change:transform,opacity; }
@keyframes hasera-conversation-invitation { 0%,100% { opacity:.86; font-weight:600; transform:scale(1); } 50% { opacity:1; font-weight:800; transform:scale(1.14); } }

/* Live model responses are visible on both screen sizes. */
@media (max-width:900px) { .hasera-assistant-module.hasera-assistant-module .hasera-conversation-responses { display:block; } }
.hasera-conversation-online.is-offline { color:#f3bd8a; border-color:#ac7648; }

.hasera-assistant-module.hasera-assistant-module .hasera-index-dialog-input { overflow:auto; scrollbar-width:none; overscroll-behavior:contain; }
.hasera-index-dialog-input::-webkit-scrollbar, .hasera-conversation-user-history::-webkit-scrollbar { display:none; }
.hasera-conversation-user-history { display:none; position:absolute; top:8px; left:14px; right:44px; bottom:48px; overflow:auto; scrollbar-width:none; overscroll-behavior:contain; color:#fff; font:14px/1.4 Arial,sans-serif; }
.hasera-conversation-user-history p { margin:0 0 8px; white-space:pre-wrap; overflow-wrap:anywhere; }
.hasera-index-dialog-layer.has-user-history .hasera-conversation-user-history { display:block; }
.hasera-assistant-module.hasera-assistant-module .hasera-index-dialog-layer.has-user-history .hasera-index-dialog-input { position:absolute; bottom:0; height:44px; }
.hasera-conversation-responses { overscroll-behavior:contain; touch-action:pan-y; overflow-wrap:anywhere; }
.hasera-conversation-waiting { margin:0; color:#fff; animation:hasera-conversation-word-in 1s ease-in-out alternate infinite; }

/* Clear send action with the same touch target on web and mobile. */
.hasera-assistant-module.hasera-assistant-module .hasera-conversation-send { width:44px; height:44px; right:6px; bottom:6px; display:grid; place-items:center; }
.hasera-assistant-module.hasera-assistant-module .hasera-conversation-send[hidden] { display:none; }
.hasera-conversation-send svg { width:25px; height:29px; overflow:visible; animation:hasera-send-breathe 1.7s ease-in-out infinite; }
.hasera-conversation-send path { fill:none; stroke:#fff; stroke-width:3.4; stroke-linecap:round; stroke-linejoin:round; animation:hasera-send-bold 1.7s ease-in-out infinite; }
.hasera-conversation-send:disabled svg, .hasera-conversation-send:disabled path { animation:none; }
.hasera-conversation-send:disabled { opacity:.5; cursor:wait; }
.hasera-assistant-module.hasera-assistant-module .hasera-index-dialog-input { padding-right:56px; }
@keyframes hasera-send-breathe { 0%,100% {opacity:.8; transform:scale(1);} 50% {opacity:1; transform:scale(1.08);} }
@keyframes hasera-send-bold { 0%,100% {stroke-width:3.4;} 50% {stroke-width:5.2;} }
@media(prefers-reduced-motion:reduce) { .hasera-conversation-send svg, .hasera-conversation-send path { animation:none; } }

/* Softer active badges, distinctly dimmed when voice is off. */
.hasera-assistant-module.hasera-assistant-module .hasera-conversation-online,
.hasera-assistant-module.hasera-assistant-module .hasera-conversation-status button { opacity:.8; filter:saturate(.78); transition:opacity .25s ease,color .25s ease,background .25s ease,border-color .25s ease; }
.hasera-assistant-module.hasera-assistant-module .hasera-conversation-status button[aria-pressed="false"] { opacity:.42; color:#80929b; border-color:#35444b; background:rgba(12,20,24,.8); filter:saturate(.25); }

.hasera-assistant-module{position:fixed;inset:0;width:100vw;height:100vh;z-index:8;pointer-events:none;transform-origin:0 0;}
.hasera-assistant-module .hasera-index-dialog-layer,.hasera-assistant-module .hasera-conversation-responses{pointer-events:auto}
.hasera-module-selection{position:fixed;z-index:30;border:1px dashed #d6b970;box-shadow:0 0 0 1px rgba(0,0,0,.35);pointer-events:auto;touch-action:none;cursor:grab;box-sizing:border-box;background:rgba(0,0,0,.025)}
.hasera-module-selection::before{content:'✥  Chwyć cały zestaw';position:absolute;left:0;top:-30px;padding:6px 10px;background:#181712;color:#e8d195;font:700 12px/1.2 Arial,sans-serif;white-space:nowrap;}
.hasera-module-selection.is-dragging{cursor:grabbing}.hasera-module-selection[hidden]{display:none!important}
.hasera-assistant-module.is-editing .hasera-index-dialog-layer,.hasera-assistant-module.is-editing .hasera-conversation-responses,.hasera-assistant-module.is-editing .hasera-conversation-status button{pointer-events:none}
.hasera-assistant-module.is-editing.is-avatar-mode .hasera-avatar-draggable{pointer-events:auto}
.hasera-module-owner-controls{position:fixed;z-index:10000;display:flex;align-items:center;gap:8px;flex-wrap:wrap;max-width:calc(100vw - 16px);padding:7px;background:rgba(15,15,15,.94);border:1px solid #766540;color:#e8d195;font:700 11px/1.2 Arial,sans-serif;box-sizing:border-box}
.hasera-module-owner-controls button,.hasera-module-owner-controls select{padding:6px 8px;min-height:30px;background:#211e15;color:#ead7a0;border:1px solid #7c6941;font:700 11px Arial,sans-serif;cursor:pointer;box-sizing:border-box}
.hasera-module-owner-controls input{width:100px!important;max-width:100px;margin:0}.hasera-module-owner-controls [hidden]{display:none!important}
.hasera-module-owner-controls [data-module-error]{width:100%;color:#f4be92;font-weight:600}

.hasera-module-corner{position:absolute;width:16px;height:16px;border:2px solid #d6b970;background:#29251b;box-sizing:border-box;pointer-events:auto;touch-action:none;border-radius:2px}
.hasera-module-corner.is-nw{left:-8px;top:-8px;cursor:nwse-resize}.hasera-module-corner.is-ne{right:-8px;top:-8px;cursor:nesw-resize}.hasera-module-corner.is-sw{left:-8px;bottom:-8px;cursor:nesw-resize}.hasera-module-corner.is-se{right:-8px;bottom:-8px;cursor:nwse-resize}
.hasera-module-owner-controls [data-appearance]{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.hasera-module-owner-controls [data-mode]{max-width:100%}.hasera-module-owner-controls{max-width:min(620px,calc(100vw - 16px))}
@media(pointer:coarse){.hasera-module-corner{width:24px;height:24px}.hasera-module-corner.is-nw{left:-12px;top:-12px}.hasera-module-corner.is-ne{right:-12px;top:-12px}.hasera-module-corner.is-sw{left:-12px;bottom:-12px}.hasera-module-corner.is-se{right:-12px;bottom:-12px}}

.hasera-assistant-module.hasera-assistant-module.professional-docked .hasera-index-dialog-title>svg{display:block;width:100%;height:auto;max-width:100%;margin-left:auto}

/* Edit settings occupy the existing conversation input surface. */
.hasera-assistant-module .hasera-module-owner-controls{position:absolute;left:0;right:0;top:0;bottom:0;width:100%;max-width:100%;padding:6px;gap:5px;border:0;background:rgba(15,15,15,.9);font-size:10px;pointer-events:auto;overflow:auto;align-content:center}
.hasera-assistant-module:not(.is-editing) .hasera-module-owner-controls{left:auto;bottom:auto;width:auto;padding:4px;background:transparent}
.hasera-assistant-module .hasera-module-owner-controls button,.hasera-assistant-module .hasera-module-owner-controls select{min-height:24px;font-size:10px;padding:4px 6px}
.hasera-assistant-module .hasera-module-owner-controls [data-mode]{width:auto!important;max-width:160px;flex:1}
.hasera-assistant-module .hasera-module-owner-controls input{width:55px!important;max-width:55px}
.hasera-assistant-module .hasera-module-owner-controls [data-appearance]{gap:3px;font-size:10px}
.hasera-module-selection::before{display:none}
.hasera-module-corner.is-n{left:calc(50% - 8px);top:-8px;cursor:ns-resize}
.hasera-module-corner.is-s{left:calc(50% - 8px);bottom:-8px;cursor:ns-resize}
.hasera-module-corner.is-e{right:-8px;top:calc(50% - 8px);cursor:ew-resize}
.hasera-module-corner.is-w{left:-8px;top:calc(50% - 8px);cursor:ew-resize}

.hasera-assistant-module.is-owner .hasera-index-avatar-layer{pointer-events:auto}
.hasera-assistant-module.is-editing .hasera-index-dialog-layer{z-index:40;pointer-events:auto}
/* The title has the same source and dimensions as INDEX; the group transform scales every element. */
.hasera-assistant-module.hasera-assistant-module .hasera-index-dialog-title>img{height:auto;aspect-ratio:408/33;object-fit:contain}
.hasera-assistant-module.hasera-launcher-closed>*{visibility:hidden!important;pointer-events:none!important}
.hasera-assistant-module.hasera-launcher-flying .hasera-index-avatar-layer{visibility:hidden!important}
.hasera-assistant-launcher{position:fixed;z-index:2147483101;transform-origin:0 0;pointer-events:auto}
.hasera-assistant-launcher[hidden],.hasera-assistant-launcher [hidden],.hasera-assistant-close[hidden]{display:none!important}
.hasera-launcher-open{display:block;width:100%;border:0;padding:0;background:transparent;cursor:pointer;color:#bcb5b1}
.hasera-launcher-open img,.hasera-launcher-open canvas{display:block;width:100%;height:auto;aspect-ratio:406/617}
.hasera-launcher-caption{display:block;font-family:Haettenschweiler,'Arial Narrow',Impact,sans-serif;font-size:3.4vw;line-height:1.05;text-align:center;white-space:nowrap}
.hasera-launcher-admin{display:flex;justify-content:center;gap:4px;margin-top:8px}
.hasera-launcher-admin button,.hasera-assistant-close{font:10px Arial,sans-serif;color:#ead7a0;background:#211e15;border:1px solid #7c6941;padding:4px;cursor:pointer}
.hasera-assistant-close{position:absolute;right:5px;top:5px;z-index:10001;pointer-events:auto}
.hasera-launcher-selection{position:absolute;inset:0;border:1px dashed #d6b970;pointer-events:none}
.hasera-launcher-selection .hasera-module-corner{pointer-events:auto}
.is-launcher-editing .hasera-launcher-open{cursor:grab;touch-action:none}
@media(max-width:900px){.hasera-launcher-caption{font-size:5.7vw}}

/* Screen coordinates keep the independently positioned avatar above the conversation. */
.hasera-assistant-module.hasera-assistant-module{overflow:visible}
.hasera-assistant-module.hasera-assistant-module .hasera-index-avatar-layer.hasera-avatar-screen{z-index:2147483300}
.hasera-avatar-selection{position:absolute;inset:0;border:1px dashed #d6b970;pointer-events:none;box-sizing:border-box}
.hasera-avatar-selection[hidden]{display:none!important}

.hasera-assistant-module.has-screen-avatar{z-index:2147483300!important}

/* Immediate, readable local acknowledgement while reply tokens arrive. */
.hasera-conversation-waiting{display:flex;align-items:center;gap:.3em;margin:8px 0 12px;color:#fff;font:600 15px/1.5 Arial,sans-serif;opacity:1;animation:none;text-shadow:0 1px 3px #000}.hasera-conversation-typing-dots{display:inline-block;min-width:1em;animation:hasera-lara-typing 1s ease-in-out infinite}@keyframes hasera-lara-typing{0%,100%{opacity:.35}50%{opacity:1}}@media(prefers-reduced-motion:reduce){.hasera-conversation-typing-dots{animation:none}}

.hasera-assistant-module.hasera-assistant-module .hasera-conversation-responses[aria-busy=true]{opacity:1;transition:none}

/* Compact Lara replies; listening links remain on separate readable lines. */
.hasera-assistant-module.hasera-assistant-module .hasera-conversation-responses{font-size:clamp(13px,1.12vw,16px);font-weight:400;line-height:1.45}
.hasera-assistant-module .hasera-conversation-word{font-weight:400}
.hasera-assistant-module .hasera-conversation-word.is-current{font-weight:600}
.hasera-assistant-module .hasera-conversation-reply{white-space:pre-wrap}
.hasera-assistant-module.hasera-assistant-module .hasera-conversation-heading{font-size:clamp(19px,1.8vw,26px)}
@media(max-width:900px){.hasera-assistant-module.hasera-assistant-module .hasera-conversation-responses{font-size:14px}.hasera-assistant-module.hasera-assistant-module .hasera-conversation-heading{font-size:19px}}

.hasera-assistant-module.hasera-assistant-module .hasera-conversation-responses:has(.hasera-conversation-reply:last-child a){mask-image:none;-webkit-mask-image:none}

/* 2026-11-04: readable visitor messages and Lara replies, including waiting text. */
.hasera-assistant-module.hasera-assistant-module .hasera-conversation-responses {
    font-size:calc(17px * var(--hasera-conversation-font-scale,1)); line-height:1.5;
}
.hasera-assistant-module.hasera-assistant-module .hasera-conversation-user-history {
    font-size:calc(16px * var(--hasera-conversation-font-scale,1)); line-height:1.45; bottom:66px;
}
.hasera-assistant-module.hasera-assistant-module .hasera-index-dialog-input {
    font-size:calc(16px * var(--hasera-conversation-font-scale,1)); line-height:1.4;
}
.hasera-assistant-module.hasera-assistant-module .hasera-index-dialog-layer.has-user-history .hasera-index-dialog-input { height:62px; }
.hasera-assistant-module.hasera-assistant-module .hasera-conversation-waiting {
    font-size:calc(16px * var(--hasera-conversation-font-scale,1)); line-height:1.5;
}
@media(max-width:900px) {
    .hasera-assistant-module.hasera-assistant-module .hasera-conversation-responses {font-size:calc(16px * var(--hasera-conversation-font-scale,1));}
    .hasera-assistant-module.hasera-assistant-module .hasera-conversation-user-history,
    .hasera-assistant-module.hasera-assistant-module .hasera-index-dialog-input {font-size:calc(16px * var(--hasera-conversation-font-scale,1));}
}

/* Word-highlighted thinking text must flow as a sentence, not shrinking flex items. */
.hasera-assistant-module.hasera-assistant-module .hasera-conversation-thinking {
    display:block; white-space:normal; overflow-wrap:normal; word-break:normal;
}
.hasera-assistant-module.hasera-assistant-module .hasera-conversation-thinking .hasera-conversation-word {
    white-space:nowrap;
}

/* 2026-11-06: read Lara from the start; keep every line readable while scrolling. */
.hasera-assistant-module.hasera-assistant-module .hasera-conversation-responses {
    overflow-anchor:none; scroll-behavior:auto; scrollbar-width:thin;
    scrollbar-color:rgba(255,255,255,.65) transparent;
    mask-image:none; -webkit-mask-image:none;
}
.hasera-assistant-module .hasera-conversation-responses::-webkit-scrollbar {display:block;width:6px;}
.hasera-assistant-module .hasera-conversation-responses::-webkit-scrollbar-thumb {background:rgba(255,255,255,.65);border-radius:3px;}
.hasera-assistant-module .hasera-conversation-reply:last-child {min-height:100%;}
