
.tgo-hl{position:relative;gap:6px;white-space:nowrap}.tgo-hl[hidden]{display:none!important}
#tgo-msg-link .icon{width:18px;height:18px}
.tgo-badge{background:var(--crimson);color:#fff;border-radius:999px;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;line-height:1}
#tgo-badge[hidden]{display:none!important}
.tgo-pays{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.tgo-pay{font-size:11px;color:var(--soft);border:1px solid var(--border);border-radius:999px;padding:2px 8px;background:var(--panel-raised)}
.tgo-loading{text-align:center;color:var(--muted);padding:28px 0}
.tgo-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.tgo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}
.tgo-paychk{display:flex;flex-wrap:wrap;gap:8px 16px}.tgo-chk{display:flex;gap:6px;align-items:center;font-size:13px;color:var(--soft)}.tgo-chk input{width:auto;height:auto}
.tgo-form textarea{height:auto;padding:10px 12px;resize:vertical}
.pg-err{color:var(--red-light);font-size:13px;min-height:0}
.tgo-table{overflow-x:auto}.tgo-mt{width:100%}.tgo-act{white-space:nowrap}
.tgo-st{font-size:12px;border-radius:999px;padding:2px 10px;border:1px solid var(--border)}.tgo-st-active{color:#6fe3a5;border-color:rgba(111,227,165,.4)}.tgo-st-paused{color:var(--muted)}
.tgo-wide{max-width:1100px}
.tgo-chat{display:grid;grid-template-columns:320px 1fr;height:min(72vh,680px);min-height:460px;background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden}
.tgo-side{border-right:1px solid var(--border);overflow-y:auto;display:flex;flex-direction:column}.tgo-side-h{padding:16px 18px;font:600 18px var(--display);border-bottom:1px solid var(--border)}.tgo-pad{padding:18px}
.tgo-conv{display:flex;gap:12px;align-items:center;text-align:left;padding:12px 16px;background:transparent;border:0;border-bottom:1px solid var(--line);color:var(--white);width:100%;cursor:pointer}.tgo-conv:hover,.tgo-conv.on{background:var(--panel-raised)}
.tgo-conv .avatar{flex:none;width:40px;height:40px}.tgo-cm{display:flex;flex-direction:column;min-width:0;flex:1}.tgo-cm strong{font-size:14px}.tgo-cm small{color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tgo-cm em{font-style:normal;color:var(--faint);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tgo-main{display:flex;flex-direction:column;min-width:0;min-height:0}
.tgo-empty{flex:1;display:flex;align-items:center;justify-content:center;color:var(--muted);padding:24px;text-align:center}
.tgo-th-h{display:flex;gap:12px;align-items:center;padding:12px 16px;border-bottom:1px solid var(--border)}.tgo-th-t{flex:1;min-width:0;display:flex;flex-direction:column}.tgo-th-t small{color:var(--muted);font-size:12px}.tgo-back{display:none;background:transparent;border:0;color:var(--white);font-size:26px;line-height:1;cursor:pointer}
.tgo-note{font-size:12px;color:var(--soft);background:var(--red-wash);border-bottom:1px solid var(--red-line);padding:8px 16px;line-height:1.5}
.tgo-msgs{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}
.tgo-msg{display:flex;flex-direction:column;max-width:78%}.tgo-msg.mine{align-self:flex-end;align-items:flex-end}.tgo-msg.theirs{align-self:flex-start}
.tgo-bub{padding:9px 13px;border-radius:14px;font-size:14px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--panel-raised);border:1px solid var(--border)}.tgo-msg.mine .tgo-bub{background:var(--crimson);border-color:var(--crimson);color:#fff}
.tgo-msg small{color:var(--faint);font-size:11px;margin-top:3px}
.tgo-send{display:flex;gap:10px;padding:12px;border-top:1px solid var(--border);align-items:flex-end}.tgo-send textarea{flex:1;resize:none;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--panel);color:var(--white);padding:9px 12px;font:inherit;font-size:14px}
@media (max-width:760px){.tgo-chat{grid-template-columns:1fr;height:78vh}.tgo-main{display:none}.tgo-chat.open .tgo-side{display:none}.tgo-chat.open .tgo-main{display:flex}.tgo-back{display:block}.tgo-side{border-right:0}.tgo-lab{display:none}.tgo-hl{padding-left:10px;padding-right:10px;font-size:13px}.tgo-msg{max-width:90%}}
.tgo-attrf[hidden]{display:none!important}
.tgo-dealbox{background:var(--panel-raised);border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px;margin:10px 14px;display:flex;flex-direction:column;gap:10px}
.tgo-deal{max-height:46%;overflow-y:auto;flex:none}
.tgd-top{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.tgd-top strong{font-size:15px}
.tgd-chip{font-size:11px;font-weight:600;border-radius:999px;padding:3px 10px;border:1px solid var(--border);color:var(--soft)}
.tgd-chip.st-completed{color:#6fe3a5;border-color:rgba(111,227,165,.4)}.tgd-chip.st-cancelled{color:var(--faint)}.tgd-chip.st-disputed{color:#ffb4a8;border-color:var(--red-line);background:var(--red-wash)}.tgd-chip.st-payment_confirmed,.tgd-chip.st-pending_admin{color:#f6b93b;border-color:rgba(246,185,59,.45)}
.tgd-steps{list-style:none;margin:0;padding:0;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}.tgd-steps li{flex:none;font-size:11px;color:var(--faint);padding:4px 9px;border-radius:999px;border:1px solid var(--line);white-space:nowrap}.tgd-steps li.done{color:var(--soft);border-color:var(--border)}.tgd-steps li.now{color:#fff;background:var(--crimson);border-color:var(--crimson);font-weight:700}
.tgd-say{margin:0;font-size:14px;line-height:1.5;color:var(--white)}.tgd-mode{margin:0}
.tgd-btns{display:flex;flex-wrap:wrap;gap:8px}
.tgd-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;align-items:end}.tgd-form label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--muted)}.tgd-form input,.tgd-form select{height:40px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--panel);color:var(--white);padding:0 10px;font-size:14px}
.tgd-total{font:700 22px var(--display);align-self:center}.tgd-form .pg-err,.tgd-form .btn{grid-column:1/-1}
.tgo-sysmsg{align-self:center;text-align:center;font-size:12px;color:var(--soft);background:var(--red-wash);border:1px solid var(--red-line);border-radius:999px;padding:6px 14px;max-width:92%;display:flex;flex-direction:column;gap:2px}.tgo-sysmsg small{color:var(--faint);font-size:10px}
.tgo-from{font-size:11px;color:var(--muted);margin-bottom:2px}.tgo-bub.adm{border-color:rgba(246,185,59,.55);background:rgba(246,185,59,.08)}
.tgo-tabs{display:flex;gap:8px}.tgo-tabs .btn.on{background:var(--crimson);border-color:var(--crimson);color:#fff}
.tgo-admlist{display:grid;gap:14px}.tgd-card{gap:10px}.tgd-line{margin:0;color:var(--white)!important}
#tgo-admin-link{gap:6px}#tgo-admin-link[hidden]{display:none!important}
