/* Shared reference chips for user and admin surfaces. */
.yan-ref{display:inline-flex;max-width:100%;align-items:center;gap:6px;min-width:0;vertical-align:middle;font-size:12px;line-height:1.45}
.yan-ref__label{flex:0 0 auto;color:#64748b;font-size:11px;font-weight:800;letter-spacing:.02em}
.yan-ref__value{flex:0 1 auto;max-width:100%;min-width:0;padding:3px 7px;border:1px solid #cbd5e1;border-radius:7px;background:#f8fafc;color:#0f172a;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;font-weight:700;text-align:left;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.yan-ref__value--long{max-width:min(260px,42vw)}
.yan-ref__value--link{color:#1d4ed8;text-decoration:none}
.yan-ref__value:hover{border-color:#93c5fd;background:#eff6ff;color:#1d4ed8}
.yan-ref__raw{flex:1 1 auto;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#94a3b8;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10.5px}
.yan-ref-empty .yan-ref__value{cursor:default;color:#94a3b8;background:#f8fafc}
.yan-ref-empty .yan-ref__value:hover{border-color:#cbd5e1;background:#f8fafc;color:#94a3b8}
.yan-ref-toast{position:fixed;right:18px;bottom:18px;z-index:12000;padding:10px 15px;border-radius:10px;background:#0f172a;color:#fff;font-size:13px;font-weight:700;box-shadow:0 14px 36px rgba(15,23,42,.30);opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .18s ease,transform .18s ease}
.yan-ref-toast.is-visible{opacity:1;transform:translateY(0)}
@media(max-width:720px){.yan-ref{align-items:flex-start;flex-wrap:wrap}.yan-ref__value{max-width:100%}.yan-ref__raw{flex-basis:100%}.yan-ref-toast{right:12px;bottom:12px}}
