/* A temporary, reversible follow action stays distinct from ordinary messages. */
.progress-undo[hidden] { display:none; }
.progress-undo {
 position:absolute;z-index:11;left:14px;right:14px;bottom:95px;
 display:flex;align-items:center;gap:10px;min-height:72px;
 padding:10px 9px 12px 13px;border-radius:22px;overflow:hidden;
 background:linear-gradient(125deg,#29414ced,#161b26f5 66%);color:#f4f2f0;
 box-shadow:inset 0 1px 0 #ffffff30,0 10px 30px #0008;
 backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);
}
.progress-undo-symbol { display:grid;place-items:center;flex:0 0 29px;height:29px;border-radius:50%;background:#409aa62b;color:#a3d9dc; }
.progress-undo-symbol svg { width:18px;height:18px; }
.progress-undo-copy { display:flex;flex:1;min-width:0;flex-direction:column;gap:3px; }
.progress-undo-copy strong { font-size:13px;font-weight:700;line-height:1.45;letter-spacing:.015em; }
.progress-undo-copy small { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.5;color:#c7d2d9; }
.progress-undo button { flex-shrink:0;min-width:70px;min-height:44px;padding:8px 12px;border-radius:16px;background:#ffffff0c;box-shadow:inset 0 1px 0 #ffffff1a;color:#fff;font-size:12px;font-weight:700;line-height:1.4; }
.progress-undo button:focus-visible { outline:2px solid #a3d9dc;outline-offset:-3px; }
.progress-undo button:hover { background:#ffffff16; }
.progress-undo-time { position:absolute;height:2px;left:15px;right:15px;bottom:0;background:#79b6bf66;transform-origin:left;transform:scaleX(var(--undo-time,1)); }
@media(prefers-reduced-transparency:reduce) { .progress-undo { background:#1c2933;backdrop-filter:none;-webkit-backdrop-filter:none; } }
