/* ShippingToGo B2C app: Tsif full screen. Same brand as the site. */
:root{--teal:#008a95;--teal-ink:#006c75;--deep:#08434a;--night:#052f34;--orange:#f07818;--tint:#f2f8f8;--line:#d6e7e8;--fg:#11262d;--muted:#557079}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{height:100%;margin:0}
body{display:flex;flex-direction:column;font-family:"Nunito Sans","Segoe UI",system-ui,-apple-system,sans-serif;color:var(--fg);background:var(--tint);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
.top{display:flex;align-items:center;gap:10px;padding:calc(10px + env(safe-area-inset-top)) 14px 10px;background:var(--deep);color:#fff}
.top .av{border-radius:50%;background:#fff;padding:2px}
.who{display:flex;flex-direction:column;flex:1;line-height:1.2}
.who b{font-family:Quicksand,sans-serif;font-size:18px}
.who span{font-size:13px;opacity:.85}
.who i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#3ddc84;margin-right:6px}
.install{border:0;border-radius:999px;background:var(--orange);color:#fff;font-weight:700;padding:8px 14px;font-size:14px;cursor:pointer}
.ic{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:50%;background:none;color:inherit;cursor:pointer;flex:none}
.ic svg{width:22px;height:22px}
.top .ic:hover{background:rgba(255,255,255,.12)}
#log{flex:1;overflow-y:auto;padding:16px 14px 8px;display:flex;flex-direction:column;gap:10px;max-width:820px;width:100%;margin:0 auto}
.m{max-width:85%;padding:10px 14px;border-radius:18px;white-space:pre-wrap;word-wrap:break-word;animation:in .18s ease-out}
.m.bot{background:#fff;border:1px solid var(--line);border-bottom-left-radius:6px;align-self:flex-start}
.m.me{background:var(--teal);color:#fff;border-bottom-right-radius:6px;align-self:flex-end}
.m.me img{display:block;max-width:220px;border-radius:12px}
.m.typing{color:var(--muted);font-style:italic}
.m a{color:var(--teal-ink);word-break:break-all}
.m a.pay{display:inline-block;margin:6px 0;padding:11px 20px;border-radius:999px;background:var(--orange);color:#fff;font-weight:700;text-decoration:none;word-break:normal}
@keyframes in{from{opacity:0;transform:translateY(4px)}}
.chips{display:flex;gap:8px;flex-wrap:wrap;padding:0 14px 8px;max-width:820px;width:100%;margin:0 auto}
.chips button{border:1px solid var(--line);background:#fff;color:var(--teal-ink);border-radius:999px;padding:7px 14px;font:inherit;font-size:14px;cursor:pointer}
.chips button:hover{border-color:var(--teal)}
#bar{display:flex;align-items:center;gap:4px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}
#bar .ic{color:var(--muted)}
#bar .ic:hover{background:var(--tint);color:var(--teal-ink)}
#bar .ic.on{color:#d33;background:rgba(221,51,51,.1)}
#msg{flex:1;min-width:0;border:1px solid var(--line);border-radius:999px;padding:11px 16px;font:inherit;outline:none}
#msg:focus{border-color:var(--teal)}
.send{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--teal);color:#fff;cursor:pointer;flex:none}
.send svg{width:20px;height:20px}
.sheet{position:fixed;left:12px;right:12px;bottom:calc(84px + env(safe-area-inset-bottom));background:#fff;border-radius:16px;padding:16px;box-shadow:0 18px 50px -12px rgba(8,67,74,.35)}
.sheet p{margin:6px 0 12px;color:var(--muted)}
.sheet button{border:0;border-radius:999px;background:var(--teal);color:#fff;padding:8px 16px;font-weight:700}
body.embed .install{display:none!important}
@media (max-width:420px){#bar{gap:0}.ic{width:36px}}
