/* Sandra website chat. Dynamic conversation content is always rendered as text. */
#sandra-webchat{--sw-paper:#fafbf7;--sw-surface:#fff;--sw-ink:#143c2d;--sw-mint:#72ca94;--sw-muted:#5a6d61;--sw-line:#dce5d9;--sw-soft:#eaf2e5;position:fixed;z-index:60;right:24px;bottom:var(--sw-bottom,24px);font-family:'Sandra Golos',Arial,sans-serif;font-size:16px;line-height:1.5;color:var(--sw-ink);color-scheme:light;-webkit-tap-highlight-color:transparent}
#sandra-webchat *,#sandra-webchat *::before,#sandra-webchat *::after{box-sizing:border-box}
#sandra-webchat [hidden]{display:none!important}
#sandra-webchat :is(button,textarea,a){font:inherit;-webkit-tap-highlight-color:transparent}
#sandra-webchat :is(button,textarea,a):focus-visible{outline:3px solid #498c61;outline-offset:3px}
#sandra-webchat button{cursor:pointer;color:inherit}
#sandra-webchat button:disabled{cursor:default}
#sandra-webchat p{margin:0}
#sandra-webchat :is(.sw-launcher,.sw-telegram,.sw-max){position:relative;display:grid;place-items:center;width:56px;height:56px;padding:0;border:1px solid #72ca9480;border-radius:50%;background:var(--sw-ink);color:var(--sw-surface);box-shadow:0 8px 24px #143c2d26;text-decoration:none}
#sandra-webchat :is(.sw-launcher,.sw-telegram,.sw-max) svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#sandra-webchat .sw-max svg{fill:currentColor;stroke:none}
#sandra-webchat .sw-telegram{position:absolute;right:68px;bottom:0}
#sandra-webchat .sw-max{position:absolute;right:68px;bottom:0}
#sandra-webchat[data-telegram] .sw-max{right:136px}
#sandra-webchat .sw-launcher-label{position:absolute;right:68px;white-space:nowrap;background:var(--sw-surface);color:var(--sw-ink);border:1px solid var(--sw-line);border-radius:10px;padding:7px 11px;box-shadow:0 3px 12px #143c2d12;font-size:13px;opacity:0;visibility:hidden;pointer-events:none}
#sandra-webchat[data-telegram] .sw-launcher>.sw-launcher-label{right:136px}
#sandra-webchat[data-max] .sw-launcher>.sw-launcher-label{right:136px}
#sandra-webchat[data-max][data-telegram] .sw-launcher>.sw-launcher-label{right:204px}
#sandra-webchat[data-max] .sw-telegram>.sw-launcher-label{right:136px}
#sandra-webchat :is(.sw-launcher,.sw-telegram,.sw-max):is(:hover,:focus-visible) .sw-launcher-label{opacity:1;visibility:visible}
#sandra-webchat .sw-unread{position:absolute;top:-3px;right:-3px;min-width:22px;height:22px;border:2px solid var(--sw-paper);border-radius:20px;background:var(--sw-mint);color:var(--sw-ink);font-size:11px;font-weight:600;line-height:18px;padding:0 4px}
#sandra-webchat .sw-panel{width:390px;max-width:calc(100vw - 32px);height:480px;max-height:calc(var(--sw-viewport-height,100dvh) - 48px);display:flex;flex-direction:column;border:1px solid var(--sw-line);border-radius:22px;background:var(--sw-surface);box-shadow:0 14px 50px #143c2d25,0 2px 8px #143c2d12;overflow:hidden}
#sandra-webchat .sw-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 16px 14px 22px;border-bottom:1px solid var(--sw-line);flex:none}
#sandra-webchat .sw-logo{display:block;width:144px;height:auto}
#sandra-webchat .sw-status{font-size:12px;color:var(--sw-muted);margin-top:5px}
#sandra-webchat .sw-close{border:0;background:none;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;font-size:25px;font-weight:400;line-height:1}
#sandra-webchat .sw-close:hover{background:var(--sw-soft)}
#sandra-webchat .sw-history{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 18px 10px;scrollbar-width:thin;background:var(--sw-paper)}
#sandra-webchat .sw-message{width:max-content;max-width:94%;padding:11px 14px;line-height:1.5;border-radius:16px 16px 16px 4px;background:var(--sw-surface);border:1px solid var(--sw-line);margin-bottom:12px;white-space:pre-wrap;overflow-wrap:anywhere}
#sandra-webchat .sw-message[data-role='user']{margin-left:auto;background:var(--sw-ink);color:var(--sw-surface);border-color:var(--sw-ink);border-radius:16px 16px 4px 16px}
#sandra-webchat .sw-author{font-size:12px;font-weight:500;color:var(--sw-muted);margin-bottom:4px;display:block}
#sandra-webchat .sw-system{color:var(--sw-muted);font-size:12px;text-align:center;margin:12px 4px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
#sandra-webchat .sw-composer{padding:12px 16px 8px;background:var(--sw-surface);border-top:1px solid var(--sw-line);flex:none}
#sandra-webchat .sw-input-row{display:flex;align-items:flex-end;gap:8px}
#sandra-webchat .sw-input{display:block;width:100%;min-width:0;flex:1;height:48px;max-height:104px;resize:none;border:1px solid #a5b9a9;border-radius:12px;background:var(--sw-surface);padding:11px 12px;font-size:16px;line-height:1.5;color:var(--sw-ink);scrollbar-width:thin}
#sandra-webchat .sw-input::placeholder{color:var(--sw-muted);opacity:1}
#sandra-webchat .sw-attach{height:48px;width:44px;flex:none;display:grid;place-items:center;padding:0;border:1px solid #a5b9a9;border-radius:12px;background:var(--sw-surface)}
#sandra-webchat .sw-attach svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#sandra-webchat .sw-attach:hover:not(:disabled){background:var(--sw-soft)}
#sandra-webchat .sw-attach:disabled{color:#9aab9e;border-color:var(--sw-line)}
#sandra-webchat .sw-files{margin-bottom:8px}
#sandra-webchat .sw-thumbs{display:flex;gap:8px}
#sandra-webchat .sw-thumb{position:relative;width:64px;height:64px;border:1px solid var(--sw-line);border-radius:10px;overflow:hidden;background:var(--sw-paper)}
#sandra-webchat .sw-thumb img{display:block;width:100%;height:100%;object-fit:cover}
#sandra-webchat .sw-thumb button{position:absolute;top:2px;right:2px;width:24px;height:24px;padding:0;border:0;border-radius:50%;background:#143c2dcc;color:#fff;font-size:16px;line-height:1}
#sandra-webchat .sw-files-note{font-size:11px;line-height:1.45;color:var(--sw-muted);margin-top:5px}
#sandra-webchat .sw-attached{display:block;font-size:13px;opacity:.85}
#sandra-webchat .sw-message span:not(:empty)+.sw-attached{margin-top:4px}
#sandra-webchat .sw-send{height:48px;min-width:99px;padding:0 14px;flex:none;border:0;border-radius:12px;background:var(--sw-ink);color:var(--sw-surface);font-size:14px;font-weight:500}
#sandra-webchat .sw-send:disabled{background:var(--sw-line);color:#54705d}
#sandra-webchat .sw-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:4px}
#sandra-webchat .sw-tools button{border:0;background:transparent;min-height:40px;padding:6px 0;font-size:13px;text-decoration:underline;text-underline-offset:4px}
#sandra-webchat .sw-tools .sw-privacy{font-size:12px;color:var(--sw-muted)}
#sandra-webchat .sw-human:disabled{color:var(--sw-muted);text-decoration:none}
#sandra-webchat .sw-disclosure{font-size:11px;line-height:1.45;color:var(--sw-muted);margin:0 0 3px}
#sandra-webchat .sw-feedback{font-size:12px;line-height:1.45;color:var(--sw-muted);padding:9px 12px;border-radius:10px;background:var(--sw-soft);margin-bottom:8px}
#sandra-webchat .sw-feedback button{background:none;border:0;padding:3px 0;min-height:30px;text-decoration:underline;text-underline-offset:3px;font-size:12px}
#sandra-webchat dialog{padding:0;width:350px;max-width:calc(100% - 28px);max-height:calc(100% - 28px);border:1px solid var(--sw-line);border-radius:20px;background:var(--sw-surface);color:var(--sw-ink);box-shadow:0 18px 70px #143c2d25;font-family:inherit}
#sandra-webchat dialog::backdrop{background:#08251a55}
#sandra-webchat .sw-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px 4px 22px}
#sandra-webchat .sw-dialog-header h2{font-size:20px;font-weight:500;margin:0}
#sandra-webchat .sw-dialog-content{padding:8px 22px 24px;font-size:14px;line-height:1.6}
#sandra-webchat .sw-dialog-content p+p{margin-top:12px}
#sandra-webchat .sw-dialog-content a{display:inline-block;color:var(--sw-ink);text-underline-offset:4px;margin-top:14px}
body[data-sandra-chat-open] .sc-service-dock{display:none!important}
@media(hover:hover){#sandra-webchat :is(.sw-launcher,.sw-telegram,.sw-max):hover{background:var(--sw-mint);color:var(--sw-ink)}}
@media(max-width:460px){
 #sandra-webchat{right:max(12px,env(safe-area-inset-right,0px));bottom:var(--sw-bottom,calc(12px + env(safe-area-inset-bottom,0px)))}
 #sandra-webchat[data-open='false']{bottom:calc(var(--sw-bottom,12px) + env(safe-area-inset-bottom,0px))}
 #sandra-webchat[data-open='true']{right:max(8px,env(safe-area-inset-right,0px));left:max(8px,env(safe-area-inset-left,0px))}
 #sandra-webchat .sw-panel{width:100%;max-width:none;height:544px;max-height:calc(var(--sw-viewport-height,100dvh) - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));border-radius:18px}
 #sandra-webchat .sw-header{padding:12px 12px 12px 17px}
 #sandra-webchat .sw-history{padding:16px 14px 10px}
 #sandra-webchat .sw-composer{padding:10px 12px 6px}
 #sandra-webchat .sw-send{min-width:93px;padding:0 10px}
 #sandra-webchat .sw-input{padding-inline:10px}
 #sandra-webchat .sw-attach{width:40px}
 #sandra-webchat .sw-tools button{min-height:44px}
 #sandra-webchat .sw-launcher-label{display:none}
}
@media(max-height:420px){#sandra-webchat .sw-header{padding-block:4px}#sandra-webchat .sw-logo{width:120px}#sandra-webchat .sw-composer{padding-block:6px}#sandra-webchat .sw-tools button{min-height:32px}}
