/* BOXOO v3.21.0 — Support Chat Core */
.boxoo-support-widget{position:fixed;right:22px;bottom:22px;z-index:1200;font-family:var(--font-ui,"Segoe UI Variable","Segoe UI",Arial,sans-serif)}
.support-launcher{min-height:46px;padding:0 18px;border:1px solid rgba(204,92,48,.22);border-radius:14px;background:#d86f40;color:#fff;font:700 14px/1 inherit;box-shadow:0 8px 24px rgba(74,48,32,.16);cursor:pointer;display:flex;align-items:center;gap:9px}
.support-launcher b{min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#fff;color:#b84f25;display:grid;place-items:center;font-size:11px}
.support-chat-panel{display:none;position:absolute;right:0;bottom:58px;width:min(390px,calc(100vw - 28px));height:min(590px,calc(100vh - 110px));background:#fffdf9;border:1px solid #e9ddcf;border-radius:18px;box-shadow:0 20px 50px rgba(61,43,28,.2);overflow:hidden}
.boxoo-support-widget.is-open .support-chat-panel{display:flex;flex-direction:column}
.support-chat-panel-head{padding:15px 16px;border-bottom:1px solid #eadfd3;display:flex;align-items:center;justify-content:space-between;background:#fffaf4}
.support-chat-panel-head>div{display:flex;flex-direction:column;gap:2px}.support-chat-panel-head strong{font-size:16px}.support-chat-panel-head span{font-size:12px;color:#80766d}
.support-chat-panel-head button{width:34px;height:34px;border:0;background:transparent;border-radius:9px;font-size:25px;color:#6f655c;cursor:pointer}
.support-chat-body{min-height:0;flex:1;display:flex;flex-direction:column;padding:12px;gap:10px}
.support-conversation-list{display:grid;gap:6px;max-height:145px;overflow:auto;padding-right:2px}
.support-conversation-list button{width:100%;border:1px solid #e8ddd2;background:#fff;border-radius:11px;padding:9px 10px;text-align:left;display:flex;justify-content:space-between;align-items:center;gap:8px;cursor:pointer}
.support-conversation-list button.is-active{border-color:#d97b52;background:#fff8f3}.support-conversation-list span{display:flex;flex-direction:column;min-width:0;gap:2px}.support-conversation-list strong{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.support-conversation-list small{color:#897d73;font-size:11px}.support-conversation-list b{min-width:20px;height:20px;border-radius:999px;background:#d86f40;color:white;display:grid;place-items:center;font-size:11px}
.support-chat-context{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:5px 2px}.support-chat-context strong{font-size:13px}.support-chat-context span{font-size:11px;color:#897d73}
.support-chat-transcript{min-height:0;flex:1;overflow:auto;display:flex;flex-direction:column;gap:8px;padding:3px 2px}
.support-chat-intro{margin:auto 10px;text-align:center;padding:28px 15px}.support-chat-intro.compact{margin:auto 8px;padding:20px 12px}.support-chat-intro strong{font-size:17px}.support-chat-intro p{margin:7px 0;color:#766d65;font-size:13px;line-height:1.45}.support-chat-intro span{display:block;font-size:12px;color:#a05a3b;margin-top:8px}
.support-message{max-width:84%;display:flex;flex-direction:column;gap:4px}.support-message>div{padding:9px 11px;border-radius:13px;font-size:13px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.support-message small{font-size:10.5px;color:#93877c;padding:0 4px}.support-message.is-customer{align-self:flex-end;align-items:flex-end}.support-message.is-customer>div{background:#d86f40;color:#fff;border-bottom-right-radius:4px}.support-message.is-support{align-self:flex-start}.support-message.is-support>div{background:#f2eee9;color:#282522;border-bottom-left-radius:4px}
.support-chat-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.support-chat-compose textarea{resize:none;min-height:44px;max-height:110px;border:1px solid #ddd0c2;border-radius:12px;padding:10px 11px;font:400 13px/1.35 inherit;background:#fff}.support-chat-compose textarea:focus{outline:2px solid rgba(216,111,64,.2);border-color:#d86f40}.support-chat-compose button,.support-new-conversation{height:44px;border:0;border-radius:12px;background:#d86f40;color:#fff;padding:0 14px;font-weight:700;cursor:pointer}.support-chat-compose button:disabled{opacity:.55;cursor:default}
.support-chat-error{font-size:12px;color:#a33025;background:#fff0ed;border-radius:9px;padding:8px 10px}.support-chat-closed{font-size:12px;color:#756b62;background:#f4f0eb;border-radius:10px;padding:9px 10px}.support-new-conversation{background:#fff;border:1px solid #d9cabc;color:#a44d29}
.support-inline-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px}.support-inline-head span{font-size:12px;color:#a65d3d}.support-inline-head h2{margin:3px 0 0;font-size:24px}.support-inline-head small{color:#837970}.support-inline-shell{height:min(650px,70vh);border:1px solid #e6dbcf;border-radius:16px;background:#fffdf9;overflow:hidden;display:flex}.support-inline-shell>.support-chat-body{padding:16px}.support-inline-shell .support-conversation-list{max-height:170px}.support-inline-shell .support-message{max-width:72%}
@media(max-width:640px){.boxoo-support-widget{right:12px;bottom:12px}.support-launcher{min-height:44px;padding:0 15px}.support-chat-panel{position:fixed;inset:8px;width:auto;height:auto;border-radius:16px}.support-inline-head{align-items:flex-start;flex-direction:column;gap:5px}.support-inline-shell{height:68vh}.support-inline-shell .support-message{max-width:88%}}
@media(prefers-reduced-motion:reduce){.support-launcher,.support-chat-panel{scroll-behavior:auto}}
/* BOXOO v3.21.7 — Support Lifecycle & Archive */
.support-history-toggle{align-self:flex-start;border:1px solid #e5d7ca;background:#fff;color:#9e4f2f;border-radius:10px;padding:7px 10px;font:650 11.5px/1 inherit;cursor:pointer;display:flex;align-items:center;gap:6px}.support-history-toggle:hover{border-color:#d7ab95;background:#fff8f3}.support-history-toggle b{min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#f7e5dc;color:#a9522d;display:grid;place-items:center;font-size:10px}.support-message.is-system{align-self:center;align-items:center;max-width:92%;text-align:center}.support-message.is-system>div{background:#f5f2ee;color:#766d65;border:1px solid #e7ddd3;border-radius:999px;padding:7px 11px;font-size:11.5px}.support-message.is-system small{color:#9a8e84}

/* BOXOO v3.21.8 — new-conversation intent persistence + direct entry */
.support-chat-nav-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.support-chat-nav-actions .support-history-toggle{align-self:auto}.support-new-shortcut{color:#6f5a4d;background:#fffdf9}.support-new-shortcut:hover{color:#9e4f2f}

/* BOXOO v3.21.10 — Support Chat Selector Stability + Toolbar Alignment */
.boxoo-support-widget{right:24px;bottom:24px;font-family:var(--font-sans,"Segoe UI Variable","Segoe UI",Arial,sans-serif)}
.support-launcher{min-height:48px;padding:0 15px 0 12px;border:1px solid var(--line-strong,#dbcdbf);border-radius:14px;background:var(--surface,#fffdf9);color:var(--ink,#302e2b);font:700 14px/1 var(--font-sans,inherit);box-shadow:var(--shadow-sm,0 10px 30px rgba(76,58,42,.065));gap:9px;transition:border-color var(--transition-fast,150ms ease),background var(--transition-fast,150ms ease),transform var(--transition-fast,150ms ease),box-shadow var(--transition-fast,150ms ease)}
.support-launcher:hover{border-color:#d8b7a7;background:#fffaf6;transform:translateY(-1px);box-shadow:0 14px 34px rgba(76,58,42,.09)}
.support-launcher-icon,.support-head-mark{display:grid;place-items:center;flex:none;color:var(--accent,#d36f43)}
.support-launcher-icon{width:26px;height:26px;border-radius:9px;background:var(--accent-pale,#fcf0e9)}
.support-launcher-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.support-launcher b{min-width:20px;height:20px;padding:0 5px;background:var(--accent,#d36f43);color:#fff;font-size:11px;border:2px solid var(--surface,#fffdf9)}
.support-chat-panel{right:0;bottom:60px;width:min(424px,calc(100vw - 32px));height:min(650px,calc(100dvh - 112px));background:var(--surface,#fffdf9);border:1px solid var(--line,#e9dfd4);border-radius:18px;box-shadow:var(--shadow-lg,0 32px 90px rgba(65,52,41,.14));overflow:hidden}
.support-chat-panel-head{min-height:64px;padding:12px 14px 12px 16px;border-bottom:1px solid var(--line,#e9dfd4);background:var(--surface,#fffdf9);align-items:center}
.support-head-brand{display:flex!important;flex-direction:row!important;align-items:center;gap:10px!important}
.support-head-mark{width:34px;height:34px;border-radius:11px;background:var(--accent-pale,#fcf0e9)}
.support-head-mark svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.support-chat-panel-head .support-head-brand>div{display:flex;flex-direction:column;gap:0}
.support-chat-panel-head .support-head-brand strong{font-size:15px;line-height:1.25;color:var(--ink,#302e2b)}
.support-chat-panel-head .support-head-brand span:not(.support-head-mark){font-size:11px;line-height:1.3;color:var(--muted,#7c766f);letter-spacing:.08em}
.support-panel-close{width:38px!important;height:38px!important;border:1px solid transparent!important;border-radius:11px!important;display:grid;place-items:center;padding:0!important;color:var(--muted,#7c766f)!important;transition:background var(--transition-fast,150ms ease),border-color var(--transition-fast,150ms ease)}
.support-panel-close:hover{background:var(--surface-soft,#faf6f0)!important;border-color:var(--line,#e9dfd4)!important}
.support-panel-close svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.support-chat-body{padding:0;gap:0;background:var(--surface,#fffdf9)}
.support-chat-toolbar{padding:12px 14px;border-bottom:1px solid var(--line,#e9dfd4);background:var(--surface,#fffdf9);display:grid;gap:10px}
.support-chat-switcher-row{display:block;min-width:0;width:100%}
.support-context-switcher{display:grid;gap:5px;min-width:0;width:100%}
.support-context-switcher>span,.support-current-context>span{font-size:10.5px;font-weight:700;color:var(--muted,#7c766f);line-height:1.2}
.support-context-switcher select{width:100%;height:40px;border:1px solid var(--line-strong,#dbcdbf);border-radius:11px;background:var(--surface,#fffdf9);padding:0 34px 0 11px;font-size:13px;font-weight:650;outline:0;white-space:nowrap;text-overflow:ellipsis}
.support-context-switcher select:hover{border-color:#d8b7a7}
.support-context-switcher select:focus{border-color:var(--accent,#d36f43);box-shadow:0 0 0 3px rgba(211,111,67,.10)}
.support-current-context{display:grid;gap:4px;min-width:0;width:100%}
.support-current-context strong{font-size:13.5px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ink,#302e2b)}
.support-current-context.is-new strong{color:var(--accent-hover,#b95c34)}
.support-context-status{flex:none;height:36px;min-height:36px;border-radius:10px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;font-size:11.5px;font-weight:700;line-height:1;white-space:nowrap;background:var(--surface-soft,#faf6f0);color:var(--muted,#7c766f)}
.support-context-status.is-new{background:#fff2e6;color:#a85d35}.support-context-status.is-in_progress{background:var(--accent-pale,#fcf0e9);color:var(--accent-hover,#b95c34)}.support-context-status.is-waiting_customer{background:var(--sage-soft,#e7ece3);color:#53644b}.support-context-status.is-closed,.support-context-status.is-archive{background:#f1efeb;color:#716a63}
.support-chat-toolbar-bottom{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}.support-chat-nav-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.support-history-toggle{min-height:36px;align-self:auto;border:1px solid var(--line,#e9dfd4);background:var(--surface,#fffdf9);color:var(--ink-soft,#5b5752);border-radius:10px;padding:0 10px;font:700 11.5px/1 var(--font-sans,inherit);gap:6px;transition:border-color var(--transition-fast,150ms ease),background var(--transition-fast,150ms ease),color var(--transition-fast,150ms ease)}
.support-history-toggle:hover{border-color:var(--line-strong,#dbcdbf);background:var(--surface-soft,#faf6f0);color:var(--ink,#302e2b)}
.support-history-toggle b{min-width:18px;height:18px;background:var(--accent-pale,#fcf0e9);color:var(--accent-hover,#b95c34);font-size:10px}
.support-new-shortcut{border-color:#e8cabc;background:#fffaf6;color:var(--accent-hover,#b95c34)}
.support-new-shortcut:hover{border-color:#dcae98;background:var(--accent-pale,#fcf0e9);color:var(--accent-hover,#b95c34)}
.support-chat-transcript{min-height:0;flex:1;padding:18px 16px 16px;gap:10px;background:var(--page,#fbf8f3);scrollbar-gutter:stable}
.support-message-list{display:flex;flex-direction:column;gap:10px;width:100%;margin:auto 0 0}
.support-message{max-width:82%;gap:4px}
.support-message>div{padding:10px 12px;border:1px solid var(--line,#e9dfd4);border-radius:14px;background:var(--surface,#fffdf9);color:var(--ink,#302e2b);font-size:13.5px;line-height:1.5;box-shadow:var(--shadow-xs,0 2px 8px rgba(65,52,41,.035))}
.support-message small{padding:0 3px;color:var(--muted-light,#9b958e);font-size:10.5px;line-height:1.3}
.support-message.is-customer>div{background:var(--accent-pale,#fcf0e9);color:var(--ink,#302e2b);border-color:#edd1c2;border-bottom-right-radius:5px}
.support-message.is-support>div{background:var(--surface,#fffdf9);color:var(--ink,#302e2b);border-color:var(--line,#e9dfd4);border-bottom-left-radius:5px}
.support-message.is-system{max-width:94%;margin:4px 0}
.support-message.is-system>div{padding:6px 10px;border:0;border-radius:999px;background:#f0ede8;color:var(--muted,#7c766f);font-size:11px;box-shadow:none}
.support-chat-intro{margin:auto;max-width:300px;padding:28px 16px;text-align:center}
.support-chat-intro.compact{margin:auto;max-width:300px;padding:20px 16px}
.support-intro-icon{width:42px;height:42px;margin:0 auto 12px!important;border-radius:14px;display:grid!important;place-items:center;background:var(--accent-pale,#fcf0e9);color:var(--accent-hover,#b95c34)!important;font-size:17px!important;font-weight:800!important}
.support-chat-intro strong{font-size:17px;line-height:1.3;color:var(--ink,#302e2b)}
.support-chat-intro p{margin:7px 0 0;color:var(--muted,#7c766f);font-size:13px;line-height:1.5}
.support-chat-intro>span:not(.support-intro-icon){margin-top:8px;color:var(--accent-hover,#b95c34);font-size:11.5px}
.support-chat-compose{display:block;padding:12px 14px 14px;border-top:1px solid var(--line,#e9dfd4);background:var(--surface,#fffdf9)}
.support-chat-compose textarea{display:block;width:100%;min-height:96px;max-height:150px;resize:none;border:1px solid var(--line-strong,#dbcdbf);border-radius:12px;padding:11px 13px;background:#fff;color:var(--ink,#302e2b);font:400 13.5px/1.5 var(--font-sans,inherit);outline:0;transition:border-color var(--transition-fast,150ms ease),box-shadow var(--transition-fast,150ms ease)}
.support-chat-compose textarea:hover{border-color:#d8b7a7}.support-chat-compose textarea:focus{outline:0;border-color:var(--accent,#d36f43);box-shadow:0 0 0 3px rgba(211,111,67,.11)}
.support-compose-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px}
.support-compose-footer>span{min-width:0;color:var(--muted-light,#9b958e);font-size:10.5px;line-height:1.3}
.support-chat-compose button{flex:none;min-width:102px;height:40px;border:0;border-radius:11px;background:var(--accent,#d36f43);color:#fff;padding:0 14px;font:700 12.5px/1 var(--font-sans,inherit);box-shadow:0 6px 16px rgba(211,111,67,.15);transition:background var(--transition-fast,150ms ease),transform var(--transition-fast,150ms ease)}
.support-chat-compose button:hover:not(:disabled){background:var(--accent-hover,#b95c34);transform:translateY(-1px)}
.support-chat-compose button:disabled{opacity:.5;box-shadow:none}
.support-chat-error{margin:0 14px 10px;border:1px solid #efc8c2;background:#fff3f1;color:#9d3f35;border-radius:10px;padding:8px 10px;font-size:11.5px}
.support-chat-closed{margin:0;padding:11px 14px;border-top:1px solid var(--line,#e9dfd4);border-radius:0;background:#f5f2ee;color:var(--muted,#7c766f);font-size:11.5px;line-height:1.45}
.support-inline-head{margin-bottom:14px;align-items:flex-end}.support-inline-head>div>span{font-size:11px;font-weight:800;letter-spacing:.08em;color:var(--accent,#d36f43)}.support-inline-head h2{margin:2px 0 0;font-family:var(--font-sans);font-size:24px;line-height:1.2}.support-inline-head small{display:none}
.support-inline-shell{height:min(690px,72vh);border:1px solid var(--line,#e9dfd4);border-radius:18px;background:var(--surface,#fffdf9);box-shadow:var(--shadow-xs,0 2px 8px rgba(65,52,41,.035));overflow:hidden}
.support-inline-shell>.support-chat-body{padding:0}.support-inline-shell .support-message{max-width:min(72%,680px)}
@media(max-width:640px){
  .boxoo-support-widget{right:12px;bottom:12px}.support-launcher{min-height:46px;padding:0 13px 0 10px}
  .support-chat-panel{position:fixed;inset:0;width:auto;height:100dvh;border:0;border-radius:0;box-shadow:none}
  .support-chat-panel-head{min-height:60px;padding:10px 12px 10px 14px}
  .support-chat-toolbar{padding:10px 12px;gap:8px}.support-context-status{height:34px;min-height:34px;padding:0 10px}
  .support-context-switcher select{height:40px;font-size:12.5px}.support-chat-nav-actions{gap:5px}.support-history-toggle{min-height:34px;padding:0 9px}
  .support-chat-transcript{padding:14px 12px}.support-message{max-width:88%}.support-message>div{font-size:13px}
  .support-chat-compose{padding:10px 12px max(12px,env(safe-area-inset-bottom))}.support-chat-compose textarea{min-height:96px;max-height:132px}.support-compose-footer>span{display:none}.support-chat-compose button{height:42px;min-width:108px}
  .support-inline-head{margin-bottom:10px}.support-inline-head h2{font-size:21px}.support-inline-shell{height:70vh;border-radius:16px}.support-inline-shell .support-message{max-width:88%}
}
@media(max-width:390px){.support-history-toggle{font-size:11px}.support-chat-toolbar-bottom{align-items:center}.support-chat-nav-actions{flex-wrap:wrap}.support-chat-nav-actions button,.support-context-status{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.support-launcher,.support-chat-panel,.support-chat-compose button{transition:none!important;transform:none!important}}

