/* All public styles are scoped. No global theme, checkout or body layout overrides. */
.koh-support,.koh-support-admin{--ks-orange:#1a1a1a;--ks-ink:#191815;--ks-paper:#faf9f6;--ks-line:#e7e3dc;--ks-muted:#68635b;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ks-ink);font-size:14px;line-height:1.5}
.koh-support *,.koh-support-admin *{box-sizing:border-box}
.koh-support [hidden],.koh-support-admin [hidden]{display:none!important}
.koh-support button,.koh-support input,.koh-support textarea,.koh-support-admin textarea,.koh-support-admin select{font:inherit}
.koh-support button{cursor:pointer;text-transform:none;letter-spacing:normal;box-shadow:none}
.koh-support button:disabled,.koh-support-admin button:disabled{opacity:.5;cursor:not-allowed}
.koh-support button:focus-visible,.koh-support a:focus-visible,.koh-support input:focus-visible,.koh-support textarea:focus-visible,.koh-support-admin button:focus-visible,.koh-support-admin textarea:focus-visible{outline:3px solid #a34200;outline-offset:3px}
.koh-support .ks-launcher{position:fixed;z-index:99990;right:24px;bottom:24px;display:flex;gap:10px;align-items:center;min-height:52px;border:1px solid #191815;border-radius:999px;background:#191815;color:#fff;padding:12px 20px;font-weight:600;box-shadow:0 8px 24px #0002}
.koh-support .ks-launcher:hover{background:#37332b}
.koh-support .ks-panel{position:fixed;z-index:99995;right:24px;bottom:88px;width:min(410px,calc(100vw - 32px));height:min(680px,calc(100dvh - 110px));display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid var(--ks-line);border-radius:20px;box-shadow:0 18px 80px #0003;isolation:isolate}
.koh-support .ks-chat-header{display:flex;align-items:center;gap:12px;padding:20px 16px 18px;background:var(--ks-paper);border-bottom:1px solid var(--ks-line);flex-shrink:0}
.koh-support .ks-monogram{display:grid;place-items:center;width:42px;height:42px;flex:none;border:1px solid #d5c9b8;border-radius:50%;font:28px Georgia,serif;background:#fff}
.koh-support .ks-eyebrow,.koh-support-admin .ks-eyebrow{font-size:10px;font-weight:700;letter-spacing:.2em;margin:0 0 4px;color:var(--ks-muted)}
.koh-support #ks-title{font-size:16px;line-height:1.3;font-weight:600;margin:0 0 5px;color:var(--ks-ink)}
.koh-support .ks-status{font-size:11px;margin:0;color:var(--ks-muted)}
.koh-support .ks-close{align-self:flex-start;margin-left:auto;background:none;color:#59554d;border:0;border-radius:6px;padding:0;width:32px;height:32px;min-height:32px;font-size:26px;line-height:1}
.koh-support .ks-preview{background:#fff1df;color:#7f3d05;padding:6px 12px;text-align:center;font-size:10px;letter-spacing:.05em;flex-shrink:0}
.koh-support .ks-history,.koh-support-admin .ks-history{flex:1;min-height:80px;overflow:auto;overscroll-behavior:contain;scroll-behavior:auto;padding:20px 16px;background:#fff}
.koh-support .ks-message,.koh-support-admin .ks-message{max-width:92%;margin:0 0 16px;padding:12px 14px;border-radius:14px 14px 14px 3px;background:#f4f2ee;overflow-wrap:anywhere}
.koh-support .ks-message p,.koh-support-admin .ks-message p{font-size:13px;line-height:1.6;margin:4px 0 0;white-space:pre-wrap;color:var(--ks-ink)}
.koh-support .ks-message-meta,.koh-support-admin .ks-message-meta{font-size:10px;font-weight:600;color:var(--ks-muted)}
.koh-support .ks-role-visitor,.koh-support-admin .ks-role-agent{margin-left:auto;background:#fff0e4;border-radius:14px 14px 3px 14px}
.koh-support .ks-role-agent{border-left:3px solid var(--ks-orange)}
.koh-support .ks-role-system,.koh-support-admin .ks-role-system{max-width:100%;text-align:center;padding:6px 10px;background:none;border-radius:0}
.koh-support .ks-role-system p,.koh-support-admin .ks-role-system p{font-size:11px;color:var(--ks-muted)}
.koh-support .ks-resource,.koh-support-admin .ks-resource{display:block;width:100%;background:#fff;border:1px solid #dbd5cb;border-radius:9px;padding:10px 12px;margin-top:10px;text-decoration:none;text-align:left;color:#322b22;font-size:12px;line-height:1.45;min-height:42px}
.koh-support .ks-resource:hover,.koh-support-admin .ks-resource:hover{border-color:#a34200;background:#fffcf8}
.koh-support .ks-resource strong{display:block;font-size:12px;font-weight:600}
.koh-support .ks-resource span{display:block;font-size:11px;color:var(--ks-muted);margin-top:4px}
.koh-support .ks-suggestions{display:flex;gap:6px;flex-wrap:wrap;padding:4px 14px 12px;flex-shrink:0}
.koh-support .ks-suggestions button{background:#fff;border:1px solid #d9d4ca;border-radius:20px;min-height:36px;padding:7px 10px;color:#514b40;font-size:11px}
.koh-support .ks-suggestions button:hover{border-color:#a34200;color:#8b3a00}
.koh-support .ks-compose{display:flex;align-items:flex-end;gap:8px;margin:0 14px 8px;padding:10px;background:var(--ks-paper);border:1px solid var(--ks-line);border-radius:12px;flex-shrink:0}
.koh-support #ks-message{width:100%;min-height:44px;max-height:90px;resize:none;border:0;border-radius:0;padding:2px;background:transparent;box-shadow:none;color:var(--ks-ink);font-size:14px;line-height:1.5}
.koh-support .ks-send{background:var(--ks-orange);color:#15110d;border:0;border-radius:50%;width:38px;height:38px;min-height:38px;flex-shrink:0;font-size:25px;line-height:1;padding:0;font-weight:700}
.koh-support .ks-chat-footer{display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap;font-size:10px;padding:0 16px 12px;flex-shrink:0}
.koh-support .ks-chat-footer span{width:100%;text-align:center;color:var(--ks-muted);font-size:9px}
.koh-support .ks-human{border:0;background:none;color:#6b3d1d;text-decoration:underline;text-underline-offset:3px;padding:5px 0;font-size:11px;min-height:28px}
.koh-support .ks-privacy{color:var(--ks-muted);text-decoration:underline}
.koh-support .ks-error,.koh-support-admin .ks-error{margin:0;padding:0 16px 6px;color:#9c3413;font-size:12px;overflow-wrap:anywhere}
.koh-support .ks-error:empty,.koh-support-admin .ks-error:empty{display:none}
.koh-support .ks-contact{padding:10px 14px;background:var(--ks-paper);border-top:1px solid var(--ks-line);font-size:11px;flex-shrink:0}
.koh-support .ks-contact label{display:block;font-size:11px;margin:0 0 5px}
.koh-support .ks-contact label span{color:var(--ks-muted)}
.koh-support .ks-contact-line{display:flex;gap:6px}
.koh-support .ks-contact input[type=email]{height:35px;min-width:0;flex:1;padding:6px 9px;border:1px solid #cfc8ba;background:#fff;border-radius:6px;font-size:13px;color:var(--ks-ink)}
.koh-support .ks-contact button,.koh-support .ks-primary{background:#211e18;color:#fff;border:0;border-radius:6px;padding:7px 12px;min-height:35px;font-size:12px}
.koh-support .ks-contact .ks-consent{display:flex;gap:7px;align-items:flex-start;margin:7px 0 0;font-size:10px;color:#625c51}
.koh-support .ks-consent input{appearance:auto;width:14px;height:14px;min-width:14px;margin:1px 0 0;accent-color:#b54a00}
.koh-support .ks-contact-status{font-size:11px;margin:4px 0 0;color:#456143}
.koh-support .ks-contact-status:empty{display:none}
.koh-support .ks-new{margin:5px 16px 14px;border:1px solid #d2c9b8;background:var(--ks-paper);border-radius:8px;padding:10px;color:var(--ks-ink)}
.koh-support .ks-shipping{position:absolute;z-index:2;inset:100px 12px 80px;overflow:auto;border:1px solid #d9d1c3;border-radius:12px;background:#fffdf9;padding:16px;box-shadow:0 8px 35px #0002}
.koh-support .ks-shipping-title{display:flex;justify-content:space-between;align-items:center;gap:10px}
.koh-support .ks-shipping-close{border:0;background:none;color:#51483c;font-size:24px;padding:0;width:32px;height:32px;min-height:32px}
.koh-support .ks-shipping p{font-size:11px;color:var(--ks-muted);margin:6px 0 12px}
.koh-support .ks-quantity-grid label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:8px}
.koh-support .ks-quantity-grid input{width:64px;height:35px;border:1px solid #cfc8ba;border-radius:6px;background:#fff;color:var(--ks-ink);padding:5px;font-size:14px}
.koh-support .ks-shipping .ks-primary{width:100%;margin-top:4px}
.koh-support #ks-shipping-result{font-size:12px;margin-top:12px;color:#322b22;white-space:pre-wrap}
.koh-support .ks-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
/* Restricted to an authenticated preview page, so Tidio continues serving other visitors. */
body.koh-support-preview #tidio-chat,body.koh-support-preview #tidio-chat-iframe{display:none!important}
@media(max-width:599px){.koh-support .ks-launcher{bottom:calc(96px + env(safe-area-inset-bottom,0px));right:14px;min-height:46px;padding:10px 15px;font-size:12px}.koh-support .ks-panel{right:12px;width:calc(100vw - 24px);border-radius:17px}.koh-support .ks-chat-header{padding:15px 12px;gap:9px}.koh-support #ks-title{font-size:15px}.koh-support .ks-history{padding:16px 12px}.koh-support #ks-message,.koh-support #ks-email,.koh-support .ks-quantity-grid input{font-size:16px}.koh-support .ks-shipping{inset:85px 10px 60px}}
@media(prefers-reduced-motion:reduce){.koh-support *,.koh-support-admin *{scroll-behavior:auto!important;transition:none!important}}

.koh-support-admin{max-width:1500px;margin:24px 24px 20px 4px}
.koh-support-admin .ks-admin-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.koh-support-admin .ks-admin-header h1{font-size:28px;font-weight:600;color:#241e16;margin:0;padding:0}
.koh-support-admin .ks-admin-header p{margin:6px 0 0;color:var(--ks-muted)}
.koh-support-admin .ks-notice{padding:12px 16px;background:#fff4e6;border:1px solid #eddac0;border-radius:8px;color:#6b4822;font-size:12px;margin-bottom:16px}
.koh-support-admin .ks-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:20px;padding:12px 16px;background:#fff;border:1px solid var(--ks-line);border-bottom:0;border-radius:10px 10px 0 0}
.koh-support-admin .ks-toolbar label{font-weight:600;font-size:13px}
.koh-support-admin #ks-connection{margin-left:auto;font-size:11px;color:#62715e}
.koh-support-admin #ks-unread{font-size:12px;color:var(--ks-muted)}
.koh-support-admin .ks-inbox{display:grid;grid-template-columns:290px minmax(0,1fr);border:1px solid var(--ks-line);border-radius:0 0 10px 10px;overflow:hidden;background:#fff;min-height:620px}
.koh-support-admin .ks-sidebar{padding:16px 10px;border-right:1px solid var(--ks-line);background:var(--ks-paper)}
.koh-support-admin .ks-sidebar>label{font-size:11px;color:var(--ks-muted);display:block;margin:0 7px 5px}
.koh-support-admin #ks-filter{width:calc(100% - 14px);margin:0 7px 14px;border-color:#d8d1c5;min-height:36px}
.koh-support-admin #ks-list{max-height:600px;overflow:auto}
.koh-support-admin .ks-thread{width:100%;display:block;border:1px solid transparent;border-radius:8px;text-align:left;background:none;color:var(--ks-ink);padding:12px 10px;margin:0 0 6px;cursor:pointer;overflow-wrap:anywhere}
.koh-support-admin .ks-thread:hover{background:#f0ece5}
.koh-support-admin .ks-thread.is-active{border-color:#ebc7a7;background:#fff1e5}
.koh-support-admin .ks-thread strong{display:block;font-size:13px;font-weight:600}
.koh-support-admin .ks-thread-info{display:block;color:#785b39;font-size:10px;margin:5px 0}
.koh-support-admin .ks-thread-preview{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5;font-size:11px;color:var(--ks-muted)}
.koh-support-admin .ks-list-empty{padding:16px;color:var(--ks-muted);text-align:center}
.koh-support-admin .ks-pager{display:flex;align-items:center;justify-content:center;gap:14px;padding:12px 0}
.koh-support-admin .ks-workspace{min-width:0;position:relative}
.koh-support-admin .ks-empty{min-height:600px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:32px}
.koh-support-admin .ks-empty-mark{font:64px Georgia,serif;border:1px solid #d8cbb7;border-radius:50%;width:100px;height:100px;line-height:100px;background:var(--ks-paper);color:#5b4c38;margin-bottom:20px}
.koh-support-admin .ks-empty h2{font-size:19px;font-weight:500;color:#443a2c}
.koh-support-admin .ks-empty p{color:var(--ks-muted)}
.koh-support-admin .ks-detail-header{padding:18px 20px;border-bottom:1px solid var(--ks-line);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.koh-support-admin .ks-detail-header p{font-size:11px;color:var(--ks-muted);margin:5px 0 0;overflow-wrap:anywhere}
.koh-support-admin .ks-detail-actions{display:flex;gap:7px;flex-wrap:wrap}
.koh-support-admin .ks-copy-note{padding:9px 20px;margin:0;background:#faf9f6;color:#766c5b;font-size:11px;border-bottom:1px solid var(--ks-line)}
.koh-support-admin .ks-history{height:370px;padding:20px}
.koh-support-admin .ks-message{max-width:80%}
.koh-support-admin .ks-message p{font-size:13px}
.koh-support-admin #ks-reply{border-top:1px solid var(--ks-line);padding:14px 20px}
.koh-support-admin #ks-reply>label{display:block;margin-bottom:6px;font-size:12px;font-weight:600}
.koh-support-admin #ks-reply-text{width:100%;resize:vertical;min-height:80px;border:1px solid #d6cdbf;border-radius:8px;padding:10px;line-height:1.6}
.koh-support-admin .ks-reply-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}
.koh-support-admin .ks-reply-bottom select{max-width:65%;font-size:12px}
.koh-support-admin .button-primary{background:#27221a;border-color:#27221a;color:white}
.koh-support-admin .button-primary:hover{background:#493b2d;border-color:#493b2d}
.koh-support-admin .ks-admin-footer{color:var(--ks-muted);font-size:11px;line-height:1.7;padding:14px 4px}
@media(max-width:900px){.koh-support-admin{margin:16px 12px 12px 0}.koh-support-admin .ks-inbox{grid-template-columns:230px minmax(0,1fr)}.koh-support-admin .ks-detail-header{padding:14px}.koh-support-admin .ks-copy-note{padding:9px 14px}}
@media(max-width:650px){.koh-support-admin .ks-admin-header{align-items:flex-start}.koh-support-admin .ks-admin-header h1{font-size:23px}.koh-support-admin .ks-inbox{display:block;min-height:0}.koh-support-admin .ks-sidebar{border-right:0;border-bottom:1px solid var(--ks-line)}.koh-support-admin #ks-list{max-height:210px}.koh-support-admin .ks-empty{min-height:250px}.koh-support-admin .ks-history{height:330px}.koh-support-admin .ks-message{max-width:94%}.koh-support-admin .ks-toolbar{gap:12px}.koh-support-admin #ks-connection{width:100%;margin-left:0}.koh-support-admin #ks-reply-text{font-size:16px}.koh-support-admin .ks-detail-actions .button{min-height:36px}}

.koh-support .ks-ai-notice{margin:0;padding:8px 16px;background:#faf9f6;color:#555;font-size:11px;line-height:1.4;flex-shrink:0}
