/* Talk to Gina (Tom, 17 Nov 2026): looks and feels like WhatsApp. pages/talk.js */
.tg-wrap{padding-top:4px}
section.tg.tg,.tg{display:block!important;font-weight:400;text-align:left;width:auto;padding:0;margin:18px 0 calc(28px + var(--mgh, 0px));border-radius:16px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.12),0 6px 18px rgba(0,0,0,.06);background:#efeae2;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:#111b21;position:relative}
.tg-hd{display:flex;align-items:center;gap:11px;padding:10px 14px;background:#008069;color:#fff}
.tg-hd b{display:block;font-size:16.5px;font-weight:600;line-height:1.2}
.tg-hd small{display:block;font-size:12.5px;opacity:.85;line-height:1.3}
.tg-hd>div{flex:1;min-width:0}
.tg-av{flex:none;width:40px;height:40px;border-radius:50%;background:#dff5ea url(../assets/dtg-logo.png) center/72% no-repeat;color:transparent;font-style:normal;display:block;border:2px solid rgba(255,255,255,.7)}
.tg-badge{flex:none;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#25d366;color:#fff;font:700 12.5px/22px -apple-system,Roboto,sans-serif;text-align:center}
.tg-chat{display:flex;flex-direction:column;height:min(62vh,560px);overflow-y:auto;-webkit-overflow-scrolling:touch;padding:8px 10px 12px;overscroll-behavior:contain;
  background-color:#efeae2;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23d6cfc4' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 34c0-8 6-14 6-14s6 6 6 14-6 10-6 10-6-2-6-10zM26 44v8'/%3E%3Cpath d='M80 22l6 10H74zM80 32v6'/%3E%3Ccircle cx='96' cy='80' r='6'/%3E%3Cpath d='M40 92c6-6 14-6 20 0M30 70l6-4 6 4'/%3E%3Cpath d='M98 104l-4-8 8 0zM70 60c3-3 8-3 11 0'/%3E%3C/g%3E%3C/svg%3E");}
.tg-sys{margin:8px auto;max-width:86%;text-align:center;font-size:12.5px;line-height:1.4;color:#54656f;background:#fff9e0;border-radius:8px;padding:6px 10px;box-shadow:0 1px .5px rgba(11,20,26,.13)}
.tg-sys.tg-lock{background:#ffeecd;color:#54656f}
.tg-day{text-align:center;margin:10px 0 6px;position:sticky;top:2px;z-index:1}
.tg-day span{display:inline-block;background:#fff;color:#54656f;font-size:12.5px;padding:5px 12px;border-radius:8px;box-shadow:0 1px .5px rgba(11,20,26,.13)}
.tg-row{display:flex;margin:2px 0}
.tg-row.first{margin-top:8px}
.tg-row.me{justify-content:flex-end}
.tg-b{position:relative;max-width:82%;padding:6px 7px 8px 9px;border-radius:8px;font-size:15px;line-height:1.36;box-shadow:0 1px .5px rgba(11,20,26,.13);word-wrap:break-word;overflow-wrap:anywhere}
.tg-row.me .tg-b{background:#d9fdd3}
.tg-row.gina .tg-b{background:#fff}
.tg-row.me.first .tg-b{border-top-right-radius:0}
.tg-row.gina.first .tg-b{border-top-left-radius:0}
.tg-row.me.first .tg-b:after,.tg-row.gina.first .tg-b:after{content:"";position:absolute;top:0;width:8px;height:13px}
.tg-row.me.first .tg-b:after{right:-8px;background:linear-gradient(225deg,transparent 50%,#d9fdd3 50%)}
.tg-row.gina.first .tg-b:after{left:-8px;background:linear-gradient(135deg,transparent 50%,#fff 50%)}
.tg-txt{white-space:normal}
.tg-txt a{color:#027eb5}
.tg-spacer{display:inline-block;width:62px}
.tg-row.gina .tg-spacer{width:42px}
.tg-meta{float:right;margin:4px 0 -5px 8px;font-size:11px;color:#667781;display:inline-flex;align-items:center;gap:3px;position:relative;top:3px;white-space:nowrap}
.tg-txt+.tg-meta{margin-top:-14px}
.tg-tk{display:inline-flex;font-style:normal;color:#8696a0}
.tg-tk svg{width:16px;height:11px}
.tg-tk.read{color:#53bdeb}
.tg-tk.clock{font-size:11px}
.k-photo,.k-video{padding:3px 3px 6px}
.k-photo .tg-txt,.k-video .tg-txt,.k-doc .tg-txt{padding:4px 5px 0}
.tg-ph{display:block;border:0;padding:0;margin:0;background:none;cursor:zoom-in;border-radius:6px;overflow:hidden}
.tg-ph img{display:block;width:100%;max-width:260px;max-height:320px;min-width:160px;object-fit:cover;border-radius:6px;background:#cfd8dc}
.k-photo>.tg-meta{position:absolute;right:9px;bottom:9px;top:auto;margin:0;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.6);float:none}
.k-photo .tg-txt~.tg-meta{position:relative;right:auto;bottom:auto;float:right;color:#667781;text-shadow:none;margin:2px 4px -4px 8px}
.k-photo>.tg-meta .tg-tk{color:#fff}.k-photo>.tg-meta .tg-tk.read{color:#53bdeb}
.tg-vid{display:block;max-width:260px;width:100%;border-radius:6px;background:#000}
.tg-doc{display:flex;align-items:center;gap:10px;padding:10px;margin:0;border-radius:6px;background:rgba(0,0,0,.05);color:inherit;text-decoration:none;min-width:200px;max-width:280px}
.tg-row.me .tg-doc{background:#c9f2c2}
.tg-doc b{display:block;font-size:14.5px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:190px}
.tg-doc small{display:block;font-size:12px;color:#667781}
.tg-doc span{min-width:0}
.tg-ext{flex:none;width:34px;height:40px;border-radius:4px;color:#fff;font:700 10px/40px -apple-system,Roboto,sans-serif;text-align:center;font-style:normal;letter-spacing:.3px}
.k-doc>.tg-meta{margin-top:4px}
.tg-vn{display:flex;align-items:center;gap:9px;min-width:220px;padding:2px 2px 0}
.tg-play{flex:none;width:34px;height:34px;border:0;background:none;color:#54656f;padding:3px;cursor:pointer}
.tg-play svg{width:28px;height:28px}
.tg-wave{flex:1;position:relative;height:4px;border-radius:2px;background:#b7c3ca;margin:0 4px}
.tg-row.me .tg-wave{background:#a9c9a4}
.tg-prog{position:absolute;left:0;top:0;bottom:0;border-radius:2px;background:#4fa3d1}
.tg-dot{position:absolute;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:#4fa3d1}
.tg-row.me .tg-prog,.tg-row.me .tg-dot{background:#3e9c74}
.tg-mic{flex:none;width:34px;height:34px;border-radius:50%;background:#008069;color:#fff;display:flex;align-items:center;justify-content:center;font-style:normal}
.tg-row.gina .tg-mic{background:#dff5ea url(../assets/dtg-logo.png) center/70% no-repeat}.tg-row.gina .tg-mic svg{display:none}
.tg-mic svg{width:17px;height:17px}
.tg-vfoot{display:flex;justify-content:space-between;align-items:flex-end;padding-left:45px;font-size:11px;color:#667781;margin-top:-2px}
.tg-vfoot .tg-meta{float:none;margin:0;top:2px}
.tg-err{margin:0;padding:6px 12px;background:#fde8e8;color:#a61b1b;font-size:13px}
.tg-foot{position:relative;background:#f0f2f5;padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px))}
.tg-bar{display:flex;align-items:flex-end;gap:6px}
.tg-in{flex:1;display:flex;align-items:flex-end;background:#fff;border-radius:24px;padding:3px 4px;min-height:44px;box-sizing:border-box;box-shadow:0 1px .5px rgba(11,20,26,.08)}
.tg .tg-in textarea{flex:1;width:auto!important;min-width:0;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;-webkit-appearance:none;appearance:none;outline:0;resize:none;background:transparent;font:16px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;color:#111b21;padding:9px 4px;max-height:120px;min-height:20px;box-sizing:content-box}
.tg-ib{flex:none;width:38px;height:38px;border:0;background:none;color:#54656f;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;border-radius:50%}
.tg-ib svg{width:24px;height:24px}
.tg-go{flex:none;width:46px;height:46px;border:0;border-radius:50%;background:#00a884;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.2)}
.tg-go svg{width:23px;height:23px}
.tg-go[disabled]{opacity:.6}
.tg-bar.rec .tg-ib{color:#8696a0}
.tg-recw{flex:1;display:flex;align-items:center;gap:9px;background:#fff;border-radius:24px;height:44px;padding:0 14px;font-size:15px}
.tg-recw small{color:#667781;font-size:13px}
.tg-red{width:10px;height:10px;border-radius:50%;background:#ea0038;animation:tgblink 1s infinite}
@keyframes tgblink{50%{opacity:.25}}
.tg-menu{position:absolute;left:8px;bottom:calc(100% - 2px);display:flex;gap:18px;background:#fff;border-radius:16px;padding:16px 18px;box-shadow:0 2px 12px rgba(0,0,0,.18);z-index:3}
.tg-mi{display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer;font-size:13px;color:#3b4a54}
.tg-mi i{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff}
.tg-mi i svg{width:25px;height:25px}
.tg-tray{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 8px}
.tg-ti{position:relative;flex:none;width:72px;height:72px;border-radius:8px;overflow:hidden;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;box-shadow:0 1px 2px rgba(0,0,0,.12)}
.tg-ti img{width:100%;height:100%;object-fit:cover}
.tg-ti small{font-size:10px;max-width:66px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#54656f}
.tg-ti .tg-ext{width:28px;height:32px;line-height:32px;font-size:9px}
.tg-ti button{position:absolute;top:3px;right:3px;width:22px;height:22px;border-radius:50%;border:0;background:rgba(0,0,0,.55);color:#fff;padding:3px;display:flex}
.tg-ti button svg{width:16px;height:16px}
.tg-lb{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.94);display:flex;align-items:center;justify-content:center}
.tg-lb img{max-width:100%;max-height:100%;object-fit:contain}
.tg-lb button{position:absolute;top:calc(12px + env(safe-area-inset-top,0px));right:12px;width:40px;height:40px;border:0;background:none;color:#fff;padding:6px}
.tg-chat>:first-child{margin-top:auto}
/* Tom 17 Nov 2026 22:16 (wa-1794952621770): its own full screen page, opened from a link at the top of the main page */
section.tg.tgp{position:fixed!important;inset:0;z-index:10000;margin:0!important;border-radius:0;box-shadow:none;display:flex!important;flex-direction:column;height:100vh;height:100dvh}
.tgp .tg-hd{flex:none;padding:calc(8px + env(safe-area-inset-top,0px)) 12px 8px 4px;gap:6px}
.tgp .tg-chat{flex:1;height:auto;min-height:0}
.tgp .tg-foot{flex:none;padding-bottom:calc(6px + env(safe-area-inset-bottom,0px))}
.tg-back{flex:none;display:flex;align-items:center;justify-content:center;width:40px;height:40px;color:#fff;border-radius:50%;text-decoration:none}
.tg-back svg{width:24px;height:24px}
.tg-back:active{background:rgba(255,255,255,.15)}
.tg-ty{color:#d9fdd3;font-style:normal}
body.tg-open{overflow:hidden}
body.tg-open .tabs.two.blk{display:none}
/* the three dots */
.tg-dots{display:flex;gap:4px;align-items:center;padding:12px 14px!important}
.tg-dots i{width:8px;height:8px;border-radius:50%;background:#8696a0;display:block;animation:tgdot 1.2s infinite ease-in-out}
.tg-dots i:nth-child(2){animation-delay:.18s}.tg-dots i:nth-child(3){animation-delay:.36s}
@keyframes tgdot{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
/* the link at the top of everyone's main page */
.tg-topw{padding-top:10px;padding-bottom:2px}
a.tg-top{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:14px;background:#008069;color:#fff!important;text-decoration:none!important;box-shadow:0 1px 3px rgba(0,0,0,.14);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
a.tg-top:active{filter:brightness(.95)}
.tg-topi{flex:none;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center}
.tg-topi svg{width:22px;height:22px}
.tg-topt{flex:1;min-width:0}
.tg-topt b{display:block;font-size:16.5px;font-weight:600;line-height:1.2}
.tg-topt small{display:block;font-size:12.5px;opacity:.9;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
a.tg-top .tg-badge{font-style:normal;background:#fff;color:#008069}
.tg-chev{flex:none;font-style:normal;font-size:26px;line-height:1;opacity:.8}
section.tg.tgp>*{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box;align-self:stretch}
section.tg.tgp>header.tg-hd{position:relative;top:auto;left:auto;right:auto;height:auto;border-radius:0}

/* Tom 18 Nov 2026: Media button and page (like WhatsApp's media, links and docs) */
.tg-mb{flex:none;display:flex;flex-direction:column;align-items:center;gap:1px;border:0;background:none;color:#fff;padding:4px 8px;border-radius:10px;font:inherit}
.tg-mb svg{width:22px;height:22px}.tg-mb span{font-size:10.5px;opacity:.9}.tg-mb:active{background:rgba(255,255,255,.15)}
section.tg-med{position:fixed;inset:0;z-index:10001;background:#fff;display:flex;flex-direction:column;height:100vh;height:100dvh}
.tg-med .tg-hd{flex:none;padding:calc(8px + env(safe-area-inset-top,0px)) 12px 8px 4px;gap:6px}
.tg-med .tg-back{border:0;background:none}
.tg-mtabs{flex:none;display:flex;background:#008069}
.tg-mt{flex:1;border:0;background:none;color:rgba(255,255,255,.75);font:inherit;font-weight:600;font-size:14px;padding:10px 4px;border-bottom:3px solid transparent}
.tg-mt.on{color:#fff;border-bottom-color:#fff}.tg-mt small{font-weight:400;opacity:.8}
.tg-mbody{flex:1;overflow-y:auto;padding:0 0 calc(12px + env(safe-area-inset-bottom,0px));-webkit-overflow-scrolling:touch}
.tg-mmon{margin:0;padding:12px 14px 6px;font-size:13px;color:#667781;font-weight:600}
.tg-mg{display:grid;grid-template-columns:repeat(3,1fr);gap:2px}
@media(min-width:700px){.tg-mg{grid-template-columns:repeat(5,1fr)}}
.tg-mi2{position:relative;display:block;aspect-ratio:1;border:0;padding:0;background:#eee;overflow:hidden}
.tg-mi2 img,.tg-mi2 video{width:100%;height:100%;object-fit:cover;display:block}
.tg-mi2 em{position:absolute;left:4px;bottom:4px;font-style:normal;font-size:10.5px;color:#fff;background:rgba(0,0,0,.45);padding:1px 6px;border-radius:8px}
.tg-mi2.vid i{position:absolute;inset:0;margin:auto;width:34px;height:34px;border-radius:50%;background:rgba(0,0,0,.5);color:#fff;display:flex;align-items:center;justify-content:center}
.tg-mi2.vid i svg{width:18px;height:18px}
.tg-ml{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid #eef0f1;color:#111b21;text-decoration:none}
.tg-ml .tg-ext{flex:none;width:40px;height:48px;border-radius:6px;color:#fff;font-style:normal;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center}
.tg-ml .tg-ext svg{width:20px;height:20px}
.tg-ml span{min-width:0}.tg-ml b{display:block;font-size:15px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tg-ml small{display:block;font-size:12.5px;color:#667781}
/* Joe 18 Nov 2026: Pop out (desktop only) and the chat in its own window */
.tg-popb{display:none}
@media (min-width:900px) and (hover:hover){.tg-popb{display:inline-flex}}
.tg-popwin .tg-back{display:none}

/* copy text from messages (Tom, 25 Nov 2026) */
#tg .tg-txt{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
