/* Tablez chat widget (v6.16.0). Colours are variables so the same file works on tablez.co.uk and tablez.uk. */
#helper-root { --tc: #0f5c4c; --tc-d: #0b463a; --tc-soft: #e7f3ef; --tc-bg: #ffffff; --tc-surface: #f4f7f6; --tc-line: #dbe5e1; --tc-ink: #16231f; --tc-mute: #5a6a65; --tc-accent: #f2b441; font-family: inherit; }
@media (prefers-color-scheme: dark) { #helper-root { --tc: #3fb596; --tc-d: #2e9a7e; --tc-soft: #17332c; --tc-bg: #14201d; --tc-surface: #0e1815; --tc-line: #29403a; --tc-ink: #e8f2ee; --tc-mute: #9db3ac; } }
.tc-fab { position: fixed; right: 1rem; bottom: 1rem; z-index: 2147483000; display: inline-flex; align-items: center; gap: .5rem; border: 0; cursor: pointer; border-radius: 999px; padding: .75rem 1.1rem .75rem .9rem; font: 700 .92rem/1 inherit; color: #fff; background: var(--tc); box-shadow: 0 10px 28px rgba(15,92,76,.38); transition: transform .15s ease, box-shadow .15s ease; }
@media (prefers-color-scheme: dark) { .tc-fab { color: #06211a; } }
.tc-fab:hover { transform: translateY(-2px); }
.tc-fab:focus-visible, .tc-link:focus-visible, .tc-chips button:focus-visible, .tc-video:focus-visible, .tc-form input:focus-visible, .tc-form button:focus-visible { outline: 3px solid var(--tc-accent); outline-offset: 2px; }
.tc-fab svg { width: 1.25rem; height: 1.25rem; flex: none; }
.tc-open .tc-fab { display: none; }
.tc-teaser { position: fixed; right: 1rem; bottom: 4.6rem; z-index: 2147483000; max-width: 15rem; display: flex; gap: .4rem; align-items: flex-start; background: var(--tc-bg); color: var(--tc-ink); border: 1px solid var(--tc-line); border-radius: 14px 14px 4px 14px; padding: .65rem .75rem; font-size: .88rem; line-height: 1.35; box-shadow: 0 10px 28px rgba(0,0,0,.18); animation: tc-pop .35s ease both; }
.tc-teaser span { cursor: pointer; } .tc-teaser button { border: 0; background: none; color: var(--tc-mute); font-size: 1.1rem; line-height: 1; cursor: pointer; padding: 0; }
.tc-panel { position: fixed; right: 1rem; bottom: 1rem; z-index: 2147483001; width: min(400px, calc(100vw - 2rem)); height: min(640px, calc(100vh - 2rem)); display: flex; flex-direction: column; background: var(--tc-bg); color: var(--tc-ink); border: 1px solid var(--tc-line); border-radius: 18px; box-shadow: 0 24px 64px rgba(0,0,0,.28); overflow: hidden; animation: tc-pop .22s ease both; }
.tc-panel[hidden], .tc-modal[hidden], .tc-teaser[hidden], .tc-chips[hidden] { display: none; }
.tc-head { display: flex; align-items: center; gap: .65rem; padding: .8rem .9rem; background: var(--tc); color: #fff; }
@media (prefers-color-scheme: dark) { .tc-head { color: #06211a; } }
.tc-avatar { width: 2.3rem; height: 2.3rem; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: none; } .tc-avatar svg { width: 1.2rem; height: 1.2rem; }
.tc-title { display: flex; flex-direction: column; min-width: 0; flex: 1; } .tc-title strong { font-size: .98rem; } .tc-title span { font-size: .76rem; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-head button { border: 0; background: rgba(255,255,255,.16); color: inherit; border-radius: 8px; cursor: pointer; font: 600 .74rem/1 inherit; padding: .4rem .55rem; }
.tc-head .tc-x { font-size: 1.2rem; line-height: 1; padding: .25rem .55rem; }
.tc-log { flex: 1; overflow-y: auto; padding: .9rem; display: flex; flex-direction: column; gap: .65rem; background: var(--tc-surface); scroll-behavior: smooth; }
.tc-msg { max-width: 92%; padding: .65rem .8rem; border-radius: 14px; font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; animation: tc-pop .2s ease both; }
.tc-me { align-self: flex-end; background: var(--tc); color: #fff; border-bottom-right-radius: 4px; white-space: pre-wrap; }
@media (prefers-color-scheme: dark) { .tc-me { color: #06211a; } }
.tc-bot { align-self: flex-start; background: var(--tc-bg); border: 1px solid var(--tc-line); border-bottom-left-radius: 4px; }
.tc-bot p { margin: 0 0 .5rem; } .tc-bot p:last-child { margin-bottom: 0; } .tc-bot ol, .tc-bot ul { margin: .1rem 0 .55rem; padding-left: 1.25rem; } .tc-bot li { margin: .15rem 0; }
.tc-bot a { color: var(--tc); font-weight: 600; }
.tc-typing { display: flex; gap: .3rem; padding: .85rem 1rem; } .tc-typing span { width: .45rem; height: .45rem; border-radius: 50%; background: var(--tc-mute); animation: tc-dot 1s infinite ease-in-out; } .tc-typing span:nth-child(2) { animation-delay: .15s; } .tc-typing span:nth-child(3) { animation-delay: .3s; }
.tc-video { display: flex; gap: .65rem; align-items: center; width: 100%; margin: .55rem 0 0; padding: .4rem; border: 1px solid var(--tc-line); border-radius: 12px; background: var(--tc-soft); color: var(--tc-ink); cursor: pointer; text-align: left; font: inherit; transition: border-color .15s; }
.tc-video:hover { border-color: var(--tc); }
.tc-thumb { position: relative; width: 5.6rem; aspect-ratio: 16 / 9; flex: none; border-radius: 8px; background: #123 center / cover no-repeat; overflow: hidden; }
.tc-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.28); color: #fff; } .tc-play svg { width: 1.6rem; height: 1.6rem; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.tc-vt { display: flex; flex-direction: column; min-width: 0; } .tc-vt b { font-size: .84rem; line-height: 1.25; } .tc-vt i { font-style: normal; font-size: .74rem; color: var(--tc-mute); }
.tc-links, .tc-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.tc-link { display: inline-block; border: 1px solid var(--tc-line); background: var(--tc-bg); color: var(--tc) !important; border-radius: 999px; padding: .38rem .75rem; font-size: .8rem; text-decoration: none; font-weight: 600; }
.tc-link:hover { border-color: var(--tc); }
.tc-cta { background: var(--tc); border-color: var(--tc); color: #fff !important; } @media (prefers-color-scheme: dark) { .tc-cta { color: #06211a !important; } }
.tc-chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 .9rem .7rem; background: var(--tc-surface); }
.tc-chips button { border: 1px solid var(--tc-line); background: var(--tc-bg); color: var(--tc-ink); border-radius: 999px; padding: .4rem .75rem; font: .8rem/1.2 inherit; cursor: pointer; text-align: left; } .tc-chips button:hover { border-color: var(--tc); }
.tc-form { display: flex; gap: .45rem; padding: .65rem; border-top: 1px solid var(--tc-line); background: var(--tc-bg); }
.tc-form input { flex: 1; min-width: 0; border: 1px solid var(--tc-line); border-radius: 12px; padding: .65rem .8rem; font: .92rem inherit; background: var(--tc-surface); color: var(--tc-ink); }
.tc-form button { border: 0; border-radius: 12px; width: 2.8rem; background: var(--tc); color: #fff; cursor: pointer; display: grid; place-items: center; } .tc-form button svg { width: 1.2rem; height: 1.2rem; }
@media (prefers-color-scheme: dark) { .tc-form button { color: #06211a; } }
.tc-foot { font-size: .7rem; line-height: 1.35; color: var(--tc-mute); padding: 0 .85rem .6rem; background: var(--tc-bg); } .tc-foot a { color: var(--tc); }
.tc-modal { position: fixed; inset: 0; z-index: 2147483002; background: rgba(5,12,10,.78); display: grid; place-items: center; padding: 1rem; }
.tc-modal-box { width: min(900px, 100%); background: #0b1512; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,.6); }
.tc-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem .9rem; color: #fff; } .tc-modal-head strong { font-size: .95rem; }
.tc-modal-x { border: 0; background: rgba(255,255,255,.16); color: #fff; border-radius: 8px; font-size: 1.3rem; line-height: 1; padding: .2rem .6rem; cursor: pointer; }
.tc-modal video { display: block; width: 100%; max-height: 72vh; background: #000; }
.tc-modal-foot { padding: .6rem .9rem; font-size: .82rem; } .tc-modal-foot a { color: #9fe3cf; }
/* v6.47.0 live chat */
.tc-human { border: 0; background: none; color: var(--tc); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0; }
.tc-actions .tc-human { text-decoration: none; display: inline-block; border: 1px solid var(--tc-line); background: var(--tc-bg); border-radius: 999px; padding: .38rem .75rem; font-size: .8rem; }
.tc-attach { border: 0; border-radius: 12px; width: 2.6rem; background: var(--tc-soft); color: var(--tc); cursor: pointer; display: grid; place-items: center; } .tc-attach[hidden] { display: none; }
.tc-badge { position: absolute; top: -.35rem; right: -.35rem; min-width: 1.25rem; height: 1.25rem; border-radius: 999px; background: #c62828; color: #fff; font: 700 .72rem/1.25rem inherit; text-align: center; padding: 0 .3rem; } .tc-badge[hidden] { display: none; }
.tc-fab { position: fixed; }
.tc-person { border-color: var(--tc); }
.tc-who { font-size: .7rem; font-weight: 700; color: var(--tc); margin-bottom: .15rem; text-transform: uppercase; letter-spacing: .04em; }
.tc-img { display: block; max-width: 100%; max-height: 240px; border-radius: 10px; margin-top: .35rem; }
.tc-seen { font-size: .68rem; opacity: .75; text-align: right; margin-top: .2rem; }
.tc-startbox { display: flex; flex-direction: column; gap: .45rem; width: 100%; max-width: 100%; }
.tc-in { border: 1px solid var(--tc-line); border-radius: 10px; padding: .55rem .7rem; font: .9rem inherit; background: var(--tc-surface); color: var(--tc-ink); resize: vertical; }
.tc-go { border: 0; cursor: pointer; text-align: center; }
.tc-err { color: #c62828; font-size: .82rem; margin: 0; } .tc-err[hidden] { display: none; }
.tc-sending { opacity: .7; } .tc-failed { background: #c62828 !important; }
@keyframes tc-pop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes tc-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (max-width: 600px) { .tc-panel { inset: 0; width: 100%; height: 100%; border-radius: 0; border: 0; } .tc-fab span { display: none; } .tc-fab { padding: .85rem; } .tc-teaser { bottom: 4.8rem; } }
@media (prefers-reduced-motion: reduce) { .tc-panel, .tc-msg, .tc-teaser, .tc-typing span { animation: none; } .tc-log { scroll-behavior: auto; } }
@media print { #helper-root { display: none; } }

/* v6.48.0: a hello from a real person */
#helper-root .tc-teaser.tc-teaser-person{border-left:4px solid #0f5c4c;font-weight:600}
