/* Kaubakoda human support: the same petroleum, ivory and copper as the shop. */
.chat-icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.chat-launch{position:fixed;right:26px;bottom:24px;z-index:55;display:flex;align-items:center;gap:12px;min-height:56px;padding:14px 21px;background:#132e34;color:#fffaf2;border:1px solid #496065;border-radius:18px;box-shadow:0 6px 24px #132e3426;font-family:Manrope,Arial,sans-serif;font-size:14px;font-weight:750;transition:transform .2s,box-shadow .2s}
.chat-launch>.chat-icon{color:#e3b48f;width:25px;height:25px}.chat-launch:hover{transform:translateY(-3px);box-shadow:0 10px 28px #132e3438}.chat-unread{position:absolute;right:-6px;top:-7px;min-width:23px;height:23px;padding-inline:5px;background:#e3b48f;color:#132e34;border:2px solid #fffdf9;border-radius:20px;font-size:11px;display:grid;place-items:center}
.support-chat{position:fixed;inset:auto 24px 24px auto;margin:0;padding:0;width:410px;max-width:calc(100vw - 24px);height:690px;max-height:calc(100dvh - 32px);border:1px solid #d7d9d2;border-radius:22px;box-shadow:0 24px 80px #132e3440,0 2px 8px #132e340d;background:#fffdf9;color:#20383b;z-index:90;font:14px/1.6 Manrope,Arial,sans-serif;overflow:hidden;overscroll-behavior:contain}
.support-chat[open]{display:flex;flex-direction:column;animation:chat-appear .22s ease-out}.support-chat::backdrop{background:#102d3322;backdrop-filter:blur(2px)}
.chat-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px;background:#132e34;color:#fffaf2;flex-shrink:0;border-top:3px solid #dba77d}.chat-brand{display:flex;align-items:center;gap:13px;min-width:0}.chat-brand img{flex-shrink:0}.chat-header strong{display:block;font-size:21px;letter-spacing:-.6px;line-height:1.2}.chat-header p{margin:6px 0 0;color:#e3dbd0;font-size:11px;line-height:1.5}.chat-header button{width:38px;height:38px;display:grid;place-items:center;border:1px solid #ffffff2e;background:#ffffff0b;color:#fffaf2;border-radius:12px;flex-shrink:0}.chat-header button:hover{background:#ffffff18}
.chat-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c9ceca transparent;background:linear-gradient(165deg,#f4efe6 0%,#fffdf9 70%)}
.chat-welcome{padding:27px 23px 20px}.chat-kicker{font-size:9px;font-weight:800;letter-spacing:1.8px;color:#745034}.chat-welcome-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:13px 0}.chat-welcome h2{font-size:29px;line-height:1.22;letter-spacing:-1.1px;margin:0;color:#18373d;font-weight:750}.chat-hello{display:grid;place-items:center;width:64px;height:64px;flex-shrink:0;border-radius:23px;background:#e8d0b9;transform:rotate(-7deg);box-shadow:5px 5px 0 #eee3d7}.chat-hello svg{width:43px;height:43px;stroke:#314c4e;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.chat-welcome>p{font-size:13px;color:#526366;line-height:1.8;margin:16px 0 19px;max-width:315px}.chat-topics{display:flex;flex-direction:column;gap:8px}.chat-topics button{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;border:1px solid #ddd7cc;border-radius:11px;background:#fffdf9;color:#294247;font:650 12px Manrope,Arial,sans-serif;min-height:42px;text-align:left;transition:background .15s,border-color .15s}.chat-topics button:hover{background:#f0e8dc;border-color:#ae927b}.chat-topics button span{font-size:18px;font-weight:500;color:#806244}
.chat-conversation-note{padding:19px 20px 8px;text-align:center;font-size:10px;letter-spacing:.2px;color:#677575}.chat-messages{padding:14px 20px 18px}.chat-messages:empty{padding:0}.chat-bubble{margin:0 0 16px;padding:12px 15px;border:1px solid #e0ded5;border-radius:16px 16px 16px 4px;background:#fff;max-width:89%;overflow-wrap:anywhere;color:#20383b;box-shadow:0 2px 5px #18373d04}.chat-bubble strong{display:block;font-size:10px;font-weight:750;margin-bottom:5px;color:#677575}.chat-bubble p{color:inherit;margin:0;font-size:13px;line-height:1.75;white-space:pre-wrap}.chat-bubble time{display:block;text-align:right;font-size:9px;line-height:1.5;margin-top:7px;color:#667775}.chat-bubble.visitor{margin-left:auto;border-radius:16px 16px 4px 16px;background:#18383f;color:#fffaf2;border-color:#18383f}.chat-bubble.visitor strong,.chat-bubble.visitor time{color:#d0dedc}.chat-bubble.system{margin:14px auto 18px;padding:0 8px;max-width:100%;border:0;box-shadow:none;background:transparent;color:#627273;text-align:center}.chat-bubble.system strong{display:none}.chat-bubble.system p{font-size:11px;line-height:1.7}.chat-bubble.system time{display:none}
.chat-latest{align-self:center;position:absolute;bottom:166px;z-index:1;padding:9px 15px;border:1px solid #d0c3b3;background:#f5e4d2;border-radius:30px;box-shadow:0 3px 10px #18373d18;font-size:12px;font-weight:700;color:#18383f}
#chat-form{padding:16px 18px 10px;background:#fffdf9;border-top:1px solid #e5e1d8;flex-shrink:0}.chat-compose{display:flex;gap:8px;padding:9px 9px 9px 13px;align-items:flex-end;border:1px solid #cbd1ca;border-radius:15px;background:#fff}.chat-compose:focus-within{border-color:#8a674b;box-shadow:0 0 0 2px #cda88425}.chat-compose textarea{min-width:0;flex:1;margin:0;border:0;border-radius:0;outline:none;padding:3px 0;background:transparent;color:#20383b;font:13px/1.6 Manrope,Arial,sans-serif;resize:none;min-height:43px;max-height:115px}.chat-compose textarea:focus-visible{outline:none}.chat-compose textarea::placeholder{color:#71817d}.chat-compose button{border:0;border-radius:11px;background:#dba77d;color:#19373c;width:40px;height:40px;display:grid;place-items:center;flex-shrink:0}.chat-compose button:hover{background:#ebbd96}.chat-compose button:disabled{background:#ece9e2;color:#7d8983;opacity:1}.chat-compose-note{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;color:#5d6f6d;margin-top:9px}.chat-compose-note a{font-weight:700;color:#3d5658;white-space:nowrap}.chat-compose-note a:hover{text-decoration:underline}.chat-privacy{display:flex;justify-content:center;align-items:center;gap:5px;padding:4px 16px 13px;margin:0;font-size:9px;line-height:1.6;color:#637471;background:#fffdf9;flex-shrink:0}.chat-privacy .chat-icon{width:12px;height:12px}.chat-privacy a{text-decoration:underline;text-underline-offset:2px}
.chat-error{padding:10px 18px;background:#fff1dd;color:#79502b;font-size:12px;flex-shrink:0}.chat-retry{padding:10px 18px;background:#fff1dd;color:#79502b;text-decoration:underline;font-size:12px;font-weight:750;text-align:left;flex-shrink:0}.chat-closed{padding:13px 20px;background:#f2ede4;text-align:center;flex-shrink:0}.chat-closed p{margin:0 0 8px;font-size:12px;color:#576968}.chat-closed button{border:1px solid #cbbcab;border-radius:10px;background:#fffdf9;color:#20383b;font-weight:700;font-size:12px;padding:10px 14px}.support-chat :focus-visible,.chat-launch:focus-visible{outline:3px solid #a87550;outline-offset:3px}
/* Shared conversation styling in the team's private inbox. */
.chat-admin{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px}.chat-admin-list{display:flex;flex-direction:column;gap:9px}.chat-thread{display:flex;flex-direction:column;gap:7px;text-align:left;border:1px solid #dadbd2;border-radius:13px;background:#fffdf9;padding:16px;color:#20383b;font-family:inherit}.chat-thread.selected{border:2px solid #385d60;padding:15px;background:#f1f4ef}.chat-thread strong{font-size:13px}.chat-thread small{font-size:11px;color:#5d716e}.chat-thread .chat-thread-state{font-size:10px;color:#765538;font-weight:700}.chat-admin-detail{min-width:0;border:1px solid #ddd8cf;background:#fffdf9;border-radius:17px;padding:23px}.chat-admin-detail h2{font-size:20px}.chat-admin-detail .chat-messages{height:400px;overflow:auto;border:1px solid #e1ded5;border-radius:13px;background:#f7f3ec}.chat-admin-detail .chat-messages:empty{display:grid;place-items:center}.chat-admin-detail .chat-messages:empty::before{content:'Siin algab hea vestlus.';color:#677575;font-size:14px}.chat-admin-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.chat-admin textarea{width:100%;min-height:85px}.chat-admin-header{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:24px}.chat-empty{padding:25px 20px;border:1px dashed #c8cfc5;border-radius:14px;background:#f5f1e8;color:#5d716e;font-size:13px;line-height:1.8}.chat-settings{max-width:850px}.chat-settings section{margin:24px 0}.chat-code{font-size:28px;letter-spacing:5px;font-weight:bold;padding:20px;background:#f1e5d7;color:#20383b}.chat-device{padding:16px 0;border-bottom:1px solid #ddd8cf}.chat-settings label{display:block;margin:12px 0}.chat-settings input,.chat-settings textarea{display:block;width:100%;padding:10px;border:1px solid #b9c7bd;border-radius:8px}.chat-settings button{margin:6px 6px 6px 0}
@keyframes chat-appear{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:600px){.chat-launch{right:15px;bottom:16px;min-height:51px;padding:12px 17px;border-radius:16px;font-size:13px}.support-chat{inset:auto 10px 10px auto;width:410px;max-width:calc(100vw - 20px);height:690px;max-height:calc(100dvh - 20px);border-radius:19px}.chat-header{padding:18px}.chat-welcome{padding:24px 20px 18px}.chat-welcome h2{font-size:27px}.chat-hello{width:57px;height:57px}.chat-messages{padding-inline:15px}.chat-admin{grid-template-columns:1fr}.chat-admin-list{max-height:250px;overflow:auto}.chat-admin-detail{padding:15px}.chat-compose textarea{font-size:16px;min-height:48px}.chat-compose-note{font-size:9px}.chat-privacy{padding-bottom:max(12px,env(safe-area-inset-bottom))}}
@media(max-height:560px){.chat-header{padding:10px 16px}.chat-header strong{font-size:18px}.chat-header img{width:34px;height:34px}.chat-welcome{padding:18px}.chat-welcome h2{font-size:24px}#chat-form{padding-top:10px}.chat-privacy{padding-bottom:8px}.chat-compose textarea{min-height:32px}.chat-compose-note{margin-top:5px}}
@media(prefers-reduced-motion:reduce){.support-chat[open]{animation:none}.chat-launch{transition:none}.support-chat *{scroll-behavior:auto}}

.chat-visitor-info{font-size:.875rem;line-height:1.5;overflow-wrap:anywhere;color:#385956;margin:.35rem 0 .75rem}.chat-security-log{font-size:.875rem;margin:0 0 1rem;overflow-wrap:anywhere}.chat-security-log summary{cursor:pointer;font-weight:700}.chat-security-log p{margin:.5rem 0;line-height:1.5}.chat-security-log #staff-security-events{max-height:15rem;overflow:auto}

.chat-overview{padding:16px;border:1px solid #d7d9d2;border-radius:12px;background:#f1f4ef;color:#20383b}.chat-tracking{margin-bottom:20px}.chat-tracking summary{font-weight:700;cursor:pointer}.chat-tracking section{padding:12px 0;border-bottom:1px solid #ddd8cf}.chat-tracking h3{font-size:14px}.chat-tracking button{margin:4px;white-space:normal;text-align:left;overflow-wrap:anywhere}.chat-admin-list>div>.chat-thread{width:100%}.chat-admin-list>div>.button{margin-top:5px;font-size:12px;min-height:40px}.chat-thread small{overflow-wrap:anywhere}
