/* Smart paste: the only UI is a small remix button on a filled field and a short notice.
   Three solid colors: Milk #FFFFFF, Ink #171717, Naruto Red #FF4040. No tints, shadows or fades. */
input.smart-paste-filled { padding-right: 44px !important; }
input.smart-paste-reading { border-style: dashed !important; border-color: #FF4040 !important; }
.smart-paste-remix { all: unset; position: absolute; z-index: 2147483000; box-sizing: border-box; display: grid; place-items: center; border-radius: 50%; cursor: pointer; background: #171717; color: #FFFFFF; -webkit-tap-highlight-color: transparent; }
.smart-paste-remix:hover, .smart-paste-remix:focus-visible { background: #FF4040; color: #171717; outline: none; }
.smart-paste-remix[hidden] { display: none; }
.smart-paste-remix svg { width: 62%; height: 62%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.smart-paste-toast { position: absolute; z-index: 2147483000; max-width: 280px; padding: 7px 11px; border-radius:var(--sp-radius-panel, 0px); background: #171717; color: #FFFFFF; font: 13px/1.35 system-ui, -apple-system, sans-serif; pointer-events: none; }
/* A just-filled field gets a solid red ring for a moment; it switches off without fading. */
input.smart-paste-flash { animation: smart-paste-flash .9s step-end; }
@keyframes smart-paste-flash { from { box-shadow: 0 0 0 3px #FF4040; } to { box-shadow: 0 0 0 3px #FF4040; } }
.smart-paste-live { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { input.smart-paste-flash { animation: none; } }
