
@media (max-width:767px){
html body .mwai-chat .mwai-trigger.mwai-open-button{display:none!important}
html.sd347-chat body div.mwai-chat.mwai-window.mwai-open{display:flex!important}
html.sd347-chat body{overflow:hidden!important}
html.sd347-chat .mwai-window .mwai-mobile-header{background:#141312!important;min-height:72px!important;padding:0 18px 0 20px!important;display:flex!important;align-items:center!important;border:0!important}
html.sd347-chat .mwai-window .mwai-mobile-header-title{display:none!important}
html.sd347-chat .mwai-window .mwai-mobile-header button,html.sd347-chat .mwai-window .mwai-mobile-header [class*=close]{color:#fff!important;filter:none!important}
.sd347-hd{display:flex;align-items:center;gap:14px;flex:1;min-width:0;color:#fff;font-family:"Libre Baskerville",Georgia,serif}
.sd347-hd img{width:26px;height:auto;filter:brightness(0) invert(1);flex:0 0 auto}
.sd347-hd b{display:block;font-weight:400;font-size:12.5px;letter-spacing:.24em;line-height:1.2}
.sd347-hd i{display:block;font-size:11.5px;opacity:.85;margin-top:4px;line-height:1.2}
.sd347-hd i:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#9fd3a6;margin-right:7px;vertical-align:1px}
.sd347-bd{position:fixed;left:0;right:0;top:0;bottom:var(--sd347-nav,82px);background:rgba(10,9,8,.45);opacity:0;transition:opacity .22s ease;z-index:1000}
.sd347-sh{position:fixed;left:0;right:0;bottom:var(--sd347-nav,82px);background:#f3efe7;color:#0e0e0d;padding:16px 22px 6px;box-shadow:0 -10px 28px rgba(0,0,0,.18);transform:translateY(calc(100% + var(--sd347-nav,82px)));transition:transform .26s cubic-bezier(.2,.8,.2,1);z-index:1001;outline:none;font-family:"Libre Baskerville",Georgia,serif;max-height:calc(100vh - var(--sd347-nav,82px) - 40px);overflow:auto}
html.sd347-val .sd347-bd{opacity:1}
html.sd347-val .sd347-sh{transform:none}
.sd347-sh h2{margin:0 0 4px!important;padding:0!important;font-family:inherit!important;font-size:10px!important;font-weight:400!important;letter-spacing:.22em!important;text-transform:uppercase!important;color:#7a7066!important;line-height:1.6!important}
.sd347-sh .r{display:flex;width:100%;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border:0;border-top:1px solid #d9d1c4;background:none;color:inherit;text-align:left;text-decoration:none!important;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sd347-sh .r b{display:block;font-weight:400;font-size:17px;line-height:1.3;color:#0e0e0d}
.sd347-sh .r.f b{font-weight:700}
.sd347-sh .r i{display:block;font-size:12px;color:#7a7066;margin-top:3px;line-height:1.3}
.sd347-sh .r .t{display:block;min-width:0}
.sd347-sh .r .p{font-size:18px;color:#7a7066;flex:0 0 auto}
html body .sd347-sh .r{background:none!important;border-radius:0!important;box-shadow:none!important;color:#0e0e0d!important;text-transform:none!important;letter-spacing:0!important;padding:14px 0!important;margin:0!important;min-height:0!important;height:auto!important;width:100%!important;max-width:none!important;font-family:"Libre Baskerville",Georgia,serif!important;font-size:16px!important;font-weight:400!important;line-height:1.3!important;border:0!important;border-top:1px solid #d9d1c4!important;display:flex!important;justify-content:space-between!important;align-items:center!important;transform:none!important;opacity:1!important}
html body .sd347-sh .r b,html body .sd347-sh .r i,html body .sd347-sh .r .p{text-transform:none!important;letter-spacing:0!important;background:none!important}
html body .sd347-sh .r b{font-size:17px!important;color:#0e0e0d!important}
html body .sd347-sh .r.f b{font-weight:700!important}
html body .sd347-sh .r i{font-size:12px!important;color:#7a7066!important;font-style:italic!important}
html body .sd347-sh .r .p{display:block!important;color:#7a7066!important;font-size:18px!important}
html body .sd347-sh .r:active{opacity:.6!important}
.sd347-sh .r:focus-visible{outline:2px solid #523744;outline-offset:2px}
html.sd347-val nav.sdf-nav a.sdf-cta{opacity:1!important}
}
/* Hel linje under skrivfältet (Carl 31 okt) */
html:not(#q1):not(#q2):not(#q3) body .mwai-chat .mwai-input{gap:0!important;column-gap:0!important}
html:not(#q1):not(#q2):not(#q3) body .mwai-chat .mwai-input > *{margin-left:0!important;margin-right:0!important}
html:not(#q1):not(#q2):not(#q3) body .mwai-chat .mwai-input .mwai-input-submit{border-bottom:0!important;padding-left:0!important;padding-right:0!important;min-width:0!important;width:0!important;flex:0 0 0!important;overflow:hidden!important}
html:not(#q1):not(#q2):not(#q3) body .mwai-chat .mwai-input .mwai-input-text{flex:1 1 auto!important}
html:not(#q1):not(#q2):not(#q3) body .mwai-chat .mwai-input .sd77-knapp{padding-left:14px!important}
@media (prefers-reduced-motion:reduce){.sd347-bd,.sd347-sh{transition:none!important}}

