/* Upload status for files going through the two-engine file gate (pages/tgate.js) */
.tg-st{display:flex;gap:10px;align-items:flex-start;margin:10px 0;padding:10px 12px;border:1px solid var(--line);border-left-width:3px;border-radius:2px;background:var(--ink-3);font-size:14px;line-height:1.4}
.tg-st[hidden]{display:none}
.tg-st>svg,.tg-st>.tg-spin{flex:none;margin-top:1px}
.tg-st div{min-width:0;overflow-wrap:anywhere}.tg-st b{display:block;font-weight:600;color:var(--text)}.tg-st span{display:block;color:var(--muted);font-size:13px}
.tg-uploading,.tg-checking{border-left-color:var(--warn)}
.tg-ready{border-left-color:var(--ok)}.tg-ready>svg{color:var(--ok)}
.tg-held{border-left-color:var(--bad)}.tg-held>svg{color:var(--bad)}.tg-held b{color:var(--bad)}
.tg-spin{display:inline-block;width:16px;height:16px;border:2px solid var(--line);border-top-color:var(--warn);border-radius:50%;animation:tg-rot .8s linear infinite}
@keyframes tg-rot{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.tg-spin{animation:none;border-top-color:var(--warn)}}
.tg-note{font-size:12px;color:var(--muted);margin:4px 0 0}
